!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.DraftMaster=t(require("react"),require("react-dom")):e.DraftMaster=t(e.React,e.ReactDOM)}(this,function(e,t){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=170)}([function(t,n){t.exports=e},function(e,t,n){"use strict";var r=n(172),o=n(27),i=n(12),a=n(188),s=n(23),c=n(52),u=n(55),l=n(83),f=n(189),p=n(58),d=n(39),h=n(7),g=n(81),m=n(6),y=n(63),v=n(101),b=n(29),w=n(247),k=n(99),S=n(250),E=n(8),x=n(102),_=n(254),C={Editor:f,EditorBlock:p,EditorState:m,CompositeDecorator:a,Entity:d,EntityInstance:g,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:s,ContentState:c,SelectionState:b,AtomicBlockUtils:r,KeyBindingUtil:y,Modifier:h,RichUtils:v,DefaultDraftBlockRenderMap:u,DefaultDraftInlineStyle:l,convertFromHTML:k,convertFromRaw:S,convertToRaw:w,genKey:E,getDefaultKeyBinding:x,getVisibleSelectionRect:_};e.exports=C},function(e,t,n){"use strict";var r=n(263);n.d(t,"P",function(){return r.a});var o=n(268);n.d(t,"b",function(){return o.a});var i=n(104);n.d(t,"c",function(){return i.a});var a=n(269);n.d(t,"g",function(){return a.a});var s=n(270);n.d(t,"h",function(){return s.a});var c=n(271);n.d(t,"i",function(){return c.a});var u=n(272);n.d(t,"j",function(){return u.a});var l=n(273);n.d(t,"k",function(){return l.a});var f=n(274);n.d(t,"l",function(){return f.a});var p=n(275);n.d(t,"m",function(){return p.a});var d=n(276);n.d(t,"n",function(){return d.a});var h=n(277);n.d(t,"o",function(){return h.a});var g=n(278);n.d(t,"p",function(){return g.a});var m=(n(105),n(279));n.d(t,"r",function(){return m.a});var y=n(106);n.d(t,"s",function(){return y.a});var v=n(280);n.d(t,"t",function(){return v.a});var b=n(281);n.d(t,"u",function(){return b.a});var w=n(107);n.d(t,"w",function(){return w.a});var k=n(282);n.d(t,"x",function(){return k.a});var S=n(283);n.d(t,"y",function(){return S.a});var E=n(284);n.d(t,"z",function(){return E.a});var x=n(285);n.d(t,"A",function(){return x.a});var _=n(286);n.d(t,"B",function(){return _.a});var C=n(312);n.d(t,"C",function(){return C.a});var O=n(313);n.d(t,"E",function(){return O.a});var T=n(314);n.d(t,"F",function(){return T.a});var A=n(315);n.d(t,"H",function(){return A.a});var P=n(316);n.d(t,"I",function(){return P.a});var L=n(320);n.d(t,"d",function(){return L.a}),n.d(t,"e",function(){return L.b}),n.d(t,"f",function(){return L.c}),n.d(t,"q",function(){return L.d}),n.d(t,"D",function(){return L.e});var R=n(321);n.d(t,"a",function(){return R.a});var D=n(322);n.d(t,"G",function(){return D.a}),n.d(t,"J",function(){return D.b});var I=n(323);n.d(t,"K",function(){return I.a});var M=n(324);n.d(t,"L",function(){return M.a});var j=n(325);n.d(t,"v",function(){return j.a});var N=n(326);n.d(t,"M",function(){return N.a});var B=n(327);n.d(t,"N",function(){return B.a});var F=n(328);n.d(t,"O",function(){return F.a});var K=n(329);n.d(t,"Q",function(){return K.a});var q=n(67);n.d(t,"R",function(){return q.a})},function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";function e(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function t(e){return i(e)?e:A(e)}function n(e){return a(e)?e:P(e)}function r(e){return s(e)?e:L(e)}function o(e){return i(e)&&!c(e)?e:R(e)}function i(e){return!(!e||!e[un])}function a(e){return!(!e||!e[ln])}function s(e){return!(!e||!e[fn])}function c(e){return a(e)||s(e)}function u(e){return!(!e||!e[pn])}function l(e){return e.value=!1,e}function f(e){e&&(e.value=!0)}function p(){}function d(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?h(e)+t:t}function m(){return!0}function y(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function v(e,t){return w(e,t,0)}function b(e,t){return w(e,t,t)}function w(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}function k(e){this.next=e}function S(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function E(){return{value:void 0,done:!0}}function x(e){return!!O(e)}function _(e){return e&&"function"==typeof e.next}function C(e){var t=O(e);return t&&t.call(e)}function O(e){var t=e&&(Sn&&e[Sn]||e[En]);if("function"==typeof t)return t}function T(e){return e&&"number"==typeof e.length}function A(e){return null===e||void 0===e?B():i(e)?e.toSeq():q(e)}function P(e){return null===e||void 0===e?B().toKeyedSeq():i(e)?a(e)?e.toSeq():e.fromEntrySeq():F(e)}function L(e){return null===e||void 0===e?B():i(e)?a(e)?e.entrySeq():e.toIndexedSeq():K(e)}function R(e){return(null===e||void 0===e?B():i(e)?a(e)?e.entrySeq():e:K(e)).toSetSeq()}function D(e){this._array=e,this.size=e.length}function I(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function M(e){this._iterable=e,this.size=e.length||e.size}function j(e){this._iterator=e,this._iteratorCache=[]}function N(e){return!(!e||!e[_n])}function B(){return Cn||(Cn=new D([]))}function F(e){var t=Array.isArray(e)?new D(e).fromEntrySeq():_(e)?new j(e).fromEntrySeq():x(e)?new M(e).fromEntrySeq():"object"==typeof e?new I(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function K(e){var t=U(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function q(e){var t=U(e)||"object"==typeof e&&new I(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function U(e){return T(e)?new D(e):_(e)?new j(e):x(e)?new M(e):void 0}function z(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function H(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new k(function(){var e=o[n?i-a:a];return a++>i?E():S(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function V(e,t){return t?W(t,e,"",{"":e}):G(e)}function W(e,t,n,r){return Array.isArray(t)?e.call(r,n,L(t).map(function(n,r){return W(e,n,r,t)})):$(t)?e.call(r,n,P(t).map(function(n,r){return W(e,n,r,t)})):t}function G(e){return Array.isArray(e)?L(e).map(G).toList():$(e)?P(e).map(G).toMap():e}function $(e){return e&&(e.constructor===Object||void 0===e.constructor)}function X(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function Y(e,t){if(e===t)return!0;if(!i(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||a(e)!==a(t)||s(e)!==s(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&X(o[1],e)&&(n||X(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var l=e;e=t,t=l}var f=!0,p=t.__iterate(function(t,r){if(n?!e.has(t):o?!X(t,e.get(r,mn)):!X(e.get(r,mn),t))return f=!1,!1});return f&&e.size===p}function Z(e,t){if(!(this instanceof Z))return new Z(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(On)return On;On=this}}function J(e,t){if(!e)throw new Error(t)}function Q(e,t,n){if(!(this instanceof Q))return new Q(e,t,n);if(J(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t>>1&1073741824|3221225471&e}function ie(e){if(!1===e||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null===e||void 0===e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!==e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return oe(n)}if("string"===t)return e.length>jn?ae(e):se(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return ce(e);if("function"==typeof e.toString)return se(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ae(e){var t=Fn[e];return void 0===t&&(t=se(e),Bn===Nn&&(Bn=0,Fn={}),Bn++,Fn[e]=t),t}function se(e){for(var t=0,n=0;n0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function le(e){J(e!==1/0,"Cannot perform this action with an infinite size.")}function fe(e){return null===e||void 0===e?Se():pe(e)&&!u(e)?e:Se().withMutations(function(t){var r=n(e);le(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function pe(e){return!(!e||!e[Kn])}function de(e,t){this.ownerID=e,this.entries=t}function he(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function ge(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function me(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function ye(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function ve(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&we(e._root)}function be(e,t){return S(e,t[0],t[1])}function we(e,t){return{node:e,index:0,__prev:t}}function ke(e,t,n,r){var o=Object.create(qn);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Se(){return Un||(Un=ke(0))}function Ee(e,t,n){var r,o;if(e._root){var i=l(yn),a=l(vn);if(r=xe(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===mn?-1:1:0)}else{if(n===mn)return e;o=1,r=new de(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?ke(o,r):Se()}function xe(e,t,n,r,o,i,a,s){return e?e.update(t,n,r,o,i,a,s):i===mn?e:(f(s),f(a),new ye(t,r,[o,i]))}function _e(e){return e.constructor===ye||e.constructor===me}function Ce(e,t,n,r,o){if(e.keyHash===r)return new me(t,r,[e.entry,o]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&gn,s=(0===n?r:r>>>n)&gn;return new he(t,1<>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new ge(e,i+1,a)}function Pe(e,t,r){for(var o=[],a=0;a>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function je(e,t,n,r){var o=r?e:d(e);return o[t]=n,o}function Ne(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;s0&&oi?0:i-n,u=a-n;return u>hn&&(u=hn),function(){if(o===u)return Xn;var e=t?--u:o++;return r&&r[e]}}function o(e,r,o){var s,c=e&&e.array,u=o>i?0:i-o>>r,l=1+(a-o>>r);return l>hn&&(l=hn),function(){for(;;){if(s){var e=s();if(e!==Xn)return e;s=null}if(u===l)return Xn;var i=t?--l:u++;s=n(c&&c[i],r-dn,o+(i<=e.size||t<0)return e.withMutations(function(e){t<0?Xe(e,t).set(0,n):Xe(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,i=l(vn);return t>=Ze(e._capacity)?r=We(r,e.__ownerID,0,t,n,i):o=We(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):ze(e._origin,e._capacity,e._level,o,r):e}function We(e,t,n,r,o,i){var a=r>>>n&gn,s=e&&a0){var u=e&&e.array[a],l=We(u,t,n-dn,r,o,i);return l===u?e:(c=Ge(e,t),c.array[a]=l,c)}return s&&e.array[a]===o?e:(f(i),c=Ge(e,t),void 0===o&&a===c.array.length-1?c.array.pop():c.array[a]=o,c)}function Ge(e,t){return t&&e&&t===e.ownerID?e:new qe(e?e.array.slice():[],t)}function $e(e,t){if(t>=Ze(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&gn],r-=dn;return n}}function Xe(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new p,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var c=e._level,u=e._root,l=0;a+l<0;)u=new qe(u&&u.array.length?[void 0,u]:[],r),c+=dn,l+=1<=1<f?new qe([],r):h;if(h&&d>f&&adn;y-=dn){var v=f>>>y&gn;m=m.array[v]=Ge(m.array[v],r)}m.array[f>>>dn&gn]=h}if(s=d)a-=d,s-=d,c=dn,u=null,g=g&&g.removeBefore(r,0,a);else if(a>o||d>>c&gn;if(b!==d>>>c&gn)break;b&&(l+=(1<o&&(u=u.removeBefore(r,c,a-l)),u&&da&&(a=u.size),i(c)||(u=u.map(function(e){return V(e)})),o.push(u)}return a>e.size&&(e=e.setSize(a)),De(e,t,o)}function Ze(e){return e>>dn<=hn&&a.size>=2*i.size?(o=a.filter(function(e,t){return void 0!==e&&s!==t}),r=o.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):et(r,o)}function rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function ot(e){this._iter=e,this.size=e.size}function it(e){this._iter=e,this.size=e.size}function at(e){this._iter=e,this.size=e.size}function st(e){var t=Tt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=At,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return!1!==t(n,e,r)},n)},t.__iteratorUncached=function(t,n){if(t===kn){var r=e.__iterator(t,n);return new k(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===wn?bn:wn,n)},t}function ct(e,t,n){var r=Tt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,mn);return i===mn?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate(function(e,o,a){return!1!==r(t.call(n,e,o,a),o,i)},o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(kn,o);return new k(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return S(r,s,t.call(n,a[1],s,e),o)})},r}function ut(e,t){var n=Tt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=st(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=At,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function lt(e,t,n,r){var o=Tt(e);return r&&(o.has=function(r){var o=e.get(r,mn);return o!==mn&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,mn);return i!==mn&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate(function(e,i,c){if(t.call(n,e,i,c))return s++,o(e,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(kn,i),s=0;return new k(function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(t.call(n,l,u,e))return S(o,r?u:s++,l,i)}})},o}function ft(e,t,n){var r=fe().asMutable();return e.__iterate(function(o,i){r.update(t.call(n,o,i,e),0,function(e){return e+1})}),r.asImmutable()}function pt(e,t,n){var r=a(e),o=(u(e)?Je():fe()).asMutable();e.__iterate(function(i,a){o.update(t.call(n,i,a,e),function(e){return e=e||[],e.push(r?[a,i]:i),e})});var i=Ot(e);return o.map(function(t){return xt(e,i(t))})}function dt(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=o:n|=0),y(t,n,o))return e;var i=v(t,o),a=b(n,o);if(i!==i||a!==a)return dt(e.toSeq().cacheResult(),t,n,r);var s,c=a-i;c===c&&(s=c<0?0:c);var u=Tt(e);return u.size=0===s?s:e.size&&s||void 0,!r&&N(e)&&s>=0&&(u.get=function(t,n){return t=g(this,t),t>=0&&ts)return E();var e=o.next();return r||t===wn?e:t===bn?S(t,c-1,void 0,e):S(t,c-1,e.value[1],e)})},u}function ht(e,t,n){var r=Tt(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate(function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(kn,o),s=!0;return new k(function(){if(!s)return E();var e=a.next();if(e.done)return e;var o=e.value,c=o[0],u=o[1];return t.call(n,u,c,i)?r===kn?e:S(r,c,u,e):(s=!1,E())})},r}function gt(e,t,n,r){var o=Tt(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return e.__iterate(function(e,i,u){if(!s||!(s=t.call(n,e,i,u)))return c++,o(e,r?i:c-1,a)}),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(kn,i),c=!0,u=0;return new k(function(){var e,i,l;do{if(e=s.next(),e.done)return r||o===wn?e:o===bn?S(o,u++,void 0,e):S(o,u++,e.value[1],e);var f=e.value;i=f[0],l=f[1],c&&(c=t.call(n,l,i,a))}while(c);return o===kn?e:S(o,i,l,e)})},o}function mt(e,t){var r=a(e),o=[e].concat(t).map(function(e){return i(e)?r&&(e=n(e)):e=r?F(e):K(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===o.length)return e;if(1===o.length){var c=o[0];if(c===e||r&&a(c)||s(e)&&s(c))return c}var u=new D(o);return r?u=u.toKeyedSeq():s(e)||(u=u.toSetSeq()),u=u.flatten(!0),u.size=o.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),u}function yt(e,t,n){var r=Tt(e);return r.__iterateUncached=function(r,o){function a(e,u){var l=this;e.__iterate(function(e,o){return(!t||u0}function Et(e,n,r){var o=Tt(e);return o.size=new D(r).map(function(e){return e.size}).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(wn,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=r.map(function(e){return e=t(e),C(o?e.reverse():e)}),a=0,s=!1;return new k(function(){var t;return s||(t=i.map(function(e){return e.next()}),s=t.some(function(e){return e.done})),s?E():S(e,a++,n.apply(null,t.map(function(e){return e.value})))})},o}function xt(e,t){return N(e)?t:e.constructor(t)}function _t(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Ct(e){return le(e.size),h(e)}function Ot(e){return a(e)?n:s(e)?r:o}function Tt(e){return Object.create((a(e)?P:s(e)?L:R).prototype)}function At(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):A.prototype.cacheResult.call(this)}function Pt(e,t){return e>t?1:et?-1:0}function on(e){if(e.size===1/0)return 0;var t=u(e),n=a(e),r=t?1:0;return an(e.__iterate(n?t?function(e,t){r=31*r+sn(ie(e),ie(t))|0}:function(e,t){r=r+sn(ie(e),ie(t))|0}:t?function(e){r=31*r+ie(e)|0}:function(e){r=r+ie(e)|0}),r)}function an(e,t){return t=Pn(t,3432918353),t=Pn(t<<15|t>>>-15,461845907),t=Pn(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=Pn(t^t>>>16,2246822507),t=Pn(t^t>>>13,3266489909),t=oe(t^t>>>16)}function sn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var cn=Array.prototype.slice;e(n,t),e(r,t),e(o,t),t.isIterable=i,t.isKeyed=a,t.isIndexed=s,t.isAssociative=c,t.isOrdered=u,t.Keyed=n,t.Indexed=r,t.Set=o;var un="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",fn="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",dn=5,hn=1<r?E():S(e,o,n[t?r-o++:o++])})},e(I,P),I.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},I.prototype.has=function(e){return this._object.hasOwnProperty(e)},I.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(!1===e(n[a],a,this))return i+1}return i},I.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new k(function(){var a=r[t?o-i:i];return i++>o?E():S(e,a,n[a])})},I.prototype[pn]=!0,e(M,L),M.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=C(n),o=0;if(_(r))for(var i;!(i=r.next()).done&&!1!==e(i.value,o++,this););return o},M.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=C(n);if(!_(r))return new k(E);var o=0;return new k(function(){var t=r.next();return t.done?t:S(e,o++,t.value)})},e(j,L),j.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n=this._iterator,r=this._iteratorCache,o=0;o=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return S(e,o,r[o++])})};var Cn;e(Z,L),Z.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Z.prototype.get=function(e,t){return this.has(e)?this._value:t},Z.prototype.includes=function(e){return X(this._value,e)},Z.prototype.slice=function(e,t){var n=this.size;return y(e,t,n)?this:new Z(this._value,b(t,n)-v(e,n))},Z.prototype.reverse=function(){return this},Z.prototype.indexOf=function(e){return X(this._value,e)?0:-1},Z.prototype.lastIndexOf=function(e){return X(this._value,e)?this.size:-1},Z.prototype.__iterate=function(e,t){for(var n=0;n=0&&t=0&&nn?E():S(e,i++,a)})},Q.prototype.equals=function(e){return e instanceof Q?this._start===e._start&&this._end===e._end&&this._step===e._step:Y(this,e)};var Tn;e(ee,t),e(te,ee),e(ne,ee),e(re,ee),ee.Keyed=te,ee.Indexed=ne,ee.Set=re;var An,Pn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){e|=0,t|=0;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0},Ln=Object.isExtensible,Rn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Dn="function"==typeof WeakMap;Dn&&(An=new WeakMap);var In=0,Mn="__immutablehash__";"function"==typeof Symbol&&(Mn=Symbol(Mn));var jn=16,Nn=255,Bn=0,Fn={};e(fe,te),fe.of=function(){var e=cn.call(arguments,0);return Se().withMutations(function(t){for(var n=0;n=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}})},fe.prototype.toString=function(){return this.__toString("Map {","}")},fe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},fe.prototype.set=function(e,t){return Ee(this,e,t)},fe.prototype.setIn=function(e,t){return this.updateIn(e,mn,function(){return t})},fe.prototype.remove=function(e){return Ee(this,e,mn)},fe.prototype.deleteIn=function(e){return this.updateIn(e,function(){return mn})},fe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},fe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=Ie(this,Lt(e),t,n);return r===mn?void 0:r},fe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Se()},fe.prototype.merge=function(){return Pe(this,void 0,arguments)},fe.prototype.mergeWith=function(e){return Pe(this,e,cn.call(arguments,1))},fe.prototype.mergeIn=function(e){var t=cn.call(arguments,1);return this.updateIn(e,Se(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},fe.prototype.mergeDeep=function(){return Pe(this,Le,arguments)},fe.prototype.mergeDeepWith=function(e){var t=cn.call(arguments,1);return Pe(this,Re(e),t)},fe.prototype.mergeDeepIn=function(e){var t=cn.call(arguments,1);return this.updateIn(e,Se(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},fe.prototype.sort=function(e){return Je(wt(this,e))},fe.prototype.sortBy=function(e,t){return Je(wt(this,t,e))},fe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},fe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new p)},fe.prototype.asImmutable=function(){return this.__ensureOwner()},fe.prototype.wasAltered=function(){return this.__altered},fe.prototype.__iterator=function(e,t){return new ve(this,e,t)},fe.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},fe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?ke(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},fe.isMap=pe;var Kn="@@__IMMUTABLE_MAP__@@",qn=fe.prototype;qn[Kn]=!0,qn.delete=qn.remove,qn.removeIn=qn.deleteIn,de.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i=zn)return Oe(e,c,r,o);var h=e&&e===this.ownerID,g=h?c:d(c);return p?s?u===l-1?g.pop():g[u]=g.pop():g[u]=[r,o]:g.push([r,o]),h?(this.entries=g,this):new de(e,g)}},he.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=1<<((0===e?t:t>>>e)&gn),i=this.bitmap;return 0==(i&o)?r:this.nodes[Me(i&o-1)].get(e+dn,t,n,r)},he.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=(0===t?n:n>>>t)&gn,c=1<=Hn)return Ae(e,p,u,s,h);if(l&&!h&&2===p.length&&_e(p[1^f]))return p[1^f];if(l&&h&&1===p.length&&_e(h))return h;var g=e&&e===this.ownerID,m=l?h?u:u^c:u|c,y=l?h?je(p,f,h,g):Be(p,f,g):Ne(p,f,h,g);return g?(this.bitmap=m,this.nodes=y,this):new he(e,m,y)},ge.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=(0===e?t:t>>>e)&gn,i=this.nodes[o];return i?i.get(e+dn,t,n,r):r},ge.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=(0===t?n:n>>>t)&gn,c=o===mn,u=this.nodes,l=u[s];if(c&&!l)return this;var f=xe(l,e,t+dn,n,r,o,i,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p=0&&e>>t&gn;if(r>=this.array.length)return new qe([],e);var o,i=0===r;if(t>0){var a=this.array[r];if((o=a&&a.removeBefore(e,t-dn,n))===a&&i)return this}if(i&&!o)return this;var s=Ge(this,e);if(!i)for(var c=0;c>>t&gn;if(r>=this.array.length)return this;var o;if(t>0){var i=this.array[r];if((o=i&&i.removeAfter(e,t-dn,n))===i&&r===this.array.length-1)return this}var a=Ge(this,e);return a.array.splice(r+1),o&&(a.array[r]=o),a};var $n,Xn={};e(Je,fe),Je.of=function(){return this(arguments)},Je.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Je.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Je.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):tt()},Je.prototype.set=function(e,t){return nt(this,e,t)},Je.prototype.remove=function(e){return nt(this,e,mn)},Je.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Je.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Je.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Je.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?et(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Je.isOrderedMap=Qe,Je.prototype[pn]=!0,Je.prototype.delete=Je.prototype.remove;var Yn;e(rt,P),rt.prototype.get=function(e,t){return this._iter.get(e,t)},rt.prototype.has=function(e){return this._iter.has(e)},rt.prototype.valueSeq=function(){return this._iter.valueSeq()},rt.prototype.reverse=function(){var e=this,t=ut(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},rt.prototype.map=function(e,t){var n=this,r=ct(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},rt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?Ct(this):0,function(o){return e(o,t?--n:n++,r)}),t)},rt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(wn,t),r=t?Ct(this):0;return new k(function(){var o=n.next();return o.done?o:S(e,t?--r:r++,o.value,o)})},rt.prototype[pn]=!0,e(ot,L),ot.prototype.includes=function(e){return this._iter.includes(e)},ot.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},ot.prototype.__iterator=function(e,t){var n=this._iter.__iterator(wn,t),r=0;return new k(function(){var t=n.next();return t.done?t:S(e,r++,t.value,t)})},e(it,R),it.prototype.has=function(e){return this._iter.includes(e)},it.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},it.prototype.__iterator=function(e,t){var n=this._iter.__iterator(wn,t);return new k(function(){var t=n.next();return t.done?t:S(e,t.value,t.value,t)})},e(at,P),at.prototype.entrySeq=function(){return this._iter.toSeq()},at.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){_t(t);var r=i(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},at.prototype.__iterator=function(e,t){var n=this._iter.__iterator(wn,t);return new k(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){_t(r);var o=i(r);return S(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}})},ot.prototype.cacheResult=rt.prototype.cacheResult=it.prototype.cacheResult=at.prototype.cacheResult=At,e(Rt,te),Rt.prototype.toString=function(){return this.__toString(It(this)+" {","}")},Rt.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Rt.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},Rt.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Dt(this,Se()))},Rt.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+It(this));if(this._map&&!this._map.has(e)){if(t===this._defaultValues[e])return this}var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Dt(this,n)},Rt.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Dt(this,t)},Rt.prototype.wasAltered=function(){return this._map.wasAltered()},Rt.prototype.__iterator=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterator(e,t)},Rt.prototype.__iterate=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterate(e,t)},Rt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Dt(this,t,e):(this.__ownerID=e,this._map=t,this)};var Zn=Rt.prototype;Zn.delete=Zn.remove,Zn.deleteIn=Zn.removeIn=qn.removeIn,Zn.merge=qn.merge,Zn.mergeWith=qn.mergeWith,Zn.mergeIn=qn.mergeIn,Zn.mergeDeep=qn.mergeDeep,Zn.mergeDeepWith=qn.mergeDeepWith,Zn.mergeDeepIn=qn.mergeDeepIn,Zn.setIn=qn.setIn,Zn.update=qn.update,Zn.updateIn=qn.updateIn,Zn.withMutations=qn.withMutations,Zn.asMutable=qn.asMutable,Zn.asImmutable=qn.asImmutable,e(Nt,re),Nt.of=function(){return this(arguments)},Nt.fromKeys=function(e){return this(n(e).keySeq())},Nt.prototype.toString=function(){return this.__toString("Set {","}")},Nt.prototype.has=function(e){return this._map.has(e)},Nt.prototype.add=function(e){return Ft(this,this._map.set(e,!0))},Nt.prototype.remove=function(e){return Ft(this,this._map.remove(e))},Nt.prototype.clear=function(){return Ft(this,this._map.clear())},Nt.prototype.union=function(){var e=cn.call(arguments,0);return e=e.filter(function(e){return 0!==e.size}),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):$t(e,t)},Wt.prototype.pushAll=function(e){if(e=r(e),0===e.size)return this;le(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):$t(t,n)},Wt.prototype.pop=function(){return this.slice(1)},Wt.prototype.unshift=function(){return this.push.apply(this,arguments)},Wt.prototype.unshiftAll=function(e){return this.pushAll(e)},Wt.prototype.shift=function(){return this.pop.apply(this,arguments)},Wt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Xt()},Wt.prototype.slice=function(e,t){if(y(e,t,this.size))return this;var n=v(e,this.size);if(b(t,this.size)!==this.size)return ne.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):$t(r,o)},Wt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?$t(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Wt.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Wt.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new k(function(){if(r){var t=r.value;return r=r.next,S(e,n++,t)}return E()})},Wt.isStack=Gt;var rr="@@__IMMUTABLE_STACK__@@",or=Wt.prototype;or[rr]=!0,or.withMutations=qn.withMutations,or.asMutable=qn.asMutable,or.asImmutable=qn.asImmutable,or.wasAltered=qn.wasAltered;var ir;t.Iterator=k,Yt(t,{toArray:function(){le(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new ot(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new rt(this,!0)},toMap:function(){return fe(this.toKeyedSeq())},toObject:function(){le(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return Je(this.toKeyedSeq())},toOrderedSet:function(){return Ut(a(this)?this.valueSeq():this)},toSet:function(){return Nt(a(this)?this.valueSeq():this)},toSetSeq:function(){return new it(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Wt(a(this)?this.valueSeq():this)},toList:function(){return Fe(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return xt(this,mt(this,cn.call(arguments,0)))},includes:function(e){return this.some(function(t){return X(t,e)})},entries:function(){return this.__iterator(kn)},every:function(e,t){le(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1}),n},filter:function(e,t){return xt(this,lt(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return le(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){le(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""}),t},keys:function(){return this.__iterator(bn)},map:function(e,t){return xt(this,ct(this,e,t))},reduce:function(e,t,n){le(this.size);var r,o;return arguments.length<2?o=!0:r=t,this.__iterate(function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return xt(this,ut(this,!0))},slice:function(e,t){return xt(this,dt(this,e,t,!0))},some:function(e,t){return!this.every(Qt(e),t)},sort:function(e){return xt(this,wt(this,e))},values:function(){return this.__iterator(wn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return h(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return ft(this,e,t)},equals:function(e){return Y(this,e)},entrySeq:function(){var e=this;if(e._cache)return new D(e._cache);var t=e.toSeq().map(Jt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Qt(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate(function(n,o,i){if(e.call(t,n,o,i))return r=[o,n],!1}),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(m)},flatMap:function(e,t){return xt(this,vt(this,e,t))},flatten:function(e){return xt(this,yt(this,e,!0))},fromEntrySeq:function(){return new at(this)},get:function(e,t){return this.find(function(t,n){return X(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,o=Lt(e);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,mn):mn)===mn)return t}return r},groupBy:function(e,t){return pt(this,e,t)},has:function(e){return this.get(e,mn)!==mn},hasIn:function(e){return this.getIn(e,mn)!==mn},isSubset:function(e){return e="function"==typeof e.includes?e:t(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return e="function"==typeof e.isSubset?e:t(e),e.isSubset(this)},keyOf:function(e){return this.findKey(function(t){return X(t,e)})},keySeq:function(){return this.toSeq().map(Zt).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return kt(this,e)},maxBy:function(e,t){return kt(this,t,e)},min:function(e){return kt(this,e?en(e):rn)},minBy:function(e,t){return kt(this,t?en(t):rn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return xt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return xt(this,gt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Qt(e),t)},sortBy:function(e,t){return xt(this,wt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return xt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return xt(this,ht(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Qt(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=t.prototype;ar[un]=!0,ar[xn]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=tn,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,Yt(n,{flip:function(){return xt(this,st(this))},mapEntries:function(e,t){var n=this,r=0;return xt(this,this.toSeq().map(function(o,i){return e.call(t,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return xt(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var sr=n.prototype;return sr[ln]=!0,sr[xn]=ar.entries,sr.__toJS=ar.toObject,sr.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+tn(e)},Yt(r,{toKeyedSeq:function(){return new rt(this,!1)},filter:function(e,t){return xt(this,lt(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return xt(this,ut(this,!1))},slice:function(e,t){return xt(this,dt(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=v(e,e<0?this.count():this.size);var r=this.slice(0,e);return xt(this,1===n?r:r.concat(d(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return xt(this,yt(this,e,!1))},get:function(e,t){return e=g(this,e),e<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return(e=g(this,e))>=0&&(void 0!==this.size?this.size===1/0||e0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):f(e,n)}function l(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);return r0?o.getInlineStyleAt(r-1):f(e,n)}function f(e,t){var n=e.getBlockMap().reverse().skipUntil(function(e,n){return n===t}).skip(1).skipUntil(function(e,t){return e.getLength()}).first();return n?n.getInlineStyleAt(n.getLength()-1):b()}var p=n(19),d=p||function(e){for(var t=1;t=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i+=e,i=i.substr(0,n)}var o,i="";e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(3),s=a.Map,c=a.OrderedSet,u=a.Record,l=c(),f={style:l,entity:null},p=u(f),d=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.getStyle=function(){return this.get("style")},t.prototype.getEntity=function(){return this.get("entity")},t.prototype.hasStyle=function(e){return this.getStyle().includes(e)},t.applyStyle=function(e,n){var r=e.set("style",e.getStyle().add(n));return t.create(r)},t.removeStyle=function(e,n){var r=e.set("style",e.getStyle().remove(n));return t.create(r)},t.applyEntity=function(e,n){var r=e.getEntity()===n?e:e.set("entity",n);return t.create(r)},t.create=function(e){if(!e)return h;var n={style:l,entity:null},r=s(n).merge(e),o=g.get(r);if(o)return o;var i=new t(r);return g=g.set(r,i),i},t}(p),h=new d,g=s([[s(f),h]]);d.EMPTY=h,e.exports=d},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],l=0;c=new Error(t.replace(/%s/g,function(){return u[l++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};e.exports=r},function(e,t,n){"use strict";function r(e,t,n){return t.map(function(t){if("spliter"===t)return t;var r=e[t];return i.a.createElement(r,a({key:t},n))}).filter(Boolean)}t.a=r;var o=n(0),i=n.n(o),a=Object.assign||function(e){for(var t=1;t=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function i(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))}),e.splice(i,0,r)}}function a(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function c(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}t=e.exports=n(260),t.log=a,t.formatArgs=i,t.save=s,t.load=c,t.useColors=o,t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(c())}).call(t,n(31))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(346),i=r(o),a=n(117),s=r(a);e.exports={TransitionGroup:s.default,CSSTransitionGroup:i.default}},function(e,t){function n(){for(var e={},t=0;tr||n<=0)return"";var o=0;if(t>0){for(;t>0&&o=r)return""}else if(t<0){for(o=r;t<0&&00&&s=a},t.prototype.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},t.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},t.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},t.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},t.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},t.createEmpty=function(e){return new t({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},t}(u);e.exports=l},function(e,t,n){"use strict";function r(e){return"object"==typeof e?Object.keys(e).filter(function(t){return e[t]}).map(o).join(" "):Array.prototype.map.call(arguments,o).join(" ")}function o(e){return e.replace(/\//g,"-")}e.exports=r},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){g&&d&&(g=!1,d.length?h=d.concat(h):m=-1,h.length&&s())}function s(){if(!g){var e=o(a);g=!0;for(var t=h.length;t;){for(d=h,h=[];++m1)for(var n=1;n=48&&t<=57}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=t.getAnchorKey();return e.getBlockForKey(n).getText().length===t.getStartOffset()}function i(e,t){return!!o(e,t)&&t.getAnchorKey()===e.getLastBlock().getKey()}function a(e,t){var n=t.getAnchorKey();return 0===e.getBlockForKey(n).getText().length}function s(e,t,n){if(t||e){var r=void 0,o=void 0;return n?(r=t||e,o=t?0:r.getLength()):(r=e||t,o=e?r.getLength():0),h.SelectionState.createEmpty(r.getKey()).merge({anchorOffset:o,focusOffset:o,hasFocus:!0})}}function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=e.getBlockMap(),o=t.getKey(),i=e.getBlockAfter(o),a=e.getBlockBefore(o);if(!i&&!a)return"atomic"===t.getType()&&t.getData().mathjax?h.ContentState.createFromText(""):e;var c=r.delete(o);return e.set("blockMap",c).set("selectionAfter",s(a,i,n))}function u(e,t,n,r){var o=h.SelectionState.createEmpty(t).merge({anchorOffset:n,focusOffset:r});return h.Modifier.removeRange(e,o,"backward")}function l(e){return function(t,n,r){e.setEditorReadOnly(!1);var o=h.EditorState.push(e.getEditorState(),t,r?"remove-range":"update-math");void 0!==n?(e.setEditorState(h.EditorState.forceSelection(o,n),!0),setTimeout(function(){return e.getEditorRef().focus()},5)):e.setEditorState(o,!0)}}function f(e){var t=e.after,n=e.contentState,r=e.teX,o=e.displaystyle,i=e.entityKey,a=e.blockKey,s=e.startPos,c=0===r.length,l=void 0,f=void 0;if(c)l=u(n,a,s,s+1),f=l.getSelectionAfter();else if(l=n.mergeEntityData(i,{teX:r,displaystyle:o}),void 0!==t){var p=t?s+2:s;f=h.SelectionState.createEmpty(a).merge({anchorOffset:p,focusOffset:p,hasFocus:!0})}return[l,f,c]}function p(e){var t=e.after,n=e.contentState,r=e.teX,o=e.block,i=0===r.length,a=o.getKey(),u=void 0,l=void 0;return i?(u=c(n,o,t),l=u.getSelectionAfter()):(u=h.Modifier.mergeBlockData(n,h.SelectionState.createEmpty(a),Object(g.Map)({teX:r})),void 0!==t&&(l=s(n.getBlockBefore(a),n.getBlockAfter(a),t))),[u,l,i]}function d(e){var t=e.block,n=e.entityKey,o=e.displaystyle,i=e.blockKey,a=e.startPos,s=r(e,["block","entityKey","displaystyle","blockKey","startPos"]);return n?f(m({},s,{entityKey:n,displaystyle:o,blockKey:i,startPos:a})):p(m({},s,{block:t}))}t.b=o,t.c=i,t.d=a,t.a=l,t.e=d;var h=n(1),g=(n.n(h),n(3)),m=(n.n(g),Object.assign||function(e){for(var t=1;t1,"convertToHTML: Element of type "+e.type+" must render children"),i()(t.length<3,"convertToHTML: Element of type "+e.type+" cannot use carriage return character"),{start:t[0],end:t[1]}}t.a=r;var o=n(14),i=n.n(o),a=n(0),s=n.n(a),c=n(33),u=n.n(c),l=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t,n=e.store,o=e.theme,i=(e.env,e.inlineStyle),u=e.children,l=function(){n.setEditorState(c.RichUtils.toggleInlineStyle(n.getEditorState(),i))},f=n.getEditorState(),p="code-block"===c.RichUtils.getCurrentBlockType(f),d=s(o.button,(t={},r(t,o.disabled,p),r(t,o.actived,!p&&function(){var e=n.getEditorState();try{return e.getCurrentInlineStyle().contains(i)}catch(e){return!1}}()),t));return a.a.createElement("div",{className:o.buttonWrapper},a.a.createElement("button",{className:d,onClick:p?null:l},u))}t.a=o;var i=n(0),a=n.n(i),s=n(4),c=(n.n(s),n(1));n.n(c)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t,n=e.store,o=e.theme,i=e.toggle,u=e.disabled,l=e.blockType,f=e.children;i=i||function(){n.setEditorState(c.RichUtils.toggleBlockType(n.getEditorState(),l))};var p=function(){var e=n.getEditorState(),t=e.getCurrentContent(),r=e.getSelection();try{return t.getBlockForKey(r.getStartKey()).getType()===l}catch(e){return!1}}(),d=s(o.button,(t={},r(t,o.disabled,u),r(t,o.actived,!u&&p),t));return a.a.createElement("div",{className:o.buttonWrapper},a.a.createElement("button",{className:d,onClick:function(){return i(p)}},f))}t.a=o;var i=n(0),a=n.n(i),s=n(4),c=(n.n(s),n(1));n.n(c)},function(e,t,n){function r(e){return o(e)||i}var o=n(364),i="\n";e.exports=r},function(e,t,n){"use strict";n.d(t,"a",function(){return Se});var r=n(375),o=(n.n(r),n(127)),i=(n.n(o),n(376)),a=(n.n(i),n(377)),s=(n.n(a),n(378)),c=(n.n(s),n(379)),u=(n.n(c),n(380)),l=(n.n(u),n(381)),f=(n.n(l),n(382)),p=(n.n(f),n(383)),d=(n.n(p),n(384)),h=(n.n(d),n(385)),g=(n.n(h),n(386)),m=(n.n(g),n(387)),y=(n.n(m),n(388)),v=(n.n(y),n(389)),b=(n.n(v),n(390)),w=(n.n(b),n(391)),k=(n.n(w),n(392)),S=(n.n(k),n(393)),E=(n.n(S),n(394)),x=(n.n(E),n(395)),_=(n.n(x),n(396)),C=(n.n(_),n(397)),O=(n.n(C),n(398)),T=(n.n(O),n(399)),A=(n.n(T),n(400)),P=(n.n(A),n(401)),L=(n.n(P),n(402)),R=(n.n(L),n(403)),D=(n.n(R),n(404)),I=(n.n(D),n(405)),M=(n.n(I),n(406)),j=(n.n(M),n(407)),N=(n.n(j),n(408)),B=(n.n(N),n(409)),F=(n.n(B),n(410)),K=(n.n(F),n(411)),q=(n.n(K),n(412)),U=(n.n(q),n(413)),z=(n.n(U),n(414)),H=(n.n(z),n(415)),V=(n.n(H),n(416)),W=(n.n(V),n(417)),G=(n.n(W),n(418)),$=(n.n(G),n(419)),X=(n.n($),n(420)),Y=(n.n(X),n(421)),Z=(n.n(Y),n(422)),J=(n.n(Z),n(423)),Q=(n.n(J),n(424)),ee=(n.n(Q),n(425)),te=(n.n(ee),n(426)),ne=(n.n(te),n(427)),re=(n.n(ne),n(428)),oe=(n.n(re),n(429)),ie=(n.n(oe),n(430)),ae=(n.n(ie),n(431)),se=(n.n(ae),n(432)),ce=(n.n(se),n(433)),ue=(n.n(ce),n(434)),le=(n.n(ue),n(435)),fe=(n.n(le),n(436)),pe=(n.n(fe),n(437)),de=(n.n(pe),n(438)),he=(n.n(de),n(439)),ge=(n.n(he),n(440)),me=(n.n(ge),n(441)),ye=(n.n(me),n(442)),ve=(n.n(ye),n(443)),be=(n.n(ve),n(444)),we=(n.n(be),n(445)),ke=(n.n(we),n(446)),Se=(n.n(ke),o);Se.languages.gfm=Se.languages.md=Se.languages.extend("markdown",{})},function(e,t,n){"use strict";(function(e){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"b",function(){return D});var a=n(0),s=n.n(a),c=n(16),u=n.n(c),l=n(18),f=n.n(l),p=n(451),d=n(452),h=n(453),g=n(454),m=n(455),y=function(){function e(e,t){for(var n=0;n=0},C=function(e){var t=u.a.findDOMNode(e);if(!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))return!1;var n=void 0,r=void 0;try{var o=t.getBoundingClientRect();n=o.top,r=o.height}catch(e){n=v.top,r=v.height}var i=window.innerHeight||document.documentElement.clientHeight,a=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return n-a[0]<=i&&n+r+a[1]>=0},O=function(e){var t=u.a.findDOMNode(e);if(t){var n=Object(d.a)(t);(e.props.overflow&&n!==t.ownerDocument&&n!==document&&n!==document.documentElement?_(e,n):C(e))?e.visible||(e.props.once&&k.push(e),e.visible=!0,e.forceUpdate()):e.props.once&&e.visible||(e.visible=!1,e.props.unmountIfInvisible&&e.forceUpdate())}},T=function(){k.forEach(function(e){var t=w.indexOf(e);-1!==t&&w.splice(t,1)}),k=[]},A=function(){for(var e=0;e65535&&(H-=65536,X+=h(H>>>10|55296),H=56320|1023&H),H=X+h(H))):Q!==P&&G(B,re)),H?(l(),te=n(),me=oe-1,ve+=oe-J+1,ke.push(H),ne=n(),ne.offset++,ce&&ce.call(fe,H,{start:te,end:ne},e.slice(J-1,oe)),te=ne):(U=e.slice(J-1,oe),we+=U,ve+=U.length,me=oe-1)}return ke.join(O)}function i(e){return e>=55296&&e<=57343||e>1114111}function a(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}var s=n(512),c=n(138),u=n(513),l=n(34),f=n(139),p=n(140);e.exports=r;var d={}.hasOwnProperty,h=String.fromCharCode,g=Function.prototype,m="\ufffd",y="\f",v="&",b="#",w=";",k="\n",S="x",E="X",x=" ",_="<",C="=",O="",T="\t",A={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},P="named",L="hexadecimal",R="decimal",D={};D[L]=16,D[R]=10;var I={};I[P]=p,I[R]=l,I[L]=f;var M=1,j=2,N=3,B=4,F=5,K=6,q=7,U="Numeric character references",z=" must be terminated by a semicolon",H=" cannot be empty",V={};V[M]="Named character references"+z,V[j]=U+z,V[N]="Named character references"+H,V[B]=U+H,V[F]="Named character references must be known",V[K]=U+" cannot be disallowed",V[q]=U+" cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),c=n(632),u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=function(){function e(e,t){for(var n=0;n1||e.first().getLength()>0},t.prototype.createEntity=function(e,t,n){return u.__create(e,t,n),this},t.prototype.mergeEntityData=function(e,t){return u.__mergeData(e,t),this},t.prototype.replaceEntityData=function(e,t){return u.__replaceData(e,t),this},t.prototype.addEntity=function(e){return u.__add(e),this},t.prototype.getEntity=function(e){return u.__get(e)},t.createFromBlockArray=function(e,n){var r=Array.isArray(e)?e:e.contentBlocks,o=a.createFromArray(r),i=o.isEmpty()?new f:f.createEmpty(o.first().getKey());return new t({blockMap:o,entityMap:n||u,selectionBefore:i,selectionAfter:i})},t.createFromText=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,r=e.split(n),o=r.map(function(e){return e=d(e),new c({key:p(),text:e,type:"unstyled",characterList:h(m(s.EMPTY,e.length))})});return t.createFromBlockArray(o)},t}(v);e.exports=b},function(e,t,n){"use strict";function r(e){return e.replace(o,"")}var o=new RegExp("\r","g");e.exports=r},function(e,t,n){"use strict";function r(e){return e===l||e===f}function o(e){return r(e)||u(!1),e===l?"ltr":"rtl"}function i(e,t){return r(e)||u(!1),r(t)||u(!1),e===t?null:o(e)}function a(e){p=e}function s(){a(l)}function c(){return p||this.initGlobalDir(),p||u(!1),p}var u=n(5),l="LTR",f="RTL",p=null,d={NEUTRAL:"NEUTRAL",LTR:l,RTL:f,isStrong:r,getHTMLDir:o,getHTMLDirIfDifferent:i,setGlobalDir:a,initGlobalDir:s,getGlobalDir:c};e.exports=d},function(e,t,n){"use strict";var r=n(3),o=r.Map,i=n(0),a=n(30),s=i.createElement("ul",{className:a("public/DraftStyleDefault/ul")}),c=i.createElement("ol",{className:a("public/DraftStyleDefault/ol")}),u=i.createElement("pre",{className:a("public/DraftStyleDefault/pre")}),l=o({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:s},"ordered-list-item":{element:"li",wrapper:c},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:u},unstyled:{element:"div",aliasedElements:["p"]}});e.exports=l},function(e,t,n){"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},function(e,t,n){"use strict";function r(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(r).getEntityAt(i-1),o(e.getEntityMap(),n)):null}var a=t.getStartKey(),s=t.getStartOffset(),c=e.getBlockForKey(a);return n=s===c.getLength()?null:c.getEntityAt(s),o(e.getEntityMap(),n)}function o(e,t){if(t){return"MUTABLE"===e.__get(t).getMutability()?t:null}return null}e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t}var s=n(19),c=s||function(e){for(var t=1;t0&&window.scrollTo(i.x,i.y+n+10)}else{r instanceof HTMLElement||k(!1);n=r.offsetHeight+r.offsetTop-(o.offsetHeight+i.y),n>0&&d.setTop(o,d.getTop(o)+n+10)}}},t.prototype._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),o=this.props.tree.size-1,i=a(this.props.selection,n);return this.props.tree.map(function(a,s){var p=a.get("leaves"),d=p.size-1,h=p.map(function(a,c){var p=l.encode(n,s,c),h=a.get("start"),g=a.get("end");return f.createElement(u,{key:p,offsetKey:p,block:t,start:h,selection:i?e.props.selection:void 0,forceSelection:e.props.forceSelection,text:r.slice(h,g),styleSet:t.getInlineStyleAt(h),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===o&&c===d})}).toArray(),y=a.get("decoratorKey");if(null==y)return h;if(!e.props.decorator)return h;var v=S(e.props.decorator),b=v.getComponentForKey(y);if(!b)return h;var w=v.getPropsForKey(y),k=l.encode(n,s,0),E=r.slice(p.first().get("start"),p.last().get("end")),x=m.getHTMLDirIfDifferent(g.getDirection(E),e.props.direction);return f.createElement(b,c({},w,{contentState:e.props.contentState,decoratedText:E,dir:x,key:k,entityKey:t.getEntityAt(a.get("start")),offsetKey:k}),h)}).toArray()},t.prototype.render=function(){var e=this.props,t=e.direction,n=e.offsetKey,r=y({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===t,"public/DraftStyleDefault/rtl":"RTL"===t});return f.createElement("div",{"data-offset-key":n,className:r},this._renderChildren())},t}(f.Component);e.exports=E},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(201);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=i.get(e,t);return"auto"===n||"scroll"===n}var o=n(203),i={get:o,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(r(e,"overflow")||r(e,"overflowY")||r(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}};e.exports=i},function(e,t,n){"use strict";function r(e){var t=o(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=i(e),r=e===t?e.ownerDocument.documentElement:e,a=e.scrollWidth-r.clientWidth,s=e.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}var o=n(207),i=n(208);e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=e;t&&t!==document.documentElement;){var n=o(t);if(null!=n)return n;t=t.parentNode}return null}var o=n(90);e.exports=r},function(e,t,n){"use strict";var r=n(17),o=r.isPlatform("Mac OS X"),i={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return o&&e.altKey},hasCommandModifier:function(e){return o?!!e.metaKey&&!e.altKey:i.isCtrlKeyCommand(e)}};e.exports=i},function(e,t,n){"use strict";function r(e,t){var n=e.getSelection(),r=e.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(t>i){var c=r.getKeyBefore(o);if(null==c)a=o;else{a=c;s=r.getBlockForKey(c).getText().length}}else s=i-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}e.exports=r},function(e,t,n){var r,o;!function(n){r=[],void 0!==(o=function(){var e=function(e,t){t=t||{};var r=t.verbose||!1;r&&console.log("Normalize the JSON Object"),e="string"==typeof e?this.JSON.parse(e):e,r&&console.log("Creating a empty dictionary");var i={strings:[],integers:[],floats:[]};r&&console.log("Creating the AST");var s=function e(t){r&&console.log("Calling recursiveAstBuilder with "+this.JSON.stringify(t));var s=typeof t;if(null===t)return{type:"null",index:-3};if(void 0===t)return{type:"undefined",index:-5};if(t instanceof Array){var c=["@"];for(var u in t)t.hasOwnProperty(u)&&c.push(e(t[u]));return c}if("object"===s){var c=["$"];for(var l in t)t.hasOwnProperty(l)&&(c.push(e(l)),c.push(e(t[l])));return c}if(""===t)return{type:"empty",index:-4};if("string"===s){var f=a.call(i.strings,t);return-1==f&&(i.strings.push(n(t)),f=i.strings.length-1),{type:"strings",index:f}}if("number"===s&&t%1==0){var f=a.call(i.integers,t);return-1==f&&(i.integers.push(o(t)),f=i.integers.length-1),{type:"integers",index:f}}if("number"===s){var f=a.call(i.floats,t);return-1==f&&(i.floats.push(t),f=i.floats.length-1),{type:"floats",index:f}}if("boolean"===s)return{type:"boolean",index:t?-1:-2};throw new Error("Unexpected argument of type "+typeof t)}(e),c=i.strings.length,u=i.integers.length;i.floats.length;r&&console.log("Parsing the dictionary");var l=i.strings.join("|");return l+="^"+i.integers.join("|"),l+="^"+i.floats.join("|"),r&&console.log("Parsing the structure"),l+="^"+function e(t){if(r&&console.log("Calling a recursiveParser with "+this.JSON.stringify(t)),t instanceof Array){var n=t.shift();for(var i in t)t.hasOwnProperty(i)&&(n+=e(t[i])+"|");return("|"===n[n.length-1]?n.slice(0,-1):n)+"]"}var a=t.type,s=t.index;if("strings"===a)return o(s);if("integers"===a)return o(c+s);if("floats"===a)return o(c+u+s);if("boolean"===a)return t.index;if("null"===a)return-3;if("undefined"===a)return-5;if("empty"===a)return-4;throw new TypeError("The item is alien!")}(s),r&&console.log("Ending parser"),t.debug?{dictionary:i,ast:s,packed:l}:l},t=function(e,t){t=t||{};var n=e.split("^");t.verbose&&console.log("Building dictionary");var o=[],a=n[0];if(""!==a){a=a.split("|"),t.verbose&&console.log("Parse the strings dictionary");for(var s=0,c=a.length;s":e}var o=n(594);e.exports=r;var i=/\s/},function(e,t,n){"use strict";function r(e){var t=-1===e.indexOf('"')?'"':"'";return t+e+t}e.exports=r},function(e,t,n){"use strict";var r=n(174);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),o={},a=t.getStartKey(),s=t.getStartOffset(),c=n.get(a),u=i(r,c,s);u!==c&&(o[a]=u);var l=t.getEndKey(),f=t.getEndOffset(),p=n.get(l);a===l&&(p=u);var d=i(r,p,f);return d!==p&&(o[l]=d),Object.keys(o).length?e.merge({blockMap:n.merge(o),selectionAfter:t}):e.set("selectionAfter",t)}function o(e,t,n){var r;return s(e,function(e,t){return e.getEntity()===t.getEntity()},function(e){return e.getEntity()===t},function(e,t){e<=n&&t>=n&&(r={start:e,end:t})}),"object"!=typeof r&&c(!1),r}function i(e,t,n){var r=t.getCharacterList(),i=n>0?r.get(n-1):void 0,s=n0},e}();e.exports=l},function(e,t,n){"use strict";function r(e){if(e instanceof Element){var t=e.getAttribute("data-offset-key");if(t)return t;for(var n=0;n0&&(n=r.childNodes.length)),0===n){var l=null;if(null!=a)l=a;else{var d=o(r);l=p(u(d))}return{key:l,offset:0}}var h=r.childNodes[n-1],g=null,m=null;if(u(h)){var y=i(h);g=p(u(y)),m=s(y)}else g=p(a),m=s(h);return{key:g,offset:m}}function s(e){var t=e.textContent;return"\n"===t?0:t.length}var c=n(62),u=n(90),l=n(92),f=n(5),p=n(9);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=t?l.exec(e):c.exec(e);return n?n[0]:e}var o=n(230),i=o.getPunctuation(),a="\\s|(?![_])"+i,s="^(?:"+a+")*(?:['\u2018\u2019]|(?!"+a+").)*(?:(?!"+a+").)",c=new RegExp(s),u="(?:(?!"+a+").)(?:['\u2018\u2019]|(?!"+a+").)*(?:"+a+")*$",l=new RegExp(u),f={getBackward:function(e){return r(e,!0)},getForward:function(e){return r(e,!1)}};e.exports=f},function(e,t,n){"use strict";function r(e,t){var n,r=e.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=e.getCurrentContent(),s=o;return t>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+t,r.merge({focusKey:s,focusOffset:n})}e.exports=r},function(e,t,n){"use strict";function r(){return{text:"",inlines:[],entities:[],blocks:[]}}function o(e){var t=new Array(1);return e&&(t[0]=e),{text:I,inlines:[D()],entities:t,blocks:[]}}function i(){return{text:"\n",inlines:[D()],entities:new Array(1),blocks:[]}}function a(e,t){return{text:"\r",inlines:[D()],entities:new Array(1),blocks:[{type:e,depth:Math.max(0,Math.min(M,t))}]}}function s(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null}function c(e){var t=e.get("unstyled").element,n=_([]);return e.forEach(function(e){e.aliasedElements&&e.aliasedElements.forEach(function(e){n=n.add(e)}),n=n.add(e.element)}),n.filter(function(e){return e&&e!==t}).toArray().sort()}function u(e,t,n){for(var r=0;r=0?e.add("BOLD"):U.indexOf(t)>=0&&e.remove("BOLD"),"italic"===n?e.add("ITALIC"):"normal"===n&&e.remove("ITALIC"),"underline"===r&&e.add("UNDERLINE"),"line-through"===r&&e.add("STRIKETHROUGH"),"none"===r&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}).toOrderedSet()}return n}function p(e,t){var n=e.text.slice(-1),r=t.text.slice(0,1);if("\r"===n&&"\r"===r&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===n){if(t.text===I||"\n"===t.text)return e;r!==I&&"\n"!==r||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks)}}function d(e,t){return t.some(function(t){return-1!==e.indexOf("<"+t)})}function h(e){e instanceof HTMLAnchorElement||A(!1);var t=e.protocol;return"http:"===t||"https:"===t||"mailto:"===t}function g(e,t,n,s,c,u,d,m,y){var b=t.nodeName.toLowerCase(),w=!1,k="unstyled",E=v,x=e;if("#text"===b){var _=t.textContent;return""===_.trim()&&"pre"!==c?{chunk:o(y),entityMap:e}:("pre"!==c&&(_=_.replace(N,I)),v=b,{chunk:{text:_,inlines:Array(_.length).fill(n),entities:Array(_.length).fill(y),blocks:[]},entityMap:e})}if(v=b,"br"===b)return"br"!==E||c&&"unstyled"!==l(c,s,m)?{chunk:i(),entityMap:e}:{chunk:a("unstyled",d),entityMap:e};if("img"===b&&t instanceof HTMLImageElement&&t.attributes.getNamedItem("src")&&t.attributes.getNamedItem("src").value){var O=t,T={};V.forEach(function(e){var t=O.getAttribute(e);t&&(T[e]=t)}),t.textContent="\ud83d\udcf7",y=S.__create("IMAGE","MUTABLE",T||{})}var A=r(),P=null;n=f(b,t,n),"ul"!==b&&"ol"!==b||(s&&(d+=1),s=b),c||-1===u.indexOf(b)?s&&"li"===c&&"li"===b&&(A=a(l(b,s,m),d),c=b,w=!0,k="ul"===s?"unordered-list-item":"ordered-list-item"):(A=a(l(b,s,m),d),c=b,w=!0);var L=t.firstChild;null!=L&&(b=L.nodeName.toLowerCase());for(var R=null;L;){L instanceof HTMLAnchorElement&&L.href&&h(L)?function(){var e=L,t={};H.forEach(function(n){var r=e.getAttribute(n);r&&(t[n]=r)}),t.url=new C(e.href).toString(),R=S.__create("LINK","MUTABLE",t||{})}():R=void 0;var D=g(x,L,n,s,c,u,d,m,R||y),M=D.chunk,j=D.entityMap;P=M,x=j,A=p(A,P);var B=L.nextSibling;B&&u.indexOf(b)>=0&&c&&(A=p(A,i())),B&&(b=B.nodeName.toLowerCase()),L=B}return w&&(A=p(A,a(k,d))),{chunk:A,entityMap:x}}function m(e,t,n,r){e=e.trim().replace(j,"").replace(B,I).replace(F,"").replace(K,"");var o=c(n),i=t(e);if(!i)return null;v=null;var a=d(e,o)?o:["div"],s=g(r,i,D(),"ul",null,a,-1,n),u=s.chunk,l=s.entityMap;return 0===u.text.indexOf("\r")&&(u={text:u.text.slice(1),inlines:u.inlines.slice(1),entities:u.entities.slice(1),blocks:u.blocks}),"\r"===u.text.slice(-1)&&(u.text=u.text.slice(0,-1),u.inlines=u.inlines.slice(0,-1),u.entities=u.entities.slice(0,-1),u.blocks.pop()),0===u.blocks.length&&u.blocks.push({type:"unstyled",depth:0}),u.text.split("\r").length===u.blocks.length+1&&u.blocks.unshift({type:"unstyled",depth:0}),{chunk:u,entityMap:l}}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k,r=m(e,t,n,S);if(null==r)return null;var o=r.chunk,i=r.entityMap,a=0;return{contentBlocks:o.text.split("\r").map(function(e,t){e=L(e);var n=a+e.length,r=P(o).inlines.slice(a,n),i=P(o).entities.slice(a,n),s=R(r.map(function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),b.create(n)}));return a=n+1,new w({key:O(),type:P(o).blocks[t].type,depth:P(o).blocks[t].depth,text:e,characterList:s})}),entityMap:i}}var v,b=n(12),w=n(23),k=n(55),S=n(39),E=n(3),x=n(3),_=x.Set,C=n(241),O=n(8),T=n(100),A=n(5),P=n(9),L=n(53),R=E.List,D=E.OrderedSet,I=" ",M=4,j=new RegExp("\r","g"),N=new RegExp("\n","g"),B=new RegExp(" ","g"),F=new RegExp(" ?","g"),K=new RegExp("​?","g"),q=["bold","bolder","500","600","700","800","900"],U=["light","lighter","100","200","300","400"],z={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},H=["className","href","rel","target","title"],V=["alt","className","height","src","width"];e.exports=y},function(e,t,n){"use strict";function r(e){var t,n=null;return!a&&document.implementation&&document.implementation.createHTMLDocument&&(t=document.implementation.createHTMLDocument("foo"),t.documentElement||i(!1),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n}var o=n(17),i=n(5),a=o.isBrowser("IE <= 9");e.exports=r},function(e,t,n){"use strict";var r=n(7),o=n(6),i=(n(29),n(242)),a=n(9),s={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some(function(e){var t=e.getEntity();return!!t&&"LINK"===r.__get(t).getType()})},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t){switch(t){case"bold":return s.toggleInlineStyle(e,"BOLD");case"italic":return s.toggleInlineStyle(e,"ITALIC");case"underline":return s.toggleInlineStyle(e,"UNDERLINE");case"code":return s.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=r.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=o.push(e,t,"insert-characters");return o.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),c=n.merge({blockMap:a,selectionAfter:t});if(c!==n)return o.push(e,c,"remove-range")}var u=s.tryToRemoveBlockStyle(e);return u?o.push(e,u,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),a=n.getBlockForKey(i),s=a.getLength();if(t.getStartOffset()0&&a!==s)return null;var c=a.getType(),u=i.getBlockBefore(o);if("code-block"===c&&u&&"code-block"===u.getType())return null;if("unstyled"!==c)return r.setBlockType(i,t,"unstyled")}return null}};e.exports=s},function(e,t,n){"use strict";function r(e){return f&&e.altKey||g(e)}function o(e){return h(e)?e.shiftKey?"redo":"undo":null}function i(e){return p&&e.shiftKey?null:r(e)?"delete-word":"delete"}function a(e){return h(e)&&f?"backspace-to-start-of-line":r(e)?"backspace-word":"backspace"}function s(e){switch(e.keyCode){case 66:return h(e)?"bold":null;case 68:return g(e)?"delete":null;case 72:return g(e)?"backspace":null;case 73:return h(e)?"italic":null;case 74:return h(e)?"code":null;case 75:return!p&&g(e)?"secondary-cut":null;case 77:case 79:return g(e)?"split-block":null;case 84:return f&&g(e)?"transpose-characters":null;case 85:return h(e)?"underline":null;case 87:return f&&g(e)?"backspace-word":null;case 89:return g(e)?p?"redo":"secondary-paste":null;case 90:return o(e)||null;case u.RETURN:return"split-block";case u.DELETE:return i(e);case u.BACKSPACE:return a(e);case u.LEFT:return d&&h(e)?"move-selection-to-start-of-block":null;case u.RIGHT:return d&&h(e)?"move-selection-to-end-of-block":null;default:return null}}var c=n(63),u=n(56),l=n(17),f=l.isPlatform("Mac OS X"),p=l.isPlatform("Windows"),d=f&&l.isBrowser("Firefox < 29"),h=c.hasCommandModifier,g=c.isCtrlKeyCommand;e.exports=s},function(e,t,n){"use strict";var r={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}};e.exports=r},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){return{blocks:[{type:"unstyled",text:e,inlineStyleRanges:[],entityRanges:[]}],entityMap:{}}}},function(e,t,n){"use strict";function r(e){var t=e.getSelection();if(!t.isCollapsed())return t;var n=t.getStartKey(),r=t.getStartOffset(),o=r-1,i=e.getCurrentContent().getBlockForKey(n),a=i.getCharacterList(),s=a.get(o),c=a.get(r);if(!s||!c)return t;var u=s.getEntity(),l=c.getEntity(),f=u===l&&u;if(!f)return t;for(var p=o,d=r;p>0;){p--;if(a.get(p).getEntity()!==f){p++;break}}for(var h=i.getLength();d1&&void 0!==arguments[1]&&arguments[1],n=e.getCurrentContent(),r=e.getSelection();return r.isCollapsed()||t?n.getBlockForKey(r.getAnchorKey()):null}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";function r(e){return new Promise(function(t,n){var r=new FileReader;r.onload=function(){for(var e=new Uint8ClampedArray(r.result),n=e.length<=2048?1:e.length>>10,o=0,i=0,a=0;i=e.offset&&t+n<=e.offset+e.length?Object.assign({},e,{length:e.length+a}):e.offset>=t&&e.offset+e.length<=t+n&&o>0?Object.assign({},e,{offset:e.offset+o}):e.offsett&&o>0?[Object.assign({},e,{length:t-e.offset}),Object.assign({},e,{offset:t+o,length:e.offset-t+e.length})]:e.offset>=t&&e.offset+e.length>t+n&&t+n>e.offset&&i>0?[Object.assign({},e,{offset:e.offset+o,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+o+i,length:e.offset+e.length-(t+n)})]:e}t.a=r},function(e,t,n){"use strict";function r(e){return c.a.isValidElement(e)&&c.a.Children.count(e.props.children)>0}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(void 0===e||null===e)return e;if("string"==typeof e)return e;if(c.a.isValidElement(e)){if(r(e))return l.a.renderToStaticMarkup(e);var n=Object(f.a)(e);if(null!==t){return n.start+t+n.end}return n}if(a()(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){return e.start+t+e.end}return e}t.a=o;var i=n(14),a=n.n(i),s=n(0),c=n.n(s),u=n(33),l=n.n(u),f=n(43)},function(e,t,n){"use strict";t.a=function(e,t){return function(){var n=e.apply(void 0,arguments);return void 0!==n&&null!==n?n:t.apply(void 0,arguments)}}},function(e,t,n){"use strict";function r(e){var t=void 0;if("undefined"!=typeof DOMParser){t=(new DOMParser).parseFromString(e,"text/html"),null!==t&&null!==t.body||(t=o(e))}else t=o(e);return t.body}t.a=r;var o=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return e=f({},p,e),{name:"inline-style",getToolbarButtons:function(t){return Object(i.a)(d,e.buttons,t)},handleCommand:function(e,t){var n=e.getEditorState,r=e.setEditorState;if(!["bold","italic","underline","code"].includes(t))return"not-handled";var i=n();return"code-block"===o.RichUtils.getCurrentBlockType(i)?"not-handled":(r(o.RichUtils.handleKeyCommand(i,t)),"handled")},getCustomStyleMap:function(){return a.a}}}t.a=r;var o=n(1),i=(n.n(o),n(15)),a=n(113),s=n(335),c=n(336),u=n(337),l=n(338),f=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:g;return e=h({},g,e),{name:"block-style",getToolbarButtons:function(t){return"root"===t.env?Object(c.a)(m,e.buttons,t):[]},handleCommand:function(t,n,r){var a=t.getEditorState,s=t.setEditorState,c=a();if("return"===n){if(r.shiftKey)return s(i.RichUtils.insertSoftNewline(c)),"handled";var u=o(e,c,r);if(u)return s(u),"handled"}if("tab"===n){var l=i.RichUtils.onTab(r,c,6);if(l!==c)return s(l),"handled"}if("backspace"===n){var f=c.getCurrentContent(),p=c.getSelection();if(p.isCollapsed()){var d=p.getFocusKey(),h=f.getBlockForKey(d);if(h&&!h.getLength()&&"unstyled"!==h.getType())return s(i.EditorState.push(c,i.Modifier.setBlockType(f,p,"unstyled"),"change-block-type")),"handled"}}return"not-handled"}}}function o(e,t,n){var r=e.breakoutBlocks,o=e.doubleBreakoutBlocks,a=e.breakoutBlockType,c=i.RichUtils.getCurrentBlockType(t),u=t.getSelection(),l=r.indexOf(c)>-1,f=o.indexOf(c)>-1;if("atomic"===c&&u.getAnchorKey()===u.getFocusKey())return Object(d.z)(t,u.getFocusKey(),"after");if((l||f)&&u.isCollapsed()){var p=t.getCurrentContent(),h=p.getBlockForKey(u.getEndKey()),g=u.getEndOffset(),m=g===h.getLength(),y=0===g;if(m&&l||y&&l||y&&!h.getLength()||(y||m)&&(n.metaKey||n.ctrlKey)){var v=Object(i.genKey)(),b=new i.ContentBlock({key:v,text:"",type:a,characterList:s.a.List(),depth:0}),w=p.getBlockMap(),k=w.toSeq().takeUntil(function(e){return e===h}),S=w.toSeq().skipUntil(function(e){return e===h}).rest(),E=void 0,x=void 0;m?(E=f&&!h.getLength()?[[v,b]]:[[h.getKey(),h],[v,b]],x=v):(E=[[v,b],[h.getKey(),h]],x=h.getKey());var _=k.concat(E,S).toOrderedMap(),C=p.merge({blockMap:_,selectionBefore:u,selectionAfter:u.merge({anchorKey:x,anchorOffset:0,focusKey:x,focusOffset:0,isBackward:!1})});return i.EditorState.push(t,C,"split-block")}}return null}t.a=r;var i=n(1),a=(n.n(i),n(3)),s=n.n(a),c=n(15),u=n(339),l=n(340),f=n(341),p=n(343),d=n(2),h=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:p;return e=f({},p,e),{name:"link",getToolbarButtons:function(t){var n=t.store.getEditorState();return"code-block"===l.RichUtils.getCurrentBlockType(n)?null:Object(o.a)(d,e.buttons,t)},getToolbarWidgets:function(e){var t=e.store;return[{key:"link-bar",component:s.a,props:{onSave:function(e){var n=t.getEditorState,r=t.setEditorState;Object(u.O)({getEditorState:n,setEditorState:r,url:e})}}}]},getDraftDecorators:function(){return[c.a]}}}t.a=r;var o=n(15),i=n(344),a=n(345),s=n(116),c=n(121),u=n(2),l=n(1),f=(n.n(l),Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function i(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}function a(e,t,n){if(e===t)return!0;for(;e.parentNode;){if(i(e,t,n))return!0;e=e.parentNode}return e}function s(e){return document.documentElement.clientWidth<=e.clientX||document.documentElement.clientHeight<=e.clientY}function c(e,t){var n,i;return i=n=function(n){function i(e){var t;return t=n.call(this,e)||this,t.__outsideClickHandler=function(e){if("function"==typeof t.__clickOutsideHandlerProp)return void t.__clickOutsideHandlerProp(e);var n=t.getInstance();if("function"==typeof n.props.handleClickOutside)return void n.props.handleClickOutside(e);if("function"==typeof n.handleClickOutside)return void n.handleClickOutside(e);throw new Error("WrappedComponent lacks a handleClickOutside(event) function for processing outside click events.")},t.enableOnClickOutside=function(){if("undefined"!=typeof document&&!g[t._uid]){void 0===u&&(u=p()),g[t._uid]=!0;var e=t.props.eventTypes;e.forEach||(e=[e]),h[t._uid]=function(e){if(!t.props.disableOnClickOutside&&null!==t.componentNode&&(t.props.preventDefault&&e.preventDefault(),t.props.stopPropagation&&e.stopPropagation(),!t.props.excludeScrollbar||!s(e))){a(e.target,t.componentNode,t.props.outsideClickIgnoreClass)===document&&t.__outsideClickHandler(e)}},e.forEach(function(e){var n=null;-1!==m.indexOf(e)&&u&&(n={passive:!t.props.preventDefault}),document.addEventListener(e,h[t._uid],n)})}},t.disableOnClickOutside=function(){delete g[t._uid];var e=h[t._uid];if(e&&"undefined"!=typeof document){var n=t.props.eventTypes;n.forEach||(n=[n]),n.forEach(function(t){return document.removeEventListener(t,e)}),delete h[t._uid]}},t.getRef=function(e){return t.instanceRef=e},t._uid=d(),t}r(i,n);var c=i.prototype;return c.getInstance=function(){if(!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},c.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=Object(f.findDOMNode)(this.getInstance()),this.enableOnClickOutside()}},c.componentDidUpdate=function(){this.componentNode=Object(f.findDOMNode)(this.getInstance())},c.componentWillUnmount=function(){this.disableOnClickOutside()},c.render=function(){var t=this.props,n=(t.excludeScrollbar,o(t,["excludeScrollbar"]));return e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,Object(l.createElement)(e,n)},i}(l.Component),n.displayName="OnClickOutside("+(e.displayName||e.name||"Component")+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:y,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},i}var u,l=n(0),f=(n.n(l),n(16)),p=(n.n(f),function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}),d=function(e){return void 0===e&&(e=0),function(){return++e}}(),h={},g={},m=["touchstart","touchmove"],y="ignore-react-onclickoutside";t.a=c},function(e,t,n){"use strict";function r(e,t,n){e.findEntityRanges(function(e){var t=e.getEntity();return null!==t&&"LINK"===n.getEntity(t).getType()},t)}function o(e){var t=e.contentState,n=e.entityKey,r=e.children,o=t.getEntity(n).getData(),i=o.url;return a.a.createElement("a",{href:i,target:"_blank",style:{cursor:"text"},title:"\u6309\u4f4f "+s.J+" \u70b9\u51fb\u8bbf\u95ee "+i,onClick:function(e){return e.ctrlKey||e.metaKey?window.open(i,"_blank"):null}},r)}n.d(t,"a",function(){return c});var i=n(0),a=n.n(i),s=n(2),c={strategy:r,component:o}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,t=h({},g,e),n=(t.supportSyntaxSelect,t.defaultSyntax),r=t.buttons;return{name:"code-edit",getToolbarButtons:function(e){if("root"!==e.env)return null;var t=e.store.getEditorState();return"code-block"===o.RichUtils.getCurrentBlockType(t)?Object(d.a)(m,r,e):null},handleCommand:function(e,t,n){var r=e.getEditorState,o=e.setEditorState,i=r();if(s.a.hasSelectionInBlock(i))switch(t){case"return":return o(s.a.handleReturn(n,i)),"handled";case"tab":return o(s.a.onTab(n,i)),"handled";default:var a=s.a.handleKeyCommand(i,t);return a?(o(a),"handled"):"not-handled"}return"not-handled"},handlePastedText:function(e,t){var n=e.getEditorState(),r=n.getCurrentContent(),i=n.getSelection(),a=r.getBlockForKey(i.getStartKey());return a!==r.getBlockForKey(i.getEndKey())||"code-block"!==a.getType()?"not-handled":(e.setEditorState(o.EditorState.push(n,o.Modifier.insertText(r,i,t),"insert-characters")),"handled")},getDecorators:function(){return[new u.a({prism:l.a,defaultSyntax:n,getSyntax:function(e){if(e.getData){var t=e.getData().get("syntax")||n;return t=t.toLowerCase(),l.a.languages[t]||(t=n),t}},render:function(e){var t=e.type,n=e.children;return React.createElement("span",{className:"prism-token token "+(t||"")},n)}})]},getBlockRenderInfo:function(e,t){if("code-block"===e.getType())return{component:f.a,editable:!0}}}}t.a=r;var o=n(1),i=(n.n(o),n(3)),a=(n.n(i),n(358)),s=n.n(a),c=n(372),u=n.n(c),l=n(374),f=n(447),p=n(448),d=n(15),h=Object.assign||function(e){for(var t=1;tn||a===n&&s>r)&&(n=a,r=s,t=Number(o))}return t}var o=n(365),i=/^(?:( )+|\t+)/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");var t,n,a=0,s=0,c=0,u={};e.split(/\n/g).forEach(function(e){if(e){var r,o=e.match(i);o?(r=o[0].length,o[1]?s++:a++):r=0;var l=r-c;c=r,l?(n=l>0,t=u[n?l:-l],t?t[0]++:t=u[l]=[1,0]):t&&(t[1]+=Number(n))}});var l,f,p=r(u);return p?s>=a?(l="space",f=o(" ",p)):(l="tab",f=o("\t",p)):(l=null,f=""),{amount:p,type:l,indent:f}}},function(e,t,n){function r(e,t){return t=t||i(e),o.List(e.split(t))}var o=n(3),i=n(46);e.exports=r},function(e,t,n){function r(e,t,n){n=n||i(e);for(var r=0,o=0,s=0;o>=0&&oe.length)return;if(!(k instanceof c)){p.lastIndex=0;var S=p.exec(k),E=1;if(!S&&g&&b!=t.length-1){if(p.lastIndex=w,!(S=p.exec(e)))break;for(var x=S.index+(h?S[1].length:0),_=S.index+S[0].length,C=b,O=w,T=t.length;C=O&&(++b,w=O);if(t[b]instanceof c||t[C-1].greedy)continue;E=C-b,k=e.slice(w,O),S.index-=w}if(S){h&&(m=S[1].length);var x=S.index+m,S=S[0].slice(m),_=x+S.length,A=k.slice(0,x),P=k.slice(_),L=[b,E];A&&(++b,w+=A.length,L.push(A));var R=new c(u,d?r.tokenize(S,d):S,y,S,g);if(L.push(R),P&&L.push(P),Array.prototype.splice.apply(t,L),1!=E&&r.matchGrammar(e,t,n,b,w,!0,u),a)break}else if(a)break}}}}},tokenize:function(e,t,n){var o=[e],i=t.rest;if(i){for(var a in i)t[a]=i[a];delete t.rest}return r.matchGrammar(e,o,t,0,0,!1),o},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,i=0;o=n[i++];)o(t)}}},o=r.Token=function(e,t,n,r,o){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length,this.greedy=!!o};if(o.stringify=function(e,t,n){if("string"==typeof e)return e;if("Array"===r.util.type(e))return e.map(function(n){return o.stringify(n,t,e)}).join("");var i={type:e.type,content:o.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n};if(e.alias){var a="Array"===r.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(i.classes,a)}r.hooks.run("wrap",i);var s=Object.keys(i.attributes).map(function(e){return e+'="'+(i.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+(s?" "+s:"")+">"+i.content+""},!n.document)return n.addEventListener?(r.disableWorkerMessageHandler||n.addEventListener("message",function(e){var t=JSON.parse(e.data),o=t.language,i=t.code,a=t.immediateClose;n.postMessage(r.highlight(i,r.languages[o],o)),a&&n.close()},!1),n.Prism):n.Prism;var i=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return i&&(r.filename=i.src,r.manual||i.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(r.highlightAll):window.setTimeout(r.highlightAll,16):document.addEventListener("DOMContentLoaded",r.highlightAll))),n.Prism}();void 0!==e&&e.exports&&(e.exports=r),void 0!==t&&(t.Prism=r),r.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype://i,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),r.languages.xml=r.languages.markup,r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.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:/[\w-]+(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},r.languages.css.atrule.inside.rest=r.util.clone(r.languages.css),r.languages.markup&&(r.languages.insertBefore("markup","tag",{style:{pattern:/()[\s\S]*?(?=<\/style>)/i,lookbehind:!0,inside:r.languages.css,alias:"language-css"}}),r.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:r.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:r.languages.css}},alias:"language-css"}},r.languages.markup.tag)),r.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+\())[\w.\\]+/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:/[{}[\];(),.:]/},r.languages.javascript=r.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}/}),r.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"}}),r.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}}}),r.languages.markup&&r.languages.insertBefore("markup","tag",{script:{pattern:/()[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:r.languages.javascript,alias:"language-javascript"}}),r.languages.js=r.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,o=t.getAttribute("data-src"),i=t,a=/\blang(?:uage)?-(?!\*)(\w+)\b/i;i&&!a.test(i.className);)i=i.parentNode;if(i&&(n=(t.className.match(a)||[,""])[1]),!n){var s=(o.match(/\.(\w+)$/)||[,""])[1];n=e[s]||s}var c=document.createElement("code");c.className="language-"+n,t.textContent="",c.textContent="Loading\u2026",t.appendChild(c);var u=new XMLHttpRequest;u.open("GET",o,!0),u.onreadystatechange=function(){4==u.readyState&&(u.status<400&&u.responseText?(c.textContent=u.responseText,r.highlightElement(c)):u.status>=400?c.textContent="\u2716 Error "+u.status+" while fetching file: "+u.statusText:c.textContent="\u2716 Error: File does not exist or is empty")},u.send(null)})},document.addEventListener("DOMContentLoaded",self.Prism.fileHighlight))}()}).call(t,n(13))},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===o.call(e)},a=function(e){if(!e||"[object Object]"!==o.call(e))return!1;var t=r.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!t&&!n)return!1;var i;for(i in e);return void 0===i||r.call(e,i)};e.exports=function e(){var t,n,r,o,s,c,u=arguments[0],l=1,f=arguments.length,p=!1;for("boolean"==typeof u&&(p=u,u=arguments[1]||{},l=2),(null==u||"object"!=typeof u&&"function"!=typeof u)&&(u={});l0&&void 0!==arguments[0]?arguments[0]:f,t=u({},f,e),n=t.buttons,r=t.beforeUpload,a=t.handleUpload,l=t.imageSizeLimit,d=t.checkAllowAccessOrigin,h=t.checkAllowExtension;t.findScrollParent&&Object(o.g)("\u56fe\u7247\u7684\u61d2\u52a0\u8f7d\u5df2\u6539\u7531 focusPlugin \u652f\u6301\uff0c\u8bf7\u6539\u5728 focus \u914d\u7f6e\u9879\u4f20\u5165");var g=function(e){var t=!0,n=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value;if(s instanceof File){if(h(Object(o.j)(s.name)))return s}else if(/image\/(\w+)$/.test(s.type))return new File([s],"image."+RegExp.$1)}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}return null},m=function(e,t){var n=g(t);return n&&(n=r(n))?void Object(o.C)({file:n,store:e,imageSizeLimit:l,uploadImage:a}):"not-handled"};return{getToolbarButtons:function(e){if("root"!==e.env)return null;var t=e.store.getEditorState();return"code-block"===c.RichUtils.getCurrentBlockType(t)?null:Object(s.a)(p,n,u({},e,{onInsert:function(t){return m(e.store,t)}}))},handleFiles:function(e,t,n,r){return m(e,n)},getBlockRenderInfo:function(e,t){var n=Object(o.o)(e,t);if(n&&"IMAGE"===n.entityType)return{component:i.a,editable:!1,props:u({},n,{store:t,checkAllowAccessOrigin:d,imageSizeLimit:l,uploadImage:a})}}}}t.a=r;var o=n(2),i=n(449),a=n(131),s=n(15),c=n(1),u=(n.n(c),Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;r(this,e),this.x=t,this.y=n}return o(e,null,[{key:"from",value:function(t,n){return new e(n.x-t.x,n.y-t.y)}}]),o(e,[{key:Symbol.iterator,value:regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.x;case 2:return e.next=4,this.y;case 4:case"end":return e.stop()}},e,this)})},{key:"square",value:function(){return this.x*this.x+this.y*this.y}},{key:"length",value:function(){return Math.sqrt(this.square())}},{key:"add",value:function(t){return new e(this.x+t.x,this.y+t.y)}},{key:"minus",value:function(t){return new e(this.x-t.x,this.y-t.y)}},{key:"dot",value:function(e){return this.x*e.x+this.y*e.y}},{key:"project",value:function(e){return e.multipy(this.dot(e)/e.square())}},{key:"multipy",value:function(t){return new e(this.x*t,this.y*t)}},{key:"normalize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return this.multipy(e/this.length())}},{key:"rotate",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"deg",r="deg"==n?t*Math.PI/180:t,o=Math.sin(r),i=Math.cos(r),a=i,s=o,c=-o,u=i,l=this.x,f=this.y;return new e(a*l+c*f+0,s*l+u*f+0)}},{key:"vertical",value:function(){return new e(this.y,-this.x)}},{key:"reverse",value:function(){return this.multipy(-1)}},{key:"getAngle",value:function(){var e=this.length();if(0===e)return 0;var t=Math.acos(this.x/e);return 180*(this.y>0?1:-1)*t/Math.PI}}]),e}()},function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.store,r=e.onInsert,o=n&&"root"!==n.getEditorEnviorment();return i.a.createElement(s.a,{theme:t,icon:"pic",disabled:o,title:"\u63d2\u5165\u56fe\u7247",accept:".png, .jpg, .jpeg, .gif",onSelect:r})}t.a=r;var o=n(0),i=n.n(o),a=n(4),s=(n.n(a),n(68))},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;return e=i({},a,e),e.enable?{getToolbarWidgets:function(){return[{key:"debug-info",component:o.a}]}}:{}}t.a=r;var o=n(468),i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:f,t=l({},f,e),n=t.buttons,r={};return{name:"table",getToolbarButtons:function(e){var t=e.env,i=e.store;if("root"===t){var a=e.store.getEditorState();return"code-block"===o.RichUtils.getCurrentBlockType(a)?null:Object(c.a)(p,n,l({},e,{focusTable:function(e){r[e]&&r[e].focusFirstRow()}}))}return"table"===t||"table-multi-select"===t?i.getTableToolbarButtons(e):null},handleCommand:function(e,t,n){var a=e.getEditorState(),s=a.getCurrentContent(),c=a.getSelection(),u=s.getBlockMap().get(c.getFocusKey()),l=u&&s.getBlockBefore(u.getKey()),f=u&&s.getBlockAfter(u.getKey());switch(t){case"arrow-up":return l&&r[l.getKey()]?(n.preventDefault(),e.setEditorState(o.EditorState.set(a,{selection:o.SelectionState.createEmpty(l.getKey())})),r[l.getKey()].focusLastRow(),"handled"):"not-handled";case"arrow-down":return f&&r[f.getKey()]?(n.preventDefault(),e.setEditorState(o.EditorState.set(a,{selection:o.SelectionState.createEmpty(f.getKey())})),r[f.getKey()].focusFirstRow(),"handled"):"not-handled";case"delete":case"backspace":var p=Object(i.q)(a,"delete"===t);return p?(Object(i.L)(e,p,"delete"===t?"backward":"forward"),"handled"):"not-handled"}return"not-handled"},getBlockRenderInfo:function(e,t,n){if("table"===e.getType()){var o=Object(u.a)(e,t,n,r);return{component:s.a,editable:!1,props:o}}}}}t.a=r;var o=n(1),i=(n.n(o),n(2)),a=n(470),s=n(471),c=n(15),u=n(476),l=Object.assign||function(e){for(var t=1;t=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!o;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,o="/"===a.charAt(0))}return t=n(r(t.split("/"),function(e){return!!e}),!o).join("/"),(o?"/":"")+t||"."},t.normalize=function(e){var o=t.isAbsolute(e),i="/"===a(e,-1);return e=n(r(e.split("/"),function(e){return!!e}),!o).join("/"),e||o||(e="."),e&&i&&(e+="/"),(o?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),s=a,c=0;c",Iacute:"\xcd",Icirc:"\xce",Igrave:"\xcc",Iuml:"\xcf",LT:"<",Ntilde:"\xd1",Oacute:"\xd3",Ocirc:"\xd4",Ograve:"\xd2",Oslash:"\xd8",Otilde:"\xd5",Ouml:"\xd6",QUOT:'"',REG:"\xae",THORN:"\xde",Uacute:"\xda",Ucirc:"\xdb",Ugrave:"\xd9",Uuml:"\xdc",Yacute:"\xdd",aacute:"\xe1",acirc:"\xe2",acute:"\xb4",aelig:"\xe6",agrave:"\xe0",amp:"&",aring:"\xe5",atilde:"\xe3",auml:"\xe4",brvbar:"\xa6",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",ecirc:"\xea",egrave:"\xe8",eth:"\xf0",euml:"\xeb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",iacute:"\xed",icirc:"\xee",iexcl:"\xa1",igrave:"\xec",iquest:"\xbf",iuml:"\xef",laquo:"\xab",lt:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",oacute:"\xf3",ocirc:"\xf4",ograve:"\xf2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",otilde:"\xf5",ouml:"\xf6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',raquo:"\xbb",reg:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",times:"\xd7",uacute:"\xfa",ucirc:"\xfb",ugrave:"\xf9",uml:"\xa8",uuml:"\xfc",yacute:"\xfd",yen:"\xa5",yuml:"\xff"}},function(e,t,n){"use strict";function r(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)||i(e)}var o=n(141),i=n(34);e.exports=r},function(e,t,n){"use strict";function r(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}e.exports=r},function(e,t,n){"use strict";function r(e){var t=e||{};return t.commonmark?a:t.gfm?i:o}e.exports=r;var o=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],i=o.concat(["~","|"]),a=i.concat(["\n",'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);r.default=o,r.gfm=i,r.commonmark=a},function(e,t,n){"use strict";e.exports={position:!0,gfm:!0,yaml:!0,commonmark:!1,footnotes:!1,pedantic:!1,blocks:n(516),breaks:!1}},function(e,t,n){"use strict";function r(e,t,n,r){function c(e,r,i){var c;return r=r||(i?0:null),t&&e.type!==t&&!o(t,e,r,i||null)||(c=n(e,r,i||null)),c===s?c:e.children&&c!==a&&u(e.children,e)===s?s:c}function u(e,t){for(var n,o,a=r?-1:1,u=(r?e.length:-1)+a;u>-1&&u1&&(r=Math.floor(r/t)*t),a[r]=n,i=e.charAt(++n);return{indent:r,stops:a}}e.exports=r;var o={" ":1,"\t":4}},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",o="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+o+")"),t.tag=new RegExp("^(?:"+r+"|"+o+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)")},function(e,t,n){"use strict";function r(e,t){return e.indexOf("<",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);return-1===r?n:ni&&(i=o):o=1,n=r+1,r=e.indexOf(t,n);return i}e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.referenceType,n="full"===t?e.identifier:"";return"shortcut"===t?n:"["+n+"]"}e.exports=r},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=o({},i,e),n=t.enable,r=t.findScrollElement,a=t.getStickTop,s=t.fixStickBox;if(!n)return{};var c=null,u=null,l=function(){if(c&&u){var e=a(c),t=s(u.parentElement.getBoundingClientRect()),n=t.top,r=t.left,o=t.width,i=t.height;n+i0&&void 0!==arguments[0]?arguments[0]:d;t=p({},d,t);var n=t,r=n.enable,o=n.buttons,i=n.maxFileSize,a=n.createImportTask,h=n.handleConvertTask,m=n.handleQueryPreview;if(!r)return{};if(h)return Object(c.g)("handleConvertTask \u65b9\u6cd5\u8bf7\u6539\u7528 createImportTask \u65b9\u6cd5\u5b9e\u73b0\uff0c\u5426\u5219\u6587\u4ef6\u5bfc\u5165\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c"),{};if(m)return Object(c.g)("handleQueryPreview \u65b9\u6cd5\u8bf7\u6539\u7528 queryImportTask \u65b9\u6cd5\u5b9e\u73b0\uff0c\u5426\u5219\u6587\u4ef6\u5bfc\u5165\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c"),{};if("function"!=typeof a)throw new Error("createImportTask is required.");return{getToolbarButtons:function(t){if("root"!==t.env)return null;var n=t.store.getEditorState();return"code-block"===s.RichUtils.getCurrentBlockType(n)?null:Object(u.a)(g,o,p({},t,{onInsert:function(n){return e(t.store,n)}}))},getBlockRenderInfo:function(e,t){var n=Object(c.o)(e,t);if(n)switch(n.entityType){case"IMPORT":return{component:l.d,editable:!1,props:n};case"GALLERY":return{component:l.b,editable:!1,props:p({},n,{store:t})};case"ATTACHMENT":return{component:l.a,editable:!1,props:p({},n,{store:t})}}},handleFiles:function(t,n,r,o){return e(t,r,n)}}}function o(e){Object(c.g)("docImport \u63d2\u4ef6\u5df2\u7ecf\u66f4\u6539\u4e3a fileImport\uff0c\u8bf7\u6539\u7528 createFileImportPlugin \u65b9\u6cd5")}t.b=r,t.a=o;var i=n(0),a=n.n(i),s=n(1),c=(n.n(s),n(2)),u=n(15),l=n(611),f=n(616),p=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){var t=e.name,n=e.url,o=r(e,["name","url"]),i=Object(s.r)(n);return a.a.createElement("div",{className:"attachment"},a.a.createElement("i",{className:"icon icon-"+i+"-file"}),a.a.createElement("a",c({target:"_blank",href:n},o),t))}t.a=o;var i=n(0),a=n.n(i),s=n(2),c=Object.assign||function(e){for(var t=1;t=r.length-1}),onClick:a}))}}]),t}(s.a.Component)},function(e,t,n){"use strict";function r(e){return/()/i.test(e)?RegExp.$1:e}t.a=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return u});var a=n(0),s=n.n(a),c=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=h({},g,{options:e}),n=t.buttons,r=t.macros,f=t.completion,y=t.script,v=t.mathjaxConfig;Object(a.a)({macros:r,script:y,mathjaxConfig:v});var b={getEditorState:void 0,setEditorState:void 0,getEditorReadOnly:void 0,setEditorReadOnly:void 0,getEditorRef:void 0,completion:Object(s.a)(f,r),teXToUpdate:{}},w=function(e){return Object.assign(b,e),b},k=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getEditorState();e.setEditorState(Object(c.a)(n,t))},S=function(e){var t=b.getEditorState(),n=t.getSelection(),r=n.getStartOffset()-1,i=o.Modifier.replaceText(t.getCurrentContent(),n.merge({anchorOffset:r,focusOffset:r+1}),e);b.setEditorState(o.EditorState.push(t,i,"insert-characters"))},E=function(e,t){return Object(i.b)(function(){return e})(t)},x=function(e,t){return"atomic"===e.getType()&&e.getData().get("mathjax")?{component:l.a,editable:!1,props:{getStore:function(){return w(t)}}}:null},_=function(e,t,n){e.teXToUpdate={key:t,dir:n};var r=e.getEditorState();e.setEditorState(o.EditorState.forceSelection(r,r.getSelection()))},C=function(e,t,n){if(e=w(e),"insert-texblock"===t)return k(e,!0),"handled";if("insert-inlinetex"===t)return k(e),"handled";if("update-inlinetex"===t.slice(0,16)){var r=t.slice(17,18),o=t.slice(19);return _(e,o,r),"handled"}if("update-texblock"===t.slice(0,15)){var i=t.slice(16,17);t.slice(18);return _(e,lockKey,i),"handled"}if("insert-char"===t.slice(0,11)){var a=t.slice(12);return S(a),"handled"}if(n&&n.altKey&&("arrow-left"===t||"arrow-right"===t)){var s="arrow-right"===t?"r":"l",c=e.getEditorState().getSelection(),u=e.getEditorState().getCurrentContent();if(!c.isCollapsed())return"not-handled";var l=c.getStartOffset(),f=c.getStartKey(),p=u.getBlockForKey(f);if(p.getLength()===l&&"r"===s){var d=u.getBlockAfter(f);if(d&&"atomic"===d.getType()&&d.getData().get("mathjax"))return _(e,d.getKey(),s),"handled"}if(0===l&&"l"===s){var h=u.getBlockBefore(f);if(h&&"atomic"===h.getType()&&h.getData().get("mathjax"))return _(e,h.getKey(),s),"handled"}var g=p.getEntityAt(l-("l"===s?1:0));if(g&&"INLINETEX"===u.getEntity(g).getType())return _(e,g,s),"handled"}return"not-handled"};return{name:"formula",getToolbarButtons:function(e){if("root"!==e.env)return null;var t=e.store.getEditorState();return"code-block"===o.RichUtils.getCurrentBlockType(t)?null:Object(p.a)(m,n,h({},e,{onInsert:function(){var t=e.store,n=t.getEditorState(),r=n.getCurrentContent(),o=n.getSelection(),i=Object(d.d)(r,o);C(t,i?"insert-texblock":"insert-inlinetex")}}))},getDraftDecorators:function(e){return[{strategy:i.a,component:u.a,props:{getStore:function(){return w(e)}}}]},keyBinding:E,handleCommand:C,getBlockRenderInfo:x}}t.a=r;var o=n(1),i=(n.n(o),n(625)),a=n(162),s=n(627),c=n(629),u=n(631),l=n(633),f=n(634),p=n(15),d=n(35),h=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1],i=t.slice(0,n).split("\n").length-1,a=i+(t.slice(n,r).split("\n").length-1),s=n,c=r;return{text:t.split("\n").map(function(e,t){return ta?e:o?e.startsWith(" ")?(t===i&&(s-=2),c-=2,e.slice(2)):e.startsWith(" ")?(t===i&&(s-=1),c-=1,e.slice(1)):e:(t===i&&(s+=2),c+=2," "+e)}).join("\n"),start:s,end:c}}var s=n(0),c=n.n(s),u=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],r=n.props.teX,o=n.state,i=o.start;if(i===o.end){var a=t?i+e:e;a<0?a=0:a>r.length&&(a=r.length),n.setState({start:a,end:a})}},n._insertText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=n.props.teX,o=n.state,a=o.start,s=o.end;r=r.slice(0,a)+e+r.slice(s),a+=e.length+t,a<0?a=0:a>r.length&&(a=r.length),s=a,i({teX:r}),n.setState({start:a,end:s})},n.onBlur=function(){return n.props.finishEdit()},n.handleKey=n.handleKey.bind(n),n}return i(t,e),u(t,[{key:"componentDidMount",value:function(){var e=this,t=this.state,n=t.start,r=t.end;setTimeout(function(){e.teXinput.focus(),e.teXinput.setSelectionRange(n,r)},0)}},{key:"shouldComponentUpdate",value:function(e,t){if(this.props.teX!==e.teX)return!0;var n=t.start,r=t.end,o=this.teXinput,i=o.selectionStart,a=o.selectionEnd;return n!==i||r!==a}},{key:"componentDidUpdate",value:function(e,t){var n=t.start,r=t.end,o=this.state,i=o.start,a=o.end;n===i&&r===a||this.teXinput.setSelectionRange(i,a)}},{key:"handleKey",value:function(e){var t=this,n=this.props,r=n.teX,o=n.finishEdit,i=n.onChange,s=n.displaystyle,c=n.completion,u=this.state,p=u.start,d=u.end,h=void 0!==s,g=p===d,m="none"===c.status,y=e.key;switch(m||"Tab"===y||"Shift"===y||(this.completionList=[],this.index=0),y){case"$":h&&(e.preventDefault(),i({displaystyle:!s}));break;case"Escape":e.preventDefault(),o(1);break;case"ArrowLeft":g&&0===d&&(e.preventDefault(),o(0));break;case"ArrowRight":g&&p===r.length&&(e.preventDefault(),o(1));break;default:if(Object.prototype.hasOwnProperty.call(f,y))e.preventDefault(),this._insertText(y+f[y],-1);else if(!m&&(l(y)&&"auto"===c.status||"Tab"===y&&this.completionList.length>1||"manual"===c.status&&e.ctrlKey&&" "===y))this._handleCompletion(e);else if("Tab"===y){var v=r.split("\n");if(h||v.length<=1)e.preventDefault(),o(e.shiftKey?0:1);else{var b=a({text:r,start:p,end:d},e.shiftKey),w=b.text,k=b.start,S=b.end;e.preventDefault(),i({teX:w}),setTimeout(function(){return t.setState({start:k,end:S})},0)}}}}},{key:"_handleCompletion",value:function(e){var t=this,n=this.props,r=n.completion,o=n.teX,i=n.onChange,a=this.state,s=a.start,c=a.end,u=e.key,f=r.getLastTeXCommand(o.slice(0,s)),p=f.length,d=s-p,h=l(u),g=s,m=void 0;if(p){(h||e.ctrlKey&&" "===u)&&(this.completionList=r.computeCompletionList(f+(h?u:"")));var y=this.completionList.length;if(0!==y){1===y?this.index=0:"Tab"===u?(m=e.shiftKey?-1:1,this.index+=m,this.index=-1===this.index?y-1:this.index%y):(this.index=0,g=h?g+1:g);var v=this.completionList[this.index],b=d+v.length,w=o.slice(0,d)+v+o.slice(c);g=1===y?b:g,e.preventDefault(),i({teX:w}),setTimeout(function(){return t.setState({start:g,end:b})},0)}}}},{key:"render",value:function(){var e=this,t=this.props,n=t.teX,r=t.className,o=t.style,i=n.split("\n"),a=i.length,s=i.map(function(e){return e.length}).reduce(function(e,t){return t>e?t:e},1);return c.a.createElement("textarea",{rows:a,cols:s,className:r,value:n,onChange:this._onChange,onSelect:this._onSelect,onBlur:this.onBlur,onKeyDown:this.handleKey,ref:function(t){e.teXinput=t},style:o})}}]),t}(c.a.Component);t.a=p},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t0&&u.a.createElement("div",{className:"meta-head"},u.a.createElement("a",{href:"javascript:void(0);",onClick:this.toggle},u.a.createElement("i",{className:f()("qa-ico-down-expand",{collapsed:n})}))),u.a.createElement("div",{className:"meta-content"},u.a.createElement("ul",null,u.a.createElement("li",{key:"first",style:{cursor:a.length?"pointer":null},onClick:this.toggle},u.a.createElement(s,i)),a.length>0&&u.a.createElement(p.CSSTransitionGroup,g({component:h.a},d.P.slide({enterPosition:{x:0,y:-10}})),!n&&a.map(function(e,t){return u.a.createElement("li",{key:t},u.a.createElement(s,e))})))))}}}]),t}(u.a.Component)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={buttonWrapper:"qa-r-editor-btn-wrap",button:"qa-r-editor-btn",actived:"actived",disabled:"disabled"}},function(e,t,n){"use strict";var r=n(168);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return e&&"object"===(void 0===e?"undefined":k(e))&&Array.isArray(e.blocks)&&e.entityMap&&"object"===k(e.entityMap)}function s(e){var t=e.entityMap||{};e.blocks=e.blocks||[];var n=!0,r=!1,o=void 0;try{for(var i,a=e.blocks[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;if(s.key=s.key||m()(),s.type=s.type||"unstyled",s.inlineStyleRanges=Array.isArray(s.inlineStyleRanges)?s.inlineStyleRanges:[],s.entityRanges=Array.isArray(s.entityRanges)?s.entityRanges:[],"unstyled"===s.type&&1===s.entityRanges.length){var c=s.entityRanges[0]||{};t[c.key]&&"IMAGE"===t[c.key].type&&(s.type="atomic")}}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}return e}n.d(t,"a",function(){return E});var c=n(0),u=n.n(c),l=n(4),f=n.n(l),p=n(655),d=n.n(p),h=n(1),g=(n.n(h),n(47),n(8)),m=n.n(g),y=n(2),v=n(671),b=n(36),w=n(162),k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2],r=arguments[3],o=0,a=[].concat(i(e),i(t)).sort(function(e,t){return e.offset-t.offset}),s=[];return a.length<1?(s.push(new d.default({block:r,start:0,end:n.length})),s):(a.forEach(function(e){e.offset>o&&s.push(new d.default({block:r,start:o,end:e.offset})),s.push(new d.default({block:r,entity:e.key,decorator:e.component,decoratorProps:e.decoratorProps,decoratedText:e.component?h(n,e.offset,e.offset+e.length):void 0,start:e.offset,end:e.offset+e.length,contentState:e.contentState})),o=e.offset+e.length}),o2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=[];return o=s(o,t),o=s(o,n),o=s(o,r),o.push(0),o.push(e.length),o.filter(function(e,t,n){return n.indexOf(e)===t}).sort(function(e,t){return e-t})}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n=t.offset&&e=e.start});1!=g.length&&s(!1);var m=g[0];if("IMMUTABLE"===d)return n.merge({anchorOffset:m.start,focusOffset:m.end,isBackward:!1});c||(u?f=m.end:l=m.start);var y=i.getRemovalRange(l,f,t.getText().slice(m.start,m.end),m.start,r);return n.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1})}var i=n(178),a=n(179),s=n(5);e.exports=r},function(e,t,n){"use strict";var r={getRemovalRange:function(e,t,n,r,o){var i=n.split(" ");i=i.map(function(e,t){if("forward"===o){if(t>0)return" "+e}else if(tt;)e=e.pop(),n--;else{var r=e.slice(0,t),o=e.slice(n);e=r.concat(o).toList()}return e}var i=n(3);e.exports=r},function(e,t,n){"use strict";function r(e,t){t.isCollapsed()||a(!1);var n=t.getAnchorKey(),r=t.getAnchorOffset(),o=e.getBlockMap(),c=o.get(n),u=c.getText(),l=c.getCharacterList(),f=c.merge({text:u.slice(0,r),characterList:l.slice(0,r)}),p=i(),d=f.merge({key:p,text:u.slice(r),characterList:l.slice(r),data:s()}),h=o.toSeq().takeUntil(function(e){return e===c}),g=o.toSeq().skipUntil(function(e){return e===c}).rest(),m=h.concat([[f.getKey(),f],[d.getKey(),d]],g).toOrderedMap();return e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:0,focusKey:p,focusOffset:0,isBackward:!1})})}var o=n(3),i=n(8),a=n(5),s=o.Map;e.exports=r},function(e,t,n){"use strict";var r,o=n(3),i=n(186),a=n(9),s=o.OrderedMap,c={getDirectionMap:function(e,t){r?r.reset():r=new i;var n=e.getBlockMap(),c=n.valueSeq().map(function(e){return a(r).getDirection(e.getText())}),u=s(n.keySeq().zip(c));return null!=t&&o.is(t,u)?t:u}};e.exports=c},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(82),i=n(54),a=n(5),s=function(){function e(t){r(this,e),t?i.isStrong(t)||a(!1):t=i.getGlobalDir(),this._defaultDir=t,this.reset()}return e.prototype.reset=function(){this._lastDir=this._defaultDir},e.prototype.getDirection=function(e){return this._lastDir=o.getDirection(e,this._lastDir),this._lastDir},e}();e.exports=s},function(e,t,n){"use strict";function r(e,t,n,r){t.getKey()===n.getKey()&&o(!1),"replace"===r&&o(!1);var i=n.getKey(),a=e.getBlockBefore(i),s=e.getBlockAfter(i),c=e.getBlockMap(),u=c.delete(t.getKey()),l=u.toSeq().takeUntil(function(e){return e===n}),f=u.toSeq().skipUntil(function(e){return e===n}).skip(1),p=void 0;return"before"===r?(a&&a.getKey()===t.getKey()&&o(!1),p=l.concat([[t.getKey(),t],[n.getKey(),n]],f).toOrderedMap()):"after"===r&&(s&&s.getKey()===t.getKey()&&o(!1),p=l.concat([[n.getKey(),n],[t.getKey(),t]],f).toOrderedMap()),e.merge({blockMap:p,selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:t.getKey(),focusKey:t.getKey()})})}var o=n(5);e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n){for(var r=t;r0||null!==f;if(p&&e.restoreEditorDOM(),e.exitCurrentMode(),t){var d=r.replaceText(n.getCurrentContent(),n.getSelection(),t,i,f);return void e.update(o.push(n,d,"insert-characters"))}p&&e.update(o.set(n,{nativelyRenderedContent:null,forceSelection:!0}))}}};e.exports=f},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t,n,r){return p({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":4===t,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})}var s=n(19),c=s||function(e){for(var t=1;tw,L))}var F=O||u,K={className:B,"data-block":!0,"data-editor":this.props.editorKey,"data-offset-key":R,key:x};void 0!==A&&(K=c({},K,{contentEditable:A,suppressContentEditableWarning:!0}));var q=f.createElement(j,K,f.createElement(F,D));b.push({block:q,wrapperTemplate:M,key:x,offsetKey:R}),w=M?E.getDepth():null,k=M}for(var U=[],z=0;z0?2==i.length?"function"==typeof i[1]?this[i[0]]=i[1].call(this,s):this[i[0]]=i[1]:3==i.length?"function"!=typeof i[1]||i[1].exec&&i[1].test?this[i[0]]=s?s.replace(i[1],i[2]):void 0:this[i[0]]=s?i[1].call(this,s,i[2]):void 0:4==i.length&&(this[i[0]]=s?i[3].call(this,s.replace(i[1],i[2])):void 0):this[i]=s||void 0;c+=2}},str:function(e,t){for(var n in t)if("object"==typeof t[n]&&t[n].length>0){for(var r=0;r1?n.some(function(e){return C.contains(e,t)}):(e=n[0].trim(),o(e,t))}function o(e,t){var n=e.split(E);if(n.length>0&&n.length<=2||w(!1),1===n.length)return i(n[0],t);var r=n[0],o=n[1];return h(r)&&h(o)||w(!1),i(">="+r,t)&&i("<="+o,t)}function i(e,t){if(""===(e=e.trim()))return!0;var n=t.split(k),r=p(e),o=r.modifier,i=r.rangeComponents;switch(o){case"<":return a(n,i);case"<=":return s(n,i);case">=":return u(n,i);case">":return l(n,i);case"~":case"~>":return f(n,i);default:return c(n,i)}}function a(e,t){return-1===b(e,t)}function s(e,t){var n=b(e,t);return-1===n||0===n}function c(e,t){return 0===b(e,t)}function u(e,t){var n=b(e,t);return 1===n||0===n}function l(e,t){return 1===b(e,t)}function f(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);return d(i)&&(r[o]=i+1+""),u(e,n)&&a(e,r)}function p(e){var t=e.split(k),n=t[0].match(x);return n||w(!1),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function d(e){return!isNaN(e)&&isFinite(e)}function h(e){return!p(e).modifier}function g(e,t){for(var n=e.length;nt?1:e=|~>|~|>|)?\s*(.+)/,_=/^(\d*)(.*)/,C={contains:function(e,t){return r(e.trim(),t.trim())}};e.exports=C},function(e,t,n){"use strict";function r(e,t,n){if(!e)return null;var r={};for(var i in e)o.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r}var o=Object.prototype.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";(function(t){function r(e,t){if(!e)return"[empty]";var n=o(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(n instanceof Element||d(!1),n.outerHTML)}function o(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return document.createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var i=e.cloneNode();1===i.nodeType&&n.length&&i.setAttribute("data-labels",n.join(", "));for(var a=e.childNodes,s=0;s=l,v=p===r&&o<=d&&i>=d;if(y&&v)return a.removeAllRanges(),u(a,n,l-o,e),void c(a,n,d-o,e);if(h){if(v&&(a.removeAllRanges(),u(a,n,d-o,e)),y){var b=a.focusNode,w=a.focusOffset;a.removeAllRanges(),u(a,n,l-o,e),c(a,b,w,e)}}else y&&(a.removeAllRanges(),u(a,n,l-o,e)),v&&c(a,n,d-o,e)}}function c(e,t,n,r){var o=p();if(e.extend&&f(o,t)){n>a(t)&&l.logSelectionStateFailure({anonymizedDom:i(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var s=t===e.focusNode;try{e.extend(t,n)}catch(a){throw l.logSelectionStateFailure({anonymizedDom:i(t,function(t){var n=[];return t===o&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n}),extraParams:JSON.stringify({activeElementName:o?o.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:s,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else{var c=e.getRangeAt(0);c.setEnd(t,n),e.addRange(c.cloneRange())}}function u(e,t,n,r){var o=document.createRange();n>a(t)&&l.logSelectionStateFailure({anonymizedDom:i(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),o.setStart(t,n),e.addRange(o)}var l=n(200),f=n(59),p=n(86),d=n(5);e.exports=s}).call(t,n(13))},function(e,t,n){"use strict";e.exports={logSelectionStateFailure:function(){return null}}},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(202);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";function r(e){return null==e?e:String(e)}function o(e,t){var n=void 0;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return r(n.getPropertyValue(a(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return r(n.getPropertyValue(a(t)));if("display"===t)return"none"}return r(e.currentStyle?"float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[i(t)]:e.style&&e.style[i(t)])}var i=n(204),a=n(88);e.exports=o},function(e,t,n){"use strict";function r(e){return e.replace(o,function(e,t){return t.toUpperCase()})}var o=/-(.)/g;e.exports=r},function(e,t,n){"use strict";function r(e){var t=o(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}var o=n(206);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e&&o(t,e)))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}}var o=n(59);e.exports=r},function(e,t,n){"use strict";function r(e){return e=e||document,e.scrollingElement?e.scrollingElement:o||"CSS1Compat"!==e.compatMode?e.body:e.documentElement}var o="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;e.exports=r},function(e,t,n){"use strict";function r(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=r},function(e,t,n){"use strict";function r(){var e=void 0;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function o(){var e=void 0;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function i(){return{width:window.innerWidth||r(),height:window.innerHeight||o()}}i.withoutScrollbars=function(){return{width:r(),height:o()}},e.exports=i},function(e,t,n){"use strict";function r(e){e||(e="");var t=void 0,n=arguments.length;if(n>1)for(var r=1;r0){if(e.props.handleDroppedFiles&&p(e.props.handleDroppedFiles(c,u)))return;return void l(u,function(t){t&&e.update(i(s,c,t))})}var f=e._internalDrag?"internal":"external";if(!e.props.handleDrop||!p(e.props.handleDrop(c,n,f)))return e._internalDrag?void e.update(o(s,c)):void e.update(i(s,c,n.getText()))}}};e.exports=h},function(e,t,n){"use strict";function r(e){return e.split("/")}var o={isImage:function(e){return"image"===r(e)[0]},isJpeg:function(e){var t=r(e);return o.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&a(!1),"number"!=typeof t&&a(!1),0===t||t-1 in e||a(!1),"function"==typeof e.callee&&a(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r=0;h--)if(!(null!=d&&h>0&&s.isSurrogatePair(d,h-1))){if(e.setStart(f,h),!o(c(e),n))break;a=f,l=h}if(-1===h||0===f.childNodes.length)break;f=f.childNodes[h],p=i(f)}return e.setStart(a,l),e}var s=n(24),c=n(95),u=n(5);e.exports=a},function(e,t,n){"use strict";function r(e){var t=s(e,function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return a(e,1);var r=t.getStartKey(),i=e.getCurrentContent(),s=i.getBlockForKey(r).getText().slice(0,n),c=o.getBackward(s);return a(e,c.length||1)},"backward");return t===e.getCurrentContent()?e:i.push(e,t,"remove-range")}var o=n(97),i=n(6),a=n(64),s=n(32);e.exports=r},function(e,t,n){"use strict";e.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;\u30fb\u3001\u3002\u3008-\u3011\u3014-\u301f\uff1a-\uff1f\uff01-\uff0f\uff3b-\uff40\uff5b-\uff65\u2e2e\u061f\u066a-\u066c\u061b\u060c\u060d\ufd3e\ufd3f\u1801\u0964\u104a\u104b\u2010-\u2027\u2030-\u205e\xa1-\xb1\xb4-\xb8\xba\xbb\xbf]"}}},function(e,t,n){"use strict";function r(e){var t=s(e,function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),i=e.getCurrentContent(),s=i.getBlockForKey(r).getText().slice(n),c=o.getForward(s);return a(e,c.length||1)},"forward");return t===e.getCurrentContent()?e:i.push(e,t,"remove-range")}var o=n(97),i=n(6),a=n(98),s=n(32);e.exports=r},function(e,t,n){"use strict";function r(e){var t=o.splitBlock(e.getCurrentContent(),e.getSelection());return i.push(e,t,"split-block")}var o=n(7),i=n(6);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent(),i=r.getBlockForKey(n).getLength();return o.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})}var o=n(6);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.getSelection(),n=t.getStartKey();return o.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}var o=n(6);e.exports=r},function(e,t,n){"use strict";function r(e){var t=s(e,function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),o=t.getAnchorOffset(),s=n.getBlockForKey(r).getText()[o-1];return a(e,s?i.getUTF16Length(s,0):1)},"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return o.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}var o=n(6),i=n(24),a=n(64),s=n(32);e.exports=r},function(e,t,n){"use strict";function r(e){var t=s(e,function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),o=t.getAnchorOffset(),s=n.getBlockForKey(r).getText()[o];return a(e,s?i.getUTF16Length(s,0):1)},"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return o.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}var o=n(6),i=n(24),a=n(98),s=n(32);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var r=t.getAnchorKey(),s=e.getCurrentContent(),c=s.getBlockForKey(r),u=c.getLength();if(u<=1)return e;var l,f;n===u?(l=t.set("anchorOffset",n-1),f=t):(l=t.set("focusOffset",n+1),f=l.set("anchorOffset",n+1));var p=a(s,l),d=o.removeRange(s,l,"backward"),h=d.getSelectionAfter(),g=h.getAnchorOffset()-1,m=h.merge({anchorOffset:g,focusOffset:g}),y=o.replaceWithFragment(d,m,p),v=i.push(e,y,"insert-fragment");return i.acceptSelection(v,f)}var o=n(7),i=n(6),a=n(38);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=o.undo(t);if("spellcheck-change"===t.getLastChangeType()){var i=r.getCurrentContent();return void n(o.set(r,{nativelyRenderedContent:i}))}if(e.preventDefault(),!t.getNativelyRenderedContent())return void n(r);n(o.set(t,{nativelyRenderedContent:null})),setTimeout(function(){n(r)},0)}var o=n(6);e.exports=r},function(e,t,n){"use strict";function r(e,t){t.preventDefault();var n=new c(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),y=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&g(e.props.handlePastedFiles(r)))return;return void h(r,function(t){if(t=t||y){var n=e._latestEditorState,r=m(t),o=s.create({style:n.getCurrentInlineStyle(),entity:d(n.getCurrentContent(),n.getSelection())}),i=p.getCurrentBlockType(n),c=l.processText(r,o,i),h=a.createFromArray(c),g=u.replaceWithFragment(n.getCurrentContent(),n.getSelection(),h);e.update(f.push(n,g,"insert-fragment"))}})}}var v=[],b=n.getText(),w=n.getHTML(),k=e._latestEditorState;if(!e.props.handlePastedText||!g(e.props.handlePastedText(b,w,k))){if(b&&(v=m(b)),!e.props.stripPastedStyles){var S=e.getClipboard();if(n.isRichText()&&S){if(-1!==w.indexOf(e.getEditorKey())||1===v.length&&1===S.size&&S.first().getText()===b)return void e.update(o(e._latestEditorState,S))}else if(S&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&i(v,S))return void e.update(o(e._latestEditorState,S));if(w){var E=l.processHTML(w,e.props.blockRenderMap);if(E){var x=E.contentBlocks,_=E.entityMap;if(x){var C=a.createFromArray(x);return void e.update(o(e._latestEditorState,C,_))}}}e.setClipboard(null)}if(v.length){var O=s.create({style:k.getCurrentInlineStyle(),entity:d(k.getCurrentContent(),k.getSelection())}),T=p.getCurrentBlockType(k),A=l.processText(v,O,T),P=a.createFromArray(A);e.update(o(e._latestEditorState,P))}}}function o(e,t,n){var r=u.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return f.push(e,r.set("entityMap",n),"insert-fragment")}function i(e,t){return e.length===t.size&&t.valueSeq().every(function(t,n){return t.getText()===e[n]})}var a=n(27),s=n(12),c=n(89),u=n(7),l=n(240),f=n(6),p=n(101),d=n(57),h=n(91),g=n(40),m=n(243);e.exports=r},function(e,t,n){"use strict";var r=(n(12),n(23)),o=n(3),i=n(99),a=n(8),s=n(100),c=n(53),u=o.List,l=o.Repeat,f={processHTML:function(e,t){return i(e,s,t)},processText:function(e,t,n){return e.map(function(e){return e=c(e),new r({key:a(),type:n,text:e,characterList:u(l(t,e.length))})})}};e.exports=f},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t){r(this,e),this._uri=t}return e.prototype.toString=function(){return this._uri},e}();e.exports=o},function(e,t,n){"use strict";function r(e,t,n,r){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil(function(e,t){return t===o}).takeUntil(function(e,t){return t===i}).concat([[i,a.get(i)]]).map(function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)});return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})}e.exports=r},function(e,t,n){"use strict";function r(e){return e.split(o)}var o=/\r\n?|\n/g;e.exports=r},function(e,t,n){"use strict";function r(e){if(!e._blockSelectEvents&&e._latestEditorState===e.props.editorState){var t=e.props.editorState,n=i.findDOMNode(e.refs.editorContainer);n||s(!1),n.firstChild instanceof HTMLElement||s(!1);var r=a(t,n.firstChild),c=r.selectionState;c!==t.getSelection()&&(t=r.needsRecovery?o.forceSelection(t,c):o.acceptSelection(t,c),e.update(t))}}var o=n(6),i=n(16),a=n(245),s=n(5);e.exports=r},function(e,t,n){"use strict";(function(t){function r(e,n){var r=t.getSelection();return 0===r.rangeCount?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:o(e,n,r.anchorNode,r.anchorOffset,r.focusNode,r.focusOffset)}var o=n(96);e.exports=r}).call(t,n(13))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n(30),c=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},t.prototype.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=s({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return a.createElement("div",{className:t},a.createElement("div",{className:s("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID},this.props.text))},t}(a.Component);e.exports=c},function(e,t,n){"use strict";function r(e){var t=0,n={},r=[];e.getBlockMap().forEach(function(e,s){e.findEntityRanges(function(e){return null!==e.getEntity()},function(r){var i=o.stringify(e.getEntityAt(r));n.hasOwnProperty(i)||(n[i]=""+t++)}),r.push({key:s,text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:a(e),entityRanges:i(e,n),data:e.getData().toObject()})});var s=Object.keys(n),c={};return s.forEach(function(t,n){var r=e.getEntity(o.unstringify(t));c[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}}),{entityMap:c,blocks:r}}var o=n(103),i=n(248),a=n(249);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=[];return e.findEntityRanges(function(e){return!!e.getEntity()},function(r,i){var s=e.getText(),c=e.getEntityAt(r);n.push({offset:a(s.slice(0,r)),length:a(s.slice(r,i)),key:Number(t[o.stringify(c)])})}),n}var o=n(103),i=n(24),a=i.strlen;e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=[],o=t.map(function(e){return e.has(n)}).toList();return a(o,s,c,function(t,o){var a=e.getText();r.push({offset:i.strlen(a.slice(0,t)),length:i.strlen(a.slice(t,o)),style:n})}),r}function o(e){var t=e.getCharacterList().map(function(e){return e.getStyle()}).toList(),n=t.flatten().toSet().map(function(n){return r(e,t,n)});return Array.prototype.concat.apply(u,n.toJS())}var i=n(24),a=n(37),s=function(e,t){return e===t},c=function(e){return!!e},u=[];e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.blocks,n=e.entityMap,r={};Object.keys(n).forEach(function(e){var t=n[e],o=t.type,i=t.mutability,a=t.data,s=c.__create(o,i,a||{});r[e]=s});var o=t.map(function(e){var t=e.key,n=e.type,o=e.text,s=e.depth,c=e.inlineStyleRanges,u=e.entityRanges,g=e.data;t=t||d(),n=n||"unstyled",s=s||0,c=c||[],u=u||[],g=h(g);var m=p(o,c),y=u.filter(function(e){return r.hasOwnProperty(e.key)}).map(function(e){return i({},e,{key:r[e.key]})}),v=f(o,y),b=l(m,v);return new a({key:t,type:n,text:o,depth:s,characterList:b,data:g})});return s.createFromBlockArray(o)}var o=n(19),i=o||function(e){for(var t=1;t1&&0===t[0].width){var s=t[1];n=s.top,r=s.right,i=s.bottom,a=s.left}else{var c=t[0];n=c.top,r=c.right,i=c.bottom,a=c.left}for(var u=1;u0&&void 0!==arguments[0]?arguments[0]:function(e){return e})(r.state.pluginHostMemory)},updateMemory:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return new Promise(function(t){return r.setState({pluginHostMemory:e(r.state.pluginHostMemory)},t)})},triggerCommand:function(e,t){return r._handleKeyCommand(e,r.state.editorState,t)},focusHostEditor:function(){return r.focus()},refreshToolbar:function(){r._toolbar&&r._toolbar.forceUpdate()}},r.focus=function(){r.draftEditor&&r.draftEditor.focus()},r.clear=function(){r._storeObtainer=null,r.setState({editorState:y.EditorState.createEmpty(r._decorator),pluginHostMemory:{},readOnly:!1},function(){return r.props.onChange(r)}),r.errorBoundary&&r.errorBoundary.clear()},r._handleFocusByMouseDown=function(e){r.focus()},r._handleFocus=function(){r.setState({focused:!0}),"function"==typeof r.props.onFocus&&r.props.onFocus()},r._handleBlur=function(){r.setState({focused:!1}),"function"==typeof r.props.onBlur&&r.props.onBlur()},r._forceUpdate=function(){r.setState({editorState:y.EditorState.force(r.state.editorState,r.state.editorState.getSelection())})},r._getCustomStyleMap=function(){var e={},t=!0,n=!1,o=void 0;try{for(var i,a=r._plugins[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value,c=s.getCustomStyleMap;c&&(e=E({},e,c()))}}catch(e){n=!0,o=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw o}}return e},r._getBlockStyle=function(e){if("unstyled"===e.getType())return"paragraph"},r._renderBlock=function(e){var t=!0,n=!1,o=void 0;try{for(var i,a=r._plugins[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value,c=s.getBlockRenderInfo;if(c){var u=c(e,r._selfStore,r._pluginHostAPI);if(u)return u}}}catch(e){n=!0,o=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw o}}return null},r._handleChange=function(e,t){return new Promise(function(n){var o=r.state.editorState,i=o.getCurrentContent(),a=!0,s=!1,c=void 0;try{for(var u,l=r._plugins[Symbol.iterator]();!(a=(u=l.next()).done);a=!0){var f=u.value,p=f.handleChange;p&&(e=p(e))}}catch(e){s=!0,c=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw c}}e=Object(b.h)(e);var d=e.getCurrentContent(),h=t||d!==i;r.setState({editorState:e},function(){h&&"function"==typeof r.props.onChange&&r.props.onChange(r),n()})})},r._keyBindingFn=function(e){var t=r.state.editorState,n=!0,o=!1,i=void 0;try{for(var a,s=r._plugins[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var c=a.value,u=c.keyBinding;if(u){var l=u(t,e);if(l)return l}}}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return Object(y.getDefaultKeyBinding)(e)},r._handleKeyCommand=function(e,t,n){var o=r._activeStore;return r._tryHandleByPlugins("handleCommand",o,e,n)},r._handleArrowKey=function(e){var t=r.state.editorState,n={37:"arrow-left",38:"arrow-up",39:"arrow-right",40:"arrow-down"}[e.keyCode];return r._handleKeyCommand(n,t,e)},r._handleReturnKey=function(e){var t=r.state.editorState;return r._handleKeyCommand("return",t,e)},r._handleTabKey=function(e){var t=r.state.editorState;return r._handleKeyCommand("tab",t,e)},r._handlePastedText=function(e,t){if(!e)return"not-handled";var n=r._activeStore,o=n.getEditorState(),i=null;if(t&&"handled"===(i=r._tryHandleByPlugins("handlePastedHtml",n,t)))return i;if("handled"!==(i=r._tryHandleByPlugins("handlePastedText",n,e))){e=e.replace(/\t/g," "),e=e.replace(/r\n/g,"\n");var a=o.getSelection(),s=y.ContentState.createFromText(e,"\n").getBlockMap(),c=y.Modifier.replaceWithFragment(o.getCurrentContent(),a,s);r._handleChange(y.EditorState.push(o,c,"insert-fragment")),i="handled"}return i},r._handleDroppedFiles=function(e,t){var n=r._activeStore;return r._tryHandleByPlugins("handleFiles",n,e,t,"drop")},r._handlePastedFiles=function(e){var t=r._activeStore,n=t.getEditorState().getSelection();return r._tryHandleByPlugins("handleFiles",t,n,e,"paste")},a=n,i(r,a)}return a(t,e),x(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.disabled,r=t.containerClassName,o=t.className,i=t.placeholder,a=t.tip,s=t.containerStyle,u=t.style,f=this.state,d=f.initialized,h=f.editorState,g=f.focused,m=f.readOnly;if(!d)return null;var v=this._activeStore.getEditorEnviorment(),S="root"===v;return c.a.createElement("div",{className:l()("qa-r-editor-container",r,{focused:g,disabled:n}),style:s},c.a.createElement(w.b,{store:this._activeStore,plugins:this._plugins,ref:function(t){return e._toolbar=t}}),c.a.createElement("div",{className:l()("qa-r-editor draft-editor-host c-markdown",o),style:u,onMouseDown:this._handleFocusByMouseDown},c.a.createElement(k.a,{ref:function(t){return e.errorBoundary=t},title:"\u62b1\u6b49\uff0c\u7f16\u8f91\u5668\u53d1\u751f\u9519\u8bef",recover:c.a.createElement("p",null,"\u60a8\u53ef\u5c1d\u8bd5",c.a.createElement("a",{href:"javascript: void(0)",onClick:function(t){e.setRaw(e.getRaw()),e.errorBoundary.clear()}},"\u6062\u590d\u7f16\u8f91\u5185\u5bb9"))},c.a.createElement(y.Editor,{ref:function(t){return e.draftEditor=t},readOnly:!S||m,editorState:h,onChange:this._handleChange,onFocus:this._handleFocus,onBlur:this._handleBlur,customStyleMap:this._getCustomStyleMap(),blockStyleFn:this._getBlockStyle,blockRendererFn:this._renderBlock,blockRenderMap:y.DefaultDraftBlockRenderMap.merge(p.a.Map({"code-block":{element:"div"}})),keyBindingFn:this._keyBindingFn,onUpArrow:this._handleArrowKey,onDownArrow:this._handleArrowKey,onLeftArrow:this._handleArrowKey,onRightArrow:this._handleArrowKey,handleReturn:this._handleReturnKey,handleKeyCommand:this._handleKeyCommand,onTab:this._handleTabKey,onSelect:function(e){return e.preventDefault()},handlePastedText:this._handlePastedText,handlePastedFiles:this._handlePastedFiles,handleDroppedFiles:this._handleDroppedFiles})),i&&Object(b.F)(h)&&c.a.createElement("div",{className:"rich-editor-placeholder"},i)),a&&c.a.createElement("div",{className:"qa-r-editor-tip"},c.a.createElement("div",{className:"tip-cnt"},a)))}},{key:"componentDidMount",value:function(){this._initContent(),this.props.autoFocus&&this.focus()}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}},{key:"getContent",value:function(){return this.state.editorState.getCurrentContent()}},{key:"getPlainText",value:function(){return this.getContent().getPlainText()}},{key:"getRaw",value:function(){return Object(y.convertToRaw)(this.getContent())}},{key:"getPacked",value:function(){return v.pack(this.getRaw())}},{key:"setRaw",value:function(e){this._initContent({raw:e})}},{key:"_initContent",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=t.raw,r=t.packed,o=function(t){return e._setRaw(t)},i=function(){return Object(y.convertToRaw)(e.state.editorState.getCurrentContent())},a=function(e){return h()("object"===(void 0===e?"undefined":S(e))&&Array.isArray(e.blocks)&&"object"===S(e.entityMap),"RichEditor \u4f20\u5165\u4e86\u975e\u6cd5\u7684 raw \u683c\u5f0f\uff1a%s",JSON.stringify(e))};"object"===("undefined"==typeof window?"undefined":S(window))&&(window.re={importFromRaw:o,exportToRaw:i,getStore:function(){return e._activeStore}}),n?a(n):!n&&r&&(n=Object(b.Q)(r),h()(n,"RichEditor \u65e0\u6cd5\u89e3\u6790 packed \u6570\u636e\uff1a%s",r),a(n)),n&&o(n),this.setState({initialized:!0})}},{key:"_setRaw",value:function(e){this.setState({editorState:e.blocks.length?y.EditorState.createWithContent(Object(y.convertFromRaw)(e),this._decorator):y.EditorState.createEmpty(this._decorator)})}},{key:"_tryHandleByPlugins",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?new b.a(e):1===e.length?e[0]:null}}]),t}(s.Component)},function(e,t,n){function r(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}function o(e){function n(){if(n.enabled){var e=n,r=+new Date,i=r-(o||r);e.diff=i,e.prev=o,e.curr=r,o=r;for(var a=new Array(arguments.length),s=0;s100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*l;case"days":case"day":case"d":return n*u;case"hours":case"hour":case"hrs":case"hr":case"h":return n*c;case"minutes":case"minute":case"mins":case"min":case"m":return n*s;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(e){return e>=u?Math.round(e/u)+"d":e>=c?Math.round(e/c)+"h":e>=s?Math.round(e/s)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function o(e){return i(e,u,"day")||i(e,c,"hour")||i(e,s,"minute")||i(e,a,"second")||e+" ms"}function i(e,t,n){if(!(e0)return n(e);if("number"===i&&!1===isNaN(e))return t.long?o(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(264),o=n(265),i=n(266),a=n(267),s={collapse:r.a,fade:o.a,scale:i.a,slide:a.a}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.targetHeight,n=e.enterTimeout,r=void 0===n?i.a:n,c=e.leaveTimeout,u=void 0===c?i.b:c,l=i.c+"collapse",f=Object(o.x)({name:l,targetHeight:t,enterTimeout:r,leaveTimeout:u});if(!s[f]){var p=s[f]={transitionName:l+f,transitionEnterTimeout:r,transitionLeaveTimeout:u},d=a(p,t);Object(o.A)(l+f,d)}return s[f]}t.a=r;var o=n(2),i=n(41),a=function(e,t){return"\n."+e.transitionName+"-enter {\n\tmax-height: 0;\n}\n."+e.transitionName+"-enter-active {\n\tmax-height: "+t+"px;\n\ttransition: max-height "+e.transitionEnterTimeout+"ms ease;\n}\n."+e.transitionName+"-leave {\n\tmax-height: "+t+"px;\n}\n."+e.transitionName+"-leave-active {\n\tmax-height: 0;\n\ttransition: max-height "+e.transitionLeaveTimeout+"ms ease;\n}\n"},s={}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.visibleOpacity,n=void 0===t?1:t,r=e.enterTimeout,c=void 0===r?i.a:r,u=e.leaveTimeout,l=void 0===u?i.b:u,f=i.c+"fade",p=Object(o.x)({name:f,visibleOpacity:n,enterTimeout:c,leaveTimeout:l});if(!s[p]){var d=s[p]={transitionName:f+p,transitionEnterTimeout:c,transitionLeaveTimeout:l+1e-4},h=a(d,n);Object(o.A)(f+p,h)}return s[p]}t.a=r;var o=n(2),i=n(41),a=function(e,t){return"\n."+e.transitionName+"-enter {\n\topacity: 0 !important;\n}\n."+e.transitionName+"-enter-active {\n\topacity: "+t+" !important;\n\ttransition: opacity "+e.transitionEnterTimeout+"ms ease;\n}\n."+e.transitionName+"-leave {\n\topacity: "+t+" !important;\n}\n."+e.transitionName+"-leave-active {\n\topacity: 0 !important;\n\ttransition: opacity "+e.transitionLeaveTimeout+"ms ease;\n}\n"},s={}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.enterScale,n=void 0===t?{sx:.1,sy:.1}:t,r=e.leaveScale,c=void 0===r?n:r,u=e.enterTimeout,l=void 0===u?i.a:u,f=e.leaveTimeout,p=void 0===f?i.b:f,d=i.c+"scale",h=Object(o.x)({name:d,enterScale:n,leaveScale:c,enterTimeout:l,leaveTimeout:p});if(!s[h]){var g=s[h]={transitionName:d+h,transitionEnterTimeout:l,transitionLeaveTimeout:p},m=a(g,n,c);Object(o.A)(d+h,m)}return s[h]}t.a=r;var o=n(2),i=n(41),a=function(e,t,n){return"\n."+e.transitionName+"-enter {\n\topacity: 0 !important;\n\ttransform: scale3d("+t.sx+", "+t.sy+", 1);\n}\n."+e.transitionName+"-enter-active {\n\topacity: 1 !important;\n\ttransform: scale3d(1, 1, 1);\n\ttransition: opacity "+e.transitionEnterTimeout+"ms ease, transform "+e.transitionEnterTimeout+"ms ease;\n}\n."+e.transitionName+"-leave {\n\topacity: 1 !important;\n\ttransform: scale3d(1, 1, 1);\n}\n."+e.transitionName+"-leave-active {\n\topacity: 0 !important;\n\ttransform: scale3d("+n.sx+", "+n.sy+", 1);\n\ttransition: opacity "+e.transitionLeaveTimeout+"ms ease, transform "+e.transitionLeaveTimeout+"ms ease;\n}\n"},s={}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.enterPosition,n=void 0===t?{x:0,y:-30}:t,r=e.leavePosition,c=void 0===r?n:r,u=e.enterTimeout,l=void 0===u?i.a:u,f=e.leaveTimeout,p=void 0===f?i.b:f,d=i.c+"slide",h=Object(o.x)({name:d,enterPosition:n,leavePosition:c,enterTimeout:l,leaveTimeout:p});if(!s[h]){var g=s[h]={transitionName:d+h,transitionEnterTimeout:l,transitionLeaveTimeout:p},m=a(g,n,c);Object(o.A)(d+h,m)}return s[h]}t.a=r;var o=n(2),i=n(41),a=function(e,t,n){return"\n."+e.transitionName+"-enter {\n\topacity: 0 !important;\n\ttransform: translate3d("+t.x+"px, "+t.y+"px, 0);\n}\n."+e.transitionName+"-enter-active {\n\topacity: 1 !important;\n\ttransform: translate3d(0, 0, 0);\n\ttransition: opacity "+e.transitionEnterTimeout+"ms ease, transform "+e.transitionEnterTimeout+"ms ease;\n}\n."+e.transitionName+"-leave {\n\topacity: 1 !important;\n\ttransform: translate3d(0, 0, 0);\n}\n."+e.transitionName+"-leave-active {\n\topacity: 0 !important;\n\ttransform: translate3d("+n.x+"px, "+n.y+"px, 0);\n\ttransition: opacity "+e.transitionLeaveTimeout+"ms ease, transform "+e.transitionLeaveTimeout+"ms ease;\n}\n"},s={}},function(e,t,n){"use strict";function r(e){function t(){for(;l1&&void 0!==arguments[1]?arguments[1]:3,a=e.length,s=[],c=[],u=e.map(function(){return new Promise(function(e,t){c.push({resolve:e,reject:t})})}),l=0,f=0,p=0;t();var d=0;return{next:function(){return u[d++]}}}t.a=r},function(e,t,n){"use strict";function r(e,t){if(!o[e]){if(console.error("[DraftMaster] \u5df2\u5f03\u7528\uff1a"+e),t)throw e;o[e]=!0}}t.a=r;var o={}},function(e,t,n){"use strict";function r(e){var t=e.getCurrentContent();if(!t.getFirstBlock()){var n=Object(o.genKey)(),r=new o.ContentBlock({key:n,type:"unstyled",text:""});t=t.set("blockMap",t.getBlockMap().set(n,r));var i=o.SelectionState.createEmpty(n);return o.EditorState.moveSelectionToEnd(o.EditorState.set(e,{currentContent:t,selection:i}))}return e}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}n.d(t,"a",function(){return a});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=[1,.98,.96,.94,.9,.8,.7,.5,.3,.1,.05],a=function(){var e=r(regeneratorRuntime.mark(function e(t){var n,r,o,a,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1048576;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=i.slice(),r="image/png",o=1;case 2:return e.next=5,s(t,r,o);case 5:if(a=e.sent,!(a.size2&&void 0!==arguments[2]?arguments[2]:"after",o=e.getCurrentContent(),s=o.getBlockMap(),c=s.get(t),u=s.takeUntil(function(e,n){return n===t}),l=s.skipUntil(function(e,n){return n===t}).rest(),f=new i.ContentBlock({key:Object(i.genKey)(),type:"unstyled",text:""}),p="before"===n?u.concat(Object(a.OrderedMap)(r({},f.getKey(),f)),Object(a.OrderedMap)(r({},c.getKey(),c)),l).toOrderedMap():u.concat(Object(a.OrderedMap)(r({},c.getKey(),c)),Object(a.OrderedMap)(r({},f.getKey(),f)),l).toOrderedMap(),d=o.set("blockMap",p),h=i.SelectionState.createEmpty(f.getKey()),g=i.EditorState.push(e,d,"insert-fragment");return i.EditorState.forceSelection(g,h)}t.a=o;var i=n(1),a=(n.n(i),n(3));n.n(a)},function(e,t,n){"use strict";function r(e,t){if("undefined"!=typeof document){var n=document.getElementById(o+e);return n||(n=document.createElement("style"),n.id=o+e,document.querySelector("head").appendChild(n)),n.textContent!=t&&(n.textContent=t),n}}t.a=r;var o="dynamic-inserted-css-"},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t,n){var o=e.getEditorState(),c=o.getCurrentContent(),u=Object(a.k)(Object(s.a)(n)),l=u.getBlockMap();1===l.size&&(l=l.merge(r({},genKey(),convertFromRaw({blocks:[{type:"unstyled",text:""}],entityMap:{}}).getFirstBlock())));var f=i.Modifier.replaceWithFragment(c,t,l);e.setEditorState(i.EditorState.push(o,f,"insert-fragment"))}t.a=o;var i=n(1),a=(n.n(i),n(2)),s=n(66)},function(e,t,n){"use strict";function r(e,t){var n={},r=!0,o=!1,i=void 0;try{for(var a,s=Object.entries(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value,u=y(c,2),l=u[0],f=u[1];n[l]=e[l],e[l]=f}}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return function(){var r=!0,o=!1,i=void 0;try{for(var a,s=Object.entries(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value,u=y(c,2),l=u[0];u[1];e[l]=n[l]}}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}}}n.d(t,"a",function(){return k});var o=n(1),i=(n.n(o),n(14)),a=n.n(i),s=n(3),c=(n.n(s),n(288)),u=n(304),l=n(305),f=n(306),p=n(307),d=n(308),h=n(309),g=n(310),m=n(311),y=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b=function(e,t){return e?e(t):t},w=function(e){return Object(c.a)({htmlToStyle:b(e.htmlToStyle,function(e,t,n,r){return"code-block"===r?Object(s.OrderedSet)():"strong"===e||"b"===e?n.add("BOLD"):"code"===e&&t.classList.contains("hljs")?n.remove("CODE"):n}),htmlToBlock:b(e.htmlToBlock,function(e,t,n,r){return"table"===r?null:Object(u.a)(e,t)||Object(l.a)(e,t)||Object(g.a)(e,t)||Object(f.a)(e,t)||Object(p.a)(e,t)}),htmlToEntity:b(e.htmlToEntity,function(e,t,n){return Object(m.a)(e,t,n)||Object(d.a)(e,t,n)||Object(h.a)(e,t,n)}),textToEntity:function(e,t){return[]}})},k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"===("undefined"==typeof window?"undefined":v(window))&&window.document)return w(t)(e);var n=t.node;a()("object"===(void 0===n?"undefined":v(n))&&"object"===v(n.global)&&"function"==typeof n.require,"\u5728 Node \u73af\u5883\u8f6c\u6362 HTML \u5185\u5bb9\u5230\u5176\u5b83\u683c\u5f0f\uff0c\u8bf7\u4f20\u5165 options.node = { global, require }");var o=n.global,i=n.require,s=void 0;try{s=i("jsdom")}catch(e){console.log(e)}if(!s)throw new Error("\u8981\u8f6c\u6362 HTML \u5185\u5bb9\u5230\u5176\u5b83\u683c\u5f0f\uff0c\u8bf7\u5b89\u88c5 jsdom \u6a21\u5757");var c=s,u=c.JSDOM,l=new u(e),f=l.window,p=f.document,d=f.HTMLElement,h=r(o,{document:p,HTMLElement:d}),g=w(t)(e,void 0,function(){return p.body});return h(),g}},function(e,t,n){"use strict";var r=(n(289),n(303));n(111);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";var r=n(14),o=(n.n(r),n(0)),i=(n.n(o),n(33)),a=(n.n(i),n(1));n.n(a),n(293),n(294),n(296),n(110),n(299),n(300),n(301),n(302)},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;rt||n.hasOverloadedBooleanValue&&!1===t)return"";var r=n.attributeName;if(n.hasBooleanValue||n.hasOverloadedBooleanValue&&!0===t)return r+'=""';if("boolean"!=typeof t||s(e))return r+'="'+u(t)+'"'}else if(i(e,t))return null==t?"":e+'="'+u(t)+'"';return null}function p(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function d(e){return"string"==typeof e?e:"function"==typeof e?e.displayName||e.name:null}function h(e){var t="";return b.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}function g(e,t){if(e=e.contextTypes){var n,r={};for(n in e)r[n]=t[n];t=r}else t=k;return t}function m(e,t){void 0===e&&r("152",d(t)||"Component")}function y(e,t){for(;b.isValidElement(e);){var n=e,o=n.type;if("function"!=typeof o)break;e=g(o,t);var i=[],a=!1,s={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===i)return null},enqueueReplaceState:function(e,t){a=!0,i=[t]},enqueueSetState:function(e,t){if(null===i)return null;i.push(t)}};if(o.prototype&&o.prototype.isReactComponent)var c=new o(n.props,e,s);else if(null==(c=o(n.props,e,s))||null==c.render){e=c,m(e,o);continue}if(c.props=n.props,c.context=e,c.updater=s,s=c.state,void 0===s&&(c.state=s=null),c.componentWillMount)if(c.componentWillMount(),i.length){s=i;var u=a;if(i=null,a=!1,u&&1===s.length)c.state=s[0];else{var l=u?s[0]:c.state,f=!0;for(u=u?1:0;u=c.hasBooleanValue+c.hasNumericValue+c.hasOverloadedBooleanValue||r("50",s),a.hasOwnProperty(s)&&(c.attributeName=a[s]),i.hasOwnProperty(s)&&(c.attributeNamespace=i[s]),e.hasOwnProperty(s)&&(c.mutationMethod=e[s]),C[s]=c}}},C={},O=_,T=O.MUST_USE_PROPERTY,A=O.HAS_BOOLEAN_VALUE,P=O.HAS_NUMERIC_VALUE,L=O.HAS_POSITIVE_NUMERIC_VALUE,R=O.HAS_OVERLOADED_BOOLEAN_VALUE,D=O.HAS_STRING_BOOLEAN_VALUE,I={Properties:{allowFullScreen:A,async:A,autoFocus:A,autoPlay:A,capture:R,checked:T|A,cols:L,contentEditable:D,controls:A,default:A,defer:A,disabled:A,download:R,draggable:D,formNoValidate:A,hidden:A,loop:A,multiple:T|A,muted:T|A,noValidate:A,open:A,playsInline:A,readOnly:A,required:A,reversed:A,rows:L,rowSpan:P,scoped:A,seamless:A,selected:T|A,size:L,start:P,span:L,spellCheck:D,style:0,tabIndex:0,itemScope:A,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:D},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}},M=O.HAS_STRING_BOOLEAN_VALUE,j={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},N={Properties:{autoReverse:M,externalResourcesRequired:M,preserveAlpha:M},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:j.xlink,xlinkArcrole:j.xlink,xlinkHref:j.xlink,xlinkRole:j.xlink,xlinkShow:j.xlink,xlinkTitle:j.xlink,xlinkType:j.xlink,xmlBase:j.xml,xmlLang:j.xml,xmlSpace:j.xml}},B=/[\-\:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space".split(" ").forEach(function(e){var t=e.replace(B,c);N.Properties[t]=0,N.DOMAttributeNames[t]=e}),O.injectDOMPropertyConfig(I),O.injectDOMPropertyConfig(N);var F=/["'&<>]/,K=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,q={},U={},z={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},H={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},V=v({menuitem:!0},H),W={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},G=["Webkit","ms","Moz","O"];Object.keys(W).forEach(function(e){G.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),W[t]=W[e]})});var $="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.fragment")||60107,X=b.Children.toArray,Y=w.thatReturns(""),Z={listing:!0,pre:!0,textarea:!0},J=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Q={},ee=E(function(e){return S(e)}),te={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},ne=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");b.isValidElement(t)?t.type!==$?t=[t]:(t=t.props.children,t=b.isValidElement(t)?[t]:X(t)):t=X(t),this.stack=[{domNamespace:z.html,children:t,childIndex:0,context:k,footer:""}],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n}return e.prototype.read=function(e){if(this.exhausted)return null;for(var t="";t.length=n.children.length){var r=n.footer;t+=r,""!==r&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===n.tag&&(this.currentSelectValue=null)}else r=n.children[n.childIndex++],t+=this.render(r,n.context,n.domNamespace)}return t},e.prototype.render=function(e,t,n){return"string"==typeof e||"number"==typeof e?""===(n=""+e)?"":this.makeStaticMarkup?u(n):this.previousWasTextNode?"\x3c!-- --\x3e"+u(n):(this.previousWasTextNode=!0,u(n)):(t=y(e,t),e=t.child,t=t.context,null===e||!1===e?"":b.isValidElement(e)?e.type===$?(e=X(e.props.children),this.stack.push({domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""):this.renderDOM(e,t,n):(e=X(e),this.stack.push({domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""))},e.prototype.renderDOM=function(e,t,n){var o=e.type.toLowerCase();n===z.html&&p(o),Q.hasOwnProperty(o)||(J.test(o)||r("65",o),Q[o]=!0);var i=e.props;if("input"===o)i=v({type:void 0},i,{defaultChecked:void 0,defaultValue:void 0,value:null!=i.value?i.value:i.defaultValue,checked:null!=i.checked?i.checked:i.defaultChecked});else if("textarea"===o){var a=i.value;if(null==a){a=i.defaultValue;var s=i.children;null!=s&&(null!=a&&r("92"),Array.isArray(s)&&(1>=s.length||r("93"),s=s[0]),a=""+s),null==a&&(a="")}i=v({},i,{value:void 0,children:""+a})}else if("select"===o)this.currentSelectValue=null!=i.value?i.value:i.defaultValue,i=v({},i,{value:void 0});else if("option"===o){s=this.currentSelectValue;var c=h(i.children);if(null!=s){var d=null!=i.value?i.value+"":c;if(a=!1,Array.isArray(s)){for(var g=0;g":(S+=">",a="");e:{if(null!=(s=i.dangerouslySetInnerHTML)){if(null!=s.__html){s=s.__html;break e}}else if("string"==typeof(s=i.children)||"number"==typeof s){s=u(s);break e}s=null}return null!=s?(i=[],Z[o]&&"\n"===s.charAt(0)&&(S+="\n"),S+=s):i=X(i.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?p(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,tag:o,children:i,childIndex:0,context:t,footer:a}),this.previousWasTextNode=!1,S},e}(),re={renderToString:function(e){return new ne(e,!1).read(1/0)},renderToStaticMarkup:function(e){return new ne(e,!0).read(1/0)},renderToNodeStream:function(){r("207")},renderToStaticNodeStream:function(){r("208")},version:"16.1.1"},oe=Object.freeze({default:re}),ie=oe&&re||oe;e.exports=ie.default?ie.default:ie},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e){return o(e).replace(i,"-ms-")}var o=n(88),i=/^ms-/;e.exports=r},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t":">",'"':""","'":"'","`":"`","\n":"
"};t.a=function(e){for(var t=[].concat(r(e.text)),n=e.entityRanges.sort(i.a),s=e.inlineStyleRanges.sort(i.a),c="",u=0;u0&&void 0!==arguments[0]&&arguments[0];return arguments[1]};t.a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,u=[].concat(r(e.text)),l=n;if(n.__isMiddleware&&(l=n(c)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var f=e.entityRanges.sort(i.a),p=e.inlineStyleRanges,d=0;de||Object.prototype.hasOwnProperty.call(t,"style")?Object(o.a)(t,n.offset,n.length,h.length,g,m):t},v=function(e){return e.reduce(function(e,t,n){var r=y(t,n);return Array.isArray(r)?e.concat(r):e.concat([r])},[])};f=v(f),p=v(p),u=[].concat(r(u.slice(0,n.offset)),r(h),r(u.slice(n.offset+n.length)))}(d);return Object.assign({},e,{text:u.join(""),inlineStyleRanges:p,entityRanges:f})}return e}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(43),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(o.a.isValidElement(t)){var r=Object(i.a)(t)[n].length,s=o.a.Children.toArray(t.props.children)[0];return r+(s&&o.a.isValidElement(s)?e(s,n):0)}return"object"===(void 0===t?"undefined":a(t))&&t[n]?t[n].length:0};t.a=s},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=t.offset&&e=t.offset+t.length;return n&&r},g=function(e,t){return t.offset+t.length-(e.offset+e.length)},m=function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:b;i()(null!==e&&void 0!==e,"Expected raw block to be non-null");var n=void 0;n=!0===t.__isMiddleware?t(l.a):Object(s.a)(Object(a.a)(t),Object(a.a)(l.a));for(var o="",h=[],w=e.inlineStyleRanges.sort(u.a),k=[].concat(r(e.text)),S=0;S0}function o(e){return a()(null!==e&&void 0!==e,"Expected block HTML value to be non-null"),"string"==typeof e?e:c.a.isValidElement(e)?r(e)?l.a.renderToStaticMarkup(e):Object(f.a)(e):Object.prototype.hasOwnProperty.call(e,"element")&&c.a.isValidElement(e.element)?Object.assign({},e,Object(f.a)(e.element)):(a()(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e)}t.a=o;var i=n(14),a=n.n(i),s=n(0),c=n.n(s),u=n(33),l=n.n(u),f=n(43)},function(e,t,n){"use strict";function r(e){if(i()(null!==e&&void 0!==e,"Expected block HTML value to be non-null"),s.a.isValidElement(e.nest)){var t=Object(c.a)(e.nest),n=t.start,r=t.end;return Object.assign({},e,{nestStart:n,nestEnd:r})}return i()(Object.prototype.hasOwnProperty.call(e,"nestStart")&&Object.prototype.hasOwnProperty.call(e,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e}t.a=r;var o=n(14),i=n.n(o),a=n(0),s=n.n(a),c=n(43)},function(e,t,n){"use strict";var r=n(0),o=n.n(r);t.a={unstyled:o.a.createElement("p",null),paragraph:o.a.createElement("p",null),"header-one":o.a.createElement("h1",null),"header-two":o.a.createElement("h2",null),"header-three":o.a.createElement("h3",null),"header-four":o.a.createElement("h4",null),"header-five":o.a.createElement("h5",null),"header-six":o.a.createElement("h6",null),blockquote:o.a.createElement("blockquote",null),"unordered-list-item":{element:o.a.createElement("li",null),nest:o.a.createElement("ul",null)},"ordered-list-item":{element:o.a.createElement("li",null),nest:o.a.createElement("ol",null)},media:o.a.createElement("figure",null)}},function(e,t,n){"use strict";function r(){return{text:"",inlines:[],entities:[],blocks:[]}}function o(e){var t=new Array(1);return e&&(t[0]=e),{text:w,inlines:[Object(m.OrderedSet)()],entities:t,blocks:[]}}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Object(m.Map)();return!0===n?{text:"\r",inlines:[Object(m.OrderedSet)()],entities:new Array(1),blocks:[{type:e,data:r,depth:Math.max(0,Math.min(k,t))}],isNewline:!0}:{text:"\n",inlines:[Object(m.OrderedSet)()],entities:new Array(1),blocks:[]}}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Object(m.Map)();return{text:"\r",inlines:[Object(m.OrderedSet)()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(k,t))}]}}function s(e,t){switch(e){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===t?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":case"section":case"article":return"unstyled";default:return null}}function c(e,t,n){return s(e,n)}function u(e,t,n){var r=O[e];if(r)n=n.add(r).toOrderedSet();else if(t instanceof HTMLElement){var o=t;n=n.withMutations(function(e){"bold"===o.style.fontWeight&&e.add("BOLD"),"italic"===o.style.fontStyle&&e.add("ITALIC"),"underline"===o.style.textDecoration&&e.add("UNDERLINE"),"line-through"===o.style.textDecoration&&e.add("STRIKETHROUGH")}).toOrderedSet()}return n}function l(e,t){return u(e,t,Object(m.OrderedSet)())}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.text.slice(0,1),o=e.text.slice(-1),i="\r"===o&&"\r"===r,a="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(i&&(a||s)&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===e.text.slice(-1)&&!0===n){if(t.text===w||"\n"===t.text)return e;r!==w&&"\n"!==r||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}var c=0===e.text.length&&t.isNewline;return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks),isNewline:c}}function p(e){return C.some(function(t){return-1!==e.indexOf("<"+t)})}function d(e,t,n,c,l,p,h,g,y,v,k,S,x,_,C,O){var T=e.nodeName.toLowerCase(),A=!1,P="unstyled";if("#text"===T){var L=e.textContent;if(""===L.trim()&&null===c)return r();if(""===L.trim()&&"code-block"!==c)return o(O);"code-block"!==c&&(L=L.replace(E,w));var R=Array(L.length).fill(O),D=0;return y(L,k,S,x,_).sort(b.a).forEach(function(e){var t=e.entity,n=e.offset,r=e.length,o=e.result,i=n+D;null!==o&&void 0!==o||(o=L.substr(i,r));var a=L.split("");a.splice.bind(a,i,r).apply(a,o.split("")),L=a.join(""),R.splice.bind(R,i,r).apply(R,Array(o.length).fill(t)),D+=o.length-r}),{text:L,inlines:Array(L.length).fill(t),entities:R,blocks:[]}}if("br"===T){var I=c;return null===I?i("unstyled",p,!0):i(I||"unstyled",p,C.flat)}var M=r(),j=null;t=u(T,e,t),t=h(T,e,t,c),"ul"!==T&&"ol"!==T||(n&&(p+=1),n=T,c=null);var N=v(T,e,n,c),B=void 0,F=void 0;if(!1===N)return r();if(N=N||{},"string"==typeof N?(B=N,F=Object(m.Map)()):(B="string"==typeof N?N:N.type,F=N.data?Object(m.Map)(N.data):Object(m.Map)()),c&&"unstyled"!==c||-1===l.indexOf(T)&&!B)if(!n||"ordered-list-item"!==c&&"unordered-list-item"!==c||"li"!==T)c&&"atomic"!==c&&"atomic"===B&&(c=B,A=!0,M=i(B,p,!0,F));else{var K=s(T,n);M=a(K,p),c=K,A=!0,P="ul"===n?"unordered-list-item":"ordered-list-item"}else M=a(B||s(T,n),p,F),c=B||s(T,n),A=!0;var q=e.firstChild;null!=q||!O||"atomic"!==B&&"atomic"!==c||(q=document.createTextNode("hr"===e.tagName.toLowerCase()?"----":"\ud83d\udcf7")),null!=q&&(T=q.nodeName.toLowerCase());for(var U=null;q;){U=g(T,q,k,S,x,_),j=d(q,t,n,c,l,p,h,g,y,v,k,S,x,_,C,U||O),M=f(M,j,C.flat);var z=q.nextSibling;if(z&&l.indexOf(T)>=0&&c){var H=v(T,q,n,c),V=void 0,W=void 0;!1!==H&&(H=H||{},"string"==typeof H?(V=H,W=Object(m.Map)()):(V=H.type||s(T,n),W=H.data?Object(m.Map)(H.data):Object(m.Map)()),M=f(M,i(V,p,C.flat,W),C.flat))}z&&(T=z.nodeName.toLowerCase()),q=z}return A&&(M=f(M,a(P,p,Object(m.Map)()),C.flat)),M}function h(e,t,n,r,o,i,a,s,c,u,l){e=e.trim().replace(S,"").replace(x,w);var f=l(e);if(!f)return null;var h=p(e)?C.concat(["div"]):["div"],g=d(f,Object(m.OrderedSet)(),"ul",null,h,-1,t,n,r,o,i,a,s,c,u);return 0===g.text.indexOf("\r")&&(g={text:g.text.slice(1),inlines:g.inlines.slice(1),entities:g.entities.slice(1),blocks:g.blocks}),"\r"===g.text.slice(-1)&&(g.text=g.text.slice(0,-1),g.inlines=g.inlines.slice(0,-1),g.entities=g.entities.slice(0,-1),g.blocks.pop()),0===g.blocks.length&&g.blocks.push({type:"unstyled",data:Object(m.Map)(),depth:0}),g.text.split("\r").length===g.blocks.length+1&&g.blocks.unshift({type:"unstyled",data:Object(m.Map)(),depth:0}),g}function g(e,t,n,r,o,i,a,s,c,u,l){var f=h(e,t,n,r,o,i,a,s,c,u,l);if(null==f)return[];var p=0;return f.text.split("\r").map(function(e,t){e=I(e);var n=p+e.length,r=D(f).inlines.slice(p,n),o=D(f).entities.slice(p,n),i=Object(m.List)(r.map(function(e,t){var n={style:e,entity:null};return o[t]&&(n.entity=o[t]),y.CharacterMetadata.create(n)}));return p=n+1,new y.ContentBlock({key:Object(y.genKey)(),type:D(f).blocks[t].type,data:D(f).blocks[t].data,depth:D(f).blocks[t].depth,text:e,characterList:i})})}var m=n(3),y=(n.n(m),n(1)),v=(n.n(y),n(111)),b=n(42),w=" ",k=4,S=new RegExp("\r","g"),E=new RegExp("\n","g"),x=new RegExp(" ","g"),_=new RegExp("\r","g"),C=["p","article","section","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],O={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},T=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},A=function(e,t,n){},P=function(e,t,n){return n},L=function(e,t){},R=function(e){return[]},D=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},I=function(e){return e.replace(_,"")},M=function(e){var t=e.htmlToStyle,n=void 0===t?P:t,r=e.htmlToEntity,o=void 0===r?L:r,i=e.textToEntity,a=void 0===i?R:i,s=e.htmlToBlock,u=void 0===s?A:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v.a,i=y.ContentState.createFromText(""),s=function(){if(i.createEntity){var e;return i=(e=i).createEntity.apply(e,arguments),i.getLastCreatedEntityKey()}return y.Entity.create.apply(y.Entity,arguments)},f=function(){if(i.getEntity){var e;return(e=i).getEntity.apply(e,arguments)}return y.Entity.get.apply(y.Entity,arguments)},p=function(){if(i.mergeEntityData){var e;return void(i=(e=i).mergeEntityData.apply(e,arguments))}y.Entity.mergeData.apply(y.Entity,arguments)},d=function(){if(i.replaceEntityData){var e;return void(i=(e=i).replaceEntityData.apply(e,arguments))}y.Entity.replaceData.apply(y.Entity,arguments)},h=g(e,T(n,l),T(o,L),T(a,R),T(u,c),s,f,p,d,t,r),m=y.BlockMapBuilder.createFromArray(h);return i.set("blockMap",m)}};t.a=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?M({}).apply(void 0,arguments):M.apply(void 0,arguments)}},function(e,t,n){"use strict";function r(e,t){if("blockquote"===e||"lead_words"===t.className)return{type:"blockquote"}}t.a=r},function(e,t,n){"use strict";function r(e,t){if("pre"===e){var n=void 0,r=void 0;if("pre"===e&&t.classList.contains("prettyprint")&&t.querySelector(".hljs")){var o=t.querySelector(".pre-numbering");o&&o.remove();var i=t.querySelector(".hljs");n=i.textContent,r=/hljs\s(\w+)\s/.test(i.className)&&RegExp.$1}else{var a=Array.from(t.querySelectorAll("br")),s=!0,c=!1,u=void 0;try{for(var l,f=a[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var p=l.value;p.parentElement.replaceChild(document.createTextNode("\n"),p)}}catch(e){c=!0,u=e}finally{try{!s&&f.return&&f.return()}finally{if(c)throw u}}n=t.textContent,r="javascript"}for(var d=function(e){for(;e.length&&!/\S/.test(e[0]);)e.shift();for(;e.length&&!/\S/.test(e[e.length-1]);)e.pop();return e}(n.split(/\r?\n/g)).join("\n");t.firstChild;)t.removeChild(t.firstChild);return t.appendChild(document.createTextNode(d)),{type:"code-block",data:{syntax:r||"javascript"}}}}t.a=r},function(e,t,n){"use strict";function r(e,t){if("img"===e)return{type:"atomic",text:"[\u56fe\u7247]"}}t.a=r},function(e,t,n){"use strict";function r(e){return Array.isArray(e)?e:Array.from(e)}function o(e,t){if("table"===e||t.firstElementChild&&"table"===t.firstElementChild.tagName.toLowerCase()){t.firstElementChild&&"table"===t.firstElementChild.tagName.toLowerCase()&&(t=t.firstElementChild);var n=[].slice.call(t.querySelectorAll("tr")),o=r(n),a=o[0];o.slice(1);if(a){for(var s=[].slice.call(a.querySelectorAll("td, th")),c=(s.length,s.map(function(e){return{key:Object(i.genKey)(),align:/align-(\w+)/.test(e.className)?RegExp.$1:"left"}})),u=n.map(function(e,t){var n=[].slice.call(e.querySelectorAll("td, th"),0);return{key:Object(i.genKey)(),cells:n.map(function(e){var n={key:Object(i.genKey)(),raw:{blocks:[{key:Object(i.genKey)(),type:"unstyled",text:String(e.textContent).trim(),inlineStyleRanges:[],entityRanges:[]}],entityMap:{}}};return e.rowSpan>1&&t>0&&(n.rowspan=e.rowSpan,n.colspan=1),e.colSpan>1&&(n.rowspan=n.rowspan||1,n.colspan=e.colSpan),n})}}),l=function(e,t,n){for(var r=[];n--;)r.push({key:Object(i.genKey)(),raw:null});if(u[e]){var o;(o=u[e].cells).splice.apply(o,[t,0].concat(r))}},f=0;f1&&l(f,d+1,h.colspan-1),h.rowspan>1)for(var g=1;gk&&(d=(k/1024/1024).toPrecision(2),h=(v.size/1024/1024).toPrecision(3),p="\u4ec5\u652f\u6301\u4e0d\u8d85\u8fc7 "+d+"M \u7684\u56fe\u7247, \u8be5\u56fe\u7247\u8fc7\u5927("+h+"M)"),g=o({name:l,data:{placeHolderUrl:f,error:p,dpi:u},getEditorState:n,setEditorState:r}),!p){e.next=18;break}return e.abrupt("return");case 18:return e.prev=18,e.next=21,w(v);case 21:m=e.sent,y=m.url,Object(s.a)({entityKey:g,getEditorState:n,setEditorState:r,update:c[i]={imageUrl:y,placeHolderUrl:null}}),e.next=30;break;case 26:e.prev=26,e.t0=e.catch(18),e.t0="\u4e0a\u4f20\u5931\u8d25\uff1a"+(e.t0.msg||String(e.t0)),Object(s.a)({entityKey:g,getEditorState:n,setEditorState:r,update:{error:e.t0}});case 30:case"end":return e.stop()}},e,this,[[18,26]])}));return function(t){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";function r(e,t){var n=t.videoId,r=t.videoPlatform,i=e.getEditorState(),a=i.getCurrentContent(),s={name:"\u89c6\u9891\u5185\u5bb9",videoPlatform:r,videoId:n},c=a.createEntity("VIDEO","IMMUTABLE",s),u=c.getLastCreatedEntityKey();e.setEditorState(o.AtomicBlockUtils.insertAtomicBlock(o.EditorState.set(i,{currentContent:c}),u,"\u89c6\u9891\u5185\u5bb9"))}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";function r(e){var t=e.getCurrentContent(),n=t.getBlocksAsArray();return!(n.length>1)&&("unstyled"===n[0].getType()&&!n[0].getText())}t.a=r},function(e,t,n){"use strict";function r(e){return o.G?e.metaKey&&!e.shiftKey&&!e.ctrlKey&&!e.altKey&&e.keyCode===i:!e.metaKey&&!e.shiftKey&&e.ctrlKey&&!e.altKey&&e.keyCode===i}t.a=r;var o=n(2),i=83},function(e,t,n){"use strict";function r(e,t){return Object(o.a)({exact:!0,strict:!1,allowSharp:t}).test(e)}t.a=r;var o=n(317)},function(e,t,n){"use strict";var r=n(318),o=n(319);t.a=function(e){e=Object.assign({strict:!0,allowSharp:!1},e);var t="(?:(?:[a-z]+:)?//)"+(e.strict?"":"?"),n=r.v4().source,i="(?:\\."+(e.strict?"(?:[a-z\\u00a1-\\uffff]{2,})":"(?:"+o.sort(function(e,t){return t.length-e.length}).join("|")+")")+")\\.?",a="(?:"+t+"|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+n+"|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*"+i+')(?::\\d{2,5})?(?:/?[^#\\s"]*)?',s="(?:"+a+')?(?:#[^\\s"]*)?',c=e.allowSharp?s:a;return e.exact?new RegExp("(?:^"+c+"$)","i"):new RegExp(c,"ig")}},function(e,t,n){"use strict";var r="(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])){3}",o="[0-9a-fA-F]{1,4}",i=("\n(\n(?:"+o+":){7}(?:"+o+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+o+":){6}(?:"+r+"|:"+o+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+o+":){5}(?::"+r+"|(:"+o+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+o+":){4}(?:(:"+o+"){0,1}:"+r+"|(:"+o+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+o+":){3}(?:(:"+o+"){0,2}:"+r+"|(:"+o+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+o+":){2}(?:(:"+o+"){0,3}:"+r+"|(:"+o+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+o+":){1}(?:(:"+o+"){0,4}:"+r+"|(:"+o+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::((?::"+o+"){0,5}:"+r+"|(?::"+o+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=e.exports=function(e){return e&&e.exact?new RegExp("(?:^"+r+"$)|(?:^"+i+"$)"):new RegExp("(?:"+r+")|(?:"+i+")","g")};a.v4=function(e){return e&&e.exact?new RegExp("^"+r+"$"):new RegExp(r,"g")},a.v6=function(e){return e&&e.exact?new RegExp("^"+i+"$"):new RegExp(i,"g")}},function(e,t){e.exports=["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","active","actor","ad","adac","ads","adult","ae","aeg","aero","aetna","af","afamilycompany","afl","africa","ag","agakhan","agency","ai","aig","aigo","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blanco","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnl","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","boots","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","budapest","bugatti","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","cartier","casa","case","caseih","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","ceb","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","chase","chat","cheap","chintai","christmas","chrome","chrysler","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","csc","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dodge","dog","doha","domains","dot","download","drive","dtv","dubai","duck","dunlop","duns","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epost","epson","equipment","er","ericsson","erni","es","esq","estate","esurance","et","etisalat","eu","eurovision","eus","events","everbank","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fujixerox","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glade","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodhands","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","honeywell","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","industries","infiniti","info","ing","ink","institute","insurance","insure","int","intel","international","intuit","investments","io","ipiranga","iq","ir","irish","is","iselect","ismaili","ist","istanbul","it","itau","itv","iveco","iwc","jaguar","java","jcb","jcp","je","jeep","jetzt","jewelry","jio","jlc","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","ladbrokes","lamborghini","lamer","lancaster","lancia","lancome","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","liaison","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lixil","lk","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","lupin","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","meo","merckmsd","metlife","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","mobily","moda","moe","moi","mom","monash","money","monster","mopar","mormon","mortgage","moscow","moto","motorcycles","mov","movie","movistar","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","mutual","mv","mw","mx","my","mz","na","nab","nadex","nagoya","name","nationwide","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","newholland","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","off","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","onyourside","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","panerai","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","piaget","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","qvc","racing","radio","raid","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","rightathome","ril","rio","rip","rmit","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sapo","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scjohnson","scor","scot","sd","se","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","shriram","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","space","spiegel","spot","spreadbetting","sr","srl","srt","st","stada","staples","star","starhub","statebank","statefarm","statoil","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiftcover","swiss","sx","sy","sydney","symantec","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","telecity","telefonica","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","uconnect","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","vista","vistaprint","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","warman","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","\u0915\u0949\u092e","\u30bb\u30fc\u30eb","\u4f5b\u5c71","\u0cad\u0cbe\u0cb0\u0ca4","\u6148\u5584","\u96c6\u56e2","\u5728\u7ebf","\ud55c\uad6d","\u0b2d\u0b3e\u0b30\u0b24","\u5927\u4f17\u6c7d\u8f66","\u70b9\u770b","\u0e04\u0e2d\u0e21","\u09ad\u09be\u09f0\u09a4","\u09ad\u09be\u09b0\u09a4","\u516b\u5366","\u0645\u0648\u0642\u0639","\u09ac\u09be\u0982\u09b2\u09be","\u516c\u76ca","\u516c\u53f8","\u9999\u683c\u91cc\u62c9","\u7f51\u7ad9","\u79fb\u52a8","\u6211\u7231\u4f60","\u043c\u043e\u0441\u043a\u0432\u0430","\u049b\u0430\u0437","\u043a\u0430\u0442\u043e\u043b\u0438\u043a","\u043e\u043d\u043b\u0430\u0439\u043d","\u0441\u0430\u0439\u0442","\u8054\u901a","\u0441\u0440\u0431","\u0431\u0433","\u0431\u0435\u043b","\u05e7\u05d5\u05dd","\u65f6\u5c1a","\u5fae\u535a","\u6de1\u9a6c\u9521","\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3","\u043e\u0440\u0433","\u0928\u0947\u091f","\u30b9\u30c8\u30a2","\uc0bc\uc131","\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd","\u5546\u6807","\u5546\u5e97","\u5546\u57ce","\u0434\u0435\u0442\u0438","\u043c\u043a\u0434","\u0435\u044e","\u30dd\u30a4\u30f3\u30c8","\u65b0\u95fb","\u5de5\u884c","\u5bb6\u96fb","\u0643\u0648\u0645","\u4e2d\u6587\u7f51","\u4e2d\u4fe1","\u4e2d\u56fd","\u4e2d\u570b","\u5a31\u4e50","\u8c37\u6b4c","\u0c2d\u0c3e\u0c30\u0c24\u0c4d","\u0dbd\u0d82\u0d9a\u0dcf","\u96fb\u8a0a\u76c8\u79d1","\u8d2d\u7269","\u30af\u30e9\u30a6\u30c9","\u0aad\u0abe\u0ab0\u0aa4","\u901a\u8ca9","\u092d\u093e\u0930\u0924\u092e\u094d","\u092d\u093e\u0930\u0924","\u092d\u093e\u0930\u094b\u0924","\u7f51\u5e97","\u0938\u0902\u0917\u0920\u0928","\u9910\u5385","\u7f51\u7edc","\u043a\u043e\u043c","\u0443\u043a\u0440","\u9999\u6e2f","\u8bfa\u57fa\u4e9a","\u98df\u54c1","\u98de\u5229\u6d66","\u53f0\u6e7e","\u53f0\u7063","\u624b\u8868","\u624b\u673a","\u043c\u043e\u043d","\u0627\u0644\u062c\u0632\u0627\u0626\u0631","\u0639\u0645\u0627\u0646","\u0627\u0631\u0627\u0645\u0643\u0648","\u0627\u06cc\u0631\u0627\u0646","\u0627\u0644\u0639\u0644\u064a\u0627\u0646","\u0627\u062a\u0635\u0627\u0644\u0627\u062a","\u0627\u0645\u0627\u0631\u0627\u062a","\u0628\u0627\u0632\u0627\u0631","\u067e\u0627\u06a9\u0633\u062a\u0627\u0646","\u0627\u0644\u0627\u0631\u062f\u0646","\u0645\u0648\u0628\u0627\u064a\u0644\u064a","\u0628\u0627\u0631\u062a","\u0628\u06be\u0627\u0631\u062a","\u0627\u0644\u0645\u063a\u0631\u0628","\u0627\u0628\u0648\u0638\u0628\u064a","\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629","\u0680\u0627\u0631\u062a","\u0643\u0627\u062b\u0648\u0644\u064a\u0643","\u0633\u0648\u062f\u0627\u0646","\u0647\u0645\u0631\u0627\u0647","\u0639\u0631\u0627\u0642","\u0645\u0644\u064a\u0633\u064a\u0627","\u6fb3\u9580","\ub2f7\ucef4","\u653f\u5e9c","\u0634\u0628\u0643\u0629","\u0628\u064a\u062a\u0643","\u0639\u0631\u0628","\u10d2\u10d4","\u673a\u6784","\u7ec4\u7ec7\u673a\u6784","\u5065\u5eb7","\u0e44\u0e17\u0e22","\u0633\u0648\u0631\u064a\u0629","\u0440\u0443\u0441","\u0440\u0444","\u73e0\u5b9d","\u062a\u0648\u0646\u0633","\u5927\u62ff","\u307f\u3093\u306a","\u30b0\u30fc\u30b0\u30eb","\u03b5\u03bb","\u4e16\u754c","\u66f8\u7c4d","\u0d2d\u0d3e\u0d30\u0d24\u0d02","\u0a2d\u0a3e\u0a30\u0a24","\u7f51\u5740","\ub2f7\ub137","\u30b3\u30e0","\u5929\u4e3b\u6559","\u6e38\u620f","verm\xf6gensberater","verm\xf6gensberatung","\u4f01\u4e1a","\u4fe1\u606f","\u5609\u91cc\u5927\u9152\u5e97","\u5609\u91cc","\u0645\u0635\u0631","\u0642\u0637\u0631","\u5e7f\u4e1c","\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8","\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe","\u0570\u0561\u0575","\u65b0\u52a0\u5761","\u0641\u0644\u0633\u0637\u064a\u0646","\u653f\u52a1","xperia","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zippo","zm","zone","zuerich","zw"]},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return c.a.Map({aligns:p(t,function(){return d("left")}),rows:p(e,function(){return g(t)})})}function i(e,t){var n=Object(u.a)(e);if(n){var r=n.getKey();if("table"===n.getType())return n;var o=e.getCurrentContent(),i=e.getSelection();if(t){var a=o.getBlockAfter(r);if(a&&"table"===a.getType()&&i.getEndOffset()===n.getLength())return a}else{var s=o.getBlockBefore(r);if(s&&"table"===s.getType()&&0===i.getStartOffset())return s}}return null}n.d(t,"e",function(){return f}),n.d(t,"a",function(){return d}),n.d(t,"b",function(){return h}),n.d(t,"c",function(){return g}),t.d=i;var a=n(1),s=(n.n(a),n(3)),c=n.n(s),u=n(106),l=(n(67),n(104)),f=function(){var e=r(regeneratorRuntime.mark(function e(t){var n,r,i,s,c,u,l=t.getEditorState,f=t.setEditorState,p=t.ref;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=l(),r=n.getCurrentContent(),i=n.getSelection(),s=r.getBlockMap(),c=i.getAnchorKey(),u=new a.ContentBlock({key:c,type:"table",text:"[\u8868\u683c]",data:o()}),p&&(p.blockKey=c),s=s.set(c,u),r=r.set("blockMap",s),e.abrupt("return",f(a.EditorState.push(n,r,"change-block-type")));case 10:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),p=function(e,t){for(var n=[];e--;)n.push(t());return n},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"left";return{key:Object(a.genKey)(),align:e}},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{key:Object(a.genKey)(),raw:Object(l.a)(e)}},g=function(e){return{key:Object(a.genKey)(),cells:p(e,h)}}},function(e,t,n){"use strict";function r(e){this.decorators=o.List(e)}t.a=r;var o=n(3);r.prototype.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this.decorators.forEach(function(r,o){r.getDecorations(e,t).forEach(function(e,t){e&&(e=o+"-"+e,n[t]=e)})}),o.List(n)},r.prototype.getComponentForKey=function(e){return this.getDecoratorForKey(e).getComponentForKey(this.getInnerKey(e))},r.prototype.getPropsForKey=function(e){return this.getDecoratorForKey(e).getPropsForKey(this.getInnerKey(e))},r.prototype.getDecoratorForKey=function(e){var t=e.split("-"),n=Number(t[0]);return this.decorators.get(n)},r.prototype.getInnerKey=function(e){return e.split("-").slice(1).join("-")}},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i});var r="undefined"!=typeof window,o=r&&/Mac/.test(navigator.userAgent),i=o?"\u2318":"Ctrl"},function(e,t,n){"use strict";function r(e){return new Promise(function(t,n){if(!/png/i.test(e.type))return t(0);var r=new FileReader;r.onload=function(){for(var e=new Uint8ClampedArray(r.result),n=e.length,i=function(e,t){var n=e[t++];return n=n<<8|e[t++],n=n<<8|e[t++],n=n<<8|e[t++]},a=0,s=0;s2&&void 0!==arguments[2]?arguments[2]:"forward",r=e.getEditorState(),i=r.getCurrentContent(),a=t.getKey(),s=new o.SelectionState({anchorKey:a,anchorOffset:0,focusKey:a,focusOffset:t.getLength()+1}),c=new o.SelectionState({anchorKey:a,anchorOffset:0,focusKey:a,focusOffset:1});e.setEditorState(o.EditorState.forceSelection(o.EditorState.push(r,o.Modifier.setBlockType(o.Modifier.removeRange(i,s,n),c,"unstyled"),"remove-block"),c))}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";function r(e){var t=e.getCurrentContent(),n=e.getSelection();if(!n.isCollapsed())return{isAtFirstBlock:!1,isAtLastBlock:!1,isAtStartOfBlock:!1,isAtEndOfBlock:!1};var r=n.getEndKey(),o=t.getBlockMap().get(r);return{block:o,isAtFirstBlock:o===t.getFirstBlock(),isAtLastBlock:o===t.getLastBlock(),isAtStartOfBlock:0===n.getStartOffset(),isAtEndOfBlock:n.getEndOffset()===o.getLength()}}t.a=r},function(e,t,n){"use strict";function r(e,t,n){var r=e.getEditorState,i=e.setEditorState,s=a.a.encode(t.getKey(),0,0),c=document.querySelectorAll('[data-offset-key="'+s+'"]')[0],u=window.getSelection(),l=document.createRange();l.setStart(c,0),l.setEnd(c,0),u.removeAllRanges(),u.addRange(l);var f="expand"===n?t.getLength():0;i(o.EditorState.forceSelection(r(),new o.SelectionState({anchorKey:t.getKey(),anchorOffset:f,focusKey:t.getKey(),focusOffset:f,isBackward:!1})))}t.a=r;var o=n(1),i=(n.n(o),n(25)),a=n.n(i)},function(e,t,n){"use strict";function r(e,t,n){var r=e.getEditorState,o=(e.setEditorState,r()),i=o.getSelection().getAnchorKey(),s="prev"===t?o.getCurrentContent().getBlockBefore(i):o.getCurrentContent().getBlockAfter(i);return(!s||s.get("key")!==i)&&(!!s&&(Object(a.M)(e,s,"prev"===t?"expand":"collapse"),n.preventDefault(),!0))}t.a=r;var o=n(1),i=(n.n(o),n(25)),a=(n.n(i),n(2))},function(e,t,n){"use strict";function r(e){var t=e.getEditorState,n=e.setEditorState,r=e.url,a=t(),s=a.getCurrentContent(),c=a.getSelection();if(c.isCollapsed()&&(c=Object(i.a)(a)),r){var u=s.createEntity("LINK","MUTABLE",{url:r}),l=u.getLastCreatedEntityKey(),f=o.EditorState.set(a,{currentContent:u});n(o.EditorState.forceSelection(o.RichUtils.toggleLink(f,c,l),c))}else{var p=a.getSelection();p.isCollapsed()&&(p=Object(i.a)(a)),n(o.EditorState.forceSelection(o.RichUtils.toggleLink(a,p,null),p))}}t.a=r;var o=n(1),i=(n.n(o),n(105))},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(o.y)(String(e));if("object"===(void 0===e?"undefined":a(e))&&e.blocks)return e;if(void 0!==s[t])return s[t];var n=e;try{n=i.unpack(e),n.sourceHash=t}catch(t){console.warn("JSON Packed \u683c\u5f0f\u89e3\u7801\u5931\u8d25\uff0c\u5185\u5bb9\u4e3a\uff1a"+e.substr(0,100)+"...")}return"undefined"!=typeof window&&(s[t]=n),n||null}t.a=r;var o=n(2),i=n(65),a=(n.n(i),"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}),s={}},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{};e.docImport&&(Object(o.g)("docImport \u63d2\u4ef6\u5df2\u66f4\u540d\u4e3a fileImport \u63d2\u4ef6\uff0c\u8bf7\u6539\u7528 fileImport \u914d\u7f6e\u9879"),e.fileImport=e.docImport);var t=Object(d.a)(e.focus),n=Object(m.a)(e.title),r=function(t){return e[t]&&!0===e[t].disabled};return[!r("inlineStyle")&&Object(i.a)(e.inlineStyle),!r("blockStyle")&&Object(a.a)(e.blockStyle),!r("hr")&&t.decoratePlugin(Object(b.a)(e.hr)),!r("link")&&Object(s.a)(e.link),!r("codeEdit")&&Object(c.a)(e.codeEdit),!r("formula")&&Object(v.a)(e.formula),!r("focus")&&t,!r("image")&&t.decoratePlugin(n.decoratePlugin(Object(u.a)(e.image))),!r("video")&&t.decoratePlugin(n.decoratePlugin(Object(y.a)(e.video))),!r("table")&&Object(f.a)(e.table),!r("debug")&&Object(l.a)(e.debug),!r("pasteHtml")&&Object(p.a)(e.pasteHtml),!r("stickToolbar")&&Object(h.a)(e.stickToolbar),!r("fileImport")&&t.decoratePlugin(n.decoratePlugin(Object(g.b)(e.fileImport))),!r("placeholder")&&Object(w.a)(e.placeholder),!r("meta")&&t.decoratePlugin(Object(k.a)(e.meta))]}t.a=r;var o=n(2),i=n(112),a=n(114),s=n(115),c=n(122),u=n(129),l=n(132),f=n(133),p=n(477),d=n(606),h=n(155),g=n(156),m=n(619),y=n(621),v=n(161),b=n(635),w=n(639),k=n(641)},function(e,t,n){"use strict";function r(e){var t=e.store,n=e.theme,r=e.env;return i.a.createElement(a.a,{store:t,theme:n,env:r,inlineStyle:"BOLD"},i.a.createElement("i",{className:"qa-ico-bold",title:"\u52a0\u7c97"},"B"))}t.a=r;var o=n(0),i=n.n(o),a=n(44)},function(e,t,n){"use strict";function r(e){var t=e.store,n=e.theme,r=e.env;return i.a.createElement(a.a,{store:t,theme:n,env:r,inlineStyle:"ITALIC"},i.a.createElement("i",{className:"qa-ico-italic",title:"\u659c\u4f53"},"I"))}t.a=r;var o=n(0),i=n.n(o),a=n(44)},function(e,t,n){"use strict";function r(e){var t=e.store,n=e.theme,r=e.env;return i.a.createElement(a.a,{store:t,theme:n,env:r,inlineStyle:"STRIKETHROUGH"},i.a.createElement("i",{className:"qa-ico-strike",title:"\u5220\u9664\u7ebf"},"~"))}t.a=r;var o=n(0),i=n.n(o),a=n(44)},function(e,t,n){"use strict";function r(e){var t=e.store,n=e.theme,r=e.env;return i.a.createElement(a.a,{store:t,theme:n,env:r,inlineStyle:"CODE"},i.a.createElement("i",{className:"qa-ico-code",title:"\u5185\u8054\u4ee3\u7801"},"C"))}t.a=r;var o=n(0),i=n.n(o),a=n(44)},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(0),o=n.n(r),i=n(45),a=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s={h1:["header-one","\u4e00\u7ea7\u6807\u9898"],h2:["header-two","\u4e8c\u7ea7\u6807\u9898"],h3:["header-three","\u4e09\u7ea7\u6807\u9898"],h4:["header-four","\u56db\u7ea7\u6807\u9898"],h5:["header-five","\u4e94\u7ea7\u6807\u9898"],h6:["header-six","\u516d\u7ea7\u6807\u9898"]},c=function(e){function t(t){var n=t.store,a=t.theme,s=t.disabled;return o.a.createElement(i.a,{store:n,theme:a,disabled:s,blockType:r},o.a.createElement("i",{className:"qa-ico-"+e,title:c},e))}var n=a(s[e],2),r=n[0],c=n[1];return t}},function(e,t,n){"use strict";function r(e){var t=e.store,n=e.theme,r=e.disabled;return i.a.createElement(a.a,{store:t,theme:n,disabled:r,blockType:"blockquote"},i.a.createElement("i",{className:"qa-ico-blockquote",title:"\u5f15\u7528"},"\u201c"))}t.a=r;var o=n(0),i=n.n(o),a=n(45)},function(e,t,n){"use strict";function r(e){var t=e.store,n=e.theme,r=e.disabled,i=function(e){e?t.setEditorState(c.RichUtils.toggleBlockType(t.getEditorState(),"code-block")):o(t)};return a.a.createElement(s.a,{toggle:i,store:t,theme:n,disabled:r,blockType:"code-block"},a.a.createElement("i",{className:"qa-ico-code-block",title:"\u4ee3\u7801\u5757"},"<>"))}function o(e){var t=e.getEditorState(),n=t.getCurrentContent(),r=t.getSelection(),o=n.getBlockForKey(r.getEndKey()),i=Object(u.u)(t),a=new c.SelectionState({anchorKey:r.getStartKey(),anchorOffset:0,focusKey:r.getEndKey(),focusOffset:o.getLength()}),s=new c.ContentBlock({key:Object(c.genKey)(),type:"code-block",data:Object(l.Map)({syntax:"js"}),text:i,characterList:Object(l.List)(Object(l.Repeat)(c.CharacterMetadata.EMPTY,i.length))}),f=(new c.ContentBlock({key:Object(c.genKey)(),type:"unstyled",text:"",characterList:Object(l.List)()}),c.BlockMapBuilder.createFromArray([s])),p=c.Modifier.replaceWithFragment(n,a,f),d=c.EditorState.push(t,p,"insert-fragment"),h=c.RichUtils.toggleBlockType(d,"code-block");e.setEditorState(h)}t.a=r;var i=n(0),a=n.n(i),s=n(45),c=n(1),u=(n.n(c),n(2)),l=n(3),f=(n.n(l),n(342));n.n(f)},function(e,t,n){function r(e,t){this._id=e,this._clearFn=t}var o=Function.prototype.apply;t.setTimeout=function(){return new r(o.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(93),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=n.n(r),i=n(45),a=function(e){function t(e){var t=e.store,s=e.theme,c=e.disabled;return o.a.createElement(i.a,{store:t,theme:s,disabled:c,blockType:n},o.a.createElement("i",{className:"qa-ico-"+r,title:a},r))}var n=e?"ordered-list-item":"unordered-list-item",r=e?"ol":"ul",a=e?"\u7f16\u53f7":"\u5217\u8868";return t}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return h});var s=n(0),c=n.n(s),u=n(4),l=n.n(u),f=n(1),p=(n.n(f),n(2)),d=function(){function e(e,t){for(var n=0;nt.length-n?"\r\n":"\n"},e.exports.graceful=function(t){return e.exports(t)||"\n"}},function(e,t,n){"use strict";var r=n(366);e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("Expected `input` to be a string");if(t<0||!r(t))throw new TypeError("Expected `count` to be a positive finite number");var n="";do{1&t&&(n+=e),e+=e}while(t>>=1);return n}},function(e,t,n){"use strict";var r=n(367);e.exports=Number.isFinite||function(e){return!("number"!=typeof e||r(e)||e===1/0||e===-1/0)}},function(e,t,n){"use strict";e.exports=Number.isNaN||function(e){return e!==e}},function(e,t,n){function r(e,t){t.getCurrentContent(),t.getSelection();return o(t)}var o=(n(1),n(369));e.exports=r},function(e,t,n){function r(e){var t,n=e.getCurrentContent(),r=e.getSelection(),u=r.getStartKey(),l=r.getStartOffset(),f=n.getBlockForKey(u),p=f.getText(),d=i(p);if(r.isCollapsed()){var h=a(p,d),g=s(p,l,d).getLine(),m=h.get(g),y=d+c(m);t=o.Modifier.insertText(n,r,y)}else t=o.Modifier.replaceText(n,r,d);var v=o.EditorState.push(e,t,"insert-characters");return o.EditorState.forceSelection(v,t.getSelectionAfter())}var o=n(1),i=n(46),a=n(125),s=n(126),c=n(370);e.exports=r},function(e,t,n){function r(e){return o(e).indent||""}var o=n(124);e.exports=r},function(e,t,n){function r(e,t){e.preventDefault();var n,r=t.getCurrentContent(),a=t.getSelection(),s=a.getStartKey(),c=r.getBlockForKey(s),u=i(c.getText());return n=a.isCollapsed()?o.Modifier.insertText(r,a,u):o.Modifier.replaceText(r,a,u),o.EditorState.push(t,n,"insert-characters")}var o=n(1),i=n(123);e.exports=r},function(e,t,n){function r(e){this.options=a(e||{}),this.highlighted={}}function o(e,t,n,r){for(var o=t;o=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/}},function(e,t){Prism.languages.javascript=Prism.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}/}),Prism.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"}}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/()[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:"language-javascript"}}),Prism.languages.js=Prism.languages.javascript},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>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:{rest:Prism.languages.markup}}})},function(e,t){Prism.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/^(\s*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|AddAlt|AddAltByEncoding|AddAltByType|AddCharset|AddDefaultCharset|AddDescription|AddEncoding|AddHandler|AddIcon|AddIconByEncoding|AddIconByType|AddInputFilter|AddLanguage|AddModuleInfo|AddOutputFilter|AddOutputFilterByType|AddType|Alias|AliasMatch|Allow|AllowCONNECT|AllowEncodedSlashes|AllowMethods|AllowOverride|AllowOverrideList|Anonymous|Anonymous_LogEmail|Anonymous_MustGiveEmail|Anonymous_NoUserID|Anonymous_VerifyEmail|AsyncRequestWorkerFactor|AuthBasicAuthoritative|AuthBasicFake|AuthBasicProvider|AuthBasicUseDigestAlgorithm|AuthDBDUserPWQuery|AuthDBDUserRealmQuery|AuthDBMGroupFile|AuthDBMType|AuthDBMUserFile|AuthDigestAlgorithm|AuthDigestDomain|AuthDigestNonceLifetime|AuthDigestProvider|AuthDigestQop|AuthDigestShmemSize|AuthFormAuthoritative|AuthFormBody|AuthFormDisableNoStore|AuthFormFakeBasicAuth|AuthFormLocation|AuthFormLoginRequiredLocation|AuthFormLoginSuccessLocation|AuthFormLogoutLocation|AuthFormMethod|AuthFormMimetype|AuthFormPassword|AuthFormProvider|AuthFormSitePassphrase|AuthFormSize|AuthFormUsername|AuthGroupFile|AuthLDAPAuthorizePrefix|AuthLDAPBindAuthoritative|AuthLDAPBindDN|AuthLDAPBindPassword|AuthLDAPCharsetConfig|AuthLDAPCompareAsUser|AuthLDAPCompareDNOnServer|AuthLDAPDereferenceAliases|AuthLDAPGroupAttribute|AuthLDAPGroupAttributeIsDN|AuthLDAPInitialBindAsUser|AuthLDAPInitialBindPattern|AuthLDAPMaxSubGroupDepth|AuthLDAPRemoteUserAttribute|AuthLDAPRemoteUserIsDN|AuthLDAPSearchAsUser|AuthLDAPSubGroupAttribute|AuthLDAPSubGroupClass|AuthLDAPUrl|AuthMerging|AuthName|AuthnCacheContext|AuthnCacheEnable|AuthnCacheProvideFor|AuthnCacheSOCache|AuthnCacheTimeout|AuthnzFcgiCheckAuthnProvider|AuthnzFcgiDefineProvider|AuthType|AuthUserFile|AuthzDBDLoginToReferer|AuthzDBDQuery|AuthzDBDRedirectQuery|AuthzDBMType|AuthzSendForbiddenOnFailure|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|CacheDefaultExpire|CacheDetailHeader|CacheDirLength|CacheDirLevels|CacheDisable|CacheEnable|CacheFile|CacheHeader|CacheIgnoreCacheControl|CacheIgnoreHeaders|CacheIgnoreNoLastMod|CacheIgnoreQueryString|CacheIgnoreURLSessionIdentifiers|CacheKeyBaseURL|CacheLastModifiedFactor|CacheLock|CacheLockMaxAge|CacheLockPath|CacheMaxExpire|CacheMaxFileSize|CacheMinExpire|CacheMinFileSize|CacheNegotiatedDocs|CacheQuickHandler|CacheReadSize|CacheReadTime|CacheRoot|CacheSocache|CacheSocacheMaxSize|CacheSocacheMaxTime|CacheSocacheMinTime|CacheSocacheReadSize|CacheSocacheReadTime|CacheStaleOnError|CacheStoreExpired|CacheStoreNoStore|CacheStorePrivate|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|DeflateBufferSize|DeflateCompressionLevel|DeflateFilterNote|DeflateInflateLimitRequestBody|DeflateInflateRatioBurst|DeflateInflateRatioLimit|DeflateMemLevel|DeflateWindowSize|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|HeartbeatAddress|HeartbeatListen|HeartbeatMaxServers|HeartbeatStorage|HeartbeatStorage|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|IndexHeadInsert|IndexIgnore|IndexIgnoreReset|IndexOptions|IndexOrderDefault|IndexStyleSheet|InputSed|ISAPIAppendLogToErrors|ISAPIAppendLogToQuery|ISAPICacheFile|ISAPIFakeAsync|ISAPILogNotSupported|ISAPIReadAheadBuffer|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAPCacheEntries|LDAPCacheTTL|LDAPConnectionPoolTTL|LDAPConnectionTimeout|LDAPLibraryDebug|LDAPOpCacheEntries|LDAPOpCacheTTL|LDAPReferralHopLimit|LDAPReferrals|LDAPRetries|LDAPRetryDelay|LDAPSharedCacheFile|LDAPSharedCacheSize|LDAPTimeout|LDAPTrustedClientCert|LDAPTrustedGlobalCert|LDAPTrustedMode|LDAPVerifyServerCert|LimitInternalRecursion|LimitRequestBody|LimitRequestFields|LimitRequestFieldSize|LimitRequestLine|LimitXMLRequestBody|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|LuaHookAccessChecker|LuaHookAuthChecker|LuaHookCheckUserID|LuaHookFixups|LuaHookInsertFilter|LuaHookLog|LuaHookMapToStorage|LuaHookTranslateName|LuaHookTypeChecker|LuaInherit|LuaInputFilter|LuaMapHandler|LuaOutputFilter|LuaPackageCPath|LuaPackagePath|LuaQuickHandler|LuaRoot|LuaScope|MaxConnectionsPerChild|MaxKeepAliveRequests|MaxMemFree|MaxRangeOverlaps|MaxRangeReversals|MaxRanges|MaxRequestWorkers|MaxSpareServers|MaxSpareThreads|MaxThreads|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|ProxyAddHeaders|ProxyBadHeader|ProxyBlock|ProxyDomain|ProxyErrorOverride|ProxyExpressDBMFile|ProxyExpressDBMType|ProxyExpressEnable|ProxyFtpDirCharset|ProxyFtpEscapeWildcards|ProxyFtpListOnWildcard|ProxyHTMLBufSize|ProxyHTMLCharsetOut|ProxyHTMLDocType|ProxyHTMLEnable|ProxyHTMLEvents|ProxyHTMLExtended|ProxyHTMLFixups|ProxyHTMLInterp|ProxyHTMLLinks|ProxyHTMLMeta|ProxyHTMLStripComments|ProxyHTMLURLMap|ProxyIOBufferSize|ProxyMaxForwards|ProxyPass|ProxyPassInherit|ProxyPassInterpolateEnv|ProxyPassMatch|ProxyPassReverse|ProxyPassReverseCookieDomain|ProxyPassReverseCookiePath|ProxyPreserveHost|ProxyReceiveBufferSize|ProxyRemote|ProxyRemoteMatch|ProxyRequests|ProxySCGIInternalRedirect|ProxySCGISendfile|ProxySet|ProxySourceAddress|ProxyStatus|ProxyTimeout|ProxyVia|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIPHeader|RemoteIPInternalProxy|RemoteIPInternalProxyList|RemoteIPProxiesHeader|RemoteIPTrustedProxy|RemoteIPTrustedProxyList|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|RewriteBase|RewriteCond|RewriteEngine|RewriteMap|RewriteOptions|RewriteRule|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script|ScriptAlias|ScriptAliasMatch|ScriptInterpreterSource|ScriptLog|ScriptLogBuffer|ScriptLogLength|ScriptSock|SecureListen|SeeRequestTail|SendBufferSize|ServerAdmin|ServerAlias|ServerLimit|ServerName|ServerPath|ServerRoot|ServerSignature|ServerTokens|Session|SessionCookieName|SessionCookieName2|SessionCookieRemove|SessionCryptoCipher|SessionCryptoDriver|SessionCryptoPassphrase|SessionCryptoPassphraseFile|SessionDBDCookieName|SessionDBDCookieName2|SessionDBDCookieRemove|SessionDBDDeleteLabel|SessionDBDInsertLabel|SessionDBDPerUser|SessionDBDSelectLabel|SessionDBDUpdateLabel|SessionEnv|SessionExclude|SessionHeader|SessionInclude|SessionMaxAge|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSLCACertificateFile|SSLCACertificatePath|SSLCADNRequestFile|SSLCADNRequestPath|SSLCARevocationCheck|SSLCARevocationFile|SSLCARevocationPath|SSLCertificateChainFile|SSLCertificateFile|SSLCertificateKeyFile|SSLCipherSuite|SSLCompression|SSLCryptoDevice|SSLEngine|SSLFIPS|SSLHonorCipherOrder|SSLInsecureRenegotiation|SSLOCSPDefaultResponder|SSLOCSPEnable|SSLOCSPOverrideResponder|SSLOCSPResponderTimeout|SSLOCSPResponseMaxAge|SSLOCSPResponseTimeSkew|SSLOCSPUseRequestNonce|SSLOpenSSLConfCmd|SSLOptions|SSLPassPhraseDialog|SSLProtocol|SSLProxyCACertificateFile|SSLProxyCACertificatePath|SSLProxyCARevocationCheck|SSLProxyCARevocationFile|SSLProxyCARevocationPath|SSLProxyCheckPeerCN|SSLProxyCheckPeerExpire|SSLProxyCheckPeerName|SSLProxyCipherSuite|SSLProxyEngine|SSLProxyMachineCertificateChainFile|SSLProxyMachineCertificateFile|SSLProxyMachineCertificatePath|SSLProxyProtocol|SSLProxyVerify|SSLProxyVerifyDepth|SSLRandomSeed|SSLRenegBufferSize|SSLRequire|SSLRequireSSL|SSLSessionCache|SSLSessionCacheTimeout|SSLSessionTicketKeyFile|SSLSRPUnknownUserSeed|SSLSRPVerifierFile|SSLStaplingCache|SSLStaplingErrorCacheTimeout|SSLStaplingFakeTryLater|SSLStaplingForceURL|SSLStaplingResponderTimeout|SSLStaplingResponseMaxAge|SSLStaplingResponseTimeSkew|SSLStaplingReturnResponderErrors|SSLStaplingStandardCacheTimeout|SSLStrictSNIVHostCheck|SSLUserName|SSLUseStapling|SSLVerifyClient|SSLVerifyDepth|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|VirtualDocumentRoot|VirtualDocumentRootIP|VirtualScriptAlias|VirtualScriptAliasIP|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:AuthnProviderAlias|AuthzProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|RequireAll|RequireAny|RequireNone|VirtualHost)\b *.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:\w,?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}},function(e,t){Prism.languages.applescript={comment:[/\(\*(?:\(\*[\s\S]*?\*\)|[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/\b-?\d*\.?\d+([Ee]-?\d+)?\b/,operator:[/[&=\u2260\u2264\u2265*+\-\/\xf7^]|[<>]=?/,/\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:/[{}():,\xac\xab\xbb\u300a\u300b]/}},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>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\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:/()[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.csharp||{}}})},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:/^\$\(|^`|\)$|`$/}},/\$(?:[\w#?*!@]+|\{[^}]+\})/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/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,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.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){!function(e){var t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"[^"]*"/,o=/(?:\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:r,parameter:n,variable:t,number:o,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:r,parameter:n,variable:t,number:o,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:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:o,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^\w+\b/i,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:o,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}(Prism)},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|[\s\S]))*/im,lookbehind:!0,alias:"property",inside:{string:{pattern:/(#\s*include\s*)(?:<.+?>|("|')(?:\\?.)+?\2)/,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){!function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,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){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}|\|\|?|\?|\*|\/|\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+)\w+/i,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|\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*?\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.css.selector={pattern:/[^{}\s][^{}]*(?=\s*\{)/,inside:{"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+(?:\(.*\))?/,class:/\.[-:.\w]+/,id:/#[-:.\w]+/,attribute:/\[[^\]]+\]/}},Prism.languages.insertBefore("css","function",{hexcode:/#[\da-f]{3,8}/i,entity:/\\[\da-f]{1,8}/i,number:/[\d%.]+/})},function(e,t){Prism.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:/[\w-]+(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/()[\s\S]*?(?=<\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag))},function(e,t){Prism.languages.d=Prism.languages.extend("clike",{string:[/\b[rx]"(?:\\[\s\S]|[^\\"])*"[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"/,/'(?:\\'|\\?[^']+)'/,/(["`])(?:\\[\s\S]|(?!\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)[^\\\r\n])*\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){Prism.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d+.*$/m],deleted:/^[-<].*$/m,inserted:/^[+>].*$/m,diff:{pattern:/^!(?!!).+$/m,alias:"important"}}},function(e,t){Prism.languages.docker={keyword:{pattern:/(^\s*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)/im,lookbehind:!0},string:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,comment:/#.*/,punctuation:/---|\.\.\.|[:[\]{}\-,|>?]/},Prism.languages.dockerfile=Prism.languages.docker},function(e,t){Prism.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,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.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:\s*!.+(?:\r\n?|\n))?|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:/!.*/,boolean:/\.(?:TRUE|FALSE)\.(?:_\w+)?/i,number:/(?:\b|[+-])(?:\d+(?:\.\d*)?|\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:INTEGER|REAL|DOUBLE ?PRECISION|COMPLEX|CHARACTER|LOGICAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEWHERE|ELSEIF|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.(?:EQ|NE|LT|LE|GT|GE|NOT|AND|OR|EQV|NEQV)\.|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}},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]*?"""|@"(?:""|[^"])*"|("|')(?:\\[\s\S]|(?!\1)[^\\])*\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.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \w{40}$/m}},function(e,t){Prism.languages.glsl=Prism.languages.extend("clike",{comment:[/\/\*[\s\S]*?\*\//,/\/\/(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/],number:/\b(?:0x[\da-f]+|(?:\.\d+|\d+\.?\d*)(?:e[+-]?\d+)?)[ulf]*\b/i,keyword:/\b(?:attribute|const|uniform|varying|buffer|shared|coherent|volatile|restrict|readonly|writeonly|atomic_uint|layout|centroid|flat|smooth|noperspective|patch|sample|break|continue|do|for|while|switch|case|default|if|else|subroutine|in|out|inout|float|double|int|void|bool|true|false|invariant|precise|discard|return|d?mat[234](?:x[234])?|[ibdu]?vec[234]|uint|lowp|mediump|highp|precision|[iu]?sampler[123]D|[iu]?samplerCube|sampler[12]DShadow|samplerCubeShadow|[iu]?sampler[12]DArray|sampler[12]DArrayShadow|[iu]?sampler2DRect|sampler2DRectShadow|[iu]?samplerBuffer|[iu]?sampler2DMS(?:Array)?|[iu]?samplerCubeArray|samplerCubeArrayShadow|[iu]?image[123]D|[iu]?image2DRect|[iu]?imageCube|[iu]?imageBuffer|[iu]?image[12]DArray|[iu]?imageCubeArray|[iu]?image2DMS(?:Array)?|struct|common|partition|active|asm|class|union|enum|typedef|template|this|resource|goto|inline|noinline|public|static|extern|external|interface|long|short|half|fixed|unsigned|superp|input|output|hvec[234]|fvec[234]|sampler3DRect|filter|sizeof|cast|namespace|using)\b/}),Prism.languages.insertBefore("glsl","comment",{preprocessor:{pattern:/(^[ \t]*)#(?:(?:define|undef|if|ifdef|ifndef|else|elif|endif|error|pragma|extension|version|line)\b)?/m,lookbehind:!0,alias:"builtin"}})},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:/(["'`])(\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0}}),delete Prism.languages.go["class-name"]},function(e,t){Prism.languages.graphql={comment:/#.*/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,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+|\.{3}\s*)on\b/,lookbehind:!0},/\b(?:query|fragment|mutation)\b/],operator:/!|=|\.{3}/,punctuation:/[!(){}\[\]:=,]/}},function(e,t){!function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ]+.+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ]+.*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ]+.+)/,lookbehind:!0,inside:{rest:e.languages.ruby}},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ]+.*\|[\t ]*)*/,lookbehind:!0,inside:{rest:e.languages.ruby}}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ]+.+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:{rest:e.languages.markup}},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^}])+\}/,lookbehind:!0,inside:{rest:e.languages.ruby}},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:{rest:e.languages.ruby}}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:{rest:e.languages.ruby}},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.ruby}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ]+.+|\\s*?(?=\\r?\\n|\\r)))+",n=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],r={},o=0,i=n.length;o^\\\/])(?:--[^-!#$%*+=?&@|~.:<>^\\\/].*|{-[\s\S]*?-})/m,lookbehind:!0},char:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,string:{pattern:/"(?:[^\\"]|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\d+|o[0-7]+|x[0-9a-fA-F]+)|\\\s+\\)*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,import_statement:{pattern:/((?:\r?\n|\r|^)\s*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][_a-zA-Z0-9']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:import|qualified|as|hiding)\b/}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[-!#$%*+=?&@|~.:<>^\\\/]*\.[-!#$%*+=?&@|~.:<>^\\\/]+|[-!#$%*+=?&@|~.:<>^\\\/]+\.[-!#$%*+=?&@|~.:<>^\\\/]*|[-!#$%*+=?&@|~:<>^\\\/]+|`([A-Z][\w']*\.)*[_a-z][\w']*`/,hvariable:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*\b/,constant:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*\b/,punctuation:/[{}[\];(),.:]/}},function(e,t){Prism.languages.haxe=Prism.languages.extend("clike",{string:{pattern:/(["'])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^}]+\})/,lookbehind:!0,inside:{interpolation:{pattern:/^\$\w*/,alias:"variable"}}}}},keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|from|for|function|if|implements|import|in|inline|interface|macro|new|null|override|public|private|return|static|super|switch|throw|to|try|typedef|using|var|while)(?!\.)\b/,operator:/\.{3}|\+\+?|-[->]?|[=!]=?|&&?|\|\|?|<[<=]?|>[>=]?|[*\/%~^]/}),Prism.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[igmsu]*/,greedy:!0}}),Prism.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#\w+/,alias:"builtin"},metadata:{pattern:/@:?\w+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"variable"}}),Prism.languages.haxe.string.inside.interpolation.inside.rest=Prism.util.clone(Prism.languages.haxe),delete Prism.languages.haxe["class-name"]},function(e,t){Prism.languages.http={"request-line":{pattern:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\shttps?:\/\/\S+\sHTTP\/[0-9.]+/m,inside:{property:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\b/,"attr-name":/:\w+/}},"response-status":{pattern:/^HTTP\/1.[01] \d+.*/m,inside:{property:{pattern:/(^HTTP\/1.[01] )\d+.*/i,lookbehind:!0}}},"header-name":{pattern:/^[\w-]+:(?=.)/m,alias:"keyword"}};var n={"application/json":Prism.languages.javascript,"application/xml":Prism.languages.markup,"text/xml":Prism.languages.markup,"text/html":Prism.languages.markup};for(var r in n)if(n[r]){var o={};o[r]={pattern:new RegExp("(content-type:\\s*"+r+"[\\w\\W]*?)(?:\\r?\\n|\\r){2}[\\w\\W]*","i"),lookbehind:!0,inside:{rest:n[r]}},Prism.languages.insertBefore("http","header-name",o)}},function(e,t){Prism.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}},function(e,t){Prism.languages.ini={comment:/^[ \t]*;.*$/m,selector:/^[ \t]*\[.*?\]/m,constant:/^[ \t]*[^\s=]+?(?=[ \t]*=)/m,"attr-value":{pattern:/=.*/,inside:{punctuation:/^[=]/}}}},function(e,t){Prism.languages.j={comment:/\bNB\..*/,string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:adverb|conjunction|CR|def|define|dyad|LF|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:[ejpx]|ad|ar)_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}},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.json={property:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/i,string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},number:/\b-?(?:0x[\dA-Fa-f]+|\d*\.?\d+(?:[Ee][+-]?\d+)?)\b/,punctuation:/[{}[\]);,]/,operator:/:/g,boolean:/\b(?:true|false)\b/i,null:/\bnull\b/i},Prism.languages.jsonp=Prism.languages.json},function(e,t){!function(e){var t=e.util.clone(e.languages.javascript);e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=/<\/?[\w.:-]+\s*(?:\s+(?:[\w\.:-]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+|(?:\{[^}]*\})))?|\{\.{3}\w+\}))*\s*\/?>/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">]+)/i,e.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\.{3}\w+\}/,inside:{punctuation:/[{}]|\.{3}/,"attr-value":/\w+/}}},e.languages.jsx.tag);var n=e.util.clone(e.languages.jsx);delete n.punctuation,n=e.languages.insertBefore("jsx","operator",{punctuation:/=(?={)|[{}[\];(),.:]/},{jsx:n}),e.languages.insertBefore("inside","attr-value",{script:{pattern:/=(\{(?:\{[^}]*\}|[^}])+\})/i,inside:n,alias:"language-javascript"}},e.languages.jsx.tag)}(Prism)},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.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){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.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,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){Prism.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype://i,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Prism.languages.xml=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup},function(e,t){Prism.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/\b-?(?:\d*\.?\d+(?:[eE][+-]?\d+)?(?:[ij])?|[ij])\b/,keyword:/\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}},function(e,t){Prism.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/(?:\b|-)(?:0x[\da-fA-F]+|\d+\.?\d*)/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\w+(?=\()|\b(?:about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|CBG|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|Mayatomr|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},Prism.languages.mel.code.inside.rest=Prism.util.clone(Prism.languages.mel)},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|events|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.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.parser=Prism.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),Prism.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:Prism.languages.parser.keyword,variable:Prism.languages.parser.variable,function:Prism.languages.parser.function,boolean:/\b(?:true|false)\b/,number:/\b(?:0x[a-f\d]+|\d+\.?\d*(?:e[+-]?\d+)?)\b/i,escape:Prism.languages.parser.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:Prism.languages.parser.punctuation}}}),Prism.languages.insertBefore("inside","punctuation",{expression:Prism.languages.parser.expression,keyword:Prism.languages.parser.keyword,variable:Prism.languages.parser.variable,function:Prism.languages.parser.function,escape:Prism.languages.parser.escape,"parser-punctuation":{pattern:Prism.languages.parser.punctuation,alias:"punctuation"}},Prism.languages.parser.tag.inside["attr-value"])},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.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{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s+([a-zA-Z0-9])(?:(?!\1)[^\\]|\\[\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:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:/\b(?:m|qr)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s+([a-zA-Z0-9])(?:(?!\1)[^\\]|\\[\s\S])*\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{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s+([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\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.insertBefore("php","variable",{this:/\$this\b/,global:/\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/static|self|parent/,punctuation:/::|\\/}}})},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,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;-1!==e.backupCode.indexOf("___PHP"+n+"___");)++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'+Prism.highlight(o,e.grammar,"php").replace(/\$/g,"$$$$")+"")}e.element.innerHTML=e.highlightedCode}}))},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],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.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?: *[=:] *| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?= *[=:] *| )/m,punctuation:/[=:]/}},function(e,t){Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"triple-quoted-string":{pattern:/("""|''')[\s\S]+?\1/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/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|nonlocal|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\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.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0},/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,/^#!.+/m],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b-?(?![01]:)(?:0[wn]|0W[hj]?|0N[hje]?|0x[\da-fA-F]+|\d+\.?\d*(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?_~=|$&#@^]):?/,alias:"operator"},punctuation:/[(){}\[\];.]/}},function(e,t){Prism.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\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){!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{(\[<])(?:(?!\1)[^\\]|\\[\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_]\w*(?:[?!]|\b)/,symbol:/:[a-zA-Z_]\w*(?:[?!]|\b)/}),e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|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]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:/%[qQiIwWxs]?([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\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|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:t}}]}(Prism)},function(e,t){Prism.languages.rust={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:[{pattern:/b?r(#*)"(?:\\.|(?!"\1)[^\\\r\n])*"\1/,greedy:!0},{pattern:/b?("|')(?:\\.|(?!\1)[^\\\r\n])*\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:[/\w+(?=\s*\()/,/\w+!(?=\s*\(|\[)/],"macro-rules":{pattern:/\w+!/,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){!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]+\}/,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){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){Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)*url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()]|&|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}]+[:{][^}]+))/m,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.scss.property={pattern:/(?:[\w-]|\$[-\w]+|#\{\$[-\w]+\})+(?=\s*:)/i,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}},Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),Prism.languages.insertBefore("scss","function",{placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:true|false)\b/,null:/\bnull\b/,operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.util.clone(Prism.languages.scss)},function(e,t){!function(e){var t=/\{\*[\s\S]+?\*\}|\{[\s\S]+?\}/g,n=!1;e.languages.smarty=e.languages.extend("markup",{smarty:{pattern:t,inside:{delimiter:{pattern:/^\{|\}$/i,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\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("{/literal}"===t&&(n=!1),!n){"{literal}"===t&&(n=!0);for(var r=e.tokenStack.length;-1!==e.backupCode.indexOf("___SMARTY"+r+"___");)++r;return e.tokenStack[r]=t,"___SMARTY"+r+"___"}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,r=Object.keys(t.tokenStack);n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}},function(e,t){!function(e){var t={url:/url\((["']?).*?\1\)/i,string:{pattern:/("|')(?:(?!\1)[^\\\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.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.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$){[^}]+}/,lookbehind:!0},{pattern:/(^\s*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^\s*proc[ \t]+)[^\s]+/m,lookbehind:!0},builtin:[{pattern:/(^\s*)(?:proc|return|class|error|eval|exit|for|foreach|if|switch|while|break|continue)\b/m,lookbehind:!0},/\b(?:elseif|else)\b/],scope:{pattern:/(^\s*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^\s*|\[)(?:after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|Safe_Base|scan|seek|set|socket|source|split|string|subst|Tcl|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|wordBreak(?:After|Before)|test|vars)|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|ne|in|ni)\b/,punctuation:/[{}()\[\]]/}},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|symbol|namespace|abstract|require|type)\b/}),Prism.languages.ts=Prism.languages.typescript},function(e,t){Prism.languages.vbnet=Prism.languages.extend("basic",{keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDEC|CDBL|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEFAULT|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LINE INPUT|LET|LIB|LIKE|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPERATOR|OPEN|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHORT|SINGLE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SYNCLOCK|SWAP|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0}]})},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|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/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}},function(e,t){Prism.languages.wiki=Prism.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+).+?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:RFC|PMID) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:Prism.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),Prism.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[\s\S]*?>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[\s\S]*?>|<\/(?:nowiki|pre|source)>/i,inside:Prism.languages.markup.tag.inside}}}})},function(e,t){Prism.languages.yaml={scalar:{pattern:/([\-:]\s*(?:![^\s]+)?[ \t]*[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)[^\r\n]+(?:\2[^\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]*)("|')(?:(?!\2)[^\\\r\n]|\\.)*\2(?=[ \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,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return h});var a=n(0),s=n.n(a),c=n(4),u=n.n(c),l=n(58),f=(n.n(l),n(47)),p=function(){function e(e,t){for(var n=0;n9);return S&&(h="\u672c\u5730\u56fe\u7247\u65e0\u6cd5\u663e\u793a"),u||i||(h="\u56fe\u7247\u4e0d\u5305\u542b\u6709\u6548\u5730\u5740"),f.a.createElement("div",{className:"image-block",style:v,onMouseDown:function(e){e.preventDefault()},onMouseMove:function(e){e.preventDefault()},onMouseUp:function(e){e.preventDefault()}},h?f.a.createElement("div",{className:"image-error"},this.state.loadError&&f.a.createElement("img",{src:u,style:{display:"none"}}),f.a.createElement("div",{className:"error-message"},h)):f.a.createElement("div",{className:"image-content"},f.a.createElement("img",{src:g?null:u||i,srcSet:g?(u||i)+" 2x":null,style:b,onLoad:u?function(){return e.setState({loaded:!0})}:null,onError:function(t){return e.setState({loadError:"\u56fe\u7247\u52a0\u8f7d\u5931\u8d25"})}}),f.a.createElement("div",{className:d()("image-block-actions",{uploading:!this.state.loaded})},f.a.createElement("div",{className:"shadow"},!this.state.loaded&&f.a.createElement("span",{className:"uploading"},f.a.createElement("i",{className:"icon-loading"},i?s||"\u6b63\u5728\u4e0a\u4f20":"\u6b63\u5728\u52a0\u8f7d")),this.state.loaded&&k&&x&&f.a.createElement("a",{className:"action-edit",title:"\u7f16\u8f91",onClick:this.editImage},f.a.createElement("i",{className:"icon-edit"})),f.a.createElement("a",{className:"action-delete",title:"\u5220\u9664",onClick:function(e){e.stopPropagation(),e.preventDefault(),r()}},f.a.createElement("i",{className:"icon-remove"}))))))}},{key:"componentWillReceiveProps",value:function(e){e.blockProps.entityData.imageUrl!==this.props.blockProps.entityData.imageUrl&&this.setState({loaded:!1})}}]),t}(f.a.Component),s.wrapperClassName="image-block-wrapper",c)},function(e,t){},function(e,t,n){"use strict";function r(e,t,n,r){r=r||!1,e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on"+t,function(t){n.call(e,t||window.event)})}function o(e,t,n,r){r=r||!1,e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent&&e.detachEvent("on"+t,n)}t.b=r,t.a=o},function(e,t,n){"use strict";t.a=function(e){if(!e)return document.documentElement;for(var t="absolute"===e.style.position,n=/(scroll|auto)/,r=e;r;){if(!r.parentNode)return e.ownerDocument||document.documentElement;var o=window.getComputedStyle(r),i=o.position,a=o.overflow,s=o["overflow-x"],c=o["overflow-y"];if("static"===i&&t)r=r.parentNode;else{if(n.test(a)&&n.test(s)&&n.test(c))return r;r=r.parentNode}}return e.ownerDocument||e.documentElement||document.documentElement}},function(e,t,n){"use strict";function r(e,t,n){var r=void 0,o=void 0,i=void 0,a=void 0,s=void 0,c=function c(){var u=+new Date-a;u=0?r=setTimeout(c,t-u):(r=null,n||(s=e.apply(i,o),r||(i=null,o=null)))};return function(){i=this,o=arguments,a=+new Date;var u=n&&!r;return r||(r=setTimeout(c,t)),u&&(s=e.apply(i,o),i=null,o=null),s}}t.a=r},function(e,t,n){"use strict";function r(e,t,n){t||(t=250);var r,o;return function(){var i=n||this,a=+new Date,s=arguments;r&&a0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n){function a(){r(this,a);var e=o(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return e.displayName="LazyLoad"+l(t),e}return i(a,n),u(a,[{key:"render",value:function(){return s.a.createElement(c.a,e,s.a.createElement(t,this.props))}}]),a}(a.Component)}}},function(e,t,n){"use strict";var r=n(457);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0?n+="&":n+="?",n+="_="+ +new Date;var c=function(e){t.setState({imageUrl:n,imageSizeLimit:r,uploadImage:o,isObjectUrl:e,onFinish:i,onCancel:a,maxImageSize:s}),t.focus()};if(/msie 10|edge|^((?!chrome|android).)*safari/i.test(navigator.userAgent)){var u=new XMLHttpRequest;u.onload=function(){n=URL.createObjectURL(u.response),c(!0)},u.open("GET",n,!0),u.responseType="blob",u.send()}else c()}},{key:"paint",value:function(){if(this.canvas){var e=this.canvas.getContext("2d");e.clearRect(0,0,this.canvas.width,this.canvas.height);var t=this.state,n=t.drawings,r=t.activeDrawing;r&&(n=n.concat(w({},r,{commited:!1}))),this.paintDrawings(e,n)}}},{key:"paintDrawings",value:function(e,t){e.save(),e.translate(.5,.5);var n=!0,r=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;this.tools[s.type].onRenderCanvas(e,s)}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}e.restore()}},{key:"createTools",value:function(){var e=this,t={},n=!0,o=!1,i=void 0;try{for(var a,s=Object.keys(S)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var c=a.value,u=S[c];t[c]=new u({store:function(t){var n=function(){return e.state.toolState[t]||{}};return{getState:n,setState:function(o){return e.setState({toolState:w({},e.state.toolState,r({},t,w({},n(),o)))})}}}(c)})}}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return t}},{key:"toggleTool",value:function(e){this.deactiveTool(),e!=this.state.mode&&this.activeTool(e)}},{key:"activeTool",value:function(e){this.setState({mode:e}),this.tools[e].onActived()}},{key:"deactiveTool",value:function(){var e=this,t=this.state,n=t.mode,r=t.drawings;if(n){var o=this.tools[n].onDeactived(),a=o.commit,s=o.drawing;a&&s&&(s.commited=!0,this.setState({drawings:[].concat(i(r),[this.decorateDrawing(s)])}))}return new Promise(function(t){return e.setState({mode:null},t)})}},{key:"focus",value:function(){var e=this;setTimeout(function(){e.rootElement&&e.rootElement.focus()},10)}},{key:"decorateDrawing",value:function(e){var t=this.state,n=t.brushWidth,r=t.brushColor,o=t.fontFamily,i=t.fontSize;return w({},e,{sourceImage:this.image,brushWidth:n,brushColor:r,fontFamily:o,fontSize:i,cache:{}})}}]),t}(f.a.Component)},function(e,t){},function(e,t,n){"use strict";var r=n(460);n.d(t,"a",function(){return r.a});var o=n(461);n.d(t,"b",function(){return o.a});var i=n(462);n.d(t,"c",function(){return i.a});var a=n(463);n.d(t,"d",function(){return a.a});var s=n(464);n.d(t,"e",function(){return s.a});var c=n(465);n.d(t,"f",function(){return c.a})},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1||s.rowspan>1);return g.a.createElement("ul",null,c&&g.a.createElement("li",{onClick:a("split-cell")},"\u62c6\u5206\u5355\u5143\u683c"),c&&g.a.createElement("li",{className:"spliter"}),g.a.createElement("li",{onClick:a("align-left")},"\u5de6\u5bf9\u9f50"),g.a.createElement("li",{onClick:a("align-center")},"\u5c45\u4e2d\u5bf9\u9f50"),g.a.createElement("li",{onClick:a("align-right")},"\u53f3\u5bf9\u9f50"),g.a.createElement("li",{className:"spliter"}),g.a.createElement("li",{onClick:a("insert-row-above")},"\u5728\u4e0a\u65b9\u63d2\u5165\u884c"),g.a.createElement("li",{onClick:a("insert-row-below")},"\u5728\u4e0b\u65b9\u63d2\u5165\u884c"),g.a.createElement("li",{onClick:a("insert-col-left")},"\u5728\u5de6\u4fa7\u63d2\u5165\u5217"),g.a.createElement("li",{onClick:a("insert-col-right")},"\u5728\u53f3\u4fa7\u63d2\u5165\u5217"),g.a.createElement("li",{className:"spliter"}),g.a.createElement("li",{onClick:a("remove-table")},"\u5220\u9664\u8868\u683c"))}},{key:"renderMenuForMultiCell",value:function(){var e=this,t=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o0;return g.a.createElement("ul",null,g.a.createElement("li",{onClick:t("clear-cell-content")},"\u6e05\u7a7a\u5355\u5143\u683c\u5185\u5bb9"),d&&g.a.createElement("li",{onClick:t("combine-cells",a,s,c,u)},"\u5408\u5e76\u5355\u5143\u683c"),d&&(l||f)&&g.a.createElement("li",{className:"spliter"}),p&&g.a.createElement("li",{onClick:t("remove-table")},"\u5220\u9664\u8868\u683c"),!p&&l&&g.a.createElement("li",{onClick:t("remove-multi-rows",a,s)},"\u5220\u9664 ",s-a+1," \u884c"),!p&&f&&g.a.createElement("li",{onClick:t("remove-multi-cols",c,u)},"\u5220\u9664 ",u-c+1," \u5217"))}},{key:"renderToolbarButtons",value:function(e){var t=this,n=e.theme,r=this.state,i=r.multiSelection,a=r.activeCellKey;if(!a&&!i)return null;var s=a?this.getCellIndexes(a):[],c=T(s,2),u=c[0],l=c[1],f=i||[u,u,l,l],p=T(f,4),d=p[0],h=p[1],m=p[2],y=p[3],b=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o1?r-1:0),i=1;i1?this.getRow(F-1):null)){e.next=42;break}for(q=[],U=R(d,F,{key:Object(k.genKey)(),cells:K.cells.map(function(e,t){var r=n.getCellIndexBound(F-1,t),o=T(r,4),i=o[0],a=o[1],s=o[2];o[3];return a>=F?(q.push([i,s,n.getCell(i,s)]),{key:Object(k.genKey)(),raw:null}):Object(S.e)()})}),z=!0,H=!1,V=void 0,e.prev=23,W=q[Symbol.iterator]();!(z=(G=W.next()).done);z=!0)$=G.value,X=T($,3),Y=X[0],Z=X[1],J=X[2],U=L(U,Y,O({},U[Y],{cells:L(U[Y].cells,Z,O({},J,{rowspan:J.rowspan+1}))}));e.next=31;break;case 27:e.prev=27,e.t1=e.catch(23),H=!0,V=e.t1;case 31:e.prev=31,e.prev=32,!z&&W.return&&W.return();case 34:if(e.prev=34,!H){e.next=37;break}throw V;case 37:return e.finish(34);case 38:return e.finish(31);case 39:this.updateBlockData({rows:U}),e.next=43;break;case 42:this.updateBlockData({rows:R(d,F,Object(S.f)(h))});case 43:return requestAnimationFrame(function(){return n.activeCellByIndex(F,_)}),e.abrupt("break",162);case 45:if(Q=T(o,2),ee=Q[0],te=Q[1],ne=this.getCellIndexBound(ee,te),re=T(ne,4),oe=re[0],ie=re[1],ae=re[2],se=re[3],ce="right"===m?se+1:ae,!((ue=ce-1)>=0)){e.next=74;break}for(le=[],fe=d.map(function(e,t){var r=e.key,o=e.cells,i=n.getCellIndexBound(t,ue),a=T(i,4),s=a[0],c=(a[1],a[2]),u=a[3],l=void 0;return u>=ce?(le.push([s,c,n.getCell(s,c)]),l={key:Object(k.genKey)(),raw:null}):l=Object(S.e)(),{key:r,cells:R(o,ce,l)}}),pe=!0,de=!1,he=void 0,e.prev=55,ge=le[Symbol.iterator]();!(pe=(me=ge.next()).done);pe=!0)ye=me.value,ve=T(ye,3),be=ve[0],we=ve[1],ke=ve[2],fe=L(fe,be,O({},fe[be],{cells:L(fe[be].cells,we,O({},ke,{colspan:ke.colspan+1}))}));e.next=63;break;case 59:e.prev=59,e.t2=e.catch(55),de=!0,he=e.t2;case 63:e.prev=63,e.prev=64,!pe&&ge.return&&ge.return();case 66:if(e.prev=66,!de){e.next=69;break}throw he;case 69:return e.finish(66);case 70:return e.finish(63);case 71:this.updateBlockData({aligns:R(p,ce,Object(S.d)()),rows:fe}),e.next=75;break;case 74:this.updateBlockData({aligns:R(p,ce,Object(S.d)()),rows:d.map(function(e){var t=e.key,n=e.cells;return{key:t,cells:R(n,ce,Object(S.e)())}})});case 75:return requestAnimationFrame(function(){return n.activeCellByIndex(ee,ce)}),e.abrupt("break",162);case 77:if(Se=T(o,2),Ee=Se[0],xe=Se[1],1!==g){e.next=80;break}return e.abrupt("return",this.executeTableCommand("remove-table"));case 80:return this.updateBlockData({rows:D(d,Ee)}),e.abrupt("break",162);case 82:if(_e=T(o,2),Ce=_e[0],Oe=_e[1],1!==h){e.next=85;break}return e.abrupt("return",this.executeTableCommand("remove-table"));case 85:return this.updateBlockData({aligns:D(p,Oe),rows:d.map(function(e){var t=e.key,n=e.cells;return{key:t,cells:D(n,Oe)}})}),e.abrupt("break",162);case 87:return this.props.blockProps.onRemoveTable(),e.abrupt("break",162);case 89:if(Te=T(o,2),Ae=Te[0],Pe=Te[1],Le=Ae*h+Pe,!((Re=Le+("next"===m?1:-1))>=h*g)){e.next=95;break}return e.next=95,this.executeTableCommand("insert-row-below",Ae,Pe);case 95:if(!(Re>=0)){e.next=110;break}case 96:if(De=Math.floor(Re/h),Ie=Re%h,Me=this.getCell(De,Ie)){e.next=102;break}return e.abrupt("return");case 102:if(!Me.raw){e.next=107;break}return this.activeCellByIndex(De,Ie,"focus-prev"===t),e.abrupt("break",110);case 107:Re+="next"===m?1:-1;case 108:e.next=96;break;case 110:return e.abrupt("break",162);case 111:return je=T(o,2),Ne=je[0],Be=je[1],Fe=this.getCellIndexBound(Ne,Be),Ke=T(Fe,4),qe=Ke[0],Ue=Ke[1],ze=Ke[2],He=Ke[3],Ve=T({left:[-1,0],up:[0,-1],right:[1,0],down:[0,1]}[m],2),We=Ve[0],Ge=Ve[1],$e=(Ge>0?Ue:qe)+Ge,Xe=(We>0?He:ze)+We,Ye=this.getCell($e,Xe),Ye?(Ye.row||(Ze=this.getCellSpanAncestor($e,Xe),Je=T(Ze,2),Qe=Je[0],et=Je[1],$e=Qe,Xe=et),this.activeCellByIndex($e,Xe,"focus-up"===t||"focus-left"===t)):-1===$e?(this.exitEditMode(),u()):$e===g&&(this.exitEditMode(),l()),e.abrupt("break",162);case 119:if(tt=T(o,2),nt=tt[0],rt=tt[1],0!==nt||0!==rt){e.next=125;break}this.exitEditMode(),s(),e.next=126;break;case 125:return e.abrupt("return",this.executeTableCommand("focus-next",nt,rt));case 126:return e.abrupt("break",162);case 127:if(ot=T(o,2),it=ot[0],at=ot[1],it!==g-1||at!==h-1){e.next=133;break}this.exitEditMode(),c(),e.next=134;break;case 133:return e.abrupt("return",this.executeTableCommand("focus-next",it,at));case 134:return e.abrupt("break",162);case 135:return st=this.state.multiSelection,st&&(ct=T(st,4),ut=ct[0],lt=ct[1],ft=ct[2],pt=ct[3],this.updateBlockData({rows:d.map(function(e,t){return tlt?e:O({},e,{cells:e.cells.map(function(e,t){return tpt?e:(n.editorRefs[e.key]&&n.editorRefs[e.key].clear(),O({},e,{raw:e.raw&&Object(S.c)("")}))})})})}),requestAnimationFrame(function(){return n.forceUpdate()})),e.abrupt("break",162);case 138:return dt=T(o,2),ht=dt[0],gt=dt[1],this.updateBlockData({rows:(d.splice(ht,gt-ht+1),d)}),this.setState({anchorCellKey:null,focusCellKey:null,multiSelection:null}),e.abrupt("break",162);case 142:return mt=T(o,2),yt=mt[0],vt=mt[1],this.updateBlockData({aligns:(p.splice(yt,vt-yt+1),p),rows:d.map(function(e){return O({},e,{cells:(e.cells.splice(yt,vt-yt+1),e.cells)})})}),this.setState({anchorCellKey:null,focusCellKey:null,multiSelection:null}),e.abrupt("break",162);case 146:return bt=T(o,4),wt=bt[0],kt=bt[1],St=bt[2],Et=bt[3],xt=kt-wt+1,_t=Et-St+1,Ct=function(e,t){return d[e].cells[t].raw},Ot=function(){for(var e=wt;e<=kt;e++)for(var t=St;t<=Et;t++){var n=Ct(e,t);if(!I(n))return n}},Tt=Ot()||Ct(wt,St),At=null,this.updateBlockData({rows:d.map(function(e,t){return tkt?e:O({},e,{cells:e.cells.map(function(e,n){return nEt?e:t===wt&&n===St?(At=e.key,O({},e,{raw:Tt,rowspan:xt,colspan:_t})):(delete e.rowspan,delete e.colspan,O({},e,{raw:null}))})})})}),this.setState({anchorCellKey:null,focusCellKey:null,multiSelection:null,activeCellKey:At},function(){n.editorRefs[At]&&n.editorRefs[At].syncRaw(),n.activeCellByKey(At,!0),n.props.blockProps.onSelectionChange()}),e.abrupt("break",162);case 156:return Pt=T(o,2),Lt=Pt[0],Rt=Pt[1],Dt=this.getCell(Lt,Rt),It=Dt.rowspan,Mt=Dt.colspan,jt=Lt+It-1,Nt=Rt+Mt-1,this.updateBlockData({rows:d.map(function(e,t){return tjt?e:O({},e,{cells:e.cells.map(function(e,n){if(nNt)return e;if(t===Lt&&n===Rt){var r=O({},e);return delete r.rowspan,delete r.colspan,r}return Object(S.e)()})})})}),e.abrupt("break",162);case 162:case"end":return e.stop()}},e,this,[[23,27,31,39],[32,,34,38],[55,59,63,71],[64,,66,70]])}));return e}()},{key:"getTableData",value:function(){var e=this.props.blockProps.data;if(!e)return null;var t=e.get("aligns"),n=e.get("rows");return{aligns:t,rows:n,numberOfRows:n.length,numberOfColumns:n[0].cells.length}}},{key:"updateBlockData",value:function(e){var t=this.props.block,n=this.props.blockProps.store,r=n.getEditorState,o=n.setEditorState,i=r(),a=i.getCurrentContent().getBlockMap(),s=t.getData();for(var c in e)e.hasOwnProperty(c)&&(s=s.set(c,e[c]));var u=a.set(t.getKey(),t.set("data",s));o(k.EditorState.createWithContent(i.getCurrentContent().set("blockMap",u),i.getDecorator()))}},{key:"isMulitiSelectMode",value:function(){return!!this.state.multiSelection}},{key:"isCellInsideMultiSelection",value:function(e){var t=this.state.multiSelection;if(!t)return!1;var n=T(t,4),r=n[0],o=n[1],i=n[2],a=n[3],s=this.getCellIndexes(e),c=T(s,2),u=c[0],l=c[1];return r<=u&&u<=o&&i<=l&&l<=a}},{key:"getCellIndexes",value:function(e){for(var t=this.props.blockProps.data.get("rows"),n=0;n=0;n--)for(var r=this.getRow(n),o=t;o>=0;o--){var i=r.cells[o];if(n+i.rowspan>e&&o+i.colspan>t)return[n,o,i]}return[e,t,this.getCell(e,t)]}},{key:"getCellIndexBound",value:function(e,t){var n=this.getCell(e,t);return n.colspan>1||n.rowspan>1?[e,e+n.rowspan-1,t,t+n.colspan-1]:n.raw?[e,e,t,t]:this.getCellIndexBound.apply(this,u(this.getCellSpanAncestor(e,t)))}}]),t}(g.a.Component),p=function(){var e=this;this.editorRefs={},this.cellRefs={},this.state={activeCellKey:null,anchorCellKey:null,focusCellKey:null,multiSelection:null,contextMenu:null},this.wrapperElement=null,this.getActiveCellStore=function(){var t=function(){if(e.editorRefs[e.state.activeCellKey])return e.editorRefs[e.state.activeCellKey].getStore()};return{getEditorEnviorment:function(){return t()?"table":"table-multi-select"},getEditorState:function(){var e=t();return e?e.getEditorState():k.EditorState.createEmpty()},setEditorState:function(){var e=t();e&&e.setEditorState.apply(e,arguments)},getTableToolbarButtons:function(t){var n=t.theme;return e.renderToolbarButtons({theme:n})}}},this.enterEditMode=function(){e.props.blockProps.onFocusTable();for(var t=e.wrapperElement,n=t;n&&!n.classList.contains("draft-editor-host");)n=n.parentElement;var r=e.props.block&&e.props.block.getKey(),o=function(e){e.__fromTableBlock=r},i=function(t){t.__fromTableBlock!==r&&e.exitEditMode()};t.addEventListener("mousedown",o),n.addEventListener("mousedown",i),e.clearExitWatchers=function(){n.removeEventListener("mousedown",i),t.removeEventListener("mousedown",o),e.clearExitWatchers=null}},this.exitEditMode=function(){e.props.blockProps.onExitTable(),e.setState({activeCellKey:null,anchorCellKey:null,focusCellKey:null,multiSelection:null}),e.clearExitWatchers&&e.clearExitWatchers()},this.handleGlobalMouseUp=function(t){e.isMousePressed=!1},this.handleGlobalMouseDown=function(t){e.setState({contextMenu:null})},this.handleGlobalResize=function(t){e.isMulitiSelectMode()&&e.forceUpdate()},this.handleContextMenu=function(t){var n=t.pageX,r=t.pageY;e.setState({contextMenu:{x:n-window.pageXOffset,y:r-window.pageYOffset}}),t.preventDefault()},this.handleCellMouseDown=function(t,n){e.isCellInsideMultiSelection(n)&&2===t.button||(e.isMousePressed=!0,e.setState({anchorCellKey:null,focusCellKey:null,multiSelection:null}),e.activeCellByKey(n))},this.handleCellMouseEnter=function(t,n){if(e.isMousePressed){var r=e.state,o=r.activeCellKey,i=(r.focusCellKey,r.anchorCellKey),a=function(){e.props.blockProps.onSelectionChange()},s=function(t,n){var r=e.getCellIndexes(t),o=T(r,2),i=o[0],s=o[1],c=e.getCellIndexes(n),l=T(c,2),f=l[0],p=l[1],d=Math.min(i,f),h=Math.min(s,p),g=Math.max(i,f),m=Math.max(s,p);e.setState({activeCellKey:null,anchorCellKey:t,focusCellKey:n,multiSelection:function t(n,r,o,i){for(var a=n,s=r,c=o,l=i,f=function(e,t,n){e1&&(s=Math.max(s,e+n.rowspan-1)),n.colspan>1&&(l=Math.max(l,t+n.colspan-1))},p=n;p<=r;p++)for(var d=e.getRow(p),h=o;h<=i;h++){var g=d.cells[h];g.raw?f(p,h,g):f.apply(void 0,u(e.getCellSpanAncestor(p,h)))}return a!==n||s!==r||c!==o||l!==i?t(a,s,c,l):[a,s,c,l]}(d,g,h,m)},a)};i||n===i?i===n?(e.setState({anchorCellKey:null,focusCellKey:null,multiSelection:null},a),e.activeCellByKey(n)):s(i,n):(s(o,n),document.getSelection().removeAllRanges(),e.wrapperElement.focus())}},this.handleKeyDown=function(t){8!==t.keyCode&&46!==t.keyCode||e.isMulitiSelectMode()&&e.executeTableCommand("clear-cell-content")},this.handleCellContentChange=function(t,n,r){var o=e.props.blockProps.data,i=o.get("rows"),a=i[t],s=a.cells[n],c=O({},s,{raw:r}),u={key:a.key,cells:L(a.cells,n,c)},l=L(i,t,u);e.updateBlockData({rows:l})},this.activeCellByKey=function(t,n){P("cell-focus %s",t);var r=e.state.activeCellKey;e.setState({activeCellKey:t},function(){r||(P("focus-table"),e.enterEditMode());var o=e.editorRefs[t];o&&o.focus(n),requestAnimationFrame(function(){return e.props.blockProps.onSelectionChange()})})}},f)},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return y});var a,s,c=n(0),u=n.n(c),l=n(18),f=n.n(l),p=n(1),d=(n.n(p),n(2)),h=n(121),g=n(113),m=(n(36),function(){function e(e,t){for(var n=0;n-1&&!e.shiftKey&&!e.metaKey&&!e.ctrlKey&&!e.altKey){var r=Object(d.v)(t),o=r.isAtFirstBlock,a=r.isAtLastBlock,s=r.isAtStartOfBlock,c=r.isAtEndOfBlock;switch(e.keyCode){case 37:if(o&&s)return i.props.onTableCommand("focus-left"),void e.preventDefault();break;case 38:if(o&&s)return i.props.onTableCommand("focus-up"),void e.preventDefault();break;case 39:if(a&&c)return i.props.onTableCommand("focus-right"),void e.preventDefault();break;case 40:if(a&&c)return i.props.onTableCommand("focus-down"),void e.preventDefault()}}return Object(p.getDefaultKeyBinding)(e)},i.handleKeyCommand=function(e){var t=i.state.editorState;if("softline"===e)return i.handleChange(p.RichUtils.insertSoftNewline(t)),"handled";var n=p.RichUtils.handleKeyCommand(i.state.editorState,e);return n?(i.handleChange(n),"handled"):"not-handled"},a=n,o(i,a)}return i(t,e),m(t,[{key:"getStore",value:function(){var e=this;return{getEditorEnviorment:function(){return"table"},getEditorState:function(){return e.state.editorState},setEditorState:this.handleChange}}},{key:"render",value:function(){var e=this,t=this.props,n=t.focused,r=(t.raw,t.onFocus,t.onBlur),o=function(e){return e.stopPropagation()};return u.a.createElement("div",{className:"table-nested-editor",ref:function(t){return e.element=t},onSelect:o,onKeyDown:o,onChange:o},u.a.createElement(p.Editor,{ref:function(t){return e.editor=t},readOnly:!n,editorState:this.state.editorState,onChange:this.handleChange,onBlur:r,customStyleMap:g.a,keyBindingFn:this.keyBindingFn,handlePastedText:this.handlePastedText,onUpArrow:this.keyBindingFn,onDownArrow:this.keyBindingFn,onLeftArrow:this.keyBindingFn,onRightArrow:this.keyBindingFn,handleKeyCommand:this.handleKeyCommand,onTab:this.keyBindingFn}))}},{key:"getInitialEditorState",value:function(){var e=this.props.raw;"string"==typeof e&&(e=Object(d.c)(e));var t=Object(p.convertFromRaw)(e);return p.EditorState.createWithContent(t,this.decorator)}},{key:"syncRaw",value:function(){this.setState({editorState:this.getInitialEditorState()})}},{key:"focus",value:function(e){this.editor&&(this.editor.focus(),e&&this.handleChange(p.EditorState.moveFocusToEnd(this.state.editorState)))}}]),t}(c.Component),a.propTypes={raw:f.a.oneOfType([f.a.object,f.a.string]).isRequired},s)},function(e,t,n){"use strict";function r(e,t){return{left:e.left-t.left,top:e.top-t.top,width:e.width,height:e.height}}function o(e,t){var n=Math.min(e.left,t.left),r=Math.max(e.left+e.width,t.left+t.width),o=Math.min(e.top,t.top);return{left:n,top:o,width:r-n,height:Math.max(e.top+e.height,t.top+t.height)-o}}t.b=r,t.a=o},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}function o(e,t,n,o){var i=this,s=t.getEditorState,c=t.setEditorState,f=n.takeOverStore,p=n.recoverStore,d=n.readMemory,h=n.updateMemory,g=n.triggerCommand,m=n.focusHostEditor,y=n.refreshToolbar,v=function(e){return o[e]},b=function(n){l("enter "+n),"root"===t.getEditorEnviorment()&&Object(a.M)(t,e,"collapse"),f(function(e){e.focusTableKey;return o[n].getActiveCellStore()}),h(function(e){return u({},e,{focusTableKey:n})})},w=function(){var e=r(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=d(function(e){return e.focusTableKey})){e.next=3;break}return e.abrupt("return",!1);case 3:return l("exit "+t),p(),h(function(e){return u({},e,{focusTableKey:null})}),e.abrupt("return",!0);case 7:case"end":return e.stop()}},e,i)}));return function(){return e.apply(this,arguments)}}(),k=function(t){return r(regeneratorRuntime.mark(function n(){var r;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:m(),r=s(),c(Object(a.z)(r,e.getKey(),t));case 3:case"end":return n.stop()}},n,i)}))},S=function(n){return r(regeneratorRuntime.mark(function r(){var o,u,l,f;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:o=s(),u="below"===n?o.getCurrentContent().getBlockAfter(e.getKey()):o.getCurrentContent().getBlockBefore(e.getKey()),u?"table"===u.getType().toLowerCase()?(l=u.getKey(),(f=v(l))&&("below"===n?f.focusFirstRow():f.focusLastRow())):setTimeout(function(){return Object(a.M)(t,u,"expand")},1):(m(),requestAnimationFrame(function(){c(Object(a.z)(o,e.getKey(),"below"===n?"after":"before"))}));case 3:case"end":return r.stop()}},r,i)}))},E=e.getKey();return{store:t,data:e.getData(),onRef:function(e){e?o[E]=e:delete o[E]},onFocusTable:function(){return b(E)},onExitTable:function(){function e(e){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w();case 2:if(!e.sent){e.next=4;break}m();case 4:case"end":return e.stop()}},e,i)}));return e}(),onSave:function(){return g("save")},onReturnStart:k("before"),onReturnEnd:k("after"),onFocusBelow:S("below"),onFocusAbove:S("above"),onFocusCell:function(e){return h(function(t){return u({},t,{focusTableKey:E,focusTableCellKey:e})})},onSelectionChange:function(){y()},onRemoveTable:function(){return Object(a.L)(t,e,"forward")}}}t.a=o;var i=n(1),a=(n.n(i),n(2)),s=n(20),c=n.n(s),u=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u;e=c({},u,e);var t=function(t,n){var o=t.getEditorState(),c=o.getCurrentContent(),u=o.getSelection();if("root"!==t.getEditorEnviorment())return"not-handled";var l=c.getBlockForKey(u.getStartKey());if(l===c.getBlockForKey(u.getEndKey())&&"code-block"===l.getType())return"not-handled";var f=Object(s.k)(Object(a.m)(n,e.parseOptions)),p=f.getBlockMap();1===p.size&&(p=p.merge(r({},Object(i.genKey)(),Object(i.convertFromRaw)({blocks:[{type:"unstyled",text:""}],entityMap:{}}).getFirstBlock())));var d=i.Modifier.replaceWithFragment(c,u,p);return t.setEditorState(i.EditorState.push(o,d,"insert-fragment")),"handled"};return{handlePastedHtml:function(e,n){return t(e,n)},handleFiles:function(e,n,r){var o=r.find(function(e){return e instanceof File&&/\.html?$/i.test(e.name)});if(o&&"function"==typeof FileReader)try{var i=new FileReader;return i.onload=function(){i.readyState===i.DONE&&t(e,i.result)},i.readAsText(o,"utf8"),"handled"}catch(e){return console.warn("html read error",e),"not-handled"}return"not-handled"}}}t.a=o;var i=n(1),a=(n.n(i),n(70)),s=n(2),c=Object.assign||function(e){for(var t=1;t1?r-1:0),i=1;i")}function l(e){return new b(e).generate().replace(/^(\s*)|(\s*$)/g,"")}t.a=l;var f=n(481),p=(n.n(f),n(1)),d=(n.n(p),function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()),h=function(){function e(e,t){for(var n=0;n "+x+"\n")}}catch(e){w=!0,k=e}finally{try{!b&&E.return&&E.return()}finally{if(w)throw k}}break;case f.BLOCK_TYPE.CODE:this.insertLineBreaks(1);var _=t.getData&&t.getData()&&t.getData().get("syntax")||"";this.output.push("```"+_+"\n"),this.output.push(t.getText()+"\n"),this.output.push("```\n");break;case"table":this.insertLineBreaks(1);var C=t.getData(),O=C.get("aligns"),T=C.get("rows").slice(),A=function(t){if(!t.raw)return"";var n=Object(p.convertFromRaw)(t.raw);return u(e.renderBlockContent(n.getFirstBlock(),n))};!function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=e[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=o.value,s=!0,c=!1,u=void 0;try{for(var l,f=a.cells[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var p=l.value;if(p.colspan>1||p.rowspan>1)return!0}}catch(e){c=!0,u=e}finally{try{!s&&f.return&&f.return()}finally{if(c)throw u}}}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}return!1}(T)?function(){var t=function(e){return"| "+e.cells.map(A).join(" | ")+" |"};e.output.push(t(T.shift())+"\n"),e.output.push(function(e){return"|"+e.map(function(e){switch(e.align){case"right":return"----:";case"center":return":---:";case"left":default:return":----"}}).join("|")+"|"}(O)+"\n");var n=!0,r=!1,o=void 0;try{for(var i,a=T[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;e.output.push(t(s)+"\n")}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}}():function(){e.output.push("\n");var t=!0,n=!0,r=!1,o=void 0;try{for(var i,a=T[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;e.output.push(" \n");var c=0,u=!0,l=!1,f=void 0;try{for(var p,d=s.cells[Symbol.iterator]();!(u=(p=d.next()).done);u=!0){var h=p.value,g="";if(h.rowspan>1&&(g+=' rowspan="'+h.rowspan+'"'),h.colspan>1&&(g+=' colspan="'+h.colspan+'"'),h.raw){var m="td";t&&(m="th",g+=' class="align-'+(O[c]&&O[c].align||"left")+'"'),e.output.push(" <"+m+g+">"+A(h)+"\n")}++c}}catch(e){l=!0,f=e}finally{try{!u&&d.return&&d.return()}finally{if(l)throw f}}t=!1,e.output.push(" \n")}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}e.output.push("
\n")}(),this.insertLineBreaks();break;default:this.insertLineBreaks(1),this.output.push(this.renderBlockContent(t)+"\n")}this.currentBlock+=1}},{key:"getLastBlock",value:function(){return this.blocks[this.currentBlock-1]}},{key:"getNextBlock",value:function(){return this.blocks[this.currentBlock+1]}},{key:"getListItemCount",value:function(e){for(var t=e.getType(),n=e.getDepth(),r=this.currentBlock-1,o=this.blocks[r];o&&i(o.getType())&&o.getDepth()>n;)r-=1,o=this.blocks[r];return o&&o.getType()===t&&o.getDepth()===n||(this.listItemCounts[n]=0),this.listItemCounts[n]=this.listItemCounts[n]+1}},{key:"insertLineBreaks",value:function(){this.currentBlock>0&&this.output.push("\n")}},{key:"renderBlockContent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.contentState,n=e.getType();if("atomic"===n&&e.getData()&&e.getData().get("mathjax")){return"> `$"+e.getData().get("teX")+"$`"}var r=e.getText();if(""===r)return"\u200b";var i=e.getCharacterList();return Object(f.getEntityRanges)(r,i).map(function(e){var r=d(e,2),i=r[0],u=r[1],l=u.map(function(e){var t=d(e,2),r=t[0],i=t[1];return r?(i.has(m)?(l=r.replace(/`/g,"`"),l=n===f.BLOCK_TYPE.CODE?l:o(l,"`")):l=a(r),i.has(g)&&(l=o(l,"**")),i.has(y)&&(l=o(l,"_")),i.has(v)&&(l=o(l,"~~")),l):""}).join(""),p=i?t.getEntity(i):null;if(null!=p&&p.getType()===f.ENTITY_TYPE.LINK){var h=p.getData(),b=h.url||"",x=h.title?' "'+c(h.title)+'"':"";return"["+l+"]("+s(b)+x+")"}if(null!=p&&p.getType()===f.ENTITY_TYPE.IMAGE){var _=p.getData(),C=_.imageUrl||"",O=_.name||"";return C?"!["+O+"]("+s(C)+")":"["+(O||"\u56fe\u7247")+"]"}return null!=p&&"GALLERY"===p.getType()?w(p.getData()):null!=p&&"ATTACHMENT"===p.getType()?k(p.getData()):null!=p&&"VIDEO"===p.getType()?S(p.getData()):null!==p&&"INLINETEX"===p.getType()?E(p.getData()):l}).join("")}}]),e}()),w=function(e){var t=e.name,n=e.base,r=e.images;return"```gallery\n"+JSON.stringify({$galleryVersion:"1.0",name:t,base:n,images:r})+"\n```"},k=function(e){return"> [#"+e.name+"#]("+e.url+")"},S=function(e){return"> !["+e.name+"](video://"+e.videoPlatform+"/"+e.videoId+")"},E=function(e){return"`$"+e.teX+"$`"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(482);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}),Object.defineProperty(t,"Constants",{enumerable:!0,get:function(){return r(o).default}});var i=n(483);Object.defineProperty(t,"getEntityRanges",{enumerable:!0,get:function(){return r(i).default}});var a=n(71);Object.defineProperty(t,"getSelectedBlocks",{enumerable:!0,get:function(){return r(a).default}});var s=n(484);Object.defineProperty(t,"selectionContainsEntity",{enumerable:!0,get:function(){return r(s).default}});var c=n(485);Object.defineProperty(t,"callModifierForSelectedBlocks",{enumerable:!0,get:function(){return r(c).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.BLOCK_TYPE={UNSTYLED:"unstyled",HEADER_ONE:"header-one",HEADER_TWO:"header-two",HEADER_THREE:"header-three",HEADER_FOUR:"header-four",HEADER_FIVE:"header-five",HEADER_SIX:"header-six",UNORDERED_LIST_ITEM:"unordered-list-item",ORDERED_LIST_ITEM:"ordered-list-item",BLOCKQUOTE:"blockquote",PULLQUOTE:"pullquote",CODE:"code-block",ATOMIC:"atomic"},o=t.ENTITY_TYPE={LINK:"LINK",IMAGE:"IMAGE"},i=t.INLINE_STYLE={BOLD:"BOLD",CODE:"CODE",ITALIC:"ITALIC",STRIKETHROUGH:"STRIKETHROUGH",UNDERLINE:"UNDERLINE"};t.default={BLOCK_TYPE:r,ENTITY_TYPE:o,INLINE_STYLE:i}},function(e,t,n){"use strict";function r(e,t){for(var n=null,r=null,i=[],a=0,s=0,c=e.length;s0&&n!==r&&(i.push([r,o(e.slice(a,s),t.slice(a,s))]),a=s)}return i.push([n,o(e.slice(a),t.slice(a))]),i}function o(e,t){for(var n=a,r=a,o=[],s=0,c=0,u=e.length;c0&&!(0,i.is)(n,r)&&(o.push([e.slice(s,c),r]),s=c)}return o.push([e.slice(s),n]),o}Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_SET=void 0,t.default=r;var i=n(3),a=t.EMPTY_SET=new i.OrderedSet},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(71),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){return function(t,n){var r=t.getCurrentContent(),i=n||t.getSelection(),a=i.getStartKey(),s=i.getEndKey(),c=i.getStartOffset(),u=i.getEndOffset(),l=a===s,f=(0,o.default)(r,a,s),p=!1,d=c+1,h=u-1;return f.forEach(function(t){e(t,function(e,n){if(!p){var r=t.getKey();l&&(nh)||r===a&&nh||(p=!0)}},r)}),p}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(71),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),a=2;a1))if(void 0===a&&t(u,l))a=c;else if(void 0!==a&&void 0===s&&n(u,l)){s=c;break}}if(a>=0&&s>=0){var f=o.slice(a,s+1).join("\n");return[].concat(r(o.slice(0,a)),[f],r(e(o.slice(s+1))))}return o}},v=function(e){return/^```/.test(e)},b=y({open:v,close:v}),w=function(e){return/^\s*/.test(e)},k=function(e){return/<\/table>\s*$/.test(e)},S=y({open:w,close:k}),E=function(e){return/^\s*(\*|\-|\d+\.)\s/.test(e)},x=y({open:E,close:function(e,t){return!/\S/.test(e)||!t||_(e)}}),_=function(e){return/^\s*> /.test(e)},C=y({open:_,close:function(e){return!_(e)}}),O=function(e){if(!e)return 0;if(_(e))return 0;if(E(e))return 0;var t=e.split(/\|/g);return/\S/.test(t[0])||t.shift(),/\S/.test(t[t.length-1])||t.pop(),t.length},T=function(e){return/^\s*[\|\:\-\s]+\s*$/.test(e)},A=y({escape:function(e){return e.replace(/\\\|/g,"|")},open:function(e,t){var n=O(e);return!(n<2)&&(O(t)==n&&!!T(t))},close:function(e,t){return O(e)>=2&&O(t)<2}}),P=function(e){var t=e.split("\n");return t=b(t),t=x(t),t=C(t),t=A(t),t=S(t)},L=function(e,t){var n=function(e){var n=d(e.replace(/|/g,"|"));return{blocks:q(n,{}),entityMap:t}};return{type:"table",data:{aligns:e.align.map(function(e){return{key:Object(u.genKey)(),align:e}}),rows:e.children.map(function(e){return{key:Object(u.genKey)(),cells:e.children.map(function(e){return{key:Object(u.genKey)(),raw:n(e.raw)}})}})},text:"[\u8868\u683c]",inlineStyleRanges:[],entityRanges:[]}},R=function(e,t){return D(t,e.raw,"HR",{})},D=function(e,t,n,r){var o=Object.keys(e).length;return e[o]={type:n,mutability:"IMMUTABLE",data:r},{type:"atomic",text:t,inlineStyleRanges:[],entityRanges:[{key:o,offset:0,length:t.length}]}},I=function(e,t){var n=e.name;e.base,e.images;return D(t,n,"GALLERY",e)},M=function(e){if("CodeBlock"!==e.type)return null;if("gallery"!==e.lang)return null;try{var t=JSON.parse(e.value);if(!t.$galleryVersion)throw new Error("Not gallery");return t}catch(e){}return null},j=function(e){if("BlockQuote"!==e.type)return null;var t=function(e){return e&&e.children&&1===e.children.length?e.children[0]:null},n=t(e),r=t(n),o=t(r);return o&&/^#(.+)#$/.test(o.value)?{name:RegExp.$1,url:r.url}:null},N=function(e){if("BlockQuote"!==e.type)return null;var t=function(e){return e&&e.children&&1===e.children.length?e.children[0]:null},n=t(e),r=t(n);return r&&/^video:\/\/(\w+)\/(\w+)$/.test(r.url)?{name:r.alt,videoPlatform:RegExp.$1,videoId:RegExp.$2}:null},B=function(e){if("BlockQuote"!==e.type)return null;var t=function(e){return!e||!e.children||1!==e.children.length&&(2!==e.children.length||!e.children[1]||"Str"!==e.children[1].type||e.children[1].value&&e.children[1].value.trim())?null:e.children[0]},n=t(e),r=t(n);return r&&"Code"===r.type&&/^\$(.+)\$$/.test(r.value)?{teX:RegExp.$1}:null},F=function(e,t){var n=e.name;e.url;return D(t,n,"ATTACHMENT",e)},K=function(e,t){var n=e.name;e.videoPlatform,e.videoId;return D(t,n,"VIDEO",e)},q=function e(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments[3],a={key:Object(u.genKey)(),type:"unstyled",text:"",depth:o,inlineStyleRanges:[],entityRanges:[]},p=!1,d=!1,g=!1,y=t.children[0];if(y){if("Table"===y.type)return[L(y,n)];if("HorizontalRule"===y.type)return[R(y,n)];var v=M(y);if(v)return[I(v,n)];var b=j(y);if(b)return[F(b,n)];var w=N(y);if(w)return[K(w,n)];var k=B(y);if(k)return[U(k.teX)];a.type=m(y)||a.type,p="List"===y.type,g="BlockQuote"===y.type}var S=[],E=function(e,t){a.data=a.data||{},a.data[e]=t},x=function(e,t,n){a.inlineStyleRanges.push({offset:e,length:t,style:n})},_=function e(t){return t.reduce(function(t,n){return t+(n.value?n.value.length:n.children?e(n.children):0)},0)},C=function(e){var t=e.url,r=e.children,o=Object.keys(n).length;/^\/\//.test(t)&&(t="https:"+t);var i=r&&r[0]&&t===r[0].raw;i&&(t=Object(c.n)(t)),t&&Object(c.I)(t,!0)&&(n[o]={type:"LINK",mutability:"MUTABLE",data:{url:encodeURI(t)}},a.entityRanges.push({key:o,offset:a.text.length,length:i?t.length:_(r)}))},O=function(e,t){var r=Object.keys(n).length,o=e.alt||e.url.split("/").pop();return o="["+(o||"\u56fe\u7247")+"]",n[r]={type:"IMAGE",mutability:"IMMUTABLE",data:{imageUrl:e.url,name:e.alt||null}},a.entityRanges.push({key:r,offset:a.text.length,length:o.length}),o},T=function(e,t){var r=Object.keys(n).length;n[r]={type:"INLINETEX",mutability:"IMMUTABLE",data:{teX:e}},a.entityRanges.push({key:r,offset:a.text.length,length:t.length})},A=!0,P=!1,D=void 0;try{for(var q,z=t.children[Symbol.iterator]();!(A=(q=z.next()).done);A=!0){var H=q.value;!function t(c,m){var v=null;switch(c.type){case"Link":C(c);break;case"Image":v=O(c);break;case"CodeBlock":E("syntex",c.lang)}if(c.children){if(m){var b=_(c.children);x(a.text.length,b,m.type)}for(var w=h[c.type],k=0;k$/.test(c.value)){a.text+="\n";break}if(/^\s*
[\s\S]*<\/table>\s*$/.test(c.value))try{var L=Object(l.a)(c.value,i),R=Object(u.convertToRaw)(L),D=R.blocks[0];D.text="\u8868\u683c",D.data.rows=D.data.rows.map(function(e){return f({},e,{cells:e.cells.map(function(e){return f({},e,{raw:e.raw?s(e.raw.blocks[0].text):null})})})}),a=D;break}catch(e){throw new Error("Markdown \u4e2d\u5305\u542b\u901a\u8fc7 HTML \u58f0\u660e\u7684\u8868\u683c\uff0c\u4f46\u662f\u8f6c\u6362 HTML \u5931\u8d25\u3002"+e.message)}default:a.text+=c.value}}(H,h[H.type])}}catch(e){P=!0,D=e}finally{try{!A&&z.return&&z.return()}finally{if(P)throw D}}return[a].concat(S)},U=function(e){return{type:"atomic",text:e,data:{mathjax:!0,teX:e},inlineStyleRanges:[],entityRanges:[]}}},function(e,t,n){"use strict";function r(e){var t=f.parse(e),n=new s(e);return o(t).forEach(function(t){if(this.notLeaf){if(t.type){var r=u[t.type];r?t.type=r:c("replacedType : "+r+" , node.type: "+t.type)}if(t.position){var o=t.position,i={start:{line:o.start.line,column:o.start.column-1},end:{line:o.end.line,column:o.end.column-1}},a=n.locationToRange(i);t.loc=i,t.range=a,t.raw=e.slice(a[0],a[1]),Object.defineProperty(t,"position",{enumerable:!1,configurable:!1,writable:!1,value:o})}}}),t}var o=n(488),i=n(134),a=i.ASTNodeTypes,s=n(489),c=n(20)("markdown-to-ast"),u=n(492),l=n(493),f=l();e.exports={parse:r,Syntax:a}},function(e,t){function n(e){this.value=e}function r(e,t,n){var r=[],i=[],a=!0;return function e(s){function c(){if("object"==typeof p.node&&null!==p.node){p.keys&&p.node_===p.node||(p.keys=d(p.node)),p.isLeaf=0==p.keys.length;for(var e=0;e>>1,a=o+i;n(t,e[a])?r=i:(o=a+1,r-=i+1)}return o}()}function i(e,t,n){return void 0===n&&(n=r),function(){for(var r=e.length,o=0;r;){var i=r>>>1,a=o+i;n(e[a],t)?(o=a+1,r-=i+1):r=i}return o}()}function a(e,t,n){return void 0===n&&(n=r),function(){var r=i(e,t,n);return r!==e.length&&!n(t,e[r])}()}t.compare=r,t.lowerBound=i,t.upperBound=o,t.binarySearch=a},function(e,t,n){"use strict";var r=n(134),o=r.ASTNodeTypes,i={root:o.Document,paragraph:o.Paragraph,blockquote:o.BlockQuote,listItem:o.ListItem,list:o.List,Bullet:"Bullet",heading:o.Header,code:o.CodeBlock,HtmlBlock:o.HtmlBlock,ReferenceDef:o.ReferenceDef,thematicBreak:o.HorizontalRule,text:o.Str,break:o.Break,emphasis:o.Emphasis,strong:o.Strong,html:o.Html,link:o.Link,image:o.Image,inlineCode:o.Code,delete:o.Delete,yaml:"Yaml",table:"Table",tableRow:"TableRow",tableCell:"TableCell",linkReference:"LinkReference",imageReference:"imageReference",definition:"Definition"};e.exports=i},function(e,t,n){"use strict";var r=n(494),o=n(506),i=n(559);e.exports=r().use(o).use(i).freeze()},function(e,t,n){"use strict";function r(e,t){t.tree=e.parse(t.file)}function o(e,t,n){function r(e,r,o){e?n(e):(t.tree=r,t.file=o,n())}e.run(t.tree,t.file,r)}function i(e,t){t.file.contents=e.stringify(t.tree,t.file)}function a(){function e(){for(var e=a(),t=T.length,n=-1;++nn.length;s&&n.push(r);try{t=e.apply(null,n)}catch(e){if(s&&a)throw e;return r(e)}s||(t&&"function"==typeof t.then?t.then(o,r):t instanceof Error?r(t):o(t))}function r(){a||(a=!0,t.apply(null,arguments))}function o(e){r(null,e)}var a;return n}e.exports=r;var i=[].slice},function(e,t){function n(e){return"[object String]"===r.call(e)}var r=Object.prototype.toString;e.exports=n},function(e,t){e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t;return"[object Object]"===r.call(e)&&(null===(t=Object.getPrototypeOf(e))||t===Object.getPrototypeOf({}))}},function(e,t,n){"use strict";function r(e){var t=o(a);t.prototype.options=i(t.prototype.options,this.data("settings"),e),this.Parser=t}var o=n(136),i=n(22),a=n(508);e.exports=r,r.Parser=a},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";function r(e,t){this.file=t,this.offset={},this.options=i(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=s(t).toOffset,this.unescape=c(this,"escape"),this.decode=u(this)}function o(e){var t,n=[];for(t in e)n.push(t);return n}var i=n(22),a=n(137),s=n(509),c=n(510),u=n(511),l=n(514);e.exports=r;var f=r.prototype;f.setOptions=n(515),f.parse=n(517),f.options=n(143),f.exitStart=a("atStart",!0),f.enterList=a("inList",!1),f.enterLink=a("inLink",!1),f.enterBlock=a("inBlock",!1),f.interruptParagraph=[["thematicBreak"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],f.interruptList=[["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],f.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],f.blockTokenizers={yamlFrontMatter:n(520),newline:n(521),indentedCode:n(522),fencedCode:n(523),blockquote:n(524),atxHeading:n(525),thematicBreak:n(526),list:n(527),setextHeading:n(529),html:n(530),footnote:n(531),definition:n(533),table:n(534),paragraph:n(535)},f.inlineTokenizers={escape:n(536),autoLink:n(538),url:n(539),html:n(541),link:n(542),reference:n(546),strong:n(547),emphasis:n(549),deletion:n(552),code:n(554),break:n(556),text:n(558)},f.blockMethods=o(f.blockTokenizers),f.inlineMethods=o(f.inlineTokenizers),f.tokenizeBlock=l("block"),f.tokenizeInline=l("inline"),f.tokenizeFactory=l},function(e,t,n){"use strict";function r(e){var t=a(String(e));return{toPosition:o(t),toOffset:i(t)}}function o(e){function t(t){var n=-1,r=e.length;if(t<0)return{};for(;++nt)return{line:n+1,column:t-(e[n-1]||0)+1,offset:t};return{}}return t}function i(e){function t(t){var n=t&&t.line,r=t&&t.column;return!isNaN(n)&&!isNaN(r)&&n-1 in e?(e[n-2]||0)+r-1||0:-1}return t}function a(e){for(var t=[],n=e.indexOf("\n");-1!==n;)t.push(n+1),n=e.indexOf("\n",n+1);return t.push(e.length+1),t}e.exports=r},function(e,t,n){"use strict";function r(e,t){function n(n){for(var r,o=0,i=n.indexOf("\\"),a=e[t],s=[];-1!==i;)s.push(n.slice(o,i)),o=i+1,r=n.charAt(o),r&&-1!==a.indexOf(r)||s.push("\\"),i=n.indexOf("\\",o);return s.push(n.slice(o)),s.join("")}return n}e.exports=r},function(e,t,n){"use strict";function r(e){function t(t){for(var n=e.offset,r=t.line,o=[];++r&&r in n;)o.push((n[r]||0)+1);return{start:t,indent:o}}function n(t,n,r){3!==r&&e.file.message(t,n)}function r(r,i,a){o(r,{position:t(i),warning:n,text:a,reference:a,textContext:e,referenceContext:e})}function i(e,r){return o(e,{position:t(r),warning:n})}return r.raw=i,r}var o=n(50);e.exports=r},function(e,t){e.exports={AEli:"\xc6",AElig:"\xc6",AM:"&",AMP:"&",Aacut:"\xc1",Aacute:"\xc1",Abreve:"\u0102",Acir:"\xc2",Acirc:"\xc2",Acy:"\u0410",Afr:"\ud835\udd04",Agrav:"\xc0",Agrave:"\xc0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2a53",Aogon:"\u0104",Aopf:"\ud835\udd38",ApplyFunction:"\u2061",Arin:"\xc5",Aring:"\xc5",Ascr:"\ud835\udc9c",Assign:"\u2254",Atild:"\xc3",Atilde:"\xc3",Aum:"\xc4",Auml:"\xc4",Backslash:"\u2216",Barv:"\u2ae7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212c",Beta:"\u0392",Bfr:"\ud835\udd05",Bopf:"\ud835\udd39",Breve:"\u02d8",Bscr:"\u212c",Bumpeq:"\u224e",CHcy:"\u0427",COP:"\xa9",COPY:"\xa9",Cacute:"\u0106",Cap:"\u22d2",CapitalDifferentialD:"\u2145",Cayleys:"\u212d",Ccaron:"\u010c",Ccedi:"\xc7",Ccedil:"\xc7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010a",Cedilla:"\xb8",CenterDot:"\xb7",Cfr:"\u212d",Chi:"\u03a7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2a74",Congruent:"\u2261",Conint:"\u222f",ContourIntegral:"\u222e",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2a2f",Cscr:"\ud835\udc9e",Cup:"\u22d3",CupCap:"\u224d",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040f",Dagger:"\u2021",Darr:"\u21a1",Dashv:"\u2ae4",Dcaron:"\u010e",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\ud835\udd07",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",Diamond:"\u22c4",DifferentialD:"\u2146",Dopf:"\ud835\udd3b",Dot:"\xa8",DotDot:"\u20dc",DotEqual:"\u2250",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",Downarrow:"\u21d3",Dscr:"\ud835\udc9f",Dstrok:"\u0110",ENG:"\u014a",ET:"\xd0",ETH:"\xd0",Eacut:"\xc9",Eacute:"\xc9",Ecaron:"\u011a",Ecir:"\xca",Ecirc:"\xca",Ecy:"\u042d",Edot:"\u0116",Efr:"\ud835\udd08",Egrav:"\xc8",Egrave:"\xc8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25fb",EmptyVerySmallSquare:"\u25ab",Eogon:"\u0118",Eopf:"\ud835\udd3c",Epsilon:"\u0395",Equal:"\u2a75",EqualTilde:"\u2242",Equilibrium:"\u21cc",Escr:"\u2130",Esim:"\u2a73",Eta:"\u0397",Eum:"\xcb",Euml:"\xcb",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\ud835\udd09",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",Fopf:"\ud835\udd3d",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",G:">",GT:">",Gamma:"\u0393",Gammad:"\u03dc",Gbreve:"\u011e",Gcedil:"\u0122",Gcirc:"\u011c",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\ud835\udd0a",Gg:"\u22d9",Gopf:"\ud835\udd3e",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",Gt:"\u226b",HARDcy:"\u042a",Hacek:"\u02c7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210c",HilbertSpace:"\u210b",Hopf:"\u210d",HorizontalLine:"\u2500",Hscr:"\u210b",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacut:"\xcd",Iacute:"\xcd",Icir:"\xce",Icirc:"\xce",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrav:"\xcc",Igrave:"\xcc",Im:"\u2111",Imacr:"\u012a",ImaginaryI:"\u2148",Implies:"\u21d2",Int:"\u222c",Integral:"\u222b",Intersection:"\u22c2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012e",Iopf:"\ud835\udd40",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Ium:"\xcf",Iuml:"\xcf",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\ud835\udd0d",Jopf:"\ud835\udd41",Jscr:"\ud835\udca5",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040c",Kappa:"\u039a",Kcedil:"\u0136",Kcy:"\u041a",Kfr:"\ud835\udd0e",Kopf:"\ud835\udd42",Kscr:"\ud835\udca6",LJcy:"\u0409",L:"<",LT:"<",Lacute:"\u0139",Lambda:"\u039b",Lang:"\u27ea",Laplacetrf:"\u2112",Larr:"\u219e",Lcaron:"\u013d",Lcedil:"\u013b",Lcy:"\u041b",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",LeftRightArrow:"\u2194",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",Leftarrow:"\u21d0",Leftrightarrow:"\u21d4",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2aa1",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",Lfr:"\ud835\udd0f",Ll:"\u22d8",Lleftarrow:"\u21da",Lmidot:"\u013f",LongLeftArrow:"\u27f5",LongLeftRightArrow:"\u27f7",LongRightArrow:"\u27f6",Longleftarrow:"\u27f8",Longleftrightarrow:"\u27fa",Longrightarrow:"\u27f9",Lopf:"\ud835\udd43",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21b0",Lstrok:"\u0141",Lt:"\u226a",Map:"\u2905",Mcy:"\u041c",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",MinusPlus:"\u2213",Mopf:"\ud835\udd44",Mscr:"\u2133",Mu:"\u039c",NJcy:"\u040a",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041d",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",Nfr:"\ud835\udd11",NoBreak:"\u2060",NonBreakingSpace:"\xa0",Nopf:"\u2115",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\ud835\udca9",Ntild:"\xd1",Ntilde:"\xd1",Nu:"\u039d",OElig:"\u0152",Oacut:"\xd3",Oacute:"\xd3",Ocir:"\xd4",Ocirc:"\xd4",Ocy:"\u041e",Odblac:"\u0150",Ofr:"\ud835\udd12",Ograv:"\xd2",Ograve:"\xd2",Omacr:"\u014c",Omega:"\u03a9",Omicron:"\u039f",Oopf:"\ud835\udd46",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",Or:"\u2a54",Oscr:"\ud835\udcaa",Oslas:"\xd8",Oslash:"\xd8",Otild:"\xd5",Otilde:"\xd5",Otimes:"\u2a37",Oum:"\xd6",Ouml:"\xd6",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",PartialD:"\u2202",Pcy:"\u041f",Pfr:"\ud835\udd13",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\xb1",Poincareplane:"\u210c",Popf:"\u2119",Pr:"\u2abb",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",Prime:"\u2033",Product:"\u220f",Proportion:"\u2237",Proportional:"\u221d",Pscr:"\ud835\udcab",Psi:"\u03a8",QUO:'"',QUOT:'"',Qfr:"\ud835\udd14",Qopf:"\u211a",Qscr:"\ud835\udcac",RBarr:"\u2910",RE:"\xae",REG:"\xae",Racute:"\u0154",Rang:"\u27eb",Rarr:"\u21a0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211c",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",Rfr:"\u211c",Rho:"\u03a1",RightAngleBracket:"\u27e9",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",Rightarrow:"\u21d2",Ropf:"\u211d",RoundImplies:"\u2970",Rrightarrow:"\u21db",Rscr:"\u211b",Rsh:"\u21b1",RuleDelayed:"\u29f4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042c",Sacute:"\u015a",Sc:"\u2abc",Scaron:"\u0160",Scedil:"\u015e",Scirc:"\u015c",Scy:"\u0421",Sfr:"\ud835\udd16",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03a3",SmallCircle:"\u2218",Sopf:"\ud835\udd4a",Sqrt:"\u221a",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\ud835\udcae",Star:"\u22c6",Sub:"\u22d0",Subset:"\u22d0",SubsetEqual:"\u2286",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",SuchThat:"\u220b",Sum:"\u2211",Sup:"\u22d1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22d1",THOR:"\xde",THORN:"\xde",TRADE:"\u2122",TSHcy:"\u040b",TScy:"\u0426",Tab:"\t",Tau:"\u03a4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\ud835\udd17",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\ud835\udd4b",TripleDot:"\u20db",Tscr:"\ud835\udcaf",Tstrok:"\u0166",Uacut:"\xda",Uacute:"\xda",Uarr:"\u219f",Uarrocir:"\u2949",Ubrcy:"\u040e",Ubreve:"\u016c",Ucir:"\xdb",Ucirc:"\xdb",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\ud835\udd18",Ugrav:"\xd9",Ugrave:"\xd9",Umacr:"\u016a",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",Uopf:"\ud835\udd4c",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",UpTee:"\u22a5",UpTeeArrow:"\u21a5",Uparrow:"\u21d1",Updownarrow:"\u21d5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03d2",Upsilon:"\u03a5",Uring:"\u016e",Uscr:"\ud835\udcb0",Utilde:"\u0168",Uum:"\xdc",Uuml:"\xdc",VDash:"\u22ab",Vbar:"\u2aeb",Vcy:"\u0412",Vdash:"\u22a9",Vdashl:"\u2ae6",Vee:"\u22c1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",Vopf:"\ud835\udd4d",Vscr:"\ud835\udcb1",Vvdash:"\u22aa",Wcirc:"\u0174",Wedge:"\u22c0",Wfr:"\ud835\udd1a",Wopf:"\ud835\udd4e",Wscr:"\ud835\udcb2",Xfr:"\ud835\udd1b",Xi:"\u039e",Xopf:"\ud835\udd4f",Xscr:"\ud835\udcb3",YAcy:"\u042f",YIcy:"\u0407",YUcy:"\u042e",Yacut:"\xdd",Yacute:"\xdd",Ycirc:"\u0176",Ycy:"\u042b",Yfr:"\ud835\udd1c",Yopf:"\ud835\udd50",Yscr:"\ud835\udcb4",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017d",Zcy:"\u0417",Zdot:"\u017b",ZeroWidthSpace:"\u200b",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\ud835\udcb5",aacut:"\xe1",aacute:"\xe1",abreve:"\u0103",ac:"\u223e",acE:"\u223e\u0333",acd:"\u223f",acir:"\xe2",acirc:"\xe2",acut:"\xb4",acute:"\xb4",acy:"\u0430",aeli:"\xe6",aelig:"\xe6",af:"\u2061",afr:"\ud835\udd1e",agrav:"\xe0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",amacr:"\u0101",amalg:"\u2a3f",am:"&",amp:"&",and:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",aopf:"\ud835\udd52",ap:"\u2248",apE:"\u2a70",apacir:"\u2a6f",ape:"\u224a",apid:"\u224b",apos:"'",approx:"\u2248",approxeq:"\u224a",arin:"\xe5",aring:"\xe5",ascr:"\ud835\udcb6",ast:"*",asymp:"\u2248",asympeq:"\u224d",atild:"\xe3",atilde:"\xe3",aum:"\xe4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",bNot:"\u2aed",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",barvee:"\u22bd",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",beta:"\u03b2",beth:"\u2136",between:"\u226c",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255d",boxUR:"\u255a",boxUl:"\u255c",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256c",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256b",boxVl:"\u2562",boxVr:"\u255f",boxbox:"\u29c9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250c",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252c",boxhu:"\u2534",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxuL:"\u255b",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256a",boxvL:"\u2561",boxvR:"\u255e",boxvh:"\u253c",boxvl:"\u2524",boxvr:"\u251c",bprime:"\u2035",breve:"\u02d8",brvba:"\xa6",brvbar:"\xa6",bscr:"\ud835\udcb7",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",bumpeq:"\u224f",cacute:"\u0107",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",ccaps:"\u2a4d",ccaron:"\u010d",ccedi:"\xe7",ccedil:"\xe7",ccirc:"\u0109",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",cedi:"\xb8",cedil:"\xb8",cemptyv:"\u29b2",cen:"\xa2",cent:"\xa2",centerdot:"\xb7",cfr:"\ud835\udd20",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",cir:"\u25cb",cirE:"\u29c3",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledR:"\xae",circledS:"\u24c8",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",conint:"\u222e",copf:"\ud835\udd54",coprod:"\u2210",cop:"\xa9",copy:"\xa9",copysr:"\u2117",crarr:"\u21b5",cross:"\u2717",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",cupbrcap:"\u2a48",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curre:"\xa4",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dArr:"\u21d3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21ca",ddotseq:"\u2a77",de:"\xb0",deg:"\xb0",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\ud835\udd21",dharl:"\u21c3",dharr:"\u21c2",diam:"\u22c4",diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divid:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\ud835\udd55",dot:"\u02d9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\ud835\udcb9",dscy:"\u0455",dsol:"\u29f6",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",dzigrarr:"\u27ff",eDDot:"\u2a77",eDot:"\u2251",eacut:"\xe9",eacute:"\xe9",easter:"\u2a6e",ecaron:"\u011b",ecir:"\xea",ecirc:"\xea",ecolon:"\u2255",ecy:"\u044d",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\ud835\udd22",eg:"\u2a9a",egrav:"\xe8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014b",ensp:"\u2002",eogon:"\u0119",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",equals:"=",equest:"\u225f",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erDot:"\u2253",erarr:"\u2971",escr:"\u212f",esdot:"\u2250",esim:"\u2242",eta:"\u03b7",et:"\xf0",eth:"\xf0",eum:"\xeb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\ud835\udd23",filig:"\ufb01",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\ud835\udd57",forall:"\u2200",fork:"\u22d4",forkv:"\u2ad9",fpartint:"\u2a0d",frac1:"\xbc",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac3:"\xbe",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",gE:"\u2267",gEl:"\u2a8c",gacute:"\u01f5",gamma:"\u03b3",gammad:"\u03dd",gap:"\u2a86",gbreve:"\u011f",gcirc:"\u011d",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\ud835\udd24",gg:"\u226b",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2a92",gla:"\u2aa5",glj:"\u2aa4",gnE:"\u2269",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\ud835\udd58",grave:"`",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",g:">",gt:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",hArr:"\u21d4",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",harr:"\u2194",harrcir:"\u2948",harrw:"\u21ad",hbar:"\u210f",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",horbar:"\u2015",hscr:"\ud835\udcbd",hslash:"\u210f",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacut:"\xed",iacute:"\xed",ic:"\u2063",icir:"\xee",icirc:"\xee",icy:"\u0438",iecy:"\u0435",iexc:"\xa1",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",igrav:"\xec",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012b",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",intcal:"\u22ba",integers:"\u2124",intercal:"\u22ba",intlarhk:"\u2a17",intprod:"\u2a3c",iocy:"\u0451",iogon:"\u012f",iopf:"\ud835\udd5a",iota:"\u03b9",iprod:"\u2a3c",iques:"\xbf",iquest:"\xbf",iscr:"\ud835\udcbe",isin:"\u2208",isinE:"\u22f9",isindot:"\u22f5",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",ium:"\xef",iuml:"\xef",jcirc:"\u0135",jcy:"\u0439",jfr:"\ud835\udd27",jmath:"\u0237",jopf:"\ud835\udd5b",jscr:"\ud835\udcbf",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03ba",kappav:"\u03f0",kcedil:"\u0137",kcy:"\u043a",kfr:"\ud835\udd28",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045c",kopf:"\ud835\udd5c",kscr:"\ud835\udcc0",lAarr:"\u21da",lArr:"\u21d0",lAtail:"\u291b",lBarr:"\u290e",lE:"\u2266",lEg:"\u2a8b",lHar:"\u2962",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",lang:"\u27e8",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",laqu:"\xab",laquo:"\xab",larr:"\u2190",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",lcedil:"\u013c",lceil:"\u2308",lcub:"{",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21a2",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",leftthreetimes:"\u22cb",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226a",llarr:"\u21c7",llcorner:"\u231e",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnE:"\u2268",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",longleftrightarrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",l:"<",lt:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltrPar:"\u2996",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",mDDot:"\u223a",mac:"\xaf",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",mdash:"\u2014",measuredangle:"\u2221",mfr:"\ud835\udd2a",mho:"\u2127",micr:"\xb5",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middo:"\xb7",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",mstpos:"\u223e",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nGg:"\u22d9\u0338",nGt:"\u226b\u20d2",nGtv:"\u226b\u0338",nLeftarrow:"\u21cd",nLeftrightarrow:"\u21ce",nLl:"\u22d8\u0338",nLt:"\u226a\u20d2",nLtv:"\u226a\u0338",nRightarrow:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbs:"\xa0",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",ndash:"\u2013",ne:"\u2260",neArr:"\u21d7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",ngsim:"\u2275",ngt:"\u226f",ngtr:"\u226f",nhArr:"\u21ce",nharr:"\u21ae",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",nlArr:"\u21cd",nlE:"\u2266\u0338",nlarr:"\u219a",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219a",nleftrightarrow:"\u21ae",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nlsim:"\u2274",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nmid:"\u2224",nopf:"\ud835\udd5f",no:"\xac",not:"\xac",notin:"\u2209",notinE:"\u22f9\u0338",notindot:"\u22f5\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrArr:"\u21cf",nrarr:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntild:"\xf1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22ad",nvHarr:"\u2904",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwArr:"\u21d6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24c8",oacut:"\xf3",oacute:"\xf3",oast:"\u229b",ocir:"\xf4",ocirc:"\xf4",ocy:"\u043e",odash:"\u229d",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",ofcir:"\u29bf",ofr:"\ud835\udd2c",ogon:"\u02db",ograv:"\xf2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",omega:"\u03c9",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",oopf:"\ud835\udd60",opar:"\u29b7",operp:"\u29b9",oplus:"\u2295",or:"\u2228",orarr:"\u21bb",ord:"\xba",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oscr:"\u2134",oslas:"\xf8",oslash:"\xf8",osol:"\u2298",otild:"\xf5",otilde:"\xf5",otimes:"\u2297",otimesas:"\u2a36",oum:"\xf6",ouml:"\xf6",ovbar:"\u233d",par:"\xb6",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\ud835\udd2d",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",plusm:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",pointint:"\u2a15",popf:"\ud835\udd61",poun:"\xa3",pound:"\xa3",pr:"\u227a",prE:"\u2ab3",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",prime:"\u2032",primes:"\u2119",prnE:"\u2ab5",prnap:"\u2ab9",prnsim:"\u22e8",prod:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\ud835\udcc5",psi:"\u03c8",puncsp:"\u2008",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",qprime:"\u2057",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quo:'"',quot:'"',rAarr:"\u21db",rArr:"\u21d2",rAtail:"\u291c",rBarr:"\u290f",rHar:"\u2964",race:"\u223d\u0331",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raqu:"\xbb",raquo:"\xbb",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",re:"\xae",reg:"\xae",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rho:"\u03c1",rhov:"\u03f1",rightarrow:"\u2192",rightarrowtail:"\u21a3",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",rightthreetimes:"\u22cc",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",roplus:"\u2a2e",rotimes:"\u2a35",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",rsaquo:"\u203a",rscr:"\ud835\udcc7",rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",sbquo:"\u201a",sc:"\u227b",scE:"\u2ab4",scap:"\u2ab8",scaron:"\u0161",sccue:"\u227d",sce:"\u2ab0",scedil:"\u015f",scirc:"\u015d",scnE:"\u2ab6",scnap:"\u2aba",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",seArr:"\u21d8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sec:"\xa7",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",sh:"\xad",shy:"\xad",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",subE:"\u2ac5",subdot:"\u2abd",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2ac5",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",sum:"\u2211",sung:"\u266a",sup:"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supE:"\u2ac6",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supedot:"\u2ac4",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swArr:"\u21d9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292a",szli:"\xdf",szlig:"\xdf",target:"\u2316",tau:"\u03c4",tbrk:"\u23b4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",thor:"\xfe",thorn:"\xfe",tilde:"\u02dc",time:"\xd7",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\ud835\udcc9",tscy:"\u0446",tshcy:"\u045b",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uArr:"\u21d1",uHar:"\u2963",uacut:"\xfa",uacute:"\xfa",uarr:"\u2191",ubrcy:"\u045e",ubreve:"\u016d",ucir:"\xfb",ucirc:"\xfb",ucy:"\u0443",udarr:"\u21c5",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",ufr:"\ud835\udd32",ugrav:"\xf9",ugrave:"\xf9",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",um:"\xa8",uml:"\xa8",uogon:"\u0173",uopf:"\ud835\udd66",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",upsi:"\u03c5",upsih:"\u03d2",upsilon:"\u03c5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",urtri:"\u25f9",uscr:"\ud835\udcca",utdot:"\u22f0",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uum:"\xfc",uuml:"\xfc",uwangle:"\u29a7",vArr:"\u21d5",vBar:"\u2ae8",vBarv:"\u2ae9",vDash:"\u22a8",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vcy:"\u0432",vdash:"\u22a2",vee:"\u2228",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",vert:"|",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",vzigzag:"\u299a",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\ud835\udd34",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\ud835\udd35",xhArr:"\u27fa",xharr:"\u27f7",xi:"\u03be",xlArr:"\u27f8",xlarr:"\u27f5",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrArr:"\u27f9",xrarr:"\u27f6",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacut:"\xfd",yacute:"\xfd",yacy:"\u044f",ycirc:"\u0177",ycy:"\u044b",ye:"\xa5",yen:"\xa5",yfr:"\ud835\udd36",yicy:"\u0457",yopf:"\ud835\udd6a",yscr:"\ud835\udcce",yucy:"\u044e",yum:"\xff",yuml:"\xff",zacute:"\u017a",zcaron:"\u017e",zcy:"\u0437",zdot:"\u017c",zeetrf:"\u2128",zeta:"\u03b6",zfr:"\ud835\udd37",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}},function(e,t){e.exports={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"}},function(e,t,n){"use strict";function r(e){var t,n;return"text"!==e.type||!e.position||(t=e.position.start,n=e.position.end,t.line!==n.line||n.column-t.column===e.value.length)}function o(e,t){return e.value+=t.value,e}function i(e,t){return this.options.commonmark?t:(e.children=e.children.concat(t.children),e)}function a(e){function t(t,n){function o(e){for(var t=-1,n=e.indexOf("\n");-1!==n;)x++,t=n,n=e.indexOf("\n",n+1);-1===t?_+=e.length:_=e.length-t,x in w&&(-1!==t?_+=w[x]:_<=w[x]&&(_=w[x]+1))}function i(){var e=[],t=x+1;return function(){for(var n=x+1;t=f)){for(g="";_c)&&l&&(p.pedantic||t.charAt(h+1)!==s)){for(d=t.length+1,u="";++h=l&&(!r||r===o)?(m+=d,!!n||e(m)({type:"thematicBreak"})):void 0;d+=r}}e.exports=r;var o="\n",i="\t",a=" ",s="*",c="_",u="-",l=3},function(e,t,n){"use strict";function r(e,t,n){for(var r,i,a,c,l,f,b,k,S,E,x,_,A,P,L,R,D,I,M,j,N,B,F,K,q=this,U=q.options.commonmark,z=q.options.pedantic,H=q.blockTokenizers,V=q.interruptList,W=0,G=t.length,$=null,X=0;W=w)){if(c=t.charAt(W),r=U?T:O,!0===C[c])l=c,a=!1;else{for(a=!0,i="";W=w&&(K=!0),D&&X>=D.indent&&(K=!0),c=t.charAt(W),S=null,!K){if(!0===C[c])S=c,W++,X++;else{for(i="";W=D.indent||X>w):K=!0,k=!1,W=b;if(x=t.slice(b,f),E=b===W?x:t.slice(W,f),(S===d||S===h||S===g)&&H.thematicBreak.call(q,e,x,!0))break;if(_=A,A=!s(E).length,K&&D)D.value=D.value.concat(R,x),L=L.concat(R,x),R=[];else if(k)0!==R.length&&(D.value.push(""),D.trail=R.concat()),D={value:[x],indent:X,trail:[]},P.push(D),L=L.concat(R,x),R=[];else if(A){if(_)break;R.push(x)}else{if(_)break;if(p(V,H,q,[e,x,!0]))break;D.value=D.value.concat(R,x),L=L.concat(R,x),R=[]}W=f+1}for(N=e(L.join(y)).reset({type:"list",ordered:a,start:$,loose:null,children:[]}),I=q.enterList(),M=q.enterBlock(),j=!1,W=-1,G=P.length;++W0&&r.indent=s){m--;break}y+=l}for(r="",u="";++m|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];vF){if(M1&&(C?(k+=_.slice(0,_.length-1),_=_.charAt(_.length-1)):(k+=_,_="")),D=e.now(),e(k)({type:"tableCell",children:U.tokenizeInline(A,D)},S)),e(_+C),_="",A=""}else if(_&&(A+=_,_=""),A+=C,C===i&&r!==E-2&&(A+=j.charAt(r+1),r++),C===a){for(L=1;j.charAt(r+1)===C;)A+=C,r++,L++;R?L>=R&&(R=0):R=L}P=!1,r++}else A?_+=C:e(C),r++;I||e(f+b)}return B}}}var o=n(10);e.exports=r,r.notInList=!0;var i="\\",a="`",s="-",c="|",u=":",l=" ",f="\n",p="\t",d=1,h=2,g="left",m="center",y="right",v=null},function(e,t,n){"use strict";function r(e,t,n){for(var r,p,d,h,g,m=this,y=m.options,v=y.commonmark,b=y.gfm,w=m.blockTokenizers,k=m.interruptParagraph,S=t.indexOf(c),E=t.length;S=f){S=t.indexOf(c,S+1);continue}}if(p=t.slice(S+1),s(k,w,m,[e,p,!0]))break;if(w.list.call(m,e,p,!0)&&(m.inList||v||b&&!i(o.left(p).charAt(0))))break;if(r=S,-1!==(S=t.indexOf(c,S+1))&&""===o(t.slice(r,S))){S=r;break}}return p=t.slice(0,S),""===o(p)?(e(p),null):!!n||(g=e.now(),p=a(p),e(p)({type:"paragraph",children:m.tokenizeInline(p,g)}))}var o=n(26),i=n(34),a=n(72),s=n(73);e.exports=r;var c="\n",u="\t",l=" ",f=4},function(e,t,n){"use strict";function r(e,t,n){var r,o,i=this;if("\\"===t.charAt(0)&&(r=t.charAt(1),-1!==i.escape.indexOf(r)))return!!n||(o="\n"===r?{type:"break"}:{type:"text",value:r},e("\\"+r)(o))}var o=n(537);e.exports=r,r.locator=o},function(e,t,n){"use strict";function r(e,t){return e.indexOf("\\",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,i,p,d,h,g,m,y,v,b,w,k;if(t.charAt(0)===a){for(r=this,i="",p=t.length,d=0,h="",m=!1,y="",d++,i=a;d/i},function(e,t,n){"use strict";function r(e,t,n){var r,a,y,v,b,w,k,S,E,x,_,C,O,T,A,P,L,R,D,I=this,M="",j=0,N=t.charAt(0),B=I.options.commonmark,F=I.options.gfm;if("!"===N&&(E=!0,M=N,N=t.charAt(++j)),N===c&&(E||!I.inLink)){for(M+=N,A="",j++,C=t.length,L=e.now(),T=0,L.column+=j,L.offset+=j;j=y&&(y=0):y=a}else if(N===s)j++,w+=t.charAt(j);else if(y&&!F||N!==c){if((!y||F)&&N===u){if(!T){if(F)for(;jt&&" "===e.charAt(n-1);)n--;return n}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,o,i,a,s,c,u,l,f,p,d=this;if(n)return!0;for(r=d.inlineMethods,a=r.length,o=d.inlineTokenizers,i=-1,f=t.length;++i","&","`"],m=function(){var e,t={};for(e in u)t[u[e]]=e;return t}(),y=c(g),v=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g},function(e,t){e.exports={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203e",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203a",euro:"\u20ac"}},function(e,t){e.exports=["cent","copy","divide","gt","lt","not","para","times"]},function(e,t,n){"use strict";function r(e){function t(t,n,r){function h(e){return-1===R.indexOf(e)?g[e]:p+e}var m,y,v,b,w,k,S=this,E=e.gfm,x=e.commonmark,_=e.pedantic,C=x?[".",")"]:["."],O=r&&r.children,T=O&&O.indexOf(n),A=O&&O[T-1],P=O&&O[T+1],L=t.length,R=l(e),D=-1,I=[],M=I;for(m=A?i(A)&&/\n\s*$/.test(A.value):!r||"root"===r.type||"paragraph"===r.type;++D0||"]"===y&&S.inLink||E&&"~"===y&&"~"===t.charAt(D+1)||E&&"|"===y&&(S.inTable||o(t,D))||"_"===y&&D>0&&D"===y||"#"===y||-1!==d.indexOf(y))k=!0;else if(s(y)){for(w=D+1;w"+r.join("\n>")}e.exports=r},function(e,t,n){"use strict";function r(e){return this[o[e.ordered]](e)}e.exports=r;var o={true:"visitOrderedItems",false:"visitUnorderedItems"}},function(e,t,n){"use strict";function r(e,t,n,r){for(var s,c,u,l=this,f=l.options.listItemIndent,p=e.loose,d=e.children,h=d.length,g=[],m=-1;++m?@[\\\]^`{|}~_]/},function(e,t,n){"use strict";function r(e){return"!["+(this.encode(e.alt,e)||"")+"]"+o(e)}var o=n(154);e.exports=r},function(e,t,n){"use strict";function r(e){var t=o(e.url);return e.title&&(t+=" "+i(e.title)),"["+e.identifier+"]: "+t}var o=n(75),i=n(76);e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=o(t.encode(e.url||"",e)),r=t.enterLink(),a=t.encode(t.escape(e.alt||"",e));return r(),e.title&&(n+=" "+i(t.encode(e.title,e))),"!["+a+"]("+n+")"}var o=n(75),i=n(76);e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+this.all(e).join("")+"]"}e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+e.identifier+"]"}e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+e.identifier.toLowerCase()+"]: "+this.all(e).join("\n\n"+o(" ",4))}var o=n(11);e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n,r=this,i=r.options.looseTable,a=r.options.spacedTable,s=r.options.paddedTable,c=e.children,u=c.length,l=r.enterTable(),f=[];u--;)f[u]=r.all(c[u]);return l(),i?(t="",n=""):a?(t="| ",n=" |"):(t="|",n="|"),o(f,{align:e.align,pad:s,start:t,end:n,delimiter:a?" | ":"|"})}var o=n(604);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n,r,u,S,E,x,_,C,O,T,A,P,L=t||{},R=L.delimiter,D=L.start,I=L.end,M=L.align,j=L.stringLength||i,N=0,B=-1,F=e.length,K=[];for(M=M?M.concat():[],null!==R&&void 0!==R||(R=w+b+w),null!==D&&void 0!==D||(D=b+w),null!==I&&void 0!==I||(I=w+b);++BN&&(N=S.length);++xK[x]&&(K[x]=_);for("string"==typeof M&&(M=a(N,M).split("")),x=-1;++xK[x]&&(K[x]=C);for(B=-1;++Bm?T:m):T=K[x],n=M[x],O=n===f||n===h?v:y,O+=a(T-2,v),O+=n!==l&&n!==h?y:v,r[x]=O;u.splice(1,0,r.join(R))}return D+u.join(I+k+D)+I}function o(e){return null===e||void 0===e?"":String(e)}function i(e){return String(e).length}function a(e,t){return Array(e+1).join(t||w)}function s(e){var t=u.exec(e);return t?t.index+1:e.length}e.exports=r;var c=/\./,u=/\.[^.]*$/,l="l",f="r",p="c",d=".",h="",g=[l,f,p,d,h],m=3,y=":",v="-",b="|",w=" ",k="\n"},function(e,t,n){"use strict";function r(e){return this.all(e).join("")}e.exports=r},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=f({},d,e),n=t.theme,r=t.findScrollParent,a=Object(l.a)(),s=function(e){return e&&"atomic"===e.getType()&&a.contains(e.getKey())},c=void 0,g=void 0;return{name:"focus",handleChange:function(e){var t=e.getCurrentContent();if(!t.equals(c))return c=t,e;c=t;var n=e.getSelection();if(g&&n.equals(g))return g=n,e;if(g){if(Object(i.p)(t,g).some(function(e){return a.contains(e)}))return g=n,o.EditorState.forceSelection(e,n)}return Object(i.p)(t,n).some(function(e){return a.contains(e)})?(g=n,o.EditorState.forceSelection(e,n)):e},handleCommand:function(e,t,n){var r=e.getEditorState(),o=r.getCurrentContent(),a=r.getSelection();if(a.getAnchorKey()!==a.getFocusKey())return"not-handled";var c=a.getAnchorKey(),u=o.getBlockForKey(c),l=o.getBlockBefore(c),f=o.getBlockAfter(c),d=h(t,r,n);if(d&&s(u)){p("atomic focus to "+d);var g="prev"===d?l:f;return g&&"table"!==g.getType()?Object(i.N)(e,d,n)?"handled":"not-handled":"next"!==d||f?"not-handled":(e.setEditorState(Object(i.z)(r,c,"after")),"handled")}return"next"===d&&s(f)||"prev"===d&&s(l)?(p("atomic focus from "+d),Object(i.N)(e,d,n)?"handled":"not-handled"):"backspace"!==t&&"delete"!==t||!s(u)?"not-handled":(Object(i.L)(e,u,"delete"===t?"backward":"foward"),"handled")},decoratePlugin:function(e){return Object(u.a)(e,{keyStore:a,theme:n,findScrollParent:r})}}}t.a=r;var o=n(1),i=(n.n(o),n(2)),a=n(3),s=(n.n(a),n(20)),c=n.n(s),u=n(607),l=n(610),f=Object.assign||function(e){for(var t=1;tu)){e.next=9;break}return m({error:{type:"SizeLimitExcceed",size:r.size,maxSize:u}}),e.abrupt("return");case 9:return m({started:!0}),e.prev=10,e.next=13,l(r,o);case 13:if(y=e.sent,v=y.paged,b=y.query,w=Object(s.a)(r.name,o),!v){e.next=40;break}return k=1,S=1,m({page:k}),e.next=22,b({page:k});case 22:E=e.sent,k=2,S=E.pageCount,m({pageCount:S}),w.next(E),x=Array.from(Array(S-1)).map(function(e,t){return function(){return b({page:t+2})}}),_=Object(i.b)(x,5);case 29:if(!(k<=S)){e.next=38;break}return m({page:k}),e.next=33,_.next();case 33:C=e.sent,w.next(C),k++,e.next=29;break;case 38:e.next=50;break;case 40:O=0;case 41:if(!(O<1)){e.next=50;break}return e.next=44,b();case 44:T=e.sent,O=T.progress,m({progress:O}),w.next(T),e.next=41;break;case 50:w.execute(n,d),m({done:!0}),e.next=60;break;case 54:if(e.prev=54,e.t0=e.catch(10),!e.t0.canceled){e.next=58;break}return e.abrupt("return");case 58:m({converting:!1,error:{type:"ConvertError",detail:e.t0.msg||e.t0.message}}),console.error(e.t0);case 60:case"end":return e.stop()}},e,this,[[10,54]])}));return function(t){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";function r(e,t,n,r){var i=e.getEditorState,a=e.setEditorState,s=i(),c=s.getCurrentContent(),u=c.createEntity("IMPORT","IMMUTABLE",{name:t,type:n}),l=u.getLastCreatedEntityKey(),f=o.AtomicBlockUtils.insertAtomicBlock(o.EditorState.set(s,{currentContent:u,selection:r}),l,"["+t+"]");return a(f),{entityKey:l,block:f.getCurrentContent().getBlockAfter(r.getFocusKey())}}t.a=r;var o=n(1);n.n(o)},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}function o(e,t){switch(t){case"word":return i();case"ppt":return a(e);case"pdf":case"zip":return s(e)}}function i(){var e="";return{next:function(t){return e+=Object(f.a)(t.pageHtml)},execute:function(t,n){var r=new u.SelectionState({anchorKey:n.getKey(),anchorOffset:0,focusKey:n.getKey(),focusOffset:n.getLength()});Object(l.B)(t,r,e)}}}function a(e){var t=[];return{next:function(e){return t.push(e.pageImage)},execute:function(){function n(e,t){return o.apply(this,arguments)}var o=r(regeneratorRuntime.mark(function n(r,o){var i,a;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(t.length){n.next=2;break}return n.abrupt("return");case 2:i=Object(l.l)(t),t=t.map(function(e){return e.slice(i.length)}),a={name:e,base:i,images:t},c(r,o,e,"GALLERY",a);case 6:case"end":return n.stop()}},n,this)}));return n}()}}function s(e){var t=null;return{next:function(e){return t=t||e.url},execute:function(n,r){t&&c(n,r,e,"ATTACHMENT",{name:e,url:t})}}}function c(e,t,n,r,o){var i=new u.SelectionState({anchorKey:t.getKey(),anchorOffset:0,focusKey:t.getKey(),focusOffset:t.getLength()}),a=e.getEditorState(),s=a.getCurrentContent().createEntity(r,"IMMUTABLE",o),c=s.getLastCreatedEntityKey();e.setEditorState(u.AtomicBlockUtils.insertAtomicBlock(u.EditorState.set(a,{currentContent:u.Modifier.setBlockType(u.Modifier.removeRange(s,i,"forward"),i,"unstyled"),selection:i}),c,n))}t.a=o;var u=n(1),l=(n.n(u),n(2)),f=n(159)},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=c({},u,e),n=t.entityTypes;return{name:"title",decoratePlugin:function(e){return Object(s.a)(e,n)}}}t.a=r;var o=n(20),i=n.n(o),a=n(1),s=(n.n(a),n(620)),c=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:f;return e=l({},f,e),{name:"video",getToolbarButtons:function(t){if("root"!==t.env)return null;var n=t.store.getEditorState();return"code-block"===u.RichUtils.getCurrentBlockType(n)?null:Object(i.a)(p,e.buttons,t)},getToolbarWidgets:function(e){var t=e.store;return[{key:"video-bar",component:s.a,props:{onInsert:function(e){var n=e.videoPlatform,r=e.videoId;Object(o.E)(t,{videoId:r,videoPlatform:n})}}}]},getBlockRenderInfo:function(t,n){var r=Object(o.o)(t,n);if(r&&"VIDEO"===r.entityType)return{component:c.a,editable:!1,props:l({},r,{store:n,videoWidth:e.videoWidth,videoHeight:e.videoHeight})}}}}t.a=r;var o=n(2),i=n(15),a=n(622),s=n(623),c=n(624),u=n(1),l=(n.n(u),Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{};if(""===e)return[];var r=t[e[0].toLowerCase()].filter(function(t){return t.toLowerCase().startsWith(e.toLowerCase())});return n?(r.sort(function(e,t){var r=Object.prototype.hasOwnProperty.call(n,e)&&n[e]||0,o=Object.prototype.hasOwnProperty.call(n,t)&&n[t]||0;return r===o?0:r1&&void 0!==arguments[1]?arguments[1]:"";this.mostUsedTeXCommands=a(e,this.mostUsedTeXCommands,t)},computeCompletionList:function(e){return d(e,this.teXCommandsAndMacros,this.mostUsedTeXCommands)}}}},function(e,t,n){"use strict";t.a={a:["above","abovewithdelims","acute","aleph","alpha","amalg","And","angle","approx","approxeq","arccos","arcsin","arctan","arg","array","Arrowvert","arrowvert","ast","asymp","atop","atopwithdelims"],b:["backepsilon","backprime","backsim","backsimeq","backslash","bar","barwedge","Bbb","Bbbk","bbox","bcancel","because","begin","begingroup","beta","beth","between","bf","Big","big","bigcap","bigcirc","bigcup","Bigg","bigg","Biggl","biggl","Biggm","biggm","Biggr","biggr","Bigl","bigl","Bigm","bigm","bigodot","bigoplus","bigotimes","Bigr","bigr","bigsqcup","bigstar","bigtriangledown","bigtriangleup","biguplus","bigvee","bigwedge","binom","blacklozenge","blacksquare","blacktriangle","blacktriangledown","blacktriangleleft","blacktriangleright","bmod","boldsymbol","bot","bowtie","Box","boxdot","boxed","boxminus","boxplus","boxtimes","brace","bracevert","brack","breve","buildrel","bullet","Bumpeq","bumpeq"],c:["cal","cancel","cancelto","cap","Cap","cases","cdot","cdotp","cdots","ce","cee","centerdot","cf","cfrac","check","checkmark","chi","choose","circ","circeq","circlearrowleft","circlearrowright","circledast","circledcirc","circleddash","circledR","circledS","class","clubsuit","colon","color","colorbox","complement","cong","coprod","cos","cosh","cot","coth","cr","csc","cssId","cup","Cup","curlyeqprec","curlyeqsucc","curlyvee","curlywedge","curvearrowleft","curvearrowright"],d:["dagger","daleth","dashleftarrow","dashrightarrow","dashv","dbinom","ddagger","ddddot","dddot","ddot","ddots","DeclareMathOperator","definecolor","def","deg","Delta","delta","det","dfrac","diagdown","diagup","diamond","Diamond","diamondsuit","digamma","dim","displaylines","displaystyle","div","divideontimes","dot","doteq","Doteq","doteqdot","dotplus","dots","dotsb","dotsc","dotsi","dotsm","dotso","doublebarwedge","doublecap","doublecup","Downarrow","downarrow","downdownarrows","downharpoonleft","downharpoonright"],e:["ell","emptyset","enclose","end","endgroup","enspace","epsilon","eqalign","eqalignno","eqcirc","eqref","eqsim","eqslantgtr","eqslantless","equiv","eta","eth","exists","exp"],f:["fallingdotseq","fbox","fcolorbox","Finv","flat","forall","frac","frak","frown"],g:["Game","Gamma","gamma","gcd","gdef","ge","genfrac","geq","geqq","geqslant","gets","gg","ggg","gggtr","gimel","global","gnapprox","gneq","gneqq","gnsim","grave","gt","gtrapprox","gtrdot","gtreqless","gtreqqless","gtrless","gtrsim","gvertneqq"],h:["hat","hbar","hbox","hdashline","heartsuit","hline","hom","hookleftarrow","hookrightarrow","hphantom","href","hskip","hslash","hspace","Huge","huge","idotsint"],i:["iff","iiiint","iiint","iint","Im","imath","impliedby","implies","in","inf","infty","injlim","int","intercal","intop","iota","it"],j:["jmath","Join"],k:["kappa","ker","kern"],l:["label","Lambda","lambda","land","langle","LARGE","Large","large","LaTeX","lbrace","lbrack","lceil","ldotp","ldots","le","leadsto","left","Leftarrow","leftarrow","leftarrowtail","leftharpoondown","leftharpoonup","leftleftarrows","Leftrightarrow","leftrightarrow","leftrightarrows","leftrightharpoons","leftrightsquigarrow","leftroot","leftthreetimes","leq","leqalignno","leqq","leqslant","lessapprox","lessdot","lesseqgtr","lesseqqgtr","lessgtr","lesssim","let","lfloor","lg","lgroup","lhd","lim","liminf","limits","limsup","ll","llap","llcorner","Lleftarrow","lll","llless","lmoustache","ln","lnapprox","lneq","lneqq","lnot","lnsim","log","Longleftarrow","longleftarrow","Longleftrightarrow","longleftrightarrow","longmapsto","Longrightarrow","longrightarrow","looparrowleft","looparrowright","lor","lower","lozenge","lrcorner","Lsh","lt","ltimes","lVert","lvert","lvertneqq"],m:["maltese","mapsto","mathbb","mathbf","mathbin","mathcal","mathchoice","mathclose","mathfrak","mathinner","mathit","mathop","mathopen","mathord","mathpunct","mathrel","mathring","mathrm","mathscr","mathsf","mathstrut","mathtip","mathtt","matrix","max","mbox","measuredangle","mho","mid","middle","min","mit","mkern","mmlToken","mod","models","moveleft","moveright","mp","mskip","mspace","mu","multimap"],n:["nabla","natural","ncong","ne","nearrow","neg","negmedspace","negthickspace","negthinspace","neq","newcommand","newenvironment","Newextarrow","newline","nexists","ngeq","ngeqq","ngeqslant","ngtr","ni","nLeftarrow","nleftarrow","nLeftrightarrow","nleftrightarrow","nleq","nleqq","nleqslant","nless","nmid","nobreakspace","nolimits","normalsize","not","notag","notin","nparallel","nprec","npreceq","nRightarrow","nrightarrow","nshortmid","nshortparallel","nsim","nsubseteq","nsubseteqq","nsucc","nsucceq","nsupseteq","nsupseteqq","ntriangleleft","ntrianglelefteq","ntriangleright","ntrianglerighteq","nu","nVDash","nVdash","nvDash","nvdash","nwarrow"],o:["odot","oint","oldstyle","Omega","omega","omicron","ominus","operatorname","oplus","oslash","otimes","over","overbrace","overleftarrow","overleftrightarrow","overline","overrightarrow","overset","overwithdelims","owns"],p:["parallel","partial","perp","phantom","Phi","phi","Pi","pi","pitchfork","pm","pmatrix","pmb","pmod","pod","Pr","prec","precapprox","preccurlyeq","preceq","precnapprox","precneqq","precnsim","precsim","prime","prod","projlim","propto","Psi","psi"],q:["qquad","quad"],r:["raise","rangle","rbrace","rbrack","rceil","Re","ref","renewcommand","renewenvironment","require","restriction","rfloor","rgroup","rhd","rho","right","Rightarrow","rightarrow","rightarrowtail","rightharpoondown","rightharpoonup","rightleftarrows","rightleftharpoons","rightleftharpoons","rightrightarrows","rightsquigarrow","rightthreetimes","risingdotseq","rlap","rm","rmoustache","root","Rrightarrow","Rsh","rtimes","Rule","rVert","rvert"],s:["S","scr","scriptscriptstyle","scriptsize","scriptstyle","searrow","sec","setminus","sf","sharp","shortmid","shortparallel","shoveleft","shoveright","sideset","Sigma","sigma","sim","simeq","sin","sinh","skew","small","smallfrown","smallint","smallsetminus","smallsmile","smash","smile","Space","space","spadesuit","sphericalangle","sqcap","sqcup","sqrt","sqsubset","sqsubseteq","sqsupset","sqsupseteq","square","stackrel","star","strut","style","subset","Subset","subseteq","subseteqq","subsetneq","subsetneqq","substack","succ","succapprox","succcurlyeq","succeq","succnapprox","succneqq","succnsim","succsim","sum","sup","supset","Supset","supseteq","supseteqq","supsetneq","supsetneqq","surd","swarrow"],t:["tag","tan","tanh","tau","tbinom","TeX","text","textbf","textit","textrm","textsf","textstyle","texttt","texttip","tfrac","therefore","Theta","theta","thickapprox","thicksim","thinspace","tilde","times","tiny","Tiny","to","toggle","top","triangle","triangledown","triangleleft","trianglelefteq","triangleq","triangleright","trianglerighteq","tt","twoheadleftarrow","twoheadrightarrow"],u:["underbrace","underleftarrow","underleftrightarrow","underline","underrightarrow","underset","unicode","unlhd","unrhd","Uparrow","uparrow","Updownarrow","updownarrow","upharpoonleft","upharpoonright","uplus","uproot","Upsilon","upsilon","upuparrows","urcorner"],v:["varDelta","varepsilon","varGamma","varinjlim","varkappa","varLambda","varliminf","varlimsup","varnothing","varOmega","varphi","varPhi","varpi","varPi","varprojlim","varpropto","varPsi","varrho","varsigma","varSigma","varsubsetneq","varsubsetneqq","vartheta","varTheta","vartriangle","vartriangleleft","vartriangleright","varUpsilon","varXi","vcenter","vdash","Vdash","vDash","vdots","vec","vee","veebar","verb","Vert","vert","vphantom","Vvdash"],w:["wedge","widehat","widetilde","wp","wr"],x:["Xi","xi","xcancel","xleftarrow","xlongequal","xmapsto","xrightarrow","xtofrom","xtwoheadleftarrow","xtwoheadrightarrow"],y:["yen"],z:["zeta"]}},function(e,t,n){"use strict";function r(e){var t=e.getCurrentContent(),n=e.getSelection(),r="";if(!n.isCollapsed()){var o=n.getStartKey();o===n.getEndKey()&&(r=t.getBlockForKey(o).getText().slice(n.getStartOffset(),n.getEndOffset())),t=a.Modifier.removeRange(t,n,"backward"),n=t.getSelectionAfter()}t=t.createEntity("INLINETEX","IMMUTABLE",{teX:r,displaystyle:!1});var i=t.getLastCreatedEntityKey(),s=0===n.getStartOffset(),c=Object(u.b)(t,n);return s&&(t=a.Modifier.insertText(t,n," "),n=t.getSelectionAfter()),t=a.Modifier.insertText(t,n," ",void 0,i),n=t.getSelectionAfter(),c&&(t=a.Modifier.insertText(t,n," ")),a.EditorState.push(e,t,"apply-entity")}function o(e){return Object(c.a)(e,Object(s.Map)({mathjax:!0,teX:""}))}function i(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?o(e):r(e)}t.a=i;var a=n(1),s=(n.n(a),n(3)),c=(n.n(s),n(630)),u=n(35)},function(e,t,n){"use strict";function r(e,t){var n=e.getCurrentContent(),r=e.getSelection(),a=o.Modifier.removeRange(n,r,"backward"),s=a.getSelectionAfter(),c=Object(i.d)(a,s),u=Object(i.b)(a,s),l=Object(i.c)(a,s),f=!c||l?o.Modifier.splitBlock(a,s):a,p=f.getSelectionAfter(),d=o.Modifier.setBlockType(f,p,"atomic"),h=[new o.ContentBlock({key:Object(o.genKey)(),type:"atomic",data:t})];u&&!l||h.push(new o.ContentBlock({key:Object(o.genKey)(),type:"unstyled"}));var g=o.BlockMapBuilder.createFromArray(h),m=o.Modifier.replaceWithFragment(d,p,g),y=m.merge({selectionBefore:r,selectionAfter:m.getSelectionAfter().set("hasFocus",!1)});return o.EditorState.push(e,y,"insert-fragment")}t.a=r;var o=n(1),i=(n.n(o),n(35))},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:function(){};n.setState(e,t)},n.getCaretPos=function(){var e=n.props.getStore().teXToUpdate.dir;return e&&"l"!==e?0:n.state.teX.length},n.save=function(e){n.setState({editMode:!1},function(){var t=n.props.getStore(),o=n.state,i=o.teX,a=o.displaystyle,s=n.props,u=s.entityKey,l=s.offsetKey,p=s.children,h=n.getCurrentEditorContent();t.completion.updateMostUsedTeXCmds(i,h.getEntity(u).getData().teX),Object(f.a)(t).apply(void 0,r(Object(f.e)(d({after:e,contentState:h,teX:i,displaystyle:a,entityKey:u,blockKey:l.split("-")[0]},c.a.Children.map(p,function(e){return{startPos:e.props.start}})[0]))))})},n}return a(t,e),h(t,[{key:"getInitialState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.entityKey,t=this.getCurrentEditorContent(),n=t.getEntity(e),r=n.getData(),o=r.teX,i=r.displaystyle;return{editMode:0===o.length,teX:o,displaystyle:i}}},{key:"componentWillMount",value:function(){var e=this.props.getStore();this.state.editMode&&e.setEditorReadOnly(!0)}},{key:"componentWillReceiveProps",value:function(e){var t=e.entityKey,n=e.getStore(),r=n.teXToUpdate.key;if(r===t&&this._update(r),this.props.entityKey!==t){var o=this.getInitialState(t);this.setState(o,function(){return o.editMode&&n.setEditorReadOnly(!0)})}}},{key:"getCurrentEditorContent",value:function(){return this.props.getStore().getEditorState().getCurrentContent()}},{key:"render",value:function(){var e=this,t=this.state,n=t.editMode,r=t.teX,o=t.displaystyle,i=this.props.getStore().completion,a=null;n&&(a=c.a.createElement(l.a,{onChange:this.onChange,teX:r,displaystyle:o,finishEdit:this.save,completion:i,caretPosFn:this.getCaretPos,style:g.edit}));var s=(o?"\\displaystyle{":"")+r+(o?"}":""),f=c.a.createElement(u.a,{inline:!0,key:this.props.entityKey},s),p=g[n?"preview":"rendered"];return c.a.createElement("span",{style:{position:n?"relative":void 0}},a,c.a.createElement("span",{onMouseDown:function(){return e._update()},style:p,contentEditable:!1},f))}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e){e.Hub.Queue(function(){var t=e.Hub.elementScripts;e.Hub.elementScripts=function(){return i};try{return e.Hub.Process(null,function(){a.forEach(function(e){return e()}),i=[],a=[],s=!1})}catch(e){throw e}finally{e.Hub.elementScripts=t}})}function o(e,t,n){i.push(t),a.push(n),s||(s=!0,setTimeout(function(){return r(e)},0))}t.a=o;var i=[],a=[],s=!1},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:f,t=e.buttons;return{getToolbarButtons:function(e){if("root"!==e.env)return null;var n=e.store.getEditorState();return"code-block"===o.RichUtils.getCurrentBlockType(n)?null:Object(s.a)(p,t,l({},e,{onInsert:function(){return Object(c.a)(e.store)}}))},getBlockRenderInfo:function(e,t){var n=Object(i.o)(e,t);if(n&&"HR"===n.entityType)return{component:u.a,editable:!1,props:l({},n,{store:t})}}}}t.a=r;var o=n(1),i=(n.n(o),n(2)),a=n(636),s=n(15),c=n(637),u=n(638),l=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];return{getBlockRenderInfo:function(e,t){var n=Object(o.o)(e,t);if(n&&"PLACEHOLDER"===n.entityType)return{component:i.a,editable:!1,props:s({},n,{store:t})}}}}t.a=r;var o=n(2),i=n(640),a=(n(15),n(1)),s=(n.n(a),Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];return{getBlockRenderInfo:function(e,t){var n=Object(o.o)(e,t);if(n&&"META"===n.entityType)return{component:i.a,editable:!1,props:s({},n,{store:t})}}}}t.a=r;var o=n(2),i=n(642),a=n(1),s=(n.n(a),Object.assign||function(e){for(var t=1;t ")}}),e.addAction({id:"ol",label:"\u63d2\u5165\u7f16\u53f7\u5217\u8868",run:function(e){return Object(g.a)(e,"1. ")}}),e.addAction({id:"ul",label:"\u63d2\u5165\u5217\u8868",run:function(e){return Object(g.a)(e,"* ")}}),e.addAction({id:"code-block",label:"\u63d2\u5165\u4ee3\u7801\u5757",run:function(e){return Object(g.a)(e,"```js\n// \u8f93\u5165\u4ee3\u7801\u5185\u5bb9\n```\n")}}),e.addAction({id:"table",label:"\u63d2\u5165\u8868\u683c",run:function(e){return Object(g.a)(e,"\u8868\u5934 1 | \u8868\u5934 2 | \u8868\u5934 3\n------|--------|------\n\u5185\u5bb9 1 | \u5185\u5bb9 2 | \u5185\u5bb9 3\n")}}),e.addAction({id:"formula",label:"\u63d2\u5165\u516c\u5f0f",run:function(e){var t=e.getSelection();t.startLineNumber===t.endLineNumber&&e.getModel().getLineContent(t.startLineNumber)?Object(h.a)(e,"`$","x^2 + y^2 = r^2"):Object(g.a)(e,"> `$ x^2 + y^2 = r^2 $`")}})}},{key:"handleMarkdownCommand",value:function(){function e(e,n,r){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t,n,r){var o,i,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t,e.next="bold"===e.t0?3:"italic"===e.t0?3:"strike"===e.t0?3:"code"===e.t0?3:"h1"===e.t0?3:"h2"===e.t0?3:"h3"===e.t0?3:"h4"===e.t0?3:"quote"===e.t0?3:"code-block"===e.t0?3:"ul"===e.t0?3:"ol"===e.t0?3:"table"===e.t0?3:"formula"===e.t0?3:"link"===e.t0?9:"image"===e.t0?13:"word"===e.t0?16:"preview"===e.t0?17:19;break;case 3:if(!(o=this.monacoEditor.getAction(t))){e.next=8;break}return e.next=7,o.run();case 7:this.monacoEditor.focus();case 8:return e.abrupt("break",19);case 9:return i=n,Object(m.a)(this.monacoEditor,i),this.monacoEditor.focus(),e.abrupt("break",19);case 13:return a=n,Object(y.a)(this.monacoEditor,a,{imageSizeLimit:this.props.imageSizeLimit,uploadImage:this.props.handleImageUpload}),e.abrupt("break",19);case 16:return e.abrupt("break",19);case 17:return this.setState({preview:this.state.preview?null:Object(b.u)(this.editor.getValue())}),e.abrupt("break",19);case 19:case"end":return e.stop()}},e,this)}));return e}()},{key:"getElement",value:function(){return this.element}},{key:"getMonacoEditor",value:function(){return this.editor}},{key:"getMarkdown",value:function(){if(this.editor)return this.editor.getValue();throw new Error("Monaco editor is not mounted yet!")}},{key:"setMarkdown",value:function(e){if(this.editor)return this.muteChange=!0,this.editor.setValue(e),void(this.muteChange=!1);throw new Error("Monaco editor is not mounted yet!")}},{key:"layout",value:function(){this.editor&&this.editor.layout()}}]),t}(l.a.Component),s.propTypes={defaultValue:f.string,autoFocus:f.bool},c)},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var s,c,u,l=n(0),f=n.n(l),p=n(18),d=(n.n(p),n(647)),h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g=Object.assign||function(e){for(var t=1;t1)&&!e.getLineContent(1).replace(/\u200b/g,"")}},{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(){var t,n,r,o,i,a,s,c=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.a)();case 2:if(t=e.sent,this.$editor){e.next=5;break}return e.abrupt("return");case 5:n=this.props,r=n.defaultValue,o=n.language,i=n.autoFocus,a=n.enableWarning,s=this.editor=t.editor.create(this.$editor,g({},y,{lineNumbers:"off",language:o,value:this.initialValue||r||"",glyphMargin:!1,wordWrap:"on",lineDecorationsWidth:0,fontSize:16,roundedSelection:!1,renderLineHighlight:!1,occurrencesHighlight:!1,quickSuggestions:!1,suggestOnTriggerCharacters:!1,wordBasedSuggestions:!1,snippetSuggestions:!1,fontFamily:"'pingfang SC','helvetica neue',arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif"})),i&&s.focus(),s.onDidChangeModelContent(this.notifyChange),s.addCommand(t.KeyMod.CtrlCmd|t.KeyCode.KEY_S,this.callOnSave),s.onDidFocusEditor(function(){return c.handleFocus()}),s.onDidBlurEditor(function(){return c.handleBlur()}),this.setState({ready:!0,empty:this.isEmpty()}),"function"==typeof this.props.onReady&&this.props.onReady(s);case 14:case"end":return e.stop()}},e,this)}));return e}()},{key:"componentWillUnmount",value:function(){this.editor&&(this.editor.getModel().dispose(),this.editor.dispose())}},{key:"componentWillReceiveProps",value:function(e){this.editor&&e.value!==this.value&&this.editor.setValue(e.value)}},{key:"focus",value:function(){this.editor&&this.editor.focus()}},{key:"handleFocus",value:function(){this.callOnFocus(),this.setState({focused:!0})}},{key:"handleBlur",value:function(){this.callOnBlur(),this.setState({focused:!1})}},{key:"getValue",value:function(){return this.editor?this.editor.getValue(v).replace(/\u200b/g,""):this.initialValue||this.props.defaultValue||""}},{key:"setValue",value:function(e){if("string"!=typeof e)throw new Error("Expect setValue() to pass as string, but got `"+(void 0===e?"undefined":h(e))+"`");this.editor?this.editor.setValue(e):this.initialValue=e}},{key:"layout",value:function(){this.editor&&this.editor.layout()}},{key:"revealLineAtTop",value:function(){function e(e){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.a)();case 2:n=e.sent,r=new n.Range(t,1,t,1),this.editor.revealRangeAtTop(r);case 5:case"end":return e.stop()}},e,this)}));return e}()},{key:"insertTextOnNextLine",value:function(){function e(e){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t){var n,r,o,i,a,s,c;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.editor){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Object(d.a)();case 4:return n=e.sent,r=this.editor,e.next=8,r.getAction("editor.action.insertLineAfter").run();case 8:return o=r.getPosition(),i=o.lineNumber,a=new n.Range(i,1,i,1),s={major:1,minor:1},c={identifier:s,range:a,text:t,forceMoveMarkers:!0},e.abrupt("return",r.executeEdits("insert-editor-1",[c]));case 13:case"end":return e.stop()}},e,this)}));return e}()},{key:"replaceText",value:function(){function e(e){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.a)();case 2:n=e.sent,r=this.editor,r.executeEdits("replace",[{identifier:"insert",range:r.getSelection(),text:t,forceMoveMarkers:!0}]);case 5:case"end":return e.stop()}},e,this)}));return e}()},{key:"findAndReplaceText",value:function(){function e(e,n){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t,n){var r,o,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.a)();case 2:r=e.sent,o=this.editor,i=this.value.split(/\r?\n/g).findIndex(function(e){return e.includes(t)}),-1!=i&&(o.executeEdits("replace",[{identifier:"insert",range:new r.Range(i+1,1,i+1,1e3),text:n,forceMoveMarkers:!0}]),o.focus());case 6:case"end":return e.stop()}},e,this)}));return e}()},{key:"setWarnings",value:function(){function e(e){return t.apply(this,arguments)}var t=r(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.props.enableWarning&&this.editor&&t){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Object(d.a)();case 4:n=e.sent,r=this._lastEditorDecorations||[],this._lastEditorDecorations=this.editor.deltaDecorations(r,t.map(function(e){var t=e.line,r=e.message;return{range:new n.Range(t,1,t,1e4),options:{isWholeLine:!0,className:"lab-editor-warning-line",hoverMessage:r,glyphMarginClassName:"lab-editor-warning-line-glyph",glyphMarginHoverMessage:r,overviewRuler:!0}}}));case 7:case"end":return e.stop()}},e,this)}));return e}()}]),t}(f.a.Component),s.propTypes={defaultValue:p.string,language:p.string,autoFocus:p.bool,enableWarning:p.bool},u=function(){var e=this;this.state={ready:!1,focused:!0},this.createPropsCallback=function(t){return function(){if("function"==typeof e.props[t]){var n;return(n=e.props)[t].apply(n,arguments)}}},this.callOnChange=this.createPropsCallback("onChange"),this.callOnSave=this.createPropsCallback("onSave"),this.callOnBlur=this.createPropsCallback("onBlur"),this.callOnFocus=this.createPropsCallback("onFocus"),this.notifyChange=function(){e.callOnChange(),e.setState({empty:e.isEmpty()})}},c)},function(e,t,n){"use strict";function r(){if("undefined"==typeof window)throw new Error("Monaco Editor is only for browser context");if("object"!==("undefined"==typeof AMDLoader?"undefined":o(AMDLoader)))throw console.warn('\u4f7f\u7528 MonacoEditor \u5fc5\u987b\u5148\u5f15\u5165\u5176 loader \u811a\u672c\u3002\u8bf7\u6dfb\u52a0\uff1a