text: /*! For license information please see 8872.js.LICENSE.txt */
  (self.webpackChunk=self.webpackChunk||[]).push([[8872,1657],{19755:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,a){"use strict";var o=[],i=Object.getPrototypeOf,s=o.slice,c=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},l=o.push,u=o.indexOf,d={},p=d.toString,f=d.hasOwnProperty,h=f.toString,m=h.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},A=function(e){return null!=e&&e===e.window},_=r.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var r,a,o=(n=n||_).createElement("script");if(o.text=e,t)for(r in b)(a=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,a);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e}var w="3.6.0",C=function(e,t){return new C.fn.init(e,t)};function k(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!A(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}C.fn=C.prototype={jquery:w,constructor:C,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(C.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},C.extend=C.fn.extend=function(){var e,t,n,r,a,o,i=arguments[0]||{},s=1,c=arguments.length,l=!1;for("boolean"==typeof i&&(l=i,i=arguments[s]||{},s++),"object"==typeof i||v(i)||(i={}),s===c&&(i=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&i!==r&&(l&&r&&(C.isPlainObject(r)||(a=Array.isArray(r)))?(n=i[t],o=a&&!Array.isArray(n)?[]:a||C.isPlainObject(n)?n:{},a=!1,i[t]=C.extend(l,o,r)):void 0!==r&&(i[t]=r));return i},C.extend({expando:"jQuery"+(w+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==p.call(e))&&(!(t=i(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){y(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(k(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(k(Object(e))?C.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,a=e.length;r<n;r++)e[a++]=t[r];return e.length=a,e},grep:function(e,t,n){for(var r=[],a=0,o=e.length,i=!n;a<o;a++)!t(e[a],a)!==i&&r.push(e[a]);return r},map:function(e,t,n){var r,a,o=0,i=[];if(k(e))for(r=e.length;o<r;o++)null!=(a=t(e[o],o,n))&&i.push(a);else for(o in e)null!=(a=t(e[o],o,n))&&i.push(a);return c(i)},guid:1,support:g}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=o[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var B=function(e){var t,n,r,a,o,i,s,c,l,u,d,p,f,h,m,g,v,A,_,b="sizzle"+1*new Date,y=e.document,x=0,w=0,C=ce(),k=ce(),B=ce(),S=ce(),M=function(e,t){return e===t&&(d=!0),0},E={}.hasOwnProperty,T=[],R=T.pop,L=T.push,O=T.push,j=T.slice,I=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",N="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",H="\\[[\\x20\\t\\r\\n\\f]*("+N+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+P+"*\\]",q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",F=new RegExp(P+"+","g"),U=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),$=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),z=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),V=new RegExp(P+"|>"),Y=new RegExp(q),W=new RegExp("^"+N+"$"),G={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ae=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){p()},ie=be((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(T=j.call(y.childNodes),y.childNodes),T[y.childNodes.length].nodeType}catch(e){O={apply:T.length?function(e,t){L.apply(e,j.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,a){var o,s,l,u,d,h,v,A=t&&t.ownerDocument,y=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return r;if(!a&&(p(t),t=t||f,m)){if(11!==y&&(d=J.exec(e)))if(o=d[1]){if(9===y){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(A&&(l=A.getElementById(o))&&_(t,l)&&l.id===o)return r.push(l),r}else{if(d[2])return O.apply(r,t.getElementsByTagName(e)),r;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!g||!g.test(e))&&(1!==y||"object"!==t.nodeName.toLowerCase())){if(v=e,A=t,1===y&&(V.test(e)||z.test(e))){for((A=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,ae):t.setAttribute("id",u=b)),s=(h=i(e)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+_e(h[s]);v=h.join(",")}try{return O.apply(r,A.querySelectorAll(v)),r}catch(t){S(e,!0)}finally{u===b&&t.removeAttribute("id")}}}return c(e.replace(U,"$1"),t,r,a)}function ce(){var e=[];return function t(n,a){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=a}}function le(e){return e[b]=!0,e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),a=n.length;a--;)r.attrHandle[n[a]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return le((function(t){return t=+t,le((function(n,r){for(var a,o=e([],n.length,t),i=o.length;i--;)n[a=o[i]]&&(n[a]=!(r[a]=n[a]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!X.test(t||n&&n.nodeName||"HTML")},p=se.setDocument=function(e){var t,a,i=e?e.ownerDocument||e:y;return i!=f&&9===i.nodeType&&i.documentElement?(h=(f=i).documentElement,m=!o(f),y!=f&&(a=f.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener("unload",oe,!1):a.attachEvent&&a.attachEvent("onunload",oe)),n.scope=ue((function(e){return h.appendChild(e).appendChild(f.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(f.getElementsByClassName),n.getById=ue((function(e){return h.appendChild(e).id=b,!f.getElementsByName||!f.getElementsByName(b).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,a,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(a=t.getElementsByName(e),r=0;o=a[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],a=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[a++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=Q.test(f.querySelectorAll))&&(ue((function(e){var t;h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+D+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),(t=f.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=Q.test(A=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=A.call(e,"*"),A.call(e,"[s!='']:x"),v.push("!=",q)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),_=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},M=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==f||e.ownerDocument==y&&_(y,e)?-1:t==f||t.ownerDocument==y&&_(y,t)?1:u?I(u,e)-I(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,a=e.parentNode,o=t.parentNode,i=[e],s=[t];if(!a||!o)return e==f?-1:t==f?1:a?-1:o?1:u?I(u,e)-I(u,t):0;if(a===o)return pe(e,t);for(n=e;n=n.parentNode;)i.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;i[r]===s[r];)r++;return r?pe(i[r],s[r]):i[r]==y?-1:s[r]==y?1:0},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(p(e),n.matchesSelector&&m&&!S[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=A.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){S(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=f&&p(e),_(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=f&&p(e);var a=r.attrHandle[t.toLowerCase()],o=a&&E.call(r.attrHandle,t.toLowerCase())?a(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(re,ae)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],a=0,o=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(M),d){for(;t=e[o++];)t===e[o]&&(a=r.push(o));for(;a--;)e.splice(r[a],1)}return u=null,e},a=se.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=a(t);return n},r=se.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=i(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+P+"|$)"))&&C(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var a=se.attr(r,e);return null==a?"!="===t:!t||(a+="","="===t?a===n:"!="===t?a!==n:"^="===t?n&&0===a.indexOf(n):"*="===t?n&&a.indexOf(n)>-1:"$="===t?n&&a.slice(-n.length)===n:"~="===t?(" "+a.replace(F," ")+" ").indexOf(n)>-1:"|="===t&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,a){var o="nth"!==e.slice(0,3),i="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===a?function(e){return!!e.parentNode}:function(t,n,c){var l,u,d,p,f,h,m=o!==i?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),A=!c&&!s,_=!1;if(g){if(o){for(;m;){for(p=t;p=p[m];)if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[i?g.firstChild:g.lastChild],i&&A){for(_=(f=(l=(u=(d=(p=g)[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===x&&l[1])&&l[2],p=f&&g.childNodes[f];p=++f&&p&&p[m]||(_=f=0)||h.pop();)if(1===p.nodeType&&++_&&p===t){u[e]=[x,f,_];break}}else if(A&&(_=f=(l=(u=(d=(p=t)[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===x&&l[1]),!1===_)for(;(p=++f&&p&&p[m]||(_=f=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++_||(A&&((u=(d=p[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[x,_]),p!==t)););return(_-=a)===r||_%r==0&&_/r>=0}}},PSEUDO:function(e,t){var n,a=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[b]?a(t):a.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,n){for(var r,o=a(e,t),i=o.length;i--;)e[r=I(e,o[i])]=!(n[r]=o[i])})):function(e){return a(e,0,n)}):a}},pseudos:{not:le((function(e){var t=[],n=[],r=s(e.replace(U,"$1"));return r[b]?le((function(e,t,n,a){for(var o,i=r(e,null,a,[]),s=e.length;s--;)(o=i[s])&&(e[s]=!(t[s]=o))})):function(e,a,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:le((function(e){return function(t){return se(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||a(t)).indexOf(e)>-1}})),lang:le((function(e){return W.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ge((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ge((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function Ae(){}function _e(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(e,t,n){var r=t.dir,a=t.next,o=a||r,i=n&&"parentNode"===o,s=w++;return t.first?function(t,n,a){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,a);return!1}:function(t,n,c){var l,u,d,p=[x,s];if(c){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,c))return!0}else for(;t=t[r];)if(1===t.nodeType||i)if(u=(d=t[b]||(t[b]={}))[t.uniqueID]||(d[t.uniqueID]={}),a&&a===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=u[o])&&l[0]===x&&l[1]===s)return p[2]=l[2];if(u[o]=p,p[2]=e(t,n,c))return!0}return!1}}function ye(e){return e.length>1?function(t,n,r){for(var a=e.length;a--;)if(!e[a](t,n,r))return!1;return!0}:e[0]}function xe(e,t,n,r,a){for(var o,i=[],s=0,c=e.length,l=null!=t;s<c;s++)(o=e[s])&&(n&&!n(o,r,a)||(i.push(o),l&&t.push(s)));return i}function we(e,t,n,r,a,o){return r&&!r[b]&&(r=we(r)),a&&!a[b]&&(a=we(a,o)),le((function(o,i,s,c){var l,u,d,p=[],f=[],h=i.length,m=o||function(e,t,n){for(var r=0,a=t.length;r<a;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!o&&t?m:xe(m,p,e,s,c),v=n?a||(o?e:h||r)?[]:i:g;if(n&&n(g,v,s,c),r)for(l=xe(v,f),r(l,[],s,c),u=l.length;u--;)(d=l[u])&&(v[f[u]]=!(g[f[u]]=d));if(o){if(a||e){if(a){for(l=[],u=v.length;u--;)(d=v[u])&&l.push(g[u]=d);a(null,v=[],l,c)}for(u=v.length;u--;)(d=v[u])&&(l=a?I(o,d):p[u])>-1&&(o[l]=!(i[l]=d))}}else v=xe(v===i?v.splice(h,v.length):v),a?a(null,i,v,c):O.apply(i,v)}))}function Ce(e){for(var t,n,a,o=e.length,i=r.relative[e[0].type],s=i||r.relative[" "],c=i?1:0,u=be((function(e){return e===t}),s,!0),d=be((function(e){return I(t,e)>-1}),s,!0),p=[function(e,n,r){var a=!i&&(r||n!==l)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,a}];c<o;c++)if(n=r.relative[e[c].type])p=[be(ye(p),n)];else{if((n=r.filter[e[c].type].apply(null,e[c].matches))[b]){for(a=++c;a<o&&!r.relative[e[a].type];a++);return we(c>1&&ye(p),c>1&&_e(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(U,"$1"),n,c<a&&Ce(e.slice(c,a)),a<o&&Ce(e=e.slice(a)),a<o&&_e(e))}p.push(n)}return ye(p)}return Ae.prototype=r.filters=r.pseudos,r.setFilters=new Ae,i=se.tokenize=function(e,t){var n,a,o,i,s,c,l,u=k[e+" "];if(u)return t?0:u.slice(0);for(s=e,c=[],l=r.preFilter;s;){for(i in n&&!(a=$.exec(s))||(a&&(s=s.slice(a[0].length)||s),c.push(o=[])),n=!1,(a=z.exec(s))&&(n=a.shift(),o.push({value:n,type:a[0].replace(U," ")}),s=s.slice(n.length)),r.filter)!(a=G[i].exec(s))||l[i]&&!(a=l[i](a))||(n=a.shift(),o.push({value:n,type:i,matches:a}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):k(e,c).slice(0)},s=se.compile=function(e,t){var n,a=[],o=[],s=B[e+" "];if(!s){for(t||(t=i(e)),n=t.length;n--;)(s=Ce(t[n]))[b]?a.push(s):o.push(s);s=B(e,function(e,t){var n=t.length>0,a=e.length>0,o=function(o,i,s,c,u){var d,h,g,v=0,A="0",_=o&&[],b=[],y=l,w=o||a&&r.find.TAG("*",u),C=x+=null==y?1:Math.random()||.1,k=w.length;for(u&&(l=i==f||i||u);A!==k&&null!=(d=w[A]);A++){if(a&&d){for(h=0,i||d.ownerDocument==f||(p(d),s=!m);g=e[h++];)if(g(d,i||f,s)){c.push(d);break}u&&(x=C)}n&&((d=!g&&d)&&v--,o&&_.push(d))}if(v+=A,n&&A!==v){for(h=0;g=t[h++];)g(_,b,i,s);if(o){if(v>0)for(;A--;)_[A]||b[A]||(b[A]=R.call(c));b=xe(b)}O.apply(c,b),u&&!o&&b.length>0&&v+t.length>1&&se.uniqueSort(c)}return u&&(x=C,l=y),_};return n?le(o):o}(o,a)),s.selector=e}return s},c=se.select=function(e,t,n,a){var o,c,l,u,d,p="function"==typeof e&&e,f=!a&&i(e=p.selector||e);if(n=n||[],1===f.length){if((c=f[0]=f[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===t.nodeType&&m&&r.relative[c[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(o=G.needsContext.test(e)?0:c.length;o--&&(l=c[o],!r.relative[u=l.type]);)if((d=r.find[u])&&(a=d(l.matches[0].replace(te,ne),ee.test(c[0].type)&&ve(t.parentNode)||t))){if(c.splice(o,1),!(e=a.length&&_e(c)))return O.apply(n,a),n;break}}return(p||s(e,f))(a,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=b.split("").sort(M).join("")===b,n.detectDuplicates=!!d,p(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(D,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);C.find=B,C.expr=B.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=B.uniqueSort,C.text=B.getText,C.isXMLDoc=B.isXML,C.contains=B.contains,C.escapeSelector=B.escape;var S=function(e,t,n){for(var r=[],a=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&C(e).is(n))break;r.push(e)}return r},M=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},E=C.expr.match.needsContext;function T(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(e,t,n){return v(t)?C.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?C.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?C.grep(e,(function(e){return u.call(t,e)>-1!==n})):C.filter(t,e,n)}C.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?C.find.matchesSelector(r,e)?[r]:[]:C.find.matches(e,C.grep(t,(function(e){return 1===e.nodeType})))},C.fn.extend({find:function(e){var t,n,r=this.length,a=this;if("string"!=typeof e)return this.pushStack(C(e).filter((function(){for(t=0;t<r;t++)if(C.contains(a[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)C.find(e,a[t],n);return r>1?C.uniqueSort(n):n},filter:function(e){return this.pushStack(L(this,e||[],!1))},not:function(e){return this.pushStack(L(this,e||[],!0))},is:function(e){return!!L(this,"string"==typeof e&&E.test(e)?C(e):e||[],!1).length}});var O,j=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var r,a;if(!e)return this;if(n=n||O,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:j.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:_,!0)),R.test(r[1])&&C.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(a=_.getElementById(r[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,O=C(_);var I=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(C.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,a=this.length,o=[],i="string"!=typeof e&&C(e);if(!E.test(e))for(;r<a;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(i?i.index(n)>-1:1===n.nodeType&&C.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?C.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(C(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,n){return S(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,n){return S(e,"nextSibling",n)},prevUntil:function(e,t,n){return S(e,"previousSibling",n)},siblings:function(e){return M((e.parentNode||{}).firstChild,e)},children:function(e){return M(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(T(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},(function(e,t){C.fn[e]=function(n,r){var a=C.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(a=C.filter(r,a)),this.length>1&&(D[e]||C.uniqueSort(a),I.test(e)&&a.reverse()),this.pushStack(a)}}));var N=/[^\x20\t\r\n\f]+/g;function H(e){return e}function q(e){throw e}function F(e,t,n,r){var a;try{e&&v(a=e.promise)?a.call(e).done(t).fail(n):e&&v(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}C.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return C.each(e.match(N)||[],(function(e,n){t[n]=!0})),t}(e):C.extend({},e);var t,n,r,a,o=[],i=[],s=-1,c=function(){for(a=a||e.once,r=t=!0;i.length;s=-1)for(n=i.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,a&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,i.push(n)),function t(n){C.each(n,(function(n,r){v(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&t(r)}))}(arguments),n&&!t&&c()),this},remove:function(){return C.each(arguments,(function(e,t){for(var n;(n=C.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?C.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return a=i=[],o=n="",this},disabled:function(){return!o},lock:function(){return a=i=[],n||t||(o=n=""),this},locked:function(){return!!a},fireWith:function(e,n){return a||(n=[e,(n=n||[]).slice?n.slice():n],i.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},C.extend({Deferred:function(e){var t=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],n="pending",a={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return C.Deferred((function(n){C.each(t,(function(t,r){var a=v(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=a&&a.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,a?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,a){var o=0;function i(e,t,n,a){return function(){var s=this,c=arguments,l=function(){var r,l;if(!(e<o)){if((r=n.apply(s,c))===t.promise())throw new TypeError("Thenable self-resolution");l=r&&("object"==typeof r||"function"==typeof r)&&r.then,v(l)?a?l.call(r,i(o,t,H,a),i(o,t,q,a)):(o++,l.call(r,i(o,t,H,a),i(o,t,q,a),i(o,t,H,t.notifyWith))):(n!==H&&(s=void 0,c=[r]),(a||t.resolveWith)(s,c))}},u=a?l:function(){try{l()}catch(r){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(r,u.stackTrace),e+1>=o&&(n!==q&&(s=void 0,c=[r]),t.rejectWith(s,c))}};e?u():(C.Deferred.getStackHook&&(u.stackTrace=C.Deferred.getStackHook()),r.setTimeout(u))}}return C.Deferred((function(r){t[0][3].add(i(0,r,v(a)?a:H,r.notifyWith)),t[1][3].add(i(0,r,v(e)?e:H)),t[2][3].add(i(0,r,v(n)?n:q))})).promise()},promise:function(e){return null!=e?C.extend(e,a):a}},o={};return C.each(t,(function(e,r){var i=r[2],s=r[5];a[r[1]]=i.add,s&&i.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),i.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=i.fireWith})),a.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),a=s.call(arguments),o=C.Deferred(),i=function(e){return function(n){r[e]=this,a[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,a)}};if(t<=1&&(F(e,o.done(i(n)).resolve,o.reject,!t),"pending"===o.state()||v(a[n]&&a[n].then)))return o.then();for(;n--;)F(a[n],i(n),o.reject);return o.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&U.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){r.setTimeout((function(){throw e}))};var $=C.Deferred();function z(){_.removeEventListener("DOMContentLoaded",z),r.removeEventListener("load",z),C.ready()}C.fn.ready=function(e){return $.then(e).catch((function(e){C.readyException(e)})),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==e&&--C.readyWait>0||$.resolveWith(_,[C]))}}),C.ready.then=$.then,"complete"===_.readyState||"loading"!==_.readyState&&!_.documentElement.doScroll?r.setTimeout(C.ready):(_.addEventListener("DOMContentLoaded",z),r.addEventListener("load",z));var V=function(e,t,n,r,a,o,i){var s=0,c=e.length,l=null==n;if("object"===x(n))for(s in a=!0,n)V(e,t,s,n[s],!0,o,i);else if(void 0!==r&&(a=!0,v(r)||(i=!0),l&&(i?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(C(e),n)})),t))for(;s<c;s++)t(e[s],n,i?r:r.call(e[s],s,t(e[s],n)));return a?e:l?t.call(e):c?t(e[0],n):o},Y=/^-ms-/,W=/-([a-z])/g;function G(e,t){return t.toUpperCase()}function X(e){return e.replace(Y,"ms-").replace(W,G)}var Z=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function K(){this.expando=C.expando+K.uid++}K.uid=1,K.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Z(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,a=this.cache(e);if("string"==typeof t)a[X(t)]=n;else for(r in t)a[X(r)]=t[r];return a},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(N)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||C.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!C.isEmptyObject(t)}};var Q=new K,J=new K,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}J.set(e,t,n)}else n=void 0;return n}C.extend({hasData:function(e){return J.hasData(e)||Q.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),C.fn.extend({data:function(e,t){var n,r,a,o=this[0],i=o&&o.attributes;if(void 0===e){if(this.length&&(a=J.get(o),1===o.nodeType&&!Q.get(o,"hasDataAttrs"))){for(n=i.length;n--;)i[n]&&0===(r=i[n].name).indexOf("data-")&&(r=X(r.slice(5)),ne(o,r,a[r]));Q.set(o,"hasDataAttrs",!0)}return a}return"object"==typeof e?this.each((function(){J.set(this,e)})):V(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=J.get(o,e))||void 0!==(n=ne(o,e))?n:void 0;this.each((function(){J.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){J.remove(this,e)}))}}),C.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),r=n.length,a=n.shift(),o=C._queueHooks(e,t);"inprogress"===a&&(a=n.shift(),r--),a&&("fx"===t&&n.unshift("inprogress"),delete o.stop,a.call(e,(function(){C.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:C.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",n])}))})}}),C.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?C.queue(this[0],e):void 0===t?this:this.each((function(){var n=C.queue(this,e,t);C._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&C.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){C.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,a=C.Deferred(),o=this,i=this.length,s=function(){--r||a.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";i--;)(n=Q.get(o[i],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),a.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ae=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ie=_.documentElement,se=function(e){return C.contains(e.ownerDocument,e)},ce={composed:!0};ie.getRootNode&&(se=function(e){return C.contains(e.ownerDocument,e)||e.getRootNode(ce)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===C.css(e,"display")};function ue(e,t,n,r){var a,o,i=20,s=r?function(){return r.cur()}:function(){return C.css(e,t,"")},c=s(),l=n&&n[3]||(C.cssNumber[t]?"":"px"),u=e.nodeType&&(C.cssNumber[t]||"px"!==l&&+c)&&ae.exec(C.css(e,t));if(u&&u[3]!==l){for(c/=2,l=l||u[3],u=+c||1;i--;)C.style(e,t,u+l),(1-o)*(1-(o=s()/c||.5))<=0&&(i=0),u/=o;u*=2,C.style(e,t,u+l),n=n||[]}return n&&(u=+u||+c||0,a=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=u,r.end=a)),a}var de={};function pe(e){var t,n=e.ownerDocument,r=e.nodeName,a=de[r];return a||(t=n.body.appendChild(n.createElement(r)),a=C.css(t,"display"),t.parentNode.removeChild(t),"none"===a&&(a="block"),de[r]=a,a)}function fe(e,t){for(var n,r,a=[],o=0,i=e.length;o<i;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(a[o]=Q.get(r,"display")||null,a[o]||(r.style.display="")),""===r.style.display&&le(r)&&(a[o]=pe(r))):"none"!==n&&(a[o]="none",Q.set(r,"display",n)));for(o=0;o<i;o++)null!=a[o]&&(e[o].style.display=a[o]);return e}C.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){le(this)?C(this).show():C(this).hide()}))}});var he,me,ge=/^(?:checkbox|radio)$/i,ve=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ae=/^$|^module$|\/(?:java|ecma)script/i;he=_.createDocumentFragment().appendChild(_.createElement("div")),(me=_.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),g.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",g.option=!!he.lastChild;var _e={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&T(e,t)?C.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}_e.tbody=_e.tfoot=_e.colgroup=_e.caption=_e.thead,_e.th=_e.td,g.option||(_e.optgroup=_e.option=[1,"<select multiple='multiple'>","</select>"]);var xe=/<|&#?\w+;/;function we(e,t,n,r,a){for(var o,i,s,c,l,u,d=t.createDocumentFragment(),p=[],f=0,h=e.length;f<h;f++)if((o=e[f])||0===o)if("object"===x(o))C.merge(p,o.nodeType?[o]:o);else if(xe.test(o)){for(i=i||d.appendChild(t.createElement("div")),s=(ve.exec(o)||["",""])[1].toLowerCase(),c=_e[s]||_e._default,i.innerHTML=c[1]+C.htmlPrefilter(o)+c[2],u=c[0];u--;)i=i.lastChild;C.merge(p,i.childNodes),(i=d.firstChild).textContent=""}else p.push(t.createTextNode(o));for(d.textContent="",f=0;o=p[f++];)if(r&&C.inArray(o,r)>-1)a&&a.push(o);else if(l=se(o),i=be(d.appendChild(o),"script"),l&&ye(i),n)for(u=0;o=i[u++];)Ae.test(o.type||"")&&n.push(o);return d}var Ce=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Be(){return!1}function Se(e,t){return e===function(){try{return _.activeElement}catch(e){}}()==("focus"===t)}function Me(e,t,n,r,a,o){var i,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Me(e,s,n,r,t[s],o);return e}if(null==r&&null==a?(a=n,r=n=void 0):null==a&&("string"==typeof n?(a=r,r=void 0):(a=r,r=n,n=void 0)),!1===a)a=Be;else if(!a)return e;return 1===o&&(i=a,a=function(e){return C().off(e),i.apply(this,arguments)},a.guid=i.guid||(i.guid=C.guid++)),e.each((function(){C.event.add(this,t,a,r,n)}))}function Ee(e,t,n){n?(Q.set(e,t,!1),C.event.add(e,t,{namespace:!1,handler:function(e){var r,a,o=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(C.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=s.call(arguments),Q.set(this,t,o),r=n(this,t),this[t](),o!==(a=Q.get(this,t))||r?Q.set(this,t,!1):a={},o!==a)return e.stopImmediatePropagation(),e.preventDefault(),a&&a.value}else o.length&&(Q.set(this,t,{value:C.event.trigger(C.extend(o[0],C.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&C.event.add(e,t,ke)}C.event={global:{},add:function(e,t,n,r,a){var o,i,s,c,l,u,d,p,f,h,m,g=Q.get(e);if(Z(e))for(n.handler&&(n=(o=n).handler,a=o.selector),a&&C.find.matchesSelector(ie,a),n.guid||(n.guid=C.guid++),(c=g.events)||(c=g.events=Object.create(null)),(i=g.handle)||(i=g.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(N)||[""]).length;l--;)f=m=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),f&&(d=C.event.special[f]||{},f=(a?d.delegateType:d.bindType)||f,d=C.event.special[f]||{},u=C.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:a,needsContext:a&&C.expr.match.needsContext.test(a),namespace:h.join(".")},o),(p=c[f])||((p=c[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,i)||e.addEventListener&&e.addEventListener(f,i)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),a?p.splice(p.delegateCount++,0,u):p.push(u),C.event.global[f]=!0)},remove:function(e,t,n,r,a){var o,i,s,c,l,u,d,p,f,h,m,g=Q.hasData(e)&&Q.get(e);if(g&&(c=g.events)){for(l=(t=(t||"").match(N)||[""]).length;l--;)if(f=m=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),f){for(d=C.event.special[f]||{},p=c[f=(r?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=o=p.length;o--;)u=p[o],!a&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(p.splice(o,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));i&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||C.removeEvent(e,f,g.handle),delete c[f])}else for(f in c)C.event.remove(e,f+t[l],n,r,!0);C.isEmptyObject(c)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,a,o,i,s=new Array(arguments.length),c=C.event.fix(e),l=(Q.get(this,"events")||Object.create(null))[c.type]||[],u=C.event.special[c.type]||{};for(s[0]=c,t=1;t<arguments.length;t++)s[t]=arguments[t];if(c.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,c)){for(i=C.event.handlers.call(this,c,l),t=0;(a=i[t++])&&!c.isPropagationStopped();)for(c.currentTarget=a.elem,n=0;(o=a.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==o.namespace&&!c.rnamespace.test(o.namespace)||(c.handleObj=o,c.data=o.data,void 0!==(r=((C.event.special[o.origType]||{}).handle||o.handler).apply(a.elem,s))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,r,a,o,i,s=[],c=t.delegateCount,l=e.target;if(c&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],i={},n=0;n<c;n++)void 0===i[a=(r=t[n]).selector+" "]&&(i[a]=r.needsContext?C(a,this).index(l)>-1:C.find(a,this,null,[l]).length),i[a]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,c<t.length&&s.push({elem:l,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(C.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[C.expando]?e:new C.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ge.test(t.type)&&t.click&&T(t,"input")&&Ee(t,"click",ke),!1},trigger:function(e){var t=this||e;return ge.test(t.type)&&t.click&&T(t,"input")&&Ee(t,"click"),!0},_default:function(e){var t=e.target;return ge.test(t.type)&&t.click&&T(t,"input")&&Q.get(t,"click")||T(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},C.Event=function(e,t){if(!(this instanceof C.Event))return new C.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ke:Be,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:Be,isPropagationStopped:Be,isImmediatePropagationStopped:Be,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ke,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ke,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ke,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},(function(e,t){C.event.special[e]={setup:function(){return Ee(this,e,Se),!1},trigger:function(){return Ee(this,e),!0},_default:function(){return!0},delegateType:t}})),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){C.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,a=e.relatedTarget,o=e.handleObj;return a&&(a===r||C.contains(r,a))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),C.fn.extend({on:function(e,t,n,r){return Me(this,e,t,n,r)},one:function(e,t,n,r){return Me(this,e,t,n,r,1)},off:function(e,t,n){var r,a;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,C(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(a in e)this.off(a,t,e[a]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Be),this.each((function(){C.event.remove(this,e,n,t)}))}});var Te=/<script|<style|<link/i,Re=/checked\s*(?:[^=]|=\s*.checked.)/i,Le=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Oe(e,t){return T(e,"table")&&T(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function je(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ie(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function De(e,t){var n,r,a,o,i,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(a in Q.remove(t,"handle events"),s)for(n=0,r=s[a].length;n<r;n++)C.event.add(t,a,s[a][n]);J.hasData(e)&&(o=J.access(e),i=C.extend({},o),J.set(t,i))}}function Pe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ge.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ne(e,t,n,r){t=c(t);var a,o,i,s,l,u,d=0,p=e.length,f=p-1,h=t[0],m=v(h);if(m||p>1&&"string"==typeof h&&!g.checkClone&&Re.test(h))return e.each((function(a){var o=e.eq(a);m&&(t[0]=h.call(this,a,o.html())),Ne(o,t,n,r)}));if(p&&(o=(a=we(t,e[0].ownerDocument,!1,e,r)).firstChild,1===a.childNodes.length&&(a=o),o||r)){for(s=(i=C.map(be(a,"script"),je)).length;d<p;d++)l=a,d!==f&&(l=C.clone(l,!0,!0),s&&C.merge(i,be(l,"script"))),n.call(e[d],l,d);if(s)for(u=i[i.length-1].ownerDocument,C.map(i,Ie),d=0;d<s;d++)l=i[d],Ae.test(l.type||"")&&!Q.access(l,"globalEval")&&C.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?C._evalUrl&&!l.noModule&&C._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):y(l.textContent.replace(Le,""),l,u))}return e}function He(e,t,n){for(var r,a=t?C.filter(t,e):e,o=0;null!=(r=a[o]);o++)n||1!==r.nodeType||C.cleanData(be(r)),r.parentNode&&(n&&se(r)&&ye(be(r,"script")),r.parentNode.removeChild(r));return e}C.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,a,o,i,s=e.cloneNode(!0),c=se(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(i=be(s),r=0,a=(o=be(e)).length;r<a;r++)Pe(o[r],i[r]);if(t)if(n)for(o=o||be(e),i=i||be(s),r=0,a=o.length;r<a;r++)De(o[r],i[r]);else De(e,s);return(i=be(s,"script")).length>0&&ye(i,!c&&be(e,"script")),s},cleanData:function(e){for(var t,n,r,a=C.event.special,o=0;void 0!==(n=e[o]);o++)if(Z(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)a[r]?C.event.remove(n,r):C.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),C.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return V(this,(function(e){return void 0===e?C.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ne(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Oe(this,e).appendChild(e)}))},prepend:function(){return Ne(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Oe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ne(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ne(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return C.clone(this,e,t)}))},html:function(e){return V(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Te.test(e)&&!_e[(ve.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(C.cleanData(be(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ne(this,arguments,(function(t){var n=this.parentNode;C.inArray(this,e)<0&&(C.cleanData(be(this)),n&&n.replaceChild(t,this))}),e)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){C.fn[e]=function(e){for(var n,r=[],a=C(e),o=a.length-1,i=0;i<=o;i++)n=i===o?this:this.clone(!0),C(a[i])[t](n),l.apply(r,n.get());return this.pushStack(r)}}));var qe=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),Fe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Ue=function(e,t,n){var r,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];for(a in r=n.call(e),t)e.style[a]=o[a];return r},$e=new RegExp(oe.join("|"),"i");function ze(e,t,n){var r,a,o,i,s=e.style;return(n=n||Fe(e))&&(""!==(i=n.getPropertyValue(t)||n[t])||se(e)||(i=C.style(e,t)),!g.pixelBoxStyles()&&qe.test(i)&&$e.test(t)&&(r=s.width,a=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=i,i=n.width,s.width=r,s.minWidth=a,s.maxWidth=o)),void 0!==i?i+"":i}function Ve(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ie.appendChild(l).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,c=12===t(e.marginLeft),u.style.right="60%",i=36===t(e.right),a=36===t(e.width),u.style.position="absolute",o=12===t(u.offsetWidth/3),ie.removeChild(l),u=null}}function t(e){return Math.round(parseFloat(e))}var n,a,o,i,s,c,l=_.createElement("div"),u=_.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,C.extend(g,{boxSizingReliable:function(){return e(),a},pixelBoxStyles:function(){return e(),i},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,a;return null==s&&(e=_.createElement("table"),t=_.createElement("tr"),n=_.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ie.appendChild(e).appendChild(t).appendChild(n),a=r.getComputedStyle(t),s=parseInt(a.height,10)+parseInt(a.borderTopWidth,10)+parseInt(a.borderBottomWidth,10)===t.offsetHeight,ie.removeChild(e)),s}}))}();var Ye=["Webkit","Moz","ms"],We=_.createElement("div").style,Ge={};function Xe(e){var t=C.cssProps[e]||Ge[e];return t||(e in We?e:Ge[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ye.length;n--;)if((e=Ye[n]+t)in We)return e}(e)||e)}var Ze=/^(none|table(?!-c[ea]).+)/,Ke=/^--/,Qe={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var r=ae.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function tt(e,t,n,r,a,o){var i="width"===t?1:0,s=0,c=0;if(n===(r?"border":"content"))return 0;for(;i<4;i+=2)"margin"===n&&(c+=C.css(e,n+oe[i],!0,a)),r?("content"===n&&(c-=C.css(e,"padding"+oe[i],!0,a)),"margin"!==n&&(c-=C.css(e,"border"+oe[i]+"Width",!0,a))):(c+=C.css(e,"padding"+oe[i],!0,a),"padding"!==n?c+=C.css(e,"border"+oe[i]+"Width",!0,a):s+=C.css(e,"border"+oe[i]+"Width",!0,a));return!r&&o>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-c-s-.5))||0),c}function nt(e,t,n){var r=Fe(e),a=(!g.boxSizingReliable()||n)&&"border-box"===C.css(e,"boxSizing",!1,r),o=a,i=ze(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(qe.test(i)){if(!n)return i;i="auto"}return(!g.boxSizingReliable()&&a||!g.reliableTrDimensions()&&T(e,"tr")||"auto"===i||!parseFloat(i)&&"inline"===C.css(e,"display",!1,r))&&e.getClientRects().length&&(a="border-box"===C.css(e,"boxSizing",!1,r),(o=s in e)&&(i=e[s])),(i=parseFloat(i)||0)+tt(e,t,n||(a?"border":"content"),o,r,i)+"px"}function rt(e,t,n,r,a){return new rt.prototype.init(e,t,n,r,a)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,o,i,s=X(t),c=Ke.test(t),l=e.style;if(c||(t=Xe(s)),i=C.cssHooks[t]||C.cssHooks[s],void 0===n)return i&&"get"in i&&void 0!==(a=i.get(e,!1,r))?a:l[t];"string"===(o=typeof n)&&(a=ae.exec(n))&&a[1]&&(n=ue(e,t,a),o="number"),null!=n&&n==n&&("number"!==o||c||(n+=a&&a[3]||(C.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),i&&"set"in i&&void 0===(n=i.set(e,n,r))||(c?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var a,o,i,s=X(t);return Ke.test(t)||(t=Xe(s)),(i=C.cssHooks[t]||C.cssHooks[s])&&"get"in i&&(a=i.get(e,!0,n)),void 0===a&&(a=ze(e,t,r)),"normal"===a&&t in Je&&(a=Je[t]),""===n||n?(o=parseFloat(a),!0===n||isFinite(o)?o||0:a):a}}),C.each(["height","width"],(function(e,t){C.cssHooks[t]={get:function(e,n,r){if(n)return!Ze.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):Ue(e,Qe,(function(){return nt(e,t,r)}))},set:function(e,n,r){var a,o=Fe(e),i=!g.scrollboxSize()&&"absolute"===o.position,s=(i||r)&&"border-box"===C.css(e,"boxSizing",!1,o),c=r?tt(e,t,r,s,o):0;return s&&i&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-tt(e,t,"border",!1,o)-.5)),c&&(a=ae.exec(n))&&"px"!==(a[3]||"px")&&(e.style[t]=n,n=C.css(e,t)),et(0,n,c)}}})),C.cssHooks.marginLeft=Ve(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(ze(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),C.each({margin:"",padding:"",border:"Width"},(function(e,t){C.cssHooks[e+t]={expand:function(n){for(var r=0,a={},o="string"==typeof n?n.split(" "):[n];r<4;r++)a[e+oe[r]+t]=o[r]||o[r-2]||o[0];return a}},"margin"!==e&&(C.cssHooks[e+t].set=et)})),C.fn.extend({css:function(e,t){return V(this,(function(e,t,n){var r,a,o={},i=0;if(Array.isArray(t)){for(r=Fe(e),a=t.length;i<a;i++)o[t[i]]=C.css(e,t[i],!1,r);return o}return void 0!==n?C.style(e,t,n):C.css(e,t)}),e,t,arguments.length>1)}}),C.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,r,a,o){this.elem=e,this.prop=n,this.easing=a||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||!C.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=rt.prototype.init,C.fx.step={};var at,ot,it=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function ct(){ot&&(!1===_.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ct):r.setTimeout(ct,C.fx.interval),C.fx.tick())}function lt(){return r.setTimeout((function(){at=void 0})),at=Date.now()}function ut(e,t){var n,r=0,a={height:e};for(t=t?1:0;r<4;r+=2-t)a["margin"+(n=oe[r])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function dt(e,t,n){for(var r,a=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,i=a.length;o<i;o++)if(r=a[o].call(n,t,e))return r}function pt(e,t,n){var r,a,o=0,i=pt.prefilters.length,s=C.Deferred().always((function(){delete c.elem})),c=function(){if(a)return!1;for(var t=at||lt(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,i=l.tweens.length;o<i;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&i?n:(i||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:C.extend({},t),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:t,originalOptions:n,startTime:at||lt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=C.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(a)return this;for(a=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),u=l.props;for(!function(e,t){var n,r,a,o,i;for(n in e)if(a=t[r=X(n)],o=e[n],Array.isArray(o)&&(a=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(i=C.cssHooks[r])&&"expand"in i)for(n in o=i.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=a);else t[r]=a}(u,l.opts.specialEasing);o<i;o++)if(r=pt.prefilters[o].call(l,e,u,l.opts))return v(r.stop)&&(C._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return C.map(u,dt,l),v(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),C.fx.timer(C.extend(c,{elem:e,anim:l,queue:l.opts.queue})),l}C.Animation=C.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,ae.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(N);for(var n,r=0,a=e.length;r<a;r++)n=e[r],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,a,o,i,s,c,l,u,d="width"in t||"height"in t,p=this,f={},h=e.style,m=e.nodeType&&le(e),g=Q.get(e,"fxshow");for(r in n.queue||(null==(i=C._queueHooks(e,"fx")).unqueued&&(i.unqueued=0,s=i.empty.fire,i.empty.fire=function(){i.unqueued||s()}),i.unqueued++,p.always((function(){p.always((function(){i.unqueued--,C.queue(e,"fx").length||i.empty.fire()}))}))),t)if(a=t[r],it.test(a)){if(delete t[r],o=o||"toggle"===a,a===(m?"hide":"show")){if("show"!==a||!g||void 0===g[r])continue;m=!0}f[r]=g&&g[r]||C.style(e,r)}if((c=!C.isEmptyObject(t))||!C.isEmptyObject(f))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=g&&g.display)&&(l=Q.get(e,"display")),"none"===(u=C.css(e,"display"))&&(l?u=l:(fe([e],!0),l=e.style.display||l,u=C.css(e,"display"),fe([e]))),("inline"===u||"inline-block"===u&&null!=l)&&"none"===C.css(e,"float")&&(c||(p.done((function(){h.display=l})),null==l&&(u=h.display,l="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),c=!1,f)c||(g?"hidden"in g&&(m=g.hidden):g=Q.access(e,"fxshow",{display:l}),o&&(g.hidden=!m),m&&fe([e],!0),p.done((function(){for(r in m||fe([e]),Q.remove(e,"fxshow"),f)C.style(e,r,f[r])}))),c=dt(m?g[r]:0,r,p),r in g||(g[r]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),C.speed=function(e,t,n){var r=e&&"object"==typeof e?C.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return C.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in C.fx.speeds?r.duration=C.fx.speeds[r.duration]:r.duration=C.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&C.dequeue(this,r.queue)},r},C.fn.extend({fadeTo:function(e,t,n,r){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var a=C.isEmptyObject(e),o=C.speed(t,n,r),i=function(){var t=pt(this,C.extend({},e),o);(a||Q.get(this,"finish"))&&t.stop(!0)};return i.finish=i,a||!1===o.queue?this.each(i):this.queue(o.queue,i)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,a=null!=e&&e+"queueHooks",o=C.timers,i=Q.get(this);if(a)i[a]&&i[a].stop&&r(i[a]);else for(a in i)i[a]&&i[a].stop&&st.test(a)&&r(i[a]);for(a=o.length;a--;)o[a].elem!==this||null!=e&&o[a].queue!==e||(o[a].anim.stop(n),t=!1,o.splice(a,1));!t&&n||C.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Q.get(this),r=n[e+"queue"],a=n[e+"queueHooks"],o=C.timers,i=r?r.length:0;for(n.finish=!0,C.queue(this,e,[]),a&&a.stop&&a.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<i;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),C.each(["toggle","show","hide"],(function(e,t){var n=C.fn[t];C.fn[t]=function(e,r,a){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ut(t,!0),e,r,a)}})),C.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){C.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),C.timers=[],C.fx.tick=function(){var e,t=0,n=C.timers;for(at=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||C.fx.stop(),at=void 0},C.fx.timer=function(e){C.timers.push(e),C.fx.start()},C.fx.interval=13,C.fx.start=function(){ot||(ot=!0,ct())},C.fx.stop=function(){ot=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(e,t){return e=C.fx&&C.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var a=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(a)}}))},function(){var e=_.createElement("input"),t=_.createElement("select").appendChild(_.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=_.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var ft,ht=C.expr.attrHandle;C.fn.extend({attr:function(e,t){return V(this,C.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){C.removeAttr(this,e)}))}}),C.extend({attr:function(e,t,n){var r,a,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?C.prop(e,t,n):(1===o&&C.isXMLDoc(e)||(a=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(r=a.get(e,t))?r:null==(r=C.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&T(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,a=t&&t.match(N);if(a&&1===e.nodeType)for(;n=a[r++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ht[t]||C.find.attr;ht[t]=function(e,t,r){var a,o,i=t.toLowerCase();return r||(o=ht[i],ht[i]=a,a=null!=n(e,t,r)?i:null,ht[i]=o),a}}));var mt=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function vt(e){return(e.match(N)||[]).join(" ")}function At(e){return e.getAttribute&&e.getAttribute("class")||""}function _t(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(N)||[]}C.fn.extend({prop:function(e,t){return V(this,C.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[C.propFix[e]||e]}))}}),C.extend({prop:function(e,t,n){var r,a,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(e)||(t=C.propFix[t]||t,a=C.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:e[t]=n:a&&"get"in a&&null!==(r=a.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){C.propFix[this.toLowerCase()]=this})),C.fn.extend({addClass:function(e){var t,n,r,a,o,i,s,c=0;if(v(e))return this.each((function(t){C(this).addClass(e.call(this,t,At(this)))}));if((t=_t(e)).length)for(;n=this[c++];)if(a=At(n),r=1===n.nodeType&&" "+vt(a)+" "){for(i=0;o=t[i++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");a!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,a,o,i,s,c=0;if(v(e))return this.each((function(t){C(this).removeClass(e.call(this,t,At(this)))}));if(!arguments.length)return this.attr("class","");if((t=_t(e)).length)for(;n=this[c++];)if(a=At(n),r=1===n.nodeType&&" "+vt(a)+" "){for(i=0;o=t[i++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");a!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):v(e)?this.each((function(n){C(this).toggleClass(e.call(this,n,At(this),t),t)})):this.each((function(){var t,a,o,i;if(r)for(a=0,o=C(this),i=_t(e);t=i[a++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=At(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+vt(At(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;C.fn.extend({val:function(e){var t,n,r,a=this[0];return arguments.length?(r=v(e),this.each((function(n){var a;1===this.nodeType&&(null==(a=r?e.call(this,n,C(this).val()):e)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=C.map(a,(function(e){return null==e?"":e+""}))),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))}))):a?(t=C.valHooks[a.type]||C.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:"string"==typeof(n=a.value)?n.replace(bt,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:vt(C.text(e))}},select:{get:function(e){var t,n,r,a=e.options,o=e.selectedIndex,i="select-one"===e.type,s=i?null:[],c=i?o+1:a.length;for(r=o<0?c:i?o:0;r<c;r++)if(((n=a[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!T(n.parentNode,"optgroup"))){if(t=C(n).val(),i)return t;s.push(t)}return s},set:function(e,t){for(var n,r,a=e.options,o=C.makeArray(t),i=a.length;i--;)((r=a[i]).selected=C.inArray(C.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],(function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=C.inArray(C(e).val(),t)>-1}},g.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in r;var yt=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(e,t,n,a){var o,i,s,c,l,u,d,p,h=[n||_],m=f.call(e,"type")?e.type:e,g=f.call(e,"namespace")?e.namespace.split("."):[];if(i=p=s=n=n||_,3!==n.nodeType&&8!==n.nodeType&&!yt.test(m+C.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),l=m.indexOf(":")<0&&"on"+m,(e=e[C.expando]?e:new C.Event(m,"object"==typeof e&&e)).isTrigger=a?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:C.makeArray(t,[e]),d=C.event.special[m]||{},a||!d.trigger||!1!==d.trigger.apply(n,t))){if(!a&&!d.noBubble&&!A(n)){for(c=d.delegateType||m,yt.test(c+m)||(i=i.parentNode);i;i=i.parentNode)h.push(i),s=i;s===(n.ownerDocument||_)&&h.push(s.defaultView||s.parentWindow||r)}for(o=0;(i=h[o++])&&!e.isPropagationStopped();)p=i,e.type=o>1?c:d.bindType||m,(u=(Q.get(i,"events")||Object.create(null))[e.type]&&Q.get(i,"handle"))&&u.apply(i,t),(u=l&&i[l])&&u.apply&&Z(i)&&(e.result=u.apply(i,t),!1===e.result&&e.preventDefault());return e.type=m,a||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!Z(n)||l&&v(n[m])&&!A(n)&&((s=n[l])&&(n[l]=null),C.event.triggered=m,e.isPropagationStopped()&&p.addEventListener(m,xt),n[m](),e.isPropagationStopped()&&p.removeEventListener(m,xt),C.event.triggered=void 0,s&&(n[l]=s)),e.result}},simulate:function(e,t,n){var r=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(r,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each((function(){C.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}}),g.focusin||C.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){C.event.simulate(t,e.target,C.event.fix(e))};C.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,a=Q.access(r,t);a||r.addEventListener(e,n,!0),Q.access(r,t,(a||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,a=Q.access(r,t)-1;a?Q.access(r,t,a):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var wt=r.location,Ct={guid:Date.now()},kt=/\?/;C.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||C.error("Invalid XML: "+(n?C.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Bt=/\[\]$/,St=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,Et=/^(?:input|select|textarea|keygen)/i;function Tt(e,t,n,r){var a;if(Array.isArray(t))C.each(t,(function(t,a){n||Bt.test(e)?r(e,a):Tt(e+"["+("object"==typeof a&&null!=a?t:"")+"]",a,n,r)}));else if(n||"object"!==x(t))r(e,t);else for(a in t)Tt(e+"["+a+"]",t[a],n,r)}C.param=function(e,t){var n,r=[],a=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,(function(){a(this.name,this.value)}));else for(n in e)Tt(n,e[n],t,a);return r.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&Et.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,(function(e){return{name:t.name,value:e.replace(St,"\r\n")}})):{name:t.name,value:n.replace(St,"\r\n")}})).get()}});var Rt=/%20/g,Lt=/#.*$/,Ot=/([?&])_=[^&]*/,jt=/^(.*?):[ \t]*([^\r\n]*)$/gm,It=/^(?:GET|HEAD)$/,Dt=/^\/\//,Pt={},Nt={},Ht="*/".concat("*"),qt=_.createElement("a");function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,a=0,o=t.toLowerCase().match(N)||[];if(v(n))for(;r=o[a++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ut(e,t,n,r){var a={},o=e===Nt;function i(s){var c;return a[s]=!0,C.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||a[l]?o?!(c=l):void 0:(t.dataTypes.unshift(l),i(l),!1)})),c}return i(t.dataTypes[0])||!a["*"]&&i("*")}function $t(e,t){var n,r,a=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:r||(r={}))[n]=t[n]);return r&&C.extend(!0,e,r),e}qt.href=wt.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ht,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,C.ajaxSettings),t):$t(C.ajaxSettings,e)},ajaxPrefilter:Ft(Pt),ajaxTransport:Ft(Nt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,a,o,i,s,c,l,u,d,p,f=C.ajaxSetup({},t),h=f.context||f,m=f.context&&(h.nodeType||h.jquery)?C(h):C.event,g=C.Deferred(),v=C.Callbacks("once memory"),A=f.statusCode||{},b={},y={},x="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(l){if(!i)for(i={};t=jt.exec(o);)i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=y[e.toLowerCase()]=y[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==l&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)w.always(e[w.status]);else for(t in e)A[t]=[A[t],e[t]];return this},abort:function(e){var t=e||x;return n&&n.abort(t),k(0,t),this}};if(g.promise(w),f.url=((e||f.url||wt.href)+"").replace(Dt,wt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(N)||[""],null==f.crossDomain){c=_.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=qt.protocol+"//"+qt.host!=c.protocol+"//"+c.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=C.param(f.data,f.traditional)),Ut(Pt,f,t,w),l)return w;for(d in(u=C.event&&f.global)&&0==C.active++&&C.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!It.test(f.type),a=f.url.replace(Lt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Rt,"+")):(p=f.url.slice(a.length),f.data&&(f.processData||"string"==typeof f.data)&&(a+=(kt.test(a)?"&":"?")+f.data,delete f.data),!1===f.cache&&(a=a.replace(Ot,"$1"),p=(kt.test(a)?"&":"?")+"_="+Ct.guid+++p),f.url=a+p),f.ifModified&&(C.lastModified[a]&&w.setRequestHeader("If-Modified-Since",C.lastModified[a]),C.etag[a]&&w.setRequestHeader("If-None-Match",C.etag[a])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&w.setRequestHeader("Content-Type",f.contentType),w.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ht+"; q=0.01":""):f.accepts["*"]),f.headers)w.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(h,w,f)||l))return w.abort();if(x="abort",v.add(f.complete),w.done(f.success),w.fail(f.error),n=Ut(Nt,f,t,w)){if(w.readyState=1,u&&m.trigger("ajaxSend",[w,f]),l)return w;f.async&&f.timeout>0&&(s=r.setTimeout((function(){w.abort("timeout")}),f.timeout));try{l=!1,n.send(b,k)}catch(e){if(l)throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,i,c){var d,p,_,b,y,x=t;l||(l=!0,s&&r.clearTimeout(s),n=void 0,o=c||"",w.readyState=e>0?4:0,d=e>=200&&e<300||304===e,i&&(b=function(e,t,n){for(var r,a,o,i,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){c.unshift(a);break}if(c[0]in n)o=c[0];else{for(a in n){if(!c[0]||e.converters[a+" "+c[0]]){o=a;break}i||(i=a)}o=o||i}if(o)return o!==c[0]&&c.unshift(o),n[o]}(f,w,i)),!d&&C.inArray("script",f.dataTypes)>-1&&C.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),b=function(e,t,n,r){var a,o,i,s,c,l={},u=e.dataTypes.slice();if(u[1])for(i in e.converters)l[i.toLowerCase()]=e.converters[i];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=o,o=u.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(i=l[c+" "+o]||l["* "+o]))for(a in l)if((s=a.split(" "))[1]===o&&(i=l[c+" "+s[0]]||l["* "+s[0]])){!0===i?i=l[a]:!0!==l[a]&&(o=s[0],u.unshift(s[1]));break}if(!0!==i)if(i&&e.throws)t=i(t);else try{t=i(t)}catch(e){return{state:"parsererror",error:i?e:"No conversion from "+c+" to "+o}}}return{state:"success",data:t}}(f,b,w,d),d?(f.ifModified&&((y=w.getResponseHeader("Last-Modified"))&&(C.lastModified[a]=y),(y=w.getResponseHeader("etag"))&&(C.etag[a]=y)),204===e||"HEAD"===f.type?x="nocontent":304===e?x="notmodified":(x=b.state,p=b.data,d=!(_=b.error))):(_=x,!e&&x||(x="error",e<0&&(e=0))),w.status=e,w.statusText=(t||x)+"",d?g.resolveWith(h,[p,x,w]):g.rejectWith(h,[w,x,_]),w.statusCode(A),A=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[w,f,d?p:_]),v.fireWith(h,[w,x]),u&&(m.trigger("ajaxComplete",[w,f]),--C.active||C.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],(function(e,t){C[t]=function(e,n,r,a){return v(n)&&(a=a||r,r=n,n=void 0),C.ajax(C.extend({url:e,type:t,dataType:a,data:n,success:r},C.isPlainObject(e)&&e))}})),C.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),C._evalUrl=function(e,t,n){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){C.globalEval(e,t,n)}})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){C(this).wrapInner(e.call(this,t))})):this.each((function(){var t=C(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){C(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){C(this).replaceWith(this.childNodes)})),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var zt={0:200,1223:204},Vt=C.ajaxSettings.xhr();g.cors=!!Vt&&"withCredentials"in Vt,g.ajax=Vt=!!Vt,C.ajaxTransport((function(e){var t,n;if(g.cors||Vt&&!e.crossDomain)return{send:function(a,o){var i,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)s[i]=e.xhrFields[i];for(i in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest"),a)s.setRequestHeader(i,a[i]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),C.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),C.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,a){t=C("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&a("error"===e.type?404:200,e.type)}),_.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Yt,Wt=[],Gt=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||C.expando+"_"+Ct.guid++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",(function(e,t,n){var a,o,i,s=!1!==e.jsonp&&(Gt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return a=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Gt,"$1"+a):!1!==e.jsonp&&(e.url+=(kt.test(e.url)?"&":"?")+e.jsonp+"="+a),e.converters["script json"]=function(){return i||C.error(a+" was not called"),i[0]},e.dataTypes[0]="json",o=r[a],r[a]=function(){i=arguments},n.always((function(){void 0===o?C(r).removeProp(a):r[a]=o,e[a]&&(e.jsonpCallback=t.jsonpCallback,Wt.push(a)),i&&v(o)&&o(i[0]),i=o=void 0})),"script"})),g.createHTMLDocument=((Yt=_.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Yt.childNodes.length),C.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=_.implementation.createHTMLDocument("")).createElement("base")).href=_.location.href,t.head.appendChild(r)):t=_),o=!n&&[],(a=R.exec(e))?[t.createElement(a[1])]:(a=we([e],t,o),o&&o.length&&C(o).remove(),C.merge([],a.childNodes)));var r,a,o},C.fn.load=function(e,t,n){var r,a,o,i=this,s=e.indexOf(" ");return s>-1&&(r=vt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(a="POST"),i.length>0&&C.ajax({url:e,type:a||"GET",dataType:"html",data:t}).done((function(e){o=arguments,i.html(r?C("<div>").append(C.parseHTML(e)).find(r):e)})).always(n&&function(e,t){i.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},C.expr.pseudos.animated=function(e){return C.grep(C.timers,(function(t){return e===t.elem})).length},C.offset={setOffset:function(e,t,n){var r,a,o,i,s,c,l=C.css(e,"position"),u=C(e),d={};"static"===l&&(e.style.position="relative"),s=u.offset(),o=C.css(e,"top"),c=C.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+c).indexOf("auto")>-1?(i=(r=u.position()).top,a=r.left):(i=parseFloat(o)||0,a=parseFloat(c)||0),v(t)&&(t=t.call(e,n,C.extend({},s))),null!=t.top&&(d.top=t.top-s.top+i),null!=t.left&&(d.left=t.left-s.left+a),"using"in t?t.using.call(e,d):u.css(d)}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){C.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],a={top:0,left:0};if("fixed"===C.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===C.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((a=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),a.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-a.top-C.css(r,"marginTop",!0),left:t.left-a.left-C.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||ie}))}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;C.fn[e]=function(r){return V(this,(function(e,r,a){var o;if(A(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===a)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:a,n?a:o.pageYOffset):e[r]=a}),e,r,arguments.length)}})),C.each(["top","left"],(function(e,t){C.cssHooks[t]=Ve(g.pixelPosition,(function(e,n){if(n)return n=ze(e,t),qe.test(n)?C(e).position()[t]+"px":n}))})),C.each({Height:"height",Width:"width"},(function(e,t){C.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){C.fn[r]=function(a,o){var i=arguments.length&&(n||"boolean"!=typeof a),s=n||(!0===a||!0===o?"margin":"border");return V(this,(function(t,n,a){var o;return A(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===a?C.css(t,n,s):C.style(t,n,a,s)}),t,i?a:void 0,i)}}))})),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){C.fn[t]=function(e){return this.on(t,e)}})),C.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){C.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Xt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;C.proxy=function(e,t){var n,r,a;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=s.call(arguments,2),a=function(){return e.apply(t||this,r.concat(s.call(arguments)))},a.guid=e.guid=e.guid||C.guid++,a},C.holdReady=function(e){e?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=T,C.isFunction=v,C.isWindow=A,C.camelCase=X,C.type=x,C.now=Date.now,C.isNumeric=function(e){var t=C.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},C.trim=function(e){return null==e?"":(e+"").replace(Xt,"")},void 0===(n=function(){return C}.apply(t,[]))||(e.exports=n);var Zt=r.jQuery,Kt=r.$;return C.noConflict=function(e){return r.$===C&&(r.$=Kt),e&&r.jQuery===C&&(r.jQuery=Zt),C},void 0===a&&(r.jQuery=r.$=C),C}))},97514:(e,t,n)=>{var r=n(51038),a=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),o=(r.new_float_n,r.new_int,r.new_int_n,r.assert,n(60687));e.exports=function(){this.useAdjust=0,this.aaSensitivityP=0,this.adjust=0,this.adjustLimit=0,this.decay=0,this.floor=0,this.l=a(o.SBMAX_l),this.s=a(o.SBMAX_s),this.psfb21=a(o.PSFB21),this.psfb12=a(o.PSFB12),this.cb_l=a(o.CBANDS),this.cb_s=a(o.CBANDS),this.eql_w=a(o.BLKSIZE/2)}},3724:(e,t,n)=>{var r=n(51038),a=r.System,o=(r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays),i=(r.new_array_n,r.new_byte),s=(r.new_double,r.new_float,r.new_float_n),c=r.new_int,l=(r.new_int_n,r.assert),u=n(15638),d=n(77721),p=n(60687),f=n(91998);function h(){var e=this,t=32,n=null,r=null,h=null,m=null;this.setModules=function(e,t,a,o){n=e,r=t,h=a,m=o};var g=null,v=0,A=0,_=0;function b(e){a.arraycopy(e.header[e.w_ptr].buf,0,g,A,e.sideinfo_len),A+=e.sideinfo_len,v+=8*e.sideinfo_len,e.w_ptr=e.w_ptr+1&f.MAX_HEADER_BUF-1}function y(e,n,r){for(l(r<30);r>0;){var a;0==_&&(_=8,A++,l(A<Lame.LAME_MAXMP3BUFFER),l(e.header[e.w_ptr].write_timing>=v),e.header[e.w_ptr].write_timing==v&&b(e),g[A]=0),a=Math.min(r,_),_-=a,l((r-=a)<t),l(_<t),g[A]|=n>>r<<_,v+=a}}function x(e,n,r){for(l(r<30);r>0;){var a;0==_&&(_=8,A++,l(A<Lame.LAME_MAXMP3BUFFER),g[A]=0),a=Math.min(r,_),_-=a,l((r-=a)<t),l(_<t),g[A]|=n>>r<<_,v+=a}}function w(e,t){var n,r=e.internal_flags;if(l(t>=0),t>=8&&(y(r,76,8),t-=8),t>=8&&(y(r,65,8),t-=8),t>=8&&(y(r,77,8),t-=8),t>=8&&(y(r,69,8),t-=8),t>=32){var a=h.getLameShortVersion();if(t>=32)for(n=0;n<a.length&&t>=8;++n)t-=8,y(r,a.charAt(n),8)}for(;t>=1;t-=1)y(r,r.ancillary_flag,1),r.ancillary_flag^=e.disable_reservoir?0:1;l(0==t)}function C(e,n,r){for(var a=e.header[e.h_ptr].ptr;r>0;){var o=Math.min(r,8-(7&a));l((r-=o)<t),e.header[e.h_ptr].buf[a>>3]|=n>>r<<8-(7&a)-o,a+=o}e.header[e.h_ptr].ptr=a}function k(e,t){e<<=8;for(var n=0;n<8;n++)0!=(65536&((t<<=1)^(e<<=1)))&&(t^=32773);return t}function B(e,t){var n,r=d.ht[t.count1table_select+32],a=0,o=t.big_values,i=t.big_values;for(l(t.count1table_select<2),n=(t.count1-t.big_values)/4;n>0;--n){var s,c=0,u=0;0!=(s=t.l3_enc[o+0])&&(u+=8,t.xr[i+0]<0&&c++,l(s<=1)),0!=(s=t.l3_enc[o+1])&&(u+=4,c*=2,t.xr[i+1]<0&&c++,l(s<=1)),0!=(s=t.l3_enc[o+2])&&(u+=2,c*=2,t.xr[i+2]<0&&c++,l(s<=1)),0!=(s=t.l3_enc[o+3])&&(u++,c*=2,t.xr[i+3]<0&&c++,l(s<=1)),o+=4,i+=4,y(e,c+r.table[u],r.hlen[u]),a+=r.hlen[u]}return a}function S(e,n,r,a,o){var i=d.ht[n],s=0;if(l(n<32),0==n)return s;for(var c=r;c<a;c+=2){var u=0,p=0,f=i.xlen,h=i.xlen,m=0,g=o.l3_enc[c],v=o.l3_enc[c+1];if(0!=g&&(o.xr[c]<0&&m++,u--),n>15){if(g>14){var A=g-15;l(A<=i.linmax),m|=A<<1,p=f,g=15}if(v>14){var _=v-15;l(_<=i.linmax),m<<=f,m|=_,p+=f,v=15}h=16}0!=v&&(m<<=1,o.xr[c+1]<0&&m++,u--),l((g|v)<16),g=g*h+v,p-=u,u+=i.hlen[g],l(u<=t),l(p<=t),y(e,i.table[g],u),y(e,m,p),s+=u+p}return s}function M(e,t){var n=3*e.scalefac_band.s[3];n>t.big_values&&(n=t.big_values);var r=S(e,t.table_select[0],0,n,t);return r+=S(e,t.table_select[1],n,t.big_values,t)}function E(e,t){var n,r,a,o;n=t.big_values,l(0<=n&&n<=576);var i=t.region0_count+1;return l(0<=i),l(i<e.scalefac_band.l.length),a=e.scalefac_band.l[i],i+=t.region1_count+1,l(0<=i),l(i<e.scalefac_band.l.length),a>n&&(a=n),(o=e.scalefac_band.l[i])>n&&(o=n),r=S(e,t.table_select[0],0,a,t),r+=S(e,t.table_select[1],a,o,t),r+=S(e,t.table_select[2],o,n,t)}function T(){this.total=0}function R(t,n){var r,o,i,s,c,l=t.internal_flags;return c=l.w_ptr,-1==(s=l.h_ptr-1)&&(s=f.MAX_HEADER_BUF-1),r=l.header[s].write_timing-v,n.total=r,r>=0&&(o=1+s-c,s<c&&(o=1+s-c+f.MAX_HEADER_BUF),r-=8*o*l.sideinfo_len),r+=i=e.getframebits(t),n.total+=i,n.total%8!=0?n.total=1+n.total/8:n.total=n.total/8,n.total+=A+1,r<0&&a.err.println("strange error flushing buffer ... \n"),r}this.getframebits=function(e){var t,n=e.internal_flags;return t=0!=n.bitrate_index?d.bitrate_table[e.version][n.bitrate_index]:e.brate,l(8<=t&&t<=640),8*(0|72e3*(e.version+1)*t/e.out_samplerate+n.padding)},this.CRC_writeheader=function(e,t){var n=65535;n=k(255&t[2],n),n=k(255&t[3],n);for(var r=6;r<e.sideinfo_len;r++)n=k(255&t[r],n);t[4]=byte(n>>8),t[5]=byte(255&n)},this.flush_bitstream=function(e){var t,r,a=e.internal_flags,o=a.h_ptr-1;if(-1==o&&(o=f.MAX_HEADER_BUF-1),t=a.l3_side,!((r=R(e,new T))<0)){if(w(e,r),l(a.header[o].write_timing+this.getframebits(e)==v),a.ResvSize=0,t.main_data_begin=0,a.findReplayGain){var i=n.GetTitleGain(a.rgdata);l(NEQ(i,GainAnalysis.GAIN_NOT_ENOUGH_SAMPLES)),a.RadioGain=0|Math.floor(10*i+.5)}a.findPeakSample&&(a.noclipGainChange=0|Math.ceil(20*Math.log10(a.PeakSample/32767)*10),a.noclipGainChange>0&&(EQ(e.scale,1)||EQ(e.scale,0))?a.noclipScale=Math.floor(32767/a.PeakSample*100)/100:a.noclipScale=-1)}},this.add_dummy_byte=function(e,t,n){for(var r,a=e.internal_flags;n-- >0;)for(x(0,t,8),r=0;r<f.MAX_HEADER_BUF;++r)a.header[r].write_timing+=8},this.format_bitstream=function(e){var t,n=e.internal_flags;t=n.l3_side;var r=this.getframebits(e);w(e,t.resvDrain_pre),function(e,t){var n,r,i,s=e.internal_flags;if(n=s.l3_side,s.header[s.h_ptr].ptr=0,o.fill(s.header[s.h_ptr].buf,0,s.sideinfo_len,0),e.out_samplerate<16e3?C(s,4094,12):C(s,4095,12),C(s,e.version,1),C(s,1,2),C(s,e.error_protection?0:1,1),C(s,s.bitrate_index,4),C(s,s.samplerate_index,2),C(s,s.padding,1),C(s,e.extension,1),C(s,e.mode.ordinal(),2),C(s,s.mode_ext,2),C(s,e.copyright,1),C(s,e.original,1),C(s,e.emphasis,2),e.error_protection&&C(s,0,16),1==e.version){for(l(n.main_data_begin>=0),C(s,n.main_data_begin,9),2==s.channels_out?C(s,n.private_bits,3):C(s,n.private_bits,5),i=0;i<s.channels_out;i++){var c;for(c=0;c<4;c++)C(s,n.scfsi[i][c],1)}for(r=0;r<2;r++)for(i=0;i<s.channels_out;i++)C(s,(u=n.tt[r][i]).part2_3_length+u.part2_length,12),C(s,u.big_values/2,9),C(s,u.global_gain,8),C(s,u.scalefac_compress,4),u.block_type!=p.NORM_TYPE?(C(s,1,1),C(s,u.block_type,2),C(s,u.mixed_block_flag,1),14==u.table_select[0]&&(u.table_select[0]=16),C(s,u.table_select[0],5),14==u.table_select[1]&&(u.table_select[1]=16),C(s,u.table_select[1],5),C(s,u.subblock_gain[0],3),C(s,u.subblock_gain[1],3),C(s,u.subblock_gain[2],3)):(C(s,0,1),14==u.table_select[0]&&(u.table_select[0]=16),C(s,u.table_select[0],5),14==u.table_select[1]&&(u.table_select[1]=16),C(s,u.table_select[1],5),14==u.table_select[2]&&(u.table_select[2]=16),C(s,u.table_select[2],5),l(0<=u.region0_count&&u.region0_count<16),l(0<=u.region1_count&&u.region1_count<8),C(s,u.region0_count,4),C(s,u.region1_count,3)),C(s,u.preflag,1),C(s,u.scalefac_scale,1),C(s,u.count1table_select,1)}else for(l(n.main_data_begin>=0),C(s,n.main_data_begin,8),C(s,n.private_bits,s.channels_out),r=0,i=0;i<s.channels_out;i++){var u;C(s,(u=n.tt[r][i]).part2_3_length+u.part2_length,12),C(s,u.big_values/2,9),C(s,u.global_gain,8),C(s,u.scalefac_compress,9),u.block_type!=p.NORM_TYPE?(C(s,1,1),C(s,u.block_type,2),C(s,u.mixed_block_flag,1),14==u.table_select[0]&&(u.table_select[0]=16),C(s,u.table_select[0],5),14==u.table_select[1]&&(u.table_select[1]=16),C(s,u.table_select[1],5),C(s,u.subblock_gain[0],3),C(s,u.subblock_gain[1],3),C(s,u.subblock_gain[2],3)):(C(s,0,1),14==u.table_select[0]&&(u.table_select[0]=16),C(s,u.table_select[0],5),14==u.table_select[1]&&(u.table_select[1]=16),C(s,u.table_select[1],5),14==u.table_select[2]&&(u.table_select[2]=16),C(s,u.table_select[2],5),l(0<=u.region0_count&&u.region0_count<16),l(0<=u.region1_count&&u.region1_count<8),C(s,u.region0_count,4),C(s,u.region1_count,3)),C(s,u.scalefac_scale,1),C(s,u.count1table_select,1)}e.error_protection&&CRC_writeheader(s,s.header[s.h_ptr].buf);var d=s.h_ptr;l(s.header[d].ptr==8*s.sideinfo_len),s.h_ptr=d+1&f.MAX_HEADER_BUF-1,s.header[s.h_ptr].write_timing=s.header[d].write_timing+t,s.h_ptr==s.w_ptr&&a.err.println("Error: MAX_HEADER_BUF too small in bitstream.c \n")}(e,r);var i=8*n.sideinfo_len;if(i+=function(e){var t,n,r,a,o=0,i=e.internal_flags,s=i.l3_side;if(1==e.version)for(t=0;t<2;t++)for(n=0;n<i.channels_out;n++){var c=s.tt[t][n],d=u.slen1_tab[c.scalefac_compress],f=u.slen2_tab[c.scalefac_compress];for(a=0,r=0;r<c.sfbdivide;r++)-1!=c.scalefac[r]&&(y(i,c.scalefac[r],d),a+=d);for(;r<c.sfbmax;r++)-1!=c.scalefac[r]&&(y(i,c.scalefac[r],f),a+=f);l(a==c.part2_length),c.block_type==p.SHORT_TYPE?a+=M(i,c):a+=E(i,c),a+=B(i,c),l(a==c.part2_3_length+c.part2_length),o+=a}else for(t=0,n=0;n<i.channels_out;n++){c=s.tt[t][n];var h,m,g=0;if(l(null!=c.sfb_partition_table),a=0,r=0,m=0,c.block_type==p.SHORT_TYPE){for(;m<4;m++){var v=c.sfb_partition_table[m]/3,A=c.slen[m];for(h=0;h<v;h++,r++)y(i,Math.max(c.scalefac[3*r+0],0),A),y(i,Math.max(c.scalefac[3*r+1],0),A),y(i,Math.max(c.scalefac[3*r+2],0),A),g+=3*A}a+=M(i,c)}else{for(;m<4;m++)for(v=c.sfb_partition_table[m],A=c.slen[m],h=0;h<v;h++,r++)y(i,Math.max(c.scalefac[r],0),A),g+=A;a+=E(i,c)}a+=B(i,c),l(a==c.part2_3_length),l(g==c.part2_length),o+=g+a}return o}(e),w(e,t.resvDrain_post),i+=t.resvDrain_post,t.main_data_begin+=(r-i)/8,R(e,new T)!=n.ResvSize&&a.err.println("Internal buffer inconsistency. flushbits <> ResvSize"),8*t.main_data_begin!=n.ResvSize&&(a.err.printf("bit reservoir error: \nl3_side.main_data_begin: %d \nResvoir size:             %d \nresv drain (post)         %d \nresv drain (pre)          %d \nheader and sideinfo:      %d \ndata bits:                %d \ntotal bits:               %d (remainder: %d) \nbitsperframe:             %d \n",8*t.main_data_begin,n.ResvSize,t.resvDrain_post,t.resvDrain_pre,8*n.sideinfo_len,i-t.resvDrain_post-8*n.sideinfo_len,i,i%8,r),a.err.println("This is a fatal error.  It has several possible causes:"),a.err.println("90%%  LAME compiled with buggy version of gcc using advanced optimizations"),a.err.println(" 9%%  Your system is overclocked"),a.err.println(" 1%%  bug in LAME encoding library"),n.ResvSize=8*t.main_data_begin),l(v%8==0),v>1e9){var s;for(s=0;s<f.MAX_HEADER_BUF;++s)n.header[s].write_timing-=v;v=0}return 0},this.copy_buffer=function(e,t,o,i,u){var d=A+1;if(d<=0)return 0;if(0!=i&&d>i)return-1;if(a.arraycopy(g,0,t,o,d),A=-1,_=0,0!=u){var p=c(1);if(p[0]=e.nMusicCRC,m.updateMusicCRC(p,t,o,d),e.nMusicCRC=p[0],d>0&&(e.VBR_seek_table.nBytesWritten+=d),e.decode_on_the_fly)for(var f,h=s([2,1152]),v=d,b=-1;0!=b;)if(b=r.hip_decode1_unclipped(e.hip,t,o,v,h[0],h[1]),v=0,-1==b&&(b=0),b>0){if(l(b<=1152),e.findPeakSample){for(f=0;f<b;f++)h[0][f]>e.PeakSample?e.PeakSample=h[0][f]:-h[0][f]>e.PeakSample&&(e.PeakSample=-h[0][f]);if(e.channels_out>1)for(f=0;f<b;f++)h[1][f]>e.PeakSample?e.PeakSample=h[1][f]:-h[1][f]>e.PeakSample&&(e.PeakSample=-h[1][f])}if(e.findReplayGain&&n.AnalyzeSamples(e.rgdata,h[0],0,h[1],0,b,e.channels_out)==GainAnalysis.GAIN_ANALYSIS_ERROR)return-6}}return d},this.init_bit_stream_w=function(e){g=i(Lame.LAME_MAXMP3BUFFER),e.h_ptr=e.w_ptr=0,e.header[e.h_ptr].write_timing=0,A=-1,_=0,v=0}}h.EQ=function(e,t){return Math.abs(e)>Math.abs(t)?Math.abs(e-t)<=1e-6*Math.abs(e):Math.abs(e-t)<=1e-6*Math.abs(t)},h.NEQ=function(e,t){return!h.EQ(e,t)},e.exports=h},49120:(e,t,n)=>{var r=n(51038),a=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),o=(r.new_float_n,r.new_int),i=(r.new_int_n,r.assert),s=n(23134),c=n(60687),l=n(90354),u=n(91998);e.exports=function(e){var t=e;this.quantize=t,this.iteration_loop=function(e,t,n,r){var d,p=e.internal_flags,f=a(l.SFBMAX),h=a(576),m=o(2),g=0,v=p.l3_side,A=new s(g);this.quantize.rv.ResvFrameBegin(e,A),g=A.bits;for(var _=0;_<p.mode_gr;_++){d=this.quantize.qupvt.on_pe(e,t,m,g,_,_),p.mode_ext==c.MPG_MD_MS_LR&&(this.quantize.ms_convert(p.l3_side,_),this.quantize.qupvt.reduce_side(m,n[_],g,d));for(var b=0;b<p.channels_out;b++){var y,x,w=v.tt[_][b];w.block_type!=c.SHORT_TYPE?(y=0,x=p.PSY.mask_adjust-y):(y=0,x=p.PSY.mask_adjust_short-y),p.masking_lower=Math.pow(10,.1*x),this.quantize.init_outer_loop(p,w),this.quantize.init_xrpow(p,w,h)&&(this.quantize.qupvt.calc_xmin(e,r[_][b],w,f),this.quantize.outer_loop(e,w,f,h,b,m[b])),this.quantize.iteration_finish_one(p,_,b),i(w.part2_3_length<=u.MAX_BITS_PER_CHANNEL),i(w.part2_3_length<=m[b])}}this.quantize.rv.ResvFrameEnd(p,g)}}},3449:(e,t,n)=>{var r=n(51038),a=r.new_float,o=r.new_int;r.assert;e.exports=function(){this.global_gain=0,this.sfb_count1=0,this.step=o(39),this.noise=a(39),this.noise_log=a(39)}},22711:e=>{e.exports=function(){this.over_noise=0,this.tot_noise=0,this.max_noise=0,this.over_count=0,this.over_SSD=0,this.bits=0}},60687:(e,t,n)=>{var r=n(51038),a=r.System,o=r.VbrMode,i=(r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n),s=(r.new_byte,r.new_double,r.new_float),c=r.new_float_n,l=r.new_int,u=(r.new_int_n,r.assert);function d(){var e=n(82143),t=n(99584),r=d.FFTOFFSET,p=d.MPG_MD_MS_LR,f=null;this.psy=null;var h=null,m=null,g=null;this.setModules=function(e,t,n,r){f=e,this.psy=t,h=t,m=r,g=n};var v=new e;this.lame_encode_mp3_frame=function(e,n,A,_,b,y){var x,w=i([2,2]);w[0][0]=new t,w[0][1]=new t,w[1][0]=new t,w[1][1]=new t;var C,k=i([2,2]);k[0][0]=new t,k[0][1]=new t,k[1][0]=new t,k[1][1]=new t;var B,S,M,E=[null,null],T=e.internal_flags,R=c([2,4]),L=[.5,.5],O=[[0,0],[0,0]],j=[[0,0],[0,0]];if(E[0]=n,E[1]=A,0==T.lame_encode_frame_init&&function(e,t){var n,r,a=e.internal_flags;if(0==a.lame_encode_frame_init){var o,i,c=s(2014),l=s(2014);for(a.lame_encode_frame_init=1,o=0,i=0;o<286+576*(1+a.mode_gr);++o)o<576*a.mode_gr?(c[o]=0,2==a.channels_out&&(l[o]=0)):(c[o]=t[0][i],2==a.channels_out&&(l[o]=t[1][i]),++i);for(r=0;r<a.mode_gr;r++)for(n=0;n<a.channels_out;n++)a.l3_side.tt[r][n].block_type=d.SHORT_TYPE;v.mdct_sub48(a,c,l),u(576>=d.FFTOFFSET),u(a.mf_size>=d.BLKSIZE+e.framesize-d.FFTOFFSET),u(a.mf_size>=512+e.framesize-32)}}(e,E),T.padding=0,(T.slot_lag-=T.frac_SpF)<0&&(T.slot_lag+=e.out_samplerate,T.padding=1),0!=T.psymodel){var I=[null,null],D=0,P=l(2);for(M=0;M<T.mode_gr;M++){for(S=0;S<T.channels_out;S++)I[S]=E[S],D=576+576*M-d.FFTOFFSET;if(0!=(e.VBR==o.vbr_mtrh||e.VBR==o.vbr_mt?h.L3psycho_anal_vbr(e,I,D,M,w,k,O[M],j[M],R[M],P):h.L3psycho_anal_ns(e,I,D,M,w,k,O[M],j[M],R[M],P)))return-4;for(e.mode==MPEGMode.JOINT_STEREO&&(L[M]=R[M][2]+R[M][3],L[M]>0&&(L[M]=R[M][3]/L[M])),S=0;S<T.channels_out;S++){var N=T.l3_side.tt[M][S];N.block_type=P[S],N.mixed_block_flag=0}}}else for(M=0;M<T.mode_gr;M++)for(S=0;S<T.channels_out;S++)T.l3_side.tt[M][S].block_type=d.NORM_TYPE,T.l3_side.tt[M][S].mixed_block_flag=0,j[M][S]=O[M][S]=700;if(function(e){var t,n;if(0!=e.ATH.useAdjust)if(n=e.loudness_sq[0][0],t=e.loudness_sq[1][0],2==e.channels_out?(n+=e.loudness_sq[0][1],t+=e.loudness_sq[1][1]):(n+=n,t+=t),2==e.mode_gr&&(n=Math.max(n,t)),n*=.5,(n*=e.ATH.aaSensitivityP)>.03125)e.ATH.adjust>=1?e.ATH.adjust=1:e.ATH.adjust<e.ATH.adjustLimit&&(e.ATH.adjust=e.ATH.adjustLimit),e.ATH.adjustLimit=1;else{var r=31.98*n+625e-6;e.ATH.adjust>=r?(e.ATH.adjust*=.075*r+.925,e.ATH.adjust<r&&(e.ATH.adjust=r)):e.ATH.adjustLimit>=r?e.ATH.adjust=r:e.ATH.adjust<e.ATH.adjustLimit&&(e.ATH.adjust=e.ATH.adjustLimit),e.ATH.adjustLimit=r}else e.ATH.adjust=1}(T),v.mdct_sub48(T,E[0],E[1]),T.mode_ext=d.MPG_MD_LR_LR,e.force_ms)T.mode_ext=d.MPG_MD_MS_LR;else if(e.mode==MPEGMode.JOINT_STEREO){var H=0,q=0;for(M=0;M<T.mode_gr;M++)for(S=0;S<T.channels_out;S++)H+=j[M][S],q+=O[M][S];if(H<=1*q){var F=T.l3_side.tt[0],U=T.l3_side.tt[T.mode_gr-1];F[0].block_type==F[1].block_type&&U[0].block_type==U[1].block_type&&(T.mode_ext=d.MPG_MD_MS_LR)}}if(T.mode_ext==p?(C=k,B=j):(C=w,B=O),e.analysis&&null!=T.pinfo)for(M=0;M<T.mode_gr;M++)for(S=0;S<T.channels_out;S++)T.pinfo.ms_ratio[M]=T.ms_ratio[M],T.pinfo.ms_ener_ratio[M]=L[M],T.pinfo.blocktype[M][S]=T.l3_side.tt[M][S].block_type,T.pinfo.pe[M][S]=B[M][S],a.arraycopy(T.l3_side.tt[M][S].xr,0,T.pinfo.xr[M][S],0,576),T.mode_ext==p&&(T.pinfo.ers[M][S]=T.pinfo.ers[M][S+2],a.arraycopy(T.pinfo.energy[M][S+2],0,T.pinfo.energy[M][S],0,T.pinfo.energy[M][S].length));if(e.VBR==o.vbr_off||e.VBR==o.vbr_abr){var $,z;for($=0;$<18;$++)T.nsPsy.pefirbuf[$]=T.nsPsy.pefirbuf[$+1];for(z=0,M=0;M<T.mode_gr;M++)for(S=0;S<T.channels_out;S++)z+=B[M][S];for(T.nsPsy.pefirbuf[18]=z,z=T.nsPsy.pefirbuf[9],$=0;$<9;$++)z+=(T.nsPsy.pefirbuf[$]+T.nsPsy.pefirbuf[18-$])*d.fircoef[$];for(z=3350*T.mode_gr*T.channels_out/z,M=0;M<T.mode_gr;M++)for(S=0;S<T.channels_out;S++)B[M][S]*=z}if(T.iteration_loop.iteration_loop(e,B,L,C),f.format_bitstream(e),x=f.copy_buffer(T,_,b,y,1),e.bWriteVbrTag&&m.addVbrFrame(e),e.analysis&&null!=T.pinfo){for(S=0;S<T.channels_out;S++){var V;for(V=0;V<r;V++)T.pinfo.pcmdata[S][V]=T.pinfo.pcmdata[S][V+e.framesize];for(V=r;V<1600;V++)T.pinfo.pcmdata[S][V]=E[S][V-r]}g.set_frame_pinfo(e,C)}return function(e){var t,n;for(u(0<=e.bitrate_index&&e.bitrate_index<16),u(0<=e.mode_ext&&e.mode_ext<4),e.bitrate_stereoMode_Hist[e.bitrate_index][4]++,e.bitrate_stereoMode_Hist[15][4]++,2==e.channels_out&&(e.bitrate_stereoMode_Hist[e.bitrate_index][e.mode_ext]++,e.bitrate_stereoMode_Hist[15][e.mode_ext]++),t=0;t<e.mode_gr;++t)for(n=0;n<e.channels_out;++n){var r=0|e.l3_side.tt[t][n].block_type;0!=e.l3_side.tt[t][n].mixed_block_flag&&(r=4),e.bitrate_blockType_Hist[e.bitrate_index][r]++,e.bitrate_blockType_Hist[e.bitrate_index][5]++,e.bitrate_blockType_Hist[15][r]++,e.bitrate_blockType_Hist[15][5]++}}(T),x}}d.ENCDELAY=576,d.POSTDELAY=1152,d.MDCTDELAY=48,d.FFTOFFSET=224+d.MDCTDELAY,d.DECDELAY=528,d.SBLIMIT=32,d.CBANDS=64,d.SBPSY_l=21,d.SBPSY_s=12,d.SBMAX_l=22,d.SBMAX_s=13,d.PSFB21=6,d.PSFB12=6,d.BLKSIZE=1024,d.HBLKSIZE=d.BLKSIZE/2+1,d.BLKSIZE_s=256,d.HBLKSIZE_s=d.BLKSIZE_s/2+1,d.NORM_TYPE=0,d.START_TYPE=1,d.SHORT_TYPE=2,d.STOP_TYPE=3,d.MPG_MD_LR_LR=0,d.MPG_MD_LR_I=1,d.MPG_MD_MS_LR=2,d.MPG_MD_MS_I=3,d.fircoef=[-.1039435,-.1892065,5*-.0432472,-.155915,3898045e-23,.0467745*5,.50455,.756825,.187098*5],e.exports=d},19347:(e,t,n)=>{var r=n(51038),a=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util),o=(r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),i=(r.new_float_n,r.new_int,r.new_int_n,r.assert,n(60687));e.exports=function(){var e=o(i.BLKSIZE),t=o(i.BLKSIZE_s/2),n=[.9238795325112867,.3826834323650898,.9951847266721969,.0980171403295606,.9996988186962042,.02454122852291229,.9999811752826011,.006135884649154475];function r(e,t,r){var o,i,s,c=0,l=t+(r<<=1);o=4;do{var u,d,p,f,h,m,g;g=o>>1,m=(h=o<<1)+(f=o),o=h<<1,s=(i=t)+g;do{w=e[i+0]-e[i+f],x=e[i+0]+e[i+f],S=e[i+h]-e[i+m],k=e[i+h]+e[i+m],e[i+h]=x-k,e[i+0]=x+k,e[i+m]=w-S,e[i+f]=w+S,w=e[s+0]-e[s+f],x=e[s+0]+e[s+f],S=a.SQRT2*e[s+m],k=a.SQRT2*e[s+h],e[s+h]=x-k,e[s+0]=x+k,e[s+m]=w-S,e[s+f]=w+S,s+=o,i+=o}while(i<l);for(d=n[c+0],u=n[c+1],p=1;p<g;p++){var v,A;v=1-2*u*u,A=2*u*d,i=t+p,s=t+f-p;do{var _,b,y,x,w,C,k,B,S,M;b=A*e[i+f]-v*e[s+f],_=v*e[i+f]+A*e[s+f],w=e[i+0]-_,x=e[i+0]+_,C=e[s+0]-b,y=e[s+0]+b,b=A*e[i+m]-v*e[s+m],_=v*e[i+m]+A*e[s+m],S=e[i+h]-_,k=e[i+h]+_,M=e[s+h]-b,B=e[s+h]+b,b=u*k-d*M,_=d*k+u*M,e[i+h]=x-_,e[i+0]=x+_,e[s+m]=C-b,e[s+f]=C+b,b=d*B-u*S,_=u*B+d*S,e[s+h]=y-_,e[s+0]=y+_,e[i+m]=w-b,e[i+f]=w+b,s+=o,i+=o}while(i<l);d=(v=d)*n[c+0]-u*n[c+1],u=v*n[c+1]+u*n[c+0]}c+=2}while(o<r)}var s=[0,128,64,192,32,160,96,224,16,144,80,208,48,176,112,240,8,136,72,200,40,168,104,232,24,152,88,216,56,184,120,248,4,132,68,196,36,164,100,228,20,148,84,212,52,180,116,244,12,140,76,204,44,172,108,236,28,156,92,220,60,188,124,252,2,130,66,194,34,162,98,226,18,146,82,210,50,178,114,242,10,138,74,202,42,170,106,234,26,154,90,218,58,186,122,250,6,134,70,198,38,166,102,230,22,150,86,214,54,182,118,246,14,142,78,206,46,174,110,238,30,158,94,222,62,190,126,254];this.fft_short=function(e,n,a,o,c){for(var l=0;l<3;l++){var u=i.BLKSIZE_s/2,d=65535&192*(l+1),p=i.BLKSIZE_s/8-1;do{var f,h,m,g,v,A=255&s[p<<2];h=(f=t[A]*o[a][c+A+d])-(v=t[127-A]*o[a][c+A+d+128]),f+=v,g=(m=t[A+64]*o[a][c+A+d+64])-(v=t[63-A]*o[a][c+A+d+192]),m+=v,u-=4,n[l][u+0]=f+m,n[l][u+2]=f-m,n[l][u+1]=h+g,n[l][u+3]=h-g,h=(f=t[A+1]*o[a][c+A+d+1])-(v=t[126-A]*o[a][c+A+d+129]),f+=v,g=(m=t[A+65]*o[a][c+A+d+65])-(v=t[62-A]*o[a][c+A+d+193]),m+=v,n[l][u+i.BLKSIZE_s/2+0]=f+m,n[l][u+i.BLKSIZE_s/2+2]=f-m,n[l][u+i.BLKSIZE_s/2+1]=h+g,n[l][u+i.BLKSIZE_s/2+3]=h-g}while(--p>=0);r(n[l],u,i.BLKSIZE_s/2)}},this.fft_long=function(t,n,a,o,c){var l=i.BLKSIZE/8-1,u=i.BLKSIZE/2;do{var d,p,f,h,m,g=255&s[l];p=(d=e[g]*o[a][c+g])-(m=e[g+512]*o[a][c+g+512]),d+=m,h=(f=e[g+256]*o[a][c+g+256])-(m=e[g+768]*o[a][c+g+768]),f+=m,n[(u-=4)+0]=d+f,n[u+2]=d-f,n[u+1]=p+h,n[u+3]=p-h,p=(d=e[g+1]*o[a][c+g+1])-(m=e[g+513]*o[a][c+g+513]),d+=m,h=(f=e[g+257]*o[a][c+g+257])-(m=e[g+769]*o[a][c+g+769]),f+=m,n[u+i.BLKSIZE/2+0]=d+f,n[u+i.BLKSIZE/2+2]=d-f,n[u+i.BLKSIZE/2+1]=p+h,n[u+i.BLKSIZE/2+3]=p-h}while(--l>=0);r(n,u,i.BLKSIZE/2)},this.init_fft=function(n){for(var r=0;r<i.BLKSIZE;r++)e[r]=.42-.5*Math.cos(2*Math.PI*(r+.5)/i.BLKSIZE)+.08*Math.cos(4*Math.PI*(r+.5)/i.BLKSIZE);for(r=0;r<i.BLKSIZE_s/2;r++)t[r]=.5*(1-Math.cos(2*Math.PI*(r+.5)/i.BLKSIZE_s))}}},51287:(e,t,n)=>{var r=n(51038),a=r.System,o=(r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays);r.new_array_n,r.new_byte,r.new_double,r.new_float,r.new_float_n,r.new_int,r.new_int_n,r.assert;function i(){i.YULE_ORDER,i.MAX_SAMP_FREQ;var e=i.RMS_WINDOW_TIME_NUMERATOR,t=i.RMS_WINDOW_TIME_DENOMINATOR,n=(i.MAX_SAMPLES_PER_WINDOW,[[.038575994352,-3.84664617118067,-.02160367184185,7.81501653005538,-.00123395316851,-11.34170355132042,-9291677959e-14,13.05504219327545,-.01655260341619,-12.28759895145294,.02161526843274,9.4829380631979,-.02074045215285,-5.87257861775999,.00594298065125,2.75465861874613,.00306428023191,-.86984376593551,.00012025322027,.13919314567432,.00288463683916],[.0541865640643,-3.47845948550071,-.02911007808948,6.36317777566148,-.00848709379851,-8.54751527471874,-.00851165645469,9.4769360780128,-.00834990904936,-8.81498681370155,.02245293253339,6.85401540936998,-.02596338512915,-4.39470996079559,.01624864962975,2.19611684890774,-.00240879051584,-.75104302451432,.00674613682247,.13149317958808,-.00187763777362],[.15457299681924,-2.37898834973084,-.09331049056315,2.84868151156327,-.06247880153653,-2.64577170229825,.02163541888798,2.23697657451713,-.05588393329856,-1.67148153367602,.04781476674921,1.00595954808547,.00222312597743,-.45953458054983,.03174092540049,.16378164858596,-.01390589421898,-.05032077717131,.00651420667831,.0234789740702,-.00881362733839],[.30296907319327,-1.61273165137247,-.22613988682123,1.0797749225997,-.08587323730772,-.2565625775407,.03282930172664,-.1627671912044,-.00915702933434,-.22638893773906,-.02364141202522,.39120800788284,-.00584456039913,-.22138138954925,.06276101321749,.04500235387352,-828086748e-14,.02005851806501,.00205861885564,.00302439095741,-.02950134983287],[.33642304856132,-1.49858979367799,-.2557224142557,.87350271418188,-.11828570177555,.12205022308084,.11921148675203,-.80774944671438,-.07834489609479,.47854794562326,-.0046997791438,-.12453458140019,-.0058950022444,-.04067510197014,.05724228140351,.08333755284107,.00832043980773,-.04237348025746,-.0163538138454,.02977207319925,-.0176017656815],[.4491525660845,-.62820619233671,-.14351757464547,.29661783706366,-.22784394429749,-.372563729424,-.01419140100551,.00213767857124,.04078262797139,-.42029820170918,-.12398163381748,.22199650564824,.04097565135648,.00613424350682,.10478503600251,.06747620744683,-.01863887810927,.05784820375801,-.03193428438915,.03222754072173,.00541907748707],[.56619470757641,-1.04800335126349,-.75464456939302,.29156311971249,.1624213774223,-.26806001042947,.16744243493672,.00819999645858,-.18901604199609,.45054734505008,.3093178284183,-.33032403314006,-.27562961986224,.0673936833311,.00647310677246,-.04784254229033,.08647503780351,.01639907836189,-.0378898455484,.01807364323573,-.00588215443421],[.58100494960553,-.51035327095184,-.53174909058578,-.31863563325245,-.14289799034253,-.20256413484477,.17520704835522,.1472815413433,.02377945217615,.38952639978999,.15558449135573,-.23313271880868,-.25344790059353,-.05246019024463,.01628462406333,-.02505961724053,.06920467763959,.02442357316099,-.03721611395801,.01818801111503,-.00749618797172],[.53648789255105,-.2504987195602,-.42163034350696,-.43193942311114,-.00275953611929,-.03424681017675,.04267842219415,-.04678328784242,-.10214864179676,.26408300200955,.14590772289388,.15113130533216,-.02459864859345,-.17556493366449,-.11202315195388,-.18823009262115,-.04060034127,.05477720428674,.0478866554818,.0470440968812,-.02217936801134]]),r=[[.98621192462708,-1.97223372919527,-1.97242384925416,.97261396931306,.98621192462708],[.98500175787242,-1.96977855582618,-1.97000351574484,.9702284756635,.98500175787242],[.97938932735214,-1.95835380975398,-1.95877865470428,.95920349965459,.97938932735214],[.97531843204928,-1.95002759149878,-1.95063686409857,.95124613669835,.97531843204928],[.97316523498161,-1.94561023566527,-1.94633046996323,.94705070426118,.97316523498161],[.96454515552826,-1.92783286977036,-1.92909031105652,.93034775234268,.96454515552826],[.96009142950541,-1.91858953033784,-1.92018285901082,.92177618768381,.96009142950541],[.95856916599601,-1.9154210807478,-1.91713833199203,.91885558323625,.95856916599601],[.94597685600279,-1.88903307939452,-1.89195371200558,.89487434461664,.94597685600279]];function s(e,t,n,r,a,o){for(;0!=a--;)n[r]=1e-10+e[t+0]*o[0]-n[r-1]*o[1]+e[t-1]*o[2]-n[r-2]*o[3]+e[t-2]*o[4]-n[r-3]*o[5]+e[t-3]*o[6]-n[r-4]*o[7]+e[t-4]*o[8]-n[r-5]*o[9]+e[t-5]*o[10]-n[r-6]*o[11]+e[t-6]*o[12]-n[r-7]*o[13]+e[t-7]*o[14]-n[r-8]*o[15]+e[t-8]*o[16]-n[r-9]*o[17]+e[t-9]*o[18]-n[r-10]*o[19]+e[t-10]*o[20],++r,++t}function c(e,t,n,r,a,o){for(;0!=a--;)n[r]=e[t+0]*o[0]-n[r-1]*o[1]+e[t-1]*o[2]-n[r-2]*o[3]+e[t-2]*o[4],++r,++t}function l(e){return e*e}this.InitGainAnalysis=function(n,r){return function(n,r){for(var a=0;a<MAX_ORDER;a++)n.linprebuf[a]=n.lstepbuf[a]=n.loutbuf[a]=n.rinprebuf[a]=n.rstepbuf[a]=n.routbuf[a]=0;switch(0|r){case 48e3:n.reqindex=0;break;case 44100:n.reqindex=1;break;case 32e3:n.reqindex=2;break;case 24e3:n.reqindex=3;break;case 22050:n.reqindex=4;break;case 16e3:n.reqindex=5;break;case 12e3:n.reqindex=6;break;case 11025:n.reqindex=7;break;case 8e3:n.reqindex=8;break;default:return INIT_GAIN_ANALYSIS_ERROR}return n.sampleWindow=0|(r*e+t-1)/t,n.lsum=0,n.rsum=0,n.totsamp=0,o.ill(n.A,0),INIT_GAIN_ANALYSIS_OK}(n,r)!=INIT_GAIN_ANALYSIS_OK?INIT_GAIN_ANALYSIS_ERROR:(n.linpre=MAX_ORDER,n.rinpre=MAX_ORDER,n.lstep=MAX_ORDER,n.rstep=MAX_ORDER,n.lout=MAX_ORDER,n.rout=MAX_ORDER,o.fill(n.B,0),INIT_GAIN_ANALYSIS_OK)},this.AnalyzeSamples=function(e,t,o,u,d,p,f){var h,m,g,v,A,_,b;if(0==p)return GAIN_ANALYSIS_OK;switch(b=0,A=p,f){case 1:u=t,d=o;break;case 2:break;default:return GAIN_ANALYSIS_ERROR}for(p<MAX_ORDER?(a.arraycopy(t,o,e.linprebuf,MAX_ORDER,p),a.arraycopy(u,d,e.rinprebuf,MAX_ORDER,p)):(a.arraycopy(t,o,e.linprebuf,MAX_ORDER,MAX_ORDER),a.arraycopy(u,d,e.rinprebuf,MAX_ORDER,MAX_ORDER));A>0;){_=A>e.sampleWindow-e.totsamp?e.sampleWindow-e.totsamp:A,b<MAX_ORDER?(h=e.linpre+b,m=e.linprebuf,g=e.rinpre+b,v=e.rinprebuf,_>MAX_ORDER-b&&(_=MAX_ORDER-b)):(h=o+b,m=t,g=d+b,v=u),s(m,h,e.lstepbuf,e.lstep+e.totsamp,_,n[e.reqindex]),s(v,g,e.rstepbuf,e.rstep+e.totsamp,_,n[e.reqindex]),c(e.lstepbuf,e.lstep+e.totsamp,e.loutbuf,e.lout+e.totsamp,_,r[e.reqindex]),c(e.rstepbuf,e.rstep+e.totsamp,e.routbuf,e.rout+e.totsamp,_,r[e.reqindex]),h=e.lout+e.totsamp,m=e.loutbuf,g=e.rout+e.totsamp,v=e.routbuf;for(var y=_%8;0!=y--;)e.lsum+=l(m[h++]),e.rsum+=l(v[g++]);for(y=_/8;0!=y--;)e.lsum+=l(m[h+0])+l(m[h+1])+l(m[h+2])+l(m[h+3])+l(m[h+4])+l(m[h+5])+l(m[h+6])+l(m[h+7]),h+=8,e.rsum+=l(v[g+0])+l(v[g+1])+l(v[g+2])+l(v[g+3])+l(v[g+4])+l(v[g+5])+l(v[g+6])+l(v[g+7]),g+=8;if(A-=_,b+=_,e.totsamp+=_,e.totsamp==e.sampleWindow){var x=10*i.STEPS_per_dB*Math.log10((e.lsum+e.rsum)/e.totsamp*.5+1e-37),w=x<=0?0:0|x;w>=e.A.length&&(w=e.A.length-1),e.A[w]++,e.lsum=e.rsum=0,a.arraycopy(e.loutbuf,e.totsamp,e.loutbuf,0,MAX_ORDER),a.arraycopy(e.routbuf,e.totsamp,e.routbuf,0,MAX_ORDER),a.arraycopy(e.lstepbuf,e.totsamp,e.lstepbuf,0,MAX_ORDER),a.arraycopy(e.rstepbuf,e.totsamp,e.rstepbuf,0,MAX_ORDER),e.totsamp=0}if(e.totsamp>e.sampleWindow)return GAIN_ANALYSIS_ERROR}return p<MAX_ORDER?(a.arraycopy(e.linprebuf,p,e.linprebuf,0,MAX_ORDER-p),a.arraycopy(e.rinprebuf,p,e.rinprebuf,0,MAX_ORDER-p),a.arraycopy(t,o,e.linprebuf,MAX_ORDER-p,p),a.arraycopy(u,d,e.rinprebuf,MAX_ORDER-p,p)):(a.arraycopy(t,o+p-MAX_ORDER,e.linprebuf,0,MAX_ORDER),a.arraycopy(u,d+p-MAX_ORDER,e.rinprebuf,0,MAX_ORDER)),GAIN_ANALYSIS_OK},this.GetTitleGain=function(e){for(var t=function(e,t){var n,r=0;for(n=0;n<t;n++)r+=e[n];if(0==r)return GAIN_NOT_ENOUGH_SAMPLES;var a=0|Math.ceil(r*(1-.95));for(n=t;n-- >0&&!((a-=e[n])<=0););return 64.82-n/i.STEPS_per_dB}(e.A,e.A.length),n=0;n<e.A.length;n++)e.B[n]+=e.A[n],e.A[n]=0;for(n=0;n<MAX_ORDER;n++)e.linprebuf[n]=e.lstepbuf[n]=e.loutbuf[n]=e.rinprebuf[n]=e.rstepbuf[n]=e.routbuf[n]=0;return e.totsamp=0,e.lsum=e.rsum=0,t}}i.STEPS_per_dB=100,i.MAX_dB=120,i.GAIN_NOT_ENOUGH_SAMPLES=-24601,i.GAIN_ANALYSIS_ERROR=0,i.GAIN_ANALYSIS_OK=1,i.INIT_GAIN_ANALYSIS_ERROR=0,i.INIT_GAIN_ANALYSIS_OK=1,i.YULE_ORDER=10,i.MAX_ORDER=i.YULE_ORDER,i.MAX_SAMP_FREQ=48e3,i.RMS_WINDOW_TIME_NUMERATOR=1,i.RMS_WINDOW_TIME_DENOMINATOR=20,i.MAX_SAMPLES_PER_WINDOW=i.MAX_SAMP_FREQ*i.RMS_WINDOW_TIME_NUMERATOR/i.RMS_WINDOW_TIME_DENOMINATOR+1,e.exports=i},29438:(e,t,n)=>{var r=n(51038),a=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),o=(r.new_float_n,r.new_int),i=(r.new_int_n,r.assert,n(90354));e.exports=function(){this.xr=a(576),this.l3_enc=o(576),this.scalefac=o(i.SFBMAX),this.xrpow_max=0,this.part2_3_length=0,this.big_values=0,this.count1=0,this.global_gain=0,this.scalefac_compress=0,this.block_type=0,this.mixed_block_flag=0,this.table_select=o(3),this.subblock_gain=o(4),this.region0_count=0,this.region1_count=0,this.preflag=0,this.scalefac_scale=0,this.count1table_select=0,this.part2_length=0,this.sfb_lmax=0,this.sfb_smin=0,this.psy_lmax=0,this.sfbmax=0,this.psymax=0,this.sfbdivide=0,this.width=o(i.SFBMAX),this.window=o(i.SFBMAX),this.count1bits=0,this.sfb_partition_table=null,this.slen=o(4),this.max_nonzero_coeff=0;var e=this;function t(e){return new Int32Array(e)}this.assign=function(n){var r;e.xr=(r=n.xr,new Float32Array(r)),e.l3_enc=t(n.l3_enc),e.scalefac=t(n.scalefac),e.xrpow_max=n.xrpow_max,e.part2_3_length=n.part2_3_length,e.big_values=n.big_values,e.count1=n.count1,e.global_gain=n.global_gain,e.scalefac_compress=n.scalefac_compress,e.block_type=n.block_type,e.mixed_block_flag=n.mixed_block_flag,e.table_select=t(n.table_select),e.subblock_gain=t(n.subblock_gain),e.region0_count=n.region0_count,e.region1_count=n.region1_count,e.preflag=n.preflag,e.scalefac_scale=n.scalefac_scale,e.count1table_select=n.count1table_select,e.part2_length=n.part2_length,e.sfb_lmax=n.sfb_lmax,e.sfb_smin=n.sfb_smin,e.psy_lmax=n.psy_lmax,e.sfbmax=n.sfbmax,e.psymax=n.psymax,e.sfbdivide=n.sfbdivide,e.width=t(n.width),e.window=t(n.window),e.count1bits=n.count1bits,e.sfb_partition_table=n.sfb_partition_table.slice(0),e.slen=t(n.slen),e.max_nonzero_coeff=n.max_nonzero_coeff}}},29524:(e,t,n)=>{var r=n(51038),a=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float,r.new_float_n,r.new_int),o=(r.new_int_n,r.assert,n(29438));e.exports=function(){this.tt=[[null,null],[null,null]],this.main_data_begin=0,this.private_bits=0,this.resvDrain_pre=0,this.resvDrain_post=0,this.scfsi=[a(4),a(4)];for(var e=0;e<2;e++)for(var t=0;t<2;t++)this.tt[e][t]=new o}},99584:(e,t,n)=>{var r=n(28200);e.exports=function(){this.thm=new r,this.en=new r}},28200:(e,t,n)=>{var r=n(60687),a=n(51038),o=a.System,i=(a.VbrMode,a.Float,a.ShortBlock,a.Util,a.Arrays,a.new_array_n,a.new_byte,a.new_double,a.new_float),s=a.new_float_n;a.new_int,a.new_int_n,a.assert;e.exports=function(){this.l=i(r.SBMAX_l),this.s=s([r.SBMAX_s,3]);var e=this;this.assign=function(t){o.arraycopy(t.l,0,e.l,0,r.SBMAX_l);for(var n=0;n<r.SBMAX_s;n++)for(var a=0;a<3;a++)e.s[n][a]=t.s[n][a]}}},90354:(e,t,n)=>{var r=n(60687),a={};a.SFBMAX=3*r.SBMAX_s,e.exports=a},64566:(e,t,n)=>{var r=n(51038),a=r.System,o=r.VbrMode,i=(r.Float,r.ShortBlock),s=(r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),c=(r.new_float_n,r.new_int,r.new_int_n),l=r.new_short_n,u=r.assert,d=n(99319),p=n(23893),f=n(91998),h=n(97514),m=n(41062),g=n(49120),v=n(3724),A=n(77721),_=n(60687);e.exports=function e(){var t,n,r,b,y,x=this;e.V9=410,e.V8=420,e.V7=430,e.V6=440,e.V5=450,e.V4=460,e.V3=470,e.V2=480,e.V1=490,e.V0=500,e.R3MIX=1e3,e.STANDARD=1001,e.EXTREME=1002,e.INSANE=1003,e.STANDARD_FAST=1004,e.EXTREME_FAST=1005,e.MEDIUM=1006,e.MEDIUM_FAST=1007,e.LAME_MAXMP3BUFFER=147456;var w,C,k,B=new d;function S(){this.mask_adjust=0,this.mask_adjust_short=0,this.bo_l_weight=s(_.SBMAX_l),this.bo_s_weight=s(_.SBMAX_s)}function M(){this.lowerlimit=0}function E(e,t){this.lowpass=t}this.enc=new _,this.setModules=function(e,a,o,i,s,c,l,u,d){t=e,n=a,r=o,b=i,y=s,w=c,l,C=u,k=d,this.enc.setModules(n,B,b,w)};var T=4294479419;function R(e){return e>1?0:e<=0?1:Math.cos(Math.PI/2*e)}function L(e,t){switch(e){case 44100:return t.version=1,0;case 48e3:return t.version=1,1;case 32e3:return t.version=1,2;case 22050:case 11025:return t.version=0,0;case 24e3:case 12e3:return t.version=0,1;case 16e3:case 8e3:return t.version=0,2;default:return t.version=0,-1}}function O(e,t,n){n<16e3&&(t=2);for(var r=A.bitrate_table[t][1],a=2;a<=14;a++)A.bitrate_table[t][a]>0&&Math.abs(A.bitrate_table[t][a]-e)<Math.abs(r-e)&&(r=A.bitrate_table[t][a]);return r}function j(e,t,n){n<16e3&&(t=2);for(var r=0;r<=14;r++)if(A.bitrate_table[t][r]>0&&A.bitrate_table[t][r]==e)return r;return-1}function I(e,t){var n=[new E(8,2e3),new E(16,3700),new E(24,3900),new E(32,5500),new E(40,7e3),new E(48,7500),new E(56,1e4),new E(64,11e3),new E(80,13500),new E(96,15100),new E(112,15600),new E(128,17e3),new E(160,17500),new E(192,18600),new E(224,19400),new E(256,19700),new E(320,20500)],r=x.nearestBitrateFullIndex(t);e.lowerlimit=n[r].lowpass}function D(e){var t=_.BLKSIZE+e.framesize-_.FFTOFFSET;return t=Math.max(t,512+e.framesize-32),u(f.MFSIZE>=t),t}function P(e,t,n,r,a,o){var i=x.enc.lame_encode_mp3_frame(e,t,n,r,a,o);return e.frameNum++,i}function N(){this.n_in=0,this.n_out=0}function H(){this.num_used=0}function q(e,t){return 0!=t?q(t,e%t):e}function F(e,t,n){var r=Math.PI*t;(e/=n)<0&&(e=0),e>1&&(e=1);var a=e-.5,o=.42-.5*Math.cos(2*e*Math.PI)+.08*Math.cos(4*e*Math.PI);return Math.abs(a)<1e-9?r/Math.PI:o*Math.sin(n*r*a)/(Math.PI*n*a)}function U(e,t,n,r,a,o,i,c,l){var d,p,h=e.internal_flags,m=0,g=e.out_samplerate/q(e.out_samplerate,e.in_samplerate);g>f.BPC&&(g=f.BPC);var v=Math.abs(h.resample_ratio-Math.floor(.5+h.resample_ratio))<1e-4?1:0,A=1/h.resample_ratio;A>1&&(A=1);var _=31;0==_%2&&--_;var b=(_+=v)+1;if(0==h.fill_buffer_resample_init){for(h.inbuf_old[0]=s(b),h.inbuf_old[1]=s(b),d=0;d<=2*g;++d)h.blackfilt[d]=s(b);for(h.itime[0]=0,h.itime[1]=0,m=0;m<=2*g;m++){var y=0,x=(m-g)/(2*g);for(d=0;d<=_;d++)y+=h.blackfilt[m][d]=F(d-x,A,_);for(d=0;d<=_;d++)h.blackfilt[m][d]/=y}h.fill_buffer_resample_init=1}var w=h.inbuf_old[l];for(p=0;p<r;p++){var C,k;if(C=p*h.resample_ratio,_+(m=0|Math.floor(C-h.itime[l]))-_/2>=i)break;x=C-h.itime[l]-(m+_%2*.5);u(Math.abs(x)<=.501),k=0|Math.floor(2*x*g+g+.5);var B=0;for(d=0;d<=_;++d){var S=0|d+m-_/2;u(S<i),u(S+b>=0),B+=(S<0?w[b+S]:a[o+S])*h.blackfilt[k][d]}t[n+p]=B}if(c.num_used=Math.min(i,_+m-_/2),h.itime[l]+=c.num_used-p*h.resample_ratio,c.num_used>=b)for(d=0;d<b;d++)w[d]=a[o+c.num_used+d-b];else{var M=b-c.num_used;for(d=0;d<M;++d)w[d]=w[d+c.num_used];for(m=0;d<b;++d,++m)w[d]=a[o+m];u(m==c.num_used)}return p}function $(e,t,n,r,a,o){var i=e.internal_flags;if(i.resample_ratio<.9999||i.resample_ratio>1.0001)for(var s=0;s<i.channels_out;s++){var c=new H;o.n_out=U(e,t[s],i.mf_size,e.framesize,n[s],r,a,c,s),o.n_in=c.num_used}else{o.n_out=Math.min(e.framesize,a),o.n_in=o.n_out;for(var l=0;l<o.n_out;++l)t[0][i.mf_size+l]=n[0][r+l],2==i.channels_out&&(t[1][i.mf_size+l]=n[1][r+l])}}this.lame_init=function(){var e=new p,t=function(e){var t;return e.class_id=T,t=e.internal_flags=new f,e.mode=MPEGMode.NOT_SET,e.original=1,e.in_samplerate=44100,e.num_channels=2,e.num_samples=-1,e.bWriteVbrTag=!0,e.quality=-1,e.short_blocks=null,t.subblock_gain=-1,e.lowpassfreq=0,e.highpassfreq=0,e.lowpasswidth=-1,e.highpasswidth=-1,e.VBR=o.vbr_off,e.VBR_q=4,e.ATHcurve=-1,e.VBR_mean_bitrate_kbps=128,e.VBR_min_bitrate_kbps=0,e.VBR_max_bitrate_kbps=0,e.VBR_hard_min=0,t.VBR_min_bitrate=1,t.VBR_max_bitrate=13,e.quant_comp=-1,e.quant_comp_short=-1,e.msfix=-1,t.resample_ratio=1,t.OldValue[0]=180,t.OldValue[1]=180,t.CurrentStep[0]=4,t.CurrentStep[1]=4,t.masking_lower=1,t.nsPsy.attackthre=-1,t.nsPsy.attackthre_s=-1,e.scale=-1,e.athaa_type=-1,e.ATHtype=-1,e.athaa_loudapprox=-1,e.athaa_sensitivity=0,e.useTemporal=null,e.interChRatio=-1,t.mf_samples_to_encode=_.ENCDELAY+_.POSTDELAY,e.encoder_padding=0,t.mf_size=_.ENCDELAY-_.MDCTDELAY,e.findReplayGain=!1,e.decode_on_the_fly=!1,t.decode_on_the_fly=!1,t.findReplayGain=!1,t.findPeakSample=!1,t.RadioGain=0,t.AudiophileGain=0,t.noclipGainChange=0,t.noclipScale=-1,e.preset=0,e.write_id3tag_automatic=!0,0}(e);return 0!=t?null:(e.lame_allocated_gfp=1,e)},this.nearestBitrateFullIndex=function(e){var t=[8,16,24,32,40,48,56,64,80,96,112,128,160,192,224,256,320],n=0,r=0,a=0,o=0;o=t[16],a=16,r=t[16],n=16;for(var i=0;i<16;i++)if(Math.max(e,t[i+1])!=e){o=t[i+1],a=i+1,r=t[i],n=i;break}return o-e>e-r?n:a},this.lame_init_params=function(e){var s,l,p,f=e.internal_flags;if(f.Class_ID=0,null==f.ATH&&(f.ATH=new h),null==f.PSY&&(f.PSY=new S),null==f.rgdata&&(f.rgdata=new m),f.channels_in=e.num_channels,1==f.channels_in&&(e.mode=MPEGMode.MONO),f.channels_out=e.mode==MPEGMode.MONO?1:2,f.mode_ext=_.MPG_MD_MS_LR,e.mode==MPEGMode.MONO&&(e.force_ms=!1),e.VBR==o.vbr_off&&128!=e.VBR_mean_bitrate_kbps&&0==e.brate&&(e.brate=e.VBR_mean_bitrate_kbps),e.VBR==o.vbr_off||e.VBR==o.vbr_mtrh||e.VBR==o.vbr_mt||(e.free_format=!1),e.VBR==o.vbr_off&&0==e.brate&&v.EQ(e.compression_ratio,0)&&(e.compression_ratio=11.025),e.VBR==o.vbr_off&&e.compression_ratio>0&&(0==e.out_samplerate&&(e.out_samplerate=map2MP3Frequency(int(.97*e.in_samplerate))),e.brate=0|16*e.out_samplerate*f.channels_out/(1e3*e.compression_ratio),f.samplerate_index=L(e.out_samplerate,e),e.free_format||(e.brate=O(e.brate,e.version,e.out_samplerate))),0!=e.out_samplerate&&(e.out_samplerate<16e3?(e.VBR_mean_bitrate_kbps=Math.max(e.VBR_mean_bitrate_kbps,8),e.VBR_mean_bitrate_kbps=Math.min(e.VBR_mean_bitrate_kbps,64)):e.out_samplerate<32e3?(e.VBR_mean_bitrate_kbps=Math.max(e.VBR_mean_bitrate_kbps,8),e.VBR_mean_bitrate_kbps=Math.min(e.VBR_mean_bitrate_kbps,160)):(e.VBR_mean_bitrate_kbps=Math.max(e.VBR_mean_bitrate_kbps,32),e.VBR_mean_bitrate_kbps=Math.min(e.VBR_mean_bitrate_kbps,320))),0==e.lowpassfreq){var x=16e3;switch(e.VBR){case o.vbr_off:I(E=new M,e.brate),x=E.lowerlimit;break;case o.vbr_abr:var E;I(E=new M,e.VBR_mean_bitrate_kbps),x=E.lowerlimit;break;case o.vbr_rh:var D=[19500,19e3,18600,18e3,17500,16e3,15600,14900,12500,1e4,3950];if(0<=e.VBR_q&&e.VBR_q<=9){var P=D[e.VBR_q],N=D[e.VBR_q+1],H=e.VBR_q_frac;x=linear_int(P,N,H)}else x=19500;break;default:D=[19500,19e3,18500,18e3,17500,16500,15500,14500,12500,9500,3950];if(0<=e.VBR_q&&e.VBR_q<=9){P=D[e.VBR_q],N=D[e.VBR_q+1],H=e.VBR_q_frac;x=linear_int(P,N,H)}else x=19500}e.mode!=MPEGMode.MONO||e.VBR!=o.vbr_off&&e.VBR!=o.vbr_abr||(x*=1.5),e.lowpassfreq=0|x}if(0==e.out_samplerate&&(2*e.lowpassfreq>e.in_samplerate&&(e.lowpassfreq=e.in_samplerate/2),e.out_samplerate=(s=0|e.lowpassfreq,l=e.in_samplerate,p=44100,l>=48e3?p=48e3:l>=44100?p=44100:l>=32e3?p=32e3:l>=24e3?p=24e3:l>=22050?p=22050:l>=16e3?p=16e3:l>=12e3?p=12e3:l>=11025?p=11025:l>=8e3&&(p=8e3),-1==s?p:(s<=15960&&(p=44100),s<=15250&&(p=32e3),s<=11220&&(p=24e3),s<=9970&&(p=22050),s<=7230&&(p=16e3),s<=5420&&(p=12e3),s<=4510&&(p=11025),s<=3970&&(p=8e3),l<p?l>44100?48e3:l>32e3?44100:l>24e3?32e3:l>22050?24e3:l>16e3?22050:l>12e3?16e3:l>11025?12e3:l>8e3?11025:8e3:p))),e.lowpassfreq=Math.min(20500,e.lowpassfreq),e.lowpassfreq=Math.min(e.out_samplerate/2,e.lowpassfreq),e.VBR==o.vbr_off&&(e.compression_ratio=16*e.out_samplerate*f.channels_out/(1e3*e.brate)),e.VBR==o.vbr_abr&&(e.compression_ratio=16*e.out_samplerate*f.channels_out/(1e3*e.VBR_mean_bitrate_kbps)),e.bWriteVbrTag||(e.findReplayGain=!1,e.decode_on_the_fly=!1,f.findPeakSample=!1),f.findReplayGain=e.findReplayGain,f.decode_on_the_fly=e.decode_on_the_fly,f.decode_on_the_fly&&(f.findPeakSample=!0),f.findReplayGain&&t.InitGainAnalysis(f.rgdata,e.out_samplerate)==GainAnalysis.INIT_GAIN_ANALYSIS_ERROR)return e.internal_flags=null,-6;switch(f.decode_on_the_fly&&!e.decode_only&&(null!=f.hip&&k.hip_decode_exit(f.hip),f.hip=k.hip_decode_init()),f.mode_gr=e.out_samplerate<=24e3?1:2,e.framesize=576*f.mode_gr,e.encoder_delay=_.ENCDELAY,f.resample_ratio=e.in_samplerate/e.out_samplerate,e.VBR){case o.vbr_mt:case o.vbr_rh:case o.vbr_mtrh:e.compression_ratio=[5.7,6.5,7.3,8.2,10,11.9,13,14,15,16.5][e.VBR_q];break;case o.vbr_abr:e.compression_ratio=16*e.out_samplerate*f.channels_out/(1e3*e.VBR_mean_bitrate_kbps);break;default:e.compression_ratio=16*e.out_samplerate*f.channels_out/(1e3*e.brate)}if(e.mode==MPEGMode.NOT_SET&&(e.mode=MPEGMode.JOINT_STEREO),e.highpassfreq>0?(f.highpass1=2*e.highpassfreq,e.highpasswidth>=0?f.highpass2=2*(e.highpassfreq+e.highpasswidth):f.highpass2=2*e.highpassfreq,f.highpass1/=e.out_samplerate,f.highpass2/=e.out_samplerate):(f.highpass1=0,f.highpass2=0),e.lowpassfreq>0?(f.lowpass2=2*e.lowpassfreq,e.lowpasswidth>=0?(f.lowpass1=2*(e.lowpassfreq-e.lowpasswidth),f.lowpass1<0&&(f.lowpass1=0)):f.lowpass1=2*e.lowpassfreq,f.lowpass1/=e.out_samplerate,f.lowpass2/=e.out_samplerate):(f.lowpass1=0,f.lowpass2=0),function(e){var t=e.internal_flags,n=32,r=-1;if(t.lowpass1>0){for(var o=999,i=0;i<=31;i++)(u=i/31)>=t.lowpass2&&(n=Math.min(n,i)),t.lowpass1<u&&u<t.lowpass2&&(o=Math.min(o,i));t.lowpass1=999==o?(n-.75)/31:(o-.75)/31,t.lowpass2=n/31}if(t.highpass2>0&&t.highpass2<.75/31*.9&&(t.highpass1=0,t.highpass2=0,a.err.println("Warning: highpass filter disabled.  highpass frequency too small\n")),t.highpass2>0){var s=-1;for(i=0;i<=31;i++)(u=i/31)<=t.highpass1&&(r=Math.max(r,i)),t.highpass1<u&&u<t.highpass2&&(s=Math.max(s,i));t.highpass1=r/31,t.highpass2=-1==s?(r+.75)/31:(s+.75)/31}for(i=0;i<32;i++){var c,l,u=i/31;c=t.highpass2>t.highpass1?R((t.highpass2-u)/(t.highpass2-t.highpass1+1e-20)):1,l=t.lowpass2>t.lowpass1?R((u-t.lowpass1)/(t.lowpass2-t.lowpass1+1e-20)):1,t.amp_filter[i]=c*l}}(e),f.samplerate_index=L(e.out_samplerate,e),f.samplerate_index<0)return e.internal_flags=null,-1;if(e.VBR==o.vbr_off){if(e.free_format)f.bitrate_index=0;else if(e.brate=O(e.brate,e.version,e.out_samplerate),f.bitrate_index=j(e.brate,e.version,e.out_samplerate),f.bitrate_index<=0)return e.internal_flags=null,-1}else f.bitrate_index=1;e.analysis&&(e.bWriteVbrTag=!1),null!=f.pinfo&&(e.bWriteVbrTag=!1),n.init_bit_stream_w(f);for(var q,F=f.samplerate_index+3*e.version+6*(e.out_samplerate<16e3?1:0),U=0;U<_.SBMAX_l+1;U++)f.scalefac_band.l[U]=b.sfBandIndex[F].l[U];for(U=0;U<_.PSFB21+1;U++){var $=(f.scalefac_band.l[22]-f.scalefac_band.l[21])/_.PSFB21,z=f.scalefac_band.l[21]+U*$;f.scalefac_band.psfb21[U]=z}f.scalefac_band.psfb21[_.PSFB21]=576;for(U=0;U<_.SBMAX_s+1;U++)f.scalefac_band.s[U]=b.sfBandIndex[F].s[U];for(U=0;U<_.PSFB12+1;U++){$=(f.scalefac_band.s[13]-f.scalefac_band.s[12])/_.PSFB12,z=f.scalefac_band.s[12]+U*$;f.scalefac_band.psfb12[U]=z}for(f.scalefac_band.psfb12[_.PSFB12]=192,1==e.version?f.sideinfo_len=1==f.channels_out?21:36:f.sideinfo_len=1==f.channels_out?13:21,e.error_protection&&(f.sideinfo_len+=2),function(e){var t=e.internal_flags;e.frameNum=0,e.write_id3tag_automatic&&C.id3tag_write_v2(e),t.bitrate_stereoMode_Hist=c([16,5]),t.bitrate_blockType_Hist=c([16,6]),t.PeakSample=0,e.bWriteVbrTag&&w.InitVbrTag(e)}(e),f.Class_ID=T,q=0;q<19;q++)f.nsPsy.pefirbuf[q]=700*f.mode_gr*f.channels_out;switch(-1==e.ATHtype&&(e.ATHtype=4),u(e.VBR_q<=9),u(e.VBR_q>=0),e.VBR){case o.vbr_mt:e.VBR=o.vbr_mtrh;case o.vbr_mtrh:null==e.useTemporal&&(e.useTemporal=!1),r.apply_preset(e,500-10*e.VBR_q,0),e.quality<0&&(e.quality=LAME_DEFAULT_QUALITY),e.quality<5&&(e.quality=0),e.quality>5&&(e.quality=5),f.PSY.mask_adjust=e.maskingadjust,f.PSY.mask_adjust_short=e.maskingadjust_short,e.experimentalY?f.sfb21_extra=!1:f.sfb21_extra=e.out_samplerate>44e3,f.iteration_loop=new VBRNewIterationLoop(y);break;case o.vbr_rh:r.apply_preset(e,500-10*e.VBR_q,0),f.PSY.mask_adjust=e.maskingadjust,f.PSY.mask_adjust_short=e.maskingadjust_short,e.experimentalY?f.sfb21_extra=!1:f.sfb21_extra=e.out_samplerate>44e3,e.quality>6&&(e.quality=6),e.quality<0&&(e.quality=LAME_DEFAULT_QUALITY),f.iteration_loop=new VBROldIterationLoop(y);break;default:var V;f.sfb21_extra=!1,e.quality<0&&(e.quality=LAME_DEFAULT_QUALITY),(V=e.VBR)==o.vbr_off&&(e.VBR_mean_bitrate_kbps=e.brate),r.apply_preset(e,e.VBR_mean_bitrate_kbps,0),e.VBR=V,f.PSY.mask_adjust=e.maskingadjust,f.PSY.mask_adjust_short=e.maskingadjust_short,V==o.vbr_off?f.iteration_loop=new g(y):f.iteration_loop=new ABRIterationLoop(y)}if(u(e.scale>=0),e.VBR!=o.vbr_off){if(f.VBR_min_bitrate=1,f.VBR_max_bitrate=14,e.out_samplerate<16e3&&(f.VBR_max_bitrate=8),0!=e.VBR_min_bitrate_kbps&&(e.VBR_min_bitrate_kbps=O(e.VBR_min_bitrate_kbps,e.version,e.out_samplerate),f.VBR_min_bitrate=j(e.VBR_min_bitrate_kbps,e.version,e.out_samplerate),f.VBR_min_bitrate<0))return-1;if(0!=e.VBR_max_bitrate_kbps&&(e.VBR_max_bitrate_kbps=O(e.VBR_max_bitrate_kbps,e.version,e.out_samplerate),f.VBR_max_bitrate=j(e.VBR_max_bitrate_kbps,e.version,e.out_samplerate),f.VBR_max_bitrate<0))return-1;e.VBR_min_bitrate_kbps=A.bitrate_table[e.version][f.VBR_min_bitrate],e.VBR_max_bitrate_kbps=A.bitrate_table[e.version][f.VBR_max_bitrate],e.VBR_mean_bitrate_kbps=Math.min(A.bitrate_table[e.version][f.VBR_max_bitrate],e.VBR_mean_bitrate_kbps),e.VBR_mean_bitrate_kbps=Math.max(A.bitrate_table[e.version][f.VBR_min_bitrate],e.VBR_mean_bitrate_kbps)}return e.tune&&(f.PSY.mask_adjust+=e.tune_value_a,f.PSY.mask_adjust_short+=e.tune_value_a),function(e){var t=e.internal_flags;switch(e.quality){default:case 9:t.psymodel=0,t.noise_shaping=0,t.noise_shaping_amp=0,t.noise_shaping_stop=0,t.use_best_huffman=0,t.full_outer_loop=0;break;case 8:e.quality=7;case 7:t.psymodel=1,t.noise_shaping=0,t.noise_shaping_amp=0,t.noise_shaping_stop=0,t.use_best_huffman=0,t.full_outer_loop=0;break;case 6:case 5:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),t.noise_shaping_amp=0,t.noise_shaping_stop=0,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=0,t.full_outer_loop=0;break;case 4:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),t.noise_shaping_amp=0,t.noise_shaping_stop=0,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=1,t.full_outer_loop=0;break;case 3:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),t.noise_shaping_amp=1,t.noise_shaping_stop=1,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=1,t.full_outer_loop=0;break;case 2:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),0==t.substep_shaping&&(t.substep_shaping=2),t.noise_shaping_amp=1,t.noise_shaping_stop=1,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=1,t.full_outer_loop=0;break;case 1:case 0:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),0==t.substep_shaping&&(t.substep_shaping=2),t.noise_shaping_amp=2,t.noise_shaping_stop=1,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=1,t.full_outer_loop=0}}(e),u(e.scale>=0),e.athaa_type<0?f.ATH.useAdjust=3:f.ATH.useAdjust=e.athaa_type,f.ATH.aaSensitivityP=Math.pow(10,e.athaa_sensitivity/-10),null==e.short_blocks&&(e.short_blocks=i.short_block_allowed),e.short_blocks!=i.short_block_allowed||e.mode!=MPEGMode.JOINT_STEREO&&e.mode!=MPEGMode.STEREO||(e.short_blocks=i.short_block_coupled),e.quant_comp<0&&(e.quant_comp=1),e.quant_comp_short<0&&(e.quant_comp_short=0),e.msfix<0&&(e.msfix=0),e.exp_nspsytune=1|e.exp_nspsytune,e.internal_flags.nsPsy.attackthre<0&&(e.internal_flags.nsPsy.attackthre=d.NSATTACKTHRE),e.internal_flags.nsPsy.attackthre_s<0&&(e.internal_flags.nsPsy.attackthre_s=d.NSATTACKTHRE_S),u(e.scale>=0),e.scale<0&&(e.scale=1),e.ATHtype<0&&(e.ATHtype=4),e.ATHcurve<0&&(e.ATHcurve=4),e.athaa_loudapprox<0&&(e.athaa_loudapprox=2),e.interChRatio<0&&(e.interChRatio=0),null==e.useTemporal&&(e.useTemporal=!0),f.slot_lag=f.frac_SpF=0,e.VBR==o.vbr_off&&(f.slot_lag=f.frac_SpF=72e3*(e.version+1)*e.brate%e.out_samplerate|0),b.iteration_init(e),B.psymodel_init(e),u(e.scale>=0),0},this.lame_encode_flush=function(e,t,r,a){var o,i,s,c,u=e.internal_flags,d=l([2,1152]),p=0,f=u.mf_samples_to_encode-_.POSTDELAY,h=D(e);if(u.mf_samples_to_encode<1)return 0;for(o=0,e.in_samplerate!=e.out_samplerate&&(f+=16*e.out_samplerate/e.in_samplerate),(s=e.framesize-f%e.framesize)<576&&(s+=e.framesize),e.encoder_padding=s,c=(f+s)/e.framesize;c>0&&p>=0;){var m=h-u.mf_size,g=e.frameNum;m*=e.in_samplerate,(m/=e.out_samplerate)>1152&&(m=1152),m<1&&(m=1),i=a-o,0==a&&(i=0),r+=p=this.lame_encode_buffer(e,d[0],d[1],m,t,r,i),o+=p,c-=g!=e.frameNum?1:0}if(u.mf_samples_to_encode=0,p<0)return p;if(i=a-o,0==a&&(i=0),n.flush_bitstream(e),(p=n.copy_buffer(u,t,r,i,1))<0)return p;if(r+=p,i=a-(o+=p),0==a&&(i=0),e.write_id3tag_automatic){if(C.id3tag_write_v1(e),(p=n.copy_buffer(u,t,r,i,0))<0)return p;o+=p}return o},this.lame_encode_buffer=function(e,r,a,o,i,c,l){var d=e.internal_flags,p=[null,null];if(d.Class_ID!=T)return-3;if(0==o)return 0;!function(e,t){(null==e.in_buffer_0||e.in_buffer_nsamples<t)&&(e.in_buffer_0=s(t),e.in_buffer_1=s(t),e.in_buffer_nsamples=t)}(d,o),p[0]=d.in_buffer_0,p[1]=d.in_buffer_1;for(var h=0;h<o;h++)p[0][h]=r[h],d.channels_in>1&&(p[1][h]=a[h]);return function(e,r,a,o,i,s,c){var l,d,p,h,m,g=e.internal_flags,A=0,b=[null,null],y=[null,null];if(g.Class_ID!=T)return-3;if(0==o)return 0;if((m=n.copy_buffer(g,i,s,c,0))<0)return m;if(s+=m,A+=m,y[0]=r,y[1]=a,v.NEQ(e.scale,0)&&v.NEQ(e.scale,1))for(d=0;d<o;++d)y[0][d]*=e.scale,2==g.channels_out&&(y[1][d]*=e.scale);if(v.NEQ(e.scale_left,0)&&v.NEQ(e.scale_left,1))for(d=0;d<o;++d)y[0][d]*=e.scale_left;if(v.NEQ(e.scale_right,0)&&v.NEQ(e.scale_right,1))for(d=0;d<o;++d)y[1][d]*=e.scale_right;if(2==e.num_channels&&1==g.channels_out)for(d=0;d<o;++d)y[0][d]=.5*(y[0][d]+y[1][d]),y[1][d]=0;h=D(e),b[0]=g.mfbuf[0],b[1]=g.mfbuf[1];var x=0;for(;o>0;){var w=[null,null],C=0,k=0;w[0]=y[0],w[1]=y[1];var B=new N;if($(e,b,w,x,o,B),C=B.n_in,k=B.n_out,g.findReplayGain&&!g.decode_on_the_fly&&t.AnalyzeSamples(g.rgdata,b[0],g.mf_size,b[1],g.mf_size,k,g.channels_out)==GainAnalysis.GAIN_ANALYSIS_ERROR)return-6;if(o-=C,x+=C,g.channels_out,g.mf_size+=k,u(g.mf_size<=f.MFSIZE),g.mf_samples_to_encode<1&&(g.mf_samples_to_encode=_.ENCDELAY+_.POSTDELAY),g.mf_samples_to_encode+=k,g.mf_size>=h){var S=c-A;if(0==c&&(S=0),(l=P(e,b[0],b[1],i,s,S))<0)return l;for(s+=l,A+=l,g.mf_size-=e.framesize,g.mf_samples_to_encode-=e.framesize,p=0;p<g.channels_out;p++)for(d=0;d<g.mf_size;d++)b[p][d]=b[p][d+e.framesize]}}return u(0==o),A}(e,p[0],p[1],o,i,c,l)}}},23893:(e,t,n)=>{var r=n(88231);e.exports=function(){this.class_id=0,this.num_samples=0,this.num_channels=0,this.in_samplerate=0,this.out_samplerate=0,this.scale=0,this.scale_left=0,this.scale_right=0,this.analysis=!1,this.bWriteVbrTag=!1,this.decode_only=!1,this.quality=0,this.mode=r.STEREO,this.force_ms=!1,this.free_format=!1,this.findReplayGain=!1,this.decode_on_the_fly=!1,this.write_id3tag_automatic=!1,this.brate=0,this.compression_ratio=0,this.copyright=0,this.original=0,this.extension=0,this.emphasis=0,this.error_protection=0,this.strict_ISO=!1,this.disable_reservoir=!1,this.quant_comp=0,this.quant_comp_short=0,this.experimentalY=!1,this.experimentalZ=0,this.exp_nspsytune=0,this.preset=0,this.VBR=null,this.VBR_q_frac=0,this.VBR_q=0,this.VBR_mean_bitrate_kbps=0,this.VBR_min_bitrate_kbps=0,this.VBR_max_bitrate_kbps=0,this.VBR_hard_min=0,this.lowpassfreq=0,this.highpassfreq=0,this.lowpasswidth=0,this.highpasswidth=0,this.maskingadjust=0,this.maskingadjust_short=0,this.ATHonly=!1,this.ATHshort=!1,this.noATH=!1,this.ATHtype=0,this.ATHcurve=0,this.ATHlower=0,this.athaa_type=0,this.athaa_loudapprox=0,this.athaa_sensitivity=0,this.short_blocks=null,this.useTemporal=!1,this.interChRatio=0,this.msfix=0,this.tune=!1,this.tune_value_a=0,this.version=0,this.encoder_delay=0,this.encoder_padding=0,this.framesize=0,this.frameNum=0,this.lame_allocated_gfp=0,this.internal_flags=null}},91998:(e,t,n)=>{var r=n(51038),a=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte),o=r.new_double,i=r.new_float,s=r.new_float_n,c=r.new_int,l=r.new_int_n,u=(r.assert,n(29524)),d=n(80302),p=n(87885),f=n(93362),h=n(28200),m=n(60687),g=n(90354);function v(){function e(){this.write_timing=0,this.ptr=0,this.buf=a(40)}this.Class_ID=0,this.lame_encode_frame_init=0,this.iteration_init_init=0,this.fill_buffer_resample_init=0,this.mfbuf=s([2,v.MFSIZE]),this.mode_gr=0,this.channels_in=0,this.channels_out=0,this.resample_ratio=0,this.mf_samples_to_encode=0,this.mf_size=0,this.VBR_min_bitrate=0,this.VBR_max_bitrate=0,this.bitrate_index=0,this.samplerate_index=0,this.mode_ext=0,this.lowpass1=0,this.lowpass2=0,this.highpass1=0,this.highpass2=0,this.noise_shaping=0,this.noise_shaping_amp=0,this.substep_shaping=0,this.psymodel=0,this.noise_shaping_stop=0,this.subblock_gain=0,this.use_best_huffman=0,this.full_outer_loop=0,this.l3_side=new u,this.ms_ratio=i(2),this.padding=0,this.frac_SpF=0,this.slot_lag=0,this.tag_spec=null,this.nMusicCRC=0,this.OldValue=c(2),this.CurrentStep=c(2),this.masking_lower=0,this.bv_scf=c(576),this.pseudohalf=c(g.SFBMAX),this.sfb21_extra=!1,this.inbuf_old=new Array(2),this.blackfilt=new Array(2*v.BPC+1),this.itime=o(2),this.sideinfo_len=0,this.sb_sample=s([2,2,18,m.SBLIMIT]),this.amp_filter=i(32),this.header=new Array(v.MAX_HEADER_BUF),this.h_ptr=0,this.w_ptr=0,this.ancillary_flag=0,this.ResvSize=0,this.ResvMax=0,this.scalefac_band=new d,this.minval_l=i(m.CBANDS),this.minval_s=i(m.CBANDS),this.nb_1=s([4,m.CBANDS]),this.nb_2=s([4,m.CBANDS]),this.nb_s1=s([4,m.CBANDS]),this.nb_s2=s([4,m.CBANDS]),this.s3_ss=null,this.s3_ll=null,this.decay=0,this.thm=new Array(4),this.en=new Array(4),this.tot_ener=i(4),this.loudness_sq=s([2,2]),this.loudness_sq_save=i(2),this.mld_l=i(m.SBMAX_l),this.mld_s=i(m.SBMAX_s),this.bm_l=c(m.SBMAX_l),this.bo_l=c(m.SBMAX_l),this.bm_s=c(m.SBMAX_s),this.bo_s=c(m.SBMAX_s),this.npart_l=0,this.npart_s=0,this.s3ind=l([m.CBANDS,2]),this.s3ind_s=l([m.CBANDS,2]),this.numlines_s=c(m.CBANDS),this.numlines_l=c(m.CBANDS),this.rnumlines_l=i(m.CBANDS),this.mld_cb_l=i(m.CBANDS),this.mld_cb_s=i(m.CBANDS),this.numlines_s_num1=0,this.numlines_l_num1=0,this.pe=i(4),this.ms_ratio_s_old=0,this.ms_ratio_l_old=0,this.ms_ener_ratio_old=0,this.blocktype_old=c(2),this.nsPsy=new p,this.VBR_seek_table=new f,this.ATH=null,this.PSY=null,this.nogap_total=0,this.nogap_current=0,this.decode_on_the_fly=!0,this.findReplayGain=!0,this.findPeakSample=!0,this.PeakSample=0,this.RadioGain=0,this.AudiophileGain=0,this.rgdata=null,this.noclipGainChange=0,this.noclipScale=0,this.bitrate_stereoMode_Hist=l([16,5]),this.bitrate_blockType_Hist=l([16,6]),this.pinfo=null,this.hip=null,this.in_buffer_nsamples=0,this.in_buffer_0=null,this.in_buffer_1=null,this.iteration_loop=null;for(var t=0;t<this.en.length;t++)this.en[t]=new h;for(t=0;t<this.thm.length;t++)this.thm[t]=new h;for(t=0;t<this.header.length;t++)this.header[t]=new e}v.MFSIZE=3456+m.ENCDELAY-m.MDCTDELAY,v.MAX_HEADER_BUF=256,v.MAX_BITS_PER_CHANNEL=4095,v.MAX_BITS_PER_GRANULE=7680,v.BPC=320,e.exports=v},88231:e=>{function t(e){var t=e;this.ordinal=function(){return t}}t.STEREO=new t(0),t.JOINT_STEREO=new t(1),t.DUAL_CHANNEL=new t(2),t.MONO=new t(3),t.NOT_SET=new t(4),e.exports=t},23134:e=>{e.exports=function(e){this.bits=e}},82143:(e,t,n)=>{var r=n(51038),a=r.System,o=(r.VbrMode,r.Float,r.ShortBlock,r.Util),i=r.Arrays,s=(r.new_array_n,r.new_byte,r.new_double,r.new_float),c=(r.new_float_n,r.new_int,r.new_int_n,r.assert,n(60687));e.exports=function(){var e=[-.1482523854003001,32.308141959636465,296.40344946382766,883.1344870032432,11113.947376231741,1057.2713659324597,305.7402417275812,30.825928907280012,3.8533188138216365,59.42900443849514,709.5899960123345,5281.91112291017,-5829.66483675846,-817.6293103748613,-76.91656988279972,-4.594269939176596,.9063471690191471,.1960342806591213,-.15466694054279598,34.324387823855965,301.8067566458425,817.599602898885,11573.795901679885,1181.2520595540152,321.59731579894424,31.232021761053772,3.7107095756221318,53.650946155329365,684.167428119626,5224.56624370173,-6366.391851890084,-908.9766368219582,-89.83068876699639,-5.411397422890401,.8206787908286602,.3901806440322567,-.16070888947830023,36.147034243915876,304.11815768187864,732.7429163887613,11989.60988270091,1300.012278487897,335.28490093152146,31.48816102859945,3.373875931311736,47.232241542899175,652.7371796173471,5132.414255594984,-6909.087078780055,-1001.9990371107289,-103.62185754286375,-6.104916304710272,.7416505462720353,.5805693545089249,-.16636367662261495,37.751650073343995,303.01103387567713,627.9747488785183,12358.763425278165,1412.2779918482834,346.7496836825721,31.598286663170416,3.1598635433980946,40.57878626349686,616.1671130880391,5007.833007176154,-7454.040671756168,-1095.7960341867115,-118.24411666465777,-6.818469345853504,.6681786379192989,.7653668647301797,-.1716176790982088,39.11551877123304,298.3413246578966,503.5259106886539,12679.589408408976,1516.5821921214542,355.9850766329023,31.395241710249053,2.9164211881972335,33.79716964664243,574.8943997801362,4853.234992253242,-7997.57021486075,-1189.7624067269965,-133.6444792601766,-7.7202770609839915,.5993769336819237,.9427934736519954,-.17645823955292173,40.21879108166477,289.9982036694474,359.3226160751053,12950.259102786438,1612.1013903507662,362.85067106591504,31.045922092242872,2.822222032597987,26.988862316190684,529.8996541764288,4671.371946949588,-8535.899136645805,-1282.5898586244496,-149.58553632943463,-8.643494270763135,.5345111359507916,1.111140466039205,-.36174739330527045,41.04429910497807,277.5463268268618,195.6386023135583,13169.43812144731,1697.6433561479398,367.40983966190305,30.557037410382826,2.531473372857427,20.070154905927314,481.50208566532336,4464.970341588308,-9065.36882077239,-1373.62841526722,-166.1660487028118,-9.58289321133207,.4729647758913199,1.268786568327291,-.36970682634889585,41.393213350082036,261.2935935556502,12.935476055240873,13336.131683328815,1772.508612059496,369.76534388639965,29.751323653701338,2.4023193045459172,13.304795348228817,430.5615775526625,4237.0568611071185,-9581.931701634761,-1461.6913552409758,-183.12733958476446,-10.718010163869403,.41421356237309503,1.414213562373095,-.37677560326535325,41.619486213528496,241.05423794991074,-187.94665032361226,13450.063605744153,1836.153896465782,369.4908799925761,29.001847876923147,2.0714759319987186,6.779591200894186,377.7767837205709,3990.386575512536,-10081.709459700915,-1545.947424837898,-200.3762958015653,-11.864482073055006,.3578057213145241,1.546020906725474,-.3829366947518991,41.1516456456653,216.47684307105183,-406.1569483347166,13511.136535077321,1887.8076599260432,367.3025214564151,28.136213436723654,1.913880671464418,.3829366947518991,323.85365704338597,3728.1472257487526,-10561.233882199509,-1625.2025997821418,-217.62525175416,-13.015432208941645,.3033466836073424,1.66293922460509,-.5822628872992417,40.35639251440489,188.20071124269245,-640.2706748618148,13519.21490106562,1927.6022433578062,362.8197642637487,26.968821921868447,1.7463817695935329,-5.62650678237171,269.3016715297017,3453.386536448852,-11016.145278780888,-1698.6569643425091,-234.7658734267683,-14.16351421663124,.2504869601913055,1.76384252869671,-.5887180101749253,39.23429103868072,155.76096234403798,-889.2492977967378,13475.470561874661,1955.0535223723712,356.4450994756727,25.894952980042156,1.5695032905781554,-11.181939564328772,214.80884394039484,3169.1640829158237,-11443.321309975563,-1765.1588461316153,-251.68908574481912,-15.49755935939164,.198912367379658,1.847759065022573,-.7912582233652842,37.39369355329111,119.699486012458,-1151.0956593239027,13380.446257078214,1970.3952110853447,348.01959814116185,24.731487364283044,1.3850130831637748,-16.421408865300393,161.05030052864092,2878.3322807850063,-11838.991423510031,-1823.985884688674,-268.2854986386903,-16.81724543849939,.1483359875383474,1.913880671464418,-.7960642926861912,35.2322109610459,80.01928065061526,-1424.0212633405113,13235.794061869668,1973.804052543835,337.9908651258184,23.289159354463873,1.3934255946442087,-21.099669467133474,108.48348407242611,2583.700758091299,-12199.726194855148,-1874.2780658979746,-284.2467154529415,-18.11369784385905,.09849140335716425,1.961570560806461,-.998795456205172,32.56307803611191,36.958364584370486,-1706.075448829146,13043.287458812016,1965.3831106103316,326.43182772364605,22.175018750622293,1.198638339011324,-25.371248002043963,57.53505923036915,2288.41886619975,-12522.674544337233,-1914.8400385312243,-299.26241273417224,-19.37805630698734,.04912684976946725,1.990369453344394,.035780907*o.SQRT2*.5/2384e-9,.017876148*o.SQRT2*.5/2384e-9,.003134727*o.SQRT2*.5/2384e-9,.002457142*o.SQRT2*.5/2384e-9,971317e-9*o.SQRT2*.5/2384e-9,218868e-9*o.SQRT2*.5/2384e-9,101566e-9*o.SQRT2*.5/2384e-9,13828e-9*o.SQRT2*.5/2384e-9,12804.797818791945,1945.5515939597317,313.4244966442953,20.801593959731544,1995.1556208053692,9.000838926174497,-29.20218120805369],t=[[2382191739347913e-28,6423305872147834e-28,9400849094049688e-28,1122435026096556e-27,1183840321267481e-27,1122435026096556e-27,940084909404969e-27,6423305872147839e-28,2382191739347918e-28,5456116108943412e-27,4878985199565852e-27,4240448995017367e-27,3559909094758252e-27,2858043359288075e-27,2156177623817898e-27,1475637723558783e-27,8371015190102974e-28,2599706096327376e-28,-5456116108943412e-27,-4878985199565852e-27,-4240448995017367e-27,-3559909094758252e-27,-2858043359288076e-27,-2156177623817898e-27,-1475637723558783e-27,-8371015190102975e-28,-2599706096327376e-28,-2382191739347923e-28,-6423305872147843e-28,-9400849094049696e-28,-1122435026096556e-27,-1183840321267481e-27,-1122435026096556e-27,-9400849094049694e-28,-642330587214784e-27,-2382191739347918e-28],[2382191739347913e-28,6423305872147834e-28,9400849094049688e-28,1122435026096556e-27,1183840321267481e-27,1122435026096556e-27,9400849094049688e-28,6423305872147841e-28,2382191739347918e-28,5456116108943413e-27,4878985199565852e-27,4240448995017367e-27,3559909094758253e-27,2858043359288075e-27,2156177623817898e-27,1475637723558782e-27,8371015190102975e-28,2599706096327376e-28,-5461314069809755e-27,-4921085770524055e-27,-4343405037091838e-27,-3732668368707687e-27,-3093523840190885e-27,-2430835727329465e-27,-1734679010007751e-27,-974825365660928e-27,-2797435120168326e-28,0,0,0,0,0,0,-2283748241799531e-28,-4037858874020686e-28,-2146547464825323e-28],[.1316524975873958,.414213562373095,.7673269879789602,1.091308501069271,1.303225372841206,1.56968557711749,1.920982126971166,2.414213562373094,3.171594802363212,4.510708503662055,7.595754112725146,22.90376554843115,.984807753012208,.6427876096865394,.3420201433256688,.9396926207859084,-.1736481776669303,-.7660444431189779,.8660254037844387,.5,-.5144957554275265,-.4717319685649723,-.3133774542039019,-.1819131996109812,-.09457419252642064,-.04096558288530405,-.01419856857247115,-.003699974673760037,.8574929257125442,.8817419973177052,.9496286491027329,.9833145924917901,.9955178160675857,.9991605581781475,.999899195244447,.9999931550702802],[0,0,0,0,0,0,2283748241799531e-28,4037858874020686e-28,2146547464825323e-28,5461314069809755e-27,4921085770524055e-27,4343405037091838e-27,3732668368707687e-27,3093523840190885e-27,2430835727329466e-27,1734679010007751e-27,974825365660928e-27,2797435120168326e-28,-5456116108943413e-27,-4878985199565852e-27,-4240448995017367e-27,-3559909094758253e-27,-2858043359288075e-27,-2156177623817898e-27,-1475637723558782e-27,-8371015190102975e-28,-2599706096327376e-28,-2382191739347913e-28,-6423305872147834e-28,-9400849094049688e-28,-1122435026096556e-27,-1183840321267481e-27,-1122435026096556e-27,-9400849094049688e-28,-6423305872147841e-28,-2382191739347918e-28]],n=t[c.SHORT_TYPE],r=t[c.SHORT_TYPE],l=t[c.SHORT_TYPE],u=t[c.SHORT_TYPE],d=[0,1,16,17,8,9,24,25,4,5,20,21,12,13,28,29,2,3,18,19,10,11,26,27,6,7,22,23,14,15,30,31];function p(t,n,r){for(var a,i,s,c=10,l=n+238-14-286,u=-15;u<0;u++){var d,p,f;d=e[c+-10],p=t[l+-224]*d,f=t[n+224]*d,d=e[c+-9],p+=t[l+-160]*d,f+=t[n+160]*d,d=e[c+-8],p+=t[l+-96]*d,f+=t[n+96]*d,d=e[c+-7],p+=t[l+-32]*d,f+=t[n+32]*d,d=e[c+-6],p+=t[l+32]*d,f+=t[n+-32]*d,d=e[c+-5],p+=t[l+96]*d,f+=t[n+-96]*d,d=e[c+-4],p+=t[l+160]*d,f+=t[n+-160]*d,d=e[c+-3],p+=t[l+224]*d,f+=t[n+-224]*d,d=e[c+-2],p+=t[n+-256]*d,f-=t[l+256]*d,d=e[c+-1],p+=t[n+-192]*d,f-=t[l+192]*d,d=e[c+0],p+=t[n+-128]*d,f-=t[l+128]*d,d=e[c+1],p+=t[n+-64]*d,f-=t[l+64]*d,d=e[c+2],p+=t[n+0]*d,f-=t[l+0]*d,d=e[c+3],p+=t[n+64]*d,f-=t[l+-64]*d,d=e[c+4],p+=t[n+128]*d,f-=t[l+-128]*d,d=e[c+5],p+=t[n+192]*d,d=(f-=t[l+-192]*d)-(p*=e[c+6]),r[30+2*u]=f+p,r[31+2*u]=e[c+7]*d,c+=18,n--,l++}f=t[n+-16]*e[c+-10],p=t[n+-32]*e[c+-2],f+=(t[n+-48]-t[n+16])*e[c+-9],p+=t[n+-96]*e[c+-1],f+=(t[n+-80]+t[n+48])*e[c+-8],p+=t[n+-160]*e[c+0],f+=(t[n+-112]-t[n+80])*e[c+-7],p+=t[n+-224]*e[c+1],f+=(t[n+-144]+t[n+112])*e[c+-6],p-=t[n+32]*e[c+2],f+=(t[n+-176]-t[n+144])*e[c+-5],p-=t[n+96]*e[c+3],f+=(t[n+-208]+t[n+176])*e[c+-4],p-=t[n+160]*e[c+4],f+=(t[n+-240]-t[n+208])*e[c+-3],a=(p-=t[n+224])-f,i=p+f,f=r[14],p=r[15]-f,r[31]=i+f,r[30]=a+p,r[15]=a-p,r[14]=i-f,s=r[28]-r[0],r[0]+=r[28],r[28]=s*e[c+-36+7],s=r[29]-r[1],r[1]+=r[29],r[29]=s*e[c+-36+7],s=r[26]-r[2],r[2]+=r[26],r[26]=s*e[c+-72+7],s=r[27]-r[3],r[3]+=r[27],r[27]=s*e[c+-72+7],s=r[24]-r[4],r[4]+=r[24],r[24]=s*e[c+-108+7],s=r[25]-r[5],r[5]+=r[25],r[25]=s*e[c+-108+7],s=r[22]-r[6],r[6]+=r[22],r[22]=s*o.SQRT2,s=r[23]-r[7],r[7]+=r[23],r[23]=s*o.SQRT2-r[7],r[7]-=r[6],r[22]-=r[7],r[23]-=r[22],s=r[6],r[6]=r[31]-s,r[31]=r[31]+s,s=r[7],r[7]=r[30]-s,r[30]=r[30]+s,s=r[22],r[22]=r[15]-s,r[15]=r[15]+s,s=r[23],r[23]=r[14]-s,r[14]=r[14]+s,s=r[20]-r[8],r[8]+=r[20],r[20]=s*e[c+-180+7],s=r[21]-r[9],r[9]+=r[21],r[21]=s*e[c+-180+7],s=r[18]-r[10],r[10]+=r[18],r[18]=s*e[c+-216+7],s=r[19]-r[11],r[11]+=r[19],r[19]=s*e[c+-216+7],s=r[16]-r[12],r[12]+=r[16],r[16]=s*e[c+-252+7],s=r[17]-r[13],r[13]+=r[17],r[17]=s*e[c+-252+7],s=-r[20]+r[24],r[20]+=r[24],r[24]=s*e[c+-216+7],s=-r[21]+r[25],r[21]+=r[25],r[25]=s*e[c+-216+7],s=r[4]-r[8],r[4]+=r[8],r[8]=s*e[c+-216+7],s=r[5]-r[9],r[5]+=r[9],r[9]=s*e[c+-216+7],s=r[0]-r[12],r[0]+=r[12],r[12]=s*e[c+-72+7],s=r[1]-r[13],r[1]+=r[13],r[13]=s*e[c+-72+7],s=r[16]-r[28],r[16]+=r[28],r[28]=s*e[c+-72+7],s=-r[17]+r[29],r[17]+=r[29],r[29]=s*e[c+-72+7],s=o.SQRT2*(r[2]-r[10]),r[2]+=r[10],r[10]=s,s=o.SQRT2*(r[3]-r[11]),r[3]+=r[11],r[11]=s,s=o.SQRT2*(-r[18]+r[26]),r[18]+=r[26],r[26]=s-r[18],s=o.SQRT2*(-r[19]+r[27]),r[19]+=r[27],r[27]=s-r[19],s=r[2],r[19]-=r[3],r[3]-=s,r[2]=r[31]-s,r[31]+=s,s=r[3],r[11]-=r[19],r[18]-=s,r[3]=r[30]-s,r[30]+=s,s=r[18],r[27]-=r[11],r[19]-=s,r[18]=r[15]-s,r[15]+=s,s=r[19],r[10]-=s,r[19]=r[14]-s,r[14]+=s,s=r[10],r[11]-=s,r[10]=r[23]-s,r[23]+=s,s=r[11],r[26]-=s,r[11]=r[22]-s,r[22]+=s,s=r[26],r[27]-=s,r[26]=r[7]-s,r[7]+=s,s=r[27],r[27]=r[6]-s,r[6]+=s,s=o.SQRT2*(r[0]-r[4]),r[0]+=r[4],r[4]=s,s=o.SQRT2*(r[1]-r[5]),r[1]+=r[5],r[5]=s,s=o.SQRT2*(r[16]-r[20]),r[16]+=r[20],r[20]=s,s=o.SQRT2*(r[17]-r[21]),r[17]+=r[21],r[21]=s,s=-o.SQRT2*(r[8]-r[12]),r[8]+=r[12],r[12]=s-r[8],s=-o.SQRT2*(r[9]-r[13]),r[9]+=r[13],r[13]=s-r[9],s=-o.SQRT2*(r[25]-r[29]),r[25]+=r[29],r[29]=s-r[25],s=-o.SQRT2*(r[24]+r[28]),r[24]-=r[28],r[28]=s-r[24],s=r[24]-r[16],r[24]=s,s=r[20]-s,r[20]=s,s=r[28]-s,r[28]=s,s=r[25]-r[17],r[25]=s,s=r[21]-s,r[21]=s,s=r[29]-s,r[29]=s,s=r[17]-r[1],r[17]=s,s=r[9]-s,r[9]=s,s=r[25]-s,r[25]=s,s=r[5]-s,r[5]=s,s=r[21]-s,r[21]=s,s=r[13]-s,r[13]=s,s=r[29]-s,r[29]=s,s=r[1]-r[0],r[1]=s,s=r[16]-s,r[16]=s,s=r[17]-s,r[17]=s,s=r[8]-s,r[8]=s,s=r[9]-s,r[9]=s,s=r[24]-s,r[24]=s,s=r[25]-s,r[25]=s,s=r[4]-s,r[4]=s,s=r[5]-s,r[5]=s,s=r[20]-s,r[20]=s,s=r[21]-s,r[21]=s,s=r[12]-s,r[12]=s,s=r[13]-s,r[13]=s,s=r[28]-s,r[28]=s,s=r[29]-s,r[29]=s,s=r[0],r[0]+=r[31],r[31]-=s,s=r[1],r[1]+=r[30],r[30]-=s,s=r[16],r[16]+=r[15],r[15]-=s,s=r[17],r[17]+=r[14],r[14]-=s,s=r[8],r[8]+=r[23],r[23]-=s,s=r[9],r[9]+=r[22],r[22]-=s,s=r[24],r[24]+=r[7],r[7]-=s,s=r[25],r[25]+=r[6],r[6]-=s,s=r[4],r[4]+=r[27],r[27]-=s,s=r[5],r[5]+=r[26],r[26]-=s,s=r[20],r[20]+=r[11],r[11]-=s,s=r[21],r[21]+=r[10],r[10]-=s,s=r[12],r[12]+=r[19],r[19]-=s,s=r[13],r[13]+=r[18],r[18]-=s,s=r[28],r[28]+=r[3],r[3]-=s,s=r[29],r[29]+=r[2],r[2]-=s}function f(e,n){for(var r=0;r<3;r++){var a,o,i,s,l,u;o=(s=e[n+6]*t[c.SHORT_TYPE][0]-e[n+15])+(a=e[n+0]*t[c.SHORT_TYPE][2]-e[n+9]),i=s-a,l=(s=e[n+15]*t[c.SHORT_TYPE][0]+e[n+6])+(a=e[n+9]*t[c.SHORT_TYPE][2]+e[n+0]),u=-s+a,a=2069978111953089e-26*(e[n+3]*t[c.SHORT_TYPE][1]-e[n+12]),s=2069978111953089e-26*(e[n+12]*t[c.SHORT_TYPE][1]+e[n+3]),e[n+0]=190752519173728e-25*o+a,e[n+15]=190752519173728e-25*-l+s,i=.8660254037844387*i*1907525191737281e-26,l=.5*l*1907525191737281e-26+s,e[n+3]=i-l,e[n+6]=i+l,o=.5*o*1907525191737281e-26-a,u=.8660254037844387*u*1907525191737281e-26,e[n+9]=o+u,e[n+12]=o-u,n++}}this.mdct_sub48=function(e,o,h){for(var m,g,v,A,_,b,y,x,w,C,k,B,S,M,E,T,R,L,O,j,I,D=o,P=286,N=0;N<e.channels_out;N++){for(var H=0;H<e.mode_gr;H++){for(var q,F=e.l3_side.tt[H][N],U=F.xr,$=0,z=e.sb_sample[N][1-H],V=0,Y=0;Y<9;Y++)for(p(D,P,z[V]),p(D,P+32,z[V+1]),V+=2,P+=64,q=1;q<32;q+=2)z[V-1][q]*=-1;for(q=0;q<32;q++,$+=18){var W=F.block_type,G=e.sb_sample[N][H],X=e.sb_sample[N][1-H];if(0!=F.mixed_block_flag&&q<2&&(W=0),e.amp_filter[q]<1e-12)i.fill(U,$+0,$+18,0);else{if(e.amp_filter[q]<1)for(Y=0;Y<18;Y++)X[Y][d[q]]*=e.amp_filter[q];if(W==c.SHORT_TYPE){for(Y=-3;Y<0;Y++){var Z=t[c.SHORT_TYPE][Y+3];U[$+3*Y+9]=G[9+Y][d[q]]*Z-G[8-Y][d[q]],U[$+3*Y+18]=G[14-Y][d[q]]*Z+G[15+Y][d[q]],U[$+3*Y+10]=G[15+Y][d[q]]*Z-G[14-Y][d[q]],U[$+3*Y+19]=X[2-Y][d[q]]*Z+X[3+Y][d[q]],U[$+3*Y+11]=X[3+Y][d[q]]*Z-X[2-Y][d[q]],U[$+3*Y+20]=X[8-Y][d[q]]*Z+X[9+Y][d[q]]}f(U,$)}else{var K=s(18);for(Y=-9;Y<0;Y++){var Q,J;Q=t[W][Y+27]*X[Y+9][d[q]]+t[W][Y+36]*X[8-Y][d[q]],J=t[W][Y+9]*G[Y+9][d[q]]-t[W][Y+18]*G[8-Y][d[q]],K[Y+9]=Q-J*n[3+Y+9],K[Y+18]=Q*n[3+Y+9]+J}m=U,g=$,A=void 0,_=void 0,b=void 0,y=void 0,x=void 0,w=void 0,C=void 0,k=void 0,B=void 0,S=void 0,M=void 0,E=void 0,T=void 0,R=void 0,L=void 0,O=void 0,j=void 0,I=void 0,b=(v=K)[17]-v[9],x=v[15]-v[11],w=v[14]-v[12],C=v[0]+v[8],k=v[1]+v[7],B=v[2]+v[6],S=v[3]+v[5],m[g+17]=C+B-S-(k-v[4]),_=(C+B-S)*r[19]+(k-v[4]),A=(b-x-w)*r[18],m[g+5]=A+_,m[g+6]=A-_,y=(v[16]-v[10])*r[18],k=k*r[19]+v[4],A=b*r[12]+y+x*r[13]+w*r[14],_=-C*r[16]+k-B*r[17]+S*r[15],m[g+1]=A+_,m[g+2]=A-_,A=b*r[13]-y-x*r[14]+w*r[12],_=-C*r[17]+k-B*r[15]+S*r[16],m[g+9]=A+_,m[g+10]=A-_,A=b*r[14]-y+x*r[12]-w*r[13],_=C*r[15]-k+B*r[16]-S*r[17],m[g+13]=A+_,m[g+14]=A-_,M=v[8]-v[0],T=v[6]-v[2],R=v[5]-v[3],L=v[17]+v[9],O=v[16]+v[10],j=v[15]+v[11],I=v[14]+v[12],m[g+0]=L+j+I+(O+v[13]),A=(L+j+I)*r[19]-(O+v[13]),_=(M-T+R)*r[18],m[g+11]=A+_,m[g+12]=A-_,E=(v[7]-v[1])*r[18],O=v[13]-O*r[19],A=L*r[15]-O+j*r[16]+I*r[17],_=M*r[14]+E+T*r[12]+R*r[13],m[g+3]=A+_,m[g+4]=A-_,A=-L*r[17]+O-j*r[15]-I*r[16],_=M*r[13]+E-T*r[14]-R*r[12],m[g+7]=A+_,m[g+8]=A-_,A=-L*r[16]+O-j*r[17]-I*r[15],_=M*r[12]-E+T*r[13]-R*r[14],m[g+15]=A+_,m[g+16]=A-_}}if(W!=c.SHORT_TYPE&&0!=q)for(Y=7;Y>=0;--Y){var ee,te;ee=U[$+Y]*l[20+Y]+U[$+-1-Y]*u[28+Y],te=U[$+Y]*u[28+Y]-U[$+-1-Y]*l[20+Y],U[$+-1-Y]=ee,U[$+Y]=te}}}if(D=h,P=286,1==e.mode_gr)for(var ne=0;ne<18;ne++)a.arraycopy(e.sb_sample[N][1][ne],0,e.sb_sample[N][0][ne],0,32)}}}},87885:(e,t,n)=>{var r=n(51038),a=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),o=r.new_float_n,i=r.new_int,s=(r.new_int_n,r.assert,n(60687));e.exports=function(){this.last_en_subshort=o([4,9]),this.lastAttacks=i(4),this.pefirbuf=a(19),this.longfact=a(s.SBMAX_l),this.shortfact=a(s.SBMAX_s),this.attackthre=0,this.attackthre_s=0}},79457:(e,t,n)=>{var r=n(51038),a=(r.System,r.VbrMode);r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float,r.new_float_n,r.new_int,r.new_int_n,r.assert;e.exports=function(){function e(e,t,n,r,a,o,i,s,c,l,u,d,p,f,h){this.vbr_q=e,this.quant_comp=t,this.quant_comp_s=n,this.expY=r,this.st_lrm=a,this.st_s=o,this.masking_adj=i,this.masking_adj_short=s,this.ath_lower=c,this.ath_curve=l,this.ath_sensitivity=u,this.interch=d,this.safejoint=p,this.sfb21mod=f,this.msfix=h}function t(e,t,n,r,a,o,i,s,c,l,u,d,p,f){this.quant_comp=t,this.quant_comp_s=n,this.safejoint=r,this.nsmsfix=a,this.st_lrm=o,this.st_s=i,this.nsbass=s,this.scale=c,this.masking_adj=l,this.ath_lower=u,this.ath_curve=d,this.interch=p,this.sfscale=f}var n;this.setModules=function(e){n=e};var r=[new e(0,9,9,0,5.2,125,-4.2,-6.3,4.8,1,0,0,2,21,.97),new e(1,9,9,0,5.3,125,-3.6,-5.6,4.5,1.5,0,0,2,21,1.35),new e(2,9,9,0,5.6,125,-2.2,-3.5,2.8,2,0,0,2,21,1.49),new e(3,9,9,1,5.8,130,-1.8,-2.8,2.6,3,-4,0,2,20,1.64),new e(4,9,9,1,6,135,-.7,-1.1,1.1,3.5,-8,0,2,0,1.79),new e(5,9,9,1,6.4,140,.5,.4,-7.5,4,-12,2e-4,0,0,1.95),new e(6,9,9,1,6.6,145,.67,.65,-14.7,6.5,-19,4e-4,0,0,2.3),new e(7,9,9,1,6.6,145,.8,.75,-19.7,8,-22,6e-4,0,0,2.7),new e(8,9,9,1,6.6,145,1.2,1.15,-27.5,10,-23,7e-4,0,0,0),new e(9,9,9,1,6.6,145,1.6,1.6,-36,11,-25,8e-4,0,0,0),new e(10,9,9,1,6.6,145,2,2,-36,12,-25,8e-4,0,0,0)],o=[new e(0,9,9,0,4.2,25,-7,-4,7.5,1,0,0,2,26,.97),new e(1,9,9,0,4.2,25,-5.6,-3.6,4.5,1.5,0,0,2,21,1.35),new e(2,9,9,0,4.2,25,-4.4,-1.8,2,2,0,0,2,18,1.49),new e(3,9,9,1,4.2,25,-3.4,-1.25,1.1,3,-4,0,2,15,1.64),new e(4,9,9,1,4.2,25,-2.2,.1,0,3.5,-8,0,2,0,1.79),new e(5,9,9,1,4.2,25,-1,1.65,-7.7,4,-12,2e-4,0,0,1.95),new e(6,9,9,1,4.2,25,-0,2.47,-7.7,6.5,-19,4e-4,0,0,2),new e(7,9,9,1,4.2,25,.5,2,-14.5,8,-22,6e-4,0,0,2),new e(8,9,9,1,4.2,25,1,2.4,-22,10,-23,7e-4,0,0,2),new e(9,9,9,1,4.2,25,1.5,2.95,-30,11,-25,8e-4,0,0,2),new e(10,9,9,1,4.2,25,2,2.95,-36,12,-30,8e-4,0,0,2)];function i(e,t,n){var i=e.VBR==a.vbr_rh?r:o,s=e.VBR_q_frac,c=i[t],l=i[t+1],u=c;c.st_lrm=c.st_lrm+s*(l.st_lrm-c.st_lrm),c.st_s=c.st_s+s*(l.st_s-c.st_s),c.masking_adj=c.masking_adj+s*(l.masking_adj-c.masking_adj),c.masking_adj_short=c.masking_adj_short+s*(l.masking_adj_short-c.masking_adj_short),c.ath_lower=c.ath_lower+s*(l.ath_lower-c.ath_lower),c.ath_curve=c.ath_curve+s*(l.ath_curve-c.ath_curve),c.ath_sensitivity=c.ath_sensitivity+s*(l.ath_sensitivity-c.ath_sensitivity),c.interch=c.interch+s*(l.interch-c.interch),c.msfix=c.msfix+s*(l.msfix-c.msfix),function(e,t){var n=0;0>t&&(n=-1,t=0);9<t&&(n=-1,t=9);e.VBR_q=t,e.VBR_q_frac=0}(e,u.vbr_q),0!=n?e.quant_comp=u.quant_comp:Math.abs(e.quant_comp- -1)>0||(e.quant_comp=u.quant_comp),0!=n?e.quant_comp_short=u.quant_comp_s:Math.abs(e.quant_comp_short- -1)>0||(e.quant_comp_short=u.quant_comp_s),0!=u.expY&&(e.experimentalY=0!=u.expY),0!=n?e.internal_flags.nsPsy.attackthre=u.st_lrm:Math.abs(e.internal_flags.nsPsy.attackthre- -1)>0||(e.internal_flags.nsPsy.attackthre=u.st_lrm),0!=n?e.internal_flags.nsPsy.attackthre_s=u.st_s:Math.abs(e.internal_flags.nsPsy.attackthre_s- -1)>0||(e.internal_flags.nsPsy.attackthre_s=u.st_s),0!=n?e.maskingadjust=u.masking_adj:Math.abs(e.maskingadjust-0)>0||(e.maskingadjust=u.masking_adj),0!=n?e.maskingadjust_short=u.masking_adj_short:Math.abs(e.maskingadjust_short-0)>0||(e.maskingadjust_short=u.masking_adj_short),0!=n?e.ATHlower=-u.ath_lower/10:Math.abs(10*-e.ATHlower-0)>0||(e.ATHlower=-u.ath_lower/10),0!=n?e.ATHcurve=u.ath_curve:Math.abs(e.ATHcurve- -1)>0||(e.ATHcurve=u.ath_curve),0!=n?e.athaa_sensitivity=u.ath_sensitivity:Math.abs(e.athaa_sensitivity- -1)>0||(e.athaa_sensitivity=u.ath_sensitivity),u.interch>0&&(0!=n?e.interChRatio=u.interch:Math.abs(e.interChRatio- -1)>0||(e.interChRatio=u.interch)),u.safejoint>0&&(e.exp_nspsytune=e.exp_nspsytune|u.safejoint),u.sfb21mod>0&&(e.exp_nspsytune=e.exp_nspsytune|u.sfb21mod<<20),0!=n?e.msfix=u.msfix:Math.abs(e.msfix- -1)>0||(e.msfix=u.msfix),0==n&&(e.VBR_q=t,e.VBR_q_frac=s)}var s=[new t(8,9,9,0,0,6.6,145,0,.95,0,-30,11,.0012,1),new t(16,9,9,0,0,6.6,145,0,.95,0,-25,11,.001,1),new t(24,9,9,0,0,6.6,145,0,.95,0,-20,11,.001,1),new t(32,9,9,0,0,6.6,145,0,.95,0,-15,11,.001,1),new t(40,9,9,0,0,6.6,145,0,.95,0,-10,11,9e-4,1),new t(48,9,9,0,0,6.6,145,0,.95,0,-10,11,9e-4,1),new t(56,9,9,0,0,6.6,145,0,.95,0,-6,11,8e-4,1),new t(64,9,9,0,0,6.6,145,0,.95,0,-2,11,8e-4,1),new t(80,9,9,0,0,6.6,145,0,.95,0,0,8,7e-4,1),new t(96,9,9,0,2.5,6.6,145,0,.95,0,1,5.5,6e-4,1),new t(112,9,9,0,2.25,6.6,145,0,.95,0,2,4.5,5e-4,1),new t(128,9,9,0,1.95,6.4,140,0,.95,0,3,4,2e-4,1),new t(160,9,9,1,1.79,6,135,0,.95,-2,5,3.5,0,1),new t(192,9,9,1,1.49,5.6,125,0,.97,-4,7,3,0,0),new t(224,9,9,1,1.25,5.2,125,0,.98,-6,9,2,0,0),new t(256,9,9,1,.97,5.2,125,0,1,-8,10,1,0,0),new t(320,9,9,1,.9,5.2,125,0,1,-10,12,0,0,0)];function c(e,t,r){var o=t,i=n.nearestBitrateFullIndex(t);if(e.VBR=a.vbr_abr,e.VBR_mean_bitrate_kbps=o,e.VBR_mean_bitrate_kbps=Math.min(e.VBR_mean_bitrate_kbps,320),e.VBR_mean_bitrate_kbps=Math.max(e.VBR_mean_bitrate_kbps,8),e.brate=e.VBR_mean_bitrate_kbps,e.VBR_mean_bitrate_kbps>320&&(e.disable_reservoir=!0),s[i].safejoint>0&&(e.exp_nspsytune=2|e.exp_nspsytune),s[i].sfscale>0&&(e.internal_flags.noise_shaping=2),Math.abs(s[i].nsbass)>0){var c=int(4*s[i].nsbass);c<0&&(c+=64),e.exp_nspsytune=e.exp_nspsytune|c<<2}return 0!=r?e.quant_comp=s[i].quant_comp:Math.abs(e.quant_comp- -1)>0||(e.quant_comp=s[i].quant_comp),0!=r?e.quant_comp_short=s[i].quant_comp_s:Math.abs(e.quant_comp_short- -1)>0||(e.quant_comp_short=s[i].quant_comp_s),0!=r?e.msfix=s[i].nsmsfix:Math.abs(e.msfix- -1)>0||(e.msfix=s[i].nsmsfix),0!=r?e.internal_flags.nsPsy.attackthre=s[i].st_lrm:Math.abs(e.internal_flags.nsPsy.attackthre- -1)>0||(e.internal_flags.nsPsy.attackthre=s[i].st_lrm),0!=r?e.internal_flags.nsPsy.attackthre_s=s[i].st_s:Math.abs(e.internal_flags.nsPsy.attackthre_s- -1)>0||(e.internal_flags.nsPsy.attackthre_s=s[i].st_s),0!=r?e.scale=s[i].scale:Math.abs(e.scale- -1)>0||(e.scale=s[i].scale),0!=r?e.maskingadjust=s[i].masking_adj:Math.abs(e.maskingadjust-0)>0||(e.maskingadjust=s[i].masking_adj),s[i].masking_adj>0?0!=r?e.maskingadjust_short=.9*s[i].masking_adj:Math.abs(e.maskingadjust_short-0)>0||(e.maskingadjust_short=.9*s[i].masking_adj):0!=r?e.maskingadjust_short=1.1*s[i].masking_adj:Math.abs(e.maskingadjust_short-0)>0||(e.maskingadjust_short=1.1*s[i].masking_adj),0!=r?e.ATHlower=-s[i].ath_lower/10:Math.abs(10*-e.ATHlower-0)>0||(e.ATHlower=-s[i].ath_lower/10),0!=r?e.ATHcurve=s[i].ath_curve:Math.abs(e.ATHcurve- -1)>0||(e.ATHcurve=s[i].ath_curve),0!=r?e.interChRatio=s[i].interch:Math.abs(e.interChRatio- -1)>0||(e.interChRatio=s[i].interch),t}this.apply_preset=function(e,t,n){switch(t){case Lame.R3MIX:t=Lame.V3,e.VBR=a.vbr_mtrh;break;case Lame.MEDIUM:t=Lame.V4,e.VBR=a.vbr_rh;break;case Lame.MEDIUM_FAST:t=Lame.V4,e.VBR=a.vbr_mtrh;break;case Lame.STANDARD:t=Lame.V2,e.VBR=a.vbr_rh;break;case Lame.STANDARD_FAST:t=Lame.V2,e.VBR=a.vbr_mtrh;break;case Lame.EXTREME:t=Lame.V0,e.VBR=a.vbr_rh;break;case Lame.EXTREME_FAST:t=Lame.V0,e.VBR=a.vbr_mtrh;break;case Lame.INSANE:return t=320,e.preset=t,c(e,t,n),e.VBR=a.vbr_off,t}switch(e.preset=t,t){case Lame.V9:return i(e,9,n),t;case Lame.V8:return i(e,8,n),t;case Lame.V7:return i(e,7,n),t;case Lame.V6:return i(e,6,n),t;case Lame.V5:return i(e,5,n),t;case Lame.V4:return i(e,4,n),t;case Lame.V3:return i(e,3,n),t;case Lame.V2:return i(e,2,n),t;case Lame.V1:return i(e,1,n),t;case Lame.V0:return i(e,0,n),t}return 8<=t&&t<=320?c(e,t,n):(e.preset=0,t)}}},99319:(e,t,n)=>{var r=n(51038),a=(r.System,r.VbrMode),o=r.Float,i=r.ShortBlock,s=r.Util,c=r.Arrays,l=(r.new_array_n,r.new_byte,r.new_double,r.new_float),u=r.new_float_n,d=r.new_int,p=(r.new_int_n,r.assert),f=n(19347),h=n(60687);e.exports=function(){var e=new f,t=2.302585092994046,n=1/217621504/(h.BLKSIZE/2),r=.3,m=21,g=.2302585093;function v(e,t){for(var r=0,a=0;a<h.BLKSIZE/2;++a)r+=e[a]*t.ATH.eql_w[a];return r*=n}function A(t,n,r,a,o,i,c,l,u,d,p){var f=t.internal_flags;if(u<2)e.fft_long(f,a[o],u,d,p),e.fft_short(f,i[c],u,d,p);else if(2==u){for(var m=h.BLKSIZE-1;m>=0;--m){var g=a[o+0][m],A=a[o+1][m];a[o+0][m]=(g+A)*s.SQRT2*.5,a[o+1][m]=(g-A)*s.SQRT2*.5}for(var _=2;_>=0;--_)for(m=h.BLKSIZE_s-1;m>=0;--m){g=i[c+0][_][m],A=i[c+1][_][m];i[c+0][_][m]=(g+A)*s.SQRT2*.5,i[c+1][_][m]=(g-A)*s.SQRT2*.5}}n[0]=a[o+0][0],n[0]*=n[0];for(m=h.BLKSIZE/2-1;m>=0;--m){var b=a[o+0][h.BLKSIZE/2-m],y=a[o+0][h.BLKSIZE/2+m];n[h.BLKSIZE/2-m]=.5*(b*b+y*y)}for(_=2;_>=0;--_){r[_][0]=i[c+0][_][0],r[_][0]*=r[_][0];for(m=h.BLKSIZE_s/2-1;m>=0;--m){b=i[c+0][_][h.BLKSIZE_s/2-m],y=i[c+0][_][h.BLKSIZE_s/2+m];r[_][h.BLKSIZE_s/2-m]=.5*(b*b+y*y)}}var x=0;for(m=11;m<h.HBLKSIZE;m++)x+=n[m];if(f.tot_ener[u]=x,t.analysis){for(m=0;m<h.HBLKSIZE;m++)f.pinfo.energy[l][u][m]=f.pinfo.energy_save[u][m],f.pinfo.energy_save[u][m]=n[m];f.pinfo.pe[l][u]=f.pe[u]}2==t.athaa_loudapprox&&u<2&&(f.loudness_sq[l][u]=f.loudness_sq_save[u],f.loudness_sq_save[u]=v(n,f))}var _,b,y,x=[1,.79433,.63096,.63096,.63096,.63096,.63096,.25119,.11749],w=[3.3246*3.3246,3.23837*3.23837,9.9500500969,9.0247369744,8.1854926609,7.0440875649,2.46209*2.46209,2.284*2.284,4.4892710641,1.96552*1.96552,1.82335*1.82335,1.69146*1.69146,2.4621061921,2.1508568964,1.37074*1.37074,1.31036*1.31036,1.5691069696,1.4555939904,1.16203*1.16203,1.2715945225,1.09428*1.09428,1.0659*1.0659,1.0779838276,1.0382591025,1],C=[1.7782755904,1.35879*1.35879,1.38454*1.38454,1.39497*1.39497,1.40548*1.40548,1.3537*1.3537,1.6999465924,1.22321*1.22321,1.3169398564,1],k=[5.5396212496,2.29259*2.29259,4.9868695969,2.12675*2.12675,2.02545*2.02545,1.87894*1.87894,1.74303*1.74303,1.61695*1.61695,2.2499700001,1.39148*1.39148,1.29083*1.29083,1.19746*1.19746,1.2339655056,1.0779838276];function B(e,t,n,r,a,o){var i;if(t>e){if(!(t<e*b))return e+t;i=t/e}else{if(e>=t*b)return e+t;i=e/t}if(p(e>=0),p(t>=0),e+=t,r+3<=6){if(i>=_)return e;var c=0|s.FAST_LOG10_X(i,16);return e*C[c]}var l,u;c=0|s.FAST_LOG10_X(i,16);return t=0!=o?a.ATH.cb_s[n]*a.ATH.adjust:a.ATH.cb_l[n]*a.ATH.adjust,p(t>=0),e<y*t?e>t?(l=1,c<=13&&(l=k[c]),u=s.FAST_LOG10_X(e/t,10/15),e*((w[c]-l)*u+l)):c>13?e:e*k[c]:e*w[c]}var S=[1.7782755904,1.35879*1.35879,1.38454*1.38454,1.39497*1.39497,1.40548*1.40548,1.3537*1.3537,1.6999465924,1.22321*1.22321,1.3169398564,1];function M(e,t,n){var r;if(e<0&&(e=0),t<0&&(t=0),e<=0)return t;if(t<=0)return e;if(r=t>e?t/e:e/t,-2<=n&&n<=2){if(r>=_)return e+t;var a=0|s.FAST_LOG10_X(r,16);return(e+t)*S[a]}return r<b?e+t:(e<t&&(e=t),e)}function E(e,t,n,r,a){var o,i,s=0,c=0;for(o=i=0;o<h.SBMAX_s;++i,++o){for(var l=e.bo_s[o],u=e.npart_s,d=l<u?l:u;i<d;)p(t[i]>=0),p(n[i]>=0),s+=t[i],c+=n[i],i++;if(e.en[r].s[o][a]=s,e.thm[r].s[o][a]=c,i>=u){++o;break}p(t[i]>=0),p(n[i]>=0);var f=e.PSY.bo_s_weight[o],m=1-f;s=f*t[i],c=f*n[i],e.en[r].s[o][a]+=s,e.thm[r].s[o][a]+=c,s=m*t[i],c=m*n[i]}for(;o<h.SBMAX_s;++o)e.en[r].s[o][a]=0,e.thm[r].s[o][a]=0}function T(e,t,n,r){var a,o,i=0,s=0;for(a=o=0;a<h.SBMAX_l;++o,++a){for(var c=e.bo_l[a],l=e.npart_l,u=c<l?c:l;o<u;)p(t[o]>=0),p(n[o]>=0),i+=t[o],s+=n[o],o++;if(e.en[r].l[a]=i,e.thm[r].l[a]=s,o>=l){++a;break}p(t[o]>=0),p(n[o]>=0);var d=e.PSY.bo_l_weight[a],f=1-d;i=d*t[o],s=d*n[o],e.en[r].l[a]+=i,e.thm[r].l[a]+=s,i=f*t[o],s=f*n[o]}for(;a<h.SBMAX_l;++a)e.en[r].l[a]=0,e.thm[r].l[a]=0}function R(e,t,n,r,a,o){var i,s,c=e.internal_flags;for(s=i=0;s<c.npart_s;++s){for(var l=0,u=0,d=c.numlines_s[s],f=0;f<d;++f,++i){var m=t[o][i];l+=m,u<m&&(u=m)}n[s]=l}for(p(s==c.npart_s),p(129==i),i=s=0;s<c.npart_s;s++){var g=c.s3ind_s[s][0],v=c.s3_ss[i++]*n[g];for(++g;g<=c.s3ind_s[s][1];)v+=c.s3_ss[i]*n[g],++i,++g;var A=2*c.nb_s1[a][s];if(r[s]=Math.min(v,A),c.blocktype_old[1&a]==h.SHORT_TYPE){A=16*c.nb_s2[a][s];var _=r[s];r[s]=Math.min(A,_)}c.nb_s2[a][s]=c.nb_s1[a][s],c.nb_s1[a][s]=v,p(r[s]>=0)}for(;s<=h.CBANDS;++s)n[s]=0,r[s]=0}function L(e,t,n){return n>=1?e:n<=0?t:t>0?Math.pow(e/t,n)*t:0}var O=[11.8,13.6,17.2,32,46.5,51.3,57.5,67.1,71.5,84.6,97.6,130];function j(e,n){for(var r=309.07,a=0;a<h.SBMAX_s-1;a++)for(var o=0;o<3;o++){var i=e.thm.s[a][o];if(p(a<O.length),i>0){var c=i*n,l=e.en.s[a][o];l>c&&(l>1e10*c?r+=O[a]*(10*t):(p(c>0),r+=O[a]*s.FAST_LOG10(l/c)))}}return r}var I=[6.8,5.8,5.8,6.4,6.5,9.9,12.1,14.4,15,18.9,21.6,26.9,34.2,40.2,46.8,56.5,60.7,73.9,85.7,93.4,126.1];function D(e,n){for(var r=281.0575,a=0;a<h.SBMAX_l-1;a++){var o=e.thm.l[a];if(p(a<I.length),o>0){var i=o*n,c=e.en.l[a];c>i&&(c>1e10*i?r+=I[a]*(10*t):(p(i>0),r+=I[a]*s.FAST_LOG10(c/i)))}}return r}function P(e,t,n,r,a){var o,i;for(o=i=0;o<e.npart_l;++o){var s,c=0,l=0;for(s=0;s<e.numlines_l[o];++s,++i){var u=t[i];p(u>=0),c+=u,l<u&&(l=u)}n[o]=c,r[o]=l,a[o]=c*e.rnumlines_l[o],p(e.rnumlines_l[o]>=0),p(c>=0),p(n[o]>=0),p(r[o]>=0),p(a[o]>=0)}}function N(e,t,n,r){var a=x.length-1,o=0,i=n[o]+n[o+1];(p(i>=0),i>0)?((s=t[o])<t[o+1]&&(s=t[o+1]),p(e.numlines_l[o]+e.numlines_l[o+1]-1>0),(c=0|(i=20*(2*s-i)/(i*(e.numlines_l[o]+e.numlines_l[o+1]-1))))>a&&(c=a),r[o]=c):r[o]=0;for(o=1;o<e.npart_l-1;o++){var s,c;if(i=n[o-1]+n[o]+n[o+1],p(i>=0),i>0)(s=t[o-1])<t[o]&&(s=t[o]),s<t[o+1]&&(s=t[o+1]),p(e.numlines_l[o-1]+e.numlines_l[o]+e.numlines_l[o+1]-1>0),(c=0|(i=20*(3*s-i)/(i*(e.numlines_l[o-1]+e.numlines_l[o]+e.numlines_l[o+1]-1))))>a&&(c=a),r[o]=c;else r[o]=0}(p(o>0),p(o==e.npart_l-1),i=n[o-1]+n[o],p(i>=0),i>0)?((s=t[o-1])<t[o]&&(s=t[o]),p(e.numlines_l[o-1]+e.numlines_l[o]-1>0),(c=0|(i=20*(2*s-i)/(i*(e.numlines_l[o-1]+e.numlines_l[o]-1))))>a&&(c=a),r[o]=c):r[o]=0;p(o==e.npart_l-1)}var H=[-1730326e-23,-.01703172,-1349528e-23,.0418072,-673278e-22,-.0876324,-30835e-21,.1863476,-1104424e-22,-.627638];function q(t,n,r,a,o,i,c,l){var u=t.internal_flags;if(a<2)e.fft_long(u,c[l],a,n,r);else if(2==a)for(var d=h.BLKSIZE-1;d>=0;--d){var p=c[l+0][d],f=c[l+1][d];c[l+0][d]=(p+f)*s.SQRT2*.5,c[l+1][d]=(p-f)*s.SQRT2*.5}i[0]=c[l+0][0],i[0]*=i[0];for(d=h.BLKSIZE/2-1;d>=0;--d){var m=c[l+0][h.BLKSIZE/2-d],g=c[l+0][h.BLKSIZE/2+d];i[h.BLKSIZE/2-d]=.5*(m*m+g*g)}var v=0;for(d=11;d<h.HBLKSIZE;d++)v+=i[d];if(u.tot_ener[a]=v,t.analysis){for(d=0;d<h.HBLKSIZE;d++)u.pinfo.energy[o][a][d]=u.pinfo.energy_save[a][d],u.pinfo.energy_save[a][d]=i[d];u.pinfo.pe[o][a]=u.pe[a]}}function F(t,n,r,a,o,i,c,l){var u=t.internal_flags;if(0==o&&a<2&&e.fft_short(u,c[l],a,n,r),2==a)for(var d=h.BLKSIZE_s-1;d>=0;--d){var p=c[l+0][o][d],f=c[l+1][o][d];c[l+0][o][d]=(p+f)*s.SQRT2*.5,c[l+1][o][d]=(p-f)*s.SQRT2*.5}i[o][0]=c[l+0][o][0],i[o][0]*=i[o][0];for(d=h.BLKSIZE_s/2-1;d>=0;--d){var m=c[l+0][o][h.BLKSIZE_s/2-d],g=c[l+0][o][h.BLKSIZE_s/2+d];i[o][h.BLKSIZE_s/2-d]=.5*(m*m+g*g)}}function U(e,t,n,r){var a=e.internal_flags;2==e.athaa_loudapprox&&n<2&&(a.loudness_sq[t][n]=a.loudness_sq_save[n],a.loudness_sq_save[n]=v(r,a))}this.L3psycho_anal_ns=function(e,t,n,o,s,f,g,v,_,b){var y,w,C,k,S,M,O,I,q,F,U=e.internal_flags,$=u([2,h.BLKSIZE]),z=u([2,3,h.BLKSIZE_s]),V=l(h.CBANDS+1),Y=l(h.CBANDS+1),W=l(h.CBANDS+2),G=d(2),X=d(2),Z=u([2,576]),K=d(h.CBANDS+2),Q=d(h.CBANDS+2);for(c.fill(Q,0),y=U.channels_out,e.mode==MPEGMode.JOINT_STEREO&&(y=4),q=e.VBR==a.vbr_off?0==U.ResvMax?0:U.ResvSize/U.ResvMax*.5:e.VBR==a.vbr_rh||e.VBR==a.vbr_mtrh||e.VBR==a.vbr_mt?.6:1,w=0;w<U.channels_out;w++){var J=t[w],ee=n+576-350-m+192;for(p(10==H.length),k=0;k<576;k++){var te,ne;for(te=J[ee+k+10],ne=0,S=0;S<9;S+=2)te+=H[S]*(J[ee+k+S]+J[ee+k+m-S]),ne+=H[S+1]*(J[ee+k+S+1]+J[ee+k+m-S-1]);Z[w][k]=te+ne}s[o][w].en.assign(U.en[w]),s[o][w].thm.assign(U.thm[w]),y>2&&(f[o][w].en.assign(U.en[w+2]),f[o][w].thm.assign(U.thm[w+2]))}for(w=0;w<y;w++){var re,ae=l(12),oe=[0,0,0,0],ie=l(12),se=1,ce=l(h.CBANDS),le=l(h.CBANDS),ue=[0,0,0,0],de=l(h.HBLKSIZE),pe=u([3,h.HBLKSIZE_s]);for(p(U.npart_s<=h.CBANDS),p(U.npart_l<=h.CBANDS),k=0;k<3;k++)ae[k]=U.nsPsy.last_en_subshort[w][k+6],p(U.nsPsy.last_en_subshort[w][k+4]>0),ie[k]=ae[k]/U.nsPsy.last_en_subshort[w][k+4],oe[0]+=ae[k];if(2==w)for(k=0;k<576;k++){var fe,he;fe=Z[0][k],he=Z[1][k],Z[0][k]=fe+he,Z[1][k]=fe-he}var me=Z[1&w],ge=0;for(k=0;k<9;k++){for(var ve=ge+64,Ae=1;ge<ve;ge++)Ae<Math.abs(me[ge])&&(Ae=Math.abs(me[ge]));U.nsPsy.last_en_subshort[w][k]=ae[k+3]=Ae,oe[1+k/3]+=Ae,Ae>ae[k+3-2]?(p(ae[k+3-2]>0),Ae/=ae[k+3-2]):ae[k+3-2]>10*Ae?(p(Ae>0),Ae=ae[k+3-2]/(10*Ae)):Ae=0,ie[k+3]=Ae}if(e.analysis){var _e=ie[0];for(k=1;k<12;k++)_e<ie[k]&&(_e=ie[k]);U.pinfo.ers[o][w]=U.pinfo.ers_save[w],U.pinfo.ers_save[w]=_e}for(re=3==w?U.nsPsy.attackthre_s:U.nsPsy.attackthre,k=0;k<12;k++)0==ue[k/3]&&ie[k]>re&&(ue[k/3]=k%3+1);for(k=1;k<4;k++){var be;oe[k-1]>oe[k]?(p(oe[k]>0),be=oe[k-1]/oe[k]):(p(oe[k-1]>0),be=oe[k]/oe[k-1]),be<1.7&&(ue[k]=0,1==k&&(ue[0]=0))}for(0!=ue[0]&&0!=U.nsPsy.lastAttacks[w]&&(ue[0]=0),3!=U.nsPsy.lastAttacks[w]&&ue[0]+ue[1]+ue[2]+ue[3]==0||(se=0,0!=ue[1]&&0!=ue[0]&&(ue[1]=0),0!=ue[2]&&0!=ue[1]&&(ue[2]=0),0!=ue[3]&&0!=ue[2]&&(ue[3]=0)),w<2?X[w]=se:0==se&&(X[0]=X[1]=0),_[w]=U.tot_ener[w],A(e,de,pe,$,1&w,z,1&w,o,w,t,n),P(U,de,V,ce,le),N(U,ce,le,K),I=0;I<3;I++){var ye,xe;for(R(e,pe,Y,W,w,I),E(U,Y,W,w,I),O=0;O<h.SBMAX_s;O++){if(xe=U.thm[w].s[O][I],xe*=.8,ue[I]>=2||1==ue[I+1]){var we=0!=I?I-1:2;Ae=L(U.thm[w].s[O][we],xe,.6*q);xe=Math.min(xe,Ae)}if(1==ue[I]){we=0!=I?I-1:2,Ae=L(U.thm[w].s[O][we],xe,r*q);xe=Math.min(xe,Ae)}else if(0!=I&&3==ue[I-1]||0==I&&3==U.nsPsy.lastAttacks[w]){we=2!=I?I+1:0,Ae=L(U.thm[w].s[O][we],xe,r*q);xe=Math.min(xe,Ae)}ye=ae[3*I+3]+ae[3*I+4]+ae[3*I+5],6*ae[3*I+5]<ye&&(xe*=.5,6*ae[3*I+4]<ye&&(xe*=.5)),U.thm[w].s[O][I]=xe}}for(U.nsPsy.lastAttacks[w]=ue[2],M=0,C=0;C<U.npart_l;C++){for(var Ce=U.s3ind[C][0],ke=V[Ce]*x[K[Ce]],Be=U.s3_ll[M++]*ke;++Ce<=U.s3ind[C][1];)ke=V[Ce]*x[K[Ce]],Be=B(Be,U.s3_ll[M++]*ke,Ce,Ce-C,U,0);Be*=.158489319246111,U.blocktype_old[1&w]==h.SHORT_TYPE?W[C]=Be:W[C]=L(Math.min(Be,Math.min(2*U.nb_1[w][C],16*U.nb_2[w][C])),Be,q),U.nb_2[w][C]=U.nb_1[w][C],U.nb_1[w][C]=Be}for(;C<=h.CBANDS;++C)V[C]=0,W[C]=0;T(U,V,W,w)}(e.mode!=MPEGMode.STEREO&&e.mode!=MPEGMode.JOINT_STEREO||e.interChRatio>0&&function(e,t){var n=e.internal_flags;if(n.channels_out>1){for(var r=0;r<h.SBMAX_l;r++){var a=n.thm[0].l[r],o=n.thm[1].l[r];n.thm[0].l[r]+=o*t,n.thm[1].l[r]+=a*t}for(r=0;r<h.SBMAX_s;r++)for(var i=0;i<3;i++)a=n.thm[0].s[r][i],o=n.thm[1].s[r][i],n.thm[0].s[r][i]+=o*t,n.thm[1].s[r][i]+=a*t}}(e,e.interChRatio),e.mode==MPEGMode.JOINT_STEREO)&&(!function(e){for(var t=0;t<h.SBMAX_l;t++)if(!(e.thm[0].l[t]>1.58*e.thm[1].l[t]||e.thm[1].l[t]>1.58*e.thm[0].l[t])){var n=e.mld_l[t]*e.en[3].l[t],r=Math.max(e.thm[2].l[t],Math.min(e.thm[3].l[t],n));n=e.mld_l[t]*e.en[2].l[t];var a=Math.max(e.thm[3].l[t],Math.min(e.thm[2].l[t],n));e.thm[2].l[t]=r,e.thm[3].l[t]=a}for(t=0;t<h.SBMAX_s;t++)for(var o=0;o<3;o++)e.thm[0].s[t][o]>1.58*e.thm[1].s[t][o]||e.thm[1].s[t][o]>1.58*e.thm[0].s[t][o]||(n=e.mld_s[t]*e.en[3].s[t][o],r=Math.max(e.thm[2].s[t][o],Math.min(e.thm[3].s[t][o],n)),n=e.mld_s[t]*e.en[2].s[t][o],a=Math.max(e.thm[3].s[t][o],Math.min(e.thm[2].s[t][o],n)),e.thm[2].s[t][o]=r,e.thm[3].s[t][o]=a)}(U),F=e.msfix,Math.abs(F)>0&&function(e,t,n){var r=t,a=Math.pow(10,n);t*=2,r*=2;for(var o=0;o<h.SBMAX_l;o++)u=e.ATH.cb_l[e.bm_l[o]]*a,(s=Math.min(Math.max(e.thm[0].l[o],u),Math.max(e.thm[1].l[o],u)))*t<(c=Math.max(e.thm[2].l[o],u))+(l=Math.max(e.thm[3].l[o],u))&&p((c*=d=s*r/(c+l))+(l*=d)>0),e.thm[2].l[o]=Math.min(c,e.thm[2].l[o]),e.thm[3].l[o]=Math.min(l,e.thm[3].l[o]);for(a*=h.BLKSIZE_s/h.BLKSIZE,o=0;o<h.SBMAX_s;o++)for(var i=0;i<3;i++){var s,c,l,u,d;u=e.ATH.cb_s[e.bm_s[o]]*a,(s=Math.min(Math.max(e.thm[0].s[o][i],u),Math.max(e.thm[1].s[o][i],u)))*t<(c=Math.max(e.thm[2].s[o][i],u))+(l=Math.max(e.thm[3].s[o][i],u))&&p((c*=d=s*t/(c+l))+(l*=d)>0),e.thm[2].s[o][i]=Math.min(e.thm[2].s[o][i],c),e.thm[3].s[o][i]=Math.min(e.thm[3].s[o][i],l)}}(U,F,e.ATHlower*U.ATH.adjust));for(function(e,t,n,r){var a=e.internal_flags;e.short_blocks!=i.short_block_coupled||0!=t[0]&&0!=t[1]||(t[0]=t[1]=0);for(var o=0;o<a.channels_out;o++)r[o]=h.NORM_TYPE,e.short_blocks==i.short_block_dispensed&&(t[o]=1),e.short_blocks==i.short_block_forced&&(t[o]=0),0!=t[o]?(p(a.blocktype_old[o]!=h.START_TYPE),a.blocktype_old[o]==h.SHORT_TYPE&&(r[o]=h.STOP_TYPE)):(r[o]=h.SHORT_TYPE,a.blocktype_old[o]==h.NORM_TYPE&&(a.blocktype_old[o]=h.START_TYPE),a.blocktype_old[o]==h.STOP_TYPE&&(a.blocktype_old[o]=h.SHORT_TYPE)),n[o]=a.blocktype_old[o],a.blocktype_old[o]=r[o]}(e,X,b,G),w=0;w<y;w++){var Se,Me,Ee,Te=0;w>1?(Se=v,Te=-2,Me=h.NORM_TYPE,b[0]!=h.SHORT_TYPE&&b[1]!=h.SHORT_TYPE||(Me=h.SHORT_TYPE),Ee=f[o][w-2]):(Se=g,Te=0,Me=b[w],Ee=s[o][w]),Me==h.SHORT_TYPE?Se[Te+w]=j(Ee,U.masking_lower):Se[Te+w]=D(Ee,U.masking_lower),e.analysis&&(U.pinfo.pe[o][w]=Se[Te+w])}return 0};var $=[-1730326e-23,-.01703172,-1349528e-23,.0418072,-673278e-22,-.0876324,-30835e-21,.1863476,-1104424e-22,-.627638];function z(e,t,n){if(0==n)for(var r=0;r<e.npart_s;r++)e.nb_s2[t][r]=e.nb_s1[t][r],e.nb_s1[t][r]=0}function V(e,t){for(var n=0;n<e.npart_l;n++)e.nb_2[t][n]=e.nb_1[t][n],e.nb_1[t][n]=0}function Y(e,t,n,r,a,o){var i,s,c,u=e.internal_flags,d=new float[h.CBANDS],f=l(h.CBANDS),m=new int[h.CBANDS];for(c=s=0;c<u.npart_s;++c){var g=0,v=0,A=u.numlines_s[c];for(i=0;i<A;++i,++s){var _=t[o][s];g+=_,v<_&&(v=_)}n[c]=g,p(g>=0),d[c]=v,p(A>0),f[c]=g/A,p(f[c]>=0)}for(p(c==u.npart_s),p(129==s);c<h.CBANDS;++c)d[c]=0,f[c]=0;for(function(e,t,n,r){var a=x.length-1,o=0,i=n[o]+n[o+1];for(p(i>=0),i>0?((s=t[o])<t[o+1]&&(s=t[o+1]),p(e.numlines_s[o]+e.numlines_s[o+1]-1>0),(c=0|(i=20*(2*s-i)/(i*(e.numlines_s[o]+e.numlines_s[o+1]-1))))>a&&(c=a),r[o]=c):r[o]=0,o=1;o<e.npart_s-1;o++){var s,c;i=n[o-1]+n[o]+n[o+1],p(o+1<e.npart_s),p(i>=0),i>0?((s=t[o-1])<t[o]&&(s=t[o]),s<t[o+1]&&(s=t[o+1]),p(e.numlines_s[o-1]+e.numlines_s[o]+e.numlines_s[o+1]-1>0),(c=0|(i=20*(3*s-i)/(i*(e.numlines_s[o-1]+e.numlines_s[o]+e.numlines_s[o+1]-1))))>a&&(c=a),r[o]=c):r[o]=0}p(o>0),p(o==e.npart_s-1),i=n[o-1]+n[o],p(i>=0),i>0?((s=t[o-1])<t[o]&&(s=t[o]),p(e.numlines_s[o-1]+e.numlines_s[o]-1>0),(c=0|(i=20*(2*s-i)/(i*(e.numlines_s[o-1]+e.numlines_s[o]-1))))>a&&(c=a),r[o]=c):r[o]=0,p(o==e.npart_s-1)}(u,d,f,m),s=c=0;c<u.npart_s;c++){var b,y,w,C,k,B=u.s3ind_s[c][0],S=u.s3ind_s[c][1];for(b=m[B],y=1,C=u.s3_ss[s]*n[B]*x[m[B]],++s,++B;B<=S;)b+=m[B],y+=1,C=M(C,w=u.s3_ss[s]*n[B]*x[m[B]],B-c),++s,++B;C*=k=.5*x[b=(1+2*b)/(2*y)],r[c]=C,u.nb_s2[a][c]=u.nb_s1[a][c],u.nb_s1[a][c]=C,w=d[c],w*=u.minval_s[c],w*=k,r[c]>w&&(r[c]=w),u.masking_lower>1&&(r[c]*=u.masking_lower),r[c]>n[c]&&(r[c]=n[c]),u.masking_lower<1&&(r[c]*=u.masking_lower),p(r[c]>=0)}for(;c<h.CBANDS;++c)n[c]=0,r[c]=0}function W(e,t,n,a,o){var i,s=l(h.CBANDS),c=l(h.CBANDS),u=d(h.CBANDS+2);P(e,t,n,s,c),N(e,s,c,u);var f=0;for(i=0;i<e.npart_l;i++){var m,g,v,A=e.s3ind[i][0],_=e.s3ind[i][1],b=0,y=0;for(b=u[A],y+=1,g=e.s3_ll[f]*n[A]*x[u[A]],++f,++A;A<=_;)b+=u[A],y+=1,g=M(g,m=e.s3_ll[f]*n[A]*x[u[A]],A-i),++f,++A;if(g*=v=.5*x[b=(1+2*b)/(2*y)],e.blocktype_old[1&o]==h.SHORT_TYPE){var w=2*e.nb_1[o][i];a[i]=w>0?Math.min(g,w):Math.min(g,n[i]*r)}else{var C=16*e.nb_2[o][i],k=2*e.nb_1[o][i];C<=0&&(C=g),k<=0&&(k=g),w=e.blocktype_old[1&o]==h.NORM_TYPE?Math.min(k,C):k,a[i]=Math.min(g,w)}e.nb_2[o][i]=e.nb_1[o][i],e.nb_1[o][i]=g,m=s[i],m*=e.minval_l[i],m*=v,a[i]>m&&(a[i]=m),e.masking_lower>1&&(a[i]*=e.masking_lower),a[i]>n[i]&&(a[i]=n[i]),e.masking_lower<1&&(a[i]*=e.masking_lower),p(a[i]>=0)}for(;i<h.CBANDS;++i)n[i]=0,a[i]=0}function G(e,t,n,r,a,o,i){for(var s,c,l=2*o,u=o>0?Math.pow(10,a):1,d=0;d<i;++d){var f=e[2][d],h=e[3][d],m=t[0][d],g=t[1][d],v=t[2][d],A=t[3][d];if(m<=1.58*g&&g<=1.58*m){var _=n[d]*h,b=n[d]*f;c=Math.max(v,Math.min(A,_)),s=Math.max(A,Math.min(v,b))}else c=v,s=A;if(o>0){var y,x,w=r[d]*u;if(y=Math.min(Math.max(m,w),Math.max(g,w)),(x=(v=Math.max(c,w))+(A=Math.max(s,w)))>0&&y*l<x){var C=y*l/x;v*=C,A*=C,p(x>0)}c=Math.min(v,c),s=Math.min(A,s)}c>f&&(c=f),s>h&&(s=h),t[2][d]=c,t[3][d]=s}}function X(e,t){var n;return(n=e>=0?27*-e:e*t)<=-72?0:Math.exp(n*g)}function Z(e){var t,n,r=0;for(r=0;X(r,e)>1e-20;r-=1);for(a=r,o=0;Math.abs(o-a)>1e-12;)X(r=(o+a)/2,e)>0?o=r:a=r;t=a;var a,o;r=0;for(r=0;X(r,e)>1e-20;r+=1);for(a=0,o=r;Math.abs(o-a)>1e-12;)X(r=(o+a)/2,e)>0?a=r:o=r;n=o;var i,s=0,c=1e3;for(i=0;i<=c;++i){s+=X(r=t+i*(n-t)/c,e)}return(c+1)/(s*(n-t))}function K(e){return e<0&&(e=0),e*=.001,13*Math.atan(.76*e)+3.5*Math.atan(e*e/56.25)}function Q(e,t,n,r,a,o,i,s,c,u,f,m){var g,v=l(h.CBANDS+1),A=s/(m>15?1152:384),_=d(h.HBLKSIZE);s/=c;var b=0,y=0;for(g=0;g<h.CBANDS;g++){var x;for(R=K(s*b),v[g]=s*b,x=b;K(s*x)-R<.34&&x<=c/2;x++);for(e[g]=x-b,y=g+1;b<x;)p(b<h.HBLKSIZE),_[b++]=g;if(b>c/2){b=c/2,++g;break}}p(g<h.CBANDS),v[g]=s*b;for(var w=0;w<m;w++){var C,k,B,S,M;B=u[w],S=u[w+1],(C=0|Math.floor(.5+f*(B-.5)))<0&&(C=0),(k=0|Math.floor(.5+f*(S-.5)))>c/2&&(k=c/2),n[w]=(_[C]+_[k])/2,t[w]=_[k];var E=A*S;i[w]=(E-v[t[w]])/(v[t[w]+1]-v[t[w]]),i[w]<0?i[w]=0:i[w]>1&&(i[w]=1),M=K(s*u[w]*f),M=Math.min(M,15.5)/15.5,o[w]=Math.pow(10,1.25*(1-Math.cos(Math.PI*M))-2.5)}b=0;for(var T=0;T<y;T++){var R,L,O=e[T];R=K(s*b),L=K(s*(b+O-1)),r[T]=.5*(R+L),R=K(s*(b-.5)),L=K(s*(b+O-.5)),a[T]=L-R,b+=O}return y}function J(e,t,n,r,a,o){var i,s,c,d,p,f,m=u([h.CBANDS,h.CBANDS]),v=0;if(o)for(var A=0;A<t;A++)for(i=0;i<t;i++){var _=(s=n[A]-n[i],c=void 0,d=void 0,p=void 0,f=void 0,c=s,d=(c*=c>=0?3:1.5)>=.5&&c<=2.5?8*((f=c-.5)*f-2*f):0,((p=15.811389+7.5*(c+=.474)-17.5*Math.sqrt(1+c*c))<=-60?0:(c=Math.exp((d+p)*g),c/=.6609193))*r[i]);m[A][i]=_*a[A]}else for(i=0;i<t;i++){var b=15+Math.min(21/n[i],12),y=Z(b);for(A=0;A<t;A++){_=y*X(n[A]-n[i],b)*r[i];m[A][i]=_*a[A]}}for(A=0;A<t;A++){for(i=0;i<t&&!(m[A][i]>0);i++);for(e[A][0]=i,i=t-1;i>0&&!(m[A][i]>0);i--);e[A][1]=i,v+=e[A][1]-e[A][0]+1}var x=l(v),w=0;for(A=0;A<t;A++)for(i=e[A][0];i<=e[A][1];i++)x[w++]=m[A][i];return x}function ee(e){var t=K(e);return t=Math.min(t,15.5)/15.5,Math.pow(10,1.25*(1-Math.cos(Math.PI*t))-2.5)}function te(e,t){return e<-.3&&(e=3410),e/=1e3,e=Math.max(.1,e),3.64*Math.pow(e,-.8)-6.8*Math.exp(-.6*Math.pow(e-3.4,2))+6*Math.exp(-.15*Math.pow(e-8.7,2))+.001*(.6+.04*t)*Math.pow(e,4)}this.L3psycho_anal_vbr=function(e,t,n,r,a,o,s,c,f,g){var v=e.internal_flags,A=l(h.HBLKSIZE),_=u([3,h.HBLKSIZE_s]),b=u([2,h.BLKSIZE]),y=u([2,3,h.BLKSIZE_s]),x=u([4,h.CBANDS]),w=u([4,h.CBANDS]),C=u([4,3]),k=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],B=d(2),S=e.mode==MPEGMode.JOINT_STEREO?4:v.channels_out;!function(e,t,n,r,a,o,i,s,c,d){for(var f=u([2,576]),h=e.internal_flags,g=h.channels_out,v=e.mode==MPEGMode.JOINT_STEREO?4:g,A=0;A<g;A++){firbuf=t[A];var _=n+576-350-m+192;p(10==$.length);for(var b=0;b<576;b++){var y,x;y=firbuf[_+b+10],x=0;for(var w=0;w<9;w+=2)y+=$[w]*(firbuf[_+b+w]+firbuf[_+b+m-w]),x+=$[w+1]*(firbuf[_+b+w+1]+firbuf[_+b+m-w-1]);f[A][b]=y+x}a[r][A].en.assign(h.en[A]),a[r][A].thm.assign(h.thm[A]),v>2&&(o[r][A].en.assign(h.en[A+2]),o[r][A].thm.assign(h.thm[A+2]))}for(A=0;A<v;A++){var C=l(12),k=l(12),B=[0,0,0,0],S=f[1&A],M=0,E=3==A?h.nsPsy.attackthre_s:h.nsPsy.attackthre,T=1;if(2==A)for(b=0,w=576;w>0;++b,--w){var R=f[0][b],L=f[1][b];f[0][b]=R+L,f[1][b]=R-L}for(b=0;b<3;b++)k[b]=h.nsPsy.last_en_subshort[A][b+6],p(h.nsPsy.last_en_subshort[A][b+4]>0),C[b]=k[b]/h.nsPsy.last_en_subshort[A][b+4],B[0]+=k[b];for(b=0;b<9;b++){for(var O=M+64,j=1;M<O;M++)j<Math.abs(S[M])&&(j=Math.abs(S[M]));h.nsPsy.last_en_subshort[A][b]=k[b+3]=j,B[1+b/3]+=j,j>k[b+3-2]?(p(k[b+3-2]>0),j/=k[b+3-2]):k[b+3-2]>10*j?(p(j>0),j=k[b+3-2]/(10*j)):j=0,C[b+3]=j}for(b=0;b<3;++b){var I=k[3*b+3]+k[3*b+4]+k[3*b+5],D=1;6*k[3*b+5]<I&&(D*=.5,6*k[3*b+4]<I&&(D*=.5)),s[A][b]=D}if(e.analysis){var P=C[0];for(b=1;b<12;b++)P<C[b]&&(P=C[b]);h.pinfo.ers[r][A]=h.pinfo.ers_save[A],h.pinfo.ers_save[A]=P}for(b=0;b<12;b++)0==c[A][b/3]&&C[b]>E&&(c[A][b/3]=b%3+1);for(b=1;b<4;b++){var N=B[b-1],H=B[b];Math.max(N,H)<4e4&&N<1.7*H&&H<1.7*N&&(1==b&&c[A][0]<=c[A][b]&&(c[A][0]=0),c[A][b]=0)}c[A][0]<=h.nsPsy.lastAttacks[A]&&(c[A][0]=0),3!=h.nsPsy.lastAttacks[A]&&c[A][0]+c[A][1]+c[A][2]+c[A][3]==0||(T=0,0!=c[A][1]&&0!=c[A][0]&&(c[A][1]=0),0!=c[A][2]&&0!=c[A][1]&&(c[A][2]=0),0!=c[A][3]&&0!=c[A][2]&&(c[A][3]=0)),A<2?d[A]=T:0==T&&(d[0]=d[1]=0),i[A]=h.tot_ener[A]}}(e,t,n,r,a,o,f,C,k,B),function(e,t){var n=e.internal_flags;e.short_blocks!=i.short_block_coupled||0!=t[0]&&0!=t[1]||(t[0]=t[1]=0);for(var r=0;r<n.channels_out;r++)e.short_blocks==i.short_block_dispensed&&(t[r]=1),e.short_blocks==i.short_block_forced&&(t[r]=0)}(e,B);for(var M=0;M<S;M++){q(e,t,n,M,r,A,b,O=1&M),U(e,r,M,A),0!=B[O]?W(v,A,x[M],w[M],M):V(v,M)}B[0]+B[1]==2&&e.mode==MPEGMode.JOINT_STEREO&&G(x,w,v.mld_cb_l,v.ATH.cb_l,e.ATHlower*v.ATH.adjust,e.msfix,v.npart_l);for(M=0;M<S;M++){0!=B[O=1&M]&&T(v,x[M],w[M],M)}for(var R=0;R<3;R++){for(M=0;M<S;++M){0!=B[O=1&M]?z(v,M,R):(F(e,t,n,M,R,_,y,O),Y(e,_,x[M],w[M],M,R))}B[0]+B[1]==0&&e.mode==MPEGMode.JOINT_STEREO&&G(x,w,v.mld_cb_s,v.ATH.cb_s,e.ATHlower*v.ATH.adjust,e.msfix,v.npart_s);for(M=0;M<S;++M){0==B[O=1&M]&&E(v,x[M],w[M],M,R)}}for(M=0;M<S;M++){var O;if(0==B[O=1&M])for(var I=0;I<h.SBMAX_s;I++){var P=l(3);for(R=0;R<3;R++){var N=v.thm[M].s[I][R];if(N*=.8,k[M][R]>=2||1==k[M][R+1]){var H=0!=R?R-1:2,X=L(v.thm[M].s[I][H],N,.36);N=Math.min(N,X)}else if(1==k[M][R]){H=0!=R?R-1:2,X=L(v.thm[M].s[I][H],N,.18);N=Math.min(N,X)}else if(0!=R&&3==k[M][R-1]||0==R&&3==v.nsPsy.lastAttacks[M]){H=2!=R?R+1:0,X=L(v.thm[M].s[I][H],N,.18);N=Math.min(N,X)}N*=C[M][R],P[R]=N}for(R=0;R<3;R++)v.thm[M].s[I][R]=P[R]}}for(M=0;M<S;M++)v.nsPsy.lastAttacks[M]=k[M][2];!function(e,t,n){for(var r=e.internal_flags,a=0;a<r.channels_out;a++){var o=h.NORM_TYPE;0!=t[a]?(p(r.blocktype_old[a]!=h.START_TYPE),r.blocktype_old[a]==h.SHORT_TYPE&&(o=h.STOP_TYPE)):(o=h.SHORT_TYPE,r.blocktype_old[a]==h.NORM_TYPE&&(r.blocktype_old[a]=h.START_TYPE),r.blocktype_old[a]==h.STOP_TYPE&&(r.blocktype_old[a]=h.SHORT_TYPE)),n[a]=r.blocktype_old[a],r.blocktype_old[a]=o}}(e,B,g);for(M=0;M<S;M++){var Z,K,Q,J;M>1?(Z=c,K=-2,Q=h.NORM_TYPE,g[0]!=h.SHORT_TYPE&&g[1]!=h.SHORT_TYPE||(Q=h.SHORT_TYPE),J=o[r][M-2]):(Z=s,K=0,Q=g[M],J=a[r][M]),Q==h.SHORT_TYPE?Z[K+M]=j(J,v.masking_lower):Z[K+M]=D(J,v.masking_lower),e.analysis&&(v.pinfo.pe[r][M]=Z[K+M])}return 0},this.psymodel_init=function(n){var r,i=n.internal_flags,s=!0,c=13,u=24,d=0,f=0,m=-8.25,g=-4.5,v=l(h.CBANDS),A=l(h.CBANDS),x=l(h.CBANDS),w=n.out_samplerate;switch(n.experimentalZ){default:case 0:s=!0;break;case 1:s=n.VBR!=a.vbr_mtrh&&n.VBR!=a.vbr_mt;break;case 2:s=!1;break;case 3:c=8,d=-1.75,f=-.0125,m=-8.25,g=-2.25}for(i.ms_ener_ratio_old=.25,i.blocktype_old[0]=i.blocktype_old[1]=h.NORM_TYPE,r=0;r<4;++r){for(var C=0;C<h.CBANDS;++C)i.nb_1[r][C]=1e20,i.nb_2[r][C]=1e20,i.nb_s1[r][C]=i.nb_s2[r][C]=1;for(var k=0;k<h.SBMAX_l;k++)i.en[r].l[k]=1e20,i.thm[r].l[k]=1e20;for(C=0;C<3;++C){for(k=0;k<h.SBMAX_s;k++)i.en[r].s[k][C]=1e20,i.thm[r].s[k][C]=1e20;i.nsPsy.lastAttacks[r]=0}for(C=0;C<9;C++)i.nsPsy.last_en_subshort[r][C]=10}for(i.loudness_sq_save[0]=i.loudness_sq_save[1]=0,i.npart_l=Q(i.numlines_l,i.bo_l,i.bm_l,v,A,i.mld_l,i.PSY.bo_l_weight,w,h.BLKSIZE,i.scalefac_band.l,h.BLKSIZE/1152,h.SBMAX_l),p(i.npart_l<h.CBANDS),r=0;r<i.npart_l;r++){var B=d;v[r]>=c&&(B=f*(v[r]-c)/(u-c)+d*(u-v[r])/(u-c)),x[r]=Math.pow(10,B/10),i.numlines_l[r]>0?i.rnumlines_l[r]=1/i.numlines_l[r]:i.rnumlines_l[r]=0}i.s3_ll=J(i.s3ind,i.npart_l,v,A,x,s);var S;C=0;for(r=0;r<i.npart_l;r++){T=o.MAX_VALUE;for(var M=0;M<i.numlines_l[r];M++,C++){var E=w*C/(1e3*h.BLKSIZE);R=this.ATHformula(1e3*E,n)-20,R=Math.pow(10,.1*R),T>(R*=i.numlines_l[r])&&(T=R)}i.ATH.cb_l[r]=T,(T=20*v[r]/10-20)>6&&(T=100),T<-15&&(T=-15),T-=8,i.minval_l[r]=Math.pow(10,T/10)*i.numlines_l[r]}for(i.npart_s=Q(i.numlines_s,i.bo_s,i.bm_s,v,A,i.mld_s,i.PSY.bo_s_weight,w,h.BLKSIZE_s,i.scalefac_band.s,h.BLKSIZE_s/384,h.SBMAX_s),p(i.npart_s<h.CBANDS),C=0,r=0;r<i.npart_s;r++){var T;B=m;v[r]>=c&&(B=g*(v[r]-c)/(u-c)+m*(u-v[r])/(u-c)),x[r]=Math.pow(10,B/10),T=o.MAX_VALUE;for(M=0;M<i.numlines_s[r];M++,C++){var R;E=w*C/(1e3*h.BLKSIZE_s);R=this.ATHformula(1e3*E,n)-20,R=Math.pow(10,.1*R),T>(R*=i.numlines_s[r])&&(T=R)}i.ATH.cb_s[r]=T,T=7*v[r]/12-7,v[r]>12&&(T*=1+3.1*Math.log(1+T)),v[r]<12&&(T*=1+2.3*Math.log(1-T)),T<-15&&(T=-15),T-=8,i.minval_s[r]=Math.pow(10,T/10)*i.numlines_s[r]}i.s3_ss=J(i.s3ind_s,i.npart_s,v,A,x,s),_=Math.pow(10,9/16),b=Math.pow(10,1.5),y=Math.pow(10,1.5),e.init_fft(i),i.decay=Math.exp(-1*t/(.01*w/192)),S=3.5,0!=(2&n.exp_nspsytune)&&(S=1),Math.abs(n.msfix)>0&&(S=n.msfix),n.msfix=S;for(var L=0;L<i.npart_l;L++)i.s3ind[L][1]>i.npart_l-1&&(i.s3ind[L][1]=i.npart_l-1);var O=576*i.mode_gr/w;if(i.ATH.decay=Math.pow(10,-1.2*O),i.ATH.adjust=.01,i.ATH.adjustLimit=1,p(i.bo_l[h.SBMAX_l-1]<=i.npart_l),p(i.bo_s[h.SBMAX_s-1]<=i.npart_s),-1!=n.ATHtype){var j=n.out_samplerate/h.BLKSIZE,I=0;for(E=0,r=0;r<h.BLKSIZE/2;++r)E+=j,i.ATH.eql_w[r]=1/Math.pow(10,this.ATHformula(E,n)/10),I+=i.ATH.eql_w[r];for(I=1/I,r=h.BLKSIZE/2;--r>=0;)i.ATH.eql_w[r]*=I}for(L=C=0;L<i.npart_s;++L)for(r=0;r<i.numlines_s[L];++r)++C;p(129==C);for(L=C=0;L<i.npart_l;++L)for(r=0;r<i.numlines_l[L];++r)++C;for(p(513==C),C=0,r=0;r<i.npart_l;r++){E=w*(C+i.numlines_l[r]/2)/(1*h.BLKSIZE);i.mld_cb_l[r]=ee(E),C+=i.numlines_l[r]}for(;r<h.CBANDS;++r)i.mld_cb_l[r]=1;for(C=0,r=0;r<i.npart_s;r++){E=w*(C+i.numlines_s[r]/2)/(1*h.BLKSIZE_s);i.mld_cb_s[r]=ee(E),C+=i.numlines_s[r]}for(;r<h.CBANDS;++r)i.mld_cb_s[r]=1;return 0},this.ATHformula=function(e,t){var n;switch(t.ATHtype){case 0:n=te(e,9);break;case 1:n=te(e,-1);break;case 2:default:n=te(e,0);break;case 3:n=te(e,1)+6;break;case 4:n=te(e,t.ATHcurve)}return n}}},19833:(e,t,n)=>{var r=n(51038),a=r.System,o=r.VbrMode,i=(r.Float,r.ShortBlock,r.Util),s=r.Arrays,c=(r.new_array_n,r.new_byte,r.new_double,r.new_float),l=(r.new_float_n,r.new_int,r.new_int_n,r.assert),u=n(77095),d=n(22711),p=n(3449),f=n(60687),h=n(29438),m=n(90354);e.exports=function(){var e,t,n;this.rv=null,this.qupvt=null;var r,g=new u;function v(e){this.ordinal=e}function A(e){for(var t=0;t<e.sfbmax;t++)if(e.scalefac[t]+e.subblock_gain[e.window[t]]==0)return!1;return!0}function _(e,t,n,r,a){var o;switch(e){default:case 9:t.over_count>0?(o=n.over_SSD<=t.over_SSD,n.over_SSD==t.over_SSD&&(o=n.bits<t.bits)):o=n.max_noise<0&&10*n.max_noise+n.bits<=10*t.max_noise+t.bits;break;case 0:o=n.over_count<t.over_count||n.over_count==t.over_count&&n.over_noise<t.over_noise||n.over_count==t.over_count&&BitStream.EQ(n.over_noise,t.over_noise)&&n.tot_noise<t.tot_noise;break;case 8:n.max_noise=function(e,t){for(var n,r=1e-37,a=0;a<t.psymax;a++)r+=(n=e[a],i.FAST_LOG10(.368+.632*n*n*n));return Math.max(1e-20,r)}(a,r);case 1:o=n.max_noise<t.max_noise;break;case 2:o=n.tot_noise<t.tot_noise;break;case 3:o=n.tot_noise<t.tot_noise&&n.max_noise<t.max_noise;break;case 4:o=n.max_noise<=0&&t.max_noise>.2||n.max_noise<=0&&t.max_noise<0&&t.max_noise>n.max_noise-.2&&n.tot_noise<t.tot_noise||n.max_noise<=0&&t.max_noise>0&&t.max_noise>n.max_noise-.2&&n.tot_noise<t.tot_noise+t.over_noise||n.max_noise>0&&t.max_noise>-.05&&t.max_noise>n.max_noise-.1&&n.tot_noise+n.over_noise<t.tot_noise+t.over_noise||n.max_noise>0&&t.max_noise>-.1&&t.max_noise>n.max_noise-.15&&n.tot_noise+n.over_noise+n.over_noise<t.tot_noise+t.over_noise+t.over_noise;break;case 5:o=n.over_noise<t.over_noise||BitStream.EQ(n.over_noise,t.over_noise)&&n.tot_noise<t.tot_noise;break;case 6:o=n.over_noise<t.over_noise||BitStream.EQ(n.over_noise,t.over_noise)&&(n.max_noise<t.max_noise||BitStream.EQ(n.max_noise,t.max_noise)&&n.tot_noise<=t.tot_noise);break;case 7:o=n.over_count<t.over_count||n.over_noise<t.over_noise}return 0==t.over_count&&(o=o&&n.bits<t.bits),o}function b(e,t,a,o,i){var c=e.internal_flags;!function(e,t,n,r,a){var o,i=e.internal_flags;o=0==t.scalefac_scale?1.2968395546510096:1.6817928305074292;for(var s=0,c=0;c<t.sfbmax;c++)s<n[c]&&(s=n[c]);var l=i.noise_shaping_amp;switch(3==l&&(l=a?2:1),l){case 2:break;case 1:s>1?s=Math.pow(s,.5):s*=.95;break;default:s>1?s=1:s*=.95}var u=0;for(c=0;c<t.sfbmax;c++){var d,p=t.width[c];if(u+=p,!(n[c]<s)){if(0!=(2&i.substep_shaping)&&(i.pseudohalf[c]=0==i.pseudohalf[c]?1:0,0==i.pseudohalf[c]&&2==i.noise_shaping_amp))return;for(t.scalefac[c]++,d=-p;d<0;d++)r[u+d]*=o,r[u+d]>t.xrpow_max&&(t.xrpow_max=r[u+d]);if(2==i.noise_shaping_amp)return}}}(e,t,a,o,i);var u=A(t);return!u&&(!(u=2==c.mode_gr?r.scale_bitcount(t):r.scale_bitcount_lsf(c,t))||(c.noise_shaping>1&&(s.fill(c.pseudohalf,0),0==t.scalefac_scale?(!function(e,t){for(var r=0,a=0;a<e.sfbmax;a++){var o=e.width[a],i=e.scalefac[a];if(0!=e.preflag&&(i+=n.pretab[a]),r+=o,0!=(1&i)){i++;for(var s=-o;s<0;s++)t[r+s]*=1.2968395546510096,t[r+s]>e.xrpow_max&&(e.xrpow_max=t[r+s])}e.scalefac[a]=i>>1}e.preflag=0,e.scalefac_scale=1}(t,o),u=!1):t.block_type==f.SHORT_TYPE&&c.subblock_gain>0&&(u=function(e,t,r){var a,o=t.scalefac;for(a=0;a<t.sfb_lmax;a++)if(o[a]>=16)return!0;for(var i=0;i<3;i++){var s=0,c=0;for(a=t.sfb_lmax+i;a<t.sfbdivide;a+=3)s<o[a]&&(s=o[a]);for(;a<t.sfbmax;a+=3)c<o[a]&&(c=o[a]);if(!(s<16&&c<8)){if(t.subblock_gain[i]>=7)return!0;t.subblock_gain[i]++;var u=e.scalefac_band.l[t.sfb_lmax];for(a=t.sfb_lmax+i;a<t.sfbmax;a+=3){var d=t.width[a],p=o[a];if(l(p>=0),(p-=4>>t.scalefac_scale)>=0)o[a]=p,u+=3*d;else{o[a]=0;var f=210+(p<<t.scalefac_scale+1);m=n.IPOW20(f),u+=d*(i+1);for(var h=-d;h<0;h++)r[u+h]*=m,r[u+h]>t.xrpow_max&&(t.xrpow_max=r[u+h]);u+=d*(3-i-1)}}var m=n.IPOW20(202);for(u+=t.width[a]*(i+1),h=-t.width[a];h<0;h++)r[u+h]*=m,r[u+h]>t.xrpow_max&&(t.xrpow_max=r[u+h])}}return!1}(c,t,o)||A(t))),u||(u=2==c.mode_gr?r.scale_bitcount(t):r.scale_bitcount_lsf(c,t)),!u))}this.setModules=function(a,o,i,s){e=a,t=o,this.rv=o,n=i,this.qupvt=i,r=s,g.setModules(n,r)},this.ms_convert=function(e,t){for(var n=0;n<576;++n){var r=e.tt[t][0].xr[n],a=e.tt[t][1].xr[n];e.tt[t][0].xr[n]=(r+a)*(.5*i.SQRT2),e.tt[t][1].xr[n]=(r-a)*(.5*i.SQRT2)}},this.init_xrpow=function(e,t,n){var r=0,a=0|t.max_nonzero_coeff;if(l(null!=n),t.xrpow_max=0,l(0<=a&&a<=575),s.fill(n,a,576,0),r=function(e,t,n,r){r=0;for(var a=0;a<=n;++a){var o=Math.abs(e.xr[a]);r+=o,t[a]=Math.sqrt(o*Math.sqrt(o)),t[a]>e.xrpow_max&&(e.xrpow_max=t[a])}return r}(t,n,a,r),r>1e-20){var o=0;0!=(2&e.substep_shaping)&&(o=1);for(var i=0;i<t.psymax;i++)e.pseudohalf[i]=o;return!0}return s.fill(t.l3_enc,0,576,0),!1},this.init_outer_loop=function(e,t){t.part2_3_length=0,t.big_values=0,t.count1=0,t.global_gain=210,t.scalefac_compress=0,t.table_select[0]=0,t.table_select[1]=0,t.table_select[2]=0,t.subblock_gain[0]=0,t.subblock_gain[1]=0,t.subblock_gain[2]=0,t.subblock_gain[3]=0,t.region0_count=0,t.region1_count=0,t.preflag=0,t.scalefac_scale=0,t.count1table_select=0,t.part2_length=0,t.sfb_lmax=f.SBPSY_l,t.sfb_smin=f.SBPSY_s,t.psy_lmax=e.sfb21_extra?f.SBMAX_l:f.SBPSY_l,t.psymax=t.psy_lmax,t.sfbmax=t.sfb_lmax,t.sfbdivide=11;for(var r=0;r<f.SBMAX_l;r++)t.width[r]=e.scalefac_band.l[r+1]-e.scalefac_band.l[r],t.window[r]=3;if(t.block_type==f.SHORT_TYPE){var o=c(576);t.sfb_smin=0,t.sfb_lmax=0,0!=t.mixed_block_flag&&(t.sfb_smin=3,t.sfb_lmax=2*e.mode_gr+4),t.psymax=t.sfb_lmax+3*((e.sfb21_extra?f.SBMAX_s:f.SBPSY_s)-t.sfb_smin),t.sfbmax=t.sfb_lmax+3*(f.SBPSY_s-t.sfb_smin),t.sfbdivide=t.sfbmax-18,t.psy_lmax=t.sfb_lmax;var i=e.scalefac_band.l[t.sfb_lmax];a.arraycopy(t.xr,0,o,0,576);for(r=t.sfb_smin;r<f.SBMAX_s;r++)for(var l=e.scalefac_band.s[r],u=e.scalefac_band.s[r+1],d=0;d<3;d++)for(var p=l;p<u;p++)t.xr[i++]=o[3*p+d];var h=t.sfb_lmax;for(r=t.sfb_smin;r<f.SBMAX_s;r++)t.width[h]=t.width[h+1]=t.width[h+2]=e.scalefac_band.s[r+1]-e.scalefac_band.s[r],t.window[h]=0,t.window[h+1]=1,t.window[h+2]=2,h+=3}t.count1bits=0,t.sfb_partition_table=n.nr_of_sfb_block[0][0],t.slen[0]=0,t.slen[1]=0,t.slen[2]=0,t.slen[3]=0,t.max_nonzero_coeff=575,s.fill(t.scalefac,0),function(e,t){var r=e.ATH,a=t.xr;if(t.block_type!=f.SHORT_TYPE)for(var o=!1,i=f.PSFB21-1;i>=0&&!o;i--){var s=e.scalefac_band.psfb21[i],c=e.scalefac_band.psfb21[i+1],l=n.athAdjust(r.adjust,r.psfb21[i],r.floor);e.nsPsy.longfact[21]>1e-12&&(l*=e.nsPsy.longfact[21]);for(var u=c-1;u>=s;u--){if(!(Math.abs(a[u])<l)){o=!0;break}a[u]=0}}else for(var d=0;d<3;d++)for(o=!1,i=f.PSFB12-1;i>=0&&!o;i--){c=(s=3*e.scalefac_band.s[12]+(e.scalefac_band.s[13]-e.scalefac_band.s[12])*d+(e.scalefac_band.psfb12[i]-e.scalefac_band.psfb12[0]))+(e.scalefac_band.psfb12[i+1]-e.scalefac_band.psfb12[i]);var p=n.athAdjust(r.adjust,r.psfb12[i],r.floor);for(e.nsPsy.shortfact[12]>1e-12&&(p*=e.nsPsy.shortfact[12]),u=c-1;u>=s;u--){if(!(Math.abs(a[u])<p)){o=!0;break}a[u]=0}}}(e,t)},v.BINSEARCH_NONE=new v(0),v.BINSEARCH_UP=new v(1),v.BINSEARCH_DOWN=new v(2),this.trancate_smallspectrums=function(e,t,a,o){var i=c(m.SFBMAX);if((0!=(4&e.substep_shaping)||t.block_type!=f.SHORT_TYPE)&&0==(128&e.substep_shaping)){n.calc_noise(t,a,i,new d,null);for(var l=0;l<576;l++){var u=0;0!=t.l3_enc[l]&&(u=Math.abs(t.xr[l])),o[l]=u}l=0;var p=8;t.block_type==f.SHORT_TYPE&&(p=6);do{var h,g,v,A,_=t.width[p];if(l+=_,!(i[p]>=1||(s.sort(o,l-_,_),BitStream.EQ(o[l-1],0)))){h=(1-i[p])*a[p],g=0,A=0;do{var b;for(v=1;A+v<_&&!BitStream.NEQ(o[A+l-_],o[A+l+v-_]);v++);if(h<(b=o[A+l-_]*o[A+l-_]*v)){0!=A&&(g=o[A+l-_-1]);break}h-=b,A+=v}while(A<_);if(!BitStream.EQ(g,0))do{Math.abs(t.xr[l-_])<=g&&(t.l3_enc[l-_]=0)}while(--_>0)}}while(++p<t.psymax);t.part2_3_length=r.noquant_count_bits(e,t,null)}},this.outer_loop=function(e,t,i,s,u,g){var A=e.internal_flags,y=new h,x=c(576),w=c(m.SFBMAX),C=new d,k=new p,B=9999999,S=!1,M=!1,E=0;if(function(e,t,n,a,o){var i,s=e.CurrentStep[a],c=!1,u=e.OldValue[a],d=v.BINSEARCH_NONE;for(t.global_gain=u,n-=t.part2_length,l(0!=s);;){var p;if(i=r.count_bits(e,o,t,null),1==s||i==n)break;i>n?(d==v.BINSEARCH_DOWN&&(c=!0),c&&(s/=2),d=v.BINSEARCH_UP,p=s):(d==v.BINSEARCH_UP&&(c=!0),c&&(s/=2),d=v.BINSEARCH_DOWN,p=-s),t.global_gain+=p,t.global_gain<0&&(t.global_gain=0,c=!0),t.global_gain>255&&(t.global_gain=255,c=!0)}for(l(t.global_gain>=0),l(t.global_gain<256);i>n&&t.global_gain<255;)t.global_gain++,i=r.count_bits(e,o,t,null);e.CurrentStep[a]=u-t.global_gain>=4?4:2,e.OldValue[a]=t.global_gain,t.part2_3_length=i}(A,t,g,u,s),0==A.noise_shaping)return 100;n.calc_noise(t,i,w,C,k),C.bits=t.part2_3_length,y.assign(t);var T=0;for(a.arraycopy(s,0,x,0,576);!S;){do{var R,L=new d,O=255;if(R=0!=(2&A.substep_shaping)?20:3,A.sfb21_extra){if(w[y.sfbmax]>1)break;if(y.block_type==f.SHORT_TYPE&&(w[y.sfbmax+1]>1||w[y.sfbmax+2]>1))break}if(!b(e,y,w,s,M))break;0!=y.scalefac_scale&&(O=254);var j=g-y.part2_length;if(j<=0)break;for(;(y.part2_3_length=r.count_bits(A,s,y,k))>j&&y.global_gain<=O;)y.global_gain++;if(y.global_gain>O)break;if(0==C.over_count){for(;(y.part2_3_length=r.count_bits(A,s,y,k))>B&&y.global_gain<=O;)y.global_gain++;if(y.global_gain>O)break}if(n.calc_noise(y,i,w,L,k),L.bits=y.part2_3_length,0!=(_(t.block_type!=f.SHORT_TYPE?e.quant_comp:e.quant_comp_short,C,L,y,w)?1:0))B=t.part2_3_length,C=L,t.assign(y),T=0,a.arraycopy(s,0,x,0,576);else if(0==A.full_outer_loop){if(++T>R&&0==C.over_count)break;if(3==A.noise_shaping_amp&&M&&T>30)break;if(3==A.noise_shaping_amp&&M&&y.global_gain-E>15)break}}while(y.global_gain+y.scalefac_scale<255);3==A.noise_shaping_amp?M?S=!0:(y.assign(t),a.arraycopy(x,0,s,0,576),T=0,E=y.global_gain,M=!0):S=!0}return l(t.global_gain+t.scalefac_scale<=255),e.VBR==o.vbr_rh||e.VBR==o.vbr_mtrh?a.arraycopy(x,0,s,0,576):0!=(1&A.substep_shaping)&&trancate_smallspectrums(A,t,i,s),C.over_count},this.iteration_finish_one=function(e,n,a){var o=e.l3_side,i=o.tt[n][a];r.best_scalefac_store(e,n,a,o),1==e.use_best_huffman&&r.best_huffman_divide(e,i),t.ResvAdjust(e,i)},this.VBR_encode_granule=function(e,t,n,r,o,i,u){var d,p=e.internal_flags,f=new h,m=c(576),g=u,v=u+1,A=(u+i)/2,_=0,b=p.sfb21_extra;l(g<=LameInternalFlags.MAX_BITS_PER_CHANNEL),s.fill(f.l3_enc,0);do{l(A>=i),l(A<=u),l(i<=u),p.sfb21_extra=!(A>g-42)&&b,outer_loop(e,t,n,r,o,A)<=0?(_=1,v=t.part2_3_length,f.assign(t),a.arraycopy(r,0,m,0,576),d=(u=v-32)-i,A=(u+i)/2):(d=u-(i=A+32),A=(u+i)/2,0!=_&&(_=2,t.assign(f),a.arraycopy(m,0,r,0,576)))}while(d>12);p.sfb21_extra=b,2==_&&a.arraycopy(f.l3_enc,0,t.l3_enc,0,576),l(t.part2_3_length<=g)},this.get_framebits=function(n,r){var a=n.internal_flags;a.bitrate_index=a.VBR_min_bitrate;var o=e.getframebits(n);a.bitrate_index=1,o=e.getframebits(n);for(var i=1;i<=a.VBR_max_bitrate;i++){a.bitrate_index=i;var s=new MeanBits(o);r[i]=t.ResvFrameBegin(n,s),o=s.bits}},this.VBR_old_prepare=function(e,r,a,o,i,s,c,l,u){var d,p=e.internal_flags,h=0,m=1,g=0;p.bitrate_index=p.VBR_max_bitrate;var v=t.ResvFrameBegin(e,new MeanBits(0))/p.mode_gr;get_framebits(e,s);for(var A=0;A<p.mode_gr;A++){var _=n.on_pe(e,r,l[A],v,A,0);p.mode_ext==f.MPG_MD_MS_LR&&(ms_convert(p.l3_side,A),n.reduce_side(l[A],a[A],v,_));for(var b=0;b<p.channels_out;++b){var y=p.l3_side.tt[A][b];y.block_type!=f.SHORT_TYPE?(h=1.28/(1+Math.exp(3.5-r[A][b]/300))-.05,d=p.PSY.mask_adjust-h):(h=2.56/(1+Math.exp(3.5-r[A][b]/300))-.14,d=p.PSY.mask_adjust_short-h),p.masking_lower=Math.pow(10,.1*d),init_outer_loop(p,y),u[A][b]=n.calc_xmin(e,o[A][b],y,i[A][b]),0!=u[A][b]&&(m=0),c[A][b]=126,g+=l[A][b]}}for(A=0;A<p.mode_gr;A++)for(b=0;b<p.channels_out;b++)g>s[p.VBR_max_bitrate]&&(l[A][b]*=s[p.VBR_max_bitrate],l[A][b]/=g),c[A][b]>l[A][b]&&(c[A][b]=l[A][b]);return m},this.bitpressure_strategy=function(e,t,n,r){for(var a=0;a<e.mode_gr;a++)for(var o=0;o<e.channels_out;o++){for(var i=e.l3_side.tt[a][o],s=t[a][o],c=0,l=0;l<i.psy_lmax;l++)s[c++]*=1+.029*l*l/f.SBMAX_l/f.SBMAX_l;if(i.block_type==f.SHORT_TYPE)for(l=i.sfb_smin;l<f.SBMAX_s;l++)s[c++]*=1+.029*l*l/f.SBMAX_s/f.SBMAX_s,s[c++]*=1+.029*l*l/f.SBMAX_s/f.SBMAX_s,s[c++]*=1+.029*l*l/f.SBMAX_s/f.SBMAX_s;r[a][o]=0|Math.max(n[a][o],.9*r[a][o])}},this.VBR_new_prepare=function(e,r,a,o,i,s){var c,l=e.internal_flags,u=1,d=0,p=0;if(e.free_format){l.bitrate_index=0;h=new MeanBits(d);c=t.ResvFrameBegin(e,h),d=h.bits,i[0]=c}else{l.bitrate_index=l.VBR_max_bitrate;var h=new MeanBits(d);t.ResvFrameBegin(e,h),d=h.bits,get_framebits(e,i),c=i[l.VBR_max_bitrate]}for(var m=0;m<l.mode_gr;m++){n.on_pe(e,r,s[m],d,m,0),l.mode_ext==f.MPG_MD_MS_LR&&ms_convert(l.l3_side,m);for(var g=0;g<l.channels_out;++g){var v=l.l3_side.tt[m][g];l.masking_lower=Math.pow(10,.1*l.PSY.mask_adjust),init_outer_loop(l,v),0!=n.calc_xmin(e,a[m][g],v,o[m][g])&&(u=0),p+=s[m][g]}}for(m=0;m<l.mode_gr;m++)for(g=0;g<l.channels_out;g++)p>c&&(s[m][g]*=c,s[m][g]/=p);return u},this.calc_target_bits=function(r,a,o,i,s,c){var l,u,d,p,h=r.internal_flags,m=h.l3_side,g=0;h.bitrate_index=h.VBR_max_bitrate;var v=new MeanBits(g);for(c[0]=t.ResvFrameBegin(r,v),g=v.bits,h.bitrate_index=1,g=e.getframebits(r)-8*h.sideinfo_len,s[0]=g/(h.mode_gr*h.channels_out),g=r.VBR_mean_bitrate_kbps*r.framesize*1e3,0!=(1&h.substep_shaping)&&(g*=1.09),g/=r.out_samplerate,g-=8*h.sideinfo_len,g/=h.mode_gr*h.channels_out,(l=.93+.07*(11-r.compression_ratio)/5.5)<.9&&(l=.9),l>1&&(l=1),u=0;u<h.mode_gr;u++){var A=0;for(d=0;d<h.channels_out;d++){if(i[u][d]=int(l*g),a[u][d]>700){var _=int((a[u][d]-700)/1.4),b=m.tt[u][d];i[u][d]=int(l*g),b.block_type==f.SHORT_TYPE&&_<g/2&&(_=g/2),_>3*g/2?_=3*g/2:_<0&&(_=0),i[u][d]+=_}i[u][d]>LameInternalFlags.MAX_BITS_PER_CHANNEL&&(i[u][d]=LameInternalFlags.MAX_BITS_PER_CHANNEL),A+=i[u][d]}if(A>LameInternalFlags.MAX_BITS_PER_GRANULE)for(d=0;d<h.channels_out;++d)i[u][d]*=LameInternalFlags.MAX_BITS_PER_GRANULE,i[u][d]/=A}if(h.mode_ext==f.MPG_MD_MS_LR)for(u=0;u<h.mode_gr;u++)n.reduce_side(i[u],o[u],g*h.channels_out,LameInternalFlags.MAX_BITS_PER_GRANULE);for(p=0,u=0;u<h.mode_gr;u++)for(d=0;d<h.channels_out;d++)i[u][d]>LameInternalFlags.MAX_BITS_PER_CHANNEL&&(i[u][d]=LameInternalFlags.MAX_BITS_PER_CHANNEL),p+=i[u][d];if(p>c[0])for(u=0;u<h.mode_gr;u++)for(d=0;d<h.channels_out;d++)i[u][d]*=c[0],i[u][d]/=p}}},70429:(e,t,n)=>{var r=n(80302),a=n(51038),o=(a.System,a.VbrMode),i=a.Float,s=(a.ShortBlock,a.Util),c=(a.Arrays,a.new_array_n,a.new_byte,a.new_double,a.new_float),l=(a.new_float_n,a.new_int),u=(a.new_int_n,a.assert),d=n(60687),p=n(23134),f=n(91998);function h(){var e=null,t=null,n=null;this.setModules=function(r,a,o){e=r,t=a,n=o},this.IPOW20=function(e){return u(0<=e&&e<h.Q_MAX),b[e]};var a=2220446049250313e-31,m=h.IXMAX_VAL+2,g=h.Q_MAX,v=h.Q_MAX2;h.LARGE_BITS;this.nr_of_sfb_block=[[[6,5,5,5],[9,9,9,9],[6,9,9,9]],[[6,5,7,3],[9,9,12,6],[6,9,12,6]],[[11,10,0,0],[18,18,0,0],[15,18,0,0]],[[7,7,7,0],[12,12,12,0],[6,15,12,0]],[[6,6,6,3],[12,9,9,6],[6,12,9,6]],[[8,8,5,0],[15,12,9,0],[6,18,9,0]]];var A=[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,2,2,3,3,3,2,0];this.pretab=A,this.sfBandIndex=[new r([0,6,12,18,24,30,36,44,54,66,80,96,116,140,168,200,238,284,336,396,464,522,576],[0,4,8,12,18,24,32,42,56,74,100,132,174,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,6,12,18,24,30,36,44,54,66,80,96,114,136,162,194,232,278,332,394,464,540,576],[0,4,8,12,18,26,36,48,62,80,104,136,180,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,6,12,18,24,30,36,44,54,66,80,96,116,140,168,200,238,284,336,396,464,522,576],[0,4,8,12,18,26,36,48,62,80,104,134,174,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,4,8,12,16,20,24,30,36,44,52,62,74,90,110,134,162,196,238,288,342,418,576],[0,4,8,12,16,22,30,40,52,66,84,106,136,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,4,8,12,16,20,24,30,36,42,50,60,72,88,106,128,156,190,230,276,330,384,576],[0,4,8,12,16,22,28,38,50,64,80,100,126,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,4,8,12,16,20,24,30,36,44,54,66,82,102,126,156,194,240,296,364,448,550,576],[0,4,8,12,16,22,30,42,58,78,104,138,180,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,6,12,18,24,30,36,44,54,66,80,96,116,140,168,200,238,284,336,396,464,522,576],[0,4,8,12,18,26,36,48,62,80,104,134,174,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,6,12,18,24,30,36,44,54,66,80,96,116,140,168,200,238,284,336,396,464,522,576],[0,4,8,12,18,26,36,48,62,80,104,134,174,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,12,24,36,48,60,72,88,108,132,160,192,232,280,336,400,476,566,568,570,572,574,576],[0,8,16,24,36,52,72,96,124,160,162,164,166,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0])];var _=c(g+v+1),b=c(g),y=c(m),x=c(m);function w(e,t){var r=n.ATHformula(t,e);return r-=100,r=Math.pow(10,r/10+e.ATHlower)}function C(e){this.s=e}this.adj43=x,this.iteration_init=function(t){var n,r=t.internal_flags,a=r.l3_side;if(0==r.iteration_init_init){for(r.iteration_init_init=1,a.main_data_begin=0,function(e){for(var t=e.internal_flags.ATH.l,n=e.internal_flags.ATH.psfb21,r=e.internal_flags.ATH.s,a=e.internal_flags.ATH.psfb12,o=e.internal_flags,s=e.out_samplerate,c=0;c<d.SBMAX_l;c++){var l=o.scalefac_band.l[c],u=o.scalefac_band.l[c+1];t[c]=i.MAX_VALUE;for(var p=l;p<u;p++){var f=w(e,p*s/1152);t[c]=Math.min(t[c],f)}}for(c=0;c<d.PSFB21;c++)for(l=o.scalefac_band.psfb21[c],u=o.scalefac_band.psfb21[c+1],n[c]=i.MAX_VALUE,p=l;p<u;p++)f=w(e,p*s/1152),n[c]=Math.min(n[c],f);for(c=0;c<d.SBMAX_s;c++){for(l=o.scalefac_band.s[c],u=o.scalefac_band.s[c+1],r[c]=i.MAX_VALUE,p=l;p<u;p++)f=w(e,p*s/384),r[c]=Math.min(r[c],f);r[c]*=o.scalefac_band.s[c+1]-o.scalefac_band.s[c]}for(c=0;c<d.PSFB12;c++){for(l=o.scalefac_band.psfb12[c],u=o.scalefac_band.psfb12[c+1],a[c]=i.MAX_VALUE,p=l;p<u;p++)f=w(e,p*s/384),a[c]=Math.min(a[c],f);a[c]*=o.scalefac_band.s[13]-o.scalefac_band.s[12]}if(e.noATH){for(c=0;c<d.SBMAX_l;c++)t[c]=1e-20;for(c=0;c<d.PSFB21;c++)n[c]=1e-20;for(c=0;c<d.SBMAX_s;c++)r[c]=1e-20;for(c=0;c<d.PSFB12;c++)a[c]=1e-20}o.ATH.floor=10*Math.log10(w(e,-1))}(t),y[0]=0,n=1;n<m;n++)y[n]=Math.pow(n,4/3);for(n=0;n<m-1;n++)x[n]=n+1-Math.pow(.5*(y[n]+y[n+1]),.75);for(x[n]=.5,n=0;n<g;n++)b[n]=Math.pow(2,-.1875*(n-210));for(n=0;n<=g+v;n++)_[n]=Math.pow(2,.25*(n-210-v));var o,s,c,l;for(e.huffman_init(r),(n=t.exp_nspsytune>>2&63)>=32&&(n-=64),o=Math.pow(10,n/4/10),(n=t.exp_nspsytune>>8&63)>=32&&(n-=64),s=Math.pow(10,n/4/10),(n=t.exp_nspsytune>>14&63)>=32&&(n-=64),c=Math.pow(10,n/4/10),(n=t.exp_nspsytune>>20&63)>=32&&(n-=64),l=c*Math.pow(10,n/4/10),n=0;n<d.SBMAX_l;n++){u=n<=6?o:n<=13?s:n<=20?c:l,r.nsPsy.longfact[n]=u}for(n=0;n<d.SBMAX_s;n++){var u;u=n<=5?o:n<=10?s:n<=11?c:l,r.nsPsy.shortfact[n]=u}}},this.on_pe=function(e,n,r,a,o,i){var s,c,d=e.internal_flags,h=0,m=l(2),g=new p(h),v=t.ResvMaxBits(e,a,g,i),A=(h=g.bits)+v;for(A>f.MAX_BITS_PER_GRANULE&&(A=f.MAX_BITS_PER_GRANULE),s=0,c=0;c<d.channels_out;++c)r[c]=Math.min(f.MAX_BITS_PER_CHANNEL,h/d.channels_out),m[c]=0|r[c]*n[o][c]/700-r[c],m[c]>3*a/4&&(m[c]=3*a/4),m[c]<0&&(m[c]=0),m[c]+r[c]>f.MAX_BITS_PER_CHANNEL&&(m[c]=Math.max(0,f.MAX_BITS_PER_CHANNEL-r[c])),s+=m[c];if(s>v)for(c=0;c<d.channels_out;++c)m[c]=v*m[c]/s;for(c=0;c<d.channels_out;++c)r[c]+=m[c],v-=m[c];for(s=0,c=0;c<d.channels_out;++c)s+=r[c];if(s>f.MAX_BITS_PER_GRANULE){var _=0;for(c=0;c<d.channels_out;++c)r[c]*=f.MAX_BITS_PER_GRANULE,r[c]/=s,_+=r[c];u(_<=f.MAX_BITS_PER_GRANULE)}return A},this.reduce_side=function(e,t,n,r){u(r<=f.MAX_BITS_PER_GRANULE),u(e[0]+e[1]<=f.MAX_BITS_PER_GRANULE);var a=.33*(.5-t)/.5;a<0&&(a=0),a>.5&&(a=.5);var o=0|.5*a*(e[0]+e[1]);o>f.MAX_BITS_PER_CHANNEL-e[0]&&(o=f.MAX_BITS_PER_CHANNEL-e[0]),o<0&&(o=0),e[1]>=125&&(e[1]-o>125?(e[0]<n&&(e[0]+=o),e[1]-=o):(e[0]+=e[1]-125,e[1]=125)),(o=e[0]+e[1])>r&&(e[0]=r*e[0]/o,e[1]=r*e[1]/o),u(e[0]<=f.MAX_BITS_PER_CHANNEL),u(e[1]<=f.MAX_BITS_PER_CHANNEL),u(e[0]+e[1]<=f.MAX_BITS_PER_GRANULE)},this.athAdjust=function(e,t,n){var r=90.30873362,a=s.FAST_LOG10_X(t,10),o=e*e,i=0;return a-=n,o>1e-20&&(i=1+s.FAST_LOG10_X(o,10/r)),i<0&&(i=0),a*=i,a+=n+r-94.82444863,Math.pow(10,.1*a)},this.calc_xmin=function(e,t,n,r){var i,s=0,c=e.internal_flags,l=0,u=0,p=c.ATH,f=n.xr,h=e.VBR==o.vbr_mtrh?1:0,m=c.masking_lower;for(e.VBR!=o.vbr_mtrh&&e.VBR!=o.vbr_mt||(m=1),i=0;i<n.psy_lmax;i++){w=(x=e.VBR==o.vbr_rh||e.VBR==o.vbr_mtrh?athAdjust(p.adjust,p.l[i],p.floor):p.adjust*p.l[i])/(_=n.width[i]),C=a,M=_>>1,S=0;do{S+=E=f[l]*f[l],C+=E<w?E:w,S+=T=f[++l]*f[l],C+=T<w?T:w,l++}while(--M>0);if(S>x&&u++,i==d.SBPSY_l)C<(B=x*c.nsPsy.longfact[i])&&(C=B);if(0!=h&&(x=C),!e.ATHonly)if((k=t.en.l[i])>0)B=S*t.thm.l[i]*m/k,0!=h&&(B*=c.nsPsy.longfact[i]),x<B&&(x=B);r[s++]=0!=h?x:x*c.nsPsy.longfact[i]}var g=575;if(n.block_type!=d.SHORT_TYPE)for(var v=576;0!=v--&&BitStream.EQ(f[v],0);)g=v;n.max_nonzero_coeff=g;for(var A=n.sfb_smin;i<n.psymax;A++,i+=3){var _,b,y;for(y=e.VBR==o.vbr_rh||e.VBR==o.vbr_mtrh?athAdjust(p.adjust,p.s[A],p.floor):p.adjust*p.s[A],_=n.width[i],b=0;b<3;b++){var x,w,C,k,B,S=0,M=_>>1;w=y/_,C=a;do{var E,T;S+=E=f[l]*f[l],C+=E<w?E:w,S+=T=f[++l]*f[l],C+=T<w?T:w,l++}while(--M>0);if(S>y&&u++,A==d.SBPSY_s)C<(B=y*c.nsPsy.shortfact[A])&&(C=B);if(x=0!=h?C:y,!e.ATHonly&&!e.ATHshort)if((k=t.en.s[A][b])>0)B=S*t.thm.s[A][b]*m/k,0!=h&&(B*=c.nsPsy.shortfact[A]),x<B&&(x=B);r[s++]=0!=h?x:x*c.nsPsy.shortfact[A]}e.useTemporal&&(r[s-3]>r[s-3+1]&&(r[s-3+1]+=(r[s-3]-r[s-3+1])*c.decay),r[s-3+1]>r[s-3+2]&&(r[s-3+2]+=(r[s-3+1]-r[s-3+2])*c.decay))}return u},this.calc_noise_core=function(e,t,n,r){var a=0,o=t.s,i=e.l3_enc;if(o>e.count1)for(;0!=n--;){l=e.xr[o],o++,a+=l*l,l=e.xr[o],o++,a+=l*l}else if(o>e.big_values){var s=c(2);for(s[0]=0,s[1]=r;0!=n--;){l=Math.abs(e.xr[o])-s[i[o]],o++,a+=l*l,l=Math.abs(e.xr[o])-s[i[o]],o++,a+=l*l}}else for(;0!=n--;){var l;l=Math.abs(e.xr[o])-y[i[o]]*r,o++,a+=l*l,l=Math.abs(e.xr[o])-y[i[o]]*r,o++,a+=l*l}return t.s=o,a},this.calc_noise=function(e,t,n,r,a){var o,i,c,l=0,d=0,p=0,f=0,m=0,g=-20,v=0,b=e.scalefac,y=0;for(r.over_SSD=0,o=0;o<e.psymax;o++){var x,w=e.global_gain-(b[y++]+(0!=e.preflag?A[o]:0)<<e.scalefac_scale+1)-8*e.subblock_gain[e.window[o]],k=0;if(null!=a&&a.step[o]==w)k=a.noise[o],v+=e.width[o],n[l++]=k/t[d++],k=a.noise_log[o];else{var B,S=(u(0<=(c=w)+h.Q_MAX2&&c<h.Q_MAX),_[c+h.Q_MAX2]);if(i=e.width[o]>>1,v+e.width[o]>e.max_nonzero_coeff)i=(B=e.max_nonzero_coeff-v+1)>0?B>>1:0;var M=new C(v);k=this.calc_noise_core(e,M,i,S),v=M.s,null!=a&&(a.step[o]=w,a.noise[o]=k),k=n[l++]=k/t[d++],k=s.FAST_LOG10(Math.max(k,1e-20)),null!=a&&(a.noise_log[o]=k)}if(null!=a&&(a.global_gain=e.global_gain),m+=k,k>0)x=Math.max(0|10*k+.5,1),r.over_SSD+=x*x,p++,f+=k;g=Math.max(g,k)}return r.over_count=p,r.tot_noise=m,r.over_noise=f,r.max_noise=g,p},this.set_pinfo=function(e,t,n,r,a){var o,i,s,l,p,f=e.internal_flags,h=0==t.scalefac_scale?.5:1,m=t.scalefac,g=c(L3Side.SFBMAX),v=c(L3Side.SFBMAX),_=new CalcNoiseResult;calc_xmin(e,n,t,g),calc_noise(t,g,v,_,null);var b=0;for(i=t.sfb_lmax,t.block_type!=d.SHORT_TYPE&&0==t.mixed_block_flag&&(i=22),o=0;o<i;o++){var y=f.scalefac_band.l[o],x=(w=f.scalefac_band.l[o+1])-y;for(l=0;b<w;b++)l+=t.xr[b]*t.xr[b];l/=x,p=1e15,f.pinfo.en[r][a][o]=p*l,f.pinfo.xfsf[r][a][o]=p*g[o]*v[o]/x,n.en.l[o]>0&&!e.ATHonly?l/=n.en.l[o]:l=0,f.pinfo.thr[r][a][o]=p*Math.max(l*n.thm.l[o],f.ATH.l[o]),f.pinfo.LAMEsfb[r][a][o]=0,0!=t.preflag&&o>=11&&(f.pinfo.LAMEsfb[r][a][o]=-h*A[o]),o<d.SBPSY_l&&(u(m[o]>=0),f.pinfo.LAMEsfb[r][a][o]-=h*m[o])}if(t.block_type==d.SHORT_TYPE)for(i=o,o=t.sfb_smin;o<d.SBMAX_s;o++){y=f.scalefac_band.s[o],x=(w=f.scalefac_band.s[o+1])-y;for(var w,C=0;C<3;C++){for(l=0,s=y;s<w;s++)l+=t.xr[b]*t.xr[b],b++;l=Math.max(l/x,1e-20),p=1e15,f.pinfo.en_s[r][a][3*o+C]=p*l,f.pinfo.xfsf_s[r][a][3*o+C]=p*g[i]*v[i]/x,n.en.s[o][C]>0?l/=n.en.s[o][C]:l=0,(e.ATHonly||e.ATHshort)&&(l=0),f.pinfo.thr_s[r][a][3*o+C]=p*Math.max(l*n.thm.s[o][C],f.ATH.s[o]),f.pinfo.LAMEsfb_s[r][a][3*o+C]=-2*t.subblock_gain[C],o<d.SBPSY_s&&(f.pinfo.LAMEsfb_s[r][a][3*o+C]-=h*m[i]),i++}}f.pinfo.LAMEqss[r][a]=t.global_gain,f.pinfo.LAMEmainbits[r][a]=t.part2_3_length+t.part2_length,f.pinfo.LAMEsfbits[r][a]=t.part2_length,f.pinfo.over[r][a]=_.over_count,f.pinfo.max_noise[r][a]=10*_.max_noise,f.pinfo.over_noise[r][a]=10*_.over_noise,f.pinfo.tot_noise[r][a]=10*_.tot_noise,f.pinfo.over_SSD[r][a]=_.over_SSD}}h.Q_MAX=257,h.Q_MAX2=116,h.LARGE_BITS=1e5,h.IXMAX_VAL=8206,e.exports=h},41062:(e,t,n)=>{var r=n(51038),a=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),o=(r.new_float_n,r.new_int),i=(r.new_int_n,r.assert,n(51287));e.exports=function(){this.linprebuf=a(2*i.MAX_ORDER),this.linpre=0,this.lstepbuf=a(i.MAX_SAMPLES_PER_WINDOW+i.MAX_ORDER),this.lstep=0,this.loutbuf=a(i.MAX_SAMPLES_PER_WINDOW+i.MAX_ORDER),this.lout=0,this.rinprebuf=a(2*i.MAX_ORDER),this.rinpre=0,this.rstepbuf=a(i.MAX_SAMPLES_PER_WINDOW+i.MAX_ORDER),this.rstep=0,this.routbuf=a(i.MAX_SAMPLES_PER_WINDOW+i.MAX_ORDER),this.rout=0,this.sampleWindow=0,this.totsamp=0,this.lsum=0,this.rsum=0,this.freqindex=0,this.first=0,this.A=o(0|i.STEPS_per_dB*i.MAX_dB),this.B=o(0|i.STEPS_per_dB*i.MAX_dB)}},93060:(e,t,n)=>{var r=n(51038).assert;e.exports=function(){var e;this.setModules=function(t){e=t},this.ResvFrameBegin=function(t,n){var a,o=t.internal_flags,i=o.l3_side,s=e.getframebits(t);n.bits=(s-8*o.sideinfo_len)/o.mode_gr;var c=2048*o.mode_gr-8;t.brate>320?a=8*int(1e3*t.brate/(t.out_samplerate/1152)/8+.5):(a=11520,t.strict_ISO&&(a=8*int(32e4/(t.out_samplerate/1152)/8+.5))),o.ResvMax=a-s,o.ResvMax>c&&(o.ResvMax=c),(o.ResvMax<0||t.disable_reservoir)&&(o.ResvMax=0);var l=n.bits*o.mode_gr+Math.min(o.ResvSize,o.ResvMax);return l>a&&(l=a),r(0==o.ResvMax%8),r(o.ResvMax>=0),i.resvDrain_pre=0,null!=o.pinfo&&(o.pinfo.mean_bits=n.bits/2,o.pinfo.resvsize=o.ResvSize),l},this.ResvMaxBits=function(e,t,n,r){var a,o=e.internal_flags,i=o.ResvSize,s=o.ResvMax;0!=r&&(i+=t),0!=(1&o.substep_shaping)&&(s*=.9),n.bits=t,10*i>9*s?(a=i-9*s/10,n.bits+=a,o.substep_shaping|=128):(a=0,o.substep_shaping&=127,e.disable_reservoir||0!=(1&o.substep_shaping)||(n.bits-=.1*t));var c=i<6*o.ResvMax/10?i:6*o.ResvMax/10;return(c-=a)<0&&(c=0),c},this.ResvAdjust=function(e,t){e.ResvSize-=t.part2_3_length+t.part2_length},this.ResvFrameEnd=function(e,t){var n,a=e.l3_side;e.ResvSize+=t*e.mode_gr;var o=0;a.resvDrain_post=0,a.resvDrain_pre=0,0!=(n=e.ResvSize%8)&&(o+=n),(n=e.ResvSize-o-e.ResvMax)>0&&(r(0==n%8),r(n>=0),o+=n);var i=Math.min(8*a.main_data_begin,o)/8;a.resvDrain_pre+=8*i,o-=8*i,e.ResvSize-=8*i,a.main_data_begin-=i,a.resvDrain_post+=o,e.ResvSize-=o}}},80302:(e,t,n)=>{var r=n(51038),a=r.System,o=(r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float,r.new_float_n,r.new_int),i=(r.new_int_n,r.assert,n(60687));e.exports=function(e,t,n,r){this.l=o(1+i.SBMAX_l),this.s=o(1+i.SBMAX_s),this.psfb21=o(1+i.PSFB21),this.psfb12=o(1+i.PSFB12);var s=this.l,c=this.s;4==arguments.length&&(this.arrL=arguments[0],this.arrS=arguments[1],this.arr21=arguments[2],this.arr12=arguments[3],a.arraycopy(this.arrL,0,s,0,Math.min(this.arrL.length,this.l.length)),a.arraycopy(this.arrS,0,c,0,Math.min(this.arrS.length,this.s.length)),a.arraycopy(this.arr21,0,this.psfb21,0,Math.min(this.arr21.length,this.psfb21.length)),a.arraycopy(this.arr12,0,this.psfb12,0,Math.min(this.arr12.length,this.psfb12.length)))}},77721:e=>{function t(e,t,n,r){this.xlen=e,this.linmax=t,this.table=n,this.hlen=r}var n={t1HB:[1,1,1,0],t2HB:[1,2,1,3,1,1,3,2,0],t3HB:[3,2,1,1,1,1,3,2,0],t5HB:[1,2,6,5,3,1,4,4,7,5,7,1,6,1,1,0],t6HB:[7,3,5,1,6,2,3,2,5,4,4,1,3,3,2,0],t7HB:[1,2,10,19,16,10,3,3,7,10,5,3,11,4,13,17,8,4,12,11,18,15,11,2,7,6,9,14,3,1,6,4,5,3,2,0],t8HB:[3,4,6,18,12,5,5,1,2,16,9,3,7,3,5,14,7,3,19,17,15,13,10,4,13,5,8,11,5,1,12,4,4,1,1,0],t9HB:[7,5,9,14,15,7,6,4,5,5,6,7,7,6,8,8,8,5,15,6,9,10,5,1,11,7,9,6,4,1,14,4,6,2,6,0],t10HB:[1,2,10,23,35,30,12,17,3,3,8,12,18,21,12,7,11,9,15,21,32,40,19,6,14,13,22,34,46,23,18,7,20,19,33,47,27,22,9,3,31,22,41,26,21,20,5,3,14,13,10,11,16,6,5,1,9,8,7,8,4,4,2,0],t11HB:[3,4,10,24,34,33,21,15,5,3,4,10,32,17,11,10,11,7,13,18,30,31,20,5,25,11,19,59,27,18,12,5,35,33,31,58,30,16,7,5,28,26,32,19,17,15,8,14,14,12,9,13,14,9,4,1,11,4,6,6,6,3,2,0],t12HB:[9,6,16,33,41,39,38,26,7,5,6,9,23,16,26,11,17,7,11,14,21,30,10,7,17,10,15,12,18,28,14,5,32,13,22,19,18,16,9,5,40,17,31,29,17,13,4,2,27,12,11,15,10,7,4,1,27,12,8,12,6,3,1,0],t13HB:[1,5,14,21,34,51,46,71,42,52,68,52,67,44,43,19,3,4,12,19,31,26,44,33,31,24,32,24,31,35,22,14,15,13,23,36,59,49,77,65,29,40,30,40,27,33,42,16,22,20,37,61,56,79,73,64,43,76,56,37,26,31,25,14,35,16,60,57,97,75,114,91,54,73,55,41,48,53,23,24,58,27,50,96,76,70,93,84,77,58,79,29,74,49,41,17,47,45,78,74,115,94,90,79,69,83,71,50,59,38,36,15,72,34,56,95,92,85,91,90,86,73,77,65,51,44,43,42,43,20,30,44,55,78,72,87,78,61,46,54,37,30,20,16,53,25,41,37,44,59,54,81,66,76,57,54,37,18,39,11,35,33,31,57,42,82,72,80,47,58,55,21,22,26,38,22,53,25,23,38,70,60,51,36,55,26,34,23,27,14,9,7,34,32,28,39,49,75,30,52,48,40,52,28,18,17,9,5,45,21,34,64,56,50,49,45,31,19,12,15,10,7,6,3,48,23,20,39,36,35,53,21,16,23,13,10,6,1,4,2,16,15,17,27,25,20,29,11,17,12,16,8,1,1,0,1],t15HB:[7,12,18,53,47,76,124,108,89,123,108,119,107,81,122,63,13,5,16,27,46,36,61,51,42,70,52,83,65,41,59,36,19,17,15,24,41,34,59,48,40,64,50,78,62,80,56,33,29,28,25,43,39,63,55,93,76,59,93,72,54,75,50,29,52,22,42,40,67,57,95,79,72,57,89,69,49,66,46,27,77,37,35,66,58,52,91,74,62,48,79,63,90,62,40,38,125,32,60,56,50,92,78,65,55,87,71,51,73,51,70,30,109,53,49,94,88,75,66,122,91,73,56,42,64,44,21,25,90,43,41,77,73,63,56,92,77,66,47,67,48,53,36,20,71,34,67,60,58,49,88,76,67,106,71,54,38,39,23,15,109,53,51,47,90,82,58,57,48,72,57,41,23,27,62,9,86,42,40,37,70,64,52,43,70,55,42,25,29,18,11,11,118,68,30,55,50,46,74,65,49,39,24,16,22,13,14,7,91,44,39,38,34,63,52,45,31,52,28,19,14,8,9,3,123,60,58,53,47,43,32,22,37,24,17,12,15,10,2,1,71,37,34,30,28,20,17,26,21,16,10,6,8,6,2,0],t16HB:[1,5,14,44,74,63,110,93,172,149,138,242,225,195,376,17,3,4,12,20,35,62,53,47,83,75,68,119,201,107,207,9,15,13,23,38,67,58,103,90,161,72,127,117,110,209,206,16,45,21,39,69,64,114,99,87,158,140,252,212,199,387,365,26,75,36,68,65,115,101,179,164,155,264,246,226,395,382,362,9,66,30,59,56,102,185,173,265,142,253,232,400,388,378,445,16,111,54,52,100,184,178,160,133,257,244,228,217,385,366,715,10,98,48,91,88,165,157,148,261,248,407,397,372,380,889,884,8,85,84,81,159,156,143,260,249,427,401,392,383,727,713,708,7,154,76,73,141,131,256,245,426,406,394,384,735,359,710,352,11,139,129,67,125,247,233,229,219,393,743,737,720,885,882,439,4,243,120,118,115,227,223,396,746,742,736,721,712,706,223,436,6,202,224,222,218,216,389,386,381,364,888,443,707,440,437,1728,4,747,211,210,208,370,379,734,723,714,1735,883,877,876,3459,865,2,377,369,102,187,726,722,358,711,709,866,1734,871,3458,870,434,0,12,10,7,11,10,17,11,9,13,12,10,7,5,3,1,3],t24HB:[15,13,46,80,146,262,248,434,426,669,653,649,621,517,1032,88,14,12,21,38,71,130,122,216,209,198,327,345,319,297,279,42,47,22,41,74,68,128,120,221,207,194,182,340,315,295,541,18,81,39,75,70,134,125,116,220,204,190,178,325,311,293,271,16,147,72,69,135,127,118,112,210,200,188,352,323,306,285,540,14,263,66,129,126,119,114,214,202,192,180,341,317,301,281,262,12,249,123,121,117,113,215,206,195,185,347,330,308,291,272,520,10,435,115,111,109,211,203,196,187,353,332,313,298,283,531,381,17,427,212,208,205,201,193,186,177,169,320,303,286,268,514,377,16,335,199,197,191,189,181,174,333,321,305,289,275,521,379,371,11,668,184,183,179,175,344,331,314,304,290,277,530,383,373,366,10,652,346,171,168,164,318,309,299,287,276,263,513,375,368,362,6,648,322,316,312,307,302,292,284,269,261,512,376,370,364,359,4,620,300,296,294,288,282,273,266,515,380,374,369,365,361,357,2,1033,280,278,274,267,264,259,382,378,372,367,363,360,358,356,0,43,20,19,17,15,13,11,9,7,6,4,7,5,3,1,3],t32HB:[1,10,8,20,12,20,16,32,14,12,24,0,28,16,24,16],t33HB:[15,28,26,48,22,40,36,64,14,24,20,32,12,16,8,0],t1l:[1,4,3,5],t2l:[1,4,7,4,5,7,6,7,8],t3l:[2,3,7,4,4,7,6,7,8],t5l:[1,4,7,8,4,5,8,9,7,8,9,10,8,8,9,10],t6l:[3,4,6,8,4,4,6,7,5,6,7,8,7,7,8,9],t7l:[1,4,7,9,9,10,4,6,8,9,9,10,7,7,9,10,10,11,8,9,10,11,11,11,8,9,10,11,11,12,9,10,11,12,12,12],t8l:[2,4,7,9,9,10,4,4,6,10,10,10,7,6,8,10,10,11,9,10,10,11,11,12,9,9,10,11,12,12,10,10,11,11,13,13],t9l:[3,4,6,7,9,10,4,5,6,7,8,10,5,6,7,8,9,10,7,7,8,9,9,10,8,8,9,9,10,11,9,9,10,10,11,11],t10l:[1,4,7,9,10,10,10,11,4,6,8,9,10,11,10,10,7,8,9,10,11,12,11,11,8,9,10,11,12,12,11,12,9,10,11,12,12,12,12,12,10,11,12,12,13,13,12,13,9,10,11,12,12,12,13,13,10,10,11,12,12,13,13,13],t11l:[2,4,6,8,9,10,9,10,4,5,6,8,10,10,9,10,6,7,8,9,10,11,10,10,8,8,9,11,10,12,10,11,9,10,10,11,11,12,11,12,9,10,11,12,12,13,12,13,9,9,9,10,11,12,12,12,9,9,10,11,12,12,12,12],t12l:[4,4,6,8,9,10,10,10,4,5,6,7,9,9,10,10,6,6,7,8,9,10,9,10,7,7,8,8,9,10,10,10,8,8,9,9,10,10,10,11,9,9,10,10,10,11,10,11,9,9,9,10,10,11,11,12,10,10,10,11,11,11,11,12],t13l:[1,5,7,8,9,10,10,11,10,11,12,12,13,13,14,14,4,6,8,9,10,10,11,11,11,11,12,12,13,14,14,14,7,8,9,10,11,11,12,12,11,12,12,13,13,14,15,15,8,9,10,11,11,12,12,12,12,13,13,13,13,14,15,15,9,9,11,11,12,12,13,13,12,13,13,14,14,15,15,16,10,10,11,12,12,12,13,13,13,13,14,13,15,15,16,16,10,11,12,12,13,13,13,13,13,14,14,14,15,15,16,16,11,11,12,13,13,13,14,14,14,14,15,15,15,16,18,18,10,10,11,12,12,13,13,14,14,14,14,15,15,16,17,17,11,11,12,12,13,13,13,15,14,15,15,16,16,16,18,17,11,12,12,13,13,14,14,15,14,15,16,15,16,17,18,19,12,12,12,13,14,14,14,14,15,15,15,16,17,17,17,18,12,13,13,14,14,15,14,15,16,16,17,17,17,18,18,18,13,13,14,15,15,15,16,16,16,16,16,17,18,17,18,18,14,14,14,15,15,15,17,16,16,19,17,17,17,19,18,18,13,14,15,16,16,16,17,16,17,17,18,18,21,20,21,18],t15l:[3,5,6,8,8,9,10,10,10,11,11,12,12,12,13,14,5,5,7,8,9,9,10,10,10,11,11,12,12,12,13,13,6,7,7,8,9,9,10,10,10,11,11,12,12,13,13,13,7,8,8,9,9,10,10,11,11,11,12,12,12,13,13,13,8,8,9,9,10,10,11,11,11,11,12,12,12,13,13,13,9,9,9,10,10,10,11,11,11,11,12,12,13,13,13,14,10,9,10,10,10,11,11,11,11,12,12,12,13,13,14,14,10,10,10,11,11,11,11,12,12,12,12,12,13,13,13,14,10,10,10,11,11,11,11,12,12,12,12,13,13,14,14,14,10,10,11,11,11,11,12,12,12,13,13,13,13,14,14,14,11,11,11,11,12,12,12,12,12,13,13,13,13,14,15,14,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,15,12,12,11,12,12,12,13,13,13,13,13,13,14,14,15,15,12,12,12,12,12,13,13,13,13,14,14,14,14,14,15,15,13,13,13,13,13,13,13,13,14,14,14,14,15,15,14,15,13,13,13,13,13,13,13,14,14,14,14,14,15,15,15,15],t16_5l:[1,5,7,9,10,10,11,11,12,12,12,13,13,13,14,11,4,6,8,9,10,11,11,11,12,12,12,13,14,13,14,11,7,8,9,10,11,11,12,12,13,12,13,13,13,14,14,12,9,9,10,11,11,12,12,12,13,13,14,14,14,15,15,13,10,10,11,11,12,12,13,13,13,14,14,14,15,15,15,12,10,10,11,11,12,13,13,14,13,14,14,15,15,15,16,13,11,11,11,12,13,13,13,13,14,14,14,14,15,15,16,13,11,11,12,12,13,13,13,14,14,15,15,15,15,17,17,13,11,12,12,13,13,13,14,14,15,15,15,15,16,16,16,13,12,12,12,13,13,14,14,15,15,15,15,16,15,16,15,14,12,13,12,13,14,14,14,14,15,16,16,16,17,17,16,13,13,13,13,13,14,14,15,16,16,16,16,16,16,15,16,14,13,14,14,14,14,15,15,15,15,17,16,16,16,16,18,14,15,14,14,14,15,15,16,16,16,18,17,17,17,19,17,14,14,15,13,14,16,16,15,16,16,17,18,17,19,17,16,14,11,11,11,12,12,13,13,13,14,14,14,14,14,14,14,12],t16l:[1,5,7,9,10,10,11,11,12,12,12,13,13,13,14,10,4,6,8,9,10,11,11,11,12,12,12,13,14,13,14,10,7,8,9,10,11,11,12,12,13,12,13,13,13,14,14,11,9,9,10,11,11,12,12,12,13,13,14,14,14,15,15,12,10,10,11,11,12,12,13,13,13,14,14,14,15,15,15,11,10,10,11,11,12,13,13,14,13,14,14,15,15,15,16,12,11,11,11,12,13,13,13,13,14,14,14,14,15,15,16,12,11,11,12,12,13,13,13,14,14,15,15,15,15,17,17,12,11,12,12,13,13,13,14,14,15,15,15,15,16,16,16,12,12,12,12,13,13,14,14,15,15,15,15,16,15,16,15,13,12,13,12,13,14,14,14,14,15,16,16,16,17,17,16,12,13,13,13,13,14,14,15,16,16,16,16,16,16,15,16,13,13,14,14,14,14,15,15,15,15,17,16,16,16,16,18,13,15,14,14,14,15,15,16,16,16,18,17,17,17,19,17,13,14,15,13,14,16,16,15,16,16,17,18,17,19,17,16,13,10,10,10,11,11,12,12,12,13,13,13,13,13,13,13,10],t24l:[4,5,7,8,9,10,10,11,11,12,12,12,12,12,13,10,5,6,7,8,9,10,10,11,11,11,12,12,12,12,12,10,7,7,8,9,9,10,10,11,11,11,11,12,12,12,13,9,8,8,9,9,10,10,10,11,11,11,11,12,12,12,12,9,9,9,9,10,10,10,10,11,11,11,12,12,12,12,13,9,10,9,10,10,10,10,11,11,11,11,12,12,12,12,12,9,10,10,10,10,10,11,11,11,11,12,12,12,12,12,13,9,11,10,10,10,11,11,11,11,12,12,12,12,12,13,13,10,11,11,11,11,11,11,11,11,11,12,12,12,12,13,13,10,11,11,11,11,11,11,11,12,12,12,12,12,13,13,13,10,12,11,11,11,11,12,12,12,12,12,12,13,13,13,13,10,12,12,11,11,11,12,12,12,12,12,12,13,13,13,13,10,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,10,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,10,13,12,12,12,12,12,12,13,13,13,13,13,13,13,13,10,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,6],t32l:[1,5,5,7,5,8,7,9,5,7,7,9,7,9,9,10],t33l:[4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8]};n.ht=[new t(0,0,null,null),new t(2,0,n.t1HB,n.t1l),new t(3,0,n.t2HB,n.t2l),new t(3,0,n.t3HB,n.t3l),new t(0,0,null,null),new t(4,0,n.t5HB,n.t5l),new t(4,0,n.t6HB,n.t6l),new t(6,0,n.t7HB,n.t7l),new t(6,0,n.t8HB,n.t8l),new t(6,0,n.t9HB,n.t9l),new t(8,0,n.t10HB,n.t10l),new t(8,0,n.t11HB,n.t11l),new t(8,0,n.t12HB,n.t12l),new t(16,0,n.t13HB,n.t13l),new t(0,0,null,n.t16_5l),new t(16,0,n.t15HB,n.t15l),new t(1,1,n.t16HB,n.t16l),new t(2,3,n.t16HB,n.t16l),new t(3,7,n.t16HB,n.t16l),new t(4,15,n.t16HB,n.t16l),new t(6,63,n.t16HB,n.t16l),new t(8,255,n.t16HB,n.t16l),new t(10,1023,n.t16HB,n.t16l),new t(13,8191,n.t16HB,n.t16l),new t(4,15,n.t24HB,n.t24l),new t(5,31,n.t24HB,n.t24l),new t(6,63,n.t24HB,n.t24l),new t(7,127,n.t24HB,n.t24l),new t(8,255,n.t24HB,n.t24l),new t(9,511,n.t24HB,n.t24l),new t(11,2047,n.t24HB,n.t24l),new t(13,8191,n.t24HB,n.t24l),new t(0,0,n.t32HB,n.t32l),new t(0,0,n.t33HB,n.t33l)],n.largetbl=[65540,327685,458759,589832,655369,655370,720906,720907,786443,786444,786444,851980,851980,851980,917517,655370,262149,393222,524295,589832,655369,720906,720906,720907,786443,786443,786444,851980,917516,851980,917516,655370,458759,524295,589832,655369,720905,720906,786442,786443,851979,786443,851979,851980,851980,917516,917517,720905,589832,589832,655369,720905,720906,786442,786442,786443,851979,851979,917515,917516,917516,983052,983052,786441,655369,655369,720905,720906,786442,786442,851978,851979,851979,917515,917516,917516,983052,983052,983053,720905,655370,655369,720906,720906,786442,851978,851979,917515,851979,917515,917516,983052,983052,983052,1048588,786441,720906,720906,720906,786442,851978,851979,851979,851979,917515,917516,917516,917516,983052,983052,1048589,786441,720907,720906,786442,786442,851979,851979,851979,917515,917516,983052,983052,983052,983052,1114125,1114125,786442,720907,786443,786443,851979,851979,851979,917515,917515,983051,983052,983052,983052,1048588,1048589,1048589,786442,786443,786443,786443,851979,851979,917515,917515,983052,983052,983052,983052,1048588,983053,1048589,983053,851978,786444,851979,786443,851979,917515,917516,917516,917516,983052,1048588,1048588,1048589,1114125,1114125,1048589,786442,851980,851980,851979,851979,917515,917516,983052,1048588,1048588,1048588,1048588,1048589,1048589,983053,1048589,851978,851980,917516,917516,917516,917516,983052,983052,983052,983052,1114124,1048589,1048589,1048589,1048589,1179661,851978,983052,917516,917516,917516,983052,983052,1048588,1048588,1048589,1179661,1114125,1114125,1114125,1245197,1114125,851978,917517,983052,851980,917516,1048588,1048588,983052,1048589,1048589,1114125,1179661,1114125,1245197,1114125,1048589,851978,655369,655369,655369,720905,720905,786441,786441,786441,851977,851977,851977,851978,851978,851978,851978,655366],n.table23=[65538,262147,458759,262148,327684,458759,393222,458759,524296],n.table56=[65539,262148,458758,524296,262148,327684,524294,589831,458757,524294,589831,655368,524295,524295,589832,655369],n.bitrate_table=[[0,8,16,24,32,40,48,56,64,80,96,112,128,144,160,-1],[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],[0,8,16,24,32,40,48,56,64,-1,-1,-1,-1,-1,-1,-1]],n.samplerate_table=[[22050,24e3,16e3,-1],[44100,48e3,32e3,-1],[11025,12e3,8e3,-1]],n.scfsi_band=[0,6,11,16,21],e.exports=n},15638:(e,t,n)=>{var r=n(51038),a=r.System,o=(r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays),i=(r.new_array_n,r.new_byte,r.new_double,r.new_float,r.new_float_n,r.new_int),s=(r.new_int_n,r.assert),c=n(60687),l=n(77721),u=n(29438),d=n(70429);e.exports=function e(){var t=null;function n(e){this.bits=0|e}this.qupvt=null,this.setModules=function(e){this.qupvt=e,t=e};var r=[[0,0],[0,0],[0,0],[0,0],[0,0],[0,1],[1,1],[1,1],[1,2],[2,2],[2,3],[2,3],[3,4],[3,4],[3,4],[4,5],[4,5],[4,6],[5,6],[5,6],[5,7],[6,7],[6,7]];function p(e,t,n,r,a,o){var i=.5946/t;for(s(e>0),e>>=1;0!=e--;)a[o++]=i>n[r++]?0:1,a[o++]=i>n[r++]?0:1}function f(e,n,r,a,o,i){s(e>0);var c=(e>>=1)%2;for(e>>=1;0!=e--;){var l,u,d,p,f,h,m,g;l=r[a++]*n,u=r[a++]*n,f=0|l,d=r[a++]*n,h=0|u,p=r[a++]*n,m=0|d,l+=t.adj43[f],g=0|p,u+=t.adj43[h],o[i++]=0|l,d+=t.adj43[m],o[i++]=0|u,p+=t.adj43[g],o[i++]=0|d,o[i++]=0|p}0!=c&&(f=0|(l=r[a++]*n),h=0|(u=r[a++]*n),l+=t.adj43[f],u+=t.adj43[h],o[i++]=0|l,o[i++]=0|u)}var h=[1,2,5,7,7,10,10,13,13,13,13,13,13,13,13];function m(e,t,n,r){var a=function(e,t,n){var r=0,a=0;do{var o=e[t++],i=e[t++];r<o&&(r=o),a<i&&(a=i)}while(t<n);return r<a&&(r=a),r}(e,t,n);switch(a){case 0:return a;case 1:return function(e,t,n,r){var a=0,o=l.ht[1].hlen;do{var i=2*e[t+0]+e[t+1];t+=2,a+=o[i]}while(t<n);return r.bits+=a,1}(e,t,n,r);case 2:case 3:return function(e,t,n,r,a){var o,i,s=0,c=l.ht[r].xlen;i=2==r?l.table23:l.table56;do{var u=e[t+0]*c+e[t+1];t+=2,s+=i[u]}while(t<n);return o=65535&s,(s>>=16)>o&&(s=o,r++),a.bits+=s,r}(e,t,n,h[a-1],r);case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:return function(e,t,n,r,a){var o=0,i=0,s=0,c=l.ht[r].xlen,u=l.ht[r].hlen,d=l.ht[r+1].hlen,p=l.ht[r+2].hlen;do{var f=e[t+0]*c+e[t+1];t+=2,o+=u[f],i+=d[f],s+=p[f]}while(t<n);var h=r;return o>i&&(o=i,h++),o>s&&(o=s,h=r+2),a.bits+=o,h}(e,t,n,h[a-1],r);default:if(a>d.IXMAX_VAL)return r.bits=d.LARGE_BITS,-1;var o,i;for(a-=15,o=24;o<32&&!(l.ht[o].linmax>=a);o++);for(i=o-8;i<24&&!(l.ht[i].linmax>=a);i++);return function(e,t,n,r,a,o){var i,s=65536*l.ht[r].xlen+l.ht[a].xlen,c=0;do{var u=e[t++],d=e[t++];0!=u&&(u>14&&(u=15,c+=s),u*=16),0!=d&&(d>14&&(d=15,c+=s),u+=d),c+=l.largetbl[u]}while(t<n);return i=65535&c,(c>>=16)>i&&(c=i,r=a),o.bits+=c,r}(e,t,n,i,o,r)}}function g(e,t,r,a,o,i,s,l){for(var u=t.big_values,d=2;d<c.SBMAX_l+1;d++){var p=e.scalefac_band.l[d];if(p>=u)break;var f=o[d-2]+t.count1bits;if(r.part2_3_length<=f)break;var h=new n(f),g=m(a,p,u,h);f=h.bits,r.part2_3_length<=f||(r.assign(t),r.part2_3_length=f,r.region0_count=i[d-2],r.region1_count=d-2-i[d-2],r.table_select[0]=s[d-2],r.table_select[1]=l[d-2],r.table_select[2]=g)}}this.noquant_count_bits=function(e,t,r){var a=t.l3_enc,o=Math.min(576,t.max_nonzero_coeff+2>>1<<1);for(null!=r&&(r.sfb_count1=0);o>1&&0==(a[o-1]|a[o-2]);o-=2);t.count1=o;for(var i=0,u=0;o>3;o-=4){var d;if((2147483647&(a[o-1]|a[o-2]|a[o-3]|a[o-4]))>1)break;d=2*(2*(2*a[o-4]+a[o-3])+a[o-2])+a[o-1],i+=l.t32l[d],u+=l.t33l[d]}var p=i;if(t.count1table_select=0,i>u&&(p=u,t.count1table_select=1),t.count1bits=p,t.big_values=o,0==o)return p;if(t.block_type==c.SHORT_TYPE)(i=3*e.scalefac_band.s[3])>t.big_values&&(i=t.big_values),u=t.big_values;else if(t.block_type==c.NORM_TYPE){if(s(o<=576),i=t.region0_count=e.bv_scf[o-2],u=t.region1_count=e.bv_scf[o-1],s(i+u+2<c.SBPSY_l),u=e.scalefac_band.l[i+u+2],i=e.scalefac_band.l[i+1],u<o){var f=new n(p);t.table_select[2]=m(a,u,o,f),p=f.bits}}else t.region0_count=7,t.region1_count=c.SBMAX_l-1-7-1,(i=e.scalefac_band.l[8])>(u=o)&&(i=u);if(i=Math.min(i,o),u=Math.min(u,o),s(i>=0),s(u>=0),0<i){f=new n(p);t.table_select[0]=m(a,0,i,f),p=f.bits}if(i<u){f=new n(p);t.table_select[1]=m(a,i,u,f),p=f.bits}if(2==e.use_best_huffman&&(t.part2_3_length=p,best_huffman_divide(e,t),p=t.part2_3_length),null!=r&&t.block_type==c.NORM_TYPE){for(var h=0;e.scalefac_band.l[h]<t.big_values;)h++;r.sfb_count1=h}return p},this.count_bits=function(e,n,r,a){var i=r.l3_enc,l=d.IXMAX_VAL/t.IPOW20(r.global_gain);if(r.xrpow_max>l)return d.LARGE_BITS;if(function(e,n,r,a,i){var l,u,d,h=0,m=0,g=0,v=0,A=n,_=0,b=A,y=0,x=e,w=0;for(d=null!=i&&a.global_gain==i.global_gain,u=a.block_type==c.SHORT_TYPE?38:21,l=0;l<=u;l++){var C=-1;if((d||a.block_type==c.NORM_TYPE)&&(C=a.global_gain-(a.scalefac[l]+(0!=a.preflag?t.pretab[l]:0)<<a.scalefac_scale+1)-8*a.subblock_gain[a.window[l]]),s(a.width[l]>=0),d&&i.step[l]==C)0!=m&&(f(m,r,x,w,b,y),m=0),0!=g&&(p(g,r,x,w,b,y),g=0);else{var k,B=a.width[l];if(h+a.width[l]>a.max_nonzero_coeff&&(k=a.max_nonzero_coeff-h+1,o.fill(n,a.max_nonzero_coeff,576,0),(B=k)<0&&(B=0),l=u+1),0==m&&0==g&&(b=A,y=_,x=e,w=v),null!=i&&i.sfb_count1>0&&l>=i.sfb_count1&&i.step[l]>0&&C>=i.step[l]?(0!=m&&(f(m,r,x,w,b,y),m=0,b=A,y=_,x=e,w=v),g+=B):(0!=g&&(p(g,r,x,w,b,y),g=0,b=A,y=_,x=e,w=v),m+=B),B<=0){0!=g&&(p(g,r,x,w,b,y),g=0),0!=m&&(f(m,r,x,w,b,y),m=0);break}}l<=u&&(_+=a.width[l],v+=a.width[l],h+=a.width[l])}0!=m&&(f(m,r,x,w,b,y),m=0),0!=g&&(p(g,r,x,w,b,y),g=0)}(n,i,t.IPOW20(r.global_gain),r,a),0!=(2&e.substep_shaping))for(var u=0,h=r.global_gain+r.scalefac_scale,m=.634521682242439/t.IPOW20(h),g=0;g<r.sfbmax;g++){var v,A=r.width[g];if(s(A>=0),0==e.pseudohalf[g])u+=A;else for(v=u,u+=A;v<u;++v)i[v]=n[v]>=m?i[v]:0}return this.noquant_count_bits(e,r,a)},this.best_huffman_divide=function(e,t){var r=new u,a=t.l3_enc,o=i(23),p=i(23),f=i(23),h=i(23);if(t.block_type!=c.SHORT_TYPE||1!=e.mode_gr){r.assign(t),t.block_type==c.NORM_TYPE&&(!function(e,t,r,a,o,i,s){for(var c=t.big_values,l=0;l<=22;l++)a[l]=d.LARGE_BITS;for(l=0;l<16;l++){var u=e.scalefac_band.l[l+1];if(u>=c)break;var p=0,f=new n(p),h=m(r,0,u,f);p=f.bits;for(var g=0;g<8;g++){var v=e.scalefac_band.l[l+g+2];if(v>=c)break;var A=p,_=m(r,u,v,f=new n(A));A=f.bits,a[l+g]>A&&(a[l+g]=A,o[l+g]=l,i[l+g]=h,s[l+g]=_)}}}(e,t,a,o,p,f,h),g(e,r,t,a,o,p,f,h));var v=r.big_values;if(!(0==v||(a[v-2]|a[v-1])>1||(v=t.count1+2)>576)){r.assign(t),r.count1=v;var A=0,_=0;for(s(v<=576);v>r.big_values;v-=4){var b=2*(2*(2*a[v-4]+a[v-3])+a[v-2])+a[v-1];A+=l.t32l[b],_+=l.t33l[b]}if(r.big_values=v,r.count1table_select=0,A>_&&(A=_,r.count1table_select=1),r.count1bits=A,r.block_type==c.NORM_TYPE)g(e,r,t,a,o,p,f,h);else{if(r.part2_3_length=A,(A=e.scalefac_band.l[8])>v&&(A=v),A>0){var y=new n(r.part2_3_length);r.table_select[0]=m(a,0,A,y),r.part2_3_length=y.bits}if(v>A){y=new n(r.part2_3_length);r.table_select[1]=m(a,A,v,y),r.part2_3_length=y.bits}t.part2_3_length>r.part2_3_length&&t.assign(r)}}}};var v=[1,1,1,1,8,2,2,2,4,4,4,8,8,8,16,16],A=[1,2,4,8,1,2,4,8,2,4,8,2,4,8,4,8],_=[0,0,0,0,3,1,1,1,2,2,2,3,3,3,4,4],b=[0,1,2,3,0,1,2,3,1,2,3,1,2,3,2,3];e.slen1_tab=_,e.slen2_tab=b,this.best_scalefac_store=function(e,n,r,a){var o,i,u,d,p=a.tt[n][r],f=0;for(u=0,o=0;o<p.sfbmax;o++){var h=p.width[o];for(s(h>=0),u+=h,d=-h;d<0&&0==p.l3_enc[d+u];d++);0==d&&(p.scalefac[o]=f=-2)}if(0==p.scalefac_scale&&0==p.preflag){var m=0;for(o=0;o<p.sfbmax;o++)p.scalefac[o]>0&&(m|=p.scalefac[o]);if(0==(1&m)&&0!=m){for(o=0;o<p.sfbmax;o++)p.scalefac[o]>0&&(p.scalefac[o]>>=1);p.scalefac_scale=f=1}}if(0==p.preflag&&p.block_type!=c.SHORT_TYPE&&2==e.mode_gr){for(o=11;o<c.SBPSY_l&&!(p.scalefac[o]<t.pretab[o]&&-2!=p.scalefac[o]);o++);if(o==c.SBPSY_l){for(o=11;o<c.SBPSY_l;o++)p.scalefac[o]>0&&(p.scalefac[o]-=t.pretab[o]);p.preflag=f=1}}for(i=0;i<4;i++)a.scfsi[r][i]=0;for(2==e.mode_gr&&1==n&&a.tt[0][r].block_type!=c.SHORT_TYPE&&a.tt[1][r].block_type!=c.SHORT_TYPE&&(!function(e,t){for(var n,r=t.tt[1][e],a=t.tt[0][e],o=0;o<l.scfsi_band.length-1;o++){for(n=l.scfsi_band[o];n<l.scfsi_band[o+1]&&!(a.scalefac[n]!=r.scalefac[n]&&r.scalefac[n]>=0);n++);if(n==l.scfsi_band[o+1]){for(n=l.scfsi_band[o];n<l.scfsi_band[o+1];n++)r.scalefac[n]=-1;t.scfsi[e][o]=1}}var i=0,s=0;for(n=0;n<11;n++)-1!=r.scalefac[n]&&(s++,i<r.scalefac[n]&&(i=r.scalefac[n]));for(var u=0,d=0;n<c.SBPSY_l;n++)-1!=r.scalefac[n]&&(d++,u<r.scalefac[n]&&(u=r.scalefac[n]));for(o=0;o<16;o++)if(i<v[o]&&u<A[o]){var p=_[o]*s+b[o]*d;r.part2_length>p&&(r.part2_length=p,r.scalefac_compress=o)}}(r,a),f=0),o=0;o<p.sfbmax;o++)-2==p.scalefac[o]&&(p.scalefac[o]=0);0!=f&&(2==e.mode_gr?this.scale_bitcount(p):this.scale_bitcount_lsf(e,p))};var y=[0,18,36,54,54,36,54,72,54,72,90,72,90,108,108,126],x=[0,18,36,54,51,35,53,71,52,70,88,69,87,105,104,122],w=[0,10,20,30,33,21,31,41,32,42,52,43,53,63,64,74];this.scale_bitcount=function(e){var n,r,a,o=0,i=0,l=e.scalefac;if(s(function(e,t){for(var n=0;n<t;++n)if(e[n]<0)return!1;return!0}(l,e.sfbmax)),e.block_type==c.SHORT_TYPE)a=y,0!=e.mixed_block_flag&&(a=x);else if(a=w,0==e.preflag){for(r=11;r<c.SBPSY_l&&!(l[r]<t.pretab[r]);r++);if(r==c.SBPSY_l)for(e.preflag=1,r=11;r<c.SBPSY_l;r++)l[r]-=t.pretab[r]}for(r=0;r<e.sfbdivide;r++)o<l[r]&&(o=l[r]);for(;r<e.sfbmax;r++)i<l[r]&&(i=l[r]);for(e.part2_length=d.LARGE_BITS,n=0;n<16;n++)o<v[n]&&i<A[n]&&e.part2_length>a[n]&&(e.part2_length=a[n],e.scalefac_compress=n);return e.part2_length==d.LARGE_BITS};var C=[[15,15,7,7],[15,15,7,0],[7,3,0,0],[15,31,31,0],[7,7,7,0],[3,3,0,0]];this.scale_bitcount_lsf=function(e,n){var r,o,l,u,d,p,f,h,m=i(4),g=n.scalefac;for(r=0!=n.preflag?2:0,f=0;f<4;f++)m[f]=0;if(n.block_type==c.SHORT_TYPE){o=1;var v=t.nr_of_sfb_block[r][o];for(h=0,l=0;l<4;l++)for(u=v[l]/3,f=0;f<u;f++,h++)for(d=0;d<3;d++)g[3*h+d]>m[l]&&(m[l]=g[3*h+d])}else{o=0;v=t.nr_of_sfb_block[r][o];for(h=0,l=0;l<4;l++)for(u=v[l],f=0;f<u;f++,h++)g[h]>m[l]&&(m[l]=g[h])}for(p=!1,l=0;l<4;l++)m[l]>C[r][l]&&(p=!0);if(!p){var A,_,b,y;for(n.sfb_partition_table=t.nr_of_sfb_block[r][o],l=0;l<4;l++)n.slen[l]=k[m[l]];switch(A=n.slen[0],_=n.slen[1],b=n.slen[2],y=n.slen[3],r){case 0:n.scalefac_compress=(5*A+_<<4)+(b<<2)+y;break;case 1:n.scalefac_compress=400+(5*A+_<<2)+b;break;case 2:n.scalefac_compress=500+3*A+_;break;default:a.err.printf("intensity stereo not implemented yet\n")}}if(!p)for(s(null!=n.sfb_partition_table),n.part2_length=0,l=0;l<4;l++)n.part2_length+=n.slen[l]*n.sfb_partition_table[l];return p};var k=[0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4];this.huffman_init=function(e){for(var t=2;t<=576;t+=2){for(var n,a=0;e.scalefac_band.l[++a]<t;);for(n=r[a][0];e.scalefac_band.l[n+1]>t;)n--;for(n<0&&(n=r[a][0]),e.bv_scf[t-2]=n,n=r[a][1];e.scalefac_band.l[n+e.bv_scf[t-2]+2]>t;)n--;n<0&&(n=r[a][1]),e.bv_scf[t-1]=n}}}},77095:e=>{e.exports=function(){this.setModules=function(e,t){e,t}}},93362:e=>{e.exports=function(){this.sum=0,this.seen=0,this.want=0,this.pos=0,this.size=0,this.bag=null,this.nVbrNumFrames=0,this.nBytesWritten=0,this.TotalFrameSize=0}},53398:(e,t,n)=>{var r=n(51038),a=r.System,o=r.VbrMode,i=(r.Float,r.ShortBlock),s=(r.Util,r.Arrays),c=(r.new_array_n,r.new_byte),l=(r.new_double,r.new_float,r.new_float_n,r.new_int,r.new_int_n,r.assert);function u(){var e,t,n;this.setModules=function(r,a,o){e=r,t=a,n=o};var r=u.NUMTOCENTRIES,d=u.MAXFRAMESIZE,p=r+4+4+4+4+4+9+1+1+8+1+1+3+1+1+2+4+2+2,f="Xing",h="Info",m=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];function g(e,t){var n=255&e[t+0];return n<<=8,n|=255&e[t+1],n<<=8,n|=255&e[t+2],n<<=8,n|=255&e[t+3]}function v(e,t,n){e[t+0]=255&n>>24,e[t+1]=255&n>>16,e[t+2]=255&n>>8,e[t+3]=255&n}function A(e,t,n){e[t+0]=255&n>>8,e[t+1]=255&n}function _(e,t,n){return 255&(e<<t|n&~(-1<<t))}function b(t,n){var r=t.internal_flags;n[0]=_(n[0],8,255),n[1]=_(n[1],3,7),n[1]=_(n[1],1,t.out_samplerate<16e3?0:1),n[1]=_(n[1],1,t.version),n[1]=_(n[1],2,1),n[1]=_(n[1],1,t.error_protection?0:1),n[2]=_(n[2],4,r.bitrate_index),n[2]=_(n[2],2,r.samplerate_index),n[2]=_(n[2],1,0),n[2]=_(n[2],1,t.extension),n[3]=_(n[3],2,t.mode.ordinal()),n[3]=_(n[3],2,r.mode_ext),n[3]=_(n[3],1,t.copyright),n[3]=_(n[3],1,t.original),n[3]=_(n[3],2,t.emphasis),n[0]=255;var a,i,s=241&n[1];a=1==t.version?128:t.out_samplerate<16e3?32:64,t.VBR==o.vbr_off&&(a=t.brate),i=t.free_format?0:255&16*e.BitrateIndex(a,t.version,t.out_samplerate),1==t.version?(n[1]=255&(10|s),s=13&n[2],n[2]=255&(i|s)):(n[1]=255&(2|s),s=13&n[2],n[2]=255&(i|s))}function y(e,t){return t=t>>8^m[255&(t^e)]}this.addVbrFrame=function(e){var t=e.internal_flags,n=Tables.bitrate_table[e.version][t.bitrate_index];l(null!=t.VBR_seek_table.bag),function(e,t){if(e.nVbrNumFrames++,e.sum+=t,e.seen++,!(e.seen<e.want)&&(e.pos<e.size&&(e.bag[e.pos]=e.sum,e.pos++,e.seen=0),e.pos==e.size)){for(var n=1;n<e.size;n+=2)e.bag[n/2]=e.bag[n];e.want*=2,e.pos/=2}}(t.VBR_seek_table,n)},this.getVbrTag=function(e){var t=new VBRTagData,n=0;t.flags=0;var a=e[n+1]>>3&1,o=e[n+2]>>2&3,i=e[n+3]>>6&3,s=e[n+2]>>4&15;if(s=Tables.bitrate_table[a][s],e[n+1]>>4==14?t.samprate=Tables.samplerate_table[2][o]:t.samprate=Tables.samplerate_table[a][o],!function(e,t){return new String(e,t,f.length(),null).equals(f)||new String(e,t,h.length(),null).equals(h)}(e,n+=0!=a?3!=i?36:21:3!=i?21:13))return null;n+=4,t.hId=a;var c=t.flags=g(e,n);if(n+=4,0!=(1&c)&&(t.frames=g(e,n),n+=4),0!=(2&c)&&(t.bytes=g(e,n),n+=4),0!=(4&c)){if(null!=t.toc)for(var l=0;l<r;l++)t.toc[l]=e[n+l];n+=r}t.vbrScale=-1,0!=(8&c)&&(t.vbrScale=g(e,n),n+=4),t.headersize=72e3*(a+1)*s/t.samprate;var u=e[(n+=21)+0]<<4;u+=e[n+1]>>4;var d=(15&e[n+1])<<8;return(u<0||u>3e3)&&(u=-1),((d+=255&e[n+2])<0||d>3e3)&&(d=-1),t.encDelay=u,t.encPadding=d,t},this.InitVbrTag=function(e){var n,r=e.internal_flags;n=1==e.version?128:e.out_samplerate<16e3?32:64,e.VBR==o.vbr_off&&(n=e.brate);var a=72e3*(e.version+1)*n/e.out_samplerate,i=r.sideinfo_len+p;if(r.VBR_seek_table.TotalFrameSize=a,a<i||a>d)e.bWriteVbrTag=!1;else{r.VBR_seek_table.nVbrNumFrames=0,r.VBR_seek_table.nBytesWritten=0,r.VBR_seek_table.sum=0,r.VBR_seek_table.seen=0,r.VBR_seek_table.want=1,r.VBR_seek_table.pos=0,null==r.VBR_seek_table.bag&&(r.VBR_seek_table.bag=new int[400],r.VBR_seek_table.size=400);var s=c(d);b(e,s);for(var l=r.VBR_seek_table.TotalFrameSize,u=0;u<l;++u)t.add_dummy_byte(e,255&s[u],1)}},this.updateMusicCRC=function(e,t,n,r){for(var a=0;a<r;++a)e[0]=y(t[n+a],e[0])},this.getLameTagFrame=function(e,l){var u=e.internal_flags;if(!e.bWriteVbrTag)return 0;if(u.Class_ID!=Lame.LAME_ID)return 0;if(u.VBR_seek_table.pos<=0)return 0;if(l.length<u.VBR_seek_table.TotalFrameSize)return u.VBR_seek_table.TotalFrameSize;s.fill(l,0,u.VBR_seek_table.TotalFrameSize,0),b(e,l);var d=c(r);if(e.free_format)for(var p=1;p<r;++p)d[p]=255&255*p/100;else!function(e,t){if(!(e.pos<=0))for(var n=1;n<r;++n){var a=n/r,o=0|Math.floor(a*e.pos);o>e.pos-1&&(o=e.pos-1);var i=0|256*e.bag[o]/e.sum;i>255&&(i=255),t[n]=255&i}}(u.VBR_seek_table,d);var m=u.sideinfo_len;e.error_protection&&(m-=2),e.VBR==o.vbr_off?(l[m++]=255&h.charAt(0),l[m++]=255&h.charAt(1),l[m++]=255&h.charAt(2),l[m++]=255&h.charAt(3)):(l[m++]=255&f.charAt(0),l[m++]=255&f.charAt(1),l[m++]=255&f.charAt(2),l[m++]=255&f.charAt(3)),v(l,m,15),v(l,m+=4,u.VBR_seek_table.nVbrNumFrames),m+=4;var g=u.VBR_seek_table.nBytesWritten+u.VBR_seek_table.TotalFrameSize;v(l,m,0|g),m+=4,a.arraycopy(d,0,l,m,d.length),m+=d.length,e.error_protection&&t.CRC_writeheader(u,l);var _=0;for(p=0;p<m;p++)_=y(l[p],_);return m+=function(e,t,r,a,o){var s,c,l,u,d,p=e.internal_flags,f=0,h=e.encoder_delay,m=e.encoder_padding,g=100-10*e.VBR_q-e.quality,_=n.getLameVeryShortVersion(),b=[1,5,3,2,4,0,3],x=0|(e.lowpassfreq/100+.5>255?255:e.lowpassfreq/100+.5),w=0,C=0,k=e.internal_flags.noise_shaping,B=0,S=0,M=0,E=0!=(1&e.exp_nspsytune),T=0!=(2&e.exp_nspsytune),R=!1,L=!1,O=e.internal_flags.nogap_total,j=e.internal_flags.nogap_current,I=e.ATHtype;switch(e.VBR){case vbr_abr:d=e.VBR_mean_bitrate_kbps;break;case vbr_off:d=e.brate;break;default:d=e.VBR_min_bitrate_kbps}switch(s=0+(e.VBR.ordinal()<b.length?b[e.VBR.ordinal()]:0),p.findReplayGain&&(p.RadioGain>510&&(p.RadioGain=510),p.RadioGain<-510&&(p.RadioGain=-510),C=8192,C|=3072,p.RadioGain>=0?C|=p.RadioGain:(C|=512,C|=-p.RadioGain)),p.findPeakSample&&(w=Math.abs(0|p.PeakSample/32767*Math.pow(2,23)+.5)),-1!=O&&(j>0&&(L=!0),j<O-1&&(R=!0)),u=I+((E?1:0)<<4)+((T?1:0)<<5)+((R?1:0)<<6)+((L?1:0)<<7),g<0&&(g=0),e.mode){case MONO:B=0;break;case STEREO:B=1;break;case DUAL_CHANNEL:B=2;break;case JOINT_STEREO:B=e.force_ms?4:3;break;case NOT_SET:default:B=7}M=e.in_samplerate<=32e3?0:48e3==e.in_samplerate?2:e.in_samplerate>48e3?3:1,(e.short_blocks==i.short_block_forced||e.short_blocks==i.short_block_dispensed||-1==e.lowpassfreq&&-1==e.highpassfreq||e.scale_left<e.scale_right||e.scale_left>e.scale_right||e.disable_reservoir&&e.brate<320||e.noATH||e.ATHonly||0==I||e.in_samplerate<=32e3)&&(S=1),c=k+(B<<2)+(S<<5)+(M<<6),l=p.nMusicCRC,v(r,a+f,g),f+=4;for(var D=0;D<9;D++)r[a+f+D]=255&_.charAt(D);r[a+(f+=9)]=255&s,r[a+ ++f]=255&x,v(r,a+ ++f,w),A(r,a+(f+=4),C),A(r,a+(f+=2),0),r[a+(f+=2)]=255&u,r[a+ ++f]=d>=255?255:255&d,r[a+ ++f]=255&h>>4,r[a+f+1]=255&(h<<4)+(m>>8),r[a+f+2]=255&m,r[a+(f+=3)]=255&c,f++,r[a+f++]=0,A(r,a+f,e.preset),v(r,a+(f+=2),t),A(r,a+(f+=4),l),f+=2;for(var P=0;P<f;P++)o=y(r[a+P],o);return A(r,a+f,o),f+2}(e,g,l,m,_),u.VBR_seek_table.TotalFrameSize},this.putVbrTag=function(e,t){if(e.internal_flags.VBR_seek_table.pos<=0)return-1;if(t.seek(t.length()),0==t.length())return-1;var n=function(e){e.seek(0);var t=c(10);return e.readFully(t),new String(t,"ISO-8859-1").startsWith("ID3")?0:((127&t[6])<<21|(127&t[7])<<14|(127&t[8])<<7|127&t[9])+t.length}(t);t.seek(n);var r=c(d),a=getLameTagFrame(e,r);return a>r.length?-1:(a<1||t.write(r,0,a),0)}}u.NUMTOCENTRIES=100,u.MAXFRAMESIZE=2880,e.exports=u},2367:e=>{e.exports=function(){this.getLameVersion=function(){return"3.98.4"},this.getLameShortVersion=function(){return"3.98.4"},this.getLameVeryShortVersion=function(){return"LAME3.98r"},this.getPsyVersion=function(){return"0.93"},this.getLameUrl=function(){return"http://www.mp3dev.org/"},this.getLameOsBitness=function(){return"32bits"}}},51038:e=>{function t(e){return new Int16Array(e)}function n(e){return new Int32Array(e)}function r(e){return new Float32Array(e)}var a={fill:function(e,t,n,r){if(2==arguments.length)for(var a=0;a<e.length;a++)e[a]=arguments[1];else for(a=t;a<n;a++)e[a]=r}},o={arraycopy:function(e,t,n,r,a){for(var o=t+a;t<o;)n[r++]=e[t++]},out:{}};o.out.println=function(e){console.log(e)},o.out.printf=function(){console.log.apply(console,arguments)};var i={};function s(e){this.ordinal=e}i.SQRT2=1.4142135623730951,i.FAST_LOG10=function(e){return Math.log10(e)},i.FAST_LOG10_X=function(e,t){return Math.log10(e)*t},s.short_block_allowed=new s(0),s.short_block_coupled=new s(1),s.short_block_dispensed=new s(2),s.short_block_forced=new s(3);var c={};function l(e){this.ordinal=e}c.MAX_VALUE=34028235e31,l.vbr_off=new l(0),l.vbr_mt=new l(1),l.vbr_rh=new l(2),l.vbr_abr=new l(3),l.vbr_mtrh=new l(4),l.vbr_default=l.vbr_mtrh;e.exports={System:o,VbrMode:l,Float:c,ShortBlock:s,Util:i,Arrays:a,new_array_n:function e(t){if(1==t.length)return new Array(t[0]);var n=t[0];t=t.slice(1);for(var r=[],a=0;a<n;a++)r.push(e(t));return r},new_byte:function(e){return new Int8Array(e)},new_double:function(e){return new Float64Array(e)},new_float:r,new_float_n:function e(t){if(1==t.length)return r(t[0]);var n=t[0];t=t.slice(1);for(var a=[],o=0;o<n;o++)a.push(e(t));return a},new_int:n,new_int_n:function e(t){if(1==t.length)return n(t[0]);var r=t[0];t=t.slice(1);for(var a=[],o=0;o<r;o++)a.push(e(t));return a},new_short:t,new_short_n:function e(n){if(1==n.length)return t(n[0]);var r=n[0];n=n.slice(1);for(var a=[],o=0;o<r;o++)a.push(e(n));return a},assert:function(e){}}},75644:(e,t,n)=>{var r=n(51038),a=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte),o=(r.new_double,r.new_float,r.new_float_n,r.new_int,r.new_int_n,r.assert),i=n(64566),s=n(79457),c=n(51287),l=n(70429),u=n(19833),d=n(15638),p=n(93060),f=n(88231),h=n(3724),m=(n(60687),n(2367)),g=n(53398);function v(){this.setModules=function(e,t){e,t}}function A(){this.setModules=function(e,t,n){e,t,n}}function _(){}function b(){this.setModules=function(e,t){e,t}}function y(){this.dataOffset=0,this.dataLen=0,this.channels=0,this.sampleRate=0}function x(e){return e.charCodeAt(0)<<24|e.charCodeAt(1)<<16|e.charCodeAt(2)<<8|e.charCodeAt(3)}y.RIFF=x("RIFF"),y.WAVE=x("WAVE"),y.fmt_=x("fmt "),y.data=x("data"),y.readHeader=function(e){var t=new y,n=e.getUint32(0,!1);if(y.RIFF==n){e.getUint32(4,!0);if(y.WAVE==e.getUint32(8,!1)&&y.fmt_==e.getUint32(12,!1)){var r=e.getUint32(16,!0),a=20;switch(r){case 16:case 18:t.channels=e.getUint16(a+2,!0),t.sampleRate=e.getUint32(a+4,!0);break;default:throw"extended fmt chunk not implemented"}a+=r;for(var o=y.data,i=0;o!=n&&(n=e.getUint32(a,!1),i=e.getUint32(a+4,!0),o!=n);)a+=i+8;return t.dataLen=i,t.dataOffset=a+8,t}}},e.exports.Mp3Encoder=function(e,t,n){3!=arguments.length&&(console.error("WARN: Mp3Encoder(channels, samplerate, kbps) not specified"),e=1,t=44100,n=128);var r=new i,y=new v,x=new c,w=new h,C=new s,k=new l,B=new u,S=new g,M=new m,E=new b,T=new p,R=new d,L=new A,O=new _;r.setModules(x,w,C,k,B,S,M,E,O),w.setModules(x,O,M,S),E.setModules(w,M),C.setModules(r),B.setModules(w,T,k,R),k.setModules(R,T,r.enc.psy),T.setModules(w),R.setModules(k),S.setModules(r,w,M),y.setModules(L,O),L.setModules(M,E,C);var j=r.lame_init();j.num_channels=e,j.in_samplerate=t,j.brate=n,j.mode=f.STEREO,j.quality=3,j.bWriteVbrTag=!1,j.disable_reservoir=!0,j.write_id3tag_automatic=!1;var I=r.lame_init_params(j);o(0==I);var D=1152,P=0|1.25*D+7200,N=a(P);this.encodeBuffer=function(t,n){1==e&&(n=t),o(t.length==n.length),t.length>D&&(D=t.length,N=a(P=0|1.25*D+7200));var i=r.lame_encode_buffer(j,t,n,t.length,N,0,P);return new Int8Array(N.subarray(0,i))},this.flush=function(){var e=r.lame_encode_flush(j,N,0,P);return new Int8Array(N.subarray(0,e))}},e.exports.WavHeader=y},59794:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(27897),a=n.n(r),o=n(1519),i=n.n(o)()(a());i.push([e.id,'.vac-fade-spinner-enter{opacity:0}.vac-fade-spinner-enter-active{transition:opacity .8s}.vac-fade-spinner-leave-active{opacity:0;transition:opacity .2s}.vac-fade-image-enter{opacity:0}.vac-fade-image-enter-active{transition:opacity 1s}.vac-fade-image-leave-active{opacity:0;transition:opacity .5s}.vac-fade-message-enter{opacity:0}.vac-fade-message-enter-active{transition:opacity .5s}.vac-fade-message-leave-active{opacity:0;transition:opacity .2s}.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{opacity:0;transform:translateX(10px)}.vac-slide-right-enter,.vac-slide-right-leave-to{opacity:0;transform:translateX(-10px)}.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{opacity:0;transform:translateY(10px)}.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{background:var(--chat-dropdown-bg-color);border-radius:4px;cursor:pointer;display:block;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%;line-height:30px;min-height:30px;padding:5px 16px;position:relative;white-space:nowrap}.vac-menu-options{border-radius:4px;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);color:var(--chat-color);contain:content;display:inline-block;font-size:14px;min-width:150px;overflow-x:hidden;overflow-y:auto;position:absolute;right:10px;top:20px;z-index:9999}.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{align-items:center;display:flex;height:100%}.vac-vertical-center .vac-vertical-container{text-align:center;width:100%}.vac-svg-button{cursor:pointer;display:flex;max-height:30px;transition:all .2s}.vac-svg-button:hover{opacity:.7;transform:scale(1.1)}.vac-avatar{background-color:#ddd;background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:50%;height:42px;margin-right:15px;min-height:42px;min-width:42px;width:42px}.vac-badge-counter{align-items:center;border-radius:50%;display:flex;font-size:11px;font-weight:500;height:13px;justify-content:center;min-width:13px;padding:3px;width:auto}.vac-text-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.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{color:var(--chat-markdown-color);display:inline-block;margin:2px 0;padding:2px 3px}.vac-text-inline-code,.vac-text-multiline-code{background:var(--chat-markdown-bg);border:1px solid var(--chat-markdown-border);border-radius:3px;font-size:12px}.vac-text-multiline-code{color:var(--chat-markdown-color-multi);display:block;margin:4px 0;padding:7px}.vac-text-tag{color:var(--chat-message-color-tag);cursor:pointer}.vac-card-window{-webkit-tap-highlight-color:transparent;background:var(--chat-content-bg-color);border:var(--chat-container-border);border-radius:var(--chat-container-border-radius);box-shadow:var(--chat-container-box-shadow);color:var(--chat-color);display:block;max-width:100%;overflow-wrap:break-word;position:relative;white-space:normal;width:100%}.vac-card-window *{font-family:inherit}.vac-card-window a{color:#0d579c;font-weight:500}.vac-card-window .vac-chat-container{display:flex;height:100%}.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}.vac-col-messages{display:flex;flex:1;flex-flow:column;height:100%;overflow:hidden;position:relative}.vac-col-messages .vac-container-center{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vac-col-messages .vac-room-empty{color:#9ca6af;font-size:14px;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{-webkit-overflow-scrolling:touch;background:var(--chat-content-bg-color);flex:1;margin-right:1px;margin-top:60px;overflow-y:auto}.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{color:var(--chat-message-color-started);font-size:14px;font-style:italic;margin-bottom:20px;margin-top:30px;text-align:center}.vac-col-messages .vac-infinite-loading{height:68px}.vac-col-messages .vac-icon-scroll{background:var(--chat-bg-scroll-icon);border-radius:50%;bottom:80px;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);cursor:pointer;display:flex;padding:8px;position:absolute;right:20px;z-index:10}.vac-col-messages .vac-icon-scroll svg{height:25px;width:25px}.vac-col-messages .vac-messages-count{background-color:var(--chat-message-bg-color-scroll-counter);color:var(--chat-message-color-scroll-counter);left:11px;position:absolute;top:-8px}.vac-col-messages .vac-room-footer{border-bottom-right-radius:4px;width:100%;z-index:10}.vac-col-messages .vac-box-footer{background:var(--chat-footer-bg-color);display:flex;padding:10px 8px;position:relative}.vac-col-messages .vac-textarea{background:var(--chat-bg-color-input);border:var(--chat-border-style-input);border-radius:20px;box-sizing:content-box;caret-color:var(--chat-color-caret);color:var(--chat-color);font-size:16px;height:20px;line-height:20px;outline:0;overflow:hidden;padding:12px 16px;resize:none;width:100%}.vac-col-messages .vac-textarea::-moz-placeholder{color:var(--chat-color-placeholder);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vac-col-messages .vac-textarea:-ms-input-placeholder{color:var(--chat-color-placeholder);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vac-col-messages .vac-textarea::placeholder{color:var(--chat-color-placeholder);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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{align-items:center;display:flex}.vac-col-messages .vac-icon-textarea .vac-wrapper,.vac-col-messages .vac-icon-textarea svg,.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{margin-left:5px}.vac-col-messages .vac-icon-textarea-left{align-items:center;display:flex;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{-webkit-animation:vac-scaling .8s ease-in-out infinite alternate;animation:vac-scaling .8s ease-in-out infinite alternate;background-color:var(--chat-message-bg-color-audio-record);border-radius:50%;height:15px;width:15px}@-webkit-keyframes vac-scaling{0%{opacity:.4;transform:scale(1)}to{opacity:1;transform:scale(1.1)}}@keyframes vac-scaling{0%{opacity:.4;transform:scale(1)}to{opacity:1;transform:scale(1.1)}}.vac-col-messages .vac-icon-textarea-left .vac-dot-audio-record-time{color:var(--chat-color);font-size:16px;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-left:12px;margin-right:3px}.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{left:16px;max-width:25%;position:absolute;top:18px}.vac-col-messages .vac-media-file{display:flex;flex-direction:column;justify-content:center;min-height:30px}.vac-col-messages .vac-media-file img{border-radius:15px;max-height:100%;max-width:150px;width:100%}.vac-col-messages .vac-media-file video{border-radius:15px;max-height:100%;max-width:250px;width:100%}.vac-col-messages .vac-icon-media{left:6px;position:absolute;top:6px;z-index:10}.vac-col-messages .vac-icon-media svg{border-radius:50%;height:20px;width:20px}.vac-col-messages .vac-icon-media:before{background:rgba(0,0,0,.5);border-radius:50%;content:" ";height:100%;position:absolute;width:100%;z-index:-1}.vac-col-messages .vac-file-container{align-items:center;background:var(--chat-bg-color-input);border:var(--chat-border-style-input);border-radius:20px;box-sizing:content-box;display:flex;height:20px;padding:12px 0;width:calc(100% - 115px)}.vac-col-messages .vac-file-container.vac-file-container-edit{width:calc(100% - 150px)}.vac-col-messages .vac-file-container .vac-icon-file{display:flex;margin:0 8px 0 15px}.vac-col-messages .vac-file-container .vac-file-message{max-width:calc(100% - 75px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vac-col-messages .vac-file-container .vac-icon-remove{margin:0 8px}.vac-col-messages .vac-file-container .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{line-height:18px;padding:7px}.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 .vac-wrapper,.vac-col-messages .vac-icon-textarea svg,.vac-col-messages .vac-icon-textarea-left .vac-wrapper,.vac-col-messages .vac-icon-textarea-left svg{margin:0 5px!important}.vac-col-messages .vac-media-container{left:10px;top: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}}.vac-emojis-container{align-items:center;background:var(--chat-footer-bg-color);display:flex;overflow:auto;padding:10px 8px;position:absolute;width:calc(100% - 16px)}.vac-emojis-container .vac-emoji-element{border-radius:4px;cursor:pointer;font-size:30px;padding:0 8px}.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{padding:7px 5px;width:calc(100% - 10px)}.vac-emojis-container .vac-emoji-element{font-size:26px;padding:0 7px}}.vac-room-header{align-items:center;background:var(--chat-header-bg-color);border-top-right-radius:var(--chat-container-border-radius);display:flex;height:64px;margin-right:1px;position:absolute;width:100%;z-index:10}.vac-room-header .vac-room-wrapper{align-items:center;display:flex;height:100%;min-width:0;padding:0 16px;width:100%}.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{align-items:center;display:flex;height:100%;min-width:0;width:100%}.vac-room-header .vac-room-name{color:var(--chat-header-color-name);font-size:17px;font-weight:500;line-height:22px}.vac-room-header .vac-room-info{color:var(--chat-header-color-info);font-size:13px;line-height:18px}.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;min-height:37px;min-width:37px;width:37px}}.vac-reply-container{align-items:center;background:var(--chat-footer-bg-color);display:flex;padding:10px 10px 0;position:absolute;width:calc(100% - 20px)}.vac-reply-container .vac-reply-box{background:var(--chat-footer-bg-color-reply);border-radius:4px;overflow:hidden;padding:8px 10px;width:100%}.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{color:var(--chat-message-color-reply-content);font-size:12px;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{border-radius:4px;margin:4px 10px 0 0;max-height:100px;max-width:200px}.vac-reply-container .vac-audio-reply{margin-right:10px}@media only screen and (max-width:768px){.vac-reply-container{padding:5px 8px;width:calc(100% - 16px)}}.vac-tags-container{align-items:center;display:flex;flex-direction:column;position:absolute;width:100%}.vac-tags-container .vac-tags-box{background:var(--chat-footer-bg-color);cursor:pointer;display:flex;height:54px;overflow:hidden;width:100%}.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{align-items:center;display:flex;overflow:hidden;padding:0 20px}.vac-tags-container .vac-tags-avatar{height:34px;min-height:34px;min-width:34px;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}}.vac-rooms-container{background:var(--chat-sidemenu-bg-color);border-bottom-left-radius:var(--chat-container-border-radius);border-top-left-radius:var(--chat-container-border-radius);display:flex;flex:0 0 25%;flex-flow:column;height:100%;max-width:500px;min-width:260px;position:relative}.vac-rooms-container.vac-rooms-container-full{flex:0 0 100%;max-width:100%}.vac-rooms-container .vac-rooms-empty{color:#9ca6af;font-size:14px;font-style:italic;line-height:20px;margin:40px 0;text-align:center;white-space:pre-line}.vac-rooms-container .vac-room-list{cursor:pointer;flex:1;max-width:100%;overflow-y:auto;padding:0 10px 5px;position:relative}.vac-rooms-container .vac-room-item{align-items:center;border-radius:8px;display:flex;flex:1 1 100%;margin-bottom:5px;min-height:71px;padding:0 14px;position:relative}.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}}.vac-room-container{align-items:center;display:flex;flex:1;width:100%}.vac-room-container .vac-name-container{flex:1}.vac-room-container .vac-title-container{align-items:center;display:flex;line-height:25px}.vac-room-container .vac-state-circle{background-color:var(--chat-room-color-offline);border-radius:50%;height:9px;margin-right:6px;transition:.3s;width:9px}.vac-room-container .vac-state-online{background-color:var(--chat-room-color-online)}.vac-room-container .vac-room-name{color:var(--chat-room-color-username);flex:1;font-weight:500}.vac-room-container .vac-text-date{color:var(--chat-room-color-timestamp);font-size:11px;margin-left:5px}.vac-room-container .vac-text-last{align-items:center;color:var(--chat-room-color-message);display:flex;font-size:12px;line-height:19px}.vac-room-container .vac-message-new{color:var(--chat-room-color-username);font-weight:500}.vac-room-container .vac-icon-check{display:flex;height:14px;margin-right:2px;margin-top:-2px;vertical-align:middle;width:14px}.vac-room-container .vac-icon-microphone{fill:var(--chat-room-color-message);height:15px;margin:-3px 1px 0 -2px;vertical-align:middle;width:15px}.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{align-items:center;height:19px;margin-left:5px;width:19px}.vac-box-empty{margin-top:10px}@media only screen and (max-width:768px){.vac-box-empty{margin-top:7px}}.vac-box-search{align-items:center;display:flex;height:64px;padding:0 15px;position:-webkit-sticky;position:sticky}.vac-box-search .vac-icon-search{display:flex;left:30px;position:absolute}.vac-box-search .vac-icon-search svg{height:18px;width:18px}.vac-box-search .vac-input{background:var(--chat-bg-color-input);border:1px solid var(--chat-sidemenu-border-color-search);border-radius:4px;border-radius:20px;caret-color:var(--chat-color-caret);color:var(--chat-color);font-size:15px;height:38px;outline:0;padding:10px 10px 10px 40px;width:100%}.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}}.vac-message-wrapper .vac-card-info{border-radius:4px;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);display:block;font-size:12px;margin:10px auto;overflow-wrap:break-word;padding:4px;position:relative;text-align:center;white-space:normal}.vac-message-wrapper .vac-card-date{background:var(--chat-message-bg-color-date);color:var(--chat-message-color-date);font-weight:500;max-width:150px;text-transform:uppercase}.vac-message-wrapper .vac-card-system{background:var(--chat-message-bg-color-system);color:var(--chat-message-color-system);max-width:250px;padding:8px 4px}.vac-message-wrapper .vac-line-new{color:var(--chat-message-color-new-messages);font-size:13px;padding:10px 0;position:relative;text-align:center}.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%;justify-content:flex-start;line-height:1.4;max-width:50%}.vac-message-wrapper .vac-avatar{align-self:flex-end;height:28px;margin:0 0 2px;min-height:28px;min-width:28px;width:28px}.vac-message-wrapper .vac-message-container{align-items:end;box-sizing:content-box;min-width:100px;padding:2px 10px;position:relative}.vac-message-wrapper .vac-message-container-offset{margin-top:10px}.vac-message-wrapper .vac-offset-current{justify-content:flex-end;margin-left:50%}.vac-message-wrapper .vac-message-card{background:var(--chat-message-bg-color);border-radius:8px;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);color:var(--chat-message-color);font-size:14px;max-width:100%;padding:6px 9px 3px;transition-property:box-shadow,opacity;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);white-space:pre-line;will-change:box-shadow}.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{background:var(--chat-message-bg-color-deleted)!important;color:var(--chat-message-color-deleted)!important;font-size:13px!important;font-style:italic!important}.vac-message-wrapper .vac-icon-deleted{fill:var(--chat-message-color-deleted);height:14px;margin:-2px 2px 0 0;vertical-align:middle;width:14px}.vac-message-wrapper .vac-video-container{margin:4px auto 5px;max-width:100%;width:350px}.vac-message-wrapper .vac-video-container video{border-radius:4px}.vac-message-wrapper .vac-message-image{background-color:var(--chat-message-bg-color-image)!important;background-position:50%!important;background-repeat:no-repeat!important;background-size:cover!important;border-radius:4px;height:250px;margin:4px auto 5px;max-width:100%;position:relative;transition:filter .4s linear;width:250px}.vac-message-wrapper .vac-text-username{color:var(--chat-message-color-username);font-size:13px;margin-bottom:2px}.vac-message-wrapper .vac-username-reply{margin-bottom:5px}.vac-message-wrapper .vac-text-timestamp{color:var(--chat-message-color-timestamp);font-size:10px;text-align:right}.vac-message-wrapper .vac-progress-time{color:var(--chat-color);float:left;font-size:12px;margin:-2px 0 0 40px}.vac-message-wrapper .vac-file-message{align-items:center;display:flex;flex-wrap:wrap;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;margin:0 4px 2px;text-indent:0;vertical-align:middle}.vac-message-wrapper .vac-icon-edited svg{height:12px;width:12px}.vac-message-wrapper .vac-icon-check{height:14px;margin:-3px -3px 0 3px;vertical-align:middle;width:14px}@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;margin:0 6px 1px 0;min-height:25px;min-width:25px;width:25px}.vac-message-wrapper .vac-offset-current{margin-left:20%}.vac-message-wrapper .vac-progress-time{margin-left:37px}}.vac-player-bar{align-items:center;display:flex;margin-left:20px;margin-right:7px;max-width:calc(100% - 18px)}.vac-player-bar .vac-player-progress{width:190px}.vac-player-bar .vac-player-progress .vac-line-container{background-color:var(--chat-message-bg-color-audio-line);border-radius:5px;height:4px;position:relative}.vac-player-bar .vac-player-progress .vac-line-container .vac-line-progress{background-color:var(--chat-message-bg-color-audio-progress);border-radius:inherit;height:inherit;position:absolute}.vac-player-bar .vac-player-progress .vac-line-container .vac-line-dot{background-color:var(--chat-message-bg-color-audio-progress-selector);border-radius:50%;height:14px;margin-left:-7px;position:absolute;top:-5px;transition:transform .25s;width:14px}.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;margin-left:-5px;top:-5px;width:12px}}.vac-audio-player{display:flex;margin:8px 0 5px}.vac-audio-player .vac-svg-button{margin-left:7px;max-width:18px}@media only screen and (max-width:768px){.vac-audio-player{margin:4px 0 0}.vac-audio-player .vac-svg-button{margin-left:5px;max-width:16px}}.vac-message-actions-wrapper .vac-options-container{border-top-right-radius:8px;height:40px;overflow:hidden;position:absolute;right:10px;top:2px;width:70px}.vac-message-actions-wrapper .vac-options-image .vac-blur-container{border-bottom-left-radius:15px}.vac-message-actions-wrapper .vac-blur-container{background:var(--chat-message-bg-color);border-bottom-left-radius:8px;bottom:10px;filter:blur(3px);height:100%;left:8px;position:absolute;width:100%}.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;right:7px;top:7px}.vac-message-actions-wrapper .vac-message-options svg{height:17px;margin:-5px;padding:5px;width:17px}.vac-message-actions-wrapper .vac-message-emojis{position:absolute;right:30px;top:6px}.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}}.vac-image-container{max-width:100%;width:250px}.vac-image-container .vac-image-loading{filter:blur(3px)}.vac-image-container .vac-image-buttons{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));border-radius:4px;height:100%;position:absolute;width:100%}.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{bottom:6px;left:7px;position:absolute}.vac-image-container .vac-image-buttons :first-child{left:40px}.vac-image-container .vac-image-buttons .vac-button-view{bottom:8px;max-width:18px}.vac-button-reaction{align-items:center;background:var(--chat-message-bg-color-reaction);border:var(--chat-message-border-style-reaction);border-radius:4px;display:inline-flex;font-size:18px;line-height:23px;margin:4px 2px 0;outline:none;padding:0 5px;transition:.3s}.vac-button-reaction span{color:var(--chat-message-color-reaction-counter);font-size:11px;font-weight:500;min-width:7px}.vac-button-reaction:hover{background:var(--chat-message-bg-color-reaction-hover);border:var(--chat-message-border-style-reaction-hover);cursor:pointer}.vac-button-reaction.vac-reaction-me{background:var(--chat-message-bg-color-reaction-me);border:var(--chat-message-border-style-reaction-me)}.vac-button-reaction.vac-reaction-me span{color:var(--chat-message-color-reaction-counter-me)}.vac-button-reaction.vac-reaction-me:hover{background:var(--chat-message-bg-color-reaction-hover-me);border:var(--chat-message-border-style-reaction-hover-me)}.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;margin:4px auto 3px;width:70px}.vac-reply-message .vac-video-reply-container{max-width:100%;width:200px}.vac-reply-message .vac-video-reply-container video{border-radius:4px}.vac-reply-message .vac-reply-content{color:var(--chat-message-color-reply-content);font-size:12px}.vac-emoji-wrapper{display:flex;position:relative}.vac-emoji-wrapper .vac-emoji-picker{background:var(--chat-emoji-bg-color);border-radius:.5rem;bottom:32px;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);box-sizing:border-box;overflow:scroll;padding:16px;position:absolute;right:10px;width:240px;z-index:9999}.vac-emoji-wrapper .vac-picker-reaction{position:fixed;right:auto;top:auto}.vac-emoji-wrapper .vac-emoji-picker__search{display:flex}.vac-emoji-wrapper .vac-emoji-picker__search>input{background:var(--chat-bg-color-input);border:var(--chat-border-style);border-radius:10rem;color:var(--chat-color);flex:1;outline:none;padding:5px 10px}.vac-emoji-wrapper .vac-emoji-picker h5{color:#b1b1b1;cursor:default;font-size:.8rem;margin:15px 0 8px;text-transform:uppercase}.vac-emoji-wrapper .vac-emoji-picker .vac-emojis{display:flex;flex-wrap:wrap;justify-content:space-between}.vac-emoji-wrapper .vac-emoji-picker .vac-emojis:after{content:"";flex:auto}.vac-emoji-wrapper .vac-emoji-picker .vac-emojis span{border-radius:5px;cursor:pointer;padding:.2rem}.vac-emoji-wrapper .vac-emoji-picker .vac-emojis span:hover{background:var(--chat-sidemenu-bg-color-hover);cursor:pointer}.vac-emoji-wrapper .vac-emoji-reaction svg{height:19px;width:19px}.vac-format-message-wrapper .vac-icon-deleted{fill:var(--chat-room-color-message);height:14px;margin:-3px 1px 0 0;vertical-align:middle;width:14px}.vac-format-message-wrapper .vac-image-link-container{background-color:var(--chat-message-bg-color-media);border-radius:4px;margin:2px auto;padding:8px}.vac-format-message-wrapper .vac-image-link{background-color:var(--chat-message-bg-color-image)!important;background-position:50%!important;background-repeat:no-repeat!important;background-size:contain;border-radius:4px;height:150px;margin:0 auto;max-width:100%;position:relative;width:150px}.vac-format-message-wrapper .vac-image-link-message{font-size:12px;max-width:166px}.vac-loader-wrapper.vac-container-center{left:50%;position:absolute;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{-webkit-animation:vac-spin 1s linear infinite;animation:vac-spin 1s linear infinite;border:3px solid rgba(0,0,0,.25);border-bottom:3px solid var(--chat-color-spinner);border-radius:50%;border-right:3px solid var(--chat-color-spinner);border-top:3px solid var(--chat-color-spinner);height:28px;margin:auto;width:28px}@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)}}#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)}',"",{version:3,sources:["webpack://./node_modules/vue-advanced-chat/dist/vue-advanced-chat.css"],names:[],mappings:"AAAA,wBAAwB,SAAS,CAAC,+BAA+B,sBAAsB,CAAC,+BAAsD,SAAQ,CAA/B,sBAAgC,CAAC,sBAAsB,SAAS,CAAC,6BAA6B,qBAAqB,CAAC,6BAAoD,SAAQ,CAA/B,sBAAgC,CAAC,wBAAwB,SAAS,CAAC,+BAA+B,sBAAsB,CAAC,+BAAsD,SAAQ,CAA/B,sBAAgC,CAAC,2DAA2D,uBAAuB,CAAC,qCAAqC,CAAC,2DAA2D,0CAA0C,CAAC,qCAAqC,CAAC,+CAA0E,SAAQ,CAAnC,0BAAoC,CAAC,iDAA6E,SAAQ,CAApC,2BAAqC,CAAC,2BAA2B,uBAAuB,CAAC,2BAA2B,0CAA0C,CAAC,2CAAsE,SAAQ,CAAnC,0BAAoC,CAAC,yBAAyB,mCAAmC,CAAC,2BAA2B,CAAC,yBAAyB,mCAAmC,CAAC,iCAAiC,GAAG,kBAAkB,CAAC,IAAI,qBAAqB,CAAC,GAAG,kBAAkB,CAAC,CAAC,yBAAyB,GAAG,kBAAkB,CAAC,IAAI,qBAAqB,CAAC,GAAG,kBAAkB,CAAC,CAAC,eAA8D,wCAAwC,CAAvF,iBAAiB,CAAe,cAAc,CAA5B,aAAa,CAAyD,aAAa,CAAC,sBAAsB,8CAA8C,CAAC,kDAAkD,yDAAyD,CAAC,eAAe,kBAAkB,CAAC,YAAY,CAAC,aAAa,CAAuE,gBAAe,CAArF,eAAe,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,kBAAmC,CAAC,kBAA0G,iBAAiB,CAA0F,oGAAmG,CAA7K,uBAAuB,CAAmC,eAAe,CAA/H,oBAAoB,CAAmB,cAAc,CAArE,eAAe,CAA+F,iBAAiB,CAAjC,eAAe,CAAhK,iBAAiB,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAiQ,CAAC,gBAAgB,+BAA+B,CAAC,kBAAkB,mCAAmC,CAAC,kBAAkB,qCAAqC,CAAC,kBAAkB,sCAAsC,CAAC,oBAAoB,oGAAoG,CAAC,oBAAoB,cAAc,CAAC,qBAAkC,kBAAkB,CAA/B,YAAY,CAAoB,WAAW,CAAC,6CAAwD,iBAAgB,CAA3B,UAA4B,CAAC,gBAA6C,cAAc,CAA3B,YAAY,CAA5B,eAAe,CAA6B,kBAAkB,CAAC,sBAA2C,UAAS,CAA9B,oBAA+B,CAAC,YAAsF,qBAAqB,CAAzE,uBAAuB,CAAC,2BAA2B,CAAzE,qBAAqB,CAAmJ,iBAAgB,CAAxF,WAAW,CAA2C,iBAAiB,CAAhD,eAAe,CAAC,cAAc,CAAzC,UAA6E,CAAC,mBAAwF,kBAAkB,CAAjD,iBAAiB,CAAC,YAAY,CAAuD,cAAc,CAAC,eAAc,CAAxJ,WAAW,CAA6E,sBAAsB,CAAvF,cAAc,CAA0E,WAAW,CAA9G,UAA6I,CAAC,mBAAiD,eAAe,CAAC,sBAAqB,CAAxD,kBAAkB,CAA7B,UAAoE,CAAC,eAAe,eAAe,CAAC,iBAAiB,iBAAiB,CAAC,iBAAiB,4BAA4B,CAAC,oBAAoB,yBAAyB,CAAC,sBAA2C,gCAAgC,CAArD,oBAAoB,CAAkC,YAAY,CAAC,eAAe,CAAC,+CAA8D,kCAAkC,CAAC,4CAA4C,CAAC,iBAAgB,CAA/G,cAAgH,CAAC,yBAAuC,sCAAsC,CAApD,aAAa,CAAwC,YAAY,CAAC,WAAW,CAAC,cAAc,mCAAmC,CAAC,cAAc,CAAC,iBAAyT,uCAAsC,CAAtS,uCAAuC,CAAuF,mCAAmC,CAAC,iDAAiD,CAAC,2CAA2C,CAAvN,uBAAuB,CAA5F,aAAa,CAAC,cAAc,CAAiE,wBAAwB,CAAC,iBAAiB,CAAC,kBAAkB,CAArK,UAA+U,CAAC,mBAAmB,mBAAmB,CAAC,mBAAmB,aAAa,CAAC,eAAe,CAAC,qCAAiD,YAAW,CAAvB,WAAwB,CAAC,2CAA2C,cAAc,CAAC,4JAA4J,uBAAuB,CAAC,kBAAuE,YAAY,CAAnC,MAAM,CAA8B,gBAAe,CAA/D,WAAW,CAAQ,eAAe,CAApD,iBAAkF,CAAC,wCAAyH,kBAAkB,CAA5E,YAAY,CAAC,qBAAqB,CAAzD,WAAW,CAA+C,sBAAsB,CAAoB,iBAAgB,CAAxG,UAAyG,CAAC,kCAAiD,aAAa,CAA5B,cAAc,CAAe,iBAAiB,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,sCAAsC,aAAa,CAAC,wCAAwI,gCAA+B,CAA/H,uCAAuC,CAAC,MAAM,CAAiB,gBAAgB,CAAC,eAAe,CAAhD,eAAiF,CAAC,0DAA0D,sBAAsB,CAAC,0CAA0C,iBAAiB,CAAC,oCAAmD,uCAAuC,CAAtD,cAAc,CAAyC,iBAAiB,CAAmC,kBAAiB,CAAjC,eAAe,CAAjC,iBAAoD,CAAC,wCAAwC,WAAW,CAAC,mCAAwF,qCAAqC,CAAC,iBAAiB,CAA1F,WAAW,CAAgF,gGAAgG,CAAc,cAAc,CAA3B,YAAY,CAAjL,WAAW,CAApD,iBAAiB,CAAa,UAAU,CAAkM,UAAU,CAAC,uCAAuC,WAAW,CAAC,UAAU,CAAC,sCAA2E,4DAA4D,CAAC,8CAA6C,CAApH,SAAS,CAApC,iBAAiB,CAAC,QAA8H,CAAC,mCAA8C,8BAA8B,CAAzC,UAAU,CAAgC,UAAU,CAAC,kCAAiE,sCAAsC,CAArE,YAAY,CAA0D,gBAAoB,CAA7E,iBAA8E,CAAC,gCAAyL,qCAAqC,CAA6D,qCAAoC,CAAjN,kBAAkB,CAAmB,sBAAsB,CAA8E,mCAAmC,CAA3D,uBAAuB,CAA5E,cAAc,CAAxJ,WAAW,CAAY,gBAAgB,CAAiB,SAAS,CAAzB,eAAe,CAA0C,iBAAiB,CAAhD,WAAW,CAAjE,UAAoR,CAAC,kDAAkD,mCAAmC,CAAoB,eAAe,CAAC,sBAAqB,CAAxD,kBAAyD,CAAC,sDAAsD,mCAAmC,CAAoB,eAAe,CAAC,sBAAqB,CAAxD,kBAAyD,CAAC,6CAA6C,mCAAmC,CAAoB,eAAe,CAAC,sBAAqB,CAAxD,kBAAyD,CAAC,wCAAwC,wDAAwD,CAAC,kEAAkE,CAAC,+EAA4F,kBAAiB,CAA9B,YAA+B,CAAC,gMAAgM,YAAY,CAAC,qCAAqC,eAAe,CAAC,0CAAuD,kBAAkB,CAA/B,YAAY,CAAoB,gBAAgB,CAAC,qGAAqG,YAAY,CAAC,+DAA+D,sCAAsC,CAAC,YAAY,CAAC,gEAAoK,gEAAgE,CAAC,wDAAuD,CAAnL,0DAA0D,CAA5E,iBAAiB,CAAxC,WAAW,CAAC,UAAiN,CAAC,+BAA+B,GAAsB,UAAS,CAA5B,kBAA6B,CAAC,GAAwB,SAAQ,CAA7B,oBAA8B,CAAC,CAAC,uBAAuB,GAAsB,UAAS,CAA5B,kBAA6B,CAAC,GAAwB,SAAQ,CAA7B,oBAA8B,CAAC,CAAC,qEAAoF,uBAAuB,CAAtC,cAAc,CAAyB,eAAe,CAAC,UAAU,CAAC,0QAA0Q,eAAe,CAAC,cAAc,CAAC,+DAA+D,iBAAiB,CAAC,uFAAuF,wCAAwC,CAAC,kEAAmF,gBAAe,CAAhC,gBAAiC,CAAC,sFAAsF,yCAAyC,CAAC,uCAAuE,SAAS,CAAvB,aAAa,CAA/B,iBAAiB,CAAyB,QAAQ,CAAC,kCAAkC,YAAY,CAAwB,qBAAqB,CAA5C,sBAAsB,CAAuB,eAAe,CAAC,sCAAsC,kBAAkB,CAA4B,eAAc,CAA9B,eAAe,CAA1B,UAA0C,CAAC,wCAAwC,kBAAkB,CAA4B,eAAc,CAA9B,eAAe,CAA1B,UAA0C,CAAC,kCAA4D,QAAQ,CAAlC,iBAAiB,CAAC,OAAO,CAAU,UAAU,CAAC,sCAA6D,iBAAgB,CAAvC,WAAW,CAAC,UAA4B,CAAC,yCAA8F,yBAAyB,CAAC,iBAAiB,CAAhG,WAAW,CAA8B,WAAW,CAAxC,iBAAiB,CAAC,UAAU,CAAyD,UAAU,CAAC,sCAAmD,kBAAkB,CAA4E,qCAAqC,CAAC,qCAAqC,CAAC,kBAAiB,CAApH,sBAAsB,CAA1G,YAAY,CAA6C,WAAW,CAAC,cAAc,CAAnD,wBAAyK,CAAC,8DAA8D,wBAAwB,CAAC,qDAAqD,YAAY,CAAC,mBAAmB,CAAC,wDAAwD,2BAA2B,CAAoB,eAAe,CAAC,sBAAqB,CAAxD,kBAAyD,CAAC,uDAAuD,YAAY,CAAC,2DAA2D,WAAW,CAAC,UAAU,CAAC,8EAA8E,qBAAqB,CAAC,6BAA6B,CAAC,wBAAwB,CAAC,uCAAuC,SAAS,CAAC,yCAAyC,wCAAwC,eAAe,CAAC,wCAAwC,WAAW,CAAC,kCAAkC,yCAAyC,CAAC,uBAAuB,CAAC,oCAAoC,eAAe,CAAC,gCAA4C,gBAAe,CAA3B,WAA4B,CAAC,kDAAkD,iBAAiB,CAAC,sDAAsD,iBAAiB,CAAC,6CAA6C,iBAAiB,CAAC,gMAAgM,sBAAsB,CAAC,uCAAgD,SAAQ,CAAjB,QAAkB,CAAC,8EAA8E,oBAAoB,CAAC,mCAAmC,UAAU,CAAC,sCAAsC,aAAa,CAAC,iDAAiD,gBAAgB,CAAC,mCAAmC,WAAW,CAAC,CAAC,sBAAqI,kBAAkB,CAAtE,sCAAsC,CAAC,YAAY,CAAoB,aAAY,CAApG,gBAAgB,CAA1D,iBAAiB,CAAC,uBAA6H,CAAC,yCAAsE,iBAAiB,CAAC,cAAa,CAA9C,cAAc,CAA5B,aAA6D,CAAC,+CAA+C,iDAAiD,CAAC,oGAAoG,yDAAyD,CAAC,yCAAyC,sBAA8C,eAAc,CAAtC,uBAAuC,CAAC,yCAAuD,cAAa,CAA3B,aAA4B,CAAC,CAAC,iBAAgD,kBAAkB,CAAoD,sCAAsC,CAAC,2DAA0D,CAApL,YAAY,CAAoB,WAAW,CAAuB,gBAAgB,CAApG,iBAAiB,CAA6C,UAAU,CAAC,UAA8H,CAAC,mCAAgD,kBAAkB,CAA/B,YAAY,CAAgC,WAAW,CAAvB,WAAW,CAAwB,cAAa,CAAxB,UAAyB,CAAC,oCAAoC,iBAAiB,CAAC,wCAAwC,WAAW,CAAC,UAAU,CAAC,kCAAkC,kCAAkC,CAAC,mCAAgD,kBAAkB,CAA/B,YAAY,CAA2C,WAAU,CAAjC,WAAW,CAAC,UAAsB,CAAC,gCAAgF,mCAAkC,CAAlF,cAAc,CAAC,eAAe,CAAC,gBAAoD,CAAC,gCAAgE,mCAAkC,CAAlE,cAAc,CAAC,gBAAoD,CAAC,mCAAmC,gBAAgB,CAAC,yCAAyC,iBAAiB,WAAW,CAAC,mCAAmC,cAAc,CAAC,gCAAgC,cAAc,CAAC,gBAAgB,CAAC,gCAAgC,cAAc,CAAC,gBAAgB,CAAC,6BAA6B,WAAW,CAAY,eAAe,CAAC,cAAa,CAAxC,UAAyC,CAAC,CAAC,qBAAoH,kBAAkB,CAAzD,sCAAsC,CAA5E,YAAY,CAAC,mBAAwB,CAAvD,iBAAiB,CAAiG,uBAAuB,CAAC,oCAA+D,4CAA4C,CAAC,iBAAiB,CAA9E,eAAe,CAAgE,gBAAe,CAAzG,UAA0G,CAAC,qCAAqC,eAAe,CAAC,yCAAyC,8CAA8C,CAAC,cAAc,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,wCAAuD,6CAA6C,CAA5D,cAAc,CAA+C,oBAAoB,CAAC,qCAAqC,gBAAgB,CAAC,yCAAyC,WAAW,CAAC,UAAU,CAAC,sCAA2F,iBAAgB,CAApC,mBAAmB,CAApD,gBAAgB,CAAC,eAAqD,CAAC,sCAAsC,iBAAiB,CAAC,yCAAyC,qBAAqB,eAAe,CAAC,uBAAuB,CAAC,CAAC,oBAAyE,kBAAkB,CAArD,YAAY,CAAC,qBAAqB,CAApD,iBAAiB,CAAuD,UAAU,CAAC,kCAAqG,sCAAqC,CAApD,cAAc,CAAlE,YAAY,CAAY,WAAW,CAAC,eAAe,CAAtC,UAA4F,CAAC,wCAAwC,iDAAiD,CAAC,sFAAsF,yDAAyD,CAAC,mCAA+E,kBAAiB,CAA7D,YAAY,CAAC,eAAe,CAAC,cAAiC,CAAC,qCAAqC,WAAW,CAAY,eAAe,CAAC,cAAa,CAAxC,UAAyC,CAAC,uCAAuC,cAAc,CAAC,yCAAyC,kCAAkC,WAAW,CAAC,mCAAmC,cAAc,CAAC,CAAC,qBAAkH,wCAAwC,CAAwE,6DAA4D,CAAvH,0DAA0D,CAA5M,YAAY,CAAkB,YAAY,CAA7B,gBAAgB,CAAyG,WAAW,CAAtF,eAAe,CAA/B,eAAe,CAAiB,iBAA+L,CAAC,8CAA8C,aAAa,CAAC,cAAc,CAAC,sCAAqD,aAAa,CAA5B,cAAc,CAAe,iBAAiB,CAAiC,gBAAgB,CAA9B,aAAa,CAA/B,iBAAiB,CAAgC,oBAAoB,CAAC,oCAA4E,cAAc,CAAtD,MAAM,CAAmB,cAAc,CAAmC,eAAc,CAAjC,kBAAkB,CAAlE,iBAAkF,CAAC,oCAAsD,kBAAkB,CAApC,iBAAiB,CAAoB,YAAY,CAAC,aAAa,CAAC,iBAAiB,CAAkC,eAAc,CAA/C,cAAc,CAAC,iBAAiC,CAAC,0CAA0C,8CAA8C,CAAC,0FAA0F,yDAAyD,CAAC,wCAAwC,iDAAiD,CAAC,sFAAsF,yDAAyD,CAAC,yCAAyC,oCAAoC,iBAAiB,CAAC,oCAAoC,eAAe,CAAC,aAAa,CAAC,CAAC,oBAAwC,kBAAkB,CAAtC,YAAY,CAAC,MAAM,CAAoB,UAAU,CAAC,wCAAwC,MAAM,CAAC,yCAAsD,kBAAkB,CAA/B,YAAY,CAAoB,gBAAgB,CAAC,sCAA6E,+CAA+C,CAAjE,iBAAiB,CAA5B,UAAU,CAAmE,gBAAgB,CAAC,cAAa,CAArH,SAAsH,CAAC,sCAAsC,8CAA8C,CAAC,mCAA0C,qCAAqC,CAA5C,MAAM,CAAuC,eAAe,CAAC,mCAAkE,sCAAqC,CAApD,cAAc,CAA9B,eAAqE,CAAC,mCAAgD,kBAAkB,CAAiC,oCAAmC,CAAnG,YAAY,CAAoB,cAAc,CAAC,gBAAqD,CAAC,qCAAqC,qCAAqC,CAAC,eAAe,CAAC,oCAAoC,YAAY,CAAuB,WAAW,CAA4B,gBAAe,CAA/B,eAAe,CAA5D,qBAAqB,CAAa,UAA2C,CAAC,yCAA6G,mCAAkC,CAAtG,WAAW,CAAkC,sBAAsB,CAA5C,qBAAqB,CAAhC,UAA2F,CAAC,gDAAgD,YAAY,CAAC,gBAAgB,CAAC,oCAAoC,gDAAgD,CAAC,kCAAkC,CAAC,eAAe,CAAC,2CAAkE,kBAAkB,CAAzC,WAAW,CAA+B,eAAc,CAA5C,UAA6C,CAAC,eAAe,eAAe,CAAC,yCAAyC,eAAe,cAAc,CAAC,CAAC,gBAA6C,kBAAkB,CAA/B,YAAY,CAAoB,WAAW,CAAC,cAAa,CAAzE,uBAAe,CAAf,eAA0E,CAAC,iCAAiC,YAAY,CAAmB,SAAQ,CAA1B,iBAA2B,CAAC,qCAAgD,WAAU,CAArB,UAAsB,CAAC,2BAAkD,qCAAqC,CAAoI,yDAAyD,CAApK,iBAAiB,CAAoJ,kBAAiB,CAA3I,mCAAmC,CAAtG,uBAAuB,CAAmB,cAAc,CAArH,WAAW,CAA2G,SAAS,CAAqC,2BAA2B,CAAnL,UAAgQ,CAAC,6CAA6C,mCAAmC,CAAC,iDAAiD,mCAAmC,CAAC,wCAAwC,mCAAmC,CAAC,8BAA8B,gBAAgB,CAAC,iBAAiB,CAAC,yCAAyC,gBAAgB,WAAW,CAAC,CAAC,oCAAoC,iBAAiB,CAA2I,sGAAqG,CAAjL,aAAa,CAAxC,cAAc,CAA/B,gBAAgB,CAA0C,wBAAwB,CAAlD,WAAW,CAAwC,iBAAiB,CAAtH,iBAAiB,CAAsG,kBAAyH,CAAC,oCAAkI,4CAA2C,CAAhF,oCAAoC,CAA7E,eAAe,CAA/B,eAAe,CAAiB,wBAA0G,CAAC,sCAA6G,8CAA6C,CAApF,sCAAsC,CAAtE,eAAe,CAAC,eAAqG,CAAC,mCAAmC,4CAA4C,CAAqC,cAAc,CAAC,cAAa,CAAhE,iBAAiB,CAAC,iBAA+C,CAAC,mFAAmF,2DAA2D,CAAC,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,sBAAsB,CAAC,0CAA0C,SAAS,CAAC,OAAO,CAAC,sCAAsC,YAAY,CAAC,YAAY,CAAe,0BAA0B,CAAC,eAAc,CAAvD,aAAwD,CAAC,iCAAwG,mBAAkB,CAAzF,WAAW,CAA2C,cAAgB,CAA/C,eAAe,CAAC,cAAc,CAAzC,UAA8E,CAAC,4CAA+E,eAAe,CAAiB,sBAAqB,CAArC,eAAe,CAAhD,gBAAgB,CAAlC,iBAAyF,CAAC,mDAAmD,eAAe,CAAC,yCAAyD,wBAAuB,CAAvC,eAAwC,CAAC,uCAAuC,uCAAuC,CAAiC,iBAAiB,CAAyL,sGAAqG,CAA/U,+BAA+B,CAAmB,cAAc,CAA0C,cAAc,CAAvD,mBAAmB,CAAqC,sCAAsC,CAAC,kDAAkD,CAA7H,oBAAoB,CAA0G,sBAA6H,CAAC,4CAA4C,sGAAsG,CAAC,0CAA0C,oDAAoD,CAAC,0CAAiJ,yDAAwD,CAA/J,iDAAiD,CAAC,wBAAwB,CAAC,2BAAqF,CAAC,uCAAwG,sCAAqC,CAAtG,WAAW,CAAkC,mBAAmB,CAAzC,qBAAqB,CAAhC,UAA2F,CAAC,0CAAqE,mBAAkB,CAAjC,cAAc,CAA1B,WAA8C,CAAC,gDAAgD,iBAAiB,CAAC,wCAA0D,6DAA6D,CAAiC,iCAAiC,CAAC,qCAAqC,CAAvG,+BAA+B,CAAiH,iBAAiB,CAAzD,YAAY,CAA8C,mBAAmB,CAApD,cAAc,CAA/N,iBAAiB,CAAqP,4BAA2B,CAA5F,WAA6F,CAAC,wCAAuD,wCAAwC,CAAvD,cAAc,CAA0C,iBAAiB,CAAC,yCAAyC,iBAAiB,CAAC,yCAAwD,yCAAyC,CAAxD,cAAc,CAA2C,gBAAgB,CAAC,wCAAwE,uBAAuB,CAAvD,UAAU,CAA8C,cAAa,CAA1D,oBAA2D,CAAC,uCAAmE,kBAAkB,CAA9C,YAAY,CAAC,cAAc,CAAoB,cAAc,CAAC,4CAA4C,cAAc,CAAC,0DAA0D,gBAAgB,CAAC,sCAAsC,kBAAkB,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,qBAAqB,CAAC,aAAa,CAAqC,gBAAe,CAAnD,aAAa,CAAC,qBAAsC,CAAC,0CAA0C,WAAW,CAAC,UAAU,CAAC,qCAAqC,WAAW,CAAkC,sBAAqB,CAA3C,qBAAqB,CAAhC,UAAuD,CAAC,yCAAyC,4CAA4C,mBAAmB,CAAC,mDAAmD,eAAe,CAAC,sCAAsC,YAAY,CAAC,aAAa,CAAC,iCAAiC,WAAW,CAA2C,kBAAiB,CAAhD,eAAe,CAAC,cAAc,CAAzC,UAA4D,CAAC,yCAAyC,eAAe,CAAC,wCAAwC,gBAAgB,CAAC,CAAC,gBAA6B,kBAAkB,CAA/B,YAAY,CAAiE,gBAAe,CAAhC,gBAAgB,CAA5C,2BAA6D,CAAC,qCAAqC,WAAW,CAAC,yDAAwG,wDAAuD,CAAzE,iBAAiB,CAA5B,UAAU,CAA5B,iBAAuG,CAAC,4EAA6G,4DAA4D,CAAC,qBAAoB,CAAhG,cAAc,CAAhC,iBAAmH,CAAC,uEAA4J,qEAAqE,CAAvF,iBAAiB,CAAxC,WAAW,CAA5B,gBAAgB,CAA3C,iBAAiB,CAAC,QAAQ,CAAiI,yBAAwB,CAA3H,UAA4H,CAAC,+EAA+E,oBAAoB,CAAC,yCAAyC,gBAAgB,gBAAgB,CAAC,yDAAyD,UAAU,CAAC,uEAAuE,WAAW,CAAqB,gBAAe,CAAxB,QAAQ,CAAnB,UAAoC,CAAC,CAAC,kBAAkB,YAAY,CAAC,gBAAgB,CAAC,kCAAiD,eAAc,CAA7B,cAA8B,CAAC,yCAAyC,kBAAkB,cAAc,CAAC,kCAAiD,eAAc,CAA7B,cAA8B,CAAC,CAAC,oDAAgI,2BAA0B,CAAjE,WAAW,CAAY,eAAe,CAA3E,iBAAiB,CAAS,UAAU,CAAlB,OAAO,CAAwB,UAAsD,CAAC,oEAAoE,8BAA8B,CAAC,iDAA+G,uCAAuC,CAAkB,6BAA4B,CAAjG,WAAW,CAAyC,gBAAgB,CAApG,WAAW,CAAY,QAAQ,CAAjD,iBAAiB,CAAa,UAAsH,CAAC,6CAA6C,0CAA0C,CAAC,kDAAkD,+CAA+C,CAAC,iBAAiB,CAAC,iBAAiB,CAAS,SAAQ,CAAhB,OAAiB,CAAC,sDAAsD,WAAW,CAAwB,WAAU,CAAtB,WAAW,CAAtB,UAAkC,CAAC,iDAAiD,iBAAiB,CAAS,UAAS,CAAjB,OAAkB,CAAC,+CAA+C,UAAU,CAAC,4CAA4C,YAAY,CAAC,yCAAyC,oDAAoD,SAAS,CAAC,4CAA4C,WAAW,CAAC,CAAC,qBAAiC,cAAa,CAAzB,WAA0B,CAAC,wCAAwC,gBAAgB,CAAC,wCAAmG,2NAA0N,CAA5O,iBAAiB,CAA7B,WAAW,CAAxC,iBAAiB,CAAC,UAAoQ,CAAC,4CAA4C,WAAW,CAAC,UAAU,CAAC,sHAAwI,UAAU,CAAC,QAAO,CAApC,iBAAqC,CAAC,qDAAqD,SAAS,CAAC,yDAAwE,UAAS,CAAxB,cAAyB,CAAC,qBAAyC,kBAAkB,CAA+D,gDAAgD,CAA9G,gDAAgD,CAA+D,iBAAiB,CAAvK,mBAAmB,CAAmM,cAAc,CAAC,gBAAe,CAA5E,gBAAgB,CAAhG,YAAY,CAAoG,aAAa,CAA5B,cAA4D,CAAC,0BAAuE,gDAA+C,CAA5F,cAAc,CAAC,eAAe,CAAC,aAA8D,CAAC,2BAAkF,sDAAsD,CAA7G,sDAAsD,CAAwD,cAAc,CAAC,qCAAyF,mDAAkD,CAAtG,mDAAuG,CAAC,0CAA0C,mDAAmD,CAAC,2CAAqG,yDAAwD,CAAlH,yDAAmH,CAAC,mBAAmB,6CAA6C,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,uCAAuC,8CAA8C,CAAC,cAAc,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,8CAA8C,UAAU,CAAC,uEAAuE,WAAW,CAAY,mBAAkB,CAA7B,UAA8B,CAAC,8CAA0D,cAAa,CAAzB,WAA0B,CAAC,oDAAoD,iBAAiB,CAAC,sCAAqD,6CAA4C,CAA3D,cAA4D,CAAC,mBAAqC,YAAW,CAA7B,iBAA8B,CAAC,qCAA8K,qCAAqC,CAAzD,mBAAmB,CAAzG,WAAW,CAAqI,mGAAkG,CAAlL,qBAAqB,CAAlD,eAAe,CAAC,YAAY,CAA9F,iBAAiB,CAA0B,UAAU,CAAC,WAAW,CAA/C,YAAgQ,CAAC,wCAAwC,cAAc,CAAU,UAAS,CAAlB,QAAmB,CAAC,6CAA6C,YAAY,CAAC,mDAA4I,qCAAqC,CAAnG,+BAA+B,CAAnD,mBAAmB,CAAqG,uBAAsB,CAArJ,MAAM,CAAsE,YAAY,CAA7B,gBAA2F,CAAC,wCAA0D,aAAa,CAA0C,cAAa,CAA7B,eAAe,CAAxE,iBAAiB,CAAe,wBAAuD,CAAC,iDAAiD,YAAY,CAAC,cAAc,CAAC,6BAA6B,CAAC,uDAAuD,UAAU,CAAC,SAAS,CAAC,sDAAmF,iBAAgB,CAA/B,cAAc,CAA5B,aAA8C,CAAC,4DAA4D,8CAA8C,CAAC,cAAc,CAAC,2CAA2C,WAAW,CAAC,UAAU,CAAC,8CAA+G,mCAAkC,CAAnG,WAAW,CAAkC,mBAAmB,CAAzC,qBAAqB,CAAhC,UAAwF,CAAC,sDAAsD,mDAAmD,CAA6B,iBAAgB,CAAhC,eAAe,CAA3B,WAA6C,CAAC,4CAA8D,6DAA6D,CAAyB,iCAAiC,CAAC,qCAAqC,CAA/F,uBAAuB,CAAiH,iBAAiB,CAAzD,YAAY,CAA8C,aAAY,CAA7C,cAAc,CAAvN,iBAAiB,CAA4K,WAA0D,CAAC,oDAAoE,cAAa,CAA7B,eAA8B,CAAC,yCAA2D,QAAQ,CAA1B,iBAAiB,CAAU,OAAO,CAAC,8BAA8B,CAAC,SAAS,CAAC,sCAAsC,YAAY,CAAC,kDAAkD,WAAW,CAAC,UAAU,CAAC,gCAAwQ,6CAA6C,CAAC,qCAAoC,CAAvR,gCAAgC,CAAiG,iDAAiD,CAAC,iBAAiB,CAApH,gDAAgD,CAA/F,8CAA8C,CAAtG,WAAW,CAAvB,WAAW,CAAa,UAAmS,CAAC,yCAAyC,gCAAgC,WAAW,CAAC,UAAU,CAAC,sCAAsC,YAAY,CAAC,kDAAkD,WAAW,CAAC,UAAU,CAAC,CAAC,4BAA4B,GAAG,sBAAsB,CAAC,GAAG,wBAAwB,CAAC,CAAC,oBAAoB,GAAG,sBAAsB,CAAC,GAAG,wBAAwB,CAAC,CAAC,iBAAiB,kCAAkC,CAAC,cAAc,+BAA+B,CAAC,iBAAiB,kCAAkC,CAAC,eAAe,gCAAgC,CAAC,gBAAgB,iCAAiC,CAAC,sBAAsB,uCAAuC,CAAC,eAAe,gCAAgC,CAAC,oBAAoB,qCAAqC,CAAC,wBAAwB,yCAAyC,CAAC,eAAe,gCAAgC,CAAC,wBAAwB,yCAAyC,CAAC,gBAAgB,iCAAiC,CAAC,yBAAyB,0CAA0C,CAAC,mBAAmB,oCAAoC,CAAC,iBAAiB,kCAAkC,CAAC,+CAA+C,qCAAqC,CAAC,yDAAyD,0CAA0C,CAAC,cAAc,+BAA+B,CAAC,2BAA2B,4CAA4C,CAAC,wBAAwB,yCAAyC,CAAC,0BAA0B,2CAA2C,CAAC,qBAAqB,sCAAsC,CAAC,sBAAsB,uCAAuC",sourcesContent:['.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}.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.vac-file-container-edit{width:calc(100% - 150px)}.vac-col-messages .vac-file-container .vac-icon-file{display:flex;margin:0 8px 0 15px}.vac-col-messages .vac-file-container .vac-file-message{max-width:calc(100% - 75px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vac-col-messages .vac-file-container .vac-icon-remove{margin:0 8px}.vac-col-messages .vac-file-container .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}}.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}}.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}}.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}.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;max-width:200px;margin:4px 10px 0 0;border-radius:4px}.vac-reply-container .vac-audio-reply{margin-right:10px}@media only screen and (max-width:768px){.vac-reply-container{padding:5px 8px;width:calc(100% - 16px)}}.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}}.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}}.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}.vac-box-empty{margin-top:10px}@media only screen and (max-width:768px){.vac-box-empty{margin-top:7px}}.vac-box-search{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}}.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}}.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}}.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}}.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{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}}.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}.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)}.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-video-reply-container{width:200px;max-width:100%}.vac-reply-message .vac-video-reply-container video{border-radius:4px}.vac-reply-message .vac-reply-content{font-size:12px;color:var(--chat-message-color-reply-content)}.vac-emoji-wrapper{position:relative;display:flex}.vac-emoji-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-emoji-wrapper .vac-picker-reaction{position:fixed;top:auto;right:auto}.vac-emoji-wrapper .vac-emoji-picker__search{display:flex}.vac-emoji-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-emoji-wrapper .vac-emoji-picker h5{margin:15px 0 8px;color:#b1b1b1;text-transform:uppercase;font-size:.8rem;cursor:default}.vac-emoji-wrapper .vac-emoji-picker .vac-emojis{display:flex;flex-wrap:wrap;justify-content:space-between}.vac-emoji-wrapper .vac-emoji-picker .vac-emojis:after{content:"";flex:auto}.vac-emoji-wrapper .vac-emoji-picker .vac-emojis span{padding:.2rem;cursor:pointer;border-radius:5px}.vac-emoji-wrapper .vac-emoji-picker .vac-emojis span:hover{background:var(--chat-sidemenu-bg-color-hover);cursor:pointer}.vac-emoji-wrapper .vac-emoji-reaction svg{height:19px;width:19px}.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}.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)}}#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)}'],sourceRoot:""}]);const s=i},4656:(e,t,n)=>{e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.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 a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));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="fb15")}({"00ee":function(e,t,n){var r={};r[n("b622")("toStringTag")]="z",e.exports="[object z]"===String(r)},"0137":function(e,t,n){},"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,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},"04d1":function(e,t,n){var r=n("342f").match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},"0538":function(e,t,n){"use strict";var r=n("1c0b"),a=n("861d"),o=[].slice,i={},s=function(e,t,n){if(!(t in i)){for(var r=[],a=0;a<t;a++)r[a]="a["+a+"]";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=o.call(arguments,1),i=function(){var r=n.concat(o.call(arguments));return this instanceof i?s(t,r.length,r):t.apply(e,r)};return a(t.prototype)&&(i.prototype=t.prototype),i}},"057f":function(e,t,n){var r=n("fc6a"),a=n("241c").f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?function(e){try{return a(e)}catch(e){return i.slice()}}(e):a(r(e))}},"06cf":function(e,t,n){var r=n("83ab"),a=n("d1e7"),o=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(e){}if(c(e,t))return o(!a.f.call(e,t),e[t])}},"0b25":function(e,t,n){var r=n("a691"),a=n("50c4");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=a(t);if(t!==n)throw RangeError("Wrong length or index");return n}},"0cb2":function(e,t,n){var r=n("7b0b"),a=Math.floor,o="".replace,i=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,c,l,u){var d=n+e.length,p=c.length,f=s;return void 0!==l&&(l=r(l),f=i),o.call(u,f,(function(r,o){var i;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(d);case"<":i=l[o.slice(1,-1)];break;default:var s=+o;if(0===s)return r;if(s>p){var u=a(s/10);return 0===u?r:u<=p?void 0===c[u-1]?o.charAt(1):c[u-1]+o.charAt(1):r}i=c[s-1]}return void 0===i?"":i}))}},"0ccb":function(e,t,n){var r=n("50c4"),a=n("1148"),o=n("1d80"),i=Math.ceil,s=function(e){return function(t,n,s){var c,l,u=String(o(t)),d=u.length,p=void 0===s?" ":String(s),f=r(n);return f<=d||""==p?u:(c=f-d,(l=a.call(p,i(c/p.length))).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"),a=n("d039"),o=n("cc12");e.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d03":function(e,t,n){var r=n("6eeb"),a=Date.prototype,o="Invalid Date",i="toString",s=a.toString,c=a.getTime;new Date(NaN)+""!=o&&r(a,i,(function(){var e=c.call(this);return e==e?s.call(this):o}))},"0d3b":function(e,t,n){var r=n("d039"),a=n("b622"),o=n("c430"),i=a("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})),o&&!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}))},"107c":function(e,t,n){var r=n("d039");e.exports=r((function(){var e=RegExp("(?<a>b)","string".charAt(5));return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},1148:function(e,t,n){"use strict";var r=n("a691"),a=n("1d80");e.exports=function(e){var t=String(a(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(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"),a=n("d58f").left,o=n("a640"),i=n("2d00"),s=n("605d");r({target:"Array",proto:!0,forced:!o("reduce")||!s&&i>79&&i<83},{reduce:function(e){return a(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},1448:function(e,t,n){var r=n("ebb5").aTypedArrayConstructor,a=n("4840");e.exports=function(e,t){for(var n=a(e,e.constructor),o=0,i=t.length,s=new(r(n))(i);i>o;)s[o]=t[o++];return s}},"145e":function(e,t,n){"use strict";var r=n("7b0b"),a=n("23cb"),o=n("50c4"),i=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=o(n.length),c=a(e,s),l=a(t,s),u=arguments.length>2?arguments[2]:void 0,d=i((void 0===u?s:a(u,s))-l,s-c),p=1;for(l<c&&c<l+d&&(p=-1,l+=d-1,c+=d-1);d-- >0;)l in n?n[c]=n[l]:delete n[c],c+=p,l+=p;return n}},"14c3":function(e,t,n){var r=n("c6b6"),a=n("9263");e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return a.call(e,t)}},"159b":function(e,t,n){var r=n("da84"),a=n("fdbc"),o=n("17c2"),i=n("9112");for(var s in a){var c=r[s],l=c&&c.prototype;if(l&&l.forEach!==o)try{i(l,"forEach",o)}catch(e){l.forEach=o}}},1652:function(e,t,n){"use strict";t.__esModule=!0,t.stateify=t.TokenState=t.CharacterState=void 0;var r=n("254c");var a=function(e){this.j=[],this.T=e||null};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],a=n[1];if(this.test(e,r))return a}return this.defaultTransition},accepts:function(){return!!this.T},test:function(e,t){return e===t},emit:function(){return this.T}};var o=(0,r.inherits)(a,(function(e){this.j=[],this.T=e||null}),{test:function(e,t){return e===t||t instanceof RegExp&&t.test(e)}}),i=(0,r.inherits)(a,(function(e){this.j=[],this.T=e||null}),{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}});t.CharacterState=o,t.TokenState=i,t.stateify=function(e,t,n,r){for(var a=0,i=e.length,s=t,c=[],l=void 0;a<i&&(l=s.next(e[a]));)s=l,a++;if(a>=i)return[];for(;a<i-1;)l=new o(r),c.push(l),s.on(e[a],l),s=l,a++;return l=new o(n),c.push(l),s.on(e[i-1],l),c}},"170b":function(e,t,n){"use strict";var r=n("ebb5"),a=n("50c4"),o=n("23cb"),i=n("4840"),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=s(this),r=n.length,c=o(e,r);return new(i(n,n.constructor))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,a((void 0===t?r:o(t,r))-c))}))},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,a=n("a640")("forEach");e.exports=a?[].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=function(){var e=navigator.userAgent||navigator.vendor||window.opera||null;if(!e)throw new Error("Failed to look for user agent information.");return e}(),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 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")("iterator"),a=!1;try{var o=0,i={next:function(){return{done:!!o++}},return:function(){a=!0}};i[r]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}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"),a=n("83ab");r({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperties:n("37e8")})},"1d80":function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,n){var r=n("d039"),a=n("b622"),o=n("2d00"),i=a("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"219c":function(e,t,n){"use strict";var r=n("ebb5"),a=n("da84"),o=n("d039"),i=n("1c0b"),s=n("50c4"),c=n("addb"),l=n("04d1"),u=n("d998"),d=n("2d00"),p=n("512c"),f=r.aTypedArray,h=r.exportTypedArrayMethod,m=a.Uint16Array,g=m&&m.prototype.sort,v=!!g&&!o((function(){var e=new m(2);e.sort(null),e.sort({})})),A=!!g&&!o((function(){if(d)return d<74;if(l)return l<67;if(u)return!0;if(p)return p<602;var e,t,n=new m(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(n.sort((function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));h("sort",(function(e){var t=this;if(void 0!==e&&i(e),A)return g.call(t,e);f(t);var n,r=s(t.length),a=Array(r);for(n=0;n<r;n++)a[n]=t[n];for(a=c(t,function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e)),n=0;n<r;n++)t[n]=a[n];return t}),!A||v)},2266:function(e,t,n){var r=n("825a"),a=n("e95a"),o=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,p,f,h,m,g,v=n&&n.that,A=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),y=i(t,v,1+A+b),x=function(e){return u&&c(u),new l(!0,e)},w=function(e){return A?(r(e),b?y(e[0],e[1],x):y(e[0],e[1])):b?y(e,x):y(e)};if(_)u=e;else{if("function"!=typeof(d=s(e)))throw TypeError("Target is not iterable");if(a(d)){for(p=0,f=o(e.length);f>p;p++)if((h=w(e[p]))&&h instanceof l)return h;return new l(!1)}u=d.call(e)}for(m=u.next;!(g=m.call(u)).done;){try{h=w(g.value)}catch(e){throw c(u),e}if("object"==typeof h&&h&&h instanceof l)return h}return new l(!1)}},2315:function(e,t,n){"use strict";var r=n("23e7"),a=n("857a");r({target:"String",proto:!0,forced:n("af03")("strike")},{strike:function(){return a(this,"strike","","")}})},"23cb":function(e,t,n){var r=n("a691"),a=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?a(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),a=n("06cf").f,o=n("9112"),i=n("6eeb"),s=n("ce4e"),c=n("e893"),l=n("94ca");e.exports=function(e,t){var n,u,d,p,f,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in t){if(p=t[u],d=e.noTargetGet?(f=a(n,u))&&f.value:n[u],!l(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),i(n,u,p,e)}}},"241c":function(e,t,n){var r=n("ca84"),a=n("7839").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},2532:function(e,t,n){"use strict";var r=n("23e7"),a=n("5a34"),o=n("1d80");r({target:"String",proto:!0,forced:!n("ab13")("includes")},{includes:function(e){return!!~String(o(this)).indexOf(a(e),arguments.length>1?arguments[1]:void 0)}})},"254c":function(e,t,n){"use strict";t.__esModule=!0,t.inherits=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.create(e.prototype);for(var a in n)r[a]=n[a];return r.constructor=t,t.prototype=r,t}},"25a1":function(e,t,n){"use strict";var r=n("ebb5"),a=n("d58f").right,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){return a(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},"25f0":function(e,t,n){"use strict";var r=n("6eeb"),a=n("825a"),o=n("d039"),i=n("ad6d"),s="toString",c=RegExp.prototype,l=c.toString,u=o((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),d=l.name!=s;(u||d)&&r(RegExp.prototype,s,(function(){var e=a(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in c)?i.call(e):n)}),{unsafe:!0})},2626:function(e,t,n){"use strict";var r=n("d066"),a=n("9bf2"),o=n("b622"),i=n("83ab"),s=o("species");e.exports=function(e){var t=r(e),n=a.f;i&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},"277d":function(e,t,n){n("23e7")({target:"Array",stat:!0},{isArray:n("e8b5")})},2954:function(e,t,n){"use strict";var r=n("ebb5"),a=n("4840"),o=n("d039"),i=r.aTypedArray,s=r.aTypedArrayConstructor,c=r.exportTypedArrayMethod,l=[].slice;c("slice",(function(e,t){for(var n=l.call(i(this),e,t),r=a(this,this.constructor),o=0,c=n.length,u=new(s(r))(c);c>o;)u[o]=n[o++];return u}),o((function(){new Int8Array(1).slice()})))},"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}},"2b3d":function(e,t,n){"use strict";n("3ca3");var r,a=n("23e7"),o=n("83ab"),i=n("0d3b"),s=n("da84"),c=n("37e8"),l=n("6eeb"),u=n("19aa"),d=n("5135"),p=n("60da"),f=n("4df4"),h=n("6547").codeAt,m=n("5fb2"),g=n("d44e"),v=n("9861"),A=n("69f3"),_=s.URL,b=v.URLSearchParams,y=v.getState,x=A.set,w=A.getterFor("URL"),C=Math.floor,k=Math.pow,B="Invalid scheme",S="Invalid host",M="Invalid port",E=/[A-Za-z]/,T=/[\d+-.A-Za-z]/,R=/\d/,L=/^0x/i,O=/^[0-7]+$/,j=/^\d+$/,I=/^[\dA-Fa-f]+$/,D=/[\0\t\n\r #%/:<>?@[\\\]^|]/,P=/[\0\t\n\r #/:<>?@[\\\]^|]/,N=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,H=/[\t\n\r]/g,q=function(e,t){var n,r,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return S;if(!(n=U(t.slice(1,-1))))return S;e.host=n}else if(Z(e)){if(t=m(t),D.test(t))return S;if(null===(n=F(t)))return S;e.host=n}else{if(P.test(t))return S;for(n="",r=f(t),a=0;a<r.length;a++)n+=G(r[a],z);e.host=n}},F=function(e){var t,n,r,a,o,i,s,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(a=c[r]))return e;if(o=10,a.length>1&&"0"==a.charAt(0)&&(o=L.test(a)?16:8,a=a.slice(8==o?1:2)),""===a)i=0;else{if(!(10==o?j:8==o?O:I).test(a))return e;i=parseInt(a,o)}n.push(i)}for(r=0;r<t;r++)if(i=n[r],r==t-1){if(i>=k(256,5-t))return null}else if(i>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*k(256,3-r);return s},U=function(e){var t,n,r,a,o,i,s,c=[0,0,0,0,0,0,0,0],l=0,u=null,d=0,p=function(){return e.charAt(d)};if(":"==p()){if(":"!=e.charAt(1))return;d+=2,u=++l}for(;p();){if(8==l)return;if(":"!=p()){for(t=n=0;n<4&&I.test(p());)t=16*t+parseInt(p(),16),d++,n++;if("."==p()){if(0==n)return;if(d-=n,l>6)return;for(r=0;p();){if(a=null,r>0){if(!("."==p()&&r<4))return;d++}if(!R.test(p()))return;for(;R.test(p());){if(o=parseInt(p(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;d++}c[l]=256*c[l]+a,2!=++r&&4!=r||l++}if(4!=r)return;break}if(":"==p()){if(d++,!p())return}else if(p())return;c[l++]=t}else{if(null!==u)return;d++,u=++l}}if(null!==u)for(i=l-u,l=7;0!=l&&i>0;)s=c[l],c[l--]=c[u+i-1],c[u+--i]=s;else if(8!=l)return;return c},$=function(e){var t,n,r,a;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=C(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,a=0,o=0;o<8;o++)0!==e[o]?(a>n&&(t=r,n=a),r=null,a=0):(null===r&&(r=o),++a);return a>n&&(t=r,n=a),t}(e),n=0;n<8;n++)a&&0===e[n]||(a&&(a=!1),r===n?(t+=n?":":"::",a=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},z={},V=p({},z,{" ":1,'"':1,"<":1,">":1,"`":1}),Y=p({},V,{"#":1,"?":1,"{":1,"}":1}),W=p({},Y,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),G=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},Z=function(e){return d(X,e.scheme)},K=function(e){return""!=e.username||""!=e.password},Q=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},J=function(e,t){var n;return 2==e.length&&E.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ee=function(e){var t;return e.length>1&&J(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&J(t[0],!0)||t.pop()},ne=function(e){return"."===e||"%2e"===e.toLowerCase()},re={},ae={},oe={},ie={},se={},ce={},le={},ue={},de={},pe={},fe={},he={},me={},ge={},ve={},Ae={},_e={},be={},ye={},xe={},we={},Ce=function(e,t,n,a){var o,i,s,c,l,u=n||re,p=0,h="",m=!1,g=!1,v=!1;for(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(N,"")),t=t.replace(H,""),o=f(t);p<=o.length;){switch(i=o[p],u){case re:if(!i||!E.test(i)){if(n)return B;u=oe;continue}h+=i.toLowerCase(),u=ae;break;case ae:if(i&&(T.test(i)||"+"==i||"-"==i||"."==i))h+=i.toLowerCase();else{if(":"!=i){if(n)return B;h="",u=oe,p=0;continue}if(n&&(Z(e)!=d(X,h)||"file"==h&&(K(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(Z(e)&&X[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?u=ge:Z(e)&&a&&a.scheme==e.scheme?u=ie:Z(e)?u=ue:"/"==o[p+1]?(u=se,p++):(e.cannotBeABaseURL=!0,e.path.push(""),u=ye)}break;case oe:if(!a||a.cannotBeABaseURL&&"#"!=i)return B;if(a.cannotBeABaseURL&&"#"==i){e.scheme=a.scheme,e.path=a.path.slice(),e.query=a.query,e.fragment="",e.cannotBeABaseURL=!0,u=we;break}u="file"==a.scheme?ge:ce;continue;case ie:if("/"!=i||"/"!=o[p+1]){u=ce;continue}u=de,p++;break;case se:if("/"==i){u=pe;break}u=be;continue;case ce:if(e.scheme=a.scheme,i==r)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query;else if("/"==i||"\\"==i&&Z(e))u=le;else if("?"==i)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query="",u=xe;else{if("#"!=i){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.path.pop(),u=be;continue}e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query,e.fragment="",u=we}break;case le:if(!Z(e)||"/"!=i&&"\\"!=i){if("/"!=i){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,u=be;continue}u=pe}else u=de;break;case ue:if(u=de,"/"!=i||"/"!=h.charAt(p+1))continue;p++;break;case de:if("/"!=i&&"\\"!=i){u=pe;continue}break;case pe:if("@"==i){m&&(h="%40"+h),m=!0,s=f(h);for(var A=0;A<s.length;A++){var _=s[A];if(":"!=_||v){var b=G(_,W);v?e.password+=b:e.username+=b}else v=!0}h=""}else if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&Z(e)){if(m&&""==h)return"Invalid authority";p-=f(h).length+1,h="",u=fe}else h+=i;break;case fe:case he:if(n&&"file"==e.scheme){u=Ae;continue}if(":"!=i||g){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&Z(e)){if(Z(e)&&""==h)return S;if(n&&""==h&&(K(e)||null!==e.port))return;if(c=q(e,h))return c;if(h="",u=_e,n)return;continue}"["==i?g=!0:"]"==i&&(g=!1),h+=i}else{if(""==h)return S;if(c=q(e,h))return c;if(h="",u=me,n==he)return}break;case me:if(!R.test(i)){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&Z(e)||n){if(""!=h){var y=parseInt(h,10);if(y>65535)return M;e.port=Z(e)&&y===X[e.scheme]?null:y,h=""}if(n)return;u=_e;continue}return M}h+=i;break;case ge:if(e.scheme="file","/"==i||"\\"==i)u=ve;else{if(!a||"file"!=a.scheme){u=be;continue}if(i==r)e.host=a.host,e.path=a.path.slice(),e.query=a.query;else if("?"==i)e.host=a.host,e.path=a.path.slice(),e.query="",u=xe;else{if("#"!=i){ee(o.slice(p).join(""))||(e.host=a.host,e.path=a.path.slice(),te(e)),u=be;continue}e.host=a.host,e.path=a.path.slice(),e.query=a.query,e.fragment="",u=we}}break;case ve:if("/"==i||"\\"==i){u=Ae;break}a&&"file"==a.scheme&&!ee(o.slice(p).join(""))&&(J(a.path[0],!0)?e.path.push(a.path[0]):e.host=a.host),u=be;continue;case Ae:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&J(h))u=be;else if(""==h){if(e.host="",n)return;u=_e}else{if(c=q(e,h))return c;if("localhost"==e.host&&(e.host=""),n)return;h="",u=_e}continue}h+=i;break;case _e:if(Z(e)){if(u=be,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=r&&(u=be,"/"!=i))continue}else e.fragment="",u=we;else e.query="",u=xe;break;case be:if(i==r||"/"==i||"\\"==i&&Z(e)||!n&&("?"==i||"#"==i)){if(".."===(l=(l=h).toLowerCase())||"%2e."===l||".%2e"===l||"%2e%2e"===l?(te(e),"/"==i||"\\"==i&&Z(e)||e.path.push("")):ne(h)?"/"==i||"\\"==i&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&J(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(i==r||"?"==i||"#"==i))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==i?(e.query="",u=xe):"#"==i&&(e.fragment="",u=we)}else h+=G(i,Y);break;case ye:"?"==i?(e.query="",u=xe):"#"==i?(e.fragment="",u=we):i!=r&&(e.path[0]+=G(i,z));break;case xe:n||"#"!=i?i!=r&&("'"==i&&Z(e)?e.query+="%27":e.query+="#"==i?"%23":G(i,z)):(e.fragment="",u=we);break;case we:i!=r&&(e.fragment+=G(i,V))}p++}},ke=function(e){var t,n,r=u(this,ke,"URL"),a=arguments.length>1?arguments[1]:void 0,i=String(e),s=x(r,{type:"URL"});if(void 0!==a)if(a instanceof ke)t=w(a);else if(n=Ce(t={},String(a)))throw TypeError(n);if(n=Ce(s,i,null,t))throw TypeError(n);var c=s.searchParams=new b,l=y(c);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(c)||null},o||(r.href=Se.call(r),r.origin=Me.call(r),r.protocol=Ee.call(r),r.username=Te.call(r),r.password=Re.call(r),r.host=Le.call(r),r.hostname=Oe.call(r),r.port=je.call(r),r.pathname=Ie.call(r),r.search=De.call(r),r.searchParams=Pe.call(r),r.hash=Ne.call(r))},Be=ke.prototype,Se=function(){var e=w(this),t=e.scheme,n=e.username,r=e.password,a=e.host,o=e.port,i=e.path,s=e.query,c=e.fragment,l=t+":";return null!==a?(l+="//",K(e)&&(l+=n+(r?":"+r:"")+"@"),l+=$(a),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?i[0]:i.length?"/"+i.join("/"):"",null!==s&&(l+="?"+s),null!==c&&(l+="#"+c),l},Me=function(){var e=w(this),t=e.scheme,n=e.port;if("blob"==t)try{return new ke(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Z(e)?t+"://"+$(e.host)+(null!==n?":"+n:""):"null"},Ee=function(){return w(this).scheme+":"},Te=function(){return w(this).username},Re=function(){return w(this).password},Le=function(){var e=w(this),t=e.host,n=e.port;return null===t?"":null===n?$(t):$(t)+":"+n},Oe=function(){var e=w(this).host;return null===e?"":$(e)},je=function(){var e=w(this).port;return null===e?"":String(e)},Ie=function(){var e=w(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},De=function(){var e=w(this).query;return e?"?"+e:""},Pe=function(){return w(this).searchParams},Ne=function(){var e=w(this).fragment;return e?"#"+e:""},He=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&c(Be,{href:He(Se,(function(e){var t=w(this),n=String(e),r=Ce(t,n);if(r)throw TypeError(r);y(t.searchParams).updateSearchParams(t.query)})),origin:He(Me),protocol:He(Ee,(function(e){var t=w(this);Ce(t,String(e)+":",re)})),username:He(Te,(function(e){var t=w(this),n=f(String(e));if(!Q(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=G(n[r],W)}})),password:He(Re,(function(e){var t=w(this),n=f(String(e));if(!Q(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=G(n[r],W)}})),host:He(Le,(function(e){var t=w(this);t.cannotBeABaseURL||Ce(t,String(e),fe)})),hostname:He(Oe,(function(e){var t=w(this);t.cannotBeABaseURL||Ce(t,String(e),he)})),port:He(je,(function(e){var t=w(this);Q(t)||(""==(e=String(e))?t.port=null:Ce(t,e,me))})),pathname:He(Ie,(function(e){var t=w(this);t.cannotBeABaseURL||(t.path=[],Ce(t,e+"",_e))})),search:He(De,(function(e){var t=w(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ce(t,e,xe)),y(t.searchParams).updateSearchParams(t.query)})),searchParams:He(Pe),hash:He(Ne,(function(e){var t=w(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ce(t,e,we)):t.fragment=null}))}),l(Be,"toJSON",(function(){return Se.call(this)}),{enumerable:!0}),l(Be,"toString",(function(){return Se.call(this)}),{enumerable:!0}),_){var qe=_.createObjectURL,Fe=_.revokeObjectURL;qe&&l(ke,"createObjectURL",(function(e){return qe.apply(_,arguments)})),Fe&&l(ke,"revokeObjectURL",(function(e){return Fe.apply(_,arguments)}))}g(ke,"URL"),a({global:!0,forced:!i,sham:!o},{URL:ke})},"2ca0":function(e,t,n){"use strict";var r,a=n("23e7"),o=n("06cf").f,i=n("50c4"),s=n("5a34"),c=n("1d80"),l=n("ab13"),u=n("c430"),d="".startsWith,p=Math.min,f=l("startsWith");a({target:"String",proto:!0,forced:!!(u||f||(r=o(String.prototype,"startsWith"),!r||r.writable))&&!f},{startsWith:function(e){var t=String(c(this));s(e);var n=i(p(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return d?d.call(t,r,n):t.slice(n,n+r.length)===r}})},"2cf4":function(e,t,n){var r,a,o,i=n("da84"),s=n("d039"),c=n("0366"),l=n("1be4"),u=n("cc12"),d=n("1cdc"),p=n("605d"),f=i.location,h=i.setImmediate,m=i.clearImmediate,g=i.process,v=i.MessageChannel,A=i.Dispatch,_=0,b={},y="onreadystatechange",x=function(e){if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},w=function(e){return function(){x(e)}},C=function(e){x(e.data)},k=function(e){i.postMessage(e+"",f.protocol+"//"+f.host)};h&&m||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++_]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(_),_},m=function(e){delete b[e]},p?r=function(e){g.nextTick(w(e))}:A&&A.now?r=function(e){A.now(w(e))}:v&&!d?(o=(a=new v).port2,a.port1.onmessage=C,r=c(o.postMessage,o,1)):i.addEventListener&&"function"==typeof postMessage&&!i.importScripts&&f&&"file:"!==f.protocol&&!s(k)?(r=k,i.addEventListener("message",C,!1)):r=y in u("script")?function(e){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),x(e)}}:function(e){setTimeout(w(e),0)}),e.exports={set:h,clear:m}},"2d00":function(e,t,n){var r,a,o=n("da84"),i=n("342f"),s=o.process,c=s&&s.versions,l=c&&c.v8;l?a=(r=l.split("."))[0]<4?1:r[0]+r[1]:i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(a=r[1]),e.exports=a&&+a},"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"),a=s(n("316e")),o=s(n("b7fe")),i=s(n("4128"));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}Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var c=function(e){return i.run(o.run(e))};t.find=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=c(e),r=[],a=0;a<n.length;a++){var o=n[a];!o.isLink||t&&o.type!==t||r.push(o.toObject())}return r},t.inherits=r.inherits,t.options=a,t.parser=i,t.scanner=o,t.test=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=c(e);return 1===n.length&&n[0].isLink&&(!t||n[0].type===t)},t.tokenize=c},"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},a={defaultProtocol:"http",events:null,format:i,formatHref:i,nl2br:!1,tagName:"a",target:function(e,t){return"url"===t?"_blank":null},validate:!0,ignoreTags:[],attributes:null,className:"linkified"};function o(e){e=e||{},this.defaultProtocol=e.hasOwnProperty("defaultProtocol")?e.defaultProtocol:a.defaultProtocol,this.events=e.hasOwnProperty("events")?e.events:a.events,this.format=e.hasOwnProperty("format")?e.format:a.format,this.formatHref=e.hasOwnProperty("formatHref")?e.formatHref:a.formatHref,this.nl2br=e.hasOwnProperty("nl2br")?e.nl2br:a.nl2br,this.tagName=e.hasOwnProperty("tagName")?e.tagName:a.tagName,this.target=e.hasOwnProperty("target")?e.target:a.target,this.validate=e.hasOwnProperty("validate")?e.validate:a.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||a.attributes,this.className=e.hasOwnProperty("className")?e.className:e.linkClass||a.className;for(var t=e.hasOwnProperty("ignoreTags")?e.ignoreTags:a.ignoreTags,n=0;n<t.length;n++)this.ignoreTags.push(t[n].toUpperCase())}function i(e){return e}t.defaults=a,t.Options=o,t.contains=function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1},o.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 o=void 0,i=this[e];if(!i)return i;switch(void 0===i?"undefined":r(i)){case"function":return i(t,n.type);case"object":return"function"==typeof(o=i.hasOwnProperty(n.type)?i[n.type]:a[e])?o(t,n.type):o}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"),a=n("e58c"),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){return a.apply(o(this),arguments)}))},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},"35a1":function(e,t,n){var r=n("f5df"),a=n("3f8c"),o=n("b622")("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||a[r(e)]}},"37e8":function(e,t,n){var r=n("83ab"),a=n("9bf2"),o=n("825a"),i=n("df75");e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=i(t),s=r.length,c=0;s>c;)a.f(e,n=r[c++],t[n]);return e}},"3a7b":function(e,t,n){"use strict";var r=n("ebb5"),a=n("b727").findIndex,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},"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}},"3c5d":function(e,t,n){"use strict";var r=n("ebb5"),a=n("50c4"),o=n("182d"),i=n("7b0b"),s=n("d039"),c=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(e){c(this);var t=o(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=i(e),s=a(r.length),l=0;if(s+t>n)throw RangeError("Wrong length");for(;l<s;)this[t+l]=r[l++]}),s((function(){new Int8Array(1).set({})})))},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,a=n("69f3"),o=n("7dd0"),i="String Iterator",s=a.set,c=a.getterFor(i);o(String,"String",(function(e){s(this,{type:i,string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,a=t.index;return a>=n.length?{value:void 0,done:!0}:(e=r(n,a),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},"3fcc":function(e,t,n){"use strict";var r=n("ebb5"),a=n("b727").map,o=n("4840"),i=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("map",(function(e){return a(i(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(s(o(e,e.constructor)))(t)}))}))},"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"),a=n("bea1"),o=function(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}(a),i=n("7656");var s=function(e){return new r.TokenState(e)},c=s(),l=s(),u=s(),d=s(),p=s(),f=s(),h=s(),m=s(a.URL),g=s(),v=s(a.URL),A=s(a.URL),_=s(),b=s(),y=s(),x=s(),w=s(),C=s(a.URL),k=s(a.URL),B=s(a.URL),S=s(a.URL),M=s(),E=s(),T=s(),R=s(),L=s(),O=s(),j=s(a.EMAIL),I=s(),D=s(a.EMAIL),P=s(a.MAILTOEMAIL),N=s(),H=s(),q=s(),F=s(),U=s(a.NL);c.on(i.NL,U).on(i.PROTOCOL,l).on(i.MAILTO,u).on(i.SLASH,d),l.on(i.SLASH,d),d.on(i.SLASH,p),c.on(i.TLD,f).on(i.DOMAIN,f).on(i.LOCALHOST,m).on(i.NUM,f),p.on(i.TLD,A).on(i.DOMAIN,A).on(i.NUM,A).on(i.LOCALHOST,A),f.on(i.DOT,h),L.on(i.DOT,O),h.on(i.TLD,m).on(i.DOMAIN,f).on(i.NUM,f).on(i.LOCALHOST,f),O.on(i.TLD,j).on(i.DOMAIN,L).on(i.NUM,L).on(i.LOCALHOST,L),m.on(i.DOT,h),j.on(i.DOT,O),m.on(i.COLON,g).on(i.SLASH,A),g.on(i.NUM,v),v.on(i.SLASH,A),j.on(i.COLON,I),I.on(i.NUM,D);var $=[i.DOMAIN,i.AT,i.LOCALHOST,i.NUM,i.PLUS,i.POUND,i.PROTOCOL,i.SLASH,i.TLD,i.UNDERSCORE,i.SYM,i.AMPERSAND],z=[i.COLON,i.DOT,i.QUERY,i.PUNCTUATION,i.CLOSEBRACE,i.CLOSEBRACKET,i.CLOSEANGLEBRACKET,i.CLOSEPAREN,i.OPENBRACE,i.OPENBRACKET,i.OPENANGLEBRACKET,i.OPENPAREN];A.on(i.OPENBRACE,b).on(i.OPENBRACKET,y).on(i.OPENANGLEBRACKET,x).on(i.OPENPAREN,w),_.on(i.OPENBRACE,b).on(i.OPENBRACKET,y).on(i.OPENANGLEBRACKET,x).on(i.OPENPAREN,w),b.on(i.CLOSEBRACE,A),y.on(i.CLOSEBRACKET,A),x.on(i.CLOSEANGLEBRACKET,A),w.on(i.CLOSEPAREN,A),C.on(i.CLOSEBRACE,A),k.on(i.CLOSEBRACKET,A),B.on(i.CLOSEANGLEBRACKET,A),S.on(i.CLOSEPAREN,A),M.on(i.CLOSEBRACE,A),E.on(i.CLOSEBRACKET,A),T.on(i.CLOSEANGLEBRACKET,A),R.on(i.CLOSEPAREN,A),b.on($,C),y.on($,k),x.on($,B),w.on($,S),b.on(z,M),y.on(z,E),x.on(z,T),w.on(z,R),C.on($,C),k.on($,k),B.on($,B),S.on($,S),C.on(z,C),k.on(z,k),B.on(z,B),S.on(z,S),M.on($,C),E.on($,k),T.on($,B),R.on($,S),M.on(z,M),E.on(z,E),T.on(z,T),R.on(z,R),A.on($,A),_.on($,A),A.on(z,_),_.on(z,_),u.on(i.TLD,P).on(i.DOMAIN,P).on(i.NUM,P).on(i.LOCALHOST,P),P.on($,P).on(z,N),N.on($,P).on(z,N);var V=[i.DOMAIN,i.NUM,i.PLUS,i.POUND,i.QUERY,i.UNDERSCORE,i.SYM,i.AMPERSAND,i.TLD];f.on(V,H).on(i.AT,q),m.on(V,H).on(i.AT,q),h.on(V,H),H.on(V,H).on(i.AT,q).on(i.DOT,F),F.on(V,H),q.on(i.TLD,L).on(i.DOMAIN,L).on(i.LOCALHOST,j);t.State=r.TokenState,t.TOKENS=o,t.run=function(e){for(var t=e.length,n=0,r=[],o=[];n<t;){for(var i=c,s=null,l=null,u=0,d=null,p=-1;n<t&&!(s=i.next(e[n]));)o.push(e[n++]);for(;n<t&&(l=s||i.next(e[n]));)s=null,(i=l).accepts()?(p=0,d=i):p>=0&&p++,n++,u++;if(p<0)for(var f=n-u;f<n;f++)o.push(e[f]);else{o.length>0&&(r.push(new a.TEXT(o)),o=[]),n-=p,u-=p;var h=d.emit();r.push(new h(e.slice(n-u,n)))}}return o.length>0&&r.push(new a.TEXT(o)),r},t.start=c},4160:function(e,t,n){"use strict";var r=n("23e7"),a=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},"428f":function(e,t,n){var r=n("da84");e.exports=r},"44ad":function(e,t,n){var r=n("d039"),a=n("c6b6"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?o.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var r=n("b622"),a=n("7c73"),o=n("9bf2"),i=r("unscopables"),s=Array.prototype;null==s[i]&&o.f(s,i,{configurable:!0,value:a(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"),a=n("c6b6"),o=n("b622")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==a(e))}},"45fc":function(e,t,n){"use strict";var r=n("23e7"),a=n("b727").some;r({target:"Array",proto:!0,forced:!n("a640")("some")},{some:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},"466d":function(e,t,n){"use strict";var r=n("d784"),a=n("825a"),o=n("50c4"),i=n("1d80"),s=n("8aa5"),c=n("14c3");r("match",(function(e,t,n){return[function(t){var n=i(this),r=null==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,this,e);if(r.done)return r.value;var i=a(this),l=String(e);if(!i.global)return c(i,l);var u=i.unicode;i.lastIndex=0;for(var d,p=[],f=0;null!==(d=c(i,l));){var h=String(d[0]);p[f]=h,""===h&&(i.lastIndex=s(l,o(i.lastIndex),u)),f++}return 0===f?null:p}]}))},"46f3":function(e,t,n){"use strict";t.__esModule=!0,t.createTokenClass=function(){return function(e){e&&(this.v=e)}}},4795:function(e,t,n){var r=n("23e7"),a=n("da84"),o=n("342f"),i=[].slice,s=function(e){return function(t,n){var r=arguments.length>2,a=r?i.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,a)}:t,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(o)},{setTimeout:s(a.setTimeout),setInterval:s(a.setInterval)})},4840:function(e,t,n){var r=n("825a"),a=n("1c0b"),o=n("b622")("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||null==(n=r(i)[o])?t:a(n)}},4930:function(e,t,n){var r=n("2d00"),a=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"498a":function(e,t,n){"use strict";var r=n("23e7"),a=n("58a8").trim;r({target:"String",proto:!0,forced:n("c8d2")("trim")},{trim:function(){return a(this)}})},"4c1d":function(e,t,n){"use strict";n.r(t),n.d(t,"roomsValidation",(function(){return a})),n.d(t,"partcipantsValidation",(function(){return o})),n.d(t,"messagesValidation",(function(){return i}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("e260"),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)}n("a623"),n("277d"),n("7db0");function a(e){if(!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)}))}(e,[{key:"roomId",type:["string","number"]},{key:"roomName",type:["string"]},{key:"users",type:["array"]}]))throw new Error("Rooms object is not valid! Must contain roomId[String, Number], roomName[String] and users[Array]")}function o(e){if(!function(e,t){return t.every((function(t){return t.type.find((function(n){return n===r(e[t.key])}))&&s(e,t.key)}))}(e,[{key:"_id",type:["string","number"]},{key:"username",type:["string"]}]))throw new Error("Participants object is not valid! Must contain _id[String, Number] and username[String]")}function i(e){if(!function(e,t){return t.every((function(t){return t.type.find((function(n){return n===r(e[t.key])}))&&s(e,t.key)}))}(e,[{key:"_id",type:["string","number"]},{key:"content",type:["string","number"]},{key:"senderId",type:["string","number"]}]))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"),a=n("da84"),o=n("94ca"),i=n("7156"),s=n("9112"),c=n("9bf2").f,l=n("241c").f,u=n("44e7"),d=n("ad6d"),p=n("9f7f"),f=n("6eeb"),h=n("d039"),m=n("5135"),g=n("69f3").enforce,v=n("2626"),A=n("b622"),_=n("fce3"),b=n("107c"),y=A("match"),x=a.RegExp,w=x.prototype,C=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,k=/a/g,B=/a/g,S=new x(k)!==k,M=p.UNSUPPORTED_Y,E=r&&(!S||M||_||b||h((function(){return B[y]=!1,x(k)!=k||x(B)==B||"/a/i"!=x(k,"i")})));if(o("RegExp",E)){for(var T=function(e,t){var n,r,a,o,c,l,p=this instanceof T,f=u(e),h=void 0===t,v=[],A=e;if(!p&&f&&h&&e.constructor===T)return e;if((f||e instanceof T)&&(e=e.source,h&&(t="flags"in A?A.flags:d.call(A))),e=void 0===e?"":String(e),t=void 0===t?"":String(t),A=e,_&&"dotAll"in k&&(r=!!t&&t.indexOf("s")>-1)&&(t=t.replace(/s/g,"")),n=t,M&&"sticky"in k&&(a=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,"")),b&&(o=function(e){for(var t,n=e.length,r=0,a="",o=[],i={},s=!1,c=!1,l=0,u="";r<=n;r++){if("\\"===(t=e.charAt(r)))t+=e.charAt(++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:C.test(e.slice(r+1))&&(r+=2,c=!0),a+=t,l++;continue;case">"===t&&c:if(""===u||m(i,u))throw new SyntaxError("Invalid capture group name");i[u]=!0,o.push([u,l]),c=!1,u="";continue}c?u+=t:a+=t}return[a,o]}(e),e=o[0],v=o[1]),c=i(x(e,t),p?this:w,T),(r||a||v.length)&&(l=g(c),r&&(l.dotAll=!0,l.raw=T(function(e){for(var t,n=e.length,r=0,a="",o=!1;r<=n;r++)"\\"!==(t=e.charAt(r))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),a+=t):a+="[\\s\\S]":a+=t+e.charAt(++r);return a}(e),n)),a&&(l.sticky=!0),v.length&&(l.groups=v)),e!==A)try{s(c,"source",""===A?"(?:)":A)}catch(e){}return c},R=function(e){e in T||c(T,e,{configurable:!0,get:function(){return x[e]},set:function(t){x[e]=t}})},L=l(x),O=0;L.length>O;)R(L[O++]);w.constructor=T,T.prototype=w,f(a,"RegExp",T)}v("RegExp")},"4d64":function(e,t,n){var r=n("fc6a"),a=n("50c4"),o=n("23cb"),i=function(e){return function(t,n,i){var s,c=r(t),l=a(c.length),u=o(i,l);if(e&&n!=n){for(;l>u;)if((s=c[u++])!=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"),a=n("b727").filter;r({target:"Array",proto:!0,forced:!n("1dde")("filter")},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){"use strict";var r=n("0366"),a=n("7b0b"),o=n("9bdd"),i=n("e95a"),s=n("50c4"),c=n("8418"),l=n("35a1");e.exports=function(e){var t,n,u,d,p,f,h=a(e),m="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,A=void 0!==v,_=l(h),b=0;if(A&&(v=r(v,g>2?arguments[2]:void 0,2)),null==_||m==Array&&i(_))for(n=new m(t=s(h.length));t>b;b++)f=A?v(h[b],b):h[b],c(n,b,f);else for(p=(d=_.call(h)).next,n=new m;!(u=p.call(d)).done;b++)f=A?o(d,v,[u.value,b],!0):u.value,c(n,b,f);return n.length=b,n}},"4e82":function(e,t,n){"use strict";var r=n("23e7"),a=n("1c0b"),o=n("7b0b"),i=n("50c4"),s=n("d039"),c=n("addb"),l=n("a640"),u=n("04d1"),d=n("d998"),p=n("2d00"),f=n("512c"),h=[],m=h.sort,g=s((function(){h.sort(void 0)})),v=s((function(){h.sort(null)})),A=l("sort"),_=!s((function(){if(p)return p<70;if(!(u&&u>3)){if(d)return!0;if(f)return f<603;var e,t,n,r,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)h.push({k:t+r,v:n})}for(h.sort((function(e,t){return t.v-e.v})),r=0;r<h.length;r++)t=h[r].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}}));r({target:"Array",proto:!0,forced:g||!v||!A||!_},{sort:function(e){void 0!==e&&a(e);var t=o(this);if(_)return void 0===e?m.call(t):m.call(t,e);var n,r,s=[],l=i(t.length);for(r=0;r<l;r++)r in t&&s.push(t[r]);for(s=c(s,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:String(t)>String(n)?1:-1}}(e)),n=s.length,r=0;r<n;)t[r]=s[r++];for(;r<l;)delete t[r++];return t}})},"4fad":function(e,t,n){var r=n("23e7"),a=n("6f53").entries;r({target:"Object",stat:!0},{entries:function(e){return a(e)}})},"50c4":function(e,t,n){var r=n("a691"),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},"512c":function(e,t,n){var r=n("342f").match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},5135:function(e,t,n){var r=n("7b0b"),a={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return a.call(r(e),t)}},5319:function(e,t,n){"use strict";var r=n("d784"),a=n("d039"),o=n("825a"),i=n("50c4"),s=n("a691"),c=n("1d80"),l=n("8aa5"),u=n("0cb2"),d=n("14c3"),p=n("b622")("replace"),f=Math.max,h=Math.min,m="$0"==="a".replace(/./,"$0"),g=!!/./[p]&&""===/./[p]("a","$0");r("replace",(function(e,t,n){var r=g?"$":"$0";return[function(e,n){var r=c(this),a=null==e?void 0:e[p];return void 0!==a?a.call(e,r,n):t.call(String(r),e,n)},function(e,a){if("string"==typeof a&&-1===a.indexOf(r)&&-1===a.indexOf("$<")){var c=n(t,this,e,a);if(c.done)return c.value}var p=o(this),m=String(e),g="function"==typeof a;g||(a=String(a));var v=p.global;if(v){var A=p.unicode;p.lastIndex=0}for(var _=[];;){var b=d(p,m);if(null===b)break;if(_.push(b),!v)break;""===String(b[0])&&(p.lastIndex=l(m,i(p.lastIndex),A))}for(var y,x="",w=0,C=0;C<_.length;C++){b=_[C];for(var k=String(b[0]),B=f(h(s(b.index),m.length),0),S=[],M=1;M<b.length;M++)S.push(void 0===(y=b[M])?y:String(y));var E=b.groups;if(g){var T=[k].concat(S,B,m);void 0!==E&&T.push(E);var R=String(a.apply(void 0,T))}else R=u(k,m,B,S,E,a);B>=w&&(x+=m.slice(w,B)+R,w=B+k.length)}return x+m.slice(w)}]}),!!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!m||g)},5692:function(e,t,n){var r=n("c430"),a=n("c6cd");(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.15.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var r=n("d066"),a=n("241c"),o=n("7418"),i=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},5899:function(e,t){e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},"58a8":function(e,t,n){var r=n("1d80"),a="["+n("5899")+"]",o=RegExp("^"+a+a+"*"),i=RegExp(a+a+"*$"),s=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(o,"")),2&e&&(n=n.replace(i,"")),n}};e.exports={start:s(1),end:s(2),trim:s(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}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5f96":function(e,t,n){"use strict";var r=n("ebb5"),a=r.aTypedArray,o=r.exportTypedArrayMethod,i=[].join;o("join",(function(e){return i.apply(a(this),arguments)}))},"5fb2":function(e,t,n){"use strict";var r=2147483647,a=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",s=Math.floor,c=String.fromCharCode,l=function(e){return e+22+75*(e<26)},u=function(e,t,n){var r=0;for(e=n?s(e/700):e>>1,e+=s(e/t);e>455;r+=36)e=s(e/35);return s(r+36*e/(e+38))},d=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&a)<<10)+(1023&o)+65536):(t.push(a),n--)}else t.push(a)}return t}(e);var n,a,o=e.length,d=128,p=0,f=72;for(n=0;n<e.length;n++)(a=e[n])<128&&t.push(c(a));var h=t.length,m=h;for(h&&t.push("-");m<o;){var g=r;for(n=0;n<e.length;n++)(a=e[n])>=d&&a<g&&(g=a);var v=m+1;if(g-d>s((r-p)/v))throw RangeError(i);for(p+=(g-d)*v,d=g,n=0;n<e.length;n++){if((a=e[n])<d&&++p>r)throw RangeError(i);if(a==d){for(var A=p,_=36;;_+=36){var b=_<=f?1:_>=f+26?26:_-f;if(A<b)break;var y=A-b,x=36-b;t.push(c(l(b+y%x))),A=s(y/x)}t.push(c(l(A))),f=u(p,v,m==h),p=0,++m}}++p,++d}return t.join("")};e.exports=function(e){var t,n,r=[],i=e.toLowerCase().replace(o,".").split(".");for(t=0;t<i.length;t++)n=i[t],r.push(a.test(n)?"xn--"+d(n):n);return r.join(".")}},"605d":function(e,t,n){var r=n("c6b6"),a=n("da84");e.exports="process"==r(a.process)},6069:function(e,t){e.exports="object"==typeof window},"60bd":function(e,t,n){"use strict";var r=n("da84"),a=n("ebb5"),o=n("e260"),i=n("b622")("iterator"),s=r.Uint8Array,c=o.values,l=o.keys,u=o.entries,d=a.aTypedArray,p=a.exportTypedArrayMethod,f=s&&s.prototype[i],h=!!f&&("values"==f.name||null==f.name),m=function(){return c.call(d(this))};p("entries",(function(){return u.call(d(this))})),p("keys",(function(){return l.call(d(this))})),p("values",m,!h),p(i,m,!h)},"60da":function(e,t,n){"use strict";var r=n("83ab"),a=n("d039"),o=n("df75"),i=n("7418"),s=n("d1e7"),c=n("7b0b"),l=n("44ad"),u=Object.assign,d=Object.defineProperty;e.exports=!u||a((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(),a="abcdefghijklmnopqrst";return e[n]=7,a.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||o(u({},t)).join("")!=a}))?function(e,t){for(var n=c(e),a=arguments.length,u=1,d=i.f,p=s.f;a>u;)for(var f,h=l(arguments[u++]),m=d?o(h).concat(d(h)):o(h),g=m.length,v=0;g>v;)f=m[v++],r&&!p.call(h,f)||(n[f]=h[f]);return n}:u},"621a":function(e,t,n){"use strict";var r=n("da84"),a=n("83ab"),o=n("a981"),i=n("9112"),s=n("e2cc"),c=n("d039"),l=n("19aa"),u=n("a691"),d=n("50c4"),p=n("0b25"),f=n("77a7"),h=n("e163"),m=n("d2bb"),g=n("241c").f,v=n("9bf2").f,A=n("81d5"),_=n("d44e"),b=n("69f3"),y=b.get,x=b.set,w="ArrayBuffer",C="DataView",k="Wrong index",B=r.ArrayBuffer,S=B,M=r.DataView,E=M&&M.prototype,T=Object.prototype,R=r.RangeError,L=f.pack,O=f.unpack,j=function(e){return[255&e]},I=function(e){return[255&e,e>>8&255]},D=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},P=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},N=function(e){return L(e,23,4)},H=function(e){return L(e,52,8)},q=function(e,t){v(e.prototype,t,{get:function(){return y(this)[t]}})},F=function(e,t,n,r){var a=p(n),o=y(e);if(a+t>o.byteLength)throw R(k);var i=y(o.buffer).bytes,s=a+o.byteOffset,c=i.slice(s,s+t);return r?c:c.reverse()},U=function(e,t,n,r,a,o){var i=p(n),s=y(e);if(i+t>s.byteLength)throw R(k);for(var c=y(s.buffer).bytes,l=i+s.byteOffset,u=r(+a),d=0;d<t;d++)c[l+d]=u[o?d:t-d-1]};if(o){if(!c((function(){B(1)}))||!c((function(){new B(-1)}))||c((function(){return new B,new B(1.5),new B(NaN),B.name!=w}))){for(var $,z=(S=function(e){return l(this,S),new B(p(e))}).prototype=B.prototype,V=g(B),Y=0;V.length>Y;)($=V[Y++])in S||i(S,$,B[$]);z.constructor=S}m&&h(E)!==T&&m(E,T);var W=new M(new S(2)),G=E.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||s(E,{setInt8:function(e,t){G.call(this,e,t<<24>>24)},setUint8:function(e,t){G.call(this,e,t<<24>>24)}},{unsafe:!0})}else S=function(e){l(this,S,w);var t=p(e);x(this,{bytes:A.call(new Array(t),0),byteLength:t}),a||(this.byteLength=t)},M=function(e,t,n){l(this,M,C),l(e,S,C);var r=y(e).byteLength,o=u(t);if(o<0||o>r)throw R("Wrong offset");if(o+(n=void 0===n?r-o:d(n))>r)throw R("Wrong length");x(this,{buffer:e,byteLength:n,byteOffset:o}),a||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},a&&(q(S,"byteLength"),q(M,"buffer"),q(M,"byteLength"),q(M,"byteOffset")),s(M.prototype,{getInt8:function(e){return F(this,1,e)[0]<<24>>24},getUint8:function(e){return F(this,1,e)[0]},getInt16:function(e){var t=F(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=F(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return P(F(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return P(F(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return O(F(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return O(F(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){U(this,1,e,j,t)},setUint8:function(e,t){U(this,1,e,j,t)},setInt16:function(e,t){U(this,2,e,I,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){U(this,2,e,I,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){U(this,4,e,D,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){U(this,4,e,D,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){U(this,4,e,N,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){U(this,8,e,H,t,arguments.length>2?arguments[2]:void 0)}});_(S,w),_(M,C),e.exports={ArrayBuffer:S,DataView:M}},"649e":function(e,t,n){"use strict";var r=n("ebb5"),a=n("b727").some,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},"64e5":function(e,t,n){"use strict";var r=n("d039"),a=n("0ccb").start,o=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+a(o(t),r?6:4,0)+"-"+a(e.getUTCMonth()+1,2,0)+"-"+a(e.getUTCDate(),2,0)+"T"+a(e.getUTCHours(),2,0)+":"+a(e.getUTCMinutes(),2,0)+":"+a(e.getUTCSeconds(),2,0)+"."+a(n,3,0)+"Z"}:c},6547:function(e,t,n){var r=n("a691"),a=n("1d80"),o=function(e){return function(t,n){var o,i,s=String(a(t)),c=r(n),l=s.length;return c<0||c>=l?e?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===l||(i=s.charCodeAt(c+1))<56320||i>57343?e?s.charAt(c):o:e?s.slice(c,c+2):i-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(e,t,n){var r=n("861d"),a=n("e8b5"),o=n("b622")("species");e.exports=function(e,t){var n;return a(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!a(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"669f":function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.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=function(e){return e&&e.__esModule?e:{default:e}}(n(2)),a=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")};t.default={props:{search:{type:String,required:!1,default:""},emojiTable:{type:Object,required:!1,default:function(){return r.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(".*"+a(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,a=function(n){(r||!e.contains(n.target)&&e!==n.target)&&t.value(n)};e.__vueClickOutside__=a,document.addEventListener("click",a)}},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=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),a={install:function(e){e.component("emoji-picker",r.default)}};"undefined"!=typeof window&&(window.EmojiPicker=a),t.EmojiPicker=r.default,t.EmojiPickerPlugin=a,t.default=r.default},function(e,t){e.exports=function(e,t,n,r,a){var o,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(o=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),a?(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__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},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:o,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,a,o,i=n("7f9a"),s=n("da84"),c=n("861d"),l=n("9112"),u=n("5135"),d=n("c6cd"),p=n("f772"),f=n("d012"),h="Object already initialized",m=s.WeakMap;if(i||d.state){var g=d.state||(d.state=new m),v=g.get,A=g.has,_=g.set;r=function(e,t){if(A.call(g,e))throw new TypeError(h);return t.facade=e,_.call(g,e,t),t},a=function(e){return v.call(g,e)||{}},o=function(e){return A.call(g,e)}}else{var b=p("state");f[b]=!0,r=function(e,t){if(u(e,b))throw new TypeError(h);return t.facade=e,l(e,b,t),t},a=function(e){return u(e,b)?e[b]:{}},o=function(e){return u(e,b)}}e.exports={set:r,get:a,has:o,enforce:function(e){return o(e)?a(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},"6eba":function(e,t,n){n("23e7")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"6eeb":function(e,t,n){var r=n("da84"),a=n("9112"),o=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,p=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||a(n,"name",t),(c=u(n)).source||(c.source=d.join("string"==typeof t?t:""))),e!==r?(l?!f&&e[t]&&(p=!0):delete e[t],p?e[t]=n:a(e,t,n)):p?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"),a=n("df75"),o=n("fc6a"),i=n("d1e7").f,s=function(e){return function(t){for(var n,s=o(t),c=a(s),l=c.length,u=0,d=[];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)}},7156:function(e,t,n){var r=n("861d"),a=n("d2bb");e.exports=function(e,t,n){var o,i;return a&&"function"==typeof(o=t.constructor)&&o!==n&&r(i=o.prototype)&&i!==n.prototype&&a(e,i),e}},"72f7":function(e,t,n){"use strict";var r=n("ebb5").exportTypedArrayMethod,a=n("d039"),o=n("da84").Uint8Array,i=o&&o.prototype||{},s=[].toString,c=[].join;a((function(){s.call({})}))&&(s=function(){return c.call(this)});var l=i.toString!=s;r("toString",s,l)},"735e":function(e,t,n){"use strict";var r=n("ebb5"),a=n("81d5"),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){return a.apply(o(this),arguments)}))},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,n){var r=n("428f"),a=n("5135"),o=n("e538"),i=n("9bf2").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});a(t,e)||i(t,e,{value:o.f(e)})}},"74e8":function(e,t,n){"use strict";var r=n("23e7"),a=n("da84"),o=n("83ab"),i=n("8aa7"),s=n("ebb5"),c=n("621a"),l=n("19aa"),u=n("5c6c"),d=n("9112"),p=n("50c4"),f=n("0b25"),h=n("182d"),m=n("c04e"),g=n("5135"),v=n("f5df"),A=n("861d"),_=n("7c73"),b=n("d2bb"),y=n("241c").f,x=n("a078"),w=n("b727").forEach,C=n("2626"),k=n("9bf2"),B=n("06cf"),S=n("69f3"),M=n("7156"),E=S.get,T=S.set,R=k.f,L=B.f,O=Math.round,j=a.RangeError,I=c.ArrayBuffer,D=c.DataView,P=s.NATIVE_ARRAY_BUFFER_VIEWS,N=s.TYPED_ARRAY_TAG,H=s.TypedArray,q=s.TypedArrayPrototype,F=s.aTypedArrayConstructor,U=s.isTypedArray,$="BYTES_PER_ELEMENT",z="Wrong length",V=function(e,t){for(var n=0,r=t.length,a=new(F(e))(r);r>n;)a[n]=t[n++];return a},Y=function(e,t){R(e,t,{get:function(){return E(this)[t]}})},W=function(e){var t;return e instanceof I||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},G=function(e,t){return U(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},X=function(e,t){return G(e,t=m(t,!0))?u(2,e[t]):L(e,t)},Z=function(e,t,n){return!(G(e,t=m(t,!0))&&A(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?R(e,t,n):(e[t]=n.value,e)};o?(P||(B.f=X,k.f=Z,Y(q,"buffer"),Y(q,"byteOffset"),Y(q,"byteLength"),Y(q,"length")),r({target:"Object",stat:!0,forced:!P},{getOwnPropertyDescriptor:X,defineProperty:Z}),e.exports=function(e,t,n){var o=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",c="get"+e,u="set"+e,m=a[s],g=m,v=g&&g.prototype,k={},B=function(e,t){R(e,t,{get:function(){return function(e,t){var n=E(e);return n.view[c](t*o+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var a=E(e);n&&(r=(r=O(r))<0?0:r>255?255:255&r),a.view[u](t*o+a.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};P?i&&(g=t((function(e,t,n,r){return l(e,g,s),M(A(t)?W(t)?void 0!==r?new m(t,h(n,o),r):void 0!==n?new m(t,h(n,o)):new m(t):U(t)?V(g,t):x.call(g,t):new m(f(t)),e,g)})),b&&b(g,H),w(y(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 a,i,c,u=0,d=0;if(A(t)){if(!W(t))return U(t)?V(g,t):x.call(g,t);a=t,d=h(n,o);var m=t.byteLength;if(void 0===r){if(m%o)throw j(z);if((i=m-d)<0)throw j(z)}else if((i=p(r)*o)+d>m)throw j(z);c=i/o}else c=f(t),a=new I(i=c*o);for(T(e,{buffer:a,byteOffset:d,byteLength:i,length:c,view:new D(a)});u<c;)B(e,u++)})),b&&b(g,H),v=g.prototype=_(q)),v.constructor!==g&&d(v,"constructor",g),N&&d(v,N,s),k[s]=g,r({global:!0,forced:g!=m,sham:!P},k),$ in g||d(g,$,o),$ in v||d(v,$,o),C(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"),a=n("254c"),o=(0,r.createTokenClass)();function i(e){var t=e?{v:e}:{};return(0,a.inherits)(o,(0,r.createTokenClass)(),t)}o.prototype={toString:function(){return this.v+""}};var s=i(),c=i("@"),l=i(":"),u=i("."),d=i(),p=i(),f=i("\n"),h=i(),m=i("+"),g=i("#"),v=i(),A=i("mailto:"),_=i("?"),b=i("/"),y=i("_"),x=i(),w=i(),C=i(),k=i("{"),B=i("["),S=i("<"),M=i("("),E=i("}"),T=i("]"),R=i(">"),L=i(")"),O=i("&");t.Base=o,t.DOMAIN=s,t.AT=c,t.COLON=l,t.DOT=u,t.PUNCTUATION=d,t.LOCALHOST=p,t.NL=f,t.NUM=h,t.PLUS=m,t.POUND=g,t.QUERY=_,t.PROTOCOL=v,t.MAILTO=A,t.SLASH=b,t.UNDERSCORE=y,t.SYM=x,t.TLD=w,t.WS=C,t.OPENBRACE=k,t.OPENBRACKET=B,t.OPENANGLEBRACKET=S,t.OPENPAREN=M,t.CLOSEBRACE=E,t.CLOSEBRACKET=T,t.CLOSEANGLEBRACKET=R,t.CLOSEPAREN=L,t.AMPERSAND=O},"77a7":function(e,t){var n=Math.abs,r=Math.pow,a=Math.floor,o=Math.log,i=Math.LN2;e.exports={pack:function(e,t,s){var c,l,u,d=new Array(s),p=8*s-t-1,f=(1<<p)-1,h=f>>1,m=23===t?r(2,-24)-r(2,-77):0,g=e<0||0===e&&1/e<0?1:0,v=0;for((e=n(e))!=e||e===1/0?(l=e!=e?1:0,c=f):(c=a(o(e)/i),e*(u=r(2,-c))<1&&(c--,u*=2),(e+=c+h>=1?m/u:m*r(2,1-h))*u>=2&&(c++,u/=2),c+h>=f?(l=0,c=f):c+h>=1?(l=(e*u-1)*r(2,t),c+=h):(l=e*r(2,h-1)*r(2,t),c=0));t>=8;d[v++]=255&l,l/=256,t-=8);for(c=c<<t|l,p+=t;p>0;d[v++]=255&c,c/=256,p-=8);return d[--v]|=128*g,d},unpack:function(e,t){var n,a=e.length,o=8*a-t-1,i=(1<<o)-1,s=i>>1,c=o-7,l=a-1,u=e[l--],d=127&u;for(u>>=7;c>0;d=256*d+e[l],l--,c-=8);for(n=d&(1<<-c)-1,d>>=-c,c+=t;c>0;n=256*n+e[l],l--,c-=8);if(0===d)d=1-s;else{if(d===i)return n?NaN:u?-1/0:1/0;n+=r(2,t),d-=s}return(u?-1:1)*n*r(2,d-t)}}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a82":function(e,t,n){var r=n("23e7"),a=n("83ab");r({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperty:n("9bf2").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,a=n("825a"),o=n("37e8"),i=n("7839"),s=n("d012"),c=n("1be4"),l=n("cc12"),u=n("f772"),d=u("IE_PROTO"),p=function(){},f=function(e){return"<script>"+e+"</"+"script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=r?function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=l("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F);for(var n=i.length;n--;)delete h.prototype[i[n]];return h()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=a(e),n=new p,p.prototype=null,n[d]=e):n=h(),void 0===t?n:o(n,t)}},"7db0":function(e,t,n){"use strict";var r=n("23e7"),a=n("b727").find,o=n("44d2"),i="find",s=!0;i in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o(i)},"7dd0":function(e,t,n){"use strict";var r=n("23e7"),a=n("9ed3"),o=n("e163"),i=n("d2bb"),s=n("d44e"),c=n("9112"),l=n("6eeb"),u=n("b622"),d=n("c430"),p=n("3f8c"),f=n("ae93"),h=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,g=u("iterator"),v="keys",A="values",_="entries",b=function(){return this};e.exports=function(e,t,n,u,f,y,x){a(n,t,u);var w,C,k,B=function(e){if(e===f&&R)return R;if(!m&&e in E)return E[e];switch(e){case v:case A:case _:return function(){return new n(this,e)}}return function(){return new n(this)}},S=t+" Iterator",M=!1,E=e.prototype,T=E[g]||E["@@iterator"]||f&&E[f],R=!m&&T||B(f),L="Array"==t&&E.entries||T;if(L&&(w=o(L.call(new e)),h!==Object.prototype&&w.next&&(d||o(w)===h||(i?i(w,h):"function"!=typeof w[g]&&c(w,g,b)),s(w,S,!0,!0),d&&(p[S]=b))),f==A&&T&&T.name!==A&&(M=!0,R=function(){return T.call(this)}),d&&!x||E[g]===R||c(E,g,R),p[t]=R,f)if(C={values:B(A),keys:y?R:B(v),entries:B(_)},x)for(k in C)(m||M||!(k in E))&&l(E,k,C[k]);else r({target:t,proto:!0,forced:m||M},C);return C}},"7e12":function(e,t,n){var r=n("da84"),a=n("58a8").trim,o=n("5899"),i=r.parseFloat,s=1/i(o+"-0")!=-1/0;e.exports=s?function(e){var t=a(String(e)),n=i(t);return 0===n&&"-"==t.charAt(0)?-0:n}:i},"7f9a":function(e,t,n){var r=n("da84"),a=n("8925"),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(a(o))},"81d5":function(e,t,n){"use strict";var r=n("7b0b"),a=n("23cb"),o=n("50c4");e.exports=function(e){for(var t=r(this),n=o(t.length),i=arguments.length,s=a(i>1?arguments[1]:void 0,n),c=i>2?arguments[2]:void 0,l=void 0===c?n:a(c,n);l>s;)t[s++]=e;return 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"),a=n("4d64").includes,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return a(o(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]}))},8418:function(e,t,n){"use strict";var r=n("c04e"),a=n("9bf2"),o=n("5c6c");e.exports=function(e,t,n){var i=r(t);i in e?a.f(e,i,o(0,n)):e[i]=n}},"841c":function(e,t,n){"use strict";var r=n("d784"),a=n("825a"),o=n("1d80"),i=n("129f"),s=n("14c3");r("search",(function(e,t,n){return[function(t){var n=o(this),r=null==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,this,e);if(r.done)return r.value;var o=a(this),c=String(e),l=o.lastIndex;i(l,0)||(o.lastIndex=0);var u=s(o,c);return i(o.lastIndex,l)||(o.lastIndex=l),null===u?-1:u.index}]}))},"857a":function(e,t,n){var r=n("1d80"),a=/"/g;e.exports=function(e,t,n,o){var i=String(r(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(o).replace(a,"&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,a,o;"undefined"!=typeof self&&self,a=[],void 0===(o="function"==typeof(r=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(e){var n,r,a,o=/@([^@]*):(\d+):(\d+)\s*$/gi,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(e.stack)||o.exec(e.stack),s=i&&i[1]||!1,c=i&&i[2]||!1,l=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");s===l&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),a=n.replace(r,"$1").trim());for(var d=0;d<u.length;d++){if("interactive"===u[d].readyState)return u[d];if(u[d].src===s)return u[d];if(s===l&&u[d].innerHTML&&u[d].innerHTML.trim()===a)return u[d]}return null}}return e})?r.apply(t,a):r)||(e.exports=o)},8925:function(e,t,n){var r=n("c6cd"),a=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return a.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"),a=n("d039"),o=n("1c7e"),i=n("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,c=r.Int8Array;e.exports=!i||!a((function(){c(1)}))||!a((function(){new c(-1)}))||!o((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||a((function(){return 1!==new c(new s(2),1,void 0).length}))},"8b09":function(e,t,n){n("74e8")("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"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"),a=n("9bf2"),o=n("5c6c");e.exports=r?function(e,t,n){return a.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){"use strict";var r,a,o=n("ad6d"),i=n("9f7f"),s=n("5692"),c=n("7c73"),l=n("69f3").get,u=n("fce3"),d=n("107c"),p=RegExp.prototype.exec,f=s("native-string-replace",String.prototype.replace),h=p,m=(r=/a/,a=/b*/g,p.call(r,"a"),p.call(a,"a"),0!==r.lastIndex||0!==a.lastIndex),g=i.UNSUPPORTED_Y||i.BROKEN_CARET,v=void 0!==/()??/.exec("")[1];(m||v||g||u||d)&&(h=function(e){var t,n,r,a,i,s,u,d=this,A=l(d),_=A.raw;if(_)return _.lastIndex=d.lastIndex,t=h.call(_,e),d.lastIndex=_.lastIndex,t;var b=A.groups,y=g&&d.sticky,x=o.call(d),w=d.source,C=0,k=e;if(y&&(-1===(x=x.replace("y","")).indexOf("g")&&(x+="g"),k=String(e).slice(d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==e[d.lastIndex-1])&&(w="(?: "+w+")",k=" "+k,C++),n=new RegExp("^(?:"+w+")",x)),v&&(n=new RegExp("^"+w+"$(?!\\s)",x)),m&&(r=d.lastIndex),a=p.call(y?n:d,k),y?a?(a.input=a.input.slice(C),a[0]=a[0].slice(C),a.index=d.lastIndex,d.lastIndex+=a[0].length):d.lastIndex=0:m&&a&&(d.lastIndex=d.global?a.index+a[0].length:r),v&&a&&a.length>1&&f.call(a[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(a[i]=void 0)})),a&&b)for(a.groups=s=c(null),i=0;i<b.length;i++)s[(u=b[i])[0]]=a[u[1]];return a}),e.exports=h},"94ca":function(e,t,n){var r=n("d039"),a=/#|\.prototype\./,o=function(e,t){var n=s[i(e)];return n==l||n!=c&&("function"==typeof t?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},"96cf":function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",s=a.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(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var a=t&&t.prototype instanceof g?t:g,o=Object.create(a.prototype),i=new M(r||[]);return o._invoke=function(e,t,n){var r=d;return function(a,o){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===a)throw o;return T()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=k(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=f;var c=u(e,t,n);if("normal"===c.type){if(r=n.done?h:p,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(e,n,i),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var d="suspendedStart",p="suspendedYield",f="executing",h="completed",m={};function g(){}function v(){}function A(){}var _={};c(_,o,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(E([])));y&&y!==n&&r.call(y,o)&&(_=y);var x=A.prototype=g.prototype=Object.create(_);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(a,o,i,s){var c=u(e[a],e,o);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 a;this._invoke=function(e,r){function o(){return new t((function(t,a){n(e,r,t,a)}))}return a=a?a.then(o,o):o()}}function k(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,k(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 a=u(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,m;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function B(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 S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(B,this),this.reset(!0)}function E(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function n(){for(;++a<e.length;)if(r.call(e,a))return n.value=e[a],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=A,c(x,"constructor",A),c(A,"constructor",v),v.displayName=c(A,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,A):(e.__proto__=A,c(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},w(C.prototype),c(C.prototype,i,(function(){return this})),e.AsyncIterator=C,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new C(l(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},w(x),c(x,s,"Generator"),c(x,o,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;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=E,M.prototype={constructor:M,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(S),!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].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function a(r,a){return s.type="throw",s.arg=e,n.next=r,a&&(n.method="next",n.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("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 a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.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),S(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 a=r.arg;S(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:E(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},9861:function(e,t,n){"use strict";n("e260");var r=n("23e7"),a=n("d066"),o=n("0d3b"),i=n("6eeb"),s=n("e2cc"),c=n("d44e"),l=n("9ed3"),u=n("69f3"),d=n("19aa"),p=n("5135"),f=n("0366"),h=n("f5df"),m=n("825a"),g=n("861d"),v=n("7c73"),A=n("5c6c"),_=n("9a1f"),b=n("35a1"),y=n("b622"),x=a("fetch"),w=a("Headers"),C=y("iterator"),k="URLSearchParams",B="URLSearchParamsIterator",S=u.set,M=u.getterFor(k),E=u.getterFor(B),T=/\+/g,R=Array(4),L=function(e){return R[e-1]||(R[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},O=function(e){try{return decodeURIComponent(e)}catch(t){return e}},j=function(e){var t=e.replace(T," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(L(n--),O);return t}},I=/[!'()~]|%20/g,D={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},P=function(e){return D[e]},N=function(e){return encodeURIComponent(e).replace(I,P)},H=function(e,t){if(t)for(var n,r,a=t.split("&"),o=0;o<a.length;)(n=a[o++]).length&&(r=n.split("="),e.push({key:j(r.shift()),value:j(r.join("="))}))},q=function(e){this.entries.length=0,H(this.entries,e)},F=function(e,t){if(e<t)throw TypeError("Not enough arguments")},U=l((function(e,t){S(this,{type:B,iterator:_(M(e).entries),kind:t})}),"Iterator",(function(){var e=E(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})),$=function(){d(this,$,k);var e,t,n,r,a,o,i,s,c,l=arguments.length>0?arguments[0]:void 0,u=this,f=[];if(S(u,{type:k,entries:f,updateURL:function(){},updateSearchParams:q}),void 0!==l)if(g(l))if("function"==typeof(e=b(l)))for(n=(t=e.call(l)).next;!(r=n.call(t)).done;){if((i=(o=(a=_(m(r.value))).next).call(a)).done||(s=o.call(a)).done||!o.call(a).done)throw TypeError("Expected sequence with length 2");f.push({key:i.value+"",value:s.value+""})}else for(c in l)p(l,c)&&f.push({key:c,value:l[c]+""});else H(f,"string"==typeof l?"?"===l.charAt(0)?l.slice(1):l:l+"")},z=$.prototype;s(z,{append:function(e,t){F(arguments.length,2);var n=M(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){F(arguments.length,1);for(var t=M(this),n=t.entries,r=e+"",a=0;a<n.length;)n[a].key===r?n.splice(a,1):a++;t.updateURL()},get:function(e){F(arguments.length,1);for(var t=M(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){F(arguments.length,1);for(var t=M(this).entries,n=e+"",r=[],a=0;a<t.length;a++)t[a].key===n&&r.push(t[a].value);return r},has:function(e){F(arguments.length,1);for(var t=M(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){F(arguments.length,1);for(var n,r=M(this),a=r.entries,o=!1,i=e+"",s=t+"",c=0;c<a.length;c++)(n=a[c]).key===i&&(o?a.splice(c--,1):(o=!0,n.value=s));o||a.push({key:i,value:s}),r.updateURL()},sort:function(){var e,t,n,r=M(this),a=r.entries,o=a.slice();for(a.length=0,n=0;n<o.length;n++){for(e=o[n],t=0;t<n;t++)if(a[t].key>e.key){a.splice(t,0,e);break}t===n&&a.push(e)}r.updateURL()},forEach:function(e){for(var t,n=M(this).entries,r=f(e,arguments.length>1?arguments[1]:void 0,3),a=0;a<n.length;)r((t=n[a++]).value,t.key,this)},keys:function(){return new U(this,"keys")},values:function(){return new U(this,"values")},entries:function(){return new U(this,"entries")}},{enumerable:!0}),i(z,C,z.entries),i(z,"toString",(function(){for(var e,t=M(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(N(e.key)+"="+N(e.value));return n.join("&")}),{enumerable:!0}),c($,k),r({global:!0,forced:!o},{URLSearchParams:$}),o||"function"!=typeof x||"function"!=typeof w||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,a=[e];return arguments.length>1&&(g(t=arguments[1])&&(n=t.body,h(n)===k&&((r=t.headers?new w(t.headers):new w).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:A(0,String(n)),headers:A(0,r)}))),a.push(t)),x.apply(this,a)}}),e.exports={URLSearchParams:$,getState:M}},"99af":function(e,t,n){"use strict";var r=n("23e7"),a=n("d039"),o=n("e8b5"),i=n("861d"),s=n("7b0b"),c=n("50c4"),l=n("8418"),u=n("65f0"),d=n("1dde"),p=n("b622"),f=n("2d00"),h=p("isConcatSpreadable"),m=9007199254740991,g="Maximum allowed index exceeded",v=f>=51||!a((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),A=d("concat"),_=function(e){if(!i(e))return!1;var t=e[h];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,forced:!v||!A},{concat:function(e){var t,n,r,a,o,i=s(this),d=u(i,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(_(o=-1===t?i:arguments[t])){if(p+(a=c(o.length))>m)throw TypeError(g);for(n=0;n<a;n++,p++)n in o&&l(d,p,o[n])}else{if(p>=m)throw TypeError(g);l(d,p++,o)}return d.length=p,d}})},"9a1f":function(e,t,n){var r=n("825a"),a=n("35a1");e.exports=function(e){var t=a(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"),a=n("145e"),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(e,t){return a.call(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},"9bdd":function(e,t,n){var r=n("825a"),a=n("2a62");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){throw a(e),t}}},"9bf2":function(e,t,n){var r=n("83ab"),a=n("0cfb"),o=n("825a"),i=n("c04e"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=i(t,!0),o(n),a)try{return s(e,t,n)}catch(e){}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,a=n("7c73"),o=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=a(r,{next:o(1,n)}),i(e,l,!1,!0),s[l]=c,e}},"9f7f":function(e,t,n){var r=n("d039"),a=function(e,t){return RegExp(e,t)};t.UNSUPPORTED_Y=r((function(){var e=a("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=a("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a078:function(e,t,n){var r=n("7b0b"),a=n("50c4"),o=n("35a1"),i=n("e95a"),s=n("0366"),c=n("ebb5").aTypedArrayConstructor;e.exports=function(e){var t,n,l,u,d,p,f=r(e),h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=o(f);if(null!=v&&!i(v))for(p=(d=v.call(f)).next,f=[];!(u=p.call(d)).done;)f.push(u.value);for(g&&h>2&&(m=s(m,arguments[2],2)),n=a(f.length),l=new(c(this))(n),t=0;n>t;t++)l[t]=g?m(f[t],t):f[t];return l}},a15b:function(e,t,n){"use strict";var r=n("23e7"),a=n("44ad"),o=n("fc6a"),i=n("a640"),s=[].join,c=a!=Object,l=i("join",",");r({target:"Array",proto:!0,forced:c||!l},{join:function(e){return s.call(o(this),void 0===e?",":e)}})},a4b4:function(e,t,n){var r=n("342f");e.exports=/web0s(?!.*chrome)/i.test(r)},a4d3:function(e,t,n){"use strict";var r=n("23e7"),a=n("da84"),o=n("d066"),i=n("c430"),s=n("83ab"),c=n("4930"),l=n("fdbf"),u=n("d039"),d=n("5135"),p=n("e8b5"),f=n("861d"),h=n("825a"),m=n("7b0b"),g=n("fc6a"),v=n("c04e"),A=n("5c6c"),_=n("7c73"),b=n("df75"),y=n("241c"),x=n("057f"),w=n("7418"),C=n("06cf"),k=n("9bf2"),B=n("d1e7"),S=n("9112"),M=n("6eeb"),E=n("5692"),T=n("f772"),R=n("d012"),L=n("90e3"),O=n("b622"),j=n("e538"),I=n("746f"),D=n("d44e"),P=n("69f3"),N=n("b727").forEach,H=T("hidden"),q="Symbol",F=O("toPrimitive"),U=P.set,$=P.getterFor(q),z=Object.prototype,V=a.Symbol,Y=o("JSON","stringify"),W=C.f,G=k.f,X=x.f,Z=B.f,K=E("symbols"),Q=E("op-symbols"),J=E("string-to-symbol-registry"),ee=E("symbol-to-string-registry"),te=E("wks"),ne=a.QObject,re=!ne||!ne.prototype||!ne.prototype.findChild,ae=s&&u((function(){return 7!=_(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=W(z,t);r&&delete z[t],G(e,t,n),r&&e!==z&&G(z,t,r)}:G,oe=function(e,t){var n=K[e]=_(V.prototype);return U(n,{type:q,tag:e,description:t}),s||(n.description=t),n},ie=l?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof V},se=function(e,t,n){e===z&&se(Q,t,n),h(e);var r=v(t,!0);return h(n),d(K,r)?(n.enumerable?(d(e,H)&&e[H][r]&&(e[H][r]=!1),n=_(n,{enumerable:A(0,!1)})):(d(e,H)||G(e,H,A(1,{})),e[H][r]=!0),ae(e,r,n)):G(e,r,n)},ce=function(e,t){h(e);var n=g(t),r=b(n).concat(pe(n));return N(r,(function(t){s&&!le.call(n,t)||se(e,t,n[t])})),e},le=function(e){var t=v(e,!0),n=Z.call(this,t);return!(this===z&&d(K,t)&&!d(Q,t))&&(!(n||!d(this,t)||!d(K,t)||d(this,H)&&this[H][t])||n)},ue=function(e,t){var n=g(e),r=v(t,!0);if(n!==z||!d(K,r)||d(Q,r)){var a=W(n,r);return!a||!d(K,r)||d(n,H)&&n[H][r]||(a.enumerable=!0),a}},de=function(e){var t=X(g(e)),n=[];return N(t,(function(e){d(K,e)||d(R,e)||n.push(e)})),n},pe=function(e){var t=e===z,n=X(t?Q:g(e)),r=[];return N(n,(function(e){!d(K,e)||t&&!d(z,e)||r.push(K[e])})),r};(c||(V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=L(e),n=function(e){this===z&&n.call(Q,e),d(this,H)&&d(this[H],t)&&(this[H][t]=!1),ae(this,t,A(1,e))};return s&&re&&ae(z,t,{configurable:!0,set:n}),oe(t,e)},M(V.prototype,"toString",(function(){return $(this).tag})),M(V,"withoutSetter",(function(e){return oe(L(e),e)})),B.f=le,k.f=se,C.f=ue,y.f=x.f=de,w.f=pe,j.f=function(e){return oe(O(e),e)},s&&(G(V.prototype,"description",{configurable:!0,get:function(){return $(this).description}}),i||M(z,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:V}),N(b(te),(function(e){I(e)})),r({target:q,stat:!0,forced:!c},{for:function(e){var t=String(e);if(d(J,t))return J[t];var n=V(t);return J[t]=n,ee[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(d(ee,e))return ee[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?_(e):ce(_(e),t)},defineProperty:se,defineProperties:ce,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:de,getOwnPropertySymbols:pe}),r({target:"Object",stat:!0,forced:u((function(){w.f(1)}))},{getOwnPropertySymbols:function(e){return w.f(m(e))}}),Y)&&r({target:"JSON",stat:!0,forced:!c||u((function(){var e=V();return"[null]"!=Y([e])||"{}"!=Y({a:e})||"{}"!=Y(Object(e))}))},{stringify:function(e,t,n){for(var r,a=[e],o=1;arguments.length>o;)a.push(arguments[o++]);if(r=t,(f(t)||void 0!==e)&&!ie(e))return p(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),a[1]=t,Y.apply(null,a)}});V.prototype[F]||S(V.prototype,F,V.prototype.valueOf),D(V,q),R[H]=!0},a623:function(e,t,n){"use strict";var r=n("23e7"),a=n("b727").every;r({target:"Array",proto:!0,forced:!n("a640")("every")},{every:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},a630:function(e,t,n){var r=n("23e7"),a=n("4df4");r({target:"Array",stat:!0,forced:!n("1c7e")((function(e){Array.from(e)}))},{from:a})},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)}},a975:function(e,t,n){"use strict";var r=n("ebb5"),a=n("b727").every,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return a(o(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"),a=n("da84"),o=n("94ca"),i=n("6eeb"),s=n("5135"),c=n("c6b6"),l=n("7156"),u=n("c04e"),d=n("d039"),p=n("7c73"),f=n("241c").f,h=n("06cf").f,m=n("9bf2").f,g=n("58a8").trim,v="Number",A=a.Number,_=A.prototype,b=c(p(_))==v,y=function(e){var t,n,r,a,o,i,s,c,l=u(e,!1);if("string"==typeof l&&l.length>2)if(43===(t=(l=g(l)).charCodeAt(0))||45===t){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+l}for(i=(o=l.slice(2)).length,s=0;s<i;s++)if((c=o.charCodeAt(s))<48||c>a)return NaN;return parseInt(o,r)}return+l};if(o(v,!A(" 0o1")||!A("0b1")||A("+0x1"))){for(var x,w=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof w&&(b?d((function(){_.valueOf.call(n)})):c(n)!=v)?l(new A(y(t)),n,w):y(t)},C=r?f(A):"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(","),k=0;C.length>k;k++)s(A,x=C[k])&&!s(w,x)&&m(w,x,h(A,x));w.prototype=_,_.constructor=w,i(a,v,w)}},ab13:function(e,t,n){var r=n("b622")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},ac1f:function(e,t,n){"use strict";var r=n("23e7"),a=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},accc:function(e,t,n){var r=n("23e7"),a=n("64e5");r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==a},{toISOString:a})},acd8:function(e,t,n){var r=n("23e7"),a=n("7e12");r({global:!0,forced:parseFloat!=a},{parseFloat:a})},ace4:function(e,t,n){"use strict";var r=n("23e7"),a=n("d039"),o=n("621a"),i=n("825a"),s=n("23cb"),c=n("50c4"),l=n("4840"),u=o.ArrayBuffer,d=o.DataView,p=u.prototype.slice;r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:a((function(){return!new u(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(void 0!==p&&void 0===t)return p.call(i(this),e);for(var n=i(this).byteLength,r=s(e,n),a=s(void 0===t?n:t,n),o=new(l(this,u))(c(a-r)),f=new d(this),h=new d(o),m=0;r<a;)h.setUint8(m++,f.getUint8(r++));return o}})},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}},addb:function(e,t){var n=Math.floor,r=function(e,t){var i=e.length,s=n(i/2);return i<8?a(e,t):o(r(e.slice(0,s),t),r(e.slice(s),t),t)},a=function(e,t){for(var n,r,a=e.length,o=1;o<a;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},o=function(e,t,n){for(var r=e.length,a=t.length,o=0,i=0,s=[];o<r||i<a;)o<r&&i<a?s.push(n(e[o],t[i])<=0?e[o++]:t[i++]):s.push(o<r?e[o++]:t[i++]);return s};e.exports=r},ae93:function(e,t,n){"use strict";var r,a,o,i=n("d039"),s=n("e163"),c=n("9112"),l=n("5135"),u=n("b622"),d=n("c430"),p=u("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(a=s(s(o)))!==Object.prototype&&(r=a):f=!0);var h=null==r||i((function(){var e={};return r[p].call(e)!==e}));h&&(r={}),d&&!h||l(r,p)||c(r,p,(function(){return this})),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"),a=n("f5df");e.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},b0c0:function(e,t,n){var r=n("83ab"),a=n("9bf2").f,o=Function.prototype,i=o.toString,s=/^\s*function ([^ (]*)/,c="name";r&&!(c in o)&&a(o,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"),a=n("ebb5"),o=n("d039"),i=r.Int8Array,s=a.aTypedArray,c=a.exportTypedArrayMethod,l=[].toLocaleString,u=[].slice,d=!!i&&o((function(){l.call(new i(1))}));c("toLocaleString",(function(){return l.apply(d?u.call(s(this)):s(this),arguments)}),o((function(){return[1,2].toLocaleString()!=new i([1,2]).toLocaleString()}))||!o((function(){i.prototype.toLocaleString.call([1,2])})))},b575:function(e,t,n){var r,a,o,i,s,c,l,u,d=n("da84"),p=n("06cf").f,f=n("2cf4").set,h=n("1cdc"),m=n("a4b4"),g=n("605d"),v=d.MutationObserver||d.WebKitMutationObserver,A=d.document,_=d.process,b=d.Promise,y=p(d,"queueMicrotask"),x=y&&y.value;x||(r=function(){var e,t;for(g&&(e=_.domain)&&e.exit();a;){t=a.fn,a=a.next;try{t()}catch(e){throw a?i():o=void 0,e}}o=void 0,e&&e.enter()},h||g||m||!v||!A?b&&b.resolve?((l=b.resolve(void 0)).constructor=b,u=l.then,i=function(){u.call(l,r)}):i=g?function(){_.nextTick(r)}:function(){f.call(d,r)}:(s=!0,c=A.createTextNode(""),new v(r).observe(c,{characterData:!0}),i=function(){c.data=s=!s})),e.exports=x||function(e){var t={fn:e,next:void 0};o&&(o.next=t),a||(a=t,i()),o=t}},b622:function(e,t,n){var r=n("da84"),a=n("5692"),o=n("5135"),i=n("90e3"),s=n("4930"),c=n("fdbf"),l=a("wks"),u=r.Symbol,d=c?u:u&&u.withoutSetter||i;e.exports=function(e){return o(l,e)&&(s||"string"==typeof l[e])||(s&&o(u,e)?l[e]=u[e]:l[e]=d("Symbol."+e)),l[e]}},b64b:function(e,t,n){var r=n("23e7"),a=n("7b0b"),o=n("df75");r({target:"Object",stat:!0,forced:n("d039")((function(){o(1)}))},{keys:function(e){return o(a(e))}})},b680:function(e,t,n){"use strict";var r=n("23e7"),a=n("a691"),o=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,t,n){for(var r=-1,a=n;++r<6;)a+=t*e[r],e[r]=a%1e7,a=l(a/1e7)},p=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=l(r/t),r=r%t*1e7},f=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=String(e[t]);n=""===n?r:n+i.call("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced: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({})}))},{toFixed:function(e){var t,n,r,s,c=o(this),l=a(e),h=[0,0,0,0,0,0],m="",g="0";if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(m="-",c=-c),c>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(c*u(2,69,1))-69)<0?c*u(2,-t,1):c/u(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(h,0,n),r=l;r>=7;)d(h,1e7,0),r-=7;for(d(h,u(10,r,1),0),r=t-1;r>=23;)p(h,1<<23),r-=23;p(h,1<<r),d(h,1,1),p(h,2),g=f(h)}else d(h,0,n),d(h,1<<-t,0),g=f(h)+i.call("0",l);return g=l>0?m+((s=g.length)<=l?"0."+i.call("0",l-s)+g:g.slice(0,s-l)+"."+g.slice(s-l)):m+g}})},b727:function(e,t,n){var r=n("0366"),a=n("44ad"),o=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,p=7==e,f=5==e||d;return function(h,m,g,v){for(var A,_,b=o(h),y=a(b),x=r(m,g,3),w=i(y.length),C=0,k=v||s,B=t?k(h,w):n||p?k(h,0):void 0;w>C;C++)if((f||C in y)&&(_=x(A=y[C],C,b),e))if(t)B[C]=_;else if(_)switch(e){case 3:return!0;case 5:return A;case 6:return C;case 2:c.call(B,A)}else switch(e){case 4:return!1;case 7:c.call(B,A)}return d?-1:l||u?u:B}};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"),a=n("7656"),o=function(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}(a);var i="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("|"),s="0123456789".split(""),c="0123456789abcdefghijklmnopqrstuvwxyz".split(""),l=[" ","\f","\r","\t","\v"," "," ","᠎"],u=[],d=function(e){return new r.CharacterState(e)},p=d(),f=d(a.NUM),h=d(a.DOMAIN),m=d(),g=d(a.WS);p.on("@",d(a.AT)).on(".",d(a.DOT)).on("+",d(a.PLUS)).on("#",d(a.POUND)).on("?",d(a.QUERY)).on("/",d(a.SLASH)).on("_",d(a.UNDERSCORE)).on(":",d(a.COLON)).on("{",d(a.OPENBRACE)).on("[",d(a.OPENBRACKET)).on("<",d(a.OPENANGLEBRACKET)).on("(",d(a.OPENPAREN)).on("}",d(a.CLOSEBRACE)).on("]",d(a.CLOSEBRACKET)).on(">",d(a.CLOSEANGLEBRACKET)).on(")",d(a.CLOSEPAREN)).on("&",d(a.AMPERSAND)).on([",",";","!",'"',"'"],d(a.PUNCTUATION)),p.on("\n",d(a.NL)).on(l,g),g.on(l,g);for(var v=0;v<i.length;v++){var A=(0,r.stateify)(i[v],p,a.TLD,a.DOMAIN);u.push.apply(u,A)}var _=(0,r.stateify)("file",p,a.DOMAIN,a.DOMAIN),b=(0,r.stateify)("ftp",p,a.DOMAIN,a.DOMAIN),y=(0,r.stateify)("http",p,a.DOMAIN,a.DOMAIN),x=(0,r.stateify)("mailto",p,a.DOMAIN,a.DOMAIN);u.push.apply(u,_),u.push.apply(u,b),u.push.apply(u,y),u.push.apply(u,x);var w=_.pop(),C=b.pop(),k=y.pop(),B=x.pop(),S=d(a.DOMAIN),M=d(a.PROTOCOL),E=d(a.MAILTO);C.on("s",S).on(":",M),k.on("s",S).on(":",M),u.push(S),w.on(":",M),S.on(":",M),B.on(":",E);var T=(0,r.stateify)("localhost",p,a.LOCALHOST,a.DOMAIN);u.push.apply(u,T),p.on(s,f),f.on("-",m).on(s,f).on(c,h),h.on("-",m).on(c,h);for(var R=0;R<u.length;R++)u[R].on("-",m).on(c,h);m.on("-",m).on(s,h).on(c,h),p.defaultTransition=d(a.SYM);var L=p;t.State=r.CharacterState,t.TOKENS=o,t.run=function(e){for(var t=e.replace(/[A-Z]/g,(function(e){return e.toLowerCase()})),n=e.length,r=[],a=0;a<n;){for(var o=p,i=null,s=0,c=null,l=-1;a<n&&(i=o.next(t[a]));)(o=i).accepts()?(l=0,c=o):l>=0&&l++,s++,a++;if(!(l<0)){a-=l,s-=l;var u=c.emit();r.push(new u(e.substr(a-s,s)))}}return r},t.start=L},baa5:function(e,t,n){var r=n("23e7"),a=n("e58c");r({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},bd43:function(e,t,n){"use strict";n.r(t),n.d(t,"isImageFile",(function(){return o})),n.d(t,"isVideoFile",(function(){return i})),n.d(t,"isAudioFile",(function(){return s}));n("45fc"),n("caad"),n("2532");var r=n("c9d9");function a(e,t){if(t&&t.type)return e.some((function(e){return t.type.toLowerCase().includes(e)}))}function o(e){return a(r.b,e)}function i(e){return a(r.c,e)}function s(e){return a(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"),a=n("254c"),o=n("7656");function i(e){return e instanceof o.DOMAIN||e instanceof o.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,a.inherits)(s,(0,r.createTokenClass)(),{type:"email",isLink:!0}),l=(0,a.inherits)(s,(0,r.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),u=(0,a.inherits)(s,(0,r.createTokenClass)(),{type:"text"}),d=(0,a.inherits)(s,(0,r.createTokenClass)(),{type:"nl"}),p=(0,a.inherits)(s,(0,r.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",t=!1,n=!1,r=this.v,a=[],s=0;r[s]instanceof o.PROTOCOL;)t=!0,a.push(r[s].toString().toLowerCase()),s++;for(;r[s]instanceof o.SLASH;)n=!0,a.push(r[s].toString()),s++;for(;i(r[s]);)a.push(r[s].toString().toLowerCase()),s++;for(;s<r.length;s++)a.push(r[s].toString());return a=a.join(""),t||n||(a=e+"://"+a),a},hasProtocol:function(){return this.v[0]instanceof o.PROTOCOL}});t.Base=s,t.MAILTOEMAIL=c,t.EMAIL=l,t.NL=d,t.TEXT=u,t.URL=p},c04e:function(e,t,n){var r=n("861d");e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},c0b6:function(e,t,n){n("23e7")({target:"Function",proto:!0},{bind:n("0538")})},c1ac:function(e,t,n){"use strict";var r=n("ebb5"),a=n("b727").filter,o=n("1448"),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=a(i(this),e,arguments.length>1?arguments[1]:void 0);return o(this,t)}))},c28b:function(e,t,n){e.exports=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 a(e,t){var a=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),o=a.handler,i=a.middleware,s=a.detectIframe;if(a.isActive){if(e["__v-click-outside"]=a.events.map((function(t){return{event:t,srcTarget:document.documentElement,handler:function(t){return function(e){var t=e.el,n=e.event,a=e.handler,o=e.middleware,i=n.path||n.composedPath&&n.composedPath();(i?i.indexOf(t)<0:!t.contains(n.target))&&r({event:n,handler:a,middleware:o})}({el:e,event:t,handler:o,middleware:i})}}})),s){var c={event:"blur",srcTarget:window,handler:function(t){return function(e){var t=e.el,n=e.event,a=e.handler,o=e.middleware;setTimeout((function(){var e=document.activeElement;e&&"IFRAME"===e.tagName&&!t.contains(e)&&r({event:n,handler:a,middleware:o})}),0)}({el:e,event:t,handler:o,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,a=t.handler;return setTimeout((function(){e["__v-click-outside"]&&r.addEventListener(n,a,!1)}),0)}))}}function o(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:a,update:function(e,t){var n=t.value,r=t.oldValue;JSON.stringify(n)!==JSON.stringify(r)&&(o(e),a(e,{value:n}))},unbind:o}:{};return{install:function(e){e.directive("click-outside",i)},directive:i}}()},c430:function(e,t){e.exports=!1},c5d0:function(e,t,n){"use strict";var r=n("23e7"),a=n("857a");r({target:"String",proto:!0,forced:n("af03")("italics")},{italics:function(){return a(this,"i","","")}})},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"),a=n("ce4e"),o="__core-js_shared__",i=r[o]||a(o,{});e.exports=i},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},c8d2:function(e,t,n){var r=n("d039"),a=n("5899");e.exports=function(e){return r((function(){return!!a[e]()||"​᠎"!="​᠎"[e]()||a[e].name!==e}))}},c975:function(e,t,n){"use strict";var r=n("23e7"),a=n("4d64").indexOf,o=n("a640"),i=[].indexOf,s=!!i&&1/[1].indexOf(1,-0)<0,c=o("indexOf");r({target:"Array",proto:!0,forced:s||!c},{indexOf:function(e){return s?i.apply(this,arguments)||0:a(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 a})),n.d(t,"a",(function(){return o}));var r=["png","jpg","jpeg","webp","svg","gif"],a=["mp4","video/ogg","webm","quicktime"],o=["mp3","audio/ogg","wav","mpeg"]},ca84:function(e,t,n){var r=n("5135"),a=n("fc6a"),o=n("4d64").indexOf,i=n("d012");e.exports=function(e,t){var n,s=a(e),c=0,l=[];for(n in s)!r(i,n)&&r(s,n)&&l.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~o(l,n)||l.push(n));return l}},ca91:function(e,t,n){"use strict";var r=n("ebb5"),a=n("d58f").left,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){return a(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},caad:function(e,t,n){"use strict";var r=n("23e7"),a=n("4d64").includes,o=n("44d2");r({target:"Array",proto:!0},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},cc12:function(e,t,n){var r=n("da84"),a=n("861d"),o=r.document,i=a(o)&&a(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},cc71:function(e,t,n){"use strict";var r=n("23e7"),a=n("857a");r({target:"String",proto:!0,forced:n("af03")("bold")},{bold:function(){return a(this,"b","","")}})},cca6:function(e,t,n){var r=n("23e7"),a=n("60da");r({target:"Object",stat:!0,forced:Object.assign!==a},{assign:a})},cd26:function(e,t,n){"use strict";var r=n("ebb5"),a=r.aTypedArray,o=r.exportTypedArrayMethod,i=Math.floor;o("reverse",(function(){for(var e,t=this,n=a(t).length,r=i(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t}))},cdf9:function(e,t,n){var r=n("825a"),a=n("861d"),o=n("f069");e.exports=function(e,t){if(r(e),a(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},ce4e:function(e,t,n){var r=n("da84"),a=n("9112");e.exports=function(e,t){try{a(r,e,t)}catch(n){r[e]=t}return t}},cfc3:function(e,t,n){n("74e8")("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(e){return!0}}},d066:function(e,t,n){var r=n("428f"),a=n("da84"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(a[e]):r[e]&&r[e][t]||a[e]&&a[e][t]}},d139:function(e,t,n){"use strict";var r=n("ebb5"),a=n("b727").find,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!r.call({1:2},1);t.f=o?function(e){var t=a(this,e);return!!t&&t.enumerable}:r},d28b:function(e,t,n){n("746f")("iterator")},d2bb:function(e,t,n){var r=n("825a"),a=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,o){return r(n),a(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},d3b7:function(e,t,n){var r=n("00ee"),a=n("6eeb"),o=n("b041");r||a(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(e,t,n){var r=n("9bf2").f,a=n("5135"),o=n("b622")("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},d58f:function(e,t,n){var r=n("1c0b"),a=n("7b0b"),o=n("44ad"),i=n("50c4"),s=function(e){return function(t,n,s,c){r(n);var l=a(t),u=o(l),d=i(l.length),p=e?d-1:0,f=e?-1:1;if(s<2)for(;;){if(p in u){c=u[p],p+=f;break}if(p+=f,e?p<0:d<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=f)p in u&&(c=n(c,u[p],p,l));return c}};e.exports={left:s(!1),right:s(!0)}},d5d6:function(e,t,n){"use strict";var r=n("ebb5"),a=n("b727").forEach,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},d784:function(e,t,n){"use strict";n("ac1f");var r=n("6eeb"),a=n("9263"),o=n("d039"),i=n("b622"),s=n("9112"),c=i("species"),l=RegExp.prototype;e.exports=function(e,t,n,u){var d=i(e),p=!o((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),f=p&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!p||!f||n){var h=/./[d],m=t(d,""[e],(function(e,t,n,r,o){var i=t.exec;return i===a||i===l.exec?p&&!o?{done:!0,value:h.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}));r(String.prototype,e,m[0]),r(l,d,m[1])}u&&s(l[d],"sham",!0)}},d81d:function(e,t,n){"use strict";var r=n("23e7"),a=n("b727").map;r({target:"Array",proto:!0,forced:!n("1dde")("map")},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},d998:function(e,t,n){var r=n("342f");e.exports=/MSIE|Trident/.test(r)},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){e.exports=n(75644)},dbb4:function(e,t,n){var r=n("23e7"),a=n("83ab"),o=n("56ef"),i=n("fc6a"),s=n("06cf"),c=n("8418");r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),a=s.f,l=o(r),u={},d=0;l.length>d;)void 0!==(n=a(r,t=l[d++]))&&c(u,t,n);return u}})},ddb0:function(e,t,n){var r=n("da84"),a=n("fdbc"),o=n("e260"),i=n("9112"),s=n("b622"),c=s("iterator"),l=s("toStringTag"),u=o.values;for(var d in a){var p=r[d],f=p&&p.prototype;if(f){if(f[c]!==u)try{i(f,c,u)}catch(e){f[c]=u}if(f[l]||i(f,l,d),a[d])for(var h in o)if(f[h]!==o[h])try{i(f,h,o[h])}catch(e){f[h]=o[h]}}}},df75:function(e,t,n){var r=n("ca84"),a=n("7839");e.exports=Object.keys||function(e){return r(e,a)}},e01a:function(e,t,n){"use strict";var r=n("23e7"),a=n("83ab"),o=n("da84"),i=n("5135"),s=n("861d"),c=n("9bf2").f,l=n("e893"),u=o.Symbol;if(a&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};l(p,u);var f=p.prototype=u.prototype;f.constructor=p;var h=f.toString,m="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;c(f,"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:p})}},e163:function(e,t,n){var r=n("5135"),a=n("7b0b"),o=n("f772"),i=n("e177"),s=o("IE_PROTO"),c=Object.prototype;e.exports=i?Object.getPrototypeOf:function(e){return e=a(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){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.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 a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));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]||"",a=e[3];if(!a)return r;if(t&&"function"==typeof btoa){var o=(n=a,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),i=a.sources.map((function(e){return"/*# sourceURL="+a.sourceRoot+e+" */"}));return[r].concat(i).concat([o]).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={},a=0;a<this.length;a++){var o=this[a][0];"number"==typeof o&&(r[o]=!0)}for(a=0;a<e.length;a++){var i=e[a];"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={},a=0;a<t.length;a++){var o=t[a],i=o[0],s={id:e+":"+a,css:o[1],media:o[2],sourceMap:o[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 f}));var a="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!a)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 o={},i=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,u=function(){},d=null,p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e,t,n,a){l=n,d=a||{};var i=r(e,t);return h(i),function(t){for(var n=[],a=0;a<i.length;a++){var s=i[a];(c=o[s.id]).refs--,n.push(c)}for(t?h(i=r(e,t)):i=[],a=0;a<n.length;a++){var c;if(0===(c=n[a]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete o[c.id]}}}}function h(e){for(var t=0;t<e.length;t++){var n=e[t],r=o[n.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](n.parts[a]);for(;a<n.parts.length;a++)r.parts.push(g(n.parts[a]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var i=[];for(a=0;a<n.parts.length;a++)i.push(g(n.parts[a]));o[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(p){var a=c++;r=s||(s=m()),t=_.bind(null,r,a,!1),n=_.bind(null,r,a,!0)}else r=m(),t=b.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,A=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function _(e,t,n,r){var a=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=A(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function b(e,t){var n=t.css,r=t.media,a=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute("data-vue-ssr-id",t.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),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 a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a)},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 a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a)},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},a=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}(),o={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:o,ERRORS:i,STATUS:s},u=n(4),d=n.n(u),p={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 f(e,t,n,r,a,o,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),o&&(l._scopeId="data-v-"+o),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__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):a&&(c=s?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),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=f({name:"Spinner",computed:{spinnerView:function(){return p[(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:p[l.props.spinner.toUpperCase()]||p.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=[]}},A={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)}},_={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 b(e){return e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())}))}function y(e){return e.offsetWidth+e.offsetHeight>0}var x=f({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=b(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&&y(e.$el)?v.throttle(e.attemptLoad):e.attemptLoad())},setTimeout((function(){e.scrollHandler(),e.scrollParent.addEventListener("scroll",e.scrollHandler,a)}),1),this.$on("$InfiniteLoading:loaded",(function(t){e.isFirstLoad=!1,"top"===e.direction&&e.$nextTick((function(){_.restore(e.scrollParent)})),e.status===s.LOADING&&e.$nextTick(e.attemptLoad.bind(null,!0)),t&&t.target===e||m(o.STATE_CHANGER)})),this.$on("$InfiniteLoading:complete",(function(t){e.status=s.COMPLETE,e.$nextTick((function(){e.$forceUpdate()})),e.scrollParent.removeEventListener("scroll",e.scrollHandler,a),t&&t.target===e||m(o.STATE_CHANGER)})),this.$on("$InfiniteLoading:reset",(function(t){e.status=s.READY,e.isFirstLoad=!0,_.remove(e.scrollParent),e.scrollParent.addEventListener("scroll",e.scrollHandler,a),setTimeout((function(){v.reset(),e.scrollHandler()}),1),t&&t.target===e||m(o.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(o.INFINITE_EVENT)},deactivated:function(){this.status===s.LOADING&&(this.status=s.READY),this.scrollParent.removeEventListener("scroll",this.scrollHandler,a)},activated:function(){this.scrollParent.addEventListener("scroll",this.scrollHandler,a)},methods:{attemptLoad:function(e){var t=this;this.status!==s.COMPLETE&&y(this.$el)&&this.getCurrentDistance()<=this.distance?(this.status=s.LOADING,"top"===this.direction&&this.$nextTick((function(){_.save(t.scrollParent)})),"function"==typeof this.onInfinite?this.onInfinite.call(null,this.stateChanger):this.$emit("infinite",this.stateChanger),!e||this.forceUseInfiniteWrapper||A.isChecked||A.track()):this.status===s.LOADING&&(this.status=s.READY)},getCurrentDistance:function(){return"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)},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(),_.remove(this.scrollParent),this.scrollParent.removeEventListener("scroll",this.scrollHandler,a))}},(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 w(e){l.mode=e.config.productionTip?"development":"production"}Object.defineProperty(x,"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",x),w(e)}}),"undefined"!=typeof window&&window.Vue&&(window.Vue.component("infinite-loading",x),w(window.Vue)),t.default=x}])},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"),a=n("44d2"),o=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"),o.Arguments=o.Array,a("keys"),a("values"),a("entries")},e2cc:function(e,t,n){var r=n("6eeb");e.exports=function(e,t,n){for(var a in t)r(e,a,t[a],n);return e}},e439:function(e,t,n){var r=n("23e7"),a=n("d039"),o=n("fc6a"),i=n("06cf").f,s=n("83ab"),c=a((function(){i(1)}));r({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return i(o(e),t)}})},e538:function(e,t,n){var r=n("b622");t.f=r},e58c:function(e,t,n){"use strict";var r=n("fc6a"),a=n("a691"),o=n("50c4"),i=n("a640"),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,u=i("lastIndexOf"),d=l||!u;e.exports=d?function(e){if(l)return c.apply(this,arguments)||0;var t=r(this),n=o(t.length),i=n-1;for(arguments.length>1&&(i=s(i,a(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}:c},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},e6cf:function(e,t,n){"use strict";var r,a,o,i,s=n("23e7"),c=n("c430"),l=n("da84"),u=n("d066"),d=n("fea9"),p=n("6eeb"),f=n("e2cc"),h=n("d2bb"),m=n("d44e"),g=n("2626"),v=n("861d"),A=n("1c0b"),_=n("19aa"),b=n("8925"),y=n("2266"),x=n("1c7e"),w=n("4840"),C=n("2cf4").set,k=n("b575"),B=n("cdf9"),S=n("44de"),M=n("f069"),E=n("e667"),T=n("69f3"),R=n("94ca"),L=n("b622"),O=n("6069"),j=n("605d"),I=n("2d00"),D=L("species"),P="Promise",N=T.get,H=T.set,q=T.getterFor(P),F=d&&d.prototype,U=d,$=F,z=l.TypeError,V=l.document,Y=l.process,W=M.f,G=W,X=!!(V&&V.createEvent&&l.dispatchEvent),Z="function"==typeof PromiseRejectionEvent,K="unhandledrejection",Q=!1,J=R(P,(function(){var e=b(U),t=e!==String(U);if(!t&&66===I)return!0;if(c&&!$.finally)return!0;if(I>=51&&/native code/.test(e))return!1;var n=new U((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[D]=r,!(Q=n.then((function(){}))instanceof r)||!t&&O&&!Z})),ee=J||!x((function(e){U.all(e).catch((function(){}))})),te=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},ne=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;k((function(){for(var r=e.value,a=1==e.state,o=0;n.length>o;){var i,s,c,l=n[o++],u=a?l.ok:l.fail,d=l.resolve,p=l.reject,f=l.domain;try{u?(a||(2===e.rejection&&ie(e),e.rejection=1),!0===u?i=r:(f&&f.enter(),i=u(r),f&&(f.exit(),c=!0)),i===l.promise?p(z("Promise-chain cycle")):(s=te(i))?s.call(i,d,p):d(i)):p(r)}catch(e){f&&!c&&f.exit(),p(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},re=function(e,t,n){var r,a;X?((r=V.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},!Z&&(a=l["on"+e])?a(r):e===K&&S("Unhandled promise rejection",n)},ae=function(e){C.call(l,(function(){var t,n=e.facade,r=e.value;if(oe(e)&&(t=E((function(){j?Y.emit("unhandledRejection",r,n):re(K,n,r)})),e.rejection=j||oe(e)?2:1,t.error))throw t.value}))},oe=function(e){return 1!==e.rejection&&!e.parent},ie=function(e){C.call(l,(function(){var t=e.facade;j?Y.emit("rejectionHandled",t):re("rejectionhandled",t,e.value)}))},se=function(e,t,n){return function(r){e(t,r,n)}},ce=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,ne(e,!0))},le=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw z("Promise can't be resolved itself");var r=te(t);r?k((function(){var n={done:!1};try{r.call(t,se(le,n,e),se(ce,n,e))}catch(t){ce(n,t,e)}})):(e.value=t,e.state=1,ne(e,!1))}catch(t){ce({done:!1},t,e)}}};if(J&&($=(U=function(e){_(this,U,P),A(e),r.call(this);var t=N(this);try{e(se(le,t),se(ce,t))}catch(e){ce(t,e)}}).prototype,(r=function(e){H(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f($,{then:function(e,t){var n=q(this),r=W(w(this,U));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=j?Y.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&ne(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r,t=N(e);this.promise=e,this.resolve=se(le,t),this.reject=se(ce,t)},M.f=W=function(e){return e===U||e===o?new a(e):G(e)},!c&&"function"==typeof d&&F!==Object.prototype)){i=F.then,Q||(p(F,"then",(function(e,t){var n=this;return new U((function(e,t){i.call(n,e,t)})).then(e,t)}),{unsafe:!0}),p(F,"catch",$.catch,{unsafe:!0}));try{delete F.constructor}catch(e){}h&&h(F,$)}s({global:!0,wrap:!0,forced:J},{Promise:U}),m(U,P,!1,!0),g(P),o=u(P),s({target:P,stat:!0,forced:J},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),s({target:P,stat:!0,forced:c||J},{resolve:function(e){return B(c&&this===o?U:this,e)}}),s({target:P,stat:!0,forced:ee},{all:function(e){var t=this,n=W(t),r=n.resolve,a=n.reject,o=E((function(){var n=A(t.resolve),o=[],i=0,s=1;y(e,(function(e){var c=i++,l=!1;o.push(void 0),s++,n.call(t,e).then((function(e){l||(l=!0,o[c]=e,--s||r(o))}),a)})),--s||r(o)}));return o.error&&a(o.value),n.promise},race:function(e){var t=this,n=W(t),r=n.reject,a=E((function(){var a=A(t.resolve);y(e,(function(e){a.call(t,e).then(n.resolve,r)}))}));return a.error&&r(a.value),n.promise}})},e893:function(e,t,n){var r=n("5135"),a=n("56ef"),o=n("06cf"),i=n("9bf2");e.exports=function(e,t){for(var n=a(t),s=i.f,c=o.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"),a=n("4d64").indexOf,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},e95a:function(e,t,n){var r=n("b622"),a=n("3f8c"),o=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||i[o]===e)}},eb23:function(e,t,n){"use strict";n("0137")},ebb5:function(e,t,n){"use strict";var r,a=n("a981"),o=n("83ab"),i=n("da84"),s=n("861d"),c=n("5135"),l=n("f5df"),u=n("9112"),d=n("6eeb"),p=n("9bf2").f,f=n("e163"),h=n("d2bb"),m=n("b622"),g=n("90e3"),v=i.Int8Array,A=v&&v.prototype,_=i.Uint8ClampedArray,b=_&&_.prototype,y=v&&f(v),x=A&&f(A),w=Object.prototype,C=w.isPrototypeOf,k=m("toStringTag"),B=g("TYPED_ARRAY_TAG"),S=a&&!!h&&"Opera"!==l(i.opera),M=!1,E={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},T={BigInt64Array:8,BigUint64Array:8},R=function(e){if(!s(e))return!1;var t=l(e);return c(E,t)||c(T,t)};for(r in E)i[r]||(S=!1);if((!S||"function"!=typeof y||y===Function.prototype)&&(y=function(){throw TypeError("Incorrect invocation")},S))for(r in E)i[r]&&h(i[r],y);if((!S||!x||x===w)&&(x=y.prototype,S))for(r in E)i[r]&&h(i[r].prototype,x);if(S&&f(b)!==x&&h(b,x),o&&!c(x,k))for(r in M=!0,p(x,k,{get:function(){return s(this)?this[B]:void 0}}),E)i[r]&&u(i[r],B,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:S,TYPED_ARRAY_TAG:M&&B,aTypedArray:function(e){if(R(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(h){if(C.call(y,e))return e}else for(var t in E)if(c(E,r)){var n=i[t];if(n&&(e===n||C.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(o){if(n)for(var r in E){var a=i[r];if(a&&c(a.prototype,e))try{delete a.prototype[e]}catch(e){}}x[e]&&!n||d(x,e,n?t:S&&A[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,a;if(o){if(h){if(n)for(r in E)if((a=i[r])&&c(a,e))try{delete a[e]}catch(e){}if(y[e]&&!n)return;try{return d(y,e,n?t:S&&y[e]||t)}catch(e){}}for(r in E)!(a=i[r])||a[e]&&!n||d(a,e,t)}},isView:function(e){if(!s(e))return!1;var t=l(e);return"DataView"===t||c(E,t)||c(T,t)},isTypedArray:R,TypedArray:y,TypedArrayPrototype:x}},f069:function(e,t,n){"use strict";var r=n("1c0b"),a=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 a(e)}},f5df:function(e,t,n){var r=n("00ee"),a=n("c6b6"),o=n("b622")("toStringTag"),i="Arguments"==a(function(){return arguments}());e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?a(t):"Object"==(r=a(t))&&"function"==typeof t.callee?"Arguments":r}},f772:function(e,t,n){var r=n("5692"),a=n("90e3"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=a(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}},fb15:function(e,t,n){"use strict";if(n.r(t),"undefined"!=typeof window){var r=window.document.currentScript,a=n("8875");r=a(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:a});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}n("7a82"),n("b64b"),n("a4d3"),n("4de4"),n("e439"),n("4160"),n("159b"),n("dbb4"),n("1d1c");function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n("a9e3"),n("d81d"),n("4e82"),n("fb6a"),n("7db0"),n("4fad");var l=n("e166"),u=n.n(l);function d(e,t,n,r,a,o,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),o&&(l._scopeId="data-v-"+o),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__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):a&&(c=s?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),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 p,f=d({name:"Loader",props:{show:{type:Boolean,default:!1},infinite:{type:Boolean,default:!1}}},(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()])}),[],!1,null,null,null).exports,h=(n("99af"),n("b0c0"),d({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}}},(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()])}),[],!1,null,null,null).exports),m=d({name:"RoomsSearch",components:{SvgIcon:h},props:{textMessages:{type:Object,required:!0},showSearch:{type:Boolean,required:!0},showAddRoom:{type:Boolean,required:!0},rooms:{type:Array,required:!0},loadingRooms:{type:Boolean,required:!0}},emits:["search-room","add-room"],computed:{showSearchBar:function(){return this.showSearch||this.showAddRoom}}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"vac-box-search":e.showSearchBar,"vac-box-empty":!e.showSearchBar}},[e.showSearch?[!e.loadingRooms&&e.rooms.length?n("div",{staticClass:"vac-icon-search"},[e._t("search-icon",(function(){return[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._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",(function(){return[n("svg-icon",{attrs:{name:"add"}})]}))],2):e._e()],2)}),[],!1,null,null,null).exports,g=n("c28b"),v=n.n(g),A=(n("cc71"),n("c5d0"),n("2315"),n("c975"),n("baa5"),n("45fc"),n("caad"),n("2532"),n("ac1f"),n("5319"),n("466d"),n("4d63"),n("25f0"),n("74fe")),_=function(e,t){var n=function(e){var t=[];return e.forEach((function(e){"string"==typeof e?t.push({types:[],value:e}):C[e.start]&&t.push(B(e))})),t}(k(e)),r=[].concat.apply([],n);return t&&function(e){var t=[];e.forEach((function(e){var n=A.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)}))}(r),r},b="*",y="_",x="~",w="°",C=(i(p={},b,{end:"\\"+[b],allowed_chars:".",type:"bold"}),i(p,y,{end:[y],allowed_chars:".",type:"italic"}),i(p,x,{end:[x],allowed_chars:".",type:"strike"}),i(p,w,{end:[w],allowed_chars:".",type:"underline"}),i(p,"```",{end:"```",allowed_chars:"(.|\n)",type:"multiline-code"}),i(p,"`",{end:"`",allowed_chars:".",type:"inline-code"}),i(p,"<usertag>",{allowed_chars:".",end:"</usertag>",type:"tag"}),p);function k(e){var t=[],n=-1,r=null,a=A.find(e),o=!1;if(a.length>0&&(n=e.indexOf(a[0].value),o=!0),Object.keys(C).forEach((function(t){var a=e.indexOf(t);a>=0&&(n<0||a<n)&&(n=a,r=t,o=!1)})),o&&-1!==r){var i=e.substr(0,n),s=e.substr(n,a[0].value.length),c=e.substr(n+a[0].value.length);return t.push(i),t.push(s),t=t.concat(k(c))}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 p=d.match(new RegExp("^("+(C[u].allowed_chars||".")+"*"+(C[u].end?"?":"")+")"+(C[u].end?"("+C[u].end+")":""),"m"));if(p&&p[1]){l&&t.push(l);var f={start:u,content:k(p[1]),end:p[2],type:C[u].type};t.push(f),d=d.substr(p[0].length)}else l+=u,t.push(l);return t=t.concat(k(d))}return e?[e]:[]}function B(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:B(r)})}))})),t}var S=n("c9d9"),M=d({name:"FormatMessage",components:{SvgIcon:h},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}},emits:["open-user-tag"],computed:{linkifiedMessage:function(){var e=this,t=_(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(".");e.value.lastIndexOf("/")>t&&(t=-1);var n=e.value.substring(t+1,e.value.length),r=t>0&&S.b.some((function(e){return n.toLowerCase().includes(e)}));return r&&this.setImageSize(e),r},setImageSize:function(e){var t=new Image;t.src=e.value,t.addEventListener("load",(function n(r){var a=r.path[0].width/150;e.height=Math.round(r.path[0].height/a)+"px",t.removeEventListener("load",n)}))},formatTags:function(e){return this.users.forEach((function(t){var n=e.indexOf(t._id);"<usertag>"===e.substring(n-9,n)&&(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)}}}},(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",(function(){return[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)+" ")])])}),[],!1,null,null,null).exports,E=(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}}),T=n("bd43").isAudioFile,R=d({name:"RoomsContent",components:{SvgIcon:h,FormatMessage:M},directives:{clickOutside:v.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}},emits:["room-action-handler"],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 E(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 T(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}}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-room-container"},[e._t("room-list-item",(function(){return[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",(function(){return[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",(function(){return[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",(function(){return[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",(function(){return[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)}),[],!1,null,null,null).exports,L=(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?O(e[t]).startsWith(O(n)):O(e[t]).includes(O(n))})):e});function O(e){return e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"")}var j=d({name:"RoomsList",components:{InfiniteLoading:u.a,Loader:f,RoomsSearch:m,RoomContent:R},props:{currentUserId:{type:[String,Number],required:!0},textMessages:{type:Object,required:!0},showRoomsList:{type:Boolean,required:!0},showSearch:{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}},emits:["add-room","room-action-handler","loading-more-rooms","fetch-room","fetch-more-rooms"],data:function(){return{filteredRooms:this.rooms||[],infiniteState:null,loadingMoreRooms:!1,selectedRoomId:""}},watch:{rooms:{deep:!0,handler: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=L(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}}}},(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"),e._t("rooms-list-search",(function(){return[n("rooms-search",{attrs:{rooms:e.rooms,"loading-rooms":e.loadingRooms,"text-messages":e.textMessages,"show-search":e.showSearch,"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",(function(){return[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:{"force-use-infinite-wrapper":".vac-room-list","web-component-name":"vue-advanced-chat",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)}),[],!1,null,null,null).exports;n("d3b7"),n("e6cf");function I(e,t,n,r,a,o,i){try{var s=e[o](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,a)}n("277d");function D(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}n("e01a"),n("d28b"),n("e260"),n("3ca3"),n("ddb0"),n("a630");function P(e){return function(e){if(Array.isArray(e))return D(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return D(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)?D(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n("96cf"),n("4795"),n("cca6"),n("498a"),n("accc"),n("0d03"),n("2b3d");var N={"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:"🔹"}},H=n("669f"),q=d({components:{EmojiPicker:n.n(H).a,SvgIcon:h},props:{emojiOpened:{type:Boolean,default:!1},emojiReaction:{type:Boolean,default:!1},roomFooterRef:{type:HTMLDivElement,default:null},positionTop:{type:Boolean,default:!1},positionRight:{type:Boolean,default:!1}},emits:["add-emoji","open-emoji"],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 a=t<500||n<700;if(r.roomFooterRef)if(a)r.emojiPickerRight=t/2-120+"px",r.emojiPickerTop=100,r.emojiPickerHeight=n-200;else{var o=r.roomFooterRef.getBoundingClientRect().top-e>r.emojiPickerHeight-50;r.emojiPickerTop=o?e+10:e-r.emojiPickerHeight-10,r.emojiPickerRight=r.positionTop?"-50px":r.positionRight?"60px":""}else a&&(r.emojiPickerRight="0px")}))}}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-emoji-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.apply(null,arguments)},e.openEmoji]}},[e._t("emoji-picker-icon",(function(){return[n("svg-icon",{attrs:{name:"emoji",param:e.emojiReaction?"reaction":""}})]}))],2)]}},e.emojiOpened?{key:"emoji-picker",fn:function(t){var r=t.emojis,a=t.insert;return[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 a({emoji:t,emojiName:r})}}},[e._v(" "+e._s(t)+" ")])})),0):e._e()])})),0)])])]}}:null],null,!0)})],1)}),[],!1,null,null,null),F=q.exports,U=d({name:"RoomHeader",components:{SvgIcon:h},directives:{clickOutside:v.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}},emits:["toggle-rooms-list","room-info","menu-action-handler"],data:function(){return{menuOpened:!1}},computed:{typingUsers:function(){return E(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}}},(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",(function(){return[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",(function(){return[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",(function(){return[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",(function(){return[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",(function(){return[e.menuActions.length?n("div",{staticClass:"vac-svg-button vac-room-options",on:{click:function(t){e.menuOpened=!e.menuOpened}}},[e._t("menu-icon",(function(){return[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)}),[],!1,null,null,null).exports,$=d({props:{percentage:{type:Number,default:0}},emits:["hover-audio-progress","change-linehead"],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,a=(e.clientX-r)/n;return a=(a=a<0?0:a)>1?1:a}}},(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+"%"}})])])])}),[],!1,null,null,null),z=d({name:"AudioPlayer",components:{SvgIcon:h,AudioControl:$.exports},props:{src:{type:String,default:null}},emits:["hover-audio-progress","update-progress-time"],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)}}},(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",(function(){return[n("svg-icon",{attrs:{name:"audio-pause"}})]})):e._t("audio-play-icon",(function(){return[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)])}),[],!1,null,null,null).exports,V=n("bd43"),Y=V.isAudioFile,W=V.isImageFile,G=V.isVideoFile,X=d({name:"RoomMessageReply",components:{SvgIcon:h,FormatMessage:M,AudioPlayer:z},props:{room:{type:Object,required:!0},messageReply:{type:Object,default:null},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0}},emits:["reset-message"],computed:{isImageFile:function(){return W(this.messageReply.file)},isVideoFile:function(){return G(this.messageReply.file)},isAudioFile:function(){return Y(this.messageReply.file)}}},(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"},[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)]),e.isImageFile?n("img",{staticClass:"vac-image-reply",attrs:{src:e.messageReply.file.url}}):e.isVideoFile?n("video",{staticClass:"vac-image-reply",attrs:{controls:""}},[n("source",{attrs:{src:e.messageReply.file.url}})]):e.isAudioFile?n("audio-player",{staticClass:"vac-audio-reply",attrs:{src:e.messageReply.file.url},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()],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",(function(){return[n("svg-icon",{attrs:{name:"close-outline"}})]}))],2)])]):e._e()])}),[],!1,null,null,null).exports,Z=d({name:"RoomUsersTag",props:{filteredUsersTag:{type:Array,required:!0}},emits:["select-user-tag"]},(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()])}),[],!1,null,null,null).exports,K=d({name:"RoomEmojis",props:{filteredEmojis:{type:Array,required:!0}},emits:["select-emoji"]},(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()])}),[],!1,null,null,null).exports,Q=(n("13d5"),n("bd43")),J=Q.isAudioFile,ee=Q.isImageFile,te=Q.isVideoFile,ne=d({name:"MessageReply",components:{AudioPlayer:z,FormatMessage:M},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:""},isAudio:function(){return J(this.message.replyMessage.file)},isImage:function(){return ee(this.message.replyMessage.file)},isVideo:function(){return te(this.message.replyMessage.file)}}},(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.isVideo?n("div",{staticClass:"vac-video-reply-container"},[n("video",{attrs:{width:"100%",height:"100%",controls:""}},[n("source",{attrs:{src:e.message.replyMessage.file.url}})])]):e.isAudio?n("audio-player",{attrs:{src:e.message.replyMessage.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)}):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)],1)}),[],!1,null,null,null).exports,re=n("bd43").isImageFile,ae=d({name:"MessageImage",components:{SvgIcon:h,Loader:f,FormatMessage:M},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}},emits:["open-file","open-user-tag"],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(re(this.message.file)){this.imageLoading=!0;var t=new Image;t.src=this.message.file.url,t.addEventListener("load",(function(){return e.imageLoading=!1}))}}}},(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",(function(){return[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",(function(){return[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)}),[],!1,null,null,null).exports,oe=n("bd43").isImageFile,ie=d({name:"MessageActions",components:{SvgIcon:h,EmojiPicker:F},directives:{clickOutside:v.a.directive},props:{currentUserId:{type:[String,Number],required:!0},message:{type:Object,required:!0},messageActions:{type:Array,required:!0},roomFooterRef:{type:HTMLDivElement,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}},emits:["update-emoji-opened","update-options-opened","update-message-hover","hide-options","message-action-handler","send-message-reaction"],data:function(){return{menuOptionsTop:0,optionsOpened:!1,optionsClosing:!1,emojiOpened:!1}},computed:{isImage:function(){return oe(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-n>t+50;e.menuOptionsTop=r?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()}}},(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",tag:"span"}},[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",(function(){return[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)}),[],!1,null,null,null).exports,se=d({name:"MessageReactions",props:{currentUserId:{type:[String,Number],required:!0},message:{type:Object,required:!0},emojisList:{type:Object,required:!0}},emits:["send-message-reaction"],methods:{getEmojiByName:function(e){return this.emojisList[e]},sendMessageReaction:function(e,t){this.$emit("send-message-reaction",{emoji:e,reaction:t})}}},(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",tag:"span"}},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)}),[],!1,null,null,null).exports,ce=n("4c1d").messagesValidation,le=n("bd43"),ue=le.isImageFile,de=le.isVideoFile,pe=le.isAudioFile,fe=d({name:"Message",components:{SvgIcon:h,FormatMessage:M,AudioPlayer:z,MessageReply:ne,MessageImage:ae,MessageActions:ie,MessageReactions:se},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:{type:HTMLDivElement,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}},emits:["hide-options","message-added","open-file","open-user-tag","message-action-handler","send-message-reaction"],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 ue(this.message.file)},isVideo:function(){return de(this.message.file)},isAudio:function(){return pe(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(){ce(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}}},(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"},[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)})],1):n("div",{staticClass:"vac-message-box",class:{"vac-offset-current":e.message.senderId===e.currentUserId}},[e._t("message",(function(){return[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",(function(){return[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}})]),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)})],1):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",(function(){return[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",(function(){return[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",(function(){return[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)])}),[],!1,null,null,null).exports;function he(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(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 ge(e,t,n){return t&&me(e.prototype,t),n&&me(e,n),e}var ve;n("c0b6"),n("acd8"),n("b680"),n("ace4"),n("fd87"),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"),n("6eba"),n("cfc3"),n("8b09");try{ve=n("db18")}catch(e){ve={missing:!0}}var Ae=ve.Mp3Encoder,_e=function(){function e(t){if(he(this,e),ve.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 Ae(1,this.sampleRate,this.bitRate)}return ge(e,[{key:"encode",value:function(e){for(var t=1152,n=this._convertBuffer(e),r=n.length,a=0;r>=0;a+=t){var o=n.subarray(a,a+t),i=this.encoder.encodeBuffer(o);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}(),be=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};he(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 ge(e,[{key:"start",value:function(){this.beforeRecording&&this.beforeRecording("start recording"),navigator.mediaDevices.getUserMedia({video:!1,audio:{channelCount:1,echoCancellation:!1}}).then(this._micCaptured.bind(this)).catch(this._micError.bind(this)),this.isPause=!1,this.isRecording=!0,this.lameEncoder||(this.lameEncoder=new _e(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()).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 a=0;a<n.length;++a)r+=n[a]*n[a];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}(),ye=n("1a98"),xe=ye.detectMobile,we=ye.iOSDevice,Ce=n("bd43"),ke=Ce.isImageFile,Be=Ce.isVideoFile,Se=function(e,t){var n;return function(){var r=this,a=arguments;clearTimeout(n),n=setTimeout((function(){return e.apply(r,a)}),t)}},Me={name:"Room",components:{InfiniteLoading:u.a,Loader:f,SvgIcon:h,EmojiPicker:F,RoomHeader:U,RoomMessageReply:X,RoomUsersTag:Z,RoomEmojis:K,Message:fe},directives:{clickOutside:v.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}},emits:["toggle-rooms-list","room-info","menu-action-handler","edit-message","send-message","delete-message","message-action-handler","fetch-messages","send-message-reaction","typing-message","open-file","open-user-tag","textarea-action-handler"],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(N).map((function(e){return N[e]}));return Object.assign.apply(Object,[{}].concat(P(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:{message:function(e){this.$refs.roomTextarea.value=e},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:{deep:!0,handler: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.length)===(null==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;this.newMessages=[];var t=xe();this.$refs.roomTextarea.addEventListener("keyup",Se((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(":")})),50),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:{touchStart:function(e){var t=this;if(1===e.changedTouches.length){var n=e.changedTouches[0].clientX;addEventListener("touchend",(function(e){return t.touchEnd(e,n)}),{once:!0})}},touchEnd:function(e,t){1===e.changedTouches.length&&(e.changedTouches[0].clientX-t>30&&this.$emit("toggle-rooms-list"))},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,a=e.ref;if(r===this.messages.length-1){var o=a.offsetHeight+60;setTimeout((function(){t.getBottomScroll(t.$refs.scrollContainer)<o||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;for(var t=this.textareaCursorPosition;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 a=this.message.substring(t,this.textareaCursorPosition);":"===e?this.updateEmojis(a):"@"===e&&this.updateShowUsersTag(a)}}},getCharPosition:function(e){for(var t=this.$refs.roomTextarea.selectionStart;t>0&&this.message.charAt(t-1)!==e;)t--;for(var n=t;this.message.charAt(n)&&this.message.charAt(n).trim();)n++;return{position:t,endPosition:n}},updateEmojis:function(e){var t=this;if(e){var n=Object.keys(this.emojisList).filter((function(t){return t.startsWith(e)}));this.filteredEmojis=n.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=L(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,a=this.message.substr(r,r).length?"":" ";this.message=this.message.substr(0,n)+e.username+a+this.message.substr(r,this.message.length-1),this.selectedUsersTag=[].concat(P(this.selectedUsersTag),[c({},e)]),this.cursorRangePosition=n+e.username.length+a.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.resetTextareaSize(),this.focusTextarea()},resetTextareaSize:function(){this.$refs.roomTextarea&&(this.$refs.roomTextarea.style.height="20px")},focusTextarea:function(e){var t=this;xe()&&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.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}}),we()?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=c({},e),this.file=e.file,ke(this.file)?(this.imageFile=e.file.url,setTimeout((function(){return t.onMediaLoad()}))):Be(this.file)&&(this.videoFile=e.file.url,setTimeout((function(){return t.onMediaLoad()}),50)),this.message=e.content},getBottomScroll:function(e){return e.scrollHeight-e.clientHeight-e.scrollTop},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:Se((function(e){this.message=e.target.value,this.keepKeyboardOpen=!0,this.resizeTextarea(),this.$emit("typing-message",this.message)}),100),resizeTextarea:function(){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()},onPasteImage:function(e){var t,n=this,r=null===(t=e.clipboardData)||void 0===t?void 0:t.items;r&&r.forEach((function(e){if(e.type.includes("image")){var t=e.getAsFile();n.onFileChange([t])}}))},onFileChange:function(e){var t,n=this;return(t=regeneratorRuntime.mark((function t(){var r,a,o,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.fileDialog=!0,n.resetMediaFile(),r=e[0],a=URL.createObjectURL(r),t.next=6,fetch(a).then((function(e){return e.blob()}));case 6:o=t.sent,i=r.name.lastIndexOf("."),n.file={blob:o,name:r.name.substring(0,i),size:r.size,type:r.type,extension:r.name.substring(i+1),localUrl:a},ke(n.file)?n.imageFile=a:Be(n.file)?(n.videoFile=a,setTimeout((function(){return n.onMediaLoad()}),50)):n.message=r.name,setTimeout((function(){return n.fileDialog=!1}),500);case 11:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,a){var o=t.apply(e,n);function i(e){I(o,r,a,i,s,"next",e)}function s(e){I(o,r,a,i,s,"throw",e)}i(void 0)}))})()},initRecorder:function(){return this.isRecording=!1,new be({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(e){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)}}},Ee=d(Me,(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",on:{touchstart:e.touchStart}},[e.showNoRoom?e._t("no-room-selected",(function(){return[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",(function(){return[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",tag:"span"}},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",(function(){return[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"},[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",(function(){return[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",(function(){return[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",(function(){return[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",(function(){return[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",(function(){return[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",(function(){return[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",(function(){return[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"}],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},on:{input:e.onChangeInput,keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.escapeTextarea.apply(null,arguments)},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()}],paste:e.onPasteImage}}),n("div",{staticClass:"vac-icon-textarea"},[e.editedMessage._id?n("div",{staticClass:"vac-svg-button",on:{click:e.resetMessage}},[e._t("edit-close-icon",(function(){return[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",(function(){return[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",(function(){return[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",(function(){return[n("svg-icon",{attrs:{name:"send",param:e.isMessageEmpty?"disabled":""}})]}))],2):e._e()],1)])],1)],2)}),[],!1,null,null,null),Te=Ee.exports,Re={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..."},Le=(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"}}}),Oe=n("4c1d"),je=Oe.roomsValidation,Ie=Oe.partcipantsValidation,De={name:"ChatContainer",components:{RoomsList:j,Room:Te},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}]}},showSearch:{type:Boolean,default:!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"}}},roomMessage:{type:String,default:""},acceptedFiles:{type:String,default:"*"}},emits:["toggle-rooms-list","room-info","fetch-messages","send-message","edit-message","delete-message","open-file","open-user-tag","menu-action-handler","message-action-handler","send-message-reaction","typing-message","textarea-action-handler","fetch-more-rooms","add-room","room-action-handler"],data:function(){return{room:{},loadingMoreRooms:!1,showRoomsList:!0,isMobile:!1}},computed:{t:function(){return c(c({},Re),this.textMessages)},cssVars:function(){var e,t,n,r,a,o,i,s,l,u,d,p,f,h=this,m=Le[this.theme],g={};return Object.keys(m).map((function(e){g[e]=c(c({},m[e]),h.styles[e]||{})})),t=(e=g).general,n=e.container,r=e.header,a=e.footer,o=e.sidemenu,i=e.content,s=e.dropdown,l=e.message,u=e.markdown,d=e.room,p=e.emoji,f=e.icons,{"--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":a.background,"--chat-border-style-input":a.borderStyleInput,"--chat-border-color-input-selected":a.borderInputSelected,"--chat-footer-bg-color-reply":a.backgroundReply,"--chat-footer-bg-color-tag-active":a.backgroundTagActive,"--chat-content-bg-color":i.background,"--chat-sidemenu-bg-color":o.background,"--chat-sidemenu-bg-color-hover":o.backgroundHover,"--chat-sidemenu-bg-color-active":o.backgroundActive,"--chat-sidemenu-color-active":o.colorActive,"--chat-sidemenu-border-color-search":o.borderColorSearch,"--chat-dropdown-bg-color":s.background,"--chat-dropdown-bg-color-hover":s.backgroundHover,"--chat-message-bg-color":l.background,"--chat-message-bg-color-me":l.backgroundMe,"--chat-message-color-started":l.colorStarted,"--chat-message-bg-color-deleted":l.backgroundDeleted,"--chat-message-color-deleted":l.colorDeleted,"--chat-message-color-username":l.colorUsername,"--chat-message-color-timestamp":l.colorTimestamp,"--chat-message-bg-color-date":l.backgroundDate,"--chat-message-color-date":l.colorDate,"--chat-message-bg-color-system":l.backgroundSystem,"--chat-message-color-system":l.colorSystem,"--chat-message-color":l.color,"--chat-message-bg-color-media":l.backgroundMedia,"--chat-message-bg-color-reply":l.backgroundReply,"--chat-message-color-reply-username":l.colorReplyUsername,"--chat-message-color-reply-content":l.colorReply,"--chat-message-color-tag":l.colorTag,"--chat-message-bg-color-image":l.backgroundImage,"--chat-message-color-new-messages":l.colorNewMessages,"--chat-message-bg-color-scroll-counter":l.backgroundScrollCounter,"--chat-message-color-scroll-counter":l.colorScrollCounter,"--chat-message-bg-color-reaction":l.backgroundReaction,"--chat-message-border-style-reaction":l.borderStyleReaction,"--chat-message-bg-color-reaction-hover":l.backgroundReactionHover,"--chat-message-border-style-reaction-hover":l.borderStyleReactionHover,"--chat-message-color-reaction-counter":l.colorReactionCounter,"--chat-message-bg-color-reaction-me":l.backgroundReactionMe,"--chat-message-border-style-reaction-me":l.borderStyleReactionMe,"--chat-message-bg-color-reaction-hover-me":l.backgroundReactionHoverMe,"--chat-message-border-style-reaction-hover-me":l.borderStyleReactionHoverMe,"--chat-message-color-reaction-counter-me":l.colorReactionCounterMe,"--chat-message-bg-color-audio-record":l.backgroundAudioRecord,"--chat-message-bg-color-audio-line":l.backgroundAudioLine,"--chat-message-bg-color-audio-progress":l.backgroundAudioProgress,"--chat-message-bg-color-audio-progress-selector":l.backgroundAudioProgressSelector,"--chat-markdown-bg":u.background,"--chat-markdown-border":u.border,"--chat-markdown-color":u.color,"--chat-markdown-color-multi":u.colorMulti,"--chat-room-color-username":d.colorUsername,"--chat-room-color-message":d.colorMessage,"--chat-room-color-timestamp":d.colorTimestamp,"--chat-room-color-online":d.colorStateOnline,"--chat-room-color-offline":d.colorStateOffline,"--chat-room-bg-color-badge":d.backgroundCounterBadge,"--chat-room-color-badge":d.colorCounterBadge,"--chat-emoji-bg-color":p.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}},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&&(je(e),e.users.forEach((function(e){Ie(e)})))}},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",c(c({},e),{},{roomId:this.room.roomId}))},editMessage:function(e){this.$emit("edit-message",c(c({},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",c(c({},e),{},{roomId:this.room.roomId}))},sendMessageReaction:function(e){this.$emit("send-message-reaction",c(c({},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})}}},Pe=(n("eb23"),d(De,(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-search":e.showSearch,"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)])}),[],!1,null,null,null).exports);Object.defineProperty(Pe,"install",{configurable:!1,enumerable:!1,value:function(e){e.component("ChatWindow",Pe)}});var Ne=Pe;t.default=Ne},fb6a:function(e,t,n){"use strict";var r=n("23e7"),a=n("861d"),o=n("e8b5"),i=n("23cb"),s=n("50c4"),c=n("fc6a"),l=n("8418"),u=n("b622"),d=n("1dde")("slice"),p=u("species"),f=[].slice,h=Math.max;r({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var n,r,u,d=c(this),m=s(d.length),g=i(e,m),v=i(void 0===t?m:t,m);if(o(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!o(n.prototype)?a(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return f.call(d,g,v);for(r=new(void 0===n?Array:n)(h(v-g,0)),u=0;g<v;g++,u++)g in d&&l(r,u,d[g]);return r.length=u,r}})},fc6a:function(e,t,n){var r=n("44ad"),a=n("1d80");e.exports=function(e){return r(a(e))}},fce3:function(e,t,n){var r=n("d039");e.exports=r((function(){var e=RegExp(".","string".charAt(0));return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},fd87:function(e,t,n){n("74e8")("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}})},56540:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self;var r,a,o=(r=function(e,t){e.exports=function e(t,n,r){var a,o,i=window,s="application/octet-stream",c=r||s,l=t,u=!n&&!r&&l,d=document.createElement("a"),p=function(e){return String(e)},f=i.Blob||i.MozBlob||i.WebKitBlob||p,h=n||"download";if(f=f.call?f.bind(i):Blob,"true"===String(this)&&(c=(l=[l,c])[0],l=l[1]),u&&u.length<2048&&(h=u.split("/").pop().split("?")[0],d.href=u,-1!==d.href.indexOf(u))){var m=new XMLHttpRequest;return m.open("GET",u,!0),m.responseType="blob",m.onload=function(t){e(t.target.response,h,s)},setTimeout((function(){m.send()}),0),m}if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(l)){if(!(l.length>2096103.424&&f!==p))return navigator.msSaveBlob?navigator.msSaveBlob(_(l),h):b(l);c=(l=_(l)).type||s}else if(/([\x80-\xff])/.test(l)){for(var g=0,v=new Uint8Array(l.length),A=v.length;g<A;++g)v[g]=l.charCodeAt(g);l=new f([v],{type:c})}function _(e){for(var t=e.split(/[:;,]/),n=t[1],r=("base64"==t[2]?atob:decodeURIComponent)(t.pop()),a=r.length,o=0,i=new Uint8Array(a);o<a;++o)i[o]=r.charCodeAt(o);return new f([i],{type:n})}function b(e,t){if("download"in d)return d.href=e,d.setAttribute("download",h),d.className="download-js-link",d.innerHTML="downloading...",d.style.display="none",document.body.appendChild(d),setTimeout((function(){d.click(),document.body.removeChild(d),!0===t&&setTimeout((function(){i.URL.revokeObjectURL(d.href)}),250)}),66),!0;if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))return/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),window.open(e)||confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")&&(location.href=e),!0;var n=document.createElement("iframe");document.body.appendChild(n),!t&&/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),n.src=e,setTimeout((function(){document.body.removeChild(n)}),333)}if(a=l instanceof f?l:new f([l],{type:c}),navigator.msSaveBlob)return navigator.msSaveBlob(a,h);if(i.URL)b(i.URL.createObjectURL(a),!0);else{if("string"==typeof a||a.constructor===p)try{return b("data:"+c+";base64,"+i.btoa(a))}catch(e){return b("data:"+c+","+encodeURIComponent(a))}(o=new FileReader).onload=function(e){b(this.result)},o.readAsDataURL(a)}return!0}},r(a={exports:{}},a.exports),a.exports);var i=function(e,t,n,r,a,o,i,s,c,l){"boolean"!=typeof i&&(c=s,s=i,i=!1);var u,d="function"==typeof n?n.options:n;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,a&&(d.functional=!0)),r&&(d._scopeId=r),o?(u=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__),t&&t.call(this,c(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},d._ssrRegister=u):t&&(u=i?function(){t.call(this,l(this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),u)if(d.functional){var p=d.render;d.render=function(e,t){return u.call(t),p(e,t)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,u):[u]}return n};const s={props:{type:{type:String,default:"xls"},data:{type:Array,required:!1,default:null},fields:{type:Object,default:()=>null},exportFields:{type:Object,default:()=>null},defaultValue:{type:String,required:!1,default:""},header:{default:null},footer:{default:null},name:{type:String,default:"data.xls"},fetch:{type:Function},meta:{type:Array,default:()=>[]},worksheet:{type:String,default:"Sheet1"},beforeGenerate:{type:Function},beforeFinish:{type:Function},escapeCsv:{type:Boolean,default:!0},stringifyLongNum:{type:Boolean,default:!1}},computed:{idName:()=>"export_"+(new Date).getTime(),downloadFields(){return this.fields?this.fields:this.exportFields?this.exportFields:void 0}},methods:{async generate(){"function"==typeof this.beforeGenerate&&await this.beforeGenerate();let e=this.data;if("function"!=typeof this.fetch&&e||(e=await this.fetch()),!e||!e.length)return;let t=this.getProcessedJson(e,this.downloadFields);return"html"===this.type?this.export(this.jsonToXLS(t),this.name.replace(".xls",".html"),"text/html"):"csv"===this.type?this.export(this.jsonToCSV(t),this.name.replace(".xls",".csv"),"application/csv"):this.export(this.jsonToXLS(t),this.name,"application/vnd.ms-excel")},export:async function(e,t,n){let r=this.base64ToBlob(e,n);"function"==typeof this.beforeFinish&&await this.beforeFinish(),o(r,t,n)},jsonToXLS(e){let t="<thead>";const n=Object.keys(e[0]).length;let r=this;const a=this.header||this.$attrs.title;a&&(t+=this.parseExtraData(a,'<tr><th colspan="'+n+'">${data}</th></tr>')),t+="<tr>";for(let n in e[0])t+="<th>"+n+"</th>";return t+="</tr>",t+="</thead>",t+="<tbody>",e.map((function(e,n){t+="<tr>";for(let n in e)t+="<td>"+r.preprocessLongNum(r.valueReformattedForMultilines(e[n]))+"</td>";t+="</tr>"})),t+="</tbody>",null!=this.footer&&(t+="<tfoot>",t+=this.parseExtraData(this.footer,'<tr><td colspan="'+n+'">${data}</td></tr>'),t+="</tfoot>"),'<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=ProgId content=Excel.Sheet> <meta name=Generator content="Microsoft Excel 11"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\x3c!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>${worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--\x3e<style>br {mso-data-placement: same-cell;}</style></head><body><table>${table}</table></body></html>'.replace("${table}",t).replace("${worksheet}",this.worksheet)},jsonToCSV(e){let t=this;var n=[];const r=this.header||this.$attrs.title;r&&n.push(this.parseExtraData(r,"${data}\r\n"));for(let t in e[0])n.push(t),n.push(",");return n.pop(),n.push("\r\n"),e.map((function(e){for(let r in e){let a=e[r]+"";t.escapeCsv&&(a='="'+a+'"',a.match(/[,"\n]/)&&(a='"'+a.replace(/\"/g,'""')+'"')),n.push(a),n.push(",")}n.pop(),n.push("\r\n")})),null!=this.footer&&n.push(this.parseExtraData(this.footer,"${data}\r\n")),n.join("")},getProcessedJson(e,t){let n=this.getKeys(e,t),r=[],a=this;return e.map((function(e,t){let o={};for(let t in n){let r=n[t];o[t]=a.getValue(r,e)}r.push(o)})),r},getKeys(e,t){if(t)return t;let n={};for(let t in e[0])n[t]=t;return n},parseExtraData(e,t){let n="";if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&(n+=t.replace("${data}",e[r]));else n+=t.replace("${data}",e);return n},getValue(e,t){const n="object"!=typeof e?e:e.field;let r="string"!=typeof n?[]:n.split("."),a=this.defaultValue;return a=n?r.length>1?this.getValueFromNestedItem(t,r):this.parseValue(t[n]):t,e.hasOwnProperty("callback")&&(a=this.getValueFromCallback(a,e.callback)),a},valueReformattedForMultilines:e=>"string"==typeof e?e.replace(/\n/gi,"<br/>"):e,preprocessLongNum(e){if(this.stringifyLongNum){if(String(e).startsWith("0x"))return e;if(!isNaN(e)&&""!=e&&(e>99999999999||e<1e-13))return'="'+e+'"'}return e},getValueFromNestedItem(e,t){let n=e;for(let e of t)n&&(n=n[e]);return this.parseValue(n)},getValueFromCallback(e,t){if("function"!=typeof t)return this.defaultValue;const n=t(e);return this.parseValue(n)},parseValue(e){return e||0===e||"boolean"==typeof e?e:this.defaultValue},base64ToBlob(e,t){let n=window.btoa(window.unescape(encodeURIComponent(e))),r=atob(n),a=r.length,o=new Uint8ClampedArray(a);for(;a--;)o[a]=r.charCodeAt(a);return new Blob([o],{type:t})}}};var c=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{attrs:{id:e.idName},on:{click:e.generate}},[e._t("default",[e._v(" Download "+e._s(e.name)+" ")])],2)};c._withStripped=!0;const l=i({render:c,staticRenderFns:[]},undefined,s,undefined,!1,undefined,void 0,void 0)},28872:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(5186),a=n(90659),o=n(45168),i=n(66186),s=n(9669),c=n.n(s),l=(n(19755),n(20144)),u=n(56540),d=n(10103);function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}l.default.component("downloadExcel",u.Z);const f={metaInfo:{title:"Storage"},layout:r.Z,props:{owes1:Array,owerealiztor:Array,oweshop:Array,oweother:Array,categories:Array,incomes:Array,expenses:Array,users:Array,zarplata:Array,workers:Array,days:Array,saldo:Array,income:Number},data:function(){var e;return p(e={years:[2021,2020,2019,2018],months:[{id:1,name:"Январь"},{id:2,name:"Февраль"},{id:3,name:"Март"},{id:4,name:"Апрель"},{id:5,name:"Май"},{id:6,name:"Июнь"},{id:7,name:"Июль"},{id:8,name:"Август"},{id:9,name:"Сентябрь"},{id:10,name:"Октябрь"},{id:11,name:"Ноябрь"},{id:12,name:"Декабрь"}],salary_month:(new Date).getMonth()+1,salary_year:(new Date).getFullYear(),salary_month1:(new Date).getMonth()+1,salary_year1:(new Date).getFullYear(),work_users:this.users,form:this.$inertia.form({first_name:null,last_name:null,salary:null}),json_fields1:{Реализаторы:"realizator","Сумма долга на сегодня":"amount"},json_data1:this.owerealizator,json_fields2:{Магазин:"shop","Сумма долга на сегодня":"amount"},json_data2:this.oweshop,json_fields3:{Другое:"name","Сумма долга на сегодня":"amount"},json_data3:this.oweother,json_fields:{Сотрудник:"worker.name",Оклад:"worker.salary","Отработано дней":"days","Всего начислено":"income","Взносы ОСМС":"OSMS",ИПН:"IPN",ОПВ:"OPV","Всего к оплате":"total_income","Начальное сальдо":"initial_saldo","Конечное сальдо":"end_saldo",Рспись:""},json_data:this.zarplata,json_meta:[{key:"charset",value:"utf-8"}],myworkers:this.workers,mydays:this.days,mysaldo:this.saldo,mysalary:this.zarplata,income_user:null,rashod_user:null,income_sotrudnik:"",rashod_sotrudnik:"",income_sum:null,income_description:null,rashod_sum:null,rashod_category:null,rashod_description:null,myexpenses:this.expenses,myincomes:this.incomes,kassa:!0,dolgi:!1,worker:"",worker_salary:0},"mysalary",this.zarplata),p(e,"owes",!0),p(e,"salary",!1),p(e,"reports",!1),p(e,"salary",!1),e},mounted:function(){},created:function(){},components:{NumberInput:a.Z,SelectInput:i.Z,TextInput:o.Z,JsonExcel:u.Z,LoadingButton:d.Z},watch:{rashod_category:function(e){var t=this;4==e?c().get("get-work-users").then((function(e){t.work_users=e.data})):this.work_users=this.users},salary_month1:function(e){var t=this;c().post("get-salary-month",{month:e,year:this.salary_year1}).then((function(e){t.mysalary=e.data,t.salary_month1-1==(new Date).getMonth()&&t.salary_year1==(new Date).getFullYear()?t.myworkers=t.workers:t.myworkers=[]}))},salary_year1:function(e){var t=this;c().post("get-salary-month",{month:this.salary_month1,year:e}).then((function(e){t.mysalary=e.data,t.salary_month1-1==(new Date).getMonth()&&t.salary_year1==(new Date).getFullYear()?t.myworkers=t.workers:t.myworkers=[]}))},salary_month:function(e){var t=this;c().post("get-owes-month",{month:e,year:this.salary_year}).then((function(e){t.myowes1=e.data}))},salary_year:function(e){var t=this;c().post("get-owes-month",{month:this.salary_month,year:e}).then((function(e){t.myowes1=e.data}))}},computed:{},methods:{addList:function(){var e=this;c().get("get-work-users").then((function(t){e.work_users=t.data}))},hozrashod:function(){alert("not ready yet!")},vozvrat:function(){alert("not ready yet!")},others:function(){alert("not ready yet!")},moloko:function(){alert("not ready yet!")},addWorker:function(){this.form.post(this.route("add-worker")),this.$modal.hide("addWorker")},showAddWorkerForm:function(){this.$modal.show("addWorker")},countOklad:function(){var e=0;return this.mysalary.forEach((function(t,n){e+=parseInt(t.worker.salary)})),e},countIncome:function(){var e=0;return this.mysalary.forEach((function(t,n){e+=parseInt(t.income)})),e},countOSMS:function(){var e=0;return this.mysalary.forEach((function(t,n){e+=parseInt(t.OSMS)})),e},countIPN:function(){var e=0;return this.mysalary.forEach((function(t,n){e+=parseInt(t.IPN)})),e},countOPV:function(){var e=0;return this.mysalary.forEach((function(t,n){e+=parseInt(t.OPV)})),e},countTotalIncome:function(){var e=0;return this.mysalary.forEach((function(t,n){e+=parseInt(t.total_income)})),e},countSaldo:function(){var e=0;return this.mysalary.forEach((function(t,n){e+=parseInt(t.initial_saldo)})),e},countEndSaldo:function(){var e=0;return this.mysalary.forEach((function(t,n){e+=parseInt(t.end_saldo)})),e},giveSalary:function(e,t){var n=this;c().post("give-salary",{worker:e,days:this.mydays[e-1],saldo:this.mysaldo[e-1]}).then((function(e){n.myworkers.splice(t,1)}))},showSalaryForm:function(){this.$modal.show("salaryForm")},showSalary:function(){this.kassa=!1,this.dolgi=!1,this.reports=!1,this.salary=!0},showReports:function(){this.kassa=!1,this.dolgi=!1,this.reports=!0,this.salary=!1},showKassa:function(){this.kassa=!0,this.dolgi=!1,this.reports=!1,this.salary=!1},showOwes:function(){this.kassa=!1,this.dolgi=!0,this.reports=!1,this.salary=!1},getIncomesTotal:function(){for(var e=0,t=0;t<this.incomes.length;t++)e+=parseInt(this.incomes[t].sum);return e},getExpensesTotal:function(){for(var e=0,t=0;t<this.expenses.length;t++)e+=parseInt(this.expenses[t].sum);return e},showRashod:function(){this.$modal.show("rashod")},showPrihod:function(){this.$modal.show("prihod")},addIncome:function(){var e=this;c().post("send-income",{sum:this.income_sum,description:this.income_description,user:this.income_user}).then((function(t){e.myincomes.push(t.data)})),this.$modal.hide("prihod")},addExpense:function(){var e=this;c().post("send-expense",{sum:this.rashod_sum,category:this.rashod_category,description:this.rashod_description,user:this.rashod_user}).then((function(t){e.myexpenses.push(t.data)})),this.$modal.hide("rashod")}}};const h=(0,n(51900).Z)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"flex flex-col h-full"},[n("div",{staticClass:"w-full bg-white rounded-2xl  h-auto p-6 overflow-y-auto "},[n("div",{staticClass:" gap-5 sm:flex justify-start"},[n("h3",[e._v("Зарплата")]),e._v(" "),n("select-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/6 mt-4",attrs:{label:"Месяц"},model:{value:e.salary_month1,callback:function(t){e.salary_month1=t},expression:"salary_month1"}},e._l(e.months,(function(t){return n("option",{domProps:{value:t.id}},[e._v(e._s(t.name))])})),0),e._v(" "),n("select-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/6",attrs:{label:"Год"},model:{value:e.salary_year1,callback:function(t){e.salary_year1=t},expression:"salary_year1"}},e._l(e.years,(function(t){return n("option",[e._v(e._s(t))])})),0)],1),e._v(" "),n("div",{staticClass:"overflow-y-auto h-80"},[n("table",{staticClass:"w-full whitespace-nowrap mt-5 tableizer-table"},[e._m(0),e._v(" "),e._l(e.mysalary,(function(t){return n("tr",{staticClass:"pt-2"},[n("td",[e._v(e._s(t.worker.name)+" "+e._s(t.worker.surname))]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.worker.salary,expression:"sal.worker.salary"}],attrs:{type:"number",name:""},domProps:{value:t.worker.salary},on:{input:function(n){n.target.composing||e.$set(t.worker,"salary",n.target.value)}}})]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.days,expression:"sal.days"}],attrs:{type:"number",name:""},domProps:{value:t.days},on:{input:function(n){n.target.composing||e.$set(t,"days",n.target.value)}}})]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.income,expression:"sal.income"}],attrs:{type:"number",name:""},domProps:{value:t.income},on:{input:function(n){n.target.composing||e.$set(t,"income",n.target.value)}}})]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.OSMS,expression:"sal.OSMS"}],attrs:{type:"number",name:""},domProps:{value:t.OSMS},on:{input:function(n){n.target.composing||e.$set(t,"OSMS",n.target.value)}}})]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.IPN,expression:"sal.IPN"}],attrs:{type:"number",name:""},domProps:{value:t.IPN},on:{input:function(n){n.target.composing||e.$set(t,"IPN",n.target.value)}}})]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.OPV,expression:"sal.OPV"}],attrs:{type:"number",name:""},domProps:{value:t.OPV},on:{input:function(n){n.target.composing||e.$set(t,"OPV",n.target.value)}}})]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.total_income,expression:"sal.total_income"}],attrs:{type:"number",name:""},domProps:{value:t.total_income},on:{input:function(n){n.target.composing||e.$set(t,"total_income",n.target.value)}}})]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.initial_saldo,expression:"sal.initial_saldo"}],attrs:{type:"number",name:""},domProps:{value:t.initial_saldo},on:{input:function(n){n.target.composing||e.$set(t,"initial_saldo",n.target.value)}}})]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.end_saldo,expression:"sal.end_saldo"}],attrs:{type:"number",name:""},domProps:{value:t.end_saldo},on:{input:function(n){n.target.composing||e.$set(t,"end_saldo",n.target.value)}}})])])})),e._v(" "),n("tr",{staticClass:"text-left pt-5 border-b border-gray-200"},[n("th",[e._v("Итог")]),e._v(" "),n("th",[e._v(e._s(e.countOklad()))]),e._v(" "),n("th"),e._v(" "),n("th",[e._v(e._s(e.countIncome()))]),e._v(" "),n("th",[e._v(e._s(e.countOSMS()))]),e._v(" "),n("th",[e._v(e._s(e.countIPN()))]),e._v(" "),n("th",[e._v(e._s(e.countOPV()))]),e._v(" "),n("th",[e._v(e._s(e.countTotalIncome()))]),e._v(" "),n("th",[e._v(e._s(e.countSaldo()))]),e._v(" "),n("th",[e._v(e._s(e.countEndSaldo()))])]),e._v(" "),e._l(e.myworkers,(function(t){return n("tr",{staticClass:"pt-2"},[n("td",[e._v(e._s(t.name)+" "+e._s(t.surname))]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.salary,expression:"worker.salary"}],attrs:{type:"number",name:""},domProps:{value:t.salary},on:{input:function(n){n.target.composing||e.$set(t,"salary",n.target.value)}}})]),e._v(" "),e._m(1,!0),e._v(" "),e._m(2,!0),e._v(" "),e._m(3,!0),e._v(" "),e._m(4,!0),e._v(" "),e._m(5,!0),e._v(" "),e._m(6,!0),e._v(" "),e._m(7,!0),e._v(" "),e._m(8,!0)])}))],2)])])])}),[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("tr",{staticClass:"text-left  border-b border-gray-200"},[n("th",[e._v("Сотрудник")]),e._v(" "),n("th",[e._v("Оклад")]),e._v(" "),n("th",[e._v("Отработано дней")]),e._v(" "),n("th",[e._v("Всего начислено")]),e._v(" "),n("th",[e._v("Взносы ОСМС")]),e._v(" "),n("th",[e._v("ИПН")]),e._v(" "),n("th",[e._v("ОПВ")]),e._v(" "),n("th",[e._v("Всего к оплате")]),e._v(" "),n("th",[e._v("Начальное сальдо")]),e._v(" "),n("th",[e._v("Конечное сальдо")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("td",[t("input",{attrs:{type:"number",name:""}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("td",[t("input",{attrs:{type:"number",name:""}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("td",[t("input",{attrs:{type:"number",name:""}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("td",[t("input",{attrs:{type:"number",name:""}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("td",[t("input",{attrs:{type:"number",name:""}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("td",[t("input",{attrs:{type:"number",name:""}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("td",[t("input",{attrs:{type:"number",name:""}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("td",[t("input",{attrs:{type:"number",name:""}})])}],!1,null,null,null).exports},78625:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});n(5186);var r=n(45168),a=n(94412),o=n(66186),i=n(10103),s=n(42537),c=n(9669),l=n.n(c);const u={metaInfo:function(){return{title:"Профиль"}},components:{FileInput:a.Z,LoadingButton:i.Z,SelectInput:o.Z,TextInput:r.Z,TrashedMessage:s.Z},props:{user_id:Number},created:function(){var e=this;l().get("/get-profile/"+this.$page.props.actions.selected_user).then((function(t){e.user=t.data}))},data:function(){return{user:{first_name:"Имя",last_name:"Фамилия",email:"test@gmail.com",password:"",photo_path:"",position:{name:"Должность"},deleted_at:null,processing:null}}},methods:{update:function(){var e=this;this.user.post(this.route("users.update",this.user.id),{onSuccess:function(){return e.user.reset("password","photo")}})},destroy:function(){confirm("Are you sure you want to delete this user?")&&this.$inertia.delete(this.route("users.destroy",this.user.id))}}};const d=(0,n(51900).Z)(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"overflow-y-auto"},[n("div",{staticClass:"mb-8 flex justify-start w-full p-8 mr-2 items-center border-b"},[n("img",{staticClass:"block w-32 h-32 rounded mr-4 shadow",attrs:{src:"/storage/"+e.user.photo_path}}),e._v(" "),n("h1",{staticClass:"font-bold text-xl"},[n("p",{staticClass:"text-black"},[e._v(e._s(e.user.last_name+" "+e.user.first_name))]),e._v(" "),n("p",{staticClass:"text-sm"},[e._v(e._s(e.user.position.name))])])]),e._v(" "),n("div",{staticClass:"bg-white rounded-md  overflow-hidden w-full px-8"},[n("div",{staticClass:"flex flex-wrap mb-3 justify-start mt-3"},[e._m(0),e._v(" "),n("div",{staticClass:"w-9/12 space-y-4 pl-5 py-2"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.user.first_name,expression:"user.first_name"}],staticClass:"border-b-2 w-full pb-1",attrs:{type:"text"},domProps:{value:e.user.first_name},on:{input:function(t){t.target.composing||e.$set(e.user,"first_name",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"flex flex-wrap mb-3 justify-start mt-3"},[e._m(1),e._v(" "),n("div",{staticClass:"w-9/12 space-y-4 pl-5 py-2"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.user.last_name,expression:"user.last_name"}],staticClass:"border-b-2 w-full pb-1",attrs:{type:"text"},domProps:{value:e.user.last_name},on:{input:function(t){t.target.composing||e.$set(e.user,"last_name",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"flex flex-wrap mb-3 justify-start mt-3"},[e._m(2),e._v(" "),n("div",{staticClass:"w-9/12 space-y-4 pl-5 py-2"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.user.email,expression:"user.email"}],staticClass:"border-b-2 w-full pb-1",attrs:{type:"text"},domProps:{value:e.user.email},on:{input:function(t){t.target.composing||e.$set(e.user,"email",t.target.value)}}})])]),e._v(" "),e.$page.props.auth.user.id==e.user_id?n("div",{staticClass:"p-8 -mr-6 -mb-8 flex flex-wrap"},[n("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{label:"First name"},model:{value:e.user.first_name,callback:function(t){e.$set(e.user,"first_name",t)},expression:"user.first_name"}}),e._v(" "),n("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{label:"Last name"},model:{value:e.user.last_name,callback:function(t){e.$set(e.user,"last_name",t)},expression:"user.last_name"}}),e._v(" "),n("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{label:"Email"},model:{value:e.user.email,callback:function(t){e.$set(e.user,"email",t)},expression:"user.email"}}),e._v(" "),n("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{type:"password",autocomplete:"new-password",label:"Password"},model:{value:e.user.password,callback:function(t){e.$set(e.user,"password",t)},expression:"user.password"}}),e._v(" "),n("file-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{type:"file",accept:"image/*",label:"Photo"},model:{value:e.user.photo_path,callback:function(t){e.$set(e.user,"photo_path",t)},expression:"user.photo_path"}})],1):e._e(),e._v(" "),e.$page.props.auth.user.id==e.user_id?n("div",{staticClass:"px-8 py-4 bg-gray-50 border-t border-gray-100 flex items-center"},[n("loading-button",{staticClass:"btn-indigo ml-auto"},[e._v("Сохранить")])],1):e._e()])])}),[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"w-3/12 space-y-6 py-2"},[n("p",{staticClass:"font-medium"},[e._v("Имя")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"w-3/12 space-y-6 py-2"},[n("p",{staticClass:"font-medium"},[e._v("Фамилия")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"w-3/12 space-y-6 py-2"},[n("p",{staticClass:"font-medium"},[e._v("Email")])])}],!1,null,null,null).exports},84299:(e,t,n)=>{"use strict";n.d(t,{Z:()=>pe});var r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,a=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(r&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=r&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),a))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function s(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function c(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=s(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/(auto|scroll|overlay)/.test(n+a+r)?e:l(c(e))}function u(e){return e&&e.referenceNode?e.referenceNode:e}var d=r&&!(!window.MSInputMethodContext||!document.documentMode),p=r&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?d:10===e?p:d||p}function h(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?h(n):n:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function g(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,a=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(a,0);var i,s,c=o.commonAncestorContainer;if(e!==c&&t!==c||r.contains(a))return"BODY"===(s=(i=c).nodeName)||"HTML"!==s&&h(i.firstElementChild)!==i?h(c):c;var l=m(e);return l.host?g(l.host,t):g(e,m(t).host)}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var a=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||a;return o[n]}return e[n]}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=v(t,"top"),a=v(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=a*o,e.right+=a*o,e}function _(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function b(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function y(e){var t=e.body,n=e.documentElement,r=f(10)&&getComputedStyle(n);return{height:b("Height",t,n,r),width:b("Width",t,n,r)}}var x=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},w=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),C=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function B(e){return k({},e,{right:e.left+e.width,bottom:e.top+e.height})}function S(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=v(e,"top"),r=v(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var a={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},o="HTML"===e.nodeName?y(e.ownerDocument):{},i=o.width||e.clientWidth||a.width,c=o.height||e.clientHeight||a.height,l=e.offsetWidth-i,u=e.offsetHeight-c;if(l||u){var d=s(e);l-=_(d,"x"),u-=_(d,"y"),a.width-=l,a.height-=u}return B(a)}function M(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=f(10),a="HTML"===t.nodeName,o=S(e),i=S(t),c=l(e),u=s(t),d=parseFloat(u.borderTopWidth),p=parseFloat(u.borderLeftWidth);n&&a&&(i.top=Math.max(i.top,0),i.left=Math.max(i.left,0));var h=B({top:o.top-i.top-d,left:o.left-i.left-p,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!r&&a){var m=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);h.top-=d-m,h.bottom-=d-m,h.left-=p-g,h.right-=p-g,h.marginTop=m,h.marginLeft=g}return(r&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=A(h,t)),h}function E(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=M(e,n),a=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),i=t?0:v(n),s=t?0:v(n,"left"),c={top:i-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:a,height:o};return B(c)}function T(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===s(e,"position"))return!0;var n=c(e);return!!n&&T(n)}function R(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===s(t,"transform");)t=t.parentElement;return t||document.documentElement}function L(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},i=a?R(e):g(e,u(t));if("viewport"===r)o=E(i,a);else{var s=void 0;"scrollParent"===r?"BODY"===(s=l(c(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var d=M(s,i,a);if("HTML"!==s.nodeName||T(i))o=d;else{var p=y(e.ownerDocument),f=p.height,h=p.width;o.top+=d.top-d.marginTop,o.bottom=f+d.top,o.left+=d.left-d.marginLeft,o.right=h+d.left}}var m="number"==typeof(n=n||0);return o.left+=m?n:n.left||0,o.top+=m?n:n.top||0,o.right-=m?n:n.right||0,o.bottom-=m?n:n.bottom||0,o}function O(e){return e.width*e.height}function j(e,t,n,r,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var i=L(n,r,o,a),s={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},c=Object.keys(s).map((function(e){return k({key:e},s[e],{area:O(s[e])})})).sort((function(e,t){return t.area-e.area})),l=c.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=l.length>0?l[0].key:c[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function I(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=r?R(t):g(t,u(n));return M(n,a,r)}function D(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function P(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function N(e,t,n){n=n.split("-")[0];var r=D(e),a={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),i=o?"top":"left",s=o?"left":"top",c=o?"height":"width",l=o?"width":"height";return a[i]=t[i]+t[c]/2-r[c]/2,a[s]=n===s?t[s]-r[l]:t[P(s)],a}function H(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function q(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=H(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=B(t.offsets.popper),t.offsets.reference=B(t.offsets.reference),t=n(t,e))})),t}function F(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=I(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=j(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=N(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=q(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function U(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function $(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var a=t[r],o=a?""+a+n:e;if(void 0!==document.body.style[o])return o}return null}function z(){return this.state.isDestroyed=!0,U(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[$("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function V(e){var t=e.ownerDocument;return t?t.defaultView:window}function Y(e,t,n,r){var a="BODY"===e.nodeName,o=a?e.ownerDocument.defaultView:e;o.addEventListener(t,n,{passive:!0}),a||Y(l(o.parentNode),t,n,r),r.push(o)}function W(e,t,n,r){n.updateBound=r,V(e).addEventListener("resize",n.updateBound,{passive:!0});var a=l(e);return Y(a,"scroll",n.updateBound,n.scrollParents),n.scrollElement=a,n.eventsEnabled=!0,n}function G(){this.state.eventsEnabled||(this.state=W(this.reference,this.options,this.state,this.scheduleUpdate))}function X(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,V(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Z(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function K(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Z(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var Q=r&&/Firefox/i.test(navigator.userAgent);function J(e,t,n){var r=H(e,(function(e){return e.name===t})),a=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!a){var o="`"+t+"`",i="`"+n+"`";console.warn(i+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return a}var ee=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],te=ee.slice(3);function ne(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=te.indexOf(e),r=te.slice(n+1).concat(te.slice(0,n));return t?r.reverse():r}var re="flip",ae="clockwise",oe="counterclockwise";function ie(e,t,n,r){var a=[0,0],o=-1!==["right","left"].indexOf(r),i=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=i.indexOf(H(i,(function(e){return-1!==e.search(/,|\s/)})));i[s]&&-1===i[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,l=-1!==s?[i.slice(0,s).concat([i[s].split(c)[0]]),[i[s].split(c)[1]].concat(i.slice(s+1))]:[i];return l=l.map((function(e,r){var a=(1===r?!o:o)?"height":"width",i=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var a=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+a[1],i=a[2];if(!o)return e;if(0===i.indexOf("%")){return B("%p"===i?n:r)[t]/100*o}if("vh"===i||"vw"===i)return("vh"===i?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(e,a,t,n)}))})),l.forEach((function(e,t){e.forEach((function(n,r){Z(n)&&(a[t]+=n*("-"===e[r-1]?-1:1))}))})),a}var se={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var a=e.offsets,o=a.reference,i=a.popper,s=-1!==["bottom","top"].indexOf(n),c=s?"left":"top",l=s?"width":"height",u={start:C({},c,o[c]),end:C({},c,o[c]+o[l]-i[l])};e.offsets.popper=k({},i,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,a=e.offsets,o=a.popper,i=a.reference,s=r.split("-")[0],c=void 0;return c=Z(+n)?[+n,0]:ie(n,o,i,s),"left"===s?(o.top+=c[0],o.left-=c[1]):"right"===s?(o.top+=c[0],o.left+=c[1]):"top"===s?(o.left+=c[0],o.top-=c[1]):"bottom"===s&&(o.left+=c[0],o.top+=c[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||h(e.instance.popper);e.instance.reference===n&&(n=h(n));var r=$("transform"),a=e.instance.popper.style,o=a.top,i=a.left,s=a[r];a.top="",a.left="",a[r]="";var c=L(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);a.top=o,a.left=i,a[r]=s,t.boundaries=c;var l=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<c[e]&&!t.escapeWithReference&&(n=Math.max(u[e],c[e])),C({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>c[e]&&!t.escapeWithReference&&(r=Math.min(u[n],c[e]-("right"===e?u.width:u.height))),C({},n,r)}};return l.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=k({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,a=e.placement.split("-")[0],o=Math.floor,i=-1!==["top","bottom"].indexOf(a),s=i?"right":"bottom",c=i?"left":"top",l=i?"width":"height";return n[s]<o(r[c])&&(e.offsets.popper[c]=o(r[c])-n[l]),n[c]>o(r[s])&&(e.offsets.popper[c]=o(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!J(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var a=e.placement.split("-")[0],o=e.offsets,i=o.popper,c=o.reference,l=-1!==["left","right"].indexOf(a),u=l?"height":"width",d=l?"Top":"Left",p=d.toLowerCase(),f=l?"left":"top",h=l?"bottom":"right",m=D(r)[u];c[h]-m<i[p]&&(e.offsets.popper[p]-=i[p]-(c[h]-m)),c[p]+m>i[h]&&(e.offsets.popper[p]+=c[p]+m-i[h]),e.offsets.popper=B(e.offsets.popper);var g=c[p]+c[u]/2-m/2,v=s(e.instance.popper),A=parseFloat(v["margin"+d]),_=parseFloat(v["border"+d+"Width"]),b=g-e.offsets.popper[p]-A-_;return b=Math.max(Math.min(i[u]-m,b),0),e.arrowElement=r,e.offsets.arrow=(C(n={},p,Math.round(b)),C(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(U(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=L(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],a=P(r),o=e.placement.split("-")[1]||"",i=[];switch(t.behavior){case re:i=[r,a];break;case ae:i=ne(r);break;case oe:i=ne(r,!0);break;default:i=t.behavior}return i.forEach((function(s,c){if(r!==s||i.length===c+1)return e;r=e.placement.split("-")[0],a=P(r);var l=e.offsets.popper,u=e.offsets.reference,d=Math.floor,p="left"===r&&d(l.right)>d(u.left)||"right"===r&&d(l.left)<d(u.right)||"top"===r&&d(l.bottom)>d(u.top)||"bottom"===r&&d(l.top)<d(u.bottom),f=d(l.left)<d(n.left),h=d(l.right)>d(n.right),m=d(l.top)<d(n.top),g=d(l.bottom)>d(n.bottom),v="left"===r&&f||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,A=-1!==["top","bottom"].indexOf(r),_=!!t.flipVariations&&(A&&"start"===o&&f||A&&"end"===o&&h||!A&&"start"===o&&m||!A&&"end"===o&&g),b=!!t.flipVariationsByContent&&(A&&"start"===o&&h||A&&"end"===o&&f||!A&&"start"===o&&g||!A&&"end"===o&&m),y=_||b;(p||v||y)&&(e.flipped=!0,(p||v)&&(r=i[c+1]),y&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=k({},e.offsets.popper,N(e.instance.popper,e.offsets.reference,e.placement)),e=q(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,a=r.popper,o=r.reference,i=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return a[i?"left":"top"]=o[n]-(s?a[i?"width":"height"]:0),e.placement=P(t),e.offsets.popper=B(a),e}},hide:{order:800,enabled:!0,fn:function(e){if(!J(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=H(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,a=e.offsets.popper,o=H(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var i=void 0!==o?o:t.gpuAcceleration,s=h(e.instance.popper),c=S(s),l={position:a.position},u=function(e,t){var n=e.offsets,r=n.popper,a=n.reference,o=Math.round,i=Math.floor,s=function(e){return e},c=o(a.width),l=o(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=t?u||d||c%2==l%2?o:i:s,f=t?o:s;return{left:p(c%2==1&&l%2==1&&!d&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:p(r.right)}}(e,window.devicePixelRatio<2||!Q),d="bottom"===n?"top":"bottom",p="right"===r?"left":"right",f=$("transform"),m=void 0,g=void 0;if(g="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-c.height+u.bottom:u.top,m="right"===p?"HTML"===s.nodeName?-s.clientWidth+u.right:-c.width+u.right:u.left,i&&f)l[f]="translate3d("+m+"px, "+g+"px, 0)",l[d]=0,l[p]=0,l.willChange="transform";else{var v="bottom"===d?-1:1,A="right"===p?-1:1;l[d]=g*v,l[p]=m*A,l.willChange=d+", "+p}var _={"x-placement":e.placement};return e.attributes=k({},_,e.attributes),e.styles=k({},l,e.styles),e.arrowStyles=k({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return K(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&K(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,a){var o=I(a,t,e,n.positionFixed),i=j(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",i),K(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},ce={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:se},le=function(){function e(t,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};x(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=k({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=k({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return k({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return w(e,[{key:"update",value:function(){return F.call(this)}},{key:"destroy",value:function(){return z.call(this)}},{key:"enableEventListeners",value:function(){return G.call(this)}},{key:"disableEventListeners",value:function(){return X.call(this)}}]),e}();le.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,le.placements=ee,le.Defaults=ce;const ue=le,de={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(e){var t=this;e?this.$nextTick((function(){t.popper=new ue(t.$el,t.$refs.dropdown,{placement:t.placement,modifiers:{preventOverflow:{boundariesElement:t.boundary}}})})):this.popper&&setTimeout((function(){return t.popper.destroy()}),100)}},mounted:function(){var e=this;document.addEventListener("keydown",(function(t){27===t.keyCode&&(e.show=!1)}))}};const pe=(0,n(51900).Z)(de,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"flex justify-end items-center",attrs:{type:"button"},on:{click:function(t){e.show=!0}}},[e._t("default"),e._v(" "),e.show?n("portal",{attrs:{to:"dropdown"}},[n("div",[n("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(t){e.show=!1}}}),e._v(" "),n("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(t){t.stopPropagation(),e.show=!e.autoClose}}},[e._t("dropdown")],2)])]):e._e()],2)}),[],!1,null,null,null).exports},94412:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r={props:{value:File,label:String,accept:String,errors:{type:Array,default:function(){return[]}}},watch:{value:function(e){e||(this.$refs.file.value="")}},methods:{filesize:function(e){var t=Math.floor(Math.log(e)/Math.log(1024));return 1*(e/Math.pow(1024,t)).toFixed(2)+" "+["B","kB","MB","GB","TB"][t]},browse:function(){this.$refs.file.click()},change:function(e){this.$emit("input",e.target.files[0])},remove:function(){this.$emit("input",null)}}};const a=(0,n(51900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.label?n("label",{staticClass:"form-label"},[e._v(e._s(e.label)+":")]):e._e(),e._v(" "),n("div",{staticClass:"form-input p-0",class:{error:e.errors.length}},[n("input",{ref:"file",staticClass:"hidden",attrs:{type:"file",accept:e.accept},on:{change:e.change}}),e._v(" "),e.value?n("div",{staticClass:"flex items-center justify-between p-2"},[n("div",{staticClass:"flex-1 pr-1"},[e._v("\n        "+e._s(e.value.name)+" "),n("span",{staticClass:"text-gray-500 text-xs"},[e._v("("+e._s(e.filesize(e.value.size))+")")])]),e._v(" "),n("button",{staticClass:"px-4 py-1 bg-gray-500 hover:bg-gray-700 rounded-sm text-xs font-medium text-white",attrs:{type:"button"},on:{click:e.remove}},[e._v("\n        Remove\n      ")])]):n("div",{staticClass:"p-2"},[n("button",{staticClass:"px-4 py-1 bg-gray-500 hover:bg-gray-700 rounded-sm text-xs font-medium text-white",attrs:{type:"button"},on:{click:e.browse}},[e._v("\n        Browse\n      ")])])]),e._v(" "),e.errors.length?n("div",{staticClass:"form-error"},[e._v(e._s(e.errors[0]))]):e._e()])}),[],!1,null,null,null).exports},57428:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r={props:{name:String}};const a=(0,n(51900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return"apple"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[n("g",{attrs:{"fill-rule":"nonzero"}},[n("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),n("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):"file"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M0,2.99508929 C0,1.8932319 0.898212381,1 1.99079514,1 L18.0092049,1 C19.1086907,1 20,1.8926228 20,2.99508929 L20,17.0049107 C20,18.1067681 19.1017876,19 18.0092049,19 L1.99079514,19 C0.891309342,19 0,18.1073772 0,17.0049107 L0,2.99508929 Z M2,5 L18,5 L18,17 L2,17 L2,5 Z",id:"Combined-Shape"}})]):"checkmark"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("g",{attrs:{id:"icon-shape"}},[n("polygon",{attrs:{id:"Path-126",points:"0 11 2 9 7 14 18 3 20 5 7 18"}})])]):"folder"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("g",{attrs:{id:"icon-shape"}},[n("path",{attrs:{d:"M0,3.99406028 C0,2.8927712 0.895857811,2 1.9973917,2 L9,2 L11,4 L18.0026083,4 C19.1057373,4 20,4.89706013 20,6.00585866 L20,15.9941413 C20,17.1019465 19.1017876,18 18.0092049,18 L1.99079514,18 C0.891309342,18 0,17.1054862 0,16.0059397 L0,3.99406028 Z",id:"Rectangle-1"}})])]):"case"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("g",{attrs:{id:"icon-shape"}},[n("path",{attrs:{d:"M6,5 L1.99079514,5 C0.898212381,5 0,5.89805351 0,7.00585866 L0,16.9941413 C0,18.1029399 0.891309342,19 1.99079514,19 L3,19 L3,5 L4,5 L4,19 L16,19 L16,5 L17,5 L17,19 L18.0092049,19 C19.1017876,19 20,18.1019465 20,16.9941413 L20,7.00585866 C20,5.89706013 19.1086907,5 18.0092049,5 L14,5 L14,4 C14,2.88772964 13.1054196,2 12.0018986,2 L7.99810135,2 C6.88670635,2 6,2.8954305 6,4 L6,5 Z M8,4 L12,4 L12,5 L8,5 L8,4 Z",id:"Combined-Shape"}})])]):"calendar"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("g",{attrs:{id:"icon-shape"}},[n("path",{attrs:{d:"M9,11 L7,11 L7,13 L9,13 L9,15 L11,15 L11,13 L13,13 L13,11 L11,11 L11,9 L9,9 L9,11 Z M1,3.99508929 C1,2.8932319 1.8926228,2 2.99508929,2 L17.0049107,2 C18.1067681,2 19,2.8926228 19,3.99508929 L19,18.0049107 C19,19.1067681 18.1073772,20 17.0049107,20 L2.99508929,20 C1.8932319,20 1,19.1073772 1,18.0049107 L1,3.99508929 Z M3,6 L17,6 L17,18 L3,18 L3,6 Z M5,0 L7,0 L7,2 L5,2 L5,0 Z M13,0 L15,0 L15,2 L13,2 L13,0 Z",id:"Combined-Shape"}})])]):"print"===e.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("g",{attrs:{id:"icon-shape"}},[n("path",{attrs:{d:"M16,16 L20,16 L20,6 L0,6 L0,16 L4,16 L4,10 L16,10 L16,16 Z M4,10 L16,10 L16,20 L4,20 L4,10 Z M6,12 L14,12 L14,18 L6,18 L6,12 Z M4,0 L16,0 L16,5 L4,5 L4,0 Z M2,8 L4,8 L4,10 L2,10 L2,8 Z M6,8 L8,8 L8,10 L6,10 L6,8 Z",id:"Combined-Shape"}})])]):"download"===e.name?n("svg",{staticStyle:{"enable-background":"new 0 0 20 20",fill:"white"},attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 20 20","xml:space":"preserve"}},[n("path",{attrs:{d:"M17 12v5H3v-5H1v5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5z"}}),e._v(" "),n("path",{attrs:{d:"M10 15l5-6h-4V1H9v8H5l5 6z"}})]):e._e()}),[],!1,null,null,null).exports},5186:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var r=n(57428),a=n(84299),o=n(4656),i=n.n(o),s=n(93379),c=n.n(s),l=n(59794),u={insert:"head",singleton:!1};c()(l.Z,u);l.Z.locals;n(30381);var d=n(9669),p=n.n(d);n(19755);const f={components:{ChatWindow:i()},props:{myrooms:Array,test:String,mymessages:Array},data:function(){return{online:0,groups:0,removeRoomId:null,users:[],removeUsers:[],inviteRoomId:null,removeUserId:"",addNewRoom:!1,invitedUsername:"",currentUserId:this.$page.props.auth.user.id,rooms:[],roomId:"12",messages:[],roomsLoaded:!1,messagesLoaded:!1,addRoomUsername:"",disableForm:!1}},computed:{loadedRooms:function(){var e=this,t={room:this.roomId};return p().post("/chat",t).then((function(t){var n=[],r=e.roomId;e.online=t.data.online,e.rooms=t.data.myrooms,e.groups=t.data.groups,e.users=t.data.myusers,t.data.mymessages.forEach((function(e){var t=new Date(e.created_at),a=t.getHours(),o=t.getMinutes();a=a<10?"0"+a:a,o=o<10?"0"+o:o;var i={_id:e.id,roomId:e.room_id,content:e.content,senderId:e.senderId,username:e.sender.first_name,avatar:"/storage"+e.sender.photo_path,date:(new Date).getDay()+" "+(new Date).toLocaleString("en-us",{month:"long"}),timestamp:a+":"+o,system:!1,saved:!0,distributed:!0,seen:e.seen,deleted:!1,disableActions:!1,disableReactions:!1};(i.senderId==r||i.roomId==r)&&n.push(i)})),e.messages=n,e.roomsLoaded=!0,e.messagesLoaded=!0})),this.rooms.slice(0,this.roomsLoadedCount=this.rooms.length)}},methods:{proverka:function(){console.log(this.online),this.addNewRoom=!0},menuActionHandler:function(e){var t=e.action,n=e.roomId;switch(t.name){case"inviteUser":return this.inviteUser(n);case"removeUser":return this.removeUser(n);case"deleteRoom":return this.deleteRoom(n)}},inviteUser:function(e){this.inviteRoomId=e},fetchMessages:function(e){var t=e.room;e.options;this.messagesLoaded=!1,this.roomId=t.roomId},resetRooms:function(){this.loadingRooms=!0,this.loadingLastMessageByRoom=0,this.roomsLoadedCount=0,this.rooms=[],this.roomsLoaded=!0,this.startRooms=null,this.endRooms=null,this.roomsListeners.forEach((function(e){return e()})),this.roomsListeners=[],this.resetMessages()},sendMessage:function(e){var t=this,n=new FormData;if(e.file){({name:e.file.name,size:e.file.size,type:e.file.type,extension:e.file.extension||e.file.type,url:e.file.localUrl});var r=document.querySelector(e.file.localUrl);n.append("file",r.files[0])}n.append("room_id",this.roomId),n.append("content",e.content),n.append("seen",1),n.append("senderId",this.$page.props.auth.user.id);p().post("/send-message",n).then((function(e){var n=[];n.push(e.data.message),console.log(e.data.message),t.messsages=n,t.messagesLoaded=!0}))},createRoom:function(){var e=this;this.disableForm=!1,p().put("/createroom",{name:this.addRoomUsername,avatar:"/img/logo.svg",count:0}).then((function(t){e.rooms.push(t.data)}))},addRoomUser:function(){var e=this;p().put("/add-room-user",{room_id:this.inviteRoomId,user_id:this.invitedUsername}).then((function(t){e.inviteRoomId=null,alert(t.data)}))},removeUser:function(e){this.removeRoomId=e,this.removeUsers=this.rooms.find((function(t){return t.roomId===e})).myusers},deleteRoomUser:function(){var e=this;p().put("/delete-room-user",{room_id:this.removeRoomId,user_id:this.removeUserId}).then((function(t){e.removeRoomId=null,alert(t.data)}))},deleteRoom:function(e){p().put("/delete-room",{room_id:e}).then((function(e){alert(e.data)}))},connect:function(){}}};var h=n(51900);const m=(0,h.Z)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("chat-window",{attrs:{"current-user-id":e.currentUserId,rooms:e.loadedRooms,messages:e.messages,"rooms-loaded":e.roomsLoaded,"room-id":e.roomId,"messages-loaded":e.messagesLoaded},on:{"add-room":e.proverka,"send-message":function(t){return e.sendMessage(t)},"fetch-messages":e.fetchMessages,"room-action-handler":e.menuActionHandler}})],1)}),[],!1,null,null,null).exports;var g=n(78625);const v={components:{Dropdown:a.Z,Icon:r.Z,OChat:m,ProfilePage:g.default},created:function(){},data:function(){return{mysidebar:!1,zayavki:!1,postavki:!1,vyrabotka:!1,sklad:!1,realizaciya:!1,zarplata:!1}},watch:{"$page.props.flash":{handler:function(){null!==this.$page.props.flash.success&&this.$notify({group:"foo",title:"Успешно",type:"success",duration:5e3,text:this.$page.props.flash.success}),null!=this.$page.props.flash.error&&this.$notify({group:"foo",title:"Ошибка",type:"error",duration:5e3,text:this.$page.props.flash.error})},deep:!0}},methods:{showProfile:function(){this.$page.props.auth.sidebar_profile=!0,this.$page.props.actions.selected_user=this.$page.props.auth.user.id},isUrl:function(){for(var e=this.$page.url.substr(1),t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return""===n[0]?""===e:n.filter((function(t){return e.startsWith(t)})).length},showMenu:function(){this.mysidebar=!0}}};const A=(0,h.Z)(v,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("portal-target",{attrs:{name:"dropdown",slim:""}}),e._v(" "),n("div",{staticClass:"md:flex md:flex-col"},[n("div",{staticClass:"md:h-screen md:flex md:flex-col"},[n("div",{staticClass:"menu_bar md:flex  px-3 md:px-10 menu_bar "},[n("div",{staticClass:" md:flex-shrink-0 pr-6 py-2 flex items-center justify-between md:justify-center sm:flex items-center justify-between"},[n("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[n("img",{staticClass:"w-32",attrs:{src:"/img/new_logo.png"}})]),e._v(" "),n("button",{staticClass:"mobile-menu-button sm:hidden",on:{click:function(t){return e.showMenu()}}},[n("svg",{staticClass:"h-6 w-6",staticStyle:{stroke:"white"},attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"}})])])],1),e._v(" "),n("div",{staticClass:"mobile-menu hidden"},[n("div",{staticClass:"ml-8 mt-1"},[6!=e.$page.props.auth.user.position_id&&5!=e.$page.props.auth.user.position_id&&3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:e.route("dashboard")}},[n("div",{class:e.isUrl("")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Поставка молока")])])],1):e._e(),e._v(" "),4!=e.$page.props.auth.user.position_id&&6!=e.$page.props.auth.user.position_id&&5!=e.$page.props.auth.user.position_id&&3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:e.route("conversions")}},[n("div",{class:e.isUrl("conversions")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Выроботка")])])],1):e._e(),e._v(" "),6!=e.$page.props.auth.user.position_id&&5!=e.$page.props.auth.user.position_id&&3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:e.route("store")}},[n("div",{class:e.isUrl("store")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Склад")])])],1):e._e(),e._v(" "),3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:e.route("sales")}},[n("div",{class:e.isUrl("sales")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Реализация")])])],1):e._e(),e._v(" "),5!=e.$page.props.auth.user.position_id&&2!=e.$page.props.auth.user.position_id&&3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3 ",attrs:{href:e.route("profit")}},[n("div",{class:e.isUrl("profit")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Зарплата/Расход/Долги")])])],1):e._e(),e._v(" "),1==e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3 ",attrs:{href:e.route("workers")}},[n("div",{class:e.isUrl("workers")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Сотрудники")])])],1):e._e(),e._v(" "),6!=e.$page.props.auth.user.position_id&&5!=e.$page.props.auth.user.position_id&&2!=e.$page.props.auth.user.position_id&&4!=e.$page.props.auth.user.position_id&&3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:e.route("supp")}},[n("div",{class:e.isUrl("supp")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Поставщики")])])],1):e._e(),e._v(" "),4!=e.$page.props.auth.user.position_id&&6!=e.$page.props.auth.user.position_id&&5!=e.$page.props.auth.user.position_id&&2!=e.$page.props.auth.user.position_id&&2!=e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:e.route("realizators")}},[n("div",{class:e.isUrl("realizators")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Заявки")])])],1):e._e()])]),e._v(" "),n("div",{staticClass:"w-full  md:py-0 md:px-0 text-sm md:text-md flex justify-start items-center hidden sm:block"},[n("div",{staticClass:"mt-1"}),e._v(" "),n("div",{staticClass:"ml-8 mt-1 flex justify-start"},[6!=e.$page.props.auth.user.position_id&&5!=e.$page.props.auth.user.position_id&&3!=e.$page.props.auth.user.position_id&&7!=e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:e.route("dashboard")}},[n("div",{class:e.isUrl("")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Поставка молока")])])],1):e._e(),e._v(" "),4!=e.$page.props.auth.user.position_id&&6!=e.$page.props.auth.user.position_id&&5!=e.$page.props.auth.user.position_id&&3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:e.route("conversions")}},[n("div",{class:e.isUrl("conversions")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Выроботка")])])],1):e._e(),e._v(" "),6!=e.$page.props.auth.user.position_id&&5!=e.$page.props.auth.user.position_id&&3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:e.route("store")}},[n("div",{class:e.isUrl("store")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Склад")])])],1):e._e(),e._v(" "),3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:e.route("sales")}},[n("div",{class:e.isUrl("sales")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Реализация")])])],1):e._e(),e._v(" "),5!=e.$page.props.auth.user.position_id&&2!=e.$page.props.auth.user.position_id&&3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3 ",attrs:{href:e.route("profit")}},[n("div",{class:e.isUrl("profit")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Зарплата/Расход/Долги")])])],1):e._e(),e._v(" "),1==e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3 ",attrs:{href:e.route("workers")}},[n("div",{class:e.isUrl("workers")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Сотрудники")])])],1):e._e(),e._v(" "),1==e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:e.route("supp")}},[n("div",{class:e.isUrl("supp")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Поставщики")])])],1):e._e(),e._v(" "),4!=e.$page.props.auth.user.position_id&&6!=e.$page.props.auth.user.position_id&&5!=e.$page.props.auth.user.position_id&&2!=e.$page.props.auth.user.position_id&&7!=e.$page.props.auth.user.position_id?n("div",{staticClass:"ml-8"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:e.route("realizators")}},[n("div",{class:e.isUrl("realizators")?"text-white font-bold underline":"text-white group-hover:text-white font-normal"},[e._v("Заявки")])])],1):e._e()])]),e._v(" "),n("dropdown",{staticClass:"mt-1 w-48 hidden sm:block",attrs:{placement:"bottom-end"}},[n("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600  whitespace-nowrap"},[n("img",{staticClass:"h-10 w-10 rounded-full",attrs:{src:"/"+e.$page.props.auth.user.photo_path}})]),e._v(" "),n("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[n("div",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",on:{click:e.showProfile}},[e._v("Профиль")]),e._v(" "),e.$page.props.auth.user.owner?n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:e.route("percents")}},[e._v("Проценты")]):e._e(),e._v(" "),e.$page.props.auth.user.owner?n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:e.route("users")}},[e._v("Пользователи")]):e._e(),e._v(" "),n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:e.route("logout"),method:"post",as:"button"}},[e._v("Выйти")])],1)])],1),e._v(" "),n("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden "},[n("div",{staticClass:"md:flex-1 px-4 pt-6 pb-4 md:px-10 md:overflow-y-auto bg-cover bg-gray-100",attrs:{"scroll-region":""}},[e._t("default")],2)]),e._v(" "),n("notifications",{attrs:{group:"foo",position:"bottom right"}}),e._v(" "),e.$page.props.auth.sidebar?n("div",{staticClass:"sidebar fixed  w-screen h-screen overflow-hidden flex  bg-indigo-500 bg-opacity-40 left-0",class:[e.$page.props.auth.sidebar?"left-0":"left-full"]},[n("div",{staticClass:"w-1/5 cursor-pointer",on:{click:function(t){e.$page.props.auth.sidebar=!1}}}),e._v(" "),n("o-chat",{staticClass:"w-4/5 bg-white duration-300  relative",class:[e.$page.props.auth.sidebar?"left-0":"left-full"]})],1):e._e(),e._v(" "),e.$page.props.auth.sidebar_profile?n("div",{staticClass:"sidebar fixed  w-screen h-screen overflow-hidden flex  bg-indigo-500 bg-opacity-40 left-0",class:[e.$page.props.auth.sidebar_profile?"left-0":"left-full"]},[n("div",{staticClass:"w-3/5 cursor-pointer",on:{click:function(t){e.$page.props.auth.sidebar_profile=!1}}}),e._v(" "),n("profile-page",{staticClass:"w-2/5 bg-white  relative",class:[e.$page.props.auth.sidebar_profile?"left-0":"left-full"]})],1):e._e(),e._v(" "),e.mysidebar?n("div",{staticClass:"fixed w-screen h-screen flex  bg-indigo-500 bg-opacity-40 left-0 top-0 custom3",class:[e.mysidebar?"left-0":"left-full"]},[n("div",{staticClass:"w-4/5 bg-white"},[n("div",{staticClass:"h-1/5 w-full bg-indigo-500 place-items-center"},[n("img",{staticClass:"h-full",attrs:{src:"/"+e.$page.props.logo}})]),e._v(" "),n("div",{staticClass:"h-4/5 overflow-y-auto"},[n("nav",[n("a",{staticClass:"block px-4 py-2 m-3 shadow flex",attrs:{href:"/users/profile"}},[n("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"}})]),n("p",{staticClass:"ml-8 mt-1 font-bold"},[e._v("Профиль")])]),e._v(" "),3==e.$page.props.auth.user.position_id?n("div",{staticClass:"relative block px-4 py-2 m-3 shadow flex",on:{click:function(t){e.zayavki=!e.zayavki}}},[n("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"}})]),n("p",{staticClass:"ml-8 mt-1 font-bold"},[e._v("Заявки")]),e._v(" "),n("svg",{staticClass:"h-5 w-5 absolute right-1",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"}})])]):e._e(),e._v(" "),n("div",{staticClass:"ml-8"},[e._m(0),e._v(" "),e._m(1),e._v(" "),n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/realizators/istoriya"}},[e._v("- История")])]),e._v(" "),n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/realizators/avans"}},[e._v("- Авансовый отчет")])]),e._v(" "),n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/realizators/nakladnie"}},[e._v("- Накладные")])])]),e._v(" "),6!=e.$page.props.auth.user.position_id&&5!=e.$page.props.auth.user.position_id&&3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"relative block px-4 py-2 m-3 shadow flex",on:{click:function(t){e.postavki=!e.postavki}}},[n("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[n("path",{attrs:{d:"M9 17a2 2 0 11-4 0 2 2 0 014 0zM19 17a2 2 0 11-4 0 2 2 0 014 0z"}}),e._v(" "),n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 16V6a1 1 0 00-1-1H4a1 1 0 00-1 1v10a1 1 0 001 1h1m8-1a1 1 0 01-1 1H9m4-1V8a1 1 0 011-1h2.586a1 1 0 01.707.293l3.414 3.414a1 1 0 01.293.707V16a1 1 0 01-1 1h-1m-6-1a1 1 0 001 1h1M5 17a2 2 0 104 0m-4 0a2 2 0 114 0m6 0a2 2 0 104 0m-4 0a2 2 0 114 0"}})]),e._v(" "),n("p",{staticClass:"ml-8 mt-1 font-bold"},[e._v("Поставка молока")]),e._v(" "),n("svg",{staticClass:"h-5 w-5 absolute right-1",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"}})])]):e._e(),e._v(" "),e.postavki?n("div",{staticClass:"ml-8"},[e._m(2),e._v(" "),e._m(3)]):e._e(),e._v(" "),6!=e.$page.props.auth.user.position_id&&5!=e.$page.props.auth.user.position_id&&3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"relative block px-4 py-2 m-3 shadow flex",on:{click:function(t){e.vyrabotka=!e.vyrabotka}}},[n("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 5a2 2 0 012-2h10a2 2 0 012 2v16l-7-3.5L5 21V5z"}})]),e._v(" "),n("p",{staticClass:"ml-8 mt-1 font-bold"},[e._v("Выработка")]),e._v(" "),n("svg",{staticClass:"h-5 w-5 absolute right-1",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"}})])]):e._e(),e._v(" "),e.vyrabotka?n("div",{staticClass:"ml-8"},[e._m(4),e._v(" "),e._m(5)]):e._e(),e._v(" "),6!=e.$page.props.auth.user.position_id&&5!=e.$page.props.auth.user.position_id&&3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"relative block px-4 py-2 m-3 shadow flex",on:{click:function(t){e.sklad=!e.sklad}}},[n("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4"}})]),e._v(" "),n("p",{staticClass:"ml-8 mt-1 font-bold"},[e._v("Склад")]),e._v(" "),n("svg",{staticClass:"h-5 w-5 absolute right-1",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"}})])]):e._e(),e._v(" "),e.sklad?n("div",{staticClass:"ml-8"},[e._m(6),e._v(" "),e._m(7),e._v(" "),e._m(8),e._v(" "),e._m(9)]):e._e(),e._v(" "),3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"relative block px-4 py-2 m-3 shadow flex",on:{click:function(t){e.realizaciya=!e.realizaciya}}},[n("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"}})]),e._v(" "),n("p",{staticClass:"ml-8 mt-1 font-bold"},[e._v("Реализация")]),e._v(" "),n("svg",{staticClass:"h-5 w-5 absolute right-1",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"}})])]):e._e(),e._v(" "),e.realizaciya?n("div",{staticClass:"ml-8"},[e._m(10),e._v(" "),e._m(11),e._v(" "),e._m(12),e._v(" "),e._m(13)]):e._e(),e._v(" "),5!=e.$page.props.auth.user.position_id&&2!=e.$page.props.auth.user.position_id&&3!=e.$page.props.auth.user.position_id?n("div",{staticClass:"relative block px-4 py-2 m-3 shadow flex",on:{click:function(t){e.zarplata=!e.zarplata}}},[n("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}})]),e._v(" "),n("p",{staticClass:"ml-8 mt-1 font-bold"},[e._v("Зарплата/Расходы/Долги")]),e._v(" "),n("svg",{staticClass:"h-5 w-5 absolute right-1",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"}})])]):e._e(),e._v(" "),e.zarplata?n("div",{staticClass:"ml-8"},[e._m(14),e._v(" "),e._m(15),e._v(" "),e._m(16)]):e._e(),e._v(" "),n("div",{staticClass:"relative block px-4 py-2 m-3 shadow flex"},[n("svg",{staticClass:"h-6 w-6 mt-1",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"}})]),e._v(" "),n("p",{staticClass:"ml-8 mt-1 font-bold"},[n("inertia-link",{staticClass:"block px-6 py-2 w-full text-left font-bold",attrs:{href:e.route("logout"),method:"post",as:"button"}},[e._v("Выйти")])],1)])])])]),e._v(" "),n("div",{staticClass:"w-1/5 cursor-pointer",on:{click:function(t){e.mysidebar=!1}}})]):e._e()],1)])],1)}),[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/realizators/add-order"}},[e._v("- Дополнить")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/realizators"}},[e._v("- Текущая заявка")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/new"}},[e._v("- Новая поставка")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/"}},[e._v("- История")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/conversions/new"}},[e._v("- Новая переработка")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/conversions"}},[e._v("- Помесячный отчет")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/store/sklad"}},[e._v("- Склад Г.П.")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/store/weight"}},[e._v("- Весовой склад")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/store/freezer"}},[e._v("- Морозильник")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/store/tara"}},[e._v("- Тара/Этикетки")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/sales/orders"}},[e._v("- Заявки")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/sales/realizators"}},[e._v("- Реализаторы")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/sales"}},[e._v("- Авансовый отчет")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/sales/sold"}},[e._v("- Продано")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/zarplata"}},[e._v("- Зарплата")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/dolgi"}},[e._v("- Долги")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"shadow m-3 p-3"},[n("a",{attrs:{href:"/uchet"}},[e._v("- Учет расходов")])])}],!1,null,null,null).exports},10103:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r={props:{loading:Boolean}};const a=(0,n(51900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"flex items-center",attrs:{disabled:e.loading}},[e.loading?n("div",{staticClass:"btn-spinner mr-2"}):e._e(),e._v(" "),e._t("default")],2)}),[],!1,null,null,null).exports},90659:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r={inheritAttrs:!1,props:{id:{type:String,default:function(){return"number-input-".concat(this._uid)}},type:{type:Number,default:"number"},col:{type:Boolean,default:!0},value:String,label:String,error:String},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()},setSelectionRange:function(e,t){this.$refs.input.setSelectionRange(e,t)}}};const a=(0,n(51900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"flex",class:{"flex-col":!e.col}},[n("div",{class:{"w-3/12":e.col}},[e.label?n("label",{staticClass:"form-label font-medium",attrs:{for:e.id}},[e._v(e._s(e.label)+":")]):e._e()]),e._v(" "),n("div",{class:{"w-9/12":e.col}},[n("input",e._b({ref:"input",staticClass:"w-full block  pb-1 border-b-2 border-gray-200",class:{error:e.error},attrs:{id:e.id,type:e.type},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t.target.value)}}},"input",e.$attrs,!1)),e._v(" "),n("div",{staticClass:"w-full mt-1"},[e.error?n("div",{staticClass:"form-error"},[e._v(e._s(e.error))]):e._e()])])])}),[],!1,null,"89091b26",null).exports},66186:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r={inheritAttrs:!1,props:{id:{type:String,default:function(){return"select-input-".concat(this._uid)}},value:[String,Number,Boolean],label:String,error:String},data:function(){return{selected:this.value}},watch:{selected:function(e){this.$emit("input",e)}},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()}}};const a=(0,n(51900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.label?n("label",{staticClass:"form-label",attrs:{for:e.id}},[e._v(e._s(e.label)+":")]):e._e(),e._v(" "),n("select",e._b({directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"selected"}],ref:"input",staticClass:"form-select",class:{error:e.error},attrs:{id:e.id},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.selected=t.target.multiple?n:n[0]}}},"select",e.$attrs,!1),[e._t("default")],2),e._v(" "),e.error?n("div",{staticClass:"form-error"},[e._v(e._s(e.error))]):e._e()])}),[],!1,null,null,null).exports},45168:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});function r(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(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}const o={inheritAttrs:!1,props:{id:{type:String,default:function(){return"text-input-".concat(this._uid)}},type:{type:String,default:"text"},col:{type:Boolean,default:!0},value:String,label:String,error:String},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()},setSelectionRange:function(e,t){this.$refs.input.setSelectionRange(e,t)},onEnter:function(e){console.log("on enter...",e);var t=event.target.form,n=r(t).indexOf(event.target)+1;t.elements[n].select(),t.elements[n].focus(),event.preventDefault()}}};const i=(0,n(51900).Z)(o,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"flex",class:{"flex-col":!e.col}},[n("div",{class:{"w-3/12":e.col}},[e.label?n("label",{staticClass:"form-label font-medium",attrs:{for:e.id}},[e._v(e._s(e.label)+":")]):e._e()]),e._v(" "),n("div",{class:{"w-9/12":e.col}},[n("input",e._b({ref:"input",staticClass:"w-full block  pb-1 border-b-2 border-gray-200",class:{error:e.error},attrs:{id:e.id,onclick:"select()",type:e.type},domProps:{value:e.value},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onEnter.apply(null,arguments)},input:function(t){return e.$emit("input",t.target.value)}}},"input",e.$attrs,!1)),e._v(" "),n("div",{staticClass:"w-full mt-1"},[e.error?n("div",{staticClass:"form-error"},[e._v(e._s(e.error))]):e._e()])])])}),[],!1,null,"6ecb489a",null).exports},42537:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r={components:{Icon:n(57428).Z}};const a=(0,n(51900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"p-4 bg-yellow-300 rounded flex items-center justify-between max-w-3xl"},[n("div",{staticClass:"flex items-center"},[n("icon",{staticClass:"flex-shrink-0 w-4 h-4 fill-yellow-800 mr-2",attrs:{name:"trash"}}),e._v(" "),n("div",{staticClass:"text-sm font-medium text-yellow-800"},[e._t("default")],2)],1),e._v(" "),n("button",{staticClass:"text-sm text-yellow-800 hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:function(t){return e.$emit("restore")}}},[e._v("Restore")])])}),[],!1,null,null,null).exports},51900:(e,t,n)=>{"use strict";function r(e,t,n,r,a,o,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),o&&(l._scopeId="data-v-"+o),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__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):a&&(c=s?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),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}}n.d(t,{Z:()=>r})}}]);
  //# sourceMappingURL=8872.js.map?id=da91177c042eb134