davis-components 0.3.29 → 0.3.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,24 @@
1
+ "use strict";const Ya=require("./main-BbcT1PXF.cjs"),ot=require("react"),Dl=require("react-dom");var zr={exports:{}},Qo;function Ce(){return Qo||(Qo=1,function(y,m){(function(g,n){y.exports=n()})(Ya.commonjsGlobal,function(){var g=Array.prototype.slice;function n(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function a(e){return c(e)?e:Y(e)}n(d,a);function d(e){return h(e)?e:Z(e)}n(p,a);function p(e){return S(e)?e:J(e)}n(v,a);function v(e){return c(e)&&!E(e)?e:re(e)}function c(e){return!!(e&&e[l])}function h(e){return!!(e&&e[o])}function S(e){return!!(e&&e[u])}function E(e){return h(e)||S(e)}function i(e){return!!(e&&e[r])}a.isIterable=c,a.isKeyed=h,a.isIndexed=S,a.isAssociative=E,a.isOrdered=i,a.Keyed=d,a.Indexed=p,a.Set=v;var l="@@__IMMUTABLE_ITERABLE__@@",o="@@__IMMUTABLE_KEYED__@@",u="@@__IMMUTABLE_INDEXED__@@",r="@@__IMMUTABLE_ORDERED__@@",f="delete",w=5,D=1<<w,O=D-1,I={},k={value:!1},K={value:!1};function x(e){return e.value=!1,e}function T(e){e&&(e.value=!0)}function b(){}function B(e,t){t=t||0;for(var s=Math.max(0,e.length-t),_=new Array(s),C=0;C<s;C++)_[C]=e[C+t];return _}function A(e){return e.size===void 0&&(e.size=e.__iterate(F)),e.size}function L(e,t){if(typeof t!="number"){var s=t>>>0;if(""+s!==t||s===4294967295)return NaN;t=s}return t<0?A(e)+t:t}function F(){return!0}function P(e,t,s){return(e===0||s!==void 0&&e<=-s)&&(t===void 0||s!==void 0&&t>=s)}function H(e,t){return W(e,t,0)}function G(e,t){return W(e,t,t)}function W(e,t,s){return e===void 0?s:e<0?Math.max(0,t+e):t===void 0?e:Math.min(t,e)}var $=0,X=1,j=2,N=typeof Symbol=="function"&&Symbol.iterator,oe="@@iterator",pe=N||oe;function ie(e){this.next=e}ie.prototype.toString=function(){return"[Iterator]"},ie.KEYS=$,ie.VALUES=X,ie.ENTRIES=j,ie.prototype.inspect=ie.prototype.toSource=function(){return this.toString()},ie.prototype[pe]=function(){return this};function ue(e,t,s,_){var C=e===0?t:e===1?s:[t,s];return _?_.value=C:_={value:C,done:!1},_}function ve(){return{value:void 0,done:!0}}function we(e){return!!te(e)}function se(e){return e&&typeof e.next=="function"}function Q(e){var t=te(e);return t&&t.call(e)}function te(e){var t=e&&(N&&e[N]||e[oe]);if(typeof t=="function")return t}function ee(e){return e&&typeof e.length=="number"}n(Y,a);function Y(e){return e==null?qe():c(e)?e.toSeq():ge(e)}Y.of=function(){return Y(arguments)},Y.prototype.toSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq {","}")},Y.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Y.prototype.__iterate=function(e,t){return be(this,e,t,!0)},Y.prototype.__iterator=function(e,t){return tt(this,e,t,!0)},n(Z,Y);function Z(e){return e==null?qe().toKeyedSeq():c(e)?h(e)?e.toSeq():e.fromEntrySeq():et(e)}Z.prototype.toKeyedSeq=function(){return this},n(J,Y);function J(e){return e==null?qe():c(e)?h(e)?e.entrySeq():e.toIndexedSeq():ce(e)}J.of=function(){return J(arguments)},J.prototype.toIndexedSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq [","]")},J.prototype.__iterate=function(e,t){return be(this,e,t,!1)},J.prototype.__iterator=function(e,t){return tt(this,e,t,!1)},n(re,Y);function re(e){return(e==null?qe():c(e)?h(e)?e.entrySeq():e:ce(e)).toSetSeq()}re.of=function(){return re(arguments)},re.prototype.toSetSeq=function(){return this},Y.isSeq=Fe,Y.Keyed=Z,Y.Set=re,Y.Indexed=J;var he="@@__IMMUTABLE_SEQ__@@";Y.prototype[he]=!0,n(me,J);function me(e){this._array=e,this.size=e.length}me.prototype.get=function(e,t){return this.has(e)?this._array[L(this,e)]:t},me.prototype.__iterate=function(e,t){for(var s=this._array,_=s.length-1,C=0;C<=_;C++)if(e(s[t?_-C:C],C,this)===!1)return C+1;return C},me.prototype.__iterator=function(e,t){var s=this._array,_=s.length-1,C=0;return new ie(function(){return C>_?ve():ue(e,C,s[t?_-C++:C++])})},n(Ke,Z);function Ke(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}Ke.prototype.get=function(e,t){return t!==void 0&&!this.has(e)?t:this._object[e]},Ke.prototype.has=function(e){return this._object.hasOwnProperty(e)},Ke.prototype.__iterate=function(e,t){for(var s=this._object,_=this._keys,C=_.length-1,R=0;R<=C;R++){var M=_[t?C-R:R];if(e(s[M],M,this)===!1)return R+1}return R},Ke.prototype.__iterator=function(e,t){var s=this._object,_=this._keys,C=_.length-1,R=0;return new ie(function(){var M=_[t?C-R:R];return R++>C?ve():ue(e,M,s[M])})},Ke.prototype[r]=!0,n(Me,J);function Me(e){this._iterable=e,this.size=e.length||e.size}Me.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var s=this._iterable,_=Q(s),C=0;if(se(_))for(var R;!(R=_.next()).done&&e(R.value,C++,this)!==!1;);return C},Me.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var s=this._iterable,_=Q(s);if(!se(_))return new ie(ve);var C=0;return new ie(function(){var R=_.next();return R.done?R:ue(e,C++,R.value)})},n(Be,J);function Be(e){this._iterator=e,this._iteratorCache=[]}Be.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var s=this._iterator,_=this._iteratorCache,C=0;C<_.length;)if(e(_[C],C++,this)===!1)return C;for(var R;!(R=s.next()).done;){var M=R.value;if(_[C]=M,e(M,C++,this)===!1)break}return C},Be.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var s=this._iterator,_=this._iteratorCache,C=0;return new ie(function(){if(C>=_.length){var R=s.next();if(R.done)return R;_[C]=R.value}return ue(e,C,_[C++])})};function Fe(e){return!!(e&&e[he])}var Ae;function qe(){return Ae||(Ae=new me([]))}function et(e){var t=Array.isArray(e)?new me(e).fromEntrySeq():se(e)?new Be(e).fromEntrySeq():we(e)?new Me(e).fromEntrySeq():typeof e=="object"?new Ke(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function ce(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ge(e){var t=le(e)||typeof e=="object"&&new Ke(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function le(e){return ee(e)?new me(e):se(e)?new Be(e):we(e)?new Me(e):void 0}function be(e,t,s,_){var C=e._cache;if(C){for(var R=C.length-1,M=0;M<=R;M++){var q=C[s?R-M:M];if(t(q[1],_?q[0]:M,e)===!1)return M+1}return M}return e.__iterateUncached(t,s)}function tt(e,t,s,_){var C=e._cache;if(C){var R=C.length-1,M=0;return new ie(function(){var q=C[s?R-M:M];return M++>R?ve():ue(t,_?q[0]:M-1,q[1])})}return e.__iteratorUncached(t,s)}function We(e,t){return t?Ee(t,e,"",{"":e}):fe(e)}function Ee(e,t,s,_){return Array.isArray(t)?e.call(_,s,J(t).map(function(C,R){return Ee(e,C,R,t)})):Xe(t)?e.call(_,s,Z(t).map(function(C,R){return Ee(e,C,R,t)})):t}function fe(e){return Array.isArray(e)?J(e).map(fe).toList():Xe(e)?Z(e).map(fe).toMap():e}function Xe(e){return e&&(e.constructor===Object||e.constructor===void 0)}function Re(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if(typeof e.valueOf=="function"&&typeof t.valueOf=="function"){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!!(typeof e.equals=="function"&&typeof t.equals=="function"&&e.equals(t))}function bt(e,t){if(e===t)return!0;if(!c(t)||e.size!==void 0&&t.size!==void 0&&e.size!==t.size||e.__hash!==void 0&&t.__hash!==void 0&&e.__hash!==t.__hash||h(e)!==h(t)||S(e)!==S(t)||i(e)!==i(t))return!1;if(e.size===0&&t.size===0)return!0;var s=!E(e);if(i(e)){var _=e.entries();return t.every(function(U,z){var V=_.next().value;return V&&Re(V[1],U)&&(s||Re(V[0],z))})&&_.next().done}var C=!1;if(e.size===void 0)if(t.size===void 0)typeof e.cacheResult=="function"&&e.cacheResult();else{C=!0;var R=e;e=t,t=R}var M=!0,q=t.__iterate(function(U,z){if(s?!e.has(U):C?!Re(U,e.get(z,I)):!Re(e.get(z,I),U))return M=!1,!1});return M&&e.size===q}n(Ue,J);function Ue(e,t){if(!(this instanceof Ue))return new Ue(e,t);if(this._value=e,this.size=t===void 0?1/0:Math.max(0,t),this.size===0){if(hr)return hr;hr=this}}Ue.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Ue.prototype.get=function(e,t){return this.has(e)?this._value:t},Ue.prototype.includes=function(e){return Re(this._value,e)},Ue.prototype.slice=function(e,t){var s=this.size;return P(e,t,s)?this:new Ue(this._value,G(t,s)-H(e,s))},Ue.prototype.reverse=function(){return this},Ue.prototype.indexOf=function(e){return Re(this._value,e)?0:-1},Ue.prototype.lastIndexOf=function(e){return Re(this._value,e)?this.size:-1},Ue.prototype.__iterate=function(e,t){for(var s=0;s<this.size;s++)if(e(this._value,s,this)===!1)return s+1;return s},Ue.prototype.__iterator=function(e,t){var s=this,_=0;return new ie(function(){return _<s.size?ue(e,_++,s._value):ve()})},Ue.prototype.equals=function(e){return e instanceof Ue?Re(this._value,e._value):bt(e)};var hr;function jt(e,t){if(!e)throw new Error(t)}n(ze,J);function ze(e,t,s){if(!(this instanceof ze))return new ze(e,t,s);if(jt(s!==0,"Cannot step a Range by 0"),e=e||0,t===void 0&&(t=1/0),s=s===void 0?1:Math.abs(s),t<e&&(s=-s),this._start=e,this._end=t,this._step=s,this.size=Math.max(0,Math.ceil((t-e)/s-1)+1),this.size===0){if(gr)return gr;gr=this}}ze.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},ze.prototype.get=function(e,t){return this.has(e)?this._start+L(this,e)*this._step:t},ze.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},ze.prototype.slice=function(e,t){return P(e,t,this.size)?this:(e=H(e,this.size),t=G(t,this.size),t<=e?new ze(0,0):new ze(this.get(e,this._end),this.get(t,this._end),this._step))},ze.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step===0){var s=t/this._step;if(s>=0&&s<this.size)return s}return-1},ze.prototype.lastIndexOf=function(e){return this.indexOf(e)},ze.prototype.__iterate=function(e,t){for(var s=this.size-1,_=this._step,C=t?this._start+s*_:this._start,R=0;R<=s;R++){if(e(C,R,this)===!1)return R+1;C+=t?-_:_}return R},ze.prototype.__iterator=function(e,t){var s=this.size-1,_=this._step,C=t?this._start+s*_:this._start,R=0;return new ie(function(){var M=C;return C+=t?-_:_,R>s?ve():ue(e,R++,M)})},ze.prototype.equals=function(e){return e instanceof ze?this._start===e._start&&this._end===e._end&&this._step===e._step:bt(this,e)};var gr;n(ht,a);function ht(){throw TypeError("Abstract")}n(At,ht);function At(){}n(Ot,ht);function Ot(){}n(Jt,ht);function Jt(){}ht.Keyed=At,ht.Indexed=Ot,ht.Set=Jt;var Nt=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(t,s){t=t|0,s=s|0;var _=t&65535,C=s&65535;return _*C+((t>>>16)*C+_*(s>>>16)<<16>>>0)|0};function yr(e){return e>>>1&1073741824|e&3221225471}function Ye(e){if(e===!1||e===null||e===void 0||typeof e.valueOf=="function"&&(e=e.valueOf(),e===!1||e===null||e===void 0))return 0;if(e===!0)return 1;var t=typeof e;if(t==="number"){var s=e|0;for(s!==e&&(s^=e*4294967295);e>4294967295;)e/=4294967295,s^=e;return yr(s)}if(t==="string")return e.length>Qf?Yf(e):mr(e);if(typeof e.hashCode=="function")return e.hashCode();if(t==="object")return $f(e);if(typeof e.toString=="function")return mr(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Yf(e){var t=Cr[e];return t===void 0&&(t=mr(e),wr===el&&(wr=0,Cr={}),wr++,Cr[e]=t),t}function mr(e){for(var t=0,s=0;s<e.length;s++)t=31*t+e.charCodeAt(s)|0;return yr(t)}function $f(e){var t;if(_r&&(t=Er.get(e),t!==void 0)||(t=e[_t],t!==void 0)||!uo&&(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[_t],t!==void 0||(t=Zf(e),t!==void 0)))return t;if(t=++Sr,Sr&1073741824&&(Sr=0),_r)Er.set(e,t);else{if(oo!==void 0&&oo(e)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(uo)Object.defineProperty(e,_t,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(e.propertyIsEnumerable!==void 0&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[_t]=t;else if(e.nodeType!==void 0)e[_t]=t;else throw new Error("Unable to set a non-enumerable property on object.")}return t}var oo=Object.isExtensible,uo=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();function Zf(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var _r=typeof WeakMap=="function",Er;_r&&(Er=new WeakMap);var Sr=0,_t="__immutablehash__";typeof Symbol=="function"&&(_t=Symbol(_t));var Qf=16,el=255,wr=0,Cr={};function $e(e){jt(e!==1/0,"Cannot perform this action with an infinite size.")}n(Se,At);function Se(e){return e==null?ut():Dr(e)&&!i(e)?e:ut().withMutations(function(t){var s=d(e);$e(s.size),s.forEach(function(_,C){return t.set(C,_)})})}Se.prototype.toString=function(){return this.__toString("Map {","}")},Se.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Se.prototype.set=function(e,t){return lo(this,e,t)},Se.prototype.setIn=function(e,t){return this.updateIn(e,I,function(){return t})},Se.prototype.remove=function(e){return lo(this,e,I)},Se.prototype.deleteIn=function(e){return this.updateIn(e,function(){return I})},Se.prototype.update=function(e,t,s){return arguments.length===1?e(this):this.updateIn([e],t,s)},Se.prototype.updateIn=function(e,t,s){s||(s=t,t=void 0);var _=yo(this,Fo(e),t,s);return _===I?void 0:_},Se.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ut()},Se.prototype.merge=function(){return Xt(this,void 0,arguments)},Se.prototype.mergeWith=function(e){var t=g.call(arguments,1);return Xt(this,e,t)},Se.prototype.mergeIn=function(e){var t=g.call(arguments,1);return this.updateIn(e,ut(),function(s){return typeof s.merge=="function"?s.merge.apply(s,t):t[t.length-1]})},Se.prototype.mergeDeep=function(){return Xt(this,po,arguments)},Se.prototype.mergeDeepWith=function(e){var t=g.call(arguments,1);return Xt(this,ho(e),t)},Se.prototype.mergeDeepIn=function(e){var t=g.call(arguments,1);return this.updateIn(e,ut(),function(s){return typeof s.mergeDeep=="function"?s.mergeDeep.apply(s,t):t[t.length-1]})},Se.prototype.sort=function(e){return Ne(Kt(this,e))},Se.prototype.sortBy=function(e,t){return Ne(Kt(this,t,e))},Se.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Se.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new b)},Se.prototype.asImmutable=function(){return this.__ensureOwner()},Se.prototype.wasAltered=function(){return this.__altered},Se.prototype.__iterator=function(e,t){return new br(this,e,t)},Se.prototype.__iterate=function(e,t){var s=this,_=0;return this._root&&this._root.iterate(function(C){return _++,e(C[1],C[0],s)},t),_},Se.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Tr(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)};function Dr(e){return!!(e&&e[so])}Se.isMap=Dr;var so="@@__IMMUTABLE_MAP__@@",_e=Se.prototype;_e[so]=!0,_e[f]=_e.remove,_e.removeIn=_e.deleteIn;function Lt(e,t){this.ownerID=e,this.entries=t}Lt.prototype.get=function(e,t,s,_){for(var C=this.entries,R=0,M=C.length;R<M;R++)if(Re(s,C[R][0]))return C[R][1];return _},Lt.prototype.update=function(e,t,s,_,C,R,M){for(var q=C===I,U=this.entries,z=0,V=U.length;z<V&&!Re(_,U[z][0]);z++);var ne=z<V;if(ne?U[z][1]===C:q)return this;if(T(M),(q||!ne)&&T(R),!(q&&U.length===1)){if(!ne&&!q&&U.length>=ol)return tl(e,U,_,C);var ae=e&&e===this.ownerID,de=ae?U:B(U);return ne?q?z===V-1?de.pop():de[z]=de.pop():de[z]=[_,C]:de.push([_,C]),ae?(this.entries=de,this):new Lt(e,de)}};function Tt(e,t,s){this.ownerID=e,this.bitmap=t,this.nodes=s}Tt.prototype.get=function(e,t,s,_){t===void 0&&(t=Ye(s));var C=1<<((e===0?t:t>>>e)&O),R=this.bitmap;return R&C?this.nodes[mo(R&C-1)].get(e+w,t,s,_):_},Tt.prototype.update=function(e,t,s,_,C,R,M){s===void 0&&(s=Ye(_));var q=(t===0?s:s>>>t)&O,U=1<<q,z=this.bitmap,V=(z&U)!==0;if(!V&&C===I)return this;var ne=mo(z&U-1),ae=this.nodes,de=V?ae[ne]:void 0,ye=Rr(de,e,t+w,s,_,C,R,M);if(ye===de)return this;if(!V&&ye&&ae.length>=ul)return nl(e,ae,z,q,ye);if(V&&!ye&&ae.length===2&&vo(ae[ne^1]))return ae[ne^1];if(V&&ye&&ae.length===1&&vo(ye))return ye;var Ie=e&&e===this.ownerID,at=V?ye?z:z^U:z|U,lt=V?ye?_o(ae,ne,ye,Ie):al(ae,ne,Ie):il(ae,ne,ye,Ie);return Ie?(this.bitmap=at,this.nodes=lt,this):new Tt(e,at,lt)};function Ft(e,t,s){this.ownerID=e,this.count=t,this.nodes=s}Ft.prototype.get=function(e,t,s,_){t===void 0&&(t=Ye(s));var C=(e===0?t:t>>>e)&O,R=this.nodes[C];return R?R.get(e+w,t,s,_):_},Ft.prototype.update=function(e,t,s,_,C,R,M){s===void 0&&(s=Ye(_));var q=(t===0?s:s>>>t)&O,U=C===I,z=this.nodes,V=z[q];if(U&&!V)return this;var ne=Rr(V,e,t+w,s,_,C,R,M);if(ne===V)return this;var ae=this.count;if(!V)ae++;else if(!ne&&(ae--,ae<sl))return rl(e,z,ae,q);var de=e&&e===this.ownerID,ye=_o(z,q,ne,de);return de?(this.count=ae,this.nodes=ye,this):new Ft(e,ae,ye)};function Rt(e,t,s){this.ownerID=e,this.keyHash=t,this.entries=s}Rt.prototype.get=function(e,t,s,_){for(var C=this.entries,R=0,M=C.length;R<M;R++)if(Re(s,C[R][0]))return C[R][1];return _},Rt.prototype.update=function(e,t,s,_,C,R,M){s===void 0&&(s=Ye(_));var q=C===I;if(s!==this.keyHash)return q?this:(T(M),T(R),kr(this,e,t,s,[_,C]));for(var U=this.entries,z=0,V=U.length;z<V&&!Re(_,U[z][0]);z++);var ne=z<V;if(ne?U[z][1]===C:q)return this;if(T(M),(q||!ne)&&T(R),q&&V===2)return new dt(e,this.keyHash,U[z^1]);var ae=e&&e===this.ownerID,de=ae?U:B(U);return ne?q?z===V-1?de.pop():de[z]=de.pop():de[z]=[_,C]:de.push([_,C]),ae?(this.entries=de,this):new Rt(e,this.keyHash,de)};function dt(e,t,s){this.ownerID=e,this.keyHash=t,this.entry=s}dt.prototype.get=function(e,t,s,_){return Re(s,this.entry[0])?this.entry[1]:_},dt.prototype.update=function(e,t,s,_,C,R,M){var q=C===I,U=Re(_,this.entry[0]);if(U?C===this.entry[1]:q)return this;if(T(M),q){T(R);return}return U?e&&e===this.ownerID?(this.entry[1]=C,this):new dt(e,this.keyHash,[_,C]):(T(R),kr(this,e,t,Ye(_),[_,C]))},Lt.prototype.iterate=Rt.prototype.iterate=function(e,t){for(var s=this.entries,_=0,C=s.length-1;_<=C;_++)if(e(s[t?C-_:_])===!1)return!1},Tt.prototype.iterate=Ft.prototype.iterate=function(e,t){for(var s=this.nodes,_=0,C=s.length-1;_<=C;_++){var R=s[t?C-_:_];if(R&&R.iterate(e,t)===!1)return!1}},dt.prototype.iterate=function(e,t){return e(this.entry)},n(br,ie);function br(e,t,s){this._type=t,this._reverse=s,this._stack=e._root&&co(e._root)}br.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var s=t.node,_=t.index++,C;if(s.entry){if(_===0)return Or(e,s.entry)}else if(s.entries){if(C=s.entries.length-1,_<=C)return Or(e,s.entries[this._reverse?C-_:_])}else if(C=s.nodes.length-1,_<=C){var R=s.nodes[this._reverse?C-_:_];if(R){if(R.entry)return Or(e,R.entry);t=this._stack=co(R,t)}continue}t=this._stack=this._stack.__prev}return ve()};function Or(e,t){return ue(e,t[0],t[1])}function co(e,t){return{node:e,index:0,__prev:t}}function Tr(e,t,s,_){var C=Object.create(_e);return C.size=e,C._root=t,C.__ownerID=s,C.__hash=_,C.__altered=!1,C}var fo;function ut(){return fo||(fo=Tr(0))}function lo(e,t,s){var _,C;if(e._root){var R=x(k),M=x(K);if(_=Rr(e._root,e.__ownerID,0,void 0,t,s,R,M),!M.value)return e;C=e.size+(R.value?s===I?-1:1:0)}else{if(s===I)return e;C=1,_=new Lt(e.__ownerID,[[t,s]])}return e.__ownerID?(e.size=C,e._root=_,e.__hash=void 0,e.__altered=!0,e):_?Tr(C,_):ut()}function Rr(e,t,s,_,C,R,M,q){return e?e.update(t,s,_,C,R,M,q):R===I?e:(T(q),T(M),new dt(t,_,[C,R]))}function vo(e){return e.constructor===dt||e.constructor===Rt}function kr(e,t,s,_,C){if(e.keyHash===_)return new Rt(t,_,[e.entry,C]);var R=(s===0?e.keyHash:e.keyHash>>>s)&O,M=(s===0?_:_>>>s)&O,q,U=R===M?[kr(e,t,s+w,_,C)]:(q=new dt(t,_,C),R<M?[e,q]:[q,e]);return new Tt(t,1<<R|1<<M,U)}function tl(e,t,s,_){e||(e=new b);for(var C=new dt(e,Ye(s),[s,_]),R=0;R<t.length;R++){var M=t[R];C=C.update(e,0,void 0,M[0],M[1])}return C}function rl(e,t,s,_){for(var C=0,R=0,M=new Array(s),q=0,U=1,z=t.length;q<z;q++,U<<=1){var V=t[q];V!==void 0&&q!==_&&(C|=U,M[R++]=V)}return new Tt(e,C,M)}function nl(e,t,s,_,C){for(var R=0,M=new Array(D),q=0;s!==0;q++,s>>>=1)M[q]=s&1?t[R++]:void 0;return M[_]=C,new Ft(e,R+1,M)}function Xt(e,t,s){for(var _=[],C=0;C<s.length;C++){var R=s[C],M=d(R);c(R)||(M=M.map(function(q){return We(q)})),_.push(M)}return go(e,t,_)}function po(e,t,s){return e&&e.mergeDeep&&c(t)?e.mergeDeep(t):Re(e,t)?e:t}function ho(e){return function(t,s,_){if(t&&t.mergeDeepWith&&c(s))return t.mergeDeepWith(e,s);var C=e(t,s,_);return Re(t,C)?t:C}}function go(e,t,s){return s=s.filter(function(_){return _.size!==0}),s.length===0?e:e.size===0&&!e.__ownerID&&s.length===1?e.constructor(s[0]):e.withMutations(function(_){for(var C=t?function(M,q){_.update(q,I,function(U){return U===I?M:t(U,M,q)})}:function(M,q){_.set(q,M)},R=0;R<s.length;R++)s[R].forEach(C)})}function yo(e,t,s,_){var C=e===I,R=t.next();if(R.done){var M=C?s:e,q=_(M);return q===M?e:q}jt(C||e&&e.set,"invalid keyPath");var U=R.value,z=C?I:e.get(U,I),V=yo(z,t,s,_);return V===z?e:V===I?e.remove(U):(C?ut():e).set(U,V)}function mo(e){return e=e-(e>>1&1431655765),e=(e&858993459)+(e>>2&858993459),e=e+(e>>4)&252645135,e=e+(e>>8),e=e+(e>>16),e&127}function _o(e,t,s,_){var C=_?e:B(e);return C[t]=s,C}function il(e,t,s,_){var C=e.length+1;if(_&&t+1===C)return e[t]=s,e;for(var R=new Array(C),M=0,q=0;q<C;q++)q===t?(R[q]=s,M=-1):R[q]=e[q+M];return R}function al(e,t,s){var _=e.length-1;if(s&&t===_)return e.pop(),e;for(var C=new Array(_),R=0,M=0;M<_;M++)M===t&&(R=1),C[M]=e[M+R];return C}var ol=D/4,ul=D/2,sl=D/4;n(ke,Ot);function ke(e){var t=Br();if(e==null)return t;if(Eo(e))return e;var s=p(e),_=s.size;return _===0?t:($e(_),_>0&&_<D?Pt(0,_,w,null,new gt(s.toArray())):t.withMutations(function(C){C.setSize(_),s.forEach(function(R,M){return C.set(M,R)})}))}ke.of=function(){return this(arguments)},ke.prototype.toString=function(){return this.__toString("List [","]")},ke.prototype.get=function(e,t){if(e=L(this,e),e>=0&&e<this.size){e+=this._origin;var s=Do(this,e);return s&&s.array[e&O]}return t},ke.prototype.set=function(e,t){return cl(this,e,t)},ke.prototype.remove=function(e){return this.has(e)?e===0?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},ke.prototype.insert=function(e,t){return this.splice(e,0,t)},ke.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=w,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Br()},ke.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(s){yt(s,0,t+e.length);for(var _=0;_<e.length;_++)s.set(t+_,e[_])})},ke.prototype.pop=function(){return yt(this,0,-1)},ke.prototype.unshift=function(){var e=arguments;return this.withMutations(function(t){yt(t,-e.length);for(var s=0;s<e.length;s++)t.set(s,e[s])})},ke.prototype.shift=function(){return yt(this,1)},ke.prototype.merge=function(){return Yt(this,void 0,arguments)},ke.prototype.mergeWith=function(e){var t=g.call(arguments,1);return Yt(this,e,t)},ke.prototype.mergeDeep=function(){return Yt(this,po,arguments)},ke.prototype.mergeDeepWith=function(e){var t=g.call(arguments,1);return Yt(this,ho(e),t)},ke.prototype.setSize=function(e){return yt(this,0,e)},ke.prototype.slice=function(e,t){var s=this.size;return P(e,t,s)?this:yt(this,H(e,s),G(t,s))},ke.prototype.__iterator=function(e,t){var s=0,_=wo(this,t);return new ie(function(){var C=_();return C===qt?ve():ue(e,s++,C)})},ke.prototype.__iterate=function(e,t){for(var s=0,_=wo(this,t),C;(C=_())!==qt&&e(C,s++,this)!==!1;);return s},ke.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Pt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)};function Eo(e){return!!(e&&e[So])}ke.isList=Eo;var So="@@__IMMUTABLE_LIST__@@",Ve=ke.prototype;Ve[So]=!0,Ve[f]=Ve.remove,Ve.setIn=_e.setIn,Ve.deleteIn=Ve.removeIn=_e.removeIn,Ve.update=_e.update,Ve.updateIn=_e.updateIn,Ve.mergeIn=_e.mergeIn,Ve.mergeDeepIn=_e.mergeDeepIn,Ve.withMutations=_e.withMutations,Ve.asMutable=_e.asMutable,Ve.asImmutable=_e.asImmutable,Ve.wasAltered=_e.wasAltered;function gt(e,t){this.array=e,this.ownerID=t}gt.prototype.removeBefore=function(e,t,s){if(s===t?1<<t:this.array.length===0)return this;var _=s>>>t&O;if(_>=this.array.length)return new gt([],e);var C=_===0,R;if(t>0){var M=this.array[_];if(R=M&&M.removeBefore(e,t-w,s),R===M&&C)return this}if(C&&!R)return this;var q=kt(this,e);if(!C)for(var U=0;U<_;U++)q.array[U]=void 0;return R&&(q.array[_]=R),q},gt.prototype.removeAfter=function(e,t,s){if(s===(t?1<<t:0)||this.array.length===0)return this;var _=s-1>>>t&O;if(_>=this.array.length)return this;var C;if(t>0){var R=this.array[_];if(C=R&&R.removeAfter(e,t-w,s),C===R&&_===this.array.length-1)return this}var M=kt(this,e);return M.array.splice(_+1),C&&(M.array[_]=C),M};var qt={};function wo(e,t){var s=e._origin,_=e._capacity,C=Ut(_),R=e._tail;return M(e._root,e._level,0);function M(z,V,ne){return V===0?q(z,ne):U(z,V,ne)}function q(z,V){var ne=V===C?R&&R.array:z&&z.array,ae=V>s?0:s-V,de=_-V;return de>D&&(de=D),function(){if(ae===de)return qt;var ye=t?--de:ae++;return ne&&ne[ye]}}function U(z,V,ne){var ae,de=z&&z.array,ye=ne>s?0:s-ne>>V,Ie=(_-ne>>V)+1;return Ie>D&&(Ie=D),function(){do{if(ae){var at=ae();if(at!==qt)return at;ae=null}if(ye===Ie)return qt;var lt=t?--Ie:ye++;ae=M(de&&de[lt],V-w,ne+(lt<<V))}while(!0)}}}function Pt(e,t,s,_,C,R,M){var q=Object.create(Ve);return q.size=t-e,q._origin=e,q._capacity=t,q._level=s,q._root=_,q._tail=C,q.__ownerID=R,q.__hash=M,q.__altered=!1,q}var Co;function Br(){return Co||(Co=Pt(0,0,w))}function cl(e,t,s){if(t=L(e,t),t!==t)return e;if(t>=e.size||t<0)return e.withMutations(function(M){t<0?yt(M,t).set(0,s):yt(M,0,t+1).set(t,s)});t+=e._origin;var _=e._tail,C=e._root,R=x(K);return t>=Ut(e._capacity)?_=xr(_,e.__ownerID,0,t,s,R):C=xr(C,e.__ownerID,e._level,t,s,R),R.value?e.__ownerID?(e._root=C,e._tail=_,e.__hash=void 0,e.__altered=!0,e):Pt(e._origin,e._capacity,e._level,C,_):e}function xr(e,t,s,_,C,R){var M=_>>>s&O,q=e&&M<e.array.length;if(!q&&C===void 0)return e;var U;if(s>0){var z=e&&e.array[M],V=xr(z,t,s-w,_,C,R);return V===z?e:(U=kt(e,t),U.array[M]=V,U)}return q&&e.array[M]===C?e:(T(R),U=kt(e,t),C===void 0&&M===U.array.length-1?U.array.pop():U.array[M]=C,U)}function kt(e,t){return t&&e&&t===e.ownerID?e:new gt(e?e.array.slice():[],t)}function Do(e,t){if(t>=Ut(e._capacity))return e._tail;if(t<1<<e._level+w){for(var s=e._root,_=e._level;s&&_>0;)s=s.array[t>>>_&O],_-=w;return s}}function yt(e,t,s){t!==void 0&&(t=t|0),s!==void 0&&(s=s|0);var _=e.__ownerID||new b,C=e._origin,R=e._capacity,M=C+t,q=s===void 0?R:s<0?R+s:C+s;if(M===C&&q===R)return e;if(M>=q)return e.clear();for(var U=e._level,z=e._root,V=0;M+V<0;)z=new gt(z&&z.array.length?[void 0,z]:[],_),U+=w,V+=1<<U;V&&(M+=V,C+=V,q+=V,R+=V);for(var ne=Ut(R),ae=Ut(q);ae>=1<<U+w;)z=new gt(z&&z.array.length?[z]:[],_),U+=w;var de=e._tail,ye=ae<ne?Do(e,q-1):ae>ne?new gt([],_):de;if(de&&ae>ne&&M<R&&de.array.length){z=kt(z,_);for(var Ie=z,at=U;at>w;at-=w){var lt=ne>>>at&O;Ie=Ie.array[lt]=kt(Ie.array[lt],_)}Ie.array[ne>>>w&O]=de}if(q<R&&(ye=ye&&ye.removeAfter(_,0,q)),M>=ae)M-=ae,q-=ae,U=w,z=null,ye=ye&&ye.removeBefore(_,0,M);else if(M>C||ae<ne){for(V=0;z;){var nr=M>>>U&O;if(nr!==ae>>>U&O)break;nr&&(V+=(1<<U)*nr),U-=w,z=z.array[nr]}z&&M>C&&(z=z.removeBefore(_,U,M-V)),z&&ae<ne&&(z=z.removeAfter(_,U,ae-V)),V&&(M-=V,q-=V)}return e.__ownerID?(e.size=q-M,e._origin=M,e._capacity=q,e._level=U,e._root=z,e._tail=ye,e.__hash=void 0,e.__altered=!0,e):Pt(M,q,U,z,ye)}function Yt(e,t,s){for(var _=[],C=0,R=0;R<s.length;R++){var M=s[R],q=p(M);q.size>C&&(C=q.size),c(M)||(q=q.map(function(U){return We(U)})),_.push(q)}return C>e.size&&(e=e.setSize(C)),go(e,t,_)}function Ut(e){return e<D?0:e-1>>>w<<w}n(Ne,Se);function Ne(e){return e==null?$t():bo(e)?e:$t().withMutations(function(t){var s=d(e);$e(s.size),s.forEach(function(_,C){return t.set(C,_)})})}Ne.of=function(){return this(arguments)},Ne.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ne.prototype.get=function(e,t){var s=this._map.get(e);return s!==void 0?this._list.get(s)[1]:t},Ne.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):$t()},Ne.prototype.set=function(e,t){return To(this,e,t)},Ne.prototype.remove=function(e){return To(this,e,I)},Ne.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ne.prototype.__iterate=function(e,t){var s=this;return this._list.__iterate(function(_){return _&&e(_[1],_[0],s)},t)},Ne.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ne.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),s=this._list.__ensureOwner(e);return e?Ir(t,s,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=s,this)};function bo(e){return Dr(e)&&i(e)}Ne.isOrderedMap=bo,Ne.prototype[r]=!0,Ne.prototype[f]=Ne.prototype.remove;function Ir(e,t,s,_){var C=Object.create(Ne.prototype);return C.size=e?e.size:0,C._map=e,C._list=t,C.__ownerID=s,C.__hash=_,C}var Oo;function $t(){return Oo||(Oo=Ir(ut(),Br()))}function To(e,t,s){var _=e._map,C=e._list,R=_.get(t),M=R!==void 0,q,U;if(s===I){if(!M)return e;C.size>=D&&C.size>=_.size*2?(U=C.filter(function(z,V){return z!==void 0&&R!==V}),q=U.toKeyedSeq().map(function(z){return z[0]}).flip().toMap(),e.__ownerID&&(q.__ownerID=U.__ownerID=e.__ownerID)):(q=_.remove(t),U=R===C.size-1?C.pop():C.set(R,void 0))}else if(M){if(s===C.get(R)[1])return e;q=_,U=C.set(R,[t,s])}else q=_.set(t,C.size),U=C.set(C.size,[t,s]);return e.__ownerID?(e.size=q.size,e._map=q,e._list=U,e.__hash=void 0,e):Ir(q,U)}n(rt,Z);function rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}rt.prototype.get=function(e,t){return this._iter.get(e,t)},rt.prototype.has=function(e){return this._iter.has(e)},rt.prototype.valueSeq=function(){return this._iter.valueSeq()},rt.prototype.reverse=function(){var e=this,t=Kr(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},rt.prototype.map=function(e,t){var s=this,_=ko(this,e,t);return this._useKeys||(_.valueSeq=function(){return s._iter.toSeq().map(e,t)}),_},rt.prototype.__iterate=function(e,t){var s=this,_;return this._iter.__iterate(this._useKeys?function(C,R){return e(C,R,s)}:(_=t?Ao(this):0,function(C){return e(C,t?--_:_++,s)}),t)},rt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var s=this._iter.__iterator(X,t),_=t?Ao(this):0;return new ie(function(){var C=s.next();return C.done?C:ue(e,t?--_:_++,C.value,C)})},rt.prototype[r]=!0,n(Bt,J);function Bt(e){this._iter=e,this.size=e.size}Bt.prototype.includes=function(e){return this._iter.includes(e)},Bt.prototype.__iterate=function(e,t){var s=this,_=0;return this._iter.__iterate(function(C){return e(C,_++,s)},t)},Bt.prototype.__iterator=function(e,t){var s=this._iter.__iterator(X,t),_=0;return new ie(function(){var C=s.next();return C.done?C:ue(e,_++,C.value,C)})},n(xt,re);function xt(e){this._iter=e,this.size=e.size}xt.prototype.has=function(e){return this._iter.includes(e)},xt.prototype.__iterate=function(e,t){var s=this;return this._iter.__iterate(function(_){return e(_,_,s)},t)},xt.prototype.__iterator=function(e,t){var s=this._iter.__iterator(X,t);return new ie(function(){var _=s.next();return _.done?_:ue(e,_.value,_.value,_)})},n(It,Z);function It(e){this._iter=e,this.size=e.size}It.prototype.entrySeq=function(){return this._iter.toSeq()},It.prototype.__iterate=function(e,t){var s=this;return this._iter.__iterate(function(_){if(_){Mo(_);var C=c(_);return e(C?_.get(1):_[1],C?_.get(0):_[0],s)}},t)},It.prototype.__iterator=function(e,t){var s=this._iter.__iterator(X,t);return new ie(function(){for(;;){var _=s.next();if(_.done)return _;var C=_.value;if(C){Mo(C);var R=c(C);return ue(e,R?C.get(0):C[0],R?C.get(1):C[1],_)}}})},Bt.prototype.cacheResult=rt.prototype.cacheResult=xt.prototype.cacheResult=It.prototype.cacheResult=Nr;function Ro(e){var t=st(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var s=e.reverse.apply(this);return s.flip=function(){return e.reverse()},s},t.has=function(s){return e.includes(s)},t.includes=function(s){return e.has(s)},t.cacheResult=Nr,t.__iterateUncached=function(s,_){var C=this;return e.__iterate(function(R,M){return s(M,R,C)!==!1},_)},t.__iteratorUncached=function(s,_){if(s===j){var C=e.__iterator(s,_);return new ie(function(){var R=C.next();if(!R.done){var M=R.value[0];R.value[0]=R.value[1],R.value[1]=M}return R})}return e.__iterator(s===X?$:X,_)},t}function ko(e,t,s){var _=st(e);return _.size=e.size,_.has=function(C){return e.has(C)},_.get=function(C,R){var M=e.get(C,I);return M===I?R:t.call(s,M,C,e)},_.__iterateUncached=function(C,R){var M=this;return e.__iterate(function(q,U,z){return C(t.call(s,q,U,z),U,M)!==!1},R)},_.__iteratorUncached=function(C,R){var M=e.__iterator(j,R);return new ie(function(){var q=M.next();if(q.done)return q;var U=q.value,z=U[0];return ue(C,z,t.call(s,U[1],z,e),q)})},_}function Kr(e,t){var s=st(e);return s._iter=e,s.size=e.size,s.reverse=function(){return e},e.flip&&(s.flip=function(){var _=Ro(e);return _.reverse=function(){return e.flip()},_}),s.get=function(_,C){return e.get(t?_:-1-_,C)},s.has=function(_){return e.has(t?_:-1-_)},s.includes=function(_){return e.includes(_)},s.cacheResult=Nr,s.__iterate=function(_,C){var R=this;return e.__iterate(function(M,q){return _(M,q,R)},!C)},s.__iterator=function(_,C){return e.__iterator(_,!C)},s}function Bo(e,t,s,_){var C=st(e);return _&&(C.has=function(R){var M=e.get(R,I);return M!==I&&!!t.call(s,M,R,e)},C.get=function(R,M){var q=e.get(R,I);return q!==I&&t.call(s,q,R,e)?q:M}),C.__iterateUncached=function(R,M){var q=this,U=0;return e.__iterate(function(z,V,ne){if(t.call(s,z,V,ne))return U++,R(z,_?V:U-1,q)},M),U},C.__iteratorUncached=function(R,M){var q=e.__iterator(j,M),U=0;return new ie(function(){for(;;){var z=q.next();if(z.done)return z;var V=z.value,ne=V[0],ae=V[1];if(t.call(s,ae,ne,e))return ue(R,_?ne:U++,ae,z)}})},C}function fl(e,t,s){var _=Se().asMutable();return e.__iterate(function(C,R){_.update(t.call(s,C,R,e),0,function(M){return M+1})}),_.asImmutable()}function ll(e,t,s){var _=h(e),C=(i(e)?Ne():Se()).asMutable();e.__iterate(function(M,q){C.update(t.call(s,M,q,e),function(U){return U=U||[],U.push(_?[q,M]:M),U})});var R=No(e);return C.map(function(M){return Oe(e,R(M))})}function Mr(e,t,s,_){var C=e.size;if(t!==void 0&&(t=t|0),s!==void 0&&(s=s|0),P(t,s,C))return e;var R=H(t,C),M=G(s,C);if(R!==R||M!==M)return Mr(e.toSeq().cacheResult(),t,s,_);var q=M-R,U;q===q&&(U=q<0?0:q);var z=st(e);return z.size=U===0?U:e.size&&U||void 0,!_&&Fe(e)&&U>=0&&(z.get=function(V,ne){return V=L(this,V),V>=0&&V<U?e.get(V+R,ne):ne}),z.__iterateUncached=function(V,ne){var ae=this;if(U===0)return 0;if(ne)return this.cacheResult().__iterate(V,ne);var de=0,ye=!0,Ie=0;return e.__iterate(function(at,lt){if(!(ye&&(ye=de++<R)))return Ie++,V(at,_?lt:Ie-1,ae)!==!1&&Ie!==U}),Ie},z.__iteratorUncached=function(V,ne){if(U!==0&&ne)return this.cacheResult().__iterator(V,ne);var ae=U!==0&&e.__iterator(V,ne),de=0,ye=0;return new ie(function(){for(;de++<R;)ae.next();if(++ye>U)return ve();var Ie=ae.next();return _||V===X?Ie:V===$?ue(V,ye-1,void 0,Ie):ue(V,ye-1,Ie.value[1],Ie)})},z}function vl(e,t,s){var _=st(e);return _.__iterateUncached=function(C,R){var M=this;if(R)return this.cacheResult().__iterate(C,R);var q=0;return e.__iterate(function(U,z,V){return t.call(s,U,z,V)&&++q&&C(U,z,M)}),q},_.__iteratorUncached=function(C,R){var M=this;if(R)return this.cacheResult().__iterator(C,R);var q=e.__iterator(j,R),U=!0;return new ie(function(){if(!U)return ve();var z=q.next();if(z.done)return z;var V=z.value,ne=V[0],ae=V[1];return t.call(s,ae,ne,M)?C===j?z:ue(C,ne,ae,z):(U=!1,ve())})},_}function xo(e,t,s,_){var C=st(e);return C.__iterateUncached=function(R,M){var q=this;if(M)return this.cacheResult().__iterate(R,M);var U=!0,z=0;return e.__iterate(function(V,ne,ae){if(!(U&&(U=t.call(s,V,ne,ae))))return z++,R(V,_?ne:z-1,q)}),z},C.__iteratorUncached=function(R,M){var q=this;if(M)return this.cacheResult().__iterator(R,M);var U=e.__iterator(j,M),z=!0,V=0;return new ie(function(){var ne,ae,de;do{if(ne=U.next(),ne.done)return _||R===X?ne:R===$?ue(R,V++,void 0,ne):ue(R,V++,ne.value[1],ne);var ye=ne.value;ae=ye[0],de=ye[1],z&&(z=t.call(s,de,ae,q))}while(z);return R===j?ne:ue(R,ae,de,ne)})},C}function dl(e,t){var s=h(e),_=[e].concat(t).map(function(M){return c(M)?s&&(M=d(M)):M=s?et(M):ce(Array.isArray(M)?M:[M]),M}).filter(function(M){return M.size!==0});if(_.length===0)return e;if(_.length===1){var C=_[0];if(C===e||s&&h(C)||S(e)&&S(C))return C}var R=new me(_);return s?R=R.toKeyedSeq():S(e)||(R=R.toSetSeq()),R=R.flatten(!0),R.size=_.reduce(function(M,q){if(M!==void 0){var U=q.size;if(U!==void 0)return M+U}},0),R}function Io(e,t,s){var _=st(e);return _.__iterateUncached=function(C,R){var M=0,q=!1;function U(z,V){var ne=this;z.__iterate(function(ae,de){return(!t||V<t)&&c(ae)?U(ae,V+1):C(ae,s?de:M++,ne)===!1&&(q=!0),!q},R)}return U(e,0),M},_.__iteratorUncached=function(C,R){var M=e.__iterator(C,R),q=[],U=0;return new ie(function(){for(;M;){var z=M.next();if(z.done!==!1){M=q.pop();continue}var V=z.value;if(C===j&&(V=V[1]),(!t||q.length<t)&&c(V))q.push(M),M=V.__iterator(C,R);else return s?z:ue(C,U++,V,z)}return ve()})},_}function pl(e,t,s){var _=No(e);return e.toSeq().map(function(C,R){return _(t.call(s,C,R,e))}).flatten(!0)}function hl(e,t){var s=st(e);return s.size=e.size&&e.size*2-1,s.__iterateUncached=function(_,C){var R=this,M=0;return e.__iterate(function(q,U){return(!M||_(t,M++,R)!==!1)&&_(q,M++,R)!==!1},C),M},s.__iteratorUncached=function(_,C){var R=e.__iterator(X,C),M=0,q;return new ie(function(){return(!q||M%2)&&(q=R.next(),q.done)?q:M%2?ue(_,M++,t):ue(_,M++,q.value,q)})},s}function Kt(e,t,s){t||(t=Lo);var _=h(e),C=0,R=e.toSeq().map(function(M,q){return[q,M,C++,s?s(M,q,e):M]}).toArray();return R.sort(function(M,q){return t(M[3],q[3])||M[2]-q[2]}).forEach(_?function(M,q){R[q].length=2}:function(M,q){R[q]=M[1]}),_?Z(R):S(e)?J(R):re(R)}function Zt(e,t,s){if(t||(t=Lo),s){var _=e.toSeq().map(function(C,R){return[C,s(C,R,e)]}).reduce(function(C,R){return Ko(t,C[1],R[1])?R:C});return _&&_[0]}else return e.reduce(function(C,R){return Ko(t,C,R)?R:C})}function Ko(e,t,s){var _=e(s,t);return _===0&&s!==t&&(s==null||s!==s)||_>0}function Ar(e,t,s){var _=st(e);return _.size=new me(s).map(function(C){return C.size}).min(),_.__iterate=function(C,R){for(var M=this.__iterator(X,R),q,U=0;!(q=M.next()).done&&C(q.value,U++,this)!==!1;);return U},_.__iteratorUncached=function(C,R){var M=s.map(function(z){return z=a(z),Q(R?z.reverse():z)}),q=0,U=!1;return new ie(function(){var z;return U||(z=M.map(function(V){return V.next()}),U=z.some(function(V){return V.done})),U?ve():ue(C,q++,t.apply(null,z.map(function(V){return V.value})))})},_}function Oe(e,t){return Fe(e)?t:e.constructor(t)}function Mo(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Ao(e){return $e(e.size),A(e)}function No(e){return h(e)?d:S(e)?p:v}function st(e){return Object.create((h(e)?Z:S(e)?J:re).prototype)}function Nr(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Y.prototype.cacheResult.call(this)}function Lo(e,t){return e>t?1:e<t?-1:0}function Fo(e){var t=Q(e);if(!t){if(!ee(e))throw new TypeError("Expected iterable or array-like: "+e);t=Q(a(e))}return t}n(Ze,At);function Ze(e,t){var s,_=function(M){if(M instanceof _)return M;if(!(this instanceof _))return new _(M);if(!s){s=!0;var q=Object.keys(e);gl(C,q),C.size=q.length,C._name=t,C._keys=q,C._defaultValues=e}this._map=Se(M)},C=_.prototype=Object.create(Pe);return C.constructor=_,_}Ze.prototype.toString=function(){return this.__toString(qo(this)+" {","}")},Ze.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Ze.prototype.get=function(e,t){if(!this.has(e))return t;var s=this._defaultValues[e];return this._map?this._map.get(e,s):s},Ze.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Qt(this,ut()))},Ze.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+qo(this));var s=this._map&&this._map.set(e,t);return this.__ownerID||s===this._map?this:Qt(this,s)},Ze.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Qt(this,t)},Ze.prototype.wasAltered=function(){return this._map.wasAltered()},Ze.prototype.__iterator=function(e,t){var s=this;return d(this._defaultValues).map(function(_,C){return s.get(C)}).__iterator(e,t)},Ze.prototype.__iterate=function(e,t){var s=this;return d(this._defaultValues).map(function(_,C){return s.get(C)}).__iterate(e,t)},Ze.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Qt(this,t,e):(this.__ownerID=e,this._map=t,this)};var Pe=Ze.prototype;Pe[f]=Pe.remove,Pe.deleteIn=Pe.removeIn=_e.removeIn,Pe.merge=_e.merge,Pe.mergeWith=_e.mergeWith,Pe.mergeIn=_e.mergeIn,Pe.mergeDeep=_e.mergeDeep,Pe.mergeDeepWith=_e.mergeDeepWith,Pe.mergeDeepIn=_e.mergeDeepIn,Pe.setIn=_e.setIn,Pe.update=_e.update,Pe.updateIn=_e.updateIn,Pe.withMutations=_e.withMutations,Pe.asMutable=_e.asMutable,Pe.asImmutable=_e.asImmutable;function Qt(e,t,s){var _=Object.create(Object.getPrototypeOf(e));return _._map=t,_.__ownerID=s,_}function qo(e){return e._name||e.constructor.name||"Record"}function gl(e,t){try{t.forEach(yl.bind(void 0,e))}catch{}}function yl(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(s){jt(this.__ownerID,"Cannot set on an immutable record."),this.set(t,s)}})}n(xe,Jt);function xe(e){return e==null?qr():Lr(e)&&!i(e)?e:qr().withMutations(function(t){var s=v(e);$e(s.size),s.forEach(function(_){return t.add(_)})})}xe.of=function(){return this(arguments)},xe.fromKeys=function(e){return this(d(e).keySeq())},xe.prototype.toString=function(){return this.__toString("Set {","}")},xe.prototype.has=function(e){return this._map.has(e)},xe.prototype.add=function(e){return Fr(this,this._map.set(e,!0))},xe.prototype.remove=function(e){return Fr(this,this._map.remove(e))},xe.prototype.clear=function(){return Fr(this,this._map.clear())},xe.prototype.union=function(){var e=g.call(arguments,0);return e=e.filter(function(t){return t.size!==0}),e.length===0?this:this.size===0&&!this.__ownerID&&e.length===1?this.constructor(e[0]):this.withMutations(function(t){for(var s=0;s<e.length;s++)v(e[s]).forEach(function(_){return t.add(_)})})},xe.prototype.intersect=function(){var e=g.call(arguments,0);if(e.length===0)return this;e=e.map(function(s){return v(s)});var t=this;return this.withMutations(function(s){t.forEach(function(_){e.every(function(C){return C.includes(_)})||s.remove(_)})})},xe.prototype.subtract=function(){var e=g.call(arguments,0);if(e.length===0)return this;e=e.map(function(s){return v(s)});var t=this;return this.withMutations(function(s){t.forEach(function(_){e.some(function(C){return C.includes(_)})&&s.remove(_)})})},xe.prototype.merge=function(){return this.union.apply(this,arguments)},xe.prototype.mergeWith=function(e){var t=g.call(arguments,1);return this.union.apply(this,t)},xe.prototype.sort=function(e){return ct(Kt(this,e))},xe.prototype.sortBy=function(e,t){return ct(Kt(this,t,e))},xe.prototype.wasAltered=function(){return this._map.wasAltered()},xe.prototype.__iterate=function(e,t){var s=this;return this._map.__iterate(function(_,C){return e(C,C,s)},t)},xe.prototype.__iterator=function(e,t){return this._map.map(function(s,_){return _}).__iterator(e,t)},xe.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)};function Lr(e){return!!(e&&e[Po])}xe.isSet=Lr;var Po="@@__IMMUTABLE_SET__@@",Qe=xe.prototype;Qe[Po]=!0,Qe[f]=Qe.remove,Qe.mergeDeep=Qe.merge,Qe.mergeDeepWith=Qe.mergeWith,Qe.withMutations=_e.withMutations,Qe.asMutable=_e.asMutable,Qe.asImmutable=_e.asImmutable,Qe.__empty=qr,Qe.__make=Uo;function Fr(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:t.size===0?e.__empty():e.__make(t)}function Uo(e,t){var s=Object.create(Qe);return s.size=e?e.size:0,s._map=e,s.__ownerID=t,s}var zo;function qr(){return zo||(zo=Uo(ut()))}n(ct,xe);function ct(e){return e==null?Pr():Ho(e)?e:Pr().withMutations(function(t){var s=v(e);$e(s.size),s.forEach(function(_){return t.add(_)})})}ct.of=function(){return this(arguments)},ct.fromKeys=function(e){return this(d(e).keySeq())},ct.prototype.toString=function(){return this.__toString("OrderedSet {","}")};function Ho(e){return Lr(e)&&i(e)}ct.isOrderedSet=Ho;var er=ct.prototype;er[r]=!0,er.__empty=Pr,er.__make=Vo;function Vo(e,t){var s=Object.create(er);return s.size=e?e.size:0,s._map=e,s.__ownerID=t,s}var Wo;function Pr(){return Wo||(Wo=Vo($t()))}n(Le,Ot);function Le(e){return e==null?Ur():Go(e)?e:Ur().unshiftAll(e)}Le.of=function(){return this(arguments)},Le.prototype.toString=function(){return this.__toString("Stack [","]")},Le.prototype.get=function(e,t){var s=this._head;for(e=L(this,e);s&&e--;)s=s.next;return s?s.value:t},Le.prototype.peek=function(){return this._head&&this._head.value},Le.prototype.push=function(){if(arguments.length===0)return this;for(var e=this.size+arguments.length,t=this._head,s=arguments.length-1;s>=0;s--)t={value:arguments[s],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):zt(e,t)},Le.prototype.pushAll=function(e){if(e=p(e),e.size===0)return this;$e(e.size);var t=this.size,s=this._head;return e.reverse().forEach(function(_){t++,s={value:_,next:s}}),this.__ownerID?(this.size=t,this._head=s,this.__hash=void 0,this.__altered=!0,this):zt(t,s)},Le.prototype.pop=function(){return this.slice(1)},Le.prototype.unshift=function(){return this.push.apply(this,arguments)},Le.prototype.unshiftAll=function(e){return this.pushAll(e)},Le.prototype.shift=function(){return this.pop.apply(this,arguments)},Le.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Ur()},Le.prototype.slice=function(e,t){if(P(e,t,this.size))return this;var s=H(e,this.size),_=G(t,this.size);if(_!==this.size)return Ot.prototype.slice.call(this,e,t);for(var C=this.size-s,R=this._head;s--;)R=R.next;return this.__ownerID?(this.size=C,this._head=R,this.__hash=void 0,this.__altered=!0,this):zt(C,R)},Le.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?zt(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Le.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var s=0,_=this._head;_&&e(_.value,s++,this)!==!1;)_=_.next;return s},Le.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var s=0,_=this._head;return new ie(function(){if(_){var C=_.value;return _=_.next,ue(e,s++,C)}return ve()})};function Go(e){return!!(e&&e[jo])}Le.isStack=Go;var jo="@@__IMMUTABLE_STACK__@@",Mt=Le.prototype;Mt[jo]=!0,Mt.withMutations=_e.withMutations,Mt.asMutable=_e.asMutable,Mt.asImmutable=_e.asImmutable,Mt.wasAltered=_e.wasAltered;function zt(e,t,s,_){var C=Object.create(Mt);return C.size=e,C._head=t,C.__ownerID=s,C.__hash=_,C.__altered=!1,C}var Jo;function Ur(){return Jo||(Jo=zt(0))}function ft(e,t){var s=function(_){e.prototype[_]=t[_]};return Object.keys(t).forEach(s),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(s),e}a.Iterator=ie,ft(a,{toArray:function(){$e(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,s){e[s]=t}),e},toIndexedSeq:function(){return new Bt(this)},toJS:function(){return this.toSeq().map(function(e){return e&&typeof e.toJS=="function"?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&typeof e.toJSON=="function"?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new rt(this,!0)},toMap:function(){return Se(this.toKeyedSeq())},toObject:function(){$e(this.size);var e={};return this.__iterate(function(t,s){e[s]=t}),e},toOrderedMap:function(){return Ne(this.toKeyedSeq())},toOrderedSet:function(){return ct(h(this)?this.valueSeq():this)},toSet:function(){return xe(h(this)?this.valueSeq():this)},toSetSeq:function(){return new xt(this)},toSeq:function(){return S(this)?this.toIndexedSeq():h(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Le(h(this)?this.valueSeq():this)},toList:function(){return ke(h(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return this.size===0?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var e=g.call(arguments,0);return Oe(this,dl(this,e))},includes:function(e){return this.some(function(t){return Re(t,e)})},entries:function(){return this.__iterator(j)},every:function(e,t){$e(this.size);var s=!0;return this.__iterate(function(_,C,R){if(!e.call(t,_,C,R))return s=!1,!1}),s},filter:function(e,t){return Oe(this,Bo(this,e,t,!0))},find:function(e,t,s){var _=this.findEntry(e,t);return _?_[1]:s},findEntry:function(e,t){var s;return this.__iterate(function(_,C,R){if(e.call(t,_,C,R))return s=[C,_],!1}),s},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return $e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){$e(this.size),e=e!==void 0?""+e:",";var t="",s=!0;return this.__iterate(function(_){s?s=!1:t+=e,t+=_!=null?_.toString():""}),t},keys:function(){return this.__iterator($)},map:function(e,t){return Oe(this,ko(this,e,t))},reduce:function(e,t,s){$e(this.size);var _,C;return arguments.length<2?C=!0:_=t,this.__iterate(function(R,M,q){C?(C=!1,_=R):_=e.call(s,_,R,M,q)}),_},reduceRight:function(e,t,s){var _=this.toKeyedSeq().reverse();return _.reduce.apply(_,arguments)},reverse:function(){return Oe(this,Kr(this,!0))},slice:function(e,t){return Oe(this,Mr(this,e,t,!0))},some:function(e,t){return!this.every(rr(e),t)},sort:function(e){return Oe(this,Kt(this,e))},values:function(){return this.__iterator(X)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(e,t){return A(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return fl(this,e,t)},equals:function(e){return bt(this,e)},entrySeq:function(){var e=this;if(e._cache)return new me(e._cache);var t=e.toSeq().map(_l).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(rr(e),t)},findLast:function(e,t,s){return this.toKeyedSeq().reverse().find(e,t,s)},first:function(){return this.find(F)},flatMap:function(e,t){return Oe(this,pl(this,e,t))},flatten:function(e){return Oe(this,Io(this,e,!0))},fromEntrySeq:function(){return new It(this)},get:function(e,t){return this.find(function(s,_){return Re(_,e)},void 0,t)},getIn:function(e,t){for(var s=this,_=Fo(e),C;!(C=_.next()).done;){var R=C.value;if(s=s&&s.get?s.get(R,I):I,s===I)return t}return s},groupBy:function(e,t){return ll(this,e,t)},has:function(e){return this.get(e,I)!==I},hasIn:function(e){return this.getIn(e,I)!==I},isSubset:function(e){return e=typeof e.includes=="function"?e:a(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return e=typeof e.isSubset=="function"?e:a(e),e.isSubset(this)},keySeq:function(){return this.toSeq().map(ml).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return Zt(this,e)},maxBy:function(e,t){return Zt(this,t,e)},min:function(e){return Zt(this,e?Xo(e):$o)},minBy:function(e,t){return Zt(this,t?Xo(t):$o,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Oe(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Oe(this,xo(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(rr(e),t)},sortBy:function(e,t){return Oe(this,Kt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Oe(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Oe(this,vl(this,e,t))},takeUntil:function(e,t){return this.takeWhile(rr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=Sl(this))}});var He=a.prototype;He[l]=!0,He[pe]=He.values,He.__toJS=He.toArray,He.__toStringMapper=Yo,He.inspect=He.toSource=function(){return this.toString()},He.chain=He.flatMap,He.contains=He.includes,function(){try{Object.defineProperty(He,"length",{get:function(){if(!a.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(e.indexOf("_wrapObject")===-1)return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch{}}(),ft(d,{flip:function(){return Oe(this,Ro(this))},findKey:function(e,t){var s=this.findEntry(e,t);return s&&s[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey(function(t){return Re(t,e)})},lastKeyOf:function(e){return this.findLastKey(function(t){return Re(t,e)})},mapEntries:function(e,t){var s=this,_=0;return Oe(this,this.toSeq().map(function(C,R){return e.call(t,[R,C],_++,s)}).fromEntrySeq())},mapKeys:function(e,t){var s=this;return Oe(this,this.toSeq().flip().map(function(_,C){return e.call(t,_,C,s)}).flip())}});var tr=d.prototype;tr[o]=!0,tr[pe]=He.entries,tr.__toJS=He.toObject,tr.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+Yo(e)},ft(p,{toKeyedSeq:function(){return new rt(this,!1)},filter:function(e,t){return Oe(this,Bo(this,e,t,!1))},findIndex:function(e,t){var s=this.findEntry(e,t);return s?s[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return t===void 0?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return t===void 0?-1:t},reverse:function(){return Oe(this,Kr(this,!1))},slice:function(e,t){return Oe(this,Mr(this,e,t,!1))},splice:function(e,t){var s=arguments.length;if(t=Math.max(t|0,0),s===0||s===2&&!t)return this;e=H(e,e<0?this.count():this.size);var _=this.slice(0,e);return Oe(this,s===1?_:_.concat(B(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var s=this.toKeyedSeq().findLastKey(e,t);return s===void 0?-1:s},first:function(){return this.get(0)},flatten:function(e){return Oe(this,Io(this,e,!1))},get:function(e,t){return e=L(this,e),e<0||this.size===1/0||this.size!==void 0&&e>this.size?t:this.find(function(s,_){return _===e},void 0,t)},has:function(e){return e=L(this,e),e>=0&&(this.size!==void 0?this.size===1/0||e<this.size:this.indexOf(e)!==-1)},interpose:function(e){return Oe(this,hl(this,e))},interleave:function(){var e=[this].concat(B(arguments)),t=Ar(this.toSeq(),J.of,e),s=t.flatten(!0);return t.size&&(s.size=t.size*e.length),Oe(this,s)},last:function(){return this.get(-1)},skipWhile:function(e,t){return Oe(this,xo(this,e,t,!1))},zip:function(){var e=[this].concat(B(arguments));return Oe(this,Ar(this,El,e))},zipWith:function(e){var t=B(arguments);return t[0]=this,Oe(this,Ar(this,e,t))}}),p.prototype[u]=!0,p.prototype[r]=!0,ft(v,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),v.prototype.has=He.includes,ft(Z,d.prototype),ft(J,p.prototype),ft(re,v.prototype),ft(At,d.prototype),ft(Ot,p.prototype),ft(Jt,v.prototype);function ml(e,t){return t}function _l(e,t){return[t,e]}function rr(e){return function(){return!e.apply(this,arguments)}}function Xo(e){return function(){return-e.apply(this,arguments)}}function Yo(e){return typeof e=="string"?JSON.stringify(e):e}function El(){return B(arguments)}function $o(e,t){return e<t?1:e>t?-1:0}function Sl(e){if(e.size===1/0)return 0;var t=i(e),s=h(e),_=t?1:0,C=e.__iterate(s?t?function(R,M){_=31*_+Zo(Ye(R),Ye(M))|0}:function(R,M){_=_+Zo(Ye(R),Ye(M))|0}:t?function(R){_=31*_+Ye(R)|0}:function(R){_=_+Ye(R)|0});return wl(C,_)}function wl(e,t){return t=Nt(t,3432918353),t=Nt(t<<15|t>>>-15,461845907),t=Nt(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=Nt(t^t>>>16,2246822507),t=Nt(t^t>>>13,3266489909),t=yr(t^t>>>16),t}function Zo(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var Cl={Iterable:a,Seq:Y,Collection:ht,Map:Se,OrderedMap:Ne,List:ke,Stack:Le,Set:xe,OrderedSet:ct,Record:Ze,Range:ze,Repeat:Ue,is:Re,fromJS:We};return Cl})}(zr)),zr.exports}var Hr,eu;function Ht(){if(eu)return Hr;eu=1;var y=Ce(),m=y.OrderedMap,g={createFromArray:function(a){return m(a.map(function(d){return[d.getKey(),d]}))}};return Hr=g,Hr}var Vr,tu;function nt(){if(tu)return Vr;tu=1;function y(E,i){E.prototype=Object.create(i.prototype),E.prototype.constructor=E,E.__proto__=i}var m=Ce(),g=m.Map,n=m.OrderedSet,a=m.Record,d=n(),p={style:d,entity:null},v=a(p),c=function(E){y(i,E);function i(){return E.apply(this,arguments)||this}var l=i.prototype;return l.getStyle=function(){return this.get("style")},l.getEntity=function(){return this.get("entity")},l.hasStyle=function(u){return this.getStyle().includes(u)},i.applyStyle=function(u,r){var f=u.set("style",u.getStyle().add(r));return i.create(f)},i.removeStyle=function(u,r){var f=u.set("style",u.getStyle().remove(r));return i.create(f)},i.applyEntity=function(u,r){var f=u.getEntity()===r?u:u.set("entity",r);return i.create(f)},i.create=function(u){if(!u)return h;var r={style:d,entity:null},f=g(r).merge(u),w=S.get(f);if(w)return w;var D=new i(f);return S=S.set(f,D),D},i.fromJS=function(u){var r=u.style,f=u.entity;return new i({style:Array.isArray(r)?n(r):r,entity:Array.isArray(f)?n(f):f})},i}(v),h=new c,S=g([[g(p),h]]);return c.EMPTY=h,Vr=c,Vr}var Wr,ru;function Vt(){if(ru)return Wr;ru=1;function y(m,g,n,a){if(m.size){var d=0;m.reduce(function(p,v,c){return g(p,v)||(n(p)&&a(d,c),d=c),v}),n(m.last())&&a(d,m.count())}}return Wr=y,Wr}var Gr,nu;function Et(){if(nu)return Gr;nu=1;function y(r,f){r.prototype=Object.create(f.prototype),r.prototype.constructor=r,r.__proto__=f}var m=nt(),g=Vt(),n=Ce(),a=n.List,d=n.Map,p=n.OrderedSet,v=n.Record,c=n.Repeat,h=p(),S={key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:d()},E=v(S),i=function(f){if(!f)return f;var w=f.characterList,D=f.text;return D&&!w&&(f.characterList=a(c(m.EMPTY,D.length))),f},l=function(r){y(f,r);function f(D){return r.call(this,i(D))||this}var w=f.prototype;return w.getKey=function(){return this.get("key")},w.getType=function(){return this.get("type")},w.getText=function(){return this.get("text")},w.getCharacterList=function(){return this.get("characterList")},w.getLength=function(){return this.getText().length},w.getDepth=function(){return this.get("depth")},w.getData=function(){return this.get("data")},w.getInlineStyleAt=function(O){var I=this.getCharacterList().get(O);return I?I.getStyle():h},w.getEntityAt=function(O){var I=this.getCharacterList().get(O);return I?I.getEntity():null},w.findStyleRanges=function(O,I){g(this.getCharacterList(),o,O,I)},w.findEntityRanges=function(O,I){g(this.getCharacterList(),u,O,I)},f}(E);function o(r,f){return r.getStyle()===f.getStyle()}function u(r,f){return r.getEntity()===f.getEntity()}return Gr=l,Gr}var jr,iu;function it(){if(iu)return jr;iu=1;function y(u,r){u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.__proto__=r}var m=nt(),g=Vt(),n=Ce(),a=n.List,d=n.Map,p=n.OrderedSet,v=n.Record,c=n.Repeat,h=p(),S={parent:null,characterList:a(),data:d(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},E=function(r,f){return r.getStyle()===f.getStyle()},i=function(r,f){return r.getEntity()===f.getEntity()},l=function(r){if(!r)return r;var f=r.characterList,w=r.text;return w&&!f&&(r.characterList=a(c(m.EMPTY,w.length))),r},o=function(u){y(r,u);function r(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:S;return u.call(this,l(w))||this}var f=r.prototype;return f.getKey=function(){return this.get("key")},f.getType=function(){return this.get("type")},f.getText=function(){return this.get("text")},f.getCharacterList=function(){return this.get("characterList")},f.getLength=function(){return this.getText().length},f.getDepth=function(){return this.get("depth")},f.getData=function(){return this.get("data")},f.getInlineStyleAt=function(D){var O=this.getCharacterList().get(D);return O?O.getStyle():h},f.getEntityAt=function(D){var O=this.getCharacterList().get(D);return O?O.getEntity():null},f.getChildKeys=function(){return this.get("children")},f.getParentKey=function(){return this.get("parent")},f.getPrevSiblingKey=function(){return this.get("prevSibling")},f.getNextSiblingKey=function(){return this.get("nextSibling")},f.findStyleRanges=function(D,O){g(this.getCharacterList(),E,D,O)},f.findEntityRanges=function(D,O){g(this.getCharacterList(),i,D,O)},r}(v(S));return jr=o,jr}var Jr,au;function bl(){if(au)return Jr;au=1;var y=nt(),m=Ce(),g=m.Map,n={add:function(p,v,c){return a(p,v,c,!0)},remove:function(p,v,c){return a(p,v,c,!1)}};function a(d,p,v,c){var h=d.getBlockMap(),S=p.getStartKey(),E=p.getStartOffset(),i=p.getEndKey(),l=p.getEndOffset(),o=h.skipUntil(function(u,r){return r===S}).takeUntil(function(u,r){return r===i}).concat(g([[i,h.get(i)]])).map(function(u,r){var f,w;S===i?(f=E,w=l):(f=r===S?E:0,w=r===i?l:u.getLength());for(var D=u.getCharacterList(),O;f<w;)O=D.get(f),D=D.set(f,c?y.applyStyle(O,v):y.removeStyle(O,v)),f++;return u.set("characterList",D)});return d.merge({blockMap:h.merge(o),selectionBefore:p,selectionAfter:p})}return Jr=n,Jr}var Xr,ou;function Ol(){if(ou)return Xr;ou=1;var y=nt();function m(g,n,a,d){for(var p=n,v=g.getCharacterList();p<a;)v=v.set(p,y.applyEntity(v.get(p),d)),p++;return g.set("characterList",v)}return Xr=m,Xr}var Yr,uu;function Tl(){if(uu)return Yr;uu=1;var y=Ol(),m=Ce();function g(n,a,d){var p=n.getBlockMap(),v=a.getStartKey(),c=a.getStartOffset(),h=a.getEndKey(),S=a.getEndOffset(),E=p.skipUntil(function(i,l){return l===v}).takeUntil(function(i,l){return l===h}).toOrderedMap().merge(m.OrderedMap([[h,p.get(h)]])).map(function(i,l){var o=l===v?c:0,u=l===h?S:i.getLength();return y(i,o,u,d)});return n.merge({blockMap:p.merge(E),selectionBefore:a,selectionAfter:a})}return Yr=g,Yr}var $r,su;function Rl(){if(su)return $r;su=1;var y={getRemovalRange:function(g,n,a,d,p){var v=a.split(" ");v=v.map(function(f,w){if(p==="forward"){if(w>0)return" "+f}else if(w<v.length-1)return f+" ";return f});for(var c=d,h,S,E=null,i=null,l=0;l<v.length;l++){if(S=v[l],h=c+S.length,g<h&&c<n)E!==null||(E=c),i=h;else if(E!==null)break;c=h}var o=d+a.length,u=E===d,r=i===o;return(!u&&r||u&&!r)&&(p==="forward"?i!==o&&i++:E!==d&&E--),{start:E,end:i}}};return $r=y,$r}var Zr,cu;function De(){if(cu)return Zr;cu=1;var y=process.env.NODE_ENV!=="production"?function(g){if(g===void 0)throw new Error("invariant(...): Second argument must be a string.")}:function(g){};function m(g,n){for(var a=arguments.length,d=new Array(a>2?a-2:0),p=2;p<a;p++)d[p-2]=arguments[p];if(y(n),!g){var v;if(n===void 0)v=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=0;v=new Error(n.replace(/%s/g,function(){return String(d[c++])})),v.name="Invariant Violation"}throw v.framesToPop=1,v}}return Zr=m,Zr}var Qr,fu;function kl(){if(fu)return Qr;fu=1;var y=De();function m(g,n){var a=[];return g.findEntityRanges(function(d){return d.getEntity()===n},function(d,p){a.push({start:d,end:p})}),a.length||(process.env.NODE_ENV!=="production"?y(!1,"Entity key not found in this range."):y(!1)),a}return Qr=m,Qr}var en,lu;function Bl(){if(lu)return en;lu=1;var y=Rl(),m=kl(),g=De();function n(d,p,v,c,h){var S=c.getStartOffset(),E=c.getEndOffset(),i=p.getEntityAt(S),l=v.getEntityAt(E-1);if(!i&&!l)return c;var o=c;if(i&&i===l)o=a(d,p,o,h,i,!0,!0);else if(i&&l){var u=a(d,p,o,h,i,!1,!0),r=a(d,v,o,h,l,!1,!1);o=o.merge({anchorOffset:u.getAnchorOffset(),focusOffset:r.getFocusOffset(),isBackward:!1})}else if(i){var f=a(d,p,o,h,i,!1,!0);o=o.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(l){var w=a(d,v,o,h,l,!1,!1);o=o.merge({focusOffset:w.getEndOffset(),isBackward:!1})}return o}function a(d,p,v,c,h,S,E){var i=v.getStartOffset(),l=v.getEndOffset(),o=d.__get(h),u=o.getMutability(),r=E?i:l;if(u==="MUTABLE")return v;var f=m(p,h).filter(function(O){return r<=O.end&&r>=O.start});f.length!=1&&(process.env.NODE_ENV!=="production"?g(!1,"There should only be one entity range within this removal range."):g(!1));var w=f[0];if(u==="IMMUTABLE")return v.merge({anchorOffset:w.start,focusOffset:w.end,isBackward:!1});S||(E?l=w.end:i=w.start);var D=y.getRemovalRange(i,l,p.getText().slice(w.start,w.end),w.start,c);return v.merge({anchorOffset:D.start,focusOffset:D.end,isBackward:!1})}return en=n,en}var tn,vu;function vt(){if(vu)return tn;vu=1;var y={},m=Math.pow(2,24);function g(){for(var n;n===void 0||y.hasOwnProperty(n)||!isNaN(+n);)n=Math.floor(Math.random()*m).toString(32);return y[n]=!0,n}return tn=g,tn}var rn,du;function vf(){if(du)return rn;du=1;var y=it(),m=vt(),g=Ce(),n=g.OrderedMap,a=function(c){var h={},S;return n(c.withMutations(function(E){E.forEach(function(i,l){var o=i.getKey(),u=i.getNextSiblingKey(),r=i.getPrevSiblingKey(),f=i.getChildKeys(),w=i.getParentKey(),D=m();if(h[o]=D,u){var O=E.get(u);O?E.setIn([u,"prevSibling"],D):E.setIn([o,"nextSibling"],null)}if(r){var I=E.get(r);I?E.setIn([r,"nextSibling"],D):E.setIn([o,"prevSibling"],null)}if(w&&E.get(w)){var k=E.get(w),K=k.getChildKeys();E.setIn([w,"children"],K.set(K.indexOf(i.getKey()),D))}else E.setIn([o,"parent"],null),S&&(E.setIn([S.getKey(),"nextSibling"],D),E.setIn([o,"prevSibling"],h[S.getKey()])),S=E.get(o);f.forEach(function(x){var T=E.get(x);T?E.setIn([x,"parent"],D):E.setIn([o,"children"],i.getChildKeys().filter(function(b){return b!==x}))})})}).toArray().map(function(E){return[h[E.getKey()],E.set("key",h[E.getKey()])]}))},d=function(c){return n(c.toArray().map(function(h){var S=m();return[S,h.set("key",S)]}))},p=function(c){var h=c.first()instanceof y;return h?a(c):d(c)};return rn=p,rn}var nn,pu;function df(){if(pu)return nn;pu=1;var y=nt(),m=Vt(),g=De();function n(p,v){var c=p.getBlockMap(),h=p.getEntityMap(),S={},E=v.getStartKey(),i=v.getStartOffset(),l=c.get(E),o=d(h,l,i);o!==l&&(S[E]=o);var u=v.getEndKey(),r=v.getEndOffset(),f=c.get(u);E===u&&(f=o);var w=d(h,f,r);return w!==f&&(S[u]=w),Object.keys(S).length?p.merge({blockMap:c.merge(S),selectionAfter:v}):p.set("selectionAfter",v)}function a(p,v,c){var h;return m(p,function(S,E){return S.getEntity()===E.getEntity()},function(S){return S.getEntity()===v},function(S,E){S<=c&&E>=c&&(h={start:S,end:E})}),typeof h!="object"&&(process.env.NODE_ENV!=="production"?g(!1,"Removal range must exist within character list."):g(!1)),h}function d(p,v,c){var h=v.getCharacterList(),S=c>0?h.get(c-1):void 0,E=c<h.count()?h.get(c):void 0,i=S?S.getEntity():void 0,l=E?E.getEntity():void 0;if(l&&l===i){var o=p.__get(l);if(o.getMutability()!=="MUTABLE"){for(var u=a(h,l,c),r=u.start,f=u.end,w;r<f;)w=h.get(r),h=h.set(r,y.applyEntity(w,null)),r++;return v.set("characterList",h)}}return v}return nn=n,nn}var an,hu;function ar(){if(hu)return an;hu=1;var y=vf(),m=df(),g=function(a,d){var p=d.getStartKey(),v=d.getStartOffset(),c=d.getEndKey(),h=d.getEndOffset(),S=m(a,d),E=S.getBlockMap(),i=E.keySeq(),l=i.indexOf(p),o=i.indexOf(c)+1;return y(E.slice(l,o).map(function(u,r){var f=u.getText(),w=u.getCharacterList();return p===c?u.merge({text:f.slice(v,h),characterList:w.slice(v,h)}):r===p?u.merge({text:f.slice(v),characterList:w.slice(v)}):r===c?u.merge({text:f.slice(0,h),characterList:w.slice(0,h)}):u}))};return an=g,an}var on,gu;function pf(){if(gu)return on;gu=1;function y(m,g,n){var a=m;if(n===a.count())g.forEach(function(v){a=a.push(v)});else if(n===0)g.reverse().forEach(function(v){a=a.unshift(v)});else{var d=a.slice(0,n),p=a.slice(n);a=d.concat(g,p).toList()}return a}return on=y,on}var un,yu;function xl(){if(yu)return un;yu=1;var y=Ht(),m=it(),g=Ce(),n=pf(),a=De(),d=vf(),p=g.List,v=function(u,r,f,w,D,O){var I=arguments.length>6&&arguments[6]!==void 0?arguments[6]:"REPLACE_WITH_NEW_DATA",k=f.get(D),K=k.getText(),x=k.getCharacterList(),T=D,b=O+w.getText().length,B=null;switch(I){case"MERGE_OLD_DATA_TO_NEW_DATA":B=w.getData().merge(k.getData());break;case"REPLACE_WITH_NEW_DATA":B=w.getData();break}var A=k.getType();K&&A==="unstyled"&&(A=w.getType());var L=k.merge({text:K.slice(0,O)+w.getText()+K.slice(O),characterList:n(x,w.getCharacterList(),O),type:A,data:B});return u.merge({blockMap:f.set(D,L),selectionBefore:r,selectionAfter:r.merge({anchorKey:T,anchorOffset:b,focusKey:T,focusOffset:b,isBackward:!1})})},c=function(u,r,f){var w=u.getText(),D=u.getCharacterList(),O=w.slice(0,r),I=D.slice(0,r),k=f.first();return u.merge({text:O+k.getText(),characterList:I.concat(k.getCharacterList()),type:O?u.getType():k.getType(),data:k.getData()})},h=function(u,r,f){var w=u.getText(),D=u.getCharacterList(),O=w.length,I=w.slice(r,O),k=D.slice(r,O),K=f.last();return K.merge({text:K.getText()+I,characterList:K.getCharacterList().concat(k),data:K.getData()})},S=function(u,r){var f=u.getKey(),w=u,D=[];for(r.get(f)&&D.push(f);w&&w.getNextSiblingKey();){var O=w.getNextSiblingKey();if(!O)break;D.push(O),w=r.get(O)}return D},E=function(u,r,f,w){return u.withMutations(function(D){var O=f.getKey(),I=w.getKey(),k=f.getNextSiblingKey(),K=f.getParentKey(),x=S(w,u),T=x[x.length-1];if(D.get(I)?(D.setIn([O,"nextSibling"],I),D.setIn([I,"prevSibling"],O)):(D.setIn([O,"nextSibling"],w.getNextSiblingKey()),D.setIn([w.getNextSiblingKey(),"prevSibling"],O)),D.setIn([T,"nextSibling"],k),k&&D.setIn([k,"prevSibling"],T),x.forEach(function(P){return D.setIn([P,"parent"],K)}),K){var b=u.get(K),B=b.getChildKeys(),A=B.indexOf(O),L=A+1,F=B.toArray();F.splice.apply(F,[L,0].concat(x)),D.setIn([K,"children"],p(F))}})},i=function(u,r,f,w,D,O){var I=f.first()instanceof m,k=[],K=w.size,x=f.get(D),T=w.first(),b=w.last(),B=b.getLength(),A=b.getKey(),L=I&&(!x.getChildKeys().isEmpty()||!T.getChildKeys().isEmpty());f.forEach(function(P,H){if(H!==D){k.push(P);return}L?k.push(P):k.push(c(P,O,w)),w.slice(L?0:1,K-1).forEach(function(G){return k.push(G)}),k.push(h(P,O,w))});var F=y.createFromArray(k);return I&&(F=E(F,f,x,T)),u.merge({blockMap:F,selectionBefore:r,selectionAfter:r.merge({anchorKey:A,anchorOffset:B,focusKey:A,focusOffset:B,isBackward:!1})})},l=function(u,r,f){var w=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"REPLACE_WITH_NEW_DATA";r.isCollapsed()||(process.env.NODE_ENV!=="production"?a(!1,"`insertFragment` should only be called with a collapsed selection state."):a(!1));var D=u.getBlockMap(),O=d(f),I=r.getStartKey(),k=r.getStartOffset(),K=D.get(I);return K instanceof m&&(K.getChildKeys().isEmpty()||(process.env.NODE_ENV!=="production"?a(!1,"`insertFragment` should not be called when a container node is selected."):a(!1))),O.size===1?v(u,r,D,O.first(),I,k,w):i(u,r,D,O,I,k)};return un=l,un}var sn,mu;function Il(){if(mu)return sn;mu=1;var y=Ce(),m=pf(),g=De(),n=y.Repeat;function a(d,p,v,c){p.isCollapsed()||(process.env.NODE_ENV!=="production"?g(!1,"`insertText` should only be called with a collapsed range."):g(!1));var h=null;if(v!=null&&(h=v.length),h==null||h===0)return d;var S=d.getBlockMap(),E=p.getStartKey(),i=p.getStartOffset(),l=S.get(E),o=l.getText(),u=l.merge({text:o.slice(0,i)+v+o.slice(i,l.getLength()),characterList:m(l.getCharacterList(),n(c,h).toList(),i)}),r=i+h;return d.merge({blockMap:S.set(E,u),selectionAfter:p.merge({anchorOffset:r,focusOffset:r})})}return sn=a,sn}var cn,_u;function hf(){if(_u)return cn;_u=1;var y=Ce(),m=y.Map;function g(n,a,d){var p=a.getStartKey(),v=a.getEndKey(),c=n.getBlockMap(),h=c.toSeq().skipUntil(function(S,E){return E===p}).takeUntil(function(S,E){return E===v}).concat(m([[v,c.get(v)]])).map(d);return n.merge({blockMap:c.merge(h),selectionBefore:a,selectionAfter:a})}return cn=g,cn}var fn,Eu;function gf(){if(Eu)return fn;Eu=1;var y=it(),m=function(n,a){var d=n instanceof y;if(!d)return null;var p=n.getNextSiblingKey();if(p)return p;var v=n.getParentKey();if(!v)return null;for(var c=a.get(v);c&&!c.getNextSiblingKey();){var h=c.getParentKey();c=h?a.get(h):null}return c?c.getNextSiblingKey():null};return fn=m,fn}var ln,Su;function Kl(){if(Su)return ln;Su=1;var y=it(),m=gf(),g=Ce();g.List;var n=g.Map,a=function(l,o,u){if(l){var r=o.get(l);r&&o.set(l,u(r))}},d=function(l,o){var u=[];if(!l)return u;for(var r=o.get(l);r&&r.getParentKey();){var f=r.getParentKey();f&&u.push(f),r=f?o.get(f):null}return u},p=function(l,o){var u=[];if(!l)return u;for(var r=m(l,o);r&&o.get(r);){var f=o.get(r);u.push(r),r=f.getParentKey()?m(f,o):null}return u},v=function(l,o,u){if(!l)return null;for(var r=u.get(l.getKey()).getNextSiblingKey();r&&!o.get(r);)r=u.get(r).getNextSiblingKey()||null;return r},c=function(l,o,u){if(!l)return null;for(var r=u.get(l.getKey()).getPrevSiblingKey();r&&!o.get(r);)r=u.get(r).getPrevSiblingKey()||null;return r},h=function(l,o,u,r){return l.withMutations(function(f){if(a(o.getKey(),f,function(k){return k.merge({nextSibling:v(k,f,r),prevSibling:c(k,f,r)})}),a(u.getKey(),f,function(k){return k.merge({nextSibling:v(k,f,r),prevSibling:c(k,f,r)})}),d(o.getKey(),r).forEach(function(k){return a(k,f,function(K){return K.merge({children:K.getChildKeys().filter(function(x){return f.get(x)}),nextSibling:v(K,f,r),prevSibling:c(K,f,r)})})}),a(o.getNextSiblingKey(),f,function(k){return k.merge({prevSibling:o.getPrevSiblingKey()})}),a(o.getPrevSiblingKey(),f,function(k){return k.merge({nextSibling:v(k,f,r)})}),a(u.getNextSiblingKey(),f,function(k){return k.merge({prevSibling:c(k,f,r)})}),a(u.getPrevSiblingKey(),f,function(k){return k.merge({nextSibling:u.getNextSiblingKey()})}),d(u.getKey(),r).forEach(function(k){a(k,f,function(K){return K.merge({children:K.getChildKeys().filter(function(x){return f.get(x)}),nextSibling:v(K,f,r),prevSibling:c(K,f,r)})})}),p(u,r).forEach(function(k){return a(k,f,function(K){return K.merge({nextSibling:v(K,f,r),prevSibling:c(K,f,r)})})}),l.get(o.getKey())==null&&l.get(u.getKey())!=null&&u.getParentKey()===o.getKey()&&u.getPrevSiblingKey()==null){var w=o.getPrevSiblingKey();a(u.getKey(),f,function(k){return k.merge({prevSibling:w})}),a(w,f,function(k){return k.merge({nextSibling:u.getKey()})});var D=w?l.get(w):null,O=D?D.getParentKey():null;if(o.getChildKeys().forEach(function(k){a(k,f,function(K){return K.merge({parent:O})})}),O!=null){var I=l.get(O);a(O,f,function(k){return k.merge({children:I.getChildKeys().concat(o.getChildKeys())})})}a(o.getChildKeys().find(function(k){var K=l.get(k);return K.getNextSiblingKey()===null}),f,function(k){return k.merge({nextSibling:o.getNextSiblingKey()})})}})},S=function(l,o){if(o.isCollapsed())return l;var u=l.getBlockMap(),r=o.getStartKey(),f=o.getStartOffset(),w=o.getEndKey(),D=o.getEndOffset(),O=u.get(r),I=u.get(w),k=O instanceof y,K=[];if(k){var x=I.getChildKeys(),T=d(w,u);I.getNextSiblingKey()&&(K=K.concat(T)),x.isEmpty()||(K=K.concat(T.concat([w]))),K=K.concat(d(m(I,u),u))}var b;O===I?b=E(O.getCharacterList(),f,D):b=O.getCharacterList().slice(0,f).concat(I.getCharacterList().slice(D));var B=O.merge({text:O.getText().slice(0,f)+I.getText().slice(D),characterList:b}),A=k&&f===0&&D===0&&I.getParentKey()===r&&I.getPrevSiblingKey()==null,L=A?n([[r,null]]):u.toSeq().skipUntil(function(P,H){return H===r}).takeUntil(function(P,H){return H===w}).filter(function(P,H){return K.indexOf(H)===-1}).concat(n([[w,null]])).map(function(P,H){return H===r?B:null}),F=u.merge(L).filter(function(P){return!!P});return k&&O!==I&&(F=h(F,O,I,u)),l.merge({blockMap:F,selectionBefore:o,selectionAfter:o.merge({anchorKey:r,anchorOffset:f,focusKey:r,focusOffset:f,isBackward:!1})})},E=function(l,o,u){if(o===0)for(;o<u;)l=l.shift(),o++;else if(u===l.count())for(;u>o;)l=l.pop(),u--;else{var r=l.slice(0,o),f=l.slice(u);l=r.concat(f).toList()}return l};return ln=S,ln}var vn,wu;function Ml(){if(wu)return vn;wu=1;var y=it(),m=vt(),g=Ce(),n=De(),a=hf(),d=g.List,p=g.Map,v=function(E,i,l){if(E){var o=i.get(E);o&&i.set(E,l(o))}},c=function(E,i,l){return E.withMutations(function(o){var u=i.getKey(),r=l.getKey();v(i.getParentKey(),o,function(f){var w=f.getChildKeys(),D=w.indexOf(u)+1,O=w.toArray();return O.splice(D,0,r),f.merge({children:d(O)})}),v(i.getNextSiblingKey(),o,function(f){return f.merge({prevSibling:r})}),v(u,o,function(f){return f.merge({nextSibling:r})}),v(r,o,function(f){return f.merge({prevSibling:u})})})},h=function(E,i){i.isCollapsed()||(process.env.NODE_ENV!=="production"?n(!1,"Selection range must be collapsed."):n(!1));var l=i.getAnchorKey(),o=E.getBlockMap(),u=o.get(l),r=u.getText();if(!r){var f=u.getType();if(f==="unordered-list-item"||f==="ordered-list-item")return a(E,i,function(B){return B.merge({type:"unstyled",depth:0})})}var w=i.getAnchorOffset(),D=u.getCharacterList(),O=m(),I=u instanceof y,k=u.merge({text:r.slice(0,w),characterList:D.slice(0,w)}),K=k.merge({key:O,text:r.slice(w),characterList:D.slice(w),data:p()}),x=o.toSeq().takeUntil(function(B){return B===u}),T=o.toSeq().skipUntil(function(B){return B===u}).rest(),b=x.concat([[l,k],[O,K]],T).toOrderedMap();return I&&(u.getChildKeys().isEmpty()||(process.env.NODE_ENV!=="production"?n(!1,"ContentBlockNode must not have children"):n(!1)),b=c(b,k,K)),E.merge({blockMap:b,selectionBefore:i,selectionAfter:i.merge({anchorKey:O,anchorOffset:0,focusKey:O,focusOffset:0,isBackward:!1})})};return vn=h,vn}var dn,Cu;function Ge(){if(Cu)return dn;Cu=1;var y=nt(),m=bl(),g=Tl(),n=Bl(),a=ar(),d=Ce(),p=xl(),v=Il(),c=De(),h=hf(),S=df(),E=Kl(),i=Ml(),l=d.OrderedSet,o={replaceText:function(r,f,w,D,O){var I=S(r,f),k=E(I,f),K=y.create({style:D||l(),entity:O||null});return v(k,k.getSelectionAfter(),w,K)},insertText:function(r,f,w,D,O){return f.isCollapsed()||(process.env.NODE_ENV!=="production"?c(!1,"Target range must be collapsed for `insertText`."):c(!1)),o.replaceText(r,f,w,D,O)},moveText:function(r,f,w){var D=a(r,f),O=o.removeRange(r,f,"backward");return o.replaceWithFragment(O,w,D)},replaceWithFragment:function(r,f,w){var D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"REPLACE_WITH_NEW_DATA",O=S(r,f),I=E(O,f);return p(I,I.getSelectionAfter(),w,D)},removeRange:function(r,f,w){var D,O,I,k;f.getIsBackward()&&(f=f.merge({anchorKey:f.getFocusKey(),anchorOffset:f.getFocusOffset(),focusKey:f.getAnchorKey(),focusOffset:f.getAnchorOffset(),isBackward:!1})),D=f.getAnchorKey(),O=f.getFocusKey(),I=r.getBlockForKey(D),k=r.getBlockForKey(O);var K=f.getStartOffset(),x=f.getEndOffset(),T=I.getEntityAt(K),b=k.getEntityAt(x-1);if(D===O&&T&&T===b){var B=n(r.getEntityMap(),I,k,f,w);return E(r,B)}var A=S(r,f);return E(A,f)},splitBlock:function(r,f){var w=S(r,f),D=E(w,f);return i(D,D.getSelectionAfter())},applyInlineStyle:function(r,f,w){return m.add(r,f,w)},removeInlineStyle:function(r,f,w){return m.remove(r,f,w)},setBlockType:function(r,f,w){return h(r,f,function(D){return D.merge({type:w,depth:0})})},setBlockData:function(r,f,w){return h(r,f,function(D){return D.merge({data:w})})},mergeBlockData:function(r,f,w){return h(r,f,function(D){return D.merge({data:D.getData().merge(w)})})},applyEntity:function(r,f,w){var D=S(r,f);return g(D,f,w)}};return dn=o,dn}var pn,Du;function yf(){if(Du)return pn;Du=1;function y(m){return Object.keys(m).map(function(g){return m[g]})}return pn=y,pn}var hn,bu;function Al(){if(bu)return hn;bu=1;function y(f){for(var w=1;w<arguments.length;w++){var D=arguments[w]!=null?arguments[w]:{},O=Object.keys(D);typeof Object.getOwnPropertySymbols=="function"&&(O=O.concat(Object.getOwnPropertySymbols(D).filter(function(I){return Object.getOwnPropertyDescriptor(D,I).enumerable}))),O.forEach(function(I){m(f,I,D[I])})}return f}function m(f,w,D){return w in f?Object.defineProperty(f,w,{value:D,enumerable:!0,configurable:!0,writable:!0}):f[w]=D,f}function g(f,w){if(f==null)return{};var D={},O=Object.keys(f),I,k;for(k=0;k<O.length;k++)I=O[k],!(w.indexOf(I)>=0)&&(D[I]=f[I]);return D}var n=Vt(),a=yf(),d=Ce(),p=d.List,v=d.Repeat,c=d.Record,h=function(){return!0},S={start:null,end:null},E=c(S),i={start:null,end:null,decoratorKey:null,leaves:null},l=c(i),o={generate:function(w,D,O){var I=D.getLength();if(!I)return p.of(new l({start:0,end:0,decoratorKey:null,leaves:p.of(new E({start:0,end:0}))}));var k=[],K=O?O.getDecorations(D,w):p(v(null,I)),x=D.getCharacterList();return n(K,r,h,function(T,b){k.push(new l({start:T,end:b,decoratorKey:K.get(T),leaves:u(x.slice(T,b).toList(),T)}))}),p(k)},fromJS:function(w){var D=w.leaves,O=g(w,["leaves"]);return new l(y({},O,{leaves:D!=null?p(Array.isArray(D)?D:a(D)).map(function(I){return E(I)}):null}))}};function u(f,w){var D=[],O=f.map(function(I){return I.getStyle()}).toList();return n(O,r,h,function(I,k){D.push(new E({start:I+w,end:k+w}))}),p(D)}function r(f,w){return f===w}return hn=o,hn}var gn,Ou;function mf(){if(Ou)return gn;Ou=1;function y(d,p){d.prototype=Object.create(p.prototype),d.prototype.constructor=d,d.__proto__=p}var m=Ce(),g=m.Record,n=g({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),a=function(d){y(p,d);function p(){return d.apply(this,arguments)||this}var v=p.prototype;return v.getType=function(){return this.get("type")},v.getMutability=function(){return this.get("mutability")},v.getData=function(){return this.get("data")},p}(n);return gn=a,gn}var yn,Tu;function Nl(){if(Tu)return yn;Tu=1;function y(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(m){var g=Math.random()*16|0,n=m=="x"?g:g&3|8;return n.toString(16)})}return yn=y,yn}var mn,Ru;function or(){if(Ru)return mn;Ru=1;function y(E){for(var i=1;i<arguments.length;i++){var l=arguments[i]!=null?arguments[i]:{},o=Object.keys(l);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(l).filter(function(u){return Object.getOwnPropertyDescriptor(l,u).enumerable}))),o.forEach(function(u){m(E,u,l[u])})}return E}function m(E,i,l){return i in E?Object.defineProperty(E,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):E[i]=l,E}var g=mf(),n=Ce(),a=De(),d=Nl(),p=n.Map,v=p(),c=d();function h(E,i){console.warn("WARNING: "+E+` will be deprecated soon!
2
+ Please use "`+i+'" instead.')}var S={getLastCreatedEntityKey:function(){return h("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),S.__getLastCreatedEntityKey()},create:function(i,l,o){return h("DraftEntity.create","contentState.createEntity"),S.__create(i,l,o)},add:function(i){return h("DraftEntity.add","contentState.addEntity"),S.__add(i)},get:function(i){return h("DraftEntity.get","contentState.getEntity"),S.__get(i)},__getAll:function(){return v},__loadWithEntities:function(i){v=i,c=d()},mergeData:function(i,l){return h("DraftEntity.mergeData","contentState.mergeEntityData"),S.__mergeData(i,l)},replaceData:function(i,l){return h("DraftEntity.replaceData","contentState.replaceEntityData"),S.__replaceData(i,l)},__getLastCreatedEntityKey:function(){return c},__create:function(i,l,o){return S.__add(new g({type:i,mutability:l,data:o||{}}))},__add:function(i){return c=d(),v=v.set(c,i),c},__get:function(i){var l=v.get(i);return l||(process.env.NODE_ENV!=="production"?a(!1,"Unknown DraftEntity key: %s.",i):a(!1)),l},__mergeData:function(i,l){var o=S.__get(i),u=y({},o.getData(),l),r=o.set("data",u);return v=v.set(i,r),r},__replaceData:function(i,l){var o=S.__get(i),u=o.set("data",l);return v=v.set(i,u),u}};return mn=S,mn}var _n,ku;function ur(){if(ku)return _n;ku=1;function y(p,v){p.prototype=Object.create(v.prototype),p.prototype.constructor=p,p.__proto__=v}var m=Ce(),g=m.Record,n={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},a=g(n),d=function(p){y(v,p);function v(){return p.apply(this,arguments)||this}var c=v.prototype;return c.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},c.getAnchorKey=function(){return this.get("anchorKey")},c.getAnchorOffset=function(){return this.get("anchorOffset")},c.getFocusKey=function(){return this.get("focusKey")},c.getFocusOffset=function(){return this.get("focusOffset")},c.getIsBackward=function(){return this.get("isBackward")},c.getHasFocus=function(){return this.get("hasFocus")},c.hasEdgeWithin=function(S,E,i){var l=this.getAnchorKey(),o=this.getFocusKey();if(l===o&&l===S){var u=this.getStartOffset(),r=this.getEndOffset();return E<=u&&u<=i||E<=r&&r<=i}if(S!==l&&S!==o)return!1;var f=S===l?this.getAnchorOffset():this.getFocusOffset();return E<=f&&i>=f},c.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},c.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},c.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},c.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},c.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},v.createEmpty=function(S){return new v({anchorKey:S,anchorOffset:0,focusKey:S,focusOffset:0,isBackward:!1,hasFocus:!1})},v}(a);return _n=d,_n}var En,Bu;function mt(){return Bu||(Bu=1,En=function(y){return typeof window<"u"&&window.__DRAFT_GKX?!!window.__DRAFT_GKX[y]:!1}),En}var Sn,xu;function _f(){if(xu)return Sn;xu=1;var y=new RegExp("\r","g");function m(g){return g.replace(y,"")}return Sn=m,Sn}var wn,Iu;function $a(){if(Iu)return wn;Iu=1;function y(K){for(var x=1;x<arguments.length;x++){var T=arguments[x]!=null?arguments[x]:{},b=Object.keys(T);typeof Object.getOwnPropertySymbols=="function"&&(b=b.concat(Object.getOwnPropertySymbols(T).filter(function(B){return Object.getOwnPropertyDescriptor(T,B).enumerable}))),b.forEach(function(B){m(K,B,T[B])})}return K}function m(K,x,T){return x in K?Object.defineProperty(K,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):K[x]=T,K}function g(K,x){K.prototype=Object.create(x.prototype),K.prototype.constructor=K,K.__proto__=x}var n=Ht(),a=nt(),d=Et(),p=it(),v=or(),c=ur(),h=vt(),S=yf(),E=mt(),i=Ce(),l=_f(),o=i.List,u=i.Record,r=i.Repeat,f=i.Map,w=i.OrderedMap,D={entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null},O=u(D),I=E("draft_tree_data_support")?p:d,k=function(K){g(x,K);function x(){return K.apply(this,arguments)||this}var T=x.prototype;return T.getEntityMap=function(){return v},T.getBlockMap=function(){return this.get("blockMap")},T.getSelectionBefore=function(){return this.get("selectionBefore")},T.getSelectionAfter=function(){return this.get("selectionAfter")},T.getBlockForKey=function(B){var A=this.getBlockMap().get(B);return A},T.getKeyBefore=function(B){return this.getBlockMap().reverse().keySeq().skipUntil(function(A){return A===B}).skip(1).first()},T.getKeyAfter=function(B){return this.getBlockMap().keySeq().skipUntil(function(A){return A===B}).skip(1).first()},T.getBlockAfter=function(B){return this.getBlockMap().skipUntil(function(A,L){return L===B}).skip(1).first()},T.getBlockBefore=function(B){return this.getBlockMap().reverse().skipUntil(function(A,L){return L===B}).skip(1).first()},T.getBlocksAsArray=function(){return this.getBlockMap().toArray()},T.getFirstBlock=function(){return this.getBlockMap().first()},T.getLastBlock=function(){return this.getBlockMap().last()},T.getPlainText=function(B){return this.getBlockMap().map(function(A){return A?A.getText():""}).join(B||`
3
+ `)},T.getLastCreatedEntityKey=function(){return v.__getLastCreatedEntityKey()},T.hasText=function(){var B=this.getBlockMap();return B.size>1||escape(B.first().getText()).replace(/%u200B/g,"").length>0},T.createEntity=function(B,A,L){return v.__create(B,A,L),this},T.mergeEntityData=function(B,A){return v.__mergeData(B,A),this},T.replaceEntityData=function(B,A){return v.__replaceData(B,A),this},T.addEntity=function(B){return v.__add(B),this},T.getEntity=function(B){return v.__get(B)},T.getAllEntities=function(){return v.__getAll()},T.loadWithEntities=function(B){return v.__loadWithEntities(B)},x.createFromBlockArray=function(B,A){var L=Array.isArray(B)?B:B.contentBlocks,F=n.createFromArray(L),P=F.isEmpty()?new c:c.createEmpty(F.first().getKey());return new x({blockMap:F,entityMap:A||v,selectionBefore:P,selectionAfter:P})},x.createFromText=function(B){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:/\r\n?|\n/g,L=B.split(A),F=L.map(function(P){return P=l(P),new I({key:h(),text:P,type:"unstyled",characterList:o(r(a.EMPTY,P.length))})});return x.createFromBlockArray(F)},x.fromJS=function(B){return new x(y({},B,{blockMap:w(B.blockMap).map(x.createContentBlockFromJS),selectionBefore:new c(B.selectionBefore),selectionAfter:new c(B.selectionAfter)}))},x.createContentBlockFromJS=function(B){var A=B.characterList;return new I(y({},B,{data:f(B.data),characterList:A!=null?o((Array.isArray(A)?A:S(A)).map(function(L){return a.fromJS(L)})):void 0}))},x}(O);return wn=k,wn}var Cn,Ku;function sr(){if(Ku)return Cn;Ku=1;var y=De(),m="NEUTRAL",g="LTR",n="RTL",a=null;function d(i){return i===g||i===n}function p(i){return d(i)||(process.env.NODE_ENV!=="production"?y(!1,"`dir` must be a strong direction to be converted to HTML Direction"):y(!1)),i===g?"ltr":"rtl"}function v(i,l){return d(i)||(process.env.NODE_ENV!=="production"?y(!1,"`dir` must be a strong direction to be converted to HTML Direction"):y(!1)),d(l)||(process.env.NODE_ENV!=="production"?y(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):y(!1)),i===l?null:p(i)}function c(i){a=i}function h(){c(g)}function S(){return a||this.initGlobalDir(),a||(process.env.NODE_ENV!=="production"?y(!1,"Global direction not set."):y(!1)),a}var E={NEUTRAL:m,LTR:g,RTL:n,isStrong:d,getHTMLDir:p,getHTMLDirIfDifferent:v,setGlobalDir:c,initGlobalDir:h,getGlobalDir:S};return Cn=E,Cn}var Dn,Mu;function Za(){if(Mu)return Dn;Mu=1;var y=sr(),m=De(),g={L:"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",R:"֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",AL:"؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾"},n=new RegExp("["+g.L+g.R+g.AL+"]"),a=new RegExp("["+g.R+g.AL+"]");function d(i){var l=n.exec(i);return l==null?null:l[0]}function p(i){var l=d(i);return l==null?y.NEUTRAL:a.exec(l)?y.RTL:y.LTR}function v(i,l){if(l=l||y.NEUTRAL,!i.length)return l;var o=p(i);return o===y.NEUTRAL?l:o}function c(i,l){return l||(l=y.getGlobalDir()),y.isStrong(l)||(process.env.NODE_ENV!=="production"?m(!1,"Fallback direction must be a strong direction"):m(!1)),v(i,l)}function h(i,l){return c(i,l)===y.LTR}function S(i,l){return c(i,l)===y.RTL}var E={firstStrongChar:d,firstStrongCharDir:p,resolveBlockDir:v,getDirection:c,isDirectionLTR:h,isDirectionRTL:S};return Dn=E,Dn}var bn,Au;function Ll(){if(Au)return bn;Au=1;function y(d,p,v){return p in d?Object.defineProperty(d,p,{value:v,enumerable:!0,configurable:!0,writable:!0}):d[p]=v,d}var m=Za(),g=sr(),n=De(),a=function(){function d(v){y(this,"_defaultDir",void 0),y(this,"_lastDir",void 0),v?g.isStrong(v)||(process.env.NODE_ENV!=="production"?n(!1,"Default direction must be a strong direction (LTR or RTL)"):n(!1)):v=g.getGlobalDir(),this._defaultDir=v,this.reset()}var p=d.prototype;return p.reset=function(){this._lastDir=this._defaultDir},p.getDirection=function(c){return this._lastDir=m.getDirection(c,this._lastDir),this._lastDir},d}();return bn=a,bn}var On,Nu;function je(){if(Nu)return On;Nu=1;var y=function(g){if(g!=null)return g;throw new Error("Got unexpected null or undefined")};return On=y,On}var Tn,Lu;function Fl(){if(Lu)return Tn;Lu=1;var y=Ll(),m=Ce(),g=je(),n=m.OrderedMap,a,d={getDirectionMap:function(v,c){a?a.reset():a=new y;var h=v.getBlockMap(),S=h.valueSeq().map(function(i){return g(a).getDirection(i.getText())}),E=n(h.keySeq().zip(S));return c!=null&&m.is(c,E)?c:E}};return Tn=d,Tn}var Rn,Fu;function Te(){if(Fu)return Rn;Fu=1;function y(K){for(var x=1;x<arguments.length;x++){var T=arguments[x]!=null?arguments[x]:{},b=Object.keys(T);typeof Object.getOwnPropertySymbols=="function"&&(b=b.concat(Object.getOwnPropertySymbols(T).filter(function(B){return Object.getOwnPropertyDescriptor(T,B).enumerable}))),b.forEach(function(B){m(K,B,T[B])})}return K}function m(K,x,T){return x in K?Object.defineProperty(K,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):K[x]=T,K}var g=Al(),n=$a(),a=Fl(),d=ur(),p=Ce(),v=p.OrderedSet,c=p.Record,h=p.Stack,S=p.OrderedMap,E=p.List,i={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:h(),selection:null,treeMap:null,undoStack:h()},l=c(i),o=function(){x.createEmpty=function(b){return this.createWithText("",b)},x.createWithText=function(b,B){return x.createWithContent(n.createFromText(b),B)},x.createWithContent=function(b,B){if(b.getBlockMap().count()===0)return x.createEmpty(B);var A=b.getBlockMap().first().getKey();return x.create({currentContent:b,undoStack:h(),redoStack:h(),decorator:B||null,selection:d.createEmpty(A)})},x.create=function(b){var B=b.currentContent,A=b.decorator,L=y({},b,{treeMap:r(B,A),directionMap:a.getDirectionMap(B)});return new x(new l(L))},x.fromJS=function(b){return new x(new l(y({},b,{directionMap:b.directionMap!=null?S(b.directionMap):b.directionMap,inlineStyleOverride:b.inlineStyleOverride!=null?v(b.inlineStyleOverride):b.inlineStyleOverride,nativelyRenderedContent:b.nativelyRenderedContent!=null?n.fromJS(b.nativelyRenderedContent):b.nativelyRenderedContent,redoStack:b.redoStack!=null?h(b.redoStack.map(function(B){return n.fromJS(B)})):b.redoStack,selection:b.selection!=null?new d(b.selection):b.selection,treeMap:b.treeMap!=null?S(b.treeMap).map(function(B){return E(B).map(function(A){return g.fromJS(A)})}):b.treeMap,undoStack:b.undoStack!=null?h(b.undoStack.map(function(B){return n.fromJS(B)})):b.undoStack,currentContent:n.fromJS(b.currentContent)})))},x.set=function(b,B){var A=b.getImmutable().withMutations(function(L){var F=L.get("decorator"),P=F;B.decorator===null?P=null:B.decorator&&(P=B.decorator);var H=B.currentContent||b.getCurrentContent();if(P!==F){var G=L.get("treeMap"),W;P&&F?W=w(H,H.getBlockMap(),G,P,F):W=r(H,P),L.merge({decorator:P,treeMap:W,nativelyRenderedContent:null});return}var $=b.getCurrentContent();H!==$&&L.set("treeMap",f(b,H.getBlockMap(),H.getEntityMap(),P)),L.merge(B)});return new x(A)};var K=x.prototype;K.toJS=function(){return this.getImmutable().toJS()},K.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},K.getCurrentContent=function(){return this.getImmutable().get("currentContent")},K.getUndoStack=function(){return this.getImmutable().get("undoStack")},K.getRedoStack=function(){return this.getImmutable().get("redoStack")},K.getSelection=function(){return this.getImmutable().get("selection")},K.getDecorator=function(){return this.getImmutable().get("decorator")},K.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},K.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},K.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},K.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},K.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},x.setInlineStyleOverride=function(b,B){return x.set(b,{inlineStyleOverride:B})},K.getCurrentInlineStyle=function(){var b=this.getInlineStyleOverride();if(b!=null)return b;var B=this.getCurrentContent(),A=this.getSelection();return A.isCollapsed()?O(B,A):I(B,A)},K.getBlockTree=function(b){return this.getImmutable().getIn(["treeMap",b])},K.isSelectionAtStartOfContent=function(){var b=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(b,0,0)},K.isSelectionAtEndOfContent=function(){var b=this.getCurrentContent(),B=b.getBlockMap(),A=B.last(),L=A.getLength();return this.getSelection().hasEdgeWithin(A.getKey(),L,L)},K.getDirectionMap=function(){return this.getImmutable().get("directionMap")},x.acceptSelection=function(b,B){return u(b,B,!1)},x.forceSelection=function(b,B){return B.getHasFocus()||(B=B.set("hasFocus",!0)),u(b,B,!0)},x.moveSelectionToEnd=function(b){var B=b.getCurrentContent(),A=B.getLastBlock(),L=A.getKey(),F=A.getLength();return x.acceptSelection(b,new d({anchorKey:L,anchorOffset:F,focusKey:L,focusOffset:F,isBackward:!1}))},x.moveFocusToEnd=function(b){var B=x.moveSelectionToEnd(b);return x.forceSelection(B,B.getSelection())},x.push=function(b,B,A){var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(b.getCurrentContent()===B)return b;var F=a.getDirectionMap(B,b.getDirectionMap());if(!b.getAllowUndo())return x.set(b,{currentContent:B,directionMap:F,lastChangeType:A,selection:B.getSelectionAfter(),forceSelection:L,inlineStyleOverride:null});var P=b.getSelection(),H=b.getCurrentContent(),G=b.getUndoStack(),W=B;P!==H.getSelectionAfter()||D(b,A)?(G=G.push(H),W=W.set("selectionBefore",P)):(A==="insert-characters"||A==="backspace-character"||A==="delete-character")&&(W=W.set("selectionBefore",H.getSelectionBefore()));var $=b.getInlineStyleOverride(),X=["adjust-depth","change-block-type","split-block"];X.indexOf(A)===-1&&($=null);var j={currentContent:W,directionMap:F,undoStack:G,redoStack:h(),lastChangeType:A,selection:B.getSelectionAfter(),forceSelection:L,inlineStyleOverride:$};return x.set(b,j)},x.undo=function(b){if(!b.getAllowUndo())return b;var B=b.getUndoStack(),A=B.peek();if(!A)return b;var L=b.getCurrentContent(),F=a.getDirectionMap(A,b.getDirectionMap());return x.set(b,{currentContent:A,directionMap:F,undoStack:B.shift(),redoStack:b.getRedoStack().push(L),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:L.getSelectionBefore()})},x.redo=function(b){if(!b.getAllowUndo())return b;var B=b.getRedoStack(),A=B.peek();if(!A)return b;var L=b.getCurrentContent(),F=a.getDirectionMap(A,b.getDirectionMap());return x.set(b,{currentContent:A,directionMap:F,undoStack:b.getUndoStack().push(L),redoStack:B.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:A.getSelectionAfter()})};function x(T){m(this,"_immutable",void 0),this._immutable=T}return K.getImmutable=function(){return this._immutable},x}();function u(K,x,T){return o.set(K,{selection:x,forceSelection:T,nativelyRenderedContent:null,inlineStyleOverride:null})}function r(K,x){return K.getBlockMap().map(function(T){return g.generate(K,T,x)}).toOrderedMap()}function f(K,x,T,b){var B=K.getCurrentContent().set("entityMap",T),A=B.getBlockMap(),L=K.getImmutable().get("treeMap");return L.merge(x.toSeq().filter(function(F,P){return F!==A.get(P)}).map(function(F){return g.generate(B,F,b)}))}function w(K,x,T,b,B){return T.merge(x.toSeq().filter(function(A){return b.getDecorations(A,K)!==B.getDecorations(A,K)}).map(function(A){return g.generate(K,A,b)}))}function D(K,x){var T=K.getLastChangeType();return x!==T||x!=="insert-characters"&&x!=="backspace-character"&&x!=="delete-character"}function O(K,x){var T=x.getStartKey(),b=x.getStartOffset(),B=K.getBlockForKey(T);return b>0?B.getInlineStyleAt(b-1):B.getLength()?B.getInlineStyleAt(0):k(K,T)}function I(K,x){var T=x.getStartKey(),b=x.getStartOffset(),B=K.getBlockForKey(T);return b<B.getLength()?B.getInlineStyleAt(b):b>0?B.getInlineStyleAt(b-1):k(K,T)}function k(K,x){var T=K.getBlockMap().reverse().skipUntil(function(b,B){return B===x}).skip(1).skipUntil(function(b,B){return b.getLength()}).first();return T?T.getInlineStyleAt(T.getLength()-1):v()}return Rn=o,Rn}var kn,qu;function ql(){if(qu)return kn;qu=1;var y=it(),m=gf(),g=Ce(),n=De(),a=g.OrderedMap,d=g.List,p=function(S,E,i){if(S){var l=E.get(S);l&&E.set(S,i(l))}},v=function(S,E,i,l,o){if(!o)return S;var u=l==="after",r=E.getKey(),f=i.getKey(),w=E.getParentKey(),D=E.getNextSiblingKey(),O=E.getPrevSiblingKey(),I=i.getParentKey(),k=u?i.getNextSiblingKey():f,K=u?f:i.getPrevSiblingKey();return S.withMutations(function(x){p(w,x,function(T){var b=T.getChildKeys();return T.merge({children:b.delete(b.indexOf(r))})}),p(O,x,function(T){return T.merge({nextSibling:D})}),p(D,x,function(T){return T.merge({prevSibling:O})}),p(k,x,function(T){return T.merge({prevSibling:r})}),p(K,x,function(T){return T.merge({nextSibling:r})}),p(I,x,function(T){var b=T.getChildKeys(),B=b.indexOf(f),A=u?B+1:B!==0?B-1:0,L=b.toArray();return L.splice(A,0,r),T.merge({children:d(L)})}),p(r,x,function(T){return T.merge({nextSibling:k,prevSibling:K,parent:I})})})},c=function(S,E,i,l){l==="replace"&&(process.env.NODE_ENV!=="production"?n(!1,"Replacing blocks is not supported."):n(!1));var o=i.getKey(),u=E.getKey();u===o&&(process.env.NODE_ENV!=="production"?n(!1,"Block cannot be moved next to itself."):n(!1));var r=S.getBlockMap(),f=E instanceof y,w=[E],D=r.delete(u);f&&(w=[],D=r.withMutations(function(b){var B=E.getNextSiblingKey(),A=m(E,b);b.toSeq().skipUntil(function(L){return L.getKey()===u}).takeWhile(function(L){var F=L.getKey(),P=F===u,H=B&&F!==B,G=!B&&L.getParentKey()&&(!A||F!==A);return!!(P||H||G)}).forEach(function(L){w.push(L),b.delete(L.getKey())})}));var O=D.toSeq().takeUntil(function(b){return b===i}),I=D.toSeq().skipUntil(function(b){return b===i}).skip(1),k=w.map(function(b){return[b.getKey(),b]}),K=a();if(l==="before"){var x=S.getBlockBefore(o);!x||x.getKey()!==E.getKey()||(process.env.NODE_ENV!=="production"?n(!1,"Block cannot be moved next to itself."):n(!1)),K=O.concat([].concat(k,[[o,i]]),I).toOrderedMap()}else if(l==="after"){var T=S.getBlockAfter(o);!T||T.getKey()!==u||(process.env.NODE_ENV!=="production"?n(!1,"Block cannot be moved next to itself."):n(!1)),K=O.concat([[o,i]].concat(k),I).toOrderedMap()}return S.merge({blockMap:v(K,E,i,l,f),selectionBefore:S.getSelectionAfter(),selectionAfter:S.getSelectionAfter().merge({anchorKey:u,focusKey:u})})};return kn=c,kn}var Bn,Pu;function Pl(){if(Pu)return Bn;Pu=1;function y(f){for(var w=1;w<arguments.length;w++){var D=arguments[w]!=null?arguments[w]:{},O=Object.keys(D);typeof Object.getOwnPropertySymbols=="function"&&(O=O.concat(Object.getOwnPropertySymbols(D).filter(function(I){return Object.getOwnPropertyDescriptor(D,I).enumerable}))),O.forEach(function(I){m(f,I,D[I])})}return f}function m(f,w,D){return w in f?Object.defineProperty(f,w,{value:D,enumerable:!0,configurable:!0,writable:!0}):f[w]=D,f}var g=Ht(),n=nt(),a=Et(),d=it(),p=Ge(),v=Te(),c=vt(),h=mt(),S=Ce(),E=ql(),i=h("draft_tree_data_support"),l=i?d:a,o=S.List,u=S.Repeat,r={insertAtomicBlock:function(w,D,O){var I=w.getCurrentContent(),k=w.getSelection(),K=p.removeRange(I,k,"backward"),x=K.getSelectionAfter(),T=p.splitBlock(K,x),b=T.getSelectionAfter(),B=p.setBlockType(T,b,"atomic"),A=n.create({entity:D}),L={key:c(),type:"atomic",text:O,characterList:o(u(A,O.length))},F={key:c(),type:"unstyled"};i&&(L=y({},L,{nextSibling:F.key}),F=y({},F,{prevSibling:L.key}));var P=[new l(L),new l(F)],H=g.createFromArray(P),G=p.replaceWithFragment(B,b,H),W=G.merge({selectionBefore:k,selectionAfter:G.getSelectionAfter().set("hasFocus",!0)});return v.push(w,W,"insert-fragment")},moveAtomicBlock:function(w,D,O,I){var k=w.getCurrentContent(),K=w.getSelection(),x;if(I==="before"||I==="after"){var T=k.getBlockForKey(I==="before"?O.getStartKey():O.getEndKey());x=E(k,D,T,I)}else{var b=p.removeRange(k,O,"backward"),B=b.getSelectionAfter(),A=b.getBlockForKey(B.getFocusKey());if(B.getStartOffset()===0)x=E(b,D,A,"before");else if(B.getEndOffset()===A.getLength())x=E(b,D,A,"after");else{var L=p.splitBlock(b,B),F=L.getSelectionAfter(),P=L.getBlockForKey(F.getFocusKey());x=E(L,D,P,"before")}}var H=x.merge({selectionBefore:K,selectionAfter:x.getSelectionAfter().set("hasFocus",!0)});return v.push(w,H,"move-block")}};return Bn=r,Bn}var xn,Uu;function Ul(){if(Uu)return xn;Uu=1;function y(v,c,h){return c in v?Object.defineProperty(v,c,{value:h,enumerable:!0,configurable:!0,writable:!0}):v[c]=h,v}var m=Ce(),g=m.List,n=".",a=function(){function v(h){y(this,"_decorators",void 0),this._decorators=h.slice()}var c=v.prototype;return c.getDecorations=function(S,E){var i=Array(S.getText().length).fill(null);return this._decorators.forEach(function(l,o){var u=0,r=l.strategy,f=function(D,O){d(i,D,O)&&(p(i,D,O,o+n+u),u++)};r(S,f,E)}),g(i)},c.getComponentForKey=function(S){var E=parseInt(S.split(n)[0],10);return this._decorators[E].component},c.getPropsForKey=function(S){var E=parseInt(S.split(n)[0],10);return this._decorators[E].props},v}();function d(v,c,h){for(var S=c;S<h;S++)if(v[S]!=null)return!1;return!0}function p(v,c,h,S){for(var E=c;E<h;E++)v[E]=S}return xn=a,xn}var In,zu;function St(){if(zu)return In;zu=1;function y(g){return typeof g=="object"?Object.keys(g).filter(function(n){return g[n]}).map(m).join(" "):Array.prototype.map.call(arguments,m).join(" ")}function m(g){return g.replace(/\//g,"-")}return In=y,In}var Kn,Hu;function Qa(){if(Hu)return Kn;Hu=1;var y=ot,m=St(),g=Ce(),n=g.Map,a=y.createElement("ul",{className:m("public/DraftStyleDefault/ul")}),d=y.createElement("ol",{className:m("public/DraftStyleDefault/ol")}),p=y.createElement("pre",{className:m("public/DraftStyleDefault/pre")}),v=n({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:a},"ordered-list-item":{element:"li",wrapper:d},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:p},unstyled:{element:"div",aliasedElements:["p"]}});return Kn=v,Kn}var Mn,Vu;function Ef(){return Vu||(Vu=1,Mn={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}),Mn}/*
4
+ object-assign
5
+ (c) Sindre Sorhus
6
+ @license MIT
7
+ */var An,Wu;function wt(){if(Wu)return An;Wu=1;var y=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;function n(d){if(d==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(d)}function a(){try{if(!Object.assign)return!1;var d=new String("abc");if(d[5]="de",Object.getOwnPropertyNames(d)[0]==="5")return!1;for(var p={},v=0;v<10;v++)p["_"+String.fromCharCode(v)]=v;var c=Object.getOwnPropertyNames(p).map(function(S){return p[S]});if(c.join("")!=="0123456789")return!1;var h={};return"abcdefghijklmnopqrst".split("").forEach(function(S){h[S]=S}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return An=a()?Object.assign:function(d,p){for(var v,c=n(d),h,S=1;S<arguments.length;S++){v=Object(arguments[S]);for(var E in v)m.call(v,E)&&(c[E]=v[E]);if(y){h=y(v);for(var i=0;i<h.length;i++)g.call(v,h[i])&&(c[h[i]]=v[h[i]])}}return c},An}var ir={exports:{}},Gu;function zl(){return Gu||(Gu=1,function(y,m){(function(g,n){var a="0.7.40",d="",p="?",v="function",c="undefined",h="object",S="string",E="major",i="model",l="name",o="type",u="vendor",r="version",f="architecture",w="console",D="mobile",O="tablet",I="smarttv",k="wearable",K="embedded",x=500,T="Amazon",b="Apple",B="ASUS",A="BlackBerry",L="Browser",F="Chrome",P="Edge",H="Firefox",G="Google",W="Huawei",$="LG",X="Microsoft",j="Motorola",N="Opera",oe="Samsung",pe="Sharp",ie="Sony",ue="Xiaomi",ve="Zebra",we="Facebook",se="Chromium OS",Q="Mac OS",te=" Browser",ee=function(ce,ge){var le={};for(var be in ce)ge[be]&&ge[be].length%2===0?le[be]=ge[be].concat(ce[be]):le[be]=ce[be];return le},Y=function(ce){for(var ge={},le=0;le<ce.length;le++)ge[ce[le].toUpperCase()]=ce[le];return ge},Z=function(ce,ge){return typeof ce===S?J(ge).indexOf(J(ce))!==-1:!1},J=function(ce){return ce.toLowerCase()},re=function(ce){return typeof ce===S?ce.replace(/[^\d\.]/g,d).split(".")[0]:n},he=function(ce,ge){if(typeof ce===S)return ce=ce.replace(/^\s\s*/,d),typeof ge===c?ce:ce.substring(0,x)},me=function(ce,ge){for(var le=0,be,tt,We,Ee,fe,Xe;le<ge.length&&!fe;){var Re=ge[le],bt=ge[le+1];for(be=tt=0;be<Re.length&&!fe&&Re[be];)if(fe=Re[be++].exec(ce),fe)for(We=0;We<bt.length;We++)Xe=fe[++tt],Ee=bt[We],typeof Ee===h&&Ee.length>0?Ee.length===2?typeof Ee[1]==v?this[Ee[0]]=Ee[1].call(this,Xe):this[Ee[0]]=Ee[1]:Ee.length===3?typeof Ee[1]===v&&!(Ee[1].exec&&Ee[1].test)?this[Ee[0]]=Xe?Ee[1].call(this,Xe,Ee[2]):n:this[Ee[0]]=Xe?Xe.replace(Ee[1],Ee[2]):n:Ee.length===4&&(this[Ee[0]]=Xe?Ee[3].call(this,Xe.replace(Ee[1],Ee[2])):n):this[Ee]=Xe||n;le+=2}},Ke=function(ce,ge){for(var le in ge)if(typeof ge[le]===h&&ge[le].length>0){for(var be=0;be<ge[le].length;be++)if(Z(ge[le][be],ce))return le===p?n:le}else if(Z(ge[le],ce))return le===p?n:le;return ge.hasOwnProperty("*")?ge["*"]:ce},Me={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Be={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Fe={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[r,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[r,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,r],[/opios[\/ ]+([\w\.]+)/i],[r,[l,N+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[r,[l,N+" GX"]],[/\bopr\/([\w\.]+)/i],[r,[l,N]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[r,[l,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[r,[l,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[l,r],[/quark(?:pc)?\/([-\w\.]+)/i],[r,[l,"Quark"]],[/\bddg\/([\w\.]+)/i],[r,[l,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[r,[l,"UC"+L]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[r,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[r,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[r,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[r,[l,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[r,[l,"Smart Lenovo "+L]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+L],r],[/\bfocus\/([\w\.]+)/i],[r,[l,H+" Focus"]],[/\bopt\/([\w\.]+)/i],[r,[l,N+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[r,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[r,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[r,[l,N+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[r,[l,"MIUI"+te]],[/fxios\/([\w\.-]+)/i],[r,[l,H]],[/\bqihoobrowser\/?([\w\.]*)/i],[r,[l,"360"]],[/\b(qq)\/([\w\.]+)/i],[[l,/(.+)/,"$1Browser"],r],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1"+te],r],[/samsungbrowser\/([\w\.]+)/i],[r,[l,oe+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[r,[l,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[l,"Sogou Mobile"],r],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[l,r],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[l],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[r,l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,we],r],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[l,r],[/\bgsa\/([\w\.]+) .*safari\//i],[r,[l,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[r,[l,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[r,[l,F+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,F+" WebView"],r],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[r,[l,"Android "+L]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,r],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[r,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[r,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[r,Ke,Me]],[/(webkit|khtml)\/([\w\.]+)/i],[l,r],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],r],[/(wolvic|librewolf)\/([\w\.]+)/i],[l,r],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[r,[l,H+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[l,[r,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[l,[r,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,J]],[/((?:i[346]|x)86)[;\)]/i],[[f,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[f,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[f,"armhf"]],[/windows (ce|mobile); ppc;/i],[[f,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[f,/ower/,d,J]],[/(sun4\w)[;\)]/i],[[f,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[f,J]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[i,[u,oe],[o,O]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[i,[u,oe],[o,D]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[i,[u,b],[o,D]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[i,[u,b],[o,O]],[/(macintosh);/i],[i,[u,b]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[i,[u,pe],[o,D]],[/(?:honor)([-\w ]+)[;\)]/i],[i,[u,"Honor"],[o,D]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[i,[u,W],[o,O]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[i,[u,W],[o,D]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[i,/_/g," "],[u,ue],[o,D]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[i,/_/g," "],[u,ue],[o,O]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[i,[u,"OPPO"],[o,D]],[/\b(opd2\d{3}a?) bui/i],[i,[u,"OPPO"],[o,O]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[i,[u,"Vivo"],[o,D]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[i,[u,"Realme"],[o,D]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[i,[u,j],[o,D]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[i,[u,j],[o,O]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[i,[u,$],[o,O]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[i,[u,$],[o,D]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[i,[u,"Lenovo"],[o,O]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[i,/_/g," "],[u,"Nokia"],[o,D]],[/(pixel c)\b/i],[i,[u,G],[o,O]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[i,[u,G],[o,D]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[i,[u,ie],[o,D]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[i,"Xperia Tablet"],[u,ie],[o,O]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[i,[u,"OnePlus"],[o,D]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[i,[u,T],[o,O]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[i,/(.+)/g,"Fire Phone $1"],[u,T],[o,D]],[/(playbook);[-\w\),; ]+(rim)/i],[i,u,[o,O]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[i,[u,A],[o,D]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[i,[u,B],[o,O]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[i,[u,B],[o,D]],[/(nexus 9)/i],[i,[u,"HTC"],[o,O]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[u,[i,/_/g," "],[o,D]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[i,[u,"TCL"],[o,O]],[/(itel) ((\w+))/i],[[u,J],i,[o,Ke,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[i,[u,"Acer"],[o,O]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[i,[u,"Meizu"],[o,D]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[i,[u,"Ulefone"],[o,D]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[i,[u,"Energizer"],[o,D]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[i,[u,"Cat"],[o,D]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[i,[u,"Smartfren"],[o,D]],[/droid.+; (a(?:015|06[35]|142p?))/i],[i,[u,"Nothing"],[o,D]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[u,i,[o,D]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[u,i,[o,O]],[/(surface duo)/i],[i,[u,X],[o,O]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[i,[u,"Fairphone"],[o,D]],[/(u304aa)/i],[i,[u,"AT&T"],[o,D]],[/\bsie-(\w*)/i],[i,[u,"Siemens"],[o,D]],[/\b(rct\w+) b/i],[i,[u,"RCA"],[o,O]],[/\b(venue[\d ]{2,7}) b/i],[i,[u,"Dell"],[o,O]],[/\b(q(?:mv|ta)\w+) b/i],[i,[u,"Verizon"],[o,O]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[i,[u,"Barnes & Noble"],[o,O]],[/\b(tm\d{3}\w+) b/i],[i,[u,"NuVision"],[o,O]],[/\b(k88) b/i],[i,[u,"ZTE"],[o,O]],[/\b(nx\d{3}j) b/i],[i,[u,"ZTE"],[o,D]],[/\b(gen\d{3}) b.+49h/i],[i,[u,"Swiss"],[o,D]],[/\b(zur\d{3}) b/i],[i,[u,"Swiss"],[o,O]],[/\b((zeki)?tb.*\b) b/i],[i,[u,"Zeki"],[o,O]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[u,"Dragon Touch"],i,[o,O]],[/\b(ns-?\w{0,9}) b/i],[i,[u,"Insignia"],[o,O]],[/\b((nxa|next)-?\w{0,9}) b/i],[i,[u,"NextBook"],[o,O]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[u,"Voice"],i,[o,D]],[/\b(lvtel\-)?(v1[12]) b/i],[[u,"LvTel"],i,[o,D]],[/\b(ph-1) /i],[i,[u,"Essential"],[o,D]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[i,[u,"Envizen"],[o,O]],[/\b(trio[-\w\. ]+) b/i],[i,[u,"MachSpeed"],[o,O]],[/\btu_(1491) b/i],[i,[u,"Rotor"],[o,O]],[/(shield[\w ]+) b/i],[i,[u,"Nvidia"],[o,O]],[/(sprint) (\w+)/i],[u,i,[o,D]],[/(kin\.[onetw]{3})/i],[[i,/\./g," "],[u,X],[o,D]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[i,[u,ve],[o,O]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[i,[u,ve],[o,D]],[/smart-tv.+(samsung)/i],[u,[o,I]],[/hbbtv.+maple;(\d+)/i],[[i,/^/,"SmartTV"],[u,oe],[o,I]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[u,$],[o,I]],[/(apple) ?tv/i],[u,[i,b+" TV"],[o,I]],[/crkey/i],[[i,F+"cast"],[u,G],[o,I]],[/droid.+aft(\w+)( bui|\))/i],[i,[u,T],[o,I]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[i,[u,pe],[o,I]],[/(bravia[\w ]+)( bui|\))/i],[i,[u,ie],[o,I]],[/(mitv-\w{5}) bui/i],[i,[u,ue],[o,I]],[/Hbbtv.*(technisat) (.*);/i],[u,i,[o,I]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[u,he],[i,he],[o,I]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[o,I]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[u,i,[o,w]],[/droid.+; (shield) bui/i],[i,[u,"Nvidia"],[o,w]],[/(playstation [345portablevi]+)/i],[i,[u,ie],[o,w]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[i,[u,X],[o,w]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[i,[u,oe],[o,k]],[/((pebble))app/i],[u,i,[o,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[i,[u,b],[o,k]],[/droid.+; (glass) \d/i],[i,[u,G],[o,k]],[/droid.+; (wt63?0{2,3})\)/i],[i,[u,ve],[o,k]],[/droid.+; (glass) \d/i],[i,[u,G],[o,k]],[/(pico) (4|neo3(?: link|pro)?)/i],[u,i,[o,k]],[/; (quest( \d| pro)?)/i],[i,[u,we],[o,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[u,[o,K]],[/(aeobc)\b/i],[i,[u,T],[o,K]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[i,[o,D]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[i,[o,O]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[o,O]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[o,D]],[/(android[-\w\. ]{0,9});.+buil/i],[i,[u,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[r,[l,P+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[l,r],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[r,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[l,r],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[r,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,r],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[l,[r,Ke,Be]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[r,Ke,Be],[l,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[r,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,Q],[r,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[r,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,r],[/\(bb(10);/i],[r,[l,A]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[r,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[r,[l,H+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[r,[l,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[r,[l,"watchOS"]],[/crkey\/([\d\.]+)/i],[r,[l,F+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,se],r],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,r],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],r],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[l,r]]},Ae=function(ce,ge){if(typeof ce===h&&(ge=ce,ce=n),!(this instanceof Ae))return new Ae(ce,ge).getResult();var le=typeof g!==c&&g.navigator?g.navigator:n,be=ce||(le&&le.userAgent?le.userAgent:d),tt=le&&le.userAgentData?le.userAgentData:n,We=ge?ee(Fe,ge):Fe,Ee=le&&le.userAgent==be;return this.getBrowser=function(){var fe={};return fe[l]=n,fe[r]=n,me.call(fe,be,We.browser),fe[E]=re(fe[r]),Ee&&le&&le.brave&&typeof le.brave.isBrave==v&&(fe[l]="Brave"),fe},this.getCPU=function(){var fe={};return fe[f]=n,me.call(fe,be,We.cpu),fe},this.getDevice=function(){var fe={};return fe[u]=n,fe[i]=n,fe[o]=n,me.call(fe,be,We.device),Ee&&!fe[o]&&tt&&tt.mobile&&(fe[o]=D),Ee&&fe[i]=="Macintosh"&&le&&typeof le.standalone!==c&&le.maxTouchPoints&&le.maxTouchPoints>2&&(fe[i]="iPad",fe[o]=O),fe},this.getEngine=function(){var fe={};return fe[l]=n,fe[r]=n,me.call(fe,be,We.engine),fe},this.getOS=function(){var fe={};return fe[l]=n,fe[r]=n,me.call(fe,be,We.os),Ee&&!fe[l]&&tt&&tt.platform&&tt.platform!="Unknown"&&(fe[l]=tt.platform.replace(/chrome os/i,se).replace(/macos/i,Q)),fe},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return be},this.setUA=function(fe){return be=typeof fe===S&&fe.length>x?he(fe,x):fe,this},this.setUA(be),this};Ae.VERSION=a,Ae.BROWSER=Y([l,r,E]),Ae.CPU=Y([f]),Ae.DEVICE=Y([i,u,o,w,D,I,O,k,K]),Ae.ENGINE=Ae.OS=Y([l,r]),y.exports&&(m=y.exports=Ae),m.UAParser=Ae;var qe=typeof g!==c&&(g.jQuery||g.Zepto);if(qe&&!qe.ua){var et=new Ae;qe.ua=et.getResult(),qe.ua.get=function(){return et.getUA()},qe.ua.set=function(ce){et.setUA(ce);var ge=et.getResult();for(var le in ge)qe.ua[le]=ge[le]}}})(typeof window=="object"?window:Ya.commonjsGlobal)}(ir,ir.exports)),ir.exports}var Nn,ju;function Hl(){if(ju)return Nn;ju=1;var y=zl(),m="Unknown",g={"Mac OS":"Mac OS X"};function n(h){return g[h]||h}function a(h){if(!h)return{major:"",minor:""};var S=h.split(".");return{major:S[0],minor:S[1]}}var d=new y,p=d.getResult(),v=a(p.browser.version),c={browserArchitecture:p.cpu.architecture||m,browserFullVersion:p.browser.version||m,browserMinorVersion:v.minor||m,browserName:p.browser.name||m,browserVersion:p.browser.major||m,deviceName:p.device.model||m,engineName:p.engine.name||m,engineVersion:p.engine.version||m,platformArchitecture:p.cpu.architecture||m,platformName:n(p.os.name)||m,platformVersion:p.os.version||m,platformFullVersion:p.os.version||m};return Nn=c,Nn}var Ln,Ju;function Vl(){if(Ju)return Ln;Ju=1;var y=De(),m=/\./,g=/\|\|/,n=/\s+\-\s+/,a=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,d=/^(\d*)(.*)/;function p(x,T){var b=x.split(g);return b.length>1?b.some(function(B){return K.contains(B,T)}):(x=b[0].trim(),v(x,T))}function v(x,T){var b=x.split(n);if(b.length>0&&b.length<=2||(process.env.NODE_ENV!=="production"?y(!1,'the "-" operator expects exactly 2 operands'):y(!1)),b.length===1)return c(b[0],T);var B=b[0],A=b[1];return f(B)&&f(A)||(process.env.NODE_ENV!=="production"?y(!1,'operands to the "-" operator must be simple (no modifiers)'):y(!1)),c(">="+B,T)&&c("<="+A,T)}function c(x,T){if(x=x.trim(),x==="")return!0;var b=T.split(m),B=u(x),A=B.modifier,L=B.rangeComponents;switch(A){case"<":return h(b,L);case"<=":return S(b,L);case">=":return i(b,L);case">":return l(b,L);case"~":case"~>":return o(b,L);default:return E(b,L)}}function h(x,T){return k(x,T)===-1}function S(x,T){var b=k(x,T);return b===-1||b===0}function E(x,T){return k(x,T)===0}function i(x,T){var b=k(x,T);return b===1||b===0}function l(x,T){return k(x,T)===1}function o(x,T){var b=T.slice(),B=T.slice();B.length>1&&B.pop();var A=B.length-1,L=parseInt(B[A],10);return r(L)&&(B[A]=L+1+""),i(x,b)&&h(x,B)}function u(x){var T=x.split(m),b=T[0].match(a);return b||(process.env.NODE_ENV!=="production"?y(!1,"expected regex to match but it did not"):y(!1)),{modifier:b[1],rangeComponents:[b[2]].concat(T.slice(1))}}function r(x){return!isNaN(x)&&isFinite(x)}function f(x){return!u(x).modifier}function w(x,T){for(var b=x.length;b<T;b++)x[b]="0"}function D(x,T){x=x.slice(),T=T.slice(),w(x,T.length);for(var b=0;b<T.length;b++){var B=T[b].match(/^[x*]$/i);if(B&&(T[b]=x[b]="0",B[0]==="*"&&b===T.length-1))for(var A=b;A<x.length;A++)x[A]="0"}return w(T,x.length),[x,T]}function O(x,T){var b=x.match(d)[1],B=T.match(d)[1],A=parseInt(b,10),L=parseInt(B,10);return r(A)&&r(L)&&A!==L?I(A,L):I(x,T)}function I(x,T){return typeof x!=typeof T&&(process.env.NODE_ENV!=="production"?y(!1,'"a" and "b" must be of the same type'):y(!1)),x>T?1:x<T?-1:0}function k(x,T){for(var b=D(x,T),B=b[0],A=b[1],L=0;L<A.length;L++){var F=O(B[L],A[L]);if(F)return F}return 0}var K={contains:function(T,b){return p(T.trim(),b.trim())}};return Ln=K,Ln}var Fn,Xu;function Wl(){if(Xu)return Fn;Xu=1;var y=Object.prototype.hasOwnProperty;function m(g,n,a){if(!g)return null;var d={};for(var p in g)y.call(g,p)&&(d[p]=n.call(a,g[p],p,g));return d}return Fn=m,Fn}var qn,Yu;function Gl(){if(Yu)return qn;Yu=1;function y(m){var g={};return function(n){return g.hasOwnProperty(n)||(g[n]=m.call(this,n)),g[n]}}return qn=y,qn}var Pn,$u;function Je(){if($u)return Pn;$u=1;var y=Hl(),m=Vl(),g=Wl(),n=Gl();function a(v,c,h,S){if(v===h)return!0;if(!h.startsWith(v))return!1;var E=h.slice(v.length);return c?(E=S?S(E):E,m.contains(E,c)):!1}function d(v){return y.platformName==="Windows"?v.replace(/^\s*NT/,""):v}var p={isBrowser:function(c){return a(y.browserName,y.browserFullVersion,c)},isBrowserArchitecture:function(c){return a(y.browserArchitecture,null,c)},isDevice:function(c){return a(y.deviceName,null,c)},isEngine:function(c){return a(y.engineName,y.engineVersion,c)},isPlatform:function(c){return a(y.platformName,y.platformFullVersion,c,d)},isPlatformArchitecture:function(c){return a(y.platformArchitecture,null,c)}};return Pn=g(p,n),Pn}var Un,Zu;function cr(){if(Zu)return Un;Zu=1;function y(m){return!m||!m.ownerDocument?document:m.ownerDocument}return Un=y,Un}var zn,Qu;function Ct(){if(Qu)return zn;Qu=1;function y(m){return!m||!m.ownerDocument?!1:m.nodeType===Node.ELEMENT_NODE}return zn=y,zn}var Hn,es;function Sf(){if(es)return Hn;es=1;var y=Ct();function m(g){if(y(g)){var n=g,a=n.getAttribute("data-offset-key");if(a)return a;for(var d=0;d<n.childNodes.length;d++){var p=m(n.childNodes[d]);if(p)return p}}return null}return Hn=m,Hn}var Vn,ts;function fr(){if(ts)return Vn;ts=1;var y=cr(),m=Sf();function g(n){for(var a=n;a&&a!==y(n).documentElement;){var d=m(a);if(d!=null)return d;a=a.parentNode}return null}return Vn=g,Vn}var Wn,rs;function wf(){if(rs)return Wn;rs=1;function y(m){return!m||!m.ownerDocument||!m.ownerDocument.defaultView?window:m.ownerDocument.defaultView}return Wn=y,Wn}var Gn,ns;function jl(){if(ns)return Gn;ns=1;function y(E,i,l){return i in E?Object.defineProperty(E,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):E[i]=l,E}var m=Je(),g=fr(),n=wf(),a=Ce(),d=De(),p=je(),v=a.Map,c={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},h=m.isBrowser("IE <= 11"),S=function(){function E(l){var o=this;y(this,"observer",void 0),y(this,"container",void 0),y(this,"mutations",void 0),y(this,"onCharData",void 0),this.container=l,this.mutations=v();var u=n(l);u.MutationObserver&&!h?this.observer=new u.MutationObserver(function(r){return o.registerMutations(r)}):this.onCharData=function(r){r.target instanceof Node||(process.env.NODE_ENV!=="production"?d(!1,"Expected target to be an instance of Node"):d(!1)),o.registerMutation({type:"characterData",target:r.target})}}var i=E.prototype;return i.start=function(){this.observer?this.observer.observe(this.container,c):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},i.stopAndFlushMutations=function(){var o=this.observer;o?(this.registerMutations(o.takeRecords()),o.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var u=this.mutations;return this.mutations=v(),u},i.registerMutations=function(o){for(var u=0;u<o.length;u++)this.registerMutation(o[u])},i.getMutationTextContent=function(o){var u=o.type,r=o.target,f=o.removedNodes;if(u==="characterData"){if(r.textContent!=="")return h?r.textContent.replace(`
8
+ `,""):r.textContent}else if(u==="childList"){if(f&&f.length)return"";if(r.textContent!=="")return r.textContent}return null},i.registerMutation=function(o){var u=this.getMutationTextContent(o);if(u!=null){var r=p(g(o.target));this.mutations=this.mutations.set(r,u)}},E}();return Gn=S,Gn}var jn,is;function pt(){if(is)return jn;is=1;var y="-",m={encode:function(n,a,d){return n+y+a+y+d},decode:function(n){var a=n.split(y).reverse(),d=a[0],p=a[1],v=a.slice(2);return{blockKey:v.reverse().join(y),decoratorKey:parseInt(p,10),leafKey:parseInt(d,10)}}};return jn=m,jn}var Jn,as;function lr(){return as||(as=1,Jn={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}),Jn}var Xn,os;function Cf(){return os||(os=1,Xn={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}),Xn}var Yn,us;function Wt(){if(us)return Yn;us=1;function y(m){return!m||!m.ownerDocument?!1:m.ownerDocument.defaultView?m instanceof m.ownerDocument.defaultView.HTMLElement:m instanceof HTMLElement}return Yn=y,Yn}var $n,ss;function Df(){if(ss)return $n;ss=1;var y=De(),m=Wt();function g(n){var a=n.editorContainer;a||(process.env.NODE_ENV!=="production"?y(!1,"Missing editorNode"):y(!1)),m(a.firstChild)||(process.env.NODE_ENV!=="production"?y(!1,"editorNode.firstChild is not an HTMLElement"):y(!1));var d=a.firstChild;return d}return $n=g,$n}var Zn,cs;function bf(){if(cs)return Zn;cs=1;var y=pt(),m=je();function g(n,a,d,p,v){var c=m(n.getSelection());if(!a||!p)return process.env.NODE_ENV!=="production"&&console.warn("Invalid selection state.",arguments,n.toJS()),c;var h=y.decode(a),S=h.blockKey,E=n.getBlockTree(S),i=E&&E.getIn([h.decoratorKey,"leaves",h.leafKey]),l=y.decode(p),o=l.blockKey,u=n.getBlockTree(o),r=u&&u.getIn([l.decoratorKey,"leaves",l.leafKey]);if(!i||!r)return process.env.NODE_ENV!=="production"&&console.warn("Invalid selection state.",arguments,n.toJS()),c;var f=i.get("start"),w=r.get("start"),D=i?f+d:null,O=r?w+v:null,I=c.getAnchorKey()===S&&c.getAnchorOffset()===D&&c.getFocusKey()===o&&c.getFocusOffset()===O;if(I)return c;var k=!1;if(S===o){var K=i.get("end"),x=r.get("end");w===f&&x===K?k=v<d:k=w<f}else{var T=n.getCurrentContent().getBlockMap().keySeq().skipUntil(function(b){return b===S||b===o}).first();k=T===o}return c.merge({anchorKey:S,anchorOffset:D,focusKey:o,focusOffset:O,isBackward:k})}return Zn=g,Zn}var Qn,fs;function Of(){if(fs)return Qn;fs=1;var y=fr(),m=Sf(),g=bf(),n=De(),a=Ct(),d=je();function p(E,i,l,o,u,r){var f=l.nodeType===Node.TEXT_NODE,w=u.nodeType===Node.TEXT_NODE;if(f&&w)return{selectionState:g(E,d(y(l)),o,d(y(u)),r),needsRecovery:!1};var D=null,O=null,I=!0;return f?(D={key:d(y(l)),offset:o},O=h(i,u,r)):w?(O={key:d(y(u)),offset:r},D=h(i,l,o)):(D=h(i,l,o),O=h(i,u,r),l===u&&o===r&&(I=!!l.firstChild&&l.firstChild.nodeName!=="BR")),{selectionState:g(E,D.key,D.offset,O.key,O.offset),needsRecovery:I}}function v(E){for(;E.firstChild&&(a(E.firstChild)&&E.firstChild.getAttribute("data-blocks")==="true"||m(E.firstChild));)E=E.firstChild;return E}function c(E){for(;E.lastChild&&(a(E.lastChild)&&E.lastChild.getAttribute("data-blocks")==="true"||m(E.lastChild));)E=E.lastChild;return E}function h(E,i,l){var o=i,u=y(o);if(u!=null||E&&(E===o||E.firstChild===o)||(process.env.NODE_ENV!=="production"?n(!1,"Unknown node in selection range."):n(!1)),E===o){o=o.firstChild,a(o)||(process.env.NODE_ENV!=="production"?n(!1,"Invalid DraftEditorContents node."):n(!1));var r=o;o=r,o.getAttribute("data-contents")!=="true"&&(process.env.NODE_ENV!=="production"?n(!1,"Invalid DraftEditorContents structure."):n(!1)),l>0&&(l=o.childNodes.length)}if(l===0){var f=null;if(u!=null)f=u;else{var w=v(o);f=d(m(w))}return{key:f,offset:0}}var D=o.childNodes[l-1],O=null,I=null;if(!m(D))O=d(u),I=S(D);else{var k=c(D);O=d(m(k)),I=S(k)}return{key:O,offset:I}}function S(E){var i=E.textContent;return i===`
9
+ `?0:i.length}return Qn=p,Qn}var ei,ls;function Tf(){if(ls)return ei;ls=1;var y=Of();function m(g,n){var a=n.ownerDocument.defaultView.getSelection(),d=a.anchorNode,p=a.anchorOffset,v=a.focusNode,c=a.focusOffset,h=a.rangeCount;return h===0||d==null||v==null?{selectionState:g.getSelection().set("hasFocus",!1),needsRecovery:!1}:y(g,n,d,p,v,c)}return ei=m,ei}var ti,vs;function Rf(){if(vs)return ti;vs=1;var y=Cf(),m=Te(),g=Df(),n=Tf();function a(d){if(d._blockSelectEvents||d._latestEditorState!==d.props.editorState){if(d._blockSelectEvents){var p=d.props.editorState,v=p.getSelection();y.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:new Error().stack}),selectionState:JSON.stringify(v.toJS())})}return}var c=d.props.editorState,h=n(c,g(d)),S=h.selectionState;S!==c.getSelection()&&(h.needsRecovery?c=m.forceSelection(c,S):c=m.acceptSelection(c,S),d.update(c))}return ti=a,ti}var ri,ds;function kf(){if(ds)return ri;ds=1;function y(m){return m!=null&&m!=""}return ri={notEmptyKey:y},ri}var ni,ps;function eo(){if(ps)return ni;ps=1;var y=kf(),m=y.notEmptyKey;function g(a,d){var p;if(d.isCollapsed()){var v=d.getAnchorKey(),c=d.getAnchorOffset();return c>0?(p=a.getBlockForKey(v).getEntityAt(c-1),p!==a.getBlockForKey(v).getEntityAt(c)?null:n(a.getEntityMap(),p)):null}var h=d.getStartKey(),S=d.getStartOffset(),E=a.getBlockForKey(h);return p=S===E.getLength()?null:E.getEntityAt(S),n(a.getEntityMap(),p)}function n(a,d){if(m(d)){var p=a.__get(d);return p.getMutability()==="MUTABLE"?d:null}return null}return ni=g,ni}var ii,hs;function Jl(){if(hs)return ii;hs=1;var y=jl(),m=Ge(),g=pt(),n=Te(),a=lr(),d=Je(),p=Rf(),v=Df(),c=Tf(),h=eo(),S=je(),E=d.isBrowser("IE"),i=20,l=!1,o=!1,u=null;function r(w){u||(u=new y(v(w)),u.start())}var f={onCompositionStart:function(D){o=!0,r(D)},onCompositionEnd:function(D){l=!1,o=!1,setTimeout(function(){l||f.resolveComposition(D)},i)},onSelect:p,onKeyDown:function(D,O){if(!o){f.resolveComposition(D),D._onKeyDown(O);return}(O.which===a.RIGHT||O.which===a.LEFT)&&O.preventDefault()},onKeyPress:function(D,O){O.which===a.RETURN&&O.preventDefault()},resolveComposition:function(D){if(!o){var O=S(u).stopAndFlushMutations();u=null,l=!0;var I=n.set(D._latestEditorState,{inCompositionMode:!1});if(D.exitCurrentMode(),!O.size){D.update(I);return}var k=I.getCurrentContent();O.forEach(function(b,B){var A=g.decode(B),L=A.blockKey,F=A.decoratorKey,P=A.leafKey,H=I.getBlockTree(L).getIn([F,"leaves",P]),G=H.start,W=H.end,$=I.getSelection().merge({anchorKey:L,focusKey:L,anchorOffset:G,focusOffset:W,isBackward:!1}),X=h(k,$),j=k.getBlockForKey(L).getInlineStyleAt(G);k=m.replaceText(k,$,b,j,X),I=n.set(I,{currentContent:k})});var K=c(I,v(D)),x=K.selectionState;D.restoreEditorDOM();var T=E?n.forceSelection(I,x):n.acceptSelection(I,x);D.update(n.push(T,k,"insert-characters"))}}};return ii=f,ii}var ai,gs;function Xl(){if(gs)return ai;gs=1;var y=wt();function m(){return m=y||function(c){for(var h=1;h<arguments.length;h++){var S=arguments[h];for(var E in S)Object.prototype.hasOwnProperty.call(S,E)&&(c[E]=S[E])}return c},m.apply(this,arguments)}function g(c,h){c.prototype=Object.create(h.prototype),c.prototype.constructor=c,c.__proto__=h}var n=pt(),a=ot,d=Za(),p=sr(),v=function(c){g(h,c);function h(){return c.apply(this,arguments)||this}var S=h.prototype;return S.render=function(){var i=this.props,l=i.block,o=i.children,u=i.contentState,r=i.decorator,f=i.decoratorKey,w=i.direction,D=i.leafSet,O=i.text,I=l.getKey(),k=D.get("leaves"),K=r.getComponentForKey(f),x=r.getPropsForKey(f),T=n.encode(I,parseInt(f,10),0),b=O.slice(k.first().get("start"),k.last().get("end")),B=p.getHTMLDirIfDifferent(d.getDirection(b),w);return a.createElement(K,m({},x,{contentState:u,decoratedText:b,dir:B,key:T,entityKey:l.getEntityAt(D.get("start")),offsetKey:T}),o)},h}(a.Component);return ai=v,ai}var oi,ys;function Yl(){if(ys)return oi;ys=1;function y(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function m(i,l){i.prototype=Object.create(l.prototype),i.prototype.constructor=i,i.__proto__=l}function g(i,l,o){return l in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}var n=ot,a=Je(),d=De(),p=Ct(),v=a.isBrowser("IE <= 11");function c(i){return v?i.textContent===`
10
+ `:i.tagName==="BR"}var h=function(l){return v?n.createElement("span",{key:"A","data-text":"true",ref:l},`
11
+ `):n.createElement("br",{key:"A","data-text":"true",ref:l})},S=function(l){return v?n.createElement("span",{key:"B","data-text":"true",ref:l},`
12
+ `):n.createElement("br",{key:"B","data-text":"true",ref:l})},E=function(i){m(l,i);function l(u){var r;return r=i.call(this,u)||this,g(y(r),"_forceFlag",void 0),g(y(r),"_node",void 0),r._forceFlag=!1,r}var o=l.prototype;return o.shouldComponentUpdate=function(r){var f=this._node,w=r.children==="";p(f)||(process.env.NODE_ENV!=="production"?d(!1,"node is not an Element"):d(!1));var D=f;return w?!c(D):D.textContent!==r.children},o.componentDidMount=function(){this._forceFlag=!this._forceFlag},o.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},o.render=function(){var r=this;return this.props.children===""?this._forceFlag?h(function(f){return r._node=f}):S(function(f){return r._node=f}):n.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(w){return r._node=w}},this.props.children)},l}(n.Component);return oi=E,oi}var ui,ms;function Bf(){if(ms)return ui;ms=1;var y=Ct();function m(g){return!g||!g.ownerDocument?!1:y(g)&&g.nodeName==="BR"}return ui=m,ui}var si,_s;function xf(){return _s||(_s=1,si={initODS:function(){},handleExtensionCausedError:function(){}}),si}var ci,Es;function $l(){if(Es)return ci;Es=1;function y(m){var g=m?m.ownerDocument||m:document,n=g.defaultView||window;return!!(m&&(typeof n.Node=="function"?m instanceof n.Node:typeof m=="object"&&typeof m.nodeType=="number"&&typeof m.nodeName=="string"))}return ci=y,ci}var fi,Ss;function Zl(){if(Ss)return fi;Ss=1;var y=$l();function m(g){return y(g)&&g.nodeType==3}return fi=m,fi}var li,ws;function to(){if(ws)return li;ws=1;var y=Zl();function m(g,n){return!g||!n?!1:g===n?!0:y(g)?!1:y(n)?m(g,n.parentNode):"contains"in g?g.contains(n):g.compareDocumentPosition?!!(g.compareDocumentPosition(n)&16):!1}return li=m,li}var vi,Cs;function If(){if(Cs)return vi;Cs=1;function y(m){if(m=m||(typeof document<"u"?document:void 0),typeof m>"u")return null;try{return m.activeElement||m.body}catch{return m.body}}return vi=y,vi}var di,Ds;function Ql(){if(Ds)return di;Ds=1;var y=xf(),m=Cf(),g=Je(),n=to(),a=If(),d=cr(),p=De(),v=Ct(),c=g.isBrowser("IE");function h(r,f){if(!r)return"[empty]";var w=S(r,f);if(w.nodeType===Node.TEXT_NODE)return w.textContent;v(w)||(process.env.NODE_ENV!=="production"?p(!1,"Node must be an Element if it is not a text node."):p(!1));var D=w;return D.outerHTML}function S(r,f){var w=f!==void 0?f(r):[];if(r.nodeType===Node.TEXT_NODE){var D=r.textContent.length;return d(r).createTextNode("[text "+D+(w.length?" | "+w.join(", "):"")+"]")}var O=r.cloneNode();O.nodeType===1&&w.length&&O.setAttribute("data-labels",w.join(", "));for(var I=r.childNodes,k=0;k<I.length;k++)O.appendChild(S(I[k],f));return O}function E(r,f){for(var w=r,D=w;w;){if(v(w)&&D.hasAttribute("contenteditable"))return h(w,f);w=w.parentNode,D=w}return"Could not find contentEditable parent of node"}function i(r){return r.nodeValue===null?r.childNodes.length:r.nodeValue.length}function l(r,f,w,D,O){var I=d(f);if(n(I.documentElement,f)){var k=I.defaultView.getSelection(),K=r.getAnchorKey(),x=r.getAnchorOffset(),T=r.getFocusKey(),b=r.getFocusOffset(),B=r.getIsBackward();if(!k.extend&&B){var A=K,L=x;K=T,x=b,T=A,b=L,B=!1}var F=K===w&&D<=x&&O>=x,P=T===w&&D<=b&&O>=b;if(F&&P){k.removeAllRanges(),u(k,f,x-D,r),o(k,f,b-D,r);return}if(!B)F&&(k.removeAllRanges(),u(k,f,x-D,r)),P&&o(k,f,b-D,r);else if(P&&(k.removeAllRanges(),u(k,f,b-D,r)),F){var H=k.focusNode,G=k.focusOffset;k.removeAllRanges(),u(k,f,x-D,r),o(k,H,G,r)}}}function o(r,f,w,D){var O=a(),I=r.extend;if(I&&f!=null&&n(O,f)){w>i(f)&&m.logSelectionStateFailure({anonymizedDom:E(f),extraParams:JSON.stringify({offset:w}),selectionState:JSON.stringify(D.toJS())});var k=f===r.focusNode;try{r.rangeCount>0&&r.extend&&r.extend(f,w)}catch(x){throw m.logSelectionStateFailure({anonymizedDom:E(f,function(T){var b=[];return T===O&&b.push("active element"),T===r.anchorNode&&b.push("selection anchor node"),T===r.focusNode&&b.push("selection focus node"),b}),extraParams:JSON.stringify({activeElementName:O?O.nodeName:null,nodeIsFocus:f===r.focusNode,nodeWasFocus:k,selectionRangeCount:r.rangeCount,selectionAnchorNodeName:r.anchorNode?r.anchorNode.nodeName:null,selectionAnchorOffset:r.anchorOffset,selectionFocusNodeName:r.focusNode?r.focusNode.nodeName:null,selectionFocusOffset:r.focusOffset,message:x?""+x:null,offset:w},null,2),selectionState:JSON.stringify(D.toJS(),null,2)}),x}}else if(f&&r.rangeCount>0){var K=r.getRangeAt(0);K.setEnd(f,w),r.addRange(K.cloneRange())}}function u(r,f,w,D){var O=d(f).createRange();if(w>i(f)&&(m.logSelectionStateFailure({anonymizedDom:E(f),extraParams:JSON.stringify({offset:w}),selectionState:JSON.stringify(D.toJS())}),y.handleExtensionCausedError()),O.setStart(f,w),c)try{r.addRange(O)}catch(I){process.env.NODE_ENV!=="production"&&console.warn("Call to selection.addRange() threw exception: ",I)}else r.addRange(O)}return di={setDraftEditorSelection:l,addFocusToSelection:o},di}var pi,bs;function Kf(){if(bs)return pi;bs=1;var y=wt();function m(S){if(S===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S}function g(S,E){S.prototype=Object.create(E.prototype),S.prototype.constructor=S,S.__proto__=E}function n(S,E,i){return E in S?Object.defineProperty(S,E,{value:i,enumerable:!0,configurable:!0,writable:!0}):S[E]=i,S}var a=Yl(),d=ot,p=De(),v=Bf(),c=Ql().setDraftEditorSelection,h=function(S){g(E,S);function E(){for(var l,o=arguments.length,u=new Array(o),r=0;r<o;r++)u[r]=arguments[r];return l=S.call.apply(S,[this].concat(u))||this,n(m(l),"leaf",void 0),l}var i=E.prototype;return i._setSelection=function(){var o=this.props.selection;if(!(o==null||!o.getHasFocus())){var u=this.props,r=u.block,f=u.start,w=u.text,D=r.getKey(),O=f+w.length;if(o.hasEdgeWithin(D,f,O)){var I=this.leaf;I||(process.env.NODE_ENV!=="production"?p(!1,"Missing node"):p(!1));var k=I.firstChild;k||(process.env.NODE_ENV!=="production"?p(!1,"Missing child"):p(!1));var K;k.nodeType===Node.TEXT_NODE?K=k:v(k)?K=I:(K=k.firstChild,K||(process.env.NODE_ENV!=="production"?p(!1,"Missing targetNode"):p(!1))),c(o,K,D,f,O)}}},i.shouldComponentUpdate=function(o){var u=this.leaf;u||(process.env.NODE_ENV!=="production"?p(!1,"Missing leafNode"):p(!1));var r=u.textContent!==o.text||o.styleSet!==this.props.styleSet||o.forceSelection;return r},i.componentDidUpdate=function(){this._setSelection()},i.componentDidMount=function(){this._setSelection()},i.render=function(){var o=this,u=this.props.block,r=this.props.text;r.endsWith(`
13
+ `)&&this.props.isLast&&(r+=`
14
+ `);var f=this.props,w=f.customStyleMap,D=f.customStyleFn,O=f.offsetKey,I=f.styleSet,k=I.reduce(function(x,T){var b={},B=w[T];return B!==void 0&&x.textDecoration!==B.textDecoration&&(b.textDecoration=[x.textDecoration,B.textDecoration].join(" ").trim()),y(x,B,b)},{});if(D){var K=D(I,u);k=y(k,K)}return d.createElement("span",{"data-offset-key":O,ref:function(T){return o.leaf=T},style:k},d.createElement(a,null,r))},E}(d.Component);return pi=h,pi}var hi,Os;function ev(){if(Os)return hi;Os=1;function y(c,h){c.prototype=Object.create(h.prototype),c.prototype.constructor=c,c.__proto__=h}var m=Xl(),g=Kf(),n=pt(),a=Ce(),d=ot,p=St();a.List;var v=function(c){y(h,c);function h(){return c.apply(this,arguments)||this}var S=h.prototype;return S.render=function(){var i=this.props,l=i.block,o=i.contentState,u=i.customStyleFn,r=i.customStyleMap,f=i.decorator,w=i.direction,D=i.forceSelection,O=i.hasSelection,I=i.selection,k=i.tree,K=l.getKey(),x=l.getText(),T=k.size-1,b=this.props.children||k.map(function(B,A){var L=B.get("decoratorKey"),F=B.get("leaves"),P=F.size-1,H=F.map(function(G,W){var $=n.encode(K,A,W),X=G.get("start"),j=G.get("end");return d.createElement(g,{key:$,offsetKey:$,block:l,start:X,selection:O?I:null,forceSelection:D,text:x.slice(X,j),styleSet:l.getInlineStyleAt(X),customStyleMap:r,customStyleFn:u,isLast:L===T&&W===P})}).toArray();return!L||!f?H:d.createElement(m,{block:l,children:H,contentState:o,decorator:f,decoratorKey:L,direction:w,leafSet:B,text:x,key:A})}).toArray();return d.createElement("div",{"data-offset-key":n.encode(K,0,0),className:p({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":w==="LTR","public/DraftStyleDefault/rtl":w==="RTL"})},b)},h}(d.Component);return hi=v,hi}var gi,Ts;function ro(){if(Ts)return gi;Ts=1;function y(g,n){return!!n&&(g===n.documentElement||g===n.body)}var m={getTop:function(n){var a=n.ownerDocument;return y(n,a)?a.body.scrollTop||a.documentElement.scrollTop:n.scrollTop},setTop:function(n,a){var d=n.ownerDocument;y(n,d)?d.body.scrollTop=d.documentElement.scrollTop=a:n.scrollTop=a},getLeft:function(n){var a=n.ownerDocument;return y(n,a)?a.body.scrollLeft||a.documentElement.scrollLeft:n.scrollLeft},setLeft:function(n,a){var d=n.ownerDocument;y(n,d)?d.body.scrollLeft=d.documentElement.scrollLeft=a:n.scrollLeft=a}};return gi=m,gi}var yi,Rs;function tv(){if(Rs)return yi;Rs=1;var y=/-(.)/g;function m(g){return g.replace(y,function(n,a){return a.toUpperCase()})}return yi=m,yi}var mi,ks;function rv(){if(ks)return mi;ks=1;var y=/([A-Z])/g;function m(g){return g.replace(y,"-$1").toLowerCase()}return mi=m,mi}var _i,Bs;function nv(){if(Bs)return _i;Bs=1;var y=tv(),m=rv();function g(a){return a==null?a:String(a)}function n(a,d){var p;if(window.getComputedStyle&&(p=window.getComputedStyle(a,null),p))return g(p.getPropertyValue(m(d)));if(document.defaultView&&document.defaultView.getComputedStyle){if(p=document.defaultView.getComputedStyle(a,null),p)return g(p.getPropertyValue(m(d)));if(d==="display")return"none"}return a.currentStyle?g(d==="float"?a.currentStyle.cssFloat||a.currentStyle.styleFloat:a.currentStyle[y(d)]):g(a.style&&a.style[y(d)])}return _i=n,_i}var Ei,xs;function vr(){if(xs)return Ei;xs=1;var y=nv();function m(n,a){var d=g.get(n,a);return d==="auto"||d==="scroll"}var g={get:y,getScrollParent:function(a){if(!a)return null;for(var d=a.ownerDocument;a&&a!==d.body;){if(m(a,"overflow")||m(a,"overflowY")||m(a,"overflowX"))return a;a=a.parentNode}return d.defaultView||d.parentWindow}};return Ei=g,Ei}var Si,Is;function iv(){if(Is)return Si;Is=1;var y=to();function m(g){var n=g.ownerDocument.documentElement;if(!("getBoundingClientRect"in g)||!y(n,g))return{left:0,right:0,top:0,bottom:0};var a=g.getBoundingClientRect();return{left:Math.round(a.left)-n.clientLeft,right:Math.round(a.right)-n.clientLeft,top:Math.round(a.top)-n.clientTop,bottom:Math.round(a.bottom)-n.clientTop}}return Si=m,Si}var wi,Ks;function Mf(){if(Ks)return wi;Ks=1;var y=iv();function m(g){var n=y(g);return{x:n.left,y:n.top,width:n.right-n.left,height:n.bottom-n.top}}return wi=m,wi}var Ci,Ms;function av(){if(Ms)return Ci;Ms=1;var y=typeof navigator<"u"&&navigator.userAgent.indexOf("AppleWebKit")>-1;function m(g){return g=g||document,g.scrollingElement?g.scrollingElement:!y&&g.compatMode==="CSS1Compat"?g.documentElement:g.body}return Ci=m,Ci}var Di,As;function ov(){if(As)return Di;As=1;function y(m){return m.Window&&m instanceof m.Window?{x:m.pageXOffset||m.document.documentElement.scrollLeft,y:m.pageYOffset||m.document.documentElement.scrollTop}:{x:m.scrollLeft,y:m.scrollTop}}return Di=y,Di}var bi,Ns;function dr(){if(Ns)return bi;Ns=1;var y=av(),m=ov();function g(n){var a=y(n.ownerDocument||n.document);n.Window&&n instanceof n.Window&&(n=a);var d=m(n),p=n===a?n.ownerDocument.documentElement:n,v=n.scrollWidth-p.clientWidth,c=n.scrollHeight-p.clientHeight;return d.x=Math.max(0,Math.min(d.x,v)),d.y=Math.max(0,Math.min(d.y,c)),d}return bi=g,bi}var Oi,Ls;function Af(){if(Ls)return Oi;Ls=1;function y(){var n;return document.documentElement&&(n=document.documentElement.clientWidth),!n&&document.body&&(n=document.body.clientWidth),n||0}function m(){var n;return document.documentElement&&(n=document.documentElement.clientHeight),!n&&document.body&&(n=document.body.clientHeight),n||0}function g(){return{width:window.innerWidth||y(),height:window.innerHeight||m()}}return g.withoutScrollbars=function(){return{width:y(),height:m()}},Oi=g,Oi}var Ti,Fs;function uv(){if(Fs)return Ti;Fs=1;var y=wt();function m(){return m=y||function(T){for(var b=1;b<arguments.length;b++){var B=arguments[b];for(var A in B)Object.prototype.hasOwnProperty.call(B,A)&&(T[A]=B[A])}return T},m.apply(this,arguments)}function g(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}function n(T,b){T.prototype=Object.create(b.prototype),T.prototype.constructor=T,T.__proto__=b}function a(T){for(var b=1;b<arguments.length;b++){var B=arguments[b]!=null?arguments[b]:{},A=Object.keys(B);typeof Object.getOwnPropertySymbols=="function"&&(A=A.concat(Object.getOwnPropertySymbols(B).filter(function(L){return Object.getOwnPropertyDescriptor(B,L).enumerable}))),A.forEach(function(L){d(T,L,B[L])})}return T}function d(T,b,B){return b in T?Object.defineProperty(T,b,{value:B,enumerable:!0,configurable:!0,writable:!0}):T[b]=B,T}var p=ev(),v=pt(),c=ot,h=ro(),S=vr(),E=Mf(),i=dr(),l=Af(),o=Ce(),u=De(),r=Wt(),f=10;o.List;var w=function(b,B){return b.getAnchorKey()===B||b.getFocusKey()===B},D=function(b,B){var A=b.getNextSiblingKey();return A?B.getBlockForKey(A).getType()===b.getType():!1},O=function(b,B,A){var L=[],F=!0,P=!1,H=void 0;try{for(var G=A.reverse()[Symbol.iterator](),W;!(F=(W=G.next()).done);F=!0){var $=W.value;if($.type!==B)break;L.push($)}}catch(N){P=!0,H=N}finally{try{!F&&G.return!=null&&G.return()}finally{if(P)throw H}}A.splice(A.indexOf(L[0]),L.length+1);var X=L.reverse(),j=X[0].key;return A.push(c.cloneElement(b,{key:"".concat(j,"-wrap"),"data-offset-key":v.encode(j,0,0)},X)),A},I=function(b,B){var A=B.get(b.getType())||B.get("unstyled"),L=A.wrapper,F=A.element||B.get("unstyled").element;return{Element:F,wrapperTemplate:L}},k=function(b,B){var A=B(b);if(!A)return{};var L=A.component,F=A.props,P=A.editable;return{CustomComponent:L,customProps:F,customEditable:P}},K=function(b,B,A,L,F,P){var H={"data-block":!0,"data-editor":B,"data-offset-key":A,key:b.getKey(),ref:P},G=L(b);return G&&(H.className=G),F.customEditable!==void 0&&(H=a({},H,{contentEditable:F.customEditable,suppressContentEditableWarning:!0})),H},x=function(T){n(b,T);function b(){for(var A,L=arguments.length,F=new Array(L),P=0;P<L;P++)F[P]=arguments[P];return A=T.call.apply(T,[this].concat(F))||this,d(g(A),"wrapperRef",c.createRef()),A}var B=b.prototype;return B.shouldComponentUpdate=function(L){var F=this.props,P=F.block,H=F.direction,G=F.tree,W=!P.getChildKeys().isEmpty(),$=P!==L.block||G!==L.tree||H!==L.direction||w(L.selection,L.block.getKey())&&L.forceSelection;return W||$},B.componentDidMount=function(){var L=this.props.selection,F=L.getEndKey();if(!(!L.getHasFocus()||F!==this.props.block.getKey())){var P=this.wrapperRef.current;if(P){var H=S.getScrollParent(P),G=i(H),W;if(H===window){var $=E(P),X=$.y+$.height,j=l().height;W=X-j,W>0&&window.scrollTo(G.x,G.y+W+f)}else{r(P)||(process.env.NODE_ENV!=="production"?u(!1,"blockNode is not an HTMLElement"):u(!1));var N=P,oe=N.offsetHeight+N.offsetTop,pe=H.offsetHeight+G.y;W=oe-pe,W>0&&h.setTop(H,h.getTop(H)+W+f)}}}},B.render=function(){var L=this,F=this.props,P=F.block,H=F.blockRenderMap,G=F.blockRendererFn,W=F.blockStyleFn,$=F.contentState,X=F.decorator,j=F.editorKey,N=F.editorState,oe=F.customStyleFn,pe=F.customStyleMap,ie=F.direction,ue=F.forceSelection,ve=F.selection,we=F.tree,se=null;P.children.size&&(se=P.children.reduce(function(me,Ke){var Me=v.encode(Ke,0,0),Be=$.getBlockForKey(Ke),Fe=k(Be,G),Ae=Fe.CustomComponent||b,qe=I(Be,H),et=qe.Element,ce=qe.wrapperTemplate,ge=K(Be,j,Me,W,Fe,null),le=a({},L.props,{tree:N.getBlockTree(Ke),blockProps:Fe.customProps,offsetKey:Me,block:Be});return me.push(c.createElement(et,ge,c.createElement(Ae,le))),!ce||D(Be,$)||O(ce,et,me),me},[]));var Q=P.getKey(),te=v.encode(Q,0,0),ee=k(P,G),Y=ee.CustomComponent,Z=Y!=null?c.createElement(Y,m({},this.props,{tree:N.getBlockTree(Q),blockProps:ee.customProps,offsetKey:te,block:P})):c.createElement(p,{block:P,children:se,contentState:$,customStyleFn:oe,customStyleMap:pe,decorator:X,direction:ie,forceSelection:ue,hasSelection:w(ve,Q),selection:ve,tree:we});if(P.getParentKey())return Z;var J=I(P,H),re=J.Element,he=K(P,j,te,W,ee,this.wrapperRef);return c.createElement(re,he,Z)},b}(c.Component);return Ti=x,Ti}var Ri,qs;function sv(){if(qs)return Ri;qs=1;var y=wt();function m(){return m=y||function(c){for(var h=1;h<arguments.length;h++){var S=arguments[h];for(var E in S)Object.prototype.hasOwnProperty.call(S,E)&&(c[E]=S[E])}return c},m.apply(this,arguments)}function g(c,h){c.prototype=Object.create(h.prototype),c.prototype.constructor=c,c.__proto__=h}var n=uv(),a=pt(),d=ot,p=je(),v=function(c){g(h,c);function h(){return c.apply(this,arguments)||this}var S=h.prototype;return S.shouldComponentUpdate=function(i){var l=this.props.editorState,o=i.editorState,u=l.getDirectionMap(),r=o.getDirectionMap();if(u!==r)return!0;var f=l.getSelection().getHasFocus(),w=o.getSelection().getHasFocus();if(f!==w)return!0;var D=o.getNativelyRenderedContent(),O=l.isInCompositionMode(),I=o.isInCompositionMode();if(l===o||D!==null&&o.getCurrentContent()===D||O&&I)return!1;var k=l.getCurrentContent(),K=o.getCurrentContent(),x=l.getDecorator(),T=o.getDecorator();return O!==I||k!==K||x!==T||o.mustForceSelection()},S.render=function(){for(var i=this.props,l=i.blockRenderMap,o=i.blockRendererFn,u=i.blockStyleFn,r=i.customStyleMap,f=i.customStyleFn,w=i.editorState,D=i.editorKey,O=i.textDirectionality,I=w.getCurrentContent(),k=w.getSelection(),K=w.mustForceSelection(),x=w.getDecorator(),T=p(w.getDirectionMap()),b=I.getBlocksAsArray(),B=b[0],A=[],L=B;L;){var F=L.getKey(),P={blockRenderMap:l,blockRendererFn:o,blockStyleFn:u,contentState:I,customStyleFn:f,customStyleMap:r,decorator:x,editorKey:D,editorState:w,forceSelection:K,selection:k,block:L,direction:O||T.get(F),tree:w.getBlockTree(F)},H=l.get(L.getType())||l.get("unstyled"),G=H.wrapper;A.push({block:d.createElement(n,m({key:F},P)),wrapperTemplate:G,key:F,offsetKey:a.encode(F,0,0)});var W=L.getNextSiblingKey();L=W?I.getBlockForKey(W):null}for(var $=[],X=0;X<A.length;){var j=A[X];if(j.wrapperTemplate){var N=[];do N.push(A[X].block),X++;while(X<A.length&&A[X].wrapperTemplate===j.wrapperTemplate);var oe=d.cloneElement(j.wrapperTemplate,{key:j.key+"-wrap","data-offset-key":j.offsetKey},N);$.push(oe)}else $.push(j.block),X++}return d.createElement("div",{"data-contents":"true"},$)},h}(d.Component);return Ri=v,Ri}var ki,Ps;function Nf(){if(Ps)return ki;Ps=1;var y=wt();function m(){return m=y||function(k){for(var K=1;K<arguments.length;K++){var x=arguments[K];for(var T in x)Object.prototype.hasOwnProperty.call(x,T)&&(k[T]=x[T])}return k},m.apply(this,arguments)}function g(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function n(k,K){k.prototype=Object.create(K.prototype),k.prototype.constructor=k,k.__proto__=K}function a(k,K,x){return K in k?Object.defineProperty(k,K,{value:x,enumerable:!0,configurable:!0,writable:!0}):k[K]=x,k}var d=Kf(),p=pt(),v=ot,c=ro(),h=vr(),S=Za(),E=sr(),i=St(),l=Mf(),o=dr(),u=Af(),r=De(),f=Wt(),w=je(),D=10,O=function(K,x){return K.getAnchorKey()===x||K.getFocusKey()===x},I=function(k){n(K,k);function K(){for(var T,b=arguments.length,B=new Array(b),A=0;A<b;A++)B[A]=arguments[A];return T=k.call.apply(k,[this].concat(B))||this,a(g(T),"_node",void 0),T}var x=K.prototype;return x.shouldComponentUpdate=function(b){return this.props.block!==b.block||this.props.tree!==b.tree||this.props.direction!==b.direction||O(b.selection,b.block.getKey())&&b.forceSelection},x.componentDidMount=function(){if(!this.props.preventScroll){var b=this.props.selection,B=b.getEndKey();if(!(!b.getHasFocus()||B!==this.props.block.getKey())){var A=this._node;if(A!=null){var L=h.getScrollParent(A),F=o(L),P;if(L===window){var H=l(A),G=H.y+H.height,W=u().height;P=G-W,P>0&&window.scrollTo(F.x,F.y+P+D)}else{f(A)||(process.env.NODE_ENV!=="production"?r(!1,"blockNode is not an HTMLElement"):r(!1));var $=A.offsetHeight+A.offsetTop,X=L.offsetTop+L.offsetHeight,j=X+F.y;P=$-j,P>0&&c.setTop(L,c.getTop(L)+P+D)}}}}},x._renderChildren=function(){var b=this,B=this.props.block,A=B.getKey(),L=B.getText(),F=this.props.tree.size-1,P=O(this.props.selection,A);return this.props.tree.map(function(H,G){var W=H.get("leaves");if(W.size===0)return null;var $=W.size-1,X=W.map(function(ee,Y){var Z=p.encode(A,G,Y),J=ee.get("start"),re=ee.get("end");return v.createElement(d,{key:Z,offsetKey:Z,block:B,start:J,selection:P?b.props.selection:null,forceSelection:b.props.forceSelection,text:L.slice(J,re),styleSet:B.getInlineStyleAt(J),customStyleMap:b.props.customStyleMap,customStyleFn:b.props.customStyleFn,isLast:G===F&&Y===$})}).toArray(),j=H.get("decoratorKey");if(j==null||!b.props.decorator)return X;var N=w(b.props.decorator),oe=N.getComponentForKey(j);if(!oe)return X;var pe=N.getPropsForKey(j),ie=p.encode(A,G,0),ue=W.first().get("start"),ve=W.last().get("end"),we=L.slice(ue,ve),se=B.getEntityAt(H.get("start")),Q=E.getHTMLDirIfDifferent(S.getDirection(we),b.props.direction),te={contentState:b.props.contentState,decoratedText:we,dir:Q,start:ue,end:ve,blockKey:A,entityKey:se,offsetKey:ie};return v.createElement(oe,m({},pe,te,{key:ie}),X)}).toArray()},x.render=function(){var b=this,B=this.props,A=B.direction,L=B.offsetKey,F=i({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":A==="LTR","public/DraftStyleDefault/rtl":A==="RTL"});return v.createElement("div",{"data-offset-key":L,className:F,ref:function(H){return b._node=H}},this._renderChildren())},K}(v.Component);return ki=I,ki}var Bi,Us;function cv(){if(Us)return Bi;Us=1;function y(m){var g=m||"",n=arguments.length;if(n>1)for(var a=1;a<n;a++){var d=arguments[a];d&&(g=(g?g+" ":"")+d)}return g}return Bi=y,Bi}var xi,zs;function fv(){if(zs)return xi;zs=1;var y=wt();function m(){return m=y||function(l){for(var o=1;o<arguments.length;o++){var u=arguments[o];for(var r in u)Object.prototype.hasOwnProperty.call(u,r)&&(l[r]=u[r])}return l},m.apply(this,arguments)}function g(l){for(var o=1;o<arguments.length;o++){var u=arguments[o]!=null?arguments[o]:{},r=Object.keys(u);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(u).filter(function(f){return Object.getOwnPropertyDescriptor(u,f).enumerable}))),r.forEach(function(f){n(l,f,u[f])})}return l}function n(l,o,u){return o in l?Object.defineProperty(l,o,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[o]=u,l}function a(l,o){l.prototype=Object.create(o.prototype),l.prototype.constructor=l,l.__proto__=o}var d=Nf(),p=pt(),v=ot,c=St(),h=cv(),S=je(),E=function(o,u,r,f){return c({"public/DraftStyleDefault/unorderedListItem":o==="unordered-list-item","public/DraftStyleDefault/orderedListItem":o==="ordered-list-item","public/DraftStyleDefault/reset":r,"public/DraftStyleDefault/depth0":u===0,"public/DraftStyleDefault/depth1":u===1,"public/DraftStyleDefault/depth2":u===2,"public/DraftStyleDefault/depth3":u===3,"public/DraftStyleDefault/depth4":u>=4,"public/DraftStyleDefault/listLTR":f==="LTR","public/DraftStyleDefault/listRTL":f==="RTL"})},i=function(l){a(o,l);function o(){return l.apply(this,arguments)||this}var u=o.prototype;return u.shouldComponentUpdate=function(f){var w=this.props.editorState,D=f.editorState,O=w.getDirectionMap(),I=D.getDirectionMap();if(O!==I)return!0;var k=w.getSelection().getHasFocus(),K=D.getSelection().getHasFocus();if(k!==K)return!0;var x=D.getNativelyRenderedContent(),T=w.isInCompositionMode(),b=D.isInCompositionMode();if(w===D||x!==null&&D.getCurrentContent()===x||T&&b)return!1;var B=w.getCurrentContent(),A=D.getCurrentContent(),L=w.getDecorator(),F=D.getDecorator();return T!==b||B!==A||L!==F||D.mustForceSelection()},u.render=function(){for(var f=this.props,w=f.blockRenderMap,D=f.blockRendererFn,O=f.blockStyleFn,I=f.customStyleMap,k=f.customStyleFn,K=f.editorState,x=f.editorKey,T=f.preventScroll,b=f.textDirectionality,B=K.getCurrentContent(),A=K.getSelection(),L=K.mustForceSelection(),F=K.getDecorator(),P=S(K.getDirectionMap()),H=B.getBlocksAsArray(),G=[],W=null,$=null,X=0;X<H.length;X++){var j=H[X],N=j.getKey(),oe=j.getType(),pe=D(j),ie=void 0,ue=void 0,ve=void 0;pe&&(ie=pe.component,ue=pe.props,ve=pe.editable);var we=b||P.get(N),se=p.encode(N,0,0),Q={contentState:B,block:j,blockProps:ue,blockStyleFn:O,customStyleMap:I,customStyleFn:k,decorator:F,direction:we,forceSelection:L,offsetKey:se,preventScroll:T,selection:A,tree:K.getBlockTree(N)},te=w.get(oe)||w.get("unstyled"),ee=te.wrapper,Y=te.element||w.get("unstyled").element,Z=j.getDepth(),J="";if(O&&(J=O(j)),Y==="li"){var re=$!==ee||W===null||Z>W;J=h(J,E(oe,Z,re,we))}var he=ie||d,me={className:J,"data-block":!0,"data-editor":x,"data-offset-key":se,key:N};ve!==void 0&&(me=g({},me,{contentEditable:ve,suppressContentEditableWarning:!0}));var Ke=v.createElement(Y,me,v.createElement(he,m({},Q,{key:N})));G.push({block:Ke,wrapperTemplate:ee,key:N,offsetKey:se}),ee?W=j.getDepth():W=null,$=ee}for(var Me=[],Be=0;Be<G.length;){var Fe=G[Be];if(Fe.wrapperTemplate){var Ae=[];do Ae.push(G[Be].block),Be++;while(Be<G.length&&G[Be].wrapperTemplate===Fe.wrapperTemplate);var qe=v.cloneElement(Fe.wrapperTemplate,{key:Fe.key+"-wrap","data-offset-key":Fe.offsetKey},Ae);Me.push(qe)}else Me.push(Fe.block),Be++}return v.createElement("div",{"data-contents":"true"},Me)},o}(v.Component);return xi=i,xi}var Ii,Hs;function lv(){if(Hs)return Ii;Hs=1;var y=mt(),m=y("draft_tree_data_support");return Ii=m?sv():fv(),Ii}var Ki,Vs;function vv(){if(Vs)return Ki;Vs=1;var y={isImage:function(n){return m(n)[0]==="image"},isJpeg:function(n){var a=m(n);return y.isImage(n)&&(a[1]==="jpeg"||a[1]==="pjpeg")}};function m(g){return g.split("/")}return Ki=y,Ki}var Mi,Ws;function dv(){if(Ws)return Mi;Ws=1;var y=De();function m(a){var d=a.length;if(!Array.isArray(a)&&(typeof a=="object"||typeof a=="function")||(process.env.NODE_ENV!=="production"?y(!1,"toArray: Array-like object expected"):y(!1)),typeof d!="number"&&(process.env.NODE_ENV!=="production"?y(!1,"toArray: Object needs a length property"):y(!1)),d===0||d-1 in a||(process.env.NODE_ENV!=="production"?y(!1,"toArray: Object should have keys for indices"):y(!1)),typeof a.callee=="function"&&(process.env.NODE_ENV!=="production"?y(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):y(!1)),a.hasOwnProperty)try{return Array.prototype.slice.call(a)}catch{}for(var p=Array(d),v=0;v<d;v++)p[v]=a[v];return p}function g(a){return!!a&&(typeof a=="object"||typeof a=="function")&&"length"in a&&!("setInterval"in a)&&typeof a.nodeType!="number"&&(Array.isArray(a)||"callee"in a||"item"in a)}function n(a){return g(a)?Array.isArray(a)?a.slice():m(a):[a]}return Mi=n,Mi}var Ai,Gs;function Lf(){if(Gs)return Ai;Gs=1;function y(g){return function(){return g}}var m=function(){};return m.thatReturns=y,m.thatReturnsFalse=y(!1),m.thatReturnsTrue=y(!0),m.thatReturnsNull=y(null),m.thatReturnsThis=function(){return this},m.thatReturnsArgument=function(g){return g},Ai=m,Ai}var Ni,js;function Ff(){if(js)return Ni;js=1;var y=vv(),m=dv(),g=Lf(),n=new RegExp(`\r
15
+ `,"g"),a=`
16
+ `,d={"text/rtf":1,"text/html":1};function p(c){if(c.kind=="file")return c.getAsFile()}var v=function(){function c(S){this.data=S,this.types=S.types?m(S.types):[]}var h=c.prototype;return h.isRichText=function(){return this.getHTML()&&this.getText()?!0:this.isImage()?!1:this.types.some(function(E){return d[E]})},h.getText=function(){var E;return this.data.getData&&(this.types.length?this.types.indexOf("text/plain")!=-1&&(E=this.data.getData("text/plain")):E=this.data.getData("Text")),E?E.replace(n,a):null},h.getHTML=function(){if(this.data.getData)if(this.types.length){if(this.types.indexOf("text/html")!=-1)return this.data.getData("text/html")}else return this.data.getData("Text")},h.isLink=function(){return this.types.some(function(E){return E.indexOf("Url")!=-1||E.indexOf("text/uri-list")!=-1||E.indexOf("text/x-moz-url")})},h.getLink=function(){if(this.data.getData){if(this.types.indexOf("text/x-moz-url")!=-1){var E=this.data.getData("text/x-moz-url").split(`
17
+ `);return E[0]}return this.types.indexOf("text/uri-list")!=-1?this.data.getData("text/uri-list"):this.data.getData("url")}return null},h.isImage=function(){var E=this.types.some(function(u){return u.indexOf("application/x-moz-file")!=-1});if(E)return!0;for(var i=this.getFiles(),l=0;l<i.length;l++){var o=i[l].type;if(!y.isImage(o))return!1}return!0},h.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},h.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(p).filter(g.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},h.hasFiles=function(){return this.getFiles().length>0},c}();return Ni=v,Ni}var Li,Js;function qf(){if(Js)return Li;Js=1;var y=De(),m=/\.textClipping$/,g={"text/plain":!0,"text/html":!0,"text/rtf":!0},n=5e3;function a(p,v){var c=0,h=[];p.forEach(function(S){d(S,function(E){c++,E&&h.push(E.slice(0,n)),c==p.length&&v(h.join("\r"))})})}function d(p,v){if(!window.FileReader||p.type&&!(p.type in g)){v("");return}if(p.type===""){var c="";m.test(p.name)&&(c=p.name.replace(m,"")),v(c);return}var h=new FileReader;h.onload=function(){var S=h.result;typeof S!="string"&&(process.env.NODE_ENV!=="production"?y(!1,'We should be calling "FileReader.readAsText" which returns a string'):y(!1)),v(S)},h.onerror=function(){v("")},h.readAsText(p)}return Li=a,Li}var Fi,Xs;function pr(){if(Xs)return Fi;Xs=1;function y(m){return m==="handled"||m===!0}return Fi=y,Fi}var qi,Ys;function pv(){if(Ys)return qi;Ys=1;var y=Ff(),m=Ge(),g=Te(),n=fr(),a=cr(),d=qf(),p=bf(),v=wf(),c=pr(),h=je();function S(u,r){var f=null,w=null,D=a(u.currentTarget);if(typeof D.caretRangeFromPoint=="function"){var O=D.caretRangeFromPoint(u.x,u.y);f=O.startContainer,w=O.startOffset}else if(u.rangeParent)f=u.rangeParent,w=u.rangeOffset;else return null;f=h(f),w=h(w);var I=h(n(f));return p(r,I,w,I,w)}var E={onDragEnd:function(r){r.exitCurrentMode(),i(r)},onDrop:function(r,f){var w=new y(f.nativeEvent.dataTransfer),D=r._latestEditorState,O=S(f.nativeEvent,D);if(f.preventDefault(),r._dragCount=0,r.exitCurrentMode(),O!=null){var I=w.getFiles();if(I.length>0){if(r.props.handleDroppedFiles&&c(r.props.handleDroppedFiles(O,I)))return;d(I,function(K){K&&r.update(o(D,O,K))});return}var k=r._internalDrag?"internal":"external";r.props.handleDrop&&c(r.props.handleDrop(O,w,k))||(r._internalDrag?r.update(l(D,O)):r.update(o(D,O,w.getText()))),i(r)}}};function i(u){u._internalDrag=!1;var r=u.editorContainer;if(r){var f=new MouseEvent("mouseup",{view:v(r),bubbles:!0,cancelable:!0});r.dispatchEvent(f)}}function l(u,r){var f=m.moveText(u.getCurrentContent(),u.getSelection(),r);return g.push(u,f,"insert-fragment")}function o(u,r,f){var w=m.insertText(u.getCurrentContent(),r,f,u.getCurrentInlineStyle());return g.push(u,w,"insert-fragment")}return qi=E,qi}var Pi,$s;function hv(){if($s)return Pi;$s=1;function y(m){var g=m.getSelection(),n=g.getAnchorKey(),a=m.getBlockTree(n),d=g.getStartOffset(),p=!1;return a.some(function(v){return d===v.get("start")?(p=!0,!0):d<v.get("end")?v.get("leaves").some(function(c){var h=c.get("start");return d===h?(p=!0,!0):!1}):!1}),p}return Pi=y,Pi}var Zs={},Qs;function gv(){return Qs||(Qs=1,function(y,m){if(y.setImmediate)return;var g=1,n={},a=!1,d=y.document,p;function v(w){typeof w!="function"&&(w=new Function(""+w));for(var D=new Array(arguments.length-1),O=0;O<D.length;O++)D[O]=arguments[O+1];var I={callback:w,args:D};return n[g]=I,p(g),g++}function c(w){delete n[w]}function h(w){var D=w.callback,O=w.args;switch(O.length){case 0:D();break;case 1:D(O[0]);break;case 2:D(O[0],O[1]);break;case 3:D(O[0],O[1],O[2]);break;default:D.apply(m,O);break}}function S(w){if(a)setTimeout(S,0,w);else{var D=n[w];if(D){a=!0;try{h(D)}finally{c(w),a=!1}}}}function E(){p=function(w){process.nextTick(function(){S(w)})}}function i(){if(y.postMessage&&!y.importScripts){var w=!0,D=y.onmessage;return y.onmessage=function(){w=!1},y.postMessage("","*"),y.onmessage=D,w}}function l(){var w="setImmediate$"+Math.random()+"$",D=function(O){O.source===y&&typeof O.data=="string"&&O.data.indexOf(w)===0&&S(+O.data.slice(w.length))};y.addEventListener?y.addEventListener("message",D,!1):y.attachEvent("onmessage",D),p=function(O){y.postMessage(w+O,"*")}}function o(){var w=new MessageChannel;w.port1.onmessage=function(D){var O=D.data;S(O)},p=function(D){w.port2.postMessage(D)}}function u(){var w=d.documentElement;p=function(D){var O=d.createElement("script");O.onreadystatechange=function(){S(D),O.onreadystatechange=null,w.removeChild(O),O=null},w.appendChild(O)}}function r(){p=function(w){setTimeout(S,0,w)}}var f=Object.getPrototypeOf&&Object.getPrototypeOf(y);f=f&&f.setTimeout?f:y,{}.toString.call(y.process)==="[object process]"?E():i()?l():y.MessageChannel?o():d&&"onreadystatechange"in d.createElement("script")?u():r(),f.setImmediate=v,f.clearImmediate=c}(typeof self>"u"?typeof window>"u"?Ya.commonjsGlobal:window:self)),Zs}var Ui,ec;function yv(){return ec||(ec=1,gv(),Ui=window.setImmediate),Ui}var zi,tc;function mv(){if(tc)return zi;tc=1;var y=Ge(),m=Te(),g=Je(),n=eo(),a=pr(),d=hv(),p=je(),v=yv(),c="'",h="/",S=g.isBrowser("Firefox");function E(o){return S&&(o==c||o==h)}function i(o,u,r,f,w){var D=y.replaceText(o.getCurrentContent(),o.getSelection(),u,r,f);return m.push(o,D,"insert-characters",w)}function l(o,u){o._pendingStateFromBeforeInput!==void 0&&(o.update(o._pendingStateFromBeforeInput),o._pendingStateFromBeforeInput=void 0);var r=o._latestEditorState,f=u.data;if(f){if(o.props.handleBeforeInput&&a(o.props.handleBeforeInput(f,r,u.timeStamp))){u.preventDefault();return}var w=r.getSelection(),D=w.getStartOffset(),O=w.getAnchorKey();if(!w.isCollapsed()){u.preventDefault(),o.update(i(r,f,r.getCurrentInlineStyle(),n(r.getCurrentContent(),r.getSelection()),!0));return}var I=i(r,f,r.getCurrentInlineStyle(),n(r.getCurrentContent(),r.getSelection()),!1),k=!1;if(k||(k=d(o._latestCommittedEditorState)),!k){var K=r.getBlockTree(O),x=I.getBlockTree(O);k=K.size!==x.size||K.zip(x).some(function(T){var b=T[0],B=T[1],A=b.get("start"),L=A+(A>=D?f.length:0),F=b.get("end"),P=F+(F>=D?f.length:0),H=B.get("start"),G=B.get("end"),W=B.get("decoratorKey");return b.get("decoratorKey")!==W||b.get("leaves").size!==B.get("leaves").size||L!==H||P!==G||W!=null&&G-H!==F-A})}if(k||(k=E(f)),k||(k=p(I.getDirectionMap()).get(O)!==p(r.getDirectionMap()).get(O)),k){u.preventDefault(),I=m.set(I,{forceSelection:!0}),o.update(I);return}I=m.set(I,{nativelyRenderedContent:I.getCurrentContent()}),o._pendingStateFromBeforeInput=I,v(function(){o._pendingStateFromBeforeInput!==void 0&&(o.update(o._pendingStateFromBeforeInput),o._pendingStateFromBeforeInput=void 0)})}}return zi=l,zi}var Hi,rc;function _v(){if(rc)return Hi;rc=1;var y=Te(),m=to(),g=If();function n(a,d){var p=d.currentTarget.ownerDocument;if(!a.props.preserveSelectionOnBlur&&g(p)===p.body){var v=p.defaultView.getSelection(),c=a.editor;v.rangeCount===1&&m(c,v.anchorNode)&&m(c,v.focusNode)&&v.removeAllRanges()}var h=a._latestEditorState,S=h.getSelection();if(S.getHasFocus()){var E=S.set("hasFocus",!1);a.props.onBlur&&a.props.onBlur(d),a.update(y.acceptSelection(h,E))}}return Hi=n,Hi}var Vi,nc;function Ev(){if(nc)return Vi;nc=1;var y=Te();function m(g,n){g.setMode("composite"),g.update(y.set(g._latestEditorState,{inCompositionMode:!0})),g._onCompositionStart(n)}return Vi=m,Vi}var Wi,ic;function Pf(){if(ic)return Wi;ic=1;var y=ar();function m(g){var n=g.getSelection();return n.isCollapsed()?null:y(g.getCurrentContent(),n)}return Wi=m,Wi}var Gi,ac;function Sv(){if(ac)return Gi;ac=1;var y=Pf();function m(g,n){var a=g._latestEditorState,d=a.getSelection();if(d.isCollapsed()){n.preventDefault();return}g.setClipboard(y(g._latestEditorState))}return Gi=m,Gi}var ji,oc;function wv(){if(oc)return ji;oc=1;function y(m){if(!m||!("ownerDocument"in m))return!1;if("ownerDocument"in m){var g=m;if(!g.ownerDocument.defaultView)return g instanceof Node;if(g instanceof g.ownerDocument.defaultView.Node)return!0}return!1}return ji=y,ji}var Ji,uc;function Cv(){if(uc)return Ji;uc=1;var y=Ge(),m=Te(),g=vr(),n=Pf(),a=dr(),d=wv();function p(c,h){var S=c._latestEditorState,E=S.getSelection(),i=h.target,l;if(E.isCollapsed()){h.preventDefault();return}if(d(i)){var o=i;l=a(g.getScrollParent(o))}var u=n(S);c.setClipboard(u),c.setMode("cut"),setTimeout(function(){c.restoreEditorDOM(l),c.exitCurrentMode(),c.update(v(S))},0)}function v(c){var h=y.removeRange(c.getCurrentContent(),c.getSelection(),"forward");return m.push(c,h,"remove-range")}return Ji=p,Ji}var Xi,sc;function Dv(){if(sc)return Xi;sc=1;function y(m,g){m.setMode("drag"),g.preventDefault()}return Xi=y,Xi}var Yi,cc;function bv(){if(cc)return Yi;cc=1;function y(m){m._internalDrag=!0,m.setMode("drag")}return Yi=y,Yi}var $i,fc;function Ov(){if(fc)return $i;fc=1;var y=Te(),m=Je();function g(n,a){var d=n._latestEditorState,p=d.getSelection();if(!p.getHasFocus()){var v=p.set("hasFocus",!0);n.props.onFocus&&n.props.onFocus(a),m.isBrowser("Chrome < 60.0.3081.0")?n.update(y.forceSelection(d,v)):n.update(y.acceptSelection(d,v))}}return $i=g,$i}var Zi,lc;function Dt(){if(lc)return Zi;lc=1;var y=De(),m=55296,g=56319,n=56320,a=57343,d=/[\uD800-\uDFFF]/;function p(u){return m<=u&&u<=a}function v(u,r){if(0<=r&&r<u.length||(process.env.NODE_ENV!=="production"?y(!1,"isSurrogatePair: Invalid index %s for string length %s.",r,u.length):y(!1)),r+1===u.length)return!1;var f=u.charCodeAt(r),w=u.charCodeAt(r+1);return m<=f&&f<=g&&n<=w&&w<=a}function c(u){return d.test(u)}function h(u,r){return 1+p(u.charCodeAt(r))}function S(u){if(!c(u))return u.length;for(var r=0,f=0;f<u.length;f+=h(u,f))r++;return r}function E(u,r,f){if(r=r||0,f=f===void 0?1/0:f||0,!c(u))return u.substr(r,f);var w=u.length;if(w<=0||r>w||f<=0)return"";var D=0;if(r>0){for(;r>0&&D<w;r--)D+=h(u,D);if(D>=w)return""}else if(r<0){for(D=w;r<0&&0<D;r++)D-=h(u,D-1);D<0&&(D=0)}var O=w;if(f<w)for(O=D;f>0&&O<w;f--)O+=h(u,O);return u.substring(D,O)}function i(u,r,f){r=r||0,f=f===void 0?1/0:f||0,r<0&&(r=0),f<0&&(f=0);var w=Math.abs(f-r);return r=r<f?r:f,E(u,r,w)}function l(u){for(var r=[],f=0;f<u.length;f+=h(u,f))r.push(u.codePointAt(f));return r}var o={getCodePoints:l,getUTF16Length:h,hasSurrogateUnit:c,isCodeUnitInSurrogateRange:p,isSurrogatePair:v,strlen:S,substring:i,substr:E};return Zi=o,Zi}var Qi,vc;function no(){if(vc)return Qi;vc=1;var y=Lf();function m(n){for(var a=arguments.length,d=new Array(a>1?a-1:0),p=1;p<a;p++)d[p-1]=arguments[p];var v=0,c="Warning: "+n.replace(/%s/g,function(){return d[v++]});typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}}var g=process.env.NODE_ENV!=="production"?function(n,a){if(a===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!n){for(var d=arguments.length,p=new Array(d>2?d-2:0),v=2;v<d;v++)p[v-2]=arguments[v];m.apply(void 0,[a].concat(p))}}:y;return Qi=g,Qi}var ea,dc;function io(){if(dc)return ea;dc=1;var y=no();function m(g,n){var a=g.getSelection();process.env.NODE_ENV!=="production"&&y(a.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var d=g.getCurrentContent(),p=a.getStartKey(),v=a.getStartOffset(),c=p,h=0;if(n>v){var S=d.getKeyBefore(p);if(S==null)c=p;else{c=S;var E=d.getBlockForKey(S);h=E.getText().length}}else h=v-n;return a.merge({focusKey:c,focusOffset:h,isBackward:!0})}return ea=m,ea}var ta,pc;function Gt(){if(pc)return ta;pc=1;var y=Ge(),m=mt(),g=m("draft_tree_data_support");function n(a,d,p){var v=a.getSelection(),c=a.getCurrentContent(),h=v,S=v.getAnchorKey(),E=v.getFocusKey(),i=c.getBlockForKey(S);if(g&&p==="forward"&&S!==E)return c;if(v.isCollapsed()){if(p==="forward"){if(a.isSelectionAtEndOfContent())return c;if(g){var l=v.getAnchorOffset()===c.getBlockForKey(S).getLength();if(l){var o=c.getBlockForKey(i.nextSibling);if(!o||o.getLength()===0)return c}}}else if(a.isSelectionAtStartOfContent())return c;if(h=d(a),h===v)return c}return y.removeRange(c,h,p)}return ta=n,ta}var ra,hc;function Uf(){if(hc)return ra;hc=1;var y=Te(),m=Dt(),g=io(),n=Gt();function a(d){var p=n(d,function(c){var h=c.getSelection(),S=c.getCurrentContent(),E=h.getAnchorKey(),i=h.getAnchorOffset(),l=S.getBlockForKey(E).getText()[i-1];return g(c,l?m.getUTF16Length(l,0):1)},"backward");if(p===d.getCurrentContent())return d;var v=d.getSelection();return y.push(d,p.set("selectionBefore",v),v.isCollapsed()?"backspace-character":"remove-range")}return ra=a,ra}var na,gc;function Tv(){if(gc)return na;gc=1;var y=Ge(),m=pt(),g=Te(),n=Je(),a=kf(),d=a.notEmptyKey,p=fr(),v=Uf(),c=je(),h=n.isEngine("Gecko"),S=`
18
+
19
+ `;function E(l,o){switch(l){case"deleteContentBackward":return v(o)}return o}function i(l,o){l._pendingStateFromBeforeInput!==void 0&&(l.update(l._pendingStateFromBeforeInput),l._pendingStateFromBeforeInput=void 0);var u=l.editor,r=u.ownerDocument.defaultView.getSelection(),f=r.anchorNode,w=r.isCollapsed,D=f?.nodeType!==Node.TEXT_NODE&&f?.nodeType!==Node.ELEMENT_NODE;if(!(f==null||D)){if(f.nodeType===Node.TEXT_NODE&&(f.previousSibling!==null||f.nextSibling!==null)){var O=f.parentNode;if(O==null)return;f.nodeValue=O.textContent;for(var I=O.firstChild;I!=null;I=I.nextSibling)I!==f&&O.removeChild(I)}var k=f.textContent,K=l._latestEditorState,x=c(p(f)),T=m.decode(x),b=T.blockKey,B=T.decoratorKey,A=T.leafKey,L=K.getBlockTree(b).getIn([B,"leaves",A]),F=L.start,P=L.end,H=K.getCurrentContent(),G=H.getBlockForKey(b),W=G.getText().slice(F,P);if(k.endsWith(S)&&(k=k.slice(0,-1)),k===W){var $=o.nativeEvent.inputType;if($){var X=E($,K);if(X!==K){l.restoreEditorDOM(),l.update(X);return}}return}var j=K.getSelection(),N=j.merge({anchorOffset:F,focusOffset:P,isBackward:!1}),oe=G.getEntityAt(F),pe=d(oe)?H.getEntity(oe):null,ie=pe!=null?pe.getMutability():null,ue=ie==="MUTABLE",ve=ue?"spellcheck-change":"apply-entity",we=y.replaceText(H,N,k,G.getInlineStyleAt(F),ue?G.getEntityAt(F):null),se,Q,te,ee;if(h)se=r.anchorOffset,Q=r.focusOffset,te=F+Math.min(se,Q),ee=te+Math.abs(se-Q),se=te,Q=ee;else{var Y=k.length-W.length;te=j.getStartOffset(),ee=j.getEndOffset(),se=w?ee+Y:te,Q=ee+Y}var Z=we.merge({selectionBefore:H.getSelectionAfter(),selectionAfter:j.merge({anchorOffset:se,focusOffset:Q})});l.update(g.push(K,Z,ve))}}return na=i,na}var ia,yc;function Rv(){if(yc)return ia;yc=1;var y=lr();function m(g){return g.which===y.RETURN&&(g.getModifierState("Shift")||g.getModifierState("Alt")||g.getModifierState("Control"))}return ia=m,ia}var aa,mc;function ao(){if(mc)return aa;mc=1;var y=Je(),m=Rv(),g=y.isPlatform("Mac OS X"),n={isCtrlKeyCommand:function(d){return!!d.ctrlKey&&!d.altKey},isOptionKeyCommand:function(d){return g&&d.altKey},usesMacOSHeuristics:function(){return g},hasCommandModifier:function(d){return g?!!d.metaKey&&!d.altKey:n.isCtrlKeyCommand(d)},isSoftNewlineEvent:m};return aa=n,aa}var oa,_c;function kv(){if(_c)return oa;_c=1;var y=Ge(),m=Te(),g=ar(),n=je(),a=null,d={cut:function(v){var c=v.getCurrentContent(),h=v.getSelection(),S=null;if(h.isCollapsed()){var E=h.getAnchorKey(),i=c.getBlockForKey(E).getLength();if(i===h.getAnchorOffset()){var l=c.getKeyAfter(E);if(l==null)return v;S=h.set("focusKey",l).set("focusOffset",0)}else S=h.set("focusOffset",i)}else S=h;S=n(S),a=g(c,S);var o=y.removeRange(c,S,"forward");return o===c?v:m.push(v,o,"remove-range")},paste:function(v){if(!a)return v;var c=y.replaceWithFragment(v.getCurrentContent(),v.getSelection(),a);return m.push(v,c,"insert-fragment")}};return oa=d,oa}var ua,Ec;function zf(){if(Ec)return ua;Ec=1;var y=Je(),m=De(),g=y.isBrowser("Chrome");function n(d){for(var p=d.cloneRange(),v=[],c=d.endContainer;c!=null;c=c.parentNode){var h=c===d.commonAncestorContainer;h?p.setStart(d.startContainer,d.startOffset):p.setStart(p.endContainer,0);var S=Array.from(p.getClientRects());if(v.push(S),h){var E;return v.reverse(),(E=[]).concat.apply(E,v)}p.setEndBefore(c)}process.env.NODE_ENV!=="production"?m(!1,"Found an unexpected detached subtree when getting range client rects."):m(!1)}var a=g?n:function(d){return Array.from(d.getClientRects())};return ua=a,ua}var sa,Sc;function Bv(){if(Sc)return sa;Sc=1;var y=Dt(),m=cr(),g=zf(),n=De();function a(c){var h=getComputedStyle(c),S=m(c),E=S.createElement("div");E.style.fontFamily=h.fontFamily,E.style.fontSize=h.fontSize,E.style.fontStyle=h.fontStyle,E.style.fontWeight=h.fontWeight,E.style.lineHeight=h.lineHeight,E.style.position="absolute",E.textContent="M";var i=S.body;i||(process.env.NODE_ENV!=="production"?n(!1,"Missing document.body"):n(!1)),i.appendChild(E);var l=E.getBoundingClientRect();return i.removeChild(E),l.height}function d(c,h){for(var S=1/0,E=1/0,i=-1/0,l=-1/0,o=0;o<c.length;o++){var u=c[o];u.width===0||u.width===1||(S=Math.min(S,u.top),E=Math.min(E,u.bottom),i=Math.max(i,u.top),l=Math.max(l,u.bottom))}return i<=E&&i-S<h&&l-E<h}function p(c){switch(c.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return c.length;default:return c.childNodes.length}}function v(c){c.collapsed||(process.env.NODE_ENV!=="production"?n(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):n(!1)),c=c.cloneRange();var h=c.startContainer;h.nodeType!==1&&(h=h.parentNode);var S=a(h),E=c.endContainer,i=c.endOffset;for(c.setStart(c.startContainer,0);d(g(c),S)&&(E=c.startContainer,i=c.startOffset,E.parentNode||(process.env.NODE_ENV!=="production"?n(!1,"Found unexpected detached subtree when traversing."):n(!1)),c.setStartBefore(E),!(E.nodeType===1&&getComputedStyle(E).display!=="inline")););var l=E,o=i-1;do{for(var u=l.nodeValue,r=o;r>=0;r--)if(!(u!=null&&r>0&&y.isSurrogatePair(u,r-1)))if(c.setStart(l,r),d(g(c),S))E=l,i=r;else break;if(r===-1||l.childNodes.length===0)break;l=l.childNodes[r],o=p(l)}while(!0);return c.setStart(E,i),c}return sa=v,sa}var ca,wc;function xv(){if(wc)return ca;wc=1;var y=Te(),m=Bv(),g=Of(),n=io(),a=Gt();function d(p,v){var c=a(p,function(h){var S=h.getSelection();if(S.isCollapsed()&&S.getAnchorOffset()===0)return n(h,1);var E=v.currentTarget.ownerDocument,i=E.defaultView.getSelection(),l=i.getRangeAt(0);return l=m(l),g(h,null,l.endContainer,l.endOffset,l.startContainer,l.startOffset).selectionState},"backward");return c===p.getCurrentContent()?p:y.push(p,c,"remove-range")}return ca=d,ca}var fa,Cc;function Iv(){if(Cc)return fa;Cc=1;var y=`[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]`;return fa={getPunctuation:function(){return y}},fa}var la,Dc;function Hf(){if(Dc)return la;Dc=1;var y=Iv(),m=y.getPunctuation(),g="['‘’]",n="\\s|(?![_])"+m,a="^(?:"+n+")*(?:"+g+"|(?!"+n+").)*(?:(?!"+n+").)",d=new RegExp(a),p="(?:(?!"+n+").)(?:"+g+"|(?!"+n+").)*(?:"+n+")*$",v=new RegExp(p);function c(S,E){var i=E?v.exec(S):d.exec(S);return i?i[0]:S}var h={getBackward:function(E){return c(E,!0)},getForward:function(E){return c(E,!1)}};return la=h,la}var va,bc;function Kv(){if(bc)return va;bc=1;var y=Hf(),m=Te(),g=io(),n=Gt();function a(d){var p=n(d,function(v){var c=v.getSelection(),h=c.getStartOffset();if(h===0)return g(v,1);var S=c.getStartKey(),E=v.getCurrentContent(),i=E.getBlockForKey(S).getText().slice(0,h),l=y.getBackward(i);return g(v,l.length||1)},"backward");return p===d.getCurrentContent()?d:m.push(d,p,"remove-range")}return va=a,va}var da,Oc;function Vf(){if(Oc)return da;Oc=1;var y=no();function m(g,n){var a=g.getSelection();process.env.NODE_ENV!=="production"&&y(a.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var d=a.getStartKey(),p=a.getStartOffset(),v=g.getCurrentContent(),c=d,h,S=v.getBlockForKey(d);return n>S.getText().length-p?(c=v.getKeyAfter(d),h=0):h=p+n,a.merge({focusKey:c,focusOffset:h})}return da=m,da}var pa,Tc;function Mv(){if(Tc)return pa;Tc=1;var y=Hf(),m=Te(),g=Vf(),n=Gt();function a(d){var p=n(d,function(v){var c=v.getSelection(),h=c.getStartOffset(),S=c.getStartKey(),E=v.getCurrentContent(),i=E.getBlockForKey(S).getText().slice(h),l=y.getForward(i);return g(v,l.length||1)},"forward");return p===d.getCurrentContent()?d:m.push(d,p,"remove-range")}return pa=a,pa}var ha,Rc;function Av(){if(Rc)return ha;Rc=1;var y=Ge(),m=Te();function g(n){var a=y.splitBlock(n.getCurrentContent(),n.getSelection());return m.push(n,a,"split-block")}return ha=g,ha}var ga,kc;function Nv(){if(kc)return ga;kc=1;var y=Te();function m(g){var n=g.getSelection(),a=n.getEndKey(),d=g.getCurrentContent(),p=d.getBlockForKey(a).getLength();return y.set(g,{selection:n.merge({anchorKey:a,anchorOffset:p,focusKey:a,focusOffset:p,isBackward:!1}),forceSelection:!0})}return ga=m,ga}var ya,Bc;function Lv(){if(Bc)return ya;Bc=1;var y=Te();function m(g){var n=g.getSelection(),a=n.getStartKey();return y.set(g,{selection:n.merge({anchorKey:a,anchorOffset:0,focusKey:a,focusOffset:0,isBackward:!1}),forceSelection:!0})}return ya=m,ya}var ma,xc;function Fv(){if(xc)return ma;xc=1;var y=Te(),m=Dt(),g=Vf(),n=Gt();function a(d){var p=n(d,function(c){var h=c.getSelection(),S=c.getCurrentContent(),E=h.getAnchorKey(),i=h.getAnchorOffset(),l=S.getBlockForKey(E).getText()[i];return g(c,l?m.getUTF16Length(l,0):1)},"forward");if(p===d.getCurrentContent())return d;var v=d.getSelection();return y.push(d,p.set("selectionBefore",v),v.isCollapsed()?"delete-character":"remove-range")}return ma=a,ma}var _a,Ic;function qv(){if(Ic)return _a;Ic=1;var y=Ge(),m=Te(),g=ar();function n(a){var d=a.getSelection();if(!d.isCollapsed())return a;var p=d.getAnchorOffset();if(p===0)return a;var v=d.getAnchorKey(),c=a.getCurrentContent(),h=c.getBlockForKey(v),S=h.getLength();if(S<=1)return a;var E,i;p===S?(E=d.set("anchorOffset",p-1),i=d):(E=d.set("focusOffset",p+1),i=E.set("anchorOffset",p+1));var l=g(c,E),o=y.removeRange(c,E,"backward"),u=o.getSelectionAfter(),r=u.getAnchorOffset()-1,f=u.merge({anchorOffset:r,focusOffset:r}),w=y.replaceWithFragment(o,f,l),D=m.push(a,w,"insert-fragment");return m.acceptSelection(D,i)}return _a=n,_a}var Ea,Kc;function Pv(){if(Kc)return Ea;Kc=1;var y=Te();function m(g,n,a){var d=y.undo(n);if(n.getLastChangeType()==="spellcheck-change"){var p=d.getCurrentContent();a(y.set(d,{nativelyRenderedContent:p}));return}if(g.preventDefault(),!n.getNativelyRenderedContent()){a(d);return}a(y.set(n,{nativelyRenderedContent:null})),setTimeout(function(){a(d)},0)}return Ea=m,Ea}var Sa,Mc;function Uv(){if(Mc)return Sa;Mc=1;var y=Ge(),m=Te(),g=ao(),n=lr(),a=kv(),d=Je(),p=pr(),v=xv(),c=Kv(),h=Mv(),S=Av(),E=Nv(),i=Lv(),l=Uf(),o=Fv(),u=qv(),r=Pv(),f=g.isOptionKeyCommand,w=d.isBrowser("Chrome");function D(I,k,K){switch(I){case"redo":return m.redo(k);case"delete":return o(k);case"delete-word":return h(k);case"backspace":return l(k);case"backspace-word":return c(k);case"backspace-to-start-of-line":return v(k,K);case"split-block":return S(k);case"transpose-characters":return u(k);case"move-selection-to-start-of-block":return i(k);case"move-selection-to-end-of-block":return E(k);case"secondary-cut":return a.cut(k);case"secondary-paste":return a.paste(k);default:return k}}function O(I,k){var K=k.which,x=I._latestEditorState;function T(L){var F=I.props[L];return F?(F(k),!0):!1}switch(K){case n.RETURN:if(k.preventDefault(),I.props.handleReturn&&p(I.props.handleReturn(k,x)))return;break;case n.ESC:if(k.preventDefault(),T("onEscape"))return;break;case n.TAB:if(T("onTab"))return;break;case n.UP:if(T("onUpArrow"))return;break;case n.RIGHT:if(T("onRightArrow"))return;break;case n.DOWN:if(T("onDownArrow"))return;break;case n.LEFT:if(T("onLeftArrow"))return;break;case n.SPACE:w&&f(k)&&k.preventDefault()}var b=I.props.keyBindingFn(k);if(b==null||b===""){if(K===n.SPACE&&w&&f(k)){var B=y.replaceText(x.getCurrentContent(),x.getSelection()," ");I.update(m.push(x,B,"insert-characters"))}return}if(b==="undo"){r(k,x,I.update);return}if(k.preventDefault(),!(I.props.handleKeyCommand&&p(I.props.handleKeyCommand(b,x,k.timeStamp)))){var A=D(b,x,k);A!==x&&I.update(A)}}return Sa=O,Sa}var wa,Ac;function zv(){if(Ac)return wa;Ac=1;function y(g,n,a){return n in g?Object.defineProperty(g,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):g[n]=a,g}var m=function(){function g(a){y(this,"_uri",void 0),this._uri=a}var n=g.prototype;return n.toString=function(){return this._uri},g}();return wa=m,wa}var Ca,Nc;function Wf(){if(Nc)return Ca;Nc=1;var y=Je(),m=De(),g=y.isBrowser("IE <= 9");function n(a){var d,p=null;return!g&&document.implementation&&document.implementation.createHTMLDocument&&(d=document.implementation.createHTMLDocument("foo"),d.documentElement||(process.env.NODE_ENV!=="production"?m(!1,"Missing doc.documentElement"):m(!1)),d.documentElement.innerHTML=a,p=d.getElementsByTagName("body")[0]),p}return Ca=n,Ca}var Da,Lc;function Hv(){if(Lc)return Da;Lc=1;var y=Ct();function m(g){return!g||!g.ownerDocument?!1:y(g)&&g.nodeName==="A"}return Da=m,Da}var ba,Fc;function Vv(){if(Fc)return ba;Fc=1;var y=Ct();function m(g){return!g||!g.ownerDocument?!1:y(g)&&g.nodeName==="IMG"}return ba=m,ba}var Oa,qc;function Gf(){if(qc)return Oa;qc=1;var y;function m(se){for(var Q=1;Q<arguments.length;Q++){var te=arguments[Q]!=null?arguments[Q]:{},ee=Object.keys(te);typeof Object.getOwnPropertySymbols=="function"&&(ee=ee.concat(Object.getOwnPropertySymbols(te).filter(function(Y){return Object.getOwnPropertyDescriptor(te,Y).enumerable}))),ee.forEach(function(Y){g(se,Y,te[Y])})}return se}function g(se,Q,te){return Q in se?Object.defineProperty(se,Q,{value:te,enumerable:!0,configurable:!0,writable:!0}):se[Q]=te,se}var n=nt(),a=Et(),d=it(),p=Qa(),v=or(),c=zv(),h=St(),S=vt(),E=Wf(),i=mt(),l=Ce(),o=l.List,u=l.Map,r=l.OrderedSet,f=Hv(),w=Bf(),D=Wt(),O=Vv(),I=i("draft_tree_data_support"),k="&nbsp;",K=" ",x=new RegExp("\r","g"),T=new RegExp(`
20
+ `,"g"),b=new RegExp(`^
21
+ `,"g"),B=new RegExp(k,"g"),A=new RegExp("&#13;?","g"),L=new RegExp("&#8203;?","g"),F=["bold","bolder","500","600","700","800","900"],P=["light","lighter","normal","100","200","300","400"],H=["className","href","rel","target","title"],G=["alt","className","height","src","width"],W=(y={},g(y,h("public/DraftStyleDefault/depth0"),0),g(y,h("public/DraftStyleDefault/depth1"),1),g(y,h("public/DraftStyleDefault/depth2"),2),g(y,h("public/DraftStyleDefault/depth3"),3),g(y,h("public/DraftStyleDefault/depth4"),4),y),$=u({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),X=function(Q){var te={};return Q.mapKeys(function(ee,Y){var Z=[Y.element];Y.aliasedElements!==void 0&&Z.push.apply(Z,Y.aliasedElements),Z.forEach(function(J){te[J]===void 0?te[J]=ee:typeof te[J]=="string"?te[J]=[te[J],ee]:te[J].push(ee)})}),u(te)},j=function(Q){if(D(Q)){var te=Q;if(te.style.fontFamily.includes("monospace"))return"CODE"}return null},N=function(Q){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Object.keys(W).some(function(ee){Q.classList.contains(ee)&&(te=W[ee])}),te},oe=function(Q){if(!f(Q))return!1;var te=Q;if(!te.href||te.protocol!=="http:"&&te.protocol!=="https:"&&te.protocol!=="mailto:"&&te.protocol!=="tel:")return!1;try{var ee=new c(te.href);return!0}catch{return!1}},pe=function(Q){if(!O(Q))return!1;var te=Q;return!!(te.attributes.getNamedItem("src")&&te.attributes.getNamedItem("src").value)},ie=function(Q,te){if(!D(Q))return te;var ee=Q,Y=ee.style.fontWeight,Z=ee.style.fontStyle,J=ee.style.textDecoration;return te.withMutations(function(re){F.indexOf(Y)>=0?re.add("BOLD"):P.indexOf(Y)>=0&&re.remove("BOLD"),Z==="italic"?re.add("ITALIC"):Z==="normal"&&re.remove("ITALIC"),J==="underline"&&re.add("UNDERLINE"),J==="line-through"&&re.add("STRIKETHROUGH"),J==="none"&&(re.remove("UNDERLINE"),re.remove("STRIKETHROUGH"))})},ue=function(Q){return Q==="ul"||Q==="ol"},ve=function(){function se(te,ee){g(this,"characterList",o()),g(this,"currentBlockType","unstyled"),g(this,"currentDepth",0),g(this,"currentEntity",null),g(this,"currentText",""),g(this,"wrapper",null),g(this,"blockConfigs",[]),g(this,"contentBlocks",[]),g(this,"entityMap",v),g(this,"blockTypeMap",void 0),g(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=te,this.disambiguate=ee}var Q=se.prototype;return Q.clear=function(){this.characterList=o(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=v,this.wrapper=null,this.contentBlocks=[]},Q.addDOMNode=function(ee){var Y;return this.contentBlocks=[],this.currentDepth=0,(Y=this.blockConfigs).push.apply(Y,this._toBlockConfigs([ee],r())),this._trimCurrentText(),this.currentText!==""&&this.blockConfigs.push(this._makeBlockConfig()),this},Q.getContentBlocks=function(){return this.contentBlocks.length===0&&(I?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},Q._makeBlockConfig=function(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Y=ee.key||S(),Z=m({key:Y,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:o(),prevSibling:null,nextSibling:null,childConfigs:[]},ee);return this.characterList=o(),this.currentBlockType="unstyled",this.currentText="",Z},Q._toBlockConfigs=function(ee,Y){for(var Z=[],J=0;J<ee.length;J++){var re=ee[J],he=re.nodeName.toLowerCase();if(he==="body"||ue(he)){this._trimCurrentText(),this.currentText!==""&&Z.push(this._makeBlockConfig());var me=this.currentDepth,Ke=this.wrapper;ue(he)&&(this.wrapper=he,ue(Ke)&&this.currentDepth++),Z.push.apply(Z,this._toBlockConfigs(Array.from(re.childNodes),Y)),this.currentDepth=me,this.wrapper=Ke;continue}var Me=this.blockTypeMap.get(he);if(Me!==void 0){this._trimCurrentText(),this.currentText!==""&&Z.push(this._makeBlockConfig());var Be=this.currentDepth,Fe=this.wrapper;if(this.wrapper=he==="pre"?"pre":this.wrapper,typeof Me!="string"&&(Me=this.disambiguate(he,this.wrapper)||Me[0]||"unstyled"),!I&&D(re)&&(Me==="unordered-list-item"||Me==="ordered-list-item")){var Ae=re;this.currentDepth=N(Ae,this.currentDepth)}var qe=S(),et=this._toBlockConfigs(Array.from(re.childNodes),Y);this._trimCurrentText(),Z.push(this._makeBlockConfig({key:qe,childConfigs:et,type:Me})),this.currentDepth=Be,this.wrapper=Fe;continue}if(he==="#text"){this._addTextNode(re,Y);continue}if(he==="br"){this._addBreakNode(re,Y);continue}if(pe(re)){this._addImgNode(re,Y);continue}if(oe(re)){this._addAnchorNode(re,Z,Y);continue}var ce=Y;$.has(he)&&(ce=ce.add($.get(he))),ce=ie(re,ce);var ge=j(re);ge!=null&&(ce=ce.add(ge)),Z.push.apply(Z,this._toBlockConfigs(Array.from(re.childNodes),ce))}return Z},Q._appendText=function(ee,Y){var Z;this.currentText+=ee;var J=n.create({style:Y,entity:this.currentEntity});this.characterList=(Z=this.characterList).push.apply(Z,Array(ee.length).fill(J))},Q._trimCurrentText=function(){var ee=this.currentText.length,Y=ee-this.currentText.trimLeft().length,Z=this.currentText.trimRight().length,J=this.characterList.findEntry(function(re){return re.getEntity()!==null});Y=J!==void 0?Math.min(Y,J[0]):Y,J=this.characterList.reverse().findEntry(function(re){return re.getEntity()!==null}),Z=J!==void 0?Math.max(Z,ee-J[0]):Z,Y>Z?(this.currentText="",this.characterList=o()):(this.currentText=this.currentText.slice(Y,Z),this.characterList=this.characterList.slice(Y,Z))},Q._addTextNode=function(ee,Y){var Z=ee.textContent,J=Z.trim();J===""&&this.wrapper!=="pre"&&(Z=" "),this.wrapper!=="pre"&&(Z=Z.replace(b,""),Z=Z.replace(T,K)),this._appendText(Z,Y)},Q._addBreakNode=function(ee,Y){w(ee)&&this._appendText(`
22
+ `,Y)},Q._addImgNode=function(ee,Y){if(O(ee)){var Z=ee,J={};G.forEach(function(re){var he=Z.getAttribute(re);he&&(J[re]=he)}),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",J),i("draftjs_fix_paste_for_img")?Z.getAttribute("role")!=="presentation"&&this._appendText("📷",Y):this._appendText("📷",Y),this.currentEntity=null}},Q._addAnchorNode=function(ee,Y,Z){if(f(ee)){var J=ee,re={};H.forEach(function(he){var me=J.getAttribute(he);me&&(re[he]=me)}),re.url=new c(J.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",re||{}),Y.push.apply(Y,this._toBlockConfigs(Array.from(ee.childNodes),Z)),this.currentEntity=null}},Q._toContentBlocks=function(ee){for(var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Z=ee.length-1,J=0;J<=Z;J++){var re=ee[J];re.parent=Y,re.prevSibling=J>0?ee[J-1].key:null,re.nextSibling=J<Z?ee[J+1].key:null,re.children=o(re.childConfigs.map(function(he){return he.key})),this.contentBlocks.push(new d(m({},re))),this._toContentBlocks(re.childConfigs,re.key)}},Q._hoistContainersInBlockConfigs=function(ee){var Y=this,Z=o(ee).flatMap(function(J){return J.type!=="unstyled"||J.text!==""?[J]:Y._hoistContainersInBlockConfigs(J.childConfigs)});return Z},Q._toFlatContentBlocks=function(ee){var Y=this,Z=this._hoistContainersInBlockConfigs(ee);Z.forEach(function(J){var re=Y._extractTextFromBlockConfigs(J.childConfigs),he=re.text,me=re.characterList;Y.contentBlocks.push(new a(m({},J,{text:J.text+he,characterList:J.characterList.concat(me)})))})},Q._extractTextFromBlockConfigs=function(ee){for(var Y=ee.length-1,Z="",J=o(),re=0;re<=Y;re++){var he=ee[re];Z+=he.text,J=J.concat(he.characterList),Z!==""&&he.type!=="unstyled"&&(Z+=`
23
+ `,J=J.push(J.last()));var me=this._extractTextFromBlockConfigs(he.childConfigs);Z+=me.text,J=J.concat(me.characterList)}return{text:Z,characterList:J}},se}(),we=function(Q){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:E,ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p;Q=Q.trim().replace(x,"").replace(B,K).replace(A,"").replace(L,"");var Y=te(Q);if(!Y)return null;var Z=X(ee),J=function(he,me){return he==="li"?me==="ol"?"ordered-list-item":"unordered-list-item":null};return new ve(Z,J).addDOMNode(Y).getContentBlocks()};return Oa=we,Oa}var Ta,Pc;function Wv(){if(Pc)return Ta;Pc=1;function y(u){for(var r=1;r<arguments.length;r++){var f=arguments[r]!=null?arguments[r]:{},w=Object.keys(f);typeof Object.getOwnPropertySymbols=="function"&&(w=w.concat(Object.getOwnPropertySymbols(f).filter(function(D){return Object.getOwnPropertyDescriptor(f,D).enumerable}))),w.forEach(function(D){m(u,D,f[D])})}return u}function m(u,r,f){return r in u?Object.defineProperty(u,r,{value:f,enumerable:!0,configurable:!0,writable:!0}):u[r]=f,u}var g=Et(),n=it(),a=Gf(),d=vt(),p=Wf(),v=mt(),c=Ce(),h=_f(),S=c.List,E=c.Repeat,i=v("draft_tree_data_support"),l=i?n:g,o={processHTML:function(r,f){return a(r,p,f)},processText:function(r,f,w){return r.reduce(function(D,O,I){O=h(O);var k=d(),K={key:k,type:w,text:O,characterList:S(E(f,O.length))};if(i&&I!==0){var x=I-1,T=D[x]=D[x].merge({nextSibling:k});K=y({},K,{prevSibling:T.getKey()})}return D.push(new l(K)),D},[])}};return Ta=o,Ta}var Ra,Uc;function Gv(){if(Uc)return Ra;Uc=1;function y(m,g,n,a){var d=g.getStartKey(),p=g.getEndKey(),v=m.getBlockMap(),c=v.toSeq().skipUntil(function(h,S){return S===d}).takeUntil(function(h,S){return S===p}).concat([[p,v.get(p)]]).map(function(h){var S=h.getDepth()+n;return S=Math.max(0,Math.min(S,a)),h.set("depth",S)});return v=v.merge(c),m.merge({blockMap:v,selectionBefore:g,selectionAfter:g})}return Ra=y,Ra}var ka,zc;function jf(){if(zc)return ka;zc=1;var y=Ge(),m=Te(),g=Gv(),n=je(),a={currentBlockContainsLink:function(p){var v=p.getSelection(),c=p.getCurrentContent(),h=c.getEntityMap();return c.getBlockForKey(v.getAnchorKey()).getCharacterList().slice(v.getStartOffset(),v.getEndOffset()).some(function(S){var E=S.getEntity();return!!E&&h.__get(E).getType()==="LINK"})},getCurrentBlockType:function(p){var v=p.getSelection();return p.getCurrentContent().getBlockForKey(v.getStartKey()).getType()},getDataObjectForLinkURL:function(p){return{url:p.toString()}},handleKeyCommand:function(p,v,c){switch(v){case"bold":return a.toggleInlineStyle(p,"BOLD");case"italic":return a.toggleInlineStyle(p,"ITALIC");case"underline":return a.toggleInlineStyle(p,"UNDERLINE");case"code":return a.toggleCode(p);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return a.onBackspace(p);case"delete":case"delete-word":case"delete-to-end-of-block":return a.onDelete(p);default:return null}},insertSoftNewline:function(p){var v=y.insertText(p.getCurrentContent(),p.getSelection(),`
24
+ `,p.getCurrentInlineStyle(),null),c=m.push(p,v,"insert-characters");return m.forceSelection(c,v.getSelectionAfter())},onBackspace:function(p){var v=p.getSelection();if(!v.isCollapsed()||v.getAnchorOffset()||v.getFocusOffset())return null;var c=p.getCurrentContent(),h=v.getStartKey(),S=c.getBlockBefore(h);if(S&&S.getType()==="atomic"){var E=c.getBlockMap().delete(S.getKey()),i=c.merge({blockMap:E,selectionAfter:v});if(i!==c)return m.push(p,i,"remove-range")}var l=a.tryToRemoveBlockStyle(p);return l?m.push(p,l,"change-block-type"):null},onDelete:function(p){var v=p.getSelection();if(!v.isCollapsed())return null;var c=p.getCurrentContent(),h=v.getStartKey(),S=c.getBlockForKey(h),E=S.getLength();if(v.getStartOffset()<E)return null;var i=c.getBlockAfter(h);if(!i||i.getType()!=="atomic")return null;var l=v.merge({focusKey:i.getKey(),focusOffset:i.getLength()}),o=y.removeRange(c,l,"forward");return o!==c?m.push(p,o,"remove-range"):null},onTab:function(p,v,c){var h=v.getSelection(),S=h.getAnchorKey();if(S!==h.getFocusKey())return v;var E=v.getCurrentContent(),i=E.getBlockForKey(S),l=i.getType();if(l!=="unordered-list-item"&&l!=="ordered-list-item")return v;p.preventDefault();var o=i.getDepth();if(!p.shiftKey&&o===c)return v;var u=g(E,h,p.shiftKey?-1:1,c);return m.push(v,u,"adjust-depth")},toggleBlockType:function(p,v){var c=p.getSelection(),h=c.getStartKey(),S=c.getEndKey(),E=p.getCurrentContent(),i=c;if(h!==S&&c.getEndOffset()===0){var l=n(E.getBlockBefore(S));S=l.getKey(),i=i.merge({anchorKey:h,anchorOffset:c.getStartOffset(),focusKey:S,focusOffset:l.getLength(),isBackward:!1})}var o=E.getBlockMap().skipWhile(function(r,f){return f!==h}).reverse().skipWhile(function(r,f){return f!==S}).some(function(r){return r.getType()==="atomic"});if(o)return p;var u=E.getBlockForKey(h).getType()===v?"unstyled":v;return m.push(p,y.setBlockType(E,i,u),"change-block-type")},toggleCode:function(p){var v=p.getSelection(),c=v.getAnchorKey(),h=v.getFocusKey();return v.isCollapsed()||c!==h?a.toggleBlockType(p,"code-block"):a.toggleInlineStyle(p,"CODE")},toggleInlineStyle:function(p,v){var c=p.getSelection(),h=p.getCurrentInlineStyle();if(c.isCollapsed())return m.setInlineStyleOverride(p,h.has(v)?h.remove(v):h.add(v));var S=p.getCurrentContent(),E;return h.has(v)?E=y.removeInlineStyle(S,c,v):E=y.applyInlineStyle(S,c,v),m.push(p,E,"change-inline-style")},toggleLink:function(p,v,c){var h=y.applyEntity(p.getCurrentContent(),v,c);return m.push(p,h,"apply-entity")},tryToRemoveBlockStyle:function(p){var v=p.getSelection(),c=v.getAnchorOffset();if(v.isCollapsed()&&c===0){var h=v.getAnchorKey(),S=p.getCurrentContent(),E=S.getBlockForKey(h),i=E.getType(),l=S.getBlockBefore(h);if(i==="code-block"&&l&&l.getType()==="code-block"&&l.getLength()!==0)return null;if(i!=="unstyled")return y.setBlockType(S,v,"unstyled")}return null}};return ka=a,ka}var Ba,Hc;function jv(){if(Hc)return Ba;Hc=1;var y=/\r\n?|\n/g;function m(g){return g.split(y)}return Ba=m,Ba}var xa,Vc;function Jv(){if(Vc)return xa;Vc=1;var y=Ht(),m=nt(),g=Ff(),n=Ge(),a=Wv(),d=Te(),p=jf(),v=eo(),c=qf(),h=pr(),S=jv();function E(o,u){u.preventDefault();var r=new g(u.clipboardData);if(!r.isRichText()){var f=r.getFiles(),w=r.getText();if(f.length>0){if(o.props.handlePastedFiles&&h(o.props.handlePastedFiles(f)))return;c(f,function(X){if(X=X||w,!!X){var j=o._latestEditorState,N=S(X),oe=m.create({style:j.getCurrentInlineStyle(),entity:v(j.getCurrentContent(),j.getSelection())}),pe=p.getCurrentBlockType(j),ie=a.processText(N,oe,pe),ue=y.createFromArray(ie),ve=n.replaceWithFragment(j.getCurrentContent(),j.getSelection(),ue);o.update(d.push(j,ve,"insert-fragment"))}});return}}var D=[],O=r.getText(),I=r.getHTML(),k=o._latestEditorState;if(o.props.formatPastedText){var K=o.props.formatPastedText(O,I),x=K.text,T=K.html;O=x,I=T}if(!(o.props.handlePastedText&&h(o.props.handlePastedText(O,I,k)))){if(O&&(D=S(O)),!o.props.stripPastedStyles){var b=o.getClipboard();if(!o.props.formatPastedText&&r.isRichText()&&b){var B;if(((B=I)===null||B===void 0?void 0:B.indexOf(o.getEditorKey()))!==-1||D.length===1&&b.size===1&&b.first().getText()===O){o.update(i(o._latestEditorState,b));return}}else if(b&&r.types.includes("com.apple.webarchive")&&!r.types.includes("text/html")&&l(D,b)){o.update(i(o._latestEditorState,b));return}if(I){var A=a.processHTML(I,o.props.blockRenderMap);if(A){var L=A.contentBlocks,F=A.entityMap;if(L){var P=y.createFromArray(L);o.update(i(o._latestEditorState,P,F));return}}}o.setClipboard(null)}if(D.length){var H=m.create({style:k.getCurrentInlineStyle(),entity:v(k.getCurrentContent(),k.getSelection())}),G=p.getCurrentBlockType(k),W=a.processText(D,H,G),$=y.createFromArray(W);o.update(i(o._latestEditorState,$))}}}function i(o,u,r){var f=n.replaceWithFragment(o.getCurrentContent(),o.getSelection(),u);return d.push(o,f.set("entityMap",r),"insert-fragment")}function l(o,u){return o.length===u.size&&u.valueSeq().every(function(r,f){return r.getText()===o[f]})}return xa=E,xa}var Ia,Wc;function Xv(){if(Wc)return Ia;Wc=1;var y=Je(),m=mv(),g=_v(),n=Ev(),a=Sv(),d=Cv(),p=Dv(),v=bv(),c=Ov(),h=Tv(),S=Uv(),E=Jv(),i=Rf(),l=y.isBrowser("Chrome"),o=y.isBrowser("Firefox"),u=l||o?i:function(f){},r={onBeforeInput:m,onBlur:g,onCompositionStart:n,onCopy:a,onCut:d,onDragOver:p,onDragStart:v,onFocus:c,onInput:h,onKeyDown:S,onPaste:E,onSelect:i,onMouseUp:u,onKeyUp:u};return Ia=r,Ia}var Ka,Gc;function Yv(){if(Gc)return Ka;Gc=1;var y=Dl,m=y.unstable_flushControlled;return Ka=m,Ka}var Ma,jc;function $v(){if(jc)return Ma;jc=1;function y(a,d){a.prototype=Object.create(d.prototype),a.prototype.constructor=a,a.__proto__=d}var m=ot,g=St(),n=function(a){y(d,a);function d(){return a.apply(this,arguments)||this}var p=d.prototype;return p.shouldComponentUpdate=function(c){return this.props.text!==c.text||this.props.editorState.getSelection().getHasFocus()!==c.editorState.getSelection().getHasFocus()},p.render=function(){var c=this.props.editorState.getSelection().getHasFocus(),h=g({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":c}),S={whiteSpace:"pre-wrap"};return m.createElement("div",{className:h},m.createElement("div",{className:g("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:S},this.props.text))},d}(m.Component);return Ma=n,Ma}var Aa,Jc;function Jf(){if(Jc)return Aa;Jc=1;var y=ao(),m=lr(),g=Je(),n=g.isPlatform("Mac OS X"),a=n&&g.isBrowser("Firefox < 29"),d=y.hasCommandModifier,p=y.isCtrlKeyCommand;function v(i){return n&&i.altKey||p(i)}function c(i){return d(i)?i.shiftKey?"redo":"undo":null}function h(i){return!n&&i.shiftKey?null:v(i)?"delete-word":"delete"}function S(i){return d(i)&&n?"backspace-to-start-of-line":v(i)?"backspace-word":"backspace"}function E(i){switch(i.keyCode){case 66:return d(i)?"bold":null;case 68:return p(i)?"delete":null;case 72:return p(i)?"backspace":null;case 73:return d(i)?"italic":null;case 74:return d(i)?"code":null;case 75:return n&&p(i)?"secondary-cut":null;case 77:return p(i)?"split-block":null;case 79:return p(i)?"split-block":null;case 84:return n&&p(i)?"transpose-characters":null;case 85:return d(i)?"underline":null;case 87:return n&&p(i)?"backspace-word":null;case 89:return p(i)?n?"secondary-paste":"redo":null;case 90:return c(i)||null;case m.RETURN:return"split-block";case m.DELETE:return h(i);case m.BACKSPACE:return S(i);case m.LEFT:return a&&d(i)?"move-selection-to-start-of-block":null;case m.RIGHT:return a&&d(i)?"move-selection-to-end-of-block":null;default:return null}}return Aa=E,Aa}var Na,Xc;function Zv(){if(Xc)return Na;Xc=1;var y=wt();function m(){return m=y||function(W){for(var $=1;$<arguments.length;$++){var X=arguments[$];for(var j in X)Object.prototype.hasOwnProperty.call(X,j)&&(W[j]=X[j])}return W},m.apply(this,arguments)}function g(W){for(var $=1;$<arguments.length;$++){var X=arguments[$]!=null?arguments[$]:{},j=Object.keys(X);typeof Object.getOwnPropertySymbols=="function"&&(j=j.concat(Object.getOwnPropertySymbols(X).filter(function(N){return Object.getOwnPropertyDescriptor(X,N).enumerable}))),j.forEach(function(N){a(W,N,X[N])})}return W}function n(W){if(W===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W}function a(W,$,X){return $ in W?Object.defineProperty(W,$,{value:X,enumerable:!0,configurable:!0,writable:!0}):W[$]=X,W}function d(W,$){W.prototype=Object.create($.prototype),W.prototype.constructor=W,W.__proto__=$}var p=Qa(),v=Ef(),c=Jl(),h=lv(),S=pv(),E=Xv(),i=Yv(),l=$v(),o=xf(),u=Te(),r=ot,f=ro(),w=vr(),D=Je(),O=St(),I=vt(),k=Jf(),K=dr(),x=mt(),T=De(),b=Wt(),B=je(),A=D.isBrowser("IE"),L=!A,F={edit:E,composite:c,drag:S,cut:null,render:null},P=!1,H=function(W){d($,W);function $(){return W.apply(this,arguments)||this}var X=$.prototype;return X.render=function(){return null},X.componentDidMount=function(){this._update()},X.componentDidUpdate=function(){this._update()},X._update=function(){var N=this.props.editor;N._latestEditorState=this.props.editorState,N._blockSelectEvents=!0},$}(r.Component),G=function(W){d($,W);function $(j){var N;return N=W.call(this,j)||this,a(n(N),"_blockSelectEvents",void 0),a(n(N),"_clipboard",void 0),a(n(N),"_handler",void 0),a(n(N),"_dragCount",void 0),a(n(N),"_internalDrag",void 0),a(n(N),"_editorKey",void 0),a(n(N),"_placeholderAccessibilityID",void 0),a(n(N),"_latestEditorState",void 0),a(n(N),"_latestCommittedEditorState",void 0),a(n(N),"_pendingStateFromBeforeInput",void 0),a(n(N),"_onBeforeInput",void 0),a(n(N),"_onBlur",void 0),a(n(N),"_onCharacterData",void 0),a(n(N),"_onCompositionEnd",void 0),a(n(N),"_onCompositionStart",void 0),a(n(N),"_onCopy",void 0),a(n(N),"_onCut",void 0),a(n(N),"_onDragEnd",void 0),a(n(N),"_onDragOver",void 0),a(n(N),"_onDragStart",void 0),a(n(N),"_onDrop",void 0),a(n(N),"_onInput",void 0),a(n(N),"_onFocus",void 0),a(n(N),"_onKeyDown",void 0),a(n(N),"_onKeyPress",void 0),a(n(N),"_onKeyUp",void 0),a(n(N),"_onMouseDown",void 0),a(n(N),"_onMouseUp",void 0),a(n(N),"_onPaste",void 0),a(n(N),"_onSelect",void 0),a(n(N),"editor",void 0),a(n(N),"editorContainer",void 0),a(n(N),"focus",void 0),a(n(N),"blur",void 0),a(n(N),"setMode",void 0),a(n(N),"exitCurrentMode",void 0),a(n(N),"restoreEditorDOM",void 0),a(n(N),"setClipboard",void 0),a(n(N),"getClipboard",void 0),a(n(N),"getEditorKey",void 0),a(n(N),"update",void 0),a(n(N),"onDragEnter",void 0),a(n(N),"onDragLeave",void 0),a(n(N),"_handleEditorContainerRef",function(oe){N.editorContainer=oe,N.editor=oe!==null?oe.firstChild:null}),a(n(N),"focus",function(oe){var pe=N.props.editorState,ie=pe.getSelection().getHasFocus(),ue=N.editor;if(ue){var ve=w.getScrollParent(ue),we=oe||K(ve),se=we.x,Q=we.y;b(ue)||(process.env.NODE_ENV!=="production"?T(!1,"editorNode is not an HTMLElement"):T(!1)),ue.focus(),ve===window?window.scrollTo(se,Q):f.setTop(ve,Q),ie||N.update(u.forceSelection(pe,pe.getSelection()))}}),a(n(N),"blur",function(){var oe=N.editor;oe&&(b(oe)||(process.env.NODE_ENV!=="production"?T(!1,"editorNode is not an HTMLElement"):T(!1)),oe.blur())}),a(n(N),"setMode",function(oe){var pe=N.props,ie=pe.onPaste,ue=pe.onCut,ve=pe.onCopy,we=g({},F.edit);ie&&(we.onPaste=ie),ue&&(we.onCut=ue),ve&&(we.onCopy=ve);var se=g({},F,{edit:we});N._handler=se[oe]}),a(n(N),"exitCurrentMode",function(){N.setMode("edit")}),a(n(N),"restoreEditorDOM",function(oe){N.setState({contentsKey:N.state.contentsKey+1},function(){N.focus(oe)})}),a(n(N),"setClipboard",function(oe){N._clipboard=oe}),a(n(N),"getClipboard",function(){return N._clipboard}),a(n(N),"update",function(oe){N._latestEditorState=oe,N.props.onChange(oe)}),a(n(N),"onDragEnter",function(){N._dragCount++}),a(n(N),"onDragLeave",function(){N._dragCount--,N._dragCount===0&&N.exitCurrentMode()}),N._blockSelectEvents=!1,N._clipboard=null,N._handler=null,N._dragCount=0,N._editorKey=j.editorKey||I(),N._placeholderAccessibilityID="placeholder-"+N._editorKey,N._latestEditorState=j.editorState,N._latestCommittedEditorState=j.editorState,N._onBeforeInput=N._buildHandler("onBeforeInput"),N._onBlur=N._buildHandler("onBlur"),N._onCharacterData=N._buildHandler("onCharacterData"),N._onCompositionEnd=N._buildHandler("onCompositionEnd"),N._onCompositionStart=N._buildHandler("onCompositionStart"),N._onCopy=N._buildHandler("onCopy"),N._onCut=N._buildHandler("onCut"),N._onDragEnd=N._buildHandler("onDragEnd"),N._onDragOver=N._buildHandler("onDragOver"),N._onDragStart=N._buildHandler("onDragStart"),N._onDrop=N._buildHandler("onDrop"),N._onInput=N._buildHandler("onInput"),N._onFocus=N._buildHandler("onFocus"),N._onKeyDown=N._buildHandler("onKeyDown"),N._onKeyPress=N._buildHandler("onKeyPress"),N._onKeyUp=N._buildHandler("onKeyUp"),N._onMouseDown=N._buildHandler("onMouseDown"),N._onMouseUp=N._buildHandler("onMouseUp"),N._onPaste=N._buildHandler("onPaste"),N._onSelect=N._buildHandler("onSelect"),N.getEditorKey=function(){return N._editorKey},process.env.NODE_ENV!=="production"&&["onDownArrow","onEscape","onLeftArrow","onRightArrow","onTab","onUpArrow"].forEach(function(oe){j.hasOwnProperty(oe)&&console.warn("Supplying an `".concat(oe,"` prop to `DraftEditor` has ")+"been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/wHKQ3W).")}),N.state={contentsKey:0},N}var X=$.prototype;return X._buildHandler=function(N){var oe=this;return function(pe){if(!oe.props.readOnly){var ie=oe._handler&&oe._handler[N];ie&&(i?i(function(){return ie(oe,pe)}):ie(oe,pe))}}},X._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},X._renderPlaceholder=function(){if(this._showPlaceholder()){var N={text:B(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return r.createElement(l,N)}return null},X._renderARIADescribedBy=function(){var N=this.props.ariaDescribedBy||"",oe=this._showPlaceholder()?this._placeholderAccessibilityID:"";return N.replace("{{editor_id_placeholder}}",oe)||void 0},X.render=function(){var N=this.props,oe=N.blockRenderMap,pe=N.blockRendererFn,ie=N.blockStyleFn,ue=N.customStyleFn,ve=N.customStyleMap,we=N.editorState,se=N.preventScroll,Q=N.readOnly,te=N.textAlignment,ee=N.textDirectionality,Y=O({"DraftEditor/root":!0,"DraftEditor/alignLeft":te==="left","DraftEditor/alignRight":te==="right","DraftEditor/alignCenter":te==="center"}),Z={outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},J=this.props.role||"textbox",re=J==="combobox"?!!this.props.ariaExpanded:null,he={blockRenderMap:oe,blockRendererFn:pe,blockStyleFn:ie,customStyleMap:g({},v,ve),customStyleFn:ue,editorKey:this._editorKey,editorState:we,preventScroll:se,textDirectionality:ee};return r.createElement("div",{className:Y},this._renderPlaceholder(),r.createElement("div",{className:O("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},r.createElement("div",{"aria-activedescendant":Q?null:this.props.ariaActiveDescendantID,"aria-autocomplete":Q?null:this.props.ariaAutoComplete,"aria-controls":Q?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":Q?null:re,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":Q?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:O({notranslate:!Q,"public/DraftEditor/content":!0}),contentEditable:!Q,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:Q?null:J,spellCheck:L&&this.props.spellCheck,style:Z,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},r.createElement(H,{editor:this,editorState:we}),r.createElement(h,m({},he,{key:"contents"+this.state.contentsKey})))))},X.componentDidMount=function(){this._blockSelectEvents=!1,!P&&x("draft_ods_enabled")&&(P=!0,o.initODS()),this.setMode("edit"),A&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):window.execCommand("AutoUrlDetect",!1,!1))},X.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},$}(r.Component);return a(G,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:p,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:k,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),Na=G,Na}var Yc={},$c;function Qv(){return $c||($c=1),Yc}var La,Zc;function Xf(){if(Zc)return La;Zc=1;var y={stringify:function(g){return"_"+String(g)},unstringify:function(g){return g.slice(1)}};return La=y,La}var Fa,Qc;function ed(){if(Qc)return Fa;Qc=1;var y=Xf(),m=Dt(),g=m.strlen;function n(a,d){var p=[];return a.findEntityRanges(function(v){return!!v.getEntity()},function(v,c){var h=a.getText(),S=a.getEntityAt(v);p.push({offset:g(h.slice(0,v)),length:g(h.slice(v,c)),key:Number(d[y.stringify(S)])})}),p}return Fa=n,Fa}var qa,ef;function td(){if(ef)return qa;ef=1;var y=Dt(),m=Vt(),g=function(c,h){return c===h},n=function(c){return!!c},a=[];function d(v,c,h){var S=[],E=c.map(function(i){return i.has(h)}).toList();return m(E,g,n,function(i,l){var o=v.getText();S.push({offset:y.strlen(o.slice(0,i)),length:y.strlen(o.slice(i,l)),style:h})}),S}function p(v){var c=v.getCharacterList().map(function(S){return S.getStyle()}).toList(),h=c.flatten().toSet().map(function(S){return d(v,c,S)});return Array.prototype.concat.apply(a,h.toJS())}return qa=p,qa}var Pa,tf;function rd(){if(tf)return Pa;tf=1;function y(l){for(var o=1;o<arguments.length;o++){var u=arguments[o]!=null?arguments[o]:{},r=Object.keys(u);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(u).filter(function(f){return Object.getOwnPropertyDescriptor(u,f).enumerable}))),r.forEach(function(f){m(l,f,u[f])})}return l}function m(l,o,u){return o in l?Object.defineProperty(l,o,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[o]=u,l}var g=Et(),n=it(),a=Xf(),d=ed(),p=td(),v=De(),c=function(o,u){return{key:o.getKey(),text:o.getText(),type:o.getType(),depth:o.getDepth(),inlineStyleRanges:p(o),entityRanges:d(o,u),data:o.getData().toObject()}},h=function(o,u,r,f){if(o instanceof g){r.push(c(o,u));return}o instanceof n||(process.env.NODE_ENV!=="production"?v(!1,"block is not a BlockNode"):v(!1));var w=o.getParentKey(),D=f[o.getKey()]=y({},c(o,u),{children:[]});if(w){f[w].children.push(D);return}r.push(D)},S=function(o,u){var r=u.entityMap,f=[],w={},D={},O=0;return o.getBlockMap().forEach(function(I){I.findEntityRanges(function(k){return k.getEntity()!==null},function(k){var K=I.getEntityAt(k),x=a.stringify(K);D[x]||(D[x]=K,r[x]="".concat(O),O++)}),h(I,r,f,w)}),{blocks:f,entityMap:r}},E=function(o,u){var r=u.blocks,f=u.entityMap,w={};return Object.keys(f).forEach(function(D,O){var I=o.getEntity(a.unstringify(D));w[O]={type:I.getType(),mutability:I.getMutability(),data:I.getData()}}),{blocks:r,entityMap:w}},i=function(o){var u={entityMap:{},blocks:[]};return u=S(o,u),u=E(o,u),u};return Pa=i,Pa}var Ua,rf;function nd(){if(rf)return Ua;rf=1;function y(c){for(var h=1;h<arguments.length;h++){var S=arguments[h]!=null?arguments[h]:{},E=Object.keys(S);typeof Object.getOwnPropertySymbols=="function"&&(E=E.concat(Object.getOwnPropertySymbols(S).filter(function(i){return Object.getOwnPropertyDescriptor(S,i).enumerable}))),E.forEach(function(i){m(c,i,S[i])})}return c}function m(c,h,S){return h in c?Object.defineProperty(c,h,{value:S,enumerable:!0,configurable:!0,writable:!0}):c[h]=S,c}var g=vt(),n=De(),a=function(h,S){for(var E=[].concat(h).reverse();E.length;){var i=E.pop();S(i);var l=i.children;Array.isArray(l)||(process.env.NODE_ENV!=="production"?n(!1,"Invalid tree raw block"):n(!1)),E=E.concat([].concat(l.reverse()))}},d=function(h){if(!(h&&h.type))return!1;var S=h.type;return S==="unordered-list-item"||S==="ordered-list-item"},p=function(h){Array.isArray(h.children)&&(h.children=h.children.map(function(S){return S.type===h.type?y({},S,{depth:(h.depth||0)+1}):S}))},v={fromRawTreeStateToRawState:function(h){var S=h.blocks,E=[];return Array.isArray(S)||(process.env.NODE_ENV!=="production"?n(!1,"Invalid raw state"):n(!1)),!Array.isArray(S)||!S.length?h:(a(S,function(i){var l=y({},i);d(i)&&(l.depth=l.depth||0,p(i),i.children!=null&&i.children.length>0)||(delete l.children,E.push(l))}),h.blocks=E,y({},h,{blocks:E}))},fromRawStateToRawTreeState:function(h){var S=[],E=[];return h.blocks.forEach(function(i){var l=d(i),o=i.depth||0,u=y({},i,{children:[]});if(!l){S.push(u);return}var r=E[0];if(r==null&&o===0)S.push(u);else if(r==null||r.depth<o-1){var f={key:g(),text:"",depth:o-1,type:i.type,children:[],entityRanges:[],inlineStyleRanges:[]};E.unshift(f),o===1?S.push(f):r?.children.push(f),f.children.push(u)}else if(r.depth===o-1)r.children.push(u);else{for(;r!=null&&r.depth>=o;)E.shift(),r=E[0];o>0?r.children.push(u):S.push(u)}}),y({},h,{blocks:S})}};return Ua=v,Ua}var za,nf;function id(){if(nf)return za;nf=1;var y=no(),m={isValidBlock:function(n,a){var d=n.getKey(),p=n.getParentKey();if(p!=null){var v=a.get(p);if(!v.getChildKeys().includes(d))return process.env.NODE_ENV!=="production"&&y(!0,"Tree is missing parent -> child pointer on %s",d),!1}var c=n.getChildKeys().map(function(l){return a.get(l)});if(!c.every(function(l){return l.getParentKey()===d}))return process.env.NODE_ENV!=="production"&&y(!0,"Tree is missing child -> parent pointer on %s",d),!1;var h=n.getPrevSiblingKey();if(h!=null){var S=a.get(h);if(S.getNextSiblingKey()!==d)return process.env.NODE_ENV!=="production"&&y(!0,"Tree is missing nextSibling pointer on %s's prevSibling",d),!1}var E=n.getNextSiblingKey();if(E!=null){var i=a.get(E);if(i.getPrevSiblingKey()!==d)return process.env.NODE_ENV!=="production"&&y(!0,"Tree is missing prevSibling pointer on %s's nextSibling",d),!1}return E!==null&&h!==null&&h===E?(process.env.NODE_ENV!=="production"&&y(!0,"Tree has a two-node cycle at %s",d),!1):n.text!=""&&n.getChildKeys().size>0?(process.env.NODE_ENV!=="production"&&y(!0,"Leaf node %s has children",d),!1):!0},isConnectedTree:function(n){var a=n.toArray().filter(function(o){return o.getParentKey()==null&&o.getPrevSiblingKey()==null});if(a.length!==1)return process.env.NODE_ENV!=="production"&&y(!0,"Tree is not connected. More or less than one first node"),!1;for(var d=a.shift(),p=0,v=d.getKey(),c=[];v!=null;){var h=n.get(v),S=h.getChildKeys(),E=h.getNextSiblingKey();if(S.size>0){E!=null&&c.unshift(E);var i=S.map(function(o){return n.get(o)}),l=i.find(function(o){return o.getPrevSiblingKey()==null});if(l==null)return process.env.NODE_ENV!=="production"&&y(!0,"%s has no first child",v),!1;v=l.getKey()}else h.getNextSiblingKey()!=null?v=h.getNextSiblingKey():v=c.shift();p++}return p!==n.size?(process.env.NODE_ENV!=="production"&&y(!0,"Tree is not connected. %s nodes were seen instead of %s",p,n.size),!1):!0},isValidTree:function(n){var a=this,d=n.toArray();return d.every(function(p){return a.isValidBlock(p,n)})?this.isConnectedTree(n):!1}};return za=m,za}var Ha,af;function ad(){if(af)return Ha;af=1;var y=nt(),m=Ce(),g=m.List;function n(a,d){var p=a.map(function(v,c){var h=d[c];return y.create({style:v,entity:h})});return g(p)}return Ha=n,Ha}var Va,of;function od(){if(of)return Va;of=1;var y=Dt(),m=y.substr;function g(n,a){var d=Array(n.length).fill(null);return a&&a.forEach(function(p){for(var v=m(n,0,p.offset).length,c=v+m(n,p.offset,p.length).length,h=v;h<c;h++)d[h]=p.key}),d}return Va=g,Va}var Wa,uf;function ud(){if(uf)return Wa;uf=1;var y=Dt(),m=Ce(),g=m.OrderedSet,n=y.substr,a=g();function d(p,v){var c=Array(p.length).fill(a);return v&&v.forEach(function(h){for(var S=n(p,0,h.offset).length,E=S+n(p,h.offset,h.length).length;S<E;)c[S]=c[S].add(h.style),S++}),c}return Wa=d,Wa}var Ga,sf;function sd(){if(sf)return Ga;sf=1;function y(L){for(var F=1;F<arguments.length;F++){var P=arguments[F]!=null?arguments[F]:{},H=Object.keys(P);typeof Object.getOwnPropertySymbols=="function"&&(H=H.concat(Object.getOwnPropertySymbols(P).filter(function(G){return Object.getOwnPropertyDescriptor(P,G).enumerable}))),H.forEach(function(G){m(L,G,P[G])})}return L}function m(L,F,P){return F in L?Object.defineProperty(L,F,{value:P,enumerable:!0,configurable:!0,writable:!0}):L[F]=P,L}var g=Et(),n=it(),a=$a(),d=or(),p=nd(),v=id(),c=ur(),h=ad(),S=od(),E=ud(),i=vt(),l=mt(),o=Ce(),u=De(),r=l("draft_tree_data_support"),f=o.List,w=o.Map,D=o.OrderedMap,O=function(F,P){var H=F.key,G=F.type,W=F.data,$=F.text,X=F.depth,j={text:$,depth:X||0,type:G||"unstyled",key:H||i(),data:w(W),characterList:I(F,P)};return j},I=function(F,P){var H=F.text,G=F.entityRanges,W=F.inlineStyleRanges,$=G||[],X=W||[];return h(E(H,X),S(H,$.filter(function(j){return P.hasOwnProperty(j.key)}).map(function(j){return y({},j,{key:P[j.key]})})))},k=function(F){return y({},F,{key:F.key||i()})},K=function(F,P,H){var G=P.map(function(W){return y({},W,{parentRef:H})});return F.concat(G.reverse())},x=function(F,P){return F.map(k).reduce(function(H,G,W){Array.isArray(G.children)||(process.env.NODE_ENV!=="production"?u(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):u(!1));var $=G.children.map(k),X=new n(y({},O(G,P),{prevSibling:W===0?null:F[W-1].key,nextSibling:W===F.length-1?null:F[W+1].key,children:f($.map(function(se){return se.key}))}));H=H.set(X.getKey(),X);for(var j=K([],$,X);j.length>0;){var N=j.pop(),oe=N.parentRef,pe=oe.getChildKeys(),ie=pe.indexOf(N.key),ue=Array.isArray(N.children);if(!ue){ue||(process.env.NODE_ENV!=="production"?u(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):u(!1));break}var ve=N.children.map(k),we=new n(y({},O(N,P),{parent:oe.getKey(),children:f(ve.map(function(se){return se.key})),prevSibling:ie===0?null:pe.get(ie-1),nextSibling:ie===pe.size-1?null:pe.get(ie+1)}));H=H.set(we.getKey(),we),j=K(j,ve,we)}return H},D())},T=function(F,P){return D(F.map(function(H){var G=new g(O(H,P));return[G.getKey(),G]}))},b=function(F,P){var H=F.blocks.find(function($){return Array.isArray($.children)&&$.children.length>0}),G=r&&!H?p.fromRawStateToRawTreeState(F).blocks:F.blocks;if(!r)return T(H?p.fromRawTreeStateToRawState(F).blocks:G,P);var W=x(G,P);return process.env.NODE_ENV!=="production"&&(v.isValidTree(W)||(process.env.NODE_ENV!=="production"?u(!1,"Should be a valid tree"):u(!1))),W},B=function(F){var P=F.entityMap,H={};return Object.keys(P).forEach(function(G){var W=P[G],$=W.type,X=W.mutability,j=W.data;H[G]=d.__create($,X,j||{})}),H},A=function(F){Array.isArray(F.blocks)||(process.env.NODE_ENV!=="production"?u(!1,"invalid RawDraftContentState"):u(!1));var P=B(F),H=b(F,P),G=H.isEmpty()?new c:c.createEmpty(H.first().getKey());return new a({blockMap:H,entityMap:P,selectionBefore:G,selectionAfter:G})};return Ga=A,Ga}var ja,cf;function cd(){if(cf)return ja;cf=1;var y=zf();function m(g){var n=y(g),a=0,d=0,p=0,v=0;if(n.length){if(n.length>1&&n[0].width===0){var c=n[1];a=c.top,d=c.right,p=c.bottom,v=c.left}else{var h=n[0];a=h.top,d=h.right,p=h.bottom,v=h.left}for(var S=1;S<n.length;S++){var E=n[S];E.height!==0&&E.width!==0&&(a=Math.min(a,E.top),d=Math.max(d,E.right),p=Math.max(p,E.bottom),v=Math.min(v,E.left))}}return{top:a,right:d,bottom:p,left:v,width:d-v,height:p-a}}return ja=m,ja}var Ja,ff;function fd(){if(ff)return Ja;ff=1;var y=cd();function m(g){var n=g.getSelection();if(!n.rangeCount)return null;var a=n.getRangeAt(0),d=y(a),p=d.top,v=d.right,c=d.bottom,h=d.left;return p===0&&v===0&&c===0&&h===0?null:d}return Ja=m,Ja}var Xa,lf;function ld(){if(lf)return Xa;lf=1;var y=Pl(),m=Ht(),g=nt(),n=Ul(),a=Et(),d=$a(),p=Qa(),v=Ef(),c=Zv(),h=Nf(),S=or(),E=Ge(),i=mf(),l=Te(),o=ao(),u=Qv(),r=jf(),f=ur(),w=rd(),D=sd(),O=vt(),I=Jf(),k=fd(),K=Gf(),x={Editor:c,EditorBlock:h,EditorState:l,CompositeDecorator:n,Entity:S,EntityInstance:i,BlockMapBuilder:m,CharacterMetadata:g,ContentBlock:a,ContentState:d,RawDraftContentState:u,SelectionState:f,AtomicBlockUtils:y,KeyBindingUtil:o,Modifier:E,RichUtils:r,DefaultDraftBlockRenderMap:p,DefaultDraftInlineStyle:v,convertFromHTML:K,convertFromRaw:D,convertToRaw:w,genKey:O,getDefaultKeyBinding:I,getVisibleSelectionRect:k};return Xa=x,Xa}exports.requireDraft=ld;