1"use strict";(self.webpackChunkquizshow=self.webpackChunkquizshow||[]).push([["3765"],{50480:function(t,r,e){e.d(r,{s:function(){return c},t:function(){return b}});var n=e(39605),a=e(41518);function o(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function i(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var e,n,a=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var o=[],i=!0,l=!1;try{for(a=a.call(t);!(i=(e=a.next()).done)&&(o.push(e.value),!r||o.length!==r);i=!0);}catch(t){l=!0,n=t}finally{try{i||null==a.return||a.return()}finally{if(l)throw n}}return o}}(t,r)||function(t,r){if(t){if("string"==typeof t)return o(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return o(t,r)}}(t,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l=function(t,r,e){var n=new Float32Array(257);n[0]=t(),n[256]=t();for(var a=256,o=1;a>1;){for(var i=a>>1,l=i;l<256;l+=a)n[l]=(n[l-i]+n[l+i])/2+(t()-.5)*o;o*=r,a=i}var f=1/0,c=-1/0;return n.forEach(function(t){f=Math.min(f,t),c=Math.max(c,t)}),n.map(function(t){return Math.pow((t-f)/(c-f||1),e)})},f=[{peak:470,foot:150,depth:1,snow:.6,rough:.56},{peak:390,foot:110,depth:.8,snow:.66,rough:.55},{peak:300,foot:70,depth:.58,snow:.8,rough:.5},{peak:210,foot:40,depth:.36,snow:2,rough:.46},{peak:140,foot:15,depth:.16,snow:2,rough:.42}],c=function(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Math.floor(1e6*Math.random()),e=(t=r,function(){t|=0;var r=Math.imul((t=t+0x6d2b79f5|0)^t>>>15,1|t);return(((r=r+Math.imul(r^r>>>7,61|r)^r)^r>>>14)>>>0)/0x100000000});return{ridges:f.map(function(t,r){for(var n,a,o=l(e,t.rough,1.3),i=Math.floor(256*e()),f=25+35*e(),c=0,u=0;u<=256;u++)o[u]+=(r<3?.2:.08)*Math.exp(-Math.pow((u-i)/f,2)),c=Math.max(c,o[u]);return n=function(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{},n=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.forEach(function(r){var n;n=e[r],r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n})}return t}({},t),a=a={h:o.map(function(t){return t/c}),snowNoise:l(e,.6,1)},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):(function(t){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r.push.apply(r,e)}return r})(Object(a)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(a,t))}),n}),stars:Array.from({length:110},function(){return{x:e()*n.HN,y:420*e(),r:.6+1.8*Math.pow(e(),3),phase:6*e()}}),clouds:Array.from({length:6},function(){return{x:e()*(n.HN+400),y:70+180*e(),w:160+220*e(),puffs:Array.from({length:6},function(){return[e()-.5,(e()-.5)*.8,.45+.55*e()]})}})}},u=function(t,r){var e=256*Math.max(0,Math.min(1,r/n.HN)),a=Math.min(255,Math.floor(e)),o=e-a;return t[a]*(1-o)+t[a+1]*o},h=function(t){var r=(t-a.e0)/(a.Du-a.e0);return{p:r,x:-60+r*(n.HN+120),y:520-470*Math.sin(Math.PI*Math.max(-.2,Math.min(1.2,r))),elevation:Math.sin(Math.PI*r)}},s=function(t,r,e,o,l,f){var c=t.createLinearGradient(0,0,0,560);c.addColorStop(0,(0,a.AH)(e.top)),c.addColorStop(.55,(0,a.AH)(e.mid)),c.addColorStop(1,(0,a.AH)(e.hor)),t.fillStyle=c,t.fillRect(0,0,n.HN,n.OE),e.stars>.01&&r.stars.forEach(function(r){var n=.45+.55*Math.pow(Math.sin(1.8*l+r.phase),2);t.fillStyle="rgba(255, 255, 255, ".concat((e.stars*n*(1-r.y/700)).toFixed(3),")"),t.fillRect(r.x,r.y,r.r,r.r)});var u=h(o);if(u.elevation>-.35&&u.elevation<.55){var s=(1-Math.abs(u.elevation-.02)/.55)*.75,d=t.createRadialGradient(u.x,560,10,u.x,560,.75*n.HN);d.addColorStop(0,(0,a.AH)(e.glow,.5*s)),d.addColorStop(.5,(0,a.AH)(e.glow,.13*s)),d.addColorStop(1,(0,a.AH)(e.glow,0)),t.fillStyle=d,t.fillRect(0,0,n.HN,n.OE)}if(u.p>-.08&&u.p<1.08){var p=1-Math.min(1,Math.max(0,u.elevation)/.45),y=(0,a.jh)([255,252,238],[255,150,90],p),b=t.createRadialGradient(u.x,u.y,0,u.x,u.y,260);b.addColorStop(0,(0,a.AH)(y,.55)),b.addColorStop(.2,(0,a.AH)(y,.16)),b.addColorStop(1,(0,a.AH)(y,0)),t.fillStyle=b,t.fillRect(u.x-260,u.y-260,520,520),t.fillStyle=(0,a.AH)(y),t.beginPath(),t.arc(u.x,u.y,22,0,7),t.fill()}var v=(0,a.jh)((0,a.jh)(e.hor,[255,255,255],.45),e.glow,.3);t.fillStyle=(0,a.AH)(v,.34+.3*(1-e.stars)),r.clouds.forEach(function(r){var e=n.HN+600,a=((r.x+l*(5+.08*f))%e+e)%e-300;
1r.puffs.forEach(function(e){var n=i(e,3),o=n[0],l=n[1],f=n[2];t.beginPath(),t.ellipse(a+o*r.w,r.y+22*l,.32*r.w*f,15*f,0,0,7),t.fill()})});var g=l%26/26;if(g<.6){t.strokeStyle=(0,a.AH)(e.near,.55),t.lineWidth=1.6;for(var m=0;m<6;m++){var M=-80+g*(n.HN+200)/.6+m%3*22-12*m,x=180+m%2*14+7*m+4*Math.sin(2*l+m),k=4*Math.sin(9*l+m);t.beginPath(),t.moveTo(M-7,x-k),t.lineTo(M,x),t.lineTo(M+7,x-k),t.stroke()}}},d=function(t,r,e){r.ridges.forEach(function(r){var o=(0,a.jh)((0,a.jh)(e.near,e.far,r.depth),e.haze,.04+.36*r.depth),l=function(t){return 560-(r.foot+(r.peak-r.foot)*u(r.h,t))},f=t.createLinearGradient(0,560-r.peak,0,560);f.addColorStop(0,(0,a.AH)((0,a.jh)(o,e.glow,.14))),f.addColorStop(1,(0,a.AH)(o)),t.fillStyle=f,t.beginPath(),t.moveTo(0,n.OE);for(var c=0;c<=n.HN;c+=5)t.lineTo(c,l(c));if(t.lineTo(n.HN,n.OE),t.closePath(),t.fill(),r.snow<=1){t.fillStyle=(0,a.AH)(e.snow,.9),t.beginPath();for(var h=[],s=0;s<=n.HN;s+=5)h.push([s,l(s)]);h.forEach(function(r,e){var n=i(r,2),a=n[0],o=n[1];return e?t.lineTo(a,o):t.moveTo(a,o)});for(var d=h.length-1;d>=0;d--){var p=i(h[d],2),y=p[0],b=p[1],v=r.snow+(u(r.snowNoise,y)-.5)*.12,g=560-(r.foot+(r.peak-r.foot)*v);t.lineTo(y,Math.max(b,g))}t.closePath(),t.fill()}var m=t.createLinearGradient(0,560-r.foot-40,0,560);m.addColorStop(0,(0,a.AH)(e.haze,0)),m.addColorStop(1,(0,a.AH)(e.haze,.35*r.depth)),t.fillStyle=m,t.fillRect(0,560-r.foot-40,n.HN,r.foot+40+n.OE-560)})},p=new WeakMap,y=function(t,r,e,a){var o=p.get(t);o||(o={canvas:document.createElement("canvas"),key:null},p.set(t,o));var i=Math.round(40*e)+"|"+a;if(o.key!==i){o.key=i;var l=o.canvas;l.width=Math.round(n.HN*a),l.height=Math.round(n.OE*a);var f=l.getContext("2d");f.setTransform(a,0,0,a,0,0),d(f,t,r)}return o.canvas},b=function(t,r,e,a,o,i,l){s(t,r,e,a,o,i),t.drawImage(y(r,e,a,l),0,0,n.HN,n.OE)}},97363:function(t,r,e){e.d(r,{P:function(){return n},S:function(){return a}});var n="#2f2a3a",a=function(t){return t>.6?"#51cf66":t>.3?"#fcc419":"#ff6b6b"}},39605:function(t,r,e){e.d(r,{Bs:function(){return te},Dl:function(){return O},HK:function(){return tx},HN:function(){return u},JY:function(){return tP},Kh:function(){return K},Nh:function(){return tw},OE:function(){return h},PM:function(){return tO},T6:function(){return b},__:function(){return g},bH:function(){return to},by:function(){return U},eA:function(){return s},g2:function(){return td},gu:function(){return tk},hg:function(){return ta},lC:function(){return tT},pk:function(){return P},tG:function(){return tX},tV:function(){return tE},x8:function(){return tS},xz:function(){return tr},zh:function(){return tp},zn:function(){return tH}});var n=e(8168),a=e(83374),o=e(41518);function i(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function l(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{},n=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.forEach(function(r){var n;n=e[r],r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n})}return t}function f(t,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(t){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r.push.apply(r,e)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t}function c(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return i(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var u=1400,h=787,s=648,d=-(a.WN.body.top+a.WN.body.bottom)/2*a.WN.scale,p=(a.WN.body.bottom-a.WN.body.top)/2*a.WN.scale,y=function(t){var r=Math.max(0,Math.min(1,(t-2)/16));return{size:1.45-.5*r,crater:44*(1.05-.4*r),blast:66*(1.3-.5*r)}},b=function(t){return Math.max(.16,Math.min(.4,3.6/t))},v=["#ff6b6b","#4dabf7","#51cf66","#fcc419","#b197fc","#ff922b","#20c997","#f783ac","#74c0fc","#94d82d","#e599f7","#ffa8a8"],g=function(t){return v[t%v.length]},m=function(t,r,e,n){var a=Number(t);return Math.max(e,Math.min(n,Number.isFinite(a)&&a>0?a:r))},M=function(t,r,e){var n=Number(t);return Math.max(0,Math.min(e,void 0!==t&&""!==t&&Number.isFinite(n)?n:r))},x=["ranked","podium","winner"],k=[1,.5,.25],P=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return f(l({},t),{points:M(t.points,1e3,1e5),distribution:x.includes(t.distribution)?t.distribution:"ranked",hp:m(t.hp,100,20,500),damagePoints:M(t.damagePoints,2,50),killBonus:M(t.killBonus,100,5e3),hurtPenalty:M(t.hurtPenalty,1,20),knockoutPenalty:M(t.knockoutPenalty,50,5e3),rounds:Math.round(m(t.rounds,8,1,12)),aimTime:m(t.aimTime,15,6,60),survival:!!t.survival})},O=function(t){var r=t.angle,e=t.power;return{angle:Math.max(5,Math.min(175,Number(r)||90)),power:Math.max(10,Math.min(100,Number(e)||60))}},w=function(t,r){var e=0x165667b1*t+0x27d4eb2f*r|0;return(((e=Math.imul(e^e>>>13,0x4bf19f61))^e>>>16)>>>0)/0x100000000},X=function(t,r,e){var n=Math.max(0,Math.min(1,(e-t)/(r-t)));return n*n*(3-2*n)},S=function(t,r){return[t[0]*r,t[1]*r,t[2]*r]},j=[190,232,122],A=[104,178,72],T=[62,102,52],H=[248,251,255],E=[214,226,243],W=[128,96,66],N=[78,62,60],C=[158,164,178],z=[92,97,114],I=[232,89,12],D=function(t,r,e){return r=Math.round(r),e=Math.round(e),!(r<0)&&!(r>=u)&&!(e<0)&&!(e>=s-2)&&0!==t.mask[e*u+r]},L=function(t,r,e,n,a){if(!(r<0)&&!(r>=u)&&!(e<0)&&!(e>=h)){var o=e*u+r,i=(w(r,e)-.5)*10;t.mask[o]=n,t.pixels[4*o]=a[0]+i,t.pixels[4*o+1]=a[1]+i,t.pixels[4*o+2]=a[2]+i,t.pixels[4*o+3]=255}},R=function(t,r,e){var n=Math.sin(.085*r+2.4*Math.sin(.012*t)+.7*Math.sin(.047*t)),a=(0,o.jh)(W,N,Math.min(1,e/200));n>.6&&(a=S(a,1.12)),n<-.65&&(a=S(a,.86));var i=w(3*t,7*r);return i>
1.986&&(a=(0,o.jh)(a,C,.7)),i<.012&&(a=S(a,.7)),a},Y=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=w(Math.floor(t/3),Math.floor(r/5))>.93,a=(0,o.jh)(z,C,.5+e);return n?S(a,.75):a},F=function(t,r,e,n){for(var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=Math.max(0,Math.ceil(e)),i=Math.min(h-1,Math.floor(n)),l=e<390,f=7+Math.floor(5*w(r,11)),c=o;c<=i;c++){var u=c-e,s=void 0;s=u<2.5?l?H:j:u<f?l?E:S(A,1-u/f*.15):u<f+2.5?l?z:T:R(r,c,u);var d=a&&i-c<a?2:1;2===d&&(s=Y(r,c,-.1)),L(t,r,c,d,s)}},q=function(t,r,e,n){for(var a=Math.floor(e-n);a<=e+n;a++)for(var o=Math.floor(r-n);o<=r+n;o++){var i=o-r,l=a-e;if(!(i*i+l*l>n*n)&&t.mask[a*u+o]){var f=-(i+l)/n*.22;L(t,o,a,2,Math.hypot(i,l)>n-2?S(z,.8):Y(o,a,f))}}},B=function(t,r,e,n,a){for(var o=Math.cos(a),i=Math.sin(a),l=n/2+8,f=Math.floor(e-l);f<=e+l;f++)for(var c=Math.floor(r-l);c<=r+l;c++){var u=(c-r)*o+(f-e)*i,h=-(c-r)*i+(f-e)*o;if(!(Math.abs(u)>n/2||Math.abs(h)>7)){var s=Math.abs(h)>4,d=u+n/2,p=3>Math.abs(((d+2*h)%18+18)%18)||3>Math.abs(((d-2*h)%18+18)%18);(s||p||!(d>3)||!(d<n-3))&&L(t,c,f,3,S(I,Math.abs(h)>6?.62:h<-4?1.12:.9))}}},V=function(t,r,e,n,a){for(var o=n/2,i=Math.floor(r-o);i<=r+o;i++){var l=1-Math.pow((i-r)/o,2);if(!(l<=0)){var f=e-8*Math.sqrt(l)+1.5*Math.sin(.2*i),c=e+12+58*Math.pow(l,1.6)+(Math.sin(.09*i)+.5*Math.sin(.2*i))*4*l;F(t,i,f,c,34)}}.7>a()&&q(t,r+(a()-.5)*o,e+22,11)},Z=function(t,r){for(var e={mask:new Uint8Array(u*h),pixels:new Uint8ClampedArray(u*h*4),top:new Float32Array(u).fill(1/0),edge:new Float32Array(u)},n=26+30*r(),a=u-26-30*r(),o=t>=5?2:1,i=64+36*r(),l=Array.from({length:o},function(t,e){return n+(a-n)*(e+1)/(o+1)+(r()-.5)*70}),f=[n].concat(c(l.flatMap(function(t){return[t-i/2,t+i/2]})),[a]),d=Array.from({length:4},function(t,e){return{amp:[66,36,16,7][e]*(.7+.6*r()),freq:[1.1,2.6,5.4,11][e]*(.8+.4*r()),phase:r()*Math.PI*2}}),p=0;p<f.length;p+=2){for(var y=f[p],b=f[p+1],v=2===o&&2===p,g=Math.ceil(y);g<=Math.floor(b);g++)!function(t){var r=t/u,n=468;d.forEach(function(t){return n+=Math.sin(r*t.freq*Math.PI*2+t.phase)*t.amp}),n=Math.max(330,Math.min(560,n))-70*!!v;var a=Math.min(t-y,b-t);e.edge[t]=a;var o=Math.sqrt(X(0,v?70:50,a));if(v){var i=Math.min(s-44-(n+=(1-o)*36),118+12*Math.sin(.045*t)+5*Math.sin(.11*t))*Math.pow(X(0,170,a),.6);if(i<6)return;e.top[t]=n,F(e,t,n,n+i,30)}else n=n*o+(s+24)*(1-o),e.top[t]=n,F(e,t,n,h)}(g);for(var m=2+Math.floor(3*r()),M=0;M<m;M++){var x=Math.round(y+30+r()*(b-y-60));Number.isFinite(e.top[x])&&q(e,x,e.top[x]+34+60*r(),10+14*r())}}return l.forEach(function(t){var n=Math.max(250,Math.min(Math.min(e.top[Math.max(0,Math.floor(t-i/2-4))]||520,e.top[Math.min(u-1,Math.ceil(t+i/2+4))]||520)-120-60*r(),390));.55>r()?V(e,t,n,120+40*r(),r):B(e,t,n,124,(r()-.5)*.5)}),e},_=function(t,r){for(var e=[],n=0;n<u;n++){var a=t.top[n];Number.isFinite(a)&&t.edge[n]>44&&a<s-60&&e.push(n)}return Array.from({length:r},function(t,n){var a=Math.round((n+.5)/r*(e.length-1)+(Math.random()-.5)*Math.min(14,e.length/r/3));return e[Math.max(0,Math.min(e.length-1,a))]})},G=function(t){return t<u/2?50:130},U=function(t,r){var e,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1+Math.floor(1e6*Math.random()),i=r.hp,l=y(t.length),f=l.size,d=l.crater,p=l.blast,b=(0,n.k4)(c(t)),v=(e=o,function(){return(e=16807*e%0x7fffffff)/0x7fffffff}),g=Z(b.length,v),m=_(g,b.length),M={},x=[];b.forEach(function(r,e){x.length||x.push.apply(x,c((0,n.k4)(a.Dh.map(function(t,r){return r}))));for(var o=m[e],l=Math.floor(g.top[o]);l>0&&g.mask[l*u+o];)l--;M[r.id]={id:r.id,color:t.indexOf(r),screen:x.pop(),x:o,y:l,vx:0,vy:0,airborne:!1,peak:l,hp:i,maxHp:i,shownHp:i,size:f,out:!1,chute:!1,knockouts:0,eliminated:null,dying:!1,drowned:!1,angle:G(o),power:60,locked:!1,score:0,damage:0,kills:0,taken:0,downs:0,lastHitBy:null,recoil:0,flash:0,hurt:0}});for(var k=[],P=0;P<46;P++)!function(){var t=Math.round(20+v()*(u-40)),r=g.top[t];!Number.isFinite(r)||r<390||r>s-50||m.some(function(r){return 34>Math.abs(r-t)})||k.push({x:t,y:Math.round(r),s:.5+.55*v()})}();return{mask:g.mask,pixels:g.pixels,crater:d,blast:p,dirty:[{x:0,y:0,w:u,h:h}],version:0,trees:k,units:M,graves:[],shells:[],blasts:[],particles:[],popups:[],wind:0,quake:0,t:0}},K=function(t){return Object.values(t.units).filter(function(t){return!t.out})},$=function(t,r){for(var e=120;e<s;e++)if(t.mask[e*u+r])return e;return null},J=function(t){for(var r=[],e=30;e<u-30;e+=6){var n=$(t,e);if(null!==n&&!(n>s-60)&&D(t,e,n+12)){var a=$(t,e-12),o=$(t,e+12);
1null!==a&&null!==o&&(Math.abs(a-o)>20||r.push(e))}}return r},Q=function(t,r){var e,n=t.filter(function(t){return r.reduce(function(r,e){return Math.min(r,Math.abs(e.x-t))},u)>50});return(e=n.length?n:t)[Math.floor(Math.random()*e.length)]},tt=function(t){var r=Math.round(90+Math.random()*(u-180)),e=360+60*Math.random();return B(t,r,e,110,0),t.dirty.push({x:r-70,y:e-70,w:140,h:140}),t.version+=1,r},tr=function(t,r,e){n=e.rounds,t.wind=0===r?0:Math.round((2*Math.random()-1)*(50+90*(n>2?(r-1)/(n-2):1)));var n,a=Object.values(t.units),o=a.filter(function(t){return!t.out}),i=null;a.forEach(function(r){var n;r.locked=!1,r.mode="fire",r.lastHitBy=null,r.out&&!e.survival&&(i||(i=J(t)),i.length?n=Q(i,o):(n=tt(t),i=null),o.push({x:n}),t.graves=t.graves.filter(function(t){return t.id!==r.id}),Object.assign(r,{out:!1,dying:!1,drowned:!1,hp:r.maxHp,shownHp:r.maxHp,x:n,y:-20-60*Math.random(),vx:0,vy:120,airborne:!0,chute:!0,peak:0,angle:G(n)}))})},te=function(t){var r=t.angle*Math.PI/180,e=a.WN.scale*t.size,n=t.angle>90?-1:1,o=a.WN.barrel*e;return{x:t.x+n*a.WN.grip.x*e+Math.cos(r)*o,y:t.y+a.WN.grip.y*e-Math.sin(r)*o}},tn=function(t){var r=t.angle*Math.PI/180,e=t.power/100*920;return{vx:Math.cos(r)*e,vy:-Math.sin(r)*e}},ta=function(t,r){var e=te(r);t.shells.push(f(l({owner:r.id,color:r.color,x:e.x,y:e.y},tn(r)),{trail:[],age:0})),r.recoil=1,r.flash=1,ti(t,e.x,e.y,"#ffffff",10,90,.9)},to=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,n=tn(t),a=n.vx,o=n.vy,i=te(t);return Array.from({length:r},function(t,n){var l=(n+1)/r*e;return{x:i.x+a*l,y:i.y+o*l+300*Math.pow(l,2)}})},ti=function(t,r,e,n,a,o){for(var i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:.7,l=arguments.length>7?arguments[7]:void 0,f=0;f<a;f++){var c=Math.random()*Math.PI*2,u=o*(.3+.7*Math.random());t.particles.push({x:r,y:e,vx:Math.cos(c)*u,vy:Math.sin(c)*u-.3*o,life:i*(.6+.6*Math.random()),age:0,size:4+8*Math.random(),color:n,gravity:null!=l?l:"#ffffff"===n?-30:400})}},tl=function(t,r,e,n){for(var a=n+5,o=Math.max(0,Math.floor(r-a)),i=Math.min(u-1,Math.ceil(r+a)),l=Math.max(0,Math.floor(e-a)),f=Math.min(h-1,Math.ceil(e+a)),c=t.mask,s=t.pixels,d=l;d<=f;d++)for(var p=o;p<=i;p++){var y=d*u+p;if(c[y]){var b=Math.pow(p-r,2)+Math.pow(d-e,2);b<=n*n?(c[y]=0,s[4*y+3]=0):b<=a*a&&!(128&c[y])&&(c[y]|=128,s[4*y]*=.5,s[4*y+1]*=.44,s[4*y+2]*=.42)}}tf(t,o,l,i,f),t.version+=1},tf=function(t,r,e,n,a){for(var o=t.mask,i=t.pixels,l=Math.max(0,e-5-1),f=Math.min(h-1,a+5+1),c=r;c<=n;c++)for(var s=-1,d=l;d<=f+1;d++){var p=d<=f&&0!==o[d*u+c];if(p&&s<0&&(s=d),!p&&!(s<0)){if(s>l&&d-1<f&&d-s<5)for(var y=s;y<d;y++){var b=y*u+c;o[b]=0,i[4*b+3]=0}s=-1}}t.dirty.push({x:r,y:l,w:n-r+1,h:f-l+1})},tc=function(t,r,e,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:34,i=t.popups.filter(function(t){return t.unit===r.id&&t.age<.6});t.popups.push({unit:r.id,x:r.x,y:r.y+a.WN.top*a.WN.scale*r.size-22-30*i.length,text:e,color:n,size:o,age:0})},tu=function(t,r,e,n,a){var o=n&&n!==e.id?t.units[n]:null;o&&(o.kills+=1,o.score+=r.killBonus),e.score-=r.knockoutPenalty,e.downs+=1,a.push({type:"kill",by:o?o.id:null,victim:e.id})},th=function(t,r,e,n,a,o,i){if(!e.out&&!e.dying&&!t.harmless&&!((n=Math.min(Math.round(n),e.hp))<=0)){e.hp-=n,e.hurt=1,e.score-=n*r.hurtPenalty,e.taken+=n;var l=a&&t.units[a];l&&l!==e&&(l.damage+=n,l.score+=n*r.damagePoints),tc(t,e,"-"+n,"fall"===i?"#ffd43b":"#ff8787"),o.push({type:i,by:l?l.id:null,victim:e.id,amount:n,self:l===e}),e.hp<=0&&(e.dying=!0,tu(t,r,e,a,o))}},ts=function(t,r,e,n,a,o){var i=t.blast;tl(t,r,e,t.crater),t.blasts.push({x:r,y:e,age:0,size:1}),ti(t,r,e,"#ffd43b",14,320,.5),ti(t,r,e,"#8d5a3b",16,260,.9),ti(t,r,e,"#ffffff",8,80,1.2),t.quake=Math.max(t.quake,.45),o.push({type:"boom"});var l=function(t,r,e,n,a){var o=70+330*r;t.vx+=(e>1?n/e:0)*o,t.vy+=(e>1?a/e:-1)*o-180*r,t.airborne||(t.peak=t.y),t.airborne=!0};Object.values(t.units).forEach(function(f){if(f.out)return;var c=f.x-r,u=f.y-d*f.size-e,h=Math.hypot(c,u);if(!(h>i+12)){if(f.lastHitBy=n,!(h>i)){var s=p*f.size,y=Math.max(0,Math.min(1,1-(h-s)/(i-s)));y>.85&&(t.quake=1),t.harmless||(y>.85&&n!==f.id&&!f.dying&&o.push({type:"bullseye",by:n,victim:f.id}),th(t,a,f,50*y,n,o,"hit"),l(f,y,h,c,u))}}}
1),t.graves.forEach(function(t){var n=t.x-r,a=t.y-10-e,o=Math.hypot(n,a);o<i&&l(t,1-o/i,o,n,a)})},td=function(t,r,e){var n=t.units[r];n&&tc(t,n,e,"#ffd43b",30)},tp=function(t,r,e){r.dying=!1,r.out=!0,r.knockouts+=1;var n=r.x,a=r.y-d*r.size;tl(t,n,a+4,24),t.blasts.push({x:n,y:a,age:0,size:.8}),ti(t,n,a,g(r.color),26,380,1.1),ti(t,n,a,"#ffd43b",10,260,.6),ti(t,n,a,"#ffffff",10,90,1.3),t.quake=Math.max(t.quake,.7),tc(t,r,e,"#ffffff",40),t.graves.push({id:r.id,color:r.color,x:n,y:r.y,vx:0,vy:-260,airborne:!0,peak:r.y,age:0})},ty=function(t,r){for(var e=0;e<22;e++)t.particles.push({x:r+(Math.random()-.5)*20,y:s,vx:(Math.random()-.5)*220,vy:-160-320*Math.random(),life:.7+.5*Math.random(),age:0,size:3+6*Math.random(),color:.5>Math.random()?"#ffffff":"#a5d8ff",gravity:700})},tb=function(t,r,e){return D(t,r-5,e)||D(t,r,e)||D(t,r+5,e)},tv=function(t,r,e){return D(t,r,e-6)||D(t,r,e-20)},tg=function(t){t.airborne=!1,t.chute=!1,t.copter=!1,t.vx=0,t.vy=0},tm=function(t,r,e){if(!r.airborne){if(tb(t,r.x,r.y+1))return null;r.airborne=!0,r.vx=0,r.vy=0,r.peak=r.y}r.copter&&(r.vx+=t.wind*e),r.vy=Math.min(r.chute?120:r.copter?1400:900,r.vy+600*e),r.peak=Math.min(r.peak,r.y);for(var n=r.vx*e,a=r.vy*e,o=Math.max(1,Math.ceil(Math.max(Math.abs(n),Math.abs(a))/2)),i=0;i<o;i++){var l=r.x+n/o;Math.abs(n/o)>=.05&&(tv(t,l,r.y)?!tv(t,l,r.y-4)&&r.vy>0?(r.x=l,r.y-=4):r.vx*=-.3:r.x=l);var f=r.y+a/o;if(r.vy>0&&tb(t,r.x,f+1)){for(var c=Math.round(f);tb(t,r.x,c)&&c>r.y-12;)c--;r.y=c;var u=r.chute||r.copter?0:r.y-r.peak;return tg(r),u}r.vy<0&&D(t,r.x,f-26)?r.vy=0:r.y=f}return null},tM=function(t,r,e,n){if(!t.airborne||Math.abs(t.x-e)+Math.abs(t.y-n)>.01){t.stuck=0;return}t.stuck=(t.stuck||0)+r,t.stuck>1&&tg(t)},tx=function(t,r){Object.assign(r,f(l({airborne:!0,copter:!0,chute:!1},tn(r)),{peak:r.y})),ti(t,r.x,r.y,"#ffffff",12,110,.8)},tk=function(t){return!t.shells.length&&!t.blasts.length&&Object.values(t.units).every(function(t){return t.out||!t.airborne})&&t.graves.every(function(t){return!t.airborne})},tP=function(t){return Object.values(t.units).filter(function(t){return t.dying&&!t.out})},tO=function(t,r,e){var n=[];t.t+=r;for(var a=r/3,o=0;o<3;o++)t.shells=t.shells.filter(function(r){return r.vx+=t.wind*a,r.vy+=600*a,r.x+=r.vx*a,r.y+=r.vy*a,r.age+=a,!(r.x<-300)&&!(r.x>u+300)&&(r.y>=s?(ty(t,r.x),n.push({type:"splash"}),!1):!(Object.values(t.units).some(function(t){return!t.out&&(t.id!==r.owner||r.age>.3)&&Math.hypot(t.x-r.x,t.y-d*t.size-r.y)<p*t.size+3})||D(t,r.x,r.y))||(ts(t,r.x,r.y,r.owner,e,n),!1))}),Object.values(t.units).forEach(function(r){if(!r.out){var o=r.x,i=r.y,l=tm(t,r,a);if(tM(r,a,o,i),null!==l&&l>110&&th(t,e,r,Math.min(30,(l-110)/6+4),r.lastHitBy,n,"fall"),r.y>s+8||r.x<-60||r.x>u+60){ty(t,Math.max(0,Math.min(u,r.x)));var f=!r.dying;r.out=!0,r.dying=!1,r.drowned=!0,r.chute=!1,r.copter=!1,r.knockouts+=1,r.hp=0,n.push({type:"drown",victim:r.id}),f&&!t.harmless&&tu(t,e,r,r.lastHitBy,n)}}}),t.graves=t.graves.filter(function(r){var e=r.x,n=r.y;return tm(t,r,a),tM(r,a,e,n),!(r.y>s+20)&&!(r.x<-60)&&!(r.x>u+60)||(ty(t,r.x),!1)});return t.shells.forEach(function(t){t.trail.push({x:t.x,y:t.y}),t.trail.length>14&&t.trail.shift()}),Object.values(t.units).forEach(function(t){t.recoil=Math.max(0,t.recoil-3*r),t.flash=Math.max(0,t.flash-5*r),t.hurt=Math.max(0,t.hurt-1.6*r);var e=t.shownHp-t.hp;e>0&&(t.shownHp=Math.max(t.hp,t.shownHp-Math.max(20,2*e)*r))}),t.graves.forEach(function(t){return t.age+=r}),t.treesAt!==t.version&&(t.treesAt=t.version,t.trees=t.trees.filter(function(r){return D(t,r.x,r.y+3)})),t.quake=Math.max(0,t.quake-2.5*r),t.blasts=t.blasts.filter(function(t){return(t.age+=r)<.6}),t.popups=t.popups.filter(function(t){return(t.age+=r)<1.8}),t.particles=t.particles.filter(function(t){return t.age+=r,t.vy+=t.gravity*r,t.x+=t.vx*r,t.y+=t.vy*r,t.vx*=.98,t.age<t.life}),n},tw=function(t,r){return Object.values(t.units).forEach(function(t){t.out&&null===t.eliminated&&(t.eliminated=r)})},tX=function(t){return K(t).length<=Math.min(1,Object.keys(t.units).length-1)},tS=function(t){return t>0?"+"+t:t<0?"â"+-t:"0"},tj=function(t){return null===t.eliminated?1/0:t.eliminated},tA=function(t,r,e){return(t.survival?tj(r)-tj(e):0)||r.score-e.score},tT=function(t,r){return Object.values(t.units).sort(function(t,e){return tA(r,e,t)||e.damage-t.damage})},tH=function(t,r){var e=Object.values(t.units);return Object.fromEntries(e.map(function(t){return[t.id,e.filter(function(e){return tA(r,e,t)>0}).length]}))},tE=function(t,r){var e=Object.values(t.units),n=e.length,a=tH(t,r),o={};return e.forEach(function(t){var e=a[t.id],i="winner"===r.distribution?+(0===e):"podium"===r.distribution?k[e]||0:(n-e)/n;o[t.id]=Math.round(r.points*i)}),o}},16193:function(t,r,e){e.d(r,{AC:function(){return d},C3:function(){return h},HK:function(){return p},OR:function(){return s},T$:function(){return x},Un:function(){return y},Ur:function(){return m},VP:function(){return b},Zp:function(){return g},dS:function(){return u},zT:function(){return v}});var n=e(2445),a=e(97363),o=e(92134);function i(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{},n=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}
1))),n.forEach(function(r){var n;n=e[r],r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n})}return t}function l(t,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(t){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r.push.apply(r,e)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t}function f(t,r){if(null==t)return{};var e,n,a,o={};if("u">typeof Reflect&&Reflect.ownKeys){for(a=0,e=Reflect.ownKeys(Object(t));a<e.length;a++)n=e[a],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n]);return o}if(o=function(t,r){if(null==t)return{};var e,n,a={},o=Object.getOwnPropertyNames(t);for(n=0;n<o.length;n++)e=o[n],!(r.indexOf(e)>=0)&&Object.prototype.propertyIsEnumerable.call(t,e)&&(a[e]=t[e]);return a}(t,r),Object.getOwnPropertySymbols)for(a=0,e=Object.getOwnPropertySymbols(t);a<e.length;a++)n=e[a],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n]);return o}var c=function(t){var r=t.size,e=void 0===r?24:r,a=t.children,o=f(t,["size","children"]);return(0,n.Y)("svg",l(i({viewBox:"0 0 24 24",width:e,height:e,strokeLinejoin:"round",strokeLinecap:"round",css:{display:"inline-block",flexShrink:0,verticalAlign:"middle"}},o),{children:a}))},u=function(t){return(0,n.FD)(c,l(i({},t),{children:[(0,n.Y)("circle",{cx:"12",cy:"12",r:"10",fill:"#ff6b6b",stroke:a.P,strokeWidth:"1.8"}),(0,n.Y)("circle",{cx:"12",cy:"12",r:"6.5",fill:"#ffffff",stroke:a.P,strokeWidth:"1.4"}),(0,n.Y)("circle",{cx:"12",cy:"12",r:"3",fill:"#ff6b6b",stroke:a.P,strokeWidth:"1.4"})]}))},h=function(t){var r=t.color,e=f(t,["color"]);return(0,n.FD)(c,l(i({},e),{children:[(0,n.Y)("path",{d:"M12 20.5 C5 15.5 2.5 12 2.5 8.4 A4.9 4.9 0 0 1 12 6.6 A4.9 4.9 0 0 1 21.5 8.4 C21.5 12 19 15.5 12 20.5 Z",fill:void 0===r?"#ff6b6b":r,stroke:a.P,strokeWidth:"1.8"}),(0,n.Y)("path",{d:"M6 8.6 A2.4 2.4 0 0 1 8.4 6.3",fill:"none",stroke:"#ffffff",strokeWidth:"1.6",opacity:"0.7"})]}))},s=function(t){return(0,n.FD)(c,l(i({},t),{children:[(0,n.Y)("path",{d:"M7 4 H17 V9 A5 5 0 0 1 7 9 Z",fill:"#ffd43b",stroke:a.P,strokeWidth:"1.8"}),(0,n.Y)("path",{d:"M7 6 H4 A3 3 0 0 0 7.5 11 M17 6 H20 A3 3 0 0 1 16.5 11",fill:"none",stroke:a.P,strokeWidth:"1.8"}),(0,n.Y)("path",{d:"M10.5 14 H13.5 V17 H10.5 Z",fill:"#fab005",stroke:a.P,strokeWidth:"1.6"}),(0,n.Y)("path",{d:"M7.5 17 H16.5 V20.5 H7.5 Z",fill:"#fab005",stroke:a.P,strokeWidth:"1.8"})]}))},d=function(t){return(0,n.Y)(c,l(i({},t),{children:(0,n.Y)("path",{d:"M3 9 H14 A3 3 0 1 0 11 6 M3 13 H18 A3 3 0 1 1 15 16 M3 17 H9",fill:"none",stroke:"#ffffff",strokeWidth:"2.2"})}))},p=function(t){var r=t.color,e=f(t,["color"]);return(0,n.Y)(c,l(i({},e),{children:(0,n.Y)("path",{d:"M3 9.5 H13 V5 L21 12 L13 19 V14.5 H3 Z",fill:void 0===r?"#ffd6a5":r,stroke:a.P,strokeWidth:"1.6"})}))},y=function(t){return(0,n.FD)(c,l(i({},t),{children:[(0,n.Y)("path",{d:"M12 1.5 L14.2 7.5 L20 4.5 L17.3 10.3 L22.5 12 L17.3 13.7 L20 19.5 L14.2 16.5 L12 22.5 L9.8 16.5 L4 19.5 L6.7 13.7 L1.5 12 L6.7 10.3 L4 4.5 L9.8 7.5 Z",fill:"#ff922b",stroke:a.P,strokeWidth:"1.5"}),(0,n.Y)("circle",{cx:"12",cy:"12",r:"3.6",fill:"#ffd43b"})]}))},b=function(t){return(0,n.FD)(c,l(i({},t),{children:[(0,n.Y)("path",{d:"M12 2.5 A8.5 8 0 0 0 3.5 10.5 C3.5 13.5 5 15 7 16 V20 H17 V16 C19 15 20.5 13.5 20.5 10.5 A8.5 8 0 0 0 12 2.5 Z",fill:"#f1f3f5",stroke:a.P,strokeWidth:"1.8"}),(0,n.Y)("circle",{cx:"8.6",cy:"11",r:"2.3",fill:a.P}),(0,n.Y)("circle",{cx:"15.4",cy:"11",r:"2.3",fill:a.P}),(0,n.Y)("path",{d:"M12 13.6 L10.9 15.6 H13.1 Z M10 20 V17.6 M14 20 V17.6",fill:a.P,stroke:a.P,strokeWidth:"1.2"})]}))},v=function(t){return(0,n.FD)(c,l(i({},t),{children:[(0,n.Y)("path",{d:"M12 2.5 C12 2.5 5 10.5 5 14.8 A7 7 0 0 0 19 14.8 C19 10.5 12 2.5 12 2.5 Z",fill:"#4dabf7",stroke:a.P,strokeWidth:"1.8"}),(0,n.Y)("path",{d:"M8.6 14.5 A3.6 3.6 0 0 0 11 18",fill:"none",stroke:"#ffffff",strokeWidth:"1.6",opacity:"0.8"})]}))},g=function(t){return(0,n.FD)(c,l(i({},t),{children:[(0,n.Y)("path",{d:"M5.5 21 V10 A6.5 6.5 0 0 1 18.5 10 V21 Z",fill:"#ced4da",stroke:a.P,strokeWidth:"1.8"}),(0,n.Y)("path",{d:"M12 7 V15 M9 10 H15",fill:"none",stroke:"#868e96",strokeWidth:"1.8"}),(0,n.Y)("path",{d:"M3 21 H21",stroke:a.P,strokeWidth:"1.8"})]}))},m=function(t){return(0,n.FD)(c,l(i({},t),{children:[(0,n.Y)("circle",{cx:"10.5",cy:"14",r:"7.5",fill:"#343a40",stroke:a.P,strokeWidth:"1.6"}),(0,n.Y)("path",{d:"M14.5 7.5 L16.5 5.5",stroke:a.P,strokeWidth:"2.6"}),(0,n.Y)("path",{d:"M16.5 5.5 Q18 3 20.5 4",fill:"none",stroke:"#adb5bd",strokeWidth:"1.4"}),(0,n.Y)("path",{d:"M21 2.5 L21.6 4.2 L23 4.6 L21.6 5.2 L21 6.8 L20.4 5.2 L19 4.6 L20.4 4.2 Z",fill:"#ffd43b"}),(0,n.Y)("path",{d:"M6.5 12 A4 4 0 0 1 9 9.4",fill:"none",stroke:"#ffffff",strokeWidth:"1.6",opacity:"0.6"})]}))},M=["#ffd43b","#ced4da","#e8a065"],x=function(t){var r=t.rank,e=f(t,["rank"]);return(0,n.FD)(c,l(i({},e),{children:[(0,n.Y)("path",{d:"M7 2 L10 9 M17 2 L14 9",stroke:"#4dabf7",strokeWidth:"3"}),(0,n.Y)("circle",{cx:"12",cy:"15",r:"7",fill:M[r],stroke:a.P,strokeWidth:"1.8"}),(0,n.Y)("text",{x:"12",y:"18.6",textAnchor:"middle",fontSize:"10",fontWeight:"900",fontFamily:o.mE,fill:a.P,children:r+1})]}))}},83374:function(t,r,e){e.d(r,{Dh:function(){return f},S3:function(){return b},WN:function(){return l}});var n=e(97363);function a(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}var o="#323e27",i=2*Math.PI,l={scale:1.2,grip:{x:8,y:-15},barrel:23.5,top:-37.5,body:{top:-29,bottom:-5}},f=[["X........X",".XX....XX.",".XXX..XXX.",".XXX..XXX.","..........","...XXXX...","..X....X.."],["..........","XXXX..XXXX","..........",".XXX..XXX.","..........","..XXXXXX..",".........."],[".X......X.","..XX..XX..",".XX....XX.",".XX....XX.","..........",".......XX.","..XXXXX..."],["X........X",".X......X.","..X....X..",".X......X.","X........X","..........","...XXXX..."],["X........X",".XXX..XXX.",".XWX..XWX.","..........",".XXXXXXXX.",".X.X.X.X..",".........."],["XXXXXXXXXX","XXXX..XXXX",".XX....XX.","..........","..........","...XXXX...",".........."],["..........","..........","XXXX..XXXX",".XX....XX.","..........","..XXXXXX..",".X......X."],["X........X",".XX....XX.",".XXX..XXX.","..........","..........","X.X.X.X.X.",".X.X.X.X.X"]],c={W:"#ffffff"},u=function(t,r,e){t.fillStyle=r,t.fill(),t.lineWidth=e,t.strokeStyle=n.P,t.stroke()},h=function(t,r,e,a){var i=r.angle*Math.PI/180;t.save(),t.translate(e,a),t.rotate(-i),t.scale(1,r.face),t.strokeStyle=n.P,t.lineJoin="round",t.beginPath(),t.roundRect(-1,2.5,3.5,5,1),u(t,o,1.5),t.beginPath(),t.roundRect(-12,-4.3,4,8.6,1.2),u(t,o,2),t.beginPath(),t.roundRect(-9,-3.5,30,7,2.5),u(t,"#4a5a3a",2),t.fillStyle="#6b7d55",t.fillRect(-7,-2.2,24,1.5),t.beginPath(),t.roundRect(18,-4.8,5.5,9.6,1.5),u(t,o,2),t.restore(
1)},s=function(t,r){var e=r.variant%4;if(t.strokeStyle=n.P,t.lineWidth=2,0===e)t.beginPath(),t.moveTo(0,-29),t.lineTo(0,-34),t.stroke(),t.beginPath(),t.arc(0,-35.5,2.3,0,i),u(t,r.light,1.6);else if(1===e)for(var a=0,o=[-5,4];a<o.length;a++){var l=o[a];t.beginPath(),t.moveTo(l,-29),t.lineTo(l-1,-33),t.lineWidth=2,t.stroke(),t.beginPath(),t.arc(l-1,-34.3,1.8,0,i),u(t,r.light,1.4)}else 2===e?(t.beginPath(),t.moveTo(0,-29),t.lineTo(-2,-32),t.lineTo(2,-34),t.lineTo(0,-37.5),t.lineWidth=2,t.stroke()):(t.beginPath(),t.moveTo(0,-29),t.lineTo(0,-34.5),t.stroke(),t.beginPath(),t.ellipse(0,-35.5,5,1.4,0,0,i),u(t,r.dark,1.5))},d=new Map,p=function(t,r){var e=t+"|"+r;if(d.has(e))return d.get(e);var n=f[t],a=r?["..........","..........","..........",n[0].split("").map(function(t,r){return n.slice(0,4).some(function(t){return"."!==t[r]})?"X":"."}).join("")].concat(n.slice(4)):n,o={};a.forEach(function(t,r){for(var e=0;e<t.length;e++)"."!==t[e]&&(o[t[e]]||(o[t[e]]=new Path2D),o[t[e]].rect(-6.75+1.45*e+.1,-26.075+1.45*r+.1,1.25,1.25))});var i=Object.entries(o);return d.set(e,i),i},y=function(t,r,e){t.beginPath(),t.roundRect(-8,-27,17,12,2.5),u(t,"#26303b",2);var n=Math.sin(1.3*e+2.1*r.variant)>.985;p(r.screen,n).forEach(function(e){var n=function(t){if(Array.isArray(t))return t}(e)||function(t){var r,e,n=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var a=[],o=!0,i=!1;try{for(n=n.call(t);!(o=(r=n.next()).done)&&(a.push(r.value),2!==a.length);o=!0);}catch(t){i=!0,e=t}finally{try{o||null==n.return||n.return()}finally{if(i)throw e}}return a}}(e)||function(t){if(t){if("string"==typeof t)return a(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=n[0],i=n[1];t.fillStyle=c[o]||r.light,t.fill(i)})},b=function(t,r){var e=r.angle*Math.PI/180,a=r.face,o={x:Math.cos(e)*a,y:-Math.sin(e)};t.save(),t.lineJoin="round",t.lineCap="round",t.strokeStyle=n.P,h(t,r,a*l.grip.x,l.grip.y),t.scale(a,1),t.beginPath(),t.roundRect(-8,-6.5,5,6.5,1.5),u(t,r.dark,2),t.beginPath(),t.roundRect(3,-6.5,5,6.5,1.5),u(t,r.dark,2),s(t,r),t.beginPath(),t.roundRect(-13.5,-22,3.5,6.5,1),u(t,r.dark,1.8),t.beginPath(),t.roundRect(-11,-29,22,24,4),u(t,r.color,2.3),t.fillStyle=r.light,t.beginPath(),t.roundRect(-9.2,-13,2,6,1),t.fill(),t.strokeStyle=r.dark,t.lineWidth=1.5;for(var f=0,c=[-11.5,-8.5];f<c.length;f++){var d=c[f];t.beginPath(),t.moveTo(-5.5,d),t.lineTo(-1,d),t.stroke()}t.beginPath(),t.arc(4,-10,1.7,0,i),u(t,r.light,1.3),t.beginPath(),t.arc(8+4.5*o.x,-15+4.5*o.y,3,0,i),u(t,r.dark,1.8),y(t,r,r.t),t.restore()}},25604:function(t,r,e){e.d(r,{X:function(){return N}});var n,a=e(39605),o=e(50480),i=e(41518),l=e(83374),f=e(97363),c=function(t,r){var e=parseInt(t.slice(1),16);return"#"+[16,8,0].map(function(t){var n=e>>t&255;return Math.round(r<0?n*(1+r):n+(255-n)*r).toString(16).padStart(2,"0")}).join("")},u=new Map,h=function(t,r,e){var n=.12*Math.sin(2.2*e);t.save(),t.rotate(n),t.strokeStyle="rgba(47, 42, 58, 0.8)",t.lineWidth=1.5,t.beginPath(),[-26,-9,9,26].forEach(function(r){t.moveTo(r,-66),t.lineTo(.25*r,-22)}),t.stroke(),t.lineWidth=2.5,t.strokeStyle=f.P,t.beginPath(),t.moveTo(-30,-64),t.bezierCurveTo(-30,-104,30,-104,30,-64);for(var a=3;a>0;a--){var o=-30+(a-1)*20;t.quadraticCurveTo(o+10,-72,o,-64)}t.closePath(),t.fillStyle=r,t.fill(),t.stroke(),t.fillStyle="rgba(255, 255, 255, 0.7)",t.beginPath(),t.moveTo(-10,-66),t.bezierCurveTo(-12,-96,12,-96,10,-66),t.quadraticCurveTo(0,-72,-10,-66),t.fill(),t.restore()},s=function(t,r,e){var n=r-14;t.strokeStyle=f.P,t.lineWidth=2.5,t.beginPath(),t.moveTo(0,r+2),t.lineTo(0,n),t.stroke();var a=Math.sin(38*e);t.fillStyle="rgba(230, 236, 245, 0.35)",t.beginPath(),t.ellipse(0,n,26,4,0,0,7),t.fill(),t.fillStyle="#ced4da",t.lineWidth=2,t.beginPath(),t.ellipse(0,n,3+22*Math.abs(a),3,0,0,7),t.fill(),t.stroke(),t.fillStyle="#fa5252",t.beginPath(),t.arc(0,n,3.5,0,7),t.fill(),t.stroke()},d=function(t,r,e){var n,o,i=(0,a.__)(r.color),f=r.angle>90?-1:1,d=r.size,p=r.angle*Math.PI/180;t.save(),r.airborne||(t.fillStyle="rgba(30, 20, 10, 0.3)",t.beginPath(),t.ellipse(r.x,r.y+1,16*d,4.5*d,0,0,7),t.fill(),t.strokeStyle=i,t.lineWidth=3,t.beginPath(),t.ellipse(r.x,r.y+1,18*d,5.5*d,0,0,7),t.stroke()),t.translate(r.x,r.y),t.scale(d,d),r.chute?h(t,i,e):r.airborne&&t.rotate(Math.max(-.8,Math.min(.8,r.vx/400))+.04*Math.sin(5*e)),r.dying&&t.rotate(.05*Math.sin(9*e));var y=3*r.recoil;if(t.translate(-Math.cos(p)*y,Math.sin(p)*y*.5),t.save(),t.scale(l.WN.scale,l.WN.scale),(0,l.S3)(t,(n=function(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{},n=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}
1))),n.forEach(function(r){var n;n=e[r],r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n})}return t}({color:i},(u.has(i)||u.set(i,{dark:c(i,-.35),light:c(i,.45)}),u.get(i))),o=o={angle:r.angle,face:f,t:e,variant:r.color,screen:r.screen},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(t){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r.push.apply(r,e)}return r})(Object(o)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(o,t))}),n)),r.hurt>0){var b=l.WN.body,v=b.top,g=b.bottom;t.globalAlpha=.55*r.hurt,t.fillStyle="#ffffff",t.beginPath(),t.roundRect(-11,v,22,g-v,4),t.fill()}if(t.restore(),r.copter&&s(t,l.WN.top*l.WN.scale,e),t.restore(),r.flash>0){var m=(0,a.Bs)(r);t.fillStyle="rgba(255, 212, 59, ".concat(r.flash,")"),t.beginPath();for(var M=0;M<12;M++){var x=M%2?8:22*r.flash+8,k=M/12*Math.PI*2;t.lineTo(m.x+Math.cos(k)*x,m.y+Math.sin(k)*x)}t.closePath(),t.fill()}},p=e(92134);function y(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function b(t){return function(t){if(Array.isArray(t))return y(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return y(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var v=[58,104,72],g=new WeakMap,m=function(){var t=document.createElement("canvas");return t.width=a.HN,t.height=a.OE,t},M=function(t,r,e){var n=g.get(t);if(!n){var o=m(),l=m(),f=(n={raw:o,lit:l,rawCtx:o.getContext("2d"),litCtx:l.getContext("2d"),image:new ImageData(t.pixels,a.HN,a.OE),key:null,back:m(),tags:new Map}).back.getContext("2d");f.putImageData(n.image,0,0),f.globalCompositeOperation="source-atop",f.fillStyle="rgba(28, 18, 22, 0.72)",f.fillRect(0,0,a.HN,a.OE),g.set(t,n)}var c=t.dirty.length>0;t.dirty.forEach(function(t){return n.rawCtx.putImageData(n.image,0,0,t.x,t.y,t.w,t.h)}),t.dirty.length=0;var u=Math.round(40*e);if(c||n.key!==u){n.key=u;var h=n.litCtx,s=(0,i.jh)((0,i.jh)(r.hor,[255,255,255],.5),r.near,.9*r.stars),d=h.createLinearGradient(0,250,0,a.OE);d.addColorStop(0,(0,i.AH)(s)),d.addColorStop(1,(0,i.AH)((0,i.jh)(s,r.near,.45))),h.globalCompositeOperation="copy",h.drawImage(n.raw,0,0),h.globalCompositeOperation="multiply",h.fillStyle=d,h.fillRect(0,0,a.HN,a.OE),h.globalCompositeOperation="destination-in",h.drawImage(n.raw,0,0),h.globalCompositeOperation="destination-over",h.drawImage(n.back,0,0),h.globalCompositeOperation="source-over"}return n.lit},x=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return a.eA+e+4*Math.sin(.021*t+1.7*r+e)+2.4*Math.sin(.047*t-2.4*r)},k=function(t,r,e,n){var o=n?-9:0,l=(0,i.jh)([96,176,214],r.hor,.3),f=(0,i.jh)([22,70,120],r.near,.4),c=t.createLinearGradient(0,a.eA-10,0,a.OE);c.addColorStop(0,(0,i.AH)(n?(0,i.jh)(l,f,.4):l,n?.8:.9)),c.addColorStop(1,(0,i.AH)(f,.97)),t.fillStyle=c,t.beginPath(),t.moveTo(0,a.OE);for(var u=0;u<=a.HN;u+=10)t.lineTo(u,x(u,n?.8*e:e,o));if(t.lineTo(a.HN,a.OE),t.closePath(),t.fill(),!n){t.strokeStyle="rgba(255, 255, 255, 0.75)",t.lineWidth=3,t.beginPath();for(var h=0;h<=a.HN;h+=10){var s=x(h,e);h?t.lineTo(h,s):t.moveTo(h,s)}t.stroke(),t.fillStyle="rgba(255, 255, 255, 0.35)";for(var d=0;d<26;d++){var p=((173.3*d+e*(14+d%5*6))%a.HN+a.HN)%a.HN,y=a.eA+14+37*d%40;t.fillRect(p,y,10+d%4*6,2)}}},P=function(t,r,e,n){t.beginPath(),t.moveTo(r,e-44*n);for(var a=0;a<3;a++){var o=e-44*n+(a+1)*12*n,i=(6+4*a)*n;t.lineTo(r+i,o),t.lineTo(r+.45*i,o)}t.lineTo(r+3*n,e),t.lineTo(r-3*n,e);for(var l=2;l>=0;l--){var f=e-44*n+(l+1)*12*n,c=(6+4*l)*n;t.lineTo(r-.45*c,f),t.lineTo(r-c,f)}t.closePath(),t.fill()},O=function(t,r,e){var n=r.x,o=r.y,i=Math.min(1,3*r.age);t.save(),t.translate(n,o),t.scale(i,i),t.fillStyle="rgba(40, 20, 10, 0.25)",t.beginPath(),t.ellipse(0,1,15,4,0,0,7),t.fill();var l=t.createLinearGradient(-11,-30,11,0);l.addColorStop(0,"#d5d9e2"),l.addColorStop(1,"#8a90a2"),t.fillStyle=l,t.strokeStyle=f.P,t.lineWidth=2.5,t.beginPath(),t.moveTo(-11,0),t.lineTo(-11,-20),t.arc(0,-20,11,Math.PI,0),t.lineTo(11,0),t.closePath(),t.fill(),t.stroke(),t.strokeStyle="#5c6275",t.lineWidth=2.5,t.beginPath(),t.moveTo(0,-25),t.lineTo(0,-10),t.moveTo(-5,-20),t.lineTo(5,-20),t.stroke(),t.fillStyle=(0,a.__)(r.color),t.strokeStyle=f.P,t.lineWidth=1.5,t.beginPath(),t.roundRect(-7,-8,14,5,1.5),t.fill(),t.stroke(),t.restore(
1),e&&(t.font="800 12px ".concat(p.mE),t.textAlign="center",t.textBaseline="middle",t.lineWidth=4,t.strokeStyle="rgba(20, 16, 30, 0.7)",t.strokeText(e,n,o+14),t.fillStyle="rgba(255, 255, 255, 0.8)",t.fillText(e,n,o+14))},w=function(t){var r,e,n=t>12?{font:13,height:30,max:9}:t>6?{font:15,height:34,max:10}:{font:17,height:38,max:12};return r=function(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{},n=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.forEach(function(r){var n;n=e[r],r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n})}return t}({},n),e=e={gap:n.height+6},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):(function(t){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r.push.apply(r,e)}return r})(Object(e)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))}),r},X=new Map;null==(n=document.fonts)||n.addEventListener("loadingdone",function(){return X.clear()});var S=function(t,r,e){var n=e.font+"|"+r;if(X.has(n))return X.get(n);t.font="800 ".concat(e.font,"px ").concat(p.mE);var a=r.length>e.max?r.slice(0,e.max-1)+"â¦":r,o=t.measureText(a).width;t.font="900 ".concat(e.font-2,"px ").concat(p.mE);var i=o+8+t.measureText("100").width,l={text:a,inner:i,width:e.height+7+i+.45*e.height};return X.set(n,l),l},j=function(t,r){return void 0===t?r:t+(r-t)*.2},A=function(t,r,e,n,o){var i=a.OE-n.height-10,l=Array(Math.max(1,Math.floor((i-a.eA-10)/n.gap)+1)).fill(-1/0);o.forEach(function(t,e){r.some(function(t){return t.id===e})||o.delete(e)}),b(r).sort(function(t,r){return t.x-r.x}).forEach(function(r){var f,c=S(t,e[r.id]||"",n),u=c.width,h=Math.max(8,Math.min(a.HN-u-8,r.x-u/2)),s=l.findIndex(function(t){return h>=t+6}),d=h;s<0&&(s=l.indexOf((f=Math).min.apply(f,b(l))),d=Math.min(a.HN-u-8,l[s]+6)),l[s]=d+u;var p=o.get(r.id);o.set(r.id,{x:j(null==p?void 0:p.x,d+u/2),y:j(null==p?void 0:p.y,i-s*n.gap),label:c})})},T=function(t,r,e,n,o,i){var l=(0,a.__)(r.color),c=e.label,u=c.text,h=c.inner,s=c.width,d=e.y,y=e.x-s/2,b=y+s,v=i.height,g=v/2,m=d+g;t.lineJoin="round";var M=Math.max(y+v,Math.min(b-g,r.x));t.fillStyle=l,t.beginPath(),t.moveTo(M-6,d+1),t.lineTo(M,d-6),t.lineTo(M+6,d+1),t.closePath(),t.fill();var x=t.createLinearGradient(0,d,0,d+v);x.addColorStop(0,"rgba(44, 40, 66, 0.94)"),x.addColorStop(1,"rgba(20, 18, 34, 0.94)"),t.fillStyle=x,t.beginPath(),t.roundRect(y,d,s,v,g),t.fill();var k=g-Math.max(4,.13*v);t.fillStyle="#ffffff",t.beginPath(),t.arc(y+g,m,g,0,7),t.fill(),t.save(),t.beginPath(),t.arc(y+g,m,k,0,7),t.clip(),(null==n?void 0:n.complete)&&n.naturalWidth&&t.drawImage(n,y+g-k,m-k,2*k,2*k),t.restore(),t.strokeStyle=l,t.lineWidth=2.5,t.beginPath(),t.roundRect(y,d,s,v,g),t.moveTo(y+v,m),t.arc(y+g,m,g,0,7),t.stroke();var P=Math.max(0,r.shownHp/r.maxHp),O=(0,f.S)(P),w=y+v+7,X=d+.4*v;t.textBaseline="middle",t.textAlign="left",t.font="800 ".concat(i.font,"px ").concat(p.mE),t.fillStyle="#ffffff",t.fillText(u,w,X),t.textAlign="right",t.font="900 ".concat(i.font-2,"px ").concat(p.mE),t.fillStyle=O,t.fillText(String(Math.ceil(r.shownHp)),w+h,X);var S=d+.72*v;if(t.fillStyle="rgba(255, 255, 255, 0.14)",t.beginPath(),t.roundRect(w,S,h,4,2),t.fill(),P>0&&(t.fillStyle=O,t.beginPath(),t.roundRect(w,S,Math.max(4,h*P),4,2),t.fill()),o&&r.locked){var j=b-3,A=d+2;t.fillStyle="#51cf66",t.strokeStyle=f.P,t.lineWidth=2,t.beginPath(),t.arc(j,A,9,0,7),t.fill(),t.stroke(),t.strokeStyle="#ffffff",t.lineWidth=2.5,t.beginPath(),t.moveTo(j-4,A),t.lineTo(j-1,A+3),t.lineTo(j+4,A-3),t.stroke()}t.textAlign="center"},H=function(t,r,e){var n=(0,a.__)(r.color),o=Math.max(0,Math.min(1,(e-2)/14));(0,a.bH)(r,10-Math.round(3*o),.75-.3*o).forEach(function(r,e,a){var o=1-e/a.length;t.globalAlpha=.3+.65*o,t.fillStyle=n,t.strokeStyle=f.P,t.lineWidth=2,t.beginPath(),t.arc(r.x,r.y,2.5+3.5*o,0,7),t.fill(),t.stroke()}),t.globalAlpha=1},E=function(t,r){r.trail.forEach(function(e,n){var a=n/r.trail.length;t.fillStyle="rgba(255, 255, 255, ".concat(.55*a,")"),t.beginPath(),t.arc(e.x,e.y,2+5*a,0,7),t.fill()}),t.save(),t.translate(r.x,r.y),t.rotate(Math.atan2(r.vy,r.vx)),t.fillStyle="rgba(255, 190, 60, ".concat(.6+.4*Math.random(),")"),t.beginPath(),t.moveTo(-9,-3),t.lineTo(-17-6*Math.random(),0),t.lineTo(-9,3),t.fill(),t.fillStyle=(0,a.__)(r.color),t.strokeStyle=f.P,t.lineWidth=1.5,t.beginPath(),t.moveTo(-10,-7),t.lineTo(-4,-3),t.lineTo(-4,3),t.lineTo(-10,7),t.closePath(),t.fill(),t.stroke(),t.fillStyle="#3d4450",t.beginPath(),t.moveTo(-9,-4),t.lineTo(4,-4),t.quadraticCurveTo(12,-3,12,0),t.quadraticCurveTo(12,3,4,4),t.lineTo(-9,4),t.closePath(),t.fill(),t.stroke(),t.fillStyle="#ff6b6b",t.fillRect(3,-3.5,3,7),t.restore(
1)},W=function(t,r){var e=r.age/.6,n=r.size;t.strokeStyle="rgba(255, 255, 255, ".concat(1-e,")"),t.lineWidth=6*(1-e),t.beginPath(),t.arc(r.x,r.y,(20+90*e)*n,0,7),t.stroke();var a=t.createRadialGradient(r.x,r.y,0,r.x,r.y,64*n*(1-.5*e));if(a.addColorStop(0,"rgba(255, 250, 220, ".concat(1-e,")")),a.addColorStop(.4,"rgba(255, 180, 60, ".concat(.9*(1-e),")")),a.addColorStop(1,"rgba(255, 120, 40, 0)"),t.fillStyle=a,t.beginPath(),t.arc(r.x,r.y,64*n,0,7),t.fill(),e<.35){t.fillStyle="rgba(255, 255, 255, ".concat(1-e/.35,")"),t.beginPath();for(var o=0;o<16;o++){var i=(o%2?18:44)*n*(.6+1.6*e),l=o/16*Math.PI*2+r.x;t.lineTo(r.x+Math.cos(l)*i,r.y+Math.sin(l)*i)}t.closePath(),t.fill()}},N=function(t,r,e){var n=e.avatars,a=e.names,l=e.scale,c=e.showAim,u=e.labels,h=void 0===u||u,s=e.scenery,y=e.palette,b=e.hour,m=r.t,x=r.quake;t.setTransform(l,0,0,l,0,0),(0,o.t)(t,s,y,b,m,r.wind,l),t.save(),x>0&&t.translate(7*Math.sin(71*m)*x,5*Math.cos(53*m)*x),k(t,y,m,!0),t.drawImage(M(r,y,b),0,0),t.fillStyle=(0,i.AH)((0,i.jh)(y.near,v,.35)),r.trees.forEach(function(r){return P(t,r.x,r.y+3,r.s)});var X=Object.values(r.units),S=X.filter(function(t){return!t.out}),j=w(X.length);if(r.graves.forEach(function(r){return O(t,r,h&&(null==a?void 0:a[r.id]))}),c&&S.forEach(function(r){return H(t,r,X.length)}),S.forEach(function(r){return d(t,r,m)}),r.shells.forEach(function(r){return E(t,r)}),r.blasts.forEach(function(r){return W(t,r)}),r.particles.forEach(function(r){t.globalAlpha=Math.max(0,1-r.age/r.life),t.fillStyle=r.color,t.beginPath(),t.arc(r.x,r.y,r.size*(1-r.age/r.life*.4),0,7),t.fill()}),t.globalAlpha=1,k(t,y,m,!1),h){var N=g.get(r).tags;A(t,S,a,j,N),S.forEach(function(r){return T(t,r,N.get(r.id),n[r.id],c,j)})}t.textAlign="center",t.textBaseline="middle",r.popups.forEach(function(r){var e=r.age/1.8,n=Math.min(1,8*r.age),a=r.y-36*e;t.globalAlpha=Math.min(1,(1-e)*3),t.lineWidth=7,t.strokeStyle=f.P,t.font="".concat(Math.round(10+r.size*n),"px ").concat(p.Nu),t.strokeText(r.text,r.x,a),t.fillStyle=r.color,t.fillText(r.text,r.x,a)}),t.globalAlpha=1,t.restore()}},41518:function(t,r,e){e.d(r,{AH:function(){return f},Du:function(){return u},Wv:function(){return h},dI:function(){return s},e0:function(){return c},jh:function(){return l}});var n=["top","mid","hor","haze","far","near","glow","snow"],a=function(t){var r=parseInt(t.slice(1),16);return[r>>16&255,r>>8&255,255&r]},o=[{h:5.5,top:"#172666",mid:"#4757a2",hor:"#b09ac4",haze:"#8588bd",far:"#474c88",near:"#0f1128",glow:"#ff9eaa",snow:"#d6d0ee",stars:.25},{h:6.4,top:"#3a5dad",mid:"#9b98cf",hor:"#ffd6a5",haze:"#e6bfc2",far:"#7a6a9a",near:"#1b1930",glow:"#ff9eaa",snow:"#ffe0dc",stars:0},{h:7.7,top:"#4a88d4",mid:"#9cc3ea",hor:"#f4e2ca",haze:"#c5d5e7",far:"#8196b6",near:"#1f2d37",glow:"#ffd6a5",snow:"#fff6ee",stars:0},{h:12,top:"#2872d4",mid:"#67aaeb",hor:"#d0e7fa",haze:"#bad5ee",far:"#7c98bf",near:"#1d3838",glow:"#ffffff",snow:"#ffffff",stars:0},{h:16.2,top:"#3880d0",mid:"#84bce7",hor:"#e7eee8",haze:"#c7d7e3",far:"#899bb7",near:"#223434",glow:"#ffe8b0",snow:"#fffaf0",stars:0},{h:18.2,top:"#4d72b6",mid:"#d8ac7c",hor:"#ffcf7a",haze:"#e7bf8d",far:"#938399",near:"#29212f",glow:"#ffb870",snow:"#ffe6c4",stars:0},{h:19.4,top:"#33387c",mid:"#d3677b",hor:"#ff8a4c",haze:"#d77789",far:"#75587d",near:"#1d1327",glow:"#ff6f78",snow:"#ffc2ba",stars:0},{h:20.3,top:"#1c1b55",mid:"#5a3c8b",hor:"#ae668e",haze:"#795997",far:"#493973",near:"#110b21",glow:"#ff9eaa",snow:"#c6aed6",stars:.22},{h:21.4,top:"#0b1143",mid:"#202b71",hor:"#44498d",haze:"#393f7f",far:"#292f67",near:"#08091b",glow:"#6a5aa8",snow:"#999fcb",stars:.72}].map(function(t){return function(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{},n=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.forEach(function(r){var n;n=e[r],r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n})}return t}({},t,Object.fromEntries(n.map(function(r){return[r,a(t[r])]})))}),i=function(t,r,e){return t+(r-t)*e},l=function(t,r,e){return[i(t[0],r[0],e),i(t[1],r[1],e),i(t[2],r[2],e)]},f=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return"rgba(".concat(0|t[0],", ").concat(0|t[1],", ").concat(0|t[2],", ").concat(r,")")},c=6.15,u=19.55,h=function(t,r,e){return"rules"===t?6.05:"results"===t?20.4:e<=1?12:6.4+r/(e-1)*13.2},s=function(t){for(var r,e=0;e<o.length-2&&o[e+1].h<=t;)e++;var a=o[e],f=o[e+1],c=(r=Math.max(0,Math.min(1,(t-a.h)/(f.h-a.h))))*r*(3-2*r),u={};
1return n.forEach(function(t){return u[t]=l(a[t],f[t],c)}),u.stars=i(a.stars,f.stars,c),u}},92134:function(t,r,e){e.d(r,{Nu:function(){return n},mE:function(){return a},nd:function(){return i},w4:function(){return o},wk:function(){return l}});var n="'Lilita One', system-ui, sans-serif",a="'Nunito Variable', 'Nunito', system-ui, sans-serif",o={light:"#f7f3ee",accent:"#ffd6a5",red:"#ff6b6b"},i={background:"rgba(12, 16, 34, 0.34)",backdropFilter:"blur(14px) saturate(1.3)",WebkitBackdropFilter:"blur(14px) saturate(1.3)",border:"1px solid rgba(255, 255, 255, 0.22)",borderRadius:18,boxShadow:"0 20px 40px -20px rgba(0, 0, 0, 0.5)",color:"#f7f3ee"},l={fontFamily:a,fontWeight:600,textTransform:"uppercase",letterSpacing:"0.42em",color:"#f7f3ee",textShadow:"0 1px 12px rgba(0, 0, 0, 0.3)"}}}]);
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.