PageSourceSearch

https://cdn.v1v2.io/_next/static/chunks/pages/games/city-fa9243ba2104565a.js

js v1v2.io collected 2026-09-25 21:07:06 UTC 7,391 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8353],{91058:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/games/city",function(){return t(95366)}])},19118:(e,n,t)=>{"use strict";t.d(n,{A:()=>d});var a=t(74848),r=t(96540),i=t(40118),s=t(48706),o=t(93809),l=t(92946),c=t(91588);let d=e=>{let{isFullscreen:n,toggleFullscreen:t}=(0,l.Hr)();return(0,r.useEffect)(()=>{if(n){var e,t;null===(t=screen)||void 0===t||null===(e=t.orientation)||void 0===e||e.lock("landscape-primary")}},[n]),(0,a.jsx)(i.m,{label:n?"Exit fullscreen":"Enter fullscreen",children:(0,a.jsx)(s.K,{colorScheme:"blackAlpha","aria-label":n?"Exit fullscreen":"Enter fullscreen",icon:(0,a.jsx)(o.I,{as:n?c.Llp:c.T$Z,boxSize:7}),onClick:t,...e})})}},87649:(e,n,t)=>{"use strict";t.d(n,{A:()=>d});var a=t(74848),r=t(45703),i=t.n(r),s=t(28133),o=t.n(s),l=t(19118);let c=(e,n)=>"\nvar container = document.querySelector('#unity-container')\nvar canvas = document.querySelector('#unity-canvas')\nvar loadingBar = document.querySelector('#unity-loading-bar')\nvar progressBarFull = document.querySelector('#unity-progress-bar-full')\nvar fullscreenButton = document.querySelector('#unity-fullscreen-button')\n// var warningBanner = document.querySelector('#unity-warning')\n\n// Shows a temporary message banner/ribbon for a few seconds, or\n// a permanent error message on top of the canvas if type=='error'.\n// If type=='warning', a yellow highlight color is used.\n// Modify or remove this function to customize the visually presented\n// way that non-critical warnings and error messages are presented to the\n// user.\n// function unityShowBanner(msg, type) {\n//   function updateBannerVisibility() {\n//     warningBanner.style.display = warningBanner.children.length ? 'block' : 'none'\n//   }\n//   var div = document.createElement('div')\n//   div.innerHTML = msg\n//   warningBanner.appendChild(div)\n//   if (type == 'error') div.style = 'background: red; padding: 10px;'\n//   else {\n//     if (type == 'warning') div.style = 'background: yellow; padding: 10px;'\n//     setTimeout(function () {\n//       warningBanner.removeChild(div)\n//       updateBannerVisibility()\n//     }, 5000)\n//   }\n//   updateBannerVisibility()\n// }\n\nvar buildUrl = '/games/".concat(e,"'\nvar loaderUrl = buildUrl + '/").concat(n,".loader.js'\nvar config = {\n  dataUrl: buildUrl + '/").concat(n,".data',\n  frameworkUrl: buildUrl + '/").concat(n,".framework.js',\n  codeUrl: buildUrl + '/").concat(n,".wasm',\n  streamingAssetsUrl: 'StreamingAssets',\n  companyName: 'DefaultCompany',\n  productName: '").concat(n,"',\n  productVersion: '1.0',\n  showBanner: () => {},\n}\n\n// By default Unity keeps WebGL canvas render target size matched with\n// the DOM size of the canvas element (scaled by window.devicePixelRatio)\n// Set this to false if you want to decouple this synchronization from\n// happening inside the engine, and you would instead like to size up\n// the canvas DOM size and WebGL render target sizes yourself.\n// config.matchWebGLToCanvasSize = false;\n\nif (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {\n  // Mobile device style: fill the whole browser client area with the game canvas:\n\n  var meta = document.createElement('meta')\n  meta.name = 'viewport'\n  meta.content =\n    'width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes'\n  document.getElementsByTagName('head')[0].appendChild(meta)\n  container.className = 'unity-mobile'\n\n  // To lower canvas resolution on mobile devices to gain some\n  // performance, uncomment the following line:\n  // config.devicePixelRatio = 1;\n\n  // canvas.style.width = window.innerWidth + 'px'\n  // canvas.style.height = window.innerHeight + 'px'\n\n  // unityShowBanner('WebGL builds are not supported on mobile devices.')\n} else {\n  // Desktop style: Render the game canvas in a window that can be maximized to fullscreen:\n\n  // canvas.style.width = '960px'\n  // canvas.style.height = '600px'\n}\n\nloadingBar.style.display = 'block'\n\nvar script = document.createElement('script')\nscript.src = loaderUrl\nscript.onload = () => {\n  createUnityInstance(canvas, config, progress => {\n    progressBarFull.style.width = 100 * progress + '%'\n  })\n    .then(unityInstance => {\n      loadingBar.style.display = 'none'\n    })\n    .catch(message => {\n      alert(message)\n    })\n}\ndocument.body.appendChild(script)\n"),d=e=>{let{path:n,name:t}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{id:"unity-container",className:"jsx-a2a32c3924941bc2 unity-desktop",children:[(0,a.jsx)("canvas",{id:"unity-canvas",className:"jsx-a2a32c3924941bc2"}),(0,a.jsxs)("div",{id:"unity-loading-bar",className:"jsx-a2a32c3924941bc2",children:[(0,a.jsx)("div",{id:"unity-logo",className:"jsx-a2a32c3924941bc2"}),(0,a.jsx)("div",{id:"unity-progress-bar-empty",className:"jsx-a2a32c3924941bc2",children:(0,a.jsx)("div",{id:"unity-progress-bar-full",className:"jsx-a2a32c3924941bc2"})})]})]}),(0,a.jsx)(l.A,{pos:"absolute",top:3,right:3,zIndex:1e5}),(0,a.jsx)(o(),{id:"my-unity-script",children:c(n,t)}),(0,a.jsx)(i(),{id:"a2a32c3924941bc2",children:'html,body,#__next{height:100%}body{margin:0;background:#231f20;font-family:sans-serif}canvas{width:100%;height:100vh;outline:none;-webkit-tap-highlight-color:rgba(255,255,255,0)}.unity-mobile #unity-canvas{width:100%;height:100%}#unity-loading-bar{position:absolute;
1left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%);display:none}#unity-logo{width:154px;height:130px;background:url("/games/unity/unity-logo-dark.png")no-repeat center}#unity-progress-bar-empty{width:141px;height:18px;margin-top:10px;margin-left:6.5px;background:url("/games/unity/progress-bar-empty-dark.png")no-repeat center}#unity-progress-bar-full{width:0%;height:18px;margin-top:10px;background:url("/games/unity/progress-bar-full-dark.png")no-repeat center}#unity-footer{position:relative}.unity-mobile #unity-footer{display:none}#unity-build-title{float:right;margin-right:10px;line-height:38px;font-family:arial;font-size:18px}'})]})}},92946:(e,n,t)=>{"use strict";t.d(n,{Hr:()=>s,hY:()=>o});var a=t(96540),r=t(85164),i=t(92267);t(81440);let s=()=>{let[e,{on:n,off:t}]=(0,r.C)(!1),i=()=>document.documentElement.requestFullscreen(),s=()=>document.exitFullscreen(),o=(0,a.useCallback)(()=>document.fullscreenElement?n():t(),[]);return(0,a.useEffect)(()=>(document.addEventListener("fullscreenchange",o),()=>{document.removeEventListener("fullscreenchange",o)}),[]),{isFullscreen:e,enterFullscreen:i,exitFullscreen:s,toggleFullscreen:e?s:i}},o=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=(0,a.useRef)(0);(0,i.A)((t,a,i)=>{r.current>n/1e3?(r.current=0,e(t,a,i)):r.current+=a},t)}},81440:(e,n,t)=>{"use strict";t.d(n,{PU:()=>r,Qx:()=>a,pi:()=>i});let a=e=>{let{x:n,y:t,z:a}=e;return[n,t,a]},r=(e,n)=>{let t=n.x-e.x,a=n.y-e.y,r=n.z-e.z;return Math.sqrt(t*t+a*a+r*r)},i=Math.PI},95366:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var a=t(74848),r=t(49497),i=t(87649);let s=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.A,{title:"City"}),(0,a.jsx)(i.A,{path:"02-city",name:"city"})]})}},e=>{var n=n=>e(e.s=n);e.O(0,[6593,8916,3624,118,6821,636,8792],()=>n(91058)),_N_E=e.O()}]);

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.