UNPKG

470 kBJavaScriptView Raw
1module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=211)}([function(t,e){t.exports=require("react")},function(t,e,n){t.exports=n(44)()},function(t,e,n){(e=t.exports=n(13)(!1)).push([t.i," {\n}\n",""]),e.locals={"color-labs-red":"#a0372d","color-darkest-grey":"#282828","color-dark-grey":"#4a4a4a","color-mid-grey":"#696969","color-light-grey":"#767676","color-lightest-grey":"#f2f2f2","color-subt-green":"#69e3c2","color-light-shilo":"#E2A9A2"}},function(t,e,n){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return a(t)?t:q(t)}function r(t){return s(t)?t:X(t)}function o(t){return c(t)?t:J(t)}function i(t){return a(t)&&!u(t)?t:G(t)}function a(t){return!(!t||!t[f])}function s(t){return!(!t||!t[p])}function c(t){return!(!t||!t[d])}function u(t){return s(t)||c(t)}function l(t){return!(!t||!t[h])}e(r,n),e(o,n),e(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=c,n.isAssociative=u,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var f="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",d="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g=5,y=1<<g,v=y-1,m={},b={value:!1},_={value:!1};function w(t){return t.value=!1,t}function S(t){t&&(t.value=!0)}function k(){}function x(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function E(t){return void 0===t.size&&(t.size=t.__iterate(C)),t.size}function O(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?E(t)+e:e}function C(){return!0}function T(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function A(t,e){return M(t,e,0)}function I(t,e){return M(t,e,e)}function M(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var j=0,D=1,P=2,R="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",L=R||N;function B(t){this.next=t}function z(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function K(){return{value:void 0,done:!0}}function F(t){return!!V(t)}function U(t){return t&&"function"==typeof t.next}function W(t){var e=V(t);return e&&e.call(t)}function V(t){var e=t&&(R&&t[R]||t[N]);if("function"==typeof e)return e}function H(t){return t&&"number"==typeof t.length}function q(t){return null==t?it():a(t)?t.toSeq():function(t){var e=ct(t)||"object"==typeof t&&new et(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function X(t){return null==t?it().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():at(t)}function J(t){return null==t?it():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():st(t)}function G(t){return(null==t?it():a(t)?s(t)?t.entrySeq():t:st(t)).toSetSeq()}B.prototype.toString=function(){return"[Iterator]"},B.KEYS=j,B.VALUES=D,B.ENTRIES=P,B.prototype.inspect=B.prototype.toSource=function(){return this.toString()},B.prototype[L]=function(){return this},e(q,n),q.of=function(){return q(arguments)},q.prototype.toSeq=function(){return this},q.prototype.toString=function(){return this.__toString("Seq {","}")},q.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},q.prototype.__iterate=function(t,e){return ut(this,t,e,!0)},q.prototype.__iterator=function(t,e){return lt(this,t,e,!0)},e(X,q),X.prototype.toKeyedSeq=function(){return this},e(J,q),J.of=function(){return J(arguments)},J.prototype.toIndexedSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq [","]")},J.prototype.__iterate=function(t,e){return ut(this,t,e,!1)},J.prototype.__iterator=function(t,e){return lt(this,t,e,!1)},e(G,q),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},q.isSeq=ot,q.Keyed=X,q.Set=G,q.Indexed=J;var Y,$,Z,Q="@@__IMMUTABLE_SEQ__@@";function tt(t){this._array=t,this.size=t.length}function et(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function nt(t){this._iterable=t,this.size=t.length||t.size}function rt(t){this._iterator=t,this._iteratorCache=[]}function ot(t){return!(!t||!t[Q])}function it(){return Y||(Y=new tt([]))}function at(t){var e=Array.isArray(t)?new tt(t).fromEntrySeq():U(t)?new rt(t).fromEntrySeq():F(t)?new nt(t).fromEntrySeq():"object"==typeof t?new et(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function st(t){var e=ct(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ct(t){return H(t)?new tt(t):U(t)?new rt(t):F(t)?new nt(t):void 0}function ut(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function lt(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new B(function(){var t=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:z(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function ft(t,e){return e?function t(e,n,r,o){return Array.isArray(n)?e.call(o,r,J(n).map(function(r,o){return t(e,r,o,n)})):dt(n)?e.call(o,r,X(n).map(function(r,o){return t(e,r,o,n)})):n}(e,t,"",{"":t}):pt(t)}function pt(t){return Array.isArray(t)?J(t).map(pt).toList():dt(t)?X(t).map(pt).toMap():t}function dt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function ht(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function gt(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||c(t)!==c(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(l(t)){var r=t.entries();return e.every(function(t,e){var o=r.next().value;return o&&ht(o[1],t)&&(n||ht(o[0],e))})&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var i=t;t=e,e=i}var f=!0,p=e.__iterate(function(e,r){if(n?!t.has(e):o?!ht(e,t.get(r,m)):!ht(t.get(r,m),e))return f=!1,!1});return f&&t.size===p}function yt(t,e){if(!(this instanceof yt))return new yt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if($)return $;$=this}}function vt(t,e){if(!t)throw new Error(e)}function mt(t,e,n){if(!(this instanceof mt))return new mt(t,e,n);if(vt(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(Z)return Z;Z=this}}function bt(){throw TypeError("Abstract")}function _t(){}function wt(){}function St(){}q.prototype[Q]=!0,e(tt,J),tt.prototype.get=function(t,e){return this.has(t)?this._array[O(this,t)]:e},tt.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===t(n[e?r-o:o],o,this))return o+1;return o},tt.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new B(function(){return o>r?{value:void 0,done:!0}:z(t,o,n[e?r-o++:o++])})},e(et,X),et.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},et.prototype.has=function(t){return this._object.hasOwnProperty(t)},et.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(!1===t(n[a],a,this))return i+1}return i},et.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new B(function(){var a=r[e?o-i:i];return i++>o?{value:void 0,done:!0}:z(t,a,n[a])})},et.prototype[h]=!0,e(nt,J),nt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=W(n),o=0;if(U(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,o++,this););return o},nt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=W(n);if(!U(r))return new B(K);var o=0;return new B(function(){var e=r.next();return e.done?e:z(t,o++,e.value)})},e(rt,J),rt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===t(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===t(a,i++,this))break}return i},rt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new B(function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return z(t,o,r[o++])})},e(yt,J),yt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},yt.prototype.get=function(t,e){return this.has(t)?this._value:e},yt.prototype.includes=function(t){return ht(this._value,t)},yt.prototype.slice=function(t,e){var n=this.size;return T(t,e,n)?this:new yt(this._value,I(e,n)-A(t,n))},yt.prototype.reverse=function(){return this},yt.prototype.indexOf=function(t){return ht(this._value,t)?0:-1},yt.prototype.lastIndexOf=function(t){return ht(this._value,t)?this.size:-1},yt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},yt.prototype.__iterator=function(t,e){var n=this,r=0;return new B(function(){return r<n.size?z(t,r++,n._value):{value:void 0,done:!0}})},yt.prototype.equals=function(t){return t instanceof yt?ht(this._value,t._value):gt(t)},e(mt,J),mt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},mt.prototype.get=function(t,e){return this.has(t)?this._start+O(this,t)*this._step:e},mt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},mt.prototype.slice=function(t,e){return T(t,e,this.size)?this:(t=A(t,this.size),(e=I(e,this.size))<=t?new mt(0,0):new mt(this.get(t,this._end),this.get(e,this._end),this._step))},mt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},mt.prototype.lastIndexOf=function(t){return this.indexOf(t)},mt.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===t(o,i,this))return i+1;o+=e?-r:r}return i},mt.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;return new B(function(){var a=o;return o+=e?-r:r,i>n?{value:void 0,done:!0}:z(t,i++,a)})},mt.prototype.equals=function(t){return t instanceof mt?this._start===t._start&&this._end===t._end&&this._step===t._step:gt(this,t)},e(bt,n),e(_t,bt),e(wt,bt),e(St,bt),bt.Keyed=_t,bt.Indexed=wt,bt.Set=St;var kt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function xt(t){return t>>>1&1073741824|3221225471&t}function Et(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e,n,r=typeof t;if("number"===r){var o=0|t;for(o!==t&&(o^=4294967295*t);t>4294967295;)o^=t/=4294967295;return xt(o)}if("string"===r)return t.length>Dt?(void 0===(n=Nt[e=t])&&(n=Ot(e),Rt===Pt&&(Rt=0,Nt={}),Rt++,Nt[e]=n),n):Ot(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===r)return function(t){var e;if(It&&void 0!==(e=Ct.get(t)))return e;if(void 0!==(e=t[jt]))return e;if(!At){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[jt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++Mt,1073741824&Mt&&(Mt=0),It)Ct.set(t,e);else{if(void 0!==Tt&&!1===Tt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(At)Object.defineProperty(t,jt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[jt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[jt]=e}}return e}(t);if("function"==typeof t.toString)return Ot(t.toString());throw new Error("Value type "+r+" cannot be hashed.")}function Ot(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return xt(e)}var Ct,Tt=Object.isExtensible,At=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),It="function"==typeof WeakMap;It&&(Ct=new WeakMap);var Mt=0,jt="__immutablehash__";"function"==typeof Symbol&&(jt=Symbol(jt));var Dt=16,Pt=255,Rt=0,Nt={};function Lt(t){vt(t!==1/0,"Cannot perform this action with an infinite size.")}function Bt(t){return null==t?Zt():zt(t)&&!l(t)?t:Zt().withMutations(function(e){var n=r(t);Lt(n.size),n.forEach(function(t,n){return e.set(n,t)})})}function zt(t){return!(!t||!t[Ft])}e(Bt,_t),Bt.prototype.toString=function(){return this.__toString("Map {","}")},Bt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Bt.prototype.set=function(t,e){return Qt(this,t,e)},Bt.prototype.setIn=function(t,e){return this.updateIn(t,m,function(){return e})},Bt.prototype.remove=function(t){return Qt(this,t,m)},Bt.prototype.deleteIn=function(t){return this.updateIn(t,function(){return m})},Bt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Bt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=function t(e,n,r,o){var i=e===m,a=n.next();if(a.done){var s=i?r:e,c=o(s);return c===s?e:c}vt(i||e&&e.set,"invalid keyPath");var u=a.value,l=i?m:e.get(u,m),f=t(l,n,r,o);return f===l?e:f===m?e.remove(u):(i?Zt():e).set(u,f)}(this,nn(t),e,n);return r===m?void 0:r},Bt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Zt()},Bt.prototype.merge=function(){return re(this,void 0,arguments)},Bt.prototype.mergeWith=function(e){var n=t.call(arguments,1);return re(this,e,n)},Bt.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Zt(),function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]})},Bt.prototype.mergeDeep=function(){return re(this,oe,arguments)},Bt.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return re(this,ie(e),n)},Bt.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Zt(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]})},Bt.prototype.sort=function(t){return Ae(He(this,t))},Bt.prototype.sortBy=function(t,e){return Ae(He(this,e,t))},Bt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Bt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},Bt.prototype.asImmutable=function(){return this.__ensureOwner()},Bt.prototype.wasAltered=function(){return this.__altered},Bt.prototype.__iterator=function(t,e){return new Jt(this,t,e)},Bt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},Bt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?$t(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Bt.isMap=zt;var Kt,Ft="@@__IMMUTABLE_MAP__@@",Ut=Bt.prototype;function Wt(t,e){this.ownerID=t,this.entries=e}function Vt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Ht(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function qt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Xt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Jt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Yt(t._root)}function Gt(t,e){return z(t,e[0],e[1])}function Yt(t,e){return{node:t,index:0,__prev:e}}function $t(t,e,n,r){var o=Object.create(Ut);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Zt(){return Kt||(Kt=$t(0))}function Qt(t,e,n){var r,o;if(t._root){var i=w(b),a=w(_);if(r=te(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===m?-1:1:0)}else{if(n===m)return t;o=1,r=new Wt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?$t(o,r):Zt()}function te(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===m?t:(S(s),S(a),new Xt(e,r,[o,i]))}function ee(t){return t.constructor===Xt||t.constructor===qt}function ne(t,e,n,r,o){if(t.keyHash===r)return new qt(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&v,s=(0===n?r:r>>>n)&v,c=a===s?[ne(t,e,n+g,r,o)]:(i=new Xt(e,r,o),a<s?[t,i]:[i,t]);return new Vt(e,1<<a|1<<s,c)}function re(t,e,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],c=r(s);a(s)||(c=c.map(function(t){return ft(t)})),o.push(c)}return ae(t,e,o)}function oe(t,e,n){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):ht(t,e)?t:e}function ie(t){return function(e,n,r){if(e&&e.mergeDeepWith&&a(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return ht(e,o)?e:o}}function ae(t,e,n){return 0===(n=n.filter(function(t){return 0!==t.size})).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,m,function(t){return t===m?n:e(t,n,r)})}:function(e,n){t.set(n,e)},o=0;o<n.length;o++)n[o].forEach(r)}):t.constructor(n[0])}function se(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function ce(t,e,n,r){var o=r?t:x(t);return o[e]=n,o}Ut[Ft]=!0,Ut.delete=Ut.remove,Ut.removeIn=Ut.deleteIn,Wt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(ht(n,o[i][0]))return o[i][1];return r},Wt.prototype.update=function(t,e,n,r,o,i,a){for(var s=o===m,c=this.entries,u=0,l=c.length;u<l&&!ht(r,c[u][0]);u++);var f=u<l;if(f?c[u][1]===o:s)return this;if(S(a),(s||!f)&&S(i),!s||1!==c.length){if(!f&&!s&&c.length>=ue)return function(t,e,n,r){t||(t=new k);for(var o=new Xt(t,Et(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}(t,c,r,o);var p=t&&t===this.ownerID,d=p?c:x(c);return f?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),p?(this.entries=d,this):new Wt(t,d)}},Vt.prototype.get=function(t,e,n,r){void 0===e&&(e=Et(n));var o=1<<((0===t?e:e>>>t)&v),i=this.bitmap;return 0==(i&o)?r:this.nodes[se(i&o-1)].get(t+g,e,n,r)},Vt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=Et(r));var s=(0===e?n:n>>>e)&v,c=1<<s,u=this.bitmap,l=0!=(u&c);if(!l&&o===m)return this;var f=se(u&c-1),p=this.nodes,d=l?p[f]:void 0,h=te(d,t,e+g,n,r,o,i,a);if(h===d)return this;if(!l&&h&&p.length>=le)return function(t,e,n,r,o){for(var i=0,a=new Array(y),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new Ht(t,i+1,a)}(t,p,u,s,h);if(l&&!h&&2===p.length&&ee(p[1^f]))return p[1^f];if(l&&h&&1===p.length&&ee(h))return h;var b=t&&t===this.ownerID,_=l?h?u:u^c:u|c,w=l?h?ce(p,f,h,b):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}(p,f,b):function(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}(p,f,h,b);return b?(this.bitmap=_,this.nodes=w,this):new Vt(t,_,w)},Ht.prototype.get=function(t,e,n,r){void 0===e&&(e=Et(n));var o=(0===t?e:e>>>t)&v,i=this.nodes[o];return i?i.get(t+g,e,n,r):r},Ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=Et(r));var s=(0===e?n:n>>>e)&v,c=o===m,u=this.nodes,l=u[s];if(c&&!l)return this;var f=te(l,t,e+g,n,r,o,i,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<fe)return function(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=e.length;s<u;s++,c<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new Vt(t,o,a)}(t,u,p,s)}else p++;var d=t&&t===this.ownerID,h=ce(u,s,f,d);return d?(this.count=p,this.nodes=h,this):new Ht(t,p,h)},qt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(ht(n,o[i][0]))return o[i][1];return r},qt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=Et(r));var s=o===m;if(n!==this.keyHash)return s?this:(S(a),S(i),ne(this,t,e,n,[r,o]));for(var c=this.entries,u=0,l=c.length;u<l&&!ht(r,c[u][0]);u++);var f=u<l;if(f?c[u][1]===o:s)return this;if(S(a),(s||!f)&&S(i),s&&2===l)return new Xt(t,this.keyHash,c[1^u]);var p=t&&t===this.ownerID,d=p?c:x(c);return f?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),p?(this.entries=d,this):new qt(t,this.keyHash,d)},Xt.prototype.get=function(t,e,n,r){return ht(n,this.entry[0])?this.entry[1]:r},Xt.prototype.update=function(t,e,n,r,o,i,a){var s=o===m,c=ht(r,this.entry[0]);return(c?o===this.entry[1]:s)?this:(S(a),s?void S(i):c?t&&t===this.ownerID?(this.entry[1]=o,this):new Xt(t,this.keyHash,[r,o]):(S(i),ne(this,t,e,Et(r),[r,o])))},Wt.prototype.iterate=qt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},Vt.prototype.iterate=Ht.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},Xt.prototype.iterate=function(t,e){return t(this.entry)},e(Jt,B),Jt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,o=e.index++;if(r.entry){if(0===o)return Gt(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return Gt(t,r.entries[this._reverse?n-o:o])}else if(n=r.nodes.length-1,o<=n){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return Gt(t,i.entry);e=this._stack=Yt(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var ue=y/4,le=y/2,fe=y/4;function pe(t){var e=Se();if(null==t)return e;if(de(t))return t;var n=o(t),r=n.size;return 0===r?e:(Lt(r),r>0&&r<y?we(0,r,g,null,new ye(n.toArray())):e.withMutations(function(t){t.setSize(r),n.forEach(function(e,n){return t.set(n,e)})}))}function de(t){return!(!t||!t[he])}e(pe,wt),pe.of=function(){return this(arguments)},pe.prototype.toString=function(){return this.__toString("List [","]")},pe.prototype.get=function(t,e){if((t=O(this,t))>=0&&t<this.size){var n=Ee(this,t+=this._origin);return n&&n.array[t&v]}return e},pe.prototype.set=function(t,e){return function(t,e,n){if((e=O(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Oe(t,e).set(0,n):Oe(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,o=t._root,i=w(_);return e>=Te(t._capacity)?r=ke(r,t.__ownerID,0,e,n,i):o=ke(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):we(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},pe.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},pe.prototype.insert=function(t,e){return this.splice(t,0,e)},pe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Se()},pe.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Oe(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},pe.prototype.pop=function(){return Oe(this,0,-1)},pe.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Oe(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},pe.prototype.shift=function(){return Oe(this,1)},pe.prototype.merge=function(){return Ce(this,void 0,arguments)},pe.prototype.mergeWith=function(e){var n=t.call(arguments,1);return Ce(this,e,n)},pe.prototype.mergeDeep=function(){return Ce(this,oe,arguments)},pe.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return Ce(this,ie(e),n)},pe.prototype.setSize=function(t){return Oe(this,0,t)},pe.prototype.slice=function(t,e){var n=this.size;return T(t,e,n)?this:Oe(this,A(t,n),I(e,n))},pe.prototype.__iterator=function(t,e){var n=0,r=_e(this,e);return new B(function(){var e=r();return e===be?{value:void 0,done:!0}:z(t,n++,e)})},pe.prototype.__iterate=function(t,e){for(var n,r=0,o=_e(this,e);(n=o())!==be&&!1!==t(n,r++,this););return r},pe.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?we(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},pe.isList=de;var he="@@__IMMUTABLE_LIST__@@",ge=pe.prototype;function ye(t,e){this.array=t,this.ownerID=e}ge[he]=!0,ge.delete=ge.remove,ge.setIn=Ut.setIn,ge.deleteIn=ge.removeIn=Ut.removeIn,ge.update=Ut.update,ge.updateIn=Ut.updateIn,ge.mergeIn=Ut.mergeIn,ge.mergeDeepIn=Ut.mergeDeepIn,ge.withMutations=Ut.withMutations,ge.asMutable=Ut.asMutable,ge.asImmutable=Ut.asImmutable,ge.wasAltered=Ut.wasAltered,ye.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&v;if(r>=this.array.length)return new ye([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-g,n))===a&&i)return this}if(i&&!o)return this;var s=xe(this,t);if(!i)for(var c=0;c<r;c++)s.array[c]=void 0;return o&&(s.array[r]=o),s},ye.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,o=n-1>>>e&v;if(o>=this.array.length)return this;if(e>0){var i=this.array[o];if((r=i&&i.removeAfter(t,e-g,n))===i&&o===this.array.length-1)return this}var a=xe(this,t);return a.array.splice(o+1),r&&(a.array[o]=r),a};var ve,me,be={};function _e(t,e){var n=t._origin,r=t._capacity,o=Te(r),i=t._tail;return a(t._root,t._level,0);function a(t,s,c){return 0===s?function(t,a){var s=a===o?i&&i.array:t&&t.array,c=a>n?0:n-a,u=r-a;return u>y&&(u=y),function(){if(c===u)return be;var t=e?--u:c++;return s&&s[t]}}(t,c):function(t,o,i){var s,c=t&&t.array,u=i>n?0:n-i>>o,l=1+(r-i>>o);return l>y&&(l=y),function(){for(;;){if(s){var t=s();if(t!==be)return t;s=null}if(u===l)return be;var n=e?--l:u++;s=a(c&&c[n],o-g,i+(n<<o))}}}(t,s,c)}}function we(t,e,n,r,o,i,a){var s=Object.create(ge);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function Se(){return ve||(ve=we(0,0,g))}function ke(t,e,n,r,o,i){var a,s=r>>>n&v,c=t&&s<t.array.length;if(!c&&void 0===o)return t;if(n>0){var u=t&&t.array[s],l=ke(u,e,n-g,r,o,i);return l===u?t:((a=xe(t,e)).array[s]=l,a)}return c&&t.array[s]===o?t:(S(i),a=xe(t,e),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function xe(t,e){return e&&t&&e===t.ownerID?t:new ye(t?t.array.slice():[],e)}function Ee(t,e){if(e>=Te(t._capacity))return t._tail;if(e<1<<t._level+g){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&v],r-=g;return n}}function Oe(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new k,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var c=t._level,u=t._root,l=0;a+l<0;)u=new ye(u&&u.array.length?[void 0,u]:[],r),l+=1<<(c+=g);l&&(a+=l,o+=l,s+=l,i+=l);for(var f=Te(i),p=Te(s);p>=1<<c+g;)u=new ye(u&&u.array.length?[u]:[],r),c+=g;var d=t._tail,h=p<f?Ee(t,s-1):p>f?new ye([],r):d;if(d&&p>f&&a<i&&d.array.length){for(var y=u=xe(u,r),m=c;m>g;m-=g){var b=f>>>m&v;y=y.array[b]=xe(y.array[b],r)}y.array[f>>>g&v]=d}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=p)a-=p,s-=p,c=g,u=null,h=h&&h.removeBefore(r,0,a);else if(a>o||p<f){for(l=0;u;){var _=a>>>c&v;if(_!==p>>>c&v)break;_&&(l+=(1<<c)*_),c-=g,u=u.array[_]}u&&a>o&&(u=u.removeBefore(r,c,a-l)),u&&p<f&&(u=u.removeAfter(r,c,p-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=c,t._root=u,t._tail=h,t.__hash=void 0,t.__altered=!0,t):we(a,s,c,u,h)}function Ce(t,e,n){for(var r=[],i=0,s=0;s<n.length;s++){var c=n[s],u=o(c);u.size>i&&(i=u.size),a(c)||(u=u.map(function(t){return ft(t)})),r.push(u)}return i>t.size&&(t=t.setSize(i)),ae(t,e,r)}function Te(t){return t<y?0:t-1>>>g<<g}function Ae(t){return null==t?je():Ie(t)?t:je().withMutations(function(e){var n=r(t);Lt(n.size),n.forEach(function(t,n){return e.set(n,t)})})}function Ie(t){return zt(t)&&l(t)}function Me(t,e,n,r){var o=Object.create(Ae.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function je(){return me||(me=Me(Zt(),Se()))}function De(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),c=void 0!==s;if(n===m){if(!c)return t;a.size>=y&&a.size>=2*i.size?(o=a.filter(function(t,e){return void 0!==t&&s!==e}),r=o.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):Me(r,o)}function Pe(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Re(t){this._iter=t,this.size=t.size}function Ne(t){this._iter=t,this.size=t.size}function Le(t){this._iter=t,this.size=t.size}function Be(t){var e=Qe(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=tn,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return!1!==e(n,t,r)},n)},e.__iteratorUncached=function(e,n){if(e===P){var r=t.__iterator(e,n);return new B(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===D?j:D,n)},e}function ze(t,e,n){var r=Qe(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,m);return i===m?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate(function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)},o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(P,o);return new B(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return z(r,s,e.call(n,a[1],s,t),o)})},r}function Ke(t,e){var n=Qe(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Be(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=tn,n.__iterate=function(e,n){var r=this;return t.__iterate(function(t,n){return e(t,n,r)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function Fe(t,e,n,r){var o=Qe(t);return r&&(o.has=function(r){var o=t.get(r,m);return o!==m&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,m);return i!==m&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate(function(t,i,c){if(e.call(n,t,i,c))return s++,o(t,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(P,i),s=0;return new B(function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(e.call(n,l,u,t))return z(o,r?u:s++,l,i)}})},o}function Ue(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),T(e,n,o))return t;var i=A(e,o),a=I(n,o);if(i!=i||a!=a)return Ue(t.toSeq().cacheResult(),e,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var u=Qe(t);return u.size=0===s?s:t.size&&s||void 0,!r&&ot(t)&&s>=0&&(u.get=function(e,n){return(e=O(this,e))>=0&&e<s?t.get(e+i,n):n}),u.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,u=0;return t.__iterate(function(t,n){if(!c||!(c=a++<i))return u++,!1!==e(t,r?n:u-1,o)&&u!==s}),u},u.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var o=0!==s&&t.__iterator(e,n),a=0,c=0;return new B(function(){for(;a++<i;)o.next();if(++c>s)return{value:void 0,done:!0};var t=o.next();return r||e===D?t:z(e,c-1,e===j?void 0:t.value[1],t)})},u}function We(t,e,n,r){var o=Qe(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return t.__iterate(function(t,i,u){if(!s||!(s=e.call(n,t,i,u)))return c++,o(t,r?i:c-1,a)}),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(P,i),c=!0,u=0;return new B(function(){var t,i,l;do{if((t=s.next()).done)return r||o===D?t:z(o,u++,o===j?void 0:t.value[1],t);var f=t.value;i=f[0],l=f[1],c&&(c=e.call(n,l,i,a))}while(c);return o===P?t:z(o,i,l,t)})},o}function Ve(t,e,n){var r=Qe(t);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function t(c,u){var l=this;c.__iterate(function(o,c){return(!e||u<e)&&a(o)?t(o,u+1):!1===r(o,n?c:i++,l)&&(s=!0),!s},o)}(t,0),i},r.__iteratorUncached=function(r,o){var i=t.__iterator(r,o),s=[],c=0;return new B(function(){for(;i;){var t=i.next();if(!1===t.done){var u=t.value;if(r===P&&(u=u[1]),e&&!(s.length<e)||!a(u))return n?t:z(r,c++,u,t);s.push(i),i=u.__iterator(r,o)}else i=s.pop()}return{value:void 0,done:!0}})},r}function He(t,e,n){e||(e=en);var r=s(t),o=0,i=t.toSeq().map(function(e,r){return[r,e,o++,n?n(e,r,t):e]}).toArray();return i.sort(function(t,n){return e(t[3],n[3])||t[2]-n[2]}).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?X(i):c(t)?J(i):G(i)}function qe(t,e,n){if(e||(e=en),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return Xe(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return Xe(e,t,n)?n:t})}function Xe(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Je(t,e,r){var o=Qe(t);return o.size=new tt(r).map(function(t){return t.size}).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(D,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=r.map(function(t){return t=n(t),W(o?t.reverse():t)}),a=0,s=!1;return new B(function(){var n;return s||(n=i.map(function(t){return t.next()}),s=n.some(function(t){return t.done})),s?{value:void 0,done:!0}:z(t,a++,e.apply(null,n.map(function(t){return t.value})))})},o}function Ge(t,e){return ot(t)?e:t.constructor(e)}function Ye(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function $e(t){return Lt(t.size),E(t)}function Ze(t){return s(t)?r:c(t)?o:i}function Qe(t){return Object.create((s(t)?X:c(t)?J:G).prototype)}function tn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):q.prototype.cacheResult.call(this)}function en(t,e){return t>e?1:t<e?-1:0}function nn(t){var e=W(t);if(!e){if(!H(t))throw new TypeError("Expected iterable or array-like: "+t);e=W(n(t))}return e}function rn(t,e){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(t);!function(t,e){try{e.forEach(function(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){vt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}.bind(void 0,t))}catch(t){}}(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=Bt(i)},o=r.prototype=Object.create(on);return o.constructor=r,r}e(Ae,Bt),Ae.of=function(){return this(arguments)},Ae.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ae.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Ae.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):je()},Ae.prototype.set=function(t,e){return De(this,t,e)},Ae.prototype.remove=function(t){return De(this,t,m)},Ae.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ae.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Ae.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Ae.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?Me(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Ae.isOrderedMap=Ie,Ae.prototype[h]=!0,Ae.prototype.delete=Ae.prototype.remove,e(Pe,X),Pe.prototype.get=function(t,e){return this._iter.get(t,e)},Pe.prototype.has=function(t){return this._iter.has(t)},Pe.prototype.valueSeq=function(){return this._iter.valueSeq()},Pe.prototype.reverse=function(){var t=this,e=Ke(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Pe.prototype.map=function(t,e){var n=this,r=ze(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Pe.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?$e(this):0,function(o){return t(o,e?--n:n++,r)}),e)},Pe.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(D,e),r=e?$e(this):0;return new B(function(){var o=n.next();return o.done?o:z(t,e?--r:r++,o.value,o)})},Pe.prototype[h]=!0,e(Re,J),Re.prototype.includes=function(t){return this._iter.includes(t)},Re.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},Re.prototype.__iterator=function(t,e){var n=this._iter.__iterator(D,e),r=0;return new B(function(){var e=n.next();return e.done?e:z(t,r++,e.value,e)})},e(Ne,G),Ne.prototype.has=function(t){return this._iter.includes(t)},Ne.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},Ne.prototype.__iterator=function(t,e){var n=this._iter.__iterator(D,e);return new B(function(){var e=n.next();return e.done?e:z(t,e.value,e.value,e)})},e(Le,X),Le.prototype.entrySeq=function(){return this._iter.toSeq()},Le.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){Ye(e);var r=a(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},Le.prototype.__iterator=function(t,e){var n=this._iter.__iterator(D,e);return new B(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ye(r);var o=a(r);return z(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}})},Re.prototype.cacheResult=Pe.prototype.cacheResult=Ne.prototype.cacheResult=Le.prototype.cacheResult=tn,e(rn,_t),rn.prototype.toString=function(){return this.__toString(sn(this)+" {","}")},rn.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},rn.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},rn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=an(this,Zt()))},rn.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+sn(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:an(this,n)},rn.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:an(this,e)},rn.prototype.wasAltered=function(){return this._map.wasAltered()},rn.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map(function(t,e){return n.get(e)}).__iterator(t,e)},rn.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map(function(t,e){return n.get(e)}).__iterate(t,e)},rn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?an(this,e,t):(this.__ownerID=t,this._map=e,this)};var on=rn.prototype;function an(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function sn(t){return t._name||t.constructor.name||"Record"}function cn(t){return null==t?gn():un(t)&&!l(t)?t:gn().withMutations(function(e){var n=i(t);Lt(n.size),n.forEach(function(t){return e.add(t)})})}function un(t){return!(!t||!t[fn])}on.delete=on.remove,on.deleteIn=on.removeIn=Ut.removeIn,on.merge=Ut.merge,on.mergeWith=Ut.mergeWith,on.mergeIn=Ut.mergeIn,on.mergeDeep=Ut.mergeDeep,on.mergeDeepWith=Ut.mergeDeepWith,on.mergeDeepIn=Ut.mergeDeepIn,on.setIn=Ut.setIn,on.update=Ut.update,on.updateIn=Ut.updateIn,on.withMutations=Ut.withMutations,on.asMutable=Ut.asMutable,on.asImmutable=Ut.asImmutable,e(cn,St),cn.of=function(){return this(arguments)},cn.fromKeys=function(t){return this(r(t).keySeq())},cn.prototype.toString=function(){return this.__toString("Set {","}")},cn.prototype.has=function(t){return this._map.has(t)},cn.prototype.add=function(t){return dn(this,this._map.set(t,!0))},cn.prototype.remove=function(t){return dn(this,this._map.remove(t))},cn.prototype.clear=function(){return dn(this,this._map.clear())},cn.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter(function(t){return 0!==t.size})).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n<e.length;n++)i(e[n]).forEach(function(e){return t.add(e)})}):this.constructor(e[0])},cn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map(function(t){return i(t)});var n=this;return this.withMutations(function(t){n.forEach(function(n){e.every(function(t){return t.includes(n)})||t.remove(n)})})},cn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map(function(t){return i(t)});var n=this;return this.withMutations(function(t){n.forEach(function(n){e.some(function(t){return t.includes(n)})&&t.remove(n)})})},cn.prototype.merge=function(){return this.union.apply(this,arguments)},cn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},cn.prototype.sort=function(t){return yn(He(this,t))},cn.prototype.sortBy=function(t,e){return yn(He(this,e,t))},cn.prototype.wasAltered=function(){return this._map.wasAltered()},cn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},cn.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},cn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},cn.isSet=un;var ln,fn="@@__IMMUTABLE_SET__@@",pn=cn.prototype;function dn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function hn(t,e){var n=Object.create(pn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function gn(){return ln||(ln=hn(Zt()))}function yn(t){return null==t?wn():vn(t)?t:wn().withMutations(function(e){var n=i(t);Lt(n.size),n.forEach(function(t){return e.add(t)})})}function vn(t){return un(t)&&l(t)}pn[fn]=!0,pn.delete=pn.remove,pn.mergeDeep=pn.merge,pn.mergeDeepWith=pn.mergeWith,pn.withMutations=Ut.withMutations,pn.asMutable=Ut.asMutable,pn.asImmutable=Ut.asImmutable,pn.__empty=gn,pn.__make=hn,e(yn,cn),yn.of=function(){return this(arguments)},yn.fromKeys=function(t){return this(r(t).keySeq())},yn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},yn.isOrderedSet=vn;var mn,bn=yn.prototype;function _n(t,e){var n=Object.create(bn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function wn(){return mn||(mn=_n(je()))}function Sn(t){return null==t?Tn():kn(t)?t:Tn().unshiftAll(t)}function kn(t){return!(!t||!t[En])}bn[h]=!0,bn.__empty=wn,bn.__make=_n,e(Sn,wt),Sn.of=function(){return this(arguments)},Sn.prototype.toString=function(){return this.__toString("Stack [","]")},Sn.prototype.get=function(t,e){var n=this._head;for(t=O(this,t);n&&t--;)n=n.next;return n?n.value:e},Sn.prototype.peek=function(){return this._head&&this._head.value},Sn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Cn(t,e)},Sn.prototype.pushAll=function(t){if(0===(t=o(t)).size)return this;Lt(t.size);var e=this.size,n=this._head;return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Cn(e,n)},Sn.prototype.pop=function(){return this.slice(1)},Sn.prototype.unshift=function(){return this.push.apply(this,arguments)},Sn.prototype.unshiftAll=function(t){return this.pushAll(t)},Sn.prototype.shift=function(){return this.pop.apply(this,arguments)},Sn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Tn()},Sn.prototype.slice=function(t,e){if(T(t,e,this.size))return this;var n=A(t,this.size),r=I(e,this.size);if(r!==this.size)return wt.prototype.slice.call(this,t,e);for(var o=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Cn(o,i)},Sn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Cn(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Sn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},Sn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new B(function(){if(r){var e=r.value;return r=r.next,z(t,n++,e)}return{value:void 0,done:!0}})},Sn.isStack=kn;var xn,En="@@__IMMUTABLE_STACK__@@",On=Sn.prototype;function Cn(t,e,n,r){var o=Object.create(On);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Tn(){return xn||(xn=Cn(0))}function An(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}On[En]=!0,On.withMutations=Ut.withMutations,On.asMutable=Ut.asMutable,On.asImmutable=Ut.asImmutable,On.wasAltered=Ut.wasAltered,n.Iterator=B,An(n,{toArray:function(){Lt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new Re(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new Pe(this,!0)},toMap:function(){return Bt(this.toKeyedSeq())},toObject:function(){Lt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Ae(this.toKeyedSeq())},toOrderedSet:function(){return yn(s(this)?this.valueSeq():this)},toSet:function(){return cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Ne(this)},toSeq:function(){return c(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Sn(s(this)?this.valueSeq():this)},toList:function(){return pe(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){var e=t.call(arguments,0);return Ge(this,function(t,e){var n=s(t),o=[t].concat(e).map(function(t){return a(t)?n&&(t=r(t)):t=n?at(t):st(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===o.length)return t;if(1===o.length){var i=o[0];if(i===t||n&&s(i)||c(t)&&c(i))return i}var u=new tt(o);return n?u=u.toKeyedSeq():c(t)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=o.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),u}(this,e))},includes:function(t){return this.some(function(e){return ht(e,t)})},entries:function(){return this.__iterator(P)},every:function(t,e){Lt(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1}),n},filter:function(t,e){return Ge(this,Fe(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate(function(r,o,i){if(t.call(e,r,o,i))return n=[o,r],!1}),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return Lt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Lt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""}),e},keys:function(){return this.__iterator(j)},map:function(t,e){return Ge(this,ze(this,t,e))},reduce:function(t,e,n){var r,o;return Lt(this.size),arguments.length<2?o=!0:r=e,this.__iterate(function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ge(this,Ke(this,!0))},slice:function(t,e){return Ge(this,Ue(this,t,e,!0))},some:function(t,e){return!this.every(Pn(t),e)},sort:function(t){return Ge(this,He(this,t))},values:function(){return this.__iterator(D)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return E(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Bt().asMutable();return t.__iterate(function(o,i){r.update(e.call(n,o,i,t),0,function(t){return t+1})}),r.asImmutable()}(this,t,e)},equals:function(t){return gt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new tt(t._cache);var e=t.toSeq().map(Dn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Pn(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(C)},flatMap:function(t,e){return Ge(this,function(t,e,n){var r=Ze(t);return t.toSeq().map(function(o,i){return r(e.call(n,o,i,t))}).flatten(!0)}(this,t,e))},flatten:function(t){return Ge(this,Ve(this,t,!0))},fromEntrySeq:function(){return new Le(this)},get:function(t,e){return this.find(function(e,n){return ht(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,o=nn(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,m):m)===m)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=s(t),o=(l(t)?Ae():Bt()).asMutable();t.__iterate(function(i,a){o.update(e.call(n,i,a,t),function(t){return(t=t||[]).push(r?[a,i]:i),t})});var i=Ze(t);return o.map(function(e){return Ge(t,i(e))})}(this,t,e)},has:function(t){return this.get(t,m)!==m},hasIn:function(t){return this.getIn(t,m)!==m},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return qe(this,t)},maxBy:function(t,e){return qe(this,e,t)},min:function(t){return qe(this,t?Rn(t):Bn)},minBy:function(t,e){return qe(this,e?Rn(e):Bn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ge(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ge(this,We(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Pn(t),e)},sortBy:function(t,e){return Ge(this,He(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ge(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ge(this,function(t,e,n){var r=Qe(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate(function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(P,o),s=!0;return new B(function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,c=o[0],u=o[1];return e.call(n,u,c,i)?r===P?t:z(r,c,u,t):(s=!1,{value:void 0,done:!0})})},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Pn(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=l(t),n=s(t),r=e?1:0;return function(t,e){return e=kt(e,3432918353),e=kt(e<<15|e>>>-15,461845907),e=kt(e<<13|e>>>-13,5),e=kt((e=(e+3864292196|0)^t)^e>>>16,2246822507),e=xt((e=kt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+zn(Et(t),Et(e))|0}:function(t,e){r=r+zn(Et(t),Et(e))|0}:e?function(t){r=31*r+Et(t)|0}:function(t){r=r+Et(t)|0}),r)}(this))}});var In=n.prototype;In[f]=!0,In[L]=In.values,In.__toJS=In.toArray,In.__toStringMapper=Nn,In.inspect=In.toSource=function(){return this.toString()},In.chain=In.flatMap,In.contains=In.includes,function(){try{Object.defineProperty(In,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),An(r,{flip:function(){return Ge(this,Be(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey(function(e){return ht(e,t)})},lastKeyOf:function(t){return this.findLastKey(function(e){return ht(e,t)})},mapEntries:function(t,e){var n=this,r=0;return Ge(this,this.toSeq().map(function(o,i){return t.call(e,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ge(this,this.toSeq().flip().map(function(r,o){return t.call(e,r,o,n)}).flip())}});var Mn=r.prototype;function jn(t,e){return e}function Dn(t,e){return[e,t]}function Pn(t){return function(){return!t.apply(this,arguments)}}function Rn(t){return function(){return-t.apply(this,arguments)}}function Nn(t){return"string"==typeof t?JSON.stringify(t):t}function Ln(){return x(arguments)}function Bn(t,e){return t<e?1:t>e?-1:0}function zn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return Mn[p]=!0,Mn[L]=In.entries,Mn.__toJS=In.toObject,Mn.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Nn(t)},An(o,{toKeyedSeq:function(){return new Pe(this,!1)},filter:function(t,e){return Ge(this,Fe(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Ge(this,Ke(this,!1))},slice:function(t,e){return Ge(this,Ue(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=A(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ge(this,1===n?r:r.concat(x(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Ge(this,Ve(this,t,!1))},get:function(t,e){return(t=O(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return(t=O(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ge(this,function(t,e){var n=Qe(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate(function(t,r){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)},r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(D,r),a=0;return new B(function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?z(n,a++,e):z(n,a++,o.value,o)})},n}(this,t))},interleave:function(){var t=[this].concat(x(arguments)),e=Je(this.toSeq(),J.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ge(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ge(this,We(this,t,e,!1))},zip:function(){return Ge(this,Je(this,Ln,[this].concat(x(arguments))))},zipWith:function(t){var e=x(arguments);return e[0]=this,Ge(this,Je(this,t,e))}}),o.prototype[d]=!0,o.prototype[h]=!0,An(i,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=In.includes,An(X,r.prototype),An(J,o.prototype),An(G,i.prototype),An(_t,r.prototype),An(wt,o.prototype),An(St,i.prototype),{Iterable:n,Seq:q,Collection:bt,Map:Bt,OrderedMap:Ae,List:pe,Stack:Sn,Set:cn,OrderedSet:yn,Record:rn,Range:mt,Repeat:yt,is:ht,fromJS:ft}}()},function(t,e,n){"use strict";var r=function(t){};t.exports=function(t,e,n,o,i,a,s,c){if(r(e),!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,i,a,s,c],f=0;(u=new Error(e.replace(/%s/g,function(){return l[f++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};var o=n(72),i=n(52),a=n(116),s=n(3),c=n(31),u=s.OrderedSet,l=s.Record,f=s.Stack,p=l({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:f(),selection:null,treeMap:null,undoStack:f()}),d=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._immutable=e}return t.createEmpty=function(e){return t.createWithContent(i.createFromText(""),e)},t.createWithContent=function(e,n){var r=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:f(),redoStack:f(),decorator:n||null,selection:c.createEmpty(r)})},t.create=function(e){var n=e.currentContent,o=e.decorator,i=r({},e,{treeMap:g(n,o),directionMap:a.getDirectionMap(n)});return new t(new p(i))},t.set=function(e,n){return new t(e.getImmutable().withMutations(function(t){var r=t.get("decorator"),i=r;null===n.decorator?i=null:n.decorator&&(i=n.decorator);var a=n.currentContent||e.getCurrentContent();if(i!==r){var s,c=t.get("treeMap");return s=i&&r?function(t,e,n,r,i){return n.merge(e.toSeq().filter(function(e){return r.getDecorations(e,t)!==i.getDecorations(e,t)}).map(function(e){return o.generate(t,e,r)}))}(a,a.getBlockMap(),c,i,r):g(a,i),void t.merge({decorator:i,treeMap:s,nativelyRenderedContent:null})}a!==e.getCurrentContent()&&t.set("treeMap",function(t,e,n,r){var i=t.getCurrentContent().set("entityMap",n),a=i.getBlockMap();return t.getImmutable().get("treeMap").merge(e.toSeq().filter(function(t,e){return t!==a.get(e)}).map(function(t){return o.generate(i,t,r)}))}(e,a.getBlockMap(),a.getEntityMap(),i)),t.merge(n)}))},t.prototype.toJS=function(){return this.getImmutable().toJS()},t.prototype.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.prototype.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.prototype.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.prototype.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.prototype.getSelection=function(){return this.getImmutable().get("selection")},t.prototype.getDecorator=function(){return this.getImmutable().get("decorator")},t.prototype.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.prototype.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.prototype.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.prototype.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.prototype.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,n){return t.set(e,{inlineStyleOverride:n})},t.prototype.getCurrentInlineStyle=function(){var t=this.getInlineStyleOverride();if(null!=t)return t;var e=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);if(r>0)return o.getInlineStyleAt(r-1);if(o.getLength())return o.getInlineStyleAt(0);return y(t,n)}(e,n):function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);if(r<o.getLength())return o.getInlineStyleAt(r);if(r>0)return o.getInlineStyleAt(r-1);return y(t,n)}(e,n)},t.prototype.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.prototype.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.prototype.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent().getBlockMap().last(),e=t.getLength();return this.getSelection().hasEdgeWithin(t.getKey(),e,e)},t.prototype.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(t,e){return h(t,e,!1)},t.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),h(t,e,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return t.acceptSelection(e,new c({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){if(e.getCurrentContent()===n)return e;var o="insert-characters"!==r,i=a.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var s=e.getSelection(),c=e.getCurrentContent(),u=e.getUndoStack(),l=n;s!==c.getSelectionAfter()||function(t,e){var n=t.getLastChangeType();return e!==n||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}(e,r)?(u=u.push(c),l=l.set("selectionBefore",s)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",c.getSelectionBefore()));var p=e.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(p=null);var d={currentContent:l,directionMap:i,undoStack:u,redoStack:f(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:p};return t.set(e,d)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=a.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:e.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=a.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:e.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},t.prototype.getImmutable=function(){return this._immutable},t}();function h(t,e,n){return d.set(t,{selection:e,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function g(t,e){return t.getBlockMap().map(function(n){return o.generate(t,n,e)}).toOrderedMap()}function y(t,e){var n=t.getBlockMap().reverse().skipUntil(function(t,n){return n===e}).skip(1).skipUntil(function(t,e){return t.getLength()}).first();return n?n.getInlineStyleAt(n.getLength()-1):u()}t.exports=d},function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return b});var r=n(29),o=n(1),i=n.n(o),a=n(0),s=n.n(a);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){u(t,e,n[e])})}return t}function f(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function p(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var d="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};var h,g=(function(t){var e,n,r,o,i,a,s,c,u,l,f,p,h,g,y;e=d,n=function(t,e,r){if(!c(e)||l(e)||f(e)||p(e)||s(e))return e;var o,i=0,a=0;if(u(e))for(o=[],a=e.length;i<a;i++)o.push(n(t,e[i],r));else for(var d in o={},e)Object.prototype.hasOwnProperty.call(e,d)&&(o[t(d,r)]=n(t,e[d],r));return o},r=function(t){return h(t)?t:(t=t.replace(/[\-_\s]+(.)?/g,function(t,e){return e?e.toUpperCase():""})).substr(0,1).toLowerCase()+t.substr(1)},o=function(t){var e=r(t);return e.substr(0,1).toUpperCase()+e.substr(1)},i=function(t,e){return function(t,e){var n=(e=e||{}).separator||"_",r=e.split||/(?=[A-Z])/;return t.split(r).join(n)}(t,e).toLowerCase()},a=Object.prototype.toString,s=function(t){return"function"==typeof t},c=function(t){return t===Object(t)},u=function(t){return"[object Array]"==a.call(t)},l=function(t){return"[object Date]"==a.call(t)},f=function(t){return"[object RegExp]"==a.call(t)},p=function(t){return"[object Boolean]"==a.call(t)},h=function(t){return(t-=0)==t},g=function(t,e){var n=e&&"process"in e?e.process:e;return"function"!=typeof n?t:function(e,r){return n(e,t,r)}},y={camelize:r,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(t,e){return n(g(r,e),t)},decamelizeKeys:function(t,e){return n(g(i,e),t,e)},pascalizeKeys:function(t,e){return n(g(o,e),t)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}},t.exports?t.exports=y:e.humps=y}(h={exports:{}},h.exports),h.exports);var y=!1;try{y=!0}catch(t){}function v(t,e){return Array.isArray(e)&&e.length>0||!Array.isArray(e)&&e?u({},t,e):{}}function m(t){return null===t?null:"object"===c(t)&&t.prefix&&t.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:"fas",iconName:t}:void 0}function b(t){var e=t.icon,n=t.mask,o=t.symbol,i=t.className,a=t.title,s=m(e),c=v("classes",[].concat(p(function(t){var e,n=(u(e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-inverse":t.inverse,"fa-border":t.border,"fa-li":t.listItem,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip},"fa-".concat(t.size),null!==t.size),u(e,"fa-rotate-".concat(t.rotation),null!==t.rotation),u(e,"fa-pull-".concat(t.pull),null!==t.pull),e);return Object.keys(n).map(function(t){return n[t]?t:null}).filter(function(t){return t})}(t)),p(i.split(" ")))),f=v("transform","string"==typeof t.transform?r.b.transform(t.transform):t.transform),d=v("mask",m(n)),h=Object(r.a)(s,l({},c,f,d,{symbol:o,title:a}));if(!h)return function(){var t;!y&&console&&"function"==typeof console.error&&(t=console).error.apply(t,arguments)}("Could not find icon",s),null;var g=h.abstract,w={};return Object.keys(t).forEach(function(e){b.defaultProps.hasOwnProperty(e)||(w[e]=t[e])}),_(g[0],w)}b.displayName="FontAwesomeIcon",b.propTypes={border:i.a.bool,className:i.a.string,mask:i.a.oneOfType([i.a.object,i.a.array,i.a.string]),fixedWidth:i.a.bool,inverse:i.a.bool,flip:i.a.oneOf(["horizontal","vertical","both"]),icon:i.a.oneOfType([i.a.object,i.a.array,i.a.string]),listItem:i.a.bool,pull:i.a.oneOf(["right","left"]),pulse:i.a.bool,rotation:i.a.oneOf([90,180,270]),size:i.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:i.a.bool,symbol:i.a.oneOfType([i.a.bool,i.a.string]),title:i.a.string,transform:i.a.oneOfType([i.a.string,i.a.object])},b.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null};var _=function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map(function(n){return t(e,n)}),i=Object.keys(n.attributes||{}).reduce(function(t,e){var r=n.attributes[e];switch(e){case"class":t.attrs.className=r,delete n.attributes.class;break;case"style":t.attrs.style=r.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,e){var n,r=e.indexOf(":"),o=g.camelize(e.slice(0,r)),i=e.slice(r+1).trim();return o.startsWith("webkit")?t[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=i:t[o]=i,t},{});break;default:0===e.indexOf("aria-")||0===e.indexOf("data-")?t.attrs[e.toLowerCase()]=r:t.attrs[g.camelize(e)]=r}return t},{attrs:{}}),a=r.style,s=void 0===a?{}:a,c=f(r,["style"]);return i.attrs.style=l({},i.attrs.style,s),e.apply(void 0,[n.tag,l({},i.attrs,c)].concat(p(o)))}.bind(null,s.a.createElement)}).call(this,n(11))},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o}),n.d(e,"c",function(){return i}),n.d(e,"d",function(){return a}),n.d(e,"e",function(){return s}),n.d(e,"f",function(){return c}),n.d(e,"g",function(){return u}),n.d(e,"h",function(){return l}),n.d(e,"i",function(){return f}),n.d(e,"j",function(){return p}),n.d(e,"k",function(){return d}),n.d(e,"l",function(){return h}),n.d(e,"m",function(){return g}),n.d(e,"n",function(){return y}),n.d(e,"o",function(){return v}),n.d(e,"p",function(){return m});var r={prefix:"fas",iconName:"backward",icon:[512,512,[],"f04a","M11.5 280.6l192 160c20.6 17.2 52.5 2.8 52.5-24.6V96c0-27.4-31.9-41.8-52.5-24.6l-192 160c-15.3 12.8-15.3 36.4 0 49.2zm256 0l192 160c20.6 17.2 52.5 2.8 52.5-24.6V96c0-27.4-31.9-41.8-52.5-24.6l-192 160c-15.3 12.8-15.3 36.4 0 49.2z"]},o={prefix:"fas",iconName:"cog",icon:[512,512,[],"f013","M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6c4.9-2.8 7.1-8.6 5.5-14-11.1-35.6-30-67.8-54.7-94.6-3.8-4.1-10-5.1-14.8-2.3L380.8 110c-17.9-15.4-38.5-27.3-60.8-35.1V25.8c0-5.6-3.9-10.5-9.4-11.7-36.7-8.2-74.3-7.8-109.2 0-5.5 1.2-9.4 6.1-9.4 11.7V75c-22.2 7.9-42.8 19.8-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3-24.7 26.7-43.6 58.9-54.7 94.6-1.7 5.4.6 11.2 5.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6c-4.9 2.8-7.1 8.6-5.5 14 11.1 35.6 30 67.8 54.7 94.6 3.8 4.1 10 5.1 14.8 2.3l42.6-24.6c17.9 15.4 38.5 27.3 60.8 35.1v49.2c0 5.6 3.9 10.5 9.4 11.7 36.7 8.2 74.3 7.8 109.2 0 5.5-1.2 9.4-6.1 9.4-11.7v-49.2c22.2-7.9 42.8-19.8 60.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3 24.7-26.7 43.6-58.9 54.7-94.6 1.5-5.5-.7-11.3-5.6-14.1zM256 336c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"]},i={prefix:"fas",iconName:"forward",icon:[512,512,[],"f04e","M500.5 231.4l-192-160C287.9 54.3 256 68.6 256 96v320c0 27.4 31.9 41.8 52.5 24.6l192-160c15.3-12.8 15.3-36.4 0-49.2zm-256 0l-192-160C31.9 54.3 0 68.6 0 96v320c0 27.4 31.9 41.8 52.5 24.6l192-160c15.3-12.8 15.3-36.4 0-49.2z"]},a={prefix:"fas",iconName:"i-cursor",icon:[256,512,[],"f246","M256 52.048V12.065C256 5.496 250.726.148 244.158.066 211.621-.344 166.469.011 128 37.959 90.266.736 46.979-.114 11.913.114 5.318.157 0 5.519 0 12.114v39.645c0 6.687 5.458 12.078 12.145 11.998C38.111 63.447 96 67.243 96 112.182V224H60c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h36v112c0 44.932-56.075 48.031-83.95 47.959C5.404 447.942 0 453.306 0 459.952v39.983c0 6.569 5.274 11.917 11.842 11.999 32.537.409 77.689.054 116.158-37.894 37.734 37.223 81.021 38.073 116.087 37.845 6.595-.043 11.913-5.405 11.913-12V460.24c0-6.687-5.458-12.078-12.145-11.998C217.889 448.553 160 444.939 160 400V288h36c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-36V112.182c0-44.932 56.075-48.213 83.95-48.142 6.646.018 12.05-5.346 12.05-11.992z"]},s={prefix:"fas",iconName:"keyboard",icon:[576,512,[],"f11c","M528 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h480c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM128 180v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm288 0v-40c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h232c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12z"]},c={prefix:"fas",iconName:"mouse-pointer",icon:[320,512,[],"f245","M302.189 329.126H196.105l55.831 135.993c3.889 9.428-.555 19.999-9.444 23.999l-49.165 21.427c-9.165 4-19.443-.571-23.332-9.714l-53.053-129.136-86.664 89.138C18.729 472.71 0 463.554 0 447.977V18.299C0 1.899 19.921-6.096 30.277 5.443l284.412 292.542c11.472 11.179 3.007 31.141-12.5 31.141z"]},u={prefix:"fas",iconName:"pause",icon:[448,512,[],"f04c","M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"]},l={prefix:"fas",iconName:"play",icon:[448,512,[],"f04b","M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"]},f={prefix:"fas",iconName:"question-circle",icon:[512,512,[],"f059","M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"]},p={prefix:"fas",iconName:"save",icon:[448,512,[],"f0c7","M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z"]},d={prefix:"fas",iconName:"tv",icon:[640,512,[],"f26c","M592 0H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h245.1v32h-160c-17.7 0-32 14.3-32 32s14.3 32 32 32h384c17.7 0 32-14.3 32-32s-14.3-32-32-32h-160v-32H592c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm-16 352H64V64h512v288z"]},h={prefix:"fas",iconName:"undo",icon:[512,512,[],"f0e2","M212.333 224.333H12c-6.627 0-12-5.373-12-12V12C0 5.373 5.373 0 12 0h48c6.627 0 12 5.373 12 12v78.112C117.773 39.279 184.26 7.47 258.175 8.007c136.906.994 246.448 111.623 246.157 248.532C504.041 393.258 393.12 504 256.333 504c-64.089 0-122.496-24.313-166.51-64.215-5.099-4.622-5.334-12.554-.467-17.42l33.967-33.967c4.474-4.474 11.662-4.717 16.401-.525C170.76 415.336 211.58 432 256.333 432c97.268 0 176-78.716 176-176 0-97.267-78.716-176-176-176-58.496 0-110.28 28.476-142.274 72.333h98.274c6.627 0 12 5.373 12 12v48c0 6.627-5.373 12-12 12z"]},g={prefix:"fas",iconName:"user-edit",icon:[640,512,[],"f4ff","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h274.9c-2.4-6.8-3.4-14-2.6-21.3l6.8-60.9 1.2-11.1 7.9-7.9 77.3-77.3c-24.5-27.7-60-45.5-99.9-45.5zm45.3 145.3l-6.8 61c-1.1 10.2 7.5 18.8 17.6 17.6l60.9-6.8 137.9-137.9-71.7-71.7-137.9 137.8zM633 268.9L595.1 231c-9.3-9.3-24.5-9.3-33.8 0l-37.8 37.8-4.1 4.1 71.8 71.7 41.8-41.8c9.3-9.4 9.3-24.5 0-33.9z"]},y={prefix:"fas",iconName:"volume-mute",icon:[512,512,[],"f6a9","M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z"]},v={prefix:"fas",iconName:"volume-up",icon:[576,512,[],"f028","M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z"]},m={prefix:"fas",iconName:"window-close",icon:[512,512,[],"f410","M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-83.6 290.5c4.8 4.8 4.8 12.6 0 17.4l-40.5 40.5c-4.8 4.8-12.6 4.8-17.4 0L256 313.3l-66.5 67.1c-4.8 4.8-12.6 4.8-17.4 0l-40.5-40.5c-4.8-4.8-4.8-12.6 0-17.4l67.1-66.5-67.1-66.5c-4.8-4.8-4.8-12.6 0-17.4l40.5-40.5c4.8-4.8 12.6-4.8 17.4 0l66.5 67.1 66.5-67.1c4.8-4.8 12.6-4.8 17.4 0l40.5 40.5c4.8 4.8 4.8 12.6 0 17.4L313.3 256l67.1 66.5z"]}},function(t,e,n){"use strict";n.r(e);var r=function(t,e){function n(t){return 10>t?"0".concat(parseInt(t)):parseInt(t)}var r=25;void 0!==e&&(r=e);var o=function(t,e){return+(1/e*Math.floor(+(e*t).toPrecision(12))).toFixed(2)}(t,r),i=Math.floor(o),a=((o-i)*r).toFixed(2);return"".concat(n(i/60/60%60),":").concat(n(i/60%60),":").concat(n(i%60),":").concat(n(a))},o=function(t,e){var n=25;return void 0!==e&&(n=e),+(+function(t,e){var n=t.split(":"),r=parseInt(n[3]);return r+=parseInt(n[2])*e,r+=parseInt(n[1])*(60*e),r+=parseInt(n[0])*(60*e*60)}(t,n)/n).toFixed(2)},i=function(t){return 1===t.length},a=function(t){if("string"!=typeof t)return t;switch(t.split(":").length){case 4:return t;case 2:return i(t.split(":")[0])?"00:0".concat(t,":00"):"00:".concat(t,":00");case 3:return"".concat(t,":00");default:return function(t){return t.includes(".")}(t)?i(t.split(".")[0])?"00:0".concat(t.split(".")[0],":").concat(t.split(".")[1],":00"):"00:".concat(t.replace(".",":"),":00"):i(t)?"00:00:0".concat(t,":00"):"00:00:".concat(t,":00")}};n.d(e,"timecodeToSeconds",function(){return s}),n.d(e,"shortTimecode",function(){return c}),n.d(e,"secondsToTimecode",function(){return r});var s=function(t){if("string"==typeof t){var e=a(t);return o(e)}return parseFloat(t)},c=function(t){return r(t).slice(0,-3)}},function(t,e,n){"use strict";var r=n(103),o=n(33),i=n(16),a=n(119),s=n(27),c=n(52),u=n(55),l=n(75),f=n(120),p=n(77),d=n(41),h=n(15),g=n(73),y=n(5),v=n(62),m=n(91),b=n(31),_=n(181),w={Editor:f,EditorBlock:p,EditorState:y,CompositeDecorator:a,Entity:d,EntityInstance:g,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:s,ContentState:c,SelectionState:b,AtomicBlockUtils:r,KeyBindingUtil:v,Modifier:h,RichUtils:m,DefaultDraftBlockRenderMap:u,DefaultDraftInlineStyle:l,convertFromHTML:n(89),convertFromRaw:n(184),convertToRaw:_,genKey:n(23),getDefaultKeyBinding:n(92),getVisibleSelectionRect:n(189)};t.exports=w},function(t,e,n){var r=n(203);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,o);r.locals&&(t.exports=r.locals)},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(197);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[n].concat(i).concat([o]).join("\n")}var a;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];null!=a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return yt}),n.d(e,"c",function(){return Qt});var r=n(100),o=n.n(r),i=n(206),a=n.n(i),s=n(0),c=n.n(s),u=n(207),l=n(101),f=n(102),p=(n(1),n(30),n(208)),d=function(t,e){for(var n=[t[0]],r=0,o=e.length;r<o;r+=1)n.push(e[r],t[r+1]);return n},h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},y=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},m=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},b=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},_=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},w=function(t){return"object"===(void 0===t?"undefined":h(t))&&t.constructor===Object},S=Object.freeze([]),k=Object.freeze({});function x(t){return"function"==typeof t}function E(t){return t.displayName||t.name||"Component"}function O(t){return t&&"string"==typeof t.styledComponentId}var C=void 0!==t&&t.env.SC_ATTR||"data-styled",T="undefined"!=typeof window&&"HTMLElement"in window,A="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||!1;var I=function(t){function e(n){g(this,e);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var a=_(this,t.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+n+" for more information. "+(o?"Additional arguments: "+o.join(", "):"")));return _(a)}return m(e,t),e}(Error),M=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,j=function(t){var e=""+(t||""),n=[];return e.replace(M,function(t,e,r){return n.push({componentId:e,matchIndex:r}),t}),n.map(function(t,r){var o=t.componentId,i=t.matchIndex,a=n[r+1];return{componentId:o,cssFromDOM:a?e.slice(i,a.matchIndex):e.slice(i)}})},D=/^\s*\/\/.*$/gm,P=new o.a({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),R=new o.a({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),N=[],L=function(t){if(-2===t){var e=N;return N=[],e}},B=a()(function(t){N.push(t)}),z=void 0,K=void 0,F=void 0,U=function(t,e,n){return e>0&&-1!==n.slice(0,e).indexOf(K)&&n.slice(e-K.length,e)!==K?"."+z:t};R.use([function(t,e,n){2===t&&n.length&&n[0].lastIndexOf(K)>0&&(n[0]=n[0].replace(F,U))},B,L]),P.use([B,L]);function W(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",o=t.join("").replace(D,""),i=e&&n?n+" "+e+" { "+o+" }":o;return z=r,K=e,F=new RegExp("\\"+K+"\\b","g"),R(n||!e?"":e,i)}var V=function(){return n.nc},H=function(t,e,n){n&&((t[e]||(t[e]=Object.create(null)))[n]=!0)},q=function(t,e){t[e]=Object.create(null)},X=function(t){return function(e,n){return void 0!==t[e]&&t[e][n]}},J=function(t){var e="";for(var n in t)e+=Object.keys(t[n]).join(" ")+" ";return e.trim()},G=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets.length,n=0;n<e;n+=1){var r=document.styleSheets[n];if(r.ownerNode===t)return r}throw new I(10)},Y=function(t,e,n){if(!e)return!1;var r=t.cssRules.length;try{t.insertRule(e,n<=r?n:r)}catch(t){return!1}return!0},$=function(t){return"\n/* sc-component-id: "+t+" */\n"},Z=function(t,e){for(var n=0,r=0;r<=e;r+=1)n+=t[r];return n},Q=function(t,e){return function(n){var r=V();return"<style "+[r&&'nonce="'+r+'"',C+'="'+J(e)+'"','data-styled-version="4.2.0"',n].filter(Boolean).join(" ")+">"+t()+"</style>"}},tt=function(t,e){return function(){var n,r=((n={})[C]=J(e),n["data-styled-version"]="4.2.0",n),o=V();return o&&(r.nonce=o),c.a.createElement("style",v({},r,{dangerouslySetInnerHTML:{__html:t()}}))}},et=function(t){return function(){return Object.keys(t)}},nt=function(t){return document.createTextNode($(t))},rt=function t(e,n){var r=void 0===e?Object.create(null):e,o=void 0===n?Object.create(null):n,i=function(t){var e=o[t];return void 0!==e?e:o[t]=[""]},a=function(){var t="";for(var e in o){var n=o[e][0];n&&(t+=$(e)+n)}return t};return{clone:function(){var e=function(t){var e=Object.create(null);for(var n in t)e[n]=v({},t[n]);return e}(r),n=Object.create(null);for(var i in o)n[i]=[o[i][0]];return t(e,n)},css:a,getIds:et(o),hasNameForId:X(r),insertMarker:i,insertRules:function(t,e,n){i(t)[0]+=e.join(" "),H(r,t,n)},removeRules:function(t){var e=o[t];void 0!==e&&(e[0]="",q(r,t))},sealed:!1,styleTag:null,toElement:tt(a,r),toHTML:Q(a,r)}},ot=function(t,e,n,r,o){if(T&&!n){var i=function(t,e,n){var r=document.createElement("style");r.setAttribute(C,""),r.setAttribute("data-styled-version","4.2.0");var o=V();if(o&&r.setAttribute("nonce",o),r.appendChild(document.createTextNode("")),t&&!e)t.appendChild(r);else{if(!e||!t||!e.parentNode)throw new I(6);e.parentNode.insertBefore(r,n?e:e.nextSibling)}return r}(t,e,r);return A?function(t,e){var n=Object.create(null),r=Object.create(null),o=void 0!==e,i=!1,a=function(e){var o=r[e];return void 0!==o?o:(r[e]=nt(e),t.appendChild(r[e]),n[e]=Object.create(null),r[e])},s=function(){var t="";for(var e in r)t+=r[e].data;return t};return{clone:function(){throw new I(5)},css:s,getIds:et(r),hasNameForId:X(n),insertMarker:a,insertRules:function(t,r,s){for(var c=a(t),u=[],l=r.length,f=0;f<l;f+=1){var p=r[f],d=o;if(d&&-1!==p.indexOf("@import"))u.push(p);else{d=!1;var h=f===l-1?"":" ";c.appendData(""+p+h)}}H(n,t,s),o&&u.length>0&&(i=!0,e().insertRules(t+"-import",u))},removeRules:function(a){var s=r[a];if(void 0!==s){var c=nt(a);t.replaceChild(c,s),r[a]=c,q(n,a),o&&i&&e().removeRules(a+"-import")}},sealed:!1,styleTag:t,toElement:tt(s,n),toHTML:Q(s,n)}}(i,o):function(t,e){var n=Object.create(null),r=Object.create(null),o=[],i=void 0!==e,a=!1,s=function(t){var e=r[t];return void 0!==e?e:(r[t]=o.length,o.push(0),q(n,t),r[t])},c=function(){var e=G(t).cssRules,n="";for(var i in r){n+=$(i);for(var a=r[i],s=Z(o,a),c=s-o[a];c<s;c+=1){var u=e[c];void 0!==u&&(n+=u.cssText)}}return n};return{clone:function(){throw new I(5)},css:c,getIds:et(r),hasNameForId:X(n),insertMarker:s,insertRules:function(r,c,u){for(var l=s(r),f=G(t),p=Z(o,l),d=0,h=[],g=c.length,y=0;y<g;y+=1){var v=c[y],m=i;m&&-1!==v.indexOf("@import")?h.push(v):Y(f,v,p+d)&&(m=!1,d+=1)}i&&h.length>0&&(a=!0,e().insertRules(r+"-import",h)),o[l]+=d,H(n,r,u)},removeRules:function(s){var c=r[s];if(void 0!==c){var u=o[c];!function(t,e,n){for(var r=e-n,o=e;o>r;o-=1)t.deleteRule(o)}(G(t),Z(o,c)-1,u),o[c]=0,q(n,s),i&&a&&e().removeRules(s+"-import")}},sealed:!1,styleTag:t,toElement:tt(c,n),toHTML:Q(c,n)}}(i,o)}return rt()},it=/\s+/,at=void 0;at=T?A?40:1e3:-1;var st=0,ct=void 0,ut=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:T?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g(this,t),this.getImportRuleTag=function(){var t=e.importRuleTag;if(void 0!==t)return t;var n=e.tags[0];return e.importRuleTag=ot(e.target,n?n.styleTag:null,e.forceServer,!0)},st+=1,this.id=st,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return t.prototype.rehydrate=function(){if(!T||this.forceServer)return this;var t=[],e=[],n=!1,r=document.querySelectorAll("style["+C+'][data-styled-version="4.2.0"]'),o=r.length;if(!o)return this;for(var i=0;i<o;i+=1){var a=r[i];n||(n=!!a.getAttribute("data-styled-streamed"));for(var s,c=(a.getAttribute(C)||"").trim().split(it),u=c.length,l=0;l<u;l+=1)s=c[l],this.rehydratedNames[s]=!0;e.push.apply(e,j(a.textContent)),t.push(a)}var f=e.length;if(!f)return this;var p=this.makeTag(null);!function(t,e,n){for(var r=0,o=n.length;r<o;r+=1){var i=n[r],a=i.componentId,s=i.cssFromDOM,c=P("",s);t.insertRules(a,c)}for(var u=0,l=e.length;u<l;u+=1){var f=e[u];f.parentNode&&f.parentNode.removeChild(f)}}(p,t,e),this.capacity=Math.max(1,at-f),this.tags.push(p);for(var d=0;d<f;d+=1)this.tagMap[e[d].componentId]=p;return this},t.reset=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];ct=new t(void 0,e).rehydrate()},t.prototype.clone=function(){var e=new t(this.target,this.forceServer);return this.clones.push(e),e.tags=this.tags.map(function(t){for(var n=t.getIds(),r=t.clone(),o=0;o<n.length;o+=1)e.tagMap[n[o]]=r;return r}),e.rehydratedNames=v({},this.rehydratedNames),e.deferred=v({},this.deferred),e},t.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach(function(t){t.sealed=!0})},t.prototype.makeTag=function(t){var e=t?t.styleTag:null;return ot(this.target,e,this.forceServer,!1,this.getImportRuleTag)},t.prototype.getTagForId=function(t){var e=this.tagMap[t];if(void 0!==e&&!e.sealed)return e;var n=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=at,n=this.makeTag(n),this.tags.push(n)),this.tagMap[t]=n},t.prototype.hasId=function(t){return void 0!==this.tagMap[t]},t.prototype.hasNameForId=function(t,e){if(void 0===this.ignoreRehydratedNames[t]&&this.rehydratedNames[e])return!0;var n=this.tagMap[t];return void 0!==n&&n.hasNameForId(t,e)},t.prototype.deferredInject=function(t,e){if(void 0===this.tagMap[t]){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].deferredInject(t,e);this.getTagForId(t).insertMarker(t),this.deferred[t]=e}},t.prototype.inject=function(t,e,n){for(var r=this.clones,o=0;o<r.length;o+=1)r[o].inject(t,e,n);var i=this.getTagForId(t);if(void 0!==this.deferred[t]){var a=this.deferred[t].concat(e);i.insertRules(t,a,n),this.deferred[t]=void 0}else i.insertRules(t,e,n)},t.prototype.remove=function(t){var e=this.tagMap[t];if(void 0!==e){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].remove(t);e.removeRules(t),this.ignoreRehydratedNames[t]=!0,this.deferred[t]=void 0}},t.prototype.toHTML=function(){return this.tags.map(function(t){return t.toHTML()}).join("")},t.prototype.toReactElements=function(){var t=this.id;return this.tags.map(function(e,n){var r="sc-"+t+"-"+n;return Object(s.cloneElement)(e.toElement(),{key:r})})},y(t,null,[{key:"master",get:function(){return ct||(ct=(new t).rehydrate())}},{key:"instance",get:function(){return t.master}}]),t}(),lt=function(){function t(e,n){var r=this;g(this,t),this.inject=function(t){t.hasNameForId(r.id,r.name)||t.inject(r.id,r.rules,r.name)},this.toString=function(){throw new I(12,String(r.name))},this.name=e,this.rules=n,this.id="sc-keyframes-"+e}return t.prototype.getName=function(){return this.name},t}(),ft=/([A-Z])/g,pt=/^ms-/;var dt=function(t){return null==t||!1===t||""===t},ht=function t(e,n){var r=Object.keys(e).filter(function(t){return!dt(e[t])}).map(function(n){return w(e[n])?t(e[n],n):n.replace(ft,"-$1").toLowerCase().replace(pt,"-ms-")+": "+(r=n,null==(o=e[n])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in u.a?String(o).trim():o+"px")+";";var r,o}).join(" ");return n?n+" {\n "+r+"\n}":r};function gt(t,e,n){if(Array.isArray(t)){for(var r,o=[],i=0,a=t.length;i<a;i+=1)null!==(r=gt(t[i],e,n))&&(Array.isArray(r)?o.push.apply(o,r):o.push(r));return o}return dt(t)?null:O(t)?"."+t.styledComponentId:x(t)?"function"!=typeof(s=t)||s.prototype&&s.prototype.isReactComponent||!e?t:gt(t(e),e,n):t instanceof lt?n?(t.inject(n),t.getName()):t:w(t)?ht(t):t.toString();var s}function yt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return x(t)||w(t)?gt(d(S,[t].concat(n))):gt(d(t,n))}function vt(t){for(var e,n=0|t.length,r=0|n,o=0;n>=4;)e=1540483477*(65535&(e=255&t.charCodeAt(o)|(255&t.charCodeAt(++o))<<8|(255&t.charCodeAt(++o))<<16|(255&t.charCodeAt(++o))<<24))+((1540483477*(e>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(e=1540483477*(65535&(e^=e>>>24))+((1540483477*(e>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&t.charCodeAt(o+2))<<16;case 2:r^=(255&t.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&t.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return((r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16))^r>>>15)>>>0}var mt=52,bt=function(t){return String.fromCharCode(t+(t>25?39:97))};function _t(t){var e="",n=void 0;for(n=t;n>mt;n=Math.floor(n/mt))e=bt(n%mt)+e;return bt(n%mt)+e}function wt(t,e){for(var n=0;n<t.length;n+=1){var r=t[n];if(Array.isArray(r)&&!wt(r,e))return!1;if(x(r)&&!O(r))return!1}return!e.some(function(t){return x(t)||function(t){for(var e in t)if(x(t[e]))return!0;return!1}(t)})}var St,kt=!1,xt=function(t){return _t(vt(t))},Et=function(){function t(e,n,r){g(this,t),this.rules=e,this.isStatic=!kt&&wt(e,n),this.componentId=r,ut.master.hasId(r)||ut.master.deferredInject(r,[])}return t.prototype.generateAndInjectStyles=function(t,e){var n=this.isStatic,r=this.componentId,o=this.lastClassName;if(T&&n&&"string"==typeof o&&e.hasNameForId(r,o))return o;var i=gt(this.rules,t,e),a=xt(this.componentId+i.join(""));return e.hasNameForId(r,a)||e.inject(this.componentId,W(i,"."+a,void 0,r),a),this.lastClassName=a,a},t.generateName=function(t){return xt(t)},t}(),Ot=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k,r=!!n&&t.theme===n.theme;return t.theme&&!r?t.theme:e||n.theme},Ct=/[[\].#*$><+~=|^:(),"'`-]+/g,Tt=/(^-|-$)/g;function At(t){return t.replace(Ct,"-").replace(Tt,"")}function It(t){return"string"==typeof t&&!0}var Mt={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},jt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Dt=((St={})[l.ForwardRef]={$$typeof:!0,render:!0},St),Pt=Object.defineProperty,Rt=Object.getOwnPropertyNames,Nt=Object.getOwnPropertySymbols,Lt=void 0===Nt?function(){return[]}:Nt,Bt=Object.getOwnPropertyDescriptor,zt=Object.getPrototypeOf,Kt=Object.prototype,Ft=Array.prototype;function Ut(t,e,n){if("string"!=typeof e){var r=zt(e);r&&r!==Kt&&Ut(t,r,n);for(var o=Ft.concat(Rt(e),Lt(e)),i=Dt[t.$$typeof]||Mt,a=Dt[e.$$typeof]||Mt,s=o.length,c=void 0,u=void 0;s--;)if(u=o[s],!(jt[u]||n&&n[u]||a&&a[u]||i&&i[u])&&(c=Bt(e,u)))try{Pt(t,u,c)}catch(t){}return t}return t}var Wt=Object(s.createContext)(),Vt=Wt.Consumer,Ht=(function(t){function e(n){g(this,e);var r=_(this,t.call(this,n));return r.getContext=Object(f.a)(r.getContext.bind(r)),r.renderInner=r.renderInner.bind(r),r}m(e,t),e.prototype.render=function(){return this.props.children?c.a.createElement(Wt.Consumer,null,this.renderInner):null},e.prototype.renderInner=function(t){var e=this.getContext(this.props.theme,t);return c.a.createElement(Wt.Provider,{value:e},c.a.Children.only(this.props.children))},e.prototype.getTheme=function(t,e){if(x(t))return t(e);if(null===t||Array.isArray(t)||"object"!==(void 0===t?"undefined":h(t)))throw new I(8);return v({},e,t)},e.prototype.getContext=function(t,e){return this.getTheme(t,e)}}(s.Component),function(){function t(){g(this,t),this.masterSheet=ut.master,this.instance=this.masterSheet.clone(),this.sealed=!1}t.prototype.seal=function(){if(!this.sealed){var t=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(t,1),this.sealed=!0}},t.prototype.collectStyles=function(t){if(this.sealed)throw new I(2);return c.a.createElement(Xt,{sheet:this.instance},t)},t.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},t.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},t.prototype.interleaveWithNodeStream=function(t){throw new I(3)}}(),Object(s.createContext)()),qt=Ht.Consumer,Xt=function(t){function e(n){g(this,e);var r=_(this,t.call(this,n));return r.getContext=Object(f.a)(r.getContext),r}return m(e,t),e.prototype.getContext=function(t,e){if(t)return t;if(e)return new ut(e);throw new I(4)},e.prototype.render=function(){var t=this.props,e=t.children,n=t.sheet,r=t.target;return c.a.createElement(Ht.Provider,{value:this.getContext(n,r)},e)},e}(s.Component),Jt=(new Set,{});var Gt=function(t){function e(){g(this,e);var n=_(this,t.call(this));return n.attrs={},n.renderOuter=n.renderOuter.bind(n),n.renderInner=n.renderInner.bind(n),n}return m(e,t),e.prototype.render=function(){return c.a.createElement(qt,null,this.renderOuter)},e.prototype.renderOuter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ut.master;return this.styleSheet=t,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():c.a.createElement(Vt,null,this.renderInner)},e.prototype.renderInner=function(t){var e=this.props.forwardedComponent,n=e.componentStyle,r=e.defaultProps,o=(e.displayName,e.foldedComponentIds),i=e.styledComponentId,a=e.target,c=void 0;c=n.isStatic?this.generateAndInjectStyles(k,this.props):void 0!==t?this.generateAndInjectStyles(Ot(this.props,t,r),this.props):this.generateAndInjectStyles(this.props.theme||k,this.props);var u=this.props.as||this.attrs.as||a,l=It(u),f={},d=v({},this.attrs,this.props),h=void 0;for(h in d)"forwardedComponent"!==h&&"as"!==h&&"suppressClassNameWarning"!==h&&("forwardedRef"===h?f.ref=d[h]:l&&!Object(p.a)(h)||(f[h]=d[h]));return this.props.style&&this.attrs.style&&(f.style=v({},this.attrs.style,this.props.style)),f.className=Array.prototype.concat(o,this.props.className,i,this.attrs.className,c).filter(Boolean).join(" "),Object(s.createElement)(u,f)},e.prototype.buildExecutionContext=function(t,e,n){var r=this,o=v({},e,{theme:t});return n.length?(this.attrs={},n.forEach(function(t){var e,n=t,i=!1,a=void 0,s=void 0;for(s in x(n)&&(n=n(o),i=!0),n)a=n[s],i||!x(a)||(e=a)&&e.prototype&&e.prototype.isReactComponent||O(a)||(a=a(o)),r.attrs[s]=a,o[s]=a}),o):o},e.prototype.generateAndInjectStyles=function(t,e){var n=e.forwardedComponent,r=n.attrs,o=n.componentStyle;n.warnTooManyClasses;return o.isStatic&&!r.length?o.generateAndInjectStyles(k,this.styleSheet):o.generateAndInjectStyles(this.buildExecutionContext(t,e,r),this.styleSheet)},e}(s.Component);function Yt(t,e,n){var r=O(t),o=!It(t),i=e.displayName,a=void 0===i?function(t){return It(t)?"styled."+t:"Styled("+E(t)+")"}(t):i,s=e.componentId,u=void 0===s?function(t,e,n){var r="string"!=typeof e?"sc":At(e),o=(Jt[r]||0)+1;Jt[r]=o;var i=r+"-"+t.generateName(r+o);return n?n+"-"+i:i}(Et,e.displayName,e.parentComponentId):s,l=e.ParentComponent,f=void 0===l?Gt:l,p=e.attrs,d=void 0===p?S:p,h=e.displayName&&e.componentId?At(e.displayName)+"-"+e.componentId:e.componentId||u,g=r&&t.attrs?Array.prototype.concat(t.attrs,d).filter(Boolean):d,y=new Et(r?t.componentStyle.rules.concat(n):n,g,h),m=c.a.forwardRef(function(t,e){return c.a.createElement(f,v({},t,{forwardedComponent:m,forwardedRef:e}))});return m.attrs=g,m.componentStyle=y,m.displayName=a,m.foldedComponentIds=r?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):S,m.styledComponentId=h,m.target=r?t.target:t,m.withComponent=function(t){var r=e.componentId,o=b(e,["componentId"]),i=r&&r+"-"+(It(t)?t:At(E(t)));return Yt(t,v({},o,{attrs:g,componentId:i,ParentComponent:f}),n)},m.toString=function(){return"."+m.styledComponentId},o&&Ut(m,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),m}var $t=function(t){return function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k;if(!Object(l.isValidElementType)(n))throw new I(1,String(n));var o=function(){return e(n,r,yt.apply(void 0,arguments))};return o.withConfig=function(o){return t(e,n,v({},r,o))},o.attrs=function(o){return t(e,n,v({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(Yt,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(t){$t[t]=$t(t)});!function(){function t(e,n){g(this,t),this.rules=e,this.componentId=n,this.isStatic=wt(e,S),ut.master.hasId(n)||ut.master.deferredInject(n,[])}t.prototype.createStyles=function(t,e){var n=W(gt(this.rules,t,e),"");e.inject(this.componentId,n)},t.prototype.removeStyles=function(t){var e=this.componentId;t.hasId(e)&&t.remove(e)},t.prototype.renderStyles=function(t,e){this.removeStyles(e),this.createStyles(t,e)}}();T&&(window.scCGSHMRCache={});var Zt=function(t){return t.replace(/\s|\\n/g,"")};function Qt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=yt.apply(void 0,[t].concat(n)),i=_t(vt(Zt(JSON.stringify(o))));return new lt(i,W(o,i,"@keyframes"))}e.b=$t}).call(this,n(46))},function(t,e,n){"use strict";var r=n(16),o=n(105),i=n(24),a=n(3),s=n(106),c=n(108),u=n(40),l=n(111),f=n(112),p=n(4),d=n(113),h=n(69),g=n(114),y=n(115),v=a.OrderedSet,m={replaceText:function(t,e,n,o,i){var a=h(t,e),s=g(a,e),c=r.create({style:o||v(),entity:i||null});return f(s,s.getSelectionAfter(),n,c)},insertText:function(t,e,n,r,o){return e.isCollapsed()||p(!1),m.replaceText(t,e,n,r,o)},moveText:function(t,e,n){var r=u(t,e),o=m.removeRange(t,e,"backward");return m.replaceWithFragment(o,n,r)},replaceWithFragment:function(t,e,n){var r=h(t,e),o=g(r,e);return l(o,o.getSelectionAfter(),n)},removeRange:function(t,e,n){var r,o,a=void 0,s=void 0;e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),r=e.getAnchorKey(),o=e.getFocusKey(),a=t.getBlockForKey(r),s=t.getBlockForKey(o);var u=e.getStartOffset(),l=e.getEndOffset(),f=a.getEntityAt(u),p=s.getEntityAt(l-1);if(r===o&&f&&f===p){var d=c(t.getEntityMap(),a,s,e,n);return g(t,d)}var y=e;i.draft_segmented_entities_behavior&&(y=c(t.getEntityMap(),a,s,e,n));var v=h(t,y);return g(v,y)},splitBlock:function(t,e){var n=h(t,e),r=g(n,e);return y(r,r.getSelectionAfter())},applyInlineStyle:function(t,e,n){return o.add(t,e,n)},removeInlineStyle:function(t,e,n){return o.remove(t,e,n)},setBlockType:function(t,e,n){return d(t,e,function(t){return t.merge({type:n,depth:0})})},setBlockData:function(t,e,n){return d(t,e,function(t){return t.merge({data:n})})},mergeBlockData:function(t,e,n){return d(t,e,function(t){return t.merge({data:t.getData().merge(n)})})},applyEntity:function(t,e,n){var r=h(t,e);return s(r,e,n)}};t.exports=m},function(t,e,n){"use strict";var r=n(3),o=r.Map,i=r.OrderedSet,a=r.Record,s=i(),c={style:s,entity:null},u=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getStyle=function(){return this.get("style")},e.prototype.getEntity=function(){return this.get("entity")},e.prototype.hasStyle=function(t){return this.getStyle().includes(t)},e.applyStyle=function(t,n){var r=t.set("style",t.getStyle().add(n));return e.create(r)},e.removeStyle=function(t,n){var r=t.set("style",t.getStyle().remove(n));return e.create(r)},e.applyEntity=function(t,n){var r=t.getEntity()===n?t:t.set("entity",n);return e.create(r)},e.create=function(t){if(!t)return l;var n=o({style:s,entity:null}).merge(t),r=f.get(n);if(r)return r;var i=new e(n);return f=f.set(n,i),i},e}(a(c)),l=new u,f=o([[o(c),l]]);u.EMPTY=l,t.exports=u},function(t,e,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var r=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}}(),c=null,u=0,l=[],f=n(47);function p(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(m(r.parts[a],e))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(m(r.parts[a],e));i[r.id]={id:r.id,refs:1,parts:s}}}}function d(t,e){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=e.base?i[0]+e.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function h(t,e){var n=s(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=l[l.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),l.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=s(t.insertAt.before,n);n.insertBefore(e,o)}}function g(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=l.indexOf(t);e>=0&&l.splice(e,1)}function y(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return v(e,t.attrs),h(t,e),e}function v(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function m(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var a=u++;n=c||(c=y(e)),r=w.bind(null,n,a,!1),o=w.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",v(e,t.attrs),h(t,e),e}(e),r=function(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=f(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,e),o=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=y(e),r=function(t,e){var n=e.css,r=e.media;r&&t.setAttribute("media",r);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){g(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=d(t,e);return p(n,e),function(t){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}t&&p(d(t,e),e);for(o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete i[s.id]}}}};var b,_=(b=[],function(t,e){return b[t]=e,b.filter(Boolean).join("\n")});function w(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=_(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}},function(t,e,n){var r=n(210);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){"use strict";
2/*
3object-assign
4(c) Sindre Sorhus
5@license MIT
6*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,s=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))o.call(n,u)&&(s[u]=n[u]);if(r){a=r(n);for(var l=0;l<a.length;l++)i.call(n,a[l])&&(s[a[l]]=n[a[l]])}}return s}},function(t,e,n){"use strict";var r=n(16),o=n(3),i=n(34),a=o.List,s=o.Map,c=o.OrderedSet,u=o.Record,l=o.Repeat,f=c(),p={parent:null,characterList:a(),data:s(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},d=function(t,e){return t.getStyle()===e.getStyle()},h=function(t,e){return t.getEntity()===e.getEntity()},g=function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=a(l(r.EMPTY,n.length))),t},y=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,g(n)))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getKey=function(){return this.get("key")},e.prototype.getType=function(){return this.get("type")},e.prototype.getText=function(){return this.get("text")},e.prototype.getCharacterList=function(){return this.get("characterList")},e.prototype.getLength=function(){return this.getText().length},e.prototype.getDepth=function(){return this.get("depth")},e.prototype.getData=function(){return this.get("data")},e.prototype.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():f},e.prototype.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},e.prototype.getChildKeys=function(){return this.get("children")},e.prototype.getParentKey=function(){return this.get("parent")},e.prototype.getPrevSiblingKey=function(){return this.get("prevSibling")},e.prototype.getNextSiblingKey=function(){return this.get("nextSibling")},e.prototype.findStyleRanges=function(t,e){i(this.getCharacterList(),d,t,e)},e.prototype.findEntityRanges=function(t,e){i(this.getCharacterList(),h,t,e)},e}(u(p));t.exports=y},function(t,e,n){"use strict";t.exports=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")}},function(t,e,n){"use strict";var r=n(126),o=n(129),i=n(130),a=n(131);function s(t,e,n,r){if(t===n)return!0;if(!n.startsWith(t))return!1;var i=n.slice(t.length);return!!e&&(i=r?r(i):i,o.contains(i,e))}function c(t){return"Windows"===r.platformName?t.replace(/^\s*NT/,""):t}var u={isBrowser:function(t){return s(r.browserName,r.browserFullVersion,t)},isBrowserArchitecture:function(t){return s(r.browserArchitecture,null,t)},isDevice:function(t){return s(r.deviceName,null,t)},isEngine:function(t){return s(r.engineName,r.engineVersion,t)},isPlatform:function(t){return s(r.platformName,r.platformFullVersion,t,c)},isPlatformArchitecture:function(t){return s(r.platformArchitecture,null,t)}};t.exports=i(u,a)},function(t,e,n){"use strict";var r={},o=Math.pow(2,24);t.exports=function(){for(var t=void 0;void 0===t||r.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*o).toString(32);return r[t]=!0,t}},function(t,e,n){"use strict";var r=n(104);t.exports=r},function(t,e,n){var r=n(191);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(204);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){"use strict";var r=n(16),o=n(3),i=n(34),a=o.List,s=o.Map,c=o.OrderedSet,u=o.Record,l=o.Repeat,f=c(),p=u({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}),d=function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=a(l(r.EMPTY,n.length))),t},h=function(t){function e(n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,d(n)))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getKey=function(){return this.get("key")},e.prototype.getType=function(){return this.get("type")},e.prototype.getText=function(){return this.get("text")},e.prototype.getCharacterList=function(){return this.get("characterList")},e.prototype.getLength=function(){return this.getText().length},e.prototype.getDepth=function(){return this.get("depth")},e.prototype.getData=function(){return this.get("data")},e.prototype.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():f},e.prototype.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},e.prototype.findStyleRanges=function(t,e){i(this.getCharacterList(),g,t,e)},e.prototype.findEntityRanges=function(t,e){i(this.getCharacterList(),y,t,e)},e}(p);function g(t,e){return t.getStyle()===e.getStyle()}function y(t,e){return t.getEntity()===e.getEntity()}t.exports=h},function(t,e,n){"use strict";var r=n(4),o=55296,i=56319,a=56320,s=57343,c=/[\uD800-\uDFFF]/;function u(t){return o<=t&&t<=s}function l(t){return c.test(t)}function f(t,e){return 1+u(t.charCodeAt(e))}function p(t,e,n){if(e=e||0,n=void 0===n?1/0:n||0,!l(t))return t.substr(e,n);var r=t.length;if(r<=0||e>r||n<=0)return"";var o=0;if(e>0){for(;e>0&&o<r;e--)o+=f(t,o);if(o>=r)return""}else if(e<0){for(o=r;e<0&&0<o;e++)o-=f(t,o-1);o<0&&(o=0)}var i=r;if(n<r)for(i=o;n>0&&i<r;n--)i+=f(t,i);return t.substring(o,i)}var d={getCodePoints:function(t){for(var e=[],n=0;n<t.length;n+=f(t,n))e.push(t.codePointAt(n));return e},getUTF16Length:f,hasSurrogateUnit:l,isCodeUnitInSurrogateRange:u,isSurrogatePair:function(t,e){if(0<=e&&e<t.length||r(!1),e+1===t.length)return!1;var n=t.charCodeAt(e),c=t.charCodeAt(e+1);return o<=n&&n<=i&&a<=c&&c<=s},strlen:function(t){if(!l(t))return t.length;for(var e=0,n=0;n<t.length;n+=f(t,n))e++;return e},substring:function(t,e,n){(e=e||0)<0&&(e=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-e);return p(t,e=e<n?e:n,r)},substr:p};t.exports=d},function(t,e,n){"use strict";(function(t,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){a(t,e,n[e])})}return t}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(e,"a",function(){return It}),n.d(e,"b",function(){return At});var u=function(){},l={},f={},p={mark:u,measure:u};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(f=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(p=performance)}catch(t){}var d=(l.navigator||{}).userAgent,h=void 0===d?"":d,g=l,y=f,v=p,m=(g.document,!!y.documentElement&&!!y.head&&"function"==typeof y.addEventListener&&"function"==typeof y.createElement),b=(~h.indexOf("MSIE")||h.indexOf("Trident/"),"fa"),_="svg-inline--fa",w="data-fa-i2svg",S=(function(){try{}catch(t){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),k=S.concat([11,12,13,14,15,16,17,18,19,20]),x=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter"].concat(S.map(function(t){return"".concat(t,"x")})).concat(k.map(function(t){return"w-".concat(t)})),g.FontAwesomeConfig||{});if(y&&"function"==typeof y.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(t){var e=c(t,2),n=e[0],r=e[1],o=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=y.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(n));null!=o&&(x[r]=o)})}var E=s({},{familyPrefix:b,replacementClass:_,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},x);E.autoReplaceSvg||(E.observeMutations=!1);var O=s({},E);g.FontAwesomeConfig=O;var C=g||{};C.___FONT_AWESOME___||(C.___FONT_AWESOME___={}),C.___FONT_AWESOME___.styles||(C.___FONT_AWESOME___.styles={}),C.___FONT_AWESOME___.hooks||(C.___FONT_AWESOME___.hooks={}),C.___FONT_AWESOME___.shims||(C.___FONT_AWESOME___.shims=[]);var T=C.___FONT_AWESOME___,A=[];m&&((y.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(y.readyState)||y.addEventListener("DOMContentLoaded",function t(){y.removeEventListener("DOMContentLoaded",t),1,A.map(function(t){return t()})}));var I,M="pending",j="settled",D="fulfilled",P="rejected",R=function(){},N=void 0!==t&&void 0!==t.process&&"function"==typeof t.process.emit,L=void 0===r?setTimeout:r,B=[];function z(){for(var t=0;t<B.length;t++)B[t][0](B[t][1]);B=[],I=!1}function K(t,e){B.push([t,e]),I||(I=!0,L(z,0))}function F(t){var e=t.owner,n=e._state,r=e._data,o=t[n],i=t.then;if("function"==typeof o){n=D;try{r=o(r)}catch(t){H(i,t)}}U(i,r)||(n===D&&W(i,r),n===P&&H(i,r))}function U(t,e){var n;try{if(t===e)throw new TypeError("A promises callback cannot return that same promise.");if(e&&("function"==typeof e||"object"===o(e))){var r=e.then;if("function"==typeof r)return r.call(e,function(r){n||(n=!0,e===r?V(t,r):W(t,r))},function(e){n||(n=!0,H(t,e))}),!0}}catch(e){return n||H(t,e),!0}return!1}function W(t,e){t!==e&&U(t,e)||V(t,e)}function V(t,e){t._state===M&&(t._state=j,t._data=e,K(X,t))}function H(t,e){t._state===M&&(t._state=j,t._data=e,K(J,t))}function q(t){t._then=t._then.forEach(F)}function X(t){t._state=D,q(t)}function J(e){e._state=P,q(e),!e._handled&&N&&t.process.emit("unhandledRejection",e._data,e)}function G(e){t.process.emit("rejectionHandled",e)}function Y(t){if("function"!=typeof t)throw new TypeError("Promise resolver "+t+" is not a function");if(this instanceof Y==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(t,e){function n(t){H(e,t)}try{t(function(t){W(e,t)},n)}catch(t){n(t)}}(t,this)}Y.prototype={constructor:Y,_state:M,_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(R),fulfilled:t,rejected:e};return!e&&!t||this._handled||(this._handled=!0,this._state===P&&N&&K(G,this)),this._state===D||this._state===P?K(F,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},Y.all=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.all().");return new Y(function(e,n){var r=[],o=0;function i(t){return o++,function(n){r[t]=n,--o||e(r)}}for(var a,s=0;s<t.length;s++)(a=t[s])&&"function"==typeof a.then?a.then(i(s),n):r[s]=a;o||e(r)})},Y.race=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.race().");return new Y(function(e,n){for(var r,o=0;o<t.length;o++)(r=t[o])&&"function"==typeof r.then?r.then(e,n):e(r)})},Y.resolve=function(t){return t&&"object"===o(t)&&t.constructor===Y?t:new Y(function(e){e(t)})},Y.reject=function(t){return new Y(function(e,n){n(t)})};"function"==typeof Promise&&Promise;var $={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Z(t){if(t&&m){var e=y.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=y.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=i)}return y.head.insertBefore(e,r),t}}var Q="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function tt(){for(var t=12,e="";t-- >0;)e+=Q[62*Math.random()|0];return e}function et(t){return"".concat(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function nt(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,": ").concat(t[n],";")},"")}function rt(t){return t.size!==$.size||t.x!==$.x||t.y!==$.y||t.rotate!==$.rotate||t.flipX||t.flipY}function ot(t){var e=t.transform,n=t.containerWidth,r=t.iconWidth,o={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*e.x,", ").concat(32*e.y,") "),a="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(i," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var it={x:0,y:0,width:"100%",height:"100%"};function at(t){var e=t.icons,n=e.main,r=e.mask,o=t.prefix,i=t.iconName,a=t.transform,c=t.symbol,u=t.title,l=t.extra,f=t.watchable,p=void 0!==f&&f,d=r.found?r:n,h=d.width,g=d.height,y="fa-w-".concat(Math.ceil(h/g*16)),v=[O.replacementClass,i?"".concat(O.familyPrefix,"-").concat(i):"",y].filter(function(t){return-1===l.classes.indexOf(t)}).concat(l.classes).join(" "),m={children:[],attributes:s({},l.attributes,{"data-prefix":o,"data-icon":i,class:v,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(g)})};p&&(m.attributes[w]=""),u&&m.children.push({tag:"title",attributes:{id:m.attributes["aria-labelledby"]||"title-".concat(tt())},children:[u]});var b=s({},m,{prefix:o,iconName:i,main:n,mask:r,transform:a,symbol:c,styles:l.styles}),_=r.found&&n.found?function(t){var e=t.children,n=t.attributes,r=t.main,o=t.mask,i=t.transform,a=r.width,c=r.icon,u=o.width,l=o.icon,f=ot({transform:i,containerWidth:u,iconWidth:a}),p={tag:"rect",attributes:s({},it,{fill:"white"})},d={tag:"g",attributes:s({},f.inner),children:[{tag:"path",attributes:s({},c.attributes,f.path,{fill:"black"})}]},h={tag:"g",attributes:s({},f.outer),children:[d]},g="mask-".concat(tt()),y="clip-".concat(tt()),v={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:[l]},{tag:"mask",attributes:s({},it,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,h]}]};return e.push(v,{tag:"rect",attributes:s({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(g,")")},it)}),{children:e,attributes:n}}(b):function(t){var e=t.children,n=t.attributes,r=t.main,o=t.transform,i=nt(t.styles);if(i.length>0&&(n.style=i),rt(o)){var a=ot({transform:o,containerWidth:r.width,iconWidth:r.width});e.push({tag:"g",attributes:s({},a.outer),children:[{tag:"g",attributes:s({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:s({},r.icon.attributes,a.path)}]}]})}else e.push(r.icon);return{children:e,attributes:n}}(b),S=_.children,k=_.attributes;return b.children=S,b.attributes=k,c?function(t){var e=t.prefix,n=t.iconName,r=t.children,o=t.attributes,i=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:s({},o,{id:!0===i?"".concat(e,"-").concat(O.familyPrefix,"-").concat(n):i}),children:r}]}]}(b):function(t){var e=t.children,n=t.main,r=t.mask,o=t.attributes,i=t.styles,a=t.transform;if(rt(a)&&n.found&&!r.found){var c={x:n.width/n.height/2,y:.5};o.style=nt(s({},i,{"transform-origin":"".concat(c.x+a.x/16,"em ").concat(c.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:e}]}(b)}var st=function(){},ct=(O.measurePerformance&&v&&v.mark&&v.measure,function(t,e,n,r){var o,i,a,s=Object.keys(t),c=s.length,u=void 0!==r?function(t,e){return function(n,r,o,i){return t.call(e,n,r,o,i)}}(e,r):e;for(void 0===n?(o=1,a=t[s[0]]):(o=0,a=n);o<c;o++)a=u(a,t[i=s[o]],i,t);return a});var ut=T.styles,lt=T.shims,ft=function(){var t=function(t){return ct(ut,function(e,n,r){return e[r]=ct(n,t,{}),e},{})};t(function(t,e,n){return e[3]&&(t[e[3]]=n),t}),t(function(t,e,n){var r=e[2];return t[n]=n,r.forEach(function(e){t[e]=n}),t});var e="far"in ut;ct(lt,function(t,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||e||(o="fas"),t[r]={prefix:o,iconName:i},t},{})};ft();T.styles;function pt(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function dt(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,o=t.children,i=void 0===o?[]:o;return"string"==typeof t?et(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,'="').concat(et(t[n]),'" ')},"").trim()}(r),">").concat(i.map(dt).join(""),"</").concat(e,">")}var ht=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce(function(t,e){var n=e.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return t.flipX=!0,t;if(r&&"v"===o)return t.flipY=!0,t;if(o=parseFloat(o),isNaN(o))return t;switch(r){case"grow":t.size=t.size+o;break;case"shrink":t.size=t.size-o;break;case"left":t.x=t.x-o;break;case"right":t.x=t.x+o;break;case"up":t.y=t.y-o;break;case"down":t.y=t.y+o;break;case"rotate":t.rotate=t.rotate+o}return t},e):e};function gt(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}gt.prototype=Object.create(Error.prototype),gt.prototype.constructor=gt;var yt={fill:"currentColor"},vt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},mt={tag:"path",attributes:s({},yt,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},bt=s({},vt,{attributeName:"opacity"});s({},yt,{cx:"256",cy:"364",r:"28"}),s({},vt,{attributeName:"r",values:"28;14;28;28;14;28;"}),s({},bt,{values:"1;0;1;1;0;1;"}),s({},yt,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),s({},bt,{values:"1;0;0;0;0;1;"}),s({},yt,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),s({},bt,{values:"0;0;1;1;0;0;"}),T.styles;T.styles;var _t='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}';function wt(){var t=b,e=_,n=O.familyPrefix,r=O.replacementClass,o=_t;if(n!==t||r!==e){var i=new RegExp("\\.".concat(t,"\\-"),"g"),a=new RegExp("\\.".concat(e),"g");o=o.replace(i,".".concat(n,"-")).replace(a,".".concat(r))}return o}function St(t){return{found:!0,width:t[0],height:t[1],icon:{tag:"path",attributes:{fill:"currentColor",d:t.slice(4)[0]}}}}function kt(){O.autoAddCss&&!Tt&&(Z(wt()),Tt=!0)}function xt(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(function(t){return dt(t)})}}),Object.defineProperty(t,"node",{get:function(){if(m){var e=y.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Et(t){var e=t.prefix,n=void 0===e?"fa":e,r=t.iconName;if(r)return pt(Ct.definitions,n,r)||pt(T.styles,n,r)}var Ot,Ct=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,n,r;return e=t,(n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(e){t.definitions[e]=s({},t.definitions[e]||{},o[e]),function t(e,n){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,o=void 0!==r&&r,i=Object.keys(n).reduce(function(t,e){var r=n[e];return r.icon?t[r.iconName]=r.icon:t[e]=r,t},{});"function"!=typeof T.hooks.addPack||o?T.styles[e]=s({},T.styles[e]||{},i):T.hooks.addPack(e,i),"fas"===e&&t("fa",n)}(e,o[e]),ft()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map(function(e){var r=n[e],o=r.prefix,i=r.iconName,a=r.icon;t[o]||(t[o]={}),t[o][i]=a}),t}}])&&i(e.prototype,n),r&&i(e,r),t}()),Tt=!1,At={transform:function(t){return ht(t)}},It=(Ot=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?$:n,o=e.symbol,i=void 0!==o&&o,a=e.mask,c=void 0===a?null:a,u=e.title,l=void 0===u?null:u,f=e.classes,p=void 0===f?[]:f,d=e.attributes,h=void 0===d?{}:d,g=e.styles,y=void 0===g?{}:g;if(t){var v=t.prefix,m=t.iconName,b=t.icon;return xt(s({type:"icon"},t),function(){return kt(),O.autoA11y&&(l?h["aria-labelledby"]="".concat(O.replacementClass,"-title-").concat(tt()):(h["aria-hidden"]="true",h.focusable="false")),at({icons:{main:St(b),mask:c?St(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:v,iconName:m,transform:s({},$,r),symbol:i,title:l,extra:{attributes:h,styles:y,classes:p}})})}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:Et(t||{}),r=e.mask;return r&&(r=(r||{}).icon?r:Et(r||{})),Ot(n,s({},e,{mask:r}))})}).call(this,n(11),n(50).setImmediate)},function(t,e){t.exports=require("react-dom")},function(t,e,n){"use strict";var r=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},e.prototype.getAnchorKey=function(){return this.get("anchorKey")},e.prototype.getAnchorOffset=function(){return this.get("anchorOffset")},e.prototype.getFocusKey=function(){return this.get("focusKey")},e.prototype.getFocusOffset=function(){return this.get("focusOffset")},e.prototype.getIsBackward=function(){return this.get("isBackward")},e.prototype.getHasFocus=function(){return this.get("hasFocus")},e.prototype.hasEdgeWithin=function(t,e,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===t){var i=this.getStartOffset();return e<=this.getEndOffset()&&i<=n}if(t!==r&&t!==o)return!1;var a=t===r?this.getAnchorOffset():this.getFocusOffset();return e<=a&&n>=a},e.prototype.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},e.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},e.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},e.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},e.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},e.createEmpty=function(t){return new e({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},e}((0,n(3).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));t.exports=r},function(t,e,n){"use strict";function r(t){return t.replace(/\//g,"-")}t.exports=function(t){return"object"==typeof t?Object.keys(t).filter(function(e){return t[e]}).map(r).join(" "):Array.prototype.map.call(arguments,r).join(" ")}},function(t,e,n){"use strict";var r=n(3).OrderedMap,o={createFromArray:function(t){return r(t.map(function(t){return[t.getKey(),t]}))}};t.exports=o},function(t,e,n){"use strict";t.exports=function(t,e,n,r){if(t.size){var o=0;t.reduce(function(t,i,a){return e(t,i)||(n(t)&&r(o,a),o=a),i}),n(t.last())&&r(o,t.count())}}},function(t,e,n){"use strict";t.exports=function(t){return"handled"===t||!0===t}},function(t,e,n){"use strict";var r=n(15);t.exports=function(t,e,n){var o=t.getSelection(),i=t.getCurrentContent(),a=o;if(o.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return i}else if(t.isSelectionAtStartOfContent())return i;if((a=e(t))===o)return i}return r.removeRange(i,a,n)}},function(t,e,n){var r=n(199);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(202);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,o,i,a,s,c=1,u={},l=!1,f=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick(function(){h(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){h(t.data)},r=function(t){i.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(t){var e=f.createElement("script");e.onreadystatechange=function(){h(t),e.onreadystatechange=null,o.removeChild(e),e=null},o.appendChild(e)}):r=function(t){setTimeout(h,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&h(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(e){t.postMessage(a+e,"*")}),p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return u[c]=o,r(c),c++},p.clearImmediate=d}function d(t){delete u[t]}function h(t){if(l)setTimeout(h,0,t);else{var e=u[t];if(e){l=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}(e)}finally{d(t),l=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(11),n(46))},function(t,e,n){"use strict";var r=n(68),o=n(69);t.exports=function(t,e){var n=e.getStartKey(),i=e.getStartOffset(),a=e.getEndKey(),s=e.getEndOffset(),c=o(t,e).getBlockMap(),u=c.keySeq(),l=u.indexOf(n),f=u.indexOf(a)+1;return r(c.slice(l,f).map(function(t,e){var r=t.getText(),o=t.getCharacterList();return n===a?t.merge({text:r.slice(i,s),characterList:o.slice(i,s)}):e===n?t.merge({text:r.slice(i),characterList:o.slice(i)}):e===a?t.merge({text:r.slice(0,s),characterList:o.slice(0,s)}):t}))}},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(73),i=n(3),a=n(4),s=(0,i.Map)(),c=0;function u(t,e){console.warn("WARNING: "+t+' will be deprecated soon!\nPlease use "'+e+'" instead.')}var l={getLastCreatedEntityKey:function(){return u("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),l.__getLastCreatedEntityKey()},create:function(t,e,n){return u("DraftEntity.create","contentState.createEntity"),l.__create(t,e,n)},add:function(t){return u("DraftEntity.add","contentState.addEntity"),l.__add(t)},get:function(t){return u("DraftEntity.get","contentState.getEntity"),l.__get(t)},mergeData:function(t,e){return u("DraftEntity.mergeData","contentState.mergeEntityData"),l.__mergeData(t,e)},replaceData:function(t,e){return u("DraftEntity.replaceData","contentState.replaceEntityData"),l.__replaceData(t,e)},__getLastCreatedEntityKey:function(){return""+c},__create:function(t,e,n){return l.__add(new o({type:t,mutability:e,data:n||{}}))},__add:function(t){var e=""+ ++c;return s=s.set(e,t),e},__get:function(t){var e=s.get(t);return e||a(!1),e},__mergeData:function(t,e){var n=l.__get(t),o=r({},n.getData(),e),i=n.set("data",o);return s=s.set(t,i),i},__replaceData:function(t,e){var n=l.__get(t).set("data",e);return s=s.set(t,n),n}};t.exports=l},function(t,e,n){"use strict";var r={encode:function(t,e,n){return t+"-"+e+"-"+n},decode:function(t){var e=t.split("-"),n=e[0],r=e[1],o=e[2];return{blockKey:n,decoratorKey:parseInt(r,10),leafKey:parseInt(o,10)}}};t.exports=r},function(t,e,n){var r=n(201);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){"use strict";var r=n(45);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,u=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=u.length;e;){for(c=u,u=[];++f<e;)c&&c[f].run();f=-1,e=u.length}c=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function g(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new h(t,e)),1!==u.length||l||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var o,i=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?t:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(t,e,n){"use strict";n.r(e);var r=function(t,e){var n=0;return t.map(function(t){var r={start:t.start,end:t.end,confidence:t.confidence,text:t[e],offset:n,length:t[e].length,key:Math.random().toString(36).substring(6)};return n=n+t[e].length+1,r})};var o=function(t,e){return function(t){var e=t[0].speaker,n=[],r={words:[],text:"",speaker:""};return t.forEach(function(t){e===t.speaker?(r.words.push(t),r.text+=t.punct+" ",r.speaker=e):(e=t.speaker,r.text=r.text.trim(),n.push(r),(r={words:[],text:"",speaker:"U_UKN"}).words.push(t),r.text+=t.punct+" ")}),n.push(r),n}(function(t,e){var n=[];return t.forEach(function(t){var r,o=function(t,e){var n=e.find(function(e){var n=e.start+e.duration;return t.start>=e.start&&t.end<=n});return void 0===n?{"@type":"Segment",speaker:{"@id":"UKN",gender:"U"}}:n}(t,e);t.speaker=(r=o.speaker).gender+"_"+r["@id"],n.push(t)}),n}(t,e.segments))},i=function(t){var e,n=[],i=null;return void 0===t.retval?(e=t.words,void 0!==t.segmentation&&(i=t.segmentation)):(e=t.retval.words,void 0!==t.retval.segmentation&&(i=t.retval.segmentation)),(null===i?function(t){var e=[],n={words:[],text:[]};return t.forEach(function(t){/[.?!]/.test(t.punct)?(n.words.push(t),n.text.push(t.punct),n.text=n.text.join(" "),e.push(n),n={words:[],text:[]}):(n.words.push(t),n.text.push(t.punct))}),e}(e):o(e,i)).forEach(function(t,e){if(void 0!==t.words[0]){var o="TBC ".concat(e);null!==i&&(o=t.speaker);var a={text:t.text,type:"paragraph",data:{speaker:o,words:t.words,start:t.words[0].start},entityRanges:r(t.words,"punct")};n.push(a)}}),n},a=function(t){var e=[];return function(t){var e=[],n={words:[],text:[]};return t.forEach(function(t){t.paragraph.forEach(function(t){t.line.forEach(function(t){var r={text:t.text,start:t.startTime,end:t.endTime};/[.?!]/.test(t.text)?(n.words.push(r),n.text.push(t.text),e.push(n),n={words:[],text:[]}):(n.words.push(r),n.text.push(t.text))})})}),e}(t.text).forEach(function(t,n){var o={text:t.text.join(" "),type:"paragraph",data:{speaker:"TBC ".concat(n),words:t.words,start:t.words[0].start},entityRanges:r(t.words,"text")};e.push(o)}),e},s=function(t,e){for(var n in e){var r=e[n];if(t>=r.start&t<r.end)return r.name}return"UNK"},c=function(t){var e,n,o,i,a=[];return n=t.words,o=[],n.forEach(function(t){/[.?!]/.test(t.name)?(o[o.length-1].name=o[o.length-1].name+t.name,o[o.length-1].duration=(parseFloat(o[o.length-1].duration)+parseFloat(t.duration)).toString()):o.push(t)}),e=(e=o).map(function(t,e){return{start:t.time,end:(parseFloat(t.time)+parseFloat(t.duration)).toString(),confidence:t.confidence,word:t.name.toLowerCase().replace(/[.?!]/g,""),punct:t.name,index:e}}),i=(i=t.speakers).map(function(t){return{start:t.time,end:(parseFloat(t.time)+parseFloat(t.duration)).toString(),name:t.name}}),function(t){var e=[],n={words:[],text:[]};return t.forEach(function(t){/[.?!]/.test(t.punct)?(n.words.push(t),n.text.push(t.punct),e.push(n),n={words:[],text:[]}):(n.words.push(t),n.text.push(t.punct))}),e}(e).forEach(function(t){var e=t.words[0].start,n={text:t.text.join(" "),type:"paragraph",data:{speaker:s(e,i),words:t.words,start:e},entityRanges:r(t.words,"punct")};a.push(n)}),a},u=function(t,e){var n=parseFloat(t.start_time),r=parseFloat(t.end_time),o=e.find(function(t){return n>=parseFloat(t.start_time)&&r<=parseFloat(t.end_time)});return void 0===o?"UKN":o.speaker_label.replace("spk_","")},l=function(t,e){return function(t){var e=[],n="";return t.forEach(function(t){t.speaker_label===n?e[e.length-1].words.push(t):(n=t.speaker_label,e.push({speaker:t.speaker_label,words:[t]}))}),e}(function(t,e){return t.map(function(t){return Object.assign(t,{speaker_label:u(t,e)})})}(t,e.segments))};function f(t){for(var e=1;e<arguments.length;e++){var n=null==arguments[e]?{}:arguments[e],r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){p(t,e,n[e])})}return t}function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(t){return/punctuation/.test(t.type)?Object.assign(t.alternatives[0],{confidence:1}):t.alternatives.reduce(function(t,e){return parseFloat(t.confidence)>parseFloat(e.confidence)?t:e})},h=function(t){var e=d(t);return{start:parseFloat(t.start_time),end:parseFloat(t.end_time),text:e.content,confidence:parseFloat(e.confidence)}},g=function(t){var e=[];return t.map(function(n,r){return"punctuation"===n.type?(e.push(r-1),function(t,e){var n=t.alternatives[0].content;return f({},e,{alternatives:e.alternatives.map(function(t){return f({},t,{content:t.content+(e=n,e.replace(/^\s/,""))});var e})})}(n,t[r-1])):n}).filter(function(t,n){return!e.includes(n)})},y=function(t){var e=[],n=t.results.items,o=t.results.speaker_labels,i=g(n);return(void 0!==o?function(t,e){return l(t,e).map(function(t){return{words:t.words.map(h),text:t.words.map(function(t){return d(t).content}),speaker:t.speaker}})}(i,o):function(t){var e=[],n={words:[],text:[]};return t.forEach(function(t){var r=d(t).content,o=h(t);/[.?!]/.test(r)?(n.words.push(o),n.text.push(r),e.push(n),n={words:[],text:[]}):(n.words.push(o),n.text.push(r))}),e}(i)).forEach(function(t,n){var o={text:t.text.join(" "),type:"paragraph",data:{speaker:t.speaker?"Speaker ".concat(t.speaker):"TBC ".concat(n),words:t.words,start:parseFloat(t.words[0].start)},entityRanges:r(t.words,"text")};e.push(o)}),e},v=function(t){var e,n,o,i,a=(o=t.results[0].results,i=[],o.forEach(function(t){i.push(t.alternatives[0].timestamps.map(function(t){return{text:t[0],start:t[1],end:t[2]}}))}),i);return function(t){var e=[];return t.forEach(function(t){var n={text:t.map(function(t){return t.text}).join(" "),type:"paragraph",data:{speaker:t[0].speaker,words:t,start:t[0].start},entityRanges:r(t,"text")};e.push(n)}),e}((e=a,n=t.results[0].speaker_labels,e.map(function(t){return t.map(function(t){return t.speaker=function(t,e){var n=e.find(function(e){var n=e.from,r=e.to;return t.start===n&&t.end===r});return void 0===n?"UKN":"S_".concat(n.speaker)}(t,n),t})})))},m=function(t){return t.reduce(function(t,e){return t.concat(Array.isArray(e)?m(e):e)},[])},b=function(t){var e=t.map(function(t){return t.entityRanges}),n=m(e),r={};return n.forEach(function(t){r[t.key]={type:"WORD",mutability:"MUTABLE",data:t}}),r};e.default=function(t,e){var n;switch(e){case"bbckaldi":return{blocks:n=i(t),entityMap:b(n)};case"autoedit2":return{blocks:n=a(t),entityMap:b(n)};case"speechmatics":return{blocks:n=c(t),entityMap:b(n)};case"ibm":return{blocks:n=v(t),entityMap:b(n)};case"draftjs":return t;case"amazontranscribe":return{blocks:n=y(t),entityMap:b(n)};default:console.error("Did not recognize the stt engine.")}}},function(t,e,n){"use strict";n.r(e);var r=function(t){return t.blocks.map(function(t){return t.text}).join("\n\n")};e.default=function(t,e){switch(e){case"draftjs":return{data:JSON.stringify(t,null,2),ext:"json"};case"txt":return{data:r(t),ext:"txt"};default:console.error("Did not recognise the export format")}}},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(39),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(11))},function(t,e,n){"use strict";function r(t){return function(){return t}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(t){return t},t.exports=o},function(t,e,n){"use strict";var r=n(33),o=n(16),i=n(27),a=n(20),s=n(41),c=n(24),u=n(3),l=n(31),f=n(23),p=n(53),d=u.List,h=u.Record,g=u.Repeat,y=c.draft_tree_data_support?a:i,v=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getEntityMap=function(){return s},e.prototype.getBlockMap=function(){return this.get("blockMap")},e.prototype.getSelectionBefore=function(){return this.get("selectionBefore")},e.prototype.getSelectionAfter=function(){return this.get("selectionAfter")},e.prototype.getBlockForKey=function(t){return this.getBlockMap().get(t)},e.prototype.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil(function(e){return e===t}).skip(1).first()},e.prototype.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil(function(e){return e===t}).skip(1).first()},e.prototype.getBlockAfter=function(t){return this.getBlockMap().skipUntil(function(e,n){return n===t}).skip(1).first()},e.prototype.getBlockBefore=function(t){return this.getBlockMap().reverse().skipUntil(function(e,n){return n===t}).skip(1).first()},e.prototype.getBlocksAsArray=function(){return this.getBlockMap().toArray()},e.prototype.getFirstBlock=function(){return this.getBlockMap().first()},e.prototype.getLastBlock=function(){return this.getBlockMap().last()},e.prototype.getPlainText=function(t){return this.getBlockMap().map(function(t){return t?t.getText():""}).join(t||"\n")},e.prototype.getLastCreatedEntityKey=function(){return s.__getLastCreatedEntityKey()},e.prototype.hasText=function(){var t=this.getBlockMap();return t.size>1||t.first().getLength()>0},e.prototype.createEntity=function(t,e,n){return s.__create(t,e,n),this},e.prototype.mergeEntityData=function(t,e){return s.__mergeData(t,e),this},e.prototype.replaceEntityData=function(t,e){return s.__replaceData(t,e),this},e.prototype.addEntity=function(t){return s.__add(t),this},e.prototype.getEntity=function(t){return s.__get(t)},e.createFromBlockArray=function(t,n){var o=Array.isArray(t)?t:t.contentBlocks,i=r.createFromArray(o),a=i.isEmpty()?new l:l.createEmpty(i.first().getKey());return new e({blockMap:i,entityMap:n||s,selectionBefore:a,selectionAfter:a})},e.createFromText=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,r=t.split(n).map(function(t){return t=p(t),new y({key:f(),text:t,type:"unstyled",characterList:d(g(o.EMPTY,t.length))})});return e.createFromBlockArray(r)},e}(h({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}));t.exports=v},function(t,e,n){"use strict";var r=new RegExp("\r","g");t.exports=function(t){return t.replace(r,"")}},function(t,e,n){"use strict";var r=n(4),o="LTR",i="RTL",a=null;function s(t){return t===o||t===i}function c(t){return s(t)||r(!1),t===o?"ltr":"rtl"}function u(t){a=t}var l={NEUTRAL:"NEUTRAL",LTR:o,RTL:i,isStrong:s,getHTMLDir:c,getHTMLDirIfDifferent:function(t,e){return s(t)||r(!1),s(e)||r(!1),t===e?null:c(t)},setGlobalDir:u,initGlobalDir:function(){u(o)},getGlobalDir:function(){return a||this.initGlobalDir(),a||r(!1),a}};t.exports=l},function(t,e,n){"use strict";var r=n(3).Map,o=n(0),i=n(32),a=r({"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:o.createElement("ul",{className:i("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:o.createElement("ol",{className:i("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:o.createElement("pre",{className:i("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});t.exports=a},function(t,e,n){"use strict";t.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},function(t,e,n){"use strict";function r(t,e){return e&&"MUTABLE"===t.__get(e).getMutability()?e:null}t.exports=function(t,e){var n;if(e.isCollapsed()){var o=e.getAnchorKey(),i=e.getAnchorOffset();return i>0?(n=t.getBlockForKey(o).getEntityAt(i-1))!==t.getBlockForKey(o).getEntityAt(i)?null:r(t.getEntityMap(),n):null}var a=e.getStartKey(),s=e.getStartOffset(),c=t.getBlockForKey(a);return n=s===c.getLength()?null:c.getEntityAt(s),r(t.getEntityMap(),n)}},function(t,e,n){"use strict";var r=n(134);t.exports=function t(e,n){return!(!e||!n)&&(e===n||!r(e)&&(r(n)?t(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}},function(t,e,n){"use strict";function r(t,e){var n=o.get(t,e);return"auto"===n||"scroll"===n}var o={get:n(136),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(r(t,"overflow")||r(t,"overflowY")||r(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=o},function(t,e,n){"use strict";var r=n(141),o=n(142);t.exports=function(t){var e=r(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var n=o(t),i=t===e?t.ownerDocument.documentElement:t,a=t.scrollWidth-i.clientWidth,s=t.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},function(t,e,n){"use strict";var r=n(81);t.exports=function(t){for(var e=t;e&&e!==document.documentElement;){var n=r(e);if(null!=n)return n;e=e.parentNode}return null}},function(t,e,n){"use strict";var r=n(22).isPlatform("Mac OS X"),o={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return r&&t.altKey},hasCommandModifier:function(t){return r?!!t.metaKey&&!t.altKey:o.isCtrlKeyCommand(t)}};t.exports=o},function(t,e,n){"use strict";t.exports=function(t,e){var n=t.getSelection(),r=t.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(e>i){var c=r.getKeyBefore(o);null==c?a=o:(a=c,s=r.getBlockForKey(c).getText().length)}else s=i-e;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},function(t,e,n){"use strict";n.r(e);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),s=n(98),c=n.n(s);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var h=function(t){function e(){var t,n,r,o,i,a,s;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var c=arguments.length,l=Array(c),d=0;d<c;d++)l[d]=arguments[d];return a=this,s=(t=f(e)).call.apply(t,[this].concat(l)),n=!s||"object"!==u(s)&&"function"!=typeof s?p(a):s,r=p(n),i=function(){if(null!==n.props.videoRef.current)return n.props.videoRef.current.paused?n.props.videoRef.current.play():n.props.videoRef.current.pause()},(o="handlePlayMedia")in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(e,o.a.Component),n=e,(r=[{key:"render",value:function(){var t=this.props.previewIsDisplayed?"inline":"none";return o.a.createElement("video",{id:"video",playsInline:!0,src:this.props.mediaUrl,onTimeUpdate:this.props.onTimeUpdate,type:"video/mp4","data-testid":"media-player-id",onClick:this.handlePlayMedia,onLoadedData:this.props.onLoadedDataGetDuration,ref:this.props.videoRef,className:c.a.videoEl,style:{display:t}})}}])&&l(n.prototype,r),i&&l(n,i),e;var n,r,i}();h.propTypes={mediaUrl:a.a.string,onTimeUpdate:a.a.func,onClick:a.a.func,videoRef:a.a.object,onLoadedDataGetDuration:a.a.func,previewIsDisplayed:a.a.bool,previewViewWidth:a.a.string},e.default=h},function(t,e,n){"use strict";n.r(e);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),s=n(9);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h=function(t){function e(){var t,n,r,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return r=this,n=!(o=(t=l(e)).call.apply(t,[this].concat(a)))||"object"!==c(o)&&"function"!=typeof o?f(r):o,d(f(n),"generateConfidence",function(t){return t.confidence?.6<t.confidence?"high":"low":"high"}),d(f(n),"generatePreviousTimes",function(t){for(var e="",n=0;n<t.start;n++)e+="".concat(n," ");if(0<t.start%1){var r=Math.floor(t.start%1*4)/4;e+=" ".concat(Math.floor(t.start)+r)}return e}),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(e,r["PureComponent"]),n=e,(i=[{key:"render",value:function(){var t=this.props.entityKey?this.props.contentState.getEntity(this.props.entityKey).getData():{};return o.a.createElement("span",{"data-start":t.start,"data-end":t.end,"data-confidence":this.generateConfidence(t),"data-prev-times":this.generatePreviousTimes(t),"data-entity-key":t.key,className:"Word"},this.props.children)}}])&&u(n.prototype,i),a&&u(n,a),e;var n,i,a}();h.propTypes={contentState:a.a.object,entityKey:a.a.string,children:a.a.array};var g=h,y=n(6),v=n(7),m=n(25),b=n.n(m);function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function S(t,e){return!e||"object"!==_(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function x(t,e){return(x=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var E=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),S(this,k(e).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&x(t,e)}(e,r["PureComponent"]),n=e,(i=[{key:"render",value:function(){return o.a.createElement("span",{className:b.a.speaker,onClick:this.props.handleOnClickEdit},o.a.createElement("span",{className:b.a.EditLabel},o.a.createElement(y.a,{icon:v.m})),this.props.name)}}])&&w(n.prototype,i),a&&w(n,a),e;var n,i,a}();E.propTypes={name:a.a.string,handleOnClickEdit:a.a.func};var O=E,C=n(8);function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function A(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function I(t){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function M(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j(t,e){return(j=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function D(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var P=function(t){function e(t){var n,r,o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,o=I(e).call(this,t),n=!o||"object"!==T(o)&&"function"!=typeof o?M(r):o,D(M(n),"handleOnClickEdit",function(){var t=prompt("New Speaker Name?");if(""!==t&&null!==t){n.setState({speaker:t}),n.props.blockProps.handleAnalyticsEvents&&n.props.blockProps.handleAnalyticsEvents({category:"WrapperBlock",action:"handleOnClickEdit",name:"newSpeakerName",value:t});var e=n.props.block.getKey(),r=s.SelectionState.createEmpty(e),o=s.EditorState.acceptSelection(n.props.blockProps.editorState,r).getSelection(),i=s.Modifier.mergeBlockData(n.props.contentState,o,{speaker:t});n.props.blockProps.setEditorNewContentState(i)}}),D(M(n),"handleTimecodeClick",function(){n.props.blockProps.onWordClick(n.state.start),n.props.blockProps.handleAnalyticsEvents&&n.props.blockProps.handleAnalyticsEvents({category:"WrapperBlock",action:"handleTimecodeClick",name:"onWordClick",value:Object(C.secondsToTimecode)(n.state.start)})}),n.state={speaker:"",start:0,timecodeOffset:n.props.blockProps.timecodeOffset},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j(t,e)}(e,o.a.Component),n=e,(r=[{key:"componentDidMount",value:function(){var t=this.props.block,e=t.getData().get("speaker"),n=t.getData().get("start");this.setState({speaker:e,start:n})}},{key:"render",value:function(){var t=this.state.start;this.props.blockProps.timecodeOffset&&(t+=this.props.blockProps.timecodeOffset);var e=o.a.createElement(O,{name:this.state.speaker,handleOnClickEdit:this.handleOnClickEdit}),n=o.a.createElement("span",{className:b.a.time,onClick:this.handleTimecodeClick},Object(C.shortTimecode)(t));return o.a.createElement("div",{className:b.a.WrapperBlock},o.a.createElement("div",{className:b.a.markers,contentEditable:!1},this.props.blockProps.showSpeakers?e:"",this.props.blockProps.showTimecodes?n:""),o.a.createElement("div",{className:b.a.text},o.a.createElement(s.EditorBlock,this.props)))}}])&&A(n.prototype,r),i&&A(n,i),e;var n,r,i}(),R=n(48),N=n(49),L=n(94),B=n.n(L);function z(t){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function K(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function U(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function W(t,e){return(W=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var H,q=function(t){function e(t){var n,r,o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,o=F(e).call(this,t),n=!o||"object"!==z(o)&&"function"!=typeof o?U(r):o,V(U(n),"onChange",function(t){n.state.editorState.getCurrentContent()!==t.getCurrentContent()&&n.props.isPauseWhileTypingOn&&n.props.isPlaying()&&(n.props.playMedia(!1),clearTimeout(n.plauseWhileTypingTimeOut),n.plauseWhileTypingTimeOut=setTimeout(function(){this.props.playMedia(!0)}.bind(U(n)),3e3)),n.state.isEditable&&n.setState(function(){return{editorState:t}},function(){void 0!==n.saveTimer&&clearTimeout(n.saveTimer),n.saveTimer=setTimeout(function(){n.localSave(n.props.mediaUrl)},1e3)})}),V(U(n),"handleDoubleClick",function(t){for(var e=t.nativeEvent.target;!e.hasAttribute("data-start")&&e.parentElement;)e=e.parentElement;if(e.hasAttribute("data-start")){var r=parseFloat(e.getAttribute("data-start"));n.props.onWordClick(r)}}),V(U(n),"localSave",function(){clearTimeout(n.saveTimer);var t=n.props.mediaUrl;n.props.mediaUrl.includes("blob")&&(t=n.props.fileName);var e=Object(s.convertToRaw)(n.state.editorState.getCurrentContent());localStorage.setItem("draftJs-".concat(t),JSON.stringify(e));var r=(new Date).toString();localStorage.setItem("timestamp-".concat(t),r)}),V(U(n),"getWordCount",function(t){var e=t.getCurrentContent().getPlainText("").replace(/(?:\r\n|\r|\n)/g," ").trim().match(/\S+/g);return e?e.length:0}),V(U(n),"setEditorContentState",function(t){var e=Object(s.convertFromRaw)(t),r=s.EditorState.createWithContent(e,X);void 0!==n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"TimedTextEditor",action:"setEditorContentState",name:"getWordCount",value:n.getWordCount(r)}),n.setState({editorState:r})}),V(U(n),"forceRenderDecorator",function(){var t=n.state.editorState.getCurrentContent(),e=n.state.editorState.getDecorator(),r=s.EditorState.createWithContent(t,e),o=s.EditorState.push(r,t);n.setState({editorState:o})}),V(U(n),"setEditorNewContentState",function(t){var e=s.EditorState.push(n.state.editorState,t);n.setState({editorState:e})}),V(U(n),"customKeyBindingFn",function(t){return 13===t.keyCode?"split-paragraph":!t.altKey||32!==t.keyCode&&32!==t.keyCode&&75!==t.keyCode&&76!==t.keyCode&&74!==t.keyCode&&187!==t.keyCode&&189!==t.keyCode&&82!==t.keyCode&&84!==t.keyCode?Object(s.getDefaultKeyBinding)(t):(t.preventDefault(),"keyboard-shortcuts")}),V(U(n),"handleKeyCommand",function(t){return"split-paragraph"===t&&n.splitParagraph(),"keyboard-shortcuts"===t?"handled":"not-handled"}),V(U(n),"splitParagraph",function(){var t=n.state.editorState.getSelection();if(t.isCollapsed()){var e,r=n.state.editorState.getCurrentContent(),o=s.Modifier.splitBlock(r,t),i=s.EditorState.push(n.state.editorState,o,"split-block"),a=i.getSelection(),c=r.blockMap.get(o.selectionBefore.getStartKey()),u=c.getData().get("speaker"),l=!1,f=c.getEntityAt(t.getStartOffset());if(null===f){var p=n.findClosestEntityKeyToSelectionPoint(t,c);if(f=p.entityKey,l=p.isEndOfParagraph,null===f)return"not-handled"}var d=r.getEntity(f).getData();e=l?d.end:d.start;var h=s.Modifier.mergeBlockData(i.getCurrentContent(),a,{start:e,speaker:u});return n.setEditorNewContentState(h),"handled"}return"not-handled"}),V(U(n),"findClosestEntityKeyToSelectionPoint",function(t,e){var n=null,r=!1,o=t.getStartOffset(),i=e.getLength(),a=i-o;if(0===a){r=!0;for(var s=i;0<s;s--)if(null!==(n=e.getEntityAt(s)))return{entityKey:n,isEndOfParagraph:r}}else for(var c=t.getStartOffset(),u=0;u<a;u++)if(c+=u,null!==(n=e.getEntityAt(c)))return{entityKey:n,isEndOfParagraph:r};return{entityKey:n,isEndOfParagraph:r}}),V(U(n),"renderBlockWithTimecodes",function(){return{component:P,editable:!0,props:{showSpeakers:n.state.showSpeakers,showTimecodes:n.state.showTimecodes,timecodeOffset:n.state.timecodeOffset,editorState:n.state.editorState,setEditorNewContentState:n.setEditorNewContentState,onWordClick:n.props.onWordClick,handleAnalyticsEvents:n.props.handleAnalyticsEvents}}}),V(U(n),"getCurrentWord",function(){var t={start:"NA",end:"NA"};if(n.state.transcriptData){var e=n.state.editorState.getCurrentContent(),r=Object(s.convertToRaw)(e).entityMap;for(var o in r){var i=r[o].data;i.start<=n.props.currentTime&&i.end>=n.props.currentTime&&(t.start=i.start,t.end=i.end)}}"NA"!==t.start&&n.props.isScrollIntoViewOn&&document.querySelector('span.Word[data-start="'.concat(t.start,'"]')).scrollIntoView({block:"nearest",inline:"center"});return t}),n.state={editorState:s.EditorState.createEmpty(),transcriptData:n.props.transcriptData,isEditable:n.props.isEditable,sttJsonType:n.props.sttJsonType,timecodeOffset:n.props.timecodeOffset,showSpeakers:n.props.showSpeakers,showTimecodes:n.props.showTimecodes,currentWord:{}},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&W(t,e)}(e,o.a.Component),n=e,i=[{key:"getDerivedStateFromProps",value:function(t){return null===t.transcriptData?null:{transcriptData:t.transcriptData,isEditable:t.isEditable,timecodeOffset:t.timecodeOffset,showSpeakers:t.showSpeakers,showTimecodes:t.showTimecodes}}}],(r=[{key:"componentDidMount",value:function(){this.loadData()}},{key:"componentDidUpdate",value:function(t,e){e.transcriptData===this.state.transcriptData||null===this.props.mediaUrl||this.isPresentInLocalStorage(this.props.mediaUrl)||this.loadData(),(e.timecodeOffset!==this.state.timecodeOffset||e.showSpeakers!==this.state.showSpeakers||e.showTimecodes!==this.state.showTimecodes)&&this.forceRenderDecorator()}},{key:"loadData",value:function(){if(null!==this.props.transcriptData){var t=Object(R.default)(this.props.transcriptData,this.props.sttJsonType);this.setEditorContentState(t)}}},{key:"getEditorContent",value:function(t){return Object(N.default)(Object(s.convertToRaw)(this.state.editorState.getCurrentContent()),t||"draftjs")}},{key:"isPresentInLocalStorage",value:function(t){if(null!==t){var e=t;return t.includes("blob")&&(e=this.props.fileName),null!==localStorage.getItem("draftJs-".concat(e))}return!1}},{key:"loadLocalSavedData",value:function(t){var e=t;t.includes("blob")&&(e=this.props.fileName);var n=JSON.parse(localStorage.getItem("draftJs-".concat(e)));if(null!==n){var r=localStorage.getItem("timestamp-".concat(e));return this.setEditorContentState(n),r}return""}},{key:"render",value:function(){var t=this,e=this.getCurrentWord(),n=Math.round(4*this.props.currentTime)/4,r=o.a.createElement("section",{className:B.a.editor,onDoubleClick:function(e){return t.handleDoubleClick(e)}},o.a.createElement("style",{scoped:!0},'span.Word[data-start="'.concat(e.start,'"] { background-color: ').concat("#69e3c2","; text-shadow: 0 0 0.01px black }"),'span.Word[data-start="'.concat(e.start,'"]+span { background-color: ').concat("#69e3c2"," }"),'span.Word[data-prev-times~="'.concat(Math.floor(n),'"] { color: ').concat("#767676"," }"),'span.Word[data-prev-times~="'.concat(n,'"] { color: ').concat("#767676"," }"),'span.Word[data-confidence="low"] { border-bottom: '.concat("1px dotted blue"," }")),o.a.createElement(s.Editor,{editorState:this.state.editorState,onChange:this.onChange,stripPastedStyles:!0,blockRendererFn:this.renderBlockWithTimecodes,handleKeyCommand:function(e){return t.handleKeyCommand(e)},keyBindingFn:function(e){return t.customKeyBindingFn(e)}}));return o.a.createElement("section",null,null===this.props.transcriptData?null:r)}}])&&K(n.prototype,r),i&&K(n,i),e;var n,r,i}(),X=new s.CompositeDecorator([{strategy:(H="MUTABLE",function(t,e,n){t.findEntityRanges(function(t){var e=t.getEntity();return null!==e&&n.getEntity(e).getMutability()===H},e)}),component:g}]);q.propTypes={transcriptData:a.a.object,mediaUrl:a.a.string,isEditable:a.a.bool,onWordClick:a.a.func,sttJsonType:a.a.string,isPlaying:a.a.func,playMedia:a.a.func,currentTime:a.a.number,isScrollIntoViewOn:a.a.bool,isPauseWhileTypingOn:a.a.bool,timecodeOffset:a.a.number,handleAnalyticsEvents:a.a.func,showSpeakers:a.a.bool,showTimecodes:a.a.bool,fileName:a.a.string};e.default=q},function(t,e,n){"use strict";n.r(e);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),s=n(6),c=n(7),u=n(43),l=n.n(u);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function d(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var y=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),d(this,h(e).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(e,o.a.Component),n=e,(r=[{key:"render",value:function(){return o.a.createElement("div",{className:l.a.switchContainer},o.a.createElement("label",{className:l.a.switch},o.a.createElement("input",{type:"checkbox",defaultChecked:this.props.defaultValue,onChange:this.props.handleToggle}),o.a.createElement("span",{className:l.a.slider})))}}])&&p(n.prototype,r),i&&p(n,i),e;var n,r,i}();y.propTypes={handleToggle:a.a.func,label:a.a.string,defaultValue:a.a.bool};var v=y,m=n(38),b=n.n(m),_=n(8);function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function x(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var C=function(t){function e(t){var n,r,o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,o=k(e).call(this,t),n=!o||"object"!==w(o)&&"function"!=typeof o?x(r):o,O(x(n),"handleChange",function(t){n.setState({timecodeOffset:t.target.value})}),O(x(n),"resetTimecodeOffset",function(){void 0!==n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"TimecodeOffset",action:"resetTimecodeOffset",name:"resetTimecodeOffset",value:0}),n.setState({timecodeOffset:Object(_.secondsToTimecode)(0)},function(){n.props.handleSetTimecodeOffset(0)})}),O(x(n),"setTimecodeOffset",function(){void 0!==n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"TimecodeOffset",action:"setTimecodeOffset",name:"setTimecodeOffset",value:n.state.timecodeOffset});var t=n.state.timecodeOffset;"string"==typeof t&&t.includes(":")&&!t.includes("NaN")&&(t=Object(_.timecodeToSeconds)(t)),n.props.handleSetTimecodeOffset(t)}),n.state={timecodeOffset:Object(_.secondsToTimecode)(n.props.timecodeOffset)},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(e,o.a.Component),n=e,(r=[{key:"render",value:function(){return o.a.createElement("div",{className:b.a.offsetContainer},o.a.createElement("input",{className:b.a.inputBox,type:"text",value:this.state.timecodeOffset,onChange:this.handleChange,name:"lname"}),o.a.createElement("span",{className:b.a.button,onClick:this.resetTimecodeOffset},o.a.createElement("u",null,"Reset")),o.a.createElement("span",null," | "),o.a.createElement("span",{className:b.a.button,onClick:this.setTimecodeOffset},o.a.createElement("u",null,"Save")))}}])&&S(n.prototype,r),i&&S(n,i),e;var n,r,i}();C.propTypes={handleSetTimecodeOffset:a.a.func,onChange:a.a.func,timecodeOffset:a.a.number,handleAnalyticsEvents:a.a.func};var T=C,A=n(10),I=n.n(A);function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function D(t,e){return!e||"object"!==M(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function R(t,e){return(R=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var N=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),D(this,P(e).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R(t,e)}(e,o.a.Component),n=e,(r=[{key:"render",value:function(){return o.a.createElement("div",{className:I.a.settings},o.a.createElement("h2",{className:I.a.header},"Settings Panel"),o.a.createElement("div",{className:I.a.closeButton,onClick:this.props.handleSettingsToggle},o.a.createElement(s.a,{icon:c.p})),o.a.createElement("div",{className:I.a.controlsContainer},o.a.createElement("section",{className:I.a.settingElement},o.a.createElement("div",{className:I.a.label},"Pause While Typing"),o.a.createElement(v,{defaultValue:this.props.defaultValuePauseWhileTyping,label:"Pause while typing",handleToggle:this.props.handlePauseWhileTyping})),o.a.createElement("section",{className:I.a.settingElement},o.a.createElement("div",{className:I.a.label},"Scroll Sync"),o.a.createElement(v,{defaultValue:this.props.defaultValueScrollSync,label:"ScrollSync",handleToggle:this.props.handleIsScrollIntoViewChange})),o.a.createElement("section",{className:I.a.settingElement},o.a.createElement("div",{className:I.a.label},"Rollback Interval (sec)"),o.a.createElement("input",{className:I.a.rollbackValue,type:"number",step:"1",max:"60",min:"1",value:this.props.defaultRollBackValueInSeconds,onChange:this.props.handleRollBackValueInSeconds,name:"lname"})),o.a.createElement("section",{className:I.a.settingElement},o.a.createElement("div",{className:I.a.label},"Show Timecodes"),o.a.createElement(v,{defaultValue:this.props.showTimecodes,label:"Hide Timecodes",handleToggle:this.props.handleShowTimecodes})),o.a.createElement("section",{className:I.a.settingElement},o.a.createElement("div",{className:I.a.label},"Show Speaker Labels"),o.a.createElement(v,{defaultValue:this.props.showSpeakers,label:"Hide Speaker Labels",handleToggle:this.props.handleShowSpeakers})),o.a.createElement("section",{className:I.a.settingElement},o.a.createElement("div",{className:I.a.label},"Display Preview"),o.a.createElement(v,{defaultValue:this.props.previewIsDisplayed,label:"Display Preview",handleToggle:this.props.handlePreviewIsDisplayed})),o.a.createElement("section",{className:I.a.settingElement},o.a.createElement("div",{className:I.a.timecodeLabel},"Timecode Offset ℹ"),o.a.createElement(T,{timecodeOffset:this.props.timecodeOffset,handleSetTimecodeOffset:this.props.handleSetTimecodeOffset,handleAnalyticsEvents:this.props.handleAnalyticsEvents}))))}}])&&j(n.prototype,r),i&&j(n,i),e;var n,r,i}();N.propTypes={showTimecodes:a.a.bool,showSpeakers:a.a.bool,timecodeOffset:a.a.number,handleShowTimecodes:a.a.func,handleShowSpeakers:a.a.func,handleSetTimecodeOffset:a.a.func,handleSettingsToggle:a.a.func,handlePauseWhileTyping:a.a.func,handleIsScrollIntoViewChange:a.a.func,handleRollBackValueInSeconds:a.a.func,defaultValueScrollSync:a.a.bool,defaultValuePauseWhileTyping:a.a.bool,defaultRollBackValueInSeconds:a.a.number,previewIsDisplayed:a.a.bool,handlePreviewIsDisplayed:a.a.func,handleChangePreviewViewWidth:a.a.func,handleAnalyticsEvents:a.a.func};e.default=N},function(t,e,n){"use strict";n.r(e);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),s=n(7),c=n(6);var u=function(t){return{"alt+k":{priority:1,handler:function(){t.togglePlayMedia(),t.props.handleAnalyticsEvents({category:"defaultHotKeys",action:"alt+k",name:"togglePlayMedia",value:"na"})},displayKeyCombination:"alt + k",label:"Play Media"},"alt+l":{priority:1,handler:function(){t.skipForward(),t.props.handleAnalyticsEvents({category:"defaultHotKeys",action:"alt+l",name:"skipForward",value:"na"})},displayKeyCombination:"alt + l",label:"Fast Forward"},"alt+j":{priority:1,handler:function(){t.skipBackward(),t.props.handleAnalyticsEvents({category:"defaultHotKeys",action:"alt+j",name:"skipBackward",value:"na"})},displayKeyCombination:"alt + j",label:"Rewind"},"alt+-":{priority:1,handler:function(){t.decreasePlaybackRate(),t.props.handleAnalyticsEvents({category:"defaultHotKeys",action:"alt+-",name:"decreasePlaybackRate",value:"na"})},displayKeyCombination:"alt + -",label:"Decrease Playback Speed"},"alt+=":{priority:1,handler:function(){t.increasePlaybackRate(),t.props.handleAnalyticsEvents({category:"defaultHotKeys",action:"alt+plus",name:"increasePlaybackRate",value:"na"})},displayKeyCombination:"alt + +",label:"Increase Playback Speed"},"alt+r":{priority:1,handler:function(){t.rollBack(),t.props.handleAnalyticsEvents({category:"defaultHotKeys",action:"alt+r",name:"rollBack",value:"na"})},displayKeyCombination:"alt + r",label:"Roll Back"},"alt+t":{priority:1,handler:function(){t.promptSetCurrentTime(),t.props.handleAnalyticsEvents({category:"defaultHotKeys",action:"alt+t",name:"promptSetCurrentTime",value:"na"})},displayKeyCombination:"alt + t",label:"set current time"}}},l=n(26),f=n.n(l);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function h(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,"getHotKeys",function(){return v});var v=u,m=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),h(this,g(e).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(e,o.a.Component),n=e,(r=[{key:"render",value:function(){var t=u(this),e=Object.keys(t).map(function(e){var n=t[e];return o.a.createElement("li",{key:e,className:f.a.listItem},o.a.createElement("div",{className:f.a.shortcut},n.displayKeyCombination),o.a.createElement("div",{className:f.a.shortcutLabel},n.label))});return o.a.createElement("div",{className:f.a.shortcuts},o.a.createElement("h2",{className:f.a.header},"Shortcuts"),o.a.createElement("div",{className:f.a.closeButton,onClick:this.props.handleShortcutsToggle},o.a.createElement(c.a,{icon:s.p})),o.a.createElement("ul",{className:f.a.list},e))}}])&&d(n.prototype,r),i&&d(n,i),e;var n,r,i}();m.propTypes={handleShortcutsToggle:a.a.func};e.default=m},function(t,e,n){"use strict";var r=n(20),o=n(3),i=n(23),a=o.OrderedMap;t.exports=function(t){return t.first()instanceof r?function(t){var e={},n=void 0;return a(t.withMutations(function(t){t.forEach(function(r,o){var a=r.getKey(),s=r.getNextSiblingKey(),c=r.getPrevSiblingKey(),u=r.getChildKeys(),l=r.getParentKey(),f=i();if(e[a]=f,s&&(t.get(s)?t.setIn([s,"prevSibling"],f):t.setIn([a,"nextSibling"],null)),c&&(t.get(c)?t.setIn([c,"nextSibling"],f):t.setIn([a,"prevSibling"],null)),l&&t.get(l)){var p=t.get(l).getChildKeys();t.setIn([l,"children"],p.set(p.indexOf(r.getKey()),f))}else t.setIn([a,"parent"],null),n&&(t.setIn([n.getKey(),"nextSibling"],f),t.setIn([a,"prevSibling"],e[n.getKey()])),n=t.get(a);u.forEach(function(e){t.get(e)?t.setIn([e,"parent"],f):t.setIn([a,"children"],r.getChildKeys().filter(function(t){return t!==e}))})})}).toArray().map(function(t){return[e[t.getKey()],t.set("key",e[t.getKey()])]}))}(t):function(t){return a(t.toArray().map(function(t){var e=i();return[e,t.set("key",e)]}))}(t)}},function(t,e,n){"use strict";var r=n(16),o=n(34),i=n(4);function a(t,e,n){var a=e.getCharacterList(),s=n>0?a.get(n-1):void 0,c=n<a.count()?a.get(n):void 0,u=s?s.getEntity():void 0,l=c?c.getEntity():void 0;if(l&&l===u&&"MUTABLE"!==t.__get(l).getMutability()){for(var f,p=function(t,e,n){var r;return o(t,function(t,e){return t.getEntity()===e.getEntity()},function(t){return t.getEntity()===e},function(t,e){t<=n&&e>=n&&(r={start:t,end:e})}),"object"!=typeof r&&i(!1),r}(a,l,n),d=p.start,h=p.end;d<h;)f=a.get(d),a=a.set(d,r.applyEntity(f,null)),d++;return e.set("characterList",a)}return e}t.exports=function(t,e){var n=t.getBlockMap(),r=t.getEntityMap(),o={},i=e.getStartKey(),s=e.getStartOffset(),c=n.get(i),u=a(r,c,s);u!==c&&(o[i]=u);var l=e.getEndKey(),f=e.getEndOffset(),p=n.get(l);i===l&&(p=u);var d=a(r,p,f);return d!==p&&(o[l]=d),Object.keys(o).length?t.merge({blockMap:n.merge(o),selectionAfter:e}):t.set("selectionAfter",e)}},function(t,e,n){"use strict";t.exports=function(t,e,n){if(n===t.count())e.forEach(function(e){t=t.push(e)});else if(0===n)e.reverse().forEach(function(e){t=t.unshift(e)});else{var r=t.slice(0,n),o=t.slice(n);t=r.concat(e,o).toList()}return t}},function(t,e,n){"use strict";var r=n(20);t.exports=function(t,e){if(!(t instanceof r))return null;var n=t.getNextSiblingKey();if(n)return n;var o=t.getParentKey();if(!o)return null;for(var i=e.get(o);i&&!i.getNextSiblingKey();){var a=i.getParentKey();i=a?e.get(a):null}return i?i.getNextSiblingKey():null}},function(t,e,n){"use strict";var r=n(3),o=n(51),i=n(34),a=r.List,s=r.Repeat,c=r.Record,u=o.thatReturnsTrue,l=c({start:null,end:null}),f=c({start:null,end:null,decoratorKey:null,leaves:null}),p={generate:function(t,e,n){var r=e.getLength();if(!r)return a.of(new f({start:0,end:0,decoratorKey:null,leaves:a.of(new l({start:0,end:0}))}));var o=[],c=n?n.getDecorations(e,t):a(s(null,r)),p=e.getCharacterList();return i(c,h,u,function(t,e){o.push(new f({start:t,end:e,decoratorKey:c.get(t),leaves:d(p.slice(t,e).toList(),t)}))}),a(o)},getFingerprint:function(t){return t.map(function(t){var e=t.get("decoratorKey");return(null!==e?e+"."+(t.get("end")-t.get("start")):"")+"."+t.get("leaves").size}).join("-")}};function d(t,e){var n=[],r=t.map(function(t){return t.getStyle()}).toList();return i(r,h,u,function(t,r){n.push(new l({start:t+e,end:r+e}))}),a(n)}function h(t,e){return t===e}t.exports=p},function(t,e,n){"use strict";var r=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getType=function(){return this.get("type")},e.prototype.getMutability=function(){return this.get("mutability")},e.prototype.getData=function(){return this.get("data")},e}((0,n(3).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));t.exports=r},function(t,e,n){"use strict";var r=n(54),o=n(4),i="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",a="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",s=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+i+a+"]"),c=new RegExp("["+i+a+"]");function u(t){var e=s.exec(t);return null==e?null:e[0]}function l(t){var e=u(t);return null==e?r.NEUTRAL:c.exec(e)?r.RTL:r.LTR}function f(t,e){if(e=e||r.NEUTRAL,!t.length)return e;var n=l(t);return n===r.NEUTRAL?e:n}function p(t,e){return e||(e=r.getGlobalDir()),r.isStrong(e)||o(!1),f(t,e)}var d={firstStrongChar:u,firstStrongCharDir:l,resolveBlockDir:f,getDirection:p,isDirectionLTR:function(t,e){return p(t,e)===r.LTR},isDirectionRTL:function(t,e){return p(t,e)===r.RTL}};t.exports=d},function(t,e,n){"use strict";t.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},function(t,e,n){"use strict";t.exports=function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=t.getBlockTree(n),o=e.getStartOffset(),i=!1;return r.some(function(t){return o===t.get("start")?(i=!0,!0):o<t.get("end")&&t.get("leaves").some(function(t){var e=t.get("start");return o===e&&(i=!0,!0)})}),i}},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};var o=n(124),i=n(42),a=n(0),s=n(30),c=n(79),u=n(59),l=n(74),f=n(54),p=n(32),d=n(139),h=n(60),g=n(143),y=n(4),v=n(21),m=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},b=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||m(t.selection,t.block.getKey())&&t.forceSelection},e.prototype.componentDidMount=function(){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=s.findDOMNode(this),r=u.getScrollParent(n),o=h(r),i=void 0;if(r===window){var a=d(n);(i=a.y+a.height-g().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{n instanceof HTMLElement||y(!1),(i=n.offsetHeight+n.offsetTop-(r.offsetHeight+o.y))>0&&c.setTop(r,c.getTop(r)+i+10)}}},e.prototype._renderChildren=function(){var t=this,e=this.props.block,n=e.getKey(),s=e.getText(),c=this.props.tree.size-1,u=m(this.props.selection,n);return this.props.tree.map(function(p,d){var h=p.get("leaves"),g=h.size-1,y=h.map(function(r,l){var f=i.encode(n,d,l),p=r.get("start"),h=r.get("end");return a.createElement(o,{key:f,offsetKey:f,block:e,start:p,selection:u?t.props.selection:null,forceSelection:t.props.forceSelection,text:s.slice(p,h),styleSet:e.getInlineStyleAt(p),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:d===c&&l===g})}).toArray(),m=p.get("decoratorKey");if(null==m)return y;if(!t.props.decorator)return y;var b=v(t.props.decorator),_=b.getComponentForKey(m);if(!_)return y;var w=b.getPropsForKey(m),S=i.encode(n,d,0),k=s.slice(h.first().get("start"),h.last().get("end")),x=f.getHTMLDirIfDifferent(l.getDirection(k),t.props.direction);return a.createElement(_,r({},w,{contentState:t.props.contentState,decoratedText:k,dir:x,key:S,entityKey:e.getEntityAt(p.get("start")),offsetKey:S}),y)}).toArray()},e.prototype.render=function(){var t=this.props,e=t.direction,n=t.offsetKey,r=p({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===e,"public/DraftStyleDefault/rtl":"RTL"===e});return a.createElement("div",{"data-offset-key":n,className:r},this._renderChildren())},e}(a.Component);t.exports=b},function(t,e,n){"use strict";t.exports=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}},function(t,e,n){"use strict";function r(t,e){return!!e&&(t===e.documentElement||t===e.body)}var o={getTop:function(t){var e=t.ownerDocument;return r(t,e)?e.body.scrollTop||e.documentElement.scrollTop:t.scrollTop},setTop:function(t,e){var n=t.ownerDocument;r(t,n)?n.body.scrollTop=n.documentElement.scrollTop=e:t.scrollTop=e},getLeft:function(t){var e=t.ownerDocument;return r(t,e)?e.body.scrollLeft||e.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,e){var n=t.ownerDocument;r(t,n)?n.body.scrollLeft=n.documentElement.scrollLeft=e:t.scrollLeft=e}};t.exports=o},function(t,e,n){"use strict";var r=n(146),o=n(147),i=n(51),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function c(t){if("file"==t.kind)return t.getAsFile()}var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.data=e,this.types=e.types?o(e.types):[]}return t.prototype.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some(function(t){return s[t]})},t.prototype.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(a,"\n"):null},t.prototype.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},t.prototype.isLink=function(){return this.types.some(function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")})},t.prototype.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},t.prototype.isImage=function(){var t=this.types.some(function(t){return-1!=t.indexOf("application/x-moz-file")});if(t)return!0;for(var e=this.getFiles(),n=0;n<e.length;n++){var o=e[n].type;if(!r.isImage(o))return!1}return!0},t.prototype.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},t.prototype.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(c).filter(i.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.prototype.hasFiles=function(){return this.getFiles().length>0},t}();t.exports=u},function(t,e,n){"use strict";t.exports=function t(e){if(e instanceof Element){var n=e.getAttribute("data-offset-key");if(n)return n;for(var r=0;r<e.childNodes.length;r++){var o=t(e.childNodes[r]);if(o)return o}}return null}},function(t,e,n){"use strict";(function(e){var r=n(4),o=/\.textClipping$/,i={"text/plain":!0,"text/html":!0,"text/rtf":!0},a=5e3;t.exports=function(t,n){var s=0,c=[];t.forEach(function(u){!function(t,n){if(e.FileReader&&(!t.type||t.type in i)){if(""===t.type){var a="";return o.test(t.name)&&(a=t.name.replace(o,"")),void n(a)}var s=new FileReader;s.onload=function(){var t=s.result;"string"!=typeof t&&r(!1),n(t)},s.onerror=function(){n("")},s.readAsText(t)}else n("")}(u,function(e){s++,e&&c.push(e.slice(0,a)),s==t.length&&n(c.join("\r"))})})}}).call(this,n(11))},function(t,e,n){"use strict";var r=n(42),o=n(21);t.exports=function(t,e,n,i,a){var s=o(t.getSelection()),c=r.decode(e),u=c.blockKey,l=t.getBlockTree(u).getIn([c.decoratorKey,"leaves",c.leafKey]),f=r.decode(i),p=f.blockKey,d=t.getBlockTree(p).getIn([f.decoratorKey,"leaves",f.leafKey]),h=l.get("start"),g=d.get("start"),y=l?h+n:null,v=d?g+a:null;if(s.getAnchorKey()===u&&s.getAnchorOffset()===y&&s.getFocusKey()===p&&s.getFocusOffset()===v)return s;var m=!1;if(u===p){var b=l.get("end"),_=d.get("end");m=g===h&&_===b?a<n:g<h}else m=t.getCurrentContent().getBlockMap().keySeq().skipUntil(function(t){return t===u||t===p}).first()===p;return s.merge({anchorKey:u,anchorOffset:y,focusKey:p,focusOffset:v,isBackward:m})}},function(t,e,n){"use strict";var r=n(40);t.exports=function(t){var e=t.getSelection();return e.isCollapsed()?null:r(t.getCurrentContent(),e)}},function(t,e,n){"use strict";var r=n(22),o=n(4);var i=r.isBrowser("Chrome")?function(t){for(var e=t.cloneRange(),n=[],r=t.endContainer;null!=r;r=r.parentNode){var i=r===t.commonAncestorContainer;i?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var a,s=Array.from(e.getClientRects());if(n.push(s),i)return n.reverse(),(a=[]).concat.apply(a,n);e.setEndBefore(r)}o(!1)}:function(t){return Array.from(t.getClientRects())};t.exports=i},function(t,e,n){"use strict";var r=n(61),o=n(81),i=n(83),a=n(4),s=n(21);function c(t,e,n){var i=e,c=r(i);if(null!=c||t&&(t===i||t.firstChild===i)||a(!1),t===i&&((i=i.firstChild)instanceof Element&&"true"===i.getAttribute("data-contents")||a(!1),n>0&&(n=i.childNodes.length)),0===n){var l=null;if(null!=c)l=c;else{var f=function(t){for(;t.firstChild&&(t.firstChild instanceof Element&&"true"===t.firstChild.getAttribute("data-blocks")||o(t.firstChild));)t=t.firstChild;return t}(i);l=s(o(f))}return{key:l,offset:0}}var p=i.childNodes[n-1],d=null,h=null;if(o(p)){var g=function(t){for(;t.lastChild&&(t.lastChild instanceof Element&&"true"===t.lastChild.getAttribute("data-blocks")||o(t.lastChild));)t=t.lastChild;return t}(p);d=s(o(g)),h=u(g)}else d=s(c),h=u(p);return{key:d,offset:h}}function u(t){var e=t.textContent;return"\n"===e?0:e.length}t.exports=function(t,e,n,o,a,u){var l=n.nodeType===Node.TEXT_NODE,f=a.nodeType===Node.TEXT_NODE;if(l&&f)return{selectionState:i(t,s(r(n)),o,s(r(a)),u),needsRecovery:!1};var p=null,d=null,h=!0;return l?(p={key:s(r(n)),offset:o},d=c(e,a,u)):f?(d={key:s(r(a)),offset:u},p=c(e,n,o)):(p=c(e,n,o),d=c(e,a,u),n===a&&o===u&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(t,p.key,p.offset,d.key,d.offset),needsRecovery:h}}},function(t,e,n){"use strict";var r="\\s|(?![_])"+n(164).getPunctuation(),o=new RegExp("^(?:"+r+")*(?:['‘’]|(?!"+r+").)*(?:(?!"+r+").)"),i=new RegExp("(?:(?!"+r+").)(?:['‘’]|(?!"+r+").)*(?:"+r+")*$");function a(t,e){var n=e?i.exec(t):o.exec(t);return n?n[0]:t}var s={getBackward:function(t){return a(t,!0)},getForward:function(t){return a(t,!1)}};t.exports=s},function(t,e,n){"use strict";t.exports=function(t,e){var n,r=t.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=t.getCurrentContent(),s=o;return e>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+e,r.merge({focusKey:s,focusOffset:n})}},function(t,e,n){"use strict";var r,o=i||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=n(19);function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=n(16),c=n(27),u=n(20),l=n(55),f=n(41),p=n(24),d=n(3),h=n(3).Set,g=n(175),y=n(32),v=n(23),m=n(90),b=n(4),_=n(53),w=p.draft_tree_data_support,S=d.List,k=d.OrderedSet,x=new RegExp("\r","g"),E=new RegExp("\n","g"),O=new RegExp("&nbsp;","g"),C=new RegExp("&#13;?","g"),T=new RegExp("&#8203;?","g"),A=["bold","bolder","500","600","700","800","900"],I=["light","lighter","100","200","300","400"],M={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},j=(a(r={},y("public/DraftStyleDefault/depth0"),0),a(r,y("public/DraftStyleDefault/depth1"),1),a(r,y("public/DraftStyleDefault/depth2"),2),a(r,y("public/DraftStyleDefault/depth3"),3),a(r,y("public/DraftStyleDefault/depth4"),4),r),D=["className","href","rel","target","title"],P=["alt","className","height","src","width"],R=void 0,N={text:"",inlines:[],entities:[],blocks:[]},L={children:S(),depth:0,key:"",type:""},B=function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null},z=function(t,e,n){var r=n.filter(function(e){return e.element===t||e.wrapper===t||e.aliasedElements&&e.aliasedElements.some(function(e){return e===t})}).keySeq().toSet().toArray().sort();switch(r.length){case 0:return"unstyled";case 1:return r[0];default:return function(t,e,n){for(var r=0;r<n.length;r++){var o=n[r](t,e);if(o)return o}return null}(t,e,[B])||"unstyled"}},K=function(t,e,n){var r=t.text.slice(-1),o=e.text.slice(0,1);if("\r"!==r||"\r"!==o||n||(t.text=t.text.slice(0,-1),t.inlines.pop(),t.entities.pop(),t.blocks.pop()),"\r"===r){if(" "===e.text||"\n"===e.text)return t;" "!==o&&"\n"!==o||(e.text=e.text.slice(1),e.inlines.shift(),e.entities.shift())}return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks)}},F=function(t){t instanceof HTMLAnchorElement||b(!1);var e=t.protocol;return"http:"===e||"https:"===e||"mailto:"===e},U=function(t){var e=new Array(1);return t&&(e[0]=t),o({},N,{text:" ",inlines:[k()],entities:e})},W=function(){return o({},N,{text:"\n",inlines:[k()],entities:new Array(1)})},V=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o({},L,t)},H=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{text:"\r",inlines:[k()],entities:new Array(1),blocks:[V({parent:n,key:v(),type:t,depth:Math.max(0,Math.min(4,e))})]}},q=function t(e,n,r,i,a,s,c,u,l,p){var d=R,h=n.nodeName.toLowerCase(),y=e,v="unstyled",m=!1,b=a&&z(a,i,u),_=o({},N),S=void 0;if("#text"===h){var k=n.textContent,x=k.trim();if(i&&""===x&&n.parentElement){var O=n.parentElement.nodeName.toLowerCase();if("ol"===O||"ul"===O)return{chunk:o({},N),entityMap:e}}return""===x&&"pre"!==a?{chunk:U(l),entityMap:e}:("pre"!==a&&(k=k.replace(E," ")),R=h,{chunk:{text:k,inlines:Array(k.length).fill(r),entities:Array(k.length).fill(l),blocks:[]},entityMap:e})}if(R=h,"br"===h)return"br"!==d||a&&"unstyled"!==b?{chunk:W(),entityMap:e}:{chunk:H("unstyled",c,p),entityMap:e};if("img"===h&&n instanceof HTMLImageElement&&n.attributes.getNamedItem("src")&&n.attributes.getNamedItem("src").value){var C=n,T={};P.forEach(function(t){var e=C.getAttribute(t);e&&(T[t]=e)}),n.textContent="📷",l=f.__create("IMAGE","MUTABLE",T||{})}r=function(t,e,n){var r=M[t];if(r)n=n.add(r).toOrderedSet();else if(e instanceof HTMLElement){var o=e;n=n.withMutations(function(t){var e=o.style.fontWeight,n=o.style.fontStyle,r=o.style.textDecoration;A.indexOf(e)>=0?t.add("BOLD"):I.indexOf(e)>=0&&t.remove("BOLD"),"italic"===n?t.add("ITALIC"):"normal"===n&&t.remove("ITALIC"),"underline"===r&&t.add("UNDERLINE"),"line-through"===r&&t.add("STRIKETHROUGH"),"none"===r&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))}).toOrderedSet()}return n}(h,n,r),"ul"!==h&&"ol"!==h||(i&&(c+=1),i=h),!w&&"li"===h&&n instanceof HTMLElement&&(c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(j).some(function(n){t.classList.contains(n)&&(e=j[n])}),e}(n,c));var L=z(h,i,u),B=i&&"li"===a&&"li"===h,V=(!a||w)&&-1!==s.indexOf(h);(B||V)&&(S=(_=H(L,c,p)).blocks[0].key,a=h,m=!w),B&&(v="ul"===i?"unordered-list-item":"ordered-list-item");var q=n.firstChild;null!=q&&(h=q.nodeName.toLowerCase());for(var X=null;q;){q instanceof HTMLAnchorElement&&q.href&&F(q)?function(){var t=q,e={};D.forEach(function(n){var r=t.getAttribute(n);r&&(e[n]=r)}),e.url=new g(t.href).toString(),X=f.__create("LINK","MUTABLE",e||{})}():X=void 0;var J=t(y,q,r,i,a,s,c,u,X||l,w?S:null),G=J.chunk;y=J.entityMap,_=K(_,G,w);var Y=q.nextSibling;!p&&Y&&s.indexOf(h)>=0&&a&&(_=K(_,W())),Y&&(h=Y.nodeName.toLowerCase()),q=Y}return m&&(_=K(_,H(v,c,p))),{chunk:_,entityMap:y}},X=function(t,e,n,r){t=t.trim().replace(x,"").replace(O," ").replace(C,"").replace(T,"");var i=function(t){var e=t.get("unstyled").element,n=h([]);return t.forEach(function(t){t.aliasedElements&&t.aliasedElements.forEach(function(t){n=n.add(t)}),n=n.add(t.element)}),n.filter(function(t){return t&&t!==e}).toArray().sort()}(n),a=e(t);if(!a)return null;R=null;var s=function(t,e){return e.some(function(e){return-1!==t.indexOf("<"+e)})}(t,i)?i:["div"],c=q(r,a,k(),"ul",null,s,-1,n),u=c.chunk,l=c.entityMap;return 0===u.text.indexOf("\r")&&(u={text:u.text.slice(1),inlines:u.inlines.slice(1),entities:u.entities.slice(1),blocks:u.blocks}),"\r"===u.text.slice(-1)&&(u.text=u.text.slice(0,-1),u.inlines=u.inlines.slice(0,-1),u.entities=u.entities.slice(0,-1),u.blocks.pop()),0===u.blocks.length&&u.blocks.push(o({},N,{type:"unstyled",depth:0})),u.text.split("\r").length===u.blocks.length+1&&u.blocks.unshift({type:"unstyled",depth:0}),{chunk:u,entityMap:l}};t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l,r=X(t,e,n,f);if(null==r)return null;var o=r.chunk,i=r.entityMap;return{contentBlocks:function(t){if(!t||!t.text||!Array.isArray(t.blocks))return null;var e=0,n=t.blocks,r=t.inlines,o=t.entities,i=w?u:c;return t.text.split("\r").reduce(function(t,a,c){a=_(a);var l=n[c],f=e+a.length,p=r.slice(e,f),d=o.slice(e,f),h=S(p.map(function(t,e){var n={style:t,entity:null};return d[e]&&(n.entity=d[e]),s.create(n)}));e=f+1;var g=l.depth,y=l.type,m=l.parent,b=l.key||v(),w=null;if(m){var k=t.cacheRef[m],x=t.contentBlocks[k];if(x.getChildKeys().isEmpty()&&x.getText()){var E=x.getCharacterList(),O=x.getText();w=v();var C=new u({key:w,text:O,characterList:E,parent:m,nextSibling:b});t.contentBlocks.push(C),x=x.withMutations(function(t){t.set("characterList",S()).set("text","").set("children",x.children.push(C.getKey()))})}t.contentBlocks[k]=x.set("children",x.children.push(b))}var T=new i({key:b,parent:m,type:y,depth:g,text:a,characterList:h,prevSibling:w||(0===c||n[c-1].parent!==m?null:n[c-1].key),nextSibling:c===n.length-1||n[c+1].parent!==m?null:n[c+1].key});return t.contentBlocks.push(T),t.cacheRef[T.key]=c,t},{cacheRef:{},contentBlocks:[]}).contentBlocks}(o),entityMap:i}}},function(t,e,n){"use strict";var r=n(22),o=n(4),i=r.isBrowser("IE <= 9");t.exports=function(t){var e,n=null;return!i&&document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement||o(!1),e.documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}},function(t,e,n){"use strict";var r=n(15),o=n(5),i=(n(31),n(176)),a=n(21),s={currentBlockContainsLink:function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some(function(t){var e=t.getEntity();return!!e&&"LINK"===r.__get(e).getType()})},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e){switch(e){case"bold":return s.toggleInlineStyle(t,"BOLD");case"italic":return s.toggleInlineStyle(t,"ITALIC");case"underline":return s.toggleInlineStyle(t,"UNDERLINE");case"code":return s.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=r.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),n=o.push(t,e,"insert-characters");return o.forceSelection(n,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var n=t.getCurrentContent(),r=e.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),c=n.merge({blockMap:a,selectionAfter:e});if(c!==n)return o.push(t,c,"remove-range")}var u=s.tryToRemoveBlockStyle(t);return u?o.push(t,u,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var n=t.getCurrentContent(),i=e.getStartKey(),a=n.getBlockForKey(i).getLength();if(e.getStartOffset()<a)return null;var s=n.getBlockAfter(i);if(!s||"atomic"!==s.getType())return null;var c=e.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),u=r.removeRange(n,c,"forward");return u!==n?o.push(t,u,"remove-range"):null},onTab:function(t,e,n){var r=e.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return e;var s=e.getCurrentContent(),c=s.getBlockForKey(a),u=c.getType();if("unordered-list-item"!==u&&"ordered-list-item"!==u)return e;t.preventDefault();var l=s.getBlockBefore(a);if(!l)return e;var f=l.getType();if("unordered-list-item"!==f&&"ordered-list-item"!==f)return e;var p=c.getDepth();if(!t.shiftKey&&p===n)return e;n=Math.min(l.getDepth()+1,n);var d=i(s,r,t.shiftKey?-1:1,n);return o.push(e,d,"adjust-depth")},toggleBlockType:function(t,e){var n=t.getSelection(),i=n.getStartKey(),s=n.getEndKey(),c=t.getCurrentContent(),u=n;if(i!==s&&0===n.getEndOffset()){var l=a(c.getBlockBefore(s));s=l.getKey(),u=u.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:s,focusOffset:l.getLength(),isBackward:!1})}if(c.getBlockMap().skipWhile(function(t,e){return e!==i}).reverse().skipWhile(function(t,e){return e!==s}).some(function(t){return"atomic"===t.getType()}))return t;var f=c.getBlockForKey(i).getType()===e?"unstyled":e;return o.push(t,r.setBlockType(c,u,f),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=e.getFocusKey();return e.isCollapsed()||n!==r?s.toggleBlockType(t,"code-block"):s.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var n=t.getSelection(),i=t.getCurrentInlineStyle();if(n.isCollapsed())return o.setInlineStyleOverride(t,i.has(e)?i.remove(e):i.add(e));var a,s=t.getCurrentContent();return a=i.has(e)?r.removeInlineStyle(s,n,e):r.applyInlineStyle(s,n,e),o.push(t,a,"change-inline-style")},toggleLink:function(t,e,n){var i=r.applyEntity(t.getCurrentContent(),e,n);return o.push(t,i,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),n=e.getAnchorOffset();if(e.isCollapsed()&&0===n){var o=e.getAnchorKey(),i=t.getCurrentContent(),a=i.getBlockForKey(o),s=i.getFirstBlock();if(a.getLength()>0&&a!==s)return null;var c=a.getType(),u=i.getBlockBefore(o);if("code-block"===c&&u&&"code-block"===u.getType()&&0!==u.getLength())return null;if("unstyled"!==c)return r.setBlockType(i,e,"unstyled")}return null}};t.exports=s},function(t,e,n){"use strict";var r=n(62),o=n(56),i=n(22),a=i.isPlatform("Mac OS X"),s=i.isPlatform("Windows"),c=a&&i.isBrowser("Firefox < 29"),u=r.hasCommandModifier,l=r.isCtrlKeyCommand;function f(t){return a&&t.altKey||l(t)}t.exports=function(t){switch(t.keyCode){case 66:return u(t)?"bold":null;case 68:return l(t)?"delete":null;case 72:return l(t)?"backspace":null;case 73:return u(t)?"italic":null;case 74:return u(t)?"code":null;case 75:return!s&&l(t)?"secondary-cut":null;case 77:case 79:return l(t)?"split-block":null;case 84:return a&&l(t)?"transpose-characters":null;case 85:return u(t)?"underline":null;case 87:return a&&l(t)?"backspace-word":null;case 89:return l(t)?s?"redo":"secondary-paste":null;case 90:return function(t){return u(t)?t.shiftKey?"redo":"undo":null}(t)||null;case o.RETURN:return"split-block";case o.DELETE:return function(t){return s&&t.shiftKey?null:f(t)?"delete-word":"delete"}(t);case o.BACKSPACE:return function(t){return u(t)&&a?"backspace-to-start-of-line":f(t)?"backspace-word":"backspace"}(t);case o.LEFT:return c&&u(t)?"move-selection-to-start-of-block":null;case o.RIGHT:return c&&u(t)?"move-selection-to-end-of-block":null;default:return null}}},function(t,e,n){"use strict";var r={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}};t.exports=r},function(t,e,n){var r=n(192);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hotkey_display=e.hotkeys=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=c(n(0)),a=c(n(193)),s=c(n(194));function c(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}a.default.prototype.stopCallback=function(){return!1};var l={hot_key_property_name:"hot_keys"},f={},p=function(t){s.default.forEach(t,function(t,e){null==f[e]?(f[e]=[t],a.default.bind(e,function(t){return function(e,n){var r=f[t],o=!0;return s.default.forEach(r,function(t){var r=t.handler;o&&(o=r(e,n))}),o}}(e))):(f[e].push(t),f[e]=s.default.sortBy(f[e],"priority").reverse())})},d=e.hotkeys=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=o({},l,e);return function(e){function c(){var t,e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=n=u(this,(t=c.__proto__||Object.getPrototypeOf(c)).call.apply(t,[this].concat(o))),n.getWrappedComponent=function(){return n.wrapped_component},n.on_ref_update=function(t){n.wrapped_component=t},u(n,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(c,i.default.PureComponent),r(c,[{key:"componentDidMount",value:function(){var e=this.wrapped_component[n.hot_key_property_name];null!=e?p(e):console.warn("Component: "+t.displayName+" did not provide hotkey handlers")}},{key:"componentWillUnmount",value:function(){var t=this.wrapped_component[n.hot_key_property_name];null!=t&&function(t){s.default.forEach(t,function(t,e){s.default.remove(f[e],t),0===f[e].length&&(f[e]=null,a.default.unbind(e))})}(t)}},{key:"render",value:function(){return i.default.createElement(t,o({ref:this.on_ref_update},this.props))}}]),c}()};e.default=d;e.hotkey_display=function(t){return-1!==window.navigator.appVersion.indexOf("Mac")?t.replace("alt","option").replace("meta","⌘"):t}},function(t,e,n){var r=n(196);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(198);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(200);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){"use strict";n.r(e);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),s=n(95),c=n(96),u=n.n(c);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function p(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var g=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),p(this,d(e).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(e,o.a.Component),n=e,(r=[{key:"render",value:function(){var t=this.props.options.map(function(t,e){return o.a.createElement("option",{key:e,value:t.value},t.label)});return o.a.createElement("select",{className:u.a.selectPlayerControl,name:this.props.name,value:this.props.currentValue,onChange:this.props.handleChange},t)}}])&&f(n.prototype,r),i&&f(n,i),e;var n,r,i}();g.propTypes={options:a.a.array,name:a.a.string,currentValue:a.a.string,handleChange:a.a.func};var y=g,v=n(12),m=n.n(v),b=n(6),_=n(7);function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function x(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var C=function(t){function e(){var t,n,r,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return r=this,o=(t=k(e)).call.apply(t,[this].concat(a)),n=!o||"object"!==w(o)&&"function"!=typeof o?x(r):o,O(x(n),"setIntervalHelperBackward",function(){n.interval=setInterval(function(){n.props.skipBackward()},300)}),O(x(n),"setIntervalHelperForward",function(){n.interval=setInterval(function(){n.props.skipForward()},300)}),O(x(n),"clearIntervalHelper",function(){clearInterval(n.interval)}),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(e,o.a.Component),n=e,(r=[{key:"render",value:function(){var t=this;return o.a.createElement("div",{className:m.a.playerControls},o.a.createElement("div",{className:m.a.timeBox},o.a.createElement("span",{title:"Current time: alt t",className:m.a.currentTime,onClick:this.props.promptSetCurrentTime},this.props.currentTime),o.a.createElement("span",{className:m.a.separator},"|"),o.a.createElement("span",{title:"Clip duration",className:m.a.duration},this.props.duration)),o.a.createElement("div",{className:m.a.btnsGroup},o.a.createElement("button",{value:"seek backward by a set interval: alt r",title:"seek backward by a set interval: alt r",className:m.a.playerButton,onClick:this.props.rollback},o.a.createElement(b.a,{icon:_.l})),o.a.createElement("button",{value:"seek backward: alt j",title:"seek backward: alt j",className:m.a.playerButton,onMouseDown:this.setIntervalHelperBackward,onMouseUp:this.clearIntervalHelper,onClick:function(){t.props.skipBackward()}},o.a.createElement(b.a,{icon:_.a})),o.a.createElement("button",{value:"Play/Pause: alt k",title:"Play/Pause: alt k",className:m.a.playerButton,onClick:this.props.playMedia},this.props.isPlaying?o.a.createElement(b.a,{icon:_.g}):o.a.createElement(b.a,{icon:_.h})),o.a.createElement("button",{value:"seek forward: alt l",title:"seek forward: alt l",className:m.a.playerButton,onMouseDown:this.setIntervalHelperForward,onMouseUp:this.clearIntervalHelper,onClick:function(){t.props.skipForward()}},o.a.createElement(b.a,{icon:_.c}))),o.a.createElement("div",{className:m.a.btnsGroup},o.a.createElement("span",{className:m.a.playBackRate,title:"Playback rate: alt - & alt + "},o.a.createElement(y,{options:this.props.playbackRateOptions,currentValue:this.props.playbackRate.toString(),name:"playbackRate",handleChange:this.props.setPlayBackRate})),o.a.createElement("button",{value:"Save",title:"Save",className:m.a.playerButton,onClick:this.props.handleSaveTranscript},o.a.createElement(b.a,{icon:_.j})),o.a.createElement("button",{value:"Picture-in-picture",title:"Picture-in-picture",className:m.a.playerButton+" "+m.a.pip,onClick:this.props.pictureInPicture},o.a.createElement(b.a,{icon:_.k})),o.a.createElement("button",{value:"Toggle Sound",title:"Toggle Sound",className:m.a.playerButton,onClick:this.props.handleMuteVolume},this.props.isMute?o.a.createElement(b.a,{icon:_.n}):o.a.createElement(b.a,{icon:_.o}))))}}])&&S(n.prototype,r),i&&S(n,i),e;var n,r,i}();C.propTypes={playMedia:a.a.func,currentTime:a.a.string,timecodeOffset:a.a.string,promptSetCurrentTime:a.a.func,rollback:a.a.func,handleMuteVolume:a.a.func,duration:a.a.string,isPlaying:a.a.bool,isMute:a.a.bool,skipBackward:a.a.func,skipForward:a.a.func,playbackRate:a.a.number,playbackRateOptions:a.a.array,setPlayBackRate:a.a.func,pictureInPicture:a.a.func,handleSaveTranscript:a.a.func};var T=C,A=n(97),I=n.n(A);function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function D(t,e){return!e||"object"!==M(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function R(t,e){return(R=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var N=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),D(this,P(e).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R(t,e)}(e,o.a.Component),n=e,(r=[{key:"render",value:function(){return o.a.createElement("input",{type:"range",className:I.a.bar,onChange:this.props.buttonClick,value:this.props.value,min:"0",max:this.props.max.toString()})}}])&&j(n.prototype,r),i&&j(n,i),e;var n,r,i}();N.propTypes={value:a.a.number,max:a.a.string,buttonClick:a.a.func};var L=N;var B=function(t){return{"alt+k":{priority:1,handler:function(){t.togglePlayMedia(),t.props.handleAnalyticsEvents({category:"defaultHotKeys",action:"alt+k",name:"togglePlayMedia",value:"na"})},displayKeyCombination:"alt + k",label:"Play Media"},"alt+l":{priority:1,handler:function(){t.skipForward(),t.props.handleAnalyticsEvents({category:"defaultHotKeys",action:"alt+l",name:"skipForward",value:"na"})},displayKeyCombination:"alt + l",label:"Fast Forward"},"alt+j":{priority:1,handler:function(){t.skipBackward(),t.props.handleAnalyticsEvents({category:"defaultHotKeys",action:"alt+j",name:"skipBackward",value:"na"})},displayKeyCombination:"alt + j",label:"Rewind"},"alt+-":{priority:1,handler:function(){t.decreasePlaybackRate(),t.props.handleAnalyticsEvents({category:"defaultHotKeys",action:"alt+-",name:"decreasePlaybackRate",value:"na"})},displayKeyCombination:"alt + -",label:"Decrease Playback Speed"},"alt+=":{priority:1,handler:function(){t.increasePlaybackRate(),t.props.handleAnalyticsEvents({category:"defaultHotKeys",action:"alt+plus",name:"increasePlaybackRate",value:"na"})},displayKeyCombination:"alt + +",label:"Increase Playback Speed"},"alt+r":{priority:1,handler:function(){t.rollBack(),t.props.handleAnalyticsEvents({category:"defaultHotKeys",action:"alt+r",name:"rollBack",value:"na"})},displayKeyCombination:"alt + r",label:"Roll Back"},"alt+t":{priority:1,handler:function(){t.promptSetCurrentTime(),t.props.handleAnalyticsEvents({category:"defaultHotKeys",action:"alt+t",name:"promptSetCurrentTime",value:"na"})},displayKeyCombination:"alt + t",label:"set current time"}}},z=n(37),K=n.n(z),F=n(8);function U(t){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function V(t){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function H(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q(t,e){return(q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function X(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var J=[{value:.2,label:"0.2"},{value:.25,label:"0.25"},{value:.5,label:"0.5"},{value:.75,label:"0.75"},{value:1,label:"1"},{value:1.25,label:"1.25"},{value:1.5,label:"1.5"},{value:1.75,label:"1.75"},{value:2,label:"2"},{value:2.5,label:"2.5"},{value:3,label:"3"},{value:3.5,label:"3.5"}],G=function(t){function e(t){var n,r,o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,o=V(e).call(this,t),n=!o||"object"!==U(o)&&"function"!=typeof o?H(r):o,X(H(n),"hot_keys",B(H(n))),X(H(n),"setCurrentTime",function(t){if(""!==t&&null!==t){var e=Object(F.timecodeToSeconds)(t);if(null!==n.props.videoRef.current){var r=n.props.videoRef.current;4===r.readyState&&(r.currentTime=e,n.playMedia())}}}),X(H(n),"promptSetCurrentTime",function(){var t=prompt("Jump to time - hh:mm:ss:ff hh:mm:ss mm:ss m:ss m.ss seconds");n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"MediaPlayer",action:"promptSetCurrentTime",name:"userTimecodeValue",value:t}),null!==t&&(t.includes(":")&&(t=Object(F.timecodeToSeconds)(t)),0!==n.state.timecodeOffset&&(t-=n.state.timecodeOffset),n.setCurrentTime(t))}),X(H(n),"setTimeCodeOffset",function(t){if(n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"MediaPlayer",action:"setTimeCodeOffset",name:"timecodeOffsetValue",value:t}),""!==t&&null!==t){var e=t;t.includes(":")&&(e=Object(F.timecodeToSeconds)(t),n.setState({timecodeOffset:e}))}}),X(H(n),"rollBack",function(){if(null!==n.props.videoRef.current){n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"MediaPlayer",action:"rollBack",name:"rollBackValue",value:n.state.rollBackValueInSeconds});var t=n.props.videoRef.current.currentTime-n.state.rollBackValueInSeconds;n.setCurrentTime(t)}}),X(H(n),"handlePlayBackRateChange",function(t){n.setPlayBackRate(parseFloat(t.target.value))}),X(H(n),"setPlayBackRate",function(t){null!==n.props.videoRef.current&&.2<=t&&3.5>=t&&n.setState({playbackRate:t},function(){n.props.videoRef.current.playbackRate=t,n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"MediaPlayer",action:"setPlayBackRate",name:"playbackRateNewValue",value:t})})}),X(H(n),"decreasePlaybackRate",function(){var t=[].concat(J).reverse().find(function(t){return t.value<n.state.playbackRate}),e=t?t.value:.2;n.setPlayBackRate(e)}),X(H(n),"increasePlaybackRate",function(){var t=[].concat(J).find(function(t){return t.value>n.state.playbackRate}),e=t?t.value:3.5;n.setPlayBackRate(e)}),X(H(n),"handleChangeReplayRollbackValue",function(t){null!==n.props.videoRef.current&&n.setState({rollBackValueInSeconds:t.target.value})}),X(H(n),"handleMuteVolume",function(){null!==n.props.videoRef.current&&(0<n.props.videoRef.current.volume?(n.props.videoRef.current.volume=0,n.setState({isMute:!0})):(n.props.videoRef.current.volume=1,n.setState({isMute:!1})))}),X(H(n),"isPlaying",function(){if(null!==n.props.videoRef.current)return!n.props.videoRef.current.paused}),X(H(n),"pauseMedia",function(){n.setState({isPlaying:!1},function(){return n.props.videoRef.current.pause()}),n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"MediaPlayer",action:"pauseMedia",name:"pauseMedia",value:Object(F.secondsToTimecode)(n.props.videoRef.current.currentTime)})}),X(H(n),"playMedia",function(){n.setState({isPlaying:!0},function(){return n.props.videoRef.current.play()}),n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"MediaPlayer",action:"playMedia",name:"playMedia",value:Object(F.secondsToTimecode)(n.props.videoRef.current.currentTime)})}),X(H(n),"togglePlayMedia",function(){null!==n.props.videoRef.current&&(n.state.isPlaying?n.pauseMedia():n.playMedia())}),X(H(n),"skipForward",function(){if(null!==n.props.videoRef.current){var t=+(n.props.videoRef.current.currentTime+10).toFixed(1);n.setCurrentTime(t)}}),X(H(n),"skipBackward",function(){if(null!==n.props.videoRef.current){var t=+(n.props.videoRef.current.currentTime-10).toFixed(1);n.setCurrentTime(t)}}),X(H(n),"handleProgressBarClick",function(t){var e=t.target.value;n.setCurrentTime(e),n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"MediaPlayer",action:"handleProgressBarClick",name:"roundNewCurrentTime",value:e})}),X(H(n),"getMediaCurrentTime",function(){return null===n.props.videoRef.current?"00:00:00:00":Object(F.secondsToTimecode)(n.props.videoRef.current.currentTime+n.state.timecodeOffset)}),X(H(n),"handlePictureInPicture",function(){void 0!==n.props.videoRef.current&&(void 0===document.pictureInPictureElement?(alert("Picture in Picture not supported in this browser, try chrome."),n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"MediaPlayer",action:"handlePictureInPicture",name:"picture-in-picture-not-supported"})):document.pictureInPictureElement?(n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"MediaPlayer",action:"handlePictureInPicture",name:"turning-picture-in-picture-off"}),document.exitPictureInPicture().catch(function(t){console.error("Video failed to leave Picture-in-Picture mode",t),n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"MediaPlayer",action:"handlePictureInPicture",name:"turning-picture-in-picture-off-error"})})):(n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"MediaPlayer",action:"handlePictureInPicture",name:"turning-picture-in-picture-on"}),n.props.videoRef.current.requestPictureInPicture().catch(function(t){console.error("Video failed to enter Picture-in-Picture mode",t),n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"MediaPlayer",action:"handlePictureInPicture",name:"turning-picture-in-picture-on-error"})})))}),n.state={playbackRate:1,rollBackValueInSeconds:n.props.rollBackValueInSeconds,timecodeOffset:n.props.timecodeOffset,hotKeys:B(H(n)),isPlaying:!1,playbackRateOptions:J,previewIsDisplayed:!0,isMute:!1},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&q(t,e)}(e,o.a.Component),n=e,i=[{key:"getDerivedStateFromProps",value:function(t){if(null!==t.timecodeOffset){var e=t.timecodeOffset;return"string"==typeof e&&e.includes(":")&&!e.includes("NaN")&&(e=Object(F.timecodeToSeconds)(t.timecodeOffset)),{timecodeOffset:e,rollBackValueInSeconds:t.rollBackValueInSeconds}}return null}}],(r=[{key:"componentDidMount",value:function(){this.props.hookSeek(this.setCurrentTime),this.props.hookPlayMedia(this.togglePlayMedia),this.props.hookIsPlaying(this.isPlaying)}},{key:"render",value:function(){var t=this,e=o.a.createElement(L,{max:null===this.props.videoRef.current?"100":parseInt(this.props.videoRef.current.duration).toString(),value:null===this.props.videoRef.current?0:parseInt(this.props.videoRef.current.currentTime),buttonClick:this.handleProgressBarClick.bind(this)}),n=o.a.createElement("div",{className:K.a.controlsSection},o.a.createElement("h2",{className:K.a.title},this.props.title),o.a.createElement(T,{playMedia:this.togglePlayMedia.bind(this),isPlaying:this.state.isPlaying,isMute:this.state.isMute,playbackRate:this.state.playbackRate,skipBackward:this.skipBackward.bind(this),skipForward:this.skipForward.bind(this),rollback:this.rollBack,currentTime:this.getMediaCurrentTime(),duration:this.props.mediaDuration,onSetCurrentTime:"",onSetTimecodeOffset:"",promptSetCurrentTime:this.promptSetCurrentTime.bind(this),setTimeCodeOffset:this.setTimeCodeOffset.bind(this),timecodeOffset:Object(F.secondsToTimecode)(this.state.timecodeOffset),handleMuteVolume:this.handleMuteVolume.bind(this),setPlayBackRate:this.handlePlayBackRateChange.bind(this),playbackRateOptions:this.state.playbackRateOptions,pictureInPicture:this.handlePictureInPicture,handleSaveTranscript:function(){t.props.handleSaveTranscript()}}),null===this.props.mediaUrl?null:e);return o.a.createElement("section",{className:K.a.topSection},o.a.createElement("div",{className:K.a.playerSection},null===this.props.mediaUrl?null:n))}}])&&W(n.prototype,r),i&&W(n,i),e;var n,r,i}();G.propTypes={videoRef:a.a.object.isRequired,title:a.a.string,hookSeek:a.a.func,hookPlayMedia:a.a.func,hookIsPlaying:a.a.func,mediaUrl:a.a.string,hookOnTimeUpdate:a.a.func,rollBackValueInSeconds:a.a.number,timecodeOffset:a.a.number,handleAnalyticsEvents:a.a.func,mediaDuration:a.a.string,handleSaveTranscript:a.a.func};e.default=Object(s.hotkeys)(G)},function(t,e,n){t.exports=function t(e){"use strict";var n=/^\0+/g,r=/[\0\r\f]/g,o=/: */g,i=/zoo|gra/,a=/([,: ])(transform)/g,s=/,+\s*(?![^(]*[)])/g,c=/ +\s*(?![^(]*[)])/g,u=/ *[\0] */g,l=/,\r+?/g,f=/([\t\r\n ])*\f?&/g,p=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,d=/\W+/g,h=/@(k\w+)\s*(\S*)\s*/,g=/::(place)/g,y=/:(read-only)/g,v=/\s+(?=[{\];=:>])/g,m=/([[}=:>])\s+/g,b=/(\{[^{]+?);(?=\})/g,_=/\s{2,}/g,w=/([^\(])(:+) */g,S=/[svh]\w+-[tblr]{2}/,k=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,E=/-self|flex-/g,O=/[^]*?(:[rp][el]a[\w-]+)[^]*/,C=/stretch|:\s*\w+\-(?:conte|avail)/,T=/([^-])(image-set\()/,A="-webkit-",I="-moz-",M="-ms-",j=59,D=125,P=123,R=40,N=41,L=91,B=93,z=10,K=13,F=9,U=64,W=32,V=38,H=45,q=95,X=42,J=44,G=58,Y=39,$=34,Z=47,Q=62,tt=43,et=126,nt=0,rt=12,ot=11,it=107,at=109,st=115,ct=112,ut=111,lt=105,ft=99,pt=100,dt=112,ht=1,gt=1,yt=0,vt=1,mt=1,bt=1,_t=0,wt=0,St=0,kt=[],xt=[],Et=0,Ot=null,Ct=-2,Tt=-1,At=0,It=1,Mt=2,jt=3,Dt=0,Pt=1,Rt="",Nt="",Lt="";function Bt(t,e,o,i,a){for(var s,c,l=0,f=0,p=0,d=0,v=0,m=0,b=0,_=0,S=0,x=0,E=0,O=0,C=0,T=0,q=0,_t=0,xt=0,Ot=0,Ct=0,Tt=o.length,Kt=Tt-1,qt="",Xt="",Jt="",Gt="",Yt="",$t="";q<Tt;){if(b=o.charCodeAt(q),q===Kt&&f+d+p+l!==0&&(0!==f&&(b=f===Z?z:Z),d=p=l=0,Tt++,Kt++),f+d+p+l===0){if(q===Kt&&(_t>0&&(Xt=Xt.replace(r,"")),Xt.trim().length>0)){switch(b){case W:case F:case j:case K:case z:break;default:Xt+=o.charAt(q)}b=j}if(1===xt)switch(b){case P:case D:case j:case $:case Y:case R:case N:case J:xt=0;case F:case K:case z:case W:break;default:for(xt=0,Ct=q,v=b,q--,b=j;Ct<Tt;)switch(o.charCodeAt(Ct++)){case z:case K:case j:++q,b=v,Ct=Tt;break;case G:_t>0&&(++q,b=v);case P:Ct=Tt}}switch(b){case P:for(v=(Xt=Xt.trim()).charCodeAt(0),E=1,Ct=++q;q<Tt;){switch(b=o.charCodeAt(q)){case P:E++;break;case D:E--;break;case Z:switch(m=o.charCodeAt(q+1)){case X:case Z:q=Ht(m,q,Kt,o)}break;case L:b++;case R:b++;case $:case Y:for(;q++<Kt&&o.charCodeAt(q)!==b;);}if(0===E)break;q++}switch(Jt=o.substring(Ct,q),v===nt&&(v=(Xt=Xt.replace(n,"").trim()).charCodeAt(0)),v){case U:switch(_t>0&&(Xt=Xt.replace(r,"")),m=Xt.charCodeAt(1)){case pt:case at:case st:case H:s=e;break;default:s=kt}if(Ct=(Jt=Bt(e,s,Jt,m,a+1)).length,St>0&&0===Ct&&(Ct=Xt.length),Et>0&&(s=zt(kt,Xt,Ot),c=Vt(jt,Jt,s,e,gt,ht,Ct,m,a,i),Xt=s.join(""),void 0!==c&&0===(Ct=(Jt=c.trim()).length)&&(m=0,Jt="")),Ct>0)switch(m){case st:Xt=Xt.replace(k,Wt);case pt:case at:case H:Jt=Xt+"{"+Jt+"}";break;case it:Jt=(Xt=Xt.replace(h,"$1 $2"+(Pt>0?Rt:"")))+"{"+Jt+"}",Jt=1===mt||2===mt&&Ut("@"+Jt,3)?"@"+A+Jt+"@"+Jt:"@"+Jt;break;default:Jt=Xt+Jt,i===dt&&(Gt+=Jt,Jt="")}else Jt="";break;default:Jt=Bt(e,zt(e,Xt,Ot),Jt,i,a+1)}Yt+=Jt,O=0,xt=0,T=0,_t=0,Ot=0,C=0,Xt="",Jt="",b=o.charCodeAt(++q);break;case D:case j:if((Ct=(Xt=(_t>0?Xt.replace(r,""):Xt).trim()).length)>1)switch(0===T&&((v=Xt.charCodeAt(0))===H||v>96&&v<123)&&(Ct=(Xt=Xt.replace(" ",":")).length),Et>0&&void 0!==(c=Vt(It,Xt,e,t,gt,ht,Gt.length,i,a,i))&&0===(Ct=(Xt=c.trim()).length)&&(Xt="\0\0"),v=Xt.charCodeAt(0),m=Xt.charCodeAt(1),v){case nt:break;case U:if(m===lt||m===ft){$t+=Xt+o.charAt(q);break}default:if(Xt.charCodeAt(Ct-1)===G)break;Gt+=Ft(Xt,v,m,Xt.charCodeAt(2))}O=0,xt=0,T=0,_t=0,Ot=0,Xt="",b=o.charCodeAt(++q)}}switch(b){case K:case z:if(f+d+p+l+wt===0)switch(x){case N:case Y:case $:case U:case et:case Q:case X:case tt:case Z:case H:case G:case J:case j:case P:case D:break;default:T>0&&(xt=1)}f===Z?f=0:vt+O===0&&i!==it&&Xt.length>0&&(_t=1,Xt+="\0"),Et*Dt>0&&Vt(At,Xt,e,t,gt,ht,Gt.length,i,a,i),ht=1,gt++;break;case j:case D:if(f+d+p+l===0){ht++;break}default:switch(ht++,qt=o.charAt(q),b){case F:case W:if(d+l+f===0)switch(_){case J:case G:case F:case W:qt="";break;default:b!==W&&(qt=" ")}break;case nt:qt="\\0";break;case rt:qt="\\f";break;case ot:qt="\\v";break;case V:d+f+l===0&&vt>0&&(Ot=1,_t=1,qt="\f"+qt);break;case 108:if(d+f+l+yt===0&&T>0)switch(q-T){case 2:_===ct&&o.charCodeAt(q-3)===G&&(yt=_);case 8:S===ut&&(yt=S)}break;case G:d+f+l===0&&(T=q);break;case J:f+p+d+l===0&&(_t=1,qt+="\r");break;case $:case Y:0===f&&(d=d===b?0:0===d?b:d);break;case L:d+f+p===0&&l++;break;case B:d+f+p===0&&l--;break;case N:d+f+l===0&&p--;break;case R:if(d+f+l===0){if(0===O)switch(2*_+3*S){case 533:break;default:E=0,O=1}p++}break;case U:f+p+d+l+T+C===0&&(C=1);break;case X:case Z:if(d+l+p>0)break;switch(f){case 0:switch(2*b+3*o.charCodeAt(q+1)){case 235:f=Z;break;case 220:Ct=q,f=X}break;case X:b===Z&&_===X&&Ct+2!==q&&(33===o.charCodeAt(Ct+2)&&(Gt+=o.substring(Ct,q+1)),qt="",f=0)}}if(0===f){if(vt+d+l+C===0&&i!==it&&b!==j)switch(b){case J:case et:case Q:case tt:case N:case R:if(0===O){switch(_){case F:case W:case z:case K:qt+="\0";break;default:qt="\0"+qt+(b===J?"":"\0")}_t=1}else switch(b){case R:T+7===q&&108===_&&(T=0),O=++E;break;case N:0==(O=--E)&&(_t=1,qt+="\0")}break;case F:case W:switch(_){case nt:case P:case D:case j:case J:case rt:case F:case W:case z:case K:break;default:0===O&&(_t=1,qt+="\0")}}Xt+=qt,b!==W&&b!==F&&(x=b)}}S=_,_=b,q++}if(Ct=Gt.length,St>0&&0===Ct&&0===Yt.length&&0===e[0].length==0&&(i!==at||1===e.length&&(vt>0?Nt:Lt)===e[0])&&(Ct=e.join(",").length+2),Ct>0){if(s=0===vt&&i!==it?function(t){for(var e,n,o=0,i=t.length,a=Array(i);o<i;++o){for(var s=t[o].split(u),c="",l=0,f=0,p=0,d=0,h=s.length;l<h;++l)if(!(0===(f=(n=s[l]).length)&&h>1)){if(p=c.charCodeAt(c.length-1),d=n.charCodeAt(0),e="",0!==l)switch(p){case X:case et:case Q:case tt:case W:case R:break;default:e=" "}switch(d){case V:n=e+Nt;case et:case Q:case tt:case W:case N:case R:break;case L:n=e+n+Nt;break;case G:switch(2*n.charCodeAt(1)+3*n.charCodeAt(2)){case 530:if(bt>0){n=e+n.substring(8,f-1);break}default:(l<1||s[l-1].length<1)&&(n=e+Nt+n)}break;case J:e="";default:n=f>1&&n.indexOf(":")>0?e+n.replace(w,"$1"+Nt+"$2"):e+n+Nt}c+=n}a[o]=c.replace(r,"").trim()}return a}(e):e,Et>0&&void 0!==(c=Vt(Mt,Gt,s,t,gt,ht,Ct,i,a,i))&&0===(Gt=c).length)return $t+Gt+Yt;if(Gt=s.join(",")+"{"+Gt+"}",mt*yt!=0){switch(2!==mt||Ut(Gt,2)||(yt=0),yt){case ut:Gt=Gt.replace(y,":"+I+"$1")+Gt;break;case ct:Gt=Gt.replace(g,"::"+A+"input-$1")+Gt.replace(g,"::"+I+"$1")+Gt.replace(g,":"+M+"input-$1")+Gt}yt=0}}return $t+Gt+Yt}function zt(t,e,n){var r=e.trim().split(l),o=r,i=r.length,a=t.length;switch(a){case 0:case 1:for(var s=0,c=0===a?"":t[0]+" ";s<i;++s)o[s]=Kt(c,o[s],n,a).trim();break;default:s=0;var u=0;for(o=[];s<i;++s)for(var f=0;f<a;++f)o[u++]=Kt(t[f]+" ",r[s],n,a).trim()}return o}function Kt(t,e,n,r){var o=e,i=o.charCodeAt(0);switch(i<33&&(i=(o=o.trim()).charCodeAt(0)),i){case V:switch(vt+r){case 0:case 1:if(0===t.trim().length)break;default:return o.replace(f,"$1"+t.trim())}break;case G:switch(o.charCodeAt(1)){case 103:if(bt>0&&vt>0)return o.replace(p,"$1").replace(f,"$1"+Lt);break;default:return t.trim()+o.replace(f,"$1"+t.trim())}default:if(n*vt>0&&o.indexOf("\f")>0)return o.replace(f,(t.charCodeAt(0)===G?"":"$1")+t.trim())}return t+o}function Ft(t,e,n,r){var u,l=0,f=t+";",p=2*e+3*n+4*r;if(944===p)return function(t){var e=t.length,n=t.indexOf(":",9)+1,r=t.substring(0,n).trim(),o=t.substring(n,e-1).trim();switch(t.charCodeAt(9)*Pt){case 0:break;case H:if(110!==t.charCodeAt(10))break;default:for(var i=o.split((o="",s)),a=0,n=0,e=i.length;a<e;n=0,++a){for(var u=i[a],l=u.split(c);u=l[n];){var f=u.charCodeAt(0);if(1===Pt&&(f>U&&f<90||f>96&&f<123||f===q||f===H&&u.charCodeAt(1)!==H))switch(isNaN(parseFloat(u))+(-1!==u.indexOf("("))){case 1:switch(u){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:u+=Rt}}l[n++]=u}o+=(0===a?"":",")+l.join(" ")}}return o=r+o+";",1===mt||2===mt&&Ut(o,1)?A+o+o:o}(f);if(0===mt||2===mt&&!Ut(f,1))return f;switch(p){case 1015:return 97===f.charCodeAt(10)?A+f+f:f;case 951:return 116===f.charCodeAt(3)?A+f+f:f;case 963:return 110===f.charCodeAt(5)?A+f+f:f;case 1009:if(100!==f.charCodeAt(4))break;case 969:case 942:return A+f+f;case 978:return A+f+I+f+f;case 1019:case 983:return A+f+I+f+M+f+f;case 883:return f.charCodeAt(8)===H?A+f+f:f.indexOf("image-set(",11)>0?f.replace(T,"$1"+A+"$2")+f:f;case 932:if(f.charCodeAt(4)===H)switch(f.charCodeAt(5)){case 103:return A+"box-"+f.replace("-grow","")+A+f+M+f.replace("grow","positive")+f;case 115:return A+f+M+f.replace("shrink","negative")+f;case 98:return A+f+M+f.replace("basis","preferred-size")+f}return A+f+M+f+f;case 964:return A+f+M+"flex-"+f+f;case 1023:if(99!==f.charCodeAt(8))break;return u=f.substring(f.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),A+"box-pack"+u+A+f+M+"flex-pack"+u+f;case 1005:return i.test(f)?f.replace(o,":"+A)+f.replace(o,":"+I)+f:f;case 1e3:switch(l=(u=f.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(l)){case 226:u=f.replace(S,"tb");break;case 232:u=f.replace(S,"tb-rl");break;case 220:u=f.replace(S,"lr");break;default:return f}return A+f+M+u+f;case 1017:if(-1===f.indexOf("sticky",9))return f;case 975:switch(l=(f=t).length-10,p=(u=(33===f.charCodeAt(l)?f.substring(0,l):f).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(u.charCodeAt(8)<111)break;case 115:f=f.replace(u,A+u)+";"+f;break;case 207:case 102:f=f.replace(u,A+(p>102?"inline-":"")+"box")+";"+f.replace(u,A+u)+";"+f.replace(u,M+u+"box")+";"+f}return f+";";case 938:if(f.charCodeAt(5)===H)switch(f.charCodeAt(6)){case 105:return u=f.replace("-items",""),A+f+A+"box-"+u+M+"flex-"+u+f;case 115:return A+f+M+"flex-item-"+f.replace(E,"")+f;default:return A+f+M+"flex-line-pack"+f.replace("align-content","").replace(E,"")+f}break;case 973:case 989:if(f.charCodeAt(3)!==H||122===f.charCodeAt(4))break;case 931:case 953:if(!0===C.test(t))return 115===(u=t.substring(t.indexOf(":")+1)).charCodeAt(0)?Ft(t.replace("stretch","fill-available"),e,n,r).replace(":fill-available",":stretch"):f.replace(u,A+u)+f.replace(u,I+u.replace("fill-",""))+f;break;case 962:if(f=A+f+(102===f.charCodeAt(5)?M+f:"")+f,n+r===211&&105===f.charCodeAt(13)&&f.indexOf("transform",10)>0)return f.substring(0,f.indexOf(";",27)+1).replace(a,"$1"+A+"$2")+f}return f}function Ut(t,e){var n=t.indexOf(1===e?":":"{"),r=t.substring(0,3!==e?n:10),o=t.substring(n+1,t.length-1);return Ot(2!==e?r:r.replace(O,"$1"),o,e)}function Wt(t,e){var n=Ft(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return n!==e+";"?n.replace(x," or ($1)").substring(4):"("+e+")"}function Vt(t,e,n,r,o,i,a,s,c,u){for(var l,f=0,p=e;f<Et;++f)switch(l=xt[f].call(Xt,t,p,n,r,o,i,a,s,c,u)){case void 0:case!1:case!0:case null:break;default:p=l}if(p!==e)return p}function Ht(t,e,n,r){for(var o=e+1;o<n;++o)switch(r.charCodeAt(o)){case Z:if(t===X&&r.charCodeAt(o-1)===X&&e+2!==o)return o+1;break;case z:if(t===Z)return o+1}return o}function qt(t){for(var e in t){var n=t[e];switch(e){case"keyframe":Pt=0|n;break;case"global":bt=0|n;break;case"cascade":vt=0|n;break;case"compress":_t=0|n;break;case"semicolon":wt=0|n;break;case"preserve":St=0|n;break;case"prefix":Ot=null,n?"function"!=typeof n?mt=1:(mt=2,Ot=n):mt=0}}return qt}function Xt(e,n){if(void 0!==this&&this.constructor===Xt)return t(e);var o=e,i=o.charCodeAt(0);i<33&&(i=(o=o.trim()).charCodeAt(0)),Pt>0&&(Rt=o.replace(d,i===L?"":"-")),i=1,1===vt?Lt=o:Nt=o;var a,s=[Lt];Et>0&&void 0!==(a=Vt(Tt,n,s,s,gt,ht,0,0,0,0))&&"string"==typeof a&&(n=a);var c=Bt(kt,s,n,0,0);return Et>0&&void 0!==(a=Vt(Ct,c,s,s,gt,ht,c.length,0,0,0))&&"string"!=typeof(c=a)&&(i=0),Rt="",Lt="",Nt="",yt=0,gt=1,ht=1,_t*i==0?c:c.replace(r,"").replace(v,"").replace(m,"$1").replace(b,"$1").replace(_," ")}return Xt.use=function t(e){switch(e){case void 0:case null:Et=xt.length=0;break;default:if("function"==typeof e)xt[Et++]=e;else if("object"==typeof e)for(var n=0,r=e.length;n<r;++n)t(e[n]);else Dt=0|!!e}return t},Xt.set=qt,void 0!==e&&qt(e),Xt}(null)},function(t,e,n){"use strict";t.exports=n(209)},function(t,e,n){"use strict";var r=function(t,e){return t.length===e.length&&t.every(function(t,n){return r=t,o=e[n],r===o;var r,o})};e.a=function(t,e){var n;void 0===e&&(e=r);var o,i=[],a=!1;return function(){for(var r=arguments.length,s=new Array(r),c=0;c<r;c++)s[c]=arguments[c];return a&&n===this&&e(s,i)?o:(o=t.apply(this,s),a=!0,n=this,i=s,o)}}},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(33),i=n(16),a=n(27),s=n(20),c=n(24),u=n(15),l=n(5),f=n(3),p=(n(31),n(23)),d=n(118),h=c.draft_tree_data_support,g=h?s:a,y=f.List,v=f.Repeat,m={insertAtomicBlock:function(t,e,n){var a=t.getCurrentContent(),s=t.getSelection(),c=u.removeRange(a,s,"backward"),f=c.getSelectionAfter(),d=u.splitBlock(c,f),m=d.getSelectionAfter(),b=u.setBlockType(d,m,"atomic"),_=i.create({entity:e}),w={key:p(),type:"atomic",text:n,characterList:y(v(_,n.length))},S={key:p(),type:"unstyled"};h&&(w=r({},w,{nextSibling:S.key}),S=r({},S,{prevSibling:w.key}));var k=[new g(w),new g(S)],x=o.createFromArray(k),E=u.replaceWithFragment(b,m,x),O=E.merge({selectionBefore:s,selectionAfter:E.getSelectionAfter().set("hasFocus",!0)});return l.push(t,O,"insert-fragment")},moveAtomicBlock:function(t,e,n,r){var o=t.getCurrentContent(),i=t.getSelection(),a=void 0;if("before"===r||"after"===r){var s=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());a=d(o,e,s,r)}else{var c=u.removeRange(o,n,"backward"),f=c.getSelectionAfter(),p=c.getBlockForKey(f.getFocusKey());if(0===f.getStartOffset())a=d(c,e,p,"before");else if(f.getEndOffset()===p.getLength())a=d(c,e,p,"after");else{var h=u.splitBlock(c,f),g=h.getSelectionAfter(),y=h.getBlockForKey(g.getFocusKey());a=d(h,e,y,"before")}}var v=a.merge({selectionBefore:i,selectionAfter:a.getSelectionAfter().set("hasFocus",!0)});return l.push(t,v,"move-block")}};t.exports=m},function(t,e,n){"use strict";t.exports={draft_killswitch_allow_nontextnodes:!1,draft_segmented_entities_behavior:!1,draft_handlebeforeinput_composed_text:!1,draft_tree_data_support:!1}},function(t,e,n){"use strict";var r=n(16),o=n(3).Map,i={add:function(t,e,n){return a(t,e,n,!0)},remove:function(t,e,n){return a(t,e,n,!1)}};function a(t,e,n,i){var a=t.getBlockMap(),s=e.getStartKey(),c=e.getStartOffset(),u=e.getEndKey(),l=e.getEndOffset(),f=a.skipUntil(function(t,e){return e===s}).takeUntil(function(t,e){return e===u}).concat(o([[u,a.get(u)]])).map(function(t,e){var o,a;s===u?(o=c,a=l):(o=e===s?c:0,a=e===u?l:t.getLength());for(var f,p=t.getCharacterList();o<a;)f=p.get(o),p=p.set(o,i?r.applyStyle(f,n):r.removeStyle(f,n)),o++;return t.set("characterList",p)});return t.merge({blockMap:a.merge(f),selectionBefore:e,selectionAfter:e})}t.exports=i},function(t,e,n){"use strict";var r=n(3),o=n(107);t.exports=function(t,e,n){var i=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),c=e.getEndKey(),u=e.getEndOffset(),l=i.skipUntil(function(t,e){return e===a}).takeUntil(function(t,e){return e===c}).toOrderedMap().merge(r.OrderedMap([[c,i.get(c)]])).map(function(t,e){var r=e===a?s:0,i=e===c?u:t.getLength();return o(t,r,i,n)});return t.merge({blockMap:i.merge(l),selectionBefore:e,selectionAfter:e})}},function(t,e,n){"use strict";var r=n(16);t.exports=function(t,e,n,o){for(var i=t.getCharacterList();e<n;)i=i.set(e,r.applyEntity(i.get(e),o)),e++;return t.set("characterList",i)}},function(t,e,n){"use strict";var r=n(109),o=n(110),i=n(4);function a(t,e,n,a,s,c,u){var l=n.getStartOffset(),f=n.getEndOffset(),p=t.__get(s).getMutability(),d=u?l:f;if("MUTABLE"===p)return n;var h=o(e,s).filter(function(t){return d<=t.end&&d>=t.start});1!=h.length&&i(!1);var g=h[0];if("IMMUTABLE"===p)return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});c||(u?f=g.end:l=g.start);var y=r.getRemovalRange(l,f,e.getText().slice(g.start,g.end),g.start,a);return n.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1})}t.exports=function(t,e,n,r,o){var i=r.getStartOffset(),s=r.getEndOffset(),c=e.getEntityAt(i),u=n.getEntityAt(s-1);if(!c&&!u)return r;var l=r;if(c&&c===u)l=a(t,e,l,o,c,!0,!0);else if(c&&u){var f=a(t,e,l,o,c,!1,!0),p=a(t,n,l,o,u,!1,!1);l=l.merge({anchorOffset:f.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(c){var d=a(t,e,l,o,c,!1,!0);l=l.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(u){var h=a(t,n,l,o,u,!1,!1);l=l.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return l}},function(t,e,n){"use strict";t.exports={getRemovalRange:function(t,e,n,r,o){var i=n.split(" ");i=i.map(function(t,e){if("forward"===o){if(e>0)return" "+t}else if(e<i.length-1)return t+" ";return t});for(var a,s=r,c=null,u=null,l=0;l<i.length;l++){if(t<(a=s+i[l].length)&&s<e)null!==c?u=a:(c=s,u=a);else if(null!==c)break;s=a}var f=r+n.length,p=c===r,d=u===f;return(!p&&d||p&&!d)&&("forward"===o?u!==f&&u++:c!==r&&c--),{start:c,end:u}}}},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e){var n=[];return t.findEntityRanges(function(t){return t.getEntity()===e},function(t,e){n.push({start:t,end:e})}),n.length||r(!1),n}},function(t,e,n){"use strict";var r=n(33),o=n(20),i=n(3),a=n(70),s=n(4),c=n(68),u=i.List,l=function(t,e,n,i,a,s){var c=n.first()instanceof o,l=[],f=i.size,p=n.get(a),d=i.first(),h=i.last(),g=h.getLength(),y=h.getKey(),v=c&&(!p.getChildKeys().isEmpty()||!d.getChildKeys().isEmpty());n.forEach(function(t,e){e===a?(v?l.push(t):l.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.slice(0,e),a=o.slice(0,e),s=n.first();return t.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?t.getType():s.getType(),data:s.getData()})}(t,s,i)),i.slice(v?0:1,f-1).forEach(function(t){return l.push(t)}),l.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.length,a=r.slice(e,i),s=o.slice(e,i),c=n.last();return c.merge({text:c.getText()+a,characterList:c.getCharacterList().concat(s),data:c.getData()})}(t,s,i))):l.push(t)});var m=r.createFromArray(l);return c&&(m=function(t,e,n,r){return t.withMutations(function(e){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),c=function(t,e){var n=t.getKey(),r=t,o=[];for(e.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=e.get(i)}return o}(r,t),l=c[c.length-1];if(e.get(i)?(e.setIn([o,"nextSibling"],i),e.setIn([i,"prevSibling"],o)):(e.setIn([o,"nextSibling"],r.getNextSiblingKey()),e.setIn([r.getNextSiblingKey(),"prevSibling"],o)),e.setIn([l,"nextSibling"],a),a&&e.setIn([a,"prevSibling"],l),c.forEach(function(t){return e.setIn([t,"parent"],s)}),s){var f=t.get(s).getChildKeys(),p=f.indexOf(o)+1,d=f.toArray();d.splice.apply(d,[p,0].concat(c)),e.setIn([s,"children"],u(d))}})}(m,0,p,d)),t.merge({blockMap:m,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:g,focusKey:y,focusOffset:g,isBackward:!1})})};t.exports=function(t,e,n){e.isCollapsed()||s(!1);var r=t.getBlockMap(),i=c(n),u=e.getStartKey(),f=e.getStartOffset(),p=r.get(u);return p instanceof o&&(p.getChildKeys().isEmpty()||s(!1)),1===i.size?function(t,e,n,r,o,i){var s=n.get(o),c=s.getText(),u=s.getCharacterList(),l=o,f=i+r.getText().length,p=s.merge({text:c.slice(0,i)+r.getText()+c.slice(i),characterList:a(u,r.getCharacterList(),i),data:r.getData()});return t.merge({blockMap:n.set(o,p),selectionBefore:e,selectionAfter:e.merge({anchorKey:l,anchorOffset:f,focusKey:l,focusOffset:f,isBackward:!1})})}(t,e,r,i.first(),u,f):l(t,e,r,i,u,f)}},function(t,e,n){"use strict";var r=n(3),o=n(70),i=n(4),a=r.Repeat;t.exports=function(t,e,n,r){e.isCollapsed()||i(!1);var s=n.length;if(!s)return t;var c=t.getBlockMap(),u=e.getStartKey(),l=e.getStartOffset(),f=c.get(u),p=f.getText(),d=f.merge({text:p.slice(0,l)+n+p.slice(l,f.getLength()),characterList:o(f.getCharacterList(),a(r,s).toList(),l)}),h=l+s;return t.merge({blockMap:c.set(u,d),selectionAfter:e.merge({anchorOffset:h,focusOffset:h})})}},function(t,e,n){"use strict";var r=n(3).Map;t.exports=function(t,e,n){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil(function(t,e){return e===o}).takeUntil(function(t,e){return e===i}).concat(r([[i,a.get(i)]])).map(n);return t.merge({blockMap:a.merge(s),selectionBefore:e,selectionAfter:e})}},function(t,e,n){"use strict";var r=n(20),o=n(3),i=n(71),a=(o.List,o.Map),s=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},c=function(t,e){var n=[];if(!t)return n;for(var r=e.get(t);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?e.get(o):null}return n},u=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getNextSiblingKey();r&&!e.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},l=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getPrevSiblingKey();r&&!e.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},f=function(t,e,n,r){return t.withMutations(function(t){s(e.getKey(),t,function(n){return n.merge({nextSibling:u(e,t,r),prevSibling:l(e,t,r)})}),s(n.getKey(),t,function(e){return e.merge({nextSibling:u(n,t,r),prevSibling:l(n,t,r)})}),c(e.getKey(),r).forEach(function(e){return s(e,t,function(e){return e.merge({children:e.getChildKeys().filter(function(e){return t.get(e)}),nextSibling:u(e,t,r),prevSibling:l(e,t,r)})})}),s(e.getNextSiblingKey(),t,function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})}),s(e.getPrevSiblingKey(),t,function(n){return n.merge({nextSibling:u(e,t,r)})}),s(n.getNextSiblingKey(),t,function(e){return e.merge({prevSibling:l(n,t,r)})}),s(n.getPrevSiblingKey(),t,function(t){return t.merge({nextSibling:n.getNextSiblingKey()})}),c(n.getKey(),r).forEach(function(e){s(e,t,function(e){return e.merge({children:e.getChildKeys().filter(function(e){return t.get(e)}),nextSibling:u(e,t,r),prevSibling:l(e,t,r)})})}),function(t,e){var n=[];if(!t)return n;for(var r=i(t,e);r&&e.get(r);){var o=e.get(r);n.push(r),r=o.getParentKey()?i(o,e):null}return n}(n,r).forEach(function(e){return s(e,t,function(e){return e.merge({nextSibling:u(e,t,r),prevSibling:l(e,t,r)})})})})},p=function(t,e,n){if(0===e)for(;e<n;)t=t.shift(),e++;else if(n===t.count())for(;n>e;)t=t.pop(),n--;else{var r=t.slice(0,e),o=t.slice(n);t=r.concat(o).toList()}return t};t.exports=function(t,e){if(e.isCollapsed())return t;var n=t.getBlockMap(),o=e.getStartKey(),s=e.getStartOffset(),u=e.getEndKey(),l=e.getEndOffset(),d=n.get(o),h=n.get(u),g=d instanceof r,y=[];if(g){var v=h.getChildKeys(),m=c(u,n);h.getNextSiblingKey()&&(y=y.concat(m)),v.isEmpty()||(y=y.concat(m.concat([u]))),y=y.concat(c(i(h,n),n))}var b=void 0;b=d===h?p(d.getCharacterList(),s,l):d.getCharacterList().slice(0,s).concat(h.getCharacterList().slice(l));var _=d.merge({text:d.getText().slice(0,s)+h.getText().slice(l),characterList:b}),w=n.toSeq().skipUntil(function(t,e){return e===o}).takeUntil(function(t,e){return e===u}).filter(function(t,e){return-1===y.indexOf(e)}).concat(a([[u,null]])).map(function(t,e){return e===o?_:null}),S=n.merge(w).filter(function(t){return!!t});return g&&(S=f(S,d,h,n)),t.merge({blockMap:S,selectionBefore:e,selectionAfter:e.merge({anchorKey:o,anchorOffset:s,focusKey:o,focusOffset:s,isBackward:!1})})}},function(t,e,n){"use strict";var r=n(20),o=n(3),i=n(23),a=n(4),s=o.List,c=o.Map,u=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}};t.exports=function(t,e){e.isCollapsed()||a(!1);var n=e.getAnchorKey(),o=e.getAnchorOffset(),l=t.getBlockMap(),f=l.get(n),p=f.getText(),d=f.getCharacterList(),h=i(),g=f instanceof r,y=f.merge({text:p.slice(0,o),characterList:d.slice(0,o)}),v=y.merge({key:h,text:p.slice(o),characterList:d.slice(o),data:c()}),m=l.toSeq().takeUntil(function(t){return t===f}),b=l.toSeq().skipUntil(function(t){return t===f}).rest(),_=m.concat([[n,y],[h,v]],b).toOrderedMap();return g&&(f.getChildKeys().isEmpty()||a(!1),_=function(t,e,n){return t.withMutations(function(t){var r=e.getKey(),o=n.getKey();u(e.getParentKey(),t,function(t){var e=t.getChildKeys(),n=e.indexOf(r)+1,i=e.toArray();return i.splice(n,0,o),t.merge({children:s(i)})}),u(e.getNextSiblingKey(),t,function(t){return t.merge({prevSibling:o})}),u(r,t,function(t){return t.merge({nextSibling:o})}),u(o,t,function(t){return t.merge({prevSibling:r})})})}(_,y,v)),t.merge({blockMap:_,selectionBefore:e,selectionAfter:e.merge({anchorKey:h,anchorOffset:0,focusKey:h,focusOffset:0,isBackward:!1})})}},function(t,e,n){"use strict";var r,o=n(3),i=n(117),a=n(21),s=o.OrderedMap,c={getDirectionMap:function(t,e){r?r.reset():r=new i;var n=t.getBlockMap(),c=n.valueSeq().map(function(t){return a(r).getDirection(t.getText())}),u=s(n.keySeq().zip(c));return null!=e&&o.is(e,u)?e:u}};t.exports=c},function(t,e,n){"use strict";var r=n(74),o=n(54),i=n(4),a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e?o.isStrong(e)||i(!1):e=o.getGlobalDir(),this._defaultDir=e,this.reset()}return t.prototype.reset=function(){this._lastDir=this._defaultDir},t.prototype.getDirection=function(t){return this._lastDir=r.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=a},function(t,e,n){"use strict";var r=n(20),o=n(3),i=n(71),a=n(4),s=o.OrderedMap,c=o.List,u=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},l=function(t,e,n,r,o){if(!o)return t;var i="after"===r,a=e.getKey(),s=n.getKey(),l=e.getParentKey(),f=e.getNextSiblingKey(),p=e.getPrevSiblingKey(),d=n.getParentKey(),h=i?n.getNextSiblingKey():s,g=i?s:n.getPrevSiblingKey();return t.withMutations(function(t){u(l,t,function(t){var e=t.getChildKeys();return t.merge({children:e.delete(e.indexOf(a))})}),u(p,t,function(t){return t.merge({nextSibling:f})}),u(f,t,function(t){return t.merge({prevSibling:p})}),u(h,t,function(t){return t.merge({prevSibling:a})}),u(g,t,function(t){return t.merge({nextSibling:a})}),u(d,t,function(t){var e=t.getChildKeys(),n=e.indexOf(s),r=i?n+1:0!==n?n-1:0,o=e.toArray();return o.splice(r,0,a),t.merge({children:c(o)})}),u(a,t,function(t){return t.merge({nextSibling:h,prevSibling:g,parent:d})})})};t.exports=function(t,e,n,o){"replace"===o&&a(!1);var c=n.getKey(),u=e.getKey();u===c&&a(!1);var f=t.getBlockMap(),p=e instanceof r,d=[e],h=f.delete(u);p&&(d=[],h=f.withMutations(function(t){var n=e.getNextSiblingKey(),r=i(e,t);t.toSeq().skipUntil(function(t){return t.getKey()===u}).takeWhile(function(t){var e=t.getKey(),o=e===u,i=n&&e!==n,a=!n&&t.getParentKey()&&(!r||e!==r);return!!(o||i||a)}).forEach(function(e){d.push(e),t.delete(e.getKey())})}));var g=h.toSeq().takeUntil(function(t){return t===n}),y=h.toSeq().skipUntil(function(t){return t===n}).skip(1),v=d.map(function(t){return[t.getKey(),t]}),m=s();if("before"===o){var b=t.getBlockBefore(c);b&&b.getKey()===e.getKey()&&a(!1),m=g.concat([].concat(v,[[c,n]]),y).toOrderedMap()}else if("after"===o){var _=t.getBlockAfter(c);_&&_.getKey()===u&&a(!1),m=g.concat([[c,n]].concat(v),y).toOrderedMap()}return t.merge({blockMap:l(m,e,n,o,p),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:u,focusKey:u})})}},function(t,e,n){"use strict";var r=n(3).List,o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._decorators=e.slice()}return t.prototype.getDecorations=function(t,e){var n=Array(t.getText().length).fill(null);return this._decorators.forEach(function(r,o){var i=0;(0,r.strategy)(t,function(t,e){(function(t,e,n){for(var r=e;r<n;r++)if(null!=t[r])return!1;return!0})(n,t,e)&&(function(t,e,n,r){for(var o=e;o<n;o++)t[o]=r}(n,t,e,o+"."+i),i++)},e)}),r(n)},t.prototype.getComponentForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].component},t.prototype.getPropsForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].props},t}();t.exports=o},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};var o=n(55),i=n(75),a=n(121),s=n(122),c=n(145),u=n(148),l=n(180),f=n(5),p=n(0),d=n(30),h=n(79),g=n(59),y=n(22),v=n(32),m=n(51),b=n(23),_=n(92),w=n(60),S=n(4),k=n(21),x=y.isBrowser("IE"),E=!x,O={edit:u,composite:a,drag:c,cut:null,render:null},C=function(t){function e(n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,n));return r.focus=function(t){var e=r.props.editorState,n=e.getSelection().getHasFocus(),o=d.findDOMNode(r.editor);if(o){var i=g.getScrollParent(o),a=t||w(i),s=a.x,c=a.y;o instanceof HTMLElement||S(!1),o.focus(),i===window?window.scrollTo(s,c):h.setTop(i,c),n||r.update(f.forceSelection(e,e.getSelection()))}},r.blur=function(){var t=d.findDOMNode(r.editor);t instanceof HTMLElement||S(!1),t.blur()},r.setMode=function(t){r._handler=O[t]},r.exitCurrentMode=function(){r.setMode("edit")},r.restoreEditorDOM=function(t){r.setState({contentsKey:r.state.contentsKey+1},function(){r.focus(t)})},r.setClipboard=function(t){r._clipboard=t},r.getClipboard=function(){return r._clipboard},r.update=function(t){r._latestEditorState=t,r.props.onChange(t)},r.onDragEnter=function(){r._dragCount++},r.onDragLeave=function(){r._dragCount--,0===r._dragCount&&r.exitCurrentMode()},r._blockSelectEvents=!1,r._clipboard=null,r._handler=null,r._dragCount=0,r._editorKey=n.editorKey||b(),r._placeholderAccessibilityID="placeholder-"+r._editorKey,r._latestEditorState=n.editorState,r._latestCommittedEditorState=n.editorState,r._onBeforeInput=r._buildHandler("onBeforeInput"),r._onBlur=r._buildHandler("onBlur"),r._onCharacterData=r._buildHandler("onCharacterData"),r._onCompositionEnd=r._buildHandler("onCompositionEnd"),r._onCompositionStart=r._buildHandler("onCompositionStart"),r._onCopy=r._buildHandler("onCopy"),r._onCut=r._buildHandler("onCut"),r._onDragEnd=r._buildHandler("onDragEnd"),r._onDragOver=r._buildHandler("onDragOver"),r._onDragStart=r._buildHandler("onDragStart"),r._onDrop=r._buildHandler("onDrop"),r._onInput=r._buildHandler("onInput"),r._onFocus=r._buildHandler("onFocus"),r._onKeyDown=r._buildHandler("onKeyDown"),r._onKeyPress=r._buildHandler("onKeyPress"),r._onKeyUp=r._buildHandler("onKeyUp"),r._onMouseDown=r._buildHandler("onMouseDown"),r._onMouseUp=r._buildHandler("onMouseUp"),r._onPaste=r._buildHandler("onPaste"),r._onSelect=r._buildHandler("onSelect"),r.getEditorKey=function(){return r._editorKey},r.state={contentsKey:0},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype._buildHandler=function(t){var e=this;return function(n){if(!e.props.readOnly){var r=e._handler&&e._handler[t];r&&r(e,n)}}},e.prototype._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},e.prototype._renderPlaceholder=function(){if(this._showPlaceholder()){var t={text:k(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return p.createElement(l,t)}return null},e.prototype.render=function(){var t=this,e=this.props,n=e.blockRenderMap,o=e.blockRendererFn,a=e.blockStyleFn,c=e.customStyleFn,u=e.customStyleMap,l=e.editorState,f=e.readOnly,d=e.textAlignment,h=e.textDirectionality,g=v({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===d,"DraftEditor/alignRight":"right"===d,"DraftEditor/alignCenter":"center"===d}),y=this.props.role||"textbox",m="combobox"===y?!!this.props.ariaExpanded:null,b={blockRenderMap:n,blockRendererFn:o,blockStyleFn:a,customStyleMap:r({},i,u),customStyleFn:c,editorKey:this._editorKey,editorState:l,key:"contents"+this.state.contentsKey,textDirectionality:h};return p.createElement("div",{className:g},this._renderPlaceholder(),p.createElement("div",{className:v("DraftEditor/editorContainer"),ref:function(e){return t.editorContainer=e}},p.createElement("div",{"aria-activedescendant":f?null:this.props.ariaActiveDescendantID,"aria-autocomplete":f?null:this.props.ariaAutoComplete,"aria-controls":f?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":f?null:m,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:v({notranslate:!f,"public/DraftEditor/content":!0}),contentEditable:!f,"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:function(e){return t.editor=e},role:f?null:y,spellCheck:E&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},p.createElement(s,b))))},e.prototype.componentDidMount=function(){this.setMode("edit"),x&&document.execCommand("AutoUrlDetect",!1,!1)},e.prototype.componentWillUpdate=function(t){this._blockSelectEvents=!0,this._latestEditorState=t.editorState},e.prototype.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestCommittedEditorState=this.props.editorState},e}(p.Component);C.defaultProps={blockRenderMap:o,blockRendererFn:m.thatReturnsNull,blockStyleFn:m.thatReturns(""),keyBindingFn:_,readOnly:!1,spellCheck:!1,stripPastedStyles:!1},t.exports=C},function(t,e,n){"use strict";var r=n(24),o=n(15),i=n(5),a=n(56),s=n(57),c=n(35),u=n(76),l=!1,f=!1,p="",d={onBeforeInput:function(t,e){p=(p||"")+e.data},onCompositionStart:function(t){f=!0},onCompositionEnd:function(t){l=!1,f=!1,setTimeout(function(){l||d.resolveComposition(t)},20)},onKeyDown:function(t,e){if(!f)return d.resolveComposition(t),void t._onKeyDown(e);e.which!==a.RIGHT&&e.which!==a.LEFT||e.preventDefault()},onKeyPress:function(t,e){e.which===a.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!f){l=!0;var e=p;p="";var n=i.set(t._latestEditorState,{inCompositionMode:!1}),a=n.getCurrentInlineStyle(),d=s(n.getCurrentContent(),n.getSelection()),h=!e||u(n)||a.size>0||null!==d;if(h&&t.restoreEditorDOM(),t.exitCurrentMode(),e){if(r.draft_handlebeforeinput_composed_text&&t.props.handleBeforeInput&&c(t.props.handleBeforeInput(e,n)))return;var g=o.replaceText(n.getCurrentContent(),n.getSelection(),e,a,d);t.update(i.push(n,g,"insert-characters"))}else h&&t.update(i.set(n,{nativelyRenderedContent:null,forceSelection:!0}))}}};t.exports=d},function(t,e,n){"use strict";var r=n(123);t.exports=r},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};var o=n(77),i=n(42),a=(n(5),n(0)),s=n(32),c=n(144),u=n(21),l=function(t,e,n,r){return s({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===t,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===t,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===e,"public/DraftStyleDefault/depth1":1===e,"public/DraftStyleDefault/depth2":2===e,"public/DraftStyleDefault/depth3":3===e,"public/DraftStyleDefault/depth4":4===e,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=e.isInCompositionMode(),i=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=e.getCurrentContent(),s=n.getCurrentContent(),c=e.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},e.prototype.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,s=t.blockStyleFn,f=t.customStyleMap,p=t.customStyleFn,d=t.editorState,h=t.editorKey,g=t.textDirectionality,y=d.getCurrentContent(),v=d.getSelection(),m=d.mustForceSelection(),b=d.getDecorator(),_=u(d.getDirectionMap()),w=y.getBlocksAsArray(),S=[],k=null,x=null,E=0;E<w.length;E++){var O=w[E],C=O.getKey(),T=O.getType(),A=n(O),I=void 0,M=void 0,j=void 0;A&&(I=A.component,M=A.props,j=A.editable);var D=g||_.get(C),P=i.encode(C,0,0),R={contentState:y,block:O,blockProps:M,blockStyleFn:s,customStyleMap:f,customStyleFn:p,decorator:b,direction:D,forceSelection:m,key:C,offsetKey:P,selection:v,tree:d.getBlockTree(C)},N=e.get(T)||e.get("unstyled"),L=N.wrapper,B=N.element||e.get("unstyled").element,z=O.getDepth(),K="";if(s&&(K=s(O)),"li"===B)K=c(K,l(T,z,x!==L||null===k||z>k,D));var F=I||o,U={className:K,"data-block":!0,"data-editor":h,"data-offset-key":P,key:C};void 0!==j&&(U=r({},U,{contentEditable:j,suppressContentEditableWarning:!0}));var W=a.createElement(B,U,a.createElement(F,R));S.push({block:W,wrapperTemplate:L,key:C,offsetKey:P}),k=L?O.getDepth():null,x=L}for(var V=[],H=0;H<S.length;){var q=S[H];if(q.wrapperTemplate){var X=[];do{X.push(S[H].block),H++}while(H<S.length&&S[H].wrapperTemplate===q.wrapperTemplate);var J=a.cloneElement(q.wrapperTemplate,{key:q.key+"-wrap","data-offset-key":q.offsetKey},X);V.push(J)}else V.push(q.block),H++}return a.createElement("div",{"data-contents":"true"},V)},e}(a.Component);t.exports=f},function(t,e,n){"use strict";var r=n(19);var o=n(125),i=n(0),a=n(30),s=n(4),c=n(132),u=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype._setSelection=function(){var t=this.props.selection;if(null!=t&&t.getHasFocus()){var e=this.props,n=e.block,r=e.start,o=e.text,i=n.getKey(),u=r+o.length;if(t.hasEdgeWithin(i,r,u)){var l=a.findDOMNode(this);l||s(!1);var f=l.firstChild;f||s(!1);var p=void 0;f.nodeType===Node.TEXT_NODE?p=f:"BR"===f.tagName?p=l:(p=f.firstChild)||s(!1),c(t,p,i,r,u)}}},e.prototype.shouldComponentUpdate=function(t){var e=a.findDOMNode(this.leaf);return e||s(!1),e.textContent!==t.text||t.styleSet!==this.props.styleSet||t.forceSelection},e.prototype.componentDidUpdate=function(){this._setSelection()},e.prototype.componentDidMount=function(){this._setSelection()},e.prototype.render=function(){var t=this,e=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var a=this.props,s=a.customStyleMap,c=a.customStyleFn,u=a.offsetKey,l=a.styleSet,f=l.reduce(function(t,e){var n={},o=s[e];return void 0!==o&&t.textDecoration!==o.textDecoration&&(n.textDecoration=[t.textDecoration,o.textDecoration].join(" ").trim()),r(t,o,n)},{});if(c){var p=c(l,e);f=r(f,p)}return i.createElement("span",{"data-offset-key":u,ref:function(e){return t.leaf=e},style:f},i.createElement(o,null,n))},e}(i.Component);t.exports=u},function(t,e,n){"use strict";var r=n(0),o=n(30),i=n(22),a=n(4),s=i.isBrowser("IE <= 11");var c=s?r.createElement("span",{key:"A","data-text":"true"},"\n"):r.createElement("br",{key:"A","data-text":"true"}),u=s?r.createElement("span",{key:"B","data-text":"true"},"\n"):r.createElement("br",{key:"B","data-text":"true"}),l=function(t){function e(n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,n));return r._forceFlag=!1,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.shouldComponentUpdate=function(t){var e=o.findDOMNode(this),n=""===t.children;return e instanceof Element||a(!1),n?!function(t){return s?"\n"===t.textContent:"BR"===t.tagName}(e):e.textContent!==t.children},e.prototype.componentDidMount=function(){this._forceFlag=!this._forceFlag},e.prototype.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},e.prototype.render=function(){return""===this.props.children?this._forceFlag?c:u:r.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true"},this.props.children)},e}(r.Component);t.exports=l},function(t,e,n){"use strict";var r=n(127),o="Unknown",i={"Mac OS":"Mac OS X"};var a,s=(new r).getResult(),c=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}(s.browser.version),u={browserArchitecture:s.cpu.architecture||o,browserFullVersion:s.browser.version||o,browserMinorVersion:c.minor||o,browserName:s.browser.name||o,browserVersion:s.browser.major||o,deviceName:s.device.model||o,engineName:s.engine.name||o,engineVersion:s.engine.version||o,platformArchitecture:s.cpu.architecture||o,platformName:(a=s.os.name,i[a]||a||o),platformVersion:s.os.version||o,platformFullVersion:s.os.version||o};t.exports=u},function(t,e,n){var r;
7/*!
8 * UAParser.js v0.7.19
9 * Lightweight JavaScript-based User-Agent string parser
10 * https://github.com/faisalman/ua-parser-js
11 *
12 * Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com>
13 * Dual licensed under GPLv2 or MIT
14 */
15/*!
16 * UAParser.js v0.7.19
17 * Lightweight JavaScript-based User-Agent string parser
18 * https://github.com/faisalman/ua-parser-js
19 *
20 * Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com>
21 * Dual licensed under GPLv2 or MIT
22 */
23!function(o,i){"use strict";var a="model",s="name",c="type",u="vendor",l="version",f="mobile",p="tablet",d={extend:function(t,e){var n={};for(var r in t)e[r]&&e[r].length%2==0?n[r]=e[r].concat(t[r]):n[r]=t[r];return n},has:function(t,e){return"string"==typeof t&&-1!==e.toLowerCase().indexOf(t.toLowerCase())},lowerize:function(t){return t.toLowerCase()},major:function(t){return"string"==typeof t?t.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},h={rgx:function(t,e){for(var n,r,o,i,a,s,c=0;c<e.length&&!a;){var u=e[c],l=e[c+1];for(n=r=0;n<u.length&&!a;)if(a=u[n++].exec(t))for(o=0;o<l.length;o++)s=a[++r],"object"==typeof(i=l[o])&&i.length>0?2==i.length?"function"==typeof i[1]?this[i[0]]=i[1].call(this,s):this[i[0]]=i[1]:3==i.length?"function"!=typeof i[1]||i[1].exec&&i[1].test?this[i[0]]=s?s.replace(i[1],i[2]):void 0:this[i[0]]=s?i[1].call(this,s,i[2]):void 0:4==i.length&&(this[i[0]]=s?i[3].call(this,s.replace(i[1],i[2])):void 0):this[i]=s||void 0;c+=2}},str:function(t,e){for(var n in e)if("object"==typeof e[n]&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(d.has(e[n][r],t))return"?"===n?void 0:n}else if(d.has(e[n],t))return"?"===n?void 0:n;return t}},g={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"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"}}}},y={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[s,l],[/(opios)[\/\s]+([\w\.]+)/i],[[s,"Opera Mini"],l],[/\s(opr)\/([\w\.]+)/i],[[s,"Opera"],l],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i],[s,l],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[s,"IE"],l],[/(edge|edgios|edga)\/((\d+)?[\w\.]+)/i],[[s,"Edge"],l],[/(yabrowser)\/([\w\.]+)/i],[[s,"Yandex"],l],[/(puffin)\/([\w\.]+)/i],[[s,"Puffin"],l],[/(focus)\/([\w\.]+)/i],[[s,"Firefox Focus"],l],[/(opt)\/([\w\.]+)/i],[[s,"Opera Touch"],l],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[s,"UCBrowser"],l],[/(comodo_dragon)\/([\w\.]+)/i],[[s,/_/g," "],l],[/(micromessenger)\/([\w\.]+)/i],[[s,"WeChat"],l],[/(brave)\/([\w\.]+)/i],[[s,"Brave"],l],[/(qqbrowserlite)\/([\w\.]+)/i],[s,l],[/(QQ)\/([\d\.]+)/i],[s,l],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[s,l],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[s,l],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[s,l],[/(MetaSr)[\/\s]?([\w\.]+)/i],[s],[/(LBBROWSER)/i],[s],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[l,[s,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[l,[s,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[s,l],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[l,[s,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[s,/(.+)/,"$1 WebView"],l],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[s,/(.+(?:g|us))(.+)/,"$1 $2"],l],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[l,[s,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[s,l],[/(dolfin)\/([\w\.]+)/i],[[s,"Dolphin"],l],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[s,"Chrome"],l],[/(coast)\/([\w\.]+)/i],[[s,"Opera Coast"],l],[/fxios\/([\w\.-]+)/i],[l,[s,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[l,[s,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[l,s],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[s,"GSA"],l],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[s,[l,h.str,g.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[s,l],[/(navigator|netscape)\/([\w\.-]+)/i],[[s,"Netscape"],l],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[s,l]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",d.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",d.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",d.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[a,u,[c,p]],[/applecoremedia\/[\w\.]+ \((ipad)/],[a,[u,"Apple"],[c,p]],[/(apple\s{0,1}tv)/i],[[a,"Apple TV"],[u,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[u,a,[c,p]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[a,[u,"Amazon"],[c,p]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[a,h.str,g.device.amazon.model],[u,"Amazon"],[c,f]],[/android.+aft([bms])\sbuild/i],[a,[u,"Amazon"],[c,"smarttv"]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[a,u,[c,f]],[/\((ip[honed|\s\w*]+);/i],[a,[u,"Apple"],[c,f]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[u,a,[c,f]],[/\(bb10;\s(\w+)/i],[a,[u,"BlackBerry"],[c,f]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[a,[u,"Asus"],[c,p]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[u,"Sony"],[a,"Xperia Tablet"],[c,p]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[a,[u,"Sony"],[c,f]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[u,a,[c,"console"]],[/android.+;\s(shield)\sbuild/i],[a,[u,"Nvidia"],[c,"console"]],[/(playstation\s[34portablevi]+)/i],[a,[u,"Sony"],[c,"console"]],[/(sprint\s(\w+))/i],[[u,h.str,g.device.sprint.vendor],[a,h.str,g.device.sprint.model],[c,f]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[u,a,[c,p]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[u,[a,/_/g," "],[c,f]],[/(nexus\s9)/i],[a,[u,"HTC"],[c,p]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[a,[u,"Huawei"],[c,f]],[/(microsoft);\s(lumia[\s\w]+)/i],[u,a,[c,f]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[a,[u,"Microsoft"],[c,"console"]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[u,"Microsoft"],[c,f]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[a,[u,"Motorola"],[c,f]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[a,[u,"Motorola"],[c,p]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[u,d.trim],[a,d.trim],[c,"smarttv"]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[u,"Samsung"],[c,"smarttv"]],[/\(dtv[\);].+(aquos)/i],[a,[u,"Sharp"],[c,"smarttv"]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[u,"Samsung"],a,[c,p]],[/smart-tv.+(samsung)/i],[u,[c,"smarttv"],a],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[u,"Samsung"],a,[c,f]],[/sie-(\w*)/i],[a,[u,"Siemens"],[c,f]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[u,"Nokia"],a,[c,f]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[a,[u,"Acer"],[c,p]],[/android.+([vl]k\-?\d{3})\s+build/i],[a,[u,"LG"],[c,p]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[u,"LG"],a,[c,p]],[/(lg) netcast\.tv/i],[u,a,[c,"smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[a,[u,"LG"],[c,f]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[a,[u,"Lenovo"],[c,p]],[/linux;.+((jolla));/i],[u,a,[c,f]],[/((pebble))app\/[\d\.]+\s/i],[u,a,[c,"wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[u,a,[c,f]],[/crkey/i],[[a,"Chromecast"],[u,"Google"]],[/android.+;\s(glass)\s\d/i],[a,[u,"Google"],[c,"wearable"]],[/android.+;\s(pixel c)[\s)]/i],[a,[u,"Google"],[c,p]],[/android.+;\s(pixel( [23])?( xl)?)\s/i],[a,[u,"Google"],[c,f]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[a,/_/g," "],[u,"Xiaomi"],[c,f]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[a,/_/g," "],[u,"Xiaomi"],[c,p]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[a,[u,"Meizu"],[c,p]],[/(mz)-([\w-]{2,})/i],[[u,"Meizu"],a,[c,f]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})\s+build/i],[a,[u,"OnePlus"],[c,f]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[a,[u,"RCA"],[c,p]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[a,[u,"Dell"],[c,p]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[a,[u,"Verizon"],[c,p]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[u,"Barnes & Noble"],a,[c,p]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[a,[u,"NuVision"],[c,p]],[/android.+;\s(k88)\sbuild/i],[a,[u,"ZTE"],[c,p]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[a,[u,"Swiss"],[c,f]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[a,[u,"Swiss"],[c,p]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[a,[u,"Zeki"],[c,p]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[u,"Dragon Touch"],a,[c,p]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[a,[u,"Insignia"],[c,p]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[a,[u,"NextBook"],[c,p]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[u,"Voice"],a,[c,f]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[u,"LvTel"],a,[c,f]],[/android.+;\s(PH-1)\s/i],[a,[u,"Essential"],[c,f]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[a,[u,"Envizen"],[c,p]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[u,a,[c,p]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[a,[u,"MachSpeed"],[c,p]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[u,a,[c,p]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[a,[u,"Rotor"],[c,p]],[/android.+(KS(.+))\s+build/i],[a,[u,"Amazon"],[c,p]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[u,a,[c,p]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[c,d.lowerize],u,a],[/(android[\w\.\s\-]{0,9});.+build/i],[a,[u,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[l,[s,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[s,l],[/rv\:([\w\.]{1,9}).+(gecko)/i],[l,s]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[s,l],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[s,[l,h.str,g.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[s,"Windows"],[l,h.str,g.os.windows.version]],[/\((bb)(10);/i],[[s,"BlackBerry"],l],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i,/linux;.+(sailfish);/i],[s,l],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[s,"Symbian"],l],[/\((series40);/i],[s],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[s,"Firefox OS"],l],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[s,l],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[s,"Chromium OS"],l],[/(sunos)\s?([\w\.\d]*)/i],[[s,"Solaris"],l],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[s,l],[/(haiku)\s(\w+)/i],[s,l],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[l,/_/g,"."],[s,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[s,"Mac OS"],[l,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[s,l]]},v=function(t,e){if("object"==typeof t&&(e=t,t=void 0),!(this instanceof v))return new v(t,e).getResult();var n=t||(o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=e?d.extend(y,e):y;return this.getBrowser=function(){var t={name:void 0,version:void 0};return h.rgx.call(t,n,r.browser),t.major=d.major(t.version),t},this.getCPU=function(){var t={architecture:void 0};return h.rgx.call(t,n,r.cpu),t},this.getDevice=function(){var t={vendor:void 0,model:void 0,type:void 0};return h.rgx.call(t,n,r.device),t},this.getEngine=function(){var t={name:void 0,version:void 0};return h.rgx.call(t,n,r.engine),t},this.getOS=function(){var t={name:void 0,version:void 0};return h.rgx.call(t,n,r.os),t},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 n},this.setUA=function(t){return n=t,this},this};v.VERSION="0.7.19",v.BROWSER={NAME:s,MAJOR:"major",VERSION:l},v.CPU={ARCHITECTURE:"architecture"},v.DEVICE={MODEL:a,VENDOR:u,TYPE:c,CONSOLE:"console",MOBILE:f,SMARTTV:"smarttv",TABLET:p,WEARABLE:"wearable",EMBEDDED:"embedded"},v.ENGINE={NAME:s,VERSION:l},v.OS={NAME:s,VERSION:l},void 0!==e?(void 0!==t&&t.exports&&(e=t.exports=v),e.UAParser=v):n(128)?void 0===(r=function(){return v}.call(e,n,e,t))||(t.exports=r):o&&(o.UAParser=v);var m=o&&(o.jQuery||o.Zepto);if(void 0!==m&&!m.ua){var b=new v;m.ua=b.getResult(),m.ua.get=function(){return b.getUA()},m.ua.set=function(t){b.setUA(t);var e=b.getResult();for(var n in e)m.ua[n]=e[n]}}}("object"==typeof window?window:this)},function(t,e){(function(e){t.exports=e}).call(this,{})},function(t,e,n){"use strict";var r=n(4),o=/\./,i=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,c=/^(\d*)(.*)/;function u(t,e){var n=t.split(i);return n.length>1?n.some(function(t){return _.contains(t,e)}):function(t,e){var n=t.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return l(n[0],e);var o=n[0],i=n[1];return g(o)&&g(i)||r(!1),l(">="+o,e)&&l("<="+i,e)}(t=n[0].trim(),e)}function l(t,e){if(""===(t=t.trim()))return!0;var n,r=e.split(o),i=d(t),a=i.modifier,s=i.rangeComponents;switch(a){case"<":return f(r,s);case"<=":return-1===(n=b(r,s))||0===n;case">=":return p(r,s);case">":return function(t,e){return 1===b(t,e)}(r,s);case"~":case"~>":return function(t,e){var n=e.slice(),r=e.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);h(i)&&(r[o]=i+1+"");return p(t,n)&&f(t,r)}(r,s);default:return function(t,e){return 0===b(t,e)}(r,s)}}function f(t,e){return-1===b(t,e)}function p(t,e){var n=b(t,e);return 1===n||0===n}function d(t){var e=t.split(o),n=e[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(e.slice(1))}}function h(t){return!isNaN(t)&&isFinite(t)}function g(t){return!d(t).modifier}function y(t,e){for(var n=t.length;n<e;n++)t[n]="0"}function v(t,e){var n=t.match(c)[1],r=e.match(c)[1],o=parseInt(n,10),i=parseInt(r,10);return h(o)&&h(i)&&o!==i?m(o,i):m(t,e)}function m(t,e){return typeof t!=typeof e&&r(!1),t>e?1:t<e?-1:0}function b(t,e){for(var n=function(t,e){y(t=t.slice(),(e=e.slice()).length);for(var n=0;n<e.length;n++){var r=e[n].match(/^[x*]$/i);if(r&&(e[n]=t[n]="0","*"===r[0]&&n===e.length-1))for(var o=n;o<t.length;o++)t[o]="0"}return y(e,t.length),[t,e]}(t,e),r=n[0],o=n[1],i=0;i<o.length;i++){var a=v(r[i],o[i]);if(a)return a}return 0}var _={contains:function(t,e){return u(t.trim(),e.trim())}};t.exports=_},function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){if(!t)return null;var o={};for(var i in t)r.call(t,i)&&(o[i]=e.call(n,t[i],i,t));return o}},function(t,e,n){"use strict";t.exports=function(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}},function(t,e,n){"use strict";(function(e){var r=n(133),o=n(58),i=n(78),a=n(4);function s(t,e){if(!t)return"[empty]";var n=function t(e,n){var r=void 0!==n?n(e):[];if(e.nodeType===Node.TEXT_NODE){var o=e.textContent.length;return document.createTextNode("[text "+o+(r.length?" | "+r.join(", "):"")+"]")}var i=e.cloneNode();1===i.nodeType&&r.length&&i.setAttribute("data-labels",r.join(", "));var a=e.childNodes;for(var s=0;s<a.length;s++)i.appendChild(t(a[s],n));return i}(t,e);return n.nodeType===Node.TEXT_NODE?n.textContent:(n instanceof Element||a(!1),n.outerHTML)}function c(t,e){for(var n=t;n;){if(n instanceof Element&&n.hasAttribute("contenteditable"))return s(n,e);n=n.parentNode}return"Could not find contentEditable parent of node"}function u(t){return null===t.nodeValue?t.childNodes.length:t.nodeValue.length}function l(t,e,n,a){var s=i();if(t.extend&&o(s,e)){n>u(e)&&r.logSelectionStateFailure({anonymizedDom:c(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(a.toJS())});var l=e===t.focusNode;try{t.extend(e,n)}catch(o){throw r.logSelectionStateFailure({anonymizedDom:c(e,function(e){var n=[];return e===s&&n.push("active element"),e===t.anchorNode&&n.push("selection anchor node"),e===t.focusNode&&n.push("selection focus node"),n}),extraParams:JSON.stringify({activeElementName:s?s.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:l,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:o?""+o:null,offset:n},null,2),selectionState:JSON.stringify(a.toJS(),null,2)}),o}}else{var f=t.getRangeAt(0);f.setEnd(e,n),t.addRange(f.cloneRange())}}function f(t,e,n,o){var i=document.createRange();n>u(e)&&r.logSelectionStateFailure({anonymizedDom:c(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(o.toJS())}),i.setStart(e,n),t.addRange(i)}t.exports=function(t,n,r,i,a){if(o(document.documentElement,n)){var s=e.getSelection(),c=t.getAnchorKey(),u=t.getAnchorOffset(),p=t.getFocusKey(),d=t.getFocusOffset(),h=t.getIsBackward();if(!s.extend&&h){var g=c,y=u;c=p,u=d,p=g,d=y,h=!1}var v=c===r&&i<=u&&a>=u,m=p===r&&i<=d&&a>=d;if(v&&m)return s.removeAllRanges(),f(s,n,u-i,t),void l(s,n,d-i,t);if(h){if(m&&(s.removeAllRanges(),f(s,n,d-i,t)),v){var b=s.focusNode,_=s.focusOffset;s.removeAllRanges(),f(s,n,u-i,t),l(s,b,_,t)}}else v&&(s.removeAllRanges(),f(s,n,u-i,t)),m&&l(s,n,d-i,t)}}}).call(this,n(11))},function(t,e,n){"use strict";t.exports={logSelectionStateFailure:function(){return null}}},function(t,e,n){"use strict";var r=n(135);t.exports=function(t){return r(t)&&3==t.nodeType}},function(t,e,n){"use strict";t.exports=function(t){var e=(t?t.ownerDocument||t:document).defaultView||window;return!(!t||!("function"==typeof e.Node?t instanceof e.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}},function(t,e,n){"use strict";var r=n(137),o=n(138);function i(t){return null==t?t:String(t)}t.exports=function(t,e){var n=void 0;if(window.getComputedStyle&&(n=window.getComputedStyle(t,null)))return i(n.getPropertyValue(o(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(t,null))return i(n.getPropertyValue(o(e)));if("display"===e)return"none"}return t.currentStyle?i("float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[r(e)]):i(t.style&&t.style[r(e)])}},function(t,e,n){"use strict";var r=/-(.)/g;t.exports=function(t){return t.replace(r,function(t,e){return e.toUpperCase()})}},function(t,e,n){"use strict";var r=/([A-Z])/g;t.exports=function(t){return t.replace(r,"-$1").toLowerCase()}},function(t,e,n){"use strict";var r=n(140);t.exports=function(t){var e=r(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}},function(t,e,n){"use strict";var r=n(58);t.exports=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t&&r(e,t)))return{left:0,right:0,top:0,bottom:0};var n=t.getBoundingClientRect();return{left:Math.round(n.left)-e.clientLeft,right:Math.round(n.right)-e.clientLeft,top:Math.round(n.top)-e.clientTop,bottom:Math.round(n.bottom)-e.clientTop}}},function(t,e,n){"use strict";var r="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;t.exports=function(t){return(t=t||document).scrollingElement?t.scrollingElement:r||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}},function(t,e,n){"use strict";t.exports=function(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}}},function(t,e,n){"use strict";function r(){var t=void 0;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function o(){var t=void 0;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function i(){return{width:window.innerWidth||r(),height:window.innerHeight||o()}}i.withoutScrollbars=function(){return{width:r(),height:o()}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){t||(t="");var e=void 0,n=arguments.length;if(n>1)for(var r=1;r<n;r++)(e=arguments[r])&&(t=(t?t+" ":"")+e);return t}},function(t,e,n){"use strict";var r=n(80),o=n(15),i=n(5),a=n(61),s=n(82),c=n(83),u=n(35),l=n(21);var f={onDragEnd:function(t){t.exitCurrentMode()},onDrop:function(t,e){var n=new r(e.nativeEvent.dataTransfer),f=t._latestEditorState,d=function(t,e){var n=null,r=null;if("function"==typeof document.caretRangeFromPoint){var o=document.caretRangeFromPoint(t.x,t.y);n=o.startContainer,r=o.startOffset}else{if(!t.rangeParent)return null;n=t.rangeParent,r=t.rangeOffset}n=l(n),r=l(r);var i=l(a(n));return c(e,i,r,i,r)}(e.nativeEvent,f);if(e.preventDefault(),t.exitCurrentMode(),null!=d){var h=n.getFiles();if(h.length>0){if(t.props.handleDroppedFiles&&u(t.props.handleDroppedFiles(d,h)))return;s(h,function(e){e&&t.update(p(f,d,e))})}else{var g=t._internalDrag?"internal":"external";t.props.handleDrop&&u(t.props.handleDrop(d,n,g))||(t._internalDrag?t.update(function(t,e){var n=o.moveText(t.getCurrentContent(),t.getSelection(),e);return i.push(t,n,"insert-fragment")}(f,d)):t.update(p(f,d,n.getText())))}}}};function p(t,e,n){var r=o.insertText(t.getCurrentContent(),e,n,t.getCurrentInlineStyle());return i.push(t,r,"insert-fragment")}t.exports=f},function(t,e,n){"use strict";var r={isImage:function(t){return"image"===o(t)[0]},isJpeg:function(t){var e=o(t);return r.isImage(t)&&("jpeg"===e[1]||"pjpeg"===e[1])}};function o(t){return t.split("/")}t.exports=r},function(t,e,n){"use strict";var r=n(4);t.exports=function(t){return function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}(t)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&r(!1),"number"!=typeof e&&r(!1),0===e||e-1 in t||r(!1),"function"==typeof t.callee&&r(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),o=0;o<e;o++)n[o]=t[o];return n}(t):[t]}},function(t,e,n){"use strict";var r={onBeforeInput:n(149),onBlur:n(151),onCompositionStart:n(152),onCopy:n(153),onCut:n(154),onDragOver:n(155),onDragStart:n(156),onFocus:n(157),onInput:n(158),onKeyDown:n(159),onPaste:n(173),onSelect:n(178)};t.exports=r},function(t,e,n){"use strict";(function(e){var r=n(72),o=n(15),i=n(5),a=n(22),s=n(57),c=n(35),u=n(76),l=n(21),f=n(150),p="'",d="/",h=a.isBrowser("Firefox");function g(t,e,n,r){var a=o.replaceText(t.getCurrentContent(),t.getSelection(),e,n,r);return i.push(t,a,"insert-characters")}t.exports=function(t,n){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var o=t._latestEditorState,a=n.data;if(a)if(t.props.handleBeforeInput&&c(t.props.handleBeforeInput(a,o)))n.preventDefault();else{var y=o.getSelection(),v=y.getStartOffset(),m=y.getEndOffset(),b=y.getAnchorKey();if(!y.isCollapsed())return n.preventDefault(),void(a===o.getCurrentContent().getPlainText().slice(v,m)?t.update(i.forceSelection(o,y.merge({focusOffset:m}))):t.update(g(o,a,o.getCurrentInlineStyle(),s(o.getCurrentContent(),o.getSelection()))));var _,w=g(o,a,o.getCurrentInlineStyle(),s(o.getCurrentContent(),o.getSelection())),S=!1;if(S||(S=u(t._latestCommittedEditorState)),!S){var k=e.getSelection();if(k.anchorNode&&k.anchorNode.nodeType===Node.TEXT_NODE){var x=k.anchorNode.parentNode;S="SPAN"===x.nodeName&&x.firstChild.nodeType===Node.TEXT_NODE&&-1!==x.firstChild.nodeValue.indexOf("\t")}}if(S||(S=r.getFingerprint(o.getBlockTree(b))!==r.getFingerprint(w.getBlockTree(b))),S||(_=a,S=h&&(_==p||_==d)),S||(S=l(w.getDirectionMap()).get(b)!==l(o.getDirectionMap()).get(b)),S)return n.preventDefault(),void t.update(w);w=i.set(w,{nativelyRenderedContent:w.getCurrentContent()}),t._pendingStateFromBeforeInput=w,f(function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)})}}}).call(this,n(11))},function(t,e,n){"use strict";(function(e){n(39),t.exports=e.setImmediate}).call(this,n(11))},function(t,e,n){"use strict";(function(e){var r=n(5),o=n(58),i=n(78);t.exports=function(t,n){if(i()===document.body){var a=e.getSelection(),s=t.editor;1===a.rangeCount&&o(s,a.anchorNode)&&o(s,a.focusNode)&&a.removeAllRanges()}var c=t._latestEditorState,u=c.getSelection();if(u.getHasFocus()){var l=u.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(n),t.update(r.acceptSelection(c,l))}}}).call(this,n(11))},function(t,e,n){"use strict";var r=n(5);t.exports=function(t,e){t.setMode("composite"),t.update(r.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}},function(t,e,n){"use strict";var r=n(84);t.exports=function(t,e){t._latestEditorState.getSelection().isCollapsed()?e.preventDefault():t.setClipboard(r(t._latestEditorState))}},function(t,e,n){"use strict";var r=n(15),o=n(5),i=n(59),a=n(84),s=n(60);t.exports=function(t,e){var n=t._latestEditorState,c=n.getSelection(),u=e.target,l=void 0;if(c.isCollapsed())e.preventDefault();else{u instanceof Node&&(l=s(i.getScrollParent(u)));var f=a(n);t.setClipboard(f),t.setMode("cut"),setTimeout(function(){t.restoreEditorDOM(l),t.exitCurrentMode(),t.update(function(t){var e=r.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return o.push(t,e,"remove-range")}(n))},0)}}},function(t,e,n){"use strict";t.exports=function(t,e){t._internalDrag=!1,t.setMode("drag"),e.preventDefault()}},function(t,e,n){"use strict";t.exports=function(t){t._internalDrag=!0,t.setMode("drag")}},function(t,e,n){"use strict";var r=n(5),o=n(22);t.exports=function(t,e){var n=t._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var a=i.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),o.isBrowser("Chrome < 60.0.3081.0")?t.update(r.forceSelection(n,a)):t.update(r.acceptSelection(n,a))}}},function(t,e,n){"use strict";(function(e){var r=n(24),o=n(15),i=n(42),a=n(5),s=n(22),c=n(61),u=n(21),l=s.isEngine("Gecko"),f="\n\n";t.exports=function(t){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=e.getSelection(),s=n.anchorNode,p=n.isCollapsed,d=s.nodeType!==Node.TEXT_NODE,h=s.nodeType!==Node.TEXT_NODE&&s.nodeType!==Node.ELEMENT_NODE;if(r.draft_killswitch_allow_nontextnodes){if(d)return}else if(h)return;if(s.nodeType===Node.TEXT_NODE&&(null!==s.previousSibling||null!==s.nextSibling)){var g=s.parentNode;s.nodeValue=g.textContent;for(var y=g.firstChild;null!==y;y=y.nextSibling)y!==s&&g.removeChild(y)}var v=s.textContent,m=t._latestEditorState,b=u(c(s)),_=i.decode(b),w=_.blockKey,S=_.decoratorKey,k=_.leafKey,x=m.getBlockTree(w).getIn([S,"leaves",k]),E=x.start,O=x.end,C=m.getCurrentContent(),T=C.getBlockForKey(w),A=T.getText().slice(E,O);if(v.endsWith(f)&&(v=v.slice(0,-1)),v!==A){var I,M,j,D,P=m.getSelection(),R=P.merge({anchorOffset:E,focusOffset:O,isBackward:!1}),N=T.getEntityAt(E),L=N&&C.getEntity(N),B="MUTABLE"===(L&&L.getMutability()),z=B?"spellcheck-change":"apply-entity",K=o.replaceText(C,R,v,T.getInlineStyleAt(E),B?T.getEntityAt(E):null);if(l)I=n.anchorOffset,M=n.focusOffset,D=(j=E+Math.min(I,M))+Math.abs(I-M),I=j,M=D;else{var F=v.length-A.length;j=P.getStartOffset(),D=P.getEndOffset(),I=p?D+F:j,M=D+F}var U=K.merge({selectionBefore:C.getSelectionAfter(),selectionAfter:P.merge({anchorOffset:I,focusOffset:M})});t.update(a.push(m,U,z))}}}).call(this,n(11))},function(t,e,n){"use strict";var r=n(15),o=n(5),i=n(62),a=n(56),s=n(160),c=n(22),u=n(35),l=n(161),f=n(163),p=n(165),d=n(166),h=n(167),g=n(168),y=n(169),v=n(170),m=n(171),b=n(172),_=i.isOptionKeyCommand,w=c.isBrowser("Chrome");t.exports=function(t,e){var n=e.which,i=t._latestEditorState;switch(n){case a.RETURN:if(e.preventDefault(),t.props.handleReturn&&u(t.props.handleReturn(e,i)))return;break;case a.ESC:return e.preventDefault(),void(t.props.onEscape&&t.props.onEscape(e));case a.TAB:return void(t.props.onTab&&t.props.onTab(e));case a.UP:return void(t.props.onUpArrow&&t.props.onUpArrow(e));case a.RIGHT:return void(t.props.onRightArrow&&t.props.onRightArrow(e));case a.DOWN:return void(t.props.onDownArrow&&t.props.onDownArrow(e));case a.LEFT:return void(t.props.onLeftArrow&&t.props.onLeftArrow(e));case a.SPACE:if(w&&_(e)){e.preventDefault();var c=r.replaceText(i.getCurrentContent(),i.getSelection()," ");return void t.update(o.push(i,c,"insert-characters"))}}var S=t.props.keyBindingFn(e);if(S)if("undo"!==S){if(e.preventDefault(),!t.props.handleKeyCommand||!u(t.props.handleKeyCommand(S,i))){var k=function(t,e){switch(t){case"redo":return o.redo(e);case"delete":return v(e);case"delete-word":return p(e);case"backspace":return y(e);case"backspace-word":return f(e);case"backspace-to-start-of-line":return l(e);case"split-block":return d(e);case"transpose-characters":return m(e);case"move-selection-to-start-of-block":return g(e);case"move-selection-to-end-of-block":return h(e);case"secondary-cut":return s.cut(e);case"secondary-paste":return s.paste(e);default:return e}}(S,i);k!==i&&t.update(k)}}else b(e,i,t.update)}},function(t,e,n){"use strict";var r=n(15),o=n(5),i=n(40),a=n(21),s=null,c={cut:function(t){var e=t.getCurrentContent(),n=t.getSelection(),c=null;if(n.isCollapsed()){var u=n.getAnchorKey(),l=e.getBlockForKey(u).getLength();if(l===n.getAnchorOffset())return t;c=n.set("focusOffset",l)}else c=n;c=a(c),s=i(e,c);var f=r.removeRange(e,c,"forward");return f===e?t:o.push(t,f,"remove-range")},paste:function(t){if(!s)return t;var e=r.replaceWithFragment(t.getCurrentContent(),t.getSelection(),s);return o.push(t,e,"insert-fragment")}};t.exports=c},function(t,e,n){"use strict";(function(e){var r=n(5),o=n(162),i=n(86),a=n(63),s=n(36);t.exports=function(t){var n=s(t,function(t){var n=t.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return a(t,1);var r=e.getSelection().getRangeAt(0);return r=o(r),i(t,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState},"backward");return n===t.getCurrentContent()?t:r.push(t,n,"remove-range")}}).call(this,n(11))},function(t,e,n){"use strict";var r=n(28),o=n(85),i=n(4);function a(t,e){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<t.length;a++){var s=t[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),o=Math.max(o,s.top),i=Math.max(i,s.bottom))}return o<=r&&o-n<e&&i-r<e}function s(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}}t.exports=function(t){t.collapsed||i(!1);var e=(t=t.cloneRange()).startContainer;1!==e.nodeType&&(e=e.parentNode);var n=function(t){var e=getComputedStyle(t),n=document.createElement("div");n.style.fontFamily=e.fontFamily,n.style.fontSize=e.fontSize,n.style.fontStyle=e.fontStyle,n.style.fontWeight=e.fontWeight,n.style.lineHeight=e.lineHeight,n.style.position="absolute",n.textContent="M";var r=document.body;r||i(!1),r.appendChild(n);var o=n.getBoundingClientRect();return r.removeChild(n),o.height}(e),c=t.endContainer,u=t.endOffset;for(t.setStart(t.startContainer,0);a(o(t),n)&&(c=t.startContainer,u=t.startOffset,c.parentNode||i(!1),t.setStartBefore(c),1!==c.nodeType||"inline"===getComputedStyle(c).display););for(var l=c,f=u-1;;){for(var p=l.nodeValue,d=f;d>=0;d--)if(!(null!=p&&d>0&&r.isSurrogatePair(p,d-1))){if(t.setStart(l,d),!a(o(t),n))break;c=l,u=d}if(-1===d||0===l.childNodes.length)break;f=s(l=l.childNodes[d])}return t.setStart(c,u),t}},function(t,e,n){"use strict";var r=n(87),o=n(5),i=n(63),a=n(36);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),n=e.getStartOffset();if(0===n)return i(t,1);var o=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(o).getText().slice(0,n),s=r.getBackward(a);return i(t,s.length||1)},"backward");return e===t.getCurrentContent()?t:o.push(t,e,"remove-range")}},function(t,e,n){"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},function(t,e,n){"use strict";var r=n(87),o=n(5),i=n(88),a=n(36);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),n=e.getStartOffset(),o=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(o).getText().slice(n),s=r.getForward(a);return i(t,s.length||1)},"forward");return e===t.getCurrentContent()?t:o.push(t,e,"remove-range")}},function(t,e,n){"use strict";var r=n(15),o=n(5);t.exports=function(t){var e=r.splitBlock(t.getCurrentContent(),t.getSelection());return o.push(t,e,"split-block")}},function(t,e,n){"use strict";var r=n(5);t.exports=function(t){var e=t.getSelection(),n=e.getEndKey(),o=t.getCurrentContent().getBlockForKey(n).getLength();return r.set(t,{selection:e.merge({anchorKey:n,anchorOffset:o,focusKey:n,focusOffset:o,isBackward:!1}),forceSelection:!0})}},function(t,e,n){"use strict";var r=n(5);t.exports=function(t){var e=t.getSelection(),n=e.getStartKey();return r.set(t,{selection:e.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}},function(t,e,n){"use strict";var r=n(5),o=n(28),i=n(63),a=n(36);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),a=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a-1];return i(t,s?o.getUTF16Length(s,0):1)},"backward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return r.push(t,e.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}},function(t,e,n){"use strict";var r=n(5),o=n(28),i=n(88),a=n(36);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),a=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a];return i(t,s?o.getUTF16Length(s,0):1)},"forward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return r.push(t,e.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}},function(t,e,n){"use strict";var r=n(15),o=n(5),i=n(40);t.exports=function(t){var e=t.getSelection();if(!e.isCollapsed())return t;var n=e.getAnchorOffset();if(0===n)return t;var a,s,c=e.getAnchorKey(),u=t.getCurrentContent(),l=u.getBlockForKey(c).getLength();if(l<=1)return t;n===l?(a=e.set("anchorOffset",n-1),s=e):s=(a=e.set("focusOffset",n+1)).set("anchorOffset",n+1);var f=i(u,a),p=r.removeRange(u,a,"backward"),d=p.getSelectionAfter(),h=d.getAnchorOffset()-1,g=d.merge({anchorOffset:h,focusOffset:h}),y=r.replaceWithFragment(p,g,f),v=o.push(t,y,"insert-fragment");return o.acceptSelection(v,s)}},function(t,e,n){"use strict";var r=n(5);t.exports=function(t,e,n){var o=r.undo(e);if("spellcheck-change"!==e.getLastChangeType())t.preventDefault(),e.getNativelyRenderedContent()?(n(r.set(e,{nativelyRenderedContent:null})),setTimeout(function(){n(o)},0)):n(o);else{var i=o.getCurrentContent();n(r.set(o,{nativelyRenderedContent:i}))}}},function(t,e,n){"use strict";var r=n(33),o=n(16),i=n(80),a=n(15),s=n(174),c=n(5),u=n(91),l=n(57),f=n(82),p=n(35),d=n(177);function h(t,e,n){var r=a.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return c.push(t,r.set("entityMap",n),"insert-fragment")}t.exports=function(t,e){e.preventDefault();var n=new i(e.clipboardData);if(!n.isRichText()){var g=n.getFiles(),y=n.getText();if(g.length>0){if(t.props.handlePastedFiles&&p(t.props.handlePastedFiles(g)))return;return void f(g,function(e){if(e=e||y){var n=t._latestEditorState,i=d(e),f=o.create({style:n.getCurrentInlineStyle(),entity:l(n.getCurrentContent(),n.getSelection())}),p=u.getCurrentBlockType(n),h=s.processText(i,f,p),g=r.createFromArray(h),v=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),g);t.update(c.push(n,v,"insert-fragment"))}})}}var v=[],m=n.getText(),b=n.getHTML(),_=t._latestEditorState;if(!t.props.handlePastedText||!p(t.props.handlePastedText(m,b,_))){if(m&&(v=d(m)),!t.props.stripPastedStyles){var w=t.getClipboard();if(n.isRichText()&&w){if(-1!==b.indexOf(t.getEditorKey())||1===v.length&&1===w.size&&w.first().getText()===m)return void t.update(h(t._latestEditorState,w))}else if(w&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(t,e){return t.length===e.size&&e.valueSeq().every(function(e,n){return e.getText()===t[n]})}(v,w))return void t.update(h(t._latestEditorState,w));if(b){var S=s.processHTML(b,t.props.blockRenderMap);if(S){var k=S.contentBlocks,x=S.entityMap;if(k){var E=r.createFromArray(k);return void t.update(h(t._latestEditorState,E,x))}}}t.setClipboard(null)}if(v.length){var O=o.create({style:_.getCurrentInlineStyle(),entity:l(_.getCurrentContent(),_.getSelection())}),C=u.getCurrentBlockType(_),T=s.processText(v,O,C),A=r.createFromArray(T);t.update(h(t._latestEditorState,A))}}}},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=(n(16),n(27)),i=n(20),a=n(24),s=n(3),c=n(89),u=n(23),l=n(90),f=n(53),p=s.List,d=s.Repeat,h=a.draft_tree_data_support,g=h?i:o,y={processHTML:function(t,e){return c(t,l,e)},processText:function(t,e,n){return t.reduce(function(t,o,i){o=f(o);var a=u(),s={key:a,type:n,text:o,characterList:p(d(e,o.length))};if(h&&0!==i){var c=i-1,l=t[c]=t[c].merge({nextSibling:a});s=r({},s,{prevSibling:l.getKey()})}return t.push(new g(s)),t},[])}};t.exports=y},function(t,e,n){"use strict";var r=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._uri=e}return t.prototype.toString=function(){return this._uri},t}();t.exports=r},function(t,e,n){"use strict";t.exports=function(t,e,n,r){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil(function(t,e){return e===o}).takeUntil(function(t,e){return e===i}).concat([[i,a.get(i)]]).map(function(t){var e=t.getDepth()+n;return e=Math.max(0,Math.min(e,r)),t.set("depth",e)});return a=a.merge(s),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}},function(t,e,n){"use strict";var r=/\r\n?|\n/g;t.exports=function(t){return t.split(r)}},function(t,e,n){"use strict";var r=n(5),o=n(30),i=n(179),a=n(4);t.exports=function(t){if(!t._blockSelectEvents&&t._latestEditorState===t.props.editorState){var e=t.props.editorState,n=o.findDOMNode(t.editorContainer);n||a(!1),n.firstChild instanceof HTMLElement||a(!1);var s=i(e,n.firstChild),c=s.selectionState;c!==e.getSelection()&&(e=s.needsRecovery?r.forceSelection(e,c):r.acceptSelection(e,c),t.update(e))}}},function(t,e,n){"use strict";(function(e){var r=n(86);t.exports=function(t,n){var o=e.getSelection();return 0===o.rangeCount?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(t,n,o.anchorNode,o.anchorOffset,o.focusNode,o.focusOffset)}}).call(this,n(11))},function(t,e,n){"use strict";var r=n(0),o=n(32),i=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.text!==t.text||this.props.editorState.getSelection().getHasFocus()!==t.editorState.getSelection().getHasFocus()},e.prototype.render=function(){var t=this.props.editorState.getSelection().getHasFocus(),e=o({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":t});return r.createElement("div",{className:e},r.createElement("div",{className:o("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},e}(r.Component);t.exports=i},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(27),i=n(20),a=n(93),s=n(182),c=n(183),u=n(4),l=function(t,e){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:c(t),entityRanges:s(t,e),data:t.getData().toObject()}},f=function(t,e){var n=e.entityMap,s=[],c={},f={},p=0;return t.getBlockMap().forEach(function(t){t.findEntityRanges(function(t){return null!==t.getEntity()},function(e){var r=t.getEntityAt(e),o=a.stringify(r);f[o]||(f[o]=r,n[o]=""+p,p++)}),function(t,e,n,a){if(t instanceof o)n.push(l(t,e));else{t instanceof i||u(!1);var s=t.getParentKey(),c=a[t.getKey()]=r({},l(t,e),{children:[]});s?a[s].children.push(c):n.push(c)}}(t,n,s,c)}),{blocks:s,entityMap:n}};t.exports=function(t){var e={entityMap:{},blocks:[]};return e=function(t,e){var n=e.blocks,r=e.entityMap,o={};return Object.keys(r).forEach(function(e,n){var r=t.getEntity(a.unstringify(e));o[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}}),{blocks:n,entityMap:o}}(t,e=f(t,e))}},function(t,e,n){"use strict";var r=n(93),o=n(28).strlen;t.exports=function(t,e){var n=[];return t.findEntityRanges(function(t){return!!t.getEntity()},function(i,a){var s=t.getText(),c=t.getEntityAt(i);n.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(e[r.stringify(c)])})}),n}},function(t,e,n){"use strict";var r=n(28),o=n(34),i=function(t,e){return t===e},a=function(t){return!!t},s=[];t.exports=function(t){var e=t.getCharacterList().map(function(t){return t.getStyle()}).toList(),n=e.flatten().toSet().map(function(n){return function(t,e,n){var s=[],c=e.map(function(t){return t.has(n)}).toList();return o(c,i,a,function(e,o){var i=t.getText();s.push({offset:r.strlen(i.slice(0,e)),length:r.strlen(i.slice(e,o)),style:n})}),s}(t,e,n)});return Array.prototype.concat.apply(s,n.toJS())}},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(27),i=n(20),a=n(52),s=n(41),c=n(24),u=n(185),l=n(3),f=n(31),p=n(186),d=n(187),h=n(188),g=n(23),y=n(4),v=c.draft_tree_data_support,m=l.List,b=l.Map,_=l.OrderedMap,w=function(t,e){var n=t.key,r=t.type,o=t.data;return{text:t.text,depth:t.depth||0,type:r||"unstyled",key:n||g(),data:b(o),characterList:S(t,e)}},S=function(t,e){var n=t.text,o=t.entityRanges,i=t.inlineStyleRanges,a=o||[];return p(h(n,i||[]),d(n,a.filter(function(t){return e.hasOwnProperty(t.key)}).map(function(t){return r({},t,{key:e[t.key]})})))},k=function(t){return r({},t,{key:t.key||g()})},x=function(t,e,n){var o=e.map(function(t){return r({},t,{parentRef:n})});return t.concat(o.reverse())},E=function(t,e){var n=Array.isArray(t.blocks[0].children),a=v&&!n?u.fromRawStateToRawTreeState(t).blocks:t.blocks;return v?function(t,e){return t.map(k).reduce(function(n,o,a){Array.isArray(o.children)||y(!1);var s=o.children.map(k),c=new i(r({},w(o,e),{prevSibling:0===a?null:t[a-1].key,nextSibling:a===t.length-1?null:t[a+1].key,children:m(s.map(function(t){return t.key}))}));n=n.set(c.getKey(),c);for(var u=x([],s,c);u.length>0;){var l=u.pop(),f=l.parentRef,p=f.getChildKeys(),d=p.indexOf(l.key),h=Array.isArray(l.children);if(!h){h||y(!1);break}var g=l.children.map(k),v=new i(r({},w(l,e),{parent:f.getKey(),children:m(g.map(function(t){return t.key})),prevSibling:0===d?null:p.get(d-1),nextSibling:d===p.size-1?null:p.get(d+1)}));n=n.set(v.getKey(),v),u=x(u,g,v)}return n},_())}(a,e):function(t,e){return _(t.map(function(t){var n=new o(w(t,e));return[n.getKey(),n]}))}(n?u.fromRawTreeStateToRawState(t).blocks:a,e)};t.exports=function(t){Array.isArray(t.blocks)||y(!1);var e=function(t){var e=t.entityMap,n={};return Object.keys(e).forEach(function(t){var r=e[t],o=r.type,i=r.mutability,a=r.data;n[t]=s.__create(o,i,a||{})}),n}(t),n=E(t,e),r=n.isEmpty()?new f:f.createEmpty(n.first().getKey());return new a({blockMap:n,entityMap:e,selectionBefore:r,selectionAfter:r})}},function(t,e,n){"use strict";var r=n(19)||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(4),i=function(t){if(!t||!t.type)return!1;var e=t.type;return"unordered-list-item"===e||"ordered-list-item"===e},a={fromRawTreeStateToRawState:function(t){var e=t.blocks,n=[];return Array.isArray(e)||o(!1),Array.isArray(e)&&e.length?(function(t,e){for(var n=[].concat(t).reverse();n.length;){var r=n.pop();e(r);var i=r.children;Array.isArray(i)||o(!1),n=n.concat([].concat(i.reverse()))}}(e,function(t){var e=r({},t);i(t)&&(e.depth=e.depth||0,function(t){Array.isArray(t.children)&&(t.children=t.children.map(function(e){return e.type===t.type?r({},e,{depth:(t.depth||0)+1}):e}))}(t)),delete e.children,n.push(e)}),t.blocks=n,r({},t,{blocks:n})):t},fromRawStateToRawTreeState:function(t){var e={},n=[];return t.blocks.forEach(function(t){var a=i(t),s=t.depth||0,c=r({},t,{children:[]});if(!a)return e={},void n.push(c);if(e[s]=c,s>0){var u=e[s-1];return u||o(!1),void u.children.push(c)}n.push(c)}),r({},t,{blocks:n})}};t.exports=a},function(t,e,n){"use strict";var r=n(16),o=n(3).List;t.exports=function(t,e){var n=t.map(function(t,n){var o=e[n];return r.create({style:t,entity:o})});return o(n)}},function(t,e,n){"use strict";var r=n(28).substr;t.exports=function(t,e){var n=Array(t.length).fill(null);return e&&e.forEach(function(e){for(var o=r(t,0,e.offset).length,i=o+r(t,e.offset,e.length).length,a=o;a<i;a++)n[a]=e.key}),n}},function(t,e,n){"use strict";var r=n(3).OrderedSet,o=n(28).substr,i=r();t.exports=function(t,e){var n=Array(t.length).fill(i);return e&&e.forEach(function(e){for(var r=o(t,0,e.offset).length,i=r+o(t,e.offset,e.length).length;r<i;)n[r]=n[r].add(e.style),r++}),n}},function(t,e,n){"use strict";var r=n(190);t.exports=function(t){var e=t.getSelection();if(!e.rangeCount)return null;var n=e.getRangeAt(0),o=r(n),i=o.top,a=o.right,s=o.bottom,c=o.left;return 0===i&&0===a&&0===s&&0===c?null:o}},function(t,e,n){"use strict";var r=n(85);t.exports=function(t){var e=r(t),n=0,o=0,i=0,a=0;if(e.length){if(e.length>1&&0===e[0].width){var s=e[1];n=s.top,o=s.right,i=s.bottom,a=s.left}else{var c=e[0];n=c.top,o=c.right,i=c.bottom,a=c.left}for(var u=1;u<e.length;u++){var l=e[u];0!==l.height&&0!==l.width&&(n=Math.min(n,l.top),o=Math.max(o,l.right),i=Math.max(i,l.bottom),a=Math.min(a,l.left))}}return{top:n,right:o,bottom:i,left:a,width:o-a,height:i-n}}},function(t,e,n){(e=t.exports=n(13)(!1)).i(n(2),""),e.push([t.i,"/* Desktop size */\n@media (min-width: 768px) {\n\n ._1z93WMKhmx9r9e9ig0ORDx {\n display: grid;\n grid-template-columns: 2fr 1fr;\n }\n\n ._2dj7lLhKodhCIwOY7vYre_ {\n margin-bottom: 1em;\n overflow: hidden;\n display: grid;\n grid-template-columns: [col-speaker] minmax(200px, 18%) [col-text] minmax(\n 50%,\n 81%\n );\n grid-column-gap: 1%;\n justify-content: center;\n align-content: center;\n }\n\n ._220-uL8BKPBdx715-H9VvM {\n color: "+n(2).locals["color-mid-grey"]+";\n font-weight: bold;\n text-transform: uppercase;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n justify-self: start;\n max-width: 100px;\n text-align: left;\n }\n\n ._3QPtbUi5LjfOSFZE2FUVpO {\n font-size: 1em;\n float: right;\n clear: right;\n }\n}\n\n/* Mobile devices */\n@media (max-width: 768px) {\n\n ._1z93WMKhmx9r9e9ig0ORDx {\n width: 100%;\n font-size: 0.8em;\n line-height: 1.2em;\n margin-bottom: 0.5em;\n }\n\n ._2dj7lLhKodhCIwOY7vYre_ {\n width: 100%;\n margin-bottom: 1em;\n line-height: 1.2em;\n overflow: hidden;\n }\n\n ._220-uL8BKPBdx715-H9VvM {\n padding-right: 2em;\n vertical-align: middle;\n color: "+n(2).locals["color-mid-grey"]+";\n font-weight: bold;\n text-transform: uppercase;\n text-align: right;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-align: left;\n }\n\n ._3QPtbUi5LjfOSFZE2FUVpO {\n width: 100%;\n font-size: 1em;\n float: left;\n\n /* clear: right; */\n }\n}\n\n._3ilX_gAaqiNrGprh5xN6cW {\n font-weight: lighter;\n cursor: pointer;\n justify-self: start;\n}\n\n._3ilX_gAaqiNrGprh5xN6cW:hover {\n text-decoration: underline;\n\n /* color: blue; */\n}\n\n._220-uL8BKPBdx715-H9VvM {\n cursor: pointer;\n}\n\n._35Ozy_qre-nCukN05RvZP1 {\n margin-right: 0.5em;\n}\n",""]),e.locals={"color-labs-red":""+n(2).locals["color-labs-red"],"color-light-grey":""+n(2).locals["color-light-grey"],"color-mid-grey":""+n(2).locals["color-mid-grey"],"color-dark-grey":""+n(2).locals["color-dark-grey"],markers:"_1z93WMKhmx9r9e9ig0ORDx",WrapperBlock:"_2dj7lLhKodhCIwOY7vYre_",speaker:"_220-uL8BKPBdx715-H9VvM",text:"_3QPtbUi5LjfOSFZE2FUVpO",time:"_3ilX_gAaqiNrGprh5xN6cW",EditLabel:"_35Ozy_qre-nCukN05RvZP1"}},function(t,e,n){(e=t.exports=n(13)(!1)).i(n(2),""),e.push([t.i,"._3PjWW14H5jv-J1Gj9a4qOz {\n background: #f9f9f9;\n}\n\n/*\nGiving the editor a oveflow\nhttps://github.com/facebook/draft-js/issues/528\n*/\n\n._33b8lH3CQYlYUnfqLJ7uHy .public-DraftEditor-content {\n max-height: 75vh;\n overflow: auto;\n padding: 8px 16px;\n background-color: white;\n}\n\n/* Mobile devices */\n@media (max-width: 768px) {\n\n ._33b8lH3CQYlYUnfqLJ7uHy .public-DraftEditor-content {\n margin: 0 auto;\n }\n}\n",""]),e.locals={"color-subt-green":""+n(2).locals["color-subt-green"],"color-darkest-grey":""+n(2).locals["color-darkest-grey"],"color-labs-red":""+n(2).locals["color-labs-red"],"DraftEditor-root":"_3PjWW14H5jv-J1Gj9a4qOz",editor:"_33b8lH3CQYlYUnfqLJ7uHy"}},function(t,e,n){var r;!function(o,i,a){for(var s,c={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},u={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},l={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},f={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p=1;p<20;++p)c[111+p]="f"+p;for(p=0;p<=9;++p)c[p+96]=p;function d(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)}function h(t){if("keypress"==t.type){var e=String.fromCharCode(t.which);return t.shiftKey||(e=e.toLowerCase()),e}return c[t.which]?c[t.which]:u[t.which]?u[t.which]:String.fromCharCode(t.which).toLowerCase()}function g(t){return"shift"==t||"ctrl"==t||"alt"==t||"meta"==t}function y(t,e,n){return n||(n=function(){if(!s)for(var t in s={},c)t>95&&t<112||c.hasOwnProperty(t)&&(s[c[t]]=t);return s}()[t]?"keydown":"keypress"),"keypress"==n&&e.length&&(n="keydown"),n}function v(t,e){var n,r,o,i=[];for(n=function(t){return"+"===t?["+"]:(t=t.replace(/\+{2}/g,"+plus")).split("+")}(t),o=0;o<n.length;++o)r=n[o],f[r]&&(r=f[r]),e&&"keypress"!=e&&l[r]&&(r=l[r],i.push("shift")),g(r)&&i.push(r);return{key:r,modifiers:i,action:e=y(r,i,e)}}function m(t){var e=this;if(t=t||i,!(e instanceof m))return new m(t);e.target=t,e._callbacks={},e._directMap={};var n,r={},o=!1,a=!1,s=!1;function c(t){t=t||{};var e,n=!1;for(e in r)t[e]?n=!0:r[e]=0;n||(s=!1)}function u(t,n,o,i,a,s){var c,u,l,f,p=[],d=o.type;if(!e._callbacks[t])return[];for("keyup"==d&&g(t)&&(n=[t]),c=0;c<e._callbacks[t].length;++c)if(u=e._callbacks[t][c],(i||!u.seq||r[u.seq]==u.level)&&d==u.action&&("keypress"==d&&!o.metaKey&&!o.ctrlKey||(l=n,f=u.modifiers,l.sort().join(",")===f.sort().join(",")))){var h=!i&&u.combo==a,y=i&&u.seq==i&&u.level==s;(h||y)&&e._callbacks[t].splice(c,1),p.push(u)}return p}function l(t,n,r,o){e.stopCallback(n,n.target||n.srcElement,r,o)||!1===t(n,r)&&(function(t){t.preventDefault?t.preventDefault():t.returnValue=!1}(n),function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}(n))}function f(t){"number"!=typeof t.which&&(t.which=t.keyCode);var n=h(t);n&&("keyup"!=t.type||o!==n?e.handleKey(n,function(t){var e=[];return t.shiftKey&&e.push("shift"),t.altKey&&e.push("alt"),t.ctrlKey&&e.push("ctrl"),t.metaKey&&e.push("meta"),e}(t),t):o=!1)}function p(t,e,i,a){function u(e){return function(){s=e,++r[t],clearTimeout(n),n=setTimeout(c,1e3)}}function f(e){l(i,e,t),"keyup"!==a&&(o=h(e)),setTimeout(c,10)}r[t]=0;for(var p=0;p<e.length;++p){var d=p+1===e.length?f:u(a||v(e[p+1]).action);y(e[p],d,a,t,p)}}function y(t,n,r,o,i){e._directMap[t+":"+r]=n;var a,s=(t=t.replace(/\s+/g," ")).split(" ");s.length>1?p(t,s,n,r):(a=v(t,r),e._callbacks[a.key]=e._callbacks[a.key]||[],u(a.key,a.modifiers,{type:a.action},o,t,i),e._callbacks[a.key][o?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:o,level:i,combo:t}))}e._handleKey=function(t,e,n){var r,o=u(t,e,n),i={},f=0,p=!1;for(r=0;r<o.length;++r)o[r].seq&&(f=Math.max(f,o[r].level));for(r=0;r<o.length;++r)if(o[r].seq){if(o[r].level!=f)continue;p=!0,i[o[r].seq]=1,l(o[r].callback,n,o[r].combo,o[r].seq)}else p||l(o[r].callback,n,o[r].combo);var d="keypress"==n.type&&a;n.type!=s||g(t)||d||c(i),a=p&&"keydown"==n.type},e._bindMultiple=function(t,e,n){for(var r=0;r<t.length;++r)y(t[r],e,n)},d(t,"keypress",f),d(t,"keydown",f),d(t,"keyup",f)}m.prototype.bind=function(t,e,n){return t=t instanceof Array?t:[t],this._bindMultiple.call(this,t,e,n),this},m.prototype.unbind=function(t,e){return this.bind.call(this,t,function(){},e)},m.prototype.trigger=function(t,e){return this._directMap[t+":"+e]&&this._directMap[t+":"+e]({},t),this},m.prototype.reset=function(){return this._callbacks={},this._directMap={},this},m.prototype.stopCallback=function(t,e){return!((" "+e.className+" ").indexOf(" mousetrap ")>-1)&&(!function t(e,n){return e!==i&&(e===n||t(e.parentNode,n))}(e,this.target)&&("INPUT"==e.tagName||"SELECT"==e.tagName||"TEXTAREA"==e.tagName||e.isContentEditable))},m.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)},m.init=function(){var t=m(i);for(var e in t)"_"!==e.charAt(0)&&(m[e]=function(e){return function(){return t[e].apply(t,arguments)}}(e))},m.init(),o.Mousetrap=m,t.exports&&(t.exports=m),void 0===(r=function(){return m}.call(e,n,e,t))||(t.exports=r)}(window,document)},function(t,e,n){(function(t,r){var o;
24/**
25 * @license
26 * Lodash <https://lodash.com/>
27 * Copyright JS Foundation and other contributors <https://js.foundation/>
28 * Released under MIT license <https://lodash.com/license>
29 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
30 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
31 */(function(){var i,a=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",u="__lodash_hash_undefined__",l=500,f="__lodash_placeholder__",p=1,d=2,h=4,g=1,y=2,v=1,m=2,b=4,_=8,w=16,S=32,k=64,x=128,E=256,O=512,C=30,T="...",A=800,I=16,M=1,j=2,D=1/0,P=9007199254740991,R=1.7976931348623157e308,N=NaN,L=4294967295,B=L-1,z=L>>>1,K=[["ary",x],["bind",v],["bindKey",m],["curry",_],["curryRight",w],["flip",O],["partial",S],["partialRight",k],["rearg",E]],F="[object Arguments]",U="[object Array]",W="[object AsyncFunction]",V="[object Boolean]",H="[object Date]",q="[object DOMException]",X="[object Error]",J="[object Function]",G="[object GeneratorFunction]",Y="[object Map]",$="[object Number]",Z="[object Null]",Q="[object Object]",tt="[object Proxy]",et="[object RegExp]",nt="[object Set]",rt="[object String]",ot="[object Symbol]",it="[object Undefined]",at="[object WeakMap]",st="[object WeakSet]",ct="[object ArrayBuffer]",ut="[object DataView]",lt="[object Float32Array]",ft="[object Float64Array]",pt="[object Int8Array]",dt="[object Int16Array]",ht="[object Int32Array]",gt="[object Uint8Array]",yt="[object Uint8ClampedArray]",vt="[object Uint16Array]",mt="[object Uint32Array]",bt=/\b__p \+= '';/g,_t=/\b(__p \+=) '' \+/g,wt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,St=/&(?:amp|lt|gt|quot|#39);/g,kt=/[&<>"']/g,xt=RegExp(St.source),Et=RegExp(kt.source),Ot=/<%-([\s\S]+?)%>/g,Ct=/<%([\s\S]+?)%>/g,Tt=/<%=([\s\S]+?)%>/g,At=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,It=/^\w*$/,Mt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,jt=/[\\^$.*+?()[\]{}|]/g,Dt=RegExp(jt.source),Pt=/^\s+|\s+$/g,Rt=/^\s+/,Nt=/\s+$/,Lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bt=/\{\n\/\* \[wrapped with (.+)\] \*/,zt=/,? & /,Kt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ft=/\\(\\)?/g,Ut=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wt=/\w*$/,Vt=/^[-+]0x[0-9a-f]+$/i,Ht=/^0b[01]+$/i,qt=/^\[object .+?Constructor\]$/,Xt=/^0o[0-7]+$/i,Jt=/^(?:0|[1-9]\d*)$/,Gt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Yt=/($^)/,$t=/['\n\r\u2028\u2029\\]/g,Zt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Qt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",te="[\\ud800-\\udfff]",ee="["+Qt+"]",ne="["+Zt+"]",re="\\d+",oe="[\\u2700-\\u27bf]",ie="[a-z\\xdf-\\xf6\\xf8-\\xff]",ae="[^\\ud800-\\udfff"+Qt+re+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",se="\\ud83c[\\udffb-\\udfff]",ce="[^\\ud800-\\udfff]",ue="(?:\\ud83c[\\udde6-\\uddff]){2}",le="[\\ud800-\\udbff][\\udc00-\\udfff]",fe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",pe="(?:"+ie+"|"+ae+")",de="(?:"+fe+"|"+ae+")",he="(?:"+ne+"|"+se+")"+"?",ge="[\\ufe0e\\ufe0f]?"+he+("(?:\\u200d(?:"+[ce,ue,le].join("|")+")[\\ufe0e\\ufe0f]?"+he+")*"),ye="(?:"+[oe,ue,le].join("|")+")"+ge,ve="(?:"+[ce+ne+"?",ne,ue,le,te].join("|")+")",me=RegExp("['’]","g"),be=RegExp(ne,"g"),_e=RegExp(se+"(?="+se+")|"+ve+ge,"g"),we=RegExp([fe+"?"+ie+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ee,fe,"$"].join("|")+")",de+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ee,fe+pe,"$"].join("|")+")",fe+"?"+pe+"+(?:['’](?:d|ll|m|re|s|t|ve))?",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",re,ye].join("|"),"g"),Se=RegExp("[\\u200d\\ud800-\\udfff"+Zt+"\\ufe0e\\ufe0f]"),ke=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,xe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ee=-1,Oe={};Oe[lt]=Oe[ft]=Oe[pt]=Oe[dt]=Oe[ht]=Oe[gt]=Oe[yt]=Oe[vt]=Oe[mt]=!0,Oe[F]=Oe[U]=Oe[ct]=Oe[V]=Oe[ut]=Oe[H]=Oe[X]=Oe[J]=Oe[Y]=Oe[$]=Oe[Q]=Oe[et]=Oe[nt]=Oe[rt]=Oe[at]=!1;var Ce={};Ce[F]=Ce[U]=Ce[ct]=Ce[ut]=Ce[V]=Ce[H]=Ce[lt]=Ce[ft]=Ce[pt]=Ce[dt]=Ce[ht]=Ce[Y]=Ce[$]=Ce[Q]=Ce[et]=Ce[nt]=Ce[rt]=Ce[ot]=Ce[gt]=Ce[yt]=Ce[vt]=Ce[mt]=!0,Ce[X]=Ce[J]=Ce[at]=!1;var Te={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ae=parseFloat,Ie=parseInt,Me="object"==typeof t&&t&&t.Object===Object&&t,je="object"==typeof self&&self&&self.Object===Object&&self,De=Me||je||Function("return this")(),Pe=e&&!e.nodeType&&e,Re=Pe&&"object"==typeof r&&r&&!r.nodeType&&r,Ne=Re&&Re.exports===Pe,Le=Ne&&Me.process,Be=function(){try{var t=Re&&Re.require&&Re.require("util").types;return t||Le&&Le.binding&&Le.binding("util")}catch(t){}}(),ze=Be&&Be.isArrayBuffer,Ke=Be&&Be.isDate,Fe=Be&&Be.isMap,Ue=Be&&Be.isRegExp,We=Be&&Be.isSet,Ve=Be&&Be.isTypedArray;function He(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function qe(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];e(r,a,n(a),t)}return r}function Xe(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Je(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ge(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Ye(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}function $e(t,e){return!!(null==t?0:t.length)&&cn(t,e,0)>-1}function Ze(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}function Qe(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function tn(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function en(t,e,n,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function nn(t,e,n,r){var o=null==t?0:t.length;for(r&&o&&(n=t[--o]);o--;)n=e(n,t[o],o,t);return n}function rn(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var on=pn("length");function an(t,e,n){var r;return n(t,function(t,n,o){if(e(t,n,o))return r=n,!1}),r}function sn(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}function cn(t,e,n){return e==e?function(t,e,n){var r=n-1,o=t.length;for(;++r<o;)if(t[r]===e)return r;return-1}(t,e,n):sn(t,ln,n)}function un(t,e,n,r){for(var o=n-1,i=t.length;++o<i;)if(r(t[o],e))return o;return-1}function ln(t){return t!=t}function fn(t,e){var n=null==t?0:t.length;return n?gn(t,e)/n:N}function pn(t){return function(e){return null==e?i:e[t]}}function dn(t){return function(e){return null==t?i:t[e]}}function hn(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function gn(t,e){for(var n,r=-1,o=t.length;++r<o;){var a=e(t[r]);a!==i&&(n=n===i?a:n+a)}return n}function yn(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function vn(t){return function(e){return t(e)}}function mn(t,e){return Qe(e,function(e){return t[e]})}function bn(t,e){return t.has(e)}function _n(t,e){for(var n=-1,r=t.length;++n<r&&cn(e,t[n],0)>-1;);return n}function wn(t,e){for(var n=t.length;n--&&cn(e,t[n],0)>-1;);return n}var Sn=dn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),kn=dn({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function xn(t){return"\\"+Te[t]}function En(t){return Se.test(t)}function On(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function Cn(t,e){return function(n){return t(e(n))}}function Tn(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var a=t[n];a!==e&&a!==f||(t[n]=f,i[o++]=n)}return i}function An(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function In(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Mn(t){return En(t)?function(t){var e=_e.lastIndex=0;for(;_e.test(t);)++e;return e}(t):on(t)}function jn(t){return En(t)?function(t){return t.match(_e)||[]}(t):function(t){return t.split("")}(t)}var Dn=dn({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Pn=function t(e){var n,r=(e=null==e?De:Pn.defaults(De.Object(),e,Pn.pick(De,xe))).Array,o=e.Date,Zt=e.Error,Qt=e.Function,te=e.Math,ee=e.Object,ne=e.RegExp,re=e.String,oe=e.TypeError,ie=r.prototype,ae=Qt.prototype,se=ee.prototype,ce=e["__core-js_shared__"],ue=ae.toString,le=se.hasOwnProperty,fe=0,pe=(n=/[^.]+$/.exec(ce&&ce.keys&&ce.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",de=se.toString,he=ue.call(ee),ge=De._,ye=ne("^"+ue.call(le).replace(jt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ve=Ne?e.Buffer:i,_e=e.Symbol,Se=e.Uint8Array,Te=ve?ve.allocUnsafe:i,Me=Cn(ee.getPrototypeOf,ee),je=ee.create,Pe=se.propertyIsEnumerable,Re=ie.splice,Le=_e?_e.isConcatSpreadable:i,Be=_e?_e.iterator:i,on=_e?_e.toStringTag:i,dn=function(){try{var t=zi(ee,"defineProperty");return t({},"",{}),t}catch(t){}}(),Rn=e.clearTimeout!==De.clearTimeout&&e.clearTimeout,Nn=o&&o.now!==De.Date.now&&o.now,Ln=e.setTimeout!==De.setTimeout&&e.setTimeout,Bn=te.ceil,zn=te.floor,Kn=ee.getOwnPropertySymbols,Fn=ve?ve.isBuffer:i,Un=e.isFinite,Wn=ie.join,Vn=Cn(ee.keys,ee),Hn=te.max,qn=te.min,Xn=o.now,Jn=e.parseInt,Gn=te.random,Yn=ie.reverse,$n=zi(e,"DataView"),Zn=zi(e,"Map"),Qn=zi(e,"Promise"),tr=zi(e,"Set"),er=zi(e,"WeakMap"),nr=zi(ee,"create"),rr=er&&new er,or={},ir=fa($n),ar=fa(Zn),sr=fa(Qn),cr=fa(tr),ur=fa(er),lr=_e?_e.prototype:i,fr=lr?lr.valueOf:i,pr=lr?lr.toString:i;function dr(t){if(Ts(t)&&!vs(t)&&!(t instanceof vr)){if(t instanceof yr)return t;if(le.call(t,"__wrapped__"))return pa(t)}return new yr(t)}var hr=function(){function t(){}return function(e){if(!Cs(e))return{};if(je)return je(e);t.prototype=e;var n=new t;return t.prototype=i,n}}();function gr(){}function yr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=i}function vr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=L,this.__views__=[]}function mr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function br(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function _r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function wr(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new _r;++e<n;)this.add(t[e])}function Sr(t){var e=this.__data__=new br(t);this.size=e.size}function kr(t,e){var n=vs(t),r=!n&&ys(t),o=!n&&!r&&ws(t),i=!n&&!r&&!o&&Ns(t),a=n||r||o||i,s=a?yn(t.length,re):[],c=s.length;for(var u in t)!e&&!le.call(t,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||qi(u,c))||s.push(u);return s}function xr(t){var e=t.length;return e?t[So(0,e-1)]:i}function Er(t,e){return ca(ri(t),Pr(e,0,t.length))}function Or(t){return ca(ri(t))}function Cr(t,e,n){(n===i||ds(t[e],n))&&(n!==i||e in t)||jr(t,e,n)}function Tr(t,e,n){var r=t[e];le.call(t,e)&&ds(r,n)&&(n!==i||e in t)||jr(t,e,n)}function Ar(t,e){for(var n=t.length;n--;)if(ds(t[n][0],e))return n;return-1}function Ir(t,e,n,r){return zr(t,function(t,o,i){e(r,t,n(t),i)}),r}function Mr(t,e){return t&&oi(e,oc(e),t)}function jr(t,e,n){"__proto__"==e&&dn?dn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Dr(t,e){for(var n=-1,o=e.length,a=r(o),s=null==t;++n<o;)a[n]=s?i:Qs(t,e[n]);return a}function Pr(t,e,n){return t==t&&(n!==i&&(t=t<=n?t:n),e!==i&&(t=t>=e?t:e)),t}function Rr(t,e,n,r,o,a){var s,c=e&p,u=e&d,l=e&h;if(n&&(s=o?n(t,r,o,a):n(t)),s!==i)return s;if(!Cs(t))return t;var f=vs(t);if(f){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&le.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!c)return ri(t,s)}else{var g=Ui(t),y=g==J||g==G;if(ws(t))return $o(t,c);if(g==Q||g==F||y&&!o){if(s=u||y?{}:Vi(t),!c)return u?function(t,e){return oi(t,Fi(t),e)}(t,function(t,e){return t&&oi(e,ic(e),t)}(s,t)):function(t,e){return oi(t,Ki(t),e)}(t,Mr(s,t))}else{if(!Ce[g])return o?t:{};s=function(t,e,n){var r,o,i,a=t.constructor;switch(e){case ct:return Zo(t);case V:case H:return new a(+t);case ut:return function(t,e){var n=e?Zo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case lt:case ft:case pt:case dt:case ht:case gt:case yt:case vt:case mt:return Qo(t,n);case Y:return new a;case $:case rt:return new a(t);case et:return(i=new(o=t).constructor(o.source,Wt.exec(o))).lastIndex=o.lastIndex,i;case nt:return new a;case ot:return r=t,fr?ee(fr.call(r)):{}}}(t,g,c)}}a||(a=new Sr);var v=a.get(t);if(v)return v;if(a.set(t,s),Ds(t))return t.forEach(function(r){s.add(Rr(r,e,n,r,t,a))}),s;if(As(t))return t.forEach(function(r,o){s.set(o,Rr(r,e,n,o,t,a))}),s;var m=f?i:(l?u?ji:Mi:u?ic:oc)(t);return Xe(m||t,function(r,o){m&&(r=t[o=r]),Tr(s,o,Rr(r,e,n,o,t,a))}),s}function Nr(t,e,n){var r=n.length;if(null==t)return!r;for(t=ee(t);r--;){var o=n[r],a=e[o],s=t[o];if(s===i&&!(o in t)||!a(s))return!1}return!0}function Lr(t,e,n){if("function"!=typeof t)throw new oe(c);return oa(function(){t.apply(i,n)},e)}function Br(t,e,n,r){var o=-1,i=$e,s=!0,c=t.length,u=[],l=e.length;if(!c)return u;n&&(e=Qe(e,vn(n))),r?(i=Ze,s=!1):e.length>=a&&(i=bn,s=!1,e=new wr(e));t:for(;++o<c;){var f=t[o],p=null==n?f:n(f);if(f=r||0!==f?f:0,s&&p==p){for(var d=l;d--;)if(e[d]===p)continue t;u.push(f)}else i(e,p,r)||u.push(f)}return u}dr.templateSettings={escape:Ot,evaluate:Ct,interpolate:Tt,variable:"",imports:{_:dr}},dr.prototype=gr.prototype,dr.prototype.constructor=dr,yr.prototype=hr(gr.prototype),yr.prototype.constructor=yr,vr.prototype=hr(gr.prototype),vr.prototype.constructor=vr,mr.prototype.clear=function(){this.__data__=nr?nr(null):{},this.size=0},mr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},mr.prototype.get=function(t){var e=this.__data__;if(nr){var n=e[t];return n===u?i:n}return le.call(e,t)?e[t]:i},mr.prototype.has=function(t){var e=this.__data__;return nr?e[t]!==i:le.call(e,t)},mr.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=nr&&e===i?u:e,this},br.prototype.clear=function(){this.__data__=[],this.size=0},br.prototype.delete=function(t){var e=this.__data__,n=Ar(e,t);return!(n<0||(n==e.length-1?e.pop():Re.call(e,n,1),--this.size,0))},br.prototype.get=function(t){var e=this.__data__,n=Ar(e,t);return n<0?i:e[n][1]},br.prototype.has=function(t){return Ar(this.__data__,t)>-1},br.prototype.set=function(t,e){var n=this.__data__,r=Ar(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},_r.prototype.clear=function(){this.size=0,this.__data__={hash:new mr,map:new(Zn||br),string:new mr}},_r.prototype.delete=function(t){var e=Li(this,t).delete(t);return this.size-=e?1:0,e},_r.prototype.get=function(t){return Li(this,t).get(t)},_r.prototype.has=function(t){return Li(this,t).has(t)},_r.prototype.set=function(t,e){var n=Li(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},wr.prototype.add=wr.prototype.push=function(t){return this.__data__.set(t,u),this},wr.prototype.has=function(t){return this.__data__.has(t)},Sr.prototype.clear=function(){this.__data__=new br,this.size=0},Sr.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Sr.prototype.get=function(t){return this.__data__.get(t)},Sr.prototype.has=function(t){return this.__data__.has(t)},Sr.prototype.set=function(t,e){var n=this.__data__;if(n instanceof br){var r=n.__data__;if(!Zn||r.length<a-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new _r(r)}return n.set(t,e),this.size=n.size,this};var zr=si(Xr),Kr=si(Jr,!0);function Fr(t,e){var n=!0;return zr(t,function(t,r,o){return n=!!e(t,r,o)}),n}function Ur(t,e,n){for(var r=-1,o=t.length;++r<o;){var a=t[r],s=e(a);if(null!=s&&(c===i?s==s&&!Rs(s):n(s,c)))var c=s,u=a}return u}function Wr(t,e){var n=[];return zr(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}function Vr(t,e,n,r,o){var i=-1,a=t.length;for(n||(n=Hi),o||(o=[]);++i<a;){var s=t[i];e>0&&n(s)?e>1?Vr(s,e-1,n,r,o):tn(o,s):r||(o[o.length]=s)}return o}var Hr=ci(),qr=ci(!0);function Xr(t,e){return t&&Hr(t,e,oc)}function Jr(t,e){return t&&qr(t,e,oc)}function Gr(t,e){return Ye(e,function(e){return xs(t[e])})}function Yr(t,e){for(var n=0,r=(e=Xo(e,t)).length;null!=t&&n<r;)t=t[la(e[n++])];return n&&n==r?t:i}function $r(t,e,n){var r=e(t);return vs(t)?r:tn(r,n(t))}function Zr(t){return null==t?t===i?it:Z:on&&on in ee(t)?function(t){var e=le.call(t,on),n=t[on];try{t[on]=i;var r=!0}catch(t){}var o=de.call(t);return r&&(e?t[on]=n:delete t[on]),o}(t):function(t){return de.call(t)}(t)}function Qr(t,e){return t>e}function to(t,e){return null!=t&&le.call(t,e)}function eo(t,e){return null!=t&&e in ee(t)}function no(t,e,n){for(var o=n?Ze:$e,a=t[0].length,s=t.length,c=s,u=r(s),l=1/0,f=[];c--;){var p=t[c];c&&e&&(p=Qe(p,vn(e))),l=qn(p.length,l),u[c]=!n&&(e||a>=120&&p.length>=120)?new wr(c&&p):i}p=t[0];var d=-1,h=u[0];t:for(;++d<a&&f.length<l;){var g=p[d],y=e?e(g):g;if(g=n||0!==g?g:0,!(h?bn(h,y):o(f,y,n))){for(c=s;--c;){var v=u[c];if(!(v?bn(v,y):o(t[c],y,n)))continue t}h&&h.push(y),f.push(g)}}return f}function ro(t,e,n){var r=null==(t=ea(t,e=Xo(e,t)))?t:t[la(ka(e))];return null==r?i:He(r,t,n)}function oo(t){return Ts(t)&&Zr(t)==F}function io(t,e,n,r,o){return t===e||(null==t||null==e||!Ts(t)&&!Ts(e)?t!=t&&e!=e:function(t,e,n,r,o,a){var s=vs(t),c=vs(e),u=s?U:Ui(t),l=c?U:Ui(e),f=(u=u==F?Q:u)==Q,p=(l=l==F?Q:l)==Q,d=u==l;if(d&&ws(t)){if(!ws(e))return!1;s=!0,f=!1}if(d&&!f)return a||(a=new Sr),s||Ns(t)?Ai(t,e,n,r,o,a):function(t,e,n,r,o,i,a){switch(n){case ut:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ct:return!(t.byteLength!=e.byteLength||!i(new Se(t),new Se(e)));case V:case H:case $:return ds(+t,+e);case X:return t.name==e.name&&t.message==e.message;case et:case rt:return t==e+"";case Y:var s=On;case nt:var c=r&g;if(s||(s=An),t.size!=e.size&&!c)return!1;var u=a.get(t);if(u)return u==e;r|=y,a.set(t,e);var l=Ai(s(t),s(e),r,o,i,a);return a.delete(t),l;case ot:if(fr)return fr.call(t)==fr.call(e)}return!1}(t,e,u,n,r,o,a);if(!(n&g)){var h=f&&le.call(t,"__wrapped__"),v=p&&le.call(e,"__wrapped__");if(h||v){var m=h?t.value():t,b=v?e.value():e;return a||(a=new Sr),o(m,b,n,r,a)}}return!!d&&(a||(a=new Sr),function(t,e,n,r,o,a){var s=n&g,c=Mi(t),u=c.length,l=Mi(e).length;if(u!=l&&!s)return!1;for(var f=u;f--;){var p=c[f];if(!(s?p in e:le.call(e,p)))return!1}var d=a.get(t);if(d&&a.get(e))return d==e;var h=!0;a.set(t,e),a.set(e,t);for(var y=s;++f<u;){p=c[f];var v=t[p],m=e[p];if(r)var b=s?r(m,v,p,e,t,a):r(v,m,p,t,e,a);if(!(b===i?v===m||o(v,m,n,r,a):b)){h=!1;break}y||(y="constructor"==p)}if(h&&!y){var _=t.constructor,w=e.constructor;_!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(h=!1)}return a.delete(t),a.delete(e),h}(t,e,n,r,o,a))}(t,e,n,r,io,o))}function ao(t,e,n,r){var o=n.length,a=o,s=!r;if(null==t)return!a;for(t=ee(t);o--;){var c=n[o];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++o<a;){var u=(c=n[o])[0],l=t[u],f=c[1];if(s&&c[2]){if(l===i&&!(u in t))return!1}else{var p=new Sr;if(r)var d=r(l,f,u,t,e,p);if(!(d===i?io(f,l,g|y,r,p):d))return!1}}return!0}function so(t){return!(!Cs(t)||(e=t,pe&&pe in e))&&(xs(t)?ye:qt).test(fa(t));var e}function co(t){return"function"==typeof t?t:null==t?Ic:"object"==typeof t?vs(t)?go(t[0],t[1]):ho(t):zc(t)}function uo(t){if(!$i(t))return Vn(t);var e=[];for(var n in ee(t))le.call(t,n)&&"constructor"!=n&&e.push(n);return e}function lo(t){if(!Cs(t))return function(t){var e=[];if(null!=t)for(var n in ee(t))e.push(n);return e}(t);var e=$i(t),n=[];for(var r in t)("constructor"!=r||!e&&le.call(t,r))&&n.push(r);return n}function fo(t,e){return t<e}function po(t,e){var n=-1,o=bs(t)?r(t.length):[];return zr(t,function(t,r,i){o[++n]=e(t,r,i)}),o}function ho(t){var e=Bi(t);return 1==e.length&&e[0][2]?Qi(e[0][0],e[0][1]):function(n){return n===t||ao(n,t,e)}}function go(t,e){return Ji(t)&&Zi(e)?Qi(la(t),e):function(n){var r=Qs(n,t);return r===i&&r===e?tc(n,t):io(e,r,g|y)}}function yo(t,e,n,r,o){t!==e&&Hr(e,function(a,s){if(Cs(a))o||(o=new Sr),function(t,e,n,r,o,a,s){var c=na(t,n),u=na(e,n),l=s.get(u);if(l)Cr(t,n,l);else{var f=a?a(c,u,n+"",t,e,s):i,p=f===i;if(p){var d=vs(u),h=!d&&ws(u),g=!d&&!h&&Ns(u);f=u,d||h||g?vs(c)?f=c:_s(c)?f=ri(c):h?(p=!1,f=$o(u,!0)):g?(p=!1,f=Qo(u,!0)):f=[]:Ms(u)||ys(u)?(f=c,ys(c)?f=Vs(c):Cs(c)&&!xs(c)||(f=Vi(u))):p=!1}p&&(s.set(u,f),o(f,u,r,a,s),s.delete(u)),Cr(t,n,f)}}(t,e,s,n,yo,r,o);else{var c=r?r(na(t,s),a,s+"",t,e,o):i;c===i&&(c=a),Cr(t,s,c)}},ic)}function vo(t,e){var n=t.length;if(n)return qi(e+=e<0?n:0,n)?t[e]:i}function mo(t,e,n){var r=-1;return e=Qe(e.length?e:[Ic],vn(Ni())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(po(t,function(t,n,o){return{criteria:Qe(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return function(t,e,n){for(var r=-1,o=t.criteria,i=e.criteria,a=o.length,s=n.length;++r<a;){var c=ti(o[r],i[r]);if(c){if(r>=s)return c;var u=n[r];return c*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)})}function bo(t,e,n){for(var r=-1,o=e.length,i={};++r<o;){var a=e[r],s=Yr(t,a);n(s,a)&&Co(i,Xo(a,t),s)}return i}function _o(t,e,n,r){var o=r?un:cn,i=-1,a=e.length,s=t;for(t===e&&(e=ri(e)),n&&(s=Qe(t,vn(n)));++i<a;)for(var c=0,u=e[i],l=n?n(u):u;(c=o(s,l,c,r))>-1;)s!==t&&Re.call(s,c,1),Re.call(t,c,1);return t}function wo(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;qi(o)?Re.call(t,o,1):zo(t,o)}}return t}function So(t,e){return t+zn(Gn()*(e-t+1))}function ko(t,e){var n="";if(!t||e<1||e>P)return n;do{e%2&&(n+=t),(e=zn(e/2))&&(t+=t)}while(e);return n}function xo(t,e){return ia(ta(t,e,Ic),t+"")}function Eo(t){return xr(dc(t))}function Oo(t,e){var n=dc(t);return ca(n,Pr(e,0,n.length))}function Co(t,e,n,r){if(!Cs(t))return t;for(var o=-1,a=(e=Xo(e,t)).length,s=a-1,c=t;null!=c&&++o<a;){var u=la(e[o]),l=n;if(o!=s){var f=c[u];(l=r?r(f,u,c):i)===i&&(l=Cs(f)?f:qi(e[o+1])?[]:{})}Tr(c,u,l),c=c[u]}return t}var To=rr?function(t,e){return rr.set(t,e),t}:Ic,Ao=dn?function(t,e){return dn(t,"toString",{configurable:!0,enumerable:!1,value:Cc(e),writable:!0})}:Ic;function Io(t){return ca(dc(t))}function Mo(t,e,n){var o=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var a=r(i);++o<i;)a[o]=t[o+e];return a}function jo(t,e){var n;return zr(t,function(t,r,o){return!(n=e(t,r,o))}),!!n}function Do(t,e,n){var r=0,o=null==t?r:t.length;if("number"==typeof e&&e==e&&o<=z){for(;r<o;){var i=r+o>>>1,a=t[i];null!==a&&!Rs(a)&&(n?a<=e:a<e)?r=i+1:o=i}return o}return Po(t,e,Ic,n)}function Po(t,e,n,r){e=n(e);for(var o=0,a=null==t?0:t.length,s=e!=e,c=null===e,u=Rs(e),l=e===i;o<a;){var f=zn((o+a)/2),p=n(t[f]),d=p!==i,h=null===p,g=p==p,y=Rs(p);if(s)var v=r||g;else v=l?g&&(r||d):c?g&&d&&(r||!h):u?g&&d&&!h&&(r||!y):!h&&!y&&(r?p<=e:p<e);v?o=f+1:a=f}return qn(a,B)}function Ro(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var a=t[n],s=e?e(a):a;if(!n||!ds(s,c)){var c=s;i[o++]=0===a?0:a}}return i}function No(t){return"number"==typeof t?t:Rs(t)?N:+t}function Lo(t){if("string"==typeof t)return t;if(vs(t))return Qe(t,Lo)+"";if(Rs(t))return pr?pr.call(t):"";var e=t+"";return"0"==e&&1/t==-D?"-0":e}function Bo(t,e,n){var r=-1,o=$e,i=t.length,s=!0,c=[],u=c;if(n)s=!1,o=Ze;else if(i>=a){var l=e?null:ki(t);if(l)return An(l);s=!1,o=bn,u=new wr}else u=e?[]:c;t:for(;++r<i;){var f=t[r],p=e?e(f):f;if(f=n||0!==f?f:0,s&&p==p){for(var d=u.length;d--;)if(u[d]===p)continue t;e&&u.push(p),c.push(f)}else o(u,p,n)||(u!==c&&u.push(p),c.push(f))}return c}function zo(t,e){return null==(t=ea(t,e=Xo(e,t)))||delete t[la(ka(e))]}function Ko(t,e,n,r){return Co(t,e,n(Yr(t,e)),r)}function Fo(t,e,n,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&e(t[i],i,t););return n?Mo(t,r?0:i,r?i+1:o):Mo(t,r?i+1:0,r?o:i)}function Uo(t,e){var n=t;return n instanceof vr&&(n=n.value()),en(e,function(t,e){return e.func.apply(e.thisArg,tn([t],e.args))},n)}function Wo(t,e,n){var o=t.length;if(o<2)return o?Bo(t[0]):[];for(var i=-1,a=r(o);++i<o;)for(var s=t[i],c=-1;++c<o;)c!=i&&(a[i]=Br(a[i]||s,t[c],e,n));return Bo(Vr(a,1),e,n)}function Vo(t,e,n){for(var r=-1,o=t.length,a=e.length,s={};++r<o;){var c=r<a?e[r]:i;n(s,t[r],c)}return s}function Ho(t){return _s(t)?t:[]}function qo(t){return"function"==typeof t?t:Ic}function Xo(t,e){return vs(t)?t:Ji(t,e)?[t]:ua(Hs(t))}var Jo=xo;function Go(t,e,n){var r=t.length;return n=n===i?r:n,!e&&n>=r?t:Mo(t,e,n)}var Yo=Rn||function(t){return De.clearTimeout(t)};function $o(t,e){if(e)return t.slice();var n=t.length,r=Te?Te(n):new t.constructor(n);return t.copy(r),r}function Zo(t){var e=new t.constructor(t.byteLength);return new Se(e).set(new Se(t)),e}function Qo(t,e){var n=e?Zo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function ti(t,e){if(t!==e){var n=t!==i,r=null===t,o=t==t,a=Rs(t),s=e!==i,c=null===e,u=e==e,l=Rs(e);if(!c&&!l&&!a&&t>e||a&&s&&u&&!c&&!l||r&&s&&u||!n&&u||!o)return 1;if(!r&&!a&&!l&&t<e||l&&n&&o&&!r&&!a||c&&n&&o||!s&&o||!u)return-1}return 0}function ei(t,e,n,o){for(var i=-1,a=t.length,s=n.length,c=-1,u=e.length,l=Hn(a-s,0),f=r(u+l),p=!o;++c<u;)f[c]=e[c];for(;++i<s;)(p||i<a)&&(f[n[i]]=t[i]);for(;l--;)f[c++]=t[i++];return f}function ni(t,e,n,o){for(var i=-1,a=t.length,s=-1,c=n.length,u=-1,l=e.length,f=Hn(a-c,0),p=r(f+l),d=!o;++i<f;)p[i]=t[i];for(var h=i;++u<l;)p[h+u]=e[u];for(;++s<c;)(d||i<a)&&(p[h+n[s]]=t[i++]);return p}function ri(t,e){var n=-1,o=t.length;for(e||(e=r(o));++n<o;)e[n]=t[n];return e}function oi(t,e,n,r){var o=!n;n||(n={});for(var a=-1,s=e.length;++a<s;){var c=e[a],u=r?r(n[c],t[c],c,n,t):i;u===i&&(u=t[c]),o?jr(n,c,u):Tr(n,c,u)}return n}function ii(t,e){return function(n,r){var o=vs(n)?qe:Ir,i=e?e():{};return o(n,t,Ni(r,2),i)}}function ai(t){return xo(function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:i,s=o>2?n[2]:i;for(a=t.length>3&&"function"==typeof a?(o--,a):i,s&&Xi(n[0],n[1],s)&&(a=o<3?i:a,o=1),e=ee(e);++r<o;){var c=n[r];c&&t(e,c,r,a)}return e})}function si(t,e){return function(n,r){if(null==n)return n;if(!bs(n))return t(n,r);for(var o=n.length,i=e?o:-1,a=ee(n);(e?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function ci(t){return function(e,n,r){for(var o=-1,i=ee(e),a=r(e),s=a.length;s--;){var c=a[t?s:++o];if(!1===n(i[c],c,i))break}return e}}function ui(t){return function(e){var n=En(e=Hs(e))?jn(e):i,r=n?n[0]:e.charAt(0),o=n?Go(n,1).join(""):e.slice(1);return r[t]()+o}}function li(t){return function(e){return en(xc(yc(e).replace(me,"")),t,"")}}function fi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=hr(t.prototype),r=t.apply(n,e);return Cs(r)?r:n}}function pi(t){return function(e,n,r){var o=ee(e);if(!bs(e)){var a=Ni(n,3);e=oc(e),n=function(t){return a(o[t],t,o)}}var s=t(e,n,r);return s>-1?o[a?e[s]:s]:i}}function di(t){return Ii(function(e){var n=e.length,r=n,o=yr.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new oe(c);if(o&&!s&&"wrapper"==Pi(a))var s=new yr([],!0)}for(r=s?r:n;++r<n;){var u=Pi(a=e[r]),l="wrapper"==u?Di(a):i;s=l&&Gi(l[0])&&l[1]==(x|_|S|E)&&!l[4].length&&1==l[9]?s[Pi(l[0])].apply(s,l[3]):1==a.length&&Gi(a)?s[u]():s.thru(a)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&vs(r))return s.plant(r).value();for(var o=0,i=n?e[o].apply(this,t):r;++o<n;)i=e[o].call(this,i);return i}})}function hi(t,e,n,o,a,s,c,u,l,f){var p=e&x,d=e&v,h=e&m,g=e&(_|w),y=e&O,b=h?i:fi(t);return function v(){for(var m=arguments.length,_=r(m),w=m;w--;)_[w]=arguments[w];if(g)var S=Ri(v),k=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(_,S);if(o&&(_=ei(_,o,a,g)),s&&(_=ni(_,s,c,g)),m-=k,g&&m<f){var x=Tn(_,S);return wi(t,e,hi,v.placeholder,n,_,x,u,l,f-m)}var E=d?n:this,O=h?E[t]:t;return m=_.length,u?_=function(t,e){for(var n=t.length,r=qn(e.length,n),o=ri(t);r--;){var a=e[r];t[r]=qi(a,n)?o[a]:i}return t}(_,u):y&&m>1&&_.reverse(),p&&l<m&&(_.length=l),this&&this!==De&&this instanceof v&&(O=b||fi(O)),O.apply(E,_)}}function gi(t,e){return function(n,r){return function(t,e,n,r){return Xr(t,function(t,o,i){e(r,n(t),o,i)}),r}(n,t,e(r),{})}}function yi(t,e){return function(n,r){var o;if(n===i&&r===i)return e;if(n!==i&&(o=n),r!==i){if(o===i)return r;"string"==typeof n||"string"==typeof r?(n=Lo(n),r=Lo(r)):(n=No(n),r=No(r)),o=t(n,r)}return o}}function vi(t){return Ii(function(e){return e=Qe(e,vn(Ni())),xo(function(n){var r=this;return t(e,function(t){return He(t,r,n)})})})}function mi(t,e){var n=(e=e===i?" ":Lo(e)).length;if(n<2)return n?ko(e,t):e;var r=ko(e,Bn(t/Mn(e)));return En(e)?Go(jn(r),0,t).join(""):r.slice(0,t)}function bi(t){return function(e,n,o){return o&&"number"!=typeof o&&Xi(e,n,o)&&(n=o=i),e=Ks(e),n===i?(n=e,e=0):n=Ks(n),function(t,e,n,o){for(var i=-1,a=Hn(Bn((e-t)/(n||1)),0),s=r(a);a--;)s[o?a:++i]=t,t+=n;return s}(e,n,o=o===i?e<n?1:-1:Ks(o),t)}}function _i(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Ws(e),n=Ws(n)),t(e,n)}}function wi(t,e,n,r,o,a,s,c,u,l){var f=e&_;e|=f?S:k,(e&=~(f?k:S))&b||(e&=~(v|m));var p=[t,e,o,f?a:i,f?s:i,f?i:a,f?i:s,c,u,l],d=n.apply(i,p);return Gi(t)&&ra(d,p),d.placeholder=r,aa(d,t,e)}function Si(t){var e=te[t];return function(t,n){if(t=Ws(t),n=null==n?0:qn(Fs(n),292)){var r=(Hs(t)+"e").split("e");return+((r=(Hs(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var ki=tr&&1/An(new tr([,-0]))[1]==D?function(t){return new tr(t)}:Rc;function xi(t){return function(e){var n=Ui(e);return n==Y?On(e):n==nt?In(e):function(t,e){return Qe(e,function(e){return[e,t[e]]})}(e,t(e))}}function Ei(t,e,n,o,a,s,u,l){var p=e&m;if(!p&&"function"!=typeof t)throw new oe(c);var d=o?o.length:0;if(d||(e&=~(S|k),o=a=i),u=u===i?u:Hn(Fs(u),0),l=l===i?l:Fs(l),d-=a?a.length:0,e&k){var h=o,g=a;o=a=i}var y=p?i:Di(t),O=[t,e,n,o,a,h,g,s,u,l];if(y&&function(t,e){var n=t[1],r=e[1],o=n|r,i=o<(v|m|x),a=r==x&&n==_||r==x&&n==E&&t[7].length<=e[8]||r==(x|E)&&e[7].length<=e[8]&&n==_;if(!i&&!a)return t;r&v&&(t[2]=e[2],o|=n&v?0:b);var s=e[3];if(s){var c=t[3];t[3]=c?ei(c,s,e[4]):s,t[4]=c?Tn(t[3],f):e[4]}(s=e[5])&&(c=t[5],t[5]=c?ni(c,s,e[6]):s,t[6]=c?Tn(t[5],f):e[6]),(s=e[7])&&(t[7]=s),r&x&&(t[8]=null==t[8]?e[8]:qn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=o}(O,y),t=O[0],e=O[1],n=O[2],o=O[3],a=O[4],!(l=O[9]=O[9]===i?p?0:t.length:Hn(O[9]-d,0))&&e&(_|w)&&(e&=~(_|w)),e&&e!=v)C=e==_||e==w?function(t,e,n){var o=fi(t);return function a(){for(var s=arguments.length,c=r(s),u=s,l=Ri(a);u--;)c[u]=arguments[u];var f=s<3&&c[0]!==l&&c[s-1]!==l?[]:Tn(c,l);return(s-=f.length)<n?wi(t,e,hi,a.placeholder,i,c,f,i,i,n-s):He(this&&this!==De&&this instanceof a?o:t,this,c)}}(t,e,l):e!=S&&e!=(v|S)||a.length?hi.apply(i,O):function(t,e,n,o){var i=e&v,a=fi(t);return function e(){for(var s=-1,c=arguments.length,u=-1,l=o.length,f=r(l+c),p=this&&this!==De&&this instanceof e?a:t;++u<l;)f[u]=o[u];for(;c--;)f[u++]=arguments[++s];return He(p,i?n:this,f)}}(t,e,n,o);else var C=function(t,e,n){var r=e&v,o=fi(t);return function e(){return(this&&this!==De&&this instanceof e?o:t).apply(r?n:this,arguments)}}(t,e,n);return aa((y?To:ra)(C,O),t,e)}function Oi(t,e,n,r){return t===i||ds(t,se[n])&&!le.call(r,n)?e:t}function Ci(t,e,n,r,o,a){return Cs(t)&&Cs(e)&&(a.set(e,t),yo(t,e,i,Ci,a),a.delete(e)),t}function Ti(t){return Ms(t)?i:t}function Ai(t,e,n,r,o,a){var s=n&g,c=t.length,u=e.length;if(c!=u&&!(s&&u>c))return!1;var l=a.get(t);if(l&&a.get(e))return l==e;var f=-1,p=!0,d=n&y?new wr:i;for(a.set(t,e),a.set(e,t);++f<c;){var h=t[f],v=e[f];if(r)var m=s?r(v,h,f,e,t,a):r(h,v,f,t,e,a);if(m!==i){if(m)continue;p=!1;break}if(d){if(!rn(e,function(t,e){if(!bn(d,e)&&(h===t||o(h,t,n,r,a)))return d.push(e)})){p=!1;break}}else if(h!==v&&!o(h,v,n,r,a)){p=!1;break}}return a.delete(t),a.delete(e),p}function Ii(t){return ia(ta(t,i,ma),t+"")}function Mi(t){return $r(t,oc,Ki)}function ji(t){return $r(t,ic,Fi)}var Di=rr?function(t){return rr.get(t)}:Rc;function Pi(t){for(var e=t.name+"",n=or[e],r=le.call(or,e)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==t)return o.name}return e}function Ri(t){return(le.call(dr,"placeholder")?dr:t).placeholder}function Ni(){var t=dr.iteratee||Mc;return t=t===Mc?co:t,arguments.length?t(arguments[0],arguments[1]):t}function Li(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function Bi(t){for(var e=oc(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,Zi(o)]}return e}function zi(t,e){var n=function(t,e){return null==t?i:t[e]}(t,e);return so(n)?n:i}var Ki=Kn?function(t){return null==t?[]:(t=ee(t),Ye(Kn(t),function(e){return Pe.call(t,e)}))}:Uc,Fi=Kn?function(t){for(var e=[];t;)tn(e,Ki(t)),t=Me(t);return e}:Uc,Ui=Zr;function Wi(t,e,n){for(var r=-1,o=(e=Xo(e,t)).length,i=!1;++r<o;){var a=la(e[r]);if(!(i=null!=t&&n(t,a)))break;t=t[a]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&Os(o)&&qi(a,o)&&(vs(t)||ys(t))}function Vi(t){return"function"!=typeof t.constructor||$i(t)?{}:hr(Me(t))}function Hi(t){return vs(t)||ys(t)||!!(Le&&t&&t[Le])}function qi(t,e){var n=typeof t;return!!(e=null==e?P:e)&&("number"==n||"symbol"!=n&&Jt.test(t))&&t>-1&&t%1==0&&t<e}function Xi(t,e,n){if(!Cs(n))return!1;var r=typeof e;return!!("number"==r?bs(n)&&qi(e,n.length):"string"==r&&e in n)&&ds(n[e],t)}function Ji(t,e){if(vs(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Rs(t))||It.test(t)||!At.test(t)||null!=e&&t in ee(e)}function Gi(t){var e=Pi(t),n=dr[e];if("function"!=typeof n||!(e in vr.prototype))return!1;if(t===n)return!0;var r=Di(n);return!!r&&t===r[0]}($n&&Ui(new $n(new ArrayBuffer(1)))!=ut||Zn&&Ui(new Zn)!=Y||Qn&&"[object Promise]"!=Ui(Qn.resolve())||tr&&Ui(new tr)!=nt||er&&Ui(new er)!=at)&&(Ui=function(t){var e=Zr(t),n=e==Q?t.constructor:i,r=n?fa(n):"";if(r)switch(r){case ir:return ut;case ar:return Y;case sr:return"[object Promise]";case cr:return nt;case ur:return at}return e});var Yi=ce?xs:Wc;function $i(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||se)}function Zi(t){return t==t&&!Cs(t)}function Qi(t,e){return function(n){return null!=n&&n[t]===e&&(e!==i||t in ee(n))}}function ta(t,e,n){return e=Hn(e===i?t.length-1:e,0),function(){for(var o=arguments,i=-1,a=Hn(o.length-e,0),s=r(a);++i<a;)s[i]=o[e+i];i=-1;for(var c=r(e+1);++i<e;)c[i]=o[i];return c[e]=n(s),He(t,this,c)}}function ea(t,e){return e.length<2?t:Yr(t,Mo(e,0,-1))}function na(t,e){if("__proto__"!=e)return t[e]}var ra=sa(To),oa=Ln||function(t,e){return De.setTimeout(t,e)},ia=sa(Ao);function aa(t,e,n){var r=e+"";return ia(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Lt,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Xe(K,function(n){var r="_."+n[0];e&n[1]&&!$e(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Bt);return e?e[1].split(zt):[]}(r),n)))}function sa(t){var e=0,n=0;return function(){var r=Xn(),o=I-(r-n);if(n=r,o>0){if(++e>=A)return arguments[0]}else e=0;return t.apply(i,arguments)}}function ca(t,e){var n=-1,r=t.length,o=r-1;for(e=e===i?r:e;++n<e;){var a=So(n,o),s=t[a];t[a]=t[n],t[n]=s}return t.length=e,t}var ua=function(t){var e=ss(t,function(t){return n.size===l&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Mt,function(t,n,r,o){e.push(r?o.replace(Ft,"$1"):n||t)}),e});function la(t){if("string"==typeof t||Rs(t))return t;var e=t+"";return"0"==e&&1/t==-D?"-0":e}function fa(t){if(null!=t){try{return ue.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function pa(t){if(t instanceof vr)return t.clone();var e=new yr(t.__wrapped__,t.__chain__);return e.__actions__=ri(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var da=xo(function(t,e){return _s(t)?Br(t,Vr(e,1,_s,!0)):[]}),ha=xo(function(t,e){var n=ka(e);return _s(n)&&(n=i),_s(t)?Br(t,Vr(e,1,_s,!0),Ni(n,2)):[]}),ga=xo(function(t,e){var n=ka(e);return _s(n)&&(n=i),_s(t)?Br(t,Vr(e,1,_s,!0),i,n):[]});function ya(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:Fs(n);return o<0&&(o=Hn(r+o,0)),sn(t,Ni(e,3),o)}function va(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==i&&(o=Fs(n),o=n<0?Hn(r+o,0):qn(o,r-1)),sn(t,Ni(e,3),o,!0)}function ma(t){return null!=t&&t.length?Vr(t,1):[]}function ba(t){return t&&t.length?t[0]:i}var _a=xo(function(t){var e=Qe(t,Ho);return e.length&&e[0]===t[0]?no(e):[]}),wa=xo(function(t){var e=ka(t),n=Qe(t,Ho);return e===ka(n)?e=i:n.pop(),n.length&&n[0]===t[0]?no(n,Ni(e,2)):[]}),Sa=xo(function(t){var e=ka(t),n=Qe(t,Ho);return(e="function"==typeof e?e:i)&&n.pop(),n.length&&n[0]===t[0]?no(n,i,e):[]});function ka(t){var e=null==t?0:t.length;return e?t[e-1]:i}var xa=xo(Ea);function Ea(t,e){return t&&t.length&&e&&e.length?_o(t,e):t}var Oa=Ii(function(t,e){var n=null==t?0:t.length,r=Dr(t,e);return wo(t,Qe(e,function(t){return qi(t,n)?+t:t}).sort(ti)),r});function Ca(t){return null==t?t:Yn.call(t)}var Ta=xo(function(t){return Bo(Vr(t,1,_s,!0))}),Aa=xo(function(t){var e=ka(t);return _s(e)&&(e=i),Bo(Vr(t,1,_s,!0),Ni(e,2))}),Ia=xo(function(t){var e=ka(t);return e="function"==typeof e?e:i,Bo(Vr(t,1,_s,!0),i,e)});function Ma(t){if(!t||!t.length)return[];var e=0;return t=Ye(t,function(t){if(_s(t))return e=Hn(t.length,e),!0}),yn(e,function(e){return Qe(t,pn(e))})}function ja(t,e){if(!t||!t.length)return[];var n=Ma(t);return null==e?n:Qe(n,function(t){return He(e,i,t)})}var Da=xo(function(t,e){return _s(t)?Br(t,e):[]}),Pa=xo(function(t){return Wo(Ye(t,_s))}),Ra=xo(function(t){var e=ka(t);return _s(e)&&(e=i),Wo(Ye(t,_s),Ni(e,2))}),Na=xo(function(t){var e=ka(t);return e="function"==typeof e?e:i,Wo(Ye(t,_s),i,e)}),La=xo(Ma);var Ba=xo(function(t){var e=t.length,n=e>1?t[e-1]:i;return n="function"==typeof n?(t.pop(),n):i,ja(t,n)});function za(t){var e=dr(t);return e.__chain__=!0,e}function Ka(t,e){return e(t)}var Fa=Ii(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Dr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof vr&&qi(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Ka,args:[o],thisArg:i}),new yr(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(i),t})):this.thru(o)});var Ua=ii(function(t,e,n){le.call(t,n)?++t[n]:jr(t,n,1)});var Wa=pi(ya),Va=pi(va);function Ha(t,e){return(vs(t)?Xe:zr)(t,Ni(e,3))}function qa(t,e){return(vs(t)?Je:Kr)(t,Ni(e,3))}var Xa=ii(function(t,e,n){le.call(t,n)?t[n].push(e):jr(t,n,[e])});var Ja=xo(function(t,e,n){var o=-1,i="function"==typeof e,a=bs(t)?r(t.length):[];return zr(t,function(t){a[++o]=i?He(e,t,n):ro(t,e,n)}),a}),Ga=ii(function(t,e,n){jr(t,n,e)});function Ya(t,e){return(vs(t)?Qe:po)(t,Ni(e,3))}var $a=ii(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var Za=xo(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Xi(t,e[0],e[1])?e=[]:n>2&&Xi(e[0],e[1],e[2])&&(e=[e[0]]),mo(t,Vr(e,1),[])}),Qa=Nn||function(){return De.Date.now()};function ts(t,e,n){return e=n?i:e,e=t&&null==e?t.length:e,Ei(t,x,i,i,i,i,e)}function es(t,e){var n;if("function"!=typeof e)throw new oe(c);return t=Fs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=i),n}}var ns=xo(function(t,e,n){var r=v;if(n.length){var o=Tn(n,Ri(ns));r|=S}return Ei(t,r,e,n,o)}),rs=xo(function(t,e,n){var r=v|m;if(n.length){var o=Tn(n,Ri(rs));r|=S}return Ei(e,r,t,n,o)});function os(t,e,n){var r,o,a,s,u,l,f=0,p=!1,d=!1,h=!0;if("function"!=typeof t)throw new oe(c);function g(e){var n=r,a=o;return r=o=i,f=e,s=t.apply(a,n)}function y(t){var n=t-l;return l===i||n>=e||n<0||d&&t-f>=a}function v(){var t=Qa();if(y(t))return m(t);u=oa(v,function(t){var n=e-(t-l);return d?qn(n,a-(t-f)):n}(t))}function m(t){return u=i,h&&r?g(t):(r=o=i,s)}function b(){var t=Qa(),n=y(t);if(r=arguments,o=this,l=t,n){if(u===i)return function(t){return f=t,u=oa(v,e),p?g(t):s}(l);if(d)return u=oa(v,e),g(l)}return u===i&&(u=oa(v,e)),s}return e=Ws(e)||0,Cs(n)&&(p=!!n.leading,a=(d="maxWait"in n)?Hn(Ws(n.maxWait)||0,e):a,h="trailing"in n?!!n.trailing:h),b.cancel=function(){u!==i&&Yo(u),f=0,r=l=o=u=i},b.flush=function(){return u===i?s:m(Qa())},b}var is=xo(function(t,e){return Lr(t,1,e)}),as=xo(function(t,e,n){return Lr(t,Ws(e)||0,n)});function ss(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new oe(c);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ss.Cache||_r),n}function cs(t){if("function"!=typeof t)throw new oe(c);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}ss.Cache=_r;var us=Jo(function(t,e){var n=(e=1==e.length&&vs(e[0])?Qe(e[0],vn(Ni())):Qe(Vr(e,1),vn(Ni()))).length;return xo(function(r){for(var o=-1,i=qn(r.length,n);++o<i;)r[o]=e[o].call(this,r[o]);return He(t,this,r)})}),ls=xo(function(t,e){var n=Tn(e,Ri(ls));return Ei(t,S,i,e,n)}),fs=xo(function(t,e){var n=Tn(e,Ri(fs));return Ei(t,k,i,e,n)}),ps=Ii(function(t,e){return Ei(t,E,i,i,i,e)});function ds(t,e){return t===e||t!=t&&e!=e}var hs=_i(Qr),gs=_i(function(t,e){return t>=e}),ys=oo(function(){return arguments}())?oo:function(t){return Ts(t)&&le.call(t,"callee")&&!Pe.call(t,"callee")},vs=r.isArray,ms=ze?vn(ze):function(t){return Ts(t)&&Zr(t)==ct};function bs(t){return null!=t&&Os(t.length)&&!xs(t)}function _s(t){return Ts(t)&&bs(t)}var ws=Fn||Wc,Ss=Ke?vn(Ke):function(t){return Ts(t)&&Zr(t)==H};function ks(t){if(!Ts(t))return!1;var e=Zr(t);return e==X||e==q||"string"==typeof t.message&&"string"==typeof t.name&&!Ms(t)}function xs(t){if(!Cs(t))return!1;var e=Zr(t);return e==J||e==G||e==W||e==tt}function Es(t){return"number"==typeof t&&t==Fs(t)}function Os(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=P}function Cs(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ts(t){return null!=t&&"object"==typeof t}var As=Fe?vn(Fe):function(t){return Ts(t)&&Ui(t)==Y};function Is(t){return"number"==typeof t||Ts(t)&&Zr(t)==$}function Ms(t){if(!Ts(t)||Zr(t)!=Q)return!1;var e=Me(t);if(null===e)return!0;var n=le.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ue.call(n)==he}var js=Ue?vn(Ue):function(t){return Ts(t)&&Zr(t)==et};var Ds=We?vn(We):function(t){return Ts(t)&&Ui(t)==nt};function Ps(t){return"string"==typeof t||!vs(t)&&Ts(t)&&Zr(t)==rt}function Rs(t){return"symbol"==typeof t||Ts(t)&&Zr(t)==ot}var Ns=Ve?vn(Ve):function(t){return Ts(t)&&Os(t.length)&&!!Oe[Zr(t)]};var Ls=_i(fo),Bs=_i(function(t,e){return t<=e});function zs(t){if(!t)return[];if(bs(t))return Ps(t)?jn(t):ri(t);if(Be&&t[Be])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Be]());var e=Ui(t);return(e==Y?On:e==nt?An:dc)(t)}function Ks(t){return t?(t=Ws(t))===D||t===-D?(t<0?-1:1)*R:t==t?t:0:0===t?t:0}function Fs(t){var e=Ks(t),n=e%1;return e==e?n?e-n:e:0}function Us(t){return t?Pr(Fs(t),0,L):0}function Ws(t){if("number"==typeof t)return t;if(Rs(t))return N;if(Cs(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Cs(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Pt,"");var n=Ht.test(t);return n||Xt.test(t)?Ie(t.slice(2),n?2:8):Vt.test(t)?N:+t}function Vs(t){return oi(t,ic(t))}function Hs(t){return null==t?"":Lo(t)}var qs=ai(function(t,e){if($i(e)||bs(e))oi(e,oc(e),t);else for(var n in e)le.call(e,n)&&Tr(t,n,e[n])}),Xs=ai(function(t,e){oi(e,ic(e),t)}),Js=ai(function(t,e,n,r){oi(e,ic(e),t,r)}),Gs=ai(function(t,e,n,r){oi(e,oc(e),t,r)}),Ys=Ii(Dr);var $s=xo(function(t,e){t=ee(t);var n=-1,r=e.length,o=r>2?e[2]:i;for(o&&Xi(e[0],e[1],o)&&(r=1);++n<r;)for(var a=e[n],s=ic(a),c=-1,u=s.length;++c<u;){var l=s[c],f=t[l];(f===i||ds(f,se[l])&&!le.call(t,l))&&(t[l]=a[l])}return t}),Zs=xo(function(t){return t.push(i,Ci),He(sc,i,t)});function Qs(t,e,n){var r=null==t?i:Yr(t,e);return r===i?n:r}function tc(t,e){return null!=t&&Wi(t,e,eo)}var ec=gi(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=de.call(e)),t[e]=n},Cc(Ic)),nc=gi(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=de.call(e)),le.call(t,e)?t[e].push(n):t[e]=[n]},Ni),rc=xo(ro);function oc(t){return bs(t)?kr(t):uo(t)}function ic(t){return bs(t)?kr(t,!0):lo(t)}var ac=ai(function(t,e,n){yo(t,e,n)}),sc=ai(function(t,e,n,r){yo(t,e,n,r)}),cc=Ii(function(t,e){var n={};if(null==t)return n;var r=!1;e=Qe(e,function(e){return e=Xo(e,t),r||(r=e.length>1),e}),oi(t,ji(t),n),r&&(n=Rr(n,p|d|h,Ti));for(var o=e.length;o--;)zo(n,e[o]);return n});var uc=Ii(function(t,e){return null==t?{}:function(t,e){return bo(t,e,function(e,n){return tc(t,n)})}(t,e)});function lc(t,e){if(null==t)return{};var n=Qe(ji(t),function(t){return[t]});return e=Ni(e),bo(t,n,function(t,n){return e(t,n[0])})}var fc=xi(oc),pc=xi(ic);function dc(t){return null==t?[]:mn(t,oc(t))}var hc=li(function(t,e,n){return e=e.toLowerCase(),t+(n?gc(e):e)});function gc(t){return kc(Hs(t).toLowerCase())}function yc(t){return(t=Hs(t))&&t.replace(Gt,Sn).replace(be,"")}var vc=li(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),mc=li(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),bc=ui("toLowerCase");var _c=li(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var wc=li(function(t,e,n){return t+(n?" ":"")+kc(e)});var Sc=li(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),kc=ui("toUpperCase");function xc(t,e,n){return t=Hs(t),(e=n?i:e)===i?function(t){return ke.test(t)}(t)?function(t){return t.match(we)||[]}(t):function(t){return t.match(Kt)||[]}(t):t.match(e)||[]}var Ec=xo(function(t,e){try{return He(t,i,e)}catch(t){return ks(t)?t:new Zt(t)}}),Oc=Ii(function(t,e){return Xe(e,function(e){e=la(e),jr(t,e,ns(t[e],t))}),t});function Cc(t){return function(){return t}}var Tc=di(),Ac=di(!0);function Ic(t){return t}function Mc(t){return co("function"==typeof t?t:Rr(t,p))}var jc=xo(function(t,e){return function(n){return ro(n,t,e)}}),Dc=xo(function(t,e){return function(n){return ro(t,n,e)}});function Pc(t,e,n){var r=oc(e),o=Gr(e,r);null!=n||Cs(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=Gr(e,oc(e)));var i=!(Cs(n)&&"chain"in n&&!n.chain),a=xs(t);return Xe(o,function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__);return(n.__actions__=ri(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,tn([this.value()],arguments))})}),t}function Rc(){}var Nc=vi(Qe),Lc=vi(Ge),Bc=vi(rn);function zc(t){return Ji(t)?pn(la(t)):function(t){return function(e){return Yr(e,t)}}(t)}var Kc=bi(),Fc=bi(!0);function Uc(){return[]}function Wc(){return!1}var Vc=yi(function(t,e){return t+e},0),Hc=Si("ceil"),qc=yi(function(t,e){return t/e},1),Xc=Si("floor");var Jc,Gc=yi(function(t,e){return t*e},1),Yc=Si("round"),$c=yi(function(t,e){return t-e},0);return dr.after=function(t,e){if("function"!=typeof e)throw new oe(c);return t=Fs(t),function(){if(--t<1)return e.apply(this,arguments)}},dr.ary=ts,dr.assign=qs,dr.assignIn=Xs,dr.assignInWith=Js,dr.assignWith=Gs,dr.at=Ys,dr.before=es,dr.bind=ns,dr.bindAll=Oc,dr.bindKey=rs,dr.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return vs(t)?t:[t]},dr.chain=za,dr.chunk=function(t,e,n){e=(n?Xi(t,e,n):e===i)?1:Hn(Fs(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var a=0,s=0,c=r(Bn(o/e));a<o;)c[s++]=Mo(t,a,a+=e);return c},dr.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,o=[];++e<n;){var i=t[e];i&&(o[r++]=i)}return o},dr.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],o=t;o--;)e[o-1]=arguments[o];return tn(vs(n)?ri(n):[n],Vr(e,1))},dr.cond=function(t){var e=null==t?0:t.length,n=Ni();return t=e?Qe(t,function(t){if("function"!=typeof t[1])throw new oe(c);return[n(t[0]),t[1]]}):[],xo(function(n){for(var r=-1;++r<e;){var o=t[r];if(He(o[0],this,n))return He(o[1],this,n)}})},dr.conforms=function(t){return function(t){var e=oc(t);return function(n){return Nr(n,t,e)}}(Rr(t,p))},dr.constant=Cc,dr.countBy=Ua,dr.create=function(t,e){var n=hr(t);return null==e?n:Mr(n,e)},dr.curry=function t(e,n,r){var o=Ei(e,_,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},dr.curryRight=function t(e,n,r){var o=Ei(e,w,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},dr.debounce=os,dr.defaults=$s,dr.defaultsDeep=Zs,dr.defer=is,dr.delay=as,dr.difference=da,dr.differenceBy=ha,dr.differenceWith=ga,dr.drop=function(t,e,n){var r=null==t?0:t.length;return r?Mo(t,(e=n||e===i?1:Fs(e))<0?0:e,r):[]},dr.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?Mo(t,0,(e=r-(e=n||e===i?1:Fs(e)))<0?0:e):[]},dr.dropRightWhile=function(t,e){return t&&t.length?Fo(t,Ni(e,3),!0,!0):[]},dr.dropWhile=function(t,e){return t&&t.length?Fo(t,Ni(e,3),!0):[]},dr.fill=function(t,e,n,r){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&Xi(t,e,n)&&(n=0,r=o),function(t,e,n,r){var o=t.length;for((n=Fs(n))<0&&(n=-n>o?0:o+n),(r=r===i||r>o?o:Fs(r))<0&&(r+=o),r=n>r?0:Us(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},dr.filter=function(t,e){return(vs(t)?Ye:Wr)(t,Ni(e,3))},dr.flatMap=function(t,e){return Vr(Ya(t,e),1)},dr.flatMapDeep=function(t,e){return Vr(Ya(t,e),D)},dr.flatMapDepth=function(t,e,n){return n=n===i?1:Fs(n),Vr(Ya(t,e),n)},dr.flatten=ma,dr.flattenDeep=function(t){return null!=t&&t.length?Vr(t,D):[]},dr.flattenDepth=function(t,e){return null!=t&&t.length?Vr(t,e=e===i?1:Fs(e)):[]},dr.flip=function(t){return Ei(t,O)},dr.flow=Tc,dr.flowRight=Ac,dr.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var o=t[e];r[o[0]]=o[1]}return r},dr.functions=function(t){return null==t?[]:Gr(t,oc(t))},dr.functionsIn=function(t){return null==t?[]:Gr(t,ic(t))},dr.groupBy=Xa,dr.initial=function(t){return null!=t&&t.length?Mo(t,0,-1):[]},dr.intersection=_a,dr.intersectionBy=wa,dr.intersectionWith=Sa,dr.invert=ec,dr.invertBy=nc,dr.invokeMap=Ja,dr.iteratee=Mc,dr.keyBy=Ga,dr.keys=oc,dr.keysIn=ic,dr.map=Ya,dr.mapKeys=function(t,e){var n={};return e=Ni(e,3),Xr(t,function(t,r,o){jr(n,e(t,r,o),t)}),n},dr.mapValues=function(t,e){var n={};return e=Ni(e,3),Xr(t,function(t,r,o){jr(n,r,e(t,r,o))}),n},dr.matches=function(t){return ho(Rr(t,p))},dr.matchesProperty=function(t,e){return go(t,Rr(e,p))},dr.memoize=ss,dr.merge=ac,dr.mergeWith=sc,dr.method=jc,dr.methodOf=Dc,dr.mixin=Pc,dr.negate=cs,dr.nthArg=function(t){return t=Fs(t),xo(function(e){return vo(e,t)})},dr.omit=cc,dr.omitBy=function(t,e){return lc(t,cs(Ni(e)))},dr.once=function(t){return es(2,t)},dr.orderBy=function(t,e,n,r){return null==t?[]:(vs(e)||(e=null==e?[]:[e]),vs(n=r?i:n)||(n=null==n?[]:[n]),mo(t,e,n))},dr.over=Nc,dr.overArgs=us,dr.overEvery=Lc,dr.overSome=Bc,dr.partial=ls,dr.partialRight=fs,dr.partition=$a,dr.pick=uc,dr.pickBy=lc,dr.property=zc,dr.propertyOf=function(t){return function(e){return null==t?i:Yr(t,e)}},dr.pull=xa,dr.pullAll=Ea,dr.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?_o(t,e,Ni(n,2)):t},dr.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?_o(t,e,i,n):t},dr.pullAt=Oa,dr.range=Kc,dr.rangeRight=Fc,dr.rearg=ps,dr.reject=function(t,e){return(vs(t)?Ye:Wr)(t,cs(Ni(e,3)))},dr.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,o=[],i=t.length;for(e=Ni(e,3);++r<i;){var a=t[r];e(a,r,t)&&(n.push(a),o.push(r))}return wo(t,o),n},dr.rest=function(t,e){if("function"!=typeof t)throw new oe(c);return xo(t,e=e===i?e:Fs(e))},dr.reverse=Ca,dr.sampleSize=function(t,e,n){return e=(n?Xi(t,e,n):e===i)?1:Fs(e),(vs(t)?Er:Oo)(t,e)},dr.set=function(t,e,n){return null==t?t:Co(t,e,n)},dr.setWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:Co(t,e,n,r)},dr.shuffle=function(t){return(vs(t)?Or:Io)(t)},dr.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Xi(t,e,n)?(e=0,n=r):(e=null==e?0:Fs(e),n=n===i?r:Fs(n)),Mo(t,e,n)):[]},dr.sortBy=Za,dr.sortedUniq=function(t){return t&&t.length?Ro(t):[]},dr.sortedUniqBy=function(t,e){return t&&t.length?Ro(t,Ni(e,2)):[]},dr.split=function(t,e,n){return n&&"number"!=typeof n&&Xi(t,e,n)&&(e=n=i),(n=n===i?L:n>>>0)?(t=Hs(t))&&("string"==typeof e||null!=e&&!js(e))&&!(e=Lo(e))&&En(t)?Go(jn(t),0,n):t.split(e,n):[]},dr.spread=function(t,e){if("function"!=typeof t)throw new oe(c);return e=null==e?0:Hn(Fs(e),0),xo(function(n){var r=n[e],o=Go(n,0,e);return r&&tn(o,r),He(t,this,o)})},dr.tail=function(t){var e=null==t?0:t.length;return e?Mo(t,1,e):[]},dr.take=function(t,e,n){return t&&t.length?Mo(t,0,(e=n||e===i?1:Fs(e))<0?0:e):[]},dr.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Mo(t,(e=r-(e=n||e===i?1:Fs(e)))<0?0:e,r):[]},dr.takeRightWhile=function(t,e){return t&&t.length?Fo(t,Ni(e,3),!1,!0):[]},dr.takeWhile=function(t,e){return t&&t.length?Fo(t,Ni(e,3)):[]},dr.tap=function(t,e){return e(t),t},dr.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new oe(c);return Cs(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),os(t,e,{leading:r,maxWait:e,trailing:o})},dr.thru=Ka,dr.toArray=zs,dr.toPairs=fc,dr.toPairsIn=pc,dr.toPath=function(t){return vs(t)?Qe(t,la):Rs(t)?[t]:ri(ua(Hs(t)))},dr.toPlainObject=Vs,dr.transform=function(t,e,n){var r=vs(t),o=r||ws(t)||Ns(t);if(e=Ni(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:Cs(t)&&xs(i)?hr(Me(t)):{}}return(o?Xe:Xr)(t,function(t,r,o){return e(n,t,r,o)}),n},dr.unary=function(t){return ts(t,1)},dr.union=Ta,dr.unionBy=Aa,dr.unionWith=Ia,dr.uniq=function(t){return t&&t.length?Bo(t):[]},dr.uniqBy=function(t,e){return t&&t.length?Bo(t,Ni(e,2)):[]},dr.uniqWith=function(t,e){return e="function"==typeof e?e:i,t&&t.length?Bo(t,i,e):[]},dr.unset=function(t,e){return null==t||zo(t,e)},dr.unzip=Ma,dr.unzipWith=ja,dr.update=function(t,e,n){return null==t?t:Ko(t,e,qo(n))},dr.updateWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:Ko(t,e,qo(n),r)},dr.values=dc,dr.valuesIn=function(t){return null==t?[]:mn(t,ic(t))},dr.without=Da,dr.words=xc,dr.wrap=function(t,e){return ls(qo(e),t)},dr.xor=Pa,dr.xorBy=Ra,dr.xorWith=Na,dr.zip=La,dr.zipObject=function(t,e){return Vo(t||[],e||[],Tr)},dr.zipObjectDeep=function(t,e){return Vo(t||[],e||[],Co)},dr.zipWith=Ba,dr.entries=fc,dr.entriesIn=pc,dr.extend=Xs,dr.extendWith=Js,Pc(dr,dr),dr.add=Vc,dr.attempt=Ec,dr.camelCase=hc,dr.capitalize=gc,dr.ceil=Hc,dr.clamp=function(t,e,n){return n===i&&(n=e,e=i),n!==i&&(n=(n=Ws(n))==n?n:0),e!==i&&(e=(e=Ws(e))==e?e:0),Pr(Ws(t),e,n)},dr.clone=function(t){return Rr(t,h)},dr.cloneDeep=function(t){return Rr(t,p|h)},dr.cloneDeepWith=function(t,e){return Rr(t,p|h,e="function"==typeof e?e:i)},dr.cloneWith=function(t,e){return Rr(t,h,e="function"==typeof e?e:i)},dr.conformsTo=function(t,e){return null==e||Nr(t,e,oc(e))},dr.deburr=yc,dr.defaultTo=function(t,e){return null==t||t!=t?e:t},dr.divide=qc,dr.endsWith=function(t,e,n){t=Hs(t),e=Lo(e);var r=t.length,o=n=n===i?r:Pr(Fs(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},dr.eq=ds,dr.escape=function(t){return(t=Hs(t))&&Et.test(t)?t.replace(kt,kn):t},dr.escapeRegExp=function(t){return(t=Hs(t))&&Dt.test(t)?t.replace(jt,"\\$&"):t},dr.every=function(t,e,n){var r=vs(t)?Ge:Fr;return n&&Xi(t,e,n)&&(e=i),r(t,Ni(e,3))},dr.find=Wa,dr.findIndex=ya,dr.findKey=function(t,e){return an(t,Ni(e,3),Xr)},dr.findLast=Va,dr.findLastIndex=va,dr.findLastKey=function(t,e){return an(t,Ni(e,3),Jr)},dr.floor=Xc,dr.forEach=Ha,dr.forEachRight=qa,dr.forIn=function(t,e){return null==t?t:Hr(t,Ni(e,3),ic)},dr.forInRight=function(t,e){return null==t?t:qr(t,Ni(e,3),ic)},dr.forOwn=function(t,e){return t&&Xr(t,Ni(e,3))},dr.forOwnRight=function(t,e){return t&&Jr(t,Ni(e,3))},dr.get=Qs,dr.gt=hs,dr.gte=gs,dr.has=function(t,e){return null!=t&&Wi(t,e,to)},dr.hasIn=tc,dr.head=ba,dr.identity=Ic,dr.includes=function(t,e,n,r){t=bs(t)?t:dc(t),n=n&&!r?Fs(n):0;var o=t.length;return n<0&&(n=Hn(o+n,0)),Ps(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&cn(t,e,n)>-1},dr.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:Fs(n);return o<0&&(o=Hn(r+o,0)),cn(t,e,o)},dr.inRange=function(t,e,n){return e=Ks(e),n===i?(n=e,e=0):n=Ks(n),function(t,e,n){return t>=qn(e,n)&&t<Hn(e,n)}(t=Ws(t),e,n)},dr.invoke=rc,dr.isArguments=ys,dr.isArray=vs,dr.isArrayBuffer=ms,dr.isArrayLike=bs,dr.isArrayLikeObject=_s,dr.isBoolean=function(t){return!0===t||!1===t||Ts(t)&&Zr(t)==V},dr.isBuffer=ws,dr.isDate=Ss,dr.isElement=function(t){return Ts(t)&&1===t.nodeType&&!Ms(t)},dr.isEmpty=function(t){if(null==t)return!0;if(bs(t)&&(vs(t)||"string"==typeof t||"function"==typeof t.splice||ws(t)||Ns(t)||ys(t)))return!t.length;var e=Ui(t);if(e==Y||e==nt)return!t.size;if($i(t))return!uo(t).length;for(var n in t)if(le.call(t,n))return!1;return!0},dr.isEqual=function(t,e){return io(t,e)},dr.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:i)?n(t,e):i;return r===i?io(t,e,i,n):!!r},dr.isError=ks,dr.isFinite=function(t){return"number"==typeof t&&Un(t)},dr.isFunction=xs,dr.isInteger=Es,dr.isLength=Os,dr.isMap=As,dr.isMatch=function(t,e){return t===e||ao(t,e,Bi(e))},dr.isMatchWith=function(t,e,n){return n="function"==typeof n?n:i,ao(t,e,Bi(e),n)},dr.isNaN=function(t){return Is(t)&&t!=+t},dr.isNative=function(t){if(Yi(t))throw new Zt(s);return so(t)},dr.isNil=function(t){return null==t},dr.isNull=function(t){return null===t},dr.isNumber=Is,dr.isObject=Cs,dr.isObjectLike=Ts,dr.isPlainObject=Ms,dr.isRegExp=js,dr.isSafeInteger=function(t){return Es(t)&&t>=-P&&t<=P},dr.isSet=Ds,dr.isString=Ps,dr.isSymbol=Rs,dr.isTypedArray=Ns,dr.isUndefined=function(t){return t===i},dr.isWeakMap=function(t){return Ts(t)&&Ui(t)==at},dr.isWeakSet=function(t){return Ts(t)&&Zr(t)==st},dr.join=function(t,e){return null==t?"":Wn.call(t,e)},dr.kebabCase=vc,dr.last=ka,dr.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=Fs(n))<0?Hn(r+o,0):qn(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):sn(t,ln,o,!0)},dr.lowerCase=mc,dr.lowerFirst=bc,dr.lt=Ls,dr.lte=Bs,dr.max=function(t){return t&&t.length?Ur(t,Ic,Qr):i},dr.maxBy=function(t,e){return t&&t.length?Ur(t,Ni(e,2),Qr):i},dr.mean=function(t){return fn(t,Ic)},dr.meanBy=function(t,e){return fn(t,Ni(e,2))},dr.min=function(t){return t&&t.length?Ur(t,Ic,fo):i},dr.minBy=function(t,e){return t&&t.length?Ur(t,Ni(e,2),fo):i},dr.stubArray=Uc,dr.stubFalse=Wc,dr.stubObject=function(){return{}},dr.stubString=function(){return""},dr.stubTrue=function(){return!0},dr.multiply=Gc,dr.nth=function(t,e){return t&&t.length?vo(t,Fs(e)):i},dr.noConflict=function(){return De._===this&&(De._=ge),this},dr.noop=Rc,dr.now=Qa,dr.pad=function(t,e,n){t=Hs(t);var r=(e=Fs(e))?Mn(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return mi(zn(o),n)+t+mi(Bn(o),n)},dr.padEnd=function(t,e,n){t=Hs(t);var r=(e=Fs(e))?Mn(t):0;return e&&r<e?t+mi(e-r,n):t},dr.padStart=function(t,e,n){t=Hs(t);var r=(e=Fs(e))?Mn(t):0;return e&&r<e?mi(e-r,n)+t:t},dr.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Jn(Hs(t).replace(Rt,""),e||0)},dr.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Xi(t,e,n)&&(e=n=i),n===i&&("boolean"==typeof e?(n=e,e=i):"boolean"==typeof t&&(n=t,t=i)),t===i&&e===i?(t=0,e=1):(t=Ks(t),e===i?(e=t,t=0):e=Ks(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var o=Gn();return qn(t+o*(e-t+Ae("1e-"+((o+"").length-1))),e)}return So(t,e)},dr.reduce=function(t,e,n){var r=vs(t)?en:hn,o=arguments.length<3;return r(t,Ni(e,4),n,o,zr)},dr.reduceRight=function(t,e,n){var r=vs(t)?nn:hn,o=arguments.length<3;return r(t,Ni(e,4),n,o,Kr)},dr.repeat=function(t,e,n){return e=(n?Xi(t,e,n):e===i)?1:Fs(e),ko(Hs(t),e)},dr.replace=function(){var t=arguments,e=Hs(t[0]);return t.length<3?e:e.replace(t[1],t[2])},dr.result=function(t,e,n){var r=-1,o=(e=Xo(e,t)).length;for(o||(o=1,t=i);++r<o;){var a=null==t?i:t[la(e[r])];a===i&&(r=o,a=n),t=xs(a)?a.call(t):a}return t},dr.round=Yc,dr.runInContext=t,dr.sample=function(t){return(vs(t)?xr:Eo)(t)},dr.size=function(t){if(null==t)return 0;if(bs(t))return Ps(t)?Mn(t):t.length;var e=Ui(t);return e==Y||e==nt?t.size:uo(t).length},dr.snakeCase=_c,dr.some=function(t,e,n){var r=vs(t)?rn:jo;return n&&Xi(t,e,n)&&(e=i),r(t,Ni(e,3))},dr.sortedIndex=function(t,e){return Do(t,e)},dr.sortedIndexBy=function(t,e,n){return Po(t,e,Ni(n,2))},dr.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=Do(t,e);if(r<n&&ds(t[r],e))return r}return-1},dr.sortedLastIndex=function(t,e){return Do(t,e,!0)},dr.sortedLastIndexBy=function(t,e,n){return Po(t,e,Ni(n,2),!0)},dr.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=Do(t,e,!0)-1;if(ds(t[n],e))return n}return-1},dr.startCase=wc,dr.startsWith=function(t,e,n){return t=Hs(t),n=null==n?0:Pr(Fs(n),0,t.length),e=Lo(e),t.slice(n,n+e.length)==e},dr.subtract=$c,dr.sum=function(t){return t&&t.length?gn(t,Ic):0},dr.sumBy=function(t,e){return t&&t.length?gn(t,Ni(e,2)):0},dr.template=function(t,e,n){var r=dr.templateSettings;n&&Xi(t,e,n)&&(e=i),t=Hs(t),e=Js({},e,r,Oi);var o,a,s=Js({},e.imports,r.imports,Oi),c=oc(s),u=mn(s,c),l=0,f=e.interpolate||Yt,p="__p += '",d=ne((e.escape||Yt).source+"|"+f.source+"|"+(f===Tt?Ut:Yt).source+"|"+(e.evaluate||Yt).source+"|$","g"),h="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++Ee+"]")+"\n";t.replace(d,function(e,n,r,i,s,c){return r||(r=i),p+=t.slice(l,c).replace($t,xn),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=c+e.length,e}),p+="';\n";var g=e.variable;g||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(bt,""):p).replace(_t,"$1").replace(wt,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y=Ec(function(){return Qt(c,h+"return "+p).apply(i,u)});if(y.source=p,ks(y))throw y;return y},dr.times=function(t,e){if((t=Fs(t))<1||t>P)return[];var n=L,r=qn(t,L);e=Ni(e),t-=L;for(var o=yn(r,e);++n<t;)e(n);return o},dr.toFinite=Ks,dr.toInteger=Fs,dr.toLength=Us,dr.toLower=function(t){return Hs(t).toLowerCase()},dr.toNumber=Ws,dr.toSafeInteger=function(t){return t?Pr(Fs(t),-P,P):0===t?t:0},dr.toString=Hs,dr.toUpper=function(t){return Hs(t).toUpperCase()},dr.trim=function(t,e,n){if((t=Hs(t))&&(n||e===i))return t.replace(Pt,"");if(!t||!(e=Lo(e)))return t;var r=jn(t),o=jn(e);return Go(r,_n(r,o),wn(r,o)+1).join("")},dr.trimEnd=function(t,e,n){if((t=Hs(t))&&(n||e===i))return t.replace(Nt,"");if(!t||!(e=Lo(e)))return t;var r=jn(t);return Go(r,0,wn(r,jn(e))+1).join("")},dr.trimStart=function(t,e,n){if((t=Hs(t))&&(n||e===i))return t.replace(Rt,"");if(!t||!(e=Lo(e)))return t;var r=jn(t);return Go(r,_n(r,jn(e))).join("")},dr.truncate=function(t,e){var n=C,r=T;if(Cs(e)){var o="separator"in e?e.separator:o;n="length"in e?Fs(e.length):n,r="omission"in e?Lo(e.omission):r}var a=(t=Hs(t)).length;if(En(t)){var s=jn(t);a=s.length}if(n>=a)return t;var c=n-Mn(r);if(c<1)return r;var u=s?Go(s,0,c).join(""):t.slice(0,c);if(o===i)return u+r;if(s&&(c+=u.length-c),js(o)){if(t.slice(c).search(o)){var l,f=u;for(o.global||(o=ne(o.source,Hs(Wt.exec(o))+"g")),o.lastIndex=0;l=o.exec(f);)var p=l.index;u=u.slice(0,p===i?c:p)}}else if(t.indexOf(Lo(o),c)!=c){var d=u.lastIndexOf(o);d>-1&&(u=u.slice(0,d))}return u+r},dr.unescape=function(t){return(t=Hs(t))&&xt.test(t)?t.replace(St,Dn):t},dr.uniqueId=function(t){var e=++fe;return Hs(t)+e},dr.upperCase=Sc,dr.upperFirst=kc,dr.each=Ha,dr.eachRight=qa,dr.first=ba,Pc(dr,(Jc={},Xr(dr,function(t,e){le.call(dr.prototype,e)||(Jc[e]=t)}),Jc),{chain:!1}),dr.VERSION="4.17.11",Xe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){dr[t].placeholder=dr}),Xe(["drop","take"],function(t,e){vr.prototype[t]=function(n){n=n===i?1:Hn(Fs(n),0);var r=this.__filtered__&&!e?new vr(this):this.clone();return r.__filtered__?r.__takeCount__=qn(n,r.__takeCount__):r.__views__.push({size:qn(n,L),type:t+(r.__dir__<0?"Right":"")}),r},vr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Xe(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==M||3==n;vr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Ni(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),Xe(["head","last"],function(t,e){var n="take"+(e?"Right":"");vr.prototype[t]=function(){return this[n](1).value()[0]}}),Xe(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");vr.prototype[t]=function(){return this.__filtered__?new vr(this):this[n](1)}}),vr.prototype.compact=function(){return this.filter(Ic)},vr.prototype.find=function(t){return this.filter(t).head()},vr.prototype.findLast=function(t){return this.reverse().find(t)},vr.prototype.invokeMap=xo(function(t,e){return"function"==typeof t?new vr(this):this.map(function(n){return ro(n,t,e)})}),vr.prototype.reject=function(t){return this.filter(cs(Ni(t)))},vr.prototype.slice=function(t,e){t=Fs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new vr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==i&&(n=(e=Fs(e))<0?n.dropRight(-e):n.take(e-t)),n)},vr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},vr.prototype.toArray=function(){return this.take(L)},Xr(vr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=dr[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);o&&(dr.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,c=e instanceof vr,u=s[0],l=c||vs(e),f=function(t){var e=o.apply(dr,tn([t],s));return r&&p?e[0]:e};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var p=this.__chain__,d=!!this.__actions__.length,h=a&&!p,g=c&&!d;if(!a&&l){e=g?e:new vr(this);var y=t.apply(e,s);return y.__actions__.push({func:Ka,args:[f],thisArg:i}),new yr(y,p)}return h&&g?t.apply(this,s):(y=this.thru(f),h?r?y.value()[0]:y.value():y)})}),Xe(["pop","push","shift","sort","splice","unshift"],function(t){var e=ie[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);dr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var o=this.value();return e.apply(vs(o)?o:[],t)}return this[n](function(n){return e.apply(vs(n)?n:[],t)})}}),Xr(vr.prototype,function(t,e){var n=dr[e];if(n){var r=n.name+"";(or[r]||(or[r]=[])).push({name:e,func:n})}}),or[hi(i,m).name]=[{name:"wrapper",func:i}],vr.prototype.clone=function(){var t=new vr(this.__wrapped__);return t.__actions__=ri(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=ri(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=ri(this.__views__),t},vr.prototype.reverse=function(){if(this.__filtered__){var t=new vr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},vr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=vs(t),r=e<0,o=n?t.length:0,i=function(t,e,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=qn(e,t+a);break;case"takeRight":t=Hn(t,e-a)}}return{start:t,end:e}}(0,o,this.__views__),a=i.start,s=i.end,c=s-a,u=r?s:a-1,l=this.__iteratees__,f=l.length,p=0,d=qn(c,this.__takeCount__);if(!n||!r&&o==c&&d==c)return Uo(t,this.__actions__);var h=[];t:for(;c--&&p<d;){for(var g=-1,y=t[u+=e];++g<f;){var v=l[g],m=v.iteratee,b=v.type,_=m(y);if(b==j)y=_;else if(!_){if(b==M)continue t;break t}}h[p++]=y}return h},dr.prototype.at=Fa,dr.prototype.chain=function(){return za(this)},dr.prototype.commit=function(){return new yr(this.value(),this.__chain__)},dr.prototype.next=function(){this.__values__===i&&(this.__values__=zs(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},dr.prototype.plant=function(t){for(var e,n=this;n instanceof gr;){var r=pa(n);r.__index__=0,r.__values__=i,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},dr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof vr){var e=t;return this.__actions__.length&&(e=new vr(this)),(e=e.reverse()).__actions__.push({func:Ka,args:[Ca],thisArg:i}),new yr(e,this.__chain__)}return this.thru(Ca)},dr.prototype.toJSON=dr.prototype.valueOf=dr.prototype.value=function(){return Uo(this.__wrapped__,this.__actions__)},dr.prototype.first=dr.prototype.head,Be&&(dr.prototype[Be]=function(){return this}),dr}();De._=Pn,(o=function(){return Pn}.call(e,n,e,r))===i||(r.exports=o)}).call(this)}).call(this,n(11),n(195)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){(e=t.exports=n(13)(!1)).push([t.i,"._2BgUMtJ106zbazVrcLXHM_[name='playbackRate'] {\n font-size: 1em;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n height: 48px;\n width: 97px;\n border-radius: 0;\n background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDEyNS4zMDQgMTI1LjMwNCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTI1LjMwNCAxMjUuMzA0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCI+CjxnPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSI2Mi42NTIsMTAzLjg5NSAwLDIxLjQwOSAxMjUuMzA0LDIxLjQwOSAgICIgZmlsbD0iI0ZGRkZGRiIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=);\n background-repeat: no-repeat;\n background-position: 85% center;\n color: white;\n border-color: transparent;\n padding-left: 32px;\n}\n\n@media (max-width: 768px) {\n\n ._2BgUMtJ106zbazVrcLXHM_[name='playbackRate'] {\n width: 100%;\n }\n}\n",""]),e.locals={selectPlayerControl:"_2BgUMtJ106zbazVrcLXHM_"}},function(t,e,n){(e=t.exports=n(13)(!1)).i(n(2),""),e.push([t.i,"._1WfartqsMQnUV_wSkFHsDK {\n margin-bottom: 0.5em;\n}\n\n._1WfartqsMQnUV_wSkFHsDK > * {\n display: inline-block;\n}\n\n._1WfartqsMQnUV_wSkFHsDK > *:not(:last-child) {\n margin-right: 0.5em;\n}\n\n._3rPcOpXEpA4v3uzTLS1eSX {\n width: 48px;\n height: 48px;\n padding: 0.5em;\n border: 0;\n color: white;\n background: "+n(2).locals["color-darkest-grey"]+";\n font-size: 1em;\n cursor: pointer;\n margin-right: 0.3rem;\n margin-top: 0.3rem;\n}\n\n._1DW8XavSPaPJIXN7ZXcWlj {\n width: 70px;\n border: 0;\n color: white;\n font-size: 1em;\n cursor: pointer;\n position: relative;\n margin-right: 0.3rem;\n}\n\n._1DW8XavSPaPJIXN7ZXcWlj::before {\n content: '×';\n position: absolute;\n bottom: -2px;\n left: 21px;\n}\n\n._1DW8XavSPaPJIXN7ZXcWlj > select {\n padding-top: 0.5em;\n padding-bottom: 0.5em;\n height: 100%;\n outline: none;\n width: auto;\n width: 100%;\n color: white;\n background-color: "+n(2).locals["color-darkest-grey"]+";\n}\n\n._3mS-faXSd7Yfr4orJuIHtr {\n display: inline-block;\n text-align: center;\n line-height: 48px;\n padding: 0 1em;\n background-color: "+n(2).locals["color-darkest-grey"]+";\n}\n\n._2Vxd3nyfFGjlkHmLncPusV {\n color: "+n(2).locals["color-light-shilo"]+";\n cursor: pointer;\n font-family: 'Lucida Console', monospace;\n}\n\n._1khgZHQah5tRgvgrRJn9zU {\n color: "+n(2).locals["color-light-grey"]+";\n margin: 0 1em;\n}\n\n.LJdW9VvrCGWyTL_fqC0Sc {\n color: white;\n font-family: 'Lucida Console', monospace;\n}\n\n@media (max-width: 768px) {\n\n ._1WfartqsMQnUV_wSkFHsDK {\n margin: 0 0 10px 0;\n display: grid;\n grid-template-rows: 10% 48px 48px;\n grid-row-gap: 5px;\n }\n\n ._1WfartqsMQnUV_wSkFHsDK > *:not(:last-child) {\n margin: 0;\n }\n\n ._1nw11-besjRWkG3WvfWRaX {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n grid-column-gap: 0.2em;\n }\n\n ._3rPcOpXEpA4v3uzTLS1eSX {\n width: 100%;\n height: 48px;\n margin: 0;\n }\n\n ._1DW8XavSPaPJIXN7ZXcWlj {\n width: 100%;\n border: 0;\n color: white;\n font-size: 1em;\n cursor: pointer;\n position: relative;\n grid-column: 1 / span 2;\n }\n\n ._1DW8XavSPaPJIXN7ZXcWlj::before {\n content: '×';\n position: absolute;\n bottom: 30%;\n left: 21px;\n }\n\n ._1DW8XavSPaPJIXN7ZXcWlj > select {\n padding-top: 0.5em;\n padding-bottom: 0.5em;\n height: 100%;\n outline: none;\n width: auto;\n width: 100%;\n color: white;\n background-color: "+n(2).locals["color-darkest-grey"]+";\n }\n\n ._3mS-faXSd7Yfr4orJuIHtr {\n background-color: transparent;\n align-self: start;\n padding: 0;\n }\n\n ._2Vxd3nyfFGjlkHmLncPusV {\n color: "+n(2).locals["color-light-shilo"]+";\n cursor: pointer;\n float: left;\n font-size: 0.7em;\n line-height: 1em;\n }\n\n ._1khgZHQah5tRgvgrRJn9zU {\n color: "+n(2).locals["color-light-grey"]+";\n margin: 0 1em;\n display: none;\n }\n\n .LJdW9VvrCGWyTL_fqC0Sc {\n color: white;\n font-size: 0.7em;\n float: right;\n line-height: 1em;\n }\n\n ._3vi_81AI7Xn_i2l2Ozi0aq {\n display: none;\n }\n}\n",""]),e.locals={"color-light-shilo":""+n(2).locals["color-light-shilo"],"color-darkest-grey":""+n(2).locals["color-darkest-grey"],"color-light-grey":""+n(2).locals["color-light-grey"],"color-labs-red":""+n(2).locals["color-labs-red"],playerControls:"_1WfartqsMQnUV_wSkFHsDK",playerButton:"_3rPcOpXEpA4v3uzTLS1eSX",playBackRate:"_1DW8XavSPaPJIXN7ZXcWlj",timeBox:"_3mS-faXSd7Yfr4orJuIHtr",currentTime:"_2Vxd3nyfFGjlkHmLncPusV",separator:"_1khgZHQah5tRgvgrRJn9zU",duration:"LJdW9VvrCGWyTL_fqC0Sc",btnsGroup:"_1nw11-besjRWkG3WvfWRaX",pip:"_3vi_81AI7Xn_i2l2Ozi0aq"}},function(t,e,n){(e=t.exports=n(13)(!1)).i(n(2),""),e.push([t.i,"._2z7wWkRxYfWr9Qcm8ELAUS {\n width: 100%;\n -webkit-appearance: none;\n height: 10px;\n background: #747474;\n margin: 0px;\n outline: none;\n cursor: pointer;\n position: absolute;\n bottom: 0;\n left: 0;\n}\n\n._2z7wWkRxYfWr9Qcm8ELAUS::-webkit-slider-thumb {\n -webkit-appearance: none;\n height: 30px;\n width: 16px;\n background: "+n(2).locals["color-labs-red"]+";\n cursor: pointer;\n}\n\n._2z7wWkRxYfWr9Qcm8ELAUS::-moz-range-thumb {\n height: 30px;\n width: 16px;\n background: "+n(2).locals["color-labs-red"]+";\n cursor: pointer;\n border: 0;\n}\n\n._2z7wWkRxYfWr9Qcm8ELAUS::-webkit-slider-runnable-track {\n width: 100%;\n cursor: pointer;\n}\n\ninput[type=range]::-moz-focus-outer {\n border: 0;\n}\n",""]),e.locals={"color-light-grey":""+n(2).locals["color-light-grey"],"color-labs-red":""+n(2).locals["color-labs-red"],bar:"_2z7wWkRxYfWr9Qcm8ELAUS"}},function(t,e,n){(e=t.exports=n(13)(!1)).i(n(2),""),e.push([t.i,"._3_HbgSV47pOppTor4MAmU {\n background: black;\n}\n\n._2Kx6V692d9xv4wt3sArTW- {\n display: inline-flex;\n align-items: flex-start;\n width: 100%;\n}\n\n._2f9vkWDtId_lyOAoafuEoW {\n width: 100%;\n margin: auto;\n padding: 1em;\n position: relative;\n}\n\n._3HTLr_2UulN_iqKuhmcCjg {\n color: white;\n height: 1.2em;\n width: 90vw;\n margin-top: 0;\n margin-bottom: 0.5em;\n font-size: 1.2em;\n overflow: hidden;\n display: inline-block;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n@media (max-width: 768px) {\n\n ._3HTLr_2UulN_iqKuhmcCjg {\n width: 100%;\n margin-top: 0;\n margin-bottom: 0.5em;\n text-align: center;\n font-size: 1.2em;\n line-height: 1.2em;\n padding-top: 1em;\n }\n}\n",""]),e.locals={"color-light-grey":""+n(2).locals["color-light-grey"],topSection:"_3_HbgSV47pOppTor4MAmU",playerSection:"_2Kx6V692d9xv4wt3sArTW-",controlsSection:"_2f9vkWDtId_lyOAoafuEoW",title:"_3HTLr_2UulN_iqKuhmcCjg"}},function(t,e,n){(e=t.exports=n(13)(!1)).push([t.i,"._24N77mDGihC8lEw-gSsC6r {\n cursor: pointer;\n}\n\n/* Desktop size */\n@media (min-width: 768px) {\n\n ._24N77mDGihC8lEw-gSsC6r {\n max-width: 100%;\n }\n}\n\n/* Mobile devices - excluding ipad*/\n@media (max-width: 767px) {\n\n ._24N77mDGihC8lEw-gSsC6r {\n max-width: 100%;\n }\n}",""]),e.locals={videoEl:"_24N77mDGihC8lEw-gSsC6r"}},function(t,e,n){(e=t.exports=n(13)(!1)).i(n(2),""),e.push([t.i,"._2-P6QQvz0q7t4vMg5cIO6c {\n display: inline-block;\n position: relative;\n width: 48px;\n display: inline-block;\n vertical-align: middle;\n margin-right: 1em;\n}\n\n._2WP1leuv4W5kNYP7UQDlkW {\n position: relative;\n display: inline-block;\n width: 48px;\n height: 28px;\n}\n\n._2WP1leuv4W5kNYP7UQDlkW input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n\n._2QDovDj-z5vJ3frE_1kn3B {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n -webkit-transition: 0.4s;\n transition: 0.4s;\n}\n\n._2QDovDj-z5vJ3frE_1kn3B:before {\n position: absolute;\n content: '';\n height: 20px;\n width: 20px;\n left: 4px;\n bottom: 4px;\n background-color: white;\n -webkit-transition: 0.4s;\n transition: 0.4s;\n}\n\ninput:checked + ._2QDovDj-z5vJ3frE_1kn3B {\n background-color: "+n(2).locals["color-labs-red"]+";\n}\n\ninput:focus + ._2QDovDj-z5vJ3frE_1kn3B {\n box-shadow: 0 0 1px "+n(2).locals["color-labs-red"]+";\n}\n\ninput:checked + ._2QDovDj-z5vJ3frE_1kn3B:before {\n -webkit-transform: translateX(20px);\n -ms-transform: translateX(20px);\n transform: translateX(20px);\n}\n",""]),e.locals={"color-labs-red":""+n(2).locals["color-labs-red"],switchContainer:"_2-P6QQvz0q7t4vMg5cIO6c",switch:"_2WP1leuv4W5kNYP7UQDlkW",slider:"_2QDovDj-z5vJ3frE_1kn3B"}},function(t,e,n){(e=t.exports=n(13)(!1)).push([t.i,"._3v2Jpfelf2BQwv2rwSQ9H4 {\n display: inline-block;\n}\n\n._1yZJUMpXRbrtQjcJlQmDM7 {\n height: 2em;\n width: 96px;\n box-sizing: border-box;\n border: none;\n text-align: center;\n font-weight: bold;\n margin-right: 16px;\n vertical-align: middle;\n}\n\n._2S-_LOJWPdwwh1bZgSffh0 {\n font-weight: lighter;\n font-size: 0.8em;\n cursor: pointer;\n}\n",""]),e.locals={offsetContainer:"_3v2Jpfelf2BQwv2rwSQ9H4",inputBox:"_1yZJUMpXRbrtQjcJlQmDM7",button:"_2S-_LOJWPdwwh1bZgSffh0"}},function(t,e,n){(e=t.exports=n(13)(!1)).push([t.i,".JdHo9EaV61lkPYVOnY9Tr {\n position: absolute;\n left: 0;\n right: 0;\n margin: 0 auto;\n width: 30%;\n min-width: 300px;\n min-height: 300px;\n text-align: center;\n vertical-align: middle;\n color: white;\n background: #4a4a4a;\n padding: 1em;\n font-weight: lighter;\n z-index: 2;\n}\n\n._3oFivHVg381f86Dvq_VKeL {\n margin-top: 0;\n margin-bottom: 1em;\n}\n\n._2tvYaCv7psYHm_P5wedE4r {\n position: absolute;\n top: 0;\n right: 0;\n padding: 1em;\n cursor: pointer;\n}\n\n.fIfMHUdGQjz3vMdIEi8Jv {\n display: flex;\n flex-direction: column;\n align-content: flex-start;\n align-items: center;\n margin: 0 auto;\n}\n\n.RR5OSS1kiw_iws7Cl06lo {\n text-align: left;\n align-self: auto;\n margin-bottom: 0.5em;\n}\n\n._3g3SAU451awMxG-h9hkJB {\n display: inline-block;\n min-width: 200px;\n width: 200px;\n}\n\n._3_RdkO-v0sVmSoXjTWPLAM {\n height: 2em;\n width: 48px;\n box-sizing: border-box;\n border: none;\n text-align: center;\n font-weight: bold;\n margin-right: 16px;\n vertical-align: middle;\n}\n\n._1jFCVDNuZCVANMQ1tPvi2L {\n display: block;\n text-align: center;\n}\n",""]),e.locals={settings:"JdHo9EaV61lkPYVOnY9Tr",header:"_3oFivHVg381f86Dvq_VKeL",closeButton:"_2tvYaCv7psYHm_P5wedE4r",controlsContainer:"fIfMHUdGQjz3vMdIEi8Jv",settingElement:"RR5OSS1kiw_iws7Cl06lo",label:"_3g3SAU451awMxG-h9hkJB",rollbackValue:"_3_RdkO-v0sVmSoXjTWPLAM",timecodeLabel:"_1jFCVDNuZCVANMQ1tPvi2L"}},function(t,e,n){(e=t.exports=n(13)(!1)).i(n(2),""),e.push([t.i,"._3vz4i9xSEAUQCef4V49RqJ {\n font-size: 0.85em;\n padding: 1em;\n margin: 0 auto;\n height: auto;\n vertical-align: middle;\n color: black;\n background: "+n(2).locals["color-lightest-grey"]+";\n z-index: 2;\n position: absolute;\n top: 0;\n right: 0;\n}\n\n.XKXO62F3z7twaGOQau4AA {\n margin-top: 0;\n margin-bottom: 1em;\n text-align: center;\n}\n\n._38JlPnDM81pTOO6XyC_2d {\n position: absolute;\n top: 0;\n right: 0;\n padding: 1em;\n cursor: pointer;\n z-index: 3;\n}\n\n._3hIDqyJI9sseBtlYSXKcjQ {\n list-style: none;\n padding: 1em;\n margin: 0 auto;\n}\n\n.CxEhL3Nl4a1OgiWFaRSwU {\n margin: 0 auto;\n margin-bottom: 0.5em;\n}\n\n._3w39IqtcTpY5o5oh4Ohe5u {\n display: inline-block;\n width: 6em;\n background: "+n(2).locals["color-labs-red"]+";\n font-weight: lighter;\n color: white;\n padding: 0 0;\n border-radius: 1em;\n text-align: center;\n margin-right: 1em;\n}\n\n._2adwK9rVdwW2MXgO_2B02B {\n display: inline-block;\n text-align: left;\n}\n",""]),e.locals={"color-lightest-grey":""+n(2).locals["color-lightest-grey"],"color-labs-red":""+n(2).locals["color-labs-red"],"color-dark-grey":""+n(2).locals["color-dark-grey"],shortcuts:"_3vz4i9xSEAUQCef4V49RqJ",header:"XKXO62F3z7twaGOQau4AA",closeButton:"_38JlPnDM81pTOO6XyC_2d",list:"_3hIDqyJI9sseBtlYSXKcjQ",listItem:"CxEhL3Nl4a1OgiWFaRSwU",shortcut:"_3w39IqtcTpY5o5oh4Ohe5u",shortcutLabel:"_2adwK9rVdwW2MXgO_2B02B"}},function(t,e,n){"use strict";n.r(e);var r=n(0),o=n.n(r),i=n(1),a=n.n(i),s=n(6),c=n(7),u=n(14),l=Object(u.b)("div").withConfig({displayName:"Arrow__Base",componentId:"sc-23ct68-0"})(["position:absolute;width:","px;height:","px;background:",";"],function(t){return t.width},function(t){return t.width},function(t){return t.background}),f=Object(u.b)(l).withConfig({displayName:"Arrow__Up",componentId:"sc-23ct68-1"})(["transform:translateX(-50%) translateY(50%) rotateZ(45deg);bottom:100%;left:50%;border-left:1px solid ",";border-top:1px solid ",";"],function(t){return t.border},function(t){return t.border}),p=Object(u.b)(l).withConfig({displayName:"Arrow__Down",componentId:"sc-23ct68-2"})(["transform:translateX(-50%) translateY(-50%) rotateZ(45deg);top:100%;left:50%;border-right:1px solid ",";border-bottom:1px solid ",";"],function(t){return t.border},function(t){return t.border}),d=Object(u.b)(l).withConfig({displayName:"Arrow__Left",componentId:"sc-23ct68-3"})(["transform:translateX(50%) translateY(-50%) rotateZ(45deg);right:100%;top:50%;border-left:1px solid ",";border-bottom:1px solid ",";"],function(t){return t.border},function(t){return t.border}),h={left:Object(u.b)(l).withConfig({displayName:"Arrow__Right",componentId:"sc-23ct68-4"})(["transform:translateX(-50%) translateY(-50%) rotateZ(45deg);left:100%;top:50%;border-right:1px solid ",";border-top:1px solid ",";"],function(t){return t.border},function(t){return t.border}),top:p,right:d,bottom:f},g=function(t){var e=t.background,n=t.border,r=t.placement,i=t.width,a=h[r]||h.top;return i>0&&o.a.createElement(a,{background:e,border:n,width:i})};g.propTypes={};var y=g,v=a.a.oneOf(["linear","ease","ease-in","ease-out","ease-in-out"]),m=/^cubic-bezier\((-?((\d*\.\d+)|\d+),){3}(-?(\d*\.\d+)|\d+)\)$/,b=(a.a.oneOfType([v,function(t,e,n){if(!m.test(t[e]))return new Error("Invalid prop `"+e+"` supplied to `"+n+"`. Validation failed.")}]),Object(u.c)(["0%{opacity:0;}100%{opacity:1;}"])),_=Object(u.b)("div").withConfig({displayName:"Tooltip__Base",componentId:"sc-19cbsjq-0"})(["position:absolute;",";",";"],function(t){return t.fadeDuration&&t.fadeDuration>0&&function(t){return Object(u.a)(["animation:","ms "," 0s 1 ",";"],t.fadeDuration,t.fadeEasing,b)}(t)},function(t){return t.zIndex&&"z-index: "+t.zIndex+";"}),w=Object(u.b)(_).withConfig({displayName:"Tooltip__Top",componentId:"sc-19cbsjq-1"})(["bottom:100%;left:50%;transform:translateX(-50%);margin-bottom:","px;"],function(t){return t.offset}),S=Object(u.b)(_).withConfig({displayName:"Tooltip__Bottom",componentId:"sc-19cbsjq-2"})(["top:100%;left:50%;transform:translateX(-50%);margin-top:","px;"],function(t){return t.offset}),k={left:Object(u.b)(_).withConfig({displayName:"Tooltip__Left",componentId:"sc-19cbsjq-3"})(["right:100%;top:50%;transform:translateY(-50%);margin-right:","px;"],function(t){return t.offset}),top:w,right:Object(u.b)(_).withConfig({displayName:"Tooltip__Right",componentId:"sc-19cbsjq-4"})(["left:100%;top:50%;transform:translateY(-50%);margin-left:","px;"],function(t){return t.offset}),bottom:S},x=function(t){var e=t.children,n=t.offset,r=t.open,i=t.placement,a=t.zIndex,s=t.fadeDuration,c=t.fadeEasing,u=k[i]||k.top;return r&&o.a.createElement(u,{offset:n,zIndex:a,fadeDuration:s,fadeEasing:c},e)};x.propTypes={};var E=x,O=Object(u.b)("div").withConfig({displayName:"Bubble",componentId:"sc-1juk677-0"})(["color:",";background:",";border-radius:",";border:1px solid ",";padding:",";font-size:",";font-family:",";"],function(t){return t.color?t.color:"inherit"},function(t){return t.background?t.background:"inherit"},function(t){return t.radius?t.radius+"px":0},function(t){return t.border},function(t){return t.padding?t.padding+"px":0},function(t){return t.fontSize},function(t){return t.fontFamily});O.propTypes={color:a.a.string,background:a.a.string,padding:a.a.number,radius:a.a.number,fontSize:a.a.string,fontFamily:a.a.string};var C,T=O,A=((C=["",""]).raw=["",""],C);var I=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};var M=u.b.div.withConfig({displayName:"src__Container",componentId:"a8m9zo-0"})(["position:relative;display:inline-block;"]),j=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this));return n.state={open:!1},n.handleMouseEnter=n.handleMouseEnter.bind(n),n.handleMouseLeave=n.handleMouseLeave.bind(n),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.handleMouseEnter=function(){this.setState({open:!0})},e.prototype.handleMouseLeave=function(){this.setState({open:!1})},e.prototype.render=function(){var t=this.state.open,e=this.props,n=e.arrow,r=e.background,i=e.border,a=e.children,s=e.color,c=e.content,u=e.customCss,l=e.fadeDuration,f=e.fadeEasing,p=e.fixed,d=e.fontFamily,h=e.fontSize,g=e.offset,v=e.padding,m=e.placement,b=e.radius,_=e.zIndex,w=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(e,["arrow","background","border","children","color","content","customCss","fadeDuration","fadeEasing","fixed","fontFamily","fontSize","offset","padding","placement","radius","zIndex"]),S=null!=a,k=o.a.createElement(E,{open:!(S&&!p)||t,placement:m,offset:g+n,zIndex:_,fadeEasing:f,fadeDuration:l},o.a.createElement(T,{background:r,border:i,color:s,radius:b,fontFamily:d,fontSize:h,padding:v},o.a.createElement(y,{width:n,background:r,border:i,color:s,placement:m}),c));return S?o.a.createElement(P,I({onMouseEnter:p?void 0:this.handleMouseEnter,onMouseLeave:p?void 0:this.handleMouseLeave},w,{_css:u}),a,k):o.a.createElement(R,I({},w,{_css2:u}),k)},e}(o.a.Component);j.propTypes={},j.defaultProps={arrow:8,background:"#000",border:"#000",children:null,color:"#fff",fadeDuration:0,fadeEasing:"linear",fixed:!1,fontFamily:"inherit",fontSize:"inherit",offset:0,padding:16,placement:"top",radius:0,zIndex:1},j.displayName="Tooltip.Wrapper",E.displayName="Tooltip",T.displayName="Tooltip.Bubble",y.displayName="Tooltip.Arrow";var D=j,P=Object(u.b)(M)(A,function(t){return t._css}),R=Object(u.b)(M)(A,function(t){return t._css2}),N=n(65),L=n(99),B=n(64),z=n(66),K=n(67),F=n(8),U=n(18),W=n.n(U);function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function H(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}function q(t){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function X(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function J(t,e){return(J=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function G(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Y=function(t){function e(t){var n,r,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,i=q(e).call(this,t),n=!i||"object"!==V(i)&&"function"!=typeof i?X(r):i,G(X(n),"ifPresentRetrieveTranscriptFromLocalStorage",function(){var t=n.timedTextEditorRef;t&&t.current&&(t.current.isPresentInLocalStorage(n.props.mediaUrl)?(console.info("Already present in local storage."),t.current.loadLocalSavedData(n.props.mediaUrl)):console.info("Not present in local storage."))}),G(X(n),"handleWordClick",function(t){n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"TranscriptEditor",action:"doubleClickOnWord",name:"startTime",value:Object(F.secondsToTimecode)(t)}),n.setCurrentTime(t)}),G(X(n),"handleTimeUpdate",function(t){var e=t.target.currentTime;n.setState({currentTime:e})}),G(X(n),"handlePlayMedia",function(t){n.playMedia(t)}),G(X(n),"handleIsPlaying",function(){return n.isPlaying()}),G(X(n),"handleIsScrollIntoViewChange",function(t){var e=t.target.checked;n.setState({isScrollIntoViewOn:e}),n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"TranscriptEditor",action:"handleIsScrollIntoViewChange",name:"isScrollIntoViewOn",value:e})}),G(X(n),"handlePauseWhileTyping",function(t){var e=t.target.checked;n.setState({isPauseWhileTypingOn:e}),n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"TranscriptEditor",action:"handlePauseWhileTyping",name:"isPauseWhileTypingOn",value:e})}),G(X(n),"handleRollBackValueInSeconds",function(t){var e=t.target.value;n.setState({rollBackValueInSeconds:e}),n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"TranscriptEditor",action:"handleRollBackValueInSeconds",name:"rollBackValueInSeconds",value:e})}),G(X(n),"handleSetTimecodeOffset",function(t){n.setState({timecodeOffset:t},function(){n.timedTextEditorRef.current.forceUpdate()})}),G(X(n),"handleShowTimecodes",function(t){var e=t.target.checked;n.setState({showTimecodes:e}),n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"TranscriptEditor",action:"handleShowTimecodes",name:"showTimecodes",value:e})}),G(X(n),"handleShowSpeakers",function(t){var e=t.target.checked;n.setState({showSpeakers:e}),n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"TranscriptEditor",action:"handleShowSpeakers",name:"showSpeakers",value:e})}),G(X(n),"handleSettingsToggle",function(){n.setState(function(t){return{showSettings:!t.showSettings}}),n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"TranscriptEditor",action:"handleSettingsToggle",name:"showSettings",value:!n.state.showSettings})}),G(X(n),"handleShortcutsToggle",function(){n.setState(function(t){return{showShortcuts:!t.showShortcuts}}),n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"TranscriptEditor",action:"handleShortcutsToggle",name:"showShortcuts",value:!n.state.showShortcuts})}),G(X(n),"getEditorContent",function(t){return n.timedTextEditorRef.current.getEditorContent(t)}),G(X(n),"handlePreviewIsDisplayed",function(){n.setState({previewIsDisplayed:!n.state.previewIsDisplayed})}),G(X(n),"onLoadedDataGetDuration",function(t){var e=t.target.duration,r=e+n.state.timecodeOffset,o=Object(F.secondsToTimecode)(r);n.setState({mediaDuration:o}),n.props.handleAnalyticsEvents&&n.props.handleAnalyticsEvents({category:"TranscriptEditor",action:"onLoadedDataGetDuration",name:"durationInSeconds-WithoutOffset",value:Object(F.secondsToTimecode)(e)})}),G(X(n),"handleChangePreviewViewWidth",function(t){var e=t.target.value;n.setState({previewViewWidth:e})}),G(X(n),"handleSaveTranscript",function(){return alert("The changes to this transcript have been saved in your browser"),n.timedTextEditorRef.current.localSave(n.props.mediaUrl)}),n.videoRef=o.a.createRef(),n.state={currentTime:0,lastLocalSavedTime:"",transcriptData:null,isScrollIntoViewOn:!1,showSettings:!1,showShortcuts:!1,isPauseWhileTypingOn:!0,rollBackValueInSeconds:15,timecodeOffset:0,showTimecodes:!0,showSpeakers:!0,previewIsDisplayed:!0,mediaDuration:"00:00:00:00"},n.timedTextEditorRef=o.a.createRef(),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&J(t,e)}(e,o.a.Component),n=e,i=[{key:"getDerivedStateFromProps",value:function(t){return null===t.transcriptData?null:{transcriptData:t.transcriptData}}}],(r=[{key:"componentDidUpdate",value:function(t,e){e.transcriptData!==this.state.transcriptData&&t.mediaUrl!==this.props.mediaUrl?(console.info("Transcript and media"),this.ifPresentRetrieveTranscriptFromLocalStorage()):e.transcriptData===this.state.transcriptData&&t.mediaUrl!==this.props.mediaUrl?(console.info("Transcript first and then media"),this.ifPresentRetrieveTranscriptFromLocalStorage()):e.transcriptData!==this.state.transcriptData&&t.mediaUrl===this.props.mediaUrl&&(console.info("Media first and then transcript"),this.ifPresentRetrieveTranscriptFromLocalStorage())}},{key:"render",value:function(){var t=this,e=o.a.createElement(B.default,{mediaUrl:this.props.mediaUrl,onTimeUpdate:this.handleTimeUpdate,videoRef:this.videoRef,previewIsDisplayed:this.state.previewIsDisplayed,onLoadedDataGetDuration:this.onLoadedDataGetDuration}),n=o.a.createElement(L.default,{title:this.props.title?this.props.title:"",mediaDuration:this.state.mediaDuration,hookSeek:function(e){return t.setCurrentTime=e},hookPlayMedia:function(e){return t.playMedia=e},hookIsPlaying:function(e){return t.isPlaying=e},rollBackValueInSeconds:this.state.rollBackValueInSeconds,timecodeOffset:this.state.timecodeOffset,mediaUrl:this.props.mediaUrl,handleAnalyticsEvents:this.props.handleAnalyticsEvents,videoRef:this.videoRef,handleSaveTranscript:this.handleSaveTranscript}),r=o.a.createElement(z.default,{handleSettingsToggle:this.handleSettingsToggle,defaultValuePauseWhileTyping:this.state.isPauseWhileTypingOn,defaultValueScrollSync:this.state.isScrollIntoViewOn,defaultRollBackValueInSeconds:this.state.rollBackValueInSeconds,timecodeOffset:this.state.timecodeOffset,showTimecodes:this.state.showTimecodes,showSpeakers:this.state.showSpeakers,handlePauseWhileTyping:this.handlePauseWhileTyping,handleIsScrollIntoViewChange:this.handleIsScrollIntoViewChange,handleRollBackValueInSeconds:this.handleRollBackValueInSeconds,handleSetTimecodeOffset:this.handleSetTimecodeOffset,handleShowTimecodes:this.handleShowTimecodes,handleShowSpeakers:this.handleShowSpeakers,handleAnalyticsEvents:this.props.handleAnalyticsEvents,previewIsDisplayed:this.state.previewIsDisplayed,handlePreviewIsDisplayed:this.handlePreviewIsDisplayed,handleChangePreviewViewWidth:this.handleChangePreviewViewWidth}),i=o.a.createElement(K.default,{handleShortcutsToggle:this.handleShortcutsToggle}),a=o.a.createElement(N.default,{fileName:this.props.fileName,transcriptData:this.state.transcriptData,timecodeOffset:this.state.timecodeOffset,onWordClick:this.handleWordClick,playMedia:this.handlePlayMedia,isPlaying:this.handleIsPlaying,currentTime:this.state.currentTime,isEditable:this.props.isEditable,sttJsonType:this.props.sttJsonType,mediaUrl:this.props.mediaUrl,isScrollIntoViewOn:this.state.isScrollIntoViewOn,isPauseWhileTypingOn:this.state.isPauseWhileTypingOn,showTimecodes:this.state.showTimecodes,showSpeakers:this.state.showSpeakers,ref:this.timedTextEditorRef,handleAnalyticsEvents:this.props.handleAnalyticsEvents}),u=o.a.createElement("div",{className:W.a.helpMessage},o.a.createElement("span",null,o.a.createElement(s.a,{className:W.a.icon,icon:c.f}),"Double click on a word or timestamp to jump to that point in the video."),o.a.createElement("span",null,o.a.createElement(s.a,{className:W.a.icon,icon:c.d}),"Start typing to edit text."),o.a.createElement("span",null,o.a.createElement(s.a,{className:W.a.icon,icon:c.m}),"You can add and change names of speakers in your transcript."),o.a.createElement("span",null,o.a.createElement(s.a,{className:W.a.icon,icon:c.e}),"Use keyboard shortcuts for quick control."),o.a.createElement("span",null,o.a.createElement(s.a,{className:W.a.icon,icon:c.j}),"Save & export to get a copy to your desktop.")),l=o.a.createElement(D,{className:W.a.help,content:u,fadeDuration:250,fadeEasing:"ease-in",placement:"bottom",radius:5,border:"#ffffff",background:"#f2f2f2",color:"#000000"},o.a.createElement(s.a,{className:W.a.icon,icon:c.i}),"How does this work?"),f=o.a.createElement(o.a.Fragment,null,o.a.createElement("header",{className:W.a.header},this.state.showSettings?r:null,this.state.showShortcuts?i:null,l),o.a.createElement("nav",{className:W.a.nav},null===this.props.mediaUrl?null:n),o.a.createElement("div",{className:W.a.settingsContainer},o.a.createElement("button",{className:W.a.settingsButton,title:"Settings",onClick:this.handleSettingsToggle},o.a.createElement(s.a,{icon:c.b})),o.a.createElement("button",{className:"".concat(W.a.settingsButton," ").concat(W.a.keyboardShortcutsButon),title:"view shortcuts",onClick:this.handleShortcutsToggle},o.a.createElement(s.a,{icon:c.e}))));return o.a.createElement("div",{className:W.a.container},null===this.props.mediaUrl?null:f,o.a.createElement("div",{className:W.a.grid},o.a.createElement("section",{className:W.a.row},o.a.createElement("aside",{className:W.a.aside},null===this.props.mediaUrl?null:e),o.a.createElement("main",{className:W.a.main},null!==this.props.mediaUrl&&null!==this.props.transcriptData?a:null))))}}])&&H(n.prototype,r),i&&H(n,i),e;var n,r,i}();Y.propTypes={onClick:a.a.func,title:a.a.string,mediaUrl:a.a.string,isEditable:a.a.bool,sttJsonType:a.a.string,handleAnalyticsEvents:a.a.func,fileName:a.a.string,transcriptData:a.a.object};e.default=Y},function(t,e,n){t.exports=function(){"use strict";return function(t){function e(e){if(e)try{t(e+"}")}catch(t){}}return function(n,r,o,i,a,s,c,u,l,f){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return t(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return t(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(e)}}}}()},function(t,e,n){"use strict";e.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(t,e,n){"use strict";var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}(function(t){return r.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91});e.a=o},function(t,e,n){"use strict";
32/** @license React v16.8.6
33 * react-is.production.min.js
34 *
35 * Copyright (c) Facebook, Inc. and its affiliates.
36 *
37 * This source code is licensed under the MIT license found in the
38 * LICENSE file in the root directory of this source tree.
39 */Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,g=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116;function v(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case f:case p:case a:case c:case s:case h:return t;default:switch(t=t&&t.$$typeof){case l:case d:case u:return t;default:return e}}case y:case g:case i:return e}}}function m(t){return v(t)===p}e.typeOf=v,e.AsyncMode=f,e.ConcurrentMode=p,e.ContextConsumer=l,e.ContextProvider=u,e.Element=o,e.ForwardRef=d,e.Fragment=a,e.Lazy=y,e.Memo=g,e.Portal=i,e.Profiler=c,e.StrictMode=s,e.Suspense=h,e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===p||t===c||t===s||t===h||"object"==typeof t&&null!==t&&(t.$$typeof===y||t.$$typeof===g||t.$$typeof===u||t.$$typeof===l||t.$$typeof===d)},e.isAsyncMode=function(t){return m(t)||v(t)===f},e.isConcurrentMode=m,e.isContextConsumer=function(t){return v(t)===l},e.isContextProvider=function(t){return v(t)===u},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===o},e.isForwardRef=function(t){return v(t)===d},e.isFragment=function(t){return v(t)===a},e.isLazy=function(t){return v(t)===y},e.isMemo=function(t){return v(t)===g},e.isPortal=function(t){return v(t)===i},e.isProfiler=function(t){return v(t)===c},e.isStrictMode=function(t){return v(t)===s},e.isSuspense=function(t){return v(t)===h}},function(t,e,n){(e=t.exports=n(13)(!1)).i(n(2),""),e.push([t.i,"::selection {\n background: "+n(2).locals["color-subt-green"]+";\n}\n\n::moz-selection {\n background: "+n(2).locals["color-subt-green"]+";\n}\n\n._1rnNwJ3gDENvv5BbIobNPA {\n position: relative;\n}\n\n.ZhZivtjbFgycw7x9pM2lu {\n text-align: center;\n cursor: pointer;\n float: right;\n padding-right: 0.5em;\n margin: 0.5em 0;\n color: white;\n display: block;\n font-weight: lighter;\n margin-top: 0.5em;\n margin-right: 6em;\n}\n\n.OLXrt5ObeCJOWIrwZYzVA {\n min-width: 240px;\n text-align: left;\n}\n\n@media (max-width: 768px) {\n\n .ZhZivtjbFgycw7x9pM2lu {\n display: none;\n }\n}\n\n.wo2Pzxw3LwWClU9kDjN0P {\n color: "+n(2).locals["color-labs-red"]+";\n margin-right: 0.5em;\n}\n\n.OLXrt5ObeCJOWIrwZYzVA span {\n display: block;\n font-weight: lighter;\n margin-top: 1em;\n}\n\n/* Desktop size */\n@media (min-width: 768px) {\n\n ._1rnNwJ3gDENvv5BbIobNPA {\n background-color: #f9f9f9;\n position: relative;\n }\n\n ._1lE6qFV82ZUAZtpMYNrOr4 {\n background-color: black;\n width: 100%;\n display: block;\n }\n\n .qpeZGFpK6FNffh7kvSjmc {\n width: 100%;\n }\n\n ._2OWYgBCz7WfdwIyhNGt_eF {\n margin-top: 1em;\n margin-left: 1em;\n margin-right: 1em;\n }\n\n ._34a7DD64cC4O3ltXETdjhg {\n display: grid;\n grid-template-columns: 1fr 3fr;\n grid-column-gap: 1em;\n }\n\n ._2ONWma4Cs1G8opurFXOGst {\n position: absolute;\n top: 0;\n right: 0;\n padding: 0;\n }\n\n .cVSrMNMWrIW6695xL9Vnw {\n line-height: 1em;\n margin-left: 0.5em;\n background: "+n(2).locals["color-darkest-grey"]+";\n display: inline-block;\n border: 0;\n color: white;\n font-size: 1em;\n cursor: pointer;\n text-align: center;\n width: 2em;\n height: 2em;\n }\n}\n\n/* Ipad */\n@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: portrait) {\n\n ._1hLdgpjrf79DcL29WZYASD {\n margin-left: auto;\n }\n\n ._1M8Fi31DLCYTQ-eTYBvALk {\n margin-top: 0;\n margin-right: auto;\n }\n}\n\n/* Mobile devices - excluding ipad*/\n@media (max-width: 767px) {\n /* .container {\n display: flex;\n flex-direction: column;\n justify-content: space-evenly;\n flex-wrap: nowrap;\n background-color: #f9f9f9;\n position: relative;\n } */\n\n ._1lE6qFV82ZUAZtpMYNrOr4 {\n background-color: black;\n width: 100%;\n }\n\n .qpeZGFpK6FNffh7kvSjmc {\n width: 100%;\n }\n\n ._1M8Fi31DLCYTQ-eTYBvALk {\n width: 100%;\n margin: 0 auto;\n margin-top: 1em;\n }\n\n ._2ONWma4Cs1G8opurFXOGst {\n position: absolute;\n top: 0;\n right: 0;\n padding: 0;\n }\n\n .cVSrMNMWrIW6695xL9Vnw {\n line-height: 1em;\n margin-left: 0.5em;\n background: "+n(2).locals["color-darkest-grey"]+";\n display: inline-block;\n border: 0;\n color: white;\n font-size: 1em;\n cursor: pointer;\n text-align: center;\n width: 2em;\n height: 2em;\n }\n\n .FD_ZvSmPzp4Oj97XwqvIh {\n display: none;\n }\n}\n",""]),e.locals={"color-subt-green":""+n(2).locals["color-subt-green"],"color-darkest-grey":""+n(2).locals["color-darkest-grey"],"color-labs-red":""+n(2).locals["color-labs-red"],container:"_1rnNwJ3gDENvv5BbIobNPA",help:"ZhZivtjbFgycw7x9pM2lu",helpMessage:"OLXrt5ObeCJOWIrwZYzVA",icon:"wo2Pzxw3LwWClU9kDjN0P",header:"_1lE6qFV82ZUAZtpMYNrOr4",nav:"qpeZGFpK6FNffh7kvSjmc",grid:"_2OWYgBCz7WfdwIyhNGt_eF",row:"_34a7DD64cC4O3ltXETdjhg",settingsContainer:"_2ONWma4Cs1G8opurFXOGst",settingsButton:"cVSrMNMWrIW6695xL9Vnw",aside:"_1hLdgpjrf79DcL29WZYASD",main:"_1M8Fi31DLCYTQ-eTYBvALk",keyboardShortcutsButon:"FD_ZvSmPzp4Oj97XwqvIh"}},function(t,e,n){"use strict";n.r(e);var r=n(205);n.d(e,"TranscriptEditor",function(){return r.default});var o=n(65);n.d(e,"TimedTextEditor",function(){return o.default});var i=n(66);n.d(e,"Settings",function(){return i.default});var a=n(67);n.d(e,"KeyboardShortcuts",function(){return a.default});var s=n(64);n.d(e,"VideoPlayer",function(){return s.default});var c=n(8);n.d(e,"secondsToTimecode",function(){return c.secondsToTimecode}),n.d(e,"timecodeToSeconds",function(){return c.timecodeToSeconds}),n.d(e,"shortTimecode",function(){return c.shortTimecode});var u=n(49);n.d(e,"exportAdapter",function(){return u.default});var l=n(48);n.d(e,"sttJsonAdapter",function(){return l.default}),e.default=r.default}]);
\No newline at end of file