rod 0.2.4

Distributed graph database that syncs over websockets and multicast
Documentation
1
2
!function(e){function t(t){for(var n,r,o=t[0],a=t[1],c=0,u=[];c<o.length;c++)r=o[c],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&u.push(i[r][0]),i[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(s&&s(t);u.length;)u.shift()()}function n(t){if(r[t])return r[t].exports;var i=r[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var r={},i={3:0};n.e=function(e){var t=[],r=i[e];if(0!==r)if(r)t.push(r[2]);else{var o=new Promise((function(t,n){r=i[e]=[t,n]}));t.push(r[2]=o);var a,c=document.createElement("script");c.charset="utf-8",c.timeout=120,n.nc&&c.setAttribute("nonce",n.nc),c.src=function(e){return n.p+""+({}[e]||e)+".chunk."+{0:"ba205",1:"6f499",2:"68b63",5:"ef5a2",6:"a7a11",7:"6f5d6",8:"29094",9:"dcf87"}[e]+".js"}(e);var s=new Error;a=function(t){c.onerror=c.onload=null,clearTimeout(u);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",s.name="ChunkLoadError",s.type=r,s.request=o,n[1](s)}i[e]=void 0}};var u=setTimeout((function(){a({type:"timeout",target:c})}),12e4);c.onerror=c.onload=a,document.head.appendChild(c)}return Promise.all(t)},n.m=e,n.c=r,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],a=o.push.bind(o);o.push=t,o=o.slice();for(var c=0;c<o.length;c++)t(o[c]);var s=a;n(n.s="mdyV")}({"+7aG":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return u(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return C}));var p,h,d,g,m=n("4Iz4"),y=n("lBHI"),v=n("kv13"),b=n("3rgF"),_=n("oeWf"),w=n("DrMS"),F=n("o5ls"),k=n("x75+"),x=n("Pidb"),C=function(e){function t(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return f(u(e=l.call.apply(l,[this].concat(n))),"notifications",{}),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e);var n,r,s,l=c(t);return n=t,(r=[{key:"componentDidMount",value:function(){var e=this;x.a.changeUnseenNotificationCount(0),y.a.local.get("notifications").map(this.sub((function(t,n){t?(e.notifications[n]=t,x.a.getNotificationText(t).then((function(t){e.notifications[n].text=t,e.setState({})}))):delete e.notifications[n],e.setState({d:(new Date).toISOString()})})))}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"renderView",value:function(){var e=this;return Object(m.a)(p||(p=i(['\n      <div class="centered-container public-messages-view">\n        <h3>',"</h3>\n        ","\n        ","\n      </div>\n    "])),Object(b.c)("notifications"),0===Object.keys(this.notifications).length?Object(m.a)(h||(h=i(["\n            <p> ","</p>\n        "])),Object(b.c)("no_notifications_yet")):"",Object.keys(this.notifications).sort().reverse().map((function(t){var n=e.notifications[t];return Object(m.a)(d||(d=i(['\n            <div class="msg" key=','>\n              <div class="msg-content">\n                <div class="msg-sender">\n                  <a class="msg-sender-link" href="/profile/','">\n                    <'," str="," width=30 />",'\n                    <small class="msgSenderName"><'," pub="," /></small>\n                  </a>\n                </div>\n                ","\n                ",'\n                <div class="below-text">\n                  <div class="time">',"</div><br/>\n                </div>\n              </div>\n            </div>\n          "])),(n.time||"")+(n.from||"")+(n.target||""),n.from,v.a,n.from," ",_.a,n.from,n.text||"",n.target?Object(m.a)(g||(g=i(["<"," hash=","/>"])),k.a,n.target):"",F.a.util.formatDate(new Date(n.time)))})))}}])&&o(n.prototype,r),s&&o(n,s),Object.defineProperty(n,"prototype",{writable:!1}),t}(w.a)},"/JwH":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function u(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function v(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function b(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){function o(e){v(c,r,i,o,a,"next",e)}function a(e){v(c,r,i,o,a,"throw",e)}var c=e.apply(t,n);o(void 0)}))}}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function F(e,t){return F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},F(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=C(e);if(t){var i=C(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return x(this,n)}}function x(e,t){if(t&&("object"===y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}function O(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function j(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=P(e);if(t){var i=P(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return T(this,n)}}function T(e,t){if(t&&("object"===S(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},P(e)}function B(e){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B(e)}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I(){return I="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=M(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},I.apply(this,arguments)}function M(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=U(e)););return e}function L(e,t){return L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},L(e,t)}function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=U(e);if(t){var i=U(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return z(this,n)}}function z(e,t){if(t&&("object"===B(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},U(e)}function H(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function q(e){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q(e)}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function K(e,t){return K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},K(e,t)}function $(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=G(e);if(t){var i=G(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return V(this,n)}}function V(e,t){if(t&&("object"===q(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function G(e){return G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},G(e)}function Y(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function J(e){return J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},J(e)}function Q(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function X(e,t){return X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},X(e,t)}function ee(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ne(e);if(t){var i=ne(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return te(this,n)}}function te(e,t){if(t&&("object"===J(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ne(e){return ne=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ne(e)}var re,ie,oe,ae,ce,se,ue,le,fe,pe,he,de,ge,me,ye,ve,be,_e,we,Fe,ke,xe,Ce,Oe,Se,je,Ee,Ae,De,Te,Pe,Be,Re,Ie,Me,Le,Ne,ze=n("4Iz4"),Ue=n("DrMS"),He=n("5OaP"),qe=n("aKPg"),We=n("3rgF"),Ke=n("lBHI"),$e=n("Y3FI"),Ve=n("jMw0"),Ge=n("kv13"),Ye=Object(ze.a)(re||(re=u(['<span class="seen-indicator"><svg viewBox="0 0 59 42"><polygon fill="currentColor" points="40.6,12.1 17,35.7 7.4,26.1 4.6,29 17,41.3 43.4,14.9"></polygon><polygon class="iris-delivered-checkmark" fill="currentColor" points="55.6,12.1 32,35.7 29.4,33.1 26.6,36 32,41.3 58.4,14.9"></polygon></svg></span>']))),Je=function(e){function t(){var e;return(e=s.call(this)).state={latest:{}},e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(t,e);var n,r,c,s=a(t);return n=t,(r=[{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentDidMount",value:function(){var e=this,t=this.props.chat;Ke.a.local.get("channels").get(t.id).get("latest").on(this.sub((function(n){n.time<t.latestTime||(n.time=n.time&&new Date(n.time),e.setState({latest:n}))})))}},{key:"render",value:function(){var e=this,t=this.props.chat,n=this.props.active?"active-item":"",r=t.theirMsgsLastSeenTime>=t.latestTime?"seen":"",i=t.theirLastActiveTime>=t.latestTime?"delivered":"",o=t.unseen?"has-unseen":"",a=t.unseen?Object(ze.a)(ie||(ie=u(['<span class="unseen">',"</span>"])),t.unseen):"",c=["online","active"].indexOf(t.activity)>-1?t.activity:"",s=t.latestTime&&new Date(t.latestTime),l=qe.a.getRelativeTimeText(s),f=t.name;t.id===(Ve.a.getKey()||{}).pub&&(f=Object(ze.a)(oe||(oe=u(["📝 <b>","</b>"])),Object(We.c)("note_to_self")));var p=t.photo?Object(ze.a)(ae||(ae=u(['<div class="identicon-container"><img src="','" class="round-borders" height=49 width=49 alt=""/></div>'])),t.photo):Object(ze.a)(ce||(ce=u(["<"," str="," width=49/>"])),Ge.a,t.id),h=t.isTyping?"":Object(ze.a)(se||(se=u(['<small class="latest">\n      ',"\n      ","\n    </small>"])),this.state.latest.selfAuthored&&Ye,this.state.latest.text),d=t.isTyping?Object(ze.a)(ue||(ue=u(['<small class="typing-indicator">',"</small>"])),Object(We.c)("typing")):"",g=t.id.length>36?Object(ze.a)(le||(le=u(['<div class="online-indicator"></div>']))):"";return Object(ze.a)(fe||(fe=u(['\n    <div class="chat-item '," "," "," "," ",'" onClick=',">\n      ","\n      ",'\n      <div class="text">\n        <div>\n          <span class="name">','</span>\n          <small class="latest-time">',"</small>\n        </div>\n        ","\n        ","\n        ","\n      </div>\n    </div>\n    "])),c,o,n,r,i,(function(){return Object($e.route)("/chat/".concat(e.props.chat.id))}),p,g,f,l,d,h,a)}}])&&i(n.prototype,r),c&&i(n,c),Object.defineProperty(n,"prototype",{writable:!1}),t}(He.a),Qe=n("Pidb"),Ze=n("FH/a"),Xe=n("9va6"),et=n.n(Xe),tt=n("qIEf"),nt=n.n(tt),rt=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=o.call(this)).state={chats:new Map,hashtags:{}},e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(t,e);var n,r,i,o=d(t);return n=t,(r=[{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentDidMount",value:function(){var e=this,t={};Ke.a.local.get("channels").map(this.sub((function(t,n){t?(t.latestTime=t.latestTime||"",t.id=n,e.setState({chats:e.state.chats.set(n,t)})):e.state.chats.has(n)&&e.setState({chats:e.state.chats.delete(n)})}))),Ke.a.local.get("scrollUp").on(this.sub((function(){return qe.a.animateScrollTop(".chat-list")}))),Ke.a.public.user().get("hashtagSubscriptions").map().on(this.sub((function(n,r){n?t[r]=!0:delete t[r],e.setState({hashtags:t})}))),window.Notification&&"granted"!==Notification.permission&&"denied"!==Notification.permission&&setTimeout((function(){nt()("#enable-notifications-prompt").slideDown()}),5e3)}},{key:"render",value:function(){var e=this.props.activeChat,t=et.a.orderBy(Array.from(this.state.chats.values()),["latestTime","name"],["desc","asc"]);return Object(ze.a)(pe||(pe=f(['<section class="sidebar ','">\n      <div id="enable-notifications-prompt" onClick=','>\n        <div class="title">',"</div>\n        <div><a>",'</a></div>\n      </div>\n      <div class="chat-list">\n        <div class="chat-item new ','" onClick=','>\n          <svg class="svg-inline--fa fa-smile fa-w-16" style="margin-right:10px;margin-top:3px" x="0px" y="0px"\n              viewBox="0 0 510 510">\n            <path fill="currentColor" d="M459,0H51C22.95,0,0,22.95,0,51v459l102-102h357c28.05,0,51-22.95,51-51V51C510,22.95,487.05,0,459,0z M102,178.5h306v51 H102V178.5z M306,306H102v-51h204V306z M408,153H102v-51h306V153z"/>\n          </svg>\n          ',"\n        </div>\n        <",">\n          ","\n        </",">\n      </div>\n    </section>"])),this.props.class||"",(function(){return Qe.a.enableDesktopNotifications()}),Object(We.c)("get_notified_new_messages"),Object(We.c)("turn_on_desktop_notifications"),"new"===e?"active-item":"",(function(){return Object($e.route)("/chat/new")}),Object(We.c)("new_chat"),Ze.a,t.map((function(t){return Object(ze.a)(he||(he=f(["<","\n              photo=","\n              active=","\n              key=","\n              chat=","/>"])),Je,t.photo,t.id===e,t.id,t)})),Ze.a)}}])&&p(n.prototype,r),i&&p(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(He.a),it=n("hosL"),ot=n("5rjA"),at=n("24Gu"),ct=n("o5ls"),st=n("tMPu"),ut=n.n(st),lt=n("wCQ/"),ft=n.n(lt),pt=n("ANvx"),ht=Object(ze.a)(de||(de=O(['\n  <button type="submit">\n    <svg class="svg-inline--fa fa-w-16" x="0px" y="0px" viewBox="0 0 486.736 486.736" style="enable-background:new 0 0 486.736 486.736;" width="100px" height="100px" fill="currentColor" stroke="#000000" stroke-width="0"><path fill="currentColor" d="M481.883,61.238l-474.3,171.4c-8.8,3.2-10.3,15-2.6,20.2l70.9,48.4l321.8-169.7l-272.4,203.4v82.4c0,5.6,6.3,9,11,5.9 l60-39.8l59.1,40.3c5.4,3.7,12.8,2.1,16.3-3.5l214.5-353.7C487.983,63.638,485.083,60.038,481.883,61.238z"></path></svg>\n  </button>']))),dt=function(e){function t(){return _(this,t),c.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&F(e,t)}(t,e);var n,r,i,o,a,c=k(t);return n=t,r=[{key:"componentDidMount",value:function(){var e=this;this.picker=new ut.a({position:"top-start"}),this.picker.on("emoji",(function(t){var n=nt()(e.base).find(".new-msg");n.val(n.val()+t),n.focus()})),ct.a.util.isMobile||!1===this.props.autofocus||nt()(this.base).find(".new-msg").focus()}},{key:"sendToPrivateOrGroup",value:function(){var e=Ve.a.channels[this.props.activeChat];if(e){Ke.a.local.get("channels").get(this.props.activeChat).get("msgDraft").put(null);var t=nt()(this.base).find(".new-msg"),n=t.val();if(n.length||e.attachments){e.setTyping&&e.setTyping(!1);var r={text:n};this.props.replyingTo&&(r.replyingTo=this.props.replyingTo),e.attachments&&(r.attachments=e.attachments),this.state.torrentId&&(r.torrentId=this.state.torrentId),e.send(r),this.closeAttachmentsPreview(),t.val(""),this.webPush(r)}}else console.error("no chat",this.props.activeChat,"found")}},{key:"sendToHashtag",value:function(){Ke.a.local.get("channels").get(this.props.activeChat).get("msgDraft").put(null);var e=nt()(this.base).find(".new-msg"),t=e.val();if(t.length){var n={text:t};this.state.torrentId&&(n.torrentId=this.state.torrentId),this.sendPublic(n),this.closeAttachmentsPreview(),e.val("")}}},{key:"componentDidUpdate",value:function(){ct.a.util.isMobile||!1===this.props.autofocus||nt()(this.base).find(".new-msg").focus(),nt()("#attachment-preview:visible").length&&nt()("#attachment-preview").append(nt()("#webtorrent"))}},{key:"onMsgFormSubmit",value:(a=b((function*(e){e.preventDefault(),this.props.hashtag?this.sendToHashtag():this.sendToPrivateOrGroup(),qe.a.scrollToMessageListBottom()})),function(e){return a.apply(this,arguments)})},{key:"onEmojiButtonClick",value:function(e){e.preventDefault(),this.picker.pickerVisible?this.picker.hidePicker():this.picker.showPicker(e.target)}},{key:"onMsgTextPaste",value:function(e){var t=(e.clipboardData||window.clipboardData).getData("text");(t!==this.state.torrentId&&t.indexOf(".torrent")>-1||t.match(/^magnet:\?xt=urn:btih:*/))&&(e.preventDefault(),this.setState({torrentId:t}),this.openAttachmentsPreview())}},{key:"onMsgTextInput",value:function(e){var t=Ve.a.channels[this.props.activeChat];if(t){var n=nt()(e.target).val();this.isTyping=void 0!==this.isTyping&&this.isTyping;var r=function(){return n.length>0},i=function(){return t.setTyping(r())},o=et.a.throttle(i,1e3);this.isTyping===r()?o():i(),this.isTyping=r(),Ke.a.local.get("channels").get(this.props.activeChat).get("msgDraft").put(nt()(e.target).val())}}},{key:"attachFileClicked",value:function(e){e.preventDefault(),nt()(this.base).find(".attachment-input").click()}},{key:"openAttachmentsPreview",value:function(){var e=this;nt()("#floating-day-separator").remove();var t=nt()("#attachment-preview");t.removeClass("gallery"),t.empty();var n=nt()("<button>").text(Object(We.c)("cancel")).click((function(){return e.closeAttachmentsPreview()}));t.append(n);var r=nt()(this.base).find(".attachment-input")[0].files;if(r){t.show(),nt()("#message-list").hide();for(var i=0;i<r.length;i++)qe.a.getBase64(r[i]).then((function(n){Ve.a.channels[e.props.activeChat].attachments=Ve.a.channels[e.props.activeChat].attachments||[],Ve.a.channels[e.props.activeChat].attachments.push({type:"image",data:n});var r=qe.a.setImgSrc(nt()("<img>"),n);t.append(r)}));nt()(this.base).find(".attachment-input").val(null),nt()(this.base).find(".new-msg").focus()}nt()(document).off("keyup").on("keyup",(function(t){"Escape"===t.key&&(nt()(document).off("keyup"),nt()("#attachment-preview:visible").length&&e.closeAttachmentsPreview())}))}},{key:"closeAttachmentsPreview",value:function(){var e=nt()("#attachment-preview");e.hide(),e.removeClass("gallery"),nt()("#message-list").show(),Ve.a.channels[this.props.activeChat]&&(Ve.a.channels[this.props.activeChat].attachments=null),this.props.hashtag||qe.a.scrollToMessageListBottom(),this.setState({torrentId:null})}},{key:"webPush",value:(o=b((function*(e){var t=Ve.a.channels[this.props.activeChat],n=Ve.a.getKey();(this.props.activeChat===n.pub||!t.activity||!t.activity.isActive)&&t.webPushSubscriptions&&(yield*function*(){for(var r=[],i=Object.keys(t.webPushSubscriptions),o=function*(o){var a=i[o],c=yield t.getSecret(a),s=Ve.a.getMyName(),u=t.uuid?t.name:s,l=t.uuid?"".concat(s,": ").concat(e.text):e.text,f={title:yield ft.a.SEA.encrypt(u,c),body:yield ft.a.SEA.encrypt(l,c),from:{pub:n.pub,epub:n.epub}};t.webPushSubscriptions[a].forEach((function(e){e&&e.endpoint&&r.push({subscription:e,payload:f})}))},a=0;a<i.length;a++)yield*o(a);fetch("https://iris-notifications.herokuapp.com/notify",{method:"POST",body:JSON.stringify({subscriptions:r}),headers:{"content-type":"application/json"}}).catch((function(){}))}())})),function(e){return o.apply(this,arguments)})},{key:"render",value:function(){var e=this,t=Object(ze.a)(ge||(ge=O(['\n      <button type="button" class="attach-file-btn" onClick=','>\n        <svg width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21.586 10.461l-10.05 10.075c-1.95 1.949-5.122 1.949-7.071 0s-1.95-5.122 0-7.072l10.628-10.585c1.17-1.17 3.073-1.17 4.243 0 1.169 1.17 1.17 3.072 0 4.242l-8.507 8.464c-.39.39-1.024.39-1.414 0s-.39-1.024 0-1.414l7.093-7.05-1.415-1.414-7.093 7.049c-1.172 1.172-1.171 3.073 0 4.244s3.071 1.171 4.242 0l8.507-8.464c.977-.977 1.464-2.256 1.464-3.536 0-2.769-2.246-4.999-5-4.999-1.28 0-2.559.488-3.536 1.465l-10.627 10.583c-1.366 1.368-2.05 3.159-2.05 4.951 0 3.863 3.13 7 7 7 1.792 0 3.583-.684 4.95-2.05l10.05-10.075-1.414-1.414z"/></svg>\n      </button>\n      <button class="emoji-picker-btn hidden-xs" type="button" onClick=','>\n        <svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="smile" class="svg-inline--fa fa-smile fa-w-16" role="img" viewBox="0 0 496 512"><path fill="currentColor" d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"></path></svg>\n      </button>'])),(function(t){return e.attachFileClicked(t)}),(function(t){return e.onEmojiButtonClick(t)}));return Object(ze.a)(me||(me=O(['<form autocomplete="off" class="message-form ','" onSubmit=',">\n      ",'\n      <input name="attachment-input" type="file" class="hidden attachment-input" accept="image/*" multiple onChange=',"/>\n      <input onPaste="," onInput=",' class="new-msg" type="text" placeholder="','" autocomplete="off" autocorrect="off" autocapitalize="sentences" spellcheck="off"/>\n      ','\n      <div id="webtorrent">\n          ',"\n      </div>\n    </form>"])),this.props.class||"",(function(t){return e.onMsgFormSubmit(t)}),t,(function(){return e.openAttachmentsPreview()}),(function(t){return e.onMsgTextPaste(t)}),(function(t){return e.onMsgTextInput(t)}),Object(We.c)("type_a_message"),ht,this.state.torrentId?Object(ze.a)(ye||(ye=O(["<"," preview="," torrentId=","/>"])),at.a,!0,this.state.torrentId):"")}}],r&&w(n.prototype,r),i&&w(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(pt.a),gt=dt,mt=n("oeWf"),yt=n("Xfve"),vt=n("d17u"),bt=n("s40m"),_t=n("Hrl7"),wt=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=o.call(this)).chatLinks={},e.state={chatLinks:{}},e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&A(e,t)}(t,e);var n,r,i,o=D(t);return n=t,(r=[{key:"scanChatLinkQr",value:function(){nt()("#chatlink-qr-video:visible").length?(nt()("#chatlink-qr-video").hide(),yt.a.cleanupScanner()):(nt()("#chatlink-qr-video").show(),yt.a.startChatLinkQRScanner((function(e){return e.text&&Ve.a.followChatLink(e.text)})))}},{key:"onPasteChatLink",value:function(e){var t=nt()(e.target).val();Ve.a.followChatLink(t),nt()(e.target).val("")}},{key:"onSubscribeHashtag",value:function(e){e.preventDefault();var t=nt()("#new-hashtag").val().trim().toLowerCase().replace("#","");t.length&&t.match(/^\w+$/)&&(Ke.a.public.user().get("hashtagSubscriptions").get(t).put(!0),Object($e.route)("/hashtag/".concat(t)))}},{key:"onCreateGroupSubmit",value:function(e){if(e.preventDefault(),nt()("#new-group-name").val().length){var t=new ct.a.Channel({gun:Ke.a.public,key:Ve.a.getKey(),participants:[]});t.put("name",nt()("#new-group-name").val()),nt()("#new-group-name").val(""),Ve.a.addChannel(t),Object($e.route)("/group/".concat(t.uuid))}}},{key:"componentDidMount",value:function(){var e=this;Ke.a.local.get("chatLinks").map(this.sub((function(t,n){if(t){if("string"!=typeof t||0!==t.indexOf("http"))return;e.chatLinks[n]=t,r=t,0!==(i=nt()("#my-qr-code")).length&&(i.empty(),new bt.a(i[0],{text:r||Ve.a.getMyChatLink(),width:320,height:320,colorDark:"#000000",colorLight:"#ffffff",correctLevel:bt.a.CorrectLevel.H}))}else delete e.chatLinks[n];var r,i;e.setState({chatLinks:e.chatLinks})})))}},{key:"removeChatLink",value:function(e){return Ke.a.local.get("chatLinks").get(e).put(null),ct.a.Channel.removePrivateChatLink(Ke.a.public,Ve.a.getKey(),e)}},{key:"render",value:function(){var e=this;return Object(ze.a)(ve||(ve=j(["\n      <","><title>",'</title><//>\n      <div class="main-view" id="new-chat">\n        <h3>','</h3>\n          <div class="btn-group">\n            <input id="paste-chat-link" onInput=',' type="text" placeholder="','"/>\n            <button id="scan-chatlink-qr-btn" onClick=',">",'</button>\n          </div>\n        <video id="chatlink-qr-video" width="320" height="320" style="object-fit: cover;"></video>\n        <h3>','</h3>\n        <div class="btn-group">\n          <'," text="," copyStr=","/>\n          <button onClick=",">",'</button>\n        </div>\n        <p id="my-qr-code" class="qr-container" style="display:none"></p>\n        <p><small dangerouslySetInnerHTML=',"></small></p>\n        <h3>","</h3>\n        <p>\n          <form onSubmit=",'>\n            <input id="new-group-name" type="text" placeholder="','"/>\n            <button type="submit">',"</button>\n          </form>\n        </p>\n        <hr/>\n        <h3>","</h3>\n        <p><button onClick=",">",'</button></p>\n        <div id="my-chat-links" class="flex-table">\n          ',"\n        </div>\n      </div>"])),_t.a,Object(We.c)("new_chat"),Object(We.c)("have_someones_invite_link"),(function(t){return e.onPasteChatLink(t)}),Object(We.c)("paste_their_invite_link"),(function(){return e.scanChatLinkQr()}),Object(We.c)("or_scan_qr_code"),Object(We.c)("give_your_invite_link"),vt.a,Object(We.c)("copy_your_invite_link"),Ve.a.getMyChatLink,(function(){return nt()("#my-qr-code").toggle()}),Object(We.c)("or_show_qr_code"),{__html:Object(We.c)("beware_of_sharing_invite_link_publicly",'href="/profile/'.concat(Ve.a.getPubKey(),'"'))},Object(We.c)("new_group"),(function(t){return e.onCreateGroupSubmit(t)}),Object(We.c)("group_name"),Object(We.c)("create"),Object(We.c)("your_invite_links"),(function(){return Ve.a.createChatLink()}),Object(We.c)("create_new_invite_link"),Object.keys(this.state.chatLinks).map((function(t){var n=e.state.chatLinks[t];return Object(ze.a)(be||(be=j(['\n              <div class="flex-row">\n                <div class="flex-cell no-flex">\n                  <'," copyStr=",'/>\n                </div>\n                <div class="flex-cell">\n                  <input type="text" value='," onClick=",'/>\n                </div>\n                <div class="flex-cell no-flex">\n                  <button onClick=',">","</button>\n                </div>\n              </div>\n            "])),vt.a,n,n,(function(e){return nt()(e.target).select()}),(function(){return e.removeChatLink(t)}),Object(We.c)("remove"))})))}}])&&E(n.prototype,r),i&&E(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(He.a),Ft=Object(ze.a)(_e||(_e=H(['\n<svg x="0px" y="0px"\nwidth="451.847px" height="451.847px" viewBox="0 0 451.847 451.847" style="enable-background:new 0 0 451.847 451.847;">\n<g>\n<path fill="currentColor" d="M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751\nc12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0\nc12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"/>\n</g>\n</svg>\n']))),kt=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=o.call(this)).hashtagChatRef=Object(it.createRef)(),e.state={sortedMessages:[],sortedParticipants:[],showParticipants:!0,stickToBottom:!0,noLongerParticipant:!1},e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&L(e,t)}(t,e);var n,r,i,o=N(t);return n=t,(r=[{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentDidMount",value:function(){var e=this;if(this.props.id&&this.props.id.length>20){this.participants={},this.iv=null,this.chat=null;var t=function(){e.chat=Ve.a.channels[e.props.id],!e.chat&&e.props.id.length>40&&(e.chat=Ve.a.newChannel(e.props.id)),e.chat&&(clearInterval(e.iv),Ve.a.subscribeToMsgs(e.props.id),Qe.a.changeChatUnseenCount(e.props.id,0),e.chat.setMyMsgsLastSeenTime(),qe.a.scrollToMessageListBottom(),e.chat.setMyMsgsLastSeenTime())};this.iv=setInterval(t,3e3),t(),Ke.a.local.get("showParticipants").put(!0),Ke.a.local.get("showParticipants").on(this.inject()),Ke.a.local.get("channels").get(this.props.id).get("participants").map(this.sub((function(t,n){var r=!!e.participants[n];e.participants[n]=t,t&&!r&&Ke.a.public.user(n).get("activity").on(e.sub((function(t){e.participants[n]&&(e.participants[n].activity=t),e.setSortedParticipants()}))),e.setSortedParticipants()}))),Ke.a.local.get("channels").get(this.props.id).get("msgDraft").once((function(e){return nt()(".new-msg").val(e)}));var n=Ke.a.local.get("channels").get(this.props.id).get("msgs"),r=et.a.throttle((function(){return e.setState({sortedMessages:Object.keys(e.msgs).sort().map((function(t){return e.msgs[t]}))})}),100);this.msgs={},n.map(this.sub((function(t,n){e.msgs[n]=t,r()})));var i=document.getElementById("message-list");i.style.paddingBottom=0,i.style.paddingTop=0;var o=nt()("#message-view");o.off("scroll").on("scroll",(function(){var t=o[0].scrollHeight-o.scrollTop()==o.outerHeight();e.state.stickToBottom&&!t?e.setState({stickToBottom:!1}):!e.state.stickToBottom&&t&&e.setState({stickToBottom:!0})}))}}},{key:"setSortedParticipants",value:function(){var e=this,t=!0,n=Object.keys(this.participants).filter((function(n){var r=e.participants[n],i=r&&r.read&&r.write;return t&&i&&n===Ve.a.getPubKey()&&(t=!1),i})).sort((function(t,n){var r=e.participants[t],i=e.participants[n],o=new Date(r&&r.activity&&r.activity.time||0),a=new Date(i&&i.activity&&i.activity.time||0);return Math.abs(o-a)<1e4?t>n?-1:1:o>a?-1:o<a?1:0}));this.setState({sortedParticipants:n,noLongerParticipant:t})}},{key:"componentDidUpdate",value:function(){var e=this;this.state.stickToBottom&&qe.a.scrollToMessageListBottom(),nt()(".msg-content img").off("load").on("load",(function(){return e.state.stickToBottom&&qe.a.scrollToMessageListBottom()})),setTimeout((function(){e.chat&&!e.chat.uuid&&e.props.id!==Ve.a.getPubKey()&&(!nt()(".msg.our").length||nt()(".msg.their").length||e.chat.theirMsgsLastSeenTime?nt()("#not-seen-by-them").slideUp():nt()("#not-seen-by-them").slideDown())}),2e3)}},{key:"componentWillUnmount",value:function(){I(U(t.prototype),"componentWillUnmount",this).call(this),clearInterval(this.iv)}},{key:"addFloatingDaySeparator",value:function(){for(var e=nt()(".day-separator").last(),t=e.position();e&&t&&t.top-55>0;)t=(e=e.prevAll(".day-separator").first()).position();var n=e.clone(),r=nt()("<div>").css({position:"fixed",top:70,"text-align":"center"}).attr("id","floating-day-separator").width(nt()("#message-view").width()).append(n);nt()("#floating-day-separator").remove(),setTimeout((function(){return n.fadeOut()}),2e3),nt()("#message-view").prepend(r)}},{key:"toggleScrollDownBtn",value:function(){var e=nt()("#message-view");e[0].scrollHeight-e.scrollTop()<=e.outerHeight()+200?nt()("#scroll-down-btn:visible").fadeOut(150):nt()("#scroll-down-btn:not(:visible)").fadeIn(150)}},{key:"onMessageViewScroll",value:function(){var e=this;this.messageViewScrollHandler=this.messageViewScrollHandler||et.a.throttle((function(){nt()("#attachment-preview:visible").length||(e.addFloatingDaySeparator(),e.toggleScrollDownBtn())}),200),this.messageViewScrollHandler()}},{key:"scrollDown",value:function(){qe.a.scrollToMessageListBottom();var e=document.getElementById("message-list");e&&(e.style.paddingBottom=0)}},{key:"renderMainView",value:function(){var e,t=this;if(this.props.id&&this.props.id.length>20){var n,r,i=new Date,o=i.toLocaleDateString(),a=[];this.state.sortedMessages&&Object.values(this.state.sortedMessages).forEach((function(e){if("object"!==B(e))try{e=JSON.parse(e)}catch(e){return void console.error("JSON.parse(msg) failed",e)}var c,s="string"==typeof e.time?new Date(e.time):e.time;if(s){var u=s.toLocaleDateString();if(u!==n){c=!0;var l=ct.a.util.getDaySeparatorText(s,u,i,o);a.push(Object(ze.a)(we||(we=H(['<div class="day-separator">',"</div>"])),Object(We.c)(l)))}n=u}var f=!1;(c||r&&e.from!==r)&&(a.push(Object(ze.a)(Fe||(Fe=H(['<div class="from-separator"/>'])))),f=!0),r=e.from,a.push(Object(ze.a)(ke||(ke=H(["\n          <"," ..."," showName="," key="," chatId=","/>\n        "])),ot.a,e,f,e.time,t.props.id))})),e=Object(ze.a)(xe||(xe=H(['\n        <div class="main-view" id="message-view" onScroll=','>\n          <div id="message-list">\n            ','\n          </div>\n          <div id="attachment-preview" class="attachment-preview" style="display:none"></div>\n        </div>'])),(function(e){return t.onMessageViewScroll(e)}),a)}else e=Object(ze.a)(Ce||(Ce=H(["<","/>"])),wt);return e}},{key:"renderParticipantList",value:function(){var e=this.state.sortedParticipants;return this.props.id&&"new"!==this.props.id&&this.props.id.length<40?Object(ze.a)(Oe||(Oe=H(['\n      <div class="participant-list ','">\n        ',"\n        ","\n      </div>\n    "])),this.state.showParticipants?"open":"",e.length?Object(ze.a)(Se||(Se=H(["\n          <small>"," ","</small>\n        "])),e.length,Object(We.c)("participants")):"",e.map((function(e){return Object(ze.a)(je||(je=H(['\n            <a href="/profile/','">\n              <span class="text">\n                <',' key="i','" str='," width=30 activity=","/>\n                <"," pub=",' key="t','" />\n              </span>\n            </a>\n          '])),e,Ge.a,e,e,!0,mt.a,e,e)}))):""}},{key:"renderMsgForm",value:function(){var e=this;return this.props.id&&this.props.id.length>20?Object(ze.a)(Ee||(Ee=H(['\n      <div id="scroll-down-btn" style="display:none;" onClick=',">",'</div>\n      <div id="not-seen-by-them" style="display: none">\n        <p dangerouslySetInnerHTML=',"></p>\n        <p><button onClick=",">",'</button></p>\n      </div>\n      <div class="chat-message-form">\n        ',"\n      </div>\n      "])),(function(){return e.scrollDown()}),Ft,{__html:Object(We.c)("if_other_person_doesnt_see_message")},(function(e){return function(e){qe.a.copyToClipboard(Ve.a.getMyChatLink());var t=nt()(e.target),n=t.text(),r=t.width();t.width(r),t.text(Object(We.c)("copied")),setTimeout((function(){t.text(n),t.css("width","")}),2e3)}(e)}),Object(We.c)("copy_your_invite_link"),this.state.noLongerParticipant?Object(ze.a)(Ae||(Ae=H(["<div style=\"text-align:center\">You can't send messages to this group because you're no longer a participant.</div>"]))):Object(ze.a)(De||(De=H(["<"," key="," activeChat="," onSubmit=","/>"])),gt,this.props.id,this.props.id,(function(){return e.scrollDown()}))):""}},{key:"render",value:function(){return Object(ze.a)(Te||(Te=H(["\n      <","><title>",'</title><//>\n      <div id="chat-main" class="','">\n        ',"\n        ","\n      </div>\n      ","\n    "])),_t.a,this.chat&&this.chat.name||"Messages",this.props.id?"":"hidden-xs",this.renderMainView(),this.renderMsgForm(),this.renderParticipantList())}}])&&R(n.prototype,r),i&&R(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(He.a),xt=n("46vS"),Ct=n("3kvY"),Ot=Object(ze.a)(Pe||(Pe=Y(['\n<svg x="0px" y="0px"\nwidth="451.847px" height="451.847px" viewBox="0 0 451.847 451.847" style="enable-background:new 0 0 451.847 451.847;">\n<g>\n<path fill="currentColor" d="M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751\nc12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0\nc12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"/>\n</g>\n</svg>\n']))),St=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=o.call(this)).hashtagChatRef=Object(it.createRef)(),e.participants={},e.state={sortedParticipants:[],showParticipants:!0,stickToBottom:!0},e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&K(e,t)}(t,e);var n,r,i,o=$(t);return n=t,(r=[{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentDidMount",value:function(){var e=this;Ke.a.local.get("showParticipants").put(!0),Ke.a.local.get("showParticipants").on(this.inject()),Ke.a.group().on("hashtagSubscriptions/".concat(this.props.hashtag),this.sub((function(t,n,r,i,o){t&&!e.participants[o]?(e.participants[o]={},Ke.a.public.user(o).get("activity").on(e.sub((function(t){e.participants[o]&&(e.participants[o].activity=t),e.setSortedParticipants()})))):delete e.participants[o],e.setSortedParticipants()}))),Ke.a.local.get("hashtags").get(this.props.hashtag).get("msgDraft").once((function(e){return nt()(".new-msg").val(e)}));var t=nt()("#message-view");t.off("scroll").on("scroll",(function(){var n=t[0].scrollHeight-t.scrollTop()==t.outerHeight();e.state.stickToBottom&&!n?e.setState({stickToBottom:!1}):!e.state.stickToBottom&&n&&e.setState({stickToBottom:!0})}))}},{key:"setSortedParticipants",value:function(){var e=this,t=Object.keys(this.participants).sort((function(t,n){var r=e.participants[t],i=e.participants[n],o=new Date(r&&r.activity&&r.activity.time||0),a=new Date(i&&i.activity&&i.activity.time||0);return Math.abs(o-a)<1e4?t>n?-1:1:o>a?-1:o<a?1:0}));this.setState({sortedParticipants:t})}},{key:"componentDidUpdate",value:function(){var e=this;this.state.stickToBottom&&qe.a.scrollToMessageListBottom(),nt()(".msg-content img").off("load").on("load",(function(){return e.state.stickToBottom&&qe.a.scrollToMessageListBottom()}))}},{key:"scrollDown",value:function(){qe.a.scrollToMessageListBottom();var e=document.getElementById("message-list");e&&(e.style.paddingBottom=0)}},{key:"render",value:function(){var e=this;return Object(ze.a)(Be||(Be=Y(["\n      <","><title>",'</title><//>\n      <div id="chat-main">\n        <div class="main-view public-messages-view" id="message-view" ref=',">\n          <"," reverse="," key="," scrollElement=",' group="everyone" path="hashtags/','"/>\n          <',' />\n          <div id="attachment-preview" class="attachment-preview" style="display:none"></div>\n        </div>\n        \n        <div id="scroll-down-btn" style="display:none;" onClick=',">",'</div>\n        \n        <div id="not-seen-by-them" style="display: none">\n          <p dangerouslySetInnerHTML=',"></p>\n          <p><button onClick=",">",'</button></p>\n        </div>\n        <div class="chat-message-form">\n          <'," key="," hashtag="," onSubmit=",' />\n        </div>\n      </div>\n      \n      <div class="participant-list ','">\n        ',"\n        ","\n      </div>\n    "])),_t.a,this.chat&&this.chat.name||"Messages",this.hashtagChatRef,xt.a,!0,this.props.hashtag,this.hashtagChatRef.current,this.props.hashtag,Ct.a,(function(){return e.scrollDown()}),Ot,{__html:Object(We.c)("if_other_person_doesnt_see_message")},(function(e){return function(e){qe.a.copyToClipboard(Ve.a.getMyChatLink());var t=nt()(e.target),n=t.text(),r=t.width();t.width(r),t.text(Object(We.c)("copied")),setTimeout((function(){t.text(n),t.css("width","")}),2e3)}(e)}),Object(We.c)("copy_your_invite_link"),gt,this.props.hashtag,this.props.hashtag,(function(){return e.scrollDown()}),this.state.showParticipants?"open":"",this.state.sortedParticipants.length?Object(ze.a)(Re||(Re=Y(["\n          <small>"," ","</small>\n        "])),this.state.sortedParticipants.length,Object(We.c)("subscribers")):"",this.state.sortedParticipants.map((function(e){return Object(ze.a)(Ie||(Ie=Y(['\n            <a href="/profile/','">\n              <span class="text">\n                <',' key="i','" str='," width=30 activity=","/>\n                <"," pub=",' key="t','" />\n              </span>\n            </a>\n          '])),e,Ge.a,e,e,!0,mt.a,e,e)})))}}])&&W(n.prototype,r),i&&W(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(He.a);t.a=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=o.call(this)).id="chat-view",e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&X(e,t)}(t,e);var n,r,i,o=ee(t);return n=t,(r=[{key:"renderView",value:function(){var e;return e=this.props.hashtag?Object(ze.a)(Me||(Me=Q(["<"," hashtag="," key="," />"])),St,this.props.hashtag,this.props.hashtag):Object(ze.a)(Le||(Le=Q(["<"," id="," key="," />"])),kt,this.props.id,this.props.id),Object(ze.a)(Ne||(Ne=Q(["\n      <"," activeChat="," class=","/>\n      ","\n    "])),rt,this.props.id,this.props.id||this.props.hashtag?"hidden-xs":"",e)}}])&&Z(n.prototype,r),i&&Z(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(Ue.a)},"/nVi":function(){},"07iF":function(e,t,n){(function(e,t){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}!function(){function i(e,t){function r(e){return e.split("/").slice(-1).toString().replace(".js","")}return t?n("Z6HB")(e):e.slice?i[r(e)]:function(t,n){e(t={exports:{}}),i[r(n)]=t.exports}}var o=e;i((function(){String.random=function(e,t){var n="";for(e=e||24,t=t||"0123456789ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghijklmnopqrstuvwxyz";e-- >0;)n+=t.charAt(Math.floor(Math.random()*t.length));return n},String.match=function(e,t){var n,r;return"string"==typeof e&&("string"==typeof t&&(t={"=":t}),e===(n=(t=t||{})["="]||t["*"]||t[">"]||t["<"])||r===t["="]&&(e.slice(0,((n=t["*"]||t[">"])||"").length)===n||r===t["*"]&&(r!==t[">"]&&r!==t["<"]?e>=t[">"]&&e<=t["<"]:r!==t[">"]&&e>=t[">"]||r!==t["<"]&&e<=t["<"])))},String.hash=function(e,t){if("string"==typeof e){if(t=t||0,!e.length)return t;for(var n=0,r=e.length;n<r;++n)t=(t<<5)-t+e.charCodeAt(n),t|=0;return t}};var e,n,i,o,a=Object.prototype.hasOwnProperty;Object.plain=function(e){return!!e&&(e instanceof Object&&e.constructor===Object||"Object"===Object.prototype.toString.call(e).match(/^\[object (\w+)\]$/)[1])},Object.empty=function(e,t){for(var n in e)if(a.call(e,n)&&(!t||-1==t.indexOf(n)))return!1;return!0},Object.keys=Object.keys||function(e){var t=[];for(var n in e)a.call(e,n)&&t.push(n);return t},e=setTimeout,n=0,i=0,o=(void 0===t?"undefined":r(t))!==""+void 0&&t||e,e.hold=e.hold||9,e.poll=e.poll||function(t){e.hold>=+new Date-n&&i++<3333?t():o((function(){n=+new Date,t()}),i=0)},function(){var e,t=setTimeout,n=t.turn=t.turn||function(e){1==r.push(e)&&i(a)},r=n.s=[],i=t.poll,o=0,a=function t(){(e=r[o++])&&e(),o!=r.length&&99!=o||(r=n.s=r.slice(o),o=0),r.length&&i(t)}}(),function(){var e,t=setTimeout,n=t.turn;(t.each=t.each||function(t,r,i,o){o=o||9,function a(c,s,u){if(s=(c=(t||[]).splice(0,o)).length){for(var l=0;l<s&&e===(u=r(c[l]));l++);if(e===u)return void n(a)}i&&i(u)}()})()}()}))(i,"./shim"),i((function(e){e.exports=function e(t,n,r){if(!t)return{to:e};var i="function"==typeof n;t=(this.tag||(this.tag={}))[t]||i&&(this.tag[t]={tag:t,to:e._={next:function(e){var t;(t=this.to)&&t.next(e)}}});if(i){var o={off:e.off||(e.off=function(){if(this.next===e._.next)return!0;this===this.the.last&&(this.the.last=this.back),this.to.back=this.back,this.next=e._.next,this.back.to=this.to,this.the.last===this.the&&delete this.on.tag[this.the.tag]}),to:e._,next:n,the:t,on:this,as:r};return(o.back=t.last||t).to=o,t.last=o}return(t=t.to)&&undefined!==n&&t.next(n),t}}))(i,"./onto"),i((function(e){e.exports=function(e){return null===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e&&e!=1/0&&e!=-1/0&&e==e||!!e&&"string"==typeof e["#"]&&1===Object.keys(e).length&&e["#"]}}))(i,"./valid"),i((function(e){function t(){var e=+new Date;return c<e?(o=0,c=e+t.drift):c=e+(o+=1)/a+t.drift}i("./shim"),t.drift=0;var n,r=-1/0,o=0,a=999,c=r;t.is=function(e,t,n){var i=t&&e&&e._&&e._[">"]||n;if(i)return"number"==typeof(i=i[t])?i:r},t.ify=function(e,t,r,i,o){(e=e||{})._=e._||{},o&&(e._["#"]=o);var a=e._[">"]||(e._[">"]={});return n!==t&&"_"!==t&&("number"==typeof r&&(a[t]=r),n!==i&&(e[t]=i)),e},e.exports=t}))(i,"./state"),i((function(e){i("./shim"),e.exports=function(e){var t={s:{}},n=t.s;e=e||{max:999,age:9e3},t.check=function(e){return!!n[e]&&r(e)};var r=t.track=function(r){var i=n[r]||(n[r]={});return i.was=t.now=+new Date,t.to||(t.to=setTimeout(t.drop,e.age+9)),i};return t.drop=function(r){t.to=null,t.now=+new Date;var i=Object.keys(n);console.STAT&&console.STAT(t.now,+new Date-t.now,"dup drop keys"),setTimeout.each(i,(function(i){var o=n[i];o&&(r||e.age)>t.now-o.was||delete n[i]}),0,99)},t}}))(i,"./dup"),i((function(e){i("./onto"),e.exports=function(e,n){if(this.on){var r=(this.opt||{}).lack||9e3;if("function"!=typeof e){if(!e)return;var i=(this.tag||"")[o=e["#"]||e];if(!i)return;return n&&(i=this.on(o,n),clearTimeout(i.err),i.err=setTimeout((function(){i.off()}),r)),!0}var o=n&&n["#"]||t(9);if(!e)return o;var a=this.on(o,e,n);return a.err=a.err||setTimeout((function(){a.off(),a.next({err:"Error: No ACK yet.",lack:!0})}),r),o}};var t=String.random||function(){return Math.random().toString(36).slice(2)}}))(i,"./ask"),i((function(e){function t(e){return e instanceof t?(this._={$:this}).$:this instanceof t?t.create(this._={$:this,opt:e}):new t(e)}t.is=function(e){return e instanceof t||e&&e._&&e===e._.$||!1},t.version=.202,(t.chain=t.prototype).toJSON=function(){},i("./shim"),t.valid=i("./valid"),t.state=i("./state"),t.on=i("./onto"),t.dup=i("./dup"),t.ask=i("./ask"),function(){function e(n){if(n)if(n.out!==e){var r,o=this.as,a=o.at||o,u=a.$,l=a.dup,f=n.DBG;if((r=n["#"])||(r=n["#"]=s(9)),!l.check(r)){if(l.track(r),n._="function"==typeof(r=n._)?r:function(){},n.$&&n.$===(n.$._||"").$||(n.$=u),n["@"]&&!n.put&&function(e){var t,n=e["@"]||"";if(!(t=n._)){var r=(r=e.$)&&(r=r._)&&(r=r.root)&&(r=r.dup);if(!(r=r.check(n)))return;return void(e["@"]=r["#"]||e["@"])}t.acks=(t.acks||0)+1,(t.err=e.err)&&(e["@"]=t["#"],c(t));t.ok=e.ok||t.ok,t.stop||t.crack||(t.crack=t.match&&t.match.push((function(){d(t)})));d(t)}(n),!a.ask(n["@"],n)){if(f&&(f.u=+new Date),n.put)return void i(n);n.get&&t.on.get(n,u)}f&&(f.uc=+new Date),this.to.next(n),f&&(f.ua=+new Date),n.nts||n.NTS||(n.out=e,a.on("out",n),f&&(f.ue=+new Date))}}else this.to.next(n)}function i(t){if(t){var i=t._||"",a=i.root=((i.$=t.$||"")._||"").root;if(t["@"]&&i.faith&&!i.miss)return t.out=e,void a.on("out",t);i.latch=a.hatch,i.match=a.hatch=[];var s=t.put,f=i.DBG=t.DBG,p=+new Date;if(g=g||p,!s["#"]||!s["."]){f&&(f.p=p),i["#"]=t["#"],i.msg=t,i.all=0,i.stun=1;var h=Object.keys(s);console.STAT&&console.STAT(p,((f||i).pk=+new Date)-p,"put sort");var d,v,b,_,F,k,x,C=0;!function e(a){if(d!=C){if(d=C,!(b=h[C]))return console.STAT&&console.STAT(p,((f||i).pd=+new Date)-p,"put"),void c(i);(_=s[b])?(x=_._)?b!==x["#"]?k=m+y(b)+"soul not same.":(F=x[">"])||(k=m+y(b)+"no state."):k=m+y(b)+"no meta.":k=m+y(b)+"no node.",v=Object.keys(_||{})}if(k)return t.err=i.err=k,void c(i);var g,O=0;for(a=a||0;a++<9&&(g=v[O++]);)if("_"!==g){var S=_[g],j=F[g];if(n===j){k=m+y(g)+"on"+y(b)+"no state.";break}if(!l(S)){k=m+y(g)+"on"+y(b)+"bad "+r(S)+y(S);break}o(S,g,b,j,t),++w}(v=v.slice(O)).length?u(e):(++C,v=null,e(a))}()}}}function o(e,t,n,r,i){var a,c=i._||"",s=c.root,u=s.graph,l=u[n]||h,p=f(l,t,1),d=l[t],g=c.DBG;(a=console.STAT)&&(u[n]&&d||(a.has=(a.has||0)+1));var m=_();if(r>m)return setTimeout((function(){o(e,t,n,r,i)}),(a=r-m)>b?b:a),void(console.STAT&&console.STAT((g||c).Hf=+new Date,a,"future"));if((!(r<p)||c.miss)&&(c.faith||r!==p||!(e===d||v(e)<=v(d))||c.miss)){c.stun++;var y=i["#"]+c.all++,w={toString:function(){return y},_:c};w.toJSON=w.toString,s.dup.track(w)["#"]=i["#"],g&&(g.ph=g.ph||+new Date),s.on("put",{"#":w,"@":i["@"],put:{"#":n,".":t,":":e,">":r},ok:i.ok,_:c})}}function a(e){var t;(t=(e._||"").DBG)&&(t.pa=+new Date,t.pm=t.pm||+new Date);var n,r=this.as,i=r.graph,o=e._,a=e.put,s=a["#"],u=a["."],l=a[":"],f=a[">"];(n=o.msg)&&(n=n.put)&&(n=n[s])&&p(n,u,f,l,s),i[s]=p(i[s],u,f,l,s),(n=(r.next||"")[s])&&n.on("in",e),c(o),this.to.next(e)}function c(t,n){var r;if(!t.stop&&(t.err||!(0<--t.stun))&&(t.stop=1,r=t.root)){var i=t.match;i.end=1,i===r.hatch&&(!(i=t.latch)||i.end?delete r.hatch:r.hatch=i),t.hatch&&t.hatch(),setTimeout.each(t.match,(function(e){e&&e()})),!(n=t.msg)||t.err||n.err||(n.out=e,t.root.on("out",n),F())}}function d(e){e&&e.root&&(e.stun||e.acks!==e.all||e.root.on("in",{"@":e["#"],err:e.err,ok:e.err?n:e.ok||{"":1}}))}t.create=function(n){n.root=n.root||n,n.graph=n.graph||{},n.on=n.on||t.on,n.ask=n.ask||t.ask,n.dup=n.dup||t.dup();var r=n.$.opt(n.opt);return n.once||(n.on("in",e,n),n.on("out",e,n),n.on("put",a,n),t.on("create",n),n.on("create",n)),n.once=1,r},t.on.put=i;var g,m="Error: Invalid graph!",y=function(e){return" '"+(""+e).slice(0,9)+"...' "},v=JSON.stringify,b=2147483647,_=t.state,w=0,F=function(){w>999&&w/-(g-(g=+new Date))>1&&(t.window&&console.log("Warning: You're syncing 1K+ records a second, faster than DOM can update - consider limiting query."),F=function(){w=0})}}(),function(){function e(e,t){var r=+new Date,i=e._||{},o=i.DBG=e.DBG,a=e["#"],c=s(9),u=Object.keys(t||"").sort(),l=((t||"")._||"")["#"],h=e.$._.root,d=t===h.graph[l];console.STAT&&console.STAT(r,((o||i).gk=+new Date)-r,"got keys"),t&&function e(){r=+new Date;for(var i,g,m,y=0,v={};y<9&&(i=u[y++]);)p(v,i,f(t,i),t[i],l);u=u.slice(y),(g={})[l]=v,v=g,d&&((m=function(){}).ram=m.faith=!0),g=u.length,console.STAT&&console.STAT(r,-(r-(r=+new Date)),"got copied some"),o&&(o.ga=+new Date),h.on("in",{"@":a,"#":c,put:v,"%":g?c=s(9):n,$:h.$,_:m,DBG:o}),console.STAT&&console.STAT(r,+new Date-r,"got in"),g&&setTimeout.turn(e)}(),t||h.on("in",{"@":e["#"]})}(t.on.get=function(t,r){var i=r._,o=t.get,a=o["#"],c=i.graph[a],s=o["."],u=(i.next||(i.next={}),(t._||{}).DBG=t.DBG);if(u&&(u.g=+new Date),!c)return i.on("get",t);if(s){if("string"!=typeof s||n===c[s])return i.on("get",t);c=p({},s,f(c,s),c[s],a)}c&&e(t,c),i.on("get",t)}).ack=e}(),t.chain.opt=function(e){var n=this._,r=(e=e||{}).peers||e;return Object.plain(e)||(e={}),Object.plain(n.opt)||(n.opt=e),"string"==typeof r&&(r=[r]),Object.plain(n.opt.peers)||(n.opt.peers={}),r instanceof Array&&(e.peers={},r.forEach((function(t){var r={};r.id=r.url=t,e.peers[t]=n.opt.peers[t]=n.opt.peers[t]||r}))),c(e,(function e(t){var n=this[t];this&&this.hasOwnProperty(t)||"string"==typeof n||Object.empty(n)?this[t]=n:(!n||n.constructor===Object||n instanceof Array)&&c(n,e)})),n.opt.from=e,t.on("opt",n),n.opt.uuid=n.opt.uuid||function(e){return t.state().toString(36).replace(".","")+String.random(e||12)},this};var n,a,c=function(e,t){Object.keys(e).forEach(t,e)},s=String.random,u=setTimeout.turn,l=t.valid,f=t.state.is,p=t.state.ify,h={};(t.log=function(){return!t.log.off&&a.log.apply(a,arguments),[].slice.call(arguments).join(" ")}).once=function(e,n,r){return(r=t.log.once)[e]=r[e]||0,r[e]++||t.log(n)},"undefined"!=typeof window&&((window.GUN=window.Gun=t).window=window);try{void 0!==o&&(o.exports=t)}catch(e){}e.exports=t,(t.window||{}).console=(t.window||{}).console||{log:function(){}},(a=console).only=function(e,t){return a.only.i&&e===a.only.i&&a.only.i++&&(a.log.apply(a,arguments)||t)},t.log.once("welcome","Hello wonderful person! :) Thanks for using GUN, please ask for help on http://chat.gun.eco if anything takes you longer than 5min to figure out!")}))(i,"./root"),i((function(){i("./root").chain.back=function(n,r){if(-1===(n=n||1)||1/0===n)return this._.root.$;if(1===n)return(this._.back||this._).$;var i=this._;if("string"==typeof n&&(n=n.split(".")),n instanceof Array){for(var o=0,a=n.length,c=i;o<a;o++)c=(c||t)[n[o]];return e!==c?r?this:c:(c=i.back)?c.$.back(n,r):void 0}if("function"==typeof n){var s;for(c={back:i};(c=c.back)&&e===(s=n(c,r)););return s}return"number"==typeof n?(i.back||i).$.back(n-1):this};var e,t={}}))(i,"./back"),i((function(){function e(e,t){if(t=t||this.as||e.$._,(!e.$$||this===r.on)&&e.put&&!t.soul){var n=e.put||"",i=n["="]||n[":"],o=t.root,a=o.$.get(n["#"]).get(n["."])._;if("string"==typeof(i=s(i))){if(!(a.echo||(a.echo={}))[t.id]||(o.pass||"")[t.id]){if(c=o.pass){if(c[i+t.id])return;c[i+t.id]=1}(a.echo||(a.echo={}))[t.id]=t,t.has&&(t.link=i);var c,u=o.$.get(a.link=i)._;(u.echo||(u.echo={}))[a.id]=a,((c=t.ask||"")[""]||t.lex)&&u.on("out",{get:{"#":i}}),setTimeout.each(Object.keys(c),(function(e,t){e&&(t=c[e])&&t.on("out",{get:{"#":i,".":e}})}),0,99)}}else this===r.on&&((a.echo||(a.echo={}))[t.id]=t)}}function t(e,n){var r,i,a=e.put||"",c=o!==a["="]?a["="]:a[":"],u=n.root;if(o===c){if(n.soul&&o!==n.put)return;if(i=(e.$$||e.$||"")._||"",e["@"]&&(o!==i.put||o!==n.put))return;return(r=n.link||e.linked)&&delete(u.$.get(r)._.echo||"")[n.id],n.has&&(n.link=null),n.put=o,void setTimeout.each(Object.keys(n.next||""),(function(e,t){(t=n.next[e])&&(r&&delete(u.$.get(r).get(e)._.echo||"")[t.id],t.on("in",{get:e,put:o,$:t.$}))}),0,99)}n.soul||e.$$||((r=s(c))!==(i=e.$._||"").link&&(!n.has||i.link)||(u.pass||"")[n.id]&&"string"!=typeof r)&&(delete(i.echo||"")[n.id],t({get:n.get,put:o,$:e.$,linked:e.linked=e.linked||i.link},n))}function n(e){var t=this.as,n=t.$._,i=t.get||"";if(!e.put||"string"==typeof i["."]&&o===((e.put||"")[i["#"]]||"")[i["."]]){if(o!==n.put)return;if(!n.soul&&!n.has)return;return n.ack=(n.ack||0)+1,void n.on("in",{get:n.get,put:n.put=o,$:n.$,"@":e["@"]})}(e._||{}).miss=1,r.on.put(e)}var r=i("./root");r.chain.chain=function(e){var t,n=this,i=n._,o=new(e||n).constructor(n),a=o._;return a.root=t=i.root,a.id=++t.once,a.back=n._,a.on=r.on,a.on("in",r.on.in,a),a.on("out",r.on.out,a),o},r.on.out=function(e){var t,r,i=this.as,a=i.back,s=i.root;if(e.$||(e.$=i.$),this.to.next(e),!i.err){if(t=e.get){if(s.pass&&(s.pass[i.id]=i),i.lex&&Object.keys(i.lex).forEach((function(e){r[e]=i.lex[e]}),r=e.get=e.get||{}),t["#"]||i.soul){if(t["#"]=t["#"]||i.soul,e["#"]||(e["#"]=c(9)),a=s.$.get(t["#"])._,t=t["."]){if(u(a.put,t)&&(r=a.ask&&a.ask[t],(a.ask||(a.ask={}))[t]=a.$.get(t)._,a.on("in",{get:t,put:{"#":a.soul,".":t,":":a.put[t],">":f(s.graph[a.soul],t)}}),r))return}else{if(r=a.ask&&a.ask[""],(a.ask||(a.ask={}))[""]=a,o!==a.put&&(a.on("in",a),r))return;e.$=a.$}return s.ask(n,e),s.on("in",e)}if(t["."])return i.get?(e={get:{".":i.get},$:i.$},(a.ask||(a.ask={}))[i.get]=e.$._,a.on("out",e)):a.on("out",e={get:i.lex?e.get:{},$:i.$});if((i.ask||(i.ask={}))[""]=i,i.get)return t["."]=i.get,(a.ask||(a.ask={}))[i.get]=e.$._,a.on("out",e)}return a.on("out",e)}i.on("in",{put:i.put=o,$:i.$})},r.on.in=function(n,r){var i,c=(r=r||this.as).root,u=n.$||(n.$=r.$),l=(u||"")._||a,h=n.put||"",d=h["#"],g=h["."],m=o!==h["="]?h["="]:h[":"],y=h[">"]||-1/0;if(o!==n.put&&(o===h["#"]||o===h["."]||o===h[":"]&&o===h["="]||o===h[">"]))return s(h)?void r.on("in",{$:l.back.$,put:{"#":d=l.back.soul,".":g=l.has||l.get,"=":h,">":f(l.back.put,g)},via:n}):(d=((h||"")._||"")["#"])?(u=r.root.$.get(d),setTimeout.each(Object.keys(h).sort(),(function(e){"_"!=e&&o!==(y=f(h,e))&&r.on("in",{$:u,put:{"#":d,".":e,"=":h[e],">":y},VIA:n})}))):void console.log("chain not yet supported for",h,"...",n,r);(n.seen||"")[r.id]||((n.seen||(n.seen=function(){}))[r.id]=r,r!==l&&(Object.keys(n).forEach((function(e){h[e]=n[e]}),h={}),h.get=r.get||h.get,r.soul||r.has?l.soul&&(h.$=r.$,h.$$=h.$$||l.$):h.$$$=h.$$$||r.$,n=h),t(n,r),(r.soul||n.$$)&&y>=f(c.graph[d],g)&&((h=c.$.get(d)._).put=p(h.put,g,y,m,d)),!l.soul&&y>=f(c.graph[d],g)&&(i=(c.$.get(d)._.next||"")[g])&&(i.put=m,"string"==typeof(h=s(m))&&(i.put=c.$.get(h)._.put||m)),this.to&&this.to.next(n),r.any&&setTimeout.each(Object.keys(r.any),(function(e){(e=r.any[e])&&e(n)}),0,99),r.echo&&setTimeout.each(Object.keys(r.echo),(function(e){(e=r.echo[e])&&e.on("in",n)}),0,99),((n.$$||"")._||l).soul&&(i=r.next)&&(i=i[g])&&(h={},Object.keys(n).forEach((function(e){h[e]=n[e]})),h.$=(n.$$||n.$).get(h.get=g),delete h.$$,delete h.$$$,i.on("in",h)),e(n,r))},r.on.link=e,r.on.unlink=t;var o,a={},c=String.random,s=r.valid,u=function(e,t){return e&&Object.prototype.hasOwnProperty.call(e,t)},l=r.state,f=l.is,p=l.ify}))(i,"./chain"),i((function(){function e(e){var t=this.at||this.on;if(!e||t.soul||t.has)return this.off();if(e=(e=(e=e.$||e)._||e).id){var n;if((n=this.seen||(this.seen={}))[e])return!0;n[e]=!0}}var t=i("./root");t.chain.get=function(i,a,c){var s,u;if("string"==typeof i){if(0==i.length)return(s=this.chain())._.err={err:t.log("0 length key!",i)},a&&a.call(s,s._.err),s;(s=((f=this._).next||r)[i])||(s=i&&function(e,t){var n=t._,r=n.next,i=t.chain()._;return r||(r=n.next={}),r[i.get=e]=i,t===n.root.$?i.soul=e:(n.soul||n.has)&&(i.has=e),i}(i,this)),s=s&&s.$}else{if("function"==typeof i){var l=function e(r,i,o){if(!e.stun&&(!(a=d.pass)||a[p])){var a,c=r.$._,s=(r.$$||"")._,u=(s||c).put,l={};if((!c.has&&!c.soul||n===u)&&(u=n===((a=r.put)||"")["="]?n===(a||"")[":"]?a:a[":"]:a["="]),"string"==typeof(a=t.valid(u))&&(u=n===(a=d.$.get(a)._.put)?h.not?n:u:a),!h.not||n!==u){if(n===h.stun){if((a=d.stun)&&a.on&&(f.$.back((function(t){if(a.on(""+t.id,l={}),(l.run||0)<e.id)return l})),!l.run&&a.on(""+c.id,l={}),!l.run&&s&&a.on(""+s.id,l={}),e.id>l.run&&(l.stun&&!l.stun.end||(l.stun=a.on("stun"),l.stun=l.stun&&l.stun.last),l.stun&&!l.stun.end)))return void((l.stun.add||(l.stun.add={}))[p]=function(){e(r,i,1)});if(n===u&&(o=0),(a=d.hatch)&&!a.end&&n===h.hatch&&!o){if(g[c.$._.id])return;return g[c.$._.id]=1,void a.push((function(){e(r,i,1)}))}g={}}if(d.pass){if(d.pass[p+c.id])return;d.pass[p+c.id]=1}h.on?h.ok.call(c.$,u,c.get,r,i||e):h.v2020?h.ok(r,i||e):(Object.keys(r).forEach((function(e){a[e]=r[e]}),a={}),(r=a).put=u,h.ok.call(h.as,r,i||e))}}};if(!0===a)return function(e,r,i,o){var a,c=e._,s=0;(a=c.soul||c.link)?r(a,o,c):c.jam?c.jam.push([r,o]):(c.jam=[[r,o]],e.get((function(e,r){if(!(n===e.put&&!c.root.opt.super&&(a=Object.keys(c.root.opt.peers).length)&&++s<=a)){r.rid(e);var i,o=(o=e.$)&&o._||{},u=0;for(a=c.jam,delete c.jam;i=a[u++];){var l=i[0];i=i[1],l&&l(o.link||o.soul||t.valid(e.put)||((e.put||{})._||{})["#"],i,e,r)}}}),{out:{get:{".":!0}}}))}(this,i,0,c),this;var f,p,h=a||{},d=(f=(s=this)._).root;h.at=f,h.ok=i;var g={};return l.at=f,(f.any||(f.any={}))[p=String.random(7)]=l,l.off=function(){l.stun=1,f.any&&delete f.any[p]},l.rid=e,l.id=h.run||++d.once,u=d.pass,(d.pass={})[p]=1,h.out=h.out||{get:{}},f.on("out",h.out),d.pass=u,s}if("number"==typeof i)return this.get(""+i,a,c);if("string"==typeof(u=o(i)))return this.get(u,a,c);(u=this.get.next)&&(s=u(this,i))}return s?(a&&"function"==typeof a&&s.get(a,c),s):((s=this.chain())._.err={err:t.log("Invalid get request!",i)},a&&a.call(s,s._.err),s)};var n,r={},o=t.valid}))(i,"./get"),i((function(){function e(e,t){if(t){t=(t._||"").id||t;var r,i=e.root.stun||(e.root.stun={on:n.on}),o={};e.stun||(e.stun=i.on("stun",(function(){}))),(r=i.on(""+t))&&r.the.last.next(o),o.run>=e.run||i.on(""+t,(function(t){if(e.stun.end)return this.off(),void this.to.next(t);t.run=t.run||e.run,t.stun=t.stun||e.stun}))}}function t(e){if(e.err)t.end(e.stun,e.root);else if(!e.todo.length&&!e.end&&Object.empty(e.wait)){e.end=1;var r,i=e.$.back(-1)._,o=i.root,a=i.ask((function(t){o.on("ack",t),t.err&&!t.lack&&n.log(t),++c>(e.acks||0)&&this.off(),e.ack&&e.ack(t,this)}),e.opt),c=0,s=e.stun;(r=function(){s&&(t.end(s,o),setTimeout.each(Object.keys(s=s.add||""),(function(e){(e=s[e])&&e()})))}).hatch=r,e.ack&&!e.ok&&(e.ok=e.acks||9),e.via._.on("out",{put:e.out=e.graph,ok:e.ok&&{"@":e.ok+1},opt:e.opt,"#":a,_:r})}}var n=i("./root");n.chain.put=function(i,a,l){var f=this,p=f._,h=p.root;(l=l||{}).root=p.root,l.run||(l.run=h.once),e(l,p.id),l.ack=l.ack||a,l.via=l.via||f,l.data=l.data||i,l.soul||(l.soul=p.soul||"string"==typeof a&&a);var d=l.state=l.state||n.state();return"function"==typeof i?(i((function(e){l.data=e,f.put(o,o,l)})),f):l.soul?(l.$=h.$.get(l.soul),l.todo=[{it:l.data,ref:l.$}],l.turn=l.turn||c,l.ran=l.ran||t,function i(){var o,a,c,f,p,h=l.todo,g=h.pop(),m=g.it;if(e(l,g.ref),(f=g.todo)&&(m=m[a=f.pop()],f.length&&h.push(g)),a&&(h.path||(h.path=[])).push(a),!(o=s(m))&&!(p=n.is(m))){if(!Object.plain(m))return void t.err(l,"Invalid data: "+function(e,t){return e&&(t=e.constructor)&&t.name||r(e)}(m)+" at "+(l.via.back((function(e){e.get&&f.push(e.get)}),f=[])||f.join("."))+"."+(h.path||[]).join("."));for(var y=l.seen||(l.seen=[]),v=y.length;v--;)if(m===(f=y[v]).it){o=m=f.link;break}}if(a&&o)g.node=u(g.node,a,d,m);else{var b=function t(n,r){var i=c.link["#"];r&&(r.off(),r.rid(n));var o=i||n.soul||(f=(n.$$||n.$)._||"").soul||f.link||((f=f.put||"")._||"")["#"]||f["#"]||((f=n.put||"")&&n.$$?f["#"]:(f["="]||f[":"]||"")["#"]);!i&&e(l,n.$),o||g.link["#"]?(o||(o=[],(n.$$||n.$).back((function(e){if(f=e.soul||e.link)return o.push(f);o.push(e.get)})),o=o.reverse().join("/")),c.link["#"]=o,!p&&(((l.graph||(l.graph={}))[o]=c.node||(c.node={_:{}}))._["#"]=o),delete l.wait[_],c.wait&&setTimeout.each(c.wait,(function(e){e&&e()})),l.ran(l)):(g.wait||(g.wait=[])).push((function(){t(n,r)}))};if(!l.seen)return void t.err(l,"Data at root of graph must be a node (an object).");l.seen.push(c={it:m,link:{},todo:p?[]:Object.keys(m).sort().reverse(),path:(h.path||[]).slice(),up:g}),g.node=u(g.node,a,d,c.link),!p&&c.todo.length&&h.push(c);var _=l.seen.length;(l.wait||(l.wait={}))[_]="",f=(c.ref=p?m:a?g.ref.get(a):g.ref)._,(f=m&&(m._||"")["#"]||f.soul||f.link)?b({soul:f}):c.ref.get(b,{run:l.run,v2020:1,out:{get:{".":" "}}})}if(!h.length)return l.ran(l);l.turn(i)}(),f):(function(e){var t,n=e.via._;e.via=e.via.back((function(n){if(n.soul||!n.get)return n.$;t=e.data,(e.data={})[n.get]=t})),e.via&&e.via._.soul||(e.via=n.root.$.get(((e.data||"")._||"")["#"]||n.$.back("opt.uuid")())),e.via.put(e.data,e.ack,e)}(l),f)},t.end=function(e,t){e.end=a,e.the.to===e&&e===e.the.last&&delete t.stun,e.off()},t.err=function(e,t){(e.ack||a).call(e,e.out={err:e.err=n.log(t)}),e.ran(e)};var o,a=function(){},c=setTimeout.turn,s=n.valid,u=n.state.ify}))(i,"./put"),i((function(e){var t=i("./root");i("./chain"),i("./back"),i("./put"),i("./get"),e.exports=t}))(i,"./index"),i((function(){var e=i("./index");e.chain.on=function(e,t,n,r){var i,o=this,a=o._;if("string"==typeof e)return t?(i=a.on(e,t,n||a,r),n&&n.$&&(n.subs||(n.subs=[])).push(i),o):a.on(e);var c=t;return(c=!0===c?{change:!0}:c||{}).not=1,c.on=1,o.get(e,c),o},e.chain.once=function(n,r){if(r=r||{},!n)return function(t,n,r){return e.log.once("valonce","Chainable val is experimental, its behavior and API may change moving forward. Please play with it and report bugs and ideas on how to improve it."),(r=t.chain())._.nix=t.once((function(){r._.on("in",this._)})),r._.lex=t._.lex,r}(this);var i,o=this,a=o._,c=a.root,s=String.random(7);return o.get((function(o,u,l,f){function p(m){d.has||d.soul||(d={put:o,get:u}),t===(i=d.put)&&(i=((l.$$||"")._||"").put),"string"!=typeof e.valid(i)||(i=c.$.get(i)._.put)!==t||m?f.stun||""!==g[s]&&(g[s]="",(a.soul||a.has)&&f.off(),n.call(h,i,d.get),clearTimeout(g[s])):g[s]=setTimeout((function(){p(1)}),r.wait||99)}var h=this,d=h._,g=d.one||(d.one={});f.stun||""!==g[s]&&(!0!==(i=e.valid(o))?"string"!=typeof i&&(clearTimeout((a.one||"")[s]),clearTimeout(g[s]),g[s]=setTimeout(p,r.wait||99)):p())}),{on:1}),o},e.chain.off=function(){var e,t=this._,n=t.back;if(n)return t.ack=0,(e=n.next)&&e[t.get]&&delete e[t.get],(e=n.ask)&&delete e[t.get],(e=n.put)&&delete e[t.get],(e=t.soul)&&delete n.root.graph[e],(e=t.map)&&Object.keys(e).forEach((function(t,r){(r=e[t]).link&&n.root.$.get(r.link).off()})),(e=t.next)&&Object.keys(e).forEach((function(t){e[t].$.off()})),t.on("off",{}),this};var t}))(i,"./on"),i((function(){function e(e){this.to.next(e);var n,r=this.as;(e.$._.soul||e.$$)&&((n=r.lex)&&!String.match(e.get||(e.put||"")["."],n["."]||n["#"]||n)||t.on.link(e,r))}var t=i("./index"),n=t.chain.get.next;t.chain.get.next=function(e,t){var r;return Object.plain(t)?(r=((r=t["#"])||"")["="]||r)?e.get(r):((r=e.chain()._).lex=t,e.on("in",(function(e){String.match(e.get||(e.put||"")["."],t["."]||t["#"]||t)&&r.on("in",e),this.to.next(e)})),r.$):(n||o)(e,t)},t.chain.map=function(n){var i,a,c=this,s=c._;return Object.plain(n)&&(i=n["."]?n:{".":n},n=r),n?(t.log.once("mapfn","Map functions are experimental, their behavior and API may change moving forward. Please play with it and report bugs and ideas on how to improve it."),a=c.chain(),c.map().on((function(e,i,c,s){var u=(n||o).call(this,e,i,c,s);if(r!==u){if(e===u)return a._.on("in",c);if(t.is(u))return a._.on("in",u._);var l={};Object.keys(c.put).forEach((function(e){l[e]=c.put[e]}),l),l["="]=u,a._.on("in",{get:i,put:l})}})),a):((a=s.each)||((s.each=a=c.chain())._.lex=i||a._.lex||s.lex,a._.nix=c.back("nix"),c.on("in",e,a._)),a)};var r,o=function(){}}))(i,"./map"),i((function(){var e=i("./index");e.chain.set=function(t,n,r){var i,o,a=this,c=a.back(-1);return n=n||function(){},(r=r||{}).item=r.item||t,(i=((t||"")._||"")["#"])&&((t={})["#"]=i),"string"==typeof(o=e.valid(t))?a.get(i=o).put(t,n,r):e.is(t)?(a.put((function(r){t.get((function(t,i,c){if(!t)return n.call(a,{err:e.log('Only a node can be linked! Not "'+c.put+'"!')});(o={})[t]={"#":t},r(o)}),!0)})),t):(Object.plain(t)&&(t=c.get(i=a.back("opt.uuid")()).put(t)),a.get(i||c.back("opt.uuid")(7)).put(t,n,r))}}))(i,"./set"),i((function(e){i("./shim");var t=function(){},n=JSON.parseAsync||function(e,t,n){var i=+new Date;try{t(undefined,JSON.parse(e,n),r.sucks(+new Date-i))}catch(e){t(e)}},r=JSON.stringifyAsync||function(e,t,n,i){var o=+new Date;try{t(undefined,JSON.stringify(e,n,i),r.sucks(+new Date-o))}catch(e){t(e)}};r.sucks=function(e){e>99&&(console.log("Warning: JSON blocking CPU detected. Add `gun/lib/yson.js` to fix."),r.sucks=t)};var o;try{e.exports=function(e){function t(e){var t=e.batch,n="string"==typeof t;if(n&&(t+="]"),e.batch=e.tail=null,t&&!(n?3>t.length:!t.length)){if(!n)try{t=1===t.length?t[0]:JSON.stringify(t)}catch(e){return c.log("DAM JSON stringify error",e)}t&&i(t,e)}}function i(e,t){try{var n=t.wire;t.say?t.say(e):n.send&&n.send(e),a.say.d+=e.length||0,++a.say.c}catch(n){(t.queue=t.queue||[]).push(e)}}var a=function(){},c=e.opt||{};c.log=c.log||console.log,c.gap=c.gap||c.wait||0,c.max=c.max||.3*(c.memory?999*c.memory*999:3e8),c.pack=c.pack||.01*c.max*.01,c.puff=c.puff||9;var s=setTimeout.turn||setTimeout,u=e.dup,l=u.check,f=u.track,p=(new Date,a.hear=function(e,r){if(e){if(c.max<=e.length)return a.say({dam:"!",err:"Message too big!"},r);a===this&&(p.d+=e.length||0,++p.c);var i,o=r.SH=+new Date,u=e[0];return"["===u?(n(e,(function(e,n){if(e||!n)return a.say({dam:"!",err:"DAM JSON parse error."},r);console.STAT&&console.STAT(+new Date,n.length,"# on hear batch");var i=c.puff;!function e(){for(var o,c=+new Date,u=0;u<i&&(o=n[u++]);)a.hear(o,r);n=n.slice(u),console.STAT&&console.STAT(c,+new Date-c,"hear loop"),t(r),n.length&&s(e,0)}()})),void(e="")):"{"===u||(e["#"]||Object.plain(e))&&(i=e)?i?p.one(i,r,o):void n(e,(function(e,t){if(e||!t)return a.say({dam:"!",err:"DAM JSON parse error."},r);p.one(t,r,o)})):void 0}});p.one=function(t,n,r){var i,o,c,s,p;if(t.DBG&&(t.DBG=p={DBG:t.DBG}),p&&(p.h=r),p&&(p.hp=+new Date),(i=t["#"])||(i=t["#"]=String.random(9)),!((c=l(i))||(o=t["##"])&&(c=t["@"]||t.get&&i)&&u.check(s=c+o))){if((t._=function(){}).via=a.leap=n,(c=t["><"])&&"string"==typeof c&&c.slice(0,99).split(",").forEach((function(e){this[e]=1}),t._.yo={}),c=t.dam)return(c=a.hear[c])&&c(t,n,e),void f(i);(c=t.ok)&&(t._.near=c["/"]),r=+new Date,p&&(p.is=r),n.SI=i,e.on("in",a.last=t),p&&(p.hd=+new Date),console.STAT&&console.STAT(r,+new Date-r,t.get?"msg get":t.put?"msg put":"msg"),(c=f(i)).via=n,t.get&&(c.it=t),s&&f(s),a.leap=a.last=null}},p.c=p.d=0,function(){function e(e,t){var r;return t instanceof Object?(Object.keys(t).sort().forEach(n,{to:r={},on:t}),r):t}function n(e){this.to[e]=this.on[e]}var p,h=0;a.hash=function(t,n){var i,o,c,u=+new Date;r(t.put,(function e(r,l){var f=(o||(o=c=l||"")).slice(0,32768);i=String.hash(f,i),(o=o.slice(32768))?s(e,0):(console.STAT&&console.STAT(u,+new Date-u,"say json+hash"),t._.$put=c,t["##"]=i,a.say(t,n),delete t._.$put)}),e)},a.say=function(e,n){var r;if((r=this)&&(r=r.to)&&r.next&&r.next(e),!e)return!1;var l,d,g=e["@"],m=e._||(e._=function(){}),y=e.DBG,v=+new Date;if(m.y=m.y||v,n||y&&(y.y=v),(l=e["#"])||(l=e["#"]=String.random(9)),!p&&f(l),e["##"]||o===e.put||m.via||!g){if(!n&&g&&(n=(r=u.s[g])&&(r.via||(r=r.it)&&(r=r._)&&r.via)||(r=a.last)&&g===r["#"]&&a.leap),!n&&g){if(u.s[g])return;return console.STAT&&console.STAT(+new Date,++h,"total no peer to ack to"),!1}if(!n&&a.way)return a.way(e);if(y&&(y.yh=+new Date),d=m.raw){if(y&&(y.yr=+new Date),!n||!n.id){if(!Object.plain(n||c.peers))return!1;v=+new Date;var b=c.peers,_=Object.keys(n||c.peers||{});return console.STAT&&console.STAT(v,+new Date-v,"peer keys"),void function t(){var n=+new Date;p=1;var r=m.raw;m.raw=d;for(var i,o=0;o<9&&(i=(_||"")[o++]);)(i=b[i])&&a.say(e,i);m.raw=r,p=0,_=_.slice(o),console.STAT&&console.STAT(n,+new Date-n,"say loop"),_.length&&(s(t,0),g&&f(g))}()}if(!n.wire&&a.wire&&a.wire(n),l!==n.last){if(n.last=l,n===m.via)return!1;if((r=m.yo)&&(r[n.url]||r[n.pid]||r[n.id]))return!1;if(console.STAT&&console.STAT(v,((y||m).yp=+new Date)-(m.y||v),"say prep"),!p&&g&&f(g),n.batch){if(n.tail=(r=n.tail||0)+d.length,n.tail<=c.pack)return void(n.batch+=(r?",":"")+d);t(n)}n.batch="[";var w=+new Date;setTimeout((function(){console.STAT&&console.STAT(w,+new Date-w,"0ms TO"),t(n)}),c.gap),i(d,n),console.STAT&&g===n.SI&&console.STAT(v,+new Date-n.SH,"say ack")}}else a.raw(e,n)}else a.hash(e,n)},a.say.c=a.say.d=0,a.raw=function(e,t){function n(n,r){n||(f.raw=r,a.say(e,t))}if(!e)return"";var i,s,f=e._||{};if(s=f.raw)return s;if("string"==typeof e)return e;var p=e["##"],h=e["@"];if(p&&h){if(!f.via&&l(h+p))return!1;if((s=(u.s[h]||"").it)||(s=a.last)&&h===s["#"]){if(p===s["##"])return!1;s["##"]||(s["##"]=p)}}if(!e.dam&&!e["@"]){var d=0,g=[];for(var m in s=c.peers){var y=s[m];if(g.push(y.url||y.pid||y.id),++d>6)break}d>1&&(e["><"]=g.join())}if(e.put&&(s=e.ok)&&(e.ok={"@":(s["@"]||1)-1,"/":s["/"]==e._.near?a.near:s["/"]}),i=f.$put)return s={},Object.keys(e).forEach((function(t){s[t]=e[t]})),s.put=":])([:",void r(s,(function(e,t){if(!e){var r=+new Date;s=t.indexOf('"put":":])([:"'),n(o,t=t.slice(0,s+6)+i+t.slice(s+14)),console.STAT&&console.STAT(r,+new Date-r,"say slice")}}));r(e,n)}}(),a.near=0,a.hi=function(t){var n;t.wire?(t.id?c.peers[t.url||t.id]=t:(n=t.id=t.id||String.random(9),a.say({dam:"?",pid:e.opt.pid},c.peers[n]=t),delete u.s[t.last]),t.met||(a.near++,t.met=+new Date,e.on("hi",t)),n=t.queue,t.queue=[],setTimeout.each(n||[],(function(e){i(e,t)}),0,9)):a.wire(t.length&&{url:t,id:t}||t)},a.bye=function(t){t.met&&--a.near,delete t.met,e.on("bye",t);var n=+new Date;n-=t.met||n,a.bye.time=((a.bye.time||n)+n)/2},a.hear["!"]=function(e){c.log("Error:",e.err)},a.hear["?"]=function(e,t){e.pid&&(t.pid||(t.pid=e.pid),e["@"])||(a.say({dam:"?",pid:c.pid,"@":e["#"]},t),delete u.s[t.last])},a.hear.mob=function(e,t){if(e.peers){var n=Object.keys(e.peers),r=n[Math.floor(Math.random()*n.length)];r&&(a.bye(t),a.hi(r))}},e.on("create",(function(e){e.opt.pid=e.opt.pid||String.random(9),this.to.next(e),e.on("out",a.say)})),e.on("bye",(function(e,t){this.to.next(e=c.peers[e.id||e]||e),e.bye?e.bye():(t=e.wire)&&t.close&&t.close(),delete c.peers[e.id],e.wire=null}));var h={};return e.on("bye",(function(e,t){this.to.next(e),(t=console.STAT)&&(t.peers=a.near),(t=e.url)&&(h[t]=!0,setTimeout((function(){delete h[t]}),c.lack||9e3))})),e.on("hi",(function(t,n){this.to.next(t),(n=console.STAT)&&(n.peers=a.near),(n=t.url)&&h[n]&&(delete h[n],c.super||setTimeout.each(Object.keys(e.next),(function(r){(n={})[r]=e.graph[r],n=String.hash(n),a.say({"##":n,get:{"#":r}},t)})))})),a}}catch(e){}}))(i,"./mesh"),i((function(){var e=i("./index");e.Mesh=i("./mesh"),e.on("opt",(function(t){function n(e){try{if(!e||!e.url)return n&&n(e);var t=e.url.replace(/^http/,"ws"),n=e.wire=new o.WebSocket(t);return n.onclose=function(){o.mesh.bye(e),i(e)},n.onerror=function(){i(e)},n.onopen=function(){o.mesh.hi(e)},n.onmessage=function(t){t&&o.mesh.hear(t.data||t,e)},n}catch(e){}}function i(e){clearTimeout(e.defer),o.peers[e.url]&&(l&&e.retry<=0||(e.retry=(e.retry||o.retry+1||60)-(-e.tried+(e.tried=+new Date)<7992?1:0),e.defer=setTimeout((function t(){if(l&&l.hidden)return setTimeout(t,u);n(e)}),u)))}if(this.to.next(t),!t.once){var o=t.opt;if(!1!==o.WebSocket){var a=e.window||{},c=o.WebSocket||a.WebSocket||a.webkitWebSocket||a.mozWebSocket;if(c){o.WebSocket=c;var s=o.mesh=o.mesh||e.Mesh(t);s.wire=o.wire=n,setTimeout((function(){!o.super&&t.on("out",{dam:"hi"})}),1);var u=1998,l=""+undefined!==("undefined"==typeof document?"undefined":r(document))&&document}}}}))}))(i,"./websocket"),i((function(){if("undefined"!=typeof Gun){var e;try{e=(Gun.window||function(){}).localStorage}catch(e){}e||(Gun.log("Warning: No localStorage exists to persist data to!"),e={setItem:function(e,t){this[e]=t},removeItem:function(e){delete this[e]},getItem:function(e){return this[e]}});JSON;var t=JSON.stringifyAsync||function(e,t,n,r){try{t(undefined,JSON.stringify(e,n,r))}catch(e){t(e)}};Gun.on("create",(function n(r){function i(){if(l.length||!((setTimeout.turn||"").s||"").length){var n=l;clearTimeout(a),a=!1,l=[],t(o,(function(t,i){try{!t&&e.setItem(u.prefix,i)}catch(e){t=s=e||"localStorage failure"}t&&(Gun.log(t+" Consider using GUN's IndexedDB plugin for RAD for more storage space, https://gun.eco/docs/RAD#install"),r.on("localStorage:error",{err:t,get:u.prefix,put:o})),c=i.length,setTimeout.each(n,(function(e){r.on("in",{"@":e,err:t,ok:0})}),0,99)}))}else setTimeout(i,99)}this.to.next(r);var o,a,c,s,u=r.opt,l=[];if(!1!==u.localStorage){u.prefix=u.file||"gun/";try{o=n[u.prefix]=n[u.prefix]||JSON.parse(c=e.getItem(u.prefix))||{}}catch(e){o=n[u.prefix]={}}c=(c||"").length,r.on("get",(function(e){this.to.next(e);var t,n,r,i=e.get;i&&(t=i["#"])&&((n=o[t]||undefined)&&(r=i["."])&&!Object.plain(r)&&(n=Gun.state.ify({},r,Gun.state.is(n,r),n[r],t)),Gun.on.get.ack(e,n))})),r.on("put",(function(e){this.to.next(e);var t=e.put,n=t["#"],u=e["#"],f=e.ok||"";o[n]=Gun.state.ify(o[n],t["."],t[">"],t[":"],n),s&&c>4999880?r.on("in",{"@":u,err:"localStorage max!"}):(e["@"]||e._.via&&!(Math.random()<f["@"]/f["/"])||l.push(u),a||(a=setTimeout(i,9+c/333)))}))}}))}}))(i,"./localStorage")}(),function(){if(""+k!=("undefined"==typeof Gun?"undefined":r(Gun))){var e=function(e){console.warn("Warning! Deprecated internal utility will break in next version:",e)},t=Gun;t.fn=t.fn||{is:function(t){return e("fn"),!!t&&"function"==typeof t}},t.bi=t.bi||{is:function(t){return e("bi"),t instanceof Boolean||"boolean"==typeof t}},t.num=t.num||{is:function(t){return e("num"),!i(t)&&(t-parseFloat(t)+1>=0||1/0===t||-1/0===t)}},t.text=t.text||{is:function(t){return e("text"),"string"==typeof t}},t.text.ify=t.text.ify||function(n){return e("text.ify"),t.text.is(n)?n:"undefined"!=typeof JSON?JSON.stringify(n):n&&n.toString?n.toString():n},t.text.random=t.text.random||function(t,n){e("text.random");var r="";for(t=t||24,n=n||"0123456789ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghijklmnopqrstuvwxyz";t>0;)r+=n.charAt(Math.floor(Math.random()*n.length)),t--;return r},t.text.match=t.text.match||function(t,n){var r,i;return e("text.match"),"string"==typeof t&&("string"==typeof n&&(n={"=":n}),t===(r=(n=n||{})["="]||n["*"]||n[">"]||n["<"])||i===n["="]&&(t.slice(0,((r=n["*"]||n[">"]||n["<"])||"").length)===r||i===n["*"]&&(i!==n[">"]&&i!==n["<"]?t>=n[">"]&&t<=n["<"]:i!==n[">"]&&t>=n[">"]||i!==n["<"]&&t<=n["<"])))},t.text.hash=t.text.hash||function(t,n){if(e("text.hash"),"string"==typeof t){if(n=n||0,!t.length)return n;for(var r=0,i=t.length;r<i;++r)n=(n<<5)-n+t.charCodeAt(r),n|=0;return n}},t.list=t.list||{is:function(t){return e("list"),t instanceof Array}},t.list.slit=t.list.slit||Array.prototype.slice,t.list.sort=t.list.sort||function(t){return e("list.sort"),function(e,n){return e&&n?(e=e[t])<(n=n[t])?-1:e>n?1:0:0}},t.list.map=t.list.map||function(t,n,r){return e("list.map"),c(t,n,r)},t.list.index=1,t.obj=t.boj||{is:function(t){return e("obj"),!!t&&(t instanceof Object&&t.constructor===Object||"Object"===Object.prototype.toString.call(t).match(/^\[object (\w+)\]$/)[1])}},t.obj.put=t.obj.put||function(t,n,r){return e("obj.put"),(t||{})[n]=r,t},t.obj.has=t.obj.has||function(t,n){return e("obj.has"),t&&Object.prototype.hasOwnProperty.call(t,n)},t.obj.del=t.obj.del||function(t,n){if(e("obj.del"),t)return t[n]=null,delete t[n],t},t.obj.as=t.obj.as||function(t,n,r,i){return e("obj.as"),t[n]=t[n]||(i===r?{}:r)},t.obj.ify=t.obj.ify||function(t){if(e("obj.ify"),o(t))return t;try{t=JSON.parse(t)}catch(e){t={}}return t},function(){function n(e,t){a(this,t)&&undefined!==this[t]||(this[t]=e)}t.obj.to=t.obj.to||function(t,r){return e("obj.to"),c(t,n,r=r||{}),r}}(),t.obj.copy=t.obj.copy||function(t){return e("obj.copy"),t?JSON.parse(JSON.stringify(t)):t},function(){function n(e,t){var n=this.n;if(!n||!(t===n||o(n)&&a(n,t)))return undefined!==t||void 0}t.obj.empty=t.obj.empty||function(t,r){return e("obj.empty"),!t||!c(t,n,{n:r})}}(),function(){function n(e,t){2!==arguments.length?(n.r=n.r||[]).push(e):(n.r=n.r||{})[e]=t}var r,c=Object.keys;Object.keys=Object.keys||function(e){return r(e,(function(e,t,n){n(t)}))},t.obj.map=r=t.obj.map||function(r,s,u){e("obj.map");var l,f,p,h,d,g=0,m="function"==typeof s;if(n.r=l,c&&o(r)&&(h=c(r),d=!0),u=u||{},i(r)||h)for(f=(h||r).length;g<f;g++){var y=g+t.list.index;if(m){if((p=d?s.call(u,r[h[g]],h[g],n):s.call(u,r[g],y,n))!==l)return p}else if(s===r[d?h[g]:g])return h?h[g]:y}else for(g in r)if(m){if(a(r,g)&&(p=u?s.call(u,r[g],g,n):s(r[g],g,n))!==l)return p}else if(s===r[g])return g;return m?n.r:t.list.index?0:-1}}(),t.time=t.time||{},t.time.is=t.time.is||function(t){return e("time"),t?t instanceof Date:+(new Date).getTime()};var n=t.fn.is,i=t.list.is,o=(F=t.obj).is,a=F.has,c=F.map,s={is:function(t){return e("val.is"),t!==k&&(null===t||t!==1/0&&(!!(p(t)||l(t)||f(t))||(s.link.is(t)||!1)))}};s.link=s.rel={_:"#"},function(){function t(e,t){var n=this;return n.id?n.id=!1:t==u&&p(e)?void(n.id=e):n.id=!1}s.link.is=function(n){if(e("val.link.is"),n&&n[u]&&!n._&&o(n)){var r={};if(c(n,t,r),r.id)return r.id}return!1}}(),s.link.ify=function(t){return e("val.link.ify"),h({},u,t)},t.obj.has._=".";var u=s.link._,l=t.bi.is,f=t.num.is,p=t.text.is,h=(o=(F=t.obj).is,F.put);c=F.map;t.val=t.val||s;var d={_:"_",soul:function(t,n){return e("node.soul"),t&&t._&&t._[n||y]}};d.soul.ify=function(t,n){return e("node.soul.ify"),n="string"==typeof n?{soul:n}:n||{},(t=t||{})._=t._||{},t._[y]=n.soul||t._[y]||m(),t},d.soul._=s.link._,function(){function t(e,t){if(t!==d._)return!s.is(e)||void(this.cb&&this.cb.call(this.as,e,t,this.n,this.s))}d.is=function(n,r,i){var a;return e("node.is"),!!o(n)&&(!!(a=d.soul(n))&&!c(n,t,{as:i,cb:r,s:a,n:n}))}}(),function(){function t(e,t){var n,r=this.o;r.map?undefined===(n=r.map.call(this.as,e,""+t,r.node))?g(r.node,t):r.node&&(r.node[t]=n):s.is(e)&&(r.node[t]=e)}d.ify=function(n,r,i){return e("node.ify"),r?"string"==typeof r?r={soul:r}:"function"==typeof r&&(r={map:r}):r={},r.map&&(r.node=r.map.call(i,n,k,r.node||{})),(r.node=d.soul.ify(r.node||{},r))&&c(n,t,{o:r,as:i}),r.node}}();o=(F=t.obj).is;var g=F.del,m=(c=F.map,t.text.random),y=d.soul._;t.node=t.node||d;var v=t.state;v.lex=function(){return e("state.lex"),v().toString(36).replace(".","")},v.to=function(t,n,r){e("state.to");var i=(t||{})[n];return o(i)&&(i=b(i)),v.ify(r,n,v.is(t,n),i,d.soul(t))},function(){function t(e,t){_!==t&&v.ify(this.o,t,this.s)}v.map=function(r,i,s){var u;e("state.map");var l=o(l=r||i)?l:null;return r=n(r=r||i)?r:null,l&&!r?(i=f(i)?i:v(),l[_]=l[_]||{},c(l,t,{o:l,s:i}),l):(s=s||o(i)?i:u,i=f(i)?i:v(),function(e,n,o,c){if(!r)return t.call({o:o,s:i},e,n),e;r.call(s||this||{},e,n,o,c),a(o,n)&&u===o[n]||t.call({o:o,s:i},e,n)})}}();F=t.obj,a=F.has,o=F.is,c=F.map;var b=F.copy,_=(f=t.num.is,n=t.fn.is,d._),w={};!function(){function t(e,t){if(!e||t!==d.soul(e)||!d.is(e,this.fn,this.as))return!0;this.cb&&(n.n=e,this.cb.call(n.as=this.as,e,t,n))}function n(e){e&&d.is(n.n,e,n.as)}w.is=function(n,r,i,a){return e("graph.is"),!(!n||!o(n)||x(n))&&!c(n,t,{cb:r,fn:i,as:a})}}(),function(){function n(e,t){var n;return(n=function(e,t){var n,r=e.seen,i=r.length;for(;i--;)if(t.obj===(n=r[i]).obj)return n;r.push(t)}(e,t))?n:(t.env=e,t.soul=i,d.ify(t.obj,r,t)&&(t.link=t.link||s.link.ify(d.soul(t.node)),t.obj!==e.shell&&(e.graph[s.link.is(t.link)]=t.node)),t)}function r(e,t,r){var i,o,u=this,l=u.env;if(d._===t&&a(e,s.link._))return r._;if(i=c(e,t,r,u,l)){if(t||(u.node=u.node||r||{},a(e,d._)&&d.soul(e)&&(u.node._=b(e._)),u.node=d.soul.ify(u.node,s.link.is(u.link)),u.link=u.link||s.link.ify(d.soul(u.node))),(o=l.map)&&(o.call(l.as||{},e,t,r,u),a(r,t))){if(k===(e=r[t]))return void g(r,t);if(!(i=c(e,t,r,u,l)))return}if(!t)return u.node;if(!0===i)return e;if((o=n(l,{obj:e,path:u.path.concat(t)})).node)return o.link}}function i(e){var t=this,n=s.link.is(t.link),r=t.env.graph;t.link=t.link||s.link.ify(e),t.link[s.link._]=e,t.node&&t.node[d._]&&(t.node[d._][s.link._]=e),a(r,n)&&(r[e]=r[n],g(r,n))}function c(e,n,r,i,a){var u;return!!s.is(e)||(o(e)?1:(u=a.invalid)?c(e=u.call(a.as||{},e,n,r),n,r,i,a):(a.err="Invalid value at '"+i.path.concat(n).join(".")+"'!",void(t.list.is(e)&&(a.err+=" Use `.set(item)` instead of an Array."))))}w.ify=function(t,r,i){e("graph.ify");var o={path:[],obj:t};return r?"string"==typeof r?r={soul:r}:"function"==typeof r&&(r.map=r):r={},"string"==typeof i&&(r.soul=r.soul||i,i=k),r.soul&&(o.link=s.link.ify(r.soul)),r.shell=(i||{}).shell,r.graph=r.graph||{},r.seen=r.seen||[],r.as=r.as||i,n(r,o),r.root=o.node,r.graph}}(),w.node=function(t){e("graph.node");var n=d.soul(t);if(n)return h({},n,t)},function(){function t(e,t){var n,r;if(d._!==t)this.obj[t]=(n=s.link.is(e))?(r=this.opt.seen[n])?r:this.opt.seen[n]=w.to(this.graph,n,this.opt):e;else{if(x(e,s.link._))return;this.obj[t]=b(e)}}w.to=function(n,r,i){if(e("graph.to"),n){var o={};return c(n[r],t,{obj:o,graph:n,opt:i=i||{seen:{}}}),o}}}();n=t.fn.is,o=(F=t.obj).is,g=F.del,a=F.has;var F,k,x=F.empty;h=F.put,c=F.map,b=F.copy;t.graph=t.graph||w}}()}).call(this,n("RoC8")(e),n("oPUo").setImmediate)},"0F+k":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(){return a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=c(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},a.apply(this,arguments)}function c(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var h,d,g,m,y,v,b,_,w,F,k,x,C,O,S=n("5OaP"),j=n("aKPg"),E=n("4Iz4"),A=n("3rgF"),D=n("lBHI"),T=n("jMw0"),P=n("Y3FI"),B=n("kv13"),R=n("dgEB"),I=n("xVeL"),M=n("o5ls"),L=n("ox/y"),N=n("ARkJ"),z=n("qIEf"),U=n.n(z),H=n("9va6"),q=n.n(H);t.a=function(e){function t(){var e;return(e=l.call(this)).state={latest:{},topicPeerCount:0},e.chatId=null,e.escFunction=e.escFunction.bind(f(e)),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(t,e);var n,r,c,l=u(t);return n=t,(r=[{key:"escFunction",value:function(e){27===e.keyCode&&this.state.showMobileSearch&&this.setState({showMobileSearch:!1})}},{key:"getOnlineStatusText",value:function(){var e=T.a.channels[this.chatId],t=e&&e.activity;if(t){if(t.isActive)return Object(A.c)("online");if(t.lastActive){var n=new Date(t.lastActive),r=Object(A.c)(M.a.util.getDaySeparatorText(n,n.toLocaleDateString({dateStyle:"short"})));return r=r===Object(A.c)("today")?M.a.util.formatTime(n):M.a.util.formatDate(n),"".concat(Object(A.c)("last_active")," ").concat(r)}}}},{key:"backButtonClicked",value:function(){Object(P.route)("/chat")}},{key:"componentWillUnmount",value:function(){a(p(t.prototype),"componentWillUnmount",this).call(this),clearInterval(this.iv),document.removeEventListener("keydown",this.escFunction,!1)}},{key:"componentDidMount",value:function(){var e=this;document.addEventListener("keydown",this.escFunction,!1),D.a.local.get("showParticipants").on(this.inject()),D.a.local.get("unseenMsgsTotal").on(this.inject()),D.a.local.get("unseenNotificationCount").on(this.inject()),D.a.local.get("activeRoute").on(this.sub((function(t){e.setState({about:null,title:"",activeRoute:t,showMobileSearch:!1});var n=t.replace("/chat/new","").replace("/chat/","");if(e.chatId=n.length<t.length?n:null,e.chatId&&(D.a.local.get("channels").get(e.chatId).get("isTyping").on(e.inject()),D.a.local.get("channels").get(e.chatId).get("theirLastActiveTime").on(e.inject())),0===t.indexOf("/chat/")&&0!==t.indexOf("/chat/new"))if(0===t.indexOf("/chat/")&&T.a.getKey()&&e.chatId===T.a.getKey().pub){var r=Object(E.a)(h||(h=i(['<b style="margin-right:5px">📝</b> <b>',"</b>"])),Object(A.c)("note_to_self"));e.setState({title:r})}else 0===t.indexOf("/chat/hashtag/")?e.setState({title:"#".concat(t.replace("/chat/hashtag/","")),about:"Public"}):(D.a.local.get("channels").get(e.chatId).get("name").on(e.inject("title")),D.a.local.get("channels").get(e.chatId).get("about").on(e.inject()))}))),this.updatePeersFromGun(),this.iv=setInterval((function(){return e.updatePeersFromGun()}),1e3)}},{key:"onTitleClicked",value:function(){if(this.chatId&&-1===this.chatId.indexOf("hashtag")){var e=this.chatId.length<40?"/group/":"/profile/";Object(P.route)(e+this.chatId)}}},{key:"onLogoClick",value:function(e){e.preventDefault(),e.stopPropagation(),U()("a.logo").blur(),U()(window).width()>625&&Object(P.route)("/"),D.a.local.get("toggleMenu").put(!0)}},{key:"updatePeersFromGun",value:function(){var e=D.a.public.back("opt.peers")||{},t=q.a.filter(Object.values(e),(function(e){return e&&e.wire&&"WebSocket"!==e.wire.constructor.name&&console.log("WebRTC peer",e),e&&e.wire&&1===e.wire.readyState&&0===e.wire.bufferedAmount&&"WebSocket"===e.wire.constructor.name}));this.setState({connectedPeers:t})}},{key:"render",value:function(){var e=this,t=T.a.getPubKey();if(t){var n=this.state.activeRoute,r=T.a.channels[this.chatId],o=r&&r.isTyping,a=!(r&&r.uuid)&&n&&n.length>20&&!o&&this.getOnlineStatusText(),c=this.chatId?"":Object(E.a)(d||(d=i(["\n        <"," onSelect="," focus=","/>\n    "])),R.a,(function(e){return Object(P.route)("/profile/".concat(e.key))}),!!this.state.showMobileSearch),s=n&&0===n.indexOf("/chat/"),u=(this.state.connectedPeers?this.state.connectedPeers.length:0)+this.state.topicPeerCount;return Object(E.a)(g||(g=i(['\n    <header class="nav header">\n      ','\n      <div class="header-content">\n        <div class=',">\n          ","\n        </div>\n        ",'\n        <a href="/settings" class="connected-peers tooltip '," ",'">\n          <span class="tooltiptext">','</span>\n          <small>\n            <span class="icon">',"</span>\n            <span>",'</span>\n          </small>\n        </a>\n        <div class="text" style='," onClick=",">\n          ","\n          ","\n          ","\n          ","\n          ","\n        </div>\n\n        ","\n        ","\n        <",' activeClassName="active"\n             href="/notifications"\n             class="notifications-button ','">\n          ',"\n          ","\n        <//>\n        <",' activeClassName="active" href="/profile/','" onClick=',' class="hidden-xs my-profile">\n          <'," str="," width=34 />\n        <//>\n      </div>\n    </header>"])),n&&0===n.indexOf("/chat/")?Object(E.a)(m||(m=i(['\n      <div id="back-button" class="visible-xs-inline-block" onClick=',">\n        ‹\n      </div>\n      "])),(function(){return e.backButtonClicked()})):"",this.state.showMobileSearch?"hidden-xs":"",j.a.isElectron||s?"":Object(E.a)(y||(y=i(['\n            <a href="/" onClick=',' tabindex="0" class="visible-xs-flex logo">\n              <div class="mobile-menu-icon">',"</div>\n              <img src=",' style="margin-right: 10px" width=30 height=30/>\n            </a>\n          '])),(function(t){return e.onLogoClick(t)}),I.a.menu,N.a),s?"":Object(E.a)(v||(v=i(["\n          <a class=",' href="" onClick=','>\n            <span class="visible-xs-inline-block">',"</span>\n          </a>\n        "])),this.state.showMobileSearch?"":"hidden-xs",(function(t){t.preventDefault(),e.setState({showMobileSearch:!1})}),I.a.backArrow),this.state.showMobileSearch?"hidden-xs":"",u?"connected":"",Object(A.c)("connected_peers"),I.a.network,u,this.chatId?"cursor:pointer;text-align:center":"",(function(){return e.onTitleClicked()}),this.state.title&&s?Object(E.a)(b||(b=i(['\n            <div class="name">\n              ',"\n            </div>\n          "])),this.state.title):"",o?Object(E.a)(_||(_=i(['<small class="typing-indicator">',"</small>"])),Object(A.c)("typing")):"",this.state.about?Object(E.a)(w||(w=i(['<small class="participants">',"</small>"])),this.state.about):"",this.chatId?Object(E.a)(F||(F=i(['<small class="last-seen">',"</small>"])),a||""):"",s?"":Object(E.a)(k||(k=i(["\n            <div class=",">\n              ",'\n            </div>\n            <div class="mobile-search-btn ','" onClick=',">\n              ","\n            </div>\n          "])),this.state.showMobileSearch?"":"hidden-xs",c,this.state.showMobileSearch?"hidden":"visible-xs-inline-block",(function(){e.setState({showMobileSearch:!0})}),I.a.search),r&&this.chatId!==t&&!r.uuid?Object(E.a)(x||(x=i(['\n          <a class="tooltip" style="width:24px; height:24px; color: var(--msg-form-button-color)" id="start-video-call" onClick=','>\n            <span class="tooltiptext">',"</span>\n            ",'\n          </a>\n          \x3c!-- <a id="start-voice-call" style="width:20px; height:20px; margin-right: 20px">\n            Icons.voiceCall\n            </a> --\x3e\n        '])),(function(){return D.a.local.get("outgoingCall").put(e.chatId)}),Object(A.c)("video_call"),I.a.videoCall):"",this.chatId&&this.chatId.length>10&&this.chatId.length<40?Object(E.a)(C||(C=i(['\n          <a class="tooltip hidden-xs" onClick=','>\n            <span class="tooltiptext">',"</span>\n            ","\n          </a>\n        "])),(function(){return D.a.local.get("showParticipants").put(!e.state.showParticipants)}),Object(A.c)("participant_list"),I.a.group):"",L.Link,this.state.showMobileSearch?"hidden":"",I.a.heartEmpty,this.state.unseenNotificationCount?Object(E.a)(O||(O=i(['\n            <span class="unseen">',"</span>\n          "])),this.state.unseenNotificationCount):"",L.Link,t,(function(){return D.a.local.get("scrollUp").put(!0)}),B.a,t)}}}])&&o(n.prototype,r),c&&o(n,c),Object.defineProperty(n,"prototype",{writable:!1}),t}(S.a)},"0hLH":function(e,t,n){!function(){function t(e){(e=e||{}).file=String(e.file||"radata");var n=t[e.file],r=null;if(n)return console.log("Warning: reusing same IndexedDB store and options as 1st."),t[e.file];n=t[e.file]=function(){};try{e.indexedDB=e.indexedDB||t.indexedDB||indexedDB}catch(e){}try{if(!e.indexedDB||"file:"==location.protocol){var i=n.d||(n.d={});return n.put=function(e,t,n){i[e]=t,setTimeout((function(){n(null,1)}),250)},n.get=function(e,t){setTimeout((function(){t(null,i[e]||undefined)}),5)},console.log("Warning: No indexedDB exists to persist data to!"),n}}catch(e){}return n.start=function(){var t=indexedDB.open(e.file,1);t.onupgradeneeded=function(t){t.target.result.createObjectStore(e.file)},t.onsuccess=function(){r=t.result},t.onerror=function(e){console.log(e||1)}},n.start(),n.put=function(t,i,o){if(r){var a=r.transaction([e.file],"readwrite"),c=a.objectStore(e.file),s=c.put(i,""+t);s.onsuccess=c.onsuccess=a.onsuccess=function(){o(null,1)},s.onabort=c.onabort=a.onabort=function(e){o(e||"put.tx.abort")},s.onerror=c.onerror=a.onerror=function(e){o(e||"put.tx.error")}}else setTimeout((function(){n.put(t,i,o)}),1)},n.get=function(t,i){if(r){var o=r.transaction([e.file],"readonly").objectStore(e.file).get(""+t);o.onsuccess=function(){i(null,o.result)},o.onabort=function(e){i(e||4)},o.onerror=function(e){i(e||5)}}else setTimeout((function(){n.get(t,i)}),9)},setInterval((function(){r&&r.close(),r=null,n.start()}),15e3),n}if("undefined"!=typeof window)(t.window=window).RindexedDB=t,t.indexedDB=window.indexedDB;else try{e.exports=t}catch(e){}try{(t.window.Gun||n("07iF")).on("create",(function(e){this.to.next(e),e.opt.store=e.opt.store||t(e.opt)}))}catch(e){}}()},"1mhe":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function o(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f,p,h,d=n("hosL"),g=n("aKPg"),m=n("4Iz4"),y=n("lBHI"),v=n("xVeL"),b=n("qIEf"),_=n.n(b),w=function(e){return function(e,t){return-1!==t.indexOf(e.name.slice(-4))}(e,[".jpg","jpeg",".gif",".png"])},F=function(e){function t(){return b.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e);var n,r,u,l,d,b=s(t);return n=t,r=[{key:"componentDidMount",value:function(){var e=this;y.a.local.get("player").on((function(t){var n=t&&t.torrentId,r=t&&t.filePath;n!==e.torrentId?(e.filePath=r,e.torrentId=n,e.setState({torrentId:n,isOpen:!!t,splitPath:r&&r.split("/")}),n&&e.startTorrenting()):r&&r!==e.filePath&&(e.filePath=r,e.setState({splitPath:r&&r.split("/")}),e.openFile())})),y.a.local.get("player").get("paused").on((function(t){return e.setPaused(t)}))}},{key:"setPaused",value:function(e){var t=_()(this.base).find("audio").get(0);t&&(e?t.pause():t.play())}},{key:"onTorrent",value:function(e){this.torrent=e;var t=e.files.find((function(e){return w(e)})),n=e.files.find((function(e){return w(e)&&(e.name.indexOf("cover")>-1||e.name.indexOf("poster")>-1)}));n=n||t;var r=_()(this.base).find(".cover");r.empty(),n&&n.appendTo(r.get(0)),this.setState({isOpen:!0}),this.openFile()}},{key:"openFile",value:function(){var e=this;if(this.torrent){var t=this.torrent.files.find((function(t){return t.path===e.filePath})),n=_()(this.base).find(".player");n.empty(),t&&t.appendTo(n.get(0),{autoplay:!0,muted:!1});var r=n.find("audio").get(0);r&&(r.onpause=r.onplay=function(e){y.a.local.get("player").get("paused").put(!!e.target.paused)})}}},{key:"startTorrenting",value:(l=function*(){var e=this,t=yield g.a.getWebTorrentClient(),n=t.get(this.torrentId);n?this.onTorrent(n):t.add(this.torrentId,(function(t){return e.onTorrent(t)}))},d=function(){var e=this,t=arguments;return new Promise((function(n,r){function i(e){o(c,n,r,i,a,"next",e)}function a(e){o(c,n,r,i,a,"throw",e)}var c=l.apply(e,t);i(void 0)}))},function(){return d.apply(this,arguments)})},{key:"closeClicked",value:function(){this.setPaused(!0),y.a.local.get("player").put(null)}},{key:"render",value:function(){var e=this,t=this.state;return Object(m.a)(f||(f=i(['\n      <div class="media-player" style="','">\n        <div class="player"></div>\n        <div class="cover"></div>\n        <a href="/torrent/','" class="info">\n          ','\n        </a>\n        <div class="close" onClick=',">","</div>\n      </div>\n    "])),t.isOpen?"":"display:none",encodeURIComponent(this.state.torrentId),t.splitPath?t.splitPath.map((function(e,n){return n===t.splitPath.length-1?(t.isAudioOpen&&(e=e.split(".").slice(0,-1).join(".")),Object(m.a)(p||(p=i(["<p><b>","</b></p>"])),e)):Object(m.a)(h||(h=i(["<p>","</p>"])),e)})):"",(function(){return e.closeClicked()}),v.a.close)}}],r&&a(n.prototype,r),u&&a(n,u),Object.defineProperty(n,"prototype",{writable:!1}),t}(d.Component);t.a=F},"24Gu":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function o(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){function a(e){o(s,r,i,a,c,"next",e)}function c(e){o(s,r,i,a,c,"throw",e)}var s=e.apply(t,n);a(void 0)}))}}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=u(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},s.apply(this,arguments)}function u(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m,y,v,b,_,w,F,k,x,C,O,S,j,E,A,D,T,P=n("5OaP"),B=n("hosL"),R=n("aKPg"),I=n("4Iz4"),M=n("3rgF"),L=n("qIEf"),N=n.n(L),z=n("lBHI"),U=n("xVeL"),H=n("Hrl7"),q=function(e,t){return-1!==t.indexOf(e.name.slice(-4))},W=function(e){return q(e,["webm",".mp4",".ogg"])},K=function(e){return q(e,[".mp3",".wav",".m4a"])},$=function(e){return q(e,[".jpg","jpeg",".gif",".png"])},V=function(e){function t(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(h(e=p.call.apply(p,[this].concat(n))),"coverRef",Object(B.createRef)()),g(h(e),"state",{local:{}}),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e);var n,r,o,u,p=f(t);return n=t,r=[{key:"componentDidMount",value:function(){var e=this;z.a.local.get("player").on(this.sub((function(t){if(e.player=t,e.setState({player:t}),e.torrent&&e.player&&e.player.filePath!==e.state.activeFilePath){var n=e.getActiveFile(e.torrent);n&&e.openFile(n)}})));var t=this.props.showFiles;t&&this.setState({showFiles:t}),z.a.local.get("settings").get("local").on(this.inject()),a((function*(){(e.props.standalone||(yield z.a.local.get("settings").get("local").get("enableWebtorrent").once()))&&e.startTorrenting()}))()}},{key:"componentWillUnmount",value:function(){s(d(t.prototype),"componentWillUnmount",this).call(this),this.observer&&this.observer.disconnect(),delete this.observer}},{key:"onPlay",value:function(e){e.target.muted||z.a.local.get("player").get("paused").put(!0)}},{key:"startTorrenting",value:(u=a((function*(e){var t=this;this.setState({torrenting:!0});var n=this.props.torrentId,r=yield R.a.getWebTorrentClient(),i=r.get(n);i?this.onTorrent(i,e):r.add(n,(function(n){return t.onTorrent(n,e)}))})),function(e){return u.apply(this,arguments)})},{key:"playAudio",value:function(e,t){t&&t.preventDefault(),z.a.local.get("player").put({torrentId:this.props.torrentId,filePath:e,paused:!1})}},{key:"pauseAudio",value:function(e){e&&e.preventDefault(),z.a.local.get("player").put({paused:!0})}},{key:"openFile",value:function(e,t){var n=this,r=N()(this.base),i=W(e),o=!i&&K(e);if(this.state.activeFilePath!==e.path){var a,c,s;i||(a=e.path.split("/")),this.setState({activeFilePath:e.path,splitPath:a,isAudioOpen:o}),t?(c=!0,s=!1):s=c=i&&this.state.local.autoplayWebtorrent;var u=r.find(".player");if(u.empty(),o&&t&&this.playAudio(e.path),o||e.appendTo(u.get(0),{autoplay:c,muted:s}),i&&this.props.autopause){var l=r.find("video").get(0);this.observer=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting?c&&l.play():l.pause()}))}),{rootMargin:"0px",threshold:[.25,.75]}),this.observer.observe(l)}r.find(".info").toggle(!i);var f=r.find("video, audio").get(0);f&&(f.addEventListener("ended",(function(){n.openNextFile("VIDEO"===f.tagName?W:K)})),f.onplay=f.onvolumechange=this.onPlay)}else if(i){var p=r.find("video").get(0);p&&p.play()}else o&&z.a.local.get("player").get("paused").put(!1)}},{key:"getNextIndex",value:function(e){var t=this,n=this.state.torrent.files,r=n.findIndex((function(e){return e.path===t.state.activeFilePath})),i=n.findIndex((function(t,n){return n>r&&e(t)}));return-1===i&&(i=n.findIndex((function(t){return e(t)}))),-1===i&&(i=r),i}},{key:"openNextFile",value:function(e){var t=this.getNextIndex(e);this.openFile(this.state.torrent.files[t],!0)}},{key:"getActiveFile",value:function(e){var t,n=this.player;return n&&n.torrentId===this.props.torrentId&&(t=e.files.find((function(e){return e.path===n.filePath}))),t}},{key:"onTorrent",value:function(e,t){var n=this;if(this.coverRef.current){this.torrent=e;var r=e.files.find((function(e){return W(e)})),i=e.files.find((function(e){return K(e)})),o=e.files.find((function(e){return $(e)})),c=this.getActiveFile(e)||r||i||o||e.files[0];this.setState({torrent:e,cover:o}),c&&this.openFile(c,t);var s=e.files.find((function(e){return $(e)&&(e.name.indexOf("cover")>-1||e.name.indexOf("poster")>-1)}));if((s=s||o)&&(s.appendTo(this.coverRef.current),this.props.standalone&&this.isUserAgentCrawler())){var u=this.coverRef.current.firstChild;u.onload=a((function*(){var e=yield fetch(u.src).then((function(e){return e.blob()}));R.a.getBase64(e).then((function(e){return n.setOgImageUrl(e)}))}))}}}},{key:"showFilesClicked",value:function(e){e.preventDefault(),this.setState({showFiles:!this.state.showFiles})}},{key:"openTorrentClicked",value:function(e){e.preventDefault(),this.startTorrenting(!0)}},{key:"renderLoadingTorrent",value:function(){var e=this,t=this.state,n=t.torrent,r=t.player,o="";return t.isAudioOpen&&(o=r&&r.torrentId===this.props.torrentId&&!r.paused?Object(I.a)(m||(m=i(['\n          <a href="#" onClick=',">","</a>\n      "])),(function(t){return e.pauseAudio(t)}),U.a.pause):Object(I.a)(y||(y=i(['\n          <a href="#" onClick=',">","</a>\n      "])),(function(n){return e.playAudio(t.activeFilePath,n)}),U.a.play)),Object(I.a)(v||(v=i(["\n      ",'\n      <div class="cover" ref='," style=",'></div>\n      <div class="info">\n          ',"\n      </div>\n      ",'\n      <div class="player">\n          ',"\n      </div>\n      ","\n      ","\n      ","\n    "])),t.torrenting&&!t.torrent?Object(I.a)(b||(b=i(["<p>Loading attachment...</p>"]))):"",this.coverRef,t.isAudioOpen?"":"display:none",t.splitPath?t.splitPath.map((function(e,n){return n===t.splitPath.length-1?(t.isAudioOpen&&(e=e.split(".").slice(0,-1).join(".")),Object(I.a)(_||(_=i(["<p><b>","</b></p>"])),e)):Object(I.a)(w||(w=i(["<p>","</p>"])),e)})):"",t.hasNext?Object(I.a)(F||(F=i(["<b>prev</b>"]))):"",o,t.hasNext?Object(I.a)(k||(k=i(["<b>next</b>"]))):"",this.props.standalone||this.props.preview?Object(I.a)(x||(x=i(["\n        <a href=",">Magnet link</a>\n        ","\n      "])),this.props.torrentId,n&&n.files?Object(I.a)(C||(C=i(['\n            <a href="" style="margin-left:30px;" onClick=',">","</a>\n        "])),(function(t){return e.showFilesClicked(t)}),Object(M.c)(t.showFiles?"hide_files":"show_files")):""):Object(I.a)(O||(O=i(['\n          <a href="/torrent/','">',"</a>\n      "])),encodeURIComponent(this.props.torrentId),Object(M.c)("show_files")),t.showFiles&&n&&n.files?Object(I.a)(S||(S=i(["\n        <p>",": ",'</p>\n        <div class="flex-table details">\n          ',"\n        </div>\n      "])),Object(M.c)("peers"),n.numPeers,n.files.map((function(n){return Object(I.a)(j||(j=i(["\n            <div onClick=",' class="flex-row ','">\n                <div class="flex-cell">','</div>\n                <div class="flex-cell no-flex">',"</div>\n            </div>\n          "])),(function(){return e.openFile(n,!0)}),t.activeFilePath===n.path?"active":"",n.name,R.a.formatBytes(n.length))}))):"")}},{key:"renderMeta",value:function(){var e=this.state,t=e.splitPath&&e.splitPath[e.splitPath.length-1].split(".").slice(0,-1).join(".")||"File sharing",n="".concat(t," | Iris"),r="Shared files",o=e.isAudioOpen?"music:song":"video.movie";return Object(I.a)(E||(E=i(["\n      <",">\n        <title>",'</title>\n        <meta name="description" content=',' />\n        <meta property="og:type" content=',' />\n        <meta property="og:title" content=',' />\n        <meta property="og:description" content='," />\n        ","\n      <//>\n    "])),H.a,t,r,o,n,r,e.ogImageUrl?Object(I.a)(A||(A=i(['<meta property="og:image" content='," />"])),e.ogImageUrl):"")}},{key:"render",value:function(){var e=this;return Object(I.a)(D||(D=i(['\n        <div class="torrent">\n            ',"\n            ","\n        </div>\n    "])),this.props.standalone?this.renderMeta():"",this.state.local.enableWebtorrent||this.state.torrenting||this.props.standalone?this.renderLoadingTorrent():Object(I.a)(T||(T=i(['\n              <a href="" onClick=',">","</a>\n            "])),(function(t){return e.openTorrentClicked(t)}),Object(M.c)("show_attachment")))}}],r&&c(n.prototype,r),o&&c(n,o),Object.defineProperty(n,"prototype",{writable:!1}),t}(P.a);t.a=V},"2Hgx":function(e){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,c){if(e===c)return!0;if(e&&c&&"object"==t(e)&&"object"==t(c)){if(e.constructor!==c.constructor)return!1;var s,u,l,f;if(Array.isArray(e)){if((s=e.length)!=c.length)return!1;for(u=s;0!=u--;)if(!n(e[u],c[u]))return!1;return!0}if(i&&e instanceof Map&&c instanceof Map){if(e.size!==c.size)return!1;for(f=e.entries();!(u=f.next()).done;)if(!c.has(u.value[0]))return!1;for(f=e.entries();!(u=f.next()).done;)if(!n(u.value[1],c.get(u.value[0])))return!1;return!0}if(o&&e instanceof Set&&c instanceof Set){if(e.size!==c.size)return!1;for(f=e.entries();!(u=f.next()).done;)if(!c.has(u.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(c)){if((s=e.length)!=c.length)return!1;for(u=s;0!=u--;)if(e[u]!==c[u])return!1;return!0}if(e.constructor===RegExp)return e.source===c.source&&e.flags===c.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===c.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===c.toString();if((s=(l=Object.keys(e)).length)!==Object.keys(c).length)return!1;for(u=s;0!=u--;)if(!Object.prototype.hasOwnProperty.call(c,l[u]))return!1;if(r&&e instanceof Element)return!1;for(u=s;0!=u--;)if(("_owner"!==l[u]&&"__v"!==l[u]&&"__o"!==l[u]||!e.$$typeof)&&!n(e[l[u]],c[l[u]]))return!1;return!0}return e!=e&&c!=c}var r="undefined"!=typeof Element,i="function"==typeof Map,o="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,t){try{return n(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},"3kvY":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}n.d(t,"a",(function(){return k}));var l,f,p=n("4Iz4"),h=n("3rgF"),d=n("kv13"),g=n("yqR5"),m=n("jMw0"),y=n("d17u"),v=n("vI8o"),b=n("aKPg"),_=n("5OaP"),w=n("lBHI"),F="hyECQHwSo7fgr2MVfPyakvayPeixxsaAWVtZ-vbaiSc.TXIp8MnCtrnW6n2MrYquWPcc-DTmZzMBmc2yaGv9gIU",k=function(e){function t(){return u.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e);var n,r,s,u=c(t);return n=t,(r=[{key:"componentDidMount",value:function(){w.a.local.get("noFollowers").on(this.inject()),w.a.local.get("noFollows").on(this.inject())}},{key:"render",value:function(){return this.state.noFollows?Object(p.a)(l||(l=i(['\n        <div class="msg">\n          <div class="msg-content">\n            <p>','</p>\n            <div class="profile-link-container">\n              <a href="/profile/','" class="profile-link">\n                <'," str="," width=40 />\n                <",' path="profile/name" user=',' placeholder="Suggested follow"/>\n              </a>\n              <'," id="," />\n            </div>\n            <p>",' <a href="/profile/','">',"</a>.</p>\n          </div>\n        </div>\n      "])),Object(h.c)("follow_someone_info"),F,d.a,F,v.a,F,g.a,F,Object(h.c)("alternatively"),m.a.getPubKey(),Object(h.c)("give_your_profile_link_to_someone")):this.state.noFollowers?Object(p.a)(f||(f=i(['\n        <div class="msg">\n          <div class="msg-content">\n            <p>',"</p>\n            <p><"," text="," copyStr=","/></p>\n            <p dangerouslySetInnerHTML=",">\n            </p>\n            <small>","</small>\n          </div>\n        </div>\n      "])),Object(h.c)("no_followers_yet"),y.a,Object(h.c)("copy_link"),b.a.getProfileLink(m.a.getPubKey()),{__html:Object(h.c)("alternatively_get_sms_verified",'href="https://iris-sms-auth.herokuapp.com/?pub='.concat(m.a.getPubKey(),'"'))},Object(h.c)("no_followers_yet_info")):""}}])&&o(n.prototype,r),s&&o(n,s),Object.defineProperty(n,"prototype",{writable:!1}),t}(_.a)},"3rgF":function(e,t,n){"use strict";function r(e,t){return e&&(u[e]||function(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}(e.replace(/_/g," "))).replace("<a","<a ".concat(t||""))}n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var i=n("P+S2"),o=Object.keys(i.a),a=localStorage.getItem("language")||navigator.language||"en";if(-1===o.indexOf(a)){var c=a.slice(0,2);a="en";for(var s=0;s<o.length;s++)if(o[s].slice(0,2)===c){a=o[s];break}}var u=i.a[a];if("en"!==a){var l=i.a.en;Object.keys(l).forEach((function(e){return u[e]=u[e]||l[e]}))}},"46vS":function(e,t,n){"use strict";(function(e,r){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return u(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=n("5OaP"),p=n("aKPg"),h=n("x75+"),d=n("lBHI"),g=n("9va6"),m=n("3rgF"),y=function(t){function n(){var e,t,n,r;return e=f.call(this),t=u(e),n="updateSortedMessages",r=Object(g.debounce)((function(){if(!e.unmounted){var t=Array.from(e.mappedMessages.keys()).sort().map((function(t){return e.mappedMessages.get(t)}));e.props.reverse||(t=t.reverse()),e.setState({sortedMessages:t})}}),100),n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,e.state={sortedMessages:[],displayCount:20},e.mappedMessages=new Map,e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(n,t);var i,s,l,f=c(n);return i=n,s=[{key:"handleMessage",value:function(e,t,n,r,i){var o=this;i&&(t+=i),e?this.props.keyIsMsgHash?h.a.fetchByHash(this,t).then((function(e){e&&(o.mappedMessages.set(e.signedData.time,t),o.updateSortedMessages())})):this.mappedMessages.set(t,e):this.mappedMessages.delete(t),this.updateSortedMessages()}},{key:"componentDidMount",value:function(){var e=this,t=!0;d.a.local.get("scrollUp").on(this.sub((function(){!t&&p.a.animateScrollTop(".main-view"),t=!1}))),this.props.node?this.props.node.map().on(this.sub((function(){return e.handleMessage.apply(e,arguments)}))):this.props.group&&this.props.path&&d.a.group(this.props.group).map(this.props.path,this.sub((function(){return e.handleMessage.apply(e,arguments)})))}},{key:"componentDidUpdate",value:function(e){(e.node&&e.node._&&e.node._.id)===(this.props.node&&this.props.node._&&this.props.node._.id)&&this.props.group===e.group&&this.props.path===e.path&&this.props.filter===e.filter||(this.mappedMessages=new Map,this.setState({sortedMessages:[]}),this.componentDidMount())}},{key:"render",value:function(){var t=this;if(this.props.scrollElement&&!this.unmounted){var n=this.state.displayCount;return e(r,null,this.state.sortedMessages.slice(0,n).map((function(t){return e(h.a,{key:t,hash:t,showName:!0})})),n<this.state.sortedMessages.length?e("p",null,e("button",{onClick:function(){return t.setState({displayCount:n+20})}},Object(m.c)("show_more"))):"")}}}],s&&o(i.prototype,s),l&&o(i,l),Object.defineProperty(i,"prototype",{writable:!1}),n}(f.a);t.a=y}).call(this,n("hosL").h,n("hosL").Fragment)},"4Av7":function(e,t,n){"use strict";(function(e){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var u=n("5OaP"),l=n("Y3FI"),f=n("T8kc"),p=n("PAqL"),h=n("Hrl7"),d=n("aKPg"),g=n("Xfve"),m=n("HEoH"),y=n("jMw0"),v=n("V5xz"),b=n("oS6X"),_=n("/JwH"),w=n("+7aG"),F=n("IwJA"),k=n("B7GM"),x=n("wlZL"),C=n("x3ly"),O=n("rZq/"),S=n("bbY9"),j=n("8cG4"),E=n("aoKE"),A=n("DFWF"),D=n("nVqy"),T=n("ocsI"),P=n("Xfu8"),B=n("1mhe"),R=n("kOPj"),I=n("lBHI");n("/nVi"),n("Gk7Q");"iris.to"===window.location.host&&"/"!==window.location.pathname&&(window.location.href=window.location.href.replace(window.location.pathname,"/"));var M=function(t){function r(){return M.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(r,t);var c,s,u,M=a(r);return c=r,s=[{key:"componentDidMount",value:function(){var e=this;I.a.init(),y.a.init({autologin:window.location.hash.length>2}),m.a.init(),I.a.local.get("loggedIn").on(this.inject()),I.a.local.get("toggleMenu").put(!1),I.a.local.get("toggleMenu").on((function(t){return e.toggleMenu(t)})),I.a.electron&&I.a.electron.get("platform").on(this.inject()),I.a.local.get("unseenMsgsTotal").on(this.inject())}},{key:"handleRoute",value:function(e){var t=e.url;this.setState({activeRoute:t}),I.a.local.get("activeRoute").put(t),g.a.cleanupScanner()}},{key:"onClickOverlay",value:function(){this.state.showMenu&&this.setState({showMenu:!1})}},{key:"toggleMenu",value:function(e){this.setState({showMenu:void 0===e?!this.state.showMenu:e})}},{key:"electronCmd",value:function(e){I.a.electron.get("cmd").put({name:e,time:(new Date).toISOString()})}},{key:"render",value:function(){var t=this,r="",i=this.state;i.activeRoute&&i.activeRoute.length>1&&(r=d.a.capitalize(i.activeRoute.replace("/","")));var o=i.platform&&"darwin"!==i.platform,a=i.unseenMsgsTotal?"(".concat(i.unseenMsgsTotal,") %s | iris"):"%s | iris",c=i.unseenMsgsTotal?"(".concat(i.unseenMsgsTotal,") iris"):"iris";if(!i.loggedIn&&window.location.pathname.length>2)return e("div",{id:"main-content"});if(!i.loggedIn)return e("div",{id:"main-content"},e(k.b,null));var s=Object(p.a)();return e("div",{id:"main-content"},o?e("div",{className:"windows-titlebar"},e("span",null,"iris"),e("div",{className:"title-bar-btns"},e("button",{className:"min-btn",onClick:function(){return t.electronCmd("minimize")}},"-"),e("button",{className:"max-btn",onClick:function(){return t.electronCmd("maximize")}},"+"),e("button",{className:"close-btn",onClick:function(){return t.electronCmd("close")}},"x"))):null,e("section",{className:"main ".concat(o?"desktop-non-mac":""," ").concat(i.showMenu?"menu-visible-xs":""),style:"flex-direction: row;"},e(T.a,null),e(h.a,{titleTemplate:a,defaultTitle:c},e("title",null,r),e("meta",{name:"description",content:"Social Networking Freedom"}),e("meta",{property:"og:type",content:"website"}),e("meta",{property:"og:title",content:r}),e("meta",{property:"og:description",content:"Social Networking Freedom"}),e("meta",{property:"og:url",content:"https://iris.to/".concat(window.location.hash)}),e("meta",{property:"og:image",content:"https://iris.to/assets/img/cover.jpg"}),e("meta",{name:"twitter:card",content:"summary_large_image"})),e("div",{className:"overlay",onClick:function(){return t.onClickOverlay()}}),e("div",{className:"view-area"},e(l.Router,{history:s,onChange:function(e){return t.handleRoute(e)}},e(j.a,{path:"/"}),e(j.a,{path:"/feed"}),e(F.a,{path:"/hashtag"}),e(j.a,{path:"/hashtag/:hashtag+"}),e(j.a,{path:"/search/:term?/:type?"}),e(j.a,{path:"/media",index:"media",thumbnails:!0}),e(k.b,{path:"/login"}),e(w.a,{path:"/notifications"}),e(_.a,{path:"/chat/hashtag/:hashtag?"}),e(_.a,{path:"/chat/:id?"}),e(O.a,{path:"/post/:hash+"}),e(D.a,{path:"/torrent/:id+"}),e(E.a,{path:"/about"}),e(v.a,{path:"/settings"}),e(b.a,{path:"/logout"}),e(x.a,{path:"/profile/:id+",tab:"profile"}),e(x.a,{path:"/replies/:id+",tab:"replies"}),e(x.a,{path:"/likes/:id+",tab:"likes"}),e(x.a,{path:"/media/:id+",tab:"media"}),e(C.a,{path:"/group/:id+"}),e(f.a,{path:"/store/:store?",getComponent:function(){return n.e(9).then(n.bind(null,"UIeC")).then((function(e){return e.default}))}}),e(f.a,{path:"/checkout/:store?",getComponent:function(){return n.e(7).then(n.bind(null,"x8GX")).then((function(e){return e.default}))}}),e(f.a,{path:"/product/:product/:store",getComponent:function(){return n.e(0).then(n.bind(null,"YVdf")).then((function(e){return e.default}))}}),e(f.a,{path:"/product/new",store:y.a.getPubKey(),getComponent:function(){return n.e(0).then(n.bind(null,"YVdf")).then((function(e){return e.default}))}}),e(f.a,{path:"/explorer/:node",getComponent:function(){return n.e(2).then(n.bind(null,"dPvw")).then((function(e){return e.default}))}}),e(f.a,{path:"/explorer",store:y.a.getPubKey(),getComponent:function(){return n.e(2).then(n.bind(null,"dPvw")).then((function(e){return e.default}))}}),e(S.a,{path:"/follows/:id"}),e(S.a,{followers:!0,path:"/followers/:id"}),e(A.a,{path:"/contacts"})))),e(B.a,null),e(R.a,null),e(P.b,null))}}],s&&i(c.prototype,s),u&&i(c,u),Object.defineProperty(c,"prototype",{writable:!1}),r}(u.a);d.a.showConsoleWarning(),t.a=M}).call(this,n("hosL").h)},"4Iz4":function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,"a",(function(){return c}));var i=n("hosL"),o=function e(t,n,i,o){var a;n[0]=0;for(var c=1;c<n.length;c++){var s=n[c++],u=n[c]?(n[0]|=s?1:2,i[n[c++]]):n[++c];3===s?o[0]=u:4===s?o[1]=r(o[1]||{},u):5===s?(o[1]=o[1]||{})[n[++c]]=u:6===s?o[1][n[++c]]+=u+"":s?(a=t.apply(u,e(t,u,i,["",null])),o.push(a),u[0]?n[0]|=2:(n[c-2]=0,n[c]=a)):o.push(u)}return o},a=new Map,c=function(e){var t=a.get(this);return t||(t=new Map,a.set(this,t)),(t=o(this,t.get(e)||(t.set(e,t=function(e){for(var t,n,r=1,i="",o="",a=[0],c=function(e){1===r&&(e||(i=i.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?a.push(0,e,i):3===r&&(e||i)?(a.push(3,e,i),r=2):2===r&&"..."===i&&e?a.push(4,e,0):2===r&&i&&!e?a.push(5,0,!0,i):r>=5&&((i||!e&&5===r)&&(a.push(r,0,i,n),r=6),e&&(a.push(r,e,0,n),r=6)),i=""},s=0;s<e.length;s++){s&&(1===r&&c(),c(s));for(var u=0;u<e[s].length;u++)t=e[s][u],1===r?"<"===t?(c(),a=[a],r=3):i+=t:4===r?"--"===i&&">"===t?(r=1,i=""):i=t+i[0]:o?t===o?o="":i+=t:'"'===t||"'"===t?o=t:">"===t?(c(),r=1):r&&("="===t?(r=5,n=i,i=""):"/"===t&&(r<5||">"===e[s][u+1])?(c(),3===r&&(a=a[0]),r=a,(a=a[0]).push(2,0,r),r=0):" "===t||"\t"===t||"\n"===t||"\r"===t?(c(),r=2):i+=t),3===r&&"!--"===i&&(r=4,a=a[0])}return c(),a}(e)),t),arguments,[])).length>1?t:t[0]}.bind(i.h)},"4Nja":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function o(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return l(e)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h,d,g,m,y,v,b=n("hosL"),_=n("aKPg"),w=n("Pidb"),F=n("4Iz4"),k=n("3rgF"),x=n("lBHI"),C=n("jMw0"),O=n("L8Yj"),S=n("24Gu"),j=n("qIEf"),E=n.n(j),A=n("tMPu"),D=n.n(A),T=n("o5ls"),P=n("dgEB"),B=n("ANvx"),R=/\B\@[\u00BF-\u1FFF\u2C00-\uD7FF\w]*$/,I=function(e){function t(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(l(e=A.call.apply(A,[this].concat(n))),"newMsgRef",Object(b.createRef)()),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e);var n,r,u,f,j,A=s(t);return n=t,r=[{key:"componentDidMount",value:function(){var e=E()(this.newMsgRef.current);this.picker=new D.a({position:"top-start"}),this.picker.on("emoji",(function(t){e.val(e.val()+t),e.focus()})),T.a.util.isMobile||!1===this.props.autofocus||e.focus(),this.props.replyingTo||x.a.local.get("channels").get("public").get("msgDraft").once((function(t){return!e.val()&&e.val(t)}))}},{key:"onMsgFormSubmit",value:(f=function*(e){var t=this;e.preventDefault(),this.props.replyingTo||x.a.local.get("channels").get("public").get("msgDraft").put(null);var n=E()(this.newMsgRef.current),r=n.val();if((r.length||this.state.attachments||this.state.torrentId)&&("media"!==this.props.index||this.state.torrentId)){var i={text:r};this.props.replyingTo&&(i.replyingTo=this.props.replyingTo),this.state.attachments&&(i.attachments=this.state.attachments),this.state.torrentId&&(i.torrentId=this.state.torrentId),this.sendPublic(i).then((function(e){t.props.replyingToUser&&t.props.replyingToUser!==C.a.getPubKey()&&w.a.sendIrisNotification(t.props.replyingToUser,{event:"reply",target:e});var n=r.match(_.a.pubKeyRegex);n&&n.forEach((function(t){w.a.sendIrisNotification(t.slice(1),{event:"mention",target:e})}))})),this.setState({attachments:null,torrentId:null}),n.val(""),n.height(""),this.props.onSubmit&&this.props.onSubmit(i)}},j=function(){var e=this,t=arguments;return new Promise((function(n,r){function i(e){o(c,n,r,i,a,"next",e)}function a(e){o(c,n,r,i,a,"throw",e)}var c=f.apply(e,t);i(void 0)}))},function(e){return j.apply(this,arguments)})},{key:"onEmojiButtonClick",value:function(e){e.preventDefault(),this.picker.pickerVisible?this.picker.hidePicker():this.picker.showPicker(e.target)}},{key:"setTextareaHeight",value:function(e){e.style.height="",e.style.height="".concat(e.scrollHeight,"px")}},{key:"onMsgTextPaste",value:function(e){var t=(e.clipboardData||window.clipboardData).getData("text");(t!==this.state.torrentId&&t.indexOf(".torrent")>-1||t.match(/^magnet:\?xt=urn:btih:*/))&&(e.preventDefault(),this.setState({torrentId:t}))}},{key:"onKeyUp",value:function(e){-1!=[37,38,39,40].indexOf(e.keyCode)&&this.checkMention(e)}},{key:"onMsgTextInput",value:function(e){this.setTextareaHeight(e.target),this.props.replyingTo||x.a.local.get("channels").get("public").get("msgDraft").put(E()(e.target).val()),this.checkMention(e)}},{key:"attachFileClicked",value:function(e){e.preventDefault(),E()(this.base).find(".attachment-input").click()}},{key:"attachmentsChanged",value:function(e){var t=this,n=e.target.files;if(n){for(var r=0;r<n.length;r++)_.a.getBase64(n[r]).then((function(e){var n=t.state.attachments||[];n.push({type:"image",data:e}),t.setState({attachments:n})}));E()(e.target).val(null),E()(this.newMsgRef.current).focus()}}},{key:"onSelectMention",value:function(e){var t=E()(this.base).find("textarea").get(0),n=t.selectionStart,r=[t.value.slice(0,n).replace(R,"@"),e.key,t.value.slice(n)].join("");t.value="".concat(r," "),t.focus(),t.selectionStart=t.selectionEnd=n+e.key.length}},{key:"render",value:function(){var e=this,t="media"===this.props.index?"type_a_message_or_paste_a_magnet_link":"type_a_message";return Object(F.a)(h||(h=i(['<form autocomplete="off" class="message-form ',' public" onSubmit=','>\n      <input name="attachment-input" type="file" class="hidden attachment-input" accept="image/*" multiple onChange=',"/>\n      ","\n      <textarea onKeyUp="," onPaste="," onInput="," ref=",' class="new-msg" type="text" placeholder="','" autocomplete="off" autocorrect="off" autocapitalize="sentences" spellcheck="off"/>\n      ','\n      <div>\n        <button type="button" class="attach-file-btn" onClick=','>\n          <svg width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21.586 10.461l-10.05 10.075c-1.95 1.949-5.122 1.949-7.071 0s-1.95-5.122 0-7.072l10.628-10.585c1.17-1.17 3.073-1.17 4.243 0 1.169 1.17 1.17 3.072 0 4.242l-8.507 8.464c-.39.39-1.024.39-1.414 0s-.39-1.024 0-1.414l7.093-7.05-1.415-1.414-7.093 7.049c-1.172 1.172-1.171 3.073 0 4.244s3.071 1.171 4.242 0l8.507-8.464c.977-.977 1.464-2.256 1.464-3.536 0-2.769-2.246-4.999-5-4.999-1.28 0-2.559.488-3.536 1.465l-10.627 10.583c-1.366 1.368-2.05 3.159-2.05 4.951 0 3.863 3.13 7 7 7 1.792 0 3.583-.684 4.95-2.05l10.05-10.075-1.414-1.414z"/></svg>\n        </button>\n        <button class="emoji-picker-btn hidden-xs" type="button" onClick=','>\n          <svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="smile" class="svg-inline--fa fa-smile fa-w-16" role="img" viewBox="0 0 496 512"><path fill="currentColor" d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"></path></svg>\n        </button>\n        <button type="submit">\n          <svg class="svg-inline--fa fa-w-16" x="0px" y="0px" viewBox="0 0 486.736 486.736" style="enable-background:new 0 0 486.736 486.736;" width="100px" height="100px" fill="currentColor" stroke="#000000" stroke-width="0"><path fill="currentColor" d="M481.883,61.238l-474.3,171.4c-8.8,3.2-10.3,15-2.6,20.2l70.9,48.4l321.8-169.7l-272.4,203.4v82.4c0,5.6,6.3,9,11,5.9 l60-39.8l59.1,40.3c5.4,3.7,12.8,2.1,16.3-3.5l214.5-353.7C487.983,63.638,485.083,60.038,481.883,61.238z"></path></svg>\n        </button>\n      </div>\n      <div class="attachment-preview">\n          ',"\n          ","\n          ","\n      </div>\n    </form>"])),this.props.class||"",(function(t){return e.onMsgFormSubmit(t)}),(function(t){return e.attachmentsChanged(t)}),"media"===this.props.index?Object(F.a)(d||(d=i(["\n          <p>\n            <small dangerouslySetInnerHTML=","/>\n          </p>\n      "])),{__html:Object(k.c)("download_webtorrent",'href="https://webtorrent.io/desktop/"')}):"",(function(t){return e.onKeyUp(t)}),(function(t){return e.onMsgTextPaste(t)}),(function(t){return e.onMsgTextInput(t)}),this.newMsgRef,Object(k.c)(t),this.state.mentioning?Object(F.a)(g||(g=i(["\n        <"," resultsOnly="," query="," onSelect="," />\n      "])),P.a,!0,this.state.mentioning,(function(t){return e.onSelectMention(t)})):"",(function(t){return e.attachFileClicked(t)}),(function(t){return e.onEmojiButtonClick(t)}),this.state.torrentId?Object(F.a)(m||(m=i(['\n              <p><a href="" onClick=',">","</a></p>\n              <"," preview="," torrentId=","/>\n          "])),(function(t){t.preventDefault(),e.setState({torrentId:null})}),Object(k.c)("remove_attachment"),S.a,!0,this.state.torrentId):"",this.state.attachments&&this.state.attachments.length?Object(F.a)(y||(y=i(['\n            <p><a href="" onClick=',">","</a></p>\n          "])),(function(t){t.preventDefault(),e.setState({attachments:null})}),Object(k.c)("remove_attachment")):"",this.state.attachments&&this.state.attachments.map((function(e){return Object(F.a)(v||(v=i(["\n            <"," src=","/>\n          "])),O.a,e.data)})))}}],r&&a(n.prototype,r),u&&a(n,u),Object.defineProperty(n,"prototype",{writable:!1}),t}(B.a);t.a=I},"5IsQ":function(e){function t(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function r(e){if(s===setTimeout)return setTimeout(e,0);if((s===t||!s)&&setTimeout)return s=setTimeout,setTimeout(e,0);try{return s(e,0)}catch(t){try{return s.call(null,e,0)}catch(t){return s.call(this,e,0)}}}function i(){h&&f&&(h=!1,f.length?p=f.concat(p):d=-1,p.length&&o())}function o(){if(!h){var e=r(i);h=!0;for(var t=p.length;t;){for(f=p,p=[];++d<t;)f&&f[d].run();d=-1,t=p.length}f=null,h=!1,function(e){if(u===clearTimeout)return clearTimeout(e);if((u===n||!u)&&clearTimeout)return u=clearTimeout,clearTimeout(e);try{u(e)}catch(t){try{return u.call(null,e)}catch(t){return u.call(this,e)}}}(e)}}function a(e,t){this.fun=e,this.array=t}function c(){}var s,u,l=e.exports={};!function(){try{s="function"==typeof setTimeout?setTimeout:t}catch(e){s=t}try{u="function"==typeof clearTimeout?clearTimeout:n}catch(e){u=n}}();var f,p=[],h=!1,d=-1;l.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new a(e,t)),1!==p.length||h||r(o)},a.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=c,l.addListener=c,l.once=c,l.off=c,l.removeListener=c,l.removeAllListeners=c,l.emit=c,l.prependListener=c,l.prependOnceListener=c,l.listeners=function(){return[]},l.binding=function(){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},"5OaP":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){function a(e){i(s,r,o,a,c,"next",e)}function c(e){i(s,r,o,a,c,"throw",e)}var s=e.apply(t,n);a(void 0)}))}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return l(e)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return h}));var h=function(e){function t(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(l(e=h.call.apply(h,[this].concat(n))),"unmounted",void 0),p(l(e),"eventListeners",{}),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e);var r,i,u,f,h=s(t);return r=t,i=[{key:"sub",value:function(e,t){var n=this;return function(r,i,o,a,c){n.unmounted?a&&a.off():(n.eventListeners[null!=t?t:i]=a,e(r,i,o,a,c))}}},{key:"inject",value:function(e,t){var n=this;return this.sub((function(t,r){var i={};i[null!=e?e:r]=t,n.setState(i)}),t)}},{key:"componentWillUnmount",value:function(){var e=this;this.unmounted=!0,Object.keys(this.eventListeners).forEach((function(t){var n=e.eventListeners[t];n&&n.off(),delete e.eventListeners[t]}))}},{key:"isUserAgentCrawler",value:function(){var e=navigator.userAgent.toLowerCase();return-1!==e.indexOf("prerender")||-1!==e.indexOf("whatsapp")||-1!==e.indexOf("crawl")||-1!==e.indexOf("bot")}},{key:"setOgImageUrl",value:(f=o((function*(e){var t=this;if(e&&this.isUserAgentCrawler()){var r=new Image;r.onload=o((function*(){var e=document.createElement("canvas"),i=Math.max(r.width,r.height)/350;e.width=r.width/i,e.height=r.height/i;var o=(yield n.e(1).then(n.t.bind(null,"+/t2",7))).default;yield o().resize(r,e);var a=e.toDataURL("image/jpeg",.1),c="https://iris-base64-decoder.herokuapp.com/?s=".concat(encodeURIComponent(a));console.log(c),t.setState({ogImageUrl:c})})),r.src=e}})),function(e){return f.apply(this,arguments)})}],i&&a(r.prototype,i),u&&a(r,u),Object.defineProperty(r,"prototype",{writable:!1}),t}(n("l8WD").PureComponent)},"5rjA":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function u(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var l,f,p,h,d,g,m,y=n("5OaP"),v=n("aKPg"),b=n("4Iz4"),_=n("jMw0"),w=n("24Gu"),F=n("CGOa"),k=n("o5ls"),x=n("qIEf"),C=n.n(x),O=n("lBHI"),S=new F.a({stripPrefix:!1,stripTrailingSlash:!1}),j=200,E=Object(b.a)(l||(l=u(['<span class="seen-indicator"><svg viewBox="0 0 59 42"><polygon fill="currentColor" points="40.6,12.1 17,35.7 7.4,26.1 4.6,29 17,41.3 43.4,14.9"></polygon><polygon class="iris-delivered-checkmark" fill="currentColor" points="55.6,12.1 32,35.7 29.4,33.1 26.6,36 32,41.3 58.4,14.9"></polygon></svg></span>'])));t.a=function(e){function t(){var e;return(e=l.call(this)).i=0,e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(t,e);var n,c,s,l=a(t);return n=t,(c=[{key:"componentDidMount",value:function(){var e=this;C()(this.base).find("a").click((function(e){var t=C()(e.target).attr("href");t&&0===t.indexOf("https://iris.to/")&&(e.preventDefault(),window.location=t.replace("https://iris.to/",""))}));var t=this.getSeenStatus();t.seen||t.delivered||O.a.local.get("channels").get(this.props.chatId).get("theirLastActiveTime").on(this.sub((function(t,n,r,i){e.getSeenStatus().delivered&&(e.setState({delivered:!0}),i.off())}))),t.seen||O.a.local.get("channels").get(this.props.chatId).get("theirMsgsLastSeenTime").on(this.sub((function(t,n,r,i){e.getSeenStatus().seen&&(e.setState({seen:!0}),i.off())})))}},{key:"getSeenStatus",value:function(){var e=_.a.channels[this.props.chatId],t="object"===r(this.props.time)?this.props.time:new Date(this.props.time);return{seen:e&&e.theirMsgsLastSeenDate>=t,delivered:e&&e.activity&&e.activity.lastActive&&new Date(e.activity.lastActive)>=t}}},{key:"onNameClick",value:function(e){C()(".new-msg").val("".concat(C()(".new-msg").val().trim()," @").concat(e," ")),C()(".new-msg").focus()}},{key:"openAttachmentsGallery",value:function(e){var t=this,n=this.state.msg||this.props;C()("#floating-day-separator").remove();var r,i,o,a,c=C()("<div>").attr("id","attachment-gallery").addClass("gallery").addClass("attachment-preview");C()("body").append(c),c.fadeIn(j),n.attachments&&n.attachments.forEach((function(t){if(0===t.type.indexOf("image")&&t.data)if(a=v.a.setImgSrc(C()("<img>"),t.data),1===n.attachments.length){c.css({"justify-content":"center"});var s=C()(e.target);r=s.offset().left,i=s.offset().top-C()(window).scrollTop(),o=s.width();var u=a.clone().attr("id","transition-img").data("originalDimensions",{left:r,top:i,width:o});u.css({position:"fixed",left:r,top:i,width:o,"max-width":"none","max-height":"none"}),a.css({visibility:"hidden","align-self":"center"}),c.append(a),C()("body").append(u);var l=a.offset();u.animate({width:a.width(),left:l.left,top:l.top},{duration:j,complete:function(){a.css({visibility:"visible"}),u.hide()}})}else c.css({"justify-content":""}),c.append(a)})),c.one("click",(function(){t.closeAttachmentsGallery()})),C()(document).off("keyup").on("keyup",(function(e){"Escape"===e.key&&(C()(document).off("keyup"),C()("#attachment-gallery:visible").length&&t.closeAttachmentsGallery())}))}},{key:"closeAttachmentsGallery",value:function(){var e=C()("#transition-img");if(e.length){var t=e.data("originalDimensions");e.show(),C()("#attachment-gallery img").remove(),e.animate(t,{duration:j,complete:function(){e.remove()}})}C()("#attachment-gallery").fadeOut({duration:j,complete:function(){return C()("#attachment-gallery").remove()}});var n=window.location.hash.replace("#/profile/","").replace("#/chat/","");n&&_.a.channels[n]&&(_.a.channels[n].attachments=null),"activeElement"in document&&document.activeElement.blur()}},{key:"render",value:function(){var e,t=this,n=this.props.name||this.state.name,i=_.a.channels[this.props.chatId];if(i&&i.uuid&&!this.props.selfAuthored){var o=i.participantProfiles[this.props.from];n=o&&o.name,e=o&&o.color}var a=this.props.text&&2===this.props.text.length&&v.a.isEmoji(this.props.text),c=document.createElement("p");c.innerText=this.props.text;var s=c.innerHTML;a||(s=v.a.highlightEmoji(s),s=v.a.highlightHashtags(s),s=v.a.highlightMentions(s));var l=S.link(s),y="object"===r(this.props.time)?this.props.time:new Date(this.props.time),F=this.getSeenStatus(),x=F.seen?"seen":"",C=F.delivered?"delivered":"",O=this.props.selfAuthored?"our":"their";return Object(b.a)(f||(f=u(['\n      <div class="msg '," "," ",'">\n        <div class="msg-content">\n          <div class="msg-sender">\n            ',"\n          </div>\n          ","\n          ",'\n          <div class="text ','" dangerouslySetInnerHTML='," />\n          ",'\n          <div class="below-text">\n            <div class="time">\n              ',"\n              ","\n            </div>\n          </div>\n        </div>\n      </div>\n      "])),O,x,C,n&&this.props.showName&&Object(b.a)(p||(p=u(["<small onclick=",' class="msgSenderName" style="color: ','">',"</small>"])),(function(){return t.onNameClick(n)}),e,n),this.props.torrentId?Object(b.a)(h||(h=u(["\n            <"," torrentId=","/>\n          "])),w.a,this.props.torrentId):"",this.props.attachments&&this.props.attachments.map((function(e){return Object(b.a)(d||(d=u(['<div class="img-container"><img src='," onclick=","/></div>"])),e.data,(function(e){t.openAttachmentsGallery(e)}))})),a&&"emoji-only",{__html:l},this.props.replyingTo?Object(b.a)(g||(g=u(['\n            <div><a href="/post/','">Show replied message</a></div>\n          '])),encodeURIComponent(this.props.replyingTo)):"",this.props.hash?Object(b.a)(m||(m=u(['<a href="/post/','">',"</a>"])),encodeURIComponent(this.props.hash),v.a.getRelativeTimeText(y)):k.a.util.formatTime(y),this.props.selfAuthored&&E)}}])&&i(n.prototype,c),s&&i(n,s),Object.defineProperty(n,"prototype",{writable:!1}),t}(y.a)},"8cG4":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function l(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function y(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=F(e);if(t){var i=F(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){if(t&&("object"===m(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},F(e)}var k,x,C,O,S,j,E,A,D,T,P,B=n("4Iz4"),R=n("lBHI"),I=n("4Nja"),M=n("46vS"),L=n("rUzK"),N=n("DrMS"),z=function(e){function t(){var e;return(e=s.call(this)).cls="follow",e.action="subscribe",e.actionDone="subscribed",e.key="hashtagSubscriptions",e.activeClass="following",e.hoverAction="unsubscribe",e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(t,e);var n,r,c,s=a(t);return n=t,r&&i(n.prototype,r),c&&i(n,c),Object.defineProperty(n,"prototype",{writable:!1}),n}(n("yqR5").a),U=n("Hrl7"),H=n("oIol"),q=n("5OaP"),W=n("oeWf"),K=n("kv13"),$=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=o.call(this)).subs=new Set,e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(t,e);var n,r,i,o=h(t);return n=t,(r=[{key:"componentDidMount",value:function(){var e=this;R.a.group().on("hashtagSubscriptions/".concat(this.props.hashtag),this.sub((function(t,n,r,i,o){t?e.subs.add(o):e.subs.delete(o),e.setState({})})))}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"render",value:function(){var e=Array.from(this.subs);return Object(B.a)(k||(k=l(["\n      ","\n    "])),e.length?Object(B.a)(x||(x=l(['\n        <div class="msg hashtag-list">\n          <div class="msg-content">\n            #'," subscribers (",")<br/><br/>\n              \n            ","\n          </div>\n        </div>\n      "])),this.props.hashtag,e.length,e.map((function(e){return Object(B.a)(C||(C=l(['\n                <a href="/profile/','">\n                  <span class="text">\n                    <',' key="i','" str='," width=30 activity=","/> <"," pub=",' key="t','" />\n                  </span>\n                </a>\n              '])),e,K.a,e,e,!0,W.a,e,e)}))):"")}}])&&f(n.prototype,r),i&&f(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(q.a),V=n("3kvY");t.a=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=o.call(this)).eventListeners={},e.state={sortedMessages:[],group:"follows"},e.messages={},e.id="message-view",e.class="public-messages-view",e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(t,e);var n,r,i,o=_(t);return n=t,(r=[{key:"search",value:function(){var e=this.props.term&&this.props.term.toLowerCase();this.setState({searchTerm:e})}},{key:"componentDidUpdate",value:function(e){e.term!==this.props.term&&this.search()}},{key:"componentDidMount",value:function(){this.search(),this.props.hashtag&&R.a.local.get("filters").get("group").put("everyone"),R.a.local.get("filters").get("group").on(this.inject())}},{key:"filter",value:function(e){return!this.state.searchTerm||e.text&&e.text.toLowerCase().indexOf(this.state.searchTerm)>-1}},{key:"renderView",value:function(){var e=this,t=this.state,n=this.props.index||"msgs",r=this.props.hashtag,i="#".concat(r);return r&&(n="hashtags/".concat(r)),Object(B.a)(O||(O=y(['\n      <div class="centered-container">\n        <div style="display:flex;flex-direction:row">\n          <div style="flex:3;width: 100%">\n            ',"\n            ","\n            ","\n            ","\n            <","\n                    scrollElement=","\n                    hashtag=","\n                    filter=","\n                    thumbnails=","\n                    key=","\n                    group=","\n                    path="," />\n          </div>\n          ","\n        </div>\n      </div>\n    "])),r?Object(B.a)(S||(S=y(["\n              <",">\n                  <title>",'</title>\n                  <meta property="og:title" content="',' | Iris" />\n              <//>\n              <h3>',' <span style="float:right"><'," key="," id="," /></span></h3>\n            "])),U.b,i,i,i,z,r,r):"",t.searchTerm?"":Object(B.a)(j||(j=y(["\n              <",' key="form','" index=',' class="hidden-xs" autofocus=',"/>\n            "])),I.a,n,n,!1),t.searchTerm?Object(B.a)(E||(E=y(['<h2>Search results for "','"</h2>'])),t.searchTerm):Object(B.a)(A||(A=y(["\n              <"," />\n            "])),V.a),t.noFollows?"":Object(B.a)(D||(D=y(["<","/>"])),L.a),M.a,this.scrollElement.current,r,t.searchTerm&&function(t){return e.filter(t)},this.props.thumbnails,r||this.props.index||"feed",this.state.group,n,"media"===this.props.index?"":Object(B.a)(T||(T=y(['\n            <div style="flex:1" class="hidden-xs">\n              <'," />\n              ","\n            </div>\n          "])),H.a,this.props.hashtag?Object(B.a)(P||(P=y(["<"," key="," hashtag="," />"])),$,this.props.hashtag,this.props.hashtag):""))}}])&&v(n.prototype,r),i&&v(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(N.a)},"91Be":function(e,t,n){(function(t){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}!function(){function i(e){function o(e){return encodeURIComponent(e).replace(/\*/g,"%2A")}(e=e||{}).log=e.log||console.log,e.file=String(e.file||"radata");var s=(i.has||(i.has={}))[e.file];if(s)return s;e.max=e.max||.3*(e.memory?999*e.memory*999:3e8),e.until=e.until||e.wait||250,e.batch=e.batch||1e4,e.chunk=e.chunk||1048576,e.code=e.code||{},e.code.from=e.code.from||"!",e.jsonify=!0;var u=""+b===(void 0===t?"undefined":r(t))?setTimeout:t,l=setTimeout.turn||u,f=c.object,p=0;if(!e.store)return e.log("ERROR: Radisk needs `opt.store` interface with `{get: fn, put: fn (, list: fn)}`!");if(!e.store.put)return e.log("ERROR: Radisk needs `store.put` interface with `(file, data, cb)`!");if(!e.store.get)return e.log("ERROR: Radisk needs `store.get` interface with `(file, cb)`!");""+b!=r(n("uYtg"))&&n("T9Vo");var h=JSON.parseAsync||function(e,t,n){try{t(undefined,JSON.parse(e,n))}catch(e){t(e)}},d=(JSON,function e(t,n,r,i,o){if("function"!=typeof n)e.save(t,n,r,i,o);else{var a=r||{};e.read(t,r=n,a,o||i)}});d.save=function(t,n,r,i,a){var s,u,l={key:t};l.find=function(t){var n;l.file=t||(t=e.code.from),a&&(a=a[t]=a[t]||{}),a&&(a.sf=a.sf||+new Date),(n=d.disk[t])?l.mix(b,n):d.parse(t,l.mix,b,a)},l.mix=function(o,s){if(a&&(a.sml=+new Date),a&&(a.sm=a.sm||+new Date),l.err=o||l.err)r(o);else{var u,f=l.file=(s||"").file||l.file;if(!s&&f!==e.code.from)return d.find.bad(f),void d.save(t,n,r,i);(s=d.disk[f]||(d.disk[f]=s||c())).file||(s.file=f),e.compare&&(n=e.compare(s(t),n,t,f),b===n)?r(o,-1):((l.disk=s)(t,n),i&&((u=(u=s.tags||(s.tags={}))[i]||(u[i]=d.tags[i]||(d.tags[i]={})))[f]||(u[f]=d.one[i]||(d.one[i]=r)),r=null),a&&(a.st=a.st||+new Date),s.Q?r&&s.Q.push(r):(s.Q=r?[r]:[],s.to=setTimeout(l.write,e.until)))}},l.write=function(){a&&(a.sto=a.sto||+new Date);var e=s=l.file,t=l.disk;u=l.q=t.Q,l.tags=t.tags,delete t.Q,delete d.disk[e],delete t.tags,d.write(e,t,l.ack,b,a)},l.ack=function(e,t){var n,r;for(var i in a&&(a.sa=a.sa||+new Date),a&&(a.sal=u.length),d.tags)if(d.tags.hasOwnProperty(i)){var c=d.tags[i];if(!((r=d.disk[s])&&(r=r.tags)&&r[c])){var f;for(var p in n=c[s],delete c[s],c)if(c.hasOwnProperty(p)){f=!0;break}f||(delete d.tags[c],n&&n(e,t))}}!u&&(u="");for(var h=u.length,g=0,m=+new Date;g<h;g++)(n=u[g])&&n(e,t);console.STAT&&console.STAT(m,+new Date-m,"rad acks",o(l.file)),console.STAT&&console.STAT(m,u.length,"rad acks #",o(l.file))},r||(r=function(){}),d.find(t,l.find)},d.disk={},d.one={},d.tags={};var g,m,y,v=0;(d.write=function(t,n,a,s,u){if(n){s="object"==r(s)?s:{force:s};var l,f,h=function(){};h.text="",h.file=t=n.file||(n.file=t),t?(h.write=function(){var r=n.raw=h.text;d.disk[t=n.file||h.file||t]=n;var i=+new Date;u&&(u.wd=i),d.find.add(t,(function(c){u&&(u.wa=+new Date),c?a(c):e.store.put(o(t),r,(function(e,r){u&&(u.wp=+new Date),console.STAT&&console.STAT(i,p=+new Date-i,"wrote disk",JSON.stringify(t),++v,"total all writes."),a(e,r||1),n.Q||delete d.disk[t]}))}))},h.split=function(){var e=+new Date;u&&(u.wf=e),h.text="",h.count||(h.count=0,c.map(n,(function(){h.count++}))),u&&(u.wfc=h.count),h.limit=Math.ceil(h.count/2);var t=h.count;return h.count=0,u&&(u.wf1=+new Date),h.sub=c(),c.map(n,h.slice,{reverse:1}),u&&(u.wf2=+new Date),d.write(h.end,h.sub,h.both,s),u&&(u.wf3=+new Date),h.hub=c(),c.map(n,h.stop),u&&(u.wf4=+new Date),d.write(n.file,h.hub,h.both,s),u&&(u.wf5=+new Date),console.STAT&&console.STAT(e,+new Date-e,"rad split",o(n.file),t),!0},h.slice=function(e,t){if(h.sub(h.end=t,e),h.limit<=++h.count)return!0},h.stop=function(e,t){if(t>=h.end)return!0;h.hub(t,e)},h.both=function(e,t){u&&(u.wfd=+new Date),f?a(e||f):l?a(e,t):(l=!0,f=e)},h.each=function(t,n,r,o){if(b!==t&&h.count++,e.max<=(t||"").length)return a("Data too big!"),!0;var c=i.encode(o.length)+"#"+i.encode(r)+(b===t?"":":"+i.encode(t))+"\n";if(e.chunk<h.text.length+c.length&&1<h.count&&!s.force)return h.split();h.text+=c},e.jsonify?d.write.jsonify(h,n,a,s,u):c.map(n,h.each,!0)||h.write()):a("What file?")}else a("No radix!")}).jsonify=function(t,n,r,i,o){var a,s=+new Date;o&&(o.w=s);try{a=JSON.stringify(n.$)}catch(e){return void r("Cannot radisk!")}if(o&&(o.ws=+new Date),console.STAT&&console.STAT(s,+new Date-s,"rad stringified JSON"),e.chunk<a.length&&!i.force){var u=0;if(c.map(n,(function(){if(u++)return!0})),u>1)return t.split()}t.text=a,t.write()},d.range=function(e,t){if(e&&t){if(b===t.start&&b===t.end)return e;if(b!==(n=e)&&(!n||"object"!=r(n)))return e;var n,i=c();return c.map(e,(function(e,t){i(t,e)}),t),i("")}},d.read=function(t,n,r,i){r=r||{};var a={key:t,find:function(t){var n;a.file=t||(t=e.code.from),i&&(i=i[t]=i[t]||{}),i&&(i.rf=i.rf||+new Date),(n=d.disk[a.file=t])?a.check(b,n):d.parse(t,a.check,b,i)},get:function(o,s,l){if(i&&(i.rgl=+new Date),i&&(i.rg=i.rg||+new Date),a.err=o||a.err)n(o);else{var f=a.file=(s||"").file||a.file;if(!s&&f!==e.code.from)return d.find.bad(f),void d.read(t,n,r);if(s=d.disk[f]||(d.disk[f]=s)){s.file||(s.file=f);var p=d.range(s(t),r);if(i&&(i.rr=+new Date),r.unit=s.unit,r.chunks=(r.chunks||0)+1,r.parsed=(r.parsed||0)+((l||"").parsed||r.chunks*e.chunk),r.more=1,r.next=b,c.map(d.list,(function(e,t){if(e&&f!==t)return r.next=t,1}),r.reverse?{reverse:1,end:f}:{start:f}),i&&(i.rl=+new Date),r.next||(r.more=0),r.next&&(!r.reverse&&(t<r.next&&0!=r.next.indexOf(t)||b!==r.end&&(r.end||"￿")<r.next)&&(r.more=0),r.reverse&&(t>r.next&&0!=t.indexOf(r.next)||b!==r.start&&(r.start||"")>r.next&&f<=r.start)&&(r.more=0)),r.more){if(p&&n(a.err,p,r),!(r.parsed>=r.limit)){var h=+new Date;i&&(i.rm=h);var g=r.next;u((function(){console.STAT&&console.STAT(h,+new Date-h,"rad more"),d.parse(g,a.check)}),0)}}else n(a.err,p,r)}else n(f===e.code.from?b:"No file!")}},check:function(t,n,r){if(a.get(t,n,r),n&&!n.check){n.check=1;var i=+new Date;(r||(r={})).file||(r.file=a.file),c.map(n,(function(t,n){d.find(n,(function(i){if((i||(i=e.code.from))!==r.file){var a=(""+Math.random()).slice(-3);l((function(){d.save(n,t,(function e(c){c?d.save(n,t,e):console.STAT&&console.STAT("MISLOCATED DATA CORRECTED",a,o(n),o(r.file),o(i))}))}),0)}}))})),console.STAT&&console.STAT(i,+new Date-i,"rad check")}}};d.find(t||(r.reverse?r.end||"":r.start||""),a.find)},g=0,m={},y=String.fromCharCode(31),d.parse=function(t,n,r,a){var s;if(!t)return n();if(s=m[t])s.push(n);else{s=m[t]=[n];var u=function(){},f={file:t};(u.disk=c()).file=t,u.read=function(n,r){if(a&&(a.rpg=+new Date),console.STAT&&console.STAT(v,+new Date-v,"read disk",JSON.stringify(t),++g,"total all parses."),(u.err=n)||(u.not=!r))return delete m[t],void u.map(s,u.ack);if("string"!=typeof r){try{e.max<=r.length?u.err="Chunk too big!":r=r.toString()}catch(e){u.err=e}if(u.err)return delete m[t],void u.map(s,u.ack)}f.parsed=r.length,a&&(a.rpl=f.parsed),a&&(a.rpa=s.length),v=+new Date,e.jsonify||"{"===r[0]?h(r,(function(e,n){return e?"{"===r[0]?(delete m[t],u.err="JSON error!",void u.map(s,u.ack)):void u.radec(e,r):(delete m[t],u.disk.$=n,console.STAT&&(p=+new Date-v)>9&&console.STAT(v,p,"rad parsed JSON"),a&&(a.rpd=+new Date),void u.map(s,u.ack))})):u.radec(n,r)},u.map=function(){if(s&&s.length){for(var e,n=+new Date,r=u.err,i=u.not?b:u.disk,a=0;a<9&&(e=s[a++]);)e(r,i,f);console.STAT&&console.STAT(n,+new Date-n,"rad packs",o(t)),console.STAT&&console.STAT(n,a,"rad packs #",o(t)),(s=s.slice(a)).length&&l(u.map,0)}},u.ack=function(e){e&&(u.err||u.not?e(u.err,b,f):e(b,u.disk,f))},u.radec=function(e,n){delete m[t],v=+new Date;var r,i,o,a=u.split(n),c=[];if(!a||0!==a[1])return u.err="File '"+t+"' does not have root radix! ",void u.map(s,u.ack);for(;a;)i=o=b,r=a[1],"#"==(a=u.split(a[2])||"")[0]&&(i=a[1],r<=(c=c.slice(0,r)).length&&c.push(i)),"\n"!=(a=u.split(a[2])||"")[0]&&("="!=a[0]&&":"!=a[0]||(o=a[1]),b!==i&&b!==o&&u.disk(c.join(""),o),a=u.split(a[2]));console.STAT&&console.STAT(v,+new Date-v,"parsed RAD"),u.map(s,u.ack)},u.split=function(e){if(e){var t,n,r=[],o={};if(t=e.indexOf(y),e[t])return n=e.slice(0,t),r[0]=n,r[1]=i.decode(e.slice(t),o),r[2]=e.slice(t+o.i),r}},d.disk&&(r||(r=(d.disk[t]||"").raw));var v=+new Date;if(a&&(a.rp=v),r)return l((function(){u.read(b,r)}),0);e.store.get(o(t),u.read)}},function(){function t(i,a){if(i)return e.log("list",i),void setTimeout((function(){d.parse(o,t)}),1e3);a?n(a):(r=r||a||c(),e.store.list?e.store.list((function(e){e?d.find.add(e,_):n(r)})):n(r))}function n(e,t){(r=r||e).file=o,t=i,i=null,f(t,(function(e){d.find(e[0],e[1])}))}var r,i,o=String.fromCharCode(28);(d.find=function(n,a){if(!r)return i?void i.push([n,a]):(i=[[n,a]],void d.parse(o,t));c.map(d.list=r,(function(e,t){if(e)return a(t)||!0}),{reverse:1,end:n})||a(e.code.from)}).add=function(e,t){r(e)||e===o?t(b,1):(r(e,1),t.found=(t.found||0)+1,d.write(o,r,(function(e){e?t(e):(t.found=(t.found||0)-1,0===t.found&&t(b,1))}),!0))},d.find.bad=function(e,t){r(e,0),d.write(o,r,t||_)}}();try{!a.window&&n("bnIw")(d)}catch(e){}var b,_=function(){};return i.has[e.file]=d,d}var o;if(o=String.fromCharCode(31),i.encode=function(e,t,n){var r=n=n||o;if("string"==typeof e){for(var i=e.indexOf(n);-1!=i;)r+=n,i=e.indexOf(n,i+1);return r+'"'+e+n}return e&&e["#"]&&1==Object.keys(e).length?r+"#"+void 0+r:"number"==typeof e?r+"+"+(e||0)+r:null===e?r+" "+r:!0===e?r+"+"+r:!1===e?r+"-"+r:void 0},i.decode=function(e,t,n){var r,i,a,c=-1,s=0;if((n=n||o)===e[0]){for(;n===e[++c];)++s;for(a=e[i=s]||!0;--s>=0;)c=e.indexOf(n,c+1);return-1==c&&(c=e.length),r=e.slice(i+1,c),t&&(t.i=c+1),'"'===a?r:"#"===a?{"#":r}:"+"===a?0===r.length||parseFloat(r):" "===a?null:"-"!==a&&void 0}},"undefined"!=typeof window){var a=window.Gun,c=window.Radix;window.Radisk=i}else{a=n("07iF"),c=n("hS/R");try{e.exports=i}catch(e){}}i.Radix=c}()}).call(this,n("oPUo").setImmediate)},"9va6":function(e,t,n){(function(e,r){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var o;(function(){function a(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function c(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function s(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function u(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function l(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function f(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function p(e,t){return!!(null==e?0:e.length)&&w(e,t,0)>-1}function h(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function d(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function g(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function m(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function y(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function v(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function b(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function _(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function w(e,t,n){return t==t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):_(e,k,n)}function F(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function k(e){return e!=e}function x(e,t){var n=null==e?0:e.length;return n?j(e,t)/n:ie}function C(e){return function(t){return null==t?V:t[e]}}function O(e){return function(t){return null==e?V:e[t]}}function S(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function j(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);o!==V&&(n=n===V?o:n+o)}return n}function E(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function A(e){return e?e.slice(0,$(e)+1).replace(Ye,""):e}function D(e){return function(t){return e(t)}}function T(e,t){return d(t,(function(t){return e[t]}))}function P(e,t){return e.has(t)}function B(e,t){for(var n=-1,r=e.length;++n<r&&w(t,e[n],0)>-1;);return n}function R(e,t){for(var n=e.length;n--&&w(t,e[n],0)>-1;);return n}function I(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function M(e){return"\\"+Qt[e]}function L(e){return Kt.test(e)}function N(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function z(e,t){return function(n){return e(t(n))}}function U(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==J||(e[n]=J,o[i++]=n)}return o}function H(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function q(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function W(e){return L(e)?function(e){var t=qt.lastIndex=0;for(;qt.test(e);)++t;return t}(e):gn(e)}function K(e){return L(e)?function(e){return e.match(qt)||[]}(e):function(e){return e.split("")}(e)}function $(e){for(var t=e.length;t--&&Je.test(e.charAt(t)););return t}var V,G="Expected a function",Y="__lodash_hash_undefined__",J="__lodash_placeholder__",Q=16,Z=32,X=64,ee=128,te=256,ne=1/0,re=9007199254740991,ie=NaN,oe=4294967295,ae=[["ary",ee],["bind",1],["bindKey",2],["curry",8],["curryRight",Q],["flip",512],["partial",Z],["partialRight",X],["rearg",te]],ce="[object Arguments]",se="[object Array]",ue="[object Boolean]",le="[object Date]",fe="[object Error]",pe="[object Function]",he="[object GeneratorFunction]",de="[object Map]",ge="[object Number]",me="[object Object]",ye="[object Promise]",ve="[object RegExp]",be="[object Set]",_e="[object String]",we="[object Symbol]",Fe="[object WeakMap]",ke="[object ArrayBuffer]",xe="[object DataView]",Ce="[object Float32Array]",Oe="[object Float64Array]",Se="[object Int8Array]",je="[object Int16Array]",Ee="[object Int32Array]",Ae="[object Uint8Array]",De="[object Uint8ClampedArray]",Te="[object Uint16Array]",Pe="[object Uint32Array]",Be=/\b__p \+= '';/g,Re=/\b(__p \+=) '' \+/g,Ie=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Me=/&(?:amp|lt|gt|quot|#39);/g,Le=/[&<>"']/g,Ne=RegExp(Me.source),ze=RegExp(Le.source),Ue=/<%-([\s\S]+?)%>/g,He=/<%([\s\S]+?)%>/g,qe=/<%=([\s\S]+?)%>/g,We=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ke=/^\w*$/,$e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ve=/[\\^$.*+?()[\]{}|]/g,Ge=RegExp(Ve.source),Ye=/^\s+/,Je=/\s/,Qe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ze=/\{\n\/\* \[wrapped with (.+)\] \*/,Xe=/,? & /,et=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,nt=/\\(\\)?/g,rt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,it=/\w*$/,ot=/^[-+]0x[0-9a-f]+$/i,at=/^0b[01]+$/i,ct=/^\[object .+?Constructor\]$/,st=/^0o[0-7]+$/i,ut=/^(?:0|[1-9]\d*)$/,lt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ft=/($^)/,pt=/['\n\r\u2028\u2029\\]/g,ht="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",dt="\\u2700-\\u27bf",gt="a-z\\xdf-\\xf6\\xf8-\\xff",mt="A-Z\\xc0-\\xd6\\xd8-\\xde",yt="\\ufe0e\\ufe0f",vt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",bt="['’]",_t="[\\ud800-\\udfff]",wt="["+vt+"]",Ft="["+ht+"]",kt="\\d+",xt="[\\u2700-\\u27bf]",Ct="["+gt+"]",Ot="[^\\ud800-\\udfff"+vt+kt+dt+gt+mt+"]",St="\\ud83c[\\udffb-\\udfff]",jt="[^\\ud800-\\udfff]",Et="(?:\\ud83c[\\udde6-\\uddff]){2}",At="[\\ud800-\\udbff][\\udc00-\\udfff]",Dt="["+mt+"]",Tt="(?:"+Ct+"|"+Ot+")",Pt="(?:"+Dt+"|"+Ot+")",Bt="(?:['’](?:d|ll|m|re|s|t|ve))?",Rt="(?:['’](?:D|LL|M|RE|S|T|VE))?",It="(?:"+Ft+"|"+St+")"+"?",Mt="[\\ufe0e\\ufe0f]?",Lt=Mt+It+("(?:\\u200d(?:"+[jt,Et,At].join("|")+")"+Mt+It+")*"),Nt="(?:"+[xt,Et,At].join("|")+")"+Lt,zt="(?:"+[jt+Ft+"?",Ft,Et,At,_t].join("|")+")",Ut=RegExp(bt,"g"),Ht=RegExp(Ft,"g"),qt=RegExp(St+"(?="+St+")|"+zt+Lt,"g"),Wt=RegExp([Dt+"?"+Ct+"+"+Bt+"(?="+[wt,Dt,"$"].join("|")+")",Pt+"+"+Rt+"(?="+[wt,Dt+Tt,"$"].join("|")+")",Dt+"?"+Tt+"+"+Bt,Dt+"+"+Rt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",kt,Nt].join("|"),"g"),Kt=RegExp("[\\u200d\\ud800-\\udfff"+ht+yt+"]"),$t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Vt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Gt=-1,Yt={};Yt[Ce]=Yt[Oe]=Yt[Se]=Yt[je]=Yt[Ee]=Yt[Ae]=Yt[De]=Yt[Te]=Yt[Pe]=!0,Yt[ce]=Yt[se]=Yt[ke]=Yt[ue]=Yt[xe]=Yt[le]=Yt[fe]=Yt[pe]=Yt[de]=Yt[ge]=Yt[me]=Yt[ve]=Yt[be]=Yt[_e]=Yt[Fe]=!1;var Jt={};Jt[ce]=Jt[se]=Jt[ke]=Jt[xe]=Jt[ue]=Jt[le]=Jt[Ce]=Jt[Oe]=Jt[Se]=Jt[je]=Jt[Ee]=Jt[de]=Jt[ge]=Jt[me]=Jt[ve]=Jt[be]=Jt[_e]=Jt[we]=Jt[Ae]=Jt[De]=Jt[Te]=Jt[Pe]=!0,Jt[fe]=Jt[pe]=Jt[Fe]=!1;var Qt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Zt=parseFloat,Xt=parseInt,en="object"==(void 0===e?"undefined":i(e))&&e&&e.Object===Object&&e,tn="object"==("undefined"==typeof self?"undefined":i(self))&&self&&self.Object===Object&&self,nn=en||tn||Function("return this")(),rn="object"==i(t)&&t&&!t.nodeType&&t,on=rn&&"object"==i(r)&&r&&!r.nodeType&&r,an=on&&on.exports===rn,cn=an&&en.process,sn=function(){try{var e=on&&on.require&&on.require("util").types;return e||cn&&cn.binding&&cn.binding("util")}catch(e){}}(),un=sn&&sn.isArrayBuffer,ln=sn&&sn.isDate,fn=sn&&sn.isMap,pn=sn&&sn.isRegExp,hn=sn&&sn.isSet,dn=sn&&sn.isTypedArray,gn=C("length"),mn=O({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),yn=O({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),vn=O({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),bn=function e(t){function n(e){if(Ni(e)&&!Ac(e)&&!(e instanceof O)){if(e instanceof o)return e;if(Eo.call(e,"__wrapped__"))return fi(e)}return new o(e)}function r(){}function o(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=V}function O(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=oe,this.__views__=[]}function Je(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ht(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function dt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function gt(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new dt;++t<n;)this.add(e[t])}function mt(e){var t=this.__data__=new ht(e);this.size=t.size}function yt(e,t){var n=Ac(e),r=!n&&Ec(e),i=!n&&!r&&Tc(e),o=!n&&!r&&!i&&Mc(e),a=n||r||i||o,c=a?E(e.length,ko):[],s=c.length;for(var u in e)!t&&!Eo.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Yr(u,s))||c.push(u);return c}function vt(e){var t=e.length;return t?e[Bn(0,t-1)]:V}function bt(e,t){return si(fr(e),jt(t,0,e.length))}function _t(e){return si(fr(e))}function wt(e,t,n){(n!==V&&!Di(e[t],n)||n===V&&!(t in e))&&Ot(e,t,n)}function Ft(e,t,n){var r=e[t];Eo.call(e,t)&&Di(r,n)&&(n!==V||t in e)||Ot(e,t,n)}function kt(e,t){for(var n=e.length;n--;)if(Di(e[n][0],t))return n;return-1}function xt(e,t,n,r){return Sa(e,(function(e,i,o){t(r,e,n(e),o)})),r}function Ct(e,t){return e&&pr(t,Xi(t),e)}function Ot(e,t,n){"__proto__"==t&&Vo?Vo(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function St(e,t){for(var n=-1,r=t.length,i=mo(r),o=null==e;++n<r;)i[n]=o?V:Qi(e,t[n]);return i}function jt(e,t,n){return e==e&&(n!==V&&(e=e<=n?e:n),t!==V&&(e=e>=t?e:t)),e}function Et(e,t,n,r,i,o){var a,c=1&t,u=2&t,l=4&t;if(n&&(a=i?n(e,r,i,o):n(e)),a!==V)return a;if(!Li(e))return e;var f=Ac(e);if(f){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Eo.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return fr(e,a)}else{var p=Na(e),h=p==pe||p==he;if(Tc(e))return or(e,c);if(p==me||p==ce||h&&!i){if(a=u||h?{}:Vr(e),!c)return u?function(e,t){return pr(e,La(e),t)}(e,function(e,t){return e&&pr(t,eo(t),e)}(a,e)):function(e,t){return pr(e,Ma(e),t)}(e,Ct(a,e))}else{if(!Jt[p])return i?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case ke:return ar(e);case ue:case le:return new r(+e);case xe:return function(e,t){var n=t?ar(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case Ce:case Oe:case Se:case je:case Ee:case Ae:case De:case Te:case Pe:return cr(e,n);case de:return new r;case ge:case _e:return new r(e);case ve:return function(e){var t=new e.constructor(e.source,it.exec(e));return t.lastIndex=e.lastIndex,t}(e);case be:return new r;case we:return i=e,xa?wo(xa.call(i)):{}}var i}(e,p,c)}}o||(o=new mt);var d=o.get(e);if(d)return d;o.set(e,a),Ic(e)?e.forEach((function(r){a.add(Et(r,t,n,r,e,o))})):Bc(e)&&e.forEach((function(r,i){a.set(i,Et(r,t,n,i,e,o))}));var g=f?V:(l?u?Nr:Lr:u?eo:Xi)(e);return s(g||e,(function(r,i){g&&(r=e[i=r]),Ft(a,i,Et(r,t,n,i,e,o))})),a}function At(e,t,n){var r=n.length;if(null==e)return!r;for(e=wo(e);r--;){var i=n[r],o=e[i];if(o===V&&!(i in e)||!(0,t[i])(o))return!1}return!0}function Dt(e,t,n){if("function"!=typeof e)throw new xo(G);return Ha((function(){e.apply(V,n)}),t)}function Tt(e,t,n,r){var i=-1,o=p,a=!0,c=e.length,s=[],u=t.length;if(!c)return s;n&&(t=d(t,D(n))),r?(o=h,a=!1):t.length>=200&&(o=P,a=!1,t=new gt(t));e:for(;++i<c;){var l=e[i],f=null==n?l:n(l);if(l=r||0!==l?l:0,a&&f==f){for(var g=u;g--;)if(t[g]===f)continue e;s.push(l)}else o(t,f,r)||s.push(l)}return s}function Pt(e,t){var n=!0;return Sa(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function Bt(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(c===V?a==a&&!qi(a):n(a,c)))var c=a,s=o}return s}function Rt(e,t){var n=[];return Sa(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function It(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=Gr),i||(i=[]);++o<a;){var c=e[o];t>0&&n(c)?t>1?It(c,t-1,n,r,i):g(i,c):r||(i[i.length]=c)}return i}function Mt(e,t){return e&&Ea(e,t,Xi)}function Lt(e,t){return e&&Aa(e,t,Xi)}function Nt(e,t){return f(t,(function(t){return Ri(e[t])}))}function zt(e,t){for(var n=0,r=(t=rr(t,e)).length;null!=e&&n<r;)e=e[ui(t[n++])];return n&&n==r?e:V}function qt(e,t,n){var r=t(e);return Ac(e)?r:g(r,n(e))}function Kt(e){return null==e?e===V?"[object Undefined]":"[object Null]":$o&&$o in wo(e)?function(e){var t=Eo.call(e,$o),n=e[$o];try{e[$o]=V;var r=!0}catch(e){}var i=To.call(e);r&&(t?e[$o]=n:delete e[$o]);return i}(e):function(e){return To.call(e)}(e)}function Qt(e,t){return e>t}function en(e,t){return null!=e&&Eo.call(e,t)}function tn(e,t){return null!=e&&t in wo(e)}function rn(e,t,n){for(var r=n?h:p,i=e[0].length,o=e.length,a=o,c=mo(o),s=1/0,u=[];a--;){var l=e[a];a&&t&&(l=d(l,D(t))),s=oa(l.length,s),c[a]=!n&&(t||i>=120&&l.length>=120)?new gt(a&&l):V}l=e[0];var f=-1,g=c[0];e:for(;++f<i&&u.length<s;){var m=l[f],y=t?t(m):m;if(m=n||0!==m?m:0,!(g?P(g,y):r(u,y,n))){for(a=o;--a;){var v=c[a];if(!(v?P(v,y):r(e[a],y,n)))continue e}g&&g.push(y),u.push(m)}}return u}function on(e,t,n){var r=null==(e=ri(e,t=rr(t,e)))?e:e[ui(mi(t))];return null==r?V:a(r,e,n)}function cn(e){return Ni(e)&&Kt(e)==ce}function sn(e,t,n,r,i){return e===t||(null==e||null==t||!Ni(e)&&!Ni(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var a=Ac(e),c=Ac(t),s=a?se:Na(e),u=c?se:Na(t),l=(s=s==ce?me:s)==me,f=(u=u==ce?me:u)==me,p=s==u;if(p&&Tc(e)){if(!Tc(t))return!1;a=!0,l=!1}if(p&&!l)return o||(o=new mt),a||Mc(e)?Ir(e,t,n,r,i,o):function(e,t,n,r,i,o,a){switch(n){case xe:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ke:return!(e.byteLength!=t.byteLength||!o(new Lo(e),new Lo(t)));case ue:case le:case ge:return Di(+e,+t);case fe:return e.name==t.name&&e.message==t.message;case ve:case _e:return e==t+"";case de:var c=N;case be:if(c||(c=H),e.size!=t.size&&!(1&r))return!1;var s=a.get(e);if(s)return s==t;r|=2,a.set(e,t);var u=Ir(c(e),c(t),r,i,o,a);return a.delete(e),u;case we:if(xa)return xa.call(e)==xa.call(t)}return!1}(e,t,s,n,r,i,o);if(!(1&n)){var h=l&&Eo.call(e,"__wrapped__"),d=f&&Eo.call(t,"__wrapped__");if(h||d){var g=h?e.value():e,m=d?t.value():t;return o||(o=new mt),i(g,m,n,r,o)}}if(!p)return!1;return o||(o=new mt),function(e,t,n,r,i,o){var a=1&n,c=Lr(e),s=c.length,u=Lr(t);if(s!=u.length&&!a)return!1;var l=s;for(;l--;){var f=c[l];if(!(a?f in t:Eo.call(t,f)))return!1}var p=o.get(e),h=o.get(t);if(p&&h)return p==t&&h==e;var d=!0;o.set(e,t),o.set(t,e);var g=a;for(;++l<s;){var m=e[f=c[l]],y=t[f];if(r)var v=a?r(y,m,f,t,e,o):r(m,y,f,e,t,o);if(!(v===V?m===y||i(m,y,n,r,o):v)){d=!1;break}g||(g="constructor"==f)}if(d&&!g){var b=e.constructor,_=t.constructor;b==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(d=!1)}return o.delete(e),o.delete(t),d}(e,t,n,r,i,o)}(e,t,n,r,sn,i))}function gn(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=wo(e);i--;){var c=n[i];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<o;){var s=(c=n[i])[0],u=e[s],l=c[1];if(a&&c[2]){if(u===V&&!(s in e))return!1}else{var f=new mt;if(r)var p=r(u,l,s,e,t,f);if(!(p===V?sn(l,u,3,r,f):p))return!1}}return!0}function _n(e){return!(!Li(e)||(t=e,Do&&Do in t))&&(Ri(e)?Ro:ct).test(li(e));var t}function wn(e){return"function"==typeof e?e:null==e?co:"object"==i(e)?Ac(e)?Sn(e[0],e[1]):On(e):fo(e)}function Fn(e){if(!Xr(e))return ra(e);var t=[];for(var n in wo(e))Eo.call(e,n)&&"constructor"!=n&&t.push(n);return t}function kn(e){if(!Li(e))return function(e){var t=[];if(null!=e)for(var n in wo(e))t.push(n);return t}(e);var t=Xr(e),n=[];for(var r in e)("constructor"!=r||!t&&Eo.call(e,r))&&n.push(r);return n}function xn(e,t){return e<t}function Cn(e,t){var n=-1,r=Ti(e)?mo(e.length):[];return Sa(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function On(e){var t=Wr(e);return 1==t.length&&t[0][2]?ti(t[0][0],t[0][1]):function(n){return n===e||gn(n,e,t)}}function Sn(e,t){return Qr(e)&&ei(t)?ti(ui(e),t):function(n){var r=Qi(n,e);return r===V&&r===t?Zi(n,e):sn(t,r,3)}}function jn(e,t,n,r,i){e!==t&&Ea(t,(function(o,a){if(i||(i=new mt),Li(o))!function(e,t,n,r,i,o,a){var c=oi(e,n),s=oi(t,n),u=a.get(s);if(u)return void wt(e,n,u);var l=o?o(c,s,n+"",e,t,a):V,f=l===V;if(f){var p=Ac(s),h=!p&&Tc(s),d=!p&&!h&&Mc(s);l=s,p||h||d?Ac(c)?l=c:Pi(c)?l=fr(c):h?(f=!1,l=or(s,!0)):d?(f=!1,l=cr(s,!0)):l=[]:Ui(s)||Ec(s)?(l=c,Ec(c)?l=Yi(c):Li(c)&&!Ri(c)||(l=Vr(s))):f=!1}f&&(a.set(s,l),i(l,s,r,o,a),a.delete(s));wt(e,n,l)}(e,t,a,n,jn,r,i);else{var c=r?r(oi(e,a),o,a+"",e,t,i):V;c===V&&(c=o),wt(e,a,c)}}),eo)}function En(e,t){var n=e.length;if(n)return Yr(t+=t<0?n:0,n)?e[t]:V}function An(e,t,n){t=t.length?d(t,(function(e){return Ac(e)?function(t){return zt(t,1===e.length?e[0]:e)}:e})):[co];var r=-1;t=d(t,D(Hr()));var i=Cn(e,(function(e){var n=d(t,(function(t){return t(e)}));return{criteria:n,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(i,(function(e,t){return function(e,t,n){var r=-1,i=e.criteria,o=t.criteria,a=i.length,c=n.length;for(;++r<a;){var s=sr(i[r],o[r]);if(s)return r>=c?s:s*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Dn(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],c=zt(e,a);n(c,a)&&Nn(o,rr(a,e),c)}return o}function Tn(e,t,n,r){var i=r?F:w,o=-1,a=t.length,c=e;for(e===t&&(t=fr(t)),n&&(c=d(e,D(n)));++o<a;)for(var s=0,u=t[o],l=n?n(u):u;(s=i(c,l,s,r))>-1;)c!==e&&qo.call(c,s,1),qo.call(e,s,1);return e}function Pn(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;Yr(i)?qo.call(e,i,1):Yn(e,i)}}return e}function Bn(e,t){return e+Zo(sa()*(t-e+1))}function Rn(e,t){var n="";if(!e||t<1||t>re)return n;do{t%2&&(n+=e),(t=Zo(t/2))&&(e+=e)}while(t);return n}function In(e,t){return qa(ni(e,t,co),e+"")}function Mn(e){return vt(no(e))}function Ln(e,t){var n=no(e);return si(n,jt(t,0,n.length))}function Nn(e,t,n,r){if(!Li(e))return e;for(var i=-1,o=(t=rr(t,e)).length,a=o-1,c=e;null!=c&&++i<o;){var s=ui(t[i]),u=n;if("__proto__"===s||"constructor"===s||"prototype"===s)return e;if(i!=a){var l=c[s];(u=r?r(l,s,c):V)===V&&(u=Li(l)?l:Yr(t[i+1])?[]:{})}Ft(c,s,u),c=c[s]}return e}function zn(e){return si(no(e))}function Un(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=mo(i);++r<i;)o[r]=e[r+t];return o}function Hn(e,t){var n;return Sa(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function qn(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!qi(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return Wn(e,t,co,n)}function Wn(e,t,n,r){var i=0,o=null==e?0:e.length;if(0===o)return 0;for(var a=(t=n(t))!=t,c=null===t,s=qi(t),u=t===V;i<o;){var l=Zo((i+o)/2),f=n(e[l]),p=f!==V,h=null===f,d=f==f,g=qi(f);if(a)var m=r||d;else m=u?d&&(r||p):c?d&&p&&(r||!h):s?d&&p&&!h&&(r||!g):!h&&!g&&(r?f<=t:f<t);m?i=l+1:o=l}return oa(o,4294967294)}function Kn(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],c=t?t(a):a;if(!n||!Di(c,s)){var s=c;o[i++]=0===a?0:a}}return o}function $n(e){return"number"==typeof e?e:qi(e)?ie:+e}function Vn(e){if("string"==typeof e)return e;if(Ac(e))return d(e,Vn)+"";if(qi(e))return Ca?Ca.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Gn(e,t,n){var r=-1,i=p,o=e.length,a=!0,c=[],s=c;if(n)a=!1,i=h;else if(o>=200){var u=t?null:Ra(e);if(u)return H(u);a=!1,i=P,s=new gt}else s=t?[]:c;e:for(;++r<o;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,a&&f==f){for(var d=s.length;d--;)if(s[d]===f)continue e;t&&s.push(f),c.push(l)}else i(s,f,n)||(s!==c&&s.push(f),c.push(l))}return c}function Yn(e,t){return null==(e=ri(e,t=rr(t,e)))||delete e[ui(mi(t))]}function Jn(e,t,n,r){return Nn(e,t,n(zt(e,t)),r)}function Qn(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Un(e,r?0:o,r?o+1:i):Un(e,r?o+1:0,r?i:o)}function Zn(e,t){var n=e;return n instanceof O&&(n=n.value()),m(t,(function(e,t){return t.func.apply(t.thisArg,g([e],t.args))}),n)}function Xn(e,t,n){var r=e.length;if(r<2)return r?Gn(e[0]):[];for(var i=-1,o=mo(r);++i<r;)for(var a=e[i],c=-1;++c<r;)c!=i&&(o[i]=Tt(o[i]||a,e[c],t,n));return Gn(It(o,1),t,n)}function er(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){n(a,e[r],r<o?t[r]:V)}return a}function tr(e){return Pi(e)?e:[]}function nr(e){return"function"==typeof e?e:co}function rr(e,t){return Ac(e)?e:Qr(e,t)?[e]:Wa(Ji(e))}function ir(e,t,n){var r=e.length;return n=n===V?r:n,!t&&n>=r?e:Un(e,t,n)}function or(e,t){if(t)return e.slice();var n=e.length,r=No?No(n):new e.constructor(n);return e.copy(r),r}function ar(e){var t=new e.constructor(e.byteLength);return new Lo(t).set(new Lo(e)),t}function cr(e,t){var n=t?ar(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function sr(e,t){if(e!==t){var n=e!==V,r=null===e,i=e==e,o=qi(e),a=t!==V,c=null===t,s=t==t,u=qi(t);if(!c&&!u&&!o&&e>t||o&&a&&s&&!c&&!u||r&&a&&s||!n&&s||!i)return 1;if(!r&&!o&&!u&&e<t||u&&n&&i&&!r&&!o||c&&n&&i||!a&&i||!s)return-1}return 0}function ur(e,t,n,r){for(var i=-1,o=e.length,a=n.length,c=-1,s=t.length,u=ia(o-a,0),l=mo(s+u),f=!r;++c<s;)l[c]=t[c];for(;++i<a;)(f||i<o)&&(l[n[i]]=e[i]);for(;u--;)l[c++]=e[i++];return l}function lr(e,t,n,r){for(var i=-1,o=e.length,a=-1,c=n.length,s=-1,u=t.length,l=ia(o-c,0),f=mo(l+u),p=!r;++i<l;)f[i]=e[i];for(var h=i;++s<u;)f[h+s]=t[s];for(;++a<c;)(p||i<o)&&(f[h+n[a]]=e[i++]);return f}function fr(e,t){var n=-1,r=e.length;for(t||(t=mo(r));++n<r;)t[n]=e[n];return t}function pr(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var c=t[o],s=r?r(n[c],e[c],c,n,e):V;s===V&&(s=e[c]),i?Ot(n,c,s):Ft(n,c,s)}return n}function hr(e,t){return function(n,r){var i=Ac(n)?c:xt,o=t?t():{};return i(n,e,Hr(r,2),o)}}function dr(e){return In((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:V,a=i>2?n[2]:V;for(o=e.length>3&&"function"==typeof o?(i--,o):V,a&&Jr(n[0],n[1],a)&&(o=i<3?V:o,i=1),t=wo(t);++r<i;){var c=n[r];c&&e(t,c,r,o)}return t}))}function gr(e,t){return function(n,r){if(null==n)return n;if(!Ti(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=wo(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function mr(e){return function(t,n,r){for(var i=-1,o=wo(t),a=r(t),c=a.length;c--;){var s=a[e?c:++i];if(!1===n(o[s],s,o))break}return t}}function yr(e){return function(t){var n=L(t=Ji(t))?K(t):V,r=n?n[0]:t.charAt(0),i=n?ir(n,1).join(""):t.slice(1);return r[e]()+i}}function vr(e){return function(t){return m(oo(io(t).replace(Ut,"")),e,"")}}function br(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Oa(e.prototype),r=e.apply(n,t);return Li(r)?r:n}}function _r(e){return function(t,n,r){var i=wo(t);if(!Ti(t)){var o=Hr(n,3);t=Xi(t),n=function(e){return o(i[e],e,i)}}var a=e(t,n,r);return a>-1?i[o?t[a]:a]:V}}function wr(e){return Mr((function(t){var n=t.length,r=n,i=o.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new xo(G);if(i&&!c&&"wrapper"==zr(a))var c=new o([],!0)}for(r=c?r:n;++r<n;){var s=zr(a=t[r]),u="wrapper"==s?Ia(a):V;c=u&&Zr(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?c[zr(u[0])].apply(c,u[3]):1==a.length&&Zr(a)?c[s]():c.thru(a)}return function(){var e=arguments,r=e[0];if(c&&1==e.length&&Ac(r))return c.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function Fr(e,t,n,r,i,o,a,c,s,u){var l=t&ee,f=1&t,p=2&t,h=24&t,d=512&t,g=p?V:br(e);return function m(){for(var y=arguments.length,v=mo(y),b=y;b--;)v[b]=arguments[b];if(h)var _=Ur(m),w=I(v,_);if(r&&(v=ur(v,r,i,h)),o&&(v=lr(v,o,a,h)),y-=w,h&&y<u){var F=U(v,_);return Er(e,t,Fr,m.placeholder,n,v,F,c,s,u-y)}var k=f?n:this,x=p?k[e]:e;return y=v.length,c?v=ii(v,c):d&&y>1&&v.reverse(),l&&s<y&&(v.length=s),this&&this!==nn&&this instanceof m&&(x=g||br(x)),x.apply(k,v)}}function kr(e,t){return function(n,r){return function(e,t,n,r){return Mt(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function xr(e,t){return function(n,r){var i;if(n===V&&r===V)return t;if(n!==V&&(i=n),r!==V){if(i===V)return r;"string"==typeof n||"string"==typeof r?(n=Vn(n),r=Vn(r)):(n=$n(n),r=$n(r)),i=e(n,r)}return i}}function Cr(e){return Mr((function(t){return t=d(t,D(Hr())),In((function(n){var r=this;return e(t,(function(e){return a(e,r,n)}))}))}))}function Or(e,t){var n=(t=t===V?" ":Vn(t)).length;if(n<2)return n?Rn(t,e):t;var r=Rn(t,Qo(e/W(t)));return L(t)?ir(K(r),0,e).join(""):r.slice(0,e)}function Sr(e){return function(t,n,r){return r&&"number"!=typeof r&&Jr(t,n,r)&&(n=r=V),t=Ki(t),n===V?(n=t,t=0):n=Ki(n),function(e,t,n,r){for(var i=-1,o=ia(Qo((t-e)/(n||1)),0),a=mo(o);o--;)a[r?o:++i]=e,e+=n;return a}(t,n,r=r===V?t<n?1:-1:Ki(r),e)}}function jr(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Gi(t),n=Gi(n)),e(t,n)}}function Er(e,t,n,r,i,o,a,c,s,u){var l=8&t;t|=l?Z:X,4&(t&=~(l?X:Z))||(t&=-4);var f=[e,t,i,l?o:V,l?a:V,l?V:o,l?V:a,c,s,u],p=n.apply(V,f);return Zr(e)&&Ua(p,f),p.placeholder=r,ai(p,e,t)}function Ar(e){var t=_o[e];return function(e,n){if(e=Gi(e),(n=null==n?0:oa($i(n),292))&&ta(e)){var r=(Ji(e)+"e").split("e");return+((r=(Ji(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}function Dr(e){return function(t){var n=Na(t);return n==de?N(t):n==be?q(t):function(e,t){return d(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Tr(e,t,n,r,i,o,c,s){var u=2&t;if(!u&&"function"!=typeof e)throw new xo(G);var l=r?r.length:0;if(l||(t&=-97,r=i=V),c=c===V?c:ia($i(c),0),s=s===V?s:$i(s),l-=i?i.length:0,t&X){var f=r,p=i;r=i=V}var h=u?V:Ia(e),d=[e,t,n,r,i,f,p,o,c,s];if(h&&function(e,t){var n=e[1],r=t[1],i=n|r,o=r==ee&&8==n||r==ee&&n==te&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!(i<131||o))return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var a=t[3];if(a){var c=e[3];e[3]=c?ur(c,a,t[4]):a,e[4]=c?U(e[3],J):t[4]}(a=t[5])&&(e[5]=(c=e[5])?lr(c,a,t[6]):a,e[6]=c?U(e[5],J):t[6]);(a=t[7])&&(e[7]=a);r&ee&&(e[8]=null==e[8]?t[8]:oa(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(d,h),e=d[0],t=d[1],n=d[2],r=d[3],i=d[4],!(s=d[9]=d[9]===V?u?0:e.length:ia(d[9]-l,0))&&24&t&&(t&=-25),t&&1!=t)g=8==t||t==Q?function(e,t,n){var r=br(e);return function i(){for(var o=arguments.length,c=mo(o),s=o,u=Ur(i);s--;)c[s]=arguments[s];var l=o<3&&c[0]!==u&&c[o-1]!==u?[]:U(c,u);return(o-=l.length)<n?Er(e,t,Fr,i.placeholder,V,c,l,V,V,n-o):a(this&&this!==nn&&this instanceof i?r:e,this,c)}}(e,t,s):t!=Z&&33!=t||i.length?Fr.apply(V,d):function(e,t,n,r){var i=1&t,o=br(e);return function t(){for(var c=-1,s=arguments.length,u=-1,l=r.length,f=mo(l+s),p=this&&this!==nn&&this instanceof t?o:e;++u<l;)f[u]=r[u];for(;s--;)f[u++]=arguments[++c];return a(p,i?n:this,f)}}(e,t,n,r);else var g=function(e,t,n){var r=1&t,i=br(e);return function t(){return(this&&this!==nn&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return ai((h?Da:Ua)(g,d),e,t)}function Pr(e,t,n,r){return e===V||Di(e,Oo[n])&&!Eo.call(r,n)?t:e}function Br(e,t,n,r,i,o){return Li(e)&&Li(t)&&(o.set(t,e),jn(e,t,V,Br,o),o.delete(t)),e}function Rr(e){return Ui(e)?V:e}function Ir(e,t,n,r,i,o){var a=1&n,c=e.length,s=t.length;if(c!=s&&!(a&&s>c))return!1;var u=o.get(e),l=o.get(t);if(u&&l)return u==t&&l==e;var f=-1,p=!0,h=2&n?new gt:V;for(o.set(e,t),o.set(t,e);++f<c;){var d=e[f],g=t[f];if(r)var m=a?r(g,d,f,t,e,o):r(d,g,f,e,t,o);if(m!==V){if(m)continue;p=!1;break}if(h){if(!v(t,(function(e,t){if(!P(h,t)&&(d===e||i(d,e,n,r,o)))return h.push(t)}))){p=!1;break}}else if(d!==g&&!i(d,g,n,r,o)){p=!1;break}}return o.delete(e),o.delete(t),p}function Mr(e){return qa(ni(e,V,di),e+"")}function Lr(e){return qt(e,Xi,Ma)}function Nr(e){return qt(e,eo,La)}function zr(e){for(var t=e.name+"",n=ya[t],r=Eo.call(ya,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Ur(e){return(Eo.call(n,"placeholder")?n:e).placeholder}function Hr(){var e=n.iteratee||so;return e=e===so?wn:e,arguments.length?e(arguments[0],arguments[1]):e}function qr(e,t){var n,r,o=e.__data__;return("string"==(r=i(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Wr(e){for(var t=Xi(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,ei(i)]}return t}function Kr(e,t){var n=function(e,t){return null==e?V:e[t]}(e,t);return _n(n)?n:V}function $r(e,t,n){for(var r=-1,i=(t=rr(t,e)).length,o=!1;++r<i;){var a=ui(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Mi(i)&&Yr(a,i)&&(Ac(e)||Ec(e))}function Vr(e){return"function"!=typeof e.constructor||Xr(e)?{}:Oa(zo(e))}function Gr(e){return Ac(e)||Ec(e)||!!(Wo&&e&&e[Wo])}function Yr(e,t){var n=i(e);return!!(t=null==t?re:t)&&("number"==n||"symbol"!=n&&ut.test(e))&&e>-1&&e%1==0&&e<t}function Jr(e,t,n){if(!Li(n))return!1;var r=i(t);return!!("number"==r?Ti(n)&&Yr(t,n.length):"string"==r&&t in n)&&Di(n[t],e)}function Qr(e,t){if(Ac(e))return!1;var n=i(e);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!qi(e))||(Ke.test(e)||!We.test(e)||null!=t&&e in wo(t))}function Zr(e){var t=zr(e),r=n[t];if("function"!=typeof r||!(t in O.prototype))return!1;if(e===r)return!0;var i=Ia(r);return!!i&&e===i[0]}function Xr(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Oo)}function ei(e){return e==e&&!Li(e)}function ti(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==V||e in wo(n)))}}function ni(e,t,n){return t=ia(t===V?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=ia(r.length-t,0),c=mo(o);++i<o;)c[i]=r[t+i];i=-1;for(var s=mo(t+1);++i<t;)s[i]=r[i];return s[t]=n(c),a(e,this,s)}}function ri(e,t){return t.length<2?e:zt(e,Un(t,0,-1))}function ii(e,t){for(var n=e.length,r=oa(t.length,n),i=fr(e);r--;){var o=t[r];e[r]=Yr(o,n)?i[o]:V}return e}function oi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function ai(e,t,n){var r=t+"";return qa(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Qe,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return s(ae,(function(n){var r="_."+n[0];t&n[1]&&!p(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Ze);return t?t[1].split(Xe):[]}(r),n)))}function ci(e){var t=0,n=0;return function(){var r=aa(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(V,arguments)}}function si(e,t){var n=-1,r=e.length,i=r-1;for(t=t===V?r:t;++n<t;){var o=Bn(n,i),a=e[o];e[o]=e[n],e[n]=a}return e.length=t,e}function ui(e){if("string"==typeof e||qi(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function li(e){if(null!=e){try{return jo.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function fi(e){if(e instanceof O)return e.clone();var t=new o(e.__wrapped__,e.__chain__);return t.__actions__=fr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function pi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:$i(n);return i<0&&(i=ia(r+i,0)),_(e,Hr(t,3),i)}function hi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==V&&(i=$i(n),i=n<0?ia(r+i,0):oa(i,r-1)),_(e,Hr(t,3),i,!0)}function di(e){return(null==e?0:e.length)?It(e,1):[]}function gi(e){return e&&e.length?e[0]:V}function mi(e){var t=null==e?0:e.length;return t?e[t-1]:V}function yi(e,t){return e&&e.length&&t&&t.length?Tn(e,t):e}function vi(e){return null==e?e:ua.call(e)}function bi(e){if(!e||!e.length)return[];var t=0;return e=f(e,(function(e){if(Pi(e))return t=ia(e.length,t),!0})),E(t,(function(t){return d(e,C(t))}))}function _i(e,t){if(!e||!e.length)return[];var n=bi(e);return null==t?n:d(n,(function(e){return a(t,V,e)}))}function wi(e){var t=n(e);return t.__chain__=!0,t}function Fi(e,t){return t(e)}function ki(e,t){return(Ac(e)?s:Sa)(e,Hr(t,3))}function xi(e,t){return(Ac(e)?u:ja)(e,Hr(t,3))}function Ci(e,t){return(Ac(e)?d:Cn)(e,Hr(t,3))}function Oi(e,t,n){return t=n?V:t,Tr(e,ee,V,V,V,V,t=e&&null==t?e.length:t)}function Si(e,t){var n;if("function"!=typeof t)throw new xo(G);return e=$i(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=V),n}}function ji(e,t,n){function r(t){var n=u,r=l;return u=l=V,g=t,p=e.apply(r,n)}function i(e){return g=e,h=Ha(a,t),m?r(e):p}function o(e){var n=e-d;return d===V||n>=t||n<0||y&&e-g>=f}function a(){var e=yc();if(o(e))return c(e);h=Ha(a,function(e){var n=t-(e-d);return y?oa(n,f-(e-g)):n}(e))}function c(e){return h=V,v&&u?r(e):(u=l=V,p)}function s(){var e=yc(),n=o(e);if(u=arguments,l=this,d=e,n){if(h===V)return i(d);if(y)return Ba(h),h=Ha(a,t),r(d)}return h===V&&(h=Ha(a,t)),p}var u,l,f,p,h,d,g=0,m=!1,y=!1,v=!0;if("function"!=typeof e)throw new xo(G);return t=Gi(t)||0,Li(n)&&(m=!!n.leading,f=(y="maxWait"in n)?ia(Gi(n.maxWait)||0,t):f,v="trailing"in n?!!n.trailing:v),s.cancel=function(){h!==V&&Ba(h),g=0,u=d=l=h=V},s.flush=function(){return h===V?p:c(yc())},s}function Ei(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new xo(G);var n=function n(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ei.Cache||dt),n}function Ai(e){if("function"!=typeof e)throw new xo(G);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Di(e,t){return e===t||e!=e&&t!=t}function Ti(e){return null!=e&&Mi(e.length)&&!Ri(e)}function Pi(e){return Ni(e)&&Ti(e)}function Bi(e){if(!Ni(e))return!1;var t=Kt(e);return t==fe||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ui(e)}function Ri(e){if(!Li(e))return!1;var t=Kt(e);return t==pe||t==he||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ii(e){return"number"==typeof e&&e==$i(e)}function Mi(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=re}function Li(e){var t=i(e);return null!=e&&("object"==t||"function"==t)}function Ni(e){return null!=e&&"object"==i(e)}function zi(e){return"number"==typeof e||Ni(e)&&Kt(e)==ge}function Ui(e){if(!Ni(e)||Kt(e)!=me)return!1;var t=zo(e);if(null===t)return!0;var n=Eo.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&jo.call(n)==Po}function Hi(e){return"string"==typeof e||!Ac(e)&&Ni(e)&&Kt(e)==_e}function qi(e){return"symbol"==i(e)||Ni(e)&&Kt(e)==we}function Wi(e){if(!e)return[];if(Ti(e))return Hi(e)?K(e):fr(e);if(Ko&&e[Ko])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ko]());var t=Na(e);return(t==de?N:t==be?H:no)(e)}function Ki(e){return e?(e=Gi(e))===ne||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function $i(e){var t=Ki(e),n=t%1;return t==t?n?t-n:t:0}function Vi(e){return e?jt($i(e),0,oe):0}function Gi(e){if("number"==typeof e)return e;if(qi(e))return ie;if(Li(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Li(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=A(e);var n=at.test(e);return n||st.test(e)?Xt(e.slice(2),n?2:8):ot.test(e)?ie:+e}function Yi(e){return pr(e,eo(e))}function Ji(e){return null==e?"":Vn(e)}function Qi(e,t,n){var r=null==e?V:zt(e,t);return r===V?n:r}function Zi(e,t){return null!=e&&$r(e,t,tn)}function Xi(e){return Ti(e)?yt(e):Fn(e)}function eo(e){return Ti(e)?yt(e,!0):kn(e)}function to(e,t){if(null==e)return{};var n=d(Nr(e),(function(e){return[e]}));return t=Hr(t),Dn(e,n,(function(e,n){return t(e,n[0])}))}function no(e){return null==e?[]:T(e,Xi(e))}function ro(e){return us(Ji(e).toLowerCase())}function io(e){return(e=Ji(e))&&e.replace(lt,mn).replace(Ht,"")}function oo(e,t,n){return e=Ji(e),(t=n?V:t)===V?function(e){return $t.test(e)}(e)?function(e){return e.match(Wt)||[]}(e):function(e){return e.match(et)||[]}(e):e.match(t)||[]}function ao(e){return function(){return e}}function co(e){return e}function so(e){return wn("function"==typeof e?e:Et(e,1))}function uo(e,t,n){var r=Xi(t),i=Nt(t,r);null!=n||Li(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Nt(t,Xi(t)));var o=!(Li(n)&&"chain"in n&&!n.chain),a=Ri(e);return s(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=fr(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,g([this.value()],arguments))})})),e}function lo(){}function fo(e){return Qr(e)?C(ui(e)):function(e){return function(t){return zt(t,e)}}(e)}function po(){return[]}function ho(){return!1}var go,mo=(t=null==t?nn:bn.defaults(nn.Object(),t,bn.pick(nn,Vt))).Array,yo=t.Date,vo=t.Error,bo=t.Function,_o=t.Math,wo=t.Object,Fo=t.RegExp,ko=t.String,xo=t.TypeError,Co=mo.prototype,Oo=wo.prototype,So=t["__core-js_shared__"],jo=bo.prototype.toString,Eo=Oo.hasOwnProperty,Ao=0,Do=(go=/[^.]+$/.exec(So&&So.keys&&So.keys.IE_PROTO||""))?"Symbol(src)_1."+go:"",To=Oo.toString,Po=jo.call(wo),Bo=nn._,Ro=Fo("^"+jo.call(Eo).replace(Ve,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Io=an?t.Buffer:V,Mo=t.Symbol,Lo=t.Uint8Array,No=Io?Io.allocUnsafe:V,zo=z(wo.getPrototypeOf,wo),Uo=wo.create,Ho=Oo.propertyIsEnumerable,qo=Co.splice,Wo=Mo?Mo.isConcatSpreadable:V,Ko=Mo?Mo.iterator:V,$o=Mo?Mo.toStringTag:V,Vo=function(){try{var e=Kr(wo,"defineProperty");return e({},"",{}),e}catch(e){}}(),Go=t.clearTimeout!==nn.clearTimeout&&t.clearTimeout,Yo=yo&&yo.now!==nn.Date.now&&yo.now,Jo=t.setTimeout!==nn.setTimeout&&t.setTimeout,Qo=_o.ceil,Zo=_o.floor,Xo=wo.getOwnPropertySymbols,ea=Io?Io.isBuffer:V,ta=t.isFinite,na=Co.join,ra=z(wo.keys,wo),ia=_o.max,oa=_o.min,aa=yo.now,ca=t.parseInt,sa=_o.random,ua=Co.reverse,la=Kr(t,"DataView"),fa=Kr(t,"Map"),pa=Kr(t,"Promise"),ha=Kr(t,"Set"),da=Kr(t,"WeakMap"),ga=Kr(wo,"create"),ma=da&&new da,ya={},va=li(la),ba=li(fa),_a=li(pa),wa=li(ha),Fa=li(da),ka=Mo?Mo.prototype:V,xa=ka?ka.valueOf:V,Ca=ka?ka.toString:V,Oa=function(){function e(){}return function(t){if(!Li(t))return{};if(Uo)return Uo(t);e.prototype=t;var n=new e;return e.prototype=V,n}}();n.templateSettings={escape:Ue,evaluate:He,interpolate:qe,variable:"",imports:{_:n}},(n.prototype=r.prototype).constructor=n,(o.prototype=Oa(r.prototype)).constructor=o,(O.prototype=Oa(r.prototype)).constructor=O,Je.prototype.clear=function(){this.__data__=ga?ga(null):{},this.size=0},Je.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Je.prototype.get=function(e){var t=this.__data__;if(ga){var n=t[e];return n===Y?V:n}return Eo.call(t,e)?t[e]:V},Je.prototype.has=function(e){var t=this.__data__;return ga?t[e]!==V:Eo.call(t,e)},Je.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ga&&t===V?Y:t,this},ht.prototype.clear=function(){this.__data__=[],this.size=0},ht.prototype.delete=function(e){var t=this.__data__,n=kt(t,e);return!(n<0)&&(n==t.length-1?t.pop():qo.call(t,n,1),--this.size,!0)},ht.prototype.get=function(e){var t=this.__data__,n=kt(t,e);return n<0?V:t[n][1]},ht.prototype.has=function(e){return kt(this.__data__,e)>-1},ht.prototype.set=function(e,t){var n=this.__data__,r=kt(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},dt.prototype.clear=function(){this.size=0,this.__data__={hash:new Je,map:new(fa||ht),string:new Je}},dt.prototype.delete=function(e){var t=qr(this,e).delete(e);return this.size-=t?1:0,t},dt.prototype.get=function(e){return qr(this,e).get(e)},dt.prototype.has=function(e){return qr(this,e).has(e)},dt.prototype.set=function(e,t){var n=qr(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},gt.prototype.add=gt.prototype.push=function(e){return this.__data__.set(e,Y),this},gt.prototype.has=function(e){return this.__data__.has(e)},mt.prototype.clear=function(){this.__data__=new ht,this.size=0},mt.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},mt.prototype.get=function(e){return this.__data__.get(e)},mt.prototype.has=function(e){return this.__data__.has(e)},mt.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ht){var r=n.__data__;if(!fa||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new dt(r)}return n.set(e,t),this.size=n.size,this};var Sa=gr(Mt),ja=gr(Lt,!0),Ea=mr(),Aa=mr(!0),Da=ma?function(e,t){return ma.set(e,t),e}:co,Ta=Vo?function(e,t){return Vo(e,"toString",{configurable:!0,enumerable:!1,value:ao(t),writable:!0})}:co,Pa=In,Ba=Go||function(e){return nn.clearTimeout(e)},Ra=ha&&1/H(new ha([,-0]))[1]==ne?function(e){return new ha(e)}:lo,Ia=ma?function(e){return ma.get(e)}:lo,Ma=Xo?function(e){return null==e?[]:(e=wo(e),f(Xo(e),(function(t){return Ho.call(e,t)})))}:po,La=Xo?function(e){for(var t=[];e;)g(t,Ma(e)),e=zo(e);return t}:po,Na=Kt;(la&&Na(new la(new ArrayBuffer(1)))!=xe||fa&&Na(new fa)!=de||pa&&Na(pa.resolve())!=ye||ha&&Na(new ha)!=be||da&&Na(new da)!=Fe)&&(Na=function(e){var t=Kt(e),n=t==me?e.constructor:V,r=n?li(n):"";if(r)switch(r){case va:return xe;case ba:return de;case _a:return ye;case wa:return be;case Fa:return Fe}return t});var za=So?Ri:ho,Ua=ci(Da),Ha=Jo||function(e,t){return nn.setTimeout(e,t)},qa=ci(Ta),Wa=function(e){var t=Ei(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace($e,(function(e,n,r,i){t.push(r?i.replace(nt,"$1"):n||e)})),t})),Ka=In((function(e,t){return Pi(e)?Tt(e,It(t,1,Pi,!0)):[]})),$a=In((function(e,t){var n=mi(t);return Pi(n)&&(n=V),Pi(e)?Tt(e,It(t,1,Pi,!0),Hr(n,2)):[]})),Va=In((function(e,t){var n=mi(t);return Pi(n)&&(n=V),Pi(e)?Tt(e,It(t,1,Pi,!0),V,n):[]})),Ga=In((function(e){var t=d(e,tr);return t.length&&t[0]===e[0]?rn(t):[]})),Ya=In((function(e){var t=mi(e),n=d(e,tr);return t===mi(n)?t=V:n.pop(),n.length&&n[0]===e[0]?rn(n,Hr(t,2)):[]})),Ja=In((function(e){var t=mi(e),n=d(e,tr);return(t="function"==typeof t?t:V)&&n.pop(),n.length&&n[0]===e[0]?rn(n,V,t):[]})),Qa=In(yi),Za=Mr((function(e,t){var n=null==e?0:e.length,r=St(e,t);return Pn(e,d(t,(function(e){return Yr(e,n)?+e:e})).sort(sr)),r})),Xa=In((function(e){return Gn(It(e,1,Pi,!0))})),ec=In((function(e){var t=mi(e);return Pi(t)&&(t=V),Gn(It(e,1,Pi,!0),Hr(t,2))})),tc=In((function(e){var t=mi(e);return t="function"==typeof t?t:V,Gn(It(e,1,Pi,!0),V,t)})),nc=In((function(e,t){return Pi(e)?Tt(e,t):[]})),rc=In((function(e){return Xn(f(e,Pi))})),ic=In((function(e){var t=mi(e);return Pi(t)&&(t=V),Xn(f(e,Pi),Hr(t,2))})),oc=In((function(e){var t=mi(e);return t="function"==typeof t?t:V,Xn(f(e,Pi),V,t)})),ac=In(bi),cc=In((function(e){var t=e.length,n=t>1?e[t-1]:V;return n="function"==typeof n?(e.pop(),n):V,_i(e,n)})),sc=Mr((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return St(t,e)};return!(t>1||this.__actions__.length)&&r instanceof O&&Yr(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Fi,args:[i],thisArg:V}),new o(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(V),e}))):this.thru(i)})),uc=hr((function(e,t,n){Eo.call(e,n)?++e[n]:Ot(e,n,1)})),lc=_r(pi),fc=_r(hi),pc=hr((function(e,t,n){Eo.call(e,n)?e[n].push(t):Ot(e,n,[t])})),hc=In((function(e,t,n){var r=-1,i="function"==typeof t,o=Ti(e)?mo(e.length):[];return Sa(e,(function(e){o[++r]=i?a(t,e,n):on(e,t,n)})),o})),dc=hr((function(e,t,n){Ot(e,n,t)})),gc=hr((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),mc=In((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Jr(e,t[0],t[1])?t=[]:n>2&&Jr(t[0],t[1],t[2])&&(t=[t[0]]),An(e,It(t,1),[])})),yc=Yo||function(){return nn.Date.now()},vc=In((function(e,t,n){var r=1;if(n.length){var i=U(n,Ur(vc));r|=Z}return Tr(e,r,t,n,i)})),bc=In((function(e,t,n){var r=3;if(n.length){var i=U(n,Ur(bc));r|=Z}return Tr(t,r,e,n,i)})),_c=In((function(e,t){return Dt(e,1,t)})),wc=In((function(e,t,n){return Dt(e,Gi(t)||0,n)}));Ei.Cache=dt;var Fc,kc=Pa((function(e,t){var n=(t=1==t.length&&Ac(t[0])?d(t[0],D(Hr())):d(It(t,1),D(Hr()))).length;return In((function(r){for(var i=-1,o=oa(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return a(e,this,r)}))})),xc=In((function(e,t){var n=U(t,Ur(xc));return Tr(e,Z,V,t,n)})),Cc=In((function(e,t){var n=U(t,Ur(Cc));return Tr(e,X,V,t,n)})),Oc=Mr((function(e,t){return Tr(e,te,V,V,V,t)})),Sc=jr(Qt),jc=jr((function(e,t){return e>=t})),Ec=cn(function(){return arguments}())?cn:function(e){return Ni(e)&&Eo.call(e,"callee")&&!Ho.call(e,"callee")},Ac=mo.isArray,Dc=un?D(un):function(e){return Ni(e)&&Kt(e)==ke},Tc=ea||ho,Pc=ln?D(ln):function(e){return Ni(e)&&Kt(e)==le},Bc=fn?D(fn):function(e){return Ni(e)&&Na(e)==de},Rc=pn?D(pn):function(e){return Ni(e)&&Kt(e)==ve},Ic=hn?D(hn):function(e){return Ni(e)&&Na(e)==be},Mc=dn?D(dn):function(e){return Ni(e)&&Mi(e.length)&&!!Yt[Kt(e)]},Lc=jr(xn),Nc=jr((function(e,t){return e<=t})),zc=dr((function(e,t){if(Xr(t)||Ti(t))pr(t,Xi(t),e);else for(var n in t)Eo.call(t,n)&&Ft(e,n,t[n])})),Uc=dr((function(e,t){pr(t,eo(t),e)})),Hc=dr((function(e,t,n,r){pr(t,eo(t),e,r)})),qc=dr((function(e,t,n,r){pr(t,Xi(t),e,r)})),Wc=Mr(St),Kc=In((function(e,t){e=wo(e);var n=-1,r=t.length,i=r>2?t[2]:V;for(i&&Jr(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],a=eo(o),c=-1,s=a.length;++c<s;){var u=a[c],l=e[u];(l===V||Di(l,Oo[u])&&!Eo.call(e,u))&&(e[u]=o[u])}return e})),$c=In((function(e){return e.push(V,Br),a(Qc,V,e)})),Vc=kr((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=To.call(t)),e[t]=n}),ao(co)),Gc=kr((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=To.call(t)),Eo.call(e,t)?e[t].push(n):e[t]=[n]}),Hr),Yc=In(on),Jc=dr((function(e,t,n){jn(e,t,n)})),Qc=dr((function(e,t,n,r){jn(e,t,n,r)})),Zc=Mr((function(e,t){var n={};if(null==e)return n;var r=!1;t=d(t,(function(t){return t=rr(t,e),r||(r=t.length>1),t})),pr(e,Nr(e),n),r&&(n=Et(n,7,Rr));for(var i=t.length;i--;)Yn(n,t[i]);return n})),Xc=Mr((function(e,t){return null==e?{}:function(e,t){return Dn(e,t,(function(t,n){return Zi(e,n)}))}(e,t)})),es=Dr(Xi),ts=Dr(eo),ns=vr((function(e,t,n){return t=t.toLowerCase(),e+(n?ro(t):t)})),rs=vr((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),is=vr((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),os=yr("toLowerCase"),as=vr((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),cs=vr((function(e,t,n){return e+(n?" ":"")+us(t)})),ss=vr((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),us=yr("toUpperCase"),ls=In((function(e,t){try{return a(e,V,t)}catch(e){return Bi(e)?e:new vo(e)}})),fs=Mr((function(e,t){return s(t,(function(t){t=ui(t),Ot(e,t,vc(e[t],e))})),e})),ps=wr(),hs=wr(!0),ds=In((function(e,t){return function(n){return on(n,e,t)}})),gs=In((function(e,t){return function(n){return on(e,n,t)}})),ms=Cr(d),ys=Cr(l),vs=Cr(v),bs=Sr(),_s=Sr(!0),ws=xr((function(e,t){return e+t}),0),Fs=Ar("ceil"),ks=xr((function(e,t){return e/t}),1),xs=Ar("floor"),Cs=xr((function(e,t){return e*t}),1),Os=Ar("round"),Ss=xr((function(e,t){return e-t}),0);return n.after=function(e,t){if("function"!=typeof t)throw new xo(G);return e=$i(e),function(){if(--e<1)return t.apply(this,arguments)}},n.ary=Oi,n.assign=zc,n.assignIn=Uc,n.assignInWith=Hc,n.assignWith=qc,n.at=Wc,n.before=Si,n.bind=vc,n.bindAll=fs,n.bindKey=bc,n.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ac(e)?e:[e]},n.chain=wi,n.chunk=function(e,t,n){t=(n?Jr(e,t,n):t===V)?1:ia($i(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,o=0,a=mo(Qo(r/t));i<r;)a[o++]=Un(e,i,i+=t);return a},n.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},n.concat=function(){var e=arguments.length;if(!e)return[];for(var t=mo(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return g(Ac(n)?fr(n):[n],It(t,1))},n.cond=function(e){var t=null==e?0:e.length,n=Hr();return e=t?d(e,(function(e){if("function"!=typeof e[1])throw new xo(G);return[n(e[0]),e[1]]})):[],In((function(n){for(var r=-1;++r<t;){var i=e[r];if(a(i[0],this,n))return a(i[1],this,n)}}))},n.conforms=function(e){return function(e){var t=Xi(e);return function(n){return At(n,e,t)}}(Et(e,1))},n.constant=ao,n.countBy=uc,n.create=function(e,t){var n=Oa(e);return null==t?n:Ct(n,t)},n.curry=function e(t,n,r){var i=Tr(t,8,V,V,V,V,V,n=r?V:n);return i.placeholder=e.placeholder,i},n.curryRight=function e(t,n,r){var i=Tr(t,Q,V,V,V,V,V,n=r?V:n);return i.placeholder=e.placeholder,i},n.debounce=ji,n.defaults=Kc,n.defaultsDeep=$c,n.defer=_c,n.delay=wc,n.difference=Ka,n.differenceBy=$a,n.differenceWith=Va,n.drop=function(e,t,n){var r=null==e?0:e.length;return r?Un(e,(t=n||t===V?1:$i(t))<0?0:t,r):[]},n.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Un(e,0,(t=r-(t=n||t===V?1:$i(t)))<0?0:t):[]},n.dropRightWhile=function(e,t){return e&&e.length?Qn(e,Hr(t,3),!0,!0):[]},n.dropWhile=function(e,t){return e&&e.length?Qn(e,Hr(t,3),!0):[]},n.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Jr(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=$i(n))<0&&(n=-n>i?0:i+n),(r=r===V||r>i?i:$i(r))<0&&(r+=i),r=n>r?0:Vi(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},n.filter=function(e,t){return(Ac(e)?f:Rt)(e,Hr(t,3))},n.flatMap=function(e,t){return It(Ci(e,t),1)},n.flatMapDeep=function(e,t){return It(Ci(e,t),ne)},n.flatMapDepth=function(e,t,n){return n=n===V?1:$i(n),It(Ci(e,t),n)},n.flatten=di,n.flattenDeep=function(e){return(null==e?0:e.length)?It(e,ne):[]},n.flattenDepth=function(e,t){return(null==e?0:e.length)?It(e,t=t===V?1:$i(t)):[]},n.flip=function(e){return Tr(e,512)},n.flow=ps,n.flowRight=hs,n.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},n.functions=function(e){return null==e?[]:Nt(e,Xi(e))},n.functionsIn=function(e){return null==e?[]:Nt(e,eo(e))},n.groupBy=pc,n.initial=function(e){return(null==e?0:e.length)?Un(e,0,-1):[]},n.intersection=Ga,n.intersectionBy=Ya,n.intersectionWith=Ja,n.invert=Vc,n.invertBy=Gc,n.invokeMap=hc,n.iteratee=so,n.keyBy=dc,n.keys=Xi,n.keysIn=eo,n.map=Ci,n.mapKeys=function(e,t){var n={};return t=Hr(t,3),Mt(e,(function(e,r,i){Ot(n,t(e,r,i),e)})),n},n.mapValues=function(e,t){var n={};return t=Hr(t,3),Mt(e,(function(e,r,i){Ot(n,r,t(e,r,i))})),n},n.matches=function(e){return On(Et(e,1))},n.matchesProperty=function(e,t){return Sn(e,Et(t,1))},n.memoize=Ei,n.merge=Jc,n.mergeWith=Qc,n.method=ds,n.methodOf=gs,n.mixin=uo,n.negate=Ai,n.nthArg=function(e){return e=$i(e),In((function(t){return En(t,e)}))},n.omit=Zc,n.omitBy=function(e,t){return to(e,Ai(Hr(t)))},n.once=function(e){return Si(2,e)},n.orderBy=function(e,t,n,r){return null==e?[]:(Ac(t)||(t=null==t?[]:[t]),Ac(n=r?V:n)||(n=null==n?[]:[n]),An(e,t,n))},n.over=ms,n.overArgs=kc,n.overEvery=ys,n.overSome=vs,n.partial=xc,n.partialRight=Cc,n.partition=gc,n.pick=Xc,n.pickBy=to,n.property=fo,n.propertyOf=function(e){return function(t){return null==e?V:zt(e,t)}},n.pull=Qa,n.pullAll=yi,n.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Tn(e,t,Hr(n,2)):e},n.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Tn(e,t,V,n):e},n.pullAt=Za,n.range=bs,n.rangeRight=_s,n.rearg=Oc,n.reject=function(e,t){return(Ac(e)?f:Rt)(e,Ai(Hr(t,3)))},n.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=Hr(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return Pn(e,i),n},n.rest=function(e,t){if("function"!=typeof e)throw new xo(G);return In(e,t=t===V?t:$i(t))},n.reverse=vi,n.sampleSize=function(e,t,n){return t=(n?Jr(e,t,n):t===V)?1:$i(t),(Ac(e)?bt:Ln)(e,t)},n.set=function(e,t,n){return null==e?e:Nn(e,t,n)},n.setWith=function(e,t,n,r){return r="function"==typeof r?r:V,null==e?e:Nn(e,t,n,r)},n.shuffle=function(e){return(Ac(e)?_t:zn)(e)},n.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Jr(e,t,n)?(t=0,n=r):(t=null==t?0:$i(t),n=n===V?r:$i(n)),Un(e,t,n)):[]},n.sortBy=mc,n.sortedUniq=function(e){return e&&e.length?Kn(e):[]},n.sortedUniqBy=function(e,t){return e&&e.length?Kn(e,Hr(t,2)):[]},n.split=function(e,t,n){return n&&"number"!=typeof n&&Jr(e,t,n)&&(t=n=V),(n=n===V?oe:n>>>0)?(e=Ji(e))&&("string"==typeof t||null!=t&&!Rc(t))&&!(t=Vn(t))&&L(e)?ir(K(e),0,n):e.split(t,n):[]},n.spread=function(e,t){if("function"!=typeof e)throw new xo(G);return t=null==t?0:ia($i(t),0),In((function(n){var r=n[t],i=ir(n,0,t);return r&&g(i,r),a(e,this,i)}))},n.tail=function(e){var t=null==e?0:e.length;return t?Un(e,1,t):[]},n.take=function(e,t,n){return e&&e.length?Un(e,0,(t=n||t===V?1:$i(t))<0?0:t):[]},n.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Un(e,(t=r-(t=n||t===V?1:$i(t)))<0?0:t,r):[]},n.takeRightWhile=function(e,t){return e&&e.length?Qn(e,Hr(t,3),!1,!0):[]},n.takeWhile=function(e,t){return e&&e.length?Qn(e,Hr(t,3)):[]},n.tap=function(e,t){return t(e),e},n.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new xo(G);return Li(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ji(e,t,{leading:r,maxWait:t,trailing:i})},n.thru=Fi,n.toArray=Wi,n.toPairs=es,n.toPairsIn=ts,n.toPath=function(e){return Ac(e)?d(e,ui):qi(e)?[e]:fr(Wa(Ji(e)))},n.toPlainObject=Yi,n.transform=function(e,t,n){var r=Ac(e),i=r||Tc(e)||Mc(e);if(t=Hr(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Li(e)&&Ri(o)?Oa(zo(e)):{}}return(i?s:Mt)(e,(function(e,r,i){return t(n,e,r,i)})),n},n.unary=function(e){return Oi(e,1)},n.union=Xa,n.unionBy=ec,n.unionWith=tc,n.uniq=function(e){return e&&e.length?Gn(e):[]},n.uniqBy=function(e,t){return e&&e.length?Gn(e,Hr(t,2)):[]},n.uniqWith=function(e,t){return t="function"==typeof t?t:V,e&&e.length?Gn(e,V,t):[]},n.unset=function(e,t){return null==e||Yn(e,t)},n.unzip=bi,n.unzipWith=_i,n.update=function(e,t,n){return null==e?e:Jn(e,t,nr(n))},n.updateWith=function(e,t,n,r){return r="function"==typeof r?r:V,null==e?e:Jn(e,t,nr(n),r)},n.values=no,n.valuesIn=function(e){return null==e?[]:T(e,eo(e))},n.without=nc,n.words=oo,n.wrap=function(e,t){return xc(nr(t),e)},n.xor=rc,n.xorBy=ic,n.xorWith=oc,n.zip=ac,n.zipObject=function(e,t){return er(e||[],t||[],Ft)},n.zipObjectDeep=function(e,t){return er(e||[],t||[],Nn)},n.zipWith=cc,n.entries=es,n.entriesIn=ts,n.extend=Uc,n.extendWith=Hc,uo(n,n),n.add=ws,n.attempt=ls,n.camelCase=ns,n.capitalize=ro,n.ceil=Fs,n.clamp=function(e,t,n){return n===V&&(n=t,t=V),n!==V&&(n=(n=Gi(n))==n?n:0),t!==V&&(t=(t=Gi(t))==t?t:0),jt(Gi(e),t,n)},n.clone=function(e){return Et(e,4)},n.cloneDeep=function(e){return Et(e,5)},n.cloneDeepWith=function(e,t){return Et(e,5,t="function"==typeof t?t:V)},n.cloneWith=function(e,t){return Et(e,4,t="function"==typeof t?t:V)},n.conformsTo=function(e,t){return null==t||At(e,t,Xi(t))},n.deburr=io,n.defaultTo=function(e,t){return null==e||e!=e?t:e},n.divide=ks,n.endsWith=function(e,t,n){e=Ji(e),t=Vn(t);var r=e.length,i=n=n===V?r:jt($i(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},n.eq=Di,n.escape=function(e){return(e=Ji(e))&&ze.test(e)?e.replace(Le,yn):e},n.escapeRegExp=function(e){return(e=Ji(e))&&Ge.test(e)?e.replace(Ve,"\\$&"):e},n.every=function(e,t,n){var r=Ac(e)?l:Pt;return n&&Jr(e,t,n)&&(t=V),r(e,Hr(t,3))},n.find=lc,n.findIndex=pi,n.findKey=function(e,t){return b(e,Hr(t,3),Mt)},n.findLast=fc,n.findLastIndex=hi,n.findLastKey=function(e,t){return b(e,Hr(t,3),Lt)},n.floor=xs,n.forEach=ki,n.forEachRight=xi,n.forIn=function(e,t){return null==e?e:Ea(e,Hr(t,3),eo)},n.forInRight=function(e,t){return null==e?e:Aa(e,Hr(t,3),eo)},n.forOwn=function(e,t){return e&&Mt(e,Hr(t,3))},n.forOwnRight=function(e,t){return e&&Lt(e,Hr(t,3))},n.get=Qi,n.gt=Sc,n.gte=jc,n.has=function(e,t){return null!=e&&$r(e,t,en)},n.hasIn=Zi,n.head=gi,n.identity=co,n.includes=function(e,t,n,r){e=Ti(e)?e:no(e),n=n&&!r?$i(n):0;var i=e.length;return n<0&&(n=ia(i+n,0)),Hi(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&w(e,t,n)>-1},n.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:$i(n);return i<0&&(i=ia(r+i,0)),w(e,t,i)},n.inRange=function(e,t,n){return t=Ki(t),n===V?(n=t,t=0):n=Ki(n),function(e,t,n){return e>=oa(t,n)&&e<ia(t,n)}(e=Gi(e),t,n)},n.invoke=Yc,n.isArguments=Ec,n.isArray=Ac,n.isArrayBuffer=Dc,n.isArrayLike=Ti,n.isArrayLikeObject=Pi,n.isBoolean=function(e){return!0===e||!1===e||Ni(e)&&Kt(e)==ue},n.isBuffer=Tc,n.isDate=Pc,n.isElement=function(e){return Ni(e)&&1===e.nodeType&&!Ui(e)},n.isEmpty=function(e){if(null==e)return!0;if(Ti(e)&&(Ac(e)||"string"==typeof e||"function"==typeof e.splice||Tc(e)||Mc(e)||Ec(e)))return!e.length;var t=Na(e);if(t==de||t==be)return!e.size;if(Xr(e))return!Fn(e).length;for(var n in e)if(Eo.call(e,n))return!1;return!0},n.isEqual=function(e,t){return sn(e,t)},n.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:V)?n(e,t):V;return r===V?sn(e,t,V,n):!!r},n.isError=Bi,n.isFinite=function(e){return"number"==typeof e&&ta(e)},n.isFunction=Ri,n.isInteger=Ii,n.isLength=Mi,n.isMap=Bc,n.isMatch=function(e,t){return e===t||gn(e,t,Wr(t))},n.isMatchWith=function(e,t,n){return n="function"==typeof n?n:V,gn(e,t,Wr(t),n)},n.isNaN=function(e){return zi(e)&&e!=+e},n.isNative=function(e){if(za(e))throw new vo("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return _n(e)},n.isNil=function(e){return null==e},n.isNull=function(e){return null===e},n.isNumber=zi,n.isObject=Li,n.isObjectLike=Ni,n.isPlainObject=Ui,n.isRegExp=Rc,n.isSafeInteger=function(e){return Ii(e)&&e>=-9007199254740991&&e<=re},n.isSet=Ic,n.isString=Hi,n.isSymbol=qi,n.isTypedArray=Mc,n.isUndefined=function(e){return e===V},n.isWeakMap=function(e){return Ni(e)&&Na(e)==Fe},n.isWeakSet=function(e){return Ni(e)&&"[object WeakSet]"==Kt(e)},n.join=function(e,t){return null==e?"":na.call(e,t)},n.kebabCase=rs,n.last=mi,n.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==V&&(i=(i=$i(n))<0?ia(r+i,0):oa(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):_(e,k,i,!0)},n.lowerCase=is,n.lowerFirst=os,n.lt=Lc,n.lte=Nc,n.max=function(e){return e&&e.length?Bt(e,co,Qt):V},n.maxBy=function(e,t){return e&&e.length?Bt(e,Hr(t,2),Qt):V},n.mean=function(e){return x(e,co)},n.meanBy=function(e,t){return x(e,Hr(t,2))},n.min=function(e){return e&&e.length?Bt(e,co,xn):V},n.minBy=function(e,t){return e&&e.length?Bt(e,Hr(t,2),xn):V},n.stubArray=po,n.stubFalse=ho,n.stubObject=function(){return{}},n.stubString=function(){return""},n.stubTrue=function(){return!0},n.multiply=Cs,n.nth=function(e,t){return e&&e.length?En(e,$i(t)):V},n.noConflict=function(){return nn._===this&&(nn._=Bo),this},n.noop=lo,n.now=yc,n.pad=function(e,t,n){e=Ji(e);var r=(t=$i(t))?W(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Or(Zo(i),n)+e+Or(Qo(i),n)},n.padEnd=function(e,t,n){e=Ji(e);var r=(t=$i(t))?W(e):0;return t&&r<t?e+Or(t-r,n):e},n.padStart=function(e,t,n){e=Ji(e);var r=(t=$i(t))?W(e):0;return t&&r<t?Or(t-r,n)+e:e},n.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),ca(Ji(e).replace(Ye,""),t||0)},n.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Jr(e,t,n)&&(t=n=V),n===V&&("boolean"==typeof t?(n=t,t=V):"boolean"==typeof e&&(n=e,e=V)),e===V&&t===V?(e=0,t=1):(e=Ki(e),t===V?(t=e,e=0):t=Ki(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=sa();return oa(e+i*(t-e+Zt("1e-"+((i+"").length-1))),t)}return Bn(e,t)},n.reduce=function(e,t,n){var r=Ac(e)?m:S,i=arguments.length<3;return r(e,Hr(t,4),n,i,Sa)},n.reduceRight=function(e,t,n){var r=Ac(e)?y:S,i=arguments.length<3;return r(e,Hr(t,4),n,i,ja)},n.repeat=function(e,t,n){return t=(n?Jr(e,t,n):t===V)?1:$i(t),Rn(Ji(e),t)},n.replace=function(){var e=arguments,t=Ji(e[0]);return e.length<3?t:t.replace(e[1],e[2])},n.result=function(e,t,n){var r=-1,i=(t=rr(t,e)).length;for(i||(i=1,e=V);++r<i;){var o=null==e?V:e[ui(t[r])];o===V&&(r=i,o=n),e=Ri(o)?o.call(e):o}return e},n.round=Os,n.runInContext=e,n.sample=function(e){return(Ac(e)?vt:Mn)(e)},n.size=function(e){if(null==e)return 0;if(Ti(e))return Hi(e)?W(e):e.length;var t=Na(e);return t==de||t==be?e.size:Fn(e).length},n.snakeCase=as,n.some=function(e,t,n){var r=Ac(e)?v:Hn;return n&&Jr(e,t,n)&&(t=V),r(e,Hr(t,3))},n.sortedIndex=function(e,t){return qn(e,t)},n.sortedIndexBy=function(e,t,n){return Wn(e,t,Hr(n,2))},n.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=qn(e,t);if(r<n&&Di(e[r],t))return r}return-1},n.sortedLastIndex=function(e,t){return qn(e,t,!0)},n.sortedLastIndexBy=function(e,t,n){return Wn(e,t,Hr(n,2),!0)},n.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=qn(e,t,!0)-1;if(Di(e[n],t))return n}return-1},n.startCase=cs,n.startsWith=function(e,t,n){return e=Ji(e),n=null==n?0:jt($i(n),0,e.length),t=Vn(t),e.slice(n,n+t.length)==t},n.subtract=Ss,n.sum=function(e){return e&&e.length?j(e,co):0},n.sumBy=function(e,t){return e&&e.length?j(e,Hr(t,2)):0},n.template=function(e,t,r){var i=n.templateSettings;r&&Jr(e,t,r)&&(t=V),e=Ji(e),t=Hc({},t,i,Pr);var o,a,c=Hc({},t.imports,i.imports,Pr),s=Xi(c),u=T(c,s),l=0,f=t.interpolate||ft,p="__p += '",h=Fo((t.escape||ft).source+"|"+f.source+"|"+(f===qe?rt:ft).source+"|"+(t.evaluate||ft).source+"|$","g"),d="//# sourceURL="+(Eo.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Gt+"]")+"\n";e.replace(h,(function(t,n,r,i,c,s){return r||(r=i),p+=e.slice(l,s).replace(pt,M),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),c&&(a=!0,p+="';\n"+c+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=s+t.length,t})),p+="';\n";var g=Eo.call(t,"variable")&&t.variable;if(g){if(tt.test(g))throw new vo("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(Be,""):p).replace(Re,"$1").replace(Ie,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=ls((function(){return bo(s,d+"return "+p).apply(V,u)}));if(m.source=p,Bi(m))throw m;return m},n.times=function(e,t){if((e=$i(e))<1||e>re)return[];var n=oe,r=oa(e,oe);t=Hr(t),e-=oe;for(var i=E(r,t);++n<e;)t(n);return i},n.toFinite=Ki,n.toInteger=$i,n.toLength=Vi,n.toLower=function(e){return Ji(e).toLowerCase()},n.toNumber=Gi,n.toSafeInteger=function(e){return e?jt($i(e),-9007199254740991,re):0===e?e:0},n.toString=Ji,n.toUpper=function(e){return Ji(e).toUpperCase()},n.trim=function(e,t,n){if((e=Ji(e))&&(n||t===V))return A(e);if(!e||!(t=Vn(t)))return e;var r=K(e),i=K(t);return ir(r,B(r,i),R(r,i)+1).join("")},n.trimEnd=function(e,t,n){if((e=Ji(e))&&(n||t===V))return e.slice(0,$(e)+1);if(!e||!(t=Vn(t)))return e;var r=K(e);return ir(r,0,R(r,K(t))+1).join("")},n.trimStart=function(e,t,n){if((e=Ji(e))&&(n||t===V))return e.replace(Ye,"");if(!e||!(t=Vn(t)))return e;var r=K(e);return ir(r,B(r,K(t))).join("")},n.truncate=function(e,t){var n=30,r="...";if(Li(t)){var i="separator"in t?t.separator:i;n="length"in t?$i(t.length):n,r="omission"in t?Vn(t.omission):r}var o=(e=Ji(e)).length;if(L(e)){var a=K(e);o=a.length}if(n>=o)return e;var c=n-W(r);if(c<1)return r;var s=a?ir(a,0,c).join(""):e.slice(0,c);if(i===V)return s+r;if(a&&(c+=s.length-c),Rc(i)){if(e.slice(c).search(i)){var u,l=s;for(i.global||(i=Fo(i.source,Ji(it.exec(i))+"g")),i.lastIndex=0;u=i.exec(l);)var f=u.index;s=s.slice(0,f===V?c:f)}}else if(e.indexOf(Vn(i),c)!=c){var p=s.lastIndexOf(i);p>-1&&(s=s.slice(0,p))}return s+r},n.unescape=function(e){return(e=Ji(e))&&Ne.test(e)?e.replace(Me,vn):e},n.uniqueId=function(e){var t=++Ao;return Ji(e)+t},n.upperCase=ss,n.upperFirst=us,n.each=ki,n.eachRight=xi,n.first=gi,uo(n,(Fc={},Mt(n,(function(e,t){Eo.call(n.prototype,t)||(Fc[t]=e)})),Fc),{chain:!1}),n.VERSION="4.17.21",s(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){n[e].placeholder=n})),s(["drop","take"],(function(e,t){O.prototype[e]=function(n){n=n===V?1:ia($i(n),0);var r=this.__filtered__&&!t?new O(this):this.clone();return r.__filtered__?r.__takeCount__=oa(n,r.__takeCount__):r.__views__.push({size:oa(n,oe),type:e+(r.__dir__<0?"Right":"")}),r},O.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),s(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;O.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Hr(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),s(["head","last"],(function(e,t){var n="take"+(t?"Right":"");O.prototype[e]=function(){return this[n](1).value()[0]}})),s(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");O.prototype[e]=function(){return this.__filtered__?new O(this):this[n](1)}})),O.prototype.compact=function(){return this.filter(co)},O.prototype.find=function(e){return this.filter(e).head()},O.prototype.findLast=function(e){return this.reverse().find(e)},O.prototype.invokeMap=In((function(e,t){return"function"==typeof e?new O(this):this.map((function(n){return on(n,e,t)}))})),O.prototype.reject=function(e){return this.filter(Ai(Hr(e)))},O.prototype.slice=function(e,t){e=$i(e);var n=this;return n.__filtered__&&(e>0||t<0)?new O(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==V&&(n=(t=$i(t))<0?n.dropRight(-t):n.take(t-e)),n)},O.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},O.prototype.toArray=function(){return this.take(oe)},Mt(O.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=n[i?"take"+("last"==t?"Right":""):t],c=i||/^find/.test(t);a&&(n.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,u=t instanceof O,l=s[0],f=u||Ac(t),p=function(e){var t=a.apply(n,g([e],s));return i&&h?t[0]:t};f&&r&&"function"==typeof l&&1!=l.length&&(u=f=!1);var h=this.__chain__,d=!!this.__actions__.length,m=c&&!h,y=u&&!d;if(!c&&f){t=y?t:new O(this);var v=e.apply(t,s);return v.__actions__.push({func:Fi,args:[p],thisArg:V}),new o(v,h)}return m&&y?e.apply(this,s):(v=this.thru(p),m?i?v.value()[0]:v.value():v)})})),s(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Co[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var n=this.value();return t.apply(Ac(n)?n:[],e)}return this[r]((function(n){return t.apply(Ac(n)?n:[],e)}))}})),Mt(O.prototype,(function(e,t){var r=n[t];if(r){var i=r.name+"";Eo.call(ya,i)||(ya[i]=[]),ya[i].push({name:t,func:r})}})),ya[Fr(V,2).name]=[{name:"wrapper",func:V}],O.prototype.clone=function(){var e=new O(this.__wrapped__);return e.__actions__=fr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=fr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=fr(this.__views__),e},O.prototype.reverse=function(){if(this.__filtered__){var e=new O(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},O.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ac(e),r=t<0,i=n?e.length:0,o=function(e,t,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=oa(t,e+a);break;case"takeRight":e=ia(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,c=o.end,s=c-a,u=r?c:a-1,l=this.__iteratees__,f=l.length,p=0,h=oa(s,this.__takeCount__);if(!n||!r&&i==s&&h==s)return Zn(e,this.__actions__);var d=[];e:for(;s--&&p<h;){for(var g=-1,m=e[u+=t];++g<f;){var y=l[g],v=y.type,b=(0,y.iteratee)(m);if(2==v)m=b;else if(!b){if(1==v)continue e;break e}}d[p++]=m}return d},n.prototype.at=sc,n.prototype.chain=function(){return wi(this)},n.prototype.commit=function(){return new o(this.value(),this.__chain__)},n.prototype.next=function(){this.__values__===V&&(this.__values__=Wi(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?V:this.__values__[this.__index__++]}},n.prototype.plant=function(e){for(var t,n=this;n instanceof r;){var i=fi(n);i.__index__=0,i.__values__=V,t?o.__wrapped__=i:t=i;var o=i;n=n.__wrapped__}return o.__wrapped__=e,t},n.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof O){var t=e;return this.__actions__.length&&(t=new O(this)),(t=t.reverse()).__actions__.push({func:Fi,args:[vi],thisArg:V}),new o(t,this.__chain__)}return this.thru(vi)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return Zn(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,Ko&&(n.prototype[Ko]=function(){return this}),n}();"object"==i(n("K2jg"))&&n("K2jg")?(nn._=bn,(o=function(){return bn}.call(t,n,t,r))===V||(r.exports=o)):on?((on.exports=bn)._=bn,rn._=bn):nn._=bn}).call(this)}).call(this,n("pCvA"),n("RoC8")(e))},ANvx:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function l(e){e(),setTimeout(e,100)}n.d(t,"a",(function(){return m}));var f=n("hosL"),p=n("lBHI"),h=n("jMw0"),d=n("o5ls"),g=/\B\@[\u00BF-\u1FFF\u2C00-\uD7FF\w]*$/,m=function(e){function t(){return m.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e);var n,r,s,u,f,m=c(t);return n=t,r=[{key:"sendPublic",value:(u=function*(e){e.time=(new Date).toISOString(),e.type="post";var t=(yield d.a.SignedMessage.create(e,h.a.getKey())).toString(),n=yield d.a.util.getHash(t);if(p.a.public.get("#").get(n).put(t),e.replyingTo)l((function(){return p.a.public.user().get("replies").put({})})),l((function(){return p.a.public.user().get("replies").get(e.replyingTo).put("a")})),l((function(){return p.a.public.user().get("replies").get(e.replyingTo).put({})})),l((function(){return p.a.public.user().get("replies").get(e.replyingTo).get(e.time).put(n)}));else{var r=p.a.public.user();(this.props.index||this.props.hashtag&&"hashtags/".concat(this.props.hashtag)||"msgs").split("/").forEach((function(e){r.put({}),r=r.get(e)})),l((function(){return r.get(e.time).put(n)}))}var i=e.text&&e.text.match(/\B\#\w\w+\b/g);return i&&i.forEach((function(t){var r=t.replace("#","");p.a.public.user().get("hashtags").get(r).put({a:null}),p.a.public.user().get("hashtags").get(r).get(e.time).put(n)})),e.torrentId&&p.a.public.user().get("media").get(e.time).put(n),this.props.onSubmit&&this.props.onSubmit(e),n},f=function(){var e=this,t=arguments;return new Promise((function(n,r){function o(e){i(c,n,r,o,a,"next",e)}function a(e){i(c,n,r,o,a,"throw",e)}var c=u.apply(e,t);o(void 0)}))},function(e){return f.apply(this,arguments)})},{key:"onMsgTextPaste",value:function(e){var t=(e.clipboardData||window.clipboardData).getData("text");(t!==this.state.torrentId&&t.indexOf(".torrent")>-1||t.match(/^magnet:\?xt=urn:btih:*/))&&(e.preventDefault(),this.setState({torrentId:t}))}},{key:"checkMention",value:function(e){var t=e.target.value.slice(0,e.target.selectionStart).match(g);t?this.setState({mentioning:t[0].slice(1)}):this.state.mentioning&&this.setState({mentioning:null})}}],r&&o(n.prototype,r),s&&o(n,s),Object.defineProperty(n,"prototype",{writable:!1}),t}(f.Component)},ARkJ:function(e,t,n){"use strict";t.a=n.p+"3f213087732422818ea1f7bfc2345c5a.png"},B7GM:function(e,t,n){"use strict";(function(e,r){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}n.d(t,"a",(function(){return _}));var p=n("aKPg"),h=n("3rgF"),d=n("nazO"),g=n("Xfve"),m=n("jMw0"),y=n("hosL"),v=n("vLuo"),b=function(t){function n(){return i.apply(this,arguments)}c(n,t);var i=u(n);return a(n,[{key:"componentDidMount",value:function(){var e=document.getElementById("login-form-name");e&&e.focus()}},{key:"toggleScanPrivKey",value:function(){this.state.showScanPrivKey?g.a.cleanupScanner():g.a.startPrivKeyQRScanner().then(m.a.login),this.setState({showScanPrivKey:!this.state.showScanPrivKey})}},{key:"onPastePrivKey",value:function(e){var t=e.target.value;if(t.length)try{var n=JSON.parse(t);m.a.login(n),e.target.value=""}catch(e){console.error("Login with key",t,"failed:",e)}}},{key:"showCreateAccount",value:function(e){e.preventDefault(),g.a.cleanupScanner(),this.setState({showSwitchAccount:!1})}},{key:"onLoginFormSubmit",value:function(e){e.preventDefault();var t=document.getElementById("login-form-name").value||p.a.generateName();m.a.loginAsNewUser(t),this.base.style="display:none"}},{key:"onNameChange",value:function(e){var t=e.target.value;if(-1!==t.indexOf('"priv"'))return this.onPastePrivKey(e),void(e.target.value="");this.setState({inputStyle:t.length?"text-align: center":""})}},{key:"renderExistingAccountLogin",value:function(){var t=this;return e(r,null,e("input",{id:"paste-privkey",autoFocus:!0,onInput:function(e){return t.onPastePrivKey(e)},placeholder:Object(h.c)("paste_private_key")}),e("p",null,e("button",{id:"scan-privkey-btn",onClick:function(e){return t.toggleScanPrivKey(e)}},Object(h.c)("scan_private_key_qr_code"))),e("p",null,e("video",{id:"privkey-qr-video",width:"320",height:"320",style:"object-fit: cover;",className:this.state.showScanPrivKey?"":"hidden"})))}},{key:"render",value:function(){var t=this;return e("section",{id:"login"},e("div",{id:"login-content"},this.state.showSwitchAccount?e("div",{id:"existing-account-login"},e("p",null,e("a",{href:"#",id:"show-create-account",onClick:function(e){return t.showCreateAccount(e)}},"> ",Object(h.c)("back"))),this.renderExistingAccountLogin()):e("form",{id:"login-form",autocomplete:"off",onSubmit:function(e){return t.onLoginFormSubmit(e)}},e("div",{id:"create-account"},e("img",{width:"86",height:"86",src:v.a,alt:"iris"}),e("h1",null,"iris"),e("input",{style:this.state.inputStyle,onInput:function(e){return t.onNameChange(e)},autocomplete:"off",autocorrect:"off",autocapitalize:"sentences",spellcheck:"off",id:"login-form-name",type:"text",name:"name",placeholder:Object(h.c)("whats_your_name")}),e("p",null,e("button",{id:"sign-up",type:"submit"},Object(h.c)("new_user_go"))),e("br",null),e("p",null,e("a",{href:"#",id:"show-existing-account-login",onClick:function(){return t.setState({showSwitchAccount:!0})}},Object(h.c)("already_have_an_account"))),e("p",null,e(d.a,null))))))}}]),n}(y.Component),_=function(e){function t(){return n.apply(this,arguments)}c(t,e);var n=u(t);return a(t,[{key:"render",value:function(){return this.renderExistingAccountLogin()}}]),t}(b);t.b=b}).call(this,n("hosL").h,n("hosL").Fragment)},CGOa:function(e,t){"use strict";function n(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function r(e,t){for(var n=e.length-1;n>=0;n--)!0===t(e[n])&&e.splice(n,1)}function i(e){throw new Error("Unhandled case for value: '".concat(e,"'"))}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function a(e,t){function n(){this.constructor=e}if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function c(e,t){function n(e){"<"===e&&A()}function r(e){"!"===e?H=13:"/"===e?(H=2,W=new ne(h(h({},W),{isClosing:!0}))):"<"===e?A():_.test(e)?(H=3,W=new ne(h(h({},W),{isOpening:!0}))):(H=0,W=N)}function o(e){k.test(e)?(W=new ne(h(h({},W),{name:T()})),H=4):"<"===e?A():"/"===e?(W=new ne(h(h({},W),{name:T()})),H=12):">"===e?(W=new ne(h(h({},W),{name:T()})),D()):_.test(e)||w.test(e)||":"===e||E()}function a(e){">"===e?E():_.test(e)?H=3:E()}function c(e){k.test(e)||("/"===e?H=12:">"===e?D():"<"===e?A():"="===e||x.test(e)||C.test(e)?E():H=5)}function s(e){k.test(e)?H=6:"/"===e?H=12:"="===e?H=7:">"===e?D():"<"===e?A():x.test(e)&&E()}function u(e){k.test(e)||("/"===e?H=12:"="===e?H=7:">"===e?D():"<"===e?A():x.test(e)?E():H=5)}function l(e){k.test(e)||('"'===e?H=8:"'"===e?H=9:/[>=`]/.test(e)?E():"<"===e?A():H=10)}function f(e){'"'===e&&(H=11)}function p(e){"'"===e&&(H=11)}function d(e){k.test(e)?H=4:">"===e?D():"<"===e&&A()}function g(e){k.test(e)?H=4:"/"===e?H=12:">"===e?D():"<"===e?A():(H=4,z--)}function m(e){">"===e?(W=new ne(h(h({},W),{isClosing:!0})),D()):H=4}function y(e){"-"===e?H=15:">"===e?E():H=16}function v(e){"-"===e?H=18:">"===e?E():H=16}function b(e){"-"===e&&(H=17)}function F(e){H="-"===e?18:16}function O(e){">"===e?D():"!"===e?H=19:"-"===e||(H=16)}function S(e){"-"===e?H=17:">"===e?D():H=16}function j(e){">"===e?D():"<"===e&&A()}function E(){H=0,W=N}function A(){H=1,W=new ne({idx:z})}function D(){var t=e.slice(q,W.idx);t&&I(t,q),"comment"===W.type?M(W.idx):"doctype"===W.type?L(W.idx):(W.isOpening&&B(W.name,W.idx),W.isClosing&&R(W.name,W.idx)),E(),q=z+1}function T(){return e.slice(W.idx+(W.isClosing?2:1),z).toLowerCase()}for(var P,B=t.onOpenTag,R=t.onCloseTag,I=t.onText,M=t.onComment,L=t.onDoctype,N=new ne,z=0,U=e.length,H=0,q=0,W=N;z<U;){var K=e.charAt(z);switch(H){case 0:n(K);break;case 1:r(K);break;case 2:a(K);break;case 3:o(K);break;case 4:c(K);break;case 5:s(K);break;case 6:u(K);break;case 7:l(K);break;case 8:f(K);break;case 9:p(K);break;case 10:d(K);break;case 11:g(K);break;case 12:m(K);break;case 13:"--"===e.substr(z,2)?(z+=2,W=new ne(h(h({},W),{type:"comment"})),H=14):"DOCTYPE"===e.substr(z,7).toUpperCase()?(z+=7,W=new ne(h(h({},W),{type:"doctype"})),H=20):E();break;case 14:y(K);break;case 15:v(K);break;case 16:b(K);break;case 17:F(K);break;case 18:O(K);break;case 19:S(K);break;case 20:j(K);break;default:i(H)}z++}q<z&&(P=e.slice(q,z),I(P,q),q=z+1)}var s,u=function(){function e(e){void 0===e&&(e={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=e.tagName||"",this.attrs=e.attrs||{},this.innerHTML=e.innerHtml||e.innerHTML||""}return e.prototype.setTagName=function(e){return this.tagName=e,this},e.prototype.getTagName=function(){return this.tagName||""},e.prototype.setAttr=function(e,t){return this.getAttrs()[e]=t,this},e.prototype.getAttr=function(e){return this.getAttrs()[e]},e.prototype.setAttrs=function(e){return o(this.getAttrs(),e),this},e.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},e.prototype.setClass=function(e){return this.setAttr("class",e)},e.prototype.addClass=function(e){for(var t,r=this.getClass(),i=this.whitespaceRegex,o=r?r.split(i):[],a=e.split(i);t=a.shift();)-1===n(o,t)&&o.push(t);return this.getAttrs().class=o.join(" "),this},e.prototype.removeClass=function(e){for(var t,r=this.getClass(),i=this.whitespaceRegex,o=r?r.split(i):[],a=e.split(i);o.length&&(t=a.shift());){var c=n(o,t);-1!==c&&o.splice(c,1)}return this.getAttrs().class=o.join(" "),this},e.prototype.getClass=function(){return this.getAttrs().class||""},e.prototype.hasClass=function(e){return-1!==(" "+this.getClass()+" ").indexOf(" "+e+" ")},e.prototype.setInnerHTML=function(e){return this.innerHTML=e,this},e.prototype.setInnerHtml=function(e){return this.setInnerHTML(e)},e.prototype.getInnerHTML=function(){return this.innerHTML||""},e.prototype.getInnerHtml=function(){return this.getInnerHTML()},e.prototype.toAnchorString=function(){var e=this.getTagName(),t=this.buildAttrsStr();return["<",e,t=t?" "+t:"",">",this.getInnerHtml(),"</",e,">"].join("")},e.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var e=this.getAttrs(),t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n+'="'+e[n]+'"');return t.join(" ")},e}(),l=function(){function e(e){void 0===e&&(e={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=e.newWindow||!1,this.truncate=e.truncate||{},this.className=e.className||""}return e.prototype.build=function(e){return new u({tagName:"a",attrs:this.createAttrs(e),innerHtml:this.processAnchorText(e.getAnchorText())})},e.prototype.createAttrs=function(e){var t={href:e.getAnchorHref()},n=this.createCssClass(e);return n&&(t.class=n),this.newWindow&&(t.target="_blank",t.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<e.getAnchorText().length&&(t.title=e.getAnchorHref()),t},e.prototype.createCssClass=function(e){var t=this.className;if(t){for(var n=[t],r=e.getCssClassSuffixes(),i=0,o=r.length;i<o;i++)n.push(t+"-"+r[i]);return n.join(" ")}return""},e.prototype.processAnchorText=function(e){return e=this.doTruncate(e)},e.prototype.doTruncate=function(e){var t=this.truncate;if(!t||!t.length)return e;var n=t.length,r=t.location;return"smart"===r?function(e,t,n){var r,i;null==n?(n="&hellip;",i=3,r=8):(i=n.length,r=n.length);var o=function(e){var t="";return e.scheme&&e.host&&(t+=e.scheme+"://"),e.host&&(t+=e.host),e.path&&(t+="/"+e.path),e.query&&(t+="?"+e.query),e.fragment&&(t+="#"+e.fragment),t},a=function(e,t){var r=t/2,i=Math.ceil(r),o=-1*Math.floor(r),a="";return o<0&&(a=e.substr(o)),e.substr(0,i)+n+a};if(e.length<=t)return e;var c=t-i,s=function(e){var t={},n=e,r=n.match(/^([a-z]+):\/\//i);return r&&(t.scheme=r[1],n=n.substr(r[0].length)),(r=n.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(t.host=r[1],n=n.substr(r[0].length)),(r=n.match(/^\/(.*?)(?=(\?|#|$))/i))&&(t.path=r[1],n=n.substr(r[0].length)),(r=n.match(/^\?(.*?)(?=(#|$))/i))&&(t.query=r[1],n=n.substr(r[0].length)),(r=n.match(/^#(.*?)$/i))&&(t.fragment=r[1]),t}(e);if(s.query){var u=s.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);u&&(s.query=s.query.substr(0,u[1].length),e=o(s))}if(e.length<=t)return e;if(s.host&&(s.host=s.host.replace(/^www\./,""),e=o(s)),e.length<=t)return e;var l="";if(s.host&&(l+=s.host),l.length>=c)return s.host.length==t?(s.host.substr(0,t-i)+n).substr(0,c+r):a(l,c).substr(0,c+r);var f="";if(s.path&&(f+="/"+s.path),s.query&&(f+="?"+s.query),f){if((l+f).length>=c)return(l+f).length==t?(l+f).substr(0,t):(l+a(f,c-l.length)).substr(0,c+r);l+=f}if(s.fragment){var p="#"+s.fragment;if((l+p).length>=c)return(l+p).length==t?(l+p).substr(0,t):(l+a(p,c-l.length)).substr(0,c+r);l+=p}if(s.scheme&&s.host){var h=s.scheme+"://";if((l+h).length<c)return(h+l).substr(0,t)}if(l.length<=t)return l;var d="";return c>0&&(d=l.substr(-1*Math.floor(c/2))),(l.substr(0,Math.ceil(c/2))+n+d).substr(0,c+r)}(e,n):"middle"===r?function(e,t,n){if(e.length<=t)return e;var r,i;null==n?(n="&hellip;",r=8,i=3):(r=n.length,i=n.length);var o=t-i,a="";return o>0&&(a=e.substr(-1*Math.floor(o/2))),(e.substr(0,Math.ceil(o/2))+n+a).substr(0,o+r)}(e,n):function(e,t,n){return function(e,t,n){var r;return e.length>t&&(null==n?(n="&hellip;",r=3):r=n.length,e=e.substring(0,t-r)+n),e}(e,t,n)}(e,n)},e}(),f=function(){function e(e){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=e.tagBuilder,this.matchedText=e.matchedText,this.offset=e.offset}return e.prototype.getMatchedText=function(){return this.matchedText},e.prototype.setOffset=function(e){this.offset=e},e.prototype.getOffset=function(){return this.offset},e.prototype.getCssClassSuffixes=function(){return[this.getType()]},e.prototype.buildTag=function(){return this.tagBuilder.build(this)},e}(),p=function(e,t){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},p(e,t)},h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},h.apply(this,arguments)},d=function(e){function t(t){var n=e.call(this,t)||this;return n.email="",n.email=t.email,n}return a(t,e),t.prototype.getType=function(){return"email"},t.prototype.getEmail=function(){return this.email},t.prototype.getAnchorHref=function(){return"mailto:"+this.email},t.prototype.getAnchorText=function(){return this.email},t}(f),g=function(e){function t(t){var n=e.call(this,t)||this;return n.serviceName="",n.hashtag="",n.serviceName=t.serviceName,n.hashtag=t.hashtag,n}return a(t,e),t.prototype.getType=function(){return"hashtag"},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getHashtag=function(){return this.hashtag},t.prototype.getAnchorHref=function(){var e=this.serviceName,t=this.hashtag;switch(e){case"twitter":return"https://twitter.com/hashtag/"+t;case"facebook":return"https://www.facebook.com/hashtag/"+t;case"instagram":return"https://instagram.com/explore/tags/"+t;case"tiktok":return"https://www.tiktok.com/tag/"+t;default:throw new Error("Unknown service name to point hashtag to: "+e)}},t.prototype.getAnchorText=function(){return"#"+this.hashtag},t}(f),m=function(e){function t(t){var n=e.call(this,t)||this;return n.serviceName="twitter",n.mention="",n.mention=t.mention,n.serviceName=t.serviceName,n}return a(t,e),t.prototype.getType=function(){return"mention"},t.prototype.getMention=function(){return this.mention},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;case"tiktok":return"https://www.tiktok.com/@"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},t.prototype.getAnchorText=function(){return"@"+this.mention},t.prototype.getCssClassSuffixes=function(){var t=e.prototype.getCssClassSuffixes.call(this),n=this.getServiceName();return n&&t.push(n),t},t}(f),y=function(e){function t(t){var n=e.call(this,t)||this;return n.number="",n.plusSign=!1,n.number=t.number,n.plusSign=t.plusSign,n}return a(t,e),t.prototype.getType=function(){return"phone"},t.prototype.getPhoneNumber=function(){return this.number},t.prototype.getNumber=function(){return this.getPhoneNumber()},t.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},t.prototype.getAnchorText=function(){return this.matchedText},t}(f),v=function(e){function t(t){var n=e.call(this,t)||this;return n.url="",n.urlMatchType="scheme",n.protocolUrlMatch=!1,n.protocolRelativeMatch=!1,n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.schemePrefixRegex=/^(https?:\/\/)?/i,n.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,n.protocolRelativeRegex=/^\/\//,n.protocolPrepended=!1,n.urlMatchType=t.urlMatchType,n.url=t.url,n.protocolUrlMatch=t.protocolUrlMatch,n.protocolRelativeMatch=t.protocolRelativeMatch,n.stripPrefix=t.stripPrefix,n.stripTrailingSlash=t.stripTrailingSlash,n.decodePercentEncoding=t.decodePercentEncoding,n}return a(t,e),t.prototype.getType=function(){return"url"},t.prototype.getUrlMatchType=function(){return this.urlMatchType},t.prototype.getUrl=function(){var e=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(e=this.url="http://"+e,this.protocolPrepended=!0),e},t.prototype.getAnchorHref=function(){return this.getUrl().replace(/&amp;/g,"&")},t.prototype.getAnchorText=function(){var e=this.getMatchedText();return this.protocolRelativeMatch&&(e=this.stripProtocolRelativePrefix(e)),this.stripPrefix.scheme&&(e=this.stripSchemePrefix(e)),this.stripPrefix.www&&(e=this.stripWwwPrefix(e)),this.stripTrailingSlash&&(e=this.removeTrailingSlash(e)),this.decodePercentEncoding&&(e=this.removePercentEncoding(e)),e},t.prototype.stripSchemePrefix=function(e){return e.replace(this.schemePrefixRegex,"")},t.prototype.stripWwwPrefix=function(e){return e.replace(this.wwwPrefixRegex,"$1")},t.prototype.stripProtocolRelativePrefix=function(e){return e.replace(this.protocolRelativeRegex,"")},t.prototype.removeTrailingSlash=function(e){return"/"===e.charAt(e.length-1)&&(e=e.slice(0,-1)),e},t.prototype.removePercentEncoding=function(e){var t=e.replace(/%22/gi,"&quot;").replace(/%26/gi,"&amp;").replace(/%27/gi,"&#39;").replace(/%3C/gi,"&lt;").replace(/%3E/gi,"&gt;");try{return decodeURIComponent(t)}catch(e){return t}},t}(f),b=function(e){this.__jsduckDummyDocProp=null,this.tagBuilder=e.tagBuilder},_=/[A-Za-z]/,w=/[\d]/,F=/[\D]/,k=/\s/,x=/['"]/,C=/[\x00-\x1F\x7F]/,O=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,S=O+/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source+/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,j=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,E=S+j,A=S+j,D="(?:["+j+"]{1,3}\\.){3}["+j+"]{1,3}",T="["+A+"](?:["+A+"\\-]{0,61}["+A+"])?",P=function(e){return"(?=("+T+"))\\"+e},B=function(e){return"(?:"+P(e)+"(?:\\."+P(e+1)+"){0,126}|"+D+")"},R=(new RegExp("["+A+".\\-]*["+A+"\\-]"),new RegExp("[".concat(A,"]"))),I=/(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|vermögensberatung|xn--3oq18vl8pn36a|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|vermögensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|afamilycompany|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|travelchannel|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|சிங்கப்பூர்|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|swiftcover|tatamotors|technology|university|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|scjohnson|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|موريتانيا|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|budapest|builders|business|capetown|catering|catholic|cipriani|cityeats|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|etisalat|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|السعودية|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|католик|اتصالات|البحرين|الجزائر|العليان|پاکستان|كاثوليك|இந்தியா|abarth|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|webcam|xihuan|yachts|yandex|zappos|москва|онлайн|ابوظبي|ارامكو|الاردن|المغرب|امارات|فلسطين|مليسيا|भारतम्|இலங்கை|ファッション|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glade|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|lixil|loans|locus|lotte|lotto|macys|mango|media|miami|money|movie|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|ישראל|ایران|بازار|بھارت|سودان|سورية|همراه|भारोत|संगठन|বাংলা|భారత్|ഭാരതം|嘉里大酒店|aarp|able|adac|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|duck|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|raid|read|reit|rent|rest|rich|rmit|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|дети|сайт|بارت|بيتك|ڀارت|تونس|شبكة|عراق|عمان|موقع|भारत|ভারত|ভাৰত|ਭਾਰਤ|ભારત|ଭାରତ|ಭಾರತ|ලංකා|アマゾン|グーグル|クラウド|ポイント|大众汽车|组织机构|電訊盈科|香格里拉|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceo|cfa|cfd|com|cpa|crs|csc|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|off|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|qvc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|бел|ком|қаз|мкд|мон|орг|рус|срб|укр|հայ|קום|عرب|قطر|كوم|مصر|कॉम|नेट|คอม|ไทย|ລາວ|ストア|セール|みんな|中文网|亚马逊|天主教|我爱你|新加坡|淡马锡|诺基亚|飞利浦|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)/,M=new RegExp("[".concat(A,"!#$%&'*+/=?^_`{|}~-]")),L=new RegExp("^".concat(I.source,"$")),N=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.localPartCharRegex=M,t.strictTldRegex=L,t}return a(t,e),t.prototype.parseMatches=function(e){function t(e){"m"===e?l(1):m.test(e)&&l()}function n(e,t){":"===e?m.test(t)?(k=2,x=new z(h(h({},x),{hasMailtoPrefix:!0}))):f():w[e]===t||(m.test(t)?k=2:"."===t?k=3:"@"===t?k=4:f())}function r(e){"."===e?k=3:"@"===e?k=4:m.test(e)||f()}function o(e){"."===e||"@"===e?f():m.test(e)?k=2:f()}function a(e){R.test(e)?k=5:f()}function c(e){"."===e?k=7:"-"===e?k=6:R.test(e)||p()}function s(e){"-"===e||"."===e?p():R.test(e)?k=5:p()}function u(e){"."===e||"-"===e?p():R.test(e)?(k=5,x=new z(h(h({},x),{hasDomainDot:!0}))):p()}function l(e){void 0===e&&(e=2),k=e,x=new z({idx:F})}function f(){k=0,x=_}function p(){if(x.hasDomainDot){var t=e.slice(x.idx,F);/[-.]$/.test(t)&&(t=t.slice(0,-1));var n=x.hasMailtoPrefix?t.slice("mailto:".length):t;(function(e){var t=(e.split(".").pop()||"").toLowerCase();return y.test(t)})(n)&&v.push(new d({tagBuilder:g,matchedText:t,offset:x.idx,email:n}))}f()}for(var g=this.tagBuilder,m=this.localPartCharRegex,y=this.strictTldRegex,v=[],b=e.length,_=new z,w={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},F=0,k=0,x=_;F<b;){var C=e.charAt(F);switch(k){case 0:t(C);break;case 1:n(e.charAt(F-1),C);break;case 2:r(C);break;case 3:o(C);break;case 4:a(C);break;case 5:c(C);break;case 6:s(C);break;case 7:u(C);break;default:i(k)}F++}return p(),v},t}(b),z=function(e){void 0===e&&(e={}),this.idx=void 0!==e.idx?e.idx:-1,this.hasMailtoPrefix=!!e.hasMailtoPrefix,this.hasDomainDot=!!e.hasDomainDot},U=function(){function e(){}return e.isValid=function(e,t){return!(t&&!this.isValidUriScheme(t)||this.urlMatchDoesNotHaveProtocolOrDot(e,t)||this.urlMatchDoesNotHaveAtLeastOneWordChar(e,t)&&!this.isValidIpAddress(e)||this.containsMultipleDots(e))},e.isValidIpAddress=function(e){var t=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source);return null!==e.match(t)},e.containsMultipleDots=function(e){var t=e;return this.hasFullProtocolRegex.test(e)&&(t=e.split("://")[1]),t.split("/")[0].indexOf("..")>-1},e.isValidUriScheme=function(e){var t=e.match(this.uriSchemeRegex),n=t&&t[0].toLowerCase();return"javascript:"!==n&&"vbscript:"!==n},e.urlMatchDoesNotHaveProtocolOrDot=function(e,t){return!(!e||t&&this.hasFullProtocolRegex.test(t)||-1!==e.indexOf("."))},e.urlMatchDoesNotHaveAtLeastOneWordChar=function(e,t){return!(!e||!t)&&(!this.hasFullProtocolRegex.test(t)&&!this.hasWordCharAfterProtocolRegex.test(e))},e.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,e.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,e.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+O+"]"),e.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,e}(),H=(s=new RegExp("[/?#](?:["+A+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^✓]*["+A+"\\-+&@#/%=~_()|'$*\\[\\]{}✓])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,B(2),")","|","(","(//)?",/(?:www\.)/.source,B(6),")","|","(","(//)?",B(10)+"\\.",I.source,"(?![-"+E+"])",")",")","(?::[0-9]+)?","(?:"+s.source+")?"].join(""),"gi")),q=new RegExp("["+A+"]"),W=function(e){function t(t){var n=e.call(this,t)||this;return n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.matcherRegex=H,n.wordCharRegExp=q,n.stripPrefix=t.stripPrefix,n.stripTrailingSlash=t.stripTrailingSlash,n.decodePercentEncoding=t.decodePercentEncoding,n}return a(t,e),t.prototype.parseMatches=function(e){for(var t,n=this.matcherRegex,r=this.stripPrefix,i=this.stripTrailingSlash,o=this.decodePercentEncoding,a=this.tagBuilder,c=[],s=function(){var n=t[0],s=t[1],l=t[4],f=t.index,p=t[5]||t[9],h=e.charAt(f-1);if(!U.isValid(n,s))return"continue";if(f>0&&"@"===h)return"continue";if(f>0&&p&&u.wordCharRegExp.test(h))return"continue";if(/\?$/.test(n)&&(n=n.substr(0,n.length-1)),u.matchHasUnbalancedClosingParen(n))n=n.substr(0,n.length-1);else{var d=u.matchHasInvalidCharAfterTld(n,s);d>-1&&(n=n.substr(0,d))}var g=["http://","https://"].find((function(e){return!!s&&-1!==s.indexOf(e)}));if(g){var m=n.indexOf(g);n=n.substr(m),s=s.substr(m),f+=m}c.push(new v({tagBuilder:a,matchedText:n,offset:f,urlMatchType:s?"scheme":l?"www":"tld",url:n,protocolUrlMatch:!!s,protocolRelativeMatch:!!p,stripPrefix:r,stripTrailingSlash:i,decodePercentEncoding:o}))},u=this;null!==(t=n.exec(e));)s();return c},t.prototype.matchHasUnbalancedClosingParen=function(e){var t,n=e.charAt(e.length-1);if(")"===n)t="(";else if("]"===n)t="[";else{if("}"!==n)return!1;t="{"}for(var r=0,i=0,o=e.length-1;i<o;i++){var a=e.charAt(i);a===t?r++:a===n&&(r=Math.max(r-1,0))}return 0===r},t.prototype.matchHasInvalidCharAfterTld=function(e,t){if(!e)return-1;var n=0;t&&(n=e.indexOf(":"),e=e.slice(n));var r=new RegExp("^((.?//)?[-."+A+"]*[-"+A+"]\\.[-"+A+"]+)").exec(e);return null===r?-1:(n+=r[1].length,e=e.slice(r[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(e)?n:-1)},t}(b),K=new RegExp("#[_".concat(A,"]{1,139}(?![_").concat(A,"])"),"g"),$=new RegExp("[^"+A+"]"),V=function(e){function t(t){var n=e.call(this,t)||this;return n.serviceName="twitter",n.matcherRegex=K,n.nonWordCharRegex=$,n.serviceName=t.serviceName,n}return a(t,e),t.prototype.parseMatches=function(e){for(var t,n=this.matcherRegex,r=this.nonWordCharRegex,i=this.serviceName,o=this.tagBuilder,a=[];null!==(t=n.exec(e));){var c=t.index,s=e.charAt(c-1);if(0===c||r.test(s)){var u=t[0],l=t[0].slice(1);a.push(new g({tagBuilder:o,matchedText:u,offset:c,serviceName:i,hashtag:l}))}}return a},t}(b),G=new RegExp("".concat(/(?:(?:(?:(\+)?\d{1,3}[-\040.]?)?\(?\d{3}\)?[-\040.]?\d{3}[-\040.]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-\040.]?(?:\d[-\040.]?){6,12}\d+))([,;]+[0-9]+#?)*/.source,"|").concat(/(0([1-9]{1}-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/.source),"g"),Y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.matcherRegex=G,t}return a(t,e),t.prototype.parseMatches=function(e){for(var t,n=this.matcherRegex,r=this.tagBuilder,i=[];null!==(t=n.exec(e));){var o=t[0],a=o.replace(/[^0-9,;#]/g,""),c=!(!t[1]&&!t[2]),s=0==t.index?"":e.substr(t.index-1,1),u=e.substr(t.index+o.length,1),l=!s.match(/\d/)&&!u.match(/\d/);this.testMatch(t[3])&&this.testMatch(o)&&l&&i.push(new y({tagBuilder:r,matchedText:o,offset:t.index,number:a,plusSign:c}))}return i},t.prototype.testMatch=function(e){return F.test(e)},t}(b),J=new RegExp("@[_".concat(A,"]{1,50}(?![_").concat(A,"])"),"g"),Q=new RegExp("@[_.".concat(A,"]{1,30}(?![_").concat(A,"])"),"g"),Z=new RegExp("@[-_.".concat(A,"]{1,50}(?![-_").concat(A,"])"),"g"),X=new RegExp("@[_.".concat(A,"]{1,23}[_").concat(A,"](?![_").concat(A,"])"),"g"),ee=new RegExp("[^"+A+"]"),te=function(e){function t(t){var n=e.call(this,t)||this;return n.serviceName="twitter",n.matcherRegexes={twitter:J,instagram:Q,soundcloud:Z,tiktok:X},n.nonWordCharRegex=ee,n.serviceName=t.serviceName,n}return a(t,e),t.prototype.parseMatches=function(e){var t,n=this.serviceName,r=this.matcherRegexes[this.serviceName],i=this.nonWordCharRegex,o=this.tagBuilder,a=[];if(!r)return a;for(;null!==(t=r.exec(e));){var c=t.index,s=e.charAt(c-1);if(0===c||i.test(s)){var u=t[0].replace(/\.+$/g,""),l=u.slice(1);a.push(new m({tagBuilder:o,matchedText:u,offset:c,serviceName:n,mention:l}))}}return a},t}(b),ne=function(e){void 0===e&&(e={}),this.idx=void 0!==e.idx?e.idx:-1,this.type=e.type||"tag",this.name=e.name||"",this.isOpening=!!e.isOpening,this.isClosing=!!e.isClosing},re=function(){function e(t){void 0===t&&(t={}),this.version=e.version,this.urls={},this.email=!0,this.phone=!0,this.hashtag=!1,this.mention=!1,this.newWindow=!0,this.stripPrefix={scheme:!0,www:!0},this.stripTrailingSlash=!0,this.decodePercentEncoding=!0,this.truncate={length:0,location:"end"},this.className="",this.replaceFn=null,this.context=void 0,this.sanitizeHtml=!1,this.matchers=null,this.tagBuilder=null,this.urls=this.normalizeUrlsCfg(t.urls),this.email="boolean"==typeof t.email?t.email:this.email,this.phone="boolean"==typeof t.phone?t.phone:this.phone,this.hashtag=t.hashtag||this.hashtag,this.mention=t.mention||this.mention,this.newWindow="boolean"==typeof t.newWindow?t.newWindow:this.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(t.stripPrefix),this.stripTrailingSlash="boolean"==typeof t.stripTrailingSlash?t.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding="boolean"==typeof t.decodePercentEncoding?t.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=t.sanitizeHtml||!1;var n=this.mention;if(!1!==n&&-1===["twitter","instagram","soundcloud","tiktok"].indexOf(n))throw new Error("invalid `mention` cfg '".concat(n,"' - see docs"));var r=this.hashtag;if(!1!==r&&-1===["twitter","facebook","instagram","tiktok"].indexOf(r))throw new Error("invalid `hashtag` cfg '".concat(r,"' - see docs"));this.truncate=this.normalizeTruncateCfg(t.truncate),this.className=t.className||this.className,this.replaceFn=t.replaceFn||this.replaceFn,this.context=t.context||this}return e.link=function(t,n){return new e(n).link(t)},e.parse=function(t,n){return new e(n).parse(t)},e.prototype.normalizeUrlsCfg=function(e){return null==e&&(e=!0),"boolean"==typeof e?{schemeMatches:e,wwwMatches:e,tldMatches:e}:{schemeMatches:"boolean"!=typeof e.schemeMatches||e.schemeMatches,wwwMatches:"boolean"!=typeof e.wwwMatches||e.wwwMatches,tldMatches:"boolean"!=typeof e.tldMatches||e.tldMatches}},e.prototype.normalizeStripPrefixCfg=function(e){return null==e&&(e=!0),"boolean"==typeof e?{scheme:e,www:e}:{scheme:"boolean"!=typeof e.scheme||e.scheme,www:"boolean"!=typeof e.www||e.www}},e.prototype.normalizeTruncateCfg=function(e){return"number"==typeof e?{length:e,location:"end"}:function(e,t){for(var n in t)t.hasOwnProperty(n)&&void 0===e[n]&&(e[n]=t[n]);return e}(e||{},{length:Number.POSITIVE_INFINITY,location:"end"})},e.prototype.parse=function(e){var t=this,n=["a","style","script"],r=0,i=[];return c(e,{onOpenTag:function(e){n.indexOf(e)>=0&&r++},onText:function(e,n){if(0===r){var o=function(e,t){if(!t.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var n,r=[],i=0;n=t.exec(e);)r.push(e.substring(i,n.index)),r.push(n[0]),i=n.index+n[0].length;return r.push(e.substring(i)),r}(e,/(&nbsp;|&#160;|&lt;|&#60;|&gt;|&#62;|&quot;|&#34;|&#39;)/gi),a=n;o.forEach((function(e,n){if(n%2==0){var r=t.parseText(e,a);i.push.apply(i,r)}a+=e.length}))}},onCloseTag:function(e){n.indexOf(e)>=0&&(r=Math.max(r-1,0))},onComment:function(){},onDoctype:function(){}}),i=this.compactMatches(i),i=this.removeUnwantedMatches(i)},e.prototype.compactMatches=function(e){e.sort((function(e,t){return e.getOffset()-t.getOffset()}));for(var t=0;t<e.length-1;){var n=e[t],r=n.getOffset(),i=n.getMatchedText().length,o=r+i;if(t+1<e.length){if(e[t+1].getOffset()===r){var a=e[t+1].getMatchedText().length>i?t:t+1;e.splice(a,1);continue}if(e[t+1].getOffset()<o){e.splice(t+1,1);continue}}t++}return e},e.prototype.removeUnwantedMatches=function(e){return this.hashtag||r(e,(function(e){return"hashtag"===e.getType()})),this.email||r(e,(function(e){return"email"===e.getType()})),this.phone||r(e,(function(e){return"phone"===e.getType()})),this.mention||r(e,(function(e){return"mention"===e.getType()})),this.urls.schemeMatches||r(e,(function(e){return"url"===e.getType()&&"scheme"===e.getUrlMatchType()})),this.urls.wwwMatches||r(e,(function(e){return"url"===e.getType()&&"www"===e.getUrlMatchType()})),this.urls.tldMatches||r(e,(function(e){return"url"===e.getType()&&"tld"===e.getUrlMatchType()})),e},e.prototype.parseText=function(e,t){void 0===t&&(t=0),t=t||0;for(var n=this.getMatchers(),r=[],i=0,o=n.length;i<o;i++){for(var a=n[i].parseMatches(e),c=0,s=a.length;c<s;c++)a[c].setOffset(t+a[c].getOffset());r.push.apply(r,a)}return r},e.prototype.link=function(e){if(!e)return"";this.sanitizeHtml&&(e=e.replace(/</g,"&lt;").replace(/>/g,"&gt;"));for(var t=this.parse(e),n=[],r=0,i=0,o=t.length;i<o;i++){var a=t[i];n.push(e.substring(r,a.getOffset())),n.push(this.createMatchReturnVal(a)),r=a.getOffset()+a.getMatchedText().length}return n.push(e.substring(r)),n.join("")},e.prototype.createMatchReturnVal=function(e){var t;return this.replaceFn&&(t=this.replaceFn.call(this.context,e)),"string"==typeof t?t:!1===t?e.getMatchedText():t instanceof u?t.toAnchorString():e.buildTag().toAnchorString()},e.prototype.getMatchers=function(){if(this.matchers)return this.matchers;var e=this.getTagBuilder(),t=[new V({tagBuilder:e,serviceName:this.hashtag}),new N({tagBuilder:e}),new Y({tagBuilder:e}),new te({tagBuilder:e,serviceName:this.mention}),new W({tagBuilder:e,stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding})];return this.matchers=t},e.prototype.getTagBuilder=function(){var e=this.tagBuilder;return e||(e=this.tagBuilder=new l({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),e},e.version="3.15.0",e.AnchorTagBuilder=l,e.HtmlTag=u,e.matcher={Email:N,Hashtag:V,Matcher:b,Mention:te,Phone:Y,Url:W},e.match={Email:d,Hashtag:g,Match:f,Mention:m,Phone:y,Url:v},e}();t.a=re},DFWF:function(e,t,n){"use strict";(function(e,r){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return u(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=n("lBHI"),h=n("kv13"),d=n("3rgF"),g=n("yqR5"),m=n("oeWf"),y=n("DrMS"),v=n("jMw0"),b=n("FH/a"),_=function(t){function n(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return f(u(e=y.call.apply(y,[this].concat(n))),"state",{sortedKeys:[]}),f(u(e),"id","contacts-view"),f(u(e),"contacts",{}),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(n,t);var i,s,l,y=c(n);return i=n,(s=[{key:"updateSortedKeys",value:function(){var e=this,t=Object.keys(this.contacts).sort((function(t,n){var r=e.contacts[t],i=e.contacts[n];return r.name||i.name?r.name?i.name?r.name.localeCompare(i.name):-1:1:t.localeCompare(n)}));this.setState({sortedKeys:t})}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentDidMount",value:function(){var e=this;p.a.local.get("contacts").map(this.sub((function(t,n){n!==v.a.getPubKey()&&(t?e.contacts[n]=t:delete e.contacts[n],e.updateSortedKeys())}))),p.a.electron&&p.a.electron.get("bonjour").on((function(t){var n=JSON.parse(t);console.log("nearbyUsers",n),e.setState({nearbyUsers:n})}))}},{key:"renderNearbyUsers",value:function(){var t=this;return this.state.nearbyUsers.map((function(n){var r=n.txt&&n.txt.user;return r?e("div",{class:"profile-link-container"},r?e("div",{class:""},e("a",{href:"/profile/".concat(r),class:"profile-link"},e(h.a,{key:"i{k}",str:r,width:49}),e("div",null,e(m.a,{key:"k{k}",pub:r}),e("br",null),e("small",{class:"follower-count"},n.name,e("br",null),t.contacts[r]&&t.contacts[r].followers&&t.contacts[r].followers.size||"0"," ",Object(d.c)("followers")))),r!==v.a.getPubKey()?e(g.a,{key:"f{k}",id:r}):""):""):e("p",null,n.name)}))}},{key:"renderView",value:function(){var t=this,n=this.state.sortedKeys;return e("div",{class:"centered-container"},0!==n.length||this.state.nearbyUsers?e("div",{id:"contacts-list"},this.state.nearbyUsers?e(r,null,e("h3",null,"Nearby users"),this.renderNearbyUsers(),0===this.state.nearbyUsers.length?e("p",null,"—"):"",e("hr",null),e("br",null),e("h3",null,"Others")):"",e(b.a,null,n.map((function(n){var r=t.contacts[n];return e("div",{key:n,class:"profile-link-container"},e("a",{href:"/profile/".concat(n),class:"profile-link"},e(h.a,{key:"i".concat(n),str:n,width:49}),e("div",null,e(m.a,{key:"k".concat(n),pub:n}),e("br",null),e("small",{class:"follower-count"},r.followerCount||"0"," ",Object(d.c)("followers")))),n!==v.a.getPubKey()?e(g.a,{key:"f".concat(n),id:n}):"")}))),0===n.length?"—":""):Object(d.c)("no_contacts_in_list"))}}])&&o(i.prototype,s),l&&o(i,l),Object.defineProperty(i,"prototype",{writable:!1}),n}(y.a);t.a=_}).call(this,n("hosL").h,n("hosL").Fragment)},DrMS:function(e,t,n){"use strict";(function(e,r){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return u(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=n("5OaP"),h=n("hosL"),d=n("0F+k"),g=function(t){function n(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return f(u(e=p.call.apply(p,[this].concat(n))),"scrollElement",Object(h.createRef)()),f(u(e),"class",""),f(u(e),"id",""),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(n,t);var i,s,l,p=c(n);return i=n,(s=[{key:"render",value:function(){return e(r,null,e(d.a,null),e("div",{ref:this.scrollElement,class:"main-view ".concat(this.class),id:this.id},this.renderView()))}}])&&o(i.prototype,s),l&&o(i,l),Object.defineProperty(i,"prototype",{writable:!1}),n}(p.a);t.a=g}).call(this,n("hosL").h,n("hosL").Fragment)},E02R:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"FH/a":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return u(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return g}));var p=n("hosL"),h=["overscan","rowHeight","defaultRowHeight","children"],d={passive:!0,capture:!0},g=function(e){function t(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return f(u(e=l.call.apply(l,[this].concat(n))),"resized",(function(){var t=window.innerHeight||document.documentElement.offsetHeight;t!==e.state.height&&e.setState({height:t})})),f(u(e),"scrolled",(function(){var t=Math.max(0,e.base&&-e.base.getBoundingClientRect().top||0);e.setState({offset:t}),e.props.sync&&e.forceUpdate()})),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e);var n,r,s,l=c(t);return n=t,(r=[{key:"computeRowHeight",value:function(){if(this._height)return this._height;var e=this.base&&this.base.firstElementChild&&this.base.firstElementChild.firstElementChild;return this._height=e&&e.offsetHeight||0}},{key:"componentDidUpdate",value:function(){this.resized()}},{key:"componentDidMount",value:function(){this.resized(),this.scrolled(),addEventListener("resize",this.resized,d),addEventListener("scroll",this.scrolled,d)}},{key:"componentWillUnmount",value:function(){removeEventListener("resize",this.resized,d),removeEventListener("scroll",this.scrolled,d)}},{key:"render",value:function(e,t){var n=t.offset,r=void 0===n?0:n,o=t.height,a=void 0===o?0:o,c=e.overscan,s=void 0===c?10:c,u=e.rowHeight,l=e.defaultRowHeight,f=e.children,d=i(e,h),g=(u=u||this.computeRowHeight()||l||100)*f.length;"string"==typeof d.style?d.style+=" height:"+g+"px;":(d.style||(d.style={})).height=g.toExponential()+"px";var m=0,y=1;u&&(m=r/u|0,y=a/u|0,s&&(m=Math.max(0,m-m%s),y+=s));var v=f.slice(m,m+1+y);return Object(p.h)("div",d,Object(p.h)("div",{style:{position:"relative",top:m*u}},v))}}])&&o(n.prototype,r),s&&o(n,s),Object.defineProperty(n,"prototype",{writable:!1}),t}(p.Component)},FaXh:function(e,t){t.read=function(e,t,n,r,i){var o,a,c=8*i-r-1,s=(1<<c)-1,u=s>>1,l=-7,f=n?i-1:0,p=n?-1:1,h=e[t+f];for(f+=p,o=h&(1<<-l)-1,h>>=-l,l+=c;l>0;o=256*o+e[t+f],f+=p,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=p,l-=8);if(0===o)o=1-u;else{if(o===s)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,c,s,u=8*o-i-1,l=(1<<u)-1,f=l>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,d=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+f>=1?p/s:p*Math.pow(2,1-f))*s>=2&&(a++,s/=2),a+f>=l?(c=0,a=l):a+f>=1?(c=(t*s-1)*Math.pow(2,i),a+=f):(c=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&c,h+=d,c/=256,i-=8);for(a=a<<i|c,u+=i;u>0;e[n+h]=255&a,h+=d,a/=256,u-=8);e[n+h-d]|=128*g}},Gk7Q:function(){},HEoH:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){function a(e){r(s,i,o,a,c,"next",e)}function c(e){r(s,i,o,a,c,"throw",e)}var s=e.apply(t,n);a(void 0)}))}}function o(){return a.apply(this,arguments)}function a(){return(a=i((function*(e){if(!d.a.isUrl(e.url))throw new Error("Invalid url",e.url);if(e.from&&Object.keys(O).forEach((function(t){O[t].from===e.from&&delete O[t]})),O[e.url]=O[e.url]||y.a.omit(e,"url"),"public"===e.visibility){var t=yield b.a.SEA.secret(g.a.getKey().epub,g.a.getKey()),n=yield b.a.SEA.encrypt(e.url,t),r=yield b.a.SEA.work(n,null,null,{name:"SHA-256"});h.a.public.user().get("peers").get(r).put({url:e.url,lastSeen:(new Date).toISOString()})}!1!==e.enabled?l(e.url):u()}))).apply(this,arguments)}function c(e){h.a.public.on("bye",e),e.url=""}function s(){var e=localStorage.getItem("gunPeers");return e=e&&"undefined"!==e?JSON.parse(e):F,d.a.isElectron&&(e[_]={}),Object.keys(e).forEach((function(t){return y.a.defaults(e[t],{enabled:!0})})),e}function u(){localStorage.setItem("gunPeers",JSON.stringify(O))}function l(e){f(e)||(O[e]?(O[e].enabled=!0,h.a.public.opt({peers:[e]}),u()):o({url:e}))}function f(e){return"https:"===window.location.protocol&&0===e.indexOf("http:")}function p(){var e=h.a.public.back("opt.peers"),t=y.a.filter(Object.values(e),(function(e){return e&&e.wire&&"WebSocket"!==e.wire.constructor.name&&console.log("WebRTC peer",e),e&&e.wire&&1===e.wire.readyState&&0===e.wire.bufferedAmount&&"WebSocket"===e.wire.constructor.name}));if(t.length<w){var n=y.a.filter(Object.keys(O),(function(t){var n=y.a.map(Object.values(e),"url").indexOf(t)>-1,r=O[t].enabled;return!("https:"===window.location.protocol&&0===t.indexOf("http:"))&&r&&!n}));n.length&&l(y.a.sample(n))}t.length>w&&c(y.a.sample(t))}var h=n("lBHI"),d=n("aKPg"),g=n("jMw0"),m=n("9va6"),y=n.n(m),v=n("wCQ/"),b=n.n(v),_="http://localhost:8767/gun",w=3,F={"https://gun-rs.iris.to/gun":{},"https://gun-us.herokuapp.com/gun":{}},k=window.location,x=k.host,C=x.startsWith("localhost")&&"localhost:8080"!==x;(k.hostname.endsWith("herokuapp.com")||C)&&(Object.keys(F).forEach((function(e){return F[e].enabled=!1})),F["".concat(k.origin,"/gun")]={enabled:!0});var O=s(),S=y.a.once(function(){var e=i((function*(e){(yield h.a.local.get("settings").get("local").get("enablePublicPeerDiscovery").once())&&y.a.defer((function(){h.a.public.user(e).get("peers").once().map().on((function(t){t&&t.url&&function(){var n=y.a.countBy(O,(function(e){return e.from})),r=Object.keys(n).length;n[e]||(r+=1);var i=10/r;for(o({url:t.url,connect:!0,from:e});Object.keys(O).length>10;)y.a.each(Object.keys(n),(function(e){n[e]>i&&(delete O[y.a.sample(Object.keys(O))],n[e]-=1)}))}()}))}))}));return function(t){return e.apply(this,arguments)}}());t.a={init:function(){h.a.local.get("settings").get("maxConnectedPeers").on((function(e){void 0!==e&&(w=e)})),setInterval(p,1e3)},knownPeers:O,getRandomPeers:function(){var e=d.a.isElectron&&O[_]&&!1!==O[_].enabled,t=e?Math.max(w-1,1):w,n=y.a.sampleSize(Object.keys(y.a.pickBy(O,(function(e,t){return!f(t)&&e.enabled&&!(d.a.isElectron&&t===_)}))),t);return n&&e&&n.push(_),n},getKnownPeers:function(){return O},addPeer:o,connectPeer:l,removePeer:function(e){delete O[e],u()},disconnectPeer:c,disablePeer:function(e,t){O[e].enabled=!1,t&&c(t),u()},askForPeers:S,resetPeers:function(){localStorage.setItem("gunPeers",void 0),O=s()}}},Hrl7:function(e,t,n){"use strict";(function(e){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,"a",(function(){return ge}));var i,o,a,c,s=n("W0B4"),u=n.n(s),l=n("WiT8"),f=n.n(l),p=n("2Hgx"),h=n.n(p),d=n("l8WD"),g=n("IL7q"),m=n.n(g),y="bodyAttributes",v="htmlAttributes",b="titleAttributes",_={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},w=(Object.keys(_).map((function(e){return _[e]})),"charset"),F="cssText",k="href",x="http-equiv",C="innerHTML",O="itemprop",S="name",j="property",E="rel",A="src",D="target",T={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},P="defaultTitle",B="defer",R="encodeSpecialCharacters",I="onChangeClientState",M="titleTemplate",L=Object.keys(T).reduce((function(e,t){return e[T[t]]=t,e}),{}),N=[_.NOSCRIPT,_.SCRIPT,_.STYLE],z="data-react-helmet",U="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)},H=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},K=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==r(t)&&"function"!=typeof t?e:t},$=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},V=function(e){var t=Z(e,_.TITLE),n=Z(e,M);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Z(e,P);return t||r||void 0},G=function(e){return Z(e,I)||function(){}},Y=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return q({},e,t)}),{})},J=function(e,t){return t.filter((function(e){return void 0!==e[_.BASE]})).map((function(e){return e[_.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},Q=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&re("Helmet: "+e+' should be of type "Array". Instead found type "'+U(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),a=0;a<o.length;a++){var c=o[a],s=c.toLowerCase();-1===t.indexOf(s)||n===E&&"canonical"===e[n].toLowerCase()||s===E&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(c)||c!==C&&c!==F&&c!==O||(n=c)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][u]&&(i[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a++){var c=o[a],s=m()({},r[c],i[c]);r[c]=s}return e}),[]).reverse()},Z=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},X=(i=Date.now(),function(e){var t=Date.now();t-i>16?(i=t,e(t)):setTimeout((function(){X(e)}),0)}),ee=function(e){return clearTimeout(e)},te="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||X:e.requestAnimationFrame||X,ne="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ee:e.cancelAnimationFrame||ee,re=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ie=null,oe=function(e,t){var n=e.baseTag,r=e.htmlAttributes,i=e.linkTags,o=e.metaTags,a=e.noscriptTags,c=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,l=e.title,f=e.titleAttributes;se(_.BODY,e.bodyAttributes),se(_.HTML,r),ce(l,f);var p={baseTag:ue(_.BASE,n),linkTags:ue(_.LINK,i),metaTags:ue(_.META,o),noscriptTags:ue(_.NOSCRIPT,a),scriptTags:ue(_.SCRIPT,s),styleTags:ue(_.STYLE,u)},h={},d={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(d[e]=p[e].oldTags)})),t&&t(),c(e,h,d)},ae=function(e){return Array.isArray(e)?e.join(""):e},ce=function(e,t){void 0!==e&&document.title!==e&&(document.title=ae(e)),se(_.TITLE,t)},se=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(z),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),c=0;c<a.length;c++){var s=a[c],u=t[s]||"";n.getAttribute(s)!==u&&n.setAttribute(s,u),-1===i.indexOf(s)&&i.push(s);var l=o.indexOf(s);-1!==l&&o.splice(l,1)}for(var f=o.length-1;f>=0;f--)n.removeAttribute(o[f]);i.length===o.length?n.removeAttribute(z):n.getAttribute(z)!==a.join(",")&&n.setAttribute(z,a.join(","))}},ue=function(e,t){var n=document.head||document.querySelector(_.HEAD),r=n.querySelectorAll(e+"["+"data-react-helmet]"),i=Array.prototype.slice.call(r),o=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===C)n.innerHTML=t.innerHTML;else if(r===F)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{n.setAttribute(r,void 0===t[r]?"":t[r])}n.setAttribute(z,"true"),i.some((function(e,t){return a=t,n.isEqualNode(e)}))?i.splice(a,1):o.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:o}},le=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},fe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[T[n]||n]=e[n],t}),t)},pe=function(e,t,n){switch(e){case _.TITLE:return{toComponent:function(){return n=t.titleAttributes,(r={key:e=t.title})[z]=!0,i=fe(n,r),[d.default.createElement(_.TITLE,i,e)];var e,n,r,i},toString:function(){return function(e,t,n,r){var i=le(n),o=ae(t);return i?"<"+e+' data-react-helmet="true" '+i+">"+$(o,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+$(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case y:case v:return{toComponent:function(){return fe(t)},toString:function(){return le(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,i=((r={key:n})[z]=!0,r);return Object.keys(t).forEach((function(e){var n=T[e]||e;n===C||n===F?i.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:i[n]=t[e]})),d.default.createElement(e,i)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!(e===C||e===F)})).reduce((function(e,t){var i=void 0===r[t]?t:t+'="'+$(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===N.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},he=function(e){var t=e.bodyAttributes,n=e.encode,r=e.htmlAttributes,i=e.linkTags,o=e.metaTags,a=e.noscriptTags,c=e.scriptTags,s=e.styleTags,u=e.title,l=void 0===u?"":u,f=e.titleAttributes;return{base:pe(_.BASE,e.baseTag,n),bodyAttributes:pe(y,t,n),htmlAttributes:pe(v,r,n),link:pe(_.LINK,i,n),meta:pe(_.META,o,n),noscript:pe(_.NOSCRIPT,a,n),script:pe(_.SCRIPT,c,n),style:pe(_.STYLE,s,n),title:pe(_.TITLE,{title:l,titleAttributes:f},n)}},de=f()((function(e){return{baseTag:J([k,D],e),bodyAttributes:Y(y,e),defer:Z(e,B),encode:Z(e,R),htmlAttributes:Y(v,e),linkTags:Q(_.LINK,[E,k],e),metaTags:Q(_.META,[S,w,x,j,O],e),noscriptTags:Q(_.NOSCRIPT,[C],e),onChangeClientState:G(e),scriptTags:Q(_.SCRIPT,[A,C],e),styleTags:Q(_.STYLE,[F],e),title:V(e),titleAttributes:Y(b,e)}}),(function(e){ie&&ne(ie),e.defer?ie=te((function(){oe(e,(function(){ie=null}))})):(oe(e),ie=null)}),he)((function(){return null})),ge=(o=de,c=a=function(e){function t(){return K(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+r(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!h()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case _.SCRIPT:case _.NOSCRIPT:return{innerHTML:t};case _.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return q({},r,((t={})[n.type]=[].concat(r[n.type]||[],[q({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case _.TITLE:return q({},i,((t={})[r.type]=a,t.titleAttributes=q({},o),t));case _.BODY:return q({},i,{bodyAttributes:q({},o)});case _.HTML:return q({},i,{htmlAttributes:q({},o)})}return q({},i,((n={})[r.type]=q({},o),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=q({},t);return Object.keys(e).forEach((function(t){var r;n=q({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return d.default.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[L[n]||n]=e[n],t}),t)}(W(i,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case _.LINK:case _.META:case _.NOSCRIPT:case _.SCRIPT:case _.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=W(e,["children"]),r=q({},n);return t&&(r=this.mapChildrenToProps(t,r)),d.default.createElement(o,r)},H(t,null,[{key:"canUseDOM",set:function(e){o.canUseDOM=e}}]),t}(d.default.Component),a.propTypes={base:u.a.object,bodyAttributes:u.a.object,children:u.a.oneOfType([u.a.arrayOf(u.a.node),u.a.node]),defaultTitle:u.a.string,defer:u.a.bool,encodeSpecialCharacters:u.a.bool,htmlAttributes:u.a.object,link:u.a.arrayOf(u.a.object),meta:u.a.arrayOf(u.a.object),noscript:u.a.arrayOf(u.a.object),onChangeClientState:u.a.func,script:u.a.arrayOf(u.a.object),style:u.a.arrayOf(u.a.object),title:u.a.string,titleAttributes:u.a.object,titleTemplate:u.a.string},a.defaultProps={defer:!0,encodeSpecialCharacters:!0},a.peek=o.peek,a.rewind=function(){var e=o.rewind();return e||(e=he({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},c);ge.renderStatic=ge.rewind,t.b=ge}).call(this,n("pCvA"))},IL7q:function(e){"use strict";function t(){return t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}function n(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},r=0;r<10;r++)n["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(n).map((function(e){return n[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(t({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e){for(var t,a,c=n(e),s=1;s<arguments.length;s++){for(var u in t=Object(arguments[s]))i.call(t,u)&&(c[u]=t[u]);if(r){a=r(t);for(var l=0;l<a.length;l++)o.call(t,a[l])&&(c[a[l]]=t[a[l]])}}return c}},IwJA:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return u(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return b}));var p,h,d,g=n("4Iz4"),m=n("lBHI"),y=n("rUzK"),v=n("3rgF"),b=function(e){function t(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return f(u(e=l.call.apply(l,[this].concat(n))),"hashtags",{}),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e);var n,r,s,l=c(t);return n=t,(r=[{key:"componentDidMount",value:function(){var e=this;m.a.local.get("filters").get("group").on(this.inject()),m.a.group().map("hashtags",(function(t,n){e.hashtags[n]=!0,e.setState({})}))}},{key:"renderView",value:function(){return Object(g.a)(p||(p=i(['\n      <div class="centered-container">\n        <h3>',"</h3>\n        <"," />\n        ","\n        ","\n      </div>\n    "])),Object(v.c)("hashtags"),y.a,0===Object.keys(this.hashtags).length?Object(g.a)(h||(h=i(["\n            <p>No hashtags yet</p>\n        "]))):"",Object.keys(this.hashtags).sort().map((function(e){return Object(g.a)(d||(d=i(['\n            <p>\n                <a href="/hashtag/','">#',"</a>\n            </p>\n          "])),e,e)})))}}])&&o(n.prototype,r),s&&o(n,s),Object.defineProperty(n,"prototype",{writable:!1}),t}(n("DrMS").a)},J69P:function(e,t,n){(function(e){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}var r="undefined"!=typeof window?window.Gun:n("07iF");r.on("create",(function(i){r.TESTING&&(i.opt.file="radatatest"),this.to.next(i);var o,a=i.opt;if(!1!==a.rad&&!1!==a.radisk&&(o+""==(void 0===e?"undefined":t(e))||"false"!=""+(e.env||"").RAD)){var c=r.window&&r.window.Radisk||n("91Be"),s=c.Radix,u=c(a),l=String.fromCharCode(27),f=0;i.on("put",(function(e){if(this.to.next(e),!(e._||"").rad){var t=e["#"],n=e.put,r=n["#"],o=n["."],a=n[":"],c=n[">"],s=(e._||"").DBG;s&&(s.sp=s.sp||+new Date);var f=(e._||"").RPS||((e._||"").RPS=+new Date);u(r+l+o,{":":a,">":c},(function(e,n){s&&(s.spd=s.spd||+new Date),console.STAT&&console.STAT(f,+new Date-f,"put"),i.on("in",e?{"@":t,err:e,DBG:s}:{"@":t,ok:n,DBG:s})}),!1,s&&(s.r=s.r||{})),s&&(s.sps=s.sps||+new Date)}}));i.on("get",(function(e){function t(e,t){if(x++,e){var n=(t=(d+t).split(l)).slice(0,1)[0];if(t=t.slice(-1)[0],w.limit&&w.limit<=w.count)return!0;var i;if("string"!=typeof e)return(h=h||{})[n]=r.state.ify(h[n],t,e[">"],i=e[":"],n),void(w.count=(w.count||0)+((i||"").length||9));w.count=(w.count||0)+e.length;var o=e.lastIndexOf(">"),a=c.decode(e.slice(o+1),null,l);e=c.decode(e.slice(0,o),null,l),(h=h||{})[n]=r.state.ify(h[n],t,a,e,n)}}this.to.next(e);var n=(e._||"").DBG=e.DBG;n&&(n.sg=+new Date);var h,d,g,m,y=e["#"],v=e.get,b=e.get["#"],_=e.get["."]||"",w={};if("string"==typeof b?d=b:b&&(o!==(g=b["*"])&&(w.limit=m=1),o!==b[">"]&&(w.start=b[">"]),o!==b["<"]&&(w.end=b["<"]),d=m?""+g:g||b["="],m=null),d&&!w.limit&&("string"==typeof _?d=d+l+(w.atom=_):_&&(o!==_[">"]&&(w.start=_[">"],w.limit=1),o!==_["<"]&&(w.end=_["<"],w.limit=1),o!==(g=_["*"])&&(w.limit=m=1),d&&(d=d+l+(m?""+(g||""):g||(w.atom=_["="]||""))))),((g=v["%"])||w.limit)&&(w.limit=g<=(w.pack||1e5)?g:1),(_["-"]||(b||{})["-"]||v["-"])&&(w.reverse=!0),(g=(i.next||"")[b])&&g.put)if(w.atom){if((g=(g.next||"")[w.atom])&&g.rad)return}else if(g&&g.rad)return;var F=r.state(),k=+new Date,x=0;n&&(n.sgm=k),u(d||"",(function(e,c,u){n&&(n.sgr=+new Date),n&&(n.sgi=u);try{a.store.stats.get.time[p%50]=+new Date-k,++p,a.store.stats.get.count++,e&&(a.store.stats.get.err=e)}catch(e){}var g,m;if(console.STAT&&console.STAT(k,+new Date-k,"got",JSON.stringify(d)),k=+new Date,(u=u||"").unit&&c&&o!==(g=c[":"])&&o!==(m=c[">"])){var C=d.split(l),O=C[0],S=C[1];(h=h||{})[O]=r.state.ify(h[O],S,m,g,O),i.$.get(O).get(S)._.rad=F}else c&&("string"!=typeof c&&(w.atom?c=o:s.map(c,t,w)),!h&&c&&t(c,""),!w.atom&&!_&"string"==typeof b&&!w.limit&&!w.more&&(i.$.get(b)._.rad=F));n&&(n.sgp=+new Date),console.STAT&&(f=+new Date-k)>9&&(console.STAT(k,f,"got prep time"),console.STAT(k,x,"got prep #")),f,x=0,k=+new Date;var j=function(){};j.faith=!0,j.rad=v,i.on("in",{"@":y,put:h,"%":u.more?1:o,err:e||o,_:j,DBG:n}),console.STAT&&(f=+new Date-k)>9&&console.STAT(k,f,"got emit",Object.keys(h||{}).length),h=o}),w,n&&(n.r=n.r||{})),n&&(n.sgd=+new Date),console.STAT&&(f=+new Date-k)>9&&console.STAT(k,f,"get call")}));(a.store||{}).stats={get:{time:{},count:0},put:{time:{},count:0}};var p=0}}))}).call(this,n("5IsQ"))},K2jg:function(e){(function(t){e.exports=t}).call(this,{})},KlUR:function(e,t){"use strict";function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function r(e,t,n){for(var r,o=[],a=t;a<n;a+=3)o.push(i[(r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r]);return o.join("")}t.byteLength=function(e){var t=n(e),r=t[1];return 3*(t[0]+r)/4-r},t.toByteArray=function(e){var t,r,i=n(e),c=i[0],s=i[1],u=new a(function(e,t,n){return 3*(t+n)/4-n}(0,c,s)),l=0,f=s>0?c-4:c;for(r=0;r<f;r+=4)t=o[e.charCodeAt(r)]<<18|o[e.charCodeAt(r+1)]<<12|o[e.charCodeAt(r+2)]<<6|o[e.charCodeAt(r+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,u[l++]=255&t),1===s&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,a=[],c=16383,s=0,u=n-o;s<u;s+=c)a.push(r(e,s,s+c>u?u:s+c));return 1===o?a.push(i[(t=e[n-1])>>2]+i[t<<4&63]+"=="):2===o&&a.push(i[(t=(e[n-2]<<8)+e[n-1])>>10]+i[t>>4&63]+i[t<<2&63]+"="),a.join("")};for(var i=[],o=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=c.length;s<u;++s)i[s]=c[s],o[c.charCodeAt(s)]=s;o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},L8Yj:function(e,t,n){"use strict";(function(e){t.a=function(t){return t.src&&0!==t.src.indexOf("data:image")&&(t.src=""),e("img",t)}}).call(this,n("hosL").h)},Marr:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="ysavwX9TVnlDw93w9IxezCJqSDMyzIU-qpD8VTN5yko.3ll1dFdxLkgyVpejFkEMOFkQzp_tRrkT3fImZEx94Co"},NS33:function(e,t,n){"use strict";function r(){}function i(){}var o=n("E02R");i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},"P+S2":function(e,t){"use strict";t.a={en:{language_name:"English",whats_your_name:"What's your name?",new_user_go:"Go",already_have_an_account:"Already have an account?",back:"Back",scan_private_key_qr_code:"Scan private key QR code",paste_private_key:"Paste a private key",get_notified_new_messages:"Get notified of new messages",turn_on_desktop_notifications:"Turn on desktop notifications",new_chat:"New chat",public_messages:"Public messages",follow_someone_info:"Follow someone to see content from their network! Suggestion:",creator_of_this_distribution:"Creator of this Iris distribution",no_followers_yet:"Share your profile link so others can follow you:",no_followers_yet_info:"Your posts, replies and likes are only shown to your followers and their network.",alternatively:"Alternatively,",alternatively_get_sms_verified:"Alternatively, get <a>SMS verified</a> so others can find you.",give_your_profile_link_to_someone:"give your profile link to someone",if_other_person_doesnt_see_message:"If the other person doesn't see your message, you can give them <b>your</b> invite link through some other channel:",type_a_message:"Type a message",beware_of_sharing_invite_link_publicly:"Beware of sharing your invite link publicly: you might get spammed with message requests. Publicly share your <a>profile link</a> instead.",your_invite_links:"Your Invite Links",create_new_invite_link:"Create new invite link",copy_your_invite_link:"Copy your invite link",have_someones_invite_link:"Have someone's invite link?",paste_their_invite_link:"Paste their invite link",give_your_invite_link:"Give your invite link:",or_scan_qr_code:"Or scan their QR code",or_show_qr_code:"Or show your QR code",new_group:"New group",group_name:"Group name",create:"Create",settings:"Settings",profile:"Profile",your_name:"Your name",profile_photo:"Profile photo",add_profile_photo:"Add profile photo",profile_photo_too_big:"Profile photo too big: maximum size is 200KB",cancel:"Cancel",use_photo:"Use photo",remove_photo:"Remove photo",about_text:"About text",account:"Account",save_backup_of_privkey_first:"Save a backup of your private key first!",otherwise_cant_log_in_again:"Otherwise you can't log in back to this account.",log_out:"Log out",private_key:"Private key",download:"Download",download_private_key:"Download private key",private_key_warning:"<b>DANGER!</b> Private key <b>gives access to your account</b>. Don't give or show your private key to anyone else!",copy_private_key:"Copy private key",show_privkey_qr:"Show private key QR code",hide_privkey_qr:"Hide private key QR code",privkey_storage_recommendation:"The safest place to store your private key is a <b>password manager</b>.",language:"Language",peers:"Peers",peer_url:"Peer url",public:"Public",remove:"Remove",enable:"Enable",disable:"Disable",from:"from",add:"Add",public_peer_info:"<i>Public</i> peers are automatically discoverable by people you chat with (and others).",peers_info:"Peers are GunDB nodes that you can easily <a>spin up</a>. Upcoming: direct connection with friends over WebRTC.",webrtc_connection_options:"WebRTC connection options",webrtc_info:"WebRTC is used for video calls. If you're behind a NAT, you might need to specify a TURN server here, which will relay your video traffic.",restore_defaults:"Restore defaults",about:"About",application_security_warning:"The application is an unaudited proof-of-concept implementation, so don't use it for security critical purposes.",donate:"Donate",donate_info:"<b>Donations</b> help keep the project going and are very much appreciated. You can donate via <a>Open Collective</a> or <b>bitcoin</b>",logout_confirmation_info:"You <b>cannot log in again</b> unless you have saved a copy of your private key.",participants:"Participants",admin:"admin",add_participant:"Add participant",new_participants_profile_link:"New participant's profile link",invite_links:"Invite links",copy:"Copy",follows_you:"Follows you",follow:"Follow",unfollow:"Unfollow",following:"Following",followers:"Followers",add_friend:"Add friend",send_message:"Send message",copy_link:"Copy link",show_qr_code:"Show QR code",chat_settings:"Chat Settings",nicknames:"Nicknames",nickname:"Nickname",video_call:"Video call",online:"online",last_active:"last active",their_nickname_for_you:"Their nickname for you",notifications:"Notifications",all_messages:"All messages",mentions_only:"Mentions only",nothing:"Nothing",delete_chat:"Delete chat",block_user:"Block user",typing:"Typing...",attachment:"attachment",note_to_self:"Note to Self",today:"today",yesterday:"yesterday",copied:"Copied",answer:"answer",reject:"reject",incoming_call:"Incoming call",call_rejected:"Call rejected",close:"Close",call_ended:"Call ended",calling:"Calling",on_call_with:"On call with",delete:"Delete",confirm_delete_msg:"Delete message?",search:"Search",email_privkey_to_yourself:"Email the private key to yourself",email:"Email",retype_email:"Retype email",email_optional:"Email (optional)",delivery:"Delivery",address:"Address",confirmation:"Confirmation",payment_method:"Payment method",summary:"Summary",download_webtorrent:"Download <a>Webtorrent Desktop</a> to host your media files and paste their magnet links below.",visibility:"Your posts, replies and likes are only shown to your followers and their network.",iris_is_like:"Iris is like the social networking apps we're used to, but better.",this_is_a_prototype_store:"This is a prototype store that shows items from merchants in your social network. Orders are sent via Iris private message. Your own store can be found <a>here</a>.",add_to_cart:"Add to cart",web_push_subscriptions:"Web push subscriptions",enable_public_peer_discovery:"Enable public peer discovery",set_up_your_own_peer:"Set up your own peer",also:"Also",or_small:"or",automatically_load_webtorrent_attachments:"Automatically load webtorrent attachments",autoplay_webtorrent_videos:"Autoplay webtorrent videos",home:"Home",media:"Media",messages:"Messages",market:"Market",contacts:"Contacts",explorer:"Explorer",iris_is_accessible:"<b>Accessible.</b> No phone number or signup required. Just type in your name or alias and go!",iris_is_secure:"<b>Secure.</b> It's open source. You can verify that your data stays safe.",iris_is_always_available:"<b>Always available.</b> It works offline-first and is not dependent on any single centrally managed server. Users can even connect directly to each other.",in_other_words:"In other words, you can't be deplatformed from Iris.",get_the_desktop_application:"Get the desktop application",communicate_and_synchronize:"Communicate and synchronize with local network peers without Internet access",when_local_peers:"When local peers eventually connect to the Internet, your messages are relayed globally",bluetooth_support_upcoming:"Bluetooth support upcoming",opens_to_background:"Opens to background on login: stay online and get message notifications",more_secure_and_available:"More secure and available: no need to open the browser application from a server",direct_connect_to_the:"Direct-connect to the people you have an open chat with (if port 8767 open or upnp enabled in router)",the_application_is_unaudited:"The application is an unaudited proof-of-concept implementation, so don't use it for security critical purposes.",add_hashtag:"+ Add hashtag",all:"All",follows:"Follows",second_degree_follows:"2nd degree follows",everyone:"Everyone",connected_peers:"Connected peers",no_notifications_yet:"No notifications yet",popular_hashtags:"Popular hashtags",go:"Go",none:"None",no_items_to_show:"No items to show",store_description:"Store description",add_item:"Add item",name:"Name",store:"Store",item_id:"Item ID",item_description:"Item description",price:"Price",delete_item:"Delete item",no_contacts_in_list:"No contacts in list"},fr:{language_name:"Français",whats_your_name:"Quel est votre nom ?",new_user_go:"C'est parti",already_have_an_account:"Vous avez déjà un compte ?",back:"Retour",scan_private_key_qr_code:"Scannez le code QR de la clé privée",paste_private_key:"Coller une clé privée",get_notified_new_messages:"Être notifié des nouveaux messages",turn_on_desktop_notifications:"Activer les notifications de bureau",new_chat:"Nouveau chat",public_messages:"Messages publics",follow_someone_info:"Suivez quelqu'un pour voir le contenu de leur réseau ! Suggestions : ",creator_of_this_distribution:"Créateur de cette distribution d'Iris",no_followers_yet:"Partagez votre lien de profil pour que les autres puissent vous suivre :",no_followers_yet_info:"Vos posts, réponses et likes sont seulement visibles par vos followers et leurs réseaux.",alternatively:"Sinon,",alternatively_get_sms_verified:"Vous pouvez aussi, activer <a>SMS verified</a> pour que les autres puissent vous trouver.",give_your_profile_link_to_someone:"donner votre lien de profil à quelqu'un",if_other_person_doesnt_see_message:"Si les autres ne voient pas votre message, vous pouvez leur donner <b>votre</b> lien d'invitation depuis un autre canal :",type_a_message:"Entrez un message",type_a_message_or_paste_a_magnet_link:"Entrez un message ou collez un lien magnet",beware_of_sharing_invite_link_publicly:"Attention à ne pas partager votre lien d'invitation publiquement : vous pourriez être spammé de demandes de contacts. Partagez publiquement plutôt votre <a>lien de profil</a> à la place.",your_invite_links:"Votre lien d'invitation",create_new_invite_link:"Créer un nouveau lien d'invitation",copy_your_invite_link:"Copier votre lien d'invitation",have_someones_invite_link:"Vous avez le lien d'invitation de quelqu'un ?",paste_their_invite_link:"Collez un lien d'invitation",give_your_invite_link:"Donnez votre lien d'invitation:",or_scan_qr_code:"Ou scannez leur Code QR",or_show_qr_code:"Ou visualisez votre Code QR",new_group:"Nouveau groupe",group_name:"Nom du groupe",create:"Créer",settings:"Réglages",profile:"Profil",your_name:"Votre nom",profile_photo:"Photo de profil",add_profile_photo:"Ajoutez une photo de profil",profile_photo_too_big:"Photo de profil trop grosse : la taille maximale est de 200Ko",cancel:"Annulez",use_photo:"Utiliser votre photo",remove_photo:"Supprimer photo",about_text:"À propos",account:"Compte",save_backup_of_privkey_first:"Sauvegardez d'abord une copie de votre clé privée",otherwise_cant_log_in_again:"Sinon vous ne pourrez plus vous connecter de nouveau sur ce compte",log_out:"Se déconnecter",private_key:"Clé privée",download_private_key:"Télécharger la clé privée",private_key_warning:"<b>DANGER !</b> La clé privée <b>donne accès à votre compte</b>. Ne la transmettez ou la montrez à personne d'autre !",copy_private_key:"Copier la clé privée",show_privkey_qr:"Visualiser le Code QR de la clé privée",hide_privkey_qr:"Cacher le code QR de la clé privée",privkey_storage_recommendation:"L'endroit le plus sécurisé pour votre clé privée est un <b>gestionnaire de mots de passe</b>.",language:"Langage",peers:"Pairs",peer_url:"Url des pairs",public:"Public",remove:"Supprimer",enable:"Activer",disable:"Désactiver",from:"de",add:"Ajouter",public_peer_info:"Les pairs <i>publics</i> sont automatiquement visibles par les personnes avec qui vous discutez.",peers_info:"Les pairs sont des noeuds GunDB que vous pouvez facilement <a>monter</a>. A venir : la connexion directe avec vos amis via WebRTC.",webrtc_connection_options:"Options de connection WebRTC",webrtc_info:"WebRTC est utilisé pour les communications audio/vidéo. Si vous êtes derrière un routeur, vous devrez probablement spécifier un serveur de rebond TURN ici, qui devrait relayer votre communication ici.",restore_defaults:"Remettre par défaut",about:"À propos",application_security_warning:"L'application est un POC d'implémentation non audité, ne l'utilisez pas pour un quelconque motif à sécurité critique.",donate:"Faites un don",donate_info:"<b>Les donnations</b> aident à garder le projet en œuvre et sont grandement appréciés. Vous pouvez participer via <a>Open Collective</a> ou <b>bitcoin</b>",logout_confirmation_info:"Vous <b>ne pouvez pas vous réauthentifier</b> sauf si vous avez une copie de votre clé privée.",participants:"Participants",admin:"admin",add_participant:"Ajouter participant",new_participants_profile_link:"Lien de profil du nouveau participant",invite_links:"Liens d'invitation",copy:"Copier",switch_account:"Changer de compte",follows_you:"Vous suit",follow:"Suivre",unfollow:"Ne plus suivre",following:"Suivi",followers:"Followers",add_friend:"Demande d'ami",send_message:"Envoyer un message",copy_link:"Copier le lien",show_qr_code:"Voir Code QR",chat_settings:"Paramètres de messages",nicknames:"Surnoms",nickname:"Surnom",video_call:"Appel vidéo",online:"en ligne",last_active:"dernière activité",their_nickname_for_you:"Le surnom qu'il/elle vous donne :",notifications:"Notifications",all_messages:"Tous les messages",mentions_only:"Mentions seulement",nothing:"Rien",delete_chat:"Supprimer chat",block_user:"Bloquer l'utilisateur",typing:"En train d'écrire...",attachment:"pièces jointes",note_to_self:"Notes pour soi",today:"aujourd'hui",yesterday:"hier",copied:"Copié",answer:"Répondre",reject:"Rejeter",incoming_call:"Appel entrant",call_rejected:"Appel rejeté",close:"Raccrocher",call_ended:"Appel terminé",calling:"Appel en cours",on_call_with:"En appel avec : ",delete:"Supprimer",confirm_delete_msg:"Supprimer message ?",search:"Recherche",email_privkey_to_yourself:"Vous envoyer votre clé privée ",email:"Email",retype_email:"Saisir l'email à nouveau",email_optional:"Email (optionnel)",delivery:"Délivré",address:"Adresse",confirmation:"Confirmation",payment_method:"Méthode de paiement",summary:"Résumé",download_webtorrent:"Téléchargez <a>Webtorrent Desktop</a> pour héberger vos fichiers multimédias et collez leurs liens magnet ci-dessous.",visibility:"Vos posts, réponses et likes sont seulement visibles par vos followers et leur réseau.",iris_is_like:"Iris, c'est comme les réseaux sociaux auxquels nous sommes habitués ... mais c'est mieux !",this_is_a_prototype_store:"Ceci est un prototype de boutique qui permet de visualiser des produits de marchands dans votre réseau social. Les commandes sont envoyées via messages privés Iris. Votre propre boutique est disponible <a>ici</a>.",add_to_cart:"Ajouter au panier",web_push_subscriptions:"Souscription push web",enable_public_peer_discovery:"Activer la découverte de pairs publics",set_up_your_own_peer:"Paramétrez votre propre pair",also:"Également",or_small:"ou",automatically_load_webtorrent_attachments:"Lire automatiquement les médias webtorrent",autoplay_webtorrent_videos:"Lire automatiquement les vidéos webtorrent",home:"Accueil",media:"Médias",messages:"Messages",market:"Market",contacts:"Contacts",explorer:"Explorer",no_contacts_in_list:"Vous n'avez aucun contact dans votre liste."},es:{language_name:"Español",whats_your_name:"¿Cuál es tu nombre?",new_user_go:"Ir",already_have_an_account:"¿Ya tienes una cuenta?",back:"volver",scan_private_key_qr_code:"Escanee el código QR de clave privada",paste_private_key:"Pegar una clave privada",get_notified_new_messages:"Recibe notificaciones de nuevos mensajes",turn_on_desktop_notifications:"Activa las notificaciones de escritorio",new_chat:"Nueva conversación",if_other_person_doesnt_see_message:"Si la otra persona no ve su mensaje, puede darle <b> su </b> enlace de chat a través de otro canal:",type_a_message:"Escribe un mensaje",beware_of_sharing_invite_link_publicly:"Tenga cuidado de compartir su enlace de chat públicamente: puede recibir spam con solicitudes de mensajes. Comparta públicamente su <a> enlace de perfil </a> en su lugar.",your_invite_links:"Tus enlaces de chat",create_new_invite_link:"Crear nuevo enlace de chat",copy_your_invite_link:"Copia tu enlace de chat",have_someones_invite_link:"¿Tienes el enlace de chat de alguien?",paste_their_invite_link:"Pegue su enlace de chat",give_your_invite_link:"Pasa tu enlace de chat:",or_scan_qr_code:"O escanee su código QR",or_show_qr_code:"O muestra tu código QR",new_group:"Nuevo grupo",group_name:"Nombre del grupo",create:"Crear",settings:"Configuraciones",profile:"Perfil",your_name:"Tu nombre",profile_photo:"Foto de perfil",add_profile_photo:"Añadir foto de perfil",profile_photo_too_big:"Foto de perfil demasiado grande: el tamaño máximo es de 200 KB",cancel:"Cancelar",use_photo:"Usar foto",remove_photo:"Eliminar foto",about_text:"Sobre el texto",account:"Cuenta",save_backup_of_privkey_first:"¡tenga una copia de seguridad de su clave privada primero!",otherwise_cant_log_in_again:"De lo contrario, no puede volver a iniciar sesión en esta cuenta.",log_out:"Cerrar sesión",private_key:"Llave privada",download_private_key:"Descargar clave privada",private_key_warning:"<b> ¡PELIGRO! </b> La clave privada se utiliza para <b> iniciar sesión en su cuenta </b>. ¡No le dé ni muestre su clave privada a nadie más!",copy_private_key:"Copiar clave privada",show_privkey_qr:"Mostrar código QR de clave privada",hide_privkey_qr:"Ocultar código QR de clave privada",privkey_storage_recommendation:"El lugar más seguro para almacenar su clave privada es un <b> administrador de contraseñas </b>.",language:"Idioma",peers:"Pares",peer_url:"Par url",public:"Público",remove:"Remove",enable:"Eliminar",disable:"Inhabilitar",from:"desde",add:"Añadir",public_peer_info:"Las personas con las que chatea (y otras) pueden detectar automáticamente a los pares <i> públicos </i>.",peers_info:"Los pares son nodos GunDB que puede <a> ​​girar fácilmente </a>. Próximamente: conexión directa con amigos a través de WebRTC.",webrtc_connection_options:"Opciones de conexión de WebRTC",webrtc_info:"WebRTC se utiliza para videollamadas. Si está detrás de un NAT, es posible que deba especificar un servidor TURN aquí, que retransmitirá su tráfico de video. El ancho de banda no es gratuito, por lo que no hay servidores TURN gratuitos disponibles.",restore_defaults:"Restaurar los valores predeterminados",about:"Acerca de",application_security_warning:"La aplicación es una implementación de prueba de concepto no auditada, así que no la use con fines críticos de seguridad.",donate:"Donar",donate_info:"<b> Donaciones </b> ayudan a mantener el proyecto en marcha y son muy apreciados. Puede donar a través de <a> Open Collective </a> o <b> bitcoin </b>",logout_confirmation_info:"<b> no puede iniciar sesión de nuevo </b> a menos que haya guardado una copia de su clave privada.",participants:"Participantes",admin:"administración",add_participant:"Añada participante",new_participants_profile_link:"Enlace de chat del nuevo participante",add_friend:"Añadir amigo",send_message:"Enviar mensaje",copy_link:"Copiar link",chat_settings:"Configuraciones de chat",nicknames:"Apodos",nickname:"Apodo",video_call:"Videollamada",online:"en línea",last_active:"Último Activo",their_nickname_for_you:"Su apodo para ti",notifications:"Notificaciones",all_messages:"Todos los mensajes",mentions_only:"Solo menciones",nothing:"Nada",delete_chat:"Eliminar chat",block_user:"Bloquear usuario",typing:"Escribiendo...",attachment:"adjunto archivo",note_to_self:"Nota personal",today:"hoy",yesterday:"ayer",copied:"Copiado",answer:"responder",reject:"rechazar",incoming_call:"Llamada entrante",call_rejected:"Llamada rechazada",close:"Cerrar",call_ended:"Llamada finalizada",calling:"Llamando",on_call_with:"En comunicación con",no_contacts_in_list:"No tienes ningún contacto en tu lista."},"pt-BR":{language_name:"Português Brasil",whats_your_name:"Qual o seu nome?",new_user_go:"Vai",already_have_an_account:"Já tem uma conta?",back:"Voltar",scan_private_key_qr_code:"Ler QR code da chave privada",paste_private_key:"Cole a chave privada",get_notified_new_messages:"Ser notificado de novas mensagens",turn_on_desktop_notifications:"Ativar notificações no desktop",new_chat:"Nova conversa",if_other_person_doesnt_see_message:"Se a outra pessoa não vê sua mensagens, você pode passar pra ela o <b>seu</b> link do bate-papo através de outro canal.",type_a_message:"Digite uma mensagem",beware_of_sharing_invite_link_publicly:"Cuidado ao compartilhar seu link de bate-papo publicamente: você pode receber spam com solicitações de mensagem. Ao invés disso, compartilhe publicamente seu <a>Link do perfil</a>.",your_invite_links:"Seus links de bate-papo",create_new_invite_link:"Criar um novo link de bate-papo",copy_your_invite_link:"Copiar seu link de bate-papo",have_someones_invite_link:"Tem o link de bate-papo de alguém?",paste_their_invite_link:"Cole o link da outra pessoa",give_your_invite_link:"Forneça seu link de bate-papo:",or_scan_qr_code:"Ou leia o QR code",or_show_qr_code:"Ou mostre seu QR code",new_group:"Novo grupo",group_name:"Nome do grupo",create:"Criar",profile:"Perfil",settings:"Configurações",your_name:"Seu nome",profile_photo:"Foto do perfil",add_profile_photo:"Adicionar foto do perfil",profile_photo_too_big:"Foto do perfil muito grande: tamanho máximo é 200KB",cancel:"Cancelar",use_photo:"Usar foto",remove_photo:"Remover foto",about_text:"Texto sobre",account:"Conta",save_backup_of_privkey_first:"Faça backup da sua chave privada primeiro!",otherwise_cant_log_in_again:"Caso contrário você não vai conseguir acessar sua conta novamente.",log_out:"Sair",private_key:"Chave privada",download_private_key:"Baixar chave privada",private_key_warning:"<b>PERIGO!</b> A chave privada é usada para <b>acessar sua conta</b>. Não compartilhe ou mostre sua chave privada para ninguém!",copy_private_key:"Copiar chave privada",show_privkey_qr:"Mostrar QR code da chave privada",hide_privkey_qr:"Esconder QR code da chave privada",privkey_storage_recommendation:"O lugar mais seguro para armazenar sua chave privada é um <b>gerenciardor de senhas</b>.",language:"Idioma",peers:"Peers",peer_url:"Peer url",public:"Público",remove:"Remover",enable:"Ativar",disable:"Desativar",from:"de",add:"Adicionar",public_peer_info:"<i>Peers</i> públicos são encontrados automaticamente por pessoas que você bate-papo (e outros).",peers_info:"Peers são nós do GunDB que você pode facilmente <a>trocar</a>. Novidade pela frente: conexão direta com seus amigos utilizando WebRTC.",webrtc_connection_options:"Opções de conexão WebRTC",webrtc_info:"WebRTC é utilizado para chamadas de vídeo. Se você está atrás de um NAT, você precisa especificar aqui um servidor TURN que vai retransmitir o tráfego de vídeo. A largura de banda não é gratuita, portanto, não há servidores TURN gratuitos disponíveis.",restore_defaults:"Restaurar padrões",about:"Sobre",application_security_warning:"O aplicativo é uma implementação de prova de conceito não auditada; portanto, não o use para fins críticos de segurança.",donate:"Doe",donate_info:"Ajude a manter o projeto com <b>doações</b>, nós agrademos muito. Você pode doar por <a>Open Collective</a> ou <b>bitcoin</b>",logout_confirmation_info:"Você <b>não pode logar novamente</b> ao menos que você tenha salvado uma cópia da sua chave primária.",participants:"participantes",admin:"administração",add_participant:"Adicionar participante",new_participants_profile_link:"Link do bate-papo do novo participante.",add_friend:"Adicionar amigo",send_message:"Enviar mensagem",copy_link:"Copiar link",chat_settings:"Configurações do bate-papo",nicknames:"Apelidos",nickname:"Apelido",video_call:"Chamada de vídeo",online:"online",last_active:"última atividade",their_nickname_for_you:"Apelido deles para você",notifications:"Notificações",all_messages:"Todas mensagens",mentions_only:"Somente menções",nothing:"Nada",delete_chat:"Apagar bate-papo",block_user:"Bloquear usuário",typing:"Digitando...",attachment:"anexo",note_to_self:"Nota pessoal",today:"hoje",yesterday:"ontem",copied:"Copiado",answer:"resposta",reject:"rejeitado",incoming_call:"Chamada entrante",call_rejected:"Chamada rejeitada",close:"Fechar",call_ended:"Chamada encerrada",calling:"Chamando",on_call_with:"Em chamada com",no_contacts_in_list:"Você não tem nenhum contato na sua lista."},ru:{language_name:"Русский",whats_your_name:"Как вас зовут?",new_user_go:"Поехали!",already_have_an_account:"Уже есть аккаунт?",back:"Назад",scan_private_key_qr_code:"Отсканируйте QR-код приватного ключа",paste_private_key:"Вставьте приватный ключ",get_notified_new_messages:"Узнавайте о новых сообщениях",turn_on_desktop_notifications:"Включить уведомления на рабочем столе",new_chat:"Новый чат",if_other_person_doesnt_see_message:"Если собеседник не видит сообщение, вы можете дать <b>вашу</b> ссылку на чат через другой канал связи:",type_a_message:"Напишите сообщение",beware_of_sharing_invite_link_publicly:"Аккуратно распространяйте вашу ссылку на чат: вас могут заспамить сообщениями. Лучше расшарьте ссылку на <a>ваш профиль</a>.",your_invite_links:"Ссылки на ваши чаты",create_new_invite_link:"Создать новую ссылку на чат",copy_your_invite_link:"Скопировать вашу ссылку на чат",have_someones_invite_link:"Есть чья-то ссылка на чат?",paste_their_invite_link:"Вставьте свою ссылку на чат",give_your_invite_link:"Дайте свою ссылку на чат:",or_scan_qr_code:"Или отсканируйте их QR-код",or_show_qr_code:"Или покажите свой QR-код",new_group:"Новая группа",group_name:"Название группы",create:"Создать",settings:"Настройки",profile:"Профиль",your_name:"Ваше имя",profile_photo:"Аватар",add_profile_photo:"Добавить аватар",profile_photo_too_big:"Аватар слишком большой: макс. размер 200KB",cancel:"Отмена",use_photo:"Использовать фото",remove_photo:"Убрать фото",about_text:"Описание",account:"Аккаунт",save_backup_of_privkey_first:"Сначала сохраните копию приватного ключа!",otherwise_cant_log_in_again:"Иначе вы не сможите войти в аккаунт.",log_out:"Выйти",private_key:"Приватный ключ",download_private_key:"Скачать приватный ключ",private_key_warning:"<b>ОПАСНО!</b> Приватный ключ используется для <b>входа в ваш аккаунт</b>. Никому не показывайте ключ!",copy_private_key:"Скопировать приватный ключ",show_privkey_qr:"Показать QR-код приватного ключа",hide_privkey_qr:"Спрятать QR-код приватного ключа",privkey_storage_recommendation:"Лучшее место для хранения приватного ключа — <b>менеджер паролей</b>.",language:"Язык",peers:"Пиры",peer_url:"Ссылка пира",public:"Публичный",remove:"Убрать",enable:"Включить",disable:"Выключить",from:"от кого",add:"Добавить",public_peer_info:"<i>Публичные</i> пиры автоматически обнаруживаются людьми, с которыми вы общаетесь (и другими).",peers_info:"Пиры — это ноды GunDB, вы можете легко <a>развернуть ноду у себя</a>. Скоро будет возможно общаться с друзьями напрямую через WebRTC.",webrtc_connection_options:"Опции подключения через WebRTC",webrtc_info:"WebRTC используется для видеозвонков. Если вы используете NAT, возможно вам понадобится TURN-сервер, который будет обслуживать ваш видео-трафик. Передача данных стоит денег, поэтому бесплатных TURN-серверов мы не предоставляем.",restore_defaults:"Восстановить исходные настройки",about:"Про Iris",application_security_warning:"Приложение является экспериментальным, поэтому не используйте его для критичных процессов и не храните в нем секретные данные.",donate:"Задонатить",donate_info:"<b>Донаты</b> помогают проекту развиваться и приветствуются. Вы можете задонатить через via <a>Open Collective</a> или прислать <b>BTC</b>",logout_confirmation_info:"Вы <b>не сможете заново войти</b> пока не скопируете приватный ключ.",participants:"участники",admin:"админ",add_participant:"Добавить участника",new_participants_profile_link:"Ссылка на чат для нового участника",add_friend:"Добавить друга",send_message:"Отправить сообщение",copy_link:"Скопировать ссылку",chat_settings:"Настройки чата",nicknames:"Никнеймы",nickname:"Никнейм",video_call:"Видео-звонок",online:"онлайн",last_active:"последняя активность",their_nickname_for_you:"Их никнейм для вас",notifications:"Уведомления",all_messages:"Все сообщения",mentions_only:"Только упоминания меня",nothing:"Ничего",delete_chat:"Удалить чат",block_user:"Заблокировать",typing:"Печатает...",attachment:"вложение",note_to_self:"Заметка для себя",today:"сегодня",yesterday:"вчера",copied:"Скопировано",answer:"ответить",reject:"отклонить",incoming_call:"Входящий звонок",call_rejected:"Звонок отклонен",close:"Закрыть",call_ended:"Звонок завершен",calling:"Звоню",on_call_with:"На звонке с"},de:{language_name:"Deutsch",whats_your_name:"Was ist Ihr Name?",new_user_go:"Auf Gehts",already_have_an_account:"Haben sie schon ein Konto eingerichtet?",back:"zurück",scan_private_key_qr_code:"Scan einen privaten Schlüssel QR code",paste_private_key:"Füge einen privaten Schlüssel ein",get_notified_new_messages:"Werde über neue Nachrichten notifiziert",turn_on_desktop_notifications:"Stelle Desktop Notifikationen ein",new_chat:"Neue Unterhaltung",if_other_person_doesnt_see_message:"Sollte die andere Person die Nachricht nicht sehen, können Sie <b>Ihren</b> Unterhaltung's link über einen anderen Kanal senden:",type_a_message:"Schreiben sie eine Nachricht",beware_of_sharing_invite_link_publicly:"Vorsicht wenn Unterhaltung's links in der Öffentlichkeit geteilt werden: Sie können mit Nachricht Anfragen gespammt werden. Teilen sie lieber ihren <a>Profil link</a>.",your_invite_links:"Ihre Unterhaltung's links",create_new_invite_link:"Machen Sie einen neuen Unterhaltung's link",copy_your_invite_link:"Kopieren Sie ihren Unterhaltung's link",have_someones_invite_link:"Haben Sie einen Unterhaltung's link von jemandem?",paste_their_invite_link:"Fügen Sie den Unterhaltung's link hier ein",give_your_invite_link:"Geben Sie ihren Unterhaltung's link:",or_scan_qr_code:"Oder scannen Sie den QR code",or_show_qr_code:"Oder zeigen Sie ihren QR code",new_group:"Neue Gruppe",group_name:"Gruppen Name",create:"Erstellen",settings:"Einstellungen",profile:"Profile",your_name:"Ihr Name",profile_photo:"Profil Bild",add_profile_photo:"Profil Bild hinzufügen",profile_photo_too_big:"Profil Bild zu gross: maximale Grösse ist 200KB",cancel:"Abbrechen",use_photo:"Bild benutzen",remove_photo:"Bild entfernen",about_text:"'Über uns' Text",account:"Konto",save_backup_of_privkey_first:"Speichern Sie ein Backup für Ihren privaten Schlüssel!",otherwise_cant_log_in_again:"Sonst können Sie nicht mehr in Ihr Konto einloggen.",log_out:"Ausloggen",private_key:"Privater Schlüssel",download_private_key:"Download Privaten Schlüssel",private_key_warning:"<b>Warnung!</b> Der private Schlüssel ist benötigt um <b>in Ihr Konto einzuloggen</b>. Geben Sie niemals Ihren privaten Schlüssel an Andere weiter!",copy_private_key:"Kopieren Sie den privaten Schlüssel",show_privkey_qr:"Zeigen Sie den privaten Schlüssel QR code",hide_privkey_qr:"Blended Sie den privaten Schlüssel QR code aus",privkey_storage_recommendation:"Der sicherste Platz für Ihren privaten Schlüssel ist ein <b>Passwor Manager</b>.",language:"Sprache",peers:"Peers",peer_url:"Peer url",public:"Öffentlich",remove:"Entfernen",enable:"Einstellen",disable:"Ausstellen",from:"Von",add:"Hinzufügen",public_peer_info:"<i>Öffentliche</i> peers sind automatisch auffindbar für Leute in Ihren Unterhaltungen (und ausserhalb).",peers_info:"Peers sind GunDB nodes die Sie einfach <a>hochfahren</a> können. Kommend: Direkte Verbindung zu Freunden über WebRTC.",webrtc_connection_options:"WebRTC Verbindungsoptionen",webrtc_info:"WebRTC ist für Videoanrufe benutzt. Wenn Sie hinter einem NAT sind, müssen Sie wahrscheinlich einen TURN server hier definieren, der dann Ihr Video Verkehr weiterleitet. Bandwidth ist nicht kostenfrei, darum gibt es nicht viele kostenfreie TURN servers.",restore_defaults:"Einstellungen zurückstellen",about:"Über uns",application_security_warning:"Diese App ist ein ungeprüftes 'proof-of-concept' Implementation, also nicht für Sicherheit nötige Dinge benutzten.",donate:"Spenden",donate_info:"<b>Spenden</b> helfen dem Projekt weiter zu gehen und werden dankbar angenommen. Sie können via <a>Open Collective</a> oder <b>bitcoin</b> spenden.",logout_confirmation_info:"Sie <b>können nicht wieder einloggen</b>, ausser Sie haben saved eine Kopie ihres privaten Schlüssels gespeichert.",participants:"Teilnehmer",admin:"admin",add_participant:"Teilnehmer hinzufügen",new_participants_profile_link:"Neuer Teilnehmer's Unterhaltung's link",add_friend:"Freund hinzufügen",send_message:"Nachricht senden",copy_link:"Link kopieren",chat_settings:"Unterhaltunseinstellungen",nicknames:"Nicknames",nickname:"Nickname",video_call:"Video Anruf",online:"online",last_active:"Letztmals aktiv",their_nickname_for_you:"Ihr Nickname für die Anderen",notifications:"Notifikationen",all_messages:"Alle Nachrichten",mentions_only:"Nur Erwähnungen",nothing:"Nichts",delete_chat:"Unterhaltung löschen",block_user:"Benutzer blockieren",typing:"Schreibt...",attachment:"Anhang",note_to_self:"Notiz zu Selbst",today:"heute",yesterday:"gestern",copied:"Kopiert",answer:"antworten",reject:"ablehnen",incoming_call:"Einkommender Anruf",call_rejected:"Anruf abgelehnt",close:"Schliessen",call_ended:"Anruf beendet",calling:"Rufe an",on_call_with:"Anruf mit"},fi:{language_name:"Suomi",whats_your_name:"Mikä on nimesi?",new_user_go:"Aloita",already_have_an_account:"Onko sinulla jo tili?",back:"Takaisin",download:"Lataa",scan_private_key_qr_code:"Skannaa salaisen avaimen QR-koodi",paste_private_key:"Liitä salainen avain",get_notified_new_messages:"Tilaa ilmoitukset uusista viesteistä",turn_on_desktop_notifications:"Ota käyttöön työpöytäilmoitukset",new_chat:"Uusi keskustelu",if_other_person_doesnt_see_message:"Jos toinen käyttäjä ei näe viestiäsi, voit antaa hänelle <b>sinun</b> kutsulinkkisi jotain muuta kautta:",type_a_message:"Kirjoita viesti",beware_of_sharing_invite_link_publicly:"Jos jaat kutsulinkkisi julkisesti: saatat saada viestipyyntö-spämmiä. Sen sijaan voit turvallisesti jakaa <a>profiililinkkisi</a> julkisesti.",your_invite_links:"Kutsulinkkisi",create_new_invite_link:"Luo uusi kutsulinkki",copy_your_invite_link:"Kopioi kutsulinkkisi",have_someones_invite_link:"Saitko toisen käyttäjän kutsulinkin?",paste_their_invite_link:"Liitä kutsulinkki",give_your_invite_link:"Anna oma kutsulinkkisi:",or_scan_qr_code:"Tai skannaa toisen QR-koodi",or_show_qr_code:"Tai näytä oma QR-koodisi",new_group:"Uusi ryhmä",group_name:"Ryhmän nimi",create:"Luo",settings:"Asetukset",profile:"Profiili",your_name:"Nimesi",profile_photo:"Profiilikuva",add_profile_photo:"Lisää profiilikuva",profile_photo_too_big:"Profiilikuva on liian suuri: maksimikoko on 200KB",cancel:"Peruuta",use_photo:"Käytä kuvaa",remove_photo:"Poista kuva",about_text:"Kuvausteksti",account:"Tili",save_backup_of_privkey_first:"Tallenna ensin varmuuskopio salaisesta avaimestasi!",otherwise_cant_log_in_again:"Muuten et voi kirjautua takaisin tälle tilille.",log_out:"Kirjaudu ulos",private_key:"Salainen avain",download_private_key:"Lataa salainen avain tiedostona",private_key_warning:"<b>VAROITUS!</b> Salainen avain antaa <b>pääsyn tilillesi</b>. Älä anna tai näytä salaista avaintasi kenellekään.",copy_private_key:"Kopioi salainen avain",show_privkey_qr:"Näytä salaisen avaimen QR-koodi",hide_privkey_qr:"Piilota salaisen avaimen QR-koodi",privkey_storage_recommendation:"Turvallisin säilytyspaikka salaiselle avaimellesi on <b>salasananhallintaohjelma (password manager)</b>.",language:"Kieli",peers:"Yhteyspisteet (peers)",peer_url:"Peer url",public:"Julkinen",remove:"Poista",enable:"Käytä",disable:"Poista käytöstä",from:"lähde",add:"Lisää",public_peer_info:"<b>Julkiset</b> yhteyspisteet näkyvät automaattisesti käyttäjille, joiden kanssa keskustelet (ja muille).",peers_info:"Yhteyspisteet ovat GunDB-solmuja, joiden pystyttämisestä tietoa <a>täällä</a>. Tulossa: suorat yhteydet kavereiden kesken WebRTC:llä.",webrtc_connection_options:"WebRTC-yhteysasetukset",webrtc_info:"WebRTC:tä käytetään videopuheluihin. Jos olet NATin takana, sinun tarvitsee ehkä määrittää tähän TURN-palvelin, joka välittää videoliikenteesi. Tiedonsiirto ei ole ilmaista, joten ilmaisia TURN-palvelimia ei ole saatavilla.",restore_defaults:"Palauta oletusarvot",about:"Tietoa",application_security_warning:"Sovellus on auditoimaton konseptitoteutus, joten älä käytä sitä tarkoituksiin joissa turvallisuus on oleellisen tärkeää.",donate:"Lahjoita",donate_info:"<b>Lahjoitukset</b> pitävät projektin pystyssä ja arvostamme niitä suuresti. Voit lahjoittaa <a>Open Collectiven</a> kautta tai <b>bitcoinilla</b>",logout_confirmation_info:"<b>Et voi kirjautua takaisin sisään</b> ellet ole tallentanut varmuuskopiota salaisesta avaimestasi.",participants:"osallistujat",admin:"ylläpitäjä",add_participant:"Lisää osallistuja",new_participants_profile_link:"Uuden osallistujan kutsulinkki",add_friend:"Lisää kaveriksi",send_message:"Lähetä viesti",copy_link:"Kopioi linkki",chat_settings:"Keskustelun asetukset",nicknames:"Lempinimet",nickname:"Lempinimi",video_call:"Videopuhelu",online:"paikalla",last_active:"viimeksi aktiivisena",their_nickname_for_you:"Hänen lempinimensä sinulle",notifications:"Ilmoitukset",all_messages:"Kaikki viestit",mentions_only:"Vain maininnat",nothing:"Ei mitään",delete_chat:"Poista keskustelu",block_user:"Estä käyttäjä",typing:"Kirjoittaa...",attachment:"liite",note_to_self:"Muistiinpanot",today:"tänään",yesterday:"eilen",copied:"Kopioitu",answer:"vastaa",reject:"hylkää",incoming_call:"Saapuva puhelu",call_rejected:"Puhelu hylätty",close:"Sulje",call_ended:"Puhelu päättyi",calling:"Soitetaan",on_call_with:"Puhelu käyttäjälle",total:"Yhteensä",home:"Koti",messages:"Viestit",market:"Tori",contacts:"Yhteystiedot",explorer:"Hakemisto",no_followers_yet:"Jaa linkkisi, niin muut voivat seurata sinua:",next:"Seuraava",shopping_carts:"Ostoskorit",shopping_cart:"Ostoskori",cart:"Kori",delivery:"Yhteystiedot",payment:"Maksutapa",payment_method:"Maksutapa",confirm:"Yhteenveto",address:"Osoite",email_optional:"Sähköposti (valinnainen)",name:"Nimi",confirm_button:"Vahvista",summary:"Yhteenveto",following:"Seurataan",followers:"Seuraajat",follow:"Seuraa",likes:"Tykkäykset",replies:"Vastaukset",posts:"Julkaisut",type_a_message_or_paste_a_magnet_link:"Kirjoita viesti tai liitä magnet-linkki",download_webtorrent:"Lataa <a>Webtorrent Desktop</a> mediatiedostojen jakamiseen ja liitä niiden magnet-linkki alle.",alternatively:"Vaihtoehtoisesti",alternatively_get_sms_verified:"Vaihtoehtoisesti <a>tunnistaudu tekstiviestillä</a>",visibility:"Julkaisut, vastaukset ja tykkäykset näkyvät vain seuraajillesi ja heidän verkostoillensa.",no_followers_yet_info:"Julkaisut, vastaukset ja tykkäykset näkyvät vain seuraajillesi ja heidän verkostoillensa.",iris_is_like:"Iiris on kuin tuntemamme sosiaalisen median sovellukset, mutta parempi.",copy:"Kopioi",this_is_a_prototype_store:"Tori on prototyyppi, ja se näyttää myynnissä olevat tavarat sosiaalisessa verkostossasi. Iriksessä tuotteet tilataan yksityisviesteillä. <a>Tästä </a> pääset omaan kauppaasi.",add_to_cart:"Lisää koriin",switch_account:"Vaihda tiliä",web_push_subscriptions:"Selaimen ilmoitustilaukset (web push subscriptions)",enable_public_peer_discovery:"Salli julkisten yhteyspisteiden hakeminen",maximum_number_of_peer_connections:"Maksimimäärä yhteyspisteitä",set_up_your_own_peer:"Pystytä oma yhteyspisteesi",also:"Myös",or_small:"tai",automatically_load_webtorrent_attachments:"Lataa webtorrentin liitteet automaattisesti",autoplay_webtorrent_videos:"Käynnistä webtorrentin videot automaattisesti",search:"Etsi",iris_is_accessible:"<b>Iris on helppo ottaa käyttöön.</b> Puhelinnumeroa tai erillistä tunnuksen luomista ei vaadita. Riittää, kun kirjoitat nimesi tai nimimerkkisi ja painat enteriä!",iris_is_secure:"<b>Iris on turvallinen.</b> Se toimii avoimella lähdekoodilla. Voit olla varma, että yksityisviestisi säilyvät yksityisinä",iris_is_always_available:"<b>Iris on aina käytettävissä.</b> Se toimii offline-tilassa, eikä ole riippuvainen keskuspalvelimesta. Käyttäjät voivat jopa muodostaa vertaisverkkoja keskenään",in_other_words:"Toisin sanoen, tiliäsi ei voida sulkea Iriksestä",get_the_desktop_application:"Hanki työpöytäsovellus",communicate_and_synchronize:"Kommunikoi ja lähiverkossa olevien käyttäjien kanssa ilman Internet-yhteyttä",when_local_peers:"Viestisi näkyvät globaalisti, kun käyttäjät kirjautuvat verkkoon",bluetooth_support_upcoming:"Bluetooth-yhteys tulossa",opens_to_background:"Sovellus pysyy käynnissä taustalla: olet online-tilassa ja saat ilmoitukset viesteistä",more_secure_and_available:"Turvallisempi ja helpommin saavutettavissa: selainsovellusta ei tarvitse avata palvelimelta",direct_connect_to_the:"Yhdistä suoraan henkilöille, joiden kanssa keskustelet (jos portti 8767 on auki tai upnp on käytössä reitittimessä)",the_application_is_unaudited:"Sovellus on auditoimaton konseptitoteutus, joten älä käytä sitä tarkoituksiin joissa turvallisuus on oleellisen tärkeää.",follow_someone_info:"Ala seurata jonkun profiilia nähdäksesi päivitykset! Ehdotus:",add_hashtag:"+ Lisää aihetunniste",all:"Kaikki",give_your_profile_link_to_someone:"jaa profiililinkkisi",follows:"Seurattavat",second_degree_follows:"2. asteen seurattavat",everyone:"Kaikki",connected_peers:"Yhdistetyt vertaisverkot",no_notifications_yet:"Ei vielä ilmoituksia",popular_hashtags:"Suosittuja aihetunnisteita",email_privkey_to_yourself:"Lähetä yksityinen avain itsellesi sähköpostilla",email:"Sähköposti",retype_email:"Sähköposti (uudelleen)",go:"Lähetä",blocked_users:"Estetyt käyttäjät",none:"Ei yhtään",no_items_to_show:"Ei näytettäviä tuotteita",store_description:"Kuvaus kaupasta",profile_name:"Profiili/nimi",store:"Kauppa",item_id:"Tuotteen ID",item_description:"Tuotteen kuvaus",price:"Hinta",delete_item:"Poista tuote",add_item:"Lisää tuote",no_contacts_in_list:"Ei yhteystietoja listalla",show_qr_code:"Näytä QR-koodi"},it:{language_name:"Italian",whats_your_name:"Quale è il tuo nome??",new_user_go:"Inizia",already_have_an_account:"Hai già un account?",back:"Indietro",scan_private_key_qr_code:"Scansione codice QR di chiave privata",paste_private_key:"Incolla una chiave privata",get_notified_new_messages:"Ricevi una notifica per i nuovi messaggi",turn_on_desktop_notifications:"Attiva le notifiche desktop",new_chat:"Nuova chat",if_other_person_doesnt_see_message:"Se l'altra persona non vede il tuo messaggio, puoi dargli il <b>tuo</b> invite link attraverso qualche altro canale:",type_a_message:"Scrivi un messaggio",beware_of_sharing_invite_link_publicly:"Fai attenzione a condividere pubblicamente il tuo invite link: potresti ricevere spam con richieste di messaggi. Condividi pubblicamente invece il tuo <a>link di profilo</a>.",your_invite_links:"I tuoi invite link",create_new_invite_link:"Crea nuovo invite link",copy_your_invite_link:"Copia il tuo invite link",have_someones_invite_link:"Hai il invite link di quakcuno?",paste_their_invite_link:"Incolla il loro invite link",give_your_invite_link:"Dai il tuo invite link:",or_scan_qr_code:"O scansiona il loro codice QR",or_show_qr_code:"O mostra il tuo codice QR",new_group:"Nuovo gruppo",group_name:"Nome gruppo",create:"Crea",profile:"Profilo",settings:"Impostazioni",your_name:"Il tuo nome",profile_photo:"Foto di profilo",add_profile_photo:"Aggiungi foto di profilo",profile_photo_too_big:"Foto di profilo troppo grande: dimensione massima di 200KB",cancel:"Cancella",use_photo:"Usa foto",remove_photo:"Rimuovi foto",about_text:"Riguardo a te",account:"Account",save_backup_of_privkey_first:"Salva prima un backup della tua chiave privata!",otherwise_cant_log_in_again:"Altrimenti non potrai riautenticarti a questo account.",log_out:"Scollegati",private_key:"Chiave privata",download_private_key:"Scarica chiave privata",private_key_warning:"<b>PERICOLO!</b> La chiave privata è usata per <b>autenticarti al tuo account</b>. Non dare o mostrare la tua chiave privata a nessun altro!",copy_private_key:"Copia chiave privata",show_privkey_qr:"Mostra il codice QR della chiave privata",hide_privkey_qr:"Nascondi il codice QR della chaive privata",privkey_storage_recommendation:"Il posto più sicuro dove archiviare la chiave privata è un <b>gestore password</b>.",language:"Lingua",peers:"Peer",peer_url:"Peer url",public:"Pubblico",remove:"Rimuovi",enable:"Abilita",disable:"Disabilita",from:"da",add:"Aggiungi",public_peer_info:"Peer <i>pubblici</i> sono automaticamente rilevabili dalle persone con cui scrivi (e altri).",peers_info:"I peer sono nodi GunDB che puoi facilmente <a>montare</a>. In arrivo: connessione diretta con gli amici attraverso WebRTC.",webrtc_connection_options:"Opzioni di connessione WebRTC",webrtc_info:"WebRTC è usato per le video chiamate. Se sei dietro ad una NAT, potresti aver bisogno di specificare un server TURN qui, che inoltrerà il tuo traffico video. La banda di trasferimento non è gratuita, non ci sono server TURN gratuiti in giro.",restore_defaults:"Ripristina le impostazioni predifinite",about:"A proposito",application_security_warning:"L'applicazione è un'implementazione di prova del concetto non certificata, quindi non utilizzarla per fini che richiedano un uso sicuro in situazioni critiche.",donate:"Dona",donate_info:"<b>Le donazioni</b> aiutano a mantenere il progetto e sono molto apprezzate. Puoi donare attraverso <a>Open Collective</a> o <b>bitcoin</b>",logout_confirmation_info:"<b>Non puoi autenticarti</b> a meno che tu non abbia salvato una copia della tua chiave privata.",participants:"partecipanti",admin:"admin",add_participant:"Aggiungi partecipante",new_participants_profile_link:"Nuovi invite link del participante",add_friend:"Aggiungi amico",send_message:"Invia messaggio",copy_link:"Copia link",chat_settings:"Impostazioni della Chat",nicknames:"Soprannome",nickname:"Soprannome",video_call:"Chiamata video",online:"online",last_active:"ultimo attivo",their_nickname_for_you:"Il loro soprannome per te",notifications:"Notifiche",all_messages:"Tutti i messaggi",mentions_only:"Solo menzioni",nothing:"Nulla",delete_chat:"Cancella chat",block_user:"Blocca utente",typing:"Sta scrivendo...",attachment:"allegato",note_to_self:"Nota a te stesso",today:"oggi",yesterday:"ieri",copied:"Copiato",answer:"rispondere",reject:"rifiutare",incoming_call:"Chiamata in arrivo",call_rejected:"Chiamata respinta",close:"Chiudere",call_ended:"Chiamata conclusa",calling:"Chiamata in corso",on_call_with:"In chiamata con",no_contacts_in_list:"Non hai contatti nella tua lista."},"zh-cn":{language_name:"中文",whats_your_name:"你叫什么名字?",new_user_go:"开始",already_have_an_account:"已有账户?",back:"后退",scan_private_key_qr_code:"请扫描私钥的二维码",paste_private_key:"请复制你的私钥",get_notified_new_messages:"接收新消息的提醒",turn_on_desktop_notifications:"打开桌面消息提醒",new_chat:"新的聊天",if_other_person_doesnt_see_message:"如果其他人无法看到你的消息,你可以把 <b>你的</b> 聊天链接在其他频道发送给他们:",type_a_message:"请输入消息",beware_of_sharing_invite_link_publicly:"请注意,公开分享你的聊天链接将有可能让你收到垃圾消息申请。推荐分享你的<a>账号链接</a>。",your_invite_links:"你的聊天链接",create_new_invite_link:"创建新的聊天链接",copy_your_invite_link:"复制你的聊天链接",have_someones_invite_link:"有其他人的聊天链接?",paste_their_invite_link:"请将聊天链接粘贴在此",give_your_invite_link:"你的聊天链接:",or_scan_qr_code:"或扫描他们的二维码",or_show_qr_code:"或展示你的二维码",new_group:"新的聊天群组",group_name:"群组名称",create:"创建",profile:"个人资料",settings:"设定",your_name:"你的名字",profile_photo:"头像",add_profile_photo:"添加头像",profile_photo_too_big:"头像超过最大尺寸(200KB)",cancel:"取消",use_photo:"选取照片",remove_photo:"移除照片",about_text:"简介",account:"账号",save_backup_of_privkey_first:"首先请妥善保管你的私钥!",otherwise_cant_log_in_again:"否则你将无法登录这个账号。",log_out:"登出",private_key:"私钥",download_private_key:"下载私钥",private_key_warning:"<b>危险!</b> 私钥可以用来 <b>登录你的账号</b>。 不要将你的私钥交给或展示给任何其他人!",copy_private_key:"复制私钥",show_privkey_qr:"显示私钥二维码",hide_privkey_qr:"隐藏私钥二维码",privkey_storage_recommendation:"<b>密码管理器</b>是保存私钥最安全的方式。",language:"语言",peers:"节点",peer_url:"节点地址",public:"公开",remove:"移除",enable:"启用",disable:"禁用",from:"来自于",add:"添加",public_peer_info:"<i>公开</i> 节点可被自动发现",peers_info:"GunDB 的节点可以帮助<a>加速连接速度 </a>。即将支持:通过 WebRTC 直接连接聊天对象。",webrtc_connection_options:"WebRTC 连接选项",webrtc_info:"本应用的视频聊天使用了 WebRTC。 如果你在一个内部网络中,你可能需要手动指定一个用作转发视频流量的 Turn server。网络带宽是收费的所以我们不提供免费的 Turn server。",restore_defaults:"恢复默认值",about:"关于",application_security_warning:"本应用的实现暂时还未进行代码审计,仍处在概念验证阶段,所以请大家不要在任何安全等级高的场景下使用。",donate:"Donate",donate_info:"<b>捐款</b>可以帮助我们继续更好地开发。 你可以通过 <a>Open Collective</a> 或<b>比特币(Bitcoin)</b>来完成捐款,非常感谢你的帮助。比特币地址",logout_confirmation_info:"如果你不保存好你的私钥,你<b>将无法再次登录</b>。 ",participants:"参与者",admin:"管理员",add_participant:"添加参与者",new_participants_profile_link:"新加参与者的聊天链接",add_friend:"添加好友",send_message:"发送消息",copy_link:"复制链接",chat_settings:"聊天设置",nicknames:"所有昵称",nickname:"昵称",video_call:"视频通话",online:"在线",last_active:"上次在线",their_nickname_for_you:"其他人给你起的昵称",notifications:"通知",all_messages:"所有消息",mentions_only:"只提到",nothing:"无",delete_chat:"删除聊天",block_user:"屏蔽用户",typing:"正在输入...",attachment:"福建",note_to_self:"个人备忘录",today:"今天",yesterday:"昨天",copied:"已复制",answer:"接通",reject:"拒绝",incoming_call:"来电",call_rejected:"通话被拒绝",close:"关闭",call_ended:"通话结束",calling:"拨号中",on_call_with:"通话对象:"},ko:{language_name:"한글",whats_your_name:"이름?",new_user_go:"진행",already_have_an_account:"기존 계정이 있나요?",back:"뒤로",scan_private_key_qr_code:"프라이빗 키 스캔 QR 코드",paste_private_key:"프라이빗 키 붙여넣기",get_notified_new_messages:"신규 메시지 통보",turn_on_desktop_notifications:"데스크탑 통보 시작",new_chat:"신규 채팅",public_messages:"공개 메시지",follow_someone_info:"제안 그들의 네트워크의 내용을 보기위하여 펄로우 하기:",creator_of_this_distribution:"본Iris 배분을 위한 저작권자",no_followers_yet:"약력 링크를 소개하여 타인들이 펄로우 하게 함:",no_followers_yet_info:"당신의 게시, 응답, 좋아요는 당신의 펄로워 및 네트워크에 보여짐.",alternatively:"대안으로,",alternatively_get_sms_verified:"대안으로, 타인이 당신을 찾을 수 있도록 하기 <a>SMS 확인 </a>.",give_your_profile_link_to_someone:"당신의 약력 링크를 타인에게 전달",if_other_person_doesnt_see_message:"타인이 당신의 메시지를 보지 못하면 다른 채널의 링크로 초대 할 수 있음 <b>당신</b>:",type_a_message:"메시지 입력",beware_of_sharing_invite_link_publicly:"경고 초대링크를 공개적으로 사용하는 것은: 스팸을 받을수 있으니 공개 할 시는 당신의 <a>profile link</a>를 사용하세요.",your_invite_links:"당신의 초대 링크",create_new_invite_link:"새 초대링크 생성",copy_your_invite_link:"초대링크 복사",have_someones_invite_link:"타인의 초대링크 보유?",paste_their_invite_link:"그들의 초대링크 붙이기",give_your_invite_link:"당신의 초대링크 제공:",or_scan_qr_code:"아니면 그들의 QR코드 스캔",or_show_qr_code:"아니면 당신의 QR코드 공개",new_group:"신규 그룹",group_name:"그룹 이름",create:"생성",settings:"환경",profile:"약력",your_name:"성명",profile_photo:"약력 사진",add_profile_photo:"약력 사진 추가",profile_photo_too_big:"약력 사진 크기 초과: 최대 사이즈 200KB",cancel:"취소",use_photo:"사진 사용",remove_photo:"사진 제거",about_text:" 원문",account:"계정",save_backup_of_privkey_first:"먼저 당신의 프라이빗 키 백업 저장!",otherwise_cant_log_in_again:"아니면 이 계정으로 다시 로그인 할 수 없음.",log_out:"로그 아웃",private_key:"프라이빗 키",download_private_key:"프라이빗 키 내려받기",private_key_warning:"<b>위험!</b> 프라이빗키<b> 는 당신 계정을 사용할 수 있음</b>. 타인에게 당신의 프라이빗 키를 보여주거나 공유하지 말것!",copy_private_key:"프라이빗 키 복사",show_privkey_qr:"프라이빗 키 QR 코드 공개",hide_privkey_qr:"프라이빗 코 QR 코드 숭기기",privkey_storage_recommendation:"안전하게 당신의 프라이빗 키를 저장하는 장소는  <b>패스워드 관리자</b>.",language:"언어",peers:"친구",peer_url:"친구 url",public:"공개",remove:"제거",enable:"동작",disable:"비동작",from:"전송자",add:"추가",public_peer_info:"<i>공개</i> 친구는 자동적으로 당신이 채팅하고 있는(타인들도)사람들로부터 보여질 수 있음.",peers_info:"친구는 GunDB 노드이며 쉽게 <a>공유</a>. 향후 계획: 친구들과 직접 접속  WebRTC.",webrtc_connection_options:"WebRTC 접속 옵션",webrtc_info:"WebRTC 는 화상 통신에 사용. 당신이 NAT에 속해 있으면, TURN 서버를 여기에 추가 해야 할 수도 있음, 화상 트래픽 전송. 통신량은 무료가 아니라 무료  TURN 서버를 찾기가 쉽지 않음.",restore_defaults:"조건 원상회복",about:"About",application_security_warning:"본 응용은 검증되지 않은 아이디어 차원의 도구이어서 비밀을 요하는 중요한 목적으로 사용 할 수 없음.",donate:"기부",donate_info:"<b>기부</b> 는 본 프로젝트를 진행 하는데 도움이 되고 감사 드립니다. 기부 하려면  여기서 하면 됩니다 <a>Open Collective</a> or <b>bitcoin</b>",logout_confirmation_info:"당신은 <b>로그인 다시 할 수 없음</b>만약 당신이 프라이빗 키를 저장해 두자 않았으ㅁ.",participants:"참여자",admin:"관리자",add_participant:"참여자 추가",new_participants_profile_link:"신규 참여자 약력 링크",invite_links:"링크 초대",copy:"복사",follows_you:"당신 펄로우",follow:"펄로우",unfollow:"펄로우 취소",following:"펄러우 진행중",followers:"펄로워들",add_friend:"친구 추가",send_message:"메시지 전송",copy_link:"링크 복사",show_qr_code:"QR코드 공유",chat_settings:"채팅 환경",nicknames:"닉네임들",nickname:"닉네임",video_call:"화상채팅",online:"온라인",last_active:"마지막 활동",their_nickname_for_you:"당신을 위한 그들의 닉네임",notifications:"통보",all_messages:"모든 메시지",mentions_only:"단지 멘션",nothing:"존대하지 않음",delete_chat:"책 삭제",block_user:"사용자 거부",typing:"타이핑 중...",attachment:"첨부",note_to_self:"자신에게 메모",today:"오늘",yesterday:"어제",copied:"복사완료",answer:"대답",reject:"거부",incoming_call:"전화 수신",call_rejected:"응답 거부",close:"닫기",call_ended:"통화 종료",calling:"통화",on_call_with:"통화 상대",delete:"삭제",confirm_delete_msg:"메시지 삭제?",search:"검색",email_optional:"이메일 (옵션)",delivery:"전달",address:"주소",confirmation:"확인",payment_method:"지불 방법",summary:"요약",download_webtorrent:"다운로드 <a>Webtorrent Desktop</a> 미디어 파일을호스트 하고 붙여 넣기 위하여 마그넷링크 아래 제공.",visibility:"당신의 게시물, 답변과 좋아요는 당신의 펄로워들과 네트워크에만 보여짐.",iris_is_like:"Iris는 소셜네트워킹 앱이지만 더 향상된 기능임.",this_is_a_prototype_store:"ㅇ본 화면은 시범 상점이며 당신의 소셜네트워크의 판매점을 보여 줌.  주문은 Iris 개인 메시지로 함.  당신의 상점은 여기에 볼 수 있음. <a>여기</a>.",add_to_cart:"카트에 추가",web_push_subscriptions:"웹 푸시 구독",enable_public_peer_discovery:"공개 친구 찾기 동작",set_up_your_own_peer:"당신의 자체 친구 설정",also:"그리고",or_small:"또는",automatically_load_webtorrent_attachments:"자동적으로 webtorrent 첨부 파일 로드",autoplay_webtorrent_videos:"자동으로 webtorrent 비디오 시작",no_contacts_in_list:"더 이상 친구 리스트가 없음."},ur:{language_name:"اردو",whats_your_name:"آپکا کیا نام ہے؟",new_user_go:"چلو",already_have_an_account:"پہلے ہی اکاؤنٹ موجود ہے؟",back:"واپس",scan_private_key_qr_code:"خفیہ QR کوڈ سکین کریں",paste_private_key:"خفیہ کوڈ لکھیں",get_notified_new_messages:"نۓ پیغامات کی اطلاع حاصل کریں",turn_on_desktop_notifications:"ڈیسک ٹاپ اطلاعات حاصل کریں",new_chat:"نیا پیغام",public_messages:"عام پیغامات",follow_someone_info:"کسی کے حلقہ احباب کا مواد دیکھنے کے لیے اسے فالو کریں! سفارشات:",creator_of_this_distribution:"Iris کو بنانے والے",no_followers_yet:"اپنی پروفایٔل کو لنک شیر کریں تاکہ دوسرے آپکو فالو کر سکیں:",no_followers_yet_info:"آپکی پوسٹ ، جوابات اور پسند صرف آپکے حلقہ احباب کو دکھایٔی جاتی ہے",alternatively:"متبادل",alternatively_get_sms_verified:"متبادل طور پر <a>ایس ایم ایس تصدیق</a> کریں تاکہ لوگ آپکو ڈھونڈ سکیں",give_your_profile_link_to_someone:"اپنی پروفایٔل کو لنک شیر کریں",if_other_person_doesnt_see_message:"اگر دوسرا شخص آپکا پیغام نہیں دیکھ رہا، تو آپ اسے <b>اپنا</b> پروفایٔل لنک کسی دوسرے پلیٹ فارم شیر کر سکتے ہیں",type_a_message:"پیغام لکھیے",beware_of_sharing_invite_link_publicly:"انوایٔٹ لنک سر عام رکھنے سے بعض رہیں لوگ آپکو پیغام بھیج کر تنگ کر سکتے ہیں! اسکی جگہ  <a>پروفایٔل لنک</a> شیر کریں",your_invite_links:"آپکا انوایٔٹ لنک",create_new_invite_link:"نیا انوایٔٹ لنک بنایٔیں",copy_your_invite_link:"اپنا انوایٔٹ لنک بنایٔیں کاپی کریں",have_someones_invite_link:"کیا آپکے پاس کسی کا انوایٔٹ لنک ہے؟",paste_their_invite_link:"انکا انوایٔٹ لنک لکھیں",give_your_invite_link:"اپنا انوایٔٹ لنک دیں:",or_scan_qr_code:"انکا QR کوڈ سکین کریں",or_show_qr_code:"یا پھر اپنا QR کوڈ دیکھیں",new_group:"نیا گروپ",group_name:"گروپ کا نام",create:"بنایٔیں",settings:"مرمت",profile:"پروفایٔل",your_name:"آپکا نام",profile_photo:"پروفایٔل تصویر",add_profile_photo:"پروفایٔل تصویر ڈالیں",profile_photo_too_big:"پروفایٔل تصویر بہت ہے ، سایٔز کی حد 200KB ہے ",cancel:"ختم",use_photo:"تصویر استعمال کریں",remove_photo:"تصویر ہٹایٔیں",about_text:"آپکی تعریف",account:"اکاؤنٹ",save_backup_of_privkey_first:"پہلے اپنا پریٔیوٹ کوڈ محفوظ کرلیں!",otherwise_cant_log_in_again:"ورنہ آپ دوبارہ اکاؤنٹ استعمال نہیں کر سکیں گے",log_out:"بند کریں",private_key:"پرایٔویٹ کوڈ",download_private_key:"پرایٔویٹ کوڈ ڈاؤن لوڈ کریں",private_key_warning:"<b>خطرہ</b>پرایٔویٹ کوڈ <b>آپکے اکاؤنٹ کی رسایٔ دیتا ہے </b>اپنا پرایٔویٹ کوڈ کسی کو نہ دکھایٔیں",copy_private_key:"پرایٔویٹ کوڈ کاپی کریں",show_privkey_qr:"پرایٔویٹ کوڈ کا QR کوڈ دکھایٔیں",hide_privkey_qr:"پرایٔویٹ کوڈ کا QR کوڈ چھپایٔیں",privkey_storage_recommendation:"پرایٔویٹ کوڈ کو رکھنے کی محفوظ جگہ <b>پاس ورڈ مینیجر ہے</b>.",language:"زبان",peers:"دوست",peer_url:"دوست کا لنک",public:"عام",remove:"ہٹایٔں",enable:"چلایٔں",disable:"روکیں",from:"کی طرف سے",add:"شامل کریں",public_peer_info:"<i>عام</i> دوست خود بخود آپسے بات کرنے والوں اور دوسرے لوگوں کو نظر آ جاتے ہیں",peers_info:"دوست GunDB کے نقتے ہیں جن کو آپ آسانی سے <a>گھما</a> سکتے ہیں۔ جلد ہی WebRTC کے ذریعے دوستوں کے ساتھ براہ راست رابطہ ہوگا",webrtc_connection_options:"WebRTC کے آپشن",webrtc_info:"WebRTC ویڈیو کال کے لیے استعمال ہوتا ہے ۔ اگر آپ NAT استعمال کرتے ہیں تو آپکو ایک ٹرن سرور بنانا ہوگا جو کے آپکی ویڈیو ٹریفک کو چلاۓ گا۔ Bandwidth مفت نہیں ہے اور نہ ہی ٹرن سرور مفت ہیں",restore_defaults:"سب پہلے جیسا کردیں",about:"معلومات",application_security_warning:"یہ ایک نامحاسبہ پروف آف کانسیپٹ عمل ہے تواسے حساس معاملات کے لیے استعمال نہ کریں",donate:"عطیہ کریں",donate_info:"<b>عطیات</b> پروجیکٹ کو چلانے میں مدد کرتے ہیں اور انکی قدر کی جاتی ہے۔ آپ <a>Open Collective</a> اور <b>bitcoin</b> کے ذریعے عطیات کر سکتے ہیں",logout_confirmation_info:"اگر آپ نے پرایٔیویٹ کوڈ محفوز نہیں کیا تو آپ <b>دوبارہ لاگن نہیں کر سکتے</b>",participants:"شرکاء",admin:"ایڈمن",add_participant:"شریک کریں",new_participants_profile_link:"نۓشریک کا لنک",invite_links:"انوایٔٹ لنک",copy:"کاپی",follows_you:"آپکو فالو کرتے ہیں",follow:"فالو",unfollow:"ان فالو",following:"فالو کرتے ہیں",followers:"فالورز",add_friend:"دوست بنایٔیں",send_message:"پیغام بھیجیں",copy_link:"لنک کاپی کریں",show_qr_code:"QR کوڈ دیکھیں",chat_settings:"پیغام کی سیٹنگ",nicknames:"نک نام",nickname:"نک نام",video_call:"ویڈیو کال",online:"آن لایٔن",last_active:"لاسٹ ایکٹیو",their_nickname_for_you:"آپ کے لیے انکا نک نام",notifications:"نوٹیفیکیشن",all_messages:"تمام پیغامات",mentions_only:"صرف مینش",nothing:"کچھ نہیں",delete_chat:"پیغام ڈلیٹ کریں",block_user:"بلاک کریں",typing:"لکھ رہے ہیں...",attachment:"اٹیچمنٹ",note_to_self:"خود کےلیے پیغام",today:"آج",yesterday:"کل",copied:"کاپی شدہ",answer:"جواب",reject:"رد",incoming_call:"کال آ رہی ہے",call_rejected:"کال کاٹ دی",close:"بند کریں",call_ended:"کال ختم",calling:"کال ہو رہی",on_call_with:"کے ساتھ کال پر ہیں",delete:"ڈلیٹ کریں",confirm_delete_msg:"پیغام ڈلیٹ کریں؟",search:"تلاش کریں",email_optional:"ای میل (مرضی ہے)",delivery:"ترصیل",address:"پتہ",confirmation:"تصدیق",payment_method:"پیمنٹ میتھڈ",summary:"سمری",download_webtorrent:"میڈیا فایٔلوں کو ہوسٹ کرنے اور انکے میڈیا لنک پیسٹ کرنے کے لیے <a>Webtorrent Desktop</a> ڈاؤنلوڈ کریں",visibility:"آپکے پوسٹ ، جوابات اور لایٔک صرف آپکے فالورز اور انکے نیٹ ورک کو نظر آنی ہیں",iris_is_like:"Iris ہماری پسندیدہ سوشل نیٹ ورک ایپس کی طرح ہے مگر ان سے بہترہے",this_is_a_prototype_store:"یہ ایک پروٹوٹایٔپ سٹور ہے جو آپکے نیٹورک میں موجود تاجروں کی مصنوعات دکھاتا ہے۔ آرڈر پرایٔیویٹ پیغام کے ذریعے بھیجے جاتے ہیں۔آپ کے اپنے سٹور <a>یہاں</a>ملیں گے",add_to_cart:"کارٹ میں ڈالیں",web_push_subscriptions:"ویب پش کی سبسکرپشن",enable_public_peer_discovery:"عام دوستوں کی معلومات چالو کریں",set_up_your_own_peer:"اپنا peer سیٹ اپ کریں",also:"اور",or_small:"یا",automatically_load_webtorrent_attachments:"خود بخود webtorrent attachments لوڈ کریں",autoplay_webtorrent_videos:"خود بخود ویڈیو چلایٔیں",no_contacts_in_list:"اپکے کو کونٹیکٹ نہیں ہیں"}}},PAqL:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function i(e){function t(){var e=u(_.location.hash.substr(1)),t=e.pathname,n=e.search,r=e.hash,i=w.state||{};return[i.idx,f({pathname:void 0===t?"/":t,search:void 0===n?"":n,hash:void 0===r?"":r,state:i.usr||null,key:i.key||"default"})]}function n(){if(F)j.call(F),F=null;else{var e=l.Pop,n=t(),r=n[0];if(j.length){if(null!=r){var i=C-r;i&&(F={action:e,location:n[1],retry:function(){v(-1*i)}},v(i))}}else y(e)}}function i(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var n=_.location.href,r=n.indexOf("#");t=-1===r?n:n.slice(0,r)}return t}()+"#"+("string"==typeof e?e:s(e))}function d(e,t){return void 0===t&&(t=null),f(r({pathname:O.pathname,hash:"",search:""},"string"==typeof e?u(e):e,{state:t,key:c()}))}function g(e,t){return[{usr:e.state,key:e.key,idx:t},i(e)]}function m(e,t,n){return!j.length||(j.call({action:e,location:t,retry:n}),!1)}function y(e){k=e;var n=t();C=n[0],S.call({action:k,location:O=n[1]})}function v(e){w.go(e)}void 0===e&&(e={});var b=e.window,_=void 0===b?document.defaultView:b,w=_.history,F=null;_.addEventListener(h,n),_.addEventListener("hashchange",(function(){s(t()[1])!==s(O)&&n()}));var k=l.Pop,x=t(),C=x[0],O=x[1],S=a(),j=a();null==C&&w.replaceState(r({},w.state,{idx:C=0}),"");var E={get action(){return k},get location(){return O},createHref:i,push:function e(t,n){var r=l.Push,i=d(t,n);if(m(r,i,(function(){e(t,n)}))){var o=g(i,C+1),a=o[0],c=o[1];try{w.pushState(a,"",c)}catch(e){_.location.assign(c)}y(r)}},replace:function e(t,n){var r=l.Replace,i=d(t,n);if(m(r,i,(function(){e(t,n)}))){var o=g(i,C);w.replaceState(o[0],"",o[1]),y(r)}},go:v,back:function(){v(-1)},forward:function(){v(1)},listen:function(e){return S.push(e)},block:function(e){var t=j.push(e);return 1===j.length&&_.addEventListener(p,o),function(){t(),j.length||_.removeEventListener(p,o)}}};return E}function o(e){e.preventDefault(),e.returnValue=""}function a(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function c(){return Math.random().toString(36).substr(2,8)}function s(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,i=void 0===r?"":r,o=e.hash,a=void 0===o?"":o;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function u(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var l;n.d(t,"a",(function(){return i})),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(l||(l={}));var f=function(e){return e},p="beforeunload",h="popstate"},Pidb:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){function a(e){i(s,r,o,a,c,"next",e)}function c(e){i(s,r,o,a,c,"throw",e)}var s=e.apply(t,n);a(void 0)}))}}function a(){return window.Notification&&"granted"===Notification.permission}function c(e){for(var t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),n=window.atob(t),r=new Uint8Array(n.length),i=0;i<n.length;++i)r[i]=n.charCodeAt(i);return r}function s(){return u.apply(this,arguments)}function u(){return(u=o((function*(e){try{p(yield e.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:c(I)}))}catch(e){console.error("web push subscription error",e)}}))).apply(this,arguments)}function l(){return f.apply(this,arguments)}function f(){return(f=o((function*(){if(!a()||!navigator.serviceWorker)return!1;yield navigator.serviceWorker.ready;var e=yield navigator.serviceWorker.getRegistration();e.active.postMessage({key:x.a.getKey()});var t=yield e.pushManager.getSubscription();t?p(t):s(e)}))).apply(this,arguments)}function p(){return h.apply(this,arguments)}function h(){return h=o((function*(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=x.a.getKey(),r=yield D.a.SEA.secret(n.epub,n),i=yield D.a.SEA.encrypt(e,r),o=yield E.a.util.getHash(JSON.stringify(e));t&&O.a.public.user().get("webPushSubscriptions").get(o).put(i),R[o]=e,M()})),h.apply(this,arguments)}function d(){return d=o((function*(){var e=x.a.getKey(),t=yield D.a.SEA.secret(e.epub,e);O.a.public.user().get("webPushSubscriptions").map().on(function(){var e=o((function*(e){e&&p(yield D.a.SEA.decrypt(e,t),!1)}));return function(t){return e.apply(this,arguments)}}())})),d.apply(this,arguments)}function g(e){return new Promise((function(t){O.a.public.user(e).get("epub").on(function(){var e=o((function*(e,n,r,i){e&&(i.off(),t(e))}));return function(t,n,r,i){return e.apply(this,arguments)}}())}))}function m(){return y.apply(this,arguments)}function y(){return(y=o((function*(e){var t=yield O.a.public.user(e.from).get("profile").once(),n=t&&t.name||"someone",r=e.event||e.action;return"like"===r?"".concat(n," liked your post"):"reply"===r?"".concat(n," replied to your post"):"mention"===r?"".concat(n," mentioned you in their post"):"follow"===r?"".concat(n," started following you"):"".concat(n," sent you a notification: ").concat(r)}))).apply(this,arguments)}function v(e){e?(F+=e,F=Math.max(F,0)):(F=0,O.a.public.user().get("notificationsSeenTime").put((new Date).toISOString())),O.a.local.get("unseenNotificationCount").put(F)}function b(){return(b=o((function*(e,t){if(e&&t){"object"===r(t)&&(t.time=(new Date).toISOString());var n=yield g(e),i=yield D.a.SEA.secret(n,x.a.getKey()),o=yield D.a.SEA.encrypt(t,i);O.a.public.user().get("notifications").get(e).put(o)}}))).apply(this,arguments)}var _,w,F,k=n("aKPg"),x=n("jMw0"),C=n("Y3FI"),O=n("lBHI"),S=n("9va6"),j=n.n(S),E=n("o5ls"),A=n("wCQ/"),D=n.n(A),T=n("qIEf"),P=n.n(T),B=new Audio("../../assets/audio/notification.mp3"),R={},I="BMqSvZArOIdn7vGkYplSpkZ70-Qt8nhYbey26WVa3LF3SwzblSzm3n3HHycpNkAKVq7MCkrzFuTFs_en7Y_J2MI",M=j.a.debounce((function(){var e=Object.values(R);Object.values(x.a.channels).forEach((function(t){t.put&&t.put("webPushSubscriptions",e)}))}),5e3);t.a={init:function(){_=new Date,w=0,v(0)},notifyMsg:function(e,t,n){function r(){return!(e.timeObj<_)&&(!t.selfAuthored&&("visible"!==document.visibilityState&&("nothing"!==x.a.channels[n].notificationSetting&&!("mentions"===x.a.channels[n].notificationSetting&&!e.text.includes(x.a.getMyName())))))}var i,o;r()&&B.play(),a()&&r()&&(x.a.channels[n].uuid?(o=x.a.channels[n].participantProfiles[t.from].name,i="".concat(name,": ").concat(e.text)):(o="Message",i=e.text),i=k.a.truncateString(i,50),new Notification(o,{icon:"/assets/img/icon128.png",body:i,silent:!0}).onclick=function(){v(-1),Object(C.route)("/chat/".concat(n)),window.focus()})},getNotificationText:m,changeUnseenNotificationCount:v,subscribeToIrisNotifications:function(){var e,t;O.a.public.user().get("notificationsSeenTime").on((function(t){e=t,console.log(t)})),O.a.public.user().get("notificationsShownTime").on((function(e){return t=e}));var n=j.a.debounce((function(){O.a.public.user().get("notificationsShownTime").put((new Date).toISOString())}),1e3),i=new Set;setTimeout((function(){O.a.group().on("notifications/".concat(x.a.getPubKey()),function(){var a=o((function*(o,a,c,s,u){var l=u.slice(0,30)+o.slice(0,30);if(!i.has(l)){i.add(l);var f=yield g(u),p=yield D.a.SEA.secret(f,x.a.getKey()),h=yield D.a.SEA.decrypt(o,p);if(h&&"object"===r(h)&&(n(),h.from=u,O.a.local.get("notifications").get(h.time).put(h),(!e||e<h.time)&&v(1),!t||t<h.time)){console.log("was new!");var d=yield m(h);new Notification(d,{icon:"/assets/img/icon128.png",body:d,silent:!0}).onclick=function(){var e=h.target?"/post/".concat(h.target):"/profile/".concat(h.from);Object(C.route)(e),v(-1),window.focus()}}}}));return function(e,t,n,r,i){return a.apply(this,arguments)}}())}),2e3)},sendIrisNotification:function(){return b.apply(this,arguments)},enableDesktopNotifications:function(){window.Notification&&Notification.requestPermission((function(){"granted"!==Notification.permission&&"denied"!==Notification.permission||P()("#enable-notifications-prompt").slideUp(),"granted"===Notification.permission&&l()}))},changeChatUnseenCount:function(e,t){var n=x.a.channels[e];if(n){var r=O.a.local.get("channels").get(e);t?(w+=t,n.unseen+=t):(w-=n.unseen||0,n.unseen=0),r.get("unseen").put(n.unseen),w=w>=0?w:0,O.a.local.get("unseenMsgsTotal").put(w)}},webPushSubscriptions:R,subscribeToWebPush:l,getWebPushSubscriptions:function(){return d.apply(this,arguments)},removeSubscription:function(e){delete R[e],O.a.public.user().get("webPushSubscriptions").get(e).put(null),M()}}},RoC8:function(e){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],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}}),e.webpackPolyfill=1),e}},T8kc:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var l=n("hosL");t.a=function(e){function t(){var e;return(e=u.call(this)).state={componentData:null},e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e);var n,r,s,u=c(t);return n=t,(r=[{key:"loadComponent",value:function(){var e=this;if(this.props.component)return this.setState({componentData:this.props.component});var t,n=this.props.getComponent(this.props.url,(function(t){var n=t.component;n&&e.setState({componentData:n})}),i({},this.props,this.props.matches));n&&n.then&&(t=this.props.url,n.then((function(n){t===e.props.url?e.setState({componentData:n}):e.setState({componentData:null},(function(){e.loadComponent()}))})))}},{key:"componentWillReceiveProps",value:function(e){var t=this;this.props.path&&this.props.path!==e.path&&this.setState({componentData:null},(function(){t.loadComponent()}))}},{key:"componentWillMount",value:function(){this.loadComponent()}},{key:"render",value:function(){return this.state.componentData?Object(l.h)(this.state.componentData,this.props):this.props.loading?this.props.loading():null}}])&&o(n.prototype,r),s&&o(n,s),Object.defineProperty(n,"prototype",{writable:!1}),t}(l.Component)},T9Vo:function(e,t,n){(function(e,t){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}!function(){function r(e){var t=parseFloat(e);return isNaN(t)?"true"==(e=e.trim())||"false"!=e&&("null"==e?null:void 0):t}var i,o={},a=setTimeout.turn||(void 0===e?"undefined":n(e))!=""+i&&e||setTimeout;o.parseAsync=function(e,t,n,o){if("string"==typeof e){var c={i:0,text:e,done:t,l:e.length,up:[]};o=o||32768,function t(){for(var n,s,u=c.text,l=c.i,f=c.l,p=0,h=c.w;p++<o;){var d=u[l++];if(l>f){c.end=!0;break}if(h){for(l=u.indexOf('"',l-1),d=u[l],s=0;"\\"==u[l-++s];);s=!(s%2),n=n||s,'"'!=d||s||(h=i,s=c.s,c.a?(s=u.slice(c.sl,l),(n||1+s.indexOf("\\"))&&(s=JSON.parse('"'+s+'"')),c.at instanceof Array?c.at.push(c.s=s):(c.at||(c.end=p=o,s=i),(c.at||{})[c.s]=c.s=s),c.s=i):(c.s=u.slice(c.sl,l),(n||1+c.s.indexOf("\\"))&&(c.s=JSON.parse('"'+c.s+'"'))),c.a=n=i),++l}else switch(d){case'"':c.sl=l,h=!0;break;case":":c.ai=l,c.a=!0;break;case",":(c.a||c.at instanceof Array)&&(s=u.slice(c.ai,l-1))&&i!==(s=r(s))&&(c.at instanceof Array?c.at.push(s):c.at[c.s]=s),c.a=i,c.at instanceof Array&&(c.a=!0,c.ai=l);break;case"{":c.up.push(c.at||(c.at={})),c.at instanceof Array?c.at.push(c.at={}):i!==(s=c.s)&&(c.at[s]=c.at={}),c.a=i;break;case"}":c.a&&(s=u.slice(c.ai,l-1))&&i!==(s=r(s))&&(c.at instanceof Array?c.at.push(s):(c.at||(c.end=p=o,s=i),(c.at||{})[c.s]=s)),c.a=i,c.at=c.up.pop();break;case"[":i!==(s=c.s)?(c.up.push(c.at),c.at[s]=c.at=[]):c.at||c.up.push(c.at=[]),c.a=!0,c.ai=l;break;case"]":c.a&&(s=u.slice(c.ai,l-1))&&i!==(s=r(s))&&(c.at instanceof Array?c.at.push(s):c.at[c.s]=s),c.a=i,c.at=c.up.pop()}}if(c.s=i,c.i=l,c.w=h,c.end){if(i===(s=c.at))try{s=JSON.parse(e)}catch(e){return c.done(e)}c.done(i,s)}else a(t)}()}else try{t(i,JSON.parse(e))}catch(e){t(e)}},o.stringifyAsync=function(e,t,r,o,c){(c=c||{}).text=c.text||"",c.up=[c.at={d:e}],c.done=t,c.i=0;var s=0;!function e(){var t,r=c.at,o=r.d,u="";switch(r.i&&r.i-r.j>0&&(u+=","),i!==(t=r.k)&&(u+=JSON.stringify(t)+":"),n(o)){case"boolean":u+=""+o;break;case"string":u+=JSON.stringify(o);break;case"number":u+=o;break;case"object":if(!o){u+="null";break}if(o instanceof Array){u+="[",(r={i:-1,as:o,up:r,j:0}).l=o.length,c.up.push(c.at=r);break}if("function"!=typeof(o||"").toJSON){u+="{",(r={i:-1,ok:Object.keys(o).sort(),as:o,up:r,j:0}).l=r.ok.length,c.up.push(c.at=r);break}if(t=o.toJSON()){u+=t;break}case"function":if(r.as instanceof Array){u+="null";break}default:u="",r.j++}for(c.text+=u;1+r.i>=r.l;)c.text+=r.ok?"}":"]",r=c.at=r.up;if(++r.i<r.l)return r.d=(t=r.ok)?r.as[r.k=t[r.i]]:r.as[r.i],++s<9?e():(s=0,void a(e));c.done(i,c.text)}()},("undefined"==typeof window?"undefined":n(window))!=""+i&&(window.YSON=o);try{n(t)!=""+i&&(t.exports=o)}catch(e){}("undefined"==typeof JSON?"undefined":n(JSON))!=""+i&&(JSON.parseAsync=o.parseAsync,JSON.stringifyAsync=o.stringifyAsync)}()}).call(this,n("oPUo").setImmediate,n("RoC8")(e))},V5xz:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var l,f,p,h,d,g=n("aKPg"),m=n("4Iz4"),y=n("lBHI"),v=n("jMw0"),b=n("nazO"),_=n("3rgF"),w=n("Xfu8"),F=n("d17u"),k=n("vI8o"),x=n("DrMS"),C=n("Y3FI"),O=n("B7GM"),S=n("Pidb"),j=n("WsZD"),E=n("qIEf"),A=n.n(E),D=n("9va6"),T=n.n(D),P=n("s40m");t.a=function(e){function t(){var e;return(e=u.call(this)).state=v.a.DEFAULT_SETTINGS,e.state.webPushSubscriptions={},e.state.blockedUsers={},e.id="settings",e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e);var n,r,s,u=c(t);return n=t,(r=[{key:"mailtoSubmit",value:function(e){e.preventDefault(),this.state.email&&this.state.email===this.state.retypeEmail&&(window.location.href="mailto:".concat(this.state.email,"?&subject=Iris%20private%20key&body=").concat(JSON.stringify(v.a.getKey())))}},{key:"renderView",value:function(){var e=this,t=T.a.filter(Object.keys(this.state.blockedUsers),(function(t){return e.state.blockedUsers[t]}));return Object(m.a)(l||(l=i(['\n      <div class="centered-container">\n        <h3>',"</h3>\n        <p>\n          <b>","</b> ","\n        </p>\n        <p>\n          <button onClick=",">","</button>\n        </p>\n        <p>\n          <button onClick=",">","</button>\n        </p>\n        ","\n        <h4>","</h4>\n        <p dangerouslySetInnerHTML="," ></p>\n        <p>\n          <button onClick=",">","</button>\n          <"," notShareable="," text="," copyStr=","/>\n        </p>\n        <p>\n          <button onClick=",">",'</button>\n        </p>\n        <div id="private-key-qr" class="qr-container"></div>\n        <p>\n          ',":\n        </p>\n        <p>\n          <form onSubmit=",'>\n            <input name="email" type="email" onChange='," placeholder=",'/>\n            <input name="verify_email" type="email" onChange='," placeholder=",'/>\n            <button type="submit">',"</button>\n          </form>\n        </p>\n        <p><small dangerouslySetInnerHTML=","></small></p>\n        <hr/>\n        <h3>","</h3>\n        <p><",' key="moi"/></p>\n        <hr/>\n        <h3>',"</h3>\n        <p>",'</p>\n        <div class="flex-table">\n          ',"\n        </div>\n        <hr/>\n        <","/>\n        <p>",' <a href="https://github.com/amark/gun#docker">Docker</a> ',' <a href="https://github.com/irislib/iris-electron">Iris-electron</a>.</p>\n        ',"\n        <hr/>\n        <h3>",'</h3>\n        <p><input type="checkbox" checked='," onChange=",' id="enableWebtorrent"/><label for="enableWebtorrent">','</label></p>\n        <p><input type="checkbox" checked='," onChange=",' id="autoplayWebtorrent"/><label for="autoplayWebtorrent">','</label></p>\n        <hr/>\n        <h3>Show beta features</h3>\n        <p><input type="checkbox" checked='," onChange=",' id="showBetaFeatures"/><label for="showBetaFeatures">',"</label></p>\n        <h3>","</h3>\n        <p><small>",'</small></p>\n        <p><textarea rows="4" id="rtc-config" placeholder="','" onChange=',"></textarea></p>\n        <button onClick=",">","</button>\n        <hr/>\n        <h3>","</h3>\n        ","\n        ","\n      </div>\n    "])),Object(_.c)("account"),Object(_.c)("save_backup_of_privkey_first"),Object(_.c)("otherwise_cant_log_in_again"),(function(){return Object(C.route)("/logout")}),Object(_.c)("log_out"),(function(){return e.setState({showSwitchAccount:!e.state.showSwitchAccount})}),Object(_.c)("switch_account"),this.state.showSwitchAccount?Object(m.a)(f||(f=i(["<","/>"])),O.a):"",Object(_.c)("private_key"),{__html:Object(_.c)("private_key_warning")},(function(){return delete(e=v.a.getKey())["#"],g.a.download("iris_private_key.txt",JSON.stringify(e),"text/plain","utf-8");var e}),Object(_.c)("download_private_key"),F.a,!0,Object(_.c)("copy_private_key"),JSON.stringify(v.a.getKey()),(function(e){return function(e){function t(){clearInterval(r),A()("#private-key-qr").empty(),i.text(a)}function n(e){return"".concat(Object(_.c)("hide_privkey_qr")," (").concat(e,")")}var r,i=A()(e.target),o=0===A()("#private-key-qr img").length,a=Object(_.c)("show_privkey_qr");if(o){var c=20;i.text(n(c)),r=setInterval((function(){0!==A()("#private-key-qr img").length?0==(c-=1)?t():i.text(n(c)):clearInterval(r)}),1e3);var s=A()("#private-key-qr");new P.a(s[0],{text:JSON.stringify(v.a.getKey()),width:300,height:300,colorDark:"#000000",colorLight:"#ffffff",correctLevel:P.a.CorrectLevel.H})}else t()}(e)}),Object(_.c)("show_privkey_qr"),Object(_.c)("email_privkey_to_yourself"),(function(t){return e.mailtoSubmit(t)}),(function(t){return e.setState({email:t.target.value.trim()})}),Object(_.c)("email"),(function(t){return e.setState({retypeEmail:t.target.value.trim()})}),Object(_.c)("retype_email"),Object(_.c)("go"),{__html:Object(_.c)("privkey_storage_recommendation")},Object(_.c)("language"),b.a,Object(_.c)("notifications"),Object(_.c)("web_push_subscriptions"),Object.keys(this.state.webPushSubscriptions).map((function(t){var n=e.state.webPushSubscriptions[t];if(n)return Object(m.a)(p||(p=i(['\n              <div class="flex-row">\n                  <div class="flex-cell">','</div>\n                  <div class="flex-cell no-flex">\n                      <button onClick=',">","</button>\n                  </div>\n              </div>\n            "])),n.endpoint,(function(){return S.a.removeSubscription(t)}),Object(_.c)("remove"))})),j.a,Object(_.c)("also"),Object(_.c)("or_small"),g.a.isElectron?Object(m.a)(h||(h=i(['\n          <hr/>\n          <h3>Desktop</h3>\n          <p><input type="checkbox" checked='," onChange=",' id="openAtLogin"/><label for="openAtLogin">Open at login</label></p>\n          <p><input type="checkbox" checked='," onChange=",' id="minimizeOnClose"/><label for="minimizeOnClose">Minimize on close</label></p>\n        '])),this.state.electron.openAtLogin,(function(){return y.a.electron.get("settings").get("openAtLogin").put(!e.state.electron.openAtLogin)}),this.state.electron.minimizeOnClose,(function(){return y.a.electron.get("settings").get("minimizeOnClose").put(!e.state.electron.minimizeOnClose)})):"",Object(_.c)("webtorrent"),this.state.local.enableWebtorrent,(function(){return y.a.local.get("settings").get("enableWebtorrent").put(!e.state.local.enableWebtorrent)}),Object(_.c)("automatically_load_webtorrent_attachments"),this.state.local.autoplayWebtorrent,(function(){return y.a.local.get("settings").get("autoplayWebtorrent").put(!e.state.local.autoplayWebtorrent)}),Object(_.c)("autoplay_webtorrent_videos"),this.state.local.showBetaFeatures,(function(){return y.a.local.get("settings").get("showBetaFeatures").put(!e.state.local.showBetaFeatures)}),Object(_.c)("show_beta_features"),Object(_.c)("webrtc_connection_options"),Object(_.c)("webrtc_info"),Object(_.c)("webrtc_connection_options"),(function(t){return e.rtcConfigChanged(t)}),(function(){return e.restoreDefaultRtcConfig()}),Object(_.c)("restore_defaults"),Object(_.c)("blocked_users"),t.map((function(t){if(e.state.blockedUsers[t])return Object(m.a)(d||(d=i(['<p><a href="/profile/','"><'," user=",' path="profile/name" placeholder="User"/></a></p>'])),encodeURIComponent(t),k.a,t)})),0===t.length?Object(_.c)("none"):"")}},{key:"rtcConfigChanged",value:function(e){Object(w.d)(JSON.parse(e.target.value))}},{key:"restoreDefaultRtcConfig",value:function(){Object(w.d)(w.a),A()("#rtc-config").val(JSON.stringify(Object(w.c)()))}},{key:"componentDidMount",value:function(){var e=this,t={};A()("#rtc-config").val(JSON.stringify(Object(w.c)())),y.a.electron&&y.a.electron.get("settings").on(this.inject("electron","electron")),y.a.local.get("settings").on(this.sub((function(t){console.log("local settings",t),t&&e.setState({local:t})}))),y.a.public.user().get("webPushSubscriptions").map().on(this.sub((function(){return e.setState({webPushSubscriptions:S.a.webPushSubscriptions})}))),y.a.public.user().get("block").map().on(this.sub((function(n,r){t[r]=n,e.setState({blockedUsers:t})})))}}])&&o(n.prototype,r),s&&o(n,s),Object.defineProperty(n,"prototype",{writable:!1}),t}(x.a)},VJyh:function(e,t,n){(function(e,t,r){function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){function o(e){s(c,r,i,o,a,"next",e)}function a(e){s(c,r,i,o,a,"throw",e)}var c=e.apply(t,n);o(void 0)}))}}function l(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}!function(){function i(e,t){function r(e){return e.split("/").slice(-1).toString().replace(".js","")}return t?n("Z6HB")(e):e.slice?i[r(e)]:function(t,n){e(t={exports:{}}),i[r(n)]=t.exports}}var a=e;i((function(e){"undefined"!=typeof window&&(e.window=window);var t=(e.window||e).SEA||{};(t.window=e.window)&&(t.window.SEA=t);try{undefined+""!==d(a)&&(a.exports=t)}catch(e){}e.exports=t}))(i,"./root"),i((function(){var e=i("./root");try{e.window&&location.protocol.indexOf("s")<0&&location.host.indexOf("localhost")<0&&!/^127\.\d+\.\d+\.\d+$/.test(location.hostname)&&location.protocol.indexOf("file:")<0&&(console.warn("HTTPS needed for WebCrypto in SEA, redirecting..."),location.protocol="https:")}catch(e){}}))(i,"./https"),i((function(){var e;if(e+""==("undefined"==typeof btoa?"undefined":d(btoa))){if(e+""==(void 0===t?"undefined":d(t)))try{r.Buffer=i("buffer",1).Buffer}catch(e){console.log("Please `npm install buffer` or add it to your package.json !")}r.btoa=function(e){return t.from(e,"binary").toString("base64")},r.atob=function(e){return t.from(e,"base64").toString("binary")}}}))(i,"./base64"),i((function(e){function t(){}i("./base64"),h(t,{from:Array.from}),(t.prototype=Object.create(Array.prototype)).toString=function(e,t,n){var r=this;t=t||0;var i=this.length;if("hex"===(e=e||"utf8")){var o=new Uint8Array(this);return l(Array((n&&n+1||i)-t).keys()).map((function(e){return o[e+t].toString(16).padStart(2,"0")})).join("")}return"utf8"===e?Array.from({length:(n||i)-t},(function(e,n){return String.fromCharCode(r[n+t])})).join(""):"base64"===e?btoa(this):void 0},e.exports=t}))(i,"./array"),i((function(e){function t(){return console.warn("new SafeBuffer() is depreciated, please use SafeBuffer.from()"),t.from.apply(t,arguments)}i("./base64");var n=i("./array");t.prototype=Object.create(Array.prototype),h(t,{from:function(){if(!Object.keys(arguments).length||null==arguments[0])throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");var e,t=arguments[0];if("string"==typeof t){var r=arguments[1]||"utf8";if("hex"===r){var i=t.match(/([\da-fA-F]{2})/g).map((function(e){return parseInt(e,16)}));if(!i||!i.length)throw new TypeError("Invalid first argument for type 'hex'.");e=n.from(i)}else if("utf8"===r||"binary"===r){var o=t.length,a=new Uint16Array(o);Array.from({length:o},(function(e,n){return a[n]=t.charCodeAt(n)})),e=n.from(a)}else if("base64"===r){var c=atob(t),s=c.length,u=new Uint8Array(s);Array.from({length:s},(function(e,t){return u[t]=c.charCodeAt(t)})),e=n.from(u)}else"binary"===r?e=n.from(t):console.info("SafeBuffer.from unknown encoding: "+r);return e}var l,f=t.byteLength?t.byteLength:t.length;if(f)return t instanceof ArrayBuffer&&(l=new Uint8Array(t)),n.from(l||t)},alloc:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n.from(new Uint8Array(Array.from({length:e},(function(){return t}))))},allocUnsafe:function(e){return n.from(new Uint8Array(Array.from({length:e})))},concat:function(e){if(!Array.isArray(e))throw new TypeError("First argument must be Array containing ArrayBuffer or Uint8Array instances.");return n.from(e.reduce((function(e,t){return e.concat(Array.from(t))}),[]))}}),t.prototype.from=t.from,t.prototype.toString=n.prototype.toString,e.exports=t}))(i,"./buffer"),i((function(e){var t=i("./root"),n={Buffer:i("./buffer")},r={};if(JSON.parseAsync=JSON.parseAsync||function(e,t,n){try{t(undefined,JSON.parse(e,n))}catch(e){t(e)}},JSON.stringifyAsync=JSON.stringifyAsync||function(e,t,n,r){try{t(undefined,JSON.stringify(e,n,r))}catch(e){t(e)}},n.parse=function(e,t){return new Promise((function(n,r){JSON.parseAsync(e,(function(e,t){e?r(e):n(t)}),t)}))},n.stringify=function(e,t,n){return new Promise((function(r,i){JSON.stringifyAsync(e,(function(e,t){e?i(e):r(t)}),t,n)}))},t.window&&(n.crypto=window.crypto||window.msCrypto,n.subtle=(n.crypto||r).subtle||(n.crypto||r).webkitSubtle,n.TextEncoder=window.TextEncoder,n.TextDecoder=window.TextDecoder,n.random=function(e){return n.Buffer.from(n.crypto.getRandomValues(new Uint8Array(n.Buffer.alloc(e))))}),!n.TextDecoder){var o=i((undefined+""==d(a)?".":"")+"./lib/text-encoding",1),c=o.TextEncoder;n.TextDecoder=o.TextDecoder,n.TextEncoder=c}if(!n.crypto)try{var s=i("crypto",1);h(n,{crypto:s,random:function(e){return n.Buffer.from(s.randomBytes(e))}});var u=i("@peculiar/webcrypto",1);n.ossl=n.subtle=new(0,u.Crypto)({directory:"ossl"}).subtle}catch(e){console.log("Please `npm install @peculiar/webcrypto` or add it to your package.json !")}e.exports=n}))(i,"./shim"),i((function(e){var t=i("./root"),n=i("./shim"),r={pbkdf2:{hash:{name:"SHA-256"},iter:1e5,ks:64},ecdsa:{pair:{name:"ECDSA",namedCurve:"P-256"},sign:{name:"ECDSA",hash:{name:"SHA-256"}}},ecdh:{name:"ECDH",namedCurve:"P-256"},jwk:function(e,t){var n={kty:"EC",crv:"P-256",x:(e=e.split("."))[0],y:e[1],ext:!0};return n.key_ops=t?["sign"]:["verify"],t&&(n.d=t),n},keyToJwk:function(e){return{kty:"oct",k:e.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,""),ext:!1,alg:"A256GCM"}},recall:{validity:43200,hook:function(e){return e}},check:function(e){return"string"==typeof e&&"SEA{"===e.slice(0,4)}};r.parse=function(){var e=u((function*(e){try{var t="string"==typeof e;return t&&"SEA{"===e.slice(0,4)&&(e=e.slice(3)),t?yield n.parse(e):e}catch(e){}return e}));return function(t){return e.apply(this,arguments)}}(),t.opt=r,e.exports=r}))(i,"./settings"),i((function(e){var t=i("./shim");e.exports=function(){var e=u((function*(e,n){var r="string"==typeof e?e:yield t.stringify(e),i=yield t.subtle.digest({name:n||"SHA-256"},(new t.TextEncoder).encode(r));return t.Buffer.from(i)}));return function(t,n){return e.apply(this,arguments)}}()}))(i,"./sha256"),i((function(e){var t=i("./shim"),n=t.ossl?t.ossl:t.subtle;e.exports=function(e){return n.digest({name:"SHA-1"},new ArrayBuffer(e))}}))(i,"./sha1"),i((function(e){var t=i("./root"),n=i("./shim"),r=i("./settings"),o=i("./sha256");t.work=t.work||function(){var e=u((function*(e,i,a,c){try{var s=(i||{}).epub||i;if(c=c||{},s instanceof Function&&(a=s,s=undefined),e="string"==typeof e?e:yield n.stringify(e),"sha"===(c.name||"").toLowerCase().slice(0,3)){var u=n.Buffer.from(yield o(e,c.name),"binary").toString(c.encode||"base64");if(a)try{a(u)}catch(e){console.log(e)}return u}s=s||n.random(9);var l=yield(n.ossl||n.subtle).importKey("raw",(new n.TextEncoder).encode(e),{name:c.name||"PBKDF2"},!1,["deriveBits"]),f=yield(n.ossl||n.subtle).deriveBits({name:c.name||"PBKDF2",iterations:c.iterations||r.pbkdf2.iter,salt:(new n.TextEncoder).encode(c.salt||s),hash:c.hash||r.pbkdf2.hash},l,c.length||8*r.pbkdf2.ks);e=n.random(e.length);var p=n.Buffer.from(f,"binary").toString(c.encode||"base64");if(a)try{a(p)}catch(e){console.log(e)}return p}catch(e){if(console.log(e),t.err=e,t.throw)throw e;return void(a&&a())}}));return function(t,n,r,i){return e.apply(this,arguments)}}(),e.exports=t.work}))(i,"./work"),i((function(e){var t=i("./root"),n=i("./shim");i("./settings");t.name=t.name||function(){var e=u((function*(e){try{if(e)try{e()}catch(e){console.log(e)}return}catch(n){if(console.log(n),t.err=n,t.throw)throw n;return void(e&&e())}}));return function(t,n){return e.apply(this,arguments)}}(),t.pair=t.pair||function(){var e=u((function*(e){try{var r=n.ossl||n.subtle,i=yield n.subtle.generateKey({name:"ECDSA",namedCurve:"P-256"},!0,["sign","verify"]).then(function(){var e=u((function*(e){var t={};t.priv=(yield n.subtle.exportKey("jwk",e.privateKey)).d;var r=yield n.subtle.exportKey("jwk",e.publicKey);return t.pub=r.x+"."+r.y,t}));return function(t){return e.apply(this,arguments)}}());try{var o=yield r.generateKey({name:"ECDH",namedCurve:"P-256"},!0,["deriveKey"]).then(function(){var e=u((function*(e){var t={};t.epriv=(yield r.exportKey("jwk",e.privateKey)).d;var n=yield r.exportKey("jwk",e.publicKey);return t.epub=n.x+"."+n.y,t}));return function(t){return e.apply(this,arguments)}}())}catch(e){if(t.window)throw e;if("Error: ECDH is not a supported algorithm"!=e)throw e;console.log("Ignoring ECDH...")}var a={pub:i.pub,priv:i.priv,epub:(o=o||{}).epub,epriv:o.epriv};if(e)try{e(a)}catch(e){console.log(e)}return a}catch(n){if(console.log(n),t.err=n,t.throw)throw n;return void(e&&e())}}));return function(t,n){return e.apply(this,arguments)}}(),e.exports=t.pair}))(i,"./pair"),i((function(e){var t,n=i("./root"),r=i("./shim"),o=i("./settings"),a=i("./sha256");n.sign=n.sign||function(){var e=u((function*(e,i,c,s){try{if(s=s||{},!(i||s).priv){if(!n.I)throw"No signing key.";i=yield n.I(null,{what:e,how:"sign",why:s.why})}if(t===e)throw"`undefined` not allowed.";var u=yield o.parse(e),l=s.check=s.check||u;if(n.verify&&(n.opt.check(l)||l&&l.s&&l.m)&&t!==(yield n.verify(l,i))){var f=yield o.parse(l);if(s.raw||(f="SEA"+(yield r.stringify(f))),c)try{c(f)}catch(e){console.log(e)}return f}var p=o.jwk(i.pub,i.priv),h=yield a(u),d=yield(r.ossl||r.subtle).importKey("jwk",p,{name:"ECDSA",namedCurve:"P-256"},!1,["sign"]).then((function(e){return(r.ossl||r.subtle).sign({name:"ECDSA",hash:{name:"SHA-256"}},e,new Uint8Array(h))}));f={m:u,s:r.Buffer.from(d,"binary").toString(s.encode||"base64")};if(s.raw||(f="SEA"+(yield r.stringify(f))),c)try{c(f)}catch(e){console.log(e)}return f}catch(e){if(console.log(e),n.err=e,n.throw)throw e;return void(c&&c())}}));return function(t,n,r,i){return e.apply(this,arguments)}}(),e.exports=n.sign}))(i,"./sign"),i((function(e){var t,n=i("./root"),r=i("./shim"),o=i("./settings"),a=i("./sha256");n.verify=n.verify||function(){var e=u((function*(e,i,c,s){try{var u=yield o.parse(e);if(!1===i){var l=yield o.parse(u.m);if(c)try{c(l)}catch(e){console.log(e)}return l}s=s||{};var f,p,h,d=i.pub||i,g=n.opt.slow_leak?yield n.opt.slow_leak(d):yield(r.ossl||r.subtle).importKey("jwk",o.jwk(d),{name:"ECDSA",namedCurve:"P-256"},!1,["verify"]),m=yield a(u.m);try{if(f=r.Buffer.from(u.s,s.encode||"base64"),p=new Uint8Array(f),!(h=yield(r.ossl||r.subtle).verify({name:"ECDSA",hash:{name:"SHA-256"}},g,p,new Uint8Array(m))))throw"Signature did not match."}catch(t){if(n.opt.fallback)return yield n.opt.fall_verify(e,i,c,s)}var y=h?yield o.parse(u.m):t;if(c)try{c(y)}catch(e){console.log(e)}return y}catch(e){if(console.log(e),n.err=e,n.throw)throw e;return void(c&&c())}}));return function(t,n,r,i){return e.apply(this,arguments)}}(),e.exports=n.verify;var c={},s=(n.opt.slow_leak=function(e){if(c[e])return c[e];var t=o.jwk(e);return c[e]=(r.ossl||r.subtle).importKey("jwk",t,{name:"ECDSA",namedCurve:"P-256"},!1,["verify"]),c[e]},n.opt);n.opt.fall_verify=function(){var e=u((function*(e,i,c,u,l){if(l===n.opt.fallback)throw"Signature did not match";l=l||1;var f=e||"";e=n.opt.unpack(e)||e;var p,h,d,g=yield o.parse(e),m=i.pub||i,y=yield n.opt.slow_leak(m),v=l<=n.opt.fallback?r.Buffer.from(yield r.subtle.digest({name:"SHA-256"},(new r.TextEncoder).encode(yield o.parse(g.m)))):yield a(g.m);try{if(p=r.Buffer.from(g.s,u.encode||"base64"),h=new Uint8Array(p),!(d=yield(r.ossl||r.subtle).verify({name:"ECDSA",hash:{name:"SHA-256"}},y,h,new Uint8Array(v))))throw"Signature did not match."}catch(e){try{p=r.Buffer.from(g.s,"utf8"),h=new Uint8Array(p),d=yield(r.ossl||r.subtle).verify({name:"ECDSA",hash:{name:"SHA-256"}},y,h,new Uint8Array(v))}catch(e){if(!d)throw"Signature did not match."}}var b=d?yield o.parse(g.m):t;if(s.fall_soul=f["#"],s.fall_key=f["."],s.fall_val=e,s.fall_state=f[">"],c)try{c(b)}catch(e){console.log(e)}return b}));return function(t,n,r,i,o){return e.apply(this,arguments)}}(),n.opt.fallback=2}))(i,"./verify"),i((function(e){var t=i("./shim"),n=i("./settings"),r=i("./sha256"),o=function(){var e=u((function*(e,i,o){o=o||{};var a=e+(i||t.random(8)).toString("utf8"),c=t.Buffer.from(yield r(a),"binary"),s=n.keyToJwk(c);return yield t.subtle.importKey("jwk",s,{name:"AES-GCM"},!1,["encrypt","decrypt"])}));return function(t,n,r){return e.apply(this,arguments)}}();e.exports=o}))(i,"./aeskey"),i((function(e){var t=i("./root"),n=i("./shim"),r=(i("./settings"),i("./aeskey"));t.encrypt=t.encrypt||function(){var e=u((function*(e,i,o,a){try{a=a||{};var c=(i||a).epriv||i;if(undefined===e)throw"`undefined` not allowed.";if(!c){if(!t.I)throw"No encryption key.";c=(i=yield t.I(null,{what:e,how:"encrypt",why:a.why})).epriv||i}var s="string"==typeof e?e:yield n.stringify(e),u={s:n.random(9),iv:n.random(15)},l=yield r(c,u.s,a).then((function(e){return n.subtle.encrypt({name:a.name||"AES-GCM",iv:new Uint8Array(u.iv)},e,(new n.TextEncoder).encode(s))})),f={ct:n.Buffer.from(l,"binary").toString(a.encode||"base64"),iv:u.iv.toString(a.encode||"base64"),s:u.s.toString(a.encode||"base64")};if(a.raw||(f="SEA"+(yield n.stringify(f))),o)try{o(f)}catch(e){console.log(e)}return f}catch(e){if(console.log(e),t.err=e,t.throw)throw e;return void(o&&o())}}));return function(t,n,r,i){return e.apply(this,arguments)}}(),e.exports=t.encrypt}))(i,"./encrypt"),i((function(e){var t=i("./root"),n=i("./shim"),r=i("./settings"),o=i("./aeskey");t.decrypt=t.decrypt||function(){var e=u((function*(e,i,a,c){try{c=c||{};var s=(i||c).epriv||i;if(!s){if(!t.I)throw"No decryption key.";s=(i=yield t.I(null,{what:e,how:"decrypt",why:c.why})).epriv||i}var u,l,f,p=yield r.parse(e);try{u=n.Buffer.from(p.s,c.encode||"base64"),l=n.Buffer.from(p.iv,c.encode||"base64"),f=n.Buffer.from(p.ct,c.encode||"base64");var h=yield o(s,u,c).then((function(e){return n.subtle.decrypt({name:c.name||"AES-GCM",iv:new Uint8Array(l),tagLength:128},e,new Uint8Array(f))}))}catch(n){if("utf8"===c.encode)throw"Could not decrypt";if(t.opt.fallback)return c.encode="utf8",yield t.decrypt(e,i,a,c)}var d=yield r.parse(new n.TextDecoder("utf8").decode(h));if(a)try{a(d)}catch(e){console.log(e)}return d}catch(e){if(console.log(e),t.err=e,t.throw)throw e;return void(a&&a())}}));return function(t,n,r,i){return e.apply(this,arguments)}}(),e.exports=t.decrypt}))(i,"./decrypt"),i((function(e){var t=i("./root"),n=i("./shim");i("./settings");t.secret=t.secret||function(){var e=u((function*(e,i,o,a){try{if(a=a||{},!i||!i.epriv||!i.epub){if(!t.I)throw"No secret mix.";i=yield t.I(null,{what:e,how:"secret",why:a.why})}var c=i.epub,s=i.epriv,f=n.ossl||n.subtle,p=r(e.epub||e),d=h({public:yield f.importKey.apply(f,l(p).concat([!0,[]]))},{name:"ECDH",namedCurve:"P-256"}),g=r(c,s),m=yield f.importKey.apply(f,l(g).concat([!1,["deriveBits"]])).then(function(){var e=u((function*(e){var t=yield f.deriveBits(d,e,256),n=new Uint8Array(t),r=yield f.importKey("raw",n,{name:"AES-GCM",length:256},!0,["encrypt","decrypt"]);return f.exportKey("jwk",r).then((function(e){return e.k}))}));return function(t){return e.apply(this,arguments)}}()),y=m;if(o)try{o(y)}catch(e){console.log(e)}return y}catch(e){if(console.log(e),t.err=e,t.throw)throw e;return void(o&&o())}}));return function(t,n,r,i){return e.apply(this,arguments)}}();var r=function(e,t){var n=c(e.split("."),2);return["jwk",h(t?{d:t}:{},{x:n[0],y:n[1],kty:"EC",crv:"P-256",ext:!0}),{name:"ECDH",namedCurve:"P-256"}]};e.exports=t.secret}))(i,"./secret"),i((function(e){var t=i("./root");t.certify=t.certify||function(){var e=u((function*(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};try{if(console.log("SEA.certify() is an early experimental community supported method that may change API behavior without warning in any future version."),e=function(){var t=[];if(e){if(("string"==typeof e||Array.isArray(e))&&e.indexOf("*")>-1)return"*";if("string"==typeof e)return e;if(Array.isArray(e)){if(1===e.length&&e[0])return"object"===d(e[0])&&e[0].pub?e[0].pub:"string"==typeof e[0]?e[0]:null;e.map((function(e){"string"==typeof e?t.push(e):"object"===d(e)&&e.pub&&t.push(e.pub)}))}return"object"===d(e)&&e.pub?e.pub:t.length>0?t:null}}(),!e)return console.log("No certificant found.");var c=!a.expiry||"number"!=typeof a.expiry&&"string"!=typeof a.expiry?null:parseFloat(a.expiry),s=(n||{}).read?n.read:null,u=(n||{}).write?n.write:"string"==typeof n||Array.isArray(n)||n["+"]||n["#"]||n["."]||n["="]||n["*"]||n[">"]||n["<"]?n:null,l=(a||{}).block||(a||{}).blacklist||(a||{}).ban||{},f=l.read&&("string"==typeof l.read||(l.read||{})["#"])?l.read:null,p="string"==typeof l?l:l.write&&("string"==typeof l.write||l.write["#"])?l.write:null;if(!s&&!u)return console.log("No policy found.");var h=JSON.stringify(o(o(o(o(o({c:e},c?{e:c}:{}),s?{r:s}:{}),u?{w:u}:{}),f?{rb:f}:{}),p?{wb:p}:{})),g=yield t.sign(h,r,null,{raw:1}),m=g;if(a.raw||(m="SEA"+JSON.stringify(m)),i)try{i(m)}catch(e){console.log(e)}return m}catch(e){if(t.err=e,t.throw)throw e;return void(i&&i())}}));return function(t){return e.apply(this,arguments)}}(),e.exports=t.certify}))(i,"./certify"),i((function(e){var t=i("./shim"),n=i("./root");n.work=i("./work"),n.sign=i("./sign"),n.verify=i("./verify"),n.encrypt=i("./encrypt"),n.decrypt=i("./decrypt"),n.certify=i("./certify"),n.random=n.random||t.random,n.Buffer=n.Buffer||i("./buffer"),n.keyid=n.keyid||function(){var e=u((function*(e){try{var n=t.Buffer.concat(e.replace(/-/g,"+").replace(/_/g,"/").split(".").map((function(e){return t.Buffer.from(e,"base64")}))),r=t.Buffer.concat([t.Buffer.from([153,n.length/256,n.length%256]),n]),i=yield sha1hash(r),o=t.Buffer.from(i,"binary");return o.toString("hex",o.length-8)}catch(e){throw console.log(e),e}}));return function(t){return e.apply(this,arguments)}}(),((n.window||{}).GUN||{}).SEA=n,e.exports=n}))(i,"./sea"),i((function(e){function t(){this._={$:this}}function n(){return r.state().toString(36).replace(".","")}var r,o=i("./sea");r=o.window?o.window.GUN||{chain:{}}:i((undefined+""==d(a)?".":"")+"./gun",1),o.GUN=r,(t.prototype=function(){function e(){}return e.prototype=r.chain,new e}()).constructor=t,r.chain.user=function(e){var r,i=this.back(-1);if(e)return e=o.opt.pub((e._||"")["#"])||e,i.get("~"+e);if(r=i.back("user"))return r;var a=i=i._,c=a.opt.uuid||n;return(a=(r=a.user=this.chain(new t))._).opt={},a.opt.uuid=function(e){var t=c(),n=i.user;return n&&(n=n.is)&&(n=n.pub)?(t="~"+n+"/"+t,e&&e.call&&e(null,t),t):t},r},r.User=t,t.GUN=r,t.SEA=r.SEA=o,e.exports=t}))(i,"./user"),i((function(){var e;(""+e!=("undefined"==typeof window?"undefined":d(window))?window.Gun||{chain:{}}:i((""+e===d(a)?".":"")+"./gun",1)).chain.then=function(e,t){var n=this,r=new Promise((function(e){n.once(e,t)}));return e?r.then(e):r}}))(i,"./then"),i((function(){var e=i("./user"),t=e.SEA,n=e.GUN,r=function(){};e.prototype.create=function(){for(var e=arguments.length,i=new Array(e),o=0;o<e;o++)i[o]=arguments[o];var a,c="object"===d(i[0])&&(i[0].pub||i[0].epub)?i[0]:"object"===d(i[1])&&(i[1].pub||i[1].epub)?i[1]:null,s=c&&(c.pub||c.epub)?c.pub:"string"==typeof i[0]?i[0]:null,u=c&&(c.pub||c.epub)?c:s&&"string"==typeof i[1]?i[1]:null,l=i.filter((function(e){return"function"==typeof e}))[0]||null,f=i&&i.length>1&&"object"===d(i[i.length-1])?i[i.length-1]:{},p=this,h=p._,g=p.back(-1);if((l=l||r,!1!==(f=f||{}).check)&&(s||(a="No user."),(u||"").length<8&&(a="Password too short!"),a))return l({err:n.log(a)}),p;if(h.ing)return(l||r)({err:n.log("User is already being created or authenticated!"),wait:!0}),p;h.ing=!0;var m={};return m.a=function(e){if(m.pubs=e,e&&!f.already){var i={err:n.log("User already created!")};return h.ing=!1,(l||r)(i),void p.leave()}m.salt=String.random(64),t.work(u,m.salt,m.b)},m.b=function(e){m.proof=e,c?m.c(c):t.pair(m.c)},m.c=function(e){var t;m.pair=e||{},(t=h.root.user)&&(t._.sea=e,t.is={pub:e.pub,epub:e.epub,alias:s}),m.data={pub:e.pub},m.d()},m.d=function(){m.data.alias=s,m.e()},m.e=function(){m.data.epub=m.pair.epub,t.encrypt({priv:m.pair.priv,epriv:m.pair.epriv},m.proof,m.f,{raw:1})},m.f=function(e){m.data.auth=JSON.stringify({ek:e,s:m.salt}),m.g(m.data.auth)},m.g=function(e){var t;m.data.auth=m.data.auth||e,g.get(t="~"+m.pair.pub).put(m.data).on(m.h);var n={};n[t]={"#":t},g.get("~@"+s).put(n).get(t).on(m.i)},m.h=function(e,t,n,r){r.off(),m.h.ok=1,m.i()},m.i=function(e,t,n,i){i&&(m.i.ok=1,i.off()),m.h.ok&&m.i.ok&&(h.ing=!1,l({ok:0,pub:m.pair.pub}),r===l&&(c?p.auth(c):p.auth(s,u)))},g.get("~@"+s).once(m.a),p},e.prototype.leave=function(){var e=this.back(-1)._.user;if(e&&(delete e.is,delete e._.is,delete e._.sea),t.window)try{var n={};delete(n=window.sessionStorage).recall,delete n.pair}catch(e){}return this}}))(i,"./create"),i((function(){function e(e){if("string"!=typeof e)return e;try{e=JSON.parse(e)}catch(t){e={}}return e}var t=i("./user"),n=t.SEA,r=t.GUN,o=function(){};t.prototype.auth=function(){for(var t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];var c="object"===d(i[0])&&(i[0].pub||i[0].epub)?i[0]:"object"===d(i[1])&&(i[1].pub||i[1].epub)?i[1]:null,s=c||"string"!=typeof i[0]?null:i[0],u=!s&&(!c||c.priv&&c.epriv)||"string"!=typeof i[1]?null:i[1],l=i.filter((function(e){return"function"==typeof e}))[0]||null,f=i&&i.length>1&&"object"===d(i[i.length-1])?i[i.length-1]:{},p=this,h=p._,g=p.back(-1);if(h.ing)return(l||o)({err:r.log("User is already being created or authenticated!"),wait:!0}),p;h.ing=!0;var m,y={};return y.a=function(e){if(!e)return y.b();if(!e.pub){var t=[];return Object.keys(e).forEach((function(n){"_"!=n&&t.push(e[n])})),y.b(t)}if(y.name)return y.f(e);y.c((y.data=e).auth)},y.b=function(e){var t=(y.list=(y.list||[]).concat(e||[])).shift();if(m===t)return y.err(y.name?"Your user account is not published for dApps to access, please consider syncing it online, or allowing local access by adding your device as a peer.":"Wrong user or password.");g.get(t).once(y.a)},y.c=function(t){return m===t?y.b():"string"==typeof t?y.c(e(t)):void n.work(u,(y.auth=t).s,y.d,y.enc)},y.d=function(e){n.decrypt(y.auth.ek,e,y.e,y.enc)},y.e=function(e){if(m===e)return y.enc?(y.enc=null,y.b()):(y.enc={encode:"utf8"},y.c(y.auth));y.half=e,y.f(y.data)},y.f=function(e){var t=y.half||{},n=y.data||{};y.g(y.lol={pub:e.pub||n.pub,epub:e.epub||n.epub,priv:e.priv||t.priv,epriv:e.epriv||t.epriv})},y.g=function(t){if(!t||!t.pub||!t.epub)return y.b();y.pair=t;var i=g._.user,a=i._,c=a.opt;(a=i._=g.get("~"+t.pub)._).opt=c,i.is={pub:t.pub,epub:t.epub,alias:s||t.pub},a.sea=y.pair,h.ing=!1;try{u&&m==(e(h.root.graph["~"+t.pub].auth)||"")[":"]&&(f.shuffle=f.change=u)}catch(e){}if(f.change?y.z():(l||o)(a),n.window&&(p.back("user")._.opt||f).remember)try{var d={};(d=window.sessionStorage).recall=!0,d.pair=JSON.stringify(t)}catch(e){}try{g._.tag.auth?g._.on("auth",a):setTimeout((function(){g._.on("auth",a)}),1)}catch(e){r.log("Your 'auth' callback crashed with:",e)}},y.h=function(e){return e?((s=e.alias)||(s=e.alias="~"+c.pub),e.auth?(c=null,void y.c((y.data=e).auth)):y.g(c)):y.b()},y.z=function(){y.salt=String.random(64),n.work(f.change,y.salt,y.y)},y.y=function(e){n.encrypt({priv:y.pair.priv,epriv:y.pair.epriv},e,y.x,{raw:1})},y.x=function(e){y.w(JSON.stringify({ek:e,s:y.salt}))},y.w=function(e){if(f.shuffle){console.log("migrate core account from UTF8 & shuffle");var t={};Object.keys(y.data).forEach((function(e){t[e]=y.data[e]})),delete t._,t.auth=e,g.get("~"+y.pair.pub).put(t)}g.get("~"+y.pair.pub).get("auth").put(e,l||o)},y.err=function(e){var t={err:r.log(e||"User cannot be found!")};h.ing=!1,(l||o)(t)},y.plugin=function(e){if(!(y.name=e))return y.err();var t=[e];"~"!==e[0]&&(t[1]="~"+e,t[2]="~@"+e),y.b(t)},c?c.priv&&c.epriv?y.g(c):g.get("~"+c.pub).once(y.h):s?g.get("~@"+s).once(y.a):s||u||n.name(y.plugin),p}}))(i,"./auth"),i((function(){var e=i("./user"),t=e.SEA;e.prototype.recall=function(e,n){var r=this,i=r.back(-1);if((e=e||{})&&e.sessionStorage){if(t.window)try{var o;(o=window.sessionStorage)&&(i._.opt.remember=!0,(r.back("user")._.opt||e).remember=!0,(o.recall||o.pair)&&i.user().auth(JSON.parse(o.pair),n))}catch(e){}return r}return r}}))(i,"./recall"),i((function(e){var t=i("./user"),n=t.SEA,r=t.GUN,o=function(){};t.prototype.pair=function(){var e,t=this;try{e=new Proxy({DANGER:"☠"},{get:function(e,n){if(t.is&&(t._||"").sea)return t._.sea[n]}})}catch(e){}return e},t.prototype.delete=function(){var e=u((function*(e,t,n){console.log("user.delete() IS DEPRECATED AND WILL BE MOVED TO A MODULE!!!");var i=this,a=(i.back(-1),i.back("user"));try{a.auth(e,t,(function(){a.map().once((function(){this.put(null)})),a.leave(),(n||o)({ok:0})}))}catch(e){r.log("User.delete failed! Error:",e)}return i}));return function(t,n,r){return e.apply(this,arguments)}}(),t.prototype.alive=u((function*(){console.log("user.alive() IS DEPRECATED!!!");var e=this.back(-1);try{return yield authRecall(e),e._.user._}catch(e){var t="No session!";throw r.log(t),{err:t}}})),t.prototype.trust=function(){var e=u((function*(e){console.log("`.trust` API MAY BE DELETED OR CHANGED OR RENAMED, DO NOT USE!"),r.is(e)&&e.get("pub").get((function(e,t){console.log(e,t)})),e.get("trust").get(path).put(theirPubkey)}));return function(t){return e.apply(this,arguments)}}(),t.prototype.grant=function(e,t){console.log("`.grant` API MAY BE DELETED OR CHANGED OR RENAMED, DO NOT USE!");var r=this,i=r.back(-1).user(),o=i._.sea,a="";return r.back((function(e){e.is||(a+=e.get||"")})),u((function*(){var r,c=yield i.get("grant").get(o.pub).get(a).then();(c=yield n.decrypt(c,o))||(c=n.random(16).toString(),r=yield n.encrypt(c,o),i.get("grant").get(o.pub).get(a).put(r));var s=e.get("pub").then(),u=e.get("epub").then();s=yield s,u=yield u;var l=yield n.secret(u,o);r=yield n.encrypt(c,l),i.get("grant").get(s).get(a).put(r,t)}))(),r},t.prototype.secret=function(e,t){console.log("`.secret` API MAY BE DELETED OR CHANGED OR RENAMED, DO NOT USE!");var r=this,i=r.back(-1).user(),o=i.pair(),a="";return r.back((function(e){e.is||(a+=e.get||"")})),u((function*(){var c,s=yield i.get("trust").get(o.pub).get(a).then();(s=yield n.decrypt(s,o))||(s=n.random(16).toString(),c=yield n.encrypt(s,o),i.get("trust").get(o.pub).get(a).put(c)),c=yield n.encrypt(e,s),r.put(c,t)}))(),r},e.exports=t}))(i,"./share"),i((function(){function e(t){var r,i=this,a=i.as,c=t.put,s=c["#"],u=c["."],l=c[":"],f=c[">"],p=t["#"];if(s&&u)if((t._||"").faith&&(a.opt||"").faith&&"function"==typeof t._)n.opt.pack(c,(function(e){n.verify(e,!1,(function(e){c["="]=n.opt.unpack(e),i.to.next(t)}))}));else{var h=function(e){a.on("in",{"@":p,err:t.err=e})};(t._||"").DBG&&((t._||"").DBG.c=+new Date),0<=s.indexOf("<?")&&(r=parseFloat(s.split("<?")[1]||""))&&f<o.state()-1e3*r?(r=t._)&&r.stun&&r.stun--:"~@"!==s?"~@"!==s.slice(0,2)?(r=n.opt.pub(s))?e.pub(i,t,l,u,s,a,h,a.user||"",r):0<=s.indexOf("#")?e.hash(i,t,l,u,s,a,h):e.any(i,t,l,u,s,a,h,a.user||""):e.pubs(i,t,l,u,s,a,h):e.alias(i,t,l,u,s,a,h)}}var t,n=i("./sea"),r=i("./settings"),o=""+t!=("undefined"==typeof window?"undefined":d(window))?window.Gun||{on:function(){}}:i((""+t===d(a)?".":"")+"./gun",1);o.on("opt",(function(t){t.sea||(t.sea={own:{}},t.on("put",e,t)),this.to.next(t)})),e.hash=function(e,t,r,i,o,a,c){n.work(r,null,(function(n){if(n&&n===i.split("#").slice(-1)[0])return e.to.next(t);c("Data hash not same as hash!")}),{name:"SHA-256"})},e.alias=function(e,t,n,r,i,o,a){return n?"~@"+r===s(n)?e.to.next(t):void a("Alias not same!"):a("Data must exist!")},e.pubs=function(e,t,n,r,i,o,a){return n?r===s(n)?e.to.next(t):void a("Alias not same!"):a("Alias must exist!")},e.pub=function(){var e=u((function*(e,i,a,c,l,p,h,g,m){var y,v=(yield r.parse(a))||{},b=function(r,a,s){if(r.m&&r.s&&a&&m)return n.verify(r,m,(function(n){if(t!==n&&t!==n.e&&i.put[">"]&&i.put[">"]>parseFloat(n.e))return h("Certificate expired.");if(t!==n&&n.c&&n.w&&(n.c===a||n.c.indexOf("*")>-1)){var r=l.indexOf("/")>-1?l.replace(l.substring(0,l.indexOf("/")+1),""):"";String.match=String.match||o.text.match;var u,p=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=f(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw o}}}}(Array.isArray(n.w)?n.w:"object"===d(n.w)||"string"==typeof n.w?[n.w]:[]);try{for(p.s();!(u=p.n()).done;){var g=u.value;if(String.match(r,g["#"])&&String.match(c,g["."])||!g["."]&&String.match(r,g["#"])||!g["#"]&&String.match(c,g["."])||String.match(r?r+"/"+c:c,g["#"]||g)){if(g["+"]&&g["+"].indexOf("*")>-1&&r&&-1==r.indexOf(a)&&-1==c.indexOf(a))return h('Path "'.concat(r,'" or key "').concat(c,'" must contain string "').concat(a,'".'));if(n.wb&&("string"==typeof n.wb||(n.wb||{})["#"])){var y=e.as.root.$.back(-1);return"string"==typeof n.wb&&"~"!==n.wb.slice(0,1)&&(y=y.get("~"+m)),y.get(n.wb).get(a).once((function(e){return!e||1!==e&&!0!==e?s(n):h("Certificant ".concat(a," blocked."))}))}return s(n)}}}catch(e){p.e(e)}finally{p.f()}return h("Certificate verification fail.")}}))};if("pub"===c&&"~"+m===l)return a===m?e.to.next(i):h("Account not same!");(y=g.is)&&y.pub&&!v["*"]&&!v["+"]&&(m===y.pub||m!==y.pub&&((i._.msg||{}).opt||{}).cert)?n.opt.pack(i.put,(function(o){n.sign(o,g._.sea,function(){var o=u((function*(o){if(t===o)return h(n.err||"Signature fail.");if(i.put[":"]={":":y=n.opt.unpack(o.m),"~":o.s},i.put["="]=y,m===g.is.pub)return(y=s(a))&&((p.sea.own[y]=p.sea.own[y]||{})[m]=1),void JSON.stringifyAsync(i.put[":"],(function(t,n){return t?h(t||"Stringify error."):(i.put[":"]=n,e.to.next(i))}));if(m!==g.is.pub&&((i._.msg||{}).opt||{}).cert){var c=yield r.parse(i._.msg.opt.cert);c&&c.m&&c.s&&b(c,g.is.pub,(function(){i.put[":"]["+"]=c,i.put[":"]["*"]=g.is.pub,JSON.stringifyAsync(i.put[":"],(function(t,n){return t?h(t||"Stringify error."):(i.put[":"]=n,e.to.next(i))}))}))}}));return function(e){return o.apply(this,arguments)}}(),{raw:1})})):n.opt.pack(i.put,(function(r){n.verify(r,v["*"]||m,(function(r){var o;return r=n.opt.unpack(r),t===r?h("Unverified data."):((o=s(r))&&m===n.opt.pub(o)&&((p.sea.own[o]=p.sea.own[o]||{})[m]=1),v["+"]&&v["+"].m&&v["+"].s&&v["*"]?void b(v["+"],v["*"],(function(){return i.put["="]=r,e.to.next(i)})):(i.put["="]=r,e.to.next(i)))}))}))}));return function(t,n,r,i,o,a,c,s,u){return e.apply(this,arguments)}}(),e.any=function(e,t,n,r,i,o,a){if(o.opt.secure)return a("Soul missing public key at '"+r+"'.");o.on("secure",(function(t){if(this.off(),!o.opt.secure)return e.to.next(t);a("Data cannot be changed.")})).on.on("secure",t)};var c=o.valid,s=function(e,t){return"string"==typeof(t=c(e))&&t},l=/[^\w_-]/;n.opt.pub=function(e){if(e&&(e=e.split("~"))&&(e=e[1])&&(e=e.split(l).slice(0,2))&&2==e.length&&"@"!==(e[0]||"")[0])return e=e.slice(0,2).join(".")},n.opt.stringy=function(){},n.opt.pack=function(e,r,i,a,c){var s,u;if(n.opt.check(e))return r(e);e&&e["#"]&&e["."]&&e[">"]&&(s=e[":"],u=1),JSON.parseAsync(u?s:e,(function(n,s){var u=t!==(s||"")[":"]&&(s||"")["~"];r(u?{m:{"#":c||e["#"],".":i||e["."],":":(s||"")[":"],">":e[">"]||o.state.is(a,i)},s:u}:e)}))};var p=n.opt;n.opt.unpack=function(e,r,i){var a;if(t!==e){if(e&&t!==(a=e[":"]))return a;if(r=r||p.fall_key,!i&&p.fall_val&&((i={})[r]=p.fall_val),r&&i){if(e===i[r])return e;if(!n.opt.check(i[r]))return e;var c=i&&i._&&i._["#"]||p.fall_soul,s=o.state.is(i,r)||p.fall_state;return e&&4===e.length&&c===e[0]&&r===e[1]&&h(s)===h(e[3])?e[2]:s<n.opt.shuffle_attack?e:void 0}}},n.opt.shuffle_attack=15463296e5;var h=Math.floor}))(i,"./index")}()}).call(this,n("RoC8")(e),n("qykS").Buffer,n("pCvA"))},W0B4:function(e,t,n){e.exports=n("NS33")()},WiT8:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o,a=n("l8WD"),c=(o=a)&&"object"===r(o)&&"default"in o?o.default:o,s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){function o(){u=e(l.map((function(e){return e.props}))),f.canUseDOM?t(u):n&&(u=n(u))}if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var u,l=[],f=function(e){function t(){return e.apply(this,arguments)||this}var n,i;i=e,(n=t).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i,t.peek=function(){return u},t.rewind=function(){if(t.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=u;return u=void 0,l=[],e};var a=t.prototype;return a.UNSAFE_componentWillMount=function(){l.push(this),o()},a.componentDidUpdate=function(){o()},a.componentWillUnmount=function(){var e=l.indexOf(this);l.splice(e,1),o()},a.render=function(){return c.createElement(r,this.props)},t}(a.PureComponent);return i(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),i(f,"canUseDOM",s),f}}},WsZD:function(e,t,n){"use strict";(function(e,r){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(){return a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=c(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},a.apply(this,arguments)}function c(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return C}));var d=n("5OaP"),g=n("oeWf"),m=n("jMw0"),y=n("lBHI"),v=n("3rgF"),b=n("aKPg"),_=n("xVeL"),w=n("HEoH"),F=n("Y3FI"),k=n("qIEf"),x=n.n(k),C=function(t){function n(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return h(f(e=d.call.apply(d,[this].concat(n))),"state",m.a.DEFAULT_SETTINGS),h(f(e),"updatePeersFromGunInterval",0),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(n,t);var i,c,l,d=u(n);return i=n,(c=[{key:"componentDidMount",value:function(){var e=this;y.a.local.get("settings").on(this.sub((function(t){console.log("settings",t),t&&e.setState(t)}))),this.updatePeersFromGun(),this.updatePeersFromGunInterval=window.setInterval((function(){return e.updatePeersFromGun()}),1e3)}},{key:"componentWillUnmount",value:function(){a(p(n.prototype),"componentWillUnmount",this).call(this),window.clearInterval(this.updatePeersFromGunInterval)}},{key:"render",value:function(){var t=this;return e(r,null,e("h3",null,Object(v.c)("peers")),this.renderPeerList(),e("p",null,e("input",{type:"checkbox",checked:this.state.local.enablePublicPeerDiscovery,onChange:function(){return y.a.local.get("settings").get("enablePublicPeerDiscovery").put(!t.state.local.enablePublicPeerDiscovery)},id:"enablePublicPeerDiscovery"}),e("label",{htmlFor:"enablePublicPeerDiscovery"},Object(v.c)("enable_public_peer_discovery"))),e("h4",null,Object(v.c)("maximum_number_of_peer_connections")),e("p",null,e("input",{type:"number",value:this.state.local.maxConnectedPeers,onChange:function(e){var t=e.target;y.a.local.get("settings").get("maxConnectedPeers").put(t.value||0)}})),b.a.isElectron?e(r,null,e("h4",null,Object(v.c)("your_public_address")),e("p",null,"http://",this.state.electron.publicIp||"-",":8767/gun"),e("p",null,e("small",null,"If you're behind NAT (likely) and want to accept incoming connections, you need to configure your router to forward the port 8767 to this computer."))):"",e("h4",null,Object(v.c)("set_up_your_own_peer")),e("p",null,e("small",{dangerouslySetInnerHTML:{__html:Object(v.c)("peers_info",'href="https://github.com/amark/gun#deploy"')}})),e("p",null,e("a",{href:"https://heroku.com/deploy?template=https://github.com/mmalmi/rod"},_.a.herokuButton)))}},{key:"resetPeersClicked",value:function(){w.a.resetPeers(),this.setState({})}},{key:"removePeerClicked",value:function(e,t){w.a.removePeer(e),t&&w.a.disconnectPeer(t)}},{key:"enablePeerClicked",value:function(e,t,n){n.enabled?w.a.disablePeer(e,t):w.a.connectPeer(e)}},{key:"renderPeerList",value:function(){var t=this,n=Object.keys(w.a.getKnownPeers());return this.state.peersFromGun&&Object.keys(this.state.peersFromGun).forEach((function(e){return-1===n.indexOf(e)&&n.push(e)})),e("div",{id:"peers",class:"flex-table"},0===n.length?e("button",{id:"reset-peers",style:"margin-bottom: 15px",onClick:function(){return t.resetPeersClicked()}},Object(v.c)("restore_defaults")):"",n.map((function(n){var i=w.a.getKnownPeers()[n]||{},o=t.state.peersFromGun&&t.state.peersFromGun[n];return e("div",{class:"flex-row peer"},e("div",{class:"flex-cell"},o&&o.wire&&1==o.wire.readyState&&0===o.wire.bufferedAmount?e("span",{class:"tooltip",style:"color: var(--positive-color);margin-right:15px"},e("span",{class:"tooltiptext"},"Connected"),e("svg",{height:"14",width:"14",x:"0px",y:"0px",viewBox:"0 0 191.667 191.667"},e("path",{fill:"currentColor",d:"M95.833,0C42.991,0,0,42.99,0,95.833s42.991,95.834,95.833,95.834s95.833-42.991,95.833-95.834S148.676,0,95.833,0z M150.862,79.646l-60.207,60.207c-2.56,2.56-5.963,3.969-9.583,3.969c-3.62,0-7.023-1.409-9.583-3.969l-30.685-30.685 c-2.56-2.56-3.97-5.963-3.97-9.583c0-3.621,1.41-7.024,3.97-9.584c2.559-2.56,5.962-3.97,9.583-3.97c3.62,0,7.024,1.41,9.583,3.971 l21.101,21.1l50.623-50.623c2.56-2.56,5.963-3.969,9.583-3.969c3.62,0,7.023,1.409,9.583,3.969 C156.146,65.765,156.146,74.362,150.862,79.646z"}))):e("small",{class:"tooltip",style:"margin-right:15px"},e("span",{class:"tooltiptext"},"Disconnected"),e("svg",{width:"14",height:"14",x:"0px",y:"0px",viewBox:"0 0 512 512",fill:"currentColor"},e("path",{d:"M257,0C116.39,0,0,114.39,0,255s116.39,257,257,257s255-116.39,255-257S397.61,0,257,0z M383.22,338.79 c11.7,11.7,11.7,30.73,0,42.44c-11.61,11.6-30.64,11.79-42.44,0L257,297.42l-85.79,83.82c-11.7,11.7-30.73,11.7-42.44,0 c-11.7-11.7-11.7-30.73,0-42.44l83.8-83.8l-83.8-83.8c-11.7-11.71-11.7-30.74,0-42.44c11.71-11.7,30.74-11.7,42.44,0L257,212.58 l83.78-83.82c11.68-11.68,30.71-11.72,42.44,0c11.7,11.7,11.7,30.73,0,42.44l-83.8,83.8L383.22,338.79z"}))),n,i.from?e(r,null,e("br",null),e("small",{style:"cursor:pointer",onClick:function(){return Object(F.route)("/profile/{peer.from}")}},Object(v.c)("from")," ",e(g.a,{pub:i.from,placeholder:i.from.slice(0,6)}))):""),e("div",{class:"flex-cell no-flex"},e("button",{onClick:function(){return t.removePeerClicked(n,o)}},Object(v.c)("remove")),e("button",{onClick:function(){return t.enablePeerClicked(n,o,i)}},i.enabled?Object(v.c)("disable"):Object(v.c)("enable"))))})),e("div",{class:"flex-row",id:"add-peer-row"},e("div",{class:"flex-cell"},e("input",{type:"url",id:"add-peer-url",placeholder:Object(v.c)("peer_url")}),e("input",{type:"checkbox",id:"add-peer-public"}),e("label",{for:"add-peer-public"},Object(v.c)("public")),e("button",{id:"add-peer-btn",onClick:function(){return t.addPeerClicked()}},Object(v.c)("add")))),e("p",null,e("small",{dangerouslySetInnerHTML:{__html:Object(v.c)("public_peer_info")}})))}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"updatePeersFromGun",value:function(){var e=y.a.public.back("opt.peers")||{};this.setState({peersFromGun:e})}},{key:"addPeerClicked",value:function(){var e=x()("#add-peer-url").val(),t=x()("#add-peer-public").is(":checked")?"public":void 0;w.a.addPeer({url:e,visibility:t}),x()("#add-peer-url").val("")}}])&&o(i.prototype,c),l&&o(i,l),Object.defineProperty(i,"prototype",{writable:!1}),n}(d.a)}).call(this,n("hosL").h,n("hosL").Fragment)},Xfu8:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function o(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){function a(e){o(s,r,i,a,c,"next",e)}function c(e){o(s,r,i,a,c,"throw",e)}var s=e.apply(t,n);a(void 0)}))}}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function p(){return z}function h(e){z=e;try{localStorage.setItem("rtcConfig",JSON.stringify(z))}catch(e){}}n.d(t,"a",(function(){return N})),n.d(t,"d",(function(){return h})),n.d(t,"c",(function(){return p}));var d,g,m,y,v,b,_=n("hosL"),w=n("4Iz4"),F=n("Y3FI"),k=n("qIEf"),x=n.n(k),C=n("wCQ/"),O=n.n(C),S=n("3rgF"),j=n("jMw0"),E=n("lBHI"),A=new Audio("../../assets/audio/ring.mp3");A.loop=!0;var D,T,P,B,R,I,M=new Audio("../../assets/audio/call.mp3"),L=localStorage.getItem("rtcConfig"),N={iceServers:[{urls:["stun:turn.hepic.tel"]},{urls:["stun:stun.l.google.com:19302"]}]},z=L?JSON.parse(L):N,U=function(e){function t(){return _.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(t,e);var n,r,o,l,f,p,h,_=u(t);return n=t,r=[{key:"componentDidMount",value:function(){var e=this;E.a.local.get("activeCall").put(null),E.a.local.get("outgoingCall").put(null),E.a.local.get("incomingCall").put(null),E.a.local.get("incomingCall").on((function(t){if(t){if(e.state.activeCall)return;A.play().catch((function(){})),e.notifyIfNotVisible(t,Object(S.c)("incoming_call"))}else clearTimeout(D),A.pause(),A.currentTime=0,B&&B.close();e.setState({incomingCall:t})})),E.a.local.get("activeCall").on((function(t){e.setState({activeCall:t}),e.stopCalling()})),E.a.local.get("outgoingCall").on((function(t){t&&e.onCallUser(t),e.setState({outgoingCall:t})}))}},{key:"answerCall",value:(h=a((function*(e){E.a.local.get("incomingCall").put(null),E.a.local.get("activeCall").put(e),yield this.initConnection(!1,e)})),function(e){return h.apply(this,arguments)})},{key:"onCallMessage",value:function(e,t){if(this.stopCalling(),t&&"null"!==t&&t.time){var n=new Date(t.time);if(new Date-n>5e3)return void console.log("ignoring old call from",e);if(t.offer){if(j.a.channels[e].rejectedTime&&new Date-j.a.channels[e].rejectedTime<5e3)return void this.rejectCall(e);E.a.local.get("incomingCall").put(e),clearTimeout(D),D=setTimeout((function(){return E.a.local.get("incomingCall").put(null)}),5e3)}}else this.callClosed(e)}},{key:"notifyIfNotVisible",value:function(e,t){"visible"!==document.visibilityState&&((B=new Notification(j.a.channels[e].name,{icon:"/assets/img/icon128.png",body:t,requireInteraction:!0,silent:!0})).onclick=function(){Object(F.route)("/chat/".concat(e)),window.focus()})}},{key:"resetCalls",value:function(){E.a.local.get("outgoingCall").put(null),E.a.local.get("activeCall").put(null),E.a.local.get("incomingCall").put(null)}},{key:"callClosed",value:function(e){this.stopCalling(e),this.resetCalls(),this.state.outgoingCall?(this.stopUserMedia(e),this.notifyIfNotVisible(Object(S.c)("call_rejected"))):this.state.activeCall&&(this.stopUserMedia(e),j.a.channels[e].put("call","null"),this.notifyIfNotVisible(Object(S.c)("call_ended"))),j.a.channels[e]&&(j.a.channels[e].pc&&j.a.channels[e].pc.close(),j.a.channels[e].pc=null)}},{key:"addStreamToPeerConnection",value:(p=a((function*(e){(R=yield navigator.mediaDevices.getUserMedia({audio:!0,video:!0})).getTracks().forEach((function(t){e.addTrack(t,R)}));var t=x()("#localvideo");t[0].srcObject=R,t[0].onloadedmetadata=function(){t[0].muted=!0,t[0].play()},t.attr("disabled",!0)})),function(e){return p.apply(this,arguments)})},{key:"timeoutPlayCallSound",value:function(){T=setTimeout((function(){return M.play()}),3500)}},{key:"onCallUser",value:(f=a((function*(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.state.outgoingCall){yield this.initConnection(!0,e),console.log("calling",e);var r=function(){return j.a.channels[e].put("call",{time:(new Date).toISOString(),type:n?"video":"voice",offer:!0})};P=setInterval(r,1e3),r(),M.addEventListener("ended",(function(){return t.timeoutPlayCallSound()})),M.play(),E.a.local.get("outgoingCall").put(e)}})),function(e){return f.apply(this,arguments)})},{key:"cancelCall",value:function(e){E.a.local.get("outgoingCall").put(null),this.stopCalling(),this.stopUserMedia(e),j.a.channels[e].put("call","null"),j.a.channels[e].pc&&j.a.channels[e].pc.close(),j.a.channels[e].pc=null}},{key:"stopUserMedia",value:function(){R.getTracks().forEach((function(e){return e.stop()}))}},{key:"stopCalling",value:function(){var e=this;E.a.local.get("outgoingCall").put(null),M.pause(),M.removeEventListener("ended",(function(){return e.timeoutPlayCallSound()})),clearTimeout(T),M.currentTime=0,clearInterval(P),P=null}},{key:"endCall",value:function(e){j.a.channels[e].pc&&j.a.channels[e].pc.close(),this.stopUserMedia(e),j.a.channels[e].put("call","null"),j.a.channels[e].pc=null,E.a.local.get("activeCall").put(null)}},{key:"rejectCall",value:function(e){j.a.channels[e].rejectedTime=new Date,E.a.local.get("incomingCall").put(null),console.log("rejectCall",e,j.a.channels[e]),j.a.channels[e].put("call","null")}},{key:"initConnection",value:(l=a((function*(e,t){function n(){return r.apply(this,arguments)}function r(){return(r=a((function*(){try{if(c.isNegotiating)return;c.isNegotiating=!0;var e=yield c.pc.createOffer();c.pc.setLocalDescription(e),console.log("sending our sdp",e),c.put("sdp",{time:(new Date).toISOString(),data:e})}finally{c.isNegotiating=!1}}))).apply(this,arguments)}var i=this;console.log("initConnection",e,t),I={};var o=[],c=j.a.channels[t];c.pc=new RTCPeerConnection(z),console.log(c.pc.signalingState),yield this.addStreamToPeerConnection(c.pc),e&&(yield n()),c.onTheir("sdp",function(){var t=a((function*(t){console.log("got their sdp",t),c.pc?e&&"stable"===c.pc.signalingState?console.log(2):t.data&&t.time&&new Date(t.time).getTime()<new Date-5e3?console.log(3):(c.pc.setRemoteDescription(new RTCSessionDescription(t.data)),console.log(4)):console.log(1)}));return function(e){return t.apply(this,arguments)}}()),c.onTheir("icecandidates",(function(e){console.log("got their icecandidates",e),c.pc&&"closed"!==c.pc.signalingState&&(e.data&&e.time&&new Date(e.time).getTime()<new Date-5e3||Object.keys(e.data).forEach((function(t){-1===o.indexOf(t)&&(o.push(t),c.pc.addIceCandidate(new RTCIceCandidate(e.data[t])).then(console.log,console.error))})))})),c.pc.onicecandidate=c.pc.onicecandidate||function(e){var t=e.candidate;if(t){console.log("sending our ice candidate");var n=O.a.SEA.random(12).toString("base64");I[n]=t,c.put("icecandidates",{time:(new Date).toISOString(),data:I})}},e&&(c.pc.onnegotiationneeded=a((function*(){n()}))),c.pc.onsignalingstatechange=a((function*(){if(c.pc)switch(console.log("Signaling State Change:".concat(c.pc),c.pc.signalingState),c.pc.signalingState){case"have-remote-offer":var e=yield c.pc.createAnswer({offerToReceiveAudio:1,offerToReceiveVideo:1});c.pc.setLocalDescription(e),c.put("sdp",{time:(new Date).toISOString(),data:e});break;case"stable":i.stopCalling(),console.log("call answered by",t),E.a.local.get("activeCall").put(t);break;case"closed":console.log("Signalling state is 'closed'"),i.callClosed(t)}})),c.pc.onconnectionstatechange=function(){switch(console.log("iceConnectionState changed",c.pc.iceConnectionState),c.pc.iceConnectionState){case"connected":case"new":break;case"disconnected":case"failed":case"closed":i.callClosed(t);break;default:console.log("Change of state",c.pc.iceConnectionState)}},c.pc.ontrack=function(e){console.log("ontrack",e);var t=x()("#remotevideo");t[0].srcObject!==e.streams[0]&&(t[0].srcObject=e.streams[0],t[0].onloadedmetadata=function(){console.log("metadata loaded"),t[0].play()},console.log("received remote stream",e))}})),function(e,t){return l.apply(this,arguments)})},{key:"render",value:function(){var e=this,t=Object(w.a)(d||(d=i(['<span style="cursor:pointer;margin-left:15px;font-size:2em;position:absolute;left:0;top:0" onClick=',">","</span>"])),(function(){return e.setState({maximized:!e.state.maximized})}),this.state.maximized?"-":"+"),n=this.state.maximized?"100%":"400px",r=this.state.maximized?"100%":"400px",o=this.state.maximized?"0":"70px",a=Object(w.a)(g||(g=i(['<video id="localvideo" autoplay="true" playsinline="true" style="width:50%;max-height:60%" />']))),c=Object(w.a)(m||(m=i(['<video id="remotevideo" autoplay="true" playsinline="true" style="width:50%;max-height:60%" />'])));return this.state.activeCall?Object(w.a)(y||(y=i(['\n      <div id="active-call" style="position: fixed; right:0; bottom: ',"; height:","; width: ",'; max-width: 100%; text-align: center; background: #000; color: #fff; padding: 15px 0">\n        <div style="margin-bottom:5px;position:relative;height:50px;">\n          ',"\n          "," ","\n        </div>\n        ","\n        ",'\n        <button style="display:block;margin:15px auto" onClick=',">End call</button>\n      </div>"])),o,r,n,t,Object(S.c)("on_call_with"),j.a.channels[this.state.activeCall]&&j.a.channels[this.state.activeCall].name,a,c,(function(){return e.endCall(e.state.activeCall)})):this.state.outgoingCall?Object(w.a)(v||(v=i(['<div id="outgoing-call" style="position:fixed; right:0; bottom: ',"; height:","; width: ",'; text-align: center; background: #000; color: #fff; padding: 15px">\n        '," ","\n        <button onClick=",' style="display:block; margin: 15px auto">\n          ',"\n        </button>\n        ","\n        ","\n      </div>"])),o,r,n,Object(S.c)("calling"),j.a.channels[this.state.outgoingCall]&&j.a.channels[this.state.outgoingCall].name,(function(){return e.cancelCall(e.state.outgoingCall)}),Object(S.c)("cancel"),a,c):this.state.incomingCall?Object(w.a)(b||(b=i(['\n        <div id="incoming-call" style="position:fixed; right:0; bottom: ',"; height:","; width: ",'; text-align: center; background: #000; color: #fff; padding: 15px 0">\n          Incoming call from ','\n          <button style="display:block; margin: 15px auto" onClick=',">",'</button>\n          <button style="display:block; margin: 15px auto" onClick=',">","</button>\n        </div>\n      "])),o,r,n,j.a.channels[this.state.incomingCall]&&j.a.channels[this.state.incomingCall].name,(function(){return e.answerCall(e.state.incomingCall)}),Object(S.c)("answer"),(function(){return e.rejectCall(e.state.incomingCall)}),Object(S.c)("reject")):void 0}}],r&&c(n.prototype,r),o&&c(n,o),Object.defineProperty(n,"prototype",{writable:!1}),t}(_.Component);t.b=U},Xfve:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){function a(e){r(s,i,o,a,c,"next",e)}function c(e){r(s,i,o,a,c,"throw",e)}var s=e.apply(t,n);a(void 0)}))}}function o(){return a.apply(this,arguments)}function a(){return(a=i((function*(e,t){var r=yield n.e(6).then(n.bind(null,"ISd2"));(s=new(0,r.BrowserQRCodeReader)).decodeFromInputVideoDevice(void 0,e).then((function(e){t(e)&&c()})).catch((function(e){null!=e&&console.error(e),null!=s&&null!=s&&c()}))}))).apply(this,arguments)}function c(){null==s&&null==s||(s.reset(),s=null)}var s;t.a={cleanupScanner:c,startQRScanner:o,startChatLinkQRScanner:function(e){o("chatlink-qr-video",e)},startPrivKeyQRScanner:function(){return new Promise((function(e){o("privkey-qr-video",(function(t){var n=JSON.parse(t.text);if(void 0!==n.priv)return e(n),!0}))}))}}},XgYJ:function(e,t,n){(function(n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i,o,a;a=function(){return function e(t,n,r){function i(a){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var s=n[a]={exports:{}};t[a][0].call(s.exports,(function(e){return i(t[a][1][e]||e)}),s,s.exports,e,t,n,r)}return n[a].exports}for(var o=!1,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t){(function(e){"use strict";function n(){u=!0;for(var e,t,n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}u=!1}var r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,a=new i(n),c=e.document.createTextNode("");a.observe(c,{characterData:!0}),r=function(){c.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){n(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(n,0)};else{var s=new e.MessageChannel;s.port1.onmessage=n,r=function(){s.port2.postMessage(0)}}var u,l=[];t.exports=function(e){1!==l.push(e)||u||r()}}).call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t){"use strict";function n(){}function i(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=d,this.queue=[],this.outcome=void 0,e!==n&&s(this,e)}function o(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function a(e,t,n){l((function(){var r;try{r=t(n)}catch(t){return f.reject(e,t)}r===e?f.reject(e,new TypeError("Cannot resolve promise with itself")):f.resolve(e,r)}))}function c(e){var t=e&&e.then;if(e&&("object"==r(e)||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function s(e,t){function n(t){i||(i=!0,f.reject(e,t))}function r(t){i||(i=!0,f.resolve(e,t))}var i=!1,o=u((function(){t(r,n)}));"error"===o.status&&n(o.value)}function u(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}var l=e(1),f={},p=["REJECTED"],h=["FULFILLED"],d=["PENDING"];t.exports=i,i.prototype.catch=function(e){return this.then(null,e)},i.prototype.then=function(e,t){if("function"!=typeof e&&this.state===h||"function"!=typeof t&&this.state===p)return this;var r=new this.constructor(n);return this.state!==d?a(r,this.state===h?e:t,this.outcome):this.queue.push(new o(r,e,t)),r},o.prototype.callFulfilled=function(e){f.resolve(this.promise,e)},o.prototype.otherCallFulfilled=function(e){a(this.promise,this.onFulfilled,e)},o.prototype.callRejected=function(e){f.reject(this.promise,e)},o.prototype.otherCallRejected=function(e){a(this.promise,this.onRejected,e)},f.resolve=function(e,t){var n=u(c,t);if("error"===n.status)return f.reject(e,n.value);var r=n.value;if(r)s(e,r);else{e.state=h,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},f.reject=function(e,t){e.state=p,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},i.resolve=function(e){return e instanceof this?e:f.resolve(new this(n),e)},i.reject=function(e){var t=new this(n);return f.reject(t,e)},i.all=function(e){function t(e,t){r.resolve(e).then((function(e){a[t]=e,++c!==i||o||(o=!0,f.resolve(u,a))}),(function(e){o||(o=!0,f.reject(u,e))}))}var r=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var i=e.length,o=!1;if(!i)return this.resolve([]);for(var a=new Array(i),c=0,s=-1,u=new this(n);++s<i;)t(e[s],s);return u},i.race=function(e){function t(e){r.resolve(e).then((function(e){o||(o=!0,f.resolve(c,e))}),(function(e){o||(o=!0,f.reject(c,e))}))}var r=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var i=e.length,o=!1;if(!i)return this.resolve([]);for(var a=-1,c=new this(n);++a<i;)t(e[a]);return c}},{1:1}],3:[function(e){(function(t){"use strict";"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(e,t){"use strict";function n(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(i){if("TypeError"!==i.name)throw i;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<e.length;r+=1)n.append(e[r]);return n.getBlob(t.type)}}function i(e,t){t&&e.then((function(e){t(null,e)}),(function(e){t(e)}))}function o(e,t,n){"function"==typeof t&&e.then(t),"function"==typeof n&&e.catch(n)}function a(e){return"string"!=typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function c(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}function s(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),i=0;i<t;i++)r[i]=e.charCodeAt(i);return n}function u(e){return"boolean"==typeof R?P.resolve(R):function(e){return new P((function(t){var r=e.transaction(B,N),i=n([""]);r.objectStore(B).put(i,"key"),r.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},r.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);t(n||!e||parseInt(e[1],10)>=43)}})).catch((function(){return!1}))}(e).then((function(e){return R=e}))}function l(e){var t=I[e.name],n={};n.promise=new P((function(e,t){n.resolve=e,n.reject=t})),t.deferredOperations.push(n),t.dbReady=t.dbReady?t.dbReady.then((function(){return n.promise})):n.promise}function f(e){var t=I[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function p(e,t){var n=I[e.name].deferredOperations.pop();if(n)return n.reject(t),n.promise}function h(e,t){return new P((function(n,r){if(I[e.name]=I[e.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},e.db){if(!t)return n(e.db);l(e),e.db.close()}var i=[e.name];t&&i.push(e.version);var o=T.open.apply(T,i);t&&(o.onupgradeneeded=function(t){var n=o.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore(B)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),o.onerror=function(e){e.preventDefault(),r(o.error)},o.onsuccess=function(){n(o.result),f(e)}}))}function d(e){return h(e,!1)}function g(e){return h(e,!0)}function m(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.version>e.db.version;if(e.version<e.db.version&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),r||n){if(n){var i=e.db.version+1;i>e.version&&(e.version=i)}return!0}return!1}function y(e){return n([s(atob(e.data))],{type:e.type})}function v(e){return e&&e.__local_forage_encoded_blob}function b(e){var t=this,n=t._initReady().then((function(){var e=I[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady}));return o(n,e,e),n}function _(e,t,n,r){void 0===r&&(r=1);try{var i=e.db.transaction(e.storeName,t);n(null,i)}catch(i){if(r>0&&(!e.db||"InvalidStateError"===i.name||"NotFoundError"===i.name))return P.resolve().then((function(){if(!e.db||"NotFoundError"===i.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),g(e)})).then((function(){return function(e){l(e);for(var t=I[e.name],n=t.forages,r=0;r<n.length;r++){var i=n[r];i._dbInfo.db&&(i._dbInfo.db.close(),i._dbInfo.db=null)}return e.db=null,d(e).then((function(t){return e.db=t,m(e)?g(e):t})).then((function(r){e.db=t.db=r;for(var i=0;i<n.length;i++)n[i]._dbInfo.db=r})).catch((function(t){throw p(e,t),t}))}(e).then((function(){_(e,t,n,r-1)}))})).catch(n);n(i)}}function w(e){var t,n,r,i,o,a=.75*e.length,c=e.length,s=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var u=new ArrayBuffer(a),l=new Uint8Array(u);for(t=0;t<c;t+=4)n=U.indexOf(e[t]),r=U.indexOf(e[t+1]),i=U.indexOf(e[t+2]),o=U.indexOf(e[t+3]),l[s++]=n<<2|r>>4,l[s++]=(15&r)<<4|i>>2,l[s++]=(3&i)<<6|63&o;return u}function F(e){var t,n=new Uint8Array(e),r="";for(t=0;t<n.length;t+=3)r+=U[n[t]>>2],r+=U[(3&n[t])<<4|n[t+1]>>4],r+=U[(15&n[t+1])<<2|n[t+2]>>6],r+=U[63&n[t+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}function k(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function x(e,t,n,r,i,o){e.executeSql(n,r,i,(function(e,a){a.code===a.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],(function(e,c){c.rows.length?o(e,a):k(e,t,(function(){e.executeSql(n,r,i,o)}),o)}),o):o(e,a)}),o)}function C(e,t,n,r){var o=this;e=a(e);var c=new P((function(i,a){o.ready().then((function(){void 0===t&&(t=null);var c=t,s=o._dbInfo;s.serializer.serialize(t,(function(t,u){u?a(u):s.db.transaction((function(n){x(n,s,"INSERT OR REPLACE INTO "+s.storeName+" (key, value) VALUES (?, ?)",[e,t],(function(){i(c)}),(function(e,t){a(t)}))}),(function(t){if(t.code===t.QUOTA_ERR){if(r>0)return void i(C.apply(o,[e,c,n,r-1]));a(t)}}))}))})).catch(a)}));return i(c,n),c}function O(e){return new P((function(t,n){e.transaction((function(r){r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],(function(n,r){for(var i=[],o=0;o<r.rows.length;o++)i.push(r.rows.item(o).name);t({db:e,storeNames:i})}),(function(e,t){n(t)}))}),(function(e){n(e)}))}))}function S(e,t){var n=e.name+"/";return e.storeName!==t.storeName&&(n+=e.storeName+"/"),n}function j(){return!function(){var e="_localforage_support_test";try{return localStorage.setItem(e,!0),localStorage.removeItem(e),!1}catch(e){return!0}}()||localStorage.length>0}function E(e,t){e[t]=function(){var n=arguments;return e.ready().then((function(){return e[t].apply(e,n)}))}}function A(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var n in t)t.hasOwnProperty(n)&&(arguments[0][n]=le(t[n])?t[n].slice():t[n])}return arguments[0]}var D="function"==typeof Symbol&&"symbol"==r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)},T=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(e){return}}();"undefined"==typeof Promise&&e(3);var P=Promise,B="local-forage-detect-blob-support",R=void 0,I={},M=Object.prototype.toString,L="readonly",N="readwrite",z={_driver:"asyncStorage",_initStorage:function(e){function t(){return P.resolve()}var n=this,r={db:null};if(e)for(var i in e)r[i]=e[i];var o=I[r.name];o||(I[r.name]=o={forages:[],db:null,dbReady:null,deferredOperations:[]}),o.forages.push(n),n._initReady||(n._initReady=n.ready,n.ready=b);for(var a=[],c=0;c<o.forages.length;c++){var s=o.forages[c];s!==n&&a.push(s._initReady().catch(t))}var u=o.forages.slice(0);return P.all(a).then((function(){return r.db=o.db,d(r)})).then((function(e){return r.db=e,m(r,n._defaultConfig.version)?g(r):e})).then((function(e){r.db=o.db=e,n._dbInfo=r;for(var t=0;t<u.length;t++){var i=u[t];i!==n&&(i._dbInfo.db=r.db,i._dbInfo.version=r.version)}}))},_support:function(){try{if(!T||!T.open)return!1;var e="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=new P((function(t,r){n.ready().then((function(){_(n._dbInfo,L,(function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName).openCursor(),c=1;a.onsuccess=function(){var n=a.result;if(n){var r=n.value;v(r)&&(r=y(r));var i=e(r,n.key,c++);void 0!==i?t(i):n.continue()}else t()},a.onerror=function(){r(a.error)}}catch(e){r(e)}}))})).catch(r)}));return i(r,t),r},getItem:function(e,t){var n=this;e=a(e);var r=new P((function(t,r){n.ready().then((function(){_(n._dbInfo,L,(function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName).get(e);a.onsuccess=function(){var e=a.result;void 0===e&&(e=null),v(e)&&(e=y(e)),t(e)},a.onerror=function(){r(a.error)}}catch(e){r(e)}}))})).catch(r)}));return i(r,t),r},setItem:function(e,t,n){var r=this;e=a(e);var o=new P((function(n,i){var o;r.ready().then((function(){return o=r._dbInfo,"[object Blob]"===M.call(t)?u(o.db).then((function(e){return e?t:function(e){return new P((function(t,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){var r=btoa(n.target.result||"");t({__local_forage_encoded_blob:!0,data:r,type:e.type})},r.readAsBinaryString(e)}))}(t)})):t})).then((function(t){_(r._dbInfo,N,(function(o,a){if(o)return i(o);try{var c=a.objectStore(r._dbInfo.storeName);null===t&&(t=void 0);var s=c.put(t,e);a.oncomplete=function(){void 0===t&&(t=null),n(t)},a.onabort=a.onerror=function(){i(s.error?s.error:s.transaction.error)}}catch(e){i(e)}}))})).catch(i)}));return i(o,n),o},removeItem:function(e,t){var n=this;e=a(e);var r=new P((function(t,r){n.ready().then((function(){_(n._dbInfo,N,(function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName).delete(e);o.oncomplete=function(){t()},o.onerror=function(){r(a.error)},o.onabort=function(){r(a.error?a.error:a.transaction.error)}}catch(e){r(e)}}))})).catch(r)}));return i(r,t),r},clear:function(e){var t=this,n=new P((function(e,n){t.ready().then((function(){_(t._dbInfo,N,(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).clear();i.oncomplete=function(){e()},i.onabort=i.onerror=function(){n(o.error?o.error:o.transaction.error)}}catch(e){n(e)}}))})).catch(n)}));return i(n,e),n},length:function(e){var t=this,n=new P((function(e,n){t.ready().then((function(){_(t._dbInfo,L,(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).count();o.onsuccess=function(){e(o.result)},o.onerror=function(){n(o.error)}}catch(e){n(e)}}))})).catch(n)}));return i(n,e),n},key:function(e,t){var n=this,r=new P((function(t,r){e<0?t(null):n.ready().then((function(){_(n._dbInfo,L,(function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName),c=!1,s=a.openKeyCursor();s.onsuccess=function(){var n=s.result;n?0===e||c?t(n.key):(c=!0,n.advance(e)):t(null)},s.onerror=function(){r(s.error)}}catch(e){r(e)}}))})).catch(r)}));return i(r,t),r},keys:function(e){var t=this,n=new P((function(e,n){t.ready().then((function(){_(t._dbInfo,L,(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).openKeyCursor(),a=[];o.onsuccess=function(){var t=o.result;t?(a.push(t.key),t.continue()):e(a)},o.onerror=function(){n(o.error)}}catch(e){n(e)}}))})).catch(n)}));return i(n,e),n},dropInstance:function(e,t){t=c.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,o=this;if(e.name){var a=e.name===n.name&&o._dbInfo.db,s=a?P.resolve(o._dbInfo.db):d(e).then((function(t){var n=I[e.name],r=n.forages;n.db=t;for(var i=0;i<r.length;i++)r[i]._dbInfo.db=t;return t}));r=s.then(e.storeName?function(t){if(t.objectStoreNames.contains(e.storeName)){var n=t.version+1;l(e);var r=I[e.name],i=r.forages;t.close();for(var o=0;o<i.length;o++){var a=i[o];a._dbInfo.db=null,a._dbInfo.version=n}return new P((function(t,r){var i=T.open(e.name,n);i.onerror=function(e){i.result.close(),r(e)},i.onupgradeneeded=function(){i.result.deleteObjectStore(e.storeName)},i.onsuccess=function(){var e=i.result;e.close(),t(e)}})).then((function(e){r.db=e;for(var t=0;t<i.length;t++){var n=i[t];n._dbInfo.db=e,f(n._dbInfo)}})).catch((function(t){throw(p(e,t)||P.resolve()).catch((function(){})),t}))}}:function(t){l(e);var n=I[e.name],r=n.forages;t.close();for(var i=0;i<r.length;i++)r[i]._dbInfo.db=null;return new P((function(t,n){var r=T.deleteDatabase(e.name);r.onerror=r.onblocked=function(e){var t=r.result;t&&t.close(),n(e)},r.onsuccess=function(){var e=r.result;e&&e.close(),t(e)}})).then((function(e){n.db=e;for(var t=0;t<r.length;t++)f(r[t]._dbInfo)})).catch((function(t){throw(p(e,t)||P.resolve()).catch((function(){})),t}))})}else r=P.reject("Invalid arguments");return i(r,t),r}},U="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",H="~~local_forage_type~",q=/^~~local_forage_type~([^~]+)~/,W="__lfsc__:",K=W.length,$="arbf",V="blob",G="si08",Y="ui08",J="uic8",Q="si16",Z="si32",X="ur16",ee="ui32",te="fl32",ne="fl64",re=K+$.length,ie=Object.prototype.toString,oe={serialize:function(e,t){var n="";if(e&&(n=ie.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===ie.call(e.buffer))){var r,i=W;e instanceof ArrayBuffer?(r=e,i+=$):(r=e.buffer,"[object Int8Array]"===n?i+=G:"[object Uint8Array]"===n?i+=Y:"[object Uint8ClampedArray]"===n?i+=J:"[object Int16Array]"===n?i+=Q:"[object Uint16Array]"===n?i+=X:"[object Int32Array]"===n?i+=Z:"[object Uint32Array]"===n?i+=ee:"[object Float32Array]"===n?i+=te:"[object Float64Array]"===n?i+=ne:t(new Error("Failed to get type for BinaryArray"))),t(i+F(r))}else if("[object Blob]"===n){var o=new FileReader;o.onload=function(){var n=H+e.type+"~"+F(this.result);t(W+V+n)},o.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(n){console.error("Couldn't convert value into a JSON string: ",e),t(null,n)}},deserialize:function(e){if(e.substring(0,K)!==W)return JSON.parse(e);var t,r=e.substring(re),i=e.substring(K,re);if(i===V&&q.test(r)){var o=r.match(q);t=o[1],r=r.substring(o[0].length)}var a=w(r);switch(i){case $:return a;case V:return n([a],{type:t});case G:return new Int8Array(a);case Y:return new Uint8Array(a);case J:return new Uint8ClampedArray(a);case Q:return new Int16Array(a);case X:return new Uint16Array(a);case Z:return new Int32Array(a);case ee:return new Uint32Array(a);case te:return new Float32Array(a);case ne:return new Float64Array(a);default:throw new Error("Unkown type: "+i)}},stringToBuffer:w,bufferToString:F},ae={_driver:"webSQLStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!=typeof e[r]?e[r].toString():e[r];var i=new P((function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(e){return r(e)}n.db.transaction((function(i){k(i,n,(function(){t._dbInfo=n,e()}),(function(e,t){r(t)}))}),r)}));return n.serializer=oe,i},_support:"function"==typeof openDatabase,iterate:function(e,t){var n=this,r=new P((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){x(n,i,"SELECT * FROM "+i.storeName,[],(function(n,r){for(var o=r.rows,a=o.length,c=0;c<a;c++){var s=o.item(c),u=s.value;if(u&&(u=i.serializer.deserialize(u)),void 0!==(u=e(u,s.key,c+1)))return void t(u)}t()}),(function(e,t){r(t)}))}))})).catch(r)}));return i(r,t),r},getItem:function(e,t){var n=this;e=a(e);var r=new P((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){x(n,i,"SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[e],(function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=i.serializer.deserialize(r)),t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return i(r,t),r},setItem:function(e,t,n){return C.apply(this,[e,t,n,1])},removeItem:function(e,t){var n=this;e=a(e);var r=new P((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){x(n,i,"DELETE FROM "+i.storeName+" WHERE key = ?",[e],(function(){t()}),(function(e,t){r(t)}))}))})).catch(r)}));return i(r,t),r},clear:function(e){var t=this,n=new P((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){x(t,r,"DELETE FROM "+r.storeName,[],(function(){e()}),(function(e,t){n(t)}))}))})).catch(n)}));return i(n,e),n},length:function(e){var t=this,n=new P((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){x(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],(function(t,n){var r=n.rows.item(0).c;e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return i(n,e),n},key:function(e,t){var n=this,r=new P((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){x(n,i,"SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[e+1],(function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return i(r,t),r},keys:function(e){var t=this,n=new P((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){x(t,r,"SELECT key FROM "+r.storeName,[],(function(t,n){for(var r=[],i=0;i<n.rows.length;i++)r.push(n.rows.item(i).key);e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return i(n,e),n},dropInstance:function(e,t){t=c.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,o=this;return r=e.name?new P((function(t){var r;r=e.name===n.name?o._dbInfo.db:openDatabase(e.name,"","",0),t(e.storeName?{db:r,storeNames:[e.storeName]}:O(r))})).then((function(e){return new P((function(t,n){e.db.transaction((function(r){function i(e){return new P((function(t,n){r.executeSql("DROP TABLE IF EXISTS "+e,[],(function(){t()}),(function(e,t){n(t)}))}))}for(var o=[],a=0,c=e.storeNames.length;a<c;a++)o.push(i(e.storeNames[a]));P.all(o).then((function(){t()})).catch((function(e){n(e)}))}),(function(e){n(e)}))}))})):P.reject("Invalid arguments"),i(r,t),r}},ce={_driver:"localStorageWrapper",_initStorage:function(e){var t={};if(e)for(var n in e)t[n]=e[n];return t.keyPrefix=S(e,this._defaultConfig),j()?(this._dbInfo=t,t.serializer=oe,P.resolve()):P.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=n.ready().then((function(){for(var t=n._dbInfo,r=t.keyPrefix,i=r.length,o=localStorage.length,a=1,c=0;c<o;c++){var s=localStorage.key(c);if(0===s.indexOf(r)){var u=localStorage.getItem(s);if(u&&(u=t.serializer.deserialize(u)),void 0!==(u=e(u,s.substring(i),a++)))return u}}}));return i(r,t),r},getItem:function(e,t){var n=this;e=a(e);var r=n.ready().then((function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r}));return i(r,t),r},setItem:function(e,t,n){var r=this;e=a(e);var o=r.ready().then((function(){void 0===t&&(t=null);var n=t;return new P((function(i,o){var a=r._dbInfo;a.serializer.serialize(t,(function(t,r){if(r)o(r);else try{localStorage.setItem(a.keyPrefix+e,t),i(n)}catch(e){"QuotaExceededError"!==e.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==e.name||o(e),o(e)}}))}))}));return i(o,n),o},removeItem:function(e,t){var n=this;e=a(e);var r=n.ready().then((function(){localStorage.removeItem(n._dbInfo.keyPrefix+e)}));return i(r,t),r},clear:function(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}}));return i(n,e),n},length:function(e){var t=this.keys().then((function(e){return e.length}));return i(t,e),t},key:function(e,t){var n=this,r=n.ready().then((function(){var t,r=n._dbInfo;try{t=localStorage.key(e)}catch(e){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t}));return i(r,t),r},keys:function(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo,n=localStorage.length,r=[],i=0;i<n;i++){var o=localStorage.key(i);0===o.indexOf(e.keyPrefix)&&r.push(o.substring(e.keyPrefix.length))}return r}));return i(n,e),n},dropInstance:function(e,t){if(t=c.apply(this,arguments),!(e="function"!=typeof e&&e||{}).name){var n=this.config();e.name=e.name||n.name,e.storeName=e.storeName||n.storeName}var r,o=this;return r=e.name?new P((function(t){t(e.storeName?S(e,o._defaultConfig):e.name+"/")})).then((function(e){for(var t=localStorage.length-1;t>=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}})):P.reject("Invalid arguments"),i(r,t),r}},se=function(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)},ue=function(e,t){for(var n=e.length,r=0;r<n;){if(se(e[r],t))return!0;r++}return!1},le=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},fe={},pe={},he={INDEXEDDB:z,WEBSQL:ae,LOCALSTORAGE:ce},de=[he.INDEXEDDB._driver,he.WEBSQL._driver,he.LOCALSTORAGE._driver],ge=["dropInstance"],me=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(ge),ye={description:"",driver:de.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1},ve=function(){function e(t){for(var n in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),he)if(he.hasOwnProperty(n)){var r=he[n],i=r._driver;this[n]=i,fe[i]||this.defineDriver(r)}this._defaultConfig=A({},ye),this._config=A({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return e.prototype.config=function(e){if("object"===(void 0===e?"undefined":D(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!=typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e&&e.driver)||this.setDriver(this._config.driver)}return"string"==typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,n){var r=new P((function(t,n){try{var r=e._driver,o=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void n(o);for(var a=me.concat("_initStorage"),c=0,s=a.length;c<s;c++){var u=a[c];if((!ue(ge,u)||e[u])&&"function"!=typeof e[u])return void n(o)}!function(){for(var t=function(e){return function(){var t=new Error("Method "+e+" is not implemented by the current driver"),n=P.reject(t);return i(n,arguments[arguments.length-1]),n}},n=0,r=ge.length;n<r;n++){var o=ge[n];e[o]||(e[o]=t(o))}}();var l=function(n){fe[r]&&console.info("Redefining LocalForage driver: "+r),fe[r]=e,pe[r]=n,t()};"_support"in e?e._support&&"function"==typeof e._support?e._support().then(l,n):l(!!e._support):l(!0)}catch(e){n(e)}}));return o(r,t,n),r},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,n){var r=fe[e]?P.resolve(fe[e]):P.reject(new Error("Driver not found."));return o(r,t,n),r},e.prototype.getSerializer=function(e){var t=P.resolve(oe);return o(t,e),t},e.prototype.ready=function(e){var t=this,n=t._driverSet.then((function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready}));return o(n,e,e),n},e.prototype.setDriver=function(e,t,n){function r(){a._config.driver=a.driver()}function i(e){return a._extend(e),r(),a._ready=a._initStorage(a._config),a._ready}var a=this;le(e)||(e=[e]);var c=this._getSupportedDrivers(e),s=null!==this._driverSet?this._driverSet.catch((function(){return P.resolve()})):P.resolve();return this._driverSet=s.then((function(){var e=c[0];return a._dbInfo=null,a._ready=null,a.getDriver(e).then((function(e){a._driver=e._driver,r(),a._wrapLibraryMethodsWithReady(),a._initDriver=function(e){return function(){var t=0;return function n(){for(;t<e.length;){var o=e[t];return t++,a._dbInfo=null,a._ready=null,a.getDriver(o).then(i).catch(n)}r();var c=new Error("No available storage method found.");return a._driverSet=P.reject(c),a._driverSet}()}}(c)}))})).catch((function(){r();var e=new Error("No available storage method found.");return a._driverSet=P.reject(e),a._driverSet})),o(this._driverSet,t,n),this._driverSet},e.prototype.supports=function(e){return!!pe[e]},e.prototype._extend=function(e){A(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];this.supports(i)&&t.push(i)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=me.length;e<t;e++)E(this,me[e])},e.prototype.createInstance=function(t){return new e(t)},e}(),be=new ve;t.exports=be},{3:3}]},{},[4])(4)},"object"==r(t)&&void 0!==e?e.exports=a():void 0===(o="function"==typeof(i=a)?i.apply(t,[]):i)||(e.exports=o)}).call(this,n("pCvA"))},Y3FI:function(e,t,n){"use strict";function r(e,t){for(var n in t)e[n]=t[n];return e}function i(e,t,n){var r,i=/(?:\?([^#]*))?(#.*)?$/,o=e.match(i),a={};if(o&&o[1])for(var s=o[1].split("&"),u=0;u<s.length;u++){var l=s[u].split("=");a[decodeURIComponent(l[0])]=decodeURIComponent(l.slice(1).join("="))}e=c(e.replace(i,"")),t=c(t||"");for(var f=Math.max(e.length,t.length),p=0;p<f;p++)if(t[p]&&":"===t[p].charAt(0)){var h=t[p].replace(/(^:|[+*?]+$)/g,""),d=(t[p].match(/[+*?]+$/)||y)[0]||"",g=~d.indexOf("+"),m=~d.indexOf("*"),v=e[p]||"";if(!v&&!m&&(d.indexOf("?")<0||g)){r=!1;break}if(a[h]=decodeURIComponent(v),g||m){a[h]=e.slice(p).map(decodeURIComponent).join("/");break}}else if(t[p]!==e[p]){r=!1;break}return(!0===n.default||!1!==r)&&a}function o(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:e.index-t.index}function a(e,t){return e.index=t,e.rank=function(e){return e.props.default?0:function(e){return c(e).map(s).join("")}(e.props.path)}(e),e.props}function c(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function s(e){return":"==e.charAt(0)?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function u(){var e;return""+((e=v&&v.location?v.location:v&&v.getCurrentLocation?v.getCurrentLocation():"undefined"!=typeof location?location:w).pathname||"")+(e.search||"")}function l(e,t){return void 0===t&&(t=!1),"string"!=typeof e&&e.url&&(t=e.replace,e=e.url),function(e){for(var t=b.length;t--;)if(b[t].canRoute(e))return!0;return!1}(e)&&function(e,t){void 0===t&&(t="push"),v&&v[t]?v[t](e):"undefined"!=typeof history&&history[t+"State"]&&history[t+"State"](null,null,e)}(e,t?"replace":"push"),f(e)}function f(e){for(var t=!1,n=0;n<b.length;n++)!0===b[n].routeTo(e)&&(t=!0);for(var r=_.length;r--;)_[r](e);return t}function p(e){if(e&&e.getAttribute){var t=e.getAttribute("href"),n=e.getAttribute("target");if(t&&t.match(/^\//g)&&(!n||n.match(/^_?self$/i)))return l(t)}}function h(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||0!==e.button))return p(e.currentTarget||e.target||this),d(e)}function d(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function g(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||0!==e.button)){var t=e.target;do{if("A"===String(t.nodeName).toUpperCase()&&t.getAttribute("href")){if(t.hasAttribute("native"))return;if(p(t))return d(e)}}while(t=t.parentNode)}}n.r(t),n.d(t,"subscribers",(function(){return _})),n.d(t,"getCurrentUrl",(function(){return u})),n.d(t,"route",(function(){return l})),n.d(t,"Router",(function(){return k})),n.d(t,"Route",(function(){return C})),n.d(t,"Link",(function(){return x})),n.d(t,"exec",(function(){return i}));var m=n("hosL"),y={},v=null,b=[],_=[],w={},F=!1,k=function(e){function t(t){e.call(this,t),t.history&&(v=t.history),this.state={url:t.url||u()},F||("function"==typeof addEventListener&&(v||addEventListener("popstate",(function(){f(u())})),addEventListener("click",g)),F=!0)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.shouldComponentUpdate=function(e){return!0!==e.static||(e.url!==this.props.url||e.onChange!==this.props.onChange)},t.prototype.canRoute=function(e){var t=Object(m.toChildArray)(this.props.children);return this.getMatchingChildren(t,e,!1).length>0},t.prototype.routeTo=function(e){this.setState({url:e});var t=this.canRoute(e);return this.updating||this.forceUpdate(),t},t.prototype.componentWillMount=function(){b.push(this),this.updating=!0},t.prototype.componentDidMount=function(){var e=this;v&&(this.unlisten=v.listen((function(t){e.routeTo(""+(t.pathname||"")+(t.search||""))}))),this.updating=!1},t.prototype.componentWillUnmount=function(){"function"==typeof this.unlisten&&this.unlisten(),b.splice(b.indexOf(this),1)},t.prototype.componentWillUpdate=function(){this.updating=!0},t.prototype.componentDidUpdate=function(){this.updating=!1},t.prototype.getMatchingChildren=function(e,t,n){return e.filter(a).sort(o).map((function(e){var o=i(t,e.props.path,e.props);if(o){if(!1!==n){var a={url:t,matches:o};return r(a,o),delete a.ref,delete a.key,Object(m.cloneElement)(e,a)}return e}})).filter(Boolean)},t.prototype.render=function(e,t){var n=e.children,r=e.onChange,i=t.url,o=this.getMatchingChildren(Object(m.toChildArray)(n),i,!0),a=o[0]||null,c=this.previousUrl;return i!==c&&(this.previousUrl=i,"function"==typeof r&&r({router:this,url:i,previous:c,active:o,current:a})),a},t}(m.Component),x=function(e){return Object(m.createElement)("a",r({onClick:h},e))},C=function(e){return Object(m.createElement)(e.component,e)};k.subscribers=_,k.getCurrentUrl=u,k.route=l,k.Router=k,k.Route=C,k.Link=x,k.exec=i,t.default=k},Ymal:function(e,t,n){(function(t){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}!function(){var i;i=void 0!==e.exports?n("s3tm"):window.PNGlib;var o=function(e,t){if("string"!=typeof e||e.length<15)throw"A hash of at least 15 characters is required.";this.defaults={background:[240,240,240,255],margin:.08,size:64,saturation:.7,brightness:.5,format:"png"},this.options="object"===r(t)?t:this.defaults,"number"==typeof arguments[1]&&(this.options.size=arguments[1]),arguments[2]&&(this.options.margin=arguments[2]),this.hash=e,this.background=this.options.background||this.defaults.background,this.size=this.options.size||this.defaults.size,this.format=this.options.format||this.defaults.format,this.margin=void 0!==this.options.margin?this.options.margin:this.defaults.margin;var n=parseInt(this.hash.substr(-7),16)/268435455,i=this.options.saturation||this.defaults.saturation,o=this.options.brightness||this.defaults.brightness;this.foreground=this.options.foreground||this.hsl2rgb(n,i,o)};o.prototype={background:null,foreground:null,hash:null,margin:null,size:null,format:null,image:function(){return this.isSvg()?new a(this.size,this.foreground,this.background):new i(this.size,this.size,256)},render:function(){var e,t,n=this.image(),r=this.size,i=Math.floor(r*this.margin),o=Math.floor((r-2*i)/5),a=Math.floor((r-5*o)/2),c=n.color.apply(n,this.background),s=n.color.apply(n,this.foreground);for(e=0;e<15;e++)t=parseInt(this.hash.charAt(e),16)%2?c:s,e<5?this.rectangle(2*o+a,e*o+a,o,o,t,n):e<10?(this.rectangle(1*o+a,(e-5)*o+a,o,o,t,n),this.rectangle(3*o+a,(e-5)*o+a,o,o,t,n)):e<15&&(this.rectangle(0*o+a,(e-10)*o+a,o,o,t,n),this.rectangle(4*o+a,(e-10)*o+a,o,o,t,n));return n},rectangle:function(e,t,n,r,i,o){var a,c;if(this.isSvg())o.rectangles.push({x:e,y:t,w:n,h:r,color:i});else for(a=e;a<e+n;a++)for(c=t;c<t+r;c++)o.buffer[o.index(a,c)]=i},hsl2rgb:function(e,t,n){return[255*(t=[n+=t*=n<.5?n:1-n,n-(e*=6)%1*t*2,n-=t*=2,n,n+e%1*t,n+t])[~~e%6],255*t[(16|e)%6],255*t[(8|e)%6]]},toString:function(e){return e?this.render().getDump():this.render().getBase64()},isSvg:function(){return this.format.match(/svg/i)}};var a=function(e,t,n){this.size=e,this.foreground=this.color.apply(this,t),this.background=this.color.apply(this,n),this.rectangles=[]};a.prototype={size:null,foreground:null,background:null,rectangles:null,color:function(e,t,n,r){var i=[e,t,n].map(Math.round);return i.push(r>=0&&r<=255?r/255:1),"rgba("+i.join(",")+")"},getDump:function(){var e,t,n,r=this.foreground,i=this.background;for(t="<svg xmlns='http://www.w3.org/2000/svg' width='"+this.size+"' height='"+this.size+"' style='background-color:"+i+";'><g style='fill:"+r+"; stroke:"+r+"; stroke-width:"+.005*this.size+";'>",e=0;e<this.rectangles.length;e++)(n=this.rectangles[e]).color!=i&&(t+="<rect  x='"+n.x+"' y='"+n.y+"' width='"+n.w+"' height='"+n.h+"'/>");return t+="</g></svg>"},getBase64:function(){if("function"==typeof btoa)return btoa(this.getDump());if(t)return new t(this.getDump(),"binary").toString("base64");throw"Cannot generate base64 output"}},void 0!==e.exports?e.exports=o:window.Identicon=o}()}).call(this,n("qykS").Buffer)},Z6HB:function(e){function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=function(){return[]},t.resolve=t,e.exports=t,t.id="Z6HB"},aKPg:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}var i=n("3rgF"),o=n("qIEf"),a=n.n(o),c=n("9va6"),s=n.n(c),u=n("o5ls"),l=n("CGOa"),f=/(?:[\xA9\xAE\u2122\u23E9-\u23EF\u23F3\u23F8-\u23FA\u24C2\u25B6\u2600-\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDE51\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFF]|\uD83E[\uDD00-\uDDFF])+/g,p=/\B\@[\w-_]{20,50}\.[\w-_]{20,50}\b/g,h=navigator.userAgent.toLowerCase().indexOf(" electron/")>-1,d=["canidae","felidae","cat","cattle","dog","donkey","goat","horse","pig","rabbit","aardvark","aardwolf","albatross","alligator","alpaca","amphibian","anaconda","angelfish","anglerfish","ant","anteater","antelope","antlion","ape","aphid","armadillo","asp","baboon","badger","bandicoot","barnacle","barracuda","basilisk","bass","bat","bear","beaver","bedbug","bee","beetle","bird","bison","blackbird","boa","boar","bobcat","bobolink","bonobo","booby","bovid","bug","butterfly","buzzard","camel","canid","capybara","cardinal","caribou","carp","cat","catshark","caterpillar","catfish","cattle","centipede","cephalopod","chameleon","cheetah","chickadee","chicken","chimpanzee","chinchilla","chipmunk","clam","clownfish","cobra","cockroach","cod","condor","constrictor","coral","cougar","cow","coyote","crab","crane","crawdad","crayfish","cricket","crocodile","crow","cuckoo","cicada","damselfly","deer","dingo","dinosaur","dog","dolphin","donkey","dormouse","dove","dragonfly","dragon","duck","eagle","earthworm","earwig","echidna","eel","egret","elephant","elk","emu","ermine","falcon","ferret","finch","firefly","fish","flamingo","flea","fly","flyingfish","fowl","fox","frog","gamefowl","galliform","gazelle","gecko","gerbil","gibbon","giraffe","goat","goldfish","goose","gopher","gorilla","grasshopper","grouse","guan","guanaco","guineafowl","gull","guppy","haddock","halibut","hamster","hare","harrier","hawk","hedgehog","heron","herring","hippopotamus","hookworm","hornet","horse","hoverfly","hummingbird","hyena","iguana","impala","jackal","jaguar","jay","jellyfish","junglefowl","kangaroo","kingfisher","kite","kiwi","koala","koi","krill","ladybug","lamprey","landfowl","lark","leech","lemming","lemur","leopard","leopon","limpet","lion","lizard","llama","lobster","locust","loon","louse","lungfish","lynx","macaw","mackerel","magpie","mammal","manatee","mandrill","marlin","marmoset","marmot","marsupial","marten","mastodon","meadowlark","meerkat","mink","minnow","mite","mockingbird","mole","mollusk","mongoose","monkey","moose","mosquito","moth","mouse","mule","muskox","narwhal","newt","nightingale","ocelot","octopus","opossum","orangutan","orca","ostrich","otter","owl","ox","panda","panther","parakeet","parrot","parrotfish","partridge","peacock","peafowl","pelican","penguin","perch","pheasant","pig","pigeon","pike","pinniped","piranha","planarian","platypus","pony","porcupine","porpoise","possum","prawn","primate","ptarmigan","puffin","puma","python","quail","quelea","quokka","rabbit","raccoon","rat","rattlesnake","raven","reindeer","reptile","rhinoceros","roadrunner","rodent","rook","rooster","roundworm","sailfish","salamander","salmon","sawfish","scallop","scorpion","seahorse","shark","sheep","shrew","shrimp","silkworm","silverfish","skink","skunk","sloth","slug","smelt","snail","snake","snipe","sole","sparrow","spider","spoonbill","squid","squirrel","starfish","stingray","stoat","stork","sturgeon","swallow","swan","swift","swordfish","swordtail","tahr","takin","tapir","tarantula","tarsier","termite","tern","thrush","tick","tiger","tiglon","toad","tortoise","toucan","trout","tuna","turkey","turtle","tyrannosaurus","urial","vicuna","viper","vole","vulture","wallaby","walrus","wasp","warbler","weasel","whale","whippet","whitefish","wildcat","wildebeest","wildfowl","wolf","wolverine","wombat","woodpecker","worm","wren","xerinae","yak","zebra","alpaca","cat","cattle","chicken","dog","donkey","ferret","gayal","goldfish","guppy","horse","koi","llama","sheep","yak","unicorn"],g=["average","big","colossal","fat","giant","gigantic","great","huge","immense","large","little","long","mammoth","massive","miniature","petite","puny","short","small","tall","tiny","boiling","breezy","broken","bumpy","chilly","cold","cool","creepy","crooked","cuddly","curly","damaged","damp","dirty","dry","dusty","filthy","flaky","fluffy","wet","broad","chubby","crooked","curved","deep","flat","high","hollow","low","narrow","round","shallow","skinny","square","steep","straight","wide","ancient","brief","early","fast","late","long","modern","old","quick","rapid","short","slow","swift","young","abundant","empty","few","heavy","light","many","numerous","Sound","cooing","deafening","faint","harsh","hissing","hushed","husky","loud","melodic","moaning","mute","noisy","purring","quiet","raspy","resonant","screeching","shrill","silent","soft","squealing","thundering","voiceless","whispering","bitter","delicious","fresh","juicy","ripe","rotten","salty","sour","spicy","stale","sticky","strong","sweet","tasteless","tasty","thirsty","fluttering","fuzzy","greasy","grubby","hard","hot","icy","loose","melted","plastic","prickly","rainy","rough","scattered","shaggy","shaky","sharp","shivering","silky","slimy","slippery","smooth","soft","solid","steady","sticky","tender","tight","uneven","weak","wet","wooden","afraid","angry","annoyed","anxious","arrogant","ashamed","awful","bad","bewildered","bored","combative","condemned","confused","creepy","cruel","dangerous","defeated","defiant","depressed","disgusted","disturbed","eerie","embarrassed","envious","evil","fierce","foolish","frantic","frightened","grieving","helpless","homeless","hungry","hurt","ill","jealous","lonely","mysterious","naughty","nervous","obnoxious","outrageous","panicky","repulsive","scary","scornful","selfish","sore","tense","terrible","thoughtless","tired","troubled","upset","uptight","weary","wicked","worried","agreeable","amused","brave","calm","charming","cheerful","comfortable","cooperative","courageous","delightful","determined","eager","elated","enchanting","encouraging","energetic","enthusiastic","excited","exuberant","fair","faithful","fantastic","fine","friendly","funny","gentle","glorious","good","happy","healthy","helpful","hilarious","jolly","joyous","kind","lively","lovely","lucky","obedient","perfect","pleasant","proud","relieved","silly","smiling","splendid","successful","thoughtful","victorious","vivacious","witty","wonderful","zealous","zany","other","good","new","old","great","high","small","different","large","local","social","important","long","young","national","british","right","early","possible","big","little","political","able","late","general","full","far","low","public","available","bad","main","sure","clear","major","economic","only","likely","real","black","particular","international","special","difficult","certain","open","whole","white","free","short","easy","strong","european","central","similar","human","common","necessary","single","personal","hard","private","poor","financial","wide","foreign","simple","recent","concerned","american","various","close","fine","english","wrong","present","royal","natural","individual","nice","french","nihilist","solipsist","materialist","surrealist","heroic","awesome","hedonist","absurd","current","modern","labour","legal","happy","final","red","normal","serious","previous","total","prime","significant","industrial","sorry","dead","specific","appropriate","top","soviet","basic","military","original","successful","aware","hon","popular","heavy","professional","direct","dark","cold","ready","green","useful","effective","western","traditional","scottish","german","independent","deep","interesting","considerable","involved","physical","hot","existing","responsible","complete","medical","blue","extra","past","male","interested","fair","essential","beautiful","civil","primary","obvious","future","environmental","positive","senior","nuclear","annual","relevant","huge","rich","commercial","safe","regional","practical","official","separate","key","chief","regular","due","additional","active","powerful","complex","standard","impossible","light","warm","middle","fresh","sexual","front","domestic","actual","united","technical","ordinary","cheap","strange","internal","excellent","quiet","soft","potential","northern","religious","quick","very","famous","cultural","proper","broad","joint","formal","limited","conservative","lovely","usual","ltd","unable","rural","initial","substantial","bright","average","leading","reasonable","immediate","suitable","equal","detailed","working","overall","female","afraid","democratic","growing","sufficient","scientific","eastern","correct","inc","irish","expensive","educational","mental","dangerous","critical","increased","familiar","unlikely","double","perfect","slow","tiny","dry","historical","thin","daily","southern","increasing","wild","alone","urban","empty","married","narrow","liberal","supposed","upper","apparent","tall","busy","bloody","prepared","russian","moral","careful","clean","attractive","japanese","vital","thick","alternative","fast","ancient","elderly","rare","external","capable","brief","wonderful","grand","typical","entire","grey","constant","vast","surprised","ideal","terrible","academic","funny","minor","pleased","severe","ill","corporate","negative","permanent","weak","brown","fundamental","odd","crucial","inner","used","criminal","contemporary","sharp","sick","near","roman","massive","unique","secondary","parliamentary","african","unknown","subsequent","angry","alive","guilty","lucky","enormous","well","yellow","unusual","net","tough","dear","extensive","glad","remaining","agricultural","alright","healthy","italian","principal","tired","efficient","comfortable","chinese","relative","friendly","conventional","willing","sudden","proposed","voluntary","slight","valuable","dramatic","golden","temporary","federal","keen","flat","silent","indian","worried","pale","statutory","welsh","dependent","firm","wet","competitive","armed","radical","outside","acceptable","sensitive","living","pure","global","emotional","sad","secret","rapid","adequate","fixed","sweet","administrative","wooden","remarkable","comprehensive","surprising","solid","rough","mere","mass","brilliant","maximum","absolute","electronic","visual","electric","cool","spanish","literary","continuing","supreme","chemical","genuine","exciting","written","advanced","extreme","classical","fit","favourite","widespread","confident","straight","proud","numerous","opposite","distinct","mad","helpful","given","disabled","consistent","anxious","nervous","awful","stable","constitutional","satisfied","conscious","developing","strategic","holy","smooth","dominant","remote","theoretical","outstanding","pink","pretty","clinical","minimum","honest","impressive","related","residential","extraordinary","plain","visible","accurate","distant","still","greek","complicated","musical","precise","gentle","broken","live","silly","fat","tight","monetary","round","psychological","violent","unemployed","inevitable","junior","sensible","grateful","pleasant","dirty","structural","welcome","deaf","above","continuous","blind","overseas","mean","entitled","delighted","loose","occasional","evident","desperate","fellow","universal","square","steady","classic","equivalent","intellectual","victorian","level","ultimate","creative","lost","medieval","clever","linguistic","convinced","judicial","raw","sophisticated","asleep","vulnerable","illegal","outer","revolutionary","bitter","changing","australian","native","imperial","strict","wise","informal","flexible","collective","frequent","experimental","spiritual","intense","rational","generous","inadequate","prominent","logical","bare","historic","modest","dutch","acute","electrical","valid","weekly","gross","automatic","loud","reliable","mutual","liable","multiple","ruling","curious","sole","managing","pregnant","latin","nearby","exact","underlying","identical","satisfactory","marginal","distinctive","electoral","urgent","presidential","controversial","everyday","encouraging","organic","continued","expected","statistical","desirable","innocent","improved","exclusive","marked","experienced","unexpected","superb","sheer","disappointed","frightened","gastric","romantic","naked","reluctant","magnificent","convenient","established","closed","uncertain","artificial","diplomatic","tremendous","marine","mechanical","retail","institutional","mixed","required","biological","known","functional","straightforward","superior","digital","spectacular","unhappy","confused","unfair","aggressive","spare","painful","abstract","asian","associated","legislative","monthly","intelligent","hungry","explicit","nasty","just","faint","coloured","ridiculous","amazing","comparable","successive","realistic","back","decent","decentralized","bitcoin","cypherpunk","unnecessary","flying","random","influential","dull","genetic","neat","marvellous","crazy","damp","giant","secure","bottom","skilled","subtle","elegant","brave","lesser","parallel","steep","intensive","casual","tropical","lonely","partial","preliminary","concrete","alleged","assistant","vertical","upset","delicate","mild","occupational","excessive","progressive","exceptional","integrated","striking","continental","okay","harsh","combined","fierce","handsome","characteristic","chronic","compulsory","interim","objective","splendid","magic","systematic","obliged","payable","fun","horrible","primitive","fascinating","ideological","metropolitan","surrounding","estimated","peaceful","premier","operational","technological","kind","advisory","hostile","precious","accessible","determined","excited","impressed","provincial","smart","endless","isolated","drunk","geographical","like","dynamic","boring","forthcoming","unfortunate","definite","super","notable","indirect","stiff","wealthy","awkward","lively","neutral","artistic","content","mature","colonial","ambitious","evil","magnetic","verbal","legitimate","sympathetic","empirical","head","shallow","vague","naval","depressed","shared","added","shocked","mid","worthwhile","qualified","missing","blank","absent","favourable","polish","israeli","developed","profound","representative","enthusiastic","dreadful","rigid","reduced","cruel","coastal","peculiar","swiss","crude","extended","selected","eager","canadian","bold","relaxed","corresponding","running","planned","applicable","immense","allied","comparative","uncomfortable","conservation","productive","beneficial","bored","charming","minimal","mobile","turkish","orange","rear","passive","suspicious","overwhelming","fatal","resulting","symbolic","registered","neighbouring","calm","irrelevant","patient","compact","profitable","rival","loyal","moderate","distinguished","interior","noble","insufficient","eligible","mysterious","varying","managerial","molecular","olympic","linear","prospective","printed","parental","diverse","elaborate","furious","fiscal","burning","useless","semantic","embarrassed","inherent","philosophical","deliberate","awake","variable","promising","unpleasant","varied","sacred","selective","inclined","tender","hidden","worthy","intermediate","sound","protective","fortunate","slim","defensive","divine","stuck","driving","invisible","misleading","circular","mathematical","inappropriate","liquid","persistent","solar","doubtful","manual","architectural","intact","incredible","devoted","prior","tragic","respectable","optimistic","convincing","unacceptable","decisive","competent","spatial","respective","binding","relieved","nursing","toxic","select","redundant","integral","then","probable","amateur","fond","passing","specified","territorial","horizontal","inland","cognitive","regulatory","miserable","resident","polite","scared","gothic","civilian","instant","lengthy","adverse","korean","unconscious","anonymous","aesthetic","orthodox","static","unaware","costly","fantastic","foolish","fashionable","causal","compatible","wee","implicit","dual","ok","cheerful","subjective","forward","surviving","exotic","purple","cautious","visiting","aggregate","ethical","teenage","dying","disastrous","delicious","confidential","underground","thorough","grim","autonomous","atomic","frozen","colourful","injured","uniform","ashamed","glorious","wicked","coherent","rising","shy","novel","balanced","delightful","arbitrary","adjacent","worrying","weird","unchanged","rolling","evolutionary","intimate","sporting","disciplinary","formidable","lexical","noisy","gradual","accused","homeless","supporting","coming","renewed","excess","retired","rubber","chosen","outdoor","embarrassing","preferred","bizarre","appalling","agreed","imaginative","governing","accepted","vocational","mighty","puzzled","worldwide","organisational","sunny","eldest","eventual","spontaneous","vivid","rude","faithful","ministerial","innovative","controlled","conceptual","unwilling","civic","meaningful","alive","brainy","breakable","busy","careful","cautious","clever","concerned","crazy","curious","dead","different","difficult","doubtful","easy","famous","fragile","helpful","helpless","important","impossible","innocent","inquisitive","modern","open","outstanding","poor","powerful","puzzled","real","rich","shy","sleepy","super","tame","uninterested","wandering","wild","wrong","adorable","alert","average","beautiful","blonde","bloody","blushing","bright","clean","clear","cloudy","colorful","crowded","cute","dark","drab","distinct","dull","elegant","fancy","filthy","glamorous","gleaming","graceful","grotesque","homely","light","misty","motionless","muddy","plain","poised","quaint","shiny","smoggy","sparkling","spotless","stormy","strange","ugly","unsightly","unusual","bad","better","beautiful","big","black","blue","bright","clumsy","crazy","dizzy","dull","fat","frail","friendly","funny","great","green","gigantic","gorgeous","grumpy","handsome","happy","horrible","itchy","jittery","jolly","kind","long","lazy","magnificent","magenta","many","mighty","mushy","nasty","new","nice","nosy","nutty","nutritious","odd","orange","ordinary","pretty","precious","prickly","purple","quaint","quiet","quick","quickest","rainy","rare","ratty","red","roasted","robust","round","sad","scary","scrawny","short","silly","stingy","strange","striped","spotty","tart","tall","tame","tan","tender","testy","tricky","tough","ugly","ugliest","vast","watery","wasteful","wonderful","yellow","yummy","zany"];t.a={wtClient:void 0,isUrl:function(e){var t=l.a.parse(e,{urls:!0});return 1===t.length&&"url"===t[0].getType()},capitalize:function(e){return void 0===e?"":e.charAt(0).toUpperCase()+e.slice(1)},generateName:function(){return"".concat(this.capitalize(s.a.sample(g))," ").concat(this.capitalize(s.a.sample(d)))},isEmoji:function(e){return null!==e.match(f)},highlightHashtags:function(e){return e.replace(/\B\#\w\w+\b/g,(function(e){return'<a href="/hashtag/'.concat(e.replace("#",""),'">').concat(e,"</a>")}))},highlightEmoji:function(e){return e.replace(f,'<span class="emoji">$&</span>')},highlightMentions:function(e){return e.replace(p,(function(e){var t=e.slice(1);return'<a href="/profile/'.concat(t,'">@<iris-text user="').concat(t,'" path="profile/name" /></a>')}))},copyToClipboard:function(e){if(window.clipboardData&&window.clipboardData.setData)return window.clipboardData.setData("Text",e),!0;if(document.queryCommandSupported&&document.queryCommandSupported("copy")){var t=document.createElement("textarea");t.textContent=e,t.style.position="fixed",document.body.appendChild(t),t.select();try{return document.execCommand("copy")}catch(e){return console.warn("Copy to clipboard failed.",e),!1}finally{return document.body.removeChild(t),!0}}},getUrlParameter:function(e,t){var n,r,i=(null!=t?t:window.location.search.substring(1)).split("&");for(r=0;r<i.length;r++)if((n=i[r].split("="))[0]===e)return void 0===n[1]||decodeURIComponent(n[1])},showConsoleWarning:function(){if(window.chrome||window.safari){var e="font-family:helvetica; font-size:20px; ";[["Stop!","".concat(e,"font-size:50px; font-weight:bold; color:red; -webkit-text-stroke:1px black;")],['This is a browser feature intended for developers. If someone told you to copy-paste something here to enable a feature or "hack" someone\'s account, it is a scam and will give them access to your account.',e],["",""]].map((function(e){setTimeout(console.log.bind(console,"\n%c".concat(e[0]),e[1]))}))}},getRelativeTimeText:function(e){var t=e&&u.a.util.getDaySeparatorText(e,e.toLocaleDateString(void 0,{dateStyle:"short"}));return(t=Object(i.c)(t))===Object(i.c)("today")&&(t=u.a.util.formatTime(e)),t},formatBytes:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(0===e)return"0 Bytes";var n=1024,r=t<0?0:t,i=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],o=Math.floor(Math.log(e)/Math.log(n));return"".concat(parseFloat((e/Math.pow(n,o)).toFixed(r))," ").concat(i[o])},download:function(e,t,n,r,i){var o;null===r&&(r="utf-8"),(o=document.createElement("a")).href=i||"data:".concat(n,";charset=").concat(r,",").concat(encodeURI(t)),o.target="_blank",o.download=e,o.click()},truncateString:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;return e.length>t?"".concat(e.slice(0,t),"..."):e},getBase64:function(e){var t=new FileReader;return t.readAsDataURL(e),new Promise((function(e,n){t.onload=function(){e(t.result)},t.onerror=function(e){n("Error: ".concat(e))}}))},scrollToMessageListBottom:s.a.throttle((function(){a()("#message-view")[0]&&a()("#message-view").scrollTop(a()("#message-view")[0].scrollHeight-a()("#message-view")[0].clientHeight)}),100),setImgSrc:function(e,t){return t&&0===t.indexOf("data:image")&&e.attr("src",t),e},animateScrollTop:function(e){var t=a()(e);t.css({overflow:"hidden"}),setTimeout((function(){t.css({overflow:""}),t.on("scroll mousedown wheel DOMMouseScroll mousewheel keyup touchstart",(function(e){(e.which&&e.which>0||"mousedown"===e.type||"mousewheel"===e.type||"touchstart"===e.type)&&t.stop(!0)})),t.stop().animate({scrollTop:0},{duration:400,queue:!1,always:function(){t.off("scroll mousedown wheel DOMMouseScroll mousewheel keyup touchstart")}})}),10)},getWebTorrentClient:function(){var e,t=this;return(e=function*(){var e=yield n.e(5).then(n.t.bind(null,"hVTY",7));return t.wtClient||(t.wtClient=new(0,e.default)),t.wtClient},function(){var t=this,n=arguments;return new Promise((function(i,o){function a(e){r(s,i,o,a,c,"next",e)}function c(e){r(s,i,o,a,c,"throw",e)}var s=e.apply(t,n);a(void 0)}))})()},getProfileLink:function(e){return"".concat(window.location.origin,"/#/profile/").concat(encodeURIComponent(e))},isElectron:h,pubKeyRegex:p}},aoKE:function(e,t,n){"use strict";(function(e,r){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var l=n("3rgF"),f=n("aKPg"),p=n("kv13"),h=n("yqR5"),d=n("vI8o"),g=n("0F+k"),m=n("5OaP"),y="hyECQHwSo7fgr2MVfPyakvayPeixxsaAWVtZ-vbaiSc.TXIp8MnCtrnW6n2MrYquWPcc-DTmZzMBmc2yaGv9gIU",v=function(t){function n(){return m.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(n,t);var i,s,u,m=c(n);return i=n,(s=[{key:"render",value:function(){return e(r,null,e(g.a,null),e("div",{class:"main-view",id:"settings"},e("div",{class:"centered-container"},e("h3",null,Object(l.c)("about")),e("p",null,Object(l.c)("iris_is_like")),e("ul",null,e("li",{dangerouslySetInnerHTML:{__html:Object(l.c)("iris_is_accessible")}}),e("li",{dangerouslySetInnerHTML:{__html:Object(l.c)("iris_is_secure")}}),e("li",{dangerouslySetInnerHTML:{__html:Object(l.c)("iris_is_always_available")}})),e("p",null," ",Object(l.c)("in_other_words")," "),e("p",null,"Released under MIT license. Code: ",e("a",{href:"https://github.com/irislib/iris-messenger"},"Github"),"."),e("p",null,e("small",null,"Version 2.3.3")),f.a.isElectron?"":e("div",{id:"desktop-application-about"},e("h4",null," ",Object(l.c)("get_the_desktop_application")," "),e("ul",null,e("li",null," ",Object(l.c)("communicate_and_synchronize")," "),e("ul",null,e("li",null," ",Object(l.c)("when_local_peers")," "),e("li",null," ",Object(l.c)("bluetooth_support_upcoming")," ")),e("li",null," ",Object(l.c)("opens_to_background"),"  "),e("li",null," ",Object(l.c)("more_secure_and_available")," "),e("li",null," ",Object(l.c)("direct_connect_to_the")," ")),e("a",{href:"https://github.com/irislib/iris-electron/releases"},"Download")),e("h4",null,"Privacy"),e("p",null,Object(l.c)("application_security_warning")),e("p",null,"Private messages are end-to-end encrypted, but message timestamps and the number of chats aren't. In a decentralized network this information is potentially available to anyone."),e("p",null,"By looking at timestamps in chats, it is possible to guess who are chatting with each other. There are potential technical solutions to hiding the timestamps, but they are not implemented yet. It is also possible, if not trivial, to find out who are communicating with each other by monitoring data subscriptions on the decentralized database."),e("p",null,"In that regard, Iris prioritizes decentralization and availability over perfect privacy."),e("p",null,"Profile names, photos and online status are currently public. That can be changed when advanced group permissions are developed."),e("p",null,"Iris makes no guarantees of data persistence."),e("p",null,"You can check your saved data in the ",e("a",{href:"/explorer"},"Explorer"),"."),e("h4",null,"Developer:"),e("div",{class:"profile-link-container"},e("a",{href:"/profile/".concat(y),class:"profile-link"},e(p.a,{str:y,width:40}),e(d.a,{path:"profile/name",user:y,placeholder:"Iris developer's account"})),e(h.a,{id:y})),e("p",null,"While we're working on Iris group chats, you're welcome to join our ",e("a",{href:"https://discord.gg/4CJc74JEUY"},"Discord")," community."),e("h4",null,Object(l.c)("donate")),e("p",{dangerouslySetInnerHTML:{__html:"".concat(Object(l.c)("donate_info",'href="https://opencollective.com/iris-social"'),": 3GopC1ijpZktaGLXHb7atugPj9zPGyQeST")}}),e("p",null,"Dogecoin: DEsgP4H1Sjp4461PugHDNnoGd6S8pTvrm1"))))}}])&&o(i.prototype,s),u&&o(i,u),Object.defineProperty(i,"prototype",{writable:!1}),n}(m.a);t.a=v}).call(this,n("hosL").h,n("hosL").Fragment)},bbY9:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return u(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f,p,h,d=n("4Iz4"),g=n("lBHI"),m=n("kv13"),y=n("3rgF"),v=n("yqR5"),b=n("oeWf"),_=n("DrMS"),w=n("jMw0"),F=n("9va6");t.a=function(e){function t(){var e,t,n,r;return e=l.call(this),t=u(e),n="updateSortedFollows",r=Object(F.throttle)((function(){var t=Array.from(e.follows).sort((function(t,n){var r=e.followNames.get(t),i=e.followNames.get(n);return r||i?r?i?r.localeCompare(i):-1:1:t.localeCompare(n)}));e.setState({follows:t})}),1e3,{leading:!1}),n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,e.follows=new Set,e.followNames=new Map,e.id="follows-view",e.state={follows:[]},e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e);var n,r,s,l=c(t);return n=t,(r=[{key:"getFollows",value:function(){var e=this;g.a.public.user(this.props.id).get("follow").map().on(this.sub((function(t,n){t&&!e.follows.has(n)&&(e.follows.add(n),e.getNameForUser(n)),e.updateSortedFollows()})))}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"getNameForUser",value:function(e){var t=this;g.a.public.user(e).get("profile").get("name").on(this.sub((function(n){n&&(t.followNames.set(e,n),t.updateSortedFollows())})))}},{key:"getFollowers",value:function(){var e=this;g.a.group().on("follow/".concat(this.props.id),this.sub((function(t,n,r,i,o){if(t&&!e.follows.has(o)){if(!t)return;e.follows.add(o),e.getNameForUser(o),e.updateSortedFollows()}})))}},{key:"componentDidMount",value:function(){this.props.id&&(this.props.followers?this.getFollowers():this.getFollows())}},{key:"renderView",value:function(){return Object(d.a)(f||(f=i(['\n      <div class="centered-container">\n        <h3><a href="/profile/','"><'," pub=",' placeholder="—" /></a>:<i> </i>\n        ','</h3>\n        <div id="follows-list">\n          ',"\n          ","\n        </div>\n      </div>\n    "])),this.props.id,b.a,this.props.id,this.props.followers?Object(y.c)("followers"):Object(y.c)("following"),this.state.follows.map((function(e){return Object(d.a)(p||(p=i(["\n            <div key=",' class="profile-link-container">\n              <a href="/profile/','" class="profile-link">\n                <'," str="," width=49/>\n                <div>\n                  <"," pub=",'/><br/>\n                  <small class="follower-count">'," followers</small>\n                </div>\n              </a>\n              ","\n\n            </div>"])),e,e,m.a,e,b.a,e,"0",e!==w.a.getPubKey()?Object(d.a)(h||(h=i(["<"," id=","/>"])),v.a,e):"")})),0===this.state.follows.length?"—":"")}}])&&o(n.prototype,r),s&&o(n,s),Object.defineProperty(n,"prototype",{writable:!1}),t}(_.a)},bnIw:function(e,t,n){e.exports=function(e){var t=n("hS/R");e.find("a",(function(){var n,r,i=[];t.map(e.list,(function(e,t){t.indexOf("%1B")+1&&e&&i.push([t,e])})),i.length&&console.log("\n! ! ! WARNING ! ! !\nRAD v0.2020.x has detected OLD v0.2019.x data & automatically migrating. Automatic migration will be turned OFF in future versions! If you are just developing/testing, we recommend you reset your data. Please contact us if you have any concerns.\nThis message should only log once."),i.forEach((function(t){n=t[0],r=t[1],e.list(decodeURIComponent(n),r),e.list(n,0)})),n&&e.find.bad(n)}))}},d17u:function(e,t,n){"use strict";(function(e){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=n("hosL"),p=n("aKPg"),h=n("3rgF"),d=n("qIEf"),g=n.n(d),m=n("o5ls"),y=function(t){function n(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return l(s(e=f.call.apply(f,[this].concat(n))),"originalWidth",void 0),l(s(e),"timeout",void 0),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(n,t);var r,c,u,f=a(n);return r=n,(c=[{key:"copy",value:function(e,t){var n=this;if(null!==e.target){p.a.copyToClipboard(t);var r=g()(e.target),i=r.width();void 0!==i&&(this.originalWidth=this.originalWidth||i+1,r.width(this.originalWidth),this.setState({copied:!0}),void 0!==this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((function(){return n.setState({copied:!1})}),2e3))}}},{key:"onClick",value:function(e){var t=this;e.preventDefault();var n="function"==typeof this.props.copyStr?this.props.copyStr():this.props.copyStr;m.a.util.isMobile&&!this.props.notShareable?navigator.share({url:n,title:this.props.title}).catch((function(r){console.error("share failed",r),t.copy(e,n)})):this.copy(e,n)}},{key:"render",value:function(){var t=this,n=this.state.copied?Object(h.c)("copied"):this.props.text||Object(h.c)("copy");return e("button",{class:"copy-button",onClick:function(e){return t.onClick(e)}},n)}}])&&i(r.prototype,c),u&&i(r,u),Object.defineProperty(r,"prototype",{writable:!1}),n}(f.Component);t.a=y}).call(this,n("hosL").h)},dgEB:function(e,t,n){"use strict";(function(e,r){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return u(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=n("5OaP"),p=n("Y3FI"),h=n("aKPg"),d=n("lBHI"),g=n("kv13"),m=n("vI8o"),y=n("3rgF"),v=n("jMw0"),b=n("qIEf"),_=n.n(b),w=n("9va6"),F=n.n(w),k="hyECQHwSo7fgr2MVfPyakvayPeixxsaAWVtZ-vbaiSc.TXIp8MnCtrnW6n2MrYquWPcc-DTmZzMBmc2yaGv9gIU";t.a=function(t){function n(){var e,t,n,r;return e=f.call(this),t=u(e),n="debouncedIndexAndSearch",r=F.a.debounce((function(){e.search()}),200),n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,e.state={results:[],query:"",noFollows:!0,offsetLeft:0},e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(n,t);var i,s,l,f=c(n);return i=n,(s=[{key:"onInput",value:function(){this.search()}},{key:"close",value:function(){_()(this.base).find("input").val(""),this.setState({results:[],query:""})}},{key:"componentDidMount",value:function(){var e=this;d.a.local.get("noFollows").on(this.inject()),d.a.local.get("activeRoute").on(this.sub((function(){e.close()}))),this.adjustResultsPosition(),this.search()}},{key:"componentDidUpdate",value:function(e){this.adjustResultsPosition(),e.focus!==this.props.focus&&_()(this.base).find("input:visible").focus(),e.query!==this.props.query&&this.search()}},{key:"adjustResultsPosition",value:function(){var e=_()(this.base).find("input");e.length&&this.setState({offsetLeft:e[0].offsetLeft})}},{key:"onSubmit",value:function(e){e.preventDefault();var t=_()(this.base).find("input"),n=t.val();t.val(""),t.blur(),Object(p.route)("/search/".concat(n))}},{key:"search",value:function(){var e=this,t=this.props.query||_()(this.base).find("input")[0].value;if(t){if(this.props.onSelect){var n=t.split("/profile/");if(n.length>1)return this.props.onSelect({key:n[1]});var r=h.a.getUrlParameter("chatWith",n[1]);if(r)return this.props.onSelect({key:r})}if(!v.a.followChatLink(t))if(t){var i=v.a.getUserSearchIndex().search(t).slice(0,5);i.length&&_()(document).off("keyup").on("keyup",(function(t){"Escape"===t.key&&(_()(document).off("keyup"),e.close())})),this.setState({results:i,query:t})}else this.setState({results:[],query:t})}}},{key:"onClick",value:function(e,t){this.props.onSelect&&(e.preventDefault(),e.stopPropagation(),this.props.onSelect(t)),this.close()}},{key:"render",value:function(){var t=this;return e("div",{class:"search-box ".concat(this.props.class)},this.props.resultsOnly?"":e("form",{onSubmit:function(e){return t.onSubmit(e)}},e("label",null,e("input",{type:"text",placeholder:Object(y.c)("search"),onInput:function(){return t.onInput()}}))),e("div",{class:"search-box-results",style:"left: ${this.state.offsetLeft || ''}"},this.state.results.map((function(n){var r=n.item,i="";return 1===r.followDistance&&(i="Following"),r.followDistance>1&&(i="".concat(r.followers.size," followers")),e("a",{href:"/profile/".concat(r.key),onClick:function(e){return t.onClick(e,r)}},e(g.a,{key:"".concat(r.key,"ic"),str:r.key,width:40}),e("div",null,r.name||"",e("br",null),e("small",null,i)))})),this.state.query&&this.state.noFollows?e(r,null,e("a",{class:"follow-someone"},"Follow someone to see more search results!"),e("a",{href:"/profile/".concat(k),class:"suggested"},e(g.a,{str:k,width:40}),e("div",null,e(m.a,{user:k,path:"profile/name"}),e("br",null),e("small",null,"Suggested")))):""))}}])&&o(i.prototype,s),l&&o(i,l),Object.defineProperty(i,"prototype",{writable:!1}),n}(f.a)}).call(this,n("hosL").h,n("hosL").Fragment)},"hS/R":function(e){!function(){function t(){return function e(i,a,c){if(e.unit=0,c||n===a||(e.last=""+i<e.last?e.last:""+i,delete(e.$||{})[o]),c=c||e.$||(e.$={}),!i&&Object.keys(c).length)return c;for(var s,u,l=0,f=(i=""+i).length-1,p=i[l];!(s=c[p])&&l<f;)p+=i[++l];if(s){if(l!=f)return n!==a&&delete s[o],e(i.slice(++l),a,s||(s={}));if(n===a)return n===(u=s[""])?s:(e.unit=1)&&u;s[""]=a}else{if(!r(c,(function(e,r){var o=0,s="";if((r||"").length)for(;r[o]==i[o];)s+=r[o++];if(s){if(n===a){if(o<=f)return;return(u||(u={}))[r.slice(o)]=e,e}var l={};return l[r.slice(o)]=e,""===(o=i.slice(o))?l[""]=a:(l[o]={})[""]=a,c[s]=l,t.debug&&"undefined"==""+s&&console.log(0,s),delete c[r],!0}}))){if(n===a)return;(c[p]||(c[p]={}))[""]=a,t.debug&&"undefined"==""+p&&console.log(1,p)}if(n===a)return u}}}if(t.map=function e(r,a,c,s){try{s=s||[];var u="function"==typeof r?r.$||{}:r;if(!u)return;if("string"==typeof u){if(t.debug)throw["BUG:",r,a,c,s];return}var l,f=(u[o]||i).sort||(u[o]=function e(){return e.sort=Object.keys(u).sort(),e}()).sort;(l=(c=!0===c?{branch:!0}:c||{}).reverse)&&(f=f.slice(0).reverse());for(var p=c.start,h=c.end,d=0,g=f.length;d<g;d++){var m,y,v,b=f[d],_=u[b];if(_&&""!==b&&o!==b&&"undefined"!==b&&((y=s.slice(0)).push(b),v=y.join(""),!(n!==p&&v<(p||"").slice(0,v.length)||n!==h&&(h||"￿")<v))){if(l&&(m=e(_,a,c,y),n!==m))return m;if(n!==(m=_[""])){var w=1;if(n!==p&&v<(p||"")&&(w=0),n!==h&&v>(h||"￿")&&(w=0),w&&(m=a(m,v,b,s),n!==m))return m}else if(c.branch&&(m=a(n,v,b,s),n!==m))return m;if(s=y,!l&&(m=e(_,a,c,s),n!==m))return m;s.pop()}}}catch(e){console.error(e)}},"undefined"!=typeof window)window.Radix=t;else try{e.exports=t}catch(e){}var n,r=t.object=function(e,t,r){for(var i in e)if(e.hasOwnProperty(i)&&(r=t(e[i],i))!==n)return r},i={},o=String.fromCharCode(24)}()},heVN:function(e,t,n){(function(e,t){!function(e){"use strict";function n(e){delete l[e]}function r(e){if(f)setTimeout(r,0,e);else{var t=l[e];if(t){f=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{n(e),f=!1}}}}if(!e.setImmediate){var i,o,a,c,s,u=1,l={},f=!1,p=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?i=function(e){t.nextTick((function(){r(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){r(e.data)},i=function(e){a.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(o=p.documentElement,i=function(e){var t=p.createElement("script");t.onreadystatechange=function(){r(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):i=function(e){setTimeout(r,0,e)}:(c="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(c)&&r(+t.data.slice(c.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),i=function(t){e.postMessage(c+t,"*")}),h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return l[u]=r,i(u),u++},h.clearImmediate=n}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n("pCvA"),n("5IsQ"))},hosL:function(e,t,n){"use strict";function r(e,t){for(var n in t)e[n]=t[n];return e}function i(e){var t=e.parentNode;t&&t.removeChild(e)}function o(e,t,n){var r,i,o,c={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:c[o]=t[o];if(arguments.length>2&&(c.children=arguments.length>3?T.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===c[o]&&(c[o]=e.defaultProps[o]);return a(e,c,r,i,null)}function a(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++B:i};return null==i&&null!=P.vnode&&P.vnode(o),o}function c(){return{current:null}}function s(e){return e.children}function u(e,t){this.props=e,this.context=t}function l(e,t){if(null==t)return e.__?l(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?l(e):null}function f(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return f(e)}}function p(e){(!e.__d&&(e.__d=!0)&&I.push(e)&&!h.__r++||L!==P.debounceRendering)&&((L=P.debounceRendering)||M)(h)}function h(){for(var e;h.__r=I.length;)e=I.sort((function(e,t){return e.__v.__b-t.__v.__b})),I=[],e.some((function(e){var t,n,i,o,a,c;e.__d&&(a=(o=(t=e).__v).__e,(c=t.__P)&&(n=[],(i=r({},o)).__v=o.__v+1,F(c,o,i,t.__n,void 0!==c.ownerSVGElement,null!=o.__h?[a]:null,n,null==a?l(o):a,o.__h),k(n,o),o.__e!=a&&f(o)))}))}function d(e,t,n,r,i,o,c,u,f,p){var h,d,m,v,b,_,w,k=r&&r.__k||U,x=k.length;for(n.__k=[],h=0;h<t.length;h++)if(null!=(v=n.__k[h]=null==(v=t[h])||"boolean"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?a(null,v,null,null,v):Array.isArray(v)?a(s,{children:v},null,null,null):v.__b>0?a(v.type,v.props,v.key,null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(m=k[h])||m&&v.key==m.key&&v.type===m.type)k[h]=void 0;else for(d=0;d<x;d++){if((m=k[d])&&v.key==m.key&&v.type===m.type){k[d]=void 0;break}m=null}F(e,v,m=m||z,i,o,c,u,f,p),b=v.__e,(d=v.ref)&&m.ref!=d&&(w||(w=[]),m.ref&&w.push(m.ref,null,v),w.push(d,v.__c||b,v)),null!=b?(null==_&&(_=b),"function"==typeof v.type&&v.__k===m.__k?v.__d=f=g(v,f,e):f=y(e,v,m,k,b,f),"function"==typeof n.type&&(n.__d=f)):f&&m.__e==f&&f.parentNode!=e&&(f=l(m))}for(n.__e=_,h=x;h--;)null!=k[h]&&("function"==typeof n.type&&null!=k[h].__e&&k[h].__e==n.__d&&(n.__d=l(r,h+1)),O(k[h],k[h]));if(w)for(h=0;h<w.length;h++)C(w[h],w[++h],w[++h])}function g(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?g(r,t,n):y(n,r,r,i,r.__e,t));return t}function m(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){m(e,t)})):t.push(e)),t}function y(e,t,n,r,i,o){var a,c,s;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),a=null;else{for(c=o,s=0;(c=c.nextSibling)&&s<r.length;s+=2)if(c==i)break e;e.insertBefore(i,o),a=o}return void 0!==a?a:i.nextSibling}function v(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||H.test(t)?n:n+"px"}function b(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||v(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||v(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?w:_,o):e.removeEventListener(t,o?w:_,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function _(e){this.l[e.type+!1](P.event?P.event(e):e)}function w(e){this.l[e.type+!0](P.event?P.event(e):e)}function F(e,t,n,i,o,a,c,l,f){var p,h,g,m,y,v,b,_,w,F,k,C,O,j=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(f=n.__h,l=t.__e=n.__e,t.__h=null,a=[l]),(p=P.__b)&&p(t);try{e:if("function"==typeof j){if(_=t.props,w=(p=j.contextType)&&i[p.__c],F=p?w?w.props.value:p.__:i,n.__c?b=(h=t.__c=n.__c).__=h.__E:("prototype"in j&&j.prototype.render?t.__c=h=new j(_,F):(t.__c=h=new u(_,F),h.constructor=j,h.render=S),w&&w.sub(h),h.props=_,h.state||(h.state={}),h.context=F,h.__n=i,g=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=j.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=r({},h.__s)),r(h.__s,j.getDerivedStateFromProps(_,h.__s))),m=h.props,y=h.state,g)null==j.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==j.getDerivedStateFromProps&&_!==m&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(_,F),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(_,h.__s,F)||t.__v===n.__v){h.props=_,h.state=h.__s,t.__v!==n.__v&&(h.__d=!1),h.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),h.__h.length&&c.push(h);break e}null!=h.componentWillUpdate&&h.componentWillUpdate(_,h.__s,F),null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(m,y,v)}))}if(h.context=F,h.props=_,h.__v=t,h.__P=e,k=P.__r,C=0,"prototype"in j&&j.prototype.render)h.state=h.__s,h.__d=!1,k&&k(t),p=h.render(h.props,h.state,h.context);else do{h.__d=!1,k&&k(t),p=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++C<25);h.state=h.__s,null!=h.getChildContext&&(i=r(r({},i),h.getChildContext())),g||null==h.getSnapshotBeforeUpdate||(v=h.getSnapshotBeforeUpdate(m,y)),O=null!=p&&p.type===s&&null==p.key?p.props.children:p,d(e,Array.isArray(O)?O:[O],t,n,i,o,a,c,l,f),h.base=t.__e,t.__h=null,h.__h.length&&c.push(h),b&&(h.__E=h.__=null),h.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=x(n.__e,t,n,i,o,a,c,f);(p=P.diffed)&&p(t)}catch(e){t.__v=null,(f||null!=a)&&(t.__e=l,t.__h=!!f,a[a.indexOf(l)]=null),P.__e(e,t,n)}}function k(e,t){P.__c&&P.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){P.__e(e,t.__v)}}))}function x(e,t,n,r,o,a,c,s){var u,f,p,h=n.props,g=t.props,m=t.type,y=0;if("svg"===m&&(o=!0),null!=a)for(;y<a.length;y++)if((u=a[y])&&"setAttribute"in u==!!m&&(m?u.localName===m:3===u.nodeType)){e=u,a[y]=null;break}if(null==e){if(null===m)return document.createTextNode(g);e=o?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,g.is&&g),a=null,s=!1}if(null===m)h===g||s&&e.data===g||(e.data=g);else{if(a=a&&T.call(e.childNodes),f=(h=n.props||z).dangerouslySetInnerHTML,p=g.dangerouslySetInnerHTML,!s){if(null!=a)for(h={},y=0;y<e.attributes.length;y++)h[e.attributes[y].name]=e.attributes[y].value;(p||f)&&(p&&(f&&p.__html==f.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||b(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||b(e,o,t[o],n[o],r)}(e,g,h,o,s),p)t.__k=[];else if(y=t.props.children,d(e,Array.isArray(y)?y:[y],t,n,r,o&&"foreignObject"!==m,a,c,a?a[0]:n.__k&&l(n,0),s),null!=a)for(y=a.length;y--;)null!=a[y]&&i(a[y]);s||("value"in g&&void 0!==(y=g.value)&&(y!==e.value||"progress"===m&&!y||"option"===m&&y!==h.value)&&b(e,"value",y,h.value,!1),"checked"in g&&void 0!==(y=g.checked)&&y!==e.checked&&b(e,"checked",y,h.checked,!1))}return e}function C(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){P.__e(e,n)}}function O(e,t,n){var r,o;if(P.unmount&&P.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||C(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){P.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&O(r[o],t,"function"!=typeof e.type);n||null==e.__e||i(e.__e),e.__e=e.__d=void 0}function S(e,t,n){return this.constructor(e,n)}function j(e,t,n){var r,i,a;P.__&&P.__(e,t),i=(r="function"==typeof n)?null:n&&n.__k||t.__k,a=[],F(t,e=(!r&&n||t).__k=o(s,null,[e]),i||z,z,void 0!==t.ownerSVGElement,!r&&n?[n]:i?null:t.firstChild?T.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r),k(a,e)}function E(e,t){j(e,t,E)}function A(e,t,n){var i,o,c,s=r({},e.props);for(c in t)"key"==c?i=t[c]:"ref"==c?o=t[c]:s[c]=t[c];return arguments.length>2&&(s.children=arguments.length>3?T.call(arguments,2):n),a(e.type,s,i||e.key,o||e.ref,null)}function D(e,t){var n={__c:t="__cC"+N++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(p)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}n.r(t),n.d(t,"render",(function(){return j})),n.d(t,"hydrate",(function(){return E})),n.d(t,"createElement",(function(){return o})),n.d(t,"h",(function(){return o})),n.d(t,"Fragment",(function(){return s})),n.d(t,"createRef",(function(){return c})),n.d(t,"isValidElement",(function(){return R})),n.d(t,"Component",(function(){return u})),n.d(t,"cloneElement",(function(){return A})),n.d(t,"createContext",(function(){return D})),n.d(t,"toChildArray",(function(){return m})),n.d(t,"options",(function(){return P}));var T,P,B,R,I,M,L,N,z={},U=[],H=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;T=U.slice,P={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},B=0,R=function(e){return null!=e&&void 0===e.constructor},u.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=r({},this.state),"function"==typeof e&&(e=e(r({},n),this.props)),e&&r(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),p(this))},u.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),p(this))},u.prototype.render=s,I=[],M="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,h.__r=0,N=0},jMw0:function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e){return Array.isArray?Array.isArray(e):"[object Array]"===y(e)}function p(e){return"string"==typeof e}function h(e){return"number"==typeof e}function d(e){return!0===e||!1===e||function(e){return function(e){return"object"==l(e)}(e)&&null!==e}(e)&&"[object Boolean]"==y(e)}function g(e){return null!=e}function m(e){return!e.trim().length}function y(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function v(e){var t=null,n=null,r=null,i=1;if(p(e)||f(e))r=e,t=b(e),n=_(e);else{if(!ne.call(e,"name"))throw new Error("Missing ".concat("name"," property in key"));var o=e.name;if(r=o,ne.call(e,"weight")&&(i=e.weight)<=0)throw new Error(function(e){return"Property 'weight' in key '".concat(e,"' must be a positive integer")}(o));t=b(o),n=_(o)}return{path:t,id:n,weight:i,src:r}}function b(e){return f(e)?e:e.split(".")}function _(e){return f(e)?e.join("."):e}function w(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.getFn,i=void 0===r?ie.getFn:r,o=new ae({getFn:i});return o.setKeys(e.map(v)),o.setSources(t),o.create(),o}function F(e,t){var n=e.matches;t.matches=[],g(n)&&n.forEach((function(e){if(g(e.indices)&&e.indices.length){var n={indices:e.indices,value:e.value};e.key&&(n.key=e.key.src),e.idx>-1&&(n.refIndex=e.idx),t.matches.push(n)}}))}function k(e,t){t.score=e.score}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.errors,r=void 0===n?0:n,i=t.currentLocation,o=void 0===i?0:i,a=t.expectedLocation,c=void 0===a?0:a,s=t.distance,u=void 0===s?ie.distance:s,l=t.ignoreLocation,f=void 0===l?ie.ignoreLocation:l,p=r/e.length;if(f)return p;var h=Math.abs(c-o);return u?p+h/u:h?1:p}function C(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.location,o=void 0===i?ie.location:i,a=r.distance,c=void 0===a?ie.distance:a,s=r.threshold,u=void 0===s?ie.threshold:s,l=r.findAllMatches,f=void 0===l?ie.findAllMatches:l,p=r.minMatchCharLength,h=void 0===p?ie.minMatchCharLength:p,d=r.includeMatches,g=void 0===d?ie.includeMatches:d,m=r.ignoreLocation,y=void 0===m?ie.ignoreLocation:m;if(t.length>32)throw new Error("Pattern length exceeds max of ".concat(32,"."));for(var v,b=t.length,_=e.length,w=Math.max(0,Math.min(o,_)),F=u,k=w,C=h>1||g,O=C?Array(_):[];(v=e.indexOf(t,k))>-1;){var S=x(t,{currentLocation:v,expectedLocation:w,distance:c,ignoreLocation:y});if(F=Math.min(S,F),k=v+b,C)for(var j=0;j<b;)O[v+j]=1,j+=1}k=-1;for(var E=[],A=1,D=b+_,T=1<<b-1,P=0;P<b;P+=1){for(var B=0,R=D;B<R;)x(t,{errors:P,currentLocation:w+R,expectedLocation:w,distance:c,ignoreLocation:y})<=F?B=R:D=R,R=Math.floor((D-B)/2+B);D=R;var I=Math.max(1,w-R+1),M=f?_:Math.min(w+R,_)+b,L=Array(M+2);L[M+1]=(1<<P)-1;for(var N=M;N>=I;N-=1){var z=N-1,U=n[e.charAt(z)];if(C&&(O[z]=+!!U),L[N]=(L[N+1]<<1|1)&U,P&&(L[N]|=(E[N+1]|E[N])<<1|1|E[N+1]),L[N]&T&&(A=x(t,{errors:P,currentLocation:z,expectedLocation:w,distance:c,ignoreLocation:y}))<=F){if(F=A,(k=z)<=w)break;I=Math.max(1,2*w-k)}}if(x(t,{errors:P+1,currentLocation:w,expectedLocation:w,distance:c,ignoreLocation:y})>F)break;E=L}var H={isMatch:k>=0,score:Math.max(.001,A)};if(C){var q=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ie.minMatchCharLength,n=[],r=-1,i=-1,o=0,a=e.length;o<a;o+=1){var c=e[o];c&&-1===r?r=o:c||-1===r||((i=o-1)-r+1>=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(O,h);q.length?g&&(H.indices=q):H.isMatch=!1}return H}function O(e){for(var t={},n=0,r=e.length;n<r;n+=1){var i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}function S(e,t){for(var n=0,r=se.length;n<r;n+=1){var i=se[n];if(i.condition(e,t))return new i(e,t)}return new ce(e,t)}function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j.apply(this,arguments)}function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}function A(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function D(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){function o(e){A(c,r,i,o,a,"next",e)}function a(e){A(c,r,i,o,a,"throw",e)}var c=e.apply(t,n);o(void 0)}))}}function T(e,t,n,r){Fe[t]?(Fe[t].followDistance>n&&(Fe[t].followDistance=n),Fe[t].followers.add(r)):(Fe[t]={key:t,followDistance:n,followers:new Set(r&&[r])},G.a.public.user(t).get("profile").get("name").on((function(n){Fe[t].name=n,G.a.local.get("contacts").get(t).get("name").put(n),e&&e(t,Fe[t])}))),G.a.local.get("contacts").get(t).put({followDistance:Fe[t].followDistance,followerCount:Fe[t].followers.size}),e&&e(t,Fe[t]),Ce(),Se(),je()}function P(e,t,n){Fe[e]&&(Fe[e].followers.delete(n),1===t&&G.a.local.get("groups").get("follows").get(e).put(!1),Se(),je())}function B(e){function t(){i!==le.pub&&q(r,window.location.href),te.a.defer((function(){return Object(Z.route)("/chat/".concat(r))})),window.history.pushState({},"Iris Chat","/".concat(window.location.href.substring(window.location.href.lastIndexOf("/")+1).split("?")[0]))}var n=!!le;le=e,localStorage.setItem("chatKeyPair",JSON.stringify(e)),X.a.Channel.initUser(G.a.public,le),Y.a.subscribeToWebPush(),Y.a.getWebPushSubscriptions(),Y.a.subscribeToIrisNotifications(),X.a.Channel.getMyChatLinks(G.a.public,le,void 0,(function(e){G.a.local.get("chatLinks").get(e.id).put(e.url),he=e.url})),function(){var e=window.location.hash;X.a.Channel.setActivity(G.a.public,ge="active");var t=te.a.debounce((function(){var t=e&&ke[e.replace("#/profile/","").replace("#/chat/","")];t&&!ge&&t.setMyMsgsLastSeenTime(),X.a.Channel.setActivity(G.a.public,ge="active"),clearTimeout(de),de=setTimeout((function(){return X.a.Channel.setActivity(G.a.public,ge="online")}),3e4)}),1e3);document.addEventListener("touchmove",t),document.addEventListener("mousemove",t),document.addEventListener("keypress",t),document.addEventListener("visibilitychange",(function(){if("visible"===document.visibilityState){X.a.Channel.setActivity(G.a.public,ge="active");var t=location.pathname.slice(1).replace("chat/",""),n=e&&ke[t];n&&(n.setMyMsgsLastSeenTime(),Y.a.changeChatUnseenCount(t,0))}else X.a.Channel.setActivity(G.a.public,ge="online")})),t(),window.addEventListener("beforeunload",(function(){X.a.Channel.setActivity(G.a.public,ge=null)}))}(),X.a.Channel.getChannels(G.a.public,le,W);var r=J.a.getUrlParameter("chatWith")||J.a.getUrlParameter("channelId"),i=J.a.getUrlParameter("inviter");r&&(i?setTimeout(t,2e3):t()),G.a.public.user().get("profile").get("name").on((function(e){e&&"string"==typeof e&&(fe=e)})),G.a.public.user().get("profile").get("photo").on((function(e){pe=e})),Y.a.init(),G.a.local.get("loggedIn").put(!0),G.a.local.get("settings").once().then((function(e){e||G.a.local.get("settings").put(xe.local)})),G.a.public.user().get("block").map().on((function(e,t){G.a.local.get("block").get(t).put(e),e&&delete Fe[t]})),Oe((function(e,t){t.followDistance<=1?G.a.local.get("groups").get("follows").get(e).put(!0):2==t.followDistance&&G.a.local.get("groups").get("2ndDegreeFollows").get(e).put(!0),G.a.local.get("groups").get("everyone").get(e).put(!0),e===N()&&je()})),n&&location.reload(),G.a.electron&&(G.a.electron.get("settings").on((function(e){G.a.local.get("settings").get("electron").put(e),e.publicIp&&Object.values(ke).forEach(U)})),G.a.electron.get("user").put(le.pub)),G.a.local.get("filters").get("group").once().then((function(e){e||G.a.local.get("filters").get("group").put("follows")}))}function R(){return I.apply(this,arguments)}function I(){return(I=D((function*(){he=yield X.a.Channel.createChatLink(G.a.public,le)}))).apply(this,arguments)}function M(){return new Promise((function(e){var t,n,r=window.indexedDB.deleteDatabase("State.local"),i=window.indexedDB.deleteDatabase("radata"),o=function(){t&&n&&e()};r.onerror=i.onerror=function(e){return console.error(e)},r.onsuccess=function(){t=!0,o()},i.onsuccess=function(){n=!0,o()}}))}function L(){return(L=D((function*(){if(Object(Z.route)("/"),G.a.electron&&G.a.electron.get("user").put(null),navigator.serviceWorker){var e=yield navigator.serviceWorker.getRegistration();if(e&&e.pushManager){e.active.postMessage({key:null});var t=yield e.pushManager.getSubscription();if(t){var n=yield X.a.util.getHash(JSON.stringify(t));Y.a.removeSubscription(n),t.unsubscribe&&t.unsubscribe()}}}M(),localStorage.clear(),we.a.clear().then((function(){location.reload()}))}))).apply(this,arguments)}function N(){return le&&le.pub}function z(e){return e=e||J.a.generateName(),console.log("loginAsNewUser name",e),V.a.SEA.pair().then((function(t){B(t),G.a.public.user().get("profile").put({a:null}),G.a.public.user().get("profile").get("name").put(e),G.a.local.get("filters").put({a:null}),G.a.local.get("filters").get("group").put("follows"),R()}))}function U(){return H.apply(this,arguments)}function H(){return(H=D((function*(e){var t=yield G.a.local.get("settings").get("electron").get("publicIp").once();t&&e.put&&e.put("my_peer",Ee(t))}))).apply(this,arguments)}function q(e,t){if(e&&!Object.prototype.hasOwnProperty.call(ke,e)){var n=new X.a.Channel({gun:G.a.public,key:le,chatLink:t,participants:e});return W(n),n}}function W(e){var t=e.getId();if(!ke[t]){ke[t]=e;var n=G.a.local.get("channels").get(t);if(n.get("latestTime").on((function(t){t&&(!e.latestTime||t>e.latestTime)&&(e.latestTime=t)})),n.get("theirMsgsLastSeenTime").on((function(t){if(t){var n=new Date(t);(!e.theirMsgsLastSeenDate||e.theirMsgsLastSeenDate<n)&&(e.theirMsgsLastSeenDate=n)}})),e.messageIds=e.messageIds||{},e.getLatestMsg&&e.getLatestMsg((function(e,n){K(t,e,n)})),Y.a.changeChatUnseenCount(t,0),e.notificationSetting="all",e.onMy("notificationSetting",(function(t){e.notificationSetting=t})),e.theirMsgsLastSeenTime="",e.getTheirMsgsLastSeenTime((function(t){e&&t&&t>=e.theirMsgsLastSeenTime&&(e.theirMsgsLastSeenTime=t,n.get("theirMsgsLastSeenTime").put(t))})),e.getMyMsgsLastSeenTime((function(n){e.myLastSeenTime=new Date(n),e.latest&&e.myLastSeenTime>=e.latest.time&&Y.a.changeChatUnseenCount(t,0),Q.a.askForPeers(t)})),e.isTyping=!1,e.getTyping((function(n){e.isTyping=n,G.a.local.get("channels").get(t).get("isTyping").put(n)})),e.online={},X.a.Channel.getActivity(G.a.public,t,(function(t){e&&(n.put({theirLastActiveTime:t&&t.lastActive,activity:t&&t.isActive&&t.status}),e.activity=t)})),e.uuid){var r=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches;e.participantProfiles={},e.on("name",(function(t){return G.a.local.get("channels").get(e.uuid).get("name").put(t)})),e.on("photo",(function(t){return G.a.local.get("channels").get(e.uuid).get("photo").put(t)})),e.on("about",(function(t){return G.a.local.get("channels").get(e.uuid).get("about").put(t)})),e.getParticipants((function(t){if("object"===E(t)){var n=Object.keys(t);n.forEach((function(i,o){var a=360/Math.max(n.length,2)*o;e.participantProfiles[i]={permissions:t[i],color:"hsl(".concat(a,", 98%, ").concat(r?80:33,"%)")},G.a.public.user(i).get("profile").get("name").on((function(t){e.participantProfiles[i].name=t}))}))}G.a.local.get("channels").get(e.uuid).get("participants").put(null),G.a.local.get("channels").get(e.uuid).get("participants").put(t)})),e.inviteLinks={},e.getChatLinks({callback:function(t){var n=t.url,r=t.id;console.log("got chat link",r,n),e.inviteLinks[r]=n,G.a.local.get("inviteLinksChanged").put(!0)}})}else G.a.local.get("groups").get("everyone").get(t).put(!0),T(null,t,-1),G.a.public.user(t).get("profile").get("name").on((function(e){return G.a.local.get("channels").get(t).get("name").put(e)}));if(e.put){e.onTheir("webPushSubscriptions",(function(n,r,i){Array.isArray(n)&&(e.webPushSubscriptions=e.webPushSubscriptions||{},e.webPushSubscriptions[i||t]=n)}));var i=Object.values(Y.a.webPushSubscriptions);setTimeout((function(){return e.put("webPushSubscriptions",i)}),5e3),U(e)}e.onTheir("call",(function(e){G.a.local.get("call").put({pub:t,call:e})})),G.a.local.get("channels").get(t).put({enabled:!0})}}function K(e,t,n){var r=ke[e];r.messageIds[t.time+n.from]||(r.messageIds[t.time+n.from]=!0,n&&(t=j(t,n)),t.selfAuthored=n.selfAuthored,G.a.local.get("channels").get(e).get("msgs").get(t.time+(t.from&&t.from.slice(0,10))).put(JSON.stringify(t)),t.timeObj=new Date(t.time),!n.selfAuthored&&t.timeObj>(r.myLastSeenTime||-1/0)&&(window.location.hash!=="#/chat/".concat(e)||"visible"!==document.visibilityState?Y.a.changeChatUnseenCount(e,1):"active"===ge&&r.setMyMsgsLastSeenTime()),!n.selfAuthored&&t.time>r.theirMsgsLastSeenTime&&G.a.local.get("channels").get(e).get("theirMsgsLastSeenTime").put(t.time),(!r.latestTime||t.time>r.latestTime)&&G.a.local.get("channels").get(e).put({latestTime:t.time,latest:{time:t.time,text:t.text,selfAuthored:n.selfAuthored}}),Y.a.notifyMsg(t,n,e))}var $=n("wCQ/"),V=n.n($),G=n("lBHI"),Y=n("Pidb"),J=n("aKPg"),Q=n("HEoH"),Z=n("Y3FI"),X=n("o5ls"),ee=n("9va6"),te=n.n(ee),ne=Object.prototype.hasOwnProperty,re=function(){function e(e){var t=this;this._keys=[],this._keyMap={};var n=0;e.forEach((function(e){var r=v(e);n+=r.weight,t._keys.push(r),t._keyMap[r.id]=r,n+=r.weight})),this._keys.forEach((function(e){e.weight/=n}))}return u(e,[{key:"get",value:function(e){return this._keyMap[e]}},{key:"keys",value:function(){return this._keys}},{key:"toJSON",value:function(){return JSON.stringify(this._keys)}}]),e}(),ie=a({isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:function(e,t){return e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100},{useExtendedSearch:!1,getFn:function(e,t){var n=[],r=!1;return function e(t,i,o){if(i[o]){var a=t[i[o]];if(!g(a))return;if(o===i.length-1&&(p(a)||h(a)||d(a)))n.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(a));else if(f(a)){r=!0;for(var c=0,s=a.length;c<s;c+=1)e(a[c],i,o+1)}else i.length&&e(a,i,o+1)}else n.push(t)}(e,p(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1}),oe=/[^ ]+/g,ae=function(){function e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getFn,n=void 0===t?ie.getFn:t;this.norm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3,t=new Map;return{get:function(n){var r=n.match(oe).length;if(t.has(r))return t.get(r);var i=parseFloat((1/Math.sqrt(r)).toFixed(e));return t.set(r,i),i},clear:function(){t.clear()}}}(3),this.getFn=n,this.isCreated=!1,this.setIndexRecords()}return u(e,[{key:"setSources",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}},{key:"setIndexRecords",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}},{key:"setKeys",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=t,this._keysMap={},t.forEach((function(t,n){e._keysMap[t.id]=n}))}},{key:"create",value:function(){var e=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,p(this.docs[0])?this.docs.forEach((function(t,n){e._addString(t,n)})):this.docs.forEach((function(t,n){e._addObject(t,n)})),this.norm.clear())}},{key:"add",value:function(e){var t=this.size();p(e)?this._addString(e,t):this._addObject(e,t)}},{key:"removeAt",value:function(e){this.records.splice(e,1);for(var t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}},{key:"getValueForItemAtKeyId",value:function(e,t){return e[this._keysMap[t]]}},{key:"size",value:function(){return this.records.length}},{key:"_addString",value:function(e,t){if(g(e)&&!m(e)){var n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}}},{key:"_addObject",value:function(e,t){var n=this,r={i:t,$:{}};this.keys.forEach((function(t,i){var o=n.getFn(e,t.path);if(g(o))if(f(o))!function(){for(var e=[],t=[{nestedArrIndex:-1,value:o}];t.length;){var a=t.pop(),c=a.nestedArrIndex,s=a.value;if(g(s))if(p(s)&&!m(s)){var u={v:s,i:c,n:n.norm.get(s)};e.push(u)}else f(s)&&s.forEach((function(e,n){t.push({nestedArrIndex:n,value:e})}))}r.$[i]=e}();else if(!m(o)){var a={v:o,n:n.norm.get(o)};r.$[i]=a}})),this.records.push(r)}},{key:"toJSON",value:function(){return{keys:this.keys,records:this.records}}}]),e}(),ce=function(){function e(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.location,i=void 0===r?ie.location:r,o=n.threshold,a=void 0===o?ie.threshold:o,c=n.distance,s=void 0===c?ie.distance:c,u=n.includeMatches,l=void 0===u?ie.includeMatches:u,f=n.findAllMatches,p=void 0===f?ie.findAllMatches:f,h=n.minMatchCharLength,d=void 0===h?ie.minMatchCharLength:h,g=n.isCaseSensitive,m=void 0===g?ie.isCaseSensitive:g,y=n.ignoreLocation,v=void 0===y?ie.ignoreLocation:y;if(this.options={location:i,threshold:a,distance:s,includeMatches:l,findAllMatches:p,minMatchCharLength:d,isCaseSensitive:m,ignoreLocation:v},this.pattern=m?e:e.toLowerCase(),this.chunks=[],this.pattern.length){var b=function(e,n){t.chunks.push({pattern:e,alphabet:O(e),startIndex:n})},_=this.pattern.length;if(_>32){for(var w=0,F=_%32,k=_-F;w<k;)b(this.pattern.substr(w,32),w),w+=32;if(F){var x=_-32;b(this.pattern.substr(x),x)}}else b(this.pattern,0)}}return u(e,[{key:"searchIn",value:function(e){var t=this.options,n=t.includeMatches;if(t.isCaseSensitive||(e=e.toLowerCase()),this.pattern===e){var i={isMatch:!0,score:0};return n&&(i.indices=[[0,e.length-1]]),i}var o=this.options,a=o.location,c=o.distance,s=o.threshold,u=o.findAllMatches,l=o.minMatchCharLength,f=o.ignoreLocation,p=[],h=0,d=!1;this.chunks.forEach((function(t){var i=C(e,t.pattern,t.alphabet,{location:a+t.startIndex,distance:c,threshold:s,findAllMatches:u,minMatchCharLength:l,includeMatches:n,ignoreLocation:f}),o=i.isMatch,g=i.indices;o&&(d=!0),h+=i.score,o&&g&&(p=[].concat(r(p),r(g)))}));var g={isMatch:d,score:d?h/this.chunks.length:1};return d&&n&&(g.indices=p),g}}]),e}(),se=[],ue=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(this.options=a(a({},ie),t),this.options.useExtendedSearch)throw new Error("Extended search is not available");this._keyStore=new re(this.options.keys),this.setCollection(e,n)}return u(e,[{key:"setCollection",value:function(e,t){if(this._docs=e,t&&!(t instanceof ae))throw new Error("Incorrect 'index' type");this._myIndex=t||w(this.options.keys,this._docs,{getFn:this.options.getFn})}},{key:"add",value:function(e){g(e)&&(this._docs.push(e),this._myIndex.add(e))}},{key:"remove",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},t=[],n=0,r=this._docs.length;n<r;n+=1){var i=this._docs[n];e(i,n)&&(this.removeAt(n),n-=1,t.push(i))}return t}},{key:"removeAt",value:function(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}},{key:"getIndex",value:function(){return this._myIndex}},{key:"search",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.limit,r=void 0===n?-1:n,i=this.options,o=i.includeMatches,a=i.includeScore,c=i.shouldSort,s=i.sortFn,u=i.ignoreFieldNorm,l=p(e)?p(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,t){var n=t.ignoreFieldNorm,r=void 0===n?ie.ignoreFieldNorm:n;e.forEach((function(e){var t=1;e.matches.forEach((function(e){var n=e.key,i=e.score,o=n?n.weight:null;t*=Math.pow(0===i&&o?Number.EPSILON:i,(o||1)*(r?1:e.norm))})),e.score=t}))}(l,{ignoreFieldNorm:u}),c&&l.sort(s),h(r)&&r>-1&&(l=l.slice(0,r)),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.includeMatches,i=void 0===r?ie.includeMatches:r,o=n.includeScore,a=void 0===o?ie.includeScore:o,c=[];return i&&c.push(F),a&&c.push(k),e.map((function(e){var n=e.idx,r={item:t[n],refIndex:n};return c.length&&c.forEach((function(t){t(e,r)})),r}))}(l,this._docs,{includeMatches:o,includeScore:a})}},{key:"_searchStringList",value:function(e){var t=S(e,this.options),n=[];return this._myIndex.records.forEach((function(e){var r=e.v,i=e.i,o=e.n;if(g(r)){var a=t.searchIn(r);a.isMatch&&n.push({item:r,idx:i,matches:[{score:a.score,value:r,norm:o,indices:a.indices}]})}})),n}},{key:"_searchLogical",value:function(){throw new Error("Logical search is not available")}},{key:"_searchObjectList",value:function(e){var t=this,n=S(e,this.options),i=this._myIndex,o=i.keys,a=[];return i.records.forEach((function(e){var i=e.$,c=e.i;if(g(i)){var s=[];o.forEach((function(e,o){s.push.apply(s,r(t._findMatches({key:e,value:i[o],searcher:n})))})),s.length&&a.push({idx:c,item:i,matches:s})}})),a}},{key:"_findMatches",value:function(e){var t=e.key,n=e.value,r=e.searcher;if(!g(n))return[];var i=[];if(f(n))n.forEach((function(e){var n=e.v,o=e.i,a=e.n;if(g(n)){var c=r.searchIn(n);c.isMatch&&i.push({score:c.score,key:t,value:n,idx:o,norm:a,indices:c.indices})}}));else{var o=n.v,a=n.n,c=r.searchIn(o);c.isMatch&&i.push({score:c.score,key:t,value:o,norm:a,indices:c.indices})}return i}}]),e}();ue.version="6.4.1",ue.createIndex=w,ue.parseIndex=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getFn,r=void 0===n?ie.getFn:n,i=e.keys,o=e.records,a=new ae({getFn:r});return a.setKeys(i),a.setIndexRecords(o),a},ue.config=ie;var le,fe,pe,he,de,ge,me,ye,ve,be=ue,_e=n("XgYJ"),we=n.n(_e),Fe={},ke=window.channels={},xe={electron:{openAtLogin:!0,minimizeOnClose:!0},local:{enableWebtorrent:!X.a.util.isMobile,enablePublicPeerDiscovery:!0,autoplayWebtorrent:!0,maxConnectedPeers:J.a.isElectron?3:2}},Ce=te.a.throttle((function(){var e=Object.values(te.a.omit(Fe,Object.keys(G.a.getBlockedUsers())));ve=new be(e,{keys:["name"],includeScore:!0,includeMatches:!0,threshold:.3})}),3e3,{leading:!0}),Oe=te.a.throttle((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return T(e,t=t||le.pub,r-1),G.a.public.user(t).get("follow").map().on((function(i,o){i?(T(e,o,r,t),r<n&&te.a.defer((function(){return Oe(e,o,n,r+1)}))):P(o,r,t)})),Fe}),2e3),Se=te.a.debounce((function(){var e=Object.keys(Fe).length<=1;e!==me&&(me=e,G.a.local.get("noFollows").put(me))}),1e3),je=te.a.debounce((function(){var e=!(Fe[le.pub]&&Fe[le.pub].followers.size>0);e!==ye&&(ye=e,G.a.local.get("noFollowers").put(ye))}),1e3),Ee=function(e){return"http://".concat(e,":8767/gun")};t.a={init:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=localStorage.getItem("chatKeyPair");t?B(JSON.parse(t)):e.autologin?z():M(),setTimeout((function(){G.a.local.get("block").map((function(){Ce()})),Ce()}))},followChatLink:function(e){if(e&&0===e.indexOf("http")){var t,n=e.split("?");if(2===n.length&&(t=J.a.getUrlParameter("chatWith",n[1])||J.a.getUrlParameter("channelId",n[1])),t)return q(t,e),Object(Z.route)("/chat/".concat(t)),!0;if(0===e.indexOf("https://iris.to"))return Object(Z.route)(e.replace("https://iris.to","")),!0}},getKey:function(){return le},getPubKey:N,updateUserSearchIndex:Ce,getUserSearchIndex:function(){return ve},getMyName:function(){return fe},getMyProfilePhoto:function(){return pe},getMyChatLink:function(){return he||J.a.getProfileLink(le.pub)},createChatLink:R,ourActivity:ge,login:B,logOut:function(){return L.apply(this,arguments)},addFollow:T,removeFollow:P,loginAsNewUser:z,DEFAULT_SETTINGS:xe,channels:ke,newChannel:q,addChannel:W,processMessage:K,subscribeToMsgs:function(e){var t=ke[e];t.subscribed||(t.subscribed=!0,t.getMessages((function(t,n){K(e,t,n)})))}}},jg5f:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function o(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f,p,h,d,g=n("hosL"),m=n("aKPg"),y=n("4Iz4"),v=n("3rgF"),b=n("L8Yj"),_=n("kv13"),w=n("qIEf"),F=n.n(w),k=function(e){function t(){return k.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e);var r,u,l,g,w,k=s(t);return r=t,u=[{key:"useProfilePhotoClicked",value:(g=function*(){var e=this,t=this.cropper.getCroppedCanvas(),r=document.createElement("canvas");r.width=r.height=Math.min(t.width,800),(0,(yield n.e(1).then(n.t.bind(null,"+/t2",7))).default)().resize(t,r).then((function(){var t=r.toDataURL("image/jpeg");e.props.callback&&e.props.callback(t),e.setState({preview:null})}))},w=function(){var e=this,t=arguments;return new Promise((function(n,r){function i(e){o(c,n,r,i,a,"next",e)}function a(e){o(c,n,r,i,a,"throw",e)}var c=g.apply(e,t);i(void 0)}))},function(){return w.apply(this,arguments)})},{key:"cancelProfilePhotoClicked",value:function(){this.setState({preview:null})}},{key:"clickProfilePhotoInput",value:function(){F()("#profile-photo-input").click()}},{key:"onProfilePhotoInputChange",value:function(e){var t=this,n=e.target.files;n&&n.length&&m.a.getBase64(n[0]).then((function(e){t.setState({preview:e})})),F()(e.target).val("")}},{key:"componentDidUpdate",value:function(){var e=this;this.cropper&&this.cropper.destroy(),this.state.preview&&n.e(8).then(n.t.bind(null,"SkLh",7)).then((function(t){e.cropper=new t.default(F()("#profile-photo-preview")[0],{aspectRatio:1,autoCropArea:1,viewMode:1,background:!1,zoomable:!1})}))}},{key:"render",value:function(){var e=this,t=this.state.preview?"":Object(y.a)(f||(f=i(["<",' class="picker profile-photo" src='," onClick=","/>"])),b.a,this.props.currentPhoto,(function(){return e.clickProfilePhotoInput()})),n=this.state.preview?Object(y.a)(p||(p=i(['<img id="profile-photo-preview" src=',"/>"])),this.state.preview):"",r=this.props.currentPhoto||this.state.preview?"":Object(y.a)(h||(h=i(['<div class="picker profile-photo"><'," str="," width=250 onClick=","/></div>"])),_.a,this.props.placeholder,(function(){return e.clickProfilePhotoInput()}));return Object(y.a)(d||(d=i(['\n      <div class="profile-photo-picker ','">\n        ',"\n        ",'\n        <div id="profile-photo-preview-container">\n          ','\n        </div>\n        <p>\n          <input name="profile-photo-input" type="file" class="hidden" id="profile-photo-input" onChange=',' accept="image/*"/>\n        </p>\n        <p id="profile-photo-error" class="','">',"</p>\n        <p class=",'>\n          <button id="cancel-profile-photo" onClick=',">",'</button>\n          <button id="use-profile-photo" onClick=',">","</button>\n        </p>\n      </div>\n    "])),this.state.preview?"open":"",t,r,n,(function(t){return e.onProfilePhotoInputChange(t)}),this.state.hasError?"":"hidden",Object(v.c)("profile_photo_too_big"),this.state.preview?"":"hidden",(function(){return e.cancelProfilePhotoClicked()}),Object(v.c)("cancel"),(function(){return e.useProfilePhotoClicked()}),Object(v.c)("use_photo"))}}],u&&a(r.prototype,u),l&&a(r,l),Object.defineProperty(r,"prototype",{writable:!1}),t}(g.Component);t.a=k},kIWK:function(e,t,n){"use strict";(function(e){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){function a(e){i(s,r,o,a,c,"next",e)}function c(e){i(s,r,o,a,c,"throw",e)}var s=e.apply(t,n);a(void 0)}))}}function a(e){return c.apply(this,arguments)}function c(){return c=o((function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.maxBreadth=n.maxBreadth||50,n.cache=n.cache||{},e.then().then((function(i){if(t<1||!i||"object"!==r(i)||i.constructor===Array)return i;var o=0,c=Object.keys(i).map((function(r){if(u.a.val.link.is(i[r])&&!(++o>=n.maxBreadth))return n.cache[r]?n.cache[r].then((function(e){i[r]=e})):n.cache[r]=a(e.get(r),t-1,n).then((function(e){i[r]=e}))}));return Promise.all(c).then((function(){return i}))}))})),c.apply(this,arguments)}var s=n("wCQ/"),u=n.n(s),l=(n("VJyh"),!1);try{l="[object process]"===Object.prototype.toString.call(e.process)}catch(e){}var f,p=!l&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase(),h=p&&p.indexOf(" electron/")>-1,d=!l&&function(){if(h)return!1;var e,t=!1;return e=navigator.userAgent||navigator.vendor||window.opera||"",(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0),t}();t.a={loadGunDepth:a,gunOnceDefined:function(e){return new Promise((function(t){e.on((function(e,n,r,i){void 0!==e&&(i.off(),t(e))}))}))},gunAsAnotherUser:function(e,t,n){var r=new u.a({radisk:!1,peers:Object.keys(e._.opt.peers)}),i=r.user();return i.auth(t),setTimeout((function(){Object.values(r.back("opt.peers")).forEach((function(e){r.on("bye",e)}))}),2e4),n(i)},getHash:(f=o((function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"base64";if(e){var n=yield u.a.SEA.work(e,void 0,void 0,{name:"SHA-256"});if(n.length>44)throw new Error("Gun.SEA.work returned an invalid SHA-256 hash longer than 44 chars: ".concat(n,". This is probably due to a sea.js bug on Safari."));return"hex"===t?this.base64ToHex(n):n}})),function(e){return f.apply(this,arguments)}),base64ToHex:function(e){for(var t=atob(e),n="",r=0;r<t.length;r++){var i=t.charCodeAt(r).toString(16);n+=2===i.length?i:"0".concat(i)}return n},timeoutPromise:function(e,t){return Promise.race([e,new Promise((function(e){setTimeout((function(){e()}),t)}))])},getCaret:function(e){if(e.selectionStart)return e.selectionStart;if(document.selection){e.focus();var t=document.selection.createRange();if(null==t)return 0;var n=e.createTextRange(),r=n.duplicate();return n.moveToBookmark(t.getBookmark()),r.setEndPoint("EndToStart",n),r.text.length}return 0},injectCss:function(){var e="irisStyle";if(!document.getElementById(e)){var t=document.createElement("style");t.id=e,t.innerHTML='\n      .iris-follow-button .hover {\n        display: none;\n      }\n\n      .iris-follow-button.following:hover .hover {\n        display: inline;\n      }\n\n      .iris-follow-button.following:hover .nonhover {\n        display: none;\n      }\n\n      .iris-identicon * {\n        box-sizing: border-box;\n      }\n\n      .iris-identicon {\n        vertical-align: middle;\n        border-radius: 50%;\n        text-align: center;\n        display: inline-block;\n        position: relative;\n        max-width: 100%;\n      }\n\n      .iris-distance {\n        z-index: 2;\n        position: absolute;\n        left:0%;\n        top:2px;\n        width: 100%;\n        text-align: right;\n        color: #fff;\n        text-shadow: 0 0 1px #000;\n        font-size: 75%;\n        line-height: 75%;\n        font-weight: bold;\n      }\n\n      .iris-pie {\n        border-radius: 50%;\n        position: absolute;\n        top: 0;\n        left: 0;\n        box-shadow: 0px 0px 0px 0px #82FF84;\n        padding-bottom: 100%;\n        max-width: 100%;\n        -webkit-transition: all 0.2s ease-in-out;\n        -moz-transition: all 0.2s ease-in-out;\n        transition: all 0.2s ease-in-out;\n      }\n\n      .iris-card {\n        padding: 10px;\n        background-color: #f7f7f7;\n        color: #777;\n        border: 1px solid #ddd;\n        display: flex;\n        flex-direction: row;\n        overflow: hidden;\n      }\n\n      .iris-card a {\n        -webkit-transition: color 150ms;\n        transition: color 150ms;\n        text-decoration: none;\n        color: #337ab7;\n      }\n\n      .iris-card a:hover, .iris-card a:active {\n        text-decoration: underline;\n        color: #23527c;\n      }\n\n      .iris-pos {\n        color: #3c763d;\n      }\n\n      .iris-neg {\n        color: #a94442;\n      }\n\n      .iris-identicon img {\n        position: absolute;\n        top: 0;\n        left: 0;\n        max-width: 100%;\n        border-radius: 50%;\n        border-color: transparent;\n        border-style: solid;\n      }\n\n      .iris-chat-open-button {\n        background-color: #1e1e1e;\n        color: #fff;\n        padding: 15px;\n        cursor: pointer;\n        user-select: none;\n      }\n\n      .iris-chat-open-button svg {\n        width: 1em;\n      }\n\n      .iris-chat-open-button, .iris-chat-box {\n        position: fixed;\n        bottom: 0.5rem;\n        right: 0.5rem;\n        border-radius: 8px;\n        font-family: system-ui;\n        font-size: 15px;\n      }\n\n      .iris-chat-box {\n        background-color: #fff;\n        max-height: 25rem;\n        box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);\n        height: calc(100% - 44px);\n        display: flex;\n        flex-direction: column;\n        width: 320px;\n        color: rgb(38, 38, 38);\n      }\n\n      .iris-chat-box.minimized {\n        height: auto;\n      }\n\n      .iris-chat-box.minimized .iris-chat-header {\n        border-radius: 8px;\n        cursor: pointer;\n      }\n\n      .iris-chat-box.minimized .iris-chat-messages, .iris-chat-box.minimized .iris-typing-indicator, .iris-chat-box.minimized .iris-chat-input-wrapper, .iris-chat-box.minimized .iris-chat-minimize, .iris-chat-box.minimized .iris-chat-close {\n        display: none;\n      }\n\n      .iris-chat-header {\n        background-color: #1e1e1e;\n        height: 44px;\n        color: #fff;\n        border-radius: 8px 8px 0 0;\n        text-align: center;\n        display: flex;\n        flex-direction: row;\n        justify-content: center;\n        align-items: center;\n        flex: none;\n        white-space: nowrap;\n        text-overflow: ellipsis;\n        overflow: hidden;\n      }\n\n      .iris-chat-header-text {\n        flex: 1;\n      }\n\n      .iris-online-indicator {\n        color: #bfbfbf;\n        margin-right: 5px;\n        font-size: 12px;\n        user-select: none;\n        flex: none;\n      }\n\n      .iris-online-indicator.yes {\n        color: #80bf5f;\n      }\n\n      .iris-typing-indicator {\n        display: none;\n        background-color: rgba(255, 255, 255, 0.5);\n        font-size: 12px;\n        padding: 2px;\n        color: #777;\n      }\n\n      .iris-typing-indicator.yes {\n        display: block;\n      }\n\n      .iris-chat-messages {\n        flex: 1;\n        padding: 15px;\n        overflow-y: scroll;\n      }\n\n      .iris-chat-input-wrapper {\n        flex: none;\n        padding: 15px;\n        background-color: #efefef;\n        display: flex;\n        flex-direction: row;\n        border-radius: 0 0 8px 8px;\n      }\n\n      .iris-chat-input-wrapper textarea {\n        padding: 15px 8px;\n        border-radius: 4px;\n        border: 1px solid rgba(0,0,0,0);\n        width: auto;\n        font-size: 15px;\n        resize: none;\n        flex: 1;\n      }\n\n      .iris-chat-input-wrapper textarea:focus {\n        outline: none;\n        border: 1px solid #6dd0ed;\n      }\n\n      .iris-chat-input-wrapper button svg {\n        display: inline-block;\n        font-size: inherit;\n        height: 1em;\n        width: 1em;\n        overflow: visible;\n        vertical-align: -0.125em;\n      }\n\n      .iris-chat-input-wrapper button, .iris-chat-input-wrapper button:hover, .iris-chat-input-wrapper button:active, .iris-chat-input-wrapper button:focus {\n        flex: none;\n        color: #999;\n        background-color: transparent;\n        font-size: 30px;\n        padding: 5px;\n        border: 1px solid rgba(0,0,0,0);\n        border-radius: 4px;\n        margin-left: 5px;\n      }\n\n      .iris-chat-input-wrapper button:active, .iris-chat-input-wrapper button:focus {\n        outline: none;\n        border: 1px solid #6dd0ed;\n      }\n\n      .iris-chat-message {\n        display: flex;\n        flex-direction: column;\n        margin-bottom: 2px;\n        overflow-wrap: break-word;\n      }\n\n      .iris-msg-content {\n        background-color: #efefef;\n        padding: 6px 10px;\n        border-radius: 8px;\n        box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);\n        flex: none;\n        max-width: 75%;\n      }\n\n      .emoji {\n        font-size: 1.3em;\n        line-height: 1em;\n      }\n\n      .iris-chat-message .emoji-only {\n        font-size: 3em;\n        text-align: center;\n      }\n\n      .iris-seen {\n        color: rgba(0, 0, 0, 0.45);\n        user-select: none;\n      }\n\n      .iris-seen.yes {\n        color: #4fc3f7;\n      }\n\n      .iris-seen svg {\n        width: 18px;\n      }\n\n      .iris-delivered-checkmark {\n        display: none;\n      }\n\n      .delivered .iris-delivered-checkmark {\n        display: initial;\n      }\n\n      .iris-chat-minimize, .iris-chat-close {\n        user-select: none;\n        cursor: pointer;\n        width: 45px;\n        line-height: 44px;\n      }\n\n      .iris-chat-message.their {\n        align-items: flex-start;\n      }\n\n      .iris-chat-message.their + .iris-chat-message.our .iris-msg-content, .day-separator + .iris-chat-message.our .iris-msg-content {\n        margin-top: 15px;\n        border-radius: 8px 0px 8px 8px;\n      }\n\n      .iris-chat-message.their:first-of-type .iris-msg-content {\n        border-radius: 0px 8px 8px 8px;\n      }\n\n      .iris-chat-message.our:first-of-type .iris-msg-content {\n        border-radius: 8px 0px 8px 8px;\n      }\n\n      .iris-chat-message.our + .iris-chat-message.their .iris-msg-content, .day-separator + .iris-chat-message.their .iris-msg-content {\n        margin-top: 15px;\n        border-radius: 0px 8px 8px 8px;\n      }\n\n      .iris-chat-message.our {\n        align-items: flex-end;\n      }\n\n      .iris-chat-message.our .iris-msg-content {\n        background-color: #c5ecf7;\n      }\n\n      .iris-chat-message .time {\n        text-align: right;\n        font-size: 12px;\n        color: rgba(0, 0, 0, 0.45);\n      }\n\n      .iris-non-string {\n        color: blue;\n      }\n\n      .day-separator {\n        display: inline-block;\n        border-radius: 8px;\n        background-color: rgba(227, 249, 255, 0.91);\n        padding: 6px 10px;\n        margin-top: 15px;\n        margin-left: auto;\n        margin-right: auto;\n        text-transform: uppercase;\n        font-size: 13px;\n        color: rgba(74, 74, 74, 0.88);\n        box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);\n        user-select: none;\n      }\n\n      .day-separator:first-of-type {\n        margin-top: 0;\n      }\n\n      *[contenteditable="true"]:not(:focus) {\n        cursor: pointer;\n      }\n\n      *[contenteditable="true"] {\n        outline: none;\n      }\n\n      [placeholder]:empty:before {\n        content: attr(placeholder);\n        color: #999;\n      }\n\n      [placeholder]:empty:focus {\n        cursor: text;\n      }\n      ',document.head.prepend(t)}},getUrlParameter:function(e,t){var n,r,i=(t||window.location.search.substring(1)).split("&");for(r=0;r<i.length;r++)if((n=i[r].split("="))[0]===e)return void 0===n[1]||decodeURIComponent(n[1])},formatTime:function(e){var t=e.toLocaleTimeString(void 0,{timeStyle:"short"}),n=t.split(":");return 3===n.length?"".concat(n[0],":").concat(n[1]).concat(n[2].slice(2)):t},formatDate:function(e){var t=e.toLocaleString(void 0,{dateStyle:"short",timeStyle:"short"}),n=t.split(":");return 3===n.length?"".concat(n[0],":").concat(n[1]).concat(n[2].slice(2)):t},debounce:function(e,t,n){var r;return function(){var i=this,o=arguments,a=function(){r=null,n||e.apply(i,o)},c=n&&!r;clearTimeout(r),r=setTimeout(a,t),c&&e.apply(i,o)}},getDaySeparatorText:function(e,t,n,r){if(n||(r=(n=new Date).toLocaleDateString({dateStyle:"short"})),t===r)return"today";var i=Math.round((n-e)/864e5);return i<=1?"yesterday":i<=5?e.toLocaleDateString(void 0,{weekday:"long"}):t},setPublicState:function(e){this.publicState=e},getPublicState:function(){return this.publicState||(this.publicState=new u.a("https://gun-us.herokuapp.com/gun")),this.publicState},createElement:function(e,t,n){var r=document.createElement(e);return t&&r.setAttribute("class",t),n&&n.appendChild(r),r},isNode:l,isElectron:h,isMobile:d}}).call(this,n("pCvA"))},kOPj:function(e,t,n){"use strict";(function(e){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var u=n("5OaP"),l=n("lBHI"),f=n("jMw0"),p=n("kv13"),h=n("xVeL"),d=e("svg",{width:"24",height:"24",viewBox:"0 0 24 24"},e("path",{fill:"currentColor",d:"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm6 13h-5v5h-2v-5h-5v-2h5v-5h2v5h5v2z"}));t.a=function(t){function n(){var e;return(e=u.call(this)).state={unseenMsgsTotal:0,activeRoute:"/"},e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(n,t);var r,c,s,u=a(n);return r=n,(c=[{key:"componentDidMount",value:function(){var e=this;l.a.local.get("unseenMsgsTotal").on(this.inject()),l.a.local.get("activeRoute").on(this.sub((function(t){var n=t.replace("/chat/new","").replace("/chat/","");e.setState({activeRoute:t,chatId:n.length<t.length?n:null})})))}},{key:"render",value:function(){var t=f.a.getPubKey();if(t){var n=this.state.activeRoute;return this.state.chatId?"":e("footer",{class:"visible-xs-flex nav footer"},e("div",{class:"header-content",onClick:function(){return l.a.local.get("scrollUp").put(!0)}},e("a",{href:"/",class:"btn ".concat("/"===n?"active":"")},h.a.home),e("a",{href:"/chat",class:"btn ".concat(0===n.indexOf("/chat")?"active":"")},this.state.unseenMsgsTotal?e("span",{class:"unseen unseen-total"},this.state.unseenMsgsTotal):"",h.a.chat),e("a",{href:"/post/new",class:"btn ".concat("/post/new"===n?"active":"")},d),e("a",{href:"/contacts",class:"btn ".concat("/contacts"===n?"active":"")},h.a.user),e("a",{href:"/profile/".concat(t),class:"".concat(n==="/profile/".concat(t)?"active":""," my-profile")},e(p.a,{str:t,width:34}))))}}}])&&i(r.prototype,c),s&&i(r,s),Object.defineProperty(r,"prototype",{writable:!1}),n}(u.a)}).call(this,n("hosL").h)},kah5:function(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},kv13:function(e,t,n){"use strict";(function(e){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(){return o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=a(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},o.apply(this,arguments)}function a(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return l(e)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h,d=n("5OaP"),g=n("4Iz4"),m=n("lBHI"),y=n("L8Yj"),v=n("o5ls"),b=n("Ymal"),_=n.n(b),w=function(t){function n(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(l(e=d.call.apply(d,[this].concat(n))),"activityTimeout",void 0),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(n,t);var r,a,u,d=s(n);return r=n,(a=[{key:"updateIdenticon",value:function(){var e=this;v.a.util.getHash(this.props.str,"hex").then((function(t){var n=new _.a(t,{width:e.props.width,format:"svg"});e.setState({identicon:"data:image/svg+xml;base64,".concat(n.toString())})}))}},{key:"componentDidMount",value:function(){var e=this,t=this.props.str;t&&(this.updateIdenticon(),this.props.hidePhoto||m.a.public.user(t).get("profile").get("photo").on(this.inject()),this.setState({activity:null}),this.props.showTooltip&&m.a.public.user(this.props.str).get("profile").get("name").on(this.inject()),this.props.activity&&m.a.public.user(this.props.str).get("activity").on(this.sub((function(t){t?t.time&&(new Date).getTime()-new Date(t.time).getTime()<3e4&&(void 0!==e.activityTimeout&&clearTimeout(e.activityTimeout),e.activityTimeout=setTimeout((function(){return e.setState({activity:null})}),3e4),e.setState({activity:t.status})):e.setState({activity:null})}))))}},{key:"componentWillUnmount",value:function(){o(f(n.prototype),"componentWillUnmount",this).call(this),void 0!==this.activityTimeout&&clearTimeout(this.activityTimeout)}},{key:"render",value:function(){var t,n,r,i=this.props.width,o=["online","active"].indexOf(null!==(t=this.state.activity)&&void 0!==t?t:"")>-1?this.state.activity:"",a=this.state.photo&&!this.props.hidePhoto&&0===this.state.photo.indexOf("data:image"),c=a?"has-photo":"",s=this.props.showTooltip?"tooltip":"";return e("div",{onClick:this.props.onClick,style:{position:"relative",width:"".concat(i,"px"),height:"".concat(i,"px"),cursor:this.props.onClick?"pointer":void 0},class:"identicon-container ".concat(c," ").concat(s," ").concat(o)},e("div",{style:{width:i,height:i},class:"identicon"},a?e(y.a,{src:this.state.photo,width:i}):e("img",{width:i,src:this.state.identicon})),this.props.showTooltip&&this.state.name?Object(g.a)(h||(n=['<span class="tooltiptext">',"</span>"],r||(r=n.slice(0)),h=Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(r)}}))),this.state.name):"",this.props.activity?e("div",{class:"online-indicator"}):null)}}])&&i(r.prototype,a),u&&i(r,u),Object.defineProperty(r,"prototype",{writable:!1}),n}(d.a);t.a=w}).call(this,n("hosL").h)},l8WD:function(e,t,n){"use strict";function r(e,t){V.options.__h&&V.options.__h(W,e,G||t),G=0;var n=W.__H||(W.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function i(e){return G=1,o(b,e)}function o(e,t,n){var i=r(q++,2);return i.t=e,i.__c||(i.__=[n?n(t):b(void 0,t),function(e){var t=i.t(i.__[0],e);i.__[0]!==t&&(i.__=[t,i.__[1]],i.__c.setState({}))}],i.__c=W),i.__}function a(e,t){var n=r(q++,3);!V.options.__s&&v(n.__H,t)&&(n.__=e,n.u=t,W.__H.__h.push(n))}function c(e,t){var n=r(q++,4);!V.options.__s&&v(n.__H,t)&&(n.__=e,n.u=t,W.__h.push(n))}function s(e){return G=5,l((function(){return{current:e}}),[])}function u(e,t,n){G=6,c((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function l(e,t){var n=r(q++,7);return v(n.__H,t)?(n.o=e(),n.u=t,n.__h=e,n.o):n.__}function f(e,t){return G=8,l((function(){return e}),t)}function p(e){var t=W.context[e.__c],n=r(q++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(W)),t.props.value):e.__}function h(e,t){V.options.useDebugValue&&V.options.useDebugValue(t?t(e):e)}function d(e){var t=r(q++,10),n=i();return t.__=e,W.componentDidCatch||(W.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function g(){for(var e;e=Y.shift();)if(e.__P)try{e.__H.__h.forEach(m),e.__H.__h.forEach(y),e.__H.__h=[]}catch(t){e.__H.__h=[],V.options.__e(t,e.__v)}}function m(e){var t=W,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),W=t}function y(e){var t=W;e.__c=e.__(),W=t}function v(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function b(e,t){return"function"==typeof t?t(e):t}function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function w(e,t){for(var n in t)e[n]=t[n];return e}function F(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function k(e){this.props=e}function x(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:F(this.props,e)}function r(t){return this.shouldComponentUpdate=n,Object(V.createElement)(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}function C(e){function t(t){var n=w({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=re,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}function O(){this.__u=0,this.t=null,this.__b=null}function S(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function j(e){function t(t){if(n||(n=e()).then((function(e){r=e.default||e}),(function(e){i=e})),i)throw i;if(!r)throw n;return Object(V.createElement)(r,t)}var n,r,i;return t.displayName="Lazy",t.__f=!0,t}function E(){this.u=null,this.o=null}function A(e){return this.getChildContext=function(){return e.context},e.children}function D(e){var t=this,n=e.i;t.componentWillUnmount=function(){Object(V.render)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),Object(V.render)(Object(V.createElement)(A,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function T(e,t){var n=Object(V.createElement)(D,{__v:e,i:t});return n.containerInfo=t,n}function P(e,t,n){return null==t.__k&&(t.textContent=""),Object(V.render)(e,t),"function"==typeof n&&n(),e?e.__c:null}function B(e,t,n){return Object(V.hydrate)(e,t),"function"==typeof n&&n(),e?e.__c:null}function R(){}function I(){return this.cancelBubble}function M(){return this.defaultPrevented}function L(e){return V.createElement.bind(null,e)}function N(e){return!!e&&e.$$typeof===ue}function z(e){return N(e)?V.cloneElement.apply(null,arguments):e}function U(e){return!!e.__k&&(Object(V.render)(null,e),!0)}function H(e){return e&&(e.base||1===e.nodeType&&e)||null}n.r(t),n.d(t,"useState",(function(){return i})),n.d(t,"useReducer",(function(){return o})),n.d(t,"useEffect",(function(){return a})),n.d(t,"useLayoutEffect",(function(){return c})),n.d(t,"useRef",(function(){return s})),n.d(t,"useImperativeHandle",(function(){return u})),n.d(t,"useMemo",(function(){return l})),n.d(t,"useCallback",(function(){return f})),n.d(t,"useContext",(function(){return p})),n.d(t,"useDebugValue",(function(){return h})),n.d(t,"useErrorBoundary",(function(){return d})),n.d(t,"createElement",(function(){return V.createElement})),n.d(t,"createContext",(function(){return V.createContext})),n.d(t,"createRef",(function(){return V.createRef})),n.d(t,"Fragment",(function(){return V.Fragment})),n.d(t,"Component",(function(){return V.Component})),n.d(t,"version",(function(){return be})),n.d(t,"Children",(function(){return oe})),n.d(t,"render",(function(){return P})),n.d(t,"hydrate",(function(){return B})),n.d(t,"unmountComponentAtNode",(function(){return U})),n.d(t,"createPortal",(function(){return T})),n.d(t,"createFactory",(function(){return L})),n.d(t,"cloneElement",(function(){return z})),n.d(t,"isValidElement",(function(){return N})),n.d(t,"findDOMNode",(function(){return H})),n.d(t,"PureComponent",(function(){return k})),n.d(t,"memo",(function(){return x})),n.d(t,"forwardRef",(function(){return C})),n.d(t,"flushSync",(function(){return we})),n.d(t,"unstable_batchedUpdates",(function(){return _e})),n.d(t,"StrictMode",(function(){return Fe})),n.d(t,"Suspense",(function(){return O})),n.d(t,"SuspenseList",(function(){return E})),n.d(t,"lazy",(function(){return j})),n.d(t,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",(function(){return ve}));var q,W,K,$,V=n("hosL"),G=0,Y=[],J=V.options.__b,Q=V.options.__r,Z=V.options.diffed,X=V.options.__c,ee=V.options.unmount;V.options.__b=function(e){W=null,J&&J(e)},V.options.__r=function(e){Q&&Q(e),q=0;var t=(W=e.__c).__H;t&&(K===W?(t.__h=[],W.__h=[],t.__.forEach((function(e){e.o=e.u=void 0}))):(t.__.forEach((function(e){e.u&&(e.__H=e.u),e.o&&(e.__=e.o),e.o=e.u=void 0})),t.__h.forEach(m),t.__h.forEach(y),t.__h=[])),K=W},V.options.diffed=function(e){Z&&Z(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==Y.push(t)&&$===V.options.requestAnimationFrame||(($=V.options.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),te&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);te&&(t=requestAnimationFrame(n))})(g)),W=null,K=null},V.options.__c=function(e,t){t.some((function(e){try{e.__H&&e.__H.__.forEach((function(e){e.u&&(e.__H=e.u),e.o&&(e.__=e.o),e.o=e.u=void 0})),e.__h.forEach(m),e.__h=e.__h.filter((function(e){return!e.__||y(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],V.options.__e(n,e.__v)}})),X&&X(e,t)},V.options.unmount=function(e){ee&&ee(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{m(e)}catch(e){t=e}})),t&&V.options.__e(t,n.__v))};var te="function"==typeof requestAnimationFrame;(k.prototype=new V.Component).isPureReactComponent=!0,k.prototype.shouldComponentUpdate=function(e,t){return F(this.props,e)||F(this.state,t)};var ne=V.options.__b;V.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ne&&ne(e)};var re="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,ie=function(e,t){return null==e?null:Object(V.toChildArray)(Object(V.toChildArray)(e).map(t))},oe={map:ie,forEach:ie,count:function(e){return e?Object(V.toChildArray)(e).length:0},only:function(e){var t=Object(V.toChildArray)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:V.toChildArray},ae=V.options.__e;V.options.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);ae(e,t,n,r)};var ce=V.options.unmount;V.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),ce&&ce(e)},(O.prototype=new V.Component).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=S(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(c):c())};n.__R=a;var c=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},s=!0===t.__h;r.__u++||s||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},O.prototype.componentWillUnmount=function(){this.t=[]},O.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=w({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__e&&Object(V.createElement)(V.Fragment,null,e.fallback);return i&&(i.__h=null),[Object(V.createElement)(V.Fragment,null,t.__e?null:e.children),i]};var se=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(E.prototype=new V.Component).__e=function(e){var t=this,n=S(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),se(t,e,r)):i()};n?n(o):o()}},E.prototype.render=function(e){this.u=null,this.o=new Map;var t=Object(V.toChildArray)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},E.prototype.componentDidUpdate=E.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){se(e,n,t)}))};var ue="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,le=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,fe="undefined"!=typeof document,pe=function(e){return("undefined"!=typeof Symbol&&"symbol"==_(Symbol())?/fil|che|rad/i:/fil|che|ra/i).test(e)};V.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(V.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var he=V.options.event;V.options.event=function(e){return he&&(e=he(e)),e.persist=R,e.isPropagationStopped=I,e.isDefaultPrevented=M,e.nativeEvent=e};var de,ge={configurable:!0,get:function(){return this.class}},me=V.options.vnode;V.options.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var o in r={},n){var a=n[o];fe&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==a||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===a?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!pe(n.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():i&&le.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput/i.test(o)&&(o=o.toLowerCase(),r[o]&&(o="oninputCapture")),r[o]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=Object(V.toChildArray)(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=Object(V.toChildArray)(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(ge.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",ge))}e.$$typeof=ue,me&&me(e)};var ye=V.options.__r;V.options.__r=function(e){ye&&ye(e),de=e.__c};var ve={ReactCurrentDispatcher:{current:{readContext:function(e){return de.__n[e.__c].props.value}}}},be="17.0.2",_e=function(e,t){return e(t)},we=function(e,t){return e(t)},Fe=V.Fragment;t.default={useState:i,useReducer:o,useEffect:a,useLayoutEffect:c,useRef:s,useImperativeHandle:u,useMemo:l,useCallback:f,useContext:p,useDebugValue:h,version:"17.0.2",Children:oe,render:P,hydrate:B,unmountComponentAtNode:U,createPortal:T,createElement:V.createElement,createContext:V.createContext,createFactory:L,cloneElement:z,createRef:V.createRef,Fragment:V.Fragment,isValidElement:N,findDOMNode:H,Component:V.Component,PureComponent:k,memo:x,forwardRef:C,flushSync:we,unstable_batchedUpdates:_e,StrictMode:V.Fragment,Suspense:O,SuspenseList:E,lazy:j,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ve}},lBHI:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){s=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(s)throw o}}}}function a(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){function o(e){s(c,r,i,o,a,"next",e)}function a(e){s(c,r,i,o,a,"throw",e)}var c=e.apply(t,n);o(void 0)}))}}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw o}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}var g=n("wCQ/"),m=n.n(g),y=(n("VJyh"),n("T9Vo"),n("hS/R"),n("91Be"),n("J69P"),n("0hLH"),n("9va6")),v=n.n(y),b=n("XgYJ"),_=n.n(b),w="c2fc1ad0-f76f-11ec-b939-0242ac120002",F=new Set;_.a.config({driver:[_.a.LOCALSTORAGE,_.a.INDEXEDDB,_.a.WEBSQL]});var k=function(){function e(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;f(this,"id",void 0),f(this,"parent",void 0),f(this,"children",new Map),f(this,"on_subscriptions",new Map),f(this,"map_subscriptions",new Map),f(this,"value",void 0),f(this,"counter",0),f(this,"loaded",!1),f(this,"saveLocalForage",v.a.throttle(u((function*(){if(e.loaded||(yield e.loadLocalForage()),e.children.size){var t=Array.from(e.children.keys());_.a.setItem(e.id,t)}else void 0===e.value?_.a.removeItem(e.id):_.a.setItem(e.id,null===e.value?w:e.value)})),500)),f(this,"loadLocalForage",v.a.throttle(u((function*(){if(!F.has(e.id)){var t=yield _.a.getItem(e.id);if(null===t)t=void 0,F.add(e.id);else if(t===w)t=null;else if(Array.isArray(t)){var n={};yield Promise.all(t.map(function(){var t=u((function*(t){n[t]=yield e.get(t).once()}));return function(e){return t.apply(this,arguments)}}())),t=n}else e.value=t;return e.loaded=!0,t}})),500)),f(this,"doCallbacks",v.a.throttle((function(){var t,n=o(e.on_subscriptions);try{var r=function(){var n=i(t.value,2),r=n[0],o={off:function(){return e.on_subscriptions.delete(r)}};e.once(n[1],o,!1)};for(n.s();!(t=n.n()).done;)r()}catch(e){n.e(e)}finally{n.f()}if(e.parent){var a,c=o(e.parent.on_subscriptions);try{var s=function(){var t=i(a.value,2),n=t[0],r={off:function(){return e.parent.on_subscriptions.delete(n)}};e.parent.once(t[1],r,!1)};for(c.s();!(a=c.n()).done;)s()}catch(e){c.e(e)}finally{c.f()}var u,l=o(e.parent.map_subscriptions);try{var f=function(){var t=i(u.value,2),n=t[0],r={off:function(){return e.parent.map_subscriptions.delete(n)}};e.once(t[1],r,!1)};for(l.s();!(u=l.n()).done;)f()}catch(e){l.e(e)}finally{l.f()}}}),40)),this.id=t,this.parent=n}var t,n,a,c,s;return t=e,n=[{key:"get",value:function(t){var n=this.children.get(t);if(n)return n;var r=new e("".concat(this.id,"/").concat(t),this);return this.children.set(t,r),this.saveLocalForage(),r}},{key:"put",value:function(e){if(Array.isArray(e))throw new Error("Sorry, we don't deal with arrays");if("object"!==r(e)||null===e)this.value=e,this.doCallbacks(),this.saveLocalForage();else for(var t in this.value=void 0,e)this.get(t).put(e[t])}},{key:"once",value:(s=u((function*(e,t){var n,r=this,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(this.children.size?(n={},yield Promise.all(Array.from(this.children.keys()).map(function(){var e=u((function*(e){n[e]=yield r.get(e).once(null,t)}));return function(t){return e.apply(this,arguments)}}()))):n=void 0!==this.value?this.value:yield this.loadLocalForage(),void 0!==n||i)return e&&e(n,this.id.slice(this.id.lastIndexOf("/")+1),null,t),n})),function(e,t){return s.apply(this,arguments)})},{key:"on",value:function(e){var t=this,n=this.counter++;this.on_subscriptions.set(n,e),this.once(e,{off:function(){return t.map_subscriptions.delete(n)}},!1)}},{key:"map",value:(c=u((function*(e){var t=this,n=this.counter++;this.map_subscriptions.set(this.counter++,e);var r={off:function(){return t.map_subscriptions.delete(n)}};this.loaded||(yield this.loadLocalForage());var i,a=o(this.children.values());try{for(a.s();!(i=a.n()).done;)i.value.once(e,r,!1)}catch(e){a.e(e)}finally{a.f()}})),function(e){return c.apply(this,arguments)})}],n&&l(t.prototype,n),a&&l(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}(),x=n("HEoH"),C=n("o5ls"),O=n("aKPg"),S={init:function(e){var t=this;m.a.log.off=!0;var n=d({peers:x.a.getRandomPeers(),localStorage:!1,retry:1/0},e);this.public=m()(n),e&&e.peers&&e.peers.forEach((function(e){return x.a.addPeer({url:e})})),this.local=new k,O.a.isElectron&&(this.electron=m()({peers:["http://localhost:8768/gun"],file:"State.electron",multicast:!1,localStorage:!1}).get("state")),this.blockedUsers={},this.cache=new Map,this.callbacks=new Map,this.counter=0,this.local.get("block").map((function(e,n){e!==t.blockedUsers[n]&&(e?(t.blockedUsers[n]=e,S.local.get("groups").map((function(e,t){S.local.get("groups").get(t).get(n).put(!1)}))):delete t.blockedUsers[n])})),window.State=this,C.a.util.setPublicState&&C.a.util.setPublicState(this.public)},counterNext:function(){return this.counter++},getBlockedUsers:function(){return this.blockedUsers},group:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"everyone",t=this;return{get:function(n,r){var i=t.local.get("groups").get(e),o={};requestAnimationFrame((function(){i.map((function(e,i){if(!t.blockedUsers[i]&&(!o[i]||o[i]!==e)&&(o[i]=e,e)){var a=S.public.user(i);n&&"/"!==n&&(a=v.a.reduce(n.split("/"),(function(e,t){return e.get(decodeURIComponent(t))}),a)),r(a,i)}}))}))},_cached_map:function(e,n,r,i,o){if(e){var a,c=p(e.values());try{for(c.s();!(a=c.n()).done;){var s=a.value;o(s.value,s.key,0,i,s.from)}}catch(e){c.e(e)}finally{c.f()}}else t.cache.set(n,new Map),this.get(r,(function(e,r){return e.map((function(e,o,a){var c={value:e,key:o,from:r};t.cache.get(n).set(o,c);var s,u=p(t.callbacks.get(n).values());try{for(u.s();!(s=u.n()).done;){(0,s.value)(e,o,a,i,r)}}catch(e){u.e(e)}finally{u.f()}}))}))},_cached_on:function(e,n,r,i,o){if(e){var a,c=p(e.values());try{for(c.s();!(a=c.n()).done;){var s=a.value;o(s.value,s.key,0,i,s.from)}}catch(e){c.e(e)}finally{c.f()}}else t.cache.set(n,new Map),this.get(r,(function(e,r){return e.on((function(e,o,a){var c={value:e,key:o,from:r};t.cache.get(n).set(r,c);var s,u=p(t.callbacks.get(n).values());try{for(u.s();!(s=u.n()).done;){(0,s.value)(e,o,a,i,r)}}catch(e){u.e(e)}finally{u.f()}}))}))},_cached_count:function(e,n,r,i,o){e?o(t.cache.get(n).size,r.split("/").pop(),null,i):(t.cache.set(n,new Map),this.get(r,(function(e,r){return e.on((function(e,o){e?t.cache.get(n).set(r,!0):t.cache.get(n).delete(r);var a,c=t.cache.get(n).size,s=p(t.callbacks.get(n).values());try{for(s.s();!(a=s.n()).done;){(0,a.value)(c,o,null,i,r)}}catch(e){s.e(e)}finally{s.f()}}))})))},_cached_fn:function(n,r,i){var o="".concat(n,":").concat(e,":").concat(r),a=t.counterNext();t.callbacks.has(o)?t.callbacks.get(o).set(a,i):t.callbacks.set(o,new Map([[a,i]]));var c={off:function(){var e=t.callbacks.get(o);e&&e.delete(a)}},s=t.cache.get(o);switch(n){case"map":this._cached_map(s,o,r,c,i);break;case"on":this._cached_on(s,o,r,c,i);break;case"count":this._cached_count(s,o,r,c,i)}},map:function(e,t){this._cached_fn("map",e,t)},on:function(e,t){this._cached_fn("on",e,t)},count:function(e,t){this._cached_fn("count",e,t)}}}};t.a=S},mdyV:function(e,t,n){"use strict";n.r(t);var r=n("hosL"),i=r.h,o=r.render,a=function(e){return e&&e.default?e.default:e},c=function(e){return"/"===e[e.length-1]?e:e+"/"};if("serviceWorker"in navigator&&navigator.serviceWorker.register(c(n.p)+"sw.js"),"function"==typeof a(n("qVkA"))){var s=document.getElementById("preact_root")||document.body.firstElementChild;0,function(){var e=a(n("qVkA")),t={},r=document.querySelector('[type="__PREACT_CLI_DATA__"]');r&&(t=JSON.parse(decodeURI(r.innerHTML)).preRenderData||t);var u={preRenderData:t};t.url&&c(t.url);o(i(e,{CLI_DATA:u}),document.body,s)}()}},nVqy:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var u,l=n("4Iz4"),f=n("24Gu"),p=n("DrMS");t.a=function(e){function t(){var e;return(e=s.call(this)).class="public-messages-view",e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(t,e);var n,r,c,s=a(t);return n=t,(r=[{key:"renderView",value:function(){return Object(l.a)(u||(e=['\n      <div id="message-list" class="centered-container">\n        <'," standalone="," showFiles="," torrentId=","/>\n      </div>\n    "],t||(t=e.slice(0)),u=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))),f.a,!0,!0,this.props.id);var e,t}}])&&i(n.prototype,r),c&&i(n,c),Object.defineProperty(n,"prototype",{writable:!1}),t}(p.a)},nazO:function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var i,o,a=n("4Iz4"),c=n("3rgF"),s=n("P+S2"),u=n("qIEf"),l=n.n(u),f=n("xVeL");t.a=function(){return Object(a.a)(i||(i=r(["\n  ",'\n  <select class="language-selector" onChange='," value=",">","</select>\n"])),f.a.language,(function(e){return function(e){var t=l()(e.target).val();c.a.indexOf(t)>=0&&(localStorage.setItem("language",t),location.reload())}(e)}),c.b,c.a.map((function(e){return Object(a.a)(o||(o=r(["<option value=",">","</option>"])),e,s.a[e].language_name)})))}},o5ls:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){function o(e){a(s,r,i,o,c,"next",e)}function c(e){a(s,r,i,o,c,"throw",e)}var s=e.apply(t,n);o(void 0)}))}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw o}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){function o(e){f(c,r,i,o,a,"next",e)}function a(e){f(c,r,i,o,a,"throw",e)}var c=e.apply(t,n);o(void 0)}))}}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function v(e){var t="function"==typeof Map?new Map:void 0;return v=function(e){function n(){return b(e,arguments,F(this).constructor)}if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),w(n,e)},v(e)}function b(){return b=_()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&w(i,n.prototype),i},b.apply(null,arguments)}function _(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},F(e)}function k(e){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k(e)}function x(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function C(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){function o(e){x(c,r,i,o,a,"next",e)}function a(e){x(c,r,i,o,a,"throw",e)}var c=e.apply(t,n);o(void 0)}))}}function O(){return O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O.apply(this,arguments)}function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function E(){return(E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function A(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,["context","children"]);return Object(Te.cloneElement)(t,n)}function D(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=Object(Te.h)(A,E({},this._props,{context:e.detail.context}),function e(t,n){if(3===t.nodeType)return t.data;if(1!==t.nodeType)return null;var r=[],i={},o=0,a=t.attributes,c=t.childNodes;for(o=a.length;o--;)"slot"!==a[o].name&&(i[a[o].name]=a[o].value,i[T(a[o].name)]=a[o].value);for(o=c.length;o--;){var s=e(c[o],null),u=c[o].slot;u?i[u]=Object(Te.h)(R,{name:u},s):r[o]=s}var l=n?Object(Te.h)(R,null,r):r;return Object(Te.h)(n||t.nodeName.toLowerCase(),i,l)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Te.hydrate:Te.render)(this._vdom,this._root)}function T(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function P(e,t,n){if(this._vdom){var r={};r[e]=n=null==n?void 0:n,r[T(e)]=n,this._vdom=Object(Te.cloneElement)(this._vdom,r),Object(Te.render)(this._vdom,this._root)}}function B(){Object(Te.render)(this._vdom=null,this._root)}function R(e,t){var n=this;return Object(Te.h)("slot",E({},e,{ref:function(e){e?(n.ref=e,n._listener||(n._listener=function(e){e.stopPropagation(),e.detail.context=t},e.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function I(e){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I(e)}function M(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N(e,t){return N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},N(e,t)}function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=H(e);if(t){var i=H(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return U(this,n)}}function U(e,t){if(t&&("object"===I(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function H(e){return H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},H(e)}function q(e){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q(e)}function W(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function K(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function $(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function G(e,t){return G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},G(e,t)}function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Q(e);if(t){var i=Q(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return J(this,n)}}function J(e,t){if(t&&("object"===q(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Q(e){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Q(e)}function Z(e){return Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z(e)}function X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function te(e,t){return te=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},te(e,t)}function ne(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ie(e);if(t){var i=ie(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return re(this,n)}}function re(e,t){if(t&&("object"===Z(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ie(e){return ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ie(e)}function oe(e){return oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oe(e)}function ae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ce(e,t){return ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ce(e,t)}function se(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=le(e);if(t){var i=le(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ue(this,n)}}function ue(e,t){if(t&&("object"===oe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function le(e){return le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},le(e)}var fe,pe,he,de=n("kIWK"),ge=n("Ymal"),me=n.n(ge),ye={email:/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i,bitcoin:/^[13][a-km-zA-HJ-NP-Z0-9]{26,33}$/,bitcoin_address:/^[13][a-km-zA-HJ-NP-Z0-9]{26,33}$/,ip:/^(([1-9]?\d|1\d\d|2[0-5][0-5]|2[0-4]\d)\.){3}([1-9]?\d|1\d\d|2[0-5][0-5]|2[0-4]\d)$/,ipv6:/^(?:[A-F0-9]{1,4}:){7}[A-F0-9]{1,4}$/,gpg_fingerprint:null,gpg_keyid:null,google_oauth2:null,tel:/^\d{7,}$/,phone:/^\d{7,}$/,keyID:null,url:/[-a-zA-Z0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?/gi,account:/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i,uuid:/[0-9a-f]{8}\-[0-9a-f]{4}\-[0-9a-f]{4}\-[0-9a-f]{4}\-[0-9a-f]{12}/},ve=function(){function e(t,n){if("object"==typeof t){if("string"!=typeof t.value)throw new Error("param1.value must be a string, got ".concat(i(t.value),": ").concat(JSON.stringify(t.value)));if("string"!=typeof t.type)throw new Error("param1.type must be a string, got ".concat(i(t.type),": ").concat(JSON.stringify(t.type)));n=t.value,t=t.type}if("string"!=typeof t)throw new Error("First param must be a string, got ".concat(i(t),": ").concat(JSON.stringify(t)));if(!t.length)throw new Error("First param string is empty");if(n){if("string"!=typeof n)throw new Error("Second parameter must be a string, got ".concat(i(n),": ").concat(JSON.stringify(n)));if(!n.length)throw new Error("Second param string is empty");this.type=t,this.value=n}else{this.value=t;var r=e.guessTypeOf(this.value);if(!r)throw new Error("Type of attribute was omitted and could not be guessed");this.type=r}}var t,n,a;return t=e,n=[{key:"isUniqueType",value:function(){return e.isUniqueType(this.type)}},{key:"equals",value:function(e){return e&&this.type===e.type&&this.value===e.value}},{key:"uri",value:function(){return"".concat(encodeURIComponent(this.value),":").concat(encodeURIComponent(this.type))}},{key:"identiconXml",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return de.a.getHash("".concat(encodeURIComponent(this.type),":").concat(encodeURIComponent(this.value)),"hex").then((function(t){return new me.a(t,{width:e.width,format:"svg"}).toString(!0)}))}},{key:"identiconSrc",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return de.a.getHash("".concat(encodeURIComponent(this.type),":").concat(encodeURIComponent(this.value)),"hex").then((function(t){var n=new me.a(t,{width:e.width,format:"svg"});return"data:image/svg+xml;base64,".concat(n.toString())}))}},{key:"identicon",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=r({width:50,showType:!0},e),de.a.injectCss();var t=document.createElement("div");t.className="iris-identicon",t.style.width="".concat(e.width,"px"),t.style.height="".concat(e.width,"px");var n=document.createElement("img");if(n.alt="",n.width=e.width,n.height=e.width,this.identiconSrc(e).then((function(e){return n.src=e})),e.showType){var i=document.createElement("span");i.className="iris-distance",i.style.fontSize=e.width>50?"".concat(e.width/4,"px"):"10px",i.textContent=this.type.slice(0,5),t.appendChild(i)}return t.appendChild(n),t}}],a=[{key:"getUuid",value:function(){return new e("uuid",function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)}())}},{key:"getUniqueIdValidators",value:function(){return ye}},{key:"isUniqueType",value:function(e){return Object.keys(ye).indexOf(e)>-1}},{key:"guessTypeOf",value:function(e){for(var t in ye)if(e.match(ye[t]))return t}},{key:"equals",value:function(e,t){return e.equals(t)}}],n&&o(t.prototype,n),a&&o(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}(),be=ve,_e=n("wCQ/"),we=n.n(_e),Fe=(n("VJyh"),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r,i,o,a;return t=e,n=null,r=[{key:"getActiveKey",value:(a=c((function*(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"iris.key",r=arguments.length>2?arguments[2]:void 0;if(fe)return fe;if(r){var i="".concat(t,"/").concat(n);if(r.existsSync(i)){var o=r.readFileSync(i,"utf8");fe=e.fromString(o)}else{var a=yield e.generate();r.writeFileSync(i,e.toString(fe=fe||a)),r.chmodSync(i,400)}if(!fe)throw new Error("loading default key failed - check ".concat(t,"/").concat(n))}else{var c=window.localStorage.getItem("iris.myKey");if(c)fe=e.fromString(c);else{var s=yield e.generate();fe=fe||s,window.localStorage.setItem("iris.myKey",e.toString(fe))}if(!fe)throw new Error("loading default key failed - check localStorage iris.myKey")}return fe})),function(){return a.apply(this,arguments)})},{key:"getDefault",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"iris.key";return e.getActiveKey(t,n)}},{key:"getActivePub",value:(o=c((function*(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"iris.key",r=yield e.getActiveKey(t,n);return r.pub})),function(){return o.apply(this,arguments)})},{key:"setActiveKey",value:function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"iris.key",o=arguments.length>4?arguments[4]:void 0;if(fe=t,n)if(de.a.isNode){var a="".concat(r,"/").concat(i);o.writeFileSync(a,e.toString(fe)),o.chmodSync(a,400)}else window.localStorage.setItem("iris.myKey",e.toString(fe))}},{key:"toString",value:function(e){return JSON.stringify(e)}},{key:"getId",value:function(e){if(!e||!e.pub)throw new Error("missing param");return e.pub}},{key:"fromString",value:function(e){return JSON.parse(e)}},{key:"generate",value:function(){return we.a.SEA.pair()}},{key:"sign",value:(i=c((function*(e,t){var n=yield we.a.SEA.sign(e,t);return"a".concat(n)})),function(e,t){return i.apply(this,arguments)})},{key:"verify",value:function(e,t){return we.a.SEA.verify(e.slice(1),t)}}],n&&s(t.prototype,n),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()),ke=Fe,xe="Invalid  message:",Ce=function(e){function t(){return m(this,t),i.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}(t,e);var n,r,i=(n=t,r=_(),function(){var e,t=F(n);if(r){var i=F(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return y(this,e)});return g(t)}(v(Error)),Oe=function(){function e(t){if(m(this,e),t.signedData&&(this.signedData=t.signedData),t.pubKey&&(this.pubKey=t.pubKey),t.sig){if("string"!=typeof t.sig)throw new Ce("SignedMessage signature must be a string");this.sig=t.sig,this.getHash()}this._validate()}var t,n,r,i,o,a,c,s;return g(e,[{key:"getAuthorIterable",value:function(){return e._getIterable(this.signedData.author)}},{key:"getRecipientIterable",value:function(){return e._getIterable(this.signedData.recipient)}},{key:"getAuthorArray",value:function(){return e._getArray(this.signedData.author)}},{key:"getRecipientArray",value:function(){return this.signedData.recipient?e._getArray(this.signedData.recipient):[]}},{key:"getSignerKeyID",value:function(){return this.pubKey}},{key:"_validate",value:function(){if(!this.signedData)throw new Ce("".concat(xe," Missing signedData"));if("object"!=typeof this.signedData)throw new Ce("".concat(xe," signedData must be an object"));var e=this.signedData;if(!e.type)throw new Ce("".concat(xe," Missing type definition"));if(!e.author)throw new Ce("".concat(xe," Missing author"));if("object"!=typeof e.author)throw new Ce("".concat(xe," Author must be object"));if(Array.isArray(e.author))throw new Ce("".concat(xe," Author must not be an array"));if(0===Object.keys(e.author).length)throw new Ce("".concat(xe," Author empty"));for(var t in this.pubKey&&(this.signerKeyHash=this.getSignerKeyID()),e.author){var n=h(e.author[t]);if("string"!==n){if(!Array.isArray(e.author[t]))throw new Ce("".concat(xe," Author attribute must be string or array, got ").concat(t,": ").concat(e.author[t]));for(var r=0;r<e.author[t].length;r++){if("string"!=typeof e.author[t][r])throw new Ce("".concat(xe," Author attribute must be string, got ").concat(t,": [").concat(e.author[t][r],"]"));if(0===e.author[t][r].length)throw new Ce("".concat(xe," author ").concat(t," in array[").concat(r,"] is empty"))}}if("keyID"===t){if("string"!==n)throw new Ce("".concat(xe," Author keyID must be string, got ").concat(n));if(this.signerKeyHash&&e.author[t]!==this.signerKeyHash)throw new Ce("".concat(xe," If message has a keyID author, it must be signed by the same key"))}}if(e.recipient){if("object"!=typeof e.recipient)throw new Ce("".concat(xe," Recipient must be object"));if(Array.isArray(e.recipient))throw new Ce("".concat(xe," Recipient must not be an array"));if(0===Object.keys(e.recipient).length)throw new Ce("".concat(xe," Recipient empty"));for(var i in e.recipient){if("string"!==h(e.recipient[i])){if(!Array.isArray(e.recipient[i]))throw new Ce("".concat(xe," Recipient attribute must be string or array, got ").concat(i,": ").concat(e.recipient[i]));for(var o=0;o<e.recipient[i].length;o++){if("string"!=typeof e.recipient[i][o])throw new Ce("".concat(xe," Recipient attribute must be string, got ").concat(i,": [").concat(e.recipient[i][o],"]"));if(0===e.recipient[i][o].length)throw new Ce("".concat(xe," recipient ").concat(i," in array[").concat(o,"] is empty"))}}}}if(!e.time&&!e.timestamp)throw new Ce("".concat(xe," Missing time field"));if(!Date.parse(e.time||e.timestamp))throw new Ce("".concat(xe," Invalid time field"));if("rating"===e.type){if(isNaN(e.rating))throw new Ce("".concat(xe," Invalid rating"));if(isNaN(e.maxRating))throw new Ce("".concat(xe," Invalid maxRating"));if(isNaN(e.minRating))throw new Ce("".concat(xe," Invalid minRating"));if(e.rating>e.maxRating)throw new Ce("".concat(xe," Rating is above maxRating"));if(e.rating<e.minRating)throw new Ce("".concat(xe," Rating is below minRating"));if("string"!=typeof e.context||!e.context.length)throw new Ce("".concat(xe," Rating messages must have a context field"))}if(("verification"===e.type||"unverification"===e.type)&&e.recipient.length<2)throw new Ce("".concat(xe," At least 2 recipient attributes are needed for a connection / disconnection. Got: ").concat(e.recipient));return!0}},{key:"isPositive",value:function(){return"rating"===this.signedData.type&&this.signedData.rating>(this.signedData.maxRating+this.signedData.minRating)/2}},{key:"isNegative",value:function(){return"rating"===this.signedData.type&&this.signedData.rating<(this.signedData.maxRating+this.signedData.minRating)/2}},{key:"isNeutral",value:function(){return"rating"===this.signedData.type&&this.signedData.rating===(this.signedData.maxRating+this.signedData.minRating)/2}},{key:"sign",value:(s=p((function*(e){return this.sig=yield ke.sign(this.signedData,e),this.pubKey=e.pub,yield this.getHash(),!0})),function(e){return s.apply(this,arguments)})},{key:"getAuthor",value:function(e){var t,n=u(this.getAuthorIterable());try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.isUniqueType())return e.getContacts(r)}}catch(e){n.e(e)}finally{n.f()}}},{key:"getRecipient",value:function(e){if(this.signedData.recipient){var t,n=u(this.getRecipientIterable());try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.isUniqueType())return e.getContacts(r)}}catch(e){n.e(e)}finally{n.f()}}}},{key:"getHash",value:(c=p((function*(){return this.sig&&!this.hash&&(this.hash=yield de.a.getHash(this.sig)),this.hash})),function(){return c.apply(this,arguments)})},{key:"getId",value:function(){return this.getHash()}},{key:"verify",value:(a=p((function*(){if(!this.pubKey)throw new Ce("".concat(xe," SignedMessage has no .pubKey"));if(!this.sig)throw new Ce("".concat(xe," SignedMessage has no .sig"));if(this.signedData=yield ke.verify(this.sig,this.pubKey),!this.signedData)throw new Ce("".concat(xe," Invalid signature"));if(this.hash){if(this.hash!==(yield de.a.getHash(this.sig)))throw new Ce("".concat(xe," Invalid message hash"))}else this.getHash();return!0})),function(){return a.apply(this,arguments)})},{key:"serialize",value:function(){return{sig:this.sig,pubKey:this.pubKey}}},{key:"toString",value:function(){return JSON.stringify(this.serialize())}}],[{key:"_getArray",value:function(e){for(var t=[],n=Object.keys(e),r=0;r<n.length;r++){var i=n[r],o=e[n[r]];if("string"==typeof o)t.push(new be(i,o));else for(var a=0;a<o.length;a++){t.push(new be(i,o[a]))}}return t}},{key:"_getIterable",value:function(e){return t={},n=Symbol.iterator,r=function*(){for(var t=Object.keys(e),n=0;n<t.length;n++){var r=t[n],i=e[t[n]];if("string"==typeof i)yield new be(r,i);else for(var o=0;o<i.length;o++){var a=i[o];yield new be(r,a)}}},n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t;var t,n,r}},{key:"create",value:(o=p((function*(t,n){!t.author&&n&&(t.author={keyID:ke.getId(n)}),t.time=t.time||(new Date).toISOString();var r=new e({signedData:t});return n&&(yield r.sign(n)),r})),function(e,t){return o.apply(this,arguments)})},{key:"createVerification",value:function(t,n){return t.type="verification",e.create(t,n)}},{key:"createRating",value:function(t,n){return t.type="rating",t.context=t.context||"iris",t.maxRating=t.maxRating||10,t.minRating=t.minRating||-10,e.create(t,n)}},{key:"fromSig",value:(i=p((function*(t){if(!t.sig)throw new Error("Missing signature in object:",t);if(!t.pubKey)throw new Error("Missing pubKey in object:");return new e({signedData:JSON.parse(t.sig.slice(4)).m,sig:t.sig,pubKey:t.pubKey})})),function(e){return i.apply(this,arguments)})},{key:"deserialize",value:(r=p((function*(t){return e.fromSig(t)})),function(e){return r.apply(this,arguments)})},{key:"fromString",value:(n=p((function*(t){return e.fromSig(JSON.parse(t))})),function(e){return n.apply(this,arguments)})},{key:"setReaction",value:(t=p((function*(e,t,n){var r=yield t.getHash();e.get("reactions").get(r).put(n),e.get("reactions").get(r).put(n),e.get("messagesByHash").get(r).get("reactions").get(this.rootContact.value).put(n),e.get("messagesByHash").get(r).get("reactions").get(this.rootContact.value).put(n)})),function(e,n,r){return t.apply(this,arguments)})}]),e}(),Se=Oe,je=n("9va6"),Ee=n.n(je),Ae=function(){function e(t){var n=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.DEFAULT_PERMISSIONS={read:!0,write:!0},this.key=t.key,this.gun=t.gun,this.myGroupSecret=t.myGroupSecret,this.theirSecretUuids={},this.theirGroupSecrets={},this.user=this.gun.user(),this.user.auth(this.key),this.user.put({epub:this.key.epub}),this.secrets={},this.ourSecretChannelIds={},this.theirSecretChannelIds={},this.messages={},this.chatLinks={},this.groupSubscriptions={},this.directSubscriptions={},this.getParticipantsCallbacks={},t.chatLink&&this.useChatLink(t),"string"==typeof t.participants)this.addParticipant(t.participants,t.save);else if(Array.isArray(t.participants)){var r={};t.participants.forEach((function(e){return r[e]=O({},n.DEFAULT_PERMISSIONS)})),t.participants=r}"object"==typeof t.participants&&(Object.keys(t.participants).forEach((function(e){e!==n.key.pub&&n.addParticipant(e,t.save,O({},n.DEFAULT_PERMISSIONS,t.participants[e]))})),t.participants[this.key.pub]=t.participants[this.key.pub]||O({},this.DEFAULT_PERMISSIONS),t.uuid?(this.uuid=t.uuid,this.name=t.name):(t.uuid=be.getUuid().value,this.uuid=t.uuid,t.participants[this.key.pub].admin=!0,t.participants[this.key.pub].founder=!0),this.getChatLinks({subscribe:!0}));this.participants=t.participants,t.uuid&&(this.putDirect("S".concat(this.uuid),this.getMyGroupSecret()),this.getMySecretUuid().then((function(e){n.putDirect(n.uuid,e)})),this.onTheirDirect(this.uuid,(function(e,t,r){n.theirSecretUuids[r]=e})),this.onTheirDirect("S".concat(this.uuid),(function(e,t,r){n.theirGroupSecrets[r]=e}))),this.onTheir("participants",(function(e,r,i){for(var o=!1,a=Object.keys(n.participants),c=0;c<a.length;c++)if(n.participants[a[c]].admin||n.participants[a[c]].inviter){o=!0;break}if(o||a.forEach((function(e){return n.participants[e].admin=!0})),n.participants[i]&&(n.participants[i].admin||n.participants[i].inviter)&&"object"==typeof e){if(JSON.stringify(n.participants)===JSON.stringify(e))return;n.participants=e,delete n.participants[i].inviter,Object.keys(e).forEach((function(t){t!==n.key.pub&&n.addParticipant(t,!0,O({},n.DEFAULT_PERMISSIONS,e[t]),!0)})),n.participantsChanged(),t.saved=!0}})),t.saved||void 0!==t.save&&!0!==t.save||this.save()}var t,n,r,i,o,a,c,s,u,l,f,p,h,d,g,m,y,v,b,_,w,F,x,j,E,A,D,T,P,B,R,I,M,L,N,z,U,H,q,W,K,$;return t=e,n=[{key:"useChatLink",value:function(e){var t=this,n=e.chatLink.split("?");if(2===n.length){var r=de.a.getUrlParameter("chatWith",n[1]),i=de.a.getUrlParameter("channelId",n[1]),o=de.a.getUrlParameter("inviter",n[1]),a=o||r;if(r?e.participants=a:i&&o&&o!==this.key.pub&&(e.uuid=i,e.participants={},e.participants[o]=O({inviter:!0},this.DEFAULT_PERMISSIONS)),a!==this.key.pub){var c=de.a.getUrlParameter("s",n[1]),s=de.a.getUrlParameter("k",n[1]);c&&s&&(this.save(),e.saved=!0,this.gun.user(a).get("chatLinks").get(s).get("encryptedSharedKey").on(function(){var e=C((function*(e){var n=yield we.a.SEA.decrypt(e,c),r=yield we.a.SEA.encrypt(t.key.pub,c),i=yield de.a.getHash(r);de.a.gunAsAnotherUser(t.gun,n,(function(e){e.get("chatRequests").get(i.slice(0,12)).put(r)}))}));return function(t){return e.apply(this,arguments)}}()))}}}},{key:"getTheirSecretUuid",value:function(e){var t=this;return new Promise((function(n){t.theirSecretUuids[e]?n(t.theirSecretUuids[e]):t.onTheirDirect(t.uuid,(function(r){t.theirSecretUuids[e]=r,n(t.theirSecretUuids[e])}),e)}))}},{key:"getTheirGroupSecret",value:function(e){var t=this;return e===this.key.pub?this.getMyGroupSecret():new Promise((function(n){t.theirGroupSecrets[e]?n(t.theirGroupSecrets[e]):t.onTheirDirect("S".concat(t.uuid),(function(r){t.theirGroupSecrets[e]=r,n(t.theirGroupSecrets[e])}),e)}))}},{key:"changeMyGroupSecret",value:function(){this.myGroupSecret=we.a.SEA.random(32).toString("base64"),this.putDirect("S".concat(this.uuid),this.myGroupSecret)}},{key:"mute",value:($=C((function*(e){this.gun.user(e).get(this.theirSecretUuids[e]).off()})),function(e){return $.apply(this,arguments)})},{key:"block",value:(K=C((function*(e){this.mute(e),this.putDirect(this.uuid,null),this.putDirect("S".concat(this.uuid),null),delete this.secrets[e],delete this.ourSecretChannelIds[e],delete this.theirSecretChannelIds[e],this.changeMyGroupSecret()})),function(e){return K.apply(this,arguments)})},{key:"getMySecretUuid",value:(W=C((function*(){if(!this.mySecretUuid){var e=yield we.a.SEA.secret(this.key.epub,this.key),t=yield de.a.getHash(e);this.mySecretUuid=yield de.a.getHash(t+this.uuid)}return this.mySecretUuid})),function(){return W.apply(this,arguments)})},{key:"getCurrentParticipants",value:function(){return Object.keys(this.secrets)}},{key:"getParticipants",value:function(e){this.getParticipantsCallbackId?this.getParticipantsCallbackId++:this.getParticipantsCallbackId=1,this.getParticipantsCallbacks[this.getParticipantsCallbackId]=e,this.participants&&e(this.participants)}},{key:"participantsChanged",value:function(){var e=this;Object.keys(this.getParticipantsCallbacks).forEach((function(t){e.getParticipantsCallbacks[t](e.participants)}))}},{key:"getId",value:function(){return this.uuid||this.getCurrentParticipants()[0]}},{key:"getSecret",value:(q=C((function*(e){if(!this.secrets[e]){var t=yield de.a.gunOnceDefined(this.gun.user(e).get("epub"));this.secrets[e]=yield we.a.SEA.secret(t,this.key)}return this.secrets[e]})),function(e){return q.apply(this,arguments)})},{key:"getMyGroupSecret",value:function(){return this.myGroupSecret||this.changeMyGroupSecret(),this.myGroupSecret}},{key:"getOurSecretChannelId",value:(H=C((function*(e){if(!this.ourSecretChannelIds[e]){var t=yield this.getSecret(e);this.ourSecretChannelIds[e]=yield de.a.getHash(t+e)}return this.ourSecretChannelIds[e]})),function(e){return H.apply(this,arguments)})},{key:"getTheirSecretChannelId",value:(U=C((function*(e){if(!this.theirSecretChannelIds[e]){var t=yield this.getSecret(e);this.theirSecretChannelIds[e]=yield de.a.getHash(t+this.key.pub)}return this.theirSecretChannelIds[e]})),function(e){return U.apply(this,arguments)})},{key:"getMessages",value:(z=C((function*(e){var t=this;if(this.getCurrentParticipants().forEach(function(){var n=C((function*(n){var r;if(n!==t.key.pub&&(r=t.uuid?yield t.getTheirSecretUuid(n):yield t.getTheirSecretChannelId(n),t.gun.user(n).get("chats").get(r).get("msgs").map().once((function(r,i){t.messageReceived(e,r,t.uuid||n,!1,i,n)}))),!t.uuid){var i=yield t.getOurSecretChannelId(n);t.user.get("chats").get(i).get("msgs").map().once((function(r,i){t.messageReceived(e,r,n,!0,i,t.key.pub)}))}}));return function(e){return n.apply(this,arguments)}}()),this.uuid){var n=yield this.getMySecretUuid();this.user.get("chats").get(n).get("msgs").map().once((function(n,r){t.messageReceived(e,n,t.uuid,!0,r,t.key.pub)}))}})),function(e){return z.apply(this,arguments)})},{key:"messageReceived",value:(N=C((function*(e,t,n,r,i,o){if(!this.messages[i]&&t){var a=this.uuid?yield this.getTheirGroupSecret(o):yield this.getSecret(n),c=yield we.a.SEA.decrypt(t,a);if("object"==typeof c){var s={selfAuthored:r,channelId:n,from:o};this.messages[i]=c,e(c,s)}}})),function(e,t,n,r,i,o){return N.apply(this,arguments)})},{key:"getLatestMsg",value:(L=C((function*(e){var t=this,n=function(){var n=C((function*(n,r){t.latest?("string"==typeof t.latest.time?t.latest.time:t.latest.time.toISOString())<n.time&&(t.latest=n,e(n,r)):(t.latest=n,e(n,r))}));return function(e,t){return n.apply(this,arguments)}}();this.onMy("latestMsg",(function(e){return n(e,{selfAuthored:!0,from:t.key.pub})})),this.onTheir("latestMsg",(function(e,t,r){return n(e,{selfAuthored:!1,from:r})}))})),function(e){return L.apply(this,arguments)})},{key:"setMyMsgsLastSeenTime",value:(M=C((function*(e){return e=e||(new Date).toISOString(),this.put("msgsLastSeenTime",e)})),function(e){return M.apply(this,arguments)})},{key:"getMyMsgsLastSeenTime",value:(I=C((function*(e){var t=this;this.onMy("msgsLastSeenTime",(function(n){t.myMsgsLastSeenTime=n,e&&e(t.myMsgsLastSeenTime)}))})),function(e){return I.apply(this,arguments)})},{key:"getTheirMsgsLastSeenTime",value:(R=C((function*(e){var t=this;this.onTheir("msgsLastSeenTime",(function(n){t.theirMsgsLastSeenTime=n,e&&e(t.theirMsgsLastSeenTime)}))})),function(e){return R.apply(this,arguments)})},{key:"removeParticipant",value:(B=C((function*(e){this.addParticipant(e,!0,{read:!1,write:!1})})),function(e){return B.apply(this,arguments)})},{key:"addParticipant",value:(P=C((function*(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;if(void 0===r&&(r=this.DEFAULT_PERMISSIONS),!this.secrets[e]||JSON.stringify(this.secrets[e])!==JSON.stringify(r)){this.secrets[e]=null,this.getSecret(e);var o=yield this.getOurSecretChannelId(e);if(n){var a=yield we.a.SEA.secret(this.key.epub,this.key);this.gun.user().get("chats").get(o).get("pub").put(yield we.a.SEA.encrypt({pub:e},a))}this.uuid&&(this.participants[e]=r,n&&(this.putDirect("S".concat(this.uuid),this.getMyGroupSecret()),this.getMySecretUuid().then((function(e){t.putDirect(t.uuid,e)})),this.onTheirDirect(this.uuid,(function(e,n,r){t.theirSecretUuids[r]=e})),this.onTheirDirect("S".concat(this.uuid),(function(e,n,r){t.theirGroupSecrets[r]=e})),this.save())),i&&(Object.values(this.directSubscriptions).forEach((function(n){n.forEach((function(n){n.from&&n.from!==e||t._onTheirDirectFromUser(e,n.key,n.callback)}))})),Object.values(this.groupSubscriptions).forEach((function(n){n.forEach((function(n){n.from&&n.from!==e||(r.write?t._onTheirGroupFromUser(e,n.key,n.callback):n.event&&n.event.off())}))})))}})),function(e){return P.apply(this,arguments)})},{key:"send",value:(T=C((function*(e){if("string"==typeof e){if(0===(e=e.trim()).length)return;e={time:(new Date).toISOString(),text:e}}else{if("object"!=typeof e)throw new Error("msg param must be a string or an object");e.time=e.time||(new Date).toISOString()}if(this.uuid){var t=yield we.a.SEA.encrypt(JSON.stringify(e),this.getMyGroupSecret()),n=yield this.getMySecretUuid();this.user.get("chats").get(n).get("msgs").get("".concat(e.time)).put(t),this.user.get("chats").get(n).get("latestMsg").put(t)}else for(var r=this.getCurrentParticipants(),i=0;i<r.length;i++){var o=yield we.a.SEA.encrypt(JSON.stringify(e),yield this.getSecret(r[i])),a=yield this.getOurSecretChannelId(r[i]);this.user.get("chats").get(a).get("msgs").get("".concat(e.time)).put(o),this.user.get("chats").get(a).get("latestMsg").put(o)}})),function(e){return T.apply(this,arguments)})},{key:"save",value:(D=C((function*(){if(this.uuid){var e=yield this.getMySecretUuid();this.user.get("chats").get(e).get("msgs").get("a").put(null),this.put("participants",this.participants);var t=yield we.a.SEA.secret(this.key.epub,this.key);this.user.get("chats").get(e).get("pub").put(yield we.a.SEA.encrypt({uuid:this.uuid,myGroupSecret:this.getMyGroupSecret(),participants:this.participants},t)),this.participantsChanged()}else for(var n=this.getCurrentParticipants(),r=0;r<n.length;r++){var i=yield this.getOurSecretChannelId(n[r]);this.user.get("chats").get(i).get("msgs").get("a").put(null)}})),function(){return D.apply(this,arguments)})},{key:"put",value:(A=C((function*(e,t){return(this.uuid?this.putGroup:this.putDirect).call(this,e,t)})),function(e,t){return A.apply(this,arguments)})},{key:"putGroup",value:(E=C((function*(e,t){if("msgs"===e)throw new Error("Sorry, you can't overwrite the msgs field which is used for .send()");var n=yield we.a.SEA.encrypt(JSON.stringify(t),this.getMyGroupSecret()),r=yield this.getMySecretUuid();this.user.get("chats").get(r).get(e).put(n)})),function(e,t){return E.apply(this,arguments)})},{key:"putDirect",value:(j=C((function*(e,t){if("msgs"===e)throw new Error("Sorry, you can't overwrite the msgs field which is used for .send()");for(var n=this.getCurrentParticipants(),r=0;r<n.length;r++){var i=yield we.a.SEA.encrypt(JSON.stringify(t),yield this.getSecret(n[r])),o=yield this.getOurSecretChannelId(n[r]);this.user.get("chats").get(o).get(e).put(i)}})),function(e,t){return j.apply(this,arguments)})},{key:"on",value:(x=C((function*(e,t,n){return(this.uuid?this.onGroup:this.onDirect).call(this,e,t,n)})),function(e,t,n){return x.apply(this,arguments)})},{key:"onDirect",value:(F=C((function*(e,t,n){var r=this;n&&"me"!==n&&n!==this.key.pub||this.onMy(e,(function(e){return t(e,r.key.pub)})),(!n||"me"!==n&&n!==this.key.pub)&&this.onTheir(e,(function(e,n,r){return t(e,r)}))})),function(e,t,n){return F.apply(this,arguments)})},{key:"onGroup",value:(w=C((function*(e,t,n){var r=this;n&&"me"!==n&&n!==this.key.pub||this.onMyGroup(e,(function(e){return t(e,r.key.pub)})),(!n||"me"!==n&&n!==this.key.pub)&&this.onTheirGroup(e,(function(e,n,r){return t(e,r)}))})),function(e,t,n){return w.apply(this,arguments)})},{key:"onMy",value:(_=C((function*(e,t){return(this.uuid?this.onMyGroup:this.onMyDirect).call(this,e,t)})),function(e,t){return _.apply(this,arguments)})},{key:"onMyDirect",value:(b=C((function*(e,t){var n=this;if("function"!=typeof t)throw new Error("onMy callback must be a function, got ".concat(k(t)));for(var r=this.getCurrentParticipants(),i=function*(i){var o=yield n.getOurSecretChannelId(r[i]);return n.gun.user().get("chats").get(o).get(e).on(function(){var o=C((function*(o){var a=yield we.a.SEA.decrypt(o,yield n.getSecret(r[i]));a&&t(void 0!==a.v?a.v:a,e)}));return function(e){return o.apply(this,arguments)}}()),"break"},o=0;o<r.length&&"break"!==(yield*i(o));o++);})),function(e,t){return b.apply(this,arguments)})},{key:"onMyGroup",value:(v=C((function*(e,t){var n=this;if("function"!=typeof t)throw new Error("onMy callback must be a function, got ".concat(k(t)));var r=yield this.getMySecretUuid(),i=yield this.getMyGroupSecret();this.gun.user().get("chats").get(r).get(e).on(function(){var r=C((function*(r){var o=yield we.a.SEA.decrypt(r,i);o&&t(void 0!==o.v?o.v:o,e,n.key.pub)}));return function(e){return r.apply(this,arguments)}}())})),function(e,t){return v.apply(this,arguments)})},{key:"onTheir",value:(y=C((function*(e,t,n){return(this.uuid?this.onTheirGroup:this.onTheirDirect).call(this,e,t,n)})),function(e,t,n){return y.apply(this,arguments)})},{key:"_onTheirDirectFromUser",value:(m=C((function*(e,t,n){var r=this;if(this.hasWritePermission(e)){var i=yield this.getTheirSecretChannelId(e);this.gun.user(e).get("chats").get(i).get(t).on(function(){var i=C((function*(i){if(r.hasWritePermission(e)){var o=yield we.a.SEA.decrypt(i,yield r.getSecret(e));o&&n(void 0!==o.v?o.v:o,t,e)}}));return function(e){return i.apply(this,arguments)}}())}})),function(e,t,n){return m.apply(this,arguments)})},{key:"onTheirDirect",value:(g=C((function*(e,t,n){var r=this;if("function"!=typeof t)throw new Error("onTheir callback must be a function, got ".concat(k(t)));Object.prototype.hasOwnProperty.call(this.directSubscriptions,e)||(this.directSubscriptions[e]=[]),this.directSubscriptions[e].push({key:e,callback:t,from:n}),this.getCurrentParticipants().forEach(function(){var i=C((function*(i){n&&i!==n||r._onTheirDirectFromUser(i,e,t)}));return function(e){return i.apply(this,arguments)}}())})),function(e,t,n){return g.apply(this,arguments)})},{key:"hasWritePermission",value:function(e){return!this.uuid||this.participants&&this.participants[e]&&this.participants[e].write}},{key:"_onTheirGroupFromUser",value:(d=C((function*(e,t,n,r){var i=this;if(this.hasWritePermission(e)){var o=yield this.getTheirSecretUuid(e);this.gun.user(e).get("chats").get(o).get(t).on(function(){var o=C((function*(o,a,c,s){if(r&&(r.event=s),i.hasWritePermission(e)){var u=yield we.a.SEA.decrypt(o,yield i.getTheirGroupSecret(e));u&&n(void 0!==u.v?u.v:u,t,e)}}));return function(e,t,n,r){return o.apply(this,arguments)}}())}})),function(e,t,n,r){return d.apply(this,arguments)})},{key:"onTheirGroup",value:(h=C((function*(e,t,n){var r=this;if("function"!=typeof t)throw new Error("onTheir callback must be a function, got ".concat(k(t)));Object.prototype.hasOwnProperty.call(this.groupSubscriptions,e)||(this.groupSubscriptions[e]=[]);var i={key:e,callback:t,from:n};this.groupSubscriptions[e].push(i),this.getParticipants((function(o){Object.keys(o).forEach(function(){var a=C((function*(a){n&&a!==n||o[a]&&o[a].write&&r._onTheirGroupFromUser(a,e,t,i)}));return function(e){return a.apply(this,arguments)}}())}))})),function(e,t,n){return h.apply(this,arguments)})},{key:"setTyping",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;n*=1e3,this.put("typing",(e=void 0===e||e)?(new Date).toISOString():new Date(0).toISOString()),clearTimeout(this.setTypingTimeout),this.setTypingTimeout=setTimeout((function(){return t.put("typing",!1)}),n)}},{key:"getTyping",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;n*=1e3,this.onTheir("typing",(function(r,i,o){if(e){var a=r&&new Date-new Date(r)<=n;e(a,o),t.getTypingTimeouts=t.getTypingTimeouts||{},clearTimeout(t.getTypingTimeouts[o]),a&&(t.getTypingTimeouts[o]=setTimeout((function(){return e(!1,o)}),n))}}))}},{key:"getSimpleLink",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"https://iris.to/";return this.uuid?"".concat(e,"?channelId=").concat(this.uuid,"&inviter=").concat(this.key.pub):"".concat(e,"?chatWith=").concat(this.getCurrentParticipants()[0])}},{key:"getChatLinks",value:(p=C((function*(t){var n=this,r=t.callback,i=t.urlRoot,o=t.subscribe;if(i=i||"https://iris.to/",!this.uuid)throw new Error("Only group channels may have chat links");var a=[],c={};this.on("chatLinks",(function(t,s){t&&"object"===k(t)&&Object.keys(t).forEach((function(u){var l=t[u];if(null===l)return c[u]&&c[u].off(),delete c[u],void(r&&r({id:u,url:null}));if(-1===a.indexOf(u)){var f=[];a.push(u);var p=e.formatChatLink({urlRoot:i,inviter:s,channelId:n.uuid,sharedSecret:l.sharedSecret,linkId:u});r&&r({url:p,id:u}),o&&n.gun.user(l.sharedKey.pub).get("chatRequests").map().on(function(){var e=C((function*(e,t,r,i){if(e&&"string"==typeof e&&!(e.length<10)){c[u]=i;var o=JSON.stringify(e);if(-1===f.indexOf(o)){f.push(o);var a=yield we.a.SEA.decrypt(e,l.sharedSecret);n.addParticipant(a,void 0,void 0,!0)}}}));return function(t,n,r,i){return e.apply(this,arguments)}}())}}))}))})),function(e){return p.apply(this,arguments)})},{key:"createChatLink",value:(f=C((function*(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"https://iris.to/",n=yield we.a.SEA.pair(),r=JSON.stringify(n),i=yield we.a.SEA.secret(n.epub,n),o=yield we.a.SEA.encrypt(r,i),a=yield we.a.SEA.secret(this.key.epub,this.key),c=yield we.a.SEA.encrypt(r,a),s=yield de.a.getHash(o);return s=s.slice(0,12),yield de.a.gunAsAnotherUser(this.gun,n,(function(e){return e.get("chatRequests").put({a:1}).then()})),this.chatLinks[s]={sharedKey:n,sharedSecret:i},this.put("chatLinks",this.chatLinks),this.user.get("chatLinks").get(s).put({encryptedSharedKey:o,ownerEncryptedSharedKey:c}),e.formatChatLink({urlRoot:t,channelId:this.uuid,inviter:this.key.pub,sharedSecret:i,linkId:s})})),function(){return f.apply(this,arguments)})},{key:"getChatBox",value:function(){var t=this;de.a.injectCss();var n=!1,r=de.a.createElement("div","iris-chat-box"),i=de.a.createElement("div","iris-chat-header",r),o=de.a.createElement("span","iris-chat-minimize",i);o.innerText="—",o.addEventListener("click",(function(e){e.stopPropagation(),r.setAttribute("class","iris-chat-box minimized"),n=!0}));var a=de.a.createElement("div","iris-chat-header-text",i),c=de.a.createElement("span","iris-online-indicator",a);c.innerHTML="&#x25cf;";var s=de.a.createElement("span",void 0,a),u=de.a.createElement("span","iris-chat-close",i);u.innerHTML="&#215;",u.addEventListener("click",(function(){r.setAttribute("style","display: none");var e=document.getElementById("iris-chat-open-button");e&&e.setAttribute("style","")})),i.addEventListener("click",(function(){n&&(r.setAttribute("class","iris-chat-box"),n=!1)}));var l=de.a.createElement("div","iris-chat-messages",r),f=de.a.createElement("div","iris-typing-indicator",r);f.innerText="typing...",this.getTyping((function(e){f.setAttribute("class","iris-typing-indicator".concat(e?" yes":""))}));var p=de.a.createElement("div","iris-chat-input-wrapper",r),h=de.a.createElement("textarea",void 0,p);if(h.setAttribute("rows","1"),h.setAttribute("placeholder","Type a message"),de.a.isMobile){var d=de.a.createElement("button",void 0,p);d.innerHTML='\n        <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 486.736 486.736" style="enable-background:new 0 0 486.736 486.736;" xml:space="preserve" width="100px" height="100px" fill="#000000" stroke="#000000" stroke-width="0"><path fill="currentColor" d="M481.883,61.238l-474.3,171.4c-8.8,3.2-10.3,15-2.6,20.2l70.9,48.4l321.8-169.7l-272.4,203.4v82.4c0,5.6,6.3,9,11,5.9 l60-39.8l59.1,40.3c5.4,3.7,12.8,2.1,16.3-3.5l214.5-353.7C487.983,63.638,485.083,60.038,481.883,61.238z"></path></svg>\n      ',d.addEventListener("click",(function(){t.send(h.value),h.value="",t.setTyping(!1)}))}var g=this.getCurrentParticipants();if(g.length){var m=g[0];this.gun.user(m).get("profile").get("name").on((function(e){return s.innerText=e})),e.getActivity(this.gun,m,(function(e){var t="iris-online-indicator".concat(e.isActive?" yes":"");c.setAttribute("class",t),l.querySelectorAll(".iris-chat-message:not(.delivered)").forEach((function(t){if(t.getAttribute("data-time")<=e.lastActive){var n=t.getAttribute("class");t.setAttribute("class","".concat(n," delivered"))}}))}))}return this.getTheirMsgsLastSeenTime((function(e){l.querySelectorAll(".iris-seen:not(.yes)").forEach((function(t){var n=t.parentElement.parentElement.parentElement;if(n.getAttribute("data-time")<=e){var r=n.getAttribute("class");-1===r.indexOf("delivered")&&n.setAttribute("class","".concat(r," delivered")),t.setAttribute("class","iris-seen yes")}}))})),this.getMessages((function(e,n){var r=de.a.createElement("div","iris-msg-content");r.innerText=e.text;var i=de.a.createElement("div","time",r);i.innerText=de.a.formatTime(new Date(e.time)),n.selfAuthored&&(de.a.createElement("span",t.theirMsgsLastSeenTime>=e.time?"iris-seen yes":"iris-seen",i).innerHTML=' <svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 59 42"><polygon fill="currentColor" points="40.6,12.1 17,35.7 7.4,26.1 4.6,29 17,41.3 43.4,14.9"></polygon><polygon class="iris-delivered-checkmark" fill="currentColor" points="55.6,12.1 32,35.7 29.4,33.1 26.6,36 32,41.3 58.4,14.9"></polygon></svg>'),r.innerHTML=r.innerHTML.replace(/\n/g,"<br>\n");var o=de.a.createElement("div","".concat(n.selfAuthored?"our":"their"," iris-chat-message"));o.appendChild(r),o.setAttribute("data-time",e.time);for(var a=l.children.length;a>=0;a--)if(0===a)l.insertBefore(o,l.firstChild);else{var c=l.children[a-1].getAttribute("data-time");if(c&&c<e.time){l.children[a-1].insertAdjacentElement("afterend",o);break}}l.scrollTop=l.scrollHeight})),h.addEventListener("keyup",(function(n){if(e.setActivity(t.gun,!0),t.setMyMsgsLastSeenTime(),13===n.keyCode){n.preventDefault();var r=h.value,i=de.a.getCaret(h);n.shiftKey?h.value="".concat(r.substring(0,i-1),"\n").concat(r.substring(i,r.length)):(h.value=r.substring(0,i-1)+r.substring(i,r.length),t.send(h.value),h.value="",t.setTyping(!1))}else t.setTyping(!!h.value.length)})),r}},{key:"removeGroupChatLink",value:function(e){this.chatLinks[e]=null,this.put("chatLinks",this.chatLinks),this.gun.user().get("chatLinks").get(e).put(null)}}],r=[{key:"getOurSecretChannelId",value:(l=C((function*(e,t,n){var r=yield de.a.gunOnceDefined(e.user(t).get("epub")),i=yield we.a.SEA.secret(r,n);return de.a.getHash(i+t)})),function(e,t,n){return l.apply(this,arguments)})},{key:"getTheirSecretChannelId",value:(u=C((function*(e,t,n){var r=yield de.a.gunOnceDefined(e.user(t).get("epub")),i=yield we.a.SEA.secret(r,n);return de.a.getHash(i+n.pub)})),function(e,t,n){return u.apply(this,arguments)})},{key:"getChannels",value:(s=C((function*(t,n,r){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=yield we.a.SEA.secret(n.epub,n);i&&e.getMyChatLinks(t,n,void 0,void 0,!0);var a={},c=Ee.a.throttle(function(){var i=C((function*(i,c){if(i&&!a[c]){if(a[c]=!0,c.length>44)return void t.user().get("chats").get(c).put(null);var s=yield de.a.gunOnceDefined(t.user().get("chats").get(c).get("pub")),u=yield we.a.SEA.decrypt(s,o);if(!u)return;u.pub||"string"==typeof u?r(new e({key:n,gun:t,participants:u.pub||u,save:!1})):u.uuid&&u.participants&&u.myGroupSecret&&r(new e({key:n,gun:t,participants:u.participants,uuid:u.uuid,myGroupSecret:u.myGroupSecret,save:!1}))}}));return function(e,t){return i.apply(this,arguments)}}(),500);t.user().get("chats").map().on(c)})),function(e,t,n){return s.apply(this,arguments)})},{key:"addChatButton",value:function(){var t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!(r=O({label:"Chat"},r)).channelOptions)throw new Error("addChatButton missing options.channelOptions param");de.a.injectCss();var i=de.a.createElement("div","iris-chat-open-button",document.body);i.setAttribute("id","iris-chat-open-button"),i.innerHTML='<svg style="margin-right:7px;margin-bottom: -0.2em" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 510 510" xml:space="preserve"><path fill="currentColor" d="M459,0H51C22.95,0,0,22.95,0,51v459l102-102h357c28.05,0,51-22.95,51-51V51C510,22.95,487.05,0,459,0z M102,178.5h306v51 H102V178.5z M306,306H102v-51h204V306z M408,153H102v-51h306V153z"></path></svg> '.concat(r.label),i.addEventListener("click",(function(){i.setAttribute("style","display: none"),t?n.setAttribute("style",""):(t=new e(r.channelOptions),n=t.getChatBox(),document.body.appendChild(n))}))}},{key:"setActivity",value:function(e,t){if(e.irisActivityStatus!==t){e.irisActivityStatus=t,clearTimeout(e.setActivityTimeout);var n=function(){e.user().get("activity").put({status:t,time:new Date(we.a.state()).toISOString()})};n(),t&&function t(){n(),e.setActivityTimeout=setTimeout(t,3e3)}()}}},{key:"getActivity",value:function(e,t,n){var r;e.user(t).get("activity").on((function(e){if(e&&e.time&&e.status){clearTimeout(r);var t=new Date(we.a.state()),i=new Date(e.time),o=i>new Date(t.getTime()-1e4)&&i<new Date(t.getTime()+3e4);n({isActive:o,lastActive:e.time,status:e.status}),o&&(r=setTimeout((function(){return n({isOnline:!1,lastActive:e.time})}),1e4))}}))}},{key:"initUser",value:function(e,t){var n=e.user();n.auth(t),n.put({epub:t.epub})}},{key:"formatChatLink",value:function(e){var t=e.urlRoot,n=e.chatWith,r=e.channelId,i=e.inviter,o=e.sharedSecret,a=e.linkId,c=encodeURIComponent;return r&&i?"".concat(t,"?channelId=").concat(c(r),"&inviter=").concat(c(i),"&s=").concat(c(o),"&k=").concat(c(a)):"".concat(t,"?chatWith=").concat(c(n),"&s=").concat(c(o),"&k=").concat(c(a))}},{key:"createChatLink",value:(c=C((function*(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"https://iris.to/",i=t.user();i.auth(n);var o=yield we.a.SEA.pair(),a=JSON.stringify(o),c=yield we.a.SEA.secret(o.epub,o),s=yield we.a.SEA.encrypt(a,c),u=yield we.a.SEA.secret(n.epub,n),l=yield we.a.SEA.encrypt(a,u),f=yield de.a.getHash(s);return f=f.slice(0,12),de.a.gunAsAnotherUser(t,o,(function(e){e.get("chatRequests").put({a:1})})),console.log(3),i.get("chatLinks").get(f).put({encryptedSharedKey:s,ownerEncryptedSharedKey:l}),e.formatChatLink({urlRoot:r,chatWith:n.pub,sharedSecret:c,linkId:f})})),function(e,t){return c.apply(this,arguments)})},{key:"getMyChatLinks",value:(a=C((function*(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"https://iris.to/",i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,a=t.user();a.auth(n);var c=yield we.a.SEA.secret(n.epub,n),s=[];a.get("chatLinks").map().on((function(u,l){if(u&&-1===s.indexOf(l)){var f=[];a.get("chatLinks").get(l).get("ownerEncryptedSharedKey").on(function(){var a=C((function*(a){if(a&&-1===s.indexOf(l)){s.push(l);var u=yield we.a.SEA.decrypt(a,c),p=yield we.a.SEA.secret(u.epub,u),h=e.formatChatLink({urlRoot:r,chatWith:n.pub,sharedSecret:p,linkId:l});i&&i({url:h,id:l}),o&&t.user(u.pub).get("chatRequests").map().on(function(){var r=C((function*(r,i){if(r){var o=JSON.stringify(r);if(-1===f.indexOf(o)){f.push(o);var a=yield we.a.SEA.decrypt(r,p);new e({gun:t,key:n,participants:a}).save()}de.a.gunAsAnotherUser(t,u,(function(e){e.get("chatRequests").get(i).put(null)}))}}));return function(e,t){return r.apply(this,arguments)}}())}}));return function(e){return a.apply(this,arguments)}}())}}))})),function(e,t){return a.apply(this,arguments)})},{key:"removePrivateChatLink",value:function(e,t,n){e.user().auth(t),e.user().get("chatLinks").get(n).put(null)}},{key:"deleteChannel",value:(o=C((function*(t,n,r){t.user().auth(n);var i=yield e.getOurSecretChannelId(t,r,n);t.user().get("channels").get(i).put(null),t.user().get("channels").get(i).off()})),function(e,t,n){return o.apply(this,arguments)})},{key:"deleteGroup",value:(i=C((function*(e,t,n){var r=yield we.a.SEA.secret(t.epub,t),i=yield de.a.getHash(r),o=yield de.a.getHash(i+n);e.user().auth(t),e.user().get("channels").get(o).put(null),e.user().get("channels").get(o).off()})),function(e,t,n){return i.apply(this,arguments)})}],n&&S(t.prototype,n),r&&S(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),De=Ae,Te=n("hosL"),Pe=function(e,t,n,r){function i(){var t=Reflect.construct(HTMLElement,[],i);return t._vdomComponent=e,t._root=r&&r.shadow?t.attachShadow({mode:"open"}):t,t}return(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=D,i.prototype.attributeChangedCallback=P,i.prototype.disconnectedCallback=B,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=n,n.forEach((function(e){Object.defineProperty(i.prototype,e,{get:function(){return this._vdom.props[e]},set:function(t){this._vdom?this.attributeChangedCallback(e,null,t):(this._props||(this._props={}),this._props[e]=t,this.connectedCallback());var n=j(t);null!=t&&"string"!==n&&"boolean"!==n&&"number"!==n||this.setAttribute(e,t)}})})),customElements.define(t||e.tagName||e.displayName||e.name,i)},Be=n("4Iz4"),Re=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=o.call(this)).ref=Object(Te.createRef)(),e.eventListeners={},e.state={value:""},e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&N(e,t)}(t,e);var n,r,i,o=z(t);return n=t,(r=[{key:"componentDidUpdate",value:function(e){e.user===this.props.user&&e.path===this.props.path||(this.setState({value:""}),this.eventListenersOff(),this.componentDidMount())}},{key:"componentDidMount",value:function(){var e=this;if(this.props.path&&void 0!==this.props.user){de.a.injectCss(),this.path=this.props.path,this.user=this.props.user,this.props.user&&this.path&&this.getValue(this.props.user);var t=de.a.getPublicState(),n=t._.user&&t._.user.is.pub,r=function(t){e.setState({myPub:t}),e.props.user||(e.user=t,e.getValue(t))};n?r(n):ke.getDefault().then((function(e){r(e.pub)}))}}},{key:"getNode",value:function(e){var t=de.a.getPublicState().user(e);return this.path.split("/").reduce((function(e,t){return e.get(decodeURIComponent(t))}),t)}},{key:"getValue",value:function(e){var t=this;this.getNode(e).once(),this.getNode(e).on((function(e,n,r,i){t.eventListeners[t.path]=i,t.unmounted||t.ref.current&&t.ref.current===document.activeElement||t.setState({value:e,class:"string"==typeof e?"":"iris-non-string"})}))}},{key:"eventListenersOff",value:function(){Object.values(this.eventListeners).forEach((function(e){return e.off()})),this.eventListeners={}}},{key:"componentWillUnmount",value:function(){this.unmounted=!0,this.eventListenersOff()}},{key:"getParsedValue",value:function(e){if(this.props.json)try{e=JSON.parse(e)}catch(e){}return e}},{key:"onInput",value:function(e){var t=this.getParsedValue(e.target.value||e.target.innerText);this.getNode().put(t),this.setState({class:"string"==typeof t?"":"iris-non-string"})}},{key:"isEditable",value:function(){return(!this.props.user||this.props.user===this.state.myPub)&&"false"!==String(this.props.editable)}},{key:"renderInput",value:function(){var e=this;return Object(Be.a)(pe||(pe=M(['\n      <input\n        type="text"\n        value=',"\n        placeholder=","\n        class=","\n        onInput=","\n        disabled="," />\n    "])),this.state.value,this.props.placeholder||this.path,this.getClass(),(function(t){return e.onInput(t)}),!this.isEditable())}},{key:"renderTag",value:function(){var e=this,t=this.props.placeholder||this.props.path,n=this.props.tag||"span";return Object(Be.a)(he||(he=M(["\n      <"," class="," ref="," contenteditable="," placeholder="," onInput=",">\n        ","\n      </",">\n    "])),n,this.state.class,this.ref,this.isEditable(),t,(function(t){return e.onInput(t)}),this.props.json?JSON.stringify(this.state.value):this.state.value,n)}},{key:"render",value:function(){return"input"===this.props.tag?this.renderInput():this.renderTag()}}])&&L(n.prototype,r),i&&L(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(Te.Component);!de.a.isNode&&Pe(Re,"iris-text",["path","user","placeholder","editable","tag"]);var Ie,Me,Le,Ne,ze,Ue=Re,He=function(e){function t(){return $(this,t),c.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&G(e,t)}(t,e);var n,r,i,o,a,c=Y(t);return n=t,r=[{key:"getValue",value:function(e){var t=this;this.getNode(e).on((function(e,n,r,i){t.eventListeners[t.path]=i,t.setState({value:e})}))}},{key:"onChange",value:(o=function*(e){var t=e.target.files[0],n=yield function(e){return new Promise((function(t,n){var r=new FileReader;r.readAsDataURL(e),r.onload=function(){return t(r.result)},r.onerror=function(e){return n(e)}}))}(t);this.getNode().put(n)},a=function(){var e=this,t=arguments;return new Promise((function(n,r){function i(e){K(c,n,r,i,a,"next",e)}function a(e){K(c,n,r,i,a,"throw",e)}var c=o.apply(e,t);i(void 0)}))},function(e){return a.apply(this,arguments)})},{key:"renderInput",value:function(){var e=this;return Object(Be.a)(Ie||(Ie=W(['\n      <input\n        type="text"\n        value=',"\n        placeholder=","\n        onInput=","\n        disabled="," />\n    "])),this.state.value,this.props.placeholder||this.path,(function(t){return e.onInput(t)}),!this.isEditable())}},{key:"renderTag",value:function(){var e=this,t=this.props.placeholder||this.props.path,n=this.props.tag||"span";return Object(Be.a)(Me||(Me=W(["\n      <"," ref="," contenteditable="," placeholder="," onInput=",">\n        ","\n      </",">\n    "])),n,this.ref,this.isEditable(),t,(function(t){return e.onInput(t)}),this.state.value,n)}},{key:"onClick",value:function(){this.isEditable()&&this.base.firstChild.click()}},{key:"render",value:function(){var e,t=this,n=this.isEditable(),r=this.state.value,i=r&&0===r.indexOf("data:image")?r:this.props.placeholder,o=this.props,a=o.alt,c=o.width,s=o.height;if(i){var u=n?"cursor: pointer;":"";e=Object(Be.a)(Le||(Le=W(["<img style="," onClick="," src="," ...","/>"])),u,(function(e){return t.onClick(e)}),r,{alt:a,width:c,height:s})}else n&&(e=Object(Be.a)(Ne||(Ne=W(["<button class="," onClick=",">Add image</button>"])),this.props["btn-class"],(function(e){return t.onClick(e)})));return Object(Be.a)(ze||(ze=W(['\n      <span>\n        <input name="profile-photo-input" type="file" style="display:none;" onChange=',' accept="image/*"/>\n        ',"\n      </span>\n    "])),(function(e){return t.onChange(e)}),e)}}],r&&V(n.prototype,r),i&&V(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(Ue);!de.a.isNode&&Pe(He,"iris-img",["path","user","placeholder","editable","alt","width","height"]);var qe,We=He,Ke=function(e){function t(){return X(this,t),o.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&te(e,t)}(t,e);var n,r,i,o=ne(t);return n=t,(r=[{key:"copyToClipboard",value:function(e){if(window.clipboardData&&window.clipboardData.setData)return window.clipboardData.setData("Text",e);if(document.queryCommandSupported&&document.queryCommandSupported("copy")){var t=document.createElement("textarea");t.textContent=e,t.style.position="fixed",document.body.appendChild(t),t.select();try{return document.execCommand("copy")}catch(e){return console.warn("Copy to clipboard failed.",e),!1}finally{document.body.removeChild(t)}}}},{key:"copy",value:function(e,t){var n=this;this.copyToClipboard(t);var r=e.target;this.originalWidth=this.originalWidth||r.offsetWidth+1,r.style.width=this.originalWidth,this.setState({copied:!0}),clearTimeout(this.timeout),this.timeout=setTimeout((function(){return n.setState({copied:!1})}),2e3)}},{key:"onClick",value:function(e){var t=this;e.preventDefault();var n="function"==typeof this.props.str?this.props.str():this.props.str;navigator.share&&de.a.isMobile&&!this.props["not-shareable"]?navigator.share({url:n,title:this.props.title}).catch((function(r){console.error("share failed",r),t.copy(e,n)})):this.copy(e,n)}},{key:"render",value:function(){var e,t,n=this,r=this.state.copied?this.props["copied-text"]||"Copied":this.props.text||"Copy";return Object(Be.a)(qe||(e=["<button class="," onClick=",">","</button>"],t||(t=e.slice(0)),qe=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))),this.props["inner-class"]||"copy-button",(function(e){return n.onClick(e)}),r)}}])&&ee(n.prototype,r),i&&ee(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(Te.Component);!de.a.isNode&&Pe(Ke,"iris-copy-button",["str","not-shareable","text","copied-text","title","inner-class"]);var $e,Ve=Ke,Ge=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=o.call(this)).eventListeners={},e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ce(e,t)}(t,e);var n,r,i,o=se(t);return n=t,(r=[{key:"onClick",value:function(e){e.preventDefault();var t=!this.state.following;de.a.getPublicState().user().get("follow").get(this.props.user).put(t)}},{key:"componentDidMount",value:function(){var e=this;de.a.injectCss(),ke.getDefault().then((function(t){de.a.getPublicState().user().auth(t),de.a.getPublicState().user().get("follow").get(e.props.user).on((function(t,n,r,i){e.setState({following:t}),e.eventListeners.follow=i}))}))}},{key:"componentWillUnmount",value:function(){Object.values(this.eventListeners).forEach((function(e){return e.off()}))}},{key:"render",value:function(){var e,t,n=this;return Object(Be.a)($e||(e=['\n      <button class="iris-follow-button '," ",'" onClick=','>\n        <span class="nonhover">','</span>\n        <span class="hover">Unfollow</span>\n      </button>\n    '],t||(t=e.slice(0)),$e=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))),this.state.following?"following":"",this.props["inner-class"]||"",(function(e){return n.onClick(e)}),this.state.following?"Following":"Follow")}}])&&ae(n.prototype,r),i&&ae(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(Te.Component);!de.a.isNode&&Pe(Ge,"iris-follow-button",["user"]);t.a={SignedMessage:Se,Attribute:be,Key:ke,Channel:De,util:de.a,components:{TextNode:Ue,ImageNode:We,CopyButton:Ve,FollowButton:Ge}}},oIol:function(e,t,n){"use strict";(function(e){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return y}));var f=n("5OaP"),p=n("hosL"),h=n("lBHI"),d=n("ox/y"),g=n("Y3FI"),m=n("3rgF"),y=function(t){function n(){var e;return l(s(e=f.call(this)),"hashtagSubscribers",void 0),l(s(e),"addHashtagInputRef",void 0),e.addHashtagInputRef=Object(p.createRef)(),e.hashtagSubscribers={},e.state={hashtags:{},showAddHashtagForm:void 0,popularHashtags:void 0},e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(n,t);var r,c,u,f=a(n);return r=n,(c=[{key:"componentDidMount",value:function(){var e=this,t={};h.a.public.user().get("hashtagSubscriptions").map().on(this.sub((function(n,r){0!==r.indexOf("~")&&(n?t[r]=!0:delete t[r],e.setState({hashtags:t}))}))),h.a.group().map("hashtagSubscriptions",this.sub((function(n,r,i,o,a){if(0!==r.indexOf("~")){e.hashtagSubscribers[r]||(e.hashtagSubscribers[r]=new Set);var c=e.hashtagSubscribers[r];n?c.add(a):c.delete(a);var s=Object.keys(e.hashtagSubscribers).filter((function(t){return e.hashtagSubscribers[t].size>0})).filter((function(e){return!t[e]})).sort((function(t,n){var r=e.hashtagSubscribers[t],i=e.hashtagSubscribers[n];return r.size!==i.size?r.size>i.size?-1:1:t>n?1:-1})).slice(0,8);e.setState({popularHashtags:s})}})))}},{key:"addHashtagClicked",value:function(e){e.preventDefault(),this.setState({showAddHashtagForm:!this.state.showAddHashtagForm})}},{key:"onAddHashtag",value:function(e){e.preventDefault();var t=e.target.firstChild.value.replace("#","").trim();t&&(h.a.public.user().get("hashtagSubscriptions").get(t).put(!0),this.setState({showAddHashtagForm:!1}),Object(g.route)("/hashtag/".concat(t)))}},{key:"componentDidUpdate",value:function(e,t){!t.showAddHashtagForm&&this.state.showAddHashtagForm&&this.addHashtagInputRef.current&&this.addHashtagInputRef.current.focus()}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"render",value:function(){var t=this;return e(p.Fragment,null,e("div",{className:"msg hashtag-list"},e("div",{className:"msg-content"},e(p.Fragment,null,this.state.showAddHashtagForm?e("form",{onSubmit:function(e){return t.onAddHashtag(e)}},e("input",{placeholder:"#hashtag",ref:this.addHashtagInputRef,style:"margin-bottom: 7px"}),e("button",{type:"submit"},Object(m.c)("add")),e("button",{onClick:function(){return t.setState({showAddHashtagForm:!1})}},Object(m.c)("cancel"))):e("a",{href:"",onClick:function(e){return t.addHashtagClicked(e)}},Object(m.c)("add_hashtag")),e("br",null)),e(d.Link,{activeClassName:"active",href:"/"},Object(m.c)("all")),Object.keys(this.state.hashtags).sort().map((function(t){return e(d.Link,{activeClassName:"active",className:"channel-listing",href:"/hashtag/".concat(t)},"#",t)})))),this.state.popularHashtags&&this.state.popularHashtags.length?e("div",{className:"msg hashtag-list"},e("div",{className:"msg-content"},Object(m.c)("popular_hashtags"),e("br",null),e("br",null),this.state.popularHashtags.map((function(t){return e(d.Link,{activeClassName:"active",className:"channel-listing",href:"/hashtag/".concat(t)},"#",t)})))):null)}}])&&i(r.prototype,c),u&&i(r,u),Object.defineProperty(r,"prototype",{writable:!1}),n}(f.a)}).call(this,n("hosL").h)},oPUo:function(e,t,n){(function(e){function r(e,t){this._id=e,this._clearFn=t}var i=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;t.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n("heVN"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("pCvA"))},oS6X:function(e,t,n){"use strict";var r,i=n("4Iz4"),o=n("jMw0"),a=n("3rgF"),c=n("Y3FI");t.a=function(){return Object(i.a)(r||(e=['<div class="main-view" id="logout-confirmation">\n  <div class="centered-container">\n    <p dangerouslySetInnerHTML=',"></p>\n    <p>\n      <button onClick=",">",'</button>\n    </p>\n    <p>\n      <button class="logout-button" onClick=',">","</button>\n    </p>\n  </div>\n</div>"],t||(t=e.slice(0)),r=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))),{__html:Object(a.c)("logout_confirmation_info")},(function(){return Object(c.route)("/settings")}),Object(a.c)("back"),(function(){return o.a.logOut()}),Object(a.c)("log_out"));var e,t}},ocsI:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}n.d(t,"a",(function(){return x}));var l,f,p,h,d,g=n("5OaP"),m=n("lBHI"),y=n("4Iz4"),v=n("aKPg"),b=n("ARkJ"),_=n("ox/y"),w=n("3rgF"),F=n("xVeL"),k=[{url:"/",text:Object(w.c)("home"),icon:F.a.home},{url:"/media",text:Object(w.c)("media"),icon:F.a.play},{url:"/chat",text:Object(w.c)("messages"),icon:F.a.chat},{url:"/store",text:Object(w.c)("market"),icon:F.a.store,beta:!0},{url:"/contacts",text:Object(w.c)("contacts"),icon:F.a.user},{url:"/settings",text:Object(w.c)("settings"),icon:F.a.settings},{url:"/explorer",text:Object(w.c)("explorer"),icon:F.a.folder,beta:!0},{url:"/about",text:Object(w.c)("about"),icon:F.a.info}],x=function(e){function t(){return u.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e);var n,r,s,u=c(t);return n=t,(r=[{key:"componentDidMount",value:function(){m.a.local.get("unseenMsgsTotal").on(this.inject()),m.a.local.get("settings").get("showBetaFeatures").on(this.inject())}},{key:"menuLinkClicked",value:function(){m.a.local.get("toggleMenu").put(!1),m.a.local.get("scrollUp").put(!0)}},{key:"render",value:function(){var e=this;return Object(y.a)(l||(l=i(['\n      <div class="application-list">\n        ',"\n        ","\n      </div>\n    "])),v.a.isElectron?Object(y.a)(f||(f=i(['<div class="electron-padding"/>']))):Object(y.a)(p||(p=i(['\n          <a href="/" onClick=',' tabindex="0" class="logo">\n            <div class="mobile-menu-icon visible-xs-inline-block">',"</div>\n            <img src=",' width=30 height=30/>\n            <span style="font-size: 1.5em">iris</span>\n          </a>\n        '])),(function(){return e.menuLinkClicked()}),F.a.menu,b.a),k.map((function(t){if(t.url&&(!t.beta||e.state.showBetaFeatures))return Object(y.a)(h||(h=i(["\n              <"," onClick=",' activeClassName="active" href=','>\n                <span class="icon">\n                  ',"\n                  ",'\n                </span>\n                <span class="text">',"</span>\n              <//>"])),t.native?"a":_.Link,(function(){return e.menuLinkClicked()}),t.url,t.text===Object(w.c)("messages")&&e.state.unseenMsgsTotal?Object(y.a)(d||(d=i(['<span class="unseen unseen-total">',"</span>"])),e.state.unseenMsgsTotal):"",t.icon||F.a.circle,t.text)})))}}])&&o(n.prototype,r),s&&o(n,s),Object.defineProperty(n,"prototype",{writable:!1}),t}(g.a)},oeWf:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var u=n("5OaP"),l=n("lBHI"),f=function(e){function t(){return s.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(t,e);var n,r,c,s=a(t);return n=t,(r=[{key:"componentDidMount",value:function(){l.a.public.user(this.props.pub).get("profile").get("name").on(this.inject())}},{key:"render",value:function(){var e,t;return null!==(e=null!==(t=this.state.name)&&void 0!==t?t:this.props.placeholder)&&void 0!==e?e:""}}])&&i(n.prototype,r),c&&i(n,c),Object.defineProperty(n,"prototype",{writable:!1}),t}(u.a);t.a=f},"ox/y":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==r(t)&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0}),t.Link=t.Match=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n("hosL"),c=n("Y3FI"),s=t.Match=function(e){function t(){for(var t,n,r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return t=n=i(this,e.call.apply(e,[this].concat(o))),n.update=function(e){n.nextUrl=e,n.setState({})},i(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+r(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){c.subscribers.push(this.update)},t.prototype.componentWillUnmount=function(){c.subscribers.splice(c.subscribers.indexOf(this.update)>>>0,1)},t.prototype.render=function(e){var t=this.nextUrl||(0,c.getCurrentUrl)(),n=t.replace(/\?.+$/,"");return this.nextUrl=null,e.children({url:t,path:n,matches:!1!==(0,c.exec)(n,e.path,{})})},t}(a.Component),u=function(e){var t=e.activeClassName,n=e.path,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["activeClassName","path"]);return(0,a.h)(s,{path:n||r.href},(function(e){return(0,a.h)(c.Link,o({},r,{class:[r.class||r.className,e.matches&&t].filter(Boolean).join(" ")}))}))};t.Link=u,t.default=s,s.Link=u},pCvA:function(e){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":t(window))&&(n=window)}e.exports=n},qIEf:function(e,t,n){(function(e){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var r;!function(t,r){"use strict";"object"===n(e)&&"object"===n(e.exports)?e.exports=t.document?r(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return r(e)}:r(t)}("undefined"!=typeof window?window:this,(function(i,o){"use strict";function a(e,t,n){var r,i,o=(n=n||ye).createElement("script");if(o.text=e,t)for(r in ve)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function c(e){return null==e?e+"":"object"===n(e)||"function"==typeof e?ue[le.call(e)]||"object":n(e)}function s(e){var t=!!e&&"length"in e&&e.length,n=c(e);return!ge(e)&&!me(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function u(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function l(e,t,n){return ge(t)?_e.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?_e.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?_e.grep(e,(function(e){return se.call(t,e)>-1!==n})):_e.filter(t,e,n)}function f(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function p(e){return e}function h(e){throw e}function d(e,t,n,r){var i;try{e&&ge(i=e.promise)?i.call(e).done(t).fail(n):e&&ge(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function g(){ye.removeEventListener("DOMContentLoaded",g),i.removeEventListener("load",g),_e.ready()}function m(e,t){return t.toUpperCase()}function y(e){return e.replace(Be,"ms-").replace(Re,m)}function v(){this.expando=_e.expando+v.uid++}function b(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ze,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Ne.test(e)?JSON.parse(e):e)}(n)}catch(e){}Le.set(e,t,n)}else n=void 0;return n}function _(e,t,n,r){var i,o,a=20,c=r?function(){return r.cur()}:function(){return _e.css(e,t,"")},s=c(),u=n&&n[3]||(_e.cssNumber[t]?"":"px"),l=e.nodeType&&(_e.cssNumber[t]||"px"!==u&&+s)&&He.exec(_e.css(e,t));if(l&&l[3]!==u){for(u=u||l[3],l=+(s/=2)||1;a--;)_e.style(e,t,l+u),(1-o)*(1-(o=c()/s||.5))<=0&&(a=0),l/=o;_e.style(e,t,(l*=2)+u),n=n||[]}return n&&(l=+l||+s||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=l,r.end=i)),i}function w(e){var t,n=e.ownerDocument,r=e.nodeName,i=Ge[r];return i||(t=n.body.appendChild(n.createElement(r)),i=_e.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ge[r]=i,i)}function F(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=Me.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Ve(r)&&(i[o]=w(r))):"none"!==n&&(i[o]="none",Me.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function k(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&u(e,t)?_e.merge([e],n):n}function x(e,t){for(var n=0,r=e.length;n<r;n++)Me.set(e[n],"globalEval",!t||Me.get(t[n],"globalEval"))}function C(e,t,n,r,i){for(var o,a,s,u,l,f,p=t.createDocumentFragment(),h=[],d=0,g=e.length;d<g;d++)if((o=e[d])||0===o)if("object"===c(o))_e.merge(h,o.nodeType?[o]:o);else if(tt.test(o)){for(a=a||p.appendChild(t.createElement("div")),s=(Ze.exec(o)||["",""])[1].toLowerCase(),a.innerHTML=(u=et[s]||et._default)[1]+_e.htmlPrefilter(o)+u[2],f=u[0];f--;)a=a.lastChild;_e.merge(h,a.childNodes),(a=p.firstChild).textContent=""}else h.push(t.createTextNode(o));for(p.textContent="",d=0;o=h[d++];)if(r&&_e.inArray(o,r)>-1)i&&i.push(o);else if(l=Ke(o),a=k(p.appendChild(o),"script"),l&&x(a),n)for(f=0;o=a[f++];)Xe.test(o.type||"")&&n.push(o);return p}function O(){return!0}function S(){return!1}function j(e,t){return e===function(){try{return ye.activeElement}catch(e){}}()==("focus"===t)}function E(e,t,r,i,o,a){var c,s;if("object"===n(t)){for(s in"string"!=typeof r&&(i=i||r,r=void 0),t)E(e,s,r,i,t[s],a);return e}if(null==i&&null==o?(o=r,i=r=void 0):null==o&&("string"==typeof r?(o=i,i=void 0):(o=i,i=r,r=void 0)),!1===o)o=S;else if(!o)return e;return 1===a&&(c=o,o=function(e){return _e().off(e),c.apply(this,arguments)},o.guid=c.guid||(c.guid=_e.guid++)),e.each((function(){_e.event.add(this,t,o,i,r)}))}function A(e,t,n){n?(Me.set(e,t,!1),_e.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=Me.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(_e.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=oe.call(arguments),Me.set(this,t,o),r=n(this,t),this[t](),o!==(i=Me.get(this,t))||r?Me.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(Me.set(this,t,{value:_e.event.trigger(_e.extend(o[0],_e.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Me.get(e,t)&&_e.event.add(e,t,O)}function D(e,t){return u(e,"table")&&u(11!==t.nodeType?t:t.firstChild,"tr")&&_e(e).children("tbody")[0]||e}function T(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function P(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function B(e,t){var n,r,i,o,a,c;if(1===t.nodeType){if(Me.hasData(e)&&(c=Me.get(e).events))for(i in Me.remove(t,"handle events"),c)for(n=0,r=c[i].length;n<r;n++)_e.event.add(t,i,c[i][n]);Le.hasData(e)&&(o=Le.access(e),a=_e.extend({},o),Le.set(t,a))}}function R(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Qe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function I(e,t,n,r){t=ae(t);var i,o,c,s,u,l,f=0,p=e.length,h=p-1,d=t[0],g=ge(d);if(g||p>1&&"string"==typeof d&&!de.checkClone&&it.test(d))return e.each((function(i){var o=e.eq(i);g&&(t[0]=d.call(this,i,o.html())),I(o,t,n,r)}));if(p&&(o=(i=C(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(c=_e.map(k(i,"script"),T)).length;f<p;f++)u=i,f!==h&&(u=_e.clone(u,!0,!0),s&&_e.merge(c,k(u,"script"))),n.call(e[f],u,f);if(s)for(l=c[c.length-1].ownerDocument,_e.map(c,P),f=0;f<s;f++)Xe.test((u=c[f]).type||"")&&!Me.access(u,"globalEval")&&_e.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?_e._evalUrl&&!u.noModule&&_e._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):a(u.textContent.replace(ot,""),u,l))}return e}function M(e,t,n){for(var r,i=t?_e.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||_e.cleanData(k(r)),r.parentNode&&(n&&Ke(r)&&x(k(r,"script")),r.parentNode.removeChild(r));return e}function L(e,t,n){var r,i,o,a,c=e.style;return(n=n||ct(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||Ke(e)||(a=_e.style(e,t)),!de.pixelBoxStyles()&&at.test(a)&&ut.test(t)&&(r=c.width,i=c.minWidth,o=c.maxWidth,c.minWidth=c.maxWidth=c.width=a,a=n.width,c.width=r,c.minWidth=i,c.maxWidth=o)),void 0!==a?a+"":a}function N(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function z(e){var t=_e.cssProps[e]||pt[e];return t||(e in ft?e:pt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=lt.length;n--;)if((e=lt[n]+t)in ft)return e}(e)||e)}function U(e,t,n){var r=He.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function H(e,t,n,r,i,o){var a="width"===t?1:0,c=0,s=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(s+=_e.css(e,n+qe[a],!0,i)),r?("content"===n&&(s-=_e.css(e,"padding"+qe[a],!0,i)),"margin"!==n&&(s-=_e.css(e,"border"+qe[a]+"Width",!0,i))):(s+=_e.css(e,"padding"+qe[a],!0,i),"padding"!==n?s+=_e.css(e,"border"+qe[a]+"Width",!0,i):c+=_e.css(e,"border"+qe[a]+"Width",!0,i));return!r&&o>=0&&(s+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-s-c-.5))||0),s}function q(e,t,n){var r=ct(e),i=(!de.boxSizingReliable()||n)&&"border-box"===_e.css(e,"boxSizing",!1,r),o=i,a=L(e,t,r),c="offset"+t[0].toUpperCase()+t.slice(1);if(at.test(a)){if(!n)return a;a="auto"}return(!de.boxSizingReliable()&&i||!de.reliableTrDimensions()&&u(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===_e.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===_e.css(e,"boxSizing",!1,r),(o=c in e)&&(a=e[c])),(a=parseFloat(a)||0)+H(e,t,n||(i?"border":"content"),o,r,a)+"px"}function W(e,t,n,r,i){return new W.prototype.init(e,t,n,r,i)}function K(){vt&&(!1===ye.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(K):i.setTimeout(K,_e.fx.interval),_e.fx.tick())}function $(){return i.setTimeout((function(){yt=void 0})),yt=Date.now()}function V(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=qe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function G(e,t,n){for(var r,i=(Y.tweeners[t]||[]).concat(Y.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function Y(e,t,n){var r,i,o=0,a=Y.prefilters.length,c=_e.Deferred().always((function(){delete s.elem})),s=function(){if(i)return!1;for(var t=yt||$(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),o=0,a=u.tweens.length;o<a;o++)u.tweens[o].run(r);return c.notifyWith(e,[u,r,n]),r<1&&a?n:(a||c.notifyWith(e,[u,1,0]),c.resolveWith(e,[u]),!1)},u=c.promise({elem:e,props:_e.extend({},t),opts:_e.extend(!0,{specialEasing:{},easing:_e.easing._default},n),originalProperties:t,originalOptions:n,startTime:yt||$(),duration:n.duration,tweens:[],createTween:function(t,n){var r=_e.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)u.tweens[n].run(1);return t?(c.notifyWith(e,[u,1,0]),c.resolveWith(e,[u,t])):c.rejectWith(e,[u,t]),this}}),l=u.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=y(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=_e.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(l,u.opts.specialEasing);o<a;o++)if(r=Y.prefilters[o].call(u,e,l,u.opts))return ge(r.stop)&&(_e._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return _e.map(l,G,u),ge(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),_e.fx.timer(_e.extend(s,{elem:e,anim:u,queue:u.opts.queue})),u}function J(e){return(e.match(Ae)||[]).join(" ")}function Q(e){return e.getAttribute&&e.getAttribute("class")||""}function Z(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Ae)||[]}function X(e,t,r,i){var o;if(Array.isArray(t))_e.each(t,(function(t,o){r||Dt.test(e)?i(e,o):X(e+"["+("object"===n(o)&&null!=o?t:"")+"]",o,r,i)}));else if(r||"object"!==c(t))i(e,t);else for(o in t)X(e+"["+o+"]",t[o],r,i)}function ee(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Ae)||[];if(ge(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function te(e,t,n,r){function i(c){var s;return o[c]=!0,_e.each(e[c]||[],(function(e,c){var u=c(t,n,r);return"string"!=typeof u||a||o[u]?a?!(s=u):void 0:(t.dataTypes.unshift(u),i(u),!1)})),s}var o={},a=e===Ht;return i(t.dataTypes[0])||!o["*"]&&i("*")}function ne(e,t){var n,r,i=_e.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&_e.extend(!0,e,r),e}var re=[],ie=Object.getPrototypeOf,oe=re.slice,ae=re.flat?function(e){return re.flat.call(e)}:function(e){return re.concat.apply([],e)},ce=re.push,se=re.indexOf,ue={},le=ue.toString,fe=ue.hasOwnProperty,pe=fe.toString,he=pe.call(Object),de={},ge=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},me=function(e){return null!=e&&e===e.window},ye=i.document,ve={type:!0,src:!0,nonce:!0,noModule:!0},be="3.6.0",_e=function e(t,n){return new e.fn.init(t,n)};_e.fn=_e.prototype={jquery:be,constructor:_e,length:0,toArray:function(){return oe.call(this)},get:function(e){return null==e?oe.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=_e.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return _e.each(this,e)},map:function(e){return this.pushStack(_e.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(oe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(_e.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(_e.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ce,sort:re.sort,splice:re.splice},_e.extend=_e.fn.extend=function(){var e,t,r,i,o,a,c=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof c&&(l=c,c=arguments[s]||{},s++),"object"===n(c)||ge(c)||(c={}),s===u&&(c=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)i=e[t],"__proto__"!==t&&c!==i&&(l&&i&&(_e.isPlainObject(i)||(o=Array.isArray(i)))?(r=c[t],a=o&&!Array.isArray(r)?[]:o||_e.isPlainObject(r)?r:{},o=!1,c[t]=_e.extend(l,a,i)):void 0!==i&&(c[t]=i));return c},_e.extend({expando:"jQuery"+(be+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==le.call(e))&&(!(t=ie(e))||"function"==typeof(n=fe.call(t,"constructor")&&t.constructor)&&pe.call(n)===he)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){a(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(s(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?_e.merge(n,"string"==typeof e?[e]:e):ce.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(s(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return ae(a)},guid:1,support:de}),"function"==typeof Symbol&&(_e.fn[Symbol.iterator]=re[Symbol.iterator]),_e.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){ue["[object "+t+"]"]=t.toLowerCase()}));var we=function(e){function t(e,t,n,r){var i,o,a,c,s,u,l,p=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;if(!r&&(A(t),t=t||D,P)){if(11!==d&&(s=ye.exec(e)))if(i=s[1]){if(9===d){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(p&&(a=p.getElementById(i))&&M(t,a)&&a.id===i)return n.push(a),n}else{if(s[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((i=s[3])&&_.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(i)),n}if(_.qsa&&!K[e+" "]&&(!B||!B.test(e))&&(1!==d||"object"!==t.nodeName.toLowerCase())){if(l=e,p=t,1===d&&(ue.test(e)||se.test(e))){for((p=ve.test(e)&&f(t.parentNode)||t)===t&&_.scope||((c=t.getAttribute("id"))?c=c.replace(we,Fe):t.setAttribute("id",c=L)),o=(u=x(e)).length;o--;)u[o]=(c?"#"+c:":scope")+" "+h(u[o]);l=u.join(",")}try{return Q.apply(n,p.querySelectorAll(l)),n}catch(t){K(e,!0)}finally{c===L&&t.removeAttribute("id")}}}return O(e.replace(ae,"$1"),t,n,r)}function n(){var e=[];return function t(n,r){return e.push(n+" ")>w.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function r(e){return e[L]=!0,e}function i(e){var t=D.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function c(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function s(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&xe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function l(e){return r((function(t){return t=+t,r((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function f(e){return e&&void 0!==e.getElementsByTagName&&e}function p(){}function h(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function d(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,c=U++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,s){var u,l,f,p=[z,c];if(s){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,s))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(l=(f=t[L]||(t[L]={}))[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=l[o])&&u[0]===z&&u[1]===c)return p[2]=u[2];if(l[o]=p,p[2]=e(t,n,s))return!0}return!1}}function g(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function m(e,t,n,r,i){for(var o,a=[],c=0,s=e.length,u=null!=t;c<s;c++)(o=e[c])&&(n&&!n(o,r,i)||(a.push(o),u&&t.push(c)));return a}function y(e,n,i,o,a,c){return o&&!o[L]&&(o=y(o)),a&&!a[L]&&(a=y(a,c)),r((function(r,c,s,u){var l,f,p,h=[],d=[],g=c.length,y=r||function(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}(n||"*",s.nodeType?[s]:s,[]),v=!e||!r&&n?y:m(y,h,e,s,u),b=i?a||(r?e:g||o)?[]:c:v;if(i&&i(v,b,s,u),o)for(l=m(b,d),o(l,[],s,u),f=l.length;f--;)(p=l[f])&&(b[d[f]]=!(v[d[f]]=p));if(r){if(a||e){if(a){for(l=[],f=b.length;f--;)(p=b[f])&&l.push(v[f]=p);a(null,b=[],l,u)}for(f=b.length;f--;)(p=b[f])&&(l=a?X(r,p):h[f])>-1&&(r[l]=!(c[l]=p))}}else b=m(b===c?b.splice(g,b.length):b),a?a(null,c,b,u):Q.apply(c,b)}))}function v(e){for(var t,n,r,i=e.length,o=w.relative[e[0].type],a=o||w.relative[" "],c=o?1:0,s=d((function(e){return e===t}),a,!0),u=d((function(e){return X(t,e)>-1}),a,!0),l=[function(e,n,r){var i=!o&&(r||n!==S)||((t=n).nodeType?s(e,n,r):u(e,n,r));return t=null,i}];c<i;c++)if(n=w.relative[e[c].type])l=[d(g(l),n)];else{if((n=w.filter[e[c].type].apply(null,e[c].matches))[L]){for(r=++c;r<i&&!w.relative[e[r].type];r++);return y(c>1&&g(l),c>1&&h(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(ae,"$1"),n,c<r&&v(e.slice(c,r)),r<i&&v(e=e.slice(r)),r<i&&h(e))}l.push(n)}return g(l)}var b,_,w,F,k,x,C,O,S,j,E,A,D,T,P,B,R,I,M,L="sizzle"+1*new Date,N=e.document,z=0,U=0,H=n(),q=n(),W=n(),K=n(),$=function(e,t){return e===t&&(E=!0),0},V={}.hasOwnProperty,G=[],Y=G.pop,J=G.push,Q=G.push,Z=G.slice,X=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},ee="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",te="[\\x20\\t\\r\\n\\f]",ne="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",re="\\[[\\x20\\t\\r\\n\\f]*("+ne+")(?:"+te+"*([*^$|!~]?=)"+te+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ne+"))|)"+te+"*\\]",ie=":("+ne+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+re+")*)|.*)\\)|)",oe=new RegExp(te+"+","g"),ae=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),ce=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),se=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),ue=new RegExp(te+"|>"),le=new RegExp(ie),fe=new RegExp("^"+ne+"$"),pe={ID:new RegExp("^#("+ne+")"),CLASS:new RegExp("^\\.("+ne+")"),TAG:new RegExp("^("+ne+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+ee+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},he=/HTML$/i,de=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,me=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,be=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),_e=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},we=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Fe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ke=function(){A()},xe=d((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{Q.apply(G=Z.call(N.childNodes),N.childNodes)}catch(e){Q={apply:G.length?function(e,t){J.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}for(b in _=t.support={},k=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!he.test(e&&e.namespaceURI||t&&t.nodeName||"HTML")},A=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:N;return r!=D&&9===r.nodeType&&r.documentElement?(T=(D=r).documentElement,P=!k(D),N!=D&&(n=D.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ke,!1):n.attachEvent&&n.attachEvent("onunload",ke)),_.scope=i((function(e){return T.appendChild(e).appendChild(D.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),_.attributes=i((function(e){return e.className="i",!e.getAttribute("className")})),_.getElementsByTagName=i((function(e){return e.appendChild(D.createComment("")),!e.getElementsByTagName("*").length})),_.getElementsByClassName=me.test(D.getElementsByClassName),_.getById=i((function(e){return T.appendChild(e).id=L,!D.getElementsByName||!D.getElementsByName(L).length})),_.getById?(w.filter.ID=function(e){var t=e.replace(be,_e);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&P){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var t=e.replace(be,_e);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&P){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),w.find.TAG=_.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):_.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=_.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&P)return t.getElementsByClassName(e)},R=[],B=[],(_.qsa=me.test(D.querySelectorAll))&&(i((function(e){var t;T.appendChild(e).innerHTML="<a id='"+L+"'></a><select id='"+L+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&B.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||B.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+ee+")"),e.querySelectorAll("[id~="+L+"-]").length||B.push("~="),(t=D.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||B.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||B.push(":checked"),e.querySelectorAll("a#"+L+"+*").length||B.push(".#.+[+~]"),e.querySelectorAll("\\\f"),B.push("[\\r\\n\\f]")})),i((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=D.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&B.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&B.push(":enabled",":disabled"),T.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&B.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),B.push(",.*:")}))),(_.matchesSelector=me.test(I=T.matches||T.webkitMatchesSelector||T.mozMatchesSelector||T.oMatchesSelector||T.msMatchesSelector))&&i((function(e){_.disconnectedMatch=I.call(e,"*"),I.call(e,"[s!='']:x"),R.push("!=",ie)})),B=B.length&&new RegExp(B.join("|")),R=R.length&&new RegExp(R.join("|")),t=me.test(T.compareDocumentPosition),M=t||me.test(T.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},$=t?function(e,t){if(e===t)return E=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!_.sortDetached&&t.compareDocumentPosition(e)===n?e==D||e.ownerDocument==N&&M(N,e)?-1:t==D||t.ownerDocument==N&&M(N,t)?1:j?X(j,e)-X(j,t):0:4&n?-1:1)}:function(e,t){if(e===t)return E=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,c=[e],s=[t];if(!i||!o)return e==D?-1:t==D?1:i?-1:o?1:j?X(j,e)-X(j,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)c.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;c[r]===s[r];)r++;return r?a(c[r],s[r]):c[r]==N?-1:s[r]==N?1:0},D):D},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if(A(e),_.matchesSelector&&P&&!K[n+" "]&&(!R||!R.test(n))&&(!B||!B.test(n)))try{var r=I.call(e,n);if(r||_.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){K(n,!0)}return t(n,D,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!=D&&A(e),M(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!=D&&A(e);var n=w.attrHandle[t.toLowerCase()],r=n&&V.call(w.attrHandle,t.toLowerCase())?n(e,t,!P):void 0;return void 0!==r?r:_.attributes||!P?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(we,Fe)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(E=!_.detectDuplicates,j=!_.sortStable&&e.slice(0),e.sort($),E){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return j=null,e},F=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=F(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=F(t);return n},w=t.selectors={cacheLength:50,createPseudo:r,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,_e),e[3]=(e[3]||e[4]||e[5]||"").replace(be,_e),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&le.test(n)&&(t=x(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,_e).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=H[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+te+"|$)"))&&H(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(oe," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),c="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,s){var u,l,f,p,h,d,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=c&&t.nodeName.toLowerCase(),v=!s&&!c,b=!1;if(m){if(o){for(;g;){for(p=t;p=p[g];)if(c?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;d=g="only"===e&&!d&&"nextSibling"}return!0}if(d=[a?m.firstChild:m.lastChild],a&&v){for(b=(h=(u=(l=(f=(p=m)[L]||(p[L]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===z&&u[1])&&u[2],p=h&&m.childNodes[h];p=++h&&p&&p[g]||(b=h=0)||d.pop();)if(1===p.nodeType&&++b&&p===t){l[e]=[z,h,b];break}}else if(v&&(b=h=(u=(l=(f=(p=t)[L]||(p[L]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===z&&u[1]),!1===b)for(;(p=++h&&p&&p[g]||(b=h=0)||d.pop())&&((c?p.nodeName.toLowerCase()!==y:1!==p.nodeType)||!++b||(v&&((l=(f=p[L]||(p[L]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[z,b]),p!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,n){var i,o=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[L]?o(n):o.length>1?(i=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?r((function(e,t){for(var r,i=o(e,n),a=i.length;a--;)e[r=X(e,i[a])]=!(t[r]=i[a])})):function(e){return o(e,0,i)}):o}},pseudos:{not:r((function(e){var t=[],n=[],i=C(e.replace(ae,"$1"));return i[L]?r((function(e,t,n,r){for(var o,a=i(e,null,r,[]),c=e.length;c--;)(o=a[c])&&(e[c]=!(t[c]=o))})):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}})),has:r((function(e){return function(n){return t(e,n).length>0}})),contains:r((function(e){return e=e.replace(be,_e),function(t){return(t.textContent||F(t)).indexOf(e)>-1}})),lang:r((function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,_e).toLowerCase(),function(t){var n;do{if(n=P?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===T},focus:function(e){return e===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:u(!1),disabled:u(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return ge.test(e.nodeName)},input:function(e){return de.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l((function(){return[0]})),last:l((function(e,t){return[t-1]})),eq:l((function(e,t,n){return[n<0?n+t:n]})),even:l((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:l((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:l((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:l((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},w.pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[b]=c(b);for(b in{submit:!0,reset:!0})w.pseudos[b]=s(b);return p.prototype=w.filters=w.pseudos,w.setFilters=new p,x=t.tokenize=function(e,n){var r,i,o,a,c,s,u,l=q[e+" "];if(l)return n?0:l.slice(0);for(c=e,s=[],u=w.preFilter;c;){for(a in r&&!(i=ce.exec(c))||(i&&(c=c.slice(i[0].length)||c),s.push(o=[])),r=!1,(i=se.exec(c))&&(r=i.shift(),o.push({value:r,type:i[0].replace(ae," ")}),c=c.slice(r.length)),w.filter)!(i=pe[a].exec(c))||u[a]&&!(i=u[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),c=c.slice(r.length));if(!r)break}return n?c.length:c?t.error(e):q(e,s).slice(0)},C=t.compile=function(e,n){var i,o=[],a=[],c=W[e+" "];if(!c){for(n||(n=x(e)),i=n.length;i--;)(c=v(n[i]))[L]?o.push(c):a.push(c);c=W(e,function(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,c,s,u){var l,f,p,h=0,d="0",g=r&&[],y=[],v=S,b=r||o&&w.find.TAG("*",u),_=z+=null==v?1:Math.random()||.1,F=b.length;for(u&&(S=a==D||a||u);d!==F&&null!=(l=b[d]);d++){if(o&&l){for(f=0,a||l.ownerDocument==D||(A(l),c=!P);p=e[f++];)if(p(l,a||D,c)){s.push(l);break}u&&(z=_)}i&&((l=!p&&l)&&h--,r&&g.push(l))}if(h+=d,i&&d!==h){for(f=0;p=n[f++];)p(g,y,a,c);if(r){if(h>0)for(;d--;)g[d]||y[d]||(y[d]=Y.call(s));y=m(y)}Q.apply(s,y),u&&!r&&y.length>0&&h+n.length>1&&t.uniqueSort(s)}return u&&(z=_,S=v),g};return i?r(a):a}(a,o)),c.selector=e}return c},O=t.select=function(e,t,n,r){var i,o,a,c,s,u="function"==typeof e&&e,l=!r&&x(e=u.selector||e);if(n=n||[],1===l.length){if((o=l[0]=l[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&9===t.nodeType&&P&&w.relative[o[1].type]){if(!(t=(w.find.ID(a.matches[0].replace(be,_e),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=pe.needsContext.test(e)?0:o.length;i--&&!w.relative[c=(a=o[i]).type];)if((s=w.find[c])&&(r=s(a.matches[0].replace(be,_e),ve.test(o[0].type)&&f(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&h(o)))return Q.apply(n,r),n;break}}return(u||C(e,l))(r,t,!P,n,!t||ve.test(e)&&f(t.parentNode)||t),n},_.sortStable=L.split("").sort($).join("")===L,_.detectDuplicates=!!E,A(),_.sortDetached=i((function(e){return 1&e.compareDocumentPosition(D.createElement("fieldset"))})),i((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||o("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),_.attributes&&i((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||o("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),i((function(e){return null==e.getAttribute("disabled")}))||o(ee,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),t}(i);_e.find=we,(_e.expr=we.selectors)[":"]=_e.expr.pseudos,_e.uniqueSort=_e.unique=we.uniqueSort,_e.text=we.getText,_e.isXMLDoc=we.isXML,_e.contains=we.contains,_e.escapeSelector=we.escape;var Fe=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&_e(e).is(n))break;r.push(e)}return r},ke=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},xe=_e.expr.match.needsContext,Ce=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;_e.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?_e.find.matchesSelector(r,e)?[r]:[]:_e.find.matches(e,_e.grep(t,(function(e){return 1===e.nodeType})))},_e.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(_e(e).filter((function(){for(t=0;t<r;t++)if(_e.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)_e.find(e,i[t],n);return r>1?_e.uniqueSort(n):n},filter:function(e){return this.pushStack(l(this,e||[],!1))},not:function(e){return this.pushStack(l(this,e||[],!0))},is:function(e){return!!l(this,"string"==typeof e&&xe.test(e)?_e(e):e||[],!1).length}});var Oe,Se=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(_e.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Oe,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Se.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(_e.merge(this,_e.parseHTML(r[1],(t=t instanceof _e?t[0]:t)&&t.nodeType?t.ownerDocument||t:ye,!0)),Ce.test(r[1])&&_e.isPlainObject(t))for(r in t)ge(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=ye.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):ge(e)?void 0!==n.ready?n.ready(e):e(_e):_e.makeArray(e,this)}).prototype=_e.fn,Oe=_e(ye);var je=/^(?:parents|prev(?:Until|All))/,Ee={children:!0,contents:!0,next:!0,prev:!0};_e.fn.extend({has:function(e){var t=_e(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(_e.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&_e(e);if(!xe.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&_e.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?_e.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(_e(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(_e.uniqueSort(_e.merge(this.get(),_e(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),_e.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Fe(e,"parentNode")},parentsUntil:function(e,t,n){return Fe(e,"parentNode",n)},next:function(e){return f(e,"nextSibling")},prev:function(e){return f(e,"previousSibling")},nextAll:function(e){return Fe(e,"nextSibling")},prevAll:function(e){return Fe(e,"previousSibling")},nextUntil:function(e,t,n){return Fe(e,"nextSibling",n)},prevUntil:function(e,t,n){return Fe(e,"previousSibling",n)},siblings:function(e){return ke((e.parentNode||{}).firstChild,e)},children:function(e){return ke(e.firstChild)},contents:function(e){return null!=e.contentDocument&&ie(e.contentDocument)?e.contentDocument:(u(e,"template")&&(e=e.content||e),_e.merge([],e.childNodes))}},(function(e,t){_e.fn[e]=function(n,r){var i=_e.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=_e.filter(r,i)),this.length>1&&(Ee[e]||_e.uniqueSort(i),je.test(e)&&i.reverse()),this.pushStack(i)}}));var Ae=/[^\x20\t\r\n\f]+/g;_e.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return _e.each(e.match(Ae)||[],(function(e,n){t[n]=!0})),t}(e):_e.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){_e.each(n,(function(n,r){ge(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==c(r)&&t(r)}))}(arguments),n&&!t&&u()),this},remove:function(){return _e.each(arguments,(function(e,t){for(var n;(n=_e.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?_e.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},_e.extend({Deferred:function(e){var t=[["notify","progress",_e.Callbacks("memory"),_e.Callbacks("memory"),2],["resolve","done",_e.Callbacks("once memory"),_e.Callbacks("once memory"),0,"resolved"],["reject","fail",_e.Callbacks("once memory"),_e.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return _e.Deferred((function(n){_e.each(t,(function(t,r){var i=ge(e[r[4]])&&e[r[4]];a[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&ge(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,o){function a(e,t,r,o){return function(){var s=this,u=arguments,l=function(){var i,l;if(!(e<c)){if((i=r.apply(s,u))===t.promise())throw new TypeError("Thenable self-resolution");l=i&&("object"===n(i)||"function"==typeof i)&&i.then,ge(l)?o?l.call(i,a(c,t,p,o),a(c,t,h,o)):(c++,l.call(i,a(c,t,p,o),a(c,t,h,o),a(c,t,p,t.notifyWith))):(r!==p&&(s=void 0,u=[i]),(o||t.resolveWith)(s,u))}},f=o?l:function(){try{l()}catch(n){_e.Deferred.exceptionHook&&_e.Deferred.exceptionHook(n,f.stackTrace),e+1>=c&&(r!==h&&(s=void 0,u=[n]),t.rejectWith(s,u))}};e?f():(_e.Deferred.getStackHook&&(f.stackTrace=_e.Deferred.getStackHook()),i.setTimeout(f))}}var c=0;return _e.Deferred((function(n){t[0][3].add(a(0,n,ge(o)?o:p,n.notifyWith)),t[1][3].add(a(0,n,ge(e)?e:p)),t[2][3].add(a(0,n,ge(r)?r:h))})).promise()},promise:function(e){return null!=e?_e.extend(e,o):o}},a={};return _e.each(t,(function(e,n){var i=n[2],c=n[5];o[n[1]]=i.add,c&&i.add((function(){r=c}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),i.add(n[3].fire),a[n[0]]=function(){return a[n[0]+"With"](this===a?void 0:this,arguments),this},a[n[0]+"With"]=i.fireWith})),o.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),i=oe.call(arguments),o=_e.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?oe.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(d(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||ge(i[n]&&i[n].then)))return o.then();for(;n--;)d(i[n],a(n),o.reject);return o.promise()}});var De=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_e.Deferred.exceptionHook=function(e,t){i.console&&i.console.warn&&e&&De.test(e.name)&&i.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},_e.readyException=function(e){i.setTimeout((function(){throw e}))};var Te=_e.Deferred();_e.fn.ready=function(e){return Te.then(e).catch((function(e){_e.readyException(e)})),this},_e.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--_e.readyWait:_e.isReady)||(_e.isReady=!0,!0!==e&&--_e.readyWait>0||Te.resolveWith(ye,[_e]))}}),_e.ready.then=Te.then,"complete"===ye.readyState||"loading"!==ye.readyState&&!ye.documentElement.doScroll?i.setTimeout(_e.ready):(ye.addEventListener("DOMContentLoaded",g),i.addEventListener("load",g));var Pe=function e(t,n,r,i,o,a,s){var u=0,l=t.length,f=null==r;if("object"===c(r))for(u in o=!0,r)e(t,n,u,r[u],!0,a,s);else if(void 0!==i&&(o=!0,ge(i)||(s=!0),f&&(s?(n.call(t,i),n=null):(f=n,n=function(e,t,n){return f.call(_e(e),n)})),n))for(;u<l;u++)n(t[u],r,s?i:i.call(t[u],u,n(t[u],r)));return o?t:f?n.call(t):l?n(t[0],r):a},Be=/^-ms-/,Re=/-([a-z])/g,Ie=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};v.uid=1,v.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Ie(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[y(t)]=n;else for(r in t)i[y(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][y(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(y):(t=y(t))in r?[t]:t.match(Ae)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||_e.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!_e.isEmptyObject(t)}};var Me=new v,Le=new v,Ne=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ze=/[A-Z]/g;_e.extend({hasData:function(e){return Le.hasData(e)||Me.hasData(e)},data:function(e,t,n){return Le.access(e,t,n)},removeData:function(e,t){Le.remove(e,t)},_data:function(e,t,n){return Me.access(e,t,n)},_removeData:function(e,t){Me.remove(e,t)}}),_e.fn.extend({data:function(e,t){var r,i,o,a=this[0],c=a&&a.attributes;if(void 0===e){if(this.length&&(o=Le.get(a),1===a.nodeType&&!Me.get(a,"hasDataAttrs"))){for(r=c.length;r--;)c[r]&&0===(i=c[r].name).indexOf("data-")&&(i=y(i.slice(5)),b(a,i,o[i]));Me.set(a,"hasDataAttrs",!0)}return o}return"object"===n(e)?this.each((function(){Le.set(this,e)})):Pe(this,(function(t){var n;if(a&&void 0===t)return void 0!==(n=Le.get(a,e))||void 0!==(n=b(a,e))?n:void 0;this.each((function(){Le.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Le.remove(this,e)}))}}),_e.extend({queue:function(e,t,n){var r;if(e)return r=Me.get(e,t=(t||"fx")+"queue"),n&&(!r||Array.isArray(n)?r=Me.access(e,t,_e.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){var n=_e.queue(e,t=t||"fx"),r=n.length,i=n.shift(),o=_e._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){_e.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Me.get(e,n)||Me.access(e,n,{empty:_e.Callbacks("once memory").add((function(){Me.remove(e,[t+"queue",n])}))})}}),_e.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?_e.queue(this[0],e):void 0===t?this:this.each((function(){var n=_e.queue(this,e,t);_e._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&_e.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){_e.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=_e.Deferred(),o=this,a=this.length,c=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Me.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(c));return c(),i.promise(t)}});var Ue=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,He=new RegExp("^(?:([+-])=|)("+Ue+")([a-z%]*)$","i"),qe=["Top","Right","Bottom","Left"],We=ye.documentElement,Ke=function(e){return _e.contains(e.ownerDocument,e)},$e={composed:!0};We.getRootNode&&(Ke=function(e){return _e.contains(e.ownerDocument,e)||e.getRootNode($e)===e.ownerDocument});var Ve=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&Ke(e)&&"none"===_e.css(e,"display")},Ge={};_e.fn.extend({show:function(){return F(this,!0)},hide:function(){return F(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){Ve(this)?_e(this).show():_e(this).hide()}))}});var Ye,Je,Qe=/^(?:checkbox|radio)$/i,Ze=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Xe=/^$|^module$|\/(?:java|ecma)script/i;Ye=ye.createDocumentFragment().appendChild(ye.createElement("div")),(Je=ye.createElement("input")).setAttribute("type","radio"),Je.setAttribute("checked","checked"),Je.setAttribute("name","t"),Ye.appendChild(Je),de.checkClone=Ye.cloneNode(!0).cloneNode(!0).lastChild.checked,Ye.innerHTML="<textarea>x</textarea>",de.noCloneChecked=!!Ye.cloneNode(!0).lastChild.defaultValue,Ye.innerHTML="<option></option>",de.option=!!Ye.lastChild;var et={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};et.tbody=et.tfoot=et.colgroup=et.caption=et.thead,et.th=et.td,de.option||(et.optgroup=et.option=[1,"<select multiple='multiple'>","</select>"]);var tt=/<|&#?\w+;/,nt=/^([^.]*)(?:\.(.+)|)/;_e.event={global:{},add:function(e,t,n,r,i){var o,a,c,s,u,l,f,p,h,d,g,m=Me.get(e);if(Ie(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&_e.find.matchesSelector(We,i),n.guid||(n.guid=_e.guid++),(s=m.events)||(s=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return _e.event.triggered!==t.type?_e.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(Ae)||[""]).length;u--;)h=g=(c=nt.exec(t[u])||[])[1],d=(c[2]||"").split(".").sort(),h&&(f=_e.event.special[h]||{},f=_e.event.special[h=(i?f.delegateType:f.bindType)||h]||{},l=_e.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&_e.expr.match.needsContext.test(i),namespace:d.join(".")},o),(p=s[h])||((p=s[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,d,a)||e.addEventListener&&e.addEventListener(h,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,l):p.push(l),_e.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,a,c,s,u,l,f,p,h,d,g,m=Me.hasData(e)&&Me.get(e);if(m&&(s=m.events)){for(u=(t=(t||"").match(Ae)||[""]).length;u--;)if(h=g=(c=nt.exec(t[u])||[])[1],d=(c[2]||"").split(".").sort(),h){for(f=_e.event.special[h]||{},p=s[h=(r?f.delegateType:f.bindType)||h]||[],c=c[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)l=p[o],!i&&g!==l.origType||n&&n.guid!==l.guid||c&&!c.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(o,1),l.selector&&p.delegateCount--,f.remove&&f.remove.call(e,l));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,d,m.handle)||_e.removeEvent(e,h,m.handle),delete s[h])}else for(h in s)_e.event.remove(e,h+t[u],n,r,!0);_e.isEmptyObject(s)&&Me.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,c=new Array(arguments.length),s=_e.event.fix(e),u=(Me.get(this,"events")||Object.create(null))[s.type]||[],l=_e.event.special[s.type]||{};for(c[0]=s,t=1;t<arguments.length;t++)c[t]=arguments[t];if(s.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,s)){for(a=_e.event.handlers.call(this,s,u),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==o.namespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((_e.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,c))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,c=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],a={},n=0;n<s;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?_e(i,this).index(u)>-1:_e.find(i,this,null,[u]).length),a[i]&&o.push(r);o.length&&c.push({elem:u,handlers:o})}return u=this,s<t.length&&c.push({elem:u,handlers:t.slice(s)}),c},addProp:function(e,t){Object.defineProperty(_e.Event.prototype,e,{enumerable:!0,configurable:!0,get:ge(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[_e.expando]?e:new _e.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Qe.test(t.type)&&t.click&&u(t,"input")&&A(t,"click",O),!1},trigger:function(e){var t=this||e;return Qe.test(t.type)&&t.click&&u(t,"input")&&A(t,"click"),!0},_default:function(e){var t=e.target;return Qe.test(t.type)&&t.click&&u(t,"input")&&Me.get(t,"click")||u(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},_e.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},(_e.Event=function(e,t){if(!(this instanceof _e.Event))return new _e.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?O:S,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&_e.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[_e.expando]=!0}).prototype={constructor:_e.Event,isDefaultPrevented:S,isPropagationStopped:S,isImmediatePropagationStopped:S,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=O,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=O,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=O,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},_e.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},_e.event.addProp),_e.each({focus:"focusin",blur:"focusout"},(function(e,t){_e.event.special[e]={setup:function(){return A(this,e,j),!1},trigger:function(){return A(this,e),!0},_default:function(){return!0},delegateType:t}})),_e.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){_e.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||_e.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),_e.fn.extend({on:function(e,t,n,r){return E(this,e,t,n,r)},one:function(e,t,n,r){return E(this,e,t,n,r,1)},off:function(e,t,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,_e(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"===n(e)){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=S),this.each((function(){_e.event.remove(this,e,r,t)}))}});var rt=/<script|<style|<link/i,it=/checked\s*(?:[^=]|=\s*.checked.)/i,ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;_e.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,c=e.cloneNode(!0),s=Ke(e);if(!(de.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||_e.isXMLDoc(e)))for(a=k(c),r=0,i=(o=k(e)).length;r<i;r++)R(o[r],a[r]);if(t)if(n)for(o=o||k(e),a=a||k(c),r=0,i=o.length;r<i;r++)B(o[r],a[r]);else B(e,c);return(a=k(c,"script")).length>0&&x(a,!s&&k(e,"script")),c},cleanData:function(e){for(var t,n,r,i=_e.event.special,o=0;void 0!==(n=e[o]);o++)if(Ie(n)){if(t=n[Me.expando]){if(t.events)for(r in t.events)i[r]?_e.event.remove(n,r):_e.removeEvent(n,r,t.handle);n[Me.expando]=void 0}n[Le.expando]&&(n[Le.expando]=void 0)}}}),_e.fn.extend({detach:function(e){return M(this,e,!0)},remove:function(e){return M(this,e)},text:function(e){return Pe(this,(function(e){return void 0===e?_e.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return I(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||D(this,e).appendChild(e)}))},prepend:function(){return I(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=D(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return I(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return I(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(_e.cleanData(k(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return _e.clone(this,e,t)}))},html:function(e){return Pe(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!rt.test(e)&&!et[(Ze.exec(e)||["",""])[1].toLowerCase()]){e=_e.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(_e.cleanData(k(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return I(this,arguments,(function(t){var n=this.parentNode;_e.inArray(this,e)<0&&(_e.cleanData(k(this)),n&&n.replaceChild(t,this))}),e)}}),_e.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){_e.fn[e]=function(e){for(var n,r=[],i=_e(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),_e(i[a])[t](n),ce.apply(r,n.get());return this.pushStack(r)}}));var at=new RegExp("^("+Ue+")(?!px)[a-z%]+$","i"),ct=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=i),t.getComputedStyle(e)},st=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},ut=new RegExp(qe.join("|"),"i");!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",We.appendChild(u).appendChild(l);var e=i.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",a=36===t(e.right),r=36===t(e.width),l.style.position="absolute",o=12===t(l.offsetWidth/3),We.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,o,a,c,s,u=ye.createElement("div"),l=ye.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",de.clearCloneStyle="content-box"===l.style.backgroundClip,_e.extend(de,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,r;return null==c&&(e=ye.createElement("table"),t=ye.createElement("tr"),n=ye.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",We.appendChild(e).appendChild(t).appendChild(n),r=i.getComputedStyle(t),c=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,We.removeChild(e)),c}}))}();var lt=["Webkit","Moz","ms"],ft=ye.createElement("div").style,pt={},ht=/^(none|table(?!-c[ea]).+)/,dt=/^--/,gt={position:"absolute",visibility:"hidden",display:"block"},mt={letterSpacing:"0",fontWeight:"400"};_e.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=L(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,c,s=y(t),u=dt.test(t),l=e.style;if(u||(t=z(s)),c=_e.cssHooks[t]||_e.cssHooks[s],void 0===r)return c&&"get"in c&&void 0!==(o=c.get(e,!1,i))?o:l[t];"string"===(a=n(r))&&(o=He.exec(r))&&o[1]&&(r=_(e,t,o),a="number"),null!=r&&r==r&&("number"!==a||u||(r+=o&&o[3]||(_e.cssNumber[s]?"":"px")),de.clearCloneStyle||""!==r||0!==t.indexOf("background")||(l[t]="inherit"),c&&"set"in c&&void 0===(r=c.set(e,r,i))||(u?l.setProperty(t,r):l[t]=r))}},css:function(e,t,n,r){var i,o,a,c=y(t);return dt.test(t)||(t=z(c)),(a=_e.cssHooks[t]||_e.cssHooks[c])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=L(e,t,r)),"normal"===i&&t in mt&&(i=mt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),_e.each(["height","width"],(function(e,t){_e.cssHooks[t]={get:function(e,n,r){if(n)return!ht.test(_e.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?q(e,t,r):st(e,gt,(function(){return q(e,t,r)}))},set:function(e,n,r){var i,o=ct(e),a=!de.scrollboxSize()&&"absolute"===o.position,c=(a||r)&&"border-box"===_e.css(e,"boxSizing",!1,o),s=r?H(e,t,r,c,o):0;return c&&a&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-H(e,t,"border",!1,o)-.5)),s&&(i=He.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=_e.css(e,t)),U(0,n,s)}}})),_e.cssHooks.marginLeft=N(de.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(L(e,"marginLeft"))||e.getBoundingClientRect().left-st(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),_e.each({margin:"",padding:"",border:"Width"},(function(e,t){_e.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+qe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(_e.cssHooks[e+t].set=U)})),_e.fn.extend({css:function(e,t){return Pe(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=ct(e),i=t.length;a<i;a++)o[t[a]]=_e.css(e,t[a],!1,r);return o}return void 0!==n?_e.style(e,t,n):_e.css(e,t)}),e,t,arguments.length>1)}}),_e.Tween=W,(W.prototype={constructor:W,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||_e.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(_e.cssNumber[n]?"":"px")},cur:function(){var e=W.propHooks[this.prop];return e&&e.get?e.get(this):W.propHooks._default.get(this)},run:function(e){var t,n=W.propHooks[this.prop];return this.pos=t=this.options.duration?_e.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):W.propHooks._default.set(this),this}}).init.prototype=W.prototype,(W.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=_e.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){_e.fx.step[e.prop]?_e.fx.step[e.prop](e):1!==e.elem.nodeType||!_e.cssHooks[e.prop]&&null==e.elem.style[z(e.prop)]?e.elem[e.prop]=e.now:_e.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=W.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},_e.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},(_e.fx=W.prototype.init).step={};var yt,vt,bt=/^(?:toggle|show|hide)$/,_t=/queueHooks$/;_e.Animation=_e.extend(Y,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return _(n.elem,e,He.exec(t),n),n}]},tweener:function(e,t){ge(e)?(t=e,e=["*"]):e=e.match(Ae);for(var n,r=0,i=e.length;r<i;r++)(Y.tweeners[n=e[r]]=Y.tweeners[n]||[]).unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,c,s,u,l,f="width"in t||"height"in t,p=this,h={},d=e.style,g=e.nodeType&&Ve(e),m=Me.get(e,"fxshow");for(r in n.queue||(null==(a=_e._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,c=a.empty.fire,a.empty.fire=function(){a.unqueued||c()}),a.unqueued++,p.always((function(){p.always((function(){a.unqueued--,_e.queue(e,"fx").length||a.empty.fire()}))}))),t)if(bt.test(i=t[r])){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}h[r]=m&&m[r]||_e.style(e,r)}if((s=!_e.isEmptyObject(t))||!_e.isEmptyObject(h))for(r in f&&1===e.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],null==(u=m&&m.display)&&(u=Me.get(e,"display")),"none"===(l=_e.css(e,"display"))&&(u?l=u:(F([e],!0),u=e.style.display||u,l=_e.css(e,"display"),F([e]))),("inline"===l||"inline-block"===l&&null!=u)&&"none"===_e.css(e,"float")&&(s||(p.done((function(){d.display=u})),null==u&&(u="none"===(l=d.display)?"":l)),d.display="inline-block")),n.overflow&&(d.overflow="hidden",p.always((function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}))),s=!1,h)s||(m?"hidden"in m&&(g=m.hidden):m=Me.access(e,"fxshow",{display:u}),o&&(m.hidden=!g),g&&F([e],!0),p.done((function(){for(r in g||F([e]),Me.remove(e,"fxshow"),h)_e.style(e,r,h[r])}))),s=G(g?m[r]:0,r,p),r in m||(m[r]=s.start,g&&(s.end=s.start,s.start=0))}],prefilter:function(e,t){t?Y.prefilters.unshift(e):Y.prefilters.push(e)}}),_e.speed=function(e,t,r){var i=e&&"object"===n(e)?_e.extend({},e):{complete:r||!r&&t||ge(e)&&e,duration:e,easing:r&&t||t&&!ge(t)&&t};return _e.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration=i.duration in _e.fx.speeds?_e.fx.speeds[i.duration]:_e.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){ge(i.old)&&i.old.call(this),i.queue&&_e.dequeue(this,i.queue)},i},_e.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ve).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=_e.isEmptyObject(e),o=_e.speed(t,n,r),a=function(){var t=Y(this,_e.extend({},e),o);(i||Me.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=_e.timers,a=Me.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&_t.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||_e.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Me.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=_e.timers,a=r?r.length:0;for(n.finish=!0,_e.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),_e.each(["toggle","show","hide"],(function(e,t){var n=_e.fn[t];_e.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(V(t,!0),e,r,i)}})),_e.each({slideDown:V("show"),slideUp:V("hide"),slideToggle:V("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){_e.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),_e.timers=[],_e.fx.tick=function(){var e,t=0,n=_e.timers;for(yt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||_e.fx.stop(),yt=void 0},_e.fx.timer=function(e){_e.timers.push(e),_e.fx.start()},_e.fx.interval=13,_e.fx.start=function(){vt||(vt=!0,K())},_e.fx.stop=function(){vt=null},_e.fx.speeds={slow:600,fast:200,_default:400},_e.fn.delay=function(e,t){return e=_e.fx&&_e.fx.speeds[e]||e,this.queue(t=t||"fx",(function(t,n){var r=i.setTimeout(t,e);n.stop=function(){i.clearTimeout(r)}}))},function(){var e=ye.createElement("input"),t=ye.createElement("select").appendChild(ye.createElement("option"));e.type="checkbox",de.checkOn=""!==e.value,de.optSelected=t.selected,(e=ye.createElement("input")).value="t",e.type="radio",de.radioValue="t"===e.value}();var wt,Ft=_e.expr.attrHandle;_e.fn.extend({attr:function(e,t){return Pe(this,_e.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){_e.removeAttr(this,e)}))}}),_e.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?_e.prop(e,t,n):(1===o&&_e.isXMLDoc(e)||(i=_e.attrHooks[t.toLowerCase()]||(_e.expr.match.bool.test(t)?wt:void 0)),void 0!==n?null===n?void _e.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=_e.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!de.radioValue&&"radio"===t&&u(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Ae);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),wt={set:function(e,t,n){return!1===t?_e.removeAttr(e,n):e.setAttribute(n,n),n}},_e.each(_e.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=Ft[t]||_e.find.attr;Ft[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=Ft[a],Ft[a]=i,i=null!=n(e,t,r)?a:null,Ft[a]=o),i}}));var kt=/^(?:input|select|textarea|button)$/i,xt=/^(?:a|area)$/i;_e.fn.extend({prop:function(e,t){return Pe(this,_e.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[_e.propFix[e]||e]}))}}),_e.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&_e.isXMLDoc(e)||(i=_e.propHooks[t=_e.propFix[t]||t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=_e.find.attr(e,"tabindex");return t?parseInt(t,10):kt.test(e.nodeName)||xt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),de.optSelected||(_e.propHooks.selected={get:function(){return null},set:function(){}}),_e.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){_e.propFix[this.toLowerCase()]=this})),_e.fn.extend({addClass:function(e){var t,n,r,i,o,a,c,s=0;if(ge(e))return this.each((function(t){_e(this).addClass(e.call(this,t,Q(this)))}));if((t=Z(e)).length)for(;n=this[s++];)if(i=Q(n),r=1===n.nodeType&&" "+J(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(c=J(r))&&n.setAttribute("class",c)}return this},removeClass:function(e){var t,n,r,i,o,a,c,s=0;if(ge(e))return this.each((function(t){_e(this).removeClass(e.call(this,t,Q(this)))}));if(!arguments.length)return this.attr("class","");if((t=Z(e)).length)for(;n=this[s++];)if(i=Q(n),r=1===n.nodeType&&" "+J(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(c=J(r))&&n.setAttribute("class",c)}return this},toggleClass:function(e,t){var r=n(e),i="string"===r||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):ge(e)?this.each((function(n){_e(this).toggleClass(e.call(this,n,Q(this),t),t)})):this.each((function(){var t,n,o,a;if(i)for(n=0,o=_e(this),a=Z(e);t=a[n++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==r||((t=Q(this))&&Me.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Me.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+J(Q(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ct=/\r/g;_e.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=ge(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,_e(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=_e.map(i,(function(e){return null==e?"":e+""}))),(t=_e.valHooks[this.type]||_e.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=_e.valHooks[i.type]||_e.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Ct,""):null==n?"":n:void 0}}),_e.extend({valHooks:{option:{get:function(e){var t=_e.find.attr(e,"value");return null!=t?t:J(_e.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,c=a?null:[],s=a?o+1:i.length;for(r=o<0?s:a?o:0;r<s;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!u(n.parentNode,"optgroup"))){if(t=_e(n).val(),a)return t;c.push(t)}return c},set:function(e,t){for(var n,r,i=e.options,o=_e.makeArray(t),a=i.length;a--;)((r=i[a]).selected=_e.inArray(_e.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),_e.each(["radio","checkbox"],(function(){_e.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=_e.inArray(_e(e).val(),t)>-1}},de.checkOn||(_e.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),de.focusin="onfocusin"in i;var Ot=/^(?:focusinfocus|focusoutblur)$/,St=function(e){e.stopPropagation()};_e.extend(_e.event,{trigger:function(e,t,r,o){var a,c,s,u,l,f,p,h,d=[r||ye],g=fe.call(e,"type")?e.type:e,m=fe.call(e,"namespace")?e.namespace.split("."):[];if(c=h=s=r=r||ye,3!==r.nodeType&&8!==r.nodeType&&!Ot.test(g+_e.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),l=g.indexOf(":")<0&&"on"+g,(e=e[_e.expando]?e:new _e.Event(g,"object"===n(e)&&e)).isTrigger=o?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:_e.makeArray(t,[e]),p=_e.event.special[g]||{},o||!p.trigger||!1!==p.trigger.apply(r,t))){if(!o&&!p.noBubble&&!me(r)){for(Ot.test((u=p.delegateType||g)+g)||(c=c.parentNode);c;c=c.parentNode)d.push(c),s=c;s===(r.ownerDocument||ye)&&d.push(s.defaultView||s.parentWindow||i)}for(a=0;(c=d[a++])&&!e.isPropagationStopped();)h=c,e.type=a>1?u:p.bindType||g,(f=(Me.get(c,"events")||Object.create(null))[e.type]&&Me.get(c,"handle"))&&f.apply(c,t),(f=l&&c[l])&&f.apply&&Ie(c)&&(e.result=f.apply(c,t),!1===e.result&&e.preventDefault());return e.type=g,o||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(d.pop(),t)||!Ie(r)||l&&ge(r[g])&&!me(r)&&((s=r[l])&&(r[l]=null),_e.event.triggered=g,e.isPropagationStopped()&&h.addEventListener(g,St),r[g](),e.isPropagationStopped()&&h.removeEventListener(g,St),_e.event.triggered=void 0,s&&(r[l]=s)),e.result}},simulate:function(e,t,n){var r=_e.extend(new _e.Event,n,{type:e,isSimulated:!0});_e.event.trigger(r,null,t)}}),_e.fn.extend({trigger:function(e,t){return this.each((function(){_e.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return _e.event.trigger(e,t,n,!0)}}),de.focusin||_e.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){_e.event.simulate(t,e.target,_e.event.fix(e))};_e.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=Me.access(r,t);i||r.addEventListener(e,n,!0),Me.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Me.access(r,t)-1;i?Me.access(r,t,i):(r.removeEventListener(e,n,!0),Me.remove(r,t))}}}));var jt=i.location,Et={guid:Date.now()},At=/\?/;_e.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new i.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||_e.error("Invalid XML: "+(n?_e.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Dt=/\[\]$/,Tt=/\r?\n/g,Pt=/^(?:submit|button|image|reset|file)$/i,Bt=/^(?:input|select|textarea|keygen)/i;_e.param=function(e,t){var n,r=[],i=function(e,t){var n=ge(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!_e.isPlainObject(e))_e.each(e,(function(){i(this.name,this.value)}));else for(n in e)X(n,e[n],t,i);return r.join("&")},_e.fn.extend({serialize:function(){return _e.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=_e.prop(this,"elements");return e?_e.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!_e(this).is(":disabled")&&Bt.test(this.nodeName)&&!Pt.test(e)&&(this.checked||!Qe.test(e))})).map((function(e,t){var n=_e(this).val();return null==n?null:Array.isArray(n)?_e.map(n,(function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}})):{name:t.name,value:n.replace(Tt,"\r\n")}})).get()}});var Rt=/%20/g,It=/#.*$/,Mt=/([?&])_=[^&]*/,Lt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Nt=/^(?:GET|HEAD)$/,zt=/^\/\//,Ut={},Ht={},qt="*/".concat("*"),Wt=ye.createElement("a");Wt.href=jt.href,_e.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:jt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(jt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":_e.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ne(ne(e,_e.ajaxSettings),t):ne(_e.ajaxSettings,e)},ajaxPrefilter:ee(Ut),ajaxTransport:ee(Ht),ajax:function(e,t){function r(e,t,n,r){var s,l,h,d,w,F=t;f||(f=!0,u&&i.clearTimeout(u),o=void 0,c=r||"",x.readyState=e>0?4:0,s=e>=200&&e<300||304===e,n&&(d=function(e,t,n){for(var r,i,o,a,c=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in c)if(c[i]&&c[i].test(r)){s.unshift(i);break}if(s[0]in n)o=s[0];else{for(i in n){if(!s[0]||e.converters[i+" "+s[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==s[0]&&s.unshift(o),n[o]}(g,x,n)),!s&&_e.inArray("script",g.dataTypes)>-1&&_e.inArray("json",g.dataTypes)<0&&(g.converters["text script"]=function(){}),d=function(e,t,n,r){var i,o,a,c,s,u={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!s&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s=o,o=l.shift())if("*"===o)o=s;else if("*"!==s&&s!==o){if(!(a=u[s+" "+o]||u["* "+o]))for(i in u)if((c=i.split(" "))[1]===o&&(a=u[s+" "+c[0]]||u["* "+c[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=c[0],l.unshift(c[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+s+" to "+o}}}return{state:"success",data:t}}(g,d,x,s),s?(g.ifModified&&((w=x.getResponseHeader("Last-Modified"))&&(_e.lastModified[a]=w),(w=x.getResponseHeader("etag"))&&(_e.etag[a]=w)),204===e||"HEAD"===g.type?F="nocontent":304===e?F="notmodified":(F=d.state,l=d.data,s=!(h=d.error))):(h=F,!e&&F||(F="error",e<0&&(e=0))),x.status=e,x.statusText=(t||F)+"",s?v.resolveWith(m,[l,F,x]):v.rejectWith(m,[x,F,h]),x.statusCode(_),_=void 0,p&&y.trigger(s?"ajaxSuccess":"ajaxError",[x,g,s?l:h]),b.fireWith(m,[x,F]),p&&(y.trigger("ajaxComplete",[x,g]),--_e.active||_e.event.trigger("ajaxStop")))}"object"===n(e)&&(t=e,e=void 0);var o,a,c,s,u,l,f,p,h,d,g=_e.ajaxSetup({},t=t||{}),m=g.context||g,y=g.context&&(m.nodeType||m.jquery)?_e(m):_e.event,v=_e.Deferred(),b=_e.Callbacks("once memory"),_=g.statusCode||{},w={},F={},k="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(f){if(!s)for(s={};t=Lt.exec(c);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return f?c:null},setRequestHeader:function(e,t){return null==f&&(e=F[e.toLowerCase()]=F[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==f&&(g.mimeType=e),this},statusCode:function(e){var t;if(e)if(f)x.always(e[x.status]);else for(t in e)_[t]=[_[t],e[t]];return this},abort:function(e){var t=e||k;return o&&o.abort(t),r(0,t),this}};if(v.promise(x),g.url=((e||g.url||jt.href)+"").replace(zt,jt.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(Ae)||[""],null==g.crossDomain){l=ye.createElement("a");try{l.href=g.url,l.href=l.href,g.crossDomain=Wt.protocol+"//"+Wt.host!=l.protocol+"//"+l.host}catch(e){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=_e.param(g.data,g.traditional)),te(Ut,g,t,x),f)return x;for(h in(p=_e.event&&g.global)&&0==_e.active++&&_e.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Nt.test(g.type),a=g.url.replace(It,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(Rt,"+")):(d=g.url.slice(a.length),g.data&&(g.processData||"string"==typeof g.data)&&(a+=(At.test(a)?"&":"?")+g.data,delete g.data),!1===g.cache&&(a=a.replace(Mt,"$1"),d=(At.test(a)?"&":"?")+"_="+Et.guid+++d),g.url=a+d),g.ifModified&&(_e.lastModified[a]&&x.setRequestHeader("If-Modified-Since",_e.lastModified[a]),_e.etag[a]&&x.setRequestHeader("If-None-Match",_e.etag[a])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&x.setRequestHeader("Content-Type",g.contentType),x.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+qt+"; q=0.01":""):g.accepts["*"]),g.headers)x.setRequestHeader(h,g.headers[h]);if(g.beforeSend&&(!1===g.beforeSend.call(m,x,g)||f))return x.abort();if(k="abort",b.add(g.complete),x.done(g.success),x.fail(g.error),o=te(Ht,g,t,x)){if(x.readyState=1,p&&y.trigger("ajaxSend",[x,g]),f)return x;g.async&&g.timeout>0&&(u=i.setTimeout((function(){x.abort("timeout")}),g.timeout));try{f=!1,o.send(w,r)}catch(e){if(f)throw e;r(-1,e)}}else r(-1,"No Transport");return x},getJSON:function(e,t,n){return _e.get(e,t,n,"json")},getScript:function(e,t){return _e.get(e,void 0,t,"script")}}),_e.each(["get","post"],(function(e,t){_e[t]=function(e,n,r,i){return ge(n)&&(i=i||r,r=n,n=void 0),_e.ajax(_e.extend({url:e,type:t,dataType:i,data:n,success:r},_e.isPlainObject(e)&&e))}})),_e.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),_e._evalUrl=function(e,t,n){return _e.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){_e.globalEval(e,t,n)}})},_e.fn.extend({wrapAll:function(e){var t;return this[0]&&(ge(e)&&(e=e.call(this[0])),t=_e(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return ge(e)?this.each((function(t){_e(this).wrapInner(e.call(this,t))})):this.each((function(){var t=_e(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=ge(e);return this.each((function(n){_e(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){_e(this).replaceWith(this.childNodes)})),this}}),_e.expr.pseudos.hidden=function(e){return!_e.expr.pseudos.visible(e)},_e.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},_e.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(e){}};var Kt={0:200,1223:204},$t=_e.ajaxSettings.xhr();de.cors=!!$t&&"withCredentials"in $t,de.ajax=$t=!!$t,_e.ajaxTransport((function(e){var t,n;if(de.cors||$t&&!e.crossDomain)return{send:function(r,o){var a,c=e.xhr();if(c.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)c[a]=e.xhrFields[a];for(a in e.mimeType&&c.overrideMimeType&&c.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)c.setRequestHeader(a,r[a]);t=function(e){return function(){t&&(t=n=c.onload=c.onerror=c.onabort=c.ontimeout=c.onreadystatechange=null,"abort"===e?c.abort():"error"===e?"number"!=typeof c.status?o(0,"error"):o(c.status,c.statusText):o(Kt[c.status]||c.status,c.statusText,"text"!==(c.responseType||"text")||"string"!=typeof c.responseText?{binary:c.response}:{text:c.responseText},c.getAllResponseHeaders()))}},c.onload=t(),n=c.onerror=c.ontimeout=t("error"),void 0!==c.onabort?c.onabort=n:c.onreadystatechange=function(){4===c.readyState&&i.setTimeout((function(){t&&n()}))},t=t("abort");try{c.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),_e.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),_e.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return _e.globalEval(e),e}}}),_e.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),_e.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=_e("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),ye.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;_e.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||_e.expando+"_"+Et.guid++;return this[e]=!0,e}}),_e.ajaxPrefilter("json jsonp",(function(e,t,n){var r,o,a,c=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(c||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=ge(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,c?e[c]=e[c].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||_e.error(r+" was not called"),a[0]},e.dataTypes[0]="json",o=i[r],i[r]=function(){a=arguments},n.always((function(){void 0===o?_e(i).removeProp(r):i[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),a&&ge(o)&&o(a[0]),a=o=void 0})),"script"})),de.createHTMLDocument=((Vt=ye.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Vt.childNodes.length),_e.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(de.createHTMLDocument?((r=(t=ye.implementation.createHTMLDocument("")).createElement("base")).href=ye.location.href,t.head.appendChild(r)):t=ye),o=!n&&[],(i=Ce.exec(e))?[t.createElement(i[1])]:(i=C([e],t,o),o&&o.length&&_e(o).remove(),_e.merge([],i.childNodes)));var r,i,o},_e.fn.load=function(e,t,r){var i,o,a,c=this,s=e.indexOf(" ");return s>-1&&(i=J(e.slice(s)),e=e.slice(0,s)),ge(t)?(r=t,t=void 0):t&&"object"===n(t)&&(o="POST"),c.length>0&&_e.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){a=arguments,c.html(i?_e("<div>").append(_e.parseHTML(e)).find(i):e)})).always(r&&function(e,t){c.each((function(){r.apply(this,a||[e.responseText,t,e])}))}),this},_e.expr.pseudos.animated=function(e){return _e.grep(_e.timers,(function(t){return e===t.elem})).length},_e.offset={setOffset:function(e,t,n){var r,i,o,a,c,s,u=_e.css(e,"position"),l=_e(e),f={};"static"===u&&(e.style.position="relative"),c=l.offset(),o=_e.css(e,"top"),s=_e.css(e,"left"),("absolute"===u||"fixed"===u)&&(o+s).indexOf("auto")>-1?(a=(r=l.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(s)||0),ge(t)&&(t=t.call(e,n,_e.extend({},c))),null!=t.top&&(f.top=t.top-c.top+a),null!=t.left&&(f.left=t.left-c.left+i),"using"in t?t.using.call(e,f):l.css(f)}},_e.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){_e.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?{top:(t=r.getBoundingClientRect()).top+(n=r.ownerDocument.defaultView).pageYOffset,left:t.left+n.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===_e.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===_e.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=_e(e).offset()).top+=_e.css(e,"borderTopWidth",!0),i.left+=_e.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-_e.css(r,"marginTop",!0),left:t.left-i.left-_e.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===_e.css(e,"position");)e=e.offsetParent;return e||We}))}}),_e.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;_e.fn[e]=function(r){return Pe(this,(function(e,r,i){var o;if(me(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),_e.each(["top","left"],(function(e,t){_e.cssHooks[t]=N(de.pixelPosition,(function(e,n){if(n)return n=L(e,t),at.test(n)?_e(e).position()[t]+"px":n}))})),_e.each({Height:"height",Width:"width"},(function(e,t){_e.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){_e.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),c=n||(!0===i||!0===o?"margin":"border");return Pe(this,(function(t,n,i){var o;return me(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?_e.css(t,n,c):_e.style(t,n,i,c)}),t,a?i:void 0,a)}}))})),_e.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){_e.fn[t]=function(e){return this.on(t,e)}})),_e.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),_e.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){_e.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Jt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;_e.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),ge(e))return r=oe.call(arguments,2),i=function(){return e.apply(t||this,r.concat(oe.call(arguments)))},i.guid=e.guid=e.guid||_e.guid++,i},_e.holdReady=function(e){e?_e.readyWait++:_e.ready(!0)},_e.isArray=Array.isArray,_e.parseJSON=JSON.parse,_e.nodeName=u,_e.isFunction=ge,_e.isWindow=me,_e.camelCase=y,_e.type=c,_e.now=Date.now,_e.isNumeric=function(e){var t=_e.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},_e.trim=function(e){return null==e?"":(e+"").replace(Jt,"")},void 0===(r=function(){return _e}.apply(t,[]))||(e.exports=r);var Qt=i.jQuery,Zt=i.$;return _e.noConflict=function(e){return i.$===_e&&(i.$=Zt),e&&i.jQuery===_e&&(i.jQuery=Qt),_e},void 0===o&&(i.jQuery=i.$=_e),_e}))}).call(this,n("RoC8")(e))},qVkA:function(e,t,n){"use strict";n.r(t);var r=n("4Av7");t.default=r.a},qykS:function(e,t,n){"use strict";(function(e){function r(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(e,t){if(r()<t)throw new RangeError("Invalid typed array length");return o.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=o.prototype:(null===e&&(e=new o(t)),e.length=t),e}function o(e,t,n){if(!(o.TYPED_ARRAY_SUPPORT||this instanceof o))return new o(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return s(this,e)}return a(this,e,t,n)}function a(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);o.TYPED_ARRAY_SUPPORT?(e=t).__proto__=o.prototype:e=u(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!o.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|f(t,n),a=(e=i(e,r)).write(t,n);a!==r&&(e=e.slice(0,a));return e}(e,t,n):function(e,t){if(o.isBuffer(t)){var n=0|l(t.length);return 0===(e=i(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?i(e,0):u(e,t);if("Buffer"===t.type&&U(t.data))return u(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function s(e,t){if(c(t),e=i(e,t<0?0:0|l(t)),!o.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function u(e,t){var n=t.length<0?0:0|l(t.length);e=i(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function l(e){if(e>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function f(e,t){if(o.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return I(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return M(e).length;default:if(r)return I(e).length;t=(""+t).toLowerCase(),r=!0}}function p(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return x(this,t,n);case"latin1":case"binary":return C(this,t,n);case"base64":return F(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function h(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function d(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=o.from(t,r)),o.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,o.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){function o(e,t){return 1===c?e[t]:e.readUInt16BE(t*c)}var a,c=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;c=2,s/=2,u/=2,n/=2}if(i){var l=-1;for(a=n;a<s;a++)if(o(e,a)===o(t,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===u)return l*c}else-1!==l&&(a-=a-l),l=-1}else for(n+u>s&&(n=s-u),a=n;a>=0;a--){for(var f=!0,p=0;p<u;p++)if(o(e,a+p)!==o(t,p)){f=!1;break}if(f)return a}return-1}function m(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var c=parseInt(t.substr(2*a,2),16);if(isNaN(c))return a;e[n+a]=c}return a}function y(e,t,n,r){return L(I(t,e.length-n),e,n,r)}function v(e,t,n,r){return L(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function b(e,t,n,r){return v(e,t,n,r)}function _(e,t,n,r){return L(M(t),e,n,r)}function w(e,t,n,r){return L(function(e,t){for(var n,r,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(t,e.length-n),e,n,r)}function F(e,t,n){return N.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,c,s,u=e[i],l=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=n)switch(f){case 1:u<128&&(l=u);break;case 2:128==(192&(o=e[i+1]))&&(s=(31&u)<<6|63&o)>127&&(l=s);break;case 3:a=e[i+2],128==(192&(o=e[i+1]))&&128==(192&a)&&(s=(15&u)<<12|(63&o)<<6|63&a)>2047&&(s<55296||s>57343)&&(l=s);break;case 4:a=e[i+2],c=e[i+3],128==(192&(o=e[i+1]))&&128==(192&a)&&128==(192&c)&&(s=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&c)>65535&&s<1114112&&(l=s)}null===l?(l=65533,f=1):l>65535&&(r.push((l-=65536)>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return function(e){var t=e.length;if(t<=H)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=H));return n}(r)}function x(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function C(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function O(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=R(e[o]);return i}function S(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function j(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function E(e,t,n,r,i,a){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function A(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function D(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function T(e,t,n,r){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function P(e,t,n,r,i){return i||T(e,0,n,4),z.write(e,t,n,r,23,4),n+4}function B(e,t,n,r,i){return i||T(e,0,n,8),z.write(e,t,n,r,52,8),n+8}function R(e){return e<16?"0"+e.toString(16):e.toString(16)}function I(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function M(e){return N.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(q,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function L(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}var N=n("KlUR"),z=n("FaXh"),U=n("kah5");t.Buffer=o,t.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},t.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=r(),o.poolSize=8192,o._augment=function(e){return e.__proto__=o.prototype,e},o.from=function(e,t,n){return a(null,e,t,n)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(e,t,n){return function(e,t,n,r){return c(t),t<=0?i(e,t):void 0!==n?"string"==typeof r?i(e,t).fill(n,r):i(e,t).fill(n):i(e,t)}(null,e,t,n)},o.allocUnsafe=function(e){return s(null,e)},o.allocUnsafeSlow=function(e){return s(null,e)},o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.compare=function(e,t){if(!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!U(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=o.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!o.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},o.byteLength=f,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},o.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},o.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},o.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?k(this,0,e):p.apply(this,arguments)},o.prototype.equals=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},o.prototype.compare=function(e,t,n,r,i){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(r>>>=0),c=(n>>>=0)-(t>>>=0),s=Math.min(a,c),u=this.slice(r,i),l=e.slice(t,n),f=0;f<s;++f)if(u[f]!==l[f]){a=u[f],c=l[f];break}return a<c?-1:c<a?1:0},o.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},o.prototype.indexOf=function(e,t,n){return d(this,e,t,n,!0)},o.prototype.lastIndexOf=function(e,t,n){return d(this,e,t,n,!1)},o.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return m(this,e,t,n);case"utf8":case"utf-8":return y(this,e,t,n);case"ascii":return v(this,e,t,n);case"latin1":case"binary":return b(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var H=4096;o.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),o.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=o.prototype;else{var i=t-e;n=new o(i,void 0);for(var a=0;a<i;++a)n[a]=this[a+e]}return n},o.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},o.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},o.prototype.readUInt8=function(e,t){return t||j(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return t||j(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return t||j(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){t||j(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(e,t){t||j(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(e,t){return t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return t||j(e,4,this.length),z.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return t||j(e,4,this.length),z.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return t||j(e,8,this.length),z.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return t||j(e,8,this.length),z.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||E(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},o.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||E(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},o.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,1,255,0),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):A(this,e,t,!0),t+2},o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):A(this,e,t,!1),t+2},o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):D(this,e,t,!0),t+4},o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},o.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);E(this,e,t,n,i-1,-i)}var o=0,a=1,c=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===c&&0!==this[t+o-1]&&(c=1),this[t+o]=(e/a>>0)-c&255;return t+n},o.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);E(this,e,t,n,i-1,-i)}var o=n-1,a=1,c=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===c&&0!==this[t+o+1]&&(c=1),this[t+o]=(e/a>>0)-c&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,1,127,-128),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):A(this,e,t,!0),t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):A(this,e,t,!1),t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):D(this,e,t,!0),t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},o.prototype.writeFloatLE=function(e,t,n){return P(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return P(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return B(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return B(this,e,t,!1,n)},o.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,a=r-n;if(this===e&&n<t&&t<r)for(i=a-1;i>=0;--i)e[i+t]=this[i+n];else if(a<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},o.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var c=o.isBuffer(e)?e:I(new o(e,r).toString()),s=c.length;for(a=0;a<n-t;++a)this[a+t]=c[a%s]}return this};var q=/[^+\/0-9A-Za-z-_]/g}).call(this,n("pCvA"))},rUzK:function(e,t,n){"use strict";(function(e){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}n.d(t,"a",(function(){return p}));var u=n("5OaP"),l=n("lBHI"),f=n("3rgF"),p=function(t){function n(){return u.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(n,t);var r,c,s,u=a(n);return r=n,(c=[{key:"componentDidMount",value:function(){l.a.local.get("filters").get("group").on(this.inject())}},{key:"toggleGroup",value:function(e){l.a.local.get("filters").get("group").put(e)}},{key:"render",value:function(){var t=this,n=this.state;return e("div",{className:"msg filters"},e("div",{className:"msg-content"},e("input",{checked:"follows"===n.group,type:"radio"}),e("label",{onClick:function(){return t.toggleGroup("follows")}},Object(f.c)("follows")),e("input",{checked:"2ndDegreeFollows"===n.group,type:"radio"}),e("label",{onClick:function(){return t.toggleGroup("2ndDegreeFollows")}},Object(f.c)("second_degree_follows")),e("input",{checked:"everyone"===n.group,type:"radio"}),e("label",{for:"filterGroupChoice3",onClick:function(){return t.toggleGroup("everyone")}},Object(f.c)("everyone"))))}}])&&i(r.prototype,c),s&&i(r,s),Object.defineProperty(r,"prototype",{writable:!1}),n}(u.a)}).call(this,n("hosL").h)},"rZq/":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var l,f,p,h=n("4Iz4"),d=n("x75+"),g=n("4Nja"),m=n("Y3FI"),y=n("DrMS");t.a=function(e){function t(){var e;return(e=u.call(this)).class="public-messages-view",e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e);var n,r,s,u=c(t);return n=t,(r=[{key:"renderView",value:function(){var e;return e="new"===this.props.hash?Object(h.a)(l||(l=i(["\n        <",' activeChat="public" autofocus='," onSubmit=","/>\n      "])),g.a,!0,(function(){return Object(m.route)("/")})):Object(h.a)(f||(f=i(["\n        <"," key="," standalone="," hash="," showName="," showReplies="," />\n      "])),d.a,this.props.hash,!0,this.props.hash,!0,!0),Object(h.a)(p||(p=i(['\n      <div class="centered-container">\n        ',"\n      </div>\n    "])),e)}}])&&o(n.prototype,r),s&&o(n,s),Object.defineProperty(n,"prototype",{writable:!1}),t}(y.a)},s3tm:function(e){!function(){function t(e,t){for(var n=2;n<arguments.length;n++)for(var r=0;r<arguments[n].length;r++)e[t++]=arguments[n].charAt(r)}function n(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function r(e){return String.fromCharCode(255&e,e>>8&255)}var i=function(e,i,o){this.width=e,this.height=i,this.depth=o,this.pix_size=i*(e+1),this.data_size=2+this.pix_size+5*Math.floor((65534+this.pix_size)/65535)+4,this.ihdr_offs=0,this.ihdr_size=25,this.plte_offs=this.ihdr_offs+this.ihdr_size,this.plte_size=8+3*o+4,this.trns_offs=this.plte_offs+this.plte_size,this.trns_size=8+o+4,this.idat_offs=this.trns_offs+this.trns_size,this.idat_size=8+this.data_size+4,this.iend_offs=this.idat_offs+this.idat_size,this.iend_size=12,this.buffer_size=this.iend_offs+this.iend_size,this.buffer=new Array,this.palette=new Object,this.pindex=0;for(var a=new Array,c=0;c<this.buffer_size;c++)this.buffer[c]="\0";t(this.buffer,this.ihdr_offs,n(this.ihdr_size-12),"IHDR",n(e),n(i),"\b"),t(this.buffer,this.plte_offs,n(this.plte_size-12),"PLTE"),t(this.buffer,this.trns_offs,n(this.trns_size-12),"tRNS"),t(this.buffer,this.idat_offs,n(this.idat_size-12),"IDAT"),t(this.buffer,this.iend_offs,n(this.iend_size-12),"IEND");var s,u=30912;t(this.buffer,this.idat_offs+8,(s=u+=31-u%31,String.fromCharCode(s>>8&255,255&s)));for(c=0;(c<<16)-1<this.pix_size;c++){var l,f;c+65535<this.pix_size?(l=65535,f="\0"):(l=this.pix_size-(c<<16)-c,f=""),t(this.buffer,this.idat_offs+8+2+(c<<16)+(c<<2),f,r(l),r(~l))}for(c=0;c<256;c++){for(var p=c,h=0;h<8;h++)p=1&p?-306674912^p>>1&2147483647:p>>1&2147483647;a[c]=p}this.index=function(e,t){var n=t*(this.width+1)+e+1;return this.idat_offs+8+2+5*Math.floor(n/65535+1)+n},this.color=function(e,t,n,r){var i=(((r=r>=0?r:255)<<8|e)<<8|t)<<8|n;if(void 0===this.palette[i]){if(this.pindex==this.depth)return"\0";var o=this.plte_offs+8+3*this.pindex;this.buffer[o+0]=String.fromCharCode(e),this.buffer[o+1]=String.fromCharCode(t),this.buffer[o+2]=String.fromCharCode(n),this.buffer[this.trns_offs+8+this.pindex]=String.fromCharCode(r),this.palette[i]=String.fromCharCode(this.pindex++)}return this.palette[i]},this.getBase64=function(){var e,t,n,r,i,o,a,c=this.getDump(),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u=c.length,l=0,f="";do{r=(e=c.charCodeAt(l))>>2,i=(3&e)<<4|(t=c.charCodeAt(l+1))>>4,n=c.charCodeAt(l+2),o=u<l+2?64:(15&t)<<2|n>>6,a=u<l+3?64:63&n,f+=s.charAt(r)+s.charAt(i)+s.charAt(o)+s.charAt(a)}while((l+=3)<u);return f},this.getDump=function(){function e(e,r,i){for(var o=-1,c=4;c<i-4;c+=1)o=a[255&(o^e[r+c].charCodeAt(0))]^o>>8&16777215;t(e,r+i-4,n(-1^o))}for(var r=65521,i=1,o=0,c=5552,s=0;s<this.height;s++)for(var u=-1;u<this.width;u++)o+=i+=this.buffer[this.index(u,s)].charCodeAt(0),0==(c-=1)&&(i%=r,o%=r,c=5552);return t(this.buffer,this.idat_offs+this.idat_size-8,n((o%=r)<<16|(i%=r))),e(this.buffer,this.ihdr_offs,this.ihdr_size),e(this.buffer,this.plte_offs,this.plte_size),e(this.buffer,this.trns_offs,this.trns_size),e(this.buffer,this.idat_offs,this.idat_size),e(this.buffer,this.iend_offs,this.iend_size),"‰PNG\r\n\n"+this.buffer.join("")}};void 0!==e.exports?e.exports=i:window.PNGlib=i}()},s40m:function(e,t){"use strict";var n;!function(){function e(e){this.mode=s.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=[],n=0,r=this.data.length;r>n;n++){var i=this.data.charCodeAt(n);i>65536?(t[0]=240|(1835008&i)>>>18,t[1]=128|(258048&i)>>>12,t[2]=128|(4032&i)>>>6,t[3]=128|63&i):i>2048?(t[0]=224|(61440&i)>>>12,t[1]=128|(4032&i)>>>6,t[2]=128|63&i):i>128?(t[0]=192|(1984&i)>>>6,t[1]=128|63&i):t[0]=i,this.parsedData=this.parsedData.concat(t)}this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function t(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function r(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}function i(e,t){this.totalCount=e,this.dataCount=t}function o(){this.buffer=[],this.length=0}function a(){var e,t=!1,n=navigator.userAgent;return/android/i.test(n)&&(t=!0,(e=n.toString().match(/android ([0-9]\.[0-9])/i))&&e[1]&&(t=parseFloat(e[1]))),t}function c(e,t){for(var n=1,r=function(e){var t=encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=e?3:0)}(e),i=0,o=d.length;o>=i;i++){var a=0;switch(t){case u.L:a=d[i][0];break;case u.M:a=d[i][1];break;case u.Q:a=d[i][2];break;case u.H:a=d[i][3]}if(a>=r)break;n++}if(n>d.length)throw new Error("Too long data");return n}e.prototype={getLength:function(){return this.parsedData.length},write:function(e){for(var t=0,n=this.parsedData.length;n>t;t++)e.put(this.parsedData[t],8)}},t.prototype={addData:function(t){var n=new e(t);this.dataList.push(n),this.dataCache=null},isDark:function(e,t){if(0>e||this.moduleCount<=e||0>t||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,n){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[r][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,n),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=t.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,n)},setupPositionProbePattern:function(e,t){for(var n=-1;7>=n;n++)if(!(-1>=e+n||this.moduleCount<=e+n))for(var r=-1;7>=r;r++)-1>=t+r||this.moduleCount<=t+r||(this.modules[e+n][t+r]=n>=0&&6>=n&&(0==r||6==r)||r>=0&&6>=r&&(0==n||6==n)||n>=2&&4>=n&&r>=2&&4>=r)},getBestMaskPattern:function(){for(var e=0,t=0,n=0;8>n;n++){this.makeImpl(!0,n);var r=f.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},createMovieClip:function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var i=0;i<this.modules.length;i++)for(var o=1*i,a=0;a<this.modules[i].length;a++){var c=1*a;this.modules[i][a]&&(r.beginFill(0,100),r.moveTo(c,o),r.lineTo(c+1,o),r.lineTo(c+1,o+1),r.lineTo(c,o+1),r.endFill())}return r},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=0==e%2);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=0==t%2)},setupPositionAdjustPattern:function(){for(var e=f.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],i=e[n];if(null==this.modules[r][i])for(var o=-2;2>=o;o++)for(var a=-2;2>=a;a++)this.modules[r+o][i+a]=-2==o||2==o||-2==a||2==a||0==o&&0==a}},setupTypeNumber:function(e){for(var t=f.getBCHTypeNumber(this.typeNumber),n=0;18>n;n++){var r=!e&&1==(1&t>>n);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;18>n;n++){r=!e&&1==(1&t>>n);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},setupTypeInfo:function(e,t){for(var n=f.getBCHTypeInfo(this.errorCorrectLevel<<3|t),r=0;15>r;r++){var i=!e&&1==(1&n>>r);6>r?this.modules[r][8]=i:8>r?this.modules[r+1][8]=i:this.modules[this.moduleCount-15+r][8]=i}for(r=0;15>r;r++){i=!e&&1==(1&n>>r);8>r?this.modules[8][this.moduleCount-r-1]=i:9>r?this.modules[8][15-r-1+1]=i:this.modules[8][15-r-1]=i}this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var n=-1,r=this.moduleCount-1,i=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var c=0;2>c;c++)if(null==this.modules[r][a-c]){var s=!1;o<e.length&&(s=1==(1&e[o]>>>i)),f.getMask(t,r,a-c)&&(s=!s),this.modules[r][a-c]=s,-1==--i&&(o++,i=7)}if(0>(r+=n)||this.moduleCount<=r){r-=n,n=-n;break}}}},t.PAD0=236,t.PAD1=17,t.createData=function(e,n,r){for(var a=i.getRSBlocks(e,n),c=new o,s=0;s<r.length;s++){var u=r[s];c.put(u.mode,4),c.put(u.getLength(),f.getLengthInBits(u.mode,e)),u.write(c)}var l=0;for(s=0;s<a.length;s++)l+=a[s].dataCount;if(c.getLengthInBits()>8*l)throw new Error("code length overflow. ("+c.getLengthInBits()+">"+8*l+")");for(c.getLengthInBits()+4<=8*l&&c.put(0,4);0!=c.getLengthInBits()%8;)c.putBit(!1);for(;!(c.getLengthInBits()>=8*l)&&(c.put(t.PAD0,8),!(c.getLengthInBits()>=8*l));)c.put(t.PAD1,8);return t.createBytes(c,a)},t.createBytes=function(e,t){for(var n=0,i=0,o=0,a=new Array(t.length),c=new Array(t.length),s=0;s<t.length;s++){var u=t[s].dataCount,l=t[s].totalCount-u;i=Math.max(i,u),o=Math.max(o,l),a[s]=new Array(u);for(var p=0;p<a[s].length;p++)a[s][p]=255&e.buffer[p+n];n+=u;var h=f.getErrorCorrectPolynomial(l),d=new r(a[s],h.getLength()-1).mod(h);c[s]=new Array(h.getLength()-1);for(p=0;p<c[s].length;p++){var g=p+d.getLength()-c[s].length;c[s][p]=g>=0?d.get(g):0}}var m=0;for(p=0;p<t.length;p++)m+=t[p].totalCount;var y=new Array(m),v=0;for(p=0;i>p;p++)for(s=0;s<t.length;s++)p<a[s].length&&(y[v++]=a[s][p]);for(p=0;o>p;p++)for(s=0;s<t.length;s++)p<c[s].length&&(y[v++]=c[s][p]);return y};for(var s={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},u={L:1,M:0,Q:3,H:2},l={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},f={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;f.getBCHDigit(t)-f.getBCHDigit(f.G15)>=0;)t^=f.G15<<f.getBCHDigit(t)-f.getBCHDigit(f.G15);return(e<<10|t)^f.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;f.getBCHDigit(t)-f.getBCHDigit(f.G18)>=0;)t^=f.G18<<f.getBCHDigit(t)-f.getBCHDigit(f.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return f.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case l.PATTERN000:return 0==(t+n)%2;case l.PATTERN001:return 0==t%2;case l.PATTERN010:return 0==n%3;case l.PATTERN011:return 0==(t+n)%3;case l.PATTERN100:return 0==(Math.floor(t/2)+Math.floor(n/3))%2;case l.PATTERN101:return 0==t*n%2+t*n%3;case l.PATTERN110:return 0==(t*n%2+t*n%3)%2;case l.PATTERN111:return 0==(t*n%3+(t+n)%2)%2;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new r([1],0),n=0;e>n;n++)t=t.multiply(new r([1,p.gexp(n)],0));return t},getLengthInBits:function(e,t){if(t>=1&&10>t)switch(e){case s.MODE_NUMBER:return 10;case s.MODE_ALPHA_NUM:return 9;case s.MODE_8BIT_BYTE:case s.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(27>t)switch(e){case s.MODE_NUMBER:return 12;case s.MODE_ALPHA_NUM:return 11;case s.MODE_8BIT_BYTE:return 16;case s.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(41>t))throw new Error("type:"+t);switch(e){case s.MODE_NUMBER:return 14;case s.MODE_ALPHA_NUM:return 13;case s.MODE_8BIT_BYTE:return 16;case s.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0;t>r;r++)for(var i=0;t>i;i++){for(var o=0,a=e.isDark(r,i),c=-1;1>=c;c++)if(!(0>r+c||r+c>=t))for(var s=-1;1>=s;s++)0>i+s||i+s>=t||(0!=c||0!=s)&&a==e.isDark(r+c,i+s)&&o++;o>5&&(n+=3+o-5)}for(r=0;t-1>r;r++)for(i=0;t-1>i;i++){var u=0;e.isDark(r,i)&&u++,e.isDark(r+1,i)&&u++,e.isDark(r,i+1)&&u++,e.isDark(r+1,i+1)&&u++,(0==u||4==u)&&(n+=3)}for(r=0;t>r;r++)for(i=0;t-6>i;i++)e.isDark(r,i)&&!e.isDark(r,i+1)&&e.isDark(r,i+2)&&e.isDark(r,i+3)&&e.isDark(r,i+4)&&!e.isDark(r,i+5)&&e.isDark(r,i+6)&&(n+=40);for(i=0;t>i;i++)for(r=0;t-6>r;r++)e.isDark(r,i)&&!e.isDark(r+1,i)&&e.isDark(r+2,i)&&e.isDark(r+3,i)&&e.isDark(r+4,i)&&!e.isDark(r+5,i)&&e.isDark(r+6,i)&&(n+=40);var l=0;for(i=0;t>i;i++)for(r=0;t>r;r++)e.isDark(r,i)&&l++;return n+10*(Math.abs(100*l/t/t-50)/5)}},p={glog:function(e){if(1>e)throw new Error("glog("+e+")");return p.LOG_TABLE[e]},gexp:function(e){for(;0>e;)e+=255;for(;e>=256;)e-=255;return p.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},h=0;8>h;h++)p.EXP_TABLE[h]=1<<h;for(h=8;256>h;h++)p.EXP_TABLE[h]=p.EXP_TABLE[h-4]^p.EXP_TABLE[h-5]^p.EXP_TABLE[h-6]^p.EXP_TABLE[h-8];for(h=0;255>h;h++)p.LOG_TABLE[p.EXP_TABLE[h]]=h;r.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var i=0;i<e.getLength();i++)t[n+i]^=p.gexp(p.glog(this.get(n))+p.glog(e.get(i)));return new r(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=p.glog(this.get(0))-p.glog(e.get(0)),n=new Array(this.getLength()),i=0;i<this.getLength();i++)n[i]=this.get(i);for(i=0;i<e.getLength();i++)n[i]^=p.gexp(p.glog(e.get(i))+t);return new r(n,0).mod(e)}},i.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],i.getRSBlocks=function(e,t){var n=i.getRsBlockTable(e,t);if(null==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,o=[],a=0;r>a;a++)for(var c=n[3*a+0],s=n[3*a+1],u=n[3*a+2],l=0;c>l;l++)o.push(new i(s,u));return o},i.getRsBlockTable=function(e,t){switch(t){case u.L:return i.RS_BLOCK_TABLE[4*(e-1)+0];case u.M:return i.RS_BLOCK_TABLE[4*(e-1)+1];case u.Q:return i.RS_BLOCK_TABLE[4*(e-1)+2];case u.H:return i.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},o.prototype={get:function(e){var t=Math.floor(e/8);return 1==(1&this.buffer[t]>>>7-e%8)},put:function(e,t){for(var n=0;t>n;n++)this.putBit(1==(1&e>>>t-n-1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var d=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]],g=function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){function t(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg",e);for(var r in t)t.hasOwnProperty(r)&&n.setAttribute(r,t[r]);return n}var n=this._htOption,r=this._el,i=e.getModuleCount();Math.floor(n.width/i),Math.floor(n.height/i),this.clear();var o=t("svg",{viewBox:"0 0 "+String(i)+" "+String(i),width:"100%",height:"100%",fill:n.colorLight});o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.appendChild(o),o.appendChild(t("rect",{fill:n.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;i>a;a++)for(var c=0;i>c;c++)if(e.isDark(a,c)){var s=t("use",{x:String(a),y:String(c)});s.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),o.appendChild(s)}},e.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},e}(),m="svg"===document.documentElement.tagName.toLowerCase()?g:"undefined"!=typeof CanvasRenderingContext2D?function(){function e(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}function t(e,t){var n=this;if(n._fFail=t,n._fSuccess=e,null===n._bSupportDataURI){var r=document.createElement("img"),i=function(){n._bSupportDataURI=!1,n._fFail&&_fFail.call(n)};return r.onabort=i,r.onerror=i,r.onload=function(){n._bSupportDataURI=!0,n._fSuccess&&n._fSuccess.call(n)},void(r.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===n._bSupportDataURI&&n._fSuccess?n._fSuccess.call(n):!1===n._bSupportDataURI&&n._fFail&&n._fFail.call(n)}if(this&&this._android&&this._android<=2.1){var n=1/window.devicePixelRatio,r=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(e,t,i,o,a,c,s,u){if("nodeName"in e&&/img/i.test(e.nodeName))for(var l=arguments.length-1;l>=1;l--)arguments[l]=arguments[l]*n;else void 0===u&&(arguments[1]*=n,arguments[2]*=n,arguments[3]*=n,arguments[4]*=n);r.apply(this,arguments)}}var i=function(e,t){this._bIsPainted=!1,this._android=a(),this._htOption=t,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=t.width,this._elCanvas.height=t.height,e.appendChild(this._elCanvas),this._el=e,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return i.prototype.draw=function(e){var t=this._elImage,n=this._oContext,r=this._htOption,i=e.getModuleCount(),o=r.width/i,a=r.height/i,c=Math.round(o),s=Math.round(a);t.style.display="none",this.clear();for(var u=0;i>u;u++)for(var l=0;i>l;l++){var f=e.isDark(u,l),p=l*o,h=u*a;n.strokeStyle=f?r.colorDark:r.colorLight,n.lineWidth=1,n.fillStyle=f?r.colorDark:r.colorLight,n.fillRect(p,h,o,a),n.strokeRect(Math.floor(p)+.5,Math.floor(h)+.5,c,s),n.strokeRect(Math.ceil(p)-.5,Math.ceil(h)-.5,c,s)}this._bIsPainted=!0},i.prototype.makeImage=function(){this._bIsPainted&&t.call(this,e)},i.prototype.isPainted=function(){return this._bIsPainted},i.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},i.prototype.round=function(e){return e?Math.floor(1e3*e)/1e3:e},i}():function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){for(var t=this._htOption,n=this._el,r=e.getModuleCount(),i=Math.floor(t.width/r),o=Math.floor(t.height/r),a=['<table style="border:0;border-collapse:collapse;">'],c=0;r>c;c++){a.push("<tr>");for(var s=0;r>s;s++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+i+"px;height:"+o+"px;background-color:"+(e.isDark(c,s)?t.colorDark:t.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),n.innerHTML=a.join("");var u=n.childNodes[0],l=(t.width-u.offsetWidth)/2,f=(t.height-u.offsetHeight)/2;l>0&&f>0&&(u.style.margin=f+"px "+l+"px")},e.prototype.clear=function(){this._el.innerHTML=""},e}();n=function(e,t){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:u.H},"string"==typeof t&&(t={text:t}),t)for(var n in t)this._htOption[n]=t[n];"string"==typeof e&&(e=document.getElementById(e)),this._android=a(),this._el=e,this._oQRCode=null,this._oDrawing=new m(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},n.prototype.makeCode=function(e){this._oQRCode=new t(c(e,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(e),this._oQRCode.make(),this._el.title=e,this._oDrawing.draw(this._oQRCode),this.makeImage()},n.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},n.prototype.clear=function(){this._oDrawing.clear()},n.CorrectLevel=u}(),t.a=n},tMPu:function(e,t,n){(function(r){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var o,a,c;c=function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function t(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(r,!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function c(){}function s(e){return e&&"[object Function]"==={}.toString.call(e)}function u(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function f(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=u(e);return/(auto|scroll|overlay)/.test(t.overflow+t.overflowY+t.overflowX)?e:f(l(e))}function p(e){return 11===e?Ce:10===e?Oe:Ce||Oe}function h(e){if(!e)return document.documentElement;for(var t=p(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===u(n,"position")?h(n):n:e?e.ownerDocument.documentElement:document.documentElement}function d(e){return null!==e.parentNode?d(e.parentNode):e}function g(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a,c,s=o.commonAncestorContainer;if(e!==s&&t!==s||r.contains(i))return"BODY"===(c=(a=s).nodeName)||"HTML"!==c&&h(a.firstElementChild)!==a?h(s):s;var u=d(e);return u.host?g(u.host,t):g(e,d(t).host)}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var i=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||i;return o[n]}return e[n]}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=m(t,"top"),i=m(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}function v(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function b(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],p(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function _(e){var t=e.body,n=e.documentElement,r=p(10)&&getComputedStyle(n);return{height:b("Height",t,n,r),width:b("Width",t,n,r)}}function w(e){return Ee({},e,{right:e.left+e.width,bottom:e.top+e.height})}function F(e){var t={};try{if(p(10)){t=e.getBoundingClientRect();var n=m(e,"top"),r=m(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},o="HTML"===e.nodeName?_(e.ownerDocument):{},a=e.offsetWidth-(o.width||e.clientWidth||i.right-i.left),c=e.offsetHeight-(o.height||e.clientHeight||i.bottom-i.top);if(a||c){var s=u(e);a-=v(s,"x"),c-=v(s,"y"),i.width-=a,i.height-=c}return w(i)}function k(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=p(10),i="HTML"===t.nodeName,o=F(e),a=F(t),c=f(e),s=u(t),l=parseFloat(s.borderTopWidth,10),h=parseFloat(s.borderLeftWidth,10);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=w({top:o.top-a.top-l,left:o.left-a.left-h,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!r&&i){var g=parseFloat(s.marginTop,10),m=parseFloat(s.marginLeft,10);d.top-=l-g,d.bottom-=l-g,d.left-=h-m,d.right-=h-m,d.marginTop=g,d.marginLeft=m}return(r&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(d=y(d,t)),d}function x(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=k(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:m(n),c=t?0:m(n,"left"),s={top:a-r.top+r.marginTop,left:c-r.left+r.marginLeft,width:i,height:o};return w(s)}function C(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===u(e,"position"))return!0;var n=l(e);return!!n&&C(n)}function O(e){if(!e||!e.parentElement||p())return document.documentElement;for(var t=e.parentElement;t&&"none"===u(t,"transform");)t=t.parentElement;return t||document.documentElement}function S(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?O(e):g(e,t);if("viewport"===r)o=x(a,i);else{var c=void 0;"scrollParent"===r?"BODY"===(c=f(l(t))).nodeName&&(c=e.ownerDocument.documentElement):c="window"===r?e.ownerDocument.documentElement:r;var s=k(c,a,i);if("HTML"!==c.nodeName||C(a))o=s;else{var u=_(e.ownerDocument),p=u.height,h=u.width;o.top+=s.top-s.marginTop,o.bottom=p+s.top,o.left+=s.left-s.marginLeft,o.right=h+s.left}}var d="number"==typeof(n=n||0);return o.left+=d?n:n.left||0,o.top+=d?n:n.top||0,o.right-=d?n:n.right||0,o.bottom-=d?n:n.bottom||0,o}function j(e){return e.width*e.height}function E(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=S(n,r,o,i),c={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},s=Object.keys(c).map((function(e){return Ee({key:e},c[e],{area:j(c[e])})})).sort((function(e,t){return t.area-e.area})),u=s.filter((function(e){return e.width>=n.clientWidth&&e.height>=n.clientHeight})),l=u.length>0?u[0].key:s[0].key,f=e.split("-")[1];return l+(f?"-"+f:"")}function A(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?O(t):g(t,n);return k(n,i,r)}function D(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function T(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function P(e,t,n){n=n.split("-")[0];var r=D(e),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",c=o?"left":"top",s=o?"height":"width",u=o?"width":"height";return i[a]=t[a]+t[s]/2-r[s]/2,i[c]=n===c?t[c]-r[u]:t[T(c)],i}function B(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function R(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=B(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&s(n)&&(t.offsets.popper=w(t.offsets.popper),t.offsets.reference=w(t.offsets.reference),t=n(t,e))})),t}function I(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=E(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=P(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=R(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function M(e,t){return e.some((function(e){return e.enabled&&e.name===t}))}function L(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],o=i?""+i+n:e;if(void 0!==document.body.style[o])return o}return null}function N(){return this.state.isDestroyed=!0,M(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[L("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function z(e){var t=e.ownerDocument;return t?t.defaultView:window}function U(e,t,n,r){var i="BODY"===e.nodeName,o=i?e.ownerDocument.defaultView:e;o.addEventListener(t,n,{passive:!0}),i||U(f(o.parentNode),t,n,r),r.push(o)}function H(e,t,n,r){n.updateBound=r,z(e).addEventListener("resize",n.updateBound,{passive:!0});var i=f(e);return U(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function q(){this.state.eventsEnabled||(this.state=H(this.reference,0,this.state,this.scheduleUpdate))}function W(){var e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.state,z(this.reference).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function K(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function $(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&K(t[n])&&(r="px"),e.style[n]=t[n]+r}))}function V(e,t,n){var r=B(e,(function(e){return e.name===t})),i=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!i){var o="`"+t+"`";console.warn("`"+n+"` modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}function G(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Te.indexOf(e),r=Te.slice(n+1).concat(Te.slice(0,n));return t?r.reverse():r}function Y(e,t,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),c=a.indexOf(B(a,(function(e){return-1!==e.search(/,|\s/)})));a[c]&&-1===a[c].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,u=-1!==c?[a.slice(0,c).concat([a[c].split(s)[0]]),[a[c].split(s)[1]].concat(a.slice(c+1))]:[a];return u=u.map((function(e,r){var i=(1===r?!o:o)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];return o?0===a.indexOf("%")?w("%p"===a?n:r)[t]/100*o:"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o:e}(e,i,t,n)}))})),u.forEach((function(e,t){e.forEach((function(n,r){K(n)&&(i[t]+=n*("-"===e[r-1]?-1:1))}))})),i}function J(e,t){var n=document.createElement(e);return t&&(n.className=t),n}function Q(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function Z(e){return"string"==typeof e.n?e.n:e.n[0]}function X(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ee(e,t,n[t])}))}return e}function ne(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function re(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function ie(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function oe(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function ae(e){return e.size!==pt.size||e.x!==pt.x||e.y!==pt.y||e.rotate!==pt.rotate||e.flipX||e.flipY}function ce(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(o," ").concat(a)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}function se(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function ue(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,a=e.transform,c=e.symbol,s=e.title,u=e.extra,l=e.watchable,f=void 0!==l&&l,p=r.found?r:n,h=p.width,d=p.height,g="fa-w-".concat(Math.ceil(h/d*16)),m=[st.replacementClass,o?"".concat(st.familyPrefix,"-").concat(o):"",g].filter((function(e){return-1===u.classes.indexOf(e)})).concat(u.classes).join(" "),y={children:[],attributes:te({},u.attributes,{"data-prefix":i,"data-icon":o,class:m,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(d)})};f&&(y.attributes["data-fa-i2svg"]=""),s&&y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(re())},children:[s]});var v=te({},y,{prefix:i,iconName:o,main:n,mask:r,transform:a,symbol:c,styles:u.styles}),b=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.mask,a=i.icon,c=o.icon,s=ce({transform:e.transform,containerWidth:o.width,iconWidth:i.width}),u={tag:"rect",attributes:te({},ht,{fill:"white"})},l=a.children?{children:a.children.map(se)}:{},f={tag:"g",attributes:te({},s.inner),children:[se(te({tag:a.tag,attributes:te({},a.attributes,s.path)},l))]},p={tag:"g",attributes:te({},s.outer),children:[f]},h="mask-".concat(re()),d="clip-".concat(re()),g={tag:"mask",attributes:te({},ht,{id:h,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[u,p]},m={tag:"defs",children:[{tag:"clipPath",attributes:{id:d},children:(t=c,"g"===t.tag?t.children:[t])},g]};return n.push(m,{tag:"rect",attributes:te({fill:"currentColor","clip-path":"url(#".concat(d,")"),mask:"url(#".concat(h,")")},ht)}),{children:n,attributes:r}}(v):function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,o=oe(e.styles);if(o.length>0&&(n.style=o),ae(i)){var a=ce({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:te({},a.outer),children:[{tag:"g",attributes:te({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:te({},r.icon.attributes,a.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(v),_=b.attributes;return v.children=b.children,v.attributes=_,c?function(e){var t=e.iconName,n=e.children,r=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:te({},e.attributes,{id:!0===r?"".concat(e.prefix,"-").concat(st.familyPrefix,"-").concat(t):r}),children:n}]}]}(v):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(ae(a)&&n.found&&!r.found){var c={x:n.width/n.height/2,y:.5};i.style=oe(te({},o,{"transform-origin":"".concat(c.x+a.x/16,"em ").concat(c.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(v)}function le(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,o=Object.keys(t).reduce((function(e,n){var r=t[n];return r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof lt.hooks.addPack||i?lt.styles[e]=te({},lt.styles[e]||{},o):lt.hooks.addPack(e,o),"fas"===e&&le("fa",t)}function fe(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function pe(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?ie(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(ie(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(pe).join(""),"</").concat(t,">")}function he(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}function de(e){var t=e[0],n=e[1],r=ne(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(st.familyPrefix,"-").concat(rt)},children:[{tag:"path",attributes:{class:"".concat(st.familyPrefix,"-").concat(ot),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(st.familyPrefix,"-").concat(it),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}function ge(){st.autoAddCss&&!xt&&(function(e){if(e&&tt){var t=et.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=et.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}et.head.insertBefore(t,r)}}(function(){var e="fa",t=nt,n=st.familyPrefix,r=st.replacementClass,i='svg:not(:root).svg-inline--fa {\n  overflow: visible;\n}\n\n.svg-inline--fa {\n  display: inline-block;\n  font-size: inherit;\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n  width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n  width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n  width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n  width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n  width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n  width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n  width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n  width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n  width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n  width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n  width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n  width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n  width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n  width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n  width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n  width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n  width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n  width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n  width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n  width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-border {\n  height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n  width: 2em;\n}\n.svg-inline--fa.fa-fw {\n  width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: #ff253a;\n  border-radius: 1em;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  color: #fff;\n  height: 1.5em;\n  line-height: 1;\n  max-width: 5em;\n  min-width: 1.5em;\n  overflow: hidden;\n  padding: 0.25em;\n  right: 0;\n  text-overflow: ellipsis;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: 0;\n  right: 0;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: 0;\n  left: 0;\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  right: 0;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: 0;\n  right: auto;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-lg {\n  font-size: 1.3333333333em;\n  line-height: 0.75em;\n  vertical-align: -0.0667em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: 2.5em;\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: -2em;\n  position: absolute;\n  text-align: center;\n  width: 2em;\n  line-height: inherit;\n}\n\n.fa-border {\n  border: solid 0.08em #eee;\n  border-radius: 0.1em;\n  padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n  float: left;\n}\n\n.fa-pull-right {\n  float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n  margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n  margin-left: 0.3em;\n}\n\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n          animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n          animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n  -webkit-filter: none;\n          filter: none;\n}\n\n.fa-stack {\n  display: inline-block;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: #fff;\n}\n\n.sr-only {\n  border: 0;\n  clip: rect(0, 0, 0, 0);\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  position: absolute;\n  width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n  clip: auto;\n  height: auto;\n  margin: 0;\n  overflow: visible;\n  position: static;\n  width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse {\n  color: #fff;\n}';if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),c=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(c,".".concat(r))}return i}()),xt=!0)}function me(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return pe(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(tt){var t=et.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function ye(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return fe(kt.definitions,n,r)||fe(lt.styles,n,r)}function ve(){return JSON.parse(localStorage.getItem(Lt))||[]}!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}('.emoji-picker {\n  border: 1px solid #CCCCCC;\n  border-radius: 5px;\n  background: #FFFFFF;\n  width: 23rem;\n  font-family: Arial, Helvetica, sans-serif;\n  opacity: 0;\n  transition: opacity 0.3s;\n  margin: 0 0.5em;\n  overflow: hidden;\n}\n\n.emoji-picker.visible {\n  opacity: 1;\n}\n\n.emoji-picker__content {\n  padding: 0.5em;\n  height: 20rem;\n  overflow: hidden;\n  position: relative;\n}\n\n.emoji-picker__preview {\n  height: 2em;\n  padding: 0.5em;\n  border-top: 1px solid #CCCCCC;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n}\n\n.emoji-picker__preview-emoji {\n  font-size: 2em;\n  margin-right: 0.25em;\n  font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "EmojiOne Color", "Android Emoji";\n}\n\n.emoji-picker__preview-name {\n  color: #666666;\n  font-size: 0.85em;\n  overflow-wrap: break-word;\n  word-break: break-all;\n}\n\n.emoji-picker__tabs {\n  margin: 0;\n  padding: 0;\n  display: flex;\n}\n\n.emoji-picker__tab {\n  font-size: 1.5rem;\n  list-style: none;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  cursor: pointer;\n  flex-grow: 1;\n  text-align: center;\n  color: #666666;\n  border-radius: 3px;\n  transition: background 0.25s;\n}\n\n.emoji-picker__tab:hover {\n  background: #E8F4F9;\n}\n\n.emoji-picker__tab svg {\n  padding: 0.5rem;\n}\n\n.emoji-picker__tab.active {\n  background: #4F81E5;\n  color: #FFFFFF;\n}\n\n.emoji-picker__tab-body {\n  margin-top: 0.5em;\n  transform: translateX(25rem);\n  transition: transform 0.25s;\n  position: absolute;\n}\n\n.emoji-picker__tab-body h2 {\n  font-size: 0.85rem;\n  color: #333333;\n  margin: 0;\n  text-align: left;\n}\n\n.emoji-picker__tab-body.active {\n  display: block;\n  transform: translateX(0);\n}\n\n.emoji-picker__emojis {\n  height: 16.5rem;\n  overflow-y: scroll;\n  display: flex;\n  flex-wrap: wrap;\n  align-content: flex-start;\n  width: calc((1.8rem * 1.5 * 8) + 0.5rem);\n  margin: auto;\n}\n\n.emoji-picker__emojis.search-results {\n  height: 21rem;\n}\n\n.emoji-picker__emoji {\n  background: transparent;\n  border: none;\n  border-radius: 5px;\n  cursor: pointer;\n  font-size: 1.8rem;\n  width: 1.5em;\n  height: 1.5em;\n  padding: 0;\n  margin: 0;\n  outline: none;\n  font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "EmojiOne Color", "Android Emoji";\n}\n\n.emoji-picker__emoji:focus, .emoji-picker__emoji:hover {\n  background: #E8F4F9;\n}\n\n.emoji-picker__search-container {\n  margin: 0.5em;\n  position: relative;\n  height: 2em;\n  display: flex;\n}\n\n.emoji-picker__search {\n  box-sizing: border-box;\n  width: 100%;\n  border-radius: 3px;\n  border: 1px solid #CCCCCC;\n  padding-right: 2em;\n  padding: 0.5em 2.25em 0.5em 0.5em;\n  font-size: 0.85rem;\n  outline: none;\n}\n\n.emoji-picker__search:focus {\n  border: 1px solid #4F81E5;\n}\n\n.emoji-picker__search-icon {\n  position: absolute;\n  color: #CCCCCC;\n  width: 1em;\n  height: 1em;\n  right: 0.75em;\n  top: calc(50% - 0.5em);\n}\n\n.emoji-picker__search-not-found {\n  color: #666666;\n  text-align: center;\n  margin-top: 2em;\n}\n\n.emoji-picker__search-not-found-icon {\n  font-size: 3em;\n}\n\n.emoji-picker__search-not-found h2 {\n  margin: 0.5em 0;\n  font-size: 1em;\n}\n\n.emoji-picker__variant-overlay {\n  background: rgba(0, 0, 0, 0.7);\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 23rem;\n  height: 27.5rem;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n}\n\n.emoji-picker__variant-popup {\n  background: #FFFFFF;\n  margin: 0.5em;\n  padding: 0.5em;\n  text-align: center;\n}\n\n.emoji-picker__variant-popup-close-button {\n  cursor: pointer;\n  background: transparent;\n  border: none;\n  position: absolute;\n  right: 1em;\n  padding: 0;\n  top: calc(50% - 0.5em);\n  height: 1em;\n  width: 1em;\n}'),c.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){i.off(e,r),t.apply(n,arguments)}var i=this;return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,a=r.length;o<a;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}};var be=c;be.TinyEmitter=c;for(var _e="undefined"!=typeof window&&"undefined"!=typeof document,we=["Edge","Trident","Firefox"],Fe=0,ke=0;ke<we.length;ke+=1)if(_e&&navigator.userAgent.indexOf(we[ke])>=0){Fe=1;break}var xe=_e&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),Fe))}},Ce=_e&&!(!window.MSInputMethodContext||!document.documentMode),Oe=_e&&/MSIE 10/.test(navigator.userAgent),Se=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),je=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ae=_e&&/Firefox/i.test(navigator.userAgent),De=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Te=De.slice(3),Pe="flip",Be="clockwise",Re="counterclockwise",Ie={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,a=i.popper,c=-1!==["bottom","top"].indexOf(n),s=c?"left":"top",u=c?"width":"height",l={start:je({},s,o[s]),end:je({},s,o[s]+o[u]-a[u])};e.offsets.popper=Ee({},a,l[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.offsets,i=r.popper,o=r.reference,a=e.placement.split("-")[0],c=void 0;return c=K(+n)?[+n,0]:Y(n,i,o,a),"left"===a?(i.top+=c[0],i.left-=c[1]):"right"===a?(i.top+=c[0],i.left+=c[1]):"top"===a?(i.left+=c[0],i.top-=c[1]):"bottom"===a&&(i.left+=c[0],i.top+=c[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||h(e.instance.popper);e.instance.reference===n&&(n=h(n));var r=L("transform"),i=e.instance.popper.style,o=i.top,a=i.left,c=i[r];i.top="",i.left="",i[r]="";var s=S(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=o,i.left=a,i[r]=c,t.boundaries=s;var u=e.offsets.popper,l={primary:function(e){var n=u[e];return u[e]<s[e]&&!t.escapeWithReference&&(n=Math.max(u[e],s[e])),je({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>s[e]&&!t.escapeWithReference&&(r=Math.min(u[n],s[e]-("right"===e?u.width:u.height))),je({},n,r)}};return t.priority.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=Ee({},u,l[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),c=a?"right":"bottom",s=a?"left":"top",u=a?"width":"height";return n[c]<o(r[s])&&(e.offsets.popper[s]=o(r[s])-n[u]),n[s]>o(r[c])&&(e.offsets.popper[s]=o(r[c])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!V(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],o=e.offsets,a=o.popper,c=o.reference,s=-1!==["left","right"].indexOf(i),l=s?"height":"width",f=s?"Top":"Left",p=f.toLowerCase(),h=s?"left":"top",d=s?"bottom":"right",g=D(r)[l];c[d]-g<a[p]&&(e.offsets.popper[p]-=a[p]-(c[d]-g)),c[p]+g>a[d]&&(e.offsets.popper[p]+=c[p]+g-a[d]),e.offsets.popper=w(e.offsets.popper);var m=c[p]+c[l]/2-g/2,y=u(e.instance.popper),v=parseFloat(y["margin"+f],10),b=parseFloat(y["border"+f+"Width"],10),_=m-e.offsets.popper[p]-v-b;return _=Math.max(Math.min(a[l]-g,_),0),e.arrowElement=r,e.offsets.arrow=(je(n={},p,Math.round(_)),je(n,h,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(M(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=S(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=T(r),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case Pe:a=[r,i];break;case Be:a=G(r);break;case Re:a=G(r,!0);break;default:a=t.behavior}return a.forEach((function(c,s){if(r!==c||a.length===s+1)return e;r=e.placement.split("-")[0],i=T(r);var u=e.offsets.popper,l=e.offsets.reference,f=Math.floor,p="left"===r&&f(u.right)>f(l.left)||"right"===r&&f(u.left)<f(l.right)||"top"===r&&f(u.bottom)>f(l.top)||"bottom"===r&&f(u.top)<f(l.bottom),h=f(u.left)<f(n.left),d=f(u.right)>f(n.right),g=f(u.top)<f(n.top),m=f(u.bottom)>f(n.bottom),y="left"===r&&h||"right"===r&&d||"top"===r&&g||"bottom"===r&&m,v=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(v&&"start"===o&&h||v&&"end"===o&&d||!v&&"start"===o&&g||!v&&"end"===o&&m)||!!t.flipVariationsByContent&&(v&&"start"===o&&d||v&&"end"===o&&h||!v&&"start"===o&&m||!v&&"end"===o&&g);(p||y||b)&&(e.flipped=!0,(p||y)&&(r=a[s+1]),b&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=Ee({},e.offsets.popper,P(e.instance.popper,e.offsets.reference,e.placement)),e=R(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),c=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(c?i[a?"width":"height"]:0),e.placement=T(t),e.offsets.popper=w(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!V(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=B(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,i=e.offsets.popper,o=B(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:t.gpuAcceleration,c=h(e.instance.popper),s=F(c),u={position:i.position},l=function(e,t){var n=e.offsets,r=n.popper,i=Math.round,o=Math.floor,a=function(e){return e},c=i(n.reference.width),s=i(r.width),u=-1!==["left","right"].indexOf(e.placement),l=-1!==e.placement.indexOf("-"),f=t?u||l||c%2==s%2?i:o:a,p=t?i:a;return{left:f(c%2==1&&s%2==1&&!l&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:f(r.right)}}(e,window.devicePixelRatio<2||!Ae),f="bottom"===n?"top":"bottom",p="right"===r?"left":"right",d=L("transform"),g=void 0,m=void 0;if(m="bottom"===f?"HTML"===c.nodeName?-c.clientHeight+l.bottom:-s.height+l.bottom:l.top,g="right"===p?"HTML"===c.nodeName?-c.clientWidth+l.right:-s.width+l.right:l.left,a&&d)u[d]="translate3d("+g+"px, "+m+"px, 0)",u[f]=0,u[p]=0,u.willChange="transform";else{var y="right"===p?-1:1;u[f]=m*("bottom"===f?-1:1),u[p]=g*y,u.willChange=f+", "+p}return e.attributes=Ee({},{"x-placement":e.placement},e.attributes),e.styles=Ee({},u,e.styles),e.arrowStyles=Ee({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return $(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&$(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,i){var o=A(i,t,e,n.positionFixed),a=E(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),$(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},Me={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Ie},Le=function(){function e(t,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=xe(this.update.bind(this)),this.options=Ee({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Ee({},e.Defaults.modifiers,i.modifiers)).forEach((function(t){r.options.modifiers[t]=Ee({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return Ee({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&s(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return Se(e,[{key:"update",value:function(){return I.call(this)}},{key:"destroy",value:function(){return N.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return W.call(this)}}]),e}();Le.Utils=("undefined"!=typeof window?window:r).PopperUtils,Le.placements=De,Le.Defaults=Me;var Ne=["animals","smileys","skinTones","travel","flags","objects","activities","symbols","food"],ze=[{n:["monkey_face"],e:"🐵",c:0},{n:["grinning"],e:"😀",c:1},{n:["skin-tone-2"],e:"🏻",c:2},{n:["earth_africa"],e:"🌍",c:3},{n:["checkered_flag"],e:"🏁",c:4},{n:["mute"],e:"🔇",c:5},{n:["jack_o_lantern"],e:"🎃",c:6},{n:["atm"],e:"🏧",c:7},{n:["grapes"],e:"🍇",c:8},{n:["earth_americas"],e:"🌎",c:3},{n:["grin"],e:"😁",c:1},{n:["melon"],e:"🍈",c:8},{n:["triangular_flag_on_post"],e:"🚩",c:4},{n:["monkey"],e:"🐒",c:0},{n:["christmas_tree"],e:"🎄",c:6},{n:["skin-tone-3"],e:"🏼",c:2},{n:["put_litter_in_its_place"],e:"🚮",c:7},{n:["speaker"],e:"🔈",c:5},{n:["earth_asia"],e:"🌏",c:3},{n:["crossed_flags"],e:"🎌",c:4},{n:["joy"],e:"😂",c:1},{n:["sound"],e:"🔉",c:5},{n:["watermelon"],e:"🍉",c:8},{n:["gorilla"],e:"🦍",c:0},{n:["fireworks"],e:"🎆",c:6},{n:["potable_water"],e:"🚰",c:7},{n:["skin-tone-4"],e:"🏽",c:2},{n:["wheelchair"],e:"♿",c:7},{n:["rolling_on_the_floor_laughing"],e:"🤣",c:1},{n:["loud_sound"],e:"🔊",c:5},{n:["waving_black_flag"],e:"🏴",c:4},{n:["tangerine"],e:"🍊",c:8},{n:["dog"],e:"🐶",c:0},{n:["sparkler"],e:"🎇",c:6},{n:["skin-tone-5"],e:"🏾",c:2},{n:["globe_with_meridians"],e:"🌐",c:3},{n:["skin-tone-6"],e:"🏿",c:2},{n:["smiley"],e:"😃",c:1},{n:["loudspeaker"],e:"📢",c:5},{n:["sparkles"],e:"✨",c:6},{n:["dog2"],e:"🐕",c:0},{n:["waving_white_flag"],e:"🏳️",c:4},{n:["world_map"],e:"🗺️",c:3},{n:["lemon"],e:"🍋",c:8},{n:["mens"],e:"🚹",c:7},{n:["womens"],e:"🚺",c:7},{n:["rainbow-flag"],e:"🏳️‍🌈",c:4},{n:["smile"],e:"😄",c:1},{n:["banana"],e:"🍌",c:8},{n:["mega"],e:"📣",c:5},{n:["japan"],e:"🗾",c:3},{n:["poodle"],e:"🐩",c:0},{n:["balloon"],e:"🎈",c:6},{n:["flag-ac"],e:"🇦🇨",c:4},{n:["sweat_smile"],e:"😅",c:1},{n:["pineapple"],e:"🍍",c:8},{n:["restroom"],e:"🚻",c:7},{n:["postal_horn"],e:"📯",c:5},{n:["wolf"],e:"🐺",c:0},{n:["tada"],e:"🎉",c:6},{n:["snow_capped_mountain"],e:"🏔️",c:3},{n:["laughing","satisfied"],e:"😆",c:1},{n:["apple"],e:"🍎",c:8},{n:["flag-ad"],e:"🇦🇩",c:4},{n:["fox_face"],e:"🦊",c:0},{n:["confetti_ball"],e:"🎊",c:6},{n:["bell"],e:"🔔",c:5},{n:["mountain"],e:"⛰️",c:3},{n:["baby_symbol"],e:"🚼",c:7},{n:["wc"],e:"🚾",c:7},{n:["wink"],e:"😉",c:1},{n:["no_bell"],e:"🔕",c:5},{n:["green_apple"],e:"🍏",c:8},{n:["tanabata_tree"],e:"🎋",c:6},{n:["flag-ae"],e:"🇦🇪",c:4},{n:["volcano"],e:"🌋",c:3},{n:["cat"],e:"🐱",c:0},{n:["flag-af"],e:"🇦🇫",c:4},{n:["musical_score"],e:"🎼",c:5},{n:["blush"],e:"😊",c:1},{n:["pear"],e:"🍐",c:8},{n:["bamboo"],e:"🎍",c:6},{n:["passport_control"],e:"🛂",c:7},{n:["mount_fuji"],e:"🗻",c:3},{n:["cat2"],e:"🐈",c:0},{n:["musical_note"],e:"🎵",c:5},{n:["dolls"],e:"🎎",c:6},{n:["lion_face"],e:"🦁",c:0},{n:["camping"],e:"🏕️",c:3},{n:["flag-ag"],e:"🇦🇬",c:4},{n:["customs"],e:"🛃",c:7},{n:["yum"],e:"😋",c:1},{n:["peach"],e:"🍑",c:8},{n:["tiger"],e:"🐯",c:0},{n:["notes"],e:"🎶",c:5},{n:["flags"],e:"🎏",c:6},{n:["beach_with_umbrella"],e:"🏖️",c:3},{n:["cherries"],e:"🍒",c:8},{n:["flag-ai"],e:"🇦🇮",c:4},{n:["baggage_claim"],e:"🛄",c:7},{n:["sunglasses"],e:"😎",c:1},{n:["left_luggage"],e:"🛅",c:7},{n:["wind_chime"],e:"🎐",c:6},{n:["strawberry"],e:"🍓",c:8},{n:["desert"],e:"🏜️",c:3},{n:["studio_microphone"],e:"🎙️",c:5},{n:["flag-al"],e:"🇦🇱",c:4},{n:["tiger2"],e:"🐅",c:0},{n:["heart_eyes"],e:"😍",c:1},{n:["desert_island"],e:"🏝️",c:3},{n:["kiwifruit"],e:"🥝",c:8},{n:["rice_scene"],e:"🎑",c:6},{n:["kissing_heart"],e:"😘",c:1},{n:["warning"],e:"⚠️",c:7},{n:["flag-am"],e:"🇦🇲",c:4},{n:["leopard"],e:"🐆",c:0},{n:["level_slider"],e:"🎚️",c:5},{n:["horse"],e:"🐴",c:0},{n:["children_crossing"],e:"🚸",c:7},{n:["ribbon"],e:"🎀",c:6},{n:["national_park"],e:"🏞️",c:3},{n:["control_knobs"],e:"🎛️",c:5},{n:["kissing"],e:"😗",c:1},{n:["tomato"],e:"🍅",c:8},{n:["flag-ao"],e:"🇦🇴",c:4},{n:["stadium"],e:"🏟️",c:3},{n:["flag-aq"],e:"🇦🇶",c:4},{n:["gift"],e:"🎁",c:6},{n:["no_entry"],e:"⛔",c:7},{n:["kissing_smiling_eyes"],e:"😙",c:1},{n:["coconut"],e:"🥥",c:8},{n:["racehorse"],e:"🐎",c:0},{n:["microphone"],e:"🎤",c:5},{n:["classical_building"],e:"🏛️",c:3},{n:["no_entry_sign"],e:"🚫",c:7},{n:["reminder_ribbon"],e:"🎗️",c:6},{n:["kissing_closed_eyes"],e:"😚",c:1},{n:["unicorn_face"],e:"🦄",c:0},{n:["flag-ar"],e:"🇦🇷",c:4},{n:["headphones"],e:"🎧",c:5},{n:["avocado"],e:"🥑",c:8},{n:["relaxed"],e:"☺️",c:1},{n:["zebra_face"],e:"🦓",c:0},{n:["eggplant"],e:"🍆",c:8},{n:["radio"],e:"📻",c:5},{n:["building_construction"],e:"🏗️",c:3},{n:["flag-as"],e:"🇦🇸",c:4},{n:["admission_tickets"],e:"🎟️",c:6},{n:["no_bicycles"],e:"🚳",c:7},{n:["no_smoking"],e:"🚭",c:7},{n:["slightly_smiling_face"],e:"🙂",c:1},{n:["flag-at"],e:"🇦🇹",c:4},{n:["ticket"],e:"🎫",c:6},{n:["saxophone"],e:"🎷",c:5},{n:["deer"],e:"🦌",c:0},{n:["house_buildings"],e:"🏘️",c:3},{n:["potato"],e:"🥔",c:8},{n:["guitar"],e:"🎸",c:5},{n:["carrot"],e:"🥕",c:8},{n:["cityscape"],e:"🏙️",c:3},{n:["flag-au"],e:"🇦🇺",c:4},{n:["do_not_litter"],e:"🚯",c:7},{n:["hugging_face"],e:"🤗",c:1},{n:["cow"],e:"🐮",c:0},{n:["medal"],e:"🎖️",c:6},{n:["musical_keyboard"],e:"🎹",c:5},{n:["corn"],e:"🌽",c:8},{n:["derelict_house_building"],e:"🏚️",c:3},{n:["non-potable_water"],e:"🚱",c:7},{n:["trophy"],e:"🏆",c:6},{n:["flag-aw"],e:"🇦🇼",c:4},{n:["star-struck","grinning_face_with_star_eyes"],e:"🤩",c:1},{n:["ox"],e:"🐂",c:0},{n:["trumpet"],e:"🎺",c:5},{n:["hot_pepper"],e:"🌶️",c:8},{n:["sports_medal"],e:"🏅",c:6},{n:["flag-ax"],e:"🇦🇽",c:4},{n:["water_buffalo"],e:"🐃",c:0},{n:["no_pedestrians"],e:"🚷",c:7},{n:["thinking_face"],e:"🤔",c:1},{n:["house"],e:"🏠",c:3},{n:["no_mobile_phones"],e:"📵",c:7},{n:["flag-az"],e:"🇦🇿",c:4},{n:["first_place_medal"],e:"🥇",c:6},{n:["house_with_garden"],e:"🏡",c:3},{n:["violin"],e:"🎻",c:5},{n:["face_with_raised_eyebrow","face_with_one_eyebrow_raised"],e:"🤨",c:1},{n:["cucumber"],e:"🥒",c:8},{n:["cow2"],e:"🐄",c:0},{n:["flag-ba"],e:"🇧🇦",c:4},{n:["pig"],e:"🐷",c:0},{n:["drum_with_drumsticks"],e:"🥁",c:5},{n:["underage"],e:"🔞",c:7},{n:["broccoli"],e:"🥦",c:8},{n:["office"],e:"🏢",c:3},{n:["second_place_medal"],e:"🥈",c:6},{n:["neutral_face"],e:"😐",c:1},{n:["third_place_medal"],e:"🥉",c:6},{n:["mushroom"],e:"🍄",c:8},{n:["flag-bb"],e:"🇧🇧",c:4},{n:["radioactive_sign"],e:"☢️",c:7},{n:["pig2"],e:"🐖",c:0},{n:["expressionless"],e:"😑",c:1},{n:["iphone"],e:"📱",c:5},{n:["post_office"],e:"🏣",c:3},{n:["european_post_office"],e:"🏤",c:3},{n:["soccer"],e:"⚽",c:6},{n:["boar"],e:"🐗",c:0},{n:["peanuts"],e:"🥜",c:8},{n:["calling"],e:"📲",c:5},{n:["biohazard_sign"],e:"☣️",c:7},{n:["flag-bd"],e:"🇧🇩",c:4},{n:["no_mouth"],e:"😶",c:1},{n:["face_with_rolling_eyes"],e:"🙄",c:1},{n:["phone","telephone"],e:"☎️",c:5},{n:["pig_nose"],e:"🐽",c:0},{n:["chestnut"],e:"🌰",c:8},{n:["arrow_up"],e:"⬆️",c:7},{n:["hospital"],e:"🏥",c:3},{n:["flag-be"],e:"🇧🇪",c:4},{n:["baseball"],e:"⚾",c:6},{n:["smirk"],e:"😏",c:1},{n:["arrow_upper_right"],e:"↗️",c:7},{n:["flag-bf"],e:"🇧🇫",c:4},{n:["basketball"],e:"🏀",c:6},{n:["ram"],e:"🐏",c:0},{n:["bank"],e:"🏦",c:3},{n:["bread"],e:"🍞",c:8},{n:["telephone_receiver"],e:"📞",c:5},{n:["croissant"],e:"🥐",c:8},{n:["pager"],e:"📟",c:5},{n:["sheep"],e:"🐑",c:0},{n:["arrow_right"],e:"➡️",c:7},{n:["persevere"],e:"😣",c:1},{n:["flag-bg"],e:"🇧🇬",c:4},{n:["volleyball"],e:"🏐",c:6},{n:["hotel"],e:"🏨",c:3},{n:["arrow_lower_right"],e:"↘️",c:7},{n:["goat"],e:"🐐",c:0},{n:["flag-bh"],e:"🇧🇭",c:4},{n:["love_hotel"],e:"🏩",c:3},{n:["disappointed_relieved"],e:"😥",c:1},{n:["baguette_bread"],e:"🥖",c:8},{n:["football"],e:"🏈",c:6},{n:["fax"],e:"📠",c:5},{n:["convenience_store"],e:"🏪",c:3},{n:["dromedary_camel"],e:"🐪",c:0},{n:["arrow_down"],e:"⬇️",c:7},{n:["battery"],e:"🔋",c:5},{n:["rugby_football"],e:"🏉",c:6},{n:["pretzel"],e:"🥨",c:8},{n:["open_mouth"],e:"😮",c:1},{n:["flag-bi"],e:"🇧🇮",c:4},{n:["flag-bj"],e:"🇧🇯",c:4},{n:["pancakes"],e:"🥞",c:8},{n:["school"],e:"🏫",c:3},{n:["tennis"],e:"🎾",c:6},{n:["zipper_mouth_face"],e:"🤐",c:1},{n:["camel"],e:"🐫",c:0},{n:["arrow_lower_left"],e:"↙️",c:7},{n:["electric_plug"],e:"🔌",c:5},{n:["cheese_wedge"],e:"🧀",c:8},{n:["hushed"],e:"😯",c:1},{n:["computer"],e:"💻",c:5},{n:["giraffe_face"],e:"🦒",c:0},{n:["8ball"],e:"🎱",c:6},{n:["flag-bl"],e:"🇧🇱",c:4},{n:["arrow_left"],e:"⬅️",c:7},{n:["department_store"],e:"🏬",c:3},{n:["meat_on_bone"],e:"🍖",c:8},{n:["arrow_upper_left"],e:"↖️",c:7},{n:["flag-bm"],e:"🇧🇲",c:4},{n:["sleepy"],e:"😪",c:1},{n:["bowling"],e:"🎳",c:6},{n:["factory"],e:"🏭",c:3},{n:["desktop_computer"],e:"🖥️",c:5},{n:["elephant"],e:"🐘",c:0},{n:["rhinoceros"],e:"🦏",c:0},{n:["arrow_up_down"],e:"↕️",c:7},{n:["cricket_bat_and_ball"],e:"🏏",c:6},{n:["printer"],e:"🖨️",c:5},{n:["poultry_leg"],e:"🍗",c:8},{n:["tired_face"],e:"😫",c:1},{n:["japanese_castle"],e:"🏯",c:3},{n:["flag-bn"],e:"🇧🇳",c:4},{n:["field_hockey_stick_and_ball"],e:"🏑",c:6},{n:["sleeping"],e:"😴",c:1},{n:["left_right_arrow"],e:"↔️",c:7},{n:["keyboard"],e:"⌨️",c:5},{n:["european_castle"],e:"🏰",c:3},{n:["mouse"],e:"🐭",c:0},{n:["flag-bo"],e:"🇧🇴",c:4},{n:["cut_of_meat"],e:"🥩",c:8},{n:["ice_hockey_stick_and_puck"],e:"🏒",c:6},{n:["mouse2"],e:"🐁",c:0},{n:["three_button_mouse"],e:"🖱️",c:5},{n:["leftwards_arrow_with_hook"],e:"↩️",c:7},{n:["bacon"],e:"🥓",c:8},{n:["relieved"],e:"😌",c:1},{n:["flag-bq"],e:"🇧🇶",c:4},{n:["wedding"],e:"💒",c:3},{n:["tokyo_tower"],e:"🗼",c:3},{n:["arrow_right_hook"],e:"↪️",c:7},{n:["hamburger"],e:"🍔",c:8},{n:["stuck_out_tongue"],e:"😛",c:1},{n:["trackball"],e:"🖲️",c:5},{n:["flag-br"],e:"🇧🇷",c:4},{n:["rat"],e:"🐀",c:0},{n:["table_tennis_paddle_and_ball"],e:"🏓",c:6},{n:["minidisc"],e:"💽",c:5},{n:["stuck_out_tongue_winking_eye"],e:"😜",c:1},{n:["fries"],e:"🍟",c:8},{n:["badminton_racquet_and_shuttlecock"],e:"🏸",c:6},{n:["statue_of_liberty"],e:"🗽",c:3},{n:["flag-bs"],e:"🇧🇸",c:4},{n:["arrow_heading_up"],e:"⤴️",c:7},{n:["hamster"],e:"🐹",c:0},{n:["stuck_out_tongue_closed_eyes"],e:"😝",c:1},{n:["pizza"],e:"🍕",c:8},{n:["boxing_glove"],e:"🥊",c:6},{n:["floppy_disk"],e:"💾",c:5},{n:["arrow_heading_down"],e:"⤵️",c:7},{n:["flag-bt"],e:"🇧🇹",c:4},{n:["rabbit"],e:"🐰",c:0},{n:["church"],e:"⛪",c:3},{n:["drooling_face"],e:"🤤",c:1},{n:["flag-bv"],e:"🇧🇻",c:4},{n:["mosque"],e:"🕌",c:3},{n:["rabbit2"],e:"🐇",c:0},{n:["hotdog"],e:"🌭",c:8},{n:["martial_arts_uniform"],e:"🥋",c:6},{n:["arrows_clockwise"],e:"🔃",c:7},{n:["cd"],e:"💿",c:5},{n:["arrows_counterclockwise"],e:"🔄",c:7},{n:["sandwich"],e:"🥪",c:8},{n:["chipmunk"],e:"🐿️",c:0},{n:["synagogue"],e:"🕍",c:3},{n:["unamused"],e:"😒",c:1},{n:["goal_net"],e:"🥅",c:6},{n:["flag-bw"],e:"🇧🇼",c:4},{n:["dvd"],e:"📀",c:5},{n:["hedgehog"],e:"🦔",c:0},{n:["dart"],e:"🎯",c:6},{n:["taco"],e:"🌮",c:8},{n:["back"],e:"🔙",c:7},{n:["flag-by"],e:"🇧🇾",c:4},{n:["shinto_shrine"],e:"⛩️",c:3},{n:["movie_camera"],e:"🎥",c:5},{n:["sweat"],e:"😓",c:1},{n:["burrito"],e:"🌯",c:8},{n:["flag-bz"],e:"🇧🇿",c:4},{n:["pensive"],e:"😔",c:1},{n:["kaaba"],e:"🕋",c:3},{n:["film_frames"],e:"🎞️",c:5},{n:["bat"],e:"🦇",c:0},{n:["golf"],e:"⛳",c:6},{n:["end"],e:"🔚",c:7},{n:["film_projector"],e:"📽️",c:5},{n:["bear"],e:"🐻",c:0},{n:["ice_skate"],e:"⛸️",c:6},{n:["fountain"],e:"⛲",c:3},{n:["confused"],e:"😕",c:1},{n:["flag-ca"],e:"🇨🇦",c:4},{n:["on"],e:"🔛",c:7},{n:["stuffed_flatbread"],e:"🥙",c:8},{n:["soon"],e:"🔜",c:7},{n:["upside_down_face"],e:"🙃",c:1},{n:["fishing_pole_and_fish"],e:"🎣",c:6},{n:["tent"],e:"⛺",c:3},{n:["clapper"],e:"🎬",c:5},{n:["egg"],e:"🥚",c:8},{n:["flag-cc"],e:"🇨🇨",c:4},{n:["koala"],e:"🐨",c:0},{n:["foggy"],e:"🌁",c:3},{n:["tv"],e:"📺",c:5},{n:["panda_face"],e:"🐼",c:0},{n:["fried_egg","cooking"],e:"🍳",c:8},{n:["top"],e:"🔝",c:7},{n:["flag-cd"],e:"🇨🇩",c:4},{n:["money_mouth_face"],e:"🤑",c:1},{n:["running_shirt_with_sash"],e:"🎽",c:6},{n:["astonished"],e:"😲",c:1},{n:["feet","paw_prints"],e:"🐾",c:0},{n:["camera"],e:"📷",c:5},{n:["flag-cf"],e:"🇨🇫",c:4},{n:["place_of_worship"],e:"🛐",c:7},{n:["night_with_stars"],e:"🌃",c:3},{n:["ski"],e:"🎿",c:6},{n:["shallow_pan_of_food"],e:"🥘",c:8},{n:["camera_with_flash"],e:"📸",c:5},{n:["sunrise_over_mountains"],e:"🌄",c:3},{n:["turkey"],e:"🦃",c:0},{n:["white_frowning_face"],e:"☹️",c:1},{n:["flag-cg"],e:"🇨🇬",c:4},{n:["stew"],e:"🍲",c:8},{n:["sled"],e:"🛷",c:6},{n:["atom_symbol"],e:"⚛️",c:7},{n:["curling_stone"],e:"🥌",c:6},{n:["slightly_frowning_face"],e:"🙁",c:1},{n:["sunrise"],e:"🌅",c:3},{n:["om_symbol"],e:"🕉️",c:7},{n:["chicken"],e:"🐔",c:0},{n:["bowl_with_spoon"],e:"🥣",c:8},{n:["flag-ch"],e:"🇨🇭",c:4},{n:["video_camera"],e:"📹",c:5},{n:["video_game"],e:"🎮",c:6},{n:["rooster"],e:"🐓",c:0},{n:["vhs"],e:"📼",c:5},{n:["city_sunset"],e:"🌆",c:3},{n:["confounded"],e:"😖",c:1},{n:["green_salad"],e:"🥗",c:8},{n:["star_of_david"],e:"✡️",c:7},{n:["flag-ci"],e:"🇨🇮",c:4},{n:["popcorn"],e:"🍿",c:8},{n:["city_sunrise"],e:"🌇",c:3},{n:["disappointed"],e:"😞",c:1},{n:["mag"],e:"🔍",c:5},{n:["hatching_chick"],e:"🐣",c:0},{n:["joystick"],e:"🕹️",c:6},{n:["wheel_of_dharma"],e:"☸️",c:7},{n:["flag-ck"],e:"🇨🇰",c:4},{n:["canned_food"],e:"🥫",c:8},{n:["worried"],e:"😟",c:1},{n:["baby_chick"],e:"🐤",c:0},{n:["flag-cl"],e:"🇨🇱",c:4},{n:["game_die"],e:"🎲",c:6},{n:["mag_right"],e:"🔎",c:5},{n:["yin_yang"],e:"☯️",c:7},{n:["bridge_at_night"],e:"🌉",c:3},{n:["spades"],e:"♠️",c:6},{n:["hatched_chick"],e:"🐥",c:0},{n:["flag-cm"],e:"🇨🇲",c:4},{n:["latin_cross"],e:"✝️",c:7},{n:["triumph"],e:"😤",c:1},{n:["hotsprings"],e:"♨️",c:3},{n:["bento"],e:"🍱",c:8},{n:["microscope"],e:"🔬",c:5},{n:["cry"],e:"😢",c:1},{n:["bird"],e:"🐦",c:0},{n:["cn","flag-cn"],e:"🇨🇳",c:4},{n:["telescope"],e:"🔭",c:5},{n:["rice_cracker"],e:"🍘",c:8},{n:["hearts"],e:"♥️",c:6},{n:["orthodox_cross"],e:"☦️",c:7},{n:["milky_way"],e:"🌌",c:3},{n:["rice_ball"],e:"🍙",c:8},{n:["satellite_antenna"],e:"📡",c:5},{n:["flag-co"],e:"🇨🇴",c:4},{n:["carousel_horse"],e:"🎠",c:3},{n:["sob"],e:"😭",c:1},{n:["diamonds"],e:"♦️",c:6},{n:["star_and_crescent"],e:"☪️",c:7},{n:["penguin"],e:"🐧",c:0},{n:["dove_of_peace"],e:"🕊️",c:0},{n:["flag-cp"],e:"🇨🇵",c:4},{n:["ferris_wheel"],e:"🎡",c:3},{n:["clubs"],e:"♣️",c:6},{n:["peace_symbol"],e:"☮️",c:7},{n:["candle"],e:"🕯️",c:5},{n:["frowning"],e:"😦",c:1},{n:["rice"],e:"🍚",c:8},{n:["flag-cr"],e:"🇨🇷",c:4},{n:["roller_coaster"],e:"🎢",c:3},{n:["menorah_with_nine_branches"],e:"🕎",c:7},{n:["black_joker"],e:"🃏",c:6},{n:["eagle"],e:"🦅",c:0},{n:["curry"],e:"🍛",c:8},{n:["bulb"],e:"💡",c:5},{n:["anguished"],e:"😧",c:1},{n:["flag-cu"],e:"🇨🇺",c:4},{n:["barber"],e:"💈",c:3},{n:["duck"],e:"🦆",c:0},{n:["six_pointed_star"],e:"🔯",c:7},{n:["ramen"],e:"🍜",c:8},{n:["flashlight"],e:"🔦",c:5},{n:["mahjong"],e:"🀄",c:6},{n:["fearful"],e:"😨",c:1},{n:["aries"],e:"♈",c:7},{n:["spaghetti"],e:"🍝",c:8},{n:["circus_tent"],e:"🎪",c:3},{n:["izakaya_lantern","lantern"],e:"🏮",c:5},{n:["flag-cv"],e:"🇨🇻",c:4},{n:["weary"],e:"😩",c:1},{n:["flower_playing_cards"],e:"🎴",c:6},{n:["owl"],e:"🦉",c:0},{n:["performing_arts"],e:"🎭",c:3},{n:["frog"],e:"🐸",c:0},{n:["flag-cw"],e:"🇨🇼",c:4},{n:["notebook_with_decorative_cover"],e:"📔",c:5},{n:["exploding_head","shocked_face_with_exploding_head"],e:"🤯",c:1},{n:["taurus"],e:"♉",c:7},{n:["sweet_potato"],e:"🍠",c:8},{n:["closed_book"],e:"📕",c:5},{n:["gemini"],e:"♊",c:7},{n:["frame_with_picture"],e:"🖼️",c:3},{n:["flag-cx"],e:"🇨🇽",c:4},{n:["grimacing"],e:"😬",c:1},{n:["crocodile"],e:"🐊",c:0},{n:["oden"],e:"🍢",c:8},{n:["flag-cy"],e:"🇨🇾",c:4},{n:["book","open_book"],e:"📖",c:5},{n:["turtle"],e:"🐢",c:0},{n:["art"],e:"🎨",c:3},{n:["sushi"],e:"🍣",c:8},{n:["cold_sweat"],e:"😰",c:1},{n:["cancer"],e:"♋",c:7},{n:["fried_shrimp"],e:"🍤",c:8},{n:["slot_machine"],e:"🎰",c:3},{n:["scream"],e:"😱",c:1},{n:["green_book"],e:"📗",c:5},{n:["leo"],e:"♌",c:7},{n:["flag-cz"],e:"🇨🇿",c:4},{n:["lizard"],e:"🦎",c:0},{n:["virgo"],e:"♍",c:7},{n:["steam_locomotive"],e:"🚂",c:3},{n:["de","flag-de"],e:"🇩🇪",c:4},{n:["flushed"],e:"😳",c:1},{n:["blue_book"],e:"📘",c:5},{n:["snake"],e:"🐍",c:0},{n:["fish_cake"],e:"🍥",c:8},{n:["railway_car"],e:"🚃",c:3},{n:["dango"],e:"🍡",c:8},{n:["orange_book"],e:"📙",c:5},{n:["libra"],e:"♎",c:7},{n:["dragon_face"],e:"🐲",c:0},{n:["flag-dg"],e:"🇩🇬",c:4},{n:["zany_face","grinning_face_with_one_large_and_one_small_eye"],e:"🤪",c:1},{n:["books"],e:"📚",c:5},{n:["dragon"],e:"🐉",c:0},{n:["flag-dj"],e:"🇩🇯",c:4},{n:["dumpling"],e:"🥟",c:8},{n:["dizzy_face"],e:"😵",c:1},{n:["scorpius"],e:"♏",c:7},{n:["bullettrain_side"],e:"🚄",c:3},{n:["bullettrain_front"],e:"🚅",c:3},{n:["notebook"],e:"📓",c:5},{n:["fortune_cookie"],e:"🥠",c:8},{n:["sagittarius"],e:"♐",c:7},{n:["sauropod"],e:"🦕",c:0},{n:["flag-dk"],e:"🇩🇰",c:4},{n:["rage"],e:"😡",c:1},{n:["ledger"],e:"📒",c:5},{n:["angry"],e:"😠",c:1},{n:["t-rex"],e:"🦖",c:0},{n:["capricorn"],e:"♑",c:7},{n:["takeout_box"],e:"🥡",c:8},{n:["flag-dm"],e:"🇩🇲",c:4},{n:["train2"],e:"🚆",c:3},{n:["page_with_curl"],e:"📃",c:5},{n:["whale"],e:"🐳",c:0},{n:["face_with_symbols_on_mouth","serious_face_with_symbols_covering_mouth"],e:"🤬",c:1},{n:["flag-do"],e:"🇩🇴",c:4},{n:["metro"],e:"🚇",c:3},{n:["icecream"],e:"🍦",c:8},{n:["aquarius"],e:"♒",c:7},{n:["flag-dz"],e:"🇩🇿",c:4},{n:["whale2"],e:"🐋",c:0},{n:["mask"],e:"😷",c:1},{n:["scroll"],e:"📜",c:5},{n:["shaved_ice"],e:"🍧",c:8},{n:["pisces"],e:"♓",c:7},{n:["light_rail"],e:"🚈",c:3},{n:["dolphin","flipper"],e:"🐬",c:0},{n:["face_with_thermometer"],e:"🤒",c:1},{n:["flag-ea"],e:"🇪🇦",c:4},{n:["ophiuchus"],e:"⛎",c:7},{n:["station"],e:"🚉",c:3},{n:["ice_cream"],e:"🍨",c:8},{n:["page_facing_up"],e:"📄",c:5},{n:["doughnut"],e:"🍩",c:8},{n:["face_with_head_bandage"],e:"🤕",c:1},{n:["fish"],e:"🐟",c:0},{n:["newspaper"],e:"📰",c:5},{n:["tram"],e:"🚊",c:3},{n:["flag-ec"],e:"🇪🇨",c:4},{n:["twisted_rightwards_arrows"],e:"🔀",c:7},{n:["flag-ee"],e:"🇪🇪",c:4},{n:["cookie"],e:"🍪",c:8},{n:["monorail"],e:"🚝",c:3},{n:["tropical_fish"],e:"🐠",c:0},{n:["rolled_up_newspaper"],e:"🗞️",c:5},{n:["nauseated_face"],e:"🤢",c:1},{n:["repeat"],e:"🔁",c:7},{n:["bookmark_tabs"],e:"📑",c:5},{n:["repeat_one"],e:"🔂",c:7},{n:["flag-eg"],e:"🇪🇬",c:4},{n:["mountain_railway"],e:"🚞",c:3},{n:["birthday"],e:"🎂",c:8},{n:["blowfish"],e:"🐡",c:0},{n:["face_vomiting","face_with_open_mouth_vomiting"],e:"🤮",c:1},{n:["arrow_forward"],e:"▶️",c:7},{n:["bookmark"],e:"🔖",c:5},{n:["flag-eh"],e:"🇪🇭",c:4},{n:["shark"],e:"🦈",c:0},{n:["train"],e:"🚋",c:3},{n:["sneezing_face"],e:"🤧",c:1},{n:["cake"],e:"🍰",c:8},{n:["bus"],e:"🚌",c:3},{n:["pie"],e:"🥧",c:8},{n:["innocent"],e:"😇",c:1},{n:["fast_forward"],e:"⏩",c:7},{n:["label"],e:"🏷️",c:5},{n:["octopus"],e:"🐙",c:0},{n:["flag-er"],e:"🇪🇷",c:4},{n:["black_right_pointing_double_triangle_with_vertical_bar"],e:"⏭️",c:7},{n:["chocolate_bar"],e:"🍫",c:8},{n:["oncoming_bus"],e:"🚍",c:3},{n:["shell"],e:"🐚",c:0},{n:["face_with_cowboy_hat"],e:"🤠",c:1},{n:["moneybag"],e:"💰",c:5},{n:["es","flag-es"],e:"🇪🇸",c:4},{n:["crab"],e:"🦀",c:0},{n:["yen"],e:"💴",c:5},{n:["flag-et"],e:"🇪🇹",c:4},{n:["clown_face"],e:"🤡",c:1},{n:["black_right_pointing_triangle_with_double_vertical_bar"],e:"⏯️",c:7},{n:["trolleybus"],e:"🚎",c:3},{n:["candy"],e:"🍬",c:8},{n:["lying_face"],e:"🤥",c:1},{n:["arrow_backward"],e:"◀️",c:7},{n:["dollar"],e:"💵",c:5},{n:["shrimp"],e:"🦐",c:0},{n:["minibus"],e:"🚐",c:3},{n:["flag-eu"],e:"🇪🇺",c:4},{n:["lollipop"],e:"🍭",c:8},{n:["squid"],e:"🦑",c:0},{n:["euro"],e:"💶",c:5},{n:["flag-fi"],e:"🇫🇮",c:4},{n:["ambulance"],e:"🚑",c:3},{n:["custard"],e:"🍮",c:8},{n:["shushing_face","face_with_finger_covering_closed_lips"],e:"🤫",c:1},{n:["rewind"],e:"⏪",c:7},{n:["black_left_pointing_double_triangle_with_vertical_bar"],e:"⏮️",c:7},{n:["face_with_hand_over_mouth","smiling_face_with_smiling_eyes_and_hand_covering_mouth"],e:"🤭",c:1},{n:["flag-fj"],e:"🇫🇯",c:4},{n:["honey_pot"],e:"🍯",c:8},{n:["snail"],e:"🐌",c:0},{n:["pound"],e:"💷",c:5},{n:["fire_engine"],e:"🚒",c:3},{n:["baby_bottle"],e:"🍼",c:8},{n:["flag-fk"],e:"🇫🇰",c:4},{n:["butterfly"],e:"🦋",c:0},{n:["money_with_wings"],e:"💸",c:5},{n:["face_with_monocle"],e:"🧐",c:1},{n:["police_car"],e:"🚓",c:3},{n:["arrow_up_small"],e:"🔼",c:7},{n:["flag-fm"],e:"🇫🇲",c:4},{n:["glass_of_milk"],e:"🥛",c:8},{n:["credit_card"],e:"💳",c:5},{n:["oncoming_police_car"],e:"🚔",c:3},{n:["bug"],e:"🐛",c:0},{n:["nerd_face"],e:"🤓",c:1},{n:["arrow_double_up"],e:"⏫",c:7},{n:["chart"],e:"💹",c:5},{n:["flag-fo"],e:"🇫🇴",c:4},{n:["ant"],e:"🐜",c:0},{n:["arrow_down_small"],e:"🔽",c:7},{n:["smiling_imp"],e:"😈",c:1},{n:["taxi"],e:"🚕",c:3},{n:["coffee"],e:"☕",c:8},{n:["fr","flag-fr"],e:"🇫🇷",c:4},{n:["oncoming_taxi"],e:"🚖",c:3},{n:["arrow_double_down"],e:"⏬",c:7},{n:["imp"],e:"👿",c:1},{n:["currency_exchange"],e:"💱",c:5},{n:["tea"],e:"🍵",c:8},{n:["bee","honeybee"],e:"🐝",c:0},{n:["heavy_dollar_sign"],e:"💲",c:5},{n:["car","red_car"],e:"🚗",c:3},{n:["sake"],e:"🍶",c:8},{n:["flag-ga"],e:"🇬🇦",c:4},{n:["beetle"],e:"🐞",c:0},{n:["japanese_ogre"],e:"👹",c:1},{n:["double_vertical_bar"],e:"⏸️",c:7},{n:["champagne"],e:"🍾",c:8},{n:["japanese_goblin"],e:"👺",c:1},{n:["black_square_for_stop"],e:"⏹️",c:7},{n:["oncoming_automobile"],e:"🚘",c:3},{n:["email","envelope"],e:"✉️",c:5},{n:["cricket"],e:"🦗",c:0},{n:["gb","uk","flag-gb"],e:"🇬🇧",c:4},{n:["black_circle_for_record"],e:"⏺️",c:7},{n:["flag-gd"],e:"🇬🇩",c:4},{n:["spider"],e:"🕷️",c:0},{n:["blue_car"],e:"🚙",c:3},{n:["skull"],e:"💀",c:1},{n:["e-mail"],e:"📧",c:5},{n:["wine_glass"],e:"🍷",c:8},{n:["spider_web"],e:"🕸️",c:0},{n:["cocktail"],e:"🍸",c:8},{n:["skull_and_crossbones"],e:"☠️",c:1},{n:["flag-ge"],e:"🇬🇪",c:4},{n:["eject"],e:"⏏️",c:7},{n:["truck"],e:"🚚",c:3},{n:["incoming_envelope"],e:"📨",c:5},{n:["tropical_drink"],e:"🍹",c:8},{n:["scorpion"],e:"🦂",c:0},{n:["cinema"],e:"🎦",c:7},{n:["articulated_lorry"],e:"🚛",c:3},{n:["envelope_with_arrow"],e:"📩",c:5},{n:["ghost"],e:"👻",c:1},{n:["flag-gf"],e:"🇬🇫",c:4},{n:["bouquet"],e:"💐",c:0},{n:["tractor"],e:"🚜",c:3},{n:["beer"],e:"🍺",c:8},{n:["outbox_tray"],e:"📤",c:5},{n:["low_brightness"],e:"🔅",c:7},{n:["alien"],e:"👽",c:1},{n:["flag-gg"],e:"🇬🇬",c:4},{n:["cherry_blossom"],e:"🌸",c:0},{n:["inbox_tray"],e:"📥",c:5},{n:["flag-gh"],e:"🇬🇭",c:4},{n:["bike"],e:"🚲",c:3},{n:["space_invader"],e:"👾",c:1},{n:["beers"],e:"🍻",c:8},{n:["high_brightness"],e:"🔆",c:7},{n:["package"],e:"📦",c:5},{n:["scooter"],e:"🛴",c:3},{n:["white_flower"],e:"💮",c:0},{n:["clinking_glasses"],e:"🥂",c:8},{n:["robot_face"],e:"🤖",c:1},{n:["signal_strength"],e:"📶",c:7},{n:["flag-gi"],e:"🇬🇮",c:4},{n:["flag-gl"],e:"🇬🇱",c:4},{n:["motor_scooter"],e:"🛵",c:3},{n:["mailbox"],e:"📫",c:5},{n:["vibration_mode"],e:"📳",c:7},{n:["hankey","poop","shit"],e:"💩",c:1},{n:["rosette"],e:"🏵️",c:0},{n:["tumbler_glass"],e:"🥃",c:8},{n:["cup_with_straw"],e:"🥤",c:8},{n:["flag-gm"],e:"🇬🇲",c:4},{n:["mailbox_closed"],e:"📪",c:5},{n:["mobile_phone_off"],e:"📴",c:7},{n:["busstop"],e:"🚏",c:3},{n:["smiley_cat"],e:"😺",c:1},{n:["rose"],e:"🌹",c:0},{n:["motorway"],e:"🛣️",c:3},{n:["smile_cat"],e:"😸",c:1},{n:["flag-gn"],e:"🇬🇳",c:4},{n:["wilted_flower"],e:"🥀",c:0},{n:["mailbox_with_mail"],e:"📬",c:5},{n:["chopsticks"],e:"🥢",c:8},{n:["female_sign"],e:"♀️",c:7},{n:["mailbox_with_no_mail"],e:"📭",c:5},{n:["knife_fork_plate"],e:"🍽️",c:8},{n:["hibiscus"],e:"🌺",c:0},{n:["flag-gp"],e:"🇬🇵",c:4},{n:["railway_track"],e:"🛤️",c:3},{n:["male_sign"],e:"♂️",c:7},{n:["joy_cat"],e:"😹",c:1},{n:["fuelpump"],e:"⛽",c:3},{n:["sunflower"],e:"🌻",c:0},{n:["postbox"],e:"📮",c:5},{n:["flag-gq"],e:"🇬🇶",c:4},{n:["heart_eyes_cat"],e:"😻",c:1},{n:["fork_and_knife"],e:"🍴",c:8},{n:["medical_symbol","staff_of_aesculapius"],e:"⚕️",c:7},{n:["recycle"],e:"♻️",c:7},{n:["spoon"],e:"🥄",c:8},{n:["blossom"],e:"🌼",c:0},{n:["rotating_light"],e:"🚨",c:3},{n:["smirk_cat"],e:"😼",c:1},{n:["ballot_box_with_ballot"],e:"🗳️",c:5},{n:["flag-gr"],e:"🇬🇷",c:4},{n:["kissing_cat"],e:"😽",c:1},{n:["pencil2"],e:"✏️",c:5},{n:["traffic_light"],e:"🚥",c:3},{n:["fleur_de_lis"],e:"⚜️",c:7},{n:["tulip"],e:"🌷",c:0},{n:["hocho","knife"],e:"🔪",c:8},{n:["flag-gs"],e:"🇬🇸",c:4},{n:["seedling"],e:"🌱",c:0},{n:["amphora"],e:"🏺",c:8},{n:["scream_cat"],e:"🙀",c:1},{n:["vertical_traffic_light"],e:"🚦",c:3},{n:["black_nib"],e:"✒️",c:5},{n:["flag-gt"],e:"🇬🇹",c:4},{n:["trident"],e:"🔱",c:7},{n:["flag-gu"],e:"🇬🇺",c:4},{n:["name_badge"],e:"📛",c:7},{n:["construction"],e:"🚧",c:3},{n:["lower_left_fountain_pen"],e:"🖋️",c:5},{n:["evergreen_tree"],e:"🌲",c:0},{n:["crying_cat_face"],e:"😿",c:1},{n:["flag-gw"],e:"🇬🇼",c:4},{n:["lower_left_ballpoint_pen"],e:"🖊️",c:5},{n:["pouting_cat"],e:"😾",c:1},{n:["deciduous_tree"],e:"🌳",c:0},{n:["octagonal_sign"],e:"🛑",c:3},{n:["beginner"],e:"🔰",c:7},{n:["flag-gy"],e:"🇬🇾",c:4},{n:["lower_left_paintbrush"],e:"🖌️",c:5},{n:["o"],e:"⭕",c:7},{n:["palm_tree"],e:"🌴",c:0},{n:["anchor"],e:"⚓",c:3},{n:["see_no_evil"],e:"🙈",c:1},{n:["boat","sailboat"],e:"⛵",c:3},{n:["white_check_mark"],e:"✅",c:7},{n:["flag-hk"],e:"🇭🇰",c:4},{n:["lower_left_crayon"],e:"🖍️",c:5},{n:["hear_no_evil"],e:"🙉",c:1},{n:["cactus"],e:"🌵",c:0},{n:["ear_of_rice"],e:"🌾",c:0},{n:["speak_no_evil"],e:"🙊",c:1},{n:["flag-hm"],e:"🇭🇲",c:4},{n:["ballot_box_with_check"],e:"☑️",c:7},{n:["canoe"],e:"🛶",c:3},{n:["memo","pencil"],e:"📝",c:5},{n:["herb"],e:"🌿",c:0},{n:["flag-hn"],e:"🇭🇳",c:4},{n:["heavy_check_mark"],e:"✔️",c:7},{n:["briefcase"],e:"💼",c:5},{n:["speedboat"],e:"🚤",c:3},{n:["baby"],e:"👶",c:1,v:{"1F3FB":{k:"baby-1F3FB",n:"baby",e:"👶🏻"},"1F3FC":{k:"baby-1F3FC",n:"baby",e:"👶🏼"},"1F3FD":{k:"baby-1F3FD",n:"baby",e:"👶🏽"},"1F3FE":{k:"baby-1F3FE",n:"baby",e:"👶🏾"},"1F3FF":{k:"baby-1F3FF",n:"baby",e:"👶🏿"}}},{n:["heavy_multiplication_x"],e:"✖️",c:7},{n:["child"],e:"🧒",c:1,v:{"1F3FB":{k:"child-1F3FB",n:"child",e:"🧒🏻"},"1F3FC":{k:"child-1F3FC",n:"child",e:"🧒🏼"},"1F3FD":{k:"child-1F3FD",n:"child",e:"🧒🏽"},"1F3FE":{k:"child-1F3FE",n:"child",e:"🧒🏾"},"1F3FF":{k:"child-1F3FF",n:"child",e:"🧒🏿"}}},{n:["shamrock"],e:"☘️",c:0},{n:["passenger_ship"],e:"🛳️",c:3},{n:["flag-hr"],e:"🇭🇷",c:4},{n:["file_folder"],e:"📁",c:5},{n:["x"],e:"❌",c:7},{n:["four_leaf_clover"],e:"🍀",c:0},{n:["open_file_folder"],e:"📂",c:5},{n:["boy"],e:"👦",c:1,v:{"1F3FB":{k:"boy-1F3FB",n:"boy",e:"👦🏻"},"1F3FC":{k:"boy-1F3FC",n:"boy",e:"👦🏼"},"1F3FD":{k:"boy-1F3FD",n:"boy",e:"👦🏽"},"1F3FE":{k:"boy-1F3FE",n:"boy",e:"👦🏾"},"1F3FF":{k:"boy-1F3FF",n:"boy",e:"👦🏿"}}},{n:["ferry"],e:"⛴️",c:3},{n:["flag-ht"],e:"🇭🇹",c:4},{n:["girl"],e:"👧",c:1,v:{"1F3FB":{k:"girl-1F3FB",n:"girl",e:"👧🏻"},"1F3FC":{k:"girl-1F3FC",n:"girl",e:"👧🏼"},"1F3FD":{k:"girl-1F3FD",n:"girl",e:"👧🏽"},"1F3FE":{k:"girl-1F3FE",n:"girl",e:"👧🏾"},"1F3FF":{k:"girl-1F3FF",n:"girl",e:"👧🏿"}}},{n:["negative_squared_cross_mark"],e:"❎",c:7},{n:["flag-hu"],e:"🇭🇺",c:4},{n:["card_index_dividers"],e:"🗂️",c:5},{n:["maple_leaf"],e:"🍁",c:0},{n:["motor_boat"],e:"🛥️",c:3},{n:["flag-ic"],e:"🇮🇨",c:4},{n:["fallen_leaf"],e:"🍂",c:0},{n:["adult"],e:"🧑",c:1,v:{"1F3FB":{k:"adult-1F3FB",n:"adult",e:"🧑🏻"},"1F3FC":{k:"adult-1F3FC",n:"adult",e:"🧑🏼"},"1F3FD":{k:"adult-1F3FD",n:"adult",e:"🧑🏽"},"1F3FE":{k:"adult-1F3FE",n:"adult",e:"🧑🏾"},"1F3FF":{k:"adult-1F3FF",n:"adult",e:"🧑🏿"}}},{n:["ship"],e:"🚢",c:3},{n:["heavy_plus_sign"],e:"➕",c:7},{n:["date"],e:"📅",c:5},{n:["man"],e:"👨",c:1,v:{"1F3FB":{k:"man-1F3FB",n:"man",e:"👨🏻"},"1F3FC":{k:"man-1F3FC",n:"man",e:"👨🏼"},"1F3FD":{k:"man-1F3FD",n:"man",e:"👨🏽"},"1F3FE":{k:"man-1F3FE",n:"man",e:"👨🏾"},"1F3FF":{k:"man-1F3FF",n:"man",e:"👨🏿"}}},{n:["flag-id"],e:"🇮🇩",c:4},{n:["leaves"],e:"🍃",c:0},{n:["heavy_minus_sign"],e:"➖",c:7},{n:["calendar"],e:"📆",c:5},{n:["airplane"],e:"✈️",c:3},{n:["spiral_note_pad"],e:"🗒️",c:5},{n:["heavy_division_sign"],e:"➗",c:7},{n:["small_airplane"],e:"🛩️",c:3},{n:["woman"],e:"👩",c:1,v:{"1F3FB":{k:"woman-1F3FB",n:"woman",e:"👩🏻"},"1F3FC":{k:"woman-1F3FC",n:"woman",e:"👩🏼"},"1F3FD":{k:"woman-1F3FD",n:"woman",e:"👩🏽"},"1F3FE":{k:"woman-1F3FE",n:"woman",e:"👩🏾"},"1F3FF":{k:"woman-1F3FF",n:"woman",e:"👩🏿"}}},{n:["flag-ie"],e:"🇮🇪",c:4},{n:["curly_loop"],e:"➰",c:7},{n:["flag-il"],e:"🇮🇱",c:4},{n:["airplane_departure"],e:"🛫",c:3},{n:["spiral_calendar_pad"],e:"🗓️",c:5},{n:["older_adult"],e:"🧓",c:1,v:{"1F3FB":{k:"older_adult-1F3FB",n:"older_adult",e:"🧓🏻"},"1F3FC":{k:"older_adult-1F3FC",n:"older_adult",e:"🧓🏼"},"1F3FD":{k:"older_adult-1F3FD",n:"older_adult",e:"🧓🏽"},"1F3FE":{k:"older_adult-1F3FE",n:"older_adult",e:"🧓🏾"},"1F3FF":{k:"older_adult-1F3FF",n:"older_adult",e:"🧓🏿"}}},{n:["airplane_arriving"],e:"🛬",c:3},{n:["card_index"],e:"📇",c:5},{n:["loop"],e:"➿",c:7},{n:["older_man"],e:"👴",c:1,v:{"1F3FB":{k:"older_man-1F3FB",n:"older_man",e:"👴🏻"},"1F3FC":{k:"older_man-1F3FC",n:"older_man",e:"👴🏼"},"1F3FD":{k:"older_man-1F3FD",n:"older_man",e:"👴🏽"},"1F3FE":{k:"older_man-1F3FE",n:"older_man",e:"👴🏾"},"1F3FF":{k:"older_man-1F3FF",n:"older_man",e:"👴🏿"}}},{n:["flag-im"],e:"🇮🇲",c:4},{n:["flag-in"],e:"🇮🇳",c:4},{n:["chart_with_upwards_trend"],e:"📈",c:5},{n:["part_alternation_mark"],e:"〽️",c:7},{n:["seat"],e:"💺",c:3},{n:["older_woman"],e:"👵",c:1,v:{"1F3FB":{k:"older_woman-1F3FB",n:"older_woman",e:"👵🏻"},"1F3FC":{k:"older_woman-1F3FC",n:"older_woman",e:"👵🏼"},"1F3FD":{k:"older_woman-1F3FD",n:"older_woman",e:"👵🏽"},"1F3FE":{k:"older_woman-1F3FE",n:"older_woman",e:"👵🏾"},"1F3FF":{k:"older_woman-1F3FF",n:"older_woman",e:"👵🏿"}}},{n:["eight_spoked_asterisk"],e:"✳️",c:7},{n:["chart_with_downwards_trend"],e:"📉",c:5},{n:["flag-io"],e:"🇮🇴",c:4},{n:["male-doctor"],e:"👨‍⚕️",c:1,v:{"1F3FB":{k:"male-doctor-1F3FB",n:"male-doctor",e:"👨🏻‍⚕️"},"1F3FC":{k:"male-doctor-1F3FC",n:"male-doctor",e:"👨🏼‍⚕️"},"1F3FD":{k:"male-doctor-1F3FD",n:"male-doctor",e:"👨🏽‍⚕️"},"1F3FE":{k:"male-doctor-1F3FE",n:"male-doctor",e:"👨🏾‍⚕️"},"1F3FF":{k:"male-doctor-1F3FF",n:"male-doctor",e:"👨🏿‍⚕️"}}},{n:["helicopter"],e:"🚁",c:3},{n:["female-doctor"],e:"👩‍⚕️",c:1,v:{"1F3FB":{k:"female-doctor-1F3FB",n:"female-doctor",e:"👩🏻‍⚕️"},"1F3FC":{k:"female-doctor-1F3FC",n:"female-doctor",e:"👩🏼‍⚕️"},"1F3FD":{k:"female-doctor-1F3FD",n:"female-doctor",e:"👩🏽‍⚕️"},"1F3FE":{k:"female-doctor-1F3FE",n:"female-doctor",e:"👩🏾‍⚕️"},"1F3FF":{k:"female-doctor-1F3FF",n:"female-doctor",e:"👩🏿‍⚕️"}}},{n:["suspension_railway"],e:"🚟",c:3},{n:["bar_chart"],e:"📊",c:5},{n:["flag-iq"],e:"🇮🇶",c:4},{n:["eight_pointed_black_star"],e:"✴️",c:7},{n:["mountain_cableway"],e:"🚠",c:3},{n:["male-student"],e:"👨‍🎓",c:1,v:{"1F3FB":{k:"male-student-1F3FB",n:"male-student",e:"👨🏻‍🎓"},"1F3FC":{k:"male-student-1F3FC",n:"male-student",e:"👨🏼‍🎓"},"1F3FD":{k:"male-student-1F3FD",n:"male-student",e:"👨🏽‍🎓"},"1F3FE":{k:"male-student-1F3FE",n:"male-student",e:"👨🏾‍🎓"},"1F3FF":{k:"male-student-1F3FF",n:"male-student",e:"👨🏿‍🎓"}}},{n:["clipboard"],e:"📋",c:5},{n:["flag-ir"],e:"🇮🇷",c:4},{n:["sparkle"],e:"❇️",c:7},{n:["female-student"],e:"👩‍🎓",c:1,v:{"1F3FB":{k:"female-student-1F3FB",n:"female-student",e:"👩🏻‍🎓"},"1F3FC":{k:"female-student-1F3FC",n:"female-student",e:"👩🏼‍🎓"},"1F3FD":{k:"female-student-1F3FD",n:"female-student",e:"👩🏽‍🎓"},"1F3FE":{k:"female-student-1F3FE",n:"female-student",e:"👩🏾‍🎓"},"1F3FF":{k:"female-student-1F3FF",n:"female-student",e:"👩🏿‍🎓"}}},{n:["pushpin"],e:"📌",c:5},{n:["aerial_tramway"],e:"🚡",c:3},{n:["flag-is"],e:"🇮🇸",c:4},{n:["bangbang"],e:"‼️",c:7},{n:["interrobang"],e:"⁉️",c:7},{n:["satellite"],e:"🛰️",c:3},{n:["it","flag-it"],e:"🇮🇹",c:4},{n:["male-teacher"],e:"👨‍🏫",c:1,v:{"1F3FB":{k:"male-teacher-1F3FB",n:"male-teacher",e:"👨🏻‍🏫"},"1F3FC":{k:"male-teacher-1F3FC",n:"male-teacher",e:"👨🏼‍🏫"},"1F3FD":{k:"male-teacher-1F3FD",n:"male-teacher",e:"👨🏽‍🏫"},"1F3FE":{k:"male-teacher-1F3FE",n:"male-teacher",e:"👨🏾‍🏫"},"1F3FF":{k:"male-teacher-1F3FF",n:"male-teacher",e:"👨🏿‍🏫"}}},{n:["round_pushpin"],e:"📍",c:5},{n:["flag-je"],e:"🇯🇪",c:4},{n:["question"],e:"❓",c:7},{n:["rocket"],e:"🚀",c:3},{n:["female-teacher"],e:"👩‍🏫",c:1,v:{"1F3FB":{k:"female-teacher-1F3FB",n:"female-teacher",e:"👩🏻‍🏫"},"1F3FC":{k:"female-teacher-1F3FC",n:"female-teacher",e:"👩🏼‍🏫"},"1F3FD":{k:"female-teacher-1F3FD",n:"female-teacher",e:"👩🏽‍🏫"},"1F3FE":{k:"female-teacher-1F3FE",n:"female-teacher",e:"👩🏾‍🏫"},"1F3FF":{k:"female-teacher-1F3FF",n:"female-teacher",e:"👩🏿‍🏫"}}},{n:["paperclip"],e:"📎",c:5},{n:["linked_paperclips"],e:"🖇️",c:5},{n:["flying_saucer"],e:"🛸",c:3},{n:["male-judge"],e:"👨‍⚖️",c:1,v:{"1F3FB":{k:"male-judge-1F3FB",n:"male-judge",e:"👨🏻‍⚖️"},"1F3FC":{k:"male-judge-1F3FC",n:"male-judge",e:"👨🏼‍⚖️"},"1F3FD":{k:"male-judge-1F3FD",n:"male-judge",e:"👨🏽‍⚖️"},"1F3FE":{k:"male-judge-1F3FE",n:"male-judge",e:"👨🏾‍⚖️"},"1F3FF":{k:"male-judge-1F3FF",n:"male-judge",e:"👨🏿‍⚖️"}}},{n:["grey_question"],e:"❔",c:7},{n:["flag-jm"],e:"🇯🇲",c:4},{n:["bellhop_bell"],e:"🛎️",c:3},{n:["straight_ruler"],e:"📏",c:5},{n:["flag-jo"],e:"🇯🇴",c:4},{n:["female-judge"],e:"👩‍⚖️",c:1,v:{"1F3FB":{k:"female-judge-1F3FB",n:"female-judge",e:"👩🏻‍⚖️"},"1F3FC":{k:"female-judge-1F3FC",n:"female-judge",e:"👩🏼‍⚖️"},"1F3FD":{k:"female-judge-1F3FD",n:"female-judge",e:"👩🏽‍⚖️"},"1F3FE":{k:"female-judge-1F3FE",n:"female-judge",e:"👩🏾‍⚖️"},"1F3FF":{k:"female-judge-1F3FF",n:"female-judge",e:"👩🏿‍⚖️"}}},{n:["grey_exclamation"],e:"❕",c:7},{n:["door"],e:"🚪",c:3},{n:["male-farmer"],e:"👨‍🌾",c:1,v:{"1F3FB":{k:"male-farmer-1F3FB",n:"male-farmer",e:"👨🏻‍🌾"},"1F3FC":{k:"male-farmer-1F3FC",n:"male-farmer",e:"👨🏼‍🌾"},"1F3FD":{k:"male-farmer-1F3FD",n:"male-farmer",e:"👨🏽‍🌾"},"1F3FE":{k:"male-farmer-1F3FE",n:"male-farmer",e:"👨🏾‍🌾"},"1F3FF":{k:"male-farmer-1F3FF",n:"male-farmer",e:"👨🏿‍🌾"}}},{n:["jp","flag-jp"],e:"🇯🇵",c:4},{n:["triangular_ruler"],e:"📐",c:5},{n:["exclamation","heavy_exclamation_mark"],e:"❗",c:7},{n:["bed"],e:"🛏️",c:3},{n:["female-farmer"],e:"👩‍🌾",c:1,v:{"1F3FB":{k:"female-farmer-1F3FB",n:"female-farmer",e:"👩🏻‍🌾"},"1F3FC":{k:"female-farmer-1F3FC",n:"female-farmer",e:"👩🏼‍🌾"},"1F3FD":{k:"female-farmer-1F3FD",n:"female-farmer",e:"👩🏽‍🌾"},"1F3FE":{k:"female-farmer-1F3FE",n:"female-farmer",e:"👩🏾‍🌾"},"1F3FF":{k:"female-farmer-1F3FF",n:"female-farmer",e:"👩🏿‍🌾"}}},{n:["scissors"],e:"✂️",c:5},{n:["wavy_dash"],e:"〰️",c:7},{n:["flag-ke"],e:"🇰🇪",c:4},{n:["flag-kg"],e:"🇰🇬",c:4},{n:["couch_and_lamp"],e:"🛋️",c:3},{n:["male-cook"],e:"👨‍🍳",c:1,v:{"1F3FB":{k:"male-cook-1F3FB",n:"male-cook",e:"👨🏻‍🍳"},"1F3FC":{k:"male-cook-1F3FC",n:"male-cook",e:"👨🏼‍🍳"},"1F3FD":{k:"male-cook-1F3FD",n:"male-cook",e:"👨🏽‍🍳"},"1F3FE":{k:"male-cook-1F3FE",n:"male-cook",e:"👨🏾‍🍳"},"1F3FF":{k:"male-cook-1F3FF",n:"male-cook",e:"👨🏿‍🍳"}}},{n:["card_file_box"],e:"🗃️",c:5},{n:["copyright"],e:"©️",c:7},{n:["file_cabinet"],e:"🗄️",c:5},{n:["registered"],e:"®️",c:7},{n:["flag-kh"],e:"🇰🇭",c:4},{n:["female-cook"],e:"👩‍🍳",c:1,v:{"1F3FB":{k:"female-cook-1F3FB",n:"female-cook",e:"👩🏻‍🍳"},"1F3FC":{k:"female-cook-1F3FC",n:"female-cook",e:"👩🏼‍🍳"},"1F3FD":{k:"female-cook-1F3FD",n:"female-cook",e:"👩🏽‍🍳"},"1F3FE":{k:"female-cook-1F3FE",n:"female-cook",e:"👩🏾‍🍳"},"1F3FF":{k:"female-cook-1F3FF",n:"female-cook",e:"👩🏿‍🍳"}}},{n:["toilet"],e:"🚽",c:3},{n:["wastebasket"],e:"🗑️",c:5},{n:["flag-ki"],e:"🇰🇮",c:4},{n:["shower"],e:"🚿",c:3},{n:["male-mechanic"],e:"👨‍🔧",c:1,v:{"1F3FB":{k:"male-mechanic-1F3FB",n:"male-mechanic",e:"👨🏻‍🔧"},"1F3FC":{k:"male-mechanic-1F3FC",n:"male-mechanic",e:"👨🏼‍🔧"},"1F3FD":{k:"male-mechanic-1F3FD",n:"male-mechanic",e:"👨🏽‍🔧"},"1F3FE":{k:"male-mechanic-1F3FE",n:"male-mechanic",e:"👨🏾‍🔧"},"1F3FF":{k:"male-mechanic-1F3FF",n:"male-mechanic",e:"👨🏿‍🔧"}}},{n:["tm"],e:"™️",c:7},{n:["hash"],e:"#️⃣",c:7},{n:["flag-km"],e:"🇰🇲",c:4},{n:["bathtub"],e:"🛁",c:3},{n:["female-mechanic"],e:"👩‍🔧",c:1,v:{"1F3FB":{k:"female-mechanic-1F3FB",n:"female-mechanic",e:"👩🏻‍🔧"},"1F3FC":{k:"female-mechanic-1F3FC",n:"female-mechanic",e:"👩🏼‍🔧"},"1F3FD":{k:"female-mechanic-1F3FD",n:"female-mechanic",e:"👩🏽‍🔧"},"1F3FE":{k:"female-mechanic-1F3FE",n:"female-mechanic",e:"👩🏾‍🔧"},"1F3FF":{k:"female-mechanic-1F3FF",n:"female-mechanic",e:"👩🏿‍🔧"}}},{n:["lock"],e:"🔒",c:5},{n:["male-factory-worker"],e:"👨‍🏭",c:1,v:{"1F3FB":{k:"male-factory-worker-1F3FB",n:"male-factory-worker",e:"👨🏻‍🏭"},"1F3FC":{k:"male-factory-worker-1F3FC",n:"male-factory-worker",e:"👨🏼‍🏭"},"1F3FD":{k:"male-factory-worker-1F3FD",n:"male-factory-worker",e:"👨🏽‍🏭"},"1F3FE":{k:"male-factory-worker-1F3FE",n:"male-factory-worker",e:"👨🏾‍🏭"},"1F3FF":{k:"male-factory-worker-1F3FF",n:"male-factory-worker",e:"👨🏿‍🏭"}}},{n:["flag-kn"],e:"🇰🇳",c:4},{n:["hourglass"],e:"⌛",c:3},{n:["keycap_star"],e:"*️⃣",c:7},{n:["unlock"],e:"🔓",c:5},{n:["flag-kp"],e:"🇰🇵",c:4},{n:["female-factory-worker"],e:"👩‍🏭",c:1,v:{"1F3FB":{k:"female-factory-worker-1F3FB",n:"female-factory-worker",e:"👩🏻‍🏭"},"1F3FC":{k:"female-factory-worker-1F3FC",n:"female-factory-worker",e:"👩🏼‍🏭"},"1F3FD":{k:"female-factory-worker-1F3FD",n:"female-factory-worker",e:"👩🏽‍🏭"},"1F3FE":{k:"female-factory-worker-1F3FE",n:"female-factory-worker",e:"👩🏾‍🏭"},"1F3FF":{k:"female-factory-worker-1F3FF",n:"female-factory-worker",e:"👩🏿‍🏭"}}},{n:["zero"],e:"0️⃣",c:7},{n:["lock_with_ink_pen"],e:"🔏",c:5},{n:["hourglass_flowing_sand"],e:"⏳",c:3},{n:["one"],e:"1️⃣",c:7},{n:["kr","flag-kr"],e:"🇰🇷",c:4},{n:["watch"],e:"⌚",c:3},{n:["male-office-worker"],e:"👨‍💼",c:1,v:{"1F3FB":{k:"male-office-worker-1F3FB",n:"male-office-worker",e:"👨🏻‍💼"},"1F3FC":{k:"male-office-worker-1F3FC",n:"male-office-worker",e:"👨🏼‍💼"},"1F3FD":{k:"male-office-worker-1F3FD",n:"male-office-worker",e:"👨🏽‍💼"},"1F3FE":{k:"male-office-worker-1F3FE",n:"male-office-worker",e:"👨🏾‍💼"},"1F3FF":{k:"male-office-worker-1F3FF",n:"male-office-worker",e:"👨🏿‍💼"}}},{n:["closed_lock_with_key"],e:"🔐",c:5},{n:["female-office-worker"],e:"👩‍💼",c:1,v:{"1F3FB":{k:"female-office-worker-1F3FB",n:"female-office-worker",e:"👩🏻‍💼"},"1F3FC":{k:"female-office-worker-1F3FC",n:"female-office-worker",e:"👩🏼‍💼"},"1F3FD":{k:"female-office-worker-1F3FD",n:"female-office-worker",e:"👩🏽‍💼"},"1F3FE":{k:"female-office-worker-1F3FE",n:"female-office-worker",e:"👩🏾‍💼"},"1F3FF":{k:"female-office-worker-1F3FF",n:"female-office-worker",e:"👩🏿‍💼"}}},{n:["two"],e:"2️⃣",c:7},{n:["alarm_clock"],e:"⏰",c:3},{n:["key"],e:"🔑",c:5},{n:["flag-kw"],e:"🇰🇼",c:4},{n:["stopwatch"],e:"⏱️",c:3},{n:["male-scientist"],e:"👨‍🔬",c:1,v:{"1F3FB":{k:"male-scientist-1F3FB",n:"male-scientist",e:"👨🏻‍🔬"},"1F3FC":{k:"male-scientist-1F3FC",n:"male-scientist",e:"👨🏼‍🔬"},"1F3FD":{k:"male-scientist-1F3FD",n:"male-scientist",e:"👨🏽‍🔬"},"1F3FE":{k:"male-scientist-1F3FE",n:"male-scientist",e:"👨🏾‍🔬"},"1F3FF":{k:"male-scientist-1F3FF",n:"male-scientist",e:"👨🏿‍🔬"}}},{n:["three"],e:"3️⃣",c:7},{n:["flag-ky"],e:"🇰🇾",c:4},{n:["old_key"],e:"🗝️",c:5},{n:["flag-kz"],e:"🇰🇿",c:4},{n:["hammer"],e:"🔨",c:5},{n:["female-scientist"],e:"👩‍🔬",c:1,v:{"1F3FB":{k:"female-scientist-1F3FB",n:"female-scientist",e:"👩🏻‍🔬"},"1F3FC":{k:"female-scientist-1F3FC",n:"female-scientist",e:"👩🏼‍🔬"},"1F3FD":{k:"female-scientist-1F3FD",n:"female-scientist",e:"👩🏽‍🔬"},"1F3FE":{k:"female-scientist-1F3FE",n:"female-scientist",e:"👩🏾‍🔬"},"1F3FF":{k:"female-scientist-1F3FF",n:"female-scientist",e:"👩🏿‍🔬"}}},{n:["timer_clock"],e:"⏲️",c:3},{n:["four"],e:"4️⃣",c:7},{n:["male-technologist"],e:"👨‍💻",c:1,v:{"1F3FB":{k:"male-technologist-1F3FB",n:"male-technologist",e:"👨🏻‍💻"},"1F3FC":{k:"male-technologist-1F3FC",n:"male-technologist",e:"👨🏼‍💻"},"1F3FD":{k:"male-technologist-1F3FD",n:"male-technologist",e:"👨🏽‍💻"},"1F3FE":{k:"male-technologist-1F3FE",n:"male-technologist",e:"👨🏾‍💻"},"1F3FF":{k:"male-technologist-1F3FF",n:"male-technologist",e:"👨🏿‍💻"}}},{n:["mantelpiece_clock"],e:"🕰️",c:3},{n:["five"],e:"5️⃣",c:7},{n:["flag-la"],e:"🇱🇦",c:4},{n:["pick"],e:"⛏️",c:5},{n:["flag-lb"],e:"🇱🇧",c:4},{n:["clock12"],e:"🕛",c:3},{n:["hammer_and_pick"],e:"⚒️",c:5},{n:["six"],e:"6️⃣",c:7},{n:["female-technologist"],e:"👩‍💻",c:1,v:{"1F3FB":{k:"female-technologist-1F3FB",n:"female-technologist",e:"👩🏻‍💻"},"1F3FC":{k:"female-technologist-1F3FC",n:"female-technologist",e:"👩🏼‍💻"},"1F3FD":{k:"female-technologist-1F3FD",n:"female-technologist",e:"👩🏽‍💻"},"1F3FE":{k:"female-technologist-1F3FE",n:"female-technologist",e:"👩🏾‍💻"},"1F3FF":{k:"female-technologist-1F3FF",n:"female-technologist",e:"👩🏿‍💻"}}},{n:["hammer_and_wrench"],e:"🛠️",c:5},{n:["flag-lc"],e:"🇱🇨",c:4},{n:["clock1230"],e:"🕧",c:3},{n:["seven"],e:"7️⃣",c:7},{n:["male-singer"],e:"👨‍🎤",c:1,v:{"1F3FB":{k:"male-singer-1F3FB",n:"male-singer",e:"👨🏻‍🎤"},"1F3FC":{k:"male-singer-1F3FC",n:"male-singer",e:"👨🏼‍🎤"},"1F3FD":{k:"male-singer-1F3FD",n:"male-singer",e:"👨🏽‍🎤"},"1F3FE":{k:"male-singer-1F3FE",n:"male-singer",e:"👨🏾‍🎤"},"1F3FF":{k:"male-singer-1F3FF",n:"male-singer",e:"👨🏿‍🎤"}}},{n:["eight"],e:"8️⃣",c:7},{n:["flag-li"],e:"🇱🇮",c:4},{n:["dagger_knife"],e:"🗡️",c:5},{n:["clock1"],e:"🕐",c:3},{n:["female-singer"],e:"👩‍🎤",c:1,v:{"1F3FB":{k:"female-singer-1F3FB",n:"female-singer",e:"👩🏻‍🎤"},"1F3FC":{k:"female-singer-1F3FC",n:"female-singer",e:"👩🏼‍🎤"},"1F3FD":{k:"female-singer-1F3FD",n:"female-singer",e:"👩🏽‍🎤"},"1F3FE":{k:"female-singer-1F3FE",n:"female-singer",e:"👩🏾‍🎤"},"1F3FF":{k:"female-singer-1F3FF",n:"female-singer",e:"👩🏿‍🎤"}}},{n:["male-artist"],e:"👨‍🎨",c:1,v:{"1F3FB":{k:"male-artist-1F3FB",n:"male-artist",e:"👨🏻‍🎨"},"1F3FC":{k:"male-artist-1F3FC",n:"male-artist",e:"👨🏼‍🎨"},"1F3FD":{k:"male-artist-1F3FD",n:"male-artist",e:"👨🏽‍🎨"},"1F3FE":{k:"male-artist-1F3FE",n:"male-artist",e:"👨🏾‍🎨"},"1F3FF":{k:"male-artist-1F3FF",n:"male-artist",e:"👨🏿‍🎨"}}},{n:["crossed_swords"],e:"⚔️",c:5},{n:["nine"],e:"9️⃣",c:7},{n:["flag-lk"],e:"🇱🇰",c:4},{n:["clock130"],e:"🕜",c:3},{n:["clock2"],e:"🕑",c:3},{n:["gun"],e:"🔫",c:5},{n:["keycap_ten"],e:"🔟",c:7},{n:["female-artist"],e:"👩‍🎨",c:1,v:{"1F3FB":{k:"female-artist-1F3FB",n:"female-artist",e:"👩🏻‍🎨"},"1F3FC":{k:"female-artist-1F3FC",n:"female-artist",e:"👩🏼‍🎨"},"1F3FD":{k:"female-artist-1F3FD",n:"female-artist",e:"👩🏽‍🎨"},"1F3FE":{k:"female-artist-1F3FE",n:"female-artist",e:"👩🏾‍🎨"},"1F3FF":{k:"female-artist-1F3FF",n:"female-artist",e:"👩🏿‍🎨"}}},{n:["flag-lr"],e:"🇱🇷",c:4},{n:["clock230"],e:"🕝",c:3},{n:["100"],e:"💯",c:7},{n:["bow_and_arrow"],e:"🏹",c:5},{n:["male-pilot"],e:"👨‍✈️",c:1,v:{"1F3FB":{k:"male-pilot-1F3FB",n:"male-pilot",e:"👨🏻‍✈️"},"1F3FC":{k:"male-pilot-1F3FC",n:"male-pilot",e:"👨🏼‍✈️"},"1F3FD":{k:"male-pilot-1F3FD",n:"male-pilot",e:"👨🏽‍✈️"},"1F3FE":{k:"male-pilot-1F3FE",n:"male-pilot",e:"👨🏾‍✈️"},"1F3FF":{k:"male-pilot-1F3FF",n:"male-pilot",e:"👨🏿‍✈️"}}},{n:["flag-ls"],e:"🇱🇸",c:4},{n:["flag-lt"],e:"🇱🇹",c:4},{n:["capital_abcd"],e:"🔠",c:7},{n:["female-pilot"],e:"👩‍✈️",c:1,v:{"1F3FB":{k:"female-pilot-1F3FB",n:"female-pilot",e:"👩🏻‍✈️"},"1F3FC":{k:"female-pilot-1F3FC",n:"female-pilot",e:"👩🏼‍✈️"},"1F3FD":{k:"female-pilot-1F3FD",n:"female-pilot",e:"👩🏽‍✈️"},"1F3FE":{k:"female-pilot-1F3FE",n:"female-pilot",e:"👩🏾‍✈️"},"1F3FF":{k:"female-pilot-1F3FF",n:"female-pilot",e:"👩🏿‍✈️"}}},{n:["clock3"],e:"🕒",c:3},{n:["shield"],e:"🛡️",c:5},{n:["male-astronaut"],e:"👨‍🚀",c:1,v:{"1F3FB":{k:"male-astronaut-1F3FB",n:"male-astronaut",e:"👨🏻‍🚀"},"1F3FC":{k:"male-astronaut-1F3FC",n:"male-astronaut",e:"👨🏼‍🚀"},"1F3FD":{k:"male-astronaut-1F3FD",n:"male-astronaut",e:"👨🏽‍🚀"},"1F3FE":{k:"male-astronaut-1F3FE",n:"male-astronaut",e:"👨🏾‍🚀"},"1F3FF":{k:"male-astronaut-1F3FF",n:"male-astronaut",e:"👨🏿‍🚀"}}},{n:["abcd"],e:"🔡",c:7},{n:["clock330"],e:"🕞",c:3},{n:["flag-lu"],e:"🇱🇺",c:4},{n:["wrench"],e:"🔧",c:5},{n:["nut_and_bolt"],e:"🔩",c:5},{n:["1234"],e:"🔢",c:7},{n:["clock4"],e:"🕓",c:3},{n:["female-astronaut"],e:"👩‍🚀",c:1,v:{"1F3FB":{k:"female-astronaut-1F3FB",n:"female-astronaut",e:"👩🏻‍🚀"},"1F3FC":{k:"female-astronaut-1F3FC",n:"female-astronaut",e:"👩🏼‍🚀"},"1F3FD":{k:"female-astronaut-1F3FD",n:"female-astronaut",e:"👩🏽‍🚀"},"1F3FE":{k:"female-astronaut-1F3FE",n:"female-astronaut",e:"👩🏾‍🚀"},"1F3FF":{k:"female-astronaut-1F3FF",n:"female-astronaut",e:"👩🏿‍🚀"}}},{n:["flag-lv"],e:"🇱🇻",c:4},{n:["gear"],e:"⚙️",c:5},{n:["male-firefighter"],e:"👨‍🚒",c:1,v:{"1F3FB":{k:"male-firefighter-1F3FB",n:"male-firefighter",e:"👨🏻‍🚒"},"1F3FC":{k:"male-firefighter-1F3FC",n:"male-firefighter",e:"👨🏼‍🚒"},"1F3FD":{k:"male-firefighter-1F3FD",n:"male-firefighter",e:"👨🏽‍🚒"},"1F3FE":{k:"male-firefighter-1F3FE",n:"male-firefighter",e:"👨🏾‍🚒"},"1F3FF":{k:"male-firefighter-1F3FF",n:"male-firefighter",e:"👨🏿‍🚒"}}},{n:["flag-ly"],e:"🇱🇾",c:4},{n:["symbols"],e:"🔣",c:7},{n:["clock430"],e:"🕟",c:3},{n:["flag-ma"],e:"🇲🇦",c:4},{n:["compression"],e:"🗜️",c:5},{n:["female-firefighter"],e:"👩‍🚒",c:1,v:{"1F3FB":{k:"female-firefighter-1F3FB",n:"female-firefighter",e:"👩🏻‍🚒"},"1F3FC":{k:"female-firefighter-1F3FC",n:"female-firefighter",e:"👩🏼‍🚒"},"1F3FD":{k:"female-firefighter-1F3FD",n:"female-firefighter",e:"👩🏽‍🚒"},"1F3FE":{k:"female-firefighter-1F3FE",n:"female-firefighter",e:"👩🏾‍🚒"},"1F3FF":{k:"female-firefighter-1F3FF",n:"female-firefighter",e:"👩🏿‍🚒"}}},{n:["abc"],e:"🔤",c:7},{n:["clock5"],e:"🕔",c:3},{n:["clock530"],e:"🕠",c:3},{n:["a"],e:"🅰️",c:7},{n:["alembic"],e:"⚗️",c:5},{n:["flag-mc"],e:"🇲🇨",c:4},{n:["cop"],e:"👮",c:1,v:{"1F3FB":{k:"cop-1F3FB",n:"cop",e:"👮🏻"},"1F3FC":{k:"cop-1F3FC",n:"cop",e:"👮🏼"},"1F3FD":{k:"cop-1F3FD",n:"cop",e:"👮🏽"},"1F3FE":{k:"cop-1F3FE",n:"cop",e:"👮🏾"},"1F3FF":{k:"cop-1F3FF",n:"cop",e:"👮🏿"}}},{n:["scales"],e:"⚖️",c:5},{n:["clock6"],e:"🕕",c:3},{n:["flag-md"],e:"🇲🇩",c:4},{n:["ab"],e:"🆎",c:7},{n:["male-police-officer"],e:"👮‍♂️",c:1,v:{"1F3FB":{k:"male-police-officer-1F3FB",n:"male-police-officer",e:"👮🏻‍♂️"},"1F3FC":{k:"male-police-officer-1F3FC",n:"male-police-officer",e:"👮🏼‍♂️"},"1F3FD":{k:"male-police-officer-1F3FD",n:"male-police-officer",e:"👮🏽‍♂️"},"1F3FE":{k:"male-police-officer-1F3FE",n:"male-police-officer",e:"👮🏾‍♂️"},"1F3FF":{k:"male-police-officer-1F3FF",n:"male-police-officer",e:"👮🏿‍♂️"}}},{n:["link"],e:"🔗",c:5},{n:["flag-me"],e:"🇲🇪",c:4},{n:["clock630"],e:"🕡",c:3},{n:["b"],e:"🅱️",c:7},{n:["female-police-officer"],e:"👮‍♀️",c:1,v:{"1F3FB":{k:"female-police-officer-1F3FB",n:"female-police-officer",e:"👮🏻‍♀️"},"1F3FC":{k:"female-police-officer-1F3FC",n:"female-police-officer",e:"👮🏼‍♀️"},"1F3FD":{k:"female-police-officer-1F3FD",n:"female-police-officer",e:"👮🏽‍♀️"},"1F3FE":{k:"female-police-officer-1F3FE",n:"female-police-officer",e:"👮🏾‍♀️"},"1F3FF":{k:"female-police-officer-1F3FF",n:"female-police-officer",e:"👮🏿‍♀️"}}},{n:["clock7"],e:"🕖",c:3},{n:["cl"],e:"🆑",c:7},{n:["sleuth_or_spy"],e:"🕵️",c:1,v:{"1F3FB":{k:"sleuth_or_spy-1F3FB",n:"sleuth_or_spy",e:"🕵🏻"},"1F3FC":{k:"sleuth_or_spy-1F3FC",n:"sleuth_or_spy",e:"🕵🏼"},"1F3FD":{k:"sleuth_or_spy-1F3FD",n:"sleuth_or_spy",e:"🕵🏽"},"1F3FE":{k:"sleuth_or_spy-1F3FE",n:"sleuth_or_spy",e:"🕵🏾"},"1F3FF":{k:"sleuth_or_spy-1F3FF",n:"sleuth_or_spy",e:"🕵🏿"}}},{n:["flag-mf"],e:"🇲🇫",c:4},{n:["chains"],e:"⛓️",c:5},{n:["syringe"],e:"💉",c:5},{n:["male-detective"],e:"🕵️‍♂️",c:1,v:{"1F3FB":{k:"male-detective-1F3FB",n:"male-detective",e:"🕵🏻‍♂️"},"1F3FC":{k:"male-detective-1F3FC",n:"male-detective",e:"🕵🏼‍♂️"},"1F3FD":{k:"male-detective-1F3FD",n:"male-detective",e:"🕵🏽‍♂️"},"1F3FE":{k:"male-detective-1F3FE",n:"male-detective",e:"🕵🏾‍♂️"},"1F3FF":{k:"male-detective-1F3FF",n:"male-detective",e:"🕵🏿‍♂️"}}},{n:["cool"],e:"🆒",c:7},{n:["clock730"],e:"🕢",c:3},{n:["flag-mg"],e:"🇲🇬",c:4},{n:["free"],e:"🆓",c:7},{n:["flag-mh"],e:"🇲🇭",c:4},{n:["clock8"],e:"🕗",c:3},{n:["pill"],e:"💊",c:5},{n:["female-detective"],e:"🕵️‍♀️",c:1,v:{"1F3FB":{k:"female-detective-1F3FB",n:"female-detective",e:"🕵🏻‍♀️"},"1F3FC":{k:"female-detective-1F3FC",n:"female-detective",e:"🕵🏼‍♀️"},"1F3FD":{k:"female-detective-1F3FD",n:"female-detective",e:"🕵🏽‍♀️"},"1F3FE":{k:"female-detective-1F3FE",n:"female-detective",e:"🕵🏾‍♀️"},"1F3FF":{k:"female-detective-1F3FF",n:"female-detective",e:"🕵🏿‍♀️"}}},{n:["clock830"],e:"🕣",c:3},{n:["guardsman"],e:"💂",c:1,v:{"1F3FB":{k:"guardsman-1F3FB",n:"guardsman",e:"💂🏻"},"1F3FC":{k:"guardsman-1F3FC",n:"guardsman",e:"💂🏼"},"1F3FD":{k:"guardsman-1F3FD",n:"guardsman",e:"💂🏽"},"1F3FE":{k:"guardsman-1F3FE",n:"guardsman",e:"💂🏾"},"1F3FF":{k:"guardsman-1F3FF",n:"guardsman",e:"💂🏿"}}},{n:["information_source"],e:"ℹ️",c:7},{n:["flag-mk"],e:"🇲🇰",c:4},{n:["smoking"],e:"🚬",c:5},{n:["id"],e:"🆔",c:7},{n:["clock9"],e:"🕘",c:3},{n:["flag-ml"],e:"🇲🇱",c:4},{n:["coffin"],e:"⚰️",c:5},{n:["male-guard"],e:"💂‍♂️",c:1,v:{"1F3FB":{k:"male-guard-1F3FB",n:"male-guard",e:"💂🏻‍♂️"},"1F3FC":{k:"male-guard-1F3FC",n:"male-guard",e:"💂🏼‍♂️"},"1F3FD":{k:"male-guard-1F3FD",n:"male-guard",e:"💂🏽‍♂️"},"1F3FE":{k:"male-guard-1F3FE",n:"male-guard",e:"💂🏾‍♂️"},"1F3FF":{k:"male-guard-1F3FF",n:"male-guard",e:"💂🏿‍♂️"}}},{n:["m"],e:"Ⓜ️",c:7},{n:["funeral_urn"],e:"⚱️",c:5},{n:["female-guard"],e:"💂‍♀️",c:1,v:{"1F3FB":{k:"female-guard-1F3FB",n:"female-guard",e:"💂🏻‍♀️"},"1F3FC":{k:"female-guard-1F3FC",n:"female-guard",e:"💂🏼‍♀️"},"1F3FD":{k:"female-guard-1F3FD",n:"female-guard",e:"💂🏽‍♀️"},"1F3FE":{k:"female-guard-1F3FE",n:"female-guard",e:"💂🏾‍♀️"},"1F3FF":{k:"female-guard-1F3FF",n:"female-guard",e:"💂🏿‍♀️"}}},{n:["flag-mm"],e:"🇲🇲",c:4},{n:["clock930"],e:"🕤",c:3},{n:["moyai"],e:"🗿",c:5},{n:["new"],e:"🆕",c:7},{n:["flag-mn"],e:"🇲🇳",c:4},{n:["construction_worker"],e:"👷",c:1,v:{"1F3FB":{k:"construction_worker-1F3FB",n:"construction_worker",e:"👷🏻"},"1F3FC":{k:"construction_worker-1F3FC",n:"construction_worker",e:"👷🏼"},"1F3FD":{k:"construction_worker-1F3FD",n:"construction_worker",e:"👷🏽"},"1F3FE":{k:"construction_worker-1F3FE",n:"construction_worker",e:"👷🏾"},"1F3FF":{k:"construction_worker-1F3FF",n:"construction_worker",e:"👷🏿"}}},{n:["clock10"],e:"🕙",c:3},{n:["clock1030"],e:"🕥",c:3},{n:["ng"],e:"🆖",c:7},{n:["male-construction-worker"],e:"👷‍♂️",c:1,v:{"1F3FB":{k:"male-construction-worker-1F3FB",n:"male-construction-worker",e:"👷🏻‍♂️"},"1F3FC":{k:"male-construction-worker-1F3FC",n:"male-construction-worker",e:"👷🏼‍♂️"},"1F3FD":{k:"male-construction-worker-1F3FD",n:"male-construction-worker",e:"👷🏽‍♂️"},"1F3FE":{k:"male-construction-worker-1F3FE",n:"male-construction-worker",e:"👷🏾‍♂️"},"1F3FF":{k:"male-construction-worker-1F3FF",n:"male-construction-worker",e:"👷🏿‍♂️"}}},{n:["flag-mo"],e:"🇲🇴",c:4},{n:["oil_drum"],e:"🛢️",c:5},{n:["o2"],e:"🅾️",c:7},{n:["female-construction-worker"],e:"👷‍♀️",c:1,v:{"1F3FB":{k:"female-construction-worker-1F3FB",n:"female-construction-worker",e:"👷🏻‍♀️"},"1F3FC":{k:"female-construction-worker-1F3FC",n:"female-construction-worker",e:"👷🏼‍♀️"},"1F3FD":{k:"female-construction-worker-1F3FD",n:"female-construction-worker",e:"👷🏽‍♀️"},"1F3FE":{k:"female-construction-worker-1F3FE",n:"female-construction-worker",e:"👷🏾‍♀️"},"1F3FF":{k:"female-construction-worker-1F3FF",n:"female-construction-worker",e:"👷🏿‍♀️"}}},{n:["clock11"],e:"🕚",c:3},{n:["crystal_ball"],e:"🔮",c:5},{n:["flag-mp"],e:"🇲🇵",c:4},{n:["flag-mq"],e:"🇲🇶",c:4},{n:["prince"],e:"🤴",c:1,v:{"1F3FB":{k:"prince-1F3FB",n:"prince",e:"🤴🏻"},"1F3FC":{k:"prince-1F3FC",n:"prince",e:"🤴🏼"},"1F3FD":{k:"prince-1F3FD",n:"prince",e:"🤴🏽"},"1F3FE":{k:"prince-1F3FE",n:"prince",e:"🤴🏾"},"1F3FF":{k:"prince-1F3FF",n:"prince",e:"🤴🏿"}}},{n:["ok"],e:"🆗",c:7},{n:["clock1130"],e:"🕦",c:3},{n:["shopping_trolley"],e:"🛒",c:5},{n:["flag-mr"],e:"🇲🇷",c:4},{n:["princess"],e:"👸",c:1,v:{"1F3FB":{k:"princess-1F3FB",n:"princess",e:"👸🏻"},"1F3FC":{k:"princess-1F3FC",n:"princess",e:"👸🏼"},"1F3FD":{k:"princess-1F3FD",n:"princess",e:"👸🏽"},"1F3FE":{k:"princess-1F3FE",n:"princess",e:"👸🏾"},"1F3FF":{k:"princess-1F3FF",n:"princess",e:"👸🏿"}}},{n:["new_moon"],e:"🌑",c:3},{n:["parking"],e:"🅿️",c:7},{n:["sos"],e:"🆘",c:7},{n:["man_with_turban"],e:"👳",c:1,v:{"1F3FB":{k:"man_with_turban-1F3FB",n:"man_with_turban",e:"👳🏻"},"1F3FC":{k:"man_with_turban-1F3FC",n:"man_with_turban",e:"👳🏼"},"1F3FD":{k:"man_with_turban-1F3FD",n:"man_with_turban",e:"👳🏽"},"1F3FE":{k:"man_with_turban-1F3FE",n:"man_with_turban",e:"👳🏾"},"1F3FF":{k:"man_with_turban-1F3FF",n:"man_with_turban",e:"👳🏿"}}},{n:["flag-ms"],e:"🇲🇸",c:4},{n:["waxing_crescent_moon"],e:"🌒",c:3},{n:["up"],e:"🆙",c:7},{n:["first_quarter_moon"],e:"🌓",c:3},{n:["flag-mt"],e:"🇲🇹",c:4},{n:["man-wearing-turban"],e:"👳‍♂️",c:1,v:{"1F3FB":{k:"man-wearing-turban-1F3FB",n:"man-wearing-turban",e:"👳🏻‍♂️"},"1F3FC":{k:"man-wearing-turban-1F3FC",n:"man-wearing-turban",e:"👳🏼‍♂️"},"1F3FD":{k:"man-wearing-turban-1F3FD",n:"man-wearing-turban",e:"👳🏽‍♂️"},"1F3FE":{k:"man-wearing-turban-1F3FE",n:"man-wearing-turban",e:"👳🏾‍♂️"},"1F3FF":{k:"man-wearing-turban-1F3FF",n:"man-wearing-turban",e:"👳🏿‍♂️"}}},{n:["moon","waxing_gibbous_moon"],e:"🌔",c:3},{n:["woman-wearing-turban"],e:"👳‍♀️",c:1,v:{"1F3FB":{k:"woman-wearing-turban-1F3FB",n:"woman-wearing-turban",e:"👳🏻‍♀️"},"1F3FC":{k:"woman-wearing-turban-1F3FC",n:"woman-wearing-turban",e:"👳🏼‍♀️"},"1F3FD":{k:"woman-wearing-turban-1F3FD",n:"woman-wearing-turban",e:"👳🏽‍♀️"},"1F3FE":{k:"woman-wearing-turban-1F3FE",n:"woman-wearing-turban",e:"👳🏾‍♀️"},"1F3FF":{k:"woman-wearing-turban-1F3FF",n:"woman-wearing-turban",e:"👳🏿‍♀️"}}},{n:["vs"],e:"🆚",c:7},{n:["flag-mu"],e:"🇲🇺",c:4},{n:["man_with_gua_pi_mao"],e:"👲",c:1,v:{"1F3FB":{k:"man_with_gua_pi_mao-1F3FB",n:"man_with_gua_pi_mao",e:"👲🏻"},"1F3FC":{k:"man_with_gua_pi_mao-1F3FC",n:"man_with_gua_pi_mao",e:"👲🏼"},"1F3FD":{k:"man_with_gua_pi_mao-1F3FD",n:"man_with_gua_pi_mao",e:"👲🏽"},"1F3FE":{k:"man_with_gua_pi_mao-1F3FE",n:"man_with_gua_pi_mao",e:"👲🏾"},"1F3FF":{k:"man_with_gua_pi_mao-1F3FF",n:"man_with_gua_pi_mao",e:"👲🏿"}}},{n:["koko"],e:"🈁",c:7},{n:["full_moon"],e:"🌕",c:3},{n:["flag-mv"],e:"🇲🇻",c:4},{n:["person_with_headscarf"],e:"🧕",c:1,v:{"1F3FB":{k:"person_with_headscarf-1F3FB",n:"person_with_headscarf",e:"🧕🏻"},"1F3FC":{k:"person_with_headscarf-1F3FC",n:"person_with_headscarf",e:"🧕🏼"},"1F3FD":{k:"person_with_headscarf-1F3FD",n:"person_with_headscarf",e:"🧕🏽"},"1F3FE":{k:"person_with_headscarf-1F3FE",n:"person_with_headscarf",e:"🧕🏾"},"1F3FF":{k:"person_with_headscarf-1F3FF",n:"person_with_headscarf",e:"🧕🏿"}}},{n:["waning_gibbous_moon"],e:"🌖",c:3},{n:["sa"],e:"🈂️",c:7},{n:["flag-mw"],e:"🇲🇼",c:4},{n:["last_quarter_moon"],e:"🌗",c:3},{n:["u6708"],e:"🈷️",c:7},{n:["bearded_person"],e:"🧔",c:1,v:{"1F3FB":{k:"bearded_person-1F3FB",n:"bearded_person",e:"🧔🏻"},"1F3FC":{k:"bearded_person-1F3FC",n:"bearded_person",e:"🧔🏼"},"1F3FD":{k:"bearded_person-1F3FD",n:"bearded_person",e:"🧔🏽"},"1F3FE":{k:"bearded_person-1F3FE",n:"bearded_person",e:"🧔🏾"},"1F3FF":{k:"bearded_person-1F3FF",n:"bearded_person",e:"🧔🏿"}}},{n:["flag-mx"],e:"🇲🇽",c:4},{n:["u6709"],e:"🈶",c:7},{n:["person_with_blond_hair"],e:"👱",c:1,v:{"1F3FB":{k:"person_with_blond_hair-1F3FB",n:"person_with_blond_hair",e:"👱🏻"},"1F3FC":{k:"person_with_blond_hair-1F3FC",n:"person_with_blond_hair",e:"👱🏼"},"1F3FD":{k:"person_with_blond_hair-1F3FD",n:"person_with_blond_hair",e:"👱🏽"},"1F3FE":{k:"person_with_blond_hair-1F3FE",n:"person_with_blond_hair",e:"👱🏾"},"1F3FF":{k:"person_with_blond_hair-1F3FF",n:"person_with_blond_hair",e:"👱🏿"}}},{n:["waning_crescent_moon"],e:"🌘",c:3},{n:["flag-my"],e:"🇲🇾",c:4},{n:["u6307"],e:"🈯",c:7},{n:["blond-haired-man"],e:"👱‍♂️",c:1,v:{"1F3FB":{k:"blond-haired-man-1F3FB",n:"blond-haired-man",e:"👱🏻‍♂️"},"1F3FC":{k:"blond-haired-man-1F3FC",n:"blond-haired-man",e:"👱🏼‍♂️"},"1F3FD":{k:"blond-haired-man-1F3FD",n:"blond-haired-man",e:"👱🏽‍♂️"},"1F3FE":{k:"blond-haired-man-1F3FE",n:"blond-haired-man",e:"👱🏾‍♂️"},"1F3FF":{k:"blond-haired-man-1F3FF",n:"blond-haired-man",e:"👱🏿‍♂️"}}},{n:["crescent_moon"],e:"🌙",c:3},{n:["flag-mz"],e:"🇲🇿",c:4},{n:["new_moon_with_face"],e:"🌚",c:3},{n:["flag-na"],e:"🇳🇦",c:4},{n:["blond-haired-woman"],e:"👱‍♀️",c:1,v:{"1F3FB":{k:"blond-haired-woman-1F3FB",n:"blond-haired-woman",e:"👱🏻‍♀️"},"1F3FC":{k:"blond-haired-woman-1F3FC",n:"blond-haired-woman",e:"👱🏼‍♀️"},"1F3FD":{k:"blond-haired-woman-1F3FD",n:"blond-haired-woman",e:"👱🏽‍♀️"},"1F3FE":{k:"blond-haired-woman-1F3FE",n:"blond-haired-woman",e:"👱🏾‍♀️"},"1F3FF":{k:"blond-haired-woman-1F3FF",n:"blond-haired-woman",e:"👱🏿‍♀️"}}},{n:["ideograph_advantage"],e:"🉐",c:7},{n:["first_quarter_moon_with_face"],e:"🌛",c:3},{n:["man_in_tuxedo"],e:"🤵",c:1,v:{"1F3FB":{k:"man_in_tuxedo-1F3FB",n:"man_in_tuxedo",e:"🤵🏻"},"1F3FC":{k:"man_in_tuxedo-1F3FC",n:"man_in_tuxedo",e:"🤵🏼"},"1F3FD":{k:"man_in_tuxedo-1F3FD",n:"man_in_tuxedo",e:"🤵🏽"},"1F3FE":{k:"man_in_tuxedo-1F3FE",n:"man_in_tuxedo",e:"🤵🏾"},"1F3FF":{k:"man_in_tuxedo-1F3FF",n:"man_in_tuxedo",e:"🤵🏿"}}},{n:["flag-nc"],e:"🇳🇨",c:4},{n:["u5272"],e:"🈹",c:7},{n:["flag-ne"],e:"🇳🇪",c:4},{n:["last_quarter_moon_with_face"],e:"🌜",c:3},{n:["u7121"],e:"🈚",c:7},{n:["bride_with_veil"],e:"👰",c:1,v:{"1F3FB":{k:"bride_with_veil-1F3FB",n:"bride_with_veil",e:"👰🏻"},"1F3FC":{k:"bride_with_veil-1F3FC",n:"bride_with_veil",e:"👰🏼"},"1F3FD":{k:"bride_with_veil-1F3FD",n:"bride_with_veil",e:"👰🏽"},"1F3FE":{k:"bride_with_veil-1F3FE",n:"bride_with_veil",e:"👰🏾"},"1F3FF":{k:"bride_with_veil-1F3FF",n:"bride_with_veil",e:"👰🏿"}}},{n:["u7981"],e:"🈲",c:7},{n:["pregnant_woman"],e:"🤰",c:1,v:{"1F3FB":{k:"pregnant_woman-1F3FB",n:"pregnant_woman",e:"🤰🏻"},"1F3FC":{k:"pregnant_woman-1F3FC",n:"pregnant_woman",e:"🤰🏼"},"1F3FD":{k:"pregnant_woman-1F3FD",n:"pregnant_woman",e:"🤰🏽"},"1F3FE":{k:"pregnant_woman-1F3FE",n:"pregnant_woman",e:"🤰🏾"},"1F3FF":{k:"pregnant_woman-1F3FF",n:"pregnant_woman",e:"🤰🏿"}}},{n:["thermometer"],e:"🌡️",c:3},{n:["flag-nf"],e:"🇳🇫",c:4},{n:["sunny"],e:"☀️",c:3},{n:["accept"],e:"🉑",c:7},{n:["flag-ng"],e:"🇳🇬",c:4},{n:["breast-feeding"],e:"🤱",c:1,v:{"1F3FB":{k:"breast-feeding-1F3FB",n:"breast-feeding",e:"🤱🏻"},"1F3FC":{k:"breast-feeding-1F3FC",n:"breast-feeding",e:"🤱🏼"},"1F3FD":{k:"breast-feeding-1F3FD",n:"breast-feeding",e:"🤱🏽"},"1F3FE":{k:"breast-feeding-1F3FE",n:"breast-feeding",e:"🤱🏾"},"1F3FF":{k:"breast-feeding-1F3FF",n:"breast-feeding",e:"🤱🏿"}}},{n:["full_moon_with_face"],e:"🌝",c:3},{n:["flag-ni"],e:"🇳🇮",c:4},{n:["u7533"],e:"🈸",c:7},{n:["angel"],e:"👼",c:1,v:{"1F3FB":{k:"angel-1F3FB",n:"angel",e:"👼🏻"},"1F3FC":{k:"angel-1F3FC",n:"angel",e:"👼🏼"},"1F3FD":{k:"angel-1F3FD",n:"angel",e:"👼🏽"},"1F3FE":{k:"angel-1F3FE",n:"angel",e:"👼🏾"},"1F3FF":{k:"angel-1F3FF",n:"angel",e:"👼🏿"}}},{n:["sun_with_face"],e:"🌞",c:3},{n:["santa"],e:"🎅",c:1,v:{"1F3FB":{k:"santa-1F3FB",n:"santa",e:"🎅🏻"},"1F3FC":{k:"santa-1F3FC",n:"santa",e:"🎅🏼"},"1F3FD":{k:"santa-1F3FD",n:"santa",e:"🎅🏽"},"1F3FE":{k:"santa-1F3FE",n:"santa",e:"🎅🏾"},"1F3FF":{k:"santa-1F3FF",n:"santa",e:"🎅🏿"}}},{n:["u5408"],e:"🈴",c:7},{n:["flag-nl"],e:"🇳🇱",c:4},{n:["mrs_claus","mother_christmas"],e:"🤶",c:1,v:{"1F3FB":{k:"mrs_claus-1F3FB",n:"mrs_claus",e:"🤶🏻"},"1F3FC":{k:"mrs_claus-1F3FC",n:"mrs_claus",e:"🤶🏼"},"1F3FD":{k:"mrs_claus-1F3FD",n:"mrs_claus",e:"🤶🏽"},"1F3FE":{k:"mrs_claus-1F3FE",n:"mrs_claus",e:"🤶🏾"},"1F3FF":{k:"mrs_claus-1F3FF",n:"mrs_claus",e:"🤶🏿"}}},{n:["u7a7a"],e:"🈳",c:7},{n:["star"],e:"⭐",c:3},{n:["flag-no"],e:"🇳🇴",c:4},{n:["mage"],e:"🧙",c:1,v:{"1F3FB":{k:"mage-1F3FB",n:"mage",e:"🧙🏻"},"1F3FC":{k:"mage-1F3FC",n:"mage",e:"🧙🏼"},"1F3FD":{k:"mage-1F3FD",n:"mage",e:"🧙🏽"},"1F3FE":{k:"mage-1F3FE",n:"mage",e:"🧙🏾"},"1F3FF":{k:"mage-1F3FF",n:"mage",e:"🧙🏿"}}},{n:["star2"],e:"🌟",c:3},{n:["flag-np"],e:"🇳🇵",c:4},{n:["congratulations"],e:"㊗️",c:7},{n:["flag-nr"],e:"🇳🇷",c:4},{n:["stars"],e:"🌠",c:3},{n:["female_mage"],e:"🧙‍♀️",c:1,v:{"1F3FB":{k:"female_mage-1F3FB",n:"female_mage",e:"🧙🏻‍♀️"},"1F3FC":{k:"female_mage-1F3FC",n:"female_mage",e:"🧙🏼‍♀️"},"1F3FD":{k:"female_mage-1F3FD",n:"female_mage",e:"🧙🏽‍♀️"},"1F3FE":{k:"female_mage-1F3FE",n:"female_mage",e:"🧙🏾‍♀️"},"1F3FF":{k:"female_mage-1F3FF",n:"female_mage",e:"🧙🏿‍♀️"}}},{n:["secret"],e:"㊙️",c:7},{n:["flag-nu"],e:"🇳🇺",c:4},{n:["u55b6"],e:"🈺",c:7},{n:["male_mage"],e:"🧙‍♂️",c:1,v:{"1F3FB":{k:"male_mage-1F3FB",n:"male_mage",e:"🧙🏻‍♂️"},"1F3FC":{k:"male_mage-1F3FC",n:"male_mage",e:"🧙🏼‍♂️"},"1F3FD":{k:"male_mage-1F3FD",n:"male_mage",e:"🧙🏽‍♂️"},"1F3FE":{k:"male_mage-1F3FE",n:"male_mage",e:"🧙🏾‍♂️"},"1F3FF":{k:"male_mage-1F3FF",n:"male_mage",e:"🧙🏿‍♂️"}}},{n:["cloud"],e:"☁️",c:3},{n:["flag-nz"],e:"🇳🇿",c:4},{n:["partly_sunny"],e:"⛅",c:3},{n:["fairy"],e:"🧚",c:1,v:{"1F3FB":{k:"fairy-1F3FB",n:"fairy",e:"🧚🏻"},"1F3FC":{k:"fairy-1F3FC",n:"fairy",e:"🧚🏼"},"1F3FD":{k:"fairy-1F3FD",n:"fairy",e:"🧚🏽"},"1F3FE":{k:"fairy-1F3FE",n:"fairy",e:"🧚🏾"},"1F3FF":{k:"fairy-1F3FF",n:"fairy",e:"🧚🏿"}}},{n:["u6e80"],e:"🈵",c:7},{n:["black_small_square"],e:"▪️",c:7},{n:["thunder_cloud_and_rain"],e:"⛈️",c:3},{n:["female_fairy"],e:"🧚‍♀️",c:1,v:{"1F3FB":{k:"female_fairy-1F3FB",n:"female_fairy",e:"🧚🏻‍♀️"},"1F3FC":{k:"female_fairy-1F3FC",n:"female_fairy",e:"🧚🏼‍♀️"},"1F3FD":{k:"female_fairy-1F3FD",n:"female_fairy",e:"🧚🏽‍♀️"},"1F3FE":{k:"female_fairy-1F3FE",n:"female_fairy",e:"🧚🏾‍♀️"},"1F3FF":{k:"female_fairy-1F3FF",n:"female_fairy",e:"🧚🏿‍♀️"}}},{n:["flag-om"],e:"🇴🇲",c:4},{n:["white_small_square"],e:"▫️",c:7},{n:["flag-pa"],e:"🇵🇦",c:4},{n:["mostly_sunny","sun_small_cloud"],e:"🌤️",c:3},{n:["male_fairy"],e:"🧚‍♂️",c:1,v:{"1F3FB":{k:"male_fairy-1F3FB",n:"male_fairy",e:"🧚🏻‍♂️"},"1F3FC":{k:"male_fairy-1F3FC",n:"male_fairy",e:"🧚🏼‍♂️"},"1F3FD":{k:"male_fairy-1F3FD",n:"male_fairy",e:"🧚🏽‍♂️"},"1F3FE":{k:"male_fairy-1F3FE",n:"male_fairy",e:"🧚🏾‍♂️"},"1F3FF":{k:"male_fairy-1F3FF",n:"male_fairy",e:"🧚🏿‍♂️"}}},{n:["barely_sunny","sun_behind_cloud"],e:"🌥️",c:3},{n:["white_medium_square"],e:"◻️",c:7},{n:["flag-pe"],e:"🇵🇪",c:4},{n:["vampire"],e:"🧛",c:1,v:{"1F3FB":{k:"vampire-1F3FB",n:"vampire",e:"🧛🏻"},"1F3FC":{k:"vampire-1F3FC",n:"vampire",e:"🧛🏼"},"1F3FD":{k:"vampire-1F3FD",n:"vampire",e:"🧛🏽"},"1F3FE":{k:"vampire-1F3FE",n:"vampire",e:"🧛🏾"},"1F3FF":{k:"vampire-1F3FF",n:"vampire",e:"🧛🏿"}}},{n:["female_vampire"],e:"🧛‍♀️",c:1,v:{"1F3FB":{k:"female_vampire-1F3FB",n:"female_vampire",e:"🧛🏻‍♀️"},"1F3FC":{k:"female_vampire-1F3FC",n:"female_vampire",e:"🧛🏼‍♀️"},"1F3FD":{k:"female_vampire-1F3FD",n:"female_vampire",e:"🧛🏽‍♀️"},"1F3FE":{k:"female_vampire-1F3FE",n:"female_vampire",e:"🧛🏾‍♀️"},"1F3FF":{k:"female_vampire-1F3FF",n:"female_vampire",e:"🧛🏿‍♀️"}}},{n:["partly_sunny_rain","sun_behind_rain_cloud"],e:"🌦️",c:3},{n:["flag-pf"],e:"🇵🇫",c:4},{n:["black_medium_square"],e:"◼️",c:7},{n:["white_medium_small_square"],e:"◽",c:7},{n:["rain_cloud"],e:"🌧️",c:3},{n:["flag-pg"],e:"🇵🇬",c:4},{n:["male_vampire"],e:"🧛‍♂️",c:1,v:{"1F3FB":{k:"male_vampire-1F3FB",n:"male_vampire",e:"🧛🏻‍♂️"},"1F3FC":{k:"male_vampire-1F3FC",n:"male_vampire",e:"🧛🏼‍♂️"},"1F3FD":{k:"male_vampire-1F3FD",n:"male_vampire",e:"🧛🏽‍♂️"},"1F3FE":{k:"male_vampire-1F3FE",n:"male_vampire",e:"🧛🏾‍♂️"},"1F3FF":{k:"male_vampire-1F3FF",n:"male_vampire",e:"🧛🏿‍♂️"}}},{n:["flag-ph"],e:"🇵🇭",c:4},{n:["merperson"],e:"🧜",c:1,v:{"1F3FB":{k:"merperson-1F3FB",n:"merperson",e:"🧜🏻"},"1F3FC":{k:"merperson-1F3FC",n:"merperson",e:"🧜🏼"},"1F3FD":{k:"merperson-1F3FD",n:"merperson",e:"🧜🏽"},"1F3FE":{k:"merperson-1F3FE",n:"merperson",e:"🧜🏾"},"1F3FF":{k:"merperson-1F3FF",n:"merperson",e:"🧜🏿"}}},{n:["black_medium_small_square"],e:"◾",c:7},{n:["snow_cloud"],e:"🌨️",c:3},{n:["lightning","lightning_cloud"],e:"🌩️",c:3},{n:["black_large_square"],e:"⬛",c:7},{n:["mermaid"],e:"🧜‍♀️",c:1,v:{"1F3FB":{k:"mermaid-1F3FB",n:"mermaid",e:"🧜🏻‍♀️"},"1F3FC":{k:"mermaid-1F3FC",n:"mermaid",e:"🧜🏼‍♀️"},"1F3FD":{k:"mermaid-1F3FD",n:"mermaid",e:"🧜🏽‍♀️"},"1F3FE":{k:"mermaid-1F3FE",n:"mermaid",e:"🧜🏾‍♀️"},"1F3FF":{k:"mermaid-1F3FF",n:"mermaid",e:"🧜🏿‍♀️"}}},{n:["flag-pk"],e:"🇵🇰",c:4},{n:["merman"],e:"🧜‍♂️",c:1,v:{"1F3FB":{k:"merman-1F3FB",n:"merman",e:"🧜🏻‍♂️"},"1F3FC":{k:"merman-1F3FC",n:"merman",e:"🧜🏼‍♂️"},"1F3FD":{k:"merman-1F3FD",n:"merman",e:"🧜🏽‍♂️"},"1F3FE":{k:"merman-1F3FE",n:"merman",e:"🧜🏾‍♂️"},"1F3FF":{k:"merman-1F3FF",n:"merman",e:"🧜🏿‍♂️"}}},{n:["white_large_square"],e:"⬜",c:7},{n:["tornado","tornado_cloud"],e:"🌪️",c:3},{n:["flag-pl"],e:"🇵🇱",c:4},{n:["elf"],e:"🧝",c:1,v:{"1F3FB":{k:"elf-1F3FB",n:"elf",e:"🧝🏻"},"1F3FC":{k:"elf-1F3FC",n:"elf",e:"🧝🏼"},"1F3FD":{k:"elf-1F3FD",n:"elf",e:"🧝🏽"},"1F3FE":{k:"elf-1F3FE",n:"elf",e:"🧝🏾"},"1F3FF":{k:"elf-1F3FF",n:"elf",e:"🧝🏿"}}},{n:["fog"],e:"🌫️",c:3},{n:["large_orange_diamond"],e:"🔶",c:7},{n:["flag-pm"],e:"🇵🇲",c:4},{n:["flag-pn"],e:"🇵🇳",c:4},{n:["wind_blowing_face"],e:"🌬️",c:3},{n:["female_elf"],e:"🧝‍♀️",c:1,v:{"1F3FB":{k:"female_elf-1F3FB",n:"female_elf",e:"🧝🏻‍♀️"},"1F3FC":{k:"female_elf-1F3FC",n:"female_elf",e:"🧝🏼‍♀️"},"1F3FD":{k:"female_elf-1F3FD",n:"female_elf",e:"🧝🏽‍♀️"},"1F3FE":{k:"female_elf-1F3FE",n:"female_elf",e:"🧝🏾‍♀️"},"1F3FF":{k:"female_elf-1F3FF",n:"female_elf",e:"🧝🏿‍♀️"}}},{n:["large_blue_diamond"],e:"🔷",c:7},{n:["male_elf"],e:"🧝‍♂️",c:1,v:{"1F3FB":{k:"male_elf-1F3FB",n:"male_elf",e:"🧝🏻‍♂️"},"1F3FC":{k:"male_elf-1F3FC",n:"male_elf",e:"🧝🏼‍♂️"},"1F3FD":{k:"male_elf-1F3FD",n:"male_elf",e:"🧝🏽‍♂️"},"1F3FE":{k:"male_elf-1F3FE",n:"male_elf",e:"🧝🏾‍♂️"},"1F3FF":{k:"male_elf-1F3FF",n:"male_elf",e:"🧝🏿‍♂️"}}},{n:["small_orange_diamond"],e:"🔸",c:7},{n:["flag-pr"],e:"🇵🇷",c:4},{n:["cyclone"],e:"🌀",c:3},{n:["rainbow"],e:"🌈",c:3},{n:["small_blue_diamond"],e:"🔹",c:7},{n:["genie"],e:"🧞",c:1},{n:["flag-ps"],e:"🇵🇸",c:4},{n:["small_red_triangle"],e:"🔺",c:7},{n:["closed_umbrella"],e:"🌂",c:3},{n:["female_genie"],e:"🧞‍♀️",c:1},{n:["flag-pt"],e:"🇵🇹",c:4},{n:["flag-pw"],e:"🇵🇼",c:4},{n:["small_red_triangle_down"],e:"🔻",c:7},{n:["umbrella"],e:"☂️",c:3},{n:["male_genie"],e:"🧞‍♂️",c:1},{n:["zombie"],e:"🧟",c:1},{n:["flag-py"],e:"🇵🇾",c:4},{n:["diamond_shape_with_a_dot_inside"],e:"💠",c:7},{n:["umbrella_with_rain_drops"],e:"☔",c:3},{n:["radio_button"],e:"🔘",c:7},{n:["female_zombie"],e:"🧟‍♀️",c:1},{n:["flag-qa"],e:"🇶🇦",c:4},{n:["umbrella_on_ground"],e:"⛱️",c:3},{n:["black_square_button"],e:"🔲",c:7},{n:["zap"],e:"⚡",c:3},{n:["male_zombie"],e:"🧟‍♂️",c:1},{n:["flag-re"],e:"🇷🇪",c:4},{n:["flag-ro"],e:"🇷🇴",c:4},{n:["snowflake"],e:"❄️",c:3},{n:["white_square_button"],e:"🔳",c:7},{n:["person_frowning"],e:"🙍",c:1,v:{"1F3FB":{k:"person_frowning-1F3FB",n:"person_frowning",e:"🙍🏻"},"1F3FC":{k:"person_frowning-1F3FC",n:"person_frowning",e:"🙍🏼"},"1F3FD":{k:"person_frowning-1F3FD",n:"person_frowning",e:"🙍🏽"},"1F3FE":{k:"person_frowning-1F3FE",n:"person_frowning",e:"🙍🏾"},"1F3FF":{k:"person_frowning-1F3FF",n:"person_frowning",e:"🙍🏿"}}},{n:["flag-rs"],e:"🇷🇸",c:4},{n:["man-frowning"],e:"🙍‍♂️",c:1,v:{"1F3FB":{k:"man-frowning-1F3FB",n:"man-frowning",e:"🙍🏻‍♂️"},"1F3FC":{k:"man-frowning-1F3FC",n:"man-frowning",e:"🙍🏼‍♂️"},"1F3FD":{k:"man-frowning-1F3FD",n:"man-frowning",e:"🙍🏽‍♂️"},"1F3FE":{k:"man-frowning-1F3FE",n:"man-frowning",e:"🙍🏾‍♂️"},"1F3FF":{k:"man-frowning-1F3FF",n:"man-frowning",e:"🙍🏿‍♂️"}}},{n:["white_circle"],e:"⚪",c:7},{n:["snowman"],e:"☃️",c:3},{n:["snowman_without_snow"],e:"⛄",c:3},{n:["ru","flag-ru"],e:"🇷🇺",c:4},{n:["black_circle"],e:"⚫",c:7},{n:["woman-frowning"],e:"🙍‍♀️",c:1,v:{"1F3FB":{k:"woman-frowning-1F3FB",n:"woman-frowning",e:"🙍🏻‍♀️"},"1F3FC":{k:"woman-frowning-1F3FC",n:"woman-frowning",e:"🙍🏼‍♀️"},"1F3FD":{k:"woman-frowning-1F3FD",n:"woman-frowning",e:"🙍🏽‍♀️"},"1F3FE":{k:"woman-frowning-1F3FE",n:"woman-frowning",e:"🙍🏾‍♀️"},"1F3FF":{k:"woman-frowning-1F3FF",n:"woman-frowning",e:"🙍🏿‍♀️"}}},{n:["flag-rw"],e:"🇷🇼",c:4},{n:["comet"],e:"☄️",c:3},{n:["person_with_pouting_face"],e:"🙎",c:1,v:{"1F3FB":{k:"person_with_pouting_face-1F3FB",n:"person_with_pouting_face",e:"🙎🏻"},"1F3FC":{k:"person_with_pouting_face-1F3FC",n:"person_with_pouting_face",e:"🙎🏼"},"1F3FD":{k:"person_with_pouting_face-1F3FD",n:"person_with_pouting_face",e:"🙎🏽"},"1F3FE":{k:"person_with_pouting_face-1F3FE",n:"person_with_pouting_face",e:"🙎🏾"},"1F3FF":{k:"person_with_pouting_face-1F3FF",n:"person_with_pouting_face",e:"🙎🏿"}}},{n:["red_circle"],e:"🔴",c:7},{n:["large_blue_circle"],e:"🔵",c:7},{n:["man-pouting"],e:"🙎‍♂️",c:1,v:{"1F3FB":{k:"man-pouting-1F3FB",n:"man-pouting",e:"🙎🏻‍♂️"},"1F3FC":{k:"man-pouting-1F3FC",n:"man-pouting",e:"🙎🏼‍♂️"},"1F3FD":{k:"man-pouting-1F3FD",n:"man-pouting",e:"🙎🏽‍♂️"},"1F3FE":{k:"man-pouting-1F3FE",n:"man-pouting",e:"🙎🏾‍♂️"},"1F3FF":{k:"man-pouting-1F3FF",n:"man-pouting",e:"🙎🏿‍♂️"}}},{n:["flag-sa"],e:"🇸🇦",c:4},{n:["fire"],e:"🔥",c:3},{n:["woman-pouting"],e:"🙎‍♀️",c:1,v:{"1F3FB":{k:"woman-pouting-1F3FB",n:"woman-pouting",e:"🙎🏻‍♀️"},"1F3FC":{k:"woman-pouting-1F3FC",n:"woman-pouting",e:"🙎🏼‍♀️"},"1F3FD":{k:"woman-pouting-1F3FD",n:"woman-pouting",e:"🙎🏽‍♀️"},"1F3FE":{k:"woman-pouting-1F3FE",n:"woman-pouting",e:"🙎🏾‍♀️"},"1F3FF":{k:"woman-pouting-1F3FF",n:"woman-pouting",e:"🙎🏿‍♀️"}}},{n:["flag-sb"],e:"🇸🇧",c:4},{n:["droplet"],e:"💧",c:3},{n:["no_good"],e:"🙅",c:1,v:{"1F3FB":{k:"no_good-1F3FB",n:"no_good",e:"🙅🏻"},"1F3FC":{k:"no_good-1F3FC",n:"no_good",e:"🙅🏼"},"1F3FD":{k:"no_good-1F3FD",n:"no_good",e:"🙅🏽"},"1F3FE":{k:"no_good-1F3FE",n:"no_good",e:"🙅🏾"},"1F3FF":{k:"no_good-1F3FF",n:"no_good",e:"🙅🏿"}}},{n:["flag-sc"],e:"🇸🇨",c:4},{n:["ocean"],e:"🌊",c:3},{n:["man-gesturing-no"],e:"🙅‍♂️",c:1,v:{"1F3FB":{k:"man-gesturing-no-1F3FB",n:"man-gesturing-no",e:"🙅🏻‍♂️"},"1F3FC":{k:"man-gesturing-no-1F3FC",n:"man-gesturing-no",e:"🙅🏼‍♂️"},"1F3FD":{k:"man-gesturing-no-1F3FD",n:"man-gesturing-no",e:"🙅🏽‍♂️"},"1F3FE":{k:"man-gesturing-no-1F3FE",n:"man-gesturing-no",e:"🙅🏾‍♂️"},"1F3FF":{k:"man-gesturing-no-1F3FF",n:"man-gesturing-no",e:"🙅🏿‍♂️"}}},{n:["flag-sd"],e:"🇸🇩",c:4},{n:["woman-gesturing-no"],e:"🙅‍♀️",c:1,v:{"1F3FB":{k:"woman-gesturing-no-1F3FB",n:"woman-gesturing-no",e:"🙅🏻‍♀️"},"1F3FC":{k:"woman-gesturing-no-1F3FC",n:"woman-gesturing-no",e:"🙅🏼‍♀️"},"1F3FD":{k:"woman-gesturing-no-1F3FD",n:"woman-gesturing-no",e:"🙅🏽‍♀️"},"1F3FE":{k:"woman-gesturing-no-1F3FE",n:"woman-gesturing-no",e:"🙅🏾‍♀️"},"1F3FF":{k:"woman-gesturing-no-1F3FF",n:"woman-gesturing-no",e:"🙅🏿‍♀️"}}},{n:["flag-se"],e:"🇸🇪",c:4},{n:["flag-sg"],e:"🇸🇬",c:4},{n:["ok_woman"],e:"🙆",c:1,v:{"1F3FB":{k:"ok_woman-1F3FB",n:"ok_woman",e:"🙆🏻"},"1F3FC":{k:"ok_woman-1F3FC",n:"ok_woman",e:"🙆🏼"},"1F3FD":{k:"ok_woman-1F3FD",n:"ok_woman",e:"🙆🏽"},"1F3FE":{k:"ok_woman-1F3FE",n:"ok_woman",e:"🙆🏾"},"1F3FF":{k:"ok_woman-1F3FF",n:"ok_woman",e:"🙆🏿"}}},{n:["flag-sh"],e:"🇸🇭",c:4},{n:["man-gesturing-ok"],e:"🙆‍♂️",c:1,v:{"1F3FB":{k:"man-gesturing-ok-1F3FB",n:"man-gesturing-ok",e:"🙆🏻‍♂️"},"1F3FC":{k:"man-gesturing-ok-1F3FC",n:"man-gesturing-ok",e:"🙆🏼‍♂️"},"1F3FD":{k:"man-gesturing-ok-1F3FD",n:"man-gesturing-ok",e:"🙆🏽‍♂️"},"1F3FE":{k:"man-gesturing-ok-1F3FE",n:"man-gesturing-ok",e:"🙆🏾‍♂️"},"1F3FF":{k:"man-gesturing-ok-1F3FF",n:"man-gesturing-ok",e:"🙆🏿‍♂️"}}},{n:["flag-si"],e:"🇸🇮",c:4},{n:["woman-gesturing-ok"],e:"🙆‍♀️",c:1,v:{"1F3FB":{k:"woman-gesturing-ok-1F3FB",n:"woman-gesturing-ok",e:"🙆🏻‍♀️"},"1F3FC":{k:"woman-gesturing-ok-1F3FC",n:"woman-gesturing-ok",e:"🙆🏼‍♀️"},"1F3FD":{k:"woman-gesturing-ok-1F3FD",n:"woman-gesturing-ok",e:"🙆🏽‍♀️"},"1F3FE":{k:"woman-gesturing-ok-1F3FE",n:"woman-gesturing-ok",e:"🙆🏾‍♀️"},"1F3FF":{k:"woman-gesturing-ok-1F3FF",n:"woman-gesturing-ok",e:"🙆🏿‍♀️"}}},{n:["information_desk_person"],e:"💁",c:1,v:{"1F3FB":{k:"information_desk_person-1F3FB",n:"information_desk_person",e:"💁🏻"},"1F3FC":{k:"information_desk_person-1F3FC",n:"information_desk_person",e:"💁🏼"},"1F3FD":{k:"information_desk_person-1F3FD",n:"information_desk_person",e:"💁🏽"},"1F3FE":{k:"information_desk_person-1F3FE",n:"information_desk_person",e:"💁🏾"},"1F3FF":{k:"information_desk_person-1F3FF",n:"information_desk_person",e:"💁🏿"}}},{n:["flag-sj"],e:"🇸🇯",c:4},{n:["man-tipping-hand"],e:"💁‍♂️",c:1,v:{"1F3FB":{k:"man-tipping-hand-1F3FB",n:"man-tipping-hand",e:"💁🏻‍♂️"},"1F3FC":{k:"man-tipping-hand-1F3FC",n:"man-tipping-hand",e:"💁🏼‍♂️"},"1F3FD":{k:"man-tipping-hand-1F3FD",n:"man-tipping-hand",e:"💁🏽‍♂️"},"1F3FE":{k:"man-tipping-hand-1F3FE",n:"man-tipping-hand",e:"💁🏾‍♂️"},"1F3FF":{k:"man-tipping-hand-1F3FF",n:"man-tipping-hand",e:"💁🏿‍♂️"}}},{n:["flag-sk"],e:"🇸🇰",c:4},{n:["flag-sl"],e:"🇸🇱",c:4},{n:["woman-tipping-hand"],e:"💁‍♀️",c:1,v:{"1F3FB":{k:"woman-tipping-hand-1F3FB",n:"woman-tipping-hand",e:"💁🏻‍♀️"},"1F3FC":{k:"woman-tipping-hand-1F3FC",n:"woman-tipping-hand",e:"💁🏼‍♀️"},"1F3FD":{k:"woman-tipping-hand-1F3FD",n:"woman-tipping-hand",e:"💁🏽‍♀️"},"1F3FE":{k:"woman-tipping-hand-1F3FE",n:"woman-tipping-hand",e:"💁🏾‍♀️"},"1F3FF":{k:"woman-tipping-hand-1F3FF",n:"woman-tipping-hand",e:"💁🏿‍♀️"}}},{n:["flag-sm"],e:"🇸🇲",c:4},{n:["raising_hand"],e:"🙋",c:1,v:{"1F3FB":{k:"raising_hand-1F3FB",n:"raising_hand",e:"🙋🏻"},"1F3FC":{k:"raising_hand-1F3FC",n:"raising_hand",e:"🙋🏼"},"1F3FD":{k:"raising_hand-1F3FD",n:"raising_hand",e:"🙋🏽"},"1F3FE":{k:"raising_hand-1F3FE",n:"raising_hand",e:"🙋🏾"},"1F3FF":{k:"raising_hand-1F3FF",n:"raising_hand",e:"🙋🏿"}}},{n:["flag-sn"],e:"🇸🇳",c:4},{n:["man-raising-hand"],e:"🙋‍♂️",c:1,v:{"1F3FB":{k:"man-raising-hand-1F3FB",n:"man-raising-hand",e:"🙋🏻‍♂️"},"1F3FC":{k:"man-raising-hand-1F3FC",n:"man-raising-hand",e:"🙋🏼‍♂️"},"1F3FD":{k:"man-raising-hand-1F3FD",n:"man-raising-hand",e:"🙋🏽‍♂️"},"1F3FE":{k:"man-raising-hand-1F3FE",n:"man-raising-hand",e:"🙋🏾‍♂️"},"1F3FF":{k:"man-raising-hand-1F3FF",n:"man-raising-hand",e:"🙋🏿‍♂️"}}},{n:["flag-so"],e:"🇸🇴",c:4},{n:["woman-raising-hand"],e:"🙋‍♀️",c:1,v:{"1F3FB":{k:"woman-raising-hand-1F3FB",n:"woman-raising-hand",e:"🙋🏻‍♀️"},"1F3FC":{k:"woman-raising-hand-1F3FC",n:"woman-raising-hand",e:"🙋🏼‍♀️"},"1F3FD":{k:"woman-raising-hand-1F3FD",n:"woman-raising-hand",e:"🙋🏽‍♀️"},"1F3FE":{k:"woman-raising-hand-1F3FE",n:"woman-raising-hand",e:"🙋🏾‍♀️"},"1F3FF":{k:"woman-raising-hand-1F3FF",n:"woman-raising-hand",e:"🙋🏿‍♀️"}}},{n:["flag-sr"],e:"🇸🇷",c:4},{n:["bow"],e:"🙇",c:1,v:{"1F3FB":{k:"bow-1F3FB",n:"bow",e:"🙇🏻"},"1F3FC":{k:"bow-1F3FC",n:"bow",e:"🙇🏼"},"1F3FD":{k:"bow-1F3FD",n:"bow",e:"🙇🏽"},"1F3FE":{k:"bow-1F3FE",n:"bow",e:"🙇🏾"},"1F3FF":{k:"bow-1F3FF",n:"bow",e:"🙇🏿"}}},{n:["man-bowing"],e:"🙇‍♂️",c:1,v:{"1F3FB":{k:"man-bowing-1F3FB",n:"man-bowing",e:"🙇🏻‍♂️"},"1F3FC":{k:"man-bowing-1F3FC",n:"man-bowing",e:"🙇🏼‍♂️"},"1F3FD":{k:"man-bowing-1F3FD",n:"man-bowing",e:"🙇🏽‍♂️"},"1F3FE":{k:"man-bowing-1F3FE",n:"man-bowing",e:"🙇🏾‍♂️"},"1F3FF":{k:"man-bowing-1F3FF",n:"man-bowing",e:"🙇🏿‍♂️"}}},{n:["flag-ss"],e:"🇸🇸",c:4},{n:["woman-bowing"],e:"🙇‍♀️",c:1,v:{"1F3FB":{k:"woman-bowing-1F3FB",n:"woman-bowing",e:"🙇🏻‍♀️"},"1F3FC":{k:"woman-bowing-1F3FC",n:"woman-bowing",e:"🙇🏼‍♀️"},"1F3FD":{k:"woman-bowing-1F3FD",n:"woman-bowing",e:"🙇🏽‍♀️"},"1F3FE":{k:"woman-bowing-1F3FE",n:"woman-bowing",e:"🙇🏾‍♀️"},"1F3FF":{k:"woman-bowing-1F3FF",n:"woman-bowing",e:"🙇🏿‍♀️"}}},{n:["flag-st"],e:"🇸🇹",c:4},{n:["face_palm"],e:"🤦",c:1,v:{"1F3FB":{k:"face_palm-1F3FB",n:"face_palm",e:"🤦🏻"},"1F3FC":{k:"face_palm-1F3FC",n:"face_palm",e:"🤦🏼"},"1F3FD":{k:"face_palm-1F3FD",n:"face_palm",e:"🤦🏽"},"1F3FE":{k:"face_palm-1F3FE",n:"face_palm",e:"🤦🏾"},"1F3FF":{k:"face_palm-1F3FF",n:"face_palm",e:"🤦🏿"}}},{n:["flag-sv"],e:"🇸🇻",c:4},{n:["man-facepalming"],e:"🤦‍♂️",c:1,v:{"1F3FB":{k:"man-facepalming-1F3FB",n:"man-facepalming",e:"🤦🏻‍♂️"},"1F3FC":{k:"man-facepalming-1F3FC",n:"man-facepalming",e:"🤦🏼‍♂️"},"1F3FD":{k:"man-facepalming-1F3FD",n:"man-facepalming",e:"🤦🏽‍♂️"},"1F3FE":{k:"man-facepalming-1F3FE",n:"man-facepalming",e:"🤦🏾‍♂️"},"1F3FF":{k:"man-facepalming-1F3FF",n:"man-facepalming",e:"🤦🏿‍♂️"}}},{n:["flag-sx"],e:"🇸🇽",c:4},{n:["flag-sy"],e:"🇸🇾",c:4},{n:["woman-facepalming"],e:"🤦‍♀️",c:1,v:{"1F3FB":{k:"woman-facepalming-1F3FB",n:"woman-facepalming",e:"🤦🏻‍♀️"},"1F3FC":{k:"woman-facepalming-1F3FC",n:"woman-facepalming",e:"🤦🏼‍♀️"},"1F3FD":{k:"woman-facepalming-1F3FD",n:"woman-facepalming",e:"🤦🏽‍♀️"},"1F3FE":{k:"woman-facepalming-1F3FE",n:"woman-facepalming",e:"🤦🏾‍♀️"},"1F3FF":{k:"woman-facepalming-1F3FF",n:"woman-facepalming",e:"🤦🏿‍♀️"}}},{n:["shrug"],e:"🤷",c:1,v:{"1F3FB":{k:"shrug-1F3FB",n:"shrug",e:"🤷🏻"},"1F3FC":{k:"shrug-1F3FC",n:"shrug",e:"🤷🏼"},"1F3FD":{k:"shrug-1F3FD",n:"shrug",e:"🤷🏽"},"1F3FE":{k:"shrug-1F3FE",n:"shrug",e:"🤷🏾"},"1F3FF":{k:"shrug-1F3FF",n:"shrug",e:"🤷🏿"}}},{n:["flag-sz"],e:"🇸🇿",c:4},{n:["flag-ta"],e:"🇹🇦",c:4},{n:["man-shrugging"],e:"🤷‍♂️",c:1,v:{"1F3FB":{k:"man-shrugging-1F3FB",n:"man-shrugging",e:"🤷🏻‍♂️"},"1F3FC":{k:"man-shrugging-1F3FC",n:"man-shrugging",e:"🤷🏼‍♂️"},"1F3FD":{k:"man-shrugging-1F3FD",n:"man-shrugging",e:"🤷🏽‍♂️"},"1F3FE":{k:"man-shrugging-1F3FE",n:"man-shrugging",e:"🤷🏾‍♂️"},"1F3FF":{k:"man-shrugging-1F3FF",n:"man-shrugging",e:"🤷🏿‍♂️"}}},{n:["woman-shrugging"],e:"🤷‍♀️",c:1,v:{"1F3FB":{k:"woman-shrugging-1F3FB",n:"woman-shrugging",e:"🤷🏻‍♀️"},"1F3FC":{k:"woman-shrugging-1F3FC",n:"woman-shrugging",e:"🤷🏼‍♀️"},"1F3FD":{k:"woman-shrugging-1F3FD",n:"woman-shrugging",e:"🤷🏽‍♀️"},"1F3FE":{k:"woman-shrugging-1F3FE",n:"woman-shrugging",e:"🤷🏾‍♀️"},"1F3FF":{k:"woman-shrugging-1F3FF",n:"woman-shrugging",e:"🤷🏿‍♀️"}}},{n:["flag-tc"],e:"🇹🇨",c:4},{n:["massage"],e:"💆",c:1,v:{"1F3FB":{k:"massage-1F3FB",n:"massage",e:"💆🏻"},"1F3FC":{k:"massage-1F3FC",n:"massage",e:"💆🏼"},"1F3FD":{k:"massage-1F3FD",n:"massage",e:"💆🏽"},"1F3FE":{k:"massage-1F3FE",n:"massage",e:"💆🏾"},"1F3FF":{k:"massage-1F3FF",n:"massage",e:"💆🏿"}}},{n:["flag-td"],e:"🇹🇩",c:4},{n:["man-getting-massage"],e:"💆‍♂️",c:1,v:{"1F3FB":{k:"man-getting-massage-1F3FB",n:"man-getting-massage",e:"💆🏻‍♂️"},"1F3FC":{k:"man-getting-massage-1F3FC",n:"man-getting-massage",e:"💆🏼‍♂️"},"1F3FD":{k:"man-getting-massage-1F3FD",n:"man-getting-massage",e:"💆🏽‍♂️"},"1F3FE":{k:"man-getting-massage-1F3FE",n:"man-getting-massage",e:"💆🏾‍♂️"},"1F3FF":{k:"man-getting-massage-1F3FF",n:"man-getting-massage",e:"💆🏿‍♂️"}}},{n:["flag-tf"],e:"🇹🇫",c:4},{n:["woman-getting-massage"],e:"💆‍♀️",c:1,v:{"1F3FB":{k:"woman-getting-massage-1F3FB",n:"woman-getting-massage",e:"💆🏻‍♀️"},"1F3FC":{k:"woman-getting-massage-1F3FC",n:"woman-getting-massage",e:"💆🏼‍♀️"},"1F3FD":{k:"woman-getting-massage-1F3FD",n:"woman-getting-massage",e:"💆🏽‍♀️"},"1F3FE":{k:"woman-getting-massage-1F3FE",n:"woman-getting-massage",e:"💆🏾‍♀️"},"1F3FF":{k:"woman-getting-massage-1F3FF",n:"woman-getting-massage",e:"💆🏿‍♀️"}}},{n:["flag-tg"],e:"🇹🇬",c:4},{n:["haircut"],e:"💇",c:1,v:{"1F3FB":{k:"haircut-1F3FB",n:"haircut",e:"💇🏻"},"1F3FC":{k:"haircut-1F3FC",n:"haircut",e:"💇🏼"},"1F3FD":{k:"haircut-1F3FD",n:"haircut",e:"💇🏽"},"1F3FE":{k:"haircut-1F3FE",n:"haircut",e:"💇🏾"},"1F3FF":{k:"haircut-1F3FF",n:"haircut",e:"💇🏿"}}},{n:["flag-th"],e:"🇹🇭",c:4},{n:["man-getting-haircut"],e:"💇‍♂️",c:1,v:{"1F3FB":{k:"man-getting-haircut-1F3FB",n:"man-getting-haircut",e:"💇🏻‍♂️"},"1F3FC":{k:"man-getting-haircut-1F3FC",n:"man-getting-haircut",e:"💇🏼‍♂️"},"1F3FD":{k:"man-getting-haircut-1F3FD",n:"man-getting-haircut",e:"💇🏽‍♂️"},"1F3FE":{k:"man-getting-haircut-1F3FE",n:"man-getting-haircut",e:"💇🏾‍♂️"},"1F3FF":{k:"man-getting-haircut-1F3FF",n:"man-getting-haircut",e:"💇🏿‍♂️"}}},{n:["flag-tj"],e:"🇹🇯",c:4},{n:["flag-tk"],e:"🇹🇰",c:4},{n:["woman-getting-haircut"],e:"💇‍♀️",c:1,v:{"1F3FB":{k:"woman-getting-haircut-1F3FB",n:"woman-getting-haircut",e:"💇🏻‍♀️"},"1F3FC":{k:"woman-getting-haircut-1F3FC",n:"woman-getting-haircut",e:"💇🏼‍♀️"},"1F3FD":{k:"woman-getting-haircut-1F3FD",n:"woman-getting-haircut",e:"💇🏽‍♀️"},"1F3FE":{k:"woman-getting-haircut-1F3FE",n:"woman-getting-haircut",e:"💇🏾‍♀️"},"1F3FF":{k:"woman-getting-haircut-1F3FF",n:"woman-getting-haircut",e:"💇🏿‍♀️"}}},{n:["walking"],e:"🚶",c:1,v:{"1F3FB":{k:"walking-1F3FB",n:"walking",e:"🚶🏻"},"1F3FC":{k:"walking-1F3FC",n:"walking",e:"🚶🏼"},"1F3FD":{k:"walking-1F3FD",n:"walking",e:"🚶🏽"},"1F3FE":{k:"walking-1F3FE",n:"walking",e:"🚶🏾"},"1F3FF":{k:"walking-1F3FF",n:"walking",e:"🚶🏿"}}},{n:["flag-tl"],e:"🇹🇱",c:4},{n:["man-walking"],e:"🚶‍♂️",c:1,v:{"1F3FB":{k:"man-walking-1F3FB",n:"man-walking",e:"🚶🏻‍♂️"},"1F3FC":{k:"man-walking-1F3FC",n:"man-walking",e:"🚶🏼‍♂️"},"1F3FD":{k:"man-walking-1F3FD",n:"man-walking",e:"🚶🏽‍♂️"},"1F3FE":{k:"man-walking-1F3FE",n:"man-walking",e:"🚶🏾‍♂️"},"1F3FF":{k:"man-walking-1F3FF",n:"man-walking",e:"🚶🏿‍♂️"}}},{n:["flag-tm"],e:"🇹🇲",c:4},{n:["woman-walking"],e:"🚶‍♀️",c:1,v:{"1F3FB":{k:"woman-walking-1F3FB",n:"woman-walking",e:"🚶🏻‍♀️"},"1F3FC":{k:"woman-walking-1F3FC",n:"woman-walking",e:"🚶🏼‍♀️"},"1F3FD":{k:"woman-walking-1F3FD",n:"woman-walking",e:"🚶🏽‍♀️"},"1F3FE":{k:"woman-walking-1F3FE",n:"woman-walking",e:"🚶🏾‍♀️"},"1F3FF":{k:"woman-walking-1F3FF",n:"woman-walking",e:"🚶🏿‍♀️"}}},{n:["flag-tn"],e:"🇹🇳",c:4},{n:["runner","running"],e:"🏃",c:1,v:{"1F3FB":{k:"runner-1F3FB",n:"runner",e:"🏃🏻"},"1F3FC":{k:"runner-1F3FC",n:"runner",e:"🏃🏼"},"1F3FD":{k:"runner-1F3FD",n:"runner",e:"🏃🏽"},"1F3FE":{k:"runner-1F3FE",n:"runner",e:"🏃🏾"},"1F3FF":{k:"runner-1F3FF",n:"runner",e:"🏃🏿"}}},{n:["flag-to"],e:"🇹🇴",c:4},{n:["man-running"],e:"🏃‍♂️",c:1,v:{"1F3FB":{k:"man-running-1F3FB",n:"man-running",e:"🏃🏻‍♂️"},"1F3FC":{k:"man-running-1F3FC",n:"man-running",e:"🏃🏼‍♂️"},"1F3FD":{k:"man-running-1F3FD",n:"man-running",e:"🏃🏽‍♂️"},"1F3FE":{k:"man-running-1F3FE",n:"man-running",e:"🏃🏾‍♂️"},"1F3FF":{k:"man-running-1F3FF",n:"man-running",e:"🏃🏿‍♂️"}}},{n:["flag-tr"],e:"🇹🇷",c:4},{n:["flag-tt"],e:"🇹🇹",c:4},{n:["woman-running"],e:"🏃‍♀️",c:1,v:{"1F3FB":{k:"woman-running-1F3FB",n:"woman-running",e:"🏃🏻‍♀️"},"1F3FC":{k:"woman-running-1F3FC",n:"woman-running",e:"🏃🏼‍♀️"},"1F3FD":{k:"woman-running-1F3FD",n:"woman-running",e:"🏃🏽‍♀️"},"1F3FE":{k:"woman-running-1F3FE",n:"woman-running",e:"🏃🏾‍♀️"},"1F3FF":{k:"woman-running-1F3FF",n:"woman-running",e:"🏃🏿‍♀️"}}},{n:["flag-tv"],e:"🇹🇻",c:4},{n:["dancer"],e:"💃",c:1,v:{"1F3FB":{k:"dancer-1F3FB",n:"dancer",e:"💃🏻"},"1F3FC":{k:"dancer-1F3FC",n:"dancer",e:"💃🏼"},"1F3FD":{k:"dancer-1F3FD",n:"dancer",e:"💃🏽"},"1F3FE":{k:"dancer-1F3FE",n:"dancer",e:"💃🏾"},"1F3FF":{k:"dancer-1F3FF",n:"dancer",e:"💃🏿"}}},{n:["flag-tw"],e:"🇹🇼",c:4},{n:["man_dancing"],e:"🕺",c:1,v:{"1F3FB":{k:"man_dancing-1F3FB",n:"man_dancing",e:"🕺🏻"},"1F3FC":{k:"man_dancing-1F3FC",n:"man_dancing",e:"🕺🏼"},"1F3FD":{k:"man_dancing-1F3FD",n:"man_dancing",e:"🕺🏽"},"1F3FE":{k:"man_dancing-1F3FE",n:"man_dancing",e:"🕺🏾"},"1F3FF":{k:"man_dancing-1F3FF",n:"man_dancing",e:"🕺🏿"}}},{n:["dancers"],e:"👯",c:1},{n:["flag-tz"],e:"🇹🇿",c:4},{n:["flag-ua"],e:"🇺🇦",c:4},{n:["man-with-bunny-ears-partying"],e:"👯‍♂️",c:1},{n:["woman-with-bunny-ears-partying"],e:"👯‍♀️",c:1},{n:["flag-ug"],e:"🇺🇬",c:4},{n:["flag-um"],e:"🇺🇲",c:4},{n:["person_in_steamy_room"],e:"🧖",c:1,v:{"1F3FB":{k:"person_in_steamy_room-1F3FB",n:"person_in_steamy_room",e:"🧖🏻"},"1F3FC":{k:"person_in_steamy_room-1F3FC",n:"person_in_steamy_room",e:"🧖🏼"},"1F3FD":{k:"person_in_steamy_room-1F3FD",n:"person_in_steamy_room",e:"🧖🏽"},"1F3FE":{k:"person_in_steamy_room-1F3FE",n:"person_in_steamy_room",e:"🧖🏾"},"1F3FF":{k:"person_in_steamy_room-1F3FF",n:"person_in_steamy_room",e:"🧖🏿"}}},{n:["woman_in_steamy_room"],e:"🧖‍♀️",c:1,v:{"1F3FB":{k:"woman_in_steamy_room-1F3FB",n:"woman_in_steamy_room",e:"🧖🏻‍♀️"},"1F3FC":{k:"woman_in_steamy_room-1F3FC",n:"woman_in_steamy_room",e:"🧖🏼‍♀️"},"1F3FD":{k:"woman_in_steamy_room-1F3FD",n:"woman_in_steamy_room",e:"🧖🏽‍♀️"},"1F3FE":{k:"woman_in_steamy_room-1F3FE",n:"woman_in_steamy_room",e:"🧖🏾‍♀️"},"1F3FF":{k:"woman_in_steamy_room-1F3FF",n:"woman_in_steamy_room",e:"🧖🏿‍♀️"}}},{n:["flag-un"],e:"🇺🇳",c:4},{n:["us","flag-us"],e:"🇺🇸",c:4},{n:["man_in_steamy_room"],e:"🧖‍♂️",c:1,v:{"1F3FB":{k:"man_in_steamy_room-1F3FB",n:"man_in_steamy_room",e:"🧖🏻‍♂️"},"1F3FC":{k:"man_in_steamy_room-1F3FC",n:"man_in_steamy_room",e:"🧖🏼‍♂️"},"1F3FD":{k:"man_in_steamy_room-1F3FD",n:"man_in_steamy_room",e:"🧖🏽‍♂️"},"1F3FE":{k:"man_in_steamy_room-1F3FE",n:"man_in_steamy_room",e:"🧖🏾‍♂️"},"1F3FF":{k:"man_in_steamy_room-1F3FF",n:"man_in_steamy_room",e:"🧖🏿‍♂️"}}},{n:["person_climbing"],e:"🧗",c:1,v:{"1F3FB":{k:"person_climbing-1F3FB",n:"person_climbing",e:"🧗🏻"},"1F3FC":{k:"person_climbing-1F3FC",n:"person_climbing",e:"🧗🏼"},"1F3FD":{k:"person_climbing-1F3FD",n:"person_climbing",e:"🧗🏽"},"1F3FE":{k:"person_climbing-1F3FE",n:"person_climbing",e:"🧗🏾"},"1F3FF":{k:"person_climbing-1F3FF",n:"person_climbing",e:"🧗🏿"}}},{n:["flag-uy"],e:"🇺🇾",c:4},{n:["woman_climbing"],e:"🧗‍♀️",c:1,v:{"1F3FB":{k:"woman_climbing-1F3FB",n:"woman_climbing",e:"🧗🏻‍♀️"},"1F3FC":{k:"woman_climbing-1F3FC",n:"woman_climbing",e:"🧗🏼‍♀️"},"1F3FD":{k:"woman_climbing-1F3FD",n:"woman_climbing",e:"🧗🏽‍♀️"},"1F3FE":{k:"woman_climbing-1F3FE",n:"woman_climbing",e:"🧗🏾‍♀️"},"1F3FF":{k:"woman_climbing-1F3FF",n:"woman_climbing",e:"🧗🏿‍♀️"}}},{n:["flag-uz"],e:"🇺🇿",c:4},{n:["man_climbing"],e:"🧗‍♂️",c:1,v:{"1F3FB":{k:"man_climbing-1F3FB",n:"man_climbing",e:"🧗🏻‍♂️"},"1F3FC":{k:"man_climbing-1F3FC",n:"man_climbing",e:"🧗🏼‍♂️"},"1F3FD":{k:"man_climbing-1F3FD",n:"man_climbing",e:"🧗🏽‍♂️"},"1F3FE":{k:"man_climbing-1F3FE",n:"man_climbing",e:"🧗🏾‍♂️"},"1F3FF":{k:"man_climbing-1F3FF",n:"man_climbing",e:"🧗🏿‍♂️"}}},{n:["flag-va"],e:"🇻🇦",c:4},{n:["person_in_lotus_position"],e:"🧘",c:1,v:{"1F3FB":{k:"person_in_lotus_position-1F3FB",n:"person_in_lotus_position",e:"🧘🏻"},"1F3FC":{k:"person_in_lotus_position-1F3FC",n:"person_in_lotus_position",e:"🧘🏼"},"1F3FD":{k:"person_in_lotus_position-1F3FD",n:"person_in_lotus_position",e:"🧘🏽"},"1F3FE":{k:"person_in_lotus_position-1F3FE",n:"person_in_lotus_position",e:"🧘🏾"},"1F3FF":{k:"person_in_lotus_position-1F3FF",n:"person_in_lotus_position",e:"🧘🏿"}}},{n:["flag-vc"],e:"🇻🇨",c:4},{n:["flag-ve"],e:"🇻🇪",c:4},{n:["woman_in_lotus_position"],e:"🧘‍♀️",c:1,v:{"1F3FB":{k:"woman_in_lotus_position-1F3FB",n:"woman_in_lotus_position",e:"🧘🏻‍♀️"},"1F3FC":{k:"woman_in_lotus_position-1F3FC",n:"woman_in_lotus_position",e:"🧘🏼‍♀️"},"1F3FD":{k:"woman_in_lotus_position-1F3FD",n:"woman_in_lotus_position",e:"🧘🏽‍♀️"},"1F3FE":{k:"woman_in_lotus_position-1F3FE",n:"woman_in_lotus_position",e:"🧘🏾‍♀️"},"1F3FF":{k:"woman_in_lotus_position-1F3FF",n:"woman_in_lotus_position",e:"🧘🏿‍♀️"}}},{n:["man_in_lotus_position"],e:"🧘‍♂️",c:1,v:{"1F3FB":{k:"man_in_lotus_position-1F3FB",n:"man_in_lotus_position",e:"🧘🏻‍♂️"},"1F3FC":{k:"man_in_lotus_position-1F3FC",n:"man_in_lotus_position",e:"🧘🏼‍♂️"},"1F3FD":{k:"man_in_lotus_position-1F3FD",n:"man_in_lotus_position",e:"🧘🏽‍♂️"},"1F3FE":{k:"man_in_lotus_position-1F3FE",n:"man_in_lotus_position",e:"🧘🏾‍♂️"},"1F3FF":{k:"man_in_lotus_position-1F3FF",n:"man_in_lotus_position",e:"🧘🏿‍♂️"}}},{n:["flag-vg"],e:"🇻🇬",c:4},{n:["flag-vi"],e:"🇻🇮",c:4},{n:["bath"],e:"🛀",c:1,v:{"1F3FB":{k:"bath-1F3FB",n:"bath",e:"🛀🏻"},"1F3FC":{k:"bath-1F3FC",n:"bath",e:"🛀🏼"},"1F3FD":{k:"bath-1F3FD",n:"bath",e:"🛀🏽"},"1F3FE":{k:"bath-1F3FE",n:"bath",e:"🛀🏾"},"1F3FF":{k:"bath-1F3FF",n:"bath",e:"🛀🏿"}}},{n:["sleeping_accommodation"],e:"🛌",c:1,v:{"1F3FB":{k:"sleeping_accommodation-1F3FB",n:"sleeping_accommodation",e:"🛌🏻"},"1F3FC":{k:"sleeping_accommodation-1F3FC",n:"sleeping_accommodation",e:"🛌🏼"},"1F3FD":{k:"sleeping_accommodation-1F3FD",n:"sleeping_accommodation",e:"🛌🏽"},"1F3FE":{k:"sleeping_accommodation-1F3FE",n:"sleeping_accommodation",e:"🛌🏾"},"1F3FF":{k:"sleeping_accommodation-1F3FF",n:"sleeping_accommodation",e:"🛌🏿"}}},{n:["flag-vn"],e:"🇻🇳",c:4},{n:["man_in_business_suit_levitating"],e:"🕴️",c:1,v:{"1F3FB":{k:"man_in_business_suit_levitating-1F3FB",n:"man_in_business_suit_levitating",e:"🕴🏻"},"1F3FC":{k:"man_in_business_suit_levitating-1F3FC",n:"man_in_business_suit_levitating",e:"🕴🏼"},"1F3FD":{k:"man_in_business_suit_levitating-1F3FD",n:"man_in_business_suit_levitating",e:"🕴🏽"},"1F3FE":{k:"man_in_business_suit_levitating-1F3FE",n:"man_in_business_suit_levitating",e:"🕴🏾"},"1F3FF":{k:"man_in_business_suit_levitating-1F3FF",n:"man_in_business_suit_levitating",e:"🕴🏿"}}},{n:["flag-vu"],e:"🇻🇺",c:4},{n:["flag-wf"],e:"🇼🇫",c:4},{n:["speaking_head_in_silhouette"],e:"🗣️",c:1},{n:["bust_in_silhouette"],e:"👤",c:1},{n:["flag-ws"],e:"🇼🇸",c:4},{n:["busts_in_silhouette"],e:"👥",c:1},{n:["flag-xk"],e:"🇽🇰",c:4},{n:["fencer"],e:"🤺",c:1},{n:["flag-ye"],e:"🇾🇪",c:4},{n:["flag-yt"],e:"🇾🇹",c:4},{n:["horse_racing"],e:"🏇",c:1,v:{"1F3FB":{k:"horse_racing-1F3FB",n:"horse_racing",e:"🏇🏻"},"1F3FC":{k:"horse_racing-1F3FC",n:"horse_racing",e:"🏇🏼"},"1F3FD":{k:"horse_racing-1F3FD",n:"horse_racing",e:"🏇🏽"},"1F3FE":{k:"horse_racing-1F3FE",n:"horse_racing",e:"🏇🏾"},"1F3FF":{k:"horse_racing-1F3FF",n:"horse_racing",e:"🏇🏿"}}},{n:["flag-za"],e:"🇿🇦",c:4},{n:["skier"],e:"⛷️",c:1},{n:["flag-zm"],e:"🇿🇲",c:4},{n:["snowboarder"],e:"🏂",c:1,v:{"1F3FB":{k:"snowboarder-1F3FB",n:"snowboarder",e:"🏂🏻"},"1F3FC":{k:"snowboarder-1F3FC",n:"snowboarder",e:"🏂🏼"},"1F3FD":{k:"snowboarder-1F3FD",n:"snowboarder",e:"🏂🏽"},"1F3FE":{k:"snowboarder-1F3FE",n:"snowboarder",e:"🏂🏾"},"1F3FF":{k:"snowboarder-1F3FF",n:"snowboarder",e:"🏂🏿"}}},{n:["golfer"],e:"🏌️",c:1,v:{"1F3FB":{k:"golfer-1F3FB",n:"golfer",e:"🏌🏻"},"1F3FC":{k:"golfer-1F3FC",n:"golfer",e:"🏌🏼"},"1F3FD":{k:"golfer-1F3FD",n:"golfer",e:"🏌🏽"},"1F3FE":{k:"golfer-1F3FE",n:"golfer",e:"🏌🏾"},"1F3FF":{k:"golfer-1F3FF",n:"golfer",e:"🏌🏿"}}},{n:["flag-zw"],e:"🇿🇼",c:4},{n:["man-golfing"],e:"🏌️‍♂️",c:1,v:{"1F3FB":{k:"man-golfing-1F3FB",n:"man-golfing",e:"🏌🏻‍♂️"},"1F3FC":{k:"man-golfing-1F3FC",n:"man-golfing",e:"🏌🏼‍♂️"},"1F3FD":{k:"man-golfing-1F3FD",n:"man-golfing",e:"🏌🏽‍♂️"},"1F3FE":{k:"man-golfing-1F3FE",n:"man-golfing",e:"🏌🏾‍♂️"},"1F3FF":{k:"man-golfing-1F3FF",n:"man-golfing",e:"🏌🏿‍♂️"}}},{n:["flag-england"],e:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",c:4},{n:["woman-golfing"],e:"🏌️‍♀️",c:1,v:{"1F3FB":{k:"woman-golfing-1F3FB",n:"woman-golfing",e:"🏌🏻‍♀️"},"1F3FC":{k:"woman-golfing-1F3FC",n:"woman-golfing",e:"🏌🏼‍♀️"},"1F3FD":{k:"woman-golfing-1F3FD",n:"woman-golfing",e:"🏌🏽‍♀️"},"1F3FE":{k:"woman-golfing-1F3FE",n:"woman-golfing",e:"🏌🏾‍♀️"},"1F3FF":{k:"woman-golfing-1F3FF",n:"woman-golfing",e:"🏌🏿‍♀️"}}},{n:["flag-scotland"],e:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",c:4},{n:["flag-wales"],e:"🏴󠁧󠁢󠁷󠁬󠁳󠁿",c:4},{n:["surfer"],e:"🏄",c:1,v:{"1F3FB":{k:"surfer-1F3FB",n:"surfer",e:"🏄🏻"},"1F3FC":{k:"surfer-1F3FC",n:"surfer",e:"🏄🏼"},"1F3FD":{k:"surfer-1F3FD",n:"surfer",e:"🏄🏽"},"1F3FE":{k:"surfer-1F3FE",n:"surfer",e:"🏄🏾"},"1F3FF":{k:"surfer-1F3FF",n:"surfer",e:"🏄🏿"}}},{n:["man-surfing"],e:"🏄‍♂️",c:1,v:{"1F3FB":{k:"man-surfing-1F3FB",n:"man-surfing",e:"🏄🏻‍♂️"},"1F3FC":{k:"man-surfing-1F3FC",n:"man-surfing",e:"🏄🏼‍♂️"},"1F3FD":{k:"man-surfing-1F3FD",n:"man-surfing",e:"🏄🏽‍♂️"},"1F3FE":{k:"man-surfing-1F3FE",n:"man-surfing",e:"🏄🏾‍♂️"},"1F3FF":{k:"man-surfing-1F3FF",n:"man-surfing",e:"🏄🏿‍♂️"}}},{n:["woman-surfing"],e:"🏄‍♀️",c:1,v:{"1F3FB":{k:"woman-surfing-1F3FB",n:"woman-surfing",e:"🏄🏻‍♀️"},"1F3FC":{k:"woman-surfing-1F3FC",n:"woman-surfing",e:"🏄🏼‍♀️"},"1F3FD":{k:"woman-surfing-1F3FD",n:"woman-surfing",e:"🏄🏽‍♀️"},"1F3FE":{k:"woman-surfing-1F3FE",n:"woman-surfing",e:"🏄🏾‍♀️"},"1F3FF":{k:"woman-surfing-1F3FF",n:"woman-surfing",e:"🏄🏿‍♀️"}}},{n:["rowboat"],e:"🚣",c:1,v:{"1F3FB":{k:"rowboat-1F3FB",n:"rowboat",e:"🚣🏻"},"1F3FC":{k:"rowboat-1F3FC",n:"rowboat",e:"🚣🏼"},"1F3FD":{k:"rowboat-1F3FD",n:"rowboat",e:"🚣🏽"},"1F3FE":{k:"rowboat-1F3FE",n:"rowboat",e:"🚣🏾"},"1F3FF":{k:"rowboat-1F3FF",n:"rowboat",e:"🚣🏿"}}},{n:["man-rowing-boat"],e:"🚣‍♂️",c:1,v:{"1F3FB":{k:"man-rowing-boat-1F3FB",n:"man-rowing-boat",e:"🚣🏻‍♂️"},"1F3FC":{k:"man-rowing-boat-1F3FC",n:"man-rowing-boat",e:"🚣🏼‍♂️"},"1F3FD":{k:"man-rowing-boat-1F3FD",n:"man-rowing-boat",e:"🚣🏽‍♂️"},"1F3FE":{k:"man-rowing-boat-1F3FE",n:"man-rowing-boat",e:"🚣🏾‍♂️"},"1F3FF":{k:"man-rowing-boat-1F3FF",n:"man-rowing-boat",e:"🚣🏿‍♂️"}}},{n:["woman-rowing-boat"],e:"🚣‍♀️",c:1,v:{"1F3FB":{k:"woman-rowing-boat-1F3FB",n:"woman-rowing-boat",e:"🚣🏻‍♀️"},"1F3FC":{k:"woman-rowing-boat-1F3FC",n:"woman-rowing-boat",e:"🚣🏼‍♀️"},"1F3FD":{k:"woman-rowing-boat-1F3FD",n:"woman-rowing-boat",e:"🚣🏽‍♀️"},"1F3FE":{k:"woman-rowing-boat-1F3FE",n:"woman-rowing-boat",e:"🚣🏾‍♀️"},"1F3FF":{k:"woman-rowing-boat-1F3FF",n:"woman-rowing-boat",e:"🚣🏿‍♀️"}}},{n:["swimmer"],e:"🏊",c:1,v:{"1F3FB":{k:"swimmer-1F3FB",n:"swimmer",e:"🏊🏻"},"1F3FC":{k:"swimmer-1F3FC",n:"swimmer",e:"🏊🏼"},"1F3FD":{k:"swimmer-1F3FD",n:"swimmer",e:"🏊🏽"},"1F3FE":{k:"swimmer-1F3FE",n:"swimmer",e:"🏊🏾"},"1F3FF":{k:"swimmer-1F3FF",n:"swimmer",e:"🏊🏿"}}},{n:["man-swimming"],e:"🏊‍♂️",c:1,v:{"1F3FB":{k:"man-swimming-1F3FB",n:"man-swimming",e:"🏊🏻‍♂️"},"1F3FC":{k:"man-swimming-1F3FC",n:"man-swimming",e:"🏊🏼‍♂️"},"1F3FD":{k:"man-swimming-1F3FD",n:"man-swimming",e:"🏊🏽‍♂️"},"1F3FE":{k:"man-swimming-1F3FE",n:"man-swimming",e:"🏊🏾‍♂️"},"1F3FF":{k:"man-swimming-1F3FF",n:"man-swimming",e:"🏊🏿‍♂️"}}},{n:["woman-swimming"],e:"🏊‍♀️",c:1,v:{"1F3FB":{k:"woman-swimming-1F3FB",n:"woman-swimming",e:"🏊🏻‍♀️"},"1F3FC":{k:"woman-swimming-1F3FC",n:"woman-swimming",e:"🏊🏼‍♀️"},"1F3FD":{k:"woman-swimming-1F3FD",n:"woman-swimming",e:"🏊🏽‍♀️"},"1F3FE":{k:"woman-swimming-1F3FE",n:"woman-swimming",e:"🏊🏾‍♀️"},"1F3FF":{k:"woman-swimming-1F3FF",n:"woman-swimming",e:"🏊🏿‍♀️"}}},{n:["person_with_ball"],e:"⛹️",c:1,v:{"1F3FB":{k:"person_with_ball-1F3FB",n:"person_with_ball",e:"⛹🏻"},"1F3FC":{k:"person_with_ball-1F3FC",n:"person_with_ball",e:"⛹🏼"},"1F3FD":{k:"person_with_ball-1F3FD",n:"person_with_ball",e:"⛹🏽"},"1F3FE":{k:"person_with_ball-1F3FE",n:"person_with_ball",e:"⛹🏾"},"1F3FF":{k:"person_with_ball-1F3FF",n:"person_with_ball",e:"⛹🏿"}}},{n:["man-bouncing-ball"],e:"⛹️‍♂️",c:1,v:{"1F3FB":{k:"man-bouncing-ball-1F3FB",n:"man-bouncing-ball",e:"⛹🏻‍♂️"},"1F3FC":{k:"man-bouncing-ball-1F3FC",n:"man-bouncing-ball",e:"⛹🏼‍♂️"},"1F3FD":{k:"man-bouncing-ball-1F3FD",n:"man-bouncing-ball",e:"⛹🏽‍♂️"},"1F3FE":{k:"man-bouncing-ball-1F3FE",n:"man-bouncing-ball",e:"⛹🏾‍♂️"},"1F3FF":{k:"man-bouncing-ball-1F3FF",n:"man-bouncing-ball",e:"⛹🏿‍♂️"}}},{n:["woman-bouncing-ball"],e:"⛹️‍♀️",c:1,v:{"1F3FB":{k:"woman-bouncing-ball-1F3FB",n:"woman-bouncing-ball",e:"⛹🏻‍♀️"},"1F3FC":{k:"woman-bouncing-ball-1F3FC",n:"woman-bouncing-ball",e:"⛹🏼‍♀️"},"1F3FD":{k:"woman-bouncing-ball-1F3FD",n:"woman-bouncing-ball",e:"⛹🏽‍♀️"},"1F3FE":{k:"woman-bouncing-ball-1F3FE",n:"woman-bouncing-ball",e:"⛹🏾‍♀️"},"1F3FF":{k:"woman-bouncing-ball-1F3FF",n:"woman-bouncing-ball",e:"⛹🏿‍♀️"}}},{n:["weight_lifter"],e:"🏋️",c:1,v:{"1F3FB":{k:"weight_lifter-1F3FB",n:"weight_lifter",e:"🏋🏻"},"1F3FC":{k:"weight_lifter-1F3FC",n:"weight_lifter",e:"🏋🏼"},"1F3FD":{k:"weight_lifter-1F3FD",n:"weight_lifter",e:"🏋🏽"},"1F3FE":{k:"weight_lifter-1F3FE",n:"weight_lifter",e:"🏋🏾"},"1F3FF":{k:"weight_lifter-1F3FF",n:"weight_lifter",e:"🏋🏿"}}},{n:["man-lifting-weights"],e:"🏋️‍♂️",c:1,v:{"1F3FB":{k:"man-lifting-weights-1F3FB",n:"man-lifting-weights",e:"🏋🏻‍♂️"},"1F3FC":{k:"man-lifting-weights-1F3FC",n:"man-lifting-weights",e:"🏋🏼‍♂️"},"1F3FD":{k:"man-lifting-weights-1F3FD",n:"man-lifting-weights",e:"🏋🏽‍♂️"},"1F3FE":{k:"man-lifting-weights-1F3FE",n:"man-lifting-weights",e:"🏋🏾‍♂️"},"1F3FF":{k:"man-lifting-weights-1F3FF",n:"man-lifting-weights",e:"🏋🏿‍♂️"}}},{n:["woman-lifting-weights"],e:"🏋️‍♀️",c:1,v:{"1F3FB":{k:"woman-lifting-weights-1F3FB",n:"woman-lifting-weights",e:"🏋🏻‍♀️"},"1F3FC":{k:"woman-lifting-weights-1F3FC",n:"woman-lifting-weights",e:"🏋🏼‍♀️"},"1F3FD":{k:"woman-lifting-weights-1F3FD",n:"woman-lifting-weights",e:"🏋🏽‍♀️"},"1F3FE":{k:"woman-lifting-weights-1F3FE",n:"woman-lifting-weights",e:"🏋🏾‍♀️"},"1F3FF":{k:"woman-lifting-weights-1F3FF",n:"woman-lifting-weights",e:"🏋🏿‍♀️"}}},{n:["bicyclist"],e:"🚴",c:1,v:{"1F3FB":{k:"bicyclist-1F3FB",n:"bicyclist",e:"🚴🏻"},"1F3FC":{k:"bicyclist-1F3FC",n:"bicyclist",e:"🚴🏼"},"1F3FD":{k:"bicyclist-1F3FD",n:"bicyclist",e:"🚴🏽"},"1F3FE":{k:"bicyclist-1F3FE",n:"bicyclist",e:"🚴🏾"},"1F3FF":{k:"bicyclist-1F3FF",n:"bicyclist",e:"🚴🏿"}}},{n:["man-biking"],e:"🚴‍♂️",c:1,v:{"1F3FB":{k:"man-biking-1F3FB",n:"man-biking",e:"🚴🏻‍♂️"},"1F3FC":{k:"man-biking-1F3FC",n:"man-biking",e:"🚴🏼‍♂️"},"1F3FD":{k:"man-biking-1F3FD",n:"man-biking",e:"🚴🏽‍♂️"},"1F3FE":{k:"man-biking-1F3FE",n:"man-biking",e:"🚴🏾‍♂️"},"1F3FF":{k:"man-biking-1F3FF",n:"man-biking",e:"🚴🏿‍♂️"}}},{n:["woman-biking"],e:"🚴‍♀️",c:1,v:{"1F3FB":{k:"woman-biking-1F3FB",n:"woman-biking",e:"🚴🏻‍♀️"},"1F3FC":{k:"woman-biking-1F3FC",n:"woman-biking",e:"🚴🏼‍♀️"},"1F3FD":{k:"woman-biking-1F3FD",n:"woman-biking",e:"🚴🏽‍♀️"},"1F3FE":{k:"woman-biking-1F3FE",n:"woman-biking",e:"🚴🏾‍♀️"},"1F3FF":{k:"woman-biking-1F3FF",n:"woman-biking",e:"🚴🏿‍♀️"}}},{n:["mountain_bicyclist"],e:"🚵",c:1,v:{"1F3FB":{k:"mountain_bicyclist-1F3FB",n:"mountain_bicyclist",e:"🚵🏻"},"1F3FC":{k:"mountain_bicyclist-1F3FC",n:"mountain_bicyclist",e:"🚵🏼"},"1F3FD":{k:"mountain_bicyclist-1F3FD",n:"mountain_bicyclist",e:"🚵🏽"},"1F3FE":{k:"mountain_bicyclist-1F3FE",n:"mountain_bicyclist",e:"🚵🏾"},"1F3FF":{k:"mountain_bicyclist-1F3FF",n:"mountain_bicyclist",e:"🚵🏿"}}},{n:["man-mountain-biking"],e:"🚵‍♂️",c:1,v:{"1F3FB":{k:"man-mountain-biking-1F3FB",n:"man-mountain-biking",e:"🚵🏻‍♂️"},"1F3FC":{k:"man-mountain-biking-1F3FC",n:"man-mountain-biking",e:"🚵🏼‍♂️"},"1F3FD":{k:"man-mountain-biking-1F3FD",n:"man-mountain-biking",e:"🚵🏽‍♂️"},"1F3FE":{k:"man-mountain-biking-1F3FE",n:"man-mountain-biking",e:"🚵🏾‍♂️"},"1F3FF":{k:"man-mountain-biking-1F3FF",n:"man-mountain-biking",e:"🚵🏿‍♂️"}}},{n:["woman-mountain-biking"],e:"🚵‍♀️",c:1,v:{"1F3FB":{k:"woman-mountain-biking-1F3FB",n:"woman-mountain-biking",e:"🚵🏻‍♀️"},"1F3FC":{k:"woman-mountain-biking-1F3FC",n:"woman-mountain-biking",e:"🚵🏼‍♀️"},"1F3FD":{k:"woman-mountain-biking-1F3FD",n:"woman-mountain-biking",e:"🚵🏽‍♀️"},"1F3FE":{k:"woman-mountain-biking-1F3FE",n:"woman-mountain-biking",e:"🚵🏾‍♀️"},"1F3FF":{k:"woman-mountain-biking-1F3FF",n:"woman-mountain-biking",e:"🚵🏿‍♀️"}}},{n:["racing_car"],e:"🏎️",c:1},{n:["racing_motorcycle"],e:"🏍️",c:1},{n:["person_doing_cartwheel"],e:"🤸",c:1,v:{"1F3FB":{k:"person_doing_cartwheel-1F3FB",n:"person_doing_cartwheel",e:"🤸🏻"},"1F3FC":{k:"person_doing_cartwheel-1F3FC",n:"person_doing_cartwheel",e:"🤸🏼"},"1F3FD":{k:"person_doing_cartwheel-1F3FD",n:"person_doing_cartwheel",e:"🤸🏽"},"1F3FE":{k:"person_doing_cartwheel-1F3FE",n:"person_doing_cartwheel",e:"🤸🏾"},"1F3FF":{k:"person_doing_cartwheel-1F3FF",n:"person_doing_cartwheel",e:"🤸🏿"}}},{n:["man-cartwheeling"],e:"🤸‍♂️",c:1,v:{"1F3FB":{k:"man-cartwheeling-1F3FB",n:"man-cartwheeling",e:"🤸🏻‍♂️"},"1F3FC":{k:"man-cartwheeling-1F3FC",n:"man-cartwheeling",e:"🤸🏼‍♂️"},"1F3FD":{k:"man-cartwheeling-1F3FD",n:"man-cartwheeling",e:"🤸🏽‍♂️"},"1F3FE":{k:"man-cartwheeling-1F3FE",n:"man-cartwheeling",e:"🤸🏾‍♂️"},"1F3FF":{k:"man-cartwheeling-1F3FF",n:"man-cartwheeling",e:"🤸🏿‍♂️"}}},{n:["woman-cartwheeling"],e:"🤸‍♀️",c:1,v:{"1F3FB":{k:"woman-cartwheeling-1F3FB",n:"woman-cartwheeling",e:"🤸🏻‍♀️"},"1F3FC":{k:"woman-cartwheeling-1F3FC",n:"woman-cartwheeling",e:"🤸🏼‍♀️"},"1F3FD":{k:"woman-cartwheeling-1F3FD",n:"woman-cartwheeling",e:"🤸🏽‍♀️"},"1F3FE":{k:"woman-cartwheeling-1F3FE",n:"woman-cartwheeling",e:"🤸🏾‍♀️"},"1F3FF":{k:"woman-cartwheeling-1F3FF",n:"woman-cartwheeling",e:"🤸🏿‍♀️"}}},{n:["wrestlers"],e:"🤼",c:1},{n:["man-wrestling"],e:"🤼‍♂️",c:1},{n:["woman-wrestling"],e:"🤼‍♀️",c:1},{n:["water_polo"],e:"🤽",c:1,v:{"1F3FB":{k:"water_polo-1F3FB",n:"water_polo",e:"🤽🏻"},"1F3FC":{k:"water_polo-1F3FC",n:"water_polo",e:"🤽🏼"},"1F3FD":{k:"water_polo-1F3FD",n:"water_polo",e:"🤽🏽"},"1F3FE":{k:"water_polo-1F3FE",n:"water_polo",e:"🤽🏾"},"1F3FF":{k:"water_polo-1F3FF",n:"water_polo",e:"🤽🏿"}}},{n:["man-playing-water-polo"],e:"🤽‍♂️",c:1,v:{"1F3FB":{k:"man-playing-water-polo-1F3FB",n:"man-playing-water-polo",e:"🤽🏻‍♂️"},"1F3FC":{k:"man-playing-water-polo-1F3FC",n:"man-playing-water-polo",e:"🤽🏼‍♂️"},"1F3FD":{k:"man-playing-water-polo-1F3FD",n:"man-playing-water-polo",e:"🤽🏽‍♂️"},"1F3FE":{k:"man-playing-water-polo-1F3FE",n:"man-playing-water-polo",e:"🤽🏾‍♂️"},"1F3FF":{k:"man-playing-water-polo-1F3FF",n:"man-playing-water-polo",e:"🤽🏿‍♂️"}}},{n:["woman-playing-water-polo"],e:"🤽‍♀️",c:1,v:{"1F3FB":{k:"woman-playing-water-polo-1F3FB",n:"woman-playing-water-polo",e:"🤽🏻‍♀️"},"1F3FC":{k:"woman-playing-water-polo-1F3FC",n:"woman-playing-water-polo",e:"🤽🏼‍♀️"},"1F3FD":{k:"woman-playing-water-polo-1F3FD",n:"woman-playing-water-polo",e:"🤽🏽‍♀️"},"1F3FE":{k:"woman-playing-water-polo-1F3FE",n:"woman-playing-water-polo",e:"🤽🏾‍♀️"},"1F3FF":{k:"woman-playing-water-polo-1F3FF",n:"woman-playing-water-polo",e:"🤽🏿‍♀️"}}},{n:["handball"],e:"🤾",c:1,v:{"1F3FB":{k:"handball-1F3FB",n:"handball",e:"🤾🏻"},"1F3FC":{k:"handball-1F3FC",n:"handball",e:"🤾🏼"},"1F3FD":{k:"handball-1F3FD",n:"handball",e:"🤾🏽"},"1F3FE":{k:"handball-1F3FE",n:"handball",e:"🤾🏾"},"1F3FF":{k:"handball-1F3FF",n:"handball",e:"🤾🏿"}}},{n:["man-playing-handball"],e:"🤾‍♂️",c:1,v:{"1F3FB":{k:"man-playing-handball-1F3FB",n:"man-playing-handball",e:"🤾🏻‍♂️"},"1F3FC":{k:"man-playing-handball-1F3FC",n:"man-playing-handball",e:"🤾🏼‍♂️"},"1F3FD":{k:"man-playing-handball-1F3FD",n:"man-playing-handball",e:"🤾🏽‍♂️"},"1F3FE":{k:"man-playing-handball-1F3FE",n:"man-playing-handball",e:"🤾🏾‍♂️"},"1F3FF":{k:"man-playing-handball-1F3FF",n:"man-playing-handball",e:"🤾🏿‍♂️"}}},{n:["woman-playing-handball"],e:"🤾‍♀️",c:1,v:{"1F3FB":{k:"woman-playing-handball-1F3FB",n:"woman-playing-handball",e:"🤾🏻‍♀️"},"1F3FC":{k:"woman-playing-handball-1F3FC",n:"woman-playing-handball",e:"🤾🏼‍♀️"},"1F3FD":{k:"woman-playing-handball-1F3FD",n:"woman-playing-handball",e:"🤾🏽‍♀️"},"1F3FE":{k:"woman-playing-handball-1F3FE",n:"woman-playing-handball",e:"🤾🏾‍♀️"},"1F3FF":{k:"woman-playing-handball-1F3FF",n:"woman-playing-handball",e:"🤾🏿‍♀️"}}},{n:["juggling"],e:"🤹",c:1,v:{"1F3FB":{k:"juggling-1F3FB",n:"juggling",e:"🤹🏻"},"1F3FC":{k:"juggling-1F3FC",n:"juggling",e:"🤹🏼"},"1F3FD":{k:"juggling-1F3FD",n:"juggling",e:"🤹🏽"},"1F3FE":{k:"juggling-1F3FE",n:"juggling",e:"🤹🏾"},"1F3FF":{k:"juggling-1F3FF",n:"juggling",e:"🤹🏿"}}},{n:["man-juggling"],e:"🤹‍♂️",c:1,v:{"1F3FB":{k:"man-juggling-1F3FB",n:"man-juggling",e:"🤹🏻‍♂️"},"1F3FC":{k:"man-juggling-1F3FC",n:"man-juggling",e:"🤹🏼‍♂️"},"1F3FD":{k:"man-juggling-1F3FD",n:"man-juggling",e:"🤹🏽‍♂️"},"1F3FE":{k:"man-juggling-1F3FE",n:"man-juggling",e:"🤹🏾‍♂️"},"1F3FF":{k:"man-juggling-1F3FF",n:"man-juggling",e:"🤹🏿‍♂️"}}},{n:["woman-juggling"],e:"🤹‍♀️",c:1,v:{"1F3FB":{k:"woman-juggling-1F3FB",n:"woman-juggling",e:"🤹🏻‍♀️"},"1F3FC":{k:"woman-juggling-1F3FC",n:"woman-juggling",e:"🤹🏼‍♀️"},"1F3FD":{k:"woman-juggling-1F3FD",n:"woman-juggling",e:"🤹🏽‍♀️"},"1F3FE":{k:"woman-juggling-1F3FE",n:"woman-juggling",e:"🤹🏾‍♀️"},"1F3FF":{k:"woman-juggling-1F3FF",n:"woman-juggling",e:"🤹🏿‍♀️"}}},{n:["couple","man_and_woman_holding_hands"],e:"👫",c:1},{n:["two_men_holding_hands"],e:"👬",c:1},{n:["two_women_holding_hands"],e:"👭",c:1},{n:["couplekiss"],e:"💏",c:1},{n:["woman-kiss-man"],e:"👩‍❤️‍💋‍👨",c:1},{n:["man-kiss-man"],e:"👨‍❤️‍💋‍👨",c:1},{n:["woman-kiss-woman"],e:"👩‍❤️‍💋‍👩",c:1},{n:["couple_with_heart"],e:"💑",c:1},{n:["woman-heart-man"],e:"👩‍❤️‍👨",c:1},{n:["man-heart-man"],e:"👨‍❤️‍👨",c:1},{n:["woman-heart-woman"],e:"👩‍❤️‍👩",c:1},{n:["family","man-woman-boy"],e:"👪",c:1},{n:["man-woman-boy","family"],e:"👨‍👩‍👦",c:1},{n:["man-woman-girl"],e:"👨‍👩‍👧",c:1},{n:["man-woman-girl-boy"],e:"👨‍👩‍👧‍👦",c:1},{n:["man-woman-boy-boy"],e:"👨‍👩‍👦‍👦",c:1},{n:["man-woman-girl-girl"],e:"👨‍👩‍👧‍👧",c:1},{n:["man-man-boy"],e:"👨‍👨‍👦",c:1},{n:["man-man-girl"],e:"👨‍👨‍👧",c:1},{n:["man-man-girl-boy"],e:"👨‍👨‍👧‍👦",c:1},{n:["man-man-boy-boy"],e:"👨‍👨‍👦‍👦",c:1},{n:["man-man-girl-girl"],e:"👨‍👨‍👧‍👧",c:1},{n:["woman-woman-boy"],e:"👩‍👩‍👦",c:1},{n:["woman-woman-girl"],e:"👩‍👩‍👧",c:1},{n:["woman-woman-girl-boy"],e:"👩‍👩‍👧‍👦",c:1},{n:["woman-woman-boy-boy"],e:"👩‍👩‍👦‍👦",c:1},{n:["woman-woman-girl-girl"],e:"👩‍👩‍👧‍👧",c:1},{n:["man-boy"],e:"👨‍👦",c:1},{n:["man-boy-boy"],e:"👨‍👦‍👦",c:1},{n:["man-girl"],e:"👨‍👧",c:1},{n:["man-girl-boy"],e:"👨‍👧‍👦",c:1},{n:["man-girl-girl"],e:"👨‍👧‍👧",c:1},{n:["woman-boy"],e:"👩‍👦",c:1},{n:["woman-boy-boy"],e:"👩‍👦‍👦",c:1},{n:["woman-girl"],e:"👩‍👧",c:1},{n:["woman-girl-boy"],e:"👩‍👧‍👦",c:1},{n:["woman-girl-girl"],e:"👩‍👧‍👧",c:1},{n:["selfie"],e:"🤳",c:1,v:{"1F3FB":{k:"selfie-1F3FB",n:"selfie",e:"🤳🏻"},"1F3FC":{k:"selfie-1F3FC",n:"selfie",e:"🤳🏼"},"1F3FD":{k:"selfie-1F3FD",n:"selfie",e:"🤳🏽"},"1F3FE":{k:"selfie-1F3FE",n:"selfie",e:"🤳🏾"},"1F3FF":{k:"selfie-1F3FF",n:"selfie",e:"🤳🏿"}}},{n:["muscle"],e:"💪",c:1,v:{"1F3FB":{k:"muscle-1F3FB",n:"muscle",e:"💪🏻"},"1F3FC":{k:"muscle-1F3FC",n:"muscle",e:"💪🏼"},"1F3FD":{k:"muscle-1F3FD",n:"muscle",e:"💪🏽"},"1F3FE":{k:"muscle-1F3FE",n:"muscle",e:"💪🏾"},"1F3FF":{k:"muscle-1F3FF",n:"muscle",e:"💪🏿"}}},{n:["point_left"],e:"👈",c:1,v:{"1F3FB":{k:"point_left-1F3FB",n:"point_left",e:"👈🏻"},"1F3FC":{k:"point_left-1F3FC",n:"point_left",e:"👈🏼"},"1F3FD":{k:"point_left-1F3FD",n:"point_left",e:"👈🏽"},"1F3FE":{k:"point_left-1F3FE",n:"point_left",e:"👈🏾"},"1F3FF":{k:"point_left-1F3FF",n:"point_left",e:"👈🏿"}}},{n:["point_right"],e:"👉",c:1,v:{"1F3FB":{k:"point_right-1F3FB",n:"point_right",e:"👉🏻"},"1F3FC":{k:"point_right-1F3FC",n:"point_right",e:"👉🏼"},"1F3FD":{k:"point_right-1F3FD",n:"point_right",e:"👉🏽"},"1F3FE":{k:"point_right-1F3FE",n:"point_right",e:"👉🏾"},"1F3FF":{k:"point_right-1F3FF",n:"point_right",e:"👉🏿"}}},{n:["point_up"],e:"☝️",c:1,v:{"1F3FB":{k:"point_up-1F3FB",n:"point_up",e:"☝🏻"},"1F3FC":{k:"point_up-1F3FC",n:"point_up",e:"☝🏼"},"1F3FD":{k:"point_up-1F3FD",n:"point_up",e:"☝🏽"},"1F3FE":{k:"point_up-1F3FE",n:"point_up",e:"☝🏾"},"1F3FF":{k:"point_up-1F3FF",n:"point_up",e:"☝🏿"}}},{n:["point_up_2"],e:"👆",c:1,v:{"1F3FB":{k:"point_up_2-1F3FB",n:"point_up_2",e:"👆🏻"},"1F3FC":{k:"point_up_2-1F3FC",n:"point_up_2",e:"👆🏼"},"1F3FD":{k:"point_up_2-1F3FD",n:"point_up_2",e:"👆🏽"},"1F3FE":{k:"point_up_2-1F3FE",n:"point_up_2",e:"👆🏾"},"1F3FF":{k:"point_up_2-1F3FF",n:"point_up_2",e:"👆🏿"}}},{n:["middle_finger","reversed_hand_with_middle_finger_extended"],e:"🖕",c:1,v:{"1F3FB":{k:"middle_finger-1F3FB",n:"middle_finger",e:"🖕🏻"},"1F3FC":{k:"middle_finger-1F3FC",n:"middle_finger",e:"🖕🏼"},"1F3FD":{k:"middle_finger-1F3FD",n:"middle_finger",e:"🖕🏽"},"1F3FE":{k:"middle_finger-1F3FE",n:"middle_finger",e:"🖕🏾"},"1F3FF":{k:"middle_finger-1F3FF",n:"middle_finger",e:"🖕🏿"}}},{n:["point_down"],e:"👇",c:1,v:{"1F3FB":{k:"point_down-1F3FB",n:"point_down",e:"👇🏻"},"1F3FC":{k:"point_down-1F3FC",n:"point_down",e:"👇🏼"},"1F3FD":{k:"point_down-1F3FD",n:"point_down",e:"👇🏽"},"1F3FE":{k:"point_down-1F3FE",n:"point_down",e:"👇🏾"},"1F3FF":{k:"point_down-1F3FF",n:"point_down",e:"👇🏿"}}},{n:["v"],e:"✌️",c:1,v:{"1F3FB":{k:"v-1F3FB",n:"v",e:"✌🏻"},"1F3FC":{k:"v-1F3FC",n:"v",e:"✌🏼"},"1F3FD":{k:"v-1F3FD",n:"v",e:"✌🏽"},"1F3FE":{k:"v-1F3FE",n:"v",e:"✌🏾"},"1F3FF":{k:"v-1F3FF",n:"v",e:"✌🏿"}}},{n:["crossed_fingers","hand_with_index_and_middle_fingers_crossed"],e:"🤞",c:1,v:{"1F3FB":{k:"crossed_fingers-1F3FB",n:"crossed_fingers",e:"🤞🏻"},"1F3FC":{k:"crossed_fingers-1F3FC",n:"crossed_fingers",e:"🤞🏼"},"1F3FD":{k:"crossed_fingers-1F3FD",n:"crossed_fingers",e:"🤞🏽"},"1F3FE":{k:"crossed_fingers-1F3FE",n:"crossed_fingers",e:"🤞🏾"},"1F3FF":{k:"crossed_fingers-1F3FF",n:"crossed_fingers",e:"🤞🏿"}}},{n:["spock-hand"],e:"🖖",c:1,v:{"1F3FB":{k:"spock-hand-1F3FB",n:"spock-hand",e:"🖖🏻"},"1F3FC":{k:"spock-hand-1F3FC",n:"spock-hand",e:"🖖🏼"},"1F3FD":{k:"spock-hand-1F3FD",n:"spock-hand",e:"🖖🏽"},"1F3FE":{k:"spock-hand-1F3FE",n:"spock-hand",e:"🖖🏾"},"1F3FF":{k:"spock-hand-1F3FF",n:"spock-hand",e:"🖖🏿"}}},{n:["the_horns","sign_of_the_horns"],e:"🤘",c:1,v:{"1F3FB":{k:"the_horns-1F3FB",n:"the_horns",e:"🤘🏻"},"1F3FC":{k:"the_horns-1F3FC",n:"the_horns",e:"🤘🏼"},"1F3FD":{k:"the_horns-1F3FD",n:"the_horns",e:"🤘🏽"},"1F3FE":{k:"the_horns-1F3FE",n:"the_horns",e:"🤘🏾"},"1F3FF":{k:"the_horns-1F3FF",n:"the_horns",e:"🤘🏿"}}},{n:["call_me_hand"],e:"🤙",c:1,v:{"1F3FB":{k:"call_me_hand-1F3FB",n:"call_me_hand",e:"🤙🏻"},"1F3FC":{k:"call_me_hand-1F3FC",n:"call_me_hand",e:"🤙🏼"},"1F3FD":{k:"call_me_hand-1F3FD",n:"call_me_hand",e:"🤙🏽"},"1F3FE":{k:"call_me_hand-1F3FE",n:"call_me_hand",e:"🤙🏾"},"1F3FF":{k:"call_me_hand-1F3FF",n:"call_me_hand",e:"🤙🏿"}}},{n:["raised_hand_with_fingers_splayed"],e:"🖐️",c:1,v:{"1F3FB":{k:"raised_hand_with_fingers_splayed-1F3FB",n:"raised_hand_with_fingers_splayed",e:"🖐🏻"},"1F3FC":{k:"raised_hand_with_fingers_splayed-1F3FC",n:"raised_hand_with_fingers_splayed",e:"🖐🏼"},"1F3FD":{k:"raised_hand_with_fingers_splayed-1F3FD",n:"raised_hand_with_fingers_splayed",e:"🖐🏽"},"1F3FE":{k:"raised_hand_with_fingers_splayed-1F3FE",n:"raised_hand_with_fingers_splayed",e:"🖐🏾"},"1F3FF":{k:"raised_hand_with_fingers_splayed-1F3FF",n:"raised_hand_with_fingers_splayed",e:"🖐🏿"}}},{n:["hand","raised_hand"],e:"✋",c:1,v:{"1F3FB":{k:"hand-1F3FB",n:"hand",e:"✋🏻"},"1F3FC":{k:"hand-1F3FC",n:"hand",e:"✋🏼"},"1F3FD":{k:"hand-1F3FD",n:"hand",e:"✋🏽"},"1F3FE":{k:"hand-1F3FE",n:"hand",e:"✋🏾"},"1F3FF":{k:"hand-1F3FF",n:"hand",e:"✋🏿"}}},{n:["ok_hand"],e:"👌",c:1,v:{"1F3FB":{k:"ok_hand-1F3FB",n:"ok_hand",e:"👌🏻"},"1F3FC":{k:"ok_hand-1F3FC",n:"ok_hand",e:"👌🏼"},"1F3FD":{k:"ok_hand-1F3FD",n:"ok_hand",e:"👌🏽"},"1F3FE":{k:"ok_hand-1F3FE",n:"ok_hand",e:"👌🏾"},"1F3FF":{k:"ok_hand-1F3FF",n:"ok_hand",e:"👌🏿"}}},{n:["+1","thumbsup"],e:"👍",c:1,v:{"1F3FB":{k:"+1-1F3FB",n:"+1",e:"👍🏻"},"1F3FC":{k:"+1-1F3FC",n:"+1",e:"👍🏼"},"1F3FD":{k:"+1-1F3FD",n:"+1",e:"👍🏽"},"1F3FE":{k:"+1-1F3FE",n:"+1",e:"👍🏾"},"1F3FF":{k:"+1-1F3FF",n:"+1",e:"👍🏿"}}},{n:["-1","thumbsdown"],e:"👎",c:1,v:{"1F3FB":{k:"-1-1F3FB",n:"-1",e:"👎🏻"},"1F3FC":{k:"-1-1F3FC",n:"-1",e:"👎🏼"},"1F3FD":{k:"-1-1F3FD",n:"-1",e:"👎🏽"},"1F3FE":{k:"-1-1F3FE",n:"-1",e:"👎🏾"},"1F3FF":{k:"-1-1F3FF",n:"-1",e:"👎🏿"}}},{n:["fist"],e:"✊",c:1,v:{"1F3FB":{k:"fist-1F3FB",n:"fist",e:"✊🏻"},"1F3FC":{k:"fist-1F3FC",n:"fist",e:"✊🏼"},"1F3FD":{k:"fist-1F3FD",n:"fist",e:"✊🏽"},"1F3FE":{k:"fist-1F3FE",n:"fist",e:"✊🏾"},"1F3FF":{k:"fist-1F3FF",n:"fist",e:"✊🏿"}}},{n:["facepunch","punch"],e:"👊",c:1,v:{"1F3FB":{k:"facepunch-1F3FB",n:"facepunch",e:"👊🏻"},"1F3FC":{k:"facepunch-1F3FC",n:"facepunch",e:"👊🏼"},"1F3FD":{k:"facepunch-1F3FD",n:"facepunch",e:"👊🏽"},"1F3FE":{k:"facepunch-1F3FE",n:"facepunch",e:"👊🏾"},"1F3FF":{k:"facepunch-1F3FF",n:"facepunch",e:"👊🏿"}}},{n:["left-facing_fist"],e:"🤛",c:1,v:{"1F3FB":{k:"left-facing_fist-1F3FB",n:"left-facing_fist",e:"🤛🏻"},"1F3FC":{k:"left-facing_fist-1F3FC",n:"left-facing_fist",e:"🤛🏼"},"1F3FD":{k:"left-facing_fist-1F3FD",n:"left-facing_fist",e:"🤛🏽"},"1F3FE":{k:"left-facing_fist-1F3FE",n:"left-facing_fist",e:"🤛🏾"},"1F3FF":{k:"left-facing_fist-1F3FF",n:"left-facing_fist",e:"🤛🏿"}}},{n:["right-facing_fist"],e:"🤜",c:1,v:{"1F3FB":{k:"right-facing_fist-1F3FB",n:"right-facing_fist",e:"🤜🏻"},"1F3FC":{k:"right-facing_fist-1F3FC",n:"right-facing_fist",e:"🤜🏼"},"1F3FD":{k:"right-facing_fist-1F3FD",n:"right-facing_fist",e:"🤜🏽"},"1F3FE":{k:"right-facing_fist-1F3FE",n:"right-facing_fist",e:"🤜🏾"},"1F3FF":{k:"right-facing_fist-1F3FF",n:"right-facing_fist",e:"🤜🏿"}}},{n:["raised_back_of_hand"],e:"🤚",c:1,v:{"1F3FB":{k:"raised_back_of_hand-1F3FB",n:"raised_back_of_hand",e:"🤚🏻"},"1F3FC":{k:"raised_back_of_hand-1F3FC",n:"raised_back_of_hand",e:"🤚🏼"},"1F3FD":{k:"raised_back_of_hand-1F3FD",n:"raised_back_of_hand",e:"🤚🏽"},"1F3FE":{k:"raised_back_of_hand-1F3FE",n:"raised_back_of_hand",e:"🤚🏾"},"1F3FF":{k:"raised_back_of_hand-1F3FF",n:"raised_back_of_hand",e:"🤚🏿"}}},{n:["wave"],e:"👋",c:1,v:{"1F3FB":{k:"wave-1F3FB",n:"wave",e:"👋🏻"},"1F3FC":{k:"wave-1F3FC",n:"wave",e:"👋🏼"},"1F3FD":{k:"wave-1F3FD",n:"wave",e:"👋🏽"},"1F3FE":{k:"wave-1F3FE",n:"wave",e:"👋🏾"},"1F3FF":{k:"wave-1F3FF",n:"wave",e:"👋🏿"}}},{n:["i_love_you_hand_sign"],e:"🤟",c:1,v:{"1F3FB":{k:"i_love_you_hand_sign-1F3FB",n:"i_love_you_hand_sign",e:"🤟🏻"},"1F3FC":{k:"i_love_you_hand_sign-1F3FC",n:"i_love_you_hand_sign",e:"🤟🏼"},"1F3FD":{k:"i_love_you_hand_sign-1F3FD",n:"i_love_you_hand_sign",e:"🤟🏽"},"1F3FE":{k:"i_love_you_hand_sign-1F3FE",n:"i_love_you_hand_sign",e:"🤟🏾"},"1F3FF":{k:"i_love_you_hand_sign-1F3FF",n:"i_love_you_hand_sign",e:"🤟🏿"}}},{n:["writing_hand"],e:"✍️",c:1,v:{"1F3FB":{k:"writing_hand-1F3FB",n:"writing_hand",e:"✍🏻"},"1F3FC":{k:"writing_hand-1F3FC",n:"writing_hand",e:"✍🏼"},"1F3FD":{k:"writing_hand-1F3FD",n:"writing_hand",e:"✍🏽"},"1F3FE":{k:"writing_hand-1F3FE",n:"writing_hand",e:"✍🏾"},"1F3FF":{k:"writing_hand-1F3FF",n:"writing_hand",e:"✍🏿"}}},{n:["clap"],e:"👏",c:1,v:{"1F3FB":{k:"clap-1F3FB",n:"clap",e:"👏🏻"},"1F3FC":{k:"clap-1F3FC",n:"clap",e:"👏🏼"},"1F3FD":{k:"clap-1F3FD",n:"clap",e:"👏🏽"},"1F3FE":{k:"clap-1F3FE",n:"clap",e:"👏🏾"},"1F3FF":{k:"clap-1F3FF",n:"clap",e:"👏🏿"}}},{n:["open_hands"],e:"👐",c:1,v:{"1F3FB":{k:"open_hands-1F3FB",n:"open_hands",e:"👐🏻"},"1F3FC":{k:"open_hands-1F3FC",n:"open_hands",e:"👐🏼"},"1F3FD":{k:"open_hands-1F3FD",n:"open_hands",e:"👐🏽"},"1F3FE":{k:"open_hands-1F3FE",n:"open_hands",e:"👐🏾"},"1F3FF":{k:"open_hands-1F3FF",n:"open_hands",e:"👐🏿"}}},{n:["raised_hands"],e:"🙌",c:1,v:{"1F3FB":{k:"raised_hands-1F3FB",n:"raised_hands",e:"🙌🏻"},"1F3FC":{k:"raised_hands-1F3FC",n:"raised_hands",e:"🙌🏼"},"1F3FD":{k:"raised_hands-1F3FD",n:"raised_hands",e:"🙌🏽"},"1F3FE":{k:"raised_hands-1F3FE",n:"raised_hands",e:"🙌🏾"},"1F3FF":{k:"raised_hands-1F3FF",n:"raised_hands",e:"🙌🏿"}}},{n:["palms_up_together"],e:"🤲",c:1,v:{"1F3FB":{k:"palms_up_together-1F3FB",n:"palms_up_together",e:"🤲🏻"},"1F3FC":{k:"palms_up_together-1F3FC",n:"palms_up_together",e:"🤲🏼"},"1F3FD":{k:"palms_up_together-1F3FD",n:"palms_up_together",e:"🤲🏽"},"1F3FE":{k:"palms_up_together-1F3FE",n:"palms_up_together",e:"🤲🏾"},"1F3FF":{k:"palms_up_together-1F3FF",n:"palms_up_together",e:"🤲🏿"}}},{n:["pray"],e:"🙏",c:1,v:{"1F3FB":{k:"pray-1F3FB",n:"pray",e:"🙏🏻"},"1F3FC":{k:"pray-1F3FC",n:"pray",e:"🙏🏼"},"1F3FD":{k:"pray-1F3FD",n:"pray",e:"🙏🏽"},"1F3FE":{k:"pray-1F3FE",n:"pray",e:"🙏🏾"},"1F3FF":{k:"pray-1F3FF",n:"pray",e:"🙏🏿"}}},{n:["handshake"],e:"🤝",c:1},{n:["nail_care"],e:"💅",c:1,v:{"1F3FB":{k:"nail_care-1F3FB",n:"nail_care",e:"💅🏻"},"1F3FC":{k:"nail_care-1F3FC",n:"nail_care",e:"💅🏼"},"1F3FD":{k:"nail_care-1F3FD",n:"nail_care",e:"💅🏽"},"1F3FE":{k:"nail_care-1F3FE",n:"nail_care",e:"💅🏾"},"1F3FF":{k:"nail_care-1F3FF",n:"nail_care",e:"💅🏿"}}},{n:["ear"],e:"👂",c:1,v:{"1F3FB":{k:"ear-1F3FB",n:"ear",e:"👂🏻"},"1F3FC":{k:"ear-1F3FC",n:"ear",e:"👂🏼"},"1F3FD":{k:"ear-1F3FD",n:"ear",e:"👂🏽"},"1F3FE":{k:"ear-1F3FE",n:"ear",e:"👂🏾"},"1F3FF":{k:"ear-1F3FF",n:"ear",e:"👂🏿"}}},{n:["nose"],e:"👃",c:1,v:{"1F3FB":{k:"nose-1F3FB",n:"nose",e:"👃🏻"},"1F3FC":{k:"nose-1F3FC",n:"nose",e:"👃🏼"},"1F3FD":{k:"nose-1F3FD",n:"nose",e:"👃🏽"},"1F3FE":{k:"nose-1F3FE",n:"nose",e:"👃🏾"},"1F3FF":{k:"nose-1F3FF",n:"nose",e:"👃🏿"}}},{n:["footprints"],e:"👣",c:1},{n:["eyes"],e:"👀",c:1},{n:["eye"],e:"👁️",c:1},{n:["eye-in-speech-bubble"],e:"👁️‍🗨️",c:1},{n:["brain"],e:"🧠",c:1},{n:["tongue"],e:"👅",c:1},{n:["lips"],e:"👄",c:1},{n:["kiss"],e:"💋",c:1},{n:["cupid"],e:"💘",c:1},{n:["heart"],e:"❤️",c:1},{n:["heartbeat"],e:"💓",c:1},{n:["broken_heart"],e:"💔",c:1},{n:["two_hearts"],e:"💕",c:1},{n:["sparkling_heart"],e:"💖",c:1},{n:["heartpulse"],e:"💗",c:1},{n:["blue_heart"],e:"💙",c:1},{n:["green_heart"],e:"💚",c:1},{n:["yellow_heart"],e:"💛",c:1},{n:["orange_heart"],e:"🧡",c:1},{n:["purple_heart"],e:"💜",c:1},{n:["black_heart"],e:"🖤",c:1},{n:["gift_heart"],e:"💝",c:1},{n:["revolving_hearts"],e:"💞",c:1},{n:["heart_decoration"],e:"💟",c:1},{n:["heavy_heart_exclamation_mark_ornament"],e:"❣️",c:1},{n:["love_letter"],e:"💌",c:1},{n:["zzz"],e:"💤",c:1},{n:["anger"],e:"💢",c:1},{n:["bomb"],e:"💣",c:1},{n:["boom","collision"],e:"💥",c:1},{n:["sweat_drops"],e:"💦",c:1},{n:["dash"],e:"💨",c:1},{n:["dizzy"],e:"💫",c:1},{n:["speech_balloon"],e:"💬",c:1},{n:["left_speech_bubble"],e:"🗨️",c:1},{n:["right_anger_bubble"],e:"🗯️",c:1},{n:["thought_balloon"],e:"💭",c:1},{n:["hole"],e:"🕳️",c:1},{n:["eyeglasses"],e:"👓",c:1},{n:["dark_sunglasses"],e:"🕶️",c:1},{n:["necktie"],e:"👔",c:1},{n:["shirt","tshirt"],e:"👕",c:1},{n:["jeans"],e:"👖",c:1},{n:["scarf"],e:"🧣",c:1},{n:["gloves"],e:"🧤",c:1},{n:["coat"],e:"🧥",c:1},{n:["socks"],e:"🧦",c:1},{n:["dress"],e:"👗",c:1},{n:["kimono"],e:"👘",c:1},{n:["bikini"],e:"👙",c:1},{n:["womans_clothes"],e:"👚",c:1},{n:["purse"],e:"👛",c:1},{n:["handbag"],e:"👜",c:1},{n:["pouch"],e:"👝",c:1},{n:["shopping_bags"],e:"🛍️",c:1},{n:["school_satchel"],e:"🎒",c:1},{n:["mans_shoe","shoe"],e:"👞",c:1},{n:["athletic_shoe"],e:"👟",c:1},{n:["high_heel"],e:"👠",c:1},{n:["sandal"],e:"👡",c:1},{n:["boot"],e:"👢",c:1},{n:["crown"],e:"👑",c:1},{n:["womans_hat"],e:"👒",c:1},{n:["tophat"],e:"🎩",c:1},{n:["mortar_board"],e:"🎓",c:1},{n:["billed_cap"],e:"🧢",c:1},{n:["helmet_with_white_cross"],e:"⛑️",c:1},{n:["prayer_beads"],e:"📿",c:1},{n:["lipstick"],e:"💄",c:1},{n:["ring"],e:"💍",c:1},{n:["gem"],e:"💎",c:1}],Ue="emoji",He="showTabs",qe="hideTabs",We="showSearchResults",Ke="showPreview",$e="hidePreview",Ve="hideVariantPopup",Ge=function(){function e(e){this.events=e}return t(e,[{key:"render",value:function(){var e=this,t=J("div","emoji-picker__preview");return this.emoji=J("div","emoji-picker__preview-emoji"),t.appendChild(this.emoji),this.name=J("div","emoji-picker__preview-name"),t.appendChild(this.name),this.events.on(Ke,(function(t){return e.showPreview(t)})),this.events.on($e,(function(){return e.hidePreview()})),t}},{key:"showPreview",value:function(e){this.emoji.innerHTML=e.e,this.name.innerHTML=Z(e)}},{key:"hidePreview",value:function(){this.emoji.innerHTML="",this.name.innerHTML=""}}]),e}(),Ye={},Je={};try{"undefined"!=typeof window&&(Ye=window),"undefined"!=typeof document&&(Je=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&performance}catch(e){}var Qe=(Ye.navigator||{}).userAgent,Ze=void 0===Qe?"":Qe,Xe=Ye,et=Je,tt=!!et.documentElement&&!!et.head&&"function"==typeof et.addEventListener&&"function"==typeof et.createElement,nt=(~Ze.indexOf("MSIE")||Ze.indexOf("Trident/"),"svg-inline--fa"),rt="group",it="primary",ot="secondary",at=Xe.FontAwesomeConfig||{};et&&"function"==typeof et.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=ne(e,2),n=t[1],r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=et.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t[0]));null!=r&&(at[n]=r)}));var ct=te({},{familyPrefix:"fa",replacementClass:nt,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},at);ct.autoReplaceSvg||(ct.observeMutations=!1);var st=te({},ct);Xe.FontAwesomeConfig=st;var ut=Xe||{};ut.___FONT_AWESOME___||(ut.___FONT_AWESOME___={}),ut.___FONT_AWESOME___.styles||(ut.___FONT_AWESOME___.styles={}),ut.___FONT_AWESOME___.hooks||(ut.___FONT_AWESOME___.hooks={}),ut.___FONT_AWESOME___.shims||(ut.___FONT_AWESOME___.shims=[]);var lt=ut.___FONT_AWESOME___,ft=[];tt&&((et.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(et.readyState)||et.addEventListener("DOMContentLoaded",(function e(){et.removeEventListener("DOMContentLoaded",e),ft.map((function(e){return e()}))})));var pt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},ht={x:0,y:0,width:"100%",height:"100%"},dt=function(e,t,n,r){var i,o,a,c=Object.keys(e),s=c.length,u=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[c[0]]):(i=0,a=n);i<s;i++)a=u(a,e[o=c[i]],o,e);return a},gt=lt.styles,mt=lt.shims,yt=function(){var e=function(e){return dt(gt,(function(t,n,r){return t[r]=dt(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in gt;dt(mt,(function(e,n){var r=n[1];return"far"!==r||t||(r="fas"),e[n[0]]={prefix:r,iconName:n[2]},e}),{})};yt(),(he.prototype=Object.create(Error.prototype)).constructor=he;var vt,bt={fill:"currentColor"},_t={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},wt=(te({},bt,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),te({},_t,{attributeName:"opacity"})),Ft=(te({},bt,{cx:"256",cy:"364",r:"28"}),te({},_t,{attributeName:"r",values:"28;14;28;28;14;28;"}),te({},wt,{values:"1;0;1;1;0;1;"}),te({},bt,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),te({},wt,{values:"1;0;0;0;0;1;"}),te({},bt,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),te({},wt,{values:"0;0;1;1;0;0;"}),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=te({},e.definitions[t]||{},i[t]),le(t,i[t]),yt()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,o=r.iconName,a=r.icon;e[i]||(e[i]={}),e[i][o]=a})),e}}],n&&X(t.prototype,n),r&&X(t,r),e}()),kt=new Ft,xt=!1,Ct=(vt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?pt:n,i=t.symbol,o=void 0!==i&&i,a=t.mask,c=void 0===a?null:a,s=t.title,u=void 0===s?null:s,l=t.classes,f=void 0===l?[]:l,p=t.attributes,h=void 0===p?{}:p,d=t.styles,g=void 0===d?{}:d;if(e){var m=e.prefix,y=e.iconName,v=e.icon;return me(te({type:"icon"},e),(function(){return ge(),st.autoA11y&&(u?h["aria-labelledby"]="".concat(st.replacementClass,"-title-").concat(re()):(h["aria-hidden"]="true",h.focusable="false")),ue({icons:{main:de(v),mask:c?de(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:m,iconName:y,transform:te({},pt,r),symbol:o,title:u,extra:{attributes:h,styles:g,classes:f}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:ye(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:ye(r||{})),vt(n,te({},t,{mask:r}))});kt.add({prefix:"far",iconName:"building",icon:[448,512,[],"f1ad","M128 148v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12zm140 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-128 96h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm128 0h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-76 84v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm76 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm180 124v36H0v-36c0-6.6 5.4-12 12-12h19.5V24c0-13.3 10.7-24 24-24h337c13.3 0 24 10.7 24 24v440H436c6.6 0 12 5.4 12 12zM79.5 463H192v-67c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v67h112.5V49L80 48l-.5 415z"]},{prefix:"fas",iconName:"cat",icon:[512,512,[],"f6be","M290.59 192c-20.18 0-106.82 1.98-162.59 85.95V192c0-52.94-43.06-96-96-96-17.67 0-32 14.33-32 32s14.33 32 32 32c17.64 0 32 14.36 32 32v256c0 35.3 28.7 64 64 64h176c8.84 0 16-7.16 16-16v-16c0-17.67-14.33-32-32-32h-32l128-96v144c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V289.86c-10.29 2.67-20.89 4.54-32 4.54-61.81 0-113.52-44.05-125.41-102.4zM448 96h-64l-64-64v134.4c0 53.02 42.98 96 96 96s96-42.98 96-96V32l-64 64zm-72 80c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zm80 0c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16z"]},{prefix:"fas",iconName:"coffee",icon:[640,512,[],"f0f4","M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z"]},{prefix:"far",iconName:"flag",icon:[512,512,[],"f024","M336.174 80c-49.132 0-93.305-32-161.913-32-31.301 0-58.303 6.482-80.721 15.168a48.04 48.04 0 0 0 2.142-20.727C93.067 19.575 74.167 1.594 51.201.104 23.242-1.71 0 20.431 0 48c0 17.764 9.657 33.262 24 41.562V496c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-83.443C109.869 395.28 143.259 384 199.826 384c49.132 0 93.305 32 161.913 32 58.479 0 101.972-22.617 128.548-39.981C503.846 367.161 512 352.051 512 335.855V95.937c0-34.459-35.264-57.768-66.904-44.117C409.193 67.309 371.641 80 336.174 80zM464 336c-21.783 15.412-60.824 32-102.261 32-59.945 0-102.002-32-161.913-32-43.361 0-96.379 9.403-127.826 24V128c21.784-15.412 60.824-32 102.261-32 59.945 0 102.002 32 161.913 32 43.271 0 96.32-17.366 127.826-32v240z"]},{prefix:"far",iconName:"frown",icon:[496,512,[],"f119","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-80 128c-40.2 0-78 17.7-103.8 48.6-8.5 10.2-7.1 25.3 3.1 33.8 10.2 8.4 25.3 7.1 33.8-3.1 16.6-19.9 41-31.4 66.9-31.4s50.3 11.4 66.9 31.4c8.1 9.7 23.1 11.9 33.8 3.1 10.2-8.5 11.5-23.6 3.1-33.8C326 321.7 288.2 304 248 304z"]},{prefix:"fas",iconName:"futbol",icon:[512,512,[],"f1e3","M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-48 0l-.003-.282-26.064 22.741-62.679-58.5 16.454-84.355 34.303 3.072c-24.889-34.216-60.004-60.089-100.709-73.141l13.651 31.939L256 139l-74.953-41.525 13.651-31.939c-40.631 13.028-75.78 38.87-100.709 73.141l34.565-3.073 16.192 84.355-62.678 58.5-26.064-22.741-.003.282c0 43.015 13.497 83.952 38.472 117.991l7.704-33.897 85.138 10.447 36.301 77.826-29.902 17.786c40.202 13.122 84.29 13.148 124.572 0l-29.902-17.786 36.301-77.826 85.138-10.447 7.704 33.897C442.503 339.952 456 299.015 456 256zm-248.102 69.571l-29.894-91.312L256 177.732l77.996 56.527-29.622 91.312h-96.476z"]},{prefix:"fas",iconName:"history",icon:[512,512,[],"f1da","M504 255.531c.253 136.64-111.18 248.372-247.82 248.468-59.015.042-113.223-20.53-155.822-54.911-11.077-8.94-11.905-25.541-1.839-35.607l11.267-11.267c8.609-8.609 22.353-9.551 31.891-1.984C173.062 425.135 212.781 440 256 440c101.705 0 184-82.311 184-184 0-101.705-82.311-184-184-184-48.814 0-93.149 18.969-126.068 49.932l50.754 50.754c10.08 10.08 2.941 27.314-11.313 27.314H24c-8.837 0-16-7.163-16-16V38.627c0-14.254 17.234-21.393 27.314-11.314l49.372 49.372C129.209 34.136 189.552 8 256 8c136.81 0 247.747 110.78 248 247.531zm-180.912 78.784l9.823-12.63c8.138-10.463 6.253-25.542-4.21-33.679L288 256.349V152c0-13.255-10.745-24-24-24h-16c-13.255 0-24 10.745-24 24v135.651l65.409 50.874c10.463 8.137 25.541 6.253 33.679-4.21z"]},{prefix:"far",iconName:"lightbulb",icon:[352,512,[],"f0eb","M176 80c-52.94 0-96 43.06-96 96 0 8.84 7.16 16 16 16s16-7.16 16-16c0-35.3 28.72-64 64-64 8.84 0 16-7.16 16-16s-7.16-16-16-16zM96.06 459.17c0 3.15.93 6.22 2.68 8.84l24.51 36.84c2.97 4.46 7.97 7.14 13.32 7.14h78.85c5.36 0 10.36-2.68 13.32-7.14l24.51-36.84c1.74-2.62 2.67-5.7 2.68-8.84l.05-43.18H96.02l.04 43.18zM176 0C73.72 0 0 82.97 0 176c0 44.37 16.45 84.85 43.56 115.78 16.64 18.99 42.74 58.8 52.42 92.16v.06h48v-.12c-.01-4.77-.72-9.51-2.15-14.07-5.59-17.81-22.82-64.77-62.17-109.67-20.54-23.43-31.52-53.15-31.61-84.14-.2-73.64 59.67-128 127.95-128 70.58 0 128 57.42 128 128 0 30.97-11.24 60.85-31.65 84.14-39.11 44.61-56.42 91.47-62.1 109.46a47.507 47.507 0 0 0-2.22 14.3v.1h48v-.05c9.68-33.37 35.78-73.18 52.42-92.16C335.55 260.85 352 220.37 352 176 352 78.8 273.2 0 176 0z"]},{prefix:"fas",iconName:"music",icon:[512,512,[],"f001","M511.99 32.01c0-21.71-21.1-37.01-41.6-30.51L150.4 96c-13.3 4.2-22.4 16.5-22.4 30.5v261.42c-10.05-2.38-20.72-3.92-32-3.92-53.02 0-96 28.65-96 64s42.98 64 96 64 96-28.65 96-64V214.31l256-75.02v184.63c-10.05-2.38-20.72-3.92-32-3.92-53.02 0-96 28.65-96 64s42.98 64 96 64 96-28.65 96-64l-.01-351.99z"]},{prefix:"fas",iconName:"search",icon:[512,512,[],"f002","M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"]},{prefix:"far",iconName:"smile",icon:[496,512,[],"f118","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"]},{prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]});var Ot=Ct({prefix:"far",iconName:"building"}).html,St=Ct({prefix:"fas",iconName:"cat"}).html,jt=Ct({prefix:"fas",iconName:"coffee"}).html,Et=Ct({prefix:"far",iconName:"flag"}).html,At=Ct({prefix:"fas",iconName:"futbol"}).html,Dt=Ct({prefix:"far",iconName:"frown"}).html,Tt=Ct({prefix:"fas",iconName:"history"}).html,Pt=Ct({prefix:"far",iconName:"lightbulb"}).html,Bt=Ct({prefix:"fas",iconName:"music"}).html,Rt=Ct({prefix:"fas",iconName:"search"}).html,It=Ct({prefix:"far",iconName:"smile"}).html,Mt=Ct({prefix:"fas",iconName:"times"}).html,Lt="emojiPicker.recent",Nt=function(){function e(e,t,n,r,i){this.emoji=e,this.showVariants=t,this.showPreview=n,this.events=r,this.options=i}return t(e,[{key:"render",value:function(){var e=this,t=J("button","emoji-picker__emoji");return t.innerHTML=this.emoji.e,t.addEventListener("click",(function(){return e.onEmojiClick()})),t.addEventListener("mouseover",(function(){return e.onEmojiHover()})),t.addEventListener("mouseout",(function(){return e.onEmojiLeave()})),t}},{key:"onEmojiClick",value:function(){var e,t,n,r;this.emoji.v&&this.showVariants&&this.options.showVariants||!this.options.showRecents||(e=this.emoji,t=this.options,n=ve(),r={e:e.e,n:Z(e),k:e.k||Z(e)},localStorage.setItem(Lt,JSON.stringify([r].concat(a(n.filter((function(e){return e.k!==r.k})))).slice(0,t.recentsCount)))),this.events.emit(Ue,{emoji:this.emoji,showVariants:this.showVariants})}},{key:"onEmojiHover",value:function(){this.showPreview&&this.events.emit(Ke,this.emoji)}},{key:"onEmojiLeave",value:function(){this.showPreview&&this.events.emit($e)}}]),e}(),zt=function(){function e(e,t,n,r){this.emojis=e,this.showVariants=t,this.events=n,this.options=r}return t(e,[{key:"render",value:function(){var e=this,t=J("div","emoji-picker__emojis");return this.emojis.forEach((function(n){return t.appendChild(new Nt(n,e.showVariants,!0,e.events,e.options).render())})),t}}]),e}(),Ut=function(){function e(e,t,n,r,i){this.events=e,this.i18n=t,this.options=n,this.emojiData=r,this.autoFocusSearch=i}return t(e,[{key:"render",value:function(){var e=this;return this.searchContainer=J("div","emoji-picker__search-container"),this.searchField=J("input","emoji-picker__search"),this.searchField.placeholder=this.i18n.search,this.searchContainer.appendChild(this.searchField),this.searchIcon=J("span","emoji-picker__search-icon"),this.searchIcon.innerHTML=Rt,this.searchIcon.addEventListener("click",(function(t){return e.onClearSearch(t)})),this.searchContainer.appendChild(this.searchIcon),this.autoFocusSearch&&setTimeout((function(){return e.searchField.focus()})),this.searchField.addEventListener("keydown",(function(t){return e.onKeyDown(t)})),this.searchField.addEventListener("keyup",(function(){return e.onKeyUp()})),this.searchContainer}},{key:"onClearSearch",value:function(e){e.stopPropagation(),this.searchField.value&&(this.searchField.value="",this.events.emit(He),this.searchIcon.innerHTML=Rt,this.searchIcon.style.cursor="default")}},{key:"onKeyDown",value:function(e){"Escape"===e.key&&""!==this.searchField.value&&(e.stopPropagation(),this.searchField.value="",this.events.emit(He))}},{key:"onKeyUp",value:function(){var e=this;if(this.searchField.value){this.searchIcon.innerHTML=Mt,this.searchIcon.style.cursor="pointer",this.events.emit(qe);var t=this.emojiData.filter((function(t){return t.n.filter((function(t){return t.toLowerCase().indexOf(e.searchField.value.toLowerCase())>=0})).length}));this.events.emit($e),this.events.emit(We,t.length?new zt(t,!0,this.events,this.options).render():new Ht(this.i18n.notFound).render())}else this.searchIcon.innerHTML=Rt,this.searchIcon.style.cursor="default",this.events.emit(He)}}]),e}(),Ht=function(){function e(e){this.message=e}return t(e,[{key:"render",value:function(){var e=J("div","emoji-picker__search-not-found"),t=J("div","emoji-picker__search-not-found-icon");t.innerHTML=Dt,e.appendChild(t);var n=J("h2");return n.innerHTML=this.message,e.appendChild(n),e}}]),e}(),qt={search:"Search emojis...",categories:{recents:"Recent Emojis",smileys:"Smileys & People",animals:"Animals & Nature",food:"Food & Drink",activities:"Activities",travel:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags"},notFound:"No emojis found"},Wt="active",Kt={};ze.forEach((function(e){var t=Kt[Ne[e.c]];t||(t=Kt[Ne[e.c]]=[]),t.push(e)}));var $t={smileys:It,animals:St,food:jt,activities:At,travel:Ot,objects:Pt,symbols:Bt,flags:Et},Vt=function(){function e(e,t,n){this.events=e,this.i18n=t,this.options=n,this.setActiveTab=this.setActiveTab.bind(this)}return t(e,[{key:"setActiveTab",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e!==this.activeTab){var n=this.activeTab;if(n>=0){this.tabs[n].setActive(!1);var r=this.tabBodies[n].container,i=this.tabBodies[e].container;i.querySelector(".emoji-picker__emojis").scrollTop=0,t&&(e>n?this.transitionTabs(i,r,25,-25):this.transitionTabs(i,r,-25,25))}this.activeTab=e,this.tabBodies[this.activeTab].setActive(!0),this.tabs[this.activeTab].setActive(!0)}}},{key:"transitionTabs",value:function(e,t,n,r){requestAnimationFrame((function(){e.style.transition="none",e.style.transform="translateX(".concat(n,"rem)"),requestAnimationFrame((function(){t.style.transform="translateX(".concat(r,"rem)"),e.style.transition="transform 0.25s",requestAnimationFrame((function(){e.style.transform="translateX(0)"}))}))}))}},{key:"render",value:function(){var e=J("div","emoji-picker__tabs-container");return e.appendChild(this.createTabs()),e.appendChild(this.createTabBodies()),this.setActiveTab(this.options.showRecents?1:0,!1),e}},{key:"createTabs",value:function(){var e=this;if(this.tabsList=J("ul","emoji-picker__tabs"),this.tabs=Object.keys($t).map((function(t,n){return new Gt($t[t],e.options.showRecents?n+1:n,e.setActiveTab)})),this.options.showRecents){var t=new Gt(Tt,0,this.setActiveTab);this.tabs.splice(0,0,t)}return this.tabs.forEach((function(t){return e.tabsList.appendChild(t.render())})),this.tabsList}},{key:"createTabBodies",value:function(){var e=this;if(this.tabBodyContainer=J("div"),this.tabBodies=Object.keys($t).map((function(t,n){return new Yt(e.i18n.categories[t]||qt.categories[t],new zt(Kt[t],!0,e.events,e.options).render(),e.options.showRecents?n+1:n)})),this.options.showRecents){var t=new Yt(this.i18n.categories.recents||qt.categories.recents,new zt(ve(),!1,this.events,this.options).render(),0);this.tabBodies.splice(0,0,t),this.events.on(Ue,(function(){var t=new Yt(e.i18n.categories.recents||qt.categories.recents,new zt(ve(),!1,e.events,e.options).render(),0);setTimeout((function(){e.tabBodyContainer.replaceChild(t.render(),e.tabBodyContainer.firstChild),e.tabBodies[0]=t,0===e.activeTab&&e.setActiveTab(0)}))}))}return this.tabBodies.forEach((function(t){return e.tabBodyContainer.appendChild(t.render())})),this.tabBodyContainer}}]),e}(),Gt=function(){function e(e,t,n){this.icon=e,this.index=t,this.setActiveTab=n}return t(e,[{key:"render",value:function(){var e=this;return this.tab=J("li","emoji-picker__tab"),this.tab.innerHTML=this.icon,this.tab.addEventListener("click",(function(){return e.setActiveTab(e.index)})),this.tab}},{key:"setActive",value:function(e){e?this.tab.classList.add(Wt):this.tab.classList.remove(Wt)}}]),e}(),Yt=function(){function e(e,t,n){this.category=e,this.content=t,this.index=n}return t(e,[{key:"render",value:function(){this.container=J("div","emoji-picker__tab-body");var e=J("h2");return e.innerHTML=this.category,this.container.appendChild(e),this.container.appendChild(this.content),this.container}},{key:"setActive",value:function(e){e?this.container.classList.add(Wt):this.container.classList.remove(Wt)}}]),e}(),Jt=function(){function e(e,t,n){this.events=e,this.emoji=t,this.options=n}return t(e,[{key:"render",value:function(){var e=this,t=J("div","emoji-picker__variant-popup"),n=J("div","emoji-picker__variant-overlay");n.addEventListener("click",(function(n){n.stopPropagation(),t.contains(n.target)||e.events.emit(Ve)})),t.appendChild(new Nt(this.emoji,!1,!1,this.events,this.options).render()),Object.keys(this.emoji.v).forEach((function(n){t.appendChild(new Nt(e.emoji.v[n],!1,!1,e.events,e.options).render())}));var r=J("button","emoji-picker__variant-popup-close-button");return r.innerHTML=Mt,r.addEventListener("click",(function(t){t.stopPropagation(),e.events.emit(Ve)})),t.appendChild(r),n.appendChild(t),n}}]),e}(),Qt={position:"right-start",autoHide:!0,autoFocusSearch:!0,showPreview:!0,showSearch:!0,showRecents:!0,showVariants:!0,recentsCount:50},Zt=function(){function e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pickerVisible=!1,this.options=o({},Qt,{},e),this.options.rootElement||(this.options.rootElement=document.body),this.i18n=o({},qt,{},e.i18n),this.onDocumentClick=this.onDocumentClick.bind(this),this.onDocumentKeydown=this.onDocumentKeydown.bind(this),this.events=new be,this.publicEvents=new be}return t(e,[{key:"on",value:function(e,t){this.publicEvents.on(e,t)}},{key:"off",value:function(e,t){this.publicEvents.off(e,t)}},{key:"buildPicker",value:function(){var e=this;this.pickerEl=J("div","emoji-picker"),this.options.zIndex&&(this.pickerEl.style.zIndex=this.options.zIndex);var t=J("div","emoji-picker__content");if(this.options.showSearch){var n=new Ut(this.events,this.i18n,this.options,ze,this.options.autoFocusSearch).render();this.pickerEl.appendChild(n)}this.pickerEl.appendChild(t);var r,i=new Vt(this.events,this.i18n,this.options).render();t.appendChild(i),this.events.on(qe,(function(){t.contains(i)&&t.removeChild(i)})),this.events.on(He,(function(){t.contains(i)||(Q(t),t.appendChild(i))})),this.events.on(We,(function(e){Q(t),e.classList.add("search-results"),t.appendChild(e)})),this.options.showPreview&&this.pickerEl.appendChild(new Ge(this.events).render()),this.events.on(Ue,(function(t){var n=t.emoji;n.v&&t.showVariants&&e.options.showVariants?(r=new Jt(e.events,n,e.options).render(),e.pickerEl.appendChild(r)):(r&&r.parentNode===e.pickerEl&&e.pickerEl.removeChild(r),e.publicEvents.emit("emoji",n.e),e.options.autoHide&&e.hidePicker())})),this.events.on(Ve,(function(){e.pickerEl.removeChild(r),r=null})),this.options.rootElement.appendChild(this.pickerEl),setTimeout((function(){document.addEventListener("click",e.onDocumentClick),document.addEventListener("keydown",e.onDocumentKeydown)}))}},{key:"onDocumentClick",value:function(e){this.pickerEl.contains(e.target)||this.hidePicker()}},{key:"hidePicker",value:function(){var e=this;this.pickerEl.classList.remove("visible"),this.pickerVisible=!1,this.events.off(Ue),this.events.off(Ve),this.hideInProgress=!0,setTimeout((function(){e.options.rootElement.removeChild(e.pickerEl),e.popper.destroy(),e.pickerEl.style.transition="",e.hideInProgress=!1}),500),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onDocumentKeydown)}},{key:"showPicker",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.hideInProgress||(this.pickerVisible=!0,this.buildPicker(),this.popper=new Le(e,this.pickerEl,{placement:n.position||this.options.position,modifiers:{computeStyle:{gpuAcceleration:!1}}}),requestAnimationFrame((function(){return t.pickerEl.classList.add("visible")})))}},{key:"onDocumentKeydown",value:function(e){"Escape"===e.key&&this.hidePicker()}}]),e}();return Zt},"object"===i(t)&&void 0!==e?e.exports=c():void 0===(a="function"==typeof(o=c)?o.call(t,n,t,e):o)||(e.exports=a)}).call(this,n("pCvA"))},uYtg:function(e){function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=function(){return[]},t.resolve=t,e.exports=t,t.id="uYtg"},vI8o:function(e,t,n){"use strict";(function(e){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var l=n("5OaP"),f=n("lBHI"),p=n("jMw0"),h=n("hosL");t.a=function(t){function n(){var e,t,n,r;return e=l.call(this),t=s(e),r=void 0,(n="ref")in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,e.ref=Object(h.createRef)(),e.eventListeners={},e.state={value:"",class:""},e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(n,t);var r,c,u,l=a(n);return r=n,(c=[{key:"componentDidMount",value:function(){var e=this;this.getNode().on(this.sub((function(t){e.ref.current&&e.ref.current===document.activeElement||e.setState({value:t,class:"string"==typeof t?"":"iris-non-string"})})))}},{key:"getParsedValue",value:function(e){if(this.props.json)try{e=JSON.parse(e)}catch(e){}return e}},{key:"getNode",value:function(){var e=this.props.gun||f.a.public,t=this.props.user;return t&&(e=e.user(t)),this.setState({editable:!t||t===p.a.getPubKey()}),this.props.path.split("/").reduce((function(e,t){return t&&e.get(decodeURIComponent(t))||e}),e)}},{key:"onInput",value:function(e){var t=this.getParsedValue(e.currentTarget.innerText);this.getNode().put(t),this.setState({class:"string"==typeof t?"":"iris-non-string"})}},{key:"render",value:function(){var t=this,n=this.props.json?JSON.stringify(this.state.value):this.state.value;return this.state.editable?e("span",{class:this.state.class,ref:this.ref,contentEditable:!0,onInput:function(e){return t.onInput(e)}},n):n}}])&&i(r.prototype,c),u&&i(r,u),Object.defineProperty(r,"prototype",{writable:!1}),n}(l.a)}).call(this,n("hosL").h)},vLuo:function(e,t,n){"use strict";t.a=n.p+"64413ad8a360f3c2887cac7dccb470a9.png"},"wCQ/":function(e,t,n){e.exports=n("07iF")},wlZL:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function l(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var m,y,v,b,_,w,F,k,x,C,O,S,j,E,A,D,T,P,B,R,I=n("aKPg"),M=n("4Iz4"),L=n("3rgF"),N=n("lBHI"),z=n("jMw0"),U=n("4Nja"),H=n("jg5f"),q=n("Y3FI"),W=n("hosL"),K=n("L8Yj"),$=n("d17u"),V=n("yqR5"),G=function(e){function t(){var e;return(e=s.call(this)).key="block",e.actionDone="blocked",e.action="block",e.activeClass="blocked",e.hoverAction="unblock",e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(t,e);var n,r,c,s=a(t);return n=t,r&&i(n.prototype,r),c&&i(n,c),Object.defineProperty(n,"prototype",{writable:!1}),n}(V.a),Y=n("46vS"),J=n("kv13"),Q=n("DrMS"),Z=n("ox/y"),X=n("qIEf"),ee=n.n(X),te=n("s40m"),ne=n("o5ls"),re=n("Hrl7"),ie=n("Marr");t.a=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=o.call(this)).followedUsers=new Set,e.followers=new Set,e.id="profile",e.qrRef=Object(W.createRef)(),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(t,e);var n,r,i,o=h(t);return n=t,(r=[{key:"onProfilePhotoSet",value:function(e){N.a.public.user().get("profile").get("photo").put(e)}},{key:"onAboutInput",value:function(e){var t=ee()(e.target).text().trim();N.a.public.user().get("profile").get("about").put(t)}},{key:"onClickSettings",value:function(){ee()("#chat-settings").toggle()}},{key:"onNameInput",value:function(e){var t=ee()(e.target).text().trim();t.length&&N.a.public.user().get("profile").get("name").put(t)}},{key:"getNotification",value:function(){if(this.state.noFollowers&&this.followers.has(z.a.getPubKey()))return Object(M.a)(m||(m=l(['\n        <div class="msg">\n          <div class="msg-content">\n            <p>Share your profile link so '," can follow you:</p>\n            <p><"," text="," title="," copyStr=","/></p>\n            <small>","</small>\n          </div>\n        </div>\n      "])),this.state.name||"this user",$.a,Object(L.c)("copy_link"),z.a.getMyName(),I.a.getProfileLink(z.a.getPubKey()),Object(L.c)("visibility"))}},{key:"renderSettings",value:function(){var e=this,t=z.a.channels[this.props.id];return Object(M.a)(y||(y=l(['\n    <div id="chat-settings" style="display:none">\n      <hr/>\n      <h3>','</h3>\n      <div class="profile-nicknames">\n        <h4>',"</h4>\n        <p>\n          ",":\n          <input value="," onInput=","/>\n        </p>\n        <p>\n          ",":\n          <span>\n            ",'\n          </span>\n        </p>\n      </div>\n      <div class="notification-settings">\n        <h4>','</h4>\n        <input type="radio" id="notifyAll" name="notificationPreference" value="all"/>\n        <label for="notifyAll">','</label><br/>\n        <input type="radio" id="notifyMentionsOnly" name="notificationPreference" value="mentions"/>\n        <label for="notifyMentionsOnly">','</label><br/>\n        <input type="radio" id="notifyNothing" name="notificationPreference" value="nothing"/>\n        <label for="notifyNothing">','</label><br/>\n      </div>\n      <hr/>\n      <p>\n        <button class="delete-chat" onClick=',">","</button>\n      </p>\n      <hr/>\n    </div>\n    "])),Object(L.c)("chat_settings"),Object(L.c)("nicknames"),Object(L.c)("nickname"),t&&t.theirNickname,(function(e){return t&&t.put("nickname",e.target.value)}),Object(L.c)("their_nickname_for_you"),t&&t.myNickname&&t.myNickname.length?t.myNickname:"",Object(L.c)("notifications"),Object(L.c)("all_messages"),Object(L.c)("mentions_only"),Object(L.c)("nothing"),(function(){return t=e.props.id,void(confirm("".concat(Object(L.c)("delete_chat"),"?"))&&(ne.a.Channel.deleteChannel(N.a.public,z.a.getKey(),t),delete z.a.channels[t],N.a.local.get("channels").get(t).put(null),Object(q.route)("/chat")));var t}),Object(L.c)("delete_chat"))}},{key:"renderDetails",value:function(){var e,t=this;return this.isMyProfile=z.a.getPubKey()===this.props.id,e=this.isMyProfile?Object(M.a)(v||(v=l(["<"," currentPhoto="," placeholder="," callback=","/>"])),H.a,this.state.photo,this.props.id,(function(e){return t.onProfilePhotoSet(e)})):this.state.photo&&!this.state.blocked&&0===this.state.photo.indexOf("data:image")?Object(M.a)(b||(b=l(["<",' class="profile-photo" src=',"/>"])),K.a,this.state.photo):Object(M.a)(_||(_=l(["<"," str="," hidePhoto="," width=250/>"])),J.a,this.props.id,this.state.blocked),Object(M.a)(w||(w=l(['\n    <div class="profile-top">\n      <div class="profile-header">\n        <div class="profile-photo-container">\n          ','\n        </div>\n        <div class="profile-header-stuff">\n          <h3 class="profile-name" placeholder='," contenteditable="," onInput=",">",'</h3>\n          <div class="profile-about hidden-xs">\n            <p class="profile-about-content" placeholder='," contenteditable="," onInput=",">",'</p>\n          </div>\n          <div class="profile-actions">\n            <div class="follow-count">\n              <a href="/follows/','">\n                <span>',"</span> ",'\n              </a>\n              <a href="/followers/','">\n                <span>',"</span> ","\n              </a>\n            </div>\n            ","\n            ","\n            <button onClick=",">","</button>\n            <"," key="," text="," title="," copyStr=","/>\n            <button onClick=",">","</button>\n            ","\n            ",'\n          </div>\n        </div>\n      </div>\n      <div class="profile-about visible-xs-flex">\n        <p class="profile-about-content" placeholder='," contenteditable="," onInput=",">","</p>\n      </div>\n\n      <p ref=",' style="display:none" class="qr-container"></p>\n      ',"\n    </div>\n    "])),e,this.isMyProfile?Object(L.c)("name"):"",this.isMyProfile,(function(e){return t.onNameInput(e)}),this.state.name,this.isMyProfile?Object(L.c)("about"):"",this.isMyProfile,(function(e){return t.onAboutInput(e)}),this.state.about,this.props.id,this.state.followedUserCount,Object(L.c)("following"),this.props.id,this.state.followerCount,Object(L.c)("followers"),this.followedUsers.has(z.a.getPubKey())?Object(M.a)(F||(F=l(["\n              <p><small>","</small></p>\n            "])),Object(L.c)("follows_you")):this.props.id===ie.a?Object(M.a)(k||(k=l(['\n              <p><a href="https://iris-sms-auth.herokuapp.com/?pub=','">',"</a></p>\n            "])),z.a.getPubKey(),Object(L.c)("ask_for_verification")):"",this.isMyProfile?"":Object(M.a)(x||(x=l(["<"," key="," id=","/>"])),V.a,"".concat(this.props.id,"follow"),this.props.id),(function(){return Object(q.route)("/chat/".concat(t.props.id))}),Object(L.c)("send_message"),$.a,"".concat(this.props.id,"copy"),Object(L.c)("copy_link"),this.state.name,window.location.href,(function(){return ee()(t.qrRef.current).toggle()}),Object(L.c)("show_qr_code"),this.isMyProfile?"":Object(M.a)(C||(C=l(['\n              <button class="show-settings" onClick=',">","</button>\n            "])),(function(){return t.onClickSettings()}),Object(L.c)("settings")),this.isMyProfile?"":Object(M.a)(O||(O=l(["<"," key="," id=","/>"])),G,"".concat(this.props.id,"block"),this.props.id),this.isMyProfile?Object(L.c)("about"):"",this.isMyProfile,(function(e){return t.onAboutInput(e)}),this.state.about,this.qrRef,this.renderSettings())}},{key:"renderTabs",value:function(){return Object(M.a)(S||(S=l(['\n    <div class="tabs">\n      <',' activeClassName="active" href="/profile/','">',"<//>\n      <",' activeClassName="active" href="/replies/','">',"<//>\n      <",' activeClassName="active" href="/likes/','">',"<//>\n      <",' activeClassName="active" href="/media/','">',"<//>\n    </div>\n    "])),Z.Link,this.props.id,Object(L.c)("posts"),Z.Link,this.props.id,Object(L.c)("replies"),Z.Link,this.props.id,Object(L.c)("likes"),Z.Link,this.props.id,Object(L.c)("media"))}},{key:"renderTab",value:function(){if("replies"===this.props.tab)return Object(M.a)(j||(j=l(['\n        <div class="public-messages-view">\n          <'," scrollElement=",' key="replies','" node='," keyIsMsgHash="," />\n        </div>\n      "])),Y.a,this.scrollElement.current,this.props.id,N.a.public.user(this.props.id).get("replies"),!0);if("likes"===this.props.tab)return Object(M.a)(E||(E=l(['\n        <div class="public-messages-view">\n          <'," scrollElement=",' key="likes','" node='," keyIsMsgHash=","/>\n        </div>\n      "])),Y.a,this.scrollElement.current,this.props.id,N.a.public.user(this.props.id).get("likes"),!0);if("media"===this.props.tab)return Object(M.a)(A||(A=l(['\n        <div class="public-messages-view">\n          ',"\n          <"," scrollElement=",' key="media','" node=',"/>\n        </div>\n      "])),this.isMyProfile?Object(M.a)(D||(D=l(["<",' index="media" class="hidden-xs" autofocus=',"/>"])),U.a,!1):"",Y.a,this.scrollElement.current,this.props.id,N.a.public.user(this.props.id).get("media"));var e=this.isMyProfile?Object(M.a)(T||(T=l(["<",' class="hidden-xs" autofocus=',"/>"])),U.a,!1):"";return Object(M.a)(P||(P=l(["\n      <div>\n        ",'\n        <div class="public-messages-view">\n          ',"\n          <"," scrollElement=",' key="posts','" node='," />\n        </div>\n      </div>\n      "])),e,this.getNotification(),Y.a,this.scrollElement.current,this.props.id,N.a.public.user(this.props.id).get("msgs"))}},{key:"renderView",value:function(){var e=this.state.name||"Profile",t="".concat(e," | Iris"),n="Latest posts by ".concat(this.state.name||"user",". ").concat(this.state.about||"");return Object(M.a)(B||(B=l(['\n      <div class="content">\n        <',">\n            <title>",'</title>\n            <meta name="description" content=',' />\n            <meta property="og:type" content="profile" />\n            ','\n            <meta property="og:title" content=',' />\n            <meta property="og:description" content='," />\n        <//>\n        ","\n        ","\n        ","\n      </div>\n    "])),re.a,e,n,this.state.ogImageUrl?Object(M.a)(R||(R=l(['<meta property="og:image" content='," />"])),this.state.ogImageUrl):"",t,n,this.renderDetails(),this.state.blocked?"":this.renderTabs(),this.state.blocked?"":this.renderTab())}},{key:"componentDidUpdate",value:function(e){e.id!==this.props.id&&this.componentDidMount()}},{key:"getProfileDetails",value:function(){var e=this,t=this.props.id;N.a.public.user(t).get("follow").map().on(this.sub((function(t,n){t?e.followedUsers.add(n):e.followedUsers.delete(n),e.setState({followedUserCount:e.followedUsers.size})}))),N.a.group().count("follow/".concat(t),this.sub((function(t){e.setState({followerCount:t})}))),N.a.public.user(t).get("profile").get("name").on(this.sub((function(t){ee()("#profile .profile-name:focus").length||e.setState({name:t})}))),N.a.public.user(t).get("profile").get("photo").on(this.sub((function(t){e.setState({photo:t}),e.setOgImageUrl(t)}))),N.a.public.user(t).get("profile").get("about").on(this.sub((function(t){ee()("#profile .profile-about-content:focus").length?ee()("#profile .profile-about-content:not(:focus)").text(t):e.setState({about:t})})))}},{key:"componentDidMount",value:function(){var e=this,t=this.props.id;this.followedUsers=new Set,this.followers=new Set,this.setState({followedUserCount:0,followerCount:0,name:"",photo:"",about:"",blocked:!1}),this.isMyProfile=z.a.getPubKey()===t;var n=z.a.channels[t];if(t.length<40&&!n)var r=setInterval((function(){z.a.channels[t]&&(clearInterval(r),e.componentDidMount())}),1e3);var i=ee()(this.qrRef.current);i.empty(),N.a.local.get("noFollowers").on(this.inject()),this.getProfileDetails(),n&&(ee()("input[name=notificationPreference][value=".concat(n.notificationSetting,"]")).attr("checked","checked"),ee()("input:radio[name=notificationPreference]").off().on("change",(function(e){n.put("notificationSetting",e.target.value)}))),i.empty(),new te.a(i.get(0),{text:window.location.href,width:300,height:300,colorDark:"#000000",colorLight:"#ffffff",correctLevel:te.a.CorrectLevel.H}),N.a.public.user().get("block").get(this.props.id).on(this.sub((function(t){e.setState({blocked:t})}))),!this.isUserAgentCrawler()||this.state.ogImageUrl||this.state.photo||new ne.a.Attribute({type:"keyID",value:this.props.id}).identiconSrc({width:300,showType:!1}).then((function(t){e.state.ogImageUrl||e.state.photo||e.setOgImageUrl(t)}))}}])&&f(n.prototype,r),i&&f(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(Q.a)},x3ly:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var l,f,p,h,d,g,m,y,v,b,_,w,F,k,x,C,O,S,j,E=n("4Iz4"),A=n("3rgF"),D=n("lBHI"),T=n("jMw0"),P=n("jg5f"),B=n("Y3FI"),R=n("L8Yj"),I=n("d17u"),M=n("kv13"),L=n("oeWf"),N=n("DrMS"),z=n("dgEB"),U=n("Marr"),H=n("qIEf"),q=n.n(H),W=n("s40m"),K=n("o5ls"),$=function(e){function t(){var e;return(e=u.call(this)).id="profile",e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e);var n,r,s,u=c(t);return n=t,r=[{key:"onProfilePhotoSet",value:function(e){T.a.channels[this.props.id].put("photo",e)}},{key:"onAboutInput",value:function(e){var t=q()(e.target).text().trim();T.a.channels[this.props.id].put("about",t)}},{key:"onClickSettings",value:function(){q()("#chat-settings").toggle()}},{key:"onNameInput",value:function(e){var t=q()(e.target).text().trim();t.length&&T.a.channels[this.props.id].put("name",t)}},{key:"removeChatLink",value:function(e){confirm("Remove chat link?")&&(D.a.local.get("chatLinks").get(e).put(null),T.a.channels[this.props.id].removeGroupChatLink(e))}},{key:"onAddParticipant",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&T.a.channels[this.props.id].addParticipant(this.state.memberCandidate),this.setState({memberCandidate:null})}},{key:"onRemoveParticipant",value:function(e){confirm("Remove participant?")&&T.a.channels[this.props.id].removeParticipant(e)}},{key:"renderGroupSettings",value:function(){var e=this,t=T.a.channels[this.props.id];return t&&t.uuid?Object(E.a)(l||(l=i(["\n        <div>\n          <p>",':</p>\n          <div class="flex-table">\n            ',"\n          </div>\n          ","\n          ","\n          ","\n        </div>\n      "])),Object(A.c)("participants"),t?Object.keys(t.participantProfiles).map((function(n){var r=t.participantProfiles[n];if(r.permissions&&r.permissions.read&&r.permissions.write)return Object(E.a)(f||(f=i(['\n                  <div class="flex-row">\n                    <div class="flex-cell">\n                      <div class="profile-link-container">\n                        <a class="profile-link" onClick=',">\n                          <"," str="," width=40/>\n                          <"," pub=","/>\n                          ","\n                        </a>\n                      </div>\n                    </div>\n                    ","\n                  </div>\n                "])),(function(){return Object(B.route)("/profile/".concat(n))}),M.a,n,L.a,n,r.permissions&&r.permissions.admin?Object(E.a)(p||(p=i(['\n                            <small style="margin-left:5px">',"</small>\n                          "])),Object(A.c)("admin")):"",e.state.isAdmin?Object(E.a)(h||(h=i(['\n                      <div class="flex-cell no-flex">\n                        <button onClick=',">","</button>\n                      </div>\n                    "])),(function(){return e.onRemoveParticipant(n)}),Object(A.c)("remove")):"")})):"",this.state.isAdmin?Object(E.a)(d||(d=i(["\n            <div>\n              <p>",":</p>\n              <p>\n              ","\n              </p>\n            </div>\n          "])),Object(A.c)("add_participant"),this.state.memberCandidate?Object(E.a)(g||(g=i(['\n                <div class="profile-link-container"><div class="profile-link">\n                  <'," str="," width=40/>\n                  <"," pub=","/>\n                </div>\n                <button onClick=",">Add</button>\n                <button onClick=",">Cancel</button>\n                </div>\n              "])),M.a,this.state.memberCandidate,L.a,this.state.memberCandidate,(function(){return e.onAddParticipant()}),(function(){return e.onAddParticipant(!1)})):Object(E.a)(m||(m=i(["\n                <"," onSelect=","/>\n              "])),z.a,(function(t){return e.setState({memberCandidate:t.key})}))):"",t&&t.inviteLinks&&Object.keys(t.inviteLinks).length?Object(E.a)(y||(y=i(["\n            <hr/>\n            <p>",'</p>\n            <div class="flex-table">\n              ',"\n            </div>\n          "])),Object(A.c)("invite_links"),Object.keys(t.inviteLinks).map((function(n){var r=t.inviteLinks[n];if(r)return Object(E.a)(v||(v=i(['\n                  <div class="flex-row">\n                    <div class="flex-cell no-flex">\n                      <'," copyStr=",'/>\n                    </div>\n                    <div class="flex-cell">\n                      <input type="text" value='," onClick=","/>\n                    </div>\n                    ","\n                  </div>\n                "])),I.a,r,r,(function(e){return q()(e.target).select()}),e.state.isAdmin?Object(E.a)(b||(b=i(['\n                      <div class="flex-cell no-flex">\n                        <button onClick=',">","</button>\n                      </div>\n                    "])),(function(){return e.removeChatLink(n)}),Object(A.c)("remove")):"")}))):"",this.state.isAdmin?Object(E.a)(_||(_=i(["\n            <p><button onClick=",">Create new invite link</button></p><hr/>\n          "])),(function(){return t.createChatLink()})):""):""}},{key:"renderView",value:function(){var e,t=this,n=this.state.isAdmin;e=n?Object(E.a)(w||(w=i(["<"," currentPhoto="," placeholder="," callback=","/>"])),P.a,this.state.photo,this.props.id,(function(e){return t.onProfilePhotoSet(e)})):this.state.photo?Object(E.a)(F||(F=i(["<",' class="profile-photo" src=',"/>"])),R.a,this.state.photo):Object(E.a)(k||(k=i(["<"," str="," width=250/>"])),M.a,this.props.id);var r=this.state.uuid;return Object(E.a)(x||(x=i(['\n      <div class="content">\n        <div class="profile-top">\n          <div class="profile-header">\n            <div class="profile-photo-container">\n              ','\n            </div>\n            <div class="profile-header-stuff">\n              <h3 class="profile-name" placeholder='," contenteditable="," onInput=",">",'</h3>\n              <div class="profile-about hidden-xs">\n                <p class="profile-about-content" placeholder=',"\n                contenteditable="," onInput=",">\n                ",'</p>\n              </div>\n              <div class="profile-actions">\n                ',"\n                ","\n                <button onClick=",">","</button>\n                ","\n                <button onClick=",">",'</button>\n                <button class="show-settings" onClick=',">",'</button>\n              </div>\n            </div>\n          </div>\n          <div class="profile-about visible-xs-flex">\n            <p class="profile-about-content" placeholder='," contenteditable="," onInput=",">","</p>\n          </div>\n\n          ",'\n\n          <p id="profile-page-qr" style="display:none" class="qr-container"></p>\n          <div id="chat-settings" style="display:none">\n            <hr/>\n            <h3>','</h3>\n            <div class="notification-settings">\n              <h4>','</h4>\n              <input type="radio" id="notifyAll" name="notificationPreference" value="all"/>\n              <label for="notifyAll">','</label><br/>\n              <input type="radio" id="notifyMentionsOnly" name="notificationPreference" value="mentions"/>\n              <label for="notifyMentionsOnly">','</label><br/>\n              <input type="radio" id="notifyNothing" name="notificationPreference" value="nothing"/>\n              <label for="notifyNothing">','</label><br/>\n            </div>\n            <hr/>\n            <p>\n              <button class="delete-chat" onClick=',">","</button>\n            </p>\n            <hr/>\n          </div>\n        </div>\n      </div>\n    "])),e,n?Object(A.c)("name"):"",n,(function(e){return t.onNameInput(e)}),this.state.name,n?Object(A.c)("about"):"",n,(function(e){return t.onAboutInput(e)}),this.state.about,r?"":Object(E.a)(C||(C=i(['\n                  <div class="follow-count">\n                    <a href="/follows/','">\n                      <span>',"</span> ",'\n                    </a>\n                    <a href="/followers/','">\n                      <span>',"</span> ","\n                    </a>\n                  </div>\n                "])),this.props.id,this.state.followedUserCount,Object(A.c)("following"),this.props.id,this.state.followerCount,Object(A.c)("followers")),this.followedUsers&&this.followedUsers.has(T.a.getPubKey())?Object(E.a)(O||(O=i(["\n                  <p><small>","</small></p>\n                "])),Object(A.c)("follows_you")):this.props.id===U.a?Object(E.a)(S||(S=i(['\n                  <p><a href="https://iris-sms-auth.herokuapp.com/?pub=','">',"</a></p>\n                "])),T.a.getPubKey(),Object(A.c)("ask_for_verification")):"",(function(){return Object(B.route)("/chat/".concat(t.props.id))}),Object(A.c)("send_message"),r?"":Object(E.a)(j||(j=i(["\n                  <"," text="," title="," copyStr=","/>\n                "])),I.a,Object(A.c)("copy_link"),this.state.name,"https://iris.to/".concat(window.location.hash)),(function(){return q()("#profile-page-qr").toggle()}),Object(A.c)("show_qr_code"),(function(){return t.onClickSettings()}),Object(A.c)("settings"),n?Object(A.c)("about"):"",n,(function(e){return t.onAboutInput(e)}),this.state.about,this.renderGroupSettings(),Object(A.c)("chat_settings"),Object(A.c)("notifications"),Object(A.c)("all_messages"),Object(A.c)("mentions_only"),Object(A.c)("nothing"),(function(){return function(e){confirm("Delete chat?")&&(K.a.Channel.deleteGroup(D.a.public,T.a.getKey(),e),delete T.a.channels[e],D.a.local.get("channels").get(e).put(null),Object(B.route)("/chat"))}(t.props.id)}),Object(A.c)("delete_chat"))}},{key:"componentDidUpdate",value:function(e){e.id!==this.props.id&&(this.setState({isAdmin:!1,uuid:null,memberCandidate:null}),this.componentDidMount())}},{key:"groupDidMount",value:function(){var e=this,t=T.a.channels[this.props.id];t.on("name",(function(t){q()("#profile .profile-name:focus").length||e.setState({name:t})})),t.on("photo",(function(t){return e.setState({photo:t})})),t.on("about",(function(t){q()("#profile .profile-about-content:focus").length?q()("#profile .profile-about-content:not(:focus)").text(t):e.setState({about:t})}))}},{key:"componentDidMount",value:function(){var e=this,t=this.props.id;console.log(this.props.id,2),this.setState({name:"",photo:"",about:""});var n=T.a.channels[t];if(t.length<40&&!n)var r=setInterval((function(){T.a.channels[t]&&(clearInterval(r),e.componentDidMount())}),1e3);var i=q()("#profile-page-qr");i.empty(),D.a.local.get("inviteLinksChanged").on((function(){return e.setState({inviteLinksChanged:!e.state.inviteLinksChanged})})),D.a.local.get("channels").get(this.props.id).get("participants").on((function(){var n,r,i=!!((r=T.a.channels[n=t]&&T.a.channels[n].participantProfiles[T.a.getKey().pub])&&r.permissions&&r.permissions.admin);e.setState({isAdmin:i})})),n&&(this.groupDidMount(),q()("input[name=notificationPreference][value=".concat(n.notificationSetting,"]")).attr("checked","checked"),q()("input:radio[name=notificationPreference]").off().on("change",(function(e){n.put("notificationSetting",e.target.value)}))),i.empty(),new W.a(i[0],{text:"https://iris.to/".concat(window.location.hash),width:300,height:300,colorDark:"#000000",colorLight:"#ffffff",correctLevel:W.a.CorrectLevel.H})}}],r&&o(n.prototype,r),s&&o(n,s),Object.defineProperty(n,"prototype",{writable:!1}),t}(N.a);t.a=$},"x75+":function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var c=e[o](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,i)}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(){return a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=c(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},a.apply(this,arguments)}function c(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function p(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var h,d,g,m,y,v,b,_,w,F,k,x,C,O,S=n("aKPg"),j=n("4Iz4"),E=n("kv13"),A=n("4Nja"),D=n("lBHI"),T=n("Y3FI"),P=n("5rjA"),B=n("L8Yj"),R=n("jMw0"),I=n("24Gu"),M=n("xVeL"),L=n("CGOa"),N=n("o5ls"),z=n("qIEf"),U=n.n(z),H=n("Hrl7"),q=n("Pidb"),W=new L.a({stripPrefix:!1,stripTrailingSlash:!1}),K=Object(j.a)(h||(h=p(['<svg width="24" version="1.1" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;"><path fill="currentColor" d="M256,21.952c-141.163,0-256,95.424-256,212.715c0,60.267,30.805,117.269,84.885,157.717l-41.109,82.219 c-2.176,4.331-1.131,9.579,2.496,12.779c2.005,1.771,4.501,2.667,7.04,2.667c2.069,0,4.139-0.597,5.952-1.813l89.963-60.395\nc33.877,12.971,69.781,19.541,106.752,19.541C397.141,447.381,512,351.957,512,234.667S397.163,21.952,256,21.952z M255.979,426.048c-36.16,0-71.168-6.741-104.043-20.032c-3.264-1.323-6.997-0.96-9.941,1.024l-61.056,40.981l27.093-54.187 c2.368-4.757,0.896-10.517-3.477-13.547c-52.907-36.629-83.243-89.707-83.243-145.6c0-105.536,105.28-191.381,234.667-191.381 s234.667,85.824,234.667,191.36S385.365,426.048,255.979,426.048z"/></svg>']))),$=function(e){function t(){var e;return(e=h.call(this)).i=0,e.likedBy=new Set,e.replies={},e.subscribedReplies=new Set,e.state={sortedReplies:[]},e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(t,e);var n,c,l,h=u(t);return n=t,c=[{key:"fetchByHash",value:function(){return t.fetchByHash(this,this.props.hash)}},{key:"componentWillUnmount",value:function(){a(f(t.prototype),"componentWillUnmount",this).call(this),this.unmounted=!0}},{key:"componentDidMount",value:function(){var e=this;this.unmounted=!1;var t=this.fetchByHash();t&&t.then((function(t){if(!e.unmounted){var n=t.signedData;n.info={from:t.signerKeyHash},e.props.filter&&!e.props.filter(n)||(e.props.standalone&&n.attachments&&n.attachments.length&&e.setOgImageUrl(n.attachments[0].data),e.setState({msg:n}),e.props.showName&&!e.props.name&&D.a.public.user(n.info.from).get("profile").get("name").on(e.inject()),D.a.group().on("likes/".concat(encodeURIComponent(e.props.hash)),e.sub((function(t,n,r,i,o){e.eventListeners["".concat(o,"likes")]=i,t?e.likedBy.add(o):e.likedBy.delete(o);var a={likes:e.likedBy.size};o===R.a.getPubKey()&&(a.liked=t),e.setState(a)}))),D.a.group().map("replies/".concat(encodeURIComponent(e.props.hash)),e.sub((function(t,n,r,i,o){var a=o+n;if(!t||!e.replies[a]){t?e.replies[a]={hash:t,time:n}:delete e.replies[a],e.eventListeners["".concat(o,"replies")]=i;var c=Object.values(e.replies).sort((function(e,t){return e.time>t.time?1:-1}));e.setState({replyCount:Object.keys(e.replies).length,sortedReplies:c})}}))))}}))}},{key:"componentDidUpdate",value:function(){this.state.msg&&!this.linksDone&&(U()(this.base).find("a").off().on("click",(function(e){var t=U()(e.target).attr("href");t&&0===t.indexOf("https://iris.to/")&&(e.preventDefault(),window.location=t.replace("https://iris.to/",""))})),this.linksDone=!0)}},{key:"toggleReplies",value:function(){this.setState({showReplyForm:!this.state.showReplyForm})}},{key:"onClickName",value:function(){Object(T.route)("/profile/".concat(this.state.msg.info.from))}},{key:"likeBtnClicked",value:function(e){e.preventDefault(),this.like(!this.state.liked)}},{key:"like",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(D.a.public.user().get("likes").get(this.props.hash).put(e),e){var t=this.state.msg&&this.state.msg.info&&this.state.msg.info.from;t!==R.a.getPubKey()&&q.a.sendIrisNotification(t,{event:"like",target:this.props.hash})}}},{key:"onDelete",value:function(e){if(e.preventDefault(),confirm("Delete message?")){var t=this.state.msg;t.torrentId&&D.a.public.user().get("media").get(t.time).put(null),D.a.public.user().get(this.props.index||"msgs").get(t.time).put(null),t.replyingTo&&D.a.public.user().get("replies").get(t.replyingTo).get(t.time).put(null)}}},{key:"imageClicked",value:function(e){var t=this;e.preventDefault(),window.innerWidth<=625?(clearTimeout(this.dblTimeout),this.dbl?(this.dbl=!1,this.like(),U()(e.target).parent().addClass("like-animate"),setTimeout((function(){return U()(e.target).parent().removeClass("like-animate")}),1e3)):(this.dbl=!0,this.dblTimeout=setTimeout((function(){t.dbl=!1}),300))):this.openAttachmentsGallery(e)}},{key:"render",value:function(){var e=this;if(!this.state.msg)return"";var n=this.props.name||this.state.name,r=this.state.msg.text&&2===this.state.msg.text.length&&S.a.isEmoji(this.state.msg.text),o=this.props.thumbnail?"thumbnail-item":"",a=document.createElement("p"),c=this.state.msg.text,s=c.length>128?"".concat(c.slice(0,128),"..."):c,u='"'.concat(s,'"');o&&(c=s);var l="".concat(n||"User"," on Iris");a.innerText=c;var f=a.innerHTML;r||(f=S.a.highlightEmoji(f),f=S.a.highlightHashtags(f),f=S.a.highlightMentions(f));var h=W.link(f),D="object"===i(this.state.msg.time)?this.state.msg.time:new Date(this.state.msg.time),P=D.toLocaleString(window.navigator.language,{weekday:"long",year:"numeric",month:"long",day:"numeric"}),L=D.toLocaleTimeString(window.navigator.language,{timeStyle:"short"}),N=this.state;return Object(j.a)(d||(d=p(["\n      <div ref=",' class="msg '," "," ",'">\n        <div class="msg-content">\n          <div class="msg-sender">\n            <div class="msg-sender-link" onclick=',">\n              ","\n              ","\n            </div>\n            ","\n          </div>\n          ","\n          ","\n          ",'\n          <div class="text ','" dangerouslySetInnerHTML='," />\n          ",'\n          <div class="below-text">\n            <a class="msg-btn reply-btn" onClick=',">\n              ",'\n            </a>\n            <span class="count" onClick=',">\n              ",'\n            </span>\n            <a class="msg-btn like-btn ','" onClick=',">\n              ",'\n            </a>\n            <span class="count" onClick=',">\n              ",'\n            </span>\n            <div class="time">\n              <a href="/post/','" class="tooltip">\n                  ','\n                  <span class="tooltiptext">\n                    '," ","\n                  </span>\n              </a>\n            </div>\n          </div>\n          ","\n          ","\n          ","\n        </div>\n      </div>\n      "])),this.ref,o,this.props.asReply?"reply":"",this.props.standalone?"standalone":"",(function(){return e.onClickName()}),N.msg.info.from?Object(j.a)(g||(g=p(["<"," str="," width=40/>"])),E.a,N.msg.info.from):"",n&&this.props.showName&&Object(j.a)(m||(m=p(['<small class="msgSenderName">',"</small>"])),n),N.msg.info.from===R.a.getPubKey()?Object(j.a)(y||(y=p(['\n              <div class="msg-menu-btn">\n                <div class="dropdown">\n                  <div class="dropbtn">…</div>\n                  <div class="dropdown-content">\n                    <a href="#" onClick=',">Delete</a>\n                  </div>\n                </div>\n              </div>\n            "],['\n              <div class="msg-menu-btn">\n                <div class="dropdown">\n                  <div class="dropbtn">\\u2026</div>\n                  <div class="dropdown-content">\n                    <a href="#" onClick=',">Delete</a>\n                  </div>\n                </div>\n              </div>\n            "])),(function(t){return e.onDelete(t)})):"",this.props.standalone?Object(j.a)(v||(v=p(["\n            <",' titleTemplate="%s">\n                <title>',": ",'</title>\n                <meta name="description" content=',' />\n                <meta property="og:type" content="article" />\n                ','\n                <meta property="og:title" content=',' />\n                <meta property="og:description" content='," />\n            <//>\n          "])),H.a,l,u,u,N.ogImageUrl?Object(j.a)(b||(b=p(['<meta property="og:image" content='," />"])),N.ogImageUrl):"",l,u):"",N.msg.torrentId?Object(j.a)(_||(_=p(["\n              <"," torrentId="," autopause=","/>\n          "])),I.a,N.msg.torrentId,!this.props.standalone):"",N.msg.attachments&&N.msg.attachments.map((function(t){return Object(j.a)(w||(w=p(['<div class="img-container">\n                <div class="heart"></div>\n                <'," src="," onClick=","/>\n            </div>"])),B.a,t.data,(function(t){e.imageClicked(t)}))})),r&&"emoji-only",{__html:h},N.msg.replyingTo&&!this.props.asReply?Object(j.a)(F||(F=p(['\n            <div><a href="/post/','">Show replied message</a></div>\n          '])),encodeURIComponent(N.msg.replyingTo)):"",(function(){return e.toggleReplies()}),K,(function(){return e.toggleReplies()}),N.replyCount||"",N.liked?"liked":"",(function(t){return e.likeBtnClicked(t)}),N.liked?M.a.heartFull:M.a.heartEmpty,(function(){return e.setState({showLikes:!N.showLikes})}),N.likes||"",encodeURIComponent(this.props.hash),S.a.getRelativeTimeText(D),P,L,N.showLikes?Object(j.a)(k||(k=p(['\n            <div class="likes">\n              ',"\n            </div>\n          "])),Array.from(this.likedBy).map((function(e){return Object(j.a)(x||(x=p(["<"," showTooltip="," onClick="," str="," width=32/>"])),E.a,!0,(function(){return Object(T.route)("/profile/".concat(e))}),e)}))):"",(this.props.showReplies||N.showReplyForm)&&N.sortedReplies&&N.sortedReplies.length?N.sortedReplies.map((function(e){return Object(j.a)(C||(C=p(["<"," key="," hash="," asReply="," showName="," showReplies="," />"])),t,e.hash,e.hash,!0,!0,!0)})):"",this.props.standalone||N.showReplyForm?Object(j.a)(O||(O=p(["\n            <"," autofocus="," replyingTo="," replyingToUser="," />\n          "])),A.a,!this.props.standalone,this.props.hash,N.msg.info.from):"")}}],l=[{key:"fetchByHash",value:function(e,t){return new Promise((function(n,i){if("string"!=typeof t)return i();D.a.public.get("#").get(t).on(e.sub(function(){var e,i=(e=function*(e,r,i,o){if("string"==typeof e){o.off();var a=yield N.a.SignedMessage.fromString(e);a&&n(a)}else console.error("message parsing failed",t,e)},function(){var t=this,n=arguments;return new Promise((function(i,o){function a(e){r(s,i,o,a,c,"next",e)}function c(e){r(s,i,o,a,c,"throw",e)}var s=e.apply(t,n);a(void 0)}))});return function(e,t,n,r){return i.apply(this,arguments)}}()))}))}}],c&&o(n.prototype,c),l&&o(n,l),Object.defineProperty(n,"prototype",{writable:!1}),t}(P.a);t.a=$},xVeL:function(e,t,n){"use strict";(function(e){t.a={settings:e("svg",{version:"1.1",x:"0px",y:"0px",width:"25px",height:"25.001px",viewBox:"0 0 25 25.001",style:"enable-background:new 0 0 25 25.001;",xmlSpace:"preserve"},e("g",null,e("path",{fill:"currentColor",d:"M24.38,10.175l-2.231-0.268c-0.228-0.851-0.562-1.655-0.992-2.401l1.387-1.763c0.212-0.271,0.188-0.69-0.057-0.934 l-2.299-2.3c-0.242-0.243-0.662-0.269-0.934-0.057l-1.766,1.389c-0.743-0.43-1.547-0.764-2.396-0.99L14.825,0.62 C14.784,0.279,14.469,0,14.125,0h-3.252c-0.344,0-0.659,0.279-0.699,0.62L9.906,2.851c-0.85,0.227-1.655,0.562-2.398,0.991 L5.743,2.455c-0.27-0.212-0.69-0.187-0.933,0.056L2.51,4.812C2.268,5.054,2.243,5.474,2.456,5.746L3.842,7.51 c-0.43,0.744-0.764,1.549-0.991,2.4l-2.23,0.267C0.28,10.217,0,10.532,0,10.877v3.252c0,0.344,0.279,0.657,0.621,0.699l2.231,0.268 c0.228,0.848,0.561,1.652,0.991,2.396l-1.386,1.766c-0.211,0.271-0.187,0.69,0.057,0.934l2.296,2.301 c0.243,0.242,0.663,0.269,0.933,0.057l1.766-1.39c0.744,0.43,1.548,0.765,2.398,0.991l0.268,2.23 c0.041,0.342,0.355,0.62,0.699,0.62h3.252c0.345,0,0.659-0.278,0.699-0.62l0.268-2.23c0.851-0.228,1.655-0.562,2.398-0.991 l1.766,1.387c0.271,0.212,0.69,0.187,0.933-0.056l2.299-2.301c0.244-0.242,0.269-0.662,0.056-0.935l-1.388-1.764 c0.431-0.744,0.764-1.548,0.992-2.397l2.23-0.268C24.721,14.785,25,14.473,25,14.127v-3.252 C25.001,10.529,24.723,10.216,24.38,10.175z M12.501,18.75c-3.452,0-6.25-2.798-6.25-6.25s2.798-6.25,6.25-6.25 s6.25,2.798,6.25,6.25S15.954,18.75,12.501,18.75z"}))),home:e("svg",{fill:"currentColor",viewBox:"0 0 48 48",width:"24px",height:"24px"},e("path",{d:"M39.5,43h-9c-1.381,0-2.5-1.119-2.5-2.5v-9c0-1.105-0.895-2-2-2h-4c-1.105,0-2,0.895-2,2v9c0,1.381-1.119,2.5-2.5,2.5h-9  C7.119,43,6,41.881,6,40.5V21.413c0-2.299,1.054-4.471,2.859-5.893L23.071,4.321c0.545-0.428,1.313-0.428,1.857,0L39.142,15.52  C40.947,16.942,42,19.113,42,21.411V40.5C42,41.881,40.881,43,39.5,43z"})),videoCall:e("svg",{"enable-background":"new 0 0 50 50",version:"1.1",viewBox:"0 0 50 50"},e("rect",{fill:"none",style:"height:24px;width:24px"}),e("polygon",{fill:"none",points:"49,14 36,21 36,29   49,36 ",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"4"}),e("path",{d:"M36,36c0,2.209-1.791,4-4,4  H5c-2.209,0-4-1.791-4-4V14c0-2.209,1.791-4,4-4h27c2.209,0,4,1.791,4,4V36z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"4"})),chat:e("svg",{x:"0px",y:"0px",viewBox:"0 0 486.736 486.736",style:"enable-background:new 0 0 486.736 486.736;",width:"24px",height:"24px",fill:"currentColor",stroke:"#000000","stroke-width":"0"},e("path",{fill:"currentColor",d:"M481.883,61.238l-474.3,171.4c-8.8,3.2-10.3,15-2.6,20.2l70.9,48.4l321.8-169.7l-272.4,203.4v82.4c0,5.6,6.3,9,11,5.9 l60-39.8l59.1,40.3c5.4,3.7,12.8,2.1,16.3-3.5l214.5-353.7C487.983,63.638,485.083,60.038,481.883,61.238z"})),circle:e("svg",{x:"0px",y:"0px",viewBox:"0 0 300 300",width:"24px",fill:"currentColor",height:"24px",style:"enable-background:new 0 0 300 300;"},e("path",{d:"M150,0C67.29,0,0,67.29,0,150s67.29,150,150,150s150-67.29,150-150S232.71,0,150,0z M150,270c-66.169,0-120-53.832-120-120 S83.831,30,150,30s120,53.832,120,120S216.168,270,150,270z"})),folder:e("svg",{"enable-background":"new 0 0 512 512",height:"24",viewBox:"0 0 512 512",width:"24",fill:"currentColor"},e("path",{d:"m255.964 90c-13.696-18.207-35.478-30-59.964-30h-196v392h512v-362zm226.036 332h-452v-332h166c24.813 0 45 20.187 45 45v45h241zm0-272h-211v-15c0-5.137-.519-10.151-1.507-15h212.507z"})),feed:e("svg",{x:"0px",y:"0px",width:"24px",height:"24px",fill:"currentColor",viewBox:"0 0 124 124",style:"enable-background:new 0 0 124 124;",xmlSpace:"preserve"},e("circle",{cx:"20.3",cy:"103.749",r:"20"}),e("path",{d:"M67,113.95c0,5.5,4.5,10,10,10s10-4.5,10-10c0-42.4-34.5-77-77-77c-5.5,0-10,4.5-10,10s4.5,10,10,10 C41.5,56.95,67,82.55,67,113.95z"}),e("path",{d:"M114,123.95c5.5,0,10-4.5,10-10c0-62.8-51.1-113.9-113.9-113.9c-5.5,0-10,4.5-10,10s4.5,10,10,10 c51.8,0,93.9,42.1,93.9,93.9C104,119.45,108.4,123.95,114,123.95z"})),store:e("svg",{viewBox:"0 0 74 74",width:"24",height:"24",fill:"currentColor"},e("g",null,e("path",{d:"M71,22H3a1,1,0,0,1-.908-1.419l6-13A1,1,0,0,1,9,7H65a1,1,0,0,1,.908.581l6,13A1,1,0,0,1,71,22ZM4.563,20H69.437L64.36,9H9.64Z"}),e("path",{d:"M7.857,34A5.864,5.864,0,0,1,2,28.143V21a1,1,0,0,1,1-1h9.714a1,1,0,0,1,1,1v7.143A5.864,5.864,0,0,1,7.857,34ZM4,22v6.143a3.857,3.857,0,0,0,7.714,0V22Z"}),e("path",{d:"M17.571,34a5.864,5.864,0,0,1-5.857-5.857V21a1,1,0,0,1,1-1h9.714a1,1,0,0,1,1,1v7.143A5.864,5.864,0,0,1,17.571,34ZM13.714,22v6.143a3.857,3.857,0,0,0,7.714,0V22Z"}),e("path",{d:"M27.286,34a5.864,5.864,0,0,1-5.857-5.857V21a1,1,0,0,1,1-1h9.714a1,1,0,0,1,1,1v7.143A5.864,5.864,0,0,1,27.286,34ZM23.429,22v6.143a3.857,3.857,0,0,0,7.714,0V22Z"}),e("path",{d:"M37,34a5.864,5.864,0,0,1-5.857-5.857V21a1,1,0,0,1,1-1h9.714a1,1,0,0,1,1,1v7.143A5.864,5.864,0,0,1,37,34ZM33.143,22v6.143a3.857,3.857,0,0,0,7.714,0V22Z"}),e("path",{d:"M46.714,34a5.864,5.864,0,0,1-5.857-5.857V21a1,1,0,0,1,1-1h9.714a1,1,0,0,1,1,1v7.143A5.864,5.864,0,0,1,46.714,34ZM42.857,22v6.143a3.857,3.857,0,0,0,7.714,0V22Z"}),e("path",{d:"M56.429,34a5.864,5.864,0,0,1-5.857-5.857V21a1,1,0,0,1,1-1h9.714a1,1,0,0,1,1,1v7.143A5.864,5.864,0,0,1,56.429,34ZM52.571,22v6.143a3.857,3.857,0,0,0,7.714,0V22Z"}),e("path",{d:"M66.143,34a5.864,5.864,0,0,1-5.857-5.857V21a1,1,0,0,1,1-1H71a1,1,0,0,1,1,1v7.143A5.864,5.864,0,0,1,66.143,34ZM62.286,22v6.143a3.857,3.857,0,0,0,7.714,0V22Z"}),e("path",{d:"M68,70H5.91a1,1,0,0,1-1-1V32h2V68H67V32h2V69A1,1,0,0,1,68,70Z"}),e("path",{d:"M60,70H43a1,1,0,0,1-1-1V41a1,1,0,0,1,1-1H60a1,1,0,0,1,1,1V69A1,1,0,0,1,60,70ZM44,68H59V42H44Z"}),e("path",{d:"M37,61.5H12a1,1,0,0,1-1-1v-20a1,1,0,0,1,1-1H37a1,1,0,0,1,1,1v20A1,1,0,0,1,37,61.5Zm-24-2H36v-18H13Z"}))),close:e("svg",{height:"25px",viewBox:"0 0 329.26933 329",width:"25px",fill:"currentColor"},e("path",{d:"m194.800781 164.769531 128.210938-128.214843c8.34375-8.339844 8.34375-21.824219 0-30.164063-8.339844-8.339844-21.824219-8.339844-30.164063 0l-128.214844 128.214844-128.210937-128.214844c-8.34375-8.339844-21.824219-8.339844-30.164063 0-8.34375 8.339844-8.34375 21.824219 0 30.164063l128.210938 128.214843-128.210938 128.214844c-8.34375 8.339844-8.34375 21.824219 0 30.164063 4.15625 4.160156 9.621094 6.25 15.082032 6.25 5.460937 0 10.921875-2.089844 15.082031-6.25l128.210937-128.214844 128.214844 128.214844c4.160156 4.160156 9.621094 6.25 15.082032 6.25 5.460937 0 10.921874-2.089844 15.082031-6.25 8.34375-8.339844 8.34375-21.824219 0-30.164063zm0 0"})),play:e("svg",{x:"0px",y:"0px",height:"25px",width:"25px",viewBox:"0 0 30.051 30.051",fill:"currentColor",style:"enable-background:new 0 0 30.051 30.051;"},e("path",{d:"M19.982,14.438l-6.24-4.536c-0.229-0.166-0.533-0.191-0.784-0.062c-0.253,0.128-0.411,0.388-0.411,0.669v9.069 c0,0.284,0.158,0.543,0.411,0.671c0.107,0.054,0.224,0.081,0.342,0.081c0.154,0,0.31-0.049,0.442-0.146l6.24-4.532 c0.197-0.145,0.312-0.369,0.312-0.607C20.295,14.803,20.177,14.58,19.982,14.438z"}),e("path",{d:"M15.026,0.002C6.726,0.002,0,6.728,0,15.028c0,8.297,6.726,15.021,15.026,15.021c8.298,0,15.025-6.725,15.025-15.021 C30.052,6.728,23.324,0.002,15.026,0.002z M15.026,27.542c-6.912,0-12.516-5.601-12.516-12.514c0-6.91,5.604-12.518,12.516-12.518 c6.911,0,12.514,5.607,12.514,12.518C27.541,21.941,21.937,27.542,15.026,27.542z"})),pause:e("svg",{"enable-background":"new 0 0 511.448 511.448",height:"25px",width:"25px",viewBox:"0 0 511.448 511.448",fill:"currentColor"},e("path",{d:"m436.508 74.94c-99.913-99.913-261.64-99.928-361.567 0-99.913 99.913-99.928 261.64 0 361.567 99.913 99.913 261.64 99.928 361.567 0 99.912-99.912 99.927-261.639 0-361.567zm-180.784 394.45c-117.816 0-213.667-95.851-213.667-213.667s95.851-213.666 213.667-213.666 213.666 95.851 213.666 213.667-95.85 213.666-213.666 213.666z"}),e("path",{d:"m298.39 160.057c-11.598 0-21 9.402-21 21v149.333c0 11.598 9.402 21 21 21s21-9.402 21-21v-149.333c0-11.598-9.401-21-21-21z"}),e("path",{d:"m213.057 160.057c-11.598 0-21 9.402-21 21v149.333c0 11.598 9.402 21 21 21s21-9.402 21-21v-149.333c0-11.598-9.401-21-21-21z"})),user:e("svg",{fill:"currentColor",width:"24px",height:"24px",viewBox:"0 0 478.024 478.024",style:"enable-background:new 0 0 478.024 478.024;"},e("path",{d:"M411.703,73.561c-45.117-47.093-107.542-73.67-172.76-73.55C107.145-0.155,0.166,106.554,0,238.353 c-0.082,65.17,26.492,127.538,73.55,172.623c0.137,0.136,0.188,0.341,0.324,0.461c1.382,1.331,2.884,2.458,4.284,3.738 c3.84,3.413,7.68,6.946,11.725,10.24c2.167,1.707,4.42,3.413,6.639,4.983c3.823,2.85,7.646,5.7,11.639,8.329 c2.714,1.707,5.513,3.413,8.294,5.12c3.686,2.219,7.356,4.454,11.162,6.485c3.226,1.707,6.519,3.174,9.796,4.727 c3.584,1.707,7.117,3.413,10.786,4.949c3.669,1.536,7.356,2.731,11.076,4.062s6.929,2.56,10.496,3.652 c4.028,1.212,8.158,2.15,12.254,3.157c3.413,0.836,6.724,1.792,10.24,2.475c4.71,0.939,9.489,1.536,14.268,2.185 c2.953,0.41,5.837,0.99,8.823,1.28c7.817,0.768,15.701,1.195,23.654,1.195s15.838-0.427,23.654-1.195 c2.987-0.29,5.871-0.87,8.823-1.28c4.779-0.649,9.557-1.246,14.268-2.185c3.413-0.683,6.827-1.707,10.24-2.475 c4.096-1.007,8.226-1.946,12.254-3.157c3.567-1.092,7.014-2.423,10.496-3.652c3.482-1.229,7.441-2.56,11.076-4.062 s7.202-3.26,10.786-4.949c3.277-1.553,6.571-3.021,9.796-4.727c3.806-2.031,7.475-4.267,11.162-6.485 c2.782-1.707,5.581-3.26,8.294-5.12c3.994-2.628,7.817-5.478,11.639-8.329c2.219-1.707,4.471-3.243,6.639-4.983 c4.045-3.243,7.885-6.69,11.725-10.24c1.399-1.28,2.901-2.406,4.284-3.738c0.136-0.119,0.188-0.324,0.324-0.461 C499.644,319.798,502.881,168.732,411.703,73.561z M373.344,393.107c-3.106,2.731-6.315,5.325-9.557,7.834 c-1.911,1.468-3.823,2.918-5.786,4.318c-3.089,2.236-6.229,4.352-9.421,6.383c-2.321,1.485-4.693,2.918-7.083,4.318 c-3.004,1.707-6.059,3.413-9.148,5.12c-2.731,1.399-5.513,2.714-8.311,4.011s-5.888,2.679-8.909,3.891 c-3.021,1.212-6.229,2.355-9.387,3.413c-2.884,0.99-5.768,2.014-8.687,2.884c-3.413,1.024-6.98,1.86-10.513,2.714 c-2.765,0.648-5.495,1.382-8.294,1.929c-4.045,0.785-8.175,1.331-12.322,1.894c-2.355,0.307-4.693,0.734-7.066,0.973 c-6.554,0.631-13.193,1.007-19.9,1.007s-13.346-0.375-19.9-1.007c-2.372-0.239-4.71-0.666-7.066-0.973 c-4.147-0.563-8.277-1.109-12.322-1.894c-2.799-0.546-5.53-1.28-8.294-1.929c-3.533-0.853-7.049-1.707-10.513-2.714 c-2.918-0.87-5.803-1.894-8.687-2.884c-3.157-1.092-6.315-2.202-9.387-3.413c-3.072-1.212-5.973-2.543-8.909-3.891 s-5.581-2.611-8.311-4.011c-3.089-1.604-6.144-3.294-9.148-5.12c-2.389-1.399-4.762-2.833-7.083-4.318 c-3.191-2.031-6.332-4.147-9.421-6.383c-1.963-1.399-3.874-2.85-5.786-4.318c-3.243-2.509-6.451-5.12-9.557-7.834 c-0.751-0.563-1.434-1.28-2.167-1.929c0.763-58.057,38.06-109.321,93.065-127.915c27.503,13.083,59.435,13.083,86.938,0 c55.004,18.594,92.301,69.857,93.065,127.915C374.76,391.827,374.077,392.476,373.344,393.107z M179.43,136.849 c18.479-32.864,60.1-44.525,92.964-26.046s44.525,60.1,26.046,92.964c-6.131,10.904-15.141,19.914-26.046,26.046 c-0.085,0-0.188,0-0.29,0.102c-4.526,2.519-9.309,4.545-14.268,6.042c-0.887,0.256-1.707,0.597-2.645,0.819 c-1.707,0.444-3.499,0.751-5.257,1.058c-3.31,0.579-6.659,0.915-10.018,1.007h-1.946c-3.359-0.092-6.708-0.428-10.018-1.007 c-1.707-0.307-3.516-0.614-5.256-1.058c-0.905-0.222-1.707-0.563-2.645-0.819c-4.959-1.497-9.742-3.522-14.268-6.042l-0.307-0.102 C172.612,211.334,160.951,169.713,179.43,136.849z M405.753,357.336L405.753,357.336c-10.952-51.083-44.59-94.39-91.375-117.64 c38.245-41.661,35.475-106.438-6.186-144.683c-41.661-38.245-106.438-35.475-144.683,6.186 c-35.954,39.166-35.954,99.332,0,138.497c-46.785,23.251-80.423,66.557-91.375,117.64C6.69,265.153,28.366,137.371,120.549,71.927 s219.965-43.768,285.409,48.415c24.601,34.653,37.807,76.104,37.786,118.602C443.744,281.405,430.46,322.802,405.753,357.336z"})),group:e("svg",{x:"0px",y:"0px",width:"24px",height:"24px",viewBox:"0 0 512 512",style:"enable-background:new 0 0 512 512;",fill:"currentColor"},e("g",null,e("g",null,e("path",{d:"M331.109,31.459c-12.983,0-25.378,2.544-36.743,7.121c20.261,25.057,32.417,56.924,32.417,91.583 s-12.157,66.525-32.417,91.583c11.365,4.577,23.76,7.121,36.743,7.121c54.426,0,98.704-44.277,98.704-98.703 S385.535,31.459,331.109,31.459z"}))),e("g",null,e("g",null,e("path",{d:"M331.109,276.055c-3.682,0-7.358,0.116-11.026,0.341c54.027,41.747,88.888,107.149,88.888,180.55 c0,8.271-1.439,16.209-4.058,23.594h83.493c13.03,0,23.594-10.564,23.594-23.594C512,357.203,430.852,276.055,331.109,276.055z"}))),e("g",null,e("g",null,e("path",{d:"M256,66.228c-18.119-21.252-45.058-34.769-75.109-34.769c-54.426,0-98.704,44.277-98.704,98.704 s44.277,98.703,98.704,98.703c30.052,0,56.99-13.516,75.109-34.769c14.695-17.238,23.594-39.558,23.594-63.935 S270.695,83.466,256,66.228z"}))),e("g",null,e("g",null,e("path",{d:"M255.964,292.386c-22.88-10.479-48.304-16.331-75.073-16.331C81.148,276.055,0,357.203,0,456.946 c0,13.03,10.564,23.594,23.594,23.594h314.593c0.002,0,0.002,0,0.002,0c13.03-0.002,23.593-10.566,23.593-23.594 C361.782,383.969,318.341,320.956,255.964,292.386z"})))),heartEmpty:e("svg",{width:"24",viewBox:"0 -28 512.001 512"},e("path",{fill:"currentColor",d:"m256 455.515625c-7.289062 0-14.316406-2.640625-19.792969-7.4375-20.683593-18.085937-40.625-35.082031-58.21875-50.074219l-.089843-.078125c-51.582032-43.957031-96.125-81.917969-127.117188-119.3125-34.644531-41.804687-50.78125-81.441406-50.78125-124.742187 0-42.070313 14.425781-80.882813 40.617188-109.292969 26.503906-28.746094 62.871093-44.578125 102.414062-44.578125 29.554688 0 56.621094 9.34375 80.445312 27.769531 12.023438 9.300781 22.921876 20.683594 32.523438 33.960938 9.605469-13.277344 20.5-24.660157 32.527344-33.960938 23.824218-18.425781 50.890625-27.769531 80.445312-27.769531 39.539063 0 75.910156 15.832031 102.414063 44.578125 26.191406 28.410156 40.613281 67.222656 40.613281 109.292969 0 43.300781-16.132812 82.9375-50.777344 124.738281-30.992187 37.398437-75.53125 75.355469-127.105468 119.308594-17.625 15.015625-37.597657 32.039062-58.328126 50.167969-5.472656 4.789062-12.503906 7.429687-19.789062 7.429687zm-112.96875-425.523437c-31.066406 0-59.605469 12.398437-80.367188 34.914062-21.070312 22.855469-32.675781 54.449219-32.675781 88.964844 0 36.417968 13.535157 68.988281 43.882813 105.605468 29.332031 35.394532 72.960937 72.574219 123.476562 115.625l.09375.078126c17.660156 15.050781 37.679688 32.113281 58.515625 50.332031 20.960938-18.253907 41.011719-35.34375 58.707031-50.417969 50.511719-43.050781 94.136719-80.222656 123.46875-115.617188 30.34375-36.617187 43.878907-69.1875 43.878907-105.605468 0-34.515625-11.605469-66.109375-32.675781-88.964844-20.757813-22.515625-49.300782-34.914062-80.363282-34.914062-22.757812 0-43.652344 7.234374-62.101562 21.5-16.441406 12.71875-27.894532 28.796874-34.609375 40.046874-3.453125 5.785157-9.53125 9.238282-16.261719 9.238282s-12.808594-3.453125-16.261719-9.238282c-6.710937-11.25-18.164062-27.328124-34.609375-40.046874-18.449218-14.265626-39.34375-21.5-62.097656-21.5zm0 0"})),heartFull:e("svg",{width:"24",viewBox:"0 -28 512.00002 512"},e("path",{fill:"currentColor",d:"m471.382812 44.578125c-26.503906-28.746094-62.871093-44.578125-102.410156-44.578125-29.554687 0-56.621094 9.34375-80.449218 27.769531-12.023438 9.300781-22.917969 20.679688-32.523438 33.960938-9.601562-13.277344-20.5-24.660157-32.527344-33.960938-23.824218-18.425781-50.890625-27.769531-80.445312-27.769531-39.539063 0-75.910156 15.832031-102.414063 44.578125-26.1875 28.410156-40.613281 67.222656-40.613281 109.292969 0 43.300781 16.136719 82.9375 50.78125 124.742187 30.992188 37.394531 75.535156 75.355469 127.117188 119.3125 17.613281 15.011719 37.578124 32.027344 58.308593 50.152344 5.476563 4.796875 12.503907 7.4375 19.792969 7.4375 7.285156 0 14.316406-2.640625 19.785156-7.429687 20.730469-18.128907 40.707032-35.152344 58.328125-50.171876 51.574219-43.949218 96.117188-81.90625 127.109375-119.304687 34.644532-41.800781 50.777344-81.4375 50.777344-124.742187 0-42.066407-14.425781-80.878907-40.617188-109.289063zm0 0"})),herokuButton:e("svg",{width:"147px",height:"32px",viewBox:"0 0 147 32",version:"1.1"},e("g",null,e("g",null,e("rect",{fill:"#7056BF",x:"0",y:"0",width:"147",height:"32",rx:"4"}),e("g",{transform:"translate(10.000000, 8.000000)",fill:"#FFFFFF"},e("path",{d:"M14.819,3.216 L9.103,0.25 C8.464,-0.082 7.536,-0.081 6.898,0.25 L1.181,3.216 C0.496,3.571 0,4.365 0,5.102 L0,11.035 C0,11.774 0.497,12.566 1.181,12.921 L4.039,14.404 C4.529,14.656 5.134,14.467 5.388,13.978 C5.642,13.487 5.451,12.884 4.961,12.629 L2.106,11.148 C2.068,11.124 2.008,11.039 2,11.035 L1.996,5.143 C2.008,5.098 2.068,5.013 2.103,4.991 L7.816,2.026 C7.897,1.991 8.106,1.992 8.181,2.025 L13.894,4.989 C13.932,5.013 13.992,5.098 14,5.102 L14.003,10.995 C13.992,11.039 13.932,11.124 13.898,11.146 L11.039,12.629 C10.549,12.884 10.358,13.487 10.612,13.978 C10.79,14.32 11.14,14.517 11.501,14.517 C11.656,14.517 11.814,14.481 11.961,14.404 L14.818,12.921 C15.503,12.566 16,11.774 16,11.035 L16,5.102 C16,4.365 15.504,3.571 14.819,3.216"}),e("path",{d:"M11.707,9.707 C12.098,9.316 12.098,8.684 11.707,8.293 L8.708,5.294 C8.616,5.201 8.505,5.128 8.382,5.077 C8.138,4.976 7.862,4.976 7.618,5.077 C7.495,5.128 7.385,5.201 7.292,5.294 L4.293,8.293 C3.902,8.684 3.902,9.316 4.293,9.707 C4.488,9.902 4.744,10 5,10 C5.256,10 5.512,9.902 5.707,9.707 L7,8.414 L7,15 C7,15.553 7.447,16 8,16 C8.553,16 9,15.553 9,15 L9,8.414 L10.293,9.707 C10.488,9.902 10.744,10 11,10 C11.256,10 11.512,9.902 11.707,9.707"})),e("path",{d:"M81.393,21.091 C81.744,21.091 82.173,21.052 82.368,21.013 L82.368,20.09 C82.186,20.142 81.913,20.181 81.666,20.181 C80.834,20.181 80.6,19.817 80.6,19.089 L80.6,15.059 L82.381,15.059 L82.381,14.136 L80.6,14.136 L80.6,11.692 L79.482,11.692 L79.482,14.136 L78.286,14.136 L78.286,15.059 L79.482,15.059 L79.482,19.336 C79.482,20.532 79.95,21.091 81.393,21.091 Z M86.697,21.143 C88.374,21.143 89.882,19.921 89.882,17.568 C89.882,15.202 88.374,13.993 86.697,13.993 C85.007,13.993 83.499,15.202 83.499,17.568 C83.499,19.921 85.02,21.143 86.697,21.143 Z M86.697,20.194 C85.306,20.194 84.63,19.024 84.63,17.568 C84.63,16.021 85.384,14.955 86.697,14.955 C88.062,14.955 88.751,16.138 88.751,17.568 C88.751,19.141 87.997,20.194 86.697,20.194 Z M94.705,21 L95.849,21 L95.849,16.463 L100.802,16.463 L100.802,21 L101.946,21 L101.946,11.38 L100.802,11.38 L100.802,15.41 L95.849,15.41 L95.849,11.38 L94.705,11.38 L94.705,21 Z M106.834,21.143 C108.121,21.143 108.992,20.597 109.629,19.687 L108.979,19.115 C108.459,19.83 107.9,20.233 106.912,20.233 C105.781,20.233 104.884,19.401 104.845,17.854 L109.694,17.854 L109.694,17.62 C109.694,15.137 108.459,13.993 106.834,13.993 C105.391,13.993 103.727,15.072 103.727,17.568 C103.727,19.96 105.209,21.143 106.834,21.143 Z M104.871,16.983 C105.027,15.566 105.898,14.929 106.821,14.929 C107.952,14.929 108.537,15.761 108.628,16.983 L104.871,16.983 Z M111.293,21 L112.411,21 L112.411,16.567 C112.918,15.592 113.737,15.02 114.829,15.02 C114.868,15.02 115.115,15.02 115.154,15.033 L115.232,13.993 L115.089,13.993 C113.75,13.993 112.944,14.617 112.437,15.41 L112.411,15.41 L112.411,14.136 L111.293,14.136 L111.293,21 Z M119.301,21.143 C120.978,21.143 122.486,19.921 122.486,17.568 C122.486,15.202 120.978,13.993 119.301,13.993 C117.611,13.993 116.103,15.202 116.103,17.568 C116.103,19.921 117.624,21.143 119.301,21.143 Z M119.301,20.194 C117.91,20.194 117.234,19.024 117.234,17.568 C117.234,16.021 117.988,14.955 119.301,14.955 C120.666,14.955 121.355,16.138 121.355,17.568 C121.355,19.141 120.601,20.194 119.301,20.194 Z M124.072,21 L125.19,21 L125.19,18.894 L126.555,17.425 L128.583,21 L129.779,21 L127.283,16.593 L129.532,14.136 L128.258,14.136 L125.19,17.568 L125.19,11.38 L124.072,11.38 L124.072,21 Z M133.055,21.13 C134.173,21.13 135.031,20.558 135.629,19.973 L135.629,21 L136.76,21 L136.76,14.136 L135.629,14.136 L135.629,19.089 C134.914,19.765 134.238,20.194 133.406,20.194 C132.535,20.194 132.145,19.765 132.145,18.855 L132.145,14.136 L131.027,14.136 L131.027,19.089 C131.027,20.389 131.742,21.13 133.055,21.13 L133.055,21.13 Z",fill:"#B7A7D5"}),e("path",{d:"M34.183,21 L36.718,21 C39.773,21 41.567,19.427 41.567,16.164 C41.567,12.94 39.812,11.38 36.718,11.38 L34.183,11.38 L34.183,21 Z M35.327,19.973 L35.327,12.433 L36.835,12.433 C39.175,12.433 40.423,13.577 40.423,16.164 C40.423,18.842 39.188,19.973 36.861,19.973 L35.327,19.973 Z M46,21.143 C47.287,21.143 48.158,20.597 48.795,19.687 L48.145,19.115 C47.625,19.83 47.066,20.233 46.078,20.233 C44.947,20.233 44.05,19.401 44.011,17.854 L48.86,17.854 L48.86,17.62 C48.86,15.137 47.625,13.993 46,13.993 C44.557,13.993 42.893,15.072 42.893,17.568 C42.893,19.96 44.375,21.143 46,21.143 Z M44.037,16.983 C44.193,15.566 45.064,14.929 45.987,14.929 C47.118,14.929 47.703,15.761 47.794,16.983 L44.037,16.983 Z M50.459,23.6 L51.577,23.6 L51.577,20.116 C52.162,20.727 52.877,21.104 53.722,21.104 C55.399,21.104 56.634,19.947 56.634,17.555 C56.634,15.163 55.412,13.993 53.839,13.993 C52.812,13.993 52.097,14.513 51.577,15.085 L51.577,14.136 L50.459,14.136 L50.459,23.6 Z M53.566,20.194 C52.838,20.194 52.175,19.83 51.577,19.154 L51.577,16.008 C52.149,15.384 52.786,14.955 53.579,14.955 C54.684,14.955 55.516,15.813 55.516,17.568 C55.516,19.388 54.762,20.194 53.566,20.194 Z M58.324,21 L59.442,21 L59.442,11.38 L58.324,11.38 L58.324,21 Z M64.304,21.143 C65.981,21.143 67.489,19.921 67.489,17.568 C67.489,15.202 65.981,13.993 64.304,13.993 C62.614,13.993 61.106,15.202 61.106,17.568 C61.106,19.921 62.627,21.143 64.304,21.143 Z M64.304,20.194 C62.913,20.194 62.237,19.024 62.237,17.568 C62.237,16.021 62.991,14.955 64.304,14.955 C65.669,14.955 66.358,16.138 66.358,17.568 C66.358,19.141 65.604,20.194 64.304,20.194 Z M69.465,23.639 C70.804,23.639 71.337,22.989 71.805,21.78 L74.743,14.136 L73.612,14.136 L71.597,19.687 L71.571,19.687 L69.556,14.136 L68.373,14.136 L71.025,21.039 L70.765,21.715 C70.492,22.391 70.154,22.69 69.452,22.69 C68.971,22.69 68.633,22.625 68.438,22.573 L68.178,23.47 C68.477,23.561 68.854,23.639 69.465,23.639 L69.465,23.639 Z",fill:"#FFFFFF"})))),menu:e("svg",{fill:"currentColor",x:"0px",y:"0px",viewBox:"0 0 384 384",width:"24px",height:"24px","enable-background":"new 0 0 384 384;"},e("g",null,e("rect",{x:"0",y:"277.333",width:"384",height:"42.667"}),e("rect",{x:"0",y:"170.667",width:"384",height:"42.667"}),e("rect",{x:"0",y:"64",width:"384",height:"42.667"}))),language:e("svg",{width:"14",height:"14",style:"margin-bottom: -1px; enable-background:new 0 0 469.333 469.333;",x:"0px",y:"0px",viewBox:"0 0 469.333 469.333"},e("path",{fill:"currentColor",d:"M253.227,300.267L253.227,300.267L199.04,246.72l0.64-0.64c37.12-41.387,63.573-88.96,79.147-139.307h62.507V64H192 V21.333h-42.667V64H0v42.453h238.293c-14.4,41.173-36.907,80.213-67.627,114.347c-19.84-22.08-36.267-46.08-49.28-71.467H78.72 c15.573,34.773,36.907,67.627,63.573,97.28l-108.48,107.2L64,384l106.667-106.667l66.347,66.347L253.227,300.267z"}),e("path",{fill:"currentColor",d:"M373.333,192h-42.667l-96,256h42.667l24-64h101.333l24,64h42.667L373.333,192z M317.333,341.333L352,248.853 l34.667,92.48H317.333z"})),search:e("svg",{x:"0px",y:"0px",width:"24px",height:"24px",viewBox:"0 0 28.931 28.932",style:"enable-background:new 0 0 28.931 28.932;"},e("path",{fill:"currentColor",d:"M28.344,25.518l-6.114-6.115c1.486-2.067,2.303-4.537,2.303-7.137c0-3.275-1.275-6.355-3.594-8.672 C18.625,1.278,15.543,0,12.266,0C8.99,0,5.909,1.275,3.593,3.594C1.277,5.909,0.001,8.99,0.001,12.266 c0,3.276,1.275,6.356,3.592,8.674c2.316,2.316,5.396,3.594,8.673,3.594c2.599,0,5.067-0.813,7.136-2.303l6.114,6.115 c0.392,0.391,0.902,0.586,1.414,0.586c0.513,0,1.024-0.195,1.414-0.586C29.125,27.564,29.125,26.299,28.344,25.518z M6.422,18.111 c-1.562-1.562-2.421-3.639-2.421-5.846S4.86,7.983,6.422,6.421c1.561-1.562,3.636-2.422,5.844-2.422s4.284,0.86,5.845,2.422 c1.562,1.562,2.422,3.638,2.422,5.845s-0.859,4.283-2.422,5.846c-1.562,1.562-3.636,2.42-5.845,2.42S7.981,19.672,6.422,18.111z"})),backArrow:e("svg",{fill:"currentColor",x:"0px",y:"0px",width:"24px",height:"24px",viewBox:"0 0 447.243 447.243",style:"enable-background:new 0 0 447.243 447.243;",xmlSpace:"preserve"},e("g",null,e("path",{d:"M420.361,192.229c-1.83-0.297-3.682-0.434-5.535-0.41H99.305l6.88-3.2c6.725-3.183,12.843-7.515,18.08-12.8l88.48-88.48 c11.653-11.124,13.611-29.019,4.64-42.4c-10.441-14.259-30.464-17.355-44.724-6.914c-1.152,0.844-2.247,1.764-3.276,2.754 l-160,160C-3.119,213.269-3.13,233.53,9.36,246.034c0.008,0.008,0.017,0.017,0.025,0.025l160,160 c12.514,12.479,32.775,12.451,45.255-0.063c0.982-0.985,1.899-2.033,2.745-3.137c8.971-13.381,7.013-31.276-4.64-42.4 l-88.32-88.64c-4.695-4.7-10.093-8.641-16-11.68l-9.6-4.32h314.24c16.347,0.607,30.689-10.812,33.76-26.88 C449.654,211.494,437.806,195.059,420.361,192.229z"}))),info:e("svg",{fill:"currentColor",viewBox:"0 0 24 24",width:"24px",height:"24px"},e("path",{d:"M 12 2 C 6.4889971 2 2 6.4889971 2 12 C 2 17.511003 6.4889971 22 12 22 C 17.511003 22 22 17.511003 22 12 C 22 6.4889971 17.511003 2 12 2 z M 12 4 C 16.430123 4 20 7.5698774 20 12 C 20 16.430123 16.430123 20 12 20 C 7.5698774 20 4 16.430123 4 12 C 4 7.5698774 7.5698774 4 12 4 z M 11 7 L 11 9 L 13 9 L 13 7 L 11 7 z M 11 11 L 11 17 L 13 17 L 13 11 L 11 11 z"})),network:e("svg",{fill:"currentColor","enable-background":"new 0 0 512 512",height:"16px",width:"16px",viewBox:"0 0 512 512"},e("g",null,e("g",null,e("g",null,e("path",{d:"m256 150.5c-41.353 0-75-33.647-75-75s33.647-75 75-75 75 33.647 75 75-33.647 75-75 75z"})),e("g",null,e("path",{d:"m10.026 429c-20.669-35.815-8.35-81.768 27.466-102.451 36.551-21.085 82.083-7.806 102.451 27.451 20.722 35.87 8.44 81.717-27.451 102.451-35.96 20.737-81.757 8.396-102.466-27.451z"})),e("g",null,e("path",{d:"m399.508 456.451c-35.867-20.721-48.185-66.561-27.451-102.451 20.367-35.256 65.898-48.537 102.451-27.451 35.815 20.684 48.135 66.636 27.466 102.451-20.683 35.802-66.455 48.218-102.466 27.451z"}))),e("g",null,e("path",{d:"m61.293 275.587-29.941-1.641c3.896-70.957 41.807-136.641 101.396-175.723l16.465 25.078c-51.665 33.883-84.522 90.821-87.92 152.286z"})),e("g",null,e("path",{d:"m450.707 275.587c-3.398-61.465-36.255-118.403-87.92-152.285l16.465-25.078c59.59 39.082 97.5 104.766 101.396 175.723z"})),e("g",null,e("path",{d:"m256 511.5c-35.684 0-69.8-8.115-101.426-24.097l13.535-26.777c54.785 27.715 120.996 27.715 175.781 0l13.535 26.777c-31.625 15.982-65.741 24.097-101.425 24.097z"}))))}}).call(this,n("hosL").h)},yqR5:function(e,t,n){"use strict";(function(e){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=n("5OaP"),p=n("3rgF"),h=n("jMw0"),d=n("lBHI"),g=n("Pidb");t.a=function(t){function n(){var e;return l(s(e=f.call(this)),"key",void 0),l(s(e),"cls",void 0),l(s(e),"actionDone",void 0),l(s(e),"action",void 0),l(s(e),"activeClass",void 0),l(s(e),"hoverAction",void 0),e.key="follow",e.actionDone="following",e.action="follow",e.activeClass="following",e.hoverAction="unfollow",e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(n,t);var r,c,u,f=a(n);return r=n,(c=[{key:"onClick",value:function(e){e.preventDefault();var t=!this.state[this.key];t&&"follow"===this.key&&(h.a.newChannel(this.props.id),d.a.public.user().get("block").get(this.props.id).put(!1),g.a.sendIrisNotification(this.props.id,{event:"follow"})),t&&"block"===this.key&&d.a.public.user().get("follow").get(this.props.id).put(!1),d.a.public.user().get(this.key).get(this.props.id).put(t)}},{key:"componentDidMount",value:function(){var e=this;d.a.public.user().get(this.key).get(this.props.id).on(this.sub((function(t){var n={};n[e.key]=t,e.setState(n)})))}},{key:"render",value:function(){var t=this;return e("button",{className:"".concat(this.cls||this.key," ").concat(this.state[this.key]?this.activeClass:""),onClick:function(e){return t.onClick(e)}},e("span",{className:"nonhover"},Object(p.c)(this.state[this.key]?this.actionDone:this.action)),e("span",{className:"hover"},Object(p.c)(this.hoverAction)))}}])&&i(r.prototype,c),u&&i(r,u),Object.defineProperty(r,"prototype",{writable:!1}),n}(f.a)}).call(this,n("hosL").h)}});
//# sourceMappingURL=bundle.527da.js.map