/**
 * Skipped minification because the original files appears to be already minified.
 * Original file: /npm/react-chat-widget-g@2.1.5-1/lib/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["react-chat-widget"]=e():t["react-chat-widget"]=e()}(window,function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=32)}([function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty;function o(t,e){return n.call(t,e)}function i(t){return!(t>=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(65535!=(65535&t)&&65534!=(65535&t)&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function s(t){if(t>65535){var e=55296+((t-=65536)>>10),r=56320+(1023&t);return String.fromCharCode(e,r)}return String.fromCharCode(t)}var u=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,a=new RegExp(u.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,l=r(20);var f=/[&<>"]/,p=/[&<>"]/g,h={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function d(t){return h[t]}var _=/[.?*+^$[\]\\(){}|-]/g;var g=r(12);e.lib={},e.lib.mdurl=r(21),e.lib.ucmicro=r(54),e.assign=function(t){return Array.prototype.slice.call(arguments,1).forEach(function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach(function(r){t[r]=e[r]})}}),t},e.isString=function(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)},e.has=o,e.unescapeMd=function(t){return t.indexOf("\\")<0?t:t.replace(u,"$1")},e.unescapeAll=function(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(a,function(t,e,r){return e||function(t,e){var r=0;return o(l,e)?l[e]:35===e.charCodeAt(0)&&c.test(e)&&i(r="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10))?s(r):t}(t,r)})},e.isValidEntityCode=i,e.fromCodePoint=s,e.escapeHtml=function(t){return f.test(t)?t.replace(p,d):t},e.arrayReplaceAt=function(t,e,r){return[].concat(t.slice(0,e),r,t.slice(e+1))},e.isSpace=function(t){switch(t){case 9:case 32:return!0}return!1},e.isWhiteSpace=function(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},e.isMdAsciiPunct=function(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},e.isPunctChar=function(t){return g.test(t)},e.escapeRE=function(t){return t.replace(_,"\\$&")},e.normalizeReference=function(t){return t.trim().replace(/\s+/g," ").toUpperCase()}},function(t,e,r){t.exports=r(36)()},function(t,e,r){"use strict";t.exports=r(34)},function(t,e,r){"use strict";function n(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}r.r(e);var o=r(2),i=r(1),s=r.n(i),u=s.a.shape({trySubscribe:s.a.func.isRequired,tryUnsubscribe:s.a.func.isRequired,notifyNestedSubs:s.a.func.isRequired,isSubscribed:s.a.func.isRequired}),a=s.a.shape({subscribe:s.a.func.isRequired,dispatch:s.a.func.isRequired,getState:s.a.func.isRequired});function c(t){var e;void 0===t&&(t="store");var r=t+"Subscription",i=function(e){n(s,e);var i=s.prototype;function s(r,n){var o;return(o=e.call(this,r,n)||this)[t]=r.store,o}return i.getChildContext=function(){var e;return(e={})[t]=this[t],e[r]=null,e},i.render=function(){return o.Children.only(this.props.children)},s}(o.Component);return i.propTypes={store:a.isRequired,children:s.a.element.isRequired},i.childContextTypes=((e={})[t]=a.isRequired,e[r]=u,e),i}var l=c();function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(){return(p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function h(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}var d=r(29),_=r.n(d),g=r(7),y=r.n(g),v=r(16),m=null,b={notify:function(){}};var M=function(){function t(t,e,r){this.store=t,this.parentSub=e,this.onStateChange=r,this.unsubscribe=null,this.listeners=b}var e=t.prototype;return e.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},e.notifyNestedSubs=function(){this.listeners.notify()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){var t=[],e=[];return{clear:function(){e=m,t=m},notify:function(){for(var r=t=e,n=0;n<r.length;n++)r[n]()},get:function(){return e},subscribe:function(r){var n=!0;return e===t&&(e=t.slice()),e.push(r),function(){n&&t!==m&&(n=!1,e===t&&(e=t.slice()),e.splice(e.indexOf(r),1))}}}}())},e.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=b)},t}(),w=0,k={};function E(){}function D(t,e){var r,i;void 0===e&&(e={});var s=e,c=s.getDisplayName,l=void 0===c?function(t){return"ConnectAdvanced("+t+")"}:c,d=s.methodName,g=void 0===d?"connectAdvanced":d,m=s.renderCountProp,b=void 0===m?void 0:m,D=s.shouldHandleStateChanges,S=void 0===D||D,C=s.storeKey,x=void 0===C?"store":C,A=s.withRef,I=void 0!==A&&A,N=h(s,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),T=x+"Subscription",j=w++,z=((r={})[x]=a,r[T]=u,r),O=((i={})[T]=u,i);return function(e){y()(Object(v.isValidElementType)(e),"You must pass a component to the function returned by "+g+". Instead received "+JSON.stringify(e));var r=e.displayName||e.name||"Component",i=l(r),s=p({},N,{getDisplayName:l,methodName:g,renderCountProp:b,shouldHandleStateChanges:S,storeKey:x,withRef:I,displayName:i,wrappedComponentName:r,WrappedComponent:e}),u=function(r){function u(t,e){var n;return(n=r.call(this,t,e)||this).version=j,n.state={},n.renderCount=0,n.store=t[x]||e[x],n.propsMode=Boolean(t[x]),n.setWrappedInstance=n.setWrappedInstance.bind(f(f(n))),y()(n.store,'Could not find "'+x+'" in either the context or props of "'+i+'". Either wrap the root component in a <Provider>, or explicitly pass "'+x+'" as a prop to "'+i+'".'),n.initSelector(),n.initSubscription(),n}n(u,r);var a=u.prototype;return a.getChildContext=function(){var t,e=this.propsMode?null:this.subscription;return(t={})[T]=e||this.context[T],t},a.componentDidMount=function(){S&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.componentWillReceiveProps=function(t){this.selector.run(t)},a.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=E,this.store=null,this.selector.run=E,this.selector.shouldComponentUpdate=!1},a.getWrappedInstance=function(){return y()(I,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+g+"() call."),this.wrappedInstance},a.setWrappedInstance=function(t){this.wrappedInstance=t},a.initSelector=function(){var e=t(this.store.dispatch,s);this.selector=function(t,e){var r={run:function(n){try{var o=t(e.getState(),n);(o!==r.props||r.error)&&(r.shouldComponentUpdate=!0,r.props=o,r.error=null)}catch(t){r.shouldComponentUpdate=!0,r.error=t}}};return r}(e,this.store),this.selector.run(this.props)},a.initSubscription=function(){if(S){var t=(this.propsMode?this.props:this.context)[T];this.subscription=new M(this.store,t,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(k)):this.notifyNestedSubs()},a.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.addExtraProps=function(t){if(!(I||b||this.propsMode&&this.subscription))return t;var e=p({},t);return I&&(e.ref=this.setWrappedInstance),b&&(e[b]=this.renderCount++),this.propsMode&&this.subscription&&(e[T]=this.subscription),e},a.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return Object(o.createElement)(e,this.addExtraProps(t.props))},u}(o.Component);return u.WrappedComponent=e,u.displayName=i,u.childContextTypes=O,u.contextTypes=z,u.propTypes=z,_()(u,e)}}var S=Object.prototype.hasOwnProperty;function C(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function x(t,e){if(C(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(var o=0;o<r.length;o++)if(!S.call(e,r[o])||!C(t[r[o]],e[r[o]]))return!1;return!0}var A=r(17);function I(t){return function(e,r){var n=t(e,r);function o(){return n}return o.dependsOnOwnProps=!1,o}}function N(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function T(t,e){return function(e,r){r.displayName;var n=function(t,e){return n.dependsOnOwnProps?n.mapToProps(t,e):n.mapToProps(t)};return n.dependsOnOwnProps=!0,n.mapToProps=function(e,r){n.mapToProps=t,n.dependsOnOwnProps=N(t);var o=n(e,r);return"function"==typeof o&&(n.mapToProps=o,n.dependsOnOwnProps=N(o),o=n(e,r)),o},n}}var j=[function(t){return"function"==typeof t?T(t):void 0},function(t){return t?void 0:I(function(t){return{dispatch:t}})},function(t){return t&&"object"==typeof t?I(function(e){return Object(A.bindActionCreators)(t,e)}):void 0}];var z=[function(t){return"function"==typeof t?T(t):void 0},function(t){return t?void 0:I(function(){return{}})}];function O(t,e,r){return p({},r,t,e)}var L=[function(t){return"function"==typeof t?function(t){return function(e,r){r.displayName;var n,o=r.pure,i=r.areMergedPropsEqual,s=!1;return function(e,r,u){var a=t(e,r,u);return s?o&&i(a,n)||(n=a):(s=!0,n=a),n}}}(t):void 0},function(t){return t?void 0:function(){return O}}];function P(t,e,r,n){return function(o,i){return r(t(o,i),e(n,i),i)}}function q(t,e,r,n,o){var i,s,u,a,c,l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,h=!1;function d(o,h){var d=!f(h,s),_=!l(o,i);return i=o,s=h,d&&_?(u=t(i,s),e.dependsOnOwnProps&&(a=e(n,s)),c=r(u,a,s)):d?(t.dependsOnOwnProps&&(u=t(i,s)),e.dependsOnOwnProps&&(a=e(n,s)),c=r(u,a,s)):_?function(){var e=t(i,s),n=!p(e,u);return u=e,n&&(c=r(u,a,s)),c}():c}return function(o,l){return h?d(o,l):function(o,l){return u=t(i=o,s=l),a=e(n,s),c=r(u,a,s),h=!0,c}(o,l)}}function R(t,e){var r=e.initMapStateToProps,n=e.initMapDispatchToProps,o=e.initMergeProps,i=h(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),s=r(t,i),u=n(t,i),a=o(t,i);return(i.pure?q:P)(s,u,a,t,i)}function U(t,e,r){for(var n=e.length-1;n>=0;n--){var o=e[n](t);if(o)return o}return function(e,n){throw new Error("Invalid value of type "+typeof t+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function B(t,e){return t===e}var F=function(t){var e=void 0===t?{}:t,r=e.connectHOC,n=void 0===r?D:r,o=e.mapStateToPropsFactories,i=void 0===o?z:o,s=e.mapDispatchToPropsFactories,u=void 0===s?j:s,a=e.mergePropsFactories,c=void 0===a?L:a,l=e.selectorFactory,f=void 0===l?R:l;return function(t,e,r,o){void 0===o&&(o={});var s=o,a=s.pure,l=void 0===a||a,d=s.areStatesEqual,_=void 0===d?B:d,g=s.areOwnPropsEqual,y=void 0===g?x:g,v=s.areStatePropsEqual,m=void 0===v?x:v,b=s.areMergedPropsEqual,M=void 0===b?x:b,w=h(s,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),k=U(t,i,"mapStateToProps"),E=U(e,u,"mapDispatchToProps"),D=U(r,c,"mergeProps");return n(f,p({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:k,initMapDispatchToProps:E,initMergeProps:D,pure:l,areStatesEqual:_,areOwnPropsEqual:y,areStatePropsEqual:m,areMergedPropsEqual:M},w))}}();r.d(e,"Provider",function(){return l}),r.d(e,"createProvider",function(){return c}),r.d(e,"connectAdvanced",function(){return D}),r.d(e,"connect",function(){return F})},function(t,e,r){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 r(t){return s(t)?t:Z(t)}function n(t){return u(t)?t:V(t)}function o(t){return a(t)?t:H(t)}function i(t){return s(t)&&!c(t)?t:W(t)}function s(t){return!(!t||!t[f])}function u(t){return!(!t||!t[p])}function a(t){return!(!t||!t[h])}function c(t){return u(t)||a(t)}function l(t){return!(!t||!t[d])}e(n,r),e(o,r),e(i,r),r.isIterable=s,r.isKeyed=u,r.isIndexed=a,r.isAssociative=c,r.isOrdered=l,r.Keyed=n,r.Indexed=o,r.Set=i;var f="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",_=5,g=1<<_,y=g-1,v={},m={value:!1},b={value:!1};function M(t){return t.value=!1,t}function w(t){t&&(t.value=!0)}function k(){}function E(t,e){e=e||0;for(var r=Math.max(0,t.length-e),n=new Array(r),o=0;o<r;o++)n[o]=t[o+e];return n}function D(t){return void 0===t.size&&(t.size=t.__iterate(C)),t.size}function S(t,e){if("number"!=typeof e){var r=e>>>0;if(""+r!==e||4294967295===r)return NaN;e=r}return e<0?D(t)+e:e}function C(){return!0}function x(t,e,r){return(0===t||void 0!==r&&t<=-r)&&(void 0===e||void 0!==r&&e>=r)}function A(t,e){return N(t,e,0)}function I(t,e){return N(t,e,e)}function N(t,e,r){return void 0===t?r:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var T=0,j=1,z=2,O="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",P=O||L;function q(t){this.next=t}function R(t,e,r,n){var o=0===t?e:1===t?r:[e,r];return n?n.value=o:n={value:o,done:!1},n}function U(){return{value:void 0,done:!0}}function B(t){return!!G(t)}function F(t){return t&&"function"==typeof t.next}function Y(t){var e=G(t);return e&&e.call(t)}function G(t){var e=t&&(O&&t[O]||t[L]);if("function"==typeof e)return e}function Q(t){return t&&"number"==typeof t.length}function Z(t){return null===t||void 0===t?it():s(t)?t.toSeq():function(t){var e=at(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 V(t){return null===t||void 0===t?it().toKeyedSeq():s(t)?u(t)?t.toSeq():t.fromEntrySeq():st(t)}function H(t){return null===t||void 0===t?it():s(t)?u(t)?t.entrySeq():t.toIndexedSeq():ut(t)}function W(t){return(null===t||void 0===t?it():s(t)?u(t)?t.entrySeq():t:ut(t)).toSetSeq()}q.prototype.toString=function(){return"[Iterator]"},q.KEYS=T,q.VALUES=j,q.ENTRIES=z,q.prototype.inspect=q.prototype.toSource=function(){return this.toString()},q.prototype[P]=function(){return this},e(Z,r),Z.of=function(){return Z(arguments)},Z.prototype.toSeq=function(){return this},Z.prototype.toString=function(){return this.__toString("Seq {","}")},Z.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Z.prototype.__iterate=function(t,e){return ct(this,t,e,!0)},Z.prototype.__iterator=function(t,e){return lt(this,t,e,!0)},e(V,Z),V.prototype.toKeyedSeq=function(){return this},e(H,Z),H.of=function(){return H(arguments)},H.prototype.toIndexedSeq=function(){return this},H.prototype.toString=function(){return this.__toString("Seq [","]")},H.prototype.__iterate=function(t,e){return ct(this,t,e,!1)},H.prototype.__iterator=function(t,e){return lt(this,t,e,!1)},e(W,Z),W.of=function(){return W(arguments)},W.prototype.toSetSeq=function(){return this},Z.isSeq=ot,Z.Keyed=V,Z.Set=W,Z.Indexed=H;var $,K,J,X="@@__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 rt(t){this._iterable=t,this.size=t.length||t.size}function nt(t){this._iterator=t,this._iteratorCache=[]}function ot(t){return!(!t||!t[X])}function it(){return $||($=new tt([]))}function st(t){var e=Array.isArray(t)?new tt(t).fromEntrySeq():F(t)?new nt(t).fromEntrySeq():B(t)?new rt(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 ut(t){var e=at(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function at(t){return Q(t)?new tt(t):F(t)?new nt(t):B(t)?new rt(t):void 0}function ct(t,e,r,n){var o=t._cache;if(o){for(var i=o.length-1,s=0;s<=i;s++){var u=o[r?i-s:s];if(!1===e(u[1],n?u[0]:s,t))return s+1}return s}return t.__iterateUncached(e,r)}function lt(t,e,r,n){var o=t._cache;if(o){var i=o.length-1,s=0;return new q(function(){var t=o[r?i-s:s];return s++>i?{value:void 0,done:!0}:R(e,n?t[0]:s-1,t[1])})}return t.__iteratorUncached(e,r)}function ft(t,e){return e?function t(e,r,n,o){return Array.isArray(r)?e.call(o,n,H(r).map(function(n,o){return t(e,n,o,r)})):ht(r)?e.call(o,n,V(r).map(function(n,o){return t(e,n,o,r)})):r}(e,t,"",{"":t}):pt(t)}function pt(t){return Array.isArray(t)?H(t).map(pt).toList():ht(t)?V(t).map(pt).toMap():t}function ht(t){return t&&(t.constructor===Object||void 0===t.constructor)}function dt(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 _t(t,e){if(t===e)return!0;if(!s(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||u(t)!==u(e)||a(t)!==a(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var r=!c(t);if(l(t)){var n=t.entries();return e.every(function(t,e){var o=n.next().value;return o&&dt(o[1],t)&&(r||dt(o[0],e))})&&n.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,n){if(r?!t.has(e):o?!dt(e,t.get(n,v)):!dt(t.get(n,v),e))return f=!1,!1});return f&&t.size===p}function gt(t,e){if(!(this instanceof gt))return new gt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(K)return K;K=this}}function yt(t,e){if(!t)throw new Error(e)}function vt(t,e,r){if(!(this instanceof vt))return new vt(t,e,r);if(yt(0!==r,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),r=void 0===r?1:Math.abs(r),e<t&&(r=-r),this._start=t,this._end=e,this._step=r,this.size=Math.max(0,Math.ceil((e-t)/r-1)+1),0===this.size){if(J)return J;J=this}}function mt(){throw TypeError("Abstract")}function bt(){}function Mt(){}function wt(){}Z.prototype[X]=!0,e(tt,H),tt.prototype.get=function(t,e){return this.has(t)?this._array[S(this,t)]:e},tt.prototype.__iterate=function(t,e){for(var r=this._array,n=r.length-1,o=0;o<=n;o++)if(!1===t(r[e?n-o:o],o,this))return o+1;return o},tt.prototype.__iterator=function(t,e){var r=this._array,n=r.length-1,o=0;return new q(function(){return o>n?{value:void 0,done:!0}:R(t,o,r[e?n-o++:o++])})},e(et,V),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 r=this._object,n=this._keys,o=n.length-1,i=0;i<=o;i++){var s=n[e?o-i:i];if(!1===t(r[s],s,this))return i+1}return i},et.prototype.__iterator=function(t,e){var r=this._object,n=this._keys,o=n.length-1,i=0;return new q(function(){var s=n[e?o-i:i];return i++>o?{value:void 0,done:!0}:R(t,s,r[s])})},et.prototype[d]=!0,e(rt,H),rt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var r=this._iterable,n=Y(r),o=0;if(F(n))for(var i;!(i=n.next()).done&&!1!==t(i.value,o++,this););return o},rt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=this._iterable,n=Y(r);if(!F(n))return new q(U);var o=0;return new q(function(){var e=n.next();return e.done?e:R(t,o++,e.value)})},e(nt,H),nt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var r,n=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===t(o[i],i++,this))return i;for(;!(r=n.next()).done;){var s=r.value;if(o[i]=s,!1===t(s,i++,this))break}return i},nt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=this._iterator,n=this._iteratorCache,o=0;return new q(function(){if(o>=n.length){var e=r.next();if(e.done)return e;n[o]=e.value}return R(t,o,n[o++])})},e(gt,H),gt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},gt.prototype.get=function(t,e){return this.has(t)?this._value:e},gt.prototype.includes=function(t){return dt(this._value,t)},gt.prototype.slice=function(t,e){var r=this.size;return x(t,e,r)?this:new gt(this._value,I(e,r)-A(t,r))},gt.prototype.reverse=function(){return this},gt.prototype.indexOf=function(t){return dt(this._value,t)?0:-1},gt.prototype.lastIndexOf=function(t){return dt(this._value,t)?this.size:-1},gt.prototype.__iterate=function(t,e){for(var r=0;r<this.size;r++)if(!1===t(this._value,r,this))return r+1;return r},gt.prototype.__iterator=function(t,e){var r=this,n=0;return new q(function(){return n<r.size?R(t,n++,r._value):{value:void 0,done:!0}})},gt.prototype.equals=function(t){return t instanceof gt?dt(this._value,t._value):_t(t)},e(vt,H),vt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},vt.prototype.get=function(t,e){return this.has(t)?this._start+S(this,t)*this._step:e},vt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},vt.prototype.slice=function(t,e){return x(t,e,this.size)?this:(t=A(t,this.size),(e=I(e,this.size))<=t?new vt(0,0):new vt(this.get(t,this._end),this.get(e,this._end),this._step))},vt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var r=e/this._step;if(r>=0&&r<this.size)return r}return-1},vt.prototype.lastIndexOf=function(t){return this.indexOf(t)},vt.prototype.__iterate=function(t,e){for(var r=this.size-1,n=this._step,o=e?this._start+r*n:this._start,i=0;i<=r;i++){if(!1===t(o,i,this))return i+1;o+=e?-n:n}return i},vt.prototype.__iterator=function(t,e){var r=this.size-1,n=this._step,o=e?this._start+r*n:this._start,i=0;return new q(function(){var s=o;return o+=e?-n:n,i>r?{value:void 0,done:!0}:R(t,i++,s)})},vt.prototype.equals=function(t){return t instanceof vt?this._start===t._start&&this._end===t._end&&this._step===t._step:_t(this,t)},e(mt,r),e(bt,mt),e(Mt,mt),e(wt,mt),mt.Keyed=bt,mt.Indexed=Mt,mt.Set=wt;var kt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var r=65535&(t|=0),n=65535&(e|=0);return r*n+((t>>>16)*n+r*(e>>>16)<<16>>>0)|0};function Et(t){return t>>>1&1073741824|3221225471&t}function Dt(t){if(!1===t||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null===t||void 0===t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){if(t!=t||t===1/0)return 0;var r=0|t;for(r!==t&&(r^=4294967295*t);t>4294967295;)r^=t/=4294967295;return Et(r)}if("string"===e)return t.length>jt?function(t){var e=Lt[t];return void 0===e&&(e=St(t),Ot===zt&&(Ot=0,Lt={}),Ot++,Lt[t]=e),e}(t):St(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(It&&void 0!==(e=Ct.get(t)))return e;if(void 0!==(e=t[Tt]))return e;if(!At){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Tt]))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=++Nt,1073741824&Nt&&(Nt=0),It)Ct.set(t,e);else{if(void 0!==xt&&!1===xt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(At)Object.defineProperty(t,Tt,{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[Tt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Tt]=e}}return e}(t);if("function"==typeof t.toString)return St(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function St(t){for(var e=0,r=0;r<t.length;r++)e=31*e+t.charCodeAt(r)|0;return Et(e)}var Ct,xt=Object.isExtensible,At=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),It="function"==typeof WeakMap;It&&(Ct=new WeakMap);var Nt=0,Tt="__immutablehash__";"function"==typeof Symbol&&(Tt=Symbol(Tt));var jt=16,zt=255,Ot=0,Lt={};function Pt(t){yt(t!==1/0,"Cannot perform this action with an infinite size.")}function qt(t){return null===t||void 0===t?Jt():Rt(t)&&!l(t)?t:Jt().withMutations(function(e){var r=n(t);Pt(r.size),r.forEach(function(t,r){return e.set(r,t)})})}function Rt(t){return!(!t||!t[Bt])}e(qt,bt),qt.of=function(){var e=t.call(arguments,0);return Jt().withMutations(function(t){for(var r=0;r<e.length;r+=2){if(r+1>=e.length)throw new Error("Missing value for key: "+e[r]);t.set(e[r],e[r+1])}})},qt.prototype.toString=function(){return this.__toString("Map {","}")},qt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},qt.prototype.set=function(t,e){return Xt(this,t,e)},qt.prototype.setIn=function(t,e){return this.updateIn(t,v,function(){return e})},qt.prototype.remove=function(t){return Xt(this,t,v)},qt.prototype.deleteIn=function(t){return this.updateIn(t,function(){return v})},qt.prototype.update=function(t,e,r){return 1===arguments.length?t(this):this.updateIn([t],e,r)},qt.prototype.updateIn=function(t,e,r){r||(r=e,e=void 0);var n=function t(e,r,n,o){var i=e===v,s=r.next();if(s.done){var u=i?n:e,a=o(u);return a===u?e:a}yt(i||e&&e.set,"invalid keyPath");var c=s.value,l=i?v:e.get(c,v),f=t(l,r,n,o);return f===l?e:f===v?e.remove(c):(i?Jt():e).set(c,f)}(this,rr(t),e,r);return n===v?void 0:n},qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Jt()},qt.prototype.merge=function(){return ne(this,void 0,arguments)},qt.prototype.mergeWith=function(e){var r=t.call(arguments,1);return ne(this,e,r)},qt.prototype.mergeIn=function(e){var r=t.call(arguments,1);return this.updateIn(e,Jt(),function(t){return"function"==typeof t.merge?t.merge.apply(t,r):r[r.length-1]})},qt.prototype.mergeDeep=function(){return ne(this,oe,arguments)},qt.prototype.mergeDeepWith=function(e){var r=t.call(arguments,1);return ne(this,ie(e),r)},qt.prototype.mergeDeepIn=function(e){var r=t.call(arguments,1);return this.updateIn(e,Jt(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,r):r[r.length-1]})},qt.prototype.sort=function(t){return Ae(Qe(this,t))},qt.prototype.sortBy=function(t,e){return Ae(Qe(this,e,t))},qt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},qt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},qt.prototype.asImmutable=function(){return this.__ensureOwner()},qt.prototype.wasAltered=function(){return this.__altered},qt.prototype.__iterator=function(t,e){return new Ht(this,t,e)},qt.prototype.__iterate=function(t,e){var r=this,n=0;return this._root&&this._root.iterate(function(e){return n++,t(e[1],e[0],r)},e),n},qt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Kt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},qt.isMap=Rt;var Ut,Bt="@@__IMMUTABLE_MAP__@@",Ft=qt.prototype;function Yt(t,e){this.ownerID=t,this.entries=e}function Gt(t,e,r){this.ownerID=t,this.bitmap=e,this.nodes=r}function Qt(t,e,r){this.ownerID=t,this.count=e,this.nodes=r}function Zt(t,e,r){this.ownerID=t,this.keyHash=e,this.entries=r}function Vt(t,e,r){this.ownerID=t,this.keyHash=e,this.entry=r}function Ht(t,e,r){this._type=e,this._reverse=r,this._stack=t._root&&$t(t._root)}function Wt(t,e){return R(t,e[0],e[1])}function $t(t,e){return{node:t,index:0,__prev:e}}function Kt(t,e,r,n){var o=Object.create(Ft);return o.size=t,o._root=e,o.__ownerID=r,o.__hash=n,o.__altered=!1,o}function Jt(){return Ut||(Ut=Kt(0))}function Xt(t,e,r){var n,o;if(t._root){var i=M(m),s=M(b);if(n=te(t._root,t.__ownerID,0,void 0,e,r,i,s),!s.value)return t;o=t.size+(i.value?r===v?-1:1:0)}else{if(r===v)return t;o=1,n=new Yt(t.__ownerID,[[e,r]])}return t.__ownerID?(t.size=o,t._root=n,t.__hash=void 0,t.__altered=!0,t):n?Kt(o,n):Jt()}function te(t,e,r,n,o,i,s,u){return t?t.update(e,r,n,o,i,s,u):i===v?t:(w(u),w(s),new Vt(e,n,[o,i]))}function ee(t){return t.constructor===Vt||t.constructor===Zt}function re(t,e,r,n,o){if(t.keyHash===n)return new Zt(e,n,[t.entry,o]);var i,s=(0===r?t.keyHash:t.keyHash>>>r)&y,u=(0===r?n:n>>>r)&y,a=s===u?[re(t,e,r+_,n,o)]:(i=new Vt(e,n,o),s<u?[t,i]:[i,t]);return new Gt(e,1<<s|1<<u,a)}function ne(t,e,r){for(var o=[],i=0;i<r.length;i++){var u=r[i],a=n(u);s(u)||(a=a.map(function(t){return ft(t)})),o.push(a)}return se(t,e,o)}function oe(t,e,r){return t&&t.mergeDeep&&s(e)?t.mergeDeep(e):dt(t,e)?t:e}function ie(t){return function(e,r,n){if(e&&e.mergeDeepWith&&s(r))return e.mergeDeepWith(t,r);var o=t(e,r,n);return dt(e,o)?e:o}}function se(t,e,r){return 0===(r=r.filter(function(t){return 0!==t.size})).length?t:0!==t.size||t.__ownerID||1!==r.length?t.withMutations(function(t){for(var n=e?function(r,n){t.update(n,v,function(t){return t===v?r:e(t,r,n)})}:function(e,r){t.set(r,e)},o=0;o<r.length;o++)r[o].forEach(n)}):t.constructor(r[0])}function ue(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function ae(t,e,r,n){var o=n?t:E(t);return o[e]=r,o}Ft[Bt]=!0,Ft.delete=Ft.remove,Ft.removeIn=Ft.deleteIn,Yt.prototype.get=function(t,e,r,n){for(var o=this.entries,i=0,s=o.length;i<s;i++)if(dt(r,o[i][0]))return o[i][1];return n},Yt.prototype.update=function(t,e,r,n,o,i,s){for(var u=o===v,a=this.entries,c=0,l=a.length;c<l&&!dt(n,a[c][0]);c++);var f=c<l;if(f?a[c][1]===o:u)return this;if(w(s),(u||!f)&&w(i),!u||1!==a.length){if(!f&&!u&&a.length>=ce)return function(t,e,r,n){t||(t=new k);for(var o=new Vt(t,Dt(r),[r,n]),i=0;i<e.length;i++){var s=e[i];o=o.update(t,0,void 0,s[0],s[1])}return o}(t,a,n,o);var p=t&&t===this.ownerID,h=p?a:E(a);return f?u?c===l-1?h.pop():h[c]=h.pop():h[c]=[n,o]:h.push([n,o]),p?(this.entries=h,this):new Yt(t,h)}},Gt.prototype.get=function(t,e,r,n){void 0===e&&(e=Dt(r));var o=1<<((0===t?e:e>>>t)&y),i=this.bitmap;return 0==(i&o)?n:this.nodes[ue(i&o-1)].get(t+_,e,r,n)},Gt.prototype.update=function(t,e,r,n,o,i,s){void 0===r&&(r=Dt(n));var u=(0===e?r:r>>>e)&y,a=1<<u,c=this.bitmap,l=0!=(c&a);if(!l&&o===v)return this;var f=ue(c&a-1),p=this.nodes,h=l?p[f]:void 0,d=te(h,t,e+_,r,n,o,i,s);if(d===h)return this;if(!l&&d&&p.length>=le)return function(t,e,r,n,o){for(var i=0,s=new Array(g),u=0;0!==r;u++,r>>>=1)s[u]=1&r?e[i++]:void 0;return s[n]=o,new Qt(t,i+1,s)}(t,p,c,u,d);if(l&&!d&&2===p.length&&ee(p[1^f]))return p[1^f];if(l&&d&&1===p.length&&ee(d))return d;var m=t&&t===this.ownerID,b=l?d?c:c^a:c|a,M=l?d?ae(p,f,d,m):function(t,e,r){var n=t.length-1;if(r&&e===n)return t.pop(),t;for(var o=new Array(n),i=0,s=0;s<n;s++)s===e&&(i=1),o[s]=t[s+i];return o}(p,f,m):function(t,e,r,n){var o=t.length+1;if(n&&e+1===o)return t[e]=r,t;for(var i=new Array(o),s=0,u=0;u<o;u++)u===e?(i[u]=r,s=-1):i[u]=t[u+s];return i}(p,f,d,m);return m?(this.bitmap=b,this.nodes=M,this):new Gt(t,b,M)},Qt.prototype.get=function(t,e,r,n){void 0===e&&(e=Dt(r));var o=(0===t?e:e>>>t)&y,i=this.nodes[o];return i?i.get(t+_,e,r,n):n},Qt.prototype.update=function(t,e,r,n,o,i,s){void 0===r&&(r=Dt(n));var u=(0===e?r:r>>>e)&y,a=o===v,c=this.nodes,l=c[u];if(a&&!l)return this;var f=te(l,t,e+_,r,n,o,i,s);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<fe)return function(t,e,r,n){for(var o=0,i=0,s=new Array(r),u=0,a=1,c=e.length;u<c;u++,a<<=1){var l=e[u];void 0!==l&&u!==n&&(o|=a,s[i++]=l)}return new Gt(t,o,s)}(t,c,p,u)}else p++;var h=t&&t===this.ownerID,d=ae(c,u,f,h);return h?(this.count=p,this.nodes=d,this):new Qt(t,p,d)},Zt.prototype.get=function(t,e,r,n){for(var o=this.entries,i=0,s=o.length;i<s;i++)if(dt(r,o[i][0]))return o[i][1];return n},Zt.prototype.update=function(t,e,r,n,o,i,s){void 0===r&&(r=Dt(n));var u=o===v;if(r!==this.keyHash)return u?this:(w(s),w(i),re(this,t,e,r,[n,o]));for(var a=this.entries,c=0,l=a.length;c<l&&!dt(n,a[c][0]);c++);var f=c<l;if(f?a[c][1]===o:u)return this;if(w(s),(u||!f)&&w(i),u&&2===l)return new Vt(t,this.keyHash,a[1^c]);var p=t&&t===this.ownerID,h=p?a:E(a);return f?u?c===l-1?h.pop():h[c]=h.pop():h[c]=[n,o]:h.push([n,o]),p?(this.entries=h,this):new Zt(t,this.keyHash,h)},Vt.prototype.get=function(t,e,r,n){return dt(r,this.entry[0])?this.entry[1]:n},Vt.prototype.update=function(t,e,r,n,o,i,s){var u=o===v,a=dt(n,this.entry[0]);return(a?o===this.entry[1]:u)?this:(w(s),u?void w(i):a?t&&t===this.ownerID?(this.entry[1]=o,this):new Vt(t,this.keyHash,[n,o]):(w(i),re(this,t,e,Dt(n),[n,o])))},Yt.prototype.iterate=Zt.prototype.iterate=function(t,e){for(var r=this.entries,n=0,o=r.length-1;n<=o;n++)if(!1===t(r[e?o-n:n]))return!1},Gt.prototype.iterate=Qt.prototype.iterate=function(t,e){for(var r=this.nodes,n=0,o=r.length-1;n<=o;n++){var i=r[e?o-n:n];if(i&&!1===i.iterate(t,e))return!1}},Vt.prototype.iterate=function(t,e){return t(this.entry)},e(Ht,q),Ht.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var r,n=e.node,o=e.index++;if(n.entry){if(0===o)return Wt(t,n.entry)}else if(n.entries){if(r=n.entries.length-1,o<=r)return Wt(t,n.entries[this._reverse?r-o:o])}else if(r=n.nodes.length-1,o<=r){var i=n.nodes[this._reverse?r-o:o];if(i){if(i.entry)return Wt(t,i.entry);e=this._stack=$t(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var ce=g/4,le=g/2,fe=g/4;function pe(t){var e=we();if(null===t||void 0===t)return e;if(he(t))return t;var r=o(t),n=r.size;return 0===n?e:(Pt(n),n>0&&n<g?Me(0,n,_,null,new ge(r.toArray())):e.withMutations(function(t){t.setSize(n),r.forEach(function(e,r){return t.set(r,e)})}))}function he(t){return!(!t||!t[de])}e(pe,Mt),pe.of=function(){return this(arguments)},pe.prototype.toString=function(){return this.__toString("List [","]")},pe.prototype.get=function(t,e){if((t=S(this,t))>=0&&t<this.size){var r=De(this,t+=this._origin);return r&&r.array[t&y]}return e},pe.prototype.set=function(t,e){return function(t,e,r){if((e=S(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Se(t,e).set(0,r):Se(t,0,e+1).set(e,r)});e+=t._origin;var n=t._tail,o=t._root,i=M(b);return e>=xe(t._capacity)?n=ke(n,t.__ownerID,0,e,r,i):o=ke(o,t.__ownerID,t._level,e,r,i),i.value?t.__ownerID?(t._root=o,t._tail=n,t.__hash=void 0,t.__altered=!0,t):Me(t._origin,t._capacity,t._level,o,n):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=_,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):we()},pe.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(r){Se(r,0,e+t.length);for(var n=0;n<t.length;n++)r.set(e+n,t[n])})},pe.prototype.pop=function(){return Se(this,0,-1)},pe.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Se(e,-t.length);for(var r=0;r<t.length;r++)e.set(r,t[r])})},pe.prototype.shift=function(){return Se(this,1)},pe.prototype.merge=function(){return Ce(this,void 0,arguments)},pe.prototype.mergeWith=function(e){var r=t.call(arguments,1);return Ce(this,e,r)},pe.prototype.mergeDeep=function(){return Ce(this,oe,arguments)},pe.prototype.mergeDeepWith=function(e){var r=t.call(arguments,1);return Ce(this,ie(e),r)},pe.prototype.setSize=function(t){return Se(this,0,t)},pe.prototype.slice=function(t,e){var r=this.size;return x(t,e,r)?this:Se(this,A(t,r),I(e,r))},pe.prototype.__iterator=function(t,e){var r=0,n=be(this,e);return new q(function(){var e=n();return e===me?{value:void 0,done:!0}:R(t,r++,e)})},pe.prototype.__iterate=function(t,e){for(var r,n=0,o=be(this,e);(r=o())!==me&&!1!==t(r,n++,this););return n},pe.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Me(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},pe.isList=he;var de="@@__IMMUTABLE_LIST__@@",_e=pe.prototype;function ge(t,e){this.array=t,this.ownerID=e}_e[de]=!0,_e.delete=_e.remove,_e.setIn=Ft.setIn,_e.deleteIn=_e.removeIn=Ft.removeIn,_e.update=Ft.update,_e.updateIn=Ft.updateIn,_e.mergeIn=Ft.mergeIn,_e.mergeDeepIn=Ft.mergeDeepIn,_e.withMutations=Ft.withMutations,_e.asMutable=Ft.asMutable,_e.asImmutable=Ft.asImmutable,_e.wasAltered=Ft.wasAltered,ge.prototype.removeBefore=function(t,e,r){if(r===e?1<<e:0===this.array.length)return this;var n=r>>>e&y;if(n>=this.array.length)return new ge([],t);var o,i=0===n;if(e>0){var s=this.array[n];if((o=s&&s.removeBefore(t,e-_,r))===s&&i)return this}if(i&&!o)return this;var u=Ee(this,t);if(!i)for(var a=0;a<n;a++)u.array[a]=void 0;return o&&(u.array[n]=o),u},ge.prototype.removeAfter=function(t,e,r){if(r===(e?1<<e:0)||0===this.array.length)return this;var n,o=r-1>>>e&y;if(o>=this.array.length)return this;if(e>0){var i=this.array[o];if((n=i&&i.removeAfter(t,e-_,r))===i&&o===this.array.length-1)return this}var s=Ee(this,t);return s.array.splice(o+1),n&&(s.array[o]=n),s};var ye,ve,me={};function be(t,e){var r=t._origin,n=t._capacity,o=xe(n),i=t._tail;return s(t._root,t._level,0);function s(t,u,a){return 0===u?function(t,s){var u=s===o?i&&i.array:t&&t.array,a=s>r?0:r-s,c=n-s;return c>g&&(c=g),function(){if(a===c)return me;var t=e?--c:a++;return u&&u[t]}}(t,a):function(t,o,i){var u,a=t&&t.array,c=i>r?0:r-i>>o,l=1+(n-i>>o);return l>g&&(l=g),function(){for(;;){if(u){var t=u();if(t!==me)return t;u=null}if(c===l)return me;var r=e?--l:c++;u=s(a&&a[r],o-_,i+(r<<o))}}}(t,u,a)}}function Me(t,e,r,n,o,i,s){var u=Object.create(_e);return u.size=e-t,u._origin=t,u._capacity=e,u._level=r,u._root=n,u._tail=o,u.__ownerID=i,u.__hash=s,u.__altered=!1,u}function we(){return ye||(ye=Me(0,0,_))}function ke(t,e,r,n,o,i){var s,u=n>>>r&y,a=t&&u<t.array.length;if(!a&&void 0===o)return t;if(r>0){var c=t&&t.array[u],l=ke(c,e,r-_,n,o,i);return l===c?t:((s=Ee(t,e)).array[u]=l,s)}return a&&t.array[u]===o?t:(w(i),s=Ee(t,e),void 0===o&&u===s.array.length-1?s.array.pop():s.array[u]=o,s)}function Ee(t,e){return e&&t&&e===t.ownerID?t:new ge(t?t.array.slice():[],e)}function De(t,e){if(e>=xe(t._capacity))return t._tail;if(e<1<<t._level+_){for(var r=t._root,n=t._level;r&&n>0;)r=r.array[e>>>n&y],n-=_;return r}}function Se(t,e,r){void 0!==e&&(e|=0),void 0!==r&&(r|=0);var n=t.__ownerID||new k,o=t._origin,i=t._capacity,s=o+e,u=void 0===r?i:r<0?i+r:o+r;if(s===o&&u===i)return t;if(s>=u)return t.clear();for(var a=t._level,c=t._root,l=0;s+l<0;)c=new ge(c&&c.array.length?[void 0,c]:[],n),l+=1<<(a+=_);l&&(s+=l,o+=l,u+=l,i+=l);for(var f=xe(i),p=xe(u);p>=1<<a+_;)c=new ge(c&&c.array.length?[c]:[],n),a+=_;var h=t._tail,d=p<f?De(t,u-1):p>f?new ge([],n):h;if(h&&p>f&&s<i&&h.array.length){for(var g=c=Ee(c,n),v=a;v>_;v-=_){var m=f>>>v&y;g=g.array[m]=Ee(g.array[m],n)}g.array[f>>>_&y]=h}if(u<i&&(d=d&&d.removeAfter(n,0,u)),s>=p)s-=p,u-=p,a=_,c=null,d=d&&d.removeBefore(n,0,s);else if(s>o||p<f){for(l=0;c;){var b=s>>>a&y;if(b!==p>>>a&y)break;b&&(l+=(1<<a)*b),a-=_,c=c.array[b]}c&&s>o&&(c=c.removeBefore(n,a,s-l)),c&&p<f&&(c=c.removeAfter(n,a,p-l)),l&&(s-=l,u-=l)}return t.__ownerID?(t.size=u-s,t._origin=s,t._capacity=u,t._level=a,t._root=c,t._tail=d,t.__hash=void 0,t.__altered=!0,t):Me(s,u,a,c,d)}function Ce(t,e,r){for(var n=[],i=0,u=0;u<r.length;u++){var a=r[u],c=o(a);c.size>i&&(i=c.size),s(a)||(c=c.map(function(t){return ft(t)})),n.push(c)}return i>t.size&&(t=t.setSize(i)),se(t,e,n)}function xe(t){return t<g?0:t-1>>>_<<_}function Ae(t){return null===t||void 0===t?Te():Ie(t)?t:Te().withMutations(function(e){var r=n(t);Pt(r.size),r.forEach(function(t,r){return e.set(r,t)})})}function Ie(t){return Rt(t)&&l(t)}function Ne(t,e,r,n){var o=Object.create(Ae.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=r,o.__hash=n,o}function Te(){return ve||(ve=Ne(Jt(),we()))}function je(t,e,r){var n,o,i=t._map,s=t._list,u=i.get(e),a=void 0!==u;if(r===v){if(!a)return t;s.size>=g&&s.size>=2*i.size?(o=s.filter(function(t,e){return void 0!==t&&u!==e}),n=o.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(n.__ownerID=o.__ownerID=t.__ownerID)):(n=i.remove(e),o=u===s.size-1?s.pop():s.set(u,void 0))}else if(a){if(r===s.get(u)[1])return t;n=i,o=s.set(u,[e,r])}else n=i.set(e,s.size),o=s.set(s.size,[e,r]);return t.__ownerID?(t.size=n.size,t._map=n,t._list=o,t.__hash=void 0,t):Ne(n,o)}function ze(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Oe(t){this._iter=t,this.size=t.size}function Le(t){this._iter=t,this.size=t.size}function Pe(t){this._iter=t,this.size=t.size}function qe(t){var e=Xe(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=tr,e.__iterateUncached=function(e,r){var n=this;return t.__iterate(function(t,r){return!1!==e(r,t,n)},r)},e.__iteratorUncached=function(e,r){if(e===z){var n=t.__iterator(e,r);return new q(function(){var t=n.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===j?T:j,r)},e}function Re(t,e,r){var n=Xe(t);return n.size=t.size,n.has=function(e){return t.has(e)},n.get=function(n,o){var i=t.get(n,v);return i===v?o:e.call(r,i,n,t)},n.__iterateUncached=function(n,o){var i=this;return t.__iterate(function(t,o,s){return!1!==n(e.call(r,t,o,s),o,i)},o)},n.__iteratorUncached=function(n,o){var i=t.__iterator(z,o);return new q(function(){var o=i.next();if(o.done)return o;var s=o.value,u=s[0];return R(n,u,e.call(r,s[1],u,t),o)})},n}function Ue(t,e){var r=Xe(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=qe(t);return e.reverse=function(){return t.flip()},e}),r.get=function(r,n){return t.get(e?r:-1-r,n)},r.has=function(r){return t.has(e?r:-1-r)},r.includes=function(e){return t.includes(e)},r.cacheResult=tr,r.__iterate=function(e,r){var n=this;return t.__iterate(function(t,r){return e(t,r,n)},!r)},r.__iterator=function(e,r){return t.__iterator(e,!r)},r}function Be(t,e,r,n){var o=Xe(t);return n&&(o.has=function(n){var o=t.get(n,v);return o!==v&&!!e.call(r,o,n,t)},o.get=function(n,o){var i=t.get(n,v);return i!==v&&e.call(r,i,n,t)?i:o}),o.__iterateUncached=function(o,i){var s=this,u=0;return t.__iterate(function(t,i,a){if(e.call(r,t,i,a))return u++,o(t,n?i:u-1,s)},i),u},o.__iteratorUncached=function(o,i){var s=t.__iterator(z,i),u=0;return new q(function(){for(;;){var i=s.next();if(i.done)return i;var a=i.value,c=a[0],l=a[1];if(e.call(r,l,c,t))return R(o,n?c:u++,l,i)}})},o}function Fe(t,e,r,n){var o=t.size;if(void 0!==e&&(e|=0),void 0!==r&&(r===1/0?r=o:r|=0),x(e,r,o))return t;var i=A(e,o),s=I(r,o);if(i!=i||s!=s)return Fe(t.toSeq().cacheResult(),e,r,n);var u,a=s-i;a==a&&(u=a<0?0:a);var c=Xe(t);return c.size=0===u?u:t.size&&u||void 0,!n&&ot(t)&&u>=0&&(c.get=function(e,r){return(e=S(this,e))>=0&&e<u?t.get(e+i,r):r}),c.__iterateUncached=function(e,r){var o=this;if(0===u)return 0;if(r)return this.cacheResult().__iterate(e,r);var s=0,a=!0,c=0;return t.__iterate(function(t,r){if(!a||!(a=s++<i))return c++,!1!==e(t,n?r:c-1,o)&&c!==u}),c},c.__iteratorUncached=function(e,r){if(0!==u&&r)return this.cacheResult().__iterator(e,r);var o=0!==u&&t.__iterator(e,r),s=0,a=0;return new q(function(){for(;s++<i;)o.next();if(++a>u)return{value:void 0,done:!0};var t=o.next();return n||e===j?t:R(e,a-1,e===T?void 0:t.value[1],t)})},c}function Ye(t,e,r,n){var o=Xe(t);return o.__iterateUncached=function(o,i){var s=this;if(i)return this.cacheResult().__iterate(o,i);var u=!0,a=0;return t.__iterate(function(t,i,c){if(!u||!(u=e.call(r,t,i,c)))return a++,o(t,n?i:a-1,s)}),a},o.__iteratorUncached=function(o,i){var s=this;if(i)return this.cacheResult().__iterator(o,i);var u=t.__iterator(z,i),a=!0,c=0;return new q(function(){var t,i,l;do{if((t=u.next()).done)return n||o===j?t:R(o,c++,o===T?void 0:t.value[1],t);var f=t.value;i=f[0],l=f[1],a&&(a=e.call(r,l,i,s))}while(a);return o===z?t:R(o,i,l,t)})},o}function Ge(t,e,r){var n=Xe(t);return n.__iterateUncached=function(n,o){var i=0,u=!1;return function t(a,c){var l=this;a.__iterate(function(o,a){return(!e||c<e)&&s(o)?t(o,c+1):!1===n(o,r?a:i++,l)&&(u=!0),!u},o)}(t,0),i},n.__iteratorUncached=function(n,o){var i=t.__iterator(n,o),u=[],a=0;return new q(function(){for(;i;){var t=i.next();if(!1===t.done){var c=t.value;if(n===z&&(c=c[1]),e&&!(u.length<e)||!s(c))return r?t:R(n,a++,c,t);u.push(i),i=c.__iterator(n,o)}else i=u.pop()}return{value:void 0,done:!0}})},n}function Qe(t,e,r){e||(e=er);var n=u(t),o=0,i=t.toSeq().map(function(e,n){return[n,e,o++,r?r(e,n,t):e]}).toArray();return i.sort(function(t,r){return e(t[3],r[3])||t[2]-r[2]}).forEach(n?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),n?V(i):a(t)?H(i):W(i)}function Ze(t,e,r){if(e||(e=er),r){var n=t.toSeq().map(function(e,n){return[e,r(e,n,t)]}).reduce(function(t,r){return Ve(e,t[1],r[1])?r:t});return n&&n[0]}return t.reduce(function(t,r){return Ve(e,t,r)?r:t})}function Ve(t,e,r){var n=t(r,e);return 0===n&&r!==e&&(void 0===r||null===r||r!=r)||n>0}function He(t,e,n){var o=Xe(t);return o.size=new tt(n).map(function(t){return t.size}).min(),o.__iterate=function(t,e){for(var r,n=this.__iterator(j,e),o=0;!(r=n.next()).done&&!1!==t(r.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=n.map(function(t){return t=r(t),Y(o?t.reverse():t)}),s=0,u=!1;return new q(function(){var r;return u||(r=i.map(function(t){return t.next()}),u=r.some(function(t){return t.done})),u?{value:void 0,done:!0}:R(t,s++,e.apply(null,r.map(function(t){return t.value})))})},o}function We(t,e){return ot(t)?e:t.constructor(e)}function $e(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Ke(t){return Pt(t.size),D(t)}function Je(t){return u(t)?n:a(t)?o:i}function Xe(t){return Object.create((u(t)?V:a(t)?H:W).prototype)}function tr(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Z.prototype.cacheResult.call(this)}function er(t,e){return t>e?1:t<e?-1:0}function rr(t){var e=Y(t);if(!e){if(!Q(t))throw new TypeError("Expected iterable or array-like: "+t);e=Y(r(t))}return e}function nr(t,e){var r,n=function(i){if(i instanceof n)return i;if(!(this instanceof n))return new n(i);if(!r){r=!0;var s=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){yt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}.bind(void 0,t))}catch(t){}}(o,s),o.size=s.length,o._name=e,o._keys=s,o._defaultValues=t}this._map=qt(i)},o=n.prototype=Object.create(or);return o.constructor=n,n}e(Ae,qt),Ae.of=function(){return this(arguments)},Ae.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ae.prototype.get=function(t,e){var r=this._map.get(t);return void 0!==r?this._list.get(r)[1]:e},Ae.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Te()},Ae.prototype.set=function(t,e){return je(this,t,e)},Ae.prototype.remove=function(t){return je(this,t,v)},Ae.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ae.prototype.__iterate=function(t,e){var r=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],r)},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),r=this._list.__ensureOwner(t);return t?Ne(e,r,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=r,this)},Ae.isOrderedMap=Ie,Ae.prototype[d]=!0,Ae.prototype.delete=Ae.prototype.remove,e(ze,V),ze.prototype.get=function(t,e){return this._iter.get(t,e)},ze.prototype.has=function(t){return this._iter.has(t)},ze.prototype.valueSeq=function(){return this._iter.valueSeq()},ze.prototype.reverse=function(){var t=this,e=Ue(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},ze.prototype.map=function(t,e){var r=this,n=Re(this,t,e);return this._useKeys||(n.valueSeq=function(){return r._iter.toSeq().map(t,e)}),n},ze.prototype.__iterate=function(t,e){var r,n=this;return this._iter.__iterate(this._useKeys?function(e,r){return t(e,r,n)}:(r=e?Ke(this):0,function(o){return t(o,e?--r:r++,n)}),e)},ze.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var r=this._iter.__iterator(j,e),n=e?Ke(this):0;return new q(function(){var o=r.next();return o.done?o:R(t,e?--n:n++,o.value,o)})},ze.prototype[d]=!0,e(Oe,H),Oe.prototype.includes=function(t){return this._iter.includes(t)},Oe.prototype.__iterate=function(t,e){var r=this,n=0;return this._iter.__iterate(function(e){return t(e,n++,r)},e)},Oe.prototype.__iterator=function(t,e){var r=this._iter.__iterator(j,e),n=0;return new q(function(){var e=r.next();return e.done?e:R(t,n++,e.value,e)})},e(Le,W),Le.prototype.has=function(t){return this._iter.includes(t)},Le.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate(function(e){return t(e,e,r)},e)},Le.prototype.__iterator=function(t,e){var r=this._iter.__iterator(j,e);return new q(function(){var e=r.next();return e.done?e:R(t,e.value,e.value,e)})},e(Pe,V),Pe.prototype.entrySeq=function(){return this._iter.toSeq()},Pe.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate(function(e){if(e){$e(e);var n=s(e);return t(n?e.get(1):e[1],n?e.get(0):e[0],r)}},e)},Pe.prototype.__iterator=function(t,e){var r=this._iter.__iterator(j,e);return new q(function(){for(;;){var e=r.next();if(e.done)return e;var n=e.value;if(n){$e(n);var o=s(n);return R(t,o?n.get(0):n[0],o?n.get(1):n[1],e)}}})},Oe.prototype.cacheResult=ze.prototype.cacheResult=Le.prototype.cacheResult=Pe.prototype.cacheResult=tr,e(nr,bt),nr.prototype.toString=function(){return this.__toString(sr(this)+" {","}")},nr.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},nr.prototype.get=function(t,e){if(!this.has(t))return e;var r=this._defaultValues[t];return this._map?this._map.get(t,r):r},nr.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=ir(this,Jt()))},nr.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+sr(this));if(this._map&&!this._map.has(t)){var r=this._defaultValues[t];if(e===r)return this}var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:ir(this,n)},nr.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:ir(this,e)},nr.prototype.wasAltered=function(){return this._map.wasAltered()},nr.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},nr.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},nr.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?ir(this,e,t):(this.__ownerID=t,this._map=e,this)};var or=nr.prototype;function ir(t,e,r){var n=Object.create(Object.getPrototypeOf(t));return n._map=e,n.__ownerID=r,n}function sr(t){return t._name||t.constructor.name||"Record"}function ur(t){return null===t||void 0===t?dr():ar(t)&&!l(t)?t:dr().withMutations(function(e){var r=i(t);Pt(r.size),r.forEach(function(t){return e.add(t)})})}function ar(t){return!(!t||!t[lr])}or.delete=or.remove,or.deleteIn=or.removeIn=Ft.removeIn,or.merge=Ft.merge,or.mergeWith=Ft.mergeWith,or.mergeIn=Ft.mergeIn,or.mergeDeep=Ft.mergeDeep,or.mergeDeepWith=Ft.mergeDeepWith,or.mergeDeepIn=Ft.mergeDeepIn,or.setIn=Ft.setIn,or.update=Ft.update,or.updateIn=Ft.updateIn,or.withMutations=Ft.withMutations,or.asMutable=Ft.asMutable,or.asImmutable=Ft.asImmutable,e(ur,wt),ur.of=function(){return this(arguments)},ur.fromKeys=function(t){return this(n(t).keySeq())},ur.prototype.toString=function(){return this.__toString("Set {","}")},ur.prototype.has=function(t){return this._map.has(t)},ur.prototype.add=function(t){return pr(this,this._map.set(t,!0))},ur.prototype.remove=function(t){return pr(this,this._map.remove(t))},ur.prototype.clear=function(){return pr(this,this._map.clear())},ur.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 r=0;r<e.length;r++)i(e[r]).forEach(function(e){return t.add(e)})}):this.constructor(e[0])},ur.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map(function(t){return i(t)});var r=this;return this.withMutations(function(t){r.forEach(function(r){e.every(function(t){return t.includes(r)})||t.remove(r)})})},ur.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map(function(t){return i(t)});var r=this;return this.withMutations(function(t){r.forEach(function(r){e.some(function(t){return t.includes(r)})&&t.remove(r)})})},ur.prototype.merge=function(){return this.union.apply(this,arguments)},ur.prototype.mergeWith=function(e){var r=t.call(arguments,1);return this.union.apply(this,r)},ur.prototype.sort=function(t){return _r(Qe(this,t))},ur.prototype.sortBy=function(t,e){return _r(Qe(this,e,t))},ur.prototype.wasAltered=function(){return this._map.wasAltered()},ur.prototype.__iterate=function(t,e){var r=this;return this._map.__iterate(function(e,n){return t(n,n,r)},e)},ur.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},ur.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)},ur.isSet=ar;var cr,lr="@@__IMMUTABLE_SET__@@",fr=ur.prototype;function pr(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 hr(t,e){var r=Object.create(fr);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function dr(){return cr||(cr=hr(Jt()))}function _r(t){return null===t||void 0===t?br():gr(t)?t:br().withMutations(function(e){var r=i(t);Pt(r.size),r.forEach(function(t){return e.add(t)})})}function gr(t){return ar(t)&&l(t)}fr[lr]=!0,fr.delete=fr.remove,fr.mergeDeep=fr.merge,fr.mergeDeepWith=fr.mergeWith,fr.withMutations=Ft.withMutations,fr.asMutable=Ft.asMutable,fr.asImmutable=Ft.asImmutable,fr.__empty=dr,fr.__make=hr,e(_r,ur),_r.of=function(){return this(arguments)},_r.fromKeys=function(t){return this(n(t).keySeq())},_r.prototype.toString=function(){return this.__toString("OrderedSet {","}")},_r.isOrderedSet=gr;var yr,vr=_r.prototype;function mr(t,e){var r=Object.create(vr);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function br(){return yr||(yr=mr(Te()))}function Mr(t){return null===t||void 0===t?Cr():wr(t)?t:Cr().unshiftAll(t)}function wr(t){return!(!t||!t[Er])}vr[d]=!0,vr.__empty=br,vr.__make=mr,e(Mr,Mt),Mr.of=function(){return this(arguments)},Mr.prototype.toString=function(){return this.__toString("Stack [","]")},Mr.prototype.get=function(t,e){var r=this._head;for(t=S(this,t);r&&t--;)r=r.next;return r?r.value:e},Mr.prototype.peek=function(){return this._head&&this._head.value},Mr.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,r=arguments.length-1;r>=0;r--)e={value:arguments[r],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Sr(t,e)},Mr.prototype.pushAll=function(t){if(0===(t=o(t)).size)return this;Pt(t.size);var e=this.size,r=this._head;return t.reverse().forEach(function(t){e++,r={value:t,next:r}}),this.__ownerID?(this.size=e,this._head=r,this.__hash=void 0,this.__altered=!0,this):Sr(e,r)},Mr.prototype.pop=function(){return this.slice(1)},Mr.prototype.unshift=function(){return this.push.apply(this,arguments)},Mr.prototype.unshiftAll=function(t){return this.pushAll(t)},Mr.prototype.shift=function(){return this.pop.apply(this,arguments)},Mr.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):Cr()},Mr.prototype.slice=function(t,e){if(x(t,e,this.size))return this;var r=A(t,this.size),n=I(e,this.size);if(n!==this.size)return Mt.prototype.slice.call(this,t,e);for(var o=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Sr(o,i)},Mr.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Sr(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Mr.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var r=0,n=this._head;n&&!1!==t(n.value,r++,this);)n=n.next;return r},Mr.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var r=0,n=this._head;return new q(function(){if(n){var e=n.value;return n=n.next,R(t,r++,e)}return{value:void 0,done:!0}})},Mr.isStack=wr;var kr,Er="@@__IMMUTABLE_STACK__@@",Dr=Mr.prototype;function Sr(t,e,r,n){var o=Object.create(Dr);return o.size=t,o._head=e,o.__ownerID=r,o.__hash=n,o.__altered=!1,o}function Cr(){return kr||(kr=Sr(0))}function xr(t,e){var r=function(r){t.prototype[r]=e[r]};return Object.keys(e).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(r),t}Dr[Er]=!0,Dr.withMutations=Ft.withMutations,Dr.asMutable=Ft.asMutable,Dr.asImmutable=Ft.asImmutable,Dr.wasAltered=Ft.wasAltered,r.Iterator=q,xr(r,{toArray:function(){Pt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,r){t[r]=e}),t},toIndexedSeq:function(){return new Oe(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 ze(this,!0)},toMap:function(){return qt(this.toKeyedSeq())},toObject:function(){Pt(this.size);var t={};return this.__iterate(function(e,r){t[r]=e}),t},toOrderedMap:function(){return Ae(this.toKeyedSeq())},toOrderedSet:function(){return _r(u(this)?this.valueSeq():this)},toSet:function(){return ur(u(this)?this.valueSeq():this)},toSetSeq:function(){return new Le(this)},toSeq:function(){return a(this)?this.toIndexedSeq():u(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Mr(u(this)?this.valueSeq():this)},toList:function(){return pe(u(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 We(this,function(t,e){var r=u(t),o=[t].concat(e).map(function(t){return s(t)?r&&(t=n(t)):t=r?st(t):ut(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||r&&u(i)||a(t)&&a(i))return i}var c=new tt(o);return r?c=c.toKeyedSeq():a(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce(function(t,e){if(void 0!==t){var r=e.size;if(void 0!==r)return t+r}},0),c}(this,e))},includes:function(t){return this.some(function(e){return dt(e,t)})},entries:function(){return this.__iterator(z)},every:function(t,e){Pt(this.size);var r=!0;return this.__iterate(function(n,o,i){if(!t.call(e,n,o,i))return r=!1,!1}),r},filter:function(t,e){return We(this,Be(this,t,e,!0))},find:function(t,e,r){var n=this.findEntry(t,e);return n?n[1]:r},forEach:function(t,e){return Pt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Pt(this.size),t=void 0!==t?""+t:",";var e="",r=!0;return this.__iterate(function(n){r?r=!1:e+=t,e+=null!==n&&void 0!==n?n.toString():""}),e},keys:function(){return this.__iterator(T)},map:function(t,e){return We(this,Re(this,t,e))},reduce:function(t,e,r){var n,o;return Pt(this.size),arguments.length<2?o=!0:n=e,this.__iterate(function(e,i,s){o?(o=!1,n=e):n=t.call(r,n,e,i,s)}),n},reduceRight:function(t,e,r){var n=this.toKeyedSeq().reverse();return n.reduce.apply(n,arguments)},reverse:function(){return We(this,Ue(this,!0))},slice:function(t,e){return We(this,Fe(this,t,e,!0))},some:function(t,e){return!this.every(jr(t),e)},sort:function(t){return We(this,Qe(this,t))},values:function(){return this.__iterator(j)},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 D(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,r){var n=qt().asMutable();return t.__iterate(function(o,i){n.update(e.call(r,o,i,t),0,function(t){return t+1})}),n.asImmutable()}(this,t,e)},equals:function(t){return _t(this,t)},entrySeq:function(){var t=this;if(t._cache)return new tt(t._cache);var e=t.toSeq().map(Tr).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(jr(t),e)},findEntry:function(t,e,r){var n=r;return this.__iterate(function(r,o,i){if(t.call(e,r,o,i))return n=[o,r],!1}),n},findKey:function(t,e){var r=this.findEntry(t,e);return r&&r[0]},findLast:function(t,e,r){return this.toKeyedSeq().reverse().find(t,e,r)},findLastEntry:function(t,e,r){return this.toKeyedSeq().reverse().findEntry(t,e,r)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(C)},flatMap:function(t,e){return We(this,function(t,e,r){var n=Je(t);return t.toSeq().map(function(o,i){return n(e.call(r,o,i,t))}).flatten(!0)}(this,t,e))},flatten:function(t){return We(this,Ge(this,t,!0))},fromEntrySeq:function(){return new Pe(this)},get:function(t,e){return this.find(function(e,r){return dt(r,t)},void 0,e)},getIn:function(t,e){for(var r,n=this,o=rr(t);!(r=o.next()).done;){var i=r.value;if((n=n&&n.get?n.get(i,v):v)===v)return e}return n},groupBy:function(t,e){return function(t,e,r){var n=u(t),o=(l(t)?Ae():qt()).asMutable();t.__iterate(function(i,s){o.update(e.call(r,i,s,t),function(t){return(t=t||[]).push(n?[s,i]:i),t})});var i=Je(t);return o.map(function(e){return We(t,i(e))})}(this,t,e)},has:function(t){return this.get(t,v)!==v},hasIn:function(t){return this.getIn(t,v)!==v},isSubset:function(t){return t="function"==typeof t.includes?t:r(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:r(t)).isSubset(this)},keyOf:function(t){return this.findKey(function(e){return dt(e,t)})},keySeq:function(){return this.toSeq().map(Nr).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return Ze(this,t)},maxBy:function(t,e){return Ze(this,e,t)},min:function(t){return Ze(this,t?zr(t):Pr)},minBy:function(t,e){return Ze(this,e?zr(e):Pr,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return We(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return We(this,Ye(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(jr(t),e)},sortBy:function(t,e){return We(this,Qe(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return We(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return We(this,function(t,e,r){var n=Xe(t);return n.__iterateUncached=function(n,o){var i=this;if(o)return this.cacheResult().__iterate(n,o);var s=0;return t.__iterate(function(t,o,u){return e.call(r,t,o,u)&&++s&&n(t,o,i)}),s},n.__iteratorUncached=function(n,o){var i=this;if(o)return this.cacheResult().__iterator(n,o);var s=t.__iterator(z,o),u=!0;return new q(function(){if(!u)return{value:void 0,done:!0};var t=s.next();if(t.done)return t;var o=t.value,a=o[0],c=o[1];return e.call(r,c,a,i)?n===z?t:R(n,a,c,t):(u=!1,{value:void 0,done:!0})})},n}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(jr(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),r=u(t),n=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=Et((e=kt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(r?e?function(t,e){n=31*n+qr(Dt(t),Dt(e))|0}:function(t,e){n=n+qr(Dt(t),Dt(e))|0}:e?function(t){n=31*n+Dt(t)|0}:function(t){n=n+Dt(t)|0}),n)}(this))}});var Ar=r.prototype;Ar[f]=!0,Ar[P]=Ar.values,Ar.__toJS=Ar.toArray,Ar.__toStringMapper=Or,Ar.inspect=Ar.toSource=function(){return this.toString()},Ar.chain=Ar.flatMap,Ar.contains=Ar.includes,xr(n,{flip:function(){return We(this,qe(this))},mapEntries:function(t,e){var r=this,n=0;return We(this,this.toSeq().map(function(o,i){return t.call(e,[i,o],n++,r)}).fromEntrySeq())},mapKeys:function(t,e){var r=this;return We(this,this.toSeq().flip().map(function(n,o){return t.call(e,n,o,r)}).flip())}});var Ir=n.prototype;function Nr(t,e){return e}function Tr(t,e){return[e,t]}function jr(t){return function(){return!t.apply(this,arguments)}}function zr(t){return function(){return-t.apply(this,arguments)}}function Or(t){return"string"==typeof t?JSON.stringify(t):String(t)}function Lr(){return E(arguments)}function Pr(t,e){return t<e?1:t>e?-1:0}function qr(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return Ir[p]=!0,Ir[P]=Ar.entries,Ir.__toJS=Ar.toObject,Ir.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Or(t)},xr(o,{toKeyedSeq:function(){return new ze(this,!1)},filter:function(t,e){return We(this,Be(this,t,e,!1))},findIndex:function(t,e){var r=this.findEntry(t,e);return r?r[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return We(this,Ue(this,!1))},slice:function(t,e){return We(this,Fe(this,t,e,!1))},splice:function(t,e){var r=arguments.length;if(e=Math.max(0|e,0),0===r||2===r&&!e)return this;t=A(t,t<0?this.count():this.size);var n=this.slice(0,t);return We(this,1===r?n:n.concat(E(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var r=this.findLastEntry(t,e);return r?r[0]:-1},first:function(){return this.get(0)},flatten:function(t){return We(this,Ge(this,t,!1))},get:function(t,e){return(t=S(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,r){return r===t},void 0,e)},has:function(t){return(t=S(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return We(this,function(t,e){var r=Xe(t);return r.size=t.size&&2*t.size-1,r.__iterateUncached=function(r,n){var o=this,i=0;return t.__iterate(function(t,n){return(!i||!1!==r(e,i++,o))&&!1!==r(t,i++,o)},n),i},r.__iteratorUncached=function(r,n){var o,i=t.__iterator(j,n),s=0;return new q(function(){return(!o||s%2)&&(o=i.next()).done?o:s%2?R(r,s++,e):R(r,s++,o.value,o)})},r}(this,t))},interleave:function(){var t=[this].concat(E(arguments)),e=He(this.toSeq(),H.of,t),r=e.flatten(!0);return e.size&&(r.size=e.size*t.length),We(this,r)},keySeq:function(){return vt(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(t,e){return We(this,Ye(this,t,e,!1))},zip:function(){return We(this,He(this,Lr,[this].concat(E(arguments))))},zipWith:function(t){var e=E(arguments);return e[0]=this,We(this,He(this,t,e))}}),o.prototype[h]=!0,o.prototype[d]=!0,xr(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=Ar.includes,i.prototype.contains=i.prototype.includes,xr(V,n.prototype),xr(H,o.prototype),xr(W,i.prototype),xr(bt,n.prototype),xr(Mt,o.prototype),xr(wt,i.prototype),{Iterable:r,Seq:Z,Collection:mt,Map:qt,OrderedMap:Ae,List:pe,Stack:Mr,Set:ur,OrderedSet:_r,Record:nr,Range:vt,Repeat:gt,is:dt,fromJS:ft}}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.TOGGLE_CHAT="BEHAVIOR/TOGGLE_CHAT",e.TOGGLE_INPUT_DISABLED="BEHAVIOR/TOGGLE_INPUT_DISABLED",e.TOGGLE_MSG_LOADER="BEHAVIOR/TOGGLE_MSG_LOADER",e.ADD_NEW_USER_MESSAGE="MESSAGES/ADD_NEW_USER_MESSAGE",e.ADD_NEW_RESPONSE_MESSAGE="MESSAGES/ADD_NEW_RESPONSE_MESSAGE",e.ADD_NEW_LINK_SNIPPET="MESSAGES/ADD_NEW_LINK_SNIPPET",e.ADD_COMPONENT_MESSAGE="MESSAGES/ADD_COMPONENT_MESSAGE",e.DROP_MESSAGES="MESSAGES/DROP_MESSAGES",e.HIDE_AVATAR="MESSAGES/HIDE_AVATAR",e.SET_QUICK_BUTTONS="SET_QUICK_BUTTONS"},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MESSAGE_BOX_SCROLL_DURATION=e.PROP_TYPES=e.MESSAGES_TYPES=e.MESSAGE_SENDER=void 0;var n=i(r(1)),o=i(r(10));function i(t){return t&&t.__esModule?t:{default:t}}var s=e.MESSAGE_SENDER={CLIENT:"client",RESPONSE:"response"},u=e.MESSAGES_TYPES={TEXT:"text",SNIPPET:{LINK:"snippet"},CUSTOM_COMPONENT:"component"};e.PROP_TYPES={MESSAGE:o.default.contains({type:n.default.oneOf([u.TEXT,u.SNIPPET.LINK]),text:n.default.string,sender:n.default.oneOf([s.CLIENT,s.RESPONSE])}),SNIPPET:o.default.contains({type:n.default.oneOf([u.TEXT,u.SNIPPET.LINK]),title:n.default.string,link:n.default.string,sender:n.default.oneOf([s.CLIENT,s.RESPONSE])})},e.MESSAGE_BOX_SCROLL_DURATION=400},function(t,e,r){"use strict";t.exports=function(t,e,r,n,o,i,s,u){if(!t){var a;if(void 0===e)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,i,s,u],l=0;(a=new Error(e.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw a.framesToPop=1,a}}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toggleChat=function(){return{type:n.TOGGLE_CHAT}},e.toggleInputDisabled=function(){return{type:n.TOGGLE_INPUT_DISABLED}},e.addUserMessage=function(t){return{type:n.ADD_NEW_USER_MESSAGE,text:t}},e.addResponseMessage=function(t){return{type:n.ADD_NEW_RESPONSE_MESSAGE,text:t}},e.toggleMsgLoader=function(){return{type:n.TOGGLE_MSG_LOADER}},e.addLinkSnippet=function(t){return{type:n.ADD_NEW_LINK_SNIPPET,link:t}},e.renderCustomComponent=function(t,e,r){return{type:n.ADD_COMPONENT_MESSAGE,component:t,props:e,showAvatar:r}},e.dropMessages=function(){return{type:n.DROP_MESSAGES}},e.hideAvatar=function(){return{type:n.HIDE_AVATAR}},e.setQuickButtons=function(t){return{type:n.SET_QUICK_BUTTONS,buttons:t}};var n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5))},function(t,e,r){"use strict";var n=r(4),o="<<anonymous>>",i={listOf:function(t){return c(t,"List",n.List.isList)},mapOf:function(t,e){return l(t,e,"Map",n.Map.isMap)},orderedMapOf:function(t,e){return l(t,e,"OrderedMap",n.OrderedMap.isOrderedMap)},setOf:function(t){return c(t,"Set",n.Set.isSet)},orderedSetOf:function(t){return c(t,"OrderedSet",n.OrderedSet.isOrderedSet)},stackOf:function(t){return c(t,"Stack",n.Stack.isStack)},iterableOf:function(t){return c(t,"Iterable",n.Iterable.isIterable)},recordOf:function(t){return u(function(e,r,o,i,u){for(var a=arguments.length,c=Array(a>5?a-5:0),l=5;l<a;l++)c[l-5]=arguments[l];var f=e[r];if(!(f instanceof n.Record)){var p=s(f),h=i;return new Error("Invalid "+h+" `"+u+"` of type `"+p+"` supplied to `"+o+"`, expected an Immutable.js Record.")}for(var d in t){var _=t[d];if(_){var g=f.toObject(),y=_.apply(void 0,[g,d,o,i,u+"."+d].concat(c));if(y)return y}}})},shape:p,contains:p,mapContains:function(t){return f(t,"Map",n.Map.isMap)},list:a("List",n.List.isList),map:a("Map",n.Map.isMap),orderedMap:a("OrderedMap",n.OrderedMap.isOrderedMap),set:a("Set",n.Set.isSet),orderedSet:a("OrderedSet",n.OrderedSet.isOrderedSet),stack:a("Stack",n.Stack.isStack),seq:a("Seq",n.Seq.isSeq),record:a("Record",function(t){return t instanceof n.Record}),iterable:a("Iterable",n.Iterable.isIterable)};function s(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":t instanceof n.Iterable?"Immutable."+t.toSource().split(" ")[0]:e}function u(t){function e(e,r,n,i,s,u){for(var a=arguments.length,c=Array(a>6?a-6:0),l=6;l<a;l++)c[l-6]=arguments[l];return u=u||n,i=i||o,null!=r[n]?t.apply(void 0,[r,n,i,s,u].concat(c)):e?new Error("Required "+s+" `"+u+"` was not specified in `"+i+"`."):void 0}var r=e.bind(null,!1);return r.isRequired=e.bind(null,!0),r}function a(t,e){return u(function(r,n,o,i,u){var a=r[n];if(!e(a)){var c=s(a);return new Error("Invalid "+i+" `"+u+"` of type `"+c+"` supplied to `"+o+"`, expected `"+t+"`.")}return null})}function c(t,e,r){return u(function(n,o,i,u,a){for(var c=arguments.length,l=Array(c>5?c-5:0),f=5;f<c;f++)l[f-5]=arguments[f];var p=n[o];if(!r(p)){var h=u,d=s(p);return new Error("Invalid "+h+" `"+a+"` of type `"+d+"` supplied to `"+i+"`, expected an Immutable.js "+e+".")}if("function"!=typeof t)return new Error("Invalid typeChecker supplied to `"+i+"` for propType `"+a+"`, expected a function.");for(var _=p.toArray(),g=0,y=_.length;g<y;g++){var v=t.apply(void 0,[_,g,i,u,a+"["+g+"]"].concat(l));if(v instanceof Error)return v}})}function l(t,e,r,n){return u(function(){for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return c(t,r,n).apply(void 0,i)||e&&function(t){return u(function(e,r,n,o,i){for(var s=arguments.length,u=Array(s>5?s-5:0),a=5;a<s;a++)u[a-5]=arguments[a];var c=e[r];if("function"!=typeof t)return new Error("Invalid keysTypeChecker (optional second argument) supplied to `"+n+"` for propType `"+i+"`, expected a function.");for(var l=c.keySeq().toArray(),f=0,p=l.length;f<p;f++){var h=t.apply(void 0,[l,f,n,o,i+" -> key("+l[f]+")"].concat(u));if(h instanceof Error)return h}})}(e).apply(void 0,i)})}function f(t){var e=void 0===arguments[1]?"Iterable":arguments[1],r=void 0===arguments[2]?n.Iterable.isIterable:arguments[2];return u(function(n,o,i,u,a){for(var c=arguments.length,l=Array(c>5?c-5:0),f=5;f<c;f++)l[f-5]=arguments[f];var p=n[o];if(!r(p)){var h=s(p);return new Error("Invalid "+u+" `"+a+"` of type `"+h+"` supplied to `"+i+"`, expected an Immutable.js "+e+".")}var d=p.toObject();for(var _ in t){var g=t[_];if(g){var y=g.apply(void 0,[d,_,i,u,a+"."+_].concat(l));if(y)return y}}})}function p(t){return f(t)}t.exports=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createNewMessage=function(t,e){return(0,n.Map)({type:o.MESSAGES_TYPES.TEXT,component:i.default,text:t,sender:e,showAvatar:e===o.MESSAGE_SENDER.RESPONSE})},e.createLinkSnippet=function(t){return(0,n.Map)({type:o.MESSAGES_TYPES.SNIPPET.LINK,component:s.default,title:t.title,link:t.link,target:t.target||"_blank",sender:o.MESSAGE_SENDER.RESPONSE,showAvatar:!0})},e.createComponentMessage=function(t,e,r){return(0,n.Map)({type:o.MESSAGES_TYPES.CUSTOM_COMPONENT,component:t,props:e,sender:o.MESSAGE_SENDER.RESPONSE,showAvatar:r})},e.scrollToBottom=function(t){if(!t)return;var e=t.clientHeight,r=t.scrollTop,n=t.scrollHeight-(r+e);n&&function(t,e,r){var n=window.webkitRequestAnimationFrame||window.requestAnimationFrame,i=null;n(function s(u){i||(i=u);var a=function(t,e,r,n){return r*((t=t/n-1)*t*t+1)+e}(u-i,0,r,o.MESSAGE_BOX_SCROLL_DURATION),c=e+a;t.scrollTop=c,c<e+r&&n(s)})}(t,r,n)},e.createQuickButton=function(t){return(0,n.Map)({component:u.default,label:t.label,value:t.value})};var n=r(4),o=r(6),i=a(r(46)),s=a(r(107)),u=a(r(109));function a(t){return t&&t.__esModule?t:{default:t}}},function(t,e){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(t,e,r){"use strict";function n(){this.__rules__=[],this.__cache__=null}n.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},n.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(t){t.enabled&&t.alt.forEach(function(t){e.indexOf(t)<0&&e.push(t)})}),t.__cache__={},e.forEach(function(e){t.__cache__[e]=[],t.__rules__.forEach(function(r){r.enabled&&(e&&r.alt.indexOf(e)<0||t.__cache__[e].push(r.fn))})})},n.prototype.at=function(t,e,r){var n=this.__find__(t),o=r||{};if(-1===n)throw new Error("Parser rule not found: "+t);this.__rules__[n].fn=e,this.__rules__[n].alt=o.alt||[],this.__cache__=null},n.prototype.before=function(t,e,r,n){var o=this.__find__(t),i=n||{};if(-1===o)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},n.prototype.after=function(t,e,r,n){var o=this.__find__(t),i=n||{};if(-1===o)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},n.prototype.push=function(t,e,r){var n=r||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null},n.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var r=[];return t.forEach(function(t){var n=this.__find__(t);if(n<0){if(e)return;throw new Error("Rules manager: invalid rule name "+t)}this.__rules__[n].enabled=!0,r.push(t)},this),this.__cache__=null,r},n.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(t){t.enabled=!1}),this.enable(t,e)},n.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var r=[];return t.forEach(function(t){var n=this.__find__(t);if(n<0){if(e)return;throw new Error("Rules manager: invalid rule name "+t)}this.__rules__[n].enabled=!1,r.push(t)},this),this.__cache__=null,r},n.prototype.getRules=function(t){return null===this.__cache__&&this.__compile__(),this.__cache__[t]||[]},t.exports=n},function(t,e,r){"use strict";function n(t,e,r){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}n.prototype.attrIndex=function(t){var e,r,n;if(!this.attrs)return-1;for(r=0,n=(e=this.attrs).length;r<n;r++)if(e[r][0]===t)return r;return-1},n.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},n.prototype.attrSet=function(t,e){var r=this.attrIndex(t),n=[t,e];r<0?this.attrPush(n):this.attrs[r]=n},n.prototype.attrGet=function(t){var e=this.attrIndex(t),r=null;return e>=0&&(r=this.attrs[e][1]),r},n.prototype.attrJoin=function(t,e){var r=this.attrIndex(t);r<0?this.attrPush([t,e]):this.attrs[r][1]=this.attrs[r][1]+" "+e},t.exports=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.createReducer=function(t,e,r){return t[r.type]?t[r.type](e,r):e}},function(t,e,r){"use strict";t.exports=r(38)},function(t,e,r){"use strict";r.r(e);var n=r(31),o="object"==typeof self&&self&&self.Object===Object&&self,i=(n.a||o||Function("return this")()).Symbol,s=Object.prototype,u=s.hasOwnProperty,a=s.toString,c=i?i.toStringTag:void 0;var l=function(t){var e=u.call(t,c),r=t[c];try{t[c]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[c]=r:delete t[c]),o},f=Object.prototype.toString;var p=function(t){return f.call(t)},h="[object Null]",d="[object Undefined]",_=i?i.toStringTag:void 0;var g=function(t){return null==t?void 0===t?d:h:_&&_ in Object(t)?l(t):p(t)};var y=function(t,e){return function(r){return t(e(r))}}(Object.getPrototypeOf,Object);var v=function(t){return null!=t&&"object"==typeof t},m="[object Object]",b=Function.prototype,M=Object.prototype,w=b.toString,k=M.hasOwnProperty,E=w.call(Object);var D=function(t){if(!v(t)||g(t)!=m)return!1;var e=y(t);if(null===e)return!0;var r=k.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&w.call(r)==E},S=r(18),C={INIT:"@@redux/INIT"};function x(t,e,r){var n;if("function"==typeof e&&void 0===r&&(r=e,e=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(x)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var o=t,i=e,s=[],u=s,a=!1;function c(){u===s&&(u=s.slice())}function l(){return i}function f(t){if("function"!=typeof t)throw new Error("Expected listener to be a function.");var e=!0;return c(),u.push(t),function(){if(e){e=!1,c();var r=u.indexOf(t);u.splice(r,1)}}}function p(t){if(!D(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(a)throw new Error("Reducers may not dispatch actions.");try{a=!0,i=o(i,t)}finally{a=!1}for(var e=s=u,r=0;r<e.length;r++){(0,e[r])()}return t}return p({type:C.INIT}),(n={dispatch:p,subscribe:f,getState:l,replaceReducer:function(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");o=t,p({type:C.INIT})}})[S.a]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t)throw new TypeError("Expected the observer to be an object.");function r(){t.next&&t.next(l())}return r(),{unsubscribe:e(r)}}})[S.a]=function(){return this},t},n}function A(t,e){var r=e&&e.type;return"Given action "+(r&&'"'+r.toString()+'"'||"an action")+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function I(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var o=e[n];0,"function"==typeof t[o]&&(r[o]=t[o])}var i=Object.keys(r);var s=void 0;try{!function(t){Object.keys(t).forEach(function(e){var r=t[e];if(void 0===r(void 0,{type:C.INIT}))throw new Error('Reducer "'+e+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===r(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+e+"\" returned undefined when probed with a random type. Don't try to handle "+C.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(r)}catch(t){s=t}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];if(s)throw s;for(var n=!1,o={},u=0;u<i.length;u++){var a=i[u],c=r[a],l=t[a],f=c(l,e);if(void 0===f){var p=A(a,e);throw new Error(p)}o[a]=f,n=n||f!==l}return n?o:t}}function N(t,e){return function(){return e(t.apply(void 0,arguments))}}function T(t,e){if("function"==typeof t)return N(t,e);if("object"!=typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(t),n={},o=0;o<r.length;o++){var i=r[o],s=t[i];"function"==typeof s&&(n[i]=N(s,e))}return n}function j(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments))}})}var z=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function O(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return function(r,n,o){var i,s=t(r,n,o),u=s.dispatch,a={getState:s.getState,dispatch:function(t){return u(t)}};return i=e.map(function(t){return t(a)}),u=j.apply(void 0,i)(s.dispatch),z({},s,{dispatch:u})}}}r.d(e,"createStore",function(){return x}),r.d(e,"combineReducers",function(){return I}),r.d(e,"bindActionCreators",function(){return T}),r.d(e,"applyMiddleware",function(){return O}),r.d(e,"compose",function(){return j})},function(t,e,r){"use strict";(function(t,n){var o,i=r(30);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:n;var s=Object(i.a)(o);e.a=s}).call(this,r(8),r(39)(t))},function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4IiB2aWV3Qm94PSIwIDAgMzU3IDM1NyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMzU3IDM1NzsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8Zz4KCTxnIGlkPSJjbGVhciI+CgkJPHBvbHlnb24gcG9pbnRzPSIzNTcsMzUuNyAzMjEuMywwIDE3OC41LDE0Mi44IDM1LjcsMCAwLDM1LjcgMTQyLjgsMTc4LjUgMCwzMjEuMyAzNS43LDM1NyAxNzguNSwyMTQuMiAzMjEuMywzNTcgMzU3LDMyMS4zICAgICAyMTQuMiwxNzguNSAgICIgZmlsbD0iI0ZGRkZGRiIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo="},function(t,e,r){"use strict";t.exports=r(49)},function(t,e,r){"use strict";t.exports.encode=r(50),t.exports.decode=r(51),t.exports.format=r(52),t.exports.parse=r(53)},function(t,e){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(t,e){t.exports=/[\0-\x1F\x7F-\x9F]/},function(t,e){t.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(t,e,r){"use strict";var n="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",o="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+n+"|"+o+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),s=new RegExp("^(?:"+n+"|"+o+")");t.exports.HTML_TAG_RE=i,t.exports.HTML_OPEN_CLOSE_TAG_RE=s},function(t,e,r){"use strict";t.exports.tokenize=function(t,e){var r,n,o,i,s=t.pos,u=t.src.charCodeAt(s);if(e)return!1;if(126!==u)return!1;if(o=(n=t.scanDelims(t.pos,!0)).length,i=String.fromCharCode(u),o<2)return!1;for(o%2&&(t.push("text","",0).content=i,o--),r=0;r<o;r+=2)t.push("text","",0).content=i+i,t.delimiters.push({marker:u,jump:r,token:t.tokens.length-1,level:t.level,end:-1,open:n.can_open,close:n.can_close});return t.pos+=n.length,!0},t.exports.postProcess=function(t){var e,r,n,o,i,s=[],u=t.delimiters,a=t.delimiters.length;for(e=0;e<a;e++)126===(n=u[e]).marker&&-1!==n.end&&(o=u[n.end],(i=t.tokens[n.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=t.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===t.tokens[o.token-1].type&&"~"===t.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(r=(e=s.pop())+1;r<t.tokens.length&&"s_close"===t.tokens[r].type;)r++;e!==--r&&(i=t.tokens[r],t.tokens[r]=t.tokens[e],t.tokens[e]=i)}}},function(t,e,r){"use strict";t.exports.tokenize=function(t,e){var r,n,o=t.pos,i=t.src.charCodeAt(o);if(e)return!1;if(95!==i&&42!==i)return!1;for(n=t.scanDelims(t.pos,42===i),r=0;r<n.length;r++)t.push("text","",0).content=String.fromCharCode(i),t.delimiters.push({marker:i,length:n.length,jump:r,token:t.tokens.length-1,level:t.level,end:-1,open:n.can_open,close:n.can_close});return t.pos+=n.length,!0},t.exports.postProcess=function(t){var e,r,n,o,i,s,u=t.delimiters;for(e=t.delimiters.length-1;e>=0;e--)95!==(r=u[e]).marker&&42!==r.marker||-1!==r.end&&(n=u[r.end],s=e>0&&u[e-1].end===r.end+1&&u[e-1].token===r.token-1&&u[r.end+1].token===n.token+1&&u[e-1].marker===r.marker,i=String.fromCharCode(r.marker),(o=t.tokens[r.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?i+i:i,o.content="",(o=t.tokens[n.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?i+i:i,o.content="",s&&(t.tokens[u[e-1].token].content="",t.tokens[u[r.end+1].token].content="",e--))}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(17),o=u(r(126)),i=u(r(127)),s=u(r(128));function u(t){return t&&t.__esModule?t:{default:t}}var a=(0,n.combineReducers)({behavior:o.default,messages:i.default,quickButtons:s.default});e.default=(0,n.createStore)(a,"")},function(t,e,r){"use strict";var n=r(16),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function a(t){return n.isMemo(t)?s:u[t.$$typeof]||o}u[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;t.exports=function t(e,r,n){if("string"!=typeof r){if(d){var o=h(r);o&&o!==d&&t(e,o,n)}var s=l(r);f&&(s=s.concat(f(r)));for(var u=a(e),_=a(r),g=0;g<s.length;++g){var y=s[g];if(!(i[y]||n&&n[y]||_&&_[y]||u&&u[y])){var v=p(r,y);try{c(e,y,v)}catch(t){}}}return e}return e}},function(t,e,r){"use strict";function n(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}r.d(e,"a",function(){return n})},function(t,e,r){"use strict";(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.a=r}).call(this,r(8))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setQuickButtons=e.isWidgetOpened=e.dropMessages=e.toggleMsgLoader=e.toggleInputDisabled=e.toggleWidget=e.renderCustomComponent=e.addLinkSnippet=e.addResponseMessage=e.addUserMessage=e.Widget=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(r(33)),o=r(129);e.Widget=n.default,e.addUserMessage=o.addUserMessage,e.addResponseMessage=o.addResponseMessage,e.addLinkSnippet=o.addLinkSnippet,e.renderCustomComponent=o.renderCustomComponent,e.toggleWidget=o.toggleWidget,e.toggleInputDisabled=o.toggleInputDisabled,e.toggleMsgLoader=o.toggleMsgLoader,e.dropMessages=o.dropMessages,e.isWidgetOpened=o.isWidgetOpened,e.setQuickButtons=o.setQuickButtons},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(r(2)),o=a(r(1)),i=r(3),s=a(r(40)),u=a(r(28));function a(t){return t&&t.__esModule?t:{default:t}}var c=function(t){return n.default.createElement(i.Provider,{store:u.default},n.default.createElement(s.default,{title:t.title,titleAvatar:t.titleAvatar,subtitle:t.subtitle,handleNewUserMessage:t.handleNewUserMessage,handleQuickButtonClicked:t.handleQuickButtonClicked,senderPlaceHolder:t.senderPlaceHolder,profileAvatar:t.profileAvatar,showCloseButton:t.showCloseButton,fullScreenMode:t.fullScreenMode,badge:t.badge,autofocus:t.autofocus,customLauncher:t.launcher}))};c.propTypes={title:o.default.string,titleAvatar:o.default.string,subtitle:o.default.string,handleNewUserMessage:o.default.func.isRequired,handleQuickButtonClicked:o.default.func,senderPlaceHolder:o.default.string,profileAvatar:o.default.string,showCloseButton:o.default.bool,fullScreenMode:o.default.bool,badge:o.default.number,autofocus:o.default.bool,launcher:o.default.func},c.defaultProps={title:"Welcome",subtitle:"This is your chat subtitle",senderPlaceHolder:"Type a message...",showCloseButton:!0,fullScreenMode:!1,badge:0,autofocus:!0},e.default=c},function(t,e,r){"use strict";
/** @license React v16.8.6
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=r(35),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,s=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,a=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.concurrent_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,_=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,y="function"==typeof Symbol&&Symbol.iterator;function v(t){for(var e=arguments.length-1,r="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=0;n<e;n++)r+="&args[]="+encodeURIComponent(arguments[n+1]);!function(t,e,r,n,o,i,s,u){if(!t){if(t=void 0,void 0===e)t=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=[r,n,o,i,s,u],c=0;(t=Error(e.replace(/%s/g,function(){return a[c++]}))).name="Invariant Violation"}throw t.framesToPop=1,t}}(!1,"Minified React error #"+t+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",r)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function M(t,e,r){this.props=t,this.context=e,this.refs=b,this.updater=r||m}function w(){}function k(t,e,r){this.props=t,this.context=e,this.refs=b,this.updater=r||m}M.prototype.isReactComponent={},M.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t&&v("85"),this.updater.enqueueSetState(this,t,e,"setState")},M.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},w.prototype=M.prototype;var E=k.prototype=new w;E.constructor=k,n(E,M.prototype),E.isPureReactComponent=!0;var D={current:null},S={current:null},C=Object.prototype.hasOwnProperty,x={key:!0,ref:!0,__self:!0,__source:!0};function A(t,e,r){var n=void 0,o={},s=null,u=null;if(null!=e)for(n in void 0!==e.ref&&(u=e.ref),void 0!==e.key&&(s=""+e.key),e)C.call(e,n)&&!x.hasOwnProperty(n)&&(o[n]=e[n]);var a=arguments.length-2;if(1===a)o.children=r;else if(1<a){for(var c=Array(a),l=0;l<a;l++)c[l]=arguments[l+2];o.children=c}if(t&&t.defaultProps)for(n in a=t.defaultProps)void 0===o[n]&&(o[n]=a[n]);return{$$typeof:i,type:t,key:s,ref:u,props:o,_owner:S.current}}function I(t){return"object"==typeof t&&null!==t&&t.$$typeof===i}var N=/\/+/g,T=[];function j(t,e,r,n){if(T.length){var o=T.pop();return o.result=t,o.keyPrefix=e,o.func=r,o.context=n,o.count=0,o}return{result:t,keyPrefix:e,func:r,context:n,count:0}}function z(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>T.length&&T.push(t)}function O(t,e,r){return null==t?0:function t(e,r,n,o){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var a=!1;if(null===e)a=!0;else switch(u){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case i:case s:a=!0}}if(a)return n(o,e,""===r?"."+L(e,0):r),1;if(a=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var l=r+L(u=e[c],c);a+=t(u,l,n,o)}else if(l=null===e||"object"!=typeof e?null:"function"==typeof(l=y&&e[y]||e["@@iterator"])?l:null,"function"==typeof l)for(e=l.call(e),c=0;!(u=e.next()).done;)a+=t(u=u.value,l=r+L(u,c++),n,o);else"object"===u&&v("31","[object Object]"==(n=""+e)?"object with keys {"+Object.keys(e).join(", ")+"}":n,"");return a}(t,"",e,r)}function L(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(t){return e[t]})}(t.key):e.toString(36)}function P(t,e){t.func.call(t.context,e,t.count++)}function q(t,e,r){var n=t.result,o=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?R(t,n,r,function(t){return t}):null!=t&&(I(t)&&(t=function(t,e){return{$$typeof:i,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(t,o+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(N,"$&/")+"/")+r)),n.push(t))}function R(t,e,r,n,o){var i="";null!=r&&(i=(""+r).replace(N,"$&/")+"/"),O(t,q,e=j(e,i,n,o)),z(e)}function U(){var t=D.current;return null===t&&v("321"),t}var B={Children:{map:function(t,e,r){if(null==t)return t;var n=[];return R(t,n,null,e,r),n},forEach:function(t,e,r){if(null==t)return t;O(t,P,e=j(null,null,e,r)),z(e)},count:function(t){return O(t,function(){return null},null)},toArray:function(t){var e=[];return R(t,e,null,function(t){return t}),e},only:function(t){return I(t)||v("143"),t}},createRef:function(){return{current:null}},Component:M,PureComponent:k,createContext:function(t,e){return void 0===e&&(e=null),(t={$$typeof:f,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:t},t.Consumer=t},forwardRef:function(t){return{$$typeof:h,render:t}},lazy:function(t){return{$$typeof:g,_ctor:t,_status:-1,_result:null}},memo:function(t,e){return{$$typeof:_,type:t,compare:void 0===e?null:e}},useCallback:function(t,e){return U().useCallback(t,e)},useContext:function(t,e){return U().useContext(t,e)},useEffect:function(t,e){return U().useEffect(t,e)},useImperativeHandle:function(t,e,r){return U().useImperativeHandle(t,e,r)},useDebugValue:function(){},useLayoutEffect:function(t,e){return U().useLayoutEffect(t,e)},useMemo:function(t,e){return U().useMemo(t,e)},useReducer:function(t,e,r){return U().useReducer(t,e,r)},useRef:function(t){return U().useRef(t)},useState:function(t){return U().useState(t)},Fragment:u,StrictMode:a,Suspense:d,createElement:A,cloneElement:function(t,e,r){(null===t||void 0===t)&&v("267",t);var o=void 0,s=n({},t.props),u=t.key,a=t.ref,c=t._owner;if(null!=e){void 0!==e.ref&&(a=e.ref,c=S.current),void 0!==e.key&&(u=""+e.key);var l=void 0;for(o in t.type&&t.type.defaultProps&&(l=t.type.defaultProps),e)C.call(e,o)&&!x.hasOwnProperty(o)&&(s[o]=void 0===e[o]&&void 0!==l?l[o]:e[o])}if(1===(o=arguments.length-2))s.children=r;else if(1<o){l=Array(o);for(var f=0;f<o;f++)l[f]=arguments[f+2];s.children=l}return{$$typeof:i,type:t.type,key:u,ref:a,props:s,_owner:c}},createFactory:function(t){var e=A.bind(null,t);return e.type=t,e},isValidElement:I,version:"16.8.6",unstable_ConcurrentMode:p,unstable_Profiler:c,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:D,ReactCurrentOwner:S,assign:n}},F={default:B},Y=F&&B||F;t.exports=Y.default||Y},function(t,e,r){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var n=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={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,s,u=function(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),a=1;a<arguments.length;a++){for(var c in r=Object(arguments[a]))o.call(r,c)&&(u[c]=r[c]);if(n){s=n(r);for(var l=0;l<s.length;l++)i.call(r,s[l])&&(u[s[l]]=r[s[l]])}}return u}},function(t,e,r){"use strict";var n=r(37);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,r,o,i,s){if(s!==n){var u=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 u.name="Invariant Violation",u}}function e(){return t}t.isRequired=t;var r={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 r.PropTypes=r,r}},function(t,e,r){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,r){"use strict";
/** @license React v16.8.6
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,u=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,_=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116;function y(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case f:case p:case s:case a:case u:case d:return t;default:switch(t=t&&t.$$typeof){case l:case h:case c:return t;default:return e}}case g:case _:case i:return e}}}function v(t){return y(t)===p}e.typeOf=y,e.AsyncMode=f,e.ConcurrentMode=p,e.ContextConsumer=l,e.ContextProvider=c,e.Element=o,e.ForwardRef=h,e.Fragment=s,e.Lazy=g,e.Memo=_,e.Portal=i,e.Profiler=a,e.StrictMode=u,e.Suspense=d,e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===s||t===p||t===a||t===u||t===d||"object"==typeof t&&null!==t&&(t.$$typeof===g||t.$$typeof===_||t.$$typeof===c||t.$$typeof===l||t.$$typeof===h)},e.isAsyncMode=function(t){return v(t)||y(t)===f},e.isConcurrentMode=v,e.isContextConsumer=function(t){return y(t)===l},e.isContextProvider=function(t){return y(t)===c},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===o},e.isForwardRef=function(t){return y(t)===h},e.isFragment=function(t){return y(t)===s},e.isLazy=function(t){return y(t)===g},e.isMemo=function(t){return y(t)===_},e.isPortal=function(t){return y(t)===i},e.isProfiler=function(t){return y(t)===a},e.isStrictMode=function(t){return y(t)===u},e.isSuspense=function(t){return y(t)===d}},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(2),i=l(o),s=r(3),u=l(r(1)),a=r(9),c=l(r(41));function l(t){return t&&t.__esModule?t:{default:t}}function f(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}var p=function(t){function e(){var t,r,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return r=n=f(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(i))),n.toggleConversation=function(){n.props.dispatch((0,a.toggleChat)())},n.handleMessageSubmit=function(t){t.preventDefault();var e=t.target.message.value;e.trim()&&(n.props.dispatch((0,a.addUserMessage)(e)),n.props.handleNewUserMessage(e)),t.target.message.value=""},n.handleQuickButtonClicked=function(t,e){t.preventDefault(),n.props.handleQuickButtonClicked&&n.props.handleQuickButtonClicked(e)},f(n,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,o.Component),n(e,[{key:"componentWillReceiveProps",value:function(t){t.fullScreenMode&&this.props.dispatch((0,a.toggleChat)())}},{key:"render",value:function(){return i.default.createElement(c.default,{onToggleConversation:this.toggleConversation,onSendMessage:this.handleMessageSubmit,onQuickButtonClicked:this.handleQuickButtonClicked,title:this.props.title,titleAvatar:this.props.titleAvatar,subtitle:this.props.subtitle,senderPlaceHolder:this.props.senderPlaceHolder,profileAvatar:this.props.profileAvatar,showCloseButton:this.props.showCloseButton,fullScreenMode:this.props.fullScreenMode,badge:this.props.badge,autofocus:this.props.autofocus,customLauncher:this.props.customLauncher})}}]),e}();p.propTypes={title:u.default.string,titleAvatar:u.default.string,subtitle:u.default.string,handleNewUserMessage:u.default.func.isRequired,handleQuickButtonClicked:u.default.func.isRequired,senderPlaceHolder:u.default.string,profileAvatar:u.default.string,showCloseButton:u.default.bool,fullScreenMode:u.default.bool,badge:u.default.number,autofocus:u.default.bool,customLauncher:u.default.func},e.default=(0,s.connect)()(p)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(r(2)),o=r(3),i=a(r(1)),s=a(r(42)),u=a(r(120));function a(t){return t&&t.__esModule?t:{default:t}}r(125);var c=function(t){return n.default.createElement("div",{className:"rcw-widget-container "+(t.fullScreenMode?"rcw-full-screen":"")+" "+(t.showChat?"rcw-opened":"")},t.showChat&&n.default.createElement(s.default,{title:t.title,subtitle:t.subtitle,sendMessage:t.onSendMessage,senderPlaceHolder:t.senderPlaceHolder,onQuickButtonClicked:t.onQuickButtonClicked,profileAvatar:t.profileAvatar,toggleChat:t.onToggleConversation,showChat:t.showChat,showCloseButton:t.showCloseButton,disabledInput:t.disabledInput,autofocus:t.autofocus,titleAvatar:t.titleAvatar}),t.customLauncher?t.customLauncher(t.onToggleConversation):!t.fullScreenMode&&n.default.createElement(u.default,{toggle:t.onToggleConversation,badge:t.badge}))};c.propTypes={title:i.default.string,titleAvatar:i.default.string,subtitle:i.default.string,onSendMessage:i.default.func,onToggleConversation:i.default.func,showChat:i.default.bool,senderPlaceHolder:i.default.string,onQuickButtonClicked:i.default.func,profileAvatar:i.default.string,showCloseButton:i.default.bool,disabledInput:i.default.bool,fullScreenMode:i.default.bool,badge:i.default.number,autofocus:i.default.bool,customLauncher:i.default.func},e.default=(0,o.connect)(function(t){return{showChat:t.behavior.get("showChat"),disabledInput:t.behavior.get("disabledInput")}})(c)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=c(r(2)),o=c(r(1)),i=c(r(43)),s=c(r(45)),u=c(r(114)),a=c(r(117));function c(t){return t&&t.__esModule?t:{default:t}}r(119);var l=function(t){return n.default.createElement("div",{className:"rcw-conversation-container"},n.default.createElement(i.default,{title:t.title,subtitle:t.subtitle,toggleChat:t.toggleChat,showCloseButton:t.showCloseButton,titleAvatar:t.titleAvatar}),n.default.createElement(s.default,{profileAvatar:t.profileAvatar}),n.default.createElement(a.default,{onQuickButtonClicked:t.onQuickButtonClicked}),n.default.createElement(u.default,{sendMessage:t.sendMessage,placeholder:t.senderPlaceHolder,disabledInput:t.disabledInput,autofocus:t.autofocus}))};l.propTypes={title:o.default.string,titleAvatar:o.default.string,subtitle:o.default.string,sendMessage:o.default.func,senderPlaceHolder:o.default.string,profileAvatar:o.default.string,toggleChat:o.default.func,showCloseButton:o.default.bool,disabledInput:o.default.bool,autofocus:o.default.bool},e.default=l},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=s(r(2)),o=s(r(1)),i=s(r(19));function s(t){return t&&t.__esModule?t:{default:t}}r(44);var u=function(t){var e=t.title,r=t.subtitle,o=t.toggleChat,s=t.showCloseButton,u=t.titleAvatar;return n.default.createElement("div",{className:"rcw-header"},s&&n.default.createElement("button",{className:"rcw-close-button",onClick:o},n.default.createElement("img",{src:i.default,className:"rcw-close",alt:"close"})),n.default.createElement("h4",{className:"rcw-title"},u&&n.default.createElement("img",{src:u,className:"avatar",alt:"profile"}),e),n.default.createElement("span",null,r))};u.propTypes={title:o.default.string,subtitle:o.default.string,toggleChat:o.default.func,showCloseButton:o.default.bool,titleAvatar:o.default.string},e.default=u},function(t,e,r){},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(2),i=p(o),s=p(r(1)),u=p(r(10)),a=r(3),c=r(9),l=r(11),f=p(r(111));function p(t){return t&&t.__esModule?t:{default:t}}function h(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}r(113);var d=function(t){function e(){var t,r,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,s=Array(o),u=0;u<o;u++)s[u]=arguments[u];return r=n=h(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(s))),n.$message=null,n.getComponentToRender=function(t){var e=t.get("component");n.props.messages.get();return"component"===t.get("type")?i.default.createElement(e,t.get("props")):i.default.createElement(e,{message:t})},n.shouldRenderAvatar=function(t,e){var r=n.props.messages.get(e-1);t.get("showAvatar")&&r.get("showAvatar")&&n.props.dispatch((0,c.hideAvatar)(e))},h(n,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,o.Component),n(e,[{key:"componentDidMount",value:function(){(0,l.scrollToBottom)(this.$message)}},{key:"componentDidUpdate",value:function(){(0,l.scrollToBottom)(this.$message)}},{key:"render",value:function(){var t=this,e=this.props,r=e.messages,n=e.profileAvatar,o=e.typing;return i.default.createElement("div",{id:"messages",className:"rcw-messages-container",ref:function(e){return t.$message=e}},i.default.createElement("div",{className:"rcw-messages-container-scroll"},r.map(function(e,r){return i.default.createElement("div",{className:"rcw-message",key:r},n&&e.get("showAvatar")&&i.default.createElement("img",{src:n,className:"rcw-avatar",alt:"profile"}),t.getComponentToRender(e))}),i.default.createElement(f.default,{typing:o})))}}]),e}();d.propTypes={messages:u.default.listOf(u.default.map),profileAvatar:s.default.string},e.default=(0,a.connect)(function(t){return{messages:t.messages,typing:t.behavior.get("msgLoader")}})(d)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(2),i=f(o),s=f(r(47)),u=f(r(103)),a=f(r(104)),c=f(r(105)),l=r(6);function f(t){return t&&t.__esModule?t:{default:t}}r(106);var p=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,(e.__proto__||Object.getPrototypeOf(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, 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,o.PureComponent),n(e,[{key:"render",value:function(){var t=(0,s.default)().use(u.default).use(a.default).use(c.default,{attrs:{target:"_blank",rel:"noopener"}}).render(this.props.message.get("text"));return i.default.createElement("div",{className:"rcw-"+this.props.message.get("sender")},i.default.createElement("div",{className:"rcw-message-text",dangerouslySetInnerHTML:{__html:t}}))}}]),e}();p.propTypes={message:l.PROP_TYPES.MESSAGE},e.default=p},function(t,e,r){"use strict";t.exports=r(48)},function(t,e,r){"use strict";var n=r(0),o=r(56),i=r(60),s=r(61),u=r(69),a=r(83),c=r(96),l=r(21),f=r(98),p={default:r(100),zero:r(101),commonmark:r(102)},h=/^(vbscript|javascript|file|data):/,d=/^data:image\/(gif|png|jpeg|webp);/;function _(t){var e=t.trim().toLowerCase();return!h.test(e)||!!d.test(e)}var g=["http:","https:","mailto:"];function y(t){var e=l.parse(t,!0);if(e.hostname&&(!e.protocol||g.indexOf(e.protocol)>=0))try{e.hostname=f.toASCII(e.hostname)}catch(t){}return l.encode(l.format(e))}function v(t){var e=l.parse(t,!0);if(e.hostname&&(!e.protocol||g.indexOf(e.protocol)>=0))try{e.hostname=f.toUnicode(e.hostname)}catch(t){}return l.decode(l.format(e))}function m(t,e){if(!(this instanceof m))return new m(t,e);e||n.isString(t)||(e=t||{},t="default"),this.inline=new a,this.block=new u,this.core=new s,this.renderer=new i,this.linkify=new c,this.validateLink=_,this.normalizeLink=y,this.normalizeLinkText=v,this.utils=n,this.helpers=n.assign({},o),this.options={},this.configure(t),e&&this.set(e)}m.prototype.set=function(t){return n.assign(this.options,t),this},m.prototype.configure=function(t){var e,r=this;if(n.isString(t)&&!(t=p[e=t]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&r.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&r[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&r[e].ruler2.enableOnly(t.components[e].rules2)}),this},m.prototype.enable=function(t,e){var r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){r=r.concat(this[e].ruler.enable(t,!0))},this),r=r.concat(this.inline.ruler2.enable(t,!0));var n=t.filter(function(t){return r.indexOf(t)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},m.prototype.disable=function(t,e){var r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){r=r.concat(this[e].ruler.disable(t,!0))},this),r=r.concat(this.inline.ruler2.disable(t,!0));var n=t.filter(function(t){return r.indexOf(t)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},m.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},m.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String");var r=new this.core.State(t,this,e);return this.core.process(r),r.tokens},m.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},m.prototype.parseInline=function(t,e){var r=new this.core.State(t,this,e);return r.inlineMode=!0,this.core.process(r),r.tokens},m.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)},t.exports=m},function(t){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",Ffr:"𝔉",ffr:"𝔣",filig:"ﬁ",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"ﬂ",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"Ĳ",ijlig:"ĳ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ŉ",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},function(t,e,r){"use strict";var n={};function o(t,e,r){var i,s,u,a,c,l="";for("string"!=typeof e&&(r=e,e=o.defaultChars),void 0===r&&(r=!0),c=function(t){var e,r,o=n[t];if(o)return o;for(o=n[t]=[],e=0;e<128;e++)r=String.fromCharCode(e),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)o[t.charCodeAt(e)]=t[e];return o}(e),i=0,s=t.length;i<s;i++)if(u=t.charCodeAt(i),r&&37===u&&i+2<s&&/^[0-9a-f]{2}$/i.test(t.slice(i+1,i+3)))l+=t.slice(i,i+3),i+=2;else if(u<128)l+=c[u];else if(u>=55296&&u<=57343){if(u>=55296&&u<=56319&&i+1<s&&(a=t.charCodeAt(i+1))>=56320&&a<=57343){l+=encodeURIComponent(t[i]+t[i+1]),i++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(t[i]);return l}o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",t.exports=o},function(t,e,r){"use strict";var n={};function o(t,e){var r;return"string"!=typeof e&&(e=o.defaultChars),r=function(t){var e,r,o=n[t];if(o)return o;for(o=n[t]=[],e=0;e<128;e++)r=String.fromCharCode(e),o.push(r);for(e=0;e<t.length;e++)o[r=t.charCodeAt(e)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return o}(e),t.replace(/(%[a-f0-9]{2})+/gi,function(t){var e,n,o,i,s,u,a,c="";for(e=0,n=t.length;e<n;e+=3)(o=parseInt(t.slice(e+1,e+3),16))<128?c+=r[o]:192==(224&o)&&e+3<n&&128==(192&(i=parseInt(t.slice(e+4,e+6),16)))?(c+=(a=o<<6&1984|63&i)<128?"��":String.fromCharCode(a),e+=3):224==(240&o)&&e+6<n&&(i=parseInt(t.slice(e+4,e+6),16),s=parseInt(t.slice(e+7,e+9),16),128==(192&i)&&128==(192&s))?(c+=(a=o<<12&61440|i<<6&4032|63&s)<2048||a>=55296&&a<=57343?"���":String.fromCharCode(a),e+=6):240==(248&o)&&e+9<n&&(i=parseInt(t.slice(e+4,e+6),16),s=parseInt(t.slice(e+7,e+9),16),u=parseInt(t.slice(e+10,e+12),16),128==(192&i)&&128==(192&s)&&128==(192&u))?((a=o<<18&1835008|i<<12&258048|s<<6&4032|63&u)<65536||a>1114111?c+="����":(a-=65536,c+=String.fromCharCode(55296+(a>>10),56320+(1023&a))),e+=9):c+="�";return c})}o.defaultChars=";/?:@&=+$,#",o.componentChars="",t.exports=o},function(t,e,r){"use strict";t.exports=function(t){var e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||""}},function(t,e,r){"use strict";function n(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var o=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),a=["'"].concat(u),c=["%","/","?",";","#"].concat(a),l=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};n.prototype.parse=function(t,e){var r,n,i,u,a,_=t;if(_=_.trim(),!e&&1===t.split("#").length){var g=s.exec(_);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var y=o.exec(_);if(y&&(i=(y=y[0]).toLowerCase(),this.protocol=y,_=_.substr(y.length)),(e||y||_.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(a="//"===_.substr(0,2))||y&&h[y]||(_=_.substr(2),this.slashes=!0)),!h[y]&&(a||y&&!d[y])){var v,m,b=-1;for(r=0;r<l.length;r++)-1!==(u=_.indexOf(l[r]))&&(-1===b||u<b)&&(b=u);for(-1!==(m=-1===b?_.lastIndexOf("@"):_.lastIndexOf("@",b))&&(v=_.slice(0,m),_=_.slice(m+1),this.auth=v),b=-1,r=0;r<c.length;r++)-1!==(u=_.indexOf(c[r]))&&(-1===b||u<b)&&(b=u);-1===b&&(b=_.length),":"===_[b-1]&&b--;var M=_.slice(0,b);_=_.slice(b),this.parseHost(M),this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var k=this.hostname.split(/\./);for(r=0,n=k.length;r<n;r++){var E=k[r];if(E&&!E.match(f)){for(var D="",S=0,C=E.length;S<C;S++)E.charCodeAt(S)>127?D+="x":D+=E[S];if(!D.match(f)){var x=k.slice(0,r),A=k.slice(r+1),I=E.match(p);I&&(x.push(I[1]),A.unshift(I[2])),A.length&&(_=A.join(".")+_),this.hostname=x.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var N=_.indexOf("#");-1!==N&&(this.hash=_.substr(N),_=_.slice(0,N));var T=_.indexOf("?");return-1!==T&&(this.search=_.substr(T),_=_.slice(0,T)),_&&(this.pathname=_),d[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},n.prototype.parseHost=function(t){var e=i.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},t.exports=function(t,e){if(t&&t instanceof n)return t;var r=new n;return r.parse(t,e),r}},function(t,e,r){"use strict";e.Any=r(22),e.Cc=r(23),e.Cf=r(55),e.P=r(12),e.Z=r(24)},function(t,e){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(t,e,r){"use strict";e.parseLinkLabel=r(57),e.parseLinkDestination=r(58),e.parseLinkTitle=r(59)},function(t,e,r){"use strict";t.exports=function(t,e,r){var n,o,i,s,u=-1,a=t.posMax,c=t.pos;for(t.pos=e+1,n=1;t.pos<a;){if(93===(i=t.src.charCodeAt(t.pos))&&0===--n){o=!0;break}if(s=t.pos,t.md.inline.skipToken(t),91===i)if(s===t.pos-1)n++;else if(r)return t.pos=c,-1}return o&&(u=t.pos),t.pos=c,u}},function(t,e,r){"use strict";var n=r(0).isSpace,o=r(0).unescapeAll;t.exports=function(t,e,r){var i,s,u=e,a={ok:!1,pos:0,lines:0,str:""};if(60===t.charCodeAt(e)){for(e++;e<r;){if(10===(i=t.charCodeAt(e))||n(i))return a;if(62===i)return a.pos=e+1,a.str=o(t.slice(u+1,e)),a.ok=!0,a;92===i&&e+1<r?e+=2:e++}return a}for(s=0;e<r&&32!==(i=t.charCodeAt(e))&&!(i<32||127===i);)if(92===i&&e+1<r)e+=2;else{if(40===i&&s++,41===i){if(0===s)break;s--}e++}return u===e?a:0!==s?a:(a.str=o(t.slice(u,e)),a.lines=0,a.pos=e,a.ok=!0,a)}},function(t,e,r){"use strict";var n=r(0).unescapeAll;t.exports=function(t,e,r){var o,i,s=0,u=e,a={ok:!1,pos:0,lines:0,str:""};if(e>=r)return a;if(34!==(i=t.charCodeAt(e))&&39!==i&&40!==i)return a;for(e++,40===i&&(i=41);e<r;){if((o=t.charCodeAt(e))===i)return a.pos=e+1,a.lines=s,a.str=n(t.slice(u+1,e)),a.ok=!0,a;10===o?s++:92===o&&e+1<r&&(e++,10===t.charCodeAt(e)&&s++),e++}return a}},function(t,e,r){"use strict";var n=r(0).assign,o=r(0).unescapeAll,i=r(0).escapeHtml,s={};function u(){this.rules=n({},s)}s.code_inline=function(t,e,r,n,o){var s=t[e];return"<code"+o.renderAttrs(s)+">"+i(t[e].content)+"</code>"},s.code_block=function(t,e,r,n,o){var s=t[e];return"<pre"+o.renderAttrs(s)+"><code>"+i(t[e].content)+"</code></pre>\n"},s.fence=function(t,e,r,n,s){var u,a,c,l,f=t[e],p=f.info?o(f.info).trim():"",h="";return p&&(h=p.split(/\s+/g)[0]),0===(u=r.highlight&&r.highlight(f.content,h)||i(f.content)).indexOf("<pre")?u+"\n":p?(a=f.attrIndex("class"),c=f.attrs?f.attrs.slice():[],a<0?c.push(["class",r.langPrefix+h]):c[a][1]+=" "+r.langPrefix+h,l={attrs:c},"<pre><code"+s.renderAttrs(l)+">"+u+"</code></pre>\n"):"<pre><code"+s.renderAttrs(f)+">"+u+"</code></pre>\n"},s.image=function(t,e,r,n,o){var i=t[e];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,r,n),o.renderToken(t,e,r)},s.hardbreak=function(t,e,r){return r.xhtmlOut?"<br />\n":"<br>\n"},s.softbreak=function(t,e,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},s.text=function(t,e){return i(t[e].content)},s.html_block=function(t,e){return t[e].content},s.html_inline=function(t,e){return t[e].content},u.prototype.renderAttrs=function(t){var e,r,n;if(!t.attrs)return"";for(n="",e=0,r=t.attrs.length;e<r;e++)n+=" "+i(t.attrs[e][0])+'="'+i(t.attrs[e][1])+'"';return n},u.prototype.renderToken=function(t,e,r){var n,o="",i=!1,s=t[e];return s.hidden?"":(s.block&&-1!==s.nesting&&e&&t[e-1].hidden&&(o+="\n"),o+=(-1===s.nesting?"</":"<")+s.tag,o+=this.renderAttrs(s),0===s.nesting&&r.xhtmlOut&&(o+=" /"),s.block&&(i=!0,1===s.nesting&&e+1<t.length&&("inline"===(n=t[e+1]).type||n.hidden?i=!1:-1===n.nesting&&n.tag===s.tag&&(i=!1))),o+=i?">\n":">")},u.prototype.renderInline=function(t,e,r){for(var n,o="",i=this.rules,s=0,u=t.length;s<u;s++)void 0!==i[n=t[s].type]?o+=i[n](t,s,e,r,this):o+=this.renderToken(t,s,e);return o},u.prototype.renderInlineAsText=function(t,e,r){for(var n="",o=0,i=t.length;o<i;o++)"text"===t[o].type?n+=t[o].content:"image"===t[o].type&&(n+=this.renderInlineAsText(t[o].children,e,r));return n},u.prototype.render=function(t,e,r){var n,o,i,s="",u=this.rules;for(n=0,o=t.length;n<o;n++)"inline"===(i=t[n].type)?s+=this.renderInline(t[n].children,e,r):void 0!==u[i]?s+=u[t[n].type](t,n,e,r,this):s+=this.renderToken(t,n,e,r);return s},t.exports=u},function(t,e,r){"use strict";var n=r(13),o=[["normalize",r(62)],["block",r(63)],["inline",r(64)],["linkify",r(65)],["replacements",r(66)],["smartquotes",r(67)]];function i(){this.ruler=new n;for(var t=0;t<o.length;t++)this.ruler.push(o[t][0],o[t][1])}i.prototype.process=function(t){var e,r,n;for(e=0,r=(n=this.ruler.getRules("")).length;e<r;e++)n[e](t)},i.prototype.State=r(68),t.exports=i},function(t,e,r){"use strict";var n=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,o=/\u0000/g;t.exports=function(t){var e;e=(e=t.src.replace(n,"\n")).replace(o,"�"),t.src=e}},function(t,e,r){"use strict";t.exports=function(t){var e;t.inlineMode?((e=new t.Token("inline","",0)).content=t.src,e.map=[0,1],e.children=[],t.tokens.push(e)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}},function(t,e,r){"use strict";t.exports=function(t){var e,r,n,o=t.tokens;for(r=0,n=o.length;r<n;r++)"inline"===(e=o[r]).type&&t.md.inline.parse(e.content,t.md,t.env,e.children)}},function(t,e,r){"use strict";var n=r(0).arrayReplaceAt;function o(t){return/^<a[>\s]/i.test(t)}function i(t){return/^<\/a\s*>/i.test(t)}t.exports=function(t){var e,r,s,u,a,c,l,f,p,h,d,_,g,y,v,m,b,M=t.tokens;if(t.md.options.linkify)for(r=0,s=M.length;r<s;r++)if("inline"===M[r].type&&t.md.linkify.pretest(M[r].content))for(g=0,e=(u=M[r].children).length-1;e>=0;e--)if("link_close"!==(c=u[e]).type){if("html_inline"===c.type&&(o(c.content)&&g>0&&g--,i(c.content)&&g++),!(g>0)&&"text"===c.type&&t.md.linkify.test(c.content)){for(p=c.content,b=t.md.linkify.match(p),l=[],_=c.level,d=0,f=0;f<b.length;f++)y=b[f].url,v=t.md.normalizeLink(y),t.md.validateLink(v)&&(m=b[f].text,m=b[f].schema?"mailto:"!==b[f].schema||/^mailto:/i.test(m)?t.md.normalizeLinkText(m):t.md.normalizeLinkText("mailto:"+m).replace(/^mailto:/,""):t.md.normalizeLinkText("http://"+m).replace(/^http:\/\//,""),(h=b[f].index)>d&&((a=new t.Token("text","",0)).content=p.slice(d,h),a.level=_,l.push(a)),(a=new t.Token("link_open","a",1)).attrs=[["href",v]],a.level=_++,a.markup="linkify",a.info="auto",l.push(a),(a=new t.Token("text","",0)).content=m,a.level=_,l.push(a),(a=new t.Token("link_close","a",-1)).level=--_,a.markup="linkify",a.info="auto",l.push(a),d=b[f].lastIndex);d<p.length&&((a=new t.Token("text","",0)).content=p.slice(d),a.level=_,l.push(a)),M[r].children=u=n(u,e,l)}}else for(e--;u[e].level!==c.level&&"link_open"!==u[e].type;)e--}},function(t,e,r){"use strict";var n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,o=/\((c|tm|r|p)\)/i,i=/\((c|tm|r|p)\)/gi,s={c:"©",r:"®",p:"§",tm:"™"};function u(t,e){return s[e.toLowerCase()]}function a(t){var e,r,n=0;for(e=t.length-1;e>=0;e--)"text"!==(r=t[e]).type||n||(r.content=r.content.replace(i,u)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function c(t){var e,r,o=0;for(e=t.length-1;e>=0;e--)"text"!==(r=t[e]).type||o||n.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===r.type&&"auto"===r.info&&o--,"link_close"===r.type&&"auto"===r.info&&o++}t.exports=function(t){var e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&(o.test(t.tokens[e].content)&&a(t.tokens[e].children),n.test(t.tokens[e].content)&&c(t.tokens[e].children))}},function(t,e,r){"use strict";var n=r(0).isWhiteSpace,o=r(0).isPunctChar,i=r(0).isMdAsciiPunct,s=/['"]/,u=/['"]/g,a="’";function c(t,e,r){return t.substr(0,e)+r+t.substr(e+1)}function l(t,e){var r,s,l,f,p,h,d,_,g,y,v,m,b,M,w,k,E,D,S,C,x;for(S=[],r=0;r<t.length;r++){for(s=t[r],d=t[r].level,E=S.length-1;E>=0&&!(S[E].level<=d);E--);if(S.length=E+1,"text"===s.type){p=0,h=(l=s.content).length;t:for(;p<h&&(u.lastIndex=p,f=u.exec(l));){if(w=k=!0,p=f.index+1,D="'"===f[0],g=32,f.index-1>=0)g=l.charCodeAt(f.index-1);else for(E=r-1;E>=0&&("softbreak"!==t[E].type&&"hardbreak"!==t[E].type);E--)if("text"===t[E].type){g=t[E].content.charCodeAt(t[E].content.length-1);break}if(y=32,p<h)y=l.charCodeAt(p);else for(E=r+1;E<t.length&&("softbreak"!==t[E].type&&"hardbreak"!==t[E].type);E++)if("text"===t[E].type){y=t[E].content.charCodeAt(0);break}if(v=i(g)||o(String.fromCharCode(g)),m=i(y)||o(String.fromCharCode(y)),b=n(g),(M=n(y))?w=!1:m&&(b||v||(w=!1)),b?k=!1:v&&(M||m||(k=!1)),34===y&&'"'===f[0]&&g>=48&&g<=57&&(k=w=!1),w&&k&&(w=!1,k=m),w||k){if(k)for(E=S.length-1;E>=0&&(_=S[E],!(S[E].level<d));E--)if(_.single===D&&S[E].level===d){_=S[E],D?(C=e.md.options.quotes[2],x=e.md.options.quotes[3]):(C=e.md.options.quotes[0],x=e.md.options.quotes[1]),s.content=c(s.content,f.index,x),t[_.token].content=c(t[_.token].content,_.pos,C),p+=x.length-1,_.token===r&&(p+=C.length-1),h=(l=s.content).length,S.length=E;continue t}w?S.push({token:r,pos:f.index,single:D,level:d}):k&&D&&(s.content=c(s.content,f.index,a))}else D&&(s.content=c(s.content,f.index,a))}}}}t.exports=function(t){var e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&s.test(t.tokens[e].content)&&l(t.tokens[e].children,t)}},function(t,e,r){"use strict";var n=r(14);function o(t,e,r){this.src=t,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=e}o.prototype.Token=n,t.exports=o},function(t,e,r){"use strict";var n=r(13),o=[["table",r(70),["paragraph","reference"]],["code",r(71)],["fence",r(72),["paragraph","reference","blockquote","list"]],["blockquote",r(73),["paragraph","reference","blockquote","list"]],["hr",r(74),["paragraph","reference","blockquote","list"]],["list",r(75),["paragraph","reference","blockquote"]],["reference",r(76)],["heading",r(77),["paragraph","reference","blockquote"]],["lheading",r(78)],["html_block",r(79),["paragraph","reference","blockquote"]],["paragraph",r(81)]];function i(){this.ruler=new n;for(var t=0;t<o.length;t++)this.ruler.push(o[t][0],o[t][1],{alt:(o[t][2]||[]).slice()})}i.prototype.tokenize=function(t,e,r){for(var n,o=this.ruler.getRules(""),i=o.length,s=e,u=!1,a=t.md.options.maxNesting;s<r&&(t.line=s=t.skipEmptyLines(s),!(s>=r))&&!(t.sCount[s]<t.blkIndent);){if(t.level>=a){t.line=r;break}for(n=0;n<i&&!o[n](t,s,r,!1);n++);t.tight=!u,t.isEmpty(t.line-1)&&(u=!0),(s=t.line)<r&&t.isEmpty(s)&&(u=!0,s++,t.line=s)}},i.prototype.parse=function(t,e,r,n){var o;t&&(o=new this.State(t,e,r,n),this.tokenize(o,o.line,o.lineMax))},i.prototype.State=r(82),t.exports=i},function(t,e,r){"use strict";var n=r(0).isSpace;function o(t,e){var r=t.bMarks[e]+t.blkIndent,n=t.eMarks[e];return t.src.substr(r,n-r)}function i(t){var e,r=[],n=0,o=t.length,i=0,s=0,u=!1,a=0;for(e=t.charCodeAt(n);n<o;)96===e?u?(u=!1,a=n):i%2==0&&(u=!0,a=n):124!==e||i%2!=0||u||(r.push(t.substring(s,n)),s=n+1),92===e?i++:i=0,++n===o&&u&&(u=!1,n=a+1),e=t.charCodeAt(n);return r.push(t.substring(s)),r}t.exports=function(t,e,r,s){var u,a,c,l,f,p,h,d,_,g,y,v;if(e+2>r)return!1;if(f=e+1,t.sCount[f]<t.blkIndent)return!1;if(t.sCount[f]-t.blkIndent>=4)return!1;if((c=t.bMarks[f]+t.tShift[f])>=t.eMarks[f])return!1;if(124!==(u=t.src.charCodeAt(c++))&&45!==u&&58!==u)return!1;for(;c<t.eMarks[f];){if(124!==(u=t.src.charCodeAt(c))&&45!==u&&58!==u&&!n(u))return!1;c++}for(p=(a=o(t,e+1)).split("|"),_=[],l=0;l<p.length;l++){if(!(g=p[l].trim())){if(0===l||l===p.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;58===g.charCodeAt(g.length-1)?_.push(58===g.charCodeAt(0)?"center":"right"):58===g.charCodeAt(0)?_.push("left"):_.push("")}if(-1===(a=o(t,e).trim()).indexOf("|"))return!1;if(t.sCount[e]-t.blkIndent>=4)return!1;if((h=(p=i(a.replace(/^\||\|$/g,""))).length)>_.length)return!1;if(s)return!0;for((d=t.push("table_open","table",1)).map=y=[e,0],(d=t.push("thead_open","thead",1)).map=[e,e+1],(d=t.push("tr_open","tr",1)).map=[e,e+1],l=0;l<p.length;l++)(d=t.push("th_open","th",1)).map=[e,e+1],_[l]&&(d.attrs=[["style","text-align:"+_[l]]]),(d=t.push("inline","",0)).content=p[l].trim(),d.map=[e,e+1],d.children=[],d=t.push("th_close","th",-1);for(d=t.push("tr_close","tr",-1),d=t.push("thead_close","thead",-1),(d=t.push("tbody_open","tbody",1)).map=v=[e+2,0],f=e+2;f<r&&!(t.sCount[f]<t.blkIndent)&&-1!==(a=o(t,f).trim()).indexOf("|")&&!(t.sCount[f]-t.blkIndent>=4);f++){for(p=i(a.replace(/^\||\|$/g,"")),d=t.push("tr_open","tr",1),l=0;l<h;l++)d=t.push("td_open","td",1),_[l]&&(d.attrs=[["style","text-align:"+_[l]]]),(d=t.push("inline","",0)).content=p[l]?p[l].trim():"",d.children=[],d=t.push("td_close","td",-1);d=t.push("tr_close","tr",-1)}return d=t.push("tbody_close","tbody",-1),d=t.push("table_close","table",-1),y[1]=v[1]=f,t.line=f,!0}},function(t,e,r){"use strict";t.exports=function(t,e,r){var n,o,i;if(t.sCount[e]-t.blkIndent<4)return!1;for(o=n=e+1;n<r;)if(t.isEmpty(n))n++;else{if(!(t.sCount[n]-t.blkIndent>=4))break;o=++n}return t.line=o,(i=t.push("code_block","code",0)).content=t.getLines(e,o,4+t.blkIndent,!0),i.map=[e,t.line],!0}},function(t,e,r){"use strict";t.exports=function(t,e,r,n){var o,i,s,u,a,c,l,f=!1,p=t.bMarks[e]+t.tShift[e],h=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(p+3>h)return!1;if(126!==(o=t.src.charCodeAt(p))&&96!==o)return!1;if(a=p,(i=(p=t.skipChars(p,o))-a)<3)return!1;if(l=t.src.slice(a,p),(s=t.src.slice(p,h)).indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;for(u=e;!(++u>=r)&&!((p=a=t.bMarks[u]+t.tShift[u])<(h=t.eMarks[u])&&t.sCount[u]<t.blkIndent);)if(t.src.charCodeAt(p)===o&&!(t.sCount[u]-t.blkIndent>=4||(p=t.skipChars(p,o))-a<i||(p=t.skipSpaces(p))<h)){f=!0;break}return i=t.sCount[e],t.line=u+(f?1:0),(c=t.push("fence","code",0)).info=s,c.content=t.getLines(e+1,u,i,!0),c.markup=l,c.map=[e,t.line],!0}},function(t,e,r){"use strict";var n=r(0).isSpace;t.exports=function(t,e,r,o){var i,s,u,a,c,l,f,p,h,d,_,g,y,v,m,b,M,w,k,E,D=t.lineMax,S=t.bMarks[e]+t.tShift[e],C=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(62!==t.src.charCodeAt(S++))return!1;if(o)return!0;for(a=h=t.sCount[e]+S-(t.bMarks[e]+t.tShift[e]),32===t.src.charCodeAt(S)?(S++,a++,h++,i=!1,b=!0):9===t.src.charCodeAt(S)?(b=!0,(t.bsCount[e]+h)%4==3?(S++,a++,h++,i=!1):i=!0):b=!1,d=[t.bMarks[e]],t.bMarks[e]=S;S<C&&(s=t.src.charCodeAt(S),n(s));)9===s?h+=4-(h+t.bsCount[e]+(i?1:0))%4:h++,S++;for(_=[t.bsCount[e]],t.bsCount[e]=t.sCount[e]+1+(b?1:0),l=S>=C,v=[t.sCount[e]],t.sCount[e]=h-a,m=[t.tShift[e]],t.tShift[e]=S-t.bMarks[e],w=t.md.block.ruler.getRules("blockquote"),y=t.parentType,t.parentType="blockquote",E=!1,p=e+1;p<r&&(t.sCount[p]<t.blkIndent&&(E=!0),!((S=t.bMarks[p]+t.tShift[p])>=(C=t.eMarks[p])));p++)if(62!==t.src.charCodeAt(S++)||E){if(l)break;for(M=!1,u=0,c=w.length;u<c;u++)if(w[u](t,p,r,!0)){M=!0;break}if(M){t.lineMax=p,0!==t.blkIndent&&(d.push(t.bMarks[p]),_.push(t.bsCount[p]),m.push(t.tShift[p]),v.push(t.sCount[p]),t.sCount[p]-=t.blkIndent);break}d.push(t.bMarks[p]),_.push(t.bsCount[p]),m.push(t.tShift[p]),v.push(t.sCount[p]),t.sCount[p]=-1}else{for(a=h=t.sCount[p]+S-(t.bMarks[p]+t.tShift[p]),32===t.src.charCodeAt(S)?(S++,a++,h++,i=!1,b=!0):9===t.src.charCodeAt(S)?(b=!0,(t.bsCount[p]+h)%4==3?(S++,a++,h++,i=!1):i=!0):b=!1,d.push(t.bMarks[p]),t.bMarks[p]=S;S<C&&(s=t.src.charCodeAt(S),n(s));)9===s?h+=4-(h+t.bsCount[p]+(i?1:0))%4:h++,S++;l=S>=C,_.push(t.bsCount[p]),t.bsCount[p]=t.sCount[p]+1+(b?1:0),v.push(t.sCount[p]),t.sCount[p]=h-a,m.push(t.tShift[p]),t.tShift[p]=S-t.bMarks[p]}for(g=t.blkIndent,t.blkIndent=0,(k=t.push("blockquote_open","blockquote",1)).markup=">",k.map=f=[e,0],t.md.block.tokenize(t,e,p),(k=t.push("blockquote_close","blockquote",-1)).markup=">",t.lineMax=D,t.parentType=y,f[1]=t.line,u=0;u<m.length;u++)t.bMarks[u+e]=d[u],t.tShift[u+e]=m[u],t.sCount[u+e]=v[u],t.bsCount[u+e]=_[u];return t.blkIndent=g,!0}},function(t,e,r){"use strict";var n=r(0).isSpace;t.exports=function(t,e,r,o){var i,s,u,a,c=t.bMarks[e]+t.tShift[e],l=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(42!==(i=t.src.charCodeAt(c++))&&45!==i&&95!==i)return!1;for(s=1;c<l;){if((u=t.src.charCodeAt(c++))!==i&&!n(u))return!1;u===i&&s++}return!(s<3)&&(!!o||(t.line=e+1,(a=t.push("hr","hr",0)).map=[e,t.line],a.markup=Array(s+1).join(String.fromCharCode(i)),!0))}},function(t,e,r){"use strict";var n=r(0).isSpace;function o(t,e){var r,o,i,s;return o=t.bMarks[e]+t.tShift[e],i=t.eMarks[e],42!==(r=t.src.charCodeAt(o++))&&45!==r&&43!==r?-1:o<i&&(s=t.src.charCodeAt(o),!n(s))?-1:o}function i(t,e){var r,o=t.bMarks[e]+t.tShift[e],i=o,s=t.eMarks[e];if(i+1>=s)return-1;if((r=t.src.charCodeAt(i++))<48||r>57)return-1;for(;;){if(i>=s)return-1;if(!((r=t.src.charCodeAt(i++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(i-o>=10)return-1}return i<s&&(r=t.src.charCodeAt(i),!n(r))?-1:i}t.exports=function(t,e,r,n){var s,u,a,c,l,f,p,h,d,_,g,y,v,m,b,M,w,k,E,D,S,C,x,A,I,N,T,j,z=!1,O=!0;if(t.sCount[e]-t.blkIndent>=4)return!1;if(n&&"paragraph"===t.parentType&&t.tShift[e]>=t.blkIndent&&(z=!0),(x=i(t,e))>=0){if(p=!0,I=t.bMarks[e]+t.tShift[e],v=Number(t.src.substr(I,x-I-1)),z&&1!==v)return!1}else{if(!((x=o(t,e))>=0))return!1;p=!1}if(z&&t.skipSpaces(x)>=t.eMarks[e])return!1;if(y=t.src.charCodeAt(x-1),n)return!0;for(g=t.tokens.length,p?(j=t.push("ordered_list_open","ol",1),1!==v&&(j.attrs=[["start",v]])):j=t.push("bullet_list_open","ul",1),j.map=_=[e,0],j.markup=String.fromCharCode(y),b=e,A=!1,T=t.md.block.ruler.getRules("list"),E=t.parentType,t.parentType="list";b<r;){for(C=x,m=t.eMarks[b],f=M=t.sCount[b]+x-(t.bMarks[e]+t.tShift[e]);C<m;){if(9===(s=t.src.charCodeAt(C)))M+=4-(M+t.bsCount[b])%4;else{if(32!==s)break;M++}C++}if((l=(u=C)>=m?1:M-f)>4&&(l=1),c=f+l,(j=t.push("list_item_open","li",1)).markup=String.fromCharCode(y),j.map=h=[e,0],w=t.blkIndent,S=t.tight,D=t.tShift[e],k=t.sCount[e],t.blkIndent=c,t.tight=!0,t.tShift[e]=u-t.bMarks[e],t.sCount[e]=M,u>=m&&t.isEmpty(e+1)?t.line=Math.min(t.line+2,r):t.md.block.tokenize(t,e,r,!0),t.tight&&!A||(O=!1),A=t.line-e>1&&t.isEmpty(t.line-1),t.blkIndent=w,t.tShift[e]=D,t.sCount[e]=k,t.tight=S,(j=t.push("list_item_close","li",-1)).markup=String.fromCharCode(y),b=e=t.line,h[1]=b,u=t.bMarks[e],b>=r)break;if(t.sCount[b]<t.blkIndent)break;for(N=!1,a=0,d=T.length;a<d;a++)if(T[a](t,b,r,!0)){N=!0;break}if(N)break;if(p){if((x=i(t,b))<0)break}else if((x=o(t,b))<0)break;if(y!==t.src.charCodeAt(x-1))break}return(j=p?t.push("ordered_list_close","ol",-1):t.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(y),_[1]=b,t.line=b,t.parentType=E,O&&function(t,e){var r,n,o=t.level+2;for(r=e+2,n=t.tokens.length-2;r<n;r++)t.tokens[r].level===o&&"paragraph_open"===t.tokens[r].type&&(t.tokens[r+2].hidden=!0,t.tokens[r].hidden=!0,r+=2)}(t,g),!0}},function(t,e,r){"use strict";var n=r(0).normalizeReference,o=r(0).isSpace;t.exports=function(t,e,r,i){var s,u,a,c,l,f,p,h,d,_,g,y,v,m,b,M,w=0,k=t.bMarks[e]+t.tShift[e],E=t.eMarks[e],D=e+1;if(t.sCount[e]-t.blkIndent>=4)return!1;if(91!==t.src.charCodeAt(k))return!1;for(;++k<E;)if(93===t.src.charCodeAt(k)&&92!==t.src.charCodeAt(k-1)){if(k+1===E)return!1;if(58!==t.src.charCodeAt(k+1))return!1;break}for(c=t.lineMax,b=t.md.block.ruler.getRules("reference"),_=t.parentType,t.parentType="reference";D<c&&!t.isEmpty(D);D++)if(!(t.sCount[D]-t.blkIndent>3||t.sCount[D]<0)){for(m=!1,f=0,p=b.length;f<p;f++)if(b[f](t,D,c,!0)){m=!0;break}if(m)break}for(E=(v=t.getLines(e,D,t.blkIndent,!1).trim()).length,k=1;k<E;k++){if(91===(s=v.charCodeAt(k)))return!1;if(93===s){d=k;break}10===s?w++:92===s&&++k<E&&10===v.charCodeAt(k)&&w++}if(d<0||58!==v.charCodeAt(d+1))return!1;for(k=d+2;k<E;k++)if(10===(s=v.charCodeAt(k)))w++;else if(!o(s))break;if(!(g=t.md.helpers.parseLinkDestination(v,k,E)).ok)return!1;if(l=t.md.normalizeLink(g.str),!t.md.validateLink(l))return!1;for(u=k=g.pos,a=w+=g.lines,y=k;k<E;k++)if(10===(s=v.charCodeAt(k)))w++;else if(!o(s))break;for(g=t.md.helpers.parseLinkTitle(v,k,E),k<E&&y!==k&&g.ok?(M=g.str,k=g.pos,w+=g.lines):(M="",k=u,w=a);k<E&&(s=v.charCodeAt(k),o(s));)k++;if(k<E&&10!==v.charCodeAt(k)&&M)for(M="",k=u,w=a;k<E&&(s=v.charCodeAt(k),o(s));)k++;return!(k<E&&10!==v.charCodeAt(k))&&(!!(h=n(v.slice(1,d)))&&(!!i||(void 0===t.env.references&&(t.env.references={}),void 0===t.env.references[h]&&(t.env.references[h]={title:M,href:l}),t.parentType=_,t.line=e+w+1,!0)))}},function(t,e,r){"use strict";var n=r(0).isSpace;t.exports=function(t,e,r,o){var i,s,u,a,c=t.bMarks[e]+t.tShift[e],l=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(35!==(i=t.src.charCodeAt(c))||c>=l)return!1;for(s=1,i=t.src.charCodeAt(++c);35===i&&c<l&&s<=6;)s++,i=t.src.charCodeAt(++c);return!(s>6||c<l&&!n(i))&&(!!o||(l=t.skipSpacesBack(l,c),(u=t.skipCharsBack(l,35,c))>c&&n(t.src.charCodeAt(u-1))&&(l=u),t.line=e+1,(a=t.push("heading_open","h"+String(s),1)).markup="########".slice(0,s),a.map=[e,t.line],(a=t.push("inline","",0)).content=t.src.slice(c,l).trim(),a.map=[e,t.line],a.children=[],(a=t.push("heading_close","h"+String(s),-1)).markup="########".slice(0,s),!0))}},function(t,e,r){"use strict";t.exports=function(t,e,r){var n,o,i,s,u,a,c,l,f,p,h=e+1,d=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;for(p=t.parentType,t.parentType="paragraph";h<r&&!t.isEmpty(h);h++)if(!(t.sCount[h]-t.blkIndent>3)){if(t.sCount[h]>=t.blkIndent&&(a=t.bMarks[h]+t.tShift[h])<(c=t.eMarks[h])&&(45===(f=t.src.charCodeAt(a))||61===f)&&(a=t.skipChars(a,f),(a=t.skipSpaces(a))>=c)){l=61===f?1:2;break}if(!(t.sCount[h]<0)){for(o=!1,i=0,s=d.length;i<s;i++)if(d[i](t,h,r,!0)){o=!0;break}if(o)break}}return!!l&&(n=t.getLines(e,h,t.blkIndent,!1).trim(),t.line=h+1,(u=t.push("heading_open","h"+String(l),1)).markup=String.fromCharCode(f),u.map=[e,t.line],(u=t.push("inline","",0)).content=n,u.map=[e,t.line-1],u.children=[],(u=t.push("heading_close","h"+String(l),-1)).markup=String.fromCharCode(f),t.parentType=p,!0)}},function(t,e,r){"use strict";var n=r(80),o=r(25).HTML_OPEN_CLOSE_TAG_RE,i=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+n.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];t.exports=function(t,e,r,n){var o,s,u,a,c=t.bMarks[e]+t.tShift[e],l=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(c))return!1;for(a=t.src.slice(c,l),o=0;o<i.length&&!i[o][0].test(a);o++);if(o===i.length)return!1;if(n)return i[o][2];if(s=e+1,!i[o][1].test(a))for(;s<r&&!(t.sCount[s]<t.blkIndent);s++)if(c=t.bMarks[s]+t.tShift[s],l=t.eMarks[s],a=t.src.slice(c,l),i[o][1].test(a)){0!==a.length&&s++;break}return t.line=s,(u=t.push("html_block","",0)).map=[e,s],u.content=t.getLines(e,s,t.blkIndent,!0),!0}},function(t,e,r){"use strict";t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(t,e,r){"use strict";t.exports=function(t,e){var r,n,o,i,s,u,a=e+1,c=t.md.block.ruler.getRules("paragraph"),l=t.lineMax;for(u=t.parentType,t.parentType="paragraph";a<l&&!t.isEmpty(a);a++)if(!(t.sCount[a]-t.blkIndent>3||t.sCount[a]<0)){for(n=!1,o=0,i=c.length;o<i;o++)if(c[o](t,a,l,!0)){n=!0;break}if(n)break}return r=t.getLines(e,a,t.blkIndent,!1).trim(),t.line=a,(s=t.push("paragraph_open","p",1)).map=[e,t.line],(s=t.push("inline","",0)).content=r,s.map=[e,t.line],s.children=[],s=t.push("paragraph_close","p",-1),t.parentType=u,!0}},function(t,e,r){"use strict";var n=r(14),o=r(0).isSpace;function i(t,e,r,n){var i,s,u,a,c,l,f,p;for(this.src=t,this.md=e,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",p=!1,u=a=l=f=0,c=(s=this.src).length;a<c;a++){if(i=s.charCodeAt(a),!p){if(o(i)){l++,9===i?f+=4-f%4:f++;continue}p=!0}10!==i&&a!==c-1||(10!==i&&a++,this.bMarks.push(u),this.eMarks.push(a),this.tShift.push(l),this.sCount.push(f),this.bsCount.push(0),p=!1,l=0,f=0,u=a+1)}this.bMarks.push(s.length),this.eMarks.push(s.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(t,e,r){var o=new n(t,e,r);return o.block=!0,r<0&&this.level--,o.level=this.level,r>0&&this.level++,this.tokens.push(o),o},i.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},i.prototype.skipEmptyLines=function(t){for(var e=this.lineMax;t<e&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},i.prototype.skipSpaces=function(t){for(var e,r=this.src.length;t<r&&(e=this.src.charCodeAt(t),o(e));t++);return t},i.prototype.skipSpacesBack=function(t,e){if(t<=e)return t;for(;t>e;)if(!o(this.src.charCodeAt(--t)))return t+1;return t},i.prototype.skipChars=function(t,e){for(var r=this.src.length;t<r&&this.src.charCodeAt(t)===e;t++);return t},i.prototype.skipCharsBack=function(t,e,r){if(t<=r)return t;for(;t>r;)if(e!==this.src.charCodeAt(--t))return t+1;return t},i.prototype.getLines=function(t,e,r,n){var i,s,u,a,c,l,f,p=t;if(t>=e)return"";for(l=new Array(e-t),i=0;p<e;p++,i++){for(s=0,f=a=this.bMarks[p],c=p+1<e||n?this.eMarks[p]+1:this.eMarks[p];a<c&&s<r;){if(u=this.src.charCodeAt(a),o(u))9===u?s+=4-(s+this.bsCount[p])%4:s++;else{if(!(a-f<this.tShift[p]))break;s++}a++}l[i]=s>r?new Array(s-r+1).join(" ")+this.src.slice(a,c):this.src.slice(a,c)}return l.join("")},i.prototype.Token=n,t.exports=i},function(t,e,r){"use strict";var n=r(13),o=[["text",r(84)],["newline",r(85)],["escape",r(86)],["backticks",r(87)],["strikethrough",r(26).tokenize],["emphasis",r(27).tokenize],["link",r(88)],["image",r(89)],["autolink",r(90)],["html_inline",r(91)],["entity",r(92)]],i=[["balance_pairs",r(93)],["strikethrough",r(26).postProcess],["emphasis",r(27).postProcess],["text_collapse",r(94)]];function s(){var t;for(this.ruler=new n,t=0;t<o.length;t++)this.ruler.push(o[t][0],o[t][1]);for(this.ruler2=new n,t=0;t<i.length;t++)this.ruler2.push(i[t][0],i[t][1])}s.prototype.skipToken=function(t){var e,r,n=t.pos,o=this.ruler.getRules(""),i=o.length,s=t.md.options.maxNesting,u=t.cache;if(void 0===u[n]){if(t.level<s)for(r=0;r<i&&(t.level++,e=o[r](t,!0),t.level--,!e);r++);else t.pos=t.posMax;e||t.pos++,u[n]=t.pos}else t.pos=u[n]},s.prototype.tokenize=function(t){for(var e,r,n=this.ruler.getRules(""),o=n.length,i=t.posMax,s=t.md.options.maxNesting;t.pos<i;){if(t.level<s)for(r=0;r<o&&!(e=n[r](t,!1));r++);if(e){if(t.pos>=i)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},s.prototype.parse=function(t,e,r,n){var o,i,s,u=new this.State(t,e,r,n);for(this.tokenize(u),s=(i=this.ruler2.getRules("")).length,o=0;o<s;o++)i[o](u)},s.prototype.State=r(95),t.exports=s},function(t,e,r){"use strict";function n(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}t.exports=function(t,e){for(var r=t.pos;r<t.posMax&&!n(t.src.charCodeAt(r));)r++;return r!==t.pos&&(e||(t.pending+=t.src.slice(t.pos,r)),t.pos=r,!0)}},function(t,e,r){"use strict";var n=r(0).isSpace;t.exports=function(t,e){var r,o,i=t.pos;if(10!==t.src.charCodeAt(i))return!1;for(r=t.pending.length-1,o=t.posMax,e||(r>=0&&32===t.pending.charCodeAt(r)?r>=1&&32===t.pending.charCodeAt(r-1)?(t.pending=t.pending.replace(/ +$/,""),t.push("hardbreak","br",0)):(t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0)):t.push("softbreak","br",0)),i++;i<o&&n(t.src.charCodeAt(i));)i++;return t.pos=i,!0}},function(t,e,r){"use strict";for(var n=r(0).isSpace,o=[],i=0;i<256;i++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){o[t.charCodeAt(0)]=1}),t.exports=function(t,e){var r,i=t.pos,s=t.posMax;if(92!==t.src.charCodeAt(i))return!1;if(++i<s){if((r=t.src.charCodeAt(i))<256&&0!==o[r])return e||(t.pending+=t.src[i]),t.pos+=2,!0;if(10===r){for(e||t.push("hardbreak","br",0),i++;i<s&&(r=t.src.charCodeAt(i),n(r));)i++;return t.pos=i,!0}}return e||(t.pending+="\\"),t.pos++,!0}},function(t,e,r){"use strict";t.exports=function(t,e){var r,n,o,i,s,u,a=t.pos;if(96!==t.src.charCodeAt(a))return!1;for(r=a,a++,n=t.posMax;a<n&&96===t.src.charCodeAt(a);)a++;for(o=t.src.slice(r,a),i=s=a;-1!==(i=t.src.indexOf("`",s));){for(s=i+1;s<n&&96===t.src.charCodeAt(s);)s++;if(s-i===o.length)return e||((u=t.push("code_inline","code",0)).markup=o,u.content=t.src.slice(a,i).replace(/[ \n]+/g," ").trim()),t.pos=s,!0}return e||(t.pending+=o),t.pos+=o.length,!0}},function(t,e,r){"use strict";var n=r(0).normalizeReference,o=r(0).isSpace;t.exports=function(t,e){var r,i,s,u,a,c,l,f,p,h="",d=t.pos,_=t.posMax,g=t.pos,y=!0;if(91!==t.src.charCodeAt(t.pos))return!1;if(a=t.pos+1,(u=t.md.helpers.parseLinkLabel(t,t.pos,!0))<0)return!1;if((c=u+1)<_&&40===t.src.charCodeAt(c)){for(y=!1,c++;c<_&&(i=t.src.charCodeAt(c),o(i)||10===i);c++);if(c>=_)return!1;for(g=c,(l=t.md.helpers.parseLinkDestination(t.src,c,t.posMax)).ok&&(h=t.md.normalizeLink(l.str),t.md.validateLink(h)?c=l.pos:h=""),g=c;c<_&&(i=t.src.charCodeAt(c),o(i)||10===i);c++);if(l=t.md.helpers.parseLinkTitle(t.src,c,t.posMax),c<_&&g!==c&&l.ok)for(p=l.str,c=l.pos;c<_&&(i=t.src.charCodeAt(c),o(i)||10===i);c++);else p="";(c>=_||41!==t.src.charCodeAt(c))&&(y=!0),c++}if(y){if(void 0===t.env.references)return!1;if(c<_&&91===t.src.charCodeAt(c)?(g=c+1,(c=t.md.helpers.parseLinkLabel(t,c))>=0?s=t.src.slice(g,c++):c=u+1):c=u+1,s||(s=t.src.slice(a,u)),!(f=t.env.references[n(s)]))return t.pos=d,!1;h=f.href,p=f.title}return e||(t.pos=a,t.posMax=u,t.push("link_open","a",1).attrs=r=[["href",h]],p&&r.push(["title",p]),t.md.inline.tokenize(t),t.push("link_close","a",-1)),t.pos=c,t.posMax=_,!0}},function(t,e,r){"use strict";var n=r(0).normalizeReference,o=r(0).isSpace;t.exports=function(t,e){var r,i,s,u,a,c,l,f,p,h,d,_,g,y="",v=t.pos,m=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;if(c=t.pos+2,(a=t.md.helpers.parseLinkLabel(t,t.pos+1,!1))<0)return!1;if((l=a+1)<m&&40===t.src.charCodeAt(l)){for(l++;l<m&&(i=t.src.charCodeAt(l),o(i)||10===i);l++);if(l>=m)return!1;for(g=l,(p=t.md.helpers.parseLinkDestination(t.src,l,t.posMax)).ok&&(y=t.md.normalizeLink(p.str),t.md.validateLink(y)?l=p.pos:y=""),g=l;l<m&&(i=t.src.charCodeAt(l),o(i)||10===i);l++);if(p=t.md.helpers.parseLinkTitle(t.src,l,t.posMax),l<m&&g!==l&&p.ok)for(h=p.str,l=p.pos;l<m&&(i=t.src.charCodeAt(l),o(i)||10===i);l++);else h="";if(l>=m||41!==t.src.charCodeAt(l))return t.pos=v,!1;l++}else{if(void 0===t.env.references)return!1;if(l<m&&91===t.src.charCodeAt(l)?(g=l+1,(l=t.md.helpers.parseLinkLabel(t,l))>=0?u=t.src.slice(g,l++):l=a+1):l=a+1,u||(u=t.src.slice(c,a)),!(f=t.env.references[n(u)]))return t.pos=v,!1;y=f.href,h=f.title}return e||(s=t.src.slice(c,a),t.md.inline.parse(s,t.md,t.env,_=[]),(d=t.push("image","img",0)).attrs=r=[["src",y],["alt",""]],d.children=_,d.content=s,h&&r.push(["title",h])),t.pos=l,t.posMax=m,!0}},function(t,e,r){"use strict";var n=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,o=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(t,e){var r,i,s,u,a,c,l=t.pos;return 60===t.src.charCodeAt(l)&&(!((r=t.src.slice(l)).indexOf(">")<0)&&(o.test(r)?(u=(i=r.match(o))[0].slice(1,-1),a=t.md.normalizeLink(u),!!t.md.validateLink(a)&&(e||((c=t.push("link_open","a",1)).attrs=[["href",a]],c.markup="autolink",c.info="auto",(c=t.push("text","",0)).content=t.md.normalizeLinkText(u),(c=t.push("link_close","a",-1)).markup="autolink",c.info="auto"),t.pos+=i[0].length,!0)):!!n.test(r)&&(u=(s=r.match(n))[0].slice(1,-1),a=t.md.normalizeLink("mailto:"+u),!!t.md.validateLink(a)&&(e||((c=t.push("link_open","a",1)).attrs=[["href",a]],c.markup="autolink",c.info="auto",(c=t.push("text","",0)).content=t.md.normalizeLinkText(u),(c=t.push("link_close","a",-1)).markup="autolink",c.info="auto"),t.pos+=s[0].length,!0))))}},function(t,e,r){"use strict";var n=r(25).HTML_TAG_RE;t.exports=function(t,e){var r,o,i,s=t.pos;return!!t.md.options.html&&(i=t.posMax,!(60!==t.src.charCodeAt(s)||s+2>=i)&&(!(33!==(r=t.src.charCodeAt(s+1))&&63!==r&&47!==r&&!function(t){var e=32|t;return e>=97&&e<=122}(r))&&(!!(o=t.src.slice(s).match(n))&&(e||(t.push("html_inline","",0).content=t.src.slice(s,s+o[0].length)),t.pos+=o[0].length,!0))))}},function(t,e,r){"use strict";var n=r(20),o=r(0).has,i=r(0).isValidEntityCode,s=r(0).fromCodePoint,u=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,a=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(t,e){var r,c,l=t.pos,f=t.posMax;if(38!==t.src.charCodeAt(l))return!1;if(l+1<f)if(35===t.src.charCodeAt(l+1)){if(c=t.src.slice(l).match(u))return e||(r="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),t.pending+=i(r)?s(r):s(65533)),t.pos+=c[0].length,!0}else if((c=t.src.slice(l).match(a))&&o(n,c[1]))return e||(t.pending+=n[c[1]]),t.pos+=c[0].length,!0;return e||(t.pending+="&"),t.pos++,!0}},function(t,e,r){"use strict";t.exports=function(t){var e,r,n,o,i=t.delimiters,s=t.delimiters.length;for(e=0;e<s;e++)if((n=i[e]).close)for(r=e-n.jump-1;r>=0;){if((o=i[r]).open&&o.marker===n.marker&&o.end<0&&o.level===n.level)if(!((o.close||n.open)&&void 0!==o.length&&void 0!==n.length&&(o.length+n.length)%3==0)){n.jump=e-r,n.open=!1,o.end=e,o.jump=0;break}r-=o.jump+1}}},function(t,e,r){"use strict";t.exports=function(t){var e,r,n=0,o=t.tokens,i=t.tokens.length;for(e=r=0;e<i;e++)n+=o[e].nesting,o[e].level=n,"text"===o[e].type&&e+1<i&&"text"===o[e+1].type?o[e+1].content=o[e].content+o[e+1].content:(e!==r&&(o[r]=o[e]),r++);e!==r&&(o.length=r)}},function(t,e,r){"use strict";var n=r(14),o=r(0).isWhiteSpace,i=r(0).isPunctChar,s=r(0).isMdAsciiPunct;function u(t,e,r,n){this.src=t,this.env=r,this.md=e,this.tokens=n,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}u.prototype.pushPending=function(){var t=new n("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},u.prototype.push=function(t,e,r){this.pending&&this.pushPending();var o=new n(t,e,r);return r<0&&this.level--,o.level=this.level,r>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(o),o},u.prototype.scanDelims=function(t,e){var r,n,u,a,c,l,f,p,h,d=t,_=!0,g=!0,y=this.posMax,v=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;d<y&&this.src.charCodeAt(d)===v;)d++;return u=d-t,n=d<y?this.src.charCodeAt(d):32,f=s(r)||i(String.fromCharCode(r)),h=s(n)||i(String.fromCharCode(n)),l=o(r),(p=o(n))?_=!1:h&&(l||f||(_=!1)),l?g=!1:f&&(p||h||(g=!1)),e?(a=_,c=g):(a=_&&(!g||f),c=g&&(!_||h)),{can_open:a,can_close:c,length:u}},u.prototype.Token=n,t.exports=u},function(t,e,r){"use strict";function n(t){return Array.prototype.slice.call(arguments,1).forEach(function(e){e&&Object.keys(e).forEach(function(r){t[r]=e[r]})}),t}function o(t){return Object.prototype.toString.call(t)}function i(t){return"[object Function]"===o(t)}function s(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var u={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var a={"http:":{validate:function(t,e,r){var n=t.slice(e);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,r){var n=t.slice(e);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?e>=3&&":"===t[e-3]?0:e>=3&&"/"===t[e-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,r){var n=t.slice(e);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},c="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function f(t){var e=t.re=r(97)(t.__opts__),n=t.__tlds__.slice();function u(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push(c),n.push(e.src_xn),e.src_tlds=n.join("|"),e.email_fuzzy=RegExp(u(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(u(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(u(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(u(e.tpl_host_fuzzy_test),"i");var a=[];function l(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach(function(e){var r=t.__schemas__[e];if(null!==r){var n={validate:null,link:null};if(t.__compiled__[e]=n,function(t){return"[object Object]"===o(t)}(r))return!function(t){return"[object RegExp]"===o(t)}(r.validate)?i(r.validate)?n.validate=r.validate:l(e,r):n.validate=function(t){return function(e,r){var n=e.slice(r);return t.test(n)?n.match(t)[0].length:0}}(r.validate),void(i(r.normalize)?n.normalize=r.normalize:r.normalize?l(e,r):n.normalize=function(t,e){e.normalize(t)});!function(t){return"[object String]"===o(t)}(r)?l(e,r):a.push(e)}}),a.forEach(function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};var f=Object.keys(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(s).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><｜]|"+e.src_ZPCc+"))("+f+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><｜]|"+e.src_ZPCc+"))("+f+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function p(t,e){var r=new function(t,e){var r=t.__index__,n=t.__last_index__,o=t.__text_cache__.slice(r,n);this.schema=t.__schema__.toLowerCase(),this.index=r+e,this.lastIndex=n+e,this.raw=o,this.text=o,this.url=o}(t,e);return t.__compiled__[r.schema].normalize(r,t),r}function h(t,e){if(!(this instanceof h))return new h(t,e);e||function(t){return Object.keys(t||{}).reduce(function(t,e){return t||u.hasOwnProperty(e)},!1)}(t)&&(e=t,t={}),this.__opts__=n({},u,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},a,t),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},f(this)}h.prototype.add=function(t,e){return this.__schemas__[t]=e,f(this),this},h.prototype.set=function(t){return this.__opts__=n(this.__opts__,t),this},h.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,r,n,o,i,s,u,a;if(this.re.schema_test.test(t))for((u=this.re.schema_search).lastIndex=0;null!==(e=u.exec(t));)if(o=this.testSchemaAt(t,e[2],u.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(a=t.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||a<this.__index__)&&null!==(r=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=r.index+r[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&t.indexOf("@")>=0&&null!==(n=t.match(this.re.email_fuzzy))&&(i=n.index+n[1].length,s=n.index+n[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=s)),this.__index__>=0},h.prototype.pretest=function(t){return this.re.pretest.test(t)},h.prototype.testSchemaAt=function(t,e,r){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,r,this):0},h.prototype.match=function(t){var e=0,r=[];this.__index__>=0&&this.__text_cache__===t&&(r.push(p(this,e)),e=this.__last_index__);for(var n=e?t.slice(e):t;this.test(n);)r.push(p(this,e)),n=n.slice(this.__last_index__),e+=this.__last_index__;return r.length?r:null},h.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(t,e,r){return t!==r[e-1]}).reverse(),f(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,f(this),this)},h.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},h.prototype.onCompile=function(){},t.exports=h},function(t,e,r){"use strict";t.exports=function(t){var e={};e.src_Any=r(22).source,e.src_Cc=r(23).source,e.src_Z=r(24).source,e.src_P=r(12).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");return e.src_pseudo_letter="(?:(?![><｜]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><｜]|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><｜]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+e.src_ZCc+").|\\!(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|[><｜]|\\(|"+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|｜]|"+e.src_ZPCc+"))((?![$+<=>^`|｜])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|｜]|"+e.src_ZPCc+"))((?![$+<=>^`|｜])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},function(t,e,r){(function(t,n){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){e&&e.nodeType,t&&t.nodeType;var s="object"==typeof n&&n;s.global!==s&&s.window!==s&&s.self;var u,a=2147483647,c=36,l=1,f=26,p=38,h=700,d=72,_=128,g="-",y=/^xn--/,v=/[^\x20-\x7E]/,m=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},M=c-l,w=Math.floor,k=String.fromCharCode;function E(t){throw new RangeError(b[t])}function D(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function S(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+D((t=t.replace(m,".")).split("."),e).join(".")}function C(t){for(var e,r,n=[],o=0,i=t.length;o<i;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<i?56320==(64512&(r=t.charCodeAt(o++)))?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),o--):n.push(e);return n}function x(t){return D(t,function(t){var e="";return t>65535&&(e+=k((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=k(t)}).join("")}function A(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:c}function I(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function N(t,e,r){var n=0;for(t=r?w(t/h):t>>1,t+=w(t/e);t>M*f>>1;n+=c)t=w(t/M);return w(n+(M+1)*t/(t+p))}function T(t){var e,r,n,o,i,s,u,p,h,y,v=[],m=t.length,b=0,M=_,k=d;for((r=t.lastIndexOf(g))<0&&(r=0),n=0;n<r;++n)t.charCodeAt(n)>=128&&E("not-basic"),v.push(t.charCodeAt(n));for(o=r>0?r+1:0;o<m;){for(i=b,s=1,u=c;o>=m&&E("invalid-input"),((p=A(t.charCodeAt(o++)))>=c||p>w((a-b)/s))&&E("overflow"),b+=p*s,!(p<(h=u<=k?l:u>=k+f?f:u-k));u+=c)s>w(a/(y=c-h))&&E("overflow"),s*=y;k=N(b-i,e=v.length+1,0==i),w(b/e)>a-M&&E("overflow"),M+=w(b/e),b%=e,v.splice(b++,0,M)}return x(v)}function j(t){var e,r,n,o,i,s,u,p,h,y,v,m,b,M,D,S=[];for(m=(t=C(t)).length,e=_,r=0,i=d,s=0;s<m;++s)(v=t[s])<128&&S.push(k(v));for(n=o=S.length,o&&S.push(g);n<m;){for(u=a,s=0;s<m;++s)(v=t[s])>=e&&v<u&&(u=v);for(u-e>w((a-r)/(b=n+1))&&E("overflow"),r+=(u-e)*b,e=u,s=0;s<m;++s)if((v=t[s])<e&&++r>a&&E("overflow"),v==e){for(p=r,h=c;!(p<(y=h<=i?l:h>=i+f?f:h-i));h+=c)D=p-y,M=c-y,S.push(k(I(y+D%M,0))),p=w(D/M);S.push(k(I(p,0))),i=N(r,b,n==o),r=0,++n}++r,++e}return S.join("")}u={version:"1.4.1",ucs2:{decode:C,encode:x},decode:T,encode:j,toASCII:function(t){return S(t,function(t){return v.test(t)?"xn--"+j(t):t})},toUnicode:function(t){return S(t,function(t){return y.test(t)?T(t.slice(4).toLowerCase()):t})}},void 0===(o=function(){return u}.call(e,r,e,t))||(t.exports=o)}()}).call(this,r(99)(t),r(8))},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,r){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(t,e,r){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(t,e,r){"use strict";t.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(t,e,r){"use strict";var n=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function o(t,e){var r,o,i=t.posMax,s=t.pos;if(94!==t.src.charCodeAt(s))return!1;if(e)return!1;if(s+2>=i)return!1;for(t.pos=s+1;t.pos<i;){if(94===t.src.charCodeAt(t.pos)){r=!0;break}t.md.inline.skipToken(t)}return r&&s+1!==t.pos?(o=t.src.slice(s+1,t.pos)).match(/(^|[^\\])(\\\\)*\s/)?(t.pos=s,!1):(t.posMax=t.pos,t.pos=s+1,t.push("sup_open","sup",1).markup="^",t.push("text","",0).content=o.replace(n,"$1"),t.push("sup_close","sup",-1).markup="^",t.pos=t.posMax+1,t.posMax=i,!0):(t.pos=s,!1)}t.exports=function(t){t.inline.ruler.after("emphasis","sup",o)}},function(t,e,r){"use strict";t.exports=function(t,e){var r,n=t.linkify,o=t.utils.escapeHtml,i=RegExp('<a\\s([^<>]*href="[^"<>]*"[^<>]*)\\s?>',"i"),s=RegExp('<img\\s([^<>]*src="[^"<>]*"[^<>]*)\\s?\\/?>',"i"),u=/^(?:https?:)?\/\//i,a=/^(?:https?:\/\/|ftp:\/\/|\/\/|mailto:|xmpp:)/i,c=void 0!==(e=e||{}).removeUnknown&&e.removeUnknown,l=void 0!==e.removeUnbalanced&&e.removeUnbalanced,f=void 0!==e.imageClass?e.imageClass:"",p=!1,h=["a","b","blockquote","code","em","h1","h2","h3","h4","h5","h6","li","ol","p","pre","s","sub","sup","strong","ul"],d=new Array(h.length),_=new Array(h.length);for(r=0;r<h.length;r++)d[r]=0;for(r=0;r<h.length;r++)_[r]=!1;function g(t){var e=n.match(t);return e&&1===e.length&&0===e[0].index&&e[0].lastIndex===t.length?e[0].url:null}function y(t){return t=t.replace(/<[^<>]*>?/gi,function(t){var e,r,n,l,y,v;return/(^<->|^<-\s|^<3\s)/.test(t)?t:(e=t.match(s))&&(n=g((r=e[1]).match(/src="([^"<>]*)"/i)[1]),l=(l=r.match(/alt="([^"<>]*)"/i))&&void 0!==l[1]?l[1]:"",y=(y=r.match(/title="([^"<>]*)"/i))&&void 0!==y[1]?y[1]:"",n&&u.test(n))?""!==f?'<img src="'+n+'" alt="'+l+'" title="'+y+'" class="'+f+'">':'<img src="'+n+'" alt="'+l+'" title="'+y+'">':(v=h.indexOf("a"),(e=t.match(i))&&(n=g((r=e[1]).match(/href="([^"<>]*)"/i)[1]),y=(y=r.match(/title="([^"<>]*)"/i))&&void 0!==y[1]?y[1]:"",n&&a.test(n))?(p=!0,d[v]+=1,'<a href="'+n+'" title="'+y+'" target="_blank">'):(e=/<\/a>/i.test(t))?(p=!0,d[v]-=1,d[v]<0&&(_[v]=!0),"</a>"):(e=t.match(/<(br|hr)\s?\/?>/i))?"<"+e[1].toLowerCase()+">":(e=t.match(/<(\/?)(b|blockquote|code|em|h[1-6]|li|ol(?: start="\d+")?|p|pre|s|sub|sup|strong|ul)>/i))&&!/<\/ol start="\d+"/i.test(t)?(p=!0,v=h.indexOf(e[2].toLowerCase().split(" ")[0]),"/"===e[1]?d[v]-=1:d[v]+=1,d[v]<0&&(_[v]=!0),"<"+e[1]+e[2].toLowerCase()+">"):!0===c?"":o(t))})}t.core.ruler.after("linkify","sanitize_inline",function(t){var e,n,o;for(r=0;r<h.length;r++)d[r]=0;for(r=0;r<h.length;r++)_[r]=!1;for(p=!1,n=0;n<t.tokens.length;n++)if("html_block"===t.tokens[n].type&&(t.tokens[n].content=y(t.tokens[n].content)),"inline"===t.tokens[n].type)for(o=t.tokens[n].children,e=0;e<o.length;e++)"html_inline"===o[e].type&&(o[e].content=y(o[e].content))}),t.core.ruler.after("sanitize_inline","sanitize_balance",function(t){if(!1!==p){var e,n;for(r=0;r<h.length;r++)0!==d[r]&&(_[r]=!0);for(e=0;e<t.tokens.length;e++)if("html_block"!==t.tokens[e].type){if("inline"===t.tokens[e].type)for(n=t.tokens[e].children,r=0;r<n.length;r++)"html_inline"===n[r].type&&(n[r].content=s(n[r].content))}else t.tokens[e].content=s(t.tokens[e].content)}function i(t,e){var r,n;return r="a"===e?RegExp('<a href="[^"<>]*" title="[^"<>]*" target="_blank">',"g"):"ol"===e?/<ol(?: start="\d+")?>/g:RegExp("<"+e+">","g"),n=RegExp("</"+e+">","g"),t=!0===l?(t=t.replace(r,"")).replace(n,""):(t=t.replace(r,function(t){return o(t)})).replace(n,function(t){return o(t)})}function s(t){var e;for(e=0;e<h.length;e++)!0===_[e]&&(t=i(t,h[e]));return t}})}},function(t,e,r){"use strict";function n(t,e){e=e?Array.isArray(e)?e:[e]:[],Object.freeze(e);var r=t.renderer.rules.link_open||this.defaultRender;t.renderer.rules.link_open=function(t,n,o,i,s){var u=function(t,e){var r,n,o=t.attrs[t.attrIndex("href")][1];for(r=0;r<e.length;++r)if(!(n=e[r]).pattern||new RegExp(n.pattern).test(o))return n}(t[n],e),a=u&&u.attrs;return a&&function(t,e,r){Object.keys(r).forEach(function(n){var o,i=r[n];"className"===n&&(n="class"),(o=e[t].attrIndex(n))<0?e[t].attrPush([n,i]):e[t].attrs[o][1]=i})}(n,t,a),r(t,n,o,i,s)}}n.defaultRender=function(t,e,r,n,o){return o.renderToken(t,e,r)},t.exports=n},function(t,e,r){},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(2),i=function(t){return t&&t.__esModule?t:{default:t}}(o),s=r(6);r(108);var 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,(e.__proto__||Object.getPrototypeOf(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, 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,o.PureComponent),n(e,[{key:"render",value:function(){return i.default.createElement("div",{className:"rcw-snippet"},i.default.createElement("h5",{className:"rcw-snippet-title"},this.props.message.get("title")),i.default.createElement("div",{className:"rcw-snippet-details"},i.default.createElement("a",{href:this.props.message.get("link"),target:this.props.message.get("target"),className:"rcw-link"},this.props.message.get("link"))))}}]),e}();u.propTypes={message:s.PROP_TYPES.SNIPPET},e.default=u},function(t,e,r){},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(2),i=u(o),s=u(r(1));function u(t){return t&&t.__esModule?t:{default:t}}r(110);var a=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,(e.__proto__||Object.getPrototypeOf(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, 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,o.PureComponent),n(e,[{key:"render",value:function(){var t=this;return i.default.createElement("button",{className:"quick-button",onClick:function(e){return t.props.onQuickButtonClicked(e,t.props.button.get("value"))}},this.props.button.get("label"))}}]),e}();a.propTypes={label:s.default.string,value:s.default.string},e.default=a},function(t,e,r){},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(r(2)),o=i(r(1));function i(t){return t&&t.__esModule?t:{default:t}}r(112);var s=function(t){return n.default.createElement("div",{className:"loader "+(t.typing&&"active")},n.default.createElement("div",{className:"loader-container"},n.default.createElement("span",{className:"loader-dots"}),n.default.createElement("span",{className:"loader-dots"}),n.default.createElement("span",{className:"loader-dots"})))};s.propTypes={typing:o.default.bool},e.default=s},function(t,e,r){},function(t,e,r){},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(2),i=a(o),s=a(r(1)),u=a(r(115));function a(t){return t&&t.__esModule?t:{default:t}}function c(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}r(116);var l=function(t){function e(){var t,r,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,s=Array(o),u=0;u<o;u++)s[u]=arguments[u];return r=n=c(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(s))),n.input=i.default.createRef(),c(n,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,o.Component),n(e,[{key:"componentDidUpdate",value:function(){this.input.current.focus()}},{key:"render",value:function(){var t=this.props,e=t.sendMessage,r=t.placeholder,n=t.disabledInput,o=t.autofocus;return i.default.createElement("form",{className:"rcw-sender",onSubmit:e},i.default.createElement("input",{type:"text",className:"rcw-new-message",name:"message",placeholder:r,disabled:n,autoFocus:o,autoComplete:"off",ref:this.input}),i.default.createElement("button",{type:"submit",className:"rcw-send"},i.default.createElement("img",{src:u.default,className:"rcw-send-icon",alt:"send"})))}}]),e}();l.propTypes={sendMessage:s.default.func,placeholder:s.default.string,disabledInput:s.default.bool,autofocus:s.default.bool},e.default=l},function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4IiB2aWV3Qm94PSIwIDAgNTM1LjUgNTM1LjUiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUzNS41IDUzNS41OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPGcgaWQ9InNlbmQiPgoJCTxwb2x5Z29uIHBvaW50cz0iMCw0OTcuMjUgNTM1LjUsMjY3Ljc1IDAsMzguMjUgMCwyMTYuNzUgMzgyLjUsMjY3Ljc1IDAsMzE4Ljc1ICAgIiBmaWxsPSIjY2JjYmNiIi8+Cgk8L2c+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg=="},function(t,e,r){},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(2),i=a(o),s=a(r(10)),u=r(3);function a(t){return t&&t.__esModule?t:{default:t}}r(118);var c=function(t){function e(t){!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,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.getComponentToRender=r.getComponentToRender.bind(r),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,o.Component),n(e,[{key:"getComponentToRender",value:function(t){var e=t.get("component");return i.default.createElement(e,{onQuickButtonClicked:this.props.onQuickButtonClicked,button:t})}},{key:"render",value:function(){var t=this;return this.props.buttons.size?i.default.createElement("div",{className:"quick-buttons-container"},i.default.createElement("ul",{className:"quick-buttons"},this.props.buttons.map(function(e,r){return i.default.createElement("li",{className:"quick-list-button",key:r},t.getComponentToRender(e))}))):null}}]),e}();c.propTypes={buttons:s.default.listOf(s.default.map)},e.default=(0,u.connect)(function(t){return{buttons:t.quickButtons}})(c)},function(t,e,r){},function(t,e,r){},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=c(r(2)),o=c(r(1)),i=r(3),s=c(r(121)),u=c(r(19)),a=c(r(122));function c(t){return t&&t.__esModule?t:{default:t}}r(124);var l=function(t){var e=t.toggle,r=t.chatOpened,o=t.badge;return n.default.createElement("button",{type:"button",className:r?"rcw-launcher rcw-hide-sm":"rcw-launcher",onClick:e},n.default.createElement(a.default,{badge:o}),r?n.default.createElement("img",{src:u.default,className:"rcw-close-launcher",alt:""}):n.default.createElement("img",{src:s.default,className:"rcw-open-launcher",alt:""}))};l.propTypes={toggle:o.default.func,chatOpened:o.default.bool,badge:o.default.number},e.default=(0,i.connect)(function(t){return{chatOpened:t.behavior.get("showChat")}})(l)},function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzRweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzQgMzIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDQ1LjEgKDQzNTA0KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5pY19idXR0b248L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iRGVza3RvcC1IRCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEyOTkuMDAwMDAwLCAtNzQ4LjAwMDAwMCkiIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxnIGlkPSJHcm91cC0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMjg5LjAwMDAwMCwgNzM1LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgaWQ9ImljX2J1dHRvbiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMjA2OTMzLCAxMy42MDc4MjUpIj4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMjUuNzg2NTM5OCw3LjM3MDUxODYzIEMyNS43ODY1Mzk4LDguNDA4MDMxMTggMjUuMDQzMjAyNiw5LjAzOTAxMDkgMjQuNTAwNDE2MSw5LjUwMjA1NjQyIEMyNC4yOTQ4NTE3LDkuNjc3NDQzODggMjMuOTEyMjI3MSw5Ljk5NzQ2MjMgMjMuOTEzMjQ4NCwxMC4xMTY5OTc1IEMyMy45MTY5NjIzLDEwLjU4NTg5MjQgMjMuNTQ1OTQzNiwxMC45NjAzNDc5IDIzLjA4NDM5ODYsMTAuOTYwMzQ3OSBDMjMuMDgyMDc3NSwxMC45NjAzNDc5IDIzLjA3OTc1NjMsMTAuOTYwMzQ3OSAyMy4wNzc0MzUxLDEwLjk2MDM0NzkgQzIyLjYxOTEzOTgsMTAuOTYwMzQ3OSAyMi4yNDU3MDcxLDEwLjU5NzQwMjUgMjIuMjQxOTkzMiwxMC4xMzA4NjYyIEMyMi4yMzQ2NTgyLDkuMjExMjg0OTcgMjIuODk1MDgyNiw4LjY2MDU5Mjg5IDIzLjQyNTc5ODksOC4yMDc4MzA5OCBDMjMuODQyMjIsNy44NTI1Mjc1MSAyNC4xMTUyODQ2LDcuNjAyNTEzMTEgMjQuMTE1Mjg0Niw3LjM3MzcyNjM2IEMyNC4xMTUyODQ2LDYuOTEwNTg2NDkgMjMuNzQ0NDUxNiw2LjUzMzc3MjM1IDIzLjI4ODY2MzIsNi41MzM3NzIzNSBDMjIuODMyNjg5LDYuNTMzNzcyMzUgMjIuNDYxNzYzMiw2LjkxMDU4NjQ5IDIyLjQ2MTc2MzIsNy4zNzM3MjYzNiBDMjIuNDYxNzYzMiw3Ljg0MjcxNTYyIDIyLjA4NzY4MDYsOC4yMjI4MzE4NCAyMS42MjYxMzU2LDguMjIyODMxODQgQzIxLjE2NDU5MDYsOC4yMjI4MzE4NCAyMC43OTA1MDgsNy44NDI3MTU2MiAyMC43OTA1MDgsNy4zNzM3MjYzNiBDMjAuNzkwNTA4LDUuOTc0MjExODMgMjEuOTExMDg0Niw0LjgzNTU2MTM4IDIzLjI4ODQ3NzUsNC44MzU1NjEzOCBDMjQuNjY1OTYzMiw0LjgzNTQ2NzAzIDI1Ljc4NjUzOTgsNS45NzA5MDk3NiAyNS43ODY1Mzk4LDcuMzcwNTE4NjMgWiBNMjMuMTAwNTU0MSwxMS43NDQxNjY2IEMyMi42MzkwMDkxLDExLjc0NDE2NjYgMjIuMjgzNDAzMSwxMi4xMjQyODI4IDIyLjI4MzQwMzEsMTIuNTkzMjcyMSBMMjIuMjgzNDAzMSwxMi41OTk3ODE5IEMyMi4yODM0MDMxLDEzLjA2ODc3MTIgMjIuNjM5MTAyLDEzLjQ0NTY3OTcgMjMuMTAwNTU0MSwxMy40NDU2Nzk3IEMyMy41NjIwMDYzLDEzLjQ0NTY3OTcgMjMuOTM2MTgxNywxMy4wNjIyNjE0IDIzLjkzNjE4MTcsMTIuNTkzMjcyMSBDMjMuOTM2MTgxNywxMi4xMjQyODI4IDIzLjU2MjA5OTEsMTEuNzQ0MTY2NiAyMy4xMDA1NTQxLDExLjc0NDE2NjYgWiBNNi4yNTcxNzk2LDE3LjY1ODk0MTEgQzUuNzk1NjM0NjIsMTcuNjU4OTQxMSA1LjQyMTU1MTk5LDE4LjAzOTA1NzMgNS40MjE1NTE5OSwxOC41MDgwNDY2IEM1LjQyMTU1MTk5LDE4Ljk3NzAzNTggNS43OTU2MzQ2MiwxOS4zNTcxNTIgNi4yNTcxNzk2LDE5LjM1NzE1MiBMNi4zMjY4MTUyNCwxOS4zNTcxNTIgQzYuNzg4MzYwMjMsMTkuMzU3MTUyIDcuMTYyNDQyODYsMTguOTc3MDM1OCA3LjE2MjQ0Mjg2LDE4LjUwODA0NjYgQzcuMTYyNDQyODYsMTguMDM5MDU3MyA2Ljc4ODM2MDIzLDE3LjY1ODk0MTEgNi4zMjY4MTUyNCwxNy42NTg5NDExIEw2LjI1NzE3OTYsMTcuNjU4OTQxMSBaIE05LjE2MTM1Njk3LDE3LjY1ODk0MTEgQzguNjk5ODExOTgsMTcuNjU4OTQxMSA4LjMyNTcyOTM1LDE4LjAzOTA1NzMgOC4zMjU3MjkzNSwxOC41MDgwNDY2IEM4LjMyNTcyOTM1LDE4Ljk3NzAzNTggOC42OTk4MTE5OCwxOS4zNTcxNTIgOS4xNjEzNTY5NywxOS4zNTcxNTIgTDkuMjMwODk5NzUsMTkuMzU3MTUyIEM5LjY5MjQ0NDc0LDE5LjM1NzE1MiAxMC4wNjY1Mjc0LDE4Ljk3NzAzNTggMTAuMDY2NTI3NCwxOC41MDgwNDY2IEMxMC4wNjY1Mjc0LDE4LjAzOTA1NzMgOS42OTI0NDQ3NCwxNy42NTg5NDExIDkuMjMwODk5NzUsMTcuNjU4OTQxMSBMOS4xNjEzNTY5NywxNy42NTg5NDExIFogTTMzLjcwMzY0NzMsNC4wOTY5MzM5NSBMMzMuNzAzNjQ3MywxMy42NTQxODIyIEMzMy43MDM2NDczLDE1LjkxNzA0ODMgMzEuOTE4MDAzOSwxNy43NTMyODYxIDI5LjY5MTA1NjMsMTcuNzUzMjg2MSBMMTguODU0MTczMSwxNy43NTMyODYxIEMxOC42NDIyOTUxLDE3Ljc1MzI4NjEgMTguNDY3ODM0NiwxNy43NTIwNTk2IDE4LjMyMTg3ODMsMTcuNzQ4OTQ2MyBDMTguMTY4OTU4NSwxNy43NDU3Mzg1IDE3Ljk5NjgxOTIsMTcuNzQ0NTEyIDE3LjkyOTY5MDQsMTcuNzUyMDU5NiBDMTcuODU5Nzc2MiwxNy43OTkyMzIyIDE3LjY4ODM3OTcsMTcuOTU4NzY5NyAxNy41MjMyMDQsMTguMTEzNDAxMiBDMTcuNDU3NzQ2NSwxOC4xNzQ2MzExIDE3LjM4MzY1NDIsMTguMjQxOTkzNSAxNy4zMDM3MTI1LDE4LjMxNjE0ODcgTDE0LjIzNzcwMTksMjEuMTU1NzQ2MSBDMTMuOTkzMTQxNSwyMS4zODI0NTczIDEzLjYzMTMxNDgsMjEuNDQxMTM5OSAxMy4zMjg0NDYyLDIxLjMwNTQ3MTcgQzEzLjAyNTU3NzYsMjEuMTY5NzA5MiAxMi44MTI5NTY4LDIwLjg2NDk3NDcgMTIuODEyOTU2OCwyMC41Mjg2MzQ2IEwxMi44MTI5NTY4LDExLjUyNjUxMjYgTDQuMDU5MjkzMjcsMTEuNTI2NTEyNiBDMi43NTM2NzE1NCwxMS41MjY1MTI2IDEuNjcxMjU1MjQsMTIuNjEzNjUwNiAxLjY3MTI1NTI0LDEzLjk0MDE0MjEgTDEuNjcxMjU1MjQsMjMuNDk3MzkwNCBDMS42NzEyNTUyNCwyNC44MjM5NzYyIDIuNzUzNzY0MzksMjUuODY2OTYwNyA0LjA1OTI5MzI3LDI1Ljg2Njk2MDcgTDE2LjE2NDE5NDksMjUuODY2OTYwNyBDMTYuMzcyNjM3NiwyNS44NjY5NjA3IDE2LjU2NzYxNzQsMjUuOTY0MjMwNSAxNi43MjE1NTg2LDI2LjEwNzA2ODkgTDE5LjIxOTQzNTIsMjguNDQ3MjAzNiBMMTkuMjE5NDM1MiwyMC4zNzcwMjIxIEMxOS4yMTk0MzUyLDE5LjkwODAzMjggMTkuNTkzNTE3OCwxOS41Mjc5MTY2IDIwLjA1NTA2MjgsMTkuNTI3OTE2NiBDMjAuNTE2NjA3OCwxOS41Mjc5MTY2IDIwLjg5MDY5MDUsMTkuOTA4MDMyOCAyMC44OTA2OTA1LDIwLjM3NzAyMjEgTDIwLjg5MDY5MDUsMzAuMzcxNzQ4NCBDMjAuODkwNjkwNSwzMC43MDgwODg1IDIwLjcwMTI4MTUsMzEuMDA4Mjk0NCAyMC4zOTgzMjAxLDMxLjE0NDA1NyBDMjAuMjg5OTY3LDMxLjE5MjY0NDcgMjAuMTgxMTQ5OCwzMS4yMTE3OTY3IDIwLjA2NzIyNTksMzEuMjExNzk2NyBDMTkuODYyNTg5OSwzMS4yMTE3OTY3IDE5LjY2MDczOTQsMzEuMTI2NDE0NCAxOS41MDM3MzQzLDMwLjk4MDc0NTcgTDE1Ljg0MDI1LDI3LjU2NTA3NzQgTDQuMDU5MjkzMjcsMjcuNTY1MDc3NCBDMS44MzIyNTI4MiwyNy41NjUwNzc0IDAsMjUuNzYwMjU2NSAwLDIzLjQ5NzI5NiBMMCwxMy45NDAxNDIxIEMwLDExLjY3NzI3NiAxLjgzMjI1MjgyLDkuODI4MzAxNjIgNC4wNTkyOTMyNyw5LjgyODMwMTYyIEwxMi44MTI5NTY4LDkuODI4MzAxNjIgTDEyLjgxMjk1NjgsNC4wOTY5MzM5NSBDMTIuODEyOTU2OCwxLjgzMzk3MzUgMTQuNjU5MjI5NiwwLjAxNjQxNjAzOTMgMTYuODg2MjcwMSwwLjAxNjQxNjAzOTMgTDI5LjY5MTE0OTEsMC4wMTY0MTYwMzkzIEMzMS45MTgwMDM5LDAuMDE2NDE2MDM5MyAzMy43MDM2NDczLDEuODMzOTczNSAzMy43MDM2NDczLDQuMDk2OTMzOTUgWiBNMzIuMDMyMzkyLDQuMDk2OTMzOTUgQzMyLjAzMjM5MiwyLjc3MDM0ODE2IDMwLjk5NjQ5MjMsMS43MTQ2MjcgMjkuNjkxMDU2MywxLjcxNDYyNyBMMTYuODg2MjcwMSwxLjcxNDYyNyBDMTUuNTgwNzQxMiwxLjcxNDYyNyAxNC40ODQyMTIsMi43NzAzNDgxNiAxNC40ODQyMTIsNC4wOTY5MzM5NSBMMTQuNDg0MjEyLDEwLjY4NTMzMjEgTDE0LjQ4NDIxMiwxOC42MDQwODk4IEwxNi4xNjQyODc4LDE3LjA2MTI2NTIgQzE2LjI0MjA5NCwxNi45ODkwOTEyIDE2LjMyOTI3NzgsMTYuOTIzMDQ5NyAxNi4zOTI4Nzg0LDE2Ljg2MzQyMzYgQzE3LjE2MDA3NzQsMTYuMTQ1MDgwMyAxNy4zNTYzNTcsMTYuMDMwMjYyNCAxOC4zNTcwNjc1LDE2LjA1MTIwNyBDMTguNDkzNTUzNCwxNi4wNTQxMzE3IDE4LjY1NjEyOTQsMTYuMDU1MTY5NSAxOC44NTQxNzMxLDE2LjA1NTE2OTUgTDI5LjY5MTA1NjMsMTYuMDU1MTY5NSBDMzAuOTk2NDkyMywxNi4wNTUxNjk1IDMyLjAzMjM5MiwxNC45ODA3NjggMzIuMDMyMzkyLDEzLjY1NDI3NjYgTDMyLjAzMjM5Miw0LjA5NjkzMzk1IFoiIGlkPSJTaGFwZSI+PC9wYXRoPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(r(2)),o=i(r(1));function i(t){return t&&t.__esModule?t:{default:t}}r(123);var s=function(t){var e=t.badge;return e>0&&n.default.createElement("span",{className:"rcw-badge"},e)};s.propTypes={badge:o.default.number},e.default=s},function(t,e,r){},function(t,e,r){},function(t,e,r){},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var o=r(4),i=r(15),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5));function u(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a=(0,o.Map)({showChat:!1,disabledInput:!1,msgLoader:!1}),c=(u(n={},s.TOGGLE_CHAT,function(t){return t.update("showChat",function(t){return!t})}),u(n,s.TOGGLE_INPUT_DISABLED,function(t){return t.update("disabledInput",function(t){return!t})}),u(n,s.TOGGLE_MSG_LOADER,function(t){return t.update("msgLoader",function(t){return!t})}),n);e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,e=arguments[1];return(0,i.createReducer)(c,t,e)}},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var o=r(4),i=r(15),s=r(11),u=r(6),a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5));function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var l=(0,o.List)([]),f=(c(n={},a.ADD_NEW_USER_MESSAGE,function(t,e){var r=e.text;return t.push((0,s.createNewMessage)(r,u.MESSAGE_SENDER.CLIENT))}),c(n,a.ADD_NEW_RESPONSE_MESSAGE,function(t,e){var r=e.text;return t.push((0,s.createNewMessage)(r,u.MESSAGE_SENDER.RESPONSE))}),c(n,a.ADD_NEW_LINK_SNIPPET,function(t,e){var r=e.link;return t.push((0,s.createLinkSnippet)(r,u.MESSAGE_SENDER.RESPONSE))}),c(n,a.ADD_COMPONENT_MESSAGE,function(t,e){var r=e.component,n=e.props,o=e.showAvatar;return t.push((0,s.createComponentMessage)(r,n,o))}),c(n,a.DROP_MESSAGES,function(){return(0,o.List)([])}),c(n,a.HIDE_AVATAR,function(t,e){var r=e.index;return t.update(r,function(t){return t.set("showAvatar",!1)})}),n);e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,e=arguments[1];return(0,i.createReducer)(f,t,e)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(4),o=r(15),i=r(11),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(5));var u=(0,n.List)([]),a=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},s.SET_QUICK_BUTTONS,function(t,e){return(0,n.List)(e.buttons.map(function(t){return(0,i.createQuickButton)(t)}))});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,e=arguments[1];return(0,o.createReducer)(a,t,e)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addUserMessage=function(t){n.default.dispatch(o.addUserMessage(t))},e.addResponseMessage=function(t){n.default.dispatch(o.addResponseMessage(t))},e.addLinkSnippet=function(t){n.default.dispatch(o.addLinkSnippet(t))},e.toggleMsgLoader=function(){n.default.dispatch(o.toggleMsgLoader())},e.renderCustomComponent=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n.default.dispatch(o.renderCustomComponent(t,e,r))},e.toggleWidget=function(){n.default.dispatch(o.toggleChat())},e.toggleInputDisabled=function(){n.default.dispatch(o.toggleInputDisabled())},e.dropMessages=function(){n.default.dispatch(o.dropMessages())},e.isWidgetOpened=function(){return n.default.getState().behavior.get("showChat")},e.setQuickButtons=function(t){n.default.dispatch(o.setQuickButtons(t))};var n=function(t){return t&&t.__esModule?t:{default:t}}(r(28)),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(9))}])});