1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="64434ee4-8ac5-400e-b4dd-fa5ba86a5d47",e._sentryDebugIdIdentifier="sentry-dbid-64434ee4-8ac5-400e-b4dd-fa5ba86a5d47")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12504],{67919:function(e,t,n){var r,a,o=n(67294);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}t.Z=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:1674.039,height:760.549,preserveAspectRatio:"none",viewBox:"0 0 1674.039 760.549"},e),r||(r=o.createElement("defs",null,o.createElement("linearGradient",{id:"a",x1:.5,x2:.5,y2:1,gradientUnits:"objectBoundingBox"},o.createElement("stop",{offset:0,stopColor:"#ff6561"}),o.createElement("stop",{offset:.151,stopColor:"#bf4c72"}),o.createElement("stop",{offset:.369,stopColor:"#692b8a"}),o.createElement("stop",{offset:.468,stopColor:"#471e94"}),o.createElement("stop",{offset:1,stopColor:"#1c005e"}),o.createElement("animate",{fill:"freeze",attributeName:"y2",dur:"10000ms",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0.8;1.6;0.8"})))),a||(a=o.createElement("path",{fill:"url(#a)",d:"M0 0h1674.039v760.549H0z","data-name":"Rectangle 213",transform:"rotate(180 837.02 380.275)"})))}},69444:function(e,t){t.Z={src:"/_next/static/media/sky-lines.3da2d348.png",height:540,width:698,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAABlBMVEWSgaySgq/PuRk2AAAAAnRSTlMYC2NajOkAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAhSURBVHicY2BgYGBkZGBgZAADCJMRRIE4UFEoByQHxowAAiMAFtq/f+sAAAAASUVORK5CYII=",blurWidth:8,blurHeight:6}},27239:function(e,t,n){n.d(t,{k:function(){return o}});var r=n(20328);let a=new WeakSet,o=(e,t)=>{let n;if(a.has(e))return;a.add(e);let o={feature:"game",game:t},i=()=>{var t;return(0,r.pd)(e,Error("WebGL context lost"),{...o,phase:"render",scene:null===(t=e.scene)||void 0===t?void 0:t.getScenes(!0).map(e=>e.sys.settings.key).join(", ")})},s=()=>(0,r.Py)({...o,phase:"render",state:"context-restored"}),u=()=>{(n=e.canvas)&&((0,r.Py)({...o,state:"ready"}),n.addEventListener("webglcontextlost",i,{once:!0}),n.addEventListener("webglcontextrestored",s,{once:!0}))};e.canvas?u():e.events.once("ready",u),e.events.once("destroy",()=>{e.events.off("ready",u),null==n||n.removeEventListener("webglcontextlost",i),null==n||n.removeEventListener("webglcontextrestored",s),(0,r.Py)({...o,state:"destroyed"})})}},69497:function(e,t,n){n.r(t);var r=n(85893),a=n(35216),o=n(7998),i=n(57204),s=n(46693),u=n(15377),l=n(67294),c=n(12598);t.default=e=>{let[t,n]=(0,l.useState)(!1),[f]=(0,a.W)({type:Phaser.WEBGL,parent:"phaser-game",scale:{mode:Phaser.Scale.FIT,autoCenter:Phaser.Scale.CENTER_BOTH,width:600*window.innerWidth/window.innerHeight,height:600},dom:{createContainer:!0},transparent:!0,pipeline:{Gray:o.Z}},t=>{i.F.start(t,{levelData:e.levelData,animalData:e.animalData,gameData:e.gameData,skipLobby:e.skipLobby,skipEndScene:e.skipEndScene}),t.events.once(s.n.LOADED,()=>{n(!0)}),e.onGame&&e.onGame(t),e.onExit&&t.events.once(s.n.QUIT,e.onExit),e.onFinish&&t.events.once(s.n.FINISH,e.onFinish),t.events.once(s.n.CONTINUE,()=>{var t,n;null===(t=null!==(n=e.onContinue)&&void 0!==n?n:e.onExit)||void 0===t||t()})});return(0,r.jsxs)(r.Fragment,{children:[!t&&(0,r.jsx)("div",{style:{position:"absolute",zIndex:-1,height:"100%",width:"100%"},children:(0,r.jsx)(c.aN,{itemColor:"#ffffff",itemSize:100,message:"Pouring lava..."})}),f,(0,r.jsx)("div",{style:{position:"fixed",height:0,width:0,zIndex:-1,opacity:0,fontFamily:"".concat(u.R.mali.style.fontFamily)},children:"A"})]})}},7998:function(e,t,n){n.d(t,{Z:function(){return r}});class r extends Phaser.Renderer.WebGL.Pipelines.MultiPipeline{onPreRender(){this.set1f("gray",this._gray)}get gray(){return this._gray}set gray(e){this._gray=e}constructor(e){super({game:e,fragShader:"\nprecision mediump float;\n\nuniform sampler2D uMainSampler[%count%];\nuniform float gray;\n\nvarying vec2 outTexCoord;\nvarying float outTexId;\nvarying vec4 outTint;\nvarying vec2 fragCoord;\n\nvoid main()\n{\n vec4 texture;\n\n %forloop%\n\n gl_FragColor = texture;\n gl_FragColor.rgb = mix(gl_FragColor.rgb, vec3(0.2126 * gl_FragColor.r + 0.7152 * gl_FragColor.g + 0.0722 * gl_FragColor.b), gray);\n}\n",uniforms:["uProjectionMatrix","uMainSampler","gray"]}),this._gray=1}}},35216:function(e,t,n){n.d(t,{W:function(){return u}});var r=n(85893),a=n(27239),o=n(82260),i=n.n(o),s=n(67294);let u=(e,t)=>
1{let n=(0,s.useRef)(null),o=(0,s.useRef)(null),u=(0,s.useRef)(!1),l=async()=>{var e;if(!n.current||u.current)return;u.current=!0;let t=()=>{},r=new Promise(e=>{t=e});n.current.events.once("destroy",()=>{t()}),null===(e=n.current)||void 0===e||e.destroy(!0),n.current=null,await r,u.current=!1},c=async()=>{if(u.current){let e;await (e=0,new Promise(t=>{let n=()=>{if(u.current){if(e>50){console.error("Phaser game is taking too long to destroy."),t();return}e++,setTimeout(n,10)}else t()};n()}))}n.current&&await l(),!n.current&&o.current&&(n.current=new(i()).Game({...e,parent:o.current}),(0,a.k)(n.current),n.current.events.once("ready",()=>{t&&n.current&&t(n.current)}))};(0,s.useEffect)(()=>{if(!o.current)throw Error("Container has not been mounted.");return c(),()=>{l().catch(e=>{console.error("Error during Phaser game shutdown:",e)})}},[]);let f="string"==typeof e.parent?e.parent:"phaser-game";return[(0,s.useMemo)(()=>(0,r.jsx)("div",{id:f,ref:o}),[]),n.current]}},52819:function(e,t,n){var r=n(96786),a=n(67294);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,[t,n]=(0,a.useState)({w:window.innerWidth,h:window.innerHeight});return(0,a.useEffect)(()=>{n({w:window.innerWidth,h:window.innerHeight});let t=(0,r.Z)(e=>{n({w:e.target.innerWidth,h:e.target.innerHeight})},e);return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),t}},86682:function(e,t,n){n.d(t,{a:function(){return r}});class r{static preload(e){e.load.bitmapFont(this.key,"/images/games/fonts/chunky-rammetto/font.png","/images/games/fonts/chunky-rammetto/font.xml")}}r.key="chunky-rammetto"},93679:function(e,t,n){n.d(t,{a:function(){return r.a}});var r=n(86682)},17105:function(e,t,n){n.d(t,{V:function(){return r}});let r={key:"electrospike",atlasUrl:"/pack/electrospike/atlas.json",atlasPath:"/pack/electrospike/",frames:{1:"1.png",2:"2.png",3:"3.png",4:"4.png",5:"5.png",6:"6.png",7:"7.png",8:"8.png",9:"9.png",10:"10.png",11:"11.png",12:"12.png",13:"13.png",14:"14.png",15:"15.png"},load(e){e.textures.exists(this.key)||e.load.multiatlas(this.key,this.atlasUrl,this.atlasPath)}}},54490:function(e,t,n){n.d(t,{Ji:function(){return g},BK:function(){return v},vU:function(){return m}});var r,a,o,i,s=n(97582),u=n(67294),l=n(86896);(r=o||(o={})).formatDate="FormattedDate",r.formatTime="FormattedTime",r.formatNumber="FormattedNumber",r.formatList="FormattedList",r.formatDisplayName="FormattedDisplayName",(a=i||(i={})).formatDate="FormattedDateParts",a.formatTime="FormattedTimeParts",a.formatNumber="FormattedNumberParts",a.formatList="FormattedListParts";var c=function(e){var t=(0,l.Z)(),n=e.value,r=e.children,a=(0,s._T)(e,["value","children"]);return r(t.formatNumberToParts(n,a))};function f(e){var t=function(t){var n=(0,l.Z)(),r=t.value,a=t.children,o=(0,s._T)(t,["value","children"]),i="string"==typeof r?new Date(r||0):r;return a("formatDate"===e?n.formatDateToParts(i,o):n.formatTimeToParts(i,o))};return t.displayName=i[e],t}function d(e){var t=function(t){var n=(0,l.Z)(),r=t.value,a=t.children,o=(0,s._T)(t,["value","children"]),i=n[e](r,o);if("function"==typeof a)return a(i);var c=n.textComponent||u.Fragment;return u.createElement(c,null,i)};return t.displayName=o[e],t}function m(e){return e}c.displayName="FormattedNumberParts",c.displayName="FormattedNumberParts";var g=d("formatDate");d("formatTime");var v=d("formatNumber");d("formatList"),d("formatDisplayName"),f("formatDate"),f("formatTime")},44012:function(e,t,n){var r=n(97582),a=n(67294),o=n(86896),i=n(680);function s(e){var t=(0,o.Z)(),n=t.formatMessage,r=t.textComponent,i=void 0===r?a.Fragment:r,s=e.id,u=e.description,l=e.defaultMessage,c=e.values,f=e.children,d=e.tagName,m=void 0===d?i:d,g=n({id:s,description:u,defaultMessage:l},c,{ignoreTag:e.ignoreTag});return"function"==typeof f?f(Array.isArray(g)?g:[g]):m?a.createElement(m,null,a.Children.toArray(g)):a.createElement(a.Fragment,null,g)}s.displayName="FormattedMessage";var u=a.memo(s,function(e,t){var n=e.values,a=(0,r._T)(e,["values"]),o=t.values,s=(0,r._T)(t,["values"]);return(0,i.wU)(o,n)&&(0,i.wU)(a,s)});u.displayName="MemoizedFormattedMessage",t.Z=u},96786:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(90017),a=n(5665),o=function(){return a.Z.Date.now()},i=n(52141),s=Math.max,u=Math.min,l=function(e,t,n){var a,l,c,f,d,m,g=0,v=!1,p=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var n=a,r=l;
1return a=l=void 0,g=t,f=e.apply(r,n)}function w(e){var n=e-m,r=e-g;return void 0===m||n>=t||n<0||p&&r>=c}function A(){var e,n,r,a=o();if(w(a))return b(a);d=setTimeout(A,(e=a-m,n=a-g,r=t-e,p?u(r,c-n):r))}function b(e){return(d=void 0,h&&a)?y(e):(a=l=void 0,f)}function E(){var e,n=o(),r=w(n);if(a=arguments,l=this,m=n,r){if(void 0===d)return g=e=m,d=setTimeout(A,t),v?y(e):f;if(p)return clearTimeout(d),d=setTimeout(A,t),y(m)}return void 0===d&&(d=setTimeout(A,t)),f}return t=(0,i.Z)(t)||0,(0,r.Z)(n)&&(v=!!n.leading,c=(p="maxWait"in n)?s((0,i.Z)(n.maxWait)||0,t):c,h="trailing"in n?!!n.trailing:h),E.cancel=function(){void 0!==d&&clearTimeout(d),g=0,a=m=l=d=void 0},E.flush=function(){return void 0===d?f:b(o())},E}},52141:function(e,t,n){n.d(t,{Z:function(){return m}});var r=/\s/,a=function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t},o=/^\s+/,i=n(90017),s=n(48795),u=0/0,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,f=/^0o[0-7]+$/i,d=parseInt,m=function(e){if("number"==typeof e)return e;if((0,s.Z)(e))return u;if((0,i.Z)(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=(0,i.Z)(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,a(t)+1).replace(o,""):t;var r=c.test(e);return r||f.test(e)?d(e.slice(2),r?2:8):l.test(e)?u:+e}}}]);
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.