(function(e){function t(t){for(var o,a,r=t[0],c=t[1],l=t[2],u=0,h=[];u 0.6 ? 1. : 0.;\n\n color = vColor*(pow(color,vec3(3.,3.5,2.)) + vec3(4.0) * border);\n\n color = clamp(color, 0.0, 1.0);\n\n gl_FragColor = vec4(color,1.0);\n\n}"}},"0ef3":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const o={vertexShader:"\n\nvarying vec2 vDiff1;\nvarying vec2 vDiff2;\nvarying vec2 vUV;\nuniform float uTime;\n\nvoid main() {\n vUV = position.xz;\n vDiff1 = uv.xy-position.xz;\n vDiff2 = color.xy-position.xz;\n\n vec3 pos = position.xyz;\n float mTime = (uTime + sin(uTime*2.)*0.3)*16.0;\n float effect1 = (sin(position.x*8.0+mTime) + sin(position.z*8.0+mTime)) * (1.-color.z)*0.0025 * sin(uTime*0.5);\n float effect2 = (sin(position.x*8.0+mTime+1.) + sin(position.z*8.0+mTime+2.)) * (1.-color.z)*0.0025 * sin(uTime*0.5);\n float effect3 = (sin(position.x*8.0+mTime+3.) + sin(position.z*8.0+mTime+7.)) * (1.-color.z)*0.0025 * sin(uTime*0.5);\n\n pos.y += effect1;\n pos.x += effect2*0.5;\n pos.z += effect3*0.5;\n\n gl_Position = projectionMatrix * modelViewMatrix * vec4(pos.xyz, 1.);\n}",fragmentShader:"\n varying vec2 vDiff1;\n varying vec2 vDiff2;\n varying vec2 vUV;\n uniform sampler2D uTexture;\n\n vec4 hash4( vec2 p ) { return fract(sin(vec4( 1.0+dot(p,vec2(37.0,17.0)),\n 2.0+dot(p,vec2(11.0,47.0)),\n 3.0+dot(p,vec2(41.0,29.0)),\n 4.0+dot(p,vec2(23.0,31.0))))*103.0); }\n vec4 textureNoTile( sampler2D samp, in vec2 uv )\n {\n vec2 p = floor( uv );\n vec2 f = fract( uv );\n\n // derivatives (for correct mipmapping)\n vec2 ddx = dFdx( uv );\n vec2 ddy = dFdy( uv );\n\n // voronoi contribution\n vec4 va = vec4( 0.0 );\n float wt = 0.0;\n for( int j=-1; j<=1; j++ )\n for( int i=-1; i<=1; i++ )\n {\n vec2 g = vec2( float(i), float(j) );\n vec4 o = hash4( p + g );\n vec2 r = g - f + o.xy;\n float d = dot(r,r);\n float w = exp(-5.0*d );\n vec4 c = textureGrad( samp, uv + o.zw, ddx, ddy );\n va += w*c;\n wt += w;\n }\n\n // normalization\n return va/wt;\n }\n\nvoid main() {\n vec4 color = textureNoTile(uTexture, vUV);\n\n vec2 D = vDiff2 - vDiff1;\n float l2 = dot(D, D);\n float t = max(0., min(1., dot(-vDiff1, D) / l2));\n vec2 projection = vDiff1 + t * (D);\n float f = vUV.x + vUV.y ;\n float dist = length(projection)*15.+sin(f*35.)*0.15;//+(color.g-0.5)*1.0;\n //float dist = length(vDiff1)*5.;\n //max(0.,1.-dist*5.)\n\n float c = 1.0-dist*0.75*color.g;\n color.rgb *= vec3(c,sqrt(c),c);\n\n if (dist>0.5) {\n discard;\n } else {\n gl_FragColor = vec4(color.rgb*0.75,1.0);\n }\n\n}"}},"1cd5":function(e,t,n){"use strict";t["a"]=function(e){let{color:t,geology:n,surfaceType:o}=e,{temp:i,shoreline:s}=n,a=Math.sqrt(i),r=55*Math.pow(1-2*Math.abs(.5-Math.pow(i,.75)),3)+10,c=Math.max(0,40*s),l=-60-.25*c,u=40-c,d=a*(u-l)+l,h=10*s,f=t[1]/(t[0]+t[1]+t[2]);f=4*Math.max(0,f-.32);let p=h>3.3,m=!p&&0!=o;return{mountainess:p,buildable:m,temperatureMean:d,temperatureRange:r,elevation:h,tropical:Math.pow(i,4),fertility:f}}},"20b4":function(e){e.exports=JSON.parse('[{"name":"head","keys":{"0":{"left":251.0249697257573,"top":98.90409830222706,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9187213106963606,"imageIndex":0},"2":{"left":249.7749697257573,"top":101.40409830222704,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9653879773630275,"imageIndex":0},"4":{"left":247.5249697257573,"top":131.90409830222706,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.8653879773630274,"imageIndex":0},"6":{"left":250.2749697257573,"top":113.90409830222706,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9453879773630274,"imageIndex":0},"8":{"left":250.0249697257573,"top":100.90409830222706,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9187213106963606,"imageIndex":0},"10":{"left":248.7749697257573,"top":105.15409830222707,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9753879773630273,"imageIndex":0},"12":{"left":248.5249697257573,"top":124.90409830222706,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9187213106963606,"imageIndex":0},"14":{"left":247.2749697257573,"top":111.15409830222707,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9753879773630273,"imageIndex":0}},"delay":3},{"name":"face","keys":{"0":{"left":255.0246432157715,"top":98.63810885251058,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9996773760634998,"imageIndex":1},"2":{"left":257.0246432157715,"top":103.63810885251058,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9996773760634998,"imageIndex":1},"4":{"left":253.0246432157715,"top":125.63810885251058,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9996773760634998,"imageIndex":1},"6":{"left":257.0246432157715,"top":113.63810885251058,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9996773760634998,"imageIndex":1},"8":{"left":255.0246432157715,"top":103.63810885251058,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9996773760634998,"imageIndex":1},"10":{"left":253.5246432157715,"top":109.63810885251058,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9996773760634998,"imageIndex":1},"12":{"left":248.0246432157715,"top":127.63810885251058,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9996773760634998,"imageIndex":1},"14":{"left":255.5246432157715,"top":111.63810885251058,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9996773760634998,"imageIndex":1}},"delay":3},{"name":"body","keys":{"0":{"left":250.375,"top":234.39272104555235,"angle":0,"skewX":0,"skewY":0,"scaleX":0.56875,"scaleY":1.0452362806073647,"imageIndex":0},"2":{"left":250.875,"top":248.39272104555232,"angle":0,"skewX":0,"skewY":0,"scaleX":0.56875,"scaleY":1.0319029472740309,"imageIndex":0},"4":{"left":251.375,"top":264.8927210455523,"angle":0,"skewX":0,"skewY":0,"scaleX":0.56875,"scaleY":0.9852362806073642,"imageIndex":0},"6":{"left":250.375,"top":254.9760543788857,"angle":0,"skewX":0,"skewY":0,"scaleX":0.5687500000000001,"scaleY":0.9596807250518093,"imageIndex":0},"8":{"left":250.375,"top":240.059387712219,"angle":0,"skewX":0,"skewY":0,"scaleX":0.5687500000000001,"scaleY":1.0407918361629207,"imageIndex":0},"10":{"left":249.625,"top":247.26772104555238,"angle":0,"skewX":0,"skewY":0,"scaleX":0.5687500000000001,"scaleY":1.0569029472740312,"imageIndex":0},"12":{"left":249.875,"top":263.9760543788857,"angle":0,"skewX":0,"skewY":0,"scaleX":0.5687500000000001,"scaleY":0.9863473917184759,"imageIndex":0},"14":{"left":250.125,"top":253.184387712219,"angle":0,"skewX":0,"skewY":0,"scaleX":0.5687500000000001,"scaleY":0.9624585028295868,"imageIndex":0}},"delay":1},{"name":"arm_r","keys":{"0":[[264.9104761904765,179.61904761904668],[370.06857142856893,228.74095238095396],[336.66666666666686,280.2666666666675],[265.4666666666656,246.60000000000684],[297.9104761904765,179.61904761904668],[404.06857142856893,228.74095238095396]],"2":[[263.9104761904765,193.61904761904668],[393.06857142856893,176.74095238095396],[361.66666666666686,253.2666666666675],[315.4666666666656,260.60000000000684],[296.9104761904765,193.61904761904668],[427.06857142856893,176.74095238095396]],"4":[[258.0533333333337,211.61904761904668],[377.78285714285465,171.1695238095254],[375.0952380952383,245.1238095238104],[318.3238095238085,274.60000000000684],[291.0533333333337,211.61904761904668],[411.78285714285465,171.1695238095254]],"6":[[259.19619047619085,206.28571428571337],[259.4971428571404,295.7647619047635],[131.69047619047643,283.9809523809532],[155.5142857142847,240.93333333334022],[292.19619047619085,206.28571428571337],[293.4971428571404,295.7647619047635]],"8":[[229.33904761904802,180.95238095238005],[221.61142857142607,304.3600000000016],[142.68571428571454,254.2380952380961],[134.5047619047609,194.06666666667354],[262.339047619048,180.95238095238005],[255.61142857142613,304.3600000000016]],"10":[[238.23190476190516,180.6190476190467],[179.72571428571177,300.4552380952397],[137.18095238095262,262.74523809523896],[137.24523809523708,145.20000000000687],[271.2319047619052,180.6190476190467],[213.72571428571183,300.4552380952397]],"12":[[243.1247619047623,201.28571428571337],[129.17333333333085,276.55047619047775],[124.6761904761907,230.5857142857152],[188.98571428571327,170.00000000000688],[276.1247619047623,201.28571428571337],[163.1733333333309,276.55047619047775]],"14":[[254.0176190476194,190.45238095238003],[272.1209523809499,308.6457142857158],[198.17142857142878,284.9261904761913],[202.22619047618946,209.30000000000686],[287.0176190476194,190.45238095238003],[306.1209523809499,308.6457142857158]]},"delay":2},{"name":"arm_l","keys":{"0":[[225.1599999999993,178.999999999999],[246.20000000000437,289.6000000000021],[131.79999999999754,279.19999999999845],[138.7999999999957,203.3999999999985],[256.1599999999993,178.999999999999],[278.20000000000437,289.6000000000021]],"2":[[222.1599999999993,181.999999999999],[183.20000000000437,302.6000000000021],[122.79999999999754,248.19999999999845],[123.79999999999569,204.3999999999985],[253.1599999999993,181.999999999999],[215.20000000000437,302.6000000000021]],"4":[[224.58857142857073,206.5714285714276],[133.2000000000044,301.74285714285924],[131.08571428571184,250.6285714285699],[169.94285714285286,208.2571428571414],[255.58857142857073,206.5714285714276],[165.20000000000437,301.74285714285924]],"6":[[241.6838095238088,201.97619047618952],[239.03333333333774,293.7190476190497],[226.20476190475947,250.39047619047466],[229.75238095237668,225.4476190476176],[272.6838095238088,201.97619047618952],[271.03333333333774,293.7190476190497]],"8":[[238.37904761904693,197.38095238095144],[359.0666666666711,204.09523809524023],[375.72380952380706,274.95238095237943],[258.5619047619005,257.0380952380938],[269.3790476190469,197.38095238095144],[391.0666666666711,204.09523809524023]],"10":[[235.07428571428503,192.78571428571334],[344.3500000000044,183.2214285714307],[372.74285714285463,228.0142857142842],[264.3714285714243,261.62857142856996],[266.074285714285,192.78571428571334],[376.3500000000044,183.2214285714307]],"12":[[264.7695238095231,214.19047619047524],[383.3000000000044,195.01428571428784],[361.42857142856894,277.07619047618897],[303.8476190476148,277.21904761904614],[295.7695238095231,214.19047619047524],[415.3000000000044,195.01428571428784]],"14":[[244.9647619047612,196.5952380952371],[250.75000000000438,316.307142857145],[145.61428571428326,308.1380952380937],[161.32380952380524,200.30952380952232],[275.9647619047612,196.5952380952371],[282.7500000000044,316.307142857145]]},"delay":2},{"name":"leg_r","keys":{"0":[[235.4240786123927,295.19197379586916],[162.93456244766662,434.7059119921323],[220.6848213565159,336.53997988771806],[228.6371593997984,399.08626651645886],[265.4240786123927,295.19197379586916],[192.93456244766662,434.7059119921323]],"2":[[233.4240786123927,312.19197379586916],[173.93456244766662,435.7059119921323],[237.6848213565159,436.53997988771806],[268.6371593997984,357.08626651645886],[263.4240786123927,312.19197379586916],[203.93456244766662,435.7059119921323]],"4":[[233.56693575524986,319.4776880815835],[140.36313387623807,400.5630548492752],[198.2562499279445,441.25426560200384],[271.9228736855127,393.08626651645886],[263.56693575524986,319.4776880815835],[170.36313387623807,400.5630548492752]],"6":[[266.709792898107,308.09673570063114],[220.12503863814283,387.25353103975135],[317.99434516603975,433.8018846496229],[375.70858797122696,401.08626651645886],[296.709792898107,308.09673570063114],[250.12503863814283,387.25353103975135]],"8":[[264.25265004096417,297.11578331967877],[259.6869434000476,401.74400723022757],[361.532440404135,414.3495036972419],[404.29430225694125,336.6862665164589],[294.25265004096417,297.11578331967877],[289.6869434000476,401.74400723022757]],"10":[[258.7955071838213,311.1348309387264],[334.49884816195237,450.9844834207038],[331.3205356422302,390.89712274486095],[297.38001654265554,343.2862665164589],[288.7955071838213,311.1348309387264],[364.49884816195237,450.9844834207038]],"12":[[266.33836432667846,319.15387855777396],[250.97741959052382,446.8916262778466],[353.4419642136588,420.44474179248],[352.1323974950365,350.88626651645893],[296.33836432667846,319.15387855777396],[280.9774195905238,446.8916262778466]],"14":[[235.3812214695356,305.17292617682153],[204.95599101909522,441.79876913498947],[263.06339278508733,402.492360840099],[265.3847784474175,370.9862665164589],[265.3812214695356,305.17292617682153],[234.95599101909522,441.79876913498947]]},"delay":0},{"name":"leg_l","keys":{"0":[[253.8421558206228,295.60361074880257],[259.5526620347128,409.38817853905056],[370.2008644028123,395.58513768484073],[361.323006355776,327.0345761159196],[283.8421558206228,295.60361074880257],[289.5526620347128,409.38817853905056]],"2":[[262.8421558206228,311.60361074880257],[339.5526620347128,438.38817853905056],[319.2008644028123,395.58513768484073],[288.323006355776,349.0345761159196],[292.8421558206228,311.60361074880257],[369.5526620347128,438.38817853905056]],"4":[[254.8421558206228,324.1750393202312],[248.69551917756996,444.95960711047917],[351.915150117098,431.58513768484073],[347.46586349863315,353.1774332587768],[284.8421558206228,324.1750393202312],[278.69551917756996,444.95960711047917]],"6":[[240.8421558206228,305.57980122499305],[210.17170965376044,442.3643690152411],[261.1294358313837,403.91847101817405],[274.44205397482364,362.65362373496725],[270.8421558206228,305.57980122499305],[240.17170965376044,442.3643690152411]],"8":[[238.44215582062282,303.58456312975494],[204.64790012995093,445.16913092000306],[239.14372154566945,426.8518043515074],[253.21824445101413,354.12981421115774],[268.4421558206228,303.58456312975494],[234.64790012995093,445.16913092000306]],"10":[[237.5421558206228,309.33932503451683],[162.3740906061414,438.22389282476496],[213.15800725995518,457.2851376848407],[290.24443492720457,364.1060046873482],[267.54215582062284,309.33932503451683],[192.3740906061414,438.22389282476496]],"12":[[235.6421558206228,317.0940869392788],[146.1002810823319,394.6119880628602],[227.83895964090755,422.7184710181741],[323.93729207006174,402.0821951635387],[265.64215582062286,317.0940869392788],[176.1002810823319,394.6119880628602]],"14":[[256.74215582062277,303.3488488440407],[211.82647155852234,376.00008330095534],[305.5199120218599,432.1518043515074],[338.63014921291887,401.0583856397292],[286.74215582062277,303.3488488440407],[241.82647155852234,376.00008330095534]]},"delay":0}]')},"234f":function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));n("14d9");var o=n("1818"),i=n.n(o);function s(e,t,n){e/=255,t/=255,n/=255;let o,i,s=Math.max(e,t,n),a=Math.min(e,t,n),r=(s+a)/2;if(s==a)o=i=0;else{let c=s-a;switch(i=r>.5?c/(2-s-a):c/(s+a),s){case e:o=(t-n)/c+(t1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function r(e,t,n){let o,i,s;if(0==t)o=i=s=n;else{let r=n<.5?n*(1+t):n+t-n*t,c=2*n-r;o=a(c,r,e+1/3),i=a(c,r,e),s=a(c,r,e-1/3)}return[255*o,255*i,255*s]}var c=n("3f95"),l=n("1cd5");function u(e,t,n,o){return function(){e>>>=0,t>>>=0,n>>>=0,o>>>=0;var i=e+t|0;return e=t^t>>>9,t=n+(n<<3)|0,n=n<<21|n>>>11,o=o+1|0,i=i+o|0,n=n+i|0,(i>>>0)/4294967296}}function d(e){for(var t=0,n=1779033703^e.length;t>>19;return function(){return n=Math.imul(n^n>>>16,2246822507),n=Math.imul(n^n>>>13,3266489909),(n^=n>>>16)>>>0}}function h(e){let t=d(e),n=u(t(),t(),t(),t());return n}function f(e,t){let n=0,o=1;for(let i=0;io[(e+115*t)%1e4],u=c["b"].fetchInfo(this.index),d=Object(l["a"])(u),f=d.fertility,w=d.elevation,g=d.tropical,b=u.geology.temp,x=2!=u.surfaceType,y=1!=u.surfaceType;let _=.6+.15*w;y||(_=.8);const k=p({octaves:5,persistence:.6*_,scale:.5,simplex:n[0]}),M=p({octaves:5,persistence:.6*_,scale:.5,simplex:n[1]}),C=p({octaves:5,persistence:.6*_,scale:.5,simplex:n[2]}),S=p({octaves:5,persistence:.6*_,scale:.5,simplex:n[3]}),X=.5-w*w*.07,Y=X-.1,E=.95-1.2*f-.2*g,I=.95-.3*f-.3*g,T=I-.1,O=T-.1;this.colorProfile={[v.SLATE]:[.25,.25,.25],[v.GRANITE]:[.5,.5,.5]},this.getColorAt=function(e,t){const n=.01,o=e*n,i=t*n,c=y?m(o,i,k):-2,l=.1,u=10*l;let d=0,h=[0,0,0],f=0,p=m(o,i,M)-.4*c,w=0,_=0,P=0;if(c>X)f=v.SLATE,d=Math.min(1.5*(c-X)+l,u),h=[.25,.25,.25];else if(c>Y)f=v.GRANITE,d=a(e,t)<.025?l:0,h=[.5,.5,.5];else if(x){let e=m(o,i,M);e<.5?(f=v.ICE,h=[.9,.9,.9]):(f=v.BLUEICE,h=[.75,.75,1])}else if(p>I)f=v.WATER,h=[0,.8*g,1-.2*g],w=2*-l,d=-l;else if(p>T)f=v.WATER,h=[.4-.2*g,.4+.2*g,.8-.2*g],w=1*-l,d=-l;else if(p>O)_=1,f=v.GRASS,h=[0,.5,.2*g],d=0;else{let e=m(o,i,C)+.4*p,t=m(o,i,S),n=.1*Math.sqrt(1-b);const s=.2;e>E?(_=1,t>s?(f=v.DIRT,h=[.4,.35,.3]):(P=1,f=v.GRASS,h=[.1,.6,.1],d=e-E<.3?0:1*l)):e>E-.2?(_=.5,t>s?(f=v.DIRT,h=[.6,.55,.45]):(P=1,f=v.GRASS,h=[.3,.7,.3],d=1*l)):(d=1*l,_=.2,t>s?(f=v.DIRT,h=[.8+n,.7+n,.55+n]):(P=1,f=v.GRASS,h=[.85-n,.8-n,.45+n]))}let D=Math.max(0,Math.min(Math.round(255*h[0]))),A=Math.max(0,Math.min(Math.round(255*h[1]))),j=Math.max(0,Math.min(Math.round(255*h[2]))),z=s(D,A,j);z[1]*=b;let R=r(...z);return R.push(d-4.5*l),R.push(f),R}}}},"27df":function(e,t,n){"use strict";(function(e){n.d(t,"d",(function(){return h})),n.d(t,"c",(function(){return p})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return k}));n("14d9");var o=n("5a89"),i=(n("f537"),n("0ef3")),s=n("b7d5"),a=n("08c3"),r=n("d124");const c=new o["qb"],l=c.load("/img/textures/dirt5.jpg"),u=c.load("/img/textures/grass3.jpg");u.wrapS=u.wrapT=o["ib"],l.wrapS=l.wrapT=o["ib"];const d=e=>{const t=c.load(e);return t.wrapS=t.wrapT=o["ib"],t},h=new o["lb"]({...a["a"],vertexColors:!0,uniforms:{uTexture1:{value:d("/img/textures/water2.jpg")},uTexture2:{value:d("/img/textures/water4.jpg")},uTime:{value:0}}}),f=(e,t)=>{const n=c.load(e);return n.wrapS=n.wrapT=o["ib"],new o["lb"]({...s["a"],vertexColors:!0,uniforms:{uScale:{value:new o["vb"](...t||[1,1])},uTexture:{value:n}}})},p=new o["lb"]({...i["a"],side:o["s"],alphaTest:.5,vertexColors:!0,uniforms:{uTexture:{value:u},uTime:{value:0}}});let m=null;const v={1:f("/img/textures/grass3.jpg"),"1-side":f("/img/textures/dirt5.jpg",[14,14]),2:f("/img/textures/dirt5.jpg",[1,1]),3:h,4:f("/img/textures/rock7.jpg",[1,1]),5:f("/img/textures/rock3.jpg",[1,1]),cover:p};function w(e){_(m.chunks[e])}function g(e){const{bufferMesh:t,bufferMeshes:n,bufferCoverMesh:i,chunkIndex:s}=e.data,a=m.chunks[s];a.config.filled=!0;const c=n.map(e=>{const t=Object(r["c"])(e);return new o["L"](t,v[e.material])});a.meshes&&a.meshes.forEach(e=>m.node.remove(e)),c.forEach(e=>m.node.add(e)),a.meshes=c}const b=[];let x=0;function y(){const t=new Worker(e,void 0);t.onmessage=g,b.push(t)}for(let t=0;t<1;t++)y();function _(e){b[x++%b.length].postMessage({voxelChunkConfig:e.config})}function k(e){const{geoIndex:t,generator:n,worldTileCount:o,chunkTileCount:i,worldSize:s}=e;m=e;const a=o/i,r=[];for(let c=0;c{let n=e[0]-a/2,o=e[1]-a/2,i=t[0]-a/2,s=t[1]-a/2;return n*n+o*o-(i*i+s*s)}),r.forEach(([t,n])=>_(e.chunks[t+n*a]))}}).call(this,n("3fb8"))},"3f95":function(e,t,n){"use strict";n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return p}));var o=n("5a89");function i(){this.viewD=10,this.viewX=0,this.viewY=0,this.mouseDX=0,this.mouseDY=0,this.mouseX=0,this.mouseY=0,this.offsetX=0,this.offsetY=0,this.hasMouseCtx=!1,this.ignoreClick=!1,this.isMouseDown=!1,this.maxZoom=1e3,this.minZoom=.001,this.dx=0,this.dy=0,this.scale=.75,this.scrollSpeed=20,this.mouseSpeed=.01,this.inputHandler={},this.update=()=>{},this.button={};let e=this.offsetX,t=this.offsetY,n=0,i=0,s=0,a=new o["wb"];this.center=a,this.translateButton=2,this.rotateButton=0,this._scale=this.scale,this.keyUp=function(){},this.keyDown=function(){},this.applyUpdate=function(o,r){let c=o.camera;this._scale+=this.scale-this._scale;let l=.8*this.viewD;r||(l*=this._scale);let u=-2*l/o.width*.1,d=u;this.ddx=d,this.ddy=u;let h=Math.cos(this.viewX)*Math.cos(this.viewY),f=Math.sin(this.viewX)*Math.cos(this.viewY),p=Math.sin(this.viewY);c.zoom=1/this.scale,c.updateProjectionMatrix(),n+=this.offsetX-e,i+=this.offsetY-t,s&&(n*=l/s,i*=l/s),c.setViewOffset(1,1,n,i,1,1),e=this.offsetX,t=this.offsetY,s||(s=l);let m=this.element.offsetHeight/this.element.offsetWidth,v=.5*(1-m);c.setViewOffset(1,1,.5*this.offsetX,.5*this.offsetY+v,1,m),c.position.x=h*l+a.x,c.position.y=p*l+a.y,c.position.z=f*l+a.z,c.lookAt(a)},this.attach=function(e){e.attach(this)},this.click=function(e){this.ignoreClick?this.ignoreClick=!1:this.inputHandler.click&&this.inputHandler.click(e)},this.mouseDown=function(e){return e.preventDefault(),this.mouseX=e.pageX,this.mouseY=e.pageY,this.button[e.button]=!0,0===e.button&&(this.isMouseDown=!0),2===e.button&&(this.isMouseDown2=!0),this.update(),!1},this.mouseUp=function(e){0===e.button&&(this.isMouseDown=!1),this.button[e.button]=!1,this.update()},this.mouseMove=function(e){if(this.mouseDX=e.pageX-this.mouseX,this.mouseDY=e.pageY-this.mouseY,this.mouseX=e.pageX,this.mouseY=e.pageY,this.button[this.translateButton]&&(this.offsetX+=this.mouseDX*this.ddx,this.offsetY+=this.mouseDY*this.ddy),this.button[this.rotateButton]){this.ignoreClick=!0;const e=this.mouseSpeed*Math.min(1,this.scale*this.scale*this.scale);this.viewX+=this.mouseDX*e,this.viewY+=this.mouseDY*e,void 0!==this.maxViewY&&this.viewY>this.maxViewY&&(this.viewY=this.maxViewY),void 0!==this.minViewY&&this.viewYthis.maxViewX&&(this.viewX=this.maxViewX),void 0!==this.minViewX&&this.viewX{e.world&&e.remove(e.world),e.world=t,t&&e.add(t)},e}function p(e){console.log("CreateSpaceSceneController");const{renderer:t,stats:n,inputController:a}=e,r=f(),u=new o["ab"](75,window.innerWidth/window.innerHeight,.1,1e3),p=new i;p.element=t.domElement,p.viewY=.25*Math.PI,p.viewX=-.25*Math.PI;const m=new o["wb"],v=new o["vb"],w=new o["gb"],g=new o["mb"](m,2),b=new o["wb"],x=new o["wb"],y=new l["c"](t),_=new l["a"]({luminanceThreshold:.9,intensity:1.8,luminanceSmoothing:.05});y.addPass(new l["g"](r,u)),y.addPass(new l["d"](u,_)),y.addPass(new l["d"](u,new l["b"])),y.addPass(new l["d"](u,new l["i"]));const k={lat:0,lng:0,index:0,callback:null},M=w.ray;function C(e){x.copy(e),r.world.worldToLocal(e);const t=e.z,n=Math.sqrt(e.x*e.x+e.y*e.y);return k.lat=180*Math.atan2(t,n)/Math.PI,k.lng=180*Math.atan2(e.y,e.x)/Math.PI,k.index=s["a"](k.lat,k.lng,d.WORLD_CONFIG.WORLD_RESOLUTION),k}p.inputHandler.click=()=>{if(M.intersectSphere(g,b)){if(!r.world)return;const{index:e}=C(b),t=d.fetchInfo(e),{loc:n,surfaceType:o}=t,{buildable:i}=Object(c["a"])(t);console.log("indexInfo",t)}};const S={scene:r,camera:u,mouseInfo:k,inputHandler:p,unloadWorld:function(){r.setWorld(null)},worldLoading:!1,loadWorld:function(){if(S.worldLoading)return;console.log("loadWorld"),S.worldLoading=!0;const e=h();r.setWorld(e)},update:function(){p.applyUpdate({camera:u,width:window.innerWidth}),v.set(p.mouseX/window.innerWidth*2-1,-p.mouseY/window.innerHeight*2+1);const e=5e-4;r.world&&(r.world.rotation.x=-Math.PI/2,r.world.rotation.z+=e),p.viewX-=e,u.aspect=1,u.updateProjectionMatrix(),y.render()}};return S}},"3fb8":function(e,t,n){e.exports=n.p+"js/0.1f196e2c.worker.js"},"6deb":function(e,t,n){},"72c6":function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return d}));n("14d9");var o=n("d124"),i=n("8e02"),s=n("f75e"),a=n("5a89");function r(e,t){const n=t.WORLD_RADIUS;return e.map(e=>{let o=e[1]*Math.PI/180,i=e[0]*Math.PI/180,s=Math.cos(o),r=Math.sin(o),c=Math.cos(i)*n,l=Math.sin(i)*n,u=new a["wb"](s*c,r*c,l),d=t.getElevation(u)/n;return u.x*=d,u.y*=d,u.z*=d,u})}function c(e,{color:t,loc:n,surfaceType:o},s){let a={vertices:e.map(e=>{let n=t;if(o==i["a"].SEA){const t=s.getGeoLocInfo(e);n=t.color}return{p:e,c:n}}),indices:[]};a.vertices.push({p:n,c:t});let r=e.length;for(let i=0;i{const n=u.fetchMesh(e,t);Object(o["a"])(i,n)}),Object(o["d"])(i)}},"783e":function(e,t,n){e.exports=n.p+"js/1.6dc17d26.worker.js"},"8e02":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return f}));var o=n("edb1"),i=n.n(o),s=n("9d01"),a=n.n(s);const r={SEA:0,ICESEA:1,LAND:2,ICELAND:3};function c(e,t,n){return e.map((e,o)=>e*n+t[o]*(1-n))}function l(e){return[e._r/255,e._g/255,e._b/255]}var u=function(e){const{WORLD_RADIUS:t,ICE_RANGE:n,TROPIC_RANGE:o,LAND_CUTOFF:s,ROCKY_CUTOFF:u,NOISE_SEED:d,WORLD_RESOLUTION:h,COLOR_GROUP_LAND1:f,COLOR_GROUP_LAND2:p,COLOR_GROUP_LAND3:m,COLOR_GROUP_ICEY:v}=e,w=a()(f),g=a()(p),b=a()(m),x=a()(v),y=[d,d,d,d],_=new i.a,k=new i.a,M=new i.a,C=new i.a,S=new i.a,X=new i.a;function Y(e,n,o=1){return e.get((n.x+t)*o,(n.y+t)*o,(n.z+t)*o)}function E(e){const n=.75*(Y(k,e,2)-.5),o=1-Math.abs((e.z+n)/t);return o}function I(e){const t=E(e);let i=Y(k,e,.5),a=Y(S,e,2)-.3,r=Y(S,e,3.8)-.3,c=Y(S,e,4.1);i+=.3*a+.15*r;let l=(i-s)/(1-s),d=Math.max(0,l);d=Math.min(1,d*(.5+c));let h=1-t;h=Math.max(0,Math.min(1,3*(h-.5)+.5));let f=Math.min(1,Math.max(0,n-t+d*d)/n),p=Math.max(0,t-o)/(1-o);p*=.8;let m=Math.min(1,Math.max(0,d-u)/(1-u));return{land:d,temp:t,icey:f,tropic:p,rocky:m,shoreline:l,elevation:i}}function T(e){let n=I(e),o=Math.sqrt(n.icey+2*n.land+15*n.rocky);o+=o>0?.1:0;let i=.9*Math.min(2,o)+.1,s=t+i*(Y(_,e,5)-.2)*.025;return s}function O(e){const t=I(e);let n=t.temp,o=1,i=0,s=0,a=Math.sqrt(t.land),u=l(w.rgbAt(a)),d=l(g.rgbAt(a)),h=l(x.rgbAt(a)),f=l(b.rgbAt(a)),p=.5*(Y(M,e,4)+Y(M,e,2)),m=Y(C,e,2.5),v=Math.max(0,Math.min(1,2*(p-.5)+.5)),y=Math.max(0,Math.min(1,2*(m-.3)+.5)),_=t.land>0?1:0,[k,S,E]=c(u,d,v);[k,S,E]=c([k,S,E],f,y);let T=1-t.temp;T=Math.max(0,Math.min(1,4*(T-.6)+.6)),T=T*T*.75+.25,[k,S,E]=c(h,[k,S,E],T);let O=r.LAND,P=Math.max(0,Math.min(1,1.3-4*t.temp));if(t.icey&&!_)O=r.ICESEA,i=Math.pow(P,.2),s=Math.min(1,P+S*_),o=Math.min(1,P+k*_);else{let a=!1;if(t.icey){let t=Y(X,e,9)+.65*P-.25;t>.25&&(t=Math.min(1,t),[o,s,i]=c([1,1,1],[k,S,E],t),a=!0,O=r.ICELAND)}if(!a)if(t.land>0)[o,s,i]=[k,S,E];else{O=r.SEA;let e=Math.max(0,Math.min(1,1-4*Math.abs(t.shoreline)));e=.3*Math.pow(e,3);const a=.2;[o,s,i]=[Math.max(0,.5*e-a),Math.max(0,Math.min(1,t.tropic+e-a)),Math.max(0,Math.min(1,n+.5+e-a))]}}return{color:[o,s,i],geology:t,loc:e,surfaceType:O}}return _.noiseSeed(y[0]),k.noiseSeed(y[1]),M.noiseSeed(y[2]),C.noiseSeed(y[2]+1),S.noiseSeed(y[3]),{getElevation:T,getGeoLocInfo:O}};const d={GENERATOR:"earthlike",WORLD_RADIUS:2,ICE_RANGE:.2,TROPIC_RANGE:.2,LAND_CUTOFF:.65,ROCKY_CUTOFF:.55,NOISE_SEED:11,WORLD_RESOLUTION:2,COLOR_GROUP_LAND1:[{color:"rgb(270, 250, 130)",pos:0},{color:"rgb(40, 200, 40)",pos:.35},{color:"rgb(80, 200, 40)",pos:.45},{color:"rgb(73, 70, 70)",pos:.5},{color:"rgb(50, 50, 50)",pos:.65}],COLOR_GROUP_LAND2:[{color:"rgb(70, 50, 30)",pos:0},{color:"rgb(20, 100, 20)",pos:.35},{color:"rgb(40, 100, 20)",pos:.45},{color:"rgb(173, 140, 120)",pos:.6},{color:"rgb(73, 70, 70)",pos:.75}],COLOR_GROUP_LAND3:[{color:"rgb(10, 200, 10)",pos:0},{color:"rgb(0, 100, 0)",pos:.1},{color:"rgb(210, 180, 130)",pos:.2},{color:"rgb(250, 210, 130)",pos:.6}],COLOR_GROUP_ICEY:[{color:"rgb(140, 140, 190)",pos:0},{color:"rgb(51, 51, 51)",pos:.3}]},h={earthlike:u};function f(e){const{WORLD_RESOLUTION:t,WORLD_RADIUS:n,GENERATOR:o}=e,i=h[o],s=i(e);return Object.assign(s,{WORLD_RESOLUTION:t,WORLD_RADIUS:n}),s}},"9b19":function(e,t,n){e.exports=n.p+"img/logo.63a7d78d.svg"},b7d5:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const o={vertexShader:"\n\nvarying vec3 vColor;\nvarying vec2 vUV;\n\nvoid main() {\n vUV = uv;\n vColor = color;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position.xyz, 1.);\n}",fragmentShader:"\n varying vec2 vUV;\n varying vec3 vColor;\n uniform sampler2D uTexture;\n uniform vec2 uScale;\n\n vec4 hash4( vec2 p ) { return fract(sin(vec4( 1.0+dot(p,vec2(37.0,17.0)),\n 2.0+dot(p,vec2(11.0,47.0)),\n 3.0+dot(p,vec2(41.0,29.0)),\n 4.0+dot(p,vec2(23.0,31.0))))*103.0); }\n vec4 textureNoTile( sampler2D samp, in vec2 uv )\n {\n vec2 p = floor( uv );\n vec2 f = fract( uv );\n\n // derivatives (for correct mipmapping)\n vec2 ddx = dFdx( uv );\n vec2 ddy = dFdy( uv );\n\n // voronoi contribution\n vec4 va = vec4( 0.0 );\n float wt = 0.0;\n for( int j=-1; j<=1; j++ )\n for( int i=-1; i<=1; i++ )\n {\n vec2 g = vec2( float(i), float(j) );\n vec4 o = hash4( p + g );\n vec2 r = g - f + o.xy;\n float d = dot(r,r);\n float w = exp(-5.0*d );\n vec4 c = textureGrad( samp, uv + o.zw, ddx, ddy );\n va += w*c;\n wt += w;\n }\n\n // normalization\n return va/wt;\n }\n\nvoid main() {\n vec4 color = textureNoTile(uTexture, vUV*uScale);\n gl_FragColor = vec4(color.rgb*vColor,1.0);\n\n}"}},c321:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return w}));n("14d9");var o=n("f75e"),i=n("5a89"),s=n("d124"),a=n("8e02"),r=n("72c6");n.d(t,"a",(function(){return r["b"]}));const c=new i["Q"]({color:16777215,vertexColors:!0});let l=null,u=0;function d(e){const{index:t,geomesh:n}=e.data;u+=n.sizeOfBuffer;const o=Object(s["c"])(n),a=new i["L"](o,c);l.add(a)}const h=[];let f=0;function p(){const t=new Worker(e,void 0);t.onmessage=d,h.push(t)}for(let t=0;t<2;t++)p();function m(e,t){0==h.length?v({WORLD_INDEX:e,WORLD_CONFIG:t}):h[f++%h.length].postMessage({WORLD_INDEX:e,WORLD_CONFIG:t})}function v(e){const{WORLD_CONFIG:t,WORLD_INDEX:n}=e,o=Object(a["c"])(t),i=Object(r["a"])(n,o);d({data:{index:n,geomesh:i}})}function w(e,t){u=0;const n=o["b"]();l=e,n.forEach(e=>{m(e,t)})}}).call(this,n("783e"))},ca5f:function(e,t,n){"use strict";n("6deb")},cd49:function(e,t,n){"use strict";n.r(t);var o=n("2b0e"),i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{attrs:{id:"inspire"}},[e._m(0),e._m(1),t("div",{staticClass:"deck-left"},e._l(e.cards,(function(n){return t("div",{staticClass:"info-card",class:{selected:e.selectedScene==n.view},style:`background: url(${n.url}) no-repeat center center fixed`,on:{click:function(t){return e.selectScene(n.view)}}},[t("div",{staticClass:"tags"},e._l(n.tags,(function(n){return t("div",{staticClass:"tag"},[e._v(e._s(n))])})),0)])})),0),t("div",{staticClass:"deck-right"},[t("div",{staticClass:"info-card skills"},e._l(e.professions,(function(n,o){return t("div",{staticClass:"minor",class:{selected:n==e.selectedProf},on:{click:function(t){return e.selectProf(n)},mouseenter:function(t){return e.showProf(n)},mouseleave:function(t){return e.showProf(null)}}},[e._v(e._s(n)+e._s(e.dotdotdots[o]))])})),0),t("div",{staticClass:"info-card",attrs:{id:"graphics-stats-section"}})]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.isSkillsVisible,expression:"isSkillsVisible"}],staticClass:"info-card skills-info",class:e.skillsClass},[t("div",{staticClass:"skill-title"},[e._v(" "+e._s(e.selectedProfName)+" ")]),e._l(e.selectedProfDetail,(function(n,o){return t("div",{staticClass:"skill-section"},[t("div",{staticClass:"skill-subtitle"},[e._v(e._s(o)+":")]),t("ul",e._l(n,(function(n){return t("li",[e._v(e._s(n))])})),0)])}))],2),t("div",{ref:"gameview1"})])},s=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{attrs:{id:"title"}},[t("span",[e._v("[ // ")]),e._v("-- Keith Tabert --"),t("span",[e._v(" \\\\ ]")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"profession"},[t("div",{staticClass:"major"},[e._v("senior software engineer")])])}],a=(n("14d9"),n("9ab4")),r=n("2fe1"),c=n("1b40"),l=n("5a89"),u=function(){var e=0,t=document.createElement("div");function n(e){return t.appendChild(e.dom),e}function o(n){for(var o=0;o=s+1e3&&(r.update(1e3*a/(e-s),100),s=e,a=0,l)){var t=performance.memory;l.update(t.usedJSHeapSize/1048576,t.jsHeapSizeLimit/1048576)}return e},update:function(){i=this.end()},domElement:t,setMode:o}};u.Panel=function(e,t,n){var o=1/0,i=0,s=Math.round,a=1,r=320*a,c=100*a,l=3*a,u=2*a,d=3*a,h=25*a,f=314*a,p=70*a,m=document.createElement("canvas");m.width=r,m.height=c,m.style.cssText=`width:${r}px;height: ${c}px`;var v=m.getContext("2d");return v.font="bold "+24*a+"px titleFaceFont,Arial,sans-serif",v.textBaseline="top",v.fillStyle=n,v.fillRect(0,0,r,c),v.fillStyle=t,v.fillText(e,l,u),v.fillRect(d,h,f,p),v.fillStyle=n,v.globalAlpha=.9,v.fillRect(d,h,f,p),{dom:m,update:function(c,w){o=Math.min(o,c),i=Math.max(i,c),v.fillStyle=n,v.globalAlpha=1,v.fillRect(0,0,r,h),v.fillStyle=t,v.fillText(s(c)+" "+e+" ("+s(o)+"-"+s(i)+")",l,u),v.drawImage(m,d+a,h,f-a,p,d,h,f-a,p),v.fillRect(d+f-a,h,a,p),v.fillStyle=n,v.globalAlpha=.9,v.fillRect(d+f-a,h,a,s((1-c/w)*p))}}};var d=n("faa1"),h=n.n(d);function f(e){let t=e.changedTouches[0],n=document.createEvent("MouseEvent");n.initMouseEvent({touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup"}[e.type],!0,!0,window,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null),e.preventDefault(),t.target.dispatchEvent(n)}function p(e){e.addEventListener("touchstart",f),e.addEventListener("touchmove",f),e.addEventListener("touchend",f,!0),e.addEventListener("touchcancel",f,!0)}function m(e){console.log("CreateInputController"),this.hasMouseCtx=!1,this.element=null,this.attach=function(e){this.cameraController=e},this.init=function(e){let t=this;this.hasMouseCtx=!1,this.element=e,p(e),e.onclick=function(e){return e.preventDefault(),t.cameraController.click(e),!1},window.addEventListener("keyup",(function(e){t.cameraController.keyUp&&t.cameraController.keyUp(e)})),window.addEventListener("keydown",(function(e){t.cameraController.keyDown&&t.cameraController.keyDown(e)})),e.onmousedown=function(e){return e.preventDefault(),t.cameraController.mouseDown(e),!1},e.onmouseup=function(e){return e.preventDefault(),t.cameraController.mouseUp(e),!1},e.onmouseout=function(n){e.onmouseup(n),t.hasMouseCtx=!1},e.onmousemove=function(e){e.preventDefault(),t.hasMouseCtx=!0,t.cameraController.mouseMove(e)};let n=function(e){if(!t.hasMouseCtx)return;e.preventDefault();let n=0;e||(e=window.event),e.wheelDelta?n=e.wheelDelta/60:e.detail&&(n=-e.detail/2),t.cameraController.mouseScroll(n)};e.addEventListener&&e.addEventListener("DOMMouseScroll",n),e.onmousewheel=n,e.oncontextmenu=function(){return!1}},e&&this.init(e)}function v(){this.attach=function(e){e.attach(this)},this.click=function(e){},this.mouseDown=function(e){},this.mouseUp=function(e){},this.mouseMove=function(e){},this.mouseScroll=function(e){}}function w(e){const t=new u;return document.getElementById("graphics-stats-section").appendChild(t.dom),t.showPanel(e),t.dom.className="graphics-stats graphics-stats-"+e,t}function g(e="default",t=document.body){function n(){const e=window.innerWidth,t=window.innerHeight;return{width:e,height:t}}const{width:o,height:i}=n();console.log("CreateContext",e);const s=new l["Ab"]({});s.setSize(o,i);const a=[w(0),w(1),w(2)],r=new m(s.domElement);r.attach(new v);const c=new h.a;function u(){const{width:e,height:t}=n();s.setSize(e,t),c.emit("resize")}return window.addEventListener("resize",u,!1),s.domElement.id=e+"-view",{renderer:s,stats:a,inputController:r,emitter:c,getCanvasSize:n}}function b(e="default",t=null){const n="VIEW_CONTEXT_"+e;return window[n]?(t&&t.appendChild(window[n].renderer.domElement),window[n]):(window[n]=g(e,t),t.appendChild(window[n].renderer.domElement),window[n])}function x({renderer:e,stats:t}){console.log("CreateViewManager");const n={update:null},o=function(){t.forEach(e=>e.begin()),n.update&&n.update(),t.forEach(e=>e.end()),requestAnimationFrame(o)};return o(),n}function y(e){return window.VIEW_MANAGER||(window.VIEW_MANAGER=x(e)),window.VIEW_MANAGER}const _=new v;function k(e,t){if(window.SCENES||(window.SCENES={}),window.SCENE_FACTORIES||(window.SCENE_FACTORIES={}),!window.SCENES[e]){const n=b();window.SCENES[e]=t(n),window.SCENE_FACTORIES[e]=t}}function M(e){return window.SCENES[e]}function C(e){const t=M(e),n=b();return n.inputController.attach(t&&t.inputHandler||_),y(n).update=t&&t.update,t}var S=n("3f95"),X=n("0c12");function Y(e,t,n){return new l["wb"](e/255,t/255,n/255)}function E(e,t){return new l["wb"](e.x*t,e.y*t,e.z*t)}const I=[{url:"/content/creatures/indexor_random_creature_nft_black_background_ice_jeweled_1781256d-30e0-4282-acc3-6570f60f4ec6-removebg.png"},{url:"/content/creatures/indexor_random_creature_nft_black_background_ice_metal_2680b989-8f20-48cc-951e-99ec78dc7002-transformed.png"},{url:"/content/creatures/indexor_random_creature_nft_black_background_dff1a2a5-2125-49c1-afaa-4ea5c40364d4-removebg-preview.png"},{url:"/content/creatures/indexor_random_creature_nft_black_background_32c73e2f-0c31-4b66-b0b5-81f6b6100a92-removebg-preview.png"},{url:"/content/creatures/indexor_random_creature_bright_metal_dumb_nimble_nft_black_back_12a1cd31-4048-48c6-9f09-ff38009364ad-removebg-preview.png"},{url:"/content/creatures/indexor_random_creature_bright_metal_dumb_nimble_nft_black_back_2f7ef302-0bdc-4937-bc39-8687dc9d2e48-removebg-preview.png"},{url:"/content/creatures/indexor_random_creature_nft_black_background_f6e36f7e-502b-480f-9cc0-9366be6eaa75-removebg-preview.png"},{url:"/content/creatures/indexor_random_creature_nft_black_background_ice_colorful_jewel_5fa6a9bc-f374-4469-900c-752b99270a4c-removebg-preview.png"},{url:"/content/creatures/indexor_random_creature_nft_black_background_ice_colorful_jewel_30b98427-9eec-4ec2-8630-021ecfb423d6-removebg-preview.png"},{url:"/content/creatures/indexor_random_creature_nft_black_background_ice_jeweled_12d56153-384f-4395-b724-dc87cbb9cd19-removebg-preview.png"},{url:"/content/creatures/"},{url:"/content/creatures/"}],T=[[{url:"/content/plants/large/indexor_ui_design_sci-fi_colour_palette_alien_plants_black_back_245a18de-7d84-47a4-b01a-8e807db09833-removebg-preview.png"},{url:"/content/plants/large/indexor_ui_design_sci-fi_colour_palette_alien_plants_black_back_a603c264-dc73-4350-a954-95f851c7647e-removebg-preview.png"},{url:"/content/plants/large/indexor_ui_design_sci-fi_colour_palette_alien_plants_black_back_ab9e211f-5aa3-4b8a-8255-b15ea25f800d-removebg-preview.png"}],[{url:"/content/plants/large/indexor_ui_design_sci-fi_colour_palette_alien_plants_black_back_01aceb05-e070-4784-aace-5914d86b1a8e-removebg-preview.png"},{url:"/content/plants/large/indexor_ui_design_sci-fi_colour_palette_alien_plants_black_back_60310701-1816-47f2-933f-73667c43dfbf-removebg-preview.png"},{url:"/content/plants/large/indexor_ui_design_sci-fi_colour_palette_alien_plants_black_back_a12b220f-993d-44b3-bc9e-e13c8e9a10c7-removebg-preview.png"},{url:"/content/plants/large/indexor_ui_design_sci-fi_colour_palette_alien_plants_black_back_f853e91e-f0bf-49af-873e-d0fc37f125b3-removebg-preview.png"}],[]],O=new l["qb"],P=new l["pb"];function D({url:e}){return O.loadAsync(e)}const A={FullQuad:"\n varying vec2 vUv;\n \n void main() {\n vUv = uv;\n gl_Position = vec4( position, 1.0 ); \n }\n ",FullQuadx2:"\n varying vec2 vUv;\n \n void main() {\n vUv = uv;\n gl_Position = vec4( position * 2.0, 1.0 ); \n }\n",Quad:"\n varying vec2 vUv;\n uniform float time;\n \n void main() {\n vUv = uv;\n //gl_Position = vec4( position, 1.0 ); \n vec3 pos = position;\n pos.y += sin(time + (uv.x * 3.0)) * uv.y * 0.01 * (1.0 + sin(uv.x * 5.2 + 4.3 + time));\n pos.x += sin(2.2 + time * 1.2 + (uv.y)) * uv.y * 0.01 * (1.3 + sin(uv.x * 2.2 + 3.8 + time));\n vec4 modelViewPosition = modelViewMatrix * vec4(pos, 1.0);\n\n gl_Position = projectionMatrix * modelViewPosition; \n }\n"},j=new l["wb"](1,1,1);function z(e,{vertexShader:t,colors:n},o=1,i=0,s=0,a=0){const r=1,c=n?n[0][0]:j,u=n?n[0][1]:j,d=n?n[1][0]:j,h=n?n[1][1]:j,f=new l["lb"]({transparent:!0,uniforms:{time:{value:0},uTexture:P,color00:{value:c},color01:{value:u},color10:{value:d},color11:{value:h}},vertexShader:t,fragmentShader:"\n varying vec2 vUv;\n uniform sampler2D uTexture;\n uniform vec3 color00;\n uniform vec3 color01;\n uniform vec3 color11;\n uniform vec3 color10;\n \n void main() {\n vec4 color = texture2D(uTexture, vUv);\n vec3 color0 = mix(color00, color01, vUv.x);\n vec3 color1 = mix(color10, color11, vUv.x);\n color.rgb *= mix(color1, color0, vUv.y);\n gl_FragColor = color;\n }\n "});e.then(e=>{f.uniforms.uTexture=new l["rb"](e)});const p=new l["L"](new l["bb"](o,o*r,1,1),f);return i&&(p.position.x=i),s&&(p.position.y=s),a&&(p.position.z=a),p}const R=1.1;function U(){const e=Y(23,31,38),t=E(e,1.8*R);t.x+=.04;const n=E(e,.7*R);n.x-=.03,n.y-=.02;const o=new l["lb"]({uniforms:{color00:{value:E(t,1.3)},color01:{value:E(t,1.1)},color10:{value:E(n,.9)},color11:{value:E(n,.7)}},vertexShader:A.FullQuad,fragmentShader:"\n varying vec2 vUv;\n uniform vec3 color00;\n uniform vec3 color01;\n uniform vec3 color11;\n uniform vec3 color10;\n \n void main() {\n vec3 color0 = mix(color00, color01, vUv.x);\n vec3 color1 = mix(color10, color11, vUv.x);\n gl_FragColor = vec4( mix(color1, color0, vUv.y), 1.0 );\n }\n "}),i=new l["L"](new l["bb"](2,2,1,1),o);return i}function N(e){const t=new l["Y"](-1,1,1,-1,0,1);function n(){let{width:n,height:o}=e.getCanvasSize();const i=n/o,s=i>1?1.25:1.55;n=s*i,o=s,t.left=-n/2,t.right=n/2,t.top=o/2,t.bottom=-o/2,t.updateProjectionMatrix()}return e.emitter.on("resize",n),n(),t}function L(e,t,n){return new l["wb"](e,n,t)}const V=E(L(.3,.4,.45),R),W=E(j,1.1*R),F=[[W,W],[V,V]],G=-.125;async function q(e){console.log("CreateRenderedBlurredScene1");const t=new l["kb"],n=[D(T[0][0]),D(T[0][1])];await Promise.all(n);const o=z(n[0],{vertexShader:A.Quad,colors:F},.8,-.15,.05+G),i=z(n[1],{vertexShader:A.Quad,colors:F},.8,.15,.05+G);t.add(U()),t.add(o),t.add(i),o.to=o.position.x,o.ts=.8,i.to=i.position.x,i.ts=.7,e.plants.push(o,i),await new Promise(e=>setTimeout(e,1));const s=N(e),a=new X["c"](e.renderer);return a.addPass(new X["g"](t,s)),a.addPass(new X["e"]({})),a.addPass(new X["h"]),a.render(),e.composers.push(a),a.outputBuffer.texture}async function H(e){console.log("CreateRenderedBlurredScene2");const t=new l["kb"],n=q(e),o=[D(T[1][0]),D(T[1][1]),n];await Promise.all(o),t.add(z(n,{vertexShader:A.FullQuadx2},1));const i=z(o[0],{vertexShader:A.Quad,colors:F},.75,-.4,-.05+G),s=z(o[1],{vertexShader:A.Quad,colors:F},.75,.4,-.05+G,0);i.to=i.position.x,i.ts=1.2,s.to=s.position.x,s.ts=1.1,t.add(i),t.add(s),e.plants.push(i,s),await new Promise(e=>setTimeout(e,1));const a=N(e),r=new X["c"](e.renderer);return r.addPass(new X["g"](t,a)),r.addPass(new X["e"]({kernelSize:X["f"].VERY_SMALL})),r.addPass(new X["h"]),r.render(),e.composers.push(r),r.outputBuffer.texture}function B(e){e.composers=[],e.plants=[],console.log("CreateCreatureScene");const t=new l["kb"],n=H(e);t.add(z(n,{vertexShader:A.FullQuadx2},1));const o=z(D(I[0]),{vertexShader:A.Quad},.75,0,0,0);return e.creature=o,t.add(o),t.setCreature=()=>{},t}function J(e){console.log("CreateCreatureSceneController");const{renderer:t,stats:n,inputController:o}=e,i=B(e),s=N(e),a=new X["c"](t);e.bloomEffect=new X["a"]({luminanceThreshold:.9,intensity:1.8,luminanceSmoothing:.05}),a.addPass(new X["g"](i,s)),a.addPass(new X["d"](s,e.bloomEffect)),a.addPass(new X["d"](s,new X["b"])),a.addPass(new X["d"](s,new X["i"]));let r=0;const c={scene:i,camera:s,unload:function(){i.setCreature(null)},worldLoading:!1,load:function(){},update:function(){r+=.016666,e.plants.forEach(e=>{e.oo||(e.oo=new l["wb"](e.position.x,e.position.y,e.position.z)),e.material.uniforms.time.value=r*e.ts+e.to}),e.creature.position.x=.005*Math.sin(.8*r),e.creature.position.y=.01*Math.sin(1.1*r)+G;let t=.5+.5*Math.sin(.4*r+Math.cos(1.1*r));e.bloomEffect.luminanceMaterial.threshold=.8-t*t*t*.3,e.composers.forEach(e=>e.render()),a.render()}};return c}function Q(){this.viewD=10,this.viewX=0,this.viewY=0,this._viewX=0,this.mouseDX=0,this.mouseDY=0,this.mouseX=0,this.mouseY=0,this.offsetX=0,this.offsetY=0,this.hasMouseCtx=!1,this.ignoreClick=!1,this.isMouseDown=!1,this.maxZoom=.1,this.minZoom=1e-4,this.dx=0,this.dy=0,this.scale=1,this.scrollSpeed=20,this.mouseSpeed=.01,this.inputHandler={},this.update=()=>{},this.button={},this.hover=new l["wb"],this.selection=new l["wb"];this.offsetX,this.offsetY;let e=new l["wb"];this.center=e,this.translateButton=0,this.rotateButton=2,this.dxdx=1,this.dydx=1,this.dxdy=0,this.dydy=0,this._scale=this.scale,this.keyStates={},this.applyUpdate=function(t,n){let o=0,i=0,s=-.75/Math.sqrt(this._scale);this.keyStates["a"]&&(o=-1),this.keyStates["d"]&&(o=1),this.keyStates["w"]&&(i=-1),this.keyStates["s"]&&(i=1),this.offsetX+=(o*this.dxdx+i*this.dxdy)*s,this.offsetY+=(i*this.dydx+o*this.dydy)*s,this._scale+=.5*(this.scale-this._scale),this._viewX+=.2*(this.viewX-this._viewX),this._viewY+=.2*(this.viewY-this._viewY);let a=t.camera,r=Math.cos(this._viewX)*Math.cos(this.viewY),c=Math.sin(this._viewX)*Math.cos(this.viewY),l=Math.sin(this.viewY),u=5*this.viewD;e.x=this.offsetX,e.z=this.offsetY,a.position.x=r*u+e.x,a.position.y=l*u+e.y,a.position.z=c*u+e.z,a.target=e,a.lookAt(e),a.zoom=1/this._scale,a.updateProjectionMatrix();window.innerWidth;let d=30*this._scale,h=2*u/window.innerWidth*d;this.dxdy=-Math.cos(this._viewX)*h,this.dydy=Math.cos(this._viewX)*h,this.dxdx=-Math.sin(this._viewX)*h,this.dydx=-Math.sin(this._viewX)*h},this.attach=function(e){e.attach(this)},this.click=function(e){this.ignoreClick?this.ignoreClick=!1:this.inputHandler.click&&this.inputHandler.click(e)},this.mouseDown=function(e){return e.preventDefault(),this.mouseX=e.pageX,this.mouseY=e.pageY,this.selection.copy(this.hover),this.hasSelection=!0,this.button[e.button]=!0,0===e.button&&(this.isMouseDown=!0),2===e.button&&(this.isMouseDown2=!0),this.update(),!1},this.keyUp=function(){this.keyStates[event.key]=!1},this.keyDown=function(e){switch(this.keyStates[e.key]=!0,e.key){case"q":this.viewX+=Math.PI/4;break;case"e":this.viewX-=Math.PI/4;break}},this.mouseUp=function(e){this.hasSelection&&this.emit("apply:selection",this.selected,this.hover),0===e.button&&(this.isMouseDown=!1),this.button[e.button]=!1,this.hasSelection=!1},this.mouseMove=function(e){if(this.mouseDX=e.pageX-this.mouseX,this.mouseDY=e.pageY-this.mouseY,this.mouseX=e.pageX,this.mouseY=e.pageY,!this.hasSelection){if(this.button[this.translateButton]&&(this.offsetX+=this.mouseDX*this.dxdx+this.mouseDY*this.dxdy,this.offsetY+=this.mouseDY*this.dydx+this.mouseDX*this.dydy),this.button[this.rotateButton]){this.ignoreClick=!0;const e=this.mouseSpeed;this.viewX+=this.mouseDX*e,this.viewY+=this.mouseDY*e,void 0!==this.maxViewY&&this.viewY>this.maxViewY&&(this.viewY=this.maxViewY),void 0!==this.minViewY&&this.viewYthis.maxViewX&&(this.viewX=this.maxViewX),void 0!==this.minViewX&&this.viewX{e+=1,t+=1;const n=l;for(let o=i-1;o>0;o--){const s=n+(o+(e+t*r)*i)*a;if(this.cells[s])return o}return i},this.setCell=(e,t,n,o,s)=>{e+=1,t+=1;const c=o+(n+(e+t*r)*i)*a;this.cells[c]=s}}const ee={MATERIAL:0,TEMPERATURE:1,VEGETATION:2,HYDRATION:3,RES_TYPE_0:4,RES_AMOUNT_0:5,RES_TYPE_1:6,RES_AMOUNT_1:7,RES_TYPE_2:8,RES_AMOUNT_2:9,RES_TYPE_3:10,RES_AMOUNT_3:11,CHANNEL_COUNT:12};ee.CHANNEL_COUNT;function te(e){const{geoIndex:t,worldTileCount:n,chunkTileCount:o,verticleTileCount:i,worldSize:s,dataChannels:a}=e;Object.assign(this,e),this.node=new l["V"];const r=n/o,c=s/n;this.tileWorldSize=c,this.getCellHeight=(e,t)=>{const n=Math.floor(e/o),s=Math.floor(t/o),a=n+s*r;return e-=n*o,t-=s*o,this.chunks[a]?this.chunks[a].getCellHeight(e,t):i},this.setCell=(e,t,n,i,s)=>{const a=Math.floor(e/o),c=Math.floor(t/o),l=a+c*r;return e-=a*o,t-=c*o,this.chunks[l].setCell(e,t,n,i,s),l},this.chunks={};const u=(2*o-.5)*c,d=(2*o-.5)*c;for(let l=0;l{const t=n.find(t=>t.name==e.name);let o=i.find(t=>t.name==e.name);!o&&t.name2&&(o=i.find(e=>e.name==t.name2)),e.keys=o?o.keys:{}})}function ye(e,t,n){e.forEach(e=>{e[0]+=t,e[1]+=n})}const _e={left:0,top:0},ke={left:0,top:0};function Me(e){return e}function Ce(e,t,n,o){if(!n)return e[0]=t[0],e[1]=t[1],_e;o=Me(o),e[0]=t[0]*(1-o)+n[0]*o,e[1]=t[1]*(1-o)+n[1]*o}function Se(e,t,n){n=Me(n),ke.left=e.left*(1-n)+t.left*n,ke.top=e.top*(1-n)+t.top*n;let o=e.angle,i=t.angle;if(Math.abs(e.angle-t.angle)>180){let t=e.angle<0?-1:1;o*t>i*t?i+=360*t:i-=360*t}return ke.angle=o*(1-n)+i*n,ke.skewX=e.skewX*(1-n)+t.skewX*n,ke.skewY=e.skewY*(1-n)+t.skewY*n,ke.scaleX=e.scaleX*(1-n)+t.scaleX*n,ke.scaleY=e.scaleY*(1-n)+t.scaleY*n,ke}var Xe=n("91fc");function Ye(){const e={roughness:2,strokeWidth:6,centerLine:80,partMargin:5,head:{height:140,width:150},body:{height:140,width:140,shape:.7},faceMargin:{x:20,y:20},eye:{x:30,y:-17,size:15},mouth:{y:35,size:20},arm:{width:8,length:120,out:60},leg:{width:8,length:140,out:0}};return e}function Ee(e){const{head:t,body:n}=e;return[{name:"head",type:"rect",left:0,top:t.height/2+n.height/2,imageFuncs:[De],delay:3,depth:.5,depthVector:{x:0,y:3}},{name:"face",type:"rect",left:0,top:t.height/2+n.height/2,imageFuncs:[Oe,Te],delay:3,depth:1,depthVector:{x:0,y:2}},{name:"body",type:"rect",left:0,top:0,imageFuncs:[Ie],delay:1,depth:0,depthVector:{x:0,y:0}},{name:"arm_r",type:"rubber",p0:[311,174],p1:[382,291],ex0:[376,182],ex1:[392,225],sp0:[344,174],sp1:[416,291],delay:2,depth:-1,depthVector:{x:-3,y:0}},{name:"arm_l",type:"rubber",p0:[201,172],p1:[121,282],ex0:[140,175],ex1:[119,233],sp0:[232,172],sp1:[153,282],delay:2,depth:-1,depthVector:{x:3,y:0}},{name:"leg_r",type:"rubber",sp0:[150,50],p0:[100,50],ex0:[150,70],p1:[150,300],sp1:[200,300],ex1:[100,330],delay:0,depth:-1,depthVector:{x:-3,y:0}},{name:"leg_l",type:"rubber",p0:[100,50],sp0:[150,50],ex0:[150,70],p1:[150,300],sp1:[200,300],ex1:[100,330],delay:0,depth:-1,depthVector:{x:3,y:0}}]}function Ie(e){const{body:t,centerLine:n,partMargin:o,roughness:i,strokeWidth:s}=e,a=ge();a.width=2*n,a.height=2*o+t.height;const r=Xe["a"].canvas(a),{height:c,width:l,shape:u}=t,d=[];return d.push([-l*u*.5,.5*c],[.5*-l,.5*-c],[.5*l,.5*-c],[l*u*.5,.5*c]),d.push(d[0].slice()),ye(d,n,o+t.height/2),r.polygon(d,{roughness:i,fill:"rgba(255,255,255,1)",fillStyle:"solid",stroke:"black",strokeWidth:s}),a}function Te(e){const{head:t,eye:n,mouth:o,centerLine:i,faceMargin:s,partMargin:a,roughness:r,strokeWidth:c}=e,l=a+t.height/2,u=ge();u.width=2*i-2*s.x,u.height=2*a+t.height-2*s.y;const d=Xe["a"].canvas(u);let h=[[-n.size,n.y],[+n.size,n.y]];ye(h,i+n.x-s.x,l-s.y),d.curve(h,{roughness:.75,stroke:"black",strokeWidth:c});let f=35,p=[[+o.size+f,o.y],[f,o.y+2],[+o.size+f,o.y]];return ye(p,i-s.x,l-s.y),d.curve(p,{roughness:.75,stroke:"black",strokeWidth:c}),u}function Oe(e){const{head:t,eye:n,mouth:o,centerLine:i,faceMargin:s,partMargin:a,roughness:r,strokeWidth:c}=e,l=a+t.height/2,u=ge();u.width=2*i-2*s.x,u.height=2*a+t.height-2*s.y;const d=Xe["a"].canvas(u);let h=[[-n.size,n.y],[+n.size,n.y]];ye(h,i+n.x-s.x,l-s.y),d.curve(h,{roughness:.75,stroke:"black",strokeWidth:c});let f=[[-n.size,n.y],[+n.size,n.y]];ye(f,i-n.x-s.x,l-s.y),d.curve(f,{roughness:.75,stroke:"black",strokeWidth:c});let p=[[-o.size,o.y],[0,o.y+2],[+o.size,o.y]];return ye(p,i-s.x,l-s.y),d.curve(p,{roughness:.75,stroke:"black",strokeWidth:c}),u}function Pe(e){const{leg:t,partMargin:n,roughness:o,strokeWidth:i}=e,s=ge();s.width=2*n+2*t.width+t.out,s.height=2*n+t.length;const a=Xe["a"].canvas(s);let r=[[0,t.width/2,[-1,0]],[t.out+t.width/2,t.length,[-1,0]]],c=we(r,t.width);return ye(c,n+t.width/2,n),a.polygon(c,{roughness:o,fill:"rgba(255,255,255,1)",fillStyle:"solid",stroke:"black",strokeWidth:i}),s}function De(e){const{head:t,centerLine:n,partMargin:o,roughness:i,strokeWidth:s}=e,a=o+t.height/2,r=ge();r.width=2*n,r.height=2*o+t.height;const c=Xe["a"].canvas(r);return c.ellipse(n,a,t.width,t.height,{fill:"rgba(255,255,255,1)",fillStyle:"solid",strokeWidth:s,roughness:.5*i}),r}var Ae=n("d124");function je(e){return e/160}function ze(e){return new l["vb"](je(e.image.width),je(e.image.height))}const Re={left:0,right:1,top:0,bottom:1},Ue={left:1,right:0,top:0,bottom:1};function Ne(e=1){const t=Object(Ae["b"])();function n(e,t,n,o,i){return{p:new l["wb"](e,t,n),t:new l["vb"](o,i)}}function o(t,o){const i=(t-.5)*e;return n(i,o,0,t,o)}const i=20;for(let a=0;a<=i;a++){const e=a/i;t.vertices.push(o(0,e)),t.vertices.push(o(1,e))}for(let a=0;a[e.p.x,e.p.y,e.p.z])),3)),s.setAttribute("uv",new l["e"](new Float32Array(t.vertices.flatMap(e=>[e.t.x,e.t.y])),2)),s.setIndex(new l["e"](new Uint16Array(t.indices),1)),s}function Le(e,t=Re){const n=new l["wb"](1,0,0),o=new l["wb"](0,1,0),i=e.x/2,s=e.y/2,a=Object(Ae["b"])();function r(e,t,n,o,i){return{p:new l["wb"](e,t,n),t:new l["vb"](o,i)}}a.vertices.push(r(-i*n.x-s*o.x,-i*n.y-s*o.y,-i*n.z-s*o.z,t.left,t.top)),a.vertices.push(r(+i*n.x-s*o.x,+i*n.y-s*o.y,+i*n.z-s*o.z,t.right,t.top)),a.vertices.push(r(+i*n.x+s*o.x,+i*n.y+s*o.y,+i*n.z+s*o.z,t.right,t.bottom)),a.vertices.push(r(-i*n.x+s*o.x,-i*n.y+s*o.y,-i*n.z+s*o.z,t.left,t.bottom)),a.indices.push(0,1,2),a.indices.push(2,3,0);const c=new l["f"];return c.setAttribute("position",new l["e"](new Float32Array(a.vertices.flatMap(e=>[e.p.x,e.p.y,e.p.z])),3)),c.setAttribute("uv",new l["e"](new Float32Array(a.vertices.flatMap(e=>[e.t.x,e.t.y])),2)),c.setIndex(new l["e"](new Uint16Array(a.indices),1)),c}function Ve(e,t,n){const o=e+0*(t.delay||0);let i=Object.keys(t.keys);if(1==i.length)n(o,t.keys[i[0]]);else if(i.length>1){i=i.map(e=>parseInt(e)).sort((e,t)=>e-t);let e=0;for(let t=0;to){e=t;break}let s=i[(e+i.length-1)%i.length],a=i[e],r=(o-s)/(a-s);a 0.0 ? vUv.y*vUv.y : sqrt(vUv.y);\n\n float t0_1 = position.y;\n float t0_2 = t0_1 * t0_1;\n float t0_3 = t0_1 * t0_1 * t0_1;\n\n float e0 = 2.0 * t0_3 - 3.0 * t0_2 + 1.0;\n float e1 = t0_3 - 2.0 * t0_2 + t0_1;\n float e2 = t0_3 - t0_2;\n float e3 = -2.0 * t0_3 + 3.0 * t0_2;\n\n vec3 C = e0 * uP0 + e1 * uEX0 + e2 * uEX1 + e3 * uP1;\n\n float de0 = 6.0 * t0_2 - 6.0 * t0_1;\n float de1 = 3.0 * t0_2 - 4.0 * t0_1 + 1.0;\n float de2 = 3.0 * t0_2 - 2.0 * t0_1;\n float de3 = -6.0 * t0_2 + 6.0 * t0_1;\n\n vec3 D = de0 * uP0 + de1 * uEX0 + de2 * uEX1 + de3 * uP1;\n\n float factor = position.x / length(D.xy) * (uWidth.y*t0_1+uWidth.x*(1.0-t0_1));\n float tx = -D.y * factor;\n float ty = D.x * factor;\n\n vec3 pos = C + vec3(tx, ty, 0.0);\n\n gl_Position = projectionMatrix * modelViewMatrix * vec4(pos, 1.);\n}",fragmentShader:"\nvarying vec2 vUv;\nuniform vec3 uColor;\nuniform sampler2D uImage;\n\nvoid main() {\n vec4 color = texture2D(uImage, vUv);\n // vec3 color = vec3(vUv.x, vUv.y, 0.0);\n // color.r += 1.0-color.a;\n // color.r = vUv.y;\n // color.a = 1.0;\n gl_FragColor = color;\n}"},Fe={0:{horizontal:1,orientation:0,order:1,name:"_side"},1:{horizontal:1,orientation:Math.PI/2,order:-1,name:""},2:{horizontal:-1,orientation:Math.PI,order:1,name:"_side"},3:{horizontal:1,orientation:3*Math.PI/2,order:1,name:""}};function Ge(e,t,n){const{character:o,character3d:i,centerX:s,centerY:a,minY:r}=n;e.images=e.imageFuncs.flatMap(e=>[e(o),e(o)]);const{name:c,images:u,left:d,top:h,flipX:f,delay:p,depth:m,depthVector:v}=e,w=u.map(e=>new l["h"](e)),g=new l["M"]({color:16777215,side:l["s"],alphaTest:.1,blending:l["l"],blendSrc:l["W"],blendDst:l["X"],map:w[0]});g.textures=w;const b=f?Ue:Re,x=ze(w[0]),y=Le(x,b),_=new l["L"](y,g);_.offsetY=-r,_.position.y=je(h)+_.offsetY,_.position.x=je(d),i.add(_),n.objs3d[c]=_,e.update=e=>{},e.animate=(e,t,o,i)=>{const{orientation:r,horizontal:l}=n,d=m+Math.cos(r)*v.x+Math.sin(r)*v.y;_.position.z=d/200;let h=o?Se(t,o,i):t,f=t.imageIndex||0,p=parseInt(e/2)%2+2*f;const w=n.objs3d[c],g=u[0].width/u[p].width,b=u[0].height/u[p].height;w.position.y=je(-h.top+a)+w.offsetY,w.position.x=l*je(h.left-s),w.rotation.z=-l*h.angle*Math.PI/180,w.scale.x=l*h.scaleX/g,w.scale.y=h.scaleY/b,w.material.map=w.material.textures[p]}}let qe;const He=Ne();function Be(e,t,n){const{character:o,character3d:i,centerX:s,centerY:a,minY:r}=n;qe||(qe=[Pe(o),Pe(o)].map(e=>new l["h"](e)));const{arm:c,partMargin:u}=o,{name:d,p0:h,p1:f,ex0:p,ex1:m,sp0:v,sp1:w,depth:g,depthVector:b}=e,x=new l["lb"]({...We,side:l["s"],transparent:!0,alphaTest:.2,blending:l["l"],blendSrc:l["W"],blendDst:l["X"],uniforms:{uWidth:{value:new l["wb"](1,1,1)},uP0:{value:new l["wb"](0,0,0)},uEX0:{value:new l["wb"](0,0,0)},uEX1:{value:new l["wb"](0,0,0)},uP1:{value:new l["wb"](0,0,.03)},uColor:{value:new l["wb"](1,0,0)},uImage:{value:qe[0]}}}),y=2,_=new l["L"](He,x);i.add(_),e.material=x,e.mesh=_,e.updateUniforms=e=>{const{orientation:t,horizontal:o}=n,i=g+Math.cos(t)*b.x+Math.sin(t)*b.y;_.position.z=i/200;const l=x.uniforms;l.uP0.value.x=o*je(h[0]-s),l.uP0.value.y=-je(h[1]-a)-r,l.uEX0.value.x=o*je(p[0]-h[0])*y,l.uEX0.value.y=-je(p[1]-h[1])*y,l.uP1.value.x=o*je(f[0]-s),l.uP1.value.y=-je(f[1]-a)-r,l.uP1.value.z=.03*-Math.sin(t),l.uEX1.value.x=-o*je(m[0]-f[0])*y,l.uEX1.value.y=je(m[1]-f[1])*y;const d=Math.abs(h[0]-v[0])/30,k=Math.abs(f[0]-w[0])/30;l.uWidth.value.x=je(2*c.width+2*u)*d,l.uWidth.value.y=je(2*c.width+2*u)*k,l.uImage.value=qe[e||0]},e.animate=(t,n,o,i)=>{o=o||[],Ce(h,n[0],o[0],i),Ce(f,n[1],o[1],i),Ce(p,n[2],o[2],i),Ce(m,n[3],o[3],i),Ce(v,n[4],o[4],i),Ce(w,n[5],o[5],i);let s=parseInt(t/2)%2;e.updateUniforms(s)}}const Je={rect:Ge,rubber:Be},Qe=new l["qb"],Ze=Qe.load("../img/shadow.png"),Ke=new l["bb"](1,1),$e=Ke.attributes.position.array,et=.1;for(let Lt=0;Lt<$e.length;Lt+=3)$e[Lt+0]=$e[Lt+0]*et*2/ue,$e[Lt+2]=-$e[Lt+1]*et*2/ue,$e[Lt+1]=.01;const tt=new l["M"]({map:Ze,color:5592405,depthWrite:!1,transparent:!0,blending:l["ob"]});function nt(){const e=new l["L"](Ke,tt);return e.castShadow=!1,e.receiveShadow=!1,e.position.y=-.5,e.scale.x=e.scale.z=1.5,e}function ot(e){const t=Ye(),n=new l["V"];e.add(n);const o=1/Math.cos(Math.PI/4);n.scale.y=Math.min(o,Math.sqrt(o+.4)),e.add(nt());const{partMargin:i}=t,s={loc:0,partsByName:{},animationName:"walk",objs:{},objs3d:{},tracksByName:{},character:t,character3d:n,centerX:250,centerY:250,minY:-je(i)-.8,orientation:0,horizontal:-1,animationOffset:Math.random(),order:1},a=s.parts=Ee(t),r=s.tracks=a.map((e,t)=>{const{name:n,delay:o}=e,i={name:n,keys:{},delay:o};return s.partsByName[n]=e,s.tracksByName[n]=i,Je[e.type](e,t,s),i}),c=(s.update=e=>{const t=16*(e+s.animationOffset)*1.5%16;s.loc=t;for(let n in r){const e=r[n],t=s.partsByName[e.name];let o=s.loc;s.order<0&&(o=16-s.loc),Ve(o,e,t.animate)}n.position.y=.25*(Math.sin(t*(2*Math.PI)/16*2)+1)},s.load=e=>{xe(e,s.tracks,a)});return s.setOrientation=e=>{e=180*(e-Math.PI/4)/Math.PI,e=(e%360+360)%360;const t=Math.round(e/90-.5);if(s.orientationState===t)return;let n=Fe[t];s.orientation=n.orientation,s.horizontal=n.horizontal,s.orientationState=t,s.order=n.order,s.animationName=s.animationName.split("_")[0]+n.name,c(s.animationName)},s.setOrientation(1),s}function it(e,t){this.pawns=[],this.idlePawns=new pe;const n=e.scene.settlement,o=new Float32Array(16e4);o.fill(-100),this.setYAt=(e,t,n)=>{const i=e+400*t;o[i]=n},this.getYAt=(e,t)=>{e=he(e),t=he(t);const i=e+400*t;if(o[i]>-100)return o[i];const s=n.getCellHeight(e,t);if(s==n.verticleTileCount)return 0;const a=(s-n.verticleTileCount/2)*n.tileWorldSize;return o[i]=a+.045,o[i]},this.addPawn=()=>{const t={node:new l["V"],time:0,update:e=>{t.time=t.baseTime+e}};this.pawns.push(t),t.time=.5*(2*this.pawns.length+Math.random()),t.baseTime=t.time,e.scene.add(t.node);const n=.7;t.node.scale.set(ue*n,ue*n,ue*n),this.idlePawns.enqueue(t),t.id=this.pawns.length-1,t.animState=ot(t.node),t.speed=.75+2*Math.random()},this.update=i=>{while(t.hasSize()){let e=this.idlePawns.dequeue();if(!e)break;let n=t.dequeue();e.currentJob=n,console.log("Giving Pawn a Job:",e.id,e.currentJob.id),e.currentJob.time=e.time+3,e.currentJob.pawnCancel=()=>{e.currentJob=null,this.idlePawns.enqueue(e)}}let s={};for(let t=0;t=3&&(t=0,a=0);let r=i+ue*(2*t-1);console.log("Y Change",e.job,i,r,e.ti,e.tj),this.setYAt(e.ti,e.tj,r);const c=Math.floor(e.y/v+p/2)+t,l=n.setCell(e.ti,e.tj,c,0,a),u=e.ti+400*e.tj;o[u]=-100,console.log("Finished Job:",e.id,e.ti,e.tj,"regen:",l),s[l]=!0,e.cancel()}}a.node.position.x=d,a.node.position.z=h;const w=-u;a.node.rotation.y=-e.inputHandler.viewX+Math.PI/2,a.animState.setOrientation(w-a.node.rotation.y),a.animState.update(i*Math.sqrt(a.speed));const g=Math.max(this.getYAt(d+de,h+de),this.getYAt(d+de,h-de),this.getYAt(d-de,h-de),this.getYAt(d-de,h+de))+.5*ue;a.node.position.y+=.1*(g-a.node.position.y),a.update(i)}for(let e in s)Object(Z["b"])(e)}}const st=new K["a"];function at({geoIndex:e}){const t=new te({geoIndex:e,generator:"earthlike",worldSize:40,worldTileCount:400,chunkTileCount:80,verticleTileCount:20,dataChannels:ee.CHANNEL_COUNT});return Object(Z["a"])(t),t}function rt(e){const t=new l["kb"],n=1,o=new l["r"](new l["j"](n,n,n));o.position.set(-4,8,4),o.castShadow=!0,o.shadow.mapSize.width=1024,o.shadow.mapSize.height=1024,o.shadow.camera.near=.1,o.shadow.camera.far=30,o.bias=.01,o.shadow.camera.left=-2,o.shadow.camera.right=2,o.shadow.camera.top=2,o.shadow.camera.bottom=-2,t.add(o);const i=new l["b"](4210824);t.add(i),t.loadSettlement=e=>{if(t.loading)return;const{geoIndex:n}=e;st.setIndex(n),t.loading=!0,t.settlement=at(e),t.add(t.settlement.node)};const s=Math.PI-.5;let a=Math.PI/2;const r=new l["j"](.3,.3,.4),c=new l["j"](.2,.2,.2),u=(new l["j"](0,0,0),new h.a);let d=0;t.eventEmitter=u,t.add(o.target);let f=new Date;return t.update=()=>{const t=new Date,n=(t-f)/1e3;f=t,d+=Math.min(n,.02),u.emit("update",d);e.target&&o.target.position.set(e.target.x,0,e.target.z);const l=800/e.zoom;o.shadow.camera.left=-l,o.shadow.camera.right=l,o.shadow.camera.top=l,o.shadow.camera.bottom=-l,o.shadow.camera.updateProjectionMatrix();const h=8,p=Math.sin(a)*h,m=Math.cos(s)*Math.cos(a)*h,v=Math.sin(s)*Math.cos(a)*h,w=-Math.cos(a),g=Math.max(0,w),b=o.color;b.r=b.g=b.b=Math.sqrt(g);const x=Math.sqrt(Math.max(0,-w));b.r+=.3*x,b.g+=.3*x,b.b+=.6*x;const y=1-Math.pow(Math.max(0,w),.5);i.color.lerpColors(c,r,y),a+=.001,o.position.set(p+o.target.position.x,Math.abs(m)+o.target.position.y,v+o.target.position.z)},t}function ct(e){console.log("CreateSettlementSceneController");const{renderer:t,stats:n,inputController:o}=e;t.shadowMap.enabled=!1,t.shadowMap.type=l["Z"];const i=window.innerWidth,s=window.innerHeight,a=new l["Y"](i/-2,i/2,s/2,s/-2,.1,100),r=rt(a),c=new Q;c.element=t.domElement,c.viewY=.25*Math.PI,c.viewX=.25*Math.PI,c.scale=.005;const u={scene:r,camera:a,eventEmitter:r.eventEmitter,inputHandler:c,settlementGenerator:st,load:e=>{r.loadSettlement(e),r.eventEmitter.emit("loaded")},update:function(){const e=window.innerWidth,n=window.innerHeight;Z["d"].uniforms.uTime.value+=.016,Z["c"].uniforms.uTime.value+=.016,a.left=e/-2,a.right=e/2,a.top=n/2,a.bottom=n/-2,a.updateProjectionMatrix(),c.applyUpdate({camera:a,width:window.innerWidth}),r.update(),t.render(r,a)}};return r.eventEmitter.on("loaded",e=>{const t=new pe,{eventEmitter:n,inputHandler:o}=u,i=new it(u,t);for(let s=0;s<20;s++)i.addPawn();n.on("update",e=>{i.update(e);const t=i.pawns[parseInt(i.pawns.length/2)];o.offsetX=t.node.position.x,o.offsetY=t.node.position.z,o.center.y=t.node.position.y+ue})}),u}let lt=class extends o["a"]{constructor(){super(...arguments),this.drawer=null,this.professions=["fullstack developer","graphics engineer","machine learning","web3"],this.professionsSections=[{languages:["Javascript","Typescript","CSS/SASS","GraphQL","MySQL","PHP"],"frameworks / libraries":["Vue","React","Wordpress"],"platforms / technologies":["AWS","Docker","K8s","Kafka"],tools:["Docker","Jira","Git"]},{languages:["C/C++","Python","Javascript","Typescript"],"frameworks / libraries":["ThreeJs","BabylonJs","Ogre3d"],platforms:["WebGL","AWS","DirectX 9/10 11/12"],tools:["Unity","Blender","Fusion 360","Gimp"," Inkscape","Jira","Git"]},{languages:["Python","Javascript","Typescript"],libraries:["Pandas","TensorFlow","PyTorch"],platforms:["AWS","Kafka"],tools:["Jira","Git","Stable Diffusion"]},{languages:["Solidity","Javascript","Typescript","Python"],contracts:["ERC20","ERC777","ERC721"],tools:["Ganache","Truffle","Jira","Git"]}],this.dotdotdots=[],this.cards=[{url:"/img/cards/card0.png",tags:["webgl","threejs","shaders","ai art","glsl","typescript","animation"],view:"creature"},{url:"/img/cards/card1.png",tags:["webgl","threejs","webworkers","procedural","h3","typescript","geometry buffers"],view:"space"},{url:"/img/cards/card2.png",tags:["webgl","threejs","webworkers","procedural","shaders","animation","voxels","typescript","geometry buffers"],view:"settlement"}],this.skillsClass="",this.selectedProf=null,this.hoverProf=null,this.isSkillsVisible=!1,this.isSkillsVisibleTimeout=0,this.selectedScene=""}get selectedProfName(){var e,t;return null!==(e=null!==(t=this.hoverProf)&&void 0!==t?t:this.selectedProf)&&void 0!==e?e:""}get selectedProfDetail(){return this.professionsSections[this.professions.indexOf(this.selectedProfName)]||{}}updateSkillClass(){clearTimeout(this.isSkillsVisibleTimeout),this.skillsClass?this.isSkillsVisible=!0:this.isSkillsVisibleTimeout=setTimeout(()=>{this.isSkillsVisible=!1},500)}selectProf(e){this.skillsClass=this.selectedProf==e?"":"visible",this.updateSkillClass(),this.selectedProf!=e?this.selectedProf=e:this.selectedProf=null}showProf(e){this.hoverProf=e,this.selectedProf||(this.skillsClass=null==e?"":"visible",this.updateSkillClass())}selectScene(e){switch(this.skillsClass="",this.selectedProf=null,this.updateSkillClass(),this.selectedScene=e,e){case"creature":C("creature");break;case"space":C("space");const e=M("space");e.loadWorld();break;case"settlement":const t="settlement";k(t,ct);const n=C(t);n.load({geoIndex:"82756ffffffffff"})}}mounted(){b("default",this.gameview1);k("space",S["a"]),k("creature",J),this.selectScene("creature"),this.professions.forEach(async(e,t)=>{this.dotdotdots.push(""),await new Promise(e=>setTimeout(e,1200*Math.random())),setInterval(()=>{this.dotdotdots[t]+=".",this.dotdotdots[t].length>3&&(this.dotdotdots[t]=""),this.dotdotdots=this.dotdotdots.slice()},1200)})}};Object(a["a"])([Object(c["b"])("gameview1")],lt.prototype,"gameview1",void 0),Object(a["a"])([Object(c["b"])("gameview2")],lt.prototype,"gameview2",void 0),lt=Object(a["a"])([Object(r["b"])({components:{}})],lt);var ut=lt,dt=ut,ht=(n("ca5f"),n("2877")),ft=Object(ht["a"])(dt,i,s,!1,null,null,null),pt=ft.exports,mt=n("9483");Object(mt["a"])("/service-worker.js",{ready(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered(){console.log("Service worker has been registered.")},cached(){console.log("Content has been cached for offline use.")},updatefound(){console.log("New content is downloading.")},updated(){console.log("New content is available; please refresh.")},offline(){console.log("No internet connection found. App is running in offline mode.")},error(e){console.error("Error during service worker registration:",e)}});var vt=n("8c4f"),wt=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"home"},[t("img",{attrs:{alt:"Vue logo",src:n("cf05")}}),t("HelloWorld",{attrs:{msg:"Welcome to Your Vue.js + TypeScript App"}})],1)},gt=[],bt=n("62ad"),xt=n("a523"),yt=n("adda"),_t=n("0fd9"),kt=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(xt["a"],[t(_t["a"],{staticClass:"text-center"},[t(bt["a"],{attrs:{cols:"12"}},[t(yt["a"],{staticClass:"my-3",attrs:{src:n("9b19"),contain:"",height:"200"}})],1),t(bt["a"],{staticClass:"mb-4"},[t("h1",{staticClass:"display-2 font-weight-bold mb-3"},[e._v(" Welcome to Vuetify ")]),t("p",{staticClass:"subheading font-weight-regular"},[e._v(" For help and collaboration with other Vuetify developers, "),t("br"),e._v("please join our online "),t("a",{attrs:{href:"https://community.vuetifyjs.com",target:"_blank"}},[e._v("Discord Community")])])]),t(bt["a"],{staticClass:"mb-5",attrs:{cols:"12"}},[t("h2",{staticClass:"headline font-weight-bold mb-3"},[e._v(" What's next? ")]),t(_t["a"],{attrs:{justify:"center"}},e._l(e.whatsNext,(function(n,o){return t("a",{key:o,staticClass:"subheading mx-3",attrs:{href:n.href,target:"_blank"}},[e._v(" "+e._s(n.text)+" ")])})),0)],1),t(bt["a"],{staticClass:"mb-5",attrs:{cols:"12"}},[t("h2",{staticClass:"headline font-weight-bold mb-3"},[e._v(" Important Links ")]),t(_t["a"],{attrs:{justify:"center"}},e._l(e.importantLinks,(function(n,o){return t("a",{key:o,staticClass:"subheading mx-3",attrs:{href:n.href,target:"_blank"}},[e._v(" "+e._s(n.text)+" ")])})),0)],1),t(bt["a"],{staticClass:"mb-5",attrs:{cols:"12"}},[t("h2",{staticClass:"headline font-weight-bold mb-3"},[e._v(" Ecosystem ")]),t(_t["a"],{attrs:{justify:"center"}},e._l(e.ecosystem,(function(n,o){return t("a",{key:o,staticClass:"subheading mx-3",attrs:{href:n.href,target:"_blank"}},[e._v(" "+e._s(n.text)+" ")])})),0)],1)],1)],1)},Mt=[],Ct=o["a"].extend({name:"HelloWorld",data:()=>({ecosystem:[{text:"vuetify-loader",href:"https://github.com/vuetifyjs/vuetify-loader"},{text:"github",href:"https://github.com/vuetifyjs/vuetify"},{text:"awesome-vuetify",href:"https://github.com/vuetifyjs/awesome-vuetify"}],importantLinks:[{text:"Documentation",href:"https://vuetifyjs.com"},{text:"Chat",href:"https://community.vuetifyjs.com"},{text:"Made with Vuetify",href:"https://madewithvuejs.com/vuetify"},{text:"Twitter",href:"https://twitter.com/vuetifyjs"},{text:"Articles",href:"https://medium.com/vuetify"}],whatsNext:[{text:"Explore components",href:"https://vuetifyjs.com/components/api-explorer"},{text:"Select a layout",href:"https://vuetifyjs.com/getting-started/pre-made-layouts"},{text:"Frequently Asked Questions",href:"https://vuetifyjs.com/getting-started/frequently-asked-questions"}]})}),St=Ct,Xt=Object(ht["a"])(St,kt,Mt,!1,null,null,null),Yt=Xt.exports;let Et=class extends c["c"]{};Et=Object(a["a"])([Object(c["a"])({components:{HelloWorld:Yt}})],Et);var It=Et,Tt=It,Ot=Object(ht["a"])(Tt,wt,gt,!1,null,null,null),Pt=Ot.exports;o["a"].use(vt["a"]);const Dt=[{path:"/",name:"Home",component:Pt},{path:"/about",name:"About",component:()=>n.e("about").then(n.bind(null,"f820"))}],At=new vt["a"]({routes:Dt});var jt=At,zt=n("2f62");o["a"].use(zt["a"]);var Rt=new zt["a"].Store({state:{},mutations:{},actions:{},modules:{}}),Ut=n("f309");o["a"].use(Ut["a"]);var Nt=new Ut["a"]({theme:{dark:!0}});o["a"].config.productionTip=!1,new o["a"]({router:jt,store:Rt,vuetify:Nt,render:e=>e(pt)}).$mount("#app")},cf05:function(e,t,n){e.exports=n.p+"img/logo.82b9c7a5.png"},d124:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return r}));n("14d9");var o=n("5a89");function i(){return{vertices:[],indices:[]}}function s(e,t){let n=e.vertices.length;e.vertices.push(...t.vertices);for(let o in t.indices)e.indices.push(t.indices[o]+n)}function a(e){const t=new o["wb"],n=new o["wb"],i=new o["wb"],s=new o["wb"],a=new o["wb"];e.vertices.forEach(e=>{e.n=new o["wb"](0,0,0)});for(let o=0,r=e.indices.length;o{e.n.normalize()}),e}n("907a"),n("986a"),n("1d02"),n("3c5d");function r(e,t=!1){const n=new o["f"];return n.setAttribute("position",new o["e"](e.position,3)),e.normal&&n.setAttribute("normal",new o["e"](e.normal,3)),e.color&&n.setAttribute("color",new o["e"](e.color,3)),e.uv&&n.setAttribute("uv",new o["e"](e.uv,2)),e.uv2&&n.setAttribute("uv2",new o["e"](e.uv2,2)),n.setIndex(new o["e"](e.indices,1)),t&&n.computeVertexNormals(),n}function c(e,t=!0){t&&a(e);const n=e.vertices.flatMap(e=>[e.p.x,e.p.y,e.p.z]),o=e.vertices.flatMap(e=>[e.n.x,e.n.y,e.n.z]),i=e.vertices.flatMap(e=>e.c),s=e.indices,r=4,c=2,l=new Float32Array(new SharedArrayBuffer(r*n.length)),u=new Float32Array(new SharedArrayBuffer(r*o.length)),d=new Float32Array(new SharedArrayBuffer(r*i.length)),h=new Uint16Array(new SharedArrayBuffer(c*s.length)),f=r*n.length+r*o.length+r*i.length+c*s.length;l.set(n,0),u.set(o,0),d.set(i,0),h.set(s,0);const p={position:l,normal:u,color:d,indices:h,sizeOfBuffer:f};if(e.vertices[0]&&e.vertices[0].t){const t=e.vertices.flatMap(e=>[e.t.x,e.t.y]),n=new Float32Array(new SharedArrayBuffer(r*t.length));n.set(t,0),p.uv=n}if(e.vertices[0]&&e.vertices[0].t2){const t=e.vertices.flatMap(e=>[e.t.x,e.t.y]),n=new Float32Array(new SharedArrayBuffer(r*t.length));n.set(t,0),p.uv2=n}return p}},f537:function(e,t,n){"use strict";n("907a"),n("986a"),n("1d02"),n("3c5d"),n("14d9"),n("5a89"),n("d124");var o=n("234f");new o["a"]},fa24:function(e){e.exports=JSON.parse('[{"name":"head","keys":{"0":{"left":250.02741803376287,"top":101.08581364590968,"angle":0,"skewX":0,"skewY":0,"scaleX":0.940469442496987,"scaleY":0.940469442496987,"imageIndex":0},"2":{"left":251.42375012909974,"top":115.46726227261865,"angle":0,"skewX":0,"skewY":0,"scaleX":0.940469442496987,"scaleY":0.940469442496987,"imageIndex":0},"4":{"left":250.68794684540836,"top":129.6230871017202,"angle":0,"skewX":0,"skewY":0,"scaleX":0.9404694424969869,"scaleY":0.9404694424969869,"imageIndex":0},"6":{"left":250.32388629853335,"top":114.4880988204702,"angle":0,"skewX":0,"skewY":0,"scaleX":0.9404694424969868,"scaleY":0.9404694424969868,"imageIndex":0},"8":{"left":250.3642918161115,"top":94.53615469597045,"angle":0,"skewX":0,"skewY":0,"scaleX":0.9404694424969868,"scaleY":0.9407102867281342,"imageIndex":0},"10":{"left":250.90037995087712,"top":112.45935637940926,"angle":0,"skewX":0,"skewY":0,"scaleX":0.9404694424969869,"scaleY":0.9439057348348234,"imageIndex":0},"12":{"left":251.38151935517402,"top":131.65787443222584,"angle":0,"skewX":0,"skewY":0,"scaleX":0.940469442496987,"scaleY":0.9526626079032178,"imageIndex":0},"14":{"left":250.49726242885677,"top":110.79758069091166,"angle":0,"skewX":0,"skewY":0,"scaleX":0.940469442496987,"scaleY":0.940469442496987,"imageIndex":0}},"delay":3},{"name":"face","keys":{"0":{"left":250.9117083697987,"top":92.68007341276899,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":1,"imageIndex":0},"2":{"left":251.50247698857308,"top":106.45104358793986,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":1,"imageIndex":0},"4":{"left":249.19927136113165,"top":128.01899482085003,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":1,"imageIndex":0},"6":{"left":252.61708581425665,"top":115.149633492725,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":1,"imageIndex":0},"8":{"left":250.5953948405898,"top":84.8232760608674,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":1,"imageIndex":0},"10":{"left":252.30760559022664,"top":107.62814213810218,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":1,"imageIndex":0},"12":{"left":249.50690966087942,"top":132.68180320205704,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":1,"imageIndex":0},"14":{"left":252.44349627380376,"top":109.77599881160512,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":1,"imageIndex":0}},"delay":3},{"name":"body","keys":{"0":{"left":252.10722872991562,"top":234.5,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":1.0200000000000002,"imageIndex":0},"2":{"left":252.71523594006666,"top":248.37913622071395,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9157146253631033,"imageIndex":0},"4":{"left":250.75408994177997,"top":266.59338886132895,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.879463105803295,"imageIndex":0},"6":{"left":252.53371870715858,"top":246.88101080294845,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9509703147509958,"imageIndex":0},"8":{"left":251.26114970909,"top":225.2709577645695,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":1.0230538964724067,"imageIndex":0},"10":{"left":253.55524916639007,"top":246.57966006730084,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9315167021351192,"imageIndex":0},"12":{"left":251.94093766927358,"top":265.5917998686563,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.8986419182399346,"imageIndex":0},"14":{"left":251.84081547437592,"top":240.7651970049577,"angle":0,"skewX":0,"skewY":0,"scaleX":1,"scaleY":0.9638011285732272,"imageIndex":0}},"delay":1},{"name":"arm_r","keys":{"0":[[311,174],[445,190],[357,206],[373,218],[344,174],[479,190]],"2":[[314,195],[425,158],[401,211],[358,233],[347,195],[459,158]],"4":[[312.42857142857144,219.14285714285717],[433.7142857142857,167.8571428571429],[392.00000000000006,244],[361,261],[345.42857142857144,219.14285714285717],[467.7142857142858,167.8571428571429]],"6":[[309.1904761904762,186.61904761904765],[438.92857142857144,251.8809523809524],[375.16666666666674,203.66666666666669],[377.6666666666667,250],[342.1904761904762,186.61904761904765],[472.9285714285715,251.8809523809524]],"8":[[310.552380952381,163.09523809523813],[398.34285714285716,258.70476190476194],[378.33333333333337,175.33333333333337],[390.33333333333337,150],[343.552380952381,163.09523809523813],[432.3428571428572,258.70476190476194]],"10":[[310.6642857142857,192.8214285714286],[397.50714285714287,286.02857142857147],[411.5,225.00000000000003],[378,189],[343.6642857142857,192.8214285714286],[431.5071428571429,286.02857142857147]],"12":[[307.7761904761905,216.5476190476191],[380.6714285714286,315.352380952381],[378.6666666666667,215.66666666666669],[396.66666666666674,253.00000000000003],[340.7761904761905,216.5476190476191],[414.67142857142863,315.352380952381]],"14":[[308.3880952380953,182.27380952380955],[455.3357142857143,191.17619047619053],[372.33333333333337,177.83333333333334],[403.33333333333337,181],[341.3880952380953,182.27380952380955],[489.3357142857143,191.17619047619053]]},"delay":2},{"name":"arm_l","keys":{"0":[[193.20000000000005,171.33333333333326],[108,263],[126,181.66666666666674],[105.33333333333337,236],[224.20000000000005,171.33333333333326],[140,263]],"2":[[210,196],[85,273],[140,175],[111,224],[241,196],[117,273]],"4":[[199,208],[100,314],[74,258],[152,195],[230,208],[132,314]],"6":[[198.16666666666666,187.16666666666666],[52,209.00000000000006],[145,194.16666666666666],[112.83333333333333,209],[229.16666666666669,187.16666666666666],[84,209.00000000000006]],"8":[[196.93333333333334,158.33333333333331],[51,188.00000000000006],[100,223.33333333333334],[163.66666666666669,214],[227.93333333333337,158.33333333333331],[83,188.00000000000006]],"10":[[194.2,189],[63.25,195.00000000000006],[88,258.5],[169.5,232],[225.20000000000002,189],[95.25,195.00000000000006]],"12":[[198.8,212.33333333333331],[73.50000000000001,185.00000000000006],[65,253.66666666666669],[158.33333333333334,269],[229.8,212.33333333333331],[105.5,185.00000000000006]],"14":[[199.4,179.66666666666666],[70.75,245],[147,194.83333333333334],[142.16666666666669,249],[230.4,179.66666666666666],[102.75,245]]},"delay":2},{"name":"leg_r","keys":{"0":[[284.1318280421001,284.28424271911285],[215.80441548005678,336.76757639471714],[291.74548795300603,428.26451331783994],[257.9938725601001,426.7534964587006],[314.1318280421001,284.28424271911285],[232.80441548005678,336.76757639471714]],"2":[[289.20928750511376,253.27002107476437],[253.34312152403606,300.48794349176177],[291.80948582628605,381.8043249300838],[226.96103289369972,415.4133527831449],[314.20928750511376,253.27002107476437],[280.34312152403606,300.48794349176177]],"4":[[285.7592002556895,288.89683369084446],[250.71410243856923,332.1741158268254],[331.40290582563745,396.4607964528865],[299.7057459586722,398.2115721217524],[315.7592002556895,288.89683369084446],[266.7141024385692,332.1741158268254]],"6":[[279.27381088226457,288.2104510779637],[262.59157480238264,331.76165169780984],[377.74761518116867,381.0739196556444],[376.35764668886003,406.5619487585582],[309.27381088226457,288.2104510779637],[283.59157480238264,331.76165169780984]],"8":[[287.78481833210566,302.94998362203654],[342.97433892738405,401.2675873478653],[431.91238580874403,270.07367613936117],[386.11176843759955,210.70595405986901],[317.78481833210566,302.94998362203654],[399.97433892738405,401.2675873478653]],"10":[[288.17103372724864,303.60984326594865],[356.7880040547842,462.43816207685506],[341.2669392027228,383.91374737393255],[325.4891164345319,344.29324042579725],[318.17103372724864,303.60984326594865],[415.7880040547842,462.43816207685506]],"12":[[281.8039004977215,313.15313578133566],[249.64712016164953,451.24879458780043],[372.65030495087314,404.14201331867196],[228.97622012611203,395.2982489976564],[311.8039004977215,313.15313578133566],[291.6471201616495,451.24879458780043]],"14":[[277.25939745216215,300.16371192244895],[230.15693558869478,451.1867726555724],[244.52448619553383,396.0455870823299],[259.76928624497447,357.14508188757617],[307.25939745216215,300.16371192244895],[279.15693558869475,451.1867726555724]]},"delay":0,"hidden":true},{"name":"leg_l","keys":{"0":[[227.96039197104744,302.5147948981484],[172.36345218909366,411.9962963015096],[111.11070342793485,320.900536895163],[135.52496260133373,212.6903556610068],[244.96039197104744,302.5147948981484],[231.36345218909366,411.9962963015096]],"2":[[220.76779680601902,304.903686181163],[189.14669544626906,466.39197608116876],[171.70635675646366,377.04542402811774],[188.4968761907701,400.61132258822494],[250.76779680601902,304.903686181163],[257.14669544626906,466.39197608116876]],"4":[[221.46880639198636,307.54442282612035],[267.4055826064344,465.29757286089387],[132.04356680985532,482.4537859164775],[295.01087403254854,405.60504042964675],[251.46880639198636,307.54442282612035],[314.4055826064344,465.29757286089387]],"6":[[220.06239763161759,299.50212544021304],[278.3328039433594,443.3965746601229],[246.09510441737854,406.2106045501454],[233.29290255929712,368.1235996818704],[250.06239763161759,299.50212544021304],[324.3328039433594,443.3965746601229]],"8":[[211.58961577378275,271.9748366611723],[306.8287817921911,334.1052626550431],[225.6563591495816,433.07021601603844],[199.6912128878422,421.64119051672503],[241.58961577378275,271.9748366611723],[326.8287817921911,334.1052626550431]],"10":[[219.98418840420916,257.9294993371344],[249.7590943445147,285.4284144418186],[271.0799165534644,400.03103922133045],[319.94116715682964,406.0297104533053],[244.98418840420916,257.9294993371344],[275.75909434451466,285.4284144418186]],"12":[[225.03718630684995,310.0467539983429],[254.53888637079427,333.32974457471533],[214.08421924604517,370.72431648037906],[259.1753340644467,416.19386758811913],[255.03718630684995,310.0467539983429],[278.5388863707943,333.32974457471533]],"14":[[225.40103494031902,293.8153454096611],[233.05116711945016,336.6998934980222],[153.27162942759935,384.29851190262127],[159.24335177536273,330.357369903326],[250.60103494031907,293.8153454096611],[261.2511671194505,336.6998934980222]]},"delay":0,"hidden":true}]')}}); //# sourceMappingURL=app.8a5b75ef.js.map