PageSourceSearch

https://www.udir.no/Kvark/dist/754.217837e565455dc98e58.js

js udir.no collected 2026-09-24 08:52:40 UTC 307,138 bytes, 2 lines download raw bytes

1/*! For license information please see 754.217837e565455dc98e58.js.LICENSE.txt */
2(this.webpackChunkkvark=this.webpackChunkkvark||[]).push([[754],{49568(t,e,n){"use strict";n.r(e),n.d(e,{Collection:()=>S,Iterable:()=>No,List:()=>an,Map:()=>Te,OrderedMap:()=>Mn,OrderedSet:()=>co,PairSorting:()=>fo,Range:()=>Hn,Record:()=>yo,Repeat:()=>jo,Seq:()=>q,Set:()=>Pn,Stack:()=>Nn,default:()=>Do,fromJS:()=>wo,get:()=>re,getIn:()=>Zn,has:()=>oe,hasIn:()=>qn,hash:()=>dt,is:()=>lt,isAssociative:()=>_,isCollection:()=>b,isImmutable:()=>I,isIndexed:()=>w,isKeyed:()=>M,isList:()=>rn,isMap:()=>at,isOrdered:()=>A,isOrderedMap:()=>ct,isOrderedSet:()=>xn,isPlainObject:()=>te,isRecord:()=>O,isSeq:()=>C,isSet:()=>In,isStack:()=>En,isValueObject:()=>st,merge:()=>je,mergeDeep:()=>_e,mergeDeepWith:()=>Se,mergeWith:()=>we,remove:()=>ce,removeIn:()=>de,set:()=>se,setIn:()=>pe,update:()=>he,updateIn:()=>le,version:()=>Eo});var o="delete",r=32,i=31,a={};function c(t){t&&(t.value=!0)}function s(){}function l(t){return void 0===t.size&&(t.size=t.__iterate(p)),t.size}function u(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?l(t)+e:e}function p(){return!0}function f(t,e,n){return(0===t&&!m(t)||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function d(t,e){return h(t,e,0)}function y(t,e){return h(t,e,e)}function h(t,e,n){return void 0===t?n:m(t)?e===1/0?e:0|Math.max(0,e+t):void 0===e||e===t?t:0|Math.min(e,t)}function m(t){return t<0||0===t&&1/t==-1/0}var g="@@__IMMUTABLE_ITERABLE__@@";function b(t){return Boolean(t&&t[g])}var v="@@__IMMUTABLE_KEYED__@@";function M(t){return Boolean(t&&t[v])}var j="@@__IMMUTABLE_INDEXED__@@";function w(t){return Boolean(t&&t[j])}function _(t){return M(t)||w(t)}var S=function(t){return b(t)?t:q(t)},E=function(t){function e(t){return M(t)?t:G(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(S),N=function(t){function e(t){return w(t)?t:J(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(S),D=function(t){function e(t){return b(t)&&!_(t)?t:V(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(S);S.Keyed=E,S.Indexed=N,S.Set=D;var k="@@__IMMUTABLE_SEQ__@@";function C(t){return Boolean(t&&t[k])}var L="@@__IMMUTABLE_RECORD__@@";function O(t){return Boolean(t&&t[L])}function I(t){return b(t)||O(t)}var x="@@__IMMUTABLE_ORDERED__@@";function A(t){return Boolean(t&&t[x])}var T="function"==typeof Symbol&&Symbol.iterator,z="@@iterator",P=T||z,R=function(t){this.next=t};function U(t,e,n,o){var r=0===t?e:1===t?n:[e,n];return o?o.value=r:o={value:r,done:!1},o}function B(){return{value:void 0,done:!0}}function F(t){return!!Array.isArray(t)||!!H(t)}function Y(t){return t&&"function"==typeof t.next}function Q(t){var e=H(t);return e&&e.call(t)}function H(t){var e=t&&(T&&t[T]||t[z]);if("function"==typeof e)return e}R.prototype.toString=function(){return"[Iterator]"},R.KEYS=0,R.VALUES=1,R.ENTRIES=2,R.prototype.inspect=R.prototype.toSource=function(){return this.toString()},R.prototype[P]=function(){return this};var Z=Object.prototype.hasOwnProperty;function W(t){return!(!Array.isArray(t)&&"string"!=typeof t)||t&&"object"==typeof t&&Number.isInteger(t.length)&&t.length>=0&&(0===t.length?1===Object.keys(t).length:t.hasOwnProperty(t.length-1))}var q=function(t){function e(t){return null==t?et():I(t)?t.toSeq():function(t){var e,n,o=rt(t);if(o)return(n=H(e=t))&&n===e.entries?o.fromEntrySeq():function(t){var e=H(t);return e&&e===t.keys}(t)?o.toSetSeq():o;if("object"==typeof t)return new X(t);throw new TypeError("Expected Array or collection object of values, or keyed object: "+t)}(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq {","}")},e.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},e.prototype.__iterate=function(t,e){var n=this._cache;if(n){for(var o=n.length,r=0;r!==o;){var i=n[e?o-++r:r++];if(!1===t(i[1],i[0],this))break}return r}return this.__iterateUncached(t,e)},e.prototype.__iterator=function(t,e){var n=this._cache;if(n){var o=n.length,r=0;return new R((function(){if(r===o)return{value:void 0,done:!0};var i=n[e?o-++r:r++];
vendor: 5,047 bytes, line 2
2return U(t,i[0],i[1])}))}return this.__iteratorUncached(t,e)},e}(S),G=function(t){function e(t){return null==t?et().toKeyedSeq():b(t)?M(t)?t.toSeq():t.fromEntrySeq():O(t)?t.toSeq():nt(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toKeyedSeq=function(){return this},e}(q),J=function(t){function e(t){return null==t?et():b(t)?M(t)?t.entrySeq():t.toIndexedSeq():O(t)?t.toSeq().entrySeq():ot(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toIndexedSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq [","]")},e}(q),V=function(t){function e(t){return(b(t)&&!_(t)?t:J(t)).toSetSeq()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toSetSeq=function(){return this},e}(q);q.isSeq=C,q.Keyed=G,q.Set=V,q.Indexed=J,q.prototype[k]=!0;var K=function(t){function e(t){this._array=t,this.size=t.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this.has(t)?this._array[u(this,t)]:e},e.prototype.__iterate=function(t,e){for(var n=this._array,o=n.length,r=0;r!==o;){var i=e?o-++r:r++;if(!1===t(n[i],i,this))break}return r},e.prototype.__iterator=function(t,e){var n=this._array,o=n.length,r=0;return new R((function(){if(r===o)return{value:void 0,done:!0};var i=e?o-++r:r++;return U(t,i,n[i])}))},e}(J),X=function(t){function e(t){var e=Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]);this._object=t,this._keys=e,this.size=e.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},e.prototype.has=function(t){return Z.call(this._object,t)},e.prototype.__iterate=function(t,e){for(var n=this._object,o=this._keys,r=o.length,i=0;i!==r;){var a=o[e?r-++i:i++];if(!1===t(n[a],a,this))break}return i},e.prototype.__iterator=function(t,e){var n=this._object,o=this._keys,r=o.length,i=0;return new R((function(){if(i===r)return{value:void 0,done:!0};var a=o[e?r-++i:i++];return U(t,a,n[a])}))},e}(G);X.prototype[x]=!0;var $,tt=function(t){function e(t){this._collection=t,this.size=t.length||t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=Q(this._collection),o=0;if(Y(n))for(var r;!(r=n.next()).done&&!1!==t(r.value,o++,this););return o},e.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=Q(this._collection);if(!Y(n))return new R(B);var o=0;return new R((function(){var e=n.next();return e.done?e:U(t,o++,e.value)}))},e}(J);function et(){return $||($=new K([]))}function nt(t){var e=rt(t);if(e)return e.fromEntrySeq();if("object"==typeof t)return new X(t);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+t)}function ot(t){var e=rt(t);if(e)return e;throw new TypeError("Expected Array or collection object of values: "+t)}function rt(t){return W(t)?new K(t):F(t)?new tt(t):void 0}var it="@@__IMMUTABLE_MAP__@@";function at(t){return Boolean(t&&t[it])}function ct(t){return at(t)&&A(t)}function st(t){return Boolean(t&&"function"==typeof t.equals&&"function"==typeof t.hashCode)}function lt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!!(st(t)&&st(e)&&t.equals(e))}var ut="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),o=65535&(e|=0);return n*o+((t>>>16)*o+n*(e>>>16)<<16>>>0)|0};function pt(t){return t>>>1&1073741824|3221225471&t}var ft=Object.prototype.valueOf;function dt(t){if(null==t)return yt(t);if("function"==typeof t.hashCode)return pt(t.hashCode(t));var e,n,o,r=(e=t).valueOf!==ft&&"function"==typeof e.valueOf?e.valueOf(e):e;if(null==r)return yt(r);switch(typeof r){case"boolean":return r?1108378657:1108378656;case"number":return function(t){if(t!=t||t===1/0)return 0;var e=0|t;for(e!==t&&(e^=4294967295*t);t>4294967295;)e^=t/=4294967295;return pt(e)}(r);case"string":return r.length>St?(void 0===(o=Dt[n=r])&&(o=ht(n),Nt===Et&&(Nt=0,Dt={}),Nt++,Dt[n]=o),o):ht(r);case"object":case"function":return function(t){var e;if(Mt&&void 0!==(e=vt.get(t)))return e;if(void 0!==(e=t[_t]))return e;if(!gt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[_t]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=bt(),Mt)vt.set(t,e);else{if(void 0!==mt&&!1===mt(t))throw new Error("Non-extensible objects are not allowed as keys.");
vendor: 13,180 bytes, line 2
2if(gt)Object.defineProperty(t,_t,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[_t]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[_t]=e}}return e}(r);case"symbol":return function(t){var e=jt[t];return void 0!==e||(e=bt(),jt[t]=e),e}(r);default:if("function"==typeof r.toString)return ht(r.toString());throw new Error("Value type "+typeof r+" cannot be hashed.")}}function yt(t){return null===t?1108378658:1108378659}function ht(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return pt(e)}var mt=Object.isExtensible,gt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();function bt(){var t=++wt;return 1073741824&wt&&(wt=0),t}var vt,Mt="function"==typeof WeakMap;Mt&&(vt=new WeakMap);var jt=Object.create(null),wt=0,_t="__immutablehash__";"function"==typeof Symbol&&(_t=Symbol(_t));var St=16,Et=255,Nt=0,Dt={},kt=function(t){function e(t,e){this._iter=t,this._useKeys=e,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this._iter.get(t,e)},e.prototype.has=function(t){return this._iter.has(t)},e.prototype.valueSeq=function(){return this._iter.valueSeq()},e.prototype.reverse=function(){var t=this,e=At(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},e.prototype.map=function(t,e){var n=this,o=xt(this,t,e);return this._useKeys||(o.valueSeq=function(){return n._iter.toSeq().map(t,e)}),o},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e,o){return t(e,o,n)}),e)},e.prototype.__iterator=function(t,e){return this._iter.__iterator(t,e)},e}(G);kt.prototype[x]=!0;var Ct=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.includes=function(t){return this._iter.includes(t)},e.prototype.__iterate=function(t,e){var n=this,o=0;return e&&l(this),this._iter.__iterate((function(r){return t(r,e?n.size-++o:o++,n)}),e)},e.prototype.__iterator=function(t,e){var n=this,o=this._iter.__iterator(1,e),r=0;return e&&l(this),new R((function(){var i=o.next();return i.done?i:U(t,e?n.size-++r:r++,i.value,i)}))},e}(J),Lt=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.has=function(t){return this._iter.includes(t)},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},e.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new R((function(){var e=n.next();return e.done?e:U(t,e.value,e.value,e)}))},e}(V),Ot=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.entrySeq=function(){return this._iter.toSeq()},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){Ht(e);var o=b(e);return t(o?e.get(1):e[1],o?e.get(0):e[0],n)}}),e)},e.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new R((function(){for(;;){var e=n.next();if(e.done)return e;var o=e.value;if(o){Ht(o);var r=b(o);return U(t,r?o.get(0):o[0],r?o.get(1):o[1],e)}}}))},e}(G);function It(t){var e=Wt(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=qt,e.__iterateUncached=function(e,n){var o=this;return t.__iterate((function(t,n){return!1!==e(n,t,o)}),n)},e.__iteratorUncached=function(e,n){if(2===e){var o=t.__iterator(e,n);return new R((function(){var t=o.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(1===e?0:1,n)},e}function xt(t,e,n){var o=Wt(t);return o.size=t.size,o.has=function(e){return t.has(e)},o.get=function(o,r){var i=t.get(o,a);return i===a?r:e.call(n,i,o,t)},o.__iterateUncached=function(o,r){var i=this;return t.__iterate((function(t,r,a){return!1!==o(e.call(n,t,r,a),r,i)}),r)},o.__iteratorUncached=function(o,r){var i=t.__iterator(2,r);return new R((function(){var r=i.next();if(r.done)return r;var a=r.value,c=a[0];return U(o,c,e.call(n,a[1],c,t),r)}))},o}function At(t,e){var n=this,o=Wt(t);return o._iter=t,o.size=t.size,o.reverse=function(){return t},t.flip&&(o.flip=function(){var e=It(t);return e.reverse=function(){return t.flip()},e}),o.get=function(n,o){return t.get(e?n:-1-n,o)},o.has=function(n){return t.has(e?n:-1-n)},o.includes=function(e){return t.includes(e)},o.cacheResult=qt,o.__iterate=function(n,o){var r=this,i=0;return o&&l(t),t.__iterate((function(t,a){return n(t,e?a:o?r.size-++i:i++,r)}),!o)},o.__iterator=function(o,r){var i=0;r&&l(t);var a=t.__iterator(2,!r);return new R((function(){var t=a.next();if(t.done)return t;var c=t.value;return U(o,e?c[0]:r?n.size-++i:i++,c[1],t)}))},o}function Tt(t,e,n,o){var r=Wt(t);return o&&(r.has=function(o){var r=t.get(o,a);return r!==a&&!!e.call(n,r,o,t)},r.get=function(o,r){var i=t.get(o,a);return i!==a&&e.call(n,i,o,t)?i:r}),r.__iterateUncached=function(r,i){var a=this,c=0;return t.__iterate((function(t,i,s){if(e.call(n,t,i,s))return c++,r(t,o?i:c-1,a)}),i),c},r.__iteratorUncached=function(r,i){var a=t.__iterator(2,i),c=0;return new R((function(){for(;;){var i=a.next();if(i.done)return i;var s=i.value,l=s[0],u=s[1];if(e.call(n,u,l,t))return U(r,o?l:c++,u,i)}}))},r}function zt(t,e,n,o){var r=t.size;if(f(e,n,r))return t;if(void 0===r&&(e<0||n<0))return zt(t.toSeq().cacheResult(),e,n,o);var i,a=d(e,r),c=y(n,r)-a;c==c&&(i=c<0?0:c);var s=Wt(t);return s.size=0===i?i:t.size&&i||void 0,!o&&C(t)&&i>=0&&(s.get=function(e,n){return(e=u(this,e))>=0&&e<i?t.get(e+a,n):n}),s.__iterateUncached=function(e,n){var r=this;if(0===i)return 0;if(n)return this.cacheResult().__iterate(e,n);var c=0,s=!0,l=0;return t.__iterate((function(t,n){if(!s||!(s=c++<a))return l++,!1!==e(t,o?n:l-1,r)&&l!==i})),l},s.__iteratorUncached=function(e,n){if(0!==i&&n)return this.cacheResult().__iterator(e,n);if(0===i)return new R(B);var r=t.__iterator(e,n),c=0,s=0;return new R((function(){for(;c++<a;)r.next();if(++s>i)return{value:void 0,done:!0};var t=r.next();return o||1===e||t.done?t:U(e,s-1,0===e?void 0:t.value[1],t)}))},s}function Pt(t,e,n,o){var r=Wt(t);return r.__iterateUncached=function(r,i){var a=this;if(i)return this.cacheResult().__iterate(r,i);var c=!0,s=0;return t.__iterate((function(t,i,l){if(!c||!(c=e.call(n,t,i,l)))return s++,r(t,o?i:s-1,a)})),s},r.__iteratorUncached=function(r,i){var a=this;if(i)return this.cacheResult().__iterator(r,i);var c=t.__iterator(2,i),s=!0,l=0;return new R((function(){var t,i,u;do{if((t=c.next()).done)return o||1===r?t:U(r,l++,0===r?void 0:t.value[1],t);var p=t.value;i=p[0],u=p[1],s&&(s=e.call(n,u,i,a))}while(s);return 2===r?t:U(r,i,u,t)}))},r}function Rt(t,e,n){var o=Wt(t);return o.__iterateUncached=function(r,i){if(i)return this.cacheResult().__iterate(r,i);var a=0,c=!1;return function t(s,l){s.__iterate((function(i,s){return(!e||l<e)&&b(i)?t(i,l+1):(a++,!1===r(i,n?s:a-1,o)&&(c=!0)),!c}),i)}(t,0),a},o.__iteratorUncached=function(o,r){if(r)return this.cacheResult().__iterator(o,r);var i=t.__iterator(o,r),a=[],c=0;return new R((function(){for(;i;){var t=i.next();if(!1===t.done){var s=t.value;if(2===o&&(s=s[1]),e&&!(a.length<e)||!b(s))return n?t:U(o,c++,s,t);a.push(i),i=s.__iterator(o,r)}else i=a.pop()}return{value:void 0,done:!0}}))},o}function Ut(t,e,n){e||(e=Gt);var o=M(t),r=0,i=t.toSeq().map((function(e,o){return[o,e,r++,n?n(e,o,t):e]})).valueSeq().toArray();return i.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(o?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),o?G(i):w(t)?J(i):V(i)}function Bt(t,e,n){if(e||(e=Gt),n){var o=t.toSeq().map((function(e,o){return[e,n(e,o,t)]})).reduce((function(t,n){return Ft(e,t[1],n[1])?n:t}));return o&&o[0]}return t.reduce((function(t,n){return Ft(e,t,n)?n:t}))}function Ft(t,e,n){var o=t(n,e);return 0===o&&n!==e&&(null==n||n!=n)||o>0}function Yt(t,e,n,o){var r=Wt(t),i=new K(n).map((function(t){return t.size}));return r.size=o?i.max():i.min(),r.__iterate=function(t,e){for(var n,o=this.__iterator(1,e),r=0;!(n=o.next()).done&&!1!==t(n.value,r++,this););return r},r.__iteratorUncached=function(t,r){var i=n.map((function(t){return t=S(t),Q(r?t.reverse():t)})),a=0,c=!1;return new R((function(){var n;return c||(n=i.map((function(t){return t.next()})),c=o?n.every((function(t){return t.done})):n.some((function(t){return t.done}))),c?{value:void 0,done:!0}:U(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},r}function Qt(t,e){return t===e?t:C(t)?e:t.constructor(e)}function Ht(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Zt(t){return M(t)?E:w(t)?N:D}function Wt(t){return Object.create((M(t)?G:w(t)?J:V).prototype)}function qt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):q.prototype.cacheResult.call(this)}function Gt(t,e){return void 0===t&&void 0===e?0:void 0===t?1:void 0===e?-1:t>e?1:t<e?-1:0}function Jt(t,e){e=e||0;for(var n=Math.max(0,t.length-e),o=new Array(n),r=0;r<n;r++)o[r]=t[r+e];return o}function Vt(t,e){if(!t)throw new Error(e)}function Kt(t){Vt(t!==1/0,"Cannot perform this action with an infinite size.")}function Xt(t){if(W(t)&&"string"!=typeof t)return t;if(A(t))return t.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+t)}Ct.prototype.cacheResult=kt.prototype.cacheResult=Lt.prototype.cacheResult=Ot.prototype.cacheResult=qt;var $t=Object.prototype.toString;function te(t){if(!t||"object"!=typeof t||"[object Object]"!==$t.call(t))return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var n=e,o=Object.getPrototypeOf(e);null!==o;)n=o,o=Object.getPrototypeOf(n);return n===e}function ee(t){return"object"==typeof t&&(I(t)||Array.isArray(t)||te(t))}function ne(t){try{return"string"==typeof t?JSON.stringify(t):String(t)}catch(e){return JSON.stringify(t)}}function oe(t,e){return I(t)?t.has(e):ee(t)&&Z.call(t,e)}function re(t,e,n){return I(t)?t.get(e,n):oe(t,e)?"function"==typeof t.get?t.get(e):t[e]:n}function ie(t){return"string"==typeof t&&("__proto__"===t||"constructor"===t)}function ae(t){if(Array.isArray(t))return Jt(t);var e={};for(var n in t)ie(n)||Z.call(t,n)&&(e[n]=t[n]);return e}function ce(t,e){if(!ee(t))throw new TypeError("Cannot update non-data-structure value: "+t);if(I(t)){if(!t.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+t);return t.remove(e)}if(!Z.call(t,e))return t;var n=ae(t);return Array.isArray(n)?n.splice(e,1):delete n[e],n}function se(t,e,n){if(ie(e))return t;if(!ee(t))throw new TypeError("Cannot update non-data-structure value: "+t);if(I(t)){if(!t.set)throw new TypeError("Cannot update immutable value without .set() method: "+t);return t.set(e,n)}if(Z.call(t,e)&&n===t[e])return t;var o=ae(t);return o[e]=n,o}function le(t,e,n,o){o||(o=n,n=void 0);var r=ue(I(t),t,Xt(e),0,n,o);return r===a?n:r}function ue(t,e,n,o,r,i){var c=e===a;if(o===n.length){var s=c?r:e,l=i(s);return l===s?e:l}if(!c&&!ee(e))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,o).map(ne)+"]: "+e);var u=n[o],p=c?a:re(e,u,a),f=ue(p===a?t:I(p),p,n,o+1,r,i);return f===p?e:f===a?ce(e,u):se(c?t?qe():{}:e,u,f)}function pe(t,e,n){return le(t,e,a,(function(){return n}))}function fe(t,e){return pe(this,t,e)}function de(t,e){return le(t,e,(function(){return a}))}function ye(t){return de(this,t)}function he(t,e,n,o){return le(t,[e],n,o)}function me(t,e,n){return 1===arguments.length?t(this):he(this,t,e,n)}function ge(t,e,n){return le(this,t,e,n)}function be(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Me(this,t)}function ve(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if("function"!=typeof t)throw new TypeError("Invalid merger function: "+t);return Me(this,e,t)}function Me(t,e,n){for(var o=[],r=0;r<e.length;r++){var i=E(e[r]);0!==i.size&&o.push(i)}return 0===o.length?t:0!==t.toSeq().size||t.__ownerID||1!==o.length?t.withMutations((function(t){for(var e=n?function(e,o){he(t,o,a,(function(t){return t===a?e:n(t,e,o)}))}:function(e,n){t.set(n,e)},r=0;r<o.length;r++)o[r].forEach(e)})):t.constructor(o[0])}function je(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return Ne(t,e)}function we(t,e){for(var n=[],o=arguments.length-2;o-- >0;)n[o]=arguments[o+2];return Ne(e,n,t)}function _e(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return Ee(t,e)}function Se(t,e){for(var n=[],o=arguments.length-2;o-- >0;)n[o]=arguments[o+2];return Ee(e,n,t)}function Ee(t,e,n){return Ne(t,e,function(t){return function e(n,o,r){return ee(n)&&ee(o)&&
vendor: 20,218 bytes, line 2
2(i=o,a=q(n),c=q(i),w(a)===w(c)&&M(a)===M(c))?Ne(n,[o],e):t?t(n,o,r):o;var i,a,c}}(n))}function Ne(t,e,n){if(!ee(t))throw new TypeError("Cannot merge into non-data-structure value: "+t);if(I(t))return"function"==typeof n&&t.mergeWith?t.mergeWith.apply(t,[n].concat(e)):t.merge?t.merge.apply(t,e):t.concat.apply(t,e);for(var o=Array.isArray(t),r=t,i=o?N:E,a=o?function(e){r===t&&(r=ae(r)),r.push(e)}:function(e,o){if(!ie(o)){var i=Z.call(r,o),a=i&&n?n(r[o],e,o):e;i&&a===r[o]||(r===t&&(r=ae(r)),r[o]=a)}},c=0;c<e.length;c++)i(e[c]).forEach(a);return r}function De(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Ee(this,t)}function ke(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return Ee(this,e,t)}function Ce(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return le(this,t,qe(),(function(t){return Ne(t,e)}))}function Le(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return le(this,t,qe(),(function(t){return Ee(t,e)}))}function Oe(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this}function Ie(){return this.__ownerID?this:this.__ensureOwner(new s)}function xe(){return this.__ensureOwner()}function Ae(){return this.__altered}var Te=function(t){function e(e){return null==e?qe():at(e)&&!A(e)?e:qe().withMutations((function(n){var o=t(e);Kt(o.size),o.forEach((function(t,e){return n.set(e,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return qe().withMutations((function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},e.prototype.toString=function(){return this.__toString("Map {","}")},e.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},e.prototype.set=function(t,e){return Ge(this,t,e)},e.prototype.remove=function(t){return Ge(this,t,a)},e.prototype.deleteAll=function(t){var e=S(t);return 0===e.size?this:this.withMutations((function(t){e.forEach((function(e){return t.remove(e)}))}))},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):qe()},e.prototype.sort=function(t){return Mn(Ut(this,t))},e.prototype.sortBy=function(t,e){return Mn(Ut(this,e,t))},e.prototype.map=function(t,e){var n=this;return this.withMutations((function(o){o.forEach((function(r,i){o.set(i,t.call(e,r,i,n))}))}))},e.prototype.__iterator=function(t,e){return new Qe(this,t,e)},e.prototype.__iterate=function(t,e){var n=this,o=0;return this._root&&this._root.iterate((function(e){return o++,t(e[1],e[0],n)}),e),o},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?We(this.size,this._root,t,this.__hash):0===this.size?qe():(this.__ownerID=t,this.__altered=!1,this)},e}(E);Te.isMap=at;var ze=Te.prototype;ze[it]=!0,ze[o]=ze.remove,ze.removeAll=ze.deleteAll,ze.setIn=fe,ze.removeIn=ze.deleteIn=ye,ze.update=me,ze.updateIn=ge,ze.merge=ze.concat=be,ze.mergeWith=ve,ze.mergeDeep=De,ze.mergeDeepWith=ke,ze.mergeIn=Ce,ze.mergeDeepIn=Le,ze.withMutations=Oe,ze.wasAltered=Ae,ze.asImmutable=xe,ze["@@transducer/init"]=ze.asMutable=Ie,ze["@@transducer/step"]=function(t,e){return t.set(e[0],e[1])},ze["@@transducer/result"]=function(t){return t.asImmutable()};var Pe=function(t,e){this.ownerID=t,this.entries=e};Pe.prototype.get=function(t,e,n,o){for(var r=this.entries,i=0,a=r.length;i<a;i++)if(lt(n,r[i][0]))return r[i][1];return o},Pe.prototype.update=function(t,e,n,o,r,i,l){for(var u=r===a,p=this.entries,f=0,d=p.length;f<d&&!lt(o,p[f][0]);f++);var y=f<d;if(y?p[f][1]===r:u)return this;if(c(l),(u||!y)&&c(i),!u||1!==p.length){if(!y&&!u&&p.length>=tn)return function(t,e,n,o){t||(t=new s);for(var r=new Fe(t,dt(n),[n,o]),i=0;i<e.length;i++){var a=e[i];r=r.update(t,0,void 0,a[0],a[1])}return r}(t,p,o,r);var h=t&&t===this.ownerID,m=h?p:Jt(p);return y?u?f===d-1?m.pop():m[f]=m.pop():m[f]=[o,r]:m.push([o,r]),h?(this.entries=m,this):new Pe(t,m)}};var Re=function(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n};Re.prototype.get=function(t,e,n,o){void 0===e&&(e=dt(n));var r=1<<((0===t?e:e>>>t)&i),a=this.bitmap;return a&r?this.nodes[Xe(a&r-1)].get(t+5,e,n,o):o},Re.prototype.update=function(t,e,n,o,c,s,l){void 0===n&&(n=dt(o));var u=(0===e?n:n>>>e)&i,p=1<<u,f=this.bitmap,d=!!(f&p);if(!d&&c===a)return this;var y=Xe(f&p-1),h=this.nodes,m=d?h[y]:void 0,g=Je(m,t,e+5,n,o,c,s,l);if(g===m)return this;if(!d&&g&&h.length>=en)return function(t,e,n,o,i){for(var a=0,c=new Array(r),s=0;0!==n;s++,n>>>=1)c[s]=1&n?e[a++]:void 0;return c[o]=i,new Ue(t,a+1,c)}(t,h,f,u,g);if(d&&!g&&2===h.length&&Ve(h[1^y]))return h[1^y];if(d&&g&&1===h.length&&Ve(g))return g;var b=t&&t===this.ownerID,v=d?g?f:f^p:f|p,M=d?g?$e(h,y,g,b):function(t,e,n){var o=t.length-1;if(n&&e===o)return t.pop(),t;for(var r=new Array(o),i=0,a=0;a<o;a++)a===e&&(i=1),r[a]=t[a+i];return r}(h,y,b):function(t,e,n,o){var r=t.length+1;if(o&&e+1===r)return t[e]=n,t;for(var i=new Array(r),a=0,c=0;c<r;c++)c===e?(i[c]=n,a=-1):i[c]=t[c+a];return i}(h,y,g,b);return b?(this.bitmap=v,this.nodes=M,this):new Re(t,v,M)};var Ue=function(t,e,n){this.ownerID=t,this.count=e,this.nodes=n};Ue.prototype.get=function(t,e,n,o){void 0===e&&(e=dt(n));var r=(0===t?e:e>>>t)&i,a=this.nodes[r];return a?a.get(t+5,e,n,o):o},Ue.prototype.update=function(t,e,n,o,r,c,s){void 0===n&&(n=dt(o));var l=(0===e?n:n>>>e)&i,u=r===a,p=this.nodes,f=p[l];if(u&&!f)return this;var d=Je(f,t,e+5,n,o,r,c,s);if(d===f)return this;var y=this.count;if(f){if(!d&&--y<nn)return function(t,e,n,o){for(var r=0,i=0,a=new Array(n),c=0,s=1,l=e.length;c<l;c++,s<<=1){var u=e[c];void 0!==u&&c!==o&&(r|=s,a[i++]=u)}return new Re(t,r,a)}(t,p,y,l)}else y++;var h=t&&t===this.ownerID,m=$e(p,l,d,h);return h?(this.count=y,this.nodes=m,this):new Ue(t,y,m)};var Be=function(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n};Be.prototype.get=function(t,e,n,o){for(var r=this.entries,i=0,a=r.length;i<a;i++)if(lt(n,r[i][0]))return r[i][1];return o},Be.prototype.update=function(t,e,n,o,r,i,s){void 0===n&&(n=dt(o));var l=r===a;if(n!==this.keyHash)return l?this:(c(s),c(i),Ke(this,t,e,n,[o,r]));for(var u=this.entries,p=0,f=u.length;p<f&&!lt(o,u[p][0]);p++);var d=p<f;if(d?u[p][1]===r:l)return this;if(c(s),(l||!d)&&c(i),l&&2===f)return new Fe(t,this.keyHash,u[1^p]);var y=t&&t===this.ownerID,h=y?u:Jt(u);return d?l?p===f-1?h.pop():h[p]=h.pop():h[p]=[o,r]:h.push([o,r]),y?(this.entries=h,this):new Be(t,this.keyHash,h)};var Fe=function(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n};Fe.prototype.get=function(t,e,n,o){return lt(n,this.entry[0])?this.entry[1]:o},Fe.prototype.update=function(t,e,n,o,r,i,s){var l=r===a,u=lt(o,this.entry[0]);return(u?r===this.entry[1]:l)?this:(c(s),l?void c(i):u?t&&t===this.ownerID?(this.entry[1]=r,this):new Fe(t,this.keyHash,[o,r]):(c(i),Ke(this,t,e,dt(o),[o,r])))},Pe.prototype.iterate=Be.prototype.iterate=function(t,e){for(var n=this.entries,o=0,r=n.length-1;o<=r;o++)if(!1===t(n[e?r-o:o]))return!1},Re.prototype.iterate=Ue.prototype.iterate=function(t,e){for(var n=this.nodes,o=0,r=n.length-1;o<=r;o++){var i=n[e?r-o:o];if(i&&!1===i.iterate(t,e))return!1}},Fe.prototype.iterate=function(t,e){return t(this.entry)};var Ye,Qe=function(t){function e(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Ze(t._root)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n=e.node,o=e.index++,r=void 0;if(n.entry){if(0===o)return He(t,n.entry)}else if(n.entries){if(o<=(r=n.entries.length-1))return He(t,n.entries[this._reverse?r-o:o])}else if(o<=(r=n.nodes.length-1)){var i=n.nodes[this._reverse?r-o:o];if(i){if(i.entry)return He(t,i.entry);e=this._stack=Ze(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}},e}(R);function He(t,e){return U(t,e[0],e[1])}function Ze(t,e){return{node:t,index:0,__prev:e}}function We(t,e,n,o){var r=Object.create(ze);return r.size=t,r._root=e,r.__ownerID=n,r.__hash=o,r.__altered=!1,r}function qe(){return Ye||(Ye=We(0))}function Ge(t,e,n){var o,r;if(t._root){var i={value:!1},c={value:!1};if(o=Je(t._root,t.__ownerID,0,void 0,e,n,i,c),!c.value)return t;r=t.size+(i.value?n===a?-1:1:0)}else{if(n===a)return t;r=1,o=new Pe(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=r,t._root=o,t.__hash=void 0,t.__altered=!0,t):o?We(r,o):qe()}function Je(t,e,n,o,r,i,s,l){return t?t.update(e,n,o,r,i,s,l):i===a?t:(c(l),c(s),new Fe(e,o,[r,i]))}function Ve(t){return t.constructor===Fe||t.constructor===Be}function Ke(t,e,n,o,r){if(t.keyHash===o)return new Be(e,o,[t.entry,r]);var a,c=(0===n?t.keyHash:t.keyHash>>>n)&i,s=(0===n?o:o>>>n)&i,l=c===s?[Ke(t,e,n+5,o,r)]:(a=new Fe(e,o,r),c<s?[t,a]:[a,t]);return new Re(e,1<<c|1<<s,l)}function Xe(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function $e(t,e,n,o){var r=o?t:Jt(t);return r[e]=n,r}var tn=8,en=16,nn=8,on="@@__IMMUTABLE_LIST__@@";function rn(t){return Boolean(t&&t[on])}var an=function(t){function e(e){var n=dn();if(null==e)return n;if(rn(e))return e;var o=t(e),i=o.size;return 0===i?n:(Kt(i),i>0&&i<r?fn(0,i,5,null,new sn(o.toArray())):n.withMutations((function(t){t.setSize(i),o.forEach((function(e,n){return t.set(n,e)}))})))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("List [","]")},e.prototype.get=function(t,e){if((t=u(this,t))>=0&&t<this.size){var n=mn(this,t+=this._origin);return n&&n.array[t&i]}return e},e.prototype.set=function(t,e){return function(t,e,n){if((e=u(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?gn(t,e).set(0,n):gn(t,0,e+1).set(e,n)}));e+=t._origin;var o=t._tail,r=t._root,i={value:!1};return e>=bn(t._capacity)?o=yn(o,t.__ownerID,0,e,n,i):r=yn(r,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=r,t._tail=o,t.__hash=void 0,t.__altered=!0,t):fn(t._origin,t._capacity,t._level,r,o):t}(this,t,e)},e.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},e.prototype.insert=function(t,e){return this.splice(t,0,e)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):dn()},e.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){gn(n,0,e+t.length);for(var o=0;o<t.length;o++)n.set(e+o,t[o])}))},e.prototype.pop=function(){return gn(this,0,-1)},e.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){gn(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},e.prototype.shift=function(){return gn(this,1)},e.prototype.concat=function(){for(var e=arguments,n=[],o=0;o<arguments.length;o++){var r=e[o],i=t("string"!=typeof r&&F(r)?r:[r]);0!==i.size&&n.push(i)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(t){n.forEach((function(e){return e.forEach((function(e){return t.push(e)}))}))})):this.constructor(n[0])},e.prototype.setSize=function(t){return gn(this,0,t)},e.prototype.map=function(t,e){var n=this;return this.withMutations((function(o){for(var r=0;r<n.size;r++)o.set(r,t.call(e,o.get(r),r,n))}))},e.prototype.slice=function(t,e){var n=this.size;return f(t,e,n)?this:gn(this,d(t,n),y(e,n))},e.prototype.__iterator=function(t,e){var n=e?this.size:0,o=pn(this,e);return new R((function(){var r=o();return r===un?{value:void 0,done:!0}:U(t,e?--n:n++,r)}))},e.prototype.__iterate=function(t,e){for(var n,o=e?this.size:0,r=pn(this,e);(n=r())!==un&&!1!==t(n,e?--o:o++,this););return o},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?fn(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):0===this.size?dn():(this.__ownerID=t,this.__altered=!1,this)},e}(N);an.isList=rn;var cn=an.prototype;cn[on]=!0,cn[o]=cn.remove,cn.merge=cn.concat,cn.setIn=fe,cn.deleteIn=cn.removeIn=ye,cn.update=me,cn.updateIn=ge,cn.mergeIn=Ce,cn.mergeDeepIn=Le,cn.withMutations=Oe,cn.wasAltered=Ae,cn.asImmutable=xe,cn["@@transducer/init"]=cn.asMutable=Ie,cn["@@transducer/step"]=function(t,e){return t.push(e)},cn["@@transducer/result"]=function(t){return t.asImmutable()};var sn=function(t,e){this.array=t,this.ownerID=e};sn.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var o=n>>>e&i;if(o>=this.array.length)return new sn([],t);var r,a=0===o;if(e>0){var c=this.array[o];if((r=c&&c.removeBefore(t,e-5,n))===c&&a)return this}if(a&&!r)return this;var s=hn(this,t);if(!a)for(var l=0;l<o;l++)s.array[l]=void 0;return r&&(s.array[o]=r),s},sn.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var o,r=n-1>>>e&i;if(r>=this.array.length)return this;if(e>0){var a=this.array[r];if((o=a&&a.removeAfter(t,e-5,n))===a&&r===this.array.length-1)return this}var c=hn(this,t);return c.array.splice(r+1),o&&(c.array[r]=o),c};var ln,un={};function pn(t,e){var n=t._origin,o=t._capacity,i=bn(o),a=t._tail;return function t(c,s,l){return 0===s?function(t,c){var s=c===i?a&&a.array:t&&t.array,l=c>n?0:n-c,u=o-c;return u>r&&(u=r),function(){if(l===u)return un;var t=e?--u:l++;return s&&s[t]}}(c,l):function(i,a,c){var s,l=i&&i.array,u=c>n?0:n-c>>a,p=1+(o-c>>a);return p>r&&(p=r),function(){for(;;){if(s){var n=s();if(n!==un)return n;s=null}if(u===p)return un;var o=e?--p:u++;s=t(l&&l[o],a-5,c+(o<<a))}}}(c,s,l)}(t._root,t._level,0)}function fn(t,e,n,o,r,i,a){var c=Object.create(cn);return c.size=e-t,c._origin=t,c._capacity=e,c._level=n,c._root=o,c._tail=r,c.__ownerID=i,c.__hash=a,c.__altered=!1,c}function dn(){return ln||(ln=fn(0,0,5))}function yn(t,e,n,o,r,a){var s,l=o>>>n&i,u=t&&l<t.array.length;if(!u&&void 0===r)return t;if(n>0){var p=t&&t.array[l],f=yn(p,e,n-5,o,r,a);return f===p?t:((s=hn(t,e)).array[l]=f,s)}return u&&t.array[l]===r?t:(a&&c(a),s=hn(t,e),void 0===r&&l===s.array.length-1?s.array.pop():s.array[l]=r,s)}function hn(t,e){return e&&t&&e===t.ownerID?t:new sn(t?t.array.slice():[],e)}function mn(t,e){if(e>=bn(t._capacity))return t._tail;if(e<1<<t._level+5){for(var n=t._root,o=t._level;n&&o>0;)n=n.array[e>>>o&i],o-=5;return n}}function gn(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var o=t.__ownerID||new s,r=t._origin,a=t._capacity,c=r+e,l=void 0===n?a:n<0?a+n:r+n;if(c===r&&l===a)return t;if(c>=l)return t.clear();for(var u=t._level,p=t._root,f=0;c+f<0;)p=new sn(p&&p.array.length?[void 0,p]:[],o),f+=1<<(u+=5);f&&(c+=f,r+=f,l+=f,a+=f);for(var d=bn(a),y=bn(l);y>=1<<u+5;)p=new sn(p&&p.array.length?[p]:[],o),u+=5;var h=t._tail,m=y<d?mn(t,l-1):y>d?new sn([],o):h;if(h&&y>d&&c<a&&h.array.length){for(var g=p=hn(p,o),b=u;b>5;b-=5){var v=d>>>b&i;g=g.array[v]=hn(g.array[v],o)}g.array[d>>>5&i]=h}if(l<a&&(m=m&&m.removeAfter(o,0,l)),c>=y)c-=y,l-=y,u=5,p=null,m=m&&m.removeBefore(o,0,c);else if(c>r||y<d){for(f=0;p;){var M=c>>>u&i;if(M!==y>>>u&i)break;M&&(f+=(1<<u)*M),u-=5,p=p.array[M]}p&&c>r&&(p=p.removeBefore(o,u,c-f)),p&&y<d&&(p=p.removeAfter(o,u,y-f)),f&&(c-=f,l-=f)}return t.__ownerID?(t.size=l-c,t._origin=c,t._capacity=l,t._level=u,t._root=p,t._tail=m,t.__hash=void 0,t.__altered=!0,t):fn(c,l,u,p,m)}function bn(t){return t<r?0:t-1>>>5<<5}var vn,Mn=function(t){function e(t){return null==t?wn():ct(t)?t:wn().withMutations((function(e){var n=E(t);Kt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("OrderedMap {","}")},e.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):wn()},e.prototype.set=function(t,e){return _n(this,t,e)},e.prototype.remove=function(t){return _n(this,t,a)},e.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},e.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?jn(e,n,t,this.__hash):0===this.size?wn():(this.__ownerID=t,this.__altered=!1,this._map=e,this._list=n,this)},e}(Te);function jn(t,e,n,o){var r=Object.create(Mn.prototype);return r.size=t?t.size:0,r._map=t,r._list=e,r.__ownerID=n,r.__hash=o,r.__altered=!1,r}function wn(){return vn||(vn=jn(qe(),dn()))}function _n(t,e,n){var o,i,c=t._map,s=t._list,l=c.get(e),u=void 0!==l;if(n===a){if(!u)return t;s.size>=r&&s.size>=2*c.size?(o=(i=s.filter((function(t,e){return void 0!==t&&l!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(o.__ownerID=i.__ownerID=t.__ownerID)):(o=c.remove(e),i=l===s.size-1?s.pop():s.set(l,void 0))}else if(u){if(n===s.get(l)[1])return t;o=c,i=s.set(l,[e,n])}else o=c.set(e,s.size),i=s.set(s.size,[e,n]);return t.__ownerID?(t.size=o.size,t._map=o,t._list=i,t.__hash=void 0,t.__altered=!0,t):jn(o,i)}Mn.isOrderedMap=ct,Mn.prototype[x]=!0,Mn.prototype[o]=Mn.prototype.remove;var Sn="@@__IMMUTABLE_STACK__@@";function En(t){return Boolean(t&&t[Sn])}var Nn=function(t){function e(t){return null==t?Ln():En(t)?t:Ln().pushAll(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("Stack [","]")},e.prototype.get=function(t,e){var n=this._head;for(t=u(this,t);n&&t--;)n=n.next;return n?n.value:e},e.prototype.peek=function(){return this._head&&this._head.value},e.prototype.push=function(){var t=arguments;if(0===arguments.length)return this;for(var e=this.size+arguments.length,n=this._head,o=arguments.length-1;o>=0;o--)n={value:t[o],next:n};return this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Cn(e,n)},e.prototype.pushAll=function(e){if(0===(e=t(e)).size)return this;if(0===this.size&&En(e))return e;Kt(e.size);var n=this.size,o=this._head;return e.__iterate((function(t){n++,o={value:t,next:o}}),!0),this.__ownerID?(this.size=n,this._head=o,this.__hash=void 0,this.__altered=!0,this):Cn(n,o)},e.prototype.pop=function(){return this.slice(1)},e.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):Ln()},e.prototype.slice=function(e,n){if(f(e,n,this.size))return this;var o=d(e,this.size);if(y(n,this.size)!==this.size)return t.prototype.slice.call(this,e,n);for(var r=this.size-o,i=this._head;o--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Cn(r,i)},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Cn(this.size,this._head,t,this.__hash):0===this.size?Ln():(this.__ownerID=t,this.__altered=!1,this)},e.prototype.__iterate=function(t,e){var n=this;if(e)return new K(this.toArray()).__iterate((function(e,o){return t(e,o,n)}),e);for(var o=0,r=this._head;r&&!1!==t(r.value,o++,this);)r=r.next;return o},e.prototype.__iterator=function(t,e){if(e)return new K(this.toArray()).__iterator(t,e);var n=0,o=this._head;return new R((function(){if(o){var e=o.value;return o=o.next,U(t,n++,e)}return{value:void 0,done:!0}}))},e}(N);Nn.isStack=En;var Dn,kn=Nn.prototype;function Cn(t,e,n,o){var r=Object.create(kn);return r.size=t,r._head=e,r.__ownerID=n,r.__hash=o,r.__altered=!1,r}function Ln(){return Dn||(Dn=Cn(0))}kn[Sn]=!0,kn.shift=kn.pop,kn.unshift=kn.push,kn.unshiftAll=kn.pushAll,kn.withMutations=Oe,kn.wasAltered=Ae,kn.asImmutable=xe,kn["@@transducer/init"]=kn.asMutable=Ie,kn["@@transducer/step"]=function(t,e){return t.unshift(e)},kn["@@transducer/result"]=function(t){return t.asImmutable()};var On="@@__IMMUTABLE_SET__@@";function In(t){return Boolean(t&&t[On])}function xn(t){return In(t)&&A(t)}function An(t,e){if(t===e)return!0;
vendor: 7,221 bytes, line 2
2if(!b(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||M(t)!==M(e)||w(t)!==w(e)||A(t)!==A(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!_(t);if(A(t)){var o=t.entries();return e.every((function(t,e){var r=o.next().value;return r&&lt(r[1],t)&&(n||lt(r[0],e))}))&&o.next().done}var r=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{r=!0;var i=t;t=e,e=i}var c=!0,s=e.__iterate((function(e,o){if(n?!t.has(e):r?!lt(e,t.get(o,a)):!lt(t.get(o,a),e))return c=!1,!1}));return c&&t.size===s}function Tn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function zn(t){if(!t||"object"!=typeof t)return t;if(!b(t)){if(!ee(t))return t;t=q(t)}if(M(t)){var e={};return t.__iterate((function(t,n){ie(n)||(e[n]=zn(t))})),e}var n=[];return t.__iterate((function(t){n.push(zn(t))})),n}var Pn=function(t){function e(e){return null==e?Yn():In(e)&&!A(e)?e:Yn().withMutations((function(n){var o=t(e);Kt(o.size),o.forEach((function(t){return n.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(E(t).keySeq())},e.intersect=function(t){return(t=S(t).toArray()).length?Un.intersect.apply(e(t.pop()),t):Yn()},e.union=function(t){return(t=S(t).toArray()).length?Un.union.apply(e(t.pop()),t):Yn()},e.prototype.toString=function(){return this.__toString("Set {","}")},e.prototype.has=function(t){return this._map.has(t)},e.prototype.add=function(t){return Bn(this,this._map.set(t,t))},e.prototype.remove=function(t){return Bn(this,this._map.remove(t))},e.prototype.clear=function(){return Bn(this,this._map.clear())},e.prototype.map=function(t,e){var n=this,o=!1,r=Bn(this,this._map.mapEntries((function(r){var i=r[1],a=t.call(e,i,i,n);return a!==i&&(o=!0),[a,a]}),e));return o?r:this},e.prototype.union=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(n){for(var o=0;o<e.length;o++)"string"==typeof e[o]?n.add(e[o]):t(e[o]).forEach((function(t){return n.add(t)}))})):this.constructor(e[0])},e.prototype.intersect=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(0===e.length)return this;e=e.map((function(e){return t(e)}));var o=[];return this.forEach((function(t){e.every((function(e){return e.includes(t)}))||o.push(t)})),this.withMutations((function(t){o.forEach((function(e){t.remove(e)}))}))},e.prototype.subtract=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(0===e.length)return this;e=e.map((function(e){return t(e)}));var o=[];return this.forEach((function(t){e.some((function(e){return e.includes(t)}))&&o.push(t)})),this.withMutations((function(t){o.forEach((function(e){t.remove(e)}))}))},e.prototype.sort=function(t){return co(Ut(this,t))},e.prototype.sortBy=function(t,e){return co(Ut(this,e,t))},e.prototype.wasAltered=function(){return this._map.wasAltered()},e.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e){return t(e,e,n)}),e)},e.prototype.__iterator=function(t,e){return this._map.__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):0===this.size?this.__empty():(this.__ownerID=t,this._map=e,this)},e}(D);Pn.isSet=In;var Rn,Un=Pn.prototype;function Bn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function Fn(t,e){var n=Object.create(Un);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Yn(){return Rn||(Rn=Fn(qe()))}Un[On]=!0,Un[o]=Un.remove,Un.merge=Un.concat=Un.union,Un.withMutations=Oe,Un.asImmutable=xe,Un["@@transducer/init"]=Un.asMutable=Ie,Un["@@transducer/step"]=function(t,e){return t.add(e)},Un["@@transducer/result"]=function(t){return t.asImmutable()},Un.__empty=Yn,Un.__make=Fn;var Qn,Hn=function(t){function e(t,n,o){if(!(this instanceof e))return new e(t,n,o);if(Vt(0!==o,"Cannot step a Range by 0"),t=t||0,void 0===n&&(n=1/0),o=void 0===o?1:Math.abs(o),n<t&&(o=-o),this._start=t,this._end=n,this._step=o,this.size=Math.max(0,Math.ceil((n-t)/o-1)+1),0===this.size){if(Qn)return Qn;Qn=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},e.prototype.get=function(t,e){return this.has(t)?this._start+u(this,t)*this._step:e},e.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},e.prototype.slice=function(t,n){return f(t,n,this.size)?this:(t=d(t,this.size),(n=y(n,this.size))<=t?new e(0,0):new e(this.get(t,this._end),this.get(n,this._end),this._step))},e.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},e.prototype.lastIndexOf=function(t){return this.indexOf(t)},e.prototype.__iterate=function(t,e){for(var n=this.size,o=this._step,r=e?this._start+(n-1)*o:this._start,i=0;i!==n&&!1!==t(r,e?n-++i:i++,this);)r+=e?-o:o;return i},e.prototype.__iterator=function(t,e){var n=this.size,o=this._step,r=e?this._start+(n-1)*o:this._start,i=0;return new R((function(){if(i===n)return{value:void 0,done:!0};var a=r;return r+=e?-o:o,U(t,e?n-++i:i++,a)}))},e.prototype.equals=function(t){return t instanceof e?this._start===t._start&&this._end===t._end&&this._step===t._step:An(this,t)},e}(J);function Zn(t,e,n){for(var o=Xt(e),r=0;r!==o.length;)if((t=re(t,o[r++],a))===a)return n;return t}function Wn(t,e){return Zn(this,t,e)}function qn(t,e){return Zn(t,e,a)!==a}function Gn(){Kt(this.size);var t={};return this.__iterate((function(e,n){ie(n)||(t[n]=e)})),t}S.isIterable=b,S.isKeyed=M,S.isIndexed=w,S.isAssociative=_,S.isOrdered=A,S.Iterator=R,Tn(S,{toArray:function(){Kt(this.size);var t=new Array(this.size||0),e=M(this),n=0;return this.__iterate((function(o,r){t[n++]=e?[r,o]:o})),t},toIndexedSeq:function(){return new Ct(this)},toJS:function(){return zn(this)},toKeyedSeq:function(){return new kt(this,!0)},toMap:function(){return Te(this.toKeyedSeq())},toObject:Gn,toOrderedMap:function(){return Mn(this.toKeyedSeq())},toOrderedSet:function(){return co(M(this)?this.valueSeq():this)},toSet:function(){return Pn(M(this)?this.valueSeq():this)},toSetSeq:function(){return new Lt(this)},toSeq:function(){return w(this)?this.toIndexedSeq():M(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Nn(M(this)?this.valueSeq():this)},toList:function(){return an(M(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Qt(this,function(t,e){var n=M(t),o=[t].concat(e).map((function(t){return b(t)?n&&(t=E(t)):t=n?nt(t):ot
vendor: 5,506 bytes, line 2
2(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===o.length)return t;if(1===o.length){var r=o[0];if(r===t||n&&M(r)||w(t)&&w(r))return r}var i=new K(o);return n?i=i.toKeyedSeq():w(t)||(i=i.toSetSeq()),(i=i.flatten(!0)).size=o.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),i}(this,t))},includes:function(t){return this.some((function(e){return lt(e,t)}))},entries:function(){return this.__iterator(2)},every:function(t,e){Kt(this.size);var n=!0;return this.__iterate((function(o,r,i){if(!t.call(e,o,r,i))return n=!1,!1})),n},filter:function(t,e){return Qt(this,Tt(this,t,e,!0))},partition:function(t,e){return function(t,e,n){var o=M(t),r=[[],[]];t.__iterate((function(i,a){r[e.call(n,i,a,t)?1:0].push(o?[a,i]:i)}));var i=Zt(t);return r.map((function(e){return Qt(t,i(e))}))}(this,t,e)},find:function(t,e,n){var o=this.findEntry(t,e);return o?o[1]:n},forEach:function(t,e){return Kt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Kt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(o){n?n=!1:e+=t,e+=null!=o?o.toString():""})),e},keys:function(){return this.__iterator(0)},map:function(t,e){return Qt(this,xt(this,t,e))},reduce:function(t,e,n){return $n(this,t,e,n,arguments.length<2,!1)},reduceRight:function(t,e,n){return $n(this,t,e,n,arguments.length<2,!0)},reverse:function(){return Qt(this,At(this,!0))},slice:function(t,e){return Qt(this,zt(this,t,e,!0))},some:function(t,e){Kt(this.size);var n=!1;return this.__iterate((function(o,r,i){if(t.call(e,o,r,i))return n=!0,!1})),n},sort:function(t){return Qt(this,Ut(this,t))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return l(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var o=Te().asMutable();return t.__iterate((function(r,i){o.update(e.call(n,r,i,t),0,(function(t){return t+1}))})),o.asImmutable()}(this,t,e)},equals:function(t){return An(this,t)},entrySeq:function(){var t=this;if(t._cache)return new K(t._cache);var e=t.toSeq().map(eo).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(no(t),e)},findEntry:function(t,e,n){var o=n;return this.__iterate((function(n,r,i){if(t.call(e,n,r,i))return o=[r,n],!1})),o},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(t){return this.find(p,null,t)},flatMap:function(t,e){return Qt(this,function(t,e,n){var o=Zt(t);return t.toSeq().map((function(r,i){return o(e.call(n,r,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Qt(this,Rt(this,t,!0))},fromEntrySeq:function(){return new Ot(this)},get:function(t,e){return this.find((function(e,n){return lt(n,t)}),void 0,e)},getIn:Wn,groupBy:function(t,e){return function(t,e,n){var o=M(t),r=(A(t)?Mn():Te()).asMutable();t.__iterate((function(i,a){r.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(o?[a,i]:i),t}))}));var i=Zt(t);return r.map((function(e){return Qt(t,i(e))})).asImmutable()}(this,t,e)},has:function(t){return this.get(t,a)!==a},hasIn:function(t){return qn(this,t)},isSubset:function(t){return t="function"==typeof t.includes?t:S(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:S(t)).isSubset(this)},keyOf:function(t){return this.findKey((function(e){return lt(e,t)}))},keySeq:function(){return this.toSeq().map(to).toIndexedSeq()},last:function(t){return this.toSeq().reverse().first(t)},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return Bt(this,t)},maxBy:function(t,e){return Bt(this,e,t)},min:function(t){return Bt(this,t?oo(t):io)},minBy:function(t,e){return Bt(this,e?oo(e):io,t)},rest:function(){return this.slice(1)},skip:function(t){return 0===t?this:this.slice(Math.max(0,t))},skipLast:function(t){return 0===t?this:this.slice(0,-Math.max(0,t))},skipWhile:function(t,e){return Qt(this,Pt(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(no(t),e)},sortBy:function(t,e){return Qt(this,Ut(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return this.slice(-Math.max(0,t))},takeWhile:function(t,e){return Qt(this,function(t,e,n){var o=Wt(t);return o.__iterateUncached=function(o,r){var i=this;if(r)return this.cacheResult().__iterate(o,r);var a=0;return t.__iterate((function(t,r,c){return e.call(n,t,r,c)&&++a&&o(t,r,i)})),a},o.__iteratorUncached=function(o,r){var i=this;if(r)return this.cacheResult().__iterator(o,r);var a=t.__iterator(2,r),c=!0;return new R((function(){if(!c)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var r=t.value,s=r[0],l=r[1];return e.call(n,l,s,i)?2===o?t:U(o,s,l,t):(c=!1,{value:void 0,done:!0})}))},o}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(no(t),e)},update:function(t){return t(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=A(t),n=M(t),o=e?1:0;return function(t,e){return e=ut(e,3432918353),e=ut(e<<15|e>>>-15,461845907),e=ut(e<<13|e>>>-13,5),e=ut((e=e+3864292196^t)^e>>>
vendor: 9,825 bytes, line 2
216,2246822507),e=pt((e=ut(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){o=31*o+ao(dt(t),dt(e))|0}:function(t,e){o=o+ao(dt(t),dt(e))|0}:e?function(t){o=31*o+dt(t)|0}:function(t){o=o+dt(t)|0}),o)}(this))}});var Jn=S.prototype;Jn[g]=!0,Jn[P]=Jn.values,Jn.toJSON=Jn.toArray,Jn.__toStringMapper=ne,Jn.inspect=Jn.toSource=function(){return this.toString()},Jn.chain=Jn.flatMap,Jn.contains=Jn.includes,Tn(E,{flip:function(){return Qt(this,It(this))},mapEntries:function(t,e){var n=this,o=0;return Qt(this,this.toSeq().map((function(r,i){return t.call(e,[i,r],o++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Qt(this,this.toSeq().flip().map((function(o,r){return t.call(e,o,r,n)})).flip())}});var Vn=E.prototype;Vn[v]=!0,Vn[P]=Jn.entries,Vn.toJSON=Gn,Vn.__toStringMapper=function(t,e){return ne(e)+": "+ne(t)},Tn(N,{toKeyedSeq:function(){return new kt(this,!1)},filter:function(t,e){return Qt(this,Tt(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Qt(this,At(this,!1))},slice:function(t,e){return Qt(this,zt(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(e||0,0),0===n||2===n&&!e)return this;t=d(t,t<0?this.count():this.size);var o=this.slice(0,t);return Qt(this,1===n?o:o.concat(Jt(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(t){return this.get(0,t)},flatten:function(t){return Qt(this,Rt(this,t,!1))},get:function(t,e){return(t=u(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=u(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Qt(this,function(t,e){var n=Wt(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,o){var r=this,i=0;return t.__iterate((function(t){return(!i||!1!==n(e,i++,r))&&!1!==n(t,i++,r)}),o),i},n.__iteratorUncached=function(n,o){var r,i=t.__iterator(1,o),a=0;return new R((function(){return(!r||a%2)&&(r=i.next()).done?r:a%2?U(n,a++,e):U(n,a++,r.value,r)}))},n}(this,t))},interleave:function(){var t=[this].concat(Jt(arguments)),e=Yt(this.toSeq(),J.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Qt(this,n)},keySeq:function(){return Hn(0,this.size)},last:function(t){return this.get(-1,t)},skipWhile:function(t,e){return Qt(this,Pt(this,t,e,!1))},zip:function(){return Qt(this,Yt(this,ro,[this].concat(Jt(arguments))))},zipAll:function(){return Qt(this,Yt(this,ro,[this].concat(Jt(arguments)),!0))},zipWith:function(t){var e=Jt(arguments);return e[0]=this,Qt(this,Yt(this,t,e))}});var Kn=N.prototype;Kn[j]=!0,Kn[x]=!0,Tn(D,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}});var Xn=D.prototype;function $n(t,e,n,o,r,i){return Kt(t.size),t.__iterate((function(t,i,a){r?(r=!1,n=t):n=e.call(o,n,t,i,a)}),i),n}function to(t,e){return e}function eo(t,e){return[e,t]}function no(t){return function(){return!t.apply(this,arguments)}}function oo(t){return function(){return-t.apply(this,arguments)}}function ro(){return Jt(arguments)}function io(t,e){return t<e?1:t>e?-1:0}function ao(t,e){return t^e+2654435769+(t<<6)+(t>>2)}Xn.has=Jn.includes,Xn.contains=Xn.includes,Xn.keys=Xn.values,Tn(G,Vn),Tn(J,Kn),Tn(V,Xn);var co=function(t){function e(t){return null==t?po():xn(t)?t:po().withMutations((function(e){var n=D(t);Kt(n.size),n.forEach((function(t){return e.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(E(t).keySeq())},e.prototype.toString=function(){return this.__toString("OrderedSet {","}")},e}(Pn);co.isOrderedSet=xn;var so,lo=co.prototype;function uo(t,e){var n=Object.create(lo);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function po(){return so||(so=uo(wn()))}lo[x]=!0,lo.zip=Kn.zip,lo.zipWith=Kn.zipWith,lo.zipAll=Kn.zipAll,lo.__empty=po,lo.__make=uo;var fo={LeftThenRight:-1,RightThenLeft:1},yo=function(t,e){var n;!function(t){if(O(t))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(I(t))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===t||"object"!=typeof t)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(t);var o=function(i){var a=this;if(i instanceof o)return i;if(!(this instanceof o))return new o(i);if(!n){n=!0;var c=Object.keys(t),s=r._indices={};r._name=e,r._keys=c,r._defaultValues=t;for(var l=0;l<c.length;l++){var u=c[l];s[u]=l,r[u]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+go(this)+' with property "'+u+'" since that property name is part of the Record API.'):vo(r,u)}}return this.__ownerID=void 0,this._values=an().withMutations((function(t){t.setSize(a._keys.length),E(i).forEach((function(e,n){t.set(a._indices[n],e===a._defaultValues[n]?void 0:e)}))})),this},r=o.prototype=Object.create(ho);return r.constructor=o,e&&(o.displayName=e),o};yo.prototype.toString=function(){for(var t,e=go(this)+" { ",n=this._keys,o=0,r=n.length;o!==r;o++)e+=(o?", ":"")+(t=n[o])+": "+ne(this.get(t));return e+" }"},yo.prototype.equals=function(t){return this===t||O(t)&&bo(this).equals(bo(t))},yo.prototype.hashCode=function(){return bo(this).hashCode()},yo.prototype.has=function(t){return this._indices.hasOwnProperty(t)},yo.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._indices[t],o=this._values.get(n);return void 0===o?this._defaultValues[t]:o},yo.prototype.set=function(t,e){if(this.has(t)){var n=this._values.set(this._indices[t],e===this._defaultValues[t]?void 0:e);if(n!==this._values&&!this.__ownerID)return mo(this,n)}return this},yo.prototype.remove=function(t){return this.set(t)},yo.prototype.clear=function(){var t=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:mo(this,t)},yo.prototype.wasAltered=function(){return this._values.wasAltered()},yo.prototype.toSeq=function(){return bo(this)},yo.prototype.toJS=function(){return zn(this)},yo.prototype.entries=function(){return this.__iterator(2)},yo.prototype.__iterator=function(t,e){return bo(this).__iterator(t,e)},yo.prototype.__iterate=function(t,e){return bo(this).__iterate(t,e)},yo.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._values.__ensureOwner(t);return t?mo(this,e,t):(this.__ownerID=t,this._values=e,this)},yo.isRecord=O,yo.getDescriptiveName=go;var ho=yo.prototype;function mo(t,e,n){var o=Object.create(Object.getPrototypeOf(t));return o._values=e,o.__ownerID=n,o}function go(t){return t.constructor.displayName||t.constructor.name||"Record"}function bo(t){return nt(t._keys.map((function(e){return[e,t.get(e)]})))}function vo(t,e){try{Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){Vt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}catch(t){}}ho[L]=!0,ho[o]=ho.remove,ho.deleteIn=ho.removeIn=ye,ho.getIn=Wn,ho.hasIn=Jn.hasIn,ho.merge=be,ho.mergeWith=ve,ho.mergeIn=Ce,ho.mergeDeep=De,ho.mergeDeepWith=ke,ho.mergeDeepIn=Le,ho.setIn=fe,ho.update=me,ho.updateIn=ge,ho.withMutations=Oe,ho.asMutable=Ie,ho.asImmutable=xe,ho[P]=ho.entries,ho.toJSON=ho.toObject=Jn.toObject,ho.inspect=ho.toSource=function(){return this.toString()};var Mo,jo=function(t){function e(t,n){if(!(this instanceof e))return new e(t,n);if(this._value=t,this.size=void 0===n?1/0:Math.max(0,n),0===this.size){if(Mo)return Mo;Mo=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},e.prototype.get=function(t,e){return this.has(t)?this._value:e},e.prototype.includes=function(t){return lt(this._value,t)},e.prototype.slice=function(t,n){var o=this.size;return f(t,n,o)?this:new e(this._value,y(n,o)-d(t,o))},e.prototype.reverse=function(){return this},e.prototype.indexOf=function(t){return lt(this._value,t)?0:-1},e.prototype.lastIndexOf=function(t){return lt(this._value,t)?this.size:-1},e.prototype.__iterate=function(t,e){for(var n=this.size,o=0;o!==n&&!1!==t(this._value,e?n-++o:o++,this););return o},e.prototype.__iterator=function(t,e){var n=this,o=this.size,r=0;return new R((function(){return r===o?{value:void 0,done:!0}:U(t,e?o-++r:r++,n._value)}))},e.prototype.equals=function(t){return t instanceof e?lt(this._value,t._value):An(this,t)},e}(J);function wo(t,e){return _o([],e||So,t,"",e&&e.length>2?[]:void 0,{"":t})}function _o(t,e,n,o,r,i){if("string"!=typeof n&&!I(n)&&(W(n)||F(n)||te(n))){if(~t.indexOf(n))throw new TypeError("Cannot convert circular structure to Immutable");t.push(n),r&&""!==o&&r.push(o);var a=e.call(i,o,q(n).map((function(o,i){return _o(t,e,o,i,r,n)})),r&&r.slice());return t.pop(),r&&r.pop(),a}return n}function So(t,e){return w(e)?e.toList():M(e)?e.toMap():e.toSet()}var Eo="4.3.8",No=S;const Do={version:Eo,Collection:S,Iterable:S,Seq:q,Map:Te,OrderedMap:Mn,List:an,Stack:Nn,Set:Pn,OrderedSet:co,PairSorting:fo,Record:yo,Range:Hn,Repeat:jo,is:lt,fromJS:wo,hash:dt,isImmutable:I,isCollection:b,isKeyed:M,isIndexed:w,isAssociative:_,isOrdered:A,isValueObject:st,isPlainObject:te,isSeq:C,isList:rn,isMap:at,isOrderedMap:ct,isStack:En,isSet:In,isOrderedSet:xn,isRecord:O,get:re,getIn:Zn,has:oe,hasIn:qn,merge:je,mergeDeep:_e,mergeWith:we,mergeDeepWith:Se,remove:ce,removeIn:de,set:se,setIn:pe,update:he,updateIn:le}}
2,43754(t,e,n){window,t.exports=function(t,e,n){return i={},o.m=r=[function(t,e,n){t.exports=n(10)()},function(e,n){e.exports=t},function(t,e,n){var o;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t=[],e=0;e<arguments.length;e++){var o=arguments[e];if(o){var i=typeof o;if("string"==i||"number"==i)t.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&t.push(a)}else if("object"==i)for(var c in o)n.call(o,c)&&o[c]&&t.push(c)}}return t.join(" ")}t.exports?(r.default=r,t.exports=r):void 0===(o=function(){return r}.apply(e,[]))||(t.exports=o)}()},function(t,n){t.exports=e},function(t,e,n){function o(t){if(c[t])return c[t].exports;var e=c[t]={i:t,l:!1,exports:{}};return a[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var r,i,a,c;window,t.exports=(r=n(3),i=n(5),c={},o.m=a=[function(t,e){t.exports=r},function(t,e){t.exports=i},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";n.r(e);var o=n(0),r=n(1);function i(t){var e=t.getSelection(),n=t.getCurrentContent(),o=e.getStartKey(),r=e.getEndKey(),i=n.getBlockMap();return i.toSeq().skipUntil((function(t,e){return e===o})).takeUntil((function(t,e){return e===r})).concat([[r,i.get(r)]])}function a(t){return i(t).toList()}function c(t){if(t)return a(t).get(0)}function s(t){if(t){var e=c(t),n=t.getCurrentContent().getBlockMap().toSeq().toList(),o=0;if(n.forEach((function(t,n){t.get("key")===e.get("key")&&(o=n-1)})),-1<o)return n.get(o)}}function l(t){return t?t.getCurrentContent().getBlockMap().toList():new r.List}function u(t){var e=a(t);if(!e.some((function(t){return t.type!==e.get(0).type})))return e.get(0).type}function p(t){var e=o.RichUtils.tryToRemoveBlockStyle(t);return e?o.EditorState.push(t,e,"change-block-type"):t}function f(t){var e="",n=t.getSelection(),o=n.getAnchorOffset(),r=n.getFocusOffset(),i=a(t);if(0<i.size){if(n.getIsBackward()){var c=o;o=r,r=c}for(var s=0;s<i.size;s+=1){var l=0===s?o:0,u=s===i.size-1?r:i.get(s).getText().length;e+=i.get(s).getText().slice(l,u)}}return e}function d(t){var e=t.getCurrentContent(),n=t.getSelection(),r=o.Modifier.removeRange(e,n,"forward"),i=r.getSelectionAfter(),a=r.getBlockForKey(i.getStartKey());return r=o.Modifier.insertText(r,i,"\n",a.getInlineStyleAt(i.getStartOffset()),null),o.EditorState.push(t,r,"insert-fragment")}function y(t){var e=o.Modifier.splitBlock(t.getCurrentContent(),t.getSelection());return p(o.EditorState.push(t,e,"split-block"))}function h(t){var e=t.getCurrentContent().getBlockMap().toList(),n=t.getSelection().merge({anchorKey:e.first().get("key"),anchorOffset:0,focusKey:e.last().get("key"),focusOffset:e.last().getLength()}),r=o.Modifier.removeRange(t.getCurrentContent(),n,"forward");return o.EditorState.push(t,r,"remove-range")}function m(t,e){var n=o.Modifier.setBlockData(t.getCurrentContent(),t.getSelection(),e);return o.EditorState.push(t,n,"change-block-data")}function g(t){var e=new r.Map({}),n=a(t);if(n&&0<n.size)for(var o=function(t){var o=n.get(t).getData();if(!o||0===o.size)return e=e.clear(),"break";if(0===t)e=o;else if(e.forEach((function(t,n){o.get(n)&&o.get(n)===t||(e=e.delete(n))})),0===e.size)return e=e.clear(),"break"},i=0;i<n.size&&"break"!==o(i);i+=1);return e}var b=Object(r.Map)({code:{element:"pre"}}),v=o.DefaultDraftBlockRenderMap.merge(b);function M(t){if(t){var e=t.getType();return"unordered-list-item"===e||"ordered-list-item"===e}return!1}function j(t,e,n){var r,a=t.getSelection();r=a.getIsBackward()?a.getFocusKey():a.getAnchorKey();var c=t.getCurrentContent(),s=c.getBlockForKey(r),l=s.getType();if("unordered-list-item"!==l&&"ordered-list-item"!==l)return t;var u=c.getBlockBefore(r);if(!u)return t;if(u.getType()!==l)return t;var p=s.getDepth();if(1===e&&p===n)return t;var f,d,y,h,m,g,b,v=Math.min(u.getDepth()+1,n),M=(d=e,y=v,h=(f=t).getSelection(),g=(m=f.getCurrentContent()).getBlockMap(),b=i(f).map((function(t){var e=t.getDepth()+d;return e=Math.max(0,Math.min(e,y)),t.set("depth",e)})),g=g.merge(b),m.merge({blockMap:g,selectionBefore:h,selectionAfter:h}));return o.EditorState.push(t,M,"adjust-depth")}function w(t,e){var n;return 13===(n=e).which&&(n.getModifierState("Shift")||n.getModifierState("Alt")||n.getModifierState("Control"))?t.getSelection().isCollapsed()?o.RichUtils.insertSoftNewline(t):d(t):function(t){var e=t.getSelection();if(e.isCollapsed()){var n=t.getCurrentContent(),o=e.getStartKey(),r=n.getBlockForKey(o);if(!M(r)&&"unstyled"!==r.getType()&&r.getLength()===e.getStartOffset())return y(t);if(M(r)&&0===r.getLength()){var i=r.getDepth();if(0===i)return p(t);if(0<i)return j(t,-1,i)}}}(t)}function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function S(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E(t){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function N(t){var e=t.getSelection();if(e.isCollapsed()){var n={},o=t.getCurrentInlineStyle().toList().toJS();if(o)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(t){n[t]=0<=o.indexOf(t)})),n}
2var r=e.getStartOffset(),i=e.getEndOffset(),c=a(t);if(0<c.size){var s=function(){for(var t={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},e=0;e<c.size;e+=1){var n=0===e?r:0,o=e===c.size-1?i:c.get(e).getText().length;n===o&&0===n?(n=1,o=2):n===o&&--n;for(var a=function(n){var o=c.get(e).getInlineStyleAt(n);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(e){t[e]=t[e]&&o.get(e)===e}))},s=n;s<o;s+=1)a(s)}return{v:t}}();if("object"===E(s))return s.v}return{}}function D(t){var e,n=t.getSelection(),o=n.getStartOffset(),r=n.getEndOffset();o===r&&0===o?r=1:o===r&&--o;for(var i=c(t),a=o;a<r;a+=1){var s=i.getEntityAt(a);if(!s){e=void 0;break}if(a===o)e=s;else if(e!==s){e=void 0;break}}return e}function k(t,e){var n,o=c(t);return o.findEntityRanges((function(t){return t.get("entity")===e}),(function(t,e){n={start:t,end:e,text:o.get("text").slice(t,e)}})),n}function C(t,e,n){O[t]["".concat(t.toLowerCase(),"-").concat(n)]=S({},"".concat(e),n)}function L(){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){S(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},O.color,{},O.bgcolor,{},O.fontSize,{},O.fontFamily,{CODE:O.CODE,SUPERSCRIPT:O.SUPERSCRIPT,SUBSCRIPT:O.SUBSCRIPT})}var O={color:{},bgcolor:{},fontSize:{},fontFamily:{},CODE:{fontFamily:"monospace",wordWrap:"break-word",background:"#f1f1f1",borderRadius:3,padding:"1px 3px"},SUPERSCRIPT:{fontSize:11,position:"relative",top:-8,display:"inline-flex"},SUBSCRIPT:{fontSize:11,position:"relative",bottom:-8,display:"inline-flex"}};function I(t,e,n){var r=t.getSelection(),i=Object.keys(O[e]).reduce((function(t,e){return o.Modifier.removeInlineStyle(t,r,e)}),t.getCurrentContent()),a=o.EditorState.push(t,i,"changeinline-style"),c=t.getCurrentInlineStyle();if(r.isCollapsed()&&(a=c.reduce((function(t,e){return o.RichUtils.toggleInlineStyle(t,e)}),a)),"SUPERSCRIPT"===e||"SUBSCRIPT"==e)c.has(n)||(a=o.RichUtils.toggleInlineStyle(a,n));else{var s="bgcolor"===e?"backgroundColor":e;c.has("".concat(s,"-").concat(n))||(a=o.RichUtils.toggleInlineStyle(a,"".concat(e.toLowerCase(),"-").concat(n)),C(e,s,n))}return a}function x(t){t&&t.getCurrentContent().getBlockMap().map((function(t){return t.get("characterList")})).toList().flatten().forEach((function(t){t&&0===t.indexOf("color-")?C("color","color",t.substr(6)):t&&0===t.indexOf("bgcolor-")?C("bgcolor","backgroundColor",t.substr(8)):t&&0===t.indexOf("fontsize-")?C("fontSize","fontSize",+t.substr(9)):t&&0===t.indexOf("fontfamily-")&&C("fontFamily","fontFamily",t.substr(11))}))}function A(t,e,n){var o=t.getInlineStyleAt(n).toList().filter((function(t){return t.startsWith(e.toLowerCase())}));if(o&&0<o.size)return o.get(0)}function T(t,e){if(t&&e&&0<e.length){var n=function(){var n=t.getSelection(),o={};if(n.isCollapsed())return e.forEach((function(e){o[e]=function(t,e){var n=t.getCurrentInlineStyle().toList().filter((function(t){return t.startsWith(e.toLowerCase())}));if(n&&0<n.size)return n.get(0)}(t,e)})),{v:o};var r=n.getStartOffset(),i=n.getEndOffset(),c=a(t);if(0<c.size){for(var s=function(t){var n=0===t?r:0,a=t===c.size-1?i:c.get(t).getText().length;n===a&&0===n?(n=1,a=2):n===a&&--n;for(var s=function(r){r===n?e.forEach((function(e){o[e]=A(c.get(t),e,r)})):e.forEach((function(e){o[e]&&o[e]!==A(c.get(t),e,r)&&(o[e]=void 0)}))},l=n;l<a;l+=1)s(l)},l=0;l<c.size;l+=1)s(l);return{v:o}}}();if("object"===E(n))return n.v}return{}}function z(t){var e=t.getCurrentInlineStyle(),n=t.getCurrentContent();return e.forEach((function(e){n=o.Modifier.removeInlineStyle(n,t.getSelection(),e)})),o.EditorState.push(t,n,"change-inline-style")}n.d(e,"isListBlock",(function(){return M})),n.d(e,"changeDepth",(function(){return j})),n.d(e,"handleNewLine",(function(){return w})),n.d(e,"getEntityRange",(function(){return k})),n.d(e,"getCustomStyleMap",(function(){return L})),n.d(e,"toggleCustomInlineStyle",(function(){return I})),n.d(e,"getSelectionEntity",(function(){return D})),n.d(e,"extractInlineStyle",(function(){return x})),n.d(e,"removeAllInlineStyles",(function(){return z})),n.d(e,"getSelectionInlineStyle",(function(){return N})),n.d(e,"getSelectionCustomInlineStyle",(function(){return T})),n.d(e,"getSelectedBlocksMap",(function(){return i})),n.d(e,"getSelectedBlocksList",(function(){return a})),n.d(e,"getSelectedBlock",(function(){return c})),n.d(e,"getBlockBeforeSelectedBlock",(function(){return s})),n.d(e,"getAllBlocks",(function(){return l})),n.d(e,"getSelectedBlocksType",(function(){return u})),n.d(e,"removeSelectedBlocksStyle",(function(){return p})),n.d(e,"getSelectionText",(function(){return f})),n.d(e,"addLineBreakRemovingSelection",(function(){return d})),n.d(e,"insertNewUnstyledBlock",(function(){return y}
2)),n.d(e,"clearEditorContent",(function(){return h})),n.d(e,"setBlockData",(function(){return m})),n.d(e,"getSelectedBlocksMetadata",(function(){return g})),n.d(e,"blockRenderMap",(function(){return v}))}],o.c=c,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=2))},function(t,e){t.exports=n},function(t,e,n){function o(t){if(c[t])return c[t].exports;var e=c[t]={i:t,l:!1,exports:{}};return a[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var r,i,a,c;window,t.exports=(r=n(5),i=n(3),c={},o.m=a=[function(t,e){t.exports=r},function(t,e){t.exports=i},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";n.r(e);var o=n(1),r=n(0),i=function(t,e,n){var o,i=t.textContent;return""===i.trim()?{chunk:(o=n,{text:" ",inlines:[new r.OrderedSet],entities:[o],blocks:[]})}:{chunk:{text:i,inlines:Array(i.length).fill(e),entities:Array(i.length).fill(n),blocks:[]}}},a=function(){return{text:"\n",inlines:[new r.OrderedSet],entities:new Array(1),blocks:[]}},c=function(t,e){return{text:"",inlines:[],entities:[],blocks:[{type:t,depth:0,data:e||new r.Map({})}]}},s=function(t,e,n){return{text:"\r",inlines:[],entities:[],blocks:[{type:t,depth:Math.max(0,Math.min(4,e)),data:n||new r.Map({})}]}},l=function(t){return{text:"\r ",inlines:[new r.OrderedSet],entities:[t],blocks:[{type:"atomic",depth:0,data:new r.Map({})}]}},u=function(t,e){return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks)}},p=new r.Map({"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:"ul"},"ordered-list-item":{element:"li",wrapper:"ol"},blockquote:{element:"blockquote"},code:{element:"pre"},atomic:{element:"figure"},unstyled:{element:"p",aliasedElements:["div"]}}),f={code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",strong:"BOLD",ins:"UNDERLINE",sub:"SUBSCRIPT",sup:"SUPERSCRIPT"};function d(t){return t.style.textAlign?new r.Map({"text-align":t.style.textAlign}):t.style.marginLeft?new r.Map({"margin-left":t.style.marginLeft}):void 0}var y=function(t){var e=void 0;if(t instanceof HTMLAnchorElement){var n={};e=t.dataset&&void 0!==t.dataset.mention?(n.url=t.href,n.text=t.innerHTML,n.value=t.dataset.value,o.Entity.__create("MENTION","IMMUTABLE",n)):(n.url=t.getAttribute&&t.getAttribute("href")||t.href,n.title=t.innerHTML,n.targetOption=t.target,o.Entity.__create("LINK","MUTABLE",n))}return e};n.d(e,"default",(function(){return b}));
2var h=" ",m=new RegExp("&nbsp;","g"),g=!0;function b(t,e){var n,b,v=(n=e,(b=function(t){var e,n=null;return document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}(t.trim().replace(m,h)))?(g=!0,{chunk:function t(e,n,r,h,m,b){var v=e.nodeName.toLowerCase();if(b){var M=b(v,e);if(M){var j=o.Entity.__create(M.type,M.mutability,M.data||{});return{chunk:l(j)}}}if("#text"===v&&"\n"!==e.textContent)return i(e,n,m);if("br"===v)return{chunk:a()};if("img"===v&&e instanceof HTMLImageElement){var w={};w.src=e.getAttribute&&e.getAttribute("src")||e.src,w.alt=e.alt,w.height=e.style.height,w.width=e.style.width,e.style.float&&(w.alignment=e.style.float);var _=o.Entity.__create("IMAGE","MUTABLE",w);return{chunk:l(_)}}if("video"===v&&e instanceof HTMLVideoElement){var S={};S.src=e.getAttribute&&e.getAttribute("src")||e.src,S.alt=e.alt,S.height=e.style.height,S.width=e.style.width,e.style.float&&(S.alignment=e.style.float);var E=o.Entity.__create("VIDEO","MUTABLE",S);return{chunk:l(E)}}if("iframe"===v&&e instanceof HTMLIFrameElement){var N={};N.src=e.getAttribute&&e.getAttribute("src")||e.src,N.height=e.height,N.width=e.width;var D=o.Entity.__create("EMBEDDED_LINK","MUTABLE",N);return{chunk:l(D)}}var k,C=function(t,e){var n=p.filter((function(n){return n.element===t&&(!n.wrapper||n.wrapper===e)||n.wrapper===t||n.aliasedElements&&-1<n.aliasedElements.indexOf(t)})).keySeq().toSet().toArray();if(1===n.length)return n[0]}(v,h);C&&("ul"===v||"ol"===v?(h=v,r+=1):("unordered-list-item"!==C&&"ordered-list-item"!==C&&(h="",r=-1),g?(k=c(C,d(e)),g=!1):k=s(C,r,d(e)))),k=k||{text:"",inlines:[],entities:[],blocks:[]},n=function(t,e,n){var o,r=f[t];if(r)o=n.add(r).toOrderedSet();else if(e instanceof HTMLElement){var i=e;o=(o=n).withMutations((function(t){var e=i.style.color,n=i.style.backgroundColor,o=i.style.fontSize,r=i.style.fontFamily.replace(/^"|"$/g,""),a=i.style.fontWeight,c=i.style.textDecoration,s=i.style.fontStyle;e&&t.add("color-".concat(e.replace(/ /g,""))),n&&t.add("bgcolor-".concat(n.replace(/ /g,""))),o&&t.add("fontsize-".concat(o.replace(/px$/g,""))),r&&t.add("fontfamily-".concat(r)),"bold"===a&&t.add(f.strong),"underline"===c&&t.add(f.ins),"italic"===s&&t.add(f.em)})).toOrderedSet()}return o}(v,e,n);for(var L=e.firstChild;L;){var O=t(L,n,r,h,y(L)||m,b).chunk;k=u(k,O),L=L.nextSibling}return{chunk:k}}(b,new r.OrderedSet,-1,"",void 0,n).chunk}):null);if(v){var M=v.chunk,j=new r.OrderedMap({});M.entities&&M.entities.forEach((function(t){t&&(j=j.set(t,o.Entity.__get(t)))}));var w=0;return{contentBlocks:M.text.split("\r").map((function(t,e){var n=w+t.length,i=M&&M.inlines.slice(w,n),a=M&&M.entities.slice(w,n),c=new r.List(i.map((function(t,e){var n={style:t,entity:null};return a[e]&&(n.entity=a[e]),o.CharacterMetadata.create(n)})));return w=n,new o.ContentBlock({key:Object(o.genKey)(),type:M&&M.blocks[e]&&M.blocks[e].type||"unstyled",depth:M&&M.blocks[e]&&M.blocks[e].depth,data:M&&M.blocks[e]&&M.blocks[e].data||new r.Map({}),text:t,characterList:c})})),entityMap:j}}return null}}],o.c=c,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=2))},function(t,e,n){"use strict";function o(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){e&&Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t}function r(t){return Object.prototype.toString.call(t)}function i(t){return"[object Function]"===r(t)}function a(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},s={"http:":{validate:function(t,e,n){var o=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(o)?o.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var o=t.slice(e);
2return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(o)?3<=e&&":"===t[e-3]||3<=e&&"/"===t[e-3]?0:o.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var o=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(o)?o.match(n.re.mailto)[0].length:0}}},l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(t){var e=t.re=n(21)(t.__opts__),o=t.__tlds__.slice();function c(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||o.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),o.push(e.src_xn),e.src_tlds=o.join("|"),e.email_fuzzy=RegExp(c(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(c(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(c(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(c(e.tpl_host_fuzzy_test),"i");var s=[];function l(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){var n=t.__schemas__[e];if(null!==n){var o,a={validate:null,link:null};if(t.__compiled__[e]=a,"[object Object]"===r(n))return"[object RegExp]"===r(n.validate)?a.validate=(o=n.validate,function(t,e){var n=t.slice(e);return o.test(n)?n.match(o)[0].length:0}):i(n.validate)?a.validate=n.validate:l(e,n),void(i(n.normalize)?a.normalize=n.normalize:n.normalize?l(e,n):a.normalize=function(t,e){e.normalize(t)});"[object String]"!==r(n)?l(e,n):s.push(e)}})),s.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};var u,p=Object.keys(t.__compiled__).filter((function(e){return 0<e.length&&t.__compiled__[e]})).map(a).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+p+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+p+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),(u=t).__index__=-1,u.__text_cache__=""}function p(t,e){var n=t.__index__,o=t.__last_index__,r=t.__text_cache__.slice(n,o);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=o+e,this.raw=r,this.text=r,this.url=r}function f(t,e){var n=new p(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function d(t,e){if(!(this instanceof d))return new d(t,e);var n;e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||c.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=o({},c,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=o({},s,t),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},u(this)}d.prototype.add=function(t,e){return this.__schemas__[t]=e,u(this),this},d.prototype.set=function(t){return this.__opts__=o(this.__opts__,t),this},d.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,o,r,i,a,c,s;if(this.re.schema_test.test(t))for((c=this.re.schema_search).lastIndex=0;null!==(e=c.exec(t));)if(r=this.testSchemaAt(t,e[2],c.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(s=t.search(this.re.host_fuzzy_test))&&(this.__index__<0||s<this.__index__)&&null!==(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&0<=t.indexOf("@")&&null!==(o=t.match(this.re.email_fuzzy))&&(i=o.index+o[1].length,a=o.index+o[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),0<=this.__index__},d.prototype.pretest=function(t){return this.re.pretest.test(t)},d.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},d.prototype.match=function(t){var e=0,n=[];0<=this.__index__&&this.__text_cache__===t&&(n.push(f(this,e)),e=this.__last_index__);for(var o=e?t.slice(e):t;this.test(o);)n.push(f(this,e)),o=o.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},d.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse():(this.__tlds__=t.slice(),this.__tlds_replaced__=!0),u(this),this},d.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},d.prototype.onCompile=function(){}
2,t.exports=d},function(t,e,n){t.exports=n(40)},function(t,e,n){},function(t,e,n){"use strict";var o=n(11);function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function t(t,e,n,r,i,a){if(a!==o){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}var n={array:t.isRequired=t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";t.exports=function(t){var e={};e.src_Any=n(22).source,e.src_Cc=n(23).source,e.src_Z=n(24).source,e.src_P=n(25).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+e.src_ZCc+").|\\!(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.
2src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},function(t,e){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(t,e){t.exports=/[\0-\x1F\x7F-\x9F]/},function(t,e){t.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(t,e){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";n.r(e),n.d(e,"Editor",(function(){return wo}));var o=n(1),r=n.n(o),i=n(0),a=n.n(i),c=n(3),s=n(4),l=n(2),u=n.n(l);function p(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var f=function(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.callBacks=[],this.suggestionCallback=void 0,this.editorFlag=!1,this.suggestionFlag=!1,this.closeAllModals=function(t){e.callBacks.forEach((function(e){e(t)}))},this.init=function(t){var n=document.getElementById(t);n&&n.addEventListener("click",(function(){e.editorFlag=!0})),document&&(document.addEventListener("click",(function(){e.editorFlag?e.editorFlag=!1:(e.closeAllModals(),e.suggestionCallback&&e.suggestionCallback())})),document.addEventListener("keydown",(function(t){"Escape"===t.key&&e.closeAllModals()})))},this.onEditorClick=function(){e.closeModals(),!e.suggestionFlag&&e.suggestionCallback?e.suggestionCallback():e.suggestionFlag=!1},this.closeModals=function(t){e.closeAllModals(t)},this.registerCallBack=function(t){e.callBacks.push(t)},this.deregisterCallBack=function(t){e.callBacks=e.callBacks.filter((function(e){return e!==t}))},this.setSuggestionCallback=function(t){e.suggestionCallback=t},this.removeSuggestionCallback=function(){e.suggestionCallback=void 0},this.onSuggestionClick=function(){e.suggestionFlag=!0}}));function d(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var y,h=function(t,e,n){return e&&d(t.prototype,e),n&&d(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.inputFocused=!1,this.editorMouseDown=!1,this.onEditorMouseDown=function(){e.editorFocused=!0},this.onInputMouseDown=function(){e.inputFocused=!0},this.isEditorBlur=function(t){return"INPUT"!==t.target.tagName&&"LABEL"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName||e.editorFocused?!("INPUT"===t.target.tagName&&"LABEL"===t.target.tagName&&"TEXTAREA"===t.target.tagName||e.
2inputFocused||(e.editorFocused=!1)):!(e.inputFocused=!1)},this.isEditorFocused=function(){return!e.inputFocused||(e.inputFocused=!1)},this.isToolbarFocused=function(){return!e.editorFocused||(e.editorFocused=!1)},this.isInputFocused=function(){return e.inputFocused}})),m=[],g={onKeyDown:function(t){m.forEach((function(e){e(t)}))},registerCallBack:function(t){m.push(t)},deregisterCallBack:function(t){m=m.filter((function(e){return e!==t}))}},b=function(){y=!0},v=function(){y=!1},M=function(){return y};function j(t){var e=t.getData()&&t.getData().get("text-align");return e?"rdw-".concat(e,"-aligned-block"):""}function w(t,e){if(t)for(var n in t)!{}.hasOwnProperty.call(t,n)||e(n,t[n])}function _(t,e){var n=!1;if(t)for(var o in t)if({}.hasOwnProperty.call(t,o)&&e===o){n=!0;break}return n}function S(t){t.stopPropagation()}function E(t){return t[t.options[0]].icon}function N(t,e){if(t&&void 0===e)return t;var n={};return w(t,(function(t,o){var r;r=o,"[object Object]"===Object.prototype.toString.call(r)?n[t]=N(o,e[t]):n[t]=void 0!==e[t]?e[t]:o})),n}var D=n(6),k=n.n(D),C=n(5);function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function I(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function x(t,e){return(x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n(9);var T=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&x(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=A(t);if(e){var r=A(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===L(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(t=n.call.apply(n,[this].concat(o))).onClick=function(){var e=t.props,n=e.disabled,o=e.onClick,r=e.value;n||o(r)},t}return t=i,(e=[{key:"render",value:function(){var t,e=this.props,n=e.children,o=e.className,i=e.activeClassName,a=e.active,c=e.disabled,s=e.title;return r.a.createElement("div",{className:u()("rdw-option-wrapper",o,(O(t={},"rdw-option-active ".concat(i),a),O(t,"rdw-option-disabled",c),t)),onClick:this.onClick,"aria-selected":a,title:s},n)}}])&&I(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function z(t){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function R(t,e){return(R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}
2function U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}T.propTypes={onClick:a.a.func.isRequired,children:a.a.any,value:a.a.string,className:a.a.string,activeClassName:a.a.string,active:a.a.bool,disabled:a.a.bool,title:a.a.string},T.defaultProps={activeClassName:""},n(12);var B=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&R(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=U(t);if(e){var r=U(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===z(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(t=n.call.apply(n,[this].concat(o))).state={highlighted:-1},t.onChange=function(e){var n=t.props.onChange;n&&n(e),t.toggleExpansion()},t.setHighlighted=function(e){t.setState({highlighted:e})},t.toggleExpansion=function(){var e=t.props,n=e.doExpand,o=e.doCollapse;e.expanded?o():n()},t}return t=i,(e=[{key:"componentDidUpdate",value:function(t){var e=this.props.expanded;t.expanded&&!e&&this.setState({highlighted:-1})}},{key:"render",value:function(){var t=this,e=this.props,n=e.expanded,o=e.children,i=e.className,a=e.optionWrapperClassName,c=e.ariaLabel,s=e.onExpandEvent,l=e.title,p=this.state.highlighted,f=o.slice(1,o.length);return r.a.createElement("div",{className:u()("rdw-dropdown-wrapper",i),"aria-expanded":n,"aria-label":c||"rdw-dropdown"},r.a.createElement("a",{className:"rdw-dropdown-selectedtext",onClick:s,title:l},o[0],r.a.createElement("div",{className:u()({"rdw-dropdown-carettoclose":n,"rdw-dropdown-carettoopen":!n})})),n?r.a.createElement("ul",{className:u()("rdw-dropdown-optionwrapper",a),onClick:S},r.a.Children.map(f,(function(e,n){return e&&r.a.cloneElement(e,{onSelect:t.onChange,highlighted:p===n,setHighlighted:t.setHighlighted,index:n})}))):void 0)}}])&&P(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function F(t){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Q(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function H(t,e){return(H=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Z(t){return(Z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}B.propTypes={children:a.a.any,onChange:a.a.func,className:a.a.string,expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,optionWrapperClassName:a.a.string,ariaLabel:a.a.string,title:a.a.string},n(13);var W=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&H(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Z(t);if(e){var r=Z(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===F(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(t=n.call.apply(n,[this].concat(o))).onClick=function(e){var n=t.props,o=n.onSelect,r=n.onClick,i=n.value;n.disabled||(o&&o(i),r&&(e.stopPropagation(),r(i)))},t.setHighlighted=function(){var e=t.props;(0,e.setHighlighted)(e.index)},t.resetHighlighted=function(){(0,t.props.setHighlighted)(-1)},t}return t=i,(e=[{key:"render",value:function(){var t,e=this.props,n=e.children,o=e.active,i=e.disabled,a=e.highlighted,c=e.className,s=e.activeClassName,l=e.disabledClassName,p=e.highlightedClassName,f=e.title;return r.a.createElement("li",{className:u()("rdw-dropdownoption-default",c,(Y(t={},"rdw-dropdownoption-active ".concat(s),o),Y(t,"rdw-dropdownoption-highlighted ".concat(p),a),Y(t,"rdw-dropdownoption-disabled ".concat(l),i),t)),onMouseEnter:this.setHighlighted,onMouseLeave:this.resetHighlighted,onClick:this.onClick,title:f},n)}}])&&Q(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function q(t){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function G(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function J(t,e){return(J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}
2function V(t){return(V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}W.propTypes={children:a.a.any,value:a.a.any,onClick:a.a.func,onSelect:a.a.func,setHighlighted:a.a.func,index:a.a.number,disabled:a.a.bool,active:a.a.bool,highlighted:a.a.bool,className:a.a.string,activeClassName:a.a.string,disabledClassName:a.a.string,highlightedClassName:a.a.string,title:a.a.string},W.defaultProps={activeClassName:"",disabledClassName:"",highlightedClassName:""},n(14);var K=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&J(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=V(t);if(e){var r=V(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===q(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),n.apply(this,arguments)}return t=i,(e=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=t.currentState,o=t.onChange,i=t.translations;return r.a.createElement("div",{className:u()("rdw-inline-wrapper",e.className),"aria-label":"rdw-inline-control"},e.options.map((function(t,a){return r.a.createElement(T,{key:a,value:t,onClick:o,className:u()(e[t].className),active:!0===n[t]||"MONOSPACE"===t&&n.CODE,title:e[t].title||i["components.controls.inline.".concat(t)]},r.a.createElement("img",{alt:"",src:e[t].icon}))})))}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,o=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,c=t.currentState,s=t.onChange,l=t.translations,p=e.className,f=e.dropdownClassName,d=e.title;return r.a.createElement(B,{className:u()("rdw-inline-dropdown",p),optionWrapperClassName:u()(f),onChange:s,expanded:n,doExpand:o,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-inline-control",title:d},r.a.createElement("img",{src:E(e),alt:""}),e.options.map((function(t,n){return r.a.createElement(W,{key:n,value:t,className:u()("rdw-inline-dropdownoption",e[t].className),active:!0===c[t]||"MONOSPACE"===t&&c.CODE,title:e[t].title||l["components.controls.inline.".concat(t)]},r.a.createElement("img",{src:e[t].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&G(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function X(t){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tt(t,e){return(tt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}K.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var nt=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tt(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=et(t);if(e){var r=et(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===X(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(e=n.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.toggleInlineStyle=function(t){var n="monospace"===t?"CODE":t.toUpperCase(),o=e.props,r=o.editorState,i=o.onChange,a=c.RichUtils.toggleInlineStyle(r,n);if("subscript"===t||"superscript"===t){var s="subscript"===t?"SUPERSCRIPT":"SUBSCRIPT",l=c.Modifier.removeInlineStyle(a.getCurrentContent(),a.getSelection(),s);a=c.EditorState.push(a,l,"change-inline-style")}a&&i(a)},e.changeKeys=function(t){if(t){var e={};return w(t,(function(t,n){e["CODE"===t?"monospace":t.toLowerCase()]=n})),e}},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})};var o=e.props,r=o.editorState,a=o.modalHandler;return e.state={currentStyles:r?e.changeKeys(Object(s.getSelectionInlineStyle)(r)):{}},a.registerCallBack(e.expandCollapse),e}return t=i,(e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentStyles:this.changeKeys(Object(s.getSelectionInlineStyle)(e))})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state,i=o.expanded,a=o.currentStyles,c=e.component||K;return r.a.createElement(c,{config:e,translations:n,currentState:a,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.toggleInlineStyle})}}])&&$(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function ot(t){return(ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function it(t,e){return(it=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function at(t){return(at=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}nt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(15);var ct=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&it(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=at(t);if(e){var r=at(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===ot(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(e=n.call(this,t)).getBlockTypes=function(t){return[{label:"Normal",displayName:t["components.c
2ontrols.blocktype.normal"]},{label:"H1",displayName:t["components.controls.blocktype.h1"]},{label:"H2",displayName:t["components.controls.blocktype.h2"]},{label:"H3",displayName:t["components.controls.blocktype.h3"]},{label:"H4",displayName:t["components.controls.blocktype.h4"]},{label:"H5",displayName:t["components.controls.blocktype.h5"]},{label:"H6",displayName:t["components.controls.blocktype.h6"]},{label:"Blockquote",displayName:t["components.controls.blocktype.blockquote"]},{label:"Code",displayName:t["components.controls.blocktype.code"]}]},e.state={blockTypes:e.getBlockTypes(t.translations)},e}return t=i,(e=[{key:"componentDidUpdate",value:function(t){var e=this.props.translations;e!==t.translations&&this.setState({blockTypes:this.getBlockTypes(e)})}},{key:"renderFlat",value:function(t){var e=this.props,n=e.config.className,o=e.onChange,i=e.currentState.blockType;return r.a.createElement("div",{className:u()("rdw-inline-wrapper",n)},t.map((function(t,e){return r.a.createElement(T,{key:e,value:t.label,active:i===t.label,onClick:o},t.displayName)})))}},{key:"renderInDropdown",value:function(t){var e=this.props,n=e.config,o=n.className,i=n.dropdownClassName,a=n.title,c=e.currentState.blockType,s=e.expanded,l=e.doExpand,p=e.onExpandEvent,f=e.doCollapse,d=e.onChange,y=e.translations,h=this.state.blockTypes.filter((function(t){return t.label===c})),m=h&&h[0]&&h[0].displayName;return r.a.createElement("div",{className:"rdw-block-wrapper","aria-label":"rdw-block-control"},r.a.createElement(B,{className:u()("rdw-block-dropdown",o),optionWrapperClassName:u()(i),onChange:d,expanded:s,doExpand:l,doCollapse:f,onExpandEvent:p,title:a||y["components.controls.blocktype.blocktype"]},r.a.createElement("span",null,m||y["components.controls.blocktype.blocktype"]),t.map((function(t,e){return r.a.createElement(W,{active:c===t.label,value:t.label,key:e},t.displayName)}))))}},{key:"render",value:function(){var t=this.props.config,e=t.inDropdown,n=this.state.blockTypes.filter((function(e){var n=e.label;return-1<t.options.indexOf(n)}));return e?this.renderInDropdown(n):this.renderFlat(n)}}])&&rt(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();ct.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var st=ct;function lt(t){return(lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ut(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function pt(t,e){return(pt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ft(t){return(ft=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var dt=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&pt(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ft(t);if(e){var r=ft(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===lt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(e=n.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.blocksTypes=[{label:"Normal",style:"unstyled"},{label:"H1",style:"header-one"},{label:"H2",style:"header-two"},{label:"H3",style:"header-three"},{label:"H4",style:"header-four"},{label:"H5",style:"header-five"},{label:"H6",style:"header-six"},{label:"Blockquote",style:"blockquote"},{label:"Code",style:"code"}],e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.toggleBlockType=function(t){var n=e.blocksTypes.find((function(e){return e.label===t})).style,o=e.props,r=o.editorState,i=o.onChange,a=c.RichUtils.toggleBlockType(r,n);a&&i(a)};var o=t.editorState,r=t.modalHandler;return e.state={expanded:!1,currentBlockType:o?Object(s.getSelectedBlocksType)(o):"unstyled"},r.registerCallBack(e.expandCollapse),e}return t=i,(e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentBlockType:Object(s.getSelectedBlocksType)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state,i=o.expanded,a=o.currentBlockType,c=e.component||st,s=this.blocksTypes.find((function(t){return t.style===a}));return r.a.createElement(c,{config:e,translations:n,currentState:{blockType:s&&s.label},onChange:this.toggleBlockType,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&ut(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();dt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var yt=dt;
2function ht(t){return(ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function mt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gt(t,e){return(gt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function bt(t){return(bt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n(16);var vt=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&gt(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=bt(t);if(e){var r=bt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===ht(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(t=n.call.apply(n,[this].concat(o))).state={defaultFontSize:void 0},t}return t=i,(e=[{key:"componentDidMount",value:function(){var t=document.getElementsByClassName("DraftEditor-root");if(t&&0<t.length){var e=window.getComputedStyle(t[0]).getPropertyValue("font-size");e=e.substring(0,e.length-2),this.setState({defaultFontSize:e})}}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,o=e.className,i=e.dropdownClassName,a=e.options,c=e.title,s=t.onChange,l=t.expanded,p=t.doCollapse,f=t.onExpandEvent,d=t.doExpand,y=t.translations,h=this.props.currentState.fontSize,m=this.state.defaultFontSize;return m=Number(m),h=h||a&&0<=a.indexOf(m)&&m,r.a.createElement("div",{className:"rdw-fontsize-wrapper","aria-label":"rdw-font-size-control"},r.a.createElement(B,{className:u()("rdw-fontsize-dropdown",o),optionWrapperClassName:u()(i),onChange:s,expanded:l,doExpand:d,doCollapse:p,onExpandEvent:f,title:c||y["components.controls.fontsize.fontsize"]},h?r.a.createElement("span",null,h):r.a.createElement("img",{src:n,alt:""}),a.map((function(t,e){return r.a.createElement(W,{className:"rdw-fontsize-option",active:h===t,value:t,key:e},t)}))))}}])&&mt(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function Mt(t){return(Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function jt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function wt(t,e){return(wt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function _t(t){return(_t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}vt.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var St=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&wt(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=_t(t);if(e){var r=_t(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===Mt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(e=n.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.toggleFontSize=function(t){var n=e.props,o=n.editorState,r=n.onChange,i=Object(s.toggleCustomInlineStyle)(o,"fontSize",t);i&&r(i)};var o=t.editorState,r=t.modalHandler;return e.state={expanded:void 0,currentFontSize:o?Object(s.getSelectionCustomInlineStyle)(o,["FONTSIZE"]).FONTSIZE:void 0},r.registerCallBack(e.expandCollapse),e}return t=i,(e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentFontSize:Object(s.getSelectionCustomInlineStyle)(e,["FONTSIZE"]).FONTSIZE})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state,i=o.expanded,a=o.currentFontSize,c=e.component||vt,s=a&&Number(a.substring(9));return r.a.createElement(c,{config:e,translations:n,currentState:{fontSize:s},onChange:this.toggleFontSize,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&jt(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function Et(t){return(Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Nt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Dt(t,e){return(Dt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function kt(t){return(kt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}St.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(17);var Ct=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Dt(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=kt(t);if(e){var r=kt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===Et(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(t=n.call.apply(n,[this].concat(o))).state={defaultFontFamily:void 0},t}return t=i,(e=[{key:"componentDidMount",value:function(){var t=document.getElementsByClassName("DraftEditor-root");
2if(t&&0<t.length){var e=window.getComputedStyle(t[0]).getPropertyValue("font-family");this.setState({defaultFontFamily:e})}}},{key:"render",value:function(){var t=this.state.defaultFontFamily,e=this.props,n=e.config,o=n.className,i=n.dropdownClassName,a=n.options,c=n.title,s=e.translations,l=e.onChange,p=e.expanded,f=e.doCollapse,d=e.onExpandEvent,y=e.doExpand,h=this.props.currentState.fontFamily;return h=h||a&&t&&a.some((function(e){return e.toLowerCase()===t.toLowerCase()}))&&t,r.a.createElement("div",{className:"rdw-fontfamily-wrapper","aria-label":"rdw-font-family-control"},r.a.createElement(B,{className:u()("rdw-fontfamily-dropdown",o),optionWrapperClassName:u()("rdw-fontfamily-optionwrapper",i),onChange:l,expanded:p,doExpand:y,doCollapse:f,onExpandEvent:d,title:c||s["components.controls.fontfamily.fontfamily"]},r.a.createElement("span",{className:"rdw-fontfamily-placeholder"},h||s["components.controls.fontfamily.fontfamily"]),a.map((function(t,e){return r.a.createElement(W,{active:h===t,value:t,key:e},t)}))))}}])&&Nt(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();Ct.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var Lt=Ct;function Ot(t){return(Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function It(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xt(t,e){return(xt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function At(t){return(At=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Tt=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&xt(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=At(t);if(e){var r=At(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===Ot(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(e=n.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.toggleFontFamily=function(t){var n=e.props,o=n.editorState,r=n.onChange,i=Object(s.toggleCustomInlineStyle)(o,"fontFamily",t);i&&r(i)};var o=t.editorState,r=t.modalHandler;return e.state={expanded:void 0,currentFontFamily:o?Object(s.getSelectionCustomInlineStyle)(o,["FONTFAMILY"]).FONTFAMILY:void 0},r.registerCallBack(e.expandCollapse),e}return t=i,(e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentFontFamily:Object(s.getSelectionCustomInlineStyle)(e,["FONTFAMILY"]).FONTFAMILY})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state,i=o.expanded,a=o.currentFontFamily,c=e.component||Lt,s=a&&a.substring(11);return r.a.createElement(c,{translations:n,config:e,currentState:{fontFamily:s},onChange:this.toggleFontFamily,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&It(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function zt(t){return(zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Pt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Rt(t,e){return(Rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Ut(t){return(Ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Tt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(18);var Bt=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Rt(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Ut(t);if(e){var r=Ut(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===zt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(t=n.call.apply(n,[this].concat(o))).options=["unordered","ordered","indent","outdent"],t.toggleBlockType=function(e){(0,t.props.onChange)(e)},t.indent=function(){(0,t.props.onChange)("indent")},t.outdent=function(){(0,t.props.onChange)("outdent")},t}return t=i,(e=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=t.currentState.listType,o=t.translations,i=t.indentDisabled,a=t.outdentDisabled,c=e.options,s=e.unordered,l=e.ordered,p=e.indent,f=e.outdent,d=e.className;return r.a.createElement("div",{className:u()("rdw-list-wrapper",d),"aria-label":"rdw-list-control"}
2,0<=c.indexOf("unordered")&&r.a.createElement(T,{value:"unordered",onClick:this.toggleBlockType,className:u()(s.className),active:"unordered"===n,title:s.title||o["components.controls.list.unordered"]},r.a.createElement("img",{src:s.icon,alt:""})),0<=c.indexOf("ordered")&&r.a.createElement(T,{value:"ordered",onClick:this.toggleBlockType,className:u()(l.className),active:"ordered"===n,title:l.title||o["components.controls.list.ordered"]},r.a.createElement("img",{src:l.icon,alt:""})),0<=c.indexOf("indent")&&r.a.createElement(T,{onClick:this.indent,disabled:i,className:u()(p.className),title:p.title||o["components.controls.list.indent"]},r.a.createElement("img",{src:p.icon,alt:""})),0<=c.indexOf("outdent")&&r.a.createElement(T,{onClick:this.outdent,disabled:a,className:u()(f.className),title:f.title||o["components.controls.list.outdent"]},r.a.createElement("img",{src:f.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var t=this,e=this.props,n=e.config,o=e.expanded,i=e.doCollapse,a=e.doExpand,c=e.onExpandEvent,s=e.onChange,l=e.currentState.listType,p=e.translations,f=n.options,d=n.className,y=n.dropdownClassName,h=n.title;return r.a.createElement(B,{className:u()("rdw-list-dropdown",d),optionWrapperClassName:u()(y),onChange:s,expanded:o,doExpand:a,doCollapse:i,onExpandEvent:c,"aria-label":"rdw-list-control",title:h||p["components.controls.list.list"]},r.a.createElement("img",{src:E(n),alt:""}),this.options.filter((function(t){return 0<=f.indexOf(t)})).map((function(e,o){return r.a.createElement(W,{key:o,value:e,disabled:t.props["".concat(e,"Disabled")],className:u()("rdw-list-dropdownOption",n[e].className),active:l===e,title:n[e].title||p["components.controls.list.".concat(e)]},r.a.createElement("img",{src:n[e].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Pt(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function Ft(t){return(Ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Yt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Qt(t,e){return(Qt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Ht(t){return(Ht=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Bt.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object,indentDisabled:a.a.bool,outdentDisabled:a.a.bool};var Zt=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Qt(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Ht(t);if(e){var r=Ht(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===Ft(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(e=n.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.onChange=function(t){"unordered"===t?e.toggleBlockType("unordered-list-item"):"ordered"===t?e.toggleBlockType("ordered-list-item"):"indent"===t?e.adjustDepth(1):e.adjustDepth(-1)},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.toggleBlockType=function(t){var n=e.props,o=n.onChange,r=n.editorState,i=c.RichUtils.toggleBlockType(r,t);i&&o(i)},e.adjustDepth=function(t){var n=e.props,o=n.onChange,r=n.editorState,i=Object(s.changeDepth)(r,t,4);i&&o(i)},e.isIndentDisabled=function(){var t=e.props.editorState,n=e.state.currentBlock,o=Object(s.getBlockBeforeSelectedBlock)(t);return!o||!Object(s.isListBlock)(n)||o.get("type")!==n.get("type")||o.get("depth")<n.get("depth")},e.isOutdentDisabled=function(){var t=e.state.currentBlock;return!t||!Object(s.isListBlock)(t)||t.get("depth")<=0};var o=e.props,r=o.editorState,a=o.modalHandler;return e.state={expanded:!1,currentBlock:r?Object(s.getSelectedBlock)(r):void 0},a.registerCallBack(e.expandCollapse),e}return t=i,(e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentBlock:Object(s.getSelectedBlock)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t,e=this.props,n=e.config,o=e.translations,i=this.state,a=i.expanded,c=i.currentBlock,s=n.component||Bt;"unordered-list-item"===c.get("type")?t="unordered":"ordered-list-item"===c.get("type")&&(t="ordered");var l=this.isIndentDisabled(),u=this.isOutdentDisabled();return r.a.createElement(s,{config:n,translations:o,currentState:{listType:t},expanded:a,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange,indentDisabled:l,outdentDisabled:u})}}])&&Yt(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function Wt(t){return(Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function qt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Gt(t,e){return(Gt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Jt(t){return(Jt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Zt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(19);var Vt=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Gt(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Jt(t);if(e){var r=Jt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===Wt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),n.apply(this,arguments)}return t=i,(e=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,o=e.left,i=e.center,a=e.right,c=e.justify,s=e.className,l=t.onChange,p=t.currentState.textAlignment,f=t.translations;return r.a.createElement("div",{className:u()("rdw-text-align-wrapper",s),"aria-label":"rdw-textalign-control"},0<=n.indexOf("left")&&r.a.createElement(T,{value:"left",className:u()(o.className),active:"left"
2===p,onClick:l,title:o.title||f["components.controls.textalign.left"]},r.a.createElement("img",{src:o.icon,alt:""})),0<=n.indexOf("center")&&r.a.createElement(T,{value:"center",className:u()(i.className),active:"center"===p,onClick:l,title:i.title||f["components.controls.textalign.center"]},r.a.createElement("img",{src:i.icon,alt:""})),0<=n.indexOf("right")&&r.a.createElement(T,{value:"right",className:u()(a.className),active:"right"===p,onClick:l,title:a.title||f["components.controls.textalign.right"]},r.a.createElement("img",{src:a.icon,alt:""})),0<=n.indexOf("justify")&&r.a.createElement(T,{value:"justify",className:u()(c.className),active:"justify"===p,onClick:l,title:c.title||f["components.controls.textalign.justify"]},r.a.createElement("img",{src:c.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,o=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,c=t.currentState.textAlignment,s=t.onChange,l=t.translations,p=e.options,f=e.left,d=e.center,y=e.right,h=e.justify,m=e.className,g=e.dropdownClassName,b=e.title;return r.a.createElement(B,{className:u()("rdw-text-align-dropdown",m),optionWrapperClassName:u()(g),onChange:s,expanded:n,doExpand:o,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-textalign-control",title:b||l["components.controls.textalign.textalign"]},r.a.createElement("img",{src:c&&e[c]&&e[c].icon||E(e),alt:""}),0<=p.indexOf("left")&&r.a.createElement(W,{value:"left",active:"left"===c,className:u()("rdw-text-align-dropdownOption",f.className),title:f.title||l["components.controls.textalign.left"]},r.a.createElement("img",{src:f.icon,alt:""}
2)),0<=p.indexOf("center")&&r.a.createElement(W,{value:"center",active:"center"===c,className:u()("rdw-text-align-dropdownOption",d.className),title:d.title||l["components.controls.textalign.center"]},r.a.createElement("img",{src:d.icon,alt:""})),0<=p.indexOf("right")&&r.a.createElement(W,{value:"right",active:"right"===c,className:u()("rdw-text-align-dropdownOption",y.className),title:y.title||l["components.controls.textalign.right"]},r.a.createElement("img",{src:y.icon,alt:""})),0<=p.indexOf("justify")&&r.a.createElement(W,{value:"justify",active:"justify"===c,className:u()("rdw-text-align-dropdownOption",h.className),title:h.title||l["components.controls.textalign.justify"]},r.a.createElement("img",{src:h.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&qt(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function Kt(t){return(Kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Xt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function $t(t,e){return($t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function te(t){return(te=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Vt.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var ee=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&$t(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=te(t);if(e){var r=te(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===Kt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(e=n.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.addBlockAlignmentData=function(t){var n=e.props,o=n.editorState;(0,n.onChange)(e.state.currentTextAlignment!==t?Object(s.setBlockData)(o,{"text-align":t}):Object(s.setBlockData)(o,{"text-align":void 0}))};var o=e.props.modalHandler;return e.state={currentTextAlignment:void 0},o.registerCallBack(e.expandCollapse),e}return t=i,(e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e!==t.editorState&&this.setState({currentTextAlignment:Object(s.getSelectedBlocksMetadata)(e).get("text-align")})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state,i=o.expanded,a=o.currentTextAlignment,c=e.component||Vt;return r.a.createElement(c,{config:e,translations:n,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{textAlignment:a},onChange:this.addBlockAlignmentData})}}])&&Xt(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function ne(t){return(ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function oe(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function re(t,e){return(re=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ie(t){return(ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}ee.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(20);var ae=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&re(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ie(t);if(e){var r=ie(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===ne(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];return(t=n.call.apply(n,[this].concat(o))).state={currentStyle:"color"},t.onChange=function(e){(0,t.props.onChange)(t.state.currentStyle,e)},t.setCurrentStyleColor=function(){t.setState({currentStyle:"color"})},t.setCurrentStyleBgcolor=function(){t.setState({currentStyle:"bgcolor"})},t.renderModal=function(){var e=t.props,n=e.config,o=n.popupClassName,i=n.colors,a=e.currentState,c=a.color,s=a.bgColor,l=e.translations,p=t.state.currentStyle,f="color"===p?c:s;return r.a.createElement("div",{className:u()("rdw-colorpicker-modal",o),onClick:S},r.a.createElement("span",{className:"rdw-colorpicker-modal-header"}
2,r.a.createElement("span",{className:u()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"color"===p}),onClick:t.setCurrentStyleColor},l["components.controls.colorpicker.text"]),r.a.createElement("span",{className:u()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"bgcolor"===p}),onClick:t.setCurrentStyleBgcolor},l["components.controls.colorpicker.background"])),r.a.createElement("span",{className:"rdw-colorpicker-modal-options"},i.map((function(e,n){return r.a.createElement(T,{value:e,key:n,className:"rdw-colorpicker-option",activeClassName:"rdw-colorpicker-option-active",active:f===e,onClick:t.onChange},r.a.createElement("span",{style:{backgroundColor:e},className:"rdw-colorpicker-cube"}))}))))},t}return t=i,(e=[{key:"componentDidUpdate",value:function(t){this.props.expanded&&!t.expanded&&this.setState({currentStyle:"color"})}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,o=e.className,i=e.title,a=t.expanded,c=t.onExpandEvent,s=t.translations;return r.a.createElement("div",{className:"rdw-colorpicker-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-color-picker",title:i||s["components.controls.colorpicker.colorpicker"]},r.a.createElement(T,{onClick:c,className:u()(o)},r.a.createElement("img",{src:n,alt:""})),a?this.renderModal():void 0)}}])&&oe(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();ae.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var ce=ae;function se(t){return(se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function le(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ue(t,e){return(ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function pe(t){return(pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var fe=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ue(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=pe(t);if(e){var r=pe(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===se(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(e=n.call(this,t)).state={expanded:!1,currentColor:void 0,currentBgColor:void 0},e.onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.toggleColor=function(t,n){var o=e.props,r=o.editorState,i=o.onChange,a=Object(s.toggleCustomInlineStyle)(r,t,n);a&&i(a),e.doCollapse()};var o=t.editorState,r=t.modalHandler,a={expanded:!1,currentColor:void 0,currentBgColor:void 0};return o&&(a.currentColor=Object(s.getSelectionCustomInlineStyle)(o,["COLOR"]).COLOR,a.currentBgColor=Object(s.getSelectionCustomInlineStyle)(o,["BGCOLOR"]).BGCOLOR),e.state=a,r.registerCallBack(e.expandCollapse),e}return t=i,(e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentColor:Object(s.getSelectionCustomInlineStyle)(e,["COLOR"]).COLOR,
2currentBgColor:Object(s.getSelectionCustomInlineStyle)(e,["BGCOLOR"]).BGCOLOR})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state,i=o.currentColor,a=o.currentBgColor,c=o.expanded,s=e.component||ce,l=i&&i.substring(6),u=a&&a.substring(8);return r.a.createElement(s,{config:e,translations:n,onChange:this.toggleColor,expanded:c,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{color:l,bgColor:u}})}}])&&le(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();fe.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var de=fe,ye=n(7),he=n.n(ye);function me(t){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ge(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function be(t,e){return(be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ve(t){return(ve=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n(26);var Me=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&be(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ve(t);if(e){var r=ve(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===me(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(t=n.call.apply(n,[this].concat(o))).state={showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:t.props.config.defaultTargetOption},t.removeLink=function(){(0,t.props.onChange)("unlink")},t.addLink=function(){var e=t.props.onChange,n=t.state;e("link",n.linkTitle,n.linkTarget,n.linkTargetOption)},t.updateValue=function(e){var n,o,r;t.setState((n={},o="".concat(e.target.name),r=e.target.value,o in n?Object.defineProperty(n,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[o]=r,n))},t.updateTargetOption=function(e){t.setState({linkTargetOption:e.target.checked?"_blank":"_self"})},t.hideModal=function(){t.setState({showModal:!1})},t.signalExpandShowModal=function(){var e=t.props,n=e.onExpandEvent,o=e.currentState,r=o.link,i=o.selectionText,a=t.state.linkTargetOption;n(),t.setState({showModal:!0,linkTarget:r&&r.target||"",linkTargetOption:r&&r.targetOption||a,linkTitle:r&&r.title||i})},t.forceExpandAndShowModal=function(){var e=t.props,n=e.doExpand,o=e.currentState,r=o.link,i=o.selectionText,a=t.state.linkTargetOption;n(),t.setState({showModal:!0,linkTarget:r&&r.target,linkTargetOption:r&&r.targetOption||a,linkTitle:r&&r.title||i})},t}return t=i,(e=[{key:"componentDidUpdate",value:function(t){t.expanded&&!this.props.expanded&&this.setState({showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:this.props.config.defaultTargetOption})}},{key:"renderAddLinkModal",value:function(){var t=this.props,e=t.config.popupClassName,n=t.doCollapse,o=t.translations,i=this.state,a=i.linkTitle,c=i.linkTarget,s=i.linkTargetOption;return r.a.createElement("div",{className:u()("rdw-link-modal",e),onClick:S},r.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTitle"}
2,o["components.controls.link.linkTitle"]),r.a.createElement("input",{id:"linkTitle",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTitle",value:a}),r.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTarget"},o["components.controls.link.linkTarget"]),r.a.createElement("input",{id:"linkTarget",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTarget",value:c}),r.a.createElement("label",{className:"rdw-link-modal-target-option",htmlFor:"openLinkInNewWindow"},r.a.createElement("input",{id:"openLinkInNewWindow",type:"checkbox",defaultChecked:"_blank"===s,value:"_blank",onChange:this.updateTargetOption}),r.a.createElement("span",null,o["components.controls.link.linkTargetOption"])),r.a.createElement("span",{className:"rdw-link-modal-buttonsection"},r.a.createElement("button",{className:"rdw-link-modal-btn",onClick:this.addLink,disabled:!c||!a},o["generic.add"]),r.a.createElement("button",{className:"rdw-link-modal-btn",onClick:n},o["generic.cancel"])))}},{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,o=e.link,i=e.unlink,a=e.className,c=t.currentState,s=t.expanded,l=t.translations,p=this.state.showModal;return r.a.createElement("div",{className:u()("rdw-link-wrapper",a),"aria-label":"rdw-link-control"},0<=n.indexOf("link")&&r.a.createElement(T,{value:"unordered-list-item",className:u()(o.className),onClick:this.signalExpandShowModal,"aria-haspopup":"true","aria-expanded":p,title:o.title||l["components.controls.link.link"]},r.a.createElement("img",{src:o.icon,alt:""})),0<=n.indexOf("unlink")&&r.a.createElement(T,{disabled:!c.link,value:"ordered-list-item",className:u()(i.className),onClick:this.removeLink,title:i.title||l["components.controls.link.unlink"]},r.a.createElement("img",{src:i.icon,alt:""})),s&&p?this.renderAddLinkModal():void 0)}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.expanded,n=t.onExpandEvent,o=t.doCollapse,i=t.doExpand,a=t.onChange,c=t.config,s=t.currentState,l=t.translations,p=c.options,f=c.link,d=c.unlink,y=c.className,h=c.dropdownClassName,m=c.title,g=this.state.showModal;return r.a.createElement("div",{className:"rdw-link-wrapper","aria-haspopup":"true","aria-label":"rdw-link-control","aria-expanded":e,title:m},r.a.createElement(B,{className:u()("rdw-link-dropdown",y),optionWrapperClassName:u()(h),onChange:a,expanded:e&&!g,doExpand:i,doCollapse:o,onExpandEvent:n},r.a.createElement("img",{src:E(c),alt:""}),0<=p.indexOf("link")&&r.a.createElement(W,{onClick:this.forceExpandAndShowModal,className:u()("rdw-link-dropdownoption",f.className),title:f.title||l["components.controls.link.link"]},r.a.createElement("img",{src:f.icon,alt:""}
2)),0<=p.indexOf("unlink")&&r.a.createElement(W,{onClick:this.removeLink,disabled:!s.link,className:u()("rdw-link-dropdownoption",d.className),title:d.title||l["components.controls.link.unlink"]},r.a.createElement("img",{src:d.icon,alt:""}))),e&&g?this.renderAddLinkModal():void 0)}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&ge(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();Me.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var je=Me;function we(t){return(we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _e(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Se(t,e){return(Se=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Ee(t){return(Ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ne(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function De(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ne(Object(n),!0).forEach((function(e){ke(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ke(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ce(t){var e=Le.match(t.target);return De(De({},t),{},{target:e&&e[0]&&e[0].url||t.target})}var Le=he()(),Oe=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Se(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Ee(t);if(e){var r=Ee(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===we(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(e=n.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.onChange=function(t,n,o,r){var i=e.props.config.linkCallback;if("link"===t){var a=(i||Ce)({title:n,target:o,targetOption:r});e.addLink(a.title,a.target,a.targetOption)}else e.removeLink()},e.getCurrentValues=function(){var t=e.props.editorState,n=e.state.currentEntity,o=t.getCurrentContent(),r={};if(n&&"LINK"===o.getEntity(n).get("type")){r.link={};var i=n&&Object(s.getEntityRange)(t,n);r.link.target=n&&o.getEntity(n).get("data").url,r.link.targetOption=n&&o.getEntity(n).get("data").targetOption,r.link.title=i&&i.text}return r.selectionText=Object(s.getSelectionText)(t),r},e.doExpand=function(){e.setState({expanded:!0})},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.doCollapse=function(){e.setState({expanded:!1})},e.removeLink=function(){var t=e.props,n=t.editorState,o=t.onChange,r=e.state.currentEntity,i=n.getSelection();if(r){var a=Object(s.getEntityRange)(n,r);i=i.getIsBackward()?i.merge({anchorOffset:a.end,focusOffset:a.start}
2):i.merge({anchorOffset:a.start,focusOffset:a.end}),o(c.RichUtils.toggleLink(n,i,null))}},e.addLink=function(t,n,o){var r=e.props,i=r.editorState,a=r.onChange,l=e.state.currentEntity,u=i.getSelection();if(l){var p=Object(s.getEntityRange)(i,l);u=u.getIsBackward()?u.merge({anchorOffset:p.end,focusOffset:p.start}):u.merge({anchorOffset:p.start,focusOffset:p.end})}var f=i.getCurrentContent().createEntity("LINK","MUTABLE",{url:n,targetOption:o}).getLastCreatedEntityKey(),d=c.Modifier.replaceText(i.getCurrentContent(),u,"".concat(t),i.getCurrentInlineStyle(),f),y=c.EditorState.push(i,d,"insert-characters");u=y.getSelection().merge({anchorOffset:u.get("anchorOffset")+t.length,focusOffset:u.get("anchorOffset")+t.length}),y=c.EditorState.acceptSelection(y,u),d=c.Modifier.insertText(y.getCurrentContent(),u," ",y.getCurrentInlineStyle(),void 0),a(c.EditorState.push(y,d,"insert-characters")),e.doCollapse()};var o=e.props,r=o.editorState,a=o.modalHandler;return e.state={expanded:!1,link:void 0,selectionText:void 0,currentEntity:r?Object(s.getSelectionEntity)(r):void 0},a.registerCallBack(e.expandCollapse),e}return t=i,(e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentEntity:Object(s.getSelectionEntity)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state.expanded,i=this.getCurrentValues(),a=i.link,c=i.selectionText,s=e.component||je;return r.a.createElement(s,{config:e,translations:n,expanded:o,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{link:a,selectionText:c},onChange:this.onChange})}}])&&_e(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();Oe.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var Ie=Oe;function xe(t){return(xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ae(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Te(t,e){return(Te=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ze(t){return(ze=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n(27);var Pe=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Te(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ze(t);if(e){var r=ze(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===xe(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(t=n.call.apply(n,[this].concat(o))).state={embeddedLink:"",height:t.props.config.defaultSize.height,width:t.props.config.defaultSize.width},t.onChange=function(){var e=t.props.onChange,n=t.state;e(n.embeddedLink,n.height,n.width)},t.updateValue=function(e){var n,o,r;t.setState((n={},o="".concat(e.target.name),r=e.target.value,o in n?Object.defineProperty(n,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[o]=r,n))},t}return t=i,(e=[{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.expanded,o=e.config;if(!n&&t.expanded){var r=o.defaultSize,i=r.height,a=r.width;this.setState({embeddedLink:"",height:i,width:a})}}},{key:"rendeEmbeddedLinkModal",value:function(){var t=this.state,e=t.embeddedLink,n=t.height,o=t.width,i=this.props,a=i.config.popupClassName,c=i.doCollapse,s=i.translations;return r.a.createElement("div",{className:u()("rdw-embedded-modal",a),onClick:S},r.a.createElement("div",{className:"rdw-embedded-modal-header"}
2,r.a.createElement("span",{className:"rdw-embedded-modal-header-option"},s["components.controls.embedded.embeddedlink"],r.a.createElement("span",{className:"rdw-embedded-modal-header-label"}))),r.a.createElement("div",{className:"rdw-embedded-modal-link-section"},r.a.createElement("span",{className:"rdw-embedded-modal-link-input-wrapper"},r.a.createElement("input",{className:"rdw-embedded-modal-link-input",placeholder:s["components.controls.embedded.enterlink"],onChange:this.updateValue,onBlur:this.updateValue,value:e,name:"embeddedLink"}),r.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),r.a.createElement("div",{className:"rdw-embedded-modal-size"},r.a.createElement("span",null,r.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:n,name:"height",className:"rdw-embedded-modal-size-input",placeholder:"Height"}),r.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),r.a.createElement("span",null,r.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:o,name:"width",className:"rdw-embedded-modal-size-input",placeholder:"Width"}),r.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")))),r.a.createElement("span",{className:"rdw-embedded-modal-btn-section"},r.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:this.onChange,disabled:!e||!n||!o},s["generic.add"]),r.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:c},s["generic.cancel"])))}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,o=e.className,i=e.title,a=t.expanded,c=t.onExpandEvent,s=t.translations;return r.a.createElement("div",{className:"rdw-embedded-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-embedded-control"},r.a.createElement(T,{className:u()(o),value:"unordered-list-item",onClick:c,title:i||s["components.controls.embedded.embedded"]},r.a.createElement("img",{src:n,alt:""})),a?this.rendeEmbeddedLinkModal():void 0)}}])&&Ae(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();Pe.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object,doCollapse:a.a.func};var Re=Pe;function Ue(t){return(Ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Be(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Fe(t,e){return(Fe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Ye(t){return(Ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Qe=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Fe(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Ye(t);if(e){var r=Ye(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===Ue(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(t=n.call.apply(n,[this].concat(o))).state={expanded:!1},t.onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.addEmbeddedLink=function(e,n,o){var r=t.props,i=r.editorState,a=r.onChange,s=r.config.embedCallback,l=s?s(e):e,u=i.getCurrentContent().createEntity("EMBEDDED_LINK","MUTABLE",{src:l,height:n,width:o}).getLastCreatedEntityKey();a(c.AtomicBlockUtils.insertAtomicBlock(i,u," ")),t.doCollapse()},t}return t=i,(e=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state.expanded,i=e.component||Re;return r.a.createElement(i,{config:e,translations:n,onChange:this.addEmbeddedLink,expanded:o,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Be(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();Qe.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var He=Qe;function Ze(t){return(Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function We(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qe(t,e){return(qe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Ge(t){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n(28);var Je=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&qe(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Ge(t);if(e){var r=Ge(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===Ze(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(t=n.call.apply(n,[this].concat(o))).onChange=function(e){(0,t.props.onChange)(e.target.innerHTML)},t}return t=i,(e=[{key:"renderEmojiModal",value:function(){var t=this,e=this.props.config,n=e.popupClassName,o=e.emojis;return r.a.createElement("div",{className:u()("rdw-emoji-modal",n),onClick:S},o.map((function(e,n){return r.a.createElement("span",{key:n,className:"rdw-emoji-icon",alt:"",onClick:t.onChange},e)})))}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,o=e.className,i=e.title,a=t.expanded,c=t.onExpandEvent,s=t.translations;return r.a.createElement("div",{className:"rdw-emoji-wrapper","aria-haspopup":"true","aria-label":"rdw-emoji-control","aria-expanded":a,title:i||s["components.c
2ontrols.emoji.emoji"]},r.a.createElement(T,{className:u()(o),value:"unordered-list-item",onClick:c},r.a.createElement("img",{src:n,alt:""})),a?this.renderEmojiModal():void 0)}}])&&We(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();Je.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object};var Ve=Je;function Ke(t){return(Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Xe(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function $e(t,e){return($e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tn(t){return(tn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var en=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&$e(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=tn(t);if(e){var r=tn(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===Ke(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(t=n.call.apply(n,[this].concat(o))).state={expanded:!1},t.onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t.addEmoji=function(e){var n=t.props,o=n.editorState,r=n.onChange,i=c.Modifier.replaceText(o.getCurrentContent(),o.getSelection(),e,o.getCurrentInlineStyle());r(c.EditorState.push(o,i,"insert-characters")),t.doCollapse()},t}return t=i,(e=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state.expanded,i=e.component||Ve;return r.a.createElement(i,{config:e,translations:n,onChange:this.addEmoji,expanded:o,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onCollpase:this.closeModal})}}])&&Xe(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function nn(){return r.a.createElement("div",{className:"rdw-spinner"},r.a.createElement("div",{className:"rdw-bounce1"}),r.a.createElement("div",{className:"rdw-bounce2"}),r.a.createElement("div",{className:"rdw-bounce3"}))}function on(t){return(on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rn(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}
2function an(t,e){return(an=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function cn(t){return(cn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}en.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(29),n(30);var sn=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&an(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=cn(t);if(e){var r=cn(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===on(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(t=n.call.apply(n,[this].concat(o))).state={imgSrc:"",dragEnter:!1,uploadHighlighted:t.props.config.uploadEnabled&&!!t.props.config.uploadCallback,showImageLoading:!1,height:t.props.config.defaultSize.height,width:t.props.config.defaultSize.width,alt:""},t.onDragEnter=function(e){t.stopPropagation(e),t.setState({dragEnter:!0})},t.onImageDrop=function(e){var n,o;e.preventDefault(),e.stopPropagation(),t.setState({dragEnter:!1}),o=e.dataTransfer.items?(n=e.dataTransfer.items,!0):(n=e.dataTransfer.files,!1);for(var r=0;r<n.length;r+=1)if((!o||"file"===n[r].kind)&&n[r].type.match("^image/")){var i=o?n[r].getAsFile():n[r];t.uploadImage(i)}},t.showImageUploadOption=function(){t.setState({uploadHighlighted:!0})},t.addImageFromState=function(){var e=t.state,n=e.imgSrc,o=e.alt,r=t.state,i=r.height,a=r.width,c=t.props.onChange;isNaN(i)||(i+="px"),isNaN(a)||(a+="px"),c(n,i,a,o)},t.showImageURLOption=function(){t.setState({uploadHighlighted:!1})},t.toggleShowImageLoading=function(){var e=!t.state.showImageLoading;t.setState({showImageLoading:e})},t.updateValue=function(e){var n,o,r;t.setState((n={},o="".concat(e.target.name),r=e.target.value,o in n?Object.defineProperty(n,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[o]=r,n))},t.selectImage=function(e){e.target.files&&0<e.target.files.length&&t.uploadImage(e.target.files[0])},t.uploadImage=function(e){t.toggleShowImageLoading(),(0,t.props.config.uploadCallback)(e).then((function(e){var n=e.data;t.setState({showImageLoading:!1,dragEnter:!1,imgSrc:n.link||n.url}),t.fileUpload=!1})).catch((function(){t.setState({showImageLoading:!1,dragEnter:!1})}))},t.fileUploadClick=function(e){t.fileUpload=!0,e.stopPropagation()},t.stopPropagation=function(e){t.fileUpload?t.fileUpload=!1:(e.preventDefault(),e.stopPropagation())},t}return t=i,(e=[{key:"componentDidUpdate",value:function(t){var e=this.props.config;t.expanded&&!this.props.expanded?this.setState({imgSrc:"",dragEnter:!1,uploadHighlighted:e.uploadEnabled&&!!e.uploadCallback,showImageLoading:!1,height:e.defaultSize.height,width:e.defaultSize.width,alt:""}):e.uploadCallback===t.config.uploadCallback&&e.uploadEnabled===t.config.uploadEnabled||this.setState({uploadHighlighted:e.uploadEnabled&&!!e.uploadCallback})}},{key:"renderAddImageModal",value:function(){var t=this.state,e=t.imgSrc,n=t.uploadHighlighted,o=t.showImageLoading,i=t.dragEnter,a=t.height,c=t.width,s=t.alt,l=this.props,p=l.config,f=p.popupClassName,d=p.uploadCallback,y=p.uploadEnabled,h=p.urlEnabled,m=p.previewImage,g=p.inputAccept,b=p.alt,v=l.doCollapse,M=l.translations;return r.a.createElement("div",{className:u()("rdw-image-modal",f),onClick:this.stopPropagation},r.a.createElement("div",{className:"rdw-image-modal-header"}
2,y&&d&&r.a.createElement("span",{onClick:this.showImageUploadOption,className:"rdw-image-modal-header-option"},M["components.controls.image.fileUpload"],r.a.createElement("span",{className:u()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":n})})),h&&r.a.createElement("span",{onClick:this.showImageURLOption,className:"rdw-image-modal-header-option"},M["components.controls.image.byURL"],r.a.createElement("span",{className:u()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":!n})}))),n?r.a.createElement("div",{onClick:this.fileUploadClick},r.a.createElement("div",{onDragEnter:this.onDragEnter,onDragOver:this.stopPropagation,onDrop:this.onImageDrop,className:u()("rdw-image-modal-upload-option",{"rdw-image-modal-upload-option-highlighted":i})},r.a.createElement("label",{htmlFor:"file",className:"rdw-image-modal-upload-option-label"},m&&e?r.a.createElement("img",{src:e,alt:e,className:"rdw-image-modal-upload-option-image-preview"}):e||M["components.controls.image.dropFileText"])),r.a.createElement("input",{type:"file",id:"file",accept:g,onChange:this.selectImage,className:"rdw-image-modal-upload-option-input"})):r.a.createElement("div",{className:"rdw-image-modal-url-section"},r.a.createElement("input",{className:"rdw-image-modal-url-input",placeholder:M["components.controls.image.enterlink"],name:"imgSrc",onChange:this.updateValue,onBlur:this.updateValue,value:e}),r.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),b.present&&r.a.createElement("div",{className:"rdw-image-modal-size"},r.a.createElement("span",{className:"rdw-image-modal-alt-lbl"},"Alt Text"),r.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:s,name:"alt",className:"rdw-image-modal-alt-input",placeholder:"alt"}),r.a.createElement("span",{className:"rdw-image-mandatory-sign"},b.mandatory&&"*")),r.a.createElement("div",{className:"rdw-image-modal-size"},"↕ ",r.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:a,name:"height",className:"rdw-image-modal-size-input",placeholder:"Height"}),r.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")," ↔ ",r.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:c,name:"width",className:"rdw-image-modal-size-input",placeholder:"Width"}),r.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),r.a.createElement("span",{className:"rdw-image-modal-btn-section"},r.a.createElement("button",{className:"rdw-image-modal-btn",onClick:this.addImageFromState,disabled:!e||!a||!c||b.mandatory&&!s},M["generic.add"]),r.a.createElement("button",{className:"rdw-image-modal-btn",onClick:v},M["generic.cancel"])),o?r.a.createElement("div",{className:"rdw-image-modal-spinner"},r.a.createElement(nn,null)):void 0)}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,o=e.className,i=e.title,a=t.expanded,c=t.onExpandEvent,s=t.translations;return r.a.createElement("div",{className:"rdw-image-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-image-control"},r.a.createElement(T,{className:u()(o),value:"unordered-list-item",onClick:c,title:i||s["components.controls.image.image"]},r.a.createElement("img",{src:n,alt:""})),a?this.renderAddImageModal():void 0)}}])&&rn(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();sn.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object};var ln=sn;function un(t){return(un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pn(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function fn(t,e){return(fn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function dn(t){return(dn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var yn=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&fn(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=dn(t);if(e){var r=dn(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===un(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(e=n.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})},e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1},e.addImage=function(t,n,o,r){var i=e.props,a=i.editorState,s=i.onChange,l={src:t,height:n,width:o};i.config.alt.present&&(l.alt=r);var u=a.getCurrentContent().createEntity("IMAGE","MUTABLE",l).getLastCreatedEntityKey();s(c.AtomicBlockUtils.insertAtomicBlock(a,u," ")),e.doCollapse()};var o=e.props.modalHandler;return e.state={expanded:!1},o.registerCallBack(e.expandCollapse),e}return t=i,(e=[{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state.expanded,i=e.component||ln;return r.a.createElement(i,{config:e,translations:n,onChange:this.addImage,expanded:o,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&pn(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function hn(t){var e=t.config,n=t.onChange,o=t.translations,i=e.icon,a=e.className,c=e.title;return r.a.createElement("div",{className:"rdw-remove-wrapper","aria-label":"rdw-remove-control"}
2,r.a.createElement(T,{className:u()(a),onClick:n,title:c||o["components.controls.remove.remove"]},r.a.createElement("img",{src:i,alt:""})))}yn.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var mn=yn;n(31),hn.propTypes={onChange:a.a.func,config:a.a.object,translations:a.a.object};var gn=hn;function bn(t){return(bn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function vn(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Mn(t,e){return(Mn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function jn(t){return(jn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var wn=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Mn(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=jn(t);if(e){var r=jn(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===bn(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(t=n.call.apply(n,[this].concat(o))).state={expanded:!1},t.onExpandEvent=function(){t.signalExpanded=!t.state.expanded},t.expandCollapse=function(){t.setState({expanded:t.signalExpanded}),t.signalExpanded=!1},t.removeInlineStyles=function(){var e=t.props,n=e.editorState;(0,e.onChange)(t.removeAllInlineStyles(n))},t.removeAllInlineStyles=function(t){var e=t.getCurrentContent();return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","MONOSPACE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(n){e=c.Modifier.removeInlineStyle(e,t.getSelection(),n)})),w(Object(s.getSelectionCustomInlineStyle)(t,["FONTSIZE","FONTFAMILY","COLOR","BGCOLOR"]),(function(n,o){o&&(e=c.Modifier.removeInlineStyle(e,t.getSelection(),o))})),c.EditorState.push(t,e,"change-inline-style")},t.doExpand=function(){t.setState({expanded:!0})},t.doCollapse=function(){t.setState({expanded:!1})},t}return t=i,(e=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state.expanded,i=e.component||gn;return r.a.createElement(i,{config:e,translations:n,expanded:o,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.removeInlineStyles})}}])&&vn(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function _n(t){return(_n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Sn(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}
2function En(t,e){return(En=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Nn(t){return(Nn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}wn.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,config:a.a.object,translations:a.a.object,modalHandler:a.a.object},n(32);var Dn=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&En(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Nn(t);if(e){var r=Nn(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===_n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(t=n.call.apply(n,[this].concat(o))).onChange=function(e){(0,t.props.onChange)(e)},t}return t=i,(e=[{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,o=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,c=t.currentState,s=c.undoDisabled,l=c.redoDisabled,p=t.translations,f=e.options,d=e.undo,y=e.redo,h=e.className,m=e.dropdownClassName,g=e.title;return r.a.createElement(B,{className:u()("rdw-history-dropdown",h),optionWrapperClassName:u()(m),expanded:n,doExpand:o,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-history-control",title:g||p["components.controls.history.history"]},r.a.createElement("img",{src:E(e),alt:""}),0<=f.indexOf("undo")&&r.a.createElement(W,{value:"undo",onClick:this.onChange,disabled:s,className:u()("rdw-history-dropdownoption",d.className),title:d.title||p["components.controls.history.undo"]},r.a.createElement("img",{src:d.icon,alt:""})),0<=f.indexOf("redo")&&r.a.createElement(W,{value:"redo",onClick:this.onChange,disabled:l,className:u()("rdw-history-dropdownoption",y.className),title:y.title||p["components.controls.history.redo"]},r.a.createElement("img",{src:y.icon,alt:""})))}},{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,o=e.undo,i=e.redo,a=e.className,c=t.currentState,s=c.undoDisabled,l=c.redoDisabled,p=t.translations;return r.a.createElement("div",{className:u()("rdw-history-wrapper",a),"aria-label":"rdw-history-control"},0<=n.indexOf("undo")&&r.a.createElement(T,{value:"undo",onClick:this.onChange,className:u()(o.className),disabled:s,title:o.title||p["components.controls.history.undo"]},r.a.createElement("img",{src:o.icon,alt:""})),0<=n.indexOf("redo")&&r.a.createElement(T,{value:"redo",onClick:this.onChange,className:u()(i.className),disabled:l,title:i.title||p["components.controls.history.redo"]},r.a.createElement("img",{src:i.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Sn(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();function kn(t){return(kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Cn(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}
2function Ln(t,e){return(Ln=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function On(t){return(On=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Dn.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var In=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ln(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=On(t);if(e){var r=On(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===kn(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(e=n.call(this,t)).onExpandEvent=function(){e.signalExpanded=!e.state.expanded},e.onChange=function(t){var n=e.props,o=n.editorState,r=n.onChange,i=c.EditorState[t](o);i&&r(i)},e.doExpand=function(){e.setState({expanded:!0})},e.doCollapse=function(){e.setState({expanded:!1})};var o={expanded:!(e.expandCollapse=function(){e.setState({expanded:e.signalExpanded}),e.signalExpanded=!1}),undoDisabled:!1,redoDisabled:!1},r=t.editorState,a=t.modalHandler;return r&&(o.undoDisabled=0===r.getUndoStack().size,o.redoDisabled=0===r.getRedoStack().size),e.state=o,a.registerCallBack(e.expandCollapse),e}return t=i,(e=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&t.editorState!==e&&this.setState({undoDisabled:0===e.getUndoStack().size,redoDisabled:0===e.getRedoStack().size})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,o=this.state,i=o.undoDisabled,a=o.redoDisabled,c=o.expanded,s=e.component||Dn;return r.a.createElement(s,{config:e,translations:n,currentState:{undoDisabled:i,redoDisabled:a},expanded:c,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange})}}])&&Cn(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();In.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var xn={inline:nt,blockType:yt,fontSize:St,fontFamily:Tt,list:Zt,textAlign:ee,colorPicker:de,link:Ie,embedded:He,emoji:en,image:mn,remove:wn,history:In},An=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,Tn=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i;function zn(t){return String(t).replace(An,"").match(Tn)?t:"#"}function Pn(t){return(Pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Rn(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Un(t,e){return(Un=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Bn(t){return(Bn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Fn(t,e,n){t.findEntityRanges((function(t){var e=t.getEntity();return null!==e&&"LINK"===n.getEntity(e).getType()}),e)}function Yn(t){var e,n=t.showOpenOptionOnHover;return(e=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Un(t,e)}(a,o.Component);var t,e,i=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Bn(t);if(e){var r=Bn(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===Pn(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(a);function a(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return(t=i.call.apply(i,[this].concat(n))).state={showPopOver:!1},t.openLink=function(){var e=t.props,n=e.entityKey,o=e.contentState.getEntity(n).getData().url,r=window.open(zn(o),"blank");r&&r.focus()},t.toggleShowPopOver=function(){var e=!t.state.showPopOver;t.setState({showPopOver:e})},t}return t=a,(e=[{key:"render",value:function(){var t=this.props,e=t.children,o=t.entityKey,i=t.contentState.getEntity(o).getData(),a=i.url,c=i.targetOption,s=this.state.showPopOver;return r.a.createElement("span",{className:"rdw-link-decorator-wrapper",onMouseEnter:this.toggleShowPopOver,onMouseLeave:this.toggleShowPopOver}
2,r.a.createElement("a",{href:zn(a),target:c},e),s&&n?r.a.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuMDcyIDBIOC45MTVhLjkyNS45MjUgMCAwIDAgMCAxLjg0OWgyLjkyNUw2Ljk2MSA2LjcyN2EuOTE4LjkxOCAwIDAgMC0uMjcuNjU0YzAgLjI0Ny4wOTUuNDguMjcuNjU0YS45MTguOTE4IDAgMCAwIC42NTQuMjcuOTE4LjkxOCAwIDAgMCAuNjUzLS4yN2w0Ljg4LTQuODh2Mi45MjZhLjkyNS45MjUgMCAwIDAgMS44NDggMFYuOTI0QS45MjUuOTI1IDAgMCAwIDE0LjA3MiAweiIvPjxwYXRoIGQ9Ik0xMC42MjMgMTMuNDExSDEuNTg1VjQuMzcyaDYuNzk4bDEuNTg0LTEuNTg0SC43OTJBLjc5Mi43OTIgMCAwIDAgMCAzLjU4djEwLjYyNGMwIC40MzcuMzU1Ljc5Mi43OTIuNzkyaDEwLjYyNGEuNzkyLjc5MiAwIDAgMCAuNzkyLS43OTJWNS4wMjlsLTEuNTg1IDEuNTg0djYuNzk4eiIvPjwvZz48L3N2Zz4=",alt:"",onClick:this.openLink,className:"rdw-link-decorator-icon"}):void 0)}}])&&Rn(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),a}()).propTypes={entityKey:a.a.string.isRequired,children:a.a.array,contentState:a.a.object},e}function Qn(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}n(33),n(34);var Hn=function(t,e,n){return e&&Qn(t.prototype,e),n&&Qn(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.getMentionComponent=function(){function t(t){var n=t.entityKey,o=t.children,i=t.contentState.getEntity(n).getData(),a=i.url,c=i.value;return r.a.createElement("a",{href:a||c,className:u()("rdw-mention-link",e)},o)}var e=n.className;return t.propTypes={entityKey:a.a.number,children:a.a.array,contentState:a.a.object},t},this.getMentionDecorator=function(){return{strategy:n.findMentionEntities,component:n.getMentionComponent()}},this.className=e}));Hn.prototype.findMentionEntities=function(t,e,n){t.findEntityRanges((function(t){var e=t.getEntity();return null!==e&&"MENTION"===n.getEntity(e).getType()}),e)};var Zn=Hn;function Wn(t){return(Wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function qn(t,e){return(qn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Gn(t){return(Gn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Jn(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Vn(t,e,n){return e&&Jn(t.prototype,e),n&&Jn(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Kn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n(35);var Xn=Vn((function t(e){var n=this;Kn(this,t),this.findSuggestionEntities=function(t,e){if(n.config.getEditorState()){var o=n.config,r=o.separator,i=o.trigger,a=o.getSuggestions,c=(0,o.getEditorState)().getSelection();if(c.get("anchorKey")===t.get("key")&&c.get("anchorKey")===c.get("focusKey")){var s=t.getText(),l=(s=s.substr(0,c.get("focusOffset")===s.length-1?s.length:c.get("focusOffset")+1)).lastIndexOf(r+i),u=r+i;if((void 0===l||l<0)&&s[0]===i&&(l=0,u=i),0<=l){var p=s.substr(l+u.length,s.length);a().some((function(t){return!!t.value&&(n.config.caseSensitive?0<=t.value.indexOf(p):0<=t.value.toLowerCase().indexOf(p&&p.toLowerCase()))}))&&e(0===l?0:l+1,s.length)}}}}
2,this.getSuggestionComponent=function(){var t,e=this.config;return(t=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&qn(t,e)}(n,o.Component);var t=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Gn(t);if(e){var r=Gn(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===Wn(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(n);function n(){var o;Kn(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(o=t.call.apply(t,[this].concat(i))).state={style:{left:15},activeOption:-1,showSuggestions:!0},o.onEditorKeyDown=function(t){var e=o.state.activeOption,n={};"ArrowDown"===t.key?(t.preventDefault(),e===o.filteredSuggestions.length-1?n.activeOption=0:n.activeOption=e+1):"ArrowUp"===t.key?n.activeOption=e<=0?o.filteredSuggestions.length-1:e-1:"Escape"===t.key?(n.showSuggestions=!1,v()):"Enter"===t.key&&o.addMention(),o.setState(n)},o.onOptionMouseEnter=function(t){var e=t.target.getAttribute("data-index");o.setState({activeOption:e})},o.onOptionMouseLeave=function(){o.setState({activeOption:-1})},o.setSuggestionReference=function(t){o.suggestion=t},o.setDropdownReference=function(t){o.dropdown=t},o.closeSuggestionDropdown=function(){o.setState({showSuggestions:!1})},o.filteredSuggestions=[],o.filterSuggestions=function(t){var n=t.children[0].props.text.substr(1),r=e.getSuggestions();o.filteredSuggestions=r&&r.filter((function(t){return!n||0===n.length||(e.caseSensitive?0<=t.value.indexOf(n):0<=t.value.toLowerCase().indexOf(n&&n.toLowerCase()))}))},o.addMention=function(){var t=o.state.activeOption,n=e.getEditorState(),r=e.onChange,i=e.separator,a=e.trigger,l=o.filteredSuggestions[t];l&&function(t,e,n,o,r){var i=r.value,a=r.url,l=t.getCurrentContent().createEntity("MENTION","IMMUTABLE",{text:"".concat(o).concat(i),value:i,url:a}).getLastCreatedEntityKey(),u=Object(s.getSelectedBlock)(t).getText(),p=t.getSelection().focusOffset,f=(u.lastIndexOf(n+o,p)||0)+1,d=!1;u.length===f+1&&(p=u.length)," "===u[p]&&(d=!0);var y=t.getSelection().merge({anchorOffset:f,focusOffset:p}),h=c.EditorState.acceptSelection(t,y),m=c.Modifier.replaceText(h.getCurrentContent(),y,"".concat(o).concat(i),h.getCurrentInlineStyle(),l);h=c.EditorState.push(h,m,"insert-characters"),d||(y=h.getSelection().merge({anchorOffset:f+i.length+o.length,focusOffset:f+i.length+o.length}),h=c.EditorState.acceptSelection(h,y),m=c.Modifier.insertText(h.getCurrentContent(),y," ",h.getCurrentInlineStyle(),void 0)),e(c.EditorState.push(h,m,"insert-characters"))}(n,r,i,a,l)},o}return Vn(n,[{key:"componentDidMount",value:function(){var t,n,o,r=e.getWrapperRef().getBoundingClientRect(),i=this.suggestion.getBoundingClientRect(),a=this.dropdown.getBoundingClientRect();r.width<i.left-r.left+a.width?n=15:t=15,r.bottom<a.bottom&&(o=0),this.setState({style:{left:t,right:n,bottom:o}}),g.registerCallBack(this.onEditorKeyDown),b(),e.modalHandler.setSuggestionCallback(this.closeSuggestionDropdown),this.filterSuggestions(this.props)}},{key:"componentDidUpdate",value:function(t){this.props.children!==t.children&&(this.filterSuggestions(t),this.setState({showSuggestions:!0}))}},{key:"componentWillUnmount",value:function(){g.deregisterCallBack(this.onEditorKeyDown),v(),e.modalHandler.removeSuggestionCallback()}},{key:"render",value:function(){var t=this,n=this.props.children,o=this.state,i=o.activeOption,a=o.showSuggestions,c=e.dropdownClassName,s=e.optionClassName;return r.a.createElement("span",{className:"rdw-suggestion-wrapper",ref:this.setSuggestionReference,onClick:e.modalHandler.onSuggestionClick,"aria-haspopup":"true","aria-label":"rdw-suggestion-popup"}
2,r.a.createElement("span",null,n),a&&r.a.createElement("span",{className:u()("rdw-suggestion-dropdown",c),contentEditable:"false",suppressContentEditableWarning:!0,style:this.state.style,ref:this.setDropdownReference},this.filteredSuggestions.map((function(e,n){return r.a.createElement("span",{key:n,spellCheck:!1,onClick:t.addMention,"data-index":n,onMouseEnter:t.onOptionMouseEnter,onMouseLeave:t.onOptionMouseLeave,className:u()("rdw-suggestion-option",s,{"rdw-suggestion-option-active":n===i})},e.text)}))))}}]),n}()).propTypes={children:a.a.array},t}.bind(this),this.getSuggestionDecorator=function(){return{strategy:n.findSuggestionEntities,component:n.getSuggestionComponent()}};var i=e.separator,l=e.trigger,p=e.getSuggestions,f=e.onChange,d=e.getEditorState,y=e.getWrapperRef,h=e.caseSensitive,m=e.dropdownClassName,M=e.optionClassName,j=e.modalHandler;this.config={separator:i,trigger:l,getSuggestions:p,onChange:f,getEditorState:d,getWrapperRef:y,caseSensitive:h,dropdownClassName:m,optionClassName:M,modalHandler:j}}));function $n(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function to(t){var e=t.block,n=t.contentState.getEntity(e.getEntityAt(0)).getData(),o=n.src,i=n.height,a=n.width;return r.a.createElement("iframe",{height:i,width:a,src:o,frameBorder:"0",allowFullScreen:!0,title:"Wysiwyg Embedded Content"})}n(36);var eo=function(t,e,n){return e&&$n(t.prototype,e),n&&$n(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.getHashtagComponent=function(){function t(t){var n=t.children,o=n[0].props.text;return r.a.createElement("a",{href:o,className:u()("rdw-hashtag-link",e)},n)}var e=n.className;return t.propTypes={children:a.a.object},t},this.findHashtagEntities=function(t,e){for(var o=t.getText(),r=0,i=0;0<o.length&&0<=r;)if(o[0]===n.hashCharacter?(i=r=0,o=o.substr(n.hashCharacter.length)):0<=(r=o.indexOf(n.separator+n.hashCharacter))&&(o=o.substr(r+(n.separator+n.hashCharacter).length),i+=r+n.separator.length),0<=r){var a=0<=o.indexOf(n.separator)?o.indexOf(n.separator):o.length,c=o.substr(0,a);c&&0<c.length&&(e(i,i+c.length+n.hashCharacter.length),i+=n.hashCharacter.length)}},this.getHashtagDecorator=function(){return{strategy:n.findHashtagEntities,component:n.getHashtagComponent()}},this.className=e.className,this.hashCharacter=e.hashCharacter||"#",this.separator=e.separator||" "}));to.propTypes={block:a.a.object,contentState:a.a.object};var no=to;function oo(t){return(oo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ro(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function io(t,e){return(io=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}
2function ao(t){return(ao=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n(37);var co=function(t){var e;return(e=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&io(t,e)}(a,o.Component);var e,n,i=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ao(t);if(e){var r=ao(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===oo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(a);function a(){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(e=i.call.apply(i,[this].concat(o))).state={hovered:!1},e.setEntityAlignmentLeft=function(){e.setEntityAlignment("left")},e.setEntityAlignmentRight=function(){e.setEntityAlignment("right")},e.setEntityAlignmentCenter=function(){e.setEntityAlignment("none")},e.setEntityAlignment=function(n){var o=e.props,r=o.block,i=o.contentState,a=r.getEntityAt(0);i.mergeEntityData(a,{alignment:n}),t.onChange(c.EditorState.push(t.getEditorState(),i,"change-block-data")),e.setState({dummy:!0})},e.toggleHovered=function(){var t=!e.state.hovered;e.setState({hovered:t})},e}return e=a,(n=[{key:"renderAlignmentOptions",value:function(t){return r.a.createElement("div",{className:u()("rdw-image-alignment-options-popup",{"rdw-image-alignment-options-popup-right":"right"===t})},r.a.createElement(T,{onClick:this.setEntityAlignmentLeft,className:"rdw-image-alignment-option"},"L"),r.a.createElement(T,{onClick:this.setEntityAlignmentCenter,className:"rdw-image-alignment-option"},"C"),r.a.createElement(T,{onClick:this.setEntityAlignmentRight,className:"rdw-image-alignment-option"},"R"))}},{key:"render",value:function(){var e=this.props,n=e.block,o=e.contentState,i=this.state.hovered,a=t.isReadOnly,c=t.isImageAlignmentEnabled,s=o.getEntity(n.getEntityAt(0)).getData(),l=s.src,p=s.alignment,f=s.height,d=s.width,y=s.alt;return r.a.createElement("span",{onMouseEnter:this.toggleHovered,onMouseLeave:this.toggleHovered,className:u()("rdw-image-alignment",{"rdw-image-left":"left"===p,"rdw-image-right":"right"===p,"rdw-image-center":!p||"none"===p})},r.a.createElement("span",{className:"rdw-image-imagewrapper"},r.a.createElement("img",{src:l,alt:y,style:{height:f,width:d}}),!a()&&i&&c()?this.renderAlignmentOptions(p):void 0))}}])&&ro(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),a}()).propTypes={block:a.a.object,contentState:a.a.object},e},so={options:["inline","blockType","fontSize","fontFamily","list","textAlign","colorPicker","link","embedded","emoji","image","remove","history"],inline:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["bold","italic","underline","strikethrough","monospace","superscript","subscript"],bold:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuMjM2IDBjMS42NTIgMCAyLjk0LjI5OCAzLjg2Ni44OTMuOTI1LjU5NSAxLjM4OCAxLjQ4NSAxLjM4OCAyLjY2OSAwIC42MDEtLjE3MyAxLjEzOS0uNTE2IDEuNjEtLjM0My40NzQtLjg0NC44My0xLjQ5OSAxLjA2OC44NDMuMTY3IDEuNDc0LjUyMyAxLjg5NSAxLjA3MS40MTkuNTUuNjMgMS4xODMuNjMgMS45MDMgMCAxLjI0NS0uNDQ0IDIuMTg3LTEuMzMgMi44MjUtLjg4Ni42NDEtMi4xNDQuOTYxLTMuNzY5Ljk2MUgwdi0yLjE2N2gxLjQ5NFYyLjE2N0gwVjBoNi4yMzZ6TTQuMzA4IDUuNDQ2aDIuMDI0Yy43NTIgMCAxLjMzLS4xNDMgMS43MzQtLjQzLjQwNS0uMjg1LjYwOC0uNzAxLjYwOC0xLjI1IDAtLjYt
2LjIwNC0xLjA0NC0uNjEyLTEuMzMtLjQwOC0uMjg2LTEuMDE2LS40MjctMS44MjYtLjQyN0g0LjMwOHYzLjQzN3ptMCAxLjgwNFYxMWgyLjU5M2MuNzQ3IDAgMS4zMTQtLjE1MiAxLjcwNy0uNDUyLjM5LS4zLjU4OC0uNzQ1LjU4OC0xLjMzNCAwLS42MzYtLjE2OC0xLjEyNC0uNS0xLjQ2LS4zMzYtLjMzNS0uODY0LS41MDQtMS41ODItLjUwNEg0LjMwOHoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},italic:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTcgM1YyaDR2MUg5Ljc1M2wtMyAxMEg4djFINHYtMWgxLjI0N2wzLTEwSDd6Ii8+PC9zdmc+",className:void 0,title:void 0},underline:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTYuMDQ1IDJ2Ljk5Mkw0Ljc4NSAzdjUuMTcyYzAgLjg1OS4yNDMgMS41MTIuNzI3IDEuOTU3czEuMTI0LjY2OCAxLjkxOC42NjhjLjgzNiAwIDEuNTA5LS4yMjEgMi4wMTktLjY2NC41MTEtLjQ0Mi43NjYtMS4wOTYuNzY2LTEuOTYxVjNsLTEuMjYtLjAwOFYySDEzdi45OTJMMTEuNzM5IDN2NS4xNzJjMCAxLjIzNC0uMzk4IDIuMTgxLTEuMTk1IDIuODQtLjc5Ny42NTktMS44MzUuOTg4LTMuMTE0Ljk4OC0xLjI0MiAwLTIuMjQ4LS4zMjktMy4wMTctLjk4OC0uNzY5LS42NTktMS4xNTItMS42MDUtMS4xNTItMi44NFYzTDIgMi45OTJWMmg0LjA0NXpNMiAxM2gxMXYxSDJ6Ii8+PC9zdmc+",className:void 0,title:void 0},strikethrough:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4wNCA1Ljk1NGg2LjIxNWE3LjQxMiA3LjQxMiAwIDAgMC0uNzk1LS40MzggMTEuOTA3IDExLjkwNyAwIDAgMC0xLjQ0Ny0uNTU3Yy0xLjE4OC0uMzQ4LTEuOTY2LS43MTEtMi4zMzQtMS4wODgtLjM2OC0uMzc3LS41NTItLjc3LS41NTItMS4xODEgMC0uNDk1LjE4Ny0uOTA2LjU2LTEuMjMyLjM4LS4zMzEuODg3LS40OTcgMS41MjMtLjQ5Ny42OCAwIDEuMjY2LjI1NSAxLjc1Ny43NjcuMjk1LjMxNS41ODIuODkxLjg2MSAxLjczbC4xMTcuMDE2LjcwMy4wNS4xLS4wMjRjLjAyOC0uMTUyLjA0Mi0uMjc5LjA0Mi0uMzggMC0uMzM3LS4wMzktLjg1Mi0uMTE3LTEuNTQ0YTkuMzc0IDkuMzc0IDAgMCAwLS4xNzYtLjk5NUM5Ljg4LjM3OSA5LjM4NS4yNDQgOS4wMTcuMTc2IDguMzY1LjA3IDcuODk5LjAxNiA3LjYyLjAxNmMtMS40NSAwLTIuNTQ1LjM1Ny0zLjI4NyAxLjA3MS0uNzQ3LjcyLTEuMTIgMS41ODktMS4xMiAyLjYwNyAwIC41MTEuMTMzIDEuMDQuNCAxLjU4Ni4xMjkuMjUzLjI3LjQ3OC40MjcuNjc0ek04LjI4IDguMTE0Yy41NzUuMjM2Ljk1Ny40MzYgMS4xNDcuNTk5LjQ1MS40MS42NzcuODUyLjY3NyAxLjMyNCAwIC4zODMtLjEzLjc0NS0uMzkzIDEuMDg4LS4yNS4zMzgtLjU5LjU4LTEuMDIuNzI2YTMuNDE2IDMuNDE2IDAgMCAxLTEuMTYzLjIyOGMtLjQwNyAwLS43NzUtLjA2Mi0xLjEwNC0uMTg2YTIuNjk2IDIuNjk2IDAgMCAxLS44NzgtLjQ4IDMuMTMzIDMuMTMzIDAgMCAxLS42Ny0uNzk0IDEuNTI3IDEuNTI3IDAgMCAxLS4xMDQtLjIyNyA1Ny41MjMgNTcuNTIzIDAgMCAwLS4xODgtLjQ3MyAyMS4zNzEgMjEuMzcxIDAgMCAwLS4yNTEtLjU5OWwtLjg1My4wMTd2LjM3MWwtLjAxNy4zMTNhOS45MiA5LjkyIDAgMCAwIDAgLjU3M2MuMDExLjI3LjAxNy43MDkuMDE3IDEuMzE2di4xMWMwIC4wNzkuMDIyLjE0LjA2Ny4xODUuMDgzLjA2OC4yODQuMTQ3LjYwMi4yMzdsMS4xNy4zMzdjLjQ1Mi4xMy45OTYuMTk0IDEuNjMyLjE5NC42ODYgMCAxLjI1Mi0uMDU5IDEuNjk4LS4xNzdhNC42OTQgNC42OTQgMCAwIDAgMS4yOC0uNTU3Yy40MDEtLjI1OS43MDUtLjQ4Ni45MTEtLjY4My4yNjgtLjI3Ni40NjYtLjU2OC41OTQtLjg3OGE0Ljc0IDQuNzQgMCAwIDAgLjM0My0xLjc4OGMwLS4yOTgtLjAyLS41NTctLjA1OC0uNzc2SDguMjgxek0xNC45MTQgNi41N2EuMjYuMjYgMCAwIDAtLjE5My0uMDc2SC4yNjhhLjI2LjI2IDAgMCAwLS4xOTMuMDc2LjI2NC4yNjQgMCAwIDAtLjA3NS4xOTR2LjU0YzAgLjA3OS4wMjUuMTQzLjA3NS4xOTRhLjI2LjI2IDAgMCAwIC4xOTMuMDc2SDE0LjcyYS4yNi4yNiAwIDAgMCAuMTkzLS4wNzYuMjY0LjI2NCAwIDAgMCAuMDc1LS4xOTR2LS41NGEuMjY0LjI2NCAwIDAgMC0uMDc1LS4xOTR6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},monospace:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzQ0NCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS4wMjEgMi45MDZjLjE4NiAxLjIxOS4zNzIgMS41LjM3MiAyLjcxOUMxLjM5MyA2LjM3NSAwIDcuMDMxIDAgNy4wMzF2LjkzOHMxLjM5My42NTYgMS4zOTMgMS40MDZjMCAxLjIxOS0uMTg2IDEuNS0uMzcyIDIuNzE5Qy43NDMgMTQuMDYzIDEuNzY0IDE1IDIuNjkzIDE1aDEuOTV2LTEuODc1cy0xLjY3Mi4xODgtMS42NzItLjkzOGMwLS44NDMuMTg2LS44NDMuMzcyLTIuNzE4LjA5My0uODQ0LS40NjQtMS41LTEuMDIyLTEuOTY5LjU1OC0uNDY5IDEuMTE1LTEuMDMxIDEuMDIyLTEuODc1QzMuMDY0IDMuNzUgMi45NyAzLjc1IDIuOTcgMi45MDZjMC0xLjEyNSAxLjY3Mi0xLjAzMSAxLjY3Mi0xLjAzMVYwaC0xLjk1QzEuNjcgMCAuNzQzLjkzOCAxLjAyIDIuOTA2ek0xMS45NzkgMi45MDZjLS4xODYgMS4yMTktLjM3MiAxLjUtLjM3MiAyLjcxOSAwIC43NSAxLjM5MyAxLjQwNiAxLjM5MyAxLjQwNnYuOTM4cy0xLjM5My42NTYtMS4zOTMgMS40MDZjMCAxLjIxOS4xODYgMS41LjM3MiAyLjcxOS4yNzggMS45NjktLjc0MyAyLjkwNi0xLjY3MiAyLjkwNmgtMS45NXYtMS44NzVzMS42NzIuMTg4IDEuNjcyLS45MzhjMC0uODQzLS4xODYtLjg0My0uMzcyLTIuNzE4LS4wOTMtLjg0NC40NjQtMS41IDEuMDIyLTEuOTY5LS41NTgtLjQ2OS0xLjExNS0xLjAzMS0xLjAyMi0xLjg3NS4xODYtMS44NzUuMzcyLTEuODc1LjM3Mi0yLjcxOSAwLTEuMTI1LTEuNjcyLTEuMDMxLTEuNjcyLTEuMDMxVjBoMS45NWMxLjAyMiAwIDEuOTUuOTM4IDEuNjcyIDIuOTA2eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},superscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzA1IDEwLjE2NUwxMS44NjUgMTVIOS4wNTdsLTMuMTkyLTMuNTM2TDIuNzQ2IDE1SDBsNC41MjMtNC44MzVMLjIxOCA1LjYwM2gyLjc3TDUuOTg2IDguOTEgOS4wMSA1LjYwM2gyLjY0OWwtNC4zNTQgNC41NjJ6bTYuMjM0LTMuMjY5bDEuODc5LTEuMzA2Yy42NC0uNDE2IDEuMDYyLS44MDEgMS4yNjQtMS4xNTcuMjAxLS4zNTYuMzAyLS43MzguMzAyLTEuMTQ4IDAtLjY2OS0uMjM3LTEuMjEtLjcxLTEuNjItLjQ3NC0uNDExLTEuMDk3LS42MTctMS44NjgtLjYxNy0uNzQ0IDAtMS4zNC4yMDgtMS43ODUuNjI0LS40NDcuNDE2LS42NyAxLjA0My0uNjcgMS44ODFoMS40MzZjMC0uNS4wOTQtLjg0Ni4yODEtMS4wMzguMTg4LS4xOTEuNDQ1LS4yODcuNzcyLS4yODdzLjU4NS4wOTcuNzc3LjI5MmMuMTkuMTk1LjI4Ni40MzcuMjg2LjcyNiAwIC4yOS0uMDg5LjU1LS4yNjYuNzg1cy0uNjcuNjI4LTEuNDc5IDEuMTg0Yy0uNjkxLjQ3Ny0xLjYyNy45MjctMS45MDggMS4zNWwuMDE0IDEuNTY5SDE3VjYuODk2aC0zLjQ2MXoiLz48L3N2Zz4=",className:void 0,title:void 0},subscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjg2NiAxMS42NDZIOS4wNkw1Ljg2NyA3Ljk0MmwtMy4xMjEgMy43MDRIMGw0LjUyNC01LjA2NEwuMjE4IDEuODA0aDIuNzdsMyAzLjQ2NCAzLjAyMy0zLjQ2NGgyLjY1TDcuMzA2IDYuNTgybDQuNTYgNS4wNjR6bTEuNzI1IDIuMDU4bDEuODI3LTEuMzY4Yy42NC0uNDM1IDEuMDYyLS44NCAxLjI2NC0xLjIxMi4yMDItLjM3Mi4zMDItLjc3My4zMDItMS4yMDIgMC0uNy0uMjM3LTEuMjY2LS43MS0xLjY5Ni0uNDc0LS40MzEtMS4wOTctLjY0Ni0xLjg2OS0uNjQ2LS43NDQgMC0xLjM0LjIxOC0xLjc4NS42NTMtLjQ0Ni40MzYtLjY3IDEuMDkyLS42NyAxLjk3aDEuNDM2YzAtLjUyNC4wOTQtLjg4Ni4yODEtMS4wODcuMTg4LS4yLjQ0NS0uMzAxLjc3Mi0uMzAxcy41ODYuMTAyLjc3Ny4zMDZjLjE5LjIwNC4yODYuNDU4LjI4Ni43NiAwIC4zMDMtLjA4OC41NzctLjI2Ni44MjItLjE3Ny4yNDUtLjY3LjY1OC0xLjQ3OCAxLjI0LS42OTIuNS0xLjYyOC45NzEtMS45MSAxLjQxM0wxMS44NjQgMTVIMTd2LTEuMjk2aC0zLjQxeiIvPjwvc3ZnPg==",className:void 0,title:void 0}},blockType:{inDropdown:!0,options:["Normal","H1","H2","H3","H4","H5","H6","Blockquote","Code"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontSize:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAw
2MCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuOTIxIDMuMTE5YS40MjcuNDI3IDAgMCAwIC4zMzUuMTY0aC45N2EuNDI2LjQyNiAwIDAgMCAuMzA0LS4xMy40NDEuNDQxIDAgMCAwIC4xMjUtLjMxbC4wMDItMi40MWEuNDM0LjQzNCAwIDAgMC0uNDMtLjQzMkguNDNBLjQzNC40MzQgMCAwIDAgMCAuNDR2Mi40MDZjMCAuMjQyLjE5Mi40MzguNDMuNDM4aC45N2MuMTMgMCAuMjU0LS4wNi4zMzUtLjE2NWwuNzMtLjkzSDUuNTR2MTEuMzZjMCAuMjQxLjE5Mi40MzcuNDMuNDM3aDEuNzE3Yy4yMzcgMCAuNDMtLjE5Ni40My0uNDM3VjIuMTg4aDMuMDdsLjczNC45MzF6TTEzLjg5OCAxMS4yNjNhLjQyNS40MjUgMCAwIDAtLjQ4Mi0uMTQ2bC0uNTQ3LjE5NFY5LjYxN2EuNDQyLjQ0MiAwIDAgMC0uMTI2LS4zMS40MjYuNDI2IDAgMCAwLS4zMDQtLjEyN2gtLjQyOWEuNDM0LjQzNCAwIDAgMC0uNDMuNDM3djEuNjk0bC0uNTQ3LS4xOTRhLjQyNS40MjUgMCAwIDAtLjQ4MS4xNDYuNDQ0LjQ0NCAwIDAgMC0uMDE2LjUxMmwxLjMzMiAyLjAxN2EuNDI3LjQyNyAwIDAgMCAuNzEzIDBsMS4zMzMtMi4wMTdhLjQ0NC40NDQgMCAwIDAtLjAxNi0uNTEyeiIvPjwvZz48L3N2Zz4=",options:[8,9,10,11,12,14,16,18,24,30,36,48,60,72,96],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontFamily:{options:["Arial","Georgia","Impact","Tahoma","Times New Roman","Verdana"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},list:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["unordered","ordered","indent","outdent"],unordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS43MiAzLjQyN2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3LjAxIDEuNzIuMDFDLjc3LjAwOCAwIC43NzUgMCAxLjcxNWMwIC45NC43NzQgMS43MTEgMS43MiAxLjcxMXptMC0yLjYyNWMuNTEgMCAuOTIyLjQxMi45MjIuOTE0YS45Mi45MiAwIDAgMS0xLjg0MiAwIC45Mi45MiAwIDAgMSAuOTItLjkxNHpNMS43MiA4LjcwM2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3IDUuMjg3IDEuNzIgNS4yODdDLjc3IDUuMjg3IDAgNi4wNTIgMCA2Ljk5NXMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjJjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAwIDEtMS44NDIgMGMwLS41MDUuNDE1LS45MTQuOTItLjkxNHpNMS43MiAxMy45ODJjLjk1MSAwIDEuNzIyLS43NjggMS43MjItMS43MDggMC0uOTQzLS43NzQtMS43MDgtMS43MjEtMS43MDgtLjk0NyAwLTEuNzIxLjc2OC0xLjcyMSAxLjcwOHMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjVjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAxIDEtMS44NDIgMCAuOTIuOTIgMCAwIDEgLjkyLS45MTR6TTUuNzQ0IDIuMTE1aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OS40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDcuMzk0aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOThINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OC40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDEyLjY3aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjQuNC40IDAgMCAwIC40MDIuMzk4eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},ordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4yMDIgMS40NjZoOC4xNWMuMzM4IDAgLjYxMi0uMzIyLjYxMi0uNzIgMC0uMzk3LS4yNzQtLjcyLS42MTItLjcyaC04LjE1Yy0uMzM4IDAtLjYxMS4zMjMtLjYxMS43MiAwIC4zOTguMjczLjcyLjYxLjcyek0xMi4zNTIgNS43ODNoLTguMTVjLS4zMzggMC0uNjExLjMyMi0uNjExLjcyIDAgLjM5Ny4yNzMuNzIuNjEuNzJoOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5OC0uMjc0LS43Mi0uNjEyLS43MnpNMTIuMzUyIDExLjU0aC04LjE1Yy0uMzM4IDAtLjYxMS4zMjItLjYxMS43MiAwIC4zOTYuMjczLjcxOS42MS43MTloOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5Ny0uMjc0LS43Mi0uNjEyLS43MnpNLjc2NyAxLjI0OXYxLjgwMmMwIC4xOTUuMTM2LjM0My4zMTUuMzQzLjE3NiAwIC4zMTUtLjE1LjMxNS0uMzQzVi4zNTZjMC0uMTktLjEzMy0uMzM5LS4zMDItLjMzOS0uMTQ4IDAtLjIyMy4xMTgtLjI0Ny4xNTZhLjIyOC4yMjggMCAwIDAtLjAwMy4wMDVMLjU3OS42MjFhLjQ3NC40NzQgMCAwIDAtLjA5OC4yNzNjMCAuMTk0LjEyOC4zNTEuMjg2LjM1NXpNLjM1MiA4LjE5SDEuNTVjLjE1NyAwIC4yODUtLjE2Mi4yODUtLjM2MiAwLS4xOTgtLjEyOC0uMzU5LS4yODUtLjM1OUguNjh2LS4wMDZjMC0uMTA3LjIxLS4yODEuMzc4LS40MjIuMzM2LS4yNzguNzUzLS42MjUuNzUzLTEuMjI2IDAtLjU3LS4zNzYtMS0uODc0LTEtLjQ3NyAwLS44MzYuMzg1LS44MzYuODk3IDAgLjI5Ny4xNjQuNDAyLjMwNS40MDIuMiAwIC4zMjEtLjE3Ni4zMjEtLjM0NiAwLS4xMDYuMDIzLS4yMjguMjA0LS4yMjguMjQzIDAgLjI1LjI1NC4yNS4yODMgMCAuMjI4LS4yNTIuNDQyLS40OTUuNjQ5LS4zMDEuMjU1LS42NDIuNTQ0LS42NDIuOTkydi4zODRjMCAuMjA1LjE1OS4zNDMuMzA4LjM0M3pNMS43NyAxMC41NDNjMC0uNTkyLS4yOTYtLjkzMS0uODE0LS45MzEtLjY4IDAtLjg1OS41Ny0uODU5Ljg3MiAwIC4zNTEuMjIyLjM5LjMxOC4zOS4xODUgMCAuMzEtLjE0OC4zMS0uMzY2IDAtLjA4NC4wMjYtLjE4MS4yMjQtLjE4MS4xNDIgMCAuMi4wMjQuMi4yNjcgMCAuMjM3LS4wNDMuMjYzLS4yMTMuMjYzLS4xNjQgMC0uMjg4LjE1Mi0uMjg4LjM1NCAwIC4yLjEyNS4zNS4yOTEuMzUuMjI1IDAgLjI3LjEwOC4yNy4yODN2LjA3NWMwIC4yOTQtLjA5Ny4zNS0uMjc3LjM1LS4yNDggMC0uMjY3LS4xNS0uMjY3LS4xOTcgMC0uMTc0LS4wOTgtLjM1LS4zMTctLjM1LS4xOTIgMC0uMzA3LjE0MS0uMzA3LjM3OCAwIC40My4zMTMuODg4Ljg5NS44ODguNTY0IDAgLjkwMS0uNC45MDEtMS4wN3YtLjA3NGMwLS4yNzQtLjA3NC0uNTAyLS4yMTQtLjY2Ni4wOTYtLjE2My4xNDgtLjM4LjE0OC0uNjM1eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},indent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAw
2MCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS43MTYgMy4yMTFIMTd2MS4xOTdINS43MTZ6TTAgLjAyaDE3djEuMTk3SDB6TTAgMTIuNzgzaDE3djEuMTk3SDB6TTUuNzE2IDkuNTkzSDE3djEuMTk3SDUuNzE2ek01LjcxNiA2LjQwMkgxN3YxLjE5N0g1LjcxNnpNLjE4NyA5LjQ5MUwyLjUyIDcgLjE4NyA0LjUwOXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},outdent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS4zOTYgMy4xOTNoMTAuNTczVjQuMzlINS4zOTZ6TS4wMzkuMDAzaDE1LjkzVjEuMkguMDM5ek0uMDM5IDEyLjc2NmgxNS45M3YxLjE5N0guMDM5ek01LjM5NiA5LjU3NWgxMC41NzN2MS4xOTdINS4zOTZ6TTUuMzk2IDYuMzg0aDEwLjU3M3YxLjE5N0g1LjM5NnpNMi4xODcgNC40OTFMMCA2Ljk4M2wyLjE4NyAyLjQ5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},title:void 0},textAlign:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["left","center","right","justify"],left:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNOC40OTMgMTQuODg3SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4IDEwLjE2MkguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1M2gxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUzek04LjQ5MyA1LjQzNUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOC43MDlILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTJoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},center:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNTU2IDE0Ljg4N0gzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTggMTAuMTYySC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUzaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6TTExLjU1NiA1LjQzNUgzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTguNzA5SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTJ6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},right:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjE4IDE0Ljg4N0g2LjQ1YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOCAxMC4xNjJILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTNoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1M3pNMTQuNjE4IDUuNDM1SDYuNDVhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4LjcwOUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1MmgxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyeiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},justify:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjIgMTQuODg4SC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgMTAuMTYySC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgNS40MzZILjMyNWEuMzI2LjMyNiAwIDAgMSAwLS42NTJIMTQuNjJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42Mi43MUguMzI1YS4zMjYuMzI2IDAgMCAxIDAtLjY1M0gxNC42MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},title:void 0},colorPicker:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNDA2LjU4NWExLjk5OCAxLjk5OCAwIDAgMC0yLjgyNSAwbC0uNTQuNTRhLjc0MS43NDEgMCAxIDAtMS4wNDggMS4wNDhsLjE3NS4xNzUtNS44MjYgNS44MjUtMi4wMjIgMi4wMjNhLjkxLjkxIDAgMCAwLS4yNjYuNjAybC0uMDA1LjEwOHYuMDAybC0uMDgxIDEuODI5YS4zMDIuMzAyIDAgMCAwIC4zMDIuMzE2aC4wMTNsLjk3LS4wNDQuNTkyLS4wMjYuMjY4LS4wMTJjLjI5Ny0uMDEzLjU3OS0uMTM3Ljc5LS4zNDdsNy43Ny03Ljc3LjE0Ni4xNDRhLjc0Ljc0IDAgMCAwIDEuMDQ4IDBjLjI5LS4yOS4yOS0uNzU5IDAtMS4wNDhsLjU0LS41NGMuNzgtLjc4Ljc4LTIuMDQ0IDAtMi44MjV6TTguNzk1IDcuMzMzbC0yLjczLjUxNSA0LjQ1Mi00LjQ1MiAxLjEwOCAxLjEwNy0yLjgzIDIuODN6TTIuMDggMTMuNjczYy0xLjE0OCAwLTIuMDguMjk1LTIuMDguNjYgMCAuMzYzLjkzMi42NTggMi4wOC42NTggMS4xNSAwIDIuMDgtLjI5NCAyLjA4LS42NTkgMC0uMzY0LS45My0uNjU5LTIuMDgtLjY1OXoiLz48L2c+PC9zdmc+",className:void 0,component:void 0,popupClassName:void 0,colors:["rgb(97,189,109)","rgb(26,188,156)","rgb(84,172,210)","rgb(44,130,201)","rgb(147,101,184)","rgb(71,85,119)","rgb(204,204,204)","rgb(65,168,95)","rgb(0,168,133)","rgb(61,142,185)","rgb(41,105,176)","rgb(85,57,130)","rgb(40,50,78)","rgb(0,0,0)","rgb(247,218,100)","rgb(251,160,38)","rgb(235,107,86)","rgb(226,80,65)","rgb(163,143,132)","rgb(239,239,239)","rgb(255,255,255)","rgb(250,197,28)","rgb(243,121,52)","rgb(209,72,65)","rgb(184,49,47)","rgb(124,112,107)","rgb(209,213,216)"],title:void 0},link:{inDropdown:!1,className:void 0,component:void 0,popupClassName:void 0,dropdownClassName:void 0,showOpenOptionOnHover:!0,defaultTargetOption:"_self",options:["link","unlink"],link:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjk2Ny45NUEzLjIyNiAzLjIyNiAwIDAgMCAxMS42Ny4wMDJjLS44NyAwLTEuNjg2LjMzNy0yLjI5Ny45NDh
2MNy4xMDUgMy4yMThBMy4yNDcgMy4yNDcgMCAwIDAgNi4yNCA2LjI0YTMuMjI1IDMuMjI1IDAgMCAwLTMuMDIyLjg2NUwuOTUgOS4zNzNhMy4yNTMgMy4yNTMgMCAwIDAgMCA0LjU5NCAzLjIyNiAzLjIyNiAwIDAgMCAyLjI5Ny45NDhjLjg3IDAgMS42ODYtLjMzNiAyLjI5OC0uOTQ4TDcuODEyIDExLjdhMy4yNDcgMy4yNDcgMCAwIDAgLjg2NS0zLjAyMyAzLjIyNSAzLjIyNSAwIDAgMCAzLjAyMi0uODY1bDIuMjY4LTIuMjY3YTMuMjUyIDMuMjUyIDAgMCAwIDAtNC41OTV6TTcuMTA1IDEwLjk5M0w0LjgzNyAxMy4yNmEyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NSAyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LS42NTUgMi4yNTIgMi4yNTIgMCAwIDEgMC0zLjE4bDIuMjY4LTIuMjY4YTIuMjMyIDIuMjMyIDAgMCAxIDEuNTktLjY1NWMuNDMgMCAuODQxLjEyIDEuMTk1LjM0M0w0Ljc3MiA5LjQzOGEuNS41IDAgMSAwIC43MDcuNzA3bDEuOTM5LTEuOTM4Yy41NDUuODY4LjQ0MiAyLjAzLS4zMTMgMi43ODV6bTYuMTU1LTYuMTU1bC0yLjI2OCAyLjI2N2EyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NWMtLjQzMSAwLS44NDEtLjEyLTEuMTk1LS4zNDNsMS45MzgtMS45MzhhLjUuNSAwIDEgMC0uNzA3LS43MDdMNy40OTkgNi43MWEyLjI1MiAyLjI1MiAwIDAgMSAuMzEzLTIuNzg1bDIuMjY3LTIuMjY4YTIuMjMzIDIuMjMzIDAgMCAxIDEuNTktLjY1NSAyLjIzMyAyLjIzMyAwIDAgMSAyLjI0NiAyLjI0NWMwIC42MDMtLjIzMiAxLjE2OC0uNjU1IDEuNTl6IiBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=",className:void 0,title:void 0},unlink:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTMuOTU2IDEuMDM3YTMuNTUgMy41NSAwIDAgMC01LjAxNCAwTDYuNDM2IDMuNTQ0YS41NDUuNTQ1IDAgMSAwIC43Ny43N2wyLjUwOC0yLjUwNmEyLjQzOCAyLjQzOCAwIDAgMSAxLjczNS0uNzE1Yy42NTggMCAxLjI3NS4yNTQgMS43MzYuNzE1LjQ2LjQ2MS43MTUgMS4wNzguNzE1IDEuNzM2IDAgLjY1OC0uMjU0IDEuMjc0LS43MTUgMS43MzVMOS45MDcgOC41NThhMi40NTggMi40NTggMCAwIDEtMy40NzIgMCAuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3MSAzLjUzNCAzLjUzNCAwIDAgMCAyLjUwNyAxLjAzN2MuOTA4IDAgMS44MTYtLjM0NiAyLjUwNy0xLjAzN2wzLjI3OC0zLjI3OGEzLjUyIDMuNTIgMCAwIDAgMS4wMzUtMi41MDdjMC0uOTUtLjM2Ny0xLjg0LTEuMDM1LTIuNTA3eiIvPjxwYXRoIGQ9Ik03LjQgMTEuMDY1bC0yLjEyMiAyLjEyYTIuNDM3IDIuNDM3IDAgMCAxLTEuNzM1LjcxNiAyLjQzNyAyLjQzNyAwIDAgMS0xLjczNi0uNzE1IDIuNDU3IDIuNDU3IDAgMCAxIDAtMy40NzFsMy4wODYtMy4wODZhMi40MzggMi40MzggMCAwIDEgMS43MzUtLjcxNWMuNjU4IDAgMS4yNzUuMjU0IDEuNzM2LjcxNWEuNTQ1LjU0NSAwIDEgMCAuNzcxLS43NzEgMy41NSAzLjU1IDAgMCAwLTUuMDE0IDBMMS4wMzYgOC45NDRBMy41MiAzLjUyIDAgMCAwIDAgMTEuNDVjMCAuOTUuMzY3IDEuODQgMS4wMzUgMi41MDdhMy41MiAzLjUyIDAgMCAwIDIuNTA2IDEuMDM1Yy45NSAwIDEuODQtLjM2OCAyLjUwNy0xLjAzNWwyLjEyMi0yLjEyMWEuNTQ1LjU0NSAwIDAgMC0uNzcxLS43NzF6TTkuMjc0IDEyLjAwMmEuNTQ2LjU0NiAwIDAgMC0uNTQ2LjU0NXYxLjYzN2EuNTQ2LjU0NiAwIDAgMCAxLjA5MSAwdi0xLjYzN2EuNTQ1LjU0NSAwIDAgMC0uNTQ1LS41NDV6TTExLjIzIDExLjYxNmEuNTQ1LjU0NSAwIDEgMC0uNzcyLjc3MmwxLjE1NyAxLjE1NmEuNTQzLjU0MyAwIDAgMCAuNzcxIDAgLjU0NS41NDUgMCAwIDAgMC0uNzdsLTEuMTU2LTEuMTU4ek0xMi41MzcgOS44MkgxMC45YS41NDYuNTQ2IDAgMCAwIDAgMS4wOTFoMS42MzdhLjU0Ni41NDYgMCAwIDAgMC0xLjA5ek00LjkxIDMuNTQ3YS41NDYuNTQ2IDAgMCAwIC41NDUtLjU0NVYxLjM2NmEuNTQ2LjU0NiAwIDAgMC0xLjA5IDB2MS42MzZjMCAuMzAxLjI0NC41NDUuNTQ1LjU0NXpNMi44ODggMy45MzNhLjU0My41NDMgMCAwIDAgLjc3MSAwIC41NDUuNTQ1IDAgMCAwIDAtLjc3MUwyLjUwMiAyLjAwNWEuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3bDEuMTU3IDEuMTU4ek0xLjYyOCA1LjczaDEuNjM2YS41NDYuNTQ2IDAgMCAwIDAtMS4wOTJIMS42MjhhLjU0Ni41NDYgMCAwIDAgMCAxLjA5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},linkCallback:void 0},emoji:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHZpZXdCb3g9IjE1LjcyOSAyMi4wODIgMTcgMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI5LjcwOCAyNS4xMDRjLTMuMDIxLTMuMDIyLTcuOTM3LTMuMDIyLTEwLjk1OCAwLTMuMDIxIDMuMDItMy4wMiA3LjkzNiAwIDEwLjk1OCAzLjAyMSAzLjAyIDcuOTM3IDMuMDIgMTAuOTU4LS4wMDEgMy4wMi0zLjAyMSAzLjAyLTcuOTM2IDAtMTAuOTU3em0tLjg0NSAxMC4xMTJhNi41NiA2LjU2IDAgMCAxLTkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAtOS4yNjcgNi41NiA2LjU2IDAgMCAxIDkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAgOS4yNjd6bS03LjUyNC02LjczYS45MDYuOTA2IDAgMSAxIDEuODExIDAgLjkwNi45MDYgMCAwIDEtMS44MTEgMHptNC4xMDYgMGEuOTA2LjkwNiAwIDEgMSAxLjgxMiAwIC45MDYuOTA2IDAgMCAxLTEuODEyIDB6bTIuMTQxIDMuNzA4Yy0uNTYxIDEuMjk4LTEuODc1IDIuMTM3LTMuMzQ4IDIuMTM3LTEuNTA1IDAtMi44MjctLjg0My0zLjM2OS0yLjE0N2EuNDM4LjQzOCAwIDAgMSAuODEtLjMzNmMuNDA1Ljk3NiAxLjQxIDEuNjA3IDIuNTU5IDEuNjA3IDEuMTIzIDAgMi4xMjEtLjYzMSAyLjU0NC0xLjYwOGEuNDM4LjQzOCAwIDAgMSAuODA0LjM0N3oiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,emojis:["😀","😁","😂","😃","😉","😋","😎","😍","😗","🤗","🤔","😣","😫","😴","😌","🤓","😛","😜","😠","😇","😷","😈","👻","😺","😸","😹","😻","😼","😽","🙀","🙈","🙉","🙊","👼","👮","🕵","💂","👳","🎅","👸","👰","👲","🙍","🙇","🚶","🏃","💃","⛷","🏂","🏌","🏄","🚣","🏊","⛹","🏋","🚴","👫","💪","👈","👉","👆","🖕","👇","🖖","🤘","🖐","👌","👍","👎","✊","👊","👏","🙌","🙏","🐵","🐶","🐇","🐥","🐸","🐌","🐛","🐜","🐝","🍉","🍄","🍔","🍤","🍨","🍪","🎂","🍰","🍾","🍷","🍸","🍺","🌍","🚑","⏰","🌙","🌝","🌞","⭐","🌟","🌠","🌨","🌩","⛄","🔥","🎄","🎈","🎉","🎊","🎁","🎗","🏀","🏈","🎲","🔇","🔈","📣","🔔","🎵","🎷","💰","🖊","📅","✅","❎","💯"],title:void 0},embedded:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzA4IDYuNjE1YS40MzYuNDM2IDAgMCAwLS41NDMuMjkxbC0xLjgzIDYuMDQ1YS40MzYuNDM2IDAgMCAwIC44MzMuMjUyTDcgNy4xNmEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHpNOC45MzEgNi42MTVhLjQzNi40MzYgMCAwIDAtLjU0My4yOTFsLTEuODMgNi4wNDVhLjQzNi40MzYgMCAwIDAgLjgzNC4yNTJsMS44My02LjA0NGEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHoiLz48cGF0aCBkPSJNMTYuNTY0IDBILjQzNkEuNDM2LjQzNiAwIDAgMCAwIC40MzZ2MTYuMTI4YzAgLjI0LjE5NS40MzYuNDM2LjQzNmgxNi4xMjhjLjI0I
2DAgLjQzNi0uMTk1LjQzNi0uNDM2Vi40MzZBLjQzNi40MzYgMCAwIDAgMTYuNTY0IDB6TTMuNDg3Ljg3MmgxMC4wMjZ2MS43NDNIMy40ODdWLjg3MnptLTIuNjE1IDBoMS43NDN2MS43NDNILjg3MlYuODcyem0xNS4yNTYgMTUuMjU2SC44NzJWMy40ODhoMTUuMjU2djEyLjY0em0wLTEzLjUxM2gtMS43NDNWLjg3MmgxLjc0M3YxLjc0M3oiLz48Y2lyY2xlIGN4PSI5My44NjciIGN5PSIyNDUuMDY0IiByPSIxMy4xMjgiIHRyYW5zZm9ybT0ibWF0cml4KC4wMzMyIDAgMCAuMDMzMiAwIDApIi8+PGNpcmNsZSBjeD0iOTMuODY3IiBjeT0iMzYwLjU5MiIgcj0iMTMuMTI4IiB0cmFuc2Zvcm09Im1hdHJpeCguMDMzMiAwIDAgLjAzMzIgMCAwKSIvPjxwYXRoIGQ9Ik0xNC4yNTQgMTIuNjQxSDEwLjJhLjQzNi40MzYgMCAwIDAgMCAuODcyaDQuMDU0YS40MzYuNDM2IDAgMCAwIDAtLjg3MnoiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,embedCallback:void 0,defaultSize:{height:"auto",width:"auto"},title:void 0},image:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNzQxIDBILjI2Qy4xMTYgMCAwIC4xMzYgMCAuMzA0djEzLjM5MmMwIC4xNjguMTE2LjMwNC4yNTkuMzA0SDE0Ljc0Yy4xNDMgMCAuMjU5LS4xMzYuMjU5LS4zMDRWLjMwNEMxNSAuMTM2IDE0Ljg4NCAwIDE0Ljc0MSAwem0tLjI1OCAxMy4zOTFILjUxN1YuNjFoMTMuOTY2VjEzLjM5eiIvPjxwYXRoIGQ9Ik00LjEzOCA2LjczOGMuNzk0IDAgMS40NC0uNzYgMS40NC0xLjY5NXMtLjY0Ni0xLjY5NS0xLjQ0LTEuNjk1Yy0uNzk0IDAtMS40NC43Ni0xLjQ0IDEuNjk1IDAgLjkzNC42NDYgMS42OTUgMS40NCAxLjY5NXptMC0yLjc4MWMuNTA5IDAgLjkyMy40ODcuOTIzIDEuMDg2IDAgLjU5OC0uNDE0IDEuMDg2LS45MjMgMS4wODYtLjUwOSAwLS45MjMtLjQ4Ny0uOTIzLTEuMDg2IDAtLjU5OS40MTQtMS4wODYuOTIzLTEuMDg2ek0xLjgxIDEyLjE3NGMuMDYgMCAuMTIyLS4wMjUuMTcxLS4wNzZMNi4yIDcuNzI4bDIuNjY0IDMuMTM0YS4yMzIuMjMyIDAgMCAwIC4zNjYgMCAuMzQzLjM0MyAwIDAgMCAwLS40M0w3Ljk4NyA4Ljk2OWwyLjM3NC0zLjA2IDIuOTEyIDMuMTQyYy4xMDYuMTEzLjI3LjEwNS4zNjYtLjAyYS4zNDMuMzQzIDAgMCAwLS4wMTYtLjQzbC0zLjEwNC0zLjM0N2EuMjQ0LjI0NCAwIDAgMC0uMTg2LS4wOC4yNDUuMjQ1IDAgMCAwLS4xOC4xTDcuNjIyIDguNTM3IDYuMzk0IDcuMDk0YS4yMzIuMjMyIDAgMCAwLS4zNTQtLjAxM2wtNC40IDQuNTZhLjM0My4zNDMgMCAwIDAtLjAyNC40My4yNDMuMjQzIDAgMCAwIC4xOTQuMTAzeiIvPjwvZz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,urlEnabled:!0,uploadEnabled:!0,previewImage:!1,alignmentEnabled:!0,uploadCallback:void 0,inputAccept:"image/gif,image/jpeg,image/jpg,image/png,image/svg",alt:{present:!1,mandatory:!1},defaultSize:{height:"auto",width:"auto"},title:void 0},remove:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNOC4xIDE0bDYuNC03LjJjLjYtLjcuNi0xLjgtLjEtMi41bC0yLjctMi43Yy0uMy0uNC0uOC0uNi0xLjMtLjZIOC42Yy0uNSAwLTEgLjItMS40LjZMLjUgOS4yYy0uNi43LS42IDEuOS4xIDIuNWwyLjcgMi43Yy4zLjQuOC42IDEuMy42SDE2di0xSDguMXptLTEuMy0uMXMwLS4xIDAgMGwtMi43LTIuN2MtLjQtLjQtLjQtLjkgMC0xLjNMNy41IDZoLTFsLTMgMy4zYy0uNi43LS42IDEuNy4xIDIuNEw1LjkgMTRINC42Yy0uMiAwLS40LS4xLS42LS4yTDEuMiAxMWMtLjMtLjMtLjMtLjggMC0xLjFMNC43IDZoMS44TDEwIDJoMUw3LjUgNmwzLjEgMy43LTMuNSA0Yy0uMS4xLS4yLjEtLjMuMnoiLz48L3N2Zz4=",className:void 0,component:void 0,title:void 0},history:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["undo","redo"],undo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcgMTQuODc1YzIuNjcyIDAgNC44NDYtMi4xNDUgNC44NDYtNC43ODEgMC0yLjYzNy0yLjE3NC00Ljc4MS00Ljg0Ni00Ljc4MVY4LjVMMS42MTUgNC4yNSA3IDB2My4xODhjMy44NiAwIDcgMy4wOTggNyA2LjkwNlMxMC44NiAxNyA3IDE3cy03LTMuMDk4LTctNi45MDZoMi4xNTRjMCAyLjYzNiAyLjE3NCA0Ljc4MSA0Ljg0NiA0Ljc4MXoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},redo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNTA0IDEzLjk3N2E0LjQ5NyA0LjQ5NyAwIDAgMS00LjQ5Mi00LjQ5MiA0LjQ5NyA0LjQ5NyAwIDAgMSA0LjQ5Mi00LjQ5M3YyLjk5NWw0Ljk5LTMuOTkzTDYuNTA0IDB2Mi45OTVhNi40OTYgNi40OTYgMCAwIDAtNi40ODggNi40OWMwIDMuNTc4IDIuOTEgNi40OSA2LjQ4OCA2LjQ5YTYuNDk2IDYuNDk2IDAgMCAwIDYuNDg3LTYuNDloLTEuOTk2YTQuNDk3IDQuNDk3IDAgMCAxLTQuNDkxIDQuNDkyeiIgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",className:void 0,title:void 0},title:void 0}},lo={en:{"generic.add":"Add","generic.cancel":"Cancel","components.c
2ontrols.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Block Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Color Picker","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Highlight","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Embedded Link","components.controls.embedded.enterlink":"Enter link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Font","components.controls.fontsize.fontsize":"Font Size","components.controls.history.history":"History","components.controls.history.undo":"Undo","components.controls.history.redo":"Redo","components.controls.image.image":"Image","components.controls.image.fileUpload":"File Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop the file or click to upload","components.controls.inline.bold":"Bold","components.controls.inline.italic":"Italic","components.controls.inline.underline":"Underline","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Link Title","components.controls.link.linkTarget":"Link Target","components.controls.link.linkTargetOption":"Open link in new window","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"List","components.controls.list.unordered":"Unordered","components.controls.list.ordered":"Ordered","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Remove","components.controls.textalign.textalign":"Text Align","components.controls.textalign.left":"Left","components.controls.textalign.center":"Center","components.controls.textalign.right":"Right","components.controls.textalign.justify":"Justify"},fr:{"generic.add":"Ok","generic.cancel":"Annuler","components.controls.blocktype.h1":"Titre 1","components.controls.blocktype.h2":"Titre 2","components.controls.blocktype.h3":"Titre 3","components.controls.blocktype.h4":"Titre 4","components.controls.blocktype.h5":"Titre 5","components.controls.blocktype.h6":"Titre 6","components.controls.blocktype.blockquote":"Citation","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Type bloc","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Palette de couleur","components.controls.colorpicker.text":"Texte","components.controls.colorpicker.background":"Fond","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Lien iFrame","components.controls.embedded.enterlink":"Entrer le lien","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Police","components.controls.fontsize.fontsize":"Taille de police","components.controls.history.history":"Historique","components.controls.history.undo":"Précédent","components.controls.history.redo":"Suivant","components.controls.image.image":"Image","components.controls.image.fileUpload":"Téléchargement","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Glisser une image ou cliquer pour télécharger","components.controls.inline.bold":"Gras","components.controls.inline.italic":"Italique","components.controls.inline.underline":"Souligner","components.controls.inline.strikethrough":"Barrer","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Exposant","components.controls.inline.subscript":"Indice","components.c
2ontrols.link.linkTitle":"Titre du lien","components.controls.link.linkTarget":"Cible du lien","components.controls.link.linkTargetOption":"Ouvrir le lien dans une nouvelle fenêtre","components.controls.link.link":"Lier","components.controls.link.unlink":"Délier","components.controls.list.list":"Liste","components.controls.list.unordered":"Désordonnée","components.controls.list.ordered":"Ordonnée","components.controls.list.indent":"Augmenter le retrait","components.controls.list.outdent":"Diminuer le retrait","components.controls.remove.remove":"Supprimer","components.controls.textalign.textalign":"Alignement du texte","components.controls.textalign.left":"Gauche","components.controls.textalign.center":"Centre","components.controls.textalign.right":"Droite","components.controls.textalign.justify":"Justifier"},zh:{"generic.add":"添加","generic.cancel":"取消","components.controls.blocktype.h1":"标题1","components.controls.blocktype.h2":"标题2","components.controls.blocktype.h3":"标题3","components.controls.blocktype.h4":"标题4","components.controls.blocktype.h5":"标题5","components.controls.blocktype.h6":"标题6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"源码","components.controls.blocktype.blocktype":"样式","components.controls.blocktype.normal":"正文","components.controls.colorpicker.colorpicker":"选色器","components.controls.colorpicker.text":"文字","components.controls.colorpicker.background":"背景","components.controls.embedded.embedded":"内嵌","components.controls.embedded.embeddedlink":"内嵌网页","components.controls.embedded.enterlink":"输入网页地址","components.controls.emoji.emoji":"表情符号","components.controls.fontfamily.fontfamily":"字体","components.controls.fontsize.fontsize":"字号","components.controls.history.history":"历史","components.controls.history.undo":"撤销","components.controls.history.redo":"恢复","components.controls.image.image":"图片","components.controls.image.fileUpload":"来自文件","components.controls.image.byURL":"在线图片","components.controls.image.dropFileText":"点击或者拖拽文件上传","components.controls.inline.bold":"粗体","components.controls.inline.italic":"斜体","components.controls.inline.underline":"下划线","components.controls.inline.strikethrough":"删除线","components.controls.inline.monospace":"等宽字体","components.controls.inline.superscript":"上标","components.controls.inline.subscript":"下标","components.controls.link.linkTitle":"超链接","components.controls.link.linkTarget":"输入链接地址","components.controls.link.linkTargetOption":"在新窗口中打开链接","components.controls.link.link":"链接","components.controls.link.unlink":"删除链接","components.controls.list.list":"列表","components.controls.list.unordered":"项目符号","components.controls.list.ordered":"编号","components.controls.list.indent":"增加缩进量","components.controls.list.outdent":"减少缩进量","components.controls.remove.remove":"清除格式","components.controls.textalign.textalign":"文本对齐","components.controls.textalign.left":"文本左对齐","components.controls.textalign.center":"居中","components.controls.textalign.right":"文本右对齐","components.controls.textalign.justify":"两端对齐"},ru:{"generic.add":"Добавить","generic.cancel":"Отменить","components.controls.blocktype.h1":"Заголовок 1","components.controls.blocktype.h2":"Заголовок 2","components.controls.blocktype.h3":"Заголовок 3","components.controls.blocktype.h4":"Заголовок 4","components.controls.blocktype.h5":"Заголовок 5","components.controls.blocktype.h6":"Заголовок 6","components.controls.blocktype.blockquote":"Цитата","components.controls.blocktype.code":"Код","components.controls.blocktype.blocktype":"Форматирование","components.controls.blocktype.normal":"Обычный","components.controls.colorpicker.colorpicker":"Выбор цвета","components.c
2ontrols.colorpicker.text":"Текст","components.controls.colorpicker.background":"Фон","components.controls.embedded.embedded":"Встраивание","components.controls.embedded.embeddedlink":"Ссылка в iFrame","components.controls.embedded.enterlink":"Вставьте ссылку","components.controls.emoji.emoji":"Эмодзи","components.controls.fontfamily.fontfamily":"Шрифт","components.controls.fontsize.fontsize":"Размер шрифта","components.controls.history.history":"История","components.controls.history.undo":"Отменить","components.controls.history.redo":"Вернуть","components.controls.image.image":"Изображение","components.controls.image.fileUpload":"Файлы","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Переместите в эту область файлы или кликните для загрузки","components.controls.inline.bold":"Жирный","components.controls.inline.italic":"Курсив","components.controls.inline.underline":"Подчеркивание","components.controls.inline.strikethrough":"Зачеркивание","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Верхний индекс","components.controls.inline.subscript":"Нижний индекс","components.controls.link.linkTitle":"Текст","components.controls.link.linkTarget":"Адрес ссылки","components.controls.link.linkTargetOption":"Открывать в новом окне","components.controls.link.link":"Ссылка","components.controls.link.unlink":"Убрать ссылку","components.controls.list.list":"Список","components.controls.list.unordered":"Неупорядоченный","components.controls.list.ordered":"Упорядоченный","components.controls.list.indent":"Отступ","components.controls.list.outdent":"Выступ","components.controls.remove.remove":"Удалить","components.controls.textalign.textalign":"Выравнивание текста","components.controls.textalign.left":"Слева","components.controls.textalign.center":"По центру","components.controls.textalign.right":"Справа","components.controls.textalign.justify":"Выравнить"},pt:{"generic.add":"Ok","generic.cancel":"Cancelar","components.controls.blocktype.h1":"Título 1","components.controls.blocktype.h2":"Título 2","components.controls.blocktype.h3":"Título 3","components.controls.blocktype.h4":"Título 4","components.controls.blocktype.h5":"Título 5","components.controls.blocktype.h6":"Título 6","components.controls.blocktype.blockquote":"Citação","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Estilo","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Paleta de cores","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Fundo","components.controls.embedded.embedded":"Embarcado","components.controls.embedded.embeddedlink":"Link embarcado","components.controls.embedded.enterlink":"Coloque o link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonte","components.controls.fontsize.fontsize":"Tamanho da Fonte","components.controls.history.history":"Histórico","components.controls.history.undo":"Desfazer","components.controls.history.redo":"Refazer","components.controls.image.image":"Imagem","components.controls.image.fileUpload":"Carregar arquivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arraste uma imagem aqui ou clique para carregar","components.controls.inline.bold":"Negrito","components.controls.inline.italic":"Itálico","components.controls.inline.underline":"Sublinhado","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobrescrito","components.controls.inline.subscript":"Subscrito","components.controls.link.linkTitle":"Título do link","components.c
2ontrols.link.linkTarget":"Alvo do link","components.controls.link.linkTargetOption":"Abrir link em outra janela","components.controls.link.link":"Adicionar Link","components.controls.link.unlink":"Remover link","components.controls.list.list":"Lista","components.controls.list.unordered":"Sem ordenção","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Aumentar recuo","components.controls.list.outdent":"Diminuir recuo","components.controls.remove.remove":"Remover","components.controls.textalign.textalign":"Alinhamento do texto","components.controls.textalign.left":"À Esquerda","components.controls.textalign.center":"Centralizado","components.controls.textalign.right":"À Direita","components.controls.textalign.justify":"Justificado"},ko:{"generic.add":"입력","generic.cancel":"취소","components.controls.blocktype.h1":"제목1","components.controls.blocktype.h2":"제목2","components.controls.blocktype.h3":"제목3","components.controls.blocktype.h4":"제목4","components.controls.blocktype.h5":"제목5","components.controls.blocktype.h6":"제목6","components.controls.blocktype.blockquote":"인용","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"블록","components.controls.blocktype.normal":"표준","components.controls.colorpicker.colorpicker":"색상 선택","components.controls.colorpicker.text":"글꼴색","components.controls.colorpicker.background":"배경색","components.controls.embedded.embedded":"임베드","components.controls.embedded.embeddedlink":"임베드 링크","components.controls.embedded.enterlink":"주소를 입력하세요","components.controls.emoji.emoji":"이모지","components.controls.fontfamily.fontfamily":"글꼴","components.controls.fontsize.fontsize":"글꼴 크기","components.controls.history.history":"히스토리","components.controls.history.undo":"실행 취소","components.controls.history.redo":"다시 실행","components.controls.image.image":"이미지","components.controls.image.fileUpload":"파일 업로드","components.controls.image.byURL":"주소","components.controls.image.dropFileText":"클릭하거나 파일을 드롭하여 업로드하세요","components.controls.inline.bold":"굵게","components.controls.inline.italic":"기울임꼴","components.controls.inline.underline":"밑줄","components.controls.inline.strikethrough":"취소선","components.controls.inline.monospace":"고정 너비","components.controls.inline.superscript":"위 첨자","components.controls.inline.subscript":"아래 첨자","components.controls.link.linkTitle":"링크 제목","components.controls.link.linkTarget":"링크 타겟","components.controls.link.linkTargetOption":"새창으로 열기","components.controls.link.link":"링크","components.controls.link.unlink":"링크 제거","components.controls.list.list":"리스트","components.controls.list.unordered":"일반 리스트","components.controls.list.ordered":"순서 리스트","components.controls.list.indent":"들여쓰기","components.controls.list.outdent":"내어쓰기","components.controls.remove.remove":"삭제","components.controls.textalign.textalign":"텍스트 정렬","components.controls.textalign.left":"왼쪽","components.controls.textalign.center":"중앙","components.controls.textalign.right":"오른쪽","components.controls.textalign.justify":"양쪽"},it:{"generic.add":"Aggiungi","generic.cancel":"Annulla","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Citazione","components.controls.blocktype.code":"Codice","components.controls.blocktype.blocktype":"Stili","components.controls.blocktype.normal":"Normale","components.controls.colorpicker.colorpicker":"Colore testo","components.controls.colorpicker.text":"Testo","components.controls.colorpicker.background":"Evidenziazione","components.controls.embedded.embedded":"Incorpora","components.c
2ontrols.embedded.embeddedlink":"Incorpora link","components.controls.embedded.enterlink":"Inserisci link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Carattere","components.controls.fontsize.fontsize":"Dimensione carattere","components.controls.history.history":"Modifiche","components.controls.history.undo":"Annulla","components.controls.history.redo":"Ripristina","components.controls.image.image":"Immagine","components.controls.image.fileUpload":"Carica immagine","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Trascina il file o clicca per caricare","components.controls.inline.bold":"Grassetto","components.controls.inline.italic":"Corsivo","components.controls.inline.underline":"Sottolineato","components.controls.inline.strikethrough":"Barrato","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Apice","components.controls.inline.subscript":"Pedice","components.controls.link.linkTitle":"Testo","components.controls.link.linkTarget":"Link","components.controls.link.linkTargetOption":"Apri link in una nuova finestra","components.controls.link.link":"Inserisci link","components.controls.link.unlink":"Rimuovi link","components.controls.list.list":"Lista","components.controls.list.unordered":"Elenco puntato","components.controls.list.ordered":"Elenco numerato","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Rimuovi formattazione","components.controls.textalign.textalign":"Allineamento del testo","components.controls.textalign.left":"Allinea a sinistra","components.controls.textalign.center":"Allinea al centro","components.controls.textalign.right":"Allinea a destra","components.controls.textalign.justify":"Giustifica"},nl:{"generic.add":"Toevoegen","generic.cancel":"Annuleren","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Blocktype","components.controls.blocktype.normal":"Normaal","components.controls.colorpicker.colorpicker":"Kleurkiezer","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Achtergrond","components.controls.embedded.embedded":"Ingevoegd","components.controls.embedded.embeddedlink":"Ingevoegde link","components.controls.embedded.enterlink":"Voeg link toe","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Lettertype","components.controls.fontsize.fontsize":"Lettergrootte","components.controls.history.history":"Geschiedenis","components.controls.history.undo":"Ongedaan maken","components.controls.history.redo":"Opnieuw","components.controls.image.image":"Afbeelding","components.controls.image.fileUpload":"Bestand uploaden","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop het bestand hier of klik om te uploaden","components.controls.inline.bold":"Dikgedrukt","components.controls.inline.italic":"Schuingedrukt","components.controls.inline.underline":"On
2derstrepen","components.controls.inline.strikethrough":"Doorstrepen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Linktitel","components.controls.link.linkTarget":"Link bestemming","components.controls.link.linkTargetOption":"Open link in een nieuw venster","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"Lijst","components.controls.list.unordered":"Ongeordend","components.controls.list.ordered":"Geordend","components.controls.list.indent":"Inspringen","components.controls.list.outdent":"Inspringen verkleinen","components.controls.remove.remove":"Verwijderen","components.controls.textalign.textalign":"Tekst uitlijnen","components.controls.textalign.left":"Links","components.controls.textalign.center":"Gecentreerd","components.controls.textalign.right":"Rechts","components.controls.textalign.justify":"Uitgelijnd"},de:{"generic.add":"Hinzufügen","generic.cancel":"Abbrechen","components.controls.blocktype.h1":"Überschrift 1","components.controls.blocktype.h2":"Überschrift 2","components.controls.blocktype.h3":"Überschrift 3","components.controls.blocktype.h4":"Überschrift 4","components.controls.blocktype.h5":"Überschrift 5","components.controls.blocktype.h6":"Überschrift 6","components.controls.blocktype.blockquote":"Zitat","components.controls.blocktype.code":"Quellcode","components.controls.blocktype.blocktype":"Blocktyp","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farbauswahl","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Hintergrund","components.controls.embedded.embedded":"Eingebettet","components.controls.embedded.embeddedlink":"Eingebetteter Link","components.controls.embedded.enterlink":"Link eingeben","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Schriftart","components.controls.fontsize.fontsize":"Schriftgröße","components.controls.history.history":"Historie","components.controls.history.undo":"Zurücknehmen","components.controls.history.redo":"Wiederholen","components.controls.image.image":"Bild","components.controls.image.fileUpload":"Datei-Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Dateien ziehen und ablegen, oder klicken zum Hochladen","components.controls.inline.bold":"Fett","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Unterstreichen","components.controls.inline.strikethrough":"Durchstreichen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Hochgestellt","components.controls.inline.subscript":"Tiefgestellt","components.controls.link.linkTitle":"Link-Titel","components.controls.link.linkTarget":"Link-Ziel","components.controls.link.linkTargetOption":"Link in neuem Fenster öffnen","components.controls.link.link":"Link","components.controls.link.unlink":"Aufheben","components.controls.list.list":"Liste","components.controls.list.unordered":"Aufzählung","components.controls.list.ordered":"Nummerierte Liste","components.controls.list.indent":"Einzug vergrößern","components.controls.list.outdent":"Einzug reduzieren","components.controls.remove.remove":"Entfernen","components.controls.textalign.textalign":"Textausrichtung","components.controls.textalign.left":"Linksbündig","components.controls.textalign.center":"Zentrieren","components.controls.textalign.right":"Rechtsbündig","components.controls.textalign.justify":"Blocksatz"},da:{"generic.add":"Tilføj","generic.cancel":"Annuller","components.controls.blocktype.h1":"Overskrift 1","components.controls.blocktype.h2":"Overskrift 2","components.controls.blocktype.h3":"Overskrift 3","components.controls.blocktype.h4":"Overskrift 4","components.controls.blocktype.h5":"Overskrift 5","components.controls.blocktype.h6":"Overskrift 6","components.controls.blocktype.blockquote":"Blokcitat","components.c
2ontrols.blocktype.code":"Kode","components.controls.blocktype.blocktype":"Blok Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farver","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Baggrund","components.controls.embedded.embedded":"Indlejre","components.controls.embedded.embeddedlink":"Indlejre Link","components.controls.embedded.enterlink":"Indtast link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonttype","components.controls.fontsize.fontsize":"Fontstørrelser","components.controls.history.history":"Historie","components.controls.history.undo":"Fortryd","components.controls.history.redo":"Gendan","components.controls.image.image":"Billede","components.controls.image.fileUpload":"Filoverførsel","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop filen eller klik for at uploade","components.controls.inline.bold":"Fed","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Understrege","components.controls.inline.strikethrough":"Gennemstreget","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Hævet","components.controls.inline.subscript":"Sænket","components.controls.link.linkTitle":"Link Titel","components.controls.link.linkTarget":"Link Mål","components.controls.link.linkTargetOption":"Åbn link i nyt vindue","components.controls.link.link":"Link","components.controls.link.unlink":"Fjern link","components.controls.list.list":"Liste","components.controls.list.unordered":"Uordnet","components.controls.list.ordered":"Ordnet","components.controls.list.indent":"Indrykning","components.controls.list.outdent":"Udrykning","components.controls.remove.remove":"Fjern","components.controls.textalign.textalign":"Tekstjustering","components.controls.textalign.left":"Venstre","components.controls.textalign.center":"Center","components.controls.textalign.right":"Højre","components.controls.textalign.justify":"Margener"},zh_tw:{"generic.add":"新增","generic.cancel":"取消","components.controls.blocktype.h1":"標題1","components.controls.blocktype.h2":"標題2","components.controls.blocktype.h3":"標題3","components.controls.blocktype.h4":"標題4","components.controls.blocktype.h5":"標題5","components.controls.blocktype.h6":"標題6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"程式碼","components.controls.blocktype.blocktype":"樣式","components.controls.blocktype.normal":"正文","components.controls.colorpicker.colorpicker":"選色器","components.controls.colorpicker.text":"文字","components.controls.colorpicker.background":"背景","components.controls.embedded.embedded":"內嵌","components.controls.embedded.embeddedlink":"內嵌網頁","components.controls.embedded.enterlink":"輸入網頁地址","components.controls.emoji.emoji":"表情符號","components.controls.fontfamily.fontfamily":"字體","components.controls.fontsize.fontsize":"字體大小","components.controls.history.history":"歷史紀錄","components.controls.history.undo":"復原","components.controls.history.redo":"重做","components.controls.image.image":"圖片","components.controls.image.fileUpload":"檔案上傳","components.controls.image.byURL":"網址","components.controls.image.dropFileText":"點擊或拖曳檔案上傳","components.controls.inline.bold":"粗體","components.controls.inline.italic":"斜體","components.controls.inline.underline":"底線","components.controls.inline.strikethrough":"刪除線","components.controls.inline.monospace":"等寬字體","components.controls.inline.superscript":"上標","components.controls.inline.subscript":"下標","components.controls.link.linkTitle":"超連結","components.controls.link.linkTarget":"輸入連結位址","components.controls.link.linkTargetOption":"在新視窗打開連結","components.controls.link.link":"連結","components.controls.link.unlink":"刪除連結","components.controls.list.list":"列表","components.c
2ontrols.list.unordered":"項目符號","components.controls.list.ordered":"編號","components.controls.list.indent":"增加縮排","components.controls.list.outdent":"減少縮排","components.controls.remove.remove":"清除格式","components.controls.textalign.textalign":"文字對齊","components.controls.textalign.left":"文字向左對齊","components.controls.textalign.center":"文字置中","components.controls.textalign.right":"文字向右對齊","components.controls.textalign.justify":"兩端對齊"},pl:{"generic.add":"Dodaj","generic.cancel":"Anuluj","components.controls.blocktype.h1":"Nagłówek 1","components.controls.blocktype.h2":"Nagłówek 2","components.controls.blocktype.h3":"Nagłówek 3","components.controls.blocktype.h4":"Nagłówek 4","components.controls.blocktype.h5":"Nagłówek 5","components.controls.blocktype.h6":"Nagłówek 6","components.controls.blocktype.blockquote":"Cytat","components.controls.blocktype.code":"Kod","components.controls.blocktype.blocktype":"Format","components.controls.blocktype.normal":"Normalny","components.controls.colorpicker.colorpicker":"Kolor","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Tło","components.controls.embedded.embedded":"Osadź","components.controls.embedded.embeddedlink":"Osadź odnośnik","components.controls.embedded.enterlink":"Wprowadź odnośnik","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Krój czcionki","components.controls.fontsize.fontsize":"Rozmiar czcionki","components.controls.history.history":"Historia","components.controls.history.undo":"Cofnij","components.controls.history.redo":"Ponów","components.controls.image.image":"Obrazek","components.controls.image.fileUpload":"Prześlij plik","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Upuść plik lub kliknij, aby przesłać","components.controls.inline.bold":"Pogrubienie","components.controls.inline.italic":"Kursywa","components.controls.inline.underline":"Podkreślenie","components.controls.inline.strikethrough":"Przekreślenie","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Indeks górny","components.controls.inline.subscript":"Indeks dolny","components.controls.link.linkTitle":"Tytuł odnośnika","components.controls.link.linkTarget":"Adres odnośnika","components.controls.link.linkTargetOption":"Otwórz odnośnik w nowej karcie","components.controls.link.link":"Wstaw odnośnik","components.controls.link.unlink":"Usuń odnośnik","components.controls.list.list":"Lista","components.controls.list.unordered":"Lista nieuporządkowana","components.controls.list.ordered":"Lista uporządkowana","components.controls.list.indent":"Zwiększ wcięcie","components.controls.list.outdent":"Zmniejsz wcięcie","components.controls.remove.remove":"Usuń","components.controls.textalign.textalign":"Wyrównaj tekst","components.controls.textalign.left":"Do lewej","components.controls.textalign.center":"Do środka","components.controls.textalign.right":"Do prawej","components.controls.textalign.justify":"Wyjustuj"},es:{"generic.add":"Añadir","generic.cancel":"Cancelar","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Código","components.controls.blocktype.blocktype":"Tipo de bloque","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Seleccionar color","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Subrayado","components.controls.embedded.embedded":"Adjuntar","components.controls.embedded.embeddedlink":"Adjuntar Link","components.controls.embedded.enterlink":"Introducir link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fuente","components.c
2ontrols.fontsize.fontsize":"Tamaño de fuente","components.controls.history.history":"Histórico","components.controls.history.undo":"Deshacer","components.controls.history.redo":"Rehacer","components.controls.image.image":"Imagen","components.controls.image.fileUpload":"Subir archivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arrastra el archivo o haz click para subirlo","components.controls.inline.bold":"Negrita","components.controls.inline.italic":"Cursiva","components.controls.inline.underline":"Subrayado","components.controls.inline.strikethrough":"Tachado","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobreíndice","components.controls.inline.subscript":"Subíndice","components.controls.link.linkTitle":"Título del enlace","components.controls.link.linkTarget":"Objetivo del enlace","components.controls.link.linkTargetOption":"Abrir en nueva ventana","components.controls.link.link":"Enlazar","components.controls.link.unlink":"Desenlazar","components.controls.list.list":"Lista","components.controls.list.unordered":"Desordenada","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Indentada","components.controls.list.outdent":"Dentada","components.controls.remove.remove":"Eliminar","components.controls.textalign.textalign":"Alineación del texto","components.controls.textalign.left":"Izquierda","components.controls.textalign.center":"Centrado","components.controls.textalign.right":"Derecha","components.controls.textalign.justify":"Justificado"},ja:{"generic.add":"追加","generic.cancel":"キャンセル","components.controls.blocktype.h1":"見出し1","components.controls.blocktype.h2":"見出し2","components.controls.blocktype.h3":"見出し3","components.controls.blocktype.h4":"見出し4","components.controls.blocktype.h5":"見出し5","components.controls.blocktype.h6":"見出し6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"コード","components.controls.blocktype.blocktype":"スタイル","components.controls.blocktype.normal":"標準テキスト","components.controls.colorpicker.colorpicker":"テキストの色","components.controls.colorpicker.text":"テキスト","components.controls.colorpicker.background":"ハイライト","components.controls.embedded.embedded":"埋め込み","components.controls.embedded.embeddedlink":"埋め込みリンク","components.controls.embedded.enterlink":"リンクを入力してください","components.controls.emoji.emoji":"絵文字","components.controls.fontfamily.fontfamily":"フォント","components.controls.fontsize.fontsize":"フォントサイズ","components.controls.history.history":"履歴","components.controls.history.undo":"元に戻す","components.controls.history.redo":"やり直し","components.controls.image.image":"画像","components.controls.image.fileUpload":"ファイルをアップロード","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"ここに画像をドラッグするか、クリックしてください","components.controls.inline.bold":"太字","components.controls.inline.italic":"斜体","components.controls.inline.underline":"下線","components.controls.inline.strikethrough":"取り消し線","components.controls.inline.monospace":"等幅フォント","components.controls.inline.superscript":"上付き文字","components.controls.inline.subscript":"下付き文字","components.controls.link.linkTitle":"リンクタイトル","components.controls.link.linkTarget":"リンク対象","components.controls.link.linkTargetOption":"新しいウィンドウで開く","components.controls.link.link":"リンク","components.controls.link.unlink":"リンクを解除","components.controls.list.list":"リスト","components.controls.list.unordered":"箇条書き","components.controls.list.ordered":"番号付き","components.controls.list.indent":"インデント増","components.controls.list.outdent":"インデント減","components.controls.remove.remove":"書式をクリア","components.c
2ontrols.textalign.textalign":"整列","components.controls.textalign.left":"左揃え","components.controls.textalign.center":"中央揃え","components.controls.textalign.right":"右揃え","components.controls.textalign.justify":"両端揃え"}};function uo(t){return(uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function po(){return(po=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}function fo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function yo(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fo(Object(n),!0).forEach((function(e){ho(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fo(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ho(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mo(t){return function(t){if(Array.isArray(t))return go(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return go(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?go(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function go(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function bo(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function vo(t,e){return(vo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Mo(t){return(Mo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n(38),n(39);var jo=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&vo(t,e)}(i,o.Component);var t,e,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Mo(t);if(e){var r=Mo(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===uo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,n)}}(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(e=n.call(this,t)).onEditorBlur=function(){e.setState({editorFocused:!1})},e.onEditorFocus=function(t){var n=e.props.onFocus;e.setState({editorFocused:!0});var o=e.focusHandler.isEditorFocused();n&&o&&n(t)},e.onEditorMouseDown=function(){e.focusHandler.onEditorMouseDown()},e.keyBindingFn=function(t){if("Tab"!==t.key)return"ArrowUp"!==t.key&&"ArrowDown"!==t.key||M()&&t.preventDefault(),Object(c.getDefaultKeyBinding)(t);var n=e.props.onTab;if(!n||!n(t)){var o=Object(s.changeDepth)(e.state.editorState,t.shiftKey?-1:1,4);o&&o!==e.state.editorState&&(e.onChange(o),t.preventDefault())}return null},e.onToolbarFocus=function(t){var n=e.props.onFocus;n&&e.focusHandler.isToolbarFocused()&&n(t)},e.onWrapperBlur=function(t){var n=e.props.onBlur;n&&e.focusHandler.isEditorBlur(t)&&n(t,e.getEditorState())},e.onChange=function(t){var n=e.props,o=n.readOnly,r=n.onEditorStateChange;o||"atomic"===Object(s.getSelectedBlocksType)(t)&&t.getSelection().isCollapsed||(r&&r(t,e.props.wrapperId),_(e.props,"editorState")?e.afterChange(t):e.setState({editorState:t},e.afterChange(t)))},e.setWrapperReference=function(t){e.wrapper=t},e.setEditorReference=function(t){e.props.editorRef&&e.props.editorRef(t),e.editor=t},e.getCompositeDecorator=function(t){var n=[].concat(mo(e.props.customDecorators),[{strategy:Fn,component:Yn({showOpenOptionOnHover:t.link.showOpenOptionOnHover})}]);return e.props.mention&&n.push.apply(n,mo(function(t){return[new Zn(t.mentionClassName).getMentionDecorator(),new Xn(t).getSuggestionDecorator()]}(yo(yo({},e.props.mention),{},{onChange:e.onChange,getEditorState:e.getEditorState,getSuggestions:e.getSuggestions,getWrapperRef:e.getWrapperRef,modalHandler:e.modalHandler})))),e.props.hashtag&&n.push(function(t){return new eo(t).getHashtagDecorator()}(e.props.hashtag)),new c.CompositeDecorator(n)},e.getWrapperRef=function(){return e.wrapper},e.getEditorState=function(){return e.state?e.state.editorState:null},e.getSuggestions=function(){return e.props.mention&&e.props.mention.suggestions},e.afterChange=function(t){setTimeout((function(){var n=e.props,o=n.onChange,r=n.onContentStateChange;o&&o(Object(c.convertToRaw)(t.getCurrentContent())),r&&r(Object(c.convertToRaw)(t.getCurrentContent()))}))},e.isReadOnly=function(){return e.props.readOnly},e.isImageAlignmentEnabled=function(){return e.state.toolbar.image.alignmentEnabled},e.createEditorState=function(t){var n;if(_(e.props,"editorState"))e.props.editorState&&(n=c.EditorState.set(e.props.editorState,{decorator:t}));else if(_(e.props,"defaultEditorState"))e.props.defaultEditorState&&(n=c.EditorState.set(e.props.defaultEditorState,{decorator:t}));else if(_(e.props,"contentState")){if(e.props.contentState){var o=Object(c.convertFromRaw)(e.props.contentState);n=c.EditorState.createWithContent(o,t),n=c.EditorState.moveSelectionToEnd(n)}}else if(_(e.props,"defaultContentState")||_(e.props,"initialContentState")){var r=e.props.defaultContentState||e.props.initialContentState;r&&(r=Object(c.convertFromRaw)(r),n=c.EditorState.createWithContent(r,t),n=c.EditorState.moveSelectionToEnd(n))}return n||c.EditorState.createEmpty(t)},e.filterEditorProps=function(t){return e=t,n=["onChange","onEditorStateChange","onContentStateChange","initialContentState","defaultContentState","contentState","editorState","defaultEditorState","locale","localization","toolbarOnFocus","toolbar","toolbarCustomButtons","toolbarClassName","editorClassName","toolbarHidden","wrapperClassName","toolbarStyle","editorStyle","wrapperStyle","uploadCallback","onFocus","onBlur","onTab","mention","hashtag","ariaLabel","customBlockRenderFunc","customDecorators","handlePastedText","customStyleMap"],o=Object.keys(e).filter((function(t){return n.indexOf(t)<0})),r={},o&&0<o.length&&o.forEach((function(t){r[t]=e[t]})),r;var e,n,o,r},e.getStyleMap=function(t){return yo(yo({},Object(s.getCustomStyleMap)()),t.customStyleMap)},e.changeEditorState=function(t){var n=Object(c.convertFromRaw)(t),o=e.state.editorState;return o=c.EditorState.push(o,n,"insert-characters"),c.EditorState.moveSelectionToEnd(o)},e.focusEditor=function(){setTimeout((function(){e.editor.focus()}))},e.handleKeyCommand=function(t){var n=e.state,o=n.editorState,r=n.toolbar.inline;if(r&&0<=r.options.indexOf(t)){var i=c.RichUtils.handleKeyCommand(o,t);
2if(i)return e.onChange(i),!0}return!1},e.handleReturn=function(t){if(M())return!0;var n=e.state.editorState,o=Object(s.handleNewLine)(n,t);return!!o&&(e.onChange(o),!0)},e.handlePastedTextFn=function(t,n){var o=e.state.editorState,r=e.props,i=r.handlePastedText,a=r.stripPastedStyles;return i?i(t,n,o,e.onChange):!a&&function(t,e,n,o){var r=Object(s.getSelectedBlock)(n);if(r&&"code"===r.type){var i=c.Modifier.replaceText(n.getCurrentContent(),n.getSelection(),t,n.getCurrentInlineStyle());return o(c.EditorState.push(n,i,"insert-characters")),!0}if(e){var a=k()(e),l=n.getCurrentContent();return a.entityMap.forEach((function(t,e){l=l.mergeEntityData(e,t)})),l=c.Modifier.replaceWithFragment(l,n.getSelection(),new C.List(a.contentBlocks)),o(c.EditorState.push(n,l,"insert-characters")),!0}return!1}(t,n,o,e.onChange)},e.preventDefault=function(t){"INPUT"===t.target.tagName||"LABEL"===t.target.tagName||"TEXTAREA"===t.target.tagName?e.focusHandler.onInputMouseDown():t.preventDefault()};var o=N(so,t.toolbar),r=t.wrapperId?t.wrapperId:Math.floor(1e4*Math.random());e.wrapperId="rdw-wrapper-".concat(r),e.modalHandler=new f,e.focusHandler=new h,e.blockRendererFn=function(t,e){return function(n){if("function"==typeof e){var o=e(n,t,t.getEditorState);if(o)return o}if("atomic"===n.getType()){var r=t.getEditorState().getCurrentContent().getEntity(n.getEntityAt(0));if(r&&"IMAGE"===r.type)return{component:co(t),editable:!1};if(r&&"EMBEDDED_LINK"===r.type)return{component:no,editable:!1}}}}({isReadOnly:e.isReadOnly,isImageAlignmentEnabled:e.isImageAlignmentEnabled,getEditorState:e.getEditorState,onChange:e.onChange},t.customBlockRenderFunc),e.editorProps=e.filterEditorProps(t),e.customStyleMap=e.getStyleMap(t),e.compositeDecorator=e.getCompositeDecorator(o);var a=e.createEditorState(e.compositeDecorator);return Object(s.extractInlineStyle)(a),e.state={editorState:a,editorFocused:!1,toolbar:o},e}return t=i,(e=[{key:"componentDidMount",value:function(){this.modalHandler.init(this.wrapperId)}},{key:"componentDidUpdate",value:function(t){if(t!==this.props){var e={},n=this.props,o=n.editorState,r=n.contentState;if(!this.state.toolbar){var i=N(so,i);e.toolbar=i}if(_(this.props,"editorState")&&o!==t.editorState)e.editorState=o?c.EditorState.set(o,{decorator:this.compositeDecorator}):c.EditorState.createEmpty(this.compositeDecorator);else if(_(this.props,"contentState")&&r!==t.contentState)if(r){var a=this.changeEditorState(r);a&&(e.editorState=a)}else e.editorState=c.EditorState.createEmpty(this.compositeDecorator);t.editorState===o&&t.contentState===r||Object(s.extractInlineStyle)(e.editorState),Object.keys(e).length&&this.setState(e),this.editorProps=this.filterEditorProps(this.props),this.customStyleMap=this.getStyleMap(this.props)}}},{key:"render",value:function(){var t=this.state,e=t.editorState,n=t.editorFocused,o=t.toolbar,i=this.props,a=i.locale,l=i.localization,p=l.locale,f=l.translations,d=i.toolbarCustomButtons,y=i.toolbarOnFocus,h=i.toolbarClassName,m=i.toolbarHidden,b=i.editorClassName,v=i.wrapperClassName,M=i.toolbarStyle,w=i.editorStyle,_=i.wrapperStyle,S=i.uploadCallback,E=i.ariaLabel,N={modalHandler:this.modalHandler,editorState:e,onChange:this.onChange,translations:yo(yo({},lo[a||p]),f)},D=n||this.focusHandler.isInputFocused()||!y;return r.a.createElement("div",{id:this.wrapperId,className:u()(v,"rdw-editor-wrapper"),style:_,onClick:this.modalHandler.onEditorClick,onBlur:this.onWrapperBlur,"aria-label":"rdw-wrapper"},!m&&r.a.createElement("div",{className:u()("rdw-editor-toolbar",h),style:yo({visibility:D?"visible":"hidden"},M),onMouseDown:this.preventDefault,"aria-label":"rdw-toolbar","aria-hidden":(!n&&y).toString(),onFocus:this.onToolbarFocus},o.options.map((function(t,e){var n=xn[t],i=o[t];return"image"===t&&S&&(i.uploadCallback=S),r.a.createElement(n,po({key:e},N,{config:i}))})),d&&d.map((function(t,e){return r.a.cloneElement(t,yo({key:e},N))}))),r.a.createElement("div",{ref:this.setWrapperReference,className:u()(b,"rdw-editor-main"),style:w,onClick:this.focusEditor,onFocus:this.onEditorFocus,onBlur:this.onEditorBlur,onKeyDown:g.onKeyDown,onMouseDown:this.onEditorMouseDown},r.a.createElement(c.Editor,po({ref:this.setEditorReference,keyBindingFn:this.keyBindingFn,editorState:e,onCh
2ange:this.onChange,blockStyleFn:j,customStyleMap:this.getStyleMap(this.props),handleReturn:this.handleReturn,handlePastedText:this.handlePastedTextFn,blockRendererFn:this.blockRendererFn,handleKeyCommand:this.handleKeyCommand,ariaLabel:E||"rdw-editor",blockRenderMap:s.blockRenderMap},this.editorProps))))}}])&&bo(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),i}();jo.propTypes={onChange:a.a.func,onEditorStateChange:a.a.func,onContentStateChange:a.a.func,initialContentState:a.a.object,defaultContentState:a.a.object,contentState:a.a.object,editorState:a.a.object,defaultEditorState:a.a.object,toolbarOnFocus:a.a.bool,spellCheck:a.a.bool,stripPastedStyles:a.a.bool,toolbar:a.a.object,toolbarCustomButtons:a.a.array,toolbarClassName:a.a.string,toolbarHidden:a.a.bool,locale:a.a.string,localization:a.a.object,editorClassName:a.a.string,wrapperClassName:a.a.string,toolbarStyle:a.a.object,editorStyle:a.a.object,wrapperStyle:a.a.object,uploadCallback:a.a.func,onFocus:a.a.func,onBlur:a.a.func,onTab:a.a.func,mention:a.a.object,hashtag:a.a.object,textAlignment:a.a.string,readOnly:a.a.bool,tabIndex:a.a.number,placeholder:a.a.string,ariaLabel:a.a.string,ariaOwneeID:a.a.string,ariaActiveDescendantID:a.a.string,ariaAutoComplete:a.a.string,ariaDescribedBy:a.a.string,ariaExpanded:a.a.string,ariaHasPopup:a.a.string,customBlockRenderFunc:a.a.func,wrapperId:a.a.number,customDecorators:a.a.array,editorRef:a.a.func,handlePastedText:a.a.func},jo.defaultProps={toolbarOnFocus:!1,toolbarHidden:!1,stripPastedStyles:!1,localization:{locale:"en",translations:{}},customDecorators:[]};var wo=jo}],o.c=i,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=8);function o(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var r,i}(n(8975),n(35143),n(49568))}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.