text: (function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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(n.s="5a74")})({"00ee":function(e,t,n){var r=n("b622"),o=r("toStringTag"),a={};a[o]="z",e.exports="[object z]"===String(a)},"0218":function(e,t,n){var r=n("fa4d");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("a895b96a",r,e)}},"0366":function(e,t,n){var r=n("1c0b");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},"0538":function(e,t,n){"use strict";var r=n("1c0b"),o=n("861d"),a=[].slice,i={},s=function(e,t,n){if(!(t in i)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";i[t]=Function("C,a","return new C("+r.join(",")+")")}return i[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),i=function(){var r=n.concat(a.call(arguments));return this instanceof i?s(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(i.prototype=t.prototype),i}},"057f":function(e,t,n){var r=n("fc6a"),o=n("241c").f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(t){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?s(e):o(r(e))}},"06cf":function(e,t,n){var r=n("83ab"),o=n("d1e7"),a=n("5c6c"),i=n("fc6a"),s=n("c04e"),c=n("5135"),l=n("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=i(e),t=s(t,!0),l)try{return u(e,t)}catch(n){}if(c(e,t))return a(!o.f.call(e,t),e[t])}},"0b25":function(e,t,n){var r=n("a691"),o=n("50c4");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},"0b68":function(e,t,n){var r=n("3339");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("795354eb",r,e)}},"0ccb":function(e,t,n){var r=n("50c4"),o=n("1148"),a=n("1d80"),i=Math.ceil,s=function(e){return function(t,n,s){var c,l,u=String(a(t)),d=u.length,f=void 0===s?" ":String(s),p=r(n);return p<=d||""==f?u:(c=p-d,l=o.call(f,i(c/f.length)),l.length>c&&(l=l.slice(0,c)),e?u+l:l+u)}};e.exports={start:s(!1),end:s(!0)}},"0cfb":function(e,t,n){var r=n("83ab"),o=n("d039"),a=n("cc12");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},"0d03":function(e,t,n){var r=n("6eeb"),o=Date.prototype,a="Invalid Date",i="toString",s=o[i],c=o.getTime;new Date(NaN)+""!=a&&r(o,i,(function(){var e=c.call(this);return e===e?s.call(this):a}))},"0d3b":function(e,t,n){var r=n("d039"),o=n("b622"),a=n("c430"),i=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),a&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0ed5":function(e,t,n){"use strict";n("e787")},1148:function(e,t,n){"use strict";var r=n("a691"),o=n("1d80");e.exports="".repeat||function(e){var t=String(o(this)),n="",a=r(e);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},"129f":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"13d5":function(e,t,n){"use strict";var r=n("23e7"),o=n("d58f").left,a=n("a640"),i=n("ae40"),s=n("2d00"),c=n("605d"),l=a("reduce"),u=i("reduce",{1:0}),d=!c&&s>79&&s<83;r({target:"Array",proto:!0,forced:!l||!u||d},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"13fc":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,"#vac-icon-search{fill:var(--chat-icon-color-search)}#vac-icon-add{fill:var(--chat-icon-color-add)}#vac-icon-toggle{fill:var(--chat-icon-color-toggle)}#vac-icon-menu{fill:var(--chat-icon-color-menu)}#vac-icon-close{fill:var(--chat-icon-color-close)}#vac-icon-close-image{fill:var(--chat-icon-color-close-image)}#vac-icon-file{fill:var(--chat-icon-color-file)}#vac-icon-paperclip{fill:var(--chat-icon-color-paperclip)}#vac-icon-close-outline{fill:var(--chat-icon-color-close-outline)}#vac-icon-send{fill:var(--chat-icon-color-send)}#vac-icon-send-disabled{fill:var(--chat-icon-color-send-disabled)}#vac-icon-emoji{fill:var(--chat-icon-color-emoji)}#vac-icon-emoji-reaction{fill:var(--chat-icon-color-emoji-reaction)}#vac-icon-document{fill:var(--chat-icon-color-document)}#vac-icon-pencil{fill:var(--chat-icon-color-pencil)}#vac-icon-checkmark,#vac-icon-double-checkmark{fill:var(--chat-icon-color-checkmark)}#vac-icon-checkmark-seen,#vac-icon-double-checkmark-seen{fill:var(--chat-icon-color-checkmark-seen)}#vac-icon-eye{fill:var(--chat-icon-color-eye)}#vac-icon-dropdown-message{fill:var(--chat-icon-color-dropdown-message)}#vac-icon-dropdown-room{fill:var(--chat-icon-color-dropdown-room)}#vac-icon-dropdown-scroll{fill:var(--chat-icon-color-dropdown-scroll)}#vac-icon-audio-play{fill:var(--chat-icon-color-audio-play)}#vac-icon-audio-pause{fill:var(--chat-icon-color-audio-pause)}",""]),e.exports=t},"145e":function(e,t,n){"use strict";var r=n("7b0b"),o=n("23cb"),a=n("50c4"),i=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=a(n.length),c=o(e,s),l=o(t,s),u=arguments.length>2?arguments[2]:void 0,d=i((void 0===u?s:o(u,s))-l,s-c),f=1;l<c&&c<l+d&&(f=-1,l+=d-1,c+=d-1);while(d-- >0)l in n?n[c]=n[l]:delete n[c],c+=f,l+=f;return n}},"14c3":function(e,t,n){var r=n("c6b6"),o=n("9263");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var a=n.call(e,t);if("object"!==typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"159b":function(e,t,n){var r=n("da84"),o=n("fdbc"),a=n("17c2"),i=n("9112");for(var s in o){var c=r[s],l=c&&c.prototype;if(l&&l.forEach!==a)try{i(l,"forEach",a)}catch(u){l.forEach=a}}},1652:function(e,t,n){"use strict";t.__esModule=!0,t.stateify=t.TokenState=t.CharacterState=void 0;var r=n("254c");function o(){return function(e){this.j=[],this.T=e||null}}var a=o();a.prototype={defaultTransition:!1,on:function(e,t){if(e instanceof Array){for(var n=0;n<e.length;n++)this.j.push([e[n],t]);return this}return this.j.push([e,t]),this},next:function(e){for(var t=0;t<this.j.length;t++){var n=this.j[t],r=n[0],o=n[1];if(this.test(e,r))return o}return this.defaultTransition},accepts:function(){return!!this.T},test:function(e,t){return e===t},emit:function(){return this.T}};var i=(0,r.inherits)(a,o(),{test:function(e,t){return e===t||t instanceof RegExp&&t.test(e)}}),s=(0,r.inherits)(a,o(),{jump:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new e(""));return n===this.defaultTransition?(n=new this.constructor(t),this.on(e,n)):t&&(n.T=t),n},test:function(e,t){return e instanceof t}});function c(e,t,n,r){var o=0,a=e.length,s=t,c=[],l=void 0;while(o<a&&(l=s.next(e[o])))s=l,o++;if(o>=a)return[];while(o<a-1)l=new i(r),c.push(l),s.on(e[o],l),s=l,o++;return l=new i(n),c.push(l),s.on(e[a-1],l),c}t.CharacterState=i,t.TokenState=s,t.stateify=c},"170b":function(e,t,n){"use strict";var r=n("ebb5"),o=n("50c4"),a=n("23cb"),i=n("4840"),s=r.aTypedArray,c=r.exportTypedArrayMethod;c("subarray",(function(e,t){var n=s(this),r=n.length,c=a(e,r);return new(i(n,n.constructor))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,o((void 0===t?r:a(t,r))-c))}))},"172b":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-reply-container{position:absolute;display:flex;padding:10px 10px 0 10px;background:var(--chat-footer-bg-color);align-items:center;width:calc(100% - 20px)}.vac-reply-container .vac-reply-box{width:100%;overflow:hidden;background:var(--chat-footer-bg-color-reply);border-radius:4px;padding:8px 10px;display:flex}.vac-reply-container .vac-reply-info{overflow:hidden}.vac-reply-container .vac-reply-username{color:var(--chat-message-color-reply-username);font-size:12px;line-height:15px;margin-bottom:2px}.vac-reply-container .vac-reply-content{font-size:12px;color:var(--chat-message-color-reply-content);white-space:pre-line}.vac-reply-container .vac-icon-reply{margin-left:10px}.vac-reply-container .vac-icon-reply svg{height:20px;width:20px}.vac-reply-container .vac-image-reply{max-height:100px;margin-right:10px;border-radius:4px}@media only screen and (max-width:768px){.vac-reply-container{padding:5px 8px;width:calc(100% - 16px)}}",""]),e.exports=t},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,o=n("a640"),a=n("ae40"),i=o("forEach"),s=a("forEach");e.exports=i&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"182d":function(e,t,n){var r=n("f8cd");e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},"19aa":function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"1a98":function(e,t,n){"use strict";n.r(t),n.d(t,"detectMobile",(function(){return r})),n.d(t,"iOSDevice",(function(){return a}));n("caad"),n("2532");function r(){var e=o(),t=e.substr(0,4);return/(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|android|ipad|playbook|silk/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|dcs|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|gf5|gmo|go(\.w|od)|gr(ad|un)|haie|hcit|hd(m|p|t)|hei|hi(pt|ta)|hp( i|ip)|hsc|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|m1w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|mcr|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)|pn2|po(ck|rt|se)|prox|psio|ptg|qaa|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)|sk0|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|tmo|to(pl|sh)|ts(70|m|m3|m5)|tx9|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(t)}function o(){var e=navigator.userAgent||navigator.vendor||window.opera||null;if(!e)throw new Error("Failed to look for user agent information.");return e}function a(){return["iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,n){var r=n("b622"),o=r("iterator"),a=!1;try{var i=0,s={next:function(){return{done:!!i++}},return:function(){a=!0}};s[o]=function(){return this},Array.from(s,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var r={};r[o]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(c){}return n}},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},"1d1c":function(e,t,n){var r=n("23e7"),o=n("83ab"),a=n("37e8");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:a})},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,n){var r=n("d039"),o=n("b622"),a=n("2d00"),i=o("species");e.exports=function(e){return a>=51||!r((function(){var t=[],n=t.constructor={};return n[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"219c":function(e,t,n){"use strict";var r=n("ebb5"),o=r.aTypedArray,a=r.exportTypedArrayMethod,i=[].sort;a("sort",(function(e){return i.call(o(this),e)}))},2266:function(e,t,n){var r=n("825a"),o=n("e95a"),a=n("50c4"),i=n("0366"),s=n("35a1"),c=n("2a62"),l=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var u,d,f,p,h,m,g,v=n&&n.that,b=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),x=!(!n||!n.INTERRUPTED),w=i(t,v,1+b+x),_=function(e){return u&&c(u),new l(!0,e)},k=function(e){return b?(r(e),x?w(e[0],e[1],_):w(e[0],e[1])):x?w(e,_):w(e)};if(y)u=e;else{if(d=s(e),"function"!=typeof d)throw TypeError("Target is not iterable");if(o(d)){for(f=0,p=a(e.length);p>f;f++)if(h=k(e[f]),h&&h instanceof l)return h;return new l(!1)}u=d.call(e)}m=u.next;while(!(g=m.call(u)).done){try{h=k(g.value)}catch(S){throw c(u),S}if("object"==typeof h&&h&&h instanceof l)return h}return new l(!1)}},"22bf":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-format-message-wrapper .vac-icon-deleted{height:14px;width:14px;vertical-align:middle;margin:-3px 1px 0 0;fill:var(--chat-room-color-message)}.vac-format-message-wrapper .vac-image-link-container{background-color:var(--chat-message-bg-color-media);padding:8px;margin:2px auto;border-radius:4px}.vac-format-message-wrapper .vac-image-link{position:relative;background-color:var(--chat-message-bg-color-image)!important;background-size:contain;background-position:50%!important;background-repeat:no-repeat!important;height:150px;width:150px;max-width:100%;border-radius:4px;margin:0 auto}.vac-format-message-wrapper .vac-image-link-message{max-width:166px;font-size:12px}",""]),e.exports=t},2315:function(e,t,n){"use strict";var r=n("23e7"),o=n("857a"),a=n("af03");r({target:"String",proto:!0,forced:a("strike")},{strike:function(){return o(this,"strike","","")}})},"23cb":function(e,t,n){var r=n("a691"),o=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):a(n,t)}},"23e7":function(e,t,n){var r=n("da84"),o=n("06cf").f,a=n("9112"),i=n("6eeb"),s=n("ce4e"),c=n("e893"),l=n("94ca");e.exports=function(e,t){var n,u,d,f,p,h,m=e.target,g=e.global,v=e.stat;if(u=g?r:v?r[m]||s(m,{}):(r[m]||{}).prototype,u)for(d in t){if(p=t[d],e.noTargetGet?(h=o(u,d),f=h&&h.value):f=u[d],n=l(g?d:m+(v?".":"#")+d,e.forced),!n&&void 0!==f){if(typeof p===typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&a(p,"sham",!0),i(u,d,p,e)}}},"23e8":function(e,t,n){var r=n("b467");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("3ad9df4b",r,e)}},"241c":function(e,t,n){var r=n("ca84"),o=n("7839"),a=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},"24fb":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var a=o(r),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([a]).join("\n")}return[n].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"===typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},2532:function(e,t,n){"use strict";var r=n("23e7"),o=n("5a34"),a=n("1d80"),i=n("ab13");r({target:"String",proto:!0,forced:!i("includes")},{includes:function(e){return!!~String(a(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},"254c":function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.create(e.prototype);for(var o in n)r[o]=n[o];return r.constructor=t,t.prototype=r,t}t.__esModule=!0,t.inherits=r},"25a1":function(e,t,n){"use strict";var r=n("ebb5"),o=n("d58f").right,a=r.aTypedArray,i=r.exportTypedArrayMethod;i("reduceRight",(function(e){return o(a(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},"25f0":function(e,t,n){"use strict";var r=n("6eeb"),o=n("825a"),a=n("d039"),i=n("ad6d"),s="toString",c=RegExp.prototype,l=c[s],u=a((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),d=l.name!=s;(u||d)&&r(RegExp.prototype,s,(function(){var e=o(this),t=String(e.source),n=e.flags,r=String(void 0===n&&e instanceof RegExp&&!("flags"in c)?i.call(e):n);return"/"+t+"/"+r}),{unsafe:!0})},2626:function(e,t,n){"use strict";var r=n("d066"),o=n("9bf2"),a=n("b622"),i=n("83ab"),s=a("species");e.exports=function(e){var t=r(e),n=o.f;i&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},"277d":function(e,t,n){var r=n("23e7"),o=n("e8b5");r({target:"Array",stat:!0},{isArray:o})},2954:function(e,t,n){"use strict";var r=n("ebb5"),o=n("4840"),a=n("d039"),i=r.aTypedArray,s=r.aTypedArrayConstructor,c=r.exportTypedArrayMethod,l=[].slice,u=a((function(){new Int8Array(1).slice()}));c("slice",(function(e,t){var n=l.call(i(this),e,t),r=o(this,this.constructor),a=0,c=n.length,u=new(s(r))(c);while(c>a)u[a]=n[a++];return u}),u)},"2a62":function(e,t,n){var r=n("825a");e.exports=function(e){var t=e["return"];if(void 0!==t)return r(t.call(e)).value}},"2a92":function(e,t,n){"use strict";n("c1c7")},"2b3d":function(e,t,n){"use strict";n("3ca3");var r,o=n("23e7"),a=n("83ab"),i=n("0d3b"),s=n("da84"),c=n("37e8"),l=n("6eeb"),u=n("19aa"),d=n("5135"),f=n("60da"),p=n("4df4"),h=n("6547").codeAt,m=n("5fb2"),g=n("d44e"),v=n("9861"),b=n("69f3"),y=s.URL,x=v.URLSearchParams,w=v.getState,_=b.set,k=b.getterFor("URL"),S=Math.floor,A=Math.pow,E="Invalid authority",M="Invalid scheme",O="Invalid host",R="Invalid port",j=/[A-Za-z]/,T=/[\d+-.A-Za-z]/,C=/\d/,L=/^(0x|0X)/,I=/^[0-7]+$/,P=/^\d+$/,N=/^[\dA-Fa-f]+$/,U=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,F=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,$=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,B=/[\u0009\u000A\u000D]/g,q=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return O;if(n=z(t.slice(1,-1)),!n)return O;e.host=n}else if(J(e)){if(t=m(t),U.test(t))return O;if(n=D(t),null===n)return O;e.host=n}else{if(F.test(t))return O;for(n="",r=p(t),o=0;o<r.length;o++)n+=Z(r[o],Y);e.host=n}},D=function(e){var t,n,r,o,a,i,s,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),t=c.length,t>4)return e;for(n=[],r=0;r<t;r++){if(o=c[r],""==o)return e;if(a=10,o.length>1&&"0"==o.charAt(0)&&(a=L.test(o)?16:8,o=o.slice(8==a?1:2)),""===o)i=0;else{if(!(10==a?P:8==a?I:N).test(o))return e;i=parseInt(o,a)}n.push(i)}for(r=0;r<t;r++)if(i=n[r],r==t-1){if(i>=A(256,5-t))return null}else if(i>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*A(256,3-r);return s},z=function(e){var t,n,r,o,a,i,s,c=[0,0,0,0,0,0,0,0],l=0,u=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,l++,u=l}while(f()){if(8==l)return;if(":"!=f()){t=n=0;while(n<4&&N.test(f()))t=16*t+parseInt(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,l>6)return;r=0;while(f()){if(o=null,r>0){if(!("."==f()&&r<4))return;d++}if(!C.test(f()))return;while(C.test(f())){if(a=parseInt(f(),10),null===o)o=a;else{if(0==o)return;o=10*o+a}if(o>255)return;d++}c[l]=256*c[l]+o,r++,2!=r&&4!=r||l++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;c[l++]=t}else{if(null!==u)return;d++,l++,u=l}}if(null!==u){i=l-u,l=7;while(0!=l&&i>0)s=c[l],c[l--]=c[u+i-1],c[u+--i]=s}else if(8!=l)return;return c},H=function(e){for(var t=null,n=1,r=null,o=0,a=0;a<8;a++)0!==e[a]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=a),++o);return o>n&&(t=r,n=o),t},V=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=S(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=H(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},Y={},G=f({},Y,{" ":1,'"':1,"<":1,">":1,"`":1}),K=f({},G,{"#":1,"?":1,"{":1,"}":1}),W=f({},K,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Z=function(e,t){var n=h(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},X={ftp:21,file:null,http:80,https:443,ws:80,wss:443},J=function(e){return d(X,e.scheme)},Q=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var n;return 2==e.length&&j.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ne=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},re=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&te(t[0],!0)||t.pop()},oe=function(e){return"."===e||"%2e"===e.toLowerCase()},ae=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ie={},se={},ce={},le={},ue={},de={},fe={},pe={},he={},me={},ge={},ve={},be={},ye={},xe={},we={},_e={},ke={},Se={},Ae={},Ee={},Me=function(e,t,n,o){var a,i,s,c,l=n||ie,u=0,f="",h=!1,m=!1,g=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace($,"")),t=t.replace(B,""),a=p(t);while(u<=a.length){switch(i=a[u],l){case ie:if(!i||!j.test(i)){if(n)return M;l=ce;continue}f+=i.toLowerCase(),l=se;break;case se:if(i&&(T.test(i)||"+"==i||"-"==i||"."==i))f+=i.toLowerCase();else{if(":"!=i){if(n)return M;f="",l=ce,u=0;continue}if(n&&(J(e)!=d(X,f)||"file"==f&&(Q(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,n)return void(J(e)&&X[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?l=ye:J(e)&&o&&o.scheme==e.scheme?l=le:J(e)?l=pe:"/"==a[u+1]?(l=ue,u++):(e.cannotBeABaseURL=!0,e.path.push(""),l=Se)}break;case ce:if(!o||o.cannotBeABaseURL&&"#"!=i)return M;if(o.cannotBeABaseURL&&"#"==i){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,l=Ee;break}l="file"==o.scheme?ye:de;continue;case le:if("/"!=i||"/"!=a[u+1]){l=de;continue}l=he,u++;break;case ue:if("/"==i){l=me;break}l=ke;continue;case de:if(e.scheme=o.scheme,i==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==i||"\\"==i&&J(e))l=fe;else if("?"==i)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",l=Ae;else{if("#"!=i){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),l=ke;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=Ee}break;case fe:if(!J(e)||"/"!=i&&"\\"!=i){if("/"!=i){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,l=ke;continue}l=me}else l=he;break;case pe:if(l=he,"/"!=i||"/"!=f.charAt(u+1))continue;u++;break;case he:if("/"!=i&&"\\"!=i){l=me;continue}break;case me:if("@"==i){h&&(f="%40"+f),h=!0,s=p(f);for(var v=0;v<s.length;v++){var b=s[v];if(":"!=b||g){var y=Z(b,W);g?e.password+=y:e.username+=y}else g=!0}f=""}else if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&J(e)){if(h&&""==f)return E;u-=p(f).length+1,f="",l=ge}else f+=i;break;case ge:case ve:if(n&&"file"==e.scheme){l=we;continue}if(":"!=i||m){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&J(e)){if(J(e)&&""==f)return O;if(n&&""==f&&(Q(e)||null!==e.port))return;if(c=q(e,f),c)return c;if(f="",l=_e,n)return;continue}"["==i?m=!0:"]"==i&&(m=!1),f+=i}else{if(""==f)return O;if(c=q(e,f),c)return c;if(f="",l=be,n==ve)return}break;case be:if(!C.test(i)){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&J(e)||n){if(""!=f){var x=parseInt(f,10);if(x>65535)return R;e.port=J(e)&&x===X[e.scheme]?null:x,f=""}if(n)return;l=_e;continue}return R}f+=i;break;case ye:if(e.scheme="file","/"==i||"\\"==i)l=xe;else{if(!o||"file"!=o.scheme){l=ke;continue}if(i==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==i)e.host=o.host,e.path=o.path.slice(),e.query="",l=Ae;else{if("#"!=i){ne(a.slice(u).join(""))||(e.host=o.host,e.path=o.path.slice(),re(e)),l=ke;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=Ee}}break;case xe:if("/"==i||"\\"==i){l=we;break}o&&"file"==o.scheme&&!ne(a.slice(u).join(""))&&(te(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),l=ke;continue;case we:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&te(f))l=ke;else if(""==f){if(e.host="",n)return;l=_e}else{if(c=q(e,f),c)return c;if("localhost"==e.host&&(e.host=""),n)return;f="",l=_e}continue}f+=i;break;case _e:if(J(e)){if(l=ke,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=r&&(l=ke,"/"!=i))continue}else e.fragment="",l=Ee;else e.query="",l=Ae;break;case ke:if(i==r||"/"==i||"\\"==i&&J(e)||!n&&("?"==i||"#"==i)){if(ae(f)?(re(e),"/"==i||"\\"==i&&J(e)||e.path.push("")):oe(f)?"/"==i||"\\"==i&&J(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(f)&&(e.host&&(e.host=""),f=f.charAt(0)+":"),e.path.push(f)),f="","file"==e.scheme&&(i==r||"?"==i||"#"==i))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==i?(e.query="",l=Ae):"#"==i&&(e.fragment="",l=Ee)}else f+=Z(i,K);break;case Se:"?"==i?(e.query="",l=Ae):"#"==i?(e.fragment="",l=Ee):i!=r&&(e.path[0]+=Z(i,Y));break;case Ae:n||"#"!=i?i!=r&&("'"==i&&J(e)?e.query+="%27":e.query+="#"==i?"%23":Z(i,Y)):(e.fragment="",l=Ee);break;case Ee:i!=r&&(e.fragment+=Z(i,G));break}u++}},Oe=function(e){var t,n,r=u(this,Oe,"URL"),o=arguments.length>1?arguments[1]:void 0,i=String(e),s=_(r,{type:"URL"});if(void 0!==o)if(o instanceof Oe)t=k(o);else if(n=Me(t={},String(o)),n)throw TypeError(n);if(n=Me(s,i,null,t),n)throw TypeError(n);var c=s.searchParams=new x,l=w(c);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(c)||null},a||(r.href=je.call(r),r.origin=Te.call(r),r.protocol=Ce.call(r),r.username=Le.call(r),r.password=Ie.call(r),r.host=Pe.call(r),r.hostname=Ne.call(r),r.port=Ue.call(r),r.pathname=Fe.call(r),r.search=$e.call(r),r.searchParams=Be.call(r),r.hash=qe.call(r))},Re=Oe.prototype,je=function(){var e=k(this),t=e.scheme,n=e.username,r=e.password,o=e.host,a=e.port,i=e.path,s=e.query,c=e.fragment,l=t+":";return null!==o?(l+="//",Q(e)&&(l+=n+(r?":"+r:"")+"@"),l+=V(o),null!==a&&(l+=":"+a)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?i[0]:i.length?"/"+i.join("/"):"",null!==s&&(l+="?"+s),null!==c&&(l+="#"+c),l},Te=function(){var e=k(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&J(e)?t+"://"+V(e.host)+(null!==n?":"+n:""):"null"},Ce=function(){return k(this).scheme+":"},Le=function(){return k(this).username},Ie=function(){return k(this).password},Pe=function(){var e=k(this),t=e.host,n=e.port;return null===t?"":null===n?V(t):V(t)+":"+n},Ne=function(){var e=k(this).host;return null===e?"":V(e)},Ue=function(){var e=k(this).port;return null===e?"":String(e)},Fe=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},$e=function(){var e=k(this).query;return e?"?"+e:""},Be=function(){return k(this).searchParams},qe=function(){var e=k(this).fragment;return e?"#"+e:""},De=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(a&&c(Re,{href:De(je,(function(e){var t=k(this),n=String(e),r=Me(t,n);if(r)throw TypeError(r);w(t.searchParams).updateSearchParams(t.query)})),origin:De(Te),protocol:De(Ce,(function(e){var t=k(this);Me(t,String(e)+":",ie)})),username:De(Le,(function(e){var t=k(this),n=p(String(e));if(!ee(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=Z(n[r],W)}})),password:De(Ie,(function(e){var t=k(this),n=p(String(e));if(!ee(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=Z(n[r],W)}})),host:De(Pe,(function(e){var t=k(this);t.cannotBeABaseURL||Me(t,String(e),ge)})),hostname:De(Ne,(function(e){var t=k(this);t.cannotBeABaseURL||Me(t,String(e),ve)})),port:De(Ue,(function(e){var t=k(this);ee(t)||(e=String(e),""==e?t.port=null:Me(t,e,be))})),pathname:De(Fe,(function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],Me(t,e+"",_e))})),search:De($e,(function(e){var t=k(this);e=String(e),""==e?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Me(t,e,Ae)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:De(Be),hash:De(qe,(function(e){var t=k(this);e=String(e),""!=e?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Me(t,e,Ee)):t.fragment=null}))}),l(Re,"toJSON",(function(){return je.call(this)}),{enumerable:!0}),l(Re,"toString",(function(){return je.call(this)}),{enumerable:!0}),y){var ze=y.createObjectURL,He=y.revokeObjectURL;ze&&l(Oe,"createObjectURL",(function(e){return ze.apply(y,arguments)})),He&&l(Oe,"revokeObjectURL",(function(e){return He.apply(y,arguments)}))}g(Oe,"URL"),o({global:!0,forced:!i,sham:!a},{URL:Oe})},"2c2f":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-message-actions-wrapper .vac-options-container{position:absolute;top:2px;right:10px;height:40px;width:70px;overflow:hidden;border-top-right-radius:8px}.vac-message-actions-wrapper .vac-options-image .vac-blur-container{background:hsla(0,0%,100%,.6);border-bottom-left-radius:15px}.vac-message-actions-wrapper .vac-blur-container{position:absolute;height:100%;width:100%;left:8px;bottom:10px;background:var(--chat-message-bg-color);filter:blur(3px);border-bottom-left-radius:8px}.vac-message-actions-wrapper .vac-options-me{background:var(--chat-message-bg-color-me)}.vac-message-actions-wrapper .vac-message-options{background:var(--chat-icon-bg-dropdown-message);border-radius:50%;position:absolute;top:7px;right:7px}.vac-message-actions-wrapper .vac-message-options svg{height:17px;width:17px;padding:5px;margin:-5px}.vac-message-actions-wrapper .vac-message-emojis{position:absolute;top:6px;right:30px}.vac-message-actions-wrapper .vac-menu-options{right:15px}.vac-message-actions-wrapper .vac-menu-left{right:-118px}@media only screen and (max-width:768px){.vac-message-actions-wrapper .vac-options-container{right:3px}.vac-message-actions-wrapper .vac-menu-left{right:-50px}}",""]),e.exports=t},"2ca0":function(e,t,n){"use strict";var r=n("23e7"),o=n("06cf").f,a=n("50c4"),i=n("5a34"),s=n("1d80"),c=n("ab13"),l=n("c430"),u="".startsWith,d=Math.min,f=c("startsWith"),p=!l&&!f&&!!function(){var e=o(String.prototype,"startsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!p&&!f},{startsWith:function(e){var t=String(s(this));i(e);var n=a(d(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return u?u.call(t,r,n):t.slice(n,n+r.length)===r}})},"2cf4":function(e,t,n){var r,o,a,i=n("da84"),s=n("d039"),c=n("0366"),l=n("1be4"),u=n("cc12"),d=n("1cdc"),f=n("605d"),p=i.location,h=i.setImmediate,m=i.clearImmediate,g=i.process,v=i.MessageChannel,b=i.Dispatch,y=0,x={},w="onreadystatechange",_=function(e){if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}},k=function(e){return function(){_(e)}},S=function(e){_(e.data)},A=function(e){i.postMessage(e+"",p.protocol+"//"+p.host)};h&&m||(h=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return x[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(y),y},m=function(e){delete x[e]},f?r=function(e){g.nextTick(k(e))}:b&&b.now?r=function(e){b.now(k(e))}:v&&!d?(o=new v,a=o.port2,o.port1.onmessage=S,r=c(a.postMessage,a,1)):i.addEventListener&&"function"==typeof postMessage&&!i.importScripts&&p&&"file:"!==p.protocol&&!s(A)?(r=A,i.addEventListener("message",S,!1)):r=w in u("script")?function(e){l.appendChild(u("script"))[w]=function(){l.removeChild(this),_(e)}}:function(e){setTimeout(k(e),0)}),e.exports={set:h,clear:m}},"2d00":function(e,t,n){var r,o,a=n("da84"),i=n("342f"),s=a.process,c=s&&s.versions,l=c&&c.v8;l?(r=l.split("."),o=r[0]+r[1]):i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(o=r[1]))),e.exports=o&&+o},"2d78":function(e,t,n){"use strict";t.__esModule=!0,t.tokenize=t.test=t.scanner=t.parser=t.options=t.inherits=t.find=void 0;var r=n("254c"),o=n("316e"),a=u(o),i=n("b7fe"),s=u(i),c=n("4128"),l=u(c);function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var d=function(e){return l.run(s.run(e))},f=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=d(e),r=[],o=0;o<n.length;o++){var a=n[o];!a.isLink||t&&a.type!==t||r.push(a.toObject())}return r},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=d(e);return 1===n.length&&n[0].isLink&&(!t||n[0].type===t)};t.find=f,t.inherits=r.inherits,t.options=a,t.parser=l,t.scanner=s,t.test=p,t.tokenize=d},3039:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-image-container{width:250px;max-width:100%}.vac-image-container .vac-image-loading{filter:blur(3px)}.vac-image-container .vac-image-buttons{position:absolute;width:100%;height:100%;border-radius:4px;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.02) 60%,rgba(0,0,0,.05) 65%,rgba(0,0,0,.1) 70%,rgba(0,0,0,.2) 75%,rgba(0,0,0,.3) 80%,rgba(0,0,0,.5) 85%,rgba(0,0,0,.6) 90%,rgba(0,0,0,.7) 95%,rgba(0,0,0,.8))}.vac-image-container .vac-image-buttons svg{height:26px;width:26px}.vac-image-container .vac-image-buttons .vac-button-download,.vac-image-container .vac-image-buttons .vac-button-view{position:absolute;bottom:6px;left:7px}.vac-image-container .vac-image-buttons :first-child{left:40px}.vac-image-container .vac-image-buttons .vac-button-view{max-width:18px;bottom:8px}",""]),e.exports=t},"316e":function(e,t,n){"use strict";t.__esModule=!0;var 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},o={defaultProtocol:"http",events:null,format:s,formatHref:s,nl2br:!1,tagName:"a",target:c,validate:!0,ignoreTags:[],attributes:null,className:"linkified"};function a(e){e=e||{},this.defaultProtocol=e.hasOwnProperty("defaultProtocol")?e.defaultProtocol:o.defaultProtocol,this.events=e.hasOwnProperty("events")?e.events:o.events,this.format=e.hasOwnProperty("format")?e.format:o.format,this.formatHref=e.hasOwnProperty("formatHref")?e.formatHref:o.formatHref,this.nl2br=e.hasOwnProperty("nl2br")?e.nl2br:o.nl2br,this.tagName=e.hasOwnProperty("tagName")?e.tagName:o.tagName,this.target=e.hasOwnProperty("target")?e.target:o.target,this.validate=e.hasOwnProperty("validate")?e.validate:o.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||o.attributes,this.className=e.hasOwnProperty("className")?e.className:e.linkClass||o.className;for(var t=e.hasOwnProperty("ignoreTags")?e.ignoreTags:o.ignoreTags,n=0;n<t.length;n++)this.ignoreTags.push(t[n].toUpperCase())}function i(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1}function s(e){return e}function c(e,t){return"url"===t?"_blank":null}t.defaults=o,t.Options=a,t.contains=i,a.prototype={resolve:function(e){var t=e.toHref(this.defaultProtocol);return{formatted:this.get("format",e.toString(),e),formattedHref:this.get("formatHref",t,e),tagName:this.get("tagName",t,e),className:this.get("className",t,e),target:this.get("target",t,e),events:this.getObject("events",t,e),attributes:this.getObject("attributes",t,e)}},check:function(e){return this.get("validate",e.toString(),e)},get:function(e,t,n){var a=void 0,i=this[e];if(!i)return i;switch("undefined"===typeof i?"undefined":r(i)){case"function":return i(t,n.type);case"object":return a=i.hasOwnProperty(n.type)?i[n.type]:o[e],"function"===typeof a?a(t,n.type):a}return i},getObject:function(e,t,n){var r=this[e];return"function"===typeof r?r(t,n.type):r}}},3280:function(e,t,n){"use strict";var r=n("ebb5"),o=n("e58c"),a=r.aTypedArray,i=r.exportTypedArrayMethod;i("lastIndexOf",(function(e){return o.apply(a(this),arguments)}))},3339:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.vac-col-messages{position:relative;height:100%;flex:1;overflow:hidden;display:flex;flex-flow:column}.vac-col-messages .vac-container-center{height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.vac-col-messages .vac-room-empty{font-size:14px;color:#9ca6af;font-style:italic;line-height:20px;white-space:pre-line}.vac-col-messages .vac-room-empty div{padding:0 10%}.vac-col-messages .vac-container-scroll{background:var(--chat-content-bg-color);flex:1;overflow-y:auto;margin-right:1px;margin-top:60px;-webkit-overflow-scrolling:touch}.vac-col-messages .vac-container-scroll.vac-scroll-smooth{scroll-behavior:smooth}.vac-col-messages .vac-messages-container{padding:0 5px 5px}.vac-col-messages .vac-text-started{font-size:14px;color:var(--chat-message-color-started);font-style:italic;text-align:center;margin-top:30px;margin-bottom:20px}.vac-col-messages .vac-infinite-loading{height:68px}.vac-col-messages .vac-icon-scroll{position:absolute;bottom:80px;right:20px;padding:8px;background:var(--chat-bg-scroll-icon);border-radius:50%;box-shadow:0 1px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 2px 0 rgba(0,0,0,.12);display:flex;cursor:pointer;z-index:10}.vac-col-messages .vac-icon-scroll svg{height:25px;width:25px}.vac-col-messages .vac-messages-count{position:absolute;top:-8px;left:11px;background-color:var(--chat-message-bg-color-scroll-counter);color:var(--chat-message-color-scroll-counter)}.vac-col-messages .vac-room-footer{width:100%;border-bottom-right-radius:4px;z-index:10}.vac-col-messages .vac-box-footer{display:flex;position:relative;background:var(--chat-footer-bg-color);padding:10px 8px 10px}.vac-col-messages .vac-textarea{height:20px;width:100%;line-height:20px;overflow:hidden;outline:0;resize:none;border-radius:20px;padding:12px 16px;box-sizing:content-box;font-size:16px;background:var(--chat-bg-color-input);color:var(--chat-color);caret-color:var(--chat-color-caret);border:var(--chat-border-style-input)}.vac-col-messages .vac-textarea::-moz-placeholder{color:var(--chat-color-placeholder);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vac-col-messages .vac-textarea:-ms-input-placeholder{color:var(--chat-color-placeholder);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vac-col-messages .vac-textarea::placeholder{color:var(--chat-color-placeholder);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vac-col-messages .vac-textarea-outline{border:1px solid var(--chat-border-color-input-selected);box-shadow:inset 0 0 0 1px var(--chat-border-color-input-selected)}.vac-col-messages .vac-icon-textarea,.vac-col-messages .vac-icon-textarea-left{display:flex;align-items:center}.vac-col-messages .vac-icon-textarea-left .vac-wrapper,.vac-col-messages .vac-icon-textarea-left svg,.vac-col-messages .vac-icon-textarea .vac-wrapper,.vac-col-messages .vac-icon-textarea svg{margin:0 7px}.vac-col-messages .vac-icon-textarea{margin-left:5px}.vac-col-messages .vac-icon-textarea-left{display:flex;align-items:center;margin-right:5px}.vac-col-messages .vac-icon-textarea-left .vac-wrapper,.vac-col-messages .vac-icon-textarea-left svg{margin:0 7px}.vac-col-messages .vac-icon-textarea-left .vac-icon-microphone{fill:var(--chat-icon-color-microphone);margin:0 7px}.vac-col-messages .vac-icon-textarea-left .vac-dot-audio-record{height:15px;width:15px;border-radius:50%;background-color:var(--chat-message-bg-color-audio-record);-webkit-animation:vac-scaling .8s ease-in-out infinite alternate;animation:vac-scaling .8s ease-in-out infinite alternate}@-webkit-keyframes vac-scaling{0%{transform:scale(1);opacity:.4}to{transform:scale(1.1);opacity:1}}@keyframes vac-scaling{0%{transform:scale(1);opacity:.4}to{transform:scale(1.1);opacity:1}}.vac-col-messages .vac-icon-textarea-left .vac-dot-audio-record-time{font-size:16px;color:var(--chat-color);margin-left:8px;width:45px}.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-confirm,.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-confirm svg,.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-stop,.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-stop svg{min-height:28px;min-width:28px}.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-stop{margin-right:20px}.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-stop #vac-icon-close-outline{fill:var(--chat-icon-color-audio-cancel)}.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-confirm{margin-right:3px;margin-left:12px}.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-confirm #vac-icon-checkmark{fill:var(--chat-icon-color-audio-confirm)}.vac-col-messages .vac-media-container{position:absolute;max-width:25%;left:16px;top:18px}.vac-col-messages .vac-media-file{display:flex;justify-content:center;flex-direction:column;min-height:30px}.vac-col-messages .vac-media-file img{border-radius:15px;width:100%;max-width:150px;max-height:100%}.vac-col-messages .vac-media-file video{border-radius:15px;width:100%;max-width:250px;max-height:100%}.vac-col-messages .vac-icon-media{position:absolute;top:6px;left:6px;z-index:10}.vac-col-messages .vac-icon-media svg{height:20px;width:20px;border-radius:50%}.vac-col-messages .vac-icon-media:before{content:" ";position:absolute;width:100%;height:100%;background:rgba(0,0,0,.5);border-radius:50%;z-index:-1}.vac-col-messages .vac-file-container{display:flex;align-items:center;width:calc(100% - 115px);height:20px;padding:12px 0;box-sizing:content-box;background:var(--chat-bg-color-input);border:var(--chat-border-style-input);border-radius:20px}.vac-col-messages .vac-file-container-edit{width:calc(100% - 150px)}.vac-col-messages .vac-file-message{max-width:calc(100% - 75px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vac-col-messages .vac-icon-file{display:flex;margin:0 8px 0 15px}.vac-col-messages .vac-icon-remove{margin:0 8px}.vac-col-messages .vac-icon-remove svg{height:18px;width:18px}.vac-col-messages .vac-send-disabled,.vac-col-messages .vac-send-disabled svg{cursor:none!important;pointer-events:none!important;transform:none!important}.vac-col-messages .vac-messages-hidden{opacity:0}@media only screen and (max-width:768px){.vac-col-messages .vac-container-scroll{margin-top:50px}.vac-col-messages .vac-infinite-loading{height:58px}.vac-col-messages .vac-box-footer{border-top:var(--chat-border-style-input);padding:7px 2px 7px 7px}.vac-col-messages .vac-text-started{margin-top:20px}.vac-col-messages .vac-textarea{padding:7px;line-height:18px}.vac-col-messages .vac-textarea::-moz-placeholder{color:transparent}.vac-col-messages .vac-textarea:-ms-input-placeholder{color:transparent}.vac-col-messages .vac-textarea::placeholder{color:transparent}.vac-col-messages .vac-icon-textarea-left .vac-wrapper,.vac-col-messages .vac-icon-textarea-left svg,.vac-col-messages .vac-icon-textarea .vac-wrapper,.vac-col-messages .vac-icon-textarea svg{margin:0 5px!important}.vac-col-messages .vac-media-container{top:10px;left:10px}.vac-col-messages .vac-media-file img,.vac-col-messages .vac-media-file video{transform:scale(.97)}.vac-col-messages .vac-room-footer{width:100%}.vac-col-messages .vac-file-container{padding:7px 0}.vac-col-messages .vac-file-container .icon-file{margin-left:10px}.vac-col-messages .vac-icon-scroll{bottom:70px}}',""]),e.exports=t},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},3545:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-reply-message{background:var(--chat-message-bg-color-reply);border-radius:4px;margin:-1px -5px 8px;padding:8px 10px}.vac-reply-message .vac-reply-username{color:var(--chat-message-color-reply-username);font-size:12px;line-height:15px;margin-bottom:2px}.vac-reply-message .vac-image-reply-container{width:70px}.vac-reply-message .vac-image-reply-container .vac-message-image-reply{height:70px;width:70px;margin:4px auto 3px}.vac-reply-message .vac-reply-content{font-size:12px;color:var(--chat-message-color-reply-content)}",""]),e.exports=t},"35a1":function(e,t,n){var r=n("f5df"),o=n("3f8c"),a=n("b622"),i=a("iterator");e.exports=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},"35d6":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;o<t.length;o++){var a=t[o],i=a[0],s=a[1],c=a[2],l=a[3],u={id:e+":"+o,css:s,media:c,sourceMap:l};r[i]?r[i].parts.push(u):n.push(r[i]={id:i,parts:[u]})}return n}function o(e,t,n){var o=r(e,t);a(o,n)}function a(e,t){const n=t._injectedStyles||(t._injectedStyles={});for(var r=0;r<e.length;r++){var o=e[r],a=n[o.id];if(!a){for(var i=0;i<o.parts.length;i++)s(o.parts[i],t);n[o.id]=!0}}}function i(e){var t=document.createElement("style");return t.type="text/css",e.appendChild(t),t}function s(e,t){var n=i(t),r=e.css,o=e.media,a=e.sourceMap;if(o&&n.setAttribute("media",o),a&&(r+="\n/*# sourceURL="+a.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),n.styleSheet)n.styleSheet.cssText=r;else{while(n.firstChild)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(r))}}n.r(t),n.d(t,"default",(function(){return o}))},"35f2":function(e,t,n){"use strict";n("7ebf")},3662:function(e,t,n){var r=n("88f6");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("14cf3ada",r,e)}},3687:function(e,t,n){"use strict";n("3662")},"37e8":function(e,t,n){var r=n("83ab"),o=n("9bf2"),a=n("825a"),i=n("df75");e.exports=r?Object.defineProperties:function(e,t){a(e);var n,r=i(t),s=r.length,c=0;while(s>c)o.f(e,n=r[c++],t[n]);return e}},"384a":function(e,t,n){var r=n("7154");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("2979e74c",r,e)}},"3a7b":function(e,t,n){"use strict";var r=n("ebb5"),o=n("b727").findIndex,a=r.aTypedArray,i=r.exportTypedArrayMethod;i("findIndex",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0)}))},"3afd":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-button-reaction{display:inline-flex;align-items:center;border:var(--chat-message-border-style-reaction);outline:none;background:var(--chat-message-bg-color-reaction);border-radius:4px;margin:4px 2px 0;transition:.3s;padding:0 5px;font-size:18px;line-height:23px}.vac-button-reaction span{font-size:11px;font-weight:500;min-width:7px;color:var(--chat-message-color-reaction-counter)}.vac-button-reaction:hover{border:var(--chat-message-border-style-reaction-hover);background:var(--chat-message-bg-color-reaction-hover);cursor:pointer}.vac-button-reaction.vac-reaction-me{border:var(--chat-message-border-style-reaction-me);background:var(--chat-message-bg-color-reaction-me)}.vac-button-reaction.vac-reaction-me span{color:var(--chat-message-color-reaction-counter-me)}.vac-button-reaction.vac-reaction-me:hover{border:var(--chat-message-border-style-reaction-hover-me);background:var(--chat-message-bg-color-reaction-hover-me)}",""]),e.exports=t},"3bbe":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3c0d":function(e,t,n){"use strict";n("42d3")},"3c5d":function(e,t,n){"use strict";var r=n("ebb5"),o=n("50c4"),a=n("182d"),i=n("7b0b"),s=n("d039"),c=r.aTypedArray,l=r.exportTypedArrayMethod,u=s((function(){new Int8Array(1).set({})}));l("set",(function(e){c(this);var t=a(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=i(e),s=o(r.length),l=0;if(s+t>n)throw RangeError("Wrong length");while(l<s)this[t+l]=r[l++]}),u)},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,o=n("69f3"),a=n("7dd0"),i="String Iterator",s=o.set,c=o.getterFor(i);a(String,"String",(function(e){s(this,{type:i,string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},"3cd7":function(e,t,n){"use strict";n("d62c")},"3f8c":function(e,t){e.exports={}},"3fcc":function(e,t,n){"use strict";var r=n("ebb5"),o=n("b727").map,a=n("4840"),i=r.aTypedArray,s=r.aTypedArrayConstructor,c=r.exportTypedArrayMethod;c("map",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(s(a(e,e.constructor)))(t)}))}))},"3fee":function(e,t,n){var r=n("c735");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("5a6fe0e4",r,e)}},"408a":function(e,t,n){var r=n("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},4128:function(e,t,n){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var r=n("1652"),o=n("bea1"),a=s(o),i=n("7656");function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var c=function(e){return new r.TokenState(e)},l=c(),u=c(),d=c(),f=c(),p=c(),h=c(),m=c(),g=c(o.URL),v=c(),b=c(o.URL),y=c(o.URL),x=c(),w=c(),_=c(),k=c(),S=c(),A=c(o.URL),E=c(o.URL),M=c(o.URL),O=c(o.URL),R=c(),j=c(),T=c(),C=c(),L=c(),I=c(),P=c(o.EMAIL),N=c(),U=c(o.EMAIL),F=c(o.MAILTOEMAIL),$=c(),B=c(),q=c(),D=c(),z=c(o.NL);l.on(i.NL,z).on(i.PROTOCOL,u).on(i.MAILTO,d).on(i.SLASH,f),u.on(i.SLASH,f),f.on(i.SLASH,p),l.on(i.TLD,h).on(i.DOMAIN,h).on(i.LOCALHOST,g).on(i.NUM,h),p.on(i.TLD,y).on(i.DOMAIN,y).on(i.NUM,y).on(i.LOCALHOST,y),h.on(i.DOT,m),L.on(i.DOT,I),m.on(i.TLD,g).on(i.DOMAIN,h).on(i.NUM,h).on(i.LOCALHOST,h),I.on(i.TLD,P).on(i.DOMAIN,L).on(i.NUM,L).on(i.LOCALHOST,L),g.on(i.DOT,m),P.on(i.DOT,I),g.on(i.COLON,v).on(i.SLASH,y),v.on(i.NUM,b),b.on(i.SLASH,y),P.on(i.COLON,N),N.on(i.NUM,U);var H=[i.DOMAIN,i.AT,i.LOCALHOST,i.NUM,i.PLUS,i.POUND,i.PROTOCOL,i.SLASH,i.TLD,i.UNDERSCORE,i.SYM,i.AMPERSAND],V=[i.COLON,i.DOT,i.QUERY,i.PUNCTUATION,i.CLOSEBRACE,i.CLOSEBRACKET,i.CLOSEANGLEBRACKET,i.CLOSEPAREN,i.OPENBRACE,i.OPENBRACKET,i.OPENANGLEBRACKET,i.OPENPAREN];y.on(i.OPENBRACE,w).on(i.OPENBRACKET,_).on(i.OPENANGLEBRACKET,k).on(i.OPENPAREN,S),x.on(i.OPENBRACE,w).on(i.OPENBRACKET,_).on(i.OPENANGLEBRACKET,k).on(i.OPENPAREN,S),w.on(i.CLOSEBRACE,y),_.on(i.CLOSEBRACKET,y),k.on(i.CLOSEANGLEBRACKET,y),S.on(i.CLOSEPAREN,y),A.on(i.CLOSEBRACE,y),E.on(i.CLOSEBRACKET,y),M.on(i.CLOSEANGLEBRACKET,y),O.on(i.CLOSEPAREN,y),R.on(i.CLOSEBRACE,y),j.on(i.CLOSEBRACKET,y),T.on(i.CLOSEANGLEBRACKET,y),C.on(i.CLOSEPAREN,y),w.on(H,A),_.on(H,E),k.on(H,M),S.on(H,O),w.on(V,R),_.on(V,j),k.on(V,T),S.on(V,C),A.on(H,A),E.on(H,E),M.on(H,M),O.on(H,O),A.on(V,A),E.on(V,E),M.on(V,M),O.on(V,O),R.on(H,A),j.on(H,E),T.on(H,M),C.on(H,O),R.on(V,R),j.on(V,j),T.on(V,T),C.on(V,C),y.on(H,y),x.on(H,y),y.on(V,x),x.on(V,x),d.on(i.TLD,F).on(i.DOMAIN,F).on(i.NUM,F).on(i.LOCALHOST,F),F.on(H,F).on(V,$),$.on(H,F).on(V,$);var Y=[i.DOMAIN,i.NUM,i.PLUS,i.POUND,i.QUERY,i.UNDERSCORE,i.SYM,i.AMPERSAND,i.TLD];h.on(Y,B).on(i.AT,q),g.on(Y,B).on(i.AT,q),m.on(Y,B),B.on(Y,B).on(i.AT,q).on(i.DOT,D),D.on(Y,B),q.on(i.TLD,L).on(i.DOMAIN,L).on(i.LOCALHOST,P);var G=function(e){var t=e.length,n=0,r=[],a=[];while(n<t){var i=l,s=null,c=null,u=0,d=null,f=-1;while(n<t&&!(s=i.next(e[n])))a.push(e[n++]);while(n<t&&(c=s||i.next(e[n])))s=null,i=c,i.accepts()?(f=0,d=i):f>=0&&f++,n++,u++;if(f<0)for(var p=n-u;p<n;p++)a.push(e[p]);else{a.length>0&&(r.push(new o.TEXT(a)),a=[]),n-=f,u-=f;var h=d.emit();r.push(new h(e.slice(n-u,n)))}}return a.length>0&&r.push(new o.TEXT(a)),r};t.State=r.TokenState,t.TOKENS=a,t.run=G,t.start=l},4160:function(e,t,n){"use strict";var r=n("23e7"),o=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},"428f":function(e,t,n){var r=n("da84");e.exports=r},"42d3":function(e,t,n){var r=n("d48d");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("a4c65684",r,e)}},"44ad":function(e,t,n){var r=n("d039"),o=n("c6b6"),a="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?a.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var r=n("b622"),o=n("7c73"),a=n("9bf2"),i=r("unscopables"),s=Array.prototype;void 0==s[i]&&a.f(s,i,{configurable:!0,value:o(null)}),e.exports=function(e){s[i][e]=!0}},"44de":function(e,t,n){var r=n("da84");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},"44e7":function(e,t,n){var r=n("861d"),o=n("c6b6"),a=n("b622"),i=a("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},"45fc":function(e,t,n){"use strict";var r=n("23e7"),o=n("b727").some,a=n("a640"),i=n("ae40"),s=a("some"),c=i("some");r({target:"Array",proto:!0,forced:!s||!c},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"466d":function(e,t,n){"use strict";var r=n("d784"),o=n("825a"),a=n("50c4"),i=n("1d80"),s=n("8aa5"),c=n("14c3");r("match",1,(function(e,t,n){return[function(t){var n=i(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),l=String(this);if(!i.global)return c(i,l);var u=i.unicode;i.lastIndex=0;var d,f=[],p=0;while(null!==(d=c(i,l))){var h=String(d[0]);f[p]=h,""===h&&(i.lastIndex=s(l,a(i.lastIndex),u)),p++}return 0===p?null:f}]}))},"46f3":function(e,t,n){"use strict";function r(){return function(e){e&&(this.v=e)}}t.__esModule=!0,t.createTokenClass=r},4795:function(e,t,n){var r=n("23e7"),o=n("da84"),a=n("342f"),i=[].slice,s=/MSIE .\./.test(a),c=function(e){return function(t,n){var r=arguments.length>2,o=r?i.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};r({global:!0,bind:!0,forced:s},{setTimeout:c(o.setTimeout),setInterval:c(o.setInterval)})},4840:function(e,t,n){var r=n("825a"),o=n("1c0b"),a=n("b622"),i=a("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[i])?t:o(n)}},4930:function(e,t,n){var r=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"498a":function(e,t,n){"use strict";var r=n("23e7"),o=n("58a8").trim,a=n("c8d2");r({target:"String",proto:!0,forced:a("trim")},{trim:function(){return o(this)}})},"4c1d":function(e,t,n){"use strict";n.r(t),n.d(t,"roomsValidation",(function(){return o})),n.d(t,"partcipantsValidation",(function(){return a})),n.d(t,"messagesValidation",(function(){return i}));n("a623"),n("7db0"),n("277d"),n("a4d3"),n("e01a"),n("d28b"),n("e260"),n("d3b7"),n("3ca3"),n("ddb0");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 o(e){var t=[{key:"roomId",type:["string","number"]},{key:"roomName",type:["string"]},{key:"users",type:["array"]}],n=function(e,t){return t.every((function(t){var n=!1;return("array"===t.type[0]&&Array.isArray(e[t.key])||t.type.find((function(n){return n===r(e[t.key])})))&&(n=!0),n&&s(e,t.key)}))};if(!n(e,t))throw new Error("Rooms object is not valid! Must contain roomId[String, Number], roomName[String] and users[Array]")}function a(e){var t=[{key:"_id",type:["string","number"]},{key:"username",type:["string"]}],n=function(e,t){return t.every((function(t){var n=t.type.find((function(n){return n===r(e[t.key])}));return n&&s(e,t.key)}))};if(!n(e,t))throw new Error("Participants object is not valid! Must contain _id[String, Number] and username[String]")}function i(e){var t=[{key:"_id",type:["string","number"]},{key:"content",type:["string","number"]},{key:"senderId",type:["string","number"]}],n=function(e,t){return t.every((function(t){var n=t.type.find((function(n){return n===r(e[t.key])}));return n&&s(e,t.key)}))};if(!n(e,t))throw new Error("Messages object is not valid! Must contain _id[String, Number], content[String, Number] and senderId[String, Number]")}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&null!==e[t]&&void 0!==e[t]}},"4d63":function(e,t,n){var r=n("83ab"),o=n("da84"),a=n("94ca"),i=n("7156"),s=n("9bf2").f,c=n("241c").f,l=n("44e7"),u=n("ad6d"),d=n("9f7f"),f=n("6eeb"),p=n("d039"),h=n("69f3").set,m=n("2626"),g=n("b622"),v=g("match"),b=o.RegExp,y=b.prototype,x=/a/g,w=/a/g,_=new b(x)!==x,k=d.UNSUPPORTED_Y,S=r&&a("RegExp",!_||k||p((function(){return w[v]=!1,b(x)!=x||b(w)==w||"/a/i"!=b(x,"i")})));if(S){var A=function(e,t){var n,r=this instanceof A,o=l(e),a=void 0===t;if(!r&&o&&e.constructor===A&&a)return e;_?o&&!a&&(e=e.source):e instanceof A&&(a&&(t=u.call(e)),e=e.source),k&&(n=!!t&&t.indexOf("y")>-1,n&&(t=t.replace(/y/g,"")));var s=i(_?new b(e,t):b(e,t),r?this:y,A);return k&&n&&h(s,{sticky:n}),s},E=function(e){e in A||s(A,e,{configurable:!0,get:function(){return b[e]},set:function(t){b[e]=t}})},M=c(b),O=0;while(M.length>O)E(M[O++]);y.constructor=A,A.prototype=y,f(o,"RegExp",A)}m("RegExp")},"4d64":function(e,t,n){var r=n("fc6a"),o=n("50c4"),a=n("23cb"),i=function(e){return function(t,n,i){var s,c=r(t),l=o(c.length),u=a(i,l);if(e&&n!=n){while(l>u)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},"4de4":function(e,t,n){"use strict";var r=n("23e7"),o=n("b727").filter,a=n("1dde"),i=n("ae40"),s=a("filter"),c=i("filter");r({target:"Array",proto:!0,forced:!s||!c},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){"use strict";var r=n("0366"),o=n("7b0b"),a=n("9bdd"),i=n("e95a"),s=n("50c4"),c=n("8418"),l=n("35a1");e.exports=function(e){var t,n,u,d,f,p,h=o(e),m="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,b=void 0!==v,y=l(h),x=0;if(b&&(v=r(v,g>2?arguments[2]:void 0,2)),void 0==y||m==Array&&i(y))for(t=s(h.length),n=new m(t);t>x;x++)p=b?v(h[x],x):h[x],c(n,x,p);else for(d=y.call(h),f=d.next,n=new m;!(u=f.call(d)).done;x++)p=b?a(d,v,[u.value,x],!0):u.value,c(n,x,p);return n.length=x,n}},"4e82":function(e,t,n){"use strict";var r=n("23e7"),o=n("1c0b"),a=n("7b0b"),i=n("d039"),s=n("a640"),c=[],l=c.sort,u=i((function(){c.sort(void 0)})),d=i((function(){c.sort(null)})),f=s("sort"),p=u||!d||!f;r({target:"Array",proto:!0,forced:p},{sort:function(e){return void 0===e?l.call(a(this)):l.call(a(this),o(e))}})},"4fad":function(e,t,n){var r=n("23e7"),o=n("6f53").entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},"50c4":function(e,t,n){var r=n("a691"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5319:function(e,t,n){"use strict";var r=n("d784"),o=n("825a"),a=n("7b0b"),i=n("50c4"),s=n("a691"),c=n("1d80"),l=n("8aa5"),u=n("14c3"),d=Math.max,f=Math.min,p=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g,g=function(e){return void 0===e?e:String(e)};r("replace",2,(function(e,t,n,r){var v=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=r.REPLACE_KEEPS_$0,y=v?"$":"$0";return[function(n,r){var o=c(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!v&&b||"string"===typeof r&&-1===r.indexOf(y)){var a=n(t,e,this,r);if(a.done)return a.value}var c=o(e),p=String(this),h="function"===typeof r;h||(r=String(r));var m=c.global;if(m){var w=c.unicode;c.lastIndex=0}var _=[];while(1){var k=u(c,p);if(null===k)break;if(_.push(k),!m)break;var S=String(k[0]);""===S&&(c.lastIndex=l(p,i(c.lastIndex),w))}for(var A="",E=0,M=0;M<_.length;M++){k=_[M];for(var O=String(k[0]),R=d(f(s(k.index),p.length),0),j=[],T=1;T<k.length;T++)j.push(g(k[T]));var C=k.groups;if(h){var L=[O].concat(j,R,p);void 0!==C&&L.push(C);var I=String(r.apply(void 0,L))}else I=x(O,p,R,j,C,r);R>=E&&(A+=p.slice(E,R)+I,E=R+O.length)}return A+p.slice(E)}];function x(e,n,r,o,i,s){var c=r+e.length,l=o.length,u=m;return void 0!==i&&(i=a(i),u=h),t.call(s,u,(function(t,a){var s;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":s=i[a.slice(1,-1)];break;default:var u=+a;if(0===u)return t;if(u>l){var d=p(u/10);return 0===d?t:d<=l?void 0===o[d-1]?a.charAt(1):o[d-1]+a.charAt(1):t}s=o[u-1]}return void 0===s?"":s}))}}))},5692:function(e,t,n){var r=n("c430"),o=n("c6cd");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.1",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var r=n("d066"),o=n("241c"),a=n("7418"),i=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(i(e)),n=a.f;return n?t.concat(n(e)):t}},5899:function(e,t){e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},"589c":function(e,t,n){"use strict";n("98c5")},"58a8":function(e,t,n){var r=n("1d80"),o=n("5899"),a="["+o+"]",i=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),c=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},"5a34":function(e,t,n){var r=n("44e7");e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5a74":function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript;if(Object({NODE_ENV:"production",BASE_URL:"/"}).NEED_CURRENTSCRIPT_POLYFILL){var o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o})}var a=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var i=n("8bbf"),s=n.n(i);const c=/-(\w)/g,l=e=>e.replace(c,(e,t)=>t?t.toUpperCase():""),u=/\B([A-Z])/g,d=e=>e.replace(u,"-$1").toLowerCase();function f(e){const t={};return e.forEach(e=>{t[e]=void 0}),t}function p(e,t,n){e[t]=[].concat(e[t]||[]),e[t].unshift(n)}function h(e,t){if(e){const n=e.$options[t]||[];n.forEach(t=>{t.call(e)})}}function m(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}const g=e=>/function Boolean/.test(String(e)),v=e=>/function Number/.test(String(e));function b(e,t,{type:n}={}){if(g(n))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e;if(v(n)){const t=parseFloat(e,10);return isNaN(t)?e:t}return e}function y(e,t){const n=[];for(let r=0,o=t.length;r<o;r++)n.push(x(e,t[r]));return n}function x(e,t){if(3===t.nodeType)return t.data.trim()?t.data:null;if(1===t.nodeType){const n={attrs:w(t),domProps:{innerHTML:t.innerHTML}};return n.attrs.slot&&(n.slot=n.attrs.slot,delete n.attrs.slot),e(t.tagName,n)}return null}function w(e){const t={};for(let n=0,r=e.attributes.length;n<r;n++){const r=e.attributes[n];t[r.nodeName]=r.nodeValue}return t}function _(e,t){const n="function"===typeof t&&!t.cid;let r,o,a,i=!1;function s(e){if(i)return;const t="function"===typeof e?e.options:e,n=Array.isArray(t.props)?t.props:Object.keys(t.props||{});r=n.map(d),o=n.map(l);const s=Array.isArray(t.props)?{}:t.props||{};a=o.reduce((e,t,r)=>(e[t]=s[n[r]],e),{}),p(t,"beforeCreate",(function(){const e=this.$emit;this.$emit=(t,...n)=>(this.$root.$options.customElement.dispatchEvent(m(t,n)),e.call(this,t,...n))})),p(t,"created",(function(){o.forEach(e=>{this.$root.props[e]=this[e]})})),o.forEach(e=>{Object.defineProperty(u.prototype,e,{get(){return this._wrapper.props[e]},set(t){this._wrapper.props[e]=t},enumerable:!1,configurable:!0})}),i=!0}function c(e,t){const n=l(t),r=e.hasAttribute(t)?e.getAttribute(t):void 0;e._wrapper.props[n]=b(r,t,a[n])}class u extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"});const n=this._wrapper=new e({name:"shadow-root",customElement:this,shadowRoot:this.shadowRoot,data(){return{props:{},slotChildren:[]}},render(e){return e(t,{ref:"inner",props:this.props},this.slotChildren)}}),r=new MutationObserver(e=>{let t=!1;for(let n=0;n<e.length;n++){const r=e[n];i&&"attributes"===r.type&&r.target===this?c(this,r.attributeName):t=!0}t&&(n.slotChildren=Object.freeze(y(n.$createElement,this.childNodes)))});r.observe(this,{childList:!0,subtree:!0,characterData:!0,attributes:!0})}get vueComponent(){return this._wrapper.$refs.inner}connectedCallback(){const e=this._wrapper;if(e._isMounted)h(this.vueComponent,"activated");else{const n=()=>{e.props=f(o),r.forEach(e=>{c(this,e)})};i?n():t().then(e=>{(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e),n()}),e.slotChildren=Object.freeze(y(e.$createElement,this.childNodes)),e.$mount(),this.shadowRoot.appendChild(e.$el)}}disconnectedCallback(){h(this.vueComponent,"deactivated")}}return n||s(t),u}var k=_;n("24fb"),n("35d6");function S(e,t,n,r,o,a,i,s){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),i?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}var A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-card-window",style:[{height:e.height},e.cssVars]},[n("div",{staticClass:"vac-chat-container"},[e.singleRoom?e._e():n("rooms-list",{attrs:{"current-user-id":e.currentUserId,rooms:e.orderedRooms,"loading-rooms":e.loadingRooms,"rooms-loaded":e.roomsLoaded,room:e.room,"room-actions":e.roomActions,"text-messages":e.t,"show-add-room":e.showAddRoom,"show-rooms-list":e.showRoomsList,"text-formatting":e.textFormatting,"link-options":e.linkOptions,"is-mobile":e.isMobile},on:{"fetch-room":e.fetchRoom,"fetch-more-rooms":e.fetchMoreRooms,"loading-more-rooms":function(t){e.loadingMoreRooms=t},"add-room":e.addRoom,"room-action-handler":e.roomActionHandler},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}),n("room",{attrs:{"current-user-id":e.currentUserId,rooms:e.rooms,"room-id":e.room.roomId||"","load-first-room":e.loadFirstRoom,messages:e.messages,"room-message":e.roomMessage,"messages-loaded":e.messagesLoaded,"menu-actions":e.menuActions,"message-actions":e.messageActions,"show-send-icon":e.showSendIcon,"show-files":e.showFiles,"show-audio":e.showAudio,"show-emojis":e.showEmojis,"show-reaction-emojis":e.showReactionEmojis,"show-new-messages-divider":e.showNewMessagesDivider,"show-footer":e.showFooter,"text-messages":e.t,"single-room":e.singleRoom,"show-rooms-list":e.showRoomsList,"text-formatting":e.textFormatting,"link-options":e.linkOptions,"is-mobile":e.isMobile,"loading-rooms":e.loadingRooms,"room-info":e.$listeners["room-info"],"textarea-action":e.$listeners["textarea-action-handler"],"accepted-files":e.acceptedFiles},on:{"toggle-rooms-list":e.toggleRoomsList,"room-info":e.roomInfo,"fetch-messages":e.fetchMessages,"send-message":e.sendMessage,"edit-message":e.editMessage,"delete-message":e.deleteMessage,"open-file":e.openFile,"open-user-tag":e.openUserTag,"menu-action-handler":e.menuActionHandler,"message-action-handler":e.messageActionHandler,"send-message-reaction":e.sendMessageReaction,"typing-message":e.typingMessage,"textarea-action-handler":e.textareaActionHandler},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],1)])},E=[];n("7db0"),n("4160"),n("d81d"),n("fb6a"),n("4e82"),n("a9e3"),n("4fad"),n("b64b"),n("159b"),n("a4d3"),n("4de4"),n("1d1c"),n("7a82"),n("e439"),n("dbb4");function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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 R(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){M(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}var j,T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.showRoomsList,expression:"showRoomsList"}],staticClass:"vac-rooms-container vac-app-border-r",class:{"vac-rooms-container-full":e.isMobile}},[e._t("rooms-header"),n("rooms-search",{attrs:{rooms:e.rooms,"loading-rooms":e.loadingRooms,"text-messages":e.textMessages,"show-add-room":e.showAddRoom},on:{"search-room":e.searchRoom,"add-room":function(t){return e.$emit("add-room")}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}),n("loader",{attrs:{show:e.loadingRooms}}),e.loadingRooms||e.rooms.length?e._e():n("div",{staticClass:"vac-rooms-empty"},[e._t("rooms-empty",[e._v(" "+e._s(e.textMessages.ROOMS_EMPTY)+" ")])],2),e.loadingRooms?e._e():n("div",{staticClass:"vac-room-list"},[e._l(e.filteredRooms,(function(t){return n("div",{key:t.roomId,staticClass:"vac-room-item",class:{"vac-room-selected":e.selectedRoomId===t.roomId},attrs:{id:t.roomId},on:{click:function(n){return e.openRoom(t)}}},[n("room-content",{attrs:{"current-user-id":e.currentUserId,room:t,"text-formatting":e.textFormatting,"link-options":e.linkOptions,"text-messages":e.textMessages,"room-actions":e.roomActions},on:{"room-action-handler":function(t){return e.$emit("room-action-handler",t)}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],1)})),n("transition",{attrs:{name:"vac-fade-message"}},[e.rooms.length&&!e.loadingRooms?n("infinite-loading",{attrs:{spinner:"spiral"},on:{infinite:e.loadMoreRooms}},[n("div",{attrs:{slot:"spinner"},slot:"spinner"},[n("loader",{attrs:{show:!0,infinite:!0}})],1),n("div",{attrs:{slot:"no-results"},slot:"no-results"}),n("div",{attrs:{slot:"no-more"},slot:"no-more"})]):e._e()],1)],2)],2)},C=[],L=n("e166"),I=n.n(L),P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"vac-fade-spinner",appear:""}},[e.show?n("div",{staticClass:"vac-loader-wrapper",class:{"vac-container-center":!e.infinite,"vac-container-top":e.infinite}},[n("div",{attrs:{id:"vac-circle"}})]):e._e()])},N=[],U={name:"Loader",props:{show:{type:Boolean,default:!1},infinite:{type:Boolean,default:!1}}},F=U,$=(n("a071"),S(F,P,N,!1,null,null,null)),B=$.exports,q=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-box-search"},[!e.loadingRooms&&e.rooms.length?n("div",{staticClass:"vac-icon-search"},[e._t("search-icon",[n("svg-icon",{attrs:{name:"search"}})])],2):e._e(),!e.loadingRooms&&e.rooms.length?n("input",{staticClass:"vac-input",attrs:{type:"search",placeholder:e.textMessages.SEARCH,autocomplete:"off"},on:{input:function(t){return e.$emit("search-room",t)}}}):e._e(),e.showAddRoom?n("div",{staticClass:"vac-svg-button vac-add-icon",on:{click:function(t){return e.$emit("add-room")}}},[e._t("add-icon",[n("svg-icon",{attrs:{name:"add"}})])],2):e._e()])},D=[],z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",width:"24",height:"24",viewBox:"0 0 "+e.size+" "+e.size}},[n("path",{attrs:{id:e.svgId,d:e.svgItem[e.name].path}}),e.svgItem[e.name].path2?n("path",{attrs:{id:e.svgId,d:e.svgItem[e.name].path2}}):e._e()])},H=[],V=(n("99af"),n("b0c0"),{name:"SvgIcon",props:{name:{type:String,default:null},param:{type:String,default:null}},data:function(){return{svgItem:{search:{path:"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"},add:{path:"M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},toggle:{path:"M5,13L9,17L7.6,18.42L1.18,12L7.6,5.58L9,7L5,11H21V13H5M21,6V8H11V6H21M21,16V18H11V16H21Z"},menu:{path:"M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z"},close:{path:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"},file:{path:"M14,17H7V15H14M17,13H7V11H17M17,9H7V7H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},paperclip:{path:"M16.5,6V17.5A4,4 0 0,1 12.5,21.5A4,4 0 0,1 8.5,17.5V5A2.5,2.5 0 0,1 11,2.5A2.5,2.5 0 0,1 13.5,5V15.5A1,1 0 0,1 12.5,16.5A1,1 0 0,1 11.5,15.5V6H10V15.5A2.5,2.5 0 0,0 12.5,18A2.5,2.5 0 0,0 15,15.5V5A4,4 0 0,0 11,1A4,4 0 0,0 7,5V17.5A5.5,5.5 0 0,0 12.5,23A5.5,5.5 0 0,0 18,17.5V6H16.5Z"},"close-outline":{path:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"},send:{path:"M2,21L23,12L2,3V10L17,12L2,14V21Z"},emoji:{path:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"},document:{path:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},pencil:{path:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"},checkmark:{path:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},"double-checkmark":{path:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"},eye:{path:"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"},dropdown:{path:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},deleted:{path:"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12C4,13.85 4.63,15.55 5.68,16.91L16.91,5.68C15.55,4.63 13.85,4 12,4M12,20A8,8 0 0,0 20,12C20,10.15 19.37,8.45 18.32,7.09L7.09,18.32C8.45,19.37 10.15,20 12,20Z"},microphone:{size:"large",path:"M432.8,216.4v39.2c0,45.2-15.3,84.3-45.2,118.4c-29.8,33.2-67.3,52.8-111.6,57.9v40.9h78.4c5.1,0,10.2,1.7,13.6,6c4.3,4.3,6,8.5,6,13.6c0,5.1-1.7,10.2-6,13.6c-4.3,4.3-8.5,6-13.6,6H157.6c-5.1,0-10.2-1.7-13.6-6c-4.3-4.3-6-8.5-6-13.6c0-5.1,1.7-10.2,6-13.6c4.3-4.3,8.5-6,13.6-6H236v-40.9c-44.3-5.1-81.8-23.9-111.6-57.9s-45.2-73.3-45.2-118.4v-39.2c0-5.1,1.7-10.2,6-13.6c4.3-4.3,8.5-6,13.6-6s10.2,1.7,13.6,6c4.3,4.3,6,8.5,6,13.6v39.2c0,37.5,13.6,70.7,40,97.1s59.6,40,97.1,40s70.7-13.6,97.1-40c26.4-26.4,40-59.6,40-97.1v-39.2c0-5.1,1.7-10.2,6-13.6c4.3-4.3,8.5-6,13.6-6c5.1,0,10.2,1.7,13.6,6C430.2,206.2,432.8,211.3,432.8,216.4z M353.5,98v157.6c0,27.3-9.4,50.3-29,69c-19.6,19.6-42.6,29-69,29s-50.3-9.4-69-29c-19.6-19.6-29-42.6-29-69V98c0-27.3,9.4-50.3,29-69c19.6-19.6,42.6-29,69-29s50.3,9.4,69,29C344.2,47.7,353.5,71.6,353.5,98z"},"audio-play":{size:"medium",path:"M43.331,21.237L7.233,0.397c-0.917-0.529-2.044-0.529-2.96,0c-0.916,0.528-1.48,1.505-1.48,2.563v41.684   c0,1.058,0.564,2.035,1.48,2.563c0.458,0.268,0.969,0.397,1.48,0.397c0.511,0,1.022-0.133,1.48-0.397l36.098-20.84   c0.918-0.529,1.479-1.506,1.479-2.564S44.247,21.767,43.331,21.237z"},"audio-pause":{size:"medium",path:"M17.991,40.976c0,3.662-2.969,6.631-6.631,6.631l0,0c-3.662,0-6.631-2.969-6.631-6.631V6.631C4.729,2.969,7.698,0,11.36,0l0,0c3.662,0,6.631,2.969,6.631,6.631V40.976z",path2:"M42.877,40.976c0,3.662-2.969,6.631-6.631,6.631l0,0c-3.662,0-6.631-2.969-6.631-6.631V6.631C29.616,2.969,32.585,0,36.246,0l0,0c3.662,0,6.631,2.969,6.631,6.631V40.976z"}}}},computed:{svgId:function(){var e=this.param?"-"+this.param:"";return"vac-icon-".concat(this.name).concat(e)},size:function(){var e=this.svgItem[this.name];return"large"===e.size?512:"medium"===e.size?48:24}}}),Y=V,G=(n("35f2"),S(Y,z,H,!1,null,null,null)),K=G.exports,W={name:"RoomsSearch",components:{SvgIcon:K},props:{textMessages:{type:Object,required:!0},showAddRoom:{type:Boolean,required:!0},rooms:{type:Array,required:!0},loadingRooms:{type:Boolean,required:!0}}},Z=W,X=(n("798f"),S(Z,q,D,!1,null,null,null)),J=X.exports,Q=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-room-container"},[e._t("room-list-item",[e.room.avatar?n("div",{staticClass:"vac-avatar",style:{"background-image":"url('"+e.room.avatar+"')"}}):e._e(),n("div",{staticClass:"vac-name-container vac-text-ellipsis"},[n("div",{staticClass:"vac-title-container"},[e.userStatus?n("div",{staticClass:"vac-state-circle",class:{"vac-state-online":"online"===e.userStatus}}):e._e(),n("div",{staticClass:"vac-room-name vac-text-ellipsis"},[e._v(" "+e._s(e.room.roomName)+" ")]),e.room.lastMessage?n("div",{staticClass:"vac-text-date"},[e._v(" "+e._s(e.room.lastMessage.timestamp)+" ")]):e._e()]),n("div",{staticClass:"vac-text-last",class:{"vac-message-new":e.room.lastMessage&&e.room.lastMessage.new&&!e.typingUsers}},[e.isMessageCheckmarkVisible?n("span",[e._t("checkmark-icon",[n("svg-icon",{staticClass:"vac-icon-check",attrs:{name:e.room.lastMessage.distributed?"double-checkmark":"checkmark",param:e.room.lastMessage.seen?"seen":""}})],null,e.room.lastMessage)],2):e._e(),e.room.lastMessage&&!e.room.lastMessage.deleted&&e.isAudio?n("div",{staticClass:"vac-text-ellipsis"},[e._t("microphone-icon",[n("svg-icon",{staticClass:"vac-icon-microphone",attrs:{name:"microphone"}})]),e._v(" "+e._s(e.formattedDuration)+" ")],2):e.room.lastMessage?n("format-message",{attrs:{content:e.getLastMessage,deleted:!!e.room.lastMessage.deleted&&!e.typingUsers,users:e.room.users,linkify:!1,"text-formatting":e.textFormatting,"link-options":e.linkOptions,"single-line":!0},scopedSlots:e._u([{key:"deleted-icon",fn:function(t){return[e._t("deleted-icon",null,null,t)]}}],null,!0)}):e._e(),!e.room.lastMessage&&e.typingUsers?n("div",{staticClass:"vac-text-ellipsis"},[e._v(" "+e._s(e.typingUsers)+" ")]):e._e(),n("div",{staticClass:"vac-room-options-container"},[e.room.unreadCount?n("div",{staticClass:"vac-badge-counter vac-room-badge"},[e._v(" "+e._s(e.room.unreadCount)+" ")]):e._e(),e._t("room-list-options",[e.roomActions.length?n("div",{staticClass:"vac-svg-button vac-list-room-options",on:{click:function(t){t.stopPropagation(),e.roomMenuOpened=e.room.roomId}}},[e._t("room-list-options-icon",[n("svg-icon",{attrs:{name:"dropdown",param:"room"}})])],2):e._e(),e.roomActions.length?n("transition",{attrs:{name:"vac-slide-left"}},[e.roomMenuOpened===e.room.roomId?n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeRoomMenu,expression:"closeRoomMenu"}],staticClass:"vac-menu-options"},[n("div",{staticClass:"vac-menu-list"},e._l(e.roomActions,(function(t){return n("div",{key:t.name},[n("div",{staticClass:"vac-menu-item",on:{click:function(n){return n.stopPropagation(),e.roomActionHandler(t)}}},[e._v(" "+e._s(t.title)+" ")])])})),0)]):e._e()]):e._e()],null,{room:e.room})],2)],1)])],null,{room:e.room})],2)},ee=[],te=n("c28b"),ne=n.n(te),re=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-format-message-wrapper",class:{"vac-text-ellipsis":e.singleLine}},[e.textFormatting?n("div",{class:{"vac-text-ellipsis":e.singleLine}},[e._l(e.linkifiedMessage,(function(t,r){return[n(t.url?"a":"span",{key:r,tag:"component",class:{"vac-text-ellipsis":e.singleLine,"vac-text-bold":t.bold,"vac-text-italic":e.deleted||t.italic,"vac-text-strike":t.strike,"vac-text-underline":t.underline,"vac-text-inline-code":!e.singleLine&&t.inline,"vac-text-multiline-code":!e.singleLine&&t.multiline,"vac-text-tag":!e.singleLine&&!e.reply&&t.tag},attrs:{href:t.href,target:t.href?e.linkOptions.target:null},on:{click:function(n){return e.openTag(t)}}},[e._t("deleted-icon",[e.deleted?n("svg-icon",{staticClass:"vac-icon-deleted",attrs:{name:"deleted"}}):e._e()],null,{deleted:e.deleted}),t.url&&t.image?[n("div",{staticClass:"vac-image-link-container"},[n("div",{staticClass:"vac-image-link",style:{"background-image":"url('"+t.value+"')",height:t.height}})]),n("div",{staticClass:"vac-image-link-message"},[n("span",[e._v(e._s(t.value))])])]:[n("span",[e._v(e._s(t.value))])]],2)]}))],2):n("div",[e._v(" "+e._s(e.formattedContent)+" ")])])},oe=[],ae=(n("caad"),n("c975"),n("baa5"),n("45fc"),n("ac1f"),n("2532"),n("5319"),n("cc71"),n("2315"),n("4d63"),n("25f0"),n("466d"),n("74fe")),ie=function(e,t){var n=le(e),r=ue(n),o=[].concat.apply([],r);return t&&fe(o),o},se={bold:"*",italic:"_",strike:"~",underline:"°"},ce=(j={},M(j,se.bold,{end:"\\"+[se.bold],allowed_chars:".",type:"bold"}),M(j,se.italic,{end:[se.italic],allowed_chars:".",type:"italic"}),M(j,se.strike,{end:[se.strike],allowed_chars:".",type:"strike"}),M(j,se.underline,{end:[se.underline],allowed_chars:".",type:"underline"}),M(j,"```",{end:"```",allowed_chars:"(.|\n)",type:"multiline-code"}),M(j,"`",{end:"`",allowed_chars:".",type:"inline-code"}),M(j,"<usertag>",{allowed_chars:".",end:"</usertag>",type:"tag"}),j);function le(e){var t=[],n=-1,r=null,o=ae.find(e),a=!1;if(o.length>0&&(n=e.indexOf(o[0].value),a=!0),Object.keys(ce).forEach((function(t){var o=e.indexOf(t);o>=0&&(n<0||o<n)&&(n=o,r=t,a=!1)})),a&&-1!==r){var i=e.substr(0,n),s=e.substr(n,o[0].value.length),c=e.substr(n+o[0].value.length);return t.push(i),t.push(s),t=t.concat(le(c)),t}if(r){var l=e.substr(0,n),u=r,d=e.substr(n+u.length);if(e.replace(/\s/g,"").length===2*u.length)return[e];var f=d.match(new RegExp("^("+(ce[u].allowed_chars||".")+"*"+(ce[u].end?"?":"")+")"+(ce[u].end?"("+ce[u].end+")":""),"m"));if(f&&f[1]){l&&t.push(l);var p={start:u,content:le(f[1]),end:f[2],type:ce[u].type};t.push(p),d=d.substr(f[0].length)}else l+=u,t.push(l);return t=t.concat(le(d)),t}return e?[e]:[]}function ue(e){var t=[];return e.forEach((function(e){"string"===typeof e?t.push({types:[],value:e}):ce[e.start]&&t.push(de(e))})),t}function de(e){var t=[];return e.content.forEach((function(n){"string"===typeof n?t.push({types:[e.type],value:n}):n.content.forEach((function(r){"string"===typeof r?t.push({types:[n.type].concat([e.type]),value:r}):t.push({types:[r.type].concat([n.type]).concat([e.type]),value:de(r)})}))})),t}function fe(e){var t=[];return e.forEach((function(e){var n=ae.find(e.value);if(n.length){var r=e.value.replace(n[0].value,"");t.push({types:e.types,value:r}),e.types=["url"].concat(e.types),e.href=n[0].href,e.value=n[0].value}t.push(e)})),t}var pe=n("c9d9"),he={name:"FormatMessage",components:{SvgIcon:K},props:{content:{type:[String,Number],required:!0},deleted:{type:Boolean,default:!1},users:{type:Array,default:function(){return[]}},linkify:{type:Boolean,default:!0},singleLine:{type:Boolean,default:!1},reply:{type:Boolean,default:!1},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0}},computed:{linkifiedMessage:function(){var e=this,t=ie(this.formatTags(this.content),this.linkify&&!this.linkOptions.disabled,this.linkOptions);return t.forEach((function(t){t.url=e.checkType(t,"url"),t.bold=e.checkType(t,"bold"),t.italic=e.checkType(t,"italic"),t.strike=e.checkType(t,"strike"),t.underline=e.checkType(t,"underline"),t.inline=e.checkType(t,"inline-code"),t.multiline=e.checkType(t,"multiline-code"),t.tag=e.checkType(t,"tag"),t.image=e.checkImageType(t)})),t},formattedContent:function(){return this.formatTags(this.content)}},methods:{checkType:function(e,t){return-1!==e.types.indexOf(t)},checkImageType:function(e){var t=e.value.lastIndexOf("."),n=e.value.lastIndexOf("/");n>t&&(t=-1);var r=e.value.substring(t+1,e.value.length),o=t>0&&pe["b"].some((function(e){return r.toLowerCase().includes(e)}));return o&&this.setImageSize(e),o},setImageSize:function(e){var t=new Image;function n(r){var o=r.path[0].width/150;e.height=Math.round(r.path[0].height/o)+"px",t.removeEventListener("load",n)}t.src=e.value,t.addEventListener("load",n)},formatTags:function(e){return this.users.forEach((function(t){var n=e.indexOf(t._id),r="<usertag>"===e.substring(n-9,n);r&&(e=e.replace(t._id,"@".concat(t.username)))})),e},openTag:function(e){if(!this.singleLine&&this.checkType(e,"tag")){var t=this.users.find((function(t){return-1!==e.value.indexOf(t.username)}));this.$emit("open-user-tag",t)}}}},me=he,ge=(n("c3ec"),S(me,re,oe,!1,null,null,null)),ve=ge.exports,be=(n("a15b"),function(e,t,n){if(e.typingUsers&&e.typingUsers.length){var r=e.users.filter((function(n){if(n._id!==t&&-1!==e.typingUsers.indexOf(n._id)&&(!n.status||"offline"!==n.status.state))return!0}));if(!r.length)return;return 2===e.users.length?n.IS_TYPING:r.map((function(e){return e.username})).join(", ")+" "+n.IS_TYPING}}),ye=n("bd43"),xe=ye.isAudioFile,we={name:"RoomsContent",components:{SvgIcon:K,FormatMessage:ve},directives:{clickOutside:ne.a.directive},props:{currentUserId:{type:[String,Number],required:!0},room:{type:Object,required:!0},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0},textMessages:{type:Object,required:!0},roomActions:{type:Array,required:!0}},data:function(){return{roomMenuOpened:null}},computed:{getLastMessage:function(){var e=this,t=this.typingUsers;if(t)return t;var n=this.room.lastMessage.deleted?this.textMessages.MESSAGE_DELETED:this.room.lastMessage.content;if(this.room.users.length<=2)return n;var r=this.room.users.find((function(t){return t._id===e.room.lastMessage.senderId}));return this.room.lastMessage.username?"".concat(this.room.lastMessage.username," - ").concat(n):r&&r._id!==this.currentUserId?"".concat(r.username," - ").concat(n):n},userStatus:function(){var e=this;if(this.room.users&&2===this.room.users.length){var t=this.room.users.find((function(t){return t._id!==e.currentUserId}));return t&&t.status?t.status.state:null}},typingUsers:function(){return be(this.room,this.currentUserId,this.textMessages)},isMessageCheckmarkVisible:function(){return!this.typingUsers&&this.room.lastMessage&&!this.room.lastMessage.deleted&&this.room.lastMessage.senderId===this.currentUserId&&(this.room.lastMessage.saved||this.room.lastMessage.distributed||this.room.lastMessage.seen)},formattedDuration:function(){var e=this.room.lastMessage.file;if(!e.duration)return"".concat(e.name,".").concat(e.extension);var t=Math.floor(e.duration);return(t-(t%=60))/60+(t>9?":":":0")+t},isAudio:function(){return xe(this.room.lastMessage.file)}},methods:{roomActionHandler:function(e){this.closeRoomMenu(),this.$emit("room-action-handler",{action:e,roomId:this.room.roomId})},closeRoomMenu:function(){this.roomMenuOpened=null}}},_e=we,ke=(n("3687"),S(_e,Q,ee,!1,null,null,null)),Se=ke.exports,Ae=(n("2ca0"),function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return n&&""!==n?e.filter((function(e){return r?Ee(e[t]).startsWith(Ee(n)):Ee(e[t]).includes(Ee(n))})):e});function Ee(e){return e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"")}var Me={name:"RoomsList",components:{InfiniteLoading:I.a,Loader:B,RoomsSearch:J,RoomContent:Se},props:{currentUserId:{type:[String,Number],required:!0},textMessages:{type:Object,required:!0},showRoomsList:{type:Boolean,required:!0},showAddRoom:{type:Boolean,required:!0},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0},isMobile:{type:Boolean,required:!0},rooms:{type:Array,required:!0},loadingRooms:{type:Boolean,required:!0},roomsLoaded:{type:Boolean,required:!0},room:{type:Object,required:!0},roomActions:{type:Array,required:!0}},data:function(){return{filteredRooms:this.rooms||[],infiniteState:null,loadingMoreRooms:!1,selectedRoomId:""}},watch:{rooms:function(e,t){this.filteredRooms=e,this.infiniteState&&(e.length!==t.length||this.roomsLoaded)&&(this.infiniteState.loaded(),this.loadingMoreRooms=!1)},loadingRooms:function(e){e&&(this.infiniteState=null)},loadingMoreRooms:function(e){this.$emit("loading-more-rooms",e)},roomsLoaded:function(e){e&&this.infiniteState&&(this.loadingMoreRooms=!1,this.infiniteState.complete())},room:{immediate:!0,handler:function(e){e&&!this.isMobile&&(this.selectedRoomId=e.roomId)}}},methods:{searchRoom:function(e){this.filteredRooms=Ae(this.rooms,"roomName",e.target.value)},openRoom:function(e){(e.roomId!==this.room.roomId||this.isMobile)&&(this.isMobile||(this.selectedRoomId=e.roomId),this.$emit("fetch-room",{room:e}))},loadMoreRooms:function(e){if(!this.loadingMoreRooms){if(this.roomsLoaded)return this.loadingMoreRooms=!1,e.complete();this.infiniteState=e,this.$emit("fetch-more-rooms"),this.loadingMoreRooms=!0}}}},Oe=Me,Re=(n("7d66"),S(Oe,T,C,!1,null,null,null)),je=Re.exports,Te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.isMobile&&!e.showRoomsList||!e.isMobile||e.singleRoom,expression:"(isMobile && !showRoomsList) || !isMobile || singleRoom"}],staticClass:"vac-col-messages"},[e.showNoRoom?e._t("no-room-selected",[n("div",{staticClass:"vac-container-center vac-room-empty"},[n("div",[e._v(e._s(e.textMessages.ROOM_EMPTY))])])]):n("room-header",{attrs:{"current-user-id":e.currentUserId,"text-messages":e.textMessages,"single-room":e.singleRoom,"show-rooms-list":e.showRoomsList,"is-mobile":e.isMobile,"room-info":e.roomInfo,"menu-actions":e.menuActions,room:e.room},on:{"toggle-rooms-list":function(t){return e.$emit("toggle-rooms-list")},"room-info":function(t){return e.$emit("room-info")},"menu-action-handler":function(t){return e.$emit("menu-action-handler",t)}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}),n("div",{ref:"scrollContainer",staticClass:"vac-container-scroll",on:{scroll:e.onContainerScroll}},[n("loader",{attrs:{show:e.loadingMessages}}),n("div",{staticClass:"vac-messages-container"},[n("div",{class:{"vac-messages-hidden":e.loadingMessages}},[n("transition",{attrs:{name:"vac-fade-message"}},[e.showNoMessages?n("div",{staticClass:"vac-text-started"},[e._t("messages-empty",[e._v(" "+e._s(e.textMessages.MESSAGES_EMPTY)+" ")])],2):e._e(),e.showMessagesStarted?n("div",{staticClass:"vac-text-started"},[e._v(" "+e._s(e.textMessages.CONVERSATION_STARTED)+" "+e._s(e.messages[0].date)+" ")]):e._e()]),n("transition",{attrs:{name:"vac-fade-message"}},[e.messages.length?n("infinite-loading",{class:{"vac-infinite-loading":!e.messagesLoaded},attrs:{"force-use-infinite-wrapper":".vac-container-scroll","web-component-name":"vue-advanced-chat",spinner:"spiral",direction:"top",distance:40},on:{infinite:e.loadMoreMessages}},[n("div",{attrs:{slot:"spinner"},slot:"spinner"},[n("loader",{attrs:{show:!0,infinite:!0}})],1),n("div",{attrs:{slot:"no-results"},slot:"no-results"}),n("div",{attrs:{slot:"no-more"},slot:"no-more"})]):e._e()],1),n("transition-group",{key:e.roomId,attrs:{name:"vac-fade-message"}},e._l(e.messages,(function(t,r){return n("div",{key:t._id},[n("message",{attrs:{"current-user-id":e.currentUserId,message:t,index:r,messages:e.messages,"edited-message":e.editedMessage,"message-actions":e.messageActions,"room-users":e.room.users,"text-messages":e.textMessages,"room-footer-ref":e.$refs.roomFooter,"new-messages":e.newMessages,"show-reaction-emojis":e.showReactionEmojis,"show-new-messages-divider":e.showNewMessagesDivider,"text-formatting":e.textFormatting,"link-options":e.linkOptions,"emojis-list":e.emojisList,"hide-options":e.hideOptions},on:{"message-added":e.onMessageAdded,"message-action-handler":e.messageActionHandler,"open-file":e.openFile,"open-user-tag":e.openUserTag,"send-message-reaction":e.sendMessageReaction,"hide-options":function(t){e.hideOptions=t}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],1)})),0)],1)])],1),e.loadingMessages?e._e():n("div",[n("transition",{attrs:{name:"vac-bounce"}},[e.scrollIcon?n("div",{staticClass:"vac-icon-scroll",on:{click:e.scrollToBottom}},[n("transition",{attrs:{name:"vac-bounce"}},[e.scrollMessagesCount?n("div",{staticClass:"vac-badge-counter vac-messages-count"},[e._v(" "+e._s(e.scrollMessagesCount)+" ")]):e._e()]),e._t("scroll-icon",[n("svg-icon",{attrs:{name:"dropdown",param:"scroll"}})])],2):e._e()])],1),n("div",{directives:[{name:"show",rawName:"v-show",value:Object.keys(e.room).length&&e.showFooter,expression:"Object.keys(room).length && showFooter"}],ref:"roomFooter",staticClass:"vac-room-footer"},[e._t("textbox",[n("room-message-reply",{attrs:{room:e.room,"message-reply":e.messageReply,"text-formatting":e.textFormatting,"link-options":e.linkOptions},on:{"reset-message":e.resetMessage},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}),n("room-emojis",{attrs:{"filtered-emojis":e.filteredEmojis},on:{"select-emoji":function(t){return e.selectEmoji(t)}}}),n("room-users-tag",{attrs:{"filtered-users-tag":e.filteredUsersTag},on:{"select-user-tag":function(t){return e.selectUserTag(t)}}}),n("div",{staticClass:"vac-box-footer",class:{"vac-app-box-shadow":e.filteredEmojis.length||e.filteredUsersTag.length}},[!e.showAudio||e.imageFile||e.videoFile?e._e():n("div",{staticClass:"vac-icon-textarea-left"},[e.isRecording?[n("div",{staticClass:"vac-svg-button vac-icon-audio-stop",on:{click:e.stopRecorder}},[e._t("audio-stop-icon",[n("svg-icon",{attrs:{name:"close-outline"}})])],2),n("div",{staticClass:"vac-dot-audio-record"}),n("div",{staticClass:"vac-dot-audio-record-time"},[e._v(" "+e._s(e.recordedTime)+" ")]),n("div",{staticClass:"vac-svg-button vac-icon-audio-confirm",on:{click:function(t){return e.toggleRecorder(!1)}}},[e._t("audio-stop-icon",[n("svg-icon",{attrs:{name:"checkmark"}})])],2)]:n("div",{staticClass:"vac-svg-button",on:{click:function(t){return e.toggleRecorder(!0)}}},[e._t("microphone-icon",[n("svg-icon",{staticClass:"vac-icon-microphone",attrs:{name:"microphone"}})])],2)],2),e.imageFile?n("div",{staticClass:"vac-media-container"},[n("div",{staticClass:"vac-svg-button vac-icon-media",on:{click:e.resetMediaFile}},[e._t("image-close-icon",[n("svg-icon",{attrs:{name:"close",param:"image"}})])],2),n("div",{staticClass:"vac-media-file"},[n("img",{ref:"mediaFile",attrs:{src:e.imageFile},on:{load:e.onMediaLoad}})])]):e.videoFile?n("div",{staticClass:"vac-media-container"},[n("div",{staticClass:"vac-svg-button vac-icon-media",on:{click:e.resetMediaFile}},[e._t("image-close-icon",[n("svg-icon",{attrs:{name:"close",param:"image"}})])],2),n("div",{ref:"mediaFile",staticClass:"vac-media-file"},[n("video",{attrs:{width:"100%",height:"100%",controls:""}},[n("source",{attrs:{src:e.videoFile}})])])]):e.file?n("div",{staticClass:"vac-file-container",class:{"vac-file-container-edit":e.editedMessage._id}},[n("div",{staticClass:"vac-icon-file"},[e._t("file-icon",[n("svg-icon",{attrs:{name:"file"}})])],2),n("div",{staticClass:"vac-file-message"},[e._v(" "+e._s(e.file.audio?e.file.name:e.message)+" ")]),n("div",{staticClass:"vac-svg-button vac-icon-remove",on:{click:function(t){return e.resetMessage(null,!0)}}},[e._t("file-close-icon",[n("svg-icon",{attrs:{name:"close"}})])],2)]):e._e(),n("textarea",{directives:[{name:"show",rawName:"v-show",value:!e.file||e.imageFile||e.videoFile,expression:"!file || imageFile || videoFile"},{name:"model",rawName:"v-model",value:e.message,expression:"message"}],ref:"roomTextarea",staticClass:"vac-textarea",class:{"vac-textarea-outline":e.editedMessage._id},style:{"min-height":(e.mediaDimensions?e.mediaDimensions.height:20)+"px","padding-left":(e.mediaDimensions?e.mediaDimensions.width-10:12)+"px"},attrs:{placeholder:e.textMessages.TYPE_MESSAGE},domProps:{value:e.message},on:{input:[function(t){t.target.composing||(e.message=t.target.value)},e.onChangeInput],keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.escapeTextarea(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:void t.preventDefault()}]}}),n("div",{staticClass:"vac-icon-textarea"},[e.editedMessage._id?n("div",{staticClass:"vac-svg-button",on:{click:e.resetMessage}},[e._t("edit-close-icon",[n("svg-icon",{attrs:{name:"close-outline"}})])],2):e._e(),e.showEmojis&&(!e.file||e.imageFile||e.videoFile)?n("emoji-picker",{attrs:{"emoji-opened":e.emojiOpened,"position-top":!0},on:{"add-emoji":e.addEmoji,"open-emoji":function(t){e.emojiOpened=t}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}):e._e(),e.showFiles?n("div",{staticClass:"vac-svg-button",on:{click:e.launchFilePicker}},[e._t("paperclip-icon",[n("svg-icon",{attrs:{name:"paperclip"}})])],2):e._e(),e.textareaAction?n("div",{staticClass:"vac-svg-button",on:{click:e.textareaActionHandler}},[e._t("custom-action-icon",[n("svg-icon",{attrs:{name:"deleted"}})])],2):e._e(),e.showFiles?n("input",{ref:"file",staticStyle:{display:"none"},attrs:{type:"file",accept:e.acceptedFiles},on:{change:function(t){return e.onFileChange(t.target.files)}}}):e._e(),e.showSendIcon?n("div",{staticClass:"vac-svg-button",class:{"vac-send-disabled":e.isMessageEmpty},on:{click:e.sendMessage}},[e._t("send-icon",[n("svg-icon",{attrs:{name:"send",param:e.isMessageEmpty?"disabled":""}})])],2):e._e()],1)])])],2)],2)},Ce=[];n("e260"),n("accc"),n("0d03"),n("cca6"),n("d3b7"),n("e6cf"),n("3ca3"),n("498a"),n("ddb0"),n("4795"),n("2b3d"),n("96cf");function Le(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,o)}function Ie(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){Le(a,r,o,i,s,"next",e)}function s(e){Le(a,r,o,i,s,"throw",e)}i(void 0)}))}}n("277d");function Pe(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 Ne(e){if(Array.isArray(e))return Pe(e)}n("e01a"),n("d28b"),n("a630");function Ue(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function Fe(e,t){if(e){if("string"===typeof e)return Pe(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)?Pe(e,t):void 0}}function $e(){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 Be(e){return Ne(e)||Ue(e)||Fe(e)||$e()}var qe={"Frequently used":{thumbs_up:"👍","-1":"👎",sob:"😭",confused:"😕",neutral_face:"😐",blush:"😊",heart_eyes:"😍"},People:{smile:"😄",smiley:"😃",grinning:"😀",blush:"😊",wink:"😉",heart_eyes:"😍",kissing_heart:"😘",kissing_closed_eyes:"😚",kissing:"😗",kissing_smiling_eyes:"😙",stuck_out_tongue_winking_eye:"😜",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue:"😛",flushed:"😳",grin:"😁",pensive:"😔",relieved:"😌",unamused:"😒",disappointed:"😞",persevere:"😣",cry:"😢",joy:"😂",sob:"😭",sleepy:"😪",disappointed_relieved:"😥",cold_sweat:"😰",sweat_smile:"😅",sweat:"😓",weary:"😩",tired_face:"😫",fearful:"😨",scream:"😱",angry:"😠",rage:"😡",triumph:"😤",confounded:"😖",laughing:"😆",yum:"😋",mask:"😷",sunglasses:"😎",sleeping:"😴",dizzy_face:"😵",astonished:"😲",worried:"😟",frowning:"😦",anguished:"😧",imp:"👿",open_mouth:"😮",grimacing:"😬",neutral_face:"😐",confused:"😕",hushed:"😯",smirk:"😏",expressionless:"😑",man_with_gua_pi_mao:"👲",man_with_turban:"👳",cop:"👮",construction_worker:"👷",guardsman:"💂",baby:"👶",boy:"👦",girl:"👧",man:"👨",woman:"👩",older_man:"👴",older_woman:"👵",person_with_blond_hair:"👱",angel:"👼",princess:"👸",smiley_cat:"😺",smile_cat:"😸",heart_eyes_cat:"😻",kissing_cat:"😽",smirk_cat:"😼",scream_cat:"🙀",crying_cat_face:"😿",joy_cat:"😹",pouting_cat:"😾",japanese_ogre:"👹",japanese_goblin:"👺",see_no_evil:"🙈",hear_no_evil:"🙉",speak_no_evil:"🙊",skull:"💀",alien:"👽",hankey:"💩",fire:"🔥",sparkles:"✨",star2:"🌟",dizzy:"💫",boom:"💥",anger:"💢",sweat_drops:"💦",droplet:"💧",zzz:"💤",dash:"💨",ear:"👂",eyes:"👀",nose:"👃",tongue:"👅",lips:"👄",thumbs_up:"👍","-1":"👎",ok_hand:"👌",facepunch:"👊",fist:"✊",wave:"👋",hand:"✋",open_hands:"👐",point_up_2:"👆",point_down:"👇",point_right:"👉",point_left:"👈",raised_hands:"🙌",pray:"🙏",clap:"👏",muscle:"💪",walking:"🚶",runner:"🏃",dancer:"💃",couple:"👫",family:"👪",couplekiss:"💏",couple_with_heart:"💑",dancers:"👯",ok_woman:"🙆",no_good:"🙅",information_desk_person:"💁",raising_hand:"🙋",massage:"💆",haircut:"💇",nail_care:"💅",bride_with_veil:"👰",person_with_pouting_face:"🙎",person_frowning:"🙍",bow:"🙇",tophat:"🎩",crown:"👑",womans_hat:"👒",athletic_shoe:"👟",mans_shoe:"👞",sandal:"👡",high_heel:"👠",boot:"👢",shirt:"👕",necktie:"👔",womans_clothes:"👚",dress:"👗",running_shirt_with_sash:"🎽",jeans:"👖",kimono:"👘",bikini:"👙",briefcase:"💼",handbag:"👜",pouch:"👝",purse:"👛",eyeglasses:"👓",ribbon:"🎀",closed_umbrella:"🌂",lipstick:"💄",yellow_heart:"💛",blue_heart:"💙",purple_heart:"💜",green_heart:"💚",broken_heart:"💔",heartpulse:"💗",heartbeat:"💓",two_hearts:"💕",sparkling_heart:"💖",revolving_hearts:"💞",cupid:"💘",love_letter:"💌",kiss:"💋",ring:"💍",gem:"💎",bust_in_silhouette:"👤",speech_balloon:"💬",footprints:"👣"},Nature:{dog:"🐶",wolf:"🐺",cat:"🐱",mouse:"🐭",hamster:"🐹",rabbit:"🐰",frog:"🐸",tiger:"🐯",koala:"🐨",bear:"🐻",pig:"🐷",pig_nose:"🐽",cow:"🐮",boar:"🐗",monkey_face:"🐵",monkey:"🐒",horse:"🐴",sheep:"🐑",elephant:"🐘",panda_face:"🐼",penguin:"🐧",bird:"🐦",baby_chick:"🐤",hatched_chick:"🐥",hatching_chick:"🐣",chicken:"🐔",snake:"🐍",turtle:"🐢",bug:"🐛",bee:"🐝",ant:"🐜",beetle:"🐞",snail:"🐌",octopus:"🐙",shell:"🐚",tropical_fish:"🐠",fish:"🐟",dolphin:"🐬",whale:"🐳",racehorse:"🐎",dragon_face:"🐲",blowfish:"🐡",camel:"🐫",poodle:"🐩",feet:"🐾",bouquet:"💐",cherry_blossom:"🌸",tulip:"🌷",four_leaf_clover:"🍀",rose:"🌹",sunflower:"🌻",hibiscus:"🌺",maple_leaf:"🍁",leaves:"🍃",fallen_leaf:"🍂",herb:"🌿",ear_of_rice:"🌾",mushroom:"🍄",cactus:"🌵",palm_tree:"🌴",chestnut:"🌰",seedling:"🌱",blossom:"🌼",new_moon:"🌑",first_quarter_moon:"🌓",moon:"🌔",full_moon:"🌕",first_quarter_moon_with_face:"🌛",crescent_moon:"🌙",earth_asia:"🌏",volcano:"🌋",milky_way:"🌌",stars:"🌠",partly_sunny:"⛅",snowman:"⛄",cyclone:"🌀",foggy:"🌁",rainbow:"🌈",ocean:"🌊"},Objects:{bamboo:"🎍",gift_heart:"💝",dolls:"🎎",school_satchel:"🎒",mortar_board:"🎓",flags:"🎏",fireworks:"🎆",sparkler:"🎇",wind_chime:"🎐",rice_scene:"🎑",jack_o_lantern:"🎃",ghost:"👻",santa:"🎅",christmas_tree:"🎄",gift:"🎁",tanabata_tree:"🎋",tada:"🎉",confetti_ball:"🎊",balloon:"🎈",crossed_flags:"🎌",crystal_ball:"🔮",movie_camera:"🎥",camera:"📷",video_camera:"📹",vhs:"📼",cd:"💿",dvd:"📀",minidisc:"💽",floppy_disk:"💾",computer:"💻",iphone:"📱",telephone_receiver:"📞",pager:"📟",fax:"📠",satellite:"📡",tv:"📺",radio:"📻",loud_sound:"🔊",bell:"🔔",loudspeaker:"📢",mega:"📣",hourglass_flowing_sand:"⏳",hourglass:"⌛",alarm_clock:"⏰",watch:"⌚",unlock:"🔓",lock:"🔒",lock_with_ink_pen:"🔏",closed_lock_with_key:"🔐",key:"🔑",mag_right:"🔎",bulb:"💡",flashlight:"🔦",electric_plug:"🔌",battery:"🔋",mag:"🔍",bath:"🛀",toilet:"🚽",wrench:"🔧",nut_and_bolt:"🔩",hammer:"🔨",door:"🚪",smoking:"🚬",bomb:"💣",gun:"🔫",hocho:"🔪",pill:"💊",syringe:"💉",moneybag:"💰",yen:"💴",dollar:"💵",credit_card:"💳",money_with_wings:"💸",calling:"📲","e-mail":"📧",inbox_tray:"📥",outbox_tray:"📤",envelope_with_arrow:"📩",incoming_envelope:"📨",mailbox:"📫",mailbox_closed:"📪",postbox:"📮",package:"📦",memo:"📝",page_facing_up:"📄",page_with_curl:"📃",bookmark_tabs:"📑",bar_chart:"📊",chart_with_upwards_trend:"📈",chart_with_downwards_trend:"📉",scroll:"📜",clipboard:"📋",date:"📅",calendar:"📆",card_index:"📇",file_folder:"📁",open_file_folder:"📂",pushpin:"📌",paperclip:"📎",straight_ruler:"📏",triangular_ruler:"📐",closed_book:"📕",green_book:"📗",blue_book:"📘",orange_book:"📙",notebook:"📓",notebook_with_decorative_cover:"📔",ledger:"📒",books:"📚",book:"📖",bookmark:"🔖",name_badge:"📛",newspaper:"📰",art:"🎨",clapper:"🎬",microphone:"🎤",headphones:"🎧",musical_score:"🎼",musical_note:"🎵",notes:"🎶",musical_keyboard:"🎹",violin:"🎻",trumpet:"🎺",saxophone:"🎷",guitar:"🎸",space_invader:"👾",video_game:"🎮",black_joker:"🃏",flower_playing_cards:"🎴",mahjong:"🀄",game_die:"🎲",dart:"🎯",football:"🏈",basketball:"🏀",soccer:"⚽",baseball:"⚾",tennis:"🎾","8ball":"🎱",bowling:"🎳",golf:"⛳",checkered_flag:"🏁",trophy:"🏆",ski:"🎿",snowboarder:"🏂",swimmer:"🏊",surfer:"🏄",fishing_pole_and_fish:"🎣",tea:"🍵",sake:"🍶",beer:"🍺",beers:"🍻",cocktail:"🍸",tropical_drink:"🍹",wine_glass:"🍷",fork_and_knife:"🍴",pizza:"🍕",hamburger:"🍔",fries:"🍟",poultry_leg:"🍗",meat_on_bone:"🍖",spaghetti:"🍝",curry:"🍛",fried_shrimp:"🍤",bento:"🍱",sushi:"🍣",fish_cake:"🍥",rice_ball:"🍙",rice_cracker:"🍘",rice:"🍚",ramen:"🍜",stew:"🍲",oden:"🍢",dango:"🍡",egg:"🍳",bread:"🍞",doughnut:"🍩",custard:"🍮",icecream:"🍦",ice_cream:"🍨",shaved_ice:"🍧",birthday:"🎂",cake:"🍰",cookie:"🍪",chocolate_bar:"🍫",candy:"🍬",lollipop:"🍭",honey_pot:"🍯",apple:"🍎",green_apple:"🍏",tangerine:"🍊",cherries:"🍒",grapes:"🍇",watermelon:"🍉",strawberry:"🍓",peach:"🍑",melon:"🍈",banana:"🍌",pineapple:"🍍",sweet_potato:"🍠",eggplant:"🍆",tomato:"🍅",corn:"🌽"},Places:{house:"🏠",house_with_garden:"🏡",school:"🏫",office:"🏢",post_office:"🏣",hospital:"🏥",bank:"🏦",convenience_store:"🏪",love_hotel:"🏩",hotel:"🏨",wedding:"💒",church:"⛪",department_store:"🏬",city_sunrise:"🌇",city_sunset:"🌆",japanese_castle:"🏯",european_castle:"🏰",tent:"⛺",factory:"🏭",tokyo_tower:"🗼",japan:"🗾",mount_fuji:"🗻",sunrise_over_mountains:"🌄",sunrise:"🌅",night_with_stars:"🌃",statue_of_liberty:"🗽",bridge_at_night:"🌉",carousel_horse:"🎠",ferris_wheel:"🎡",fountain:"⛲",roller_coaster:"🎢",ship:"🚢",boat:"⛵",speedboat:"🚤",rocket:"🚀",seat:"💺",station:"🚉",bullettrain_side:"🚄",bullettrain_front:"🚅",metro:"🚇",railway_car:"🚃",bus:"🚌",blue_car:"🚙",car:"🚗",taxi:"🚕",truck:"🚚",rotating_light:"🚨",police_car:"🚓",fire_engine:"🚒",ambulance:"🚑",bike:"🚲",barber:"💈",busstop:"🚏",ticket:"🎫",traffic_light:"🚥",construction:"🚧",beginner:"🔰",fuelpump:"⛽",izakaya_lantern:"🏮",slot_machine:"🎰",moyai:"🗿",circus_tent:"🎪",performing_arts:"🎭",round_pushpin:"📍",triangular_flag_on_post:"🚩"},Symbols:{keycap_ten:"🔟",1234:"🔢",symbols:"🔣",capital_abcd:"🔠",abcd:"🔡",abc:"🔤",arrow_up_small:"🔼",arrow_down_small:"🔽",rewind:"⏪",fast_forward:"⏩",arrow_double_up:"⏫",arrow_double_down:"⏬",ok:"🆗",new:"🆕",up:"🆙",cool:"🆒",free:"🆓",ng:"🆖",signal_strength:"📶",cinema:"🎦",koko:"🈁",u6307:"🈯",u7a7a:"🈳",u6e80:"🈵",u5408:"🈴",u7981:"🈲",ideograph_advantage:"🉐",u5272:"🈹",u55b6:"🈺",u6709:"🈶",u7121:"🈚",restroom:"🚻",mens:"🚹",womens:"🚺",baby_symbol:"🚼",wc:"🚾",no_smoking:"🚭",u7533:"🈸",accept:"🉑",cl:"🆑",sos:"🆘",id:"🆔",no_entry_sign:"🚫",underage:"🔞",no_entry:"⛔",negative_squared_cross_mark:"❎",white_check_mark:"✅",heart_decoration:"💟",vs:"🆚",vibration_mode:"📳",mobile_phone_off:"📴",ab:"🆎",diamond_shape_with_a_dot_inside:"💠",ophiuchus:"⛎",six_pointed_star:"🔯",atm:"🏧",chart:"💹",heavy_dollar_sign:"💲",currency_exchange:"💱",x:"❌",exclamation:"❗",question:"❓",grey_exclamation:"❕",grey_question:"❔",o:"⭕",top:"🔝",end:"🔚",back:"🔙",on:"🔛",soon:"🔜",arrows_clockwise:"🔃",clock12:"🕛",clock1:"🕐",clock2:"🕑",clock3:"🕒",clock4:"🕓",clock5:"🕔",clock6:"🕕",clock7:"🕖",clock8:"🕗",clock9:"🕘",clock10:"🕙",clock11:"🕚",heavy_plus_sign:"➕",heavy_minus_sign:"➖",heavy_division_sign:"➗",white_flower:"💮",100:"💯",radio_button:"🔘",link:"🔗",curly_loop:"➰",trident:"🔱",small_red_triangle:"🔺",black_square_button:"🔲",white_square_button:"🔳",red_circle:"🔴",large_blue_circle:"🔵",small_red_triangle_down:"🔻",white_large_square:"⬜",black_large_square:"⬛",large_orange_diamond:"🔶",large_blue_diamond:"🔷",small_orange_diamond:"🔸",small_blue_diamond:"🔹"}},De=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-wrapper"},[n("emoji-picker",{attrs:{search:e.search},on:{emoji:e.append},scopedSlots:e._u([{key:"emoji-invoker",fn:function(t){var r=t.events.click;return n("div",{staticClass:"vac-svg-button",class:{"vac-emoji-reaction":e.emojiReaction},on:{click:[function(e){return e.stopPropagation(),r(e)},e.openEmoji]}},[e._t("emoji-picker-icon",[n("svg-icon",{attrs:{name:"emoji",param:e.emojiReaction?"reaction":""}})])],2)}},{key:"emoji-picker",fn:function(t){var r=t.emojis,o=t.insert;return e.emojiOpened?n("div",{},[n("transition",{attrs:{name:"vac-slide-up",appear:""}},[n("div",{staticClass:"vac-emoji-picker",class:{"vac-picker-reaction":e.emojiReaction},style:{height:e.emojiPickerHeight+"px",top:e.positionTop?e.emojiPickerHeight:e.emojiPickerTop+"px",right:e.emojiPickerRight,display:e.emojiPickerTop||!e.emojiReaction?"initial":"none"}},[n("div",{staticClass:"vac-emoji-picker__search"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],attrs:{type:"text"},domProps:{value:e.search},on:{input:function(t){t.target.composing||(e.search=t.target.value)}}})]),n("div",e._l(r,(function(t,r){return n("div",{key:r},["Frequently used"!==r?n("h5",[e._v(" "+e._s(r)+" ")]):e._e(),"Frequently used"!==r?n("div",{staticClass:"vac-emojis"},e._l(t,(function(t,r){return n("span",{key:r,attrs:{title:r},on:{click:function(e){return o({emoji:t,emojiName:r})}}},[e._v(" "+e._s(t)+" ")])})),0):e._e()])})),0)])])],1):e._e()}}],null,!0)})],1)},ze=[],He=n("669f"),Ve=n.n(He),Ye={components:{EmojiPicker:Ve.a,SvgIcon:K},props:{emojiOpened:{type:Boolean,default:!1},emojiReaction:{type:Boolean,default:!1},roomFooterRef:{default:null},positionTop:{type:Boolean,default:!1},positionRight:{type:Boolean,default:!1}},data:function(){return{search:"",emojiPickerHeight:320,emojiPickerTop:0,emojiPickerRight:""}},methods:{append:function(e){var t=e.emoji,n=e.emojiName;this.$emit("add-emoji",{icon:t,name:n})},openEmoji:function(e){this.$emit("open-emoji",!0),this.setEmojiPickerPosition(e.clientY,e.view.innerWidth,e.view.innerHeight)},setEmojiPickerPosition:function(e,t,n){var r=this;setTimeout((function(){var o=t<500||n<700;if(r.roomFooterRef)if(o)r.emojiPickerRight=t/2-120+"px",r.emojiPickerTop=100,r.emojiPickerHeight=n-200;else{var a=r.roomFooterRef.getBoundingClientRect().top,i=a-e>r.emojiPickerHeight-50;r.emojiPickerTop=i?e+10:e-r.emojiPickerHeight-10,r.emojiPickerRight=r.positionTop?"-50px":r.positionRight?"60px":""}else o&&(r.emojiPickerRight="0px")}))}}},Ge=Ye,Ke=(n("3c0d"),S(Ge,De,ze,!1,null,null,null)),We=Ke.exports,Ze=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-room-header vac-app-border-b"},[e._t("room-header",[n("div",{staticClass:"vac-room-wrapper"},[e.singleRoom?e._e():n("div",{staticClass:"vac-svg-button vac-toggle-button",class:{"vac-rotate-icon":!e.showRoomsList&&!e.isMobile},on:{click:function(t){return e.$emit("toggle-rooms-list")}}},[e._t("toggle-icon",[n("svg-icon",{attrs:{name:"toggle"}})])],2),n("div",{staticClass:"vac-info-wrapper",class:{"vac-item-clickable":e.roomInfo},on:{click:function(t){return e.$emit("room-info")}}},[e._t("room-header-avatar",[e.room.avatar?n("div",{staticClass:"vac-avatar",style:{"background-image":"url('"+e.room.avatar+"')"}}):e._e()],null,{room:e.room}),e._t("room-header-info",[n("div",{staticClass:"vac-text-ellipsis"},[n("div",{staticClass:"vac-room-name vac-text-ellipsis"},[e._v(" "+e._s(e.room.roomName)+" ")]),e.typingUsers?n("div",{staticClass:"vac-room-info vac-text-ellipsis"},[e._v(" "+e._s(e.typingUsers)+" ")]):n("div",{staticClass:"vac-room-info vac-text-ellipsis"},[e._v(" "+e._s(e.userStatus)+" ")])])],null,{room:e.room,typingUsers:e.typingUsers,userStatus:e.userStatus})],2),e.room.roomId?e._t("room-options",[e.menuActions.length?n("div",{staticClass:"vac-svg-button vac-room-options",on:{click:function(t){e.menuOpened=!e.menuOpened}}},[e._t("menu-icon",[n("svg-icon",{attrs:{name:"menu"}})])],2):e._e(),e.menuActions.length?n("transition",{attrs:{name:"vac-slide-left"}},[e.menuOpened?n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeMenu,expression:"closeMenu"}],staticClass:"vac-menu-options"},[n("div",{staticClass:"vac-menu-list"},e._l(e.menuActions,(function(t){return n("div",{key:t.name},[n("div",{staticClass:"vac-menu-item",on:{click:function(n){return e.menuActionHandler(t)}}},[e._v(" "+e._s(t.title)+" ")])])})),0)]):e._e()]):e._e()]):e._e()],2)],null,{room:e.room,typingUsers:e.typingUsers,userStatus:e.userStatus})],2)},Xe=[],Je={name:"RoomHeader",components:{SvgIcon:K},directives:{clickOutside:ne.a.directive},props:{currentUserId:{type:[String,Number],required:!0},textMessages:{type:Object,required:!0},singleRoom:{type:Boolean,required:!0},showRoomsList:{type:Boolean,required:!0},isMobile:{type:Boolean,required:!0},roomInfo:{type:Function,default:null},menuActions:{type:Array,required:!0},room:{type:Object,required:!0}},data:function(){return{menuOpened:!1}},computed:{typingUsers:function(){return be(this.room,this.currentUserId,this.textMessages)},userStatus:function(){var e=this;if(this.room.users&&2===this.room.users.length){var t=this.room.users.find((function(t){return t._id!==e.currentUserId}));if(t.status){var n="";return"online"===t.status.state?n=this.textMessages.IS_ONLINE:t.status.lastChanged&&(n=this.textMessages.LAST_SEEN+t.status.lastChanged),n}}}},methods:{menuActionHandler:function(e){this.closeMenu(),this.$emit("menu-action-handler",e)},closeMenu:function(){this.menuOpened=!1}}},Qe=Je,et=(n("e83d"),S(Qe,Ze,Xe,!1,null,null,null)),tt=et.exports,nt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"vac-slide-up"}},[e.messageReply?n("div",{staticClass:"vac-reply-container",style:{bottom:e.$parent.$refs.roomFooter.clientHeight+"px"}},[n("div",{staticClass:"vac-reply-box"},[e.isImageFile?n("img",{staticClass:"vac-image-reply",attrs:{src:e.messageReply.file.url}}):e._e(),n("div",{staticClass:"vac-reply-info"},[n("div",{staticClass:"vac-reply-username"},[e._v(" "+e._s(e.messageReply.username)+" ")]),n("div",{staticClass:"vac-reply-content"},[n("format-message",{attrs:{content:e.messageReply.content,users:e.room.users,"text-formatting":e.textFormatting,"link-options":e.linkOptions,reply:!0},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],1)])]),n("div",{staticClass:"vac-icon-reply"},[n("div",{staticClass:"vac-svg-button",on:{click:function(t){return e.$emit("reset-message")}}},[e._t("reply-close-icon",[n("svg-icon",{attrs:{name:"close-outline"}})])],2)])]):e._e()])},rt=[],ot=n("bd43"),at=ot.isImageFile,it={name:"RoomMessageReply",components:{SvgIcon:K,FormatMessage:ve},props:{room:{type:Object,required:!0},messageReply:{type:Object,default:null},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0}},computed:{isImageFile:function(){return at(this.messageReply.file)}}},st=it,ct=(n("3cd7"),S(st,nt,rt,!1,null,null,null)),lt=ct.exports,ut=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"vac-slide-up"}},[e.filteredUsersTag.length?n("div",{staticClass:"vac-tags-container vac-app-box-shadow",style:{bottom:e.$parent.$refs.roomFooter.clientHeight+"px"}},e._l(e.filteredUsersTag,(function(t){return n("div",{key:t._id,staticClass:"vac-tags-box",on:{click:function(n){return e.$emit("select-user-tag",t)}}},[n("div",{staticClass:"vac-tags-info"},[t.avatar?n("div",{staticClass:"vac-avatar vac-tags-avatar",style:{"background-image":"url('"+t.avatar+"')"}}):e._e(),n("div",{staticClass:"vac-tags-username"},[e._v(" "+e._s(t.username)+" ")])])])})),0):e._e()])},dt=[],ft={name:"RoomUsersTag",props:{filteredUsersTag:{type:Array,required:!0}}},pt=ft,ht=(n("0ed5"),S(pt,ut,dt,!1,null,null,null)),mt=ht.exports,gt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"vac-slide-up"}},[e.filteredEmojis.length?n("div",{staticClass:"vac-emojis-container vac-app-box-shadow",style:{bottom:e.$parent.$refs.roomFooter.clientHeight+"px"}},e._l(e.filteredEmojis,(function(t){return n("div",{key:t,staticClass:"vac-emoji-element",on:{click:function(n){return e.$emit("select-emoji",t)}}},[e._v(" "+e._s(t)+" ")])})),0):e._e()])},vt=[],bt={name:"RoomEmojis",props:{filteredEmojis:{type:Array,required:!0}}},yt=bt,xt=(n("fb0c"),S(yt,gt,vt,!1,null,null,null)),wt=xt.exports,_t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.message._id,staticClass:"vac-message-wrapper",attrs:{id:e.message._id}},[e.showDate?n("div",{staticClass:"vac-card-info vac-card-date"},[e._v(" "+e._s(e.message.date)+" ")]):e._e(),e.newMessage._id===e.message._id?n("div",{staticClass:"vac-line-new"},[e._v(" "+e._s(e.textMessages.NEW_MESSAGES)+" ")]):e._e(),e.message.system?n("div",{staticClass:"vac-card-info vac-card-system"},[e._v(" "+e._s(e.message.content)+" ")]):n("div",{staticClass:"vac-message-box",class:{"vac-offset-current":e.message.senderId===e.currentUserId}},[e._t("message",[e.message.avatar&&e.message.senderId!==e.currentUserId?n("div",{staticClass:"vac-avatar",style:{"background-image":"url('"+e.message.avatar+"')"}}):e._e(),n("div",{staticClass:"vac-message-container",class:{"vac-message-container-offset":e.messageOffset}},[n("div",{staticClass:"vac-message-card",class:{"vac-message-highlight":e.isMessageHover,"vac-message-current":e.message.senderId===e.currentUserId,"vac-message-deleted":e.message.deleted},on:{mouseover:e.onHoverMessage,mouseleave:e.onLeaveMessage}},[e.roomUsers.length>2&&e.message.senderId!==e.currentUserId?n("div",{staticClass:"vac-text-username",class:{"vac-username-reply":!e.message.deleted&&e.message.replyMessage}},[n("span",[e._v(e._s(e.message.username))])]):e._e(),!e.message.deleted&&e.message.replyMessage?n("message-reply",{attrs:{message:e.message,"room-users":e.roomUsers,"text-formatting":e.textFormatting,"link-options":e.linkOptions},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}):e._e(),e.message.deleted?n("div",[e._t("deleted-icon",[n("svg-icon",{staticClass:"vac-icon-deleted",attrs:{name:"deleted"}})]),n("span",[e._v(e._s(e.textMessages.MESSAGE_DELETED))])],2):e.message.file?e.isImage?n("message-image",{attrs:{"current-user-id":e.currentUserId,message:e.message,"room-users":e.roomUsers,"text-formatting":e.textFormatting,"link-options":e.linkOptions,"image-hover":e.imageHover},on:{"open-file":e.openFile},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}):e.isVideo?n("div",{staticClass:"vac-video-container"},[n("video",{attrs:{width:"100%",height:"100%",controls:""}},[n("source",{attrs:{src:e.message.file.url}})])]):e.isAudio?n("audio-player",{attrs:{src:e.message.file.url},on:{"update-progress-time":function(t){e.progressTime=t},"hover-audio-progress":function(t){e.hoverAudioProgress=t}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}):n("div",{staticClass:"vac-file-message"},[n("div",{staticClass:"vac-svg-button vac-icon-file",on:{click:function(t){return t.stopPropagation(),e.openFile("download")}}},[e._t("document-icon",[n("svg-icon",{attrs:{name:"document"}})])],2),n("span",[e._v(e._s(e.message.content))])]):n("format-message",{attrs:{content:e.message.content,users:e.roomUsers,"text-formatting":e.textFormatting,"link-options":e.linkOptions},on:{"open-user-tag":e.openUserTag},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}),e.isAudio&&!e.message.deleted?n("div",{staticClass:"vac-progress-time"},[e._v(" "+e._s(e.progressTime)+" ")]):e._e(),n("div",{staticClass:"vac-text-timestamp"},[e.message.edited&&!e.message.deleted?n("div",{staticClass:"vac-icon-edited"},[e._t("pencil-icon",[n("svg-icon",{attrs:{name:"pencil"}})])],2):e._e(),n("span",[e._v(e._s(e.message.timestamp))]),e.isCheckmarkVisible?n("span",[e._t("checkmark-icon",[n("svg-icon",{staticClass:"vac-icon-check",attrs:{name:e.message.distributed?"double-checkmark":"checkmark",param:e.message.seen?"seen":""}})],null,{message:e.message})],2):e._e()]),n("message-actions",{attrs:{"current-user-id":e.currentUserId,message:e.message,"message-actions":e.messageActions,"room-footer-ref":e.roomFooterRef,"show-reaction-emojis":e.showReactionEmojis,"hide-options":e.hideOptions,"message-hover":e.messageHover,"hover-message-id":e.hoverMessageId,"hover-audio-progress":e.hoverAudioProgress},on:{"hide-options":function(t){return e.$emit("hide-options",!1)},"update-message-hover":function(t){e.messageHover=t},"update-options-opened":function(t){e.optionsOpened=t},"update-emoji-opened":function(t){e.emojiOpened=t},"message-action-handler":e.messageActionHandler,"send-message-reaction":function(t){return e.sendMessageReaction(t)}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],1),n("message-reactions",{attrs:{"current-user-id":e.currentUserId,message:e.message,"emojis-list":e.emojisList},on:{"send-message-reaction":function(t){return e.sendMessageReaction(t)}}})],1)],null,{message:e.message})],2)])},kt=[],St=(n("13d5"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-reply-message"},[n("div",{staticClass:"vac-reply-username"},[e._v(" "+e._s(e.replyUsername)+" ")]),e.isImage?n("div",{staticClass:"vac-image-reply-container"},[n("div",{staticClass:"vac-message-image vac-message-image-reply",style:{"background-image":"url('"+e.message.replyMessage.file.url+"')"}})]):e._e(),n("div",{staticClass:"vac-reply-content"},[n("format-message",{attrs:{content:e.message.replyMessage.content,users:e.roomUsers,"text-formatting":e.textFormatting,"link-options":e.linkOptions,reply:!0},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],1)])}),At=[],Et=n("bd43"),Mt=Et.isImageFile,Ot={name:"MessageReply",components:{FormatMessage:ve},props:{message:{type:Object,required:!0},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0},roomUsers:{type:Array,required:!0}},computed:{replyUsername:function(){var e=this.message.replyMessage.senderId,t=this.roomUsers.find((function(t){return t._id===e}));return t?t.username:""},isImage:function(){return Mt(this.message.replyMessage.file)}}},Rt=Ot,jt=(n("a916"),S(Rt,St,At,!1,null,null,null)),Tt=jt.exports,Ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"imageRef",staticClass:"vac-image-container"},[n("loader",{style:{top:e.imageResponsive.loaderTop+"px"},attrs:{show:e.isImageLoading}}),n("div",{staticClass:"vac-message-image",class:{"vac-image-loading":e.isImageLoading&&e.message.senderId===e.currentUserId},style:{"background-image":"url('"+e.imageBackground+"')","max-height":e.imageResponsive.maxHeight+"px"}},[n("transition",{attrs:{name:"vac-fade-image"}},[e.imageHover&&!e.isImageLoading?n("div",{staticClass:"vac-image-buttons"},[n("div",{staticClass:"vac-svg-button vac-button-view",on:{click:function(t){return t.stopPropagation(),e.$emit("open-file","preview")}}},[e._t("eye-icon",[n("svg-icon",{attrs:{name:"eye"}})])],2),n("div",{staticClass:"vac-svg-button vac-button-download",on:{click:function(t){return t.stopPropagation(),e.$emit("open-file","download")}}},[e._t("document-icon",[n("svg-icon",{attrs:{name:"document"}})])],2)]):e._e()])],1),n("format-message",{attrs:{content:e.message.content,users:e.roomUsers,"text-formatting":e.textFormatting,"link-options":e.linkOptions},on:{"open-user-tag":function(t){return e.$emit("open-user-tag")}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],1)},Lt=[],It=n("bd43"),Pt=It.isImageFile,Nt={name:"MessageImage",components:{SvgIcon:K,Loader:B,FormatMessage:ve},props:{currentUserId:{type:[String,Number],required:!0},message:{type:Object,required:!0},roomUsers:{type:Array,required:!0},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0},imageHover:{type:Boolean,required:!0}},data:function(){return{imageLoading:!1,imageResponsive:""}},computed:{isImageLoading:function(){return-1!==this.message.file.url.indexOf("blob:http")||this.imageLoading},imageBackground:function(){return this.isImageLoading&&this.message.file.preview||this.message.file.url}},watch:{message:{immediate:!0,handler:function(){this.checkImgLoad()}}},mounted:function(){this.imageResponsive={maxHeight:this.$refs.imageRef.clientWidth-18,loaderTop:this.$refs.imageRef.clientWidth/2}},methods:{checkImgLoad:function(){var e=this;if(Pt(this.message.file)){this.imageLoading=!0;var t=new Image;t.src=this.message.file.url,t.addEventListener("load",(function(){return e.imageLoading=!1}))}}}},Ut=Nt,Ft=(n("c48f"),S(Ut,Ct,Lt,!1,null,null,null)),$t=Ft.exports,Bt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-message-actions-wrapper"},[n("div",{staticClass:"vac-options-container",class:{"vac-options-image":e.isImage&&!e.message.replyMessage},style:{display:e.hoverAudioProgress?"none":"initial",width:e.filteredMessageActions.length&&e.showReactionEmojis?"70px":"45px"}},[n("transition-group",{attrs:{name:"vac-slide-left"}},[e.isMessageActions||e.isMessageReactions?n("div",{key:"1",staticClass:"vac-blur-container",class:{"vac-options-me":e.message.senderId===e.currentUserId}}):e._e(),e.isMessageActions?n("div",{key:"2",ref:"actionIcon",staticClass:"vac-svg-button vac-message-options",on:{click:e.openOptions}},[e._t("dropdown-icon",[n("svg-icon",{attrs:{name:"dropdown",param:"message"}})])],2):e._e(),e.isMessageReactions?n("emoji-picker",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeEmoji,expression:"closeEmoji"}],key:"3",staticClass:"vac-message-emojis",style:{right:e.isMessageActions?"30px":"5px"},attrs:{"emoji-opened":e.emojiOpened,"emoji-reaction":!0,"room-footer-ref":e.roomFooterRef,"position-right":e.message.senderId===e.currentUserId},on:{"add-emoji":e.sendMessageReaction,"open-emoji":e.openEmoji},scopedSlots:e._u([{key:"emoji-picker-icon",fn:function(){return[e._t("emoji-picker-reaction-icon")]},proxy:!0}],null,!0)}):e._e()],1)],1),e.filteredMessageActions.length?n("transition",{attrs:{name:e.message.senderId===e.currentUserId?"vac-slide-left":"vac-slide-right"}},[e.optionsOpened?n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeOptions,expression:"closeOptions"}],ref:"menuOptions",staticClass:"vac-menu-options",class:{"vac-menu-left":e.message.senderId!==e.currentUserId},style:{top:e.menuOptionsTop+"px"}},[n("div",{staticClass:"vac-menu-list"},e._l(e.filteredMessageActions,(function(t){return n("div",{key:t.name},[n("div",{staticClass:"vac-menu-item",on:{click:function(n){return e.messageActionHandler(t)}}},[e._v(" "+e._s(t.title)+" ")])])})),0)]):e._e()]):e._e()],1)},qt=[],Dt=n("bd43"),zt=Dt.isImageFile,Ht={name:"MessageActions",components:{SvgIcon:K,EmojiPicker:We},directives:{clickOutside:ne.a.directive},props:{currentUserId:{type:[String,Number],required:!0},message:{type:Object,required:!0},messageActions:{type:Array,required:!0},roomFooterRef:{default:null},showReactionEmojis:{type:Boolean,required:!0},hideOptions:{type:Boolean,required:!0},messageHover:{type:Boolean,required:!0},hoverMessageId:{type:[String,Number],default:null},hoverAudioProgress:{type:Boolean,required:!0}},data:function(){return{menuOptionsTop:0,optionsOpened:!1,optionsClosing:!1,emojiOpened:!1}},computed:{isImage:function(){return zt(this.message.file)},isMessageActions:function(){return this.filteredMessageActions.length&&this.messageHover&&!this.message.deleted&&!this.message.disableActions&&!this.hoverAudioProgress},isMessageReactions:function(){return this.showReactionEmojis&&this.messageHover&&!this.message.deleted&&!this.message.disableReactions&&!this.hoverAudioProgress},filteredMessageActions:function(){return this.message.senderId===this.currentUserId?this.messageActions:this.messageActions.filter((function(e){return!e.onlyMe}))}},watch:{emojiOpened:function(e){this.$emit("update-emoji-opened",e),e&&(this.optionsOpened=!1)},hideOptions:function(e){e&&(this.closeEmoji(),this.closeOptions())},optionsOpened:function(e){this.$emit("update-options-opened",e)}},methods:{openOptions:function(){var e=this;this.optionsClosing||(this.optionsOpened=!this.optionsOpened,this.optionsOpened&&(this.$emit("hide-options",!1),setTimeout((function(){if(e.roomFooterRef&&e.$refs.menuOptions&&e.$refs.actionIcon){var t=e.$refs.menuOptions.getBoundingClientRect().height,n=e.$refs.actionIcon.getBoundingClientRect().top,r=e.roomFooterRef.getBoundingClientRect().top,o=r-n>t+50;e.menuOptionsTop=o?30:-t}}))))},closeOptions:function(){var e=this;this.optionsOpened=!1,this.optionsClosing=!0,this.updateMessageHover(),setTimeout((function(){return e.optionsClosing=!1}),100)},openEmoji:function(){this.emojiOpened=!this.emojiOpened,this.$emit("hide-options",!1)},closeEmoji:function(){this.emojiOpened=!1,this.updateMessageHover()},updateMessageHover:function(){this.hoverMessageId!==this.message._id&&this.$emit("update-message-hover",!1)},messageActionHandler:function(e){this.closeOptions(),this.$emit("message-action-handler",e)},sendMessageReaction:function(e,t){this.$emit("send-message-reaction",{emoji:e,reaction:t}),this.closeEmoji()}}},Vt=Ht,Yt=(n("7cec"),S(Vt,Bt,qt,!1,null,null,null)),Gt=Yt.exports,Kt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.message.deleted?e._e():n("transition-group",{attrs:{name:"vac-slide-left"}},e._l(e.message.reactions,(function(t,r){return n("button",{directives:[{name:"show",rawName:"v-show",value:t.length,expression:"reaction.length"}],key:r+0,staticClass:"vac-button-reaction",class:{"vac-reaction-me":-1!==t.indexOf(e.currentUserId)},style:{float:e.message.senderId===e.currentUserId?"right":"left"},on:{click:function(n){return e.sendMessageReaction({name:r},t)}}},[e._v(" "+e._s(e.getEmojiByName(r))),n("span",[e._v(e._s(t.length))])])})),0)},Wt=[],Zt={name:"MessageReactions",props:{currentUserId:{type:[String,Number],required:!0},message:{type:Object,required:!0},emojisList:{type:Object,required:!0}},methods:{getEmojiByName:function(e){return this.emojisList[e]},sendMessageReaction:function(e,t){this.$emit("send-message-reaction",{emoji:e,reaction:t})}}},Xt=Zt,Jt=(n("e498"),S(Xt,Kt,Wt,!1,null,null,null)),Qt=Jt.exports,en=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"vac-audio-player"},[n("div",{staticClass:"vac-svg-button",on:{click:e.playback}},[e.isPlaying?e._t("audio-pause-icon",[n("svg-icon",{attrs:{name:"audio-pause"}})]):e._t("audio-play-icon",[n("svg-icon",{attrs:{name:"audio-play"}})])],2),n("audio-control",{attrs:{percentage:e.progress},on:{"change-linehead":e.onUpdateProgress,"hover-audio-progress":function(t){return e.$emit("hover-audio-progress",t)}}}),n("audio",{attrs:{id:e.playerUniqId,src:e.audioSource}})],1)])},tn=[],nn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"progress",staticClass:"vac-player-bar",on:{mousedown:e.onMouseDown,mouseover:function(t){return e.$emit("hover-audio-progress",!0)},mouseout:function(t){return e.$emit("hover-audio-progress",!1)}}},[n("div",{staticClass:"vac-player-progress"},[n("div",{staticClass:"vac-line-container"},[n("div",{staticClass:"vac-line-progress",style:{width:e.percentage+"%"}}),n("div",{staticClass:"vac-line-dot",class:{"vac-line-dot__active":e.isMouseDown},style:{left:e.percentage+"%"}})])])])},rn=[],on={props:{percentage:{type:Number,default:0}},data:function(){return{isMouseDown:!1}},methods:{onMouseDown:function(e){this.isMouseDown=!0;var t=this.calculateLineHeadPosition(e,this.$refs["progress"]);this.$emit("change-linehead",t),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp)},onMouseUp:function(e){this.isMouseDown=!1,document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("mousemove",this.onMouseMove);var t=this.calculateLineHeadPosition(e,this.$refs["progress"]);this.$emit("change-linehead",t)},onMouseMove:function(e){var t=this.calculateLineHeadPosition(e,this.$refs["progress"]);this.$emit("change-linehead",t)},calculateLineHeadPosition:function(e,t){var n=t.getBoundingClientRect().width,r=t.getBoundingClientRect().left,o=(e.clientX-r)/n;return o=o<0?0:o,o=o>1?1:o,o}}},an=on,sn=(n("589c"),S(an,nn,rn,!1,null,null,null)),cn=sn.exports,ln={name:"AudioPlayer",components:{SvgIcon:K,AudioControl:cn},props:{src:{type:String,default:null}},data:function(){return{isPlaying:!1,duration:this.convertTimeMMSS(0),playedTime:this.convertTimeMMSS(0),progress:0}},computed:{playerUniqId:function(){return"audio-player".concat(this._uid)},audioSource:function(){return this.src?this.src:(this.resetProgress(),null)}},mounted:function(){var e=this;this.player=document.getElementById(this.playerUniqId),this.player.addEventListener("ended",(function(){e.isPlaying=!1})),this.player.addEventListener("loadeddata",(function(){e.resetProgress(),e.duration=e.convertTimeMMSS(e.player.duration),e.updateProgressTime()})),this.player.addEventListener("timeupdate",this.onTimeUpdate)},methods:{convertTimeMMSS:function(e){return new Date(1e3*e).toISOString().substr(14,5)},playback:function(){var e=this;this.audioSource&&(this.isPlaying?this.player.pause():setTimeout((function(){return e.player.play()})),this.isPlaying=!this.isPlaying)},resetProgress:function(){this.isPlaying&&this.player.pause(),this.duration=this.convertTimeMMSS(0),this.playedTime=this.convertTimeMMSS(0),this.progress=0,this.isPlaying=!1,this.updateProgressTime()},onTimeUpdate:function(){this.playedTime=this.convertTimeMMSS(this.player.currentTime),this.progress=this.player.currentTime/this.player.duration*100,this.updateProgressTime()},onUpdateProgress:function(e){e&&(this.player.currentTime=e*this.player.duration)},updateProgressTime:function(){this.$emit("update-progress-time",this.progress>1?this.playedTime:this.duration)}}},un=ln,dn=(n("f43c"),S(un,en,tn,!1,null,null,null)),fn=dn.exports,pn=n("4c1d"),hn=pn.messagesValidation,mn=n("bd43"),gn=mn.isImageFile,vn=mn.isVideoFile,bn=mn.isAudioFile,yn={name:"Message",components:{SvgIcon:K,FormatMessage:ve,AudioPlayer:fn,MessageReply:Tt,MessageImage:$t,MessageActions:Gt,MessageReactions:Qt},props:{currentUserId:{type:[String,Number],required:!0},textMessages:{type:Object,required:!0},index:{type:Number,required:!0},message:{type:Object,required:!0},messages:{type:Array,required:!0},editedMessage:{type:Object,required:!0},roomUsers:{type:Array,default:function(){return[]}},messageActions:{type:Array,required:!0},roomFooterRef:{default:null},newMessages:{type:Array,default:function(){return[]}},showReactionEmojis:{type:Boolean,required:!0},showNewMessagesDivider:{type:Boolean,required:!0},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0},emojisList:{type:Object,required:!0},hideOptions:{type:Boolean,required:!0}},data:function(){return{hoverMessageId:null,imageHover:!1,messageHover:!1,optionsOpened:!1,emojiOpened:!1,newMessage:{},progressTime:"- : -",hoverAudioProgress:!1}},computed:{showDate:function(){return this.index>0&&this.message.date!==this.messages[this.index-1].date},messageOffset:function(){return this.index>0&&this.message.senderId!==this.messages[this.index-1].senderId},isMessageHover:function(){return this.editedMessage._id===this.message._id||this.hoverMessageId===this.message._id},isImage:function(){return gn(this.message.file)},isVideo:function(){return vn(this.message.file)},isAudio:function(){return bn(this.message.file)},isCheckmarkVisible:function(){return this.message.senderId===this.currentUserId&&!this.message.deleted&&(this.message.saved||this.message.distributed||this.message.seen)}},watch:{newMessages:{immediate:!0,handler:function(e){if(!e.length||!this.showNewMessagesDivider)return this.newMessage={};this.newMessage=e.reduce((function(e,t){return t.index<e.index?t:e}))}}},mounted:function(){hn(this.message),this.$emit("message-added",{message:this.message,index:this.index,ref:this.$refs[this.message._id]})},methods:{onHoverMessage:function(){this.imageHover=!0,this.messageHover=!0,this.canEditMessage()&&(this.hoverMessageId=this.message._id)},canEditMessage:function(){return!this.message.deleted},onLeaveMessage:function(){this.imageHover=!1,this.optionsOpened||this.emojiOpened||(this.messageHover=!1),this.hoverMessageId=null},openFile:function(e){this.$emit("open-file",{message:this.message,action:e})},openUserTag:function(e){this.$emit("open-user-tag",{user:e})},messageActionHandler:function(e){var t=this;this.messageHover=!1,this.hoverMessageId=null,setTimeout((function(){t.$emit("message-action-handler",{action:e,message:t.message})}),300)},sendMessageReaction:function(e){var t=e.emoji,n=e.reaction;this.$emit("send-message-reaction",{messageId:this.message._id,reaction:t,remove:n&&-1!==n.indexOf(this.currentUserId)}),this.messageHover=!1}}},xn=yn,wn=(n("2a92"),S(xn,_t,kt,!1,null,null,null)),_n=wn.exports;n("c0b6"),n("b680"),n("acd8");function kn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sn(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 An(e,t,n){return t&&Sn(e.prototype,t),n&&Sn(e,n),e}var En;n("ace4"),n("6eba"),n("cfc3"),n("fd87"),n("8b09"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7");try{En=n("db18")}catch(Jn){En={missing:!0}}var Mn=En,On=Mn.Mp3Encoder,Rn=function(){function e(t){if(kn(this,e),En.missing)throw new Error('You must add lamejs in your dependencies to use the audio recorder. Please run "npm install lamejs --save"');this.bitRate=t.bitRate,this.sampleRate=t.sampleRate,this.dataBuffer=[],this.encoder=new On(1,this.sampleRate,this.bitRate)}return An(e,[{key:"encode",value:function(e){for(var t=1152,n=this._convertBuffer(e),r=n.length,o=0;r>=0;o+=t){var a=n.subarray(o,o+t),i=this.encoder.encodeBuffer(a);this.dataBuffer.push(new Int8Array(i)),r-=t}}},{key:"finish",value:function(){this.dataBuffer.push(this.encoder.flush());var e=new Blob(this.dataBuffer,{type:"audio/mp3"});return this.dataBuffer=[],{id:Date.now(),blob:e,url:URL.createObjectURL(e)}}},{key:"_floatTo16BitPCM",value:function(e,t){for(var n=0;n<e.length;n++){var r=Math.max(-1,Math.min(1,e[n]));t[n]=r<0?32768*r:32767*r}}},{key:"_convertBuffer",value:function(e){var t=new Float32Array(e),n=new Int16Array(e.length);return this._floatTo16BitPCM(t,n),n}}]),e}(),jn=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kn(this,e),this.beforeRecording=t.beforeRecording,this.pauseRecording=t.pauseRecording,this.afterRecording=t.afterRecording,this.micFailed=t.micFailed,this.encoderOptions={bitRate:128,sampleRate:44100},this.bufferSize=4096,this.records=[],this.isPause=!1,this.isRecording=!1,this.duration=0,this.volume=0,this._duration=0}return An(e,[{key:"start",value:function(){var e={video:!1,audio:{channelCount:1,echoCancellation:!1}};this.beforeRecording&&this.beforeRecording("start recording"),navigator.mediaDevices.getUserMedia(e).then(this._micCaptured.bind(this))["catch"](this._micError.bind(this)),this.isPause=!1,this.isRecording=!0,this.lameEncoder||(this.lameEncoder=new Rn(this.encoderOptions))}},{key:"stop",value:function(){this.stream.getTracks().forEach((function(e){return e.stop()})),this.input.disconnect(),this.processor.disconnect(),this.context.close();var e=null;e=this.lameEncoder.finish(),e.duration=this.duration,this.records.push(e),this._duration=0,this.duration=0,this.isPause=!1,this.isRecording=!1,this.afterRecording&&this.afterRecording(e)}},{key:"pause",value:function(){this.stream.getTracks().forEach((function(e){return e.stop()})),this.input.disconnect(),this.processor.disconnect(),this._duration=this.duration,this.isPause=!0,this.pauseRecording&&this.pauseRecording("pause recording")}},{key:"_micCaptured",value:function(e){var t=this;this.context=new(window.AudioContext||window.webkitAudioContext),this.duration=this._duration,this.input=this.context.createMediaStreamSource(e),this.processor=this.context.createScriptProcessor(this.bufferSize,1,1),this.stream=e,this.processor.onaudioprocess=function(e){var n=e.inputBuffer.getChannelData(0),r=0;t.lameEncoder&&t.lameEncoder.encode(n);for(var o=0;o<n.length;++o)r+=n[o]*n[o];t.duration=parseFloat(t._duration)+parseFloat(t.context.currentTime.toFixed(2)),t.volume=Math.sqrt(r/n.length).toFixed(2)},this.input.connect(this.processor),this.processor.connect(this.context.destination)}},{key:"_micError",value:function(e){this.micFailed&&this.micFailed(e)}}]),e}(),Tn=n("1a98"),Cn=Tn.detectMobile,Ln=Tn.iOSDevice,In=n("bd43"),Pn=In.isImageFile,Nn=In.isVideoFile,Un={name:"Room",components:{InfiniteLoading:I.a,Loader:B,SvgIcon:K,EmojiPicker:We,RoomHeader:tt,RoomMessageReply:lt,RoomUsersTag:mt,RoomEmojis:wt,Message:_n},directives:{clickOutside:ne.a.directive},props:{currentUserId:{type:[String,Number],required:!0},textMessages:{type:Object,required:!0},singleRoom:{type:Boolean,required:!0},showRoomsList:{type:Boolean,required:!0},isMobile:{type:Boolean,required:!0},rooms:{type:Array,required:!0},roomId:{type:[String,Number],required:!0},loadFirstRoom:{type:Boolean,required:!0},messages:{type:Array,required:!0},roomMessage:{type:String,default:null},messagesLoaded:{type:Boolean,required:!0},menuActions:{type:Array,required:!0},messageActions:{type:Array,required:!0},showSendIcon:{type:Boolean,required:!0},showFiles:{type:Boolean,required:!0},showAudio:{type:Boolean,required:!0},showEmojis:{type:Boolean,required:!0},showReactionEmojis:{type:Boolean,required:!0},showNewMessagesDivider:{type:Boolean,required:!0},showFooter:{type:Boolean,required:!0},acceptedFiles:{type:String,required:!0},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0},loadingRooms:{type:Boolean,required:!0},roomInfo:{type:Function,default:null},textareaAction:{type:Function,default:null}},data:function(){return{message:"",editedMessage:{},messageReply:null,infiniteState:null,loadingMessages:!1,loadingMoreMessages:!1,file:null,imageFile:null,videoFile:null,mediaDimensions:null,fileDialog:!1,emojiOpened:!1,hideOptions:!0,scrollIcon:!1,scrollMessagesCount:0,newMessages:[],keepKeyboardOpen:!1,filteredEmojis:[],filteredUsersTag:[],selectedUsersTag:[],textareaCursorPosition:null,cursorRangePosition:null,recorder:this.initRecorder(),isRecording:!1,format:"mp3"}},computed:{emojisList:function(){var e=Object.keys(qe).map((function(e){return qe[e]}));return Object.assign.apply(Object,[{}].concat(Be(e)))},room:function(){var e=this;return this.rooms.find((function(t){return t.roomId===e.roomId}))||{}},showNoMessages:function(){return this.room.roomId&&!this.messages.length&&!this.loadingMessages&&!this.loadingRooms},showNoRoom:function(){var e=!this.rooms.length&&!this.loadingRooms||!this.room.roomId&&!this.loadFirstRoom;return e&&(this.loadingMessages=!1),e},showMessagesStarted:function(){return this.messages.length&&this.messagesLoaded},isMessageEmpty:function(){return!this.file&&!this.message.trim()},recordedTime:function(){return new Date(1e3*this.recorder.duration).toISOString().substr(14,5)}},watch:{loadingMessages:function(e){e?this.infiniteState=null:(this.infiniteState&&this.infiniteState.loaded(),this.focusTextarea(!0))},room:{immediate:!0,handler:function(e,t){!e.roomId||t&&e.roomId===t.roomId||this.onRoomChanged()}},roomMessage:{immediate:!0,handler:function(e){e&&(this.message=this.roomMessage)}},messages:function(e,t){var n=this;e.forEach((function(e,t){n.showNewMessagesDivider&&!e.seen&&e.senderId!==n.currentUserId&&n.newMessages.push({_id:e._id,index:t})})),(null===t||void 0===t?void 0:t.length)===(null===e||void 0===e?void 0:e.length)-1&&(this.newMessages=[]),this.infiniteState&&this.infiniteState.loaded(),setTimeout((function(){return n.loadingMoreMessages=!1}))},messagesLoaded:function(e){e&&(this.loadingMessages=!1),this.infiniteState&&this.infiniteState.complete()}},mounted:function(){var e=this;if(this.newMessages=[],this.$refs["roomTextarea"]){var t=Cn();window.addEventListener("keyup",(function(n){"Enter"!==n.key||n.shiftKey||e.fileDialog||(t?(e.message=e.message+"\n",setTimeout((function(){return e.onChangeInput()}))):e.sendMessage()),e.updateFooterList("@"),e.updateFooterList(":")})),this.$refs["roomTextarea"].addEventListener("click",(function(){t&&(e.keepKeyboardOpen=!0),e.updateFooterList("@"),e.updateFooterList(":")})),this.$refs["roomTextarea"].addEventListener("blur",(function(){e.resetFooterList(),t&&setTimeout((function(){return e.keepKeyboardOpen=!1}))}))}},beforeDestroy:function(){this.stopRecorder()},methods:{onRoomChanged:function(){var e=this;this.loadingMessages=!0,this.scrollIcon=!1,this.scrollMessagesCount=0,this.resetMessage(!0,null,!0),this.roomMessage&&(this.message=this.roomMessage,setTimeout((function(){return e.onChangeInput()}))),!this.messages.length&&this.messagesLoaded&&(this.loadingMessages=!1);var t=this.$watch((function(){return e.messages}),(function(n){if(n&&n.length){var r=e.$refs.scrollContainer;r&&(t(),setTimeout((function(){r.scrollTo({top:r.scrollHeight}),e.loadingMessages=!1})))}}))},onMessageAdded:function(e){var t=this,n=e.message,r=e.index,o=e.ref;if(r===this.messages.length-1){var a=o.offsetHeight+60;setTimeout((function(){t.getBottomScroll(t.$refs.scrollContainer)<a||n.senderId===t.currentUserId?t.scrollToBottom():(t.scrollIcon=!0,t.scrollMessagesCount++)}))}},onContainerScroll:function(e){if(this.hideOptions=!0,e.target){var t=this.getBottomScroll(e.target);t<60&&(this.scrollMessagesCount=0),this.scrollIcon=t>500||this.scrollMessagesCount}},updateFooterList:function(e){if(this.$refs["roomTextarea"]&&("@"!==e||this.room.users&&!(this.room.users.length<=2))&&this.textareaCursorPosition!==this.$refs["roomTextarea"].selectionStart){this.textareaCursorPosition=this.$refs["roomTextarea"].selectionStart;var t=this.textareaCursorPosition;while(t>0&&this.message.charAt(t-1)!==e&&" "!==this.message.charAt(t-1))t--;var n=this.message.charAt(t-2),r=!n.match(/^[0-9a-zA-Z]+$/);if(this.message.charAt(t-1)!==e||n&&" "!==n&&!r)this.resetFooterList();else{var o=this.message.substring(t,this.textareaCursorPosition);":"===e?this.updateEmojis(o):"@"===e&&this.updateShowUsersTag(o)}}},getCharPosition:function(e){if(this.$refs["roomTextarea"]){var t=this.$refs["roomTextarea"].selectionStart,n=t;while(n>0&&this.message.charAt(n-1)!==e)n--;var r=n;while(this.message.charAt(r)&&this.message.charAt(r).trim())r++;return{position:n,endPosition:r}}},updateEmojis:function(e){var t=this;if(e){var n=Object.keys(this.emojisList),r=n.filter((function(t){return t.startsWith(e)}));this.filteredEmojis=r.map((function(e){return t.emojisList[e]}))}},selectEmoji:function(e){var t=this.getCharPosition(":"),n=t.position,r=t.endPosition;this.message=this.message.substr(0,n-1)+e+this.message.substr(r,this.message.length-1),this.cursorRangePosition=n,this.focusTextarea()},updateShowUsersTag:function(e){var t=this;this.filteredUsersTag=Ae(this.room.users,"username",e,!0).filter((function(e){return e._id!==t.currentUserId}))},selectUserTag:function(e){var t=this.getCharPosition("@"),n=t.position,r=t.endPosition,o=this.message.substr(r,r).length?"":" ";this.message=this.message.substr(0,n)+e.username+o+this.message.substr(r,this.message.length-1),this.selectedUsersTag=[].concat(Be(this.selectedUsersTag),[R({},e)]),this.cursorRangePosition=n+e.username.length+o.length+1,this.focusTextarea()},resetFooterList:function(){this.filteredEmojis=[],this.filteredUsersTag=[],this.textareaCursorPosition=null},onMediaLoad:function(){var e=this.$refs.mediaFile.clientHeight;e<30&&(e=30),this.mediaDimensions={height:this.$refs.mediaFile.clientHeight-10,width:this.$refs.mediaFile.clientWidth+26}},escapeTextarea:function(){this.filteredEmojis.length?this.filteredEmojis=[]:this.filteredUsersTag.length?this.filteredUsersTag=[]:this.resetMessage()},resetMessage:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(r||this.$emit("typing-message",null),n)return this.file=null,this.message="",this.preventKeyboardFromClosing(),void setTimeout((function(){return e.focusTextarea(t)}));this.selectedUsersTag=[],this.resetFooterList(),this.resetTextareaSize(),this.message="",this.editedMessage={},this.messageReply=null,this.file=null,this.mediaDimensions=null,this.imageFile=null,this.videoFile=null,this.emojiOpened=!1,this.preventKeyboardFromClosing(),setTimeout((function(){return e.focusTextarea(t)}))},resetMediaFile:function(){this.mediaDimensions=null,this.imageFile=null,this.videoFile=null,this.editedMessage.file=null,this.file=null,this.focusTextarea()},resetTextareaSize:function(){this.$refs["roomTextarea"]&&(this.$refs["roomTextarea"].style.height="20px")},focusTextarea:function(e){var t=this;Cn()&&e||this.$refs["roomTextarea"]&&(this.$refs["roomTextarea"].focus(),this.cursorRangePosition&&setTimeout((function(){t.$refs["roomTextarea"].setSelectionRange(t.cursorRangePosition,t.cursorRangePosition),t.cursorRangePosition=null})))},preventKeyboardFromClosing:function(){this.$refs["roomTextarea"]&&this.keepKeyboardOpen&&this.$refs["roomTextarea"].focus()},sendMessage:function(){var e=this.message.trim();(this.file||e)&&(this.selectedUsersTag.forEach((function(t){e=e.replace("@".concat(t.username),"<usertag>".concat(t._id,"</usertag>"))})),this.editedMessage._id?(this.editedMessage.content!==e||this.file)&&this.$emit("edit-message",{messageId:this.editedMessage._id,newContent:e,file:this.file,replyMessage:this.messageReply,usersTag:this.selectedUsersTag}):this.$emit("send-message",{content:e,file:this.file,replyMessage:this.messageReply,usersTag:this.selectedUsersTag}),this.resetMessage(!0))},loadMoreMessages:function(e){var t=this;this.loadingMessages?this.infiniteState=e:setTimeout((function(){if(!t.loadingMoreMessages){if(t.messagesLoaded||!t.room.roomId)return e.complete();t.infiniteState=e,t.$emit("fetch-messages"),t.loadingMoreMessages=!0}}),Ln()?500:0)},messageActionHandler:function(e){var t=e.action,n=e.message;switch(t.name){case"replyMessage":return this.replyMessage(n);case"editMessage":return this.editMessage(n);case"deleteMessage":return this.$emit("delete-message",n);default:return this.$emit("message-action-handler",{action:t,message:n})}},sendMessageReaction:function(e){this.$emit("send-message-reaction",e)},replyMessage:function(e){this.messageReply=e,this.focusTextarea()},editMessage:function(e){var t=this;this.resetMessage(),this.editedMessage=R({},e),this.file=e.file,Pn(this.file)?(this.imageFile=e.file.url,setTimeout((function(){return t.onMediaLoad()}))):Nn(this.file)&&(this.videoFile=e.file.url,setTimeout((function(){return t.onMediaLoad()}),50)),this.message=e.content},getBottomScroll:function(e){var t=e.scrollHeight,n=e.clientHeight,r=e.scrollTop;return t-n-r},scrollToBottom:function(){var e=this;setTimeout((function(){var t=e.$refs.scrollContainer;t.classList.add("vac-scroll-smooth"),t.scrollTo({top:t.scrollHeight,behavior:"smooth"}),setTimeout((function(){return t.classList.remove("vac-scroll-smooth")}))}),50)},onChangeInput:function(){this.keepKeyboardOpen=!0,this.resizeTextarea(),this.$emit("typing-message",this.message)},resizeTextarea:function(){if(this.$refs["roomTextarea"]){var e=this.$refs["roomTextarea"];if(e){var t=window.getComputedStyle(e,null).getPropertyValue("padding-top").replace("px","");e.style.height=0,e.style.height=e.scrollHeight-2*t+"px"}}},addEmoji:function(e){this.message+=e.icon,this.focusTextarea(!0)},launchFilePicker:function(){this.$refs.file.value="",this.$refs.file.click()},onFileChange:function(e){var t=this;return Ie(regeneratorRuntime.mark((function n(){var r,o,a,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.fileDialog=!0,t.resetMediaFile(),r=e[0],o=URL.createObjectURL(r),n.next=6,fetch(o).then((function(e){return e.blob()}));case 6:a=n.sent,i=r.name.lastIndexOf("."),t.file={blob:a,name:r.name.substring(0,i),size:r.size,type:r.type,extension:r.name.substring(i+1),localUrl:o},Pn(t.file)?t.imageFile=o:Nn(t.file)?(t.videoFile=o,setTimeout((function(){return t.onMediaLoad()}),50)):t.message=r.name,setTimeout((function(){return t.fileDialog=!1}),500);case 11:case"end":return n.stop()}}),n)})))()},initRecorder:function(){return this.isRecording=!1,new jn({beforeRecording:null,afterRecording:null,pauseRecording:null,micFailed:this.micFailed})},micFailed:function(){this.isRecording=!1,this.recorder=this.initRecorder()},toggleRecorder:function(e){var t=this;if(this.isRecording=e,this.recorder.isRecording)try{this.recorder.stop();var n=this.recorder.records[0];this.file={blob:n.blob,name:"audio.".concat(this.format),size:n.blob.size,duration:n.duration,type:n.blob.type,audio:!0,localUrl:URL.createObjectURL(n.blob)},this.recorder=this.initRecorder(),this.sendMessage()}catch(r){setTimeout((function(){return t.stopRecorder()}),100)}else setTimeout((function(){return t.recorder.start()}),200)},stopRecorder:function(){var e=this;if(this.recorder.isRecording)try{this.recorder.stop(),this.recorder=this.initRecorder()}catch(t){setTimeout((function(){return e.stopRecorder()}),100)}},openFile:function(e){var t=e.message,n=e.action;this.$emit("open-file",{message:t,action:n})},openUserTag:function(e){this.$emit("open-user-tag",e)},textareaActionHandler:function(){this.$emit("textarea-action-handler",this.message)}}},Fn=Un,$n=(n("a6d4"),S(Fn,Te,Ce,!1,null,null,null)),Bn=$n.exports,qn={ROOMS_EMPTY:"No rooms",ROOM_EMPTY:"No room selected",NEW_MESSAGES:"New Messages",MESSAGE_DELETED:"This message was deleted",MESSAGES_EMPTY:"No messages",CONVERSATION_STARTED:"Conversation started on:",TYPE_MESSAGE:"Type message",SEARCH:"Search",IS_ONLINE:"is online",LAST_SEEN:"last seen ",IS_TYPING:"is writing..."},Dn=(n("841c"),{light:{general:{color:"#0a0a0a",backgroundInput:"#fff",colorPlaceholder:"#9ca6af",colorCaret:"#1976d2",colorSpinner:"#333",borderStyle:"1px solid #e1e4e8",backgroundScrollIcon:"#fff"},container:{border:"none",borderRadius:"4px",boxShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)"},header:{background:"#fff",colorRoomName:"#0a0a0a",colorRoomInfo:"#9ca6af"},footer:{background:"#f8f9fa",borderStyleInput:"1px solid #e1e4e8",borderInputSelected:"#1976d2",backgroundReply:"#e5e5e6",backgroundTagActive:"#e5e5e6"},content:{background:"#f8f9fa"},sidemenu:{background:"#fff",backgroundHover:"#f6f6f6",backgroundActive:"#e5effa",colorActive:"#1976d2",borderColorSearch:"#e1e5e8"},dropdown:{background:"#fff",backgroundHover:"#f6f6f6"},message:{background:"#fff",backgroundMe:"#ccf2cf",color:"#0a0a0a",colorStarted:"#9ca6af",backgroundDeleted:"#dadfe2",colorDeleted:"#757e85",colorUsername:"#9ca6af",colorTimestamp:"#828c94",backgroundDate:"#e5effa",colorDate:"#505a62",backgroundSystem:"#e5effa",colorSystem:"#505a62",backgroundMedia:"rgba(0, 0, 0, 0.15)",backgroundReply:"rgba(0, 0, 0, 0.08)",colorReplyUsername:"#0a0a0a",colorReply:"#6e6e6e",colorTag:"#0d579c",backgroundImage:"#ddd",colorNewMessages:"#1976d2",backgroundScrollCounter:"#0696c7",colorScrollCounter:"#fff",backgroundReaction:"#eee",borderStyleReaction:"1px solid #eee",backgroundReactionHover:"#fff",borderStyleReactionHover:"1px solid #ddd",colorReactionCounter:"#0a0a0a",backgroundReactionMe:"#cfecf5",borderStyleReactionMe:"1px solid #3b98b8",backgroundReactionHoverMe:"#cfecf5",borderStyleReactionHoverMe:"1px solid #3b98b8",colorReactionCounterMe:"#0b59b3",backgroundAudioRecord:"#eb4034",backgroundAudioLine:"rgba(0, 0, 0, 0.15)",backgroundAudioProgress:"#455247",backgroundAudioProgressSelector:"#455247"},markdown:{background:"rgba(239, 239, 239, 0.7)",border:"rgba(212, 212, 212, 0.9)",color:"#e01e5a",colorMulti:"#0a0a0a"},room:{colorUsername:"#0a0a0a",colorMessage:"#67717a",colorTimestamp:"#a2aeb8",colorStateOnline:"#4caf50",colorStateOffline:"#9ca6af",backgroundCounterBadge:"#0696c7",colorCounterBadge:"#fff"},emoji:{background:"#fff"},icons:{search:"#9ca6af",add:"#1976d2",toggle:"#0a0a0a",menu:"#0a0a0a",close:"#9ca6af",closeImage:"#fff",file:"#1976d2",paperclip:"#1976d2",closeOutline:"#000",send:"#1976d2",sendDisabled:"#9ca6af",emoji:"#1976d2",emojiReaction:"rgba(0, 0, 0, 0.3)",document:"#1976d2",pencil:"#9e9e9e",checkmark:"#9e9e9e",checkmarkSeen:"#0696c7",eye:"#fff",dropdownMessage:"#fff",dropdownMessageBackground:"rgba(0, 0, 0, 0.25)",dropdownRoom:"#9e9e9e",dropdownScroll:"#0a0a0a",microphone:"#1976d2",audioPlay:"#455247",audioPause:"#455247",audioCancel:"#eb4034",audioConfirm:"#1ba65b"}},dark:{general:{color:"#fff",backgroundInput:"#202223",colorPlaceholder:"#596269",colorCaret:"#fff",colorSpinner:"#fff",borderStyle:"none",backgroundScrollIcon:"#fff"},container:{border:"none",borderRadius:"4px",boxShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)"},header:{background:"#181a1b",colorRoomName:"#fff",colorRoomInfo:"#9ca6af"},footer:{background:"#131415",borderStyleInput:"none",borderInputSelected:"#1976d2",backgroundReply:"#1b1c1c",backgroundTagActive:"#1b1c1c"},content:{background:"#131415"},sidemenu:{background:"#181a1b",backgroundHover:"#202224",backgroundActive:"#151617",colorActive:"#fff",borderColorSearch:"#181a1b"},dropdown:{background:"#2a2c33",backgroundHover:"#26282e"},message:{background:"#22242a",backgroundMe:"#1f7e80",color:"#fff",colorStarted:"#9ca6af",backgroundDeleted:"#1b1c21",colorDeleted:"#a2a5a8",colorUsername:"#b3bac9",colorTimestamp:"#ebedf2",backgroundDate:"rgba(0, 0, 0, 0.3)",colorDate:"#bec5cc",backgroundSystem:"rgba(0, 0, 0, 0.3)",colorSystem:"#bec5cc",backgroundMedia:"rgba(0, 0, 0, 0.18)",backgroundReply:"rgba(0, 0, 0, 0.18)",colorReplyUsername:"#fff",colorReply:"#d6d6d6",colorTag:"#f0c60a",backgroundImage:"#ddd",colorNewMessages:"#fff",backgroundScrollCounter:"#1976d2",colorScrollCounter:"#fff",backgroundReaction:"none",borderStyleReaction:"none",backgroundReactionHover:"#202223",borderStyleReactionHover:"none",colorReactionCounter:"#fff",backgroundReactionMe:"#4e9ad1",borderStyleReactionMe:"none",backgroundReactionHoverMe:"#4e9ad1",borderStyleReactionHoverMe:"none",colorReactionCounterMe:"#fff",backgroundAudioRecord:"#eb4034",backgroundAudioLine:"rgba(255, 255, 255, 0.15)",backgroundAudioProgress:"#b7d4d3",backgroundAudioProgressSelector:"#b7d4d3"},markdown:{background:"rgba(239, 239, 239, 0.7)",border:"rgba(212, 212, 212, 0.9)",color:"#e01e5a",colorMulti:"#0a0a0a"},room:{colorUsername:"#fff",colorMessage:"#6c7278",colorTimestamp:"#6c7278",colorStateOnline:"#4caf50",colorStateOffline:"#596269",backgroundCounterBadge:"#1976d2",colorCounterBadge:"#fff"},emoji:{background:"#343740"},icons:{search:"#596269",add:"#fff",toggle:"#fff",menu:"#fff",close:"#9ca6af",closeImage:"#fff",file:"#1976d2",paperclip:"#fff",closeOutline:"#fff",send:"#fff",sendDisabled:"#646a70",emoji:"#fff",emojiReaction:"#fff",document:"#1976d2",pencil:"#ebedf2",checkmark:"#ebedf2",checkmarkSeen:"#f0d90a",eye:"#fff",dropdownMessage:"#fff",dropdownMessageBackground:"rgba(0, 0, 0, 0.25)",dropdownRoom:"#fff",dropdownScroll:"#0a0a0a",microphone:"#fff",audioPlay:"#b7d4d3",audioPause:"#b7d4d3",audioCancel:"#eb4034",audioConfirm:"#1ba65b"}}}),zn=function(e){var t=e.general,n=e.container,r=e.header,o=e.footer,a=e.sidemenu,i=e.content,s=e.dropdown,c=e.message,l=e.markdown,u=e.room,d=e.emoji,f=e.icons;return{"--chat-color":t.color,"--chat-bg-color-input":t.backgroundInput,"--chat-color-spinner":t.colorSpinner,"--chat-color-placeholder":t.colorPlaceholder,"--chat-color-caret":t.colorCaret,"--chat-border-style":t.borderStyle,"--chat-bg-scroll-icon":t.backgroundScrollIcon,"--chat-container-border":n.border,"--chat-container-border-radius":n.borderRadius,"--chat-container-box-shadow":n.boxShadow,"--chat-header-bg-color":r.background,"--chat-header-color-name":r.colorRoomName,"--chat-header-color-info":r.colorRoomInfo,"--chat-footer-bg-color":o.background,"--chat-border-style-input":o.borderStyleInput,"--chat-border-color-input-selected":o.borderInputSelected,"--chat-footer-bg-color-reply":o.backgroundReply,"--chat-footer-bg-color-tag-active":o.backgroundTagActive,"--chat-content-bg-color":i.background,"--chat-sidemenu-bg-color":a.background,"--chat-sidemenu-bg-color-hover":a.backgroundHover,"--chat-sidemenu-bg-color-active":a.backgroundActive,"--chat-sidemenu-color-active":a.colorActive,"--chat-sidemenu-border-color-search":a.borderColorSearch,"--chat-dropdown-bg-color":s.background,"--chat-dropdown-bg-color-hover":s.backgroundHover,"--chat-message-bg-color":c.background,"--chat-message-bg-color-me":c.backgroundMe,"--chat-message-color-started":c.colorStarted,"--chat-message-bg-color-deleted":c.backgroundDeleted,"--chat-message-color-deleted":c.colorDeleted,"--chat-message-color-username":c.colorUsername,"--chat-message-color-timestamp":c.colorTimestamp,"--chat-message-bg-color-date":c.backgroundDate,"--chat-message-color-date":c.colorDate,"--chat-message-bg-color-system":c.backgroundSystem,"--chat-message-color-system":c.colorSystem,"--chat-message-color":c.color,"--chat-message-bg-color-media":c.backgroundMedia,"--chat-message-bg-color-reply":c.backgroundReply,"--chat-message-color-reply-username":c.colorReplyUsername,"--chat-message-color-reply-content":c.colorReply,"--chat-message-color-tag":c.colorTag,"--chat-message-bg-color-image":c.backgroundImage,"--chat-message-color-new-messages":c.colorNewMessages,"--chat-message-bg-color-scroll-counter":c.backgroundScrollCounter,"--chat-message-color-scroll-counter":c.colorScrollCounter,"--chat-message-bg-color-reaction":c.backgroundReaction,"--chat-message-border-style-reaction":c.borderStyleReaction,"--chat-message-bg-color-reaction-hover":c.backgroundReactionHover,"--chat-message-border-style-reaction-hover":c.borderStyleReactionHover,"--chat-message-color-reaction-counter":c.colorReactionCounter,"--chat-message-bg-color-reaction-me":c.backgroundReactionMe,"--chat-message-border-style-reaction-me":c.borderStyleReactionMe,"--chat-message-bg-color-reaction-hover-me":c.backgroundReactionHoverMe,"--chat-message-border-style-reaction-hover-me":c.borderStyleReactionHoverMe,"--chat-message-color-reaction-counter-me":c.colorReactionCounterMe,"--chat-message-bg-color-audio-record":c.backgroundAudioRecord,"--chat-message-bg-color-audio-line":c.backgroundAudioLine,"--chat-message-bg-color-audio-progress":c.backgroundAudioProgress,"--chat-message-bg-color-audio-progress-selector":c.backgroundAudioProgressSelector,"--chat-markdown-bg":l.background,"--chat-markdown-border":l.border,"--chat-markdown-color":l.color,"--chat-markdown-color-multi":l.colorMulti,"--chat-room-color-username":u.colorUsername,"--chat-room-color-message":u.colorMessage,"--chat-room-color-timestamp":u.colorTimestamp,"--chat-room-color-online":u.colorStateOnline,"--chat-room-color-offline":u.colorStateOffline,"--chat-room-bg-color-badge":u.backgroundCounterBadge,"--chat-room-color-badge":u.colorCounterBadge,"--chat-emoji-bg-color":d.background,"--chat-icon-color-search":f.search,"--chat-icon-color-add":f.add,"--chat-icon-color-toggle":f.toggle,"--chat-icon-color-menu":f.menu,"--chat-icon-color-close":f.close,"--chat-icon-color-close-image":f.closeImage,"--chat-icon-color-file":f.file,"--chat-icon-color-paperclip":f.paperclip,"--chat-icon-color-close-outline":f.closeOutline,"--chat-icon-color-send":f.send,"--chat-icon-color-send-disabled":f.sendDisabled,"--chat-icon-color-emoji":f.emoji,"--chat-icon-color-emoji-reaction":f.emojiReaction,"--chat-icon-color-document":f.document,"--chat-icon-color-pencil":f.pencil,"--chat-icon-color-checkmark":f.checkmark,"--chat-icon-color-checkmark-seen":f.checkmarkSeen,"--chat-icon-color-eye":f.eye,"--chat-icon-color-dropdown-message":f.dropdownMessage,"--chat-icon-bg-dropdown-message":f.dropdownMessageBackground,"--chat-icon-color-dropdown-room":f.dropdownRoom,"--chat-icon-color-dropdown-scroll":f.dropdownScroll,"--chat-icon-color-microphone":f.microphone,"--chat-icon-color-audio-play":f.audioPlay,"--chat-icon-color-audio-pause":f.audioPause,"--chat-icon-color-audio-cancel":f.audioCancel,"--chat-icon-color-audio-confirm":f.audioConfirm}},Hn=n("4c1d"),Vn=Hn.roomsValidation,Yn=Hn.partcipantsValidation,Gn={name:"ChatContainer",components:{RoomsList:je,Room:Bn},props:{height:{type:String,default:"600px"},theme:{type:String,default:"light"},styles:{type:Object,default:function(){return{}}},responsiveBreakpoint:{type:Number,default:900},singleRoom:{type:Boolean,default:!1},textMessages:{type:Object,default:null},currentUserId:{type:[String,Number],default:""},rooms:{type:Array,default:function(){return[]}},loadingRooms:{type:Boolean,default:!1},roomsLoaded:{type:Boolean,default:!1},roomId:{type:[String,Number],default:null},loadFirstRoom:{type:Boolean,default:!0},messages:{type:Array,default:function(){return[]}},messagesLoaded:{type:Boolean,default:!1},roomActions:{type:Array,default:function(){return[]}},menuActions:{type:Array,default:function(){return[]}},messageActions:{type:Array,default:function(){return[{name:"replyMessage",title:"Reply"},{name:"editMessage",title:"Edit Message",onlyMe:!0},{name:"deleteMessage",title:"Delete Message",onlyMe:!0}]}},showAddRoom:{type:Boolean,default:!0},showSendIcon:{type:Boolean,default:!0},showFiles:{type:Boolean,default:!0},showAudio:{type:Boolean,default:!0},showEmojis:{type:Boolean,default:!0},showReactionEmojis:{type:Boolean,default:!0},showNewMessagesDivider:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},textFormatting:{type:Boolean,default:!0},linkOptions:{type:Object,default:function(){return{disabled:!1,target:"_blank"}}},newMessage:{type:Object,default:null},roomMessage:{type:String,default:""},acceptedFiles:{type:String,default:"*"}},data:function(){return{room:{},loadingMoreRooms:!1,showRoomsList:!0,isMobile:!1}},computed:{t:function(){return R(R({},qn),this.textMessages)},cssVars:function(){var e=this,t=Dn[this.theme],n={};return Object.keys(t).map((function(r){n[r]=R(R({},t[r]),e.styles[r]||{})})),zn(n)},orderedRooms:function(){return this.rooms.slice().sort((function(e,t){var n=e.index||0,r=t.index||0;return n>r?-1:r>n?1:0}))}},watch:{rooms:{immediate:!0,handler:function(e,t){var n=this;if(e[0]&&e.find((function(e){return e.roomId===n.room.roomId}))||(this.showRoomsList=!0),!this.loadingMoreRooms&&this.loadFirstRoom&&e[0]&&(!t||e.length!==t.length))if(this.roomId){var r=e.find((function(e){return e.roomId===n.roomId}));this.fetchRoom({room:r})}else!this.isMobile||this.singleRoom?this.fetchRoom({room:this.orderedRooms[0]}):this.showRoomsList=!0}},loadingRooms:function(e){e&&(this.room={})},roomId:{immediate:!0,handler:function(e,t){if(e&&!this.loadingRooms&&this.rooms.length){var n=this.rooms.find((function(t){return t.roomId===e}));this.fetchRoom({room:n})}else t&&!e&&(this.room={})}},room:function(e){e&&0!==Object.entries(e).length&&(Vn(e),e.users.forEach((function(e){Yn(e)})))},newMessage:function(e){this.$set(this.messages,e.index,e.message)}},created:function(){var e=this;this.updateResponsive(),window.addEventListener("resize",(function(t){t.isTrusted&&e.updateResponsive()}))},methods:{updateResponsive:function(){this.isMobile=window.innerWidth<this.responsiveBreakpoint},toggleRoomsList:function(){this.showRoomsList=!this.showRoomsList,this.isMobile&&(this.room={}),this.$emit("toggle-rooms-list",{opened:this.showRoomsList})},fetchRoom:function(e){var t=e.room;this.room=t,this.fetchMessages({reset:!0}),this.isMobile&&(this.showRoomsList=!1)},fetchMoreRooms:function(){this.$emit("fetch-more-rooms")},roomInfo:function(){this.$emit("room-info",this.room)},addRoom:function(){this.$emit("add-room")},fetchMessages:function(e){this.$emit("fetch-messages",{room:this.room,options:e})},sendMessage:function(e){this.$emit("send-message",R(R({},e),{},{roomId:this.room.roomId}))},editMessage:function(e){this.$emit("edit-message",R(R({},e),{},{roomId:this.room.roomId}))},deleteMessage:function(e){this.$emit("delete-message",{message:e,roomId:this.room.roomId})},openFile:function(e){var t=e.message,n=e.action;this.$emit("open-file",{message:t,action:n})},openUserTag:function(e){var t=e.user;this.$emit("open-user-tag",{user:t})},menuActionHandler:function(e){this.$emit("menu-action-handler",{action:e,roomId:this.room.roomId})},roomActionHandler:function(e){var t=e.action,n=e.roomId;this.$emit("room-action-handler",{action:t,roomId:n})},messageActionHandler:function(e){this.$emit("message-action-handler",R(R({},e),{},{roomId:this.room.roomId}))},sendMessageReaction:function(e){this.$emit("send-message-reaction",R(R({},e),{},{roomId:this.room.roomId}))},typingMessage:function(e){this.$emit("typing-message",{message:e,roomId:this.room.roomId})},textareaActionHandler:function(e){this.$emit("textarea-action-handler",{message:e,roomId:this.room.roomId})}}},Kn=Gn;function Wn(e){var t=n("a589");t.__inject__&&t.__inject__(e)}var Zn=S(Kn,A,E,!1,Wn,null,null,!0),Xn=Zn.exports;window.customElements.define("vue-advanced-chat",k(s.a,Xn))},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5eed":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-tags-container{position:absolute;display:flex;flex-direction:column;align-items:center;width:100%}.vac-tags-container .vac-tags-box{display:flex;width:100%;height:54px;overflow:hidden;cursor:pointer;background:var(--chat-footer-bg-color)}.vac-tags-container .vac-tags-box:hover{background:var(--chat-footer-bg-color-tag-active)}.vac-tags-container .vac-tags-box:hover,.vac-tags-container .vac-tags-box:not(:hover){transition:background-color .3s cubic-bezier(.25,.8,.5,1)}.vac-tags-container .vac-tags-info{display:flex;overflow:hidden;padding:0 20px;align-items:center}.vac-tags-container .vac-tags-avatar{height:34px;width:34px;min-height:34px;min-width:34px}.vac-tags-container .vac-tags-username{font-size:14px}@media only screen and (max-width:768px){.vac-tags-container .vac-tags-box{height:50px}.vac-tags-container .vac-tags-info{padding:0 12px}}",""]),e.exports=t},"5f96":function(e,t,n){"use strict";var r=n("ebb5"),o=r.aTypedArray,a=r.exportTypedArrayMethod,i=[].join;a("join",(function(e){return i.apply(o(this),arguments)}))},"5fb2":function(e,t,n){"use strict";var r=2147483647,o=36,a=1,i=26,s=38,c=700,l=72,u=128,d="-",f=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,h="Overflow: input needs wider integers to process",m=o-a,g=Math.floor,v=String.fromCharCode,b=function(e){var t=[],n=0,r=e.length;while(n<r){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&o)<<10)+(1023&a)+65536):(t.push(o),n--)}else t.push(o)}return t},y=function(e){return e+22+75*(e<26)},x=function(e,t,n){var r=0;for(e=n?g(e/c):e>>1,e+=g(e/t);e>m*i>>1;r+=o)e=g(e/m);return g(r+(m+1)*e/(e+s))},w=function(e){var t=[];e=b(e);var n,s,c=e.length,f=u,p=0,m=l;for(n=0;n<e.length;n++)s=e[n],s<128&&t.push(v(s));var w=t.length,_=w;w&&t.push(d);while(_<c){var k=r;for(n=0;n<e.length;n++)s=e[n],s>=f&&s<k&&(k=s);var S=_+1;if(k-f>g((r-p)/S))throw RangeError(h);for(p+=(k-f)*S,f=k,n=0;n<e.length;n++){if(s=e[n],s<f&&++p>r)throw RangeError(h);if(s==f){for(var A=p,E=o;;E+=o){var M=E<=m?a:E>=m+i?i:E-m;if(A<M)break;var O=A-M,R=o-M;t.push(v(y(M+O%R))),A=g(O/R)}t.push(v(y(A))),m=x(p,S,_==w),p=0,++_}}++p,++f}return t.join("")};e.exports=function(e){var t,n,r=[],o=e.toLowerCase().replace(p,".").split(".");for(t=0;t<o.length;t++)n=o[t],r.push(f.test(n)?"xn--"+w(n):n);return r.join(".")}},"605d":function(e,t,n){var r=n("c6b6"),o=n("da84");e.exports="process"==r(o.process)},"60bd":function(e,t,n){"use strict";var r=n("da84"),o=n("ebb5"),a=n("e260"),i=n("b622"),s=i("iterator"),c=r.Uint8Array,l=a.values,u=a.keys,d=a.entries,f=o.aTypedArray,p=o.exportTypedArrayMethod,h=c&&c.prototype[s],m=!!h&&("values"==h.name||void 0==h.name),g=function(){return l.call(f(this))};p("entries",(function(){return d.call(f(this))})),p("keys",(function(){return u.call(f(this))})),p("values",g,!m),p(s,g,!m)},"60da":function(e,t,n){"use strict";var r=n("83ab"),o=n("d039"),a=n("df75"),i=n("7418"),s=n("d1e7"),c=n("7b0b"),l=n("44ad"),u=Object.assign,d=Object.defineProperty;e.exports=!u||o((function(){if(r&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||a(u({},t)).join("")!=o}))?function(e,t){var n=c(e),o=arguments.length,u=1,d=i.f,f=s.f;while(o>u){var p,h=l(arguments[u++]),m=d?a(h).concat(d(h)):a(h),g=m.length,v=0;while(g>v)p=m[v++],r&&!f.call(h,p)||(n[p]=h[p])}return n}:u},"621a":function(e,t,n){"use strict";var r=n("da84"),o=n("83ab"),a=n("a981"),i=n("9112"),s=n("e2cc"),c=n("d039"),l=n("19aa"),u=n("a691"),d=n("50c4"),f=n("0b25"),p=n("77a7"),h=n("e163"),m=n("d2bb"),g=n("241c").f,v=n("9bf2").f,b=n("81d5"),y=n("d44e"),x=n("69f3"),w=x.get,_=x.set,k="ArrayBuffer",S="DataView",A="prototype",E="Wrong length",M="Wrong index",O=r[k],R=O,j=r[S],T=j&&j[A],C=Object.prototype,L=r.RangeError,I=p.pack,P=p.unpack,N=function(e){return[255&e]},U=function(e){return[255&e,e>>8&255]},F=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},$=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},B=function(e){return I(e,23,4)},q=function(e){return I(e,52,8)},D=function(e,t){v(e[A],t,{get:function(){return w(this)[t]}})},z=function(e,t,n,r){var o=f(n),a=w(e);if(o+t>a.byteLength)throw L(M);var i=w(a.buffer).bytes,s=o+a.byteOffset,c=i.slice(s,s+t);return r?c:c.reverse()},H=function(e,t,n,r,o,a){var i=f(n),s=w(e);if(i+t>s.byteLength)throw L(M);for(var c=w(s.buffer).bytes,l=i+s.byteOffset,u=r(+o),d=0;d<t;d++)c[l+d]=u[a?d:t-d-1]};if(a){if(!c((function(){O(1)}))||!c((function(){new O(-1)}))||c((function(){return new O,new O(1.5),new O(NaN),O.name!=k}))){R=function(e){return l(this,R),new O(f(e))};for(var V,Y=R[A]=O[A],G=g(O),K=0;G.length>K;)(V=G[K++])in R||i(R,V,O[V]);Y.constructor=R}m&&h(T)!==C&&m(T,C);var W=new j(new R(2)),Z=T.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||s(T,{setInt8:function(e,t){Z.call(this,e,t<<24>>24)},setUint8:function(e,t){Z.call(this,e,t<<24>>24)}},{unsafe:!0})}else R=function(e){l(this,R,k);var t=f(e);_(this,{bytes:b.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},j=function(e,t,n){l(this,j,S),l(e,R,S);var r=w(e).byteLength,a=u(t);if(a<0||a>r)throw L("Wrong offset");if(n=void 0===n?r-a:d(n),a+n>r)throw L(E);_(this,{buffer:e,byteLength:n,byteOffset:a}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=a)},o&&(D(R,"byteLength"),D(j,"buffer"),D(j,"byteLength"),D(j,"byteOffset")),s(j[A],{getInt8:function(e){return z(this,1,e)[0]<<24>>24},getUint8:function(e){return z(this,1,e)[0]},getInt16:function(e){var t=z(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=z(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return $(z(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return $(z(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return P(z(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return P(z(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){H(this,1,e,N,t)},setUint8:function(e,t){H(this,1,e,N,t)},setInt16:function(e,t){H(this,2,e,U,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){H(this,2,e,U,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){H(this,4,e,F,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){H(this,4,e,F,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){H(this,4,e,B,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){H(this,8,e,q,t,arguments.length>2?arguments[2]:void 0)}});y(R,k),y(j,S),e.exports={ArrayBuffer:R,DataView:j}},"649e":function(e,t,n){"use strict";var r=n("ebb5"),o=n("b727").some,a=r.aTypedArray,i=r.exportTypedArrayMethod;i("some",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0)}))},"64e5":function(e,t,n){"use strict";var r=n("d039"),o=n("0ccb").start,a=Math.abs,i=Date.prototype,s=i.getTime,c=i.toISOString;e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=c.call(new Date(-50000000000001))}))||!r((function(){c.call(new Date(NaN))}))?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+o(a(t),r?6:4,0)+"-"+o(e.getUTCMonth()+1,2,0)+"-"+o(e.getUTCDate(),2,0)+"T"+o(e.getUTCHours(),2,0)+":"+o(e.getUTCMinutes(),2,0)+":"+o(e.getUTCSeconds(),2,0)+"."+o(n,3,0)+"Z"}:c},6534:function(e,t,n){var r=n("3afd");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("ef53abf2",r,e)}},6547:function(e,t,n){var r=n("a691"),o=n("1d80"),a=function(e){return function(t,n){var a,i,s=String(o(t)),c=r(n),l=s.length;return c<0||c>=l?e?"":void 0:(a=s.charCodeAt(c),a<55296||a>56319||c+1===l||(i=s.charCodeAt(c+1))<56320||i>57343?e?s.charAt(c):a:e?s.slice(c,c+2):i-56320+(a-55296<<10)+65536)}};e.exports={codeAt:a(!1),charAt:a(!0)}},"65f0":function(e,t,n){var r=n("861d"),o=n("e8b5"),a=n("b622"),i=a("species");e.exports=function(e,t){var n;return o(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?r(n)&&(n=n[i],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"669f":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist-module/",t(t.s=3)}([function(e,t,n){var r=n(4)(n(1),n(5),null,null,null);e.exports=r.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default={props:{search:{type:String,required:!1,default:""},emojiTable:{type:Object,required:!1,default:function(){return o.default}}},data:function(){return{display:{x:0,y:0,visible:!1}}},computed:{emojis:function(){if(this.search){var e={};for(var t in this.emojiTable){for(var n in e[t]={},this.emojiTable[t])new RegExp(".*"+this.search+".*").test(n)&&(e[t][n]=this.emojiTable[t][n]);0===Object.keys(e[t]).length&&delete e[t]}return e}return this.emojiTable}},methods:{insert:function(e){this.$emit("emoji",e)},toggle:function(e){this.display.visible=!this.display.visible,this.display.x=e.clientX,this.display.y=e.clientY},hide:function(){this.display.visible=!1},escape:function(e){!0===this.display.visible&&27===e.keyCode&&(this.display.visible=!1)}},directives:{"click-outside":{bind:function(e,t,n){if("function"==typeof t.value){var r=t.modifiers.bubble,o=function(n){(r||!e.contains(n.target)&&e!==n.target)&&t.value(n)};e.__vueClickOutside__=o,document.addEventListener("click",o)}},unbind:function(e,t){document.removeEventListener("click",e.__vueClickOutside__),e.__vueClickOutside__=null}}},mounted:function(){document.addEventListener("keyup",this.escape)},destroyed:function(){document.removeEventListener("keyup",this.escape)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"Frequently used":{thumbs_up:"👍","-1":"👎",sob:"😭",confused:"😕",neutral_face:"😐",blush:"😊",heart_eyes:"😍"},People:{smile:"😄",smiley:"😃",grinning:"😀",blush:"😊",wink:"😉",heart_eyes:"😍",kissing_heart:"😘",kissing_closed_eyes:"😚",kissing:"😗",kissing_smiling_eyes:"😙",stuck_out_tongue_winking_eye:"😜",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue:"😛",flushed:"😳",grin:"😁",pensive:"😔",relieved:"😌",unamused:"😒",disappointed:"😞",persevere:"😣",cry:"😢",joy:"😂",sob:"😭",sleepy:"😪",disappointed_relieved:"😥",cold_sweat:"😰",sweat_smile:"😅",sweat:"😓",weary:"😩",tired_face:"😫",fearful:"😨",scream:"😱",angry:"😠",rage:"😡",triumph:"😤",confounded:"😖",laughing:"😆",yum:"😋",mask:"😷",sunglasses:"😎",sleeping:"😴",dizzy_face:"😵",astonished:"😲",worried:"😟",frowning:"😦",anguished:"😧",imp:"👿",open_mouth:"😮",grimacing:"😬",neutral_face:"😐",confused:"😕",hushed:"😯",smirk:"😏",expressionless:"😑",man_with_gua_pi_mao:"👲",man_with_turban:"👳",cop:"👮",construction_worker:"👷",guardsman:"💂",baby:"👶",boy:"👦",girl:"👧",man:"👨",woman:"👩",older_man:"👴",older_woman:"👵",person_with_blond_hair:"👱",angel:"👼",princess:"👸",smiley_cat:"😺",smile_cat:"😸",heart_eyes_cat:"😻",kissing_cat:"😽",smirk_cat:"😼",scream_cat:"🙀",crying_cat_face:"😿",joy_cat:"😹",pouting_cat:"😾",japanese_ogre:"👹",japanese_goblin:"👺",see_no_evil:"🙈",hear_no_evil:"🙉",speak_no_evil:"🙊",skull:"💀",alien:"👽",hankey:"💩",fire:"🔥",sparkles:"✨",star2:"🌟",dizzy:"💫",boom:"💥",anger:"💢",sweat_drops:"💦",droplet:"💧",zzz:"💤",dash:"💨",ear:"👂",eyes:"👀",nose:"👃",tongue:"👅",lips:"👄",thumbs_up:"👍","-1":"👎",ok_hand:"👌",facepunch:"👊",fist:"✊",wave:"👋",hand:"✋",open_hands:"👐",point_up_2:"👆",point_down:"👇",point_right:"👉",point_left:"👈",raised_hands:"🙌",pray:"🙏",clap:"👏",muscle:"💪",walking:"🚶",runner:"🏃",dancer:"💃",couple:"👫",family:"👪",couplekiss:"💏",couple_with_heart:"💑",dancers:"👯",ok_woman:"🙆",no_good:"🙅",information_desk_person:"💁",raising_hand:"🙋",massage:"💆",haircut:"💇",nail_care:"💅",bride_with_veil:"👰",person_with_pouting_face:"🙎",person_frowning:"🙍",bow:"🙇",tophat:"🎩",crown:"👑",womans_hat:"👒",athletic_shoe:"👟",mans_shoe:"👞",sandal:"👡",high_heel:"👠",boot:"👢",shirt:"👕",necktie:"👔",womans_clothes:"👚",dress:"👗",running_shirt_with_sash:"🎽",jeans:"👖",kimono:"👘",bikini:"👙",briefcase:"💼",handbag:"👜",pouch:"👝",purse:"👛",eyeglasses:"👓",ribbon:"🎀",closed_umbrella:"🌂",lipstick:"💄",yellow_heart:"💛",blue_heart:"💙",purple_heart:"💜",green_heart:"💚",broken_heart:"💔",heartpulse:"💗",heartbeat:"💓",two_hearts:"💕",sparkling_heart:"💖",revolving_hearts:"💞",cupid:"💘",love_letter:"💌",kiss:"💋",ring:"💍",gem:"💎",bust_in_silhouette:"👤",speech_balloon:"💬",footprints:"👣"},Nature:{dog:"🐶",wolf:"🐺",cat:"🐱",mouse:"🐭",hamster:"🐹",rabbit:"🐰",frog:"🐸",tiger:"🐯",koala:"🐨",bear:"🐻",pig:"🐷",pig_nose:"🐽",cow:"🐮",boar:"🐗",monkey_face:"🐵",monkey:"🐒",horse:"🐴",sheep:"🐑",elephant:"🐘",panda_face:"🐼",penguin:"🐧",bird:"🐦",baby_chick:"🐤",hatched_chick:"🐥",hatching_chick:"🐣",chicken:"🐔",snake:"🐍",turtle:"🐢",bug:"🐛",bee:"🐝",ant:"🐜",beetle:"🐞",snail:"🐌",octopus:"🐙",shell:"🐚",tropical_fish:"🐠",fish:"🐟",dolphin:"🐬",whale:"🐳",racehorse:"🐎",dragon_face:"🐲",blowfish:"🐡",camel:"🐫",poodle:"🐩",feet:"🐾",bouquet:"💐",cherry_blossom:"🌸",tulip:"🌷",four_leaf_clover:"🍀",rose:"🌹",sunflower:"🌻",hibiscus:"🌺",maple_leaf:"🍁",leaves:"🍃",fallen_leaf:"🍂",herb:"🌿",ear_of_rice:"🌾",mushroom:"🍄",cactus:"🌵",palm_tree:"🌴",chestnut:"🌰",seedling:"🌱",blossom:"🌼",new_moon:"🌑",first_quarter_moon:"🌓",moon:"🌔",full_moon:"🌕",first_quarter_moon_with_face:"🌛",crescent_moon:"🌙",earth_asia:"🌏",volcano:"🌋",milky_way:"🌌",stars:"🌠",partly_sunny:"⛅",snowman:"⛄",cyclone:"🌀",foggy:"🌁",rainbow:"🌈",ocean:"🌊"},Objects:{bamboo:"🎍",gift_heart:"💝",dolls:"🎎",school_satchel:"🎒",mortar_board:"🎓",flags:"🎏",fireworks:"🎆",sparkler:"🎇",wind_chime:"🎐",rice_scene:"🎑",jack_o_lantern:"🎃",ghost:"👻",santa:"🎅",christmas_tree:"🎄",gift:"🎁",tanabata_tree:"🎋",tada:"🎉",confetti_ball:"🎊",balloon:"🎈",crossed_flags:"🎌",crystal_ball:"🔮",movie_camera:"🎥",camera:"📷",video_camera:"📹",vhs:"📼",cd:"💿",dvd:"📀",minidisc:"💽",floppy_disk:"💾",computer:"💻",iphone:"📱",telephone_receiver:"📞",pager:"📟",fax:"📠",satellite:"📡",tv:"📺",radio:"📻",loud_sound:"🔊",bell:"🔔",loudspeaker:"📢",mega:"📣",hourglass_flowing_sand:"⏳",hourglass:"⌛",alarm_clock:"⏰",watch:"⌚",unlock:"🔓",lock:"🔒",lock_with_ink_pen:"🔏",closed_lock_with_key:"🔐",key:"🔑",mag_right:"🔎",bulb:"💡",flashlight:"🔦",electric_plug:"🔌",battery:"🔋",mag:"🔍",bath:"🛀",toilet:"🚽",wrench:"🔧",nut_and_bolt:"🔩",hammer:"🔨",door:"🚪",smoking:"🚬",bomb:"💣",gun:"🔫",hocho:"🔪",pill:"💊",syringe:"💉",moneybag:"💰",yen:"💴",dollar:"💵",credit_card:"💳",money_with_wings:"💸",calling:"📲","e-mail":"📧",inbox_tray:"📥",outbox_tray:"📤",envelope_with_arrow:"📩",incoming_envelope:"📨",mailbox:"📫",mailbox_closed:"📪",postbox:"📮",package:"📦",memo:"📝",page_facing_up:"📄",page_with_curl:"📃",bookmark_tabs:"📑",bar_chart:"📊",chart_with_upwards_trend:"📈",chart_with_downwards_trend:"📉",scroll:"📜",clipboard:"📋",date:"📅",calendar:"📆",card_index:"📇",file_folder:"📁",open_file_folder:"📂",pushpin:"📌",paperclip:"📎",straight_ruler:"📏",triangular_ruler:"📐",closed_book:"📕",green_book:"📗",blue_book:"📘",orange_book:"📙",notebook:"📓",notebook_with_decorative_cover:"📔",ledger:"📒",books:"📚",book:"📖",bookmark:"🔖",name_badge:"📛",newspaper:"📰",art:"🎨",clapper:"🎬",microphone:"🎤",headphones:"🎧",musical_score:"🎼",musical_note:"🎵",notes:"🎶",musical_keyboard:"🎹",violin:"🎻",trumpet:"🎺",saxophone:"🎷",guitar:"🎸",space_invader:"👾",video_game:"🎮",black_joker:"🃏",flower_playing_cards:"🎴",mahjong:"🀄",game_die:"🎲",dart:"🎯",football:"🏈",basketball:"🏀",soccer:"⚽",baseball:"⚾",tennis:"🎾","8ball":"🎱",bowling:"🎳",golf:"⛳",checkered_flag:"🏁",trophy:"🏆",ski:"🎿",snowboarder:"🏂",swimmer:"🏊",surfer:"🏄",fishing_pole_and_fish:"🎣",tea:"🍵",sake:"🍶",beer:"🍺",beers:"🍻",cocktail:"🍸",tropical_drink:"🍹",wine_glass:"🍷",fork_and_knife:"🍴",pizza:"🍕",hamburger:"🍔",fries:"🍟",poultry_leg:"🍗",meat_on_bone:"🍖",spaghetti:"🍝",curry:"🍛",fried_shrimp:"🍤",bento:"🍱",sushi:"🍣",fish_cake:"🍥",rice_ball:"🍙",rice_cracker:"🍘",rice:"🍚",ramen:"🍜",stew:"🍲",oden:"🍢",dango:"🍡",egg:"🍳",bread:"🍞",doughnut:"🍩",custard:"🍮",icecream:"🍦",ice_cream:"🍨",shaved_ice:"🍧",birthday:"🎂",cake:"🍰",cookie:"🍪",chocolate_bar:"🍫",candy:"🍬",lollipop:"🍭",honey_pot:"🍯",apple:"🍎",green_apple:"🍏",tangerine:"🍊",cherries:"🍒",grapes:"🍇",watermelon:"🍉",strawberry:"🍓",peach:"🍑",melon:"🍈",banana:"🍌",pineapple:"🍍",sweet_potato:"🍠",eggplant:"🍆",tomato:"🍅",corn:"🌽"},Places:{house:"🏠",house_with_garden:"🏡",school:"🏫",office:"🏢",post_office:"🏣",hospital:"🏥",bank:"🏦",convenience_store:"🏪",love_hotel:"🏩",hotel:"🏨",wedding:"💒",church:"⛪",department_store:"🏬",city_sunrise:"🌇",city_sunset:"🌆",japanese_castle:"🏯",european_castle:"🏰",tent:"⛺",factory:"🏭",tokyo_tower:"🗼",japan:"🗾",mount_fuji:"🗻",sunrise_over_mountains:"🌄",sunrise:"🌅",night_with_stars:"🌃",statue_of_liberty:"🗽",bridge_at_night:"🌉",carousel_horse:"🎠",ferris_wheel:"🎡",fountain:"⛲",roller_coaster:"🎢",ship:"🚢",boat:"⛵",speedboat:"🚤",rocket:"🚀",seat:"💺",station:"🚉",bullettrain_side:"🚄",bullettrain_front:"🚅",metro:"🚇",railway_car:"🚃",bus:"🚌",blue_car:"🚙",car:"🚗",taxi:"🚕",truck:"🚚",rotating_light:"🚨",police_car:"🚓",fire_engine:"🚒",ambulance:"🚑",bike:"🚲",barber:"💈",busstop:"🚏",ticket:"🎫",traffic_light:"🚥",construction:"🚧",beginner:"🔰",fuelpump:"⛽",izakaya_lantern:"🏮",slot_machine:"🎰",moyai:"🗿",circus_tent:"🎪",performing_arts:"🎭",round_pushpin:"📍",triangular_flag_on_post:"🚩"},Symbols:{keycap_ten:"🔟",1234:"🔢",symbols:"🔣",capital_abcd:"🔠",abcd:"🔡",abc:"🔤",arrow_up_small:"🔼",arrow_down_small:"🔽",rewind:"⏪",fast_forward:"⏩",arrow_double_up:"⏫",arrow_double_down:"⏬",ok:"🆗",new:"🆕",up:"🆙",cool:"🆒",free:"🆓",ng:"🆖",signal_strength:"📶",cinema:"🎦",koko:"🈁",u6307:"🈯",u7a7a:"🈳",u6e80:"🈵",u5408:"🈴",u7981:"🈲",ideograph_advantage:"🉐",u5272:"🈹",u55b6:"🈺",u6709:"🈶",u7121:"🈚",restroom:"🚻",mens:"🚹",womens:"🚺",baby_symbol:"🚼",wc:"🚾",no_smoking:"🚭",u7533:"🈸",accept:"🉑",cl:"🆑",sos:"🆘",id:"🆔",no_entry_sign:"🚫",underage:"🔞",no_entry:"⛔",negative_squared_cross_mark:"❎",white_check_mark:"✅",heart_decoration:"💟",vs:"🆚",vibration_mode:"📳",mobile_phone_off:"📴",ab:"🆎",diamond_shape_with_a_dot_inside:"💠",ophiuchus:"⛎",six_pointed_star:"🔯",atm:"🏧",chart:"💹",heavy_dollar_sign:"💲",currency_exchange:"💱",x:"❌",exclamation:"❗",question:"❓",grey_exclamation:"❕",grey_question:"❔",o:"⭕",top:"🔝",end:"🔚",back:"🔙",on:"🔛",soon:"🔜",arrows_clockwise:"🔃",clock12:"🕛",clock1:"🕐",clock2:"🕑",clock3:"🕒",clock4:"🕓",clock5:"🕔",clock6:"🕕",clock7:"🕖",clock8:"🕗",clock9:"🕘",clock10:"🕙",clock11:"🕚",heavy_plus_sign:"➕",heavy_minus_sign:"➖",heavy_division_sign:"➗",white_flower:"💮",100:"💯",radio_button:"🔘",link:"🔗",curly_loop:"➰",trident:"🔱",small_red_triangle:"🔺",black_square_button:"🔲",white_square_button:"🔳",red_circle:"🔴",large_blue_circle:"🔵",small_red_triangle_down:"🔻",white_large_square:"⬜",black_large_square:"⬛",large_orange_diamond:"🔶",large_blue_diamond:"🔷",small_orange_diamond:"🔸",small_blue_diamond:"🔹"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmojiPickerPlugin=t.EmojiPicker=void 0;var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a={install:function(e){e.component("emoji-picker",o.default)}};"undefined"!=typeof window&&(window.EmojiPicker=a),t.EmojiPicker=o.default,t.EmojiPickerPlugin=a,t.default=o.default},function(e,t){e.exports=function(e,t,n,r,o){var a,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(a=e,i=e.default);var c,l="function"==typeof i?i.options:i;if(t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns),r&&(l._scopeId=r),o?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=c):n&&(c=n),c){var u=l.functional,d=u?l.render:l.beforeCreate;u?l.render=function(e,t){return c.call(t),d(e,t)}:l.beforeCreate=d?[].concat(d,c):[c]}return{esModule:a,exports:i,options:l}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("emoji-invoker",null,{events:{click:function(t){return e.toggle(t)}}}),e._v(" "),e.display.visible?n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.hide,expression:"hide"}]},[e._t("emoji-picker",null,{emojis:e.emojis,insert:e.insert,display:e.display})],2):e._e()],2)},staticRenderFns:[]}}])}))},"69f3":function(e,t,n){var r,o,a,i=n("7f9a"),s=n("da84"),c=n("861d"),l=n("9112"),u=n("5135"),d=n("c6cd"),f=n("f772"),p=n("d012"),h=s.WeakMap,m=function(e){return a(e)?o(e):r(e,{})},g=function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(i){var v=d.state||(d.state=new h),b=v.get,y=v.has,x=v.set;r=function(e,t){return t.facade=e,x.call(v,e,t),t},o=function(e){return b.call(v,e)||{}},a=function(e){return y.call(v,e)}}else{var w=f("state");p[w]=!0,r=function(e,t){return t.facade=e,l(e,w,t),t},o=function(e){return u(e,w)?e[w]:{}},a=function(e){return u(e,w)}}e.exports={set:r,get:o,has:a,enforce:m,getterFor:g}},"6dc2":function(e,t,n){var r=n("3545");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("e312c1f2",r,e)}},"6eba":function(e,t,n){var r=n("23e7");r({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"6eeb":function(e,t,n){var r=n("da84"),o=n("9112"),a=n("5135"),i=n("ce4e"),s=n("8925"),c=n("69f3"),l=c.get,u=c.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var c,l=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||o(n,"name",t),c=u(n),c.source||(c.source=d.join("string"==typeof t?t:""))),e!==r?(l?!p&&e[t]&&(f=!0):delete e[t],f?e[t]=n:o(e,t,n)):f?e[t]=n:i(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},"6f53":function(e,t,n){var r=n("83ab"),o=n("df75"),a=n("fc6a"),i=n("d1e7").f,s=function(e){return function(t){var n,s=a(t),c=o(s),l=c.length,u=0,d=[];while(l>u)n=c[u++],r&&!i.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}};e.exports={entries:s(!0),values:s(!1)}},7154:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-rooms-container{display:flex;flex-flow:column;flex:0 0 25%;min-width:260px;max-width:500px;position:relative;background:var(--chat-sidemenu-bg-color);height:100%;border-top-left-radius:var(--chat-container-border-radius);border-bottom-left-radius:var(--chat-container-border-radius)}.vac-rooms-container.vac-rooms-container-full{flex:0 0 100%;max-width:100%}.vac-rooms-container .vac-rooms-empty{font-size:14px;color:#9ca6af;font-style:italic;text-align:center;margin:40px 0;line-height:20px;white-space:pre-line}.vac-rooms-container .vac-room-list{flex:1;position:relative;max-width:100%;cursor:pointer;padding:0 10px 5px;overflow-y:auto}.vac-rooms-container .vac-room-item{border-radius:8px;align-items:center;display:flex;flex:1 1 100%;margin-bottom:5px;padding:0 14px;position:relative;min-height:71px}.vac-rooms-container .vac-room-item:hover{background:var(--chat-sidemenu-bg-color-hover)}.vac-rooms-container .vac-room-item:hover,.vac-rooms-container .vac-room-item:not(:hover){transition:background-color .3s cubic-bezier(.25,.8,.5,1)}.vac-rooms-container .vac-room-selected{color:var(--chat-sidemenu-color-active)!important}.vac-rooms-container .vac-room-selected,.vac-rooms-container .vac-room-selected:hover{background:var(--chat-sidemenu-bg-color-active)!important}@media only screen and (max-width:768px){.vac-rooms-container .vac-room-list{padding:0 7px 5px}.vac-rooms-container .vac-room-item{min-height:60px;padding:0 8px}}",""]),e.exports=t},7156:function(e,t,n){var r=n("861d"),o=n("d2bb");e.exports=function(e,t,n){var a,i;return o&&"function"==typeof(a=t.constructor)&&a!==n&&r(i=a.prototype)&&i!==n.prototype&&o(e,i),e}},"72f7":function(e,t,n){"use strict";var r=n("ebb5").exportTypedArrayMethod,o=n("d039"),a=n("da84"),i=a.Uint8Array,s=i&&i.prototype||{},c=[].toString,l=[].join;o((function(){c.call({})}))&&(c=function(){return l.call(this)});var u=s.toString!=c;r("toString",c,u)},"735e":function(e,t,n){"use strict";var r=n("ebb5"),o=n("81d5"),a=r.aTypedArray,i=r.exportTypedArrayMethod;i("fill",(function(e){return o.apply(a(this),arguments)}))},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,n){var r=n("428f"),o=n("5135"),a=n("e538"),i=n("9bf2").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||i(t,e,{value:a.f(e)})}},"74e8":function(e,t,n){"use strict";var r=n("23e7"),o=n("da84"),a=n("83ab"),i=n("8aa7"),s=n("ebb5"),c=n("621a"),l=n("19aa"),u=n("5c6c"),d=n("9112"),f=n("50c4"),p=n("0b25"),h=n("182d"),m=n("c04e"),g=n("5135"),v=n("f5df"),b=n("861d"),y=n("7c73"),x=n("d2bb"),w=n("241c").f,_=n("a078"),k=n("b727").forEach,S=n("2626"),A=n("9bf2"),E=n("06cf"),M=n("69f3"),O=n("7156"),R=M.get,j=M.set,T=A.f,C=E.f,L=Math.round,I=o.RangeError,P=c.ArrayBuffer,N=c.DataView,U=s.NATIVE_ARRAY_BUFFER_VIEWS,F=s.TYPED_ARRAY_TAG,$=s.TypedArray,B=s.TypedArrayPrototype,q=s.aTypedArrayConstructor,D=s.isTypedArray,z="BYTES_PER_ELEMENT",H="Wrong length",V=function(e,t){var n=0,r=t.length,o=new(q(e))(r);while(r>n)o[n]=t[n++];return o},Y=function(e,t){T(e,t,{get:function(){return R(this)[t]}})},G=function(e){var t;return e instanceof P||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},K=function(e,t){return D(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},W=function(e,t){return K(e,t=m(t,!0))?u(2,e[t]):C(e,t)},Z=function(e,t,n){return!(K(e,t=m(t,!0))&&b(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?T(e,t,n):(e[t]=n.value,e)};a?(U||(E.f=W,A.f=Z,Y(B,"buffer"),Y(B,"byteOffset"),Y(B,"byteLength"),Y(B,"length")),r({target:"Object",stat:!0,forced:!U},{getOwnPropertyDescriptor:W,defineProperty:Z}),e.exports=function(e,t,n){var a=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",c="get"+e,u="set"+e,m=o[s],g=m,v=g&&g.prototype,A={},E=function(e,t){var n=R(e);return n.view[c](t*a+n.byteOffset,!0)},M=function(e,t,r){var o=R(e);n&&(r=(r=L(r))<0?0:r>255?255:255&r),o.view[u](t*a+o.byteOffset,r,!0)},C=function(e,t){T(e,t,{get:function(){return E(this,t)},set:function(e){return M(this,t,e)},enumerable:!0})};U?i&&(g=t((function(e,t,n,r){return l(e,g,s),O(function(){return b(t)?G(t)?void 0!==r?new m(t,h(n,a),r):void 0!==n?new m(t,h(n,a)):new m(t):D(t)?V(g,t):_.call(g,t):new m(p(t))}(),e,g)})),x&&x(g,$),k(w(m),(function(e){e in g||d(g,e,m[e])})),g.prototype=v):(g=t((function(e,t,n,r){l(e,g,s);var o,i,c,u=0,d=0;if(b(t)){if(!G(t))return D(t)?V(g,t):_.call(g,t);o=t,d=h(n,a);var m=t.byteLength;if(void 0===r){if(m%a)throw I(H);if(i=m-d,i<0)throw I(H)}else if(i=f(r)*a,i+d>m)throw I(H);c=i/a}else c=p(t),i=c*a,o=new P(i);j(e,{buffer:o,byteOffset:d,byteLength:i,length:c,view:new N(o)});while(u<c)C(e,u++)})),x&&x(g,$),v=g.prototype=y(B)),v.constructor!==g&&d(v,"constructor",g),F&&d(v,F,s),A[s]=g,r({global:!0,forced:g!=m,sham:!U},A),z in g||d(g,z,a),z in v||d(v,z,a),S(s)}):e.exports=function(){}},"74fe":function(e,t,n){e.exports=n("2d78")},7656:function(e,t,n){"use strict";t.__esModule=!0,t.AMPERSAND=t.CLOSEPAREN=t.CLOSEANGLEBRACKET=t.CLOSEBRACKET=t.CLOSEBRACE=t.OPENPAREN=t.OPENANGLEBRACKET=t.OPENBRACKET=t.OPENBRACE=t.WS=t.TLD=t.SYM=t.UNDERSCORE=t.SLASH=t.MAILTO=t.PROTOCOL=t.QUERY=t.POUND=t.PLUS=t.NUM=t.NL=t.LOCALHOST=t.PUNCTUATION=t.DOT=t.COLON=t.AT=t.DOMAIN=t.Base=void 0;var r=n("46f3"),o=n("254c"),a=(0,r.createTokenClass)();function i(e){var t=e?{v:e}:{};return(0,o.inherits)(a,(0,r.createTokenClass)(),t)}a.prototype={toString:function(){return this.v+""}};var s=i(),c=i("@"),l=i(":"),u=i("."),d=i(),f=i(),p=i("\n"),h=i(),m=i("+"),g=i("#"),v=i(),b=i("mailto:"),y=i("?"),x=i("/"),w=i("_"),_=i(),k=i(),S=i(),A=i("{"),E=i("["),M=i("<"),O=i("("),R=i("}"),j=i("]"),T=i(">"),C=i(")"),L=i("&");t.Base=a,t.DOMAIN=s,t.AT=c,t.COLON=l,t.DOT=u,t.PUNCTUATION=d,t.LOCALHOST=f,t.NL=p,t.NUM=h,t.PLUS=m,t.POUND=g,t.QUERY=y,t.PROTOCOL=v,t.MAILTO=b,t.SLASH=x,t.UNDERSCORE=w,t.SYM=_,t.TLD=k,t.WS=S,t.OPENBRACE=A,t.OPENBRACKET=E,t.OPENANGLEBRACKET=M,t.OPENPAREN=O,t.CLOSEBRACE=R,t.CLOSEBRACKET=j,t.CLOSEANGLEBRACKET=T,t.CLOSEPAREN=C,t.AMPERSAND=L},"77a7":function(e,t){var n=1/0,r=Math.abs,o=Math.pow,a=Math.floor,i=Math.log,s=Math.LN2,c=function(e,t,c){var l,u,d,f=new Array(c),p=8*c-t-1,h=(1<<p)-1,m=h>>1,g=23===t?o(2,-24)-o(2,-77):0,v=e<0||0===e&&1/e<0?1:0,b=0;for(e=r(e),e!=e||e===n?(u=e!=e?1:0,l=h):(l=a(i(e)/s),e*(d=o(2,-l))<1&&(l--,d*=2),e+=l+m>=1?g/d:g*o(2,1-m),e*d>=2&&(l++,d/=2),l+m>=h?(u=0,l=h):l+m>=1?(u=(e*d-1)*o(2,t),l+=m):(u=e*o(2,m-1)*o(2,t),l=0));t>=8;f[b++]=255&u,u/=256,t-=8);for(l=l<<t|u,p+=t;p>0;f[b++]=255&l,l/=256,p-=8);return f[--b]|=128*v,f},l=function(e,t){var r,a=e.length,i=8*a-t-1,s=(1<<i)-1,c=s>>1,l=i-7,u=a-1,d=e[u--],f=127&d;for(d>>=7;l>0;f=256*f+e[u],u--,l-=8);for(r=f&(1<<-l)-1,f>>=-l,l+=t;l>0;r=256*r+e[u],u--,l-=8);if(0===f)f=1-c;else{if(f===s)return r?NaN:d?-n:n;r+=o(2,t),f-=c}return(d?-1:1)*r*o(2,f-t)};e.exports={pack:c,unpack:l}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"798f":function(e,t,n){"use strict";n("9745")},"7a82":function(e,t,n){var r=n("23e7"),o=n("83ab"),a=n("9bf2");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:a.f})},"7b0b":function(e,t,n){var r=n("1d80");e.exports=function(e){return Object(r(e))}},"7c73":function(e,t,n){var r,o=n("825a"),a=n("37e8"),i=n("7839"),s=n("d012"),c=n("1be4"),l=n("cc12"),u=n("f772"),d=">",f="<",p="prototype",h="script",m=u("IE_PROTO"),g=function(){},v=function(e){return f+h+d+e+f+"/"+h+d},b=function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=l("iframe"),n="java"+h+":";return t.style.display="none",c.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(v("document.F=Object")),e.close(),e.F},x=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}x=r?b(r):y();var e=i.length;while(e--)delete x[p][i[e]];return x()};s[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(g[p]=o(e),n=new g,g[p]=null,n[m]=e):n=x(),void 0===t?n:a(n,t)}},"7cec":function(e,t,n){"use strict";n("f86d")},"7d66":function(e,t,n){"use strict";n("384a")},"7db0":function(e,t,n){"use strict";var r=n("23e7"),o=n("b727").find,a=n("44d2"),i=n("ae40"),s="find",c=!0,l=i(s);s in[]&&Array(1)[s]((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a(s)},"7dd0":function(e,t,n){"use strict";var r=n("23e7"),o=n("9ed3"),a=n("e163"),i=n("d2bb"),s=n("d44e"),c=n("9112"),l=n("6eeb"),u=n("b622"),d=n("c430"),f=n("3f8c"),p=n("ae93"),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,g=u("iterator"),v="keys",b="values",y="entries",x=function(){return this};e.exports=function(e,t,n,u,p,w,_){o(n,t,u);var k,S,A,E=function(e){if(e===p&&T)return T;if(!m&&e in R)return R[e];switch(e){case v:return function(){return new n(this,e)};case b:return function(){return new n(this,e)};case y:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",O=!1,R=e.prototype,j=R[g]||R["@@iterator"]||p&&R[p],T=!m&&j||E(p),C="Array"==t&&R.entries||j;if(C&&(k=a(C.call(new e)),h!==Object.prototype&&k.next&&(d||a(k)===h||(i?i(k,h):"function"!=typeof k[g]&&c(k,g,x)),s(k,M,!0,!0),d&&(f[M]=x))),p==b&&j&&j.name!==b&&(O=!0,T=function(){return j.call(this)}),d&&!_||R[g]===T||c(R,g,T),f[t]=T,p)if(S={values:E(b),keys:w?T:E(v),entries:E(y)},_)for(A in S)(m||O||!(A in R))&&l(R,A,S[A]);else r({target:t,proto:!0,forced:m||O},S);return S}},"7e12":function(e,t,n){var r=n("da84"),o=n("58a8").trim,a=n("5899"),i=r.parseFloat,s=1/i(a+"-0")!==-1/0;e.exports=s?function(e){var t=o(String(e)),n=i(t);return 0===n&&"-"==t.charAt(0)?-0:n}:i},"7ebf":function(e,t,n){var r=n("13fc");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("30082ac4",r,e)}},"7f9a":function(e,t,n){var r=n("da84"),o=n("8925"),a=r.WeakMap;e.exports="function"===typeof a&&/native code/.test(o(a))},"81d5":function(e,t,n){"use strict";var r=n("7b0b"),o=n("23cb"),a=n("50c4");e.exports=function(e){var t=r(this),n=a(t.length),i=arguments.length,s=o(i>1?arguments[1]:void 0,n),c=i>2?arguments[2]:void 0,l=void 0===c?n:o(c,n);while(l>s)t[s++]=e;return t}},8220:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-fade-spinner-enter{opacity:0}.vac-fade-spinner-enter-active{transition:opacity .8s}.vac-fade-spinner-leave-active{transition:opacity .2s;opacity:0}.vac-fade-image-enter{opacity:0}.vac-fade-image-enter-active{transition:opacity 1s}.vac-fade-image-leave-active{transition:opacity .5s;opacity:0}.vac-fade-message-enter{opacity:0}.vac-fade-message-enter-active{transition:opacity .5s}.vac-fade-message-leave-active{transition:opacity .2s;opacity:0}.vac-slide-left-enter-active,.vac-slide-right-enter-active{transition:all .3s ease;transition-property:transform,opacity}.vac-slide-left-leave-active,.vac-slide-right-leave-active{transition:all .2s cubic-bezier(1,.5,.8,1);transition-property:transform,opacity}.vac-slide-left-enter,.vac-slide-left-leave-to{transform:translateX(10px);opacity:0}.vac-slide-right-enter,.vac-slide-right-leave-to{transform:translateX(-10px);opacity:0}.vac-slide-up-enter-active{transition:all .3s ease}.vac-slide-up-leave-active{transition:all .2s cubic-bezier(1,.5,.8,1)}.vac-slide-up-enter,.vac-slide-up-leave-to{transform:translateY(10px);opacity:0}.vac-bounce-enter-active{-webkit-animation:vac-bounce-in .5s;animation:vac-bounce-in .5s}.vac-bounce-leave-active{animation:vac-bounce-in .3s reverse}@-webkit-keyframes vac-bounce-in{0%{transform:scale(0)}50%{transform:scale(1.05)}to{transform:scale(1)}}@keyframes vac-bounce-in{0%{transform:scale(0)}50%{transform:scale(1.05)}to{transform:scale(1)}}.vac-menu-list{border-radius:4px;display:block;cursor:pointer;background:var(--chat-dropdown-bg-color);padding:6px 0}.vac-menu-list :hover{background:var(--chat-dropdown-bg-color-hover)}.vac-menu-list :hover,.vac-menu-list :not(:hover){transition:background-color .3s cubic-bezier(.25,.8,.5,1)}.vac-menu-item{align-items:center;display:flex;flex:1 1 100%;min-height:30px;padding:5px 16px;position:relative;white-space:nowrap;line-height:30px}.vac-menu-options{position:absolute;right:10px;top:20px;z-index:9999;min-width:150px;display:inline-block;border-radius:4px;font-size:14px;color:var(--chat-color);overflow-y:auto;overflow-x:hidden;contain:content;box-shadow:0 2px 2px -4px rgba(0,0,0,.1),0 2px 2px 1px rgba(0,0,0,.12),0 1px 8px 1px rgba(0,0,0,.12)}.vac-app-border{border:var(--chat-border-style)}.vac-app-border-t{border-top:var(--chat-border-style)}.vac-app-border-r{border-right:var(--chat-border-style)}.vac-app-border-b{border-bottom:var(--chat-border-style)}.vac-app-box-shadow{box-shadow:0 2px 2px -4px rgba(0,0,0,.1),0 2px 2px 1px rgba(0,0,0,.12),0 1px 8px 1px rgba(0,0,0,.12)}.vac-item-clickable{cursor:pointer}.vac-vertical-center{display:flex;align-items:center;height:100%}.vac-vertical-center .vac-vertical-container{width:100%;text-align:center}.vac-svg-button{max-height:30px;display:flex;cursor:pointer;transition:all .2s}.vac-svg-button:hover{transform:scale(1.1);opacity:.7}.vac-avatar{background-size:cover;background-position:50%;background-repeat:no-repeat;background-color:#ddd;height:42px;width:42px;min-height:42px;min-width:42px;margin-right:15px;border-radius:50%}.vac-badge-counter{height:13px;width:auto;min-width:13px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:3px;font-size:11px;font-weight:500}.vac-text-ellipsis{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vac-text-bold{font-weight:700}.vac-text-italic{font-style:italic}.vac-text-strike{text-decoration:line-through}.vac-text-underline{text-decoration:underline}.vac-text-inline-code{display:inline-block;color:var(--chat-markdown-color);margin:2px 0;padding:2px 3px}.vac-text-inline-code,.vac-text-multiline-code{font-size:12px;background:var(--chat-markdown-bg);border:1px solid var(--chat-markdown-border);border-radius:3px}.vac-text-multiline-code{display:block;color:var(--chat-markdown-color-multi);margin:4px 0;padding:7px}.vac-text-tag{color:var(--chat-message-color-tag);cursor:pointer}.vac-card-window{width:100%;display:block;max-width:100%;background:var(--chat-content-bg-color);color:var(--chat-color);overflow-wrap:break-word;position:relative;white-space:normal;border:var(--chat-container-border);border-radius:var(--chat-container-border-radius);box-shadow:var(--chat-container-box-shadow);-webkit-tap-highlight-color:transparent}.vac-card-window *{font-family:inherit}.vac-card-window a{color:#0d579c;font-weight:500}.vac-card-window .vac-chat-container{height:100%;display:flex}.vac-card-window .vac-chat-container input{min-width:10px}.vac-card-window .vac-chat-container input[type=search],.vac-card-window .vac-chat-container input[type=text],.vac-card-window .vac-chat-container textarea{-webkit-appearance:none}",""]),e.exports=t},"825a":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"82f8":function(e,t,n){"use strict";var r=n("ebb5"),o=n("4d64").includes,a=r.aTypedArray,i=r.exportTypedArrayMethod;i("includes",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0)}))},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83f9":function(e,t,n){var r=n("8220");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("23c30434",r,e)}},8418:function(e,t,n){"use strict";var r=n("c04e"),o=n("9bf2"),a=n("5c6c");e.exports=function(e,t,n){var i=r(t);i in e?o.f(e,i,a(0,n)):e[i]=n}},"841c":function(e,t,n){"use strict";var r=n("d784"),o=n("825a"),a=n("1d80"),i=n("129f"),s=n("14c3");r("search",1,(function(e,t,n){return[function(t){var n=a(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),c=String(this),l=a.lastIndex;i(l,0)||(a.lastIndex=0);var u=s(a,c);return i(a.lastIndex,l)||(a.lastIndex=l),null===u?-1:u.index}]}))},"857a":function(e,t,n){var r=n("1d80"),o=/"/g;e.exports=function(e,t,n,a){var i=String(r(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(a).replace(o,"&quot;")+'"'),s+">"+i+"</"+t+">"}},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},8875:function(e,t,n){var r,o,a;(function(n,i){o=[],r=i,a="function"===typeof r?r.apply(t,o):r,void 0===a||(e.exports=a)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,r,o,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,i=/@([^@]*):(\d+):(\d+)\s*$/gi,s=a.exec(p.stack)||i.exec(p.stack),c=s&&s[1]||!1,l=s&&s[2]||!1,u=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");c===u&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var f=0;f<d.length;f++){if("interactive"===d[f].readyState)return d[f];if(d[f].src===c)return d[f];if(c===u&&d[f].innerHTML&&d[f].innerHTML.trim()===o)return d[f]}return null}}return e}))},"88f6":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-room-container{display:flex;flex:1;align-items:center;width:100%}.vac-room-container .vac-name-container{flex:1}.vac-room-container .vac-title-container{display:flex;align-items:center;line-height:25px}.vac-room-container .vac-state-circle{width:9px;height:9px;border-radius:50%;background-color:var(--chat-room-color-offline);margin-right:6px;transition:.3s}.vac-room-container .vac-state-online{background-color:var(--chat-room-color-online)}.vac-room-container .vac-room-name{flex:1;color:var(--chat-room-color-username);font-weight:500}.vac-room-container .vac-text-date{margin-left:5px;font-size:11px;color:var(--chat-room-color-timestamp)}.vac-room-container .vac-text-last{display:flex;align-items:center;font-size:12px;line-height:19px;color:var(--chat-room-color-message)}.vac-room-container .vac-message-new{color:var(--chat-room-color-username);font-weight:500}.vac-room-container .vac-icon-check{display:flex;vertical-align:middle;height:14px;width:14px;margin-top:-2px;margin-right:2px}.vac-room-container .vac-icon-microphone{height:15px;width:15px;vertical-align:middle;margin:-3px 1px 0 -2px;fill:var(--chat-room-color-message)}.vac-room-container .vac-room-options-container{display:flex;margin-left:auto}.vac-room-container .vac-room-badge{background-color:var(--chat-room-bg-color-badge);color:var(--chat-room-color-badge);margin-left:5px}.vac-room-container .vac-list-room-options{height:19px;width:19px;align-items:center;margin-left:5px}",""]),e.exports=t},8925:function(e,t,n){var r=n("c6cd"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"8aa7":function(e,t,n){var r=n("da84"),o=n("d039"),a=n("1c7e"),i=n("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,c=r.Int8Array;e.exports=!i||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!a((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||o((function(){return 1!==new c(new s(2),1,void 0).length}))},"8b09":function(e,t,n){var r=n("74e8");r("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"8bbf":function(e,t){e.exports=Vue},"90e3":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},9112:function(e,t,n){var r=n("83ab"),o=n("9bf2"),a=n("5c6c");e.exports=r?function(e,t,n){return o.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){"use strict";var r=n("ad6d"),o=n("9f7f"),a=RegExp.prototype.exec,i=String.prototype.replace,s=a,c=function(){var e=/a/,t=/b*/g;return a.call(e,"a"),a.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),l=o.UNSUPPORTED_Y||o.BROKEN_CARET,u=void 0!==/()??/.exec("")[1],d=c||u||l;d&&(s=function(e){var t,n,o,s,d=this,f=l&&d.sticky,p=r.call(d),h=d.source,m=0,g=e;return f&&(p=p.replace("y",""),-1===p.indexOf("g")&&(p+="g"),g=String(e).slice(d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==e[d.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,m++),n=new RegExp("^(?:"+h+")",p)),u&&(n=new RegExp("^"+h+"$(?!\\s)",p)),c&&(t=d.lastIndex),o=a.call(f?n:d,g),f?o?(o.input=o.input.slice(m),o[0]=o[0].slice(m),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:c&&o&&(d.lastIndex=d.global?o.index+o[0].length:t),u&&o&&o.length>1&&i.call(o[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o}),e.exports=s},"94ca":function(e,t,n){var r=n("d039"),o=/#|\.prototype\./,a=function(e,t){var n=s[i(e)];return n==l||n!=c&&("function"==typeof t?r(t):!!t)},i=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},"96cf":function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(C){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),i=new R(r||[]);return a._invoke=A(e,n,i),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(C){return{type:"throw",arg:C}}}e.wrap=l;var d="suspendedStart",f="suspendedYield",p="executing",h="completed",m={};function g(){}function v(){}function b(){}var y={};y[a]=function(){return this};var x=Object.getPrototypeOf,w=x&&x(x(j([])));w&&w!==n&&r.call(w,a)&&(y=w);var _=b.prototype=g.prototype=Object.create(y);function k(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(o,a,i,s){var c=u(e[o],e,a);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"===typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(d).then((function(e){l.value=e,i(l)}),(function(e){return n("throw",e,i,s)}))}s(c.arg)}var o;function a(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}this._invoke=a}function A(e,t,n){var r=d;return function(o,a){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw a;return T()}n.method=o,n.arg=a;while(1){var i=n.delegate;if(i){var s=E(i,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=u(e,t,n);if("normal"===c.type){if(r=n.done?h:f,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}function E(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,E(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=u(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function j(e){if(e){var n=e[a];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){while(++o<e.length)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:T}}function T(){return{value:t,done:!0}}return v.prototype=_.constructor=b,b.constructor=v,v.displayName=c(b,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},k(S.prototype),S.prototype[i]=function(){return this},e.AsyncIterator=S,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new S(l(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(_),c(_,s,"Generator"),_[a]=function(){return this},_.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=j,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},9745:function(e,t,n){var r=n("b92f");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("4aceb9cc",r,e)}},9861:function(e,t,n){"use strict";n("e260");var r=n("23e7"),o=n("d066"),a=n("0d3b"),i=n("6eeb"),s=n("e2cc"),c=n("d44e"),l=n("9ed3"),u=n("69f3"),d=n("19aa"),f=n("5135"),p=n("0366"),h=n("f5df"),m=n("825a"),g=n("861d"),v=n("7c73"),b=n("5c6c"),y=n("9a1f"),x=n("35a1"),w=n("b622"),_=o("fetch"),k=o("Headers"),S=w("iterator"),A="URLSearchParams",E=A+"Iterator",M=u.set,O=u.getterFor(A),R=u.getterFor(E),j=/\+/g,T=Array(4),C=function(e){return T[e-1]||(T[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},L=function(e){try{return decodeURIComponent(e)}catch(t){return e}},I=function(e){var t=e.replace(j," "),n=4;try{return decodeURIComponent(t)}catch(r){while(n)t=t.replace(C(n--),L);return t}},P=/[!'()~]|%20/g,N={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},U=function(e){return N[e]},F=function(e){return encodeURIComponent(e).replace(P,U)},$=function(e,t){if(t){var n,r,o=t.split("&"),a=0;while(a<o.length)n=o[a++],n.length&&(r=n.split("="),e.push({key:I(r.shift()),value:I(r.join("="))}))}},B=function(e){this.entries.length=0,$(this.entries,e)},q=function(e,t){if(e<t)throw TypeError("Not enough arguments")},D=l((function(e,t){M(this,{type:E,iterator:y(O(e).entries),kind:t})}),"Iterator",(function(){var e=R(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),z=function(){d(this,z,A);var e,t,n,r,o,a,i,s,c,l=arguments.length>0?arguments[0]:void 0,u=this,p=[];if(M(u,{type:A,entries:p,updateURL:function(){},updateSearchParams:B}),void 0!==l)if(g(l))if(e=x(l),"function"===typeof e){t=e.call(l),n=t.next;while(!(r=n.call(t)).done){if(o=y(m(r.value)),a=o.next,(i=a.call(o)).done||(s=a.call(o)).done||!a.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:i.value+"",value:s.value+""})}}else for(c in l)f(l,c)&&p.push({key:c,value:l[c]+""});else $(p,"string"===typeof l?"?"===l.charAt(0)?l.slice(1):l:l+"")},H=z.prototype;s(H,{append:function(e,t){q(arguments.length,2);var n=O(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){q(arguments.length,1);var t=O(this),n=t.entries,r=e+"",o=0;while(o<n.length)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){q(arguments.length,1);for(var t=O(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){q(arguments.length,1);for(var t=O(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){q(arguments.length,1);var t=O(this).entries,n=e+"",r=0;while(r<t.length)if(t[r++].key===n)return!0;return!1},set:function(e,t){q(arguments.length,1);for(var n,r=O(this),o=r.entries,a=!1,i=e+"",s=t+"",c=0;c<o.length;c++)n=o[c],n.key===i&&(a?o.splice(c--,1):(a=!0,n.value=s));a||o.push({key:i,value:s}),r.updateURL()},sort:function(){var e,t,n,r=O(this),o=r.entries,a=o.slice();for(o.length=0,n=0;n<a.length;n++){for(e=a[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){var t,n=O(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),o=0;while(o<n.length)t=n[o++],r(t.value,t.key,this)},keys:function(){return new D(this,"keys")},values:function(){return new D(this,"values")},entries:function(){return new D(this,"entries")}},{enumerable:!0}),i(H,S,H.entries),i(H,"toString",(function(){var e,t=O(this).entries,n=[],r=0;while(r<t.length)e=t[r++],n.push(F(e.key)+"="+F(e.value));return n.join("&")}),{enumerable:!0}),c(z,A),r({global:!0,forced:!a},{URLSearchParams:z}),a||"function"!=typeof _||"function"!=typeof k||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(t=arguments[1],g(t)&&(n=t.body,h(n)===A&&(r=t.headers?new k(t.headers):new k,r.has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:b(0,String(n)),headers:b(0,r)}))),o.push(t)),_.apply(this,o)}}),e.exports={URLSearchParams:z,getState:O}},"98c5":function(e,t,n){var r=n("e4dc");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("f6e9c3e2",r,e)}},9926:function(e,t,n){var r=n("3039");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("210280e9",r,e)}},"99af":function(e,t,n){"use strict";var r=n("23e7"),o=n("d039"),a=n("e8b5"),i=n("861d"),s=n("7b0b"),c=n("50c4"),l=n("8418"),u=n("65f0"),d=n("1dde"),f=n("b622"),p=n("2d00"),h=f("isConcatSpreadable"),m=9007199254740991,g="Maximum allowed index exceeded",v=p>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=d("concat"),y=function(e){if(!i(e))return!1;var t=e[h];return void 0!==t?!!t:a(e)},x=!v||!b;r({target:"Array",proto:!0,forced:x},{concat:function(e){var t,n,r,o,a,i=s(this),d=u(i,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(a=-1===t?i:arguments[t],y(a)){if(o=c(a.length),f+o>m)throw TypeError(g);for(n=0;n<o;n++,f++)n in a&&l(d,f,a[n])}else{if(f>=m)throw TypeError(g);l(d,f++,a)}return d.length=f,d}})},"9a1f":function(e,t,n){var r=n("825a"),o=n("35a1");e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},"9a8c":function(e,t,n){"use strict";var r=n("ebb5"),o=n("145e"),a=r.aTypedArray,i=r.exportTypedArrayMethod;i("copyWithin",(function(e,t){return o.call(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},"9bdd":function(e,t,n){var r=n("825a"),o=n("2a62");e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(i){throw o(e),i}}},"9bf2":function(e,t,n){var r=n("83ab"),o=n("0cfb"),a=n("825a"),i=n("c04e"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(a(e),t=i(t,!0),a(n),o)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9ed3":function(e,t,n){"use strict";var r=n("ae93").IteratorPrototype,o=n("7c73"),a=n("5c6c"),i=n("d44e"),s=n("3f8c"),c=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=o(r,{next:a(1,n)}),i(e,l,!1,!0),s[l]=c,e}},"9f7f":function(e,t,n){"use strict";var r=n("d039");function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a071:function(e,t,n){"use strict";n("3fee")},a078:function(e,t,n){var r=n("7b0b"),o=n("50c4"),a=n("35a1"),i=n("e95a"),s=n("0366"),c=n("ebb5").aTypedArrayConstructor;e.exports=function(e){var t,n,l,u,d,f,p=r(e),h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=a(p);if(void 0!=v&&!i(v)){d=v.call(p),f=d.next,p=[];while(!(u=f.call(d)).done)p.push(u.value)}for(g&&h>2&&(m=s(m,arguments[2],2)),n=o(p.length),l=new(c(this))(n),t=0;n>t;t++)l[t]=g?m(p[t],t):p[t];return l}},a15b:function(e,t,n){"use strict";var r=n("23e7"),o=n("44ad"),a=n("fc6a"),i=n("a640"),s=[].join,c=o!=Object,l=i("join",",");r({target:"Array",proto:!0,forced:c||!l},{join:function(e){return s.call(a(this),void 0===e?",":e)}})},a4d3:function(e,t,n){"use strict";var r=n("23e7"),o=n("da84"),a=n("d066"),i=n("c430"),s=n("83ab"),c=n("4930"),l=n("fdbf"),u=n("d039"),d=n("5135"),f=n("e8b5"),p=n("861d"),h=n("825a"),m=n("7b0b"),g=n("fc6a"),v=n("c04e"),b=n("5c6c"),y=n("7c73"),x=n("df75"),w=n("241c"),_=n("057f"),k=n("7418"),S=n("06cf"),A=n("9bf2"),E=n("d1e7"),M=n("9112"),O=n("6eeb"),R=n("5692"),j=n("f772"),T=n("d012"),C=n("90e3"),L=n("b622"),I=n("e538"),P=n("746f"),N=n("d44e"),U=n("69f3"),F=n("b727").forEach,$=j("hidden"),B="Symbol",q="prototype",D=L("toPrimitive"),z=U.set,H=U.getterFor(B),V=Object[q],Y=o.Symbol,G=a("JSON","stringify"),K=S.f,W=A.f,Z=_.f,X=E.f,J=R("symbols"),Q=R("op-symbols"),ee=R("string-to-symbol-registry"),te=R("symbol-to-string-registry"),ne=R("wks"),re=o.QObject,oe=!re||!re[q]||!re[q].findChild,ae=s&&u((function(){return 7!=y(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=K(V,t);r&&delete V[t],W(e,t,n),r&&e!==V&&W(V,t,r)}:W,ie=function(e,t){var n=J[e]=y(Y[q]);return z(n,{type:B,tag:e,description:t}),s||(n.description=t),n},se=l?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Y},ce=function(e,t,n){e===V&&ce(Q,t,n),h(e);var r=v(t,!0);return h(n),d(J,r)?(n.enumerable?(d(e,$)&&e[$][r]&&(e[$][r]=!1),n=y(n,{enumerable:b(0,!1)})):(d(e,$)||W(e,$,b(1,{})),e[$][r]=!0),ae(e,r,n)):W(e,r,n)},le=function(e,t){h(e);var n=g(t),r=x(n).concat(he(n));return F(r,(function(t){s&&!de.call(n,t)||ce(e,t,n[t])})),e},ue=function(e,t){return void 0===t?y(e):le(y(e),t)},de=function(e){var t=v(e,!0),n=X.call(this,t);return!(this===V&&d(J,t)&&!d(Q,t))&&(!(n||!d(this,t)||!d(J,t)||d(this,$)&&this[$][t])||n)},fe=function(e,t){var n=g(e),r=v(t,!0);if(n!==V||!d(J,r)||d(Q,r)){var o=K(n,r);return!o||!d(J,r)||d(n,$)&&n[$][r]||(o.enumerable=!0),o}},pe=function(e){var t=Z(g(e)),n=[];return F(t,(function(e){d(J,e)||d(T,e)||n.push(e)})),n},he=function(e){var t=e===V,n=Z(t?Q:g(e)),r=[];return F(n,(function(e){!d(J,e)||t&&!d(V,e)||r.push(J[e])})),r};if(c||(Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=C(e),n=function(e){this===V&&n.call(Q,e),d(this,$)&&d(this[$],t)&&(this[$][t]=!1),ae(this,t,b(1,e))};return s&&oe&&ae(V,t,{configurable:!0,set:n}),ie(t,e)},O(Y[q],"toString",(function(){return H(this).tag})),O(Y,"withoutSetter",(function(e){return ie(C(e),e)})),E.f=de,A.f=ce,S.f=fe,w.f=_.f=pe,k.f=he,I.f=function(e){return ie(L(e),e)},s&&(W(Y[q],"description",{configurable:!0,get:function(){return H(this).description}}),i||O(V,"propertyIsEnumerable",de,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:Y}),F(x(ne),(function(e){P(e)})),r({target:B,stat:!0,forced:!c},{for:function(e){var t=String(e);if(d(ee,t))return ee[t];var n=Y(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(d(te,e))return te[e]},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:ue,defineProperty:ce,defineProperties:le,getOwnPropertyDescriptor:fe}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:pe,getOwnPropertySymbols:he}),r({target:"Object",stat:!0,forced:u((function(){k.f(1)}))},{getOwnPropertySymbols:function(e){return k.f(m(e))}}),G){var me=!c||u((function(){var e=Y();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}));r({target:"JSON",stat:!0,forced:me},{stringify:function(e,t,n){var r,o=[e],a=1;while(arguments.length>a)o.push(arguments[a++]);if(r=t,(p(t)||void 0!==e)&&!se(e))return f(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!se(t))return t}),o[1]=t,G.apply(null,o)}})}Y[q][D]||M(Y[q],D,Y[q].valueOf),N(Y,B),T[$]=!0},a589:function(e,t,n){"use strict";n.r(t);var r=n("83f9");for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},a623:function(e,t,n){"use strict";var r=n("23e7"),o=n("b727").every,a=n("a640"),i=n("ae40"),s=a("every"),c=i("every");r({target:"Array",proto:!0,forced:!s||!c},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},a630:function(e,t,n){var r=n("23e7"),o=n("4df4"),a=n("1c7e"),i=!a((function(e){Array.from(e)}));r({target:"Array",stat:!0,forced:i},{from:o})},a640:function(e,t,n){"use strict";var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},a691:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},a6d4:function(e,t,n){"use strict";n("0b68")},a916:function(e,t,n){"use strict";n("6dc2")},a975:function(e,t,n){"use strict";var r=n("ebb5"),o=n("b727").every,a=r.aTypedArray,i=r.exportTypedArrayMethod;i("every",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0)}))},a981:function(e,t){e.exports="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView},a9e3:function(e,t,n){"use strict";var r=n("83ab"),o=n("da84"),a=n("94ca"),i=n("6eeb"),s=n("5135"),c=n("c6b6"),l=n("7156"),u=n("c04e"),d=n("d039"),f=n("7c73"),p=n("241c").f,h=n("06cf").f,m=n("9bf2").f,g=n("58a8").trim,v="Number",b=o[v],y=b.prototype,x=c(f(y))==v,w=function(e){var t,n,r,o,a,i,s,c,l=u(e,!1);if("string"==typeof l&&l.length>2)if(l=g(l),t=l.charCodeAt(0),43===t||45===t){if(n=l.charCodeAt(2),88===n||120===n)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+l}for(a=l.slice(2),i=a.length,s=0;s<i;s++)if(c=a.charCodeAt(s),c<48||c>o)return NaN;return parseInt(a,r)}return+l};if(a(v,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var _,k=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof k&&(x?d((function(){y.valueOf.call(n)})):c(n)!=v)?l(new b(w(t)),n,k):w(t)},S=r?p(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),A=0;S.length>A;A++)s(b,_=S[A])&&!s(k,_)&&m(k,_,h(b,_));k.prototype=y,y.constructor=k,i(o,v,k)}},ab13:function(e,t,n){var r=n("b622"),o=r("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(r){}}return!1}},ac1f:function(e,t,n){"use strict";var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},accc:function(e,t,n){var r=n("23e7"),o=n("64e5");r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},acd8:function(e,t,n){var r=n("23e7"),o=n("7e12");r({global:!0,forced:parseFloat!=o},{parseFloat:o})},ace4:function(e,t,n){"use strict";var r=n("23e7"),o=n("d039"),a=n("621a"),i=n("825a"),s=n("23cb"),c=n("50c4"),l=n("4840"),u=a.ArrayBuffer,d=a.DataView,f=u.prototype.slice,p=o((function(){return!new u(2).slice(1,void 0).byteLength}));r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:p},{slice:function(e,t){if(void 0!==f&&void 0===t)return f.call(i(this),e);var n=i(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),a=new(l(this,u))(c(o-r)),p=new d(this),h=new d(a),m=0;while(r<o)h.setUint8(m++,p.getUint8(r++));return a}})},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ae40:function(e,t,n){var r=n("83ab"),o=n("d039"),a=n("5135"),i=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,t){if(a(s,e))return s[e];t||(t={});var n=[][e],l=!!a(t,"ACCESSORS")&&t.ACCESSORS,u=a(t,0)?t[0]:c,d=a(t,1)?t[1]:void 0;return s[e]=!!n&&!o((function(){if(l&&!r)return!0;var e={length:-1};l?i(e,1,{enumerable:!0,get:c}):e[1]=1,n.call(e,u,d)}))}},ae93:function(e,t,n){"use strict";var r,o,a,i=n("e163"),s=n("9112"),c=n("5135"),l=n("b622"),u=n("c430"),d=l("iterator"),f=!1,p=function(){return this};[].keys&&(a=[].keys(),"next"in a?(o=i(i(a)),o!==Object.prototype&&(r=o)):f=!0),void 0==r&&(r={}),u||c(r,d)||s(r,d,p),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},af03:function(e,t,n){var r=n("d039");e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},b041:function(e,t,n){"use strict";var r=n("00ee"),o=n("f5df");e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(e,t,n){var r=n("83ab"),o=n("9bf2").f,a=Function.prototype,i=a.toString,s=/^\s*function ([^ (]*)/,c="name";r&&!(c in a)&&o(a,c,{configurable:!0,get:function(){try{return i.call(this).match(s)[1]}catch(e){return""}}})},b39a:function(e,t,n){"use strict";var r=n("da84"),o=n("ebb5"),a=n("d039"),i=r.Int8Array,s=o.aTypedArray,c=o.exportTypedArrayMethod,l=[].toLocaleString,u=[].slice,d=!!i&&a((function(){l.call(new i(1))})),f=a((function(){return[1,2].toLocaleString()!=new i([1,2]).toLocaleString()}))||!a((function(){i.prototype.toLocaleString.call([1,2])}));c("toLocaleString",(function(){return l.apply(d?u.call(s(this)):s(this),arguments)}),f)},b467:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-room-header{position:absolute;display:flex;align-items:center;height:64px;width:100%;z-index:10;margin-right:1px;background:var(--chat-header-bg-color);border-top-right-radius:var(--chat-container-border-radius)}.vac-room-header .vac-room-wrapper{display:flex;align-items:center;min-width:0;height:100%;width:100%;padding:0 16px}.vac-room-header .vac-toggle-button{margin-right:15px}.vac-room-header .vac-toggle-button svg{height:26px;width:26px}.vac-room-header .vac-rotate-icon{transform:rotate(180deg)!important}.vac-room-header .vac-info-wrapper{display:flex;align-items:center;min-width:0;width:100%;height:100%}.vac-room-header .vac-room-name{font-size:17px;font-weight:500;line-height:22px;color:var(--chat-header-color-name)}.vac-room-header .vac-room-info{font-size:13px;line-height:18px;color:var(--chat-header-color-info)}.vac-room-header .vac-room-options{margin-left:auto}@media only screen and (max-width:768px){.vac-room-header{height:50px}.vac-room-header .vac-room-wrapper{padding:0 10px}.vac-room-header .vac-room-name{font-size:16px;line-height:22px}.vac-room-header .vac-room-info{font-size:12px;line-height:16px}.vac-room-header .vac-avatar{height:37px;width:37px;min-height:37px;min-width:37px}}",""]),e.exports=t},b575:function(e,t,n){var r,o,a,i,s,c,l,u,d=n("da84"),f=n("06cf").f,p=n("2cf4").set,h=n("1cdc"),m=n("605d"),g=d.MutationObserver||d.WebKitMutationObserver,v=d.document,b=d.process,y=d.Promise,x=f(d,"queueMicrotask"),w=x&&x.value;w||(r=function(){var e,t;m&&(e=b.domain)&&e.exit();while(o){t=o.fn,o=o.next;try{t()}catch(n){throw o?i():a=void 0,n}}a=void 0,e&&e.enter()},!h&&!m&&g&&v?(s=!0,c=v.createTextNode(""),new g(r).observe(c,{characterData:!0}),i=function(){c.data=s=!s}):y&&y.resolve?(l=y.resolve(void 0),u=l.then,i=function(){u.call(l,r)}):i=m?function(){b.nextTick(r)}:function(){p.call(d,r)}),e.exports=w||function(e){var t={fn:e,next:void 0};a&&(a.next=t),o||(o=t,i()),a=t}},b622:function(e,t,n){var r=n("da84"),o=n("5692"),a=n("5135"),i=n("90e3"),s=n("4930"),c=n("fdbf"),l=o("wks"),u=r.Symbol,d=c?u:u&&u.withoutSetter||i;e.exports=function(e){return a(l,e)||(s&&a(u,e)?l[e]=u[e]:l[e]=d("Symbol."+e)),l[e]}},b64b:function(e,t,n){var r=n("23e7"),o=n("7b0b"),a=n("df75"),i=n("d039"),s=i((function(){a(1)}));r({target:"Object",stat:!0,forced:s},{keys:function(e){return a(o(e))}})},b680:function(e,t,n){"use strict";var r=n("23e7"),o=n("a691"),a=n("408a"),i=n("1148"),s=n("d039"),c=1..toFixed,l=Math.floor,u=function(e,t,n){return 0===t?n:t%2===1?u(e,t-1,n*e):u(e*e,t/2,n)},d=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},f=c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){c.call({})}));r({target:"Number",proto:!0,forced:f},{toFixed:function(e){var t,n,r,s,c=a(this),f=o(e),p=[0,0,0,0,0,0],h="",m="0",g=function(e,t){var n=-1,r=t;while(++n<6)r+=e*p[n],p[n]=r%1e7,r=l(r/1e7)},v=function(e){var t=6,n=0;while(--t>=0)n+=p[t],p[t]=l(n/e),n=n%e*1e7},b=function(){var e=6,t="";while(--e>=0)if(""!==t||0===e||0!==p[e]){var n=String(p[e]);t=""===t?n:t+i.call("0",7-n.length)+n}return t};if(f<0||f>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(h="-",c=-c),c>1e-21)if(t=d(c*u(2,69,1))-69,n=t<0?c*u(2,-t,1):c/u(2,t,1),n*=4503599627370496,t=52-t,t>0){g(0,n),r=f;while(r>=7)g(1e7,0),r-=7;g(u(10,r,1),0),r=t-1;while(r>=23)v(1<<23),r-=23;v(1<<r),g(1,1),v(2),m=b()}else g(0,n),g(1<<-t,0),m=b()+i.call("0",f);return f>0?(s=m.length,m=h+(s<=f?"0."+i.call("0",f-s)+m:m.slice(0,s-f)+"."+m.slice(s-f))):m=h+m,m}})},b727:function(e,t,n){var r=n("0366"),o=n("44ad"),a=n("7b0b"),i=n("50c4"),s=n("65f0"),c=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,u=4==e,d=6==e,f=7==e,p=5==e||d;return function(h,m,g,v){for(var b,y,x=a(h),w=o(x),_=r(m,g,3),k=i(w.length),S=0,A=v||s,E=t?A(h,k):n||f?A(h,0):void 0;k>S;S++)if((p||S in w)&&(b=w[S],y=_(b,S,x),e))if(t)E[S]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return S;case 2:c.call(E,b)}else switch(e){case 4:return!1;case 7:c.call(E,b)}return d?-1:l||u?u:E}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterOut:l(7)}},b7fe:function(e,t,n){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var r=n("1652"),o=n("7656"),a=i(o);function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var s="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),c="0123456789".split(""),l="0123456789abcdefghijklmnopqrstuvwxyz".split(""),u=[" ","\f","\r","\t","\v"," "," ","᠎"],d=[],f=function(e){return new r.CharacterState(e)},p=f(),h=f(o.NUM),m=f(o.DOMAIN),g=f(),v=f(o.WS);p.on("@",f(o.AT)).on(".",f(o.DOT)).on("+",f(o.PLUS)).on("#",f(o.POUND)).on("?",f(o.QUERY)).on("/",f(o.SLASH)).on("_",f(o.UNDERSCORE)).on(":",f(o.COLON)).on("{",f(o.OPENBRACE)).on("[",f(o.OPENBRACKET)).on("<",f(o.OPENANGLEBRACKET)).on("(",f(o.OPENPAREN)).on("}",f(o.CLOSEBRACE)).on("]",f(o.CLOSEBRACKET)).on(">",f(o.CLOSEANGLEBRACKET)).on(")",f(o.CLOSEPAREN)).on("&",f(o.AMPERSAND)).on([",",";","!",'"',"'"],f(o.PUNCTUATION)),p.on("\n",f(o.NL)).on(u,v),v.on(u,v);for(var b=0;b<s.length;b++){var y=(0,r.stateify)(s[b],p,o.TLD,o.DOMAIN);d.push.apply(d,y)}var x=(0,r.stateify)("file",p,o.DOMAIN,o.DOMAIN),w=(0,r.stateify)("ftp",p,o.DOMAIN,o.DOMAIN),_=(0,r.stateify)("http",p,o.DOMAIN,o.DOMAIN),k=(0,r.stateify)("mailto",p,o.DOMAIN,o.DOMAIN);d.push.apply(d,x),d.push.apply(d,w),d.push.apply(d,_),d.push.apply(d,k);var S=x.pop(),A=w.pop(),E=_.pop(),M=k.pop(),O=f(o.DOMAIN),R=f(o.PROTOCOL),j=f(o.MAILTO);A.on("s",O).on(":",R),E.on("s",O).on(":",R),d.push(O),S.on(":",R),O.on(":",R),M.on(":",j);var T=(0,r.stateify)("localhost",p,o.LOCALHOST,o.DOMAIN);d.push.apply(d,T),p.on(c,h),h.on("-",g).on(c,h).on(l,m),m.on("-",g).on(l,m);for(var C=0;C<d.length;C++)d[C].on("-",g).on(l,m);g.on("-",g).on(c,m).on(l,m),p.defaultTransition=f(o.SYM);var L=function(e){var t=e.replace(/[A-Z]/g,(function(e){return e.toLowerCase()})),n=e.length,r=[],o=0;while(o<n){var a=p,i=null,s=0,c=null,l=-1;while(o<n&&(i=a.next(t[o])))a=i,a.accepts()?(l=0,c=a):l>=0&&l++,s++,o++;if(!(l<0)){o-=l,s-=l;var u=c.emit();r.push(new u(e.substr(o-s,s)))}}return r},I=p;t.State=r.CharacterState,t.TOKENS=a,t.run=L,t.start=I},b92f:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-box-search{position:-webkit-sticky;position:sticky;display:flex;align-items:center;height:64px;padding:0 15px}.vac-box-search .vac-icon-search{display:flex;position:absolute;left:30px}.vac-box-search .vac-icon-search svg{width:18px;height:18px}.vac-box-search .vac-input{height:38px;width:100%;background:var(--chat-bg-color-input);color:var(--chat-color);border-radius:4px;font-size:15px;outline:0;caret-color:var(--chat-color-caret);padding:10px 10px 10px 40px;border:1px solid var(--chat-sidemenu-border-color-search);border-radius:20px}.vac-box-search .vac-input::-moz-placeholder{color:var(--chat-color-placeholder)}.vac-box-search .vac-input:-ms-input-placeholder{color:var(--chat-color-placeholder)}.vac-box-search .vac-input::placeholder{color:var(--chat-color-placeholder)}.vac-box-search .vac-add-icon{margin-left:auto;padding-left:10px}@media only screen and (max-width:768px){.vac-box-search{height:58px}}",""]),e.exports=t},baa5:function(e,t,n){var r=n("23e7"),o=n("e58c");r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},bd43:function(e,t,n){"use strict";n.r(t),n.d(t,"isImageFile",(function(){return a})),n.d(t,"isVideoFile",(function(){return i})),n.d(t,"isAudioFile",(function(){return s}));n("caad"),n("45fc"),n("2532");var r=n("c9d9");function o(e,t){if(t&&t.type)return e.some((function(e){return t.type.toLowerCase().includes(e)}))}function a(e){return o(r["b"],e)}function i(e){return o(r["c"],e)}function s(e){return o(r["a"],e)}},bea1:function(e,t,n){"use strict";t.__esModule=!0,t.URL=t.TEXT=t.NL=t.EMAIL=t.MAILTOEMAIL=t.Base=void 0;var r=n("46f3"),o=n("254c"),a=n("7656");function i(e){return e instanceof a.DOMAIN||e instanceof a.TLD}var s=(0,r.createTokenClass)();s.prototype={type:"token",isLink:!1,toString:function(){for(var e=[],t=0;t<this.v.length;t++)e.push(this.v[t].toString());return e.join("")},toHref:function(){return this.toString()},toObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(e)}}};var c=(0,o.inherits)(s,(0,r.createTokenClass)(),{type:"email",isLink:!0}),l=(0,o.inherits)(s,(0,r.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),u=(0,o.inherits)(s,(0,r.createTokenClass)(),{type:"text"}),d=(0,o.inherits)(s,(0,r.createTokenClass)(),{type:"nl"}),f=(0,o.inherits)(s,(0,r.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",t=!1,n=!1,r=this.v,o=[],s=0;while(r[s]instanceof a.PROTOCOL)t=!0,o.push(r[s].toString().toLowerCase()),s++;while(r[s]instanceof a.SLASH)n=!0,o.push(r[s].toString()),s++;while(i(r[s]))o.push(r[s].toString().toLowerCase()),s++;for(;s<r.length;s++)o.push(r[s].toString());return o=o.join(""),t||n||(o=e+"://"+o),o},hasProtocol:function(){return this.v[0]instanceof a.PROTOCOL}});t.Base=s,t.MAILTOEMAIL=c,t.EMAIL=l,t.NL=d,t.TEXT=u,t.URL=f},c04e:function(e,t,n){var r=n("861d");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},c0b6:function(e,t,n){var r=n("23e7"),o=n("0538");r({target:"Function",proto:!0},{bind:o})},c1ac:function(e,t,n){"use strict";var r=n("ebb5"),o=n("b727").filter,a=n("4840"),i=r.aTypedArray,s=r.aTypedArrayConstructor,c=r.exportTypedArrayMethod;c("filter",(function(e){var t=o(i(this),e,arguments.length>1?arguments[1]:void 0),n=a(this,this.constructor),r=0,c=t.length,l=new(s(n))(c);while(c>r)l[r]=t[r++];return l}))},c1c7:function(e,t,n){var r=n("f139");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("27cd4e4b",r,e)}},c28b:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){var e="undefined"!=typeof window,t="undefined"!=typeof navigator,n=e&&("ontouchstart"in window||t&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"];function r(e){var t=e.event,n=e.handler;(0,e.middleware)(t)&&n(t)}function o(e,t){var o=function(e){var t="function"==typeof e;if(!t&&"object"!=typeof e)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:t?e:e.handler,middleware:e.middleware||function(e){return e},events:e.events||n,isActive:!(!1===e.isActive),detectIframe:!(!1===e.detectIframe)}}(t.value),a=o.handler,i=o.middleware,s=o.detectIframe;if(o.isActive){if(e["__v-click-outside"]=o.events.map((function(t){return{event:t,srcTarget:document.documentElement,handler:function(t){return function(e){var t=e.el,n=e.event,o=e.handler,a=e.middleware,i=n.path||n.composedPath&&n.composedPath();(i?i.indexOf(t)<0:!t.contains(n.target))&&r({event:n,handler:o,middleware:a})}({el:e,event:t,handler:a,middleware:i})}}})),s){var c={event:"blur",srcTarget:window,handler:function(t){return function(e){var t=e.el,n=e.event,o=e.handler,a=e.middleware;setTimeout((function(){var e=document.activeElement;e&&"IFRAME"===e.tagName&&!t.contains(e)&&r({event:n,handler:o,middleware:a})}),0)}({el:e,event:t,handler:a,middleware:i})}};e["__v-click-outside"]=[].concat(e["__v-click-outside"],[c])}e["__v-click-outside"].forEach((function(t){var n=t.event,r=t.srcTarget,o=t.handler;return setTimeout((function(){e["__v-click-outside"]&&r.addEventListener(n,o,!1)}),0)}))}}function a(e){(e["__v-click-outside"]||[]).forEach((function(e){return e.srcTarget.removeEventListener(e.event,e.handler,!1)})),delete e["__v-click-outside"]}var i=e?{bind:o,update:function(e,t){var n=t.value,r=t.oldValue;JSON.stringify(n)!==JSON.stringify(r)&&(a(e),o(e,{value:n}))},unbind:a}:{};return{install:function(e){e.directive("click-outside",i)},directive:i}}))},c3ec:function(e,t,n){"use strict";n("c749")},c430:function(e,t){e.exports=!1},c48f:function(e,t,n){"use strict";n("9926")},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var r=n("da84"),o=n("ce4e"),a="__core-js_shared__",i=r[a]||o(a,{});e.exports=i},c735:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-loader-wrapper.vac-container-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:9}.vac-loader-wrapper.vac-container-top{padding:21px}.vac-loader-wrapper.vac-container-top #vac-circle{height:20px;width:20px}.vac-loader-wrapper #vac-circle{margin:auto;height:28px;width:28px;border:3px solid rgba(0,0,0,.25);border-top:3px var(--chat-color-spinner) solid;border-right:3px var(--chat-color-spinner) solid;border-bottom:3px var(--chat-color-spinner) solid;border-radius:50%;-webkit-animation:vac-spin 1s linear infinite;animation:vac-spin 1s linear infinite}@media only screen and (max-width:768px){.vac-loader-wrapper #vac-circle{height:24px;width:24px}.vac-loader-wrapper.vac-container-top{padding:18px}.vac-loader-wrapper.vac-container-top #vac-circle{height:16px;width:16px}}@-webkit-keyframes vac-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes vac-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}",""]),e.exports=t},c749:function(e,t,n){var r=n("22bf");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("5284f0fe",r,e)}},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c8d2:function(e,t,n){var r=n("d039"),o=n("5899"),a="​᠎";e.exports=function(e){return r((function(){return!!o[e]()||a[e]()!=a||o[e].name!==e}))}},c975:function(e,t,n){"use strict";var r=n("23e7"),o=n("4d64").indexOf,a=n("a640"),i=n("ae40"),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,l=a("indexOf"),u=i("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:c||!l||!u},{indexOf:function(e){return c?s.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},c9d9:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var r=["png","jpg","jpeg","webp","svg","gif"],o=["mp4","video/ogg","webm","quicktime"],a=["mp3","audio/ogg","wav","mpeg"]},ca84:function(e,t,n){var r=n("5135"),o=n("fc6a"),a=n("4d64").indexOf,i=n("d012");e.exports=function(e,t){var n,s=o(e),c=0,l=[];for(n in s)!r(i,n)&&r(s,n)&&l.push(n);while(t.length>c)r(s,n=t[c++])&&(~a(l,n)||l.push(n));return l}},ca91:function(e,t,n){"use strict";var r=n("ebb5"),o=n("d58f").left,a=r.aTypedArray,i=r.exportTypedArrayMethod;i("reduce",(function(e){return o(a(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},caad:function(e,t,n){"use strict";var r=n("23e7"),o=n("4d64").includes,a=n("44d2"),i=n("ae40"),s=i("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:!s},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},cc12:function(e,t,n){var r=n("da84"),o=n("861d"),a=r.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},cc71:function(e,t,n){"use strict";var r=n("23e7"),o=n("857a"),a=n("af03");r({target:"String",proto:!0,forced:a("bold")},{bold:function(){return o(this,"b","","")}})},cca6:function(e,t,n){var r=n("23e7"),o=n("60da");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},cd26:function(e,t,n){"use strict";var r=n("ebb5"),o=r.aTypedArray,a=r.exportTypedArrayMethod,i=Math.floor;a("reverse",(function(){var e,t=this,n=o(t).length,r=i(n/2),a=0;while(a<r)e=t[a],t[a++]=t[--n],t[n]=e;return t}))},cdf9:function(e,t,n){var r=n("825a"),o=n("861d"),a=n("f069");e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=a.f(e),i=n.resolve;return i(t),n.promise}},ce4e:function(e,t,n){var r=n("da84"),o=n("9112");e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},cfc3:function(e,t,n){var r=n("74e8");r("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("428f"),o=n("da84"),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e])||a(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},d139:function(e,t,n){"use strict";var r=n("ebb5"),o=n("b727").find,a=r.aTypedArray,i=r.exportTypedArrayMethod;i("find",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0)}))},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!r.call({1:2},1);t.f=a?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},d28b:function(e,t,n){var r=n("746f");r("iterator")},d2bb:function(e,t,n){var r=n("825a"),o=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(a){}return function(n,a){return r(n),o(a),t?e.call(n,a):n.__proto__=a,n}}():void 0)},d3b7:function(e,t,n){var r=n("00ee"),o=n("6eeb"),a=n("b041");r||o(Object.prototype,"toString",a,{unsafe:!0})},d44e:function(e,t,n){var r=n("9bf2").f,o=n("5135"),a=n("b622"),i=a("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},d48d:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.vac-wrapper{position:relative;display:flex}.vac-wrapper .vac-emoji-picker{position:absolute;z-index:9999;bottom:32px;right:10px;width:240px;overflow:scroll;padding:16px;box-sizing:border-box;border-radius:.5rem;background:var(--chat-emoji-bg-color);box-shadow:0 1px 2px -2px rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1),0 1px 2px 1px rgba(0,0,0,.1)}.vac-wrapper .vac-picker-reaction{position:fixed;top:auto;right:auto}.vac-wrapper .vac-emoji-picker__search{display:flex}.vac-wrapper .vac-emoji-picker__search>input{flex:1;border-radius:10rem;border:var(--chat-border-style);padding:5px 10px;outline:none;background:var(--chat-bg-color-input);color:var(--chat-color)}.vac-wrapper .vac-emoji-picker h5{margin:15px 0 8px;color:#b1b1b1;text-transform:uppercase;font-size:.8rem;cursor:default}.vac-wrapper .vac-emoji-picker .vac-emojis{display:flex;flex-wrap:wrap;justify-content:space-between}.vac-wrapper .vac-emoji-picker .vac-emojis:after{content:"";flex:auto}.vac-wrapper .vac-emoji-picker .vac-emojis span{padding:.2rem;cursor:pointer;border-radius:5px}.vac-wrapper .vac-emoji-picker .vac-emojis span:hover{background:var(--chat-sidemenu-bg-color-hover);cursor:pointer}.vac-wrapper .vac-emoji-reaction svg{height:19px;width:19px}',""]),e.exports=t},d58f:function(e,t,n){var r=n("1c0b"),o=n("7b0b"),a=n("44ad"),i=n("50c4"),s=function(e){return function(t,n,s,c){r(n);var l=o(t),u=a(l),d=i(l.length),f=e?d-1:0,p=e?-1:1;if(s<2)while(1){if(f in u){c=u[f],f+=p;break}if(f+=p,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=p)f in u&&(c=n(c,u[f],f,l));return c}};e.exports={left:s(!1),right:s(!0)}},d5d6:function(e,t,n){"use strict";var r=n("ebb5"),o=n("b727").forEach,a=r.aTypedArray,i=r.exportTypedArrayMethod;i("forEach",(function(e){o(a(this),e,arguments.length>1?arguments[1]:void 0)}))},d62c:function(e,t,n){var r=n("172b");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("3934ec4b",r,e)}},d784:function(e,t,n){"use strict";n("ac1f");var r=n("6eeb"),o=n("d039"),a=n("b622"),i=n("9263"),s=n("9112"),c=a("species"),l=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u=function(){return"$0"==="a".replace(/./,"$0")}(),d=a("replace"),f=function(){return!!/./[d]&&""===/./[d]("a","$0")}(),p=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var h=a(e),m=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),g=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!g||"replace"===e&&(!l||!u||f)||"split"===e&&!p){var v=/./[h],b=n(h,""[e],(function(e,t,n,r,o){return t.exec===i?m&&!o?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),y=b[0],x=b[1];r(String.prototype,e,y),r(RegExp.prototype,h,2==t?function(e,t){return x.call(e,this,t)}:function(e){return x.call(e,this)})}d&&s(RegExp.prototype[h],"sham",!0)}},d81d:function(e,t,n){"use strict";var r=n("23e7"),o=n("b727").map,a=n("1dde"),i=n("ae40"),s=a("map"),c=i("map");r({target:"Array",proto:!0,forced:!s||!c},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},db18:function(e,t){if("undefined"===typeof lamejs){var n=new Error("Cannot find module 'lamejs'");throw n.code="MODULE_NOT_FOUND",n}e.exports=lamejs},dbb4:function(e,t,n){var r=n("23e7"),o=n("83ab"),a=n("56ef"),i=n("fc6a"),s=n("06cf"),c=n("8418");r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){var t,n,r=i(e),o=s.f,l=a(r),u={},d=0;while(l.length>d)n=o(r,t=l[d++]),void 0!==n&&c(u,t,n);return u}})},ddb0:function(e,t,n){var r=n("da84"),o=n("fdbc"),a=n("e260"),i=n("9112"),s=n("b622"),c=s("iterator"),l=s("toStringTag"),u=a.values;for(var d in o){var f=r[d],p=f&&f.prototype;if(p){if(p[c]!==u)try{i(p,c,u)}catch(m){p[c]=u}if(p[l]||i(p,l,d),o[d])for(var h in a)if(p[h]!==a[h])try{i(p,h,a[h])}catch(m){p[h]=a[h]}}}},df75:function(e,t,n){var r=n("ca84"),o=n("7839");e.exports=Object.keys||function(e){return r(e,o)}},e01a:function(e,t,n){"use strict";var r=n("23e7"),o=n("83ab"),a=n("da84"),i=n("5135"),s=n("861d"),c=n("9bf2").f,l=n("e893"),u=a.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};l(f,u);var p=f.prototype=u.prototype;p.constructor=f;var h=p.toString,m="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;c(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=h.call(e);if(i(d,e))return"";var n=m?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:f})}},e163:function(e,t,n){var r=n("5135"),o=n("7b0b"),a=n("f772"),i=n("e177"),s=a("IE_PROTO"),c=Object.prototype;e.exports=i?Object.getPrototypeOf:function(e){return e=o(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},e166:function(e,t,n){
  /*!
   * vue-infinite-loading v2.4.5
   * (c) 2016-2021 PeachScript
   * MIT License
   */
  !function(t,n){e.exports=n()}(0,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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(n.s=9)}([function(e,t,n){var r=n(6);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(3).default)("09280948",r,!0,{})},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var a=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),i=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[r].concat(i).concat([a]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var a=this[o][0];"number"==typeof a&&(r[a]=!0)}for(o=0;o<e.length;o++){var i=e[o];"number"==typeof i[0]&&r[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),t.push(i))}},t}},function(e,t,n){var r=n(8);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(3).default)("5f444915",r,!0,{})},function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;o<t.length;o++){var a=t[o],i=a[0],s={id:e+":"+o,css:a[1],media:a[2],sourceMap:a[3]};r[i]?r[i].parts.push(s):n.push(r[i]={id:i,parts:[s]})}return n}n.r(t),n.d(t,"default",(function(){return p}));var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},i=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,u=function(){},d=null,f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,n,o){l=n,d=o||{};var i=r(e,t);return h(i),function(t){for(var n=[],o=0;o<i.length;o++){var s=i[o];(c=a[s.id]).refs--,n.push(c)}for(t?h(i=r(e,t)):i=[],o=0;o<n.length;o++){var c;if(0===(c=n[o]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete a[c.id]}}}}function h(e){for(var t=0;t<e.length;t++){var n=e[t],r=a[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(g(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var i=[];for(o=0;o<n.parts.length;o++)i.push(g(n.parts[o]));a[n.id]={id:n.id,refs:1,parts:i}}}}function m(){var e=document.createElement("style");return e.type="text/css",i.appendChild(e),e}function g(e){var t,n,r=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(r){if(l)return u;r.parentNode.removeChild(r)}if(f){var o=c++;r=s||(s=m()),t=y.bind(null,r,o,!1),n=y.bind(null,r,o,!0)}else r=m(),t=x.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var v,b=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function y(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=b(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function x(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute("data-vue-ssr-id",t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.r(t);var r=n(0);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,'.loading-wave-dots[data-v-46b20d22]{position:relative}.loading-wave-dots[data-v-46b20d22] .wave-item{position:absolute;top:50%;left:50%;display:inline-block;margin-top:-4px;width:8px;height:8px;border-radius:50%;-webkit-animation:loading-wave-dots-data-v-46b20d22 linear 2.8s infinite;animation:loading-wave-dots-data-v-46b20d22 linear 2.8s infinite}.loading-wave-dots[data-v-46b20d22] .wave-item:first-child{margin-left:-36px}.loading-wave-dots[data-v-46b20d22] .wave-item:nth-child(2){margin-left:-20px;-webkit-animation-delay:.14s;animation-delay:.14s}.loading-wave-dots[data-v-46b20d22] .wave-item:nth-child(3){margin-left:-4px;-webkit-animation-delay:.28s;animation-delay:.28s}.loading-wave-dots[data-v-46b20d22] .wave-item:nth-child(4){margin-left:12px;-webkit-animation-delay:.42s;animation-delay:.42s}.loading-wave-dots[data-v-46b20d22] .wave-item:last-child{margin-left:28px;-webkit-animation-delay:.56s;animation-delay:.56s}@-webkit-keyframes loading-wave-dots-data-v-46b20d22{0%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}10%{-webkit-transform:translateY(-6px);transform:translateY(-6px);background:#999}20%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}to{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}}@keyframes loading-wave-dots-data-v-46b20d22{0%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}10%{-webkit-transform:translateY(-6px);transform:translateY(-6px);background:#999}20%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}to{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}}.loading-circles[data-v-46b20d22] .circle-item{width:5px;height:5px;-webkit-animation:loading-circles-data-v-46b20d22 linear .75s infinite;animation:loading-circles-data-v-46b20d22 linear .75s infinite}.loading-circles[data-v-46b20d22] .circle-item:first-child{margin-top:-14.5px;margin-left:-2.5px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(2){margin-top:-11.26px;margin-left:6.26px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(3){margin-top:-2.5px;margin-left:9.5px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(4){margin-top:6.26px;margin-left:6.26px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(5){margin-top:9.5px;margin-left:-2.5px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(6){margin-top:6.26px;margin-left:-11.26px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(7){margin-top:-2.5px;margin-left:-14.5px}.loading-circles[data-v-46b20d22] .circle-item:last-child{margin-top:-11.26px;margin-left:-11.26px}@-webkit-keyframes loading-circles-data-v-46b20d22{0%{background:#dfdfdf}90%{background:#505050}to{background:#dfdfdf}}@keyframes loading-circles-data-v-46b20d22{0%{background:#dfdfdf}90%{background:#505050}to{background:#dfdfdf}}.loading-bubbles[data-v-46b20d22] .bubble-item{background:#666;-webkit-animation:loading-bubbles-data-v-46b20d22 linear .75s infinite;animation:loading-bubbles-data-v-46b20d22 linear .75s infinite}.loading-bubbles[data-v-46b20d22] .bubble-item:first-child{margin-top:-12.5px;margin-left:-.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(2){margin-top:-9.26px;margin-left:8.26px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(3){margin-top:-.5px;margin-left:11.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(4){margin-top:8.26px;margin-left:8.26px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(5){margin-top:11.5px;margin-left:-.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(6){margin-top:8.26px;margin-left:-9.26px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(7){margin-top:-.5px;margin-left:-12.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:last-child{margin-top:-9.26px;margin-left:-9.26px}@-webkit-keyframes loading-bubbles-data-v-46b20d22{0%{width:1px;height:1px;box-shadow:0 0 0 3px #666}90%{width:1px;height:1px;box-shadow:0 0 0 0 #666}to{width:1px;height:1px;box-shadow:0 0 0 3px #666}}@keyframes loading-bubbles-data-v-46b20d22{0%{width:1px;height:1px;box-shadow:0 0 0 3px #666}90%{width:1px;height:1px;box-shadow:0 0 0 0 #666}to{width:1px;height:1px;box-shadow:0 0 0 3px #666}}.loading-default[data-v-46b20d22]{position:relative;border:1px solid #999;-webkit-animation:loading-rotating-data-v-46b20d22 ease 1.5s infinite;animation:loading-rotating-data-v-46b20d22 ease 1.5s infinite}.loading-default[data-v-46b20d22]:before{content:"";position:absolute;display:block;top:0;left:50%;margin-top:-3px;margin-left:-3px;width:6px;height:6px;background-color:#999;border-radius:50%}.loading-spiral[data-v-46b20d22]{border:2px solid #777;border-right-color:transparent;-webkit-animation:loading-rotating-data-v-46b20d22 linear .85s infinite;animation:loading-rotating-data-v-46b20d22 linear .85s infinite}@-webkit-keyframes loading-rotating-data-v-46b20d22{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loading-rotating-data-v-46b20d22{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loading-bubbles[data-v-46b20d22],.loading-circles[data-v-46b20d22]{position:relative}.loading-bubbles[data-v-46b20d22] .bubble-item,.loading-circles[data-v-46b20d22] .circle-item{position:absolute;top:50%;left:50%;display:inline-block;border-radius:50%}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(2),.loading-circles[data-v-46b20d22] .circle-item:nth-child(2){-webkit-animation-delay:93ms;animation-delay:93ms}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(3),.loading-circles[data-v-46b20d22] .circle-item:nth-child(3){-webkit-animation-delay:.186s;animation-delay:.186s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(4),.loading-circles[data-v-46b20d22] .circle-item:nth-child(4){-webkit-animation-delay:.279s;animation-delay:.279s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(5),.loading-circles[data-v-46b20d22] .circle-item:nth-child(5){-webkit-animation-delay:.372s;animation-delay:.372s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(6),.loading-circles[data-v-46b20d22] .circle-item:nth-child(6){-webkit-animation-delay:.465s;animation-delay:.465s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(7),.loading-circles[data-v-46b20d22] .circle-item:nth-child(7){-webkit-animation-delay:.558s;animation-delay:.558s}.loading-bubbles[data-v-46b20d22] .bubble-item:last-child,.loading-circles[data-v-46b20d22] .circle-item:last-child{-webkit-animation-delay:.651s;animation-delay:.651s}',""])},function(e,t,n){"use strict";n.r(t);var r=n(2);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".infinite-loading-container[data-v-670d0042]{clear:both;text-align:center}.infinite-loading-container[data-v-670d0042] [class^=loading-]{display:inline-block;margin:5px 0;width:28px;height:28px;font-size:28px;line-height:28px;border-radius:50%}.btn-try-infinite[data-v-670d0042]{margin-top:5px;padding:5px 10px;color:#999;font-size:14px;line-height:1;background:transparent;border:1px solid #ccc;border-radius:3px;outline:none;cursor:pointer}.btn-try-infinite[data-v-670d0042]:not(:active):hover{opacity:.8}",""])},function(e,t,n){"use strict";n.r(t);var r={throttleLimit:50,loopCheckTimeout:1e3,loopCheckMaxCalls:10},o=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e={passive:!0},!0}});window.addEventListener("testpassive",t,t),window.remove("testpassive",t,t)}catch(e){}return e}(),a={STATE_CHANGER:["emit `loaded` and `complete` event through component instance of `$refs` may cause error, so it will be deprecated soon, please use the `$state` argument instead (`$state` just the special `$event` variable):","\ntemplate:",'<infinite-loading @infinite="infiniteHandler"></infinite-loading>',"\nscript:\n...\ninfiniteHandler($state) {\n  ajax('https://www.example.com/api/news')\n    .then((res) => {\n      if (res.data.length) {\n        $state.loaded();\n      } else {\n        $state.complete();\n      }\n    });\n}\n...","","more details: https://github.com/PeachScript/vue-infinite-loading/issues/57#issuecomment-324370549"].join("\n"),INFINITE_EVENT:"`:on-infinite` property will be deprecated soon, please use `@infinite` event instead.",IDENTIFIER:"the `reset` event will be deprecated soon, please reset this component by change the `identifier` property."},i={INFINITE_LOOP:["executed the callback function more than ".concat(r.loopCheckMaxCalls," times for a short time, it looks like searched a wrong scroll wrapper that doest not has fixed height or maximum height, please check it. If you want to force to set a element as scroll wrapper ranther than automatic searching, you can do this:"),'\n\x3c!-- add a special attribute for the real scroll wrapper --\x3e\n<div infinite-wrapper>\n  ...\n  \x3c!-- set force-use-infinite-wrapper --\x3e\n  <infinite-loading force-use-infinite-wrapper></infinite-loading>\n</div>\nor\n<div class="infinite-wrapper">\n  ...\n  \x3c!-- set force-use-infinite-wrapper as css selector of the real scroll wrapper --\x3e\n  <infinite-loading force-use-infinite-wrapper=".infinite-wrapper"></infinite-loading>\n</div>\n    ',"more details: https://github.com/PeachScript/vue-infinite-loading/issues/55#issuecomment-316934169"].join("\n")},s={READY:0,LOADING:1,COMPLETE:2,ERROR:3},c={color:"#666",fontSize:"14px",padding:"10px 0"},l={mode:"development",props:{spinner:"default",distance:100,forceUseInfiniteWrapper:!1},system:r,slots:{noResults:"No results :(",noMore:"No more data :)",error:"Opps, something went wrong :(",errorBtnText:"Retry",spinner:""},WARNINGS:a,ERRORS:i,STATUS:s},u=n(4),d=n.n(u),f={BUBBLES:{render:function(e){return e("span",{attrs:{class:"loading-bubbles"}},Array.apply(Array,Array(8)).map((function(){return e("span",{attrs:{class:"bubble-item"}})})))}},CIRCLES:{render:function(e){return e("span",{attrs:{class:"loading-circles"}},Array.apply(Array,Array(8)).map((function(){return e("span",{attrs:{class:"circle-item"}})})))}},DEFAULT:{render:function(e){return e("i",{attrs:{class:"loading-default"}})}},SPIRAL:{render:function(e){return e("i",{attrs:{class:"loading-spiral"}})}},WAVEDOTS:{render:function(e){return e("span",{attrs:{class:"loading-wave-dots"}},Array.apply(Array,Array(5)).map((function(){return e("span",{attrs:{class:"wave-item"}})})))}}};function p(e,t,n,r,o,a,i,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}var h=p({name:"Spinner",computed:{spinnerView:function(){return f[(this.$attrs.spinner||"").toUpperCase()]||this.spinnerInConfig},spinnerInConfig:function(){return l.slots.spinner&&"string"==typeof l.slots.spinner?{render:function(){return this._v(l.slots.spinner)}}:"object"===d()(l.slots.spinner)?l.slots.spinner:f[l.props.spinner.toUpperCase()]||f.DEFAULT}}},(function(){var e=this.$createElement;return(this._self._c||e)(this.spinnerView,{tag:"component"})}),[],!1,(function(e){var t=n(5);t.__inject__&&t.__inject__(e)}),"46b20d22",null).exports;function m(e){"production"!==l.mode&&console.warn("[Vue-infinite-loading warn]: ".concat(e))}function g(e){console.error("[Vue-infinite-loading error]: ".concat(e))}var v={timers:[],caches:[],throttle:function(e){var t=this;-1===this.caches.indexOf(e)&&(this.caches.push(e),this.timers.push(setTimeout((function(){e(),t.caches.splice(t.caches.indexOf(e),1),t.timers.shift()}),l.system.throttleLimit)))},reset:function(){this.timers.forEach((function(e){clearTimeout(e)})),this.timers.length=0,this.caches=[]}},b={isChecked:!1,timer:null,times:0,track:function(){var e=this;this.times+=1,clearTimeout(this.timer),this.timer=setTimeout((function(){e.isChecked=!0}),l.system.loopCheckTimeout),this.times>l.system.loopCheckMaxCalls&&(g(i.INFINITE_LOOP),this.isChecked=!0)}},y={key:"_infiniteScrollHeight",getScrollElm:function(e){return e===window?document.documentElement:e},save:function(e){var t=this.getScrollElm(e);t[this.key]=t.scrollHeight},restore:function(e){var t=this.getScrollElm(e);"number"==typeof t[this.key]&&(t.scrollTop=t.scrollHeight-t[this.key]+t.scrollTop),this.remove(t)},remove:function(e){void 0!==e[this.key]&&delete e[this.key]}};function x(e){return e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())}))}function w(e){return e.offsetWidth+e.offsetHeight>0}var _=p({name:"InfiniteLoading",data:function(){return{scrollParent:null,scrollHandler:null,isFirstLoad:!0,status:s.READY,slots:l.slots}},components:{Spinner:h},computed:{isShowSpinner:function(){return this.status===s.LOADING},isShowError:function(){return this.status===s.ERROR},isShowNoResults:function(){return this.status===s.COMPLETE&&this.isFirstLoad},isShowNoMore:function(){return this.status===s.COMPLETE&&!this.isFirstLoad},slotStyles:function(){var e=this,t={};return Object.keys(l.slots).forEach((function(n){var r=x(n);(!e.$slots[r]&&!l.slots[n].render||e.$slots[r]&&!e.$slots[r][0].tag)&&(t[n]=c)})),t}},props:{distance:{type:Number,default:l.props.distance},spinner:String,direction:{type:String,default:"bottom"},forceUseInfiniteWrapper:{type:[Boolean,String],default:l.props.forceUseInfiniteWrapper},identifier:{default:+new Date},webComponentName:{type:[String]},onInfinite:Function},watch:{identifier:function(){this.stateChanger.reset()}},mounted:function(){var e=this;this.$watch("forceUseInfiniteWrapper",(function(){e.scrollParent=e.getScrollParent()}),{immediate:!0}),this.scrollHandler=function(t){e.status===s.READY&&(t&&t.constructor===Event&&w(e.$el)?v.throttle(e.attemptLoad):e.attemptLoad())},setTimeout((function(){e.scrollHandler(),e.scrollParent.addEventListener("scroll",e.scrollHandler,o)}),1),this.$on("$InfiniteLoading:loaded",(function(t){e.isFirstLoad=!1,"top"===e.direction&&e.$nextTick((function(){y.restore(e.scrollParent)})),e.status===s.LOADING&&e.$nextTick(e.attemptLoad.bind(null,!0)),t&&t.target===e||m(a.STATE_CHANGER)})),this.$on("$InfiniteLoading:complete",(function(t){e.status=s.COMPLETE,e.$nextTick((function(){e.$forceUpdate()})),e.scrollParent.removeEventListener("scroll",e.scrollHandler,o),t&&t.target===e||m(a.STATE_CHANGER)})),this.$on("$InfiniteLoading:reset",(function(t){e.status=s.READY,e.isFirstLoad=!0,y.remove(e.scrollParent),e.scrollParent.addEventListener("scroll",e.scrollHandler,o),setTimeout((function(){v.reset(),e.scrollHandler()}),1),t&&t.target===e||m(a.IDENTIFIER)})),this.stateChanger={loaded:function(){e.$emit("$InfiniteLoading:loaded",{target:e})},complete:function(){e.$emit("$InfiniteLoading:complete",{target:e})},reset:function(){e.$emit("$InfiniteLoading:reset",{target:e})},error:function(){e.status=s.ERROR,v.reset()}},this.onInfinite&&m(a.INFINITE_EVENT)},deactivated:function(){this.status===s.LOADING&&(this.status=s.READY),this.scrollParent.removeEventListener("scroll",this.scrollHandler,o)},activated:function(){this.scrollParent.addEventListener("scroll",this.scrollHandler,o)},methods:{attemptLoad:function(e){var t=this;this.status!==s.COMPLETE&&w(this.$el)&&this.getCurrentDistance()<=this.distance?(this.status=s.LOADING,"top"===this.direction&&this.$nextTick((function(){y.save(t.scrollParent)})),"function"==typeof this.onInfinite?this.onInfinite.call(null,this.stateChanger):this.$emit("infinite",this.stateChanger),!e||this.forceUseInfiniteWrapper||b.isChecked||b.track()):this.status===s.LOADING&&(this.status=s.READY)},getCurrentDistance:function(){var e;return e="top"===this.direction?"number"==typeof this.scrollParent.scrollTop?this.scrollParent.scrollTop:this.scrollParent.pageYOffset:this.$el.getBoundingClientRect().top-(this.scrollParent===window?window.innerHeight:this.scrollParent.getBoundingClientRect().bottom),e},getScrollParent:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el;return"string"==typeof this.forceUseInfiniteWrapper&&(this.webComponentName&&(t=document.querySelector(this.webComponentName)),e=t?t.shadowRoot.querySelector(this.forceUseInfiniteWrapper):document.querySelector(this.forceUseInfiniteWrapper)),e||("BODY"===n.tagName?e=window:(!this.forceUseInfiniteWrapper&&["scroll","auto"].indexOf(getComputedStyle(n).overflowY)>-1||n.hasAttribute("infinite-wrapper")||n.hasAttribute("data-infinite-wrapper"))&&(e=n)),e||this.getScrollParent(n.parentNode)}},destroyed:function(){!this.status!==s.COMPLETE&&(v.reset(),y.remove(this.scrollParent),this.scrollParent.removeEventListener("scroll",this.scrollHandler,o))}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"infinite-loading-container"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSpinner,expression:"isShowSpinner"}],staticClass:"infinite-status-prompt",style:e.slotStyles.spinner},[e._t("spinner",[n("spinner",{attrs:{spinner:e.spinner}})],null,{isFirstLoad:e.isFirstLoad})],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowNoResults,expression:"isShowNoResults"}],staticClass:"infinite-status-prompt",style:e.slotStyles.noResults},[e._t("no-results",[e.slots.noResults.render?n(e.slots.noResults,{tag:"component"}):[e._v(e._s(e.slots.noResults))]])],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowNoMore,expression:"isShowNoMore"}],staticClass:"infinite-status-prompt",style:e.slotStyles.noMore},[e._t("no-more",[e.slots.noMore.render?n(e.slots.noMore,{tag:"component"}):[e._v(e._s(e.slots.noMore))]])],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowError,expression:"isShowError"}],staticClass:"infinite-status-prompt",style:e.slotStyles.error},[e._t("error",[e.slots.error.render?n(e.slots.error,{tag:"component",attrs:{trigger:e.attemptLoad}}):[e._v("\n        "+e._s(e.slots.error)+"\n        "),n("br"),e._v(" "),n("button",{staticClass:"btn-try-infinite",domProps:{textContent:e._s(e.slots.errorBtnText)},on:{click:e.attemptLoad}})]],{trigger:e.attemptLoad})],2)])}),[],!1,(function(e){var t=n(7);t.__inject__&&t.__inject__(e)}),"670d0042",null).exports;function k(e){l.mode=e.config.productionTip?"development":"production"}Object.defineProperty(_,"install",{configurable:!1,enumerable:!1,value:function(e,t){Object.assign(l.props,t&&t.props),Object.assign(l.slots,t&&t.slots),Object.assign(l.system,t&&t.system),e.component("infinite-loading",_),k(e)}}),"undefined"!=typeof window&&window.Vue&&(window.Vue.component("infinite-loading",_),k(window.Vue)),t.default=_}])}))},e177:function(e,t,n){var r=n("d039");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,n){"use strict";var r=n("fc6a"),o=n("44d2"),a=n("3f8c"),i=n("69f3"),s=n("7dd0"),c="Array Iterator",l=i.set,u=i.getterFor(c);e.exports=s(Array,"Array",(function(e,t){l(this,{type:c,target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),a.Arguments=a.Array,o("keys"),o("values"),o("entries")},e2cc:function(e,t,n){var r=n("6eeb");e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},e325:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-audio-player{display:flex;margin:8px 0 5px}.vac-audio-player .vac-svg-button{max-width:18px;margin-left:7px}@media only screen and (max-width:768px){.vac-audio-player{margin:4px 0 0}.vac-audio-player .vac-svg-button{max-width:16px;margin-left:5px}}",""]),e.exports=t},e439:function(e,t,n){var r=n("23e7"),o=n("d039"),a=n("fc6a"),i=n("06cf").f,s=n("83ab"),c=o((function(){i(1)})),l=!s||c;r({target:"Object",stat:!0,forced:l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return i(a(e),t)}})},e498:function(e,t,n){"use strict";n("6534")},e4a8:function(e,t,n){var r=n("e325");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("e8f1516a",r,e)}},e4dc:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-player-bar{display:flex;align-items:center;max-width:calc(100% - 18px);margin-right:7px;margin-left:20px}.vac-player-bar .vac-player-progress{width:190px}.vac-player-bar .vac-player-progress .vac-line-container{position:relative;height:4px;border-radius:5px;background-color:var(--chat-message-bg-color-audio-line)}.vac-player-bar .vac-player-progress .vac-line-container .vac-line-progress{position:absolute;height:inherit;background-color:var(--chat-message-bg-color-audio-progress);border-radius:inherit}.vac-player-bar .vac-player-progress .vac-line-container .vac-line-dot{position:absolute;top:-5px;margin-left:-7px;height:14px;width:14px;border-radius:50%;background-color:var(--chat-message-bg-color-audio-progress-selector);transition:transform .25s}.vac-player-bar .vac-player-progress .vac-line-container .vac-line-dot__active{transform:scale(1.2)}@media only screen and (max-width:768px){.vac-player-bar{margin-right:5px}.vac-player-bar .vac-player-progress .vac-line-container{height:3px}.vac-player-bar .vac-player-progress .vac-line-container .vac-line-dot{height:12px;width:12px;top:-5px;margin-left:-5px}}",""]),e.exports=t},e538:function(e,t,n){var r=n("b622");t.f=r},e58c:function(e,t,n){"use strict";var r=n("fc6a"),o=n("a691"),a=n("50c4"),i=n("a640"),s=n("ae40"),c=Math.min,l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0,d=i("lastIndexOf"),f=s("indexOf",{ACCESSORS:!0,1:0}),p=u||!d||!f;e.exports=p?function(e){if(u)return l.apply(this,arguments)||0;var t=r(this),n=a(t.length),i=n-1;for(arguments.length>1&&(i=c(i,o(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}:l},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,n){"use strict";var r,o,a,i,s=n("23e7"),c=n("c430"),l=n("da84"),u=n("d066"),d=n("fea9"),f=n("6eeb"),p=n("e2cc"),h=n("d44e"),m=n("2626"),g=n("861d"),v=n("1c0b"),b=n("19aa"),y=n("8925"),x=n("2266"),w=n("1c7e"),_=n("4840"),k=n("2cf4").set,S=n("b575"),A=n("cdf9"),E=n("44de"),M=n("f069"),O=n("e667"),R=n("69f3"),j=n("94ca"),T=n("b622"),C=n("605d"),L=n("2d00"),I=T("species"),P="Promise",N=R.get,U=R.set,F=R.getterFor(P),$=d,B=l.TypeError,q=l.document,D=l.process,z=u("fetch"),H=M.f,V=H,Y=!!(q&&q.createEvent&&l.dispatchEvent),G="function"==typeof PromiseRejectionEvent,K="unhandledrejection",W="rejectionhandled",Z=0,X=1,J=2,Q=1,ee=2,te=j(P,(function(){var e=y($)!==String($);if(!e){if(66===L)return!0;if(!C&&!G)return!0}if(c&&!$.prototype["finally"])return!0;if(L>=51&&/native code/.test($))return!1;var t=$.resolve(1),n=function(e){e((function(){}),(function(){}))},r=t.constructor={};return r[I]=n,!(t.then((function(){}))instanceof n)})),ne=te||!w((function(e){$.all(e)["catch"]((function(){}))})),re=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},oe=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;S((function(){var r=e.value,o=e.state==X,a=0;while(n.length>a){var i,s,c,l=n[a++],u=o?l.ok:l.fail,d=l.resolve,f=l.reject,p=l.domain;try{u?(o||(e.rejection===ee&&ce(e),e.rejection=Q),!0===u?i=r:(p&&p.enter(),i=u(r),p&&(p.exit(),c=!0)),i===l.promise?f(B("Promise-chain cycle")):(s=re(i))?s.call(i,d,f):d(i)):f(r)}catch(h){p&&!c&&p.exit(),f(h)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ie(e)}))}},ae=function(e,t,n){var r,o;Y?(r=q.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},!G&&(o=l["on"+e])?o(r):e===K&&E("Unhandled promise rejection",n)},ie=function(e){k.call(l,(function(){var t,n=e.facade,r=e.value,o=se(e);if(o&&(t=O((function(){C?D.emit("unhandledRejection",r,n):ae(K,n,r)})),e.rejection=C||se(e)?ee:Q,t.error))throw t.value}))},se=function(e){return e.rejection!==Q&&!e.parent},ce=function(e){k.call(l,(function(){var t=e.facade;C?D.emit("rejectionHandled",t):ae(W,t,e.value)}))},le=function(e,t,n){return function(r){e(t,r,n)}},ue=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=J,oe(e,!0))},de=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw B("Promise can't be resolved itself");var r=re(t);r?S((function(){var n={done:!1};try{r.call(t,le(de,n,e),le(ue,n,e))}catch(o){ue(n,o,e)}})):(e.value=t,e.state=X,oe(e,!1))}catch(o){ue({done:!1},o,e)}}};te&&($=function(e){b(this,$,P),v(e),r.call(this);var t=N(this);try{e(le(de,t),le(ue,t))}catch(n){ue(t,n)}},r=function(e){U(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Z,value:void 0})},r.prototype=p($.prototype,{then:function(e,t){var n=F(this),r=H(_(this,$));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=C?D.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=Z&&oe(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=N(e);this.promise=e,this.resolve=le(de,t),this.reject=le(ue,t)},M.f=H=function(e){return e===$||e===a?new o(e):V(e)},c||"function"!=typeof d||(i=d.prototype.then,f(d.prototype,"then",(function(e,t){var n=this;return new $((function(e,t){i.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof z&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return A($,z.apply(l,arguments))}}))),s({global:!0,wrap:!0,forced:te},{Promise:$}),h($,P,!1,!0),m(P),a=u(P),s({target:P,stat:!0,forced:te},{reject:function(e){var t=H(this);return t.reject.call(void 0,e),t.promise}}),s({target:P,stat:!0,forced:c||te},{resolve:function(e){return A(c&&this===a?$:this,e)}}),s({target:P,stat:!0,forced:ne},{all:function(e){var t=this,n=H(t),r=n.resolve,o=n.reject,a=O((function(){var n=v(t.resolve),a=[],i=0,s=1;x(e,(function(e){var c=i++,l=!1;a.push(void 0),s++,n.call(t,e).then((function(e){l||(l=!0,a[c]=e,--s||r(a))}),o)})),--s||r(a)}));return a.error&&o(a.value),n.promise},race:function(e){var t=this,n=H(t),r=n.reject,o=O((function(){var o=v(t.resolve);x(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},e787:function(e,t,n){var r=n("5eed");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("2ed4582b",r,e)}},e83d:function(e,t,n){"use strict";n("23e8")},e893:function(e,t,n){var r=n("5135"),o=n("56ef"),a=n("06cf"),i=n("9bf2");e.exports=function(e,t){for(var n=o(t),s=i.f,c=a.f,l=0;l<n.length;l++){var u=n[l];r(e,u)||s(e,u,c(t,u))}}},e8b5:function(e,t,n){var r=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==r(e)}},e91f:function(e,t,n){"use strict";var r=n("ebb5"),o=n("4d64").indexOf,a=r.aTypedArray,i=r.exportTypedArrayMethod;i("indexOf",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0)}))},e95a:function(e,t,n){var r=n("b622"),o=n("3f8c"),a=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[a]===e)}},ebb5:function(e,t,n){"use strict";var r,o=n("a981"),a=n("83ab"),i=n("da84"),s=n("861d"),c=n("5135"),l=n("f5df"),u=n("9112"),d=n("6eeb"),f=n("9bf2").f,p=n("e163"),h=n("d2bb"),m=n("b622"),g=n("90e3"),v=i.Int8Array,b=v&&v.prototype,y=i.Uint8ClampedArray,x=y&&y.prototype,w=v&&p(v),_=b&&p(b),k=Object.prototype,S=k.isPrototypeOf,A=m("toStringTag"),E=g("TYPED_ARRAY_TAG"),M=o&&!!h&&"Opera"!==l(i.opera),O=!1,R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},j={BigInt64Array:8,BigUint64Array:8},T=function(e){if(!s(e))return!1;var t=l(e);return"DataView"===t||c(R,t)||c(j,t)},C=function(e){if(!s(e))return!1;var t=l(e);return c(R,t)||c(j,t)},L=function(e){if(C(e))return e;throw TypeError("Target is not a typed array")},I=function(e){if(h){if(S.call(w,e))return e}else for(var t in R)if(c(R,r)){var n=i[t];if(n&&(e===n||S.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},P=function(e,t,n){if(a){if(n)for(var r in R){var o=i[r];o&&c(o.prototype,e)&&delete o.prototype[e]}_[e]&&!n||d(_,e,n?t:M&&b[e]||t)}},N=function(e,t,n){var r,o;if(a){if(h){if(n)for(r in R)o=i[r],o&&c(o,e)&&delete o[e];if(w[e]&&!n)return;try{return d(w,e,n?t:M&&v[e]||t)}catch(s){}}for(r in R)o=i[r],!o||o[e]&&!n||d(o,e,t)}};for(r in R)i[r]||(M=!1);if((!M||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},M))for(r in R)i[r]&&h(i[r],w);if((!M||!_||_===k)&&(_=w.prototype,M))for(r in R)i[r]&&h(i[r].prototype,_);if(M&&p(x)!==_&&h(x,_),a&&!c(_,A))for(r in O=!0,f(_,A,{get:function(){return s(this)?this[E]:void 0}}),R)i[r]&&u(i[r],E,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_TAG:O&&E,aTypedArray:L,aTypedArrayConstructor:I,exportTypedArrayMethod:P,exportTypedArrayStaticMethod:N,isView:T,isTypedArray:C,TypedArray:w,TypedArrayPrototype:_}},f069:function(e,t,n){"use strict";var r=n("1c0b"),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},f139:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.vac-message-wrapper .vac-card-info{border-radius:4px;text-align:center;margin:10px auto;font-size:12px;padding:4px;display:block;overflow-wrap:break-word;position:relative;white-space:normal;box-shadow:0 1px 1px -1px rgba(0,0,0,.1),0 1px 1px -1px rgba(0,0,0,.11),0 1px 2px -1px rgba(0,0,0,.11)}.vac-message-wrapper .vac-card-date{max-width:150px;font-weight:500;text-transform:uppercase;color:var(--chat-message-color-date);background:var(--chat-message-bg-color-date)}.vac-message-wrapper .vac-card-system{max-width:250px;padding:8px 4px;color:var(--chat-message-color-system);background:var(--chat-message-bg-color-system)}.vac-message-wrapper .vac-line-new{color:var(--chat-message-color-new-messages);position:relative;text-align:center;font-size:13px;padding:10px 0}.vac-message-wrapper .vac-line-new:after,.vac-message-wrapper .vac-line-new:before{border-top:1px solid var(--chat-message-color-new-messages);content:"";left:0;position:absolute;top:50%;width:calc(50% - 60px)}.vac-message-wrapper .vac-line-new:before{left:auto;right:0}.vac-message-wrapper .vac-message-box{display:flex;flex:0 0 50%;max-width:50%;justify-content:flex-start;line-height:1.4}.vac-message-wrapper .vac-avatar{height:28px;width:28px;min-height:28px;min-width:28px;margin:0 0 2px 0;align-self:flex-end}.vac-message-wrapper .vac-message-container{position:relative;padding:2px 10px;align-items:end;min-width:100px;box-sizing:content-box}.vac-message-wrapper .vac-message-container-offset{margin-top:10px}.vac-message-wrapper .vac-offset-current{margin-left:50%;justify-content:flex-end}.vac-message-wrapper .vac-message-card{background:var(--chat-message-bg-color);color:var(--chat-message-color);border-radius:8px;font-size:14px;padding:6px 9px 3px;white-space:pre-line;max-width:100%;transition-property:box-shadow,opacity;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);will-change:box-shadow;box-shadow:0 1px 1px -1px rgba(0,0,0,.1),0 1px 1px -1px rgba(0,0,0,.11),0 1px 2px -1px rgba(0,0,0,.11)}.vac-message-wrapper .vac-message-highlight{box-shadow:0 1px 2px -1px rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.11),0 1px 5px -1px rgba(0,0,0,.11)}.vac-message-wrapper .vac-message-current{background:var(--chat-message-bg-color-me)!important}.vac-message-wrapper .vac-message-deleted{color:var(--chat-message-color-deleted)!important;font-size:13px!important;font-style:italic!important;background:var(--chat-message-bg-color-deleted)!important}.vac-message-wrapper .vac-icon-deleted{height:14px;width:14px;vertical-align:middle;margin:-2px 2px 0 0;fill:var(--chat-message-color-deleted)}.vac-message-wrapper .vac-video-container{width:350px;max-width:100%;margin:4px auto 5px}.vac-message-wrapper .vac-video-container video{border-radius:4px}.vac-message-wrapper .vac-message-image{position:relative;background-color:var(--chat-message-bg-color-image)!important;background-size:cover!important;background-position:50%!important;background-repeat:no-repeat!important;height:250px;width:250px;max-width:100%;border-radius:4px;margin:4px auto 5px;transition:filter .4s linear}.vac-message-wrapper .vac-text-username{font-size:13px;color:var(--chat-message-color-username);margin-bottom:2px}.vac-message-wrapper .vac-username-reply{margin-bottom:5px}.vac-message-wrapper .vac-text-timestamp{font-size:10px;color:var(--chat-message-color-timestamp);text-align:right}.vac-message-wrapper .vac-progress-time{float:left;margin:-2px 0 0 40px;color:var(--chat-color);font-size:12px}.vac-message-wrapper .vac-file-message{display:flex;flex-wrap:wrap;align-items:center;margin-top:3px}.vac-message-wrapper .vac-file-message span{max-width:100%}.vac-message-wrapper .vac-file-message .vac-icon-file svg{margin-right:5px}.vac-message-wrapper .vac-icon-edited{align-items:center;display:inline-flex;justify-content:center;letter-spacing:normal;line-height:1;text-indent:0;vertical-align:middle;margin:0 4px 2px}.vac-message-wrapper .vac-icon-edited svg{height:12px;width:12px}.vac-message-wrapper .vac-icon-check{height:14px;width:14px;vertical-align:middle;margin:-3px -3px 0 3px}@media only screen and (max-width:768px){.vac-message-wrapper .vac-message-container{padding:2px 3px 1px}.vac-message-wrapper .vac-message-container-offset{margin-top:10px}.vac-message-wrapper .vac-message-box{flex:0 0 80%;max-width:80%}.vac-message-wrapper .vac-avatar{height:25px;width:25px;min-height:25px;min-width:25px;margin:0 6px 1px 0}.vac-message-wrapper .vac-offset-current{margin-left:20%}.vac-message-wrapper .vac-progress-time{margin-left:37px}}',""]),e.exports=t},f43c:function(e,t,n){"use strict";n("e4a8")},f5df:function(e,t,n){var r=n("00ee"),o=n("c6b6"),a=n("b622"),i=a("toStringTag"),s="Arguments"==o(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(n){}};e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=c(t=Object(e),i))?n:s?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},f772:function(e,t,n){var r=n("5692"),o=n("90e3"),a=r("keys");e.exports=function(e){return a[e]||(a[e]=o(e))}},f86d:function(e,t,n){var r=n("2c2f");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("3aeb0e6d",r,e)}},f8cd:function(e,t,n){var r=n("a691");e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},fa4d:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".vac-emojis-container{position:absolute;width:calc(100% - 16px);padding:10px 8px;background:var(--chat-footer-bg-color);display:flex;align-items:center;overflow:auto}.vac-emojis-container .vac-emoji-element{padding:0 8px;font-size:30px;border-radius:4px;cursor:pointer}.vac-emojis-container .vac-emoji-element:hover{background:var(--chat-footer-bg-color-tag-active)}.vac-emojis-container .vac-emoji-element:hover,.vac-emojis-container .vac-emoji-element:not(:hover){transition:background-color .3s cubic-bezier(.25,.8,.5,1)}@media only screen and (max-width:768px){.vac-emojis-container{width:calc(100% - 10px);padding:7px 5px}.vac-emojis-container .vac-emoji-element{padding:0 7px;font-size:26px}}",""]),e.exports=t},fb0c:function(e,t,n){"use strict";n("0218")},fb6a:function(e,t,n){"use strict";var r=n("23e7"),o=n("861d"),a=n("e8b5"),i=n("23cb"),s=n("50c4"),c=n("fc6a"),l=n("8418"),u=n("b622"),d=n("1dde"),f=n("ae40"),p=d("slice"),h=f("slice",{ACCESSORS:!0,0:0,1:2}),m=u("species"),g=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!p||!h},{slice:function(e,t){var n,r,u,d=c(this),f=s(d.length),p=i(e,f),h=i(void 0===t?f:t,f);if(a(d)&&(n=d.constructor,"function"!=typeof n||n!==Array&&!a(n.prototype)?o(n)&&(n=n[m],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return g.call(d,p,h);for(r=new(void 0===n?Array:n)(v(h-p,0)),u=0;p<h;p++,u++)p in d&&l(r,u,d[p]);return r.length=u,r}})},fc6a:function(e,t,n){var r=n("44ad"),o=n("1d80");e.exports=function(e){return r(o(e))}},fd87:function(e,t,n){var r=n("74e8");r("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,n){var r=n("4930");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(e,t,n){var r=n("da84");e.exports=r.Promise}});
  //# sourceMappingURL=vue-advanced-chat.min.js.map