UNPKG

alispig-advanced-chat

Version:

A beautiful chat rooms component made with Vue.js - compatible with Vue, React & Angular

1 lines 478 kB
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["vue-advanced-chat"]=t():e["vue-advanced-chat"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"00b4":function(e,t,n){"use strict";n("ac1f");var r=n("23e7"),o=n("da84"),a=n("c65b"),i=n("e330"),s=n("1626"),c=n("861d"),l=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),u=o.Error,f=i(/./.test);r({target:"RegExp",proto:!0,forced:!l},{test:function(e){var t=this.exec;if(!s(t))return f(this,e);var n=a(t,this,e);if(null!==n&&!c(n))throw new u("RegExp exec method returned something other than an Object or null");return!!n}})},"00ee":function(e,t,n){var r=n("b622"),o=r("toStringTag"),a={};a[o]="z",e.exports="[object z]"===String(a)},"0137":function(e,t,n){},"0206":function(e,t){function n(e){return new Int8Array(e)}function r(e){return new Int16Array(e)}function o(e){return new Int32Array(e)}function a(e){return new Float32Array(e)}function i(e){return new Float64Array(e)}function s(e){if(1==e.length)return a(e[0]);var t=e[0];e=e.slice(1);for(var n=[],r=0;r<t;r++)n.push(s(e));return n}function c(e){if(1==e.length)return o(e[0]);var t=e[0];e=e.slice(1);for(var n=[],r=0;r<t;r++)n.push(c(e));return n}function l(e){if(1==e.length)return r(e[0]);var t=e[0];e=e.slice(1);for(var n=[],o=0;o<t;o++)n.push(l(e));return n}function u(e){if(1==e.length)return new Array(e[0]);var t=e[0];e=e.slice(1);for(var n=[],r=0;r<t;r++)n.push(u(e));return n}var f={fill:function(e,t,n,r){if(2==arguments.length)for(var o=0;o<e.length;o++)e[o]=arguments[1];else for(o=t;o<n;o++)e[o]=r}},d={arraycopy:function(e,t,n,r,o){var a=t+o;while(t<a)n[r++]=e[t++]}},h={};function m(e){this.ordinal=e}h.SQRT2=1.4142135623730951,h.FAST_LOG10=function(e){return Math.log10(e)},h.FAST_LOG10_X=function(e,t){return Math.log10(e)*t},m.short_block_allowed=new m(0),m.short_block_coupled=new m(1),m.short_block_dispensed=new m(2),m.short_block_forced=new m(3);var p={};function _(e){this.ordinal=e}p.MAX_VALUE=34028235e31,_.vbr_off=new _(0),_.vbr_mt=new _(1),_.vbr_rh=new _(2),_.vbr_abr=new _(3),_.vbr_mtrh=new _(4),_.vbr_default=_.vbr_mtrh;var g=function(e){};e.exports={System:d,VbrMode:_,Float:p,ShortBlock:m,Util:h,Arrays:f,new_array_n:u,new_byte:n,new_double:i,new_float:a,new_float_n:s,new_int:o,new_int_n:c,new_short:r,new_short_n:l,assert:g}},"0366":function(e,t,n){var r=n("e330"),o=n("59ed"),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:a?a(e,t):function(){return e.apply(t,arguments)}}},"04d1":function(e,t,n){var r=n("342f"),o=r.match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},"0538":function(e,t,n){"use strict";var r=n("da84"),o=n("e330"),a=n("59ed"),i=n("861d"),s=n("1a2d"),c=n("f36a"),l=r.Function,u=o([].concat),f=o([].join),d={},h=function(e,t,n){if(!s(d,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";d[t]=l("C,a","return new C("+f(r,",")+")")}return d[t](e,n)};e.exports=l.bind||function(e){var t=a(this),n=t.prototype,r=c(arguments,1),o=function(){var n=u(r,c(arguments));return this instanceof o?h(t,n.length,n):t.apply(e,n)};return i(n)&&(o.prototype=n),o}},"057f":function(e,t,n){var r=n("c6b6"),o=n("fc6a"),a=n("241c").f,i=n("4dae"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return a(e)}catch(t){return i(s)}};e.exports.f=function(e){return s&&"Window"==r(e)?c(e):a(o(e))}},"06cf":function(e,t,n){var r=n("83ab"),o=n("c65b"),a=n("d1e7"),i=n("5c6c"),s=n("fc6a"),c=n("a04b"),l=n("1a2d"),u=n("0cfb"),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=s(e),t=c(t),u)try{return f(e,t)}catch(n){}if(l(e,t))return i(!o(a.f,e,t),e[t])}},"07fa":function(e,t,n){var r=n("50c4");e.exports=function(e){return r(e.length)}},"09e6":function(e,t,n){var r=n("0206"),o=r.new_float,a=r.new_int;r.assert;function i(){this.global_gain=0,this.sfb_count1=0,this.step=a(39),this.noise=o(39),this.noise_log=o(39)}e.exports=i},"0b25":function(e,t,n){var r=n("da84"),o=n("5926"),a=n("50c4"),i=r.RangeError;e.exports=function(e){if(void 0===e)return 0;var t=o(e),n=a(t);if(t!==n)throw i("Wrong length or index");return n}},"0b42":function(e,t,n){var r=n("da84"),o=n("e8b5"),a=n("68ee"),i=n("861d"),s=n("b622"),c=s("species"),l=r.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,a(t)&&(t===l||o(t.prototype))?t=void 0:i(t)&&(t=t[c],null===t&&(t=void 0))),void 0===t?l:t}},"0cb2":function(e,t,n){var r=n("e330"),o=n("7b0b"),a=Math.floor,i=r("".charAt),s=r("".replace),c=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,f,d){var h=n+e.length,m=r.length,p=u;return void 0!==f&&(f=o(f),p=l),s(d,p,(function(o,s){var l;switch(i(s,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,n);case"'":return c(t,h);case"<":l=f[c(s,1,-1)];break;default:var u=+s;if(0===u)return o;if(u>m){var d=a(u/10);return 0===d?o:d<=m?void 0===r[d-1]?i(s,1):r[d-1]+i(s,1):o}l=r[u-1]}return void 0===l?"":l}))}},"0ccb":function(e,t,n){var r=n("e330"),o=n("50c4"),a=n("577e"),i=n("1148"),s=n("1d80"),c=r(i),l=r("".slice),u=Math.ceil,f=function(e){return function(t,n,r){var i,f,d=a(s(t)),h=o(n),m=d.length,p=void 0===r?" ":a(r);return h<=m||""==p?d:(i=h-m,f=c(p,u(i/p.length)),f.length>i&&(f=l(f,0,i)),e?d+f:f+d)}};e.exports={start:f(!1),end:f(!0)}},"0cfb":function(e,t,n){var r=n("83ab"),o=n("d039"),a=n("cc12");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},"0d03":function(e,t,n){var r=n("e330"),o=n("6eeb"),a=Date.prototype,i="Invalid Date",s="toString",c=r(a[s]),l=r(a.getTime);String(new Date(NaN))!=i&&o(a,s,(function(){var e=l(this);return e===e?c(this):i}))},"0d3b":function(e,t,n){var r=n("d039"),o=n("b622"),a=n("c430"),i=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),a&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0d51":function(e,t,n){var r=n("da84"),o=r.String;e.exports=function(e){try{return o(e)}catch(t){return"Object"}}},"107c":function(e,t,n){var r=n("d039"),o=n("da84"),a=o.RegExp;e.exports=r((function(){var e=a("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},1148:function(e,t,n){"use strict";var r=n("da84"),o=n("5926"),a=n("577e"),i=n("1d80"),s=r.RangeError;e.exports=function(e){var t=a(i(this)),n="",r=o(e);if(r<0||r==1/0)throw s("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}},"129f":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"13d5":function(e,t,n){"use strict";var r=n("23e7"),o=n("d58f").left,a=n("a640"),i=n("2d00"),s=n("605d"),c=a("reduce"),l=!s&&i>79&&i<83;r({target:"Array",proto:!0,forced:!c||l},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},1448:function(e,t,n){var r=n("dfb9"),o=n("b6b7");e.exports=function(e,t){return r(o(e),t)}},"145e":function(e,t,n){"use strict";var r=n("7b0b"),o=n("23cb"),a=n("07fa"),i=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=a(n),c=o(e,s),l=o(t,s),u=arguments.length>2?arguments[2]:void 0,f=i((void 0===u?s:o(u,s))-l,s-c),d=1;l<c&&c<l+f&&(d=-1,l+=f-1,c+=f-1);while(f-- >0)l in n?n[c]=n[l]:delete n[c],c+=d,l+=d;return n}},"14c3":function(e,t,n){var r=n("da84"),o=n("c65b"),a=n("825a"),i=n("1626"),s=n("c6b6"),c=n("9263"),l=r.TypeError;e.exports=function(e,t){var n=e.exec;if(i(n)){var r=o(n,e,t);return null!==r&&a(r),r}if("RegExp"===s(e))return o(c,e,t);throw l("RegExp#exec called on incompatible receiver")}},"159b":function(e,t,n){var r=n("da84"),o=n("fdbc"),a=n("785a"),i=n("17c2"),s=n("9112"),c=function(e){if(e&&e.forEach!==i)try{s(e,"forEach",i)}catch(t){e.forEach=i}};for(var l in o)o[l]&&c(r[l]&&r[l].prototype);c(a)},1626:function(e,t){e.exports=function(e){return"function"==typeof e}},1652:function(e,t,n){"use strict";t.__esModule=!0,t.stateify=t.TokenState=t.CharacterState=void 0;var r=n("254c");function o(){return function(e){this.j=[],this.T=e||null}}var a=o();a.prototype={defaultTransition:!1,on:function(e,t){if(e instanceof Array){for(var n=0;n<e.length;n++)this.j.push([e[n],t]);return this}return this.j.push([e,t]),this},next:function(e){for(var t=0;t<this.j.length;t++){var n=this.j[t],r=n[0],o=n[1];if(this.test(e,r))return o}return this.defaultTransition},accepts:function(){return!!this.T},test:function(e,t){return e===t},emit:function(){return this.T}};var i=(0,r.inherits)(a,o(),{test:function(e,t){return e===t||t instanceof RegExp&&t.test(e)}}),s=(0,r.inherits)(a,o(),{jump:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new e(""));return n===this.defaultTransition?(n=new this.constructor(t),this.on(e,n)):t&&(n.T=t),n},test:function(e,t){return e instanceof t}});function c(e,t,n,r){var o=0,a=e.length,s=t,c=[],l=void 0;while(o<a&&(l=s.next(e[o])))s=l,o++;if(o>=a)return[];while(o<a-1)l=new i(r),c.push(l),s.on(e[o],l),s=l,o++;return l=new i(n),c.push(l),s.on(e[a-1],l),c}t.CharacterState=i,t.TokenState=s,t.stateify=c},"170b":function(e,t,n){"use strict";var r=n("ebb5"),o=n("50c4"),a=n("23cb"),i=n("b6b7"),s=r.aTypedArray,c=r.exportTypedArrayMethod;c("subarray",(function(e,t){var n=s(this),r=n.length,c=a(e,r),l=i(n);return new l(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,o((void 0===t?r:a(t,r))-c))}))},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,o=n("a640"),a=o("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("da84"),o=n("f8cd"),a=r.RangeError;e.exports=function(e,t){var n=o(e);if(n%t)throw a("Wrong offset");return n}},"19aa":function(e,t,n){var r=n("da84"),o=n("3a9b"),a=r.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw a("Incorrect invocation")}},"1a2d":function(e,t,n){var r=n("e330"),o=n("7b0b"),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},"1a98":function(e,t,n){"use strict";n.r(t),n.d(t,"detectMobile",(function(){return r}));n("e323"),n("ac1f"),n("00b4");function r(){var e=o(),t=e.substr(0,4);return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw(n|u)|c55\/|capi|ccwa|cdm|cell|chtm|cldc|cmd|co(mp|nd)|craw|da(it|ll|ng)|dbte|dcs|devi|dica|dmob|do(c|p)o|ds(12|d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(|_)|g1 u|g560|gene|gf5|gmo|go(\.w|od)|gr(ad|un)|haie|hcit|hd(m|p|t)|hei|hi(pt|ta)|hp( i|ip)|hsc|ht(c(| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i(20|go|ma)|i230|iac( ||\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|[a-w])|libw|lynx|m1w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|mcr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|([1-8]|c))|phil|pire|pl(ay|uc)|pn2|po(ck|rt|se)|prox|psio|ptg|qaa|qc(07|12|21|32|60|[2-7]|i)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h|oo|p)|sdk\/|se(c(|0|1)|47|mc|nd|ri)|sgh|shar|sie(|m)|sk0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h|v|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl|tdg|tel(i|m)|tim|tmo|to(pl|sh)|ts(70|m|m3|m5)|tx9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas|your|zeto|zte/i.test(t)}function o(){var e=navigator.userAgent||navigator.vendor||window.opera||null;if(!e)throw new Error("Failed to look for user agent information.");return e}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c7e":function(e,t,n){var r=n("b622"),o=r("iterator"),a=!1;try{var i=0,s={next:function(){return{done:!!i++}},return:function(){a=!0}};s[o]=function(){return this},Array.from(s,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var r={};r[o]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(c){}return n}},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},"1d1c":function(e,t,n){var r=n("23e7"),o=n("83ab"),a=n("37e8");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:a})},"1d80":function(e,t,n){var r=n("da84"),o=r.TypeError;e.exports=function(e){if(void 0==e)throw o("Can't call method on "+e);return e}},"1dde":function(e,t,n){var r=n("d039"),o=n("b622"),a=n("2d00"),i=o("species");e.exports=function(e){return a>=51||!r((function(){var t=[],n=t.constructor={};return n[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"219c":function(e,t,n){"use strict";var r=n("da84"),o=n("e330"),a=n("d039"),i=n("59ed"),s=n("addb"),c=n("ebb5"),l=n("04d1"),u=n("d998"),f=n("2d00"),d=n("512c"),h=r.Array,m=c.aTypedArray,p=c.exportTypedArrayMethod,_=r.Uint16Array,g=_&&o(_.prototype.sort),v=!!g&&!(a((function(){g(new _(2),null)}))&&a((function(){g(new _(2),{})}))),b=!!g&&!a((function(){if(f)return f<74;if(l)return l<67;if(u)return!0;if(d)return d<602;var e,t,n=new _(516),r=h(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(g(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0})),y=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}};p("sort",(function(e){return void 0!==e&&i(e),b?g(this,e):s(m(this),y(e))}),!b||v)},2266:function(e,t,n){var r=n("da84"),o=n("0366"),a=n("c65b"),i=n("825a"),s=n("0d51"),c=n("e95a"),l=n("07fa"),u=n("3a9b"),f=n("9a1f"),d=n("35a1"),h=n("2a62"),m=r.TypeError,p=function(e,t){this.stopped=e,this.result=t},_=p.prototype;e.exports=function(e,t,n){var r,g,v,b,y,w,x,k=n&&n.that,S=!(!n||!n.AS_ENTRIES),M=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),R=o(t,k),E=function(e){return r&&h(r,"normal",e),new p(!0,e)},T=function(e){return S?(i(e),A?R(e[0],e[1],E):R(e[0],e[1])):A?R(e,E):R(e)};if(M)r=e;else{if(g=d(e),!g)throw m(s(e)+" is not iterable");if(c(g)){for(v=0,b=l(e);b>v;v++)if(y=T(e[v]),y&&u(_,y))return y;return new p(!1)}r=f(e,g)}w=r.next;while(!(x=a(w,r)).done){try{y=T(x.value)}catch(O){h(r,"throw",O)}if("object"==typeof y&&y&&u(_,y))return y}return new p(!1)}},2315:function(e,t,n){"use strict";var r=n("23e7"),o=n("857a"),a=n("af03");r({target:"String",proto:!0,forced:a("strike")},{strike:function(){return o(this,"strike","","")}})},"23cb":function(e,t,n){var r=n("5926"),o=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):a(n,t)}},"23e7":function(e,t,n){var r=n("da84"),o=n("06cf").f,a=n("9112"),i=n("6eeb"),s=n("ce4e"),c=n("e893"),l=n("94ca");e.exports=function(e,t){var n,u,f,d,h,m,p=e.target,_=e.global,g=e.stat;if(u=_?r:g?r[p]||s(p,{}):(r[p]||{}).prototype,u)for(f in t){if(h=t[f],e.noTargetGet?(m=o(u,f),d=m&&m.value):d=u[f],n=l(_?f:p+(g?".":"#")+f,e.forced),!n&&void 0!==d){if(typeof h==typeof d)continue;c(h,d)}(e.sham||d&&d.sham)&&a(h,"sham",!0),i(u,f,h,e)}}},"241c":function(e,t,n){var r=n("ca84"),o=n("7839"),a=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},2466:function(e,t){function n(){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}e.exports=n},2474:function(e,t,n){var r=n("0206"),o=(r.System,r.VbrMode),a=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,f=r.new_int,d=(r.new_int_n,r.assert),h=n("8100"),m=n("4b5e");function p(){var e=new h,t=2.302585092994046,n=2,r=16,p=2,_=16,g=.34,v=1/217621504/(m.BLKSIZE/2),b=.01,y=.8,w=.6,x=.3,k=3.5,S=21,M=.2302585093;function A(e){return e}function R(e,t){for(var n=0,r=0;r<m.BLKSIZE/2;++r)n+=e[r]*t.ATH.eql_w[r];return n*=v,n}function E(t,n,r,o,a,i,c,l,u,f,d){var h=t.internal_flags;if(u<2)e.fft_long(h,o[a],u,f,d),e.fft_short(h,i[c],u,f,d);else if(2==u){for(var p=m.BLKSIZE-1;p>=0;--p){var _=o[a+0][p],g=o[a+1][p];o[a+0][p]=(_+g)*s.SQRT2*.5,o[a+1][p]=(_-g)*s.SQRT2*.5}for(var v=2;v>=0;--v)for(p=m.BLKSIZE_s-1;p>=0;--p){_=i[c+0][v][p],g=i[c+1][v][p];i[c+0][v][p]=(_+g)*s.SQRT2*.5,i[c+1][v][p]=(_-g)*s.SQRT2*.5}}n[0]=A(o[a+0][0]),n[0]*=n[0];for(p=m.BLKSIZE/2-1;p>=0;--p){var b=o[a+0][m.BLKSIZE/2-p],y=o[a+0][m.BLKSIZE/2+p];n[m.BLKSIZE/2-p]=A(.5*(b*b+y*y))}for(v=2;v>=0;--v){r[v][0]=i[c+0][v][0],r[v][0]*=r[v][0];for(p=m.BLKSIZE_s/2-1;p>=0;--p){b=i[c+0][v][m.BLKSIZE_s/2-p],y=i[c+0][v][m.BLKSIZE_s/2+p];r[v][m.BLKSIZE_s/2-p]=A(.5*(b*b+y*y))}}var w=0;for(p=11;p<m.HBLKSIZE;p++)w+=n[p];if(h.tot_ener[u]=w,t.analysis){for(p=0;p<m.HBLKSIZE;p++)h.pinfo.energy[l][u][p]=h.pinfo.energy_save[u][p],h.pinfo.energy_save[u][p]=n[p];h.pinfo.pe[l][u]=h.pe[u]}2==t.athaa_loudapprox&&u<2&&(h.loudness_sq[l][u]=h.loudness_sq_save[u],h.loudness_sq_save[u]=R(n,h))}var T,O,B,I=8,L=23,P=15,j=[1,.79433,.63096,.63096,.63096,.63096,.63096,.25119,.11749];function C(){T=Math.pow(10,(I+1)/16),O=Math.pow(10,(L+1)/16),B=Math.pow(10,P/10)}var N=[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],H=[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],D=[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 F(e,t,n,r,o,a){var i;if(t>e){if(!(t<e*O))return e+t;i=t/e}else{if(e>=t*O)return e+t;i=e/t}if(d(e>=0),d(t>=0),e+=t,r+3<=6){if(i>=T)return e;var c=0|s.FAST_LOG10_X(i,16);return e*H[c]}var l,u;c=0|s.FAST_LOG10_X(i,16);return t=0!=a?o.ATH.cb_s[n]*o.ATH.adjust:o.ATH.cb_l[n]*o.ATH.adjust,d(t>=0),e<B*t?e>t?(l=1,c<=13&&(l=D[c]),u=s.FAST_LOG10_X(e/t,10/15),e*((N[c]-l)*u+l)):c>13?e:e*D[c]:e*N[c]}var U=[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 V(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>=T)return e+t;var o=0|s.FAST_LOG10_X(r,16);return(e+t)*U[o]}return r<O?e+t:(e<t&&(e=t),e)}function q(e,t){var n=e.internal_flags;if(n.channels_out>1){for(var r=0;r<m.SBMAX_l;r++){var o=n.thm[0].l[r],a=n.thm[1].l[r];n.thm[0].l[r]+=a*t,n.thm[1].l[r]+=o*t}for(r=0;r<m.SBMAX_s;r++)for(var i=0;i<3;i++){o=n.thm[0].s[r][i],a=n.thm[1].s[r][i];n.thm[0].s[r][i]+=a*t,n.thm[1].s[r][i]+=o*t}}}function $(e){for(var t=0;t<m.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 o=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]=o}for(t=0;t<m.SBMAX_s;t++)for(var a=0;a<3;a++)if(!(e.thm[0].s[t][a]>1.58*e.thm[1].s[t][a]||e.thm[1].s[t][a]>1.58*e.thm[0].s[t][a])){n=e.mld_s[t]*e.en[3].s[t][a],r=Math.max(e.thm[2].s[t][a],Math.min(e.thm[3].s[t][a],n));n=e.mld_s[t]*e.en[2].s[t][a];o=Math.max(e.thm[3].s[t][a],Math.min(e.thm[2].s[t][a],n));e.thm[2].s[t][a]=r,e.thm[3].s[t][a]=o}}function z(e,t,n){var r=t,o=Math.pow(10,n);t*=2,r*=2;for(var a=0;a<m.SBMAX_l;a++){if(f=e.ATH.cb_l[e.bm_l[a]]*o,c=Math.min(Math.max(e.thm[0].l[a],f),Math.max(e.thm[1].l[a],f)),l=Math.max(e.thm[2].l[a],f),u=Math.max(e.thm[3].l[a],f),c*t<l+u){var i=c*r/(l+u);l*=i,u*=i,d(l+u>0)}e.thm[2].l[a]=Math.min(l,e.thm[2].l[a]),e.thm[3].l[a]=Math.min(u,e.thm[3].l[a])}o*=m.BLKSIZE_s/m.BLKSIZE;for(a=0;a<m.SBMAX_s;a++)for(var s=0;s<3;s++){var c,l,u,f;if(f=e.ATH.cb_s[e.bm_s[a]]*o,c=Math.min(Math.max(e.thm[0].s[a][s],f),Math.max(e.thm[1].s[a][s],f)),l=Math.max(e.thm[2].s[a][s],f),u=Math.max(e.thm[3].s[a][s],f),c*t<l+u){i=c*t/(l+u);l*=i,u*=i,d(l+u>0)}e.thm[2].s[a][s]=Math.min(e.thm[2].s[a][s],l),e.thm[3].s[a][s]=Math.min(e.thm[3].s[a][s],u)}}function Y(e,t,n,r,o){var a,i,s=0,c=0;for(a=i=0;a<m.SBMAX_s;++i,++a){var l=e.bo_s[a],u=e.npart_s,f=l<u?l:u;while(i<f)d(t[i]>=0),d(n[i]>=0),s+=t[i],c+=n[i],i++;if(e.en[r].s[a][o]=s,e.thm[r].s[a][o]=c,i>=u){++a;break}d(t[i]>=0),d(n[i]>=0);var h=e.PSY.bo_s_weight[a],p=1-h;s=h*t[i],c=h*n[i],e.en[r].s[a][o]+=s,e.thm[r].s[a][o]+=c,s=p*t[i],c=p*n[i]}for(;a<m.SBMAX_s;++a)e.en[r].s[a][o]=0,e.thm[r].s[a][o]=0}function X(e,t,n,r){var o,a,i=0,s=0;for(o=a=0;o<m.SBMAX_l;++a,++o){var c=e.bo_l[o],l=e.npart_l,u=c<l?c:l;while(a<u)d(t[a]>=0),d(n[a]>=0),i+=t[a],s+=n[a],a++;if(e.en[r].l[o]=i,e.thm[r].l[o]=s,a>=l){++o;break}d(t[a]>=0),d(n[a]>=0);var f=e.PSY.bo_l_weight[o],h=1-f;i=f*t[a],s=f*n[a],e.en[r].l[o]+=i,e.thm[r].l[o]+=s,i=h*t[a],s=h*n[a]}for(;o<m.SBMAX_l;++o)e.en[r].l[o]=0,e.thm[r].l[o]=0}function G(e,t,n,r,o,a){var i,s,c=e.internal_flags;for(s=i=0;s<c.npart_s;++s){for(var l=0,u=0,f=c.numlines_s[s],h=0;h<f;++h,++i){var g=t[a][i];l+=g,u<g&&(u=g)}n[s]=l}for(d(s==c.npart_s),d(129==i),i=s=0;s<c.npart_s;s++){var v=c.s3ind_s[s][0],b=c.s3_ss[i++]*n[v];++v;while(v<=c.s3ind_s[s][1])b+=c.s3_ss[i]*n[v],++i,++v;var y=p*c.nb_s1[o][s];if(r[s]=Math.min(b,y),c.blocktype_old[1&o]==m.SHORT_TYPE){y=_*c.nb_s2[o][s];var w=r[s];r[s]=Math.min(y,w)}c.nb_s2[o][s]=c.nb_s1[o][s],c.nb_s1[o][s]=b,d(r[s]>=0)}for(;s<=m.CBANDS;++s)n[s]=0,r[s]=0}function K(e,t,n,r){var o=e.internal_flags;e.short_blocks!=i.short_block_coupled||0!=t[0]&&0!=t[1]||(t[0]=t[1]=0);for(var a=0;a<o.channels_out;a++)r[a]=m.NORM_TYPE,e.short_blocks==i.short_block_dispensed&&(t[a]=1),e.short_blocks==i.short_block_forced&&(t[a]=0),0!=t[a]?(d(o.blocktype_old[a]!=m.START_TYPE),o.blocktype_old[a]==m.SHORT_TYPE&&(r[a]=m.STOP_TYPE)):(r[a]=m.SHORT_TYPE,o.blocktype_old[a]==m.NORM_TYPE&&(o.blocktype_old[a]=m.START_TYPE),o.blocktype_old[a]==m.STOP_TYPE&&(o.blocktype_old[a]=m.SHORT_TYPE)),n[a]=o.blocktype_old[a],o.blocktype_old[a]=r[a]}function Z(e,t,n){return n>=1?e:n<=0?t:t>0?Math.pow(e/t,n)*t:0}var W=[11.8,13.6,17.2,32,46.5,51.3,57.5,67.1,71.5,84.6,97.6,130];function Q(e,n){for(var r=309.07,o=0;o<m.SBMAX_s-1;o++)for(var a=0;a<3;a++){var i=e.thm.s[o][a];if(d(o<W.length),i>0){var c=i*n,l=e.en.s[o][a];l>c&&(l>1e10*c?r+=W[o]*(10*t):(d(c>0),r+=W[o]*s.FAST_LOG10(l/c)))}}return r}var J=[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 ee(e,n){for(var r=281.0575,o=0;o<m.SBMAX_l-1;o++){var a=e.thm.l[o];if(d(o<J.length),a>0){var i=a*n,c=e.en.l[o];c>i&&(c>1e10*i?r+=J[o]*(10*t):(d(i>0),r+=J[o]*s.FAST_LOG10(c/i)))}}return r}function te(e,t,n,r,o){var a,i;for(a=i=0;a<e.npart_l;++a){var s,c=0,l=0;for(s=0;s<e.numlines_l[a];++s,++i){var u=t[i];d(u>=0),c+=u,l<u&&(l=u)}n[a]=c,r[a]=l,o[a]=c*e.rnumlines_l[a],d(e.rnumlines_l[a]>=0),d(c>=0),d(n[a]>=0),d(r[a]>=0),d(o[a]>=0)}}function ne(e,t,n,r){var o=j.length-1,a=0,i=n[a]+n[a+1];if(d(i>=0),i>0){var s=t[a];s<t[a+1]&&(s=t[a+1]),d(e.numlines_l[a]+e.numlines_l[a+1]-1>0),i=20*(2*s-i)/(i*(e.numlines_l[a]+e.numlines_l[a+1]-1));var c=0|i;c>o&&(c=o),r[a]=c}else r[a]=0;for(a=1;a<e.npart_l-1;a++)if(i=n[a-1]+n[a]+n[a+1],d(i>=0),i>0){s=t[a-1];s<t[a]&&(s=t[a]),s<t[a+1]&&(s=t[a+1]),d(e.numlines_l[a-1]+e.numlines_l[a]+e.numlines_l[a+1]-1>0),i=20*(3*s-i)/(i*(e.numlines_l[a-1]+e.numlines_l[a]+e.numlines_l[a+1]-1));c=0|i;c>o&&(c=o),r[a]=c}else r[a]=0;if(d(a>0),d(a==e.npart_l-1),i=n[a-1]+n[a],d(i>=0),i>0){s=t[a-1];s<t[a]&&(s=t[a]),d(e.numlines_l[a-1]+e.numlines_l[a]-1>0),i=20*(2*s-i)/(i*(e.numlines_l[a-1]+e.numlines_l[a]-1));c=0|i;c>o&&(c=o),r[a]=c}else r[a]=0;d(a==e.npart_l-1)}var re=[-1730326e-23,-.01703172,-1349528e-23,.0418072,-673278e-22,-.0876324,-30835e-21,.1863476,-1104424e-22,-.627638];function oe(t,n,r,o,a,i,c,l){var u=t.internal_flags;if(o<2)e.fft_long(u,c[l],o,n,r);else if(2==o)for(var f=m.BLKSIZE-1;f>=0;--f){var d=c[l+0][f],h=c[l+1][f];c[l+0][f]=(d+h)*s.SQRT2*.5,c[l+1][f]=(d-h)*s.SQRT2*.5}i[0]=A(c[l+0][0]),i[0]*=i[0];for(f=m.BLKSIZE/2-1;f>=0;--f){var p=c[l+0][m.BLKSIZE/2-f],_=c[l+0][m.BLKSIZE/2+f];i[m.BLKSIZE/2-f]=A(.5*(p*p+_*_))}var g=0;for(f=11;f<m.HBLKSIZE;f++)g+=i[f];if(u.tot_ener[o]=g,t.analysis){for(f=0;f<m.HBLKSIZE;f++)u.pinfo.energy[a][o][f]=u.pinfo.energy_save[o][f],u.pinfo.energy_save[o][f]=i[f];u.pinfo.pe[a][o]=u.pe[o]}}function ae(t,n,r,o,a,i,c,l){var u=t.internal_flags;if(0==a&&o<2&&e.fft_short(u,c[l],o,n,r),2==o)for(var f=m.BLKSIZE_s-1;f>=0;--f){var d=c[l+0][a][f],h=c[l+1][a][f];c[l+0][a][f]=(d+h)*s.SQRT2*.5,c[l+1][a][f]=(d-h)*s.SQRT2*.5}i[a][0]=c[l+0][a][0],i[a][0]*=i[a][0];for(f=m.BLKSIZE_s/2-1;f>=0;--f){var p=c[l+0][a][m.BLKSIZE_s/2-f],_=c[l+0][a][m.BLKSIZE_s/2+f];i[a][m.BLKSIZE_s/2-f]=A(.5*(p*p+_*_))}}function ie(e,t,n,r){var o=e.internal_flags;2==e.athaa_loudapprox&&n<2&&(o.loudness_sq[t][n]=o.loudness_sq_save[n],o.loudness_sq_save[n]=R(r,o))}this.L3psycho_anal_ns=function(e,t,a,i,s,h,p,_,g,v){var b,k,M,A,R,T,O,B,I,L,P=e.internal_flags,C=u([2,m.BLKSIZE]),N=u([2,3,m.BLKSIZE_s]),H=l(m.CBANDS+1),D=l(m.CBANDS+1),U=l(m.CBANDS+2),V=f(2),W=f(2),J=u([2,576]),oe=f(m.CBANDS+2),ae=f(m.CBANDS+2);for(c.fill(ae,0),b=P.channels_out,e.mode==MPEGMode.JOINT_STEREO&&(b=4),I=e.VBR==o.vbr_off?0==P.ResvMax?0:P.ResvSize/P.ResvMax*.5:e.VBR==o.vbr_rh||e.VBR==o.vbr_mtrh||e.VBR==o.vbr_mt?.6:1,k=0;k<P.channels_out;k++){var ie=t[k],se=a+576-350-S+192;for(d(re.length==(S-1)/2),A=0;A<576;A++){var ce,le;for(ce=ie[se+A+10],le=0,R=0;R<(S-1)/2-1;R+=2)ce+=re[R]*(ie[se+A+R]+ie[se+A+S-R]),le+=re[R+1]*(ie[se+A+R+1]+ie[se+A+S-R-1]);J[k][A]=ce+le}s[i][k].en.assign(P.en[k]),s[i][k].thm.assign(P.thm[k]),b>2&&(h[i][k].en.assign(P.en[k+2]),h[i][k].thm.assign(P.thm[k+2]))}for(k=0;k<b;k++){var ue,fe,de,he=l(12),me=[0,0,0,0],pe=l(12),_e=1,ge=l(m.CBANDS),ve=l(m.CBANDS),be=[0,0,0,0],ye=l(m.HBLKSIZE),we=u([3,m.HBLKSIZE_s]);for(d(P.npart_s<=m.CBANDS),d(P.npart_l<=m.CBANDS),A=0;A<3;A++)he[A]=P.nsPsy.last_en_subshort[k][A+6],d(P.nsPsy.last_en_subshort[k][A+4]>0),pe[A]=he[A]/P.nsPsy.last_en_subshort[k][A+4],me[0]+=he[A];if(2==k)for(A=0;A<576;A++){var xe,ke;xe=J[0][A],ke=J[1][A],J[0][A]=xe+ke,J[1][A]=xe-ke}var Se=J[1&k],Me=0;for(A=0;A<9;A++){for(var Ae=Me+64,Re=1;Me<Ae;Me++)Re<Math.abs(Se[Me])&&(Re=Math.abs(Se[Me]));P.nsPsy.last_en_subshort[k][A]=he[A+3]=Re,me[1+A/3]+=Re,Re>he[A+3-2]?(d(he[A+3-2]>0),Re/=he[A+3-2]):he[A+3-2]>10*Re?(d(Re>0),Re=he[A+3-2]/(10*Re)):Re=0,pe[A+3]=Re}if(e.analysis){var Ee=pe[0];for(A=1;A<12;A++)Ee<pe[A]&&(Ee=pe[A]);P.pinfo.ers[i][k]=P.pinfo.ers_save[k],P.pinfo.ers_save[k]=Ee}for(de=3==k?P.nsPsy.attackthre_s:P.nsPsy.attackthre,A=0;A<12;A++)0==be[A/3]&&pe[A]>de&&(be[A/3]=A%3+1);for(A=1;A<4;A++){var Te;me[A-1]>me[A]?(d(me[A]>0),Te=me[A-1]/me[A]):(d(me[A-1]>0),Te=me[A]/me[A-1]),Te<1.7&&(be[A]=0,1==A&&(be[0]=0))}for(0!=be[0]&&0!=P.nsPsy.lastAttacks[k]&&(be[0]=0),3!=P.nsPsy.lastAttacks[k]&&be[0]+be[1]+be[2]+be[3]==0||(_e=0,0!=be[1]&&0!=be[0]&&(be[1]=0),0!=be[2]&&0!=be[1]&&(be[2]=0),0!=be[3]&&0!=be[2]&&(be[3]=0)),k<2?W[k]=_e:0==_e&&(W[0]=W[1]=0),g[k]=P.tot_ener[k],fe=N,ue=C,E(e,ye,we,ue,1&k,fe,1&k,i,k,t,a),te(P,ye,H,ge,ve),ne(P,ge,ve,oe),B=0;B<3;B++){var Oe,Be;for(G(e,we,D,U,k,B),Y(P,D,U,k,B),O=0;O<m.SBMAX_s;O++){if(Be=P.thm[k].s[O][B],Be*=y,be[B]>=2||1==be[B+1]){var Ie=0!=B?B-1:2;Re=Z(P.thm[k].s[O][Ie],Be,w*I);Be=Math.min(Be,Re)}if(1==be[B]){Ie=0!=B?B-1:2,Re=Z(P.thm[k].s[O][Ie],Be,x*I);Be=Math.min(Be,Re)}else if(0!=B&&3==be[B-1]||0==B&&3==P.nsPsy.lastAttacks[k]){Ie=2!=B?B+1:0,Re=Z(P.thm[k].s[O][Ie],Be,x*I);Be=Math.min(Be,Re)}Oe=he[3*B+3]+he[3*B+4]+he[3*B+5],6*he[3*B+5]<Oe&&(Be*=.5,6*he[3*B+4]<Oe&&(Be*=.5)),P.thm[k].s[O][B]=Be}}for(P.nsPsy.lastAttacks[k]=be[2],T=0,M=0;M<P.npart_l;M++){var Le=P.s3ind[M][0],Pe=H[Le]*j[oe[Le]],je=P.s3_ll[T++]*Pe;while(++Le<=P.s3ind[M][1])Pe=H[Le]*j[oe[Le]],je=F(je,P.s3_ll[T++]*Pe,Le,Le-M,P,0);je*=.158489319246111,P.blocktype_old[1&k]==m.SHORT_TYPE?U[M]=je:U[M]=Z(Math.min(je,Math.min(n*P.nb_1[k][M],r*P.nb_2[k][M])),je,I),P.nb_2[k][M]=P.nb_1[k][M],P.nb_1[k][M]=je}for(;M<=m.CBANDS;++M)H[M]=0,U[M]=0;X(P,H,U,k)}(e.mode!=MPEGMode.STEREO&&e.mode!=MPEGMode.JOINT_STEREO||e.interChRatio>0&&q(e,e.interChRatio),e.mode==MPEGMode.JOINT_STEREO)&&($(P),L=e.msfix,Math.abs(L)>0&&z(P,L,e.ATHlower*P.ATH.adjust));for(K(e,W,v,V),k=0;k<b;k++){var Ce,Ne,He,De=0;k>1?(Ce=_,De=-2,Ne=m.NORM_TYPE,v[0]!=m.SHORT_TYPE&&v[1]!=m.SHORT_TYPE||(Ne=m.SHORT_TYPE),He=h[i][k-2]):(Ce=p,De=0,Ne=v[k],He=s[i][k]),Ne==m.SHORT_TYPE?Ce[De+k]=Q(He,P.masking_lower):Ce[De+k]=ee(He,P.masking_lower),e.analysis&&(P.pinfo.pe[i][k]=Ce[De+k])}return 0};var se=[-1730326e-23,-.01703172,-1349528e-23,.0418072,-673278e-22,-.0876324,-30835e-21,.1863476,-1104424e-22,-.627638];function ce(e,t,n,r,o,a,i,s,c,f){for(var h=u([2,576]),m=e.internal_flags,p=m.channels_out,_=e.mode==MPEGMode.JOINT_STEREO?4:p,g=0;g<p;g++){firbuf=t[g];var v=n+576-350-S+192;d(se.length==(S-1)/2);for(var b=0;b<576;b++){var y,w;y=firbuf[v+b+10],w=0;for(var x=0;x<(S-1)/2-1;x+=2)y+=se[x]*(firbuf[v+b+x]+firbuf[v+b+S-x]),w+=se[x+1]*(firbuf[v+b+x+1]+firbuf[v+b+S-x-1]);h[g][b]=y+w}o[r][g].en.assign(m.en[g]),o[r][g].thm.assign(m.thm[g]),_>2&&(a[r][g].en.assign(m.en[g+2]),a[r][g].thm.assign(m.thm[g+2]))}for(g=0;g<_;g++){var k=l(12),M=l(12),A=[0,0,0,0],R=h[1&g],E=0,T=3==g?m.nsPsy.attackthre_s:m.nsPsy.attackthre,O=1;if(2==g)for(b=0,x=576;x>0;++b,--x){var B=h[0][b],I=h[1][b];h[0][b]=B+I,h[1][b]=B-I}for(b=0;b<3;b++)M[b]=m.nsPsy.last_en_subshort[g][b+6],d(m.nsPsy.last_en_subshort[g][b+4]>0),k[b]=M[b]/m.nsPsy.last_en_subshort[g][b+4],A[0]+=M[b];for(b=0;b<9;b++){for(var L=E+64,P=1;E<L;E++)P<Math.abs(R[E])&&(P=Math.abs(R[E]));m.nsPsy.last_en_subshort[g][b]=M[b+3]=P,A[1+b/3]+=P,P>M[b+3-2]?(d(M[b+3-2]>0),P/=M[b+3-2]):M[b+3-2]>10*P?(d(P>0),P=M[b+3-2]/(10*P)):P=0,k[b+3]=P}for(b=0;b<3;++b){var j=M[3*b+3]+M[3*b+4]+M[3*b+5],C=1;6*M[3*b+5]<j&&(C*=.5,6*M[3*b+4]<j&&(C*=.5)),s[g][b]=C}if(e.analysis){var N=k[0];for(b=1;b<12;b++)N<k[b]&&(N=k[b]);m.pinfo.ers[r][g]=m.pinfo.ers_save[g],m.pinfo.ers_save[g]=N}for(b=0;b<12;b++)0==c[g][b/3]&&k[b]>T&&(c[g][b/3]=b%3+1);for(b=1;b<4;b++){var H=A[b-1],D=A[b],F=Math.max(H,D);F<4e4&&H<1.7*D&&D<1.7*H&&(1==b&&c[g][0]<=c[g][b]&&(c[g][0]=0),c[g][b]=0)}c[g][0]<=m.nsPsy.lastAttacks[g]&&(c[g][0]=0),3!=m.nsPsy.lastAttacks[g]&&c[g][0]+c[g][1]+c[g][2]+c[g][3]==0||(O=0,0!=c[g][1]&&0!=c[g][0]&&(c[g][1]=0),0!=c[g][2]&&0!=c[g][1]&&(c[g][2]=0),0!=c[g][3]&&0!=c[g][2]&&(c[g][3]=0)),g<2?f[g]=O:0==O&&(f[0]=f[1]=0),i[g]=m.tot_ener[g]}}function le(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 ue(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 fe(e,t,n,r){var o=j.length-1,a=0,i=n[a]+n[a+1];if(d(i>=0),i>0){var s=t[a];s<t[a+1]&&(s=t[a+1]),d(e.numlines_s[a]+e.numlines_s[a+1]-1>0),i=20*(2*s-i)/(i*(e.numlines_s[a]+e.numlines_s[a+1]-1));var c=0|i;c>o&&(c=o),r[a]=c}else r[a]=0;for(a=1;a<e.npart_s-1;a++)if(i=n[a-1]+n[a]+n[a+1],d(a+1<e.npart_s),d(i>=0),i>0){s=t[a-1];s<t[a]&&(s=t[a]),s<t[a+1]&&(s=t[a+1]),d(e.numlines_s[a-1]+e.numlines_s[a]+e.numlines_s[a+1]-1>0),i=20*(3*s-i)/(i*(e.numlines_s[a-1]+e.numlines_s[a]+e.numlines_s[a+1]-1));c=0|i;c>o&&(c=o),r[a]=c}else r[a]=0;if(d(a>0),d(a==e.npart_s-1),i=n[a-1]+n[a],d(i>=0),i>0){s=t[a-1];s<t[a]&&(s=t[a]),d(e.numlines_s[a-1]+e.numlines_s[a]-1>0),i=20*(2*s-i)/(i*(e.numlines_s[a-1]+e.numlines_s[a]-1));c=0|i;c>o&&(c=o),r[a]=c}else r[a]=0;d(a==e.npart_s-1)}function de(e,t,n,r,o,a){var i,s,c,u=e.internal_flags,f=new float[m.CBANDS],h=l(m.CBANDS),p=new int[m.CBANDS];for(c=s=0;c<u.npart_s;++c){var _=0,g=0,v=u.numlines_s[c];for(i=0;i<v;++i,++s){var b=t[a][s];_+=b,g<b&&(g=b)}n[c]=_,d(_>=0),f[c]=g,d(v>0),h[c]=_/v,d(h[c]>=0)}for(d(c==u.npart_s),d(129==s);c<m.CBANDS;++c)f[c]=0,h[c]=0;for(fe(u,f,h,p),s=c=0;c<u.npart_s;c++){var y,w,x,k,S,M=u.s3ind_s[c][0],A=u.s3ind_s[c][1];y=p[M],w=1,k=u.s3_ss[s]*n[M]*j[p[M]],++s,++M;while(M<=A)y+=p[M],w+=1,x=u.s3_ss[s]*n[M]*j[p[M]],k=V(k,x,M-c),++s,++M;y=(1+2*y)/(2*w),S=.5*j[y],k*=S,r[c]=k,u.nb_s2[o][c]=u.nb_s1[o][c],u.nb_s1[o][c]=k,x=f[c],x*=u.minval_s[c],x*=S,r[c]>x&&(r[c]=x),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),d(r[c]>=0)}for(;c<m.CBANDS;++c)n[c]=0,r[c]=0}function he(e,t,o,a,i){var s,c=l(m.CBANDS),u=l(m.CBANDS),h=f(m.CBANDS+2);te(e,t,o,c,u),ne(e,c,u,h);var p=0;for(s=0;s<e.npart_l;s++){var _,g,v,b,y=e.s3ind[s][0],w=e.s3ind[s][1],k=0,S=0;k=h[y],S+=1,g=e.s3_ll[p]*o[y]*j[h[y]],++p,++y;while(y<=w)k+=h[y],S+=1,_=e.s3_ll[p]*o[y]*j[h[y]],b=V(g,_,y-s),g=b,++p,++y;if(k=(1+2*k)/(2*S),v=.5*j[k],g*=v,e.blocktype_old[1&i]==m.SHORT_TYPE){var M=n*e.nb_1[i][s];a[s]=M>0?Math.min(g,M):Math.min(g,o[s]*x)}else{var A=r*e.nb_2[i][s],R=n*e.nb_1[i][s];A<=0&&(A=g),R<=0&&(R=g),M=e.blocktype_old[1&i]==m.NORM_TYPE?Math.min(R,A):R,a[s]=Math.min(g,M)}e.nb_2[i][s]=e.nb_1[i][s],e.nb_1[i][s]=g,_=c[s],_*=e.minval_l[s],_*=v,a[s]>_&&(a[s]=_),e.masking_lower>1&&(a[s]*=e.masking_lower),a[s]>o[s]&&(a[s]=o[s]),e.masking_lower<1&&(a[s]*=e.masking_lower),d(a[s]>=0)}for(;s<m.CBANDS;++s)o[s]=0,a[s]=0}function me(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)}function pe(e,t,n){for(var r=e.internal_flags,o=0;o<r.channels_out;o++){var a=m.NORM_TYPE;0!=t[o]?(d(r.blocktype_old[o]!=m.START_TYPE),r.blocktype_old[o]==m.SHORT_TYPE&&(a=m.STOP_TYPE)):(a=m.SHORT_TYPE,r.blocktype_old[o]==m.NORM_TYPE&&(r.blocktype_old[o]=m.START_TYPE),r.blocktype_old[o]==m.STOP_TYPE&&(r.blocktype_old[o]=m.SHORT_TYPE)),n[o]=r.blocktype_old[o],r.blocktype_old[o]=a}}function _e(e,t,n,r,o,a,i){for(var s,c,l=2*a,u=a>0?Math.pow(10,o):1,f=0;f<i;++f){var h=e[2][f],m=e[3][f],p=t[0][f],_=t[1][f],g=t[2][f],v=t[3][f];if(p<=1.58*_&&_<=1.58*p){var b=n[f]*m,y=n[f]*h;c=Math.max(g,Math.min(v,b)),s=Math.max(v,Math.min(g,y))}else c=g,s=v;if(a>0){var w,x,k=r[f]*u;if(w=Math.min(Math.max(p,k),Math.max(_,k)),g=Math.max(c,k),v=Math.max(s,k),x=g+v,x>0&&w*l<x){var S=w*l/x;g*=S,v*=S,d(x>0)}c=Math.min(g,c),s=Math.min(v,s)}c>h&&(c=h),s>m&&(s=m),t[2][f]=c,t[3][f]=s}}function ge(e,t){var n,r=e;return n=r>=0?27*-r:r*t,n<=-72?0:Math.exp(n*M)}function ve(e){var t=0,n=0,r=0;for(r=0;ge(r,e)>1e-20;r-=1);o=r,a=0;while(Math.abs(a-o)>1e-12)r=(a+o)/2,ge(r,e)>0?a=r:o=r;t=o;var o,a;r=0;for(r=0;ge(r,e)>1e-20;r+=1);o=0,a=r;while(Math.abs(a-o)>1e-12)r=(a+o)/2,ge(r,e)>0?o=r:a=r;n=a;var i,s=0,c=1e3;for(i=0;i<=c;++i){r=t+i*(n-t)/c;var l=ge(r,e);s+=l}var u=(c+1)/(s*(n-t));return u}function be(e){var t,n,r,o;return t=e,t*=t>=0?3:1.5,t>=.5&&t<=2.5?(o=t-.5,n=8*(o*o-2*o)):n=0,t+=.474,r=15.811389+7.5*t-17.5*Math.sqrt(1+t*t),r<=-60?0:(t=Math.exp((n+r)*M),t/=.6609193,t)}function ye(e){return e<0&&(e=0),e*=.001,13*Math.atan(.76*e)+3.5*Math.atan(e*e/56.25)}function we(e,t,n,r,o,a,i,s,c,u,h,p){var _,v=l(m.CBANDS+1),b=s/(p>15?1152:384),y=f(m.HBLKSIZE);s/=c;var w=0,x=0;for(_=0;_<m.CBANDS;_++){var k;for(I=ye(s*w),v[_]=s*w,k=w;ye(s*k)-I<g&&k<=c/2;k++);e[_]=k-w,x=_+1;while(w<k)d(w<m.HBLKSIZE),y[w++]=_;if(w>c/2){w=c/2,++_;break}}d(_<m.CBANDS),v[_]=s*w;for(var S=0;S<p;S++){var M,A,R,E,T;R=u[S],E=u[S+1],M=0|Math.floor(.5+h*(R-.5)),M<0&&(M=0),A=0|Math.floor(.5+h*(E-.5)),A>c/2&&(A=c/2),n[S]=(y[M]+y[A])/2,t[S]=y[A];var O=b*E;i[S]=(O-v[t[S]])/(v[t[S]+1]-v[t[S]]),i[S]<0?i[S]=0:i[S]>1&&(i[S]=1),T=ye(s*u[S]*h),T=Math.min(T,15.5)/15.5,a[S]=Math.pow(10,1.25*(1-Math.cos(Math.PI*T))-2.5)}w=0;for(var B=0;B<x;B++){var I,L,P=e[B];I=ye(s*w),L=ye(s*(w+P-1)),r[B]=.5*(I+L),I=ye(s*(w-.5)),L=ye(s*(w+P-.5)),o[B]=L-I,w+=P}return x}function xe(e,t,n,r,o,a){var i,s=u([m.CBANDS,m.CBANDS]),c=0;if(a)for(var f=0;f<t;f++)for(i=0;i<t;i++){var d=be(n[f]-n[i])*r[i];s[f][i]=d*o[f]}else for(i=0;i<t;i++){var h=15+Math.min(21/n[i],12),p=ve(h);for(f=0;f<t;f++){d=p*ge(n[f]-n[i],h)*r[i];s[f][i]=d*o[f]}}for(f=0;f<t;f++){for(i=0;i<t;i++)if(s[f][i]>0)break;for(e[f][0]=i,i=t-1;i>0;i--)if(s[f][i]>0)break;e[f][1]=i,c+=e[f][1]-e[f][0]+1}var _=l(c),g=0;for(f=0;f<t;f++)for(i=e[f][0];i<=e[f][1];i++)_[g++]=s[f][i];return _}function ke(e){var t=ye(e);return t=Math.min(t,15.5)/15.5,Math.pow(10,1.25*(1-Math.cos(Math.PI*t))-2.5)}function Se(e,t){e<-.3&&(e=3410),e/=1e3,e=Math.max(.1,e);var n=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);return n}this.L3psycho_anal_vbr=function(e,t,n,r,o,a,i,s,c,d){var h,p,_=e.internal_flags,g=l(m.HBLKSIZE),v=u([3,m.HBLKSIZE_s]),b=u([2,m.BLKSIZE]),k=u([2,3,m.BLKSIZE_s]),S=u([4,m.CBANDS]),M=u([4,m.CBANDS]),A=u([4,3]),R=.6,E=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],T=f(2),O=e.mode==MPEGMode.JOINT_STEREO?4:_.channels_out;ce(e,t,n,r,o,a,c,A,E,T),me(e,T);for(var B=0;B<O;B++){var I=1&B;h=b,oe(e,t,n,B,r,g,h,I),ie(e,r,B,g),0!=T[I]?he(_,g,S[B],M[B],B):ue(_,B)}T[0]+T[1]==2&&e.mode==MPEGMode.JOINT_STEREO&&_e(S,M,_.mld_cb_l,_.ATH.cb_l,e.ATHlower*_.ATH.adjust,e.msfix,_.npart_l);for(B=0;B<O;B++){I=1&B;0!=T[I]&&X(_,S[B],M[B],B)}for(var L=0;L<3;L++){for(B=0;B<O;++B){I=1&B;0!=T[I]?le(_,B,L):(p=k,ae(e,t,n,B,L,v,p,I),de(e,v,S[B],M[B],B,L))}T[0]+T[1]==0&&e.mode==MPEGMode.JOINT_STEREO&&_e(S,M,_.mld_cb_s,_.ATH.cb_s,e.ATHlower*_.ATH.adjust,e.msfix,_.npart_s);for(B=0;B<O;++B){I=1&B;0==T[I]&&Y(_,S[B],M[B],B,L)}}for(B=0;B<O;B++){I=1&B;if(0==T[I])for(var P=0;P<m.SBMAX_s;P++){var j=l(3);for(L=0;L<3;L++){var C=_.thm[B].s[P][L];if(C*=y,E[B][L]>=2||1==E[B][L+1]){var N=0!=L?L-1:2,H=Z(_.thm[B].s[P][N],C,w*R);C=Math.min(C,H)}else if(1==E[B][L]){N=0!=L?L-1:2,H=Z(_.thm[B].s[P][N],C,x*R);C=Math.min(C,H)}else if(0!=L&&3==E[B][L-1]||0==L&&3==_.nsPsy.lastAttacks[B]){N=2!=L?L+1:0,H=Z(_.thm[B].s[P][N],C,x*R);C=Math.min(C,H)}C*=A[B][L],j[L]=C}for(L=0;L<3;L++)_.thm[B].s[P][L]=j[L]}}for(B=0;B<O;B++)_.nsPsy.lastAttacks[B]=E[B][2];pe(e,T,d);for(B=0;B<O;B++){var D,F,U,V;B>1?(D=s,F=-2,U=m.NORM_TYPE,d[0]!=m.SHORT_TYPE&&d[1]!=m.SHORT_TYPE||(U=m.SHORT_TYPE),V=a[r][B-2]):(D=i,F=0,U=d[B],V=o[r][B]),U==m.SHORT_TYPE?D[F+B]=Q(V,_.masking_lower):D[F+B]=ee(V,_.masking_lower),e.analysis&&(_.pinfo.pe[r][B]=D[F+B])}return 0},this.psymodel_init=function(n){var r,i=n.internal_flags,s=!0,c=13,u=24,f=0,h=0,p=-8.25,_=-4.5,g=l(m.CBANDS),v=l(m.CBANDS),y=l(m.CBANDS),w=n.out_samplerate;switch(n.experimentalZ){default:case 0:s=!0;break;case 1:s=n.VBR!=o.vbr_mtrh&&n.VBR!=o.vbr_mt;break;case 2:s=!1;break;case 3:c=8,f=-1.75,h=-.0125,p=-8.25,_=-2.25;break}for(i.ms_ener_ratio_old=.25,i.blocktype_old[0]=i.blocktype_old[1]=m.NORM_TYPE,r=0;r<4;++r){for(var x=0;x<m.CBANDS;++x)i.nb_1[r][x]=1e20,i.nb_2[r][x]=1e20,i.nb_s1[r][x]=i.nb_s2[r][x]=1;for(var S=0;S<m.SBMAX_l;S++)i.en[r].l[S]=1e20,i.thm[r].l[S]=1e20;for(x=0;x<3;++x){for(S=0;S<m.SBMAX_s;S++)i.en[r].s[S][x]=1e20,i.thm[r].s[S][x]=1e20;i.nsPsy.lastAttacks[r]=0}for(x=0;x<9;x++)i.nsPsy.last_en_subshort[r][x]=10}for(i.loudness_sq_save[0]=i.loudness_sq_save[1]=0,i.npart_l=we(i.numlines_l,i.bo_l,i.bm_l,g,v,i.mld_l,i.PSY.bo_l_weight,w,m.BLKSIZE,i.scalefac_band.l,m.BLKSIZE/1152,m.SBMAX_l),d(i.npart_l<m.CBANDS),r=0;r<i.npart_l;r++){var M=f;g[r]>=c&&(M=h*(g[r]-c)/(u-c)+f*(u-g[r])/(u-c)),y[r]=Math.pow(10,M/10),i.numlines_l[r]>0?i.rnumlines_l[r]=1/i.numlines_l[r]:i.rnumlines_l[r]=0}i.s3_ll=xe(i.s3ind,i.npart_l,g,v,y,s);var A;x=0;for(r=0;r<i.npart_l;r++){T=a.MAX_VALUE;for(var R=0;R<i.numlines_l[r];R++,x++){var E=w*x/(1e3*m.BLKSIZE);O=this.ATHformula(1e3*E,n)-20,O=Math.pow(10,.1*O),O*=i.numlines_l[r],T>O&&(T=O)}i.ATH.cb_l[r]=T,T=20*g[r]/10-20,T>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=we(i.numlines_s,i.bo_s,i.bm_s,g,v,i.mld_s,i.PSY.bo_s_weight,w,m.BLKSIZE_s,i.scalefac_band.s,m.BLKSIZE_s/384,m.SBMAX_s),d(i.npart_s<m.CBANDS),x=0,r=0;r<i.npart_s;r++){var T;M=p;g[r]>=c&&(M=_*(g[r]-c)/(u-c)+p*(u-g[r])/(u-c)),y[r]=Math.pow(10,M/10),T=a.MAX_VALUE;for(R=0;R<i.numlines_s[r];R++,x++){var O;E=w*x/(1e3*m.BLKSIZE_s);O=this.ATHformula(1e3*E,n)-20,O=Math.pow(10,.1*O),O*=i.numlines_s[r],T>O&&(T=O)}i.ATH.cb_s[r]=T,T=7*g[r]/12-7,g[r]>12&&(T*=1+3.1*Math.log(1+T)),g[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=xe(i.s3ind_s,i.npart_s,g,v,y,s),C(),e.init_fft(i),i.decay=Math.exp(-1*t/(b*w/192)),A=k,0!=(2&n.exp_nspsytune)&&(A=1),Math.abs(n.msfix)>0&&(A=n.msfix),n.msfix=A;for(var B=0;B<i.npart_l;B++)i.s3ind[B][1]>i.npart_l-1&&(i.s3ind[B][1]=i.npart_l-1);var I=576*i.mode_gr/w;if(i.ATH.decay=Math.pow(10,-1.2*I),i.ATH.adjust=.01,i.ATH.adjustLimit=1,d(i.bo_l[m.SBMAX_l-1]<=i.npart_l),d(i.bo_s[m.SBMAX_s-1]<=i.npart_s),-1!=n.ATHtype){var L=n.out_samplerate/m.BLKSIZE,P=0;for(E=0,r=0;r<m.BLKSIZE/2;++r)E+=L,i.ATH.eql_w[r]=1/Math.pow(10,this.ATHformula(E,n)/10),P+=i.ATH.eql_w[r];for(P=1/P,r=m.BLKSIZE/2;--r>=0;)i.ATH.eql_w[r]*=P}for(B=x=0;B<i.npart_s;++B)for(r=0;r<i.numlines_s[B];++r)++x;d(129==x);for(B=x=0;B<i.npart_l;++B)for(r=0;r<i.numlines_l[B];++r)++x;for(d(513==x),x=0,r=0;r<i.npart_l;r++){E=w*(x+i.numlines_l[r]/2)/(1*m.BLKSIZE);i.mld_cb_l[r]=ke(E),x+=i.numlines_l[r]}for(;r<m.CBANDS;++r)i.mld_cb_l[r]=1;for(x=0,r=0;r<i.npart_s;r++){E=w*(x+i.numlines_s[r]/2)/(1*m.BLKSIZE_s);i.mld_cb_s[r]=ke(E),x+=i.numlines_s[r]}for(;r<m.CBANDS;++r)i.mld_cb_s[r]=1;return 0},this.ATHformula=function(e,t){var n;switch(t.ATHtype){case 0:n=Se(e,9);break;case 1:n=Se(e,-1);break;case 2:n=Se(e,0);break;case 3:n=Se(e,1)+6;break;case 4:n=Se(e,t.ATHcurve);break;default:n=Se(e,0);break}return n}}e.exports=p},2532:function(e,t,n){"use strict";var r=n("23e7"),o=n("e330"),a=n("5a34"),i=n("1d80"),s=n("577e"),c=n("ab13"),l=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~l(s(i(this)),s(a(e)),arguments.length>1?arguments[1]:void 0)}})},"254c":function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.create(e.prototype);for(var o in n)r[o]=n[o];return r.constructor=t,t.prototype=r,t}t.__esModule=!0,t.inherits=r},"25a1":function(e,t,n){"use strict";var r=n("ebb5"),o=n("d58f").right,a=r.aTypedArray,i=r.exportTypedArrayMethod;i("reduceRight",(function(e){var t=arguments.length;return o(a(this),e,t,t>1?arguments[1]:void 0)}))},"25f0":function(e,t,n){"use strict";var r=n("e330"),o=n("5e77").PROPER,a=n("6eeb"),i=n("825a"),s=n("3a9b"),c=n("577e"),l=n("d039"),u=n("ad6d"),f="toString",d=RegExp.prototype,h=d[f],m=r(u),p=l((function(){return"/a/b"!=h.call({source:"a",flags:"b"})})),_=o&&h.name!=f;(p||_)&&a(RegExp.prototype,f,(function(){var e=i(this),t=c(e.source),n=e.flags,r=c(void 0===n&&s(d,e)&&!("flags"in d)?m(e):n);return"/"+t+"/"+r}),{unsafe:!0})},2626:function(e,t,n){"use strict";var r=n("d066"),o=n("9bf2"),a=n("b622"),i=n("83ab"),s=a("species");e.exports=function(e){var t=r(e),n=o.f;i&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},2695:function(e,t,n){var r=n("0206"),o=(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),a=(r.new_int_n,r.assert,n("f3b5"));function i(){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=[o(4),o(4)];for(var e=0;e<2;e++)for(var t=0;t<2;t++)this.tt[e][t]=new a}e.exports=i},"277d":function(e,t,n){var r=n("23e7"),o=n("e8b5");r({target:"Array",stat:!0},{isArray:o})},2954:function(e,t,n){"use strict";var r=n("ebb5"),o=n("b6b7"),a=n("d039"),i=n("f36a"),s=r.aTypedArray,c=r.exportTypedArrayMethod,l=a((function(){new Int8Array(1).slice()}));c("slice",(function(e,t){var n=i(s(this),e,t),r=o(this),a=0,c=n.length,l=new r(c);while(c>a)l[a]=n[a++];return l}),l)},"2a62":function(e,t,n){var r=n("c65b"),o=n("825a"),a=n("dc4a");e.exports=function(e,t,n){var i,s;o(e);try{if(i=a(e,"return"),!i){if("throw"===t)throw n;return n}i=r(i,e)}catch(c){s=!0,i=c}if("throw"===t)throw n;if(s)throw i;return o(i),n}},"2b3d":function(e,t,n){"use strict";n("3ca3");var r,o=n("23e7"),a=n("83ab"),i=n("0d3b"),s=n("da84"),c=n("0366"),l=n("e330"),u=n("37e8"),f=n("6eeb"),d=n("19aa"),h=n("1a2d"),m=n("60da"),p=n("4df4"),_=n("4dae"),g=n("6547").codeAt,v=n("5fb2"),b=n("577e"),y=n("d44e"),w=n("9861"),x=n("69f3"),k=x.set,S=x.getterFor("URL"),M=w.URLSearchParams,A=w.getState,R=s.URL,E=s.TypeError,T=s.parseInt,O=Math.floor,B=Math.pow,I=l("".charAt),L=l(/./.exec),P=l([].join),j=l(1..toString),C=l([].pop),N=l([].push),H=l("".replace),D=l([].shift),F=l("".split),U=l("".slice),V=l("".toLowerCase),q=l([].unshift),$="Invalid authority",z="Invalid scheme",Y="Invalid host",X="Invalid port",G=/[a-z]/i,K=/[\d+-.a-z]/i,Z=/\d/,W=/^0x/i,Q=/^[0-7]+$/,J=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,oe=/[\t\n\r]/g,ae=function(e){var t,n,r,o,a,i,s,c=F(e,".");if(c.length&&""==c[c.length-1]&&c.length--,t=c.length,t>4)return e;for(n=[],r=0;r<t;r++){if(o=c[r],""==o)return e;if(a=10,o.length>1&&"0"==I(o,0)&&(a=L(W,o)?16:8,o=U(o,8==a?1:2)),""===o)i=0;else{if(!L(10==a?J:8==a?Q:ee,o))return e;i=T(o,a)}N(n,i)}for(r=0;r<t;r++)if(i=n[r],r==t-1){if(i>=B(256,5-t))return null}else if(i>255)return null;for(s=C(n),r=0;r<n.length;r++)s+=n[r]*B(256,3-r);return s},ie=function(e){var t,n,r,o,a,i,s,c=[0,0,0,0,0,0,0,0],l=0,u=null,f=0,d=function(){return I(e,f)};if(":"==d()){if(":"!=I(e,1))return;f+=2,l++,u=l}while(d()){if(8==l)return;if(":"!=d()){t=n=0;while(n<4&&L(ee,d()))t=16*t+T(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,l>6)return;r=0;while(d()){if(o=null,r>0){if(!("."==d()&&r<4))return;f++}if(!L(Z,d()))return;while(L(Z,d())){if(a=T(d(),10),null===o)o=a;else{if(0==o)return;o=10*o+a}if(o>255)return;f++}c[l]=256*c[l]+o,r++,2!=r&&4!=r||l++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;c[l++]=t}else{if(null!==u)return;f++,l++,u=l}}if(null!==u){i=l-u,l=7;while(0!=l&&i>0)s=c[l],c[l--]=c[u+i-1],c[u+--i]=s}else if(8!=l)return;return c},se=function(e){for(var t=null,n=1,r=null,o=0,a=0;a<8;a++)0!==e[a]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=a),++o);return o>n&&(t=r,n=o),t},ce=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)q(t,e%256),e=O(e/256);return P(t,".")}if("object"==typeof e){for(t="",r=se(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=j(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},le={},ue=m({},le,{" ":1,'"':1,"<":1,">":1,"`":1}),fe=m({},ue,{"#":1,"?":1,"{":1,"}":1}),de=m({},fe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),he=function(e,t){var n=g(e,0);return n>32&&n<127&&!h(t,e)?e:encodeURIComponent(e)},me={ftp:21,file:null,http:80,https:443,ws:80,wss:443},pe=function(e,t){var n;return 2==e.length&&L(G,I(e,0))&&(":"==(n=I(e,1))||!t&&"|"==n)},_e=function(e){var t;return e.length>1&&pe(U(e,0,2))&&(2==e.length||"/"===(t=I(e,2))||"\\"===t||"?"===t||"#"===t)},ge=function(e){return"."===e||"%2e"===V(e)},ve=function(e){return e=V(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},be={},ye={},we={},xe={},ke={},Se={},Me={},Ae={},Re={},Ee={},Te={},Oe={},Be={},Ie={},Le={},Pe={},je={},Ce={},Ne={},He={},De={},Fe=function(e,t,n){var r,o,a,i=b(e);if(t){if(o=this.parse(i),o)throw E(o);this.searchParams=null}else{if(void 0!==n&&(r=new Fe(n,!0)),o=this.parse(i,null,r),o)throw E(o);a=A(new M),a.bindURL(this),this.searchParams=a}};Fe.prototype={type:"URL",parse:function(e,t,n){var o,a,i,s,c=this,l=t||be,u=0,f="",d=!1,m=!1,g=!1;e=b(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=H(e,re,"")),e=H(e,oe,""),o=p(e);while(u<=o.length){switch(a=o[u],l){case be:if(!a||!L(G,a)){if(t)return z;l=we;continue}f+=V(a),l=ye;break;case ye:if(a&&(L(K,a)||"+"==a||"-"==a||"."==a))f+=V(a);else{if(":"!=a){if(t)return z;f="",l=we,u=0;continue}if(t&&(c.isSpecial()!=h(me,f)||"file"==f&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=f,t)return void(c.isSpecial()&&me[c.scheme]==c.port&&(c.port=null));f="","file"==c.scheme?l=Ie:c.isSpecial()&&n&&n.scheme==c.scheme?l=xe:c.isSpecial()?l=Ae:"/"==o[u+1]?(l=ke,u++):(c.cannotBeABaseURL=!0,N(c.path,""),l=Ne)}break;case we:if(!n||n.cannotBeABaseURL&&"#"!=a)return z;if(n.cannotBeABaseURL&&"#"==a){c.scheme=n.scheme,c.path=_(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,l=De;break}l="file"==n.scheme?Ie:Se;continue