PageSourceSearch

https://voicereplay.ai/_next/static/chunks/dbdcd524-9a8b13cc0428db7a.js

js voicereplay.ai collected 2026-10-05 13:14:56 UTC 165,028 bytes, 14 lines download raw bytes

1try{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},_=(new t.Error).stack;_&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[_]="defa9fbe-fa0d-4575-82f7-097f68b2a63f",t._sentryDebugIdIdentifier="sentry-dbid-defa9fbe-fa0d-4575-82f7-097f68b2a63f")}catch(t){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8281],{8222:function(t,_,o){o.d(_,{ZP:function(){return F}});var c,h,u,b,v,A,M,w,y,k,x,N,O,j,F={};function ba(t){return new Int32Array(t)}function ca(t){return new Float32Array(t)}var C={};C.fill=function(t,_,o,c){if(2==arguments.length)for(var h=0;h<t.length;h++)t[h]=arguments[1];else for(var h=_;h<o;h++)t[h]=c};var G={};G.arraycopy=function(t,_,o,c,h){for(var u=_+h;_<u;)o[c++]=t[_++]},G.out={},G.out.println=function(t){console.log(t)},G.out.printf=function(){console.log.apply(console,arguments)};var W={};function B1(t){this.ordinal=t}W.SQRT2=1.4142135623730951,W.FAST_LOG10=function(t){return Math.log10(t)},W.FAST_LOG10_X=function(t,_){return Math.log10(t)*_},B1.short_block_allowed=new B1(0),B1.short_block_coupled=new B1(1),B1.short_block_dispensed=new B1(2),B1.short_block_forced=new B1(3);var J={};function u1(t){this.ordinal=t}J.MAX_VALUE=34028235e31,u1.vbr_off=new u1(0),u1.vbr_mt=new u1(1),u1.vbr_rh=new u1(2),u1.vbr_abr=new u1(3),u1.vbr_mtrh=new u1(4),u1.vbr_default=u1.vbr_mtrh;var $,ee,ea={System:G,VbrMode:u1,Float:J,ShortBlock:B1,Util:W,Arrays:C,new_array_n:function Ra(t){if(1==t.length)return Array(t[0]);var _=t[0];t=t.slice(1);for(var o=[],c=0;c<_;c++)o.push(Ra(t));return o},new_byte:function(t){return new Int8Array(t)},new_double:function(t){return new Float64Array(t)},new_float:ca,new_float_n:function Sa(t){if(1==t.length)return ca(t[0]);var _=t[0];t=t.slice(1);for(var o=[],c=0;c<_;c++)o.push(Sa(t));return o},new_int:ba,new_int_n:function da(t){if(1==t.length)return ba(t[0]);var _=t[0];t=t.slice(1);for(var o=[],c=0;c<_;c++)o.push(da(t));return o},new_short_n:function Aa(t){if(1==t.length){var _;return _=t[0],new Int16Array(_)}var o=t[0];t=t.slice(1);for(var c=[],h=0;h<o;h++)c.push(Aa(t));return c},assert:function(t){}};function Ea(){if(h)return c;h=1;var t=t1(),_=ea.System,o=ea.new_float,u=ea.new_float_n;return c=function(){this.l=o(t.SBMAX_l),this.s=u([t.SBMAX_s,3]);var c=this;this.assign=function(o){_.arraycopy(o.l,0,c.l,0,t.SBMAX_l);for(var h=0;h<t.SBMAX_s;h++)for(var u=0;u<3;u++)c.s[h][u]=o.s[h][u]}}}function R1(t){this.ordinal=function(){return t}}function t1(){if(A)return v;A=1;var t=ea.System,_=ea.VbrMode,o=ea.new_array_n,c=ea.new_float,h=ea.new_float_n,M=ea.new_int,w=ea.assert;function g(){var v=function(){if(ee)return $;ee=1;var t=ea.System,_=ea.Util,o=ea.Arrays,c=ea.new_float,h=t1();return $=function(){var u=[-.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,
vendor: 6,124 bytes, line 1
1-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*_.SQRT2*.5/2384e-9,.017876148*_.SQRT2*.5/2384e-9,.003134727*_.SQRT2*.5/2384e-9,.002457142*_.SQRT2*.5/2384e-9,971317e-9*_.SQRT2*.5/2384e-9,218868e-9*_.SQRT2*.5/2384e-9,101566e-9*_.SQRT2*.5/2384e-9,13828e-9*_.SQRT2*.5/2384e-9,12804.797818791945,1945.5515939597317,313.4244966442953,20.801593959731544,1995.1556208053692,9.000838926174497,-29.20218120805369],b=[[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,-.000000000005456116108943412,-.000000000004878985199565852,-.000000000004240448995017367,-.000000000003559909094758252,-.000000000002858043359288076,-.000000000002156177623817898,-.000000000001475637723558783,-.0000000000008371015190102975,-.0000000000002599706096327376,-.0000000000002382191739347923,-.0000000000006423305872147843,-.0000000000009400849094049696,-.000000000001122435026096556,-.000000000001183840321267481,-.000000000001122435026096556,-.0000000000009400849094049694,-.000000000000642330587214784,-.0000000000002382191739347918],[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,-.000000000005461314069809755,-.000000000004921085770524055,-.000000000004343405037091838,-.000000000003732668368707687,-.000000000003093523840190885,-.000000000002430835727329465,-.000000000001734679010007751,-.000000000000974825365660928,-.0000000000002797435120168326,0,0,0,0,0,0,-.0000000000002283748241799531,-.0000000000004037858874020686,-.0000000000002146547464825323],[.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,.99551
178160675857,.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,-.000000000005456116108943413,-.000000000004878985199565852,-.000000000004240448995017367,-.000000000003559909094758253,-.000000000002858043359288075,-.000000000002156177623817898,-.000000000001475637723558782,-.0000000000008371015190102975,-.0000000000002599706096327376,-.0000000000002382191739347913,-.0000000000006423305872147834,-.0000000000009400849094049688,-.000000000001122435026096556,-.000000000001183840321267481,-.000000000001122435026096556,-.0000000000009400849094049688,-.0000000000006423305872147841,-.0000000000002382191739347918]],v=b[h.SHORT_TYPE],A=b[h.SHORT_TYPE],M=b[h.SHORT_TYPE],w=b[h.SHORT_TYPE],y=[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 U(t,o,c){for(var h,b,v,A,M,w,y=10,k=o+238-14-286,x=-15;x<0;x++)h=u[y+-10],b=t[k+-224]*h,v=t[o+224]*h,h=u[y+-9],b+=t[k+-160]*h,v+=t[o+160]*h,h=u[y+-8],b+=t[k+-96]*h,v+=t[o+96]*h,h=u[y+-7],b+=t[k+-32]*h,v+=t[o+32]*h,h=u[y+-6],b+=t[k+32]*h,v+=t[o+-32]*h,h=u[y+-5],b+=t[k+96]*h,v+=t[o+-96]*h,h=u[y+-4],b+=t[k+160]*h,v+=t[o+-160]*h,h=u[y+-3],b+=t[k+224]*h,v+=t[o+-224]*h,h=u[y+-2],b+=t[o+-256]*h,v-=t[k+256]*h,h=u[y+-1],b+=t[o+-192]*h,v-=t[k+192]*h,h=u[y+0],b+=t[o+-128]*h,v-=t[k+128]*h,h=u[y+1],b+=t[o+-64]*h,v-=t[k+64]*h,h=u[y+2],b+=t[o+0]*h,v-=t[k+0]*h,h=u[y+3],b+=t[o+64]*h,v-=t[k+-64]*h,h=u[y+4],b+=t[o+128]*h,v-=t[k+-128]*h,h=u[y+5],b+=t[o+192]*h,v-=t[k+-192]*h,b*=u[y+6],h=v-b,c[30+2*x]=v+b,c[31+2*x]=u[y+7]*h,y+=18,o--,k++;v=t[o+-16]*u[y+-10],b=t[o+-32]*u[y+-2],v+=(t[o+-48]-t[o+16])*u[y+-9],b+=t[o+-96]*u[y+-1],v+=(t[o+-80]+t[o+48])*u[y+-8],b+=t[o+-160]*u[y+0],v+=(t[o+-112]-t[o+80])*u[y+-7],b+=t[o+-224]*u[y+1],v+=(t[o+-144]+t[o+112])*u[y+-6],b-=t[o+32]*u[y+2],v+=(t[o+-176]-t[o+144])*u[y+-5],b-=t[o+96]*u[y+3],v+=(t[o+-208]+t[o+176])*u[y+-4],b-=t[o+160]*u[y+4],v+=(t[o+-240]-t[o+208])*u[y+-3],b-=t[o+224],A=b-v,M=b+v,v=c[14],b=c[15]-v,c[31]=M+v,c[30]=A+b,c[15]=A-b,c[14]=M-v,w=c[28]-c[0],c[0]+=c[28],c[28]=w*u[y+-36+7],w=c[29]-c[1],c[1]+=c[29],c[29]=w*u[y+-36+7],w=c[26]-c[2],c[2]+=c[26],c[26]=w*u[y+-72+7],w=c[27]-c[3],c[3]+=c[27],c[27]=w*u[y+-72+7],w=c[24]-c[4],c[4]+=c[24],c[24]=w*u[y+-108+7],w=c[25]-c[5],c[5]+=c[25],c[25]=w*u[y+-108+7],w=c[22]-c[6],c[6]+=c[22],c[22]=w*_.SQRT2,w=c[23]-c[7],c[7]+=c[23],c[23]=w*_.SQRT2-c[7],c[7]-=c[6],c[22]-=c[7],c[23]-=c[22],w=c[6],c[6]=c[31]-w,c[31]=c[31]+w,w=c[7],c[7]=c[30]-w,c[30]=c[30]+w,w=c[22],c[22]=c[15]-w,c[15]=c[15]+w,w=c[23],c[23]=c[14]-w,c[14]=c[14]+w,w=c[20]-c[8],c[8]+=c[20],c[20]=w*u[y+-180+7],w=c[21]-c[9],c[9]+=c[21],c[21]=w*u[y+-180+7],w=c[18]-c[10],c[10]+=c[18],c[18]=w*u[y+-216+7],w=c[19]-c[11],c[11]+=c[19],c[19]=w*u[y+-216+7],w=c[16]-c[12],c[12]+=c[16],c[16]=w*u[y+-252+7],w=c[17]-c[13],c[13]+=c[17],c[17]=w*u[y+-252+7],w=-c[20]+c[24],c[20]+=c[24],c[24]=w*u[y+-216+7],w=-c[21]+c[25],c[21]+=c[25],c[25]=w*u[y+-216+7],w=c[4]-c[8],c[4]+=c[8],c[8]=w*u[y+-216+7],w=c[5]-c[9],c[5]+=c[9],c[9]=w*u[y+-216+7],w=c[0]-c[12],c[0]+=c[12],c[12]=w*u[y+-72+7],w=c[1]-c[13],c[1]+=c[13],c[13]=w*u[y+-72+7],w=c[16]-c[28],c[16]+=c[28],c[28]=w*u[y+-72+7],w=-c[17]+c[29],c[17]+=c[29],c[29]=w*u[y+-72+7],w=_.SQRT2*(c[2]-c[10]),c[2]+=c[10],c[10]=w,w=_.SQRT2*(c[3]-c[11]),c[3]+=c[11],c[11]=w,w=_.SQRT2*(-c[18]+c[26]),c[18]+=c[26],c[26]=w-c[18],w=_.SQRT2*(-c[19]+c[27]),c[19]+=c[27],c[27]=w-c[19],w=c[2],c[19]-=c[3],c[3]-=w,c[2]=c[31]-w,c[31]+=w,w=c[3],c[11]-=c[19],c[18]-=w,c[3]=c[30]-w,c[30]+=w,w=c[18],c[27]-=c[11],c[19]-=w,c[18]=c[15]-w,c[15]+=w,w=c[19],c[10]-=w,c[19]=c[14]-w,c[14]+=w,w=c[10],c[11]-=w,c[10]=c[23]-w,c[23]+=w,w=c[11],c[26]-=w,c[11]=c[22]-w,c[22]+=w,w=c[26],c[27]-=w,c[26]=c[7]-w,c[7]+=w,w=c[27],c[27]=c[6]-w,c[6]+=w,w=_.SQRT2*(c[0]-c[4]),c[0]+=c[4],c[4]=w,w=_.SQRT2*(c[1]-c[5]),c[1]+=c[5],c[5]=w,w=_.SQRT2*(c[16]-c[20]),c[16]+=c[20],c[20]=w,w=_.SQRT2*(c[17]-c[21]),c[17]+=c[21],c[21]=w,w=-_.
1SQRT2*(c[8]-c[12]),c[8]+=c[12],c[12]=w-c[8],w=-_.SQRT2*(c[9]-c[13]),c[9]+=c[13],c[13]=w-c[9],w=-_.SQRT2*(c[25]-c[29]),c[25]+=c[29],c[29]=w-c[25],w=-_.SQRT2*(c[24]+c[28]),c[24]-=c[28],c[28]=w-c[24],w=c[24]-c[16],c[24]=w,w=c[20]-w,c[20]=w,w=c[28]-w,c[28]=w,w=c[25]-c[17],c[25]=w,w=c[21]-w,c[21]=w,w=c[29]-w,c[29]=w,w=c[17]-c[1],c[17]=w,w=c[9]-w,c[9]=w,w=c[25]-w,c[25]=w,w=c[5]-w,c[5]=w,w=c[21]-w,c[21]=w,w=c[13]-w,c[13]=w,w=c[29]-w,c[29]=w,w=c[1]-c[0],c[1]=w,w=c[16]-w,c[16]=w,w=c[17]-w,c[17]=w,w=c[8]-w,c[8]=w,w=c[9]-w,c[9]=w,w=c[24]-w,c[24]=w,w=c[25]-w,c[25]=w,w=c[4]-w,c[4]=w,w=c[5]-w,c[5]=w,w=c[20]-w,c[20]=w,w=c[21]-w,c[21]=w,w=c[12]-w,c[12]=w,w=c[13]-w,c[13]=w,w=c[28]-w,c[28]=w,w=c[29]-w,c[29]=w,w=c[0],c[0]+=c[31],c[31]-=w,w=c[1],c[1]+=c[30],c[30]-=w,w=c[16],c[16]+=c[15],c[15]-=w,w=c[17],c[17]+=c[14],c[14]-=w,w=c[8],c[8]+=c[23],c[23]-=w,w=c[9],c[9]+=c[22],c[22]-=w,w=c[24],c[24]+=c[7],c[7]-=w,w=c[25],c[25]+=c[6],c[6]-=w,w=c[4],c[4]+=c[27],c[27]-=w,w=c[5],c[5]+=c[26],c[26]-=w,w=c[20],c[20]+=c[11],c[11]-=w,w=c[21],c[21]+=c[10],c[10]-=w,w=c[12],c[12]+=c[19],c[19]-=w,w=c[13],c[13]+=c[18],c[18]-=w,w=c[28],c[28]+=c[3],c[3]-=w,w=c[29],c[29]+=c[2],c[2]-=w}this.mdct_sub48=function(_,u,k){for(var x=u,N=286,O=0;O<_.channels_out;O++){for(var j=0;j<_.mode_gr;j++){for(var F,C=_.l3_side.tt[j][O],G=C.xr,W=0,J=_.sb_sample[O][1-j],$=0,ee=0;ee<9;ee++)for(U(x,N,J[$]),U(x,N+32,J[$+1]),$+=2,N+=64,F=1;F<32;F+=2)J[$-1][F]*=-1;for(F=0;F<32;F++,W+=18){var ea,et,es=C.block_type,en=_.sb_sample[O][j],er=_.sb_sample[O][1-j];if(0!=C.mixed_block_flag&&F<2&&(es=0),_.amp_filter[F]<1e-12)o.fill(G,W+0,W+18,0);else{if(_.amp_filter[F]<1)for(var ee=0;ee<18;ee++)er[ee][y[F]]*=_.amp_filter[F];if(es==h.SHORT_TYPE){for(var ee=-3;ee<0;ee++){var e_=b[h.SHORT_TYPE][ee+3];G[W+3*ee+9]=en[9+ee][y[F]]*e_-en[8-ee][y[F]],G[W+3*ee+18]=en[14-ee][y[F]]*e_+en[15+ee][y[F]],G[W+3*ee+10]=en[15+ee][y[F]]*e_-en[14-ee][y[F]],G[W+3*ee+19]=er[2-ee][y[F]]*e_+er[3+ee][y[F]],G[W+3*ee+11]=er[3+ee][y[F]]*e_-er[2-ee][y[F]],G[W+3*ee+20]=er[8-ee][y[F]]*e_+er[9+ee][y[F]]}!function(t,_){for(var o,c,u,v,A,M,w=0;w<3;w++)c=(v=t[_+6]*b[h.SHORT_TYPE][0]-t[_+15])+(o=t[_+0]*b[h.SHORT_TYPE][2]-t[_+9]),u=v-o,A=(v=t[_+15]*b[h.SHORT_TYPE][0]+t[_+6])+(o=t[_+9]*b[h.SHORT_TYPE][2]+t[_+0]),M=-v+o,o=(t[_+3]*b[h.SHORT_TYPE][1]-t[_+12])*2069978111953089e-26,v=(t[_+12]*b[h.SHORT_TYPE][1]+t[_+3])*2069978111953089e-26,t[_+0]=190752519173728e-25*c+o,t[_+15]=-(190752519173728e-25*A)+v,u*=16519652744032674e-27,A=.5*A*1907525191737281e-26+v,t[_+3]=u-A,t[_+6]=u+A,c=.5*c*1907525191737281e-26-o,M*=16519652744032674e-27,t[_+9]=c+M,t[_+12]=c-M,_++}(G,W)}else{for(var ei,eo,el=c(18),ee=-9;ee<0;ee++)ei=b[es][ee+27]*er[ee+9][y[F]]+b[es][ee+36]*er[8-ee][y[F]],eo=b[es][ee+9]*en[ee+9][y[F]]-b[es][ee+18]*en[8-ee][y[F]],el[ee+9]=ei-eo*v[3+ee+9],el[ee+18]=ei*v[3+ee+9]+eo;!function(t,_,o){var c,h,u,b,v,M,w,y,k,x,N,O,j,F,C,G,W,J;u=o[17]-o[9],v=o[15]-o[11],M=o[14]-o[12],w=o[0]+o[8],y=o[1]+o[7],k=o[2]+o[6],x=o[3]+o[5],t[_+17]=w+k-x-(y-o[4]),h=(w+k-x)*A[19]+(y-o[4]),c=(u-v-M)*A[18],t[_+5]=c+h,t[_+6]=c-h,b=(o[16]-o[10])*A[18],y=y*A[19]+o[4],c=u*A[12]+b+v*A[13]+M*A[14],h=-w*A[16]+y-k*A[17]+x*A[15],t[_+1]=c+h,t[_+2]=c-h,c=u*A[13]-b-v*A[14]+M*A[12],h=-w*A[17]+y-k*A[15]+x*A[16],t[_+9]=c+h,t[_+10]=c-h,c=u*A[14]-b+v*A[12]-M*A[13],h=w*A[15]-y+k*A[16]-x*A[17],t[_+13]=c+h,t[_+14]=c-h,N=o[8]-o[0],j=o[6]-o[2],F=o[5]-o[3],C=o[17]+o[9],G=o[16]+o[10],W=o[15]+o[11],J=o[14]+o[12],t[_+0]=C+W+J+(G+o[13]),c=(C+W+J)*A[19]-(G+o[13]),h=(N-j+F)*A[18],t[_+11]=c+h,t[_+12]=c-h,O=(o[7]-o[1])*A[18],G=o[13]-G*A[19],c=C*A[15]-G+W*A[16]+J*A[17],h=N*A[14]+O+j*A[12]+F*A[13],t[_+3]=c+h,t[_+4]=c-h,c=-C*A[17]+G-W*A[15]-J*A[16],h=N*A[13]+O-j*A[14]-F*A[12],t[_+7]=c+h,t[_+8]=c-h,c=-C*A[16]+G-W*A[17]-J*A[15],h=N*A[12]-O+j*A[13]-F*A[14],t[_+15]=c+h,t[_+16]=c-h}(G,W,el)}}if(es!=h.SHORT_TYPE&&0!=F)for(var ee=7;ee>=0;--ee)ea=G[W+ee]*M[20+ee]+G[W+-1-ee]*w[28+ee],et=G[W+ee]*w[28+ee]-G[W+-1-ee]*M[20+ee],G[W+-1-ee]=ea,G[W+ee]=et}}if(x=k,N=286,1==_.mode_gr)for(var ef=0;ef<18;ef++)t.arraycopy(_.sb_sample[O][1][ef],0,_.sb_sample[O][0][ef],0,32)}}}}(),A=function(){if(b)return u;b=1;var t=Ea();return u=function(){this.thm=new t,this.en=new t}}(),y=g.FFTOFFSET,k=g.MPG_MD_MS_LR,x=null;this.psy=null;var N=null,O=null,j=null;this.setModules=function(t,_,o,c){x=t,this.psy=_,N=_,O=c,j=o};var F=new v;this.lame_encode_mp3_frame=function(u,b,v,C,G,W){var J,$,ee,ea,et=o([2,2]);et[0][0]=new A,et[0][1]=new A,et[1][0]=new A,et[1][1]=new A;var es=o([2,2]);es[0][0]=new A,es[0][1]=new A,es[1][0]=new A,es[1][1]=new A;var en,er,e_,ei,eo=[null,null],el=u.internal_flags,ef=h([2,4]),ec=[.5,.5],eh=[[0,0],[0,0]],eu=[[0,0],[0,0]];if(eo[0]=b,eo[1]=v,0==el.lame_encode_frame_init&&function(t,_){var o,h,u=t.internal_flags;if(0==u.lame_encode_frame_init){var b,v,A=c(2014),M=c(2014);for(u.lame_encode_frame_init=1,b=0,v=0;b<286+576*(1+u.mode_gr);++b)b<576*u.mode_gr?(A[b]=0,2==u.channels_out&&(M[b]=0)):(A[b]=_[0][v],2==u.channels_out&&(M[b]=_[1][v]),++v);for(h=0;h<u.mode_gr;h++)for(o=0;o<u.channels_out;o++)u.l3_side.tt[h][o].block_type=g.SHORT_TYPE;F.mdct_sub48(u,A,M),w(576>=g.FFTOFFSET),w(u.mf_size>=g.BLKSIZE+t.framesize-g.FFTOFFSET),w(u.mf_size>=512+t.framesize-32)}}(u,eo),el.padding=0,(el.slot_lag-=el.frac_SpF)<0&&(el.slot_lag+=u.out_samplerate,el.padding=1),0!=el.psymodel){var eb=[null,
vendor: 3,377 bytes, line 1
1null],em=0,ep=M(2);for(ei=0;ei<el.mode_gr;ei++){for(e_=0;e_<el.channels_out;e_++)eb[e_]=eo[e_],em=576+576*ei-g.FFTOFFSET;if(0!=(u.VBR==_.vbr_mtrh||u.VBR==_.vbr_mt?N.L3psycho_anal_vbr(u,eb,em,ei,et,es,eh[ei],eu[ei],ef[ei],ep):N.L3psycho_anal_ns(u,eb,em,ei,et,es,eh[ei],eu[ei],ef[ei],ep)))return -4;for(u.mode==R1.JOINT_STEREO&&(ec[ei]=ef[ei][2]+ef[ei][3],ec[ei]>0&&(ec[ei]=ef[ei][3]/ec[ei])),e_=0;e_<el.channels_out;e_++){var ev=el.l3_side.tt[ei][e_];ev.block_type=ep[e_],ev.mixed_block_flag=0}}}else for(ei=0;ei<el.mode_gr;ei++)for(e_=0;e_<el.channels_out;e_++)el.l3_side.tt[ei][e_].block_type=g.NORM_TYPE,el.l3_side.tt[ei][e_].mixed_block_flag=0,eu[ei][e_]=eh[ei][e_]=700;if(function(t){var _,o;if(0==t.ATH.useAdjust){t.ATH.adjust=1;return}if(o=t.loudness_sq[0][0],_=t.loudness_sq[1][0],2==t.channels_out?(o+=t.loudness_sq[0][1],_+=t.loudness_sq[1][1]):(o+=o,_+=_),2==t.mode_gr&&(o=Math.max(o,_)),(o*=.5*t.ATH.aaSensitivityP)>.03125)t.ATH.adjust>=1?t.ATH.adjust=1:t.ATH.adjust<t.ATH.adjustLimit&&(t.ATH.adjust=t.ATH.adjustLimit),t.ATH.adjustLimit=1;else{var c=31.98*o+625e-6;t.ATH.adjust>=c?(t.ATH.adjust*=.075*c+.925,t.ATH.adjust<c&&(t.ATH.adjust=c)):t.ATH.adjustLimit>=c?t.ATH.adjust=c:t.ATH.adjust<t.ATH.adjustLimit&&(t.ATH.adjust=t.ATH.adjustLimit),t.ATH.adjustLimit=c}}(el),F.mdct_sub48(el,eo[0],eo[1]),el.mode_ext=g.MPG_MD_LR_LR,u.force_ms)el.mode_ext=g.MPG_MD_MS_LR;else if(u.mode==R1.JOINT_STEREO){var ed=0,eg=0;for(ei=0;ei<el.mode_gr;ei++)for(e_=0;e_<el.channels_out;e_++)ed+=eu[ei][e_],eg+=eh[ei][e_];if(ed<=1*eg){var eS=el.l3_side.tt[0],eR=el.l3_side.tt[el.mode_gr-1];eS[0].block_type==eS[1].block_type&&eR[0].block_type==eR[1].block_type&&(el.mode_ext=g.MPG_MD_MS_LR)}}if(el.mode_ext==k?(en=es,er=eu):(en=et,er=eh),u.analysis&&null!=el.pinfo)for(ei=0;ei<el.mode_gr;ei++)for(e_=0;e_<el.channels_out;e_++)el.pinfo.ms_ratio[ei]=el.ms_ratio[ei],el.pinfo.ms_ener_ratio[ei]=ec[ei],el.pinfo.blocktype[ei][e_]=el.l3_side.tt[ei][e_].block_type,el.pinfo.pe[ei][e_]=er[ei][e_],t.arraycopy(el.l3_side.tt[ei][e_].xr,0,el.pinfo.xr[ei][e_],0,576),el.mode_ext==k&&(el.pinfo.ers[ei][e_]=el.pinfo.ers[ei][e_+2],t.arraycopy(el.pinfo.energy[ei][e_+2],0,el.pinfo.energy[ei][e_],0,el.pinfo.energy[ei][e_].length));if(u.VBR==_.vbr_off||u.VBR==_.vbr_abr){for(J=0;J<18;J++)el.nsPsy.pefirbuf[J]=el.nsPsy.pefirbuf[J+1];for($=0,ei=0;ei<el.mode_gr;ei++)for(e_=0;e_<el.channels_out;e_++)$+=er[ei][e_];for(el.nsPsy.pefirbuf[18]=$,$=el.nsPsy.pefirbuf[9],J=0;J<9;J++)$+=(el.nsPsy.pefirbuf[J]+el.nsPsy.pefirbuf[18-J])*g.fircoef[J];for($=3350*el.mode_gr*el.channels_out/$,ei=0;ei<el.mode_gr;ei++)for(e_=0;e_<el.channels_out;e_++)er[ei][e_]*=$}if(el.iteration_loop.iteration_loop(u,er,ec,en),x.format_bitstream(u),ea=x.copy_buffer(el,C,G,W,1),u.bWriteVbrTag&&O.addVbrFrame(u),u.analysis&&null!=el.pinfo){for(e_=0;e_<el.channels_out;e_++){for(ee=0;ee<y;ee++)el.pinfo.pcmdata[e_][ee]=el.pinfo.pcmdata[e_][ee+u.framesize];for(ee=y;ee<1600;ee++)el.pinfo.pcmdata[e_][ee]=eo[e_][ee-y]}j.set_frame_pinfo(u,en)}return function(t){var _,o;for(w(0<=t.bitrate_index&&t.bitrate_index<16),w(0<=t.mode_ext&&t.mode_ext<4),t.bitrate_stereoMode_Hist[t.bitrate_index][4]++,t.bitrate_stereoMode_Hist[15][4]++,2==t.channels_out&&(t.bitrate_stereoMode_Hist[t.bitrate_index][t.mode_ext]++,t.bitrate_stereoMode_Hist[15][t.mode_ext]++),_=0;_<t.mode_gr;++_)for(o=0;o<t.channels_out;++o){var c=0|t.l3_side.tt[_][o].block_type;
10!=t.l3_side.tt[_][o].mixed_block_flag&&(c=4),t.bitrate_blockType_Hist[t.bitrate_index][c]++,t.bitrate_blockType_Hist[t.bitrate_index][5]++,t.bitrate_blockType_Hist[15][c]++,t.bitrate_blockType_Hist[15][5]++}}(el),ea}}return g.ENCDELAY=576,g.POSTDELAY=1152,g.MDCTDELAY=48,g.FFTOFFSET=224+g.MDCTDELAY,g.DECDELAY=528,g.SBLIMIT=32,g.CBANDS=64,g.SBPSY_l=21,g.SBPSY_s=12,g.SBMAX_l=22,g.SBMAX_s=13,g.PSFB21=6,g.PSFB12=6,g.BLKSIZE=1024,g.HBLKSIZE=g.BLKSIZE/2+1,g.BLKSIZE_s=256,g.HBLKSIZE_s=g.BLKSIZE_s/2+1,g.NORM_TYPE=0,g.START_TYPE=1,g.SHORT_TYPE=2,g.STOP_TYPE=3,g.MPG_MD_LR_LR=0,g.MPG_MD_LR_I=1,g.MPG_MD_MS_LR=2,g.MPG_MD_MS_I=3,g.fircoef=[-.1039435,-.1892065,-.0432472*5,-.155915,779609e-23*5,.0467745*5,.50455,.756825,.187098*5],v=g}R1.STEREO=new R1(0),R1.JOINT_STEREO=new R1(1),R1.DUAL_CHANNEL=new R1(2),R1.MONO=new R1(3),R1.NOT_SET=new R1(4);var et=ea.Util,es=ea.new_float,en=t1(),er=ea.VbrMode,e_=ea.Float,ei=ea.ShortBlock,eo=ea.Util,el=ea.Arrays,ef=ea.new_float,ec=ea.new_float_n,eh=ea.new_int,eu=ea.assert,Ka=function(){var t=es(en.BLKSIZE),_=es(en.BLKSIZE_s/2),o=[.9238795325112867,.3826834323650898,.9951847266721969,.0980171403295606,.9996988186962042,.02454122852291229,.9999811752826011,.006135884649154475];function z(t,_,c){var h,u,b,v,A,M,w,y,k,x,N,O,j,F,C,G,W,J,$,ee,ea,es,en=0,er=_+(c<<=1);ee=4;do{w=ee>>1,v=ee,M=(A=ee<<1)+v,ee=A<<1,es=(ea=_)+w;do F=t[ea+0]-t[ea+v],j=t[ea+0]+t[ea+v],J=t[ea+A]-t[ea+M],G=t[ea+A]+t[ea+M],t[ea+A]=j-G,t[ea+0]=j+G,t[ea+M]=F-J,t[ea+v]=F+J,F=t[es+0]-t[es+v],j=t[es+0]+t[es+v],J=et.SQRT2*t[es+M],G=et.SQRT2*t[es+A],t[es+A]=j-G,t[es+0]=j+G,t[es+M]=F-J,t[es+v]=F+J,es+=ee,ea+=ee;while(ea<er);for(u=o[en+0],h=o[en+1],b=1;b<w;b++){y=1-2*h*h,k=2*h*u,ea=_+b,es=_+v-b;do N=k*t[ea+v]-y*t[es+v],x=y*t[ea+v]+k*t[es+v],F=t[ea+0]-x,j=t[ea+0]+x,C=t[es+0]-N,O=t[es+0]+N,N=k*t[ea+M]-y*t[es+M],x=y*t[ea+M]+k*t[es+M],J=t[ea+A]-x,G=t[ea+A]+x,$=t[es+A]-N,W=t[es+A]+N,N=h*G-u*$,x=u*G+h*$,t[ea+A]=j-x,t[ea+0]=j+x,t[es+M]=C-N,t[es+v]=C+N,N=u*W-h*J,x=h*W+u*J,t[es+A]=O-x,t[es+0]=O+x,t[ea+M]=F-N,t[ea+v]=F+N,es+=ee,ea+=ee;while(ea<er);u=(y=u)*o[en+0]-h*o[en+1],h=y*o[en+1]+h*o[en+0]}en+=2}while(ee<c)}var c=[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(t,o,h,u,b){for(var v=0;v<3;v++){var A=en.BLKSIZE_s/2,M=65535&192*(v+1),w=en.BLKSIZE_s/8-1;do{var y,k,x,N,O,j=255&c[w<<2];k=(y=_[j]*u[h][b+j+M])-(O=_[127-j]*u[h][b+j+M+128]),y+=O,N=(x=_[j+64]*u[h][b+j+M+64])-(O=_[63-j]*u[h][b+j+M+192]),x+=O,A-=4,o[v][A+0]=y+x,o[v][A+2]=y-x,o[v][A+1]=k+N,o[v][A+3]=k-N,k=(y=_[j+1]*u[h][b+j+M+1])-(O=_[126-j]*u[h][b+j+M+129]),y+=O,N=(x=_[j+65]*u[h][b+j+M+65])-(O=_[62-j]*u[h][b+j+M+193]),x+=O,o[v][A+en.BLKSIZE_s/2+0]=y+x,o[v][A+en.BLKSIZE_s/2+2]=y-x,o[v][A+en.BLKSIZE_s/2+1]=k+N,o[v][A+en.BLKSIZE_s/2+3]=k-N}while(--w>=0);z(o[v],A,en.BLKSIZE_s/2)}},this.fft_long=function(_,o,h,u,b){var v=en.BLKSIZE/8-1,A=en.BLKSIZE/2;do{var M,w,y,k,x,N=255&c[v];w=(M=t[N]*u[h][b+N])-(x=t[N+512]*u[h][b+N+512]),M+=x,k=(y=t[N+256]*u[h][b+N+256])-(x=t[N+768]*u[h][b+N+768]),y+=x,o[(A-=4)+0]=M+y,o[A+2]=M-y,o[A+1]=w+k,o[A+3]=w-k,w=(M=t[N+1]*u[h][b+N+1])-(x=t[N+513]*u[h][b+N+513]),M+=x,k=(y=t[N+257]*u[h][b+N+257])-(x=t[N+769]*u[h][b+N+769]),y+=x,o[A+en.BLKSIZE/2+0]=M+y,o[A+en.BLKSIZE/2+2]=M-y,o[A+en.BLKSIZE/2+1]=w+k,o[A+en.BLKSIZE/2+3]=w-k}while(--v>=0);z(o,A,en.BLKSIZE/2)},this.init_fft=function(o){for(var c=0;c<en.BLKSIZE;c++)t[c]=.42-.5*Math.cos(2*Math.PI*(c+.5)/en.BLKSIZE)+.08*Math.cos(4*Math.PI*(c+.5)/en.BLKSIZE);for(var c=0;c<en.BLKSIZE_s/2;c++)_[c]=.5*(1-Math.cos(2*Math.PI*(c+.5)/en.BLKSIZE_s))}},eb=t1(),Qa=function(){var t=new Ka,_=1/217621504/(eb.BLKSIZE/2);function R(t,o){for(var c=0,h=0;h<eb.BLKSIZE/2;++h)c+=t[h]*o.ATH.eql_w[h];return c*_}var o,c,h,u=[1,.79433,.63096,.63096,.63096,.63096,.63096,.25119,.11749],b=[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.45559399
104,1.16203*1.16203,1.2715945225,1.09428*1.09428,1.0659*1.0659,1.0779838276,1.0382591025,1],v=[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],A=[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],M=[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 L(t,_,h){var u;return(t<0&&(t=0),_<0&&(_=0),t<=0)?_:_<=0?t:(u=_>t?_/t:t/_,-2<=h&&h<=2)?u>=o?t+_:(t+_)*M[0|eo.FAST_LOG10_X(u,16)]:u<c?t+_:(t<_&&(t=_),t)}function E(t,_,o,c,h){var u,b,v=0,A=0;for(u=b=0;u<eb.SBMAX_s;++b,++u){for(var M=t.bo_s[u],w=t.npart_s,y=M<w?M:w;b<y;)eu(_[b]>=0),eu(o[b]>=0),v+=_[b],A+=o[b],b++;if(t.en[c].s[u][h]=v,t.thm[c].s[u][h]=A,b>=w){++u;break}eu(_[b]>=0),eu(o[b]>=0);var k=t.PSY.bo_s_weight[u],x=1-k;v=k*_[b],A=k*o[b],t.en[c].s[u][h]+=v,t.thm[c].s[u][h]+=A,v=x*_[b],A=x*o[b]}for(;u<eb.SBMAX_s;++u)t.en[c].s[u][h]=0,t.thm[c].s[u][h]=0}function i(t,_,o,c){var h,u,b=0,v=0;for(h=u=0;h<eb.SBMAX_l;++u,++h){for(var A=t.bo_l[h],M=t.npart_l,w=A<M?A:M;u<w;)eu(_[u]>=0),eu(o[u]>=0),b+=_[u],v+=o[u],u++;if(t.en[c].l[h]=b,t.thm[c].l[h]=v,u>=M){++h;break}eu(_[u]>=0),eu(o[u]>=0);var y=t.PSY.bo_l_weight[h],k=1-y;b=y*_[u],v=y*o[u],t.en[c].l[h]+=b,t.thm[c].l[h]+=v,b=k*_[u],v=k*o[u]}for(;h<eb.SBMAX_l;++h)t.en[c].l[h]=0,t.thm[c].l[h]=0}function n(t,_,o){return o>=1?t:o<=0?_:_>0?Math.pow(t/_,o)*_: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 Y(t,_){for(var o=309.07,c=0;c<eb.SBMAX_s-1;c++)for(var h=0;h<3;h++){var u=t.thm.s[c][h];if(u>0){var b=u*_,v=t.en.s[c][h];v>b&&(v>1e10*b?o+=23.02585092994046*w[c]:o+=w[c]*eo.FAST_LOG10(v/b))}}return o}var y=[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 T(t,_){for(var o=281.0575,c=0;c<eb.SBMAX_l-1;c++){var h=t.thm.l[c];if(h>0){var u=h*_,b=t.en.l[c];b>u&&(b>1e10*u?o+=23.02585092994046*y[c]:o+=y[c]*eo.FAST_LOG10(b/u))}}return o}function q(t,_,o,c,h){var u,b;for(u=b=0;u<t.npart_l;++u){var v,A=0,M=0;for(v=0;v<t.numlines_l[u];++v,++b){var w=_[b];A+=w,M<w&&(M=w)}o[u]=A,c[u]=M,h[u]=A*t.rnumlines_l[u],eu(t.rnumlines_l[u]>=0),eu(o[u]>=0),eu(c[u]>=0),eu(h[u]>=0)}}function i0(t,_,o,c){var h=u.length-1,b=0,v=o[0]+o[b+1];if(v>0){var A=_[b];A<_[b+1]&&(A=_[b+1]),eu(t.numlines_l[b]+t.numlines_l[b+1]-1>0);var M=0|(v=20*(2*A-v)/(v*(t.numlines_l[b]+t.numlines_l[b+1]-1)));M>h&&(M=h),c[b]=M}else c[b]=0;for(b=1;b<t.npart_l-1;b++)if((v=o[b-1]+o[b]+o[b+1])>0){var A=_[b-1];A<_[b]&&(A=_[b]),A<_[b+1]&&(A=_[b+1]),eu(t.numlines_l[b-1]+t.numlines_l[b]+t.numlines_l[b+1]-1>0);var M=0|(v=20*(3*A-v)/(v*(t.numlines_l[b-1]+t.numlines_l[b]+t.numlines_l[b+1]-1)));M>h&&(M=h),c[b]=M}else c[b]=0;if(eu(b==t.npart_l-1),(v=o[b-1]+o[b])>0){var A=_[b-1];A<_[b]&&(A=_[b]),eu(t.numlines_l[b-1]+t.numlines_l[b]-1>0);var M=0|(v=20*(2*A-v)/(v*(t.numlines_l[b-1]+t.numlines_l[b]-1)));M>h&&(M=h),c[b]=M}else c[b]=0;eu(b==t.npart_l-1)}var k=[-.00000000000000000865163*2,-.01703172,-.00000000000000000674764*2,.0418072,-.0000000000000000336639*2,-.0876324,-.0000000000000000154175*2,.1863476,-.0000000000000000552212*2,-.627638];this.L3psycho_anal_ns=function(_,M,w,y,x,N,O,j,F,C){var G,W,J,$,ee,ea,et,es,en,e_=_.internal_flags,em=ec([2,eb.BLKSIZE]),ep=ec([2,3,eb.BLKSIZE_s]),ev=ef(eb.CBANDS+1),ed=ef(eb.CBANDS+1),eg=ef(eb.CBANDS+2),eS=eh(2),eR=eh(2),eA=ec([2,576]),eM=eh(eb.CBANDS+2),eB=eh(eb.CBANDS+2);for(el.fill(eB,0),G=e_.channels_out,_.mode==R1.JOINT_STEREO&&(G=4),en=_.VBR==er.vbr_off?0==e_.ResvMax?0:e_.ResvSize/e_.ResvMax*.5:_.VBR==er.vbr_rh||_.VBR==er.vbr_mtrh||_.VBR==er.vbr_mt?.6:1,W=0;W<e_.channels_out;W++){var ew,eE,eT=M[W],ey=w+576-350-21+192;for($=0;$<576;$++){for(ew=eT[ey+$+10],eE=0,ee=0;ee<9;ee+=2)ew+=k[ee]*(eT[ey+$+ee]+eT[ey+$+21-ee]),eE+=k[ee+1]*(eT[ey+$+ee+1]+eT[ey+$+21-ee-1]);eA[W][$]=ew+eE}x[y][W].en.assign(e_.en[W]),x[y][W].thm.assign(e_.thm[W]),G>2&&(N[y][W].en.assign(e_.en[W+2]),N[y][W].thm.assign(e_.thm[W+2]))}for(W=0;W<G;W++){var ek,ex,eI,eP,eV,eH,eL=ef(12),eN=[0,0,0,0],eO=ef(12),eD=1,eX=ef(eb.C
1BANDS),eq=ef(eb.CBANDS),eY=[0,0,0,0],ej=ef(eb.HBLKSIZE),eF=ec([3,eb.HBLKSIZE_s]);for(eu(e_.npart_s<=eb.CBANDS),eu(e_.npart_l<=eb.CBANDS),$=0;$<3;$++)eL[$]=e_.nsPsy.last_en_subshort[W][$+6],eu(e_.nsPsy.last_en_subshort[W][$+4]>0),eO[$]=eL[$]/e_.nsPsy.last_en_subshort[W][$+4],eN[0]+=eL[$];if(2==W)for($=0;$<576;$++)ek=eA[0][$],ex=eA[1][$],eA[0][$]=ek+ex,eA[1][$]=ek-ex;var eC=eA[1&W],eZ=0;for($=0;$<9;$++){for(var eG=eZ+64,ez=1;eZ<eG;eZ++)ez<Math.abs(eC[eZ])&&(ez=Math.abs(eC[eZ]));e_.nsPsy.last_en_subshort[W][$]=eL[$+3]=ez,eN[1+$/3]+=ez,ez>eL[$+3-2]?(eu(eL[$+3-2]>0),ez/=eL[$+3-2]):ez=eL[$+3-2]>10*ez?eL[$+3-2]/(10*ez):0,eO[$+3]=ez}if(_.analysis){var eK=eO[0];for($=1;$<12;$++)eK<eO[$]&&(eK=eO[$]);e_.pinfo.ers[y][W]=e_.pinfo.ers_save[W],e_.pinfo.ers_save[W]=eK}for(eH=3==W?e_.nsPsy.attackthre_s:e_.nsPsy.attackthre,$=0;$<12;$++)0==eY[$/3]&&eO[$]>eH&&(eY[$/3]=$%3+1);for($=1;$<4;$++)eN[$-1]>eN[$]?(eu(eN[$]>0),eI=eN[$-1]/eN[$]):(eu(eN[$-1]>0),eI=eN[$]/eN[$-1]),eI<1.7&&(eY[$]=0,1==$&&(eY[0]=0));for(0!=eY[0]&&0!=e_.nsPsy.lastAttacks[W]&&(eY[0]=0),(3==e_.nsPsy.lastAttacks[W]||eY[0]+eY[1]+eY[2]+eY[3]!=0)&&(eD=0,0!=eY[1]&&0!=eY[0]&&(eY[1]=0),0!=eY[2]&&0!=eY[1]&&(eY[2]=0),0!=eY[3]&&0!=eY[2]&&(eY[3]=0)),W<2?eR[W]=eD:0==eD&&(eR[0]=eR[1]=0),F[W]=e_.tot_ener[W],function(_,o,c,h,u,b,v,A,M,w,y){var k=_.internal_flags;if(M<2)t.fft_long(k,h[u],M,w,y),t.fft_short(k,b[v],M,w,y);else if(2==M){for(var x=eb.BLKSIZE-1;x>=0;--x){var N=h[u+0][x],O=h[u+1][x];h[u+0][x]=(N+O)*eo.SQRT2*.5,h[u+1][x]=(N-O)*eo.SQRT2*.5}for(var j=2;j>=0;--j)for(var x=eb.BLKSIZE_s-1;x>=0;--x){var N=b[v+0][j][x],O=b[v+1][j][x];b[v+0][j][x]=(N+O)*eo.SQRT2*.5,b[v+1][j][x]=(N-O)*eo.SQRT2*.5}}o[0]=h[u+0][0],o[0]*=o[0];for(var x=eb.BLKSIZE/2-1;x>=0;--x){var F=h[u+0][eb.BLKSIZE/2-x],C=h[u+0][eb.BLKSIZE/2+x];o[eb.BLKSIZE/2-x]=(F*F+C*C)*.5}for(var j=2;j>=0;--j){c[j][0]=b[v+0][j][0],c[j][0]*=c[j][0];for(var x=eb.BLKSIZE_s/2-1;x>=0;--x){var F=b[v+0][j][eb.BLKSIZE_s/2-x],C=b[v+0][j][eb.BLKSIZE_s/2+x];c[j][eb.BLKSIZE_s/2-x]=(F*F+C*C)*.5}}for(var G=0,x=11;x<eb.HBLKSIZE;x++)G+=o[x];if(k.tot_ener[M]=G,_.analysis){for(var x=0;x<eb.HBLKSIZE;x++)k.pinfo.energy[A][M][x]=k.pinfo.energy_save[M][x],k.pinfo.energy_save[M][x]=o[x];k.pinfo.pe[A][M]=k.pe[M]}2==_.athaa_loudapprox&&M<2&&(k.loudness_sq[A][M]=k.loudness_sq_save[M],k.loudne
1ss_sq_save[M]=R(o,k))}(_,ej,eF,em,1&W,ep,1&W,y,W,M,w),q(e_,ej,ev,eX,eq),i0(e_,eX,eq,eM),es=0;es<3;es++)for(function(t,_,o,c,h,u){var b,v,A=t.internal_flags;for(v=b=0;v<A.npart_s;++v){for(var M=0,w=A.numlines_s[v],y=0;y<w;++y,++b)M+=_[u][b];o[v]=M}for(eu(v==A.npart_s),b=v=0;v<A.npart_s;v++){var k=A.s3ind_s[v][0],x=A.s3_ss[b++]*o[k];for(++k;k<=A.s3ind_s[v][1];)x+=A.s3_ss[b]*o[k],++b,++k;var N=2*A.nb_s1[h][v];if(c[v]=Math.min(x,N),A.blocktype_old[1&h]==eb.SHORT_TYPE){var N=16*A.nb_s2[h][v],O=c[v];c[v]=Math.min(N,O)}A.nb_s2[h][v]=A.nb_s1[h][v],A.nb_s1[h][v]=x,eu(c[v]>=0)}for(;v<=eb.CBANDS;++v)o[v]=0,c[v]=0}(_,eF,ed,eg,W,es),E(e_,ed,eg,W,es),et=0;et<eb.SBMAX_s;et++){if(eV=.8*e_.thm[W].s[et][es],eY[es]>=2||1==eY[es+1]){var eQ=0!=es?es-1:2,ez=n(e_.thm[W].s[et][eQ],eV,.6*en);eV=Math.min(eV,ez)}if(1==eY[es]){var eQ=0!=es?es-1:2,ez=n(e_.thm[W].s[et][eQ],eV,.3*en);eV=Math.min(eV,ez)}else if(0!=es&&3==eY[es-1]||0==es&&3==e_.nsPsy.lastAttacks[W]){var eQ=2!=es?es+1:0,ez=n(e_.thm[W].s[et][eQ],eV,.3*en);eV=Math.min(eV,ez)}eP=eL[3*es+3]+eL[3*es+4]+eL[3*es+5],6*eL[3*es+5]<eP&&(eV*=.5,6*eL[3*es+4]<eP&&(eV*=.5)),e_.thm[W].s[et][es]=eV}for(e_.nsPsy.lastAttacks[W]=eY[2],ea=0,J=0;J<e_.npart_l;J++){for(var eU=e_.s3ind[J][0],eW=ev[eU]*u[eM[eU]],eJ=e_.s3_ll[ea++]*eW;++eU<=e_.s3ind[J][1];)eW=ev[eU]*u[eM[eU]],eJ=function(t,_,u,M,w,y){if(_>t){if(!(_<t*c))return t+_;k=_/t}else{if(t>=_*c)return t+_;k=t/_}if(t+=_,M+3<=6){if(k>=o)return t;var k,x,N,O=0|eo.FAST_LOG10_X(k,16);return t*v[O]}var O=0|eo.FAST_LOG10_X(k,16);return(_=w.ATH.cb_l[u]*w.ATH.adjust,t<h*_)?t>_?(x=1,O<=13&&(x=A[O]),N=eo.FAST_LOG10_X(t/_,10/15),t*((b[O]-x)*N+x)):O>13?t:t*A[O]:t*b[O]}(eJ,e_.s3_ll[ea++]*eW,eU,eU-J,e_,0);eJ*=.158489319246111,e_.blocktype_old[1&W]==eb.SHORT_TYPE?eg[J]=eJ:eg[J]=n(Math.min(eJ,Math.min(2*e_.nb_1[W][J],16*e_.nb_2[W][J])),eJ,en),e_.nb_2[W][J]=e_.nb_1[W][J],e_.nb_1[W][J]=eJ}for(;J<=eb.CBANDS;++J)ev[J]=0,eg[J]=0;i(e_,ev,eg,W)}for((_.mode==R1.STEREO||_.mode==R1.JOINT_STEREO)&&_.interChRatio>0&&function(t,_){var o=t.internal_flags;if(o.channels_out>1){for(var c=0;c<eb.SBMAX_l;c++){var h=o.thm[0].l[c],u=o.thm[1].l[c];o.thm[0].l[c]+=u*_,o.thm[1].l[c]+=h*_}for(var c=0;c<eb.SBMAX_s;c++)for(var b=0;b<3;b++){var h=o.thm[0].s[c][b],u=o.thm[1].s[c][b];o.thm[0].s[c][b]+=u*_,o.thm[1].s[c][b]+=h*_}}}(_,_.interChRatio),_.mode==R1.JOINT_STEREO&&(function(t){for(var _=0;_<eb.SBMAX_l;_++)if(!(t.thm[0].l[_]>1.58*t.thm[1].l[_]||t.thm[1].l[_]>1.58*t.thm[0].l[_])){var o=t.mld_l[_]*t.en[3].l[_],c=Math.max(t.thm[2].l[_],Math.min(t.thm[3].l[_],o));o=t.mld_l[_]*t.en[2].l[_];var h=Math.max(t.thm[3].l[_],Math.min(t.thm[2].l[_],o));t.thm[2].l[_]=c,t.thm[3].l[_]=h}for(var _=0;_<eb.SBMAX_s;_++)for(var u=0;u<3;u++)if(!(t.thm[0].s[_][u]>1.58*t.thm[1].s[_][u]||t.thm[1].s[_][u]>1.58*t.thm[0].s[_][u])){var o=t.mld_s[_]*t.en[3].s[_][u],c=Math.max(t.thm[2].s[_][u],Math.min(t.thm[3].s[_][u],o));o=t.mld_s[_]*t.en[2].s[_][u];var h=Math.max(t.thm[3].s[_][u],Math.min(t.thm[2].s[_][u],o));t.thm[2].s[_][u]=c,t.thm[3].s[_][u]=h}}(e_),Math.abs(e$=_.msfix)>0&&function(t,_,o){var c,h,u,b,v=_,A=Math.pow(10,o);_*=2,v*=2;for(var M=0;M<eb.SBMAX_l;M++){if(b=t.ATH.cb_l[t.bm_l[M]]*A,(c=Math.min(Math.max(t.thm[0].l[M],b),Math.max(t.thm[1].l[M],b)))*_<(h=Math.max(t.thm[2].l[M],b))+(u=Math.max(t.thm[3].l[M],b))){var w=c*v/(h+u);h*=w,u*=w}t.thm[2].l[M]=Math.min(h,t.thm[2].l[M]),t.thm[3].l[M]=Math.min(u,t.thm[3].l[M])}A*=eb.BLKSIZE_s/eb.BLKSIZE;for(var M=0;M<eb.SBMAX_s;M++)for(var y=0;y<3;y++){if(b=t.ATH.cb_s[t.bm_s[M]]*A,(c=Math.min(Math.max(t.thm[0].s[M][y],b),Math.max(t.thm[1].s[M][y],b)))*_<(h=Math.max(t.thm[2].s[M][y],b))+(u=Math.max(t.thm[3].s[M][y],b))){var w=c*_/(h+u);h*=w,u*=w}t.thm[2].s[M][y]=Math.min(t.thm[2].s[M][y],h),t.thm[3].s[M][y]=Math.min(t.thm[3].s[M][y],u)}}(e_,e$,_.ATHlower*e_.ATH.adjust)),function(t,_,o,c){var h=t.internal_flags;t.short_blocks!=ei.short_block_coupled||0!=_[0]&&0!=_[1]||(_[0]=_[1]=0);for(var u=0;u<h.channels_out;u++)c[u]=eb.NORM_TYPE,t.short_blocks==ei.short_block_dispensed&&(_[u]=1),t.short_blocks==ei.short_block_forced&&(_[u]=0),0!=_[u]?(eu(h.blocktype_old[u]!=eb.START_TYPE),h.blocktype_old[u]==eb.
1SHORT_TYPE&&(c[u]=eb.STOP_TYPE)):(c[u]=eb.SHORT_TYPE,h.blocktype_old[u]==eb.NORM_TYPE&&(h.blocktype_old[u]=eb.START_TYPE),h.blocktype_old[u]==eb.STOP_TYPE&&(h.blocktype_old[u]=eb.SHORT_TYPE)),o[u]=h.blocktype_old[u],h.blocktype_old[u]=c[u]}(_,eR,C,eS),W=0;W<G;W++){var e$,e0,e2,e3,e5=0;W>1?(e0=j,e5=-2,e2=eb.NORM_TYPE,(C[0]==eb.SHORT_TYPE||C[1]==eb.SHORT_TYPE)&&(e2=eb.SHORT_TYPE),e3=N[y][W-2]):(e0=O,e5=0,e2=C[W],e3=x[y][W]),e2==eb.SHORT_TYPE?e0[e5+W]=Y(e3,e_.masking_lower):e0[e5+W]=T(e3,e_.masking_lower),_.analysis&&(e_.pinfo.pe[y][W]=e0[e5+W])}return 0};var x=[-.00000000000000000865163*2,-.01703172,-.00000000000000000674764*2,.0418072,-.0000000000000000336639*2,-.0876324,-.0000000000000000154175*2,.1863476,-.0000000000000000552212*2,-.627638];function H0(t,_,o,c,h,u,b){for(var v,A,M=2*u,w=u>0?Math.pow(10,h):1,y=0;y<b;++y){var k=t[2][y],x=t[3][y],N=_[0][y],O=_[1][y],j=_[2][y],F=_[3][y];if(N<=1.58*O&&O<=1.58*N){var C=o[y]*x,G=o[y]*k;A=Math.max(j,Math.min(F,C)),v=Math.max(F,Math.min(j,G))}else A=j,v=F;if(u>0){var W,J,$=c[y]*w;if(W=Math.min(Math.max(N,$),Math.max(O,$)),(J=(j=Math.max(A,$))+(F=Math.max(v,$)))>0&&W*M<J){var ee=W*M/J;j*=ee,F*=ee}A=Math.min(j,A),v=Math.min(F,v)}A>k&&(A=k),v>x&&(v=x),_[2][y]=A,_[3][y]=v}}function y0(t,_){var o;return(o=t>=0?-(27*t):t*_)<=-72?0:Math.exp(.2302585093*o)}function I0(t){return t<0&&(t=0),13*Math.atan(.76*(t*=.001))+3.5*Math.atan(t*t/56.25)}function b0(t,_,o,c,h,u,b,v,A,M,w,y){var k,x=ef(eb.CBANDS+1),N=v/(y>15?1152:384),O=eh(eb.HBLKSIZE);v/=A;var j=0,F=0;for(k=0;k<eb.CBANDS;k++){for(G=I0(v*j),x[k]=v*j,W=j;I0(v*W)-G<.34&&W<=A/2;W++);for(t[k]=W-j,F=k+1;j<W;)eu(j<eb.HBLKSIZE),O[j++]=k;if(j>A/2){j=A/2,++k;break}}eu(k<eb.CBANDS),x[k]=v*j;for(var C=0;C<y;C++){ee=M[C],ea=M[C+1],(J=0|Math.floor(.5+w*(ee-.5)))<0&&(J=0),($=0|Math.floor(.5+w*(ea-.5)))>A/2&&($=A/2),o[C]=(O[J]+O[$])/2,_[C]=O[$];var G,W,J,$,ee,ea,et,es=N*ea;b[C]=(es-x[_[C]])/(x[_[C]+1]-x[_[C]]),b[C]<0?b[C]=0:b[C]>1&&(b[C]=1),et=Math.min(et=I0(v*M[C]*w),15.5)/15.5,u[C]=Math.pow(10,1.25*(1-Math.cos(Math.PI*et))-2.5)}j=0;for(var en=0;en<F;en++){var G,er,e_=t[en];G=I0(v*j),er=I0(v*(j+e_-1)),c[en]=.5*(G+er),G=I0(v*(j-.5)),er=I0(v*(j+e_-.5)),h[en]=er-G,j+=e_}return F}function G0(t,_,o,c,h,u){var b,v=ec([eb.CBANDS,eb.CBANDS]),A=0;if(u)for(var M=0;M<_;M++)for(b=0;b<_;b++){var w=function(t){var _,o,c,h;return(_=t)>=0?_*=3:_*=1.5,o=_>=.5&&_<=2.5?8*((h=_-.5)*h-2*h):0,_+=.474,(c=15.811389+7.5*_-17.5*Math.sqrt(1+_*_))<=-60?0:_=Math.exp((o+c)*.2302585093)/.6609193}(o[M]-o[b])*c[b];v[M][b]=w*h[M]}else for(b=0;b<_;b++)for(var y=15+Math.min(21/o[b],12),k=function(t){var _,o,c=0,h=0,u=0;for(u=0;y0(u,t)>1e-20;u-=1);for(_=u,o=0;Math.abs(o-_)>1e-12;)y0(u=(o+_)/2,t)>0?o=u:_=u;c=_;var _,o,u=0;for(u=0;y0(u,t)>1e-20;u+=1);for(_=0,o=u;Math.abs(o-_)>1e-12;)y0(u=(o+_)/2,t)>0?_=u:o=u;h=o;var b,v=0;for(b=0;b<=1e3;++b){var u=c+b*(h-c)/1e3;v+=y0(u,t)}return 1001/(v*(h-c))}(y),M=0;M<_;M++){var w=k*y0(o[M]-o[b],y)*c[b];v[M][b]=w*h[M]}for(var M=0;M<_;M++){for(b=0;b<_&&!(v[M][b]>0);b++);for(t[M][0]=b,b=_-1;b>0&&!(v[M][b]>0);b--);t[M][1]=b,A+=t[M][1]-t[M][0]+1}for(var x=ef(A),N=0,M=0;M<_;M++)for(b=t[M][0];b<=t[M][1];b++)x[N++]=v[M][b];return x}function e1(t){var _=I0(t);return Math.pow(10,1.25*(1-Math.cos(Math.PI*(_=Math.min(_,15.5)/15.5)))-2.5)}function Y0(t,_){return t<-.3&&(t=3410),t/=1e3,3.64*Math.pow(t=Math.max(.1,t),-.8)-6.8*Math.exp(-.6*Math.pow(t-3.4,2))+6*Math.exp(-.15*Math.pow(t-8.7,2))+(.6+.04*_)*.001*Math.pow(t,4)}this.L3psycho_anal_vbr=function(_,o,c,h,b,v,A,M,w,y){var k,N,O,j,F=_.internal_flags,C=ef(eb.HBLKSIZE),G=ec([3,eb.HBLKSIZE_s]),W=ec([2,eb.BLKSIZE]),J=ec([2,3,eb.BLKSIZE_s]),$=ec([4,eb.CBANDS]),ee=ec([4,eb.CBANDS]),ea=ec([4,3]),et=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],es=eh(2),en=_.mode==R1.JOINT_STEREO?4:F.channels_out;(function(t,_,o,c,h,u,b,v,A,M){for(var w=ec([2,576]),y=t.internal_flags,k=y.channels_out,N=t.mode==R1.JOINT_STEREO?4:k,O=0;O<k;O++){firbuf=_[O];for(var j,F,C=o+576-350-21+192,G=0;G<576;G++){j=firbuf[C+G+10],F=0;for(var W=0;W<9;W+=2)j+=x[W]*(firbuf[C+G+W]+firbuf[C+G+21-W]),F+=x[W+1]*(firbuf[C+G+W+1]+firbuf[C+G+21-W-1]);w[O][G]=j+F}h[c][O].en.assign(y.en[O]),h[c][O].thm.assign(y.thm[O]),N>2&&(u[c][O].en.assign(y.en[O+2]),u[c][O].thm.assign(y.thm[O+2]))}for(var O=0;O<N;O++){var J=ef(12),$=ef(12),ee=[0,0,0,0],ea=w[1&O],et=0,es=3==O?y.nsPsy.attackthre_s:y.nsPsy.attackthre,en=1;if(2==O)for(var G=0,W=576;W>0;++G,--W){var er=w[0][G],e_=w[1][G];
1w[0][G]=er+e_,w[1][G]=er-e_}for(var G=0;G<3;G++)$[G]=y.nsPsy.last_en_subshort[O][G+6],eu(y.nsPsy.last_en_subshort[O][G+4]>0),J[G]=$[G]/y.nsPsy.last_en_subshort[O][G+4],ee[0]+=$[G];for(var G=0;G<9;G++){for(var ei=et+64,eo=1;et<ei;et++)eo<Math.abs(ea[et])&&(eo=Math.abs(ea[et]));y.nsPsy.last_en_subshort[O][G]=$[G+3]=eo,ee[1+G/3]+=eo,eo>$[G+3-2]?(eu($[G+3-2]>0),eo/=$[G+3-2]):eo=$[G+3-2]>10*eo?$[G+3-2]/(10*eo):0,J[G+3]=eo}for(var G=0;G<3;++G){var el=$[3*G+3]+$[3*G+4]+$[3*G+5],eh=1;6*$[3*G+5]<el&&(eh*=.5,6*$[3*G+4]<el&&(eh*=.5)),v[O][G]=eh}if(t.analysis){for(var eb=J[0],G=1;G<12;G++)eb<J[G]&&(eb=J[G]);y.pinfo.ers[c][O]=y.pinfo.ers_save[O],y.pinfo.ers_save[O]=eb}for(var G=0;G<12;G++)0==A[O][G/3]&&J[G]>es&&(A[O][G/3]=G%3+1);for(var G=1;G<4;G++){var em=ee[G-1],ep=ee[G];4e4>Math.max(em,ep)&&em<1.7*ep&&ep<1.7*em&&(1==G&&A[O][0]<=A[O][G]&&(A[O][0]=0),A[O][G]=0)}A[O][0]<=y.nsPsy.lastAttacks[O]&&(A[O][0]=0),(3==y.nsPsy.lastAttacks[O]||A[O][0]+A[O][1]+A[O][2]+A[O][3]!=0)&&(en=0,0!=A[O][1]&&0!=A[O][0]&&(A[O][1]=0),0!=A[O][2]&&0!=A[O][1]&&(A[O][2]=0),0!=A[O][3]&&0!=A[O][2]&&(A[O][3]=0)),O<2?M[O]=en:0==en&&(M[0]=M[1]=0),b[O]=y.tot_ener[O]}})(_,o,c,h,b,v,w,ea,et,es),function(t,_){var o=t.internal_flags;t.short_blocks!=ei.short_block_coupled||0!=_[0]&&0!=_[1]||(_[0]=_[1]=0);for(var c=0;c<o.channels_out;c++)t.short_blocks==ei.short_block_dispensed&&(_[c]=1),t.short_blocks==ei.short_block_forced&&(_[c]=0)}(_,es);for(var er=0;er<en;er++){var e_=1&er;(function(_,o,c,h,u,b,v,A){var M=_.internal_flags;if(h<2)t.fft_long(M,v[A],h,o,c);else if(2==h)for(var w=eb.BLKSIZE-1;w>=0;--w){var y=v[A+0][w],k=v[A+1][w];v[A+0][w]=(y+k)*eo.SQRT2*.5,v[A+1][w]=(y-k)*eo.SQRT2*.5}b[0]=v[A+0][0],b[0]*=b[0];for(var w=eb.BLKSIZE/2-1;w>=0;--w){var x=v[A+0][eb.BLKSIZE/2-w],N=v[A+0][eb.BLKSIZE/2+w];b[eb.BLKSIZE/2-w]=(x*x+N*N)*.5}for(var O=0,w=11;w<eb.HBLKSIZE;w++)O+=b[w];if(M.tot_ener[h]=O,_.analysis){for(var w=0;w<eb.HBLKSIZE;w++)M.pinfo.energy[u][h][w]=M.pinfo.energy_save[h][w],M.pinfo.energy_save[h][w]=b[w];M.pinfo.pe[u][h]=M.pe[h]}})(_,o,c,er,h,C,W,e_),function(t,_,o,c){var h=t.internal_flags;2==t.athaa_loudapprox&&o<2&&(h.loudness_sq[_][o]=h.loudness_sq_save[o],h.loudness_sq_save[o]=R(c,h))}(_,h,er,C),0!=es[e_]?function(t,_,o,c,h){var b,v=ef(eb.CBANDS),A=ef(eb.CBANDS),M=eh(eb.CBANDS+2);q(t,_,o,v,A),i0(t,v,A,M);var w=0;for(b=0;b<t.npart_l;b++){var y,k,x,N,O=t.s3ind[b][0],j=t.s3ind[b][1],F=0,C=0;for(F=M[O],C+=1,k=t.s3_ll[w]*o[O]*u[M[O]],++w,++O;O<=j;)F+=M[O],C+=1,k=N=L(k,y=t.s3_ll[w]*o[O]*u[M[O]],O-b),++w,++O;if(k*=x=.5*u[F=(1+2*F)/(2*C)],t.blocktype_old[1&h]==eb.SHORT_TYPE){var G=2*t.nb_1[h][b];G>0?c[b]=Math.min(k,G):c[b]=Math.min(k,.3*o[b])}else{var G,W=16*t.nb_2[h][b],J=2*t.nb_1[h][b];W<=0&&(W=k),J<=0&&(J=k),G=t.blocktype_old[1&h]==eb.NORM_TYPE?Math.min(J,W):J,c[b]=Math.min(k,G)}t.nb_2[h][b]=t.nb_1[h][b],t.nb_1[h][b]=k,y=v[b]*t.minval_l[b]*x,c[b]>y&&(c[b]=y),t.masking_lower>1&&(c[b]*=t.masking_lower),c[b]>o[b]&&(c[b]=o[b]),t.masking_lower<1&&(c[b]*=t.masking_lower),eu(c[b]>=0)}for(;b<eb.CBANDS;++b)o[b]=0,c[b]=0}(F,C,$[er],ee[er],er):function(t,_){for(var o=0;o<t.npart_l;o++)t.nb_2[_][o]=t.nb_1[_][o],t.nb_1[_][o]=0}(F,er)}es[0]+es[1]==2&&_.mode==R1.JOINT_STEREO&&H0($,ee,F.mld_cb_l,F.ATH.cb_l,_.ATHlower*F.ATH.adjust,_.msfix,F.npart_l);for(var er=0;er<en;er++){var e_=1&er;0!=es[e_]&&i(F,$[er],ee[er],er)}for(var el=0;el<3;el++){for(var er=0;er<en;++er){var e_=1&er;0!=es[e_]?function(t,_,o){if(0==o)for(var c=0;c<t.npart_s;c++)t.nb_s2[_][c]=t.nb_s1[_][c],t.nb_s1[_][c]=0}(F,er,el):(function(_,o,c,h,u,b,v,A){var M=_.internal_flags;if(0==u&&h<2&&t.fft_short(M,v[A],h,o,c),2==h)for(var w=eb.BLKSIZE_s-1;w>=0;--w){var y=v[A+0][u][w],k=v[A+1][u][w];v[A+0][u][w]=(y+k)*eo.SQRT2*.5,v[A+1][u][w]=(y-k)*eo.SQRT2*.5}b[u][0]=v[A+0][u][0],b[u][0]*=b[u][0];for(var w=eb.BLKSIZE_s/2-1;w>=0;--w){var x=v[A+0][u][eb.BLKSIZE_s/2-w],N=v[A+0][u][eb.BLKSIZE_s/2+w];b[u][eb.BLKSIZE_s/2-w]=(x*x+N*N)*.5}}(_,o,c,er,el,G,J,e_),function(t,_,o,c,h,b){var v,A,M,w=t.internal_flags,y=new float[eb.CBANDS],k=ef(eb.CBANDS),x=new int[eb.CBANDS];for(M=A=0;M<w.npart_s;++M){var N=0,O=0,j=w.numlines_s[M];for(v=0;v<j;++v,++A){var F=_[b][A];N+=F,O<F&&(O=F)}o[M]=N,y[M]=O,k[M]=N/j,eu(k[M]>=0)}for(eu(M==w.npart_s);M<eb.CBANDS;++M)y[M]=0,k[M]=0;for(function(t,_,o,c){var h=u.length-1,b=0,v=o[0]+o[b+1];if(v>0){var A=_[b];A<_[b+1]&&(A=_[b+1]),eu(t.numlines_s[b]+t.numlines_s[b+1]-1>0);var M=0|(v=20*(2*A-v)/(v*(t.numlines_s[b]+t.numlines_s[b+1]-1)));M>h&&(M=h),c[b]=M}else c[b]=0;for(b=1;b<t.npart_s-1;b++)if(v=o[b-1]+o[b]+o[b+1],eu(b+1<t.npart_s),v>0){var A=_[b-1];A<_[b]&&(A=_[b]),A<_[b+1]&&(A=_[b+1]),eu(t.numlines_s[b-1]+t.numlines_s[b]+t.numlines_s[b+1]-1>0);var M=0|(v=20*(3*A-v)/(v*(t.numlines_s[b-1]+t.numlines_s[b]+t.numlines_s[b+1]-1)));M>h&&(M=h),c[b]=M}else c[b]=0;if(eu(b==t.npart_s-1),(v=o[b-1]+o[b])>0){var A=_[b-1];A<_[b]&&(A=_[b]),eu(t.numlines_s[b-1]+t.numlines_s[b]-1>0);var M=0|(v=20*(2*A-v)/(v*(t.numlines_s[b-1]+t.numlines_s[b]-1)));M>h&&(M=h),c[b]=M}else c[b]=0;eu(b==t.npart_s-1)}(w,y,k,x),A=M=0;M<w.npart_s;M++){var C,G,W,J,$,ee=w.s3ind_s[M][0],ea=w.s3ind_s[M][1];for(C=x[ee],G=1,J=w.s3_ss[A]*o[ee]*u[x[ee]],++A,++ee;ee<=ea;)C+=x[ee],G+=1,J=L(J,W=w.s3_ss[A]*o[ee]*u[x[ee]],ee-M),++A,++ee;J*=$=.5*u[C=(1+2*C)/(2*G)],c[M]=J,w.nb_s2[h][M]=w.nb_s1[h][M],w.nb_s1[h][M]=J,W=y[M]*w.minval_s[M]*$,c[M]>W&&(c[M]=W),w.masking_lower>1&&(c[M]*=w.masking_lower),c[M]>
1o[M]&&(c[M]=o[M]),w.masking_lower<1&&(c[M]*=w.masking_lower),eu(c[M]>=0)}for(;M<eb.CBANDS;++M)o[M]=0,c[M]=0}(_,G,$[er],ee[er],er,el))}es[0]+es[1]==0&&_.mode==R1.JOINT_STEREO&&H0($,ee,F.mld_cb_s,F.ATH.cb_s,_.ATHlower*F.ATH.adjust,_.msfix,F.npart_s);for(var er=0;er<en;++er){var e_=1&er;0==es[e_]&&E(F,$[er],ee[er],er,el)}}for(var er=0;er<en;er++){var e_=1&er;if(0==es[e_])for(var em=0;em<eb.SBMAX_s;em++){for(var ep=ef(3),el=0;el<3;el++){var ev=F.thm[er].s[em][el];if(ev*=.8,et[er][el]>=2||1==et[er][el+1]){var ed=0!=el?el-1:2,eg=n(F.thm[er].s[em][ed],ev,.36);ev=Math.min(ev,eg)}else if(1==et[er][el]){var ed=0!=el?el-1:2,eg=n(F.thm[er].s[em][ed],ev,.18);ev=Math.min(ev,eg)}else if(0!=el&&3==et[er][el-1]||0==el&&3==F.nsPsy.lastAttacks[er]){var ed=2!=el?el+1:0,eg=n(F.thm[er].s[em][ed],ev,.18);ev=Math.min(ev,eg)}ev*=ea[er][el],ep[el]=ev}for(var el=0;el<3;el++)F.thm[er].s[em][el]=ep[el]}}for(var er=0;er<en;er++)F.nsPsy.lastAttacks[er]=et[er][2];!function(t,_,o){for(var c=t.internal_flags,h=0;h<c.channels_out;h++){var u=eb.NORM_TYPE;0!=_[h]?(eu(c.blocktype_old[h]!=eb.START_TYPE),c.blocktype_old[h]==eb.SHORT_TYPE&&(u=eb.STOP_TYPE)):(u=eb.SHORT_TYPE,c.blocktype_old[h]==eb.NORM_TYPE&&(c.blocktype_old[h]=eb.START_TYPE),c.blocktype_old[h]==eb.STOP_TYPE&&(c.blocktype_old[h]=eb.SHORT_TYPE)),o[h]=c.blocktype_old[h],c.blocktype_old[h]=u}}(_,es,y);for(var er=0;er<en;er++)er>1?(k=M,N=-2,O=eb.NORM_TYPE,(y[0]==eb.SHORT_TYPE||y[1]==eb.SHORT_TYPE)&&(O=eb.SHORT_TYPE),j=v[h][er-2]):(k=A,N=0,O=y[er],j=b[h][er]),O==eb.SHORT_TYPE?k[N+er]=Y(j,F.masking_lower):k[N+er]=T(j,F.masking_lower),_.analysis&&(F.pinfo.pe[h][er]=k[N+er]);return 0},this.psymodel_init=function(_){var u,b=_.internal_flags,v=!0,A=13,M=0,w=0,y=-8.25,k=-4.5,x=ef(eb.CBANDS),N=ef(eb.C
1BANDS),O=ef(eb.CBANDS),j=_.out_samplerate;switch(_.experimentalZ){default:case 0:v=!0;break;case 1:v=!(_.VBR==er.vbr_mtrh||_.VBR==er.vbr_mt);break;case 2:v=!1;break;case 3:A=8,M=-1.75,w=-.0125,y=-8.25,k=-2.25}for(b.ms_ener_ratio_old=.25,b.blocktype_old[0]=b.blocktype_old[1]=eb.NORM_TYPE,u=0;u<4;++u){for(var F=0;F<eb.CBANDS;++F)b.nb_1[u][F]=1e20,b.nb_2[u][F]=1e20,b.nb_s1[u][F]=b.nb_s2[u][F]=1;for(var C=0;C<eb.SBMAX_l;C++)b.en[u].l[C]=1e20,b.thm[u].l[C]=1e20;for(var F=0;F<3;++F){for(var C=0;C<eb.SBMAX_s;C++)b.en[u].s[C][F]=1e20,b.thm[u].s[C][F]=1e20;b.nsPsy.lastAttacks[u]=0}for(var F=0;F<9;F++)b.nsPsy.last_en_subshort[u][F]=10}for(b.loudness_sq_save[0]=b.loudness_sq_save[1]=0,b.npart_l=b0(b.numlines_l,b.bo_l,b.bm_l,x,N,b.mld_l,b.PSY.bo_l_weight,j,eb.BLKSIZE,b.scalefac_band.l,eb.BLKSIZE/1152,eb.SBMAX_l),eu(b.npart_l<eb.CBANDS),u=0;u<b.npart_l;u++){var G=M;x[u]>=A&&(G=w*(x[u]-A)/(24-A)+M*(24-x[u])/(24-A)),O[u]=Math.pow(10,G/10),b.numlines_l[u]>0?b.rnumlines_l[u]=1/b.numlines_l[u]:b.rnumlines_l[u]=0}b.s3_ll=G0(b.s3ind,b.npart_l,x,N,O,v);var F=0;for(u=0;u<b.npart_l;u++){J=e_.MAX_VALUE;for(var W=0;W<b.numlines_l[u];W++,F++){var J,$,ee=j*F/(1e3*eb.BLKSIZE);J>($=Math.pow(10,.1*($=this.ATHformula(1e3*ee,_)-20))*b.numlines_l[u])&&(J=$)}b.ATH.cb_l[u]=J,(J=-20+20*x[u]/10)>6&&(J=100),J<-15&&(J=-15),J-=8,b.minval_l[u]=Math.pow(10,J/10)*b.numlines_l[u]}for(b.npart_s=b0(b.numlines_s,b.bo_s,b.bm_s,x,N,b.mld_s,b.PSY.bo_s_weight,j,eb.BLKSIZE_s,b.scalefac_band.s,eb.BLKSIZE_s/384,eb.SBMAX_s),eu(b.npart_s<eb.CBANDS),F=0,u=0;u<b.npart_s;u++){var J,G=y;x[u]>=A&&(G=k*(x[u]-A)/(24-A)+y*(24-x[u])/(24-A)),O[u]=Math.pow(10,G/10),J=e_.MAX_VALUE;for(var W=0;W<b.numlines_s[u];W++,F++){var $,ee=j*F/(1e3*eb.BLKSIZE_s);J>($=Math.pow(10,.1*($=this.ATHformula(1e3*ee,_)-20))*b.numlines_s[u])&&(J=$)}b.ATH.cb_s[u]=J,J=-7+7*x[u]/12,x[u]>12&&(J*=1+3.1*Math.log(1+J)),x[u]<12&&(J*=1+2.3*Math.log(1-J)),J<-15&&(J=-15),J-=8,b.minval_s[u]=Math.pow(10,J/10)*b.numlines_s[u]}b.s3_ss=G0(b.s3ind_s,b.npart_s,x,N,O,v),o=3.651741272548377,c=31.622776601683793,h=31.622776601683793,t.init_fft(b),b.decay=Math.exp(-2.302585092994046/(.01*j/192)),es=3.5,2&_.exp_nspsytune&&(es=1),Math.abs(_.msfix)>0&&(es=_.msfix),_.msfix=es;for(var ea=0;ea<b.npart_l;ea++)b.s3ind[ea][1]>b.npart_l-1&&(b.s3ind[ea][1]=b.npart_l-1);var et=576*b.mode_gr/j;if(b.ATH.decay=Math.pow(10,-1.2*et),b.ATH.adjust=.01,b.ATH.adjustLimit=1,eu(b.bo_l[eb.SBMAX_l-1]<=b.npart_l),eu(b.bo_s[eb.SBMAX_s-1]<=b.npart_s),-1!=_.ATHtype){var es,ee,en=_.out_samplerate/eb.BLKSIZE,ei=0;for(ee=0,u=0;u<eb.BLKSIZE/2;++u)ee+=en,b.ATH.eql_w[u]=1/Math.pow(10,this.ATHformula(ee,_)/10),ei+=b.ATH.eql_w[u];for(ei=1/ei,u=eb.BLKSIZE/2;--u>=0;)b.ATH.eql_w[u]*=ei}for(var ea=F=0;ea<b.npart_s;++ea)for(u=0;u<b.numlines_s[ea];++u)++F;for(var ea=F=0;ea<b.npart_l;++ea)for(u=0;u<b.numlines_l[ea];++u)++F;for(F=0,u=0;u<b.npart_l;u++){var ee=j*(F+b.numlines_l[u]/2)/(1*eb.BLKSIZE);b.mld_cb_l[u]=e1(ee),F+=b.numlines_l[u]}for(;u<eb.CBANDS;++u)b.mld_cb_l[u]=1;for(F=0,u=0;u<b.npart_s;u++){var ee=j*(F+b.numlines_s[u]/2)/(1*eb.BLKSIZE_s);b.mld_cb_s[u]=e1(ee),F+=b.numlines_s[u]}for(;u<eb.CBANDS;++u)b.mld_cb_s[u]=1;return 0},this.ATHformula=function(t,_){var o;switch(_.ATHtype){case 0:o=Y0(t,9);break;case 1:o=Y0(t,-1);break;case 2:default:o=Y0(t,0);break;case 3:o=Y0(t,1)+6;break;case 4:o=Y0(t,_.ATHcurve)}return o}},za=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=R1.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},em=t1(),ep={};ep.SFBMAX=3*em.SBMAX_s;var ev=ea.new_float,ed=ea.new_int,Le=function(){this.xr=ev(576),this.l3_enc=ed(576),this.scalefac=ed(ep.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=ed(3),this.subblock_gain=ed(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=ed(ep.SFBMAX),this.window=ed(ep.SFBMAX),this.count1bits=0,this.sfb_partition_table=null,this.slen=ed(4),this.max_nonzero_coeff=0;var t=this;function Z(t){return new Int32Array(t)}this.assign=function(_){var o;t.xr=(o=_.xr,new Float32Array(o)),t.l3_enc=Z(_.l3_enc),t.scalefac=Z(_.scalefac),t.xrpow_max=_.xrpow_max,t.part2_3_length=_.part2_3_length,t.big_values=_.big_values,t.count1=_.count1,t.global_gain=_.global_gain,t.scalefac_compress=_.scalefac_compress,t.block_type=_.block_type,t.mixed_block_flag=_.mixed_block_flag,t.table_select=Z(_.table_select),t.subblock_gain=Z(_.subblock_gain),t.region0_count=_.region0_count,t.region1_count=_.region1_count,t.preflag=_.preflag,t.scalefac_scale=_.scalefac_scale,t.count1table_select=_.count1table_select,t.part2_length=_.part2_length,t.sfb_lmax=_.sfb_lmax,t.sfb_smin=_.sfb_smin,t.psy_lmax=_.psy_lmax,t.sfbmax=_.sfbmax,t.psymax=_.psymax,t.sfbdivide=_.sfbdivide,t.width=Z(_.width),t.window=Z(_.window),t.count1bits=_.count1bits,t.sfb_partition_table=_.sfb_partition_table.slice(0),t.slen=Z(_.slen),t.max_nonzero_coeff=_.max_nonzero_coeff}},eg=ea.new_int,eS=ea.System,eR=ea.new_int,eA=t1(),Ia=function(t,_,o,c){this.l=eR(1+eA.SBMAX_l),this.s=eR(1+eA.SBMAX_s),this.psfb21=eR(1+eA.PSFB21),this.psfb12=eR(1+eA.PSFB12);var h=this.l,u=this.s;4==arguments.length&&(this.arrL=arguments[0],this.arrS=arguments[1],this.arr21=arguments[2],this.arr12=arguments[3],eS.arraycopy(this.arrL,0,h,0,Math.min(this.arrL.length,this.l.length)),eS.arraycopy(this.arrS,0,u,0,Math.min(this.arrS.length,this.s.length)),eS.arraycopy(this.arr21,0,this.psfb21,0,Math.min(this.arr21.length,this.psfb21.length)),eS.arraycopy(this.arr12,0,this.psfb12,0,Math.min(this.arr12.length,this.psfb12.length)))},eM=ea.new_float,eB=ea.new_float_n,ew=ea.new_int,eE=t1(),eT=ea.new_byte,ey=ea.new_double,ek=ea.new_float,ex=ea.new_float_n,eI=ea.new_int,eP=ea.new_int_n,m2=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=[eg(4),eg(4)];for(var t=0;t<2;t++)for(var _=0;_<2;_++)this.tt[t][_]=new Le},c2=function(){this.last_en_subshort=eB([4,9]),this.lastAttacks=ew(4),this.pefirbuf=eM(19),this.longfact=eM(eE.SBMAX_l),this.shortfact=eM(eE.SBMAX_s),this.attackthre=0,this.attackthre_s=0},S2=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},eV=Ea(),eH=t1();function E1(){function Z(){this.write_timing=0,this.ptr=0,this.buf=eT(40)}this.Class_ID=0,this.lame_encode_frame_init=0,this.iteration_init_init=0,this.fill_buffer_resample_init=0,this.mfbuf=ex([2,E1.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 m2,this.ms_ratio=ek(2),this.padding=0,this.frac_SpF=0,this.slot_lag=0,this.tag_spec=null,this.nMusicCRC=0,this.OldValue=eI(2),this.CurrentStep=eI(2),this.masking_lower=0,this.bv_scf=eI(576),this.pseudohalf=eI(ep.SFBMAX),this.sfb21_extra=!1,this.inbuf_old=[,,],this.blackfilt=Array(2*E1.BPC+1),this.itime=ey(2),this.sideinfo_len=0,this.sb_sample=ex([2,2,18,eH.SBLIMIT]),this.amp_filter=ek(32),this.header=Array(E1.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 Ia,this.minval_l=ek(eH.CBANDS),this.minval_s=ek(eH.CBANDS),this.nb_1=ex([4,eH.CBANDS]),this.nb_2=ex([4,eH.CBANDS]),this.nb_s1=ex([4,eH.CBANDS]),this.nb_s2=ex([4,eH.CBANDS]),this.s3_ss=null,this.s3_ll=null,this.decay=0,this.thm=[,,,,],this.en=[,,,,],this.tot_ener=ek(4),this.loudness_sq=ex([2,2]),this.loudness_sq_save=ek(2),this.mld_l=ek(eH.SBMAX_l),this.mld_s=ek(eH.SBMAX_s),this.bm_l=eI(eH.SBMAX_l),this.bo_l=eI(eH.SBMAX_l),this.bm_s=eI(eH.SBMAX_s),this.bo_s=eI(eH.SBMAX_s),this.npart_l=0,this.npart_s=0,this.s3ind=eP([eH.CBANDS,2]),this.s3ind_s=eP([eH.CBANDS,2]),this.numlines_s=eI(eH.CBANDS),this.numlines_l=eI(eH.CBANDS),this.rnumlines_l=ek(eH.CBANDS),this.mld_cb_l=ek(eH.CBANDS),this.mld_cb_s=ek(eH.CBANDS),this.numlines_s_num1=0,this.numlines_l_num1=0,this.pe=ek(4),this.ms_ratio_s_old=0,this.ms_ratio_l_old=0,this.ms_ener_ratio_old=0,this.blocktype_old=eI(2),this.nsPsy=new c2,this.VBR_seek_table=new S2,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=eP([16,5]),this.bitrate_blockType_Hist=eP([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 eV;for(var t=0;t<this.thm.length;t++)this.thm[t]=new eV;for(var t=0;t<this.header.length;t++)this.header[t]=new Z}E1.MFSIZE=3456+eH.ENCDELAY-eH.MDCTDELAY,E1.MAX_HEADER_BUF=256,E1.MAX_BITS_PER_CHANNEL=4095,E1.MAX_BITS_PER_GRANULE=7680,E1.BPC=320;var eL=ea.new_float,eN=t1(),x2=function(){this.useAdjust=0,this.aaSensitivityP=0,this.adjust=0,this.adjustLimit=0,this.decay=0,this.floor=0,this.l=eL(eN.SBMAX_l),this.s=eL(eN.SBMAX_s),this.psfb21=eL(eN.PSFB21),this.psfb12=eL(eN.PSFB12),this.cb_l=eL(eN.CBANDS),this.cb_s=eL(eN.CBANDS),this.eql_w=eL(eN.BLKSIZE/2)},eO=ea.System,eD=ea.Arrays;function j0(){var t=j0.RMS_WINDOW_TIME_NUMERATOR,_=j0.RMS_WINDOW_TIME_DENOMINATOR,o=[[.038575994352,-3.84664617118067,-.02160367184185,7.81501653005538,-.00123395316851,-11.34170355132042,-.00009291677959,13.05504219327545,-.01655260341619,-12.28759895145294,.02161526843274,9.4829380631979,-.02074045215285,-5.87257861775999,.00594298065125,2.75465861874613,.00306428023191,-.86984376593551,12025322027e-14,.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,-.00000828086748,.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,.264083
100200955,.14590772289388,.15113130533216,-.02459864859345,-.17556493366449,-.11202315195388,-.18823009262115,-.04060034127,.05477720428674,.0478866554818,.0470440968812,-.02217936801134]],c=[[.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 Q(t,_,o,c,h,u){for(;0!=h--;)o[c]=1e-10+t[_+0]*u[0]-o[c-1]*u[1]+t[_-1]*u[2]-o[c-2]*u[3]+t[_-2]*u[4]-o[c-3]*u[5]+t[_-3]*u[6]-o[c-4]*u[7]+t[_-4]*u[8]-o[c-5]*u[9]+t[_-5]*u[10]-o[c-6]*u[11]+t[_-6]*u[12]-o[c-7]*u[13]+t[_-7]*u[14]-o[c-8]*u[15]+t[_-8]*u[16]-o[c-9]*u[17]+t[_-9]*u[18]-o[c-10]*u[19]+t[_-10]*u[20],++c,++_}function D(t,_,o,c,h,u){for(;0!=h--;)o[c]=t[_+0]*u[0]-o[c-1]*u[1]+t[_-1]*u[2]-o[c-2]*u[3]+t[_-2]*u[4],++c,++_}this.InitGainAnalysis=function(o,c){return function(o,c){for(var h=0;h<MAX_ORDER;h++)o.linprebuf[h]=o.lstepbuf[h]=o.loutbuf[h]=o.rinprebuf[h]=o.rstepbuf[h]=o.routbuf[h]=0;switch(0|c){case 48e3:o.reqindex=0;break;case 44100:o.reqindex=1;break;case 32e3:o.reqindex=2;break;case 24e3:o.reqindex=3;break;case 22050:o.reqindex=4;break;case 16e3:o.reqindex=5;break;case 12e3:o.reqindex=6;break;case 11025:o.reqindex=7;break;case 8e3:o.reqindex=8;break;default:return INIT_GAIN_ANALYSIS_ERROR}return o.sampleWindow=0|(c*t+_-1)/_,o.lsum=0,o.rsum=0,o.totsamp=0,eD.ill(o.A,0),INIT_GAIN_ANALYSIS_OK}(o,c)!=INIT_GAIN_ANALYSIS_OK?INIT_GAIN_ANALYSIS_ERROR:(o.linpre=MAX_ORDER,o.rinpre=MAX_ORDER,o.lstep=MAX_ORDER,o.rstep=MAX_ORDER,o.lout=MAX_ORDER,o.rout=MAX_ORDER,eD.fill(o.B,0),INIT_GAIN_ANALYSIS_OK)},this.AnalyzeSamples=function(t,_,h,u,b,v,A){var M,w,y,k,x,N,O;if(0==v)return GAIN_ANALYSIS_OK;switch(O=0,x=v,A){case 1:u=_,b=h;break;case 2:break;default:return GAIN_ANALYSIS_ERROR}for(v<MAX_ORDER?(eO.arraycopy(_,h,t.linprebuf,MAX_ORDER,v),eO.arraycopy(u,b,t.rinprebuf,MAX_ORDER,v)):(eO.arraycopy(_,h,t.linprebuf,MAX_ORDER,MAX_ORDER),eO.arraycopy(u,b,t.rinprebuf,MAX_ORDER,MAX_ORDER));x>0;){N=x>t.sampleWindow-t.totsamp?t.sampleWindow-t.totsamp:x,O<MAX_ORDER?(M=t.linpre+O,w=t.linprebuf,y=t.rinpre+O,k=t.rinprebuf,N>MAX_ORDER-O&&(N=MAX_ORDER-O)):(M=h+O,w=_,y=b+O,k=u),Q(w,M,t.lstepbuf,t.lstep+t.totsamp,N,o[t.reqindex]),Q(k,y,t.rstepbuf,t.rstep+t.totsamp,N,o[t.reqindex]),D(t.lstepbuf,t.lstep+t.totsamp,t.loutbuf,t.lout+t.totsamp,N,c[t.reqindex]),D(t.rstepbuf,t.rstep+t.totsamp,t.routbuf,t.rout+t.totsamp,N,c[t.reqindex]),M=t.lout+t.totsamp,w=t.loutbuf,y=t.rout+t.totsamp,k=t.routbuf;for(var j,F,C,G,W,J,$,ee,ea,et,es,en,er,e_,ei,eo,el,ef,ec=N%8;0!=ec--;)t.lsum+=(j=w[M++])*j,t.rsum+=(F=k[y++])*F;for(ec=N/8;0!=ec--;)t.lsum+=(C=w[M+0])*C+(G=w[M+1])*G+(W=w[M+2])*W+(J=w[M+3])*J+($=w[M+4])*$+(ee=w[M+5])*ee+(ea=w[M+6])*ea+(et=w[M+7])*et,M+=8,t.rsum+=(es=k[y+0])*es+(en=k[y+1])*en+(er=k[y+2])*er+(e_=k[y+3])*e_+(ei=k[y+4])*ei+(eo=k[y+5])*eo+(el=k[y+6])*el+(ef=k[y+7])*ef,y+=8;if(x-=N,O+=N,t.totsamp+=N,t.totsamp==t.sampleWindow){var eh=10*j0.STEPS_per_dB*Math.log10((t.lsum+t.rsum)/t.totsamp*.5+1e-37),eu=eh<=0?0:0|eh;eu>=t.A.length&&(eu=t.A.length-1),t.A[eu]++,t.lsum=t.rsum=0,eO.arraycopy(t.loutbuf,t.totsamp,t.loutbuf,0,MAX_ORDER),eO.arraycopy(t.routbuf,t.totsamp,t.routbuf,0,MAX_ORDER),eO.arraycopy(t.lstepbuf,t.totsamp,t.lstepbuf,0,MAX_ORDER),eO.arraycopy(t.rstepbuf,t.totsamp,t.rstepbuf,0,MAX_ORDER),t.totsamp=0}if(t.totsamp>t.sampleWindow)return GAIN_ANALYSIS_ERROR}return v<MAX_ORDER?(eO.arraycopy(t.linprebuf,v,t.linprebuf,0,MAX_ORDER-v),eO.arraycopy(t.rinprebuf,v,t.rinprebuf,0,MAX_ORDER-v),eO.arraycopy(_,h,t.linprebuf,MAX_ORDER-v,v),eO.arraycopy(u,b,t.rinprebuf,MAX_ORDER-v,v)):(eO.arraycopy(_,h+v-MAX_ORDER,t.linprebuf,0,MAX_ORDER),eO.arraycopy(u,b+v-MAX_ORDER,t.rinprebuf,0,MAX_ORDER)),GAIN_ANALYSIS_OK},this.GetTitleGain=function(t){for(var _=function(t,_){var o,c=0;for(o=0;o<_;o++)c+=t[o];if(0==c)return GAIN_NOT_ENOUGH_SAMPLES;var h=0|Math.ceil(.050000000000000044*c);for(o=_;o-- >0&&!((h-=t[o])<=0););return 64.82-o/j0.STEPS_per_dB}(t.A,t.A.length),o=0;o<t.A.length;o++)t.B[o]+=t.A[o],t.A[o]=0;for(var o=0;o<MAX_ORDER;o++)t.linprebuf[o]=t.lstepbuf[o]=t.loutbuf[o]=t.rinprebuf[o]=t.rstepbuf[o]=t.routbuf[o]=0;return t.totsamp=0,t.lsum=t.rsum=0,_}}j0.STEPS_per_dB=100,j0.MAX_dB=120,j0.GAIN_NOT_ENOUGH_SAMPLES=-24601,j0.GAIN_ANALYSIS_ERROR=0,j0.GAIN_ANALYSIS_OK=1,j0.INIT_GAIN_ANALYSIS_ERROR=0,j0.INIT_GAIN_ANALYSIS_OK=1,j0.YULE_ORDER=10,j0.MAX_ORDER=j0.YULE_ORDER,j0.MAX_
1SAMP_FREQ=48e3,j0.RMS_WINDOW_TIME_NUMERATOR=1,j0.RMS_WINDOW_TIME_DENOMINATOR=20,j0.MAX_SAMPLES_PER_WINDOW=j0.MAX_SAMP_FREQ*j0.RMS_WINDOW_TIME_NUMERATOR/j0.RMS_WINDOW_TIME_DENOMINATOR+1;var eX=ea.new_float,eq=ea.new_int,E2=function(){this.linprebuf=eX(2*j0.MAX_ORDER),this.linpre=0,this.lstepbuf=eX(j0.MAX_SAMPLES_PER_WINDOW+j0.MAX_ORDER),this.lstep=0,this.loutbuf=eX(j0.MAX_SAMPLES_PER_WINDOW+j0.MAX_ORDER),this.lout=0,this.rinprebuf=eX(2*j0.MAX_ORDER),this.rinpre=0,this.rstepbuf=eX(j0.MAX_SAMPLES_PER_WINDOW+j0.MAX_ORDER),this.rstep=0,this.routbuf=eX(j0.MAX_SAMPLES_PER_WINDOW+j0.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=eq(0|j0.STEPS_per_dB*j0.MAX_dB),this.B=eq(0|j0.STEPS_per_dB*j0.MAX_dB)},Ha=function(t){this.bits=t},eY=ea.new_float,ej=ea.new_int,eF=ea.assert,eC=t1(),N2=function(t){this.quantize=t,this.iteration_loop=function(t,_,o,c){var h,u=t.internal_flags,b=eY(ep.SFBMAX),v=eY(576),A=ej(2),M=0,w=u.l3_side,y=new Ha(M);this.quantize.rv.ResvFrameBegin(t,y),M=y.bits;for(var k=0;k<u.mode_gr;k++){h=this.quantize.qupvt.on_pe(t,_,A,M,k,k),u.mode_ext==eC.MPG_MD_MS_LR&&(this.quantize.ms_convert(u.l3_side,k),this.quantize.qupvt.reduce_side(A,o[k],M,h));for(var x=0;x<u.channels_out;x++){var N,O,j=w.tt[k][x];j.block_type!=eC.SHORT_TYPE?(N=0,O=u.PSY.mask_adjust-N):(N=0,O=u.PSY.mask_adjust_short-N),u.masking_lower=Math.pow(10,.1*O),this.quantize.init_outer_loop(u,j),this.quantize.init_xrpow(u,j,v)&&(this.quantize.qupvt.calc_xmin(t,c[k][x],j,b),this.quantize.outer_loop(t,j,b,v,x,A[x])),this.quantize.iteration_finish_one(u,k,x),eF(j.part2_3_length<=E1.MAX_BITS_PER_CHANNEL),eF(j.part2_3_length<=A[x])}}this.quantize.rv.ResvFrameEnd(u,M)}};function q0(t,_,o,c){this.xlen=t,this.linmax=_,this.table=o,this.hlen=c}var eZ={};function Va(){if(w)return M;w=1;var t=ea.VbrMode,_=ea.Float,o=ea.Util,c=ea.new_float,h=ea.new_int,u=ea.assert,b=t1();function m(){var v=Ve(),A=null,M=null,w=null;this.setModules=function(t,_,o){A=t,M=_,w=o},this.IPOW20=function(t){return u(0<=t&&t<m.Q_MAX),j[t]};var y=m.IXMAX_VAL+2,k=m.Q_MAX,x=m.Q_MAX2;m.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 N=[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,2,2,3,3,3,2,0];this.pretab=N,this.sfBandIndex=[new Ia([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 Ia([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 Ia([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 Ia([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 Ia([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 Ia([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 Ia([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 Ia([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 Ia([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 O=c(k+x+1),j=c(k),F=c(y),C=c(y);function v0(t,_){var o=w.ATHformula(_,t);return o-=100,o=Math.pow(10,o/10+t.ATHlower)}function a(t){this.s=t}this.adj43=C,this.iteration_init=function(t){var o,c,h,u,v,M,w=t.internal_flags,N=w.l3_side;if(0==w.iteration_init_init){for(w.iteration_init_init=1,N.main_data_begin=0,function(t){for(var o=t.internal_flags.ATH.l,c=t.internal_flags.ATH.psfb21,h=t.internal_flags.ATH.s,u=t.internal_flags.ATH.psfb12,v=t.internal_flags,A=t.out_samplerate,M=0;M<b.SBMAX_l;M++){var w=v.scalefac_band.l[M],y=v.scalefac_band.l[M+1];o[M]=_.MAX_VALUE;for(var k=w;k<y;k++){var x=k*A/1152,N=v0(t,x);o[M]=Math.min(o[M],N)}}for(var M=0;M<b.PSFB21;M++){var w=v.scalefac_band.psfb21[M],y=v.scalefac_band.psfb21[M+1];c[M]=_.MAX_VALUE;for(var k=w;k<y;k++){var x=k*A/1152,N=v0(t,x);c[M]=Math.min(c[M],N)}}for(var M=0;M<b.SBMAX_s;M++){var w=v.scalefac_band.s[M],y=v.scalefac_band.s[M+1];h[M]=_.MAX_VALUE;for(var k=w;k<y;k++){var x=k*A/384,N=v0(t,x);h[M]=Math.min(h[M],N)}h[M]*=v.scalefac_band.s[M+1]-v.scalefac_band.s[M]}for(var M=0;M<b.PSFB12;M++){var w=v.scalefac_band.psfb12[M],y=v.scalefac_band.psfb12[M+1];u[M]=_.MAX_VALUE;for(var k=w;k<y;k++){var x=k*A/384,N=v0(t,x);u[M]=Math.min(u[M],N)}u[M]*=v.scalefac_band.s[13]-v.scalefac_band.s[12]}if(t.noATH){for(var M=0;M<b.SBMAX_l;M++)o[M]=1e-20;for(var M=0;M<b.PSFB21;M++)c[M]=1e-20;for(var M=0;M<b.SBMAX_s;M++)h[M]=1e-20;for(var M=0;M<b.PSFB12;M++)u[M]=1e-20}v.ATH.floor=10*Math.log10(v0(t,-1))}(t),F[0]=0,M=1;M<y;M++)F[M]=Math.pow(M,4/3);for(M=0;M<y-1;M++)C[M]=M+1-Math.pow(.5*(F[M]+F[M+1]),.75);for(C[M]=.5,M=0;M<k;M++)j[M]=Math.pow(2,-((M-210)*.1875));for(M=0;M<=k+x;M++)O[M]=Math.pow(2,(M-210-x)*.25);for(A.huffman_init(w),(M=t.exp_nspsytune>>2&63)>=32&&(M-=64),o=Math.pow(10,M/4/10),(M=t.exp_nspsytune>>8&63)>=32&&(M-=64),c=Math.pow(10,M/4/10),(M=t.exp_nspsytune>>14&63)>=32&&(M-=64),h=Math.pow(10,M/4/10),(M=t.exp_nspsytune>>20&63)>=32&&(M-=64),u=h*Math.pow(10,M/4/10),M=0;M<b.SBMAX_l;M++)v=M<=6?o:M<=13?c:M<=20?h:u,w.nsPsy.longfact[M]=v;for(M=0;M<b.SBMAX_s;M++)v=M<=5?o:M<=10?c:M<=11?h:u,w.nsPsy.shortfact[M]=v}}
1,this.on_pe=function(t,_,o,c,u,b){var v,A,w=t.internal_flags,y=0,k=h(2),x=new Ha(y),N=M.ResvMaxBits(t,c,x,b),O=(y=x.bits)+N;for(O>E1.MAX_BITS_PER_GRANULE&&(O=E1.MAX_BITS_PER_GRANULE),v=0,A=0;A<w.channels_out;++A)o[A]=Math.min(E1.MAX_BITS_PER_CHANNEL,y/w.channels_out),k[A]=0|o[A]*_[u][A]/700-o[A],k[A]>3*c/4&&(k[A]=3*c/4),k[A]<0&&(k[A]=0),k[A]+o[A]>E1.MAX_BITS_PER_CHANNEL&&(k[A]=Math.max(0,E1.MAX_BITS_PER_CHANNEL-o[A])),v+=k[A];if(v>N)for(A=0;A<w.channels_out;++A)k[A]=N*k[A]/v;for(A=0;A<w.channels_out;++A)o[A]+=k[A],N-=k[A];for(v=0,A=0;A<w.channels_out;++A)v+=o[A];if(v>E1.MAX_BITS_PER_GRANULE)for(A=0;A<w.channels_out;++A)o[A]*=E1.MAX_BITS_PER_GRANULE,o[A]/=v,o[A];return O},this.reduce_side=function(t,_,o,c){u(t[0]+t[1]<=E1.MAX_BITS_PER_GRANULE);var h=.33*(.5-_)/.5;h<0&&(h=0),h>.5&&(h=.5);var b=0|.5*h*(t[0]+t[1]);b>E1.MAX_BITS_PER_CHANNEL-t[0]&&(b=E1.MAX_BITS_PER_CHANNEL-t[0]),b<0&&(b=0),t[1]>=125&&(t[1]-b>125?(t[0]<o&&(t[0]+=b),t[1]-=b):(t[0]+=t[1]-125,t[1]=125)),(b=t[0]+t[1])>c&&(t[0]=c*t[0]/b,t[1]=c*t[1]/b),u(t[0]<=E1.MAX_BITS_PER_CHANNEL),u(t[1]<=E1.MAX_BITS_PER_CHANNEL),u(t[0]+t[1]<=E1.MAX_BITS_PER_GRANULE)},this.athAdjust=function(t,_,c){var h=o.FAST_LOG10_X(_,10),u=t*t,b=0;return h-=c,u>1e-20&&(b=1+o.FAST_LOG10_X(u,.11073126151982021)),b<0&&(b=0),h*=b,Math.pow(10,.1*(h+=c+90.30873362-94.82444863))},this.calc_xmin=function(_,o,c,h){var u,A=0,M=_.internal_flags,w=0,y=0,k=M.ATH,x=c.xr,N=_.VBR==t.vbr_mtrh?1:0,O=M.masking_lower;for((_.VBR==t.vbr_mtrh||_.VBR==t.vbr_mt)&&(O=1),u=0;u<c.psy_lmax;u++){G=(C=_.VBR==t.vbr_rh||_.VBR==t.vbr_mtrh?athAdjust(k.adjust,k.l[u],k.floor):k.adjust*k.l[u])/(J=c.width[u]),W=2220446049250313e-31,$=J>>1,F=0;do F+=ee=x[w]*x[w],W+=ee<G?ee:G,F+=ea=x[++w]*x[w],W+=ea<G?ea:G,w++;while(--$>0);if(F>C&&y++,u==b.SBPSY_l){var j=C*M.nsPsy.longfact[u];W<j&&(W=j)}if(0!=N&&(C=W),!_.ATHonly){var F,C,G,W,J,$,ee,ea,j,et=o.en.l[u];et>0&&(j=F*o.thm.l[u]*O/et,0!=N&&(j*=M.nsPsy.longfact[u]),C<j&&(C=j))}0!=N?h[A++]=C:h[A++]=C*M.nsPsy.longfact[u]}var es=575;if(c.block_type!=b.SHORT_TYPE)for(var en=576;
10!=en--&&v.EQ(x[en],0);)es=en;c.max_nonzero_coeff=es;for(var er=c.sfb_smin;u<c.psymax;er++,u+=3){for(ei=_.VBR==t.vbr_rh||_.VBR==t.vbr_mtrh?athAdjust(k.adjust,k.s[er],k.floor):k.adjust*k.s[er],J=c.width[u],e_=0;e_<3;e_++){var J,e_,ei,C,G,W,F=0,$=J>>1;G=ei/J,W=2220446049250313e-31;do F+=ee=x[w]*x[w],W+=ee<G?ee:G,F+=ea=x[++w]*x[w],W+=ea<G?ea:G,w++;while(--$>0);if(F>ei&&y++,er==b.SBPSY_s){var j=ei*M.nsPsy.shortfact[er];W<j&&(W=j)}if(C=0!=N?W:ei,!_.ATHonly&&!_.ATHshort){var ee,ea,j,et=o.en.s[er][e_];et>0&&(j=F*o.thm.s[er][e_]*O/et,0!=N&&(j*=M.nsPsy.shortfact[er]),C<j&&(C=j))}0!=N?h[A++]=C:h[A++]=C*M.nsPsy.shortfact[er]}_.useTemporal&&(h[A-3]>h[A-3+1]&&(h[A-3+1]+=(h[A-3]-h[A-3+1])*M.decay),h[A-3+1]>h[A-3+2]&&(h[A-3+2]+=(h[A-3+1]-h[A-3+2])*M.decay))}return y},this.calc_noise_core=function(t,_,o,h){var u,b=0,v=_.s,A=t.l3_enc;if(v>t.count1)for(;0!=o--;)u=t.xr[v],v++,b+=u*u,u=t.xr[v],v++,b+=u*u;else if(v>t.big_values){var u,M=c(2);for(M[0]=0,M[1]=h;0!=o--;)u=Math.abs(t.xr[v])-M[A[v]],v++,b+=u*u,u=Math.abs(t.xr[v])-M[A[v]],v++,b+=u*u}else for(;0!=o--;)u=Math.abs(t.xr[v])-F[A[v]]*h,v++,b+=u*u,u=Math.abs(t.xr[v])-F[A[v]]*h,v++,b+=u*u;return _.s=v,b},this.calc_noise=function(t,_,c,h,b){var v,A,M=0,w=0,y=0,k=0,x=0,j=-20,F=0,C=t.scalefac,G=0;for(h.over_SSD=0,v=0;v<t.psymax;v++){var W,J=t.global_gain-(C[G++]+(0!=t.preflag?N[v]:0)<<t.scalefac_scale+1)-8*t.subblock_gain[t.window[v]],$=0;if(null!=b&&b.step[v]==J)$=b.noise[v],F+=t.width[v],c[M++]=$/_[w++],$=b.noise_log[v];else{var ee,ea=(u(0<=J+m.Q_MAX2&&J<m.Q_MAX),O[J+m.Q_MAX2]);A=t.width[v]>>1,F+t.width[v]>t.max_nonzero_coeff&&(A=(ee=t.max_nonzero_coeff-F+1)>0?ee>>1:0);var et=new a(F);$=this.calc_noise_core(t,et,A,ea),F=et.s,null!=b&&(b.step[v]=J,b.noise[v]=$),$=c[M++]=$/_[w++],$=o.FAST_LOG10(Math.max($,1e-20)),null!=b&&(b.noise_log[v]=$)}null!=b&&(b.global_gain=t.global_gain),x+=$,$>0&&(W=Math.max(0|10*$+.5,1),h.over_SSD+=W*W,y++,k+=$),j=Math.max(j,$)}return h.over_count=y,h.tot_noise=x,h.over_noise=k,h.max_noise=j,y},this.set_pinfo=function(t,_,o,h,v){var A,M,w,y,k,x=t.internal_flags,O=0==_.scalefac_scale?.5:1,j=_.scalefac,F=c(L3Side.SFBMAX),C=c(L3Side.SFBMAX),G=new CalcNoiseResult;calc_xmin(t,o,_,F),calc_noise(_,F,C,G,null);var W=0;for(M=_.sfb_lmax,_.block_type!=b.SHORT_TYPE&&0==_.mixed_block_flag&&(M=22),A=0;A<M;A++){var J=x.scalefac_band.l[A],$=x.scalefac_band.l[A+1],ee=$-J;for(y=0;W<$;W++)y+=_.xr[W]*_.xr[W];y/=ee,k=1e15,x.pinfo.en[h][v][A]=k*y,x.pinfo.xfsf[h][v][A]=k*F[A]*C[A]/ee,o.en.l[A]>0&&!t.ATHonly?y/=o.en.l[A]:y=0,x.pinfo.thr[h][v][A]=k*Math.max(y*o.thm.l[A],x.ATH.l[A]),x.pinfo.LAMEsfb[h][v][A]=0,0!=_.preflag&&A>=11&&(x.pinfo.LAMEsfb[h][v][A]=-O*N[A]),A<b.SBPSY_l&&(u(j[A]>=0),x.pinfo.LAMEsfb[h][v][A]-=O*j[A])}if(_.block_type==b.SHORT_TYPE)for(M=A,A=_.sfb_smin;A<b.SBMAX_s;A++)for(var J=x.scalefac_band.s[A],$=x.scalefac_band.s[A+1],ee=$-J,ea=0;ea<3;ea++){for(y=0,w=J;w<$;w++)y+=_.xr[W]*_.xr[W],W++;y=Math.max(y/ee,1e-20),k=1e15,x.pinfo.en_s[h][v][3*A+ea]=k*y,x.pinfo.xfsf_s[h][v][3*A+ea]=k*F[M]*C[M]/ee,o.en.s[A][ea]>0?y/=o.en.s[A][ea]:y=0,(t.ATHonly||t.ATHshort)&&(y=0),x.pinfo.thr_s[h][v][3*A+ea]=k*Math.max(y*o.thm.s[A][ea],x.ATH.s[A]),x.pinfo.LAMEsfb_s[h][v][3*A+ea]=-2*_.subblock_gain[ea],A<b.SBPSY_s&&(x.pinfo.LAMEsfb_s[h][v][3*A+ea]-=O*j[M]),M++}x.pinfo.LAMEqss[h][v]=_.global_gain,x.pinfo.LAMEmainbits[h][v]=_.part2_3_length+_.part2_length,x.pinfo.LAMEsfbits[h][v]=_.part2_length,x.pinfo.over[h][v]=G.over_count,x.pinfo.max_noise[h][v]=10*G.max_noise,x.pinfo.over_noise[h][v]=10*G.over_noise,x.pinfo.tot_noise[h][v]=10*G.tot_noise,x.pinfo.over_SSD[h][v]=G.over_SSD}}return m.Q_MAX=257,m.Q_MAX2=116,m.LARGE_BITS=1e5,m.IXMAX_VAL=8206,M=m}function Oa(){if(k)return y;k=1;var t=ea.System,_=ea.Arrays,o=ea.new_int,c=ea.assert,h=t1(),u=Va();function f0(){var b=null;function m(t){this.bits=0|t}this.qupvt=null,this.setModules=function(t){this.qupvt=t,b=t};var v=[[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 s0(t,_,o,c,h,u){var b=.5946/_;for(t>>=1;0!=t--;)h[u++]=b>o[c++]?0:1,h[u++]=b>o[c++]?0:1}function K(t,_,o,c,h,u){var v,A,M,w,y,k,x,N,O=(t>>=1)%2;for(t>>=1;0!=t--;)y=o[c++]*_,k=o[c++]*_,x=0|y,v=o[c++]*_,N=0|k,A=o[c++]*_,M=0|v,y+=b.adj43[x],w=0|A,k+=b.adj43[N],h[u++]=0|y,v+=b.adj43[M],h[u++]=0|k,A+=b.adj43[w],h[u++]=0|v,h[u++]=0|A;0!=O&&(y=o[c++]*_,k=o[c++]*_,x=0|y,N=0|k,y+=b.adj43[x],k+=b.adj43[N],h[u++]=0|y,h[u++]=0|k)}var A=[1,2,5,7,7,10,10,13,13,13,13,13,13,13,13];function l(t,_,o,c){var h,b,v=function(t,_,o){var c=0,h=0;
1do{var u=t[_++],b=t[_++];c<u&&(c=u),h<b&&(h=b)}while(_<o);return c<h&&(c=h),c}(t,_,o);switch(v){case 0:return v;case 1:return function(t,_,o,c){var h=0,u=eZ.ht[1].hlen;do{var b=2*t[_+0]+t[_+1];_+=2,h+=u[b]}while(_<o);return c.bits+=h,1}(t,_,o,c);case 2:case 3:return function(t,_,o,c,h){var u,b,v=0,A=eZ.ht[c].xlen;b=2==c?eZ.table23:eZ.table56;do{var M=t[_+0]*A+t[_+1];_+=2,v+=b[M]}while(_<o);return u=65535&v,(v>>=16)>u&&(v=u,c++),h.bits+=v,c}(t,_,o,A[v-1],c);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(t,_,o,c,h){var u=0,b=0,v=0,A=eZ.ht[c].xlen,M=eZ.ht[c].hlen,w=eZ.ht[c+1].hlen,y=eZ.ht[c+2].hlen;do{var k=t[_+0]*A+t[_+1];_+=2,u+=M[k],b+=w[k],v+=y[k]}while(_<o);var x=c;return u>b&&(u=b,x++),u>v&&(u=v,x=c+2),h.bits+=u,x}(t,_,o,A[v-1],c);default:if(v>u.IXMAX_VAL)return c.bits=u.LARGE_BITS,-1;for(v-=15,h=24;h<32&&!(eZ.ht[h].linmax>=v);h++);for(b=h-8;b<24&&!(eZ.ht[b].linmax>=v);b++);return function(t,_,o,c,h,u){var b,v=65536*eZ.ht[c].xlen+eZ.ht[h].xlen,A=0;do{var M=t[_++],w=t[_++];0!=M&&(M>14&&(M=15,A+=v),M*=16),0!=w&&(w>14&&(w=15,A+=v),M+=w),A+=eZ.largetbl[M]}while(_<o);return b=65535&A,(A>>=16)>b&&(A=b,c=h),u.bits+=A,c}(t,_,o,b,h,c)}}function p(t,_,o,c,u,b,v,A){for(var M=_.big_values,w=2;w<h.SBMAX_l+1;w++){var y=t.scalefac_band.l[w];if(y>=M)break;var k=u[w-2]+_.count1bits;if(o.part2_3_length<=k)break;var x=new m(k),N=l(c,y,M,x);k=x.bits,o.part2_3_length<=k||(o.assign(_),o.part2_3_length=k,o.region0_count=b[w-2],o.region1_count=w-2-b[w-2],o.table_select[0]=v[w-2],o.table_select[1]=A[w-2],o.table_select[2]=N)}}this.noquant_count_bits=function(t,_,o){var u,b=_.l3_enc,v=Math.min(576,_.max_nonzero_coeff+2>>1<<1);for(null!=o&&(o.sfb_count1=0);v>1&&!(b[v-1]|b[v-2]);v-=2);_.count1=v;for(var A=0,M=0;v>3&&!(((b[v-1]|b[v-2]|b[v-3]|b[v-4])&2147483647)>1);v-=4)u=((2*b[v-4]+b[v-3])*2+b[v-2])*2+b[v-1],A+=eZ.t32l[u],M+=eZ.t33l[u];var w=A;if(_.count1table_select=0,A>M&&(w=M,_.count1table_select=1),_.count1bits=w,_.big_values=v,0==v)return w;if(_.block_type==h.SHORT_TYPE)(A=3*t.scalefac_band.s[3])>_.big_values&&(A=_.big_values),M=_.big_values;else if(_.block_type==h.NORM_TYPE){if(c((A=_.region0_count=t.bv_scf[v-2])+(M=_.region1_count=t.bv_scf[v-1])+2<h.SBPSY_l),M=t.scalefac_band.l[A+M+2],A=t.scalefac_band.l[A+1],M<v){var y=new m(w);_.table_select[2]=l(b,M,v,y),w=y.bits}}else _.region0_count=7,_.region1_count=h.SBMAX_l-1-7-1,(A=t.scalefac_band.l[8])>(M=v)&&(A=M);if(A=Math.min(A,v),M=Math.min(M,v),0<A){var y=new m(w);_.table_select[0]=l(b,0,A,y),w=y.bits}if(A<M){var y=new m(w);_.table_select[1]=l(b,A,M,y),w=y.bits}if(2==t.use_best_huffman&&(_.part2_3_length=w,best_huffman_divide(t,_),w=_.part2_3_length),null!=o&&_.block_type==h.NORM_TYPE){for(var k=0;t.scalefac_band.l[k]<_.big_values;)k++;o.sfb_count1=k}return w},this.count_bits=function(t,o,v,A){var M=v.l3_enc,w=u.IXMAX_VAL/b.IPOW20(v.global_gain);if(v.xrpow_max>w)return u.LARGE_BITS;if(function(t,o,u,v,A){var M,w,y,k=0,x=0,N=0,O=0,j=0,F=o,C=0,G=t,W=0;for(y=null!=A&&v.global_gain==A.global_gain,w=v.block_type==h.SHORT_TYPE?38:21,M=0;M<=w;M++){var J=-1;if((y||v.block_type==h.NORM_TYPE)&&(J=v.global_gain-(v.scalefac[M]+(0!=v.preflag?b.pretab[M]:0)<<v.scalefac_scale+1)-8*v.subblock_gain[v.window[M]]),c(v.width[M]>=0),y&&A.step[M]==J)0!=x&&(K(x,u,G,W,F,C),x=0),0!=N&&(s0(N,u,G,W,F,C),N=0);else{var $,ee=v.width[M];if(k+v.width[M]>v.max_nonzero_coeff&&($=v.max_nonzero_coeff-k+1,_.fill(o,v.max_nonzero_coeff,576,0),(ee=$)<0&&(ee=0),M=w+1),0==x&&0==N&&(F=o,C=j,G=t,W=O),null!=A&&A.sfb_count1>0&&M>=A.sfb_count1&&A.step[M]>0&&J>=A.step[M]?(0!=x&&(K(x,u,G,W,F,C),x=0,F=o,C=j,G=t,W=O),N+=ee):(0!=N&&(s0(N,u,G,W,F,C),N=0,F=o,C=j,G=t,W=O),x+=ee),ee<=0){0!=N&&(s0(N,u,G,W,F,C),N=0),0!=x&&(K(x,u,G,W,F,C),x=0);break}}M<=w&&(j+=v.width[M],O+=v.width[M],k+=v.width[M])}0!=x&&(K(x,u,G,W,F,C),x=0),0!=N&&(s0(N,u,G,W,F,C),N=0)}(o,M,b.IPOW20(v.global_gain),v,A),2&t.substep_shaping)for(var y=0,k=v.global_gain+v.scalefac_scale,x=.634521682242439/b.IPOW20(k),N=0;N<v.sfbmax;N++){var O,j=v.width[N];if(0==t.pseudohalf[N])y+=j;else for(O=y,y+=j;O<y;++O)M[O]=o[O]>=x?M[O]:0}return this.noquant_count_bits(t,v,A)},this.best_huffman_divide=function(t,_){var c=new Le,b=_.l3_enc,v=o(23),A=o(23),M=o(23),w=o(23);
vendor: 4,842 bytes, lines 1-2
1if(!(_.block_type==h.SHORT_TYPE&&1==t.mode_gr)){c.assign(_),_.block_type==h.NORM_TYPE&&(function(t,_,o,c,h,b,v){for(var A=_.big_values,M=0;M<=22;M++)c[M]=u.LARGE_BITS;for(var M=0;M<16;M++){var w=t.scalefac_band.l[M+1];if(w>=A)break;var y=0,k=new m(y),x=l(o,0,w,k);y=k.bits;for(var N=0;N<8;N++){var O=t.scalefac_band.l[M+N+2];if(O>=A)break;var j=y,F=l(o,w,O,k=new m(j));j=k.bits,c[M+N]>j&&(c[M+N]=j,h[M+N]=M,b[M+N]=x,v[M+N]=F)}}}(t,_,b,v,A,M,w),p(t,c,_,b,v,A,M,w));var y=c.big_values;if(!(0==y||(b[y-2]|b[y-1])>1)&&!((y=_.count1+2)>576)){c.assign(_),c.count1=y;for(var k=0,x=0;y>c.big_values;y-=4){var N=((2*b[y-4]+b[y-3])*2+b[y-2])*2+b[y-1];k+=eZ.t32l[N],x+=eZ.t33l[N]}if(c.big_values=y,c.count1table_select=0,k>x&&(k=x,c.count1table_select=1),c.count1bits=k,c.block_type==h.NORM_TYPE)p(t,c,_,b,v,A,M,w);else{if(c.part2_3_length=k,(k=t.scalefac_band.l[8])>y&&(k=y),k>0){var O=new m(c.part2_3_length);c.table_select[0]=l(b,0,k,O),c.part2_3_length=O.bits}if(y>k){var O=new m(c.part2_3_length);c.table_select[1]=l(b,k,y,O),c.part2_3_length=O.bits}_.part2_3_length>c.part2_3_length&&_.assign(c)}}}};var M=[1,1,1,1,8,2,2,2,4,4,4,8,8,8,16,16],w=[1,2,4,8,1,2,4,8,2,4,8,2,4,8,4,8],y=[0,0,0,0,3,1,1,1,2,2,2,3,3,3,4,4],k=[0,1,2,3,0,1,2,3,1,2,3,1,2,3,2,3];f0.slen1_tab=y,f0.slen2_tab=k,this.best_scalefac_store=function(t,_,o,c){var u,v,A,x,N=c.tt[_][o],O=0;for(A=0,u=0;u<N.sfbmax;u++){var j=N.width[u];for(A+=j,x=-j;x<0&&0==N.l3_enc[x+A];x++);0==x&&(N.scalefac[u]=O=-2)}if(0==N.scalefac_scale&&0==N.preflag){var F=0;for(u=0;u<N.sfbmax;u++)N.scalefac[u]>0&&(F|=N.scalefac[u]);if(!(1&F)&&0!=F){for(u=0;u<N.sfbmax;u++)N.scalefac[u]>0&&(N.scalefac[u]>>=1);N.scalefac_scale=O=1}}if(0==N.preflag&&N.block_type!=h.SHORT_TYPE&&2==t.mode_gr){for(u=11;u<h.SBPSY_l&&!(N.scalefac[u]<b.pretab[u]&&-2!=N.scalefac[u]);u++);if(u==h.SBPSY_l){for(u=11;u<h.SBPSY_l;u++)N.scalefac[u]>0&&(N.scalefac[u]-=b.pretab[u]);N.preflag=O=1}}for(v=0;v<4;v++)c.scfsi[o][v]=0;for(2==t.mode_gr&&1==_&&c.tt[0][o].block_type!=h.SHORT_TYPE&&c.tt[1][o].block_type!=h.SHORT_TYPE&&(function(t,_){for(var o,c=_.tt[1][t],u=_.tt[0][t],b=0;b<eZ.scfsi_band.length-1;b++){for(o=eZ.scfsi_band[b];o<eZ.scfsi_band[b+1]&&!(u.scalefac[o]!=c.scalefac[o]&&c.scalefac[o]>=0);o++);if(o==eZ.scfsi_band[b+1]){for(o=eZ.scfsi_band[b];o<eZ.scfsi_band[b+1];o++)c.scalefac[o]=-1;_.scfsi[t][b]=1}}var v=0,A=0;for(o=0;o<11;o++)-1!=c.scalefac[o]&&(A++,v<c.scalefac[o]&&(v=c.scalefac[o]));for(var x=0,N=0;o<h.SBPSY_l;o++)-1!=c.scalefac[o]&&(N++,x<c.scalefac[o]&&(x=c.scalefac[o]));for(var b=0;b<16;b++)if(v<M[b]&&x<w[b]){var O=y[b]*A+k[b]*N;c.part2_length>O&&(c.part2_length=O,c.scalefac_compress=b)}}(o,c),O=0),u=0;u<N.sfbmax;u++)-2==N.scalefac[u]&&(N.scalefac[u]=0);0!=O&&(2==t.mode_gr?this.scale_bitcount(N):this.scale_bitcount_lsf(t,N))};var x=[0,18,36,54,54,36,54,72,54,72,90,72,90,108,108,126],N=[0,18,36,54,51,35,53,71,52,70,88,69,87,105,104,122],O=[0,10,20,30,33,21,31,41,32,42,52,43,53,63,64,74];this.scale_bitcount=function(t){var _,o,v,A=0,y=0,k=t.scalefac;if(c(function(t,_){for(var o=0;o<_;++o)if(t[o]<0)return!1;return!0}(k,t.sfbmax)),t.block_type==h.SHORT_TYPE)v=x,0!=t.mixed_block_flag&&(v=N);else if(v=O,0==t.preflag){for(o=11;o<h.SBPSY_l&&!(k[o]<b.pretab[o]);o++);if(o==h.SBPSY_l)for(t.preflag=1,o=11;o<h.SBPSY_l;o++)k[o]-=b.pretab[o]}for(o=0;o<t.sfbdivide;o++)A<k[o]&&(A=k[o]);for(;o<t.sfbmax;o++)y<k[o]&&(y=k[o]);for(t.part2_length=u.LARGE_BITS,_=0;_<16;_++)A<M[_]&&y<w[_]&&t.part2_length>v[_]&&(t.part2_length=v[_],t.scalefac_compress=_);return t.part2_length==u.LARGE_BITS};var j=[[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(_,u){var v,A,M,w,y,k,x,N,O,C,G,W,J=o(4),$=u.scalefac;for(y=0!=u.preflag?2:0,G=0;G<4;G++)J[G]=0;if(u.block_type==h.SHORT_TYPE){k=1;var ee=b.nr_of_sfb_block[y][k];for(W=0,x=0;x<4;x++)for(N=ee[x]/3,G=0;G<N;G++,W++)for(O=0;O<3;O++)$[3*W+O]>J[x]&&(J[x]=$[3*W+O])}else{k=0;var ee=b.nr_of_sfb_block[y][k];for(W=0,x=0;x<4;x++)for(N=ee[x],G=0;G<N;G++,W++)$[W]>J[x]&&(J[x]=$[W])}for(C=!1,x=0;x<4;x++)J[x]>j[y][x]&&(C=!0);if(!C){for(u.sfb_partition_table=b.nr_of_sfb_block[y][k],x=0;x<4;x++)u.slen[x]=F[J[x]];switch(v=u.slen[0],A=u.slen[1],M=u.slen[2],w=u.slen[3],y){case 0:u.scalefac_compress=(5*v+A<<4)+(M<<2)+w;break;case 1:u.scalefac_compress=400+(5*v+A<<2)+M;break;case 2:u.scalefac_compress=500+3*v+A;break;default:t.err.printf(`intensity stereo not implemented yet
2`)}}if(!C)for(c(null!=u.sfb_partition_table),u.part2_length=0,x=0;x<4;x++)u.part2_length+=u.slen[x]*u.sfb_partition_table[x];return C};var F=[0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4];this.huffman_init=function(t){for(var _=2;_<=576;_+=2){for(var o,c=0;t.scalefac_band.l[++c]<_;);for(o=v[c][0];t.scalefac_band.l[o+1]>_;)o--;for(o<0&&(o=v[c][0]),t.bv_scf[_-2]=o,o=v[c][1];t.scalefac_band.l[o+t.bv_scf[_-2]+2]>_;)o--;o<0&&(o=v[c][1]),t.bv_scf[_-1]=o}}}return y=f0}
2function Ve(){if(N)return x;N=1;var t=ea.System,_=ea.Arrays,o=ea.new_byte,c=ea.new_float_n,h=ea.new_int,u=ea.assert,b=Oa(),v=t1();function m(){var A=Oe(),M=this,w=null,y=null,k=null,x=null;this.setModules=function(t,_,o,c){w=t,y=_,k=o,x=c};var N=null,O=0,j=0,F=0;function p(_,o,c){for(;c>0;){var h;0==F&&(F=8,u(++j<A.LAME_MAXMP3BUFFER),u(_.header[_.w_ptr].write_timing>=O),_.header[_.w_ptr].write_timing==O&&(t.arraycopy(_.header[_.w_ptr].buf,0,N,j,_.sideinfo_len),j+=_.sideinfo_len,O+=8*_.sideinfo_len,_.w_ptr=_.w_ptr+1&E1.MAX_HEADER_BUF-1),N[j]=0),h=Math.min(c,F),c-=h,F-=h,N[j]|=o>>c<<F,O+=h}}function B(t,_){var o,c=t.internal_flags;if(_>=8&&(p(c,76,8),_-=8),_>=8&&(p(c,65,8),_-=8),_>=8&&(p(c,77,8),_-=8),_>=8&&(p(c,69,8),_-=8),_>=32){var h=k.getLameShortVersion();if(_>=32)for(o=0;o<h.length&&_>=8;++o)_-=8,p(c,h.charAt(o),8)}for(;_>=1;_-=1)p(c,c.ancillary_flag,1),c.ancillary_flag^=t.disable_reservoir?0:1}function I(t,_,o){for(var c=t.header[t.h_ptr].ptr;o>0;){var h=Math.min(o,8-(7&c));o-=h,t.header[t.h_ptr].buf[c>>3]|=_>>o<<8-(7&c)-h,c+=h}t.header[t.h_ptr].ptr=c}function v0(t,_){t<<=8;for(var o=0;o<8;o++)((_<<=1)^(t<<=1))&65536&&(_^=32773);return _}function a(t,_){var o,c=eZ.ht[_.count1table_select+32],h=0,b=_.big_values,v=_.big_values;for(u(_.count1table_select<2),o=(_.count1-_.big_values)/4;o>0;--o){var A=0,M=0;0!=_.l3_enc[b+0]&&(M+=8,_.xr[v+0]<0&&A++),0!=_.l3_enc[b+1]&&(M+=4,A*=2,_.xr[v+1]<0&&A++),0!=_.l3_enc[b+2]&&(M+=2,A*=2,_.xr[v+2]<0&&A++),0!=_.l3_enc[b+3]&&(M++,A*=2,_.xr[v+3]<0&&A++),b+=4,v+=4,p(t,A+c.table[M],c.hlen[M]),h+=c.hlen[M]}return h}function S(t,_,o,c,h){var b=eZ.ht[_],v=0;if(0==_)return v;for(var A=o;A<c;A+=2){var M=0,w=0,y=b.xlen,k=b.xlen,x=0,N=h.l3_enc[A],O=h.l3_enc[A+1];if(0!=N&&(h.xr[A]<0&&x++,M--),_>15){if(N>14){var j=N-15;u(j<=b.linmax),x|=j<<1,w=y,N=15}if(O>14){var F=O-15;u(F<=b.linmax),x<<=y,x|=F,w+=y,O=15}k=16}0!=O&&(x<<=1,h.xr[A+1]<0&&x++,M--),N=N*k+O,w-=M,M+=b.hlen[N],p(t,b.table[N],M),p(t,x,w),v+=M+w}return v}function L(t,_){var o=3*t.scalefac_band.s[3];return o>_.big_values&&(o=_.big_values),S(t,_.table_select[0],0,o,_)+S(t,_.table_select[1],o,_.big_values,_)}function V(t,_){o=_.big_values;var o,c,h,b=_.region0_count+1;return u(b<t.scalefac_band.l.length),c=t.scalefac_band.l[b],u((b+=_.region1_count+1)<t.scalefac_band.l.length),h=t.scalefac_band.l[b],c>o&&(c=o),h>o&&(h=o),S(t,_.table_select[0],0,c,_)+S(t,_.table_select[1],c,h,_)+S(t,_.table_select[2],h,o,_)}function P(){this.total=0}function E(_,o){var c,h,u,b,v,A=_.internal_flags;return v=A.w_ptr,-1==(b=A.h_ptr-1)&&(b=E1.MAX_HEADER_BUF-1),c=A.header[b].write_timing-O,o.total=c,c>=0&&(h=1+b-v,b<v&&(h=1+b-v+E1.MAX_HEADER_BUF),c-=8*h*A.sideinfo_len),c+=u=M.getframebits(_),o.total+=u,o.total%8!=0?o.total=1+o.total/8:o.total=o.total/8,o.total+=j+1,c<0&&t.err.println(`strange error flushing buffer ... 
3`),c}this.getframebits=function(t){var _,o=t.internal_flags;return _=0!=o.bitrate_index?eZ.bitrate_table[t.version][o.bitrate_index]:t.brate,8*(0|(t.version+1)*72e3*_/t.out_samplerate+o.padding)},this.CRC_writeheader=function(t,_){var o=65535;o=v0(255&_[2],o),o=v0(255&_[3],o);for(var c=6;c<t.sideinfo_len;c++)o=v0(255&_[c],o);_[4]=byte(o>>8),_[5]=byte(255&o)},this.flush_bitstream=function(t){var _,o,c=t.internal_flags,h=c.h_ptr-1;if(-1==h&&(h=E1.MAX_HEADER_BUF-1),_=c.l3_side,!((o=E(t,new P))<0)){if(B(t,o),u(c.header[h].write_timing+this.getframebits(t)==O),c.ResvSize=0,_.main_data_begin=0,c.findReplayGain){var b=w.GetTitleGain(c.rgdata);u(NEQ(b,GainAnalysis.GAIN_NOT_ENOUGH_SAMPLES)),c.RadioGain=0|Math.floor(10*b+.5)}c.findPeakSample&&(c.noclipGainChange=0|Math.ceil(200*Math.log10(c.PeakSample/32767)),c.noclipGainChange>0&&(EQ(t.scale,1)||EQ(t.scale,0))?c.noclipScale=Math.floor(32767/c.PeakSample*100)/100:c.noclipScale=-1)}},this.add_dummy_byte=function(t,_,o){for(var c,h=t.internal_flags;o-- >0;)for(function(t,_,o){for(;o>0;){var c;0==F&&(F=8,u(++j<A.LAME_MAXMP3BUFFER),N[j]=0),c=Math.min(o,F),o-=c,F-=c,N[j]|=_>>o<<F,O+=c}}(0,_,8),c=0;c<E1.MAX_HEADER_BUF;++c)h.header[c].write_timing+=8},this.format_bitstream=function(o){var c,h,A=o.internal_flags;h=A.l3_side;var M=this.getframebits(o);B(o,h.resvDrain_pre),function(o,c){var h,b,A,M,w=o.internal_flags;if(b=w.l3_side,w.header[w.h_ptr].ptr=0,_.fill(w.header[w.h_ptr].buf,0,w.sideinfo_len,0),o.out_samplerate<16e3?I(w,4094,12):I(w,4095,12),I(w,o.version,1),I(w,1,2),I(w,o.error_protection?0:1,1),I(w,w.bitrate_index,4),I(w,w.samplerate_index,2),I(w,w.padding,1),I(w,o.extension,1),I(w,o.mode.ordinal(),2),I(w,w.mode_ext,2),I(w,o.copyright,1),I(w,o.original,1),I(w,o.emphasis,2),o.error_protection&&I(w,0,16),1==o.version){for(u(b.main_data_begin>=0),I(w,b.main_data_begin,9),2==w.channels_out?I(w,b.private_bits,3):I(w,b.private_bits,5),M=0;M<w.channels_out;M++)for(h=0;h<4;h++)I(w,b.scfsi[M][h],1);for(A=0;A<2;A++)for(M=0;
3M<w.channels_out;M++){var y=b.tt[A][M];I(w,y.part2_3_length+y.part2_length,12),I(w,y.big_values/2,9),I(w,y.global_gain,8),I(w,y.scalefac_compress,4),y.block_type!=v.NORM_TYPE?(I(w,1,1),I(w,y.block_type,2),I(w,y.mixed_block_flag,1),14==y.table_select[0]&&(y.table_select[0]=16),I(w,y.table_select[0],5),14==y.table_select[1]&&(y.table_select[1]=16),I(w,y.table_select[1],5),I(w,y.subblock_gain[0],3),I(w,y.subblock_gain[1],3),I(w,y.subblock_gain[2],3)):(I(w,0,1),14==y.table_select[0]&&(y.table_select[0]=16),I(w,y.table_select[0],5),14==y.table_select[1]&&(y.table_select[1]=16),I(w,y.table_select[1],5),14==y.table_select[2]&&(y.table_select[2]=16),I(w,y.table_select[2],5),u(0<=y.region0_count&&y.region0_count<16),u(0<=y.region1_count&&y.region1_count<8),I(w,y.region0_count,4),I(w,y.region1_count,3)),I(w,y.preflag,1),I(w,y.scalefac_scale,1),I(w,y.count1table_select,1)}}else for(u(b.main_data_begin>=0),I(w,b.main_data_begin,8),I(w,b.private_bits,w.channels_out),A=0,M=0;M<w.channels_out;M++){var y=b.tt[A][M];I(w,y.part2_3_length+y.part2_length,12),I(w,y.big_values/2,9),I(w,y.global_gain,8),I(w,y.scalefac_compress,9),y.block_type!=v.NORM_TYPE?(I(w,1,1),I(w,y.block_type,2),I(w,y.mixed_block_flag,1),14==y.table_select[0]&&(y.table_select[0]=16),I(w,y.table_select[0],5),14==y.table_select[1]&&(y.table_select[1]=16),I(w,y.table_select[1],5),I(w,y.subblock_gain[0],3),I(w,y.subblock_gain[1],3),I(w,y.subblock_gain[2],3)):(I(w,0,1),14==y.table_select[0]&&(y.table_select[0]=16),I(w,y.table_select[0],5),14==y.table_select[1]&&(y.table_select[1]=16),I(w,y.table_select[1],5),14==y.table_select[2]&&(y.table_select[2]=16),I(w,y.table_select[2],5),u(0<=y.region0_count&&y.region0_count<16),u(0<=y.region1_count&&y.region1_count<8),I(w,y.region0_count,4),I(w,y.region1_count,3)),I(w,y.scalefac_scale,1),I(w,y.count1table_select,1)}o.error_protection&&CRC_writeheader(w,w.header[w.h_ptr].buf);var k=w.h_ptr;u(w.header[k].ptr==8*w.sideinfo_len),w.h_ptr=k+1&E1.MAX_HEADER_BUF-1,w.header[w.h_ptr].write_timing=w.header[k].write_timing+c,w.h_ptr==w.w_ptr&&t.err.println(`Error: MAX_HEADER_BUF too small in bitstream.c 
4`)}(o,M);var w=8*A.sideinfo_len;if(w+=function(t){var _,o,c,h,A=0,M=t.internal_flags,w=M.l3_side;if(1==t.version)for(_=0;_<2;_++)for(o=0;o<M.channels_out;o++){var y=w.tt[_][o],k=b.slen1_tab[y.scalefac_compress],x=b.slen2_tab[y.scalefac_compress];for(h=0,c=0;c<y.sfbdivide;c++)-1!=y.scalefac[c]&&(p(M,y.scalefac[c],k),h+=k);for(;c<y.sfbmax;c++)-1!=y.scalefac[c]&&(p(M,y.scalefac[c],x),h+=x);u(h==y.part2_length),y.block_type==v.SHORT_TYPE?h+=L(M,y):h+=V(M,y),u((h+=a(M,y))==y.part2_3_length+y.part2_length),A+=h}else for(_=0,o=0;o<M.channels_out;o++){var N,O,y=w.tt[_][o],j=0;if(u(null!=y.sfb_partition_table),h=0,c=0,O=0,y.block_type==v.SHORT_TYPE){for(;O<4;O++){var F=y.sfb_partition_table[O]/3,C=y.slen[O];for(N=0;N<F;N++,c++)p(M,Math.max(y.scalefac[3*c+0],0),C),p(M,Math.max(y.scalefac[3*c+1],0),C),p(M,Math.max(y.scalefac[3*c+2],0),
vendor: 7,321 bytes, lines 4-13
4C),j+=3*C}h+=L(M,y)}else{for(;O<4;O++){var F=y.sfb_partition_table[O],C=y.slen[O];for(N=0;N<F;N++,c++)p(M,Math.max(y.scalefac[c],0),C),j+=C}h+=V(M,y)}u((h+=a(M,y))==y.part2_3_length),u(j==y.part2_length),A+=j+h}return A}(o),B(o,h.resvDrain_post),w+=h.resvDrain_post,h.main_data_begin+=(M-w)/8,E(o,new P)!=A.ResvSize&&t.err.println("Internal buffer inconsistency. flushbits <> ResvSize"),8*h.main_data_begin!=A.ResvSize&&(t.err.printf(`bit reservoir error: 
5l3_side.main_data_begin: %d 
6Resvoir size:             %d 
7resv drain (post)         %d 
8resv drain (pre)          %d 
9header and sideinfo:      %d 
10data bits:                %d 
11total bits:               %d (remainder: %d) 
12bitsperframe:             %d 
13`,8*h.main_data_begin,A.ResvSize,h.resvDrain_post,h.resvDrain_pre,8*A.sideinfo_len,w-h.resvDrain_post-8*A.sideinfo_len,w,w%8,M),t.err.println("This is a fatal error.  It has several possible causes:"),t.err.println("90%%  LAME compiled with buggy version of gcc using advanced optimizations"),t.err.println(" 9%%  Your system is overclocked"),t.err.println(" 1%%  bug in LAME encoding library"),A.ResvSize=8*h.main_data_begin),O>1e9){for(c=0;c<E1.MAX_HEADER_BUF;++c)A.header[c].write_timing-=O;O=0}return 0},this.copy_buffer=function(_,o,u,b,v){var A=j+1;if(A<=0)return 0;if(0!=b&&A>b)return -1;if(t.arraycopy(N,0,o,u,A),j=-1,F=0,0!=v){var M=h(1);if(M[0]=_.nMusicCRC,x.updateMusicCRC(M,o,u,A),_.nMusicCRC=M[0],A>0&&(_.VBR_seek_table.nBytesWritten+=A),_.decode_on_the_fly){for(var k,O=c([2,1152]),C=A,G=-1;0!=G;)if(G=y.hip_decode1_unclipped(_.hip,o,u,C,O[0],O[1]),C=0,-1==G&&(G=0),G>0){if(_.findPeakSample){for(k=0;k<G;k++)O[0][k]>_.PeakSample?_.PeakSample=O[0][k]:-O[0][k]>_.PeakSample&&(_.PeakSample=-O[0][k]);if(_.channels_out>1)for(k=0;k<G;k++)O[1][k]>_.PeakSample?_.PeakSample=O[1][k]:-O[1][k]>_.PeakSample&&(_.PeakSample=-O[1][k])}if(_.findReplayGain&&w.AnalyzeSamples(_.rgdata,O[0],0,O[1],0,G,_.channels_out)==GainAnalysis.GAIN_ANALYSIS_ERROR)return -6}}}return A},this.init_bit_stream_w=function(t){N=o(A.LAME_MAXMP3BUFFER),t.h_ptr=t.w_ptr=0,t.header[t.h_ptr].write_timing=0,j=-1,F=0,O=0}}return m.EQ=function(t,_){return Math.abs(t)>Math.abs(_)?Math.abs(t-_)<=1e-6*Math.abs(t):Math.abs(t-_)<=1e-6*Math.abs(_)},m.NEQ=function(t,_){return!m.EQ(t,_)},x=m}function Oe(){if(j)return O;j=1;var t=ea.System,_=ea.VbrMode,o=ea.ShortBlock,c=ea.new_float,h=ea.new_int_n,u=ea.new_short_n,b=ea.assert,v=Ve(),A=t1();function R(){var M=this;R.V9=410,R.V8=420,R.V7=430,R.V6=440,R.V5=450,R.V4=460,R.V3=470,R.V2=480,R.V1=490,R.V0=500,R.R3MIX=1e3,R.STANDARD=1001,R.EXTREME=1002,R.INSANE=1003,R.STANDARD_FAST=1004,R.EXTREME_FAST=1005,R.MEDIUM=1006,R.MEDIUM_FAST=1007,R.LAME_MAXMP3BUFFER=147456;var w,y,k,x,N,O,j,F,C=new Qa;function S(){this.mask_adjust=0,this.mask_adjust_short=0,this.bo_l_weight=c(A.SBMAX_l),this.bo_s_weight=c(A.SBMAX_s)}function L(){this.lowerlimit=0}function V(t,_){this.lowpass=_}function E(t){return t>1?0:t<=0?1:Math.cos(Math.PI/2*t)}function s(t,_){switch(t){case 44100:return _.version=1,0;case 48e3:return _.version=1,1;case 32e3:return _.version=1,2;case 22050:case 11025:return _.version=0,0;case 24e3:case 12e3:return _.version=0,1;case 16e3:case 8e3:return _.version=0,2;default:return _.version=0,-1}}function r(t,_,o){o<16e3&&(_=2);for(var c=eZ.bitrate_table[_][1],h=2;h<=14;h++)eZ.bitrate_table[_][h]>0&&Math.abs(eZ.bitrate_table[_][h]-t)<Math.abs(c-t)&&(c=eZ.bitrate_table[_][h]);return c}function n(t,_,o){o<16e3&&(_=2);for(var c=0;c<=14;c++)if(eZ.bitrate_table[_][c]>0&&eZ.bitrate_table[_][c]==t)return c;return -1}function f(t,_){var o=[new V(8,2e3),new V(16,3700),new V(24,3900),new V(32,5500),new V(40,7e3),new V(48,7500),new V(56,1e4),new V(64,11e3),new V(80,13500),new V(96,15100),new V(112,15600),new V(128,17e3),new V(160,17500),new V(192,18600),new V(224,19400),new V(256,19700),new V(320,20500)],c=M.nearestBitrateFullIndex(_);t.lowerlimit=o[c].lowpass}function i0(t){return Math.max(A.BLKSIZE+t.framesize-A.FFTOFFSET,512+t.framesize-32)}function M0(){this.n_in=0,this.n_out=0}function R0(){this.num_used=0}this.enc=new A,this.setModules=function(t,_,o,c,h,u,b,v,A){w=t,y=_,k=o,x=c,N=h,O=u,j=v,F=A,this.enc.setModules(y,C,x,O)},this.lame_init=function(){var t,o=new za;return o.class_id=4294479419,t=o.internal_flags=new E1,o.mode=R1.NOT_SET,o.original=1,o.in_samplerate=44100,o.num_channels=2,o.num_samples=-1,o.bWriteVbrTag=!0,o.quality=-1,o.short_blocks=null,t.subblock_gain=-1,o.lowpassfreq=0,o.highpassfreq=0,o.lowpasswidth=-1,o.highpasswidth=-1,o.VBR=_.vbr_off,o.VBR_q=4,o.ATHcurve=-1,o.VBR_mean_bitrate_kbps=128,o.VBR_min_bitrate_kbps=0,o.VBR_max_bitrate_kbps=0,o.VBR_hard_min=0,t.VBR_min_bitrate=1,t.VBR_max_bitrate=13,o.quant_comp=-1,o.quant_comp_short=-1,o.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,o.scale=-1,o.athaa_type=-1,o.ATHtype=-1,o.athaa_loudapprox=-1,o.athaa_sensitivity=0,o.useTemporal=null,o.interChRatio=-1,t.mf_samples_to_encode=A.ENCDELAY+A.POSTDELAY,o.encoder_padding=0,t.mf_size=A.ENCDELAY-A.MDCTDELAY,o.findReplayGain=!1,o.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,o.preset=0,o.write_id3tag_automatic=!0,o.lame_allocated_gfp=1,o},this.nearestBitrateFullIndex=function(t){var _=[8,16,24,32,40,48,56,64,80,96,112,128,160,192,224,256,320],o=0,c=0,h=0,u=0;u=320,h=16,c=320,o=16;for(var b=0;b<16;b++)if(Math.max(t,_[b+1])!=t){u=_[b+1],h=b+1,c=_[b],o=b;break}return u-t>t-c?o:h},this.lame_init_params=function(c){var u,M,G,W,J,$,ee=c.internal_flags;if(ee.Class_ID=0,null==ee.ATH&&(ee.ATH=new x2),null==ee.PSY&&(ee.PSY=new S),null==ee.rgdata&&(ee.rgdata=new E2),ee.channels_in=c.num_channels,1==ee.channels_in&&(c.mode=R1.MONO),ee.channels_out=c.mode==R1.MONO?1:2,ee.mode_ext=A.MPG_MD_MS_LR,c.mode==R1.MONO&&(c.force_ms=!1),c.VBR==_.vbr_off&&128!=c.VBR_mean_bitrate_kbps&&0==c.brate&&(c.brate=c.VBR_mean_bitrate_kbps),c.VBR==_.vbr_off||c.VBR==_.vbr_mtrh||c.VBR==_.vbr_mt||(c.free_format=!1),c.VBR==_.vbr_off&&0==c.brate&&v.EQ(c.compression_ratio,0)&&(c.compression_ratio=11.025),c.VBR==_.vbr_off&&c.compression_ratio>0&&(0==c.out_samplerate&&(c.out_samplerate=map2MP3Frequency(int(.97*c.in_samplerate))),c.brate=0|16*c.out_samplerate*ee.channels_out/(1e3*c.compression_ratio),ee.samplerate_index=s(c.out_samplerate,c),c.free_format||(c.brate=r(c.brate,c.version,c.out_samplerate))),0!=c.out_samplerate&&(c.out_samplerate<16e3?(c.VBR_mean_bitrate_kbps=Math.max(c.VBR_mean_bitrate_kbps,8),c.VBR_mean_bitrate_kbps=Math.min(c.VBR_mean_bitrate_kbps,64)):c.out_samplerate<32e3?(c.VBR_mean_bitrate_kbps=Math.max(c.VBR_mean_bitrate_kbps,8),c.VBR_mean_bitrate_kbps=Math.min(c.VBR_mean_bitrate_kbps,160)):(c.VBR_mean_bitrate_kbps=Math.max(c.VBR_mean_bitrate_kbps,32),c.VBR_mean_bitrate_kbps=Math.min(c.VBR_mean_bitrate_kbps,320))),0==c.lowpassfreq){var ea=16e3;switch(c.VBR){case _.vbr_off:var et=new L;f(et,c.brate),ea=et.lowerlimit;break;case _.vbr_abr:var et=new L;f(et,c.VBR_mean_bitrate_kbps),ea=et.lowerlimit;break;case _.vbr_rh:var es=[19500,19e3,18600,18e3,17500,16e3,15600,14900,12500,1e4,3950];if(0<=c.VBR_q&&c.VBR_q<=9){var en=es[c.VBR_q],er=es[c.VBR_q+1],e_=c.VBR_q_frac;ea=linear_int(en,er,e_)}else ea=19500;break;
13default:var es=[19500,19e3,18500,18e3,17500,16500,15500,14500,12500,9500,3950];if(0<=c.VBR_q&&c.VBR_q<=9){var en=es[c.VBR_q],er=es[c.VBR_q+1],e_=c.VBR_q_frac;ea=linear_int(en,er,e_)}else ea=19500}c.mode==R1.MONO&&(c.VBR==_.vbr_off||c.VBR==_.vbr_abr)&&(ea*=1.5),c.lowpassfreq=0|ea}if(0==c.out_samplerate&&(2*c.lowpassfreq>c.in_samplerate&&(c.lowpassfreq=c.in_samplerate/2),c.out_samplerate=(u=0|c.lowpassfreq,M=c.in_samplerate,G=44100,M>=48e3?G=48e3:M>=44100?G=44100:M>=32e3?G=32e3:M>=24e3?G=24e3:M>=22050?G=22050:M>=16e3?G=16e3:M>=12e3?G=12e3:M>=11025?G=11025:M>=8e3&&(G=8e3),-1==u?G:(u<=15960&&(G=44100),u<=15250&&(G=32e3),u<=11220&&(G=24e3),u<=9970&&(G=22050),u<=7230&&(G=16e3),u<=5420&&(G=12e3),u<=4510&&(G=11025),u<=3970&&(G=8e3),M<G?M>44100?48e3:M>32e3?44100:M>24e3?32e3:M>22050?24e3:M>16e3?22050:M>12e3?16e3:M>11025?12e3:M>8e3?11025:8e3:G))),c.lowpassfreq=Math.min(20500,c.lowpassfreq),c.lowpassfreq=Math.min(c.out_samplerate/2,c.lowpassfreq),c.VBR==_.vbr_off&&(c.compression_ratio=16*c.out_samplerate*ee.channels_out/(1e3*c.brate)),c.VBR==_.vbr_abr&&(c.compression_ratio=16*c.out_samplerate*ee.channels_out/(1e3*c.VBR_mean_bitrate_kbps)),c.bWriteVbrTag||(c.findReplayGain=!1,c.decode_on_the_fly=!1,ee.findPeakSample=!1),ee.findReplayGain=c.findReplayGain,ee.decode_on_the_fly=c.decode_on_the_fly,ee.decode_on_the_fly&&(ee.findPeakSample=!0),ee.findReplayGain&&w.InitGainAnalysis(ee.rgdata,c.out_samplerate)==GainAnalysis.INIT_GAIN_ANALYSIS_ERROR)return c.internal_flags=null,-6;switch(ee.decode_on_the_fly&&!c.decode_only&&(null!=ee.hip&&F.hip_decode_exit(ee.hip),ee.hip=F.hip_decode_init()),ee.mode_gr=c.out_samplerate<=24e3?1:2,c.framesize=576*ee.mode_gr,c.encoder_delay=A.ENCDELAY,ee.resample_ratio=c.in_samplerate/c.out_samplerate,c.VBR){case _.vbr_mt:case _.vbr_rh:case _.vbr_mtrh:c.compression_ratio=[5.7,6.5,7.3,8.2,10,11.9,13,14,15,16.5][c.VBR_q];break;case _.vbr_abr:c.compression_ratio=16*c.out_samplerate*ee.channels_out/(1e3*c.VBR_mean_bitrate_kbps);break;default:c.compression_ratio=16*c.out_samplerate*ee.channels_out/(1e3*c.brate)}if(c.mode==R1.NOT_SET&&(c.mode=R1.JOINT_STEREO),c.highpassfreq>0?(ee.highpass1=2*c.highpassfreq,c.highpasswidth>=0?ee.highpass2=2*(c.highpassfreq+c.highpasswidth):ee.highpass2=2*c.highpassfreq,ee.highpass1/=c.out_samplerate,ee.highpass2/=c.out_samplerate):(ee.highpass1=0,ee.highpass2=0),c.lowpassfreq>0?(ee.lowpass2=2*c.lowpassfreq,c.lowpasswidth>=0?(ee.lowpass1=2*(c.lowpassfreq-c.lowpasswidth),ee.lowpass1<0&&(ee.lowpass1=0)):ee.lowpass1=2*c.lowpassfreq,ee.lowpass1/=c.out_samplerate,ee.lowpass2/=c.out_samplerate):(ee.lowpass1=0,ee.lowpass2=0),function(_){var o=_.internal_flags,c=32,h=-1;if(o.lowpass1>0){for(var u=999,b=0;b<=31;b++){var v=b/31;v>=o.lowpass2&&(c=Math.min(c,b)),o.lowpass1<v&&v<o.lowpass2&&(u=Math.min(u,b))}999==u?o.lowpass1=(c-.75)/31:o.lowpass1=(u-.75)/31,o.lowpass2=c/31}if(o.highpass2>0&&o.highpass2<.9*(.75/31)&&(o.highpass1=0,o.highpass2=0,t.err.println(`Warning: highpass filter disabled.  highpass frequency too small
14`)),o.highpass2>0){for(var A=-1,b=0;b<=31;b++){var v=b/31;v<=o.highpass1&&(h=Math.max(h,b)),o.highpass1<v&&v<o.highpass2&&(A=Math.max(A,b))}o.highpass1=h/31,-1==A?o.highpass2=(h+.75)/31:o.highpass2=(A+.75)/31}for(var b=0;b<32;b++){var M,w,v=b/31;M=o.highpass2>o.highpass1?E((o.highpass2-v)/(o.highpass2-o.highpass1+1e-20)):1,w=o.lowpass2>o.lowpass1?E((v-o.lowpass1)/(o.lowpass2-o.lowpass1+1e-20)):1,o.amp_filter[b]=M*w}}(c),ee.samplerate_index=s(c.out_samplerate,c),ee.samplerate_index<0)return c.internal_flags=null,-1;if(c.VBR==_.vbr_off){if(c.free_format)ee.bitrate_index=0;else if(c.brate=r(c.brate,c.version,c.out_samplerate),ee.bitrate_index=n(c.brate,c.version,c.out_samplerate),ee.bitrate_index<=0)return c.internal_flags=null,-1}else ee.bitrate_index=1;c.analysis&&(c.bWriteVbrTag=!1),null!=ee.pinfo&&(c.bWriteVbrTag=!1),y.init_bit_stream_w(ee);for(var ei=ee.samplerate_index+3*c.version+6*(c.out_samplerate<16e3?1:0),eo=0;eo<A.SBMAX_l+1;eo++)ee.scalefac_band.l[eo]=x.sfBandIndex[ei].l[eo];for(var eo=0;eo<A.PSFB21+1;eo++){var el=(ee.scalefac_band.l[22]-ee.scalefac_band.l[21])/A.PSFB21,ef=ee.scalefac_band.l[21]+eo*el;ee.scalefac_band.psfb21[eo]=ef}ee.scalefac_band.psfb21[A.PSFB21]=576;for(var eo=0;eo<A.SBMAX_s+1;eo++)ee.scalefac_band.s[eo]=x.sfBandIndex[ei].s[eo];for(var eo=0;eo<A.PSFB12+1;eo++){var el=(ee.scalefac_band.s[13]-ee.scalefac_band.s[12])/A.PSFB12,ef=ee.scalefac_band.s[12]+eo*el;ee.scalefac_band.psfb12[eo]=ef}for(ee.scalefac_band.psfb12[A.PSFB12]=192,1==c.version?ee.sideinfo_len=1==ee.channels_out?21:36:ee.sideinfo_len=1==ee.channels_out?13:21,c.error_protection&&(ee.sideinfo_len+=2),W=c.internal_flags,c.frameNum=0,c.write_id3tag_automatic&&j.id3tag_write_v2(c),W.bitrate_stereoMode_Hist=h([16,5]),W.bitrate_blockType_Hist=h([16,6]),W.PeakSample=0,c.bWriteVbrTag&&O.InitVbrTag(c),ee.Class_ID=4294479419,J=0;J<19;J++)ee.nsPsy.pefirbuf[J]=700*ee.mode_gr*ee.channels_out;switch(-1==c.ATHtype&&(c.ATHtype=4),b(c.VBR_q<=9),b(c.VBR_q>=0),c.VBR){case _.vbr_mt:c.VBR=_.vbr_mtrh;case _.vbr_mtrh:null==c.useTemporal&&(c.useTemporal=!1),k.apply_preset(c,500-10*c.VBR_q,0),c.quality<0&&(c.qual
14ity=LAME_DEFAULT_QUALITY),c.quality<5&&(c.quality=0),c.quality>5&&(c.quality=5),ee.PSY.mask_adjust=c.maskingadjust,ee.PSY.mask_adjust_short=c.maskingadjust_short,c.experimentalY?ee.sfb21_extra=!1:ee.sfb21_extra=c.out_samplerate>44e3,ee.iteration_loop=new VBRNewIterationLoop(N);break;case _.vbr_rh:k.apply_preset(c,500-10*c.VBR_q,0),ee.PSY.mask_adjust=c.maskingadjust,ee.PSY.mask_adjust_short=c.maskingadjust_short,c.experimentalY?ee.sfb21_extra=!1:ee.sfb21_extra=c.out_samplerate>44e3,c.quality>6&&(c.quality=6),c.quality<0&&(c.quality=LAME_DEFAULT_QUALITY),ee.iteration_loop=new VBROldIterationLoop(N);break;default:ee.sfb21_extra=!1,c.quality<0&&(c.quality=LAME_DEFAULT_QUALITY),($=c.VBR)==_.vbr_off&&(c.VBR_mean_bitrate_kbps=c.brate),k.apply_preset(c,c.VBR_mean_bitrate_kbps,0),c.VBR=$,ee.PSY.mask_adjust=c.maskingadjust,ee.PSY.mask_adjust_short=c.maskingadjust_short,$==_.vbr_off?ee.iteration_loop=new N2(N):ee.iteration_loop=new ABRIterationLoop(N)}if(b(c.scale>=0),c.VBR!=_.vbr_off){if(ee.VBR_min_bitrate=1,ee.VBR_max_bitrate=14,c.out_samplerate<16e3&&(ee.VBR_max_bitrate=8),0!=c.VBR_min_bitrate_kbps&&(c.VBR_min_bitrate_kbps=r(c.VBR_min_bitrate_kbps,c.version,c.out_samplerate),ee.VBR_min_bitrate=n(c.VBR_min_bitrate_kbps,c.version,c.out_samplerate),ee.VBR_min_bitrate<0)||0!=c.VBR_max_bitrate_kbps&&(c.VBR_max_bitrate_kbps=r(c.VBR_max_bitrate_kbps,c.version,c.out_samplerate),ee.VBR_max_bitrate=n(c.VBR_max_bitrate_kbps,c.version,c.out_samplerate),ee.VBR_max_bitrate<0))return -1;c.VBR_min_bitrate_kbps=eZ.bitrate_table[c.version][ee.VBR_min_bitrate],c.VBR_max_bitrate_kbps=eZ.bitrate_table[c.version][ee.VBR_max_bitrate],c.VBR_mean_bitrate_kbps=Math.min(eZ.bitrate_table[c.version][ee.VBR_max_bitrate],c.VBR_mean_bitrate_kbps),c.VBR_mean_bitrate_kbps=Math.max(eZ.bitrate_table[c.version][ee.VBR_min_bitrate],c.VBR_mean_bitrate_kbps)}return c.tune&&(ee.PSY.mask_adjust+=c.tune_value_a,ee.PSY.mask_adjust_short+=c.tune_value_a),function(t){var _=t.internal_flags;switch(t.quality){default:case 9:_.psymodel=0,_.noise_shaping=0,_.noise_shaping_amp=0,_.noise_shaping_stop=0,_.use_best_huffman=0,_.full_outer_loop=0;break;case 8:t.quality=7;case 7:_.psymodel=1,_.noise_shaping=0,_.noise_shaping_amp=0,_.noise_shaping_stop=0,_.use_best_huffman=0,_.full_outer_loop=0;break;case 6:case 5:_.psymodel=1,0==_.noise_shaping&&(_.noise_shaping=1),_.noise_shaping_amp=0,_.noise_shaping_stop=0,-1==_.subblock_gain&&(_.subblock_gain=1),_.use_best_huffman=0,_.full_outer_loop=0;break;case 4:_.psymodel=1,0==_.noise_shaping&&(_.noise_shaping=1),_.noise_shaping_amp=0,_.noise_shaping_stop=0,-1==_.subblock_gain&&(_.subblock_gain=1),_.use_best_huffman=1,_.full_outer_loop=0;break;case 3:_.psymodel=1,0==_.noise_shaping&&(_.noise_shaping=1),_.noise_shaping_amp=1,_.noise_shaping_stop=1,-1==_.subblock_gain&&(_.subblock_gain=1),_.use_best_huffman=1,_.full_outer_loop=0;break;case 2:_.psymodel=1,0==_.noise_shaping&&(_.noise_shaping=1),0==_.substep_shaping&&(_.substep_shaping=2),_.noise_shaping_amp=1,_.noise_shaping_stop=1,-1==_.subblock_gain&&(_.subblock_gain=1),_.use_best_huffman=1,_.full_outer_loop=0;break;case 1:case 0:_.psymodel=1,0==_.noise_shaping&&(_.noise_shaping=1),0==_.substep_shaping&&(_.substep_shaping=2),_.noise_shaping_amp=2,_.noise_shaping_stop=1,-1==_.subblock_gain&&(_.subblock_gain=1),_.use_best_huffman=1,_.full_outer_loop=0}}(c),b(c.scale>=0),c.athaa_type<0?ee.ATH.useAdjust=3:ee.ATH.useAdjust=c.athaa_type,ee.ATH.aaSensitivityP=Math.pow(10,-(c.athaa_sensitivity/10)),null==c.short_blocks&&(c.short_blocks=o.short_block_allowed),c.short_blocks==o.short_block_allowed&&(c.mode==R1.JOINT_STEREO||c.mode==R1.STEREO)&&(c.short_blocks=o.short_block_coupled),c.quant_comp<0&&(c.quant_comp=1),c.quant_comp_short<0&&(c.quant_comp_short=0),c.msfix<0&&(c.msfix=0),c.exp_nspsytune=1|c.exp_nspsytune,c.internal_flags.nsPsy.attackthre<0&&(c.internal_flags.nsPsy.attackthre=Qa.NSATTACKTHRE),c.internal_flags.nsPsy.attackthre_s<0&&(c.internal_flags.nsPsy.attackthre_s=Qa.NSATTACKTHRE_S),b(c.scale>=0),c.scale<0&&(c.scale=1),c.ATHtype<0&&(c.ATHtype=4),c.ATHcurve<0&&(c.ATHcurve=4),c.athaa_loudapprox<0&&(c.athaa_loudapprox=2),c.interChRatio<0&&(c.interChRatio=0),null==c.useTemporal&&(c.useTemporal=!0),ee.slot_lag=ee.frac_SpF=0,c.VBR==_.vbr_off&&(ee.slot_lag=ee.frac_SpF=(c.version+1)*72e3*c.brate%c.out_samplerate|0),x.iteration_init(c),C.psymodel_init(c),b(c.scale>=0),0},this.lame_encode_flush=function(t,_,o,c){var h,b,v,M,w=t.internal_flags,k=u([2,1152]),x=0,N=w.mf_samples_to_encode-A.POSTDELAY,O=i0(t);
14if(w.mf_samples_to_encode<1)return 0;for(h=0,t.in_samplerate!=t.out_samplerate&&(N+=16*t.out_samplerate/t.in_samplerate),(v=t.framesize-N%t.framesize)<576&&(v+=t.framesize),t.encoder_padding=v,M=(N+v)/t.framesize;M>0&&x>=0;){var F=O-w.mf_size,C=t.frameNum;F*=t.in_samplerate,(F/=t.out_samplerate)>1152&&(F=1152),F<1&&(F=1),b=c-h,0==c&&(b=0),x=this.lame_encode_buffer(t,k[0],k[1],F,_,o,b),o+=x,h+=x,M-=C!=t.frameNum?1:0}if(w.mf_samples_to_encode=0,x<0||(b=c-h,0==c&&(b=0),y.flush_bitstream(t),(x=y.copy_buffer(w,_,o,b,1))<0))return x;if(o+=x,h+=x,b=c-h,0==c&&(b=0),t.write_id3tag_automatic){if(j.id3tag_write_v1(t),(x=y.copy_buffer(w,_,o,b,0))<0)return x;h+=x}return h},this.lame_encode_buffer=function(t,_,o,h,u,k,x){var N=t.internal_flags,O=[null,null];if(4294479419!=N.Class_ID)return -3;if(0==h)return 0;(null==N.in_buffer_0||N.in_buffer_nsamples<h)&&(N.in_buffer_0=c(h),N.in_buffer_1=c(h),N.in_buffer_nsamples=h),O[0]=N.in_buffer_0,O[1]=N.in_buffer_1;for(var j=0;j<h;j++)O[0][j]=_[j],N.channels_in>1&&(O[1][j]=o[j]);return function(t,_,o,h,u,k,x){var N,O,j,F,C,G=t.internal_flags,W=0,J=[null,null],$=[null,null];if(4294479419!=G.Class_ID)return -3;if(0==h)return 0;if((C=y.copy_buffer(G,u,k,x,0))<0)return C;if(k+=C,W+=C,$[0]=_,$[1]=o,v.NEQ(t.scale,0)&&v.NEQ(t.scale,1))for(O=0;O<h;++O)$[0][O]*=t.scale,2==G.channels_out&&($[1][O]*=t.scale);if(v.NEQ(t.scale_left,0)&&v.NEQ(t.scale_left,1))for(O=0;O<h;++O)$[0][O]*=t.scale_left;if(v.NEQ(t.scale_right,0)&&v.NEQ(t.scale_right,1))for(O=0;O<h;++O)$[1][O]*=t.scale_right;if(2==t.num_channels&&1==G.channels_out)for(O=0;O<h;++O)$[0][O]=.5*($[0][O]+$[1][O]),$[1][O]=0;F=i0(t),J[0]=G.mfbuf[0],J[1]=G.mfbuf[1];for(var ee=0;h>0;){var ea=[null,null],et=0,es=0;ea[0]=$[0],ea[1]=$[1];var en=new M0;if(function(t,_,o,h,u,v){var A=t.internal_flags;if(A.resample_ratio<.9999||A.resample_ratio>1.0001)for(var M=0;M<A.channels_out;M++){var w=new R0;v.n_out=function(t,_,o,h,u,v,A,M,w){var y,k,x=t.internal_flags,N=0,O=t.out_samplerate/function A0(t,_){return 0!=_?A0(_,t%_):t}(t.out_samplerate,t.in_samplerate);O>E1.BPC&&(O=E1.BPC);var j=1e-4>Math.abs(x.resample_ratio-Math.floor(.5+x.resample_ratio))?1:0,F=1/x.resample_ratio;F>1&&(F=1);var C=(ee=31+j)+1;if(0==x.fill_buffer_resample_init){for(x.inbuf_old[0]=c(C),x.inbuf_old[1]=c(C),y=0;y<=2*O;++y)x.blackfilt[y]=c(C);for(x.itime[0]=0,x.itime[1]=0,N=0;N<=2*O;N++){var G=0,W=(N-O)/(2*O);for(y=0;y<=ee;y++)G+=x.blackfilt[N][y]=function(t,_,o){var c=Math.PI*_;(t/=o)<0&&(t=0),t>1&&(t=1);var h=t-.5,u=.42-.5*Math.cos(2*t*Math.PI)+.08*Math.cos(4*t*Math.PI);return 1e-9>Math.abs(h)?c/Math.PI:u*Math.sin(o*c*h)/(Math.PI*o*h)}(y-W,F,ee);for(y=0;y<=ee;y++)x.blackfilt[N][y]/=G}x.fill_buffer_resample_init=1}var J=x.inbuf_old[w];for(k=0;k<h&&!(ee+(N=0|Math.floor((ea=k*x.resample_ratio)-x.itime[w]))-ee/2>=A);k++){var W=ea-x.itime[w]-(N+.5*(ee%2));et=0|Math.floor(2*W*O+O+.5);var $=0;for(y=0;y<=ee;++y){var ee,ea,et,es=0|y+N-ee/2;$+=(es<0?J[C+es]:u[v+es])*x.blackfilt[et][y]}_[o+k]=$}if(M.num_used=Math.min(A,ee+N-ee/2),x.itime[w]+=M.num_used-k*x.resample_ratio,M.num_used>=C)for(y=0;y<C;y++)J[y]=u[v+M.num_used+y-C];else{var en=C-M.num_used;for(y=0;y<en;++y)J[y]=J[y+M.num_used];for(N=0;y<C;++y,++N)J[y]=u[v+N];b(N==M.num_used)}return k}(t,_[M],A.mf_size,t.framesize,o[M],h,u,w,M),v.n_in=w.num_used}else{v.n_out=Math.min(t.framesize,u),v.n_in=v.n_out;for(var y=0;y<v.n_out;++y)_[0][A.mf_size+y]=o[0][h+y],2==A.channels_out&&(_[1][A.mf_size+y]=o[1][h+y])}}(t,J,ea,ee,h,en),et=en.n_in,es=en.n_out,G.findReplayGain&&!G.decode_on_the_fly&&w.AnalyzeSamples(G.rgdata,J[0],G.mf_size,J[1],G.mf_size,es,G.channels_out)==GainAnalysis.GAIN_ANALYSIS_ERROR)return -6;if(h-=et,ee+=et,G.channels_out,G.mf_size+=es,b(G.mf_size<=E1.MFSIZE),G.mf_samples_to_encode<1&&(G.mf_samples_to_encode=A.ENCDELAY+A.POSTDELAY),G.mf_samples_to_encode+=es,G.mf_size>=F){var er=x-W;if(0==x&&(er=0),(N=function(t,_,o,c,h,u){var b=M.enc.lame_encode_mp3_frame(t,_,o,c,h,u);return t.frameNum++,b}(t,J[0],J[1],u,k,er))<0)return N;for(k+=N,W+=N,G.mf_size-=t.framesize,G.mf_samples_to_encode-=t.framesize,j=0;j<G.channels_out;j++)for(O=0;O<G.mf_size;O++)J[j][O]=J[j][O+t.framesize]}}return W}(t,O[0],O[1],h,u,k,x)}}return O=R}eZ.t1HB=[1,1,1,0],eZ.t2HB=[1,2,1,3,1,1,3,2,0],eZ.t3HB=[3,2,1,1,1,1,3,2,0],eZ.t5HB=[1,2,6,5,3,1,4,4,7,5,7,1,6,1,1,0],eZ.t6HB=[7,3,5,1,6,2,3,2,5,4,4,1,3,3,2,0],eZ.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],eZ.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],eZ.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],eZ.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],eZ.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],eZ.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],eZ.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],eZ.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],eZ.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,8
vendor: 10,294 bytes, line 14
1465,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],eZ.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],eZ.t32HB=[1,10,8,20,12,20,16,32,14,12,24,0,28,16,24,16],eZ.t33HB=[15,28,26,48,22,40,36,64,14,24,20,32,12,16,8,0],eZ.t1l=[1,4,3,5],eZ.t2l=[1,4,7,4,5,7,6,7,8],eZ.t3l=[2,3,7,4,4,7,6,7,8],eZ.t5l=[1,4,7,8,4,5,8,9,7,8,9,10,8,8,9,10],eZ.t6l=[3,4,6,8,4,4,6,7,5,6,7,8,7,7,8,9],eZ.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],eZ.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],eZ.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],eZ.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],eZ.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],eZ.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],eZ.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],eZ.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],eZ.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],eZ.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],eZ.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],eZ.t32l=[1,5,5,7,5,8,7,9,5,7,7,9,7,9,9,10],eZ.t33l=[4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8],eZ.ht=[new q0(0,0,null,null),new q0(2,0,eZ.t1HB,eZ.t1l),new q0(3,0,eZ.t2HB,eZ.t2l),new q0(3,0,eZ.t3HB,eZ.t3l),new q0(0,0,null,null),new q0(4,0,eZ.t5HB,eZ.t5l),new q0(4,0,eZ.t6HB,eZ.t6l),new q0(6,0,eZ.t7HB,eZ.t7l),new q0(6,0,eZ.t8HB,eZ.t8l),new q0(6,0,eZ.t9HB,eZ.t9l),new q0(8,0,eZ.t10HB,eZ.t10l),new q0(8,0,eZ.t11HB,eZ.t11l),new q0(8,0,eZ.t12HB,eZ.t12l),new q0(16,0,eZ.t13HB,eZ.t13l),new q0(0,0,null,eZ.t16_5l),new q0(16,0,eZ.t15HB,eZ.t15l),new q0(1,1,eZ.t16HB,eZ.t16l),new q0(2,3,eZ.t16HB,eZ.t16l),new q0(3,7,eZ.t16HB,eZ.t16l),new q0(4,15,eZ.t16HB,eZ.t16l),new q0(6,63,eZ.t16HB,eZ.t16l),new q0(8,255,eZ.t16HB,eZ.t16l),new q0(10,1023,eZ.t16HB,eZ.t16l),new q0(13,8191,eZ.t16HB,eZ.t16l),new q0(4,15,eZ.t24HB,eZ.t24l),new q0(5,31,eZ.t24HB,eZ.t24l),new q0(6,63,eZ.t24HB,eZ.t24l),new q0(7,127,eZ.t24HB,eZ.t24l),new q0(8,255,eZ.t24HB,eZ.t24l),new q0(9,511,eZ.t24HB,eZ.t24l),new q0(11,2047,eZ.t24HB,eZ.t24l),new q0(13,8191,eZ.t24HB,eZ.t24l),new q0(0,0,eZ.t32HB,eZ.t32l),new q0(0,0,eZ.t33HB,eZ.t33l)],eZ.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],eZ.table23=[65538,262147,458759,262148,327684,458759,393222,458759,524296],eZ.table56=[65539,262148,458758,524296,262148,327684,524294,589831,458757,524294,589831,655368,524295,524295,589832,655369],eZ.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]],eZ.samplerate_table=[[22050,24e3,16e3,-1],[44100,48e3,32e3,-1],[11025,12e3,8e3,-1]],eZ.scfsi_band=[0,6,11,16,21];var eG=ea.VbrMode,ez=ea.new_float,eK=ea.new_int,eQ=ea.System,eU=ea.VbrMode,eW=ea.Util,eJ=ea.Arrays,e$=ea.new_float,e0=ea.assert,D2=function(){this.setModules=function(t,_){}},we=function(){this.over_noise=0,this.tot_noise=0,this.max_noise=0,this.over_count=0,this.over_SSD=0,this.bits=0},G2=function(){this.global_gain=0,this.sfb_count1=0,this.step=eK(39),this.noise=ez(39),this.noise_log=ez(39)},e2=t1(),e3=ea.assert,e5=ea.System,e4=ea.VbrMode,e6=ea.ShortBlock,e8=ea.Arrays,e9=ea.new_byte,e7=ea.assert;function Q1(){this.setModules=function(c,h,u){t=c,_=h,o=u};var t,_,o,c=Q1.NUMTOCENTRIES,h=Q1.MAXFRAMESIZE,u=c+4+4+4+4+4+9+1+1+8+1+1+3+1+1+2+4+2+2,b="Xing",v="Info",A=[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,729
146,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 d(t,_){var o=255&t[_+0];return o<<=8,o|=255&t[_+1],o<<=8,o|=255&t[_+2],o<<=8,o|=255&t[_+3]}function e(t,_,o){t[_+0]=255&(o>>24&255),t[_+1]=255&(o>>16&255),t[_+2]=255&(o>>8&255),t[_+3]=255&(255&o)}function l(t,_,o){t[_+0]=255&(o>>8&255),t[_+1]=255&(255&o)}function p(t,_,o){return 255&(t<<_|o&~(-1<<_))}function H(_,o){var c,h=_.internal_flags;o[0]=p(o[0],8,255),o[1]=p(o[1],3,7),o[1]=p(o[1],1,_.out_samplerate<16e3?0:1),o[1]=p(o[1],1,_.version),o[1]=p(o[1],2,1),o[1]=p(o[1],1,_.error_protection?0:1),o[2]=p(o[2],4,h.bitrate_index),o[2]=p(o[2],2,h.samplerate_index),o[2]=p(o[2],1,0),o[2]=p(o[2],1,_.extension),o[3]=p(o[3],2,_.mode.ordinal()),o[3]=p(o[3],2,h.mode_ext),o[3]=p(o[3],1,_.copyright),o[3]=p(o[3],1,_.original),o[3]=p(o[3],2,_.emphasis),o[0]=255;var u,b=255&(241&o[1]);u=1==_.version?128:_.out_samplerate<16e3?32:64,_.VBR==e4.vbr_off&&(u=_.brate),c=_.free_format?0:255&16*t.BitrateIndex(u,_.version,_.out_samplerate),1==_.version?o[1]=255&(10|b):o[1]=255&(2|b),b=255&(13&o[2]),o[2]=255&(c|b)}function B(t,_){var o=_^t;return _=_>>8^A[255&o]}this.addVbrFrame=function(t){var _=t.internal_flags,o=Tables.bitrate_table[t.version][_.bitrate_index];e7(null!=_.VBR_seek_table.bag),function(t,_){if(t.nVbrNumFrames++,t.sum+=_,t.seen++,!(t.seen<t.want)&&(t.pos<t.size&&(t.bag[t.pos]=t.sum,t.pos++,t.seen=0),t.pos==t.size)){for(var o=1;o<t.size;o+=2)t.bag[o/2]=t.bag[o];t.want*=2,t.pos/=2}}(_.VBR_seek_table,o)},this.getVbrTag=function(t){var _,o=new VBRTagData,h=0;o.flags=0;var u=t[h+1]>>3&1,A=t[h+2]>>2&3,M=t[h+3]>>6&3,w=t[h+2]>>4&15;if(w=Tables.bitrate_table[u][w],t[h+1]>>4==14?o.samprate=Tables.samplerate_table[2][A]:o.samprate=Tables.samplerate_table[u][A],0!=u?3!=M?h+=36:h+=21:3!=M?h+=21:h+=13,_=h,!(new String(t,_,b.length(),null).equals(b)||new String(t,_,v.length(),null).equals(v)))return null;h+=4,o.hId=u;var y=o.flags=d(t,h);if(h+=4,1&y&&(o.frames=d(t,h),h+=4),2&y&&(o.bytes=d(t,h),h+=4),4&y){if(null!=o.toc)for(var k=0;k<c;k++)o.toc[k]=t[h+k];h+=c}o.vbrScale=-1,8&y&&(o.vbrScale=d(t,h),h+=4),o.headersize=(u+1)*72e3*w/o.samprate;var x=t[(h+=21)+0]<<4;x+=t[h+1]>>4;var N=(15&t[h+1])<<8;return N+=255&t[h+2],(x<0||x>3e3)&&(x=-1),(N<0||N>3e3)&&(N=-1),o.encDelay=x,o.encPadding=N,o},this.InitVbrTag=function(t){var o,c=t.internal_flags;o=1==t.version?128:t.out_samplerate<16e3?32:64,t.VBR==e4.vbr_off&&(o=t.brate);var b=(t.version+1)*72e3*o/t.out_samplerate,v=c.sideinfo_len+u;if(c.VBR_seek_table.TotalFrameSize=b,b<v||b>h){t.bWriteVbrTag=!1;return}c.VBR_seek_table.nVbrNumFrames=0,c.VBR_seek_table.nBytesWritten=0,c.VBR_seek_table.sum=0,c.VBR_seek_table.seen=0,c.VBR_seek_table.want=1,c.VBR_seek_table.pos=0,null==c.VBR_seek_table.bag&&(c.VBR_seek_table.bag=new int[400],c.VBR_seek_table.size=400);var A=e9(h);H(t,A);for(var M=c.VBR_seek_table.TotalFrameSize,w=0;w<M;++w)_.add_dummy_byte(t,255&A[w],1)},this.updateMusicCRC=function(t,_,o,c){for(var h=0;h<c;++h)t[0]=B(_[o+h],t[0])},this.getLameTagFrame=function(t,h){var u=t.internal_flags;if(!t.bWriteVbrTag||u.Class_ID!=Lame.LAME_ID||u.VBR_seek_table.pos<=0)return 0;if(h.length<u.VBR_seek_table.TotalFrameSize)return u.VBR_seek_table.TotalFrameSize;e8.fill(h,0,u.VBR_seek_table.TotalFrameSize,0),H(t,h);var A=e9(c);if(t.free_format)for(var M=1;M<c;++M)A[M]=255&255*M/100;else(function(t,_){if(!(t.pos<=0))for(var o=1;o<c;++o){var h=0|Math.floor(o/c*t.pos);h>t.pos-1&&(h=t.pos-1);var u=0|256*t.bag[h]/t.sum;u>
14255&&(u=255),_[o]=255&u}})(u.VBR_seek_table,A);var w=u.sideinfo_len;t.error_protection&&(w-=2),t.VBR==e4.vbr_off?(h[w++]=255&v.charAt(0),h[w++]=255&v.charAt(1),h[w++]=255&v.charAt(2),h[w++]=255&v.charAt(3)):(h[w++]=255&b.charAt(0),h[w++]=255&b.charAt(1),h[w++]=255&b.charAt(2),h[w++]=255&b.charAt(3)),e(h,w,15),e(h,w+=4,u.VBR_seek_table.nVbrNumFrames),w+=4;var y=u.VBR_seek_table.nBytesWritten+u.VBR_seek_table.TotalFrameSize;e(h,w,0|y),w+=4,e5.arraycopy(A,0,h,w,A.length),w+=A.length,t.error_protection&&_.CRC_writeheader(u,h);for(var k=0,M=0;M<w;M++)k=B(h[M],k);return w+=function(t,_,c,h,u){var b,v,A=t.internal_flags,M=0,w=t.encoder_delay,y=t.encoder_padding,k=100-10*t.VBR_q-t.quality,x=o.getLameVeryShortVersion(),N=[1,5,3,2,4,0,3],O=0|(t.lowpassfreq/100+.5>255?255:t.lowpassfreq/100+.5),j=0,F=0,C=t.internal_flags.noise_shaping,G=0,W=0,J=0,$=0,ee=0,ea=(1&t.exp_nspsytune)!=0,et=(2&t.exp_nspsytune)!=0,es=!1,en=!1,er=t.internal_flags.nogap_total,e_=t.internal_flags.nogap_current,ei=t.ATHtype,eo=0;switch(t.VBR){case vbr_abr:v=t.VBR_mean_bitrate_kbps;break;case vbr_off:v=t.brate;break;default:v=t.VBR_min_bitrate_kbps}switch(b=0+(t.VBR.ordinal()<N.length?N[t.VBR.ordinal()]:0),A.findReplayGain&&(A.RadioGain>510&&(A.RadioGain=510),A.RadioGain<-510&&(A.RadioGain=-510),F=11264,A.RadioGain>=0?F|=A.RadioGain:(F|=512,F|=-A.RadioGain)),A.findPeakSample&&(j=Math.abs(0|A.PeakSample/32767*8388608+.5)),-1!=er&&(e_>0&&(en=!0),e_<er-1&&(es=!0)),eo=ei+((ea?1:0)<<4)+((et?1:0)<<5)+((es?1:0)<<6)+((en?1:0)<<7),k<0&&(k=0),t.mode){case MONO:G=0;break;case STEREO:G=1;break;case DUAL_CHANNEL:G=2;break;case JOINT_STEREO:G=t.force_ms?4:3;break;case NOT_SET:default:G=7}J=t.in_samplerate<=32e3?0:48e3==t.in_samplerate?2:t.in_samplerate>48e3?3:1,(t.short_blocks==e6.short_block_forced||t.short_blocks==e6.short_block_dispensed||-1==t.lowpassfreq&&-1==t.highpassfreq||t.scale_left<t.scale_right||t.scale_left>t.scale_right||t.disable_reservoir&&t.brate<320||t.noATH||t.ATHonly||0==ei||t.in_samplerate<=32e3)&&(W=1),$=C+(G<<2)+(W<<5)+(J<<6),ee=A.nMusicCRC,e(c,h+M,k),M+=4;for(var el=0;el<9;el++)c[h+M+el]=255&x.charAt(el);c[h+(M+=9)]=255&b,c[h+ ++M]=255&O,e(c,h+ ++M,j),l(c,h+(M+=4),F),l(c,h+(M+=2),0),c[h+(M+=2)]=255&eo,M++,v>=255?c[h+M]=255:c[h+M]=255&v,c[h+ ++M]=255&w>>4,c[h+M+1]=255&(w<<4)+(y>>8),c[h+M+2]=255&y,c[h+(M+=3)]=255&$,M++,c[h+M++]=0,l(c,h+M,t.preset),e(c,h+(M+=2),_),l(c,h+(M+=4),ee),M+=2;for(var ef=0;ef<M;ef++)u=B(c[h+ef],u);return l(c,h+M,u),M+=2}(t,y,h,w,k),u.VBR_seek_table.TotalFrameSize},this.putVbrTag=function(t,_){if(t.internal_flags.VBR_seek_table.pos<=0||(_.seek(_.length()),0==_.length()))return -1;var o=function(t){t.seek(0);var _=e9(10);return t.readFully(_),new String(_,"ISO-8859-1").startsWith("ID3")?0:((127&_[6])<<21|(127&_[7])<<14|(127&_[8])<<7|127&_[9])+_.length}(_);_.seek(o);var c=e9(h),u=getLameTagFrame(t,c);return u>c.length?-1:(u<1||_.write(c,0,u),0)}}Q1.NUMTOCENTRIES=100,Q1.MAXFRAMESIZE=2880;var ae=ea.new_byte,aa=ea.assert,at=Oe(),rr=function(){var t,_=Oe();function Z(t,_,o,c,h,u,b,v,A,M,w,y,k,x,N){this.vbr_q=t,this.quant_comp=_,this.quant_comp_s=o,this.expY=c,this.st_lrm=h,this.st_s=u,this.masking_adj=b,this.masking_adj_short=v,this.ath_lower=A,this.ath_curve=M,this.ath_sensitivity=w,this.interch=y,this.safejoint=k,this.sfb21mod=x,this.msfix=N}function X(t,_,o,c,h,u,b,v,A,M,w,y,k,x){this.quant_comp=_,this.quant_comp_s=o,this.safejoint=c,this.nsmsfix=h,this.st_lrm=u,this.st_s=b,this.nsbass=v,this.scale=A,this.masking_adj=M,this.ath_lower=w,this.ath_curve=y,this.interch=k,this.sfscale=x}this.setModules=function(_){t=_};var o=[new Z(0,9,9,0,5.2,125,-4.2,-6.3,4.8,1,0,0,2,21,.97),new Z(1,9,9,0,5.3,125,-3.6,-5.6,4.5,1.5,0,0,2,21,1.35),new Z(2,9,9,0,5.6,125,-2.2,-3.5,2.8,2,0,0,2,21,1.49),new Z(3,9,9,1,5.8,130,-1.8,-2.8,2.6,3,-4,0,2,20,1.64),new Z(4,9,9,1,6,135,-.7,-1.1,1.1,3.5,-8,0,2,0,1.79),new Z(5,9,9,1,6.4,140,.5,.4,-7.5,4,-12,2e-4,0,0,1.95),new Z(6,9,9,1,6.6,145,.67,.65,-14.7,6.5,-19,4e-4,0,0,2.3),new Z(7,9,9,1,6.6,145,.8,.75,-19.7,8,-22,6e-4,0,0,2.7),new Z(8,9,9,1,6.6,145,1.2,1.15,-27.5,10,-23,7e-4,0,0,0),new Z(9,9,9,1,6.6,145,1.6,1.6,-36,11,-25,8e-4,0,0,0),new Z(10,9,9,1,6.6,145,2,2,-36,12,-25,8e-4,0,0,0)],c=[new Z(0,9,9,0,4.2,25,-7,-4,7.5,1,0,0,2,26,.97),new Z(1,9,9,0,4.2,25,-5.6,-3.6,4.5,1.5,0,0,2,21,1.35),new Z(2,9,9,0,4.2,25,-4.4,-1.8,2,2,0,0,2,18,1.49),new Z(3,9,9,1,4.2,25,-3.4,-1.25,1.1,3,-4,0,2,15,1.64),new Z(4,9,9,1,4.2,25,-2.2,.1,0,3.5,-8,0,2,0,1.79),new Z(5,9,9,1,4.2,25,-1,1.65,-7.7,4,
14-12,2e-4,0,0,1.95),new Z(6,9,9,1,4.2,25,-0,2.47,-7.7,6.5,-19,4e-4,0,0,2),new Z(7,9,9,1,4.2,25,.5,2,-14.5,8,-22,6e-4,0,0,2),new Z(8,9,9,1,4.2,25,1,2.4,-22,10,-23,7e-4,0,0,2),new Z(9,9,9,1,4.2,25,1.5,2.95,-30,11,-25,8e-4,0,0,2),new Z(10,9,9,1,4.2,25,2,2.95,-36,12,-30,8e-4,0,0,2)];function Q(t,_,h){var u,b=t.VBR==eG.vbr_rh?o:c,v=t.VBR_q_frac,A=b[_],M=b[_+1];A.st_lrm=A.st_lrm+v*(M.st_lrm-A.st_lrm),A.st_s=A.st_s+v*(M.st_s-A.st_s),A.masking_adj=A.masking_adj+v*(M.masking_adj-A.masking_adj),A.masking_adj_short=A.masking_adj_short+v*(M.masking_adj_short-A.masking_adj_short),A.ath_lower=A.ath_lower+v*(M.ath_lower-A.ath_lower),A.ath_curve=A.ath_curve+v*(M.ath_curve-A.ath_curve),A.ath_sensitivity=A.ath_sensitivity+v*(M.ath_sensitivity-A.ath_sensitivity),A.interch=A.interch+v*(M.interch-A.interch),A.msfix=A.msfix+v*(M.msfix-A.msfix),0>(u=A.vbr_q)&&(u=0),9<u&&(u=9),t.VBR_q=u,t.VBR_q_frac=0,0!=h?t.quant_comp=A.quant_comp:Math.abs(t.quant_comp- -1)>0||(t.quant_comp=A.quant_comp),0!=h?t.quant_comp_short=A.quant_comp_s:Math.abs(t.quant_comp_short- -1)>0||(t.quant_comp_short=A.quant_comp_s),0!=A.expY&&(t.experimentalY=0!=A.expY),0!=h?t.internal_flags.nsPsy.attackthre=A.st_lrm:Math.abs(t.internal_flags.nsPsy.attackthre- -1)>0||(t.internal_flags.nsPsy.attackthre=A.st_lrm),0!=h?t.internal_flags.nsPsy.attackthre_s=A.st_s:Math.abs(t.internal_flags.nsPsy.attackthre_s- -1)>0||(t.internal_flags.nsPsy.attackthre_s=A.st_s),0!=h?t.maskingadjust=A.masking_adj:Math.abs(t.maskingadjust-0)>0||(t.maskingadjust=A.masking_adj),0!=h?t.maskingadjust_short=A.masking_adj_short:Math.abs(t.maskingadjust_short-0)>0||(t.maskingadjust_short=A.masking_adj_short),0!=h?t.ATHlower=-A.ath_lower/10:Math.abs(-(10*t.ATHlower)-0)>0||(t.ATHlower=-A.ath_lower/10),0!=h?t.ATHcurve=A.ath_curve:Math.abs(t.ATHcurve- -1)>0||(t.ATHcurve=A.ath_curve),0!=h?t.athaa_sensitivity=A.ath_sensitivity:Math.abs(t.athaa_sensitivity- -1)>0||(t.athaa_sensitivity=A.ath_sensitivity),A.interch>0&&(0!=h?t.interChRatio=A.interch:Math.abs(t.interChRatio- -1)>0||(t.interChRatio=A.interch)),A.safejoint>0&&(t.exp_nspsytune=t.exp_nspsytune|A.safejoint),A.sfb21mod>0&&(t.exp_nspsytune=t.exp_nspsytune|A.sfb21mod<<20),0!=h?t.msfix=A.msfix:Math.abs(t.msfix- -1)>0||(t.msfix=A.msfix),0==h&&(t.VBR_q=_,t.VBR_q_frac=v)}var h=[new X(8,9,9,0,0,6.6,145,0,.95,0,-30,11,.0012,1),new X(16,9,9,0,0,6.6,145,0,.95,0,-25,11,.001,1),new X(24,9,9,0,0,6.6,145,0,.95,0,-20,11,.001,1),new X(32,9,9,0,0,6.6,145,0,.95,0,-15,11,.001,1),new X(40,9,9,0,0,6.6,145,0,.95,0,-10,11,9e-4,1),new X(48,9,9,0,0,6.6,145,0,.95,0,-10,11,9e-4,1),new X(56,9,9,0,0,6.6,145,0,.95,0,-6,11,8e-4,1),new X(64,9,9,0,0,6.6,145,0,.95,0,-2,11,8e-4,1),new X(80,9,9,0,0,6.6,145,0,.95,0,0,8,7e-4,1),new X(96,9,9,0,2.5,6.6,145,0,.95,0,1,5.5,6e-4,1),new X(112,9,9,0,2.25,6.6,145,0,.95,0,2,4.5,5e-4,1),new X(128,9,9,0,1.95,6.4,140,0,.95,0,3,4,2e-4,1),new X(160,9,9,1,1.79,6,135,0,.95,-2,5,3.5,0,1),new X(192,9,9,1,1.49,5.6,125,0,.97,-4,7,3,0,0),new X(224,9,9,1,1.25,5.2,125,0,.98,-6,9,2,0,0),new X(256,9,9,1,.97,5.2,125,0,1,-8,10,1,0,0),new X(320,9,9,1,.9,5.2,125,0,1,-10,12,0,0,0)];function g(_,o,c){var u=t.nearestBitrateFullIndex(o);if(_.VBR=eG.vbr_abr,_.VBR_mean_bitrate_kbps=o,_.VBR_mean_bitrate_kbps=Math.min(_.VBR_mean_bitrate_kbps,320),_.VBR_mean_bitrate_kbps=Math.max(_.VBR_mean_bitrate_kbps,8),_.brate=_.VBR_mean_bitrate_kbps,_.VBR_mean_bitrate_kbps>320&&(_.disable_reservoir=!0),h[u].safejoint>0&&(_.exp_nspsytune=2|_.exp_nspsytune),h[u].sfscale>0&&(_.internal_flags.noise_shaping=2),Math.abs(h[u].nsbass)>0){var b=int(4*h[u].nsbass);b<0&&(b+=64),_.exp_nspsytune=_.exp_nspsytune|b<<2}return 0!=c?_.quant_comp=h[u].quant_comp:Math.abs(_.quant_comp- -1)>0||(_.quant_comp=h[u].quant_comp),0!=c?_.quant_comp_short=h[u].quant_comp_s:Math.abs(_.quant_comp_short- -1)>0||(_.quant_comp_short=h[u].quant_comp_s),0!=c?_.msfix=h[u].nsmsfix:Math.abs(_.msfix- -1)>0||(_.msfix=h[u].nsmsfix),0!=c?_.internal_flags.nsPsy.attackthre=h[u].st_lrm:Math.abs(_.internal_flags.nsPsy.attackthre- -1)>0||(_.internal_flags.nsPsy.attackthre=h[u].st_lrm),0!=c?_.internal_flags.nsPsy.attackthre_s=h[u].st_s:Math.abs(_.internal_flags.nsPsy.attackthre_s- -1)>0||(_.internal_flags.nsPsy.attackthre_s=h[u].st_s),0!=c?_.scale=h[u].scale:Math.abs(_.scale- -1)>0||(_.scale=h[u].scale),0!=c?_.maskingadjust=h[u].masking_adj:Math.abs(_.maskingadjust-0)>0||(_.maskingadjust=h[u].masking_adj),h[u].masking_adj>0?0!=c?_.maskingadjust_short=.9*h[u].masking_adj:Math.abs(_.maskingadjust_short-0)>0||(_.maskingadjust_short=.9*h[u].masking_adj):0!=c?_.maskingadjust_short=1.1*h[u].masking_adj:Math.abs(_.maskingadjust_short-0)>0||(_.maskingadjust_short=1.1*h[u].masking_adj),0!=c?_.ATHlower=-h[u].ath_lower/10:Math.abs(-(10*_.ATHlower)-0)>0||(_.ATHlower=-h[u].ath_lower/10),0!=c?_.ATHcurve=h[u].ath_curve:Math.abs(_.ATHcurve- -1)>0||(_.ATHcurve=h[u].ath_curve),0!=c?_.interChRatio=h[u].interch:Math.abs(_.interChRatio- -1)>0||(_.interChRatio=h[u].interch),o}this.apply_preset=function(t,o,c){switch(o){case _.R3MIX:o=_.V3,t.VBR=eG.vbr_mtrh;break;case _.MEDIUM:o=_.V4,t.VBR=eG.vbr_rh;break;case _.MEDIUM_FAST:o=_.V4,t.VBR=eG.vbr_mtrh;break;case _.STANDARD:o=_.V2,t.VBR=eG.vbr_rh;break;case _.STANDARD_FAST:o=_.V2,t.VBR=eG.vbr_mtrh;break;case _.EXTREME:o=_.V0,t.VBR=eG.vbr_rh;break;case _.EXTREME_FAST:o=_.V0,t.VBR=eG.vbr_mtrh;break;case _.INSANE:return o=320,t.preset=o,g(t,o,c),t.VBR=eG.vbr_off,o}switch(t.preset=o,o){case _.V9:return Q(t,9,c),o;case _.V8:return Q(t,8,c),o;case _.V7:return Q(t,7,c),o;case _.V6:return Q(t,6,c),o;case _.V5:return Q(t,5,c),o;case _.V4:return Q(t,4,c),o;case _.V3:return Q(t,3,c),o;case _.V2:return Q(t,2,c),o;case _.V1:return Q(t,1,c),o;case _.V0:return Q(t,0,c),o}return 8<=o&&o<=320?g(t,o,c):(t.preset=0,o)}},as=Va(),ir=function(){this.rv=null,this.qupvt=null;var t,_,o,c,h=new D2;function D(t){this.ordinal=t}function f0(t){for(var _=0;_<t.sfbmax;_++)if(t.scalefac[_]+t.subblock_gain[t.window[_]]==0)return!1;return!0}this.setModules=function(u,b,v,A){t=u,_=b,this.rv=b,o=v,this.qupvt=v,c=A,h.setModules(o,c)},this.ms_convert=function(t,_){for(var o=0;o<576;++o){var c=t.tt[_][0].xr[o],h=t.tt[_][1].xr[o];t.tt[_][0].xr[o]=(c+h)*(.5*eW.SQRT2),t.tt[_][1].xr[o]=(c-h)*(.5*eW.SQRT2)}},this.init_xrpow=function(t,_,o){var c=0,h=0|_.max_nonzero_coeff;if(_.xrpow_max=0,eJ.fill(o,h,576,0),(c=function(t,_,o,c){c=0;for(var h=0;h<=o;++h){var u=Math.abs(t.xr[h]);c+=u,_[h]=Math.sqrt(u*Math.sqrt(u)),_[h]>t.xrpow_max&&(t.xrpow_max=_[h])}return c}(_,o,h,c))>1e-20){var u=0;2&t.substep_shaping&&(u=1);for(var b=0;b<_.psymax;b++)t.pseudohalf[b]=u;return!0}return eJ.fill(_.l3_enc,0,576,0),!1},this.init_outer_loop=function(t,_){_.part2_3_length=0,_.big_values=0,_.count1=0,_.global_gain=210,_.scalefac_compress=0,_.table_select[0]=0,_.table_select[1]=0,_.table_select[2]=0,_.subblock_gain[0]=0,_.subblock_gain[1]=0,_.subblock_gain[2]=0,_.subblock_gain[3]=0,_.region0_count=0,_.region1_count=0,_.preflag=0,_.scalefac_scale=0,_.count1table_select=0,_.part2_length=0,_.sfb_lmax=e2.SBPSY_l,_.sfb_smin=e2.SBPSY_s,_.psy_lmax=t.sfb21_extra?e2.SBMAX_l:e2.SBPSY_l,_.psymax=_.psy_lmax,_.sfbmax=_.sfb_lmax,_.sfbdivide=11;for(var c=0;c<e2.SBMAX_l;c++)_.width[c]=t.scalefac_band.l[c+1]-t.scalefac_band.l[c],_.window[c]=3;if(_.block_type==e2.SHORT_TYPE){var h=e$(576);_.sfb_smin=0,_.sfb_lmax=0,0!=_.mixed_block_flag&&(_.sfb_smin=3,_.sfb_lmax=2*t.mode_gr+4),_.psymax=_.sfb_lmax+3*((t.sfb21_extra?e2.SBMAX_s:e2.SBPSY_s)-_.sfb_smin),_.sfbmax=_.sfb_lmax+3*(e2.SBPSY_s-_.sfb_smin),_.sfbdivide=_.sfbmax-18,_.psy_lmax=_.sfb_lmax;var u=t.scalefac_band.l[_.sfb_lmax];eQ.arraycopy(_.xr,0,h,0,576);for(var c=_.sfb_smin;c<e2.SBMAX_s;c++)for(var b=t.scalefac_band.s[c],v=t.scalefac_band.s[c+1],A=0;A<3;A++)for(var M=b;M<v;M++)_.xr[u++]=h[3*M+A];for(var w=_.sfb_lmax,c=_.sfb_smin;c<e2.SBMAX_s;c++)_.width[w]=_.width[w+1]=_.width[w+2]=t.scalefac_band.s[c+1]-t.scalefac_band.s[c],_.window[w]=0,_.window[w+1]=1,_.window[w+2]=2,w+=3}_.count1bits=0,_.sfb_partition_table=o.nr_of_sfb_block[0][0],_.slen[0]=0,_.slen[1]=0,_.slen[2]=0,_.slen[3]=0,_.max_nonzero_coeff=575,eJ.fill(_.scalefac,0),function(t,_){var c=t.ATH,h=_.xr;if(_.block_type!=e2.SHORT_TYPE)for(var u=!1,b=e2.PSFB21-1;b>=0&&!u;b--){var v=t.scalefac_band.psfb21[b],A=t.scalefac_band.psfb21[b+1],M=o.athAdjust(c.adjust,c.psfb21[b],c.floor);t.nsPsy.longfact[21]>1e-12&&(M*=t.nsPsy.longfact[21]);for(var w=A-1;w>=v;w--)if(Math.abs(h[w])<M)h[w]=0;else{u=!0;break}}else for(var y=0;y<3;y++)for(var u=!1,b=e2.PSFB12-1;b>=0&&!u;b--){var v=3*t.scalefac_band.s[12]+(t.scalefac_band.s[13]-t.scalefac_band.s[12])*y+(t.scalefac_band.psfb12[b]-t.scalefac_band.psfb12[0]),A=v+(t.scalefac_band.psfb12[b+1]-t.scalefac_band.psfb12[b]),k=o.athAdjust(c.adjust,c.psfb12[b],c.floor);t.nsPsy.shortfact[12]>1e-12&&(k*=t.nsPsy.shortfact[12]);for(var w=A-1;w>=v;w--)if(Math.abs(h[w])<k)h[w]=0;else{u=!0;break}}}(t,_)},D.BINSEARCH_NONE=new D(0),D.BINSEARCH_UP=new D(1),D.BINSEARCH_DOWN=new D(2),this.trancate_smallspectrums=function(t,_,h,u){var b=e$(ep.SFBMAX);if(!(!(4&t.substep_shaping)&&_.block_type==e2.SHORT_TYPE||128&t.substep_shaping)){o.calc_noise(_,h,b,new we,null);for(var v=0;v<576;v++){var A=0;0!=_.l3_enc[v]&&(A=Math.abs(_.xr[v])),u[v]=A}var v=0,M=8;_.block_type==e2.SHORT_TYPE&&(M=6);do{var w,y,k,x,N,O=_.width[M];if(v+=O,!(b[M]>=1)&&(eJ.sort(u,v-O,O),!BitStream.EQ(u[v-1],0))){y=(1-b[M])*h[M],k=0,N=0;do{for(x=1;N+x<O&&!BitStream.NEQ(u[N+v-O],u[N+v+x-O]);x++);if(y<(w=u[N+v-O]*u[N+v-O]*x)){0!=N&&(k=u[N+v-O-1]);break}y-=w,N+=x}while(N<O);if(!BitStream.EQ(k,0))do Math.abs(_.xr[v-O])<=k&&(_.l3_enc[v-O]=0);while(--O>0)}}while(++M<_.psymax);_.part2_3_length=c.noquant_count_bits(t,_,null)}},this.outer_loop=function(t,_,h,u,b,v){var A=t.internal_flags,M=new Le,w=e$(576),y=e$(ep.SFBMAX),k=new we,x=new G2,N=9999999,O=!1,j=!1,F=0;if(function(t,_,o,h,u){var b,v,A=t.CurrentStep[h],M=!1,w=t.OldValue[h],y=D.BINSEARCH_NONE;for(_.global_gain=w,o-=_.part2_length;v=c.count_bits(t,u,_,null),1!=A&&v!=o;)v>o?(y==D.BINSEARCH_DOWN&&(M=!0),M&&(A/=2),y=D.BINSEARCH_UP,b=A):(y==D.BINSEARCH_UP&&(M=!0),M&&(A/=2),y=D.BINSEARCH_DOWN,b=-A),_.global_gain+=b,_.global_gain<0&&(_.global_gain=0,M=!0),_.global_gain>255&&(_.global_gain=255,M=!0);for(e0(_.global_gain>=0),e0(_.global_gain<256);v>o&&_.global_gain<255;)_.global_gain++,v=c.count_bits(t,u,_,null);t.CurrentStep[h]=w-_.global_gain>=4?4:2,t.OldValue[h]=_.global_gain,_.part2_3_length=v}(A,_,v,b,u),0==A.noise_shaping)return 100;o.calc_noise(_,h,y,k,x),k.bits=_.part2_3_length,M.assign(_);var C=0;for(eQ.arraycopy(u,0,w,0,576);!O;){do{var G,W=new we,J=255;if(G=2&A.substep_shaping?20:3,A.sfb21_extra&&(y[M.sfbmax]>1||M.block_type==e2.SHORT_TYPE&&(y[M.sfbmax+1]>1||y[M.sfbmax+2]>1))||!function(t,_,h,u,b){var v=t.internal_flags;!function(t,_,o,c,h){var u,b=t.internal_flags;u=0==_.scalefac_scale?1.2968395546510096:1.6817928305074292;for(var v=0,A=0;A<_.sfbmax;A++)v<o[A]&&(v=o[A]);var M=b.noise_shaping_amp;switch(3==M&&(M=h?2:1),M){case 2:break;case 1:v>1?v=Math.pow(v,.5):v*=.95;break;default:v>1?v=1:v*=.95}for(var w=0,A=0;A<_.sfbmax;A++){var y,k=_.width[A];if(w+=k,!(o[A]<v)){if(2&b.substep_shaping&&(b.pseudohalf[A]=0==b.pseudohalf[A]?1:0,0==b.pseudohalf[A]&&2==b.noise_shaping_amp))return;for(_.scalefac[A]++,y=-k;y<0;y++)c[w+y]*=u,c[w+y]>_.xrpow_max&&(_.xrpow_max=c[w+y]);if(2==b.noise_shaping_amp)return}}}(t,_,h,u,b);var A=f0(_);return!A&&(!(A=2==v.mode_gr?c.scale_bitcount(_):c.scale_bitcount_lsf(v,_))||(v.noise_shaping>1&&(eJ.fill(v.pseudohalf,0),0==_.scalefac_scale?(function(t,_){for(var c=0,h=0;h<t.sfbmax;h++){var u=t.width[h],b=t.scalefac[h];if(0!=t.preflag&&(b+=o.pretab[h]),c+=u,1&b){b++;for(var v=-u;v<0;v++)_[c+v]*=1.2968395546510096,_[c+v]>t.xrpow_max&&(t.xrpow_max=_[c+v])}t.scalefac[h]=b>>1}t.preflag=0,t.scalefac_scale=1}(_,u),A=!1):_.block_type==e2.SHORT_TYPE&&v.subblock_gain>0&&(A=function(t,_,c){var h,u=_.scalefac;for(h=0;h<_.sfb_lmax;h++)if(u[h]>=16)return!0;for(var b=0;b<3;b++){var v=0,A=0;for(h=_.sfb_lmax+b;h<_.sfbdivide;h+=3)v<u[h]&&(v=u[h]);for(;h<_.sfbmax;h+=3)A<u[h]&&(A=u[h]);if(!(v<16&&A<8)){if(_.subblock_gain[b]>=7)return!0;_.subblock_gain[b]++;var M=t.scalefac_band.l[_.sfb_lmax];for(h=_.sfb_lmax+b;h<_.sfbmax;h+=3){var w,y=_.width[h],k=u[h];if((k-=4>>_.scalefac_scale)>=0){u[h]=k,M+=3*y;continue}u[h]=0;var x=210+(k<<_.scalefac_scale+1);w=o.IPOW20(x),M+=y*(b+1);for(var N=-y;N<0;N++)c[M+N]*=w,c[M+N]>_.xrpow_max&&(_.xrpow_max=c[M+N]);M+=y*(3-b-1)}var w=o.IPOW20(202);M+=_.width[h]*(b+1);for(var N=-_.width[h];N<0;N++)c[M+N]*=w,c[M+N]>_.xrpow_max&&(_.xrpow_max=c[M+N])}}return!1}(v,_,u)||f0(_))),A||(A=2==v.mode_gr?c.scale_bitcount(_):c.scale_bitcount_lsf(v,_)),!A))}(t,M,y,u,j))break;0!=M.scalefac_scale&&(J=254);var $=v-M.part2_length;if($<=0)break;for(;(M.part2_3_length=c.count_bits(A,u,M,x))>$&&M.global_gain<=J;)M.global_gain++;
14if(M.global_gain>J)break;if(0==k.over_count){for(;(M.part2_3_length=c.count_bits(A,u,M,x))>N&&M.global_gain<=J;)M.global_gain++;if(M.global_gain>J)break}if(o.calc_noise(M,h,y,W,x),W.bits=M.part2_3_length,0!=(!function(t,_,o,c,h){var u;switch(t){default:case 9:_.over_count>0?(u=o.over_SSD<=_.over_SSD,o.over_SSD==_.over_SSD&&(u=o.bits<_.bits)):u=o.max_noise<0&&10*o.max_noise+o.bits<=10*_.max_noise+_.bits;break;case 0:u=o.over_count<_.over_count||o.over_count==_.over_count&&o.over_noise<_.over_noise||o.over_count==_.over_count&&BitStream.EQ(o.over_noise,_.over_noise)&&o.tot_noise<_.tot_noise;break;case 8:o.max_noise=function(t,_){for(var o,c=1e-37,h=0;h<_.psymax;h++)c+=(o=t[h],eW.FAST_LOG10(.368+.632*o*o*o));return Math.max(1e-20,c)}(h,c);case 1:u=o.max_noise<_.max_noise;break;case 2:u=o.tot_noise<_.tot_noise;break;case 3:u=o.tot_noise<_.tot_noise&&o.max_noise<_.max_noise;break;case 4:u=o.max_noise<=0&&_.max_noise>.2||o.max_noise<=0&&_.max_noise<0&&_.max_noise>o.max_noise-.2&&o.tot_noise<_.tot_noise||o.max_noise<=0&&_.max_noise>0&&_.max_noise>o.max_noise-.2&&o.tot_noise<_.tot_noise+_.over_noise||o.max_noise>0&&_.max_noise>-.05&&_.max_noise>o.max_noise-.1&&o.tot_noise+o.over_noise<_.tot_noise+_.over_noise||o.max_noise>0&&_.max_noise>-.1&&_.max_noise>o.max_noise-.15&&o.tot_noise+o.over_noise+o.over_noise<_.tot_noise+_.over_noise+_.over_noise;break;case 5:u=o.over_noise<_.over_noise||BitStream.EQ(o.over_noise,_.over_noise)&&o.tot_noise<_.tot_noise;break;case 6:u=o.over_noise<_.over_noise||BitStream.EQ(o.over_noise,_.over_noise)&&(o.max_noise<_.max_noise||BitStream.EQ(o.max_noise,_.max_noise)&&o.tot_noise<=_.tot_noise);break;case 7:u=o.over_count<_.over_count||o.over_noise<_.over_noise}return 0==_.over_count&&(u=u&&o.bits<_.bits),u}(_.block_type!=e2.SHORT_TYPE?t.quant_comp:t.quant_comp_short,k,W,M,y)?0:1))N=_.part2_3_length,k=W,_.assign(M),C=0,eQ.arraycopy(u,0,w,0,576);else if(0==A.full_outer_loop&&(++C>G&&0==k.over_count||3==A.noise_shaping_amp&&j&&C>30||3==A.noise_shaping_amp&&j&&M.global_gain-F>15))break}while(M.global_gain+M.scalefac_scale<255);3==A.noise_shaping_amp?j?O=!0:(M.assign(_),eQ.arraycopy(w,0,u,0,576),C=0,F=M.global_gain,j=!0):O=!0}return e0(_.global_gain+_.scalefac_scale<=255),t.VBR==eU.vbr_rh||t.VBR==eU.vbr_mtrh?eQ.arraycopy(w,0,u,0,576):1&A.substep_shaping&&trancate_smallspectrums(A,_,h,u),k.over_count},this.iteration_finish_one=function(t,o,h){var u=t.l3_side,b=u.tt[o][h];c.best_scalefac_store(t,o,h,u),1==t.use_best_huffman&&c.best_huffman_divide(t,b),_.ResvAdjust(t,b)},this.VBR_encode_granule=function(t,_,o,c,h,u,b){var v,A=t.internal_flags,M=new Le,w=e$(576),y=b,k=b+1,x=(b+u)/2,N=0,O=A.sfb21_extra;e0(y<=LameInternalFlags.MAX_BITS_PER_CHANNEL),eJ.fill(M.l3_enc,0);do x>y-42?A.sfb21_extra=!1:A.sfb21_extra=O,0>=outer_loop(t,_,o,c,h,x)?(N=1,k=_.part2_3_length,M.assign(_),eQ.arraycopy(c,0,w,0,576),v=(b=k-32)-u,x=(b+u)/2):(v=b-(u=x+32),x=(b+u)/2,0!=N&&(N=2,_.assign(M),eQ.arraycopy(w,0,c,0,576)));while(v>12);A.sfb21_extra=O,2==N&&eQ.arraycopy(M.l3_enc,0,_.l3_enc,0,576),e0(_.part2_3_length<=y)},this.get_framebits=function(o,c){var h=o.internal_flags;h.bitrate_index=h.VBR_min_bitrate;var u=t.getframebits(o);h.bitrate_index=1,u=t.getframebits(o);for(var b=1;b<=h.VBR_max_bitrate;b++){h.bitrate_index=b;var v=new MeanBits(u);c[b]=_.ResvFrameBegin(o,v),u=v.bits}},this.VBR_old_prepare=function(t,c,h,u,b,v,A,M,w){var y,k=t.internal_flags,x=0,N=1,O=0;k.bitrate_index=k.VBR_max_bitrate;var j=_.ResvFrameBegin(t,new MeanBits(0))/k.mode_gr;get_framebits(t,v);for(var F=0;F<k.mode_gr;F++){var C=o.on_pe(t,c,M[F],j,F,0);k.mode_ext==e2.MPG_MD_MS_LR&&(ms_convert(k.l3_side,F),o.reduce_side(M[F],h[F],j,C));for(var G=0;G<k.channels_out;++G){var W=k.l3_side.tt[F][G];W.block_type!=e2.SHORT_TYPE?(x=1.28/(1+Math.exp(3.5-c[F][G]/300))-.05,y=k.PSY.mask_adjust-x):(x=2.56/(1+Math.exp(3.5-c[F][G]/300))-.14,y=k.PSY.mask_adjust_short-x),k.masking_lower=Math.pow(10,.1*y),init_outer_loop(k,W),w[F][G]=o.calc_xmin(t,u[F][G],W,b[F][G]),0!=w[F][G]&&(N=0),A[F][G]=126,O+=M[F][G]}}for(var F=0;F<k.mode_gr;F++)for(var G=0;G<k.channels_out;G++)O>v[k.VBR_max_bitrate]&&(M[F][G]*=v[k.VBR_max_bitrate],M[F][G]/=O),A[F][G]>M[F][G]&&(A[F][G]=M[F][G]);return N},this.bitpressure_strategy=function(t,_,o,c){for(var h=0;h<t.mode_gr;h++)for(var u=0;u<t.channels_out;u++){for(var b=t.l3_side.tt[h][u],v=_[h][u],A=0,M=0;M<b.psy_lmax;
vendor: 5,057 bytes, line 14
14M++)v[A++]*=1+.029*M*M/e2.SBMAX_l/e2.SBMAX_l;if(b.block_type==e2.SHORT_TYPE)for(var M=b.sfb_smin;M<e2.SBMAX_s;M++)v[A++]*=1+.029*M*M/e2.SBMAX_s/e2.SBMAX_s,v[A++]*=1+.029*M*M/e2.SBMAX_s/e2.SBMAX_s,v[A++]*=1+.029*M*M/e2.SBMAX_s/e2.SBMAX_s;c[h][u]=0|Math.max(o[h][u],.9*c[h][u])}},this.VBR_new_prepare=function(t,c,h,u,b,v){var A,M=t.internal_flags,w=1,y=0,k=0;if(t.free_format){M.bitrate_index=0;var x=new MeanBits(y);A=_.ResvFrameBegin(t,x),y=x.bits,b[0]=A}else{M.bitrate_index=M.VBR_max_bitrate;var x=new MeanBits(y);_.ResvFrameBegin(t,x),y=x.bits,get_framebits(t,b),A=b[M.VBR_max_bitrate]}for(var N=0;N<M.mode_gr;N++){o.on_pe(t,c,v[N],y,N,0),M.mode_ext==e2.MPG_MD_MS_LR&&ms_convert(M.l3_side,N);for(var O=0;O<M.channels_out;++O){var j=M.l3_side.tt[N][O];M.masking_lower=Math.pow(10,.1*M.PSY.mask_adjust),init_outer_loop(M,j),0!=o.calc_xmin(t,h[N][O],j,u[N][O])&&(w=0),k+=v[N][O]}}for(var N=0;N<M.mode_gr;N++)for(var O=0;O<M.channels_out;O++)k>A&&(v[N][O]*=A,v[N][O]/=k);return w},this.calc_target_bits=function(c,h,u,b,v,A){var M,w,y,k,x=c.internal_flags,N=x.l3_side,O=0;x.bitrate_index=x.VBR_max_bitrate;var j=new MeanBits(O);for(A[0]=_.ResvFrameBegin(c,j),O=j.bits,x.bitrate_index=1,O=t.getframebits(c)-8*x.sideinfo_len,v[0]=O/(x.mode_gr*x.channels_out),O=c.VBR_mean_bitrate_kbps*c.framesize*1e3,1&x.substep_shaping&&(O*=1.09),O/=c.out_samplerate,O-=8*x.sideinfo_len,O/=x.mode_gr*x.channels_out,(M=.93+.07*(11-c.compression_ratio)/5.5)<.9&&(M=.9),M>1&&(M=1),w=0;w<x.mode_gr;w++){var F=0;for(y=0;y<x.channels_out;y++){if(b[w][y]=int(M*O),h[w][y]>700){var C=int((h[w][y]-700)/1.4),G=N.tt[w][y];b[w][y]=int(M*O),G.block_type==e2.SHORT_TYPE&&C<O/2&&(C=O/2),C>3*O/2?C=3*O/2:C<0&&(C=0),b[w][y]+=C}b[w][y]>LameInternalFlags.MAX_BITS_PER_CHANNEL&&(b[w][y]=LameInternalFlags.MAX_BITS_PER_CHANNEL),F+=b[w][y]}if(F>LameInternalFlags.MAX_BITS_PER_GRANULE)for(y=0;y<x.channels_out;++y)b[w][y]*=LameInternalFlags.MAX_BITS_PER_GRANULE,b[w][y]/=F}if(x.mode_ext==e2.MPG_MD_MS_LR)for(w=0;w<x.mode_gr;w++)o.reduce_side(b[w],u[w],O*x.channels_out,LameInternalFlags.MAX_BITS_PER_GRANULE);for(k=0,w=0;w<x.mode_gr;w++)for(y=0;y<x.channels_out;y++)b[w][y]>LameInternalFlags.MAX_BITS_PER_CHANNEL&&(b[w][y]=LameInternalFlags.MAX_BITS_PER_CHANNEL),k+=b[w][y];if(k>A[0])for(w=0;w<x.mode_gr;w++)for(y=0;y<x.channels_out;y++)b[w][y]*=A[0],b[w][y]/=k}},an=Oa(),_r=function(){var t;this.setModules=function(_){t=_},this.ResvFrameBegin=function(_,o){var c,h=_.internal_flags,u=h.l3_side,b=t.getframebits(_);o.bits=(b-8*h.sideinfo_len)/h.mode_gr;var v=2048*h.mode_gr-8;_.brate>320?c=8*int(1e3*_.brate/(_.out_samplerate/1152)/8+.5):(c=11520,_.strict_ISO&&(c=8*int(32e4/(_.out_samplerate/1152)/8+.5))),h.ResvMax=c-b,h.ResvMax>v&&(h.ResvMax=v),(h.ResvMax<0||_.disable_reservoir)&&(h.ResvMax=0);var A=o.bits*h.mode_gr+Math.min(h.ResvSize,h.ResvMax);return A>c&&(A=c),e3(h.ResvMax%8==0),e3(h.ResvMax>=0),u.resvDrain_pre=0,null!=h.pinfo&&(h.pinfo.mean_bits=o.bits/2,h.pinfo.resvsize=h.ResvSize),A},this.ResvMaxBits=function(t,_,o,c){var h,u=t.internal_flags,b=u.ResvSize,v=u.ResvMax;0!=c&&(b+=_),1&u.substep_shaping&&(v*=.9),o.bits=_,10*b>9*v?(h=b-9*v/10,o.bits+=h,u.substep_shaping|=128):(h=0,u.substep_shaping&=127,t.disable_reservoir||1&u.substep_shaping||(o.bits-=.1*_));var A=b<6*u.ResvMax/10?b:6*u.ResvMax/10;return(A-=h)<0&&(A=0),A},this.ResvAdjust=function(t,_){t.ResvSize-=_.part2_3_length+_.part2_length},this.ResvFrameEnd=function(t,_){var o,c=t.l3_side;t.ResvSize+=_*t.mode_gr;var h=0;c.resvDrain_post=0,c.resvDrain_pre=0,0!=(o=t.ResvSize%8)&&(h+=o),(o=t.ResvSize-h-t.ResvMax)>0&&(h+=o);var u=Math.min(8*c.main_data_begin,h)/8;c.resvDrain_pre+=8*u,h-=8*u,t.ResvSize-=8*u,c.main_data_begin-=u,c.resvDrain_post+=h,t.ResvSize-=h}},ar=Ve();t1();var or=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"}};function ur(){this.setModules=function(t,_){}}function fr(){this.setModules=function(t,_,o){}}function mr(){}function br(){this.setModules=function(t,_){}}function A1(){this.dataOffset=0,this.dataLen=0,this.channels=0,this.sampleRate=0}function _e(t){return t.charCodeAt(0)<<24|t.charCodeAt(1)<<16|t.charCodeAt(2)<<8|t.charCodeAt(3)}A1.RIFF=_e("RIFF"),A1.WAVE=_e("WAVE"),A1.fmt_=_e("fmt "),A1.data=_e("data"),A1.readHeader=function(t){var _=new A1,o=t.getUint32(0,!1);if(A1.RIFF==o&&(t.getUint32(4,!0),A1.WAVE==t.getUint32(8,!1)&&A1.fmt_==t.getUint32(12,!1))){var c=t.getUint32(16,!0),h=20;switch(c){case 16:case 18:_.channels=t.getUint16(h+2,!0),_.sampleRate=t.getUint32(h+4,!0);break;default:throw"extended fmt chunk not implemented"}h+=c;for(var u=A1.data,b=0;u!=o&&(o=t.getUint32(h,!1),b=t.getUint32(h+4,!0),u!=o);)h+=b+8;return _.dataLen=b,_.dataOffset=h+8,_}},F.Mp3Encoder=function(t,_,o){3!=arguments.length&&(console.error("WARN: Mp3Encoder(channels, samplerate, kbps) not specified"),t=1,_=44100,o=128);
14var c=new at,h=new ur,u=new j0,b=new ar,v=new rr,A=new as,M=new ir,w=new Q1,y=new or,k=new br,x=new _r,N=new an,O=new fr,j=new mr;c.setModules(u,b,v,A,M,w,y,k,j),b.setModules(u,j,y,w),k.setModules(b,y),v.setModules(c),M.setModules(b,x,A,N),A.setModules(N,x,c.enc.psy),x.setModules(b),N.setModules(A),w.setModules(c,b,y),h.setModules(O,j),O.setModules(y,k,v);var F=c.lame_init();F.num_channels=t,F.in_samplerate=_,F.brate=o,F.mode=R1.STEREO,F.quality=3,F.bWriteVbrTag=!1,F.disable_reservoir=!0,F.write_id3tag_automatic=!1,c.lame_init_params(F);var C=1152,G=8640,W=ae(8640);this.encodeBuffer=function(_,o){1==t&&(o=_),aa(_.length==o.length),_.length>C&&(W=ae(G=0|1.25*(C=_.length)+7200));var h=c.lame_encode_buffer(F,_,o,_.length,W,0,G);return new Int8Array(W.subarray(0,h))},this.flush=function(){var t=c.lame_encode_flush(F,W,0,G);return new Int8Array(W.subarray(0,t))}},F.WavHeader=A1}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.