1
0

mditor.min.js 171 KB

1234567891011
  1. /*!
  2. * Mditor embed version 1.3.3
  3. * Homepage: http://mditor.com
  4. */
  5. !function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";var i=n(1),r=n(84),s=n(89),o=n(94),a=n(97),l=n(100),c=n(102);n(151),n(158),n(159),n(160);var u="mditor-hidden",p=new i.Component({template:n(162),onInit:function(){this.PLATFORM=navigator.platform.toLowerCase(),this.EOL="win32"==this.PLATFORM?"\r\n":"\n",this.CMD=this.PLATFORM.indexOf("mac")>-1?"command":"ctrl",this.INDENT=" ",this.shortcut=new l(this),this.Parser=c,this.parser=new c(this)},onReady:function(){var e=this;this.shortcut.bind("tab",this.editor.addIndent.bind(this.editor)),this.shortcut.bind("shift+tab",this.editor.removeIndent.bind(this.editor)),this.shortcut.bind("enter",function(t){e._ulAndQuoteAutoComplete(t),e._olAutoComplete(t),e._keepIndent(t)},!0),setTimeout(function(){e.$emit("ready")},0)},components:{Toolbar:r,Editor:s,Viewer:o,Finder:a},props:{height:"400px",width:"auto",preview:!1,split:!0,fullscreen:!1},data:function(){return{self:this,value:""}},find:function(e){this.finder.show(e)},syncScroll:function(){if(this.split&&!this.preview){var e=this.editor.textarea.offsetHeight,t=this.editor.textarea.scrollHeight,n=this.viewer.$element.scrollHeight,i=this.editor.textarea.scrollTop,r=i*(n-e)/(t-e);this.viewer.$element.scrollTop=r}},onChanged:function(e){this.$emit("changed",e),this.syncScroll()},onInput:function(e){this.$emit("input",e)},onPaste:function(e){this.$emit("paste",e),this.syncScroll()},onHeadDblClick:function(e){"I"!=e.target.tagName&&this.$emit("head-dblclick",e)},_keepIndent:function(e){var t=this.editor.getBeforeTextInLine(),n=t.split(this.INDENT);if(!(n.length<2)){for(var i=0,r=[this.EOL];""===n[i]&&i<n.length-1;)i++,r.push(this.INDENT);this.editor.insertBeforeText(r.join("")),e.preventDefault()}},_ulAndQuoteAutoComplete:function(e){var t=this.editor.getBeforeTextInLine(),n=t.substr(0,2);"- "!=n&&"* "!=n&&"> "!=n||(t.length>n.length?this.editor.insertBeforeText(this.EOL+n):(this.editor.selectBeforeText(n.length),this.editor.setSelectText("")),e.preventDefault())},_olAutoComplete:function(e){var t=/^\d+\./,n=this.editor.getBeforeTextInLine(),i=n.trim();if(t.test(i)){var r=i.split(".")[0];i.length>r.length+1?this.editor.insertBeforeText(this.EOL+(parseInt(r)+1)+". "):(this.editor.selectBeforeText(n.length),this.editor.setSelectText("")),e.preventDefault()}},focus:function(){this.preview?this.$element.focus():this.editor.focus()},blur:function(){this.editor.blur()},addCommand:function(e){e.name&&e.handler&&(this.commands=this.commands||{},this.commands[e.name]=e,e.key&&this.shortcut.bind(e.key,e.name,e.allowDefault,e.owner))},removeCommand:function(e){this.commands=this.commands||{};var t=this.commands[e];t&&(this.shortcut.unbind(t.key),this.commands[e]=null,delete this.commands[e])},execCommand:function(e,t){t=t||{},t.mditor=this,t.toolbar=this.toolbar,t.editor=this.editor,this.commands[e].handler.call(this,t)}});p.fromTextarea=function(e){e.classList.add(u);var t=new p;return t.value=e.value,t.$watch("value",function(){e.value=t.value}),t.$mount(e),t.switchTextarea=function(){e.classList.contains(u)?(e.value=t.value,t.$element.classList.add(u),e.classList.remove(u)):(t.value=e.value,e.classList.add(u),t.$element.classList.remove(u))},t},p.Parser=c,e.exports=window.Mditor=p},function(e,t,n){"use strict";var i=n(2),r=n(3),s=n(4),o=n(5),a=n(6),l=n(51),c=n(79),u=n(50);r.copy(l,c),c.version=i.version,c.Template=l,c.Watcher=o,c.Observer=a,c.EventEmitter=u,c.utils=r,c.Class=s,c.use=function(e){var t=e.install||e;if(!r.isFunction(t))throw new Error("Invalid Plugin");return t.call(e,this)},e.exports=c},function(e,t){e.exports={name:"mokit",version:"3.1.3"}},function(e,t,n){!function(e){e.noop=function(){},e.isNull=function(e){return null===e||"undefined"==typeof e},e.trim=function(e){return this.isNull(e)?e:e.trim?e.trim():e.replace(/(^[\\s]*)|([\\s]*$)/g,"")},e.replace=function(e,t,n){return this.isNull(e)?e:e.replace(new RegExp(t,"g"),n)},e.startWith=function(e,t){return!this.isNull(e)&&!this.isNull(t)&&0===e.indexOf(t)},e.contains=function(e,t){return!this.isNull(e)&&!this.isNull(t)&&e.indexOf(t)>-1},e.endWith=function(e,t){return!this.isNull(e)&&!this.isNull(t)&&e.indexOf(t)===e.length-t.length},e.has=e.hasProperty=function(e,t){return!this.isNull(e)&&!this.isNull(t)&&(t in e||e.hasOwnProperty(t))},e.isFunction=function(e){return!this.isNull(e)&&"function"==typeof e},e.isString=function(e){return!this.isNull(e)&&("string"==typeof e||e instanceof String)},e.isNumber=function(e){return!this.isNull(e)&&("number"==typeof e||e instanceof Number)},e.isBoolean=function(e){return!this.isNull(e)&&("boolean"==typeof e||e instanceof Boolean)},e.isElement=function(e){return!this.isNull(e)&&(window.Element?e instanceof Element:e.tagName&&e.nodeType&&e.nodeName&&e.attributes&&e.ownerDocument)},e.isText=function(e){return!this.isNull(e)&&e instanceof Text},e.isObject=function(e){return!this.isNull(e)&&"object"==typeof e},e.isArray=function(e){if(this.isNull(e))return!1;var t="[object Array]"===Object.prototype.toString.call(e),n=e instanceof Array,i=!this.isString(e)&&this.isNumber(e.length)&&this.isFunction(e.splice),r=!this.isString(e)&&this.isNumber(e.length)&&e[0];return t||n||i||r},e.isDate=function(e){return!this.isNull(e)&&e instanceof Date},e.isRegexp=function(e){return e instanceof RegExp},e.toArray=function(e){return this.isNull(e)?[]:Array.prototype.slice.call(e)},e.toDate=function(e){var t=this;return t.isNumber(e)?new Date(e):t.isString(e)?new Date(t.replace(t.replace(e,"-","/"),"T"," ")):t.isDate(e)?e:null},e.each=function(e,t,n){if(!this.isNull(e)&&!this.isNull(t))if(this.isArray(e))for(var i=e.length,r=0;r<i;r++){var s=t.call(n||e[r],r,e[r]);if(!this.isNull(s))return s}else for(var o in e){var s=t.call(n||e[o],o,e[o]);if(!this.isNull(s))return s}},e.formatDate=function(e,t,n){if(this.isNull(t)||this.isNull(e))return e;e=this.toDate(e),n=n||{};var i={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"w+":e.getDay(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length)));for(var r in i)if(new RegExp("("+r+")").test(t)){var s=i[r];s=n[s]||s,t=t.replace(RegExp.$1,1==RegExp.$1.length?s:("00"+s).substr((""+s).length))}return t},e.copy=function(e,t,n){return t=t||(this.isArray(e)?[]:{}),this.each(e,function(i){if(!(n&&n.indexOf(i)>-1))if(delete t[i],Object.getOwnPropertyDescriptor)try{Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}catch(n){t[i]=e[i]}else t[i]=e[i]}),t},e.clone=function(e,t){if(this.isNull(e)||this.isString(e)||this.isNumber(e)||this.isBoolean(e)||this.isDate(e))return e;var n=e;try{n=new e.constructor}catch(e){}return this.each(e,function(e,i){n[e]==i||this.contains(t,e)||(this.isObject(i)?n[e]=this.clone(i,t):n[e]=i)},this),["toString","valueOf"].forEach(function(i){this.contains(t,i)||this.defineFreezeProp(n,i,e[i])},this),n},e.mix=function(t,n,i,r,s){if(r)switch(r){case 1:return e.mix(t.prototype,n.prototype,i,0);case 2:e.mix(t.prototype,n.prototype,i,0);break;case 3:return e.mix(t,n.prototype,i,0);case 4:return e.mix(t.prototype,n,i,0)}return n=n||{},t=t||(this.isArray(n)?[]:{}),this.keys(n).forEach(function(r){this.contains(i,r)||s&&this.isNull(n[r])||(!this.isObject(n[r])||n[r].constructor!=Object&&n[r].constructor!=Array&&null!=n[r].constructor?t[r]=n[r]:t[r]=e.mix(t[r],n[r],i,0,s))},this),t},e.defineFreezeProp=function(e,t,n){try{Object.defineProperty(e,t,{value:n,enumerable:!1,configurable:!0,writable:!1})}catch(i){e[t]=n}},e.keys=function(e){if(Object.keys)return Object.keys(e);var t=[];return this.each(e,function(e){t.push(e)}),t},e.create=function(e,t){if(Object.create)return Object.create(e,t);var n=function(){};n.prototype=e;var i=new n;return t&&this.copy(t,i),i},e.setPrototypeOf=function(e,t){return Object.setPrototypeOf?Object.setPrototypeOf(e,t||this.create(null)):("__proto__"in Object||this.copy(t,e),void(e.__proto__=t))},e.getPrototypeOf=function(e){return e.__proto__?e.__proto__:Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor?e.constructor.prototype:void 0},e.deepEqual=function(e,t){if(e===t)return!0;if(!this.isObject(e)||!this.isObject(t))return!1;var n=this.keys(e),i=this.keys(t);if(n.length!==i.length)return!1;var r=n.concat(i),s=this.create(null),o=!0;return this.each(r,function(n,i){s[i]||(this.deepEqual(e[i],t[i])||(o=!1),s[i]=!0)},this),o},e.fromTo=function(e,t,n,i){if(i||(i=[n,n=i][0]),n=Math.abs(n||1),e<t)for(var r=e;r<=t;r+=n)i(r);else for(var r=e;r>=t;r-=n)i(r)},e.newGuid=function(){var e=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},e.map=function(e,t){var n=this.isArray(e)?[]:{};return this.each(e,function(e,i){n[e]=t(e,i)}),n},e.setByPath=function(e,t,n){this.isNull(e)||this.isNull(t)||""===t||(this.isArray(t)||(t=t.replace(/\[/,".").replace(/\]/,".").split(".")),this.each(t,function(i,r){this.isNull(r)||r.length<1||(i===t.length-1?e[r]=n:(e[r]=e[r]||{},e=e[r]))},this))},e.getByPath=function(e,t){return this.isNull(e)||this.isNull(t)||""===t?e:(this.isArray(t)||(t=t.replace(/\[/,".").replace(/\]/,".").split(".")),this.each(t,function(t,n){this.isNull(n)||n.length<1||this.isNull(e)||(e=e[n])},this),e)},e.unique=function(e){if(this.isNull(e))return e;var t=[];return this.each(e,function(e,n){t.indexOf(n)>-1||t.push(n)}),t},e.getFunctionArgumentNames=function(e){if(!e)return[];var t=e.toString(),n=t.split(")")[0].split("=>")[0].split("(");return(n[1]||n[0]).split(",").map(function(e){return e.trim()}).filter(function(e){return"function"!=e})},e.short=function(e,t){if(!e)return e;t=t||40;var n=e.length,i=t/2;return n>t?e.substr(0,i)+"..."+e.substr(n-i):e},e.firstUpper=function(e){if(!this.isNull(e))return e.substring(0,1).toUpperCase()+e.substring(1)},e.escapeRegExp=function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},e.parseDom=function(t){this._PDD_=this._PDD_||document.createElement("div"),this._PDD_.innerHTML=e.trim(t);var n=this._PDD_.childNodes[0];return n&&(n=n.cloneNode(!0)),this._PDD_.innerHTML="",n}}(t)},function(e,t,n){function i(e){e=e||r.create(null),e.$name=e.$name||"Class",e.$extends=e.$extends||i,e.$static=e.$static||r.create(null);var t=r.isFunction(e.$extends)?e.$extends.prototype:e.$extends,n=function(){if(!this.$super){r.defineFreezeProp(this,"$super",function(){if(this._super_called_)return this._super_ret_;if(this._super_called_=!0,r.isFunction(e.$extends)){if(this._super_ret_=e.$extends.apply(this,arguments),this._super_ret_){var t=r.getPrototypeOf(this);r.setPrototypeOf(t,this._super_ret_)}}else this._super_ret_=e.$extends;return this._super_ret_});for(var n in t){var i=t[n];r.isFunction(i)?this.$super[n]=i.bind(this):this.$super[n]=i}}return r.isFunction(e.constructor)&&e.constructor!==Object?e.constructor.apply(this,arguments):void this.$super.apply(this,arguments)};return n.prototype=r.create(t),r.copy(e,n.prototype),r.defineFreezeProp(n.prototype,"$class",n),r.copy(e.$static,n),r.isFunction(e.$extends)&&r.setPrototypeOf(n,e.$extends),e.$extends.$extend||r.copy(i,n),r.defineFreezeProp(n,"$super",e.$extends),n}const r=n(3);i.$extend=function(e){return e.$extends=this,new i(e)},i.Class=i,e.exports=i},function(e,t,n){"use strict";var i=n(4),r=n(3),s=new i({constructor:function(e,t,n){if(!r.isFunction(e)||!r.isFunction(t))throw new Error("Invalid parameters");this.calcor=e,this.handler=t,n&&this.calc(!0)},calc:function(e){var t=this.calcor();!e&&r.deepEqual(t,this.value)||this.handler(t,this.value),this.value=r.clone(t)}});e.exports=s},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var r=n(7),s=i(r),o=n(42),a=i(o),l=n(47),c=i(l),u=n(4),p=n(3),d=n(50),h="_observer_",f="change",m=10,g=[/^\_(.*)\_$/i,/^\_\_/i],b=new u({$extends:d,constructor:function(e,t){if(p.isNull(e))throw new Error("Invalid target");t=t||{};var n=e[h];return n?(p.copy(t,n.options),n.apply(),n):(d.call(this),p.defineFreezeProp(this,"options",t),p.defineFreezeProp(this,"shadow",{}),p.defineFreezeProp(this,"target",e),p.defineFreezeProp(this,"parents",[]),p.defineFreezeProp(e,h,this),void this.apply())},set:function(e,t){p.isFunction(t)||b.isIgnore(e)||((0,c.default)(this.target,e,{get:function(){return this[h].shadow[e]},set:function(t){var n=this[h],i=n.shadow[e];if(i!==t){if(p.isObject(t)){var r=new b(t);n.addChild(r,e)}i&&i[h]&&n.removeChild(i[h],e),n.shadow[e]=t,n.emitChange({path:e,value:t})}},configurable:!0,enumerable:!0}),this.target[e]=t)},apply:function(){p.isArray(this.target)&&this._wrapArray(this.target);var e=this._getPropertyNames(this.target);e.forEach(function(e){var t=(0,a.default)(this.target,e);"value"in t&&this.set(e,this.target[e])},this)},clearReference:function(){p.each(this.target,function(e,t){if(!p.isNull(t)){var n=t[h];n&&this.removeChild(n)}},this)},dispatch:function(e,t){t._src_!==this&&(t._src_=t._src_||this,t._layer_=t._layer_||0,t._layer_++>=m||(this.emit(e,t),!this.parents||this.parents.length<1||this.parents.forEach(function(n){if(!(n.name in n.parent.target))return n.parent.removeChild(this);var i=p.copy(t);i.path=n.name+"."+t.path,n.parent.dispatch(e,i)},this)))},addChild:function(e,t){if(p.isNull(e)||p.isNull(t))throw new Error("Invalid paramaters");e.options.root||e.parents.push({parent:this,name:t})},removeChild:function(e,t){if(p.isNull(e))throw new Error("Invalid paramaters");var n=-1;e.parents.forEach(function(e,i){e.parent===this&&e.name===t&&(n=i)},this),n>-1&&e.parents.splice(n,1)},emitChange:function(e){this.dispatch(f,e)},_getPropertyNames:function(){var e=p.isArray(this.target)?this.target.map(function(e,t){return t}):(0,s.default)(this.target);return e.filter(function(e){return e!==h})},_wrapArray:function(e){p.defineFreezeProp(e,"push",function(){var t=[].slice.call(arguments);t.forEach(function(t){this[h].set(e.length,t)},this),this[h].emitChange({path:"length",value:this.length})}),p.defineFreezeProp(e,"pop",function(){var e=[].pop.apply(this,arguments);return this[h].emitChange({path:this.length,value:e}),this[h].emitChange({path:"length",value:this.length}),e}),p.defineFreezeProp(e,"unshift",function(){var e=[].slice.call(arguments);e.forEach(function(e){this[h].set(0,e)},this),this[h].emitChange({path:"length",value:this.length})}),p.defineFreezeProp(e,"shift",function(){var e=[].shift.apply(this,arguments);return this[h].emitChange({path:0,value:e}),this[h].emitChange({path:"length",value:this.length}),e}),p.defineFreezeProp(e,"splice",function(){for(var e=arguments[0],t=p.isNull(arguments[1])?e+arguments[1]:this.length-1,n=[].splice.apply(this,arguments),i=e;i<=t;i++)this[h].emitChange({path:i,value:n[i-e]});return this[h].emitChange({path:"length",value:this.length}),n}),p.defineFreezeProp(e,"set",function(e,t){e>=this.length&&this[h].emitChange({path:"length",value:this.length}),this[h].set(e,t)})}});b.observe=function(e){return new b(e)},b.isIgnore=function(e){return g.some(function(t){return t.test(e)})},e.exports=b},function(e,t,n){e.exports={default:n(8),__esModule:!0}},function(e,t,n){n(9),e.exports=n(29).Object.keys},function(e,t,n){var i=n(10),r=n(12);n(27)("keys",function(){return function(e){return r(i(e))}})},function(e,t,n){var i=n(11);e.exports=function(e){return Object(i(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(13),r=n(26);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){var i=n(14),r=n(15),s=n(18)(!1),o=n(22)("IE_PROTO");e.exports=function(e,t){var n,a=r(e),l=0,c=[];for(n in a)n!=o&&i(a,n)&&c.push(n);for(;t.length>l;)i(a,n=t[l++])&&(~s(c,n)||c.push(n));return c}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var i=n(16),r=n(11);e.exports=function(e){return i(r(e))}},function(e,t,n){var i=n(17);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(15),r=n(19),s=n(21);e.exports=function(e){return function(t,n,o){var a,l=i(t),c=r(l.length),u=s(o,c);if(e&&n!=n){for(;c>u;)if(a=l[u++],a!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var i=n(20),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){var i=n(20),r=Math.max,s=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):s(e,t)}},function(e,t,n){var i=n(23)("keys"),r=n(25);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){var i=n(24),r="__core-js_shared__",s=i[r]||(i[r]={});e.exports=function(e){return s[e]||(s[e]={})}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(28),r=n(29),s=n(38);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],o={};o[e]=t(n),i(i.S+i.F*s(function(){n(1)}),"Object",o)}},function(e,t,n){var i=n(24),r=n(29),s=n(30),o=n(32),a="prototype",l=function(e,t,n){var c,u,p,d=e&l.F,h=e&l.G,f=e&l.S,m=e&l.P,g=e&l.B,b=e&l.W,v=h?r:r[t]||(r[t]={}),_=v[a],y=h?i:f?i[t]:(i[t]||{})[a];h&&(n=t);for(c in n)u=!d&&y&&void 0!==y[c],u&&c in v||(p=u?y[c]:n[c],v[c]=h&&"function"!=typeof y[c]?n[c]:g&&u?s(p,i):b&&y[c]==p?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t[a]=e[a],t}(p):m&&"function"==typeof p?s(Function.call,p):p,m&&((v.virtual||(v.virtual={}))[c]=p,e&l.R&&_&&!_[c]&&o(_,c,p)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var n=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(31);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(33),r=n(41);e.exports=n(37)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(34),r=n(36),s=n(40),o=Object.defineProperty;t.f=n(37)?Object.defineProperty:function(e,t,n){if(i(e),t=s(t,!0),i(n),r)try{return o(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}},function(e,t,n){var i=n(35);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(37)&&!n(38)(function(){return 7!=Object.defineProperty(n(39)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(38)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var i=n(35),r=n(24).document,s=i(r)&&i(r.createElement);e.exports=function(e){return s?r.createElement(e):{}}},function(e,t,n){var i=n(35);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){e.exports={default:n(43),__esModule:!0}},function(e,t,n){n(44);var i=n(29).Object;e.exports=function(e,t){return i.getOwnPropertyDescriptor(e,t)}},function(e,t,n){var i=n(15),r=n(45).f;n(27)("getOwnPropertyDescriptor",function(){return function(e,t){return r(i(e),t)}})},function(e,t,n){var i=n(46),r=n(41),s=n(15),o=n(40),a=n(14),l=n(36),c=Object.getOwnPropertyDescriptor;t.f=n(37)?c:function(e,t){if(e=s(e),t=o(t,!0),l)try{return c(e,t)}catch(e){}if(a(e,t))return r(!i.f.call(e,t),e[t])}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){e.exports={default:n(48),__esModule:!0}},function(e,t,n){n(49);var i=n(29).Object;e.exports=function(e,t,n){return i.defineProperty(e,t,n)}},function(e,t,n){var i=n(28);i(i.S+i.F*!n(37),"Object",{defineProperty:n(33).f})},function(e,t,n){"use strict";var i=n(3),r=n(4),s=new r({$extends:Function,constructor:function(e){e=e||this;var t=e._emitter_;return t?t:(i.defineFreezeProp(this,"_target_",e),i.defineFreezeProp(e,"_emitter_",this),this._isNative_=this._isNativeObject(this._target_),this._listeners_=this._listeners_||{},this.on=this.$on=this.$addListener=this.addListener,this.off=this.$off=this.$removeListener=this.removeListener,void(this.$emit=this.emit))},_isNativeObject:function(e){return e.addEventListener&&e.removeEventListener&&e.dispatchEvent},addListener:function(e,t,n){if(this._isNative_&&this._addNativeEventListener(e,t,n),this._listeners_[e]=this._listeners_[e]||[],this._listeners_[e].push(t),this._listeners_[e].length>s._maxListeners)throw new Error("The `"+e+"` event listener is not more than 10")},removeListener:function(e,t,n){if(e&&t){if(this._isNative_&&this._removeNativeEventListener(e,t,n),!this._listeners_[e])return;var r=this._listeners_[e].indexOf(t);this._listeners_[e].splice(r,1)}else e?(this._isNative_&&this._listeners_[e]&&this._listeners_[e].forEach(function(t){this.removeListener(e,t,n)},this),delete this._listeners_[e]):(i.each(this._listeners_,function(e){this.removeListener(e,null,n)},this),this._listeners_={})},emit:function(e,t,n,i){if(this._isNative_)return this._emitNativeEvent(e,t,n,i);if(this._listeners_[e]){var r=!1;return this._listeners_[e].forEach(function(e){var n=e.call(this._target_,t);n===!1&&(r=!0)},this),r}},_addNativeEventListener:function(e,t,n){this._target_.addEventListener(e,t,n);var i=s._events[e];i&&(i.addListener=i.addListener||i.on,i.addListener(this,e,t,n))},_removeNativeEventListener:function(e,t,n){this._target_.removeEventListener(e,t,n);var i=s._events[e];i&&(i.removeListener=i.removeListener||i.off,i.removeListener(this,e,t,n))},_emitNativeEvent:function(e,t,n,r){var s=document.createEvent("HTMLEvents");return s.initEvent(e,n,r),i.copy(t,s,["data"]),s.data=t,this._target_.dispatchEvent(s)}});s._maxListeners=10,s._events=[],s.register=function(e){var t=e.name;t&&(i.isArray(t)||(t=t.split(",")),t.forEach(function(t){this._events[t]=e},this))},e.exports=s},function(e,t,n){"use strict";var i=n(52),r=n(53),s=n(54),o=n(78),a=n(55);o.Template=o,o.Compiler=i,o.Directive=r,o.directives=a,o.Expression=s,e.exports=o},function(e,t,n){"use strict";var i=n(4),r=n(53),s=n(3),o=n(54),a=n(55),l="m",c=new i({constructor:function(e){e=e||{},this.prefix=e.prefix||l,this.elementDirectives={},this.attributeDirectives={},this.registerDirectives(a),this.registerDirectives(e.directives)},toCamelCase:function(e,t){return e&&(e=e.replace(/\-[a-z0-9]/g,function(e){return e.slice(1).toUpperCase()}),e=e.replace(/^[a-z]/i,function(e){return t?e.toUpperCase():e.toLowerCase()})),e},toSplitCase:function(e){return e&&(e=e.replace(/([A-Z])/g,"-$1"),"-"==e[0]&&(e=e.slice(1))),e},registerDirectives:function(e){s.each(e,function(e,t){e=this.toSplitCase(e);var n=t.options.prefix===!1?e:this.prefix+":"+e;t.options.type==r.TE?this.elementDirectives[n.toUpperCase()]=t:this.attributeDirectives[n.toLowerCase()]=t},this)},_parseAttrInfo:function(e){var t=this,n=e.toLowerCase().split(":"),i={};return n.length>1?(i.name=n[0]+":"+n[1],i.decorates=n.slice(2).map(function(e){return t.toCamelCase(e)})):(i.name=n[0],i.decorates=[]),i},_createDirectiveInstance:function(e,t){return t.compiler=this,t.prefix=this.prefix,new e(t)},_bindHandler:function(e){e.directives=e.directives.sort(function(e,t){return t.level-e.level});var t=[];s.each(e.directives,function(n,i){if(i.index=n,i.bind(),t.push(i),i.remove!==!1&&i.attribute&&i.node.removeAttribute(i.attribute.name),i.final)return e.final=!0},this),e.directives=t},_compileElement:function(e,t){var n=this.elementDirectives[t.nodeName.toUpperCase()];n&&e.directives.push(this._createDirectiveInstance(n,{handler:e,node:t}))},_compileAttributes:function(e,t){s.toArray(t.attributes).forEach(function(n){var i=this._parseAttrInfo(n.name),r=this.attributeDirectives[i.name]||this.attributeDirectives["*"];if(r){var s=r.options;e.directives.push(this._createDirectiveInstance(r,{handler:e,node:t,attribute:n,expression:s.literal?n.value:new o(n.value,s.mixed),decorates:i.decorates}))}},this)},_compileChildren:function(e,t){e.final||s.toArray(t.childNodes).forEach(function(t){if(!t._compiled_){var n=this.compile(t);n.parent=this,e.children.push(n)}},this)},compile:function(e,t){if(!e)throw new Error("Invalid node for compile");e._compiled_=!0,t=t||{};var n=function e(t){s.isNull(t)&&(t={}),e.directives.forEach(function(e){e.scope=t,e.execute(t)},this),e.children.forEach(function(e){e(t)},this)};return n.dispose=function(){n.directives.forEach(function(e){e.unbind()},this),n.children.forEach(function(e){e.dispose()},this)},n.node=e,n.directives=[],n.children=[],t.element!==!1&&this._compileElement(n,e),t.attribute!==!1&&this._compileAttributes(n,e),this._bindHandler(n),t.children!==!1&&this._compileChildren(n,e),n}});e.exports=c},function(e,t,n){"use strict";function i(e){e=e||{},e.type=e.type||i.TA,e.level=e.level||i.LG;var t=new r({$extends:e,constructor:function(e){s.copy(e,this)},options:e,bind:e.bind||s.noop,execute:e.execute||function(e){if(this.scope=e,this.options.type===i.TE)return this.update();var t=this.options.literal?this.attribute.value:this.expression.execute(e);s.deepEqual(this._value_,t)||(this.update(t,this._value_),this._value_=t)},update:e.update||s.noop,unbind:e.unbind||s.noop,utils:s,Expression:o});return t.options=e,s.setPrototypeOf(t,e),t}var r=n(4),s=n(3),o=n(54);i.TA="A",i.TE="E",i.LP=3e3,i.LS=2e3,i.LE=1e3,i.LG=0,i.LA=-1e3,i.LC=-2e3,e.exports=i},function(e,t,n){"use strict";var i=n(4),r=n(3),s=new i({constructor:function(e,t){this.func=t?this._compileMixedCode(e):this._compileCode(e)},_compileCode:function(e){return e=this._escapeEOL(this._wrapCode(e)),this._createFunction(e)},_compileMixedCode:function(e){var t=this._parseMixedCode(e);return e=this._escapeEOL(t.join("+")),this._createFunction(e)},_createFunction:function(e){var t=new Function("utils","scope","with(scope){return "+e+"}");return t.bind(null,r)},_parseMixedCode:function(e){for(var t=0,n=e.length,i="",s=!1,o=[];t<=n;){var a=e[t++],l=e[t];r.isNull(a)?(i.length>0&&o.push('"'+this._escapeCode(i)+'"'),i="",s=!1):s||a+l!="{{"?s&&a+l=="}}"?(i.length>0&&o.push(this._wrapCode(i)),i="",s=!1,t++):i+=a:(i.length>0&&o.push('"'+this._escapeCode(i)+'"'),i="",s=!0,t++)}return o},_escapeCode:function(e){return e.replace(/"/,'\\"').replace("\r\n","\\r\\n").replace("\n","\\n")},_escapeEOL:function(e){return e.replace(/\n/gm,"\\\n")},_wrapCode:function(e){return"((function(){try{return ("+e+")}catch(err){console.error(err);return err;}})())"},execute:function(e){return r.isNull(e)&&(e={}),this.func.call(e,e)}});e.exports=s},function(e,t,n){"use strict";e.exports={"#text":n(56),each:n(57),if:n(59),prop:n(60),attr:n(61),on:n(62),html:n(63),text:n(64),prevent:n(65),id:n(66),cloak:n(67),show:n(68),model:n(69),focus:n(76),"*":n(77)}},function(e,t,n){"use strict";var i=n(53),r=n(54);e.exports=new i({type:i.TE,prefix:!1,bind:function(){this.expr=new r(this.node.nodeValue,!0),this.node.nodeValue=""},execute:function(e){this.scope=e;var t=this.expr.execute(e);this.node.nodeValue!==t&&(this.node.nodeValue=t)}})},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var r=n(47),s=i(r),o=n(53),a=n(3),l=n(58);e.exports=new o({level:o.LS+1,final:!0,literal:!0,bind:function(){this.mountNode=document.createTextNode(""),this.node.parentNode.insertBefore(this.mountNode,this.node),this.node.removeAttribute(this.attribute.name),this.node.parentNode.removeChild(this.node),this.parseExpr(),this.eachItems={}},parseExpr:function(){this.eachType=this.attribute.value.indexOf(" in ")>-1?"in":"of";var e=this.attribute.value.split(" "+this.eachType+" "),t="with(scope){utils.each("+e[1]+",fn.bind(this,"+e[1]+"))}";this.each=new Function("utils","scope","fn",t).bind(null,this.utils);var n=e[0].split(",").map(function(e){return e.trim()});"in"==this.eachType?(this.keyName=n[0],this.valueName=n[1]):(this.keyName=n[1],this.valueName=n[0])},execute:function(e){var t=this,n=[],i=document.createDocumentFragment(),r=this;this.each(e,function(e,t){var o=new l(this.scope);r.keyName&&(0,s.default)(o,r.keyName,{get:function(){return t}}),r.valueName&&(0,s.default)(o,r.valueName,{get:function(){return e[t]},set:function(n){e[t]=n}});var a=this.eachItems[t];if(a)a.handler(o);else{var c={};c.node=this.node.cloneNode(!0),i.appendChild(c.node),c.handler=this.compiler.compile(c.node),c.handler(o),this.eachItems[t]=c}n.push(t)}.bind(this)),a.each(this.eachItems,function(e,i){n.some(function(t){return t==e})||(i.node.parentNode&&i.node.parentNode.removeChild(i.node),delete t.eachItems[e])},this),i.childNodes.length>0&&this.mountNode.parentNode.insertBefore(i,this.mountNode)}})},function(e,t,n){"use strict";var i=n(3),r=function(e,t){var n=i.create(e);return i.copy(t,n),i.each(e,function(t,r){i.isFunction(r)&&(n[t]=r.bind(e))}),n};e.exports=r},function(e,t,n){"use strict";var i=n(53);e.exports=new i({level:i.LS,final:!0,bind:function(){this.mountNode=document.createTextNode(""),this.node.parentNode.insertBefore(this.mountNode,this.node),this.node.removeAttribute(this.attribute.name),this.node.parentNode.removeChild(this.node)},execute:function(e){var t=this.expression.execute(e);if(t){this._handler=this._handler||this.compiler.compile(this.node),this._handler(e);var n=this.node.$substitute||this.node;n.parentNode||this.mountNode.parentNode.insertBefore(n,this.mountNode)}else{var i=this.node.$substitute||this.node;i.parentNode&&i.parentNode.removeChild(i)}}})},function(e,t,n){"use strict";var i=n(53);e.exports=new i({update:function(e){var t=this.node.$target||this.node;t[this.decorates[0]]=e}})},function(e,t,n){"use strict";var i=n(53);e.exports=new i({update:function(e){var t=this.node.$target||this.node;t.setAttribute?t.setAttribute(this.decorates[0],e):t[this.decorates[0]]=e}})},function(e,t,n){"use strict";var i=n(53),r=n(50),s=n(58);e.exports=new i({literal:!0,bind:function(){var e=this.attribute.value||"";e.indexOf("(")<0&&e.indexOf(")")<0&&(e+="($event)"),this.expr=new this.Expression(e);var t=this.node.$target||this.node;this.emiter=new r(t),this.emiter.addListener(this.decorates[0],function(e){this.utils.isNull(this.scope)||this.expr.execute(new s(this.scope,{$event:e}))}.bind(this),!1)},unbind:function(){this.emiter.removeListener()},execute:function(e){this.scope=e}})},function(e,t,n){"use strict";var i=n(53);e.exports=new i({update:function(e){this.node.innerHTML=e}})},function(e,t,n){"use strict";var i=n(53);e.exports=new i({update:function(e){this.node.innerText=e}})},function(e,t,n){"use strict";var i=n(53);e.exports=new i({level:i.LP,final:!0})},function(e,t,n){"use strict";var i=n(53);e.exports=new i({literal:!0,update:function(e){if(e in this.scope)throw new Error("Conflicting component id `"+e+"`");this.scope[e]=this.node.$target||this.node;
  6. }})},function(e,t,n){"use strict";var i=n(53);e.exports=new i({level:i.LC,literal:!0,prefix:!1,bind:function(){this.node.removeAttribute(this.attribute.name)}})},function(e,t,n){"use strict";var i=n(53);e.exports=new i({update:function(e){this.node.style.display=e?"":"none"}})},function(e,t,n){"use strict";var i=n(70),r=n(71),s=n(72),o=n(73),a=n(74),l=n(75),c=function(e){var t=e.node,n=t.tagName;if(e.decorates[0])return new l(e);if("INPUT"==n){var c=t.getAttribute("type");return"radio"==c?new o(e):"checkbox"==c?new a(e):new s(e)}if("TEXTAREA"==n)return new s(e);if("SELECT"==n)return new i(e);if(t.isContentEditable)return new r(e);throw new Error("Directive `model` cannot be used on `"+n+"`")};c.options={level:c.LA},e.exports=c},function(e,t,n){"use strict";var i=n(53),r=n(50),s=n(58);e.exports=new i({final:!0,bind:function(){this.backExpr=new this.Expression(this.attribute.value+"=_value_"),this.node.removeAttribute(this.attribute.name),this._handler=this.compiler.compile(this.node),this.emiter=new r(this.node),this.emiter.addListener("change",function(){if(!this.utils.isNull(this.scope)){var e=this.node.selectedOptions,t=this.node.multiple?[].slice.call(e).map(function(e){return e.value},this):e[0].value;this.backExpr.execute(new s(this.scope,{_value_:t}))}}.bind(this),!1)},unbind:function(){this.emiter.removeListener()},execute:function(e){this.scope=e,this._handler(e);var t=this.expression.execute(e);this.utils.isArray(t)||(t=[t]),[].slice.call(this.node.options).forEach(function(e){e.selected=t.indexOf(e.value)>-1},this)}})},function(e,t,n){"use strict";var i=n(53),r=n(50),s=n(58);e.exports=new i({bind:function(){this.backExpr=new this.Expression(this.attribute.value+"=_value_"),this.emiter=new r(this.node),this.emiter.addListener("input",function(){this.utils.isNull(this.scope)||this.backExpr.execute(new s(this.scope,{_value_:this.node.innerHTML}))}.bind(this),!1)},unbind:function(){this.emiter.removeListener()},execute:function(e){var t=this.expression.execute(e);this.node.innerHTML!==t&&(this.node.innerHTML=t)}})},function(e,t,n){"use strict";var i=n(53),r=n(50),s=n(58);e.exports=new i({bind:function(){this.backExpr=new this.Expression(this.attribute.value+"=_value_"),this.emiter=new r(this.node),this.emiter.addListener("input",function(){this.utils.isNull(this.scope)||this.backExpr.execute(new s(this.scope,{_value_:this.node.value}))}.bind(this),!1)},unbind:function(){this.emiter.removeListener()},execute:function(e){var t=this.expression.execute(e);this.node.value!==t&&(this.node.value=t)}})},function(e,t,n){"use strict";var i=n(53),r=n(50),s=n(58);e.exports=new i({bind:function(){this.backExpr=new this.Expression(this.attribute.value+"=_value_"),this.emiter=new r(this.node),this.emiter.addListener("change",function(){this.utils.isNull(this.scope)||this.backExpr.execute(new s(this.scope,{_value_:this.node.value}))}.bind(this),!1)},unbind:function(){this.emiter.removeListener()},execute:function(e){this.scope=e;var t=this.expression.execute(e);this.node.checked=t==this.node.value}})},function(e,t,n){"use strict";var i=n(53),r=n(50),s=n(58);e.exports=new i({bind:function(){this.backExpr=new this.Expression(this.attribute.value+"=_value_"),this.emiter=new r(this.node),this.emiter.addListener("change",function(){if(!this.utils.isNull(this.scope)){var e=this.expression.execute(this.scope);if(this.utils.isArray(e)&&this.node.checked)e.push(this.node.value);else if(this.utils.isArray(e)&&!this.node.checked){var t=e.indexOf(this.node.value);e.splice(t,1)}else this.backExpr.execute(new s(this.scope,{_value_:this.node.checked}))}}.bind(this),!1)},unbind:function(){this.emiter.removeListener()},execute:function(e){this.scope=e;var t=this.expression.execute(e);this.utils.isArray(t)?this.node.checked=t.indexOf(this.node.value)>-1:this.node.checked=t}})},function(e,t,n){"use strict";var i=n(53),r=n(58);e.exports=new i({bind:function(){var e=this;if(this.target=this.node.$target,this.backExpr=new this.Expression(this.attribute.value+"=_value_"),this.bindProp=this.decorates[0],!this.target)throw new Error("Directive `model:"+this.bindProp+"` cannot be used on `"+this.node.tagName+"`");this.watcher=this.target.$watch(this.bindProp,function(t){e.utils.isNull(e.scope)||e.backExpr.execute(new r(e.scope,{_value_:t}))})},unbind:function(){this.target.$unWatch(this.watcher)},update:function(e){this.target[this.bindProp]=e}})},function(e,t,n){"use strict";var i=n(53);e.exports=new i({execute:function(e){var t=this,n=this.expression.execute(e);setTimeout(function(){n?t.node.focus():t.node.blur()},0)}})},function(e,t,n){"use strict";var i=n(53);e.exports=new i({level:i.LA,prefix:!1,literal:!0,remove:!1,bind:function(){this.computedName=this.attribute.name,this.computedValue=this.attribute.value,this.nameExpr=new this.Expression(this.attribute.name,!0),this.valueExpr=new this.Expression(this.attribute.value,!0)},execute:function(e){var t=this.node.$target||this.node,n=this.nameExpr.execute(e);this.computedName!==n&&(t.removeAttribute&&t.removeAttribute(this.computedName),this.computedName=n,!this.utils.isNull(this.computedName)&&this.computedName.length>0&&t.setAttribute&&t.setAttribute(this.computedName,this.computedValue||""));var i=this.valueExpr.execute(e);this.computedValue!==i&&(this.computedValue=i,t.setAttribute?t.setAttribute(this.computedName,this.computedValue||""):t[this.computedName]=this.computedValue)}})},function(e,t,n){"use strict";var i=n(4),r=n(6),s=n(50),o=n(52),a=new i({$extends:s,constructor:function(e,t){t=t||{},s.call(this),this.options=t,this.element=e,this.compiler=t.compiler||new o(t),this.render=this.compiler.compile(this.element),this.update=this.update.bind(this),this._update=this._update.bind(this),this._updateTimer=0},update:function(){this._updateTimer&&(clearTimeout(this._updateTimer),this._updateTimer=null),this._updateTimer=setTimeout(this._update,0)},_update:function(){this._updateTimer&&this.observer&&(this.emit("update",this),this.render(this.observer.target),this._onBind())},_onBind:function(){this._bound||(this._bound=!0,this.emit("bind",this))},bind:function(e,t){e&&(this.unbind(),this.observer=new r(e,{root:this.options.root}),e.$self=e,this.observer.on("change",this.update),t?this._onBind():this.update())},unbind:function(){this.observer&&(this.observer.removeListener("change",this.update),this.observer.clearReference(),this.observer=null)},dispose:function(){this.unbind(),this.render.dispose()}});e.exports=a},function(e,t,n){"use strict";var i=n(80),r=n(82),s=n(51).directives;i.components=r,i.Component=i,i.component=function(e,t){return t?void(r[e]=t):r[e]},i.directive=function(e,t){return t?void(s[e]=t):s[e]},e.exports=i},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e){e=e||{};var t=e.mixes;delete e.mixes,t=t&&!u.isArray(t)?[t]:[];var i=e.extend||r;delete e.extend,t.push(i),t.push(e);var s={};t.forEach(function(e){(e instanceof r||e==r)&&(e=e.$options||{}),u.mix(s,e)}),e=s;var f=new a({$extends:i,constructor:function(t){var i=this;return this==window?new this.$class(t):(p.call(this),t=t||{},u.each(t,function(e,t){e in i||(i[e]=t)}),this._onTemplateUpdate_=this._onTemplateUpdate_.bind(this),this._createdData_(e.data),this._createProperties_(e.properties||e.props),this._createWatches_(e.watches||e.watch),this.$directives=this.$directives||{},this._importDirectives_(e.directives),this.$components=this.$components||{},this._importComponents_(n(82)),this._importComponents_({self:f}),this._importComponents_(e.components),u.defineFreezeProp(this,"$children",[]),t.parent&&this.$setParent(t.parent),this.$callHook("init",[t]),d.observe(this),void(e.element?this.$mount():this.$compile()))},$setParent:function(e){this.$parent!==e&&(this.$parent&&this.$parent.$removeChild(this),e&&e.$addChild(this))},$addChild:function(e){e instanceof r&&(this.$children.push(e),u.defineFreezeProp(e,"$parent",this),u.defineFreezeProp(e,"$root",this.$root||this))},$removeChild:function(e){var t=this.$children.indexOf(e);this.$children.splice(t,1),u.defineFreezeProp(e,"$parent",null)},get $root(){return this.$parent?this.$parent.$root:this},_importComponents_:function(e){u.each(e,function(e,t){t&&(this.$components[e]=t,this.$directives[e]=new h({name:e,component:t,parent:this}))},this)},_importDirectives_:function(e){u.each(e,function(e,t){t&&(this.$directives[e]=t)},this)},$callHook:function(e,t){var n=this["on"+u.firstUpper(e)];u.isFunction(n)&&(n.apply(this,t||[]),this.$emit("$"+e,t))},_createdData_:function(e){u.isFunction(e)?this.$data=e.call(this):this.$data=e||{},u.each(this.$data,function(e){(0,o.default)(this,e,{configurable:!0,enumerable:!0,get:function(){if(this.$data)return this.$data[e]},set:function(t){this.$data&&(this.$data[e]=t)}})},this)},_createProperties_:function(e){this.$properties={},u.each(e,function(e,t){t=u.isFunction(t)?{get:t}:u.isObject(t)?u.copy(t):{value:t};var n=!!t.get||!!t.set;n||(t.get=function(){return t.value},t.set=function(e){t.value=e}),(0,o.default)(this,e,{configurable:!0,enumerable:!0,get:function(){if(!t.get)throw new Error("Property `"+e+"` cannot be read");return t.get.call(this)},set:function(n){if(!t.set)throw new Error("Property `"+e+"` cannot be written");if(t.test&&!t.test(n))throw new Error("Invalid value `"+n+"` for property `"+e+"`");t.set.call(this,n),this._observer_&&this._observer_.emitChange({path:e,value:n})}}),this.$properties[e]=t},this)},_createWatches_:function(e){this._watchers_=this._watchers_||[],u.each(e,function(e,t){this.$watch(e,t)},this)},_onTemplateUpdate_:function(){this._watchers_.forEach(function(e){e.calc()},this)},$watch:function(e,t){if(u.isFunction(t)){var n=e;u.isFunction(e)||(n=function(){return u.getByPath(this,e)});var i=new c(n.bind(this),t.bind(this));return this._watchers_.push(i),i}},$unWatch:function(e){var t=this._watchers_.findIndex(function(t){return t===e});this._watchers_.splice(t,1)},_createElement_:function(){if(!this._created_){if(this._created_=!0,this.$callHook("create"),u.defineFreezeProp(this,"$element",this.element||f.$template.cloneNode(!0)),!this.$element||"#text"===this.$element.nodeName)throw new Error("Invalid component template");this.$callHook("created")}},$compile:function(){this._compiled_||(this._compiled_=!0,this._createElement_(),u.defineFreezeProp(this,"_template_",new l(this.$element,{directives:this.$directives,root:!0})),this._template_.bind(this),this._template_.on("update",this._onTemplateUpdate_),this._template_.on("bind",function(){this.deferReady||this.$callHook("ready")}.bind(this)))},$mount:function(e,t){this._mounted_||(this.$compile(),this.$callHook("mount"),e&&(e.$substitute=this.$element,this.$element._mountNode=e,t?e.appendChild(this.$element):e.parentNode&&e.parentNode.insertBefore(this.$element,e)),this._mounted_=!0,this._removed_=!1,this.$callHook("mounted"))},$appendTo:function(e){this.$mount(e,!0)},$remove:function(){!this._removed_&&this._mounted_&&(this.$callHook("remove"),this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element),this._removed_=!0,this._mounted_=!1,this.$callHook("removed"))},$dispatch:function(e,t){var n=this.$emit(e,t);!n&&this.$parent&&this.$parent.$dispatch(e,t)},$broadcast:function(e,t){var n=this.$emit(e,t);!n&&this.$children&&this.$children.length>0&&this.$children.forEach(function(n){n.$broadcast(e,t)},this)},$dispose:function(){if(this.$remove(),this._emitter_.off(),this.$children.forEach(function(e){e.$dispose()},this),this.$parent){var e=this.$parent.$children.indexOf(this);this.$parent.$children.splice(e,1)}this.$callHook("dispose"),this._compiled_&&this._template_.unbind(),this.$callHook("disposed");for(var t in this)delete this[t];["_observer_","$element","$children","$parent","_template_"].forEach(function(e){delete this[e]},this),u.setPrototypeOf(this,null)}});return f.$options=e,f.$template=u.parseDom(e.template),u.copy(e,f.prototype),u.copy(e.methods,f.prototype),u.setPrototypeOf(f,r.prototype),f}var s=n(47),o=i(s),a=n(4),l=n(51),c=n(5),u=n(3),p=n(50),d=n(6),h=n(81);r.prototype=u.create(p.prototype),r.extend=function(e){return new r(e)},r.prototype.extend=function(e){return e=e||{},e.extend=this,new r(e)},r.prototype.create=function(e){return new this(e)},r.prototype.start=function(e){if(!this.$options||!this.$options.element)throw new Error("Start method cannot be called");return this.create(e)},e.exports=r},function(e,t,n){"use strict";function i(e){return new s({type:s.TE,literal:!0,final:!0,level:s.LE,bind:function(){this.component=new e.component({deferReady:!0,parent:e.parent||this.scope}),this.handleAttrs(),this.node.$target=this.component,this.handler=this.compiler.compile(this.node,{element:!1,children:!1}),this.handleContents(),this.component.$mount(this.node),this.node.parentNode&&this.node.parentNode.removeChild(this.node)},handleAttrs:function(){this.attrs=[].slice.call(this.node.attributes);var e=new RegExp("^"+this.prefix+":","i");this.attrs.forEach(function(t){e.test(t.name)||t.name in this.component.$properties||(this.component.$element.setAttribute(t.name,t.value),this.node.removeAttribute(t.name))},this)},handleContents:function(){this.placeHandlers=[];var e=[].slice.call(this.component.$element.querySelectorAll("["+this.prefix+"\\:content]"));e.forEach(function(e){var t=null,n=e.getAttribute(this.prefix+":content");if(t=n?[].slice.call(this.node.querySelectorAll(n)):[].slice.call(this.node.childNodes),t&&!(t.length<1)){e.innerHTML="",t.forEach(function(t){e.appendChild(t.cloneNode(!0))},this);var i=this.compiler.compile(e);this.placeHandlers.push(i)}},this)},execute:function(e){this.handler(e),this._ready_||(this._ready_=!0,this.component.$callHook("ready")),this.placeHandlers.forEach(function(t){t(e)},this)}})}var r=n(51),s=r.Directive;e.exports=i},function(e,t,n){"use strict";e.exports={View:n(83)}},function(e,t,n){"use strict";var i=n(80),r=n(3),s=new i({template:"<div></div>",properties:{component:{test:function(e){return!!e&&(e instanceof i||r.isString(e))},set:function(e){if(!this._transitioning){if(this._transitioning=!0,r.isString(e))return void(this.$parent&&this.$parent.$components?this.component=this.$parent.$components[e]:this.component=null);var t=null,n=this.componentInstance;r.isFunction(e)?t=new e({parent:this}):(e.$setParent(this),t=e),this.transition.prep(t,n),t.$appendTo(this.$element),this.transition.go(t,n,function(){this.$emit("enter",t),this.$emit("leave",n),n&&n.$dispose(),this._transitioning=!1}.bind(this)),this.componentInstance=t}},get:function(){return this._Component}},transition:{get:function(){return this._transition||s.transition},set:function(e){if(!this._transitioning){if(!(!e||r.isFunction(e.prep)&&r.isFunction(e.go)))throw new Error("Invalid transition");this._transition&&r.isFunction(this._transition.clean)&&this._transition.clean(this),e&&r.isFunction(e.init)&&e.init(this),this._transition=e}}}},switchTo:function(e,t){t&&(this.transition=t),this.component=e}});s.transition={prep:function(e,t){t&&(t.$element.style.display="none")},go:function(e,t,n){n()}},e.exports=s},function(e,t,n){"use strict";var i=n(1),r=n(85);n(86);var s=new i.Component({template:n(88),props:{mditor:null},data:function(){return{items:r.slice(0)}},onReady:function(){this.bindCommands()},watch:{items:function(){this.bindCommands()}},bindCommands:function(){var e=this;this.mditor&&this.items.forEach(function(t){e.mditor.removeCommand(t.name),e.mditor.addCommand(t)})},isActive:function(e){return this.mditor&&e.state&&this.mditor[e.state]},exec:function(e,t){t.preventDefault(),this.mditor.execCommand(e,t)},getItem:function(e){return this.items.find(function(t){return t.name===e})},removeItem:function(e){var t=this.items.findIndex(function(t){return t.name===e});return this.items.splice(t,1)},addItem:function(e){this.items.push(e)},replaceItem:function(e,t){var n=this.items.findIndex(function(t){return t.name===e}),i=this.items.splice(n,1);return this.items.splice(n,0,t),i}});e.exports=s},function(e,t){"use strict";e.exports=[{name:"bold",title:"粗体",key:"shift+alt+b",handler:function(){this.editor.wrapSelectText("**","**")}},{name:"italic",title:"斜体",key:"shift+alt+i",handler:function(){this.editor.wrapSelectText("*","*")}},{name:"underline",title:"下划线",key:"shift+alt+e",handler:function(){this.editor.wrapSelectText("<u>","</u>")}},{name:"strikethrough",title:"删除线",key:"shift+alt+d",handler:function(){this.editor.wrapSelectText("~~","~~")}},{name:"header",title:"标题",key:"shift+alt+1",handler:function(){this.editor.wrapSelectText("# ")}},{name:"quote",icon:"quote-left",title:"引用",key:"shift+alt+q",handler:function(){var e=this.editor.getSelectText();if(e.length<1)return void this.editor.wrapSelectText("> ");var t=e.split(this.EOL),n=[];t.forEach(function(e){n.push("> "+e+" ")}),this.editor.setSelectText(n.join(this.EOL)+this.EOL)}},{name:"code",title:"代码",key:"shift+alt+c",handler:function(){var e="js"+this.EOL,t="```"+e,n="``` "+this.EOL,i=this.editor.getSelectText().trim();i.length>0&&(i+=this.EOL),this.editor.setSelectText(i),this.editor.wrapSelectText(t,n);var r=this.editor.getSelectRange(),s=r.start-e.length,o=r.start-this.EOL.length;this.editor.setSelectRange(s,o)}},{name:"list-ol",title:"有序列表",key:"shift+alt+o",handler:function(){var e=this.editor.getSelectText();if(e.length<1)return void this.editor.wrapSelectText("1. ");for(var t=e.split(this.EOL),n=[],i=0;i<t.length;i++){var r=t[i];n.push(i+1+". "+r)}this.editor.setSelectText(n.join(this.EOL)+this.EOL)}},{name:"list-ul",title:"无序列表",key:"shift+alt+u",handler:function(){var e=this.editor.getSelectText();if(e.length<1)return void this.editor.wrapSelectText("- ");var t=e.split(this.EOL),n=[];t.forEach(function(e){n.push("- "+e)}),this.editor.setSelectText(n.join(this.EOL)+this.EOL)}},{name:"link",title:"链接",key:"shift+alt+l",handler:function(){var e=this.editor.getSelectText();if(!e||/^(https:|http:|ftp:|file:|mailto:|\/|\.)/i.test(e)){if(this.editor.wrapSelectText("[link](",")"),!e)return;var t=this.editor.getSelectRange(),n=t.start-6;this.editor.setSelectRange(n,n+4)}else{this.editor.wrapSelectText("[","]()");var i=this.editor.getSelectRange(),r=i.end+2;this.editor.setSelectRange(r,r)}}},{name:"table",title:"表格",key:"shift+alt+t",handler:function(){var e=["column1 | column2 | column3 ","------- | ------- | ------- ","column1 | column2 | column3 ","column1 | column2 | column3 ","column1 | column2 | column3 "];this.editor.wrapSelectText(e.join(this.EOL)+this.EOL)}},{name:"line",title:"分隔线",icon:"minus",key:"shift+alt+h",handler:function(){this.editor.wrapSelectText("----"+this.EOL)}},{name:"image",title:"图片",key:"shift+alt+p",handler:function(){this.editor.wrapSelectText("![alt](",")")}},{name:"help",title:"帮助",icon:"question",key:"shift+alt+/",handler:function(){window.open("http://mditor.com","_blank")}},{name:"toggleFullScreen",title:"全屏",icon:"arrows-alt",key:"shift+alt+f",control:!0,state:"fullscreen",owner:function(e){return e.$element},handler:function(){this.fullscreen=!this.fullscreen}},{name:"togglePreview",title:"预览",icon:"desktop",key:"shift+alt+v",control:!0,state:"preview",owner:function(e){return e.$element},handler:function(){this.preview=!this.preview,this.preview?(this._split=this.split,this.split=!1):this.split=this._split}},{name:"toggleSplit",title:"分屏",icon:"columns",key:"shift+alt+s",control:!0,state:"split",owner:function(e){return e.$element},handler:function(){this.split=!this.split,this.split&&(this.preview=!1)}}]},function(e,t){},,function(e,t){e.exports='<ul class="toolbar">\n <i m:each="item of items" data-cmd="{{item.name}}" m:on:click="exec(item.name,$event)" class="item fa fa-{{item.icon || item.name}} {{isActive(item)?\'active\':\'\'}} {{item.control?\'control\':\'\'}}" title="{{item.title || item.name}} {{item.key}}"></i>\n</ul>'},function(e,t,n){"use strict";var i=n(1),r=i.EventEmitter,s=n(3),o=n(90),a=n(91);n(92);var l=window.navigator.userAgent.toLowerCase(),c=!!l.match(/msie|trident\/7|edge/);e.exports=new i.Component({template:n(93),props:{mditor:null,value:null,markExp:null},onReady:function(){var e=this;this.stack=new o,setTimeout(function(){e.textareaEmitter=new r(e.textarea),e.stack.init({value:e.getValue()})},300),this._bindCommands()},_bindCommands:function(){var e=this;a.forEach(function(t){e.mditor.removeCommand(t.name),e.mditor.addCommand(t)})},onCompositionStart:function(){this._compositionLock=!0},onCompositionEnd:function(){var e=this;this._compositionLock=!1,setTimeout(function(){return e.onInput()},300)},onInput:function(){var e=this;this.$emit("input"),this._changedTimer&&(clearTimeout(this._changedTimer),this._changedTimer=null),this._compositionLock||(this._changedTimer=setTimeout(function(){e._changedTimer&&(e.stack.push({value:e.getValue(),range:e.getSelectRange()}),e.$emit("changed"))},300))},undo:function(){var e=this,t=this.stack.last(),n=this.stack.undo();if(!s.isNull(n)&&!s.isNull(n.value)){var i=t.value.length-n.value.length;this.value=n.value,t.range&&setTimeout(function(){var n=t.range.start-i,r=t.range.end-i;e.setSelectRange(n,r)})}},redo:function(){var e=this,t=this.stack.redo();s.isNull(t)||s.isNull(t.value)||(this.value=t.value,t.range&&setTimeout(function(){e.setSelectRange(t.range.start,t.range.end)}))},onPaste:function(e){this.$emit("paste",e)},onDragover:function(e){e.preventDefault(),this.$emit("dragover",e)},onDrop:function(e){e.preventDefault(),this.$emit("drop",e)},focus:function(){this.textarea.focus()},blur:function(){this.textarea.blur()},onScroll:function(e){this.syncScroll(),this.$emit("scroll",e)},syncScroll:function(e){var t=this;this.marks.scrollTop=this.textarea.scrollTop,this.marks.scrollLeft=this.textarea.scrollLeft,e||setTimeout(function(){t.syncScroll(!0)},0)},applyMarks:function(e){if(e&&this.markExp)return e=e.replace(/\n$/g,"\n\n").replace(this.markExp,"<mark>$&</mark>"),c&&(e=e.replace(/ /g," <wbr>")),e},activeMark:function e(t){var n=[].slice.call(this.marks.querySelectorAll("mark"));if(!(n.length<1)){this.activeMarkIndex=s.isNull(this.activeMarkIndex)?-1:this.activeMarkIndex,s.isNull(t)?this.activeMarkIndex++:this.activeMarkIndex=t,this.activeMarkIndex>=n.length&&(this.activeMarkIndex=0),n.forEach(function(e){e.classList.remove("active")});var e=n[this.activeMarkIndex];e.classList.add("active"),this.scrollToMark(e)}},scrollToMark:function(e){this.textarea.scrollTop=e.offsetTop-20},getValue:function(){return this.textarea.value},setValue:function(e){this.textarea.value=e},getActiveElement:function(){return this.textarea.focus(),document.activeElement},getSelectRange:function(){var e=this.getActiveElement();return{start:e.selectionStart,end:e.selectionEnd}},setSelectRange:function(e,t){var n=this.getActiveElement();n.setSelectionRange(e,t)},getSelectText:function(){var e=this.getActiveElement(),t=this.getSelectRange();return e.value.substring(t.start,t.end)},setSelectText:function(e){var t=this,n=this.getActiveElement(),i=this.getSelectRange();n.setRangeText(e),i.end==i.start&&this.setSelectRange(i.start,i.end+e.length),this.value=this.getValue(),this.onInput(),setTimeout(function(){t.blur(),t.focus()},0)},wrapSelectText:function(e,t){e=null!==e&&void 0!==e?e:"",t=null!==t&&void 0!==t?t:"";var n=this.getSelectRange(),i=this.getSelectText();this.setSelectText(e+i+t);var r=n.start+e.length,s=n.end+e.length;this.setSelectRange(r,s)},insertBeforeText:function(e){this.wrapSelectText(e)},insertAfterText:function(e){this.wrapSelectText("",e)},getBeforeText:function(e){var t=this.getSelectRange(),n=t.start,i=n-e,r=this.getValue();return r.substring(i,n)},getBeforeFirstCharIndex:function(e){var t=this.getSelectRange(),n=t.start,i=0,r=this.getValue();return r.substring(i,n).lastIndexOf(e)},getBeforeWord:function(){var e=this,t=[" ","\t",this.mditor.EOL],n=0;t.forEach(function(t){var i=e.getBeforeFirstCharIndex(t);i+t.length>n&&(n=i+t.length)});var i=this.getSelectRange(),r=this.getValue();return r.substring(n,i.end)},getBeforeTextInLine:function(){var e=this.getBeforeFirstCharIndex(this.mditor.EOL)+this.mditor.EOL.length,t=this.getSelectRange(),n=this.getValue();return n.substring(e,t.end)},selectBeforeText:function(e){var t=this.getSelectRange();this.setSelectRange(t.start-e,t.end)},selectAfterText:function(e){var t=this.getSelectRange();this.setSelectRange(t.start,t.end+e)},selectBeforeTextInLine:function(){var e=this.getBeforeFirstCharIndex(this.mditor.EOL)+this.mditor.EOL.length,t=this.getSelectRange();this.setSelectRange(e,t.end)},addIndent:function(){var e=this,t=this.getSelectText();if(t.length<1)return void this.insertBeforeText(this.mditor.INDENT);var n=t.split(this.mditor.EOL),i=[],r=n.length-1;n.forEach(function(t,n){t=""!==t.trim()?e.mditor.INDENT+t:t,(n<r||""!==t.trim())&&i.push(t)}),this.setSelectText(i.join(this.mditor.EOL))},removeIndent:function(){var e=this,t=new RegExp("^"+this.mditor.INDENT),n=this.getSelectText();if(n.length<1)return this.selectBeforeTextInLine(),void(this.getSelectText().length>0&&(event.clearSelected=!0,this.removeIndent()));var i=n.split(this.mditor.EOL),r=[];if(i.forEach(function(n){t.test(n)&&(n=n.replace(e.mditor.INDENT,"")),r.push(n)}),this.setSelectText(r.join(this.mditor.EOL)),event.clearSelected){var s=this.getSelectRange();this.setSelectRange(s.end,s.end)}}})},function(e,t,n){"use strict";var i=n(4).Class,r=n(3),s=new i({constructor:function(e){this.init(e)},init:function(e){this.undoList=[e||{value:null}],this.redoList=[]},push:function(e){this.last()!==e&&this.undoList.push(e)},last:function(){return this.undoList[this.undoList.length-1]},undo:function(){if(this.undoList.length>1){var e=this.undoList.pop();if(r.isNull(e)||r.isNull(e.value))return;this.redoList.push(e)}return this.last()},redo:function(){var e=this.redoList.pop();if(!r.isNull(e)&&!r.isNull(e.value))return this.undoList.push(e),e}});e.exports=s},function(e,t){"use strict";e.exports=[{name:"undo",key:"{cmd}+z",handler:function(){this.editor.undo()}},{name:"redo",key:"{cmd}+shift+z",handler:function(){this.editor.redo()}},{name:"h2",key:"shift+alt+2",handler:function(){this.editor.wrapSelectText("## ")}},{name:"h3",key:"shift+alt+3",handler:function(){this.editor.wrapSelectText("### ")}},{name:"h4",key:"shift+alt+4",handler:function(){this.editor.wrapSelectText("#### ")}},{name:"h5",key:"shift+alt+5",handler:function(){this.editor.wrapSelectText("##### ")}}]},function(e,t){},function(e,t){e.exports='<div class="editor">\n <div class="backdrop" m:id="marks">\n <div class="inner" m:html="applyMarks(value)"></div>\n </div>\n <textarea class="textarea" m:id="textarea" m:model="value" m:on:paste="onPaste" m:on:dragover="onDragover" m:on:drop="onDrop"\n m:on:scroll="onScroll()" m:on:input="onInput" m:on:compositionStart="onCompositionStart" m:on:compositionEnd="onCompositionEnd"></textarea>\n</div>'},function(e,t,n){"use strict";var i=n(1);n(95);var r=new i.Component({template:n(96),data:function(){return{html:"",alert:"预览区域"}},props:{mditor:null,value:{get:function(){return this._value},set:function(e){var t=this;this._value=e;var n={value:this._value};this.$emit("beforeRender",n),this.mditor.parser.parse(n.value,function(e,n){var i={value:n||e};t.$emit("afterRender",i),t.html=i.value})}}},onClick:function(e){e.preventDefault();var t=e.target;if("A"==t.tagName){var n=t.getAttribute("href");n&&window.open(n,"_blank")}}});e.exports=r},function(e,t){},function(e,t){e.exports='<div class="viewer" m:on:click="onClick">\n <div m:show="html" class="markdown-body" m:html="html"></div>\n <div m:show="!html" class="alert" m:html="alert"></div>\n</div>'},function(e,t,n){"use strict";var i=n(1),r=n(3);n(98);var s=/^\/[\s\S]+\/(i|g|m)*$/,o=new i.Component({template:n(99),props:{mditor:null,active:!1,findWord:"",replaceWord:""},onReady:function(){this.mditor.removeCommand("find"),this.mditor.addCommand({name:"find",key:"{cmd}+f",owner:this.mditor.$element,handler:this.show.bind(this,null)}),this.mditor.removeCommand("cancel-find"),this.mditor.addCommand({name:"cancel-find",key:"esc",owner:this.mditor.$element,handler:this.hide.bind(this)})},hide:function(){this.findWord="",this.replaceWord="",this.mditor.editor.markExp=null,this.active=!1},show:function(e){var t=this;this.active=!0,this.findWord=e||this.mditor.editor.getSelectText(),this.active&&setTimeout(function(){t.findBox.focus()},200),this.mditor.editor.syncScroll()},watch:{findWord:function(){var e=this;this.mditor&&this.mditor.editor&&(this.findWord?this.mditor.editor.markExp=this.parseRegexp(this.findWord):this.mditor.editor.markExp=null,setTimeout(function(){e.mditor.editor.activeMark(0)},100))}},parseRegexp:function(e,t){if(t||!s.test(e))return new RegExp(r.escapeRegExp(e),"gm");try{return new Function("return "+e)()}catch(t){return this.parseRegexp(e,!0)}},find:function(){this.mditor.editor.activeMark()},replace:function(){this.mditor.value=this.mditor.value.replace(this.mditor.editor.markExp,this.replaceWord||"")},onFindEnter:function(e){13==e.keyCode&&(e.preventDefault(),this.find())},onReplaceEnter:function(e){13==e.keyCode&&(e.preventDefault(),this.replace())},onCompositionEnd:function(e){e.target.blur(),e.target.focus()}});e.exports=o},function(e,t){},function(e,t){e.exports='<div class="finder {{active?\'active\':\'\'}}">\n <div>\n <input m:id="findBox" m:model="findWord" m:on:keydown="onFindEnter" m:on:compositionend="onCompositionEnd" type="text" placeholder="Find">\n <i class="fa fa-search" aria-hidden="true" tabindex="-1" m:on:click="find()"></i>\n </div>\n <div>\n <input m:id="replaceBox" m:model="replaceWord" m:on:keydown="onReplaceEnter" m:on:compositionend="onCompositionEnd" type="text"\n placeholder="Replace">\n <i class="fa fa-exchange" aria-hidden="true" tabindex="-1" m:on:click="replace()"></i>\n </div>\n</div>'},function(e,t,n){"use strict";var i=n(101),r=n(3);i.filter=function(e){return!!e.target};var s=e.exports=function(e){r.defineFreezeProp(this,"mditor",e)};s.prototype._inRegion=function(e,t){return!!e&&(t=t||this.mditor.editor.$element,r.isFunction(t)&&(t=t(this.mditor)),e===t||this._inRegion(e.parentNode,t))},s.prototype.bind=function(e,t,n,r){var s=this,o=this.mditor;e&&t&&(e=e.replace("{cmd}",o.CMD),i(e,function(e){s._inRegion(e.target,r)&&(n||e.preventDefault(),t instanceof Function?t.call(o,e):o.execCommand(t,e),setTimeout(function(){o.focus()},0))}))},s.prototype.unbind=function(e){i.unbind(e)}},function(e,t,n){!function(t){function n(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1}function i(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function r(e){for(y in x)x[y]=e[P[y]]}function s(e){var t,i,s,o,a,c;if(t=e.keyCode,n(N,t)==-1&&N.push(t),93!=t&&224!=t||(t=91),t in x){x[t]=!0;for(s in E)E[s]==t&&(l[s]=!0)}else if(r(e),l.filter.call(this,e)&&t in w)for(c=f(),o=0;o<w[t].length;o++)if(i=w[t][o],i.scope==c||"all"==i.scope){a=i.mods.length>0;for(s in x)(!x[s]&&n(i.mods,+s)>-1||x[s]&&n(i.mods,+s)==-1)&&(a=!1);(0!=i.mods.length||x[16]||x[18]||x[17]||x[91])&&!a||i.method(e,i)===!1&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function o(e){var t,i=e.keyCode,r=n(N,i);if(r>=0&&N.splice(r,1),93!=i&&224!=i||(i=91),i in x){x[i]=!1;for(t in E)E[t]==i&&(l[t]=!1)}}function a(){for(y in x)x[y]=!1;for(y in E)l[y]=!1}function l(e,t,n){var i,r;i=g(e),void 0===n&&(n=t,t="all");for(var s=0;s<i.length;s++)r=[],e=i[s].split("+"),e.length>1&&(r=b(e),e=[e[e.length-1]]),e=e[0],e=T(e),e in w||(w[e]=[]),w[e].push({shortcut:i[s],scope:t,method:n,key:i[s],mods:r})}function c(e,t){var n,r,s,o,a,l=[];for(n=g(e),o=0;o<n.length;o++){if(r=n[o].split("+"),r.length>1&&(l=b(r),e=r[r.length-1]),e=T(e),void 0===t&&(t=f()),!w[e])return;for(s in w[e])a=w[e][s],a.scope===t&&i(a.mods,l)&&(w[e][s]={})}}function u(e){return"string"==typeof e&&(e=T(e)),n(N,e)!=-1}function p(){return N.slice(0)}function d(e){var t=(e.target||e.srcElement).tagName;return!("INPUT"==t||"SELECT"==t||"TEXTAREA"==t)}function h(e){k=e||"all"}function f(){return k||"all"}function m(e){var t,n,i;
  7. for(t in w)for(n=w[t],i=0;i<n.length;)n[i].scope===e?n.splice(i,1):i++}function g(e){var t;return e=e.replace(/\s/g,""),t=e.split(","),""==t[t.length-1]&&(t[t.length-2]+=","),t}function b(e){for(var t=e.slice(0,e.length-1),n=0;n<t.length;n++)t[n]=E[t[n]];return t}function v(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,function(){n(window.event)})}function _(){var e=t.key;return t.key=A,e}var y,w={},x={16:!1,18:!1,17:!1,91:!1},k="all",E={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,command:91},S={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,home:36,end:35,pageup:33,pagedown:34,",":188,".":190,"/":191,"`":192,"-":189,"=":187,";":186,"'":222,"[":219,"]":221,"\\":220},T=function(e){return S[e]||e.toUpperCase().charCodeAt(0)},N=[];for(y=1;y<20;y++)S["f"+y]=111+y;var P={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey"};for(y in E)l[y]=!1;v(document,"keydown",function(e){s(e)}),v(document,"keyup",o),v(window,"focus",a);var A=t.key;t.key=l,t.key.setScope=h,t.key.getScope=f,t.key.deleteScope=m,t.key.filter=d,t.key.isPressed=u,t.key.getPressedKeyCodes=p,t.key.noConflict=_,t.key.unbind=c,e.exports=key}(window)},function(e,t,n){"use strict";var i=n(103),r=n(104);n(105),n(106),n(107),n(108),n(109),n(110),n(111),n(112),n(113),n(114),n(115),n(116),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124),n(125),n(126),n(127),n(128),n(129),n(130),n(131),n(132),n(133),n(134),n(135),n(136),n(137),n(138),n(139),n(140),n(141),n(142),n(143),n(144),n(145),n(146),n(147),n(148),n(149),n(150),r.languages.js=r.languages.javascript,r.languages["c#"]=r.languages.csharp,r.languages["f#"]=r.languages.fsharp,r.languages.sh=r.languages.bash,r.languages.md=r.languages.markdown,r.languages.py=r.languages.python,r.languages.yml=r.languages.yaml,r.languages.rb=r.languages.ruby;var s=function(e){e=e||{},this.options=e};s.highlights={},s.marked=i,s.Prism=r,i.Lexer.rules.gfm.heading=i.Lexer.rules.heading,i.Lexer.rules.tables.heading=i.Lexer.rules.heading;var o=new i.Renderer;s.renderer=o,i.setOptions({renderer:o,gfm:!0,tables:!0,breaks:!0,pedantic:!1,sanitize:!1,smartLists:!0,smartypants:!1,mangle:!1,highlight:function(e,t,n){if(!s.highlights[t]){if(r.languages[t]){var i=r.highlight(e,r.languages[t]);return n?n(null,i):i}return n?n(null,e):e}var o=s.highlights[t].parse(e,t,n);if(!n)return o}}),s.prototype.parse=function(e,t){return i(e,t)},e.exports=s},function(e,t,n){(function(t){(function(){function t(e){this.tokens=[],this.tokens.links={},this.options=e||u.defaults,this.rules=p.normal,this.options.gfm&&(this.options.tables?this.rules=p.tables:this.rules=p.gfm)}function n(e,t){if(this.options=t||u.defaults,this.links=e,this.rules=d.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=d.breaks:this.rules=d.gfm:this.options.pedantic&&(this.rules=d.pedantic)}function i(e){this.options=e||{}}function r(e){this.tokens=[],this.token=null,this.options=e||u.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function s(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function o(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function a(e,t){return e=e.source,t=t||"",function n(i,r){return i?(r=r.source||r,r=r.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(i,r),n):new RegExp(e,t)}}function l(){}function c(e){for(var t,n,i=1;i<arguments.length;i++){t=arguments[i];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}function u(e,n,i){if(i||"function"==typeof n){i||(i=n,n=null),n=c({},u.defaults,n||{});var o,a,l=n.highlight,p=0;try{o=t.lex(e,n)}catch(e){return i(e)}a=o.length;var d=function(e){if(e)return n.highlight=l,i(e);var t;try{t=r.parse(o,n)}catch(t){e=t}return n.highlight=l,e?i(e):i(null,t)};if(!l||l.length<3)return d();if(delete n.highlight,!a)return d();for(;p<o.length;p++)!function(e){return"code"!==e.type?--a||d():l(e.text,e.lang,function(t,n){return t?d(t):null==n||n===e.text?--a||d():(e.text=n,e.escaped=!0,void(--a||d()))})}(o[p])}else try{return n&&(n=c({},u.defaults,n)),r.parse(t.lex(e,n),n)}catch(e){if(e.message+="\nPlease report this to https://github.com/chjj/marked.",(n||u.defaults).silent)return"<p>An error occured:</p><pre>"+s(e.message+"",!0)+"</pre>";throw e}}var p={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:l,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:l,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:l,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};p.bullet=/(?:[*+-]|\d+\.)/,p.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,p.item=a(p.item,"gm")(/bull/g,p.bullet)(),p.list=a(p.list)(/bull/g,p.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+p.def.source+")")(),p.blockquote=a(p.blockquote)("def",p.def)(),p._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",p.html=a(p.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,p._tag)(),p.paragraph=a(p.paragraph)("hr",p.hr)("heading",p.heading)("lheading",p.lheading)("blockquote",p.blockquote)("tag","<"+p._tag)("def",p.def)(),p.normal=c({},p),p.gfm=c({},p.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),p.gfm.paragraph=a(p.paragraph)("(?!","(?!"+p.gfm.fences.source.replace("\\1","\\2")+"|"+p.list.source.replace("\\1","\\3")+"|")(),p.tables=c({},p.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),t.rules=p,t.lex=function(e,n){var i=new t(n);return i.lex(e)},t.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},t.prototype.token=function(e,t,n){for(var i,r,s,o,a,l,c,u,d,e=e.replace(/^ +$/gm,"");e;)if((s=this.rules.newline.exec(e))&&(e=e.substring(s[0].length),s[0].length>1&&this.tokens.push({type:"space"})),s=this.rules.code.exec(e))e=e.substring(s[0].length),s=s[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?s:s.replace(/\n+$/,"")});else if(s=this.rules.fences.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"code",lang:s[2],text:s[3]||""});else if(s=this.rules.heading.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"heading",depth:s[1].length,text:s[2]});else if(t&&(s=this.rules.nptable.exec(e))){for(e=e.substring(s[0].length),l={type:"table",header:s[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:s[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:s[3].replace(/\n$/,"").split("\n")},u=0;u<l.align.length;u++)/^ *-+: *$/.test(l.align[u])?l.align[u]="right":/^ *:-+: *$/.test(l.align[u])?l.align[u]="center":/^ *:-+ *$/.test(l.align[u])?l.align[u]="left":l.align[u]=null;for(u=0;u<l.cells.length;u++)l.cells[u]=l.cells[u].split(/ *\| */);this.tokens.push(l)}else if(s=this.rules.lheading.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"heading",depth:"="===s[2]?1:2,text:s[1]});else if(s=this.rules.hr.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"hr"});else if(s=this.rules.blockquote.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"blockquote_start"}),s=s[0].replace(/^ *> ?/gm,""),this.token(s,t,!0),this.tokens.push({type:"blockquote_end"});else if(s=this.rules.list.exec(e)){for(e=e.substring(s[0].length),o=s[2],this.tokens.push({type:"list_start",ordered:o.length>1}),s=s[0].match(this.rules.item),i=!1,d=s.length,u=0;u<d;u++)l=s[u],c=l.length,l=l.replace(/^ *([*+-]|\d+\.) +/,""),~l.indexOf("\n ")&&(c-=l.length,l=this.options.pedantic?l.replace(/^ {1,4}/gm,""):l.replace(new RegExp("^ {1,"+c+"}","gm"),"")),this.options.smartLists&&u!==d-1&&(a=p.bullet.exec(s[u+1])[0],o===a||o.length>1&&a.length>1||(e=s.slice(u+1).join("\n")+e,u=d-1)),r=i||/\n\n(?!\s*$)/.test(l),u!==d-1&&(i="\n"===l.charAt(l.length-1),r||(r=i)),this.tokens.push({type:r?"loose_item_start":"list_item_start"}),this.token(l,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(s=this.rules.html.exec(e))e=e.substring(s[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===s[1]||"script"===s[1]||"style"===s[1]),text:s[0]});else if(!n&&t&&(s=this.rules.def.exec(e)))e=e.substring(s[0].length),this.tokens.links[s[1].toLowerCase()]={href:s[2],title:s[3]};else if(t&&(s=this.rules.table.exec(e))){for(e=e.substring(s[0].length),l={type:"table",header:s[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:s[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:s[3].replace(/(?: *\| *)?\n$/,"").split("\n")},u=0;u<l.align.length;u++)/^ *-+: *$/.test(l.align[u])?l.align[u]="right":/^ *:-+: *$/.test(l.align[u])?l.align[u]="center":/^ *:-+ *$/.test(l.align[u])?l.align[u]="left":l.align[u]=null;for(u=0;u<l.cells.length;u++)l.cells[u]=l.cells[u].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(l)}else if(t&&(s=this.rules.paragraph.exec(e)))e=e.substring(s[0].length),this.tokens.push({type:"paragraph",text:"\n"===s[1].charAt(s[1].length-1)?s[1].slice(0,-1):s[1]});else if(s=this.rules.text.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"text",text:s[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var d={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:l,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:l,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};d._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/,d._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,d.link=a(d.link)("inside",d._inside)("href",d._href)(),d.reflink=a(d.reflink)("inside",d._inside)(),d.normal=c({},d),d.pedantic=c({},d.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),d.gfm=c({},d.normal,{escape:a(d.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:a(d.text)("]|","~]|")("|","|https?://|")()}),d.breaks=c({},d.gfm,{br:a(d.br)("{2,}","*")(),text:a(d.gfm.text)("{2,}","*")()}),n.rules=d,n.output=function(e,t,i){var r=new n(t,i);return r.output(e)},n.prototype.output=function(e){for(var t,n,i,r,o="";e;)if(r=this.rules.escape.exec(e))e=e.substring(r[0].length),o+=r[1];else if(r=this.rules.autolink.exec(e))e=e.substring(r[0].length),"@"===r[2]?(n=":"===r[1].charAt(6)?this.mangle(r[1].substring(7)):this.mangle(r[1]),i=this.mangle("mailto:")+n):(n=s(r[1]),i=n),o+=this.renderer.link(i,null,n);else if(this.inLink||!(r=this.rules.url.exec(e))){if(r=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(r[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(r[0])&&(this.inLink=!1),e=e.substring(r[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):s(r[0]):r[0];else if(r=this.rules.link.exec(e))e=e.substring(r[0].length),this.inLink=!0,o+=this.outputLink(r,{href:r[2],title:r[3]}),this.inLink=!1;else if((r=this.rules.reflink.exec(e))||(r=this.rules.nolink.exec(e))){if(e=e.substring(r[0].length),t=(r[2]||r[1]).replace(/\s+/g," "),t=this.links[t.toLowerCase()],!t||!t.href){o+=r[0].charAt(0),e=r[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(r,t),this.inLink=!1}else if(r=this.rules.strong.exec(e))e=e.substring(r[0].length),o+=this.renderer.strong(this.output(r[2]||r[1]));else if(r=this.rules.em.exec(e))e=e.substring(r[0].length),o+=this.renderer.em(this.output(r[2]||r[1]));else if(r=this.rules.code.exec(e))e=e.substring(r[0].length),o+=this.renderer.codespan(s(r[2],!0));else if(r=this.rules.br.exec(e))e=e.substring(r[0].length),o+=this.renderer.br();else if(r=this.rules.del.exec(e))e=e.substring(r[0].length),o+=this.renderer.del(this.output(r[1]));else if(r=this.rules.text.exec(e))e=e.substring(r[0].length),o+=this.renderer.text(s(this.smartypants(r[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else e=e.substring(r[0].length),n=s(r[1]),i=n,o+=this.renderer.link(i,null,n);return o},n.prototype.outputLink=function(e,t){var n=s(t.href),i=t.title?s(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,i,this.output(e[1])):this.renderer.image(n,i,s(e[1]))},n.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},n.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",i=e.length,r=0;r<i;r++)t=e.charCodeAt(r),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var i=this.options.highlight(e,t);null!=i&&i!==e&&(n=!0,e=i)}return t?'<pre><code class="'+this.options.langPrefix+s(t,!0)+'">'+(n?e:s(e,!0))+"\n</code></pre>\n":"<pre><code>"+(n?e:s(e,!0))+"\n</code></pre>"},i.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n"},i.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},i.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+"</"+n+">\n"},i.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},i.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},i.prototype.table=function(e,t){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+t+"</tbody>\n</table>\n"},i.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td",i=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return i+e+"</"+n+">\n"},i.prototype.strong=function(e){return"<strong>"+e+"</strong>"},i.prototype.em=function(e){return"<em>"+e+"</em>"},i.prototype.codespan=function(e){return"<code>"+e+"</code>"},i.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},i.prototype.del=function(e){return"<del>"+e+"</del>"},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var i=decodeURIComponent(o(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:"))return""}var r='<a href="'+e+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"},i.prototype.image=function(e,t,n){var i='<img src="'+e+'" alt="'+n+'"';return t&&(i+=' title="'+t+'"'),i+=this.options.xhtml?"/>":">"},i.prototype.text=function(e){return e},r.parse=function(e,t,n){var i=new r(t,n);return i.parse(e)},r.prototype.parse=function(e){this.inline=new n(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},r.prototype.next=function(){return this.token=this.tokens.pop()},r.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},r.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},r.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,i,r,s="",o="";for(n="",e=0;e<this.token.header.length;e++)i={header:!0,align:this.token.align[e]},n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(s+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",r=0;r<t.length;r++)n+=this.renderer.tablecell(this.inline.output(t[r]),{header:!1,align:this.token.align[r]});o+=this.renderer.tablerow(n)}return this.renderer.table(s,o);case"blockquote_start":for(var o="";"blockquote_end"!==this.next().type;)o+=this.tok();return this.renderer.blockquote(o);case"list_start":for(var o="",a=this.token.ordered;"list_end"!==this.next().type;)o+=this.tok();return this.renderer.list(o,a);case"list_item_start":for(var o="";"list_item_end"!==this.next().type;)o+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(o);case"loose_item_start":for(var o="";"list_item_end"!==this.next().type;)o+=this.tok();return this.renderer.listitem(o);case"html":var l=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(l);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}},l.exec=l,u.options=u.setOptions=function(e){return c(u.defaults,e),u},u.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new i,xhtml:!1},u.Parser=r,u.parser=r.parse,u.Renderer=i,u.Lexer=t,u.lexer=t.lex,u.InlineLexer=n,u.inlineLexer=n.output,u.parse=u,e.exports=u}).call(function(){return this||("undefined"!=typeof window?window:t)}())}).call(t,function(){return this}())},function(e,t){(function(t){var n="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},i=function(){var e=/\blang(?:uage)?-(\w+)\b/i,t=0,i=n.Prism={manual:n.Prism&&n.Prism.manual,util:{encode:function(e){return e instanceof r?new r(e.type,i.util.encode(e.content),e.alias):"Array"===i.util.type(e)?e.map(i.util.encode):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function(e){var t=i.util.type(e);switch(t){case"Object":var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=i.util.clone(e[r]));return n;case"Array":return e.map(function(e){return i.util.clone(e)})}return e}},languages:{extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){r=r||i.languages;var s=r[e];if(2==arguments.length){n=arguments[1];for(var o in n)n.hasOwnProperty(o)&&(s[o]=n[o]);return s}var a={};for(var l in s)if(s.hasOwnProperty(l)){if(l==t)for(var o in n)n.hasOwnProperty(o)&&(a[o]=n[o]);a[l]=s[l]}return i.languages.DFS(i.languages,function(t,n){n===r[e]&&t!=e&&(this[t]=a)}),r[e]=a},DFS:function(e,t,n,r){r=r||{};for(var s in e)e.hasOwnProperty(s)&&(t.call(e,s,e[s],n||s),"Object"!==i.util.type(e[s])||r[i.util.objId(e[s])]?"Array"!==i.util.type(e[s])||r[i.util.objId(e[s])]||(r[i.util.objId(e[s])]=!0,i.languages.DFS(e[s],t,s,r)):(r[i.util.objId(e[s])]=!0,i.languages.DFS(e[s],t,null,r)))}},plugins:{},highlightAll:function(e,t){var n={callback:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",n);for(var r,s=n.elements||document.querySelectorAll(n.selector),o=0;r=s[o++];)i.highlightElement(r,e===!0,n.callback)},highlightElement:function(t,r,s){for(var o,a,l=t;l&&!e.test(l.className);)l=l.parentNode;l&&(o=(l.className.match(e)||[,""])[1].toLowerCase(),a=i.languages[o]),t.className=t.className.replace(e,"").replace(/\s+/g," ")+" language-"+o,l=t.parentNode,/pre/i.test(l.nodeName)&&(l.className=l.className.replace(e,"").replace(/\s+/g," ")+" language-"+o);var c=t.textContent,u={element:t,language:o,grammar:a,code:c};if(i.hooks.run("before-sanity-check",u),!u.code||!u.grammar)return u.code&&(i.hooks.run("before-highlight",u),u.element.textContent=u.code,i.hooks.run("after-highlight",u)),void i.hooks.run("complete",u);if(i.hooks.run("before-highlight",u),r&&n.Worker){var p=new Worker(i.filename);p.onmessage=function(e){u.highlightedCode=e.data,i.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,s&&s.call(u.element),i.hooks.run("after-highlight",u),i.hooks.run("complete",u)},p.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else u.highlightedCode=i.highlight(u.code,u.grammar,u.language),i.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,s&&s.call(t),i.hooks.run("after-highlight",u),i.hooks.run("complete",u)},highlight:function(e,t,n){var s=i.tokenize(e,t);return r.stringify(i.util.encode(s),n)},matchGrammar:function(e,t,n,r,s,o,a){var l=i.Token;for(var c in n)if(n.hasOwnProperty(c)&&n[c]){if(c==a)return;var u=n[c];u="Array"===i.util.type(u)?u:[u];for(var p=0;p<u.length;++p){var d=u[p],h=d.inside,f=!!d.lookbehind,m=!!d.greedy,g=0,b=d.alias;if(m&&!d.pattern.global){var v=d.pattern.toString().match(/[imuy]*$/)[0];d.pattern=RegExp(d.pattern.source,v+"g")}d=d.pattern||d;for(var _=r,y=s;_<t.length;y+=t[_].length,++_){var w=t[_];if(t.length>e.length)return;if(!(w instanceof l)){d.lastIndex=0;var x=d.exec(w),k=1;if(!x&&m&&_!=t.length-1){if(d.lastIndex=y,x=d.exec(e),!x)break;for(var E=x.index+(f?x[1].length:0),S=x.index+x[0].length,T=_,N=y,P=t.length;T<P&&(N<S||!t[T].type&&!t[T-1].greedy);++T)N+=t[T].length,E>=N&&(++_,y=N);if(t[_]instanceof l||t[T-1].greedy)continue;k=T-_,w=e.slice(y,N),x.index-=y}if(x){f&&(g=x[1].length);var E=x.index+g,x=x[0].slice(g),S=E+x.length,A=w.slice(0,E),C=w.slice(S),I=[_,k];A&&(++_,y+=A.length,I.push(A));var L=new l(c,h?i.tokenize(x,h):x,b,x,m);if(I.push(L),C&&I.push(C),Array.prototype.splice.apply(t,I),1!=k&&i.matchGrammar(e,t,n,_,y,!0,c),o)break}else if(o)break}}}}},tokenize:function(e,t,n){var r=[e],s=t.rest;if(s){for(var o in s)t[o]=s[o];delete t.rest}return i.matchGrammar(e,r,t,0,0,!1),r},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,s=0;r=n[s++];)r(t)}}},r=i.Token=function(e,t,n,i,r){this.type=e,this.content=t,this.alias=n,this.length=0|(i||"").length,this.greedy=!!r};if(r.stringify=function(e,t,n){if("string"==typeof e)return e;if("Array"===i.util.type(e))return e.map(function(n){return r.stringify(n,t,e)}).join("");var s={type:e.type,content:r.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n};if("comment"==s.type&&(s.attributes.spellcheck="true"),e.alias){var o="Array"===i.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(s.classes,o)}i.hooks.run("wrap",s);var a=Object.keys(s.attributes).map(function(e){return e+'="'+(s.attributes[e]||"").replace(/"/g,"&quot;")+'"'}).join(" ");return"<"+s.tag+' class="'+s.classes.join(" ")+'"'+(a?" "+a:"")+">"+s.content+"</"+s.tag+">"},!n.document)return n.addEventListener?(n.addEventListener("message",function(e){var t=JSON.parse(e.data),r=t.language,s=t.code,o=t.immediateClose;n.postMessage(i.highlight(s,i.languages[r],r)),o&&n.close()},!1),n.Prism):n.Prism;var s=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return s&&(i.filename=s.src,i.manual||s.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(i.highlightAll):window.setTimeout(i.highlightAll,16):document.addEventListener("DOMContentLoaded",i.highlightAll))),n.Prism}();"undefined"!=typeof e&&e.exports&&(e.exports=i),"undefined"!=typeof t&&(t.Prism=i),i.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:/<!DOCTYPE[\s\S]+?>/i,cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\s\S])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:('|")[\s\S]*?(\1)|[^\s>]+)/i,inside:{punctuation:/[=>"']/}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),i.languages.xml=i.languages.markup,i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:{pattern:/("|')(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},i.languages.css.atrule.inside.rest=i.util.clone(i.languages.css),i.languages.markup&&(i.languages.insertBefore("markup","tag",{style:{pattern:/(<style[\s\S]*?>)[\s\S]*?(?=<\/style>)/i,lookbehind:!0,inside:i.languages.css,alias:"language-css"}}),i.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:i.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:i.languages.css}},alias:"language-css"}},i.languages.markup.tag)),i.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:{pattern:/(["'])(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/i,lookbehind:!0,inside:{punctuation:/(\.|\\)/}},keyword:/\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(true|false)\b/,function:/[a-z0-9_]+(?=\()/i,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)\b/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},i.languages.javascript=i.languages.extend("clike",{keyword:/\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b-?(0[xX][\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|\d*\.?\d+([Ee][+-]?\d+)?|NaN|Infinity)\b/,function:/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\s*\()/i,operator:/-[-=]?|\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),i.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^\/])\/(?!\/)(\[[^\]\r\n]+]|\\.|[^\/\\\[\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\s*=\s*(?:function\b|(?:\([^()]*\)|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)\s*=>))/i,alias:"function"}}),i.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\\\|\\?[^\\])*?`/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}}}),i.languages.markup&&i.languages.insertBefore("markup","tag",{script:{pattern:/(<script[\s\S]*?>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:i.languages.javascript,alias:"language-javascript"}}),i.languages.js=i.languages.javascript,function(){"undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(){var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.slice.call(document.querySelectorAll("pre[data-src]")).forEach(function(t){for(var n,r=t.getAttribute("data-src"),s=t,o=/\blang(?:uage)?-(?!\*)(\w+)\b/i;s&&!o.test(s.className);)s=s.parentNode;if(s&&(n=(t.className.match(o)||[,""])[1]),!n){var a=(r.match(/\.(\w+)$/)||[,""])[1];n=e[a]||a}var l=document.createElement("code");l.className="language-"+n,t.textContent="",l.textContent="Loading…",t.appendChild(l);var c=new XMLHttpRequest;c.open("GET",r,!0),c.onreadystatechange=function(){4==c.readyState&&(c.status<400&&c.responseText?(l.textContent=c.responseText,i.highlightElement(l)):c.status>=400?l.textContent="✖ Error "+c.status+" while fetching file: "+c.statusText:l.textContent="✖ Error: File does not exist or is empty")},c.send(null)})},document.addEventListener("DOMContentLoaded",self.Prism.fileHighlight))}()}).call(t,function(){return this}())},function(e,t){Prism.languages.java=Prism.languages.extend("clike",{keyword:/\b(abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\b/,number:/\b0b[01]+\b|\b0x[\da-f]*\.?[\da-fp\-]+\b|\b\d*\.?\d+(?:e[+-]?\d+)?[df]?\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|!=?|<<?=?|>>?>?=?|==?|&[&=]?|\|[|=]?|\*=?|\/=?|%=?|\^=?|[?:~])/m,lookbehind:!0}}),Prism.languages.insertBefore("java","function",{annotation:{alias:"punctuation",pattern:/(^|[^.])@\w+/,lookbehind:!0}})},function(e,t){Prism.languages.csharp=Prism.languages.extend("clike",{keyword:/\b(abstract|as|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|volatile|while|add|alias|ascending|async|await|descending|dynamic|from|get|global|group|into|join|let|orderby|partial|remove|select|set|value|var|where|yield)\b/,string:[{pattern:/@("|')(\1\1|\\\1|\\?(?!\1)[\s\S])*\1/,greedy:!0},{pattern:/("|')(\\?.)*?\1/,greedy:!0}],number:/\b-?(0x[\da-f]+|\d*\.?\d+f?)\b/i}),Prism.languages.insertBefore("csharp","keyword",{"generic-method":{pattern:/[a-z0-9_]+\s*<[^>\r\n]+?>\s*(?=\()/i,alias:"function",inside:{keyword:Prism.languages.csharp.keyword,punctuation:/[<>(),.:]/}},preprocessor:{pattern:/(^\s*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(\s*#)\b(define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}})},function(e,t){Prism.languages.php=Prism.languages.extend("clike",{keyword:/\b(and|or|xor|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|extends|for|foreach|function|include|include_once|global|if|new|return|static|switch|use|require|require_once|var|while|abstract|interface|public|implements|private|protected|parent|throw|null|echo|print|trait|namespace|final|yield|goto|instanceof|finally|try|catch)\b/i,
  8. constant:/\b[A-Z0-9_]{2,}\b/,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0}}),Prism.languages.insertBefore("php","class-name",{"shell-comment":{pattern:/(^|[^\\])#.*/,lookbehind:!0,alias:"comment"}}),Prism.languages.insertBefore("php","keyword",{delimiter:{pattern:/\?>|<\?(?:php|=)?/i,alias:"important"},variable:/\$\w+\b/i,package:{pattern:/(\\|namespace\s+|use\s+)[\w\\]+/,lookbehind:!0,inside:{punctuation:/\\/}}}),Prism.languages.insertBefore("php","operator",{property:{pattern:/(->)[\w]+/,lookbehind:!0}}),Prism.languages.markup&&(Prism.hooks.add("before-highlight",function(e){"php"===e.language&&/(?:<\?php|<\?)/gi.test(e.code)&&(e.tokenStack=[],e.backupCode=e.code,e.code=e.code.replace(/(?:<\?php|<\?)[\s\S]*?(?:\?>|$)/gi,function(t){for(var n=e.tokenStack.length;e.backupCode.indexOf("___PHP"+n+"___")!==-1;)++n;return e.tokenStack[n]=t,"___PHP"+n+"___"}),e.grammar=Prism.languages.markup)}),Prism.hooks.add("before-insert",function(e){"php"===e.language&&e.backupCode&&(e.code=e.backupCode,delete e.backupCode)}),Prism.hooks.add("after-highlight",function(e){if("php"===e.language&&e.tokenStack){e.grammar=Prism.languages.php;for(var t=0,n=Object.keys(e.tokenStack);t<n.length;++t){var i=n[t],r=e.tokenStack[i];e.highlightedCode=e.highlightedCode.replace("___PHP"+i+"___",'<span class="token php language-php">'+Prism.highlight(r,e.grammar,"php").replace(/\$/g,"$$$$")+"</span>")}e.element.innerHTML=e.highlightedCode}}))},function(e,t){Prism.languages.python={"triple-quoted-string":{pattern:/"""[\s\S]+?"""|'''[\s\S]+?'''/,alias:"string"},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/("|')(?:\\\\|\\?[^\\\r\n])*?\1/,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_][a-zA-Z0-9_]*(?=\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)[a-z0-9_]+/i,lookbehind:!0},keyword:/\b(?:as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|pass|print|raise|return|try|while|with|yield)\b/,boolean:/\b(?:True|False)\b/,number:/\b-?(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:or|and|not)\b/,punctuation:/[{}[\];(),.:]/}},function(e,t){Prism.languages.json={property:/"(?:\\.|[^\\"])*"(?=\s*:)/gi,string:/"(?!:)(?:\\.|[^\\"])*"(?!:)/g,number:/\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee][+-]?\d+)?)\b/g,punctuation:/[{}[\]);,]/g,operator:/:/g,boolean:/\b(true|false)\b/gi,null:/\bnull\b/gi},Prism.languages.jsonp=Prism.languages.json},function(e,t){Prism.languages.yaml={scalar:{pattern:/([\-:]\s*(![^\s]+)?[ \t]*[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)[^\r\n]+(?:\3[^\r\n]+)*)/,lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:/(\s*(?:^|[:\-,[{\r\n?])[ \t]*(![^\s]+)?[ \t]*)[^\r\n{[\]},#\s]+?(?=\s*:\s)/,lookbehind:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)(\d{4}-\d\d?-\d\d?([tT]|[ \t]+)\d\d?:\d{2}:\d{2}(\.\d*)?[ \t]*(Z|[-+]\d\d?(:\d{2})?)?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(:\d{2}(\.\d*)?)?)(?=[ \t]*($|,|]|}))/m,lookbehind:!0,alias:"number"},boolean:{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)(true|false)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},null:{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)(null|~)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},string:{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)("(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')(?=[ \t]*($|,|]|}))/m,lookbehind:!0,greedy:!0},number:{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)[+\-]?(0x[\da-f]+|0o[0-7]+|(\d+\.?\d*|\.?\d+)(e[\+\-]?\d+)?|\.inf|\.nan)[ \t]*(?=$|,|]|})/im,lookbehind:!0},tag:/![^\s]+/,important:/[&*][\w]+/,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./}},function(e,t){Prism.languages.perl={comment:[{pattern:/(^\s*)=\w+[\s\S]*?=cut.*/m,lookbehind:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0}],string:[{pattern:/\b(?:q|qq|qx|qw)\s*([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s+([a-zA-Z0-9])(?:[^\\]|\\[\s\S])*?\1/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\((?:[^()\\]|\\[\s\S])*\)/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\{(?:[^{}\\]|\\[\s\S])*\}/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\[(?:[^[\]\\]|\\[\s\S])*\]/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*<(?:[^<>\\]|\\[\s\S])*>/,greedy:!0},{pattern:/("|`)(?:[^\\]|\\[\s\S])*?\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:/\b(?:m|qr)\s*([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s+([a-zA-Z0-9])(?:[^\\]|\\.)*?\1[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngc]*/,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\2(?:[^\\]|\\[\s\S])*?\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s+([a-zA-Z0-9])(?:[^\\]|\\[\s\S])*?\2(?:[^\\]|\\[\s\S])*?\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\((?:[^()\\]|\\[\s\S])*\)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\{(?:[^{}\\]|\\[\s\S])*\}\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\[(?:[^[\]\\]|\\[\s\S])*\]\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*<(?:[^<>\\]|\\[\s\S])*>\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor|x)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?((::)*'?(?!\d)[\w$]+)+(::)*/i,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*>|\b_\b/,alias:"symbol"},vstring:{pattern:/v\d+(\.\d+)*|\d+(\.\d+){2,}/,alias:"string"},function:{pattern:/sub [a-z0-9_]+/i,inside:{keyword:/sub/}},keyword:/\b(any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b-?(0x[\dA-Fa-f](_?[\dA-Fa-f])*|0b[01](_?[01])*|(\d(_?\d)*)?\.?\d(_?\d)*([Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor)\b/,punctuation:/[{}[\];(),:]/}},function(e,t){Prism.languages.go=Prism.languages.extend("clike",{keyword:/\b(break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,builtin:/\b(bool|byte|complex(64|128)|error|float(32|64)|rune|string|u?int(8|16|32|64|)|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(ln)?|real|recover)\b/,boolean:/\b(_|iota|nil|true|false)\b/,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,number:/\b(-?(0x[a-f\d]+|(\d+\.?\d*|\.\d+)(e[-+]?\d+)?)i?)\b/i,string:{pattern:/("|'|`)(\\?.|\r|\n)*?\1/,greedy:!0}}),delete Prism.languages.go["class-name"]},function(e,t){!function(e){var t={variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b-?(?:0x[\dA-Fa-f]+|\d*\.?\d+(?:[Ee]-?\d+)?)\b/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\([^)]+\)|`[^`]+`/,inside:{variable:/^\$\(|^`|\)$|`$/}},/\$(?:[a-z0-9_#\?\*!@]+|\{[^}]+\})/i]};e.languages.bash={shebang:{pattern:/^#!\s*\/bin\/bash|^#!\s*\/bin\/sh/,alias:"important"},comment:{pattern:/(^|[^"{\\])#.*/,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<\s*)(?:"|')?(\w+?)(?:"|')?\s*\r?\n(?:[\s\S])*?\r?\n\2/g,lookbehind:!0,greedy:!0,inside:t},{pattern:/(["'])(?:\\\\|\\?[^\\])*?\1/g,greedy:!0,inside:t}],variable:t.variable,function:{pattern:/(^|\s|;|\||&)(?:alias|apropos|apt-get|aptitude|aspell|awk|basename|bash|bc|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chmod|chown|chroot|chkconfig|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|cut|date|dc|dd|ddrescue|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|getopts|git|grep|groupadd|groupdel|groupmod|groups|gzip|hash|head|help|hg|history|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|jobs|join|kill|killall|less|link|ln|locate|logname|logout|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|make|man|mkdir|mkfifo|mkisofs|mknod|more|most|mount|mtools|mtr|mv|mmv|nano|netstat|nice|nl|nohup|notify-send|npm|nslookup|open|op|passwd|paste|pathchk|ping|pkill|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|rename|renice|remsync|rev|rm|rmdir|rsync|screen|scp|sdiff|sed|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|sync|tail|tar|tee|test|time|timeout|times|touch|top|traceroute|trap|tr|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unrar|unshar|uptime|useradd|userdel|usermod|users|uuencode|uudecode|v|vdir|vi|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yes|zip)(?=$|\s|;|\||&)/,lookbehind:!0},keyword:{pattern:/(^|\s|;|\||&)(?:let|:|\.|if|then|else|elif|fi|for|break|continue|while|in|case|function|select|do|done|until|echo|exit|return|set|declare)(?=$|\s|;|\||&)/,lookbehind:!0},boolean:{pattern:/(^|\s|;|\||&)(?:true|false)(?=$|\s|;|\||&)/,lookbehind:!0},operator:/&&?|\|\|?|==?|!=?|<<<?|>>|<=?|>=?|=~/,punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];]/};var n=t.variable[1].inside;n.function=e.languages.bash.function,n.keyword=e.languages.bash.keyword,n.boolean=e.languages.bash.boolean,n.operator=e.languages.bash.operator,n.punctuation=e.languages.bash.punctuation}(Prism)},function(e,t){Prism.languages.fsharp=Prism.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*[\s\S]*?\*\)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(abstract|and|as|assert|base|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|global|if|in|inherit|inline|interface|internal|lazy|match|member|module|mutable|namespace|new|not|null|of|open|or|override|private|public|rec|select|static|struct|then|to|true|try|type|upcast|val|void|when|while|with|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|include|method|mixin|object|parallel|process|protected|pure|sealed|tailcall|trait|virtual|volatile)\b/,string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|("|')(?:\\\1|\\?(?!\1)[\s\S])*\1)B?/,greedy:!0},number:[/\b-?0x[\da-fA-F]+(un|lf|LF)?\b/,/\b-?0b[01]+(y|uy)?\b/,/\b-?(\d*\.?\d+|\d+\.)([fFmM]|[eE][+-]?\d+)?\b/,/\b-?\d+(y|uy|s|us|l|u|ul|L|UL|I)?\b/]}),Prism.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/^[^\r\n\S]*#.*/m,alias:"property",inside:{directive:{pattern:/(\s*#)\b(else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}})},function(e,t){Prism.languages.typescript=Prism.languages.extend("javascript",{keyword:/\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield|false|true|module|declare|constructor|string|Function|any|number|boolean|Array|enum|symbol|namespace|abstract|require|type)\b/}),Prism.languages.ts=Prism.languages.typescript},function(e,t){!function(e){var t={url:/url\((["']?).*?\1\)/i,string:{pattern:/("|')(?:[^\\\r\n]|\\(?:\r\n|[\s\S]))*?\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:if|else|for|return|unless)(?=\s+|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,number:/\b\d+(?:\.\d+)?%?/,boolean:/\b(?:true|false)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.+|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],punctuation:/[{}()\[\];:,]/};t.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:e.util.clone(t)},t.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:e.util.clone(t)}},e.languages.stylus={comment:{pattern:/(^|[^\\])(\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},"atrule-declaration":{pattern:/(^\s*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:t}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:(?:\{[^}]*\}|.+)|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:t}},statement:{pattern:/(^[ \t]*)(?:if|else|for|return|unless)[ \t]+.+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:t}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)[^{\r\n]*(?:;|[^{\r\n,](?=$)(?!(\r?\n|\r)(?:\{|\2[ \t]+)))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:t.interpolation}},rest:t}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\))?|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\))?|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t]+)))/m,lookbehind:!0,inside:{interpolation:t.interpolation,punctuation:/[{},]/}},func:t.func,string:t.string,interpolation:t.interpolation,punctuation:/[{}()\[\];:.]/}}(Prism)},function(e,t){Prism.languages.less=Prism.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-]+?(?:\([^{}]+\)|[^(){};])*?(?=\s*\{)/i,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\([^{}]*\)|[^{};@])*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,punctuation:/[{}();:,]/,operator:/[+\-*\/]/}),Prism.languages.insertBefore("less","punctuation",{function:Prism.languages.less.function}),Prism.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-]+.*?(?=[(;])/,lookbehind:!0,alias:"function"}})},function(e,t){!function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t]+.+)*/m,lookbehind:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,inside:{atrule:/(?:@[\w-]+|[+=])/m}}}),delete e.languages.sass.atrule;var t=/((\$[-_\w]+)|(#\{\$[-_\w]+\}))/i,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|or|not)\b/,{pattern:/(\s+)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s]+.*)/m,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,delete e.languages.sass.selector,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/([ \t]*)\S(?:,?[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,?[^,\r\n]+)*)*/,lookbehind:!0}})}(Prism)},function(e,t){!function(e){var t=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;e.languages.handlebars=e.languages.extend("markup",{handlebars:{pattern:t,inside:{delimiter:{pattern:/^\{\{\{?|\}\}\}?$/i,alias:"punctuation"},string:/(["'])(\\?.)*?\1/,number:/\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee][+-]?\d+)?)\b/,boolean:/\b(true|false)\b/,block:{pattern:/^(\s*~?\s*)[#\/]\S+?(?=\s*~?\s*$|\s)/i,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~\s]+/}}}),e.languages.insertBefore("handlebars","tag",{"handlebars-comment":{pattern:/\{\{![\s\S]*?\}\}/,alias:["handlebars","comment"]}}),e.hooks.add("before-highlight",function(e){"handlebars"===e.language&&(e.tokenStack=[],e.backupCode=e.code,e.code=e.code.replace(t,function(t){for(var n=e.tokenStack.length;e.backupCode.indexOf("___HANDLEBARS"+n+"___")!==-1;)++n;return e.tokenStack[n]=t,"___HANDLEBARS"+n+"___"}))}),e.hooks.add("before-insert",function(e){"handlebars"===e.language&&(e.code=e.backupCode,delete e.backupCode)}),e.hooks.add("after-highlight",function(t){if("handlebars"===t.language){for(var n=0,i=Object.keys(t.tokenStack);n<i.length;++n){var r=i[n],s=t.tokenStack[r];t.highlightedCode=t.highlightedCode.replace("___HANDLEBARS"+r+"___",e.highlight(s,t.grammar,"handlebars").replace(/\$/g,"$$$$"))}t.element.innerHTML=t.highlightedCode}})}(Prism)},function(e,t){Prism.languages.applescript={comment:[/\(\*(?:\(\*[\s\S]*?\*\)|[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\?.)*?"/,number:/\b-?\d*\.?\d+([Ee]-?\d+)?\b/,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:start|begin|end)s? with|(?:(?:does not|doesn't) contain|contains?)|(?:is|isn't|is not) (?:in|contained by)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:(?:does not|doesn't) come|comes) (?:before|after)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equals|equal to|isn't|is not)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|or|div|mod|as|not))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,class:{pattern:/\b(?:alias|application|boolean|class|constant|date|file|integer|list|number|POSIX file|real|record|reference|RGB color|script|text|centimetres|centimeters|feet|inches|kilometres|kilometers|metres|meters|miles|yards|square feet|square kilometres|square kilometers|square metres|square meters|square miles|square yards|cubic centimetres|cubic centimeters|cubic feet|cubic inches|cubic metres|cubic meters|cubic yards|gallons|litres|liters|quarts|grams|kilograms|ounces|pounds|degrees Celsius|degrees Fahrenheit|degrees Kelvin)\b/,alias:"builtin"},punctuation:/[{}():,¬«»《》]/}},function(e,t){Prism.languages.actionscript=Prism.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with|dynamic|each|final|get|include|namespace|native|override|set|static)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),Prism.languages.actionscript["class-name"].alias="function",Prism.languages.markup&&Prism.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\\1|\\?(?!\1)[\s\S])*\2)*\s*\/?>/,lookbehind:!0,inside:{rest:Prism.languages.markup}}})},function(e,t){Prism.languages.aspnet=Prism.languages.extend("markup",{"page-directive tag":{pattern:/<%\s*@.*%>/i,inside:{"page-directive tag":/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,rest:Prism.languages.markup.tag.inside}},"directive tag":{pattern:/<%.*%>/i,inside:{"directive tag":/<%\s*?[$=%#:]{0,2}|%>/i,rest:Prism.languages.csharp}}}),Prism.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\s\S])*\1|[^\s'">=]+))?)*\s*\/?>/i,Prism.languages.insertBefore("inside","punctuation",{"directive tag":Prism.languages.aspnet["directive tag"]},Prism.languages.aspnet.tag.inside["attr-value"]),Prism.languages.insertBefore("aspnet","comment",{"asp comment":/<%--[\s\S]*?--%>/}),Prism.languages.insertBefore("aspnet",Prism.languages.javascript?"script":"tag",{"asp script":{pattern:/(<script(?=.*runat=['"]?server['"]?)[\s\S]*?>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.csharp||{}}})},function(e,t){Prism.languages.basic={string:/"(?:""|[!#$%&'()*,\/:;<=>?^_ +\-.A-Z\d])*"/i,comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},number:/(?:\b|\B[.-])(?:\d+\.?\d*)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SHARED|SINGLE|SELECT CASE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}},function(e,t){Prism.languages.c=Prism.languages.extend("clike",{keyword:/\b(_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,operator:/\-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*\/]/,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)[ful]*\b/i}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+([^\r\n\\]|\\.|\\(?:\r\n?|\n))*/im,lookbehind:!0,alias:"property",inside:{string:{pattern:/(#\s*include\s*)(<.+?>|("|')(\\?.)+?\3)/,lookbehind:!0},directive:{pattern:/(#\s*)\b(define|defined|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\b/,lookbehind:!0,alias:"keyword"}}},constant:/\b(__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c["class-name"],delete Prism.languages.c.boolean},function(e,t){Prism.languages.pascal={comment:[/\(\*[\s\S]+?\*\)/,/\{[\s\S]+?\}/,/\/\/.*/],string:{pattern:/(?:'(?:''|[^'\r\n])*'|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/[+-]?(?:[&%]\d+|\$[a-f\d]+)/i,/([+-]|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/i,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/}},function(e,t){Prism.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\w+(?=\()/,keyword:/\b(?:ab|abbreviate|abc|abclear|abo|aboveleft|al|all|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|ar|args|argu|argument|as|ascii|bad|badd|ba|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bN|bNext|bo|botright|bp|bprevious|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|br|brewind|bro|browse|bufdo|b|buffer|buffers|bun|bunload|bw|bwipeout|ca|cabbrev|cabc|cabclear|caddb|caddbuffer|cad|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cgetb|cgetbuffer|cgete|cgetexpr|cg|cgetfile|c|change|changes|chd|chdir|che|checkpath|checkt|checktime|cla|clast|cl|clist|clo|close|cmapc|cmapclear|cnew|cnewer|cn|cnext|cN|cNext|cnf|cnfile|cNfcNfile|cnorea|cnoreabbrev|col|colder|colo|colorscheme|comc|comclear|comp|compiler|conf|confirm|con|continue|cope|copen|co|copy|cpf|cpfile|cp|cprevious|cq|cquit|cr|crewind|cuna|cunabbrev|cu|cunmap|cw|cwindow|debugg|debuggreedy|delc|delcommand|d|delete|delf|delfunction|delm|delmarks|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|di|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|earlier|echoe|echoerr|echom|echomsg|echon|e|edit|el|else|elsei|elseif|em|emenu|endfo|endfor|endf|endfunction|endfun|en|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fina|finally|fin|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|folddoc|folddoclosed|foldd|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|ha|hardcopy|h|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iuna|iunabbrev|iu|iunmap|j|join|ju|jumps|k|keepalt|keepj|keepjumps|kee|keepmarks|laddb|laddbuffer|lad|laddexpr|laddf|laddfile|lan|language|la|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|let|left|lefta|leftabove|lex|lexpr|lf|lfile|lfir|lfirst|lgetb|lgetbuffer|lgete|lgetexpr|lg|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|l|list|ll|lla|llast|lli|llist|lmak|lmake|lm|lmap|lmapc|lmapclear|lnew|lnewer|lne|lnext|lN|lNext|lnf|lnfile|lNf|lNfile|ln|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lpf|lpfile|lp|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|mak|make|ma|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkvie|mkview|mkv|mkvimrc|mod|mode|m|move|mzf|mzfile|mz|mzscheme|nbkey|new|n|next|N|Next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|omapc|omapclear|on|only|o|open|opt|options|ou|ounmap|pc|pclose|ped|pedit|pe|perl|perld|perldo|po|pop|popu|popu|popup|pp|ppop|pre|preserve|prev|previous|p|print|P|Print|profd|profdel|prof|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptN|ptNext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|pyf|pyfile|py|python|qa|qall|q|quit|quita|quitall|r|read|rec|recover|redi|redir|red|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|rub|ruby|rubyd|rubydo|rubyf|rubyfile|ru|runtime|rv|rviminfo|sal|sall|san|sandbox|sa|sargument|sav|saveas|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbN|sbNext|sbp|sbprevious|sbr|sbrewind|sb|sbuffer|scripte|scriptencoding|scrip|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sla|slast|sl|sleep|sm|smagic|sm|smap|smapc|smapclear|sme|smenu|sn|snext|sN|sNext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|sor|sort|so|source|spelld|spelldump|spe|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|sp|split|spr|sprevious|sre|srewind|sta|stag|startg|startgreplace|star|startinsert|startr|startreplace|stj|stjump|st|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tab|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabnew|tabn|tabnext|tabN|tabNext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|ta|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tm|tmenu|tn|tnext|tN|tNext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tu|tunmenu|una|unabbreviate|u|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|verb|verbose|ve|version|vert|vertical|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|vi|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|wa|wall|wh|while|winc|wincmd|windo|winp|winpos|win|winsize|wn|wnext|wN|wNext|wp|wprevious|wq|wqa|wqall|w|write|ws|wsverb|wv|wviminfo|X|xa|xall|x|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|XMLent|XMLns|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:autocmd|acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|t_AB|t_AF|t_al|t_AL|t_bc|t_cd|t_ce|t_Ce|t_cl|t_cm|t_Co|t_cs|t_Cs|t_CS|t_CV|t_da|t_db|t_dl|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_fs|t_IE|t_IS|t_k1|t_K1|t_k2|t_k3|t_K3|t_k4|t_K4|t_k5|t_K5|t_k6|t_K6|t_k7|t_K7|t_k8|t_K8|t_k9|t_K9|t_KA|t_kb|t_kB|t_KB|t_KC|t_kd|t_kD|t_KD|t_ke|t_KE|t_KF|t_KG|t_kh|t_KH|t_kI|t_KI|t_KJ|t_KK|t_kl|t_KL|t_kN|t_kP|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_RI|t_RV|t_Sb|t_se|t_Sf|t_SI|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_WP|t_WS|t_xs|t_ZH|t_ZR)\b/,
  9. number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}},function(e,t){Prism.languages.swift=Prism.languages.extend("clike",{string:{pattern:/("|')(\\(?:\((?:[^()]|\([^)]+\))+\)|\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/\\\((?:[^()]|\([^)]+\))+\)/,inside:{delimiter:{pattern:/^\\\(|\)$/,alias:"variable"}}}}},keyword:/\b(as|associativity|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic(?:Type)?|else|enum|extension|fallthrough|final|for|func|get|guard|if|import|in|infix|init|inout|internal|is|lazy|left|let|mutating|new|none|nonmutating|operator|optional|override|postfix|precedence|prefix|private|Protocol|public|repeat|required|rethrows|return|right|safe|self|Self|set|static|struct|subscript|super|switch|throws?|try|Type|typealias|unowned|unsafe|var|weak|where|while|willSet|__(?:COLUMN__|FILE__|FUNCTION__|LINE__))\b/,number:/\b([\d_]+(\.[\de_]+)?|0x[a-f0-9_]+(\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,constant:/\b(nil|[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,atrule:/@\b(IB(?:Outlet|Designable|Action|Inspectable)|class_protocol|exported|noreturn|NS(?:Copying|Managed)|objc|UIApplicationMain|auto_closure)\b/,builtin:/\b([A-Z]\S+|abs|advance|alignof(?:Value)?|assert|contains|count(?:Elements)?|debugPrint(?:ln)?|distance|drop(?:First|Last)|dump|enumerate|equal|filter|find|first|getVaList|indices|isEmpty|join|last|lexicographicalCompare|map|max(?:Element)?|min(?:Element)?|numericCast|overlaps|partition|print(?:ln)?|reduce|reflect|reverse|sizeof(?:Value)?|sort(?:ed)?|split|startsWith|stride(?:of(?:Value)?)?|suffix|swap|toDebugString|toString|transcode|underestimateCount|unsafeBitCast|with(?:ExtendedLifetime|Unsafe(?:MutablePointers?|Pointers?)|VaList))\b/}),Prism.languages.swift.string.inside.interpolation.inside.rest=Prism.util.clone(Prism.languages.swift)},function(e,t){Prism.languages.objectivec=Prism.languages.extend("c",{keyword:/\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while|in|self|super)\b|(@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,string:/("|')(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|@"(\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/})},function(e,t){Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},string:{pattern:/(^|[^@\\])("|')(?:\\?[\s\S])*?\2/,greedy:!0,lookbehind:!0},variable:/@[\w.$]+|@("|'|`)(?:\\?[\s\S])+?\1/,function:/\b(?:COUNT|SUM|AVG|MIN|MAX|FIRST|LAST|UCASE|LCASE|MID|LEN|ROUND|NOW|FORMAT)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR VARYING|CHARACTER (?:SET|VARYING)|CHARSET|CHECK|CHECKPOINT|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMN|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS|CONTAINSTABLE|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|DATA(?:BASES?)?|DATE(?:TIME)?|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITER(?:S)?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE(?: PRECISION)?|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE KEY|ELSE|ENABLE|ENCLOSED BY|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPE(?:D BY)?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTO|INVOKER|ISOLATION LEVEL|JOIN|KEYS?|KILL|LANGUAGE SQL|LAST|LEFT|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MODIFIES SQL DATA|MODIFY|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL(?: CHAR VARYING| CHARACTER(?: VARYING)?| VARCHAR)?|NATURAL|NCHAR(?: VARCHAR)?|NEXT|NO(?: SQL|CHECK|CYCLE)?|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READ(?:S SQL DATA|TEXT)?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEATABLE|REPLICATION|REQUIRE|RESTORE|RESTRICT|RETURNS?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE MODE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|START(?:ING BY)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED BY|TEXT(?:SIZE)?|THEN|TIMESTAMP|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNPIVOT|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b-?(?:0x)?\d*\.?[\da-f]+\b/,operator:/[-+*\/=%^~]|&&?|\|?\||!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}},function(e,t){Prism.languages.scheme={comment:/;.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*?"|'[^('\s]*/,greedy:!0},keyword:{pattern:/(\()(?:define(?:-syntax|-library|-values)?|(?:case-)?lambda|let(?:\*|rec)?(?:-values)?|else|if|cond|begin|delay(?:-force)?|parameterize|guard|set!|(?:quasi-)?quote|syntax-rules)/,lookbehind:!0},builtin:{pattern:/(\()(?:(?:cons|car|cdr|list|call-with-current-continuation|call\/cc|append|abs|apply|eval)\b|null\?|pair\?|boolean\?|eof-object\?|char\?|procedure\?|number\?|port\?|string\?|vector\?|symbol\?|bytevector\?)/,lookbehind:!0},number:{pattern:/(\s|\))[-+]?\d*\.?\d+(?:\s*[-+]\s*\d*\.?\d+i)?\b/,lookbehind:!0},boolean:/#[tf]/,operator:{pattern:/(\()(?:[-+*%\/]|[<>]=?|=>?)/,lookbehind:!0},function:{pattern:/(\()[^\s()]*(?=\s)/,lookbehind:!0},punctuation:/[()]/}},function(e,t){!function(e){e.languages.ruby=e.languages.extend("clike",{comment:[/#(?!\{[^\r\n]*?\}).*/,/^=begin(?:\r?\n|\r)(?:.*(?:\r?\n|\r))*?=end/m],keyword:/\b(alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|raise|redo|require|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.util.clone(e.languages.ruby)}};e.languages.insertBefore("ruby","keyword",{regex:[{pattern:/%r([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r\((?:[^()\\]|\\[\s\S])*\)[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r\[(?:[^\[\]\\]|\\[\s\S])*\][gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r<(?:[^<>\\]|\\[\s\S])*>[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/(^|[^\/])\/(?!\/)(\[.+?]|\\.|[^\/\\\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0}],variable:/[@$]+[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\b)/,symbol:/:[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\b)/}),e.languages.insertBefore("ruby","number",{builtin:/\b(Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|File|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z][a-zA-Z_0-9]*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:/%[qQiIwWxs]?([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\((?:[^()\\]|\\[\s\S])*\)/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\[(?:[^\[\]\\]|\\[\s\S])*\]/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?<(?:[^<>\\]|\\[\s\S])*>/,greedy:!0,inside:{interpolation:t}},{pattern:/("|')(#\{[^}]+\}|\\(?:\r?\n|\r)|\\?.)*?\1/,greedy:!0,inside:{interpolation:t}}]}(Prism)},function(e,t){!function(e){var t=/\{\*[\s\S]+?\*\}|\{[\s\S]+?\}/g,n="{literal}",i="{/literal}",r=!1;e.languages.smarty=e.languages.extend("markup",{smarty:{pattern:t,inside:{delimiter:{pattern:/^\{|\}$/i,alias:"punctuation"},string:/(["'])(?:\\?.)*?\1/,number:/\b-?(?:0x[\dA-Fa-f]+|\d*\.?\d+(?:[Ee][-+]?\d+)?)\b/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->)(?!\d)\w+/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:[{pattern:/(\|\s*)@?(?!\d)\w+/,lookbehind:!0},/^\/?(?!\d)\w+/,/(?!\d)\w+(?=\()/],"attr-name":{pattern:/\w+\s*=\s*(?:(?!\d)\w+)?/,inside:{variable:{pattern:/(=\s*)(?!\d)\w+/,lookbehind:!0},operator:/=/}},punctuation:[/[\[\]().,:`]|\->/],operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:eq|neq?|gt|lt|gt?e|lt?e|not|mod|or|and)\b/],keyword:/\b(?:false|off|on|no|true|yes)\b/}}}),e.languages.insertBefore("smarty","tag",{"smarty-comment":{pattern:/\{\*[\s\S]*?\*\}/,alias:["smarty","comment"]}}),e.hooks.add("before-highlight",function(e){"smarty"===e.language&&(e.tokenStack=[],e.backupCode=e.code,e.code=e.code.replace(t,function(t){if(t===i&&(r=!1),!r){t===n&&(r=!0);for(var s=e.tokenStack.length;e.backupCode.indexOf("___SMARTY"+s+"___")!==-1;)++s;return e.tokenStack[s]=t,"___SMARTY"+s+"___"}return t}))}),e.hooks.add("before-insert",function(e){"smarty"===e.language&&(e.code=e.backupCode,delete e.backupCode)}),e.hooks.add("after-highlight",function(t){if("smarty"===t.language){for(var n=0,i=Object.keys(t.tokenStack);n<i.length;++n){var r=i[n],s=t.tokenStack[r];t.highlightedCode=t.highlightedCode.replace("___SMARTY"+r+"___",e.highlight(s,t.grammar,"smarty").replace(/\$/g,"$$$$"))}t.element.innerHTML=t.highlightedCode}})}(Prism)},function(e,t){Prism.languages.smalltalk={comment:/"(?:""|[^"])+"/,string:/'(?:''|[^'])+'/,symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*?\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:nil|true|false|self|super|new)\b/,character:{pattern:/\$./,alias:"string"},number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/(?:\B-|\b)\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}},function(e,t){Prism.languages.rust={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:[{pattern:/b?r(#*)"(?:\\?.)*?"\1/,greedy:!0},{pattern:/b?("|')(?:\\?.)*?\1/,greedy:!0}],keyword:/\b(?:abstract|alignof|as|be|box|break|const|continue|crate|do|else|enum|extern|false|final|fn|for|if|impl|in|let|loop|match|mod|move|mut|offsetof|once|override|priv|pub|pure|ref|return|sizeof|static|self|struct|super|true|trait|type|typeof|unsafe|unsized|use|virtual|where|while|yield)\b/,attribute:{pattern:/#!?\[.+?\]/,greedy:!0,alias:"attr-name"},function:[/[a-z0-9_]+(?=\s*\()/i,/[a-z0-9_]+!(?=\s*\(|\[)/i],"macro-rules":{pattern:/[a-z0-9_]+!/i,alias:"function"},number:/\b-?(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(\d(_?\d)*)?\.?\d(_?\d)*([Ee][+-]?\d+)?)(?:_?(?:[iu](?:8|16|32|64)?|f32|f64))?\b/,"closure-params":{pattern:/\|[^|]*\|(?=\s*[{-])/,inside:{punctuation:/[\|:,]/,operator:/[&*]/}},punctuation:/[{}[\];(),:]|\.+|->/,operator:/[-+*\/%!^=]=?|@|&[&=]?|\|[|=]?|<<?=?|>>?=?/}},function(e,t){Prism.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\?.)*?\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:TRUE|FALSE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:NaN|Inf)\b/,/\b(?:0x[\dA-Fa-f]+(?:\.\d*)?|\d*\.?\d+)(?:[EePp][+-]?\d+)?[iL]?\b/],keyword:/\b(?:if|else|repeat|while|function|for|in|next|break|NULL|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}},function(e,t){Prism.languages.d=Prism.languages.extend("clike",{string:[/\b[rx]"(\\.|[^\\"])*"[cwd]?/,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/,/\bq"([_a-zA-Z][_a-zA-Z\d]*)(?:\r?\n|\r)[\s\S]*?(?:\r?\n|\r)\1"/,/\bq"(.)[\s\S]*?\1"/,/'(?:\\'|\\?[^']+)'/,/(["`])(\\.|(?!\1)[^\\])*\1[cwd]?/],number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]*/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]*/i,lookbehind:!0}],keyword:/\$|\b(?:abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|public|pure|real|ref|return|scope|shared|short|static|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|__(?:(?:FILE|MODULE|LINE|FUNCTION|PRETTY_FUNCTION|DATE|EOF|TIME|TIMESTAMP|VENDOR|VERSION)__|gshared|traits|vector|parameters)|string|wstring|dstring|size_t|ptrdiff_t)\b/,operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),Prism.languages.d.comment=[/^\s*#!.+/,{pattern:/(^|[^\\])\/\+(?:\/\+[\s\S]*?\+\/|[\s\S])*?\+\//,lookbehind:!0}].concat(Prism.languages.d.comment),Prism.languages.insertBefore("d","comment",{"token-string":{pattern:/\bq\{(?:|\{[^}]*\}|[^}])*\}/,alias:"string"}}),Prism.languages.insertBefore("d","keyword",{property:/\B@\w*/}),Prism.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E[ABCD]X|E?(?:BP|SP|DI|SI)|[ECSDGF]S|CR[0234]|DR[012367]|TR[3-7]|X?MM[0-7]|R[ABCD]X|[BS]PL|R[BS]P|[DS]IL|R[DS]I|R(?:[89]|1[0-5])[BWD]?|XMM(?:[89]|1[0-5])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})},function(e,t){Prism.languages.dart=Prism.languages.extend("clike",{string:[{pattern:/r?("""|''')[\s\S]*?\1/,greedy:!0},{pattern:/r?("|')(\\?.)*?\1/,greedy:!0}],keyword:[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|default|deferred|do|dynamic|else|enum|export|external|extends|factory|final|finally|for|get|if|implements|import|in|library|new|null|operator|part|rethrow|return|set|static|super|switch|this|throw|try|typedef|var|void|while|with|yield)\b/],operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),Prism.languages.insertBefore("dart","function",{metadata:{pattern:/@\w+/,alias:"symbol"}})},function(e,t){!function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\?[^\\])*?'/,greedy:!0},{pattern:/"(?:\\?[^\\])*?"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\?[\s\S])*?`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},rest:e.languages.javascript}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"]}(Prism)},function(e,t){!function(e){var t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},i=/"[^"]*"/,r=/(?:\b|-)\d+\b/;e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: ?\/[a-z?](?:[ :](?:"[^"]*"|\S+))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/^for\b|\b(?:in|do)\b/i,string:i,parameter:n,variable:t,number:r,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: ?\/[a-z?](?:[ :](?:"[^"]*"|\S+))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|\S+)?(?:==| (?:equ|neq|lss|leq|gtr|geq) )(?:"[^"]*"|\S+))/im,lookbehind:!0,inside:{keyword:/^if\b|\b(?:not|cmdextversion|defined|errorlevel|exist)\b/i,string:i,parameter:n,variable:t,number:r,operator:/\^|==|\b(?:equ|neq|lss|leq|gtr|geq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: ?\/[a-z](?:[ :](?:"[^"]*"|\S+))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:i,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:r,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^\w+\b/i,string:i,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:r,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}(Prism)},function(e,t){Prism.languages.cpp=Prism.languages.extend("c",{keyword:/\b(alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,boolean:/\b(true|false)\b/,operator:/[-+]{1,2}|!=?|<{1,2}=?|>{1,2}=?|\->|:{1,2}|={1,2}|\^|~|%|&{1,2}|\|?\||\?|\*|\/|\b(and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/}),Prism.languages.insertBefore("cpp","keyword",{"class-name":{pattern:/(class\s+)[a-z0-9_]+/i,lookbehind:!0}})},function(e,t){Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[\s\S]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+\.?[a-f\d]*(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|\.?\d*(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}},function(e,t){Prism.languages.livescript={"interpolated-string":{pattern:/("""|")(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|\d)*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(\[.+?]|\\.|(?!\/\/)[^\\])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(\[.+?]|\\.|[^\/\\\r\n])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?:nt| not)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|\d)*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},Prism.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=Prism.languages.livescript},function(e,t){!function(e){var t=/\\([^a-z()[\]]|[a-z\*]+)/i,n={"equation-command":{pattern:t,alias:"regex"}};e.languages.latex={comment:/%.*/m,cdata:{pattern:/(\\begin\{((?:verbatim|lstlisting)\*?)\})([\s\S]*?)(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$(?:\\?[\s\S])*?\$|\\\((?:\\?[\s\S])*?\\\)|\\\[(?:\\?[\s\S])*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:equation|math|eqnarray|align|multline|gather)\*?)\})([\s\S]*?)(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|end|ref|cite|label|usepackage|documentclass)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:part|chapter|section|subsection|frametitle|subsubsection|paragraph|subparagraph|subsubparagraph|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\}(?:\[[^\]]+\])?)/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/}}(Prism)},function(e,t){Prism.languages.groovy=Prism.languages.extend("clike",{keyword:/\b(as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,string:[{pattern:/("""|''')[\s\S]*?\1|(\$\/)(\$\/\$|[\s\S])*?\/\$/,greedy:!0},{pattern:/("|'|\/)(?:\\?.)*?\1/,greedy:!0}],number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?[\d]+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.{1,2}(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),Prism.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),Prism.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore("groovy","function",{annotation:{alias:"punctuation",pattern:/(^|[^.])@\w+/,lookbehind:!0}}),Prism.hooks.add("wrap",function(e){if("groovy"===e.language&&"string"===e.type){var t=e.content[0];if("'"!=t){var n=/([^\\])(\$(\{.*?\}|[\w\.]+))/;"$"===t&&(n=/([^\$])(\$(\{.*?\}|[\w\.]+))/),e.content=e.content.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),e.content=Prism.highlight(e.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),e.classes.push("/"===t?"regex":"gstring")}}})},function(e,t){Prism.languages.graphql={comment:/#.*/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b/,boolean:/\b(?:true|false)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":/[a-z_]\w*(?=\s*:)/i,keyword:[{pattern:/(fragment\s+(?!on)[a-z_]\w*\s+|\.\.\.\s*)on\b/,lookbehind:!0},/\b(?:query|fragment|mutation)\b/],operator:/!|=|\.{3}/,punctuation:/[!(){}\[\]:=,]/}},function(e,t){Prism.languages.nginx=Prism.languages.extend("clike",{comment:{pattern:/(^|[^"{\\])#.*/,lookbehind:!0},keyword:/\b(?:CONTENT_|DOCUMENT_|GATEWAY_|HTTP_|HTTPS|if_not_empty|PATH_|QUERY_|REDIRECT_|REMOTE_|REQUEST_|SCGI|SCRIPT_|SERVER_|http|server|events|location|include|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|auth_basic|auth_basic_user_file|auth_http|auth_http_header|auth_http_timeout|autoindex|autoindex_exact_size|autoindex_localtime|break|charset|charset_map|charset_types|chunked_transfer_encoding|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|deny|devpoll_changes|devpoll_events|directio|directio_alignment|disable_symlinks|empty_gif|env|epoll_events|error_log|error_page|expires|fastcgi_buffer_size|fastcgi_buffers|fastcgi_busy_buffers_size|fastcgi_cache|fastcgi_cache_bypass|fastcgi_cache_key|fastcgi_cache_lock|fastcgi_cache_lock_timeout|fastcgi_cache_methods|fastcgi_cache_min_uses|fastcgi_cache_path|fastcgi_cache_purge|fastcgi_cache_use_stale|fastcgi_cache_valid|fastcgi_connect_timeout|fastcgi_hide_header|fastcgi_ignore_client_abort|fastcgi_ignore_headers|fastcgi_index|fastcgi_intercept_errors|fastcgi_keep_conn|fastcgi_max_temp_file_size|fastcgi_next_upstream|fastcgi_no_cache|fastcgi_param|fastcgi_pass|fastcgi_pass_header|fastcgi_read_timeout|fastcgi_redirect_errors|fastcgi_send_timeout|fastcgi_split_path_info|fastcgi_store|fastcgi_store_access|fastcgi_temp_file_write_size|fastcgi_temp_path|flv|geo|geoip_city|geoip_country|google_perftools_profiles|gzip|gzip_buffers|gzip_comp_level|gzip_disable|gzip_http_version|gzip_min_length|gzip_proxied|gzip_static|gzip_types|gzip_vary|if|if_modified_since|ignore_invalid_headers|image_filter|image_filter_buffer|image_filter_jpeg_quality|image_filter_sharpen|image_filter_transparency|imap_capabilities|imap_client_buffer|include|index|internal|ip_hash|keepalive|keepalive_disable|keepalive_requests|keepalive_timeout|kqueue_changes|kqueue_events|large_client_header_buffers|limit_conn|limit_conn_log_level|limit_conn_zone|limit_except|limit_rate|limit_rate_after|limit_req|limit_req_log_level|limit_req_zone|limit_zone|lingering_close|lingering_time|lingering_timeout|listen|location|lock_file|log_format|log_format_combined|log_not_found|log_subrequest|map|map_hash_bucket_size|map_hash_max_size|master_process|max_ranges|memcached_buffer_size|memcached_connect_timeout|memcached_next_upstream|memcached_pass|memcached_read_timeout|memcached_send_timeout|merge_slashes|min_delete_depth|modern_browser|modern_browser_value|mp4|mp4_buffer_size|mp4_max_buffer_size|msie_padding|msie_refresh|multi_accept|open_file_cache|open_file_cache_errors|open_file_cache_min_uses|open_file_cache_valid|open_log_file_cache|optimize_server_names|override_charset|pcre_jit|perl|perl_modules|perl_require|perl_set|pid|pop3_auth|pop3_capabilities|port_in_redirect|post_action|postpone_output|protocol|proxy|proxy_buffer|proxy_buffer_size|proxy_buffering|proxy_buffers|proxy_busy_buffers_size|proxy_cache|proxy_cache_bypass|proxy_cache_key|proxy_cache_lock|proxy_cache_lock_timeout|proxy_cache_methods|proxy_cache_min_uses|proxy_cache_path|proxy_cache_use_stale|proxy_cache_valid|proxy_connect_timeout|proxy_cookie_domain|proxy_cookie_path|proxy_headers_hash_bucket_size|proxy_headers_hash_max_size|proxy_hide_header|proxy_http_version|proxy_ignore_client_abort|proxy_ignore_headers|proxy_intercept_errors|proxy_max_temp_file_size|proxy_method|proxy_next_upstream|proxy_no_cache|proxy_pass|proxy_pass_error_message|proxy_pass_header|proxy_pass_request_body|proxy_pass_request_headers|proxy_read_timeout|proxy_redirect|proxy_redirect_errors|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|return|rewrite|root|rtsig_overflow_events|rtsig_overflow_test|rtsig_overflow_threshold|rtsig_signo|satisfy|satisfy_any|secure_link_secret|send_lowat|send_timeout|sendfile|sendfile_max_chunk|server|server_name|server_name_in_redirect|server_names_hash_bucket_size|server_names_hash_max_size|server_tokens|set|set_real_ip_from|smtp_auth|smtp_capabilities|so_keepalive|source_charset|split_clients|ssi|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|timeout|timer_resolution|try_files|types|types_hash_bucket_size|types_hash_max_size|underscores_in_headers|uninitialized_variable_warn|upstream|use|user|userid|userid_domain|userid_expires|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|working_directory|xclient|xml_entities|xslt_entities|xslt_stylesheet|xslt_types)\b/i}),Prism.languages.insertBefore("nginx","keyword",{variable:/\$[a-z_]+/i})},function(e,t){Prism.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\?.)*?"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^'\\])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^'\\])+'/,alias:"atom"},boolean:/\b(?:true|false)\b/,keyword:/\b(?:fun|when|case|of|end|if|receive|after|try|catch)\b/,number:[/\$\\?./,/\d+#[a-z0-9]+/i,/(?:\b|-)\d*\.?\d+([Ee][+-]?\d+)?\b/],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:bnot|div|rem|band|bor|bxor|bsl|bsr|not|and|or|xor|orelse|andalso)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}},function(e,t){Prism.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(`?[\s\S])*?"/,greedy:!0,inside:{function:{pattern:/[^`]\$\(.*?\)/,inside:{}}}},{pattern:/'([^']|'')*'/,greedy:!0}],namespace:/\[[a-z][\s\S]*?\]/i,boolean:/\$(true|false)\b/i,variable:/\$\w+\b/i,function:[/\b(Add-(Computer|Content|History|Member|PSSnapin|Type)|Checkpoint-Computer|Clear-(Content|EventLog|History|Item|ItemProperty|Variable)|Compare-Object|Complete-Transaction|Connect-PSSession|ConvertFrom-(Csv|Json|StringData)|Convert-Path|ConvertTo-(Csv|Html|Json|Xml)|Copy-(Item|ItemProperty)|Debug-Process|Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)|Disconnect-PSSession|Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)|Enter-PSSession|Exit-PSSession|Export-(Alias|Clixml|Console|Csv|FormatData|ModuleMember|PSSession)|ForEach-Object|Format-(Custom|List|Table|Wide)|Get-(Alias|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Culture|Date|Event|EventLog|EventSubscriber|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|WmiObject)|Group-Object|Import-(Alias|Clixml|Csv|LocalizedData|Module|PSSession)|Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)|Join-Path|Limit-EventLog|Measure-(Command|Object)|Move-(Item|ItemProperty)|New-(Alias|Event|EventLog|Item|ItemProperty|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy)|Out-(Default|File|GridView|Host|Null|Printer|String)|Pop-Location|Push-Location|Read-Host|Receive-(Job|PSSession)|Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)|Remove-(Computer|Event|EventLog|Item|ItemProperty|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)|Rename-(Computer|Item|ItemProperty)|Reset-ComputerMachinePassword|Resolve-Path|Restart-(Computer|Service)|Restore-Computer|Resume-(Job|Service)|Save-Help|Select-(Object|String|Xml)|Send-MailMessage|Set-(Alias|Content|Date|Item|ItemProperty|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)|Show-(Command|ControlPanelItem|EventLog)|Sort-Object|Split-Path|Start-(Job|Process|Service|Sleep|Transaction)|Stop-(Computer|Job|Process|Service)|Suspend-(Job|Service)|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))\b/i,/\b(ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],
  10. keyword:/\b(Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(\W?)(!|-(eq|ne|gt|ge|lt|le|sh[lr]|not|b?(and|x?or)|(Not)?(Like|Match|Contains|In)|Replace|Join|is(Not)?|as)\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/},Prism.languages.powershell.string[0].inside.boolean=Prism.languages.powershell.boolean,Prism.languages.powershell.string[0].inside.variable=Prism.languages.powershell.variable,Prism.languages.powershell.string[0].inside.function.inside=Prism.util.clone(Prism.languages.powershell)},function(e,t){Prism.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|.)*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},builtin:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,symbol:{pattern:/^[^:=\r\n]+(?=\s*:(?!=))/m,inside:{variable:/\$+(?:[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:[/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,{pattern:/(\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \t])/,lookbehind:!0}],operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}},function(e,t){Prism.languages.markdown=Prism.languages.extend("markup",{}),Prism.languages.insertBefore("markdown","prolog",{blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},code:[{pattern:/^(?: {4}|\t).+/m,alias:"keyword"},{pattern:/``.+?``|`[^`\n]+`/,alias:"keyword"}],title:[{pattern:/\w+.*(?:\r?\n|\r)(?:==+|--+)/,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#+.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])([\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:/(^|[^\\])(\*\*|__)(?:(?:\r?\n|\r)(?!\r?\n|\r)|.)+?\2/,lookbehind:!0,inside:{punctuation:/^\*\*|^__|\*\*$|__$/}},italic:{pattern:/(^|[^\\])([*_])(?:(?:\r?\n|\r)(?!\r?\n|\r)|.)+?\2/,lookbehind:!0,inside:{punctuation:/^[*_]|[*_]$/}},url:{pattern:/!?\[[^\]]+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)| ?\[[^\]\n]*\])/,inside:{variable:{pattern:/(!?\[)[^\]]+(?=\]$)/,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\])*"(?=\)$)/}}}}),Prism.languages.markdown.bold.inside.url=Prism.util.clone(Prism.languages.markdown.url),Prism.languages.markdown.italic.inside.url=Prism.util.clone(Prism.languages.markdown.url),Prism.languages.markdown.bold.inside.italic=Prism.util.clone(Prism.languages.markdown.italic),Prism.languages.markdown.italic.inside.bold=Prism.util.clone(Prism.languages.markdown.bold)},function(e,t){},,,,,,,function(e,t){},function(e,t){},function(e,t){},,function(e,t){e.exports='<div tabindex="1" class="mditor {{split?\'split\':\'\'}} {{preview?\'preview\':\'\'}} {{fullscreen?\'fullscreen\':\'\'}}" style="width:{{width}};height:{{height}}">\n <div class="head" m:on:dblclick="onHeadDblClick">\n <m:toolbar m:id="toolbar" m:prop:mditor="self"></m:toolbar>\n </div>\n <div class="body">\n <m:editor m:id="editor" m:prop:mditor="self" m:model:value="value" m:on:scroll="syncScroll" m:on:changed="onChanged" m:on:input="onInput" m:on:paste="onPaste"></m:editor>\n <m:viewer m:id="viewer" m:prop:mditor="self" m:model:value="value"></m:viewer>\n <m:finder m:id="finder" m:prop:mditor="self"></m:viewer>\n </div>\n</div>'}]);
  11. //# sourceMappingURL=mditor.min.js.map