1import{c as ko,r as dr,b as O0,g as D0,R as we,j as Hn}from"./jsx-runtime-Cbi0LC7g.js";import{C as x0}from"./client-only-CPYFtXm-.js";import{r as T0}from"./components-BVbVgCOt.js";import{a as I0}from"./types-DffSE7rw.js";import{a as j0,_ as L0}from"./unsupportedIterableToArray-Da-EDll_.js";import{_ as av}from"./typeof-6kbkT3mP.js";import{c as ml}from"./index-BD_MU9pS.js";import{I as N0}from"./InputLabel-X3qcCBc5.js";import{r as A0}from"./utils-B8wh87sq.js";import{W as z0}from"./WordCountIndicator-BJFW6CkW.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"a4645fb32bd6db90e00f80d55edb0f84cca541e6"};var e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="ff91998d-613f-4c66-9103-99ed846c4fbe",t._sentryDebugIdIdentifier="sentry-dbid-ff91998d-613f-4c66-9103-99ed846c4fbe")}catch{}})();var sv={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ko,function(){var r=Array.prototype.slice;function o(n,a){a&&(n.prototype=Object.create(a.prototype)),n.prototype.constructor=n}function i(n){return d(n)?n:Lt(n)}o(s,i);function s(n){return m(n)?n:Yt(n)}o(u,i);function u(n){return w(n)?n:Tt(n)}o(l,i);function l(n){return d(n)&&!k(n)?n:Gt(n)}function d(n){return!!(n&&n[T])}function m(n){return!!(n&&n[S])}function w(n){return!!(n&&n[D])}function k(n){return m(n)||w(n)}function y(n){return!!(n&&n[x])}i.isIterable=d,i.isKeyed=m,i.isIndexed=w,i.isAssociative=k,i.isOrdered=y,i.Keyed=s,i.Indexed=u,i.Set=l;
vendor: 88,515 bytes, lines 1-3
1var T="@@__IMMUTABLE_ITERABLE__@@",S="@@__IMMUTABLE_KEYED__@@",D="@@__IMMUTABLE_INDEXED__@@",x="@@__IMMUTABLE_ORDERED__@@",B="delete",N=5,$=1<<N,K=$-1,V={},ct={value:!1},it={value:!1};function H(n){return n.value=!1,n}function q(n){n&&(n.value=!0)}function Y(){}function tt(n,a){a=a||0;for(var c=Math.max(0,n.length-a),p=new Array(c),h=0;h<c;h++)p[h]=n[h+a];return p}function lt(n){return n.size===void 0&&(n.size=n.__iterate(pt)),n.size}function nt(n,a){if(typeof a!="number"){var c=a>>>0;if(""+c!==a||c===4294967295)return NaN;a=c}return a<0?lt(n)+a:a}function pt(){return!0}function St(n,a,c){return(n===0||c!==void 0&&n<=-c)&&(a===void 0||c!==void 0&&a>=c)}function dt(n,a){return zt(n,a,0)}function yt(n,a){return zt(n,a,a)}function zt(n,a,c){return n===void 0?c:n<0?Math.max(0,a+n):a===void 0?n:Math.min(a,n)}var Rt=0,at=1,mt=2,Ft=typeof Symbol=="function"&&Symbol.iterator,ye="@@iterator",se=Ft||ye;function gt(n){this.next=n}gt.prototype.toString=function(){return"[Iterator]"},gt.KEYS=Rt,gt.VALUES=at,gt.ENTRIES=mt,gt.prototype.inspect=gt.prototype.toSource=function(){return this.toString()},gt.prototype[se]=function(){return this};function ht(n,a,c,p){var h=n===0?a:n===1?c:[a,c];return p?p.value=h:p={value:h,done:!1},p}function Vt(){return{value:void 0,done:!0}}function Zt(n){return!!ue(n)}function le(n){return n&&typeof n.next=="function"}function Ct(n){var a=ue(n);return a&&a.call(n)}function ue(n){var a=n&&(Ft&&n[Ft]||n[ye]);if(typeof a=="function")return a}function xe(n){return n&&typeof n.length=="number"}o(Lt,i);function Lt(n){return n==null?kt():d(n)?n.toSeq():ge(n)}Lt.of=function(){return Lt(arguments)},Lt.prototype.toSeq=function(){return this},Lt.prototype.toString=function(){return this.__toString("Seq {","}")},Lt.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Lt.prototype.__iterate=function(n,a){return be(this,n,a,!0)},Lt.prototype.__iterator=function(n,a){return Ee(this,n,a,!0)},o(Yt,Lt);function Yt(n){return n==null?kt().toKeyedSeq():d(n)?m(n)?n.toSeq():n.fromEntrySeq():Xt(n)}Yt.prototype.toKeyedSeq=function(){return this},o(Tt,Lt);function Tt(n){return n==null?kt():d(n)?m(n)?n.entrySeq():n.toIndexedSeq():oe(n)}Tt.of=function(){return Tt(arguments)},Tt.prototype.toIndexedSeq=function(){return this},Tt.prototype.toString=function(){return this.__toString("Seq [","]")},Tt.prototype.__iterate=function(n,a){return be(this,n,a,!1)},Tt.prototype.__iterator=function(n,a){return Ee(this,n,a,!1)},o(Gt,Lt);function Gt(n){return(n==null?kt():d(n)?m(n)?n.entrySeq():n:oe(n)).toSetSeq()}Gt.of=function(){return Gt(arguments)},Gt.prototype.toSetSeq=function(){return this},Lt.isSeq=xt,Lt.Keyed=Yt,Lt.Set=Gt,Lt.Indexed=Tt;var J="@@__IMMUTABLE_SEQ__@@";Lt.prototype[J]=!0,o(W,Tt);function W(n){this._array=n,this.size=n.length}W.prototype.get=function(n,a){return this.has(n)?this._array[nt(this,n)]:a},W.prototype.__iterate=function(n,a){for(var c=this._array,p=c.length-1,h=0;h<=p;h++)if(n(c[a?p-h:h],h,this)===!1)return h+1;return h},W.prototype.__iterator=function(n,a){var c=this._array,p=c.length-1,h=0;return new gt(function(){return h>p?Vt():ht(n,h,c[a?p-h++:h++])})},o(et,Yt);function et(n){var a=Object.keys(n);this._object=n,this._keys=a,this.size=a.length}et.prototype.get=function(n,a){return a!==void 0&&!this.has(n)?a:this._object[n]},et.prototype.has=function(n){return this._object.hasOwnProperty(n)},et.prototype.__iterate=function(n,a){for(var c=this._object,p=this._keys,h=p.length-1,E=0;E<=h;E++){var C=p[a?h-E:E];if(n(c[C],C,this)===!1)return E+1}return E},et.prototype.__iterator=function(n,a){var c=this._object,p=this._keys,h=p.length-1,E=0;return new gt(function(){var C=p[a?h-E:E];return E++>h?Vt():ht(n,C,c[C])})},et.prototype[x]=!0,o(st,Tt);function st(n){this._iterable=n,this.size=n.length||n.size}st.prototype.__iterateUncached=function(n,a){if(a)return this.cacheResult().__iterate(n,a);var c=this._iterable,p=Ct(c),h=0;if(le(p))for(var E;!(E=p.next()).done&&n(E.value,h++,this)!==!1;);return h},st.prototype.__iteratorUncached=function(n,a){if(a)return this.cacheResult().__iterator(n,a);var c=this._iterable,p=Ct(c);if(!le(p))return new gt(Vt);var h=0;return new gt(function(){var E=p.next();return E.done?E:ht(n,h++,E.value)})},o(ot,Tt);function ot(n){this._iterator=n,this._iteratorCache=[]}ot.prototype.__iterateUncached=function(n,a){if(a)return this.cacheResult().__iterate(n,a);for(var c=this._iterator,p=this._iteratorCache,h=0;h<p.length;)if(n(p[h],h++,this)===!1)return h;for(var E;!(E=c.next()).done;){var C=E.value;if(p[h]=C,n(C,h++,this)===!1)break}return h},ot.prototype.__iteratorUncached=function(n,a){if(a)return this.cacheResult().__iterator(n,a);var c=this._iterator,p=this._iteratorCache,h=0;return new gt(function(){if(h>=p.length){var E=c.next();if(E.done)return E;p[h]=E.value}return ht(n,h,p[h++])})};function xt(n){return!!(n&&n[J])}var Ut;function kt(){return Ut||(Ut=new W([]))}function Xt(n){var a=Array.isArray(n)?new W(n).fromEntrySeq():le(n)?new ot(n).fromEntrySeq():Zt(n)?new st(n).fromEntrySeq():typeof n=="object"?new et(n):void 0;if(!a)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+n);return a}function oe(n){var a=ie(n);if(!a)throw new TypeError("Expected Array or iterable object of values: "+n);return a}function ge(n){var a=ie(n)||typeof n=="object"&&new et(n);if(!a)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+n);return a}function ie(n){return xe(n)?new W(n):le(n)?new ot(n):Zt(n)?new st(n):void 0}function be(n,a,c,p){var h=n._cache;if(h){for(var E=h.length-1,C=0;C<=E;C++){var I=h[c?E-C:C];if(a(I[1],p?I[0]:C,n)===!1)return C+1}return C}return n.__iterateUncached(a,c)}function Ee(n,a,c,p){var h=n._cache;if(h){var E=h.length-1,C=0;return new gt(function(){var I=h[c?E-C:C];return C++>E?Vt():ht(a,p?I[0]:C-1,I[1])})}return n.__iteratorUncached(a,c)}function It(n,a){return a?Ot(a,n,"",{"":n}):Mt(n)}function Ot(n,a,c,p){return Array.isArray(a)?n.call(p,c,Tt(a).map(function(h,E){return Ot(n,h,E,a)})):ee(a)?n.call(p,c,Yt(a).map(function(h,E){return Ot(n,h,E,a)})):a}function Mt(n){return Array.isArray(n)?Tt(n).map(Mt).toList():ee(n)?Yt(n).map(Mt).toMap():n}function ee(n){return n&&(n.constructor===Object||n.constructor===void 0)}function jt(n,a){if(n===a||n!==n&&a!==a)return!0;if(!n||!a)return!1;if(typeof n.valueOf=="function"&&typeof a.valueOf=="function"){if(n=n.valueOf(),a=a.valueOf(),n===a||n!==n&&a!==a)return!0;if(!n||!a)return!1}return!!(typeof n.equals=="function"&&typeof a.equals=="function"&&n.equals(a))}function je(n,a){if(n===a)return!0;if(!d(a)||n.size!==void 0&&a.size!==void 0&&n.size!==a.size||n.__hash!==void 0&&a.__hash!==void 0&&n.__hash!==a.__hash||m(n)!==m(a)||w(n)!==w(a)||y(n)!==y(a))return!1;if(n.size===0&&a.size===0)return!0;var c=!k(n);if(y(n)){var p=n.entries();return a.every(function(z,P){var F=p.next().value;return F&&jt(F[1],z)&&(c||jt(F[0],P))})&&p.next().done}var h=!1;if(n.size===void 0)if(a.size===void 0)typeof n.cacheResult=="function"&&n.cacheResult();else{h=!0;var E=n;n=a,a=E}var C=!0,I=a.__iterate(function(z,P){if(c?!n.has(z):h?!jt(z,n.get(P,V)):!jt(n.get(P,V),z))return C=!1,!1});return C&&n.size===I}o(wt,Tt);function wt(n,a){if(!(this instanceof wt))return new wt(n,a);if(this._value=n,this.size=a===void 0?1/0:Math.max(0,a),this.size===0){if(Nt)return Nt;Nt=this}}wt.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},wt.prototype.get=function(n,a){return this.has(n)?this._value:a},wt.prototype.includes=function(n){return jt(this._value,n)},wt.prototype.slice=function(n,a){var c=this.size;return St(n,a,c)?this:new wt(this._value,yt(a,c)-dt(n,c))},wt.prototype.reverse=function(){return this},wt.prototype.indexOf=function(n){return jt(this._value,n)?0:-1},wt.prototype.lastIndexOf=function(n){return jt(this._value,n)?this.size:-1},wt.prototype.__iterate=function(n,a){for(var c=0;c<this.size;c++)if(n(this._value,c,this)===!1)return c+1;return c},wt.prototype.__iterator=function(n,a){var c=this,p=0;return new gt(function(){return p<c.size?ht(n,p++,c._value):Vt()})},wt.prototype.equals=function(n){return n instanceof wt?jt(this._value,n._value):je(n)};var Nt;function ze(n,a){if(!n)throw new Error(a)}o(re,Tt);function re(n,a,c){if(!(this instanceof re))return new re(n,a,c);if(ze(c!==0,"Cannot step a Range by 0"),n=n||0,a===void 0&&(a=1/0),c=c===void 0?1:Math.abs(c),a<n&&(c=-c),this._start=n,this._end=a,this._step=c,this.size=Math.max(0,Math.ceil((a-n)/c-1)+1),this.size===0){if(Cr)return Cr;Cr=this}}re.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step!==1?" by "+this._step:"")+" ]"},re.prototype.get=function(n,a){return this.has(n)?this._start+nt(this,n)*this._step:a},re.prototype.includes=function(n){var a=(n-this._start)/this._step;return a>=0&&a<this.size&&a===Math.floor(a)},re.prototype.slice=function(n,a){return St(n,a,this.size)?this:(n=dt(n,this.size),a=yt(a,this.size),a<=n?new re(0,0):new re(this.get(n,this._end),this.get(a,this._end),this._step))},re.prototype.indexOf=function(n){var a=n-this._start;if(a%this._step===0){var c=a/this._step;if(c>=0&&c<this.size)return c}return-1},re.prototype.lastIndexOf=function(n){return this.indexOf(n)},re.prototype.__iterate=function(n,a){for(var c=this.size-1,p=this._step,h=a?this._start+c*p:this._start,E=0;E<=c;E++){if(n(h,E,this)===!1)return E+1;h+=a?-p:p}return E},re.prototype.__iterator=function(n,a){var c=this.size-1,p=this._step,h=a?this._start+c*p:this._start,E=0;return new gt(function(){var C=h;return h+=a?-p:p,E>c?Vt():ht(n,E++,C)})},re.prototype.equals=function(n){return n instanceof re?this._start===n._start&&this._end===n._end&&this._step===n._step:je(this,n)};var Cr;o(Xe,i);function Xe(){throw TypeError("Abstract")}o(Rr,Xe);function Rr(){}o(kr,Xe);function kr(){}o(qr,Xe);function qr(){}Xe.Keyed=Rr,Xe.Indexed=kr,Xe.Set=qr;var Br=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(a,c){a=a|0,c=c|0;var p=a&65535,h=c&65535;return p*h+((a>>>16)*h+p*(c>>>16)<<16>>>0)|0};function ro(n){return n>>>1&1073741824|n&3221225471}function De(n){if(n===!1||n===null||n===void 0||typeof n.valueOf=="function"&&(n=n.valueOf(),n===!1||n===null||n===void 0))return 0;if(n===!0)return 1;var a=typeof n;if(a==="number"){if(n!==n||n===1/0)return 0;var c=n|0;for(c!==n&&(c^=n*4294967295);n>4294967295;)n/=4294967295,c^=n;return ro(c)}if(a==="string")return n.length>ga?as(n):Ln(n);if(typeof n.hashCode=="function")return n.hashCode();if(a==="object")return ss(n);if(typeof n.toString=="function")return Ln(n.toString());throw new Error("Value type "+a+" cannot be hashed.")}function as(n){var a=An[n];return a===void 0&&(a=Ln(n),ao===ya&&(ao=0,An={}),ao++,An[n]=a),a}function Ln(n){for(var a=0,c=0;c<n.length;c++)a=31*a+n.charCodeAt(c)|0;return ro(a)}function ss(n){var a;if(oo&&(a=Nn.get(n),a!==void 0)||(a=n[ir],a!==void 0)||!jo&&(a=n.propertyIsEnumerable&&n.propertyIsEnumerable[ir],a!==void 0||(a=ha(n),a!==void 0)))return a;if(a=++io,io&1073741824&&(io=0),oo)Nn.set(n,a);else{if(no!==void 0&&no(n)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(jo)Object.defineProperty(n,ir,{enumerable:!1,configurable:!1,writable:!1,value:a});else if(n.propertyIsEnumerable!==void 0&&n.propertyIsEnumerable===n.constructor.prototype.propertyIsEnumerable)n.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},n.propertyIsEnumerable[ir]=a;else if(n.nodeType!==void 0)n[ir]=a;else throw new Error("Unable to set a non-enumerable property on object.")}return a}var no=Object.isExtensible,jo=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();function ha(n){if(n&&n.nodeType>0)switch(n.nodeType){case 1:return n.uniqueID;case 9:return n.documentElement&&n.documentElement.uniqueID}}var oo=typeof WeakMap=="function",Nn;oo&&(Nn=new WeakMap);var io=0,ir="__immutablehash__";typeof Symbol=="function"&&(ir=Symbol(ir));var ga=16,ya=255,ao=0,An={};function Te(n){ze(n!==1/0,"Cannot perform this action with an infinite size.")}o(bt,Rr);function bt(n){return n==null?Re():zn(n)&&!y(n)?n:Re().withMutations(function(a){var c=s(n);Te(c.size),c.forEach(function(p,h){return a.set(h,p)})})}bt.of=function(){var n=r.call(arguments,0);return Re().withMutations(function(a){for(var c=0;c<n.length;c+=2){if(c+1>=n.length)throw new Error("Missing value for key: "+n[c]);a.set(n[c],n[c+1])}})},bt.prototype.toString=function(){return this.__toString("Map {","}")},bt.prototype.get=function(n,a){return this._root?this._root.get(0,void 0,n,a):a},bt.prototype.set=function(n,a){return No(this,n,a)},bt.prototype.setIn=function(n,a){return this.updateIn(n,V,function(){return a})},bt.prototype.remove=function(n){return No(this,n,V)},bt.prototype.deleteIn=function(n){return this.updateIn(n,function(){return V})},bt.prototype.update=function(n,a,c){return arguments.length===1?n(this):this.updateIn([n],a,c)},bt.prototype.updateIn=function(n,a,c){c||(c=a,a=void 0);var p=Ro(this,Pi(n),a,c);return p===V?void 0:p},bt.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Re()},bt.prototype.merge=function(){return Sn(this,void 0,arguments)},bt.prototype.mergeWith=function(n){var a=r.call(arguments,1);return Sn(this,n,a)},bt.prototype.mergeIn=function(n){var a=r.call(arguments,1);return this.updateIn(n,Re(),function(c){return typeof c.merge=="function"?c.merge.apply(c,a):a[a.length-1]})},bt.prototype.mergeDeep=function(){return Sn(this,zo,arguments)},bt.prototype.mergeDeepWith=function(n){var a=r.call(arguments,1);return Sn(this,ki(n),a)},bt.prototype.mergeDeepIn=function(n){var a=r.call(arguments,1);return this.updateIn(n,Re(),function(c){return typeof c.mergeDeep=="function"?c.mergeDeep.apply(c,a):a[a.length-1]})},bt.prototype.sort=function(n){return te(xr(this,n))},bt.prototype.sortBy=function(n,a){return te(xr(this,a,n))},bt.prototype.withMutations=function(n){var a=this.asMutable();return n(a),a.wasAltered()?a.__ensureOwner(this.__ownerID):this},bt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new Y)},bt.prototype.asImmutable=function(){return this.__ensureOwner()},bt.prototype.wasAltered=function(){return this.__altered},bt.prototype.__iterator=function(n,a){return new Rn(this,n,a)},bt.prototype.__iterate=function(n,a){var c=this,p=0;return this._root&&this._root.iterate(function(h){return p++,n(h[1],h[0],c)},a),p},bt.prototype.__ensureOwner=function(n){return n===this.__ownerID?this:n?uo(this.size,this._root,n,this.__hash):(this.__ownerID=n,this.__altered=!1,this)};function zn(n){return!!(n&&n[Mi])}bt.isMap=zn;var Mi="@@__IMMUTABLE_MAP__@@",_t=bt.prototype;_t[Mi]=!0,_t[B]=_t.remove,_t.removeIn=_t.deleteIn;function Yr(n,a){this.ownerID=n,this.entries=a}Yr.prototype.get=function(n,a,c,p){for(var h=this.entries,E=0,C=h.length;E<C;E++)if(jt(c,h[E][0]))return h[E][1];return p},Yr.prototype.update=function(n,a,c,p,h,E,C){for(var I=h===V,z=this.entries,P=0,F=z.length;P<F&&!jt(p,z[P][0]);P++);var Z=P<F;if(Z?z[P][1]===h:I)return this;if(q(C),(I||!Z)&&q(E),!(I&&z.length===1)){if(!Z&&!I&&z.length>=Di)return Ci(n,z,p,h);var G=n&&n===this.ownerID,ft=G?z:tt(z);return Z?I?P===F-1?ft.pop():ft[P]=ft.pop():ft[P]=[p,h]:ft.push([p,h]),G?(this.entries=ft,this):new Yr(n,ft)}};function mr(n,a,c){this.ownerID=n,this.bitmap=a,this.nodes=c}mr.prototype.get=function(n,a,c,p){a===void 0&&(a=De(c));var h=1<<((n===0?a:a>>>n)&K),E=this.bitmap;return E&h?this.nodes[Bo(E&h-1)].get(n+N,a,c,p):p},mr.prototype.update=function(n,a,c,p,h,E,C){c===void 0&&(c=De(p));var I=(a===0?c:c>>>a)&K,z=1<<I,P=this.bitmap,F=(P&z)!==0;if(!F&&h===V)return this;var Z=Bo(P&z-1),G=this.nodes,ft=F?G[Z]:void 0,vt=lo(ft,n,a+N,c,p,h,E,C);if(vt===ft)return this;if(!F&&vt&&G.length>=Sa)return ma(n,G,P,I,vt);if(F&&!vt&&G.length===2&&Ao(G[Z^1]))return G[Z^1];if(F&&vt&&G.length===1&&Ao(vt))return vt;var Qt=n&&n===this.ownerID,Be=F?vt?P:P^z:P|z,Ze=F?vt?Oi(G,Z,vt,Qt):us(G,Z,Qt):_a(G,Z,vt,Qt);return Qt?(this.bitmap=Be,this.nodes=Ze,this):new mr(n,Be,Ze)};function Wr(n,a,c){this.ownerID=n,this.count=a,this.nodes=c}Wr.prototype.get=function(n,a,c,p){a===void 0&&(a=De(c));var h=(n===0?a:a>>>n)&K,E=this.nodes[h];return E?E.get(n+N,a,c,p):p},Wr.prototype.update=function(n,a,c,p,h,E,C){c===void 0&&(c=De(p));var I=(a===0?c:c>>>a)&K,z=h===V,P=this.nodes,F=P[I];if(z&&!F)return this;var Z=lo(F,n,a+N,c,p,h,E,C);if(Z===F)return this;var G=this.count;if(!F)G++;else if(!Z&&(G--,G<wa))return va(n,P,G,I);var ft=n&&n===this.ownerID,vt=Oi(P,I,Z,ft);return ft?(this.count=G,this.nodes=vt,this):new Wr(n,G,vt)};function cr(n,a,c){this.ownerID=n,this.keyHash=a,this.entries=c}cr.prototype.get=function(n,a,c,p){for(var h=this.entries,E=0,C=h.length;E<C;E++)if(jt(c,h[E][0]))return h[E][1];return p},cr.prototype.update=function(n,a,c,p,h,E,C){c===void 0&&(c=De(p));var I=h===V;if(c!==this.keyHash)return I?this:(q(C),q(E),fo(this,n,a,c,[p,h]));for(var z=this.entries,P=0,F=z.length;P<F&&!jt(p,z[P][0]);P++);var Z=P<F;if(Z?z[P][1]===h:I)return this;if(q(C),(I||!Z)&&q(E),I&&F===2)return new Je(n,this.keyHash,z[P^1]);var G=n&&n===this.ownerID,ft=G?z:tt(z);return Z?I?P===F-1?ft.pop():ft[P]=ft.pop():ft[P]=[p,h]:ft.push([p,h]),G?(this.entries=ft,this):new cr(n,this.keyHash,ft)};function Je(n,a,c){this.ownerID=n,this.keyHash=a,this.entry=c}Je.prototype.get=function(n,a,c,p){return jt(c,this.entry[0])?this.entry[1]:p},Je.prototype.update=function(n,a,c,p,h,E,C){var I=h===V,z=jt(p,this.entry[0]);if(z?h===this.entry[1]:I)return this;if(q(C),I){q(E);return}return z?n&&n===this.ownerID?(this.entry[1]=h,this):new Je(n,this.keyHash,[p,h]):(q(E),fo(this,n,a,De(p),[p,h]))},Yr.prototype.iterate=cr.prototype.iterate=function(n,a){for(var c=this.entries,p=0,h=c.length-1;p<=h;p++)if(n(c[a?h-p:p])===!1)return!1},mr.prototype.iterate=Wr.prototype.iterate=function(n,a){for(var c=this.nodes,p=0,h=c.length-1;p<=h;p++){var E=c[a?h-p:p];if(E&&E.iterate(n,a)===!1)return!1}},Je.prototype.iterate=function(n,a){return n(this.entry)},o(Rn,gt);function Rn(n,a,c){this._type=a,this._reverse=c,this._stack=n._root&&Lo(n._root)}Rn.prototype.next=function(){for(var n=this._type,a=this._stack;a;){var c=a.node,p=a.index++,h;if(c.entry){if(p===0)return so(n,c.entry)}else if(c.entries){if(h=c.entries.length-1,p<=h)return so(n,c.entries[this._reverse?h-p:p])}else if(h=c.nodes.length-1,p<=h){var E=c.nodes[this._reverse?h-p:p];if(E){if(E.entry)return so(n,E.entry);a=this._stack=Lo(E,a)}continue}a=this._stack=this._stack.__prev}return Vt()};function so(n,a){return ht(n,a[0],a[1])}function Lo(n,a){return{node:n,index:0,__prev:a}}function uo(n,a,c,p){var h=Object.create(_t);return h.size=n,h._root=a,h.__ownerID=c,h.__hash=p,h.__altered=!1,h}var co;function Re(){return co||(co=uo(0))}function No(n,a,c){var p,h;if(n._root){var E=H(ct),C=H(it);if(p=lo(n._root,n.__ownerID,0,void 0,a,c,E,C),!C.value)return n;h=n.size+(E.value?c===V?-1:1:0)}else{if(c===V)return n;h=1,p=new Yr(n.__ownerID,[[a,c]])}return n.__ownerID?(n.size=h,n._root=p,n.__hash=void 0,n.__altered=!0,n):p?uo(h,p):Re()}function lo(n,a,c,p,h,E,C,I){return n?n.update(a,c,p,h,E,C,I):E===V?n:(q(I),q(C),new Je(a,p,[h,E]))}function Ao(n){return n.constructor===Je||n.constructor===cr}function fo(n,a,c,p,h){if(n.keyHash===p)return new cr(a,p,[n.entry,h]);var E=(c===0?n.keyHash:n.keyHash>>>c)&K,C=(c===0?p:p>>>c)&K,I,z=E===C?[fo(n,a,c+N,p,h)]:(I=new Je(a,p,h),E<C?[n,I]:[I,n]);return new mr(a,1<<E|1<<C,z)}function Ci(n,a,c,p){n||(n=new Y);for(var h=new Je(n,De(c),[c,p]),E=0;E<a.length;E++){var C=a[E];h=h.update(n,0,void 0,C[0],C[1])}return h}function va(n,a,c,p){for(var h=0,E=0,C=new Array(c),I=0,z=1,P=a.length;I<P;I++,z<<=1){var F=a[I];F!==void 0&&I!==p&&(h|=z,C[E++]=F)}return new mr(n,h,C)}function ma(n,a,c,p,h){for(var E=0,C=new Array($),I=0;c!==0;I++,c>>>=1)C[I]=c&1?a[E++]:void 0;return C[p]=h,new Wr(n,E+1,C)}function Sn(n,a,c){for(var p=[],h=0;h<c.length;h++){var E=c[h],C=s(E);d(E)||(C=C.map(function(I){return It(I)})),p.push(C)}return po(n,a,p)}function zo(n,a,c){return n&&n.mergeDeep&&d(a)?n.mergeDeep(a):jt(n,a)?n:a}function ki(n){return function(a,c,p){if(a&&a.mergeDeepWith&&d(c))return a.mergeDeepWith(n,c);var h=n(a,c,p);return jt(a,h)?a:h}}function po(n,a,c){return c=c.filter(function(p){return p.size!==0}),c.length===0?n:n.size===0&&!n.__ownerID&&c.length===1?n.constructor(c[0]):n.withMutations(function(p){for(var h=a?function(C,I){p.update(I,V,function(z){return z===V?C:a(z,C,I)})}:function(C,I){p.set(I,C)},E=0;E<c.length;E++)c[E].forEach(h)})}function Ro(n,a,c,p){var h=n===V,E=a.next();if(E.done){var C=h?c:n,I=p(C);return I===C?n:I}ze(h||n&&n.set,"invalid keyPath");var z=E.value,P=h?V:n.get(z,V),F=Ro(P,a,c,p);return F===P?n:F===V?n.remove(z):(h?Re():n).set(z,F)}function Bo(n){return n=n-(n>>1&1431655765),n=(n&858993459)+(n>>2&858993459),n=n+(n>>4)&252645135,n=n+(n>>8),n=n+(n>>16),n&127}function Oi(n,a,c,p){var h=p?n:tt(n);return h[a]=c,h}function _a(n,a,c,p){var h=n.length+1;if(p&&a+1===h)return n[a]=c,n;for(var E=new Array(h),C=0,I=0;I<h;I++)I===a?(E[I]=c,C=-1):E[I]=n[I+C];return E}function us(n,a,c){var p=n.length-1;if(c&&a===p)return n.pop(),n;for(var h=new Array(p),E=0,C=0;C<p;C++)C===a&&(E=1),h[C]=n[C+E];return h}var Di=$/4,Sa=$/2,wa=$/4;o(qt,kr);function qt(n){var a=ho();if(n==null)return a;if(Po(n))return n;var c=u(n),p=c.size;return p===0?a:(Te(p),p>0&&p<$?Vr(0,p,N,null,new tr(c.toArray())):a.withMutations(function(h){h.setSize(p),c.forEach(function(E,C){return h.set(C,E)})}))}qt.of=function(){return this(arguments)},qt.prototype.toString=function(){return this.__toString("List [","]")},qt.prototype.get=function(n,a){if(n=nt(this,n),n>=0&&n<this.size){n+=this._origin;var c=Ii(this,n);return c&&c.array[n&K]}return a},qt.prototype.set=function(n,a){return Ti(this,n,a)},qt.prototype.remove=function(n){return this.has(n)?n===0?this.shift():n===this.size-1?this.pop():this.splice(n,1):this},qt.prototype.insert=function(n,a){return this.splice(n,0,a)},qt.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=N,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):ho()},qt.prototype.push=function(){var n=arguments,a=this.size;return this.withMutations(function(c){ar(c,0,a+n.length);for(var p=0;p<n.length;p++)c.set(a+p,n[p])})},qt.prototype.pop=function(){return ar(this,0,-1)},qt.prototype.unshift=function(){var n=arguments;return this.withMutations(function(a){ar(a,-n.length);for(var c=0;c<n.length;c++)a.set(c,n[c])})},qt.prototype.shift=function(){return ar(this,1)},qt.prototype.merge=function(){return cn(this,void 0,arguments)},qt.prototype.mergeWith=function(n){var a=r.call(arguments,1);return cn(this,n,a)},qt.prototype.mergeDeep=function(){return cn(this,zo,arguments)},qt.prototype.mergeDeepWith=function(n){var a=r.call(arguments,1);return cn(this,ki(n),a)},qt.prototype.setSize=function(n){return ar(this,0,n)},qt.prototype.slice=function(n,a){var c=this.size;return St(n,a,c)?this:ar(this,dt(n,c),yt(a,c))},qt.prototype.__iterator=function(n,a){var c=0,p=Fo(this,a);return new gt(function(){var h=p();return h===Qr?Vt():ht(n,c++,h)})},qt.prototype.__iterate=function(n,a){for(var c=0,p=Fo(this,a),h;(h=p())!==Qr&&n(h,c++,this)!==!1;);return c},qt.prototype.__ensureOwner=function(n){return n===this.__ownerID?this:n?Vr(this._origin,this._capacity,this._level,this._root,this._tail,n,this.__hash):(this.__ownerID=n,this)};function Po(n){return!!(n&&n[xi])}qt.isList=Po;var xi="@@__IMMUTABLE_LIST__@@",ve=qt.prototype;ve[xi]=!0,ve[B]=ve.remove,ve.setIn=_t.setIn,ve.deleteIn=ve.removeIn=_t.removeIn,ve.update=_t.update,ve.updateIn=_t.updateIn,ve.mergeIn=_t.mergeIn,ve.mergeDeepIn=_t.mergeDeepIn,ve.withMutations=_t.withMutations,ve.asMutable=_t.asMutable,ve.asImmutable=_t.asImmutable,ve.wasAltered=_t.wasAltered;function tr(n,a){this.array=n,this.ownerID=a}tr.prototype.removeBefore=function(n,a,c){if(c===a?1<<a:this.array.length===0)return this;var p=c>>>a&K;if(p>=this.array.length)return new tr([],n);var h=p===0,E;if(a>0){var C=this.array[p];if(E=C&&C.removeBefore(n,a-N,c),E===C&&h)return this}if(h&&!E)return this;var I=Or(this,n);if(!h)for(var z=0;z<p;z++)I.array[z]=void 0;return E&&(I.array[p]=E),I},tr.prototype.removeAfter=function(n,a,c){if(c===(a?1<<a:0)||this.array.length===0)return this;var p=c-1>>>a&K;if(p>=this.array.length)return this;var h;if(a>0){var E=this.array[p];if(h=E&&E.removeAfter(n,a-N,c),h===E&&p===this.array.length-1)return this}var C=Or(this,n);return C.array.splice(p+1),h&&(C.array[p]=h),C};var Qr={};function Fo(n,a){var c=n._origin,p=n._capacity,h=Zr(p),E=n._tail;return C(n._root,n._level,0);function C(P,F,Z){return F===0?I(P,Z):z(P,F,Z)}function I(P,F){var Z=F===h?E&&E.array:P&&P.array,G=F>c?0:c-F,ft=p-F;return ft>$&&(ft=$),function(){if(G===ft)return Qr;var vt=a?--ft:G++;return Z&&Z[vt]}}function z(P,F,Z){var G,ft=P&&P.array,vt=Z>c?0:c-Z>>F,Qt=(p-Z>>F)+1;return Qt>$&&(Qt=$),function(){do{if(G){var Be=G();if(Be!==Qr)return Be;G=null}if(vt===Qt)return Qr;var Ze=a?--Qt:vt++;G=C(ft&&ft[Ze],F-N,Z+(Ze<<F))}while(!0)}}}function Vr(n,a,c,p,h,E,C){var I=Object.create(ve);return I.size=a-n,I._origin=n,I._capacity=a,I._level=c,I._root=p,I._tail=h,I.__ownerID=E,I.__hash=C,I.__altered=!1,I}var $o;function ho(){return $o||($o=Vr(0,0,N))}function Ti(n,a,c){if(a=nt(n,a),a!==a)return n;if(a>=n.size||a<0)return n.withMutations(function(C){a<0?ar(C,a).set(0,c):ar(C,0,a+1).set(a,c)});a+=n._origin;var p=n._tail,h=n._root,E=H(it);return a>=Zr(n._capacity)?p=Bn(p,n.__ownerID,0,a,c,E):h=Bn(h,n.__ownerID,n._level,a,c,E),E.value?n.__ownerID?(n._root=h,n._tail=p,n.__hash=void 0,n.__altered=!0,n):Vr(n._origin,n._capacity,n._level,h,p):n}function Bn(n,a,c,p,h,E){var C=p>>>c&K,I=n&&C<n.array.length;if(!I&&h===void 0)return n;var z;if(c>0){var P=n&&n.array[C],F=Bn(P,a,c-N,p,h,E);return F===P?n:(z=Or(n,a),z.array[C]=F,z)}return I&&n.array[C]===h?n:(q(E),z=Or(n,a),h===void 0&&C===z.array.length-1?z.array.pop():z.array[C]=h,z)}function Or(n,a){return a&&n&&a===n.ownerID?n:new tr(n?n.array.slice():[],a)}function Ii(n,a){if(a>=Zr(n._capacity))return n._tail;if(a<1<<n._level+N){for(var c=n._root,p=n._level;c&&p>0;)c=c.array[a>>>p&K],p-=N;return c}}function ar(n,a,c){a!==void 0&&(a=a|0),c!==void 0&&(c=c|0);var p=n.__ownerID||new Y,h=n._origin,E=n._capacity,C=h+a,I=c===void 0?E:c<0?E+c:h+c;if(C===h&&I===E)return n;if(C>=I)return n.clear();for(var z=n._level,P=n._root,F=0;C+F<0;)P=new tr(P&&P.array.length?[void 0,P]:[],p),z+=N,F+=1<<z;F&&(C+=F,h+=F,I+=F,E+=F);for(var Z=Zr(E),G=Zr(I);G>=1<<z+N;)P=new tr(P&&P.array.length?[P]:[],p),z+=N;var ft=n._tail,vt=G<Z?Ii(n,I-1):G>Z?new tr([],p):ft;if(ft&&G>Z&&C<E&&ft.array.length){P=Or(P,p);for(var Qt=P,Be=z;Be>N;Be-=N){var Ze=Z>>>Be&K;Qt=Qt.array[Ze]=Or(Qt.array[Ze],p)}Qt.array[Z>>>N&K]=ft}if(I<E&&(vt=vt&&vt.removeAfter(p,0,I)),C>=G)C-=G,I-=G,z=N,P=null,vt=vt&&vt.removeBefore(p,0,C);else if(C>h||G<Z){for(F=0;P;){var On=C>>>z&K;if(On!==G>>>z&K)break;On&&(F+=(1<<z)*On),z-=N,P=P.array[On]}P&&C>h&&(P=P.removeBefore(p,z,C-F)),P&&G<Z&&(P=P.removeAfter(p,z,G-F)),F&&(C-=F,I-=F)}return n.__ownerID?(n.size=I-C,n._origin=C,n._capacity=I,n._level=z,n._root=P,n._tail=vt,n.__hash=void 0,n.__altered=!0,n):Vr(C,I,z,P,vt)}function cn(n,a,c){for(var p=[],h=0,E=0;E<c.length;E++){var C=c[E],I=u(C);I.size>h&&(h=I.size),d(C)||(I=I.map(function(z){return It(z)})),p.push(I)}return h>n.size&&(n=n.setSize(h)),po(n,a,p)}function Zr(n){return n<$?0:n-1>>>N<<N}o(te,bt);function te(n){return n==null?bn():ji(n)?n:bn().withMutations(function(a){var c=s(n);Te(c.size),c.forEach(function(p,h){return a.set(h,p)})})}te.of=function(){return this(arguments)},te.prototype.toString=function(){return this.__toString("OrderedMap {","}")},te.prototype.get=function(n,a){var c=this._map.get(n);return c!==void 0?this._list.get(c)[1]:a},te.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):bn()},te.prototype.set=function(n,a){return Ko(this,n,a)},te.prototype.remove=function(n){return Ko(this,n,V)},te.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},te.prototype.__iterate=function(n,a){var c=this;return this._list.__iterate(function(p){return p&&n(p[1],p[0],c)},a)},te.prototype.__iterator=function(n,a){return this._list.fromEntrySeq().__iterator(n,a)},te.prototype.__ensureOwner=function(n){if(n===this.__ownerID)return this;var a=this._map.__ensureOwner(n),c=this._list.__ensureOwner(n);return n?wn(a,c,n,this.__hash):(this.__ownerID=n,this._map=a,this._list=c,this)};function ji(n){return zn(n)&&y(n)}te.isOrderedMap=ji,te.prototype[x]=!0,te.prototype[B]=te.prototype.remove;function wn(n,a,c,p){var h=Object.create(te.prototype);return h.size=n?n.size:0,h._map=n,h._list=a,h.__ownerID=c,h.__hash=p,h}var Uo;function bn(){return Uo||(Uo=wn(Re(),ho()))}function Ko(n,a,c){var p=n._map,h=n._list,E=p.get(a),C=E!==void 0,I,z;if(c===V){if(!C)return n;h.size>=$&&h.size>=p.size*2?(z=h.filter(function(P,F){return P!==void 0&&E!==F}),I=z.toKeyedSeq().map(function(P){return P[0]}).flip().toMap(),n.__ownerID&&(I.__ownerID=z.__ownerID=n.__ownerID)):(I=p.remove(a),z=E===h.size-1?h.pop():h.set(E,void 0))}else if(C){if(c===h.get(E)[1])return n;I=p,z=h.set(E,[a,c])}else I=p.set(a,h.size),z=h.set(h.size,[a,c]);return n.__ownerID?(n.size=I.size,n._map=I,n._list=z,n.__hash=void 0,n):wn(I,z)}o(Le,Yt);function Le(n,a){this._iter=n,this._useKeys=a,this.size=n.size}Le.prototype.get=function(n,a){return this._iter.get(n,a)},Le.prototype.has=function(n){return this._iter.has(n)},Le.prototype.valueSeq=function(){return this._iter.valueSeq()},Le.prototype.reverse=function(){var n=this,a=go(this,!0);return this._useKeys||(a.valueSeq=function(){return n._iter.toSeq().reverse()}),a},Le.prototype.map=function(n,a){var c=this,p=qo(this,n,a);return this._useKeys||(p.valueSeq=function(){return c._iter.toSeq().map(n,a)}),p},Le.prototype.__iterate=function(n,a){var c=this,p;return this._iter.__iterate(this._useKeys?function(h,E){return n(h,E,c)}:(p=a?Yo(this):0,function(h){return n(h,a?--p:p++,c)}),a)},Le.prototype.__iterator=function(n,a){if(this._useKeys)return this._iter.__iterator(n,a);var c=this._iter.__iterator(at,a),p=a?Yo(this):0;return new gt(function(){var h=c.next();return h.done?h:ht(n,a?--p:p++,h.value,h)})},Le.prototype[x]=!0,o(_r,Tt);function _r(n){this._iter=n,this.size=n.size}_r.prototype.includes=function(n){return this._iter.includes(n)},_r.prototype.__iterate=function(n,a){var c=this,p=0;return this._iter.__iterate(function(h){return n(h,p++,c)},a)},_r.prototype.__iterator=function(n,a){var c=this._iter.__iterator(at,a),p=0;return new gt(function(){var h=c.next();return h.done?h:ht(n,p++,h.value,h)})},o(Dr,Gt);function Dr(n){this._iter=n,this.size=n.size}Dr.prototype.has=function(n){return this._iter.includes(n)},Dr.prototype.__iterate=function(n,a){var c=this;return this._iter.__iterate(function(p){return n(p,p,c)},a)},Dr.prototype.__iterator=function(n,a){var c=this._iter.__iterator(at,a);return new gt(function(){var p=c.next();return p.done?p:ht(n,p.value,p.value,p)})},o(lr,Yt);function lr(n){this._iter=n,this.size=n.size}lr.prototype.entrySeq=function(){return this._iter.toSeq()},lr.prototype.__iterate=function(n,a){var c=this;return this._iter.__iterate(function(p){if(p){vo(p);var h=d(p);return n(h?p.get(1):p[1],h?p.get(0):p[0],c)}},a)},lr.prototype.__iterator=function(n,a){var c=this._iter.__iterator(at,a);return new gt(function(){for(;;){var p=c.next();if(p.done)return p;var h=p.value;if(h){vo(h);var E=d(h);return ht(n,E?h.get(0):h[0],E?h.get(1):h[1],p)}}})},_r.prototype.cacheResult=Le.prototype.cacheResult=Dr.prototype.cacheResult=lr.prototype.cacheResult=mo;function Ho(n){var a=Ve(n);return a._iter=n,a.size=n.size,a.flip=function(){return n},a.reverse=function(){var c=n.reverse.apply(this);return c.flip=function(){return n.reverse()},c},a.has=function(c){return n.includes(c)},a.includes=function(c){return n.has(c)},a.cacheResult=mo,a.__iterateUncached=function(c,p){var h=this;return n.__iterate(function(E,C){return c(C,E,h)!==!1},p)},a.__iteratorUncached=function(c,p){if(c===mt){var h=n.__iterator(c,p);return new gt(function(){var E=h.next();if(!E.done){var C=E.value[0];E.value[0]=E.value[1],E.value[1]=C}return E})}return n.__iterator(c===at?Rt:at,p)},a}function qo(n,a,c){var p=Ve(n);return p.size=n.size,p.has=function(h){return n.has(h)},p.get=function(h,E){var C=n.get(h,V);return C===V?E:a.call(c,C,h,n)},p.__iterateUncached=function(h,E){var C=this;return n.__iterate(function(I,z,P){return h(a.call(c,I,z,P),z,C)!==!1},E)},p.__iteratorUncached=function(h,E){var C=n.__iterator(mt,E);return new gt(function(){var I=C.next();if(I.done)return I;var z=I.value,P=z[0];return ht(h,P,a.call(c,z[1],P,n),I)})},p}function go(n,a){var c=Ve(n);return c._iter=n,c.size=n.size,c.reverse=function(){return n},n.flip&&(c.flip=function(){var p=Ho(n);return p.reverse=function(){return n.flip()},p}),c.get=function(p,h){return n.get(a?p:-1-p,h)},c.has=function(p){return n.has(a?p:-1-p)},c.includes=function(p){return n.includes(p)},c.cacheResult=mo,c.__iterate=function(p,h){var E=this;return n.__iterate(function(C,I){return p(C,I,E)},!h)},c.__iterator=function(p,h){return n.__iterator(p,!h)},c}function Li(n,a,c,p){var h=Ve(n);return p&&(h.has=function(E){var C=n.get(E,V);return C!==V&&!!a.call(c,C,E,n)},h.get=function(E,C){var I=n.get(E,V);return I!==V&&a.call(c,I,E,n)?I:C}),h.__iterateUncached=function(E,C){var I=this,z=0;return n.__iterate(function(P,F,Z){if(a.call(c,P,F,Z))return z++,E(P,p?F:z-1,I)},C),z},h.__iteratorUncached=function(E,C){var I=n.__iterator(mt,C),z=0;return new gt(function(){for(;;){var P=I.next();if(P.done)return P;var F=P.value,Z=F[0],G=F[1];if(a.call(c,G,Z,n))return ht(E,p?Z:z++,G,P)}})},h}function cs(n,a,c){var p=bt().asMutable();return n.__iterate(function(h,E){p.update(a.call(c,h,E,n),0,function(C){return C+1})}),p.asImmutable()}function ba(n,a,c){var p=m(n),h=(y(n)?te():bt()).asMutable();n.__iterate(function(C,I){h.update(a.call(c,C,I,n),function(z){return z=z||[],z.push(p?[I,C]:C),z})});var E=Bi(n);return h.map(function(C){return Pt(n,E(C))})}function yo(n,a,c,p){var h=n.size;if(a!==void 0&&(a=a|0),c!==void 0&&(c===1/0?c=h:c=c|0),St(a,c,h))return n;var E=dt(a,h),C=yt(c,h);if(E!==E||C!==C)return yo(n.toSeq().cacheResult(),a,c,p);var I=C-E,z;I===I&&(z=I<0?0:I);var P=Ve(n);return P.size=z===0?z:n.size&&z||void 0,!p&&xt(n)&&z>=0&&(P.get=function(F,Z){return F=nt(this,F),F>=0&&F<z?n.get(F+E,Z):Z}),P.__iterateUncached=function(F,Z){var G=this;if(z===0)return 0;if(Z)return this.cacheResult().__iterate(F,Z);var ft=0,vt=!0,Qt=0;return n.__iterate(function(Be,Ze){if(!(vt&&(vt=ft++<E)))return Qt++,F(Be,p?Ze:Qt-1,G)!==!1&&Qt!==z}),Qt},P.__iteratorUncached=function(F,Z){if(z!==0&&Z)return this.cacheResult().__iterator(F,Z);var G=z!==0&&n.__iterator(F,Z),ft=0,vt=0;return new gt(function(){for(;ft++<E;)G.next();if(++vt>z)return Vt();var Qt=G.next();return p||F===at?Qt:F===Rt?ht(F,vt-1,void 0,Qt):ht(F,vt-1,Qt.value[1],Qt)})},P}function Ea(n,a,c){var p=Ve(n);return p.__iterateUncached=function(h,E){var C=this;if(E)return this.cacheResult().__iterate(h,E);var I=0;return n.__iterate(function(z,P,F){return a.call(c,z,P,F)&&++I&&h(z,P,C)}),I},p.__iteratorUncached=function(h,E){var C=this;if(E)return this.cacheResult().__iterator(h,E);var I=n.__iterator(mt,E),z=!0;return new gt(function(){if(!z)return Vt();var P=I.next();if(P.done)return P;var F=P.value,Z=F[0],G=F[1];return a.call(c,G,Z,C)?h===mt?P:ht(h,Z,G,P):(z=!1,Vt())})},p}function Ni(n,a,c,p){var h=Ve(n);return h.__iterateUncached=function(E,C){var I=this;if(C)return this.cacheResult().__iterate(E,C);var z=!0,P=0;return n.__iterate(function(F,Z,G){if(!(z&&(z=a.call(c,F,Z,G))))return P++,E(F,p?Z:P-1,I)}),P},h.__iteratorUncached=function(E,C){var I=this;if(C)return this.cacheResult().__iterator(E,C);var z=n.__iterator(mt,C),P=!0,F=0;return new gt(function(){var Z,G,ft;do{if(Z=z.next(),Z.done)return p||E===at?Z:E===Rt?ht(E,F++,void 0,Z):ht(E,F++,Z.value[1],Z);var vt=Z.value;G=vt[0],ft=vt[1],P&&(P=a.call(c,ft,G,I))}while(P);return E===mt?Z:ht(E,G,ft,Z)})},h}function Ma(n,a){var c=m(n),p=[n].concat(a).map(function(C){return d(C)?c&&(C=s(C)):C=c?Xt(C):oe(Array.isArray(C)?C:[C]),C}).filter(function(C){return C.size!==0});if(p.length===0)return n;if(p.length===1){var h=p[0];if(h===n||c&&m(h)||w(n)&&w(h))return h}var E=new W(p);return c?E=E.toKeyedSeq():w(n)||(E=E.toSetSeq()),E=E.flatten(!0),E.size=p.reduce(function(C,I){if(C!==void 0){var z=I.size;if(z!==void 0)return C+z}},0),E}function Ai(n,a,c){var p=Ve(n);return p.__iterateUncached=function(h,E){var C=0,I=!1;function z(P,F){var Z=this;P.__iterate(function(G,ft){return(!a||F<a)&&d(G)?z(G,F+1):h(G,c?ft:C++,Z)===!1&&(I=!0),!I},E)}return z(n,0),C},p.__iteratorUncached=function(h,E){var C=n.__iterator(h,E),I=[],z=0;return new gt(function(){for(;C;){var P=C.next();if(P.done!==!1){C=I.pop();continue}var F=P.value;if(h===mt&&(F=F[1]),(!a||I.length<a)&&d(F))I.push(C),C=F.__iterator(h,E);else return c?P:ht(h,z++,F,P)}return Vt()})},p}function zi(n,a,c){var p=Bi(n);return n.toSeq().map(function(h,E){return p(a.call(c,h,E,n))}).flatten(!0)}function Ca(n,a){var c=Ve(n);return c.size=n.size&&n.size*2-1,c.__iterateUncached=function(p,h){var E=this,C=0;return n.__iterate(function(I,z){return(!C||p(a,C++,E)!==!1)&&p(I,C++,E)!==!1},h),C},c.__iteratorUncached=function(p,h){var E=n.__iterator(at,h),C=0,I;return new gt(function(){return(!I||C%2)&&(I=E.next(),I.done)?I:C%2?ht(p,C++,a):ht(p,C++,I.value,I)})},c}function xr(n,a,c){a||(a=Wo);var p=m(n),h=0,E=n.toSeq().map(function(C,I){return[I,C,h++,c?c(C,I,n):C]}).toArray();return E.sort(function(C,I){return a(C[3],I[3])||C[2]-I[2]}).forEach(p?function(C,I){E[I].length=2}:function(C,I){E[I]=C[1]}),p?Yt(E):w(n)?Tt(E):Gt(E)}function ln(n,a,c){if(a||(a=Wo),c){var p=n.toSeq().map(function(h,E){return[h,c(h,E,n)]}).reduce(function(h,E){return Ri(a,h[1],E[1])?E:h});return p&&p[0]}else return n.reduce(function(h,E){return Ri(a,h,E)?E:h})}function Ri(n,a,c){var p=n(c,a);return p===0&&c!==a&&(c==null||c!==c)||p>0}function Pn(n,a,c){var p=Ve(n);return p.size=new W(c).map(function(h){return h.size}).min(),p.__iterate=function(h,E){for(var C=this.__iterator(at,E),I,z=0;!(I=C.next()).done&&h(I.value,z++,this)!==!1;);return z},p.__iteratorUncached=function(h,E){var C=c.map(function(P){return P=i(P),Ct(E?P.reverse():P)}),I=0,z=!1;return new gt(function(){var P;return z||(P=C.map(function(F){return F.next()}),z=P.some(function(F){return F.done})),z?Vt():ht(h,I++,a.apply(null,P.map(function(F){return F.value})))})},p}function Pt(n,a){return xt(n)?a:n.constructor(a)}function vo(n){if(n!==Object(n))throw new TypeError("Expected [K, V] tuple: "+n)}function Yo(n){return Te(n.size),lt(n)}function Bi(n){return m(n)?s:w(n)?u:l}function Ve(n){return Object.create((m(n)?Yt:w(n)?Tt:Gt).prototype)}function mo(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Lt.prototype.cacheResult.call(this)}function Wo(n,a){return n>a?1:n<a?-1:0}function Pi(n){var a=Ct(n);if(!a){if(!xe(n))throw new TypeError("Expected iterable or array-like: "+n);a=Ct(i(n))}return a}o(ke,Rr);function ke(n,a){var c,p=function(C){if(C instanceof p)return C;if(!(this instanceof p))return new p(C);if(!c){c=!0;var I=Object.keys(n);ls(h,I),h.size=I.length,h._name=a,h._keys=I,h._defaultValues=n}this._map=bt(C)},h=p.prototype=Object.create(pe);return h.constructor=p,p}ke.prototype.toString=function(){return this.__toString(Qo(this)+" {","}")},ke.prototype.has=function(n){return this._defaultValues.hasOwnProperty(n)},ke.prototype.get=function(n,a){if(!this.has(n))return a;var c=this._defaultValues[n];return this._map?this._map.get(n,c):c},ke.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var n=this.constructor;return n._empty||(n._empty=En(this,Re()))},ke.prototype.set=function(n,a){if(!this.has(n))throw new Error('Cannot set unknown key "'+n+'" on '+Qo(this));if(this._map&&!this._map.has(n)){var c=this._defaultValues[n];if(a===c)return this}var p=this._map&&this._map.set(n,a);return this.__ownerID||p===this._map?this:En(this,p)},ke.prototype.remove=function(n){if(!this.has(n))return this;var a=this._map&&this._map.remove(n);return this.__ownerID||a===this._map?this:En(this,a)},ke.prototype.wasAltered=function(){return this._map.wasAltered()},ke.prototype.__iterator=function(n,a){var c=this;return s(this._defaultValues).map(function(p,h){return c.get(h)}).__iterator(n,a)},ke.prototype.__iterate=function(n,a){var c=this;return s(this._defaultValues).map(function(p,h){return c.get(h)}).__iterate(n,a)},ke.prototype.__ensureOwner=function(n){if(n===this.__ownerID)return this;var a=this._map&&this._map.__ensureOwner(n);return n?En(this,a,n):(this.__ownerID=n,this._map=a,this)};var pe=ke.prototype;pe[B]=pe.remove,pe.deleteIn=pe.removeIn=_t.removeIn,pe.merge=_t.merge,pe.mergeWith=_t.mergeWith,pe.mergeIn=_t.mergeIn,pe.mergeDeep=_t.mergeDeep,pe.mergeDeepWith=_t.mergeDeepWith,pe.mergeDeepIn=_t.mergeDeepIn,pe.setIn=_t.setIn,pe.update=_t.update,pe.updateIn=_t.updateIn,pe.withMutations=_t.withMutations,pe.asMutable=_t.asMutable,pe.asImmutable=_t.asImmutable;function En(n,a,c){var p=Object.create(Object.getPrototypeOf(n));return p._map=a,p.__ownerID=c,p}function Qo(n){return n._name||n.constructor.name||"Record"}function ls(n,a){try{a.forEach(ka.bind(void 0,n))}catch{}}function ka(n,a){Object.defineProperty(n,a,{get:function(){return this.get(a)},set:function(c){ze(this.__ownerID,"Cannot set on an immutable record."),this.set(a,c)}})}o(Wt,qr);function Wt(n){return n==null?_o():Mn(n)&&!y(n)?n:_o().withMutations(function(a){var c=l(n);Te(c.size),c.forEach(function(p){return a.add(p)})})}Wt.of=function(){return this(arguments)},Wt.fromKeys=function(n){return this(s(n).keySeq())},Wt.prototype.toString=function(){return this.__toString("Set {","}")},Wt.prototype.has=function(n){return this._map.has(n)},Wt.prototype.add=function(n){return Fn(this,this._map.set(n,!0))},Wt.prototype.remove=function(n){return Fn(this,this._map.remove(n))},Wt.prototype.clear=function(){return Fn(this,this._map.clear())},Wt.prototype.union=function(){var n=r.call(arguments,0);return n=n.filter(function(a){return a.size!==0}),n.length===0?this:this.size===0&&!this.__ownerID&&n.length===1?this.constructor(n[0]):this.withMutations(function(a){for(var c=0;c<n.length;c++)l(n[c]).forEach(function(p){return a.add(p)})})},Wt.prototype.intersect=function(){var n=r.call(arguments,0);if(n.length===0)return this;n=n.map(function(c){return l(c)});var a=this;return this.withMutations(function(c){a.forEach(function(p){n.every(function(h){return h.includes(p)})||c.remove(p)})})},Wt.prototype.subtract=function(){var n=r.call(arguments,0);if(n.length===0)return this;n=n.map(function(c){return l(c)});var a=this;return this.withMutations(function(c){a.forEach(function(p){n.some(function(h){return h.includes(p)})&&c.remove(p)})})},Wt.prototype.merge=function(){return this.union.apply(this,arguments)},Wt.prototype.mergeWith=function(n){var a=r.call(arguments,1);return this.union.apply(this,a)},Wt.prototype.sort=function(n){return Ke(xr(this,n))},Wt.prototype.sortBy=function(n,a){return Ke(xr(this,a,n))},Wt.prototype.wasAltered=function(){return this._map.wasAltered()},Wt.prototype.__iterate=function(n,a){var c=this;return this._map.__iterate(function(p,h){return n(h,h,c)},a)},Wt.prototype.__iterator=function(n,a){return this._map.map(function(c,p){return p}).__iterator(n,a)},Wt.prototype.__ensureOwner=function(n){if(n===this.__ownerID)return this;var a=this._map.__ensureOwner(n);return n?this.__make(a,n):(this.__ownerID=n,this._map=a,this)};function Mn(n){return!!(n&&n[Vo])}Wt.isSet=Mn;var Vo="@@__IMMUTABLE_SET__@@",Ie=Wt.prototype;Ie[Vo]=!0,Ie[B]=Ie.remove,Ie.mergeDeep=Ie.merge,Ie.mergeDeepWith=Ie.mergeWith,Ie.withMutations=_t.withMutations,Ie.asMutable=_t.asMutable,Ie.asImmutable=_t.asImmutable,Ie.__empty=_o,Ie.__make=Fi;function Fn(n,a){return n.__ownerID?(n.size=a.size,n._map=a,n):a===n._map?n:a.size===0?n.__empty():n.__make(a)}function Fi(n,a){var c=Object.create(Ie);return c.size=n?n.size:0,c._map=n,c.__ownerID=a,c}var Zo;function _o(){return Zo||(Zo=Fi(Re()))}o(Ke,Wt);function Ke(n){return n==null?$n():Go(n)?n:$n().withMutations(function(a){var c=l(n);Te(c.size),c.forEach(function(p){return a.add(p)})})}Ke.of=function(){return this(arguments)},Ke.fromKeys=function(n){return this(s(n).keySeq())},Ke.prototype.toString=function(){return this.__toString("OrderedSet {","}")};function Go(n){return Mn(n)&&y(n)}Ke.isOrderedSet=Go;var Cn=Ke.prototype;Cn[x]=!0,Cn.__empty=$n,Cn.__make=Jo;function Jo(n,a){var c=Object.create(Cn);return c.size=n?n.size:0,c._map=n,c.__ownerID=a,c}var $i;function $n(){return $i||($i=Jo(bn()))}o(ne,kr);function ne(n){return n==null?Un():So(n)?n:Un().unshiftAll(n)}ne.of=function(){return this(arguments)},ne.prototype.toString=function(){return this.__toString("Stack [","]")},ne.prototype.get=function(n,a){var c=this._head;for(n=nt(this,n);c&&n--;)c=c.next;return c?c.value:a},ne.prototype.peek=function(){return this._head&&this._head.value},ne.prototype.push=function(){if(arguments.length===0)return this;for(var n=this.size+arguments.length,a=this._head,c=arguments.length-1;c>=0;c--)a={value:arguments[c],next:a};return this.__ownerID?(this.size=n,this._head=a,this.__hash=void 0,this.__altered=!0,this):Gr(n,a)},ne.prototype.pushAll=function(n){if(n=u(n),n.size===0)return this;Te(n.size);var a=this.size,c=this._head;return n.reverse().forEach(function(p){a++,c={value:p,next:c}}),this.__ownerID?(this.size=a,this._head=c,this.__hash=void 0,this.__altered=!0,this):Gr(a,c)},ne.prototype.pop=function(){return this.slice(1)},ne.prototype.unshift=function(){return this.push.apply(this,arguments)},ne.prototype.unshiftAll=function(n){return this.pushAll(n)},ne.prototype.shift=function(){return this.pop.apply(this,arguments)},ne.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):Un()},ne.prototype.slice=function(n,a){if(St(n,a,this.size))return this;var c=dt(n,this.size),p=yt(a,this.size);if(p!==this.size)return kr.prototype.slice.call(this,n,a);for(var h=this.size-c,E=this._head;c--;)E=E.next;return this.__ownerID?(this.size=h,this._head=E,this.__hash=void 0,this.__altered=!0,this):Gr(h,E)},ne.prototype.__ensureOwner=function(n){return n===this.__ownerID?this:n?Gr(this.size,this._head,n,this.__hash):(this.__ownerID=n,this.__altered=!1,this)},ne.prototype.__iterate=function(n,a){if(a)return this.reverse().__iterate(n);for(var c=0,p=this._head;p&&n(p.value,c++,this)!==!1;)p=p.next;return c},ne.prototype.__iterator=function(n,a){if(a)return this.reverse().__iterator(n);var c=0,p=this._head;return new gt(function(){if(p){var h=p.value;return p=p.next,ht(n,c++,h)}return Vt()})};function So(n){return!!(n&&n[Xo])}ne.isStack=So;var Xo="@@__IMMUTABLE_STACK__@@",Sr=ne.prototype;Sr[Xo]=!0,Sr.withMutations=_t.withMutations,Sr.asMutable=_t.asMutable,Sr.asImmutable=_t.asImmutable,Sr.wasAltered=_t.wasAltered;function Gr(n,a,c,p){var h=Object.create(Sr);return h.size=n,h._head=a,h.__ownerID=c,h.__hash=p,h.__altered=!1,h}var Ui;function Un(){return Ui||(Ui=Gr(0))}function Ge(n,a){var c=function(p){n.prototype[p]=a[p]};return Object.keys(a).forEach(c),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(a).forEach(c),n}function Oa(n){return typeof n=="string"&&(n==="__proto__"||n==="constructor")}i.Iterator=gt,Ge(i,{toArray:function(){Te(this.size);var n=new Array(this.size||0);return this.valueSeq().__iterate(function(a,c){n[c]=a}),n},toIndexedSeq:function(){return new _r(this)},toJS:function(){return this.toSeq().map(function(n){return n&&typeof n.toJS=="function"?n.toJS():n}).__toJS()},toJSON:function(){return this.toSeq().map(function(n){return n&&typeof n.toJSON=="function"?n.toJSON():n}).__toJS()},toKeyedSeq:function(){return new Le(this,!0)},toMap:function(){return bt(this.toKeyedSeq())},toObject:function(){Te(this.size);var n={};return this.__iterate(function(a,c){Oa(c)||(n[c]=a)}),n},toOrderedMap:function(){return te(this.toKeyedSeq())},toOrderedSet:function(){return Ke(m(this)?this.valueSeq():this)},toSet:function(){return Wt(m(this)?this.valueSeq():this)},toSetSeq:function(){return new Dr(this)},toSeq:function(){return w(this)?this.toIndexedSeq():m(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return ne(m(this)?this.valueSeq():this)},toList:function(){return qt(m(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(n,a){return this.size===0?n+a:n+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+a},concat:function(){var n=r.call(arguments,0);return Pt(this,Ma(this,n))},includes:function(n){return this.some(function(a){return jt(a,n)})},entries:function(){return this.__iterator(mt)},every:function(n,a){Te(this.size);var c=!0;return this.__iterate(function(p,h,E){if(!n.call(a,p,h,E))return c=!1,!1}),c},filter:function(n,a){return Pt(this,Li(this,n,a,!0))},find:function(n,a,c){var p=this.findEntry(n,a);return p?p[1]:c},forEach:function(n,a){return Te(this.size),this.__iterate(a?n.bind(a):n)},join:function(n){Te(this.size),n=n!==void 0?""+n:",";var a="",c=!0;return this.__iterate(function(p){c?c=!1:a+=n,a+=p!=null?p.toString():""}),a},keys:function(){return this.__iterator(Rt)},map:function(n,a){return Pt(this,qo(this,n,a))},reduce:function(n,a,c){Te(this.size);var p,h;return arguments.length<2?h=!0:p=a,this.__iterate(function(E,C,I){h?(h=!1,p=E):p=n.call(c,p,E,C,I)}),p},reduceRight:function(n,a,c){var p=this.toKeyedSeq().reverse();return p.reduce.apply(p,arguments)},reverse:function(){return Pt(this,go(this,!0))},slice:function(n,a){return Pt(this,yo(this,n,a,!0))},some:function(n,a){return!this.every(kn(n),a)},sort:function(n){return Pt(this,xr(this,n))},values:function(){return this.__iterator(at)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(n,a){return lt(n?this.toSeq().filter(n,a):this)},countBy:function(n,a){return cs(this,n,a)},equals:function(n){return je(this,n)},entrySeq:function(){var n=this;if(n._cache)return new W(n._cache);var a=n.toSeq().map(xa).toIndexedSeq();return a.fromEntrySeq=function(){return n.toSeq()},a},filterNot:function(n,a){return this.filter(kn(n),a)},findEntry:function(n,a,c){var p=c;return this.__iterate(function(h,E,C){if(n.call(a,h,E,C))return p=[E,h],!1}),p},findKey:function(n,a){var c=this.findEntry(n,a);return c&&c[0]},findLast:function(n,a,c){return this.toKeyedSeq().reverse().find(n,a,c)},findLastEntry:function(n,a,c){return this.toKeyedSeq().reverse().findEntry(n,a,c)},findLastKey:function(n,a){return this.toKeyedSeq().reverse().findKey(n,a)},first:function(){return this.find(pt)},flatMap:function(n,a){return Pt(this,zi(this,n,a))},flatten:function(n){return Pt(this,Ai(this,n,!0))},fromEntrySeq:function(){return new lr(this)},get:function(n,a){return this.find(function(c,p){return jt(p,n)},void 0,a)},getIn:function(n,a){for(var c=this,p=Pi(n),h;!(h=p.next()).done;){var E=h.value;if(c=c&&c.get?c.get(E,V):V,c===V)return a}return c},groupBy:function(n,a){return ba(this,n,a)},has:function(n){return this.get(n,V)!==V},hasIn:function(n){return this.getIn(n,V)!==V},isSubset:function(n){return n=typeof n.includes=="function"?n:i(n),this.every(function(a){return n.includes(a)})},isSuperset:function(n){return n=typeof n.isSubset=="function"?n:i(n),n.isSubset(this)},keyOf:function(n){return this.findKey(function(a){return jt(a,n)})},keySeq:function(){return this.toSeq().map(Da).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(n){return this.toKeyedSeq().reverse().keyOf(n)},max:function(n){return ln(this,n)},maxBy:function(n,a){return ln(this,a,n)},min:function(n){return ln(this,n?ti(n):ei)},minBy:function(n,a){return ln(this,a?ti(a):ei,n)},rest:function(){return this.slice(1)},skip:function(n){return this.slice(Math.max(0,n))},skipLast:function(n){return Pt(this,this.toSeq().reverse().skip(n).reverse())},skipWhile:function(n,a){return Pt(this,Ni(this,n,a,!0))},skipUntil:function(n,a){return this.skipWhile(kn(n),a)},sortBy:function(n,a){return Pt(this,xr(this,a,n))},take:function(n){return this.slice(0,Math.max(0,n))},takeLast:function(n){return Pt(this,this.toSeq().reverse().take(n).reverse())},takeWhile:function(n,a){return Pt(this,Ea(this,n,a))},takeUntil:function(n,a){return this.takeWhile(kn(n),a)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=Ta(this))}});var Se=i.prototype;Se[T]=!0,Se[se]=Se.values,Se.__toJS=Se.toArray,Se.__toStringMapper=Ki,Se.inspect=Se.toSource=function(){return this.toString()},Se.chain=Se.flatMap,Se.contains=Se.includes,Ge(s,{flip:function(){return Pt(this,Ho(this))},mapEntries:function(n,a){var c=this,p=0;return Pt(this,this.toSeq().map(function(h,E){return n.call(a,[E,h],p++,c)}).fromEntrySeq())},mapKeys:function(n,a){var c=this;return Pt(this,this.toSeq().flip().map(function(p,h){return n.call(a,p,h,c)}).flip())}});var Jr=s.prototype;Jr[S]=!0,Jr[se]=Se.entries,Jr.__toJS=Se.toObject,Jr.__toStringMapper=function(n,a){return JSON.stringify(a)+": "+Ki(n)},Ge(u,{toKeyedSeq:function(){return new Le(this,!1)},filter:function(n,a){return Pt(this,Li(this,n,a,!1))},findIndex:function(n,a){var c=this.findEntry(n,a);return c?c[0]:-1},indexOf:function(n){var a=this.keyOf(n);return a===void 0?-1:a},lastIndexOf:function(n){var a=this.lastKeyOf(n);return a===void 0?-1:a},reverse:function(){return Pt(this,go(this,!1))},slice:function(n,a){return Pt(this,yo(this,n,a,!1))},splice:function(n,a){var c=arguments.length;if(a=Math.max(a|0,0),c===0||c===2&&!a)return this;n=dt(n,n<0?this.count():this.size);var p=this.slice(0,n);return Pt(this,c===1?p:p.concat(tt(arguments,2),this.slice(n+a)))},findLastIndex:function(n,a){var c=this.findLastEntry(n,a);return c?c[0]:-1},first:function(){return this.get(0)},flatten:function(n){return Pt(this,Ai(this,n,!1))},get:function(n,a){return n=nt(this,n),n<0||this.size===1/0||this.size!==void 0&&n>this.size?a:this.find(function(c,p){return p===n},void 0,a)},has:function(n){return n=nt(this,n),n>=0&&(this.size!==void 0?this.size===1/0||n<this.size:this.indexOf(n)!==-1)},interpose:function(n){return Pt(this,Ca(this,n))},interleave:function(){var n=[this].concat(tt(arguments)),a=Pn(this.toSeq(),Tt.of,n),c=a.flatten(!0);return a.size&&(c.size=a.size*n.length),Pt(this,c)},keySeq:function(){return re(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(n,a){return Pt(this,Ni(this,n,a,!1))},zip:function(){var n=[this].concat(tt(arguments));return Pt(this,Pn(this,Hi,n))},zipWith:function(n){var a=tt(arguments);return a[0]=this,Pt(this,Pn(this,n,a))}}),u.prototype[D]=!0,u.prototype[x]=!0,Ge(l,{get:function(n,a){return this.has(n)?n:a},includes:function(n){return this.has(n)},keySeq:function(){return this.valueSeq()}}),l.prototype.has=Se.includes,l.prototype.contains=l.prototype.includes,Ge(Yt,s.prototype),Ge(Tt,u.prototype),Ge(Gt,l.prototype),Ge(Rr,s.prototype),Ge(kr,u.prototype),Ge(qr,l.prototype);function Da(n,a){return a}function xa(n,a){return[a,n]}function kn(n){return function(){return!n.apply(this,arguments)}}function ti(n){return function(){return-n.apply(this,arguments)}}function Ki(n){return typeof n=="string"?JSON.stringify(n):String(n)}function Hi(){return tt(arguments)}function ei(n,a){return n<a?1:n>a?-1:0}function Ta(n){if(n.size===1/0)return 0;var a=y(n),c=m(n),p=a?1:0,h=n.__iterate(c?a?function(E,C){p=31*p+ri(De(E),De(C))|0}:function(E,C){p=p+ri(De(E),De(C))|0}:a?function(E){p=31*p+De(E)|0}:function(E){p=p+De(E)|0});return fs(h,p)}function fs(n,a){return a=Br(a,3432918353),a=Br(a<<15|a>>>-15,461845907),a=Br(a<<13|a>>>-13,5),a=(a+3864292196|0)^n,a=Br(a^a>>>16,2246822507),a=Br(a^a>>>13,3266489909),a=ro(a^a>>>16),a}function ri(n,a){return n^a+2654435769+(n<<6)+(n>>2)|0}var ps={Iterable:i,Seq:Lt,Collection:Xe,Map:bt,OrderedMap:te,List:qt,Stack:ne,Set:Wt,OrderedSet:Ke,Record:ke,Range:re,Repeat:wt,is:jt,fromJS:It};return ps})})(sv);var Ce=sv.exports,R0=Ce,B0=R0.OrderedMap,P0={createFromArray:function(e){return B0(e.map(function(r){return[r.getKey(),r]}))}},ru=P0;function F0(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Jf=Ce,vf=Jf.Map,mf=Jf.OrderedSet,$0=Jf.Record,uv=mf(),cv={style:uv,entity:null},U0=$0(cv),Xf=function(t){F0(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.getStyle=function(){return this.get("style")},r.getEntity=function(){return this.get("entity")},r.hasStyle=function(i){return this.getStyle().includes(i)},e.applyStyle=function(i,s){var u=i.set("style",i.getStyle().add(s));return e.create(u)},e.removeStyle=function(i,s){var u=i.set("style",i.getStyle().remove(s));return e.create(u)},e.applyEntity=function(i,s){var u=i.getEntity()===s?i:i.set("entity",s);return e.create(u)},e.create=function(i){if(!i)return tp;var s={style:uv,entity:null},u=vf(s).merge(i),l=_l.get(u);if(l)return l;var d=new e(u);return _l=_l.set(u,d),d},e.fromJS=function(i){var s=i.style,u=i.entity;return new e({style:Array.isArray(s)?mf(s):s,entity:Array.isArray(u)?mf(u):u})},e}(U0),tp=new Xf,_l=vf([[vf(cv),tp]]);Xf.EMPTY=tp;var yn=Xf;function K0(t,e,r,o){if(t.size){var i=0;t.reduce(function(s,u,l){return e(s,u)||(r(s)&&o(i,l),i=l),u}),r(t.last())&&o(i,t.count())}}var nu=K0;function H0(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var q0=yn,Td=nu,ou=Ce,lv=ou.List,Y0=ou.Map,W0=ou.OrderedSet,Q0=ou.Record,V0=ou.Repeat,Z0=W0(),G0={key:"",type:"unstyled",text:"",characterList:lv(),depth:0,data:Y0()},J0=Q0(G0),X0=function(e){if(!e)return e;var r=e.characterList,o=e.text;return o&&!r&&(e.characterList=lv(V0(q0.EMPTY,o.length))),e},tw=function(t){H0(e,t);function e(o){return t.call(this,X0(o))||this}var r=e.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(i){var s=this.getCharacterList().get(i);return s?s.getStyle():Z0},r.getEntityAt=function(i){var s=this.getCharacterList().get(i);return s?s.getEntity():null},r.findStyleRanges=function(i,s){Td(this.getCharacterList(),ew,i,s)},r.findEntityRanges=function(i,s){Td(this.getCharacterList(),rw,i,s)},e}(J0);function ew(t,e){return t.getStyle()===e.getStyle()}function rw(t,e){return t.getEntity()===e.getEntity()}var ia=tw;function nw(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var ow=yn,Id=nu,iu=Ce,_f=iu.List,iw=iu.Map,aw=iu.OrderedSet,sw=iu.Record,uw=iu.Repeat,cw=aw(),jd={parent:null,characterList:_f(),data:iw(),depth:0,key:"",text:"",type:"unstyled",children:_f(),prevSibling:null,nextSibling:null},lw=function(e,r){return e.getStyle()===r.getStyle()},fw=function(e,r){return e.getEntity()===r.getEntity()},pw=function(e){if(!e)return e;var r=e.characterList,o=e.text;return o&&!r&&(e.characterList=_f(uw(ow.EMPTY,o.length))),e},dw=function(t){nw(e,t);function e(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:jd;return t.call(this,pw(o))||this}var r=e.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(i){var s=this.getCharacterList().get(i);return s?s.getStyle():cw},r.getEntityAt=function(i){var s=this.getCharacterList().get(i);return s?s.getEntity():null},r.getChildKeys=function(){return this.get("children")},r.getParentKey=function(){return this.get("parent")},r.getPrevSiblingKey=function(){return this.get("prevSibling")},r.getNextSiblingKey=function(){return this.get("nextSibling")},r.findStyleRanges=function(i,s){Id(this.getCharacterList(),lw,i,s)},r.findEntityRanges=function(i,s){Id(this.getCharacterList(),fw,i,s)},e}(sw(jd)),vn=dw,Ld=yn,hw=Ce,gw=hw.Map,yw={add:function(e,r,o){return Nd(e,r,o,!0)},remove:function(e,r,o){return Nd(e,r,o,!1)}};function Nd(t,e,r,o){var i=t.getBlockMap(),s=e.getStartKey(),u=e.getStartOffset(),l=e.getEndKey(),d=e.getEndOffset(),m=i.skipUntil(function(w,k){return k===s}).takeUntil(function(w,k){return k===l}).concat(gw([[l,i.get(l)]])).map(function(w,k){var y,T;s===l?(y=u,T=d):(y=k===s?u:0,T=k===l?d:w.getLength());for(var S=w.getCharacterList(),D;y<T;)D=S.get(y),S=S.set(y,o?Ld.applyStyle(D,r):Ld.removeStyle(D,r)),y++;return w.set("characterList",S)});return t.merge({blockMap:i.merge(m),selectionBefore:e,selectionAfter:e})}var vw=yw,mw=yn;function _w(t,e,r,o){for(var i=e,s=t.getCharacterList();i<r;)s=s.set(i,mw.applyEntity(s.get(i),o)),i++;return t.set("characterList",s)}var Sw=_w,ww=Sw,bw=Ce;function Ew(t,e,r){var o=t.getBlockMap(),i=e.getStartKey(),s=e.getStartOffset(),u=e.getEndKey(),l=e.getEndOffset(),d=o.skipUntil(function(m,w){return w===i}).takeUntil(function(m,w){return w===u}).toOrderedMap().merge(bw.OrderedMap([[u,o.get(u)]])).map(function(m,w){var k=w===i?s:0,y=w===u?l:m.getLength();return ww(m,k,y,r)});return t.merge({blockMap:o.merge(d),selectionBefore:e,selectionAfter:e})}var Mw=Ew,Cw={getRemovalRange:function(e,r,o,i,s){var u=o.split(" ");u=u.map(function(x,B){if(s==="forward"){if(B>0)return" "+x}else if(B<u.length-1)return x+" ";return x});for(var l=i,d,m,w=null,k=null,y=0;y<u.length;y++){if(m=u[y],d=l+m.length,e<d&&l<r)w!==null||(w=l),k=d;else if(w!==null)break;l=d}var T=i+o.length,S=w===i,D=k===T;return(!S&&D||S&&!D)&&(s==="forward"?k!==T&&k++:w!==i&&w--),{start:w,end:k}}},kw=Cw;function Ow(t,e){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];if(!t){var s;if(e===void 0)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=0;s=new Error(e.replace(/%s/g,function(){return String(o[u++])})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var Oe=Ow,Dw=Oe;function xw(t,e){var r=[];return t.findEntityRanges(function(o){return o.getEntity()===e},function(o,i){r.push({start:o,end:i})}),r.length||Dw(!1),r}var Tw=xw,Iw=kw,jw=Tw,Lw=Oe;function Nw(t,e,r,o,i){var s=o.getStartOffset(),u=o.getEndOffset(),l=e.getEntityAt(s),d=r.getEntityAt(u-1);if(!l&&!d)return o;var m=o;if(l&&l===d)m=ys(t,e,m,i,l,!0,!0);else if(l&&d){var w=ys(t,e,m,i,l,!1,!0),k=ys(t,r,m,i,d,!1,!1);m=m.merge({anchorOffset:w.getAnchorOffset(),focusOffset:k.getFocusOffset(),isBackward:!1})}else if(l){var y=ys(t,e,m,i,l,!1,!0);m=m.merge({anchorOffset:y.getStartOffset(),isBackward:!1})}else if(d){var T=ys(t,r,m,i,d,!1,!1);m=m.merge({focusOffset:T.getEndOffset(),isBackward:!1})}return m}function ys(t,e,r,o,i,s,u){var l=r.getStartOffset(),d=r.getEndOffset(),m=t.__get(i),w=m.getMutability(),k=u?l:d;if(w==="MUTABLE")return r;var y=jw(e,i).filter(function(D){return k<=D.end&&k>=D.start});y.length!=1&&Lw(!1);var T=y[0];if(w==="IMMUTABLE")return r.merge({anchorOffset:T.start,focusOffset:T.end,isBackward:!1});s||(u?d=T.end:l=T.start);var S=Iw.getRemovalRange(l,d,e.getText().slice(T.start,T.end),T.start,o);return r.merge({anchorOffset:S.start,focusOffset:S.end,isBackward:!1})}var Aw=Nw,Ad={},zw=Math.pow(2,24);function Rw(){for(var t;t===void 0||Ad.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*zw).toString(32);return Ad[t]=!0,t}var to=Rw,Bw=vn,fv=to,Pw=Ce,pv=Pw.OrderedMap,Fw=function(e){var r={},o;return pv(e.withMutations(function(i){i.forEach(function(s,u){var l=s.getKey(),d=s.getNextSiblingKey(),m=s.getPrevSiblingKey(),w=s.getChildKeys(),k=s.getParentKey(),y=fv();if(r[l]=y,d){var T=i.get(d);T?i.setIn([d,"prevSibling"],y):i.setIn([l,"nextSibling"],null)}if(m){var S=i.get(m);S?i.setIn([m,"nextSibling"],y):i.setIn([l,"prevSibling"],null)}if(k&&i.get(k)){var D=i.get(k),x=D.getChildKeys();i.setIn([k,"children"],x.set(x.indexOf(s.getKey()),y))}else i.setIn([l,"parent"],null),o&&(i.setIn([o.getKey(),"nextSibling"],y),i.setIn([l,"prevSibling"],r[o.getKey()])),o=i.get(l);w.forEach(function(B){var N=i.get(B);N?i.setIn([B,"parent"],y):i.setIn([l,"children"],s.getChildKeys().filter(function($){return $!==B}))})})}).toArray().map(function(i){return[r[i.getKey()],i.set("key",r[i.getKey()])]}))},$w=function(e){return pv(e.toArray().map(function(r){var o=fv();return[o,r.set("key",o)]}))},Uw=function(e){var r=e.first()instanceof Bw;return r?Fw(e):$w(e)},dv=Uw,Kw=yn,Hw=nu,qw=Oe;function Yw(t,e){var r=t.getBlockMap(),o=t.getEntityMap(),i={},s=e.getStartKey(),u=e.getStartOffset(),l=r.get(s),d=zd(o,l,u);d!==l&&(i[s]=d);var m=e.getEndKey(),w=e.getEndOffset(),k=r.get(m);s===m&&(k=d);var y=zd(o,k,w);return y!==k&&(i[m]=y),Object.keys(i).length?t.merge({blockMap:r.merge(i),selectionAfter:e}):t.set("selectionAfter",e)}function Ww(t,e,r){var o;return Hw(t,function(i,s){return i.getEntity()===s.getEntity()},function(i){return i.getEntity()===e},function(i,s){i<=r&&s>=r&&(o={start:i,end:s})}),typeof o!="object"&&qw(!1),o}function zd(t,e,r){var o=e.getCharacterList(),i=r>0?o.get(r-1):void 0,s=r<o.count()?o.get(r):void 0,u=i?i.getEntity():void 0,l=s?s.getEntity():void 0;if(l&&l===u){var d=t.__get(l);if(d.getMutability()!=="MUTABLE"){for(var m=Ww(o,l,r),w=m.start,k=m.end,y;w<k;)y=o.get(w),o=o.set(w,Kw.applyEntity(y,null)),w++;return e.set("characterList",o)}}return e}var hv=Yw,Qw=dv,Vw=hv,Zw=function(e,r){var o=r.getStartKey(),i=r.getStartOffset(),s=r.getEndKey(),u=r.getEndOffset(),l=Vw(e,r),d=l.getBlockMap(),m=d.keySeq(),w=m.indexOf(o),k=m.indexOf(s)+1;return Qw(d.slice(w,k).map(function(y,T){var S=y.getText(),D=y.getCharacterList();return o===s?y.merge({text:S.slice(i,u),characterList:D.slice(i,u)}):T===o?y.merge({text:S.slice(i),characterList:D.slice(i)}):T===s?y.merge({text:S.slice(0,u),characterList:D.slice(0,u)}):y}))},Lc=Zw;function Gw(t,e,r){var o=t;if(r===o.count())e.forEach(function(u){o=o.push(u)});else if(r===0)e.reverse().forEach(function(u){o=o.unshift(u)});else{var i=o.slice(0,r),s=o.slice(r);o=i.concat(e,s).toList()}return o}var gv=Gw,Jw=ru,yv=vn,Xw=Ce,tb=gv,Rd=Oe,eb=dv,rb=Xw.List,nb=function(e,r,o,i,s,u){var l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:"REPLACE_WITH_NEW_DATA",d=o.get(s),m=d.getText(),w=d.getCharacterList(),k=s,y=u+i.getText().length,T=null;switch(l){case"MERGE_OLD_DATA_TO_NEW_DATA":T=i.getData().merge(d.getData());break;case"REPLACE_WITH_NEW_DATA":T=i.getData();break}var S=d.getType();m&&S==="unstyled"&&(S=i.getType());var D=d.merge({text:m.slice(0,u)+i.getText()+m.slice(u),characterList:tb(w,i.getCharacterList(),u),type:S,data:T});return e.merge({blockMap:o.set(s,D),selectionBefore:r,selectionAfter:r.merge({anchorKey:k,anchorOffset:y,focusKey:k,focusOffset:y,isBackward:!1})})},ob=function(e,r,o){var i=e.getText(),s=e.getCharacterList(),u=i.slice(0,r),l=s.slice(0,r),d=o.first();return e.merge({text:u+d.getText(),characterList:l.concat(d.getCharacterList()),type:u?e.getType():d.getType(),data:d.getData()})},ib=function(e,r,o){var i=e.getText(),s=e.getCharacterList(),u=i.length,l=i.slice(r,u),d=s.slice(r,u),m=o.last();return m.merge({text:m.getText()+l,characterList:m.getCharacterList().concat(d),data:m.getData()})},ab=function(e,r){var o=e.getKey(),i=e,s=[];for(r.get(o)&&s.push(o);i&&i.getNextSiblingKey();){var u=i.getNextSiblingKey();if(!u)break;s.push(u),i=r.get(u)}return s},sb=function(e,r,o,i){return e.withMutations(function(s){var u=o.getKey(),l=i.getKey(),d=o.getNextSiblingKey(),m=o.getParentKey(),w=ab(i,e),k=w[w.length-1];if(s.get(l)?(s.setIn([u,"nextSibling"],l),s.setIn([l,"prevSibling"],u)):(s.setIn([u,"nextSibling"],i.getNextSiblingKey()),s.setIn([i.getNextSiblingKey(),"prevSibling"],u)),s.setIn([k,"nextSibling"],d),d&&s.setIn([d,"prevSibling"],k),w.forEach(function(B){return s.setIn([B,"parent"],m)}),m){var y=e.get(m),T=y.getChildKeys(),S=T.indexOf(u),D=S+1,x=T.toArray();x.splice.apply(x,[D,0].concat(w)),s.setIn([m,"children"],rb(x))}})},ub=function(e,r,o,i,s,u){var l=o.first()instanceof yv,d=[],m=i.size,w=o.get(s),k=i.first(),y=i.last(),T=y.getLength(),S=y.getKey(),D=l&&(!w.getChildKeys().isEmpty()||!k.getChildKeys().isEmpty());o.forEach(function(B,N){if(N!==s){d.push(B);return}D?d.push(B):d.push(ob(B,u,i)),i.slice(D?0:1,m-1).forEach(function($){return d.push($)}),d.push(ib(B,u,i))});var x=Jw.createFromArray(d);return l&&(x=sb(x,o,w,k)),e.merge({blockMap:x,selectionBefore:r,selectionAfter:r.merge({anchorKey:S,anchorOffset:T,focusKey:S,focusOffset:T,isBackward:!1})})},cb=function(e,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"REPLACE_WITH_NEW_DATA";r.isCollapsed()||Rd(!1);var s=e.getBlockMap(),u=eb(o),l=r.getStartKey(),d=r.getStartOffset(),m=s.get(l);return m instanceof yv&&(m.getChildKeys().isEmpty()||Rd(!1)),u.size===1?nb(e,r,s,u.first(),l,d,i):ub(e,r,s,u,l,d)},lb=cb,fb=Ce,pb=gv,db=Oe,hb=fb.Repeat;function gb(t,e,r,o){e.isCollapsed()||db(!1);var i=null;if(r!=null&&(i=r.length),i==null||i===0)return t;var s=t.getBlockMap(),u=e.getStartKey(),l=e.getStartOffset(),d=s.get(u),m=d.getText(),w=d.merge({text:m.slice(0,l)+r+m.slice(l,d.getLength()),characterList:pb(d.getCharacterList(),hb(o,i).toList(),l)}),k=l+i;return t.merge({blockMap:s.set(u,w),selectionAfter:e.merge({anchorOffset:k,focusOffset:k})})}var yb=gb,vb=Ce,mb=vb.Map;function _b(t,e,r){var o=e.getStartKey(),i=e.getEndKey(),s=t.getBlockMap(),u=s.toSeq().skipUntil(function(l,d){return d===o}).takeUntil(function(l,d){return d===i}).concat(mb([[i,s.get(i)]])).map(r);return t.merge({blockMap:s.merge(u),selectionBefore:e,selectionAfter:e})}var vv=_b,Sb=vn,wb=function(e,r){var o=e instanceof Sb;if(!o)return null;var i=e.getNextSiblingKey();if(i)return i;var s=e.getParentKey();if(!s)return null;for(var u=r.get(s);u&&!u.getNextSiblingKey();){var l=u.getParentKey();u=l?r.get(l):null}return u?u.getNextSiblingKey():null},mv=wb,bb=vn,Sf=mv,_v=Ce;_v.List;var Bd=_v.Map,Pr=function(e,r,o){if(e){var i=r.get(e);i&&r.set(e,o(i))}},yc=function(e,r){var o=[];if(!e)return o;for(var i=r.get(e);i&&i.getParentKey();){var s=i.getParentKey();s&&o.push(s),i=s?r.get(s):null}return o},Eb=function(e,r){var o=[];if(!e)return o;for(var i=Sf(e,r);i&&r.get(i);){var s=r.get(i);o.push(i),i=s.getParentKey()?Sf(s,r):null}return o},Ia=function(e,r,o){if(!e)return null;for(var i=o.get(e.getKey()).getNextSiblingKey();i&&!r.get(i);)i=o.get(i).getNextSiblingKey()||null;return i},ja=function(e,r,o){if(!e)return null;for(var i=o.get(e.getKey()).getPrevSiblingKey();i&&!r.get(i);)i=o.get(i).getPrevSiblingKey()||null;return i},Mb=function(e,r,o,i){return e.withMutations(function(s){if(Pr(r.getKey(),s,function(w){return w.merge({nextSibling:Ia(w,s,i),prevSibling:ja(w,s,i)})}),Pr(o.getKey(),s,function(w){return w.merge({nextSibling:Ia(w,s,i),prevSibling:ja(w,s,i)})}),yc(r.getKey(),i).forEach(function(w){return Pr(w,s,function(k){return k.merge({children:k.getChildKeys().filter(function(y){return s.get(y)}),nextSibling:Ia(k,s,i),prevSibling:ja(k,s,i)})})}),Pr(r.getNextSiblingKey(),s,function(w){return w.merge({prevSibling:r.getPrevSiblingKey()})}),Pr(r.getPrevSiblingKey(),s,function(w){return w.merge({nextSibling:Ia(w,s,i)})}),Pr(o.getNextSiblingKey(),s,function(w){return w.merge({prevSibling:ja(w,s,i)})}),Pr(o.getPrevSiblingKey(),s,function(w){return w.merge({nextSibling:o.getNextSiblingKey()})}),yc(o.getKey(),i).forEach(function(w){Pr(w,s,function(k){return k.merge({children:k.getChildKeys().filter(function(y){return s.get(y)}),nextSibling:Ia(k,s,i),prevSibling:ja(k,s,i)})})}),Eb(o,i).forEach(function(w){return Pr(w,s,function(k){return k.merge({nextSibling:Ia(k,s,i),prevSibling:ja(k,s,i)})})}),e.get(r.getKey())==null&&e.get(o.getKey())!=null&&o.getParentKey()===r.getKey()&&o.getPrevSiblingKey()==null){var u=r.getPrevSiblingKey();Pr(o.getKey(),s,function(w){return w.merge({prevSibling:u})}),Pr(u,s,function(w){return w.merge({nextSibling:o.getKey()})});var l=u?e.get(u):null,d=l?l.getParentKey():null;if(r.getChildKeys().forEach(function(w){Pr(w,s,function(k){return k.merge({parent:d})})}),d!=null){var m=e.get(d);Pr(d,s,function(w){return w.merge({children:m.getChildKeys().concat(r.getChildKeys())})})}Pr(r.getChildKeys().find(function(w){var k=e.get(w);return k.getNextSiblingKey()===null}),s,function(w){return w.merge({nextSibling:r.getNextSiblingKey()})})}})},Cb=function(e,r){if(r.isCollapsed())return e;var o=e.getBlockMap(),i=r.getStartKey(),s=r.getStartOffset(),u=r.getEndKey(),l=r.getEndOffset(),d=o.get(i),m=o.get(u),w=d instanceof bb,k=[];if(w){var y=m.getChildKeys(),T=yc(u,o);m.getNextSiblingKey()&&(k=k.concat(T)),y.isEmpty()||(k=k.concat(T.concat([u]))),k=k.concat(yc(Sf(m,o),o))}var S;d===m?S=kb(d.getCharacterList(),s,l):S=d.getCharacterList().slice(0,s).concat(m.getCharacterList().slice(l));var D=d.merge({text:d.getText().slice(0,s)+m.getText().slice(l),characterList:S}),x=w&&s===0&&l===0&&m.getParentKey()===i&&m.getPrevSiblingKey()==null,B=x?Bd([[i,null]]):o.toSeq().skipUntil(function($,K){return K===i}).takeUntil(function($,K){return K===u}).filter(function($,K){return k.indexOf(K)===-1}).concat(Bd([[u,null]])).map(function($,K){return K===i?D:null}),N=o.merge(B).filter(function($){return!!$});return w&&d!==m&&(N=Mb(N,d,m,o)),e.merge({blockMap:N,selectionBefore:r,selectionAfter:r.merge({anchorKey:i,anchorOffset:s,focusKey:i,focusOffset:s,isBackward:!1})})},kb=function(e,r,o){if(r===0)for(;r<o;)e=e.shift(),r++;else if(o===e.count())for(;o>r;)e=e.pop(),o--;else{var i=e.slice(0,r),s=e.slice(o);e=i.concat(s).toList()}return e},Ob=Cb,Db=vn,xb=to,Sv=Ce,Pd=Oe,Tb=vv,Ib=Sv.List,jb=Sv.Map,Tu=function(e,r,o){if(e){var i=r.get(e);i&&r.set(e,o(i))}},Lb=function(e,r,o){return e.withMutations(function(i){var s=r.getKey(),u=o.getKey();Tu(r.getParentKey(),i,function(l){var d=l.getChildKeys(),m=d.indexOf(s)+1,w=d.toArray();return w.splice(m,0,u),l.merge({children:Ib(w)})}),Tu(r.getNextSiblingKey(),i,function(l){return l.merge({prevSibling:u})}),Tu(s,i,function(l){return l.merge({nextSibling:u})}),Tu(u,i,function(l){return l.merge({prevSibling:s})})})},Nb=function(e,r){r.isCollapsed()||Pd(!1);var o=r.getAnchorKey(),i=e.getBlockMap(),s=i.get(o),u=s.getText();if(!u){var l=s.getType();if(l==="unordered-list-item"||l==="ordered-list-item")return Tb(e,r,function(B){return B.merge({type:"unstyled",depth:0})})}var d=r.getAnchorOffset(),m=s.getCharacterList(),w=xb(),k=s instanceof Db,y=s.merge({text:u.slice(0,d),characterList:m.slice(0,d)}),T=y.merge({key:w,text:u.slice(d),characterList:m.slice(d),data:jb()}),S=i.toSeq().takeUntil(function(B){return B===s}),D=i.toSeq().skipUntil(function(B){return B===s}).rest(),x=S.concat([[o,y],[w,T]],D).toOrderedMap();return k&&(s.getChildKeys().isEmpty()||Pd(!1),x=Lb(x,y,T)),e.merge({blockMap:x,selectionBefore:r,selectionAfter:r.merge({anchorKey:w,anchorOffset:0,focusKey:w,focusOffset:0,isBackward:!1})})},Ab=Nb,zb=yn,Fd=vw,Rb=Mw,Bb=Aw,Pb=Lc,Fb=Ce,$b=lb,Ub=yb,Kb=Oe,Sl=vv,vs=hv,ms=Ob,Hb=Ab,qb=Fb.OrderedSet,nc={replaceText:function(e,r,o,i,s){var u=vs(e,r),l=ms(u,r),d=zb.create({style:i||qb(),entity:s||null});return Ub(l,l.getSelectionAfter(),o,d)},insertText:function(e,r,o,i,s){return r.isCollapsed()||Kb(!1),nc.replaceText(e,r,o,i,s)},moveText:function(e,r,o){var i=Pb(e,r),s=nc.removeRange(e,r,"backward");return nc.replaceWithFragment(s,o,i)},replaceWithFragment:function(e,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"REPLACE_WITH_NEW_DATA",s=vs(e,r),u=ms(s,r);return $b(u,u.getSelectionAfter(),o,i)},removeRange:function(e,r,o){var i,s,u,l;r.getIsBackward()&&(r=r.merge({anchorKey:r.getFocusKey(),anchorOffset:r.getFocusOffset(),focusKey:r.getAnchorKey(),focusOffset:r.getAnchorOffset(),isBackward:!1})),i=r.getAnchorKey(),s=r.getFocusKey(),u=e.getBlockForKey(i),l=e.getBlockForKey(s);var d=r.getStartOffset(),m=r.getEndOffset(),w=u.getEntityAt(d),k=l.getEntityAt(m-1);if(i===s&&w&&w===k){var y=Bb(e.getEntityMap(),u,l,r,o);return ms(e,y)}var T=vs(e,r);return ms(T,r)},splitBlock:function(e,r){var o=vs(e,r),i=ms(o,r);return Hb(i,i.getSelectionAfter())},applyInlineStyle:function(e,r,o){return Fd.add(e,r,o)},removeInlineStyle:function(e,r,o){return Fd.remove(e,r,o)},setBlockType:function(e,r,o){return Sl(e,r,function(i){return i.merge({type:o,depth:0})})},setBlockData:function(e,r,o){return Sl(e,r,function(i){return i.merge({data:o})})},mergeBlockData:function(e,r,o){return Sl(e,r,function(i){return i.merge({data:i.getData().merge(o)})})},applyEntity:function(e,r,o){var i=vs(e,r);return Rb(i,r,o)}},Ur=nc;function Yb(t){return Object.keys(t).map(function(e){return t[e]})}var wv=Yb;function Wb(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},o=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),o.forEach(function(i){Qb(t,i,r[i])})}return t}function Qb(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Vb(t,e){if(t==null)return{};var r={},o=Object.keys(t),i,s;for(s=0;s<o.length;s++)i=o[s],!(e.indexOf(i)>=0)&&(r[i]=t[i]);return r}var bv=nu,Zb=wv,ep=Ce,Ra=ep.List,Gb=ep.Repeat,Ev=ep.Record,Mv=function(){return!0},Jb={start:null,end:null},wf=Ev(Jb),Xb={start:null,end:null,decoratorKey:null,leaves:null},wl=Ev(Xb),tE={generate:function(e,r,o){var i=r.getLength();if(!i)return Ra.of(new wl({start:0,end:0,decoratorKey:null,leaves:Ra.of(new wf({start:0,end:0}))}));var s=[],u=o?o.getDecorations(r,e):Ra(Gb(null,i)),l=r.getCharacterList();return bv(u,Cv,Mv,function(d,m){s.push(new wl({start:d,end:m,decoratorKey:u.get(d),leaves:eE(l.slice(d,m).toList(),d)}))}),Ra(s)},fromJS:function(e){var r=e.leaves,o=Vb(e,["leaves"]);return new wl(Wb({},o,{leaves:r!=null?Ra(Array.isArray(r)?r:Zb(r)).map(function(i){return wf(i)}):null}))}};function eE(t,e){var r=[],o=t.map(function(i){return i.getStyle()}).toList();return bv(o,Cv,Mv,function(i,s){r.push(new wf({start:i+e,end:s+e}))}),Ra(r)}function Cv(t,e){return t===e}var rE=tE;function nE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var oE=Ce,iE=oE.Record,aE=iE({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),sE=function(t){nE(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.getType=function(){return this.get("type")},r.getMutability=function(){return this.get("mutability")},r.getData=function(){return this.get("data")},e}(aE),kv=sE;function uE(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,r=t=="x"?e:e&3|8;return r.toString(16)})}var cE=uE;function lE(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},o=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),o.forEach(function(i){fE(t,i,r[i])})}return t}function fE(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var pE=kv,dE=Ce,hE=Oe,bf=cE,gE=dE.Map,bo=gE(),_s=bf();function La(t,e){console.warn("WARNING: "+t+` will be deprecated soon! 2Please use "`+e+'" instead.')}var Wn={getLastCreatedEntityKey:function(){return La("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),Wn.__getLastCreatedEntityKey()},create:function(e,r,o){return La("DraftEntity.create","contentState.createEntity"),Wn.__create(e,r,o)},add:function(e){return La("DraftEntity.add","contentState.addEntity"),Wn.__add(e)},get:function(e){return La("DraftEntity.get","contentState.getEntity"),Wn.__get(e)},__getAll:function(){return bo},__loadWithEntities:function(e){bo=e,_s=bf()},mergeData:function(e,r){return La("DraftEntity.mergeData","contentState.mergeEntityData"),Wn.__mergeData(e,r)},replaceData:function(e,r){return La("DraftEntity.replaceData","contentState.replaceEntityData"),Wn.__replaceData(e,r)},__getLastCreatedEntityKey:function(){return _s},__create:function(e,r,o){return Wn.__add(new pE({type:e,mutability:r,data:o||{}}))},__add:function(e){return _s=bf(),bo=bo.set(_s,e),_s},__get:function(e){var r=bo.get(e);return r||hE(!1),r},__mergeData:function(e,r){var o=Wn.__get(e),i=lE({},o.getData(),r),s=o.set("data",i);return bo=bo.set(e,s),s},__replaceData:function(e,r){var o=Wn.__get(e),i=o.set("data",r);return bo=bo.set(e,i),i}},Nc=Wn;function yE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var vE=Ce,mE=vE.Record,_E={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},SE=mE(_E),wE=function(t){yE(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(i,s,u){var l=this.getAnchorKey(),d=this.getFocusKey();if(l===d&&l===i){var m=this.getStartOffset(),w=this.getEndOffset();return s<=m&&m<=u||s<=w&&w<=u}if(i!==l&&i!==d)return!1;var k=i===l?this.getAnchorOffset():this.getFocusOffset();return s<=k&&u>=k},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},e.createEmpty=function(i){return new e({anchorKey:i,anchorOffset:0,focusKey:i,focusOffset:0,isBackward:!1,hasFocus:!1})},e}(SE),Ac=wE,_i=function(t){return typeof window<"u"&&window.__DRAFT_GKX?!!window.__DRAFT_GKX[t]:!1},bE=new RegExp("\r","g");function EE(t){return t.replace(bE,"")}var Ov=EE;function $d(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},o=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),o.forEach(function(i){ME(t,i,r[i])})}return t}function ME(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function CE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var kE=ru,Ud=yn,OE=ia,DE=vn,qn=Nc,Iu=Ac,xE=to,TE=wv,IE=_i,au=Ce,jE=Ov,Kd=au.List,LE=au.Record,NE=au.Repeat,AE=au.Map,zE=au.OrderedMap,RE={entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null},BE=LE(RE),Hd=IE("draft_tree_data_support")?DE:OE,PE=function(t){CE(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.getEntityMap=function(){return qn},r.getBlockMap=function(){return this.get("blockMap")},r.getSelectionBefore=function(){return this.get("selectionBefore")},r.getSelectionAfter=function(){return this.get("selectionAfter")},r.getBlockForKey=function(i){var s=this.getBlockMap().get(i);return s},r.getKeyBefore=function(i){return this.getBlockMap().reverse().keySeq().skipUntil(function(s){return s===i}).skip(1).first()},r.getKeyAfter=function(i){return this.getBlockMap().keySeq().skipUntil(function(s){return s===i}).skip(1).first()},r.getBlockAfter=function(i){return this.getBlockMap().skipUntil(function(s,u){return u===i}).skip(1).first()},r.getBlockBefore=function(i){return this.getBlockMap().reverse().skipUntil(function(s,u){return u===i}).skip(1).first()},r.getBlocksAsArray=function(){return this.getBlockMap().toArray()},r.getFirstBlock=function(){return this.getBlockMap().first()},r.getLastBlock=function(){return this.getBlockMap().last()},r.getPlainText=function(i){return this.getBlockMap().map(function(s){return s?s.getText():""}).join(i||` 3`)},r.getLastCreatedEntityKey=function(){return qn.__getLastCreatedEntityKey()},r.hasText=function(){var i=this.getBlockMap();return i.size>1||escape(i.first().getText()).replace(/%u200B/g,"").length>0},r.createEntity=function(i,s,u){return qn.__create(i,s,u),this},r.mergeEntityData=function(i,s){return qn.__mergeData(i,s),this},r.replaceEntityData=function(i,s){return qn.__replaceData(i,s),this},r.addEntity=function(i){return qn.__add(i),this},r.getEntity=function(i){return qn.__get(i)},r.getAllEntities=function(){return qn.__getAll()},r.loadWithEntities=function(i){return qn.__loadWithEntities(i)},e.createFromBlockArray=function(i,s){var u=Array.isArray(i)?i:i.contentBlocks,l=kE.createFromArray(u),d=l.isEmpty()?new Iu:Iu.createEmpty(l.first().getKey());return new e({blockMap:l,entityMap:s||qn,selectionBefore:d,selectionAfter:d})},e.createFromText=function(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:/\r\n?|\n/g,u=i.split(s),l=u.map(function(d){return d=jE(d),new Hd({key:xE(),text:d,type:"unstyled",characterList:Kd(NE(Ud.EMPTY,d.length))})});return e.createFromBlockArray(l)},e.fromJS=function(i){return new e($d({},i,{blockMap:zE(i.blockMap).map(e.createContentBlockFromJS),selectionBefore:new Iu(i.selectionBefore),selectionAfter:new Iu(i.selectionAfter)}))},e.createContentBlockFromJS=function(i){var s=i.characterList;return new Hd($d({},i,{data:AE(i.data),characterList:s!=null?Kd((Array.isArray(s)?s:TE(s)).map(function(u){return Ud.fromJS(u)})):void 0}))},e}(BE),rp=PE,vc=Oe,FE="NEUTRAL",zc="LTR",Dv="RTL",oc=null;function mc(t){return t===zc||t===Dv}function xv(t){return mc(t)||vc(!1),t===zc?"ltr":"rtl"}function $E(t,e){return mc(t)||vc(!1),mc(e)||vc(!1),t===e?null:xv(t)}function Tv(t){oc=t}function UE(){Tv(zc)}function KE(){return oc||this.initGlobalDir(),oc||vc(!1),oc}var HE={NEUTRAL:FE,LTR:zc,RTL:Dv,isStrong:mc,getHTMLDir:xv,getHTMLDirIfDifferent:$E,setGlobalDir:Tv,initGlobalDir:UE,getGlobalDir:KE},Rc=HE,Oo=Rc,qE=Oe,Rs={L:"A-Za-zªµºÃ-ÃÃ-öø-ƺƻƼ-Æ¿Ç-ÇÇ-ÊÊÊ-ʯʰ-ʸʻ-ËË-ËË -ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿÎÎ-ÎÎÎ-ΡΣ-ϵϷ-ÒÒÒ-Ô¯Ô±-ÕÕÕ-ÕÕ¡-ÖÖà¤à¤-हऻऽा-à¥à¥-à¥à¥-à¥à¥à¥-ॡ।-॥०-९॰ॱॲ-à¦à¦-à¦à¦ -à¦à¦-à¦à¦-নপ-রলশ-হঽা-à§à§-à§à§-à§à§à§à§-à§à§-ৡ০-৯ৰ-ৱ৴-৹৺à¨à¨ -à¨à¨-à¨à¨-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-à©à©-à©à©à©¦-੯ੲ-à©´àªàª -àªàª-àªàª-નપ-રલ-ળવ-હઽા-à«à«à«-à«à«à« -ૡ૦-૯૰à¬-à¬à¬ -à¬à¬-à¬à¬-ନପ-ରଲ-ଳଵ-ହଽାàà-àà-ààà-àà-à¡à¦-à¯à°à±à²-à·à®à® -à®à®-à®à®-à®à®-à®à®à®-à®à®£-தந-பம-ஹா-ிà¯-à¯à¯-à¯à¯-à¯à¯à¯à¯¦-௯௰-௲à°-à°à° -à°à°-à°à°-నప-హఽà±-à±à±-à±à± -ౡ౦-౯౿à²-à²à² -à²à²-à²à²-ನಪ-ಳವ-ಹಽಾಿà³-à³à³à³-à³à³-à³à³-à³à³à³ -ೡ೦-೯ೱ-à³²à´-à´à´ -à´à´-à´à´-ഺഽാ-àµàµ-àµàµ-àµàµàµàµ -ൡ൦-൯൰-൵൹ൺ-ൿà¶-à¶à¶ -à¶à¶-නඳ-රලà·-à·à·-à·à·-à·à·¦-෯ෲ-ෳ෴à¸-ะา-ำà¹-๠à¹à¹à¹-à¹à¹-à¹àº-àºàºàº-àºàºàºàº-àºàº-àºàº¡-ຣລວສ-ຫàº-ະາ-ຳຽà»-à»à»à»-à»à»-à»à¼à¼-à¼à¼-à¼à¼à¼à¼-à¼à¼-à¼à¼ -༩༪-༳༴༶༸༾-༿à½-à½à½-ཬཿྠà¾-à¾à¾¾-à¿ à¿-à¿à¿-à¿à¿-à¿à¿-à¿à¿-à¿á-áªá«-á¬á±á¸á»-á¼á¿á-áá-áá-áá-áá-áá¡á¢-á¤á¥-á¦á§-áá®-á°áµ-áá-áá-áááá-áá-áá-áá -á ááá-áºá»á¼á½-áá-áá-ááá-áá -áá-áá-á°á²-áµá¸-á¾áá-á á-áá-áá-áá-áá -á¨á©-á¼á-áá -á´á-á¬á-á®á¯-á¿á-áá -áªá«-áá®-á°á±-á¸á-áá-áá -á±áµ-á¶á
3-áá -á¬á®-á°á-á³á¶á¾-á
á-áá-ááá-ááá -á©á -á á -á¡á¡á¡-á¡·á¢-ᢨᢪᢰ-ᣵá¤-á¤á¤£-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸá¥-á¥á¥-á¥á¥°-ᥴá¦-ᦫᦰ-á§á§-á§á§-á§á§-á§á§á¨-á¨á¨-á¨á¨-á¨á¨ -á©á©á©á©¡á©£-ᩤá©-ᩲáª-áªáª-áªáª -᪦ᪧ᪨-áªá¬á¬
-ᬳᬵᬻᬽ-áá-áá
-áá-áá-á á¡-áªá´-á¼á®á®-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿á°-ᰣᰤ-á°«á°´-ᰵ᰻-á°¿á±-á±á±-á±á±-á±á±-ᱷᱸ-ᱽ᱾-᱿á³-á³á³á³¡á³©-ᳬᳮ-ᳱᳲ-ᳳᳵ-á³¶á´-á´«á´¬-ᵪᵫ-ᵷᵸᵹ-á¶á¶-á¶¿á¸-á¼á¼-á¼á¼ -á½
á½-á½á½-á½á½á½á½á½-á½½á¾-á¾´á¾¶-ᾼιá¿-á¿á¿-á¿á¿-á¿á¿-á¿á¿ -Ῥῲ-á¿´á¿¶-ῼââ±â¿â-ââââ-âââ-ââ¤â¦â¨âª-ââ¯-â´âµ-â¸â¹â¼-â¿â
-â
â
â
â
-ââ-ââ
-ââ¶-âºââ-â©â¬â -⣿â°-Ⱞⰰ-â±â± -ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-â³³â´-ⴥⴧâ´â´°-ⵧⵯ⵰â¶-â¶â¶ -ⶦⶨ-ⶮⶰ-ⶶⶸ-â¶¾â·-â·â·-â·â·-â·â·-â·ã
ããã¡-ã©ã®-ã¯ã±-ãµã¸-ãºã»ã¼ã-ãã-ããã¡-ãºã¼-ã¾ã¿ã
-ãã±-ãã-ãã-ãã-ãã -ãºã°-ã¿ã-ãã -ã©ãª-ãã-ãã -ã»ã¿ã-ãã-ã°ã-ãã-ã¾ã-ã¶ã»-ãã -ã¾ã-ä¶µä¸-é¿ê-êêê-êê-ê·ê¸-ê½ê¾-ê¿ê-êêê-êê -ê©êª-ê«ê-êê®ê-êê-êê -ê¥ê¦-ê¯ê²-ê·ê¢-ê¯ê°ê±-êê-êê-êê-êê°-ê±ê·ê¸-ê¹êºê»-ê ê -ê
ê -ê ê -ê ¢ê £-ê ¤ê §ê °-ê µê ¶-ê ·ê¡-ꡳê¢-ê¢ê¢-ꢳꢴ-ê£ê£-ê£ê£-ê£ê£²-ꣷ꣸-꣺ꣻê¤-ê¤ê¤-ꤥ꤮-꤯ꤰ-ê¥ê¥-ê¥ê¥ê¥ -ꥼê¦ê¦-ꦲꦴ-ꦵꦺ-ꦻꦽ-ê§ê§-ê§ê§ê§-ê§ê§-ê§ê§ -ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ê§¾ê¨-ꨨꨯ-ꨰꨳ-ꨴê©-ê©ê©-ê©ê©ê©-ê©ê©-ê©ê© -ꩯꩰꩱ-ê©¶ê©·-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽê«ê«ê«-ê«ê«ê«-ê«ê« -ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵê¬-ê¬ê¬-ê¬ê¬-ê¬ê¬ -ꬦꬨ-ꬮꬰ-êêê-êê¤-ê¥ê¯-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹ê°-í£í°-íí-í»î-ï¤-ï©ï©°-ï«ï¬-ï¬ï¬-ï¬ï¼¡-Zï½-ï½ï½¦-ッーア-ï¾ï¾-ï¾ï¾ -ï¾¾ï¿-ï¿ï¿-ï¿ï¿-ï¿ï¿-ï¿",R:"ÖÖ¾××××-××-ת׫-ׯװ-ײ׳-×´×µ-׿ß-ßß-ߪߴ-ߵߺ߻-ß¿à -à à à ¤à ¨à ®-à ¯à °-à ¾à ¿à¡-à¡à¡-à¡à¡à¡-à¢âï¬ï¬-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿ï-ïïï-ïï
ï-ï",AL:"ØØØØØØØ-ØØ -Ø¿ÙÙ-ÙÙÙ®-ٯٱ-ÛÛÛÛ¥-Û¦Û®-Û¯Ûº-Û¼Û½-Û¾Û¿Ü-ÜÜÜÜÜ-ܯÝ-ÝÝ-Þ¥Þ±Þ²-޿ࢠ-ࢲࢳ-ࣣï-ﮱ﮲-ï¯ï¯-ï¯ï¯-ï´½ïµ-ïµïµ-ï¶ï¶-ï¶ï¶-ï·ï·-ï·ï·°-ﷻ﷼﷾-ï·¿ï¹°-ﹴ﹵ﹶ-ﻼ﻽-﻾"},YE=new RegExp("["+Rs.L+Rs.R+Rs.AL+"]"),WE=new RegExp("["+Rs.R+Rs.AL+"]");function Iv(t){var e=YE.exec(t);return e==null?null:e[0]}function jv(t){var e=Iv(t);return e==null?Oo.NEUTRAL:WE.exec(e)?Oo.RTL:Oo.LTR}function Lv(t,e){if(e=e||Oo.NEUTRAL,!t.length)return e;var r=jv(t);return r===Oo.NEUTRAL?e:r}function np(t,e){return e||(e=Oo.getGlobalDir()),Oo.isStrong(e)||qE(!1),Lv(t,e)}function QE(t,e){return np(t,e)===Oo.LTR}function VE(t,e){return np(t,e)===Oo.RTL}var ZE={firstStrongChar:Iv,firstStrongCharDir:jv,resolveBlockDir:Lv,getDirection:np,isDirectionLTR:QE,isDirectionRTL:VE},op=ZE;function qd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var GE=op,Yd=Rc,JE=Oe,XE=function(){function t(r){qd(this,"_defaultDir",void 0),qd(this,"_lastDir",void 0),r?Yd.isStrong(r)||JE(!1):r=Yd.getGlobalDir(),this._defaultDir=r,this.reset()}var e=t.prototype;return e.reset=function(){this._lastDir=this._defaultDir},e.getDirection=function(o){return this._lastDir=GE.getDirection(o,this._lastDir),this._lastDir},t}(),tM=XE,eM=function(e){if(e!=null)return e;throw new Error("Got unexpected null or undefined")},Kr=eM,rM=tM,Nv=Ce,nM=Kr,oM=Nv.OrderedMap,ju,iM={getDirectionMap:function(e,r){ju?ju.reset():ju=new rM;var o=e.getBlockMap(),i=o.valueSeq().map(function(u){return nM(ju).getDirection(u.getText())}),s=oM(o.keySeq().zip(i));return r!=null&&Nv.is(r,s)?r:s}},aM=iM;function Wd(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},o=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),o.forEach(function(i){Av(t,i,r[i])})}return t}function Av(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bc=rE,Ss=rp,Lu=aM,bl=Ac,su=Ce,zv=su.OrderedSet,sM=su.Record,Vi=su.Stack,Qd=su.OrderedMap,uM=su.List,cM={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:Vi(),selection:null,treeMap:null,undoStack:Vi()},Vd=sM(cM),Rv=function(){e.createEmpty=function(o){return this.createWithText("",o)},e.createWithText=function(o,i){return e.createWithContent(Ss.createFromText(o),i)},e.createWithContent=function(o,i){if(o.getBlockMap().count()===0)return e.createEmpty(i);var s=o.getBlockMap().first().getKey();return e.create({currentContent:o,undoStack:Vi(),redoStack:Vi(),decorator:i||null,selection:bl.createEmpty(s)})},e.create=function(o){var i=o.currentContent,s=o.decorator,u=Wd({},o,{treeMap:Gd(i,s),directionMap:Lu.getDirectionMap(i)});return new e(new Vd(u))},e.fromJS=function(o){return new e(new Vd(Wd({},o,{directionMap:o.directionMap!=null?Qd(o.directionMap):o.directionMap,inlineStyleOverride:o.inlineStyleOverride!=null?zv(o.inlineStyleOverride):o.inlineStyleOverride,nativelyRenderedContent:o.nativelyRenderedContent!=null?Ss.fromJS(o.nativelyRenderedContent):o.nativelyRenderedContent,redoStack:o.redoStack!=null?Vi(o.redoStack.map(function(i){return Ss.fromJS(i)})):o.redoStack,selection:o.selection!=null?new bl(o.selection):o.selection,treeMap:o.treeMap!=null?Qd(o.treeMap).map(function(i){return uM(i).map(function(s){return Bc.fromJS(s)})}):o.treeMap,undoStack:o.undoStack!=null?Vi(o.undoStack.map(function(i){return Ss.fromJS(i)})):o.undoStack,currentContent:Ss.fromJS(o.currentContent)})))},e.set=function(o,i){var s=o.getImmutable().withMutations(function(u){var l=u.get("decorator"),d=l;i.decorator===null?d=null:i.decorator&&(d=i.decorator);var m=i.currentContent||o.getCurrentContent();if(d!==l){var w=u.get("treeMap"),k;d&&l?k=fM(m,m.getBlockMap(),w,d,l):k=Gd(m,d),u.merge({decorator:d,treeMap:k,nativelyRenderedContent:null});return}var y=o.getCurrentContent();
vendor: 11,109 bytes, lines 3-6
3m!==y&&u.set("treeMap",lM(o,m.getBlockMap(),m.getEntityMap(),d)),u.merge(i)});return new e(s)};var t=e.prototype;t.toJS=function(){return this.getImmutable().toJS()},t.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.getSelection=function(){return this.getImmutable().get("selection")},t.getDecorator=function(){return this.getImmutable().get("decorator")},t.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},e.setInlineStyleOverride=function(o,i){return e.set(o,{inlineStyleOverride:i})},t.getCurrentInlineStyle=function(){var o=this.getInlineStyleOverride();if(o!=null)return o;var i=this.getCurrentContent(),s=this.getSelection();return s.isCollapsed()?dM(i,s):hM(i,s)},t.getBlockTree=function(o){return this.getImmutable().getIn(["treeMap",o])},t.isSelectionAtStartOfContent=function(){var o=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(o,0,0)},t.isSelectionAtEndOfContent=function(){var o=this.getCurrentContent(),i=o.getBlockMap(),s=i.last(),u=s.getLength();return this.getSelection().hasEdgeWithin(s.getKey(),u,u)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(o,i){return Zd(o,i,!1)},e.forceSelection=function(o,i){return i.getHasFocus()||(i=i.set("hasFocus",!0)),Zd(o,i,!0)},e.moveSelectionToEnd=function(o){var i=o.getCurrentContent(),s=i.getLastBlock(),u=s.getKey(),l=s.getLength();return e.acceptSelection(o,new bl({anchorKey:u,anchorOffset:l,focusKey:u,focusOffset:l,isBackward:!1}))},e.moveFocusToEnd=function(o){var i=e.moveSelectionToEnd(o);return e.forceSelection(i,i.getSelection())},e.push=function(o,i,s){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(o.getCurrentContent()===i)return o;var l=Lu.getDirectionMap(i,o.getDirectionMap());if(!o.getAllowUndo())return e.set(o,{currentContent:i,directionMap:l,lastChangeType:s,selection:i.getSelectionAfter(),forceSelection:u,inlineStyleOverride:null});var d=o.getSelection(),m=o.getCurrentContent(),w=o.getUndoStack(),k=i;d!==m.getSelectionAfter()||pM(o,s)?(w=w.push(m),k=k.set("selectionBefore",d)):(s==="insert-characters"||s==="backspace-character"||s==="delete-character")&&(k=k.set("selectionBefore",m.getSelectionBefore()));var y=o.getInlineStyleOverride(),T=["adjust-depth","change-block-type","split-block"];T.indexOf(s)===-1&&(y=null);var S={currentContent:k,directionMap:l,undoStack:w,redoStack:Vi(),lastChangeType:s,selection:i.getSelectionAfter(),forceSelection:u,inlineStyleOverride:y};return e.set(o,S)},e.undo=function(o){if(!o.getAllowUndo())return o;var i=o.getUndoStack(),s=i.peek();if(!s)return o;var u=o.getCurrentContent(),l=Lu.getDirectionMap(s,o.getDirectionMap());return e.set(o,{currentContent:s,directionMap:l,undoStack:i.shift(),redoStack:o.getRedoStack().push(u),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:u.getSelectionBefore()})},e.redo=function(o){if(!o.getAllowUndo())return o;var i=o.getRedoStack(),s=i.peek();if(!s)return o;var u=o.getCurrentContent(),l=Lu.getDirectionMap(s,o.getDirectionMap());return e.set(o,{currentContent:s,directionMap:l,undoStack:o.getUndoStack().push(u),redoStack:i.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:s.getSelectionAfter()})};function e(r){Av(this,"_immutable",void 0),this._immutable=r}return t.getImmutable=function(){return this._immutable},e}();function Zd(t,e,r){return Rv.set(t,{selection:e,forceSelection:r,nativelyRenderedContent:null,inlineStyleOverride:null})}function Gd(t,e){return t.getBlockMap().map(function(r){return Bc.generate(t,r,e)}).toOrderedMap()}function lM(t,e,r,o){var i=t.getCurrentContent().set("entityMap",r),s=i.getBlockMap(),u=t.getImmutable().get("treeMap");return u.merge(e.toSeq().filter(function(l,d){return l!==s.get(d)}).map(function(l){return Bc.generate(i,l,o)}))}function fM(t,e,r,o,i){return r.merge(e.toSeq().filter(function(s){return o.getDecorations(s,t)!==i.getDecorations(s,t)}).map(function(s){return Bc.generate(t,s,o)}))}function pM(t,e){var r=t.getLastChangeType();return e!==r||e!=="insert-characters"&&e!=="backspace-character"&&e!=="delete-character"}function dM(t,e){var r=e.getStartKey(),o=e.getStartOffset(),i=t.getBlockForKey(r);return o>0?i.getInlineStyleAt(o-1):i.getLength()?i.getInlineStyleAt(0):Bv(t,r)}function hM(t,e){var r=e.getStartKey(),o=e.getStartOffset(),i=t.getBlockForKey(r);return o<i.getLength()?i.getInlineStyleAt(o):o>0?i.getInlineStyleAt(o-1):Bv(t,r)}function Bv(t,e){var r=t.getBlockMap().reverse().skipUntil(function(o,i){return i===e}).skip(1).skipUntil(function(o,i){return o.getLength()}).first();return r?r.getInlineStyleAt(r.getLength()-1):zv()}var Ue=Rv,gM=vn,yM=mv,Pv=Ce,Nu=Oe,vM=Pv.OrderedMap,mM=Pv.List,Yi=function(e,r,o){if(e){var i=r.get(e);i&&r.set(e,o(i))}},_M=function(e,r,o,i,s){if(!s)return e;var u=i==="after",l=r.getKey(),d=o.getKey(),m=r.getParentKey(),w=r.getNextSiblingKey(),k=r.getPrevSiblingKey(),y=o.getParentKey(),T=u?o.getNextSiblingKey():d,S=u?d:o.getPrevSiblingKey();return e.withMutations(function(D){Yi(m,D,function(x){var B=x.getChildKeys();return x.merge({children:B.delete(B.indexOf(l))})}),Yi(k,D,function(x){return x.merge({nextSibling:w})}),Yi(w,D,function(x){return x.merge({prevSibling:k})}),Yi(T,D,function(x){return x.merge({prevSibling:l})}),Yi(S,D,function(x){return x.merge({nextSibling:l})}),Yi(y,D,function(x){var B=x.getChildKeys(),N=B.indexOf(d),$=u?N+1:N!==0?N-1:0,K=B.toArray();return K.splice($,0,l),x.merge({children:mM(K)})}),Yi(l,D,function(x){return x.merge({nextSibling:T,prevSibling:S,parent:y})})})},SM=function(e,r,o,i){i==="replace"&&Nu(!1);var s=o.getKey(),u=r.getKey();u===s&&Nu(!1);var l=e.getBlockMap(),d=r instanceof gM,m=[r],w=l.delete(u);d&&(m=[],w=l.withMutations(function(B){var N=r.getNextSiblingKey(),$=yM(r,B);B.toSeq().skipUntil(function(K){return K.getKey()===u}).takeWhile(function(K){var V=K.getKey(),ct=V===u,it=N&&V!==N,H=!N&&K.getParentKey()&&(!$||V!==$);return!!(ct||it||H)}).forEach(function(K){m.push(K),B.delete(K.getKey())})}));var k=w.toSeq().takeUntil(function(B){return B===o}),y=w.toSeq().skipUntil(function(B){return B===o}).skip(1),T=m.map(function(B){return[B.getKey(),B]}),S=vM();if(i==="before"){var D=e.getBlockBefore(s);!D||D.getKey()!==r.getKey()||Nu(!1),S=k.concat([].concat(T,[[s,o]]),y).toOrderedMap()}else if(i==="after"){var x=e.getBlockAfter(s);!x||x.getKey()!==u||Nu(!1),S=k.concat([[s,o]].concat(T),y).toOrderedMap()}return e.merge({blockMap:_M(S,r,o,i,d),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:u,focusKey:u})})},wM=SM;function Jd(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},o=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),o.forEach(function(i){bM(t,i,r[i])})}return t}function bM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var EM=ru,MM=yn,CM=ia,kM=vn,Na=Ur,Xd=Ue,th=to,OM=_i,Fv=Ce,Au=wM,$v=OM("draft_tree_data_support"),eh=$v?kM:CM,DM=Fv.List,xM=Fv.Repeat,TM={insertAtomicBlock:function(e,r,o){var i=e.getCurrentContent(),s=e.getSelection(),u=Na.removeRange(i,s,"backward"),l=u.getSelectionAfter(),d=Na.splitBlock(u,l),m=d.getSelectionAfter(),w=Na.setBlockType(d,m,"atomic"),k=MM.create({entity:r}),y={key:th(),type:"atomic",text:o,characterList:DM(xM(k,o.length))},T={key:th(),type:"unstyled"};$v&&(y=Jd({},y,{nextSibling:T.key}),T=Jd({},T,{prevSibling:y.key}));var S=[new eh(y),new eh(T)],D=EM.createFromArray(S),x=Na.replaceWithFragment(w,m,D),B=x.merge({selectionBefore:s,selectionAfter:x.getSelectionAfter().set("hasFocus",!0)});return Xd.push(e,B,"insert-fragment")},moveAtomicBlock:function(e,r,o,i){var s=e.getCurrentContent(),u=e.getSelection(),l;if(i==="before"||i==="after"){var d=s.getBlockForKey(i==="before"?o.getStartKey():o.getEndKey());l=Au(s,r,d,i)}else{var m=Na.removeRange(s,o,"backward"),w=m.getSelectionAfter(),k=m.getBlockForKey(w.getFocusKey());if(w.getStartOffset()===0)l=Au(m,r,k,"before");else if(w.getEndOffset()===k.getLength())l=Au(m,r,k,"after");else{var y=Na.splitBlock(m,w),T=y.getSelectionAfter(),S=y.getBlockForKey(T.getFocusKey());l=Au(y,r,S,"before")}}var D=l.merge({selectionBefore:u,selectionAfter:l.getSelectionAfter().set("hasFocus",!0)});return Xd.push(e,D,"move-block")}},IM=TM;function jM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var LM=Ce,NM=LM.List,El=".",AM=function(){function t(r){jM(this,"_decorators",void 0),this._decorators=r.slice()}var e=t.prototype;return e.getDecorations=function(o,i){var s=Array(o.getText().length).fill(null);return this._decorators.forEach(function(u,l){var d=0,m=u.strategy,w=function(y,T){zM(s,y,T)&&(RM(s,y,T,l+El+d),d++)};m(o,w,i)}),NM(s)},e.getComponentForKey=function(o){var i=parseInt(o.split(El)[0],10);return this._decorators[i].component},e.getPropsForKey=function(o){var i=parseInt(o.split(El)[0],10);return this._decorators[i].props},t}();function zM(t,e,r){for(var o=e;o<r;o++)if(t[o]!=null)return!1;return!0}function RM(t,e,r,o){for(var i=e;i<r;i++)t[i]=o}var BM=AM;function PM(t){return typeof t=="object"?Object.keys(t).filter(function(e){return t[e]}).map(rh).join(" "):Array.prototype.map.call(arguments,rh).join(" ")}function rh(t){return t.replace(/\//g,"-")}var aa=PM,ip=dr,ap=aa,FM=Ce,$M=FM.Map,UM=ip.createElement("ul",{className:ap("public/DraftStyleDefault/ul")}),KM=ip.createElement("ol",{className:ap("public/DraftStyleDefault/ol")}),HM=ip.createElement("pre",{className:ap("public/DraftStyleDefault/pre")}),qM=$M({"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:UM},"ordered-list-item":{element:"li",wrapper:KM},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:HM},unstyled:{element:"div",aliasedElements:["p"]}}),sp=qM,Uv={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}};/* 4object-assign 5(c) Sindre Sorhus 6@license MIT
vendor: 22,077 bytes, line 7
7*/var nh=Object.getOwnPropertySymbols,YM=Object.prototype.hasOwnProperty,WM=Object.prototype.propertyIsEnumerable;function QM(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function VM(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var o=Object.getOwnPropertyNames(e).map(function(s){return e[s]});if(o.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(s){i[s]=s}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var sa=VM()?Object.assign:function(t,e){for(var r,o=QM(t),i,s=1;s<arguments.length;s++){r=Object(arguments[s]);for(var u in r)YM.call(r,u)&&(o[u]=r[u]);if(nh){i=nh(r);for(var l=0;l<i.length;l++)WM.call(r,i[l])&&(o[i[l]]=r[i[l]])}}return o},Ef={exports:{}};(function(t,e){(function(r,o){var i="0.7.41",s="",u="?",l="function",d="undefined",m="object",w="string",k="major",y="model",T="name",S="type",D="vendor",x="version",B="architecture",N="console",$="mobile",K="tablet",V="smarttv",ct="wearable",it="embedded",H=500,q="Amazon",Y="Apple",tt="ASUS",lt="BlackBerry",nt="Browser",pt="Chrome",St="Edge",dt="Firefox",yt="Google",zt="Honor",Rt="Huawei",at="Lenovo",mt="LG",Ft="Microsoft",ye="Motorola",se="Nvidia",gt="OnePlus",ht="Opera",Vt="OPPO",Zt="Samsung",le="Sharp",Ct="Sony",ue="Xiaomi",xe="Zebra",Lt="Facebook",Yt="Chromium OS",Tt="Mac OS",Gt=" Browser",J=function(It,Ot){var Mt={};for(var ee in It)Ot[ee]&&Ot[ee].length%2===0?Mt[ee]=Ot[ee].concat(It[ee]):Mt[ee]=It[ee];return Mt},W=function(It){for(var Ot={},Mt=0;Mt<It.length;Mt++)Ot[It[Mt].toUpperCase()]=It[Mt];return Ot},et=function(It,Ot){return typeof It===w?st(Ot).indexOf(st(It))!==-1:!1},st=function(It){return It.toLowerCase()},ot=function(It){return typeof It===w?It.replace(/[^\d\.]/g,s).split(".")[0]:o},xt=function(It,Ot){if(typeof It===w)return It=It.replace(/^\s\s*/,s),typeof Ot===d?It:It.substring(0,H)},Ut=function(It,Ot){for(var Mt=0,ee,jt,je,wt,Nt,ze;Mt<Ot.length&&!Nt;){var re=Ot[Mt],Cr=Ot[Mt+1];for(ee=jt=0;ee<re.length&&!Nt&&re[ee];)if(Nt=re[ee++].exec(It),Nt)for(je=0;je<Cr.length;je++)ze=Nt[++jt],wt=Cr[je],typeof wt===m&&wt.length>0?wt.length===2?typeof wt[1]==l?this[wt[0]]=wt[1].call(this,ze):this[wt[0]]=wt[1]:wt.length===3?typeof wt[1]===l&&!(wt[1].exec&&wt[1].test)?this[wt[0]]=ze?wt[1].call(this,ze,wt[2]):o:this[wt[0]]=ze?ze.replace(wt[1],wt[2]):o:wt.length===4&&(this[wt[0]]=ze?wt[3].call(this,ze.replace(wt[1],wt[2])):o):this[wt]=ze||o;Mt+=2}},kt=function(It,Ot){for(var Mt in Ot)if(typeof Ot[Mt]===m&&Ot[Mt].length>0){for(var ee=0;ee<Ot[Mt].length;ee++)if(et(Ot[Mt][ee],It))return Mt===u?o:Mt}else if(et(Ot[Mt],It))return Mt===u?o:Mt;return Ot.hasOwnProperty("*")?Ot["*"]:It},Xt={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},oe={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"},ge={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[x,[T,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[x,[T,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[T,x],[/opios[\/ ]+([\w\.]+)/i],[x,[T,ht+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[x,[T,ht+" GX"]],[/\bopr\/([\w\.]+)/i],[x,[T,ht]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[x,[T,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[x,[T,"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],[T,x],[/quark(?:pc)?\/([-\w\.]+)/i],[x,[T,"Quark"]],[/\bddg\/([\w\.]+)/i],[x,[T,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[x,[T,"UC"+nt]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[x,[T,"WeChat"]],[/konqueror\/([\w\.]+)/i],[x,[T,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[x,[T,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[x,[T,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[x,[T,"Smart Lenovo "+nt]],[/(avast|avg)\/([\w\.]+)/i],[[T,/(.+)/,"$1 Secure "+nt],x],[/\bfocus\/([\w\.]+)/i],[x,[T,dt+" Focus"]],[/\bopt\/([\w\.]+)/i],[x,[T,ht+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[x,[T,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[x,[T,"Dolphin"]],[/coast\/([\w\.]+)/i],[x,[T,ht+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[x,[T,"MIUI"+Gt]],[/fxios\/([\w\.-]+)/i],[x,[T,dt]],[/\bqihoobrowser\/?([\w\.]*)/i],[x,[T,"360"]],[/\b(qq)\/([\w\.]+)/i],[[T,/(.+)/,"$1Browser"],x],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[T,/(.+)/,"$1"+Gt],x],[/samsungbrowser\/([\w\.]+)/i],[x,[T,Zt+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[x,[T,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[T,"Sogou Mobile"],x],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[T,x],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[T],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[x,T],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[T,Lt],x],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\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],[T,x],[/\bgsa\/([\w\.]+) .*safari\//i],[x,[T,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[x,[T,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[x,[T,pt+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[T,pt+" WebView"],x],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[x,[T,"Android "+nt]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[T,x],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[x,[T,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[x,T],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[T,[x,kt,Xt]],[/(webkit|khtml)\/([\w\.]+)/i],[T,x],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[T,"Netscape"],x],[/(wolvic|librewolf)\/([\w\.]+)/i],[T,x],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[x,[T,dt+" 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,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[T,[x,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[T,[x,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[B,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[B,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[B,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[B,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[B,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[B,/ower/,s,st]],[/ sun4\w[;\)]/i],[[B,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[B,st]]],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],[y,[D,Zt],[S,K]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[y,[D,Zt],[S,$]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[y,[D,Y],[S,$]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[y,[D,Y],[S,K]],[/(macintosh);/i],[y,[D,Y]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[y,[D,le],[S,$]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[y,[D,zt],[S,K]],[/honor([-\w ]+)[;\)]/i],[y,[D,zt],[S,$]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[y,[D,Rt],[S,K]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[y,[D,Rt],[S,$]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[y,/_/g," "],[D,ue],[S,K]],[/\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,/ ([\w ]+) miui\/v?\d/i],[[y,/_/g," "],[D,ue],[S,$]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[y,[D,Vt],[S,$]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[y,[D,kt,{OnePlus:["304","403","203"],"*":Vt}],[S,K]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[y,[D,"Vivo"],[S,$]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[y,[D,"Realme"],[S,$]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[y,[D,ye],[S,$]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[y,[D,ye],[S,K]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[y,[D,mt],[S,K]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[y,[D,mt],[S,$]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[y,[D,at],[S,K]],[/(nokia) (t[12][01])/i],[D,y,[S,K]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[y,/_/g," "],[S,$],[D,"Nokia"]],[/(pixel (c|tablet))\b/i],[y,[D,yt],[S,K]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[y,[D,yt],[S,$]],[/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],[y,[D,Ct],[S,$]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[y,"Xperia Tablet"],[D,Ct],[S,K]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[y,[D,gt],[S,$]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[y,[D,q],[S,K]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[y,/(.+)/g,"Fire Phone $1"],[D,q],[S,$]],[/(playbook);[-\w\),; ]+(rim)/i],[y,D,[S,K]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[y,[D,lt],[S,$]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[y,[D,tt],[S,K]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[y,[D,tt],[S,$]],[/(nexus 9)/i],[y,[D,"HTC"],[S,K]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[D,[y,/_/g," "],[S,$]],[/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],[y,[D,"TCL"],[S,K]],[/(itel) ((\w+))/i],[[D,st],y,[S,kt,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[y,[D,"Acer"],[S,K]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[y,[D,"Meizu"],[S,$]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[y,[D,"Ulefone"],[S,$]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[y,[D,"Energizer"],[S,$]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[y,[D,"Cat"],[S,$]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[y,[D,"Smartfren"],[S,$]],[/droid.+; (a(?:015|06[35]|142p?))/i],[y,[D,"Nothing"],[S,$]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[y,[D,"Archos"],[S,K]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[y,[D,"Archos"],[S,$]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[D,y,[S,K]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[D,y,[S,$]],[/(kobo)\s(ereader|touch)/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],[D,y,[S,K]],[/(surface duo)/i],[y,[D,Ft],[S,K]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[y,[D,"Fairphone"],[S,$]],[/(u304aa)/i],[y,[D,"AT&T"],[S,$]],[/\bsie-(\w*)/i],[y,[D,"Siemens"],[S,$]],[/\b(rct\w+) b/i],[y,[D,"RCA"],[S,K]],[/\b(venue[\d ]{2,7}) b/i],[y,[D,"Dell"],[S,K]],[/\b(q(?:mv|ta)\w+) b/i],[y,[D,"Verizon"],[S,K]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[y,[D,"Barnes & Noble"],[S,K]],[/\b(tm\d{3}\w+) b/i],[y,[D,"NuVision"],[S,K]],[/\b(k88) b/i],[y,[D,"ZTE"],[S,K]],[/\b(nx\d{3}j) b/i],[y,[D,"ZTE"],[S,$]],[/\b(gen\d{3}) b.+49h/i],[y,[D,"Swiss"],[S,$]],[/\b(zur\d{3}) b/i],[y,[D,"Swiss"],[S,K]],[/\b((zeki)?tb.*\b) b/i],[y,[D,"Zeki"],[S,K]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[D,"Dragon Touch"],y,[S,K]],[/\b(ns-?\w{0,9}) b/i],[y,[D,"Insignia"],[S,K]],[/\b((nxa|next)-?\w{0,9}) b/i],[y,[D,"NextBook"],[S,K]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[D,"Voice"],y,[S,$]],[/\b(lvtel\-)?(v1[12]) b/i],[[D,"LvTel"],y,[S,$]],[/\b(ph-1) /i],[y,[D,"Essential"],[S,$]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[y,[D,"Envizen"],[S,K]],[/\b(trio[-\w\. ]+) b/i],[y,[D,"MachSpeed"],[S,K]],[/\btu_(1491) b/i],[y,[D,"Rotor"],[S,K]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[y,[D,se],[S,K]],[/(sprint) (\w+)/i],[D,y,[S,$]],[/(kin\.[onetw]{3})/i],[[y,/\./g," "],[D,Ft],[S,$]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[y,[D,xe],[S,K]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[y,[D,xe],[S,$]],[/smart-tv.+(samsung)/i],[D,[S,V]],[/hbbtv.+maple;(\d+)/i],[[y,/^/,"SmartTV"],[D,Zt],[S,V]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[D,mt],[S,V]],[/(apple) ?tv/i],[D,[y,Y+" TV"],[S,V]],[/crkey/i],[[y,pt+"cast"],[D,yt],[S,V]],[/droid.+aft(\w+)( bui|\))/i],[y,[D,q],[S,V]],[/(shield \w+ tv)/i],[y,[D,se],[S,V]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[y,[D,le],[S,V]],[/(bravia[\w ]+)( bui|\))/i],[y,[D,Ct],[S,V]],[/(mi(tv|box)-?\w+) bui/i],[y,[D,ue],[S,V]],[/Hbbtv.*(technisat) (.*);/i],[D,y,[S,V]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[D,xt],[y,xt],[S,V]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[y,[S,V]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[S,V]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[D,y,[S,N]],[/droid.+; (shield)( bui|\))/i],[y,[D,se],[S,N]],[/(playstation \w+)/i],[y,[D,Ct],[S,N]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[y,[D,Ft],[S,N]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[y,[D,Zt],[S,ct]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[D,y,[S,ct]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[y,[D,Vt],[S,ct]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[y,[D,Y],[S,ct]],[/(opwwe\d{3})/i],[y,[D,gt],[S,ct]],[/(moto 360)/i],[y,[D,ye],[S,ct]],[/(smartwatch 3)/i],[y,[D,Ct],[S,ct]],[/(g watch r)/i],[y,[D,mt],[S,ct]],[/droid.+; (wt63?0{2,3})\)/i],[y,[D,xe],[S,ct]],[/droid.+; (glass) \d/i],[y,[D,yt],[S,ct]],[/(pico) (4|neo3(?: link|pro)?)/i],[D,y,[S,ct]],[/; (quest( \d| pro)?)/i],[y,[D,Lt],[S,ct]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[D,[S,it]],[/(aeobc)\b/i],[y,[D,q],[S,it]],[/(homepod).+mac os/i],[y,[D,Y],[S,it]],[/windows iot/i],[[S,it]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[y,[S,$]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[y,[S,K]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[S,K]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[S,$]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[y,[D,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[x,[T,St+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[T,x],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[x,[T,"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],[T,x],[/ladybird\//i],[[T,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[x,T]],os:[[/microsoft (windows) (vista|xp)/i],[T,x],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[T,[x,kt,oe]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[x,kt,oe],[T,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[x,/_/g,"."],[T,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[T,Tt],[x,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[x,T],[/(ubuntu) ([\w\.]+) like android/i],[[T,/(.+)/,"$1 Touch"],x],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[T,x],[/\(bb(10);/i],[x,[T,lt]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[x,[T,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[x,[T,dt+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[x,[T,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[x,[T,"watchOS"]],[/crkey\/([\d\.]+)/i],[x,[T,pt+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[T,Yt],x],[/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)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[T,x],[/(sunos) ?([\w\.\d]*)/i],[[T,"Solaris"],x],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[T,x]]},ie=function(It,Ot){if(typeof It===m&&(Ot=It,It=o),!(this instanceof ie))return new ie(It,Ot).getResult();var Mt=typeof r!==d&&r.navigator?r.navigator:o,ee=It||(Mt&&Mt.userAgent?Mt.userAgent:s),jt=Mt&&Mt.userAgentData?Mt.userAgentData:o,je=Ot?J(ge,Ot):ge,wt=Mt&&Mt.userAgent==ee;return this.getBrowser=function(){var Nt={};return Nt[T]=o,Nt[x]=o,Ut.call(Nt,ee,je.browser),Nt[k]=ot(Nt[x]),wt&&Mt&&Mt.brave&&typeof Mt.brave.isBrave==l&&(Nt[T]="Brave"),Nt},this.getCPU=function(){var Nt={};return Nt[B]=o,Ut.call(Nt,ee,je.cpu),Nt},this.getDevice=function(){var Nt={};return Nt[D]=o,Nt[y]=o,Nt[S]=o,Ut.call(Nt,ee,je.device),wt&&!Nt[S]&&jt&&jt.mobile&&(Nt[S]=$),wt&&Nt[y]=="Macintosh"&&Mt&&typeof Mt.standalone!==d&&Mt.maxTouchPoints&&Mt.maxTouchPoints>2&&(Nt[y]="iPad",Nt[S]=K),Nt},this.getEngine=function(){var Nt={};return Nt[T]=o,Nt[x]=o,Ut.call(Nt,ee,je.engine),Nt},this.getOS=function(){var Nt={};return Nt[T]=o,Nt[x]=o,Ut.call(Nt,ee,je.os),wt&&!Nt[T]&&jt&&jt.platform&&jt.platform!="Unknown"&&(Nt[T]=jt.platform.replace(/chrome os/i,Yt).replace(/macos/i,Tt)),Nt},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 ee},this.setUA=function(Nt){return ee=typeof Nt===w&&Nt.length>H?xt(Nt,H):Nt,this},this.setUA(ee),this};ie.VERSION=i,ie.BROWSER=W([T,x,k]),ie.CPU=W([B]),ie.DEVICE=W([y,D,S,N,$,V,K,ct,it]),ie.ENGINE=ie.OS=W([T,x]),t.exports&&(e=t.exports=ie),e.UAParser=ie;var be=typeof r!==d&&(r.jQuery||r.Zepto);if(be&&!be.ua){var Ee=new ie;be.ua=Ee.getResult(),be.ua.get=function(){return Ee.getUA()},be.ua.set=function(It){Ee.setUA(It);var Ot=Ee.getResult();for(var Mt in Ot)be.ua[Mt]=Ot[Mt]}}})(typeof window=="object"?window:ko)})(Ef,Ef.exports);var ZM=Ef.exports,GM=ZM,fn="Unknown",JM={"Mac OS":"Mac OS X"};function XM(t){return JM[t]||t}function tC(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}var eC=new GM,pn=eC.getResult(),rC=tC(pn.browser.version),nC={browserArchitecture:pn.cpu.architecture||fn,browserFullVersion:pn.browser.version||fn,browserMinorVersion:rC.minor||fn,browserName:pn.browser.name||fn,browserVersion:pn.browser.major||fn,deviceName:pn.device.model||fn,engineName:pn.engine.name||fn,engineVersion:pn.engine.version||fn,platformArchitecture:pn.cpu.architecture||fn,platformName:XM(pn.os.name)||fn,platformVersion:pn.os.version||fn,platformFullVersion:pn.os.version||fn},oC=nC,_c=Oe,Kv=/\./,iC=/\|\|/,aC=/\s+\-\s+/,sC=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,oh=/^(\d*)(.*)/;function uC(t,e){var r=t.split(iC);return r.length>1?r.some(function(o){return Wv.contains(o,e)}):(t=r[0].trim(),cC(t,e))}function cC(t,e){var r=t.split(aC);if(r.length>0&&r.length<=2||_c(!1),r.length===1)return Ml(r[0],e);var o=r[0],i=r[1];return ih(o)&&ih(i)||_c(!1),Ml(">
7="+o,e)&&Ml("<="+i,e)}function Ml(t,e){if(t=t.trim(),t==="")return!0;var r=e.split(Kv),o=Yv(t),i=o.modifier,s=o.rangeComponents;switch(i){case"<":return Hv(r,s);case"<=":return lC(r,s);case">=":return qv(r,s);case">":return pC(r,s);case"~":case"~>":return dC(r,s);default:return fC(r,s)}}function Hv(t,e){return uu(t,e)===-1}function lC(t,e){var r=uu(t,e);return r===-1||r===0}function fC(t,e){return uu(t,e)===0}function qv(t,e){var r=uu(t,e);return r===1||r===0}function pC(t,e){return uu(t,e)===1}function dC(t,e){var r=e.slice(),o=e.slice();o.length>1&&o.pop();var i=o.length-1,s=parseInt(o[i],10);return Mf(s)&&(o[i]=s+1+""),qv(t,r)&&Hv(t,o)}function Yv(t){var e=t.split(Kv),r=e[0].match(sC);return r||_c(!1),{modifier:r[1],rangeComponents:[r[2]].concat(e.slice(1))}}function Mf(t){return!isNaN(t)&&isFinite(t)}function ih(t){return!Yv(t).modifier}function ah(t,e){for(var r=t.length;r<e;r++)t[r]="0"}function hC(t,e){t=t.slice(),e=e.slice(),ah(t,e.length);for(var r=0;r<e.length;r++){var o=e[r].match(/^[x*]$/i);if(o&&(e[r]=t[r]="0",o[0]==="*"&&r===e.length-1))for(var i=r;i<t.length;i++)t[i]="0"}return ah(e,t.length),[t,e]}function gC(t,e){var r=t.match(oh)[1],o=e.match(oh)[1],i=parseInt(r,10),s=parseInt(o,10);return Mf(i)&&Mf(s)&&i!==s?sh(i,s):sh(t,e)}function sh(t,e){return typeof t!=typeof e&&_c(!1),t>e?1:t<e?-1:0}function uu(t,e){for(var r=hC(t,e),o=r[0],i=r[1],s=0;s<i.length;s++){var u=gC(o[s],i[s]);if(u)return u}return 0}var Wv={contains:function(e,r){return uC(e.trim(),r.trim())}},yC=Wv,vC=Object.prototype.hasOwnProperty;function mC(t,e,r){if(!t)return null;var o={};for(var i in t)vC.call(t,i)&&(o[i]=e.call(r,t[i],i,t));return o}var _C=mC;function SC(t){var e={};return function(r){return e.hasOwnProperty(r)||(e[r]=t.call(this,r)),e[r]}}var wC=SC,Qn=oC,bC=yC,EC=_C,MC=wC;function Aa(t,e,r,o){if(t===r)return!0;if(!r.startsWith(t))return!1;var i=r.slice(t.length);return e?(i=o?o(i):i,bC.contains(i,e)):!1}function CC(t){return Qn.platformName==="Windows"?t.replace(/^\s*NT/,""):t}var kC={isBrowser:function(e){return Aa(Qn.browserName,Qn.browserFullVersion,e)},isBrowserArchitecture:function(e){return Aa(Qn.browserArchitecture,null,e)},isDevice:function(e){return Aa(Qn.deviceName,null,e)},isEngine:function(e){return Aa(Qn.engineName,Qn.engineVersion,e)},isPlatform:function(e){return Aa(Qn.platformName,Qn.platformFullVersion,e,CC)},isPlatformArchitecture:function(e){return Aa(Qn.platformArchitecture,null,e)}},Hr=EC(kC,MC);function OC(t){return!t||!t.ownerDocument?document:t.ownerDocument}var Pc=OC;function DC(t){return!t||!t.ownerDocument?!1:t.nodeType===Node.ELEMENT_NODE}var ua=DC,xC=ua;function Qv(t){if(xC(t)){var e=t,r=e.getAttribute("data-offset-key");if(r)return r;for(var o=0;o<e.childNodes.length;o++){var i=Qv(e.childNodes[o]);if(i)return i}}return null}var Vv=Qv,TC=Pc,IC=Vv;function jC(t){for(var e=t;e&&e!==TC(t).documentElement;){var r=IC(e);if(r!=null)return r;e=e.parentNode}return null}var Fc=jC;function LC(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}var Zv=LC;function zu(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var NC=Hr,AC=Fc,zC=Zv,RC=Ce,BC=Oe,PC=Kr,uh=RC.Map,FC={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},ch=NC.isBrowser("IE <= 11"),$C=function(){function t(r){var o=this;zu(this,"observer",void 0),zu(this,"container",void 0),zu(this,"mutations",void 0),zu(this,"onCharData",void 0),this.container=r,this.mutations=uh();var i=zC(r);i.MutationObserver&&!ch?this.observer=new i.MutationObserver(function(s){return o.registerMutations(s)}):this.onCharData=function(s){s.target instanceof Node||BC(!1),o.registerMutation({type:"characterData",target:s.target})}}var e=t.prototype;return e.start=function(){this.observer?this.observer.observe(this.container,FC):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},e.stopAndFlushMutations=function(){var o=this.observer;o?(this.registerMutations(o.takeRecords()),o.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var i=this.mutations;return this.mutations=uh(),i},e.registerMutations=function(o){for(var i=0;i<o.length;i++)this.registerMutation(o[i])},e.getMutationTextContent=function(o){var i=o.type,s=o.target,u=o.removedNodes;if(i==="characterData"){if(s.textContent!=="")return ch?s.textContent.replace(` 8`,""):s.textContent}else if(i==="childList"){if(u&&u.length)return"";if(s.textContent!=="")return s.textContent}return null},e.registerMutation=function(o){var i=this.getMutationTextContent(o);if(i!=null){var s=PC(AC(o.target));this.mutations=this.mutations.set(s,i)}},t}(),UC=$C,Ru="-",KC={encode:function(e,r,o){return e+Ru+r+Ru+o},decode:function(e){var r=e.split(Ru).reverse(),o=r[0],i=r[1],s=r.slice(2);return{blockKey:s.reverse().join(Ru),decoratorKey:parseInt(i,10),leafKey:parseInt(o,10)}}},Io=KC,$c={BACKSPACE:8,TAB:9,RETURN:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},Gv={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};function HC(t){return!t||!t.ownerDocument?!1:t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement}var cu=HC,lh=Oe,qC=cu;function YC(t){var e=t.editorContainer;e||lh(!1),qC(e.firstChild)||lh(!1);var r=e.firstChild;return r}var Jv=YC,fh=Io,WC=Kr;function QC(t,e,r,o,i){var s=WC(t.getSelection());if(!e||!o)return s;var u=fh.decode(e),l=u.blockKey,d=t.getBlockTree(l),m=d&&d.getIn([u.decoratorKey,"leaves",u.leafKey]),w=fh.decode(o),k=w.blockKey,y=t.getBlockTree(k),T=y&&y.getIn([w.decoratorKey,"leaves",w.leafKey]);if(!m||!T)return s;var S=m.get("start"),D=T.get("start"),x=m?S+r:null,B=T?D+i:null,N=s.getAnchorKey()===l&&s.getAnchorOffset()===x&&s.getFocusKey()===k&&s.getFocusOffset()===B;if(N)return s;var $=!1;if(l===k){var K=m.get("end"),V=T.get("end");D===S&&V===K?$=i<r:$=D<S}else{var ct=t.getCurrentContent().getBlockMap().keySeq().skipUntil(function(it){return it===l||it===k}).first();$=ct===k}return s.merge({anchorKey:l,anchorOffset:x,focusKey:k,focusOffset:B,isBackward:$})}
vendor: 32,652 bytes, lines 8-17
8var Xv=QC,Os=Fc,Bs=Vv,ph=Xv,Cl=Oe,up=ua,ta=Kr;function VC(t,e,r,o,i,s){var u=r.nodeType===Node.TEXT_NODE,l=i.nodeType===Node.TEXT_NODE;if(u&&l)return{selectionState:ph(t,ta(Os(r)),o,ta(Os(i)),s),needsRecovery:!1};var d=null,m=null,w=!0;return u?(d={key:ta(Os(r)),offset:o},m=Bu(e,i,s)):l?(m={key:ta(Os(i)),offset:s},d=Bu(e,r,o)):(d=Bu(e,r,o),m=Bu(e,i,s),r===i&&o===s&&(w=!!r.firstChild&&r.firstChild.nodeName!=="BR")),{selectionState:ph(t,d.key,d.offset,m.key,m.offset),needsRecovery:w}}function ZC(t){for(;t.firstChild&&(up(t.firstChild)&&t.firstChild.getAttribute("data-blocks")==="true"||Bs(t.firstChild));)t=t.firstChild;return t}function GC(t){for(;t.lastChild&&(up(t.lastChild)&&t.lastChild.getAttribute("data-blocks")==="true"||Bs(t.lastChild));)t=t.lastChild;return t}function Bu(t,e,r){var o=e,i=Os(o);if(i!=null||t&&(t===o||t.firstChild===o)||Cl(!1),t===o){o=o.firstChild,up(o)||Cl(!1);var s=o;o=s,o.getAttribute("data-contents")!=="true"&&Cl(!1),r>0&&(r=o.childNodes.length)}if(r===0){var u=null;if(i!=null)u=i;else{var l=ZC(o);u=ta(Bs(l))}return{key:u,offset:0}}var d=o.childNodes[r-1],m=null,w=null;if(!Bs(d))m=ta(i),w=dh(d);else{var k=GC(d);m=ta(Bs(k)),w=dh(k)}return{key:m,offset:w}}function dh(t){var e=t.textContent;return e===` 9`?0:e.length}var tm=VC,JC=tm;function XC(t,e){var r=e.ownerDocument.defaultView.getSelection(),o=r.anchorNode,i=r.anchorOffset,s=r.focusNode,u=r.focusOffset,l=r.rangeCount;return l===0||o==null||s==null?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:JC(t,e,o,i,s,u)}var em=XC,tk=Gv,hh=Ue,ek=Jv,rk=em;function nk(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var e=t.props.editorState,r=e.getSelection();tk.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:new Error().stack}),selectionState:JSON.stringify(r.toJS())})}return}var o=t.props.editorState,i=rk(o,ek(t)),s=i.selectionState;s!==o.getSelection()&&(i.needsRecovery?o=hh.forceSelection(o,s):o=hh.acceptSelection(o,s),t.update(o))}var rm=nk;function ok(t){return t!=null&&t!=""}var nm={notEmptyKey:ok},ik=nm,ak=ik.notEmptyKey;function sk(t,e){var r;if(e.isCollapsed()){var o=e.getAnchorKey(),i=e.getAnchorOffset();return i>0?(r=t.getBlockForKey(o).getEntityAt(i-1),r!==t.getBlockForKey(o).getEntityAt(i)?null:gh(t.getEntityMap(),r)):null}var s=e.getStartKey(),u=e.getStartOffset(),l=t.getBlockForKey(s);return r=u===l.getLength()?null:l.getEntityAt(u),gh(t.getEntityMap(),r)}function gh(t,e){if(ak(e)){var r=t.__get(e);return r.getMutability()==="MUTABLE"?e:null}return null}var cp=sk,uk=UC,ck=Ur,lk=Io,ws=Ue,kl=$c,fk=Hr,pk=rm,om=Jv,dk=em,hk=cp,gk=Kr,yk=fk.isBrowser("IE"),vk=20,Ol=!1,Pu=!1,Ps=null;function mk(t){Ps||(Ps=new uk(om(t)),Ps.start())}var Cf={onCompositionStart:function(e){Pu=!0,mk(e)},onCompositionEnd:function(e){Ol=!1,Pu=!1,setTimeout(function(){Ol||Cf.resolveComposition(e)},vk)},onSelect:pk,onKeyDown:function(e,r){if(!Pu){Cf.resolveComposition(e),e._onKeyDown(r);return}(r.which===kl.RIGHT||r.which===kl.LEFT)&&r.preventDefault()},onKeyPress:function(e,r){r.which===kl.RETURN&&r.preventDefault()},resolveComposition:function(e){if(!Pu){var r=gk(Ps).stopAndFlushMutations();Ps=null,Ol=!0;var o=ws.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),!r.size){e.update(o);return}var i=o.getCurrentContent();r.forEach(function(d,m){var w=lk.decode(m),k=w.blockKey,y=w.decoratorKey,T=w.leafKey,S=o.getBlockTree(k).getIn([y,"leaves",T]),D=S.start,x=S.end,B=o.getSelection().merge({anchorKey:k,focusKey:k,anchorOffset:D,focusOffset:x,isBackward:!1}),N=hk(i,B),$=i.getBlockForKey(k).getInlineStyleAt(D);i=ck.replaceText(i,B,d,$,N),o=ws.set(o,{currentContent:i})});var s=dk(o,om(e)),u=s.selectionState;e.restoreEditorDOM();var l=yk?ws.forceSelection(o,u):ws.acceptSelection(o,u);e.update(ws.push(l,i,"insert-characters"))}}},_k=Cf,Dl,yh;function Sk(){if(yh)return Dl;yh=1;var t=sa;function e(){return e=t||function(d){for(var m=1;m<arguments.length;m++){var w=arguments[m];for(var k in w)Object.prototype.hasOwnProperty.call(w,k)&&(d[k]=w[k])}return d},e.apply(this,arguments)}function r(d,m){d.prototype=Object.create(m.prototype),d.prototype.constructor=d,d.__proto__=m}var o=Io,i=dr,s=op,u=Rc,l=function(d){r(m,d);function m(){return d.apply(this,arguments)||this}var w=m.prototype;return w.render=function(){var y=this.props,T=y.block,S=y.children,D=y.contentState,x=y.decorator,B=y.decoratorKey,N=y.direction,$=y.leafSet,K=y.text,V=T.getKey(),ct=$.get("leaves"),it=x.getComponentForKey(B),H=x.getPropsForKey(B),q=o.encode(V,parseInt(B,10),0),Y=K.slice(ct.first().get("start"),ct.last().get("end")),tt=u.getHTMLDirIfDifferent(s.getDirection(Y),N);return i.createElement(it,e({},H,{contentState:D,decoratedText:Y,dir:tt,key:q,entityKey:T.getEntityAt($.get("start")),offsetKey:q}),S)},m}(i.Component);return Dl=l,Dl}function vh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wk(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function mh(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $a=dr,bk=Hr,Ek=Oe,Mk=ua,lp=bk.isBrowser("IE <= 11");function Ck(t){return lp?t.textContent===` 10`:t.tagName==="BR"}var kk=function(e){return lp?$a.createElement("span",{key:"A","data-text":"true",ref:e},` 11`):$a.createElement("br",{key:"A","data-text":"true",ref:e})},Ok=function(e){return lp?$a.createElement("span",{key:"B","data-text":"true",ref:e},` 12`):$a.createElement("br",{key:"B","data-text":"true",ref:e})},Dk=function(t){wk(e,t);function e(o){var i;return i=t.call(this,o)||this,mh(vh(i),"_forceFlag",void 0),mh(vh(i),"_node",void 0),i._forceFlag=!1,i}var r=e.prototype;return r.shouldComponentUpdate=function(i){var s=this._node,u=i.children==="";Mk(s)||Ek(!1);var l=s;return u?!Ck(l):l.textContent!==i.children},r.componentDidMount=function(){this._forceFlag=!this._forceFlag},r.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},r.render=function(){var i=this;return this.props.children===""?this._forceFlag?kk(function(s){return i._node=s}):Ok(function(s){return i._node=s}):$a.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(u){return i._node=u}},this.props.children)},e}($a.Component),xk=Dk,Tk=ua;function Ik(t){return!t||!t.ownerDocument?!1:Tk(t)&&t.nodeName==="BR"}var im=Ik,am={initODS:function(){},handleExtensionCausedError:function(){}};function jk(t){var e=t?t.ownerDocument||t:document,r=e.defaultView||window;return!!(t&&(typeof r.Node=="function"?t instanceof r.Node:typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.nodeName=="string"))}var Lk=jk,Nk=Lk;function Ak(t){return Nk(t)&&t.nodeType==3}var zk=Ak,_h=zk;function sm(t,e){return!t||!e?!1:t===e?!0:_h(t)?!1:_h(e)?sm(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1}var fp=sm;function Rk(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var um=Rk,Bk=am,kf=Gv,Pk=Hr,cm=fp,Fk=um,pp=Pc,$k=Oe,lm=ua,Uk=Pk.isBrowser("IE");function Kk(t,e){if(!t)return"[empty]";var r=fm(t,e);if(r.nodeType===Node.TEXT_NODE)return r.textContent;lm(r)||$k(!1);var o=r;return o.outerHTML}function fm(t,e){var r=e!==void 0?e(t):[];if(t.nodeType===Node.TEXT_NODE){var o=t.textContent.length;return pp(t).createTextNode("[text "+o+(r.length?" | "+r.join(", "):"")+"]")}var i=t.cloneNode();i.nodeType===1&&r.length&&i.setAttribute("data-labels",r.join(", "));for(var s=t.childNodes,u=0;u<s.length;u++)i.appendChild(fm(s[u],e));return i}function Of(t,e){for(var r=t,o=r;r;){if(lm(r)&&o.hasAttribute("contenteditable"))return Kk(r,e);r=r.parentNode,o=r}return"Could not find contentEditable parent of node"}function pm(t){return t.nodeValue===null?t.childNodes.length:t.nodeValue.length}function Hk(t,e,r,o,i){var s=pp(e);if(cm(s.documentElement,e)){var u=s.defaultView.getSelection(),l=t.getAnchorKey(),d=t.getAnchorOffset(),m=t.getFocusKey(),w=t.getFocusOffset(),k=t.getIsBackward();if(!u.extend&&k){var y=l,T=d;l=m,d=w,m=y,w=T,k=!1}var S=l===r&&o<=d&&i>=d,D=m===r&&o<=w&&i>=w;if(S&&D){u.removeAllRanges(),Fu(u,e,d-o,t),xl(u,e,w-o,t);return}if(!k)S&&(u.removeAllRanges(),Fu(u,e,d-o,t)),D&&xl(u,e,w-o,t);else if(D&&(u.removeAllRanges(),Fu(u,e,w-o,t)),S){var x=u.focusNode,B=u.focusOffset;u.removeAllRanges(),Fu(u,e,d-o,t),xl(u,x,B,t)}}}function xl(t,e,r,o){var i=Fk(),s=t.extend;if(s&&e!=null&&cm(i,e)){r>pm(e)&&kf.logSelectionStateFailure({anonymizedDom:Of(e),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(o.toJS())});var u=e===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(e,r)}catch(d){throw kf.logSelectionStateFailure({anonymizedDom:Of(e,function(m){var w=[];return m===i&&w.push("active element"),m===t.anchorNode&&w.push("selection anchor node"),m===t.focusNode&&w.push("selection focus node"),w}),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:u,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:d?""+d:null,offset:r},null,2),selectionState:JSON.stringify(o.toJS(),null,2)}),d}}else if(e&&t.rangeCount>0){var l=t.getRangeAt(0);l.setEnd(e,r),t.addRange(l.cloneRange())}}function Fu(t,e,r,o){var i=pp(e).createRange();if(r>pm(e)&&(kf.logSelectionStateFailure({anonymizedDom:Of(e),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(o.toJS())}),Bk.handleExtensionCausedError()),i.setStart(e,r),Uk)try{t.addRange(i)}catch{}else t.addRange(i)}var qk={setDraftEditorSelection:Hk},Sh=sa;function Yk(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wk(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Qk(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Vk=xk,Tl=dr,$u=Oe,Zk=im,Gk=qk.setDraftEditorSelection,Jk=function(t){Wk(e,t);function e(){for(var o,i=arguments.length,s=new Array(i),u=0;u<i;u++)s[u]=arguments[u];return o=t.call.apply(t,[this].concat(s))||this,Qk(Yk(o),"leaf",void 0),o}var r=e.prototype;return r._setSelection=function(){var i=this.props.selection;if(!(i==null||!i.getHasFocus())){var s=this.props,u=s.block,l=s.start,d=s.text,m=u.getKey(),w=l+d.length;if(i.hasEdgeWithin(m,l,w)){var k=this.leaf;k||$u(!1);var y=k.firstChild;y||$u(!1);var T;y.nodeType===Node.TEXT_NODE?T=y:Zk(y)?T=k:(T=y.firstChild,T||$u(!1)),Gk(i,T,m,l,w)}}},r.shouldComponentUpdate=function(i){var s=this.leaf;s||$u(!1);var u=s.textContent!==i.text||i.styleSet!==this.props.styleSet||i.forceSelection;return u},r.componentDidUpdate=function(){this._setSelection()},r.componentDidMount=function(){this._setSelection()},r.render=function(){var i=this,s=this.props.block,u=this.props.text;u.endsWith(` 13`)&&this.props.isLast&&(u+=` 14`);var l=this.props,d=l.customStyleMap,m=l.customStyleFn,w=l.offsetKey,k=l.styleSet,y=k.reduce(function(S,D){var x={},B=d[D];return B!==void 0&&S.textDecoration!==B.textDecoration&&(x.textDecoration=[S.textDecoration,B.textDecoration].join(" ").trim()),Sh(S,B,x)},{});if(m){var T=m(k,s);y=Sh(y,T)}return Tl.createElement("span",{"data-offset-key":w,ref:function(D){return i.leaf=D},style:y},Tl.createElement(Vk,null,u))},e}(Tl.Component),dm=Jk,Il,wh;function Xk(){if(wh)return Il;wh=1;function t(d,m){d.prototype=Object.create(m.prototype),d.prototype.constructor=d,d.__proto__=m}var e=Sk(),r=dm,o=Io,i=Ce,s=dr,u=aa;i.List;var l=function(d){t(m,d);function m(){return d.apply(this,arguments)||this}var w=m.prototype;return w.render=function(){var y=this.props,T=y.block,S=y.contentState,D=y.customStyleFn,x=y.customStyleMap,B=y.decorator,N=y.direction,$=y.forceSelection,K=y.hasSelection,V=y.selection,ct=y.tree,it=T.getKey(),H=T.getText(),q=ct.size-1,Y=this.props.children||ct.map(function(tt,lt){var nt=tt.get("decoratorKey"),pt=tt.get("leaves"),St=pt.size-1,dt=pt.map(function(yt,zt){var Rt=o.encode(it,lt,zt),at=yt.get("start"),mt=yt.get("end");return s.createElement(r,{key:Rt,offsetKey:Rt,block:T,start:at,selection:K?V:null,forceSelection:$,text:H.slice(at,mt),styleSet:T.getInlineStyleAt(at),customStyleMap:x,customStyleFn:D,isLast:nt===q&&zt===St})}).toArray();return!nt||!B?dt:s.createElement(e,{block:T,children:dt,contentState:S,decorator:B,decoratorKey:nt,direction:N,leafSet:tt,text:H,key:lt})}).toArray();return s.createElement("div",{"data-offset-key":o.encode(it,0,0),className:u({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":N==="LTR","public/DraftStyleDefault/rtl":N==="RTL"})},Y)},m}(s.Component);return Il=l,Il}function Uu(t,e){return!!e&&(t===e.documentElement||t===e.body)}var tO={getTop:function(e){var r=e.ownerDocument;return Uu(e,r)?r.body.scrollTop||r.documentElement.scrollTop:e.scrollTop},setTop:function(e,r){var o=e.ownerDocument;Uu(e,o)?o.body.scrollTop=o.documentElement.scrollTop=r:e.scrollTop=r},getLeft:function(e){var r=e.ownerDocument;return Uu(e,r)?r.body.scrollLeft||r.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,r){var o=e.ownerDocument;Uu(e,o)?o.body.scrollLeft=o.documentElement.scrollLeft=r:e.scrollLeft=r}},dp=tO,eO=/-(.)/g;function rO(t){return t.replace(eO,function(e,r){return r.toUpperCase()})}var nO=rO,oO=/([A-Z])/g;function iO(t){return t.replace(oO,"-$1").toLowerCase()}var aO=iO,bh=nO,Eh=aO;function bs(t){return t==null?t:String(t)}function sO(t,e){var r;if(window.getComputedStyle&&(r=window.getComputedStyle(t,null),r))return bs(r.getPropertyValue(Eh(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(r=document.defaultView.getComputedStyle(t,null),r)return bs(r.getPropertyValue(Eh(e)));if(e==="display")return"none"}return t.currentStyle?bs(e==="float"?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[bh(e)]):bs(t.style&&t.style[bh(e)])}var uO=sO,cO=uO;function jl(t,e){var r=hm.get(t,e);return r==="auto"||r==="scroll"}var hm={get:cO,getScrollParent:function(e){if(!e)return null;for(var r=e.ownerDocument;e&&e!==r.body;){if(jl(e,"overflow")||jl(e,"overflowY")||jl(e,"overflowX"))return e;e=e.parentNode}return r.defaultView||r.parentWindow}},Uc=hm,lO=fp;function fO(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!lO(e,t))return{left:0,right:0,top:0,bottom:0};var r=t.getBoundingClientRect();return{left:Math.round(r.left)-e.clientLeft,right:Math.round(r.right)-e.clientLeft,top:Math.round(r.top)-e.clientTop,bottom:Math.round(r.bottom)-e.clientTop}}var pO=fO,dO=pO;function hO(t){var e=dO(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}var gm=hO,gO=typeof navigator<"u"&&navigator.userAgent.indexOf("AppleWebKit")>-1;function yO(t){return t=t||document,t.scrollingElement?t.scrollingElement:!gO&&t.compatMode==="CSS1Compat"?t.documentElement:t.body}var vO=yO;function mO(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}var _O=mO,SO=vO,wO=_O;function bO(t){var e=SO(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var r=wO(t),o=t===e?t.ownerDocument.documentElement:t,i=t.scrollWidth-o.clientWidth,s=t.scrollHeight-o.clientHeight;return r.x=Math.max(0,Math.min(r.x,i)),r.y=Math.max(0,Math.min(r.y,s)),r}var Kc=bO;function ym(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function vm(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function mm(){return{width:window.innerWidth||ym(),height:window.innerHeight||vm()}}mm.withoutScrollbars=function(){return{width:ym(),height:vm()}};var _m=mm,Ll,Mh;function EO(){if(Mh)return Ll;Mh=1;var t=sa;function e(){return e=t||function(q){for(var Y=1;Y<arguments.length;Y++){var tt=arguments[Y];for(var lt in tt)Object.prototype.hasOwnProperty.call(tt,lt)&&(q[lt]=tt[lt])}return q},e.apply(this,arguments)}function r(q){if(q===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return q}function o(q,Y){q.prototype=Object.create(Y.prototype),q.prototype.constructor=q,q.__proto__=Y}function i(q){for(var Y=1;Y<arguments.length;Y++){var tt=arguments[Y]!=null?arguments[Y]:{},lt=Object.keys(tt);typeof Object.getOwnPropertySymbols=="function"&&(lt=lt.concat(Object.getOwnPropertySymbols(tt).filter(function(nt){return Object.getOwnPropertyDescriptor(tt,nt).enumerable}))),lt.forEach(function(nt){s(q,nt,tt[nt])})}return q}function s(q,Y,tt){return Y in q?Object.defineProperty(q,Y,{value:tt,enumerable:!0,configurable:!0,writable:!0}):q[Y]=tt,q}var u=Xk(),l=Io,d=dr,m=dp,w=Uc,k=gm,y=Kc,T=_m,S=Ce,D=Oe,x=cu,B=10;S.List;var N=function(Y,tt){return Y.getAnchorKey()===tt||Y.getFocusKey()===tt},$=function(Y,tt){var lt=Y.getNextSiblingKey();return lt?tt.getBlockForKey(lt).getType()===Y.getType():!1},K=function(Y,tt,lt){var nt=[],pt=!0,St=!1,dt=void 0;try{for(var yt=lt.reverse()[Symbol.iterator](),zt;!(pt=(zt=yt.next()).done);pt=!0){var Rt=zt.value;if(Rt.type!==tt)break;nt.push(Rt)}}catch(Ft){St=!0,dt=Ft}finally{try{!pt&&yt.return!=null&&yt.return()}finally{if(St)throw dt}}lt.splice(lt.indexOf(nt[0]),nt.length+1);var at=nt.reverse(),mt=at[0].key;return lt.push(d.cloneElement(Y,{key:"".concat(mt,"-wrap"),"data-offset-key":l.encode(mt,0,0)},at)),lt},V=function(Y,tt){var lt=tt.get(Y.getType())||tt.get("unstyled"),nt=lt.wrapper,pt=lt.element||tt.get("unstyled").element;return{Element:pt,wrapperTemplate:nt}},ct=function(Y,tt){var lt=tt(Y);if(!lt)return{};var nt=lt.component,pt=lt.props,St=lt.editable;return{CustomComponent:nt,customProps:pt,customEditable:St}},it=function(Y,tt,lt,nt,pt,St){var dt={"data-block":!0,"data-editor":tt,"data-offset-key":lt,key:Y.getKey(),ref:St},yt=nt(Y);return yt&&(dt.className=yt),pt.customEditable!==void 0&&(dt=i({},dt,{contentEditable:pt.customEditable,suppressContentEditableWarning:!0})),dt},H=function(q){o(Y,q);function Y(){for(var lt,nt=arguments.length,pt=new Array(nt),St=0;St<nt;St++)pt[St]=arguments[St];return lt=q.call.apply(q,[this].concat(pt))||this,s(r(lt),"wrapperRef",d.createRef()),lt}var tt=Y.prototype;return tt.shouldComponentUpdate=function(nt){var pt=this.props,St=pt.block,dt=pt.direction,yt=pt.tree,zt=!St.getChildKeys().isEmpty(),Rt=St!==nt.block||yt!==nt.tree||dt!==nt.direction||N(nt.selection,nt.block.getKey())&&nt.forceSelection;return zt||Rt},tt.componentDidMount=function(){var nt=this.props.selection,pt=nt.getEndKey();if(!(!nt.getHasFocus()||pt!==this.props.block.getKey())){var St=this.wrapperRef.current;if(St){var dt=w.getScrollParent(St),yt=y(dt),zt;if(dt===window){var Rt=k(St),at=Rt.y+Rt.height,mt=T().height;zt=at-mt,zt>0&&window.scrollTo(yt.x,yt.y+zt+B)}else{x(St)||D(!1);var Ft=St,ye=Ft.offsetHeight+Ft.offsetTop,se=dt.offsetHeight+yt.y;zt=ye-se,zt>0&&m.setTop(dt,m.getTop(dt)+zt+B)}}}},tt.render=function(){var nt=this,pt=this.props,St=pt.block,dt=pt.blockRenderMap,yt=pt.blockRendererFn,zt=pt.blockStyleFn,Rt=pt.contentState,at=pt.decorator,mt=pt.editorKey,Ft=pt.editorState,ye=pt.customStyleFn,se=pt.customStyleMap,gt=pt.direction,ht=pt.forceSelection,Vt=pt.selection,Zt=pt.tree,le=null;St.children.size&&(le=St.children.reduce(function(W,et){var st=l.encode(et,0,0),ot=Rt.getBlockForKey(et),xt=ct(ot,yt),Ut=xt.CustomComponent||Y,kt=V(ot,dt),Xt=kt.Element,oe=kt.wrapperTemplate,ge=it(ot,mt,st,zt,xt,null),ie=i({},nt.props,{tree:Ft.getBlockTree(et),blockProps:xt.customProps,offsetKey:st,block:ot});return W.push(d.createElement(Xt,ge,d.createElement(Ut,ie))),!oe||$(ot,Rt)||K(oe,Xt,W),W},[]));var Ct=St.getKey(),ue=l.encode(Ct,0,0),xe=ct(St,yt),Lt=xe.CustomComponent,Yt=Lt!=null?d.createElement(Lt,e({},this.props,{tree:Ft.getBlockTree(Ct),blockProps:xe.customProps,offsetKey:ue,block:St})):d.createElement(u,{block:St,children:le,contentState:Rt,customStyleFn:ye,customStyleMap:se,decorator:at,direction:gt,forceSelection:ht,hasSelection:N(Vt,Ct),selection:Vt,tree:Zt});if(St.getParentKey())return Yt;var Tt=V(St,dt),Gt=Tt.Element,J=it(St,mt,ue,zt,xe,this.wrapperRef);return d.createElement(Gt,J,Yt)},Y}(d.Component);return Ll=H,Ll}var Nl,Ch;function MO(){if(Ch)return Nl;Ch=1;var t=sa;function e(){return e=t||function(d){for(var m=1;m<arguments.length;m++){var w=arguments[m];for(var k in w)Object.prototype.hasOwnProperty.call(w,k)&&(d[k]=w[k])}return d},e.apply(this,arguments)}function r(d,m){d.prototype=Object.create(m.prototype),d.prototype.constructor=d,d.__proto__=m}var o=EO(),i=Io,s=dr,u=Kr,l=function(d){r(m,d);function m(){return d.apply(this,arguments)||this}var w=m.prototype;return w.shouldComponentUpdate=function(y){var T=this.props.editorState,S=y.editorState,D=T.getDirectionMap(),x=S.getDirectionMap();if(D!==x)return!0;var B=T.getSelection().getHasFocus(),N=S.getSelection().getHasFocus();if(B!==N)return!0;var $=S.getNativelyRenderedContent(),K=T.isInCompositionMode(),V=S.isInCompositionMode();if(T===S||$!==null&&S.getCurrentContent()===$||K&&V)return!1;var ct=T.getCurrentContent(),it=S.getCurrentContent(),H=T.getDecorator(),q=S.getDecorator();return K!==V||ct!==it||H!==q||S.mustForceSelection()},w.render=function(){for(var y=this.props,T=y.blockRenderMap,S=y.blockRendererFn,D=y.blockStyleFn,x=y.customStyleMap,B=y.customStyleFn,N=y.editorState,$=y.editorKey,K=y.textDirectionality,V=N.getCurrentContent(),ct=N.getSelection(),it=N.mustForceSelection(),H=N.getDecorator(),q=u(N.getDirectionMap()),Y=V.getBlocksAsArray(),tt=Y[0],lt=[],nt=tt;nt;){var pt=nt.getKey(),St={blockRenderMap:T,blockRendererFn:S,blockStyleFn:D,contentState:V,customStyleFn:B,customStyleMap:x,decorator:H,editorKey:$,editorState:N,forceSelection:it,selection:ct,block:nt,direction:K||q.get(pt),tree:N.getBlockTree(pt)},dt=T.get(nt.getType())||T.get("unstyled"),yt=dt.wrapper;lt.push({block:s.createElement(o,e({key:pt},St)),wrapperTemplate:yt,key:pt,offsetKey:i.encode(pt,0,0)});var zt=nt.getNextSiblingKey();nt=zt?V.getBlockForKey(zt):null}for(var Rt=[],at=0;at<lt.length;){var mt=lt[at];if(mt.wrapperTemplate){var Ft=[];do Ft.push(lt[at].block),at++;while(at<lt.length&<[at].wrapperTemplate===mt.wrapperTemplate);var ye=s.cloneElement(mt.wrapperTemplate,{key:mt.key+"-wrap","data-offset-key":mt.offsetKey},Ft);Rt.push(ye)}else Rt.push(mt.block),at++}return s.createElement("div",{"data-contents":"true"},Rt)},m}(s.Component);return Nl=l,Nl}var CO=sa;function Df(){return Df=CO||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Df.apply(this,arguments)}function kO(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OO(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function DO(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xO=dm,kh=Io,Ku=dr,Oh=dp,TO=Uc,IO=op,jO=Rc,LO=aa,NO=gm,AO=Kc,zO=_m,RO=Oe,BO=cu,PO=Kr,Dh=10,xh=function(e,r){return e.getAnchorKey()===r||e.getFocusKey()===r},FO=function(t){OO(e,t);function e(){for(var o,i=arguments.length,s=new Array(i),u=0;u<i;u++)s[u]=arguments[u];return o=t.call.apply(t,[this].concat(s))||this,DO(kO(o),"_node",void 0),o}var r=e.prototype;return r.shouldComponentUpdate=function(i){return this.props.block!==i.block||this.props.tree!==i.tree||this.props.direction!==i.direction||xh(i.selection,i.block.getKey())&&i.forceSelection},r.componentDidMount=function(){if(!this.props.preventScroll){var i=this.props.selection,s=i.getEndKey();if(!(!i.getHasFocus()||s!==this.props.block.getKey())){var u=this._node;if(u!=null){var l=TO.getScrollParent(u),d=AO(l),m;if(l===window){var w=NO(u),k=w.y+w.height,y=zO().height;m=k-y,m>0&&window.scrollTo(d.x,d.y+m+Dh)}else{BO(u)||RO(!1);var T=u.offsetHeight+u.offsetTop,S=l.offsetTop+l.offsetHeight,D=S+d.y;m=T-D,m>0&&Oh.setTop(l,Oh.getTop(l)+m+Dh)}}}}},r._renderChildren=function(){var i=this,s=this.props.block,u=s.getKey(),l=s.getText(),d=this.props.tree.size-1,m=xh(this.props.selection,u);return this.props.tree.map(function(w,k){var y=w.get("leaves");if(y.size===0)return null;var T=y.size-1,S=y.map(function(Y,tt){var lt=kh.encode(u,k,tt),nt=Y.get("start"),pt=Y.get("end");return Ku.createElement(xO,{key:lt,offsetKey:lt,block:s,start:nt,selection:m?i.props.selection:null,forceSelection:i.props.forceSelection,text:l.slice(nt,pt),styleSet:s.getInlineStyleAt(nt),customStyleMap:i.props.customStyleMap,customStyleFn:i.props.customStyleFn,isLast:k===d&&tt===T})}).toArray(),D=w.get("decoratorKey");if(D==null||!i.props.decorator)return S;var x=PO(i.props.decorator),B=x.getComponentForKey(D);if(!B)return S;var N=x.getPropsForKey(D),$=kh.encode(u,k,0),K=y.first().get("start"),V=y.last().get("end"),ct=l.slice(K,V),it=s.getEntityAt(w.get("start")),H=jO.getHTMLDirIfDifferent(IO.getDirection(ct),i.props.direction),q={contentState:i.props.contentState,decoratedText:ct,dir:H,start:K,end:V,blockKey:u,entityKey:it,offsetKey:$};return Ku.createElement(B,Df({},N,q,{key:$}),S)}).toArray()},r.render=function(){var i=this,s=this.props,u=s.direction,l=s.offsetKey,d=LO({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":u==="LTR","public/DraftStyleDefault/rtl":u==="RTL"});return Ku.createElement("div",{"data-offset-key":l,className:d,ref:function(w){return i._node=w}},this._renderChildren())},e}(Ku.Component),Sm=FO,Al,Th;function $O(){if(Th)return Al;Th=1;function t(e){var r=e||"",o=arguments.length;if(o>1)for(var i=1;i<o;i++){var s=arguments[i];s&&(r=(r?r+" ":"")+s)}return r}return Al=t,Al}var zl,Ih;function UO(){if(Ih)return zl;Ih=1;var t=sa;function e(){return e=t||function(T){for(var S=1;S<arguments.length;S++){var D=arguments[S];for(var x in D)Object.prototype.hasOwnProperty.call(D,x)&&(T[x]=D[x])}return T},e.apply(this,arguments)}function r(T){for(var S=1;S<arguments.length;S++){var D=arguments[S]!=null?arguments[S]:{},x=Object.keys(D);typeof Object.getOwnPropertySymbols=="function"&&(x=x.concat(Object.getOwnPropertySymbols(D).filter(function(B){return Object.getOwnPropertyDescriptor(D,B).enumerable}))),x.forEach(function(B){o(T,B,D[B])})}return T}function o(T,S,D){return S in T?Object.defineProperty(T,S,{value:D,enumerable:!0,configurable:!0,writable:!0}):T[S]=D,T}function i(T,S){T.prototype=Object.create(S.prototype),T.prototype.constructor=T,T.__proto__=S}var s=Sm,u=Io,l=dr,d=aa,m=$O(),w=Kr,k=function(S,D,x,B){return d({"public/DraftStyleDefault/unorderedListItem":S==="unordered-list-item","public/DraftStyleDefault/orderedListItem":S==="ordered-list-item","public/DraftStyleDefault/reset":x,"public/DraftStyleDefault/depth0":D===0,"public/DraftStyleDefault/depth1":D===1,"public/DraftStyleDefault/depth2":D===2,"public/DraftStyleDefault/depth3":D===3,"public/DraftStyleDefault/depth4":D>=4,"public/DraftStyleDefault/listLTR":B==="LTR","public/DraftStyleDefault/listRTL":B==="RTL"})},y=function(T){i(S,T);function S(){return T.apply(this,arguments)||this}var D=S.prototype;return D.shouldComponentUpdate=function(B){var N=this.props.editorState,$=B.editorState,K=N.getDirectionMap(),V=$.getDirectionMap();if(K!==V)return!0;var ct=N.getSelection().getHasFocus(),it=$.getSelection().getHasFocus();if(ct!==it)return!0;var H=$.getNativelyRenderedContent(),q=N.isInCompositionMode(),Y=$.isInCompositionMode();if(N===$||H!==null&&$.getCurrentContent()===H||q&&Y)return!1;var tt=N.getCurrentContent(),lt=$.getCurrentContent(),nt=N.getDecorator(),pt=$.getDecorator();return q!==Y||tt!==lt||nt!==pt||$.mustForceSelection()},D.render=function(){for(var B=this.props,N=B.blockRenderMap,$=B.blockRendererFn,K=B.blockStyleFn,V=B.customStyleMap,ct=B.customStyleFn,it=B.editorState,H=B.editorKey,q=B.preventScroll,Y=B.textDirectionality,tt=it.getCurrentContent(),lt=it.getSelection(),nt=it.mustForceSelection(),pt=it.getDecorator(),St=w(it.getDirectionMap()),dt=tt.getBlocksAsArray(),yt=[],zt=null,Rt=null,at=0;at<dt.length;at++){var mt=dt[at],Ft=mt.getKey(),ye=mt.getType(),se=$(mt),gt=void 0,ht=void 0,Vt=void 0;se&&(gt=se.component,ht=se.props,Vt=se.editable);var Zt=Y||St.get(Ft),le=u.encode(Ft,0,0),Ct={contentState:tt,block:mt,blockProps:ht,blockStyleFn:K,customStyleMap:V,customStyleFn:ct,decorator:pt,direction:Zt,forceSelection:nt,offsetKey:le,preventScroll:q,selection:lt,tree:it.getBlockTree(Ft)},ue=N.get(ye)||N.get("unstyled"),xe=ue.wrapper,Lt=ue.element||N.get("unstyled").element,Yt=mt.getDepth(),Tt="";if(K&&(Tt=K(mt)),Lt==="li"){var Gt=Rt!==xe||zt===null||Yt>zt;Tt=m(Tt,k(ye,Yt,Gt,Zt))}var J=gt||s,W={className:Tt,"data-block":!0,"data-editor":H,"data-offset-key":le,key:Ft};Vt!==void 0&&(W=r({},W,{contentEditable:Vt,suppressContentEditableWarning:!0}));var et=l.createElement(Lt,W,l.createElement(J,e({},Ct,{key:Ft})));yt.push({block:et,wrapperTemplate:xe,key:Ft,offsetKey:le}),xe?zt=mt.getDepth():zt=null,Rt=xe}for(var st=[],ot=0;ot<yt.length;){var xt=yt[ot];if(xt.wrapperTemplate){var Ut=[];do Ut.push(yt[ot].block),ot++;while(ot<yt.length&&yt[ot].wrapperTemplate===xt.wrapperTemplate);var kt=l.cloneElement(xt.wrapperTemplate,{key:xt.key+"-wrap","data-offset-key":xt.offsetKey},Ut);st.push(kt)}else st.push(xt.block),ot++}return l.createElement("div",{"data-contents":"true"},st)},S}(l.Component);return zl=y,zl}var KO=_i,HO=KO("draft_tree_data_support"),qO=HO?MO():UO(),wm={isImage:function(e){return jh(e)[0]==="image"},isJpeg:function(e){var r=jh(e);return wm.isImage(e)&&(r[1]==="jpeg"||r[1]==="pjpeg")}};function jh(t){return t.split("/")}var YO=wm,Hu=Oe;function WO(t){var e=t.length;if(!Array.isArray(t)&&(typeof t=="object"||typeof t=="function")||Hu(!1),typeof e!="number"&&Hu(!1),e===0||e-1 in t||Hu(!1),typeof t.callee=="function"&&Hu(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch{}for(var r=Array(e),o=0;o<e;o++)r[o]=t[o];return r}function QO(t){return!!t&&(typeof t=="object"||typeof t=="function")&&"length"in t&&!("setInterval"in t)&&typeof t.nodeType!="number"&&(Array.isArray(t)||"callee"in t||"item"in t)}function VO(t){return QO(t)?Array.isArray(t)?t.slice():WO(t):[t]}var ZO=VO;function Hc(t){return function(){return t}}var ca=function(){};ca.thatReturns=Hc;ca.thatReturnsFalse=Hc(!1);ca.thatReturnsTrue=Hc(!0);ca.thatReturnsNull=Hc(null);ca.thatReturnsThis=function(){return this};ca.thatReturnsArgument=function(t){return t};var GO=ca,JO=YO,XO=ZO,tD=GO,eD=new RegExp(`\r 15`,"g"),rD=` 16`,nD={"text/rtf":1,"text/html":1};function oD(t){if(t.kind=="file")return t.getAsFile()}var iD=function(){function t(r){this.data=r,this.types=r.types?XO(r.types):[]}var e=t.prototype;return e.isRichText=function(){return this.getHTML()&&this.getText()?!0:this.isImage()?!1:this.types.some(function(o){return nD[o]})},e.getText=function(){var o;return this.data.getData&&(this.types.length?this.types.indexOf("text/plain")!=-1&&(o=this.data.getData("text/plain")):o=this.data.getData("Text")),o?o.replace(eD,rD):null},e.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")},e.isLink=function(){return this.types.some(function(o){return o.indexOf("Url")!=-1||o.indexOf("text/uri-list")!=-1||o.indexOf("text/x-moz-url")})},e.getLink=function(){if(this.data.getData){if(this.types.indexOf("text/x-moz-url")!=-1){var o=this.data.getData("text/x-moz-url").split(` 17`);return o[0]}return this.types.indexOf("text/uri-list")!=-1?this.data.getData("text/uri-list"):this.data.getData("url")}return null},e.isImage=function(){var o=this.types.some(function(l){return l.indexOf("application/x-moz-file")!=-1});if(o)return!0;for(var i=this.getFiles(),s=0;s<i.length;s++){var u=i[s].type;if(!JO.isImage(u))return!1}return!0},e.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},e.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(oD).filter(tD.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},e.hasFiles=function(){return this.getFiles().length>0},t}(),bm=iD,aD=Oe,Lh=/\.textClipping$/,sD={"text/plain":!0,"text/html":!0,"text/rtf":!0},uD=5e3;function cD(t,e){var r=0,o=[];t.forEach(function(i){lD(i,function(s){r++,s&&o.push(s.slice(0,uD)),r
17==t.length&&e(o.join("\r"))})})}function lD(t,e){if(!ko.FileReader||t.type&&!(t.type in sD)){e("");return}if(t.type===""){var r="";Lh.test(t.name)&&(r=t.name.replace(Lh,"")),e(r);return}var o=new FileReader;o.onload=function(){var i=o.result;typeof i!="string"&&aD(!1),e(i)},o.onerror=function(){e("")},o.readAsText(t)}var Em=cD;function fD(t){return t==="handled"||t===!0}var qc=fD,pD=bm,Mm=Ur,Cm=Ue,dD=Fc,hD=Pc,gD=Em,yD=Xv,vD=Zv,Nh=qc,Rl=Kr;function mD(t,e){var r=null,o=null,i=hD(t.currentTarget);if(typeof i.caretRangeFromPoint=="function"){var s=i.caretRangeFromPoint(t.x,t.y);r=s.startContainer,o=s.startOffset}else if(t.rangeParent)r=t.rangeParent,o=t.rangeOffset;else return null;r=Rl(r),o=Rl(o);var u=Rl(dD(r));return yD(e,u,o,u,o)}var _D={onDragEnd:function(e){e.exitCurrentMode(),Ah(e)},onDrop:function(e,r){var o=new pD(r.nativeEvent.dataTransfer),i=e._latestEditorState,s=mD(r.nativeEvent,i);if(r.preventDefault(),e._dragCount=0,e.exitCurrentMode(),s!=null){var u=o.getFiles();if(u.length>0){if(e.props.handleDroppedFiles&&Nh(e.props.handleDroppedFiles(s,u)))return;gD(u,function(d){d&&e.update(zh(i,s,d))});return}var l=e._internalDrag?"internal":"external";e.props.handleDrop&&Nh(e.props.handleDrop(s,o,l))||(e._internalDrag?e.update(SD(i,s)):e.update(zh(i,s,o.getText()))),Ah(e)}}};function Ah(t){t._internalDrag=!1;var e=t.editorContainer;if(e){var r=new MouseEvent("mouseup",{view:vD(e),bubbles:!0,cancelable:!0});e.dispatchEvent(r)}}function SD(t,e){var r=Mm.moveText(t.getCurrentContent(),t.getSelection(),e);return Cm.push(t,r,"insert-fragment")}function zh(t,e,r){var o=Mm.insertText(t.getCurrentContent(),e,r,t.getCurrentInlineStyle());return Cm.push(t,o,"insert-fragment")}var wD=_D;function bD(t){var e=t.getSelection(),r=e.getAnchorKey(),o=t.getBlockTree(r),i=e.getStartOffset(),s=!1;return o.some(function(u){return i===u.get("start")?(s=!0,!0):i<u.get("end")?u.get("leaves").some(function(l){var d=l.get("start");return i===d?(s=!0,!0):!1}):!1}),s}var ED=bD;(function(t,e){if(t.setImmediate)return;var r=1,o={},i=!1,s=t.document,u;function l(N){typeof N!="function"&&(N=new Function(""+N));for(var $=new Array(arguments.length-1),K=0;K<$.length;K++)$[K]=arguments[K+1];var V={callback:N,args:$};return o[r]=V,u(r),r++}function d(N){delete o[N]}function m(N){var $=N.callback,K=N.args;switch(K.length){case 0:$();break;case 1:$(K[0]);break;case 2:$(K[0],K[1]);break;case 3:$(K[0],K[1],K[2]);break;default:$.apply(e,K);break}}function w(N){if(i)setTimeout(w,0,N);else{var $=o[N];if($){i=!0;try{m($)}finally{d(N),i=!1}}}}function k(){u=function(N){process.nextTick(function(){w(N)})}}function y(){if(t.postMessage&&!t.importScripts){var N=!0,$=t.onmessage;return t.onmessage=function(){N=!1},t.postMessage("","*"),t.onmessage=$,N}}function T(){var N="setImmediate$"+Math.random()+"$",$=function(K){K.source===t&&typeof K.data=="str
17ing"&&K.data.indexOf(N)===0&&w(+K.data.slice(N.length))};t.addEventListener?t.addEventListener("message",$,!1):t.attachEvent("onmessage",$),u=function(K){t.postMessage(N+K,"*")}}function S(){var N=new MessageChannel;N.port1.onmessage=function($){var K=$.data;w(K)},u=function($){N.port2.postMessage($)}}function D(){var N=s.documentElement;u=function($){var K=s.createElement("script");K.onreadystatechange=function(){w($),K.onreadystatechange=null,N.removeChild(K),K=null},N.appendChild(K)}}function x(){u=function(N){setTimeout(w,0,N)}}var B=Object.getPrototypeOf&&Object.getPrototypeOf(t);B=B&&B.setTimeout?B:t,{}.toString.call(t.process)==="[object process]"?k():y()?T():t.MessageChannel?S():s&&"onreadystatechange"in s.createElement("script")?D():x(),B.setImmediate=l,B.clearImmediate=d})(typeof self>"u"?typeof ko>"u"?ko:ko:self);var MD=ko.setImmediate,CD=Ur,xf=Ue,kD=Hr,Rh=cp,OD=qc,DD=ED,Bh=Kr,xD=MD,TD="'",ID="/",jD=kD.isBrowser("Firefox");function LD(t){return jD&&(t==TD||t==ID)}function Ph(t,e,r,o,i){var s=CD.replaceText(t.getCurrentContent(),t.getSelection(),e,r,o);return xf.push(t,s,"insert-characters",i)}function ND(t,e){t._pendingStateFromBeforeInput!==void 0&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var r=t._latestEditorState,o=e.data;if(o){if(t.props.handleBeforeInput&&OD(t.props.handleBeforeInput(o,r,e.timeStamp))){e.preventDefault();return}var i=r.getSelection(),s=i.getStartOffset(),u=i.getAnchorKey();if(!i.isCollapsed()){e.preventDefault(),t.update(Ph(r,o,r.getCurrentInlineStyle(),Rh(r.getCurrentContent(),r.getSelection()),!0));return}var l=Ph(r,o,r.getCurrentInlineStyle(),Rh(r.getCurrentContent(),r.getSelection()),!1),d=!1;if(d||(d=DD(t._latestCommittedEditorState)),!d){var m=r.getBlockTree(u),w=l.getBlockTree(u);d=m.size!==w.size||m.zip(w).some(function(k){var y=k[0],T=k[1],S=y.get("start"),D=S+(S>=s?o.length:0),x=y.get("end"),B=x+(x>=s?o.length:0),N=T.get("start"),$=T.get("end"),K=T.get("decoratorKey");return y.get("decoratorKey")!==K||y.get("leaves").size!==T.get("leaves").size||D!==N||B!==$||K!=null&&$-N!==x-S})}if(d||(d=LD(o)),d||(d=Bh(l.getDirectionMap()).get(u)!==Bh(r.getDirectionMap()).get(u)),d){e.preventDefault(),l=xf.set(l,{forceSelection:!0}
vendor: 32,105 bytes, lines 17-24
17),t.update(l);return}l=xf.set(l,{nativelyRenderedContent:l.getCurrentContent()}),t._pendingStateFromBeforeInput=l,xD(function(){t._pendingStateFromBeforeInput!==void 0&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)})}}var AD=ND,zD=Ue,Fh=fp,RD=um;function BD(t,e){var r=e.currentTarget.ownerDocument;if(!t.props.preserveSelectionOnBlur&&RD(r)===r.body){var o=r.defaultView.getSelection(),i=t.editor;o.rangeCount===1&&Fh(i,o.anchorNode)&&Fh(i,o.focusNode)&&o.removeAllRanges()}var s=t._latestEditorState,u=s.getSelection();if(u.getHasFocus()){var l=u.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(e),t.update(zD.acceptSelection(s,l))}}var PD=BD,FD=Ue;function $D(t,e){t.setMode("composite"),t.update(FD.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}var UD=$D,KD=Lc;function HD(t){var e=t.getSelection();return e.isCollapsed()?null:KD(t.getCurrentContent(),e)}var km=HD,qD=km;function YD(t,e){var r=t._latestEditorState,o=r.getSelection();if(o.isCollapsed()){e.preventDefault();return}t.setClipboard(qD(t._latestEditorState))}var WD=YD;function QD(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var e=t;if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1}var VD=QD,ZD=Ur,GD=Ue,JD=Uc,XD=km,tx=Kc,ex=VD;function rx(t,e){var r=t._latestEditorState,o=r.getSelection(),i=e.target,s;if(o.isCollapsed()){e.preventDefault();return}if(ex(i)){var u=i;s=tx(JD.getScrollParent(u))}var l=XD(r);t.setClipboard(l),t.setMode("cut"),setTimeout(function(){t.restoreEditorDOM(s),t.exitCurrentMode(),t.update(nx(r))},0)}function nx(t){var e=ZD.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return GD.push(t,e,"remove-range")}var ox=rx;function ix(t,e){t.setMode("drag"),e.preventDefault()}var ax=ix;function sx(t){t._internalDrag=!0,t.setMode("drag")}var ux=sx,$h=Ue,cx=Hr;function lx(t,e){var r=t._latestEditorState,o=r.getSelection();if(!o.getHasFocus()){var i=o.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),cx.isBrowser("Chrome < 60.0.3081.0")?t.update($h.forceSelection(r,i)):t.update($h.acceptSelection(r,i))}}var fx=lx,px=Oe,Om=55296,dx=56319,hx=56320,Dm=57343,gx=/[\uD800-\uDFFF]/;function xm(t){return Om<=t&&t<=Dm}function yx(t,e){if(0<=e&&e<t.length||px(!1),e+1===t.length)return!1;var r=t.charCodeAt(e),o=t.charCodeAt(e+1);return Om<=r&&r<=dx&&hx<=o&&o<=Dm}function hp(t){return gx.test(t)}function Pa(t,e){return 1+xm(t.charCodeAt(e))}function vx(t){if(!hp(t))return t.length;for(var e=0,r=0;r<t.length;r+=Pa(t,r))e++;return e}function Tm(t,e,r){if(e=e||0,r=r===void 0?1/0:r||0,!hp(t))return t.substr(e,r);var o=t.length;if(o<=0||e>o||r<=0)return"";var i=0;if(e>0){for(;e>0&&i<o;e--)i+=Pa(t,i);if(i>=o)return""}else if(e<0){for(i=o;e<0&&0<i;e++)i-=Pa(t,i-1);i<0&&(i=0)}var s=o;if(r<o)for(s=i;r>0&&s<o;r--)s+=Pa(t,s);return t.substring(i,s)}function mx(t,e,r){e=e||0,r=r===void 0?1/0:r||0,e<0&&(e=0),r<0&&(r=0);var o=Math.abs(r-e);return e=e<r?e:r,Tm(t,e,o)}function _x(t){for(var e=[],r=0;r<t.length;r+=Pa(t,r))e.push(t.codePointAt(r));return e}var Sx={getCodePoints:_x,getUTF16Length:Pa,hasSurrogateUnit:hp,isCodeUnitInSurrogateRange:xm,isSurrogatePair:yx,strlen:vx,substring:mx,substr:Tm},la=Sx;function wx(t,e){var r=t.getSelection(),o=t.getCurrentContent(),i=r.getStartKey(),s=r.getStartOffset(),u=i,l=0;if(e>s){var d=o.getKeyBefore(i);if(d==null)u=i;else{u=d;var m=o.getBlockForKey(d);l=m.getText().length}}else l=s-e;return r.merge({focusKey:u,focusOffset:l,isBackward:!0})}var gp=wx,bx=Ur,Ex=_i,Uh=Ex("draft_tree_data_support");function Mx(t,e,r){var o=t.getSelection(),i=t.getCurrentContent(),s=o,u=o.getAnchorKey(),l=o.getFocusKey(),d=i.getBlockForKey(u);if(Uh&&r==="forward"&&u!==l)return i;if(o.isCollapsed()){if(r==="forward"){if(t.isSelectionAtEndOfContent())return i;if(Uh){var m=o.getAnchorOffset()===i.getBlockForKey(u).getLength();if(m){var w=i.getBlockForKey(d.nextSibling);if(!w||w.getLength()===0)return i}}}else if(t.isSelectionAtStartOfContent())return i;if(s=e(t),s===o)return i}return bx.removeRange(i,s,r)}var lu=Mx,Cx=Ue,kx=la,Ox=gp,Dx=lu;function xx(t){var e=Dx(t,function(o){var i=o.getSelection(),s=o.getCurrentContent(),u=i.getAnchorKey(),l=i.getAnchorOffset(),d=s.getBlockForKey(u).getText()[l-1];return Ox(o,d?kx.getUTF16Length(d,0):1)},"backward");if(e===t.getCurrentContent())return t;var r=t.getSelection();return Cx.push(t,e.set("selectionBefore",r),r.isCollapsed()?"backspace-character":"remove-range")}var Im=xx,Tx=Ur,Ix=Io,jx=Ue,Lx=Hr,Nx=nm,Ax=Nx.notEmptyKey,zx=Fc,Rx=Im,Bx=Kr,Px=Lx.isEngine("Gecko"),Fx=` 18 19`;function $x(t,e){switch(t){case"deleteContentBackward":return Rx(e)}return e}function Ux(t,e){t._pendingStateFromBeforeInput!==void 0&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var r=t.editor,o=r.ownerDocument.defaultView.getSelection(),i=o.anchorNode,s=o.isCollapsed,u=(i==null?void 0:i.nodeType)!==Node.TEXT_NODE&&(i==null?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(!(i==null||u)){if(i.nodeType===Node.TEXT_NODE&&(i.previousSibling!==null||i.nextSibling!==null)){var l=i.parentNode;if(l==null)return;i.nodeValue=l.textContent;for(var d=l.firstChild;d!=null;d=d.nextSibling)d!==i&&l.removeChild(d)}var m=i.textContent,w=t._latestEditorState,k=Bx(zx(i)),y=Ix.decode(k),T=y.blockKey,S=y.decoratorKey,D=y.leafKey,x=w.getBlockTree(T).getIn([S,"leaves",D]),B=x.start,N=x.end,$=w.getCurrentContent(),K=$.getBlockForKey(T),V=K.getText().slice(B,N);if(m.endsWith(Fx)&&(m=m.slice(0,-1)),m===V){var ct=e.nativeEvent.inputType;if(ct){var it=$x(ct,w);if(it!==w){t.restoreEditorDOM(),t.update(it);return}}return}var H=w.getSelection(),q=H.merge({anchorOffset:B,focusOffset:N,isBackward:!1}),Y=K.getEntityAt(B),tt=Ax(Y)?$.getEntity(Y):null,lt=tt!=null?tt.getMutability():null,nt=lt==="MUTABLE",pt=nt?"spellcheck-change":"apply-entity",St=Tx.replaceText($,q,m,K.getInlineStyleAt(B),nt?K.getEntityAt(B):null),dt,yt,zt,Rt;if(Px)dt=o.anchorOffset,yt=o.focusOffset,zt=B+Math.min(dt,yt),Rt=zt+Math.abs(dt-yt),dt=zt,yt=Rt;else{var at=m.length-V.length;zt=H.getStartOffset(),Rt=H.getEndOffset(),dt=s?Rt+at:zt,yt=Rt+at}var mt=St.merge({selectionBefore:$.getSelectionAfter(),selectionAfter:H.merge({anchorOffset:dt,focusOffset:yt})});t.update(jx.push(w,mt,pt))}}var Kx=Ux,Hx=$c;function qx(t){return t.which===Hx.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}var Yx=qx,Wx=Hr,Qx=Yx,Bl=Wx.isPlatform("Mac OS X"),jm={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return Bl&&e.altKey},usesMacOSHeuristics:function(){return Bl},hasCommandModifier:function(e){return Bl?!!e.metaKey&&!e.altKey:jm.isCtrlKeyCommand(e)},isSoftNewlineEvent:Qx},yp=jm,Kh=Ur,Hh=Ue,Vx=Lc,Zx=Kr,Pl=null,Gx={cut:function(e){var r=e.getCurrentContent(),o=e.getSelection(),i=null;if(o.isCollapsed()){var s=o.getAnchorKey(),u=r.getBlockForKey(s).getLength();if(u===o.getAnchorOffset()){var l=r.getKeyAfter(s);if(l==null)return e;i=o.set("focusKey",l).set("focusOffset",0)}else i=o.set("focusOffset",u)}else i=o;i=Zx(i),Pl=Vx(r,i);var d=Kh.removeRange(r,i,"forward");return d===r?e:Hh.push(e,d,"remove-range")},paste:function(e){if(!Pl)return e;var r=Kh.replaceWithFragment(e.getCurrentContent(),e.getSelection(),Pl);return Hh.push(e,r,"insert-fragment")}},Jx=Gx,Xx=Hr,tT=Oe,eT=Xx.isBrowser("Chrome");function rT(t){for(var e=t.cloneRange(),r=[],o=t.endContainer;o!=null;o=o.parentNode){var i=o===t.commonAncestorContainer;i?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var s=Array.from(e.getClientRects());if(r.push(s),i){var u;return r.reverse(),(u=[]).concat.apply(u,r)}e.setEndBefore(o)}tT(!1)}var nT=eT?rT:function(t){return Array.from(t.getClientRects())},Lm=nT,oT=la,iT=Pc,qh=Lm,Tf=Oe;function aT(t){var e=getComputedStyle(t),r=iT(t),o=r.createElement("div");o.style.fontFamily=e.fontFamily,o.style.fontSize=e.fontSize,o.style.fontStyle=e.fontStyle,o.style.fontWeight=e.fontWeight,o.style.lineHeight=e.lineHeight,o.style.position="absolute",o.textContent="M";var i=r.body;i||Tf(!1),i.appendChild(o);var s=o.getBoundingClientRect();return i.removeChild(o),s.height}function Yh(t,e){for(var r=1/0,o=1/0,i=-1/0,s=-1/0,u=0;u<t.length;u++){var l=t[u];l.width===0||l.width===1||(r=Math.min(r,l.top),o=Math.min(o,l.bottom),i=Math.max(i,l.top),s=Math.max(s,l.bottom))}return i<=o&&i-r<e&&s-o<e}function sT(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}function uT(t){t.collapsed||Tf(!1),t=t.cloneRange();var e=t.startContainer;e.nodeType!==1&&(e=e.parentNode);var r=aT(e),o=t.endContainer,i=t.endOffset;for(t.setStart(t.startContainer,0);Yh(qh(t),r)&&(o=t.startContainer,i=t.startOffset,o.parentNode||Tf(!1),t.setStartBefore(o),!(o.nodeType===1&&getComputedStyle(o).display!=="inline")););var s=o,u=i-1;do{for(var l=s.nodeValue,d=u;d>=0;d--)if(!(l!=null&&d>0&&oT.isSurrogatePair(l,d-1)))if(t.setStart(s,d),Yh(qh(t),r))o=s,i=d;else break;if(d===-1||s.childNodes.length===0)break;s=s.childNodes[d],u=sT(s)}while(!0);return t.setStart(o,i),t}var cT=uT,lT=Ue,fT=cT,pT=tm,dT=gp,hT=lu;function gT(t,e){var r=hT(t,function(o){var i=o.getSelection();if(i.isCollapsed()&&i.getAnchorOffset()===0)return dT(o,1);var s=e.currentTarget.ownerDocument,u=s.defaultView.getSelection(),l=u.getRangeAt(0);return l=fT(l),pT(o,null,l.endContainer,l.endOffset,l.startContainer,l.startOffset).selectionState},"backward");return r===t.getCurrentContent()?t:lT.push(t,r,"remove-range")}var yT=gT,vT=`[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%"~=<>_:;ã»ããã-ãã-ãï¼-ï¼ï¼-ï¼ï¼»-ï½ï½-・⸮ØÙª-Ù¬ØØØï´¾ï´¿á ।ááâ-â§â°-â¡-±´-¸º»¿]`,mT={getPunctuation:function(){return vT}},_T=mT,ST=_T.getPunctuation(),Nm="['ââ]",Fa="\\s|(?![_])"+ST,wT="^(?:"+Fa+")*(?:"+Nm+"|(?!"+Fa+").)*(?:(?!"+Fa+").)",bT=new RegExp(wT),ET="(?:(?!"+Fa+").)(?:"+Nm+"|(?!"+Fa+").)*(?:"+Fa+")*$",MT=new RegExp(ET);function Wh(t,e){var r=e?MT.exec(t):bT.exec(t);return r?r[0]:t}var CT={getBackward:function(e){return Wh(e,!0)},getForward:function(e){return Wh(e,!1)}},Am=CT,kT=Am,OT=Ue,Qh=gp,DT=lu;function xT(t){var e=DT(t,function(r){var o=r.getSelection(),i=o.getStartOffset();if(i===0)return Qh(r,1);var s=o.getStartKey(),u=r.getCurrentContent(),l=u.getBlockForKey(s).getText().slice(0,i),d=kT.getBackward(l);return Qh(r,d.length||1)},"backward");return e===t.getCurrentContent()?t:OT.push(t,e,"remove-range")}var TT=xT;function IT(t,e){var r=t.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),s=t.getCurrentContent(),u=o,l,d=s.getBlockForKey(o);return e>d.getText().length-i?(u=s.getKeyAfter(o),l=0):l=i+e,r.merge({focusKey:u,focusOffset:l})}var zm=IT,jT=Am,LT=Ue,NT=zm,AT=lu;function zT(t){var e=AT(t,function(r){var o=r.getSelection(),i=o.getStartOffset(),s=o.getStartKey(),u=r.getCurrentContent(),l=u.getBlockForKey(s).getText().slice(i),d=jT.getForward(l);return NT(r,d.length||1)},"forward");return e===t.getCurrentContent()?t:LT.push(t,e,"remove-range")}var RT=zT,BT=Ur,PT=Ue;function FT(t){var e=BT.splitBlock(t.getCurrentContent(),t.getSelection());return PT.push(t,e,"split-block")}var $T=FT,UT=Ue;function KT(t){var e=t.getSelection(),r=e.getEndKey(),o=t.getCurrentContent(),i=o.getBlockForKey(r).getLength();return UT.set(t,{selection:e.merge({anchorKey:r,anchorOffset:i,focusKey:r,focusOffset:i,isBackward:!1}),forceSelection:!0})}var HT=KT,qT=Ue;function YT(t){var e=t.getSelection(),r=e.getStartKey();return qT.set(t,{selection:e.merge({anchorKey:r,anchorOffset:0,focusKey:r,focusOffset:0,isBackward:!1}),forceSelection:!0})}var WT=YT,QT=Ue,VT=la,ZT=zm,GT=lu;function JT(t){var e=GT(t,function(o){var i=o.getSelection(),s=o.getCurrentContent(),u=i.getAnchorKey(),l=i.getAnchorOffset(),d=s.getBlockForKey(u).getText()[l];return ZT(o,d?VT.getUTF16Length(d,0):1)},"forward");if(e===t.getCurrentContent())return t;var r=t.getSelection();return QT.push(t,e.set("selectionBefore",r),r.isCollapsed()?"delete-character":"remove-range")}var XT=JT,Vh=Ur,Zh=Ue,tI=Lc;function eI(t){var e=t.getSelection();if(!e.isCollapsed())return t;var r=e.getAnchorOffset();if(r===0)return t;var o=e.getAnchorKey(),i=t.getCurrentContent(),s=i.getBlockForKey(o),u=s.getLength();if(u<=1)return t;var l,d;r===u?(l=e.set("anchorOffset",r-1),d=e):(l=e.set("focusOffset",r+1),d=l.set("anchorOffset",r+1));var m=tI(i,l),w=Vh.removeRange(i,l,"backward"),k=w.getSelectionAfter(),y=k.getAnchorOffset()-1,T=k.merge({anchorOffset:y,focusOffset:y}),S=Vh.replaceWithFragment(w,T,m),D=Zh.push(t,S,"insert-fragment");return Zh.acceptSelection(D,d)}var rI=eI,Fl=Ue;function nI(t,e,r){var o=Fl.undo(e);if(e.getLastChangeType()==="spellcheck-change"){var i=o.getCurrentContent();r(Fl.set(o,{nativelyRenderedContent:i}));return}if(t.preventDefault(),!e.getNativelyRenderedContent()){r(o);return}r(Fl.set(e,{nativelyRenderedContent:null})),setTimeout(function(){r(o)},0)}var oI=nI,iI=Ur,Rm=Ue,aI=yp,Eo=$c,Gh=Jx,sI=Hr,Jh=qc,uI=yT,cI=TT,lI=RT,fI=$T,pI=HT,dI=WT,hI=Im,gI=XT,yI=rI,vI=oI,Xh=aI.isOptionKeyCommand,tg=sI.isBrowser("Chrome");function mI(t,e,r){switch(t){case"redo":return Rm.redo(e);case"delete":return gI(e);case"delete-word":return lI(e);case"backspace":return hI(e);case"backspace-word":return cI(e);case"backspace-to-start-of-line":return uI(e,r);case"split-block":return fI(e);case"transpose-characters":return yI(e);case"move-selection-to-start-of-block":return dI(e);case"move-selection-to-end-of-block":return pI(e);case"secondary-cut":return Gh.cut(e);case"secondary-paste":return Gh.paste(e);default:return e}}function _I(t,e){var r=e.which,o=t._latestEditorState;function i(d){var m=t.props[d];return m?(m(e),!0):!1}switch(r){case Eo.RETURN:if(e.preventDefault(),t.props.handleReturn&&Jh(t.props.handleReturn(e,o)))return;break;case Eo.ESC:if(e.preventDefault(),i("onEscape"))return;break;case Eo.TAB:if(i("onTab"))return;break;case Eo.UP:if(i("onUpArrow"))return;break;case Eo.RIGHT:if(i("onRightArrow"))return;break;case Eo.DOWN:if(i("onDownArrow"))return;break;case Eo.LEFT:if(i("onLeftArrow"))return;break;case Eo.SPACE:tg&&Xh(e)&&e.preventDefault()}var s=t.props.keyBindingFn(e);if(s==null||s===""){if(r===Eo.SPACE&&tg&&Xh(e)){var u=iI.replaceText(o.getCurrentContent(),o.getSelection()," ");t.update(Rm.push(o,u,"insert-characters"))}return}if(s==="undo"){vI(e,o,t.update);return}if(e.preventDefault(),!(t.props.handleKeyCommand&&Jh(t.props.handleKeyCommand(s,o,e.timeStamp)))){var l=mI(s,o,e);l!==o&&t.update(l)}}var SI=_I;function wI(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bI=function(){function t(r){wI(this,"_uri",void 0),this._uri=r}var e=t.prototype;return e.toString=function(){return this._uri},t}(),EI=bI,MI=Hr,CI=Oe,kI=MI.isBrowser("IE <= 9");function OI(t){var e,r=null;return!kI&&document.implementation&&document.implementation.createHTMLDocument&&(e=document.implementation.createHTMLDocument("foo"),e.documentElement||CI(!1),e.documentElement.innerHTML=t,r=e.getElementsByTagName("body")[0]),r}var Bm=OI,DI=ua;function xI(t){return!t||!t.ownerDocument?!1:DI(t)&&t.nodeName==="A"}var TI=xI,II=ua;function jI(t){return!t||!t.ownerDocument?!1:II(t)&&t.nodeName==="IMG"}var LI=jI,Wi;function $l(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},o=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),o.forEach(function(i){fr(t,i,r[i])})}return t}function fr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var NI=yn,AI=ia,zI=vn,RI=sp,eg=Nc,Pm=EI,Es=aa,rg=to,BI=Bm,Fm=_i,vp=Ce,ii=vp.List,$m=vp.Map,PI=vp.OrderedSet,Um=TI,FI=im,mp=cu,Km=LI,ng=Fm("draft_tree_data_support"),$I=" ",Hm=" ",UI=new RegExp("\r","g"),KI=new RegExp(` 20`,"g"),HI=new RegExp(`^ 21`,"g"),qI=new RegExp($I,"g"),YI=new RegExp(" ?","g"),WI=new RegExp("​?","g"),QI=["bold","bolder","500","600","700","800","900"],VI=["light","lighter","normal","100","200","300","400"],ZI=["className","href","rel","target","title"],GI=["alt","className","height","src","width"],og=(Wi={},fr(Wi,Es("public/DraftStyleDefault/depth0"),0),fr(Wi,Es("public/DraftStyleDefault/depth1"),1),fr(Wi,Es("public/DraftStyleDefault/depth2"),2),fr(Wi,Es("public/DraftStyleDefault/depth3"),3),fr(Wi,Es("public/DraftStyleDefault/depth4"),4),Wi),ig=$m({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),JI=function(e){var r={};return e.mapKeys(function(o,i){var s=[i.element];i.aliasedElements!==void 0&&s.push.apply(s,i.aliasedElements),s.forEach(function(u){r[u]===void 0?r[u]=o:typeof r[u]=="string"?r[u]=[r[u],o]:r[u].push(o)})}),$m(r)},XI=function(e){if(mp(e)){var r=e;if(r.style.fontFamily.includes("monospace"))return"CODE"}return null},tj=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Object.keys(og).some(function(o){e.classList.contains(o)&&(r=og[o])}),r},ej=function(e){if(!Um(e))return!1;var r=e;if(!r.href||r.protocol!=="http:"&&r.protocol!=="https:"&&r.protocol!=="mailto:"&&r.protocol!=="tel:")return!1;try{var o=new Pm(r.href);return!0}catch{return!1}},rj=function(e){if(!Km(e))return!1;var r=e;return!!(r.attributes.getNamedItem("src")&&r.attributes.getNamedItem("src").value)},nj=function(e,r){if(!mp(e))return r;var o=e,i=o.style.fontWeight,s=o.style.fontStyle,u=o.style.textDecoration;return r.withMutations(function(l){QI.indexOf(i)>=0?l.add("BOLD"):VI.indexOf(i)>=0&&l.remove("BOLD"),s==="italic"?l.add("ITALIC"):s==="normal"&&l.remove("ITALIC"),u==="underline"&&l.add("UNDERLINE"),u==="line-through"&&l.add("STRIKETHROUGH"),u==="none"&&(l.remove("UNDERLINE"),l.remove("STRIKETHROUGH"))})},Ul=function(e){return e==="ul"||e==="ol"},oj=function(){function t(r,o){fr(this,"characterList",ii()),fr(this,"currentBlockType","unstyled"),fr(this,"currentDepth",0),fr(this,"currentEntity",null),fr(this,"currentText",""),fr(this,"wrapper",null),fr(this,"blockConfigs",[]),fr(this,"contentBlocks",[]),fr(this,"entityMap",eg),fr(this,"blockTypeMap",void 0),fr(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=r,this.disambiguate=o}var e=t.prototype;return e.clear=function(){this.characterList=ii(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=eg,this.wrapper=null,this.contentBlocks=[]},e.addDOMNode=function(o){var i;return this.contentBlocks=[],this.currentDepth=0,(i=this.blockConfigs).push.apply(i,this._toBlockConfigs([o],PI())),this._trimCurrentText(),this.currentText!==""&&this.blockConfigs.push(this._makeBlockConfig()),this},e.getContentBlocks=function(){return this.contentBlocks.length===0&&(ng?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},e._makeBlockConfig=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=o.key||rg(),s=$l({key:i,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:ii(),prevSibling:null,nextSibling:null,childConfigs:[]},o);return this.characterList=ii(),this.currentBlockType="unstyled",this.currentText="",s},e._toBlockConfigs=function(o,i){for(var s=[],u=0;u<o.length;u++){var l=o[u],d=l.nodeName.toLowerCase();if(d==="body"||Ul(d)){this._trimCurrentText(),this.currentText!==""&&s.push(this._makeBlockConfig());var m=this.currentDepth,w=this.wrapper;Ul(d)&&(this.wrapper=d,Ul(w)&&this.currentDepth++),s.push.apply(s,this._toBlockConfigs(Array.from(l.childNodes),i)),this.currentDepth=m,this.wrapper=w;continue}var k=this.blockTypeMap.get(d);if(k!==void 0){this._trimCurrentText(),this.currentText!==""&&s.push(this._makeBlockConfig());var y=this.currentDepth,T=this.wrapper;if(this.wrapper=d==="pre"?"pre":this.wrapper,typeof k!="string"&&(k=this.disambiguate(d,this.wrapper)||k[0]||"unstyled"),!ng&&mp(l)&&(k==="unordered-list-item"||k==="ordered-list-item")){var S=l;this.currentDepth=tj(S,this.currentDepth)}var D=rg(),x=this._toBlockConfigs(Array.from(l.childNodes),i);this._trimCurrentText(),s.push(this._makeBlockConfig({key:D,childConfigs:x,type:k})),this.currentDepth=y,this.wrapper=T;continue}if(d==="#text"){this._addTextNode(l,i);continue}if(d==="br"){this._addBreakNode(l,i);continue}if(rj(l)){this._addImgNode(l,i);continue}if(ej(l)){this._addAnchorNode(l,s,i);continue}var B=i;ig.has(d)&&(B=B.add(ig.get(d))),B=nj(l,B);var N=XI(l);N!=null&&(B=B.add(N)),s.push.apply(s,this._toBlockConfigs(Array.from(l.childNodes),B))}return s},e._appendText=function(o,i){var s;this.currentText+=o;var u=NI.create({style:i,entity:this.currentEntity});this.characterList=(s=this.characterList).push.apply(s,Array(o.length).fill(u))},e._trimCurrentText=function(){var o=this.currentText.length,i=o-this.currentText.trimLeft().length,s=this.currentText.trimRight().length,u=this.characterList.findEntry(function(l){return l.getEntity()!==null});i=u!==void 0?Math.min(i,u[0]):i,u=this.characterList.reverse().findEntry(function(l){return l.getEntity()!==null}),s=u!==void 0?Math.max(s,o-u[0]):s,i>s?(this.currentText="",this.characterList=ii()):(this.currentText=this.currentText.slice(i,s),this.characterList=this.characterList.slice(i,s))},e._addTextNode=function(o,i){var s=o.textContent,u=s.trim();u===""&&this.wrapper!=="pre"&&(s=" "),this.wrapper!=="pre"&&(s=s.replace(HI,""),s=s.replace(KI,Hm)),this._appendText(s,i)},e._addBreakNode=function(o,i){FI(o)&&this._appendText(` 22`,i)},e._addImgNode=function(o,i){if(Km(o)){var s=o,u={};GI.forEach(function(l){var d=s.getAttribute(l);d&&(u[l]=d)}),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",u),Fm("draftjs_fix_paste_for_img")?s.getAttribute("role")!=="presentation"&&this._appendText("ð·",i):this._appendText("ð·",i),this.currentEntity=null}},e._addAnchorNode=function(o,i,s){if(Um(o)){var u=o,l={};ZI.forEach(function(d){var m=u.getAttribute(d);m&&(l[d]=m)}),l.url=new Pm(u.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",l||{}),i.push.apply(i,this._toBlockConfigs(Array.from(o.childNodes),s)),this.currentEntity=null}},e._toContentBlocks=function(o){for(var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,s=o.length-1,u=0;u<=s;u++){var l=o[u];l.parent=i,l.prevSibling=u>0?o[u-1].key:null,l.nextSibling=u<s?o[u+1].key:null,l.children=ii(l.childConfigs.map(function(d){return d.key})),this.contentBlocks.push(new zI($l({},l))),this._toContentBlocks(l.childConfigs,l.key)}},e._hoistContainersInBlockConfigs=function(o){var i=this,s=ii(o).flatMap(function(u){return u.type!=="unstyled"||u.text!==""?[u]:i._hoistContainersInBlockConfigs(u.childConfigs)});return s},e._toFlatContentBlocks=function(o){var i=this,s=this._hoistContainersInBlockConfigs(o);s.forEach(function(u){var l=i._extractTextFromBlockConfigs(u.childConfigs),d=l.text,m=l.characterList;i.contentBlocks.push(new AI($l({},u,{text:u.text+d,characterList:u.characterList.concat(m)})))})},e._extractTextFromBlockConfigs=function(o){for(var i=o.length-1,s="",u=ii(),l=0;l<=i;l++){var d=o[l];s+=d.text,u=u.concat(d.characterList),s!==""&&d.type!=="unstyled"&&(s+=` 23`,u=u.push(u.last()));var m=this._extractTextFromBlockConfigs(d.childConfigs);s+=m.text,u=u.concat(m.characterList)}return{text:s,characterList:u}},t}(),ij=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:BI,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:RI;e=e.trim().replace(UI,"").replace(qI,Hm).replace(YI,"").replace(WI,"");var i=r(e);if(!i)return null;var s=JI(o),u=function(d,m){return d==="li"?m==="ol"?"ordered-list-item":"unordered-list-item":null};return new oj(s,u).addDOMNode(i).getContentBlocks()},qm=ij;function aj(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},o=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),o.forEach(function(i){sj(t,i,r[i])})}return t}function sj(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var uj=ia,cj=vn,lj=qm,fj=to,pj=Bm,dj=_i,Ym=Ce,hj=Ov,gj=Ym.List,yj=Ym.Repeat,Wm=dj("draft_tree_data_support"),vj=Wm?cj:uj,mj={processHTML:function(e,r){return lj(e,pj,r)},processText:function(e,r,o){return e.reduce(function(i,s,u){s=hj(s);var l=fj(),d={key:l,type:o,text:s,characterList:gj(yj(r,s.length))};if(Wm&&u!==0){var m=u-1,w=i[m]=i[m].merge({nextSibling:l});d=aj({},d,{prevSibling:w.getKey()})}return i.push(new vj(d)),i},[])}},_j=mj;function Sj(t,e,r,o){var i=e.getStartKey(),s=e.getEndKey(),u=t.getBlockMap(),l=u.toSeq().skipUntil(function(d,m){return m===i}).takeUntil(function(d,m){return m===s}).concat([[s,u.get(s)]]).map(function(d){var m=d.getDepth()+r;return m=Math.max(0,Math.min(m,o)),d.set("depth",m)});return u=u.merge(l),t.merge({blockMap:u,selectionBefore:e,selectionAfter:e})}var wj=Sj,Qi=Ur,Yn=Ue,bj=wj,Ej=Kr,Vn={currentBlockContainsLink:function(e){var r=e.getSelection(),o=e.getCurrentContent(),i=o.getEntityMap();return o.getBlockForKey(r.getAnchorKey()).getCharacterList().slice(r.getStartOffset(),r.getEndOffset()).some(function(s){var u=s.getEntity();return!!u&&i.__get(u).getType()==="LINK"})},getCurrentBlockType:function(e){var r=e.getSelection();return e.getCurrentContent().getBlockForKey(r.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,r,o){switch(r){case"bold":return Vn.toggleInlineStyle(e,"BOLD");case"italic":return Vn.toggleInlineStyle(e,"ITALIC");case"underline":return Vn.toggleInlineStyle(e,"UNDERLINE");case"code":return Vn.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return Vn.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return Vn.onDelete(e);default:return null}},insertSoftNewline:function(e){var r=Qi.insertText(e.getCurrentContent(),e.getSelection(),` 24`,e.getCurrentInlineStyle(),null),o=Yn.push(e,r,"insert-characters");return Yn.forceSelection(o,r.getSelectionAfter())},onBackspace:function(e){var r=e.getSelection();if(!r.isCollapsed()||r.getAnchorOffset()||r.getFocusOffset())return null;var o=e.getCurrentContent(),i=r.getStartKey(),s=o.getBlockBefore(i);if(s&&s.getType()==="atomic"){var u=o.getBlockMap().delete(s.getKey()),l=o.merge({blockMap:u,selectionAfter:r});if(l!==o)return Yn.push(e,l,"remove-range")}var d=Vn.tryToRemoveBlockStyle(e);return d?Yn.push(e,d,"change-block-type"):null},onDelete:function(e){var r=e.getSelection();if(!r.isCollapsed())return null;var o=e.getCurrentContent(),i=r.getStartKey(),s=o.getBlockForKey(i),u=s.getLength();if(r.getStartOffset()<u)return null;var l=o.getBlockAfter(i);if(!l||l.getType()!=="atomic")return null;var d=r.merge({focusKey:l.getKey(),focusOffset:l.getLength()}),m=Qi.removeRange(o,d,"forward");return m!==o?Yn.push(e,m,"remove-range"):null},onTab:function(e,r,o){var i=r.getSelection(),s=i.getAnchorKey();if(s!==i.getFocusKey())return r;var u=r.getCurrentContent(),l=u.getBlockForKey(s),d=l.getType();if(d!=="unordered-list-item"&&d!=="ordered-list-item")return r;e.preventDefault();var m=l.getDepth();if(!e.shiftKey&&m===o)return r;var w=bj(u,i,e.shiftKey?-1:1,o);return Yn.push(r,w,"adjust-depth")},toggleBlockType:function(e,r){var o=e.getSelection(),i=o.getStartKey(),s=o.getEndKey(),u=e.getCurrentContent(),l=o;if(i!==s&&o.getEndOffset()===0){var d=Ej(u.getBlockBefore(s));s=d.getKey(),l=l.merge({anchorKey:i,anchorOffset:o.getStartOffset(),focusKey:s,focusOffset:d.getLength(),isBackward:!1})}var m=u.getBlockMap().skipWhile(function(k,y){return y!==i}).reverse().skipWhile(function(k,y){return y!==s}).some(function(k){return k.getType()==="atomic"});if(m)return e;var w=u.getBlockForKey(i).getType()===r?"unstyled":r;return Yn.push(e,Qi.setBlockType(u,l,w),"change-block-type")},toggleCode:function(e){var r=e.getSelection(),o=r.getAnchorKey(),i=r.getFocusKey();return r.isCollapsed()||o!==i?Vn.toggleBlockType(e,"code-block"):Vn.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,r){var o=e.getSelection(),i=e.getCurrentInlineStyle();if(o.isCollapsed())return Yn.setInlineStyleOverride(e,i.has(r)?i.remove(r):i.add(r));var s=e.getCurrentContent(),u;return i.has(r)?u=Qi.removeInlineStyle(s,o,r):u=Qi.applyInlineStyle(s,o,r),Yn.push(e,u,"change-inline-style")},toggleLink:function(e,r,o){var i=Qi.applyEntity(e.getCurrentContent(),r,o);return Yn.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var r=e.getSelection(),o=r.getAnchorOffset();if(r.isCollapsed()&&o===0){var i=r.getAnchorKey(),s=e.getCurrentContent(),u=s.getBlockForKey(i),l=u.getType(),d=s.getBlockBefore(i);if(l==="code-block"&&d&&d.getType()==="code-block"&&d.getLength()!==0)return null;if(l!=="unstyled")return Qi.setBlockType(s,r,"unstyled")}return null}},Qm=Vn,Mj=/\r\n?|\n/g;function Cj(t){return t.split(Mj)}var kj=Cj,Kl=ru,ag=yn,Oj=bm,Vm=Ur,Hl=_j,Zm=Ue,sg=Qm,ug=cp,Dj=Em,cg=qc,lg=kj;function xj(t,e){e.preventDefault();var r=new Oj(e.clipboardData);if(!r.isRichText()){var o=r.getFiles(),i=r.getText();if(o.length>0){if(t.props.handlePastedFiles&&cg(t.props.handlePastedFiles(o)))return;Dj(o,function(ct){if(ct=ct||i,!!ct){var it=t._latestEditorState,H=lg(ct),q=ag.create({style:it.getCurrentInlineStyle(),entity:ug(it.getCurrentContent(),it.getSelection())}),Y=sg.getCurrentBlockType(it),tt=Hl.processText(H,q,Y),lt=Kl.createFromArray(tt),nt=Vm.replaceWithFragment(it.getCurrentContent(),it.getSelection(),lt);t.update(Zm.push(it,nt,"insert-fragment"))}});return}}var s=[],u=r.getText(),l=r.getHTML(),d=t._latestEditorState;if(t.props.formatPastedText){var m=t.props.formatPastedText(u,l),w=m.text,k=m.html;u=w,l=k}if(!(t.props.handlePastedText&&cg(t.props.handlePastedText(u,l,d)))){if(u&&(s=lg(u)),!t.props.stripPastedStyles){var y=t.getClipboard();if(!t.props.formatPastedText&&r.isRichText()&&y){var T;if(((T=l)===null||T===void 0?void 0:T.indexOf(t.getEditorKey()))!==-1||s.length===1&&y.size===1&&y.first().getText()===u){t.update(qu(t._latestEditorState,y));return}}else if(y&&r.types.includes("com.apple.webarchive")&&!r.types.includes("text/html")&&Tj(s,y)){t.update(qu(t._latestEditorState,y));return}if(l){var S=Hl.processHTML(l,t.props.blockRenderMap);if(S){var D=S.contentBlocks,x=S.entityMap;if(D){var B=Kl.createFromArray(D);t.update(qu(t._latestEditorState,B,x));return}}}t.setClipboard(null)}if(s.length){var N=ag.create({style:d.getCurrentInlineStyle(),entity:ug(d.getCurrentContent(),d.getSelection())}),$=sg.getCurrentBlockType(d),K=Hl.processText(s,N,$),V=Kl.createFromArray(K);t.update(qu(t._latestEditorState,V))}}}function qu(t,e,r){var o=Vm.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return Zm.push(t,o.set("entityMap",r),"insert-fragment")}function Tj(t,e){return t.length===e.size&&e.valueSeq().every(function(r,o){return r.getText()===t[o]})}var Ij=xj,Gm=Hr,jj=AD,Lj=PD,Nj=UD,Aj=WD,zj=ox,Rj=ax,Bj=ux,Pj=fx,Fj=Kx,$j=SI,Uj=Ij,Jm=rm,Kj=Gm.isBrowser("Chrome"),Hj=Gm.isBrowser("Firefox"),fg=Kj||Hj?Jm:function(t){},qj={onBeforeInput:jj,onBlur:Lj,onCompositionStart:Nj,onCopy:Aj,onCut:zj,onDragOver:Rj,onDragStart:Bj,onFocus:Pj,onInput:Fj,onKeyDown:$j,onPaste:Uj,onSelect:Jm,onMouseUp:fg,onKeyUp:fg},Yj=qj,Wj=T0,Qj=Wj.unstable_flushControlled,Vj=Qj;function Zj(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var ql=dr,pg=aa,Gj=function(t){Zj(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.shouldComponentUpdate=function(i){return this.props.text!==i.text||this.props.editorState.getSelection().getHasFocus()!==i.editorState.getSelection().getHasFocus()},r.render=function(){var i=this.props.editorState.getSelection().getHasFocus(),s=pg({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/has
24Focus":i}),u={whiteSpace:"pre-wrap"};return ql.createElement("div",{className:s},ql.createElement("div",{className:pg("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:u},this.props.text))},e}(ql.Component),Jj=Gj,Xm=yp,Ms=$c,t_=Hr,pi=t_.isPlatform("Mac OS X"),dg=pi&&t_.isBrowser("Firefox < 29"),ci=Xm.hasCommandModifier,Co=Xm.isCtrlKeyCommand;function e_(t){return pi&&t.altKey||Co(t)}function Xj(t){return ci(t)?t.shiftKey?"redo":"undo":null}function tL(t){return!pi&&t.shiftKey?null:e_(t)?"delete-word":"delete"}function eL(t){return ci(t)&&pi?"backspace-to-start-of-line":e_(t)?"backspace-word":"backspace"}function rL(t){switch(t.keyCode){case 66:return ci(t)?"bold":null;case 68:return Co(t)?"delete":null;case 72:return Co(t)?"backspace":null;case 73:return ci(t)?"italic":null;case 74:return ci(t)?"code":null;case 75:return pi&&Co(t)?"secondary-cut":null;case 77:return Co(t)?"split-block":null;case 79:return Co(t)?"split-block":null;case 84:return pi&&Co(t)?"transpose-characters":null;case 85:return ci(t)?"underline":null;case 87:return pi&&Co(t)?"backspace-word":null;case 89:return Co(t)?pi?"secondary-paste":"redo":null;case 90:return Xj(t)||null;case Ms.RETURN:return"split-block";case Ms.DELETE:return tL(t);case Ms.BACKSPACE:return eL(t);case Ms.LEFT:return dg&&ci(t)?"move-selection-to-start-of-block":null;case Ms.RIGHT:return dg&&ci(t)?"move-selection-to-end-of-block":null;default:return null}}var r_=rL,nL=sa;function If(){return If=nL||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},If.apply(this,arguments)}function Yl(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},o=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),o.forEach(function(i){$t(t,i,r[i])})}return t}function Ht(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $t(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function n_(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var oL=sp,iL=Uv,aL=_k,sL=qO,uL=wD,cL=Yj,hg=Vj,lL=Jj,fL=am,pL=Ue,ai=dr,dL=dp,hL=Uc,gL=Hr,Wl=aa,yL=to,vL=r_,mL=Kc,_L=_i,gg=Oe,yg=cu,SL=Kr,o_=gL.isBrowser("IE"),wL=!o_,vg={edit:cL,composite:aL,drag:uL,cut:null,render:null},mg=!1,bL=function(t){n_(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.render=function(){return null},r.componentDidMount=function(){this._update()},r.componentDidUpdate=function(){this._update()},r._update=function(){var i=this.props.editor;i._latestEditorState=this.props.editorState,i._blockSelectEvents=!0},e}(ai.Component),i_=function(t){n_(e,t);function e(o){var i;return i=t.call(this,o)||this,$t(Ht(i),"_blockSelectEvents",void 0),$t(Ht(i),"_clipboard",void 0),$t(Ht(i),"_handler",void 0),$t(Ht(i),"_dragCount",void 0),$t(Ht(i),"_internalDrag",void 0),$t(Ht(i),"_editorKey",void 0),$t(Ht(i),"_placeholderAccessibilityID",void 0),$t(Ht(i),"_latestEditorState",void 0),$t(Ht(i),"_latestCommittedEditorState",void 0),$t(Ht(i),"_pendingStateFromBeforeInput",void 0),$t(Ht(i),"_onBeforeInput",void 0),$t(Ht(i),"_onBlur",void 0),$t(Ht(i),"_onCharacterData",void 0),$t(Ht(i),"_onCompositionEnd",void 0),$t(Ht(i),"_onCompositionStart",void 0),$t(Ht(i),"_onCopy",void 0),$t(Ht(i),"_onCut",void 0),$t(Ht(i),"_onDragEnd",void 0),$t(Ht(i),"_onDragOver",void 0),$t(Ht(i),"_onDragStart",void 0),$t(Ht(i),"_onDrop",void 0),$t(Ht(i),"_onInput",void 0),$t(Ht(i),"_onFocus",void 0),$t(Ht(i),"_onKeyDown",void 0),$t(Ht(i),"_onKeyPress",void 0),$t(Ht(i),"_onKeyUp",void 0),$t(Ht(i),"_onMouseDown",void 0),$t(Ht(i),"_onMouseUp",void 0),$t(Ht(i),"_onPaste",void 0),$t(Ht(i),"_onSelect",void 0),$t(Ht(i),"editor",void 0),$t(Ht(i),"editorContainer",void 0),$t(Ht(i),"focus",void 0),$t(Ht(i),"blur",void 0),$t(Ht(i),"setMode",void 0),$t(Ht(i),"exitCurrentMode",void 0),$t(Ht(i),"restoreEditorDOM",void 0),$t(Ht(i),"setClipboard",void 0),$t(Ht(i),"getClipboard",void 0),$t(Ht(i),"getEditorKey",void 0),$t(Ht(i),"update",void 0),$t(Ht(i),"onDragEnter",void 0),$t(Ht(i),"onDragLeave",void 0),$t(Ht(i),"_handleEditorContainerRef",function(s){i.editorContainer=s,i.editor=s!==null?s.firstChild:null}),$t(Ht(i),"focus",function(s){var u=i.props.editorState,l=u.getSelection().getHasFocus(),d=i.editor;if(d){var m=hL.getScrollParent(d),w=s||mL(m),k=w.x,y=w.y;
vendor: 14,223 bytes, line 24
24yg(d)||gg(!1),d.focus(),m===window?window.scrollTo(k,y):dL.setTop(m,y),l||i.update(pL.forceSelection(u,u.getSelection()))}}),$t(Ht(i),"blur",function(){var s=i.editor;s&&(yg(s)||gg(!1),s.blur())}),$t(Ht(i),"setMode",function(s){var u=i.props,l=u.onPaste,d=u.onCut,m=u.onCopy,w=Yl({},vg.edit);l&&(w.onPaste=l),d&&(w.onCut=d),m&&(w.onCopy=m);var k=Yl({},vg,{edit:w});i._handler=k[s]}),$t(Ht(i),"exitCurrentMode",function(){i.setMode("edit")}),$t(Ht(i),"restoreEditorDOM",function(s){i.setState({contentsKey:i.state.contentsKey+1},function(){i.focus(s)})}),$t(Ht(i),"setClipboard",function(s){i._clipboard=s}),$t(Ht(i),"getClipboard",function(){return i._clipboard}),$t(Ht(i),"update",function(s){i._latestEditorState=s,i.props.onChange(s)}),$t(Ht(i),"onDragEnter",function(){i._dragCount++}),$t(Ht(i),"onDragLeave",function(){i._dragCount--,i._dragCount===0&&i.exitCurrentMode()}),i._blockSelectEvents=!1,i._clipboard=null,i._handler=null,i._dragCount=0,i._editorKey=o.editorKey||yL(),i._placeholderAccessibilityID="placeholder-"+i._editorKey,i._latestEditorState=o.editorState,i._latestCommittedEditorState=o.editorState,i._onBeforeInput=i._buildHandler("onBeforeInput"),i._onBlur=i._buildHandler("onBlur"),i._onCharacterData=i._buildHandler("onCharacterData"),i._onCompositionEnd=i._buildHandler("onCompositionEnd"),i._onCompositionStart=i._buildHandler("onCompositionStart"),i._onCopy=i._buildHandler("onCopy"),i._onCut=i._buildHandler("onCut"),i._onDragEnd=i._buildHandler("onDragEnd"),i._onDragOver=i._buildHandler("onDragOver"),i._onDragStart=i._buildHandler("onDragStart"),i._onDrop=i._buildHandler("onDrop"),i._onInput=i._buildHandler("onInput"),i._onFocus=i._buildHandler("onFocus"),i._onKeyDown=i._buildHandler("onKeyDown"),i._onKeyPress=i._buildHandler("onKeyPress"),i._onKeyUp=i._buildHandler("onKeyUp"),i._onMouseDown=i._buildHandler("onMouseDown"),i._onMouseUp=i._buildHandler("onMouseUp"),i._onPaste=i._buildHandler("onPaste"),i._onSelect=i._buildHandler("onSelect"),i.getEditorKey=function(){return i._editorKey},i.state={contentsKey:0},i}var r=e.prototype;return r._buildHandler=function(i){var s=this;return function(u){if(!s.props.readOnly){var l=s._handler&&s._handler[i];l&&(hg?hg(function(){return l(s,u)}):l(s,u))}}},r._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},r._renderPlaceholder=function(){if(this._showPlaceholder()){var i={text:SL(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return ai.createElement(lL,i)}return null},r._renderARIADescribedBy=function(){var i=this.props.ariaDescribedBy||"",s=this._showPlaceholder()?this._placeholderAccessibilityID:"";return i.replace("{{editor_id_placeholder}}",s)||void 0},r.render=function(){var i=this.props,s=i.blockRenderMap,u=i.blockRendererFn,l=i.blockStyleFn,d=i.customStyleFn,m=i.customStyleMap,w=i.editorState,k=i.preventScroll,y=i.readOnly,T=i.textAlignment,S=i.textDirectionality,D=Wl({"DraftEditor/root":!0,"DraftEditor/alignLeft":T==="left","DraftEditor/alignRight":T==="right","DraftEditor/alignCenter":T==="center"}),x={outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},B=this.props.role||"textbox",N=B==="combobox"?!!this.props.ariaExpanded:null,$={blockRenderMap:s,blockRendererFn:u,blockStyleFn:l,customStyleMap:Yl({},iL,m),customStyleFn:d,editorKey:this._editorKey,editorState:w,preventScroll:k,textDirectionality:S};return ai.createElement("div",{className:D},this._renderPlaceholder(),ai.createElement("div",{className:Wl("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},ai.createElement("div",{"aria-activedescendant":y?null:this.props.ariaActiveDescendantID,"aria-autocomplete":y?null:this.props.ariaAutoComplete,"aria-controls":y?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":y?null:N,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":y?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:Wl({notranslate:!y,"public/DraftEditor/content":!0}),contentEditable:!y,"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:y?null:B,spellCheck:wL&&this.props.spellCheck,style:x,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},ai.createElement(bL,{editor:this,editorState:w}),ai.createElement(sL,If({},$,{key:"contents"+this.state.contentsKey})))))},r.componentDidMount=function(){this._blockSelectEvents=!1,!mg&&_L("draft_ods_enabled")&&(mg=!0,fL.initODS()),this.setMode("edit"),o_&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):ko.execCommand("AutoUrlDetect",!1,!1))},r.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},e}(ai.Component);$t(i_,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:oL,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:vL,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var EL=i_,ML={},CL={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},a_=CL,kL=a_,OL=la,_g=OL.strlen;function DL(t,e){var r=[];return t.findEntityRanges(function(o){return!!o.getEntity()},function(o,i){var s=t.getText(),u=t.getEntityAt(o);r.push({offset:_g(s.slice(0,o)),length:_g(s.slice(o,i)),key:Number(e[kL.stringify(u)])})}),r}var xL=DL,Sg=la,TL=nu,IL=function(e,r){return e===r},jL=function(e){return!!e},LL=[];function NL(t,e,r){var o=[],i=e.map(function(s){return s.has(r)}).toList();return TL(i,IL,jL,function(s,u){var l=t.getText();o.push({offset:Sg.strlen(l.slice(0,s)),length:Sg.strlen(l.slice(s,u)),style:r})}),o}function AL(t){var e=t.getCharacterList().map(function(o){return o.getStyle()}).toList(),r=e.flatten().toSet().map(function(o){return NL(t,e,o)});return Array.prototype.concat.apply(LL,r.toJS())}var zL=AL;function RL(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},o=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),o.forEach(function(i){BL(t,i,r[i])})}return t}function BL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var PL=ia,FL=vn,s_=a_,$L=xL,UL=zL,KL=Oe,wg=function(e,r){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:UL(e),entityRanges:$L(e,r),data:e.getData().toObject()}},HL=function(e,r,o,i){if(e instanceof PL){o.push(wg(e,r));return}e instanceof FL||KL(!1);var s=e.getParentKey(),u=i[e.getKey()]=RL({},wg(e,r),{children:[]});if(s){i[s].children.push(u);return}o.push(u)},qL=function(e,r){var o=r.entityMap,i=[],s={},u={},l=0;return e.getBlockMap().forEach(function(d){d.findEntityRanges(function(m){return m.getEntity()!==null},function(m){var w=d.getEntityAt(m),k=s_.stringify(w);u[k]||(u[k]=w,o[k]="".concat(l),l++)}),HL(d,o,i,s)}),{blocks:i,entityMap:o}},YL=function(e,r){var o=r.blocks,i=r.entityMap,s={};return Object.keys(i).forEach(function(u,l){var d=e.getEntity(s_.unstringify(u));s[l]={type:d.getType(),mutability:d.getMutability(),data:d.getData()}}),{blocks:o,entityMap:s}},WL=function(e){var r={entityMap:{},blocks:[]};return r=qL(e,r),r=YL(e,r),r},QL=WL;function Ds(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},o=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),o.forEach(function(i){VL(t,i,r[i])})}return t}function VL(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ZL=to,u_=Oe,GL=function(e,r){for(var o=[].concat(e).reverse();o.length;){var i=o.pop();r(i);var s=i.children;Array.isArray(s)||u_(!1),o=o.concat([].concat(s.reverse()))}},bg=function(e){if(!(e&&e.type))return!1;var r=e.type;return r==="unordered-list-item"||r==="ordered-list-item"},JL=function(e){Array.isArray(e.children)&&(e.children=e.children.map(function(r){return r.type===e.type?Ds({},r,{depth:(e.depth||0)+1}):r}))},XL={fromRawTreeStateToRawState:function(e){var r=e.blocks,o=[];return Array.isArray(r)||u_(!1),!Array.isArray(r)||!r.length?e:(GL(r,function(i){var s=Ds({},i);bg(i)&&(s.depth=s.depth||0,JL(i),i.children!=null&&i.children.length>0)||(delete s.children,o.push(s))}),e.blocks=o,Ds({},e,{blocks:o}))},fromRawStateToRawTreeState:function(e){var r=[],o=[];return e.blocks.forEach(function(i){var s=bg(i),u=i.depth||0,l=Ds({},i,{children:[]});if(!s){r.push(l);return}var d=o[0];if(d==null&&u===0)r.push(l);else if(d==null||d.depth<u-1){var m={key:ZL(),text:"",depth:u-1,type:i.type,children:[],entityRanges:[],inlineStyleRanges:[]};o.unshift(m),u===1?r.push(m):d!=null&&d.children.push(m),m.children.push(l)}else if(d.depth===u-1)d.children.push(l);else{for(;d!=null&&d.depth>=u;)o.shift(),d=o[0];u>0?d.children.push(l):r.push(l)}}),Ds({},e,{blocks:r})}},tN=XL,eN=yn,rN=Ce,nN=rN.List;function oN(t,e){var r=t.map(function(o,i){var s=e[i];return eN.create({style:o,entity:s})});return nN(r)}var iN=oN,aN=la,Eg=aN.substr;function sN(t,e){var r=Array(t.length).fill(null);return e&&e.forEach(function(o){for(var i=Eg(t,0,o.offset).length,s=i+Eg(t,o.offset,o.length).length,u=i;u<s;u++)r[u]=o.key}),r}var uN=sN,cN=la,lN=Ce,fN=lN.OrderedSet,Mg=cN.substr,pN=fN();function dN(t,e){var r=Array(t.length).fill(pN);return e&&e.forEach(function(o){for(var i=Mg(t,0,o.offset).length,s=i+Mg(t,o.offset,o.length).length;i<s;)r[i]=r[i].add(o.style),i++}),r}var hN=dN;function Ks(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},o=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),o.forEach(function(i){gN(t,i,r[i])})}return t}function gN(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var yN=ia,Cg=vn,vN=rp,mN=Nc,kg=tN,Og=Ac,_N=iN,SN=uN,wN=hN,c_=to,bN=_i,_p=Ce,jf=Oe,Dg=bN("draft_tree_data_support"),xg=_p.List,EN=_p.Map,l_=_p.OrderedMap,Lf=function(e,r){var o=e.key,i=e.type,s=e.data,u=e.text,l=e.depth,d={text:u,depth:l||0,type:i||"unstyled",key:o||c_(),data:EN(s),characterList:MN(e,r)};return d},MN=function(e,r){var o=e.text,i=e.entityRanges,s=e.inlineStyleRanges,u=i||[],l=s||[];return _N(wN(o,l),SN(o,u.filter(function(d){return r.hasOwnProperty(d.key)}).map(function(d){return Ks({},d,{key:r[d.key]})})))},Ql=function(e){return Ks({},e,{key:e.key||c_()})},Tg=function(e,r,o){var i=r.map(function(s){return Ks({},s,{parentRef:o})});return e.concat(i.reverse())},CN=function(e,r){return e.map(Ql).reduce(function(o,i,s){Array.isArray(i.children)||jf(!1);var u=i.children.map(Ql),l=new Cg(Ks({},Lf(i,r),{prevSibling:s===0?null:e[s-1].key,nextSibling:s===e.length-1?null:e[s+1].key,children:xg(u.map(function(x){return x.key}))}));o=o.set(l.getKey(),l);for(var d=Tg([],u,l);d.length>0;){var m=d.pop(),w=m.parentRef,k=w.getChildKeys(),y=k.indexOf(m.key),T=Array.isArray(m.children);if(!T){T||jf(!1);break}var S=m.children.map(Ql),D=new Cg(Ks({},Lf(m,r),{parent:w.getKey(),children:xg(S.map(function(x){return x.key})),prevSibling:y===0?null:k.get(y-1),nextSibling:y===k.size-1?null:k.get(y+1)}));o=o.set(D.getKey(),D),d=Tg(d,S,D)}return o},l_())},kN=function(e,r){return l_(e.map(function(o){var i=new yN(Lf(o,r));return[i.getKey(),i]}))},ON=function(e,r){var o=e.blocks.find(function(u){return Array.isArray(u.children)&&u.children.length>0}),i=Dg&&!o?kg.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!Dg)return kN(o?kg.fromRawTreeStateToRawState(e).blocks:i,r);var s=CN(i,r);return s},DN=function(e){var r=e.entityMap,o={};return Object.keys(r).forEach(function(i){var s=r[i],u=s.type,l=s.mutability,d=s.data;o[i]=mN.__create(u,l,d||{})}),o},xN=function(e){Array.isArray(e.blocks)||jf(!1);var r=DN(e),o=ON(e,r),i=o.isEmpty()?new Og:Og.createEmpty(o.first().getKey());return new vN({blockMap:o,entityMap:r,selectionBefore:i,selectionAfter:i})},TN=xN,IN=Lm;function jN(t){var e=IN(t),r=0,o=0,i=0,s=0;if(e.length){if(e.length>1&&e[0].width===0){var u=e[1];r=u.top,o=u.right,i=u.bottom,s=u.left}else{var l=e[0];r=l.top,o=l.right,i=l.bottom,s=l.left}for(var d=1;d<e.length;d++){var m=e[d];m.height!==0&&m.width!==0&&(r=Math.min(r,m.top),o=Math.max(o,m.right),i=Math.max(i,m.bottom),s=Math.min(s,m.left))}}return{top:r,right:o,bottom:i,left:s,width:o-s,height:i-r}}var LN=jN,NN=LN;function AN(t){var e=t.getSelection();if(!e.rangeCount)return null;var r=e.getRangeAt(0),o=NN(r),i=o.top,s=o.right,u=o.bottom,l=o.left;return i===0&&s===0&&u===0&&l===0?null:o}var zN=AN,RN=IM,BN=ru,PN=yn,FN=BM,$N=ia,UN=rp,KN=sp,HN=Uv,qN=EL,YN=Sm,WN=Nc,QN=Ur,VN=kv,ZN=Ue,GN=yp,JN=ML,XN=Qm,t1=Ac,e1=QL,r1=TN,n1=to,o1=r_,i1=zN,a1=qm,s1={Editor:qN,EditorBlock:YN,EditorState:ZN,CompositeDecorator:FN,Entity:WN,EntityInstance:VN,BlockMapBuilder:BN,CharacterMetadata:PN,ContentBlock:$N,ContentState:UN,RawDraftContentState:JN,SelectionState:t1,AtomicBlockUtils:RN,KeyBindingUtil:GN,Modifier:QN,RichUtils:XN,DefaultDraftBlockRenderMap:KN,DefaultDraftInlineStyle:HN,convertFromHTML:a1,convertFromRaw:r1,convertToRaw:e1,genKey:n1,getDefaultKeyBinding:o1,getVisibleSelectionRect:i1}
24,rr=s1,f_={exports:{}},fu="delete",He=5,dn=1<<He,jr=dn-1,me={};function Nf(){return{value:!1}}function hn(t){t&&(t.value=!0)}function Sp(){}function Ua(t){return t.size===void 0&&(t.size=t.__iterate(p_)),t.size}function yi(t,e){if(typeof e!="number"){var r=e>>>0;if(""+r!==e||r===4294967295)return NaN;e=r}return e<0?Ua(t)+e:e}function p_(){return!0}function pu(t,e,r){return(t===0&&!h_(t)||r!==void 0&&t<=-r)&&(e===void 0||r!==void 0&&e>=r)}function Va(t,e){return d_(t,e,0)}function du(t,e){return d_(t,e,e)}function d_(t,e,r){return t===void 0?r:h_(t)?e===1/0?e:Math.max(0,e+t)|0:e===void 0||e===t?t:Math.min(e,t)|0}function h_(t){return t<0||t===0&&1/t===-1/0}var g_="@@__IMMUTABLE_ITERABLE__@@";function br(t){return!!(t&&t[g_])}var y_="@@__IMMUTABLE_KEYED__@@";function Ae(t){return!!(t&&t[y_])}var v_="@@__IMMUTABLE_INDEXED__@@";function hr(t){return!!(t&&t[v_])}function Za(t){return Ae(t)||hr(t)}var Ye=function(e){return br(e)?e:Er(e)},mn=function(t){function e(r){return Ae(r)?r:wi(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Ye),fa=function(t){function e(r){return hr(r)?r:_n(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Ye),Ga=function(t){function e(r){return br(r)&&!Za(r)?r:ts(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Ye);Ye.Keyed=mn;Ye.Indexed=fa;Ye.Set=Ga;var m_="@@__IMMUTABLE_SEQ__@@";function hu(t){return!!(t&&t[m_])}var __="@@__IMMUTABLE_RECORD__@@";function Si(t){return!!(t&&t[__])}function un(t){return br(t)||Si(t)}var Ja="@@__IMMUTABLE_ORDERED__@@";function sn(t){return!!(t&&t[Ja])}var gu=0,xn=1,gn=2,Af=typeof Symbol=="function"&&Symbol.iterator,S_="@@iterator",Yc=Af||S_,Me=function(e){this.next=e};Me.prototype.toString=function(){return"[Iterator]"};Me.KEYS=gu;Me.VALUES=xn;Me.ENTRIES=gn;Me.prototype.inspect=Me.prototype.toSource=function(){return this.toString()};Me.prototype[Yc]=function(){return this};function We(t,e,r,o){var i=t===0?e:t===1?r:[e,r];return o?o.value=i:o={value:i,done:!1},o}function Lr(){return{value:void 0,done:!0}}function wp(t){return Array.isArray(t)?!0:!!Wc(t)}function Ig(t){return t&&typeof t.next=="function"}function zf(t){var e=Wc(t);return e&&e.call(t)}function Wc(t){var e=t&&(Af&&t[Af]||t[S_]);if(typeof e=="function")return e}function u1(t){var e=Wc(t);return e&&e===t.entries}function c1(t){var e=Wc(t);return e&&e===t.keys}var Xa=Object.prototype.hasOwnProperty;function bp(t){return Array.isArray(t)||typeof t=="string"?!0:t&&typeof t=="object"&&Number.isInteger(t.length)&&t.length>=0&&(t.length===0?Object.keys(t).length===1:t.hasOwnProperty(t.length-1))}var Er=function(t){function e(r){return r==null?Mp():un(r)?r.toSeq():f1(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq {","}")},e.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},e.prototype.__iterate=function(o,i){var s=this._cache;if(s){for(var u=s.length,l=0;l!==u;){var d=s[i?u-++l:l++];if(o(d[1],d[0],this)===!1)break}return l}return this.__iterateUncached(o,i)},e.prototype.__iterator=function(o,i){var s=this._cache;if(s){var u=s.length,l=0;return new Me(function(){if(l===u)return Lr();var d=s[i?u-++l:l++];return We(o,d[0],d[1])})}return this.__iteratorUncached(o,i)},e}(Ye),wi=function(t){function e(r){return r==null?Mp().toKeyedSeq():br(r)?Ae(r)?r.toSeq():r.fromEntrySeq():Si(r)?r.toSeq():Cp(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toKeyedSeq=function(){return this},e}(Er),_n=function(t){function e(r){return r==null?Mp():br(r)?Ae(r)?r.entrySeq():r.toIndexedSeq():Si(r)?r.toSeq().entrySeq():w_(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toIndexedSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq [","]")},e}(Er),ts=function(t){function e(r){return(br(r)&&!Za(r)?r:_n(r)).toSetSeq()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toSetSeq=function(){return this},e}(Er);Er.isSeq=hu;Er.Keyed=wi;Er.Set=ts;Er.Indexed=_n;Er.prototype[m_]=!0;var na=function(t){function e(r){this._array=r,this.size=r.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(o,i){return this.has(o)?this._array[yi(this,o)]:i},e.prototype.__iterate=function(o,i){for(var s=this._array,u=s.length,l=0;l!==u;){var d=i?u-++l:l++;if(o(s[d],d,this)===!1)break}return l},e.prototype.__iterator=function(o,i){var s=this._array,u=s.length,l=0;return new Me(function(){if(l===u)return Lr();var d=i?u-++l:l++;return We(o,d,s[d])})},e}(_n),Ep=function(t){function e(r){var o=Object.keys(r).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r):[]);this._object=r,this._keys=o,this.size=o.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(o,i){return i!==void 0&&!this.has(o)?i:this._object[o]},e.prototype.has=function(o){return Xa.call(this._object,o)},e.prototype.__iterate=function(o,i){for(var s=this._object,u=this._keys,l=u.length,d=0;d!==l;){var m=u[i?l-++d:d++];if(o(s[m],m,this)===!1)break}return d},e.prototype.__iterator=function(o,i){var s=this._object,u=this._keys,l=u.length,d=0;return new Me(function(){if(d===l)return Lr();var m=u[i?l-++d:d++];return We(o,m,s[m])})},e}(wi);Ep.prototype[Ja]=!0;var l1=function(t){function e(r){this._collection=r,this.size=r.length||r.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__iterateUncached=function(o,i){if(i)return this.cacheResult().__iterate(o,i);var s=this._collection,u=zf(s),l=0;if(Ig(u))for(var d;!(d=u.next()).done&&o(d.value,l++,this)!==!1;);return l},e.prototype.__iteratorUncached=function(o,i){if(i)return this.cacheResult().__iterator(o,i);var s=this._collection,u=zf(s);if(!Ig(u))return new Me(Lr);var l=0;return new Me(function(){var d=u.next();return d.done?d:We(o,l++,d.value)})},e}(_n),jg;function Mp(){return jg||(jg=new na([]))}function Cp(t){var e=kp(t);if(e)return e.fromEntrySeq();if(typeof t=="object")return new Ep(t);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+t)}function w_(t){var e=kp(t);if(e)return e;throw new TypeError("Expected Array or collection object of values: "+t)}function f1(t){var e=kp(t);if(e)return u1(t)?e.fromEntrySeq():c1(t)?e.toSetSeq():e;if(typeof t=="object")return new Ep(t);throw new TypeError("Expected Array or collection object of values, or keyed object: "+t)}function kp(t){return bp(t)?new na(t):wp(t)?new l1(t):void 0}
24var b_="@@__IMMUTABLE_MAP__@@";function yu(t){return!!(t&&t[b_])}function Qc(t){return yu(t)&&sn(t)}function Sc(t){return!!(t&&typeof t.equals=="function"&&typeof t.hashCode=="function")}function sr(t,e){if(t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1;if(typeof t.valueOf=="function"&&typeof e.valueOf=="function"){if(t=t.valueOf(),e=e.valueOf(),t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!!(Sc(t)&&Sc(e)&&t.equals(e))}var Cs=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(e,r){e|=0,r|=0;var o=e&65535,i=r&65535;return o*i+((e>>>16)*i+o*(r>>>16)<<16>>>0)|0};function Vc(t){return t>>>1&1073741824|t&3221225471}var p1=Object.prototype.valueOf;function wr(t){if(t==null)return Lg(t);if(typeof t.hashCode=="function")return Vc(t.hashCode(t));var e=_1(t);if(e==null)return Lg(e);switch(typeof e){case"boolean":return e?1108378657:1108378656;case"number":return d1(e);case"string":return e.length>S1?h1(e):Rf(e);case"object":case"function":return v1(e);case"symbol":return y1(e);default:if(typeof e.toString=="function")return Rf(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function Lg(t){return t===null?1108378658:1108378659}function d1(t){if(t!==t||t===1/0)return 0;var e=t|0;for(e!==t&&(e^=t*4294967295);t>4294967295;)t/=4294967295,e^=t;return Vc(e)}function h1(t){var e=Gl[t];return e===void 0&&(e=Rf(t),Zl===w1&&(Zl=0,Gl={}),Zl++,Gl[t]=e),e}function Rf(t){for(var e=0,r=0;r<t.length;r++)e=31*e+t.charCodeAt(r)|0;return Vc(e)}var g1=(Math.random()*1048576|1)%1048576||40503;function Op(t){if(typeof t!="string")return wr(t);for(var e=0,r=0;r<t.length;r++)e=g1*e+t.charCodeAt(r)|0;return e}function y1(t){var e=zg[t];return e!==void 0||(e=E_(),zg[t]=e),e}function v1(t){var e;if(Bf&&(e=Pf.get(t),e!==void 0)||(e=t[Zi],e!==void 0)||!Ag&&(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Zi],e!==void 0||(e=m1(t),e!==void 0)))return e;if(e=E_(),Bf)Pf.set(t,e);else{if(Ng!==void 0&&Ng(t)===!1)throw new Error("Non-extensible objects are not allowed as keys.");
24if(Ag)Object.defineProperty(t,Zi,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(t.propertyIsEnumerable!==void 0&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Zi]=e;else if(t.nodeType!==void 0)t[Zi]=e;else throw new Error("Unable to set a non-enumerable property on object.")}return e}var Ng=Object.isExtensible,Ag=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();function m1(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function _1(t){return t.valueOf!==p1&&typeof t.valueOf=="function"?t.valueOf(t):t}function E_(){var t=++Vl;return Vl&1073741824&&(Vl=0),t}var Bf=typeof WeakMap=="function",Pf;Bf&&(Pf=new WeakMap);var zg=Object.create(null),Vl=0,Zi="__immutablehash__";typeof Symbol=="function"&&(Zi=Symbol(Zi));var S1=16,w1=255,Zl=0,Gl={},Zc=function(t){function e(r,o){this._iter=r,this._useKeys=o,this.size=r.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(o,i){return this._iter.get(o,i)},e.prototype.has=function(o){return this._iter.has(o)},e.prototype.valueSeq=function(){return this._iter.valueSeq()},e.prototype.reverse=function(){var o=this,i=Dp(this,!0);return this._useKeys||(i.valueSeq=function(){return o._iter.toSeq().reverse()}),i},e.prototype.map=function(o,i){var s=this,u=D_(this,o,i);return this._useKeys||(u.valueSeq=function(){return s._iter.toSeq().map(o,i)}),u},e.prototype.__iterate=function(o,i){var s=this;return this._iter.__iterate(function(u,l){return o(u,l,s)},i)},e.prototype.__iterator=function(o,i){return this._iter.__iterator(o,i)},e}(wi);Zc.prototype[Ja]=!0;var M_=function(t){function e(r){this._iter=r,this.size=r.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.includes=function(o){return this._iter.includes(o)},e.prototype.__iterate=function(o,i){var s=this,u=0;return i&&Ua(this),this._iter.__iterate(function(l){return o(l,i?s.size-++u:u++,s)},i)},e.prototype.__iterator=function(o,i){var s=this,u=this._iter.__iterator(xn,i),l=0;return i&&Ua(this),new Me(function(){var d=u.next();return d.done?d:We(o,i?s.size-++l:l++,d.value,d)})},e}(_n),C_=function(t){function e(r){this._iter=r,this.size=r.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.has=function(o){return this._iter.includes(o)},e.prototype.__iterate=function(o,i){var s=this;return this._iter.__iterate(function(u){return o(u,u,s)},i)},e.prototype.__iterator=function(o,i){var s=this._iter.__iterator(xn,i);return new Me(function(){var u=s.next();return u.done?u:We(o,u.value,u.value,u)})},e}(ts),k_=function(t){function e(r){this._iter=r,this.size=r.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.entrySeq=function(){return this._iter.toSeq()},e.prototype.__iterate=function(o,i){var s=this;return this._iter.__iterate(function(u){if(u){Bg(u);var l=br(u);return o(l?u.get(1):u[1],l?u.get(0):u[0],s)}},i)},e.prototype.__iterator=function(o,i){var s=this._iter.__iterator(xn,i);return new Me(function(){for(;;){var u=s.next();if(u.done)return u;var l=u.value;if(l){Bg(l);var d=br(l);return We(o,d?l.get(0):l[0],d?l.get(1):l[1],u)}}})},e}(wi);M_.prototype.cacheResult=Zc.prototype.cacheResult=C_.prototype.cacheResult=k_.prototype.cacheResult=Ip;function O_(t){var e=eo(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var r=t.reverse.apply(this);return r.flip=function(){return t.reverse()},r},e.has=function(r){return t.includes(r)},e.includes=function(r){return t.has(r)},e.cacheResult=Ip,e.__iterateUncached=function(r,o){var i=this;return t.__iterate(function(s,u){return r(u,s,i)!==!1}
vendor: 5,679 bytes, line 24
24,o)},e.__iteratorUncached=function(r,o){if(r===gn){var i=t.__iterator(r,o);return new Me(function(){var s=i.next();if(!s.done){var u=s.value[0];s.value[0]=s.value[1],s.value[1]=u}return s})}return t.__iterator(r===xn?gu:xn,o)},e}function D_(t,e,r){var o=eo(t);return o.size=t.size,o.has=function(i){return t.has(i)},o.get=function(i,s){var u=t.get(i,me);return u===me?s:e.call(r,u,i,t)},o.__iterateUncached=function(i,s){var u=this;return t.__iterate(function(l,d,m){return i(e.call(r,l,d,m),d,u)!==!1},s)},o.__iteratorUncached=function(i,s){var u=t.__iterator(gn,s);return new Me(function(){var l=u.next();if(l.done)return l;var d=l.value,m=d[0];return We(i,m,e.call(r,d[1],m,t),l)})},o}function Dp(t,e){var r=this,o=eo(t);return o._iter=t,o.size=t.size,o.reverse=function(){return t},t.flip&&(o.flip=function(){var i=O_(t);return i.reverse=function(){return t.flip()},i}),o.get=function(i,s){return t.get(e?i:-1-i,s)},o.has=function(i){return t.has(e?i:-1-i)},o.includes=function(i){return t.includes(i)},o.cacheResult=Ip,o.__iterate=function(i,s){var u=this,l=0;return s&&Ua(t),t.__iterate(function(d,m){return i(d,e?m:s?u.size-++l:l++,u)},!s)},o.__iterator=function(i,s){var u=0;s&&Ua(t);var l=t.__iterator(gn,!s);return new Me(function(){var d=l.next();if(d.done)return d;var m=d.value;return We(i,e?m[0]:s?r.size-++u:u++,m[1],d)})},o}function x_(t,e,r,o){var i=eo(t);return o&&(i.has=function(s){var u=t.get(s,me);return u!==me&&!!e.call(r,u,s,t)},i.get=function(s,u){var l=t.get(s,me);return l!==me&&e.call(r,l,s,t)?l:u}),i.__iterateUncached=function(s,u){var l=this,d=0;return t.__iterate(function(m,w,k){if(e.call(r,m,w,k))return d++,s(m,o?w:d-1,l)},u),d},i.__iteratorUncached=function(s,u){var l=t.__iterator(gn,u),d=0;return new Me(function(){for(;;){var m=l.next();if(m.done)return m;var w=m.value,k=w[0],y=w[1];if(e.call(r,y,k,t))return We(s,o?k:d++,y,m)}})},i}function b1(t,e,r){var o=Ei().asMutable();return t.__iterate(function(i,s){o.update(e.call(r,i,s,t),0,function(u){return u+1})}),o.asImmutable()}function E1(t,e,r){var o=Ae(t),i=(sn(t)?Tn():Ei()).asMutable();t.__iterate(function(u,l){i.update(e.call(r,u,l,t),function(d){return d=d||[],d.push(o?[l,u]:u),d})});var s=Tp(t);return i.map(function(u){return Ne(t,s(u))}).asImmutable()}function M1(t,e,r){var o=Ae(t),i=[[],[]];t.__iterate(function(u,l){i[e.call(r,u,l,t)?1:0].push(o?[l,u]:u)});var s=Tp(t);return i.map(function(u){return Ne(t,s(u))})}function xp(t,e,r,o){var i=t.size;if(pu(e,r,i))return t;if(typeof i>"u"&&(e<0||r<0))return xp(t.toSeq().cacheResult(),e,r,o);var s=Va(e,i),u=du(r,i),l=u-s,d;l===l&&(d=l<0?0:l);var m=eo(t);return m.size=d===0?d:t.size&&d||void 0,!o&&hu(t)&&d>=0&&(m.get=function(w,k){return w=yi(this,w),w>=0&&w<d?t.get(w+s,k):k}),m.__iterateUncached=function(w,k){var y=this;if(d===0)return 0;if(k)return this.cacheResult().__iterate(w,k);var T=0,S=!0,D=0;return t.__iterate(function(x,B){if(!(S&&(S=T++<s)))return D++,w(x,o?B:D-1,y)!==!1&&D!==d}),D},m.__iteratorUncached=function(w,k){if(d!==0&&k)return this.cacheResult().__iterator(w,k);if(d===0)return new Me(Lr);var y=t.__iterator(w,k),T=0,S=0;return new Me(function(){for(;T++<s;)y.next();if(++S>d)return Lr();var D=y.next();return o||w===xn||D.done?D:w===gu?We(w,S-1,void 0,D):We(w,S-1,D.value[1],D)})},m}function C1(t,e,r){var o=eo(t);return o.__iterateUncached=function(i,s){var u=this;if(s)return this.cacheResult().__iterate(i,s);var l=0;return t.__iterate(function(d,m,w){return e.call(r,d,m,w)&&++l&&i(d,m,u)}),l},o.__iteratorUncached=function(i,s){var u=this;if(s)return this.cacheResult().__iterator(i,s);var l=t.__iterator(gn,s),d=!0;return new Me(function(){if(!d)return Lr();var m=l.next();if(m.done)return m;var w=m.value,k=w[0],y=w[1];return e.call(r,y,k,u)?i===gn?m:We(i,k,y,m):(d=!1,Lr())})},o}function T_(t,e,r,o){var i=eo(t);return i.__iterateUncached=function(s,u){var l=this;if(u)return this.cacheResult().__iterate(s,u);var d=!0,m=0;return t.__iterate(function(w,k,y){if(!(d&&(d=e.call(r,w,k,y))))return m++,s(w,o?k:m-1,l)}),m},i.__iteratorUncached=function(s,u){var l=this;if(u)return this.cacheResult().__iterator(s,u);var d=t.__iterator(gn,u),m=!0,w=0;return new Me(function(){var k,y,T;do{if(k=d.next(),k.done)return o||s===xn?k:s===gu?We(s,w++,void 0,k):We(s,w++,k.value[1],k);var S=k.value;y=S[0],T=S[1],m&&(m=e.call(r,T,y,l))}while(m);return s===gn?k:We(s,y,T,k)})},i}function k1(t,e){var r=Ae(t),o=[t].concat(e).map(function(u){return br(u)?r&&(u=mn(u)):u=r?Cp(u):w_(Array.isArray(u)?u:[u]),u}).filter(function(u){return u.size!==0});if(o.length===0)return t;if(o.length===1){var i=o[0];if(i===t||r&&Ae(i)||hr(t)&&hr(i))return i}var s=new na(o);return r?s=s.toKeyedSeq():hr(t)||(s=s.toSetSeq()),s=s.flatten(!0),s.size=o.reduce(function(u,l){if(u!==void 0){var d=l.size;if(d!==void 0)return u+d}},0),s}function I_(t,e,r){var o=eo(t);return o.__iterateUncached=function(i,s){if(s)return this.cacheResult().__iterate(i,s);var u=0,l=!1;function d(m,w){m.__iterate(function(k,y){return(!e||w<e)&&br(k)?d(k,w+1):(u++,i(k,r?y:u-1,o)===!1&&(l=!0)),!l},s)}return d(t,0),u},o.__iteratorUncached=function(i,s){if(s)return this.cacheResult().__iterator(i,s);var u=t.__iterator(i,s),l=[],d=0;return new Me(function(){for(;u;){var m=u.next();if(m.done!==!1){u=l.pop();continue}var w=m.value;if(i===gn&&(w=w[1]),(!e||l.length<e)&&br(w))l.push(u),u=w.__iterator(i,s);else return r?m:We(i,d++,w,m)}return Lr()})},o}function O1(t,e,r){var o=Tp(t);return t.toSeq().map(function(i,s){return o(e.call(r,i,s,t))}).flatten(!0)}function D1(t,e){var r=eo(t);return r.size=t.size&&t.size*2-1,r.__iterateUncached=function(o,i){var s=this,u=0;return t.__iterate(function(l){return(!u||o(e,u++,s)!==!1)&&o(l,u++,s)!==!1}
24,i),u},r.__iteratorUncached=function(o,i){var s=t.__iterator(xn,i),u=0,l;return new Me(function(){return(!l||u%2)&&(l=s.next(),l.done)?l:u%2?We(o,u++,e):We(o,u++,l.value,l)})},r}function Ka(t,e,r){e||(e=j_);var o=Ae(t),i=0,s=t.toSeq().map(function(u,l){return[l,u,i++,r?r(u,l,t):u]}).valueSeq().toArray();return s.sort(function(u,l){return e(u[3],l[3])||u[2]-l[2]}).forEach(o?function(u,l){s[l].length=2}:function(u,l){s[l]=u[1]}),o?wi(s):hr(t)?_n(s):ts(s)}function Yu(t,e,r){if(e||(e=j_),r){var o=t.toSeq().map(function(i,s){return[i,r(i,s,t)]}).reduce(function(i,s){return Rg(e,i[1],s[1])?s:i});return o&&o[0]}return t.reduce(function(i,s){return Rg(e,i,s)?s:i})}function Rg(t,e,r){var o=t(r,e);return o===0&&r!==e&&(r==null||r!==r)||o>0}function Wu(t,e,r,o){var i=eo(t),s=new na(r).map(function(u){return u.size});return i.size=o?s.max():s.min(),i.__iterate=function(u,l){for(var d=this.__iterator(xn,l),m,w=0;!(m=d.next()).done&&u(m.value,w++,this)!==!1;);return w},i.__iteratorUncached=function(u,l){var d=r.map(function(k){return k=Ye(k),zf(l?k.reverse():k)}),m=0,w=!1;return new Me(function(){var k;return w||(k=d.map(function(y){return y.next()}),w=o?k.every(function(y){return y.done}):k.some(function(y){return y.done})),w?Lr():We(u,m++,e.apply(null,k.map(function(y){return y.value})))})},i}function Ne(t,e){return t===e?t:hu(t)?e:t.constructor(e)}function Bg(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Tp(t){return Ae(t)?mn:hr(t)?fa:Ga}function eo(t){return Object.create((Ae(t)?wi:hr(t)?_n:ts).prototype)}function Ip(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Er.prototype.cacheResult.call(this)}function j_(t,e){return t===void 0&&e===void 0?0:t===void 0?1:e===void 0?-1:t>e?1:t<e?-1:0}function Xn(t,e){e=e||0;for(var r=Math.max(0,t.length-e),o=new Array(r),i=0;i<r;i++)o[i]=t[i+e];return o}function jp(t,e){if(!t)throw new Error(e)}function an(t){jp(t!==1/0,"Cannot perform this action with an infinite size.")}function L_(t){if(bp(t)&&typeof t!="string")return t;if(sn(t))return t.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+t)}var x1=Object.prototype.toString;function Gc(t){if(!t||typeof t!="object"||x1.call(t)!=="[object Object]")return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e,o=Object.getPrototypeOf(e);o!==null;)r=o,o=Object.getPrototypeOf(r);return r===e}function vi(t){return typeof t=="object"&&(un(t)||Array.isArray(t)||Gc(t))}function Hs(t){try{return typeof t=="string"?JSON.stringify(t):String(t)}catch{return JSON.stringify(t)}}function Lp(t,e){return un(t)?t.has(e):vi(t)&&Xa.call(t,e)}function Jc(t,e,r){return un(t)?t.get(e,r):Lp(t,e)?typeof t.get=="function"?t.get(e):t[e]:r}function vu(t){return typeof t=="string"&&(t==="__proto__"||t==="constructor")}function wc(t){if(Array.isArray(t))return Xn(t);var e={};for(var r in t)vu(r)||Xa.call(t,r)&&(e[r]=t[r]);return e}function Np(t,e){if(!vi(t))throw new TypeError("Cannot update non-data-structure value: "+t);if(un(t)){if(!t.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+t);return t.remove(e)}if(!Xa.call(t,e))return t;var r=wc(t);return Array.isArray(r)?r.splice(e,1):delete r[e],r}function Ap(t,e,r){if(vu(e))return t;if(!vi(t))throw new TypeError("Cannot update non-data-structure value: "+t);if(un(t)){if(!t.set)throw new TypeError("Cannot update immutable value without .set() method: "+t);return t.set(e,r)}if(Xa.call(t,e)&&r===t[e])return t;var o=wc(t);return o[e]=r,o}function bi(t,e,r,o){o||(o=r,r=void 0);var i=N_(un(t),t,L_(e),0,r,o);return i===me?r:i}function N_(t,e,r,o,i,s){var u=e===me;if(o===r.length){var l=u?i:e,d=s(l);return d===l?e:d}if(!u&&!vi(e))throw new TypeError("Cannot update within non-data-structure value in path ["+r.slice(0,o).map(Hs)+"]: "+e);var m=r[o],w=u?me:Jc(e,m,me),k=N_(w===me?t:un(w),w,r,o+1,i,s);return k===w?e:k===me?Np(e,m):Ap(u?t?Dn():{}:e,m,k)}function zp(t,e,r){return bi(t,e,me,function(){return r})}function Rp(t,e){return zp(this,t,e)}function Bp(t,e){return bi(t,e,function(){return me})}function Pp(t){return Bp(this,t)}function Xc(t,e,r,o){return bi(t,[e],r,o)}function Fp(t,e,r){return arguments.length===1?t(this):Xc(this,t,e,r)}function $p(t,e,r){return bi(this,t,e,r)}
24function A_(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return R_(this,t)}function z_(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];if(typeof t!="function")throw new TypeError("Invalid merger function: "+t);return R_(this,e,t)}function R_(t,e,r){for(var o=[],i=0;i<e.length;i++){var s=mn(e[i]);s.size!==0&&o.push(s)}return o.length===0?t:t.toSeq().size===0&&!t.__ownerID&&o.length===1?t.constructor(o[0]):t.withMutations(function(u){for(var l=r?function(m,w){Xc(u,w,me,function(k){return k===me?m:r(k,m,w)})}:function(m,w){u.set(w,m)},d=0;d<o.length;d++)o[d].forEach(l)})}function B_(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];return _u(t,e)}function P_(t,e){for(var r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];return _u(e,r,t)}function F_(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];return mu(t,e)}function $_(t,e){for(var r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];return mu(e,r,t)}function mu(t,e,r){return _u(t,e,T1(r))}function _u(t,e,r){if(!vi(t))throw new TypeError("Cannot merge into non-data-structure value: "+t);if(un(t))return typeof r=="function"&&t.mergeWith?t.mergeWith.apply(t,[r].concat(e)):t.merge?t.merge.apply(t,e):t.concat.apply(t,e);for(var o=Array.isArray(t),i=t,s=o?fa:mn,u=o?function(d){i===t&&(i=wc(i)),i.push(d)}:function(d,m){if(!vu(m)){var w=Xa.call(i,m),k=w&&r?r(i[m],d,m):d;(!w||k!==i[m])&&(i===t&&(i=wc(i)),i[m]=k)}},l=0;l<e.length;
24l++)s(e[l]).forEach(u);return i}function T1(t){function e(r,o,i){return vi(r)&&vi(o)&&I1(r,o)?_u(r,[o],e):t?t(r,o,i):o}return e}function I1(t,e){var r=Er(t),o=Er(e);return hr(r)===hr(o)&&Ae(r)===Ae(o)}function U_(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return mu(this,t)}function K_(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];return mu(this,e,t)}function Up(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];return bi(this,t,Dn(),function(o){return _u(o,e)})}function Kp(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];return bi(this,t,Dn(),function(o){return mu(o,e)})}function Su(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this}function wu(){return this.__ownerID?this:this.__ensureOwner(new Sp)}function bu(){return this.__ensureOwner()}function Hp(){return this.__altered}var Ei=function(t){function e(r){return r==null?Dn():yu(r)&&!sn(r)?r:Dn().withMutations(function(o){var i=t(r);an(i.size),i.forEach(function(s,u){return o.set(u,s)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){for(var o=[],i=arguments.length;i--;)o[i]=arguments[i];return Dn().withMutations(function(s){for(var u=0;u<o.length;u+=2){if(u+1>=o.length)throw new Error("Missing value for key: "+o[u]);s.set(o[u],o[u+1])}})},e.prototype.toString=function(){return this.__toString("Map {","}")},e.prototype.get=function(o,i){return this._root?this._root.get(0,void 0,o,i):i},e.prototype.set=function(o,i){return $g(this,o,i)},e.prototype.remove=function(o){return $g(this,o,me)},e.prototype.deleteAll=function(o){var i=Ye(o);return i.size===0?this:this.withMutations(function(s){i.forEach(function(u){return s.remove(u)})})},e.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Dn()},e.prototype.sort=function(o){return Tn(Ka(this,o))},e.prototype.sortBy=function(o,i){return Tn(Ka(this,i,o))},e.prototype.map=function(o,i){var s=this;return this.withMutations(function(u){u.forEach(function(l,d){u.set(d,o.call(i,l,d,s))})})},e.prototype.__iterator=function(o,i){return new j1(this,o,i)},e.prototype.__iterate=function(o,i){var s=this,u=0;return this._root&&this._root.iterate(function(l){return u++,o(l[1],l[0],s)},i),u},e.prototype.__ensureOwner=function(o){return o===this.__ownerID?this:o?qp(this.size,this._root,o,this.__hash):this.size===0?Dn():(this.__ownerID=o,this.__altered=!1,this)},e}(mn);Ei.isMap=yu;var Qe=Ei.prototype;Qe[b_]=!0;Qe[fu]=Qe.remove;Qe.removeAll=Qe.deleteAll;Qe.setIn=Rp;Qe.removeIn=Qe.deleteIn=Pp;Qe.update=Fp;Qe.updateIn=$p;Qe.merge=Qe.concat=A_;Qe.mergeWith=z_;Qe.mergeDeep=U_;Qe.mergeDeepWith=K_;Qe.mergeIn=Up;Qe.mergeDeepIn=Kp;Qe.withMutations=Su;Qe.wasAltered=Hp;Qe.asImmutable=bu;Qe["@@transducer/init"]=Qe.asMutable=wu;Qe["@@transducer/step"]=function(t,e){return t.set(e[0],e[1])};Qe["@@transducer/result"]=function(t){return t.asImmutable()};var qs=function(e,r){this.ownerID=e,this.entries=r};qs.prototype.get=function(e,r,o,i){for(var s=this.entries,u=0,l=s.length;u<l;u++)if(sr(o,s[u][0]))return s[u][1];return i};qs.prototype.update=function(e,r,o,i,s,u,l){for(var d=s===me,m=this.entries,w=0,k=m.length;w<k&&!sr(i,m[w][0]);w++);var y=w<k;if(y?m[w][1]===s:d)return this;if(hn(l),(d||!y)&&hn(u),!(d&&m.length===1)){if(!y&&!d&&m.length>=B1)return L1(e,m,i,s);var T=e&&e===this.ownerID,S=T?m:Xn(m);return y?d?w===k-1?S.pop():S[w]=S.pop():S[w]=[i,s]:S.push([i,s]),T?(this.entries=S,this):new qs(e,S)}};var Ha=function(e,r,o){this.ownerID=e,this.bitmap=r,this.nodes=o};Ha.prototype.get=function(e,r,o,i){r===void 0&&(r=wr(o));var s=1<<((e===0?r:r>>>e)&jr),u=this.bitmap;return u&s?this.nodes[H_(u&s-1)].get(e+He,r,o,i):i};Ha.prototype.update=function(e,r,o,i,s,u,l){o===void 0&&(o=wr(i));var d=(r===0?o:o>>>r)&jr,m=1<<d,w=this.bitmap,k=(w&m)!==0;if(!k&&s===me)return this;var y=H_(w&m-1),T=this.nodes,S=k?T[y]:void 0,D=Yp(S,e,r+He,o,i,s,u,l);if(D===S)return this;if(!k&&D&&T.length>=P1)return A1(e,T,w,d,D);if(k&&!D&&T.length===2&&Ug(T[y^1]))return T[y^1];if(k&&D&&T.length===1&&Ug(D))return D;var x=e&&e===this.ownerID,B=k?D?w:w^m:w|m,N=k?D?q_(T,y,D,x):R1(T,y,x):z1(T,y,D,x);return x?(this.bitmap=B,this.nodes=N,this):new Ha(e,B,N)};var Ys=function(e,r,o){this.ownerID=e,this.count=r,this.nodes=o};Ys.prototype.get=function(e,r,o,i){r===void 0&&(r=wr(o));var s=(e===0?r:r>>>e)&jr,u=this.nodes[s];return u?u.get(e+He,r,o,i):i};Ys.prototype.update=function(e,r,o,i,s,u,l){o===void 0&&(o=wr(i));var d=(r===0?o:o>>>r)&jr,m=s===me,w=this.nodes,k=w[d];if(m&&!k)return this;var y=Yp(k,e,r+He,o,i,s,u,l);if(y===k)return this;var T=this.count;if(!k)T++;else if(!y&&(T--,T<F1))return N1(e,w,T,d);var S=e&&e===this.ownerID,D=q_(w,d,y,S);return S?(this.count=T,this.nodes=D,this):new Ys(e,T,D)};var mi=function(e,r,o){this.ownerID=e,this.keyHash=r,this.entries=o,this._index=void 0};mi.prototype._positionOf=function(e,r){var o=this.entries,i=this._index;if(i===void 0&&r&&o.length>=$1&&(i=this._buildIndex()),i!==void 0){var s=i[Op(e)];if(s!==void 0)for(var u=0;u<s.length;u++){var l=s[u];if(sr(e,o[l][0]))return l}return-1}for(var d=0,m=o.length;d<m;d++)if(sr(e,o[d][0]))return d;return-1};mi.prototype._buildIndex=function(){for(var e=Object.create(null),r=this.entries,o=0,i=r.length;o<i;o++){var s=Op(r[o][0]),u=e[s];u!==void 0?u.push(o):e[s]=[o]}return this._index=e,e};mi.prototype.get=function(e,r,o,i){var s=this._positionOf(o,!0);return s===-1?i:this.entries[s][1]};mi.prototype.update=function(e,r,o,i,s,u,l){o===void 0&&(o=wr(i));var d=s===me;if(o!==this.keyHash)return d?this:(hn(l),hn(u),Wp(this,e,r,o,[i,s]));var m=this.entries,w=m.length,k=e&&e===this.ownerID,y=this._positionOf(i,k),T=y===-1?w:y,S=y!==-1;if(S?m[T][1]===s:d)return this;if(hn(l),(d||!S)&&hn(u),d&&w===2)return new Do(e,this.keyHash,m[T^1]);var D=k?m:Xn(m);if(S)d?(T===w-1?D.pop():D[T]=D.pop(),k&&(this._index=void 0)):D[T]=[i,s];else if(D.push([i,s]),k&&this._index!==void 0){var x=Op(i),B=this._index[x];B!==void 0?B.push(w):this._index[x]=[w]}return k?(this.entries=D,this):new mi(e,this.keyHash,D)};var Do=function(e,r,o){this.ownerID=e,this.keyHash=r,this.entry=o};Do.prototype.get=function(e,r,o,i){return sr(o,this.entry[0])?this.entry[1]:i};Do.prototype.update=function(e,r,o,i,s,u,l){var d=s===me,m=sr(i,this.entry[0]);if(m?s===this.entry[1]:d)return this;if(hn(l),d){hn(u);return}return m?e&&e===this.ownerID?(this.entry[1]=s,this):new Do(e,this.keyHash,[i,s]):(hn(u),Wp(this,e,r,wr(i),[i,s]))};qs.prototype.iterate=mi.prototype.iterate=function(t,e){for(var r=this.entries,o=0,i=r.length-1;o<=i;o++)if(t(r[e?i-o:o])===!1)return!1};Ha.prototype.iterate=Ys.prototype.iterate=function(t,e){for(var r=this.nodes,o=0,i=r.length-1;o<=i;o++){var s=r[e?i-o:o];if(s&&s.iterate(t,e)===!1)return!1}};Do.prototype.iterate=function(t,e){return t(this.entry)};var j1=function(t){function e(r,o,i){this._type=o,this._reverse=i,this._stack=r._root&&Pg(r._root)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.next=function(){for(var o=this._type,i=this._stack;i;){var s=i.node,u=i.index++,l=void 0;if(s.entry){if(u===0)return Jl(o,s.entry)}else if(s.entries){if(l=s.entries.length-1,u<=l)return Jl(o,s.entries[this._reverse?l-u:u])}else if(l=s.nodes.length-1,u<=l){var d=s.nodes[this._reverse?l-u:u];if(d){if(d.entry)return Jl(o,d.entry);i=this._stack=Pg(d,i)}continue}i=this._stack=this._stack.__prev}return Lr()},e}(Me);function Jl(t,e){return We(t,e[0],e[1])}function Pg(t,e){return{node:t,index:0,__prev:e}}function qp(t,e,r,o){var i=Object.create(Qe);return i.size=t,i._root=e,i.__ownerID=r,i.__hash=o,i.__altered=!1,i}var Fg;function Dn(){return Fg||(Fg=qp(0))}function $g(t,e,r){var o,i;if(t._root){var s=Nf(),u=Nf();if(o=Yp(t._root,t.__ownerID,0,void 0,e,r,s,u),!u.value)return t;i=t.size+(s.value?r===me?-1:1:0)}else{if(r===me)return t;i=1,o=new qs(t.__ownerID,[[e,r]])}
vendor: 1,352 bytes, line 24
24return t.__ownerID?(t.size=i,t._root=o,t.__hash=void 0,t.__altered=!0,t):o?qp(i,o):Dn()}function Yp(t,e,r,o,i,s,u,l){return t?t.update(e,r,o,i,s,u,l):s===me?t:(hn(l),hn(u),new Do(e,o,[i,s]))}function Ug(t){return t.constructor===Do||t.constructor===mi}function Wp(t,e,r,o,i){if(t.keyHash===o)return new mi(e,o,[t.entry,i]);var s=(r===0?t.keyHash:t.keyHash>>>r)&jr,u=(r===0?o:o>>>r)&jr,l,d=s===u?[Wp(t,e,r+He,o,i)]:(l=new Do(e,o,i),s<u?[t,l]:[l,t]);return new Ha(e,1<<s|1<<u,d)}function L1(t,e,r,o){t||(t=new Sp);for(var i=new Do(t,wr(r),[r,o]),s=0;s<e.length;s++){var u=e[s];i=i.update(t,0,void 0,u[0],u[1])}return i}function N1(t,e,r,o){for(var i=0,s=0,u=new Array(r),l=0,d=1,m=e.length;l<m;l++,d<<=1){var w=e[l];w!==void 0&&l!==o&&(i|=d,u[s++]=w)}return new Ha(t,i,u)}function A1(t,e,r,o,i){for(var s=0,u=new Array(dn),l=0;r!==0;l++,r>>>=1)u[l]=r&1?e[s++]:void 0;return u[o]=i,new Ys(t,s+1,u)}function H_(t){return t-=t>>1&1431655765,t=(t&858993459)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,t+=t>>16,t&127}function q_(t,e,r,o){var i=o?t:Xn(t);return i[e]=r,i}function z1(t,e,r,o){var i=t.length+1;if(o&&e+1===i)return t[e]=r,t;for(var s=new Array(i),u=0,l=0;l<i;l++)l===e?(s[l]=r,u=-1):s[l]=t[l+u];return s}function R1(t,e,r){var o=t.length-1;if(r&&e===o)return t.pop(),t;for(var i=new Array(o),s=0,u=0;u<o;u++)u===e&&(s=1),i[u]=t[u+s];return i}
24var B1=dn/4,P1=dn/2,F1=dn/4,$1=16,Y_="@@__IMMUTABLE_LIST__@@";function tl(t){return!!(t&&t[Y_])}var es=function(t){function e(r){var o=ic();if(r==null)return o;if(tl(r))return r;var i=t(r),s=i.size;return s===0?o:(an(s),s>0&&s<dn?Ws(0,s,He,null,new gi(i.toArray())):o.withMutations(function(u){u.setSize(s),i.forEach(function(l,d){return u.set(d,l)})}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("List [","]")},e.prototype.get=function(o,i){if(o=yi(this,o),o>=0&&o<this.size){o+=this._origin;var s=W_(this,o);return s&&s.array[o&jr]}return i},e.prototype.set=function(o,i){return U1(this,o,i)},e.prototype.remove=function(o){return this.has(o)?o===0?this.shift():o===this.size-1?this.pop():this.splice(o,1):this},e.prototype.insert=function(o,i){return this.splice(o,0,i)},e.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=He,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):ic()},e.prototype.push=function(){var o=arguments,i=this.size;return this.withMutations(function(s){li(s,0,i+o.length);for(var u=0;u<o.length;u++)s.set(i+u,o[u])})},e.prototype.pop=function(){return li(this,0,-1)},e.prototype.unshift=function(){var o=arguments;return this.withMutations(function(i){li(i,-o.length);for(var s=0;s<o.length;s++)i.set(s,o[s])})},e.prototype.shift=function(){return li(this,1)},e.prototype.concat=function(){for(var o=arguments,i=[],s=0;s<arguments.length;s++){var u=o[s],l=t(typeof u!="string"&&wp(u)?u:[u]);l.size!==0&&i.push(l)}return i.length===0?this:this.size===0&&!this.__ownerID&&i.length===1?this.constructor(i[0]):this.withMutations(function(d){i.forEach(function(m){return m.forEach(function(w){return d.push(w)})})})},e.prototype.setSize=function(o){return li(this,0,o)},e.prototype.map=function(o,i){var s=this;return this.withMutations(function(u){for(var l=0;l<s.size;l++)u.set(l,o.call(i,u.get(l),l,s))})},e.prototype.slice=function(o,i){var s=this.size;return pu(o,i,s)?this:li(this,Va(o,s),du(i,s))},e.prototype.__iterator=function(o,i){var s=i?this.size:0,u=Kg(this,i);return new Me(function(){var l=u();return l===Fs?Lr():We(o,i?--s:s++,l)})},e.prototype.__iterate=function(o,i){for(var s=i?this.size:0,u=Kg(this,i),l;(l=u())!==Fs&&o(l,i?--s:s++,this)!==!1;);return s},e.prototype.__ensureOwner=function(o){return o===this.__ownerID?this:o?Ws(this._origin,this._capacity,this._level,this._root,this._tail,o,this.__hash):this.size===0?ic():(this.__ownerID=o,this.__altered=!1,this)},e}(fa);es.isList=tl;var nr=es.prototype;nr[Y_]=!0;nr[fu]=nr.remove;nr.merge=nr.concat;nr.setIn=Rp;nr.deleteIn=nr.removeIn=Pp;nr.update=Fp;nr.updateIn=$p;nr.mergeIn=Up;nr.mergeDeepIn=Kp;nr.withMutations=Su;nr.wasAltered=Hp;nr.asImmutable=bu;nr["@@transducer/init"]=nr.asMutable=wu;nr["@@transducer/step"]=function(t,e){return t.push(e)};nr["@@transducer/result"]=function(t){return t.asImmutable()};var gi=function(e,r){this.array=e,this.ownerID=r};gi.prototype.removeBefore=function(e,r,o){if(o===r?1<<r:this.array.length===0)return this;var i=o>>>r&jr;if(i>=this.array.length)return new gi([],e);var s=i===0,u;if(r>0){var l=this.array[i];if(u=l&&l.removeBefore(e,r-He,o),u===l&&s)return this}if(s&&!u)return this;var d=qa(this,e);if(!s)for(var m=0;m<i;m++)d.array[m]=void 0;return u&&(d.array[i]=u),d};gi.prototype.removeAfter=function(e,r,o){if(o===(r?1<<r:0)||this.array.length===0)return this;var i=o-1>>>r&jr;if(i>=this.array.length)return this;var s;if(r>0){var u=this.array[i];if(s=u&&u.removeAfter(e,r-He,o),s===u&&i===this.array.length-1)return this}var l=qa(this,e);return l.array.splice(i+1),s&&(l.array[i]=s),l};var Fs={};function Kg(t,e){var r=t._origin,o=t._capacity,i=Qs(o),s=t._tail;return u(t._root,t._level,0);function u(m,w,k){return w===0?l(m,k):d(m,w,k)}function l(m,w){var k=w===i?s&&s.array:m&&m.array,y=w>r?0:r-w,T=o-w;return T>dn&&(T=dn),function(){if(y===T)return Fs;var S=e?--T:y++;return k&&k[S]}}function d(m,w,k){var y,T=m&&m.array,S=k>r?0:r-k>>w,D=(o-k>>w)+1;return D>dn&&(D=dn),function(){for(;;){if(y){var x=y();if(x!==Fs)return x;y=null}if(S===D)return Fs;var B=e?--D:S++;y=u(T&&T[B],w-He,k+(B<<w))}}}}function Ws(t,e,r,o,i,s,u){var l=Object.create(nr);return l.size=e-t,l._origin=t,l._capacity=e,l._level=r,l._root=o,l._tail=i,l.__ownerID=s,l.__hash=u,l.__altered=!1,l}var Hg;function ic(){return Hg||(Hg=Ws(0,0,He))}function U1(t,e,r){if(e=yi(t,e),e!==e)return t;if(e>=t.size||e<0)return t.withMutations(function(u){e<0?li(u,e).set(0,r):li(u,0,e+1).set(e,r)});e+=t._origin;var o=t._tail,i=t._root,s=Nf();return e>=Qs(t._capacity)?o=Ff(o,t.__ownerID,0,e,r,s):i=Ff(i,t.__ownerID,t._level,e,r,s),s.value?t.__ownerID?(t._root=i,t._tail=o,t.__hash=void 0,t.__altered=!0,t):Ws(t._origin,t._capacity,t._level,i,o):t}function Ff(t,e,r,o,i,s){var u=o>>>r&jr,l=t&&u<t.array.length;if(!l&&i===void 0)return t;var d;if(r>0){var m=t&&t.array[u],w=Ff(m,e,r-He,o,i,s);return w===m?t:(d=qa(t,e),d.array[u]=w,d)}return l&&t.array[u]===i?t:(s&&hn(s),d=qa(t,e),i===void 0&&u===d.array.length-1?d.array.pop():d.array[u]=i,d)}function qa(t,e){return e&&t&&e===t.ownerID?t:new gi(t?t.array.slice():[],e)}function W_(t,e){if(e>=Qs(t._capacity))return t._tail;if(e<1<<t._level+He){for(var r=t._root,o=t._level;r&&o>0;)r=r.array[e>>>o&jr],o-=He;return r}}function K1(t,e,r){var o=t._origin+(e===void 0?0:e),i=r===void 0?t._capacity:r<0?t._capacity+r:t._origin+r;if(Number.isFinite(i)&&i>Qu||Number.isFinite(o)&&o<-Qu||Number.isFinite(i)&&Number.isFinite(o)&&i-o>Qu)throw new RangeError("Invalid List size: a List cannot hold more than "+Qu+" (2 ** 30) values.")}function li(t,e,r){K1(t,e,r),e!==void 0&&(e|=0),r!==void 0&&(r|=0);var o=t.__ownerID||new Sp,i=t._origin,s=t._capacity,u=i+e,l=r===void 0?s:r<0?s+r:i+r;if(u===i&&l===s)return t;if(u>=l)return t.clear();for(var d=t._level,m=t._root,w=0;u+w<0;)m=new gi(m&&m.array.length?[void 0,m]:[],o),d+=He,w+=qg(d);w&&(u+=w,i+=w,l+=w,s+=w);for(var k=Qs(s),y=Qs(l);y>=qg(d+He);)m=new gi(m&&m.array.length?[m]:[],o),d+=He;var T=t._tail,S=y<k?W_(t,l-1):y>k?new gi([],o):T;if(T&&y>k&&u<s&&T.array.length){m=qa(m,o);for(var D=m,x=d;x>He;x-=He){var B=k>>>x&jr;D=D.array[B]=qa(D.array[B],o)}D.array[k>>>He&jr]=T}if(l<s&&(S=S&&S.removeAfter(o,0,l)),u>=y)u-=y,l-=y,d=He,m=null,S=S&&S.removeBefore(o,0,u);else if(u>i||y<k){for(w=0;m;){var N=u>>>d&jr;if(N!==y>>>d&jr)break;N&&(w+=(1<<d)*N),d-=He,m=m.array[N]}m&&u>i&&(m=m.removeBefore(o,d,u-w)),m&&y<k&&(m=m.removeAfter(o,d,y-w)),w&&(u-=w,l-=w)}
24return t.__ownerID?(t.size=l-u,t._origin=u,t._capacity=l,t._level=d,t._root=m,t._tail=S,t.__hash=void 0,t.__altered=!0,t):Ws(u,l,d,m,S)}function Qs(t){return t<dn?0:t-1>>>He<<He}var Qu=Math.pow(2,30);function qg(t){return t<31?1<<t:Math.pow(2,t)}var Tn=function(t){function e(r){return r==null?xs():Qc(r)?r:xs().withMutations(function(o){var i=mn(r);an(i.size),i.forEach(function(s,u){return o.set(u,s)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("OrderedMap {","}")},e.prototype.get=function(o,i){var s=this._map.get(o);return s!==void 0?this._list.get(s)[1]:i},e.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):xs()},e.prototype.set=function(o,i){return Wg(this,o,i)},e.prototype.remove=function(o){return Wg(this,o,me)},e.prototype.__iterate=function(o,i){var s=this;return this._list.__iterate(function(u){return u&&o(u[1],u[0],s)},i)},e.prototype.__iterator=function(o,i){return this._list.fromEntrySeq().__iterator(o,i)},e.prototype.__ensureOwner=function(o){if(o===this.__ownerID)return this;var i=this._map.__ensureOwner(o),s=this._list.__ensureOwner(o);return o?Qp(i,s,o,this.__hash):this.size===0?xs():(this.__ownerID=o,this.__altered=!1,this._map=i,this._list=s,this)},e}(Ei);Tn.isOrderedMap=Qc;Tn.prototype[Ja]=!0;Tn.prototype[fu]=Tn.prototype.remove;function Qp(t,e,r,o){var i=Object.create(Tn.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=r,i.__hash=o,i.__altered=!1,i}var Yg;function xs(){return Yg||(Yg=Qp(Dn(),ic()))}function Wg(t,e,r){var o=t._map,i=t._list,s=o.get(e),u=s!==void 0,l,d;if(r===me){if(!u)return t;i.size>=dn&&i.size>=o.size*2?(d=i.filter(function(m,w){return m!==void 0&&s!==w}),l=d.toKeyedSeq().map(function(m){return m[0]}).flip().toMap(),t.__ownerID&&(l.__ownerID=d.__ownerID=t.__ownerID)):(l=o.remove(e),d=s===i.size-1?i.pop():i.set(s,void 0))}else if(u){if(r===i.get(s)[1])return t;l=o,d=i.set(s,[e,r])}else l=o.set(e,i.size),d=i.set(i.size,[e,r]);return t.__ownerID?(t.size=l.size,t._map=l,t._list=d,t.__hash=void 0,t.__altered=!0,t):Qp(l,d)}var Q_="@@__IMMUTABLE_STACK__@@";function Vs(t){return!!(t&&t[Q_])}var Eu=function(t){function e(r){return r==null?Vu():Vs(r)?r:Vu().pushAll(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("Stack [","]")},e.prototype.get=function(o,i){var s=this._head;for(o=yi(this,o);s&&o--;)s=s.next;return s?s.value:i},e.prototype.peek=function(){return this._head&&this._head.value},e.prototype.push=function(){var o=arguments;if(arguments.length===0)return this;for(var i=this.size+arguments.length,s=this._head,u=arguments.length-1;u>=0;u--)s={value:o[u],next:s};return this.__ownerID?(this.size=i,this._head=s,this.__hash=void 0,this.__altered=!0,this):Ts(i,s)},e.prototype.pushAll=function(o){if(o=t(o),o.size===0)return this;if(this.size===0&&Vs(o))return o;an(o.size);var i=this.size,s=this._head;return o.__iterate(function(u){i++,s={value:u,next:s}},!0),this.__ownerID?(this.size=i,this._head=s,this.__hash=void 0,this.__altered=!0,this):Ts(i,s)},e.prototype.pop=function(){return this.slice(1)},e.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):Vu()},e.prototype.slice=function(o,i){if(pu(o,i,this.size))return this;var s=Va(o,this.size),u=du(i,this.size);if(u!==this.size)return t.prototype.slice.call(this,o,i);for(var l=this.size-s,d=this._head;s--;)d=d.next;return this.__ownerID?(this.size=l,this._head=d,this.__hash=void 0,this.__altered=!0,this):Ts(l,d)},e.prototype.__ensureOwner=function(o){return o===this.__ownerID?this:o?Ts(this.size,this._head,o,this.__hash):this.size===0?Vu():(this.__ownerID=o,this.__altered=!1,this)},e.prototype.__iterate=function(o,i){var s=this;if(i)return new na(this.toArray()).__iterate(function(d,m){return o(d,m,s)},i);for(var u=0,l=this._head;l&&o(l.value,u++,this)!==!1;)l=l.next;return u},e.prototype.__iterator=function(o,i){if(i)return new na(this.toArray()).__iterator(o,i);var s=0,u=this._head;return new Me(function(){if(u){var l=u.value;return u=u.next,We(o,s++,l)}return Lr()})},e}(fa);Eu.isStack=Vs;var Nr=Eu.prototype;Nr[Q_]=!0;Nr.shift=Nr.pop;Nr.unshift=Nr.push;Nr.unshiftAll=Nr.pushAll;Nr.withMutations=Su;Nr.wasAltered=Hp;Nr.asImmutable=bu;Nr["@@transducer/init"]=Nr.asMutable=wu;Nr["@@transducer/step"]=function(t,e){return t.unshift(e)};Nr["@@transducer/result"]=function(t){return t.asImmutable()};function Ts(t,e,r,o){var i=Object.create(Nr);return i.size=t,i._head=e,i.__ownerID=r,i.__hash=o,i.__altered=!1,i}var Qg;function Vu(){return Qg||(Qg=Ts(0))}
24var V_="@@__IMMUTABLE_SET__@@";function Mu(t){return!!(t&&t[V_])}function el(t){return Mu(t)&&sn(t)}function Vp(t,e){if(t===e)return!0;if(!br(e)||t.size!==void 0&&e.size!==void 0&&t.size!==e.size||t.__hash!==void 0&&e.__hash!==void 0&&t.__hash!==e.__hash||Ae(t)!==Ae(e)||hr(t)!==hr(e)||sn(t)!==sn(e))return!1;if(t.size===0&&e.size===0)return!0;var r=!Za(t);if(sn(t)){var o=t.entries();return e.every(function(d,m){var w=o.next().value;return w&&sr(w[1],d)&&(r||sr(w[0],m))})&&o.next().done}var i=!1;if(t.size===void 0)if(e.size===void 0)typeof t.cacheResult=="function"&&t.cacheResult();else{i=!0;var s=t;t=e,e=s}var u=!0,l=e.__iterate(function(d,m){if(r?!t.has(d):i?!sr(d,t.get(m,me)):!sr(t.get(m,me),d))return u=!1,!1});return u&&t.size===l}function pa(t,e){var r=function(o){t.prototype[o]=e[o]};return Object.keys(e).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(r),t}function bc(t){if(!t||typeof t!="object")return t;if(!br(t)){if(!vi(t))return t;t=Er(t)}if(Ae(t)){var e={};return t.__iterate(function(o,i){vu(i)||(e[i]=bc(o))}),e}var r=[];return t.__iterate(function(o){r.push(bc(o))}),r}var rs=function(t){function e(r){return r==null?Is():Mu(r)&&!sn(r)?r:Is().withMutations(function(o){var i=t(r);an(i.size),i.forEach(function(s){return o.add(s)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(o){return this(mn(o).keySeq())},e.intersect=function(o){return o=Ye(o).toArray(),o.length?gr.intersect.apply(e(o.pop()),o):Is()},e.union=function(o){return o=Ye(o).toArray(),o.length?gr.union.apply(e(o.pop()),o):Is()},e.prototype.toString=function(){return this.__toString("Set {","}")},e.prototype.has=function(o){return this._map.has(o)},e.prototype.add=function(o){return Zu(this,this._map.set(o,o))},e.prototype.remove=function(o){return Zu(this,this._map.remove(o))},e.prototype.clear=function(){return Zu(this,this._map.clear())},e.prototype.map=function(o,i){var s=this,u=!1,l=Zu(this,this._map.mapEntries(function(d){var m=d[1],w=o.call(i,m,m,s);return w!==m&&(u=!0),[w,w]},i));return u?l:this},e.prototype.union=function(){for(var o=[],i=arguments.length;i--;)o[i]=arguments[i];return o=o.filter(function(s){return s.size!==0}),o.length===0?this:this.size===0&&!this.__ownerID&&o.length===1?this.constructor(o[0]):this.withMutations(function(s){for(var u=0;u<o.length;u++)typeof o[u]=="string"?s.add(o[u]):t(o[u]).forEach(function(l){return s.add(l)})})},e.prototype.intersect=function(){for(var o=[],i=arguments.length;i--;)o[i]=arguments[i];if(o.length===0)return this;o=o.map(function(u){return t(u)});var s=[];return this.forEach(function(u){o.every(function(l){return l.includes(u)})||s.push(u)}),this.withMutations(function(u){s.forEach(function(l){u.remove(l)})})},e.prototype.subtract=function(){for(var o=[],i=arguments.length;i--;)o[i]=arguments[i];if(o.length===0)return this;o=o.map(function(u){return t(u)});var s=[];return this.forEach(function(u){o.some(function(l){return l.includes(u)})&&s.push(u)}),this.withMutations(function(u){s.forEach(function(l){u.remove(l)})})},e.prototype.sort=function(o){return oa(Ka(this,o))},e.prototype.sortBy=function(o,i){return oa(Ka(this,i,o))},e.prototype.wasAltered=function(){return this._map.wasAltered()},e.prototype.__iterate=function(o,i){var s=this;return this._map.__iterate(function(u){return o(u,u,s)},i)},e.prototype.__iterator=function(o,i){return this._map.__iterator(o,i)},e.prototype.__ensureOwner=function(o){if(o===this.__ownerID)return this;var i=this._map.__ensureOwner(o);return o?this.__make(i,o):this.size===0?this.__empty():(this.__ownerID=o,this._map=i,this)},e}(Ga);rs.isSet=Mu;var gr=rs.prototype;gr[V_]=!0;gr[fu]=gr.remove;gr.merge=gr.concat=gr.union;gr.withMutations=Su;gr.asImmutable=bu;gr["@@transducer/init"]=gr.asMutable=wu;gr["@@transducer/step"]=function(t,e){return t.add(e)};gr["@@transducer/result"]=function(t){return t.asImmutable()};gr.__empty=Is;gr.__make=Z_;function Zu(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:e.size===0?t.__empty():t.__make(e)}function Z_(t,e){var r=Object.create(gr);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}var Vg;function Is(){return Vg||(Vg=Z_(Dn()))}
vendor: 10,311 bytes, line 24
24var Zp=function(t){function e(r,o,i){if(!(this instanceof e))return new e(r,o,i);if(jp(i!==0,"Cannot step a Range by 0"),r=r||0,o===void 0&&(o=1/0),i=i===void 0?1:Math.abs(i),o<r&&(i=-i),this._start=r,this._end=o,this._step=i,this.size=Math.max(0,Math.ceil((o-r)/i-1)+1),this.size===0){if(Xl)return Xl;Xl=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step!==1?" by "+this._step:"")+" ]"},e.prototype.get=function(o,i){return this.has(o)?this._start+yi(this,o)*this._step:i},e.prototype.includes=function(o){var i=(o-this._start)/this._step;return i>=0&&i<this.size&&i===Math.floor(i)},e.prototype.slice=function(o,i){return pu(o,i,this.size)?this:(o=Va(o,this.size),i=du(i,this.size),i<=o?new e(0,0):new e(this.get(o,this._end),this.get(i,this._end),this._step))},e.prototype.indexOf=function(o){var i=o-this._start;if(i%this._step===0){var s=i/this._step;if(s>=0&&s<this.size)return s}return-1},e.prototype.lastIndexOf=function(o){return this.indexOf(o)},e.prototype.__iterate=function(o,i){for(var s=this.size,u=this._step,l=i?this._start+(s-1)*u:this._start,d=0;d!==s&&o(l,i?s-++d:d++,this)!==!1;)l+=i?-u:u;return d},e.prototype.__iterator=function(o,i){var s=this.size,u=this._step,l=i?this._start+(s-1)*u:this._start,d=0;return new Me(function(){if(d===s)return Lr();var m=l;return l+=i?-u:u,We(o,i?s-++d:d++,m)})},e.prototype.equals=function(o){return o instanceof e?this._start===o._start&&this._end===o._end&&this._step===o._step:Vp(this,o)},e}(_n),Xl;function rl(t,e,r){for(var o=L_(e),i=0;i!==o.length;)if(t=Jc(t,o[i++],me),t===me)return r;return t}function G_(t,e){return rl(this,t,e)}function Gp(t,e){return rl(t,e,me)!==me}function H1(t){return Gp(this,t)}function J_(){an(this.size);var t={};return this.__iterate(function(e,r){vu(r)||(t[r]=e)}),t}Ye.isIterable=br;Ye.isKeyed=Ae;Ye.isIndexed=hr;Ye.isAssociative=Za;Ye.isOrdered=sn;Ye.Iterator=Me;pa(Ye,{toArray:function(){an(this.size);var e=new Array(this.size||0),r=Ae(this),o=0;return this.__iterate(function(i,s){e[o++]=r?[s,i]:i}),e},toIndexedSeq:function(){return new M_(this)},toJS:function(){return bc(this)},toKeyedSeq:function(){return new Zc(this,!0)},toMap:function(){return Ei(this.toKeyedSeq())},toObject:J_,toOrderedMap:function(){return Tn(this.toKeyedSeq())},toOrderedSet:function(){return oa(Ae(this)?this.valueSeq():this)},toSet:function(){return rs(Ae(this)?this.valueSeq():this)},toSetSeq:function(){return new C_(this)},toSeq:function(){return hr(this)?this.toIndexedSeq():Ae(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Eu(Ae(this)?this.valueSeq():this)},toList:function(){return es(Ae(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(e,r){return this.size===0?e+r:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+r},concat:function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];return Ne(this,k1(this,e))},includes:function(e){return this.some(function(r){return sr(r,e)})},entries:function(){return this.__iterator(gn)},every:function(e,r){an(this.size);var o=!0;return this.__iterate(function(i,s,u){if(!e.call(r,i,s,u))return o=!1,!1}),o},filter:function(e,r){return Ne(this,x_(this,e,r,!0))},partition:function(e,r){return M1(this,e,r)},find:function(e,r,o){var i=this.findEntry(e,r);return i?i[1]:o},forEach:function(e,r){return an(this.size),this.__iterate(r?e.bind(r):e)},join:function(e){an(this.size),e=e!==void 0?""+e:",";var r="",o=!0;return this.__iterate(function(i){o?o=!1:r+=e,r+=i!=null?i.toString():""}),r},keys:function(){return this.__iterator(gu)},map:function(e,r){return Ne(this,D_(this,e,r))},reduce:function(e,r,o){return Zg(this,e,r,o,arguments.length<2,!1)},reduceRight:function(e,r,o){return Zg(this,e,r,o,arguments.length<2,!0)},reverse:function(){return Ne(this,Dp(this,!0))},slice:function(e,r){return Ne(this,xp(this,e,r,!0))},some:function(e,r){an(this.size);var o=!1;return this.__iterate(function(i,s,u){if(e.call(r,i,s,u))return o=!0,!1}),o},sort:function(e){return Ne(this,Ka(this,e))},values:function(){return this.__iterator(xn)},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,r){return Ua(e?this.toSeq().filter(e,r):this)},countBy:function(e,r){return b1(this,e,r)},equals:function(e){return Vp(this,e)},entrySeq:function(){var e=this;if(e._cache)return new na(e._cache);var r=e.toSeq().map(Y1).toIndexedSeq();return r.fromEntrySeq=function(){return e.toSeq()},r},filterNot:function(e,r){return this.filter(tf(e),r)},findEntry:function(e,r,o){var i=o;return this.__iterate(function(s,u,l){if(e.call(r,s,u,l))return i=[u,s],!1}),i},findKey:function(e,r){var o=this.findEntry(e,r);return o&&o[0]},findLast:function(e,r,o){return this.toKeyedSeq().reverse().find(e,r,o)},findLastEntry:function(e,r,o){return this.toKeyedSeq().reverse().findEntry(e,r,o)},findLastKey:function(e,r){return this.toKeyedSeq().reverse().findKey(e,r)},first:function(e){return this.find(p_,null,e)},flatMap:function(e,r){return Ne(this,O1(this,e,r))},flatten:function(e){return Ne(this,I_(this,e,!0))},fromEntrySeq:function(){return new k_(this)},get:function(e,r){return this.find(function(o,i){return sr(i,e)},void 0,r)},getIn:G_,groupBy:function(e,r){return E1(this,e,r)},has:function(e){return this.get(e,me)!==me},hasIn:H1,isSubset:function(e){return e=typeof e.includes=="function"?e:Ye(e),this.every(function(r){return e.includes(r)})},isSuperset:function(e){return e=typeof e.isSubset=="function"?e:Ye(e),e.isSubset(this)},keyOf:function(e){return this.findKey(function(r){return sr(r,e)})},keySeq:function(){return this.toSeq().map(q1).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Yu(this,e)},maxBy:function(e,r){return Yu(this,r,e)},min:function(e){return Yu(this,e?Gg(e):Xg)},minBy:function(e,r){return Yu(this,r?Gg(r):Xg,e)},rest:function(){return this.slice(1)},skip:function(e){return e===0?this:this.slice(Math.max(0,e))},skipLast:function(e){return e===0?this:this.slice(0,-Math.max(0,e))},skipWhile:function(e,r){return Ne(this,T_(this,e,r,!0))},skipUntil:function(e,r){return this.skipWhile(tf(e),r)},sortBy:function(e,r){return Ne(this,Ka(this,r,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return this.slice(-Math.max(0,e))},takeWhile:function(e,r){return Ne(this,C1(this,e,r))},takeUntil:function(e,r){return this.takeWhile(tf(e),r)},update:function(e){return e(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=W1(this))}});var Mr=Ye.prototype;Mr[g_]=!0;Mr[Yc]=Mr.values;Mr.toJSON=Mr.toArray;Mr.__toStringMapper=Hs;Mr.inspect=Mr.toSource=function(){return this.toString()};Mr.chain=Mr.flatMap;Mr.contains=Mr.includes;pa(mn,{flip:function(){return Ne(this,O_(this))},mapEntries:function(e,r){var o=this,i=0;return Ne(this,this.toSeq().map(function(s,u){return e.call(r,[u,s],i++,o)}).fromEntrySeq())},mapKeys:function(e,r){var o=this;return Ne(this,this.toSeq().flip().map(function(i,s){return e.call(r,i,s,o)}).flip())}});var Cu=mn.prototype;Cu[y_]=!0;Cu[Yc]=Mr.entries;Cu.toJSON=J_;Cu.__toStringMapper=function(t,e){return Hs(e)+": "+Hs(t)};pa(fa,{toKeyedSeq:function(){return new Zc(this,!1)},filter:function(e,r){return Ne(this,x_(this,e,r,!1))},findIndex:function(e,r){var o=this.findEntry(e,r);return o?o[0]:-1},indexOf:function(e){var r=this.keyOf(e);return r===void 0?-1:r},lastIndexOf:function(e){var r=this.lastKeyOf(e);return r===void 0?-1:r},reverse:function(){return Ne(this,Dp(this,!1))},slice:function(e,r){return Ne(this,xp(this,e,r,!1))},splice:function(e,r){var o=arguments.length;if(r=Math.max(r||0,0),o===0||o===2&&!r)return this;e=Va(e,e<0?this.count():this.size);var i=this.slice(0,e);return Ne(this,o===1?i:i.concat(Xn(arguments,2),this.slice(e+r)))},findLastIndex:function(e,r){var o=this.findLastEntry(e,r);return o?o[0]:-1},first:function(e){return this.get(0,e)},flatten:function(e){return Ne(this,I_(this,e,!1))},get:function(e,r){return e=yi(this,e),e<0||this.size===1/0||this.size!==void 0&&e>this.size?r:this.find(function(o,i){return i===e},void 0,r)},has:function(e){return e=yi(this,e),e>=0&&(this.size!==void 0?this.size===1/0||e<this.size:this.indexOf(e)!==-1)},interpose:function(e){return Ne(this,D1(this,e))},interleave:function(){var e=[this].concat(Xn(arguments)),r=Wu(this.toSeq(),_n.of,e),o=r.flatten(!0);return r.size&&(o.size=r.size*e.length),Ne(this,o)},keySeq:function(){return Zp(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,r){return Ne(this,T_(this,e,r,!1))},zip:function(){var e=[this].concat(Xn(arguments));return Ne(this,Wu(this,Jg,e))},zipAll:function(){var e=[this].concat(Xn(arguments));return Ne(this,Wu(this,Jg,e,!0))},zipWith:function(e){var r=Xn(arguments);return r[0]=this,Ne(this,Wu(this,e,r))}});var ns=fa.prototype;ns[v_]=!0;ns[Ja]=!0;pa(Ga,{get:function(e,r){return this.has(e)?e:r},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}});var Ya=Ga.prototype;Ya.has=Mr.includes;Ya.contains=Ya.includes;Ya.keys=Ya.values;pa(wi,Cu);pa(_n,ns);pa(ts,Ya);function Zg(t,e,r,o,i,s){return an(t.size),t.__iterate(function(u,l,d){i?(i=!1,r=u):r=e.call(o,r,u,l,d)},s),r}function q1(t,e){return e}function Y1(t,e){return[e,t]}function tf(t){return function(){return!t.apply(this,arguments)}}function Gg(t){return function(){return-t.apply(this,arguments)}}function Jg(){return Xn(arguments)}function Xg(t,e){return t<e?1:t>e?-1:0}function W1(t){if(t.size===1/0)return 0;var e=sn(t),r=Ae(t),o=e?1:0,i=t.__iterate(r?e?function(s,u){o=31*o+ty(wr(s),wr(u))|0}:function(s,u){o=o+ty(wr(s),wr(u))|0}:e?function(s){o=31*o+wr(s)|0}:function(s){o=o+wr(s)|0});return Q1(i,o)}function Q1(t,e){return e=Cs(e,3432918353),e=Cs(e<<15|e>>>-15,461845907),e=Cs(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=Cs(e^e>>>16,2246822507),e=Cs(e^e>>>13,3266489909),e=Vc(e^e>>>16),e}function ty(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var oa=function(t){function e(r){return r==null?$f():el(r)?r:$f().withMutations(function(o){var i=Ga(r);
24an(i.size),i.forEach(function(s){return o.add(s)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(o){return this(mn(o).keySeq())},e.prototype.toString=function(){return this.__toString("OrderedSet {","}")},e}(rs);oa.isOrderedSet=el;var da=oa.prototype;da[Ja]=!0;da.zip=ns.zip;da.zipWith=ns.zipWith;da.zipAll=ns.zipAll;da.__empty=$f;da.__make=X_;function X_(t,e){var r=Object.create(da);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}var ey;function $f(){return ey||(ey=X_(xs()))}var tS={LeftThenRight:-1,RightThenLeft:1};function V1(t){if(Si(t))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(un(t))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(t===null||typeof t!="object")throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}var or=function(e,r){var o;V1(e);var i=function(l){var d=this;if(l instanceof i)return l;if(!(this instanceof i))return new i(l);if(!o){o=!0;var m=Object.keys(e),w=s._indices={};s._name=r,s._keys=m,s._defaultValues=e;for(var k=0;k<m.length;k++){var y=m[k];w[y]=k,s[y]?typeof console=="object"&&console.warn&&console.warn("Cannot define "+Xp(this)+' with property "'+y+'" since that property name is part of the Record API.'):Z1(s,y)}}return this.__ownerID=void 0,this._values=es().withMutations(function(T){T.setSize(d._keys.length),mn(l).forEach(function(S,D){T.set(d._indices[D],S===d._defaultValues[D]?void 0:S)})}),this},s=i.prototype=Object.create($e);return s.constructor=i,r&&(i.displayName=r),i};or.prototype.toString=function(){for(var e=Xp(this)+" { ",r=this._keys,o,i=0,s=r.length;i!==s;i++)o=r[i],e+=(i?", ":"")+o+": "+Hs(this.get(o));return e+" }"};or.prototype.equals=function(e){return this===e||Si(e)&&Wa(this).equals(Wa(e))};or.prototype.hashCode=function(){return Wa(this).hashCode()};or.prototype.has=function(e){return this._indices.hasOwnProperty(e)};or.prototype.get=function(e,r){if(!this.has(e))return r;var o=this._indices[e],i=this._values.get(o);return i===void 0?this._defaultValues[e]:i};or.prototype.set=function(e,r){if(this.has(e)){var o=this._values.set(this._indices[e],r===this._defaultValues[e]?void 0:r);if(o!==this._values&&!this.__ownerID)return Jp(this,o)}return this};or.prototype.remove=function(e){return this.set(e)};or.prototype.clear=function(){var e=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:Jp(this,e)};or.prototype.wasAltered=function(){return this._values.wasAltered()};or.prototype.toSeq=function(){return Wa(this)};or.prototype.toJS=function(){return bc(this)};or.prototype.entries=function(){return this.__iterator(gn)};or.prototype.__iterator=function(e,r){return Wa(this).__iterator(e,r)};or.prototype.__iterate=function(e,r){return Wa(this).__iterate(e,r)};or.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var r=this._values.__ensureOwner(e);return e?Jp(this,r,e):(this.__ownerID=e,this._values=r,this)};or.isRecord=Si;or.getDescriptiveName=Xp;var $e=or.prototype;$e[__]=!0;$e[fu]=$e.remove;$e.deleteIn=$e.removeIn=Pp;$e.getIn=G_;$e.hasIn=Mr.hasIn;$e.merge=A_;$e.mergeWith=z_;$e.mergeIn=Up;$e.mergeDeep=U_;$e.mergeDeepWith=K_;$e.mergeDeepIn=Kp;$e.setIn=Rp;$e.update=Fp;$e.updateIn=$p;$e.withMutations=Su;$e.asMutable=wu;$e.asImmutable=bu;$e[Yc]=$e.entries;$e.toJSON=$e.toObject=Mr.toObject;$e.inspect=$e.toSource=function(){return this.toString()};function Jp(t,e,r){var o=Object.create(Object.getPrototypeOf(t));return o._values=e,o.__ownerID=r,o}function Xp(t){return t.constructor.displayName||t.constructor.name||"Record"}function Wa(t){return Cp(t._keys.map(function(e){return[e,t.get(e)]}))}function Z1(t,e){try{Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(r){jp(this.__ownerID,"Cannot set on an immutable record."),this.set(e,r)}})}catch{}}var eS=function(t){function e(r,o){if(!(this instanceof e))return new e(r,o);if(this._value=r,this.size=o===void 0?1/0:Math.max(0,o),this.size===0){if(ef)return ef;ef=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},e.prototype.get=function(o,i){return this.has(o)?this._value:i},e.prototype.includes=function(o){return sr(this._value,o)},e.prototype.slice=function(o,i){var s=this.size;return pu(o,i,s)?this:new e(this._value,du(i,s)-Va(o,s))},e.prototype.reverse=function(){return this},e.prototype.indexOf=function(o){return sr(this._value,o)?0:-1},e.prototype.lastIndexOf=function(o){return sr(this._value,o)?this.size:-1},e.prototype.__iterate=function(o,i){for(var s=this.size,u=0;u!==s&&o(this._value,i?s-++u:u++,this)!==!1;);return u},e.prototype.__iterator=function(o,i){var s=this,u=this.size,l=0;return new Me(function(){return l===u?Lr():We(o,i?u-++l:l++,s._value)})},e.prototype.equals=function(o){return o instanceof e?sr(this._value,o._value):Vp(this,o)},e}(_n),ef;function rS(t,e){return nS([],e||G1,t,"",e&&e.length>2?[]:void 0,{"":t})}function nS(t,e,r,o,i,s){if(typeof r!="string"&&!un(r)&&(bp(r)||wp(r)||Gc(r))){if
24(~t.indexOf(r))throw new TypeError("Cannot convert circular structure to Immutable");t.push(r),i&&o!==""&&i.push(o);var u=e.call(s,o,Er(r).map(function(l,d){return nS(t,e,l,d,i,r)}),i&&i.slice());return t.pop(),i&&i.pop(),u}return r}function G1(t,e){return hr(e)?e.toList():Ae(e)?e.toMap():e.toSet()}var oS="4.3.9",J1={version:oS,Collection:Ye,Iterable:Ye,Seq:Er,Map:Ei,OrderedMap:Tn,List:es,Stack:Eu,Set:rs,OrderedSet:oa,PairSorting:tS,Record:or,Range:Zp,Repeat:eS,is:sr,fromJS:rS,hash:wr,isImmutable:un,isCollection:br,isKeyed:Ae,isIndexed:hr,isAssociative:Za,isOrdered:sn,isValueObject:Sc,isPlainObject:Gc,isSeq:hu,isList:tl,isMap:yu,isOrderedMap:Qc,isStack:Vs,isSet:Mu,isOrderedSet:el,isRecord:Si,get:Jc,getIn:rl,has:Lp,hasIn:Gp,merge:B_,mergeDeep:F_,mergeWith:P_,mergeDeepWith:$_,remove:Np,removeIn:Bp,set:Ap,setIn:zp,update:Xc,updateIn:bi},X1=Ye;const tA=Object.freeze(Object.defineProperty({__proto__:null,Collection:Ye,Iterable:X1,List:es,Map:Ei,OrderedMap:Tn,OrderedSet:oa,PairSorting:tS,Range:Zp,Record:or,Repeat:eS,Seq:Er,Set:rs,Stack:Eu,default:J1,fromJS:rS,get:Jc,getIn:rl,has:Lp,hasIn:Gp,hash:wr,is:sr,isAssociative:Za,isCollection:br,isImmutable:un,isIndexed:hr,isKeyed:Ae,isList:tl,isMap:yu,isOrdered:sn,isOrderedMap:Qc,isOrderedSet:el,isPlainObject:Gc,isRecord:Si,isSeq:hu,isSet:Mu,isStack:Vs,isValueObject:Sc,merge:B_,mergeDeep:F_,mergeDeepWith:$_,mergeWith:P_,remove:Np,removeIn:Bp,set:Ap,setIn:zp,update:Xc,updateIn:bi,version:oS},Symbol.toStringTag,{value:"Module"})),eA=O0(tA);(function(t,e){(function(r,o){t.exports=o(dr,rr,eA)})(window,function(r,o,i){return l={},s.m=u=[function(d,m,w){d.exports=w(10)()},function(d,m){d.exports=r},function(d,m,w){var k;/*! 25 Copyright (c) 2017 Jed Watson. 26 Licensed under the MIT License (MIT), see 27 http://jedwatson.github.io/classnames 28*/(function(){var y={}.hasOwnProperty;function T(){for(var S=[],D=0;D<arguments.length;D++){var x=arguments[D];if(x){var B=typeof x;if(B=="string"||B=="number")S.push(x);else if(Array.isArray(x)&&x.length){var N=T.apply(null,x);N&&S.push(N)}else if(B=="object")for(var $ in x)y.call(x,$)&&x[$]&&S.push($)}}return S.join(" ")}d.exports?(T.default=T,d.exports=T):(k=(function(){return T}).apply(m,[]))===void 0||(d.exports=k)})()},function(d,m){d.exports=o},function(d,m,w){function k(x){if(D[x])return D[x].exports;var B=D[x]={i:x,l:!1,exports:{}};return S[x].call(B.exports,B,B.exports,k),B.l=!0,B.exports}var y,T,S,D;d.exports=(y=w(3),T=w(5),D={},k.m=S=[function(x,B){x.exports=y},function(x,B){x.exports=T},function(x,B,N){x.exports=N(3)},function(x,B,N){N.r(B);var $=N(0),K=N(1);function V(J){var W=J.getSelection(),et=J.getCurrentContent(),st=W.getStartKey(),ot=W.getEndKey(),xt=et.getBlockMap();return xt.toSeq().skipUntil(function(Ut,kt){return kt===st}).takeUntil(function(Ut,kt){return kt===ot}).concat([[ot,xt.get(ot)]])}function ct(J){return V(J).toList()}function it(J){if(J)return ct(J).get(0)}function H(J){if(J){var W=it(J),et=J.getCurrentContent().getBlockMap().toSeq().toList(),st=0;if(et.forEach(function(ot,xt){ot.get("key")===W.get("key")&&(st=xt-1)}),-1<st)return et.get(st)}}function q(J){return J?J.getCurrentContent().getBlockMap().toList():new K.List}function Y(J){var W=ct(J);if(!W.some(function(et){return et.type!==W.get(0).type}))return W.get(0).type}function tt(J){var W=$.RichUtils.tryToRemoveBlockStyle(J);return W?$.EditorState.push(J,W,"change-block-type"):J}function lt(J){var W="",et=J.getSelection(),st=et.getAnchorOffset(),ot=et.getFocusOffset(),xt=ct(J);if(0<xt.size){if(et.getIsBackward()){var Ut=st;st=ot,ot=Ut}for(var kt=0;kt<xt.size;kt+=1){var Xt=kt===0?st:0,oe=kt===xt.size-1?ot:xt.get(kt).getText().length;W+=xt.get(kt).getText().slice(Xt,oe)}}return W}function nt(J){var W=J.getCurrentContent(),et=J.getSelection(),st=$.Modifier.removeRange(W,et,"forward"),ot=st.getSelectionAfter(),xt=st.getBlockForKey(ot.getStartKey());return st=$.Modifier.insertText(st,ot,` 29`,xt.getInlineStyleAt(ot.getStartOffset()),null),$.EditorState.push(J,st,"insert-fragment")}function pt(J){var W=$.Modifier.splitBlock(J.getCurrentContent(),J.getSelection());return tt($.EditorState.push(J,W,"split-block"))}function St(J){var W=J.getCurrentContent().getBlockMap().toList(),et=J.getSelection().merge({anchorKey:W.first().get("key"),anchorOffset:0,focusKey:W.last().get("key"),focusOffset:W.last().getLength()}),st=$.Modifier.removeRange(J.getCurrentContent(),et,"forward");return $.EditorState.push(J,st,"remove-range")}function dt(J,W){var et=$.Modifier.setBlockData(J.getCurrentContent(),J.getSelection(),W);return $.EditorState.push(J,et,"change-block-data")}function yt(J){var W=new K.Map({}),et=ct(J);if(et&&0<et.size)for(var st=function(xt){var Ut=et.get(xt).getData();if(!Ut||Ut.size===0)return W=W.clear(),"break";if(xt===0)W=Ut;else if(W.forEach(function(kt,Xt){Ut.get(Xt)&&Ut.get(Xt)===kt||(W=W.delete(Xt))}),W.size===0)return W=W.clear(),"break"},ot=0;ot<et.size&&st(ot)!=="break";ot+=1);return W}var zt=Object(K.Map)({code:{element:"pre"}}),Rt=$.DefaultDraftBlockRenderMap.merge(zt);function at(J){if(J){var W=J.getType();return W==="unordered-list-item"||W==="ordered-list-item"}return!1}function mt(J,W,et){var st,ot=J.getSelection();st=ot.getIsBackward()?ot.getFocusKey():ot.getAnchorKey();var xt=J.getCurrentContent(),Ut=xt.getBlockForKey(st),kt=Ut.getType();if(kt!=="unordered-list-item"&&kt!=="ordered-list-item")return J;var Xt=xt.getBlockBefore(st);if(!Xt||Xt.getType()!==kt)return J;var oe=Ut.getDepth();if(W===1&&oe===et)return J;var ge,ie,be,Ee,It,Ot,Mt,ee=Math.min(Xt.getDepth()+1,et),jt=(ie=W,be=ee,Ee=(ge=J).getSelection(),It=ge.getCurrentContent(),Ot=It.getBlockMap(),Mt=V(ge).map(function(je){var wt=je.getDepth()+ie;return wt=Math.max(0,Math.min(wt,be)),je.set("depth",wt)}),Ot=Ot.merge(Mt),It.merge({blockMap:Ot,selectionBefore:Ee,selectionAfter:Ee}));return $.EditorState.push(J,jt,"adjust-depth")}function Ft(J,W){var et;return(et=W).which===13&&(et.getModifierState("Shift")||et.getModifierState("Alt")||et.getModifierState("Control"))?J.getSelection().isCollapsed()?$.RichUtils.insertSoftNewline(J):nt(J):function(st){var ot=st.getSelection();if(ot.isCollapsed()){var xt=st.getCurrentContent(),Ut=ot.getStartKey(),kt=xt.getBlockForKey(Ut);if(!at(kt)&&kt.getType()!=="unstyled"&&kt.getLength()===ot.getStartOffset())return pt(st);if(at(kt)&&kt.getLength()===0){var Xt=kt.getDepth();if(Xt===0)return tt(st);if(0<Xt)return mt(st,-1,Xt)}}}(J)}function ye(J,W){var et=Object.keys(J);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(J);W&&(st=st.filter(function(ot){return Object.getOwnPropertyDescriptor(J,ot).enumerable})),et.push.apply(et,st)}return et}function se(J,W,et){return W in J?Object.defineProperty(J,W,{value:et,enumerable:!0,configurable:!0,writable:!0}):J[W]=et,J}function gt(J){return(gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(W){return typeof W}:function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W})(J)}function ht(J){var W=J.getSelection();if(W.isCollapsed()){var et={},st=J.getCurrentInlineStyle().toList().toJS();if(st)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(Xt){et[Xt]=0<=st.indexOf(Xt)}),et}var ot=W.getStartOffset(),xt=W.getEndOffset(),Ut=ct(J);if(0<Ut.size){var kt=function(){for(var Xt={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},oe=0;oe<Ut.size;oe+=1){var ge=oe===0?ot:0,ie=oe===Ut.size-1?xt:Ut.get(oe).getText().length;ge===ie&&ge===0?(ge=1,ie=2):ge===ie&&--ge;
29for(var be=function(It){var Ot=Ut.get(oe).getInlineStyleAt(It);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(Mt){Xt[Mt]=Xt[Mt]&&Ot.get(Mt)===Mt})},Ee=ge;Ee<ie;Ee+=1)be(Ee)}return{v:Xt}}();if(gt(kt)==="object")return kt.v}return{}}function Vt(J){var W,et=J.getSelection(),st=et.getStartOffset(),ot=et.getEndOffset();st===ot&&st===0?ot=1:st===ot&&--st;for(var xt=it(J),Ut=st;Ut<ot;Ut+=1){var kt=xt.getEntityAt(Ut);if(!kt){W=void 0;break}if(Ut===st)W=kt;else if(W!==kt){W=void 0;break}}return W}function Zt(J,W){var et,st=it(J);return st.findEntityRanges(function(ot){return ot.get("entity")===W},function(ot,xt){et={start:ot,end:xt,text:st.get("text").slice(ot,xt)}}),et}function le(J,W,et){ue[J]["".concat(J.toLowerCase(),"-").concat(et)]=se({},"".concat(W),et)}function Ct(){return function(J){for(var W=1;W<arguments.length;W++){var et=arguments[W]!=null?arguments[W]:{};W%2?ye(Object(et),!0).forEach(function(st){se(J,st,et[st])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(et)):ye(Object(et)).forEach(function(st){Object.defineProperty(J,st,Object.getOwnPropertyDescriptor(et,st))})}return J}({},ue.color,{},ue.bgcolor,{},ue.fontSize,{},ue.fontFamily,{CODE:ue.CODE,SUPERSCRIPT:ue.SUPERSCRIPT,SUBSCRIPT:ue.SUBSCRIPT})}var ue={color:{},bgcolor:{},fontSize:{},fontFamily:{},CODE:{fontFamily:"monospace",wordWrap:"break-word",background:"#f1f1f1",borderRadius:3,padding:"1px 3px"},SUPERSCRIPT:{fontSize:11,position:"relative",top:-8,display:"inline-flex"},SUBSCRIPT:{fontSize:11,position:"relative",bottom:-8,display:"inline-flex"}};function xe(J,W,et){var st=J.getSelection(),ot=Object.keys(ue[W]).reduce(function(Xt,oe){return $.Modifier.removeInlineStyle(Xt,st,oe)},J.getCurrentContent()),xt=$.EditorState.push(J,ot,"changeinline-style"),Ut=J.getCurrentInlineStyle();if(st.isCollapsed()&&(xt=Ut.reduce(function(Xt,oe){return $.RichUtils.toggleInlineStyle(Xt,oe)},xt)),W==="SUPERSCRIPT"||W=="SUBSCRIPT")Ut.has(et)||(xt=$.RichUtils.toggleInlineStyle(xt,et));else{var kt=W==="bgcolor"?"backgroundColor":W;Ut.has("".concat(kt,"-").concat(et))||(xt=$.RichUtils.toggleInlineStyle(xt,"".concat(W.toLowerCase(),"-").concat(et)),le(W,kt,et))}return xt}function Lt(J){J&&J.getCurrentContent().getBlockMap().map(function(W){return W.get("characterList")}).toList().flatten().forEach(function(W){W&&W.indexOf("color-")===0?le("color","color",W.substr(6)):W&&W.indexOf("bgcolor-")===0?le("bgcolor","backgroundColor",W.substr(8)):W&&W.indexOf("fontsize-")===0?le("fontSize","fontSize",+W.substr(9)):W&&W.indexOf("fontfamily-")===0&&le("fontFamily","fontFamily",W.substr(11))})}function Yt(J,W,et){var st=J.getInlineStyleAt(et).toList().filter(function(ot){return ot.startsWith(W.toLowerCase())});if(st&&0<st.size)return st.get(0)}function Tt(J,W){if(J&&W&&0<W.length){var et=function(){var st=J.getSelection(),ot={};if(st.isCollapsed())return W.forEach(function(ge){ot[ge]=function(ie,be){var Ee=ie.getCurrentInlineStyle().toList().filter(function(It){return It.startsWith(be.toLowerCase())});if(Ee&&0<Ee.size)return Ee.get(0)}(J,ge)}),{v:ot};var xt=st.getStartOffset(),Ut=st.getEndOffset(),kt=ct(J);if(0<kt.size){for(var Xt=function(ge){var ie=ge===0?xt:0,be=ge===kt.size-1?Ut:kt.get(ge).getText().length;ie===be&&ie===0?(ie=1,be=2):ie===be&&--ie;for(var Ee=function(Ot){Ot===ie?W.forEach(function(Mt){ot[Mt]=Yt(kt.get(ge),Mt,Ot)}):W.forEach(function(Mt){ot[Mt]&&ot[Mt]!==Yt(kt.get(ge),Mt,Ot)&&(ot[Mt]=void 0)})},It=ie;It<be;It+=1)Ee(It)},oe=0;oe<kt.size;oe+=1)Xt(oe);return{v:ot}}}();if(gt(et)==="object")return et.v}return{}}function Gt(J){var W=J.getCurrentInlineStyle(),et=J.getCurrentContent();return W.forEach(function(st){et=$.Modifier.removeInlineStyle(et,J.getSelection(),st)}),$.EditorState.push(J,et,"change-inline-style")}N.d(B,"isListBlock",function(){return at}),N.d(B,"changeDepth",function(){return mt}),N.d(B,"handleNewLine",function(){return Ft}),N.d(B,"getEntityRange",function(){return Zt}),N.d(B,"getCustomStyleMap",function(){return Ct}),N.d(B,"toggleCustomInlineStyle",function(){return xe}),N.d(B,"getSelectionEntity",function(){return Vt}),N.d(B,"extractInlineStyle",function(){return Lt}),N.d(B,"removeAllInlineStyles",function(){return Gt}),N.d(B,"getSelectionInlineStyle",function(){return ht}),N.d(B,"getSelectionCustomInlineStyle",function(){return Tt}),N.d(B,"getSelectedBlocksMap",function(){return V}),N.d(B,"getSelectedBlocksList",function(){return ct}),N.d(B,"getSelectedBlock",function(){return it}),N.d(B,"getBlockBeforeSelectedBlock",function(){return H}),N.d(B,"getAllBlocks",function(){return q}),N.d(B,"getSelectedBlocksType",function(){return Y}),N.d(B,"removeSelectedBlocksStyle",function(){return tt}),N.d(B,"getSelectionText",function(){return lt}),N.d(B,"addLineBreakRemovingSelection",function(){return nt}),N.d(B,"insertNewUnstyledBlock",function(){return pt}),N.d(B,"clearEditorContent",function(){return St}),N.d(B,"setBlockData",function(){return dt}),N.d(B,"getSelectedBlocksMetadata",function(){return yt}),N.d(B,"blockRenderMap",function(){return Rt})}],k.c=D,k.d=function(x,B,N){k.o(x,B)||Object.defineProperty(x,B,{enumerable:!0,get:N})},k.r=function(x){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(x,"__esModule",{value:!0})},k.t=function(x,B){if(1&B&&(x=k(x)),8&B||4&B&&typeof x=="object"&&x&&x.__esModule)return x;var N=Object.create(null);if(k.r(N),Object.defineProperty(N,"default",{enumerable:!0,value:x}),2&B&&typeof x!="string")for(var $ in x)k.d(N,$,(function(K){return x[K]}).bind(null,$));return N},k.n=function(x){var B=x&&x.__esModule?function(){return x.default}:function(){return x};return k.d(B,"a",B),B},k.o=function(x,B){return Object.prototype.hasOwnProperty.call(x,B)},k.p="",k(k.s=2))},function(d,m){d.exports=i}
29,function(d,m,w){function k(x){if(D[x])return D[x].exports;var B=D[x]={i:x,l:!1,exports:{}};return S[x].call(B.exports,B,B.exports,k),B.l=!0,B.exports}var y,T,S,D;d.exports=(y=w(5),T=w(3),D={},k.m=S=[function(x,B){x.exports=y},function(x,B){x.exports=T},function(x,B,N){x.exports=N(3)},function(x,B,N){N.r(B);var $=N(1),K=N(0),V=function(at,mt,Ft){var ye,se=at.textContent;return se.trim()===""?{chunk:(ye=Ft,{text:" ",inlines:[new K.OrderedSet],entities:[ye],blocks:[]})}:{chunk:{text:se,inlines:Array(se.length).fill(mt),entities:Array(se.length).fill(Ft),blocks:[]}}},ct=function(){return{text:` 30`,inlines:[new K.OrderedSet],entities:new Array(1),blocks:[]}},it=function(){return{text:"",inlines:[],entities:[],blocks:[]}},H=function(at,mt){return{text:"",inlines:[],entities:[],blocks:[{type:at,depth:0,data:mt||new K.Map({})}]}},q=function(at,mt,Ft){return{text:"\r",inlines:[],entities:[],blocks:[{type:at,depth:Math.max(0,Math.min(4,mt)),data:Ft||new K.Map({})}]}},Y=function(at){return{text:"\r ",inlines:[new K.OrderedSet],entities:[at],blocks:[{type:"atomic",depth:0,data:new K.Map({})}]}},tt=function(at,mt){return{text:at.text+mt.text,inlines:at.inlines.concat(mt.inlines),entities:at.entities.concat(mt.entities),blocks:at.blocks.concat(mt.blocks)}},lt=new K.Map({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:"ul"},"ordered-list-item":{element:"li",wrapper:"ol"},blockquote:{element:"blockquote"},code:{element:"pre"},atomic:{element:"figure"},unstyled:{element:"p",aliasedElements:["div"]}}),nt={code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",strong:"BOLD",ins:"UNDERLINE",sub:"SUBSCRIPT",sup:"SUPERSCRIPT"};function pt(at){return at.style.textAlign?new K.Map({"text-align":at.style.textAlign}):at.style.marginLeft?new K.Map({"margin-left":at.style.marginLeft}):void 0}var St=function(at){var mt=void 0;if(at instanceof HTMLAnchorElement){var Ft={};mt=at.dataset&&at.dataset.mention!==void 0?(Ft.url=at.href,Ft.text=at.innerHTML,Ft.value=at.dataset.value,$.Entity.__create("MENTION","IMMUTABLE",Ft)):(Ft.url=at.getAttribute&&at.getAttribute("href")||at.href,Ft.title=at.innerHTML,Ft.targetOption=at.target,$.Entity.__create("LINK","MUTABLE",Ft))}return mt};N.d(B,"default",function(){return Rt});var dt=" ",yt=new RegExp(" ","g"),zt=!0;function Rt(at,mt){var Ft,ye,se,gt=(Ft=mt,ye=at.trim().replace(yt,dt),(se=function(le){var Ct,ue=null;return document.implementation&&document.implementation.createHTMLDocument&&((Ct=document.implementation.createHTMLDocument("foo")).documentElement.innerHTML=le,ue=Ct.getElementsByTagName("body")[0]),ue}(ye))?(zt=!0,{chunk:function le(Ct,ue,xe,Lt,Yt,Tt){var Gt=Ct.nodeName.toLowerCase();if(Tt){var J=Tt(Gt,Ct);if(J){var W=$.Entity.__create(J.type,J.mutability,J.data||{});return{chunk:Y(W)}}}if(Gt==="#text"&&Ct.textContent!==` 31`)return V(Ct,ue,Yt);if(Gt==="br")return{chunk:ct()};if(Gt==="img"&&Ct instanceof HTMLImageElement){var et={};et.src=Ct.getAttribute&&Ct.getAttribute("src")||Ct.src,et.alt=Ct.alt,et.height=Ct.style.height,et.width=Ct.style.width,Ct.style.float&&(et.alignment=Ct.style.float);var st=$.Entity.__create("IMAGE","MUTABLE",et);return{chunk:Y(st)}}if(Gt==="video"&&Ct instanceof HTMLVideoElement){var ot={};ot.src=Ct.getAttribute&&Ct.getAttribute("src")||Ct.src,ot.alt=Ct.alt,ot.height=Ct.style.height,ot.width=Ct.style.width,Ct.style.float&&(ot.alignment=Ct.style.float);var xt=$.Entity.__create("VIDEO","MUTABLE",ot);return{chunk:Y(xt)}}if(Gt==="iframe"&&Ct instanceof HTMLIFrameElement){var Ut={};Ut.src=Ct.getAttribute&&Ct.getAttribute("src")||Ct.src,Ut.height=Ct.height,Ut.width=Ct.width;var kt=$.Entity.__create("EMBEDDED_LINK","MUTABLE",Ut);return{chunk:Y(kt)}}var Xt,oe=function(be,Ee){var It=lt.filter(function(Ot){return Ot.element===be&&(!Ot.wrapper||Ot.wrapper===Ee)||Ot.wrapper===be||Ot.aliasedElements&&-1<Ot.aliasedElements.indexOf(be)}).keySeq().toSet().toArray();if(It.length===1)return It[0]}(Gt,Lt);oe&&(Gt==="ul"||Gt==="ol"?(Lt=Gt,xe+=1):(oe!=="unordered-list-item"&&oe!=="ordered-list-item"&&(Lt="",xe=-1),zt?(Xt=H(oe,pt(Ct)),zt=!1):Xt=q(oe,xe,pt(Ct)))),Xt=Xt||it(),ue=function(be,Ee,It){var Ot,Mt=nt[be];
31if(Mt)Ot=It.add(Mt).toOrderedSet();else if(Ee instanceof HTMLElement){var ee=Ee;Ot=(Ot=It).withMutations(function(jt){var je=ee.style.color,wt=ee.style.backgroundColor,Nt=ee.style.fontSize,ze=ee.style.fontFamily.replace(/^"|"$/g,""),re=ee.style.fontWeight,Cr=ee.style.textDecoration,Xe=ee.style.fontStyle;je&&jt.add("color-".concat(je.replace(/ /g,""))),wt&&jt.add("bgcolor-".concat(wt.replace(/ /g,""))),Nt&&jt.add("fontsize-".concat(Nt.replace(/px$/g,""))),ze&&jt.add("fontfamily-".concat(ze)),re==="bold"&&jt.add(nt.strong),Cr==="underline"&&jt.add(nt.ins),Xe==="italic"&&jt.add(nt.em)}).toOrderedSet()}return Ot}(Gt,Ct,ue);for(var ge=Ct.firstChild;ge;){var ie=le(ge,ue,xe,Lt,St(ge)||Yt,Tt).chunk;Xt=tt(Xt,ie),ge=ge.nextSibling}return{chunk:Xt}}(se,new K.OrderedSet,-1,"",void 0,Ft).chunk}):null);if(gt){var ht=gt.chunk,Vt=new K.OrderedMap({});ht.entities&&ht.entities.forEach(function(le){le&&(Vt=Vt.set(le,$.Entity.__get(le)))});var Zt=0;return{contentBlocks:ht.text.split("\r").map(function(le,Ct){var ue=Zt+le.length,xe=ht&&ht.inlines.slice(Zt,ue),Lt=ht&&ht.entities.slice(Zt,ue),Yt=new K.List(xe.map(function(Tt,Gt){var J={style:Tt,entity:null};return Lt[Gt]&&(J.entity=Lt[Gt]),$.CharacterMetadata.create(J)}));return Zt=ue,new $.ContentBlock({key:Object($.genKey)(),type:ht&&ht.blocks[Ct]&&ht.blocks[Ct].type||"unstyled",depth:ht&&ht.blocks[Ct]&&ht.blocks[Ct].depth,data:ht&&ht.blocks[Ct]&&ht.blocks[Ct].data||new K.Map({}),text:le,characterList:Yt})}),entityMap:Vt}}return null}}],k.c=D,k.d=function(x,B,N){k.o(x,B)||Object.defineProperty(x,B,{enumerable:!0,get:N})},k.r=function(x){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(x,"__esModule",{value:!0})},k.t=function(x,B){if(1&B&&(x=k(x)),8&B||4&B&&typeof x=="object"&&x&&x.__esModule)return x;var N=Object.create(null);if(k.r(N),Object.defineProperty(N,"default",{enumerable:!0,value:x}),2&B&&typeof x!="string")for(var $ in x)k.d(N,$,(function(K){return x[K]}).bind(null,$));return N},k.n=function(x){var B=x&&x.__esModule?function(){return x.default}:function(){return x};return k.d(B,"a",B),B},k.o=function(x,B){return Object.prototype.hasOwnProperty.call(x,B)},k.p="",k(k.s=2))},function(d,m,w){function k(H){return Array.prototype.slice.call(arguments,1).forEach(function(q){q&&Object.keys(q).forEach(function(Y){H[Y]=q[Y]})}),H}function y(H){return Object.prototype.toString.call(H)}function T(H){return y(H)==="[object Function]"}function S(H){return H.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var D={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},x={"http:":{validate:function(H,q,Y){var tt=H.slice(q);return Y.re.http||(Y.re.http=new RegExp("^\\/\\/"+Y.re.src_auth+Y.re.src_host_port_strict+Y.re.src_path,"i")),Y.re.http.test(tt)?tt.match(Y.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(H,q,Y){var tt=H.slice(q);return Y.re.no_http||(Y.re.no_http=new RegExp("^"+Y.re.src_auth+"(?:localhost|(?:(?:"+Y.re.src_domain+")\\.)+"+Y.re.src_domain_root+")"+Y.re.src_port+Y.re.src_host_terminator+Y.re.src_path,"i")),Y.re.no_http.test(tt)?3<=q&&H[q-3]===":"||3<=q&&H[q-3]==="/"?0:tt.match(Y.re.no_http)[0].length:0}},"mailto:":{validate:function(H,q,Y){var tt=H.slice(q);return Y.re.mailto||(Y.re.mailto=new RegExp("^"+Y.re.src_email_name+"@"+Y.re.src_host_strict,"i")),Y.re.mailto.test(tt)?tt.match(Y.re.mailto)[0].length:0}}},B="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",N="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|ÑÑ".split("|");function $(){return function(H,q){q.normalize(H)}}function K(H){var q=H.re=w(21)(H.__opts__),Y=H.__tlds__.slice();function tt(dt){return dt.replace("%TLDS%",q.src_tlds)}H.onCompile(),H.__tlds_replaced__||Y.push(B),Y.push(q.src_xn),q.src_tlds=Y.join("|"),q.email_fuzzy=RegExp(tt(q.tpl_email_fuzzy),"i"),q.link_fuzzy=RegExp(tt(q.tpl_link_fuzzy),"i"),q.link_no_ip_fuzzy=RegExp(tt(q.tpl_link_no_ip_fuzzy),"i"),q.host_fuzzy_test=RegExp(tt(q.tpl_host_fuzzy_test),"i");var lt=[];
31function nt(dt,yt){throw new Error('(LinkifyIt) Invalid schema "'+dt+'": '+yt)}H.__compiled__={},Object.keys(H.__schemas__).forEach(function(dt){var yt=H.__schemas__[dt];if(yt!==null){var zt,Rt={validate:null,link:null};if(H.__compiled__[dt]=Rt,y(yt)==="[object Object]")return y(yt.validate)==="[object RegExp]"?Rt.validate=(zt=yt.validate,function(at,mt){var Ft=at.slice(mt);return zt.test(Ft)?Ft.match(zt)[0].length:0}):T(yt.validate)?Rt.validate=yt.validate:nt(dt,yt),void(T(yt.normalize)?Rt.normalize=yt.normalize:yt.normalize?nt(dt,yt):Rt.normalize=$());y(yt)!=="[object String]"?nt(dt,yt):lt.push(dt)}}),lt.forEach(function(dt){H.__compiled__[H.__schemas__[dt]]&&(H.__compiled__[dt].validate=H.__compiled__[H.__schemas__[dt]].validate,H.__compiled__[dt].normalize=H.__compiled__[H.__schemas__[dt]].normalize)}),H.__compiled__[""]={validate:null,normalize:$()};var pt,St=Object.keys(H.__compiled__).filter(function(dt){return 0<dt.length&&H.__compiled__[dt]}).map(S).join("|");H.re.schema_test=RegExp("(^|(?!_)(?:[><ï½]|"+q.src_ZPCc+"))("+St+")","i"),H.re.schema_search=RegExp("(^|(?!_)(?:[><ï½]|"+q.src_ZPCc+"))("+St+")","ig"),H.re.pretest=RegExp("("+H.re.schema_test.source+")|("+H.re.host_fuzzy_test.source+")|@","i"),(pt=H).__index__=-1,pt.__text_cache__=""}function V(H,q){var Y=H.__index__,tt=H.__last_index__,lt=H.__text_cache__.slice(Y,tt);this.schema=H.__schema__.toLowerCase(),this.index=Y+q,this.lastIndex=tt+q,this.raw=lt,this.text=lt,this.url=lt}function ct(H,q){var Y=new V(H,q);return H.__compiled__[Y.schema].normalize(Y,H),Y}function it(H,q){if(!(this instanceof it))return new it(H,q);var Y;q||(Y=H,Object.keys(Y||{}).reduce(function(tt,lt){return tt||D.hasOwnProperty(lt)},!1)&&(q=H,H={})),this.__opts__=k({},D,q),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=k({},x,H),this.__compiled__={},this.__tlds__=N,this.__tlds_replaced__=!1,this.re={},K(this)}it.prototype.add=function(H,q){return this.__schemas__[H]=q,K(this),this},it.prototype.set=function(H){return this.__opts__=k(this.__opts__,H),this},it.prototype.test=function(H){if(this.__text_cache__=H,this.__index__=-1,!H.length)return!1;var q,Y,tt,lt,nt,pt,St,dt;if(this.re.schema_test.test(H)){for((St=this.re.schema_search).lastIndex=0;(q=St.exec(H))!==null;)if(lt=this.testSchemaAt(H,q[2],St.lastIndex)){this.__schema__=q[2],this.__index__=q.index+q[1].length,this.__last_index__=q.index+q[0].length+lt;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(dt=H.search(this.re.host_fuzzy_test))&&(this.__index__<0||dt<this.__index__)&&(Y=H.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(nt=Y.index+Y[1].length,(this.__index__<0||nt<this.__index__)&&(this.__schema__="",this.__index__=nt,this.__last_index__=Y.index+Y[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&0<=H.indexOf("@")&&(tt=H.match(this.re.email_fuzzy))!==null&&(nt=tt.index+tt[1].length,pt=tt.index+tt[0].length,(this.__index__<0||nt<this.__index__||nt===this.__index__&&pt>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=nt,this.__last_index__=pt)),0<=this.__index__},it.prototype.pretest=function(H){return this.re.pretest.test(H)},it.prototype.testSchemaAt=function(H,q,Y){return this.__compiled__[q.toLowerCase()]?this.__compiled__[q.toLowerCase()].validate(H,Y,this):0},it.prototype.match=function(H){var q=0,Y=[];0<=this.__index__&&this.__text_cache__===H&&(Y.push(ct(this,q)),q=this.__last_index__);for(var tt=q?H.slice(q):H;this.test(tt);)Y.push(ct(this,q)),tt=tt.slice(this.__last_index__),q+=this.__last_index__;return Y.length?Y:null},it.prototype.tlds=function(H,q){return H=Array.isArray(H)?H:[H],q?this.__tlds__=this.__tlds__.concat(H).sort().filter(function(Y,tt,lt){return Y!==lt[tt-1]}).reverse():(this.__tlds__=H.slice(),this.__tlds_replaced__=!0),K(this),this},it.prototype.normalize=function(H){H.schema||(H.url="http://"+H.url),H.schema!=="mailto:"||/^mailto:/i.test(H.url)||(H.url="mailto:"+H.url)},it.prototype.onCompile=function(){},d.exports=it},function(d,m,w){d.exports=w(40)},function(d,m,w){},function(d,m,w){var k=w(11);function y(){}function T(){}T.resetWarningCache=y,d.exports=function(){function S(B,N,$,K,V,ct){if(ct!==k){var it=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw it.name="Invariant Violation",it}}function D(){return S}var x={array:S.isRequired=S,bigint:S,bool:S,func:S,number:S,object:S,string:S,symbol:S,any:S,arrayOf:D,element:S,elementType:S,instanceOf:D,node:S,objectOf:D,oneOf:D,oneOfType:D,shape:D,exact:D,checkPropTypes:T,resetWarningCache:y};return x.PropTypes=x}},function(d,m,w){d.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){d.exports=function(k){var y={};y.src_Any=w(22).source,y.src_Cc=w(23).source,y.src_Z=w(24).source,y.src_P=w(25).source,y.src_ZPCc=[y.src_Z,y.src_P,y.src_Cc].join("|"),y.src_ZCc=[y.src_Z,y.src_Cc].join("|");var T="[><ï½]";return y.src_pseudo_letter="(?:(?![><ï½]|"+y.src_ZPCc+")"+y.src_Any+")",y.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",y.src_auth="(?:(?:(?!"+y.src_ZCc+"|[@/\\[\\]()]).)+@)?",y.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",y.src_host_terminator="(?=$|[><ï½]|"+y.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+y.src_ZPCc+"))",y.src_path="(?:[/?#](?:(?!"+y.src_ZCc+"|"+T+`|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+y.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+y.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+y.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+y.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+y.src_ZCc+"|[']).)+\\'|\\'(?="+y.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+y.src_ZCc+"|[.]).|"+(k&&k["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+y.src_ZCc+").|\\!(?!"+y.src_ZCc+"|[!]).|\\?(?!"+y.src_ZCc+"|[?]).)+|\\/)?",y.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',y.src_xn="xn--[a-z0-9\\-]{1,59}",y.src_domain_root="(?:"+y.src_xn+"|"+y.src_pseudo_letter+"{1,63})",y.src_domain="(?:"+y.src_xn+"|(?:"+y.src_pseudo_letter+")|(?:"+y.src_pseudo_letter+"(?:-|"+y.src_pseudo_letter+"){0,61}
31"+y.src_pseudo_letter+"))",y.src_host="(?:(?:(?:(?:"+y.src_domain+")\\.)*"+y.src_domain+"))",y.tpl_host_fuzzy="(?:"+y.src_ip4+"|(?:(?:(?:"+y.src_domain+")\\.)+(?:%TLDS%)))",y.tpl_host_no_ip_fuzzy="(?:(?:(?:"+y.src_domain+")\\.)+(?:%TLDS%))",y.src_host_strict=y.src_host+y.src_host_terminator,y.tpl_host_fuzzy_strict=y.tpl_host_fuzzy+y.src_host_terminator,y.src_host_port_strict=y.src_host+y.src_port+y.src_host_terminator,y.tpl_host_port_fuzzy_strict=y.tpl_host_fuzzy+y.src_port+y.src_host_terminator,y.tpl_host_port_no_ip_fuzzy_strict=y.tpl_host_no_ip_fuzzy+y.src_port+y.src_host_terminator,y.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+y.src_ZPCc+"|>|$))",y.tpl_email_fuzzy='(^|[><ï½]|"|\\(|'+y.src_ZCc+")("+y.src_email_name+"@"+y.tpl_host_fuzzy_strict+")",y.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|ï½]|"+y.src_ZPCc+"))((?![$+<=>^`|ï½])"+y.tpl_host_port_fuzzy_strict+y.src_path+")",y.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|ï½]|"+y.src_ZPCc+"))((?![$+<=>^`|ï½])"+y.tpl_host_port_no_ip_fuzzy_strict+y.src_path+")",y}},function(d,m){d.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(d,m){d.exports=/[\0-\x1F\x7F-\x9F]/},function(d,m){d.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(d,m){d.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){},function(d,m,w){w.r(m),w.d(m,"Editor",function(){return M0});var k=w(1),y=w.n(k),T=w(0),S=w.n(T),D=w(3),x=w(4),B=w(2),N=w.n(B);function $(M,g,b){return Object.defineProperty(M,"prototype",{writable:!1}),M}var K=$(function M(){var g=this;(function(b,_){if(!(b instanceof _))throw new TypeError("Cannot call a class as a function")})(this,M),this.callBacks=[],this.suggestionCallback=void 0,this.editorFlag=!1,this.suggestionFlag=!1,this.closeAllModals=function(b){g.callBacks.forEach(function(_){_(b)})},this.init=function(b){var _=document.getElementById(b);_&&_.addEventListener("click",function(){g.editorFlag=!0}),document&&(document.addEventListener("click",function(){g.editorFlag?g.editorFlag=!1:(g.closeAllModals(),g.suggestionCallback&&g.suggestionCallback())}),document.addEventListener("keydown",function(v){v.key==="Escape"&&g.closeAllModals()}))}
31,this.onEditorClick=function(){g.closeModals(),!g.suggestionFlag&&g.suggestionCallback?g.suggestionCallback():g.suggestionFlag=!1},this.closeModals=function(b){g.closeAllModals(b)},this.registerCallBack=function(b){g.callBacks.push(b)},this.deregisterCallBack=function(b){g.callBacks=g.callBacks.filter(function(_){return _!==b})},this.setSuggestionCallback=function(b){g.suggestionCallback=b},this.removeSuggestionCallback=function(){g.suggestionCallback=void 0},this.onSuggestionClick=function(){g.suggestionFlag=!0}});function V(M,g,b){return Object.defineProperty(M,"prototype",{writable:!1}),M}var ct,it=V(function M(){var g=this;(function(b,_){if(!(b instanceof _))throw new TypeError("Cannot call a class as a function")})(this,M),this.inputFocused=!1,this.editorMouseDown=!1,this.onEditorMouseDown=function(){g.editorFocused=!0},this.onInputMouseDown=function(){g.inputFocused=!0},this.isEditorBlur=function(b){return b.target.tagName!=="INPUT"&&b.target.tagName!=="LABEL"&&b.target.tagName!=="TEXTAREA"||g.editorFocused?!(b.target.tagName==="INPUT"&&b.target.tagName==="LABEL"&&b.target.tagName==="TEXTAREA"||g.inputFocused)&&!(g.editorFocused=!1):!(g.inputFocused=!1)},this.isEditorFocused=function(){return!g.inputFocused||(g.inputFocused=!1)},this.isToolbarFocused=function(){return!g.editorFocused||(g.editorFocused=!1)},this.isInputFocused=function(){return g.inputFocused}}),H=[],q={onKeyDown:function(M){H.forEach(function(g){g(M)})},registerCallBack:function(M){H.push(M)},deregisterCallBack:function(M){H=H.filter(function(g){return g!==M})}},Y=function(){ct=!0},tt=function(){ct=!1},lt=function(){return ct};function nt(M){var g=M.getData()&&M.getData().get("text-align");return g?"rdw-".concat(g,"-aligned-block"):""}function pt(M,g){if(M)for(var b in M)!{}.hasOwnProperty.call(M,b)||g(b,M[b])}function St(M,g){var b=!1;if(M){for(var _ in M)if({}.hasOwnProperty.call(M,_)&&g===_){b=!0;break}}return b}function dt(M){M.stopPropagation()}function yt(M){return M[M.options[0]].icon}function zt(M,g){if(M&&g===void 0)return M;var b={};return pt(M,function(_,v){var f;f=v,Object.prototype.toString.call(f)==="[object Object]"?b[_]=zt(v,g[_]):b[_]=g[_]!==void 0?g[_]:v}),b}var Rt=w(6),at=w.n(Rt),mt=w(5);w(9);function Ft(M){return(Ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function ye(M,g,b){return g in M?Object.defineProperty(M,g,{value:b,enumerable:!0,configurable:!0,writable:!0}):M[g]=b,M}function se(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function gt(M,g){return(gt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function ht(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=Vt(M);if(g){var v=Vt(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Ft(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function Vt(M){return(Vt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var Zt=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&>(v,f)})(_,k.Component);var M,g,b=ht(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).onClick=function(){var A=v.props,L=A.disabled,R=A.onClick,U=A.value;L||R(U)},v}return M=_,(g=[{key:"render",value:function(){var v,f=this.props,O=f.children,j=f.className,A=f.activeClassName,L=f.active,R=f.disabled,U=f.title;return y.a.createElement("div",{className:N()("rdw-option-wrapper",j,(ye(v={},"rdw-option-active ".concat(A),L),ye(v,"rdw-option-disabled",R),v)),onClick:this.onClick,"aria-selected":L,title:U},O)}}])&&se(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();Zt.propTypes={onClick:S.a.func.isRequired,children:S.a.any,value:S.a.string,className:S.a.string,activeClassName:S.a.string,active:S.a.bool,disabled:S.a.bool,title:S.a.string},Zt.defaultProps={activeClassName:""},w(12);function le(M){return(le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Ct(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function ue(M,g){return(ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function xe(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=Lt(M);if(g){var v=Lt(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(le(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function Lt(M){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var Yt=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&ue(v,f)})(_,k.Component);var M,g,b=xe(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).state={highlighted:-1},v.onChange=function(A){var L=v.props.onChange;L&&L(A),v.toggleExpansion()},v.setHighlighted=function(A){v.setState({highlighted:A})},v.toggleExpansion=function(){var A=v.props,L=A.doExpand,R=A.doCollapse;A.expanded?R():L()},v}return M=_,(g=[{key:"componentDidUpdate",value:function(v){var f=this.props.expanded;v.expanded&&!f&&this.setState({highlighted:-1})}},{key:"render",value:function(){var v=this,f=this.props,O=f.expanded,j=f.children,A=f.className,L=f.optionWrapperClassName,R=f.ariaLabel,U=f.onExpandEvent,Q=f.title,X=this.state.highlighted,rt=j.slice(1,j.length);return y.a.createElement("div",{className:N()("rdw-dropdown-wrapper",A),"aria-expanded":O,"aria-label":R||"rdw-dropdown"},y.a.createElement("a",{className:"rdw-dropdown-selectedtext",onClick:U,title:Q},j[0],y.a.createElement("div",{className:N()({"rdw-dropdown-carettoclose":O,"rdw-dropdown-carettoopen":!O})})),O?y.a.createElement("ul",{className:N()("rdw-dropdown-optionwrapper",L),onClick:dt},y.a.Children.map(rt,function(Kt,Dt){return Kt&&y.a.cloneElement(Kt,{onSelect:v.onChange,highlighted:X===Dt,setHighlighted:v.setHighlighted,index:Dt})})):void 0)}}])&&Ct(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();
31Yt.propTypes={children:S.a.any,onChange:S.a.func,className:S.a.string,expanded:S.a.bool,doExpand:S.a.func,doCollapse:S.a.func,onExpandEvent:S.a.func,optionWrapperClassName:S.a.string,ariaLabel:S.a.string,title:S.a.string},w(13);function Tt(M){return(Tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Gt(M,g,b){return g in M?Object.defineProperty(M,g,{value:b,enumerable:!0,configurable:!0,writable:!0}):M[g]=b,M}function J(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function W(M,g){return(W=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function et(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=st(M);if(g){var v=st(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Tt(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function st(M){return(st=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var ot=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&W(v,f)})(_,k.Component);var M,g,b=et(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).onClick=function(A){var L=v.props,R=L.onSelect,U=L.onClick,Q=L.value;L.disabled||(R&&R(Q),U&&(A.stopPropagation(),U(Q)))},v.setHighlighted=function(){var A=v.props;(0,A.setHighlighted)(A.index)},v.resetHighlighted=function(){(0,v.props.setHighlighted)(-1)},v}return M=_,(g=[{key:"render",value:function(){var v,f=this.props,O=f.children,j=f.active,A=f.disabled,L=f.highlighted,R=f.className,U=f.activeClassName,Q=f.disabledClassName,X=f.highlightedClassName,rt=f.title;return y.a.createElement("li",{className:N()("rdw-dropdownoption-default",R,(Gt(v={},"rdw-dropdownoption-active ".concat(U),j),Gt(v,"rdw-dropdownoption-highlighted ".concat(X),L),Gt(v,"rdw-dropdownoption-disabled ".concat(Q),A),v)),onMouseEnter:this.setHighlighted,onMouseLeave:this.resetHighlighted,onClick:this.onClick,title:rt},O)}}])&&J(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();ot.propTypes={children:S.a.any,value:S.a.any,onClick:S.a.func,onSelect:S.a.func,setHighlighted:S.a.func,index:S.a.number,disabled:S.a.bool,active:S.a.bool,highlighted:S.a.bool,className:S.a.string,activeClassName:S.a.string,disabledClassName:S.a.string,highlightedClassName:S.a.string,title:S.a.string},ot.defaultProps={activeClassName:"",disabledClassName:"",highlightedClassName:""},w(14);function xt(M){return(xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Ut(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function kt(M,g){return(kt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function Xt(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=oe(M);if(g){var v=oe(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(xt(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function oe(M){return(oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var ge=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&kt(v,f)})(_,k.Component);var M,g,b=Xt(_);function _(){return function(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}(this,_),b.apply(this,arguments)}return M=_,(g=[{key:"renderInFlatList",value:function(){var v=this.props,f=v.config,O=v.currentState,j=v.onCh
31ange,A=v.translations;return y.a.createElement("div",{className:N()("rdw-inline-wrapper",f.className),"aria-label":"rdw-inline-control"},f.options.map(function(L,R){return y.a.createElement(Zt,{key:R,value:L,onClick:j,className:N()(f[L].className),active:O[L]===!0||L==="MONOSPACE"&&O.CODE,title:f[L].title||A["components.controls.inline.".concat(L)]},y.a.createElement("img",{alt:"",src:f[L].icon}))}))}},{key:"renderInDropDown",value:function(){var v=this.props,f=v.config,O=v.expanded,j=v.doExpand,A=v.onExpandEvent,L=v.doCollapse,R=v.currentState,U=v.onChange,Q=v.translations,X=f.className,rt=f.dropdownClassName,Kt=f.title;return y.a.createElement(Yt,{className:N()("rdw-inline-dropdown",X),optionWrapperClassName:N()(rt),onChange:U,expanded:O,doExpand:j,doCollapse:L,onExpandEvent:A,"aria-label":"rdw-inline-control",title:Kt},y.a.createElement("img",{src:yt(f),alt:""}),f.options.map(function(Dt,ut){return y.a.createElement(ot,{key:ut,value:Dt,className:N()("rdw-inline-dropdownoption",f[Dt].className),active:R[Dt]===!0||Dt==="MONOSPACE"&&R.CODE,title:f[Dt].title||Q["components.controls.inline.".concat(Dt)]},y.a.createElement("img",{src:f[Dt].icon,alt:""}))}))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Ut(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();function ie(M){return(ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function be(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function Ee(M,g){return(Ee=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function It(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=Ot(M);if(g){var v=Ot(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(ie(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function Ot(M){return(Ot=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}ge.propTypes={expanded:S.a.bool,doExpand:S.a.func,doCollapse:S.a.func,onExpandEvent:S.a.func,config:S.a.object,onChange:S.a.func,currentState:S.a.object,translations:S.a.object};var Mt=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&Ee(v,f)})(_,k.Component);var M,g,b=It(_);function _(v){var f;(function(L,R){if(!(L instanceof R))throw new TypeError("Cannot call a class as a function")})(this,_),(f=b.call(this,v)).onExpandEvent=function(){f.signalExpanded=!f.state.expanded},f.expandCollapse=function(){f.setState({expanded:f.signalExpanded}),f.signalExpanded=!1},f.toggleInlineStyle=function(L){var R=L==="monospace"?"CODE":L.toUpperCase(),U=f.props,Q=U.editorState,X=U.onChange,rt=D.RichUtils.toggleInlineStyle(Q,R);if(L==="subscript"||L==="superscript"){var Kt=L==="subscript"?"SUPERSCRIPT":"SUBSCRIPT",Dt=D.Modifier.removeInlineStyle(rt.getCurrentContent(),rt.getSelection(),Kt);rt=D.EditorState.push(rt,Dt,"change-inline-style")}rt&&X(rt)},f.changeKeys=function(L){if(L){var R={};return pt(L,function(U,Q){R[U==="CODE"?"monospace":U.toLowerCase()]=Q}),R}},f.doExpand=function(){f.setState({expanded:!0})},f.doCollapse=function(){f.setState({expanded:!1})};var O=f.props,j=O.editorState,A=O.modalHandler;return f.state={currentStyles:j?f.changeKeys(Object(x.getSelectionInlineStyle)(j)):{}},A.registerCallBack(f.expandCollapse),f}return M=_,(g=[{key:"componentDidUpdate",value:function(v){var f=this.props.editorState;f&&f!==v.editorState&&this.setState({currentStyles:this.changeKeys(Object(x.getSelectionInlineStyle)(f))})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var v=this.props,f=v.config,O=v.translations,j=this.state,A=j.exp
31anded,L=j.currentStyles,R=f.component||ge;return y.a.createElement(R,{config:f,translations:O,currentState:L,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.toggleInlineStyle})}}])&&be(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();Mt.propTypes={onChange:S.a.func.isRequired,editorState:S.a.object.isRequired,modalHandler:S.a.object,config:S.a.object,translations:S.a.object},w(15);function ee(M){return(ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function jt(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function je(M,g){return(je=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function wt(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=Nt(M);if(g){var v=Nt(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(ee(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function Nt(M){return(Nt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var ze=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&je(v,f)})(_,k.Component);var M,g,b=wt(_);function _(v){var f;return function(O,j){if(!(O instanceof j))throw new TypeError("Cannot call a class as a function")}(this,_),(f=b.call(this,v)).getBlockTypes=function(O){return[{label:"Normal",displayName:O["components.controls.blocktype.normal"]},{label:"H1",displayName:O["components.controls.blocktype.h1"]},{label:"H2",displayName:O["components.controls.blocktype.h2"]},{label:"H3",displayName:O["components.controls.blocktype.h3"]},{label:"H4",displayName:O["components.controls.blocktype.h4"]},{label:"H5",displayName:O["components.controls.blocktype.h5"]},{label:"H6",displayName:O["components.controls.blocktype.h6"]},{label:"Blockquote",displayName:O["components.controls.blocktype.blockquote"]},{label:"Code",displayName:O["components.controls.blocktype.code"]}]},f.state={blockTypes:f.getBlockTypes(v.translations)},f}return M=_,(g=[{key:"componentDidUpdate",value:function(v){var f=this.props.translations;f!==v.translations&&this.setState({blockTypes:this.getBlockTypes(f)})}},{key:"renderFlat",value:function(v){var f=this.props,O=f.config.className,j=f.onChange,A=f.currentState.blockType;return y.a.createElement("div",{className:N()("rdw-inline-wrapper",O)},v.map(function(L,R){return y.a.createElement(Zt,{key:R,value:L.label,active:A===L.label,onClick:j},L.displayName)}))}},{key:"renderInDropdown",value:function(v){var f=this.props,O=f.config,j=O.className,A=O.dropdownClassName,L=O.title,R=f.currentState.blockType,U=f.expanded,Q=f.doExpand,X=f.onExpandEvent,rt=f.doCollapse,Kt=f.onChange,Dt=f.translations,ut=this.state.blockTypes.filter(function(Jt){return Jt.label===R}),Bt=ut&&ut[0]&&ut[0].displayName;return y.a.createElement("div",{className:"rdw-block-wrapper","aria-label":"rdw-block-control"},y.a.createElement(Yt,{className:N()("rdw-block-dropdown",j),optionWrapperClassName:N()(A),onChange:Kt,expanded:U,doExpand:Q,doCollapse:rt,onExpandEvent:X,title:L||Dt["components.controls.blocktype.blocktype"]}
31,y.a.createElement("span",null,Bt||Dt["components.controls.blocktype.blocktype"]),v.map(function(Jt,ce){return y.a.createElement(ot,{active:R===Jt.label,value:Jt.label,key:ce},Jt.displayName)})))}},{key:"render",value:function(){var v=this.props.config,f=v.inDropdown,O=this.state.blockTypes.filter(function(j){var A=j.label;return-1<v.options.indexOf(A)});return f?this.renderInDropdown(O):this.renderFlat(O)}}])&&jt(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();ze.propTypes={expanded:S.a.bool,onExpandEvent:S.a.func,doExpand:S.a.func,doCollapse:S.a.func,onChange:S.a.func,config:S.a.object,currentState:S.a.object,translations:S.a.object};var re=ze;function Cr(M){return(Cr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Xe(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function Rr(M,g){return(Rr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function kr(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=qr(M);if(g){var v=qr(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Cr(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function qr(M){return(qr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var Br=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&Rr(v,f)})(_,k.Component);var M,g,b=kr(_);function _(v){var f;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_),(f=b.call(this,v)).onExpandEvent=function(){f.signalExpanded=!f.state.expanded},f.expandCollapse=function(){f.setState({expanded:f.signalExpanded}),f.signalExpanded=!1},f.blocksTypes=[{label:"Normal",style:"unstyled"},{label:"H1",style:"header-one"},{label:"H2",style:"header-two"},{label:"H3",style:"header-three"},{label:"H4",style:"header-four"},{label:"H5",style:"header-five"},{label:"H6",style:"header-six"},{label:"Blockquote",style:"blockquote"},{label:"Code",style:"code"}],f.doExpand=function(){f.setState({expanded:!0})},f.doCollapse=function(){f.setState({expanded:!1})},f.toggleBlockType=function(A){var L=f.blocksTypes.find(function(rt){return rt.label===A}).style,R=f.props,U=R.editorState,Q=R.onChange,X=D.RichUtils.toggleBlockType(U,L);X&&Q(X)};var O=v.editorState,j=v.modalHandler;return f.state={expanded:!1,currentBlockType:O?Object(x.getSelectedBlocksType)(O):"unstyled"},j.registerCallBack(f.expandCollapse),f}return M=_,(g=[{key:"componentDidUpdate",value:function(v){var f=this.props.editorState;f&&f!==v.editorState&&this.setState({currentBlockType:Object(x.getSelectedBlocksType)(f)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var v=this.props,f=v.config,O=v.translations,j=this.state,A=j.expanded,L=j.currentBlockType,R=f.component||re,U=this.blocksTypes.find(function(Q){return Q.style===L});return y.a.createElement(R,{config:f,translations:O,currentState:{blockType:U&&U.label},onChange:this.toggleBlockType,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Xe(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();Br.propTypes={onChange:S.a.func.isRequired,editorState:S.a.object,modalHandler:S.a.object,config:S.a.object,translations:S.a.object};var ro=Br;w(16);function De(M){return(De=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function as(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}
31function Ln(M,g){return(Ln=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function ss(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=no(M);if(g){var v=no(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(De(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function no(M){return(no=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var jo=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&Ln(v,f)})(_,k.Component);var M,g,b=ss(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).state={defaultFontSize:void 0},v}return M=_,(g=[{key:"componentDidMount",value:function(){var v=document.getElementsByClassName("DraftEditor-root");if(v&&0<v.length){var f=window.getComputedStyle(v[0]).getPropertyValue("font-size");f=f.substring(0,f.length-2),this.setState({defaultFontSize:f})}}},{key:"render",value:function(){var v=this.props,f=v.config,O=f.icon,j=f.className,A=f.dropdownClassName,L=f.options,R=f.title,U=v.onChange,Q=v.expanded,X=v.doCollapse,rt=v.onExpandEvent,Kt=v.doExpand,Dt=v.translations,ut=this.props.currentState.fontSize,Bt=this.state.defaultFontSize;return Bt=Number(Bt),ut=ut||L&&0<=L.indexOf(Bt)&&Bt,y.a.createElement("div",{className:"rdw-fontsize-wrapper","aria-label":"rdw-font-size-control"},y.a.createElement(Yt,{className:N()("rdw-fontsize-dropdown",j),optionWrapperClassName:N()(A),onChange:U,expanded:Q,doExpand:Kt,doCollapse:X,onExpandEvent:rt,title:R||Dt["components.controls.fontsize.fontsize"]},ut?y.a.createElement("span",null,ut):y.a.createElement("img",{src:O,alt:""}),L.map(function(Jt,ce){return y.a.createElement(ot,{className:"rdw-fontsize-option",active:ut===Jt,value:Jt,key:ce},Jt)})))}}])&&as(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();function ha(M){return(ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function oo(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function Nn(M,g){return(Nn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function io(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=ir(M);if(g){var v=ir(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(ha(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function ir(M){return(ir=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}jo.propTypes={expanded:S.a.bool,onExpandEvent:S.a.func,doExpand:S.a.func,doCollapse:S.a.func,onChange:S.a.func,config:S.a.object,currentState:S.a.object,translations:S.a.object};var ga=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&Nn(v,f)})(_,k.Component);var M,g,b=io(_);function _(v){var f;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_),(f=b.call(this,v)).onExpandEvent=function(){f.signalExpanded=!f.state.expanded},f.expandCollapse=function(){f.setState({expanded:f.signalExpanded}),f.signalExpanded=!1},f.doExpand=function(){f.setState({expanded:!0})},f.doCollapse=function(){f.setState({expanded:!1})},f.toggleFontSize=function(A){var L=f.props,R=L.editorState,U=L.onChange,Q=Object(x.toggleCustomInlineStyle)(R,"fontSize",A);Q&&U(Q)};var O=v.editorState,j=v.modalHandler;return f.state={expanded:void 0,currentFontSize:O?Object(x.getSelectionCustomInlineStyle)(O,["FONTSIZE"]).FONTSIZE:void 0},j.registerCallBack(f.expandCollapse),f}return M=_,(g=[{key:"componentDidUpdate",value:function(v){var f=this.props.editorState;f&&f!==v.editorState&&this.setState({currentFontSize:Object(x.getSelectionCustomInlineStyle)(f,["FONTSIZE"]).FONTSIZE})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var v=this.props,f=v.config,O=v.translations,j=this.state,A=j.exp
31anded,L=j.currentFontSize,R=f.component||jo,U=L&&Number(L.substring(9));return y.a.createElement(R,{config:f,translations:O,currentState:{fontSize:U},onChange:this.toggleFontSize,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&oo(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();ga.propTypes={onChange:S.a.func.isRequired,editorState:S.a.object,modalHandler:S.a.object,config:S.a.object,translations:S.a.object},w(17);function ya(M){return(ya=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function ao(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function An(M,g){return(An=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function Te(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=bt(M);if(g){var v=bt(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(ya(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function bt(M){return(bt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var zn=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&An(v,f)})(_,k.Component);var M,g,b=Te(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).state={defaultFontFamily:void 0},v}return M=_,(g=[{key:"componentDidMount",value:function(){var v=document.getElementsByClassName("DraftEditor-root");if(v&&0<v.length){var f=window.getComputedStyle(v[0]).getPropertyValue("font-family");this.setState({defaultFontFamily:f})}}},{key:"render",value:function(){var v=this.state.defaultFontFamily,f=this.props,O=f.config,j=O.className,A=O.dropdownClassName,L=O.options,R=O.title,U=f.translations,Q=f.onChange,X=f.expanded,rt=f.doCollapse,Kt=f.onExpandEvent,Dt=f.doExpand,ut=this.props.currentState.fontFamily;return ut=ut||L&&v&&L.some(function(Bt){return Bt.toLowerCase()===v.toLowerCase()})&&v,y.a.createElement("div",{className:"rdw-fontfamily-wrapper","aria-label":"rdw-font-family-control"},y.a.createElement(Yt,{className:N()("rdw-fontfamily-dropdown",j),optionWrapperClassName:N()("rdw-fontfamily-optionwrapper",A),onChange:Q,expanded:X,doExpand:Dt,doCollapse:rt,onExpandEvent:Kt,title:R||U["components.controls.fontfamily.fontfamily"]},y.a.createElement("span",{className:"rdw-fontfamily-placeholder"},ut||U["components.controls.fontfamily.fontfamily"]),L.map(function(Bt,Jt){return y.a.createElement(ot,{active:ut===Bt,value:Bt,key:Jt},Bt)})))}}])&&ao(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();zn.propTypes={expanded:S.a.bool,onExpandEvent:S.a.func,doExpand:S.a.func,doCollapse:S.a.func,onChange:S.a.func,config:S.a.object,currentState:S.a.object,translations:S.a.object};var Mi=zn;function _t(M){return(_t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Yr(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function mr(M,g){return(mr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function Wr(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();
31return function(){var b,_=cr(M);if(g){var v=cr(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(_t(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function cr(M){return(cr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var Je=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&mr(v,f)})(_,k.Component);var M,g,b=Wr(_);function _(v){var f;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_),(f=b.call(this,v)).onExpandEvent=function(){f.signalExpanded=!f.state.expanded},f.expandCollapse=function(){f.setState({expanded:f.signalExpanded}),f.signalExpanded=!1},f.doExpand=function(){f.setState({expanded:!0})},f.doCollapse=function(){f.setState({expanded:!1})},f.toggleFontFamily=function(A){var L=f.props,R=L.editorState,U=L.onChange,Q=Object(x.toggleCustomInlineStyle)(R,"fontFamily",A);Q&&U(Q)};var O=v.editorState,j=v.modalHandler;return f.state={expanded:void 0,currentFontFamily:O?Object(x.getSelectionCustomInlineStyle)(O,["FONTFAMILY"]).FONTFAMILY:void 0},j.registerCallBack(f.expandCollapse),f}return M=_,(g=[{key:"componentDidUpdate",value:function(v){var f=this.props.editorState;f&&f!==v.editorState&&this.setState({currentFontFamily:Object(x.getSelectionCustomInlineStyle)(f,["FONTFAMILY"]).FONTFAMILY})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var v=this.props,f=v.config,O=v.translations,j=this.state,A=j.expanded,L=j.currentFontFamily,R=f.component||Mi,U=L&&L.substring(11);return y.a.createElement(R,{translations:O,config:f,currentState:{fontFamily:U},onChange:this.toggleFontFamily,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Yr(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();Je.propTypes={onChange:S.a.func.isRequired,editorState:S.a.object,modalHandler:S.a.object,config:S.a.object,translations:S.a.object},w(18);function Rn(M){return(Rn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function so(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function Lo(M,g){return(Lo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function uo(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=co(M);if(g){var v=co(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Rn(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function co(M){return(co=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var Re=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&Lo(v,f)})(_,k.Component);var M,g,b=uo(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).options=["unordered","ordered","indent","outdent"],v.toggleBlockType=function(A){(0,v.props.onChange)(A)},v.indent=function(){(0,v.props.onChange)("indent")},v.outdent=function(){(0,v.props.onChange)("outdent")},v}return M=_,(g=[{key:"renderInFlatList",value:function(){var v=this.props,f=v.config,O=v.currentState.listType,j=v.translations,A=v.indentDisabled,L=v.outdentDisabled,R=f.options,U=f.unordered,Q=f.ordered,X=f.indent,rt=f.outdent,Kt=f.className;return y.a.createElement("div",{className:N()("rdw-list-wrapper",Kt),"aria-label":"rdw-list-control"},0<=R.indexOf("unordered")&&y.a.createElement(Zt,{value:"unordered",onClick:this.toggleBlockType,className:N()(U.
31className),active:O==="unordered",title:U.title||j["components.controls.list.unordered"]},y.a.createElement("img",{src:U.icon,alt:""})),0<=R.indexOf("ordered")&&y.a.createElement(Zt,{value:"ordered",onClick:this.toggleBlockType,className:N()(Q.className),active:O==="ordered",title:Q.title||j["components.controls.list.ordered"]},y.a.createElement("img",{src:Q.icon,alt:""})),0<=R.indexOf("indent")&&y.a.createElement(Zt,{onClick:this.indent,disabled:A,className:N()(X.className),title:X.title||j["components.controls.list.indent"]},y.a.createElement("img",{src:X.icon,alt:""})),0<=R.indexOf("outdent")&&y.a.createElement(Zt,{onClick:this.outdent,disabled:L,className:N()(rt.className),title:rt.title||j["components.controls.list.outdent"]},y.a.createElement("img",{src:rt.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var v=this,f=this.props,O=f.config,j=f.expanded,A=f.doCollapse,L=f.doExpand,R=f.onExpandEvent,U=f.onChange,Q=f.currentState.listType,X=f.translations,rt=O.options,Kt=O.className,Dt=O.dropdownClassName,ut=O.title;return y.a.createElement(Yt,{className:N()("rdw-list-dropdown",Kt),optionWrapperClassName:N()(Dt),onChange:U,expanded:j,doExpand:L,doCollapse:A,onExpandEvent:R,"aria-label":"rdw-list-control",title:ut||X["components.controls.list.list"]},y.a.createElement("img",{src:yt(O),alt:""}),this.options.filter(function(Bt){return 0<=rt.indexOf(Bt)}).map(function(Bt,Jt){return y.a.createElement(ot,{key:Jt,value:Bt,disabled:v.props["".concat(Bt,"Disabled")],className:N()("rdw-list-dropdownOption",O[Bt].className),active:Q===Bt,title:O[Bt].title||X["components.controls.list.".concat(Bt)]},y.a.createElement("img",{src:O[Bt].icon,alt:""}))}))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&so(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();function No(M){return(No=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function lo(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function Ao(M,g){return(Ao=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function fo(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=Ci(M);if(g){var v=Ci(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(No(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function Ci(M){return(Ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}Re.propTypes={expanded:S.a.bool,doExpand:S.a.func,doCollapse:S.a.func,onExpandEvent:S.a.func,config:S.a.object,onChange:S.a.func,currentState:S.a.object,translations:S.a.object,indentDisabled:S.a.bool,outdentDisabled:S.a.bool};var va=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&Ao(v,f)})(_,k.Component);var M,g,b=fo(_);function _(v){var f;(function(L,R){if(!(L instanceof R))throw new TypeError("Cannot call a class as a function")})(this,_),(f=b.call(this,v)).onExpandEvent=function(){f.signalExpanded=!f.state.expanded},f.onChange=function(L){L==="unordered"?f.toggleBlockType("unordered-list-item"):L==="ordered"?f.toggleBlockType("ordered-list-item"):L==="indent"?f.adjustDepth(1):f.adjustDepth(-1)},f.expandCollapse=function(){f.setState({expanded:f.signalExpanded}),f.signalExpanded=!1},f.doExpand=function(){f.setState({expanded:!0})},f.doCollapse=function(){f.setState({expanded:!1})},f.toggleBlockType=function(L){var R=f.props,U=R.onChange,Q=R.editorState,X=D.RichUtils.toggleBlockType(Q,L);X&&U(X)},f.adjustDepth=function(L){var R=f.props,U=R.onChange,Q=R.editorState,X=Object(x.changeDepth)(Q,L,4);X&&U(X)},f.isIndentDisabled=function(){var L=f.props.editorState,R=f.state.currentBlock,U=Object(x.getBlockBeforeSelectedBlock)(L);return!U||!Object(x.isListBlock)(R)||U.get("type")!==R.get("type")||U.get("depth")<R.get("depth")},f.isOutdentDisabled=function(){var L=f.state.currentBlock;return!L||!Object(x.isListBlock)(L)||L.get("depth")<=0};var O=f.props,j=O.editorState,A=O.modalHandler;return f.state={expanded:!1,currentBlock:j?Object(x.getSelectedBlock)(j):void 0},A.registerCallBack(f.expandCollapse),f}return M=_,(g=[{key:"componentDidUpdate",value:function(v){var f=this.props.editorState;f&&f!==v.editorState&&this.setState({currentBlock:Object(x.getSelectedBlock)(f)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var v,f=this.props,O=f.config,j=f.translations,A=this.state,L=A.expanded,R=A.currentBlock,U=O.component||Re;R.get("type")==="unordered-list-item"?v="unordered":R.get("type")==="ordered-list-item"&&(v="ordered");var Q=this.isIndentDisabled(),X=this.isOutdentDisabled();return y.a.createElement(U,{config:O,translations:j,currentState:{listType:v},expanded:L,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange,indentDisabled:Q,outdentDisabled:X})}}])&&lo(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();va.propTypes={onChange:S.a.func.isRequired,editorState:S.a.object.isRequired,modalHandler:S.a.object,config:S.a.object,translations:S.a.object},w(19);function ma(M){return(ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Sn(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}
31function zo(M,g){return(zo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function ki(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=po(M);if(g){var v=po(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(ma(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function po(M){return(po=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var Ro=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&zo(v,f)})(_,k.Component);var M,g,b=ki(_);function _(){return function(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}(this,_),b.apply(this,arguments)}return M=_,(g=[{key:"renderInFlatList",value:function(){var v=this.props,f=v.config,O=f.options,j=f.left,A=f.center,L=f.right,R=f.justify,U=f.className,Q=v.onChange,X=v.currentState.textAlignment,rt=v.translations;return y.a.createElement("div",{className:N()("rdw-text-align-wrapper",U),"aria-label":"rdw-textalign-control"},0<=O.indexOf("left")&&y.a.createElement(Zt,{value:"left",className:N()(j.className),active:X==="left",onClick:Q,title:j.title||rt["components.controls.textalign.left"]},y.a.createElement("img",{src:j.icon,alt:""})),0<=O.indexOf("center")&&y.a.createElement(Zt,{value:"center",className:N()(A.className),active:X==="center",onClick:Q,title:A.title||rt["components.controls.textalign.center"]},y.a.createElement("img",{src:A.icon,alt:""})),0<=O.indexOf("right")&&y.a.createElement(Zt,{value:"right",className:N()(L.className),active:X==="right",onClick:Q,title:L.title||rt["components.controls.textalign.right"]},y.a.createElement("img",{src:L.icon,alt:""})),0<=O.indexOf("justify")&&y.a.createElement(Zt,{value:"justify",className:N()(R.className),active:X==="justify",onClick:Q,title:R.title||rt["components.controls.textalign.justify"]},y.a.createElement("img",{src:R.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var v=this.props,f=v.config,O=v.expanded,j=v.doExpand,A=v.onExpandEvent,L=v.doCollapse,R=v.currentState.textAlignment,U=v.onChange,Q=v.translations,X=f.options,rt=f.left,Kt=f.center,Dt=f.right,ut=f.justify,Bt=f.className,Jt=f.dropdownClassName,ce=f.title;return y.a.createElement(Yt,{className:N()("rdw-text-align-dropdown",Bt),optionWrapperClassName:N()(Jt),onChange:U,expanded:O,doExpand:j,doCollapse:L,onExpandEvent:A,"aria-label":"rdw-textalign-control",title:ce||Q["components.controls.textalign.textalign"]},y.a.createElement("img",{src:R&&f[R]&&f[R].icon||yt(f),alt:""}),0<=X.indexOf("left")&&y.a.createElement(ot,{value:"left",active:R==="left",className:N()("rdw-text-align-dropdownOption",rt.className),title:rt.title||Q["components.controls.textalign.left"]},y.a.createElement("img",{src:rt.icon,alt:""})),0<=X.indexOf("center")&&y.a.createElement(ot,{value:"center",active:R==="center",className:N()("rdw-text-align-dropdownOption",Kt.className),title:Kt.title||Q["components.controls.textalign.center"]},y.a.createElement("img",{src:Kt.icon,alt:""})),0<=X.indexOf("right")&&y.a.createElement(ot,{value:"right",active:R==="right",className:N()("rdw-text-align-dropdownOption",Dt.className),title:Dt.title||Q["components.controls.textalign.right"]},y.a.createElement("img",{src:Dt.icon,alt:""})),0<=X.indexOf("justify")&&y.a.createElement(ot,{value:"justify",active:R==="justify",className:N()("rdw-text-align-dropdownOption",ut.className),title:ut.title||Q["components.c
31ontrols.textalign.justify"]},y.a.createElement("img",{src:ut.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Sn(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();function Bo(M){return(Bo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Oi(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function _a(M,g){return(_a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function us(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=Di(M);if(g){var v=Di(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Bo(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function Di(M){return(Di=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}Ro.propTypes={expanded:S.a.bool,doExpand:S.a.func,doCollapse:S.a.func,onExpandEvent:S.a.func,config:S.a.object,onChange:S.a.func,currentState:S.a.object,translations:S.a.object};var Sa=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&_a(v,f)})(_,k.Component);var M,g,b=us(_);function _(v){var f;(function(j,A){if(!(j instanceof A))throw new TypeError("Cannot call a class as a function")})(this,_),(f=b.call(this,v)).onExpandEvent=function(){f.signalExpanded=!f.state.expanded},f.expandCollapse=function(){f.setState({expanded:f.signalExpanded}),f.signalExpanded=!1},f.doExpand=function(){f.setState({expanded:!0})},f.doCollapse=function(){f.setState({expanded:!1})},f.addBlockAlignmentData=function(j){var A=f.props,L=A.editorState,R=A.onChange;R(f.state.currentTextAlignment!==j?Object(x.setBlockData)(L,{"text-align":j}):Object(x.setBlockData)(L,{"text-align":void 0}))};var O=f.props.modalHandler;return f.state={currentTextAlignment:void 0},O.registerCallBack(f.expandCollapse),f}return M=_,(g=[{key:"componentDidUpdate",value:function(v){var f=this.props.editorState;f!==v.editorState&&this.setState({currentTextAlignment:Object(x.getSelectedBlocksMetadata)(f).get("text-align")})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var v=this.props,f=v.config,O=v.translations,j=this.state,A=j.expanded,L=j.currentTextAlignment,R=f.component||Ro;return y.a.createElement(R,{config:f,translations:O,expanded:A,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{textAlignment:L},onChange:this.addBlockAlignmentData})}}])&&Oi(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();Sa.propTypes={editorState:S.a.object.isRequired,onChange:S.a.func.isRequired,modalHandler:S.a.object,config:S.a.object,translations:S.a.object},w(20);function wa(M){return(wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function qt(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}
31function Po(M,g){return(Po=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function xi(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=ve(M);if(g){var v=ve(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(wa(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function ve(M){return(ve=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var tr=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&Po(v,f)})(_,k.Component);var M,g,b=xi(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).state={currentStyle:"color"},v.onChange=function(A){(0,v.props.onChange)(v.state.currentStyle,A)},v.setCurrentStyleColor=function(){v.setState({currentStyle:"color"})},v.setCurrentStyleBgcolor=function(){v.setState({currentStyle:"bgcolor"})},v.renderModal=function(){var A=v.props,L=A.config,R=L.popupClassName,U=L.colors,Q=A.currentState,X=Q.color,rt=Q.bgColor,Kt=A.translations,Dt=v.state.currentStyle,ut=Dt==="color"?X:rt;return y.a.createElement("div",{className:N()("rdw-colorpicker-modal",R),onClick:dt},y.a.createElement("span",{className:"rdw-colorpicker-modal-header"},y.a.createElement("span",{className:N()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":Dt==="color"}),onClick:v.setCurrentStyleColor},Kt["components.controls.colorpicker.text"]),y.a.createElement("span",{className:N()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":Dt==="bgcolor"}),onClick:v.setCurrentStyleBgcolor},Kt["components.controls.colorpicker.background"])),y.a.createElement("span",{className:"rdw-colorpicker-modal-options"},U.map(function(Bt,Jt){return y.a.createElement(Zt,{value:Bt,key:Jt,className:"rdw-colorpicker-option",activeClassName:"rdw-colorpicker-option-active",active:ut===Bt,onClick:v.onChange},y.a.createElement("span",{style:{backgroundColor:Bt},className:"rdw-colorpicker-cube"}))})))},v}return M=_,(g=[{key:"componentDidUpdate",value:function(v){this.props.expanded&&!v.expanded&&this.setState({currentStyle:"color"})}},{key:"render",value:function(){var v=this.props,f=v.config,O=f.icon,j=f.className,A=f.title,L=v.expanded,R=v.onExpandEvent,U=v.translations;return y.a.createElement("div",{className:"rdw-colorpicker-wrapper","aria-haspopup":"true","aria-expanded":L,"aria-label":"rdw-color-picker",title:A||U["components.controls.colorpicker.colorpicker"]},y.a.createElement(Zt,{onClick:R,className:N()(j)},y.a.createElement("img",{src:O,alt:""})),L?this.renderModal():void 0)}}])&&qt(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();tr.propTypes={expanded:S.a.bool,onExpandEvent:S.a.func,onChange:S.a.func,config:S.a.object,currentState:S.a.object,translations:S.a.object};var Qr=tr;function Fo(M){return(Fo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Vr(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}
31function $o(M,g){return($o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function ho(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=Ti(M);if(g){var v=Ti(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Fo(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function Ti(M){return(Ti=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var Bn=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&$o(v,f)})(_,k.Component);var M,g,b=ho(_);function _(v){var f;(function(L,R){if(!(L instanceof R))throw new TypeError("Cannot call a class as a function")})(this,_),(f=b.call(this,v)).state={expanded:!1,currentColor:void 0,currentBgColor:void 0},f.onExpandEvent=function(){f.signalExpanded=!f.state.expanded},f.expandCollapse=function(){f.setState({expanded:f.signalExpanded}),f.signalExpanded=!1},f.doExpand=function(){f.setState({expanded:!0})},f.doCollapse=function(){f.setState({expanded:!1})},f.toggleColor=function(L,R){var U=f.props,Q=U.editorState,X=U.onChange,rt=Object(x.toggleCustomInlineStyle)(Q,L,R);rt&&X(rt),f.doCollapse()};var O=v.editorState,j=v.modalHandler,A={expanded:!1,currentColor:void 0,currentBgColor:void 0};return O&&(A.currentColor=Object(x.getSelectionCustomInlineStyle)(O,["COLOR"]).COLOR,A.currentBgColor=Object(x.getSelectionCustomInlineStyle)(O,["BGCOLOR"]).BGCOLOR),f.state=A,j.registerCallBack(f.expandCollapse),f}return M=_,(g=[{key:"componentDidUpdate",value:function(v){var f=this.props.editorState;f&&f!==v.editorState&&this.setState({currentColor:Object(x.getSelectionCustomInlineStyle)(f,["COLOR"]).COLOR,currentBgColor:Object(x.getSelectionCustomInlineStyle)(f,["BGCOLOR"]).BGCOLOR})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var v=this.props,f=v.config,O=v.translations,j=this.state,A=j.currentColor,L=j.currentBgColor,R=j.expanded,U=f.component||Qr,Q=A&&A.substring(6),X=L&&L.substring(8);return y.a.createElement(U,{config:f,translations:O,onChange:this.toggleColor,expanded:R,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{color:Q,bgColor:X}})}}])&&Vr(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();Bn.propTypes={onChange:S.a.func.isRequired,editorState:S.a.object.isRequired,modalHandler:S.a.object,config:S.a.object,translations:S.a.object};var Or=Bn,Ii=w(7),ar=w.n(Ii);w(26);function cn(M){return(cn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Zr(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function te(M,g){return(te=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function ji(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=wn(M);if(g){var v=wn(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(cn(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}
31function wn(M){return(wn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var Uo=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&te(v,f)})(_,k.Component);var M,g,b=ji(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).state={showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:v.props.config.defaultTargetOption},v.removeLink=function(){(0,v.props.onChange)("unlink")},v.addLink=function(){var A=v.props.onChange,L=v.state;A("link",L.linkTitle,L.linkTarget,L.linkTargetOption)},v.updateValue=function(A){var L,R,U;v.setState((L={},R="".concat(A.target.name),U=A.target.value,R in L?Object.defineProperty(L,R,{value:U,enumerable:!0,configurable:!0,writable:!0}):L[R]=U,L))},v.updateTargetOption=function(A){v.setState({linkTargetOption:A.target.checked?"_blank":"_self"})},v.hideModal=function(){v.setState({showModal:!1})},v.signalExpandShowModal=function(){var A=v.props,L=A.onExpandEvent,R=A.currentState,U=R.link,Q=R.selectionText,X=v.state.linkTargetOption;L(),v.setState({showModal:!0,linkTarget:U&&U.target||"",linkTargetOption:U&&U.targetOption||X,linkTitle:U&&U.title||Q})},v.forceExpandAndShowModal=function(){var A=v.props,L=A.doExpand,R=A.currentState,U=R.link,Q=R.selectionText,X=v.state.linkTargetOption;L(),v.setState({showModal:!0,linkTarget:U&&U.target,linkTargetOption:U&&U.targetOption||X,linkTitle:U&&U.title||Q})},v}return M=_,(g=[{key:"componentDidUpdate",value:function(v){v.expanded&&!this.props.expanded&&this.setState({showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:this.props.config.defaultTargetOption})}},{key:"renderAddLinkModal",value:function(){var v=this.props,f=v.config.popupClassName,O=v.doCollapse,j=v.translations,A=this.state,L=A.linkTitle,R=A.linkTarget,U=A.linkTargetOption;return y.a.createElement("div",{className:N()("rdw-link-modal",f),onClick:dt},y.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTitle"},j["components.controls.link.linkTitle"]),y.a.createElement("input",{id:"linkTitle",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTitle",value:L}),y.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTarget"},j["components.controls.link.linkTarget"]),y.a.createElement("input",{id:"linkTarget",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTarget",value:R}),y.a.createElement("label",{className:"rdw-link-modal-target-option",htmlFor:"openLinkInNewWindow"},y.a.createElement("input",{id:"openLinkInNewWindow",type:"checkbox",defaultChecked:U==="_blank",value:"_blank",onChange:this.updateTargetOption}),y.a.createElement("span",null,j["components.controls.link.linkTargetOption"])),y.a.createElement("span",{className:"rdw-link-modal-buttonsection"},y.a.createElement("button",{className:"rdw-link-modal-btn",onClick:this.addLink,disabled:!R||!L},j["generic.add"]),y.a.createElement("button",{className:"rdw-link-modal-btn",onClick:O},j["generic.cancel"])))}},{key:"renderInFlatList",value:function(){var v=this.props,f=v.config,O=f.options,j=f.link,A=f.unlink,L=f.className,R=v.currentState,U=v.expanded,Q=v.translations,X=this.state.showModal;return y.a.createElement("div",{className:N()("rdw-link-wrapper",L),"aria-label":"rdw-link-control"},0<=O.indexOf("link")&&y.a.createElement(Zt,{value:"unordered-list-item",className:N()(j.className),onClick:this.signalExpandShowModal,"aria-haspopup":"true","aria-expanded":X,title:j.title||Q["components.controls.link.link"]},y.a.createElement("img",{src:j.icon,alt:""})),0<=O.indexOf("unlink")&&y.a.createElement(Zt,{disabled:!R.link,value:"ordered-list-item",className:N()(A.className),onClick:this.removeLink,title:A.title||Q["components.c
31ontrols.link.unlink"]},y.a.createElement("img",{src:A.icon,alt:""})),U&&X?this.renderAddLinkModal():void 0)}},{key:"renderInDropDown",value:function(){var v=this.props,f=v.expanded,O=v.onExpandEvent,j=v.doCollapse,A=v.doExpand,L=v.onChange,R=v.config,U=v.currentState,Q=v.translations,X=R.options,rt=R.link,Kt=R.unlink,Dt=R.className,ut=R.dropdownClassName,Bt=R.title,Jt=this.state.showModal;return y.a.createElement("div",{className:"rdw-link-wrapper","aria-haspopup":"true","aria-label":"rdw-link-control","aria-expanded":f,title:Bt},y.a.createElement(Yt,{className:N()("rdw-link-dropdown",Dt),optionWrapperClassName:N()(ut),onChange:L,expanded:f&&!Jt,doExpand:A,doCollapse:j,onExpandEvent:O},y.a.createElement("img",{src:yt(R),alt:""}),0<=X.indexOf("link")&&y.a.createElement(ot,{onClick:this.forceExpandAndShowModal,className:N()("rdw-link-dropdownoption",rt.className),title:rt.title||Q["components.controls.link.link"]},y.a.createElement("img",{src:rt.icon,alt:""})),0<=X.indexOf("unlink")&&y.a.createElement(ot,{onClick:this.removeLink,disabled:!U.link,className:N()("rdw-link-dropdownoption",Kt.className),title:Kt.title||Q["components.controls.link.unlink"]},y.a.createElement("img",{src:Kt.icon,alt:""}))),f&&Jt?this.renderAddLinkModal():void 0)}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Zr(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();Uo.propTypes={expanded:S.a.bool,doExpand:S.a.func,doCollapse:S.a.func,onExpandEvent:S.a.func,config:S.a.object,onChange:S.a.func,currentState:S.a.object,translations:S.a.object};var bn=Uo;function Ko(M){return(Ko=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Le(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function _r(M,g){return(_r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function Dr(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=lr(M);if(g){var v=lr(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Ko(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function lr(M){return(lr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}function Ho(M,g){var b=Object.keys(M);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(M);g&&(_=_.filter(function(v){return Object.getOwnPropertyDescriptor(M,v).enumerable})),b.push.apply(b,_)}return b}function qo(M){for(var g=1;g<arguments.length;g++){var b=arguments[g]!=null?arguments[g]:{};g%2?Ho(Object(b),!0).forEach(function(_){go(M,_,b[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(b)):Ho(Object(b)).forEach(function(_){Object.defineProperty(M,_,Object.getOwnPropertyDescriptor(b,_))})}return M}function go(M,g,b){return g in M?Object.defineProperty(M,g,{value:b,enumerable:!0,configurable:!0,writable:!0}):M[g]=b,M}function Li(M){var g=cs.match(M.target);return qo(qo({},M),{},{target:g&&g[0]&&g[0].url||M.target})}var cs=ar()(),ba=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&_r(v,f)})(_,k.Component);var M,g,b=Dr(_);function _(v){var f;(function(L,R){if(!(L instanceof R))throw new TypeError("Cannot call a class as a function")})(this,_),(f=b.call(this,v)).onExpandEvent=function(){f.signalExpanded=!f.state.expanded},f.onChange=function(L,R,U,Q){var X=f.props.config.linkCallback;if(L==="link"){var rt=(X||Li)({title:R,target:U,targetOption:Q});f.addLink(rt.title,rt.target,rt.targetOption)}else f.removeLink()},f.getCurrentValues=function(){var L=f.props.editorState,R=f.state.currentEntity,U=L.getCurrentContent(),Q={};if(R&&U.getEntity(R).get("type")==="LINK"){Q.link={};var X=R&&Object(x.getEntityRange)(L,R);Q.link.target=R&&U.getEntity(R).get("data").url,Q.link.targetOption=R&&U.getEntity(R).get("data").targetOption,Q.link.title=X&&X.text}return Q.selectionText=Object(x.getSelectionText)(L),Q},f.doExpand=function(){f.setState({expanded:!0})},f.expandCollapse=function(){f.setState({expanded:f.signalExpanded}),f.signalExpanded=!1},f.doCollapse=function(){f.setState({expanded:!1})},f.removeLink=function(){var L=f.props,R=L.editorState,U=L.onChange,Q=f.state.currentEntity,X=R.getSelection();if(Q){var rt=Object(x.getEntityRange)(R,Q);X=X.getIsBackward()?X.merge({anchorOffset:rt.end,focusOffset:rt.start}):X.merge({anchorOffset:rt.start,focusOffset:rt.end}),U(D.RichUtils.toggleLink(R,X,null))}},f.addLink=function(L,R,U){var Q=f.props,X=Q.editorState,rt=Q.onChange,Kt=f.state.currentEntity,Dt=X.getSelection();if(Kt){var ut=Object(x.getEntityRange)(X,Kt);Dt=Dt.getIsBackward()?Dt.merge({anchorOffset:ut.end,focusOffset:ut.start}):Dt.merge({anchorOffset:ut.start,focusOffset:ut.end})}var Bt=X.getCurrentContent().createEntity("LINK","MUTABLE",{url:R,targetOption:U}).getLastCreatedEntityKey(),Jt=D.Modifier.replaceText(X.getCurrentContent(),Dt,"".concat(L),X.getCurrentInlineStyle(),Bt),ce=D.EditorState.push(X,Jt,"insert-characters");Dt=ce.getSelection().merge({anchorOffset:Dt.get("anchorOffset")+L.length,focusOffset:Dt.get("anchorOffset")+L.length}),ce=D.EditorState.acceptSelection(ce,Dt),Jt=D.Modifier.insertText(ce.getCurrentContent(),Dt," ",ce.getCurrentInlineStyle(),void 0),rt(D.EditorState.push(ce,Jt,"insert-characters")),f.doCollapse()};var O=f.props,j=O.editorState,A=O.modalHandler;return f.state={expanded:!1,link:void 0,selectionText:void 0,currentEntity:j?Object(x.getSelectionEntity)(j):void 0},A.registerCallBack(f.expandCollapse),f}return M=_,(g=[{key:"componentDidUpdate",value:function(v){var f=this.props.editorState;f&&f!==v.editorState&&this.setState({currentEntity:Object(x.getSelectionEntity)(f)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var v=this.props,f=v.config,O=v.translations,j=this.state.expanded,A=this.getCurrentValues(),L=A.link,R=A.selectionText,U=f.component||bn;return y.a.createElement(U,{config:f,translations:O,expanded:j,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{link:L,selectionText:R},onChange:this.onChange})}}])&&Le(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();ba.propTypes={editorState:S.a.object.isRequired,onChange:S.a.func.isRequired,modalHandler:S.a.object,config:S.a.object,translations:S.a.object};var yo=ba;w(27);function Ea(M){return(Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Ni(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}
31function Ma(M,g){return(Ma=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function Ai(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=zi(M);if(g){var v=zi(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Ea(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function zi(M){return(zi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var Ca=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&Ma(v,f)})(_,k.Component);var M,g,b=Ai(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).state={embeddedLink:"",height:v.props.config.defaultSize.height,width:v.props.config.defaultSize.width},v.onChange=function(){var A=v.props.onChange,L=v.state;A(L.embeddedLink,L.height,L.width)},v.updateValue=function(A){var L,R,U;v.setState((L={},R="".concat(A.target.name),U=A.target.value,R in L?Object.defineProperty(L,R,{value:U,enumerable:!0,configurable:!0,writable:!0}):L[R]=U,L))},v}return M=_,(g=[{key:"componentDidUpdate",value:function(v){var f=this.props,O=f.expanded,j=f.config;if(!O&&v.expanded){var A=j.defaultSize,L=A.height,R=A.width;this.setState({embeddedLink:"",height:L,width:R})}}},{key:"rendeEmbeddedLinkModal",value:function(){var v=this.state,f=v.embeddedLink,O=v.height,j=v.width,A=this.props,L=A.config.popupClassName,R=A.doCollapse,U=A.translations;return y.a.createElement("div",{className:N()("rdw-embedded-modal",L),onClick:dt},y.a.createElement("div",{className:"rdw-embedded-modal-header"},y.a.createElement("span",{className:"rdw-embedded-modal-header-option"},U["components.controls.embedded.embeddedlink"],y.a.createElement("span",{className:"rdw-embedded-modal-header-label"}))),y.a.createElement("div",{className:"rdw-embedded-modal-link-section"},y.a.createElement("span",{className:"rdw-embedded-modal-link-input-wrapper"},y.a.createElement("input",{className:"rdw-embedded-modal-link-input",placeholder:U["components.controls.embedded.enterlink"],onChange:this.updateValue,onBlur:this.updateValue,value:f,name:"embeddedLink"}),y.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),y.a.createElement("div",{className:"rdw-embedded-modal-size"},y.a.createElement("span",null,y.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:O,name:"height",className:"rdw-embedded-modal-size-input",placeholder:"Height"}),y.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),y.a.createElement("span",null,y.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:j,name:"width",className:"rdw-embedded-modal-size-input",placeholder:"Width"}),y.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")))),y.a.createElement("span",{className:"rdw-embedded-modal-btn-section"},y.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:this.onChange,disabled:!f||!O||!j},U["generic.add"]),y.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:R},U["generic.cancel"])))}},{key:"render",value:function(){var v=this.props,f=v.config,O=f.icon,j=f.className,A=f.title,L=v.expanded,R=v.onExpandEvent,U=v.translations;return y.a.createElement("div",{className:"rdw-embedded-wrapper","aria-haspopup":"true","aria-expanded":L,"aria-label":"rdw-embedded-control"},y.a.createElement(Zt,{className:N()(j),value:"unordered-list-item",onClick:R,title:A||U["components.c
31ontrols.embedded.embedded"]},y.a.createElement("img",{src:O,alt:""})),L?this.rendeEmbeddedLinkModal():void 0)}}])&&Ni(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();Ca.propTypes={expanded:S.a.bool,onExpandEvent:S.a.func,onChange:S.a.func,config:S.a.object,translations:S.a.object,doCollapse:S.a.func};var xr=Ca;function ln(M){return(ln=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Ri(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function Pn(M,g){return(Pn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function Pt(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=vo(M);if(g){var v=vo(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(ln(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function vo(M){return(vo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var Yo=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&Pn(v,f)})(_,k.Component);var M,g,b=Pt(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).state={expanded:!1},v.onExpandEvent=function(){v.signalExpanded=!v.state.expanded},v.expandCollapse=function(){v.setState({expanded:v.signalExpanded}),v.signalExpanded=!1},v.doExpand=function(){v.setState({expanded:!0})},v.doCollapse=function(){v.setState({expanded:!1})},v.addEmbeddedLink=function(A,L,R){var U=v.props,Q=U.editorState,X=U.onChange,rt=U.config.embedCallback,Kt=rt?rt(A):A,Dt=Q.getCurrentContent().createEntity("EMBEDDED_LINK","MUTABLE",{src:Kt,height:L,width:R}).getLastCreatedEntityKey();X(D.AtomicBlockUtils.insertAtomicBlock(Q,Dt," ")),v.doCollapse()},v}return M=_,(g=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var v=this.props,f=v.config,O=v.translations,j=this.state.expanded,A=f.component||xr;return y.a.createElement(A,{config:f,translations:O,onChange:this.addEmbeddedLink,expanded:j,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Ri(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();Yo.propTypes={editorState:S.a.object.isRequired,onChange:S.a.func.isRequired,modalHandler:S.a.object,config:S.a.object,translations:S.a.object};var Bi=Yo;w(28);function Ve(M){return(Ve=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function mo(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function Wo(M,g){return(Wo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function Pi(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=ke(M);if(g){var v=ke(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Ve(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function ke(M){return(ke=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var pe=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&Wo(v,f)})(_,k.Component);var M,g,b=Pi(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).onChange=function(A){(0,v.props.onChange)(A.target.innerHTML)},v}return M=_,(g=[{key:"renderEmojiModal",value:function(){var v=this,f=this.props.config,O=f.popupClassName,j=f.emojis;return y.a.createElement("div",{className:N()("rdw-emoji-modal",O),onClick:dt},j.map(function(A,L){return y.a.createElement("span",{key:L,className:"rdw-emoji-icon",alt:"",onClick:v.onChange},A)}))}},{key:"render",value:function(){var v=this.props,f=v.config,O=f.icon,j=f.className,A=f.title,L=v.expanded,R=v.onExpandEvent,U=v.translations;return y.a.createElement("div",{className:"rdw-emoji-wrapper","aria-haspopup":"true","aria-label":"rdw-emoji-control","aria-expanded":L,title:A||U["components.c
31ontrols.emoji.emoji"]},y.a.createElement(Zt,{className:N()(j),value:"unordered-list-item",onClick:R},y.a.createElement("img",{src:O,alt:""})),L?this.renderEmojiModal():void 0)}}])&&mo(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();pe.propTypes={expanded:S.a.bool,onExpandEvent:S.a.func,onChange:S.a.func,config:S.a.object,translations:S.a.object};var En=pe;function Qo(M){return(Qo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function ls(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function ka(M,g){return(ka=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function Wt(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=Mn(M);if(g){var v=Mn(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Qo(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function Mn(M){return(Mn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var Vo=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&ka(v,f)})(_,k.Component);var M,g,b=Wt(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).state={expanded:!1},v.onExpandEvent=function(){v.signalExpanded=!v.state.expanded},v.expandCollapse=function(){v.setState({expanded:v.signalExpanded}),v.signalExpanded=!1},v.doExpand=function(){v.setState({expanded:!0})},v.doCollapse=function(){v.setState({expanded:!1})},v.addEmoji=function(A){var L=v.props,R=L.editorState,U=L.onChange,Q=D.Modifier.replaceText(R.getCurrentContent(),R.getSelection(),A,R.getCurrentInlineStyle());U(D.EditorState.push(R,Q,"insert-characters")),v.doCollapse()},v}return M=_,(g=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var v=this.props,f=v.config,O=v.translations,j=this.state.expanded,A=f.component||En;return y.a.createElement(A,{config:f,translations:O,onChange:this.addEmoji,expanded:j,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onCollpase:this.closeModal})}}])&&ls(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();Vo.propTypes={editorState:S.a.object.isRequired,onChange:S.a.func.isRequired,modalHandler:S.a.object,config:S.a.object,translations:S.a.object};function Ie(){return y.a.createElement("div",{className:"rdw-spinner"},y.a.createElement("div",{className:"rdw-bounce1"}),y.a.createElement("div",{className:"rdw-bounce2"}),y.a.createElement("div",{className:"rdw-bounce3"}))}w(29),w(30);function Fn(M){return(Fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Fi(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}
31function Zo(M,g){return(Zo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function _o(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=Ke(M);if(g){var v=Ke(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Fn(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function Ke(M){return(Ke=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var Go=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&Zo(v,f)})(_,k.Component);var M,g,b=_o(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).state={imgSrc:"",dragEnter:!1,uploadHighlighted:v.props.config.uploadEnabled&&!!v.props.config.uploadCallback,showImageLoading:!1,height:v.props.config.defaultSize.height,width:v.props.config.defaultSize.width,alt:""},v.onDragEnter=function(A){v.stopPropagation(A),v.setState({dragEnter:!0})},v.onImageDrop=function(A){var L,R;A.preventDefault(),A.stopPropagation(),v.setState({dragEnter:!1}),R=A.dataTransfer.items?(L=A.dataTransfer.items,!0):(L=A.dataTransfer.files,!1);for(var U=0;U<L.length;U+=1)if((!R||L[U].kind==="file")&&L[U].type.match("^image/")){var Q=R?L[U].getAsFile():L[U];v.uploadImage(Q)}},v.showImageUploadOption=function(){v.setState({uploadHighlighted:!0})},v.addImageFromState=function(){var A=v.state,L=A.imgSrc,R=A.alt,U=v.state,Q=U.height,X=U.width,rt=v.props.onChange;isNaN(Q)||(Q+="px"),isNaN(X)||(X+="px"),rt(L,Q,X,R)},v.showImageURLOption=function(){v.setState({uploadHighlighted:!1})},v.toggleShowImageLoading=function(){var A=!v.state.showImageLoading;v.setState({showImageLoading:A})},v.updateValue=function(A){var L,R,U;v.setState((L={},R="".concat(A.target.name),U=A.target.value,R in L?Object.defineProperty(L,R,{value:U,enumerable:!0,configurable:!0,writable:!0}):L[R]=U,L))},v.selectImage=function(A){A.target.files&&0<A.target.files.length&&v.uploadImage(A.target.files[0])},v.uploadImage=function(A){v.toggleShowImageLoading(),(0,v.props.config.uploadCallback)(A).then(function(L){var R=L.data;v.setState({showImageLoading:!1,dragEnter:!1,imgSrc:R.link||R.url}),v.fileUpload=!1}).catch(function(){v.setState({showImageLoading:!1,dragEnter:!1})})},v.fileUploadClick=function(A){v.fileUpload=!0,A.stopPropagation()},v.stopPropagation=function(A){v.fileUpload?v.fileUpload=!1:(A.preventDefault(),A.stopPropagation())},v}return M=_,(g=[{key:"componentDidUpdate",value:function(v){var f=this.props.config;v.expanded&&!this.props.expanded?this.setState({imgSrc:"",dragEnter:!1,uploadHighlighted:f.uploadEnabled&&!!f.uploadCallback,showImageLoading:!1,height:f.defaultSize.height,width:f.defaultSize.width,alt:""}):f.uploadCallback===v.config.uploadCallback&&f.uploadEnabled===v.config.uploadEnabled||this.setState({uploadHighlighted:f.uploadEnabled&&!!f.uploadCallback})}},{key:"renderAddImageModal",value:function(){var v=this.state,f=v.imgSrc,O=v.uploadHighlighted,j=v.showImageLoading,A=v.dragEnter,L=v.height,R=v.width,U=v.alt,Q=this.props,X=Q.config,rt=X.popupClassName,Kt=X.uploadCallback,Dt=X.uploadEnabled,ut=X.urlEnabled,Bt=X.previewImage,Jt=X.inputAccept,ce=X.alt,_e=Q.doCollapse,de=Q.translations;return y.a.createElement("div",{className:N()("rdw-image-modal",rt),onClick:this.stopPropagation},y.a.createElement("div",{className:"rdw-image-modal-header"},Dt&&Kt&&y.a.createElement("span",{onClick:this.showImageUploadOption,className:"rdw-image-modal-header-option"}
31,de["components.controls.image.fileUpload"],y.a.createElement("span",{className:N()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":O})})),ut&&y.a.createElement("span",{onClick:this.showImageURLOption,className:"rdw-image-modal-header-option"},de["components.controls.image.byURL"],y.a.createElement("span",{className:N()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":!O})}))),O?y.a.createElement("div",{onClick:this.fileUploadClick},y.a.createElement("div",{onDragEnter:this.onDragEnter,onDragOver:this.stopPropagation,onDrop:this.onImageDrop,className:N()("rdw-image-modal-upload-option",{"rdw-image-modal-upload-option-highlighted":A})},y.a.createElement("label",{htmlFor:"file",className:"rdw-image-modal-upload-option-label"},Bt&&f?y.a.createElement("img",{src:f,alt:f,className:"rdw-image-modal-upload-option-image-preview"}):f||de["components.controls.image.dropFileText"])),y.a.createElement("input",{type:"file",id:"file",accept:Jt,onChange:this.selectImage,className:"rdw-image-modal-upload-option-input"})):y.a.createElement("div",{className:"rdw-image-modal-url-section"},y.a.createElement("input",{className:"rdw-image-modal-url-input",placeholder:de["components.controls.image.enterlink"],name:"imgSrc",onChange:this.updateValue,onBlur:this.updateValue,value:f}),y.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),ce.present&&y.a.createElement("div",{className:"rdw-image-modal-size"},y.a.createElement("span",{className:"rdw-image-modal-alt-lbl"},"Alt Text"),y.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:U,name:"alt",className:"rdw-image-modal-alt-input",placeholder:"alt"}),y.a.createElement("span",{className:"rdw-image-mandatory-sign"},ce.mandatory&&"*")),y.a.createElement("div",{className:"rdw-image-modal-size"},"â ",y.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:L,name:"height",className:"rdw-image-modal-size-input",placeholder:"Height"}),y.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")," â ",y.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:R,name:"width",className:"rdw-image-modal-size-input",placeholder:"Width"}),y.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),y.a.createElement("span",{className:"rdw-image-modal-btn-section"},y.a.createElement("button",{className:"rdw-image-modal-btn",onClick:this.addImageFromState,disabled:!f||!L||!R||ce.mandatory&&!U},de["generic.add"]),y.a.createElement("button",{className:"rdw-image-modal-btn",onClick:_e},de["generic.cancel"])),j?y.a.createElement("div",{className:"rdw-image-modal-spinner"},y.a.createElement(Ie,null)):void 0)}},{key:"render",value:function(){var v=this.props,f=v.config,O=f.icon,j=f.className,A=f.title,L=v.expanded,R=v.onExpandEvent,U=v.translations;return y.a.createElement("div",{className:"rdw-image-wrapper","aria-haspopup":"true","aria-expanded":L,"aria-label":"rdw-image-control"},y.a.createElement(Zt,{className:N()(j),value:"unordered-list-item",onClick:R,title:A||U["components.controls.image.image"]},y.a.createElement("img",{src:O,alt:""})),L?this.renderAddImageModal():void 0)}}])&&Fi(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();Go.propTypes={expanded:S.a.bool,onExpandEvent:S.a.func,doCollapse:S.a.func,onChange:S.a.func,config:S.a.object,translations:S.a.object};var Cn=Go;function Jo(M){return(Jo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function $i(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function $n(M,g){return($n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function ne(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=So(M);if(g){var v=So(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Jo(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}
31function So(M){return(So=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var Xo=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&$n(v,f)})(_,k.Component);var M,g,b=ne(_);function _(v){var f;(function(j,A){if(!(j instanceof A))throw new TypeError("Cannot call a class as a function")})(this,_),(f=b.call(this,v)).onExpandEvent=function(){f.signalExpanded=!f.state.expanded},f.doExpand=function(){f.setState({expanded:!0})},f.doCollapse=function(){f.setState({expanded:!1})},f.expandCollapse=function(){f.setState({expanded:f.signalExpanded}),f.signalExpanded=!1},f.addImage=function(j,A,L,R){var U=f.props,Q=U.editorState,X=U.onChange,rt={src:j,height:A,width:L};U.config.alt.present&&(rt.alt=R);var Kt=Q.getCurrentContent().createEntity("IMAGE","MUTABLE",rt).getLastCreatedEntityKey();X(D.AtomicBlockUtils.insertAtomicBlock(Q,Kt," ")),f.doCollapse()};var O=f.props.modalHandler;return f.state={expanded:!1},O.registerCallBack(f.expandCollapse),f}return M=_,(g=[{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var v=this.props,f=v.config,O=v.translations,j=this.state.expanded,A=f.component||Cn;return y.a.createElement(A,{config:f,translations:O,onChange:this.addImage,expanded:j,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&$i(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();Xo.propTypes={editorState:S.a.object.isRequired,onChange:S.a.func.isRequired,modalHandler:S.a.object,config:S.a.object,translations:S.a.object};function Sr(M){var g=M.config,b=M.onChange,_=M.translations,v=g.icon,f=g.className,O=g.title;return y.a.createElement("div",{className:"rdw-remove-wrapper","aria-label":"rdw-remove-control"},y.a.createElement(Zt,{className:N()(f),onClick:b,title:O||_["components.controls.remove.remove"]},y.a.createElement("img",{src:v,alt:""})))}var Gr=Xo;w(31),Sr.propTypes={onChange:S.a.func,config:S.a.object,translations:S.a.object};var Ui=Sr;function Un(M){return(Un=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Ge(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function Oa(M,g){return(Oa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function Se(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=Jr(M);if(g){var v=Jr(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Un(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function Jr(M){return(Jr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var Da=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&Oa(v,f)})(_,k.Component);var M,g,b=Se(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).state={expanded:!1},v.onExpandEvent=function(){v.signalExpanded=!v.state.expanded},v.expandCollapse=function(){v.setState({expanded:v.signalExpanded}),v.signalExpanded=!1},v.removeInlineStyles=function(){var A=v.props,L=A.editorState;(0,A.onChange)(v.removeAllInlineStyles(L))},v.removeAllInlineStyles=function(A){var L=A.getCurrentContent();return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","MONOSPACE","SUPERSCRIPT","SUBSCRIPT"].forEach(function(R){L=D.Modifier.removeInlineStyle(L,A.getSelection(),R)}),pt(Object(x.getSelectionCustomInlineStyle)(A,["FONTSIZE","FONTFAMILY","COLOR","BGCOLOR"]),function(R,U){U&&(L=D.Modifier.removeInlineStyle(L,A.getSelection(),U))}),D.EditorState.push(A,L,"change-inline-style")},v.doExpand=function(){v.setState({expanded:!0})},v.doCollapse=function(){v.setState({expanded:!1})},v}return M=_,(g=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var v=this.props,f=v.config,O=v.translations,j=this.state.expanded,A=f.component||Ui;return y.a.createElement(A,{config:f,translations:O,expanded:j,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.removeInlineStyles})}}])&&Ge(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();Da.propTypes={onChange:S.a.func.isRequired,editorState:S.a.object.isRequired,config:S.a.object,translations:S.a.object,modalHandler:S.a.object},w(32);function xa(M){return(xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function kn(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}
31function ti(M,g){return(ti=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function Ki(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=Hi(M);if(g){var v=Hi(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(xa(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function Hi(M){return(Hi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var ei=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&ti(v,f)})(_,k.Component);var M,g,b=Ki(_);function _(){var v;(function(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")})(this,_);for(var f=arguments.length,O=new Array(f),j=0;j<f;j++)O[j]=arguments[j];return(v=b.call.apply(b,[this].concat(O))).onChange=function(A){(0,v.props.onChange)(A)},v}return M=_,(g=[{key:"renderInDropDown",value:function(){var v=this.props,f=v.config,O=v.expanded,j=v.doExpand,A=v.onExpandEvent,L=v.doCollapse,R=v.currentState,U=R.undoDisabled,Q=R.redoDisabled,X=v.translations,rt=f.options,Kt=f.undo,Dt=f.redo,ut=f.className,Bt=f.dropdownClassName,Jt=f.title;return y.a.createElement(Yt,{className:N()("rdw-history-dropdown",ut),optionWrapperClassName:N()(Bt),expanded:O,doExpand:j,doCollapse:L,onExpandEvent:A,"aria-label":"rdw-history-control",title:Jt||X["components.controls.history.history"]},y.a.createElement("img",{src:yt(f),alt:""}),0<=rt.indexOf("undo")&&y.a.createElement(ot,{value:"undo",onClick:this.onChange,disabled:U,className:N()("rdw-history-dropdownoption",Kt.className),title:Kt.title||X["components.controls.history.undo"]},y.a.createElement("img",{src:Kt.icon,alt:""})),0<=rt.indexOf("redo")&&y.a.createElement(ot,{value:"redo",onClick:this.onChange,disabled:Q,className:N()("rdw-history-dropdownoption",Dt.className),title:Dt.title||X["components.controls.history.redo"]},y.a.createElement("img",{src:Dt.icon,alt:""})))}},{key:"renderInFlatList",value:function(){var v=this.props,f=v.config,O=f.options,j=f.undo,A=f.redo,L=f.className,R=v.currentState,U=R.undoDisabled,Q=R.redoDisabled,X=v.translations;return y.a.createElement("div",{className:N()("rdw-history-wrapper",L),"aria-label":"rdw-history-control"},0<=O.indexOf("undo")&&y.a.createElement(Zt,{value:"undo",onClick:this.onChange,className:N()(j.className),disabled:U,title:j.title||X["components.controls.history.undo"]},y.a.createElement("img",{src:j.icon,alt:""})),0<=O.indexOf("redo")&&y.a.createElement(Zt,{value:"redo",onClick:this.onChange,className:N()(A.className),disabled:Q,title:A.title||X["components.controls.history.redo"]},y.a.createElement("img",{src:A.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&kn(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();function Ta(M){return(Ta=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function fs(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function ri(M,g){return(ri=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function ps(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=n(M);if(g){var v=n(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Ta(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}
31function n(M){return(n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}ei.propTypes={expanded:S.a.bool,doExpand:S.a.func,doCollapse:S.a.func,onExpandEvent:S.a.func,config:S.a.object,onChange:S.a.func,currentState:S.a.object,translations:S.a.object};var a=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&ri(v,f)})(_,k.Component);var M,g,b=ps(_);function _(v){var f;(function(L,R){if(!(L instanceof R))throw new TypeError("Cannot call a class as a function")})(this,_),(f=b.call(this,v)).onExpandEvent=function(){f.signalExpanded=!f.state.expanded},f.onChange=function(L){var R=f.props,U=R.editorState,Q=R.onChange,X=D.EditorState[L](U);X&&Q(X)},f.doExpand=function(){f.setState({expanded:!0})},f.doCollapse=function(){f.setState({expanded:!1})};var O={expanded:!(f.expandCollapse=function(){f.setState({expanded:f.signalExpanded}),f.signalExpanded=!1}),undoDisabled:!1,redoDisabled:!1},j=v.editorState,A=v.modalHandler;return j&&(O.undoDisabled=j.getUndoStack().size===0,O.redoDisabled=j.getRedoStack().size===0),f.state=O,A.registerCallBack(f.expandCollapse),f}return M=_,(g=[{key:"componentDidUpdate",value:function(v){var f=this.props.editorState;f&&v.editorState!==f&&this.setState({undoDisabled:f.getUndoStack().size===0,redoDisabled:f.getRedoStack().size===0})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var v=this.props,f=v.config,O=v.translations,j=this.state,A=j.undoDisabled,L=j.redoDisabled,R=j.expanded,U=f.component||ei;return y.a.createElement(U,{config:f,translations:O,currentState:{undoDisabled:A,redoDisabled:L},expanded:R,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange})}}])&&fs(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();a.propTypes={onChange:S.a.func.isRequired,editorState:S.a.object,modalHandler:S.a.object,config:S.a.object,translations:S.a.object};var c={inline:Mt,blockType:ro,fontSize:ga,fontFamily:Je,list:va,textAlign:Sa,colorPicker:Or,link:yo,embedded:Bi,emoji:Vo,image:Gr,remove:Da,history:a},p=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,h=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i;function E(M){return String(M).replace(p,"").match(h)?M:"#"}w(33);function C(M){return(C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function I(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function z(M,g){return(z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function P(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=F(M);if(g){var v=F(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(C(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function F(M){return(F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}function Z(M,g,b){M.findEntityRanges(function(_){var v=_.getEntity();return v!==null&&b.getEntity(v).getType()==="LINK"},g)}function G(M){var g,b=M.showOpenOptionOnHover;return(g=function(){(function(j,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function");j.prototype=Object.create(A&&A.prototype,{constructor:{value:j,writable:!0,configurable:!0}}),Object.defineProperty(j,"prototype",{writable:!1}),A&&z(j,A)})(O,k.Component);var _,v,f=P(O);function O(){var j;(function(U,Q){if(!(U instanceof Q))throw new TypeError("Cannot call a class as a function")})(this,O);for(var A=arguments.length,L=new Array(A),R=0;R<A;R++)L[R]=arguments[R];return(j=f.call.apply(f,[this].concat(L))).state={showPopOver:!1},j.openLink=function(){var U=j.props,Q=U.entityKey,X=U.contentState.getEntity(Q).getData().url,rt=window.open(E(X),"blank");rt&&rt.focus()},j.toggleShowPopOver=function(){var U=!j.state.showPopOver;j.setState({showPopOver:U})},j}return _=O,(v=[{key:"render",value:function(){var j=this.props,A=j.children,L=j.entityKey,R=j.contentState.getEntity(L).getData(),U=R.url,Q=R.targetOption,X=this.state.showPopOver;return y.a.createElement("span",{className:"rdw-link-decorator-wrapper",onMouseEnter:this.toggleShowPopOver,onMouseLeave:this.toggleShowPopOver},y.a.createElement("a",{href:E(U),target:Q},A),X&&b?y.a.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAw
31MCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuMDcyIDBIOC45MTVhLjkyNS45MjUgMCAwIDAgMCAxLjg0OWgyLjkyNUw2Ljk2MSA2LjcyN2EuOTE4LjkxOCAwIDAgMC0uMjcuNjU0YzAgLjI0Ny4wOTUuNDguMjcuNjU0YS45MTguOTE4IDAgMCAwIC42NTQuMjcuOTE4LjkxOCAwIDAgMCAuNjUzLS4yN2w0Ljg4LTQuODh2Mi45MjZhLjkyNS45MjUgMCAwIDAgMS44NDggMFYuOTI0QS45MjUuOTI1IDAgMCAwIDE0LjA3MiAweiIvPjxwYXRoIGQ9Ik0xMC42MjMgMTMuNDExSDEuNTg1VjQuMzcyaDYuNzk4bDEuNTg0LTEuNTg0SC43OTJBLjc5Mi43OTIgMCAwIDAgMCAzLjU4djEwLjYyNGMwIC40MzcuMzU1Ljc5Mi43OTIuNzkyaDEwLjYyNGEuNzkyLjc5MiAwIDAgMCAuNzkyLS43OTJWNS4wMjlsLTEuNTg1IDEuNTg0djYuNzk4eiIvPjwvZz48L3N2Zz4=",alt:"",onClick:this.openLink,className:"rdw-link-decorator-icon"}):void 0)}}])&&I(_.prototype,v),Object.defineProperty(_,"prototype",{writable:!1}),O}()).propTypes={entityKey:S.a.string.isRequired,children:S.a.array,contentState:S.a.object},g}w(34);function ft(M,g,b){return Object.defineProperty(M,"prototype",{writable:!1}),M}var vt=ft(function M(g){var b=this;(function(_,v){if(!(_ instanceof v))throw new TypeError("Cannot call a class as a function")})(this,M),this.getMentionComponent=function(){function _(f){var O=f.entityKey,j=f.children,A=f.contentState.getEntity(O).getData(),L=A.url,R=A.value;return y.a.createElement("a",{href:L||R,className:N()("rdw-mention-link",v)},j)}var v=b.className;return _.propTypes={entityKey:S.a.number,children:S.a.array,contentState:S.a.object},_},this.getMentionDecorator=function(){return{strategy:b.findMentionEntities,component:b.getMentionComponent()}},this.className=g});vt.prototype.findMentionEntities=function(M,g,b){M.findEntityRanges(function(_){var v=_.getEntity();return v!==null&&b.getEntity(v).getType()==="MENTION"},g)};var Qt=vt;w(35);function Be(M){return(Be=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function Ze(M,g){return(Ze=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function On(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=ll(M);if(g){var v=ll(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Be(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function ll(M){return(ll=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}function c0(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function md(M,g,b){return g&&c0(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),M}function _d(M,g){if(!(M instanceof g))throw new TypeError("Cannot call a class as a function")}var l0=md(function M(g){var b=this;_d(this,M),this.findSuggestionEntities=function(X,rt){if(b.config.getEditorState()){var Kt=b.config,Dt=Kt.separator,ut=Kt.trigger,Bt=Kt.getSuggestions,Jt=(0,Kt.getEditorState)().getSelection();if(Jt.get("anchorKey")===X.get("key")&&Jt.get("anchorKey")===Jt.get("focusKey")){var ce=X.getText(),_e=(ce=ce.substr(0,Jt.get("focusOffset")===ce.length-1?ce.length:Jt.get("focusOffset")+1)).lastIndexOf(Dt+ut),de=Dt+ut;if((_e===void 0||_e<0)&&ce[0]===ut&&(_e=0,de=ut),0<=_e){var er=ce.substr(_e+de.length,ce.length);Bt().some(function(Tr){return!!Tr.value&&(b.config.caseSensitive?0<=Tr.value.indexOf(er):0<=Tr.value.toLowerCase().indexOf(er&&er.toLowerCase()))})&&rt(_e===0?0:_e+1,ce.length)}}}}
31,this.getSuggestionComponent=(function(){var X,rt=this.config;return(X=function(){(function(ut,Bt){if(typeof Bt!="function"&&Bt!==null)throw new TypeError("Super expression must either be null or a function");ut.prototype=Object.create(Bt&&Bt.prototype,{constructor:{value:ut,writable:!0,configurable:!0}}),Object.defineProperty(ut,"prototype",{writable:!1}),Bt&&Ze(ut,Bt)})(Dt,k.Component);var Kt=On(Dt);function Dt(){var ut;_d(this,Dt);for(var Bt=arguments.length,Jt=new Array(Bt),ce=0;ce<Bt;ce++)Jt[ce]=arguments[ce];return(ut=Kt.call.apply(Kt,[this].concat(Jt))).state={style:{left:15},activeOption:-1,showSuggestions:!0},ut.onEditorKeyDown=function(_e){var de=ut.state.activeOption,er={};_e.key==="ArrowDown"?(_e.preventDefault(),de===ut.filteredSuggestions.length-1?er.activeOption=0:er.activeOption=de+1):_e.key==="ArrowUp"?er.activeOption=de<=0?ut.filteredSuggestions.length-1:de-1:_e.key==="Escape"?(er.showSuggestions=!1,tt()):_e.key==="Enter"&&ut.addMention(),ut.setState(er)},ut.onOptionMouseEnter=function(_e){var de=_e.target.getAttribute("data-index");ut.setState({activeOption:de})},ut.onOptionMouseLeave=function(){ut.setState({activeOption:-1})},ut.setSuggestionReference=function(_e){ut.suggestion=_e},ut.setDropdownReference=function(_e){ut.dropdown=_e},ut.closeSuggestionDropdown=function(){ut.setState({showSuggestions:!1})},ut.filteredSuggestions=[],ut.filterSuggestions=function(_e){var de=_e.children[0].props.text.substr(1),er=rt.getSuggestions();ut.filteredSuggestions=er&&er.filter(function(Tr){return!de||de.length===0||(rt.caseSensitive?0<=Tr.value.indexOf(de):0<=Tr.value.toLowerCase().indexOf(de&&de.toLowerCase()))})},ut.addMention=function(){var _e=ut.state.activeOption,de=rt.getEditorState(),er=rt.onChange,Tr=rt.separator,qi=rt.trigger,oi=ut.filteredSuggestions[_e];oi&&function(wo,yl,ku,ds,Dd){var hs=Dd.value,C0=Dd.url,k0=wo.getCurrentContent().createEntity("MENTION","IMMUTABLE",{text:"".concat(ds).concat(hs),value:hs,url:C0}).getLastCreatedEntityKey(),Ou=Object(x.getSelectedBlock)(wo).getText(),Du=wo.getSelection().focusOffset,xu=(Ou.lastIndexOf(ku+ds,Du)||0)+1,xd=!1;Ou.length===xu+1&&(Du=Ou.length),Ou[Du]===" "&&(xd=!0);var gs=wo.getSelection().merge({anchorOffset:xu,focusOffset:Du}),Kn=D.EditorState.acceptSelection(wo,gs),vl=D.Modifier.replaceText(Kn.getCurrentContent(),gs,"".concat(ds).concat(hs),Kn.getCurrentInlineStyle(),k0);Kn=D.EditorState.push(Kn,vl,"insert-characters"),xd||(gs=Kn.getSelection().merge({anchorOffset:xu+hs.length+ds.length,focusOffset:xu+hs.length+ds.length}),Kn=D.EditorState.acceptSelection(Kn,gs),vl=D.Modifier.insertText(Kn.getCurrentContent(),gs," ",Kn.getCurrentInlineStyle(),void 0)),yl(D.EditorState.push(Kn,vl,"insert-characters"))}(de,er,Tr,qi,oi)},ut}return md(Dt,[{key:"componentDidMount",value:function(){var ut,Bt,Jt,ce=rt.getWrapperRef().getBoundingClientRect(),_e=this.suggestion.getBoundingClientRect(),de=this.dropdown.getBoundingClientRect();ce.width<_e.left-ce.left+de.width?Bt=15:ut=15,ce.bottom<de.bottom&&(Jt=0),this.setState({style:{left:ut,right:Bt,bottom:Jt}}),q.registerCallBack(this.onEditorKeyDown),Y(),rt.modalHandler.setSuggestionCallback(this.closeSuggestionDropdown),this.filterSuggestions(this.props)}},{key:"componentDidUpdate",value:function(ut){this.props.children!==ut.children&&(this.filterSuggestions(ut),this.setState({showSuggestions:!0}))}},{key:"componentWillUnmount",value:function(){q.deregisterCallBack(this.onEditorKeyDown),tt(),rt.modalHandler.removeSuggestionCallback()}},{key:"render",value:function(){var ut=this,Bt=this.props.children,Jt=this.state,ce=Jt.activeOption,_e=Jt.showSuggestions,de=rt.dropdownClassName,er=rt.optionClassName;return y.a.createElement("span",{className:"rdw-suggestion-wrapper",ref:this.setSuggestionReference,onClick:rt.modalHandler.onSuggestionClick,"aria-haspopup":"true","aria-label":"rdw-suggestion-popup"},y.a.createElement("span",null,Bt),_e&&y.a.createElement("span",{className:N()("rdw-suggestion-dropdown",de),contentEditable:"false",suppressContentEditableWarning:!0,style:this.state.style,ref:this.setDropdownReference},this.filteredSuggestions.map(function(Tr,qi){return y.a.createElement("span",{key:qi,spellCheck:!1,onClick:ut.addMention,"data-index":qi,onMouseEnter:ut.onOptionMouseEnter,onMouseLeave:ut.onOptionMouseLeave,className:N()("rdw-suggestion-option",er,{"rdw-suggestion-option-active":qi===ce})},Tr.text)})))}}]),Dt}()).propTypes={children:S.a.array},X}
31).bind(this),this.getSuggestionDecorator=function(){return{strategy:b.findSuggestionEntities,component:b.getSuggestionComponent()}};var _=g.separator,v=g.trigger,f=g.getSuggestions,O=g.onChange,j=g.getEditorState,A=g.getWrapperRef,L=g.caseSensitive,R=g.dropdownClassName,U=g.optionClassName,Q=g.modalHandler;this.config={separator:_,trigger:v,getSuggestions:f,onChange:O,getEditorState:j,getWrapperRef:A,caseSensitive:L,dropdownClassName:R,optionClassName:U,modalHandler:Q}}),f0=function(M){return[new Qt(M.mentionClassName).getMentionDecorator(),new l0(M).getSuggestionDecorator()]};w(36);function p0(M,g,b){return Object.defineProperty(M,"prototype",{writable:!1}),M}function Sd(M){var g=M.block,b=M.contentState.getEntity(g.getEntityAt(0)).getData(),_=b.src,v=b.height,f=b.width;return y.a.createElement("iframe",{height:v,width:f,src:_,frameBorder:"0",allowFullScreen:!0,title:"Wysiwyg Embedded Content"})}var d0=p0(function M(g){var b=this;(function(_,v){if(!(_ instanceof v))throw new TypeError("Cannot call a class as a function")})(this,M),this.getHashtagComponent=function(){function _(f){var O=f.children,j=O[0].props.text;return y.a.createElement("a",{href:j,className:N()("rdw-hashtag-link",v)},O)}var v=b.className;return _.propTypes={children:S.a.object},_},this.findHashtagEntities=function(_,v){for(var f=_.getText(),O=0,j=0;0<f.length&&0<=O;)if(f[0]===b.hashCharacter?(j=O=0,f=f.substr(b.hashCharacter.length)):0<=(O=f.indexOf(b.separator+b.hashCharacter))&&(f=f.substr(O+(b.separator+b.hashCharacter).length),j+=O+b.separator.length),0<=O){var A=0<=f.indexOf(b.separator)?f.indexOf(b.separator):f.length,L=f.substr(0,A);L&&0<L.length&&(v(j,j+L.length+b.hashCharacter.length),j+=b.hashCharacter.length)}},this.getHashtagDecorator=function(){return{strategy:b.findHashtagEntities,component:b.getHashtagComponent()}},this.className=g.className,this.hashCharacter=g.hashCharacter||"#",this.separator=g.separator||" "}),h0=function(M){return new d0(M).getHashtagDecorator()};
31Sd.propTypes={block:S.a.object,contentState:S.a.object};var g0=Sd;w(37);function wd(M){return(wd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function y0(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function bd(M,g){return(bd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function v0(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=fl(M);if(g){var v=fl(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(wd(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function fl(M){return(fl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var m0=function(M){var g;return(g=function(){(function(O,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(j&&j.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),j&&bd(O,j)})(f,k.Component);var b,_,v=v0(f);function f(){var O;(function(R,U){if(!(R instanceof U))throw new TypeError("Cannot call a class as a function")})(this,f);for(var j=arguments.length,A=new Array(j),L=0;L<j;L++)A[L]=arguments[L];return(O=v.call.apply(v,[this].concat(A))).state={hovered:!1},O.setEntityAlignmentLeft=function(){O.setEntityAlignment("left")},O.setEntityAlignmentRight=function(){O.setEntityAlignment("right")},O.setEntityAlignmentCenter=function(){O.setEntityAlignment("none")},O.setEntityAlignment=function(R){var U=O.props,Q=U.block,X=U.contentState,rt=Q.getEntityAt(0);X.mergeEntityData(rt,{alignment:R}),M.onChange(D.EditorState.push(M.getEditorState(),X,"change-block-data")),O.setState({dummy:!0})},O.toggleHovered=function(){var R=!O.state.hovered;O.setState({hovered:R})},O}return b=f,(_=[{key:"renderAlignmentOptions",value:function(O){return y.a.createElement("div",{className:N()("rdw-image-alignment-options-popup",{"rdw-image-alignment-options-popup-right":O==="right"})},y.a.createElement(Zt,{onClick:this.setEntityAlignmentLeft,className:"rdw-image-alignment-option"},"L"),y.a.createElement(Zt,{onClick:this.setEntityAlignmentCenter,className:"rdw-image-alignment-option"},"C"),y.a.createElement(Zt,{onClick:this.setEntityAlignmentRight,className:"rdw-image-alignment-option"},"R"))}},{key:"render",value:function(){var O=this.props,j=O.block,A=O.contentState,L=this.state.hovered,R=M.isReadOnly,U=M.isImageAlignmentEnabled,Q=A.getEntity(j.getEntityAt(0)).getData(),X=Q.src,rt=Q.alignment,Kt=Q.height,Dt=Q.width,ut=Q.alt;return y.a.createElement("span",{onMouseEnter:this.toggleHovered,onMouseLeave:this.toggleHovered,className:N()("rdw-image-alignment",{"rdw-image-left":rt==="left","rdw-image-right":rt==="right","rdw-image-center":!rt||rt==="none"})},y.a.createElement("span",{className:"rdw-image-imagewrapper"},y.a.createElement("img",{src:X,alt:ut,style:{height:Kt,width:Dt}}),!R()&&L&&U()?this.renderAlignmentOptions(rt):void 0))}}])&&y0(b.prototype,_),Object.defineProperty(b,"prototype",{writable:!1}),f}()).propTypes={block:S.a.object,contentState:S.a.object},g},_0=function(M,g){return function(b){if(typeof g=="function"){var _=g(b,M,M.getEditorState);if(_)return _}if(b.getType()==="atomic"){var v=M.getEditorState().getCurrentContent().getEntity(b.getEntityAt(0));if(v&&v.type==="IMAGE")return{component:m0(M),editable:!1};if(v&&v.type==="EMBEDDED_LINK")return{component:g0,editable:!1}}}},Ed={options:["inline","blockType","fontSize","fontFamily","list","textAlign","colorPicker","link","embedded","emoji","image","remove","history"],inline:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["bold","italic","underline","strikethrough","monospace","superscript","subscript"],bold:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuMjM2IDBjMS42NTIgMCAyLjk0LjI5OCAzLjg2Ni44OTMuOTI1LjU5NSAxLjM4OCAxLjQ4NSAxLjM4OCAyLjY2OSAwIC42MDEtLjE3MyAxLjEzOS0uNTE2IDEuNjEtLjM0My40NzQtLjg0NC44My0xLjQ5OSAxLjA2OC44NDMuMTY3IDEuNDc0LjUyMyAxLjg5NSAxLjA3MS40MTkuNTUuNjMgMS4xODMuNjMgMS45MDMgMCAxLjI0NS0uNDQ0IDIuMTg3LTEuMzMgMi44MjUtLjg4Ni42NDEtMi4xNDQuOTYxLTMuNzY5Ljk2MUgwdi0yLjE2N2gxLjQ5NFYyLjE2N0gwVjBoNi4yMzZ6TTQuMzA4IDUuNDQ2aDIuMDI0Yy43NTIgMCAxLjMzLS4xNDMgMS43MzQtLjQzLjQwNS0uMjg1LjYwOC0uNzAxLjYwOC0xLjI1IDAtLjYt
31LjIwNC0xLjA0NC0uNjEyLTEuMzMtLjQwOC0uMjg2LTEuMDE2LS40MjctMS44MjYtLjQyN0g0LjMwOHYzLjQzN3ptMCAxLjgwNFYxMWgyLjU5M2MuNzQ3IDAgMS4zMTQtLjE1MiAxLjcwNy0uNDUyLjM5LS4zLjU4OC0uNzQ1LjU4OC0xLjMzNCAwLS42MzYtLjE2OC0xLjEyNC0uNS0xLjQ2LS4zMzYtLjMzNS0uODY0LS41MDQtMS41ODItLjUwNEg0LjMwOHoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},italic:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTcgM1YyaDR2MUg5Ljc1M2wtMyAxMEg4djFINHYtMWgxLjI0N2wzLTEwSDd6Ii8+PC9zdmc+",className:void 0,title:void 0},underline:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTYuMDQ1IDJ2Ljk5Mkw0Ljc4NSAzdjUuMTcyYzAgLjg1OS4yNDMgMS41MTIuNzI3IDEuOTU3czEuMTI0LjY2OCAxLjkxOC42NjhjLjgzNiAwIDEuNTA5LS4yMjEgMi4wMTktLjY2NC41MTEtLjQ0Mi43NjYtMS4wOTYuNzY2LTEuOTYxVjNsLTEuMjYtLjAwOFYySDEzdi45OTJMMTEuNzM5IDN2NS4xNzJjMCAxLjIzNC0uMzk4IDIuMTgxLTEuMTk1IDIuODQtLjc5Ny42NTktMS44MzUuOTg4LTMuMTE0Ljk4OC0xLjI0MiAwLTIuMjQ4LS4zMjktMy4wMTctLjk4OC0uNzY5LS42NTktMS4xNTItMS42MDUtMS4xNTItMi44NFYzTDIgMi45OTJWMmg0LjA0NXpNMiAxM2gxMXYxSDJ6Ii8+PC9zdmc+",className:void 0,title:void 0},strikethrough:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4wNCA1Ljk1NGg2LjIxNWE3LjQxMiA3LjQxMiAwIDAgMC0uNzk1LS40MzggMTEuOTA3IDExLjkwNyAwIDAgMC0xLjQ0Ny0uNTU3Yy0xLjE4OC0uMzQ4LTEuOTY2LS43MTEtMi4zMzQtMS4wODgtLjM2OC0uMzc3LS41NTItLjc3LS41NTItMS4xODEgMC0uNDk1LjE4Ny0uOTA2LjU2LTEuMjMyLjM4LS4zMzEuODg3LS40OTcgMS41MjMtLjQ5Ny42OCAwIDEuMjY2LjI1NSAxLjc1Ny43NjcuMjk1LjMxNS41ODIuODkxLjg2MSAxLjczbC4xMTcuMDE2LjcwMy4wNS4xLS4wMjRjLjAyOC0uMTUyLjA0Mi0uMjc5LjA0Mi0uMzggMC0uMzM3LS4wMzktLjg1Mi0uMTE3LTEuNTQ0YTkuMzc0IDkuMzc0IDAgMCAwLS4xNzYtLjk5NUM5Ljg4LjM3OSA5LjM4NS4yNDQgOS4wMTcuMTc2IDguMzY1LjA3IDcuODk5LjAxNiA3LjYyLjAxNmMtMS40NSAwLTIuNTQ1LjM1Ny0zLjI4NyAxLjA3MS0uNzQ3LjcyLTEuMTIgMS41ODktMS4xMiAyLjYwNyAwIC41MTEuMTMzIDEuMDQuNCAxLjU4Ni4xMjkuMjUzLjI3LjQ3OC40MjcuNjc0ek04LjI4IDguMTE0Yy41NzUuMjM2Ljk1Ny40MzYgMS4xNDcuNTk5LjQ1MS40MS42NzcuODUyLjY3NyAxLjMyNCAwIC4zODMtLjEzLjc0NS0uMzkzIDEuMDg4LS4yNS4zMzgtLjU5LjU4LTEuMDIuNzI2YTMuNDE2IDMuNDE2IDAgMCAxLTEuMTYzLjIyOGMtLjQwNyAwLS43NzUtLjA2Mi0xLjEwNC0uMTg2YTIuNjk2IDIuNjk2IDAgMCAxLS44NzgtLjQ4IDMuMTMzIDMuMTMzIDAgMCAxLS42Ny0uNzk0IDEuNTI3IDEuNTI3IDAgMCAxLS4xMDQtLjIyNyA1Ny41MjMgNTcuNTIzIDAgMCAwLS4xODgtLjQ3MyAyMS4zNzEgMjEuMzcxIDAgMCAwLS4yNTEtLjU5OWwtLjg1My4wMTd2LjM3MWwtLjAxNy4zMTNhOS45MiA5LjkyIDAgMCAwIDAgLjU3M2MuMDExLjI3LjAxNy43MDkuMDE3IDEuMzE2di4xMWMwIC4wNzkuMDIyLjE0LjA2Ny4xODUuMDgzLjA2OC4yODQuMTQ3LjYwMi4yMzdsMS4xNy4zMzdjLjQ1Mi4xMy45OTYuMTk0IDEuNjMyLjE5NC42ODYgMCAxLjI1Mi0uMDU5IDEuNjk4LS4xNzdhNC42OTQgNC42OTQgMCAwIDAgMS4yOC0uNTU3Yy40MDEtLjI1OS43MDUtLjQ4Ni45MTEtLjY4My4yNjgtLjI3Ni40NjYtLjU2OC41OTQtLjg3OGE0Ljc0IDQuNzQgMCAwIDAgLjM0My0xLjc4OGMwLS4yOTgtLjAyLS41NTctLjA1OC0uNzc2SDguMjgxek0xNC45MTQgNi41N2EuMjYuMjYgMCAwIDAtLjE5My0uMDc2SC4yNjhhLjI2LjI2IDAgMCAwLS4xOTMuMDc2LjI2NC4yNjQgMCAwIDAtLjA3NS4xOTR2LjU0YzAgLjA3OS4wMjUuMTQzLjA3NS4xOTRhLjI2LjI2IDAgMCAwIC4xOTMuMDc2SDE0LjcyYS4yNi4yNiAwIDAgMCAuMTkzLS4wNzYuMjY0LjI2NCAwIDAgMCAuMDc1LS4xOTR2LS41NGEuMjY0LjI2NCAwIDAgMC0uMDc1LS4xOTR6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},monospace:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzQ0NCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS4wMjEgMi45MDZjLjE4NiAxLjIxOS4zNzIgMS41LjM3MiAyLjcxOUMxLjM5MyA2LjM3NSAwIDcuMDMxIDAgNy4wMzF2LjkzOHMxLjM5My42NTYgMS4zOTMgMS40MDZjMCAxLjIxOS0uMTg2IDEuNS0uMzcyIDIuNzE5Qy43NDMgMTQuMDYzIDEuNzY0IDE1IDIuNjkzIDE1aDEuOTV2LTEuODc1cy0xLjY3Mi4xODgtMS42NzItLjkzOGMwLS44NDMuMTg2LS44NDMuMzcyLTIuNzE4LjA5My0uODQ0LS40NjQtMS41LTEuMDIyLTEuOTY5LjU1OC0uNDY5IDEuMTE1LTEuMDMxIDEuMDIyLTEuODc1QzMuMDY0IDMuNzUgMi45NyAzLjc1IDIuOTcgMi45MDZjMC0xLjEyNSAxLjY3Mi0xLjAzMSAxLjY3Mi0xLjAzMVYwaC0xLjk1QzEuNjcgMCAuNzQzLjkzOCAxLjAyIDIuOTA2ek0xMS45NzkgMi45MDZjLS4xODYgMS4yMTktLjM3MiAxLjUtLjM3MiAyLjcxOSAwIC43NSAxLjM5MyAxLjQwNiAxLjM5MyAxLjQwNnYuOTM4cy0xLjM5My42NTYtMS4zOTMgMS40MDZjMCAxLjIxOS4xODYgMS41LjM3MiAyLjcxOS4yNzggMS45NjktLjc0MyAyLjkwNi0xLjY3MiAyLjkwNmgtMS45NXYtMS44NzVzMS42NzIuMTg4IDEuNjcyLS45MzhjMC0uODQzLS4xODYtLjg0My0uMzcyLTIuNzE4LS4wOTMtLjg0NC40NjQtMS41IDEuMDIyLTEuOTY5LS41NTgtLjQ2OS0xLjExNS0xLjAzMS0xLjAyMi0xLjg3NS4xODYtMS44NzUuMzcyLTEuODc1LjM3Mi0yLjcxOSAwLTEuMTI1LTEuNjcyLTEuMDMxLTEuNjcyLTEuMDMxVjBoMS45NWMxLjAyMiAwIDEuOTUuOTM4IDEuNjcyIDIuOTA2eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},superscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzA1IDEwLjE2NUwxMS44NjUgMTVIOS4wNTdsLTMuMTkyLTMuNTM2TDIuNzQ2IDE1SDBsNC41MjMtNC44MzVMLjIxOCA1LjYwM2gyLjc3TDUuOTg2IDguOTEgOS4wMSA1LjYwM2gyLjY0OWwtNC4zNTQgNC41NjJ6bTYuMjM0LTMuMjY5bDEuODc5LTEuMzA2Yy42NC0uNDE2IDEuMDYyLS44MDEgMS4yNjQtMS4xNTcuMjAxLS4zNTYuMzAyLS43MzguMzAyLTEuMTQ4IDAtLjY2OS0uMjM3LTEuMjEtLjcxLTEuNjItLjQ3NC0uNDExLTEuMDk3LS42MTctMS44NjgtLjYxNy0uNzQ0IDAtMS4zNC4yMDgtMS43ODUuNjI0LS40NDcuNDE2LS42NyAxLjA0My0uNjcgMS44ODFoMS40MzZjMC0uNS4wOTQtLjg0Ni4yODEtMS4wMzguMTg4LS4xOTEuNDQ1LS4yODcuNzcyLS4yODdzLjU4NS4wOTcuNzc3LjI5MmMuMTkuMTk1LjI4Ni40MzcuMjg2LjcyNiAwIC4yOS0uMDg5LjU1LS4yNjYuNzg1cy0uNjcuNjI4LTEuNDc5IDEuMTg0Yy0uNjkxLjQ3Ny0xLjYyNy45MjctMS45MDggMS4zNWwuMDE0IDEuNTY5SDE3VjYuODk2aC0zLjQ2MXoiLz48L3N2Zz4=",className:void 0,title:void 0},subscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjg2NiAxMS42NDZIOS4wNkw1Ljg2NyA3Ljk0MmwtMy4xMjEgMy43MDRIMGw0LjUyNC01LjA2NEwuMjE4IDEuODA0aDIuNzdsMyAzLjQ2NCAzLjAyMy0zLjQ2NGgyLjY1TDcuMzA2IDYuNTgybDQuNTYgNS4wNjR6bTEuNzI1IDIuMDU4bDEuODI3LTEuMzY4Yy42NC0uNDM1IDEuMDYyLS44NCAxLjI2NC0xLjIxMi4yMDItLjM3Mi4zMDItLjc3My4zMDItMS4yMDIgMC0uNy0uMjM3LTEuMjY2LS43MS0xLjY5Ni0uNDc0LS40MzEtMS4wOTctLjY0Ni0xLjg2OS0uNjQ2LS43NDQgMC0xLjM0LjIxOC0xLjc4NS42NTMtLjQ0Ni40MzYtLjY3IDEuMDkyLS42NyAxLjk3aDEuNDM2YzAtLjUyNC4wOTQtLjg4Ni4yODEtMS4wODcuMTg4LS4yLjQ0NS0uMzAxLjc3Mi0uMzAxcy41ODYuMTAyLjc3Ny4zMDZjLjE5LjIwNC4yODYuNDU4LjI4Ni43NiAwIC4zMDMtLjA4OC41NzctLjI2Ni44MjItLjE3Ny4yNDUtLjY3LjY1OC0xLjQ3OCAxLjI0LS42OTIuNS0xLjYyOC45NzEtMS45MSAxLjQxM0wxMS44NjQgMTVIMTd2LTEuMjk2aC0zLjQxeiIvPjwvc3ZnPg==",className:void 0,title:void 0}},blockType:{inDropdown:!0,options:["Normal","H1","H2","H3","H4","H5","H6","Blockquote","Code"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontSize:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAw
31MCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuOTIxIDMuMTE5YS40MjcuNDI3IDAgMCAwIC4zMzUuMTY0aC45N2EuNDI2LjQyNiAwIDAgMCAuMzA0LS4xMy40NDEuNDQxIDAgMCAwIC4xMjUtLjMxbC4wMDItMi40MWEuNDM0LjQzNCAwIDAgMC0uNDMtLjQzMkguNDNBLjQzNC40MzQgMCAwIDAgMCAuNDR2Mi40MDZjMCAuMjQyLjE5Mi40MzguNDMuNDM4aC45N2MuMTMgMCAuMjU0LS4wNi4zMzUtLjE2NWwuNzMtLjkzSDUuNTR2MTEuMzZjMCAuMjQxLjE5Mi40MzcuNDMuNDM3aDEuNzE3Yy4yMzcgMCAuNDMtLjE5Ni40My0uNDM3VjIuMTg4aDMuMDdsLjczNC45MzF6TTEzLjg5OCAxMS4yNjNhLjQyNS40MjUgMCAwIDAtLjQ4Mi0uMTQ2bC0uNTQ3LjE5NFY5LjYxN2EuNDQyLjQ0MiAwIDAgMC0uMTI2LS4zMS40MjYuNDI2IDAgMCAwLS4zMDQtLjEyN2gtLjQyOWEuNDM0LjQzNCAwIDAgMC0uNDMuNDM3djEuNjk0bC0uNTQ3LS4xOTRhLjQyNS40MjUgMCAwIDAtLjQ4MS4xNDYuNDQ0LjQ0NCAwIDAgMC0uMDE2LjUxMmwxLjMzMiAyLjAxN2EuNDI3LjQyNyAwIDAgMCAuNzEzIDBsMS4zMzMtMi4wMTdhLjQ0NC40NDQgMCAwIDAtLjAxNi0uNTEyeiIvPjwvZz48L3N2Zz4=",options:[8,9,10,11,12,14,16,18,24,30,36,48,60,72,96],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontFamily:{options:["Arial","Georgia","Impact","Tahoma","Times New Roman","Verdana"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},list:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["unordered","ordered","indent","outdent"],unordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS43MiAzLjQyN2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3LjAxIDEuNzIuMDFDLjc3LjAwOCAwIC43NzUgMCAxLjcxNWMwIC45NC43NzQgMS43MTEgMS43MiAxLjcxMXptMC0yLjYyNWMuNTEgMCAuOTIyLjQxMi45MjIuOTE0YS45Mi45MiAwIDAgMS0xLjg0MiAwIC45Mi45MiAwIDAgMSAuOTItLjkxNHpNMS43MiA4LjcwM2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3IDUuMjg3IDEuNzIgNS4yODdDLjc3IDUuMjg3IDAgNi4wNTIgMCA2Ljk5NXMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjJjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAwIDEtMS44NDIgMGMwLS41MDUuNDE1LS45MTQuOTItLjkxNHpNMS43MiAxMy45ODJjLjk1MSAwIDEuNzIyLS43NjggMS43MjItMS43MDggMC0uOTQzLS43NzQtMS43MDgtMS43MjEtMS43MDgtLjk0NyAwLTEuNzIxLjc2OC0xLjcyMSAxLjcwOHMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjVjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAxIDEtMS44NDIgMCAuOTIuOTIgMCAwIDEgLjkyLS45MTR6TTUuNzQ0IDIuMTE1aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OS40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDcuMzk0aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOThINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OC40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDEyLjY3aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjQuNC40IDAgMCAwIC40MDIuMzk4eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},ordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4yMDIgMS40NjZoOC4xNWMuMzM4IDAgLjYxMi0uMzIyLjYxMi0uNzIgMC0uMzk3LS4yNzQtLjcyLS42MTItLjcyaC04LjE1Yy0uMzM4IDAtLjYxMS4zMjMtLjYxMS43MiAwIC4zOTguMjczLjcyLjYxLjcyek0xMi4zNTIgNS43ODNoLTguMTVjLS4zMzggMC0uNjExLjMyMi0uNjExLjcyIDAgLjM5Ny4yNzMuNzIuNjEuNzJoOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5OC0uMjc0LS43Mi0uNjEyLS43MnpNMTIuMzUyIDExLjU0aC04LjE1Yy0uMzM4IDAtLjYxMS4zMjItLjYxMS43MiAwIC4zOTYuMjczLjcxOS42MS43MTloOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5Ny0uMjc0LS43Mi0uNjEyLS43MnpNLjc2NyAxLjI0OXYxLjgwMmMwIC4xOTUuMTM2LjM0My4zMTUuMzQzLjE3NiAwIC4zMTUtLjE1LjMxNS0uMzQzVi4zNTZjMC0uMTktLjEzMy0uMzM5LS4zMDItLjMzOS0uMTQ4IDAtLjIyMy4xMTgtLjI0Ny4xNTZhLjIyOC4yMjggMCAwIDAtLjAwMy4wMDVMLjU3OS42MjFhLjQ3NC40NzQgMCAwIDAtLjA5OC4yNzNjMCAuMTk0LjEyOC4zNTEuMjg2LjM1NXpNLjM1MiA4LjE5SDEuNTVjLjE1NyAwIC4yODUtLjE2Mi4yODUtLjM2MiAwLS4xOTgtLjEyOC0uMzU5LS4yODUtLjM1OUguNjh2LS4wMDZjMC0uMTA3LjIxLS4yODEuMzc4LS40MjIuMzM2LS4yNzguNzUzLS42MjUuNzUzLTEuMjI2IDAtLjU3LS4zNzYtMS0uODc0LTEtLjQ3NyAwLS44MzYuMzg1LS44MzYuODk3IDAgLjI5Ny4xNjQuNDAyLjMwNS40MDIuMiAwIC4zMjEtLjE3Ni4zMjEtLjM0NiAwLS4xMDYuMDIzLS4yMjguMjA0LS4yMjguMjQzIDAgLjI1LjI1NC4yNS4yODMgMCAuMjI4LS4yNTIuNDQyLS40OTUuNjQ5LS4zMDEuMjU1LS42NDIuNTQ0LS42NDIuOTkydi4zODRjMCAuMjA1LjE1OS4zNDMuMzA4LjM0M3pNMS43NyAxMC41NDNjMC0uNTkyLS4yOTYtLjkzMS0uODE0LS45MzEtLjY4IDAtLjg1OS41Ny0uODU5Ljg3MiAwIC4zNTEuMjIyLjM5LjMxOC4zOS4xODUgMCAuMzEtLjE0OC4zMS0uMzY2IDAtLjA4NC4wMjYtLjE4MS4yMjQtLjE4MS4xNDIgMCAuMi4wMjQuMi4yNjcgMCAuMjM3LS4wNDMuMjYzLS4yMTMuMjYzLS4xNjQgMC0uMjg4LjE1Mi0uMjg4LjM1NCAwIC4yLjEyNS4zNS4yOTEuMzUuMjI1IDAgLjI3LjEwOC4yNy4yODN2LjA3NWMwIC4yOTQtLjA5Ny4zNS0uMjc3LjM1LS4yNDggMC0uMjY3LS4xNS0uMjY3LS4xOTcgMC0uMTc0LS4wOTgtLjM1LS4zMTctLjM1LS4xOTIgMC0uMzA3LjE0MS0uMzA3LjM3OCAwIC40My4zMTMuODg4Ljg5NS44ODguNTY0IDAgLjkwMS0uNC45MDEtMS4wN3YtLjA3NGMwLS4yNzQtLjA3NC0uNTAyLS4yMTQtLjY2Ni4wOTYtLjE2My4xNDgtLjM4LjE0OC0uNjM1eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},indent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAw
31MCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS43MTYgMy4yMTFIMTd2MS4xOTdINS43MTZ6TTAgLjAyaDE3djEuMTk3SDB6TTAgMTIuNzgzaDE3djEuMTk3SDB6TTUuNzE2IDkuNTkzSDE3djEuMTk3SDUuNzE2ek01LjcxNiA2LjQwMkgxN3YxLjE5N0g1LjcxNnpNLjE4NyA5LjQ5MUwyLjUyIDcgLjE4NyA0LjUwOXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},outdent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS4zOTYgMy4xOTNoMTAuNTczVjQuMzlINS4zOTZ6TS4wMzkuMDAzaDE1LjkzVjEuMkguMDM5ek0uMDM5IDEyLjc2NmgxNS45M3YxLjE5N0guMDM5ek01LjM5NiA5LjU3NWgxMC41NzN2MS4xOTdINS4zOTZ6TTUuMzk2IDYuMzg0aDEwLjU3M3YxLjE5N0g1LjM5NnpNMi4xODcgNC40OTFMMCA2Ljk4M2wyLjE4NyAyLjQ5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},title:void 0},textAlign:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["left","center","right","justify"],left:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNOC40OTMgMTQuODg3SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4IDEwLjE2MkguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1M2gxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUzek04LjQ5MyA1LjQzNUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOC43MDlILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTJoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},center:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNTU2IDE0Ljg4N0gzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTggMTAuMTYySC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUzaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6TTExLjU1NiA1LjQzNUgzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTguNzA5SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTJ6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},right:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjE4IDE0Ljg4N0g2LjQ1YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOCAxMC4xNjJILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTNoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1M3pNMTQuNjE4IDUuNDM1SDYuNDVhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4LjcwOUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1MmgxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyeiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},justify:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjIgMTQuODg4SC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgMTAuMTYySC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgNS40MzZILjMyNWEuMzI2LjMyNiAwIDAgMSAwLS42NTJIMTQuNjJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42Mi43MUguMzI1YS4zMjYuMzI2IDAgMCAxIDAtLjY1M0gxNC42MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},title:void 0},colorPicker:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNDA2LjU4NWExLjk5OCAxLjk5OCAwIDAgMC0yLjgyNSAwbC0uNTQuNTRhLjc0MS43NDEgMCAxIDAtMS4wNDggMS4wNDhsLjE3NS4xNzUtNS44MjYgNS44MjUtMi4wMjIgMi4wMjNhLjkxLjkxIDAgMCAwLS4yNjYuNjAybC0uMDA1LjEwOHYuMDAybC0uMDgxIDEuODI5YS4zMDIuMzAyIDAgMCAwIC4zMDIuMzE2aC4wMTNsLjk3LS4wNDQuNTkyLS4wMjYuMjY4LS4wMTJjLjI5Ny0uMDEzLjU3OS0uMTM3Ljc5LS4zNDdsNy43Ny03Ljc3LjE0Ni4xNDRhLjc0Ljc0IDAgMCAwIDEuMDQ4IDBjLjI5LS4yOS4yOS0uNzU5IDAtMS4wNDhsLjU0LS41NGMuNzgtLjc4Ljc4LTIuMDQ0IDAtMi44MjV6TTguNzk1IDcuMzMzbC0yLjczLjUxNSA0LjQ1Mi00LjQ1MiAxLjEwOCAxLjEwNy0yLjgzIDIuODN6TTIuMDggMTMuNjczYy0xLjE0OCAwLTIuMDguMjk1LTIuMDguNjYgMCAuMzYzLjkzMi42NTggMi4wOC42NTggMS4xNSAwIDIuMDgtLjI5NCAyLjA4LS42NTkgMC0uMzY0LS45My0uNjU5LTIuMDgtLjY1OXoiLz48L2c+PC9zdmc+",className:void 0,component:void 0,popupClassName:void 0,colors:["rgb(97,189,109)","rgb(26,188,156)","rgb(84,172,210)","rgb(44,130,201)","rgb(147,101,184)","rgb(71,85,119)","rgb(204,204,204)","rgb(65,168,95)","rgb(0,168,133)","rgb(61,142,185)","rgb(41,105,176)","rgb(85,57,130)","rgb(40,50,78)","rgb(0,0,0)","rgb(247,218,100)","rgb(251,160,38)","rgb(235,107,86)","rgb(226,80,65)","rgb(163,143,132)","rgb(239,239,239)","rgb(255,255,255)","rgb(250,197,28)","rgb(243,121,52)","rgb(209,72,65)","rgb(184,49,47)","rgb(124,112,107)","rgb(209,213,216)"],title:void 0},link:{inDropdown:!1,className:void 0,component:void 0,popupClassName:void 0,dropdownClassName:void 0,showOpenOptionOnHover:!0,defaultTargetOption:"_self",options:["link","unlink"],link:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjk2Ny45NUEzLjIyNiAzLjIyNiAwIDAgMCAxMS42Ny4wMDJjLS44NyAwLTEuNjg2LjMzNy0yLjI5Ny45NDh
31MNy4xMDUgMy4yMThBMy4yNDcgMy4yNDcgMCAwIDAgNi4yNCA2LjI0YTMuMjI1IDMuMjI1IDAgMCAwLTMuMDIyLjg2NUwuOTUgOS4zNzNhMy4yNTMgMy4yNTMgMCAwIDAgMCA0LjU5NCAzLjIyNiAzLjIyNiAwIDAgMCAyLjI5Ny45NDhjLjg3IDAgMS42ODYtLjMzNiAyLjI5OC0uOTQ4TDcuODEyIDExLjdhMy4yNDcgMy4yNDcgMCAwIDAgLjg2NS0zLjAyMyAzLjIyNSAzLjIyNSAwIDAgMCAzLjAyMi0uODY1bDIuMjY4LTIuMjY3YTMuMjUyIDMuMjUyIDAgMCAwIDAtNC41OTV6TTcuMTA1IDEwLjk5M0w0LjgzNyAxMy4yNmEyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NSAyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LS42NTUgMi4yNTIgMi4yNTIgMCAwIDEgMC0zLjE4bDIuMjY4LTIuMjY4YTIuMjMyIDIuMjMyIDAgMCAxIDEuNTktLjY1NWMuNDMgMCAuODQxLjEyIDEuMTk1LjM0M0w0Ljc3MiA5LjQzOGEuNS41IDAgMSAwIC43MDcuNzA3bDEuOTM5LTEuOTM4Yy41NDUuODY4LjQ0MiAyLjAzLS4zMTMgMi43ODV6bTYuMTU1LTYuMTU1bC0yLjI2OCAyLjI2N2EyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NWMtLjQzMSAwLS44NDEtLjEyLTEuMTk1LS4zNDNsMS45MzgtMS45MzhhLjUuNSAwIDEgMC0uNzA3LS43MDdMNy40OTkgNi43MWEyLjI1MiAyLjI1MiAwIDAgMSAuMzEzLTIuNzg1bDIuMjY3LTIuMjY4YTIuMjMzIDIuMjMzIDAgMCAxIDEuNTktLjY1NSAyLjIzMyAyLjIzMyAwIDAgMSAyLjI0NiAyLjI0NWMwIC42MDMtLjIzMiAxLjE2OC0uNjU1IDEuNTl6IiBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=",className:void 0,title:void 0},unlink:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTMuOTU2IDEuMDM3YTMuNTUgMy41NSAwIDAgMC01LjAxNCAwTDYuNDM2IDMuNTQ0YS41NDUuNTQ1IDAgMSAwIC43Ny43N2wyLjUwOC0yLjUwNmEyLjQzOCAyLjQzOCAwIDAgMSAxLjczNS0uNzE1Yy42NTggMCAxLjI3NS4yNTQgMS43MzYuNzE1LjQ2LjQ2MS43MTUgMS4wNzguNzE1IDEuNzM2IDAgLjY1OC0uMjU0IDEuMjc0LS43MTUgMS43MzVMOS45MDcgOC41NThhMi40NTggMi40NTggMCAwIDEtMy40NzIgMCAuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3MSAzLjUzNCAzLjUzNCAwIDAgMCAyLjUwNyAxLjAzN2MuOTA4IDAgMS44MTYtLjM0NiAyLjUwNy0xLjAzN2wzLjI3OC0zLjI3OGEzLjUyIDMuNTIgMCAwIDAgMS4wMzUtMi41MDdjMC0uOTUtLjM2Ny0xLjg0LTEuMDM1LTIuNTA3eiIvPjxwYXRoIGQ9Ik03LjQgMTEuMDY1bC0yLjEyMiAyLjEyYTIuNDM3IDIuNDM3IDAgMCAxLTEuNzM1LjcxNiAyLjQzNyAyLjQzNyAwIDAgMS0xLjczNi0uNzE1IDIuNDU3IDIuNDU3IDAgMCAxIDAtMy40NzFsMy4wODYtMy4wODZhMi40MzggMi40MzggMCAwIDEgMS43MzUtLjcxNWMuNjU4IDAgMS4yNzUuMjU0IDEuNzM2LjcxNWEuNTQ1LjU0NSAwIDEgMCAuNzcxLS43NzEgMy41NSAzLjU1IDAgMCAwLTUuMDE0IDBMMS4wMzYgOC45NDRBMy41MiAzLjUyIDAgMCAwIDAgMTEuNDVjMCAuOTUuMzY3IDEuODQgMS4wMzUgMi41MDdhMy41MiAzLjUyIDAgMCAwIDIuNTA2IDEuMDM1Yy45NSAwIDEuODQtLjM2OCAyLjUwNy0xLjAzNWwyLjEyMi0yLjEyMWEuNTQ1LjU0NSAwIDAgMC0uNzcxLS43NzF6TTkuMjc0IDEyLjAwMmEuNTQ2LjU0NiAwIDAgMC0uNTQ2LjU0NXYxLjYzN2EuNTQ2LjU0NiAwIDAgMCAxLjA5MSAwdi0xLjYzN2EuNTQ1LjU0NSAwIDAgMC0uNTQ1LS41NDV6TTExLjIzIDExLjYxNmEuNTQ1LjU0NSAwIDEgMC0uNzcyLjc3MmwxLjE1NyAxLjE1NmEuNTQzLjU0MyAwIDAgMCAuNzcxIDAgLjU0NS41NDUgMCAwIDAgMC0uNzdsLTEuMTU2LTEuMTU4ek0xMi41MzcgOS44MkgxMC45YS41NDYuNTQ2IDAgMCAwIDAgMS4wOTFoMS42MzdhLjU0Ni41NDYgMCAwIDAgMC0xLjA5ek00LjkxIDMuNTQ3YS41NDYuNTQ2IDAgMCAwIC41NDUtLjU0NVYxLjM2NmEuNTQ2LjU0NiAwIDAgMC0xLjA5IDB2MS42MzZjMCAuMzAxLjI0NC41NDUuNTQ1LjU0NXpNMi44ODggMy45MzNhLjU0My41NDMgMCAwIDAgLjc3MSAwIC41NDUuNTQ1IDAgMCAwIDAtLjc3MUwyLjUwMiAyLjAwNWEuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3bDEuMTU3IDEuMTU4ek0xLjYyOCA1LjczaDEuNjM2YS41NDYuNTQ2IDAgMCAwIDAtMS4wOTJIMS42MjhhLjU0Ni41NDYgMCAwIDAgMCAxLjA5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},linkCallback:void 0},emoji:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHZpZXdCb3g9IjE1LjcyOSAyMi4wODIgMTcgMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI5LjcwOCAyNS4xMDRjLTMuMDIxLTMuMDIyLTcuOTM3LTMuMDIyLTEwLjk1OCAwLTMuMDIxIDMuMDItMy4wMiA3LjkzNiAwIDEwLjk1OCAzLjAyMSAzLjAyIDcuOTM3IDMuMDIgMTAuOTU4LS4wMDEgMy4wMi0zLjAyMSAzLjAyLTcuOTM2IDAtMTAuOTU3em0tLjg0NSAxMC4xMTJhNi41NiA2LjU2IDAgMCAxLTkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAtOS4yNjcgNi41NiA2LjU2IDAgMCAxIDkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAgOS4yNjd6bS03LjUyNC02LjczYS45MDYuOTA2IDAgMSAxIDEuODExIDAgLjkwNi45MDYgMCAwIDEtMS44MTEgMHptNC4xMDYgMGEuOTA2LjkwNiAwIDEgMSAxLjgxMiAwIC45MDYuOTA2IDAgMCAxLTEuODEyIDB6bTIuMTQxIDMuNzA4Yy0uNTYxIDEuMjk4LTEuODc1IDIuMTM3LTMuMzQ4IDIuMTM3LTEuNTA1IDAtMi44MjctLjg0My0zLjM2OS0yLjE0N2EuNDM4LjQzOCAwIDAgMSAuODEtLjMzNmMuNDA1Ljk3NiAxLjQxIDEuNjA3IDIuNTU5IDEuNjA3IDEuMTIzIDAgMi4xMjEtLjYzMSAyLjU0NC0xLjYwOGEuNDM4LjQzOCAwIDAgMSAuODA0LjM0N3oiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,emojis:["ð","ð","ð","ð","ð","ð","ð","ð","ð","ð¤","ð¤","ð£","ð«","ð´","ð","ð¤","ð","ð","ð ","ð","ð·","ð","ð»","ðº","ð¸","ð¹","ð»","ð¼","ð½","ð","ð","ð","ð","ð¼","ð®","ðµ","ð","ð³","ð
","ð¸","ð°","ð²","ð","ð","ð¶","ð","ð","â·","ð","ð","ð","ð£","ð","â¹","ð","ð´","ð«","ðª","ð","ð","ð","ð","ð","ð","ð¤","ð","ð","ð","ð","â","ð","ð","ð","ð","ðµ","ð¶","ð","ð¥","ð¸","ð","ð","ð","ð","ð","ð","ð","ð¤","ð¨","ðª","ð","ð°","ð¾","ð·","ð¸","ðº","ð","ð","â°","ð","ð","ð","â","ð","ð ","ð¨","ð©","â","ð¥","ð","ð","ð","ð","ð","ð","ð","ð","ð²","ð","ð","ð£","ð","ðµ","ð·","ð°","ð","ð
","â
","â","ð¯"],title:void 0},embedded:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzA4IDYuNjE1YS40MzYuNDM2IDAgMCAwLS41NDMuMjkxbC0xLjgzIDYuMDQ1YS40MzYuNDM2IDAgMCAwIC44MzMuMjUyTDcgNy4xNmEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHpNOC45MzEgNi42MTVhLjQzNi40MzYgMCAwIDAtLjU0My4yOTFsLTEuODMgNi4wNDVhLjQzNi40MzYgMCAwIDAgLjgzNC4yNTJsMS44My02LjA0NGEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHoiLz48cGF0aCBkPSJNMTYuNTY0IDBILjQzNkEuNDM2LjQzNiAwIDAgMCAwIC40MzZ2MTYuMTI4YzAgLjI0LjE5NS40MzYuNDM2LjQzNmgxNi4xMjhjLjI0I
31DAgLjQzNi0uMTk1LjQzNi0uNDM2Vi40MzZBLjQzNi40MzYgMCAwIDAgMTYuNTY0IDB6TTMuNDg3Ljg3MmgxMC4wMjZ2MS43NDNIMy40ODdWLjg3MnptLTIuNjE1IDBoMS43NDN2MS43NDNILjg3MlYuODcyem0xNS4yNTYgMTUuMjU2SC44NzJWMy40ODhoMTUuMjU2djEyLjY0em0wLTEzLjUxM2gtMS43NDNWLjg3MmgxLjc0M3YxLjc0M3oiLz48Y2lyY2xlIGN4PSI5My44NjciIGN5PSIyNDUuMDY0IiByPSIxMy4xMjgiIHRyYW5zZm9ybT0ibWF0cml4KC4wMzMyIDAgMCAuMDMzMiAwIDApIi8+PGNpcmNsZSBjeD0iOTMuODY3IiBjeT0iMzYwLjU5MiIgcj0iMTMuMTI4IiB0cmFuc2Zvcm09Im1hdHJpeCguMDMzMiAwIDAgLjAzMzIgMCAwKSIvPjxwYXRoIGQ9Ik0xNC4yNTQgMTIuNjQxSDEwLjJhLjQzNi40MzYgMCAwIDAgMCAuODcyaDQuMDU0YS40MzYuNDM2IDAgMCAwIDAtLjg3MnoiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,embedCallback:void 0,defaultSize:{height:"auto",width:"auto"},title:void 0},image:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNzQxIDBILjI2Qy4xMTYgMCAwIC4xMzYgMCAuMzA0djEzLjM5MmMwIC4xNjguMTE2LjMwNC4yNTkuMzA0SDE0Ljc0Yy4xNDMgMCAuMjU5LS4xMzYuMjU5LS4zMDRWLjMwNEMxNSAuMTM2IDE0Ljg4NCAwIDE0Ljc0MSAwem0tLjI1OCAxMy4zOTFILjUxN1YuNjFoMTMuOTY2VjEzLjM5eiIvPjxwYXRoIGQ9Ik00LjEzOCA2LjczOGMuNzk0IDAgMS40NC0uNzYgMS40NC0xLjY5NXMtLjY0Ni0xLjY5NS0xLjQ0LTEuNjk1Yy0uNzk0IDAtMS40NC43Ni0xLjQ0IDEuNjk1IDAgLjkzNC42NDYgMS42OTUgMS40NCAxLjY5NXptMC0yLjc4MWMuNTA5IDAgLjkyMy40ODcuOTIzIDEuMDg2IDAgLjU5OC0uNDE0IDEuMDg2LS45MjMgMS4wODYtLjUwOSAwLS45MjMtLjQ4Ny0uOTIzLTEuMDg2IDAtLjU5OS40MTQtMS4wODYuOTIzLTEuMDg2ek0xLjgxIDEyLjE3NGMuMDYgMCAuMTIyLS4wMjUuMTcxLS4wNzZMNi4yIDcuNzI4bDIuNjY0IDMuMTM0YS4yMzIuMjMyIDAgMCAwIC4zNjYgMCAuMzQzLjM0MyAwIDAgMCAwLS40M0w3Ljk4NyA4Ljk2OWwyLjM3NC0zLjA2IDIuOTEyIDMuMTQyYy4xMDYuMTEzLjI3LjEwNS4zNjYtLjAyYS4zNDMuMzQzIDAgMCAwLS4wMTYtLjQzbC0zLjEwNC0zLjM0N2EuMjQ0LjI0NCAwIDAgMC0uMTg2LS4wOC4yNDUuMjQ1IDAgMCAwLS4xOC4xTDcuNjIyIDguNTM3IDYuMzk0IDcuMDk0YS4yMzIuMjMyIDAgMCAwLS4zNTQtLjAxM2wtNC40IDQuNTZhLjM0My4zNDMgMCAwIDAtLjAyNC40My4yNDMuMjQzIDAgMCAwIC4xOTQuMTAzeiIvPjwvZz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,urlEnabled:!0,uploadEnabled:!0,previewImage:!1,alignmentEnabled:!0,uploadCallback:void 0,inputAccept:"image/gif,image/jpeg,image/jpg,image/png,image/svg",alt:{present:!1,mandatory:!1},defaultSize:{height:"auto",width:"auto"},title:void 0},remove:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNOC4xIDE0bDYuNC03LjJjLjYtLjcuNi0xLjgtLjEtMi41bC0yLjctMi43Yy0uMy0uNC0uOC0uNi0xLjMtLjZIOC42Yy0uNSAwLTEgLjItMS40LjZMLjUgOS4yYy0uNi43LS42IDEuOS4xIDIuNWwyLjcgMi43Yy4zLjQuOC42IDEuMy42SDE2di0xSDguMXptLTEuMy0uMXMwLS4xIDAgMGwtMi43LTIuN2MtLjQtLjQtLjQtLjkgMC0xLjNMNy41IDZoLTFsLTMgMy4zYy0uNi43LS42IDEuNy4xIDIuNEw1LjkgMTRINC42Yy0uMiAwLS40LS4xLS42LS4yTDEuMiAxMWMtLjMtLjMtLjMtLjggMC0xLjFMNC43IDZoMS44TDEwIDJoMUw3LjUgNmwzLjEgMy43LTMuNSA0Yy0uMS4xLS4yLjEtLjMuMnoiLz48L3N2Zz4=",className:void 0,component:void 0,title:void 0},history:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["undo","redo"],undo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcgMTQuODc1YzIuNjcyIDAgNC44NDYtMi4xNDUgNC44NDYtNC43ODEgMC0yLjYzNy0yLjE3NC00Ljc4MS00Ljg0Ni00Ljc4MVY4LjVMMS42MTUgNC4yNSA3IDB2My4xODhjMy44NiAwIDcgMy4wOTggNyA2LjkwNlMxMC44NiAxNyA3IDE3cy03LTMuMDk4LTctNi45MDZoMi4xNTRjMCAyLjYzNiAyLjE3NCA0Ljc4MSA0Ljg0NiA0Ljc4MXoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},redo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNTA0IDEzLjk3N2E0LjQ5NyA0LjQ5NyAwIDAgMS00LjQ5Mi00LjQ5MiA0LjQ5NyA0LjQ5NyAwIDAgMSA0LjQ5Mi00LjQ5M3YyLjk5NWw0Ljk5LTMuOTkzTDYuNTA0IDB2Mi45OTVhNi40OTYgNi40OTYgMCAwIDAtNi40ODggNi40OWMwIDMuNTc4IDIuOTEgNi40OSA2LjQ4OCA2LjQ5YTYuNDk2IDYuNDk2IDAgMCAwIDYuNDg3LTYuNDloLTEuOTk2YTQuNDk3IDQuNDk3IDAgMCAxLTQuNDkxIDQuNDkyeiIgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",className:void 0,title:void 0},title:void 0}},S0={en:{"generic.add":"Add","generic.cancel":"Cancel","components.c
31ontrols.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Block Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Color Picker","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Highlight","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Embedded Link","components.controls.embedded.enterlink":"Enter link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Font","components.controls.fontsize.fontsize":"Font Size","components.controls.history.history":"History","components.controls.history.undo":"Undo","components.controls.history.redo":"Redo","components.controls.image.image":"Image","components.controls.image.fileUpload":"File Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop the file or click to upload","components.controls.inline.bold":"Bold","components.controls.inline.italic":"Italic","components.controls.inline.underline":"Underline","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Link Title","components.controls.link.linkTarget":"Link Target","components.controls.link.linkTargetOption":"Open link in new window","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"List","components.controls.list.unordered":"Unordered","components.controls.list.ordered":"Ordered","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Remove","components.controls.textalign.textalign":"Text Align","components.controls.textalign.left":"Left","components.controls.textalign.center":"Center","components.controls.textalign.right":"Right","components.controls.textalign.justify":"Justify"},fr:{"generic.add":"Ok","generic.cancel":"Annuler","components.controls.blocktype.h1":"Titre 1","components.controls.blocktype.h2":"Titre 2","components.controls.blocktype.h3":"Titre 3","components.controls.blocktype.h4":"Titre 4","components.controls.blocktype.h5":"Titre 5","components.controls.blocktype.h6":"Titre 6","components.controls.blocktype.blockquote":"Citation","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Type bloc","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Palette de couleur","components.controls.colorpicker.text":"Texte","components.controls.colorpicker.background":"Fond","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Lien iFrame","components.controls.embedded.enterlink":"Entrer le lien","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Police","components.controls.fontsize.fontsize":"Taille de police","components.controls.history.history":"Historique","components.controls.history.undo":"Précédent","components.controls.history.redo":"Suivant","components.controls.image.image":"Image","components.controls.image.fileUpload":"Téléchargement","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Glisser une image ou cliquer pour télécharger","components.controls.inline.bold":"Gras","components.controls.inline.italic":"Italique","components.controls.inline.underline":"Souligner","components.controls.inline.strikethrough":"Barrer","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Exposant","components.controls.inline.subscript":"Indice","components.c
31ontrols.link.linkTitle":"Titre du lien","components.controls.link.linkTarget":"Cible du lien","components.controls.link.linkTargetOption":"Ouvrir le lien dans une nouvelle fenêtre","components.controls.link.link":"Lier","components.controls.link.unlink":"Délier","components.controls.list.list":"Liste","components.controls.list.unordered":"Désordonnée","components.controls.list.ordered":"Ordonnée","components.controls.list.indent":"Augmenter le retrait","components.controls.list.outdent":"Diminuer le retrait","components.controls.remove.remove":"Supprimer","components.controls.textalign.textalign":"Alignement du texte","components.controls.textalign.left":"Gauche","components.controls.textalign.center":"Centre","components.controls.textalign.right":"Droite","components.controls.textalign.justify":"Justifier"},zh:{"generic.add":"æ·»å ","generic.cancel":"åæ¶","components.controls.blocktype.h1":"æ é¢1","components.controls.blocktype.h2":"æ é¢2","components.controls.blocktype.h3":"æ é¢3","components.controls.blocktype.h4":"æ é¢4","components.controls.blocktype.h5":"æ é¢5","components.controls.blocktype.h6":"æ é¢6","components.controls.blocktype.blockquote":"å¼ç¨","components.controls.blocktype.code":"æºç ","components.controls.blocktype.blocktype":"æ ·å¼","components.controls.blocktype.normal":"æ£æ","components.controls.colorpicker.colorpicker":"éè²å¨","components.controls.colorpicker.text":"æå","components.controls.colorpicker.background":"èæ¯","components.controls.embedded.embedded":"å
åµ","components.controls.embedded.embeddedlink":"å
åµç½é¡µ","components.controls.embedded.enterlink":"è¾å
¥ç½é¡µå°å","components.controls.emoji.emoji":"表æ
符å·","components.controls.fontfamily.fontfamily":"åä½","components.controls.fontsize.fontsize":"åå·","components.controls.history.history":"åå²","components.controls.history.undo":"æ¤é","components.controls.history.redo":"æ¢å¤","components.controls.image.image":"å¾ç","components.controls.image.fileUpload":"æ¥èªæä»¶","components.controls.image.byURL":"å¨çº¿å¾ç","components.controls.image.dropFileText":"ç¹å»æè
ææ½æä»¶ä¸ä¼ ","components.controls.inline.bold":"ç²ä½","components.controls.inline.italic":"æä½","components.controls.inline.underline":"ä¸å线","components.controls.inline.strikethrough":"å é¤çº¿","components.controls.inline.monospace":"ç宽åä½","components.controls.inline.superscript":"䏿 ","components.controls.inline.subscript":"䏿 ","components.controls.link.linkTitle":"è¶
龿¥","components.controls.link.linkTarget":"è¾å
¥é¾æ¥å°å","components.controls.link.linkTargetOption":"卿°çªå£ä¸æå¼é¾æ¥","components.controls.link.link":"龿¥","components.controls.link.unlink":"å é¤é¾æ¥","components.controls.list.list":"å表","components.controls.list.unordered":"项ç®ç¬¦å·","components.controls.list.ordered":"ç¼å·","components.controls.list.indent":"å¢å 缩è¿é","components.controls.list.outdent":"åå°ç¼©è¿é","components.controls.remove.remove":"æ¸
餿 ¼å¼","components.controls.textalign.textalign":"ææ¬å¯¹é½","components.controls.textalign.left":"ææ¬å·¦å¯¹é½","components.controls.textalign.center":"å±
ä¸","components.controls.textalign.right":"ææ¬å³å¯¹é½","components.controls.textalign.justify":"两端对é½"},ru:{"generic.add":"ÐобавиÑÑ","generic.cancel":"ÐÑмениÑÑ","components.controls.blocktype.h1":"Ðаголовок 1","components.controls.blocktype.h2":"Ðаголовок 2","components.controls.blocktype.h3":"Ðаголовок 3","components.controls.blocktype.h4":"Ðаголовок 4","components.controls.blocktype.h5":"Ðаголовок 5","components.controls.blocktype.h6":"Ðаголовок 6","components.controls.blocktype.blockquote":"ЦиÑаÑа","components.controls.blocktype.code":"Ðод","components.controls.blocktype.blocktype":"ФоÑмаÑиÑование","components.controls.blocktype.normal":"ÐбÑÑнÑй","components.controls.colorpicker.colorpicker":"ÐÑÐ±Ð¾Ñ ÑвеÑа","components.c
31ontrols.colorpicker.text":"ТекÑÑ","components.controls.colorpicker.background":"Фон","components.controls.embedded.embedded":"ÐÑÑÑаивание","components.controls.embedded.embeddedlink":"СÑÑлка в iFrame","components.controls.embedded.enterlink":"ÐÑÑавÑÑе ÑÑÑлкÑ","components.controls.emoji.emoji":"Ðмодзи","components.controls.fontfamily.fontfamily":"ШÑиÑÑ","components.controls.fontsize.fontsize":"Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа","components.controls.history.history":"ÐÑÑоÑиÑ","components.controls.history.undo":"ÐÑмениÑÑ","components.controls.history.redo":"ÐеÑнÑÑÑ","components.controls.image.image":"ÐзобÑажение","components.controls.image.fileUpload":"ФайлÑ","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"ÐеÑемеÑÑиÑе в ÑÑÑ Ð¾Ð±Ð»Ð°ÑÑÑ ÑÐ°Ð¹Ð»Ñ Ð¸Ð»Ð¸ кликниÑе Ð´Ð»Ñ Ð·Ð°Ð³ÑÑзки","components.controls.inline.bold":"ÐиÑнÑй","components.controls.inline.italic":"ÐÑÑÑив","components.controls.inline.underline":"ÐодÑеÑкивание","components.controls.inline.strikethrough":"ÐаÑеÑкивание","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"ÐеÑÑ
ний индекÑ","components.controls.inline.subscript":"Ðижний индекÑ","components.controls.link.linkTitle":"ТекÑÑ","components.controls.link.linkTarget":"ÐдÑÐµÑ ÑÑÑлки","components.controls.link.linkTargetOption":"ÐÑкÑÑваÑÑ Ð² новом окне","components.controls.link.link":"СÑÑлка","components.controls.link.unlink":"УбÑаÑÑ ÑÑÑлкÑ","components.controls.list.list":"СпиÑок","components.controls.list.unordered":"ÐеÑпоÑÑдоÑеннÑй","components.controls.list.ordered":"УпоÑÑдоÑеннÑй","components.controls.list.indent":"ÐÑÑÑÑп","components.controls.list.outdent":"ÐÑÑÑÑп","components.controls.remove.remove":"УдалиÑÑ","components.controls.textalign.textalign":"ÐÑÑавнивание ÑекÑÑа","components.controls.textalign.left":"Слева","components.controls.textalign.center":"Ðо ÑенÑÑÑ","components.controls.textalign.right":"СпÑава","components.controls.textalign.justify":"ÐÑÑавниÑÑ"},pt:{"generic.add":"Ok","generic.cancel":"Cancelar","components.controls.blocktype.h1":"TÃtulo 1","components.controls.blocktype.h2":"TÃtulo 2","components.controls.blocktype.h3":"TÃtulo 3","components.controls.blocktype.h4":"TÃtulo 4","components.controls.blocktype.h5":"TÃtulo 5","components.controls.blocktype.h6":"TÃtulo 6","components.controls.blocktype.blockquote":"Citação","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Estilo","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Paleta de cores","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Fundo","components.controls.embedded.embedded":"Embarcado","components.controls.embedded.embeddedlink":"Link embarcado","components.controls.embedded.enterlink":"Coloque o link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonte","components.controls.fontsize.fontsize":"Tamanho da Fonte","components.controls.history.history":"Histórico","components.controls.history.undo":"Desfazer","components.controls.history.redo":"Refazer","components.controls.image.image":"Imagem","components.controls.image.fileUpload":"Carregar arquivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arraste uma imagem aqui ou clique para carregar","components.controls.inline.bold":"Negrito","components.controls.inline.italic":"Itálico","components.controls.inline.underline":"Sublinhado","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobrescrito","components.controls.inline.subscript":"Subscrito","components.controls.link.linkTitle":"TÃtulo do link","components.c
31ontrols.link.linkTarget":"Alvo do link","components.controls.link.linkTargetOption":"Abrir link em outra janela","components.controls.link.link":"Adicionar Link","components.controls.link.unlink":"Remover link","components.controls.list.list":"Lista","components.controls.list.unordered":"Sem ordenção","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Aumentar recuo","components.controls.list.outdent":"Diminuir recuo","components.controls.remove.remove":"Remover","components.controls.textalign.textalign":"Alinhamento do texto","components.controls.textalign.left":"à Esquerda","components.controls.textalign.center":"Centralizado","components.controls.textalign.right":"à Direita","components.controls.textalign.justify":"Justificado"},ko:{"generic.add":"ì
ë ¥","generic.cancel":"ì·¨ì","components.controls.blocktype.h1":"ì 목1","components.controls.blocktype.h2":"ì 목2","components.controls.blocktype.h3":"ì 목3","components.controls.blocktype.h4":"ì 목4","components.controls.blocktype.h5":"ì 목5","components.controls.blocktype.h6":"ì 목6","components.controls.blocktype.blockquote":"ì¸ì©","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"ë¸ë¡","components.controls.blocktype.normal":"íì¤","components.controls.colorpicker.colorpicker":"ìì ì í","components.controls.colorpicker.text":"ê¸ê¼´ì","components.controls.colorpicker.background":"ë°°ê²½ì","components.controls.embedded.embedded":"ìë² ë","components.controls.embedded.embeddedlink":"ìë² ë ë§í¬","components.controls.embedded.enterlink":"주ì를 ì
ë ¥íì¸ì","components.controls.emoji.emoji":"ì´ëª¨ì§","components.controls.fontfamily.fontfamily":"ê¸ê¼´","components.controls.fontsize.fontsize":"ê¸ê¼´ í¬ê¸°","components.controls.history.history":"íì¤í 리","components.controls.history.undo":"ì¤í ì·¨ì","components.controls.history.redo":"ë¤ì ì¤í","components.controls.image.image":"ì´ë¯¸ì§","components.controls.image.fileUpload":"íì¼ ì
ë¡ë","components.controls.image.byURL":"주ì","components.controls.image.dropFileText":"í´ë¦íê±°ë íì¼ì ëë¡íì¬ ì
ë¡ëíì¸ì","components.controls.inline.bold":"êµµê²","components.controls.inline.italic":"기ì¸ìê¼´","components.controls.inline.underline":"ë°ì¤","components.controls.inline.strikethrough":"ì·¨ìì ","components.controls.inline.monospace":"ê³ ì ëë¹","components.controls.inline.superscript":"ì 첨ì","components.controls.inline.subscript":"ìë 첨ì","components.controls.link.linkTitle":"ë§í¬ ì 목","components.controls.link.linkTarget":"ë§í¬ íê²","components.controls.link.linkTargetOption":"ìì°½ì¼ë¡ ì´ê¸°","components.controls.link.link":"ë§í¬","components.controls.link.unlink":"ë§í¬ ì ê±°","components.controls.list.list":"리ì¤í¸","components.controls.list.unordered":"ì¼ë° 리ì¤í¸","components.controls.list.ordered":"ìì 리ì¤í¸","components.controls.list.indent":"ë¤ì¬ì°ê¸°","components.controls.list.outdent":"ë´ì´ì°ê¸°","components.controls.remove.remove":"ìì ","components.controls.textalign.textalign":"í
ì¤í¸ ì ë ¬","components.controls.textalign.left":"ì¼ìª½","components.controls.textalign.center":"ì¤ì","components.controls.textalign.right":"ì¤ë¥¸ìª½","components.controls.textalign.justify":"ì쪽"},it:{"generic.add":"Aggiungi","generic.cancel":"Annulla","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Citazione","components.controls.blocktype.code":"Codice","components.controls.blocktype.blocktype":"Stili","components.controls.blocktype.normal":"Normale","components.controls.colorpicker.colorpicker":"Colore testo","components.controls.colorpicker.text":"Testo","components.controls.colorpicker.background":"Evidenziazione","components.controls.embedded.embedded":"Incorpora","components.c
31ontrols.embedded.embeddedlink":"Incorpora link","components.controls.embedded.enterlink":"Inserisci link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Carattere","components.controls.fontsize.fontsize":"Dimensione carattere","components.controls.history.history":"Modifiche","components.controls.history.undo":"Annulla","components.controls.history.redo":"Ripristina","components.controls.image.image":"Immagine","components.controls.image.fileUpload":"Carica immagine","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Trascina il file o clicca per caricare","components.controls.inline.bold":"Grassetto","components.controls.inline.italic":"Corsivo","components.controls.inline.underline":"Sottolineato","components.controls.inline.strikethrough":"Barrato","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Apice","components.controls.inline.subscript":"Pedice","components.controls.link.linkTitle":"Testo","components.controls.link.linkTarget":"Link","components.controls.link.linkTargetOption":"Apri link in una nuova finestra","components.controls.link.link":"Inserisci link","components.controls.link.unlink":"Rimuovi link","components.controls.list.list":"Lista","components.controls.list.unordered":"Elenco puntato","components.controls.list.ordered":"Elenco numerato","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Rimuovi formattazione","components.controls.textalign.textalign":"Allineamento del testo","components.controls.textalign.left":"Allinea a sinistra","components.controls.textalign.center":"Allinea al centro","components.controls.textalign.right":"Allinea a destra","components.controls.textalign.justify":"Giustifica"},nl:{"generic.add":"Toevoegen","generic.cancel":"Annuleren","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Blocktype","components.controls.blocktype.normal":"Normaal","components.controls.colorpicker.colorpicker":"Kleurkiezer","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Achtergrond","components.controls.embedded.embedded":"Ingevoegd","components.controls.embedded.embeddedlink":"Ingevoegde link","components.controls.embedded.enterlink":"Voeg link toe","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Lettertype","components.controls.fontsize.fontsize":"Lettergrootte","components.controls.history.history":"Geschiedenis","components.controls.history.undo":"Ongedaan maken","components.controls.history.redo":"Opnieuw","components.controls.image.image":"Afbeelding","components.controls.image.fileUpload":"Bestand uploaden","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop het bestand hier of klik om te uploaden","components.controls.inline.bold":"Dikgedrukt","components.controls.inline.italic":"Schuingedrukt","components.controls.inline.underline":"On
31derstrepen","components.controls.inline.strikethrough":"Doorstrepen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Linktitel","components.controls.link.linkTarget":"Link bestemming","components.controls.link.linkTargetOption":"Open link in een nieuw venster","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"Lijst","components.controls.list.unordered":"Ongeordend","components.controls.list.ordered":"Geordend","components.controls.list.indent":"Inspringen","components.controls.list.outdent":"Inspringen verkleinen","components.controls.remove.remove":"Verwijderen","components.controls.textalign.textalign":"Tekst uitlijnen","components.controls.textalign.left":"Links","components.controls.textalign.center":"Gecentreerd","components.controls.textalign.right":"Rechts","components.controls.textalign.justify":"Uitgelijnd"},de:{"generic.add":"Hinzufügen","generic.cancel":"Abbrechen","components.controls.blocktype.h1":"Ãberschrift 1","components.controls.blocktype.h2":"Ãberschrift 2","components.controls.blocktype.h3":"Ãberschrift 3","components.controls.blocktype.h4":"Ãberschrift 4","components.controls.blocktype.h5":"Ãberschrift 5","components.controls.blocktype.h6":"Ãberschrift 6","components.controls.blocktype.blockquote":"Zitat","components.controls.blocktype.code":"Quellcode","components.controls.blocktype.blocktype":"Blocktyp","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farbauswahl","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Hintergrund","components.controls.embedded.embedded":"Eingebettet","components.controls.embedded.embeddedlink":"Eingebetteter Link","components.controls.embedded.enterlink":"Link eingeben","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Schriftart","components.controls.fontsize.fontsize":"SchriftgröÃe","components.controls.history.history":"Historie","components.controls.history.undo":"Zurücknehmen","components.controls.history.redo":"Wiederholen","components.controls.image.image":"Bild","components.controls.image.fileUpload":"Datei-Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Dateien ziehen und ablegen, oder klicken zum Hochladen","components.controls.inline.bold":"Fett","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Unterstreichen","components.controls.inline.strikethrough":"Durchstreichen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Hochgestellt","components.controls.inline.subscript":"Tiefgestellt","components.controls.link.linkTitle":"Link-Titel","components.controls.link.linkTarget":"Link-Ziel","components.controls.link.linkTargetOption":"Link in neuem Fenster öffnen","components.controls.link.link":"Link","components.controls.link.unlink":"Aufheben","components.controls.list.list":"Liste","components.controls.list.unordered":"Aufzählung","components.controls.list.ordered":"Nummerierte Liste","components.controls.list.indent":"Einzug vergröÃern","components.controls.list.outdent":"Einzug reduzieren","components.controls.remove.remove":"Entfernen","components.controls.textalign.textalign":"Textausrichtung","components.controls.textalign.left":"Linksbündig","components.controls.textalign.center":"Zentrieren","components.controls.textalign.right":"Rechtsbündig","components.controls.textalign.justify":"Blocksatz"},da:{"generic.add":"Tilføj","generic.cancel":"Annuller","components.controls.blocktype.h1":"Overskrift 1","components.controls.blocktype.h2":"Overskrift 2","components.controls.blocktype.h3":"Overskrift 3","components.controls.blocktype.h4":"Overskrift 4","components.controls.blocktype.h5":"Overskrift 5","components.controls.blocktype.h6":"Overskrift 6","components.controls.blocktype.blockquote":"Blokcitat","components.c
31ontrols.blocktype.code":"Kode","components.controls.blocktype.blocktype":"Blok Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farver","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Baggrund","components.controls.embedded.embedded":"Indlejre","components.controls.embedded.embeddedlink":"Indlejre Link","components.controls.embedded.enterlink":"Indtast link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonttype","components.controls.fontsize.fontsize":"Fontstørrelser","components.controls.history.history":"Historie","components.controls.history.undo":"Fortryd","components.controls.history.redo":"Gendan","components.controls.image.image":"Billede","components.controls.image.fileUpload":"Filoverførsel","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop filen eller klik for at uploade","components.controls.inline.bold":"Fed","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Understrege","components.controls.inline.strikethrough":"Gennemstreget","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Hævet","components.controls.inline.subscript":"Sænket","components.controls.link.linkTitle":"Link Titel","components.controls.link.linkTarget":"Link MÃ¥l","components.controls.link.linkTargetOption":"Ã
bn link i nyt vindue","components.controls.link.link":"Link","components.controls.link.unlink":"Fjern link","components.controls.list.list":"Liste","components.controls.list.unordered":"Uordnet","components.controls.list.ordered":"Ordnet","components.controls.list.indent":"Indrykning","components.controls.list.outdent":"Udrykning","components.controls.remove.remove":"Fjern","components.controls.textalign.textalign":"Tekstjustering","components.controls.textalign.left":"Venstre","components.controls.textalign.center":"Center","components.controls.textalign.right":"Højre","components.controls.textalign.justify":"Margener"},zh_tw:{"generic.add":"æ°å¢","generic.cancel":"åæ¶","components.controls.blocktype.h1":"æ¨é¡1","components.controls.blocktype.h2":"æ¨é¡2","components.controls.blocktype.h3":"æ¨é¡3","components.controls.blocktype.h4":"æ¨é¡4","components.controls.blocktype.h5":"æ¨é¡5","components.controls.blocktype.h6":"æ¨é¡6","components.controls.blocktype.blockquote":"å¼ç¨","components.controls.blocktype.code":"ç¨å¼ç¢¼","components.controls.blocktype.blocktype":"樣å¼","components.controls.blocktype.normal":"æ£æ","components.controls.colorpicker.colorpicker":"é¸è²å¨","components.controls.colorpicker.text":"æå","components.controls.colorpicker.background":"èæ¯","components.controls.embedded.embedded":"å
§åµ","components.controls.embedded.embeddedlink":"å
§åµç¶²é ","components.controls.embedded.enterlink":"輸å
¥ç¶²é å°å","components.controls.emoji.emoji":"表æ
符è","components.controls.fontfamily.fontfamily":"åé«","components.controls.fontsize.fontsize":"åé«å¤§å°","components.controls.history.history":"æ·å²ç´é","components.controls.history.undo":"復å","components.controls.history.redo":"éå","components.controls.image.image":"åç","components.controls.image.fileUpload":"æªæ¡ä¸å³","components.controls.image.byURL":"ç¶²å","components.controls.image.dropFileText":"é»ææææ³æªæ¡ä¸å³","components.controls.inline.bold":"ç²é«","components.controls.inline.italic":"æé«","components.controls.inline.underline":"åºç·","components.controls.inline.strikethrough":"åªé¤ç·","components.controls.inline.monospace":"ç寬åé«","components.controls.inline.superscript":"䏿¨","components.controls.inline.subscript":"䏿¨","components.controls.link.linkTitle":"è¶
é£çµ","components.controls.link.linkTarget":"輸å
¥é£çµä½å","components.controls.link.linkTargetOption":"卿°è¦çªæéé£çµ","components.controls.link.link":"é£çµ","components.controls.link.unlink":"åªé¤é£çµ","components.controls.list.list":"å表","components.c
31ontrols.list.unordered":"é
ç®ç¬¦è","components.controls.list.ordered":"ç·¨è","components.controls.list.indent":"å¢å 縮æ","components.controls.list.outdent":"æ¸å°ç¸®æ","components.controls.remove.remove":"æ¸
餿 ¼å¼","components.controls.textalign.textalign":"æåå°é½","components.controls.textalign.left":"æååå·¦å°é½","components.controls.textalign.center":"æåç½®ä¸","components.controls.textalign.right":"æååå³å°é½","components.controls.textalign.justify":"å
©ç«¯å°é½"},pl:{"generic.add":"Dodaj","generic.cancel":"Anuluj","components.controls.blocktype.h1":"NagÅówek 1","components.controls.blocktype.h2":"NagÅówek 2","components.controls.blocktype.h3":"NagÅówek 3","components.controls.blocktype.h4":"NagÅówek 4","components.controls.blocktype.h5":"NagÅówek 5","components.controls.blocktype.h6":"NagÅówek 6","components.controls.blocktype.blockquote":"Cytat","components.controls.blocktype.code":"Kod","components.controls.blocktype.blocktype":"Format","components.controls.blocktype.normal":"Normalny","components.controls.colorpicker.colorpicker":"Kolor","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"TÅo","components.controls.embedded.embedded":"Osadź","components.controls.embedded.embeddedlink":"Osadź odnoÅnik","components.controls.embedded.enterlink":"Wprowadź odnoÅnik","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Krój czcionki","components.controls.fontsize.fontsize":"Rozmiar czcionki","components.controls.history.history":"Historia","components.controls.history.undo":"Cofnij","components.controls.history.redo":"Ponów","components.controls.image.image":"Obrazek","components.controls.image.fileUpload":"PrzeÅlij plik","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"UpuÅÄ plik lub kliknij, aby przesÅaÄ","components.controls.inline.bold":"Pogrubienie","components.controls.inline.italic":"Kursywa","components.controls.inline.underline":"PodkreÅlenie","components.controls.inline.strikethrough":"PrzekreÅlenie","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Indeks górny","components.controls.inline.subscript":"Indeks dolny","components.controls.link.linkTitle":"TytuÅ odnoÅnika","components.controls.link.linkTarget":"Adres odnoÅnika","components.controls.link.linkTargetOption":"Otwórz odnoÅnik w nowej karcie","components.controls.link.link":"Wstaw odnoÅnik","components.controls.link.unlink":"UsuÅ odnoÅnik","components.controls.list.list":"Lista","components.controls.list.unordered":"Lista nieuporzÄ
dkowana","components.controls.list.ordered":"Lista uporzÄ
dkowana","components.controls.list.indent":"ZwiÄksz wciÄcie","components.controls.list.outdent":"Zmniejsz wciÄcie","components.controls.remove.remove":"UsuÅ","components.controls.textalign.textalign":"Wyrównaj tekst","components.controls.textalign.left":"Do lewej","components.controls.textalign.center":"Do Årodka","components.controls.textalign.right":"Do prawej","components.controls.textalign.justify":"Wyjustuj"},es:{"generic.add":"Añadir","generic.cancel":"Cancelar","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Código","components.controls.blocktype.blocktype":"Tipo de bloque","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Seleccionar color","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Subrayado","components.controls.embedded.embedded":"Adjuntar","components.controls.embedded.embeddedlink":"Adjuntar Link","components.controls.embedded.enterlink":"Introducir link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fuente","components.c
31ontrols.fontsize.fontsize":"Tamaño de fuente","components.controls.history.history":"Histórico","components.controls.history.undo":"Deshacer","components.controls.history.redo":"Rehacer","components.controls.image.image":"Imagen","components.controls.image.fileUpload":"Subir archivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arrastra el archivo o haz click para subirlo","components.controls.inline.bold":"Negrita","components.controls.inline.italic":"Cursiva","components.controls.inline.underline":"Subrayado","components.controls.inline.strikethrough":"Tachado","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"SobreÃndice","components.controls.inline.subscript":"SubÃndice","components.controls.link.linkTitle":"TÃtulo del enlace","components.controls.link.linkTarget":"Objetivo del enlace","components.controls.link.linkTargetOption":"Abrir en nueva ventana","components.controls.link.link":"Enlazar","components.controls.link.unlink":"Desenlazar","components.controls.list.list":"Lista","components.controls.list.unordered":"Desordenada","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Indentada","components.controls.list.outdent":"Dentada","components.controls.remove.remove":"Eliminar","components.controls.textalign.textalign":"Alineación del texto","components.controls.textalign.left":"Izquierda","components.controls.textalign.center":"Centrado","components.controls.textalign.right":"Derecha","components.controls.textalign.justify":"Justificado"},ja:{"generic.add":"追å ","generic.cancel":"ãã£ã³ã»ã«","components.controls.blocktype.h1":"è¦åºã1","components.controls.blocktype.h2":"è¦åºã2","components.controls.blocktype.h3":"è¦åºã3","components.controls.blocktype.h4":"è¦åºã4","components.controls.blocktype.h5":"è¦åºã5","components.controls.blocktype.h6":"è¦åºã6","components.controls.blocktype.blockquote":"å¼ç¨","components.controls.blocktype.code":"ã³ã¼ã","components.controls.blocktype.blocktype":"ã¹ã¿ã¤ã«","components.controls.blocktype.normal":"æ¨æºããã¹ã","components.controls.colorpicker.colorpicker":"ããã¹ãã®è²","components.controls.colorpicker.text":"ããã¹ã","components.controls.colorpicker.background":"ãã¤ã©ã¤ã","components.controls.embedded.embedded":"åãè¾¼ã¿","components.controls.embedded.embeddedlink":"åãè¾¼ã¿ãªã³ã¯","components.controls.embedded.enterlink":"ãªã³ã¯ãå
¥åãã¦ãã ãã","components.controls.emoji.emoji":"çµµæå","components.controls.fontfamily.fontfamily":"ãã©ã³ã","components.controls.fontsize.fontsize":"ãã©ã³ããµã¤ãº","components.controls.history.history":"å±¥æ´","components.controls.history.undo":"å
ã«æ»ã","components.controls.history.redo":"ããç´ã","components.controls.image.image":"ç»å","components.controls.image.fileUpload":"ãã¡ã¤ã«ãã¢ãããã¼ã","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"ããã«ç»åããã©ãã°ããããã¯ãªãã¯ãã¦ãã ãã","components.controls.inline.bold":"太å","components.controls.inline.italic":"æä½","components.controls.inline.underline":"ä¸ç·","components.controls.inline.strikethrough":"åãæ¶ãç·","components.controls.inline.monospace":"çå¹
ãã©ã³ã","components.controls.inline.superscript":"ä¸ä»ãæå","components.controls.inline.subscript":"ä¸ä»ãæå","components.controls.link.linkTitle":"ãªã³ã¯ã¿ã¤ãã«","components.controls.link.linkTarget":"ãªã³ã¯å¯¾è±¡","components.controls.link.linkTargetOption":"æ°ããã¦ã£ã³ãã¦ã§éã","components.controls.link.link":"ãªã³ã¯","components.controls.link.unlink":"ãªã³ã¯ãè§£é¤","components.controls.list.list":"ãªã¹ã","components.controls.list.unordered":"ç®æ¡æ¸ã","components.controls.list.ordered":"çªå·ä»ã","components.controls.list.indent":"ã¤ã³ãã³ãå¢","components.controls.list.outdent":"ã¤ã³ãã³ãæ¸","components.controls.remove.remove":"æ¸å¼ãã¯ãªã¢","components.c
31ontrols.textalign.textalign":"æ´å","components.controls.textalign.left":"å·¦æã","components.controls.textalign.center":"ä¸å¤®æã","components.controls.textalign.right":"峿ã","components.controls.textalign.justify":"両端æã"}};w(38),w(39);function Md(M){return(Md=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(M)}function pl(){return(pl=Object.assign?Object.assign.bind():function(M){for(var g=1;g<arguments.length;g++){var b=arguments[g];for(var _ in b)Object.prototype.hasOwnProperty.call(b,_)&&(M[_]=b[_])}return M}).apply(this,arguments)}function Cd(M,g){var b=Object.keys(M);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(M);g&&(_=_.filter(function(v){return Object.getOwnPropertyDescriptor(M,v).enumerable})),b.push.apply(b,_)}return b}function ni(M){for(var g=1;g<arguments.length;g++){var b=arguments[g]!=null?arguments[g]:{};g%2?Cd(Object(b),!0).forEach(function(_){w0(M,_,b[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(b)):Cd(Object(b)).forEach(function(_){Object.defineProperty(M,_,Object.getOwnPropertyDescriptor(b,_))})}return M}function w0(M,g,b){return g in M?Object.defineProperty(M,g,{value:b,enumerable:!0,configurable:!0,writable:!0}):M[g]=b,M}function kd(M){return function(g){if(Array.isArray(g))return dl(g)}(M)||function(g){if(typeof Symbol<"u"&&g[Symbol.iterator]!=null||g["@@iterator"]!=null)return Array.from(g)}(M)||function(g,b){if(g){if(typeof g=="string")return dl(g,b);var _=Object.prototype.toString.call(g).slice(8,-1);if(_==="Object"&&g.constructor&&(_=g.constructor.name),_==="Map"||_==="Set")return Array.from(g);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return dl(g,b)}}(M)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 32In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function dl(M,g){(g==null||g>M.length)&&(g=M.length);for(var b=0,_=new Array(g);b<g;b++)_[b]=M[b];return _}function b0(M,g){for(var b=0;b<g.length;b++){var _=g[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(M,_.key,_)}}function Od(M,g){return(Od=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,_){return b.__proto__=_,b})(M,g)}function E0(M){var g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var b,_=hl(M);if(g){var v=hl(this).constructor;b=Reflect.construct(_,arguments,v)}else b=_.apply(this,arguments);return function(f,O){{if(O&&(Md(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined")}return function(j){if(j!==void 0)return j;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(f)}(this,b)}}function hl(M){return(hl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)})(M)}var gl=function(){(function(v,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(f&&f.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),f&&Od(v,f)})(_,k.Component);var M,g,b=E0(_);function _(v){var f;(function(L,R){if(!(L instanceof R))throw new TypeError("Cannot call a class as a function")})(this,_),(f=b.call(this,v)).onEditorBlur=function(){f.setState({editorFocused:!1})},f.onEditorFocus=function(L){var R=f.props.onFocus;f.setState({editorFocused:!0});var U=f.focusHandler.isEditorFocused();R&&U&&R(L)},f.onEditorMouseDown=function(){f.focusHandler.onEditorMouseDown()},f.keyBindingFn=function(L){if(L.key!=="Tab")return L.key!=="ArrowUp"&&L.key!=="ArrowDown"||lt()&&L.preventDefault(),Object(D.getDefaultKeyBinding)(L);var R=f.props.onTab;
32if(!R||!R(L)){var U=Object(x.changeDepth)(f.state.editorState,L.shiftKey?-1:1,4);U&&U!==f.state.editorState&&(f.onChange(U),L.preventDefault())}return null},f.onToolbarFocus=function(L){var R=f.props.onFocus;R&&f.focusHandler.isToolbarFocused()&&R(L)},f.onWrapperBlur=function(L){var R=f.props.onBlur;R&&f.focusHandler.isEditorBlur(L)&&R(L,f.getEditorState())},f.onChange=function(L){var R=f.props,U=R.readOnly,Q=R.onEditorStateChange;U||Object(x.getSelectedBlocksType)(L)==="atomic"&&L.getSelection().isCollapsed||(Q&&Q(L,f.props.wrapperId),St(f.props,"editorState")?f.afterChange(L):f.setState({editorState:L},f.afterChange(L)))},f.setWrapperReference=function(L){f.wrapper=L},f.setEditorReference=function(L){f.props.editorRef&&f.props.editorRef(L),f.editor=L},f.getCompositeDecorator=function(L){var R=[].concat(kd(f.props.customDecorators),[{strategy:Z,component:G({showOpenOptionOnHover:L.link.showOpenOptionOnHover})}]);return f.props.mention&&R.push.apply(R,kd(f0(ni(ni({},f.props.mention),{},{onChange:f.onChange,getEditorState:f.getEditorState,getSuggestions:f.getSuggestions,getWrapperRef:f.getWrapperRef,modalHandler:f.modalHandler})))),f.props.hashtag&&R.push(h0(f.props.hashtag)),new D.CompositeDecorator(R)},f.getWrapperRef=function(){return f.wrapper},f.getEditorState=function(){return f.state?f.state.editorState:null},f.getSuggestions=function(){return f.props.mention&&f.props.mention.suggestions},f.afterChange=function(L){setTimeout(function(){var R=f.props,U=R.onChange,Q=R.onContentStateChange;U&&U(Object(D.convertToRaw)(L.getCurrentContent())),Q&&Q(Object(D.convertToRaw)(L.getCurrentContent()))})},f.isReadOnly=function(){return f.props.readOnly},f.isImageAlignmentEnabled=function(){return f.state.toolbar.image.alignmentEnabled},f.createEditorState=function(L){var R;if(St(f.props,"editorState"))f.props.editorState&&(R=D.EditorState.set(f.props.editorState,{decorator:L}));else if(St(f.props,"defaultEditorState"))f.props.defaultEditorState&&(R=D.EditorState.set(f.props.defaultEditorState,{decorator:L}));else if(St(f.props,"contentState")){if(f.props.contentState){var U=Object(D.convertFromRaw)(f.props.contentState);R=D.EditorState.createWithContent(U,L),R=D.EditorState.moveSelectionToEnd(R)}}else if(St(f.props,"defaultContentState")||St(f.props,"initialContentState")){var Q=f.props.defaultContentState||f.props.initialContentState;Q&&(Q=Object(D.convertFromRaw)(Q),R=D.EditorState.createWithContent(Q,L),R=D.EditorState.moveSelectionToEnd(R))}return R=R||D.EditorState.createEmpty(L)},f.filterEditorProps=function(L){return R=L,U=["onChange","onEditorStateChange","onContentStateChange","initialContentState","defaultContentState","contentState","editorState","defaultEditorState","locale","localization","toolbarOnFocus","toolbar","toolbarCustomButtons","toolbarClassName","editorClassName","toolbarHidden","wrapperClassName","toolbarStyle","editorStyle","wrapperStyle","uploadCallback","onFocus","onBlur","onTab","mention","hashtag","ariaLabel","customBlockRenderFunc","customDecorators","handlePastedText","customStyleMap"],Q=Object.keys(R).filter(function(rt){return U.indexOf(rt)<0}),X={},Q&&0<Q.length&&Q.forEach(function(rt){X[rt]=R[rt]}),X;var R,U,Q,X},f.getStyleMap=function(L){return ni(ni({},Object(x.getCustomStyleMap)()),L.customStyleMap)},f.changeEditorState=function(L){var R=Object(D.convertFromRaw)(L),U=f.state.editorState;return U=D.EditorState.push(U,R,"insert-characters"),U=D.EditorState.moveSelectionToEnd(U)},f.focusEditor=function(){setTimeout(function(){f.editor.focus()})},f.handleKeyCommand=function(L){var R=f.state,U=R.editorState,Q=R.toolbar.inline;if(Q&&0<=Q.options.indexOf(L)){var X=D.RichUtils.handleKeyCommand(U,L);if(X)return f.onChange(X),!0}return!1},f.handleReturn=function(L){if(lt())return!0;var R=f.state.editorState,U=Object(x.handleNewLine)(R,L);return!!U&&(f.onChange(U),!0)},f.handlePastedTextFn=function(L,R){var U=f.state.editorState,Q=f.props,X=Q.handlePastedText,rt=Q.stripPastedStyles;return X?X(L,R,U,f.onChange):!rt&&function(Kt,Dt,ut,Bt){var Jt=Object(x.getSelectedBlock)(ut);if(Jt&&Jt.type==="code"){var ce=D.Modifier.replaceText(ut.getCurrentContent(),ut.getSelection(),Kt,ut.getCurrentInlineStyle());return Bt(D.EditorState.push(ut,ce,"insert-characters")),!0}if(Dt){var _e=at()(Dt),de=ut.getCurrentContent();
32return _e.entityMap.forEach(function(er,Tr){de=de.mergeEntityData(Tr,er)}),de=D.Modifier.replaceWithFragment(de,ut.getSelection(),new mt.List(_e.contentBlocks)),Bt(D.EditorState.push(ut,de,"insert-characters")),!0}return!1}(L,R,U,f.onChange)},f.preventDefault=function(L){L.target.tagName==="INPUT"||L.target.tagName==="LABEL"||L.target.tagName==="TEXTAREA"?f.focusHandler.onInputMouseDown():L.preventDefault()};var O=zt(Ed,v.toolbar),j=v.wrapperId?v.wrapperId:Math.floor(1e4*Math.random());f.wrapperId="rdw-wrapper-".concat(j),f.modalHandler=new K,f.focusHandler=new it,f.blockRendererFn=_0({isReadOnly:f.isReadOnly,isImageAlignmentEnabled:f.isImageAlignmentEnabled,getEditorState:f.getEditorState,onChange:f.onChange},v.customBlockRenderFunc),f.editorProps=f.filterEditorProps(v),f.customStyleMap=f.getStyleMap(v),f.compositeDecorator=f.getCompositeDecorator(O);var A=f.createEditorState(f.compositeDecorator);return Object(x.extractInlineStyle)(A),f.state={editorState:A,editorFocused:!1,toolbar:O},f}return M=_,(g=[{key:"componentDidMount",value:function(){this.modalHandler.init(this.wrapperId)}},{key:"componentDidUpdate",value:function(v){if(v!==this.props){var f={},O=this.props,j=O.editorState,A=O.contentState;if(!this.state.toolbar){var L=zt(Ed,L);f.toolbar=L}if(St(this.props,"editorState")&&j!==v.editorState)f.editorState=j?D.EditorState.set(j,{decorator:this.compositeDecorator}):D.EditorState.createEmpty(this.compositeDecorator);else if(St(this.props,"contentState")&&A!==v.contentState)if(A){var R=this.changeEditorState(A);R&&(f.editorState=R)}else f.editorState=D.EditorState.createEmpty(this.compositeDecorator);v.editorState===j&&v.contentState===A||Object(x.extractInlineStyle)(f.editorState),Object.keys(f).length&&this.setState(f),this.editorProps=this.filterEditorProps(this.props),this.customStyleMap=this.getStyleMap(this.props)}}},{key:"render",value:function(){var v=this.state,f=v.editorState,O=v.editorFocused,j=v.toolbar,A=this.props,L=A.locale,R=A.localization,U=R.locale,Q=R.translations,X=A.toolbarCustomButtons,rt=A.toolbarOnFocus,Kt=A.toolbarClassName,Dt=A.toolbarHidden,ut=A.editorClassName,Bt=A.wrapperClassName,Jt=A.toolbarStyle,ce=A.editorStyle,_e=A.wrapperStyle,de=A.uploadCallback,er=A.ariaLabel,Tr={modalHandler:this.modalHandler,editorState:f,onChange:this.onChange,translations:ni(ni({},S0[L||U]),Q)},qi=O||this.focusHandler.isInputFocused()||!rt;return y.a.createElement("div",{id:this.wrapperId,className:N()(Bt,"rdw-editor-wrapper"),style:_e,onClick:this.modalHandler.onEditorClick,onBlur:this.onWrapperBlur,"aria-label":"rdw-wrapper"},!Dt&&y.a.createElement("div",{className:N()("rdw-editor-toolbar",Kt),style:ni({visibility:qi?"visible":"hidden"},Jt),onMouseDown:this.preventDefault,"aria-label":"rdw-toolbar","aria-hidden":(!O&&rt).toString(),onFocus:this.onToolbarFocus},j.options.map(function(oi,wo){var yl=c[oi],ku=j[oi];return oi==="image"&&de&&(ku.uploadCallback=de),y.a.createElement(yl,pl({key:wo},Tr,{config:ku}))}),X&&X.map(function(oi,wo){return y.a.cloneElement(oi,ni({key:wo},Tr))})),y.a.createElement("div",{ref:this.setWrapperReference,className:N()(ut,"rdw-editor-main"),style:ce,onClick:this.focusEditor,onFocus:this.onEditorFocus,onBlur:this.onEditorBlur,onKeyDown:q.onKeyDown,onMouseDown:this.onEditorMouseDown},y.a.createElement(D.Editor,pl({ref:this.setEditorReference,keyBindingFn:this.keyBindingFn,editorState:f,onChange:this.onChange,blockStyleFn:nt,customStyleMap:this.getStyleMap(this.props),handleReturn:this.handleReturn,handlePastedText:this.handlePastedTextFn,blockRendererFn:this.blockRendererFn,handleKeyCommand:this.handleKeyCommand,ariaLabel:er||"rdw-editor",blockRenderMap:x.blockRenderMap},this.editorProps))))}}])&&b0(M.prototype,g),Object.defineProperty(M,"prototype",{writable:!1}),_}();gl.propTypes={onChange:S.a.func,onEditorStateChange:S.a.func,onContentStateChange:S.a.func,initialContentState:S.a.object,defaultContentState:S.a.object,contentState:S.a.object,editorState:S.a.object,defaultEditorState:S.a.object,toolbarOnFocus:S.a.bool,spellCheck:S.a.bool,stripPastedStyles:S.a.bool,toolbar:S.a.object,toolbarCustomButtons:S.a.array,toolbarClassName:S.a.string,toolbarHidden:S.a.bool,locale:S.a.string,localization:S.a.object,editorClassName:S.a.string,wrapperClassName:S.a.string,toolbarStyle:S.a.object,editorStyle:S.a.object,wrapperStyle:S.a.object,uploadCallback:S.a.func,onFocus:S.a.func,onBlur:S.a.func,onTab:S.a.func,mention:S.a.object,hashtag:S.a.object,textAlignment:S.a.string,readOnly:S.a.bool,tabIndex:S.a.number,placeholder:S.a.string,ariaLabel:S.a.string,ariaOwneeID:S.a.string,ariaActiveDescendantID:S.a.string,ariaAutoComplete:S.a.string,ariaDescribedBy:S.a.string,ariaExpanded:S.a.string,ariaHasPopup:S.a.string,customBlockRenderFunc:S.a.func,wrapperId:S.a.number,customDecorators:S.a.array,editorRef:S.a.func,handlePastedText:S.a.func},gl.defaultProps={toolbarOnFocus:!1,toolbarHidden:!1,stripPastedStyles:!1,localization:{locale:"en",translations:{}},customDecorators:[]};var M0=gl}
32],s.c=l,s.d=function(d,m,w){s.o(d,m)||Object.defineProperty(d,m,{enumerable:!0,get:w})},s.r=function(d){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})},s.t=function(d,m){if(1&m&&(d=s(d)),8&m||4&m&&typeof d=="object"&&d&&d.__esModule)return d;var w=Object.create(null);if(s.r(w),Object.defineProperty(w,"default",{enumerable:!0,value:d}),2&m&&typeof d!="string")for(var k in d)s.d(w,k,(function(y){return d[y]}).bind(null,k));return w},s.n=function(d){var m=d&&d.__esModule?function(){return d.default}:function(){return d};return s.d(m,"a",m),m},s.o=function(d,m){return Object.prototype.hasOwnProperty.call(d,m)},s.p="",s(s.s=8);function s(d){if(l[d])return l[d].exports;var m=l[d]={i:d,l:!1,exports:{}};return u[d].call(m.exports,m,m.exports,s),m.l=!0,m.exports}var u,l})})(f_);var rA=f_.exports,nA=function(t,e,r,o,i,s,u,l){if(!t){var d;if(e===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[r,o,i,s,u,l],w=0;d=new Error(e.replace(/%s/g,function(){return m[w++]})),d.name="Invariant Violation"}throw d.framesToPop=1,d}},oA=nA;const In=D0(oA);var jn={},os={};/** 33 * @license React 34 * react-dom-server-legacy.browser.production.min.js 35 * 36 * Copyright (c) Facebook, Inc. and its affiliates. 37 * 38 * This source code is licensed under the MIT license found in the 39 * LICENSE file in the root directory of this source tree. 40 */var iS=dr;function ae(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Fr=Object.prototype.hasOwnProperty,iA=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ry={},ny={};function aS(t){return Fr.call(ny,t)?!0:Fr.call(ry,t)?!1:iA.test(t)?ny[t]=!0:(ry[t]=!0,!1)}function Ar(t,e,r,o,i,s,u){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=o,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=s,this.removeEmptyString=u}var yr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){yr[t]=new Ar(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];yr[e]=new Ar(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){yr[t]=new Ar(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){yr[t]=new Ar(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){yr[t]=new Ar(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){yr[t]=new Ar(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){yr[t]=new Ar(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){yr[t]=new Ar(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){yr[t]=new Ar(t,5,!1,t.toLowerCase(),null,!1,!1)});var td=/[\-:]([a-z])/g;function ed(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
40-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(td,ed);yr[e]=new Ar(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(td,ed);yr[e]=new Ar(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(td,ed);yr[e]=new Ar(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){yr[t]=new Ar(t,1,!1,t.toLowerCase(),null,!1,!1)});yr.xlinkHref=new Ar("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){yr[t]=new Ar(t,1,!1,t.toLowerCase(),null,!0,!0)});var ac={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},aA=["Webkit","ms","Moz","O"];
40Object.keys(ac).forEach(function(t){aA.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),ac[e]=ac[t]})});var sA=/["'&<>]/;function Ir(t){if(typeof t=="boolean"||typeof t=="number")return""+t;t=""+t;var e=sA.exec(t);if(e){var r="",o,i=0;for(o=e.index;o<t.length;o++){switch(t.charCodeAt(o)){case 34:e=""";break;case 38:e="&";break;case 39:e="'";break;case 60:e="<";break;case 62:e=">";break;default:continue}i!==o&&(r+=t.substring(i,o)),i=o+1,r+=e}t=i!==o?r+t.substring(i,o):r}return t}var uA=/([A-Z])/g,cA=/^ms-/,Uf=Array.isArray;function Mo(t,e){return{insertionMode:t,selectedValue:e}}function lA(t,e,r){switch(e){case"select":return Mo(1,r.value!=null?r.value:r.defaultValue);case"svg":return Mo(2,null);case"math":return Mo(3,null);case"foreignObject":return Mo(1,null);case"table":return Mo(4,null);case"thead":case"tbody":case"tfoot":return Mo(5,null);case"colgroup":return Mo(7,null);case"tr":return Mo(6,null)}return 4<=t.insertionMode||t.insertionMode===0?Mo(1,null):t}var oy=new Map;function sS(t,e,r){if(typeof r!="object")throw Error(ae(62));e=!0;for(var o in r)if(Fr.call(r,o)){var i=r[o];if(i!=null&&typeof i!="boolean"&&i!==""){if(o.indexOf("--")===0){var s=Ir(o);i=Ir((""+i).trim())}else{s=o;var u=oy.get(s);u!==void 0||(u=Ir(s.replace(uA,"-$1").toLowerCase().replace(cA,"-ms-")),oy.set(s,u)),s=u,i=typeof i=="number"?i===0||Fr.call(ac,o)?""+i:i+"px":Ir((""+i).trim())}e?(e=!1,t.push(' style="',s,":",i)):t.push(";",s,":",i)}}e||t.push('"')}function Xr(t,e,r,o){switch(r){case"style":sS(t,e,o);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N"){if(e=yr.hasOwnProperty(r)?yr[r]:null,e!==null){switch(typeof o){case"function":case"symbol":return;case"boolean":if(!e.acceptsBooleans)return}switch(r=e.attributeName,e.type){case 3:o&&t.push(" ",r,'=""');break;case 4:o===!0?t.push(" ",r,'=""'):o!==!1&&t.push(" ",r,'="',Ir(o),'"');break;
40case 5:isNaN(o)||t.push(" ",r,'="',Ir(o),'"');break;case 6:!isNaN(o)&&1<=o&&t.push(" ",r,'="',Ir(o),'"');break;default:e.sanitizeURL&&(o=""+o),t.push(" ",r,'="',Ir(o),'"')}}else if(aS(r)){switch(typeof o){case"function":case"symbol":return;case"boolean":if(e=r.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-")return}t.push(" ",r,'="',Ir(o),'"')}}}function sc(t,e,r){if(e!=null){if(r!=null)throw Error(ae(60));if(typeof e!="object"||!("__html"in e))throw Error(ae(61));e=e.__html,e!=null&&t.push(""+e)}}function fA(t){var e="";return iS.Children.forEach(t,function(r){r!=null&&(e+=r)}),e}function rf(t,e,r,o){t.push(Zn(r));var i=r=null,s;for(s in e)if(Fr.call(e,s)){var u=e[s];if(u!=null)switch(s){case"children":r=u;break;case"dangerouslySetInnerHTML":i=u;break;default:Xr(t,o,s,u)}}return t.push(">"),sc(t,i,r),typeof r=="string"?(t.push(Ir(r)),null):r}var pA=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,iy=new Map;function Zn(t){var e=iy.get(t);if(e===void 0){if(!pA.test(t))throw Error(ae(65,t));e="<"+t,iy.set(t,e)}return e}function dA(t,e,r,o,i){switch(e){case"select":t.push(Zn("select"));var s=null,u=null;for(w in r)if(Fr.call(r,w)){var l=r[w];if(l!=null)switch(w){case"children":s=l;break;case"dangerouslySetInnerHTML":u=l;break;case"defaultValue":case"value":break;default:Xr(t,o,w,l)}}return t.push(">"),sc(t,u,s),s;case"option":u=i.selectedValue,t.push(Zn("option"));var d=l=null,m=null,w=null;for(s in r)if(Fr.call(r,s)){var k=r[s];if(k!=null)switch(s){case"children":l=k;break;case"selected":m=k;break;case"dangerouslySetInnerHTML":w=k;break;case"value":d=k;default:Xr(t,o,s,k)}}if(u!=null)if(r=d!==null?""+d:fA(l),Uf(u)){for(o=0;o<u.length;o++)if(""+u[o]===r){t.push(' selected=""');break}}else""+u===r&&t.push(' selected=""');else m&&t.push(' selected=""');return t.push(">"),sc(t,w,l),l;case"textarea":t.push(Zn("textarea")),w=u=s=null;for(l in r)if(Fr.call(r,l)&&(d=r[l],d!=null))switch(l){case"children":w=d;break;case"value":s=d;break;case"defaultValue":u=d;break;case"dangerouslySetInnerHTML":throw Error(ae(91));default:Xr(t,o,l,d)}if(s===null&&u!==null&&(s=u),t.push(">"),w!=null){if(s!=null)throw Error(ae(92));if(Uf(w)&&1<w.length)throw Error(ae(93));s=""+w}return typeof s=="string"&&s[0]===` 41`&&t.push(` 42`),s!==null&&t.push(Ir(""+s)),null;case"input":t.push(Zn("input")),d=w=l=s=null;for(u in r)if(Fr.call(r,u)&&(m=r[u],m!=null))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(ae(399,"input"));case"defaultChecked":d=m;break;case"defaultValue":l=m;break;case"checked":w=m;break;case"value":s=m;break;default:Xr(t,o,u,m)}return w!==null?Xr(t,o,"checked",w):d!==null&&Xr(t,o,"checked",d),s!==null?Xr(t,o,"value",s):l!==null&&Xr(t,o,"value",l),t.push("/>"),null;case"menuitem":t.push(Zn("menuitem"));for(var y in r)if(Fr.call(r,y)&&(s=r[y],s!=null))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(ae(400));default:Xr(t,o,y,s)}return t.push(">"),null;case"title":t.push(Zn("title")),s=null;for(k in r)if(Fr.call(r,k)&&(u=r[k],u!=null))switch(k){case"children":s=u;break;case"dangerouslySetInnerHTML":throw Error(ae(434));default:Xr(t,o,k,u)}return t.push(">"),s;case"listing":case"pre":t.push(Zn(e)),u=s=null;for(d in r)if(Fr.call(r,d)&&(l=r[d],l!=null))switch(d){case"children":s=l;break;case"dangerouslySetInnerHTML":u=l;break;default:Xr(t,o,d,l)}if(t.push(">"),u!=null){if(s!=null)throw Error(ae(60));if(typeof u!="object"||!("__html"in u))throw Error(ae(61));r=u.__html,r!=null&&(typeof r=="string"&&0<r.length&&r[0]===` 43`?t.push(` 44`,r):t.push(""+r))}return typeof s=="string"&&s[0]===` 45`&&t.push(` 46`),s;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":t.push(Zn(e));for(var T in r)if(Fr.call(r,T)&&(s=r[T],s!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(ae(399,e));default:Xr(t,o,T,s)}return t.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return rf(t,r,e,o);case"html":return i.insertionMode===0&&t.push("<!DOCTYPE html>"),rf(t,r,e,o);default:if(e.indexOf("-")===-1&&typeof r.is!="string")return rf(t,r,e,o);t.push(Zn(e)),u=s=null;for(m in r)if(Fr.call(r,m)&&(l=r[m],l!=null))switch(m){case"children":s=l;break;case"dangerouslySetInnerHTML":u=l;break;case"style":sS(t,o,l);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:aS(m)&&typeof l!="function"&&typeof l!="symbol"&&t.push(" ",m,'="',Ir(l),'"')}return t.push(">"),sc(t,u,s),s}}function ay(t,e,r){if(t.push('<!--$?--><template id="'),r===null)throw Error(ae(395));return t.push(r),t.push('"></template>')}function hA(t,e,r,o){switch(r.insertionMode){case 0:case 1:return t.push('<div hidden id="'),t.pu
46sh(e.segmentPrefix),e=o.toString(16),t.push(e),t.push('">');case 2:return t.push('<svg aria-hidden="true" style="display:none" id="'),t.push(e.segmentPrefix),e=o.toString(16),t.push(e),t.push('">');case 3:return t.push('<math aria-hidden="true" style="display:none" id="'),t.push(e.segmentPrefix),e=o.toString(16),t.push(e),t.push('">');case 4:return t.push('<table hidden id="'),t.push(e.segmentPrefix),e=o.toString(16),t.push(e),t.push('">');case 5:return t.push('<table hidden><tbody id="'),t.push(e.segmentPrefix),e=o.toString(16),t.push(e),t.push('">');case 6:return t.push('<table hidden><tr id="'),t.push(e.segmentPrefix),e=o.toString(16),t.push(e),t.push('">');case 7:return t.push('<table hidden><colgroup id="'),t.push(e.segmentPrefix),e=o.toString(16),t.push(e),t.push('">');default:throw Error(ae(397))}}function gA(t,e){switch(e.insertionMode){case 0:case 1:return t.push("</div>");case 2:return t.push("</svg>");case 3:return t.push("</math>");case 4:return t.push("</table>");case 5:return t.push("</tbody></table>");case 6:return t.push("</tr></table>");case 7:return t.push("</colgroup></table>");default:throw Error(ae(397))}}var yA=/[<\u2028\u2029]/g;function nf(t){return JSON.stringify(t).replace(yA,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function vA(t,e){return e=e===void 0?"":e,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:e+"P:",segmentPrefix:e+"S:",boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:t}}function sy(t,e,r,o){return r.generateStaticMarkup?(t.push(Ir(e)),!1):(e===""?t=o:(o&&t.push("<!-- -->"),t.push(Ir(e)),t=!0),t)}var $s=Object.assign,mA=Symbol.for("react.element"),uS=Symbol.for("react.portal"),cS=Symbol.for("react.fragment"),lS=Symbol.for("react.strict_mode"),fS=Symbol.for("react.profiler"),pS=Symbol.for("react.provider"),dS=Symbol.for("react.context"),hS=Symbol.for("react.forward_ref"),gS=Symbol.for("react.suspense"),yS=Symbol.for("react.suspense_list"),vS=Symbol.for("react.memo"),rd=Symbol.for("react.lazy"),_A=Symbol.for("react.scope"),SA=Symbol.for("react.debug_trace_mode"),wA=Symbol.for("react.legacy_hidden"),bA=Symbol.for("react.default_value"),uy=Symbol.iterator;function Kf(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case cS:return"Fragment";case uS:return"Portal";case fS:return"Profiler";case lS:return"StrictMode";case gS:return"Suspense";case yS:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case dS:return(t.displayName||"Context")+".Consumer";case pS:return(t._context.displayName||"Context")+".Provider";case hS:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case vS:return e=t.displayName||null,e!==null?e:Kf(t.type)||"Memo";case rd:e=t._payload,t=t._init;try{return Kf(t(e))}catch{}}return null}var mS={};function cy(t,e){if(t=t.contextTypes,!t)return mS;var r={},o;for(o in t)r[o]=e[o];return r}var ea=null;function nl(t,e){if(t!==e){t.context._currentValue2=t.parentValue,t=t.parent;var r=e.parent;if(t===null){if(r!==null)throw Error(ae(401))}else{if(r===null)throw Error(ae(401));nl(t,r)}e.context._currentValue2=e.value}}function _S(t){t.context._currentValue2=t.parentValue,t=t.parent,t!==null&&_S(t)}function SS(t){var e=t.parent;e!==null&&SS(e),t.context._currentValue2=t.value}function wS(t,e){if(t.context._currentValue2=t.parentValue,t=t.parent,t===null)throw Error(ae(402));t.depth===e.depth?nl(t,e):wS(t,e)}function bS(t,e){var r=e.parent;if(r===null)throw Error(ae(402));t.depth===r.depth?nl(t,r):bS(t,r),e.context._currentValue2=e.value}function Ec(t){var e=ea;e!==t&&(e===null?SS(t):t===null?_S(e):e.depth===t.depth?nl(e,t):e.depth>t.depth?wS(e,t):bS(e,t),ea=t)}var ly={isMounted:function(){return!1},enqueueSetState:function(t,e){t=t._reactInternals,t.queue!==null&&t.queue.push(e)},enqueueReplaceState:function(t,e){t=t._reactInternals,t.replace=!0,t.queue=[e]},enqueueForceUpdate:function(){}};function fy(t,e,r,o){var i=t.state!==void 0?t.state:null;t.updater=ly,t.props=r,t.state=i;var s={queue:[],replace:!1};t._reactInternals=s;var u=e.contextType;if(t.context=typeof u=="object"&&u!==null?u._currentValue2:o,u=e.getDerivedStateFromProps,typeof u=="function"&&(u=u(r,i),i=u==null?i:$s({},i,u),t.state=i),typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function"&&(typeof t.UNSAFE_componentWillMount=="function"||typeof t.componentWillMount=="function"))if(e=t.state,typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),e!==t.state&&ly.enqueueReplaceState(t,t.state,null),s.queue!==null&&0<s.queue.length)if(e=s.queue,u=s.replace,s.queue=null,s.replace=!1,u&&e.length===1)t.state=e[0];
46else{for(s=u?e[0]:t.state,i=!0,u=u?1:0;u<e.length;u++){var l=e[u];l=typeof l=="function"?l.call(t,s,r,o):l,l!=null&&(i?(i=!1,s=$s({},s,l)):$s(s,l))}t.state=s}else s.queue=null}var EA={id:1,overflow:""};function Hf(t,e,r){var o=t.id;t=t.overflow;var i=32-uc(o)-1;o&=~(1<<i),r+=1;var s=32-uc(e)+i;if(30<s){var u=i-i%5;return s=(o&(1<<u)-1).toString(32),o>>=u,i-=u,{id:1<<32-uc(e)+i|r<<i|o,overflow:s+t}}return{id:1<<s|r<<i|o,overflow:t}}var uc=Math.clz32?Math.clz32:kA,MA=Math.log,CA=Math.LN2;function kA(t){return t>>>=0,t===0?32:31-(MA(t)/CA|0)|0}function OA(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var DA=typeof Object.is=="function"?Object.is:OA,xo=null,nd=null,cc=null,Pe=null,js=!1,Mc=!1,Zs=0,di=null,ol=0;function Gi(){if(xo===null)throw Error(ae(321));return xo}function py(){if(0<ol)throw Error(ae(312));return{memoizedState:null,queue:null,next:null}}function od(){return Pe===null?cc===null?(js=!1,cc=Pe=py()):(js=!0,Pe=cc):Pe.next===null?(js=!1,Pe=Pe.next=py()):(js=!0,Pe=Pe.next),Pe}function id(){nd=xo=null,Mc=!1,cc=null,ol=0,Pe=di=null}function ES(t,e){return typeof e=="function"?e(t):e}function dy(t,e,r){if(xo=Gi(),Pe=od(),js){var o=Pe.queue;if(e=o.dispatch,di!==null&&(r=di.get(o),r!==void 0)){di.delete(o),o=Pe.memoizedState;do o=t(o,r.action),r=r.next;while(r!==null);return Pe.memoizedState=o,[o,e]}return[Pe.memoizedState,e]}return t=t===ES?typeof e=="function"?e():e:r!==void 0?r(e):e,Pe.memoizedState=t,t=Pe.queue={last:null,dispatch:null},t=t.dispatch=xA.bind(null,xo,t),[Pe.memoizedState,t]}function hy(t,e){if(xo=Gi(),Pe=od(),e=e===void 0?null:e,Pe!==null){var r=Pe.memoizedState;if(r!==null&&e!==null){var o=r[1];t:if(o===null)o=!1;else{for(var i=0;i<o.length&&i<e.length;i++)if(!DA(e[i],o[i])){o=!1;break t}o=!0}if(o)return r[0]}}return t=t(),Pe.memoizedState=[t,e],t}function xA(t,e,r){if(25<=ol)throw Error(ae(301));if(t===xo)if(Mc=!0,t={action:r,next:null},di===null&&(di=new Map),r=di.get(e),r===void 0)di.set(e,t);else{for(e=r;e.next!==null;)e=e.next;e.next=t}}function TA(){throw Error(ae(394))}function Gu(){}var gy={readContext:function(t){return t._currentValue2},useContext:function(t){return Gi(),t._currentValue2},useMemo:hy,useReducer:dy,useRef:function(t){xo=Gi(),Pe=od();var e=Pe.memoizedState;return e===null?(t={current:t},Pe.memoizedState=t):e},useState:function(t){return dy(ES,t)},useInsertionEffect:Gu,useLayoutEffect:function(){},useCallback:function(t,e){return hy(function(){return t},e)},useImperativeHandle:Gu,useEffect:Gu,useDebugValue:Gu,useDeferredValue:function(t){return Gi(),t},useTransition:function(){return Gi(),[!1,TA]},useId:function(){var t=nd.treeContext,e=t.overflow;t=t.id,t=(t&~(1<<32-uc(t)-1)).toString(32)+e;var r=lc;if(r===null)throw Error(ae(404));return e=Zs++,t=":"+r.idPrefix+"R"+t,0<e&&(t+="H"+e.toString(32)),t+":"},useMutableSource:function(t,e){return Gi(),e(t._source)},useSyncExternalStore:function(t,e,r){if(r===void 0)throw Error(ae(407));return r()}},lc=null,of=iS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function IA(t){return console.error(t),null}function Ls(){}function jA(t,e,r,o,i,s,u,l,d){var m=[],w=new Set;return e={destination:null,responseState:e,progressiveChunkSize:o===void 0?12800:o,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:w,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:i===void 0?IA:i,onAllReady:Ls,onShellReady:u===void 0?Ls:u,onShellError:Ls,onFatalError:Ls},r=Cc(e,0,null,r,!1,!1),r.parentFlushed=!0,t=ad(e,t,null,r,w,mS,null,EA),m.push(t),e}function ad(t,e,r,o,i,s,u,l){t.allPendingTasks++,r===null?t.pendingRootTasks++:r.pendingTasks++;var d={node:e,ping:function(){var m=t.pingedTasks;m.push(d),m.length===1&&kS(t)},blockedBoundary:r,blockedSegment:o,abortSet:i,legacyContext:s,context:u,treeContext:l};return i.add(d),d}function Cc(t,e,r,o,i,s){return{status:0,id:-1,index:e,parentFlushed:!1,chunks:[],children:[],formatContext:o,boundary:r,lastPushedText:i,textEmbedded:s}}function Gs(t,e){if(t=t.onError(e),t!=null&&typeof t!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof t+'" instead');return t}function kc(t,e){var r=t.onShellError;r(e),r=t.onFatalError,r(e),t.destination!==null?(t.status=2,t.destination.destroy(e)):(t.status=1,t.fatalError=e)}function yy(t,e,r,o,i){for(xo={},nd=e,Zs=0,t=r(o,i);Mc;)Mc=!1,Zs=0,ol+=1,Pe=null,t=r(o,i);return id(),t}function vy(t,e,r,o){var i=r.render(),s=o.childContextTypes;if(s!=null){var u=e.legacyContext;if(typeof r.getChildContext!="function")o=u;else{r=r.getChildContext();for(var l in r)if(!(l in s))throw Error(ae(108,Kf(o)||"Unknown",l));o=$s({},u,r)}e.legacyContext=o,en(t,e,i),e.legacyContext=u}else en(t,e,i)}function my(t,e){if(t&&t.defaultProps){e=$s({},e),t=t.defaultProps;for(var r in t)e[r]===void 0&&(e[r]=t[r]);return e}return e}
46function qf(t,e,r,o,i){if(typeof r=="function")if(r.prototype&&r.prototype.isReactComponent){i=cy(r,e.legacyContext);var s=r.contextType;s=new r(o,typeof s=="object"&&s!==null?s._currentValue2:i),fy(s,r,o,i),vy(t,e,s,r)}else{s=cy(r,e.legacyContext),i=yy(t,e,r,o,s);var u=Zs!==0;if(typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0)fy(i,r,o,s),vy(t,e,i,r);else if(u){o=e.treeContext,e.treeContext=Hf(o,1,0);try{en(t,e,i)}finally{e.treeContext=o}}else en(t,e,i)}else if(typeof r=="string"){switch(i=e.blockedSegment,s=dA(i.chunks,r,o,t.responseState,i.formatContext),i.lastPushedText=!1,u=i.formatContext,i.formatContext=lA(u,r,o),Yf(t,e,s),i.formatContext=u,r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:i.chunks.push("</",r,">")}i.lastPushedText=!1}else{switch(r){case wA:case SA:case lS:case fS:case cS:en(t,e,o.children);return;case yS:en(t,e,o.children);return;case _A:throw Error(ae(343));case gS:t:{r=e.blockedBoundary,i=e.blockedSegment,s=o.fallback,o=o.children,u=new Set;var l={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:u,errorDigest:null},d=Cc(t,i.chunks.length,l,i.formatContext,!1,!1);i.children.push(d),i.lastPushedText=!1;var m=Cc(t,0,null,i.formatContext,!1,!1);m.parentFlushed=!0,e.blockedBoundary=l,e.blockedSegment=m;try{if(Yf(t,e,o),t.responseState.generateStaticMarkup||m.lastPushedText&&m.textEmbedded&&m.chunks.push("<!-- -->"),m.status=1,Oc(l,m),l.pendingTasks===0)break t}catch(w){m.status=4,l.forceClientRender=!0,l.errorDigest=Gs(t,w)}finally{e.blockedBoundary=r,e.blockedSegment=i}e=ad(t,s,r,d,u,e.legacyContext,e.context,e.treeContext),t.pingedTasks.push(e)}return}if(typeof r=="object"&&r!==null)switch(r.$$typeof){case hS:if(o=yy(t,e,r.render,o,i),Zs!==0){r=e.treeContext,e.treeContext=Hf(r,1,0);try{en(t,e,o)}finally{e.treeContext=r}}else en(t,e,o);return;case vS:r=r.type,o=my(r,o),qf(t,e,r,o,i);return;case pS:if(i=o.children,r=r._context,o=o.value,s=r._currentValue2,r._currentValue2=o,u=ea,ea=o={parent:u,depth:u===null?0:u.depth+1,context:r,parentValue:s,value:o},e.context=o,en(t,e,i),t=ea,t===null)throw Error(ae(403));o=t.parentValue,t.context._currentValue2=o===bA?t.context._defaultValue:o,t=ea=t.parent,e.context=t;return;case dS:o=o.children,o=o(r._currentValue2),en(t,e,o);return;case rd:i=r._init,r=i(r._payload),o=my(r,o),qf(t,e,r,o,void 0);return}throw Error(ae(130,r==null?r:typeof r,""))}}function en(t,e,r){if(e.node=r,typeof r=="object"&&r!==null){switch(r.$$typeof){case mA:qf(t,e,r.type,r.props,r.ref);return;case uS:throw Error(ae(257));case rd:var o=r._init;r=o(r._payload),en(t,e,r);return}if(Uf(r)){_y(t,e,r);return}if(r===null||typeof r!="object"?o=null:(o=uy&&r[uy]||r["@@iterator"],o=typeof o=="function"?o:null),o&&(o=o.call(r))){if(r=o.next(),!r.done){var i=[];do i.push(r.value),r=o.next();while(!r.done);_y(t,e,i)}return}throw t=Object.prototype.toString.call(r),Error(ae(31,t==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":t))}typeof r=="string"?(o=e.blockedSegment,o.lastPushedText=sy(e.blockedSegment.chunks,r,t.responseState,o.lastPushedText)):typeof r=="number"&&(o=e.blockedSegment,o.lastPushedText=sy(e.blockedSegment.chunks,""+r,t.responseState,o.lastPushedText))}function _y(t,e,r){for(var o=r.length,i=0;i<o;i++){var s=e.treeContext;e.treeContext=Hf(s,o,i);try{Yf(t,e,r[i])}finally{e.treeContext=s}}}function Yf(t,e,r){var o=e.blockedSegment.formatContext,i=e.legacyContext,s=e.context;try{return en(t,e,r)}catch(d){if(id(),typeof d=="object"&&d!==null&&typeof d.then=="function"){r=d;var u=e.blockedSegment,l=Cc(t,u.chunks.length,null,u.formatContext,u.lastPushedText,!0);u.children.push(l),u.lastPushedText=!1,t=ad(t,e.node,e.blockedBoundary,l,e.abortSet,e.legacyContext,e.context,e.treeContext).ping,r.then(t,t),e.blockedSegment.formatContext=o,e.legacyContext=i,e.context=s,Ec(s)}else throw e.blockedSegment.formatContext=o,e.legacyContext=i,e.context=s,Ec(s),d}}function LA(t){var e=t.blockedBoundary;t=t.blockedSegment,t.status=3,CS(this,e,t)}function MS(t,e,r){var o=t.blockedBoundary;t.blockedSegment.status=3,o===null?(e.allPendingTasks--,e.status!==2&&(e.status=2,e.destination!==null&&e.destination.push(null))):(o.pendingTasks--,o.forceClientRender||(o.forceClientRender=!0,t=r===void 0?Error(ae(432)):r,o.errorDigest=e.onError(t),o.parentFlushed&&e.clientRenderedBoundaries.push(o)),o.fallbackAbortableTasks.forEach(function(i){return MS(i,e,r)}
46),o.fallbackAbortableTasks.clear(),e.allPendingTasks--,e.allPendingTasks===0&&(o=e.onAllReady,o()))}function Oc(t,e){if(e.chunks.length===0&&e.children.length===1&&e.children[0].boundary===null){var r=e.children[0];r.id=e.id,r.parentFlushed=!0,r.status===1&&Oc(t,r)}else t.completedSegments.push(e)}function CS(t,e,r){if(e===null){if(r.parentFlushed){if(t.completedRootSegment!==null)throw Error(ae(389));t.completedRootSegment=r}t.pendingRootTasks--,t.pendingRootTasks===0&&(t.onShellError=Ls,e=t.onShellReady,e())}else e.pendingTasks--,e.forceClientRender||(e.pendingTasks===0?(r.parentFlushed&&r.status===1&&Oc(e,r),e.parentFlushed&&t.completedBoundaries.push(e),e.fallbackAbortableTasks.forEach(LA,t),e.fallbackAbortableTasks.clear()):r.parentFlushed&&r.status===1&&(Oc(e,r),e.completedSegments.length===1&&e.parentFlushed&&t.partialBoundaries.push(e)));t.allPendingTasks--,t.allPendingTasks===0&&(t=t.onAllReady,t())}function kS(t){if(t.status!==2){var e=ea,r=of.current;of.current=gy;var o=lc;lc=t.responseState;try{var i=t.pingedTasks,s;for(s=0;s<i.length;s++){var u=i[s],l=t,d=u.blockedSegment;if(d.status===0){Ec(u.context);try{en(l,u,u.node),l.responseState.generateStaticMarkup||d.lastPushedText&&d.textEmbedded&&d.chunks.push("<!-- -->"),u.abortSet.delete(u),d.status=1,CS(l,u.blockedBoundary,d)}catch(S){if(id(),typeof S=="object"&&S!==null&&typeof S.then=="function"){var m=u.ping;S.then(m,m)}else{u.abortSet.delete(u),d.status=4;var w=u.blockedBoundary,k=S,y=Gs(l,k);if(w===null?kc(l,k):(w.pendingTasks--,w.forceClientRender||(w.forceClientRender=!0,w.errorDigest=y,w.parentFlushed&&l.clientRenderedBoundaries.push(w))),l.allPendingTasks--,l.allPendingTasks===0){var T=l.onAllReady;T()}}}finally{}}}i.splice(0,s),t.destination!==null&&sd(t,t.destination)}catch(S){Gs(t,S),kc(t,S)}finally{lc=o,of.current=r,r===gy&&Ec(e)}}}function Ju(t,e,r){switch(r.parentFlushed=!0,r.status){case 0:var o=r.id=t.nextSegmentId++;return r.lastPushedText=!1,r.textEmbedded=!1,t=t.responseState,e.push('<template id="'),e.push(t.placeholderPrefix),t=o.toString(16),e.push(t),e.push('"></template>');case 1:r.status=2;var i=!0;o=r.chunks;var s=0;r=r.children;for(var u=0;u<r.length;u++){for(i=r[u];s<i.index;s++)e.push(o[s]);i=il(t,e,i)}for(;s<o.length-1;s++)e.push(o[s]);return s<o.length&&(i=e.push(o[s])),i;default:throw Error(ae(390))}}function il(t,e,r){var o=r.boundary;if(o===null)return Ju(t,e,r);if(o.parentFlushed=!0,o.forceClientRender)return t.responseState.generateStaticMarkup||(o=o.errorDigest,e.push("<!--$!-->"),e.push("<template"),o&&(e.push(' data-dgst="'),o=Ir(o),e.push(o),e.push('"')),e.push("></template>")),Ju(t,e,r),t=t.responseState.generateStaticMarkup?!0:e.push("<!--/$-->"),t;if(0<o.pendingTasks){o.rootSegmentID=t.nextSegmentId++,0<o.completedSegments.length&&t.partialBoundaries.push(o);var i=t.responseState,s=i.nextSuspenseID++;return i=i.boundaryPrefix+s.toString(16),o=o.id=i,ay(e,t.responseState,o),Ju(t,e,r),e.push("<!--/$-->")}if(o.byteSize>t.progressiveChunkSize)return o.rootSegmentID=t.nextSegmentId++,t.completedBoundaries.push(o),ay(e,t.responseState,o.id),Ju(t,e,r),e.push("<!--/$-->");if(t.responseState.generateStaticMarkup||e.push("<!--$-->"),r=o.completedSegments,r.length!==1)throw Error(ae(391));return il(t,e,r[0]),t=t.responseState.generateStaticMarkup?!0:e.push("<!--/$-->"),t}function Sy(t,e,r){return hA(e,t.responseState,r.formatContext,r.id),il(t,e,r),gA(e,r.formatContext)}function wy(t,e,r){for(var o=r.completedSegments,i=0;i<o.length;i++)OS(t,e,r,o[i]);if(o.length=0,t=t.responseState,o=r.id,r=r.rootSegmentID,e.push(t.startInlineScript),t.sentCompleteBoundaryFunction?e.push('$RC("'):(t.sentCompleteBoundaryFunction=!0,e.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),o===null)throw Error(ae(395));return r=r.toString(16),e.push(o),e.push('","'),e.push(t.segmentPrefix),e.push(r),e.push('")<\/script>')}function OS(t,e,r,o){if(o.status===2)return!0;var i=o.id;if(i===-1){if((o.id=r.rootSegmentID)===-1)throw Error(ae(392));return Sy(t,e,o)}return Sy(t,e,o),t=t.responseState,e.push(t.startInlineScript),t.sentCompleteSegmentFunction?e.push('$RS("'):(t.sentCompleteSegmentFunction=!0,e.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),e.push(t.segmentPrefix),i=i.toString(16),e.push(i),e.push('","'),e.push(t.placeholderPrefix),e.push(i),e.push('")<\/script>')}function sd(t,e){try{var r=t.completedRootSegment;if(r!==null&&t.pendingRootTasks===0){il(t,e,r),t.completedRootSegment=null;var o=t.responseState.bootstrapChunks;for(r=0;r<o.length-1;r++)e.push(o[r]);r<o.length&&e.push(o[r])}var i=t.clientRenderedBoundaries,s;for(s=0;s<i.length;s++){var u=i[s];o=e;var l=t.responseState,d=u.id,m=u.errorDigest,w=u.errorMessage,k=u.errorComponentStack;if(o.push(l.startInlineScript),l.sentClientRenderFunction?o.push('$RX("'):(l.sentClientRenderFunction=!0,o.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),d===null)throw Error(ae(395));if(o.push(d),o.push('"'),m||w||k){o.push(",");var y=nf(m||"");o.push(y)}if(w||k){o.push(",");var T=nf(w||"");o.push(T)}if(k){o.push(",");var S=nf(k);o.push(S)}if(!o.push(")<\/script>")){t.destination=null,s++,i.splice(0,s);return}}i.splice(0,s);var D=t.completedBoundaries;for(s=0;s<D.length;s++)if(!wy(t,e,D[s])){t.destination=null,s++,D.splice(0,s);return}D.splice(0,s);var x=t.partialBoundaries;for(s=0;s<x.length;s++){var B=x[s];t:{i=t,u=e;var N=B.completedSegments;for(l=0;l<N.length;l++)if(!OS(i,u,B,N[l])){l++,N.splice(0,l);var $=!1;break t}N.splice(0,l),$=!0}if(!$){t.destination=null,s++,x.splice(0,s);return}}x.splice(0,s);var K=t.completedBoundaries;for(s=0;s<K.length;s++)if(!wy(t,e,K[s])){t.destination=null,s++,K.splice(0,s);return}K.splice(0,s)}finally{t.allPendingTasks===0&&t.pingedTasks.length===0&&t.clientRenderedBoundaries.length===0&&t.completedBoundaries.length===0&&e.push(null)}}function NA(t,e){try{var r=t.abortableTasks;r.forEach(function(o){return MS(o,t,e)}),r.clear(),t.destination!==null&&sd(t,t.destination)}catch(o){Gs(t,o),kc(t,o)}}function AA(){}function DS(t,e,r,o){var i=!1,s=null,u="",l={push:function(m){return m!==null&&(u+=m),!0},destroy:function(m){i=!0,s=m}},d=!1;
46if(t=jA(t,vA(r,e?e.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,AA,void 0,function(){d=!0}),kS(t),NA(t,o),t.status===1)t.status=2,l.destroy(t.fatalError);else if(t.status!==2&&t.destination===null){t.destination=l;try{sd(t,l)}catch(m){Gs(t,m),kc(t,m)}}if(i)throw s;if(!d)throw Error(ae(426));return u}os.renderToNodeStream=function(){throw Error(ae(207))};os.renderToStaticMarkup=function(t,e){return DS(t,e,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')};os.renderToStaticNodeStream=function(){throw Error(ae(208))};os.renderToString=function(t,e){return DS(t,e,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')};os.version="18.3.1";var ud={};/** 47 * @license React 48 * react-dom-server.browser.production.min.js 49 * 50 * Copyright (c) Facebook, Inc. and its affiliates. 51 * 52 * This source code is licensed under the MIT license found in the 53 * LICENSE file in the root directory of this source tree. 54 */var xS=dr;function fe(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var rn=null,nn=0;function At(t,e){if(e.length!==0)if(512<e.length)0<nn&&(t.enqueue(new Uint8Array(rn.buffer,0,nn)),rn=new Uint8Array(512),nn=0),t.enqueue(e);else{var r=rn.length-nn;r<e.length&&(r===0?t.enqueue(rn):(rn.set(e.subarray(0,r),nn),t.enqueue(rn),e=e.subarray(r)),rn=new Uint8Array(512),nn=0),rn.set(e,nn),nn+=e.length}}function qe(t,e){return At(t,e),!0}function by(t){rn&&0<nn&&(t.enqueue(new Uint8Array(rn.buffer,0,nn)),rn=null,nn=0)}var TS=new TextEncoder;function he(t){return TS.encode(t)}function Et(t){return TS.encode(t)}function IS(t,e){typeof t.error=="function"?t.error(e):t.close()}var $r=Object.prototype.hasOwnProperty,zA=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ey={},My={};function jS(t){return $r.call(My,t)?!0:$r.call(Ey,t)?!1:zA.test(t)?My[t]=!0:(Ey[t]=!0,!1)}function zr(t,e,r,o,i,s,u){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=o,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=s,this.removeEmptyString=u}var vr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){vr[t]=new zr(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];vr[e]=new zr(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){vr[t]=new zr(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){vr[t]=new zr(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){vr[t]=new zr(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){vr[t]=new zr(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){vr[t]=new zr(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){vr[t]=new zr(t,6,!1,t,null,!1,!1)});
54["rowSpan","start"].forEach(function(t){vr[t]=new zr(t,5,!1,t.toLowerCase(),null,!1,!1)});var cd=/[\-:]([a-z])/g;function ld(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(cd,ld);vr[e]=new zr(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(cd,ld);vr[e]=new zr(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(cd,ld);vr[e]=new zr(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){vr[t]=new zr(t,1,!1,t.toLowerCase(),null,!1,!1)});vr.xlinkHref=new zr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){vr[t]=new zr(t,1,!1,t.toLowerCase(),null,!0,!0)});var fc={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},RA=["Webkit","ms","Moz","O"];Object.keys(fc).forEach(function(t){RA.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),fc[e]=fc[t]})});var BA=/["'&<>]/;function pr(t){if(typeof t=="boolean"||typeof t=="number")return""+t;t=""+t;var e=BA.exec(t);if(e){var r="",o,i=0;for(o=e.index;o<t.length;o++){switch(t.charCodeAt(o)){case 34:e=""";break;case 38:e="&";break;case 39:e="'";break;case 60:e="<";break;case 62:e=">";break;default:continue}i!==o&&(r+=t.substring(i,o)),i=o+1,r+=e}t=i!==o?r+t.substring(i,o):r}return t}var PA=/([A-Z])/g,FA=/^ms-/,Wf=Array.isArray,$A=Et("<script>"),UA=Et("<\/script>"),KA=Et('<script src="'),HA=Et('<script type="module" src="'),Cy=Et('" async=""><\/script>'),qA=/(<\/|<)(s)(cript)/gi;function YA(t,e,r,o){return""+e+(r==="s"?"\\u0073":"\\u0053")+o}function WA(t,e,r,o,i){t=t===void 0?"":t,e=e===void 0?$A:Et('<script nonce="'+pr(e)+'">');var s=[];if(r!==void 0&&s.push(e,he((""+r).replace(qA,YA)),UA),o!==void 0)for(r=0;r<o.length;r++)s.push(KA,he(pr(o[r])),Cy);if(i!==void 0)for(o=0;o<i.length;o++)s.push(HA,he(pr(i[o])),Cy);return{bootstrapChunks:s,startInlineScript:e,placeholderPrefix:Et(t+"P:"),segmentPrefix:Et(t+"S:"),boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function Gn(t,e){return{insertionMode:t,selectedValue:e}}function QA(t){return Gn(t==="http://www.w3.org/2000/svg"?2:t==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function VA(t,e,r){switch(e){case"select":return Gn(1,r.value!=null?r.value:r.defaultValue);case"svg":return Gn(2,null);case"math":return Gn(3,null);case"foreignObject":return Gn(1,null);case"table":return Gn(4,null);case"thead":case"tbody":case"tfoot":return Gn(5,null);case"colgroup":return Gn(7,null);case"tr":return Gn(6,null)}return 4<=t.insertionMode||t.insertionMode===0?Gn(1,null):t}var fd=Et("<!-- -->");function ky(t,e,r,o){return e===""?o:(o&&t.push(fd),t.push(he(pr(e))),!0)}var Oy=new Map,ZA=Et(' style="'),Dy=Et(":"),GA=Et(";");function LS(t,e,r){if(typeof r!="object")throw Error(fe(62));e=!0;for(var o in r)if($r.call(r,o)){var i=r[o];if(i!=null&&typeof i!="boolean"&&i!==""){if(o.indexOf("--")===0){var s=he(pr(o));i=he(pr((""+i).trim()))}else{s=o;var u=Oy.get(s);u!==void 0||(u=Et(pr(s.replace(PA,"-$1").toLowerCase().replace(FA,"-ms-"))),Oy.set(s,u)),s=u,i=typeof i=="number"?i===0||$r.call(fc,o)?he(""+i):he(i+"px"):he(pr((""+i).trim()))}e?(e=!1,t.push(ZA,s,Dy,i)):t.push(GA,s,Dy,i)}}e||t.push(Ji)}var si=Et(" "),Ba=Et('="'),Ji=Et('"'),xy=Et('=""');function tn(t,e,r,o){switch(r){case"style":LS(t,e,o);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N"){if(e=vr.hasOwnProperty(r)?vr[r]:null,e!==null){switch(typeof o){case"function":case"symbol":return;case"boolean":if(!e.acceptsBooleans)return}
54switch(r=he(e.attributeName),e.type){case 3:o&&t.push(si,r,xy);break;case 4:o===!0?t.push(si,r,xy):o!==!1&&t.push(si,r,Ba,he(pr(o)),Ji);break;case 5:isNaN(o)||t.push(si,r,Ba,he(pr(o)),Ji);break;case 6:!isNaN(o)&&1<=o&&t.push(si,r,Ba,he(pr(o)),Ji);break;default:e.sanitizeURL&&(o=""+o),t.push(si,r,Ba,he(pr(o)),Ji)}}else if(jS(r)){switch(typeof o){case"function":case"symbol":return;case"boolean":if(e=r.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-")return}t.push(si,he(r),Ba,he(pr(o)),Ji)}}}var ui=Et(">"),Ty=Et("/>");function pc(t,e,r){if(e!=null){if(r!=null)throw Error(fe(60));if(typeof e!="object"||!("__html"in e))throw Error(fe(61));e=e.__html,e!=null&&t.push(he(""+e))}}function JA(t){var e="";return xS.Children.forEach(t,function(r){r!=null&&(e+=r)}),e}var af=Et(' selected=""');function sf(t,e,r,o){t.push(Jn(r));var i=r=null,s;for(s in e)if($r.call(e,s)){var u=e[s];if(u!=null)switch(s){case"children":r=u;break;case"dangerouslySetInnerHTML":i=u;break;default:tn(t,o,s,u)}}return t.push(ui),pc(t,i,r),typeof r=="string"?(t.push(he(pr(r))),null):r}var uf=Et(` 55`),XA=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Iy=new Map;function Jn(t){var e=Iy.get(t);if(e===void 0){if(!XA.test(t))throw Error(fe(65,t));e=Et("<"+t),Iy.set(t,e)}return e}var tz=Et("<!DOCTYPE html>");function ez(t,e,r,o,i){switch(e){case"select":t.push(Jn("select"));var s=null,u=null;for(w in r)if($r.call(r,w)){var l=r[w];if(l!=null)switch(w){case"children":s=l;break;case"dangerouslySetInnerHTML":u=l;break;case"defaultValue":case"value":break;default:tn(t,o,w,l)}}return t.push(ui),pc(t,u,s),s;case"option":u=i.selectedValue,t.push(Jn("option"));var d=l=null,m=null,w=null;for(s in r)if($r.call(r,s)){var k=r[s];if(k!=null)switch(s){case"children":l=k;break;case"selected":m=k;break;case"dangerouslySetInnerHTML":w=k;break;case"value":d=k;default:tn(t,o,s,k)}}if(u!=null)if(r=d!==null?""+d:JA(l),Wf(u)){for(o=0;o<u.length;o++)if(""+u[o]===r){t.push(af);break}}else""+u===r&&t.push(af);else m&&t.push(af);return t.push(ui),pc(t,w,l),l;case"textarea":t.push(Jn("textarea")),w=u=s=null;for(l in r)if($r.call(r,l)&&(d=r[l],d!=null))switch(l){case"children":w=d;break;case"value":s=d;break;case"defaultValue":u=d;break;case"dangerouslySetInnerHTML":throw Error(fe(91));default:tn(t,o,l,d)}if(s===null&&u!==null&&(s=u),t.push(ui),w!=null){if(s!=null)throw Error(fe(92));if(Wf(w)&&1<w.length)throw Error(fe(93));s=""+w}return typeof s=="string"&&s[0]===` 56`&&t.push(uf),s!==null&&t.push(he(pr(""+s))),null;case"input":t.push(Jn("input")),d=w=l=s=null;for(u in r)if($r.call(r,u)&&(m=r[u],m!=null))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(fe(399,"input"));case"defaultChecked":d=m;break;case"defaultValue":l=m;break;case"checked":w=m;break;case"value":s=m;break;default:tn(t,o,u,m)}return w!==null?tn(t,o,"checked",w):d!==null&&tn(t,o,"checked",d),s!==null?tn(t,o,"value",s):l!==null&&tn(t,o,"value",l),t.push(Ty),null;case"menuitem":t.push(Jn("menuitem"));for(var y in r)if($r.call(r,y)&&(s=r[y],s!=null))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(fe(400));default:tn(t,o,y,s)}return t.push(ui),null;case"title":t.push(Jn("title")),s=null;for(k in r)if($r.call(r,k)&&(u=r[k],u!=null))switch(k){case"children":s=u;break;case"dangerouslySetInnerHTML":throw Error(fe(434));default:tn(t,o,k,u)}return t.push(ui),s;case"listing":case"pre":t.push(Jn(e)),u=s=null;for(d in r)if($r.call(r,d)&&(l=r[d],l!=null))switch(d){case"children":s=l;break;case"dangerouslySetInnerHTML":u=l;break;default:tn(t,o,d,l)}if(t.push(ui),u!=null){if(s!=null)throw Error(fe(60));if(typeof u!="object"||!("__html"in u))throw Error(fe(61));r=u.__html,r!=null&&(typeof r=="string"&&0<r.length&&r[0]===` 57`?t.push(uf,he(r)):t.push(he(""+r)))}return typeof s=="string"&&s[0]===` 58`&&t.push(uf),s;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":t.push(Jn(e));for(var T in r)if($r.call(r,T)&&(s=r[T],s!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(fe(399,e));default:tn(t,o,T,s)}return t.push(Ty),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return sf(t,r,e,o);case"html":return i.insertionMode===0&&t.push(tz),sf(t,r,e,o);default:if(e.indexOf("-")===-1&&typeof r.is!="string")return sf(t,r,e,o);t.push(Jn(e)),u=s=null;for(m in r)if($r.call(r,m)&&(l=r[m],l!=null))switch(m){case"children":s=l;break;case"dangerouslySetInnerHTML":u=l;break;case"style":LS(t,o,l);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:jS(m)&&typeof l!="function"&&typeof l!="symbol"&&t.push(si,he(m),Ba,he(pr(l)),Ji)}return t.push(ui),pc(t,u,s),s}}var rz=Et("</"),nz=Et(">"),oz=Et('<template id="'),iz=Et('"></template>'),az=Et("<!--$-->"),sz=Et('<!--$?--><template id="'),uz=Et('"></template>'),cz=Et("<!--$!-->"),lz=Et("<!--/$-->"),fz=Et("<template"),pz=Et('"'),dz=Et(' data-dgst="');Et(' data-msg="');Et(' data-stck="');var hz=Et("></template>");function jy(t,e,r){if(At(t,sz),r===null)throw Error(fe(395));return At(t,r),qe(t,uz)}var gz=Et('<div hidden id="'),yz=Et('">'),vz=Et("</div>"),mz=Et('<svg aria-hidden="true" style="display:none" id="'),_z=Et('">'),Sz=Et("</svg>"),wz=Et('<math aria-hidden="true" style="display:none" id="'),bz=Et('">'),Ez=Et("</math>"),Mz=Et('<table hidden id="'),Cz=Et('">'),kz=Et("</table>"),Oz=Et('<table hidden><tbody id="'),Dz=Et('">'),xz=Et("</tbody></table>"),Tz=Et('<table hidden><tr id="'),Iz=Et('">'),jz=Et("</tr></table>"),Lz=Et('<table hidden><colgroup id="'),Nz=Et('">'),Az=Et("</colgroup></table>");function zz(t,e,r,o){switch(r.insertionMode){case 0:case 1:return At(t,gz),At(t,e.segmentPrefix),At(t,he(o.toString(16))),qe(t,yz);case 2:return At(t,mz),At(t,e.segmentPrefix),At(t,he(o.toString(16))),qe(t,_z);case 3:return At(t,wz),At(t,e.segmentPrefix),At(t,he(o.toString(16))),qe(t,bz);case 4:return At(t,Mz),At(t,e.segmentPrefix),At(t,he(o.toString(16))),qe(t,Cz);case 5:return At(t,Oz),At(t,e.segmentPrefix),At(t,he(o.toString(16))),qe(t,Dz);case 6:return At(t,Tz),At(t,e.segmentPrefix),At(t,he(o.toString(16))),qe(t,Iz);case 7:return At(t,Lz),At(t,e.segmentPrefix),At(t,he(o.toString(16))),qe(t,Nz);default:throw Error(fe(397))}}function Rz(t,e){switch(e.insertionMode){case 0:case 1:return qe(t,vz);case 2:return qe(t,Sz);case 3:return qe(t,Ez);case 4:return qe(t,kz);case 5:return qe(t,xz);case 6:return qe(t,jz);case 7:return qe(t,Az);default:throw Error(fe(397))}}var Bz=Et('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Pz=Et('$RS("'),Fz=Et('","'),$z=Et('")<\/script>'),Uz=Et('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Kz=Et('$RC("'),Hz=Et('","'),qz=Et('")<\/script>'),Yz=Et('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Wz=Et('$RX("'),Qz=Et('"'),Vz=Et(")<\/script>"),cf=Et(","),Zz=/[<\u2028\u2029]/g;function lf(t){return JSON.stringify(t).replace(Zz,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Us=Object.assign,Gz=Symbol.for("react.element"),NS=Symbol.for("react.portal"),AS=Symbol.for("react.fragment"),zS=Symbol.for("react.strict_mode"),RS=Symbol.for("react.profiler"),BS=Symbol.for("react.provider"),PS=Symbol.for("react.context"),FS=Symbol.for("react.forward_ref"),$S=Symbol.for("react.suspense"),US=Symbol.for("react.suspense_list"),KS=Symbol.for("react.memo"),pd=Symbol.for("react.lazy"),Jz=Symbol.for("react.scope"),Xz=Symbol.for("react.debug_trace_mode"),tR=Symbol.for("react.legacy_hidden"),eR=Symbol.for("react.default_value"),Ly=Symbol.iterator;function Qf(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case AS:return"Fragment";case NS:return"Portal";case RS:return"Profiler";case zS:return"StrictMode";case $S:return"Suspense";case US:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case PS:return(t.displayName||"Context")+".Consumer";case BS:return(t._context.displayName||"Context")+".Provider";case FS:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case KS:return e=t.displayName||null,e!==null?e:Qf(t.type)||"Memo";case pd:e=t._payload,t=t._init;try{return Qf(t(e))}catch{}}return null}var HS={};function Ny(t,e){if(t=t.contextTypes,!t)return HS;var r={},o;for(o in t)r[o]=e[o];return r}var ra=null;function al(t,e){if(t!==e){t.context._currentValue=t.parentValue,t=t.parent;var r=e.parent;if(t===null){if(r!==null)throw Error(fe(401))}else{if(r===null)throw Error(fe(401));al(t,r)}e.context._currentValue=e.value}}function qS(t){t.context._currentValue=t.parentValue,t=t.parent,t!==null&&qS(t)}function YS(t){var e=t.parent;e!==null&&YS(e),t.context._currentValue=t.value}function WS(t,e){if(t.context._currentValue=t.parentValue,t=t.parent,t===null)throw Error(fe(402));t.depth===e.depth?al(t,e):WS(t,e)}function QS(t,e){var r=e.parent;if(r===null)throw Error(fe(402));t.depth===r.depth?al(t,r):QS(t,r),e.context._currentValue=e.value}function Dc(t){var e=ra;e!==t&&(e===null?YS(t):t===null?qS(e):e.depth===t.depth?al(e,t):e.depth>t.depth?WS(e,t):QS(e,t),ra=t)}var Ay={isMounted:function(){return!1},enqueueSetState:function(t,e){t=t._reactInternals,t.queue!==null&&t.queue.push(e)},enqueueReplaceState:function(t,e){t=t._reactInternals,t.replace=!0,t.queue=[e]},enqueueForceUpdate:function(){}};function zy(t,e,r,o){var i=t.state!==void 0?t.state:null;t.updater=Ay,t.props=r,t.state=i;var s={queue:[],replace:!1};t._reactInternals=s;var u=e.contextType;if(t.context=typeof u=="object"&&u!==null?u._currentValue:o,u=e.getDerivedStateFromProps,typeof u=="function"&&(u=u(r,i),i=u==null?i:Us({},i,u),t.state=i),typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function"&&(typeof t.UNSAFE_componentWillMount=="function"||typeof t.componentWillMount=="function"))if(e=t.state,typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),e!==t.state&&Ay.enqueueReplaceState(t,t.state,null),s.queue!==null&&0<s.queue.length)if(e=s.queue,u=s.replace,s.queue=null,s.replace=!1,u&&e.length===1)t.state=e[0];
58else{for(s=u?e[0]:t.state,i=!0,u=u?1:0;u<e.length;u++){var l=e[u];l=typeof l=="function"?l.call(t,s,r,o):l,l!=null&&(i?(i=!1,s=Us({},s,l)):Us(s,l))}t.state=s}else s.queue=null}var rR={id:1,overflow:""};function Vf(t,e,r){var o=t.id;t=t.overflow;var i=32-dc(o)-1;o&=~(1<<i),r+=1;var s=32-dc(e)+i;if(30<s){var u=i-i%5;return s=(o&(1<<u)-1).toString(32),o>>=u,i-=u,{id:1<<32-dc(e)+i|r<<i|o,overflow:s+t}}return{id:1<<s|r<<i|o,overflow:t}}var dc=Math.clz32?Math.clz32:iR,nR=Math.log,oR=Math.LN2;function iR(t){return t>>>=0,t===0?32:31-(nR(t)/oR|0)|0}function aR(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var sR=typeof Object.is=="function"?Object.is:aR,To=null,dd=null,hc=null,Fe=null,Ns=!1,xc=!1,Js=0,hi=null,sl=0;function Xi(){if(To===null)throw Error(fe(321));return To}function Ry(){if(0<sl)throw Error(fe(312));return{memoizedState:null,queue:null,next:null}}function hd(){return Fe===null?hc===null?(Ns=!1,hc=Fe=Ry()):(Ns=!0,Fe=hc):Fe.next===null?(Ns=!1,Fe=Fe.next=Ry()):(Ns=!0,Fe=Fe.next),Fe}function gd(){dd=To=null,xc=!1,hc=null,sl=0,Fe=hi=null}function VS(t,e){return typeof e=="function"?e(t):e}function By(t,e,r){if(To=Xi(),Fe=hd(),Ns){var o=Fe.queue;if(e=o.dispatch,hi!==null&&(r=hi.get(o),r!==void 0)){hi.delete(o),o=Fe.memoizedState;do o=t(o,r.action),r=r.next;while(r!==null);return Fe.memoizedState=o,[o,e]}return[Fe.memoizedState,e]}return t=t===VS?typeof e=="function"?e():e:r!==void 0?r(e):e,Fe.memoizedState=t,t=Fe.queue={last:null,dispatch:null},t=t.dispatch=uR.bind(null,To,t),[Fe.memoizedState,t]}function Py(t,e){if(To=Xi(),Fe=hd(),e=e===void 0?null:e,Fe!==null){var r=Fe.memoizedState;if(r!==null&&e!==null){var o=r[1];t:if(o===null)o=!1;else{for(var i=0;i<o.length&&i<e.length;i++)if(!sR(e[i],o[i])){o=!1;break t}o=!0}if(o)return r[0]}}return t=t(),Fe.memoizedState=[t,e],t}function uR(t,e,r){if(25<=sl)throw Error(fe(301));if(t===To)if(xc=!0,t={action:r,next:null},hi===null&&(hi=new Map),r=hi.get(e),r===void 0)hi.set(e,t);else{for(e=r;e.next!==null;)e=e.next;e.next=t}}function cR(){throw Error(fe(394))}function Xu(){}var Fy={readContext:function(t){return t._currentValue},useContext:function(t){return Xi(),t._currentValue},useMemo:Py,useReducer:By,useRef:function(t){To=Xi(),Fe=hd();var e=Fe.memoizedState;return e===null?(t={current:t},Fe.memoizedState=t):e},useState:function(t){return By(VS,t)},useInsertionEffect:Xu,useLayoutEffect:function(){},useCallback:function(t,e){return Py(function(){return t},e)},useImperativeHandle:Xu,useEffect:Xu,useDebugValue:Xu,useDeferredValue:function(t){return Xi(),t},useTransition:function(){return Xi(),[!1,cR]},useId:function(){var t=dd.treeContext,e=t.overflow;t=t.id,t=(t&~(1<<32-dc(t)-1)).toString(32)+e;var r=gc;if(r===null)throw Error(fe(404));return e=Js++,t=":"+r.idPrefix+"R"+t,0<e&&(t+="H"+e.toString(32)),t+":"},useMutableSource:function(t,e){return Xi(),e(t._source)},useSyncExternalStore:function(t,e,r){if(r===void 0)throw Error(fe(407));return r()}},gc=null,ff=xS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function lR(t){return console.error(t),null}function As(){}function fR(t,e,r,o,i,s,u,l,d){var m=[],w=new Set;return e={destination:null,responseState:e,progressiveChunkSize:o===void 0?12800:o,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:w,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:i===void 0?lR:i,onAllReady:s===void 0?As:s,onShellReady:u===void 0?As:u,onShellError:l===void 0?As:l,onFatalError:d===void 0?As:d},r=Tc(e,0,null,r,!1,!1),r.parentFlushed=!0,t=yd(e,t,null,r,w,HS,null,rR),m.push(t),e}function yd(t,e,r,o,i,s,u,l){t.allPendingTasks++,r===null?t.pendingRootTasks++:r.pendingTasks++;var d={node:e,ping:function(){var m=t.pingedTasks;m.push(d),m.length===1&&JS(t)},blockedBoundary:r,blockedSegment:o,abortSet:i,legacyContext:s,context:u,treeContext:l};return i.add(d),d}function Tc(t,e,r,o,i,s){return{status:0,id:-1,index:e,parentFlushed:!1,chunks:[],children:[],formatContext:o,boundary:r,lastPushedText:i,textEmbedded:s}}function Xs(t,e){if(t=t.onError(e),t!=null&&typeof t!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof t+'" instead');return t}function Ic(t,e){var r=t.onShellError;r(e),r=t.onFatalError,r(e),t.destination!==null?(t.status=2,IS(t.destination,e)):(t.status=1,t.fatalError=e)}function $y(t,e,r,o,i){for(To={},dd=e,Js=0,t=r(o,i);xc;)xc=!1,Js=0,sl+=1,Fe=null,t=r(o,i);return gd(),t}function Uy(t,e,r,o){var i=r.render(),s=o.childContextTypes;if(s!=null){var u=e.legacyContext;if(typeof r.getChildContext!="function")o=u;else{r=r.getChildContext();for(var l in r)if(!(l in s))throw Error(fe(108,Qf(o)||"Unknown",l));o=Us({},u,r)}e.legacyContext=o,on(t,e,i),e.legacyContext=u}else on(t,e,i)}function Ky(t,e){if(t&&t.defaultProps){e=Us({},e),t=t.defaultProps;for(var r in t)e[r]===void 0&&(e[r]=t[r]);return e}return e}
58function Zf(t,e,r,o,i){if(typeof r=="function")if(r.prototype&&r.prototype.isReactComponent){i=Ny(r,e.legacyContext);var s=r.contextType;s=new r(o,typeof s=="object"&&s!==null?s._currentValue:i),zy(s,r,o,i),Uy(t,e,s,r)}else{s=Ny(r,e.legacyContext),i=$y(t,e,r,o,s);var u=Js!==0;if(typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0)zy(i,r,o,s),Uy(t,e,i,r);else if(u){o=e.treeContext,e.treeContext=Vf(o,1,0);try{on(t,e,i)}finally{e.treeContext=o}}else on(t,e,i)}else if(typeof r=="string"){switch(i=e.blockedSegment,s=ez(i.chunks,r,o,t.responseState,i.formatContext),i.lastPushedText=!1,u=i.formatContext,i.formatContext=VA(u,r,o),Gf(t,e,s),i.formatContext=u,r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:i.chunks.push(rz,he(r),nz)}i.lastPushedText=!1}else{switch(r){case tR:case Xz:case zS:case RS:case AS:on(t,e,o.children);return;case US:on(t,e,o.children);return;case Jz:throw Error(fe(343));case $S:t:{r=e.blockedBoundary,i=e.blockedSegment,s=o.fallback,o=o.children,u=new Set;var l={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:u,errorDigest:null},d=Tc(t,i.chunks.length,l,i.formatContext,!1,!1);i.children.push(d),i.lastPushedText=!1;var m=Tc(t,0,null,i.formatContext,!1,!1);m.parentFlushed=!0,e.blockedBoundary=l,e.blockedSegment=m;try{if(Gf(t,e,o),m.lastPushedText&&m.textEmbedded&&m.chunks.push(fd),m.status=1,jc(l,m),l.pendingTasks===0)break t}catch(w){m.status=4,l.forceClientRender=!0,l.errorDigest=Xs(t,w)}finally{e.blockedBoundary=r,e.blockedSegment=i}e=yd(t,s,r,d,u,e.legacyContext,e.context,e.treeContext),t.pingedTasks.push(e)}return}if(typeof r=="object"&&r!==null)switch(r.$$typeof){case FS:if(o=$y(t,e,r.render,o,i),Js!==0){r=e.treeContext,e.treeContext=Vf(r,1,0);try{on(t,e,o)}finally{e.treeContext=r}}else on(t,e,o);return;case KS:r=r.type,o=Ky(r,o),Zf(t,e,r,o,i);return;case BS:if(i=o.children,r=r._context,o=o.value,s=r._currentValue,r._currentValue=o,u=ra,ra=o={parent:u,depth:u===null?0:u.depth+1,context:r,parentValue:s,value:o},e.context=o,on(t,e,i),t=ra,t===null)throw Error(fe(403));o=t.parentValue,t.context._currentValue=o===eR?t.context._defaultValue:o,t=ra=t.parent,e.context=t;return;case PS:o=o.children,o=o(r._currentValue),on(t,e,o);return;case pd:i=r._init,r=i(r._payload),o=Ky(r,o),Zf(t,e,r,o,void 0);return}throw Error(fe(130,r==null?r:typeof r,""))}}function on(t,e,r){if(e.node=r,typeof r=="object"&&r!==null){switch(r.$$typeof){case Gz:Zf(t,e,r.type,r.props,r.ref);return;case NS:throw Error(fe(257));case pd:var o=r._init;r=o(r._payload),on(t,e,r);return}if(Wf(r)){Hy(t,e,r);return}if(r===null||typeof r!="object"?o=null:(o=Ly&&r[Ly]||r["@@iterator"],o=typeof o=="function"?o:null),o&&(o=o.call(r))){if(r=o.next(),!r.done){var i=[];do i.push(r.value),r=o.next();while(!r.done);Hy(t,e,i)}return}throw t=Object.prototype.toString.call(r),Error(fe(31,t==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":t))}typeof r=="string"?(o=e.blockedSegment,o.lastPushedText=ky(e.blockedSegment.chunks,r,t.responseState,o.lastPushedText)):typeof r=="number"&&(o=e.blockedSegment,o.lastPushedText=ky(e.blockedSegment.chunks,""+r,t.responseState,o.lastPushedText))}function Hy(t,e,r){for(var o=r.length,i=0;i<o;i++){var s=e.treeContext;e.treeContext=Vf(s,o,i);try{Gf(t,e,r[i])}finally{e.treeContext=s}}}function Gf(t,e,r){var o=e.blockedSegment.formatContext,i=e.legacyContext,s=e.context;try{return on(t,e,r)}catch(d){if(gd(),typeof d=="object"&&d!==null&&typeof d.then=="function"){r=d;var u=e.blockedSegment,l=Tc(t,u.chunks.length,null,u.formatContext,u.lastPushedText,!0);u.children.push(l),u.lastPushedText=!1,t=yd(t,e.node,e.blockedBoundary,l,e.abortSet,e.legacyContext,e.context,e.treeContext).ping,r.then(t,t),e.blockedSegment.formatContext=o,e.legacyContext=i,e.context=s,Dc(s)}else throw e.blockedSegment.formatContext=o,e.legacyContext=i,e.context=s,Dc(s),d}}function pR(t){var e=t.blockedBoundary;t=t.blockedSegment,t.status=3,GS(this,e,t)}function ZS(t,e,r){var o=t.blockedBoundary;t.blockedSegment.status=3,o===null?(e.allPendingTasks--,e.status!==2&&(e.status=2,e.destination!==null&&e.destination.close())):(o.pendingTasks--,o.forceClientRender||(o.forceClientRender=!0,t=r===void 0?Error(fe(432)):r,o.errorDigest=e.onError(t),o.parentFlushed&&e.clientRenderedBoundaries.push(o)),o.fallbackAbortableTasks.forEach(function(i){return ZS(i,e,r)}
58),o.fallbackAbortableTasks.clear(),e.allPendingTasks--,e.allPendingTasks===0&&(o=e.onAllReady,o()))}function jc(t,e){if(e.chunks.length===0&&e.children.length===1&&e.children[0].boundary===null){var r=e.children[0];r.id=e.id,r.parentFlushed=!0,r.status===1&&jc(t,r)}else t.completedSegments.push(e)}function GS(t,e,r){if(e===null){if(r.parentFlushed){if(t.completedRootSegment!==null)throw Error(fe(389));t.completedRootSegment=r}t.pendingRootTasks--,t.pendingRootTasks===0&&(t.onShellError=As,e=t.onShellReady,e())}else e.pendingTasks--,e.forceClientRender||(e.pendingTasks===0?(r.parentFlushed&&r.status===1&&jc(e,r),e.parentFlushed&&t.completedBoundaries.push(e),e.fallbackAbortableTasks.forEach(pR,t),e.fallbackAbortableTasks.clear()):r.parentFlushed&&r.status===1&&(jc(e,r),e.completedSegments.length===1&&e.parentFlushed&&t.partialBoundaries.push(e)));t.allPendingTasks--,t.allPendingTasks===0&&(t=t.onAllReady,t())}function JS(t){if(t.status!==2){var e=ra,r=ff.current;ff.current=Fy;var o=gc;gc=t.responseState;try{var i=t.pingedTasks,s;for(s=0;s<i.length;s++){var u=i[s],l=t,d=u.blockedSegment;if(d.status===0){Dc(u.context);try{on(l,u,u.node),d.lastPushedText&&d.textEmbedded&&d.chunks.push(fd),u.abortSet.delete(u),d.status=1,GS(l,u.blockedBoundary,d)}catch(S){if(gd(),typeof S=="object"&&S!==null&&typeof S.then=="function"){var m=u.ping;S.then(m,m)}else{u.abortSet.delete(u),d.status=4;var w=u.blockedBoundary,k=S,y=Xs(l,k);if(w===null?Ic(l,k):(w.pendingTasks--,w.forceClientRender||(w.forceClientRender=!0,w.errorDigest=y,w.parentFlushed&&l.clientRenderedBoundaries.push(w))),l.allPendingTasks--,l.allPendingTasks===0){var T=l.onAllReady;T()}}}finally{}}}i.splice(0,s),t.destination!==null&&vd(t,t.destination)}catch(S){Xs(t,S),Ic(t,S)}finally{gc=o,ff.current=r,r===Fy&&Dc(e)}}}function tc(t,e,r){switch(r.parentFlushed=!0,r.status){case 0:var o=r.id=t.nextSegmentId++;return r.lastPushedText=!1,r.textEmbedded=!1,t=t.responseState,At(e,oz),At(e,t.placeholderPrefix),t=he(o.toString(16)),At(e,t),qe(e,iz);case 1:r.status=2;var i=!0;o=r.chunks;var s=0;r=r.children;for(var u=0;u<r.length;u++){for(i=r[u];s<i.index;s++)At(e,o[s]);i=ul(t,e,i)}for(;s<o.length-1;s++)At(e,o[s]);return s<o.length&&(i=qe(e,o[s])),i;default:throw Error(fe(390))}}function ul(t,e,r){var o=r.boundary;if(o===null)return tc(t,e,r);if(o.parentFlushed=!0,o.forceClientRender)o=o.errorDigest,qe(e,cz),At(e,fz),o&&(At(e,dz),At(e,he(pr(o))),At(e,pz)),qe(e,hz),tc(t,e,r);else if(0<o.pendingTasks){o.rootSegmentID=t.nextSegmentId++,0<o.completedSegments.length&&t.partialBoundaries.push(o);var i=t.responseState,s=i.nextSuspenseID++;i=Et(i.boundaryPrefix+s.toString(16)),o=o.id=i,jy(e,t.responseState,o),tc(t,e,r)}else if(o.byteSize>t.progressiveChunkSize)o.rootSegmentID=t.nextSegmentId++,t.completedBoundaries.push(o),jy(e,t.responseState,o.id),tc(t,e,r);else{if(qe(e,az),r=o.completedSegments,r.length!==1)throw Error(fe(391));ul(t,e,r[0])}return qe(e,lz)}function qy(t,e,r){return zz(e,t.responseState,r.formatContext,r.id),ul(t,e,r),Rz(e,r.formatContext)}function Yy(t,e,r){for(var o=r.completedSegments,i=0;i<o.length;i++)XS(t,e,r,o[i]);if(o.length=0,t=t.responseState,o=r.id,r=r.rootSegmentID,At(e,t.startInlineScript),t.sentCompleteBoundaryFunction?At(e,Kz):(t.sentCompleteBoundaryFunction=!0,At(e,Uz)),o===null)throw Error(fe(395));return r=he(r.toString(16)),At(e,o),At(e,Hz),At(e,t.segmentPrefix),At(e,r),qe(e,qz)}function XS(t,e,r,o){if(o.status===2)return!0;var i=o.id;if(i===-1){if((o.id=r.rootSegmentID)===-1)throw Error(fe(392));return qy(t,e,o)}return qy(t,e,o),t=t.responseState,At(e,t.startInlineScript),t.sentCompleteSegmentFunction?At(e,Pz):(t.sentCompleteSegmentFunction=!0,At(e,Bz)),At(e,t.segmentPrefix),i=he(i.toString(16)),At(e,i),At(e,Fz),At(e,t.placeholderPrefix),At(e,i),qe(e,$z)}function vd(t,e){rn=new Uint8Array(512),nn=0;try{var r=t.completedRootSegment;if(r!==null&&t.pendingRootTasks===0){ul(t,e,r),t.completedRootSegment=null;var o=t.responseState.bootstrapChunks;for(r=0;r<o.length-1;r++)At(e,o[r]);r<o.length&&qe(e,o[r])}var i=t.clientRenderedBoundaries,s;for(s=0;s<i.length;s++){var u=i[s];o=e;var l=t.responseState,d=u.id,m=u.errorDigest,w=u.errorMessage,k=u.errorComponentStack;if(At(o,l.startInlineScript),l.sentClientRenderFunction?At(o,Wz):(l.sentClientRenderFunction=!0,At(o,Yz)),d===null)throw Error(fe(395));At(o,d),At(o,Qz),(m||w||k)&&(At(o,cf),At(o,he(lf(m||"")))),(w||k)&&(At(o,cf),At(o,he(lf(w||"")))),k&&(At(o,cf),At(o,he(lf(k)))),qe(o,Vz)}i.splice(0,s);var y=t.completedBoundaries;for(s=0;s<y.length;s++)Yy(t,e,y[s]);y.splice(0,s),by(e),rn=new Uint8Array(512),nn=0;var T=t.partialBoundaries;for(s=0;s<T.length;s++){var S=T[s];t:{i=t,u=e;var D=S.completedSegments;for(l=0;l<D.length;l++)if(!XS(i,u,S,D[l])){l++,D.splice(0,l);var x=!1;break t}D.splice(0,l),x=!0}if(!x){t.destination=null,s++,T.splice(0,s);return}}T.splice(0,s);var B=t.completedBoundaries;for(s=0;s<B.length;s++)Yy(t,e,B[s]);B.splice(0,s)}finally{by(e),t.allPendingTasks===0&&t.pingedTasks.length===0&&t.clientRenderedBoundaries.length===0&&t.completedBoundaries.length===0&&e.close()}}function Wy(t,e){try{var r=t.abortableTasks;r.forEach(function(o){return ZS(o,t,e)}),r.clear(),t.destination!==null&&vd(t,t.destination)}catch(o){Xs(t,o),Ic(t,o)}}ud.renderToReadableStream=function(t,e){return new Promise(function(r,o){var i,s,u=new Promise(function(w,k){s=w,i=k}),l=fR(t,WA(e?e.identifierPrefix:void 0,e?e.nonce:void 0,e?e.bootstrapScriptContent:void 0,e?e.bootstrapScripts:void 0,e?e.bootstrapModules:void 0),QA(e?e.namespaceURI:void 0),e?e.progressiveChunkSize:void 0,e?e.onError:void 0,s,function(){var w=new ReadableStream({type:"bytes",pull:function(k){if(l.status===1)l.status=2,IS(k,l.fatalError);else if(l.status!==2&&l.destination===null){l.destination=k;try{vd(l,k)}catch(y){Xs(l,y),Ic(l,y)}}}
vendor: 10,351 bytes, lines 58-59
58,cancel:function(){Wy(l)}},{highWaterMark:0});w.allReady=u,r(w)},function(w){u.catch(function(){}),o(w)},i);if(e&&e.signal){var d=e.signal,m=function(){Wy(l,d.reason),d.removeEventListener("abort",m)};d.addEventListener("abort",m)}JS(l)})};ud.version="18.3.1";var is,t0;is=os,t0=ud;jn.version=is.version;jn.renderToString=is.renderToString;jn.renderToStaticMarkup=is.renderToStaticMarkup;jn.renderToNodeStream=is.renderToNodeStream;jn.renderToStaticNodeStream=is.renderToStaticNodeStream;jn.renderToReadableStream=t0.renderToReadableStream;function dR(t){if(Array.isArray(t))return j0(t)}function hR(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gR(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 59In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fi(t){return dR(t)||hR(t)||L0(t)||gR()}function e0(t,e,r,o,i,s){var u=o-r,l=e+r<=t.offset;if(l)return Object.assign({},t,{offset:t.offset+u});var d=e>=t.offset&&e+r<=t.offset+t.length;if(d)return Object.assign({},t,{length:t.length+u});var m=t.offset>=e&&t.offset+t.length<=e+r&&i>0;if(m)return Object.assign({},t,{offset:t.offset+i});var w=t.offset<e&&t.offset+t.length<=e+r&&t.offset+t.length>e&&i>0;if(w)return[Object.assign({},t,{length:e-t.offset}),Object.assign({},t,{offset:e+i,length:t.offset-e+t.length})];var k=t.offset>=e&&t.offset+t.length>e+r&&e+r>t.offset&&s>0;return k?[Object.assign({},t,{offset:t.offset+i,length:e+r-t.offset}),Object.assign({},t,{offset:e+r+i+s,length:t.offset+t.length-(e+r)})]:t}const tu=function(t,e){return t.offset===e.offset?e.length-t.length:t.offset-e.offset};var Qy={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"};const yR=function(t){for(var e=fi(t.text),r=t.entityRanges.sort(tu),o=t.inlineStyleRanges.sort(tu),i="",s=function(d){var m=e[d];if(Qy[m]!==void 0){var w=Qy[m],k=fi(i).length;i+=w;var y=function(S){return e0(S,k,m.length,w.length,0,0)};r=r.map(y),o=o.map(y)}else i+=m},u=0;u<e.length;u++)s(u);return Object.assign({},t,{text:i,inlineStyleRanges:o,entityRanges:r})};var vR=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function Qa(t){if(vR.indexOf(t.type)!==-1)return jn.renderToStaticMarkup(t);var e=jn.renderToStaticMarkup(we.cloneElement(t,{},"\r")).split("\r");return In(e.length>1,"convertToHTML: Element of type ".concat(t.type," must render children")),In(e.length<3,"convertToHTML: Element of type ".concat(t.type," cannot use carriage return character")),{start:e[0],end:e[1]}}function mR(t){return we.isValidElement(t)&&we.Children.count(t.props.children)>0}function cl(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(t==null||typeof t=="string")return t;if(we.isValidElement(t)){if(mR(t))return jn.renderToStaticMarkup(t);var r=Qa(t);if(e!==null&&av(r)==="object"){var o=r.start,i=r.end;return o+e+i}return r}if(In(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),e!==null){var s=t.start,u=t.end;return s+e+u}return t}var Vy=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"start";if(we.isValidElement(e)){var o=Qa(e);if(typeof o=="string")return 0;var i=o[r].length,s=we.Children.toArray(e.props.children)[0];return i+(s&&we.isValidElement(s)?t(s,r):0)}return av(e)==="object"&&e[r]?e[r].length:0},Zy=function(){var e=arguments.length>1?arguments[1]:void 0;return e};const _R=function(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Zy,o=fi(t.text),i=r;if(r.__isMiddleware&&(i=r(Zy)),Object.prototype.hasOwnProperty.call(t,"entityRanges")&&t.entityRanges.length>0){for(var s=t.entityRanges.sort(tu),u=t.inlineStyleRanges,l=function(w){var k=s[w],y=e[k.key],T=o.slice(k.offset,k.offset+k.length).join(""),S=i(y,T),D=cl(S,T),x=void 0;D||D===""?x=fi(D):x=T;var B=Vy(S,"start"),N=Vy(S,"end"),$=function(ct,it){return it>w||Object.prototype.hasOwnProperty.call(ct,"style")?e0(ct,k.offset,k.length,x.length,B,N):ct},K=function(ct){return ct.reduce(function(it,H,q){var Y=$(H,q);return Array.isArray(Y)?it.concat(Y):it.concat([Y])},[])};s=K(s),u=K(u),o=[].concat(fi(o.slice(0,k.offset)),fi(x),fi(o.slice(k.offset+k.length)))},d=0;d<s.length;d++)l(d);return Object.assign({},t,{text:o.join(""),inlineStyleRanges:u,entityRanges:s})}return t},Gy=function(t){return function(e){return typeof t=="function"?t(e):t[e]}},r0=function(t,e){return function(){var r=t.apply(void 0,arguments);return r??e.apply(void 0,arguments)}};function Jy(t){switch(t){case"BOLD":return we.createElement("strong",null);case"ITALIC":return we.createElement("em",null);case"UNDERLINE":return we.createElement("u",null);case"CODE":return we.createElement("code",null);default:return{start:"",end:""}}}var pf=function(e,r){return e.filter(function(o){return!r.some(function(i){return i.style===o.style})})},SR=function(e,r){return r.reduceRight(function(o,i){var s=o[o.length-1];return In(s.style===i.style,"Style ".concat(s.style," to be removed doesn't match expected ").concat(i.style)),o.slice(0,-1)},e)},wR=function(e,r){return r.filter(function(o){return e>=o.offset&&e<o.offset+o.length})},bR=function(e,r){var o=e.offset<=r.offset,i=e.offset+e.length>=r.offset+r.length;return o&&i},ER=function(e,r){var o=r.offset+r.length,i=e.offset+e.length;return o-i},MR=function(e,r){for(var o=0;o<e.length;)if(r.every(bR.bind(null,e[o])))o++;else return e.slice(o);return[]},CR=function(e,r,o){return r+cl(e(o.style)).start},kR=function(e,r,o){return cl(e(o.style)).end+r},n0=function(e){return function(r){return e(r)}};n0.__isMiddleware=!0;const OR=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n0;In(t!=null,"Expected raw block to be non-null");var r;e.__isMiddleware===!0?r=e(Jy):r=r0(Gy(e),Gy(Jy));for(var o="",i=[],s=t.inlineStyleRanges.sort(tu),u=fi(t.text),l=0;l<u.length;l++){var d=wR(l,s),m=pf(i,d),w=pf(d,i),k=pf(i,m),y=MR(k,w),T=y.concat(w).sort(ER),S=T.reduce(CR.bind(null,r),""),D=m.concat(y).reduce(kR.bind(null,r),"");o+=D+S+u[l],i=SR(i,y.concat(m)),i=i.concat(T),In(i.length===d.length,"Character ".concat(l,": ").concat(i.length-d.length," styles left on stack that should no longer be there"))}return o=i.reduceRight(function(x,B){return x+cl(r(B.style)).end},o),o},df=function(t){return function(e){return typeof t=="function"?t(e):t[e.type]}};function DR(t){return we.isValidElement(t)&&we.Children.count(t.props.children)>0}function xR(t){return In(t!=null,"Expected block HTML value to be non-null"),typeof t=="string"?t:we.isValidElement(t)?DR(t)?jn.renderToStaticMarkup(t):Qa(t):Object.prototype.hasOwnProperty.call(t,"element")&&we.isValidElement(t.element)?Object.assign({},t,Qa(t.element)):(In(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t)}function za(t,e){if(In(t!=null,"Expected block HTML value to be non-null"),typeof t.nest=="function"){var r=Qa(t.nest(e)),o=r.start,i=r.end;return Object.assign({},t,{nestStart:o,nestEnd:i})}if(we.isValidElement(t.nest)){var s=Qa(t.nest),u=s.start,l=s.end;return Object.assign({},t,{nestStart:u,nestEnd:l})}return In(Object.prototype.hasOwnProperty.call(t,"nestStart")&&Object.prototype.hasOwnProperty.call(t,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t}var TR=["1","a","i"];const Xy={unstyled:we.createElement("p",null),paragraph:we.createElement("p",null),"header-one":we.createElement("h1",null),"header-two":we.createElement("h2",null),"header-three":we.createElement("h3",null),"header-four":we.createElement("h4",null),"header-five":we.createElement("h5",null),"header-six":we.createElement("h6",null),"code-block":we.createElement("pre",null),blockquote:we.createElement("blockquote",null),"unordered-list-item":{element:we.createElement("li",null),nest:we.createElement("ul",null)},"ordered-list-item":{element:we.createElement("li",null),nest:function(e){var r=TR[e%3];return we.createElement("ol",{type:r})}},media:we.createElement("figure",null),atomic:we.createElement("figure",null)};var IR=function(e,r){return r},tv=function(e){var r=e.styleToHTML,o=r===void 0?{}:r,i=e.blockToHTML,s=i===void 0?{}:i,u=e.entityToHTML,l=u===void 0?IR:u;return function(d){In(d!=null,"Expected contentState to be non-null");var m;s.__isMiddleware===!0?m=s(df(Xy)):m=r0(df(s),df(Xy));var w=rr.convertToRaw(d),k=[],y=w.blocks.map(function(T){var S=T.type,D=T.depth,x="",B="",N=m(T);if(!N)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(T.type));if(!N.nest)x=k.reduceRight(function(H,q){return H+za(m(q),D).nestEnd},""),k=[];else for(;D+1!==k.length||S!==k[D].type;)if(D+1===k.length){var $=k[D];x+=za(m($),D).nestEnd,B+=za(m(T),D).nestStart,k[D]=T}else if(D+1<k.length){var K=k[k.length-1];x+=za(m(K),D).nestEnd,k=k.slice(0,-1)}else B+=za(m(T),D).nestStart,k.push(T);var V=OR(_R(yR(T),w.entityMap,l),o),ct=xR(m(T)),it;return typeof ct=="string"?it=ct:it=ct.start+V+ct.end,V.length===0&&Object.prototype.hasOwnProperty.call(ct,"empty")&&(we.isValidElement(ct.empty)?it=jn.renderToStaticMarkup(ct.empty):it=ct.empty),x+B+it}).join("");return y=k.reduce(function(T,S){return T+za(m(S),S.depth).nestEnd},y),y}};const jR=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===1&&Object.prototype.hasOwnProperty.call(e[0],"_map")&&e[0].getBlockMap!=null?tv({}).apply(void 0,e):tv.apply(void 0,e)};var o0={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ko,function(){var r=Array.prototype.slice;function o(n,a){a&&(n.prototype=Object.create(a.prototype)),n.prototype.constructor=n}function i(n){return d(n)?n:Lt(n)}o(s,i);function s(n){return m(n)?n:Yt(n)}o(u,i);function u(n){return w(n)?n:Tt(n)}o(l,i);function l(n){return d(n)&&!k(n)?n:Gt(n)}function d(n){return!!(n&&n[T])}function m(n){return!!(n&&n[S])}function w(n){return!!(n&&n[D])}function k(n){return m(n)||w(n)}function y(n){return!!(n&&n[x])}i.isIterable=d,i.isKeyed=m,i.isIndexed=w,i.isAssociative=k,i.isOrdered=y,i.Keyed=s,i.Indexed=u,i.Set=l;
vendor: 63,580 bytes, lines 59-63
59var T="@@__IMMUTABLE_ITERABLE__@@",S="@@__IMMUTABLE_KEYED__@@",D="@@__IMMUTABLE_INDEXED__@@",x="@@__IMMUTABLE_ORDERED__@@",B="delete",N=5,$=1<<N,K=$-1,V={},ct={value:!1},it={value:!1};function H(n){return n.value=!1,n}function q(n){n&&(n.value=!0)}function Y(){}function tt(n,a){a=a||0;for(var c=Math.max(0,n.length-a),p=new Array(c),h=0;h<c;h++)p[h]=n[h+a];return p}function lt(n){return n.size===void 0&&(n.size=n.__iterate(pt)),n.size}function nt(n,a){if(typeof a!="number"){var c=a>>>0;if(""+c!==a||c===4294967295)return NaN;a=c}return a<0?lt(n)+a:a}function pt(){return!0}function St(n,a,c){return(n===0||c!==void 0&&n<=-c)&&(a===void 0||c!==void 0&&a>=c)}function dt(n,a){return zt(n,a,0)}function yt(n,a){return zt(n,a,a)}function zt(n,a,c){return n===void 0?c:n<0?Math.max(0,a+n):a===void 0?n:Math.min(a,n)}var Rt=0,at=1,mt=2,Ft=typeof Symbol=="function"&&Symbol.iterator,ye="@@iterator",se=Ft||ye;function gt(n){this.next=n}gt.prototype.toString=function(){return"[Iterator]"},gt.KEYS=Rt,gt.VALUES=at,gt.ENTRIES=mt,gt.prototype.inspect=gt.prototype.toSource=function(){return this.toString()},gt.prototype[se]=function(){return this};function ht(n,a,c,p){var h=n===0?a:n===1?c:[a,c];return p?p.value=h:p={value:h,done:!1},p}function Vt(){return{value:void 0,done:!0}}function Zt(n){return!!ue(n)}function le(n){return n&&typeof n.next=="function"}function Ct(n){var a=ue(n);return a&&a.call(n)}function ue(n){var a=n&&(Ft&&n[Ft]||n[ye]);if(typeof a=="function")return a}function xe(n){return n&&typeof n.length=="number"}o(Lt,i);function Lt(n){return n==null?kt():d(n)?n.toSeq():ge(n)}Lt.of=function(){return Lt(arguments)},Lt.prototype.toSeq=function(){return this},Lt.prototype.toString=function(){return this.__toString("Seq {","}")},Lt.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Lt.prototype.__iterate=function(n,a){return be(this,n,a,!0)},Lt.prototype.__iterator=function(n,a){return Ee(this,n,a,!0)},o(Yt,Lt);function Yt(n){return n==null?kt().toKeyedSeq():d(n)?m(n)?n.toSeq():n.fromEntrySeq():Xt(n)}Yt.prototype.toKeyedSeq=function(){return this},o(Tt,Lt);function Tt(n){return n==null?kt():d(n)?m(n)?n.entrySeq():n.toIndexedSeq():oe(n)}Tt.of=function(){return Tt(arguments)},Tt.prototype.toIndexedSeq=function(){return this},Tt.prototype.toString=function(){return this.__toString("Seq [","]")},Tt.prototype.__iterate=function(n,a){return be(this,n,a,!1)},Tt.prototype.__iterator=function(n,a){return Ee(this,n,a,!1)},o(Gt,Lt);function Gt(n){return(n==null?kt():d(n)?m(n)?n.entrySeq():n:oe(n)).toSetSeq()}Gt.of=function(){return Gt(arguments)},Gt.prototype.toSetSeq=function(){return this},Lt.isSeq=xt,Lt.Keyed=Yt,Lt.Set=Gt,Lt.Indexed=Tt;var J="@@__IMMUTABLE_SEQ__@@";Lt.prototype[J]=!0,o(W,Tt);function W(n){this._array=n,this.size=n.length}W.prototype.get=function(n,a){return this.has(n)?this._array[nt(this,n)]:a},W.prototype.__iterate=function(n,a){for(var c=this._array,p=c.length-1,h=0;h<=p;h++)if(n(c[a?p-h:h],h,this)===!1)return h+1;return h},W.prototype.__iterator=function(n,a){var c=this._array,p=c.length-1,h=0;return new gt(function(){return h>p?Vt():ht(n,h,c[a?p-h++:h++])})},o(et,Yt);function et(n){var a=Object.keys(n);this._object=n,this._keys=a,this.size=a.length}et.prototype.get=function(n,a){return a!==void 0&&!this.has(n)?a:this._object[n]},et.prototype.has=function(n){return this._object.hasOwnProperty(n)},et.prototype.__iterate=function(n,a){for(var c=this._object,p=this._keys,h=p.length-1,E=0;E<=h;E++){var C=p[a?h-E:E];if(n(c[C],C,this)===!1)return E+1}return E},et.prototype.__iterator=function(n,a){var c=this._object,p=this._keys,h=p.length-1,E=0;return new gt(function(){var C=p[a?h-E:E];return E++>h?Vt():ht(n,C,c[C])})},et.prototype[x]=!0,o(st,Tt);function st(n){this._iterable=n,this.size=n.length||n.size}st.prototype.__iterateUncached=function(n,a){if(a)return this.cacheResult().__iterate(n,a);var c=this._iterable,p=Ct(c),h=0;if(le(p))for(var E;!(E=p.next()).done&&n(E.value,h++,this)!==!1;);return h},st.prototype.__iteratorUncached=function(n,a){if(a)return this.cacheResult().__iterator(n,a);var c=this._iterable,p=Ct(c);if(!le(p))return new gt(Vt);var h=0;return new gt(function(){var E=p.next();return E.done?E:ht(n,h++,E.value)})},o(ot,Tt);function ot(n){this._iterator=n,this._iteratorCache=[]}ot.prototype.__iterateUncached=function(n,a){if(a)return this.cacheResult().__iterate(n,a);for(var c=this._iterator,p=this._iteratorCache,h=0;h<p.length;)if(n(p[h],h++,this)===!1)return h;for(var E;!(E=c.next()).done;){var C=E.value;if(p[h]=C,n(C,h++,this)===!1)break}return h},ot.prototype.__iteratorUncached=function(n,a){if(a)return this.cacheResult().__iterator(n,a);var c=this._iterator,p=this._iteratorCache,h=0;return new gt(function(){if(h>=p.length){var E=c.next();if(E.done)return E;p[h]=E.value}return ht(n,h,p[h++])})};function xt(n){return!!(n&&n[J])}var Ut;function kt(){return Ut||(Ut=new W([]))}function Xt(n){var a=Array.isArray(n)?new W(n).fromEntrySeq():le(n)?new ot(n).fromEntrySeq():Zt(n)?new st(n).fromEntrySeq():typeof n=="object"?new et(n):void 0;if(!a)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+n);return a}function oe(n){var a=ie(n);if(!a)throw new TypeError("Expected Array or iterable object of values: "+n);return a}function ge(n){var a=ie(n)||typeof n=="object"&&new et(n);if(!a)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+n);return a}function ie(n){return xe(n)?new W(n):le(n)?new ot(n):Zt(n)?new st(n):void 0}function be(n,a,c,p){var h=n._cache;if(h){for(var E=h.length-1,C=0;C<=E;C++){var I=h[c?E-C:C];if(a(I[1],p?I[0]:C,n)===!1)return C+1}return C}return n.__iterateUncached(a,c)}function Ee(n,a,c,p){var h=n._cache;if(h){var E=h.length-1,C=0;return new gt(function(){var I=h[c?E-C:C];return C++>E?Vt():ht(a,p?I[0]:C-1,I[1])})}return n.__iteratorUncached(a,c)}function It(n,a){return a?Ot(a,n,"",{"":n}):Mt(n)}function Ot(n,a,c,p){return Array.isArray(a)?n.call(p,c,Tt(a).map(function(h,E){return Ot(n,h,E,a)})):ee(a)?n.call(p,c,Yt(a).map(function(h,E){return Ot(n,h,E,a)})):a}function Mt(n){return Array.isArray(n)?Tt(n).map(Mt).toList():ee(n)?Yt(n).map(Mt).toMap():n}function ee(n){return n&&(n.constructor===Object||n.constructor===void 0)}function jt(n,a){if(n===a||n!==n&&a!==a)return!0;if(!n||!a)return!1;if(typeof n.valueOf=="function"&&typeof a.valueOf=="function"){if(n=n.valueOf(),a=a.valueOf(),n===a||n!==n&&a!==a)return!0;if(!n||!a)return!1}return!!(typeof n.equals=="function"&&typeof a.equals=="function"&&n.equals(a))}function je(n,a){if(n===a)return!0;if(!d(a)||n.size!==void 0&&a.size!==void 0&&n.size!==a.size||n.__hash!==void 0&&a.__hash!==void 0&&n.__hash!==a.__hash||m(n)!==m(a)||w(n)!==w(a)||y(n)!==y(a))return!1;if(n.size===0&&a.size===0)return!0;var c=!k(n);if(y(n)){var p=n.entries();return a.every(function(z,P){var F=p.next().value;return F&&jt(F[1],z)&&(c||jt(F[0],P))})&&p.next().done}var h=!1;if(n.size===void 0)if(a.size===void 0)typeof n.cacheResult=="function"&&n.cacheResult();else{h=!0;var E=n;n=a,a=E}var C=!0,I=a.__iterate(function(z,P){if(c?!n.has(z):h?!jt(z,n.get(P,V)):!jt(n.get(P,V),z))return C=!1,!1});return C&&n.size===I}o(wt,Tt);function wt(n,a){if(!(this instanceof wt))return new wt(n,a);if(this._value=n,this.size=a===void 0?1/0:Math.max(0,a),this.size===0){if(Nt)return Nt;Nt=this}}wt.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},wt.prototype.get=function(n,a){return this.has(n)?this._value:a},wt.prototype.includes=function(n){return jt(this._value,n)},wt.prototype.slice=function(n,a){var c=this.size;return St(n,a,c)?this:new wt(this._value,yt(a,c)-dt(n,c))},wt.prototype.reverse=function(){return this},wt.prototype.indexOf=function(n){return jt(this._value,n)?0:-1},wt.prototype.lastIndexOf=function(n){return jt(this._value,n)?this.size:-1},wt.prototype.__iterate=function(n,a){for(var c=0;c<this.size;c++)if(n(this._value,c,this)===!1)return c+1;return c},wt.prototype.__iterator=function(n,a){var c=this,p=0;return new gt(function(){return p<c.size?ht(n,p++,c._value):Vt()})},wt.prototype.equals=function(n){return n instanceof wt?jt(this._value,n._value):je(n)};var Nt;function ze(n,a){if(!n)throw new Error(a)}o(re,Tt);function re(n,a,c){if(!(this instanceof re))return new re(n,a,c);if(ze(c!==0,"Cannot step a Range by 0"),n=n||0,a===void 0&&(a=1/0),c=c===void 0?1:Math.abs(c),a<n&&(c=-c),this._start=n,this._end=a,this._step=c,this.size=Math.max(0,Math.ceil((a-n)/c-1)+1),this.size===0){if(Cr)return Cr;Cr=this}}re.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step!==1?" by "+this._step:"")+" ]"},re.prototype.get=function(n,a){return this.has(n)?this._start+nt(this,n)*this._step:a},re.prototype.includes=function(n){var a=(n-this._start)/this._step;return a>=0&&a<this.size&&a===Math.floor(a)},re.prototype.slice=function(n,a){return St(n,a,this.size)?this:(n=dt(n,this.size),a=yt(a,this.size),a<=n?new re(0,0):new re(this.get(n,this._end),this.get(a,this._end),this._step))},re.prototype.indexOf=function(n){var a=n-this._start;if(a%this._step===0){var c=a/this._step;if(c>=0&&c<this.size)return c}return-1},re.prototype.lastIndexOf=function(n){return this.indexOf(n)},re.prototype.__iterate=function(n,a){for(var c=this.size-1,p=this._step,h=a?this._start+c*p:this._start,E=0;E<=c;E++){if(n(h,E,this)===!1)return E+1;h+=a?-p:p}return E},re.prototype.__iterator=function(n,a){var c=this.size-1,p=this._step,h=a?this._start+c*p:this._start,E=0;return new gt(function(){var C=h;return h+=a?-p:p,E>c?Vt():ht(n,E++,C)})},re.prototype.equals=function(n){return n instanceof re?this._start===n._start&&this._end===n._end&&this._step===n._step:je(this,n)};var Cr;o(Xe,i);function Xe(){throw TypeError("Abstract")}o(Rr,Xe);function Rr(){}o(kr,Xe);function kr(){}o(qr,Xe);function qr(){}Xe.Keyed=Rr,Xe.Indexed=kr,Xe.Set=qr;var Br=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(a,c){a=a|0,c=c|0;var p=a&65535,h=c&65535;return p*h+((a>>>16)*h+p*(c>>>16)<<16>>>0)|0};function ro(n){return n>>>1&1073741824|n&3221225471}function De(n){if(n===!1||n===null||n===void 0||typeof n.valueOf=="function"&&(n=n.valueOf(),n===!1||n===null||n===void 0))return 0;if(n===!0)return 1;var a=typeof n;if(a==="number"){if(n!==n||n===1/0)return 0;var c=n|0;for(c!==n&&(c^=n*4294967295);n>4294967295;)n/=4294967295,c^=n;return ro(c)}if(a==="string")return n.length>ga?as(n):Ln(n);if(typeof n.hashCode=="function")return n.hashCode();if(a==="object")return ss(n);if(typeof n.toString=="function")return Ln(n.toString());throw new Error("Value type "+a+" cannot be hashed.")}function as(n){var a=An[n];return a===void 0&&(a=Ln(n),ao===ya&&(ao=0,An={}),ao++,An[n]=a),a}function Ln(n){for(var a=0,c=0;c<n.length;c++)a=31*a+n.charCodeAt(c)|0;return ro(a)}function ss(n){var a;if(oo&&(a=Nn.get(n),a!==void 0)||(a=n[ir],a!==void 0)||!jo&&(a=n.propertyIsEnumerable&&n.propertyIsEnumerable[ir],a!==void 0||(a=ha(n),a!==void 0)))return a;if(a=++io,io&1073741824&&(io=0),oo)Nn.set(n,a);else{if(no!==void 0&&no(n)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(jo)Object.defineProperty(n,ir,{enumerable:!1,configurable:!1,writable:!1,value:a});else if(n.propertyIsEnumerable!==void 0&&n.propertyIsEnumerable===n.constructor.prototype.propertyIsEnumerable)n.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},n.propertyIsEnumerable[ir]=a;else if(n.nodeType!==void 0)n[ir]=a;else throw new Error("Unable to set a non-enumerable property on object.")}return a}var no=Object.isExtensible,jo=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();function ha(n){if(n&&n.nodeType>0)switch(n.nodeType){case 1:return n.uniqueID;case 9:return n.documentElement&&n.documentElement.uniqueID}}var oo=typeof WeakMap=="function",Nn;oo&&(Nn=new WeakMap);var io=0,ir="__immutablehash__";typeof Symbol=="function"&&(ir=Symbol(ir));var ga=16,ya=255,ao=0,An={};function Te(n){ze(n!==1/0,"Cannot perform this action with an infinite size.")}o(bt,Rr);function bt(n){return n==null?Re():zn(n)&&!y(n)?n:Re().withMutations(function(a){var c=s(n);Te(c.size),c.forEach(function(p,h){return a.set(h,p)})})}bt.of=function(){var n=r.call(arguments,0);return Re().withMutations(function(a){for(var c=0;c<n.length;c+=2){if(c+1>=n.length)throw new Error("Missing value for key: "+n[c]);a.set(n[c],n[c+1])}})},bt.prototype.toString=function(){return this.__toString("Map {","}")},bt.prototype.get=function(n,a){return this._root?this._root.get(0,void 0,n,a):a},bt.prototype.set=function(n,a){return No(this,n,a)},bt.prototype.setIn=function(n,a){return this.updateIn(n,V,function(){return a})},bt.prototype.remove=function(n){return No(this,n,V)},bt.prototype.deleteIn=function(n){return this.updateIn(n,function(){return V})},bt.prototype.update=function(n,a,c){return arguments.length===1?n(this):this.updateIn([n],a,c)},bt.prototype.updateIn=function(n,a,c){c||(c=a,a=void 0);var p=Ro(this,Pi(n),a,c);return p===V?void 0:p},bt.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Re()},bt.prototype.merge=function(){return Sn(this,void 0,arguments)},bt.prototype.mergeWith=function(n){var a=r.call(arguments,1);return Sn(this,n,a)},bt.prototype.mergeIn=function(n){var a=r.call(arguments,1);return this.updateIn(n,Re(),function(c){return typeof c.merge=="function"?c.merge.apply(c,a):a[a.length-1]})},bt.prototype.mergeDeep=function(){return Sn(this,zo,arguments)},bt.prototype.mergeDeepWith=function(n){var a=r.call(arguments,1);return Sn(this,ki(n),a)},bt.prototype.mergeDeepIn=function(n){var a=r.call(arguments,1);return this.updateIn(n,Re(),function(c){return typeof c.mergeDeep=="function"?c.mergeDeep.apply(c,a):a[a.length-1]})},bt.prototype.sort=function(n){return te(xr(this,n))},bt.prototype.sortBy=function(n,a){return te(xr(this,a,n))},bt.prototype.withMutations=function(n){var a=this.asMutable();return n(a),a.wasAltered()?a.__ensureOwner(this.__ownerID):this},bt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new Y)},bt.prototype.asImmutable=function(){return this.__ensureOwner()},bt.prototype.wasAltered=function(){return this.__altered},bt.prototype.__iterator=function(n,a){return new Rn(this,n,a)},bt.prototype.__iterate=function(n,a){var c=this,p=0;return this._root&&this._root.iterate(function(h){return p++,n(h[1],h[0],c)},a),p},bt.prototype.__ensureOwner=function(n){return n===this.__ownerID?this:n?uo(this.size,this._root,n,this.__hash):(this.__ownerID=n,this.__altered=!1,this)};function zn(n){return!!(n&&n[Mi])}bt.isMap=zn;var Mi="@@__IMMUTABLE_MAP__@@",_t=bt.prototype;_t[Mi]=!0,_t[B]=_t.remove,_t.removeIn=_t.deleteIn;function Yr(n,a){this.ownerID=n,this.entries=a}Yr.prototype.get=function(n,a,c,p){for(var h=this.entries,E=0,C=h.length;E<C;E++)if(jt(c,h[E][0]))return h[E][1];return p},Yr.prototype.update=function(n,a,c,p,h,E,C){for(var I=h===V,z=this.entries,P=0,F=z.length;P<F&&!jt(p,z[P][0]);P++);var Z=P<F;if(Z?z[P][1]===h:I)return this;if(q(C),(I||!Z)&&q(E),!(I&&z.length===1)){if(!Z&&!I&&z.length>=Di)return Ci(n,z,p,h);var G=n&&n===this.ownerID,ft=G?z:tt(z);return Z?I?P===F-1?ft.pop():ft[P]=ft.pop():ft[P]=[p,h]:ft.push([p,h]),G?(this.entries=ft,this):new Yr(n,ft)}};function mr(n,a,c){this.ownerID=n,this.bitmap=a,this.nodes=c}mr.prototype.get=function(n,a,c,p){a===void 0&&(a=De(c));var h=1<<((n===0?a:a>>>n)&K),E=this.bitmap;return E&h?this.nodes[Bo(E&h-1)].get(n+N,a,c,p):p},mr.prototype.update=function(n,a,c,p,h,E,C){c===void 0&&(c=De(p));var I=(a===0?c:c>>>a)&K,z=1<<I,P=this.bitmap,F=(P&z)!==0;if(!F&&h===V)return this;var Z=Bo(P&z-1),G=this.nodes,ft=F?G[Z]:void 0,vt=lo(ft,n,a+N,c,p,h,E,C);if(vt===ft)return this;if(!F&&vt&&G.length>=Sa)return ma(n,G,P,I,vt);if(F&&!vt&&G.length===2&&Ao(G[Z^1]))return G[Z^1];if(F&&vt&&G.length===1&&Ao(vt))return vt;var Qt=n&&n===this.ownerID,Be=F?vt?P:P^z:P|z,Ze=F?vt?Oi(G,Z,vt,Qt):us(G,Z,Qt):_a(G,Z,vt,Qt);return Qt?(this.bitmap=Be,this.nodes=Ze,this):new mr(n,Be,Ze)};function Wr(n,a,c){this.ownerID=n,this.count=a,this.nodes=c}Wr.prototype.get=function(n,a,c,p){a===void 0&&(a=De(c));var h=(n===0?a:a>>>n)&K,E=this.nodes[h];return E?E.get(n+N,a,c,p):p},Wr.prototype.update=function(n,a,c,p,h,E,C){c===void 0&&(c=De(p));var I=(a===0?c:c>>>a)&K,z=h===V,P=this.nodes,F=P[I];if(z&&!F)return this;var Z=lo(F,n,a+N,c,p,h,E,C);if(Z===F)return this;var G=this.count;if(!F)G++;else if(!Z&&(G--,G<wa))return va(n,P,G,I);var ft=n&&n===this.ownerID,vt=Oi(P,I,Z,ft);return ft?(this.count=G,this.nodes=vt,this):new Wr(n,G,vt)};function cr(n,a,c){this.ownerID=n,this.keyHash=a,this.entries=c}cr.prototype.get=function(n,a,c,p){for(var h=this.entries,E=0,C=h.length;E<C;E++)if(jt(c,h[E][0]))return h[E][1];return p},cr.prototype.update=function(n,a,c,p,h,E,C){c===void 0&&(c=De(p));var I=h===V;if(c!==this.keyHash)return I?this:(q(C),q(E),fo(this,n,a,c,[p,h]));for(var z=this.entries,P=0,F=z.length;P<F&&!jt(p,z[P][0]);P++);var Z=P<F;if(Z?z[P][1]===h:I)return this;if(q(C),(I||!Z)&&q(E),I&&F===2)return new Je(n,this.keyHash,z[P^1]);var G=n&&n===this.ownerID,ft=G?z:tt(z);return Z?I?P===F-1?ft.pop():ft[P]=ft.pop():ft[P]=[p,h]:ft.push([p,h]),G?(this.entries=ft,this):new cr(n,this.keyHash,ft)};function Je(n,a,c){this.ownerID=n,this.keyHash=a,this.entry=c}Je.prototype.get=function(n,a,c,p){return jt(c,this.entry[0])?this.entry[1]:p},Je.prototype.update=function(n,a,c,p,h,E,C){var I=h===V,z=jt(p,this.entry[0]);if(z?h===this.entry[1]:I)return this;if(q(C),I){q(E);return}return z?n&&n===this.ownerID?(this.entry[1]=h,this):new Je(n,this.keyHash,[p,h]):(q(E),fo(this,n,a,De(p),[p,h]))},Yr.prototype.iterate=cr.prototype.iterate=function(n,a){for(var c=this.entries,p=0,h=c.length-1;p<=h;p++)if(n(c[a?h-p:p])===!1)return!1},mr.prototype.iterate=Wr.prototype.iterate=function(n,a){for(var c=this.nodes,p=0,h=c.length-1;p<=h;p++){var E=c[a?h-p:p];if(E&&E.iterate(n,a)===!1)return!1}},Je.prototype.iterate=function(n,a){return n(this.entry)},o(Rn,gt);function Rn(n,a,c){this._type=a,this._reverse=c,this._stack=n._root&&Lo(n._root)}Rn.prototype.next=function(){for(var n=this._type,a=this._stack;a;){var c=a.node,p=a.index++,h;if(c.entry){if(p===0)return so(n,c.entry)}else if(c.entries){if(h=c.entries.length-1,p<=h)return so(n,c.entries[this._reverse?h-p:p])}else if(h=c.nodes.length-1,p<=h){var E=c.nodes[this._reverse?h-p:p];if(E){if(E.entry)return so(n,E.entry);a=this._stack=Lo(E,a)}continue}a=this._stack=this._stack.__prev}return Vt()};function so(n,a){return ht(n,a[0],a[1])}function Lo(n,a){return{node:n,index:0,__prev:a}}function uo(n,a,c,p){var h=Object.create(_t);return h.size=n,h._root=a,h.__ownerID=c,h.__hash=p,h.__altered=!1,h}var co;function Re(){return co||(co=uo(0))}function No(n,a,c){var p,h;if(n._root){var E=H(ct),C=H(it);if(p=lo(n._root,n.__ownerID,0,void 0,a,c,E,C),!C.value)return n;h=n.size+(E.value?c===V?-1:1:0)}else{if(c===V)return n;h=1,p=new Yr(n.__ownerID,[[a,c]])}return n.__ownerID?(n.size=h,n._root=p,n.__hash=void 0,n.__altered=!0,n):p?uo(h,p):Re()}function lo(n,a,c,p,h,E,C,I){return n?n.update(a,c,p,h,E,C,I):E===V?n:(q(I),q(C),new Je(a,p,[h,E]))}function Ao(n){return n.constructor===Je||n.constructor===cr}function fo(n,a,c,p,h){if(n.keyHash===p)return new cr(a,p,[n.entry,h]);var E=(c===0?n.keyHash:n.keyHash>>>c)&K,C=(c===0?p:p>>>c)&K,I,z=E===C?[fo(n,a,c+N,p,h)]:(I=new Je(a,p,h),E<C?[n,I]:[I,n]);return new mr(a,1<<E|1<<C,z)}function Ci(n,a,c,p){n||(n=new Y);for(var h=new Je(n,De(c),[c,p]),E=0;E<a.length;E++){var C=a[E];h=h.update(n,0,void 0,C[0],C[1])}return h}function va(n,a,c,p){for(var h=0,E=0,C=new Array(c),I=0,z=1,P=a.length;I<P;I++,z<<=1){var F=a[I];F!==void 0&&I!==p&&(h|=z,C[E++]=F)}return new mr(n,h,C)}function ma(n,a,c,p,h){for(var E=0,C=new Array($),I=0;c!==0;I++,c>>>=1)C[I]=c&1?a[E++]:void 0;return C[p]=h,new Wr(n,E+1,C)}function Sn(n,a,c){for(var p=[],h=0;h<c.length;h++){var E=c[h],C=s(E);d(E)||(C=C.map(function(I){return It(I)})),p.push(C)}return po(n,a,p)}function zo(n,a,c){return n&&n.mergeDeep&&d(a)?n.mergeDeep(a):jt(n,a)?n:a}function ki(n){return function(a,c,p){if(a&&a.mergeDeepWith&&d(c))return a.mergeDeepWith(n,c);var h=n(a,c,p);return jt(a,h)?a:h}}function po(n,a,c){return c=c.filter(function(p){return p.size!==0}),c.length===0?n:n.size===0&&!n.__ownerID&&c.length===1?n.constructor(c[0]):n.withMutations(function(p){for(var h=a?function(C,I){p.update(I,V,function(z){return z===V?C:a(z,C,I)})}:function(C,I){p.set(I,C)},E=0;E<c.length;E++)c[E].forEach(h)})}function Ro(n,a,c,p){var h=n===V,E=a.next();if(E.done){var C=h?c:n,I=p(C);return I===C?n:I}ze(h||n&&n.set,"invalid keyPath");var z=E.value,P=h?V:n.get(z,V),F=Ro(P,a,c,p);return F===P?n:F===V?n.remove(z):(h?Re():n).set(z,F)}function Bo(n){return n=n-(n>>1&1431655765),n=(n&858993459)+(n>>2&858993459),n=n+(n>>4)&252645135,n=n+(n>>8),n=n+(n>>16),n&127}function Oi(n,a,c,p){var h=p?n:tt(n);return h[a]=c,h}function _a(n,a,c,p){var h=n.length+1;if(p&&a+1===h)return n[a]=c,n;for(var E=new Array(h),C=0,I=0;I<h;I++)I===a?(E[I]=c,C=-1):E[I]=n[I+C];return E}function us(n,a,c){var p=n.length-1;if(c&&a===p)return n.pop(),n;for(var h=new Array(p),E=0,C=0;C<p;C++)C===a&&(E=1),h[C]=n[C+E];return h}var Di=$/4,Sa=$/2,wa=$/4;o(qt,kr);function qt(n){var a=ho();if(n==null)return a;if(Po(n))return n;var c=u(n),p=c.size;return p===0?a:(Te(p),p>0&&p<$?Vr(0,p,N,null,new tr(c.toArray())):a.withMutations(function(h){h.setSize(p),c.forEach(function(E,C){return h.set(C,E)})}))}qt.of=function(){return this(arguments)},qt.prototype.toString=function(){return this.__toString("List [","]")},qt.prototype.get=function(n,a){if(n=nt(this,n),n>=0&&n<this.size){n+=this._origin;var c=Ii(this,n);return c&&c.array[n&K]}return a},qt.prototype.set=function(n,a){return Ti(this,n,a)},qt.prototype.remove=function(n){return this.has(n)?n===0?this.shift():n===this.size-1?this.pop():this.splice(n,1):this},qt.prototype.insert=function(n,a){return this.splice(n,0,a)},qt.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=N,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):ho()},qt.prototype.push=function(){var n=arguments,a=this.size;return this.withMutations(function(c){ar(c,0,a+n.length);for(var p=0;p<n.length;p++)c.set(a+p,n[p])})},qt.prototype.pop=function(){return ar(this,0,-1)},qt.prototype.unshift=function(){var n=arguments;return this.withMutations(function(a){ar(a,-n.length);for(var c=0;c<n.length;c++)a.set(c,n[c])})},qt.prototype.shift=function(){return ar(this,1)},qt.prototype.merge=function(){return cn(this,void 0,arguments)},qt.prototype.mergeWith=function(n){var a=r.call(arguments,1);return cn(this,n,a)},qt.prototype.mergeDeep=function(){return cn(this,zo,arguments)},qt.prototype.mergeDeepWith=function(n){var a=r.call(arguments,1);return cn(this,ki(n),a)},qt.prototype.setSize=function(n){return ar(this,0,n)},qt.prototype.slice=function(n,a){var c=this.size;return St(n,a,c)?this:ar(this,dt(n,c),yt(a,c))},qt.prototype.__iterator=function(n,a){var c=0,p=Fo(this,a);return new gt(function(){var h=p();return h===Qr?Vt():ht(n,c++,h)})},qt.prototype.__iterate=function(n,a){for(var c=0,p=Fo(this,a),h;(h=p())!==Qr&&n(h,c++,this)!==!1;);return c},qt.prototype.__ensureOwner=function(n){return n===this.__ownerID?this:n?Vr(this._origin,this._capacity,this._level,this._root,this._tail,n,this.__hash):(this.__ownerID=n,this)};function Po(n){return!!(n&&n[xi])}qt.isList=Po;var xi="@@__IMMUTABLE_LIST__@@",ve=qt.prototype;ve[xi]=!0,ve[B]=ve.remove,ve.setIn=_t.setIn,ve.deleteIn=ve.removeIn=_t.removeIn,ve.update=_t.update,ve.updateIn=_t.updateIn,ve.mergeIn=_t.mergeIn,ve.mergeDeepIn=_t.mergeDeepIn,ve.withMutations=_t.withMutations,ve.asMutable=_t.asMutable,ve.asImmutable=_t.asImmutable,ve.wasAltered=_t.wasAltered;function tr(n,a){this.array=n,this.ownerID=a}tr.prototype.removeBefore=function(n,a,c){if(c===a?1<<a:this.array.length===0)return this;var p=c>>>a&K;if(p>=this.array.length)return new tr([],n);var h=p===0,E;if(a>0){var C=this.array[p];if(E=C&&C.removeBefore(n,a-N,c),E===C&&h)return this}if(h&&!E)return this;var I=Or(this,n);if(!h)for(var z=0;z<p;z++)I.array[z]=void 0;return E&&(I.array[p]=E),I},tr.prototype.removeAfter=function(n,a,c){if(c===(a?1<<a:0)||this.array.length===0)return this;var p=c-1>>>a&K;if(p>=this.array.length)return this;var h;if(a>0){var E=this.array[p];if(h=E&&E.removeAfter(n,a-N,c),h===E&&p===this.array.length-1)return this}var C=Or(this,n);return C.array.splice(p+1),h&&(C.array[p]=h),C};var Qr={};function Fo(n,a){var c=n._origin,p=n._capacity,h=Zr(p),E=n._tail;return C(n._root,n._level,0);function C(P,F,Z){return F===0?I(P,Z):z(P,F,Z)}function I(P,F){var Z=F===h?E&&E.array:P&&P.array,G=F>c?0:c-F,ft=p-F;return ft>$&&(ft=$),function(){if(G===ft)return Qr;var vt=a?--ft:G++;return Z&&Z[vt]}}function z(P,F,Z){var G,ft=P&&P.array,vt=Z>c?0:c-Z>>F,Qt=(p-Z>>F)+1;return Qt>$&&(Qt=$),function(){do{if(G){var Be=G();if(Be!==Qr)return Be;G=null}if(vt===Qt)return Qr;var Ze=a?--Qt:vt++;G=C(ft&&ft[Ze],F-N,Z+(Ze<<F))}while(!0)}}}function Vr(n,a,c,p,h,E,C){var I=Object.create(ve);return I.size=a-n,I._origin=n,I._capacity=a,I._level=c,I._root=p,I._tail=h,I.__ownerID=E,I.__hash=C,I.__altered=!1,I}var $o;function ho(){return $o||($o=Vr(0,0,N))}function Ti(n,a,c){if(a=nt(n,a),a!==a)return n;if(a>=n.size||a<0)return n.withMutations(function(C){a<0?ar(C,a).set(0,c):ar(C,0,a+1).set(a,c)});a+=n._origin;var p=n._tail,h=n._root,E=H(it);return a>=Zr(n._capacity)?p=Bn(p,n.__ownerID,0,a,c,E):h=Bn(h,n.__ownerID,n._level,a,c,E),E.value?n.__ownerID?(n._root=h,n._tail=p,n.__hash=void 0,n.__altered=!0,n):Vr(n._origin,n._capacity,n._level,h,p):n}function Bn(n,a,c,p,h,E){var C=p>>>c&K,I=n&&C<n.array.length;if(!I&&h===void 0)return n;var z;if(c>0){var P=n&&n.array[C],F=Bn(P,a,c-N,p,h,E);return F===P?n:(z=Or(n,a),z.array[C]=F,z)}return I&&n.array[C]===h?n:(q(E),z=Or(n,a),h===void 0&&C===z.array.length-1?z.array.pop():z.array[C]=h,z)}function Or(n,a){return a&&n&&a===n.ownerID?n:new tr(n?n.array.slice():[],a)}function Ii(n,a){if(a>=Zr(n._capacity))return n._tail;if(a<1<<n._level+N){for(var c=n._root,p=n._level;c&&p>0;)c=c.array[a>>>p&K],p-=N;return c}}function ar(n,a,c){a!==void 0&&(a=a|0),c!==void 0&&(c=c|0);var p=n.__ownerID||new Y,h=n._origin,E=n._capacity,C=h+a,I=c===void 0?E:c<0?E+c:h+c;if(C===h&&I===E)return n;if(C>=I)return n.clear();for(var z=n._level,P=n._root,F=0;C+F<0;)P=new tr(P&&P.array.length?[void 0,P]:[],p),z+=N,F+=1<<z;F&&(C+=F,h+=F,I+=F,E+=F);for(var Z=Zr(E),G=Zr(I);G>=1<<z+N;)P=new tr(P&&P.array.length?[P]:[],p),z+=N;var ft=n._tail,vt=G<Z?Ii(n,I-1):G>Z?new tr([],p):ft;if(ft&&G>Z&&C<E&&ft.array.length){P=Or(P,p);for(var Qt=P,Be=z;Be>N;Be-=N){var Ze=Z>>>Be&K;Qt=Qt.array[Ze]=Or(Qt.array[Ze],p)}Qt.array[Z>>>N&K]=ft}if(I<E&&(vt=vt&&vt.removeAfter(p,0,I)),C>=G)C-=G,I-=G,z=N,P=null,vt=vt&&vt.removeBefore(p,0,C);else if(C>h||G<Z){for(F=0;P;){var On=C>>>z&K;if(On!==G>>>z&K)break;On&&(F+=(1<<z)*On),z-=N,P=P.array[On]}P&&C>h&&(P=P.removeBefore(p,z,C-F)),P&&G<Z&&(P=P.removeAfter(p,z,G-F)),F&&(C-=F,I-=F)}return n.__ownerID?(n.size=I-C,n._origin=C,n._capacity=I,n._level=z,n._root=P,n._tail=vt,n.__hash=void 0,n.__altered=!0,n):Vr(C,I,z,P,vt)}function cn(n,a,c){for(var p=[],h=0,E=0;E<c.length;E++){var C=c[E],I=u(C);I.size>h&&(h=I.size),d(C)||(I=I.map(function(z){return It(z)})),p.push(I)}return h>n.size&&(n=n.setSize(h)),po(n,a,p)}function Zr(n){return n<$?0:n-1>>>N<<N}o(te,bt);function te(n){return n==null?bn():ji(n)?n:bn().withMutations(function(a){var c=s(n);Te(c.size),c.forEach(function(p,h){return a.set(h,p)})})}te.of=function(){return this(arguments)},te.prototype.toString=function(){return this.__toString("OrderedMap {","}")},te.prototype.get=function(n,a){var c=this._map.get(n);return c!==void 0?this._list.get(c)[1]:a},te.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):bn()},te.prototype.set=function(n,a){return Ko(this,n,a)},te.prototype.remove=function(n){return Ko(this,n,V)},te.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},te.prototype.__iterate=function(n,a){var c=this;return this._list.__iterate(function(p){return p&&n(p[1],p[0],c)},a)},te.prototype.__iterator=function(n,a){return this._list.fromEntrySeq().__iterator(n,a)},te.prototype.__ensureOwner=function(n){if(n===this.__ownerID)return this;var a=this._map.__ensureOwner(n),c=this._list.__ensureOwner(n);return n?wn(a,c,n,this.__hash):(this.__ownerID=n,this._map=a,this._list=c,this)};function ji(n){return zn(n)&&y(n)}te.isOrderedMap=ji,te.prototype[x]=!0,te.prototype[B]=te.prototype.remove;function wn(n,a,c,p){var h=Object.create(te.prototype);return h.size=n?n.size:0,h._map=n,h._list=a,h.__ownerID=c,h.__hash=p,h}var Uo;function bn(){return Uo||(Uo=wn(Re(),ho()))}function Ko(n,a,c){var p=n._map,h=n._list,E=p.get(a),C=E!==void 0,I,z;if(c===V){if(!C)return n;h.size>=$&&h.size>=p.size*2?(z=h.filter(function(P,F){return P!==void 0&&E!==F}),I=z.toKeyedSeq().map(function(P){return P[0]}).flip().toMap(),n.__ownerID&&(I.__ownerID=z.__ownerID=n.__ownerID)):(I=p.remove(a),z=E===h.size-1?h.pop():h.set(E,void 0))}else if(C){if(c===h.get(E)[1])return n;I=p,z=h.set(E,[a,c])}else I=p.set(a,h.size),z=h.set(h.size,[a,c]);return n.__ownerID?(n.size=I.size,n._map=I,n._list=z,n.__hash=void 0,n):wn(I,z)}o(Le,Yt);function Le(n,a){this._iter=n,this._useKeys=a,this.size=n.size}Le.prototype.get=function(n,a){return this._iter.get(n,a)},Le.prototype.has=function(n){return this._iter.has(n)},Le.prototype.valueSeq=function(){return this._iter.valueSeq()},Le.prototype.reverse=function(){var n=this,a=go(this,!0);return this._useKeys||(a.valueSeq=function(){return n._iter.toSeq().reverse()}),a},Le.prototype.map=function(n,a){var c=this,p=qo(this,n,a);return this._useKeys||(p.valueSeq=function(){return c._iter.toSeq().map(n,a)}),p},Le.prototype.__iterate=function(n,a){var c=this,p;return this._iter.__iterate(this._useKeys?function(h,E){return n(h,E,c)}:(p=a?Yo(this):0,function(h){return n(h,a?--p:p++,c)}),a)},Le.prototype.__iterator=function(n,a){if(this._useKeys)return this._iter.__iterator(n,a);var c=this._iter.__iterator(at,a),p=a?Yo(this):0;return new gt(function(){var h=c.next();return h.done?h:ht(n,a?--p:p++,h.value,h)})},Le.prototype[x]=!0,o(_r,Tt);function _r(n){this._iter=n,this.size=n.size}_r.prototype.includes=function(n){return this._iter.includes(n)},_r.prototype.__iterate=function(n,a){var c=this,p=0;return this._iter.__iterate(function(h){return n(h,p++,c)},a)},_r.prototype.__iterator=function(n,a){var c=this._iter.__iterator(at,a),p=0;return new gt(function(){var h=c.next();return h.done?h:ht(n,p++,h.value,h)})},o(Dr,Gt);function Dr(n){this._iter=n,this.size=n.size}Dr.prototype.has=function(n){return this._iter.includes(n)},Dr.prototype.__iterate=function(n,a){var c=this;return this._iter.__iterate(function(p){return n(p,p,c)},a)},Dr.prototype.__iterator=function(n,a){var c=this._iter.__iterator(at,a);return new gt(function(){var p=c.next();return p.done?p:ht(n,p.value,p.value,p)})},o(lr,Yt);function lr(n){this._iter=n,this.size=n.size}lr.prototype.entrySeq=function(){return this._iter.toSeq()},lr.prototype.__iterate=function(n,a){var c=this;return this._iter.__iterate(function(p){if(p){vo(p);var h=d(p);return n(h?p.get(1):p[1],h?p.get(0):p[0],c)}},a)},lr.prototype.__iterator=function(n,a){var c=this._iter.__iterator(at,a);return new gt(function(){for(;;){var p=c.next();if(p.done)return p;var h=p.value;if(h){vo(h);var E=d(h);return ht(n,E?h.get(0):h[0],E?h.get(1):h[1],p)}}})},_r.prototype.cacheResult=Le.prototype.cacheResult=Dr.prototype.cacheResult=lr.prototype.cacheResult=mo;function Ho(n){var a=Ve(n);return a._iter=n,a.size=n.size,a.flip=function(){return n},a.reverse=function(){var c=n.reverse.apply(this);return c.flip=function(){return n.reverse()},c},a.has=function(c){return n.includes(c)},a.includes=function(c){return n.has(c)},a.cacheResult=mo,a.__iterateUncached=function(c,p){var h=this;return n.__iterate(function(E,C){return c(C,E,h)!==!1},p)},a.__iteratorUncached=function(c,p){if(c===mt){var h=n.__iterator(c,p);return new gt(function(){var E=h.next();if(!E.done){var C=E.value[0];E.value[0]=E.value[1],E.value[1]=C}return E})}return n.__iterator(c===at?Rt:at,p)},a}function qo(n,a,c){var p=Ve(n);return p.size=n.size,p.has=function(h){return n.has(h)},p.get=function(h,E){var C=n.get(h,V);return C===V?E:a.call(c,C,h,n)},p.__iterateUncached=function(h,E){var C=this;return n.__iterate(function(I,z,P){return h(a.call(c,I,z,P),z,C)!==!1},E)},p.__iteratorUncached=function(h,E){var C=n.__iterator(mt,E);return new gt(function(){var I=C.next();if(I.done)return I;var z=I.value,P=z[0];return ht(h,P,a.call(c,z[1],P,n),I)})},p}function go(n,a){var c=Ve(n);return c._iter=n,c.size=n.size,c.reverse=function(){return n},n.flip&&(c.flip=function(){var p=Ho(n);return p.reverse=function(){return n.flip()},p}),c.get=function(p,h){return n.get(a?p:-1-p,h)},c.has=function(p){return n.has(a?p:-1-p)},c.includes=function(p){return n.includes(p)},c.cacheResult=mo,c.__iterate=function(p,h){var E=this;return n.__iterate(function(C,I){return p(C,I,E)},!h)},c.__iterator=function(p,h){return n.__iterator(p,!h)},c}function Li(n,a,c,p){var h=Ve(n);return p&&(h.has=function(E){var C=n.get(E,V);return C!==V&&!!a.call(c,C,E,n)},h.get=function(E,C){var I=n.get(E,V);return I!==V&&a.call(c,I,E,n)?I:C}),h.__iterateUncached=function(E,C){var I=this,z=0;return n.__iterate(function(P,F,Z){if(a.call(c,P,F,Z))return z++,E(P,p?F:z-1,I)},C),z},h.__iteratorUncached=function(E,C){var I=n.__iterator(mt,C),z=0;return new gt(function(){for(;;){var P=I.next();if(P.done)return P;var F=P.value,Z=F[0],G=F[1];if(a.call(c,G,Z,n))return ht(E,p?Z:z++,G,P)}})},h}function cs(n,a,c){var p=bt().asMutable();return n.__iterate(function(h,E){p.update(a.call(c,h,E,n),0,function(C){return C+1})}),p.asImmutable()}function ba(n,a,c){var p=m(n),h=(y(n)?te():bt()).asMutable();n.__iterate(function(C,I){h.update(a.call(c,C,I,n),function(z){return z=z||[],z.push(p?[I,C]:C),z})});var E=Bi(n);return h.map(function(C){return Pt(n,E(C))})}function yo(n,a,c,p){var h=n.size;if(a!==void 0&&(a=a|0),c!==void 0&&(c===1/0?c=h:c=c|0),St(a,c,h))return n;var E=dt(a,h),C=yt(c,h);if(E!==E||C!==C)return yo(n.toSeq().cacheResult(),a,c,p);var I=C-E,z;I===I&&(z=I<0?0:I);var P=Ve(n);return P.size=z===0?z:n.size&&z||void 0,!p&&xt(n)&&z>=0&&(P.get=function(F,Z){return F=nt(this,F),F>=0&&F<z?n.get(F+E,Z):Z}),P.__iterateUncached=function(F,Z){var G=this;if(z===0)return 0;if(Z)return this.cacheResult().__iterate(F,Z);var ft=0,vt=!0,Qt=0;return n.__iterate(function(Be,Ze){if(!(vt&&(vt=ft++<E)))return Qt++,F(Be,p?Ze:Qt-1,G)!==!1&&Qt!==z}),Qt},P.__iteratorUncached=function(F,Z){if(z!==0&&Z)return this.cacheResult().__iterator(F,Z);var G=z!==0&&n.__iterator(F,Z),ft=0,vt=0;return new gt(function(){for(;ft++<E;)G.next();if(++vt>z)return Vt();var Qt=G.next();return p||F===at?Qt:F===Rt?ht(F,vt-1,void 0,Qt):ht(F,vt-1,Qt.value[1],Qt)})},P}function Ea(n,a,c){var p=Ve(n);return p.__iterateUncached=function(h,E){var C=this;if(E)return this.cacheResult().__iterate(h,E);var I=0;return n.__iterate(function(z,P,F){return a.call(c,z,P,F)&&++I&&h(z,P,C)}),I},p.__iteratorUncached=function(h,E){var C=this;if(E)return this.cacheResult().__iterator(h,E);var I=n.__iterator(mt,E),z=!0;return new gt(function(){if(!z)return Vt();var P=I.next();if(P.done)return P;var F=P.value,Z=F[0],G=F[1];return a.call(c,G,Z,C)?h===mt?P:ht(h,Z,G,P):(z=!1,Vt())})},p}function Ni(n,a,c,p){var h=Ve(n);return h.__iterateUncached=function(E,C){var I=this;if(C)return this.cacheResult().__iterate(E,C);var z=!0,P=0;return n.__iterate(function(F,Z,G){if(!(z&&(z=a.call(c,F,Z,G))))return P++,E(F,p?Z:P-1,I)}),P},h.__iteratorUncached=function(E,C){var I=this;if(C)return this.cacheResult().__iterator(E,C);var z=n.__iterator(mt,C),P=!0,F=0;return new gt(function(){var Z,G,ft;do{if(Z=z.next(),Z.done)return p||E===at?Z:E===Rt?ht(E,F++,void 0,Z):ht(E,F++,Z.value[1],Z);var vt=Z.value;G=vt[0],ft=vt[1],P&&(P=a.call(c,ft,G,I))}while(P);return E===mt?Z:ht(E,G,ft,Z)})},h}function Ma(n,a){var c=m(n),p=[n].concat(a).map(function(C){return d(C)?c&&(C=s(C)):C=c?Xt(C):oe(Array.isArray(C)?C:[C]),C}).filter(function(C){return C.size!==0});if(p.length===0)return n;if(p.length===1){var h=p[0];if(h===n||c&&m(h)||w(n)&&w(h))return h}var E=new W(p);return c?E=E.toKeyedSeq():w(n)||(E=E.toSetSeq()),E=E.flatten(!0),E.size=p.reduce(function(C,I){if(C!==void 0){var z=I.size;if(z!==void 0)return C+z}},0),E}function Ai(n,a,c){var p=Ve(n);return p.__iterateUncached=function(h,E){var C=0,I=!1;function z(P,F){var Z=this;P.__iterate(function(G,ft){return(!a||F<a)&&d(G)?z(G,F+1):h(G,c?ft:C++,Z)===!1&&(I=!0),!I},E)}return z(n,0),C},p.__iteratorUncached=function(h,E){var C=n.__iterator(h,E),I=[],z=0;return new gt(function(){for(;C;){var P=C.next();if(P.done!==!1){C=I.pop();continue}var F=P.value;if(h===mt&&(F=F[1]),(!a||I.length<a)&&d(F))I.push(C),C=F.__iterator(h,E);else return c?P:ht(h,z++,F,P)}return Vt()})},p}function zi(n,a,c){var p=Bi(n);return n.toSeq().map(function(h,E){return p(a.call(c,h,E,n))}).flatten(!0)}function Ca(n,a){var c=Ve(n);return c.size=n.size&&n.size*2-1,c.__iterateUncached=function(p,h){var E=this,C=0;return n.__iterate(function(I,z){return(!C||p(a,C++,E)!==!1)&&p(I,C++,E)!==!1},h),C},c.__iteratorUncached=function(p,h){var E=n.__iterator(at,h),C=0,I;return new gt(function(){return(!I||C%2)&&(I=E.next(),I.done)?I:C%2?ht(p,C++,a):ht(p,C++,I.value,I)})},c}function xr(n,a,c){a||(a=Wo);var p=m(n),h=0,E=n.toSeq().map(function(C,I){return[I,C,h++,c?c(C,I,n):C]}).toArray();return E.sort(function(C,I){return a(C[3],I[3])||C[2]-I[2]}).forEach(p?function(C,I){E[I].length=2}:function(C,I){E[I]=C[1]}),p?Yt(E):w(n)?Tt(E):Gt(E)}function ln(n,a,c){if(a||(a=Wo),c){var p=n.toSeq().map(function(h,E){return[h,c(h,E,n)]}).reduce(function(h,E){return Ri(a,h[1],E[1])?E:h});return p&&p[0]}else return n.reduce(function(h,E){return Ri(a,h,E)?E:h})}function Ri(n,a,c){var p=n(c,a);return p===0&&c!==a&&(c==null||c!==c)||p>0}function Pn(n,a,c){var p=Ve(n);return p.size=new W(c).map(function(h){return h.size}).min(),p.__iterate=function(h,E){for(var C=this.__iterator(at,E),I,z=0;!(I=C.next()).done&&h(I.value,z++,this)!==!1;);return z},p.__iteratorUncached=function(h,E){var C=c.map(function(P){return P=i(P),Ct(E?P.reverse():P)}),I=0,z=!1;return new gt(function(){var P;return z||(P=C.map(function(F){return F.next()}),z=P.some(function(F){return F.done})),z?Vt():ht(h,I++,a.apply(null,P.map(function(F){return F.value})))})},p}function Pt(n,a){return xt(n)?a:n.constructor(a)}function vo(n){if(n!==Object(n))throw new TypeError("Expected [K, V] tuple: "+n)}function Yo(n){return Te(n.size),lt(n)}function Bi(n){return m(n)?s:w(n)?u:l}function Ve(n){return Object.create((m(n)?Yt:w(n)?Tt:Gt).prototype)}function mo(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Lt.prototype.cacheResult.call(this)}function Wo(n,a){return n>a?1:n<a?-1:0}function Pi(n){var a=Ct(n);if(!a){if(!xe(n))throw new TypeError("Expected iterable or array-like: "+n);a=Ct(i(n))}return a}o(ke,Rr);function ke(n,a){var c,p=function(C){if(C instanceof p)return C;if(!(this instanceof p))return new p(C);if(!c){c=!0;var I=Object.keys(n);ls(h,I),h.size=I.length,h._name=a,h._keys=I,h._defaultValues=n}this._map=bt(C)},h=p.prototype=Object.create(pe);return h.constructor=p,p}ke.prototype.toString=function(){return this.__toString(Qo(this)+" {","}")},ke.prototype.has=function(n){return this._defaultValues.hasOwnProperty(n)},ke.prototype.get=function(n,a){if(!this.has(n))return a;var c=this._defaultValues[n];return this._map?this._map.get(n,c):c},ke.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var n=this.constructor;return n._empty||(n._empty=En(this,Re()))},ke.prototype.set=function(n,a){if(!this.has(n))throw new Error('Cannot set unknown key "'+n+'" on '+Qo(this));if(this._map&&!this._map.has(n)){var c=this._defaultValues[n];if(a===c)return this}var p=this._map&&this._map.set(n,a);return this.__ownerID||p===this._map?this:En(this,p)},ke.prototype.remove=function(n){if(!this.has(n))return this;var a=this._map&&this._map.remove(n);return this.__ownerID||a===this._map?this:En(this,a)},ke.prototype.wasAltered=function(){return this._map.wasAltered()},ke.prototype.__iterator=function(n,a){var c=this;return s(this._defaultValues).map(function(p,h){return c.get(h)}).__iterator(n,a)},ke.prototype.__iterate=function(n,a){var c=this;return s(this._defaultValues).map(function(p,h){return c.get(h)}).__iterate(n,a)},ke.prototype.__ensureOwner=function(n){if(n===this.__ownerID)return this;var a=this._map&&this._map.__ensureOwner(n);return n?En(this,a,n):(this.__ownerID=n,this._map=a,this)};var pe=ke.prototype;pe[B]=pe.remove,pe.deleteIn=pe.removeIn=_t.removeIn,pe.merge=_t.merge,pe.mergeWith=_t.mergeWith,pe.mergeIn=_t.mergeIn,pe.mergeDeep=_t.mergeDeep,pe.mergeDeepWith=_t.mergeDeepWith,pe.mergeDeepIn=_t.mergeDeepIn,pe.setIn=_t.setIn,pe.update=_t.update,pe.updateIn=_t.updateIn,pe.withMutations=_t.withMutations,pe.asMutable=_t.asMutable,pe.asImmutable=_t.asImmutable;function En(n,a,c){var p=Object.create(Object.getPrototypeOf(n));return p._map=a,p.__ownerID=c,p}function Qo(n){return n._name||n.constructor.name||"Record"}function ls(n,a){try{a.forEach(ka.bind(void 0,n))}catch{}}function ka(n,a){Object.defineProperty(n,a,{get:function(){return this.get(a)},set:function(c){ze(this.__ownerID,"Cannot set on an immutable record."),this.set(a,c)}})}o(Wt,qr);function Wt(n){return n==null?_o():Mn(n)&&!y(n)?n:_o().withMutations(function(a){var c=l(n);Te(c.size),c.forEach(function(p){return a.add(p)})})}Wt.of=function(){return this(arguments)},Wt.fromKeys=function(n){return this(s(n).keySeq())},Wt.prototype.toString=function(){return this.__toString("Set {","}")},Wt.prototype.has=function(n){return this._map.has(n)},Wt.prototype.add=function(n){return Fn(this,this._map.set(n,!0))},Wt.prototype.remove=function(n){return Fn(this,this._map.remove(n))},Wt.prototype.clear=function(){return Fn(this,this._map.clear())},Wt.prototype.union=function(){var n=r.call(arguments,0);return n=n.filter(function(a){return a.size!==0}),n.length===0?this:this.size===0&&!this.__ownerID&&n.length===1?this.constructor(n[0]):this.withMutations(function(a){for(var c=0;c<n.length;c++)l(n[c]).forEach(function(p){return a.add(p)})})},Wt.prototype.intersect=function(){var n=r.call(arguments,0);if(n.length===0)return this;n=n.map(function(c){return l(c)});var a=this;return this.withMutations(function(c){a.forEach(function(p){n.every(function(h){return h.includes(p)})||c.remove(p)})})},Wt.prototype.subtract=function(){var n=r.call(arguments,0);if(n.length===0)return this;n=n.map(function(c){return l(c)});var a=this;return this.withMutations(function(c){a.forEach(function(p){n.some(function(h){return h.includes(p)})&&c.remove(p)})})},Wt.prototype.merge=function(){return this.union.apply(this,arguments)},Wt.prototype.mergeWith=function(n){var a=r.call(arguments,1);return this.union.apply(this,a)},Wt.prototype.sort=function(n){return Ke(xr(this,n))},Wt.prototype.sortBy=function(n,a){return Ke(xr(this,a,n))},Wt.prototype.wasAltered=function(){return this._map.wasAltered()},Wt.prototype.__iterate=function(n,a){var c=this;return this._map.__iterate(function(p,h){return n(h,h,c)},a)},Wt.prototype.__iterator=function(n,a){return this._map.map(function(c,p){return p}).__iterator(n,a)},Wt.prototype.__ensureOwner=function(n){if(n===this.__ownerID)return this;var a=this._map.__ensureOwner(n);return n?this.__make(a,n):(this.__ownerID=n,this._map=a,this)};function Mn(n){return!!(n&&n[Vo])}Wt.isSet=Mn;var Vo="@@__IMMUTABLE_SET__@@",Ie=Wt.prototype;Ie[Vo]=!0,Ie[B]=Ie.remove,Ie.mergeDeep=Ie.merge,Ie.mergeDeepWith=Ie.mergeWith,Ie.withMutations=_t.withMutations,Ie.asMutable=_t.asMutable,Ie.asImmutable=_t.asImmutable,Ie.__empty=_o,Ie.__make=Fi;function Fn(n,a){return n.__ownerID?(n.size=a.size,n._map=a,n):a===n._map?n:a.size===0?n.__empty():n.__make(a)}function Fi(n,a){var c=Object.create(Ie);return c.size=n?n.size:0,c._map=n,c.__ownerID=a,c}var Zo;function _o(){return Zo||(Zo=Fi(Re()))}o(Ke,Wt);function Ke(n){return n==null?$n():Go(n)?n:$n().withMutations(function(a){var c=l(n);Te(c.size),c.forEach(function(p){return a.add(p)})})}Ke.of=function(){return this(arguments)},Ke.fromKeys=function(n){return this(s(n).keySeq())},Ke.prototype.toString=function(){return this.__toString("OrderedSet {","}")};function Go(n){return Mn(n)&&y(n)}Ke.isOrderedSet=Go;var Cn=Ke.prototype;Cn[x]=!0,Cn.__empty=$n,Cn.__make=Jo;function Jo(n,a){var c=Object.create(Cn);return c.size=n?n.size:0,c._map=n,c.__ownerID=a,c}var $i;function $n(){return $i||($i=Jo(bn()))}o(ne,kr);function ne(n){return n==null?Un():So(n)?n:Un().unshiftAll(n)}ne.of=function(){return this(arguments)},ne.prototype.toString=function(){return this.__toString("Stack [","]")},ne.prototype.get=function(n,a){var c=this._head;for(n=nt(this,n);c&&n--;)c=c.next;return c?c.value:a},ne.prototype.peek=function(){return this._head&&this._head.value},ne.prototype.push=function(){if(arguments.length===0)return this;for(var n=this.size+arguments.length,a=this._head,c=arguments.length-1;c>=0;c--)a={value:arguments[c],next:a};return this.__ownerID?(this.size=n,this._head=a,this.__hash=void 0,this.__altered=!0,this):Gr(n,a)},ne.prototype.pushAll=function(n){if(n=u(n),n.size===0)return this;Te(n.size);var a=this.size,c=this._head;return n.reverse().forEach(function(p){a++,c={value:p,next:c}}),this.__ownerID?(this.size=a,this._head=c,this.__hash=void 0,this.__altered=!0,this):Gr(a,c)},ne.prototype.pop=function(){return this.slice(1)},ne.prototype.unshift=function(){return this.push.apply(this,arguments)},ne.prototype.unshiftAll=function(n){return this.pushAll(n)},ne.prototype.shift=function(){return this.pop.apply(this,arguments)},ne.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):Un()},ne.prototype.slice=function(n,a){if(St(n,a,this.size))return this;var c=dt(n,this.size),p=yt(a,this.size);if(p!==this.size)return kr.prototype.slice.call(this,n,a);for(var h=this.size-c,E=this._head;c--;)E=E.next;return this.__ownerID?(this.size=h,this._head=E,this.__hash=void 0,this.__altered=!0,this):Gr(h,E)},ne.prototype.__ensureOwner=function(n){return n===this.__ownerID?this:n?Gr(this.size,this._head,n,this.__hash):(this.__ownerID=n,this.__altered=!1,this)},ne.prototype.__iterate=function(n,a){if(a)return this.reverse().__iterate(n);for(var c=0,p=this._head;p&&n(p.value,c++,this)!==!1;)p=p.next;return c},ne.prototype.__iterator=function(n,a){if(a)return this.reverse().__iterator(n);var c=0,p=this._head;return new gt(function(){if(p){var h=p.value;return p=p.next,ht(n,c++,h)}return Vt()})};function So(n){return!!(n&&n[Xo])}ne.isStack=So;var Xo="@@__IMMUTABLE_STACK__@@",Sr=ne.prototype;Sr[Xo]=!0,Sr.withMutations=_t.withMutations,Sr.asMutable=_t.asMutable,Sr.asImmutable=_t.asImmutable,Sr.wasAltered=_t.wasAltered;function Gr(n,a,c,p){var h=Object.create(Sr);return h.size=n,h._head=a,h.__ownerID=c,h.__hash=p,h.__altered=!1,h}var Ui;function Un(){return Ui||(Ui=Gr(0))}function Ge(n,a){var c=function(p){n.prototype[p]=a[p]};return Object.keys(a).forEach(c),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(a).forEach(c),n}function Oa(n){return typeof n=="string"&&(n==="__proto__"||n==="constructor")}i.Iterator=gt,Ge(i,{toArray:function(){Te(this.size);var n=new Array(this.size||0);return this.valueSeq().__iterate(function(a,c){n[c]=a}),n},toIndexedSeq:function(){return new _r(this)},toJS:function(){return this.toSeq().map(function(n){return n&&typeof n.toJS=="function"?n.toJS():n}).__toJS()},toJSON:function(){return this.toSeq().map(function(n){return n&&typeof n.toJSON=="function"?n.toJSON():n}).__toJS()},toKeyedSeq:function(){return new Le(this,!0)},toMap:function(){return bt(this.toKeyedSeq())},toObject:function(){Te(this.size);var n={};return this.__iterate(function(a,c){Oa(c)||(n[c]=a)}),n},toOrderedMap:function(){return te(this.toKeyedSeq())},toOrderedSet:function(){return Ke(m(this)?this.valueSeq():this)},toSet:function(){return Wt(m(this)?this.valueSeq():this)},toSetSeq:function(){return new Dr(this)},toSeq:function(){return w(this)?this.toIndexedSeq():m(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return ne(m(this)?this.valueSeq():this)},toList:function(){return qt(m(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(n,a){return this.size===0?n+a:n+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+a},concat:function(){var n=r.call(arguments,0);return Pt(this,Ma(this,n))},includes:function(n){return this.some(function(a){return jt(a,n)})},entries:function(){return this.__iterator(mt)},every:function(n,a){Te(this.size);var c=!0;return this.__iterate(function(p,h,E){if(!n.call(a,p,h,E))return c=!1,!1}),c},filter:function(n,a){return Pt(this,Li(this,n,a,!0))},find:function(n,a,c){var p=this.findEntry(n,a);return p?p[1]:c},forEach:function(n,a){return Te(this.size),this.__iterate(a?n.bind(a):n)},join:function(n){Te(this.size),n=n!==void 0?""+n:",";var a="",c=!0;return this.__iterate(function(p){c?c=!1:a+=n,a+=p!=null?p.toString():""}),a},keys:function(){return this.__iterator(Rt)},map:function(n,a){return Pt(this,qo(this,n,a))},reduce:function(n,a,c){Te(this.size);var p,h;return arguments.length<2?h=!0:p=a,this.__iterate(function(E,C,I){h?(h=!1,p=E):p=n.call(c,p,E,C,I)}),p},reduceRight:function(n,a,c){var p=this.toKeyedSeq().reverse();return p.reduce.apply(p,arguments)},reverse:function(){return Pt(this,go(this,!0))},slice:function(n,a){return Pt(this,yo(this,n,a,!0))},some:function(n,a){return!this.every(kn(n),a)},sort:function(n){return Pt(this,xr(this,n))},values:function(){return this.__iterator(at)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(n,a){return lt(n?this.toSeq().filter(n,a):this)},countBy:function(n,a){return cs(this,n,a)},equals:function(n){return je(this,n)},entrySeq:function(){var n=this;if(n._cache)return new W(n._cache);var a=n.toSeq().map(xa).toIndexedSeq();return a.fromEntrySeq=function(){return n.toSeq()},a},filterNot:function(n,a){return this.filter(kn(n),a)},findEntry:function(n,a,c){var p=c;return this.__iterate(function(h,E,C){if(n.call(a,h,E,C))return p=[E,h],!1}),p},findKey:function(n,a){var c=this.findEntry(n,a);return c&&c[0]},findLast:function(n,a,c){return this.toKeyedSeq().reverse().find(n,a,c)},findLastEntry:function(n,a,c){return this.toKeyedSeq().reverse().findEntry(n,a,c)},findLastKey:function(n,a){return this.toKeyedSeq().reverse().findKey(n,a)},first:function(){return this.find(pt)},flatMap:function(n,a){return Pt(this,zi(this,n,a))},flatten:function(n){return Pt(this,Ai(this,n,!0))},fromEntrySeq:function(){return new lr(this)},get:function(n,a){return this.find(function(c,p){return jt(p,n)},void 0,a)},getIn:function(n,a){for(var c=this,p=Pi(n),h;!(h=p.next()).done;){var E=h.value;if(c=c&&c.get?c.get(E,V):V,c===V)return a}return c},groupBy:function(n,a){return ba(this,n,a)},has:function(n){return this.get(n,V)!==V},hasIn:function(n){return this.getIn(n,V)!==V},isSubset:function(n){return n=typeof n.includes=="function"?n:i(n),this.every(function(a){return n.includes(a)})},isSuperset:function(n){return n=typeof n.isSubset=="function"?n:i(n),n.isSubset(this)},keyOf:function(n){return this.findKey(function(a){return jt(a,n)})},keySeq:function(){return this.toSeq().map(Da).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(n){return this.toKeyedSeq().reverse().keyOf(n)},max:function(n){return ln(this,n)},maxBy:function(n,a){return ln(this,a,n)},min:function(n){return ln(this,n?ti(n):ei)},minBy:function(n,a){return ln(this,a?ti(a):ei,n)},rest:function(){return this.slice(1)},skip:function(n){return this.slice(Math.max(0,n))},skipLast:function(n){return Pt(this,this.toSeq().reverse().skip(n).reverse())},skipWhile:function(n,a){return Pt(this,Ni(this,n,a,!0))},skipUntil:function(n,a){return this.skipWhile(kn(n),a)},sortBy:function(n,a){return Pt(this,xr(this,a,n))},take:function(n){return this.slice(0,Math.max(0,n))},takeLast:function(n){return Pt(this,this.toSeq().reverse().take(n).reverse())},takeWhile:function(n,a){return Pt(this,Ea(this,n,a))},takeUntil:function(n,a){return this.takeWhile(kn(n),a)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=Ta(this))}});var Se=i.prototype;Se[T]=!0,Se[se]=Se.values,Se.__toJS=Se.toArray,Se.__toStringMapper=Ki,Se.inspect=Se.toSource=function(){return this.toString()},Se.chain=Se.flatMap,Se.contains=Se.includes,Ge(s,{flip:function(){return Pt(this,Ho(this))},mapEntries:function(n,a){var c=this,p=0;return Pt(this,this.toSeq().map(function(h,E){return n.call(a,[E,h],p++,c)}).fromEntrySeq())},mapKeys:function(n,a){var c=this;return Pt(this,this.toSeq().flip().map(function(p,h){return n.call(a,p,h,c)}).flip())}});var Jr=s.prototype;Jr[S]=!0,Jr[se]=Se.entries,Jr.__toJS=Se.toObject,Jr.__toStringMapper=function(n,a){return JSON.stringify(a)+": "+Ki(n)},Ge(u,{toKeyedSeq:function(){return new Le(this,!1)},filter:function(n,a){return Pt(this,Li(this,n,a,!1))},findIndex:function(n,a){var c=this.findEntry(n,a);return c?c[0]:-1},indexOf:function(n){var a=this.keyOf(n);return a===void 0?-1:a},lastIndexOf:function(n){var a=this.lastKeyOf(n);return a===void 0?-1:a},reverse:function(){return Pt(this,go(this,!1))},slice:function(n,a){return Pt(this,yo(this,n,a,!1))},splice:function(n,a){var c=arguments.length;if(a=Math.max(a|0,0),c===0||c===2&&!a)return this;n=dt(n,n<0?this.count():this.size);var p=this.slice(0,n);return Pt(this,c===1?p:p.concat(tt(arguments,2),this.slice(n+a)))},findLastIndex:function(n,a){var c=this.findLastEntry(n,a);return c?c[0]:-1},first:function(){return this.get(0)},flatten:function(n){return Pt(this,Ai(this,n,!1))},get:function(n,a){return n=nt(this,n),n<0||this.size===1/0||this.size!==void 0&&n>this.size?a:this.find(function(c,p){return p===n},void 0,a)},has:function(n){return n=nt(this,n),n>=0&&(this.size!==void 0?this.size===1/0||n<this.size:this.indexOf(n)!==-1)},interpose:function(n){return Pt(this,Ca(this,n))},interleave:function(){var n=[this].concat(tt(arguments)),a=Pn(this.toSeq(),Tt.of,n),c=a.flatten(!0);return a.size&&(c.size=a.size*n.length),Pt(this,c)},keySeq:function(){return re(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(n,a){return Pt(this,Ni(this,n,a,!1))},zip:function(){var n=[this].concat(tt(arguments));return Pt(this,Pn(this,Hi,n))},zipWith:function(n){var a=tt(arguments);return a[0]=this,Pt(this,Pn(this,n,a))}}),u.prototype[D]=!0,u.prototype[x]=!0,Ge(l,{get:function(n,a){return this.has(n)?n:a},includes:function(n){return this.has(n)},keySeq:function(){return this.valueSeq()}}),l.prototype.has=Se.includes,l.prototype.contains=l.prototype.includes,Ge(Yt,s.prototype),Ge(Tt,u.prototype),Ge(Gt,l.prototype),Ge(Rr,s.prototype),Ge(kr,u.prototype),Ge(qr,l.prototype);function Da(n,a){return a}function xa(n,a){return[a,n]}function kn(n){return function(){return!n.apply(this,arguments)}}function ti(n){return function(){return-n.apply(this,arguments)}}function Ki(n){return typeof n=="string"?JSON.stringify(n):String(n)}function Hi(){return tt(arguments)}function ei(n,a){return n<a?1:n>a?-1:0}function Ta(n){if(n.size===1/0)return 0;var a=y(n),c=m(n),p=a?1:0,h=n.__iterate(c?a?function(E,C){p=31*p+ri(De(E),De(C))|0}:function(E,C){p=p+ri(De(E),De(C))|0}:a?function(E){p=31*p+De(E)|0}:function(E){p=p+De(E)|0});return fs(h,p)}function fs(n,a){return a=Br(a,3432918353),a=Br(a<<15|a>>>-15,461845907),a=Br(a<<13|a>>>-13,5),a=(a+3864292196|0)^n,a=Br(a^a>>>16,2246822507),a=Br(a^a>>>13,3266489909),a=ro(a^a>>>16),a}function ri(n,a){return n^a+2654435769+(n<<6)+(n>>2)|0}var ps={Iterable:i,Seq:Lt,Collection:Xe,Map:bt,OrderedMap:te,List:qt,Stack:ne,Set:Wt,OrderedSet:Ke,Record:ke,Range:re,Repeat:wt,is:jt,fromJS:It};return ps})})(o0);var ur=o0.exports,ev=function(e){var r=document.implementation.createHTMLDocument("");return r.documentElement.innerHTML=e,r};function LR(t){var e;if(typeof DOMParser<"u"){var r=new DOMParser;e=r.parseFromString(t,"text/html"),(e===null||e.body===null)&&(e=ev(t))}else e=ev(t);return e.body}var NR=" ",eu=" ",i0=4,AR=new RegExp("\r","g"),zR=new RegExp(` 60`,"g"),RR=new RegExp(NR,"g"),BR=new RegExp("\r","g"),a0=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],PR={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},ec=function(e,r){return e&&e.__isMiddleware===!0?e(r):e},FR=function(e,r,o){},$R=function(e,r,o){return o},rv=function(e,r){},nv=function(e){return[]},ks=function(e){if(e!=null)return e;throw new Error("Got unexpected null or undefined")},UR=function(e){return e.replace(BR,"")};function hf(){return{text:"",inlines:[],entities:[],blocks:[]}}function KR(t){var e=new Array(1);return t&&(e[0]=t),{text:eu,inlines:[ur.OrderedSet()],entities:e,blocks:[]}}function rc(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:ur.Map();return r===!0?{text:"\r",inlines:[ur.OrderedSet()],entities:new Array(1),blocks:[{type:t,data:o,depth:Math.max(0,Math.min(i0,e))}],isNewline:!0}:{text:` 61`,inlines:[ur.OrderedSet()],entities:new Array(1),blocks:[]}}function gf(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ur.Map();return{text:"\r",inlines:[ur.OrderedSet()],entities:new Array(1),blocks:[{type:t,data:r,depth:Math.max(0,Math.min(i0,e))}]}}function zs(t,e){switch(t){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return e==="ol"?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":return"unstyled";default:return null}}function HR(t,e,r){return zs(t,r)}function s0(t,e,r){var o=PR[t];if(o)r=r.add(o).toOrderedSet();else if(e instanceof HTMLElement){var i=e;r=r.withMutations(function(s){i.style.fontWeight==="bold"&&s.add("BOLD"),i.style.fontStyle==="italic"&&s.add("ITALIC"),i.style.textDecoration==="underline"&&s.add("UNDERLINE"),i.style.textDecoration==="line-through"&&s.add("STRIKETHROUGH")}).toOrderedSet()}return r}function qR(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ur.OrderedSet();return s0(t,e,r)}function yf(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=e.text.slice(0,1),i=t.text.slice(-1),s=i==="\r"&&o==="\r",u=t.text!=="\r"&&e.text!=="\r",l=t.text==="\r"&&!t.isNewline&&e.isNewline;if(s&&(u||l)&&(t.text=t.text.slice(0,-1),t.inlines.pop(),t.entities.pop(),t.blocks.pop()),t.text.slice(-1)==="\r"&&r===!0){if(e.text===eu||e.text===` 62`)return t;(o===eu||o===` 63`)&&(e.text=e.text.slice(1),e.inlines.shift(),e.entities.shift())}var d=t.text.length===0&&e.isNewline;return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks),isNewline:d}}function YR(t){return a0.some(function(e){return t.indexOf("<".concat(e))!==-1})}function u0(t,e,r,o,i,s,u,l,d,m,w,k,y,T,S,D){var x=t.nodeName.toLowerCase(),B=!1,N="unstyled";if(x==="#text"){var $=t.textContent;if($.trim()===""&&o===null)return hf();if($.trim()===""&&o!=="code-block")return KR(D);o!=="code-block"&&($=$.replace(zR,eu));var K=Array($.length).fill(D),V=0,ct=d($,w,k,y,T).sort(tu);return ct.forEach(function(at){var mt=at.entity,Ft=at.offset,ye=at.length,se=at.result,gt=Ft+V;se==null&&(se=$.substr(gt,ye));var ht=$.split("");ht.splice.bind(ht,gt,ye).apply(ht,se.split("")),$=ht.join(""),K.splice.bind(K,gt,ye).apply(K,Array(se.length).fill(mt)),V+=se.length-ye}),{text:$,inlines:Array($.length).fill(e),entities:K,blocks:[]}}if(x==="br"){var it=o;return it===null?rc("unstyled",s,!0):rc(it||"unstyled",s,S.flat)}var H=hf(),q=null;e=s0(x,t,e),e=u(x,t,e),(x==="ul"||x==="ol")&&(r&&(s+=1),r=x,o=null);var Y=m(x,t,r,o),tt,lt;if(Y===!1)return hf();if(Y=Y||{},typeof Y=="string"?(tt=Y,lt=ur.Map()):(tt=typeof Y=="string"?Y:Y.type,lt=Y.data?ur.Map(Y.data):ur.Map()),!o&&(i.indexOf(x)!==-1||tt))H=gf(tt||zs(x,r),s,lt),o=tt||zs(x,r),B=!0;else if(r&&(o==="ordered-list-item"||o==="unordered-list-item")&&x==="li"){var nt=zs(x,r);H=gf(nt,s),o=nt,B=!0,N=r==="ul"?"unordered-list-item":"ordered-list-item"}else o&&o!=="atomic"&&tt==="atomic"&&(o=tt,B=!0,H=rc(tt,s,!0,lt));var pt=t.firstChild;pt==null&&D&&(tt==="atomic"||o==="atomic")&&(pt=document.createTextNode("a")),pt!=null&&(x=pt.nodeName.toLowerCase());for(var St=null;pt;){St=l(x,pt,w,k,y,T),q=u0(pt,e,r,o,i,s,u,l,d,m,w,k,y,T,S,St||D),H=yf(H,q,S.flat);var dt=pt.nextSibling;if(dt&&i.indexOf(x)>=0&&o){var yt=m(x,pt,r,o),zt=void 0,Rt=void 0;yt!==!1&&(yt=yt||{},typeof yt=="string"?(zt=yt,Rt=ur.Map()):(zt=yt.type||zs(x,r),Rt=yt.data?ur.Map(yt.data):ur.Map()),H=yf(H,rc(zt,s,S.flat,Rt),S.flat))}dt&&(x=dt.nodeName.toLowerCase()),pt=dt}return B&&(H=yf(H,gf(N,s,ur.Map()),S.flat)),H}function WR(t,e,r,o,i,s,u,l,d,m,w){t=t.trim().replace(AR,"").replace(RR,eu);var k=w(t);if(!k)return null;var y=YR(t)?a0.concat(["div"]):["div"],T=u0(k,ur.OrderedSet(),"ul",null,y,-1,e,r,o,i,s,u,l,d,m);return T.text.indexOf("\r")===0&&(T={text:T.text.slice(1),inlines:T.inlines.slice(1),entities:T.entities.slice(1),blocks:T.blocks}),T.text.slice(-1)==="\r"&&(T.text=T.text.slice(0,-1),T.inlines=T.inlines.slice(0,-1),T.entities=T.entities.slice(0,-1),T.blocks.pop()),T.blocks.length===0&&T.blocks.push({type:"unstyled",data:ur.Map(),depth:0}),T.text.split("\r").length===T.blocks.length+1&&T.blocks.unshift({type:"unstyled",data:ur.Map(),depth:0}),T}function QR(t,e,r,o,i,s,u,l,d,m,w,k){var y=WR(t,e,r,o,i,s,u,l,d,m,w);if(y==null)return[];var T=0;return y.text.split("\r").map(function(S,D){S=UR(S);var x=T+S.length,B=ks(y).inlines.slice(T,x),N=ks(y).entities.slice(T,x),$=ur.List(B.map(function(K,V){var ct={style:K,entity:null};return N[V]&&(ct.entity=N[V]),rr.CharacterMetadata.create(ct)}));return T=x+1,new rr.ContentBlock({key:k(),type:ks(y).blocks[D].type,data:ks(y).blocks[D].data,depth:ks(y).blocks[D].depth,text:S,characterList:$})})}var ov=function(e){var r=e.htmlToStyle,o=r===void 0?$R:r,i=e.htmlToEntity,s=i===void 0?rv:i,u=e.textToEntity,l=u===void 0?nv:u,d=e.htmlToBlock,m=d===void 0?FR:d;return function(w){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{flat:!1},y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:LR,T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:rr.genKey,S=rr.ContentState.createFromText(""),D=function(){if(S.createEntity){var it;return S=(it=S).createEntity.apply(it,arguments),S.getLastCreatedEntityKey()}return rr.Entity.create.apply(rr.Entity,arguments)},x=function(){if(S.getEntity){var it;return(it=S).getEntity.apply(it,arguments)}return rr.Entity.get.apply(rr.Entity,arguments)},B=function(){if(S.mergeEntityData){var it;S=(it=S).mergeEntityData.apply(it,arguments);return}rr.Entity.mergeData.apply(rr.Entity,arguments)},N=function(){if(S.replaceEntityData){var it;S=(it=S).replaceEntityData.apply(it,arguments);return}rr.Entity.replaceData.apply(rr.Entity,arguments)}
63,$=QR(w,ec(o,qR),ec(s,rv),ec(l,nv),ec(m,HR),D,x,B,N,k,y,T),K=rr.BlockMapBuilder.createFromArray($),V=$[0].getKey();return S.merge({blockMap:K,selectionBefore:rr.SelectionState.createEmpty(V),selectionAfter:rr.SelectionState.createEmpty(V)})}};const VR=function(){return arguments.length>=1&&typeof(arguments.length<=0?void 0:arguments[0])=="string"?ov({}).apply(void 0,arguments):ov.apply(void 0,arguments)},iv="w-full";function a4({name:t,label:e,className:r,defaultValue:o,toolbarOptions:i=["inline","list","link"],showWordCount:s=!1}){const{error:u,getInputProps:l}=I0(t),[d,m]=dr.useState(()=>rr.EditorState.createEmpty()),[w,k]=dr.useState(""),y=A0(d);dr.useEffect(()=>{o&&(m(rr.EditorState.createWithContent(VR(o))),k(o)),rr.EditorState.createEmpty()},[o]);function T(S){m(S);const D=jR(S.getCurrentContent());k(D)}return Hn.jsx(x0,{fallback:Hn.jsx("div",{className:ml(iv,"bg-gray-50 animate-pulse rounded-xl h-[196px] w-full mb-7")}),children:()=>Hn.jsxs("div",{className:ml("flex flex-col min-h-[224px]",r),children:[Hn.jsx(N0,{children:e}),Hn.jsx("input",{type:"hidden",...l({id:t}),value:w}),Hn.jsx("div",{className:"flex flex-grow w-full px-0.5",children:Hn.jsx(rA.Editor,{editorState:d,onEditorStateChange:T,wrapperClassName:ml(iv,"w-full max-w-full border border-gray-500 flex flex-col rounded-xl overflow-hidden"),toolbarClassName:"border-gray-500 border-b rounded-t-xl bg-gray-100",editorClassName:"px-4 cursor-text max-h-[400px]",toolbar:{options:["inline",...i.filter(S=>S!=="inline")],inline:{options:["bold","italic","underline"]}}})}),s&&Hn.jsx(z0,{wordCount:y,className:"px-0.5 mt-7"}),!u&&Hn.jsx("p",{className:"h-7"}),u&&Hn.jsx("p",{className:"text-sm text-rose-600 my-1 whitespace-wrap",children:u})]})})}export{a4 as R}; 64//# sourceMappingURL=RichTextEditor-7uLO0kdj.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.