endpoints.path: /
endpoints.endpoint_type: HTTP
endpoints.scan_time: 2025-10-13T13:57:59.465182
endpoints.uri: https://augx111games.minigameam.com/
endpoints.protocol: HTTP/1.1
endpoints.status_reason: OK
endpoints.key: Last-Modified
endpoints.headers: Wed, 06 Aug 2025 09:30:26 GMT
endpoints.key: Content-Length
endpoints.headers: 34180
endpoints.key: Age
endpoints.headers: 0
endpoints.key: Date
endpoints.headers: <REDACTED>
endpoints.key: EagleId
endpoints.headers: a3b5a09a17603638753367444e
endpoints.key: Via
endpoints.headers: cache4.l2sg2[34,40,200-0,H], cache1.l2sg2[43,0], ens-cache4.sg17[1039,1039,200-0,M], ens-cache6.sg17[1045,0]
endpoints.key: Timing-Allow-Origin
endpoints.headers: *
endpoints.key: x-oss-hash-crc64ecma
endpoints.headers: 7305753706211108815
endpoints.key: Content-Encoding
endpoints.headers: gzip
endpoints.key: Accept-Ranges
endpoints.headers: bytes
endpoints.key: X-Swift-CacheTime
endpoints.headers: 2592000
endpoints.key: Ali-Swift-Global-Savetime
endpoints.headers: 1760363876
endpoints.key: X-Swift-SaveTime
endpoints.headers: Mon, 13 Oct 2025 13:57:56 GMT
endpoints.key: X-Cache
endpoints.headers: MISS TCP_MISS dirn:-2:-2
endpoints.key: x-oss-request-id
endpoints.headers: 68ED05640A93063430834C38
endpoints.key: x-oss-object-type
endpoints.headers: Normal
endpoints.key: Connection
endpoints.headers: keep-alive
endpoints.key: Content-Type
endpoints.headers: text/html; charset=utf-8
endpoints.key: Content-MD5
endpoints.headers: +mBh2a/ReNb+9b2txQac1A==
endpoints.key: Server
endpoints.headers: Tengine
endpoints.key: x-oss-storage-class
endpoints.headers: Standard
endpoints.key: Vary
endpoints.headers: Accept-Encoding
endpoints.key: x-oss-server-time
endpoints.headers: 20
endpoints.html_tags: <title>Play Minigame and Have Fun
                </title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="keywords" content="play,game,oline,h5 games,free games, online games"/> <meta name="description" content="Welcome To MiniGame Center, We add Online Games or Popular games or New Games or Hot Games for every day! Play Best Online Games On Minigame"/>
endpoints.body: <!DOCTYPE html>
  <html lang="en" class="">
      <head>
          <script>
              const util = {
                  throttle(fn, wait) {
                      let inThrottle, lastFn, lastTime;
                      return function() {
                          const context = this
                            , args = arguments;
                          if (!inThrottle) {
                              fn.apply(context, args);
                              lastTime = Date.now();
                              inThrottle = true;
                          } else {
                              clearTimeout(lastFn);
                              lastFn = setTimeout(function() {
                                  if (Date.now() - lastTime >= wait) {
                                      fn.apply(context, args);
                                      lastTime = Date.now();
                                  }
                              }, Math.max(wait - (Date.now() - lastTime), 0));
                          }
                      }
                      ;
                  },
                  isMobile() {
                      return window.navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|Symbian|Windows Phone)/i);
                  },
                  getAllUrlParams(url) {
                      var queryString = url ? url.split('?')[1] : window.location.search.slice(1);
                      var obj = {};
                      if (!queryString) {
                          return obj;
                      }
                      // stuff after # is not part of query string, so get rid of it
                      queryString = queryString.split('#')[0];
                      var arr = queryString.split('&');
                      for (var i = 0; i < arr.length; i++) {
                          var a = arr[i].split('=');
                          var paramName = a[0];
                          var paramValue = typeof (a[1]) === 'undefined' ? true : a[1];
                          paramName = paramName.toLowerCase();
                          if (typeof paramValue === 'string')
                              paramValue = paramValue.toLowerCase();
                          if (paramName.match(/\[(\d+)?\]$/)) {
                              var key = paramName.replace(/\[(\d+)?\]/, '');
                              if (!obj[key])
                                  obj[key] = [];
                              if (paramName.match(/\[\d+\]$/)) {
                                  var index = /\[(\d+)\]/.exec(paramName)[1];
                                  obj[key][index] = paramValue;
                              } else {
                                  obj[key].push(paramValue);
                              }
                          } else {
                              if (!obj[paramName]) {
                                  obj[paramName] = paramValue;
                              } else if (obj[paramName] && typeof obj[paramName] === 'string') {
                                  obj[paramName] = [obj[paramName]];
                                  obj[paramName].push(paramValue);
                              } else {
                                  obj[paramName].push(paramValue);
                              }
                          }
                      }
                      return obj;
                  },
                  loadJsAsync(src, async, attribute) {
                      return new Promise( (resolve, reject) => {
                          const script = document.createElement("script");
                          script.src = src;
                          script.async = async;
                          if (attribute) {
                              for (const key in attribute) {
                                  script.setAttribute(key, attribute[key]);
                              }
                          }
  
                          const onload = () => {
                              console.log("js loaded: ", src);
                              script.removeEventListener("load", onload);
                              resolve();
                          }
                          ;
  
                          script.addEventListener("load", onload);
                          script.addEventListener("error", (err) => {
                              script.removeEventListener("load", onload);
                              console.error("loading js error: ", src, err);
                              reject(new Error(`Failed to load ${src}`));
                          }
                          );
  
                          (document.getElementsByTagName("head")[0] || document.documentElement).appendChild(script);
                      }
                      );
                  },
                  loadImageAsync(url, callbackFunc) {
                      return new Promise(function(resolve, reject) {
                          var img = new Image();
                          img.onload = function() {
                              img.onload = null;
                              console.log("success to load image");
                              resolve(img);
                              callbackFunc && (callbackFunc instanceof Function) && callbackFunc(img);
                          }
                          ;
                          img.error = function() {
                              reject('fail to load image');
                          }
                          ;
                          img.src = url;
                      }
                      )
                  },
                  httpRequest(url, method='GET', params={}, data=null, headers={}) {
                      return new Promise( (resolve, reject) => {
                          const queryString = new URLSearchParams(params).toString();
                          const fullUrl = queryString ? `${url}?${queryString}` : url;
                          const xhr = new XMLHttpRequest();
                          xhr.open(method, fullUrl, true);
                          if (data && !headers['Content-Type']) {
                              xhr.setRequestHeader('Content-Type', 'application/json');
                          }
                          if (!headers['Accept']) {
                              xhr.setRequestHeader('Accept', 'application/json');
                          }
                          for (const key in headers) {
                              if (headers.hasOwnProperty(key)) {
                                  xhr.setRequestHeader(key, headers[key]);
                              }
                          }
                          xhr.onreadystatechange = function() {
                              if (xhr.readyState === 4) {
                                  if (xhr.status >= 200 && xhr.status < 300) {
                                      try {
                                          const response = JSON.parse(xhr.responseText);
                                          resolve(response);
                                      } catch (e) {
                                          resolve(xhr.responseText);
                                      }
                                  } else {
                                      reject(new Error(`Request failed with status ${xhr.status}: ${xhr.statusText}`));
                                  }
                              }
                          }
                          ;
                          xhr.onerror = function() {
                              reject(new Error("Network error"));
                          }
                          ;
                          if (data && (method === 'POST' || method === 'PUT')) {
                              xhr.send(JSON.stringify(data));
                          } else {
                              xhr.send();
                          }
                      }
                      );
                  },
                  setDragScrollEvent(selector) {
                      const gameShowEle = document.querySelector(selector);
                      let left = 0;
                      let oldLeft = 0;
                      const move = util.throttle( (event) => {
                          let x = left + (oldLeft - event.clientX)
                          if (x < 0)
                              x = 0;
                          gameShowEle.scrollTo(x, 0);
                      }
                      , 100)
                      gameShowEle.addEventListener('mousedown', function(event) {
                          gameShowEle.style.cursor = 'grabbing';
                          gameShowEle.style.userSelect = 'none';
                          oldLeft = event.clientX;
                          left = gameShowEle.scrollLeft;
                          document.addEventListener('mousemove', move)
                      });
                      document.addEventListener('mouseup', function() {
                          gameShowEle.style.cursor = 'pointer';
                          gameShowEle.style.removeProperty('user-select');
                          document.removeEventListener('mousemove', move)
                      })
                  },
                  setHistoryGame(appId, maxHistoryCount) {
                      const HISTORY_KEY = "gameHistoryList";
                      const fnUnique = function(arr, uKey) {
                          const map = new Map();
                          arr.forEach( (item, index) => {
                              if (!map.has(item[uKey])) {
                                  map.set(item[uKey], item);
                              }
                          }
                          );
                          return [...map.values()];
                      };
  
                      try {
                          let localGameList = JSON.parse(localStorage.getItem(HISTORY_KEY));
                          if (!localGameList) {
                              localGameList = [];
                          }
  
                          const obj = {
                              id: appId,
                          };
                          localGameList.splice(0, 0, obj);
  
                          localGameList = fnUnique(localGameList, "id");
  
                          if (localGameList.length > maxHistoryCount) {
                              localGameList = localGameList.slice(0, maxHistoryCount);
                          }
  
                          localStorage.setItem("gameHistoryList", JSON.stringify(localGameList));
                      } catch (e) {
                          console.error("add history error:", e);
                      }
                  },
                  getHistoryGames() {
                      try {
                          const HISTORY_KEY = "gameHistoryList";
                          const temp = (localStorage.getItem(HISTORY_KEY)) && JSON.parse(localStorage.getItem(HISTORY_KEY));
                          if (temp && temp != null) {
                              return temp;
                          }
                      } catch (e) {
                          console.error("get history error:", e);
                      }
                      return [];
                  },
                  getDetailForHistoryGames(historyGameForIds) {
                      let games = [];
                      try {
                          games = historyGameForIds.map(m => {
                              const app_id = m.id;
                              return {
                                  history: true,
                                  special_site: 1,
                                  type: 1,
                                  detail: {
                                      app_id,
                                      base: {
                                          display_name: app_id,
                                      },
                                      game_material: {
                                          banner: `https://res.minigame.vip/gc-assets/${app_id}/${app_id}_banner.png`,
                                          big_icon: `https://res.minigame.vip/gc-assets/${app_id}/${app_id}_big_icon.png`,
                                          flash: `https://res.minigame.vip/gc-assets/${app_id}/${app_id}_flash.png`,
                                          icon: `https://res.minigame.vip/gc-assets/${app_id}/${app_id}_icon.png`,
                                          small_icon: `https://res.minigame.vip/gc-assets/${app_id}/${app_id}_icon_small.png`,
                                          thumbnail: `https://res.minigame.vip/game/${app_id}/${app_id}_flash.png`,
                                          video: `https://res.minigame.vip/gc-assets/${app_id}/${app_id}.mp4`,
                                      }
                                  }
                              }
                          }
                          )
                      } catch (e) {
                          console.error("deal history games for material error:", e);
                      }
                      return games;
                  },
                  getGamemenuCommonSites(historyGames, menuSite, excludeList) {
                      if (!(menuSite && menuSite.gamemenuCommonSites && menuSite.gamemenuCommonSites.length)) {
                          return;
                      }
  
                      const fnNotInclude = (appId) => {
                          if (!excludeList) {
                              return true;
                          }
                          return !excludeList.includes(appId);
                      }
                      ;
  
                      let sites = [];
                      let selectHistoryAppIds = []
                      let history = 0
                        , count = 0;
                      if (menuSite.options && menuSite.options.history) {
                          menuSite.options.history && (history = +menuSite.options.history);
                          menuSite.options.count && (count = +menuSite.options.count);
                      }
                      if (history > 0 && historyGames.length > 0) {
                          sites = historyGames.filter(site => site && site.detail && fnNotInclude(site.detail.app_id)).slice(0, history);
                          selectHistoryAppIds = sites.map(site => site && site.detail && site.detail.app_id || "");
                      }
                      sites.push(...(menuSite.gamemenuCommonSites.filter(site => site && site.detail && !selectHistoryAppIds.includes(site.detail.app_id))))
                      sites = sites.filter(site => site && site.detail && fnNotInclude(site.detail.app_id));
                      if (count > 0) {
                          sites = sites.slice(0, count);
                      }
                      return sites;
                  },
                  storage: {
                      setItmeToObjectForLocalStorage(key, objectKeyName, objectValueitem) {
                          let res = false
                          try {
                              const _localStorageObjectStr = localStorage.getItem(key);
                              let _localStorageObject = {
                                  [objectKeyName]: objectValueitem
                              };
                              if (_localStorageObjectStr) {
                                  _localStorageObject = JSON.parse(_localStorageObjectStr);
                                  _localStorageObject[objectKeyName] = objectValueitem;
                              }
                              localStorage.setItem(key, JSON.stringify(_localStorageObject));
                              res = true;
                          } catch (error) {
                              console.error(error);
                          }
                          return res
                      },
                      getItmeFromObjectForLocalStorage(key, objectKeyName) {
                          let res = null;
                          try {
                              const _localStorageObjectStr = localStorage.getItem(key);
                              if (_localStorageObjectStr) {
                                  const _localStorageObject = JSON.parse(_localStorageObjectStr);
                                  res = _localStorageObject && _localStorageObject[objectKeyName];
                              }
                          } catch (error) {
                              console.error(error);
                          }
                          return res
                      }
                  },
                  formatUrl(url) {
                      if (url.indexOf("st=") === -1) {
                          if (url.indexOf("?") === -1) {
                              url = `${url}?st=${new Date().getTime()}`;
                          } else {
                              url = `${url}&st=${new Date().getTime()}`;
                          }
                      }
                      return url;
                  },
                  openPageByA(url, target) {
                      const a = document.createElement("a");
                      a.href = url;
                      a.target = target || "_blank";
                      document.body.appendChild(a);
                      a.click();
                      a.remove();
                  },
                  logEvent(gtag, eventName, category, label, value, nonInteraction) {
                      if (gtag) {
                          let params = null;
                          if (category !== undefined || label !== undefined || value !== undefined || nonInteraction !== undefined) {
                              params = {};
                              (category !== undefined) && (params.event_category = category);
                              (label !== undefined) && (params.event_label = label);
                              (value !== undefined) && (params.value = value);
                              (nonInteraction !== undefined) && (params.nonInteraction = nonInteraction);
                          }
                          params === null && (gtag('event', eventName));
                          params !== null && (gtag('event', eventName, params));
                      }
                  },
                  getSubChannelIdFromLocation() {
                      const subChannelIdFromLocation = location.pathname.split('/')[1]
                      const lowerSubChannelIdFromLocation = subChannelIdFromLocation.toLowerCase();
                      const excludeList = ['', '/', 'home', 'privacy', 'terms', 'gamebox', 'today', 'game', 'v1', 'main', 'debug', 'activity']
                      const hasSubChannelId = !excludeList.includes(lowerSubChannelIdFromLocation) && !(/\./ig.test(lowerSubChannelIdFromLocation))
                      return {
                          hasSubChannelId,
                          subChannelIdFromLocation
                      }
                  },
                  replaceSubChannelId() {
                      const links = Array.from(document.getElementsByTagName('a'))
                      const sameOriginLinks = links.filter(link => link.href.startsWith(location.origin))
                      const {hasSubChannelId, subChannelIdFromLocation} = this.getSubChannelIdFromLocation();
                      if (hasSubChannelId) {
                          sameOriginLinks.forEach(link => {
                              const originHref = link.getAttribute('href');
                              const originHrefPrefix = originHref && originHref.split("/") && originHref.split("/")[1] || "";
                              if (originHrefPrefix.toLocaleLowerCase() !== subChannelIdFromLocation.toLocaleLowerCase()) {
                                  const href = originHref.startsWith('/main') ? originHref.replace('main', subChannelIdFromLocation) : `/${subChannelIdFromLocation}${originHref}`
                                  link.setAttribute('href', href)
                              }
                          }
                          )
                      }
                  },
                  createQueryString(paramsArray) {
                      let queryStr = "";
                      if (Array.isArray(paramsArray)) {
                          const params = new URLSearchParams();
                          paramsArray.forEach(param => {
                              params.set(param.key, param.value);
                          }
                          );
                          queryStr = `?${params.toString()}`;
                      }
                      return queryStr;
                  }
              };
          </script>
          <script>
              const lazyLoadImgObj = {
                  isIn(el) {
                      var bound = el.getBoundingClientRect();
                      var clientHeight = window.innerHeight;
                      return el.getAttribute("lazy") === "loading" && bound.top <= clientHeight;
                  },
                  checkImg() {
                      let imgs = document.querySelectorAll("img[lazy='loading']");
                      Array.from(imgs).forEach( (el) => {
                          if (lazyLoadImgObj.isIn(el)) {
                              lazyLoadImgObj.loadImg(el);
                          }
                      }
                      );
                  },
                  loadImg(el) {
                      if (el.src !== el.dataset.src) {
                          el.src = el.dataset.src;
                          el.setAttribute("lazy", "loaded");
                      }
                  },
              };
              const checkImgFunc = util.throttle(lazyLoadImgObj.checkImg, 500);
          </script>
          <script>
              const adsObj = {
                  googleAdSense: {
                      ifLoadScript: false,
                      loadScript({adClientId, callbackFunc, propertyObj}) {
                          if (!this.ifLoadScript) {
                              const ADSENSE_URL = `https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js${adClientId ? '?client=' + adClientId : ''}`;
  
                              util.loadJsAsync(ADSENSE_URL, true, {
                                  crossorigin: "anonymous",
                                  ...propertyObj
                              }).then( () => {
                                  console.log("===> google ads sdk loaded");
                                  this.ifLoadScript = true;
                                  callbackFunc && (callbackFunc instanceof Function) && callbackFunc();
                              }
                              ).catch( (e) => {
                                  console.error(e);
                              }
                              );
                          }
                      },
                      displayAd() {
                          (window.adsbygoogle = window.adsbygoogle || []).push({});
                      },
                      dealGoogleAdSize(ifLandscape) {
                          const inses = document.querySelectorAll("ins.pageCtx_adsbygoogle");
                          if (inses && inses.length) {
                              const insArray = Array.from(inses);
                              if (insArray) {
                                  const size = {
                                      width: `300px`,
                                      height: `250px`
                                  }
                                  const width = window.innerWidth;
                                  if (width >= 340 || ifLandscape) {
                                      size.width = "336px";
                                      size.height = "280px";
                                  }
                                  insArray.forEach(insEle => {
                                      insEle.style.height = size.height;
                                      insEle.style.width = size.width;
                                  }
                                  )
                              }
                          }
                      }
                  },
                  taboola: {
                      ifLoadScript: false,
                      loadScript(scriptNetwork) {
                          if (!this.ifLoadScript) {
                              window._taboola = window._taboola || [];
                              _taboola.push({
                                  article: 'auto'
                              });
                              !function(e, f, u, i) {
                                  if (!document.getElementById(i)) {
                                      e.async = 1;
                                      e.src = u;
                                      e.id = i;
                                      f.parentNode.insertBefore(e, f);
                                  }
                              }(document.createElement('script'), document.getElementsByTagName('script')[0], `//cdn.taboola.com/libtrc/${scriptNetwork || "minigame-network"}/loader.js`, 'tb_loader_script');
                              if (window.performance && typeof window.performance.mark == 'function') {
                                  window.performance.mark('tbl_ic');
                              }
                              this.ifLoadScript = true;
                          }
                      },
                      addAdToContainer(adId, containerStr, ifInsertBefore, propertyObj) {
                          const adEle = document.createElement("div");
                          adEle.setAttribute("id", adId);
                          if (propertyObj) {
                              for (const key in propertyObj) {
                                  if (Object.hasOwnProperty.call(propertyObj, key)) {
                                      const value = propertyObj[key];
                                      adEle.setAttribute(key, value);
                                  }
                              }
                          }
                          const containerEle = document.querySelector(`${containerStr}`);
                          if (containerEle) {
                              if (ifInsertBefore) {
                                  let referenceNode = null;
                                  if (containerEle.hasChildNodes()) {
                                      referenceNode = containerEle.childNodes[0];
                                  }
                                  containerEle.insertBefore(adEle, referenceNode)
                              } else {
                                  containerEle.appendChild(adEle)
                              }
                          }
                          return Promise.resolve();
                      },
                      setAd(propertyObj) {
                          window._taboola = window._taboola || [];
                          _taboola.push({
                              target_type: 'mix',
                              ...propertyObj
                          });
                      },
                      displayAd() {
                          window._taboola = window._taboola || [];
                          _taboola.push({
                              flush: true
                          });
                      }
                  },
                  mda: {
                      addAdToContainer(id, containerStr, ifInsertBefore, propertyObj) {
                          const adEle = document.createElement("div");
                          adEle.setAttribute("id", id);
                          if (propertyObj) {
                              for (const key in propertyObj) {
                                  if (Object.hasOwnProperty.call(propertyObj, key)) {
                                      const value = propertyObj[key];
                                      adEle.setAttribute(key, value);
                                  }
                              }
                          }
                          const containerEle = document.querySelector(`${containerStr}`);
                          if (containerEle) {
                              if (ifInsertBefore) {
                                  let referenceNode = null;
                                  if (containerEle.hasChildNodes()) {
                                      referenceNode = containerEle.childNodes[0];
                                  }
                                  containerEle.insertBefore(adEle, referenceNode)
                              } else {
                                  containerEle.appendChild(adEle)
                              }
                          }
                          return Promise.resolve(adEle);
                      },
                      setAd(currentDom, target_url, material) {
                          currentDom.innerHTML = `
        <a
          href="${target_url}"
          class="clickEnlarge"
          style="width: ${material.width || '100%'};height: ${material.height || '100%'};margin:auto"
        >
          <div
            style="width: 100%;height: 100%;background-repeat: no-repeat;background-position: center;background-size: cover;background-image:url('${material.url || '#'}');"
          ></div>
        </a>
        `;
                      },
                  },
                  iranAd: {
                      ifLoadScript: false,
                      loadScript({appId, callbackFunc}) {
                          if (!this.ifLoadScript) {
                              const iranAdSdkUrl = `https://sdk.minigame.vip/js/adivery.global.js`;
                              return util.loadJsAsync(iranAdSdkUrl, true, {
                                  crossorigin: "anonymous"
                              }).then( () => {
                                  console.log("===> iran ads sdk loaded");
                                  this.ifLoadScript = true;
                                  callbackFunc && (callbackFunc instanceof Function) && callbackFunc();
                                  if (window.Adivery && (window.Adivery.configure instanceof Function)) {
                                      window.Adivery.configure(appId);
                                      return this.ifLoadScript;
                                  }
                              }
                              ).catch( (e) => {
                                  console.error(e);
                              }
                              );
                          } else {
                              return Promise.resolve(this.ifLoadScript);
                          }
                      },
                      addAdToContainer(eleIdStr, containerStr, ifInsertBefore, propertyObj) {
                          const adEle = document.createElement("div");
                          adEle.setAttribute("id", eleIdStr);
                          const adSpanEle = document.createElement("span");
                          adSpanEle.innerHTML = "Ads";
                          adSpanEle.setAttribute("style", "position: absolute;left: 10px;top: 2px;color: #00aecd;font-size: 14px;");
                          adEle.appendChild(adSpanEle);
                          if (propertyObj) {
                              for (const key in propertyObj) {
                                  if (Object.hasOwnProperty.call(propertyObj, key)) {
                                      const value = propertyObj[key];
                                      adEle.setAttribute(key, value);
                                  }
                              }
                          }
                          adEle.style.position = "relative";
                          const containerEle = document.querySelector(`${containerStr}`);
                          if (containerEle) {
                              if (ifInsertBefore) {
                                  let referenceNode = null;
                                  if (containerEle.hasChildNodes()) {
                                      referenceNode = containerEle.childNodes[0];
                                  }
                                  containerEle.insertBefore(adEle, referenceNode)
                              } else {
                                  containerEle.appendChild(adEle)
                              }
                          }
                          return Promise.resolve();
                      },
                      displayAd({placememtId, eleIdStr, style}) {
                          if (window.Adivery && (window.Adivery.requestNativeAd instanceof Function) && placememtId) {
                              if (eleIdStr) {
                                  const ele = document.getElementById(eleIdStr);
                                  if (ele) {
                                      window.Adivery.requestNativeAd(placememtId).then( (ad) => {
                                          if (ad) {
                                              const headlineEle = document.createElement("span");
                                              headlineEle.innerHTML = ad.headline;
                                              headlineEle.setAttribute("style", "position: absolute;right: 10px;top: 2px;font-size: 12px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;width:calc(70% - 20px);direction: rtl;");
                                              ele.appendChild(headlineEle);
                                              const img = document.createElement("img");
                                              img.src = ad.image;
                                              img.setAttribute("style", style ? style : "width: 100%;height: 100%;object-fit: contain;");
                                              img.onclick = () => {
                                                  ad.recordClick();
                                              }
                                              ;
                                              ele.appendChild(img);
                                              const descSpanEle = document.createElement("span");
                                              descSpanEle.innerHTML = ad.description;
                                              descSpanEle.setAttribute("style", "position: absolute;right: 10px;bottom: 5px;font-size: 12px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;width:calc(100% - 20px);direction: rtl;");
                                              ele.appendChild(descSpanEle);
                                          }
                                          console.log(ad);
                                          ad.recordImpression();
                                      }
                                      );
                                  }
                              }
                          }
                      },
                  },
                  adxAd: {
                      ifLoadScript: false,
                      loadScript({adUnits, callbackFunc, keyValueObjects}) {
                          if (!this.ifLoadScript) {
                              const url = `https://securepubads.g.doubleclick.net/tag/js/gpt.js`;
                              return util.loadJsAsync(url, true).then( () => {
                                  console.log("===> adx ads sdk loaded");
                                  this.ifLoadScript = true;
                                  window.googletag = window.googletag || {
                                      cmd: []
                                  };
                                  const scriptEle = document.createElement("script");
                                  scriptEle.text = this.defineAdUnitSlots(adUnits, keyValueObjects);
                                  document.getElementsByTagName("head")[0].appendChild(scriptEle);
                                  callbackFunc && (callbackFunc instanceof Function) && callbackFunc();
                                  return this.ifLoadScript;
                              }
                              ).catch( (e) => {
                                  console.error(e);
                              }
                              );
                          } else {
                              return Promise.resolve(this.ifLoadScript);
                          }
                      },
                      addAdToContainer(id, containerStr, ifInsertBefore, propertyObj) {
                          const adEle = document.createElement("div");
                          adEle.setAttribute("id", id);
                          if (propertyObj) {
                              for (const key in propertyObj) {
                                  if (Object.hasOwnProperty.call(propertyObj, key)) {
                                      const value = propertyObj[key];
                                      adEle.setAttribute(key, value);
                                  }
                              }
                          }
                          const scriptEle = document.createElement("script");
                          scriptEle.text = `googletag.cmd.push(function() {
              googletag.display('${id}'); 
            });`
                          adEle.appendChild(scriptEle);
                          const containerEle = document.querySelector(`${containerStr}`);
                          if (containerEle) {
                              if (ifInsertBefore) {
                                  let referenceNode = null;
                                  if (containerEle.hasChildNodes()) {
                                      referenceNode = containerEle.childNodes[0];
                                  }
                                  containerEle.insertBefore(adEle, referenceNode)
                              } else {
                                  containerEle.appendChild(adEle)
                              }
                          }
                          return Promise.resolve(adEle);
                      },
                      defineAdUnitSlots(adUnits=[], keyValueObjects) {
                          const notDislayTypes = ['INTERSTITIAL', 'TOP_ANCHOR', 'BOTTOM_ANCHOR', 'REWARDED'];
                          // googletag.enums.OutOfPageFormat
                          const outOfPageAdUnits = adUnits.filter(adUnit => notDislayTypes.includes(adUnit.type));
                          const displayAdUnits = adUnits.filter(adUnit => !notDislayTypes.includes(adUnit.type));
  
                          const outOfPageSlotStr = outOfPageAdUnits.map( (adUnit, index) => {
                              return `
                const outOfPageSlot_${index} = googletag.defineOutOfPageSlot(
                  '${adUnit.adUnitCode}',
                  googletag.enums.OutOfPageFormat['${adUnit.type}']);
                if (outOfPageSlot_${index}) {
                  outOfPageSlot_${index}.addService(googletag.pubads());
                }
              `
                          }
                          ).join('\n')
  
                          const slotStr = displayAdUnits.map(adUnit => {
                              if (!(adUnit.adUnitCode && adUnit.size && adUnit.elementId)) {
                                  return '';
                              }
                              return `googletag.defineSlot(
                  "${adUnit.adUnitCode}",
                  ${JSON.stringify(adUnit.size)},
                  "${adUnit.elementId}").addService(googletag.pubads());`;
                          }
                          ).join('\n')
  
                          let keyValueStr = "";
                          if (keyValueObjects) {
                              (Object.keys(keyValueObjects)).forEach(key => {
                                  if (keyValueObjects[key] && Array.isArray(keyValueObjects[key]) && keyValueObjects[key].length > 0) {
                                      keyValueStr += `googletag.pubads().setTargeting('${key}', ${"['" + keyValueObjects[key].map(String).join("','") + "']"});`
                                  } else if (keyValueObjects[key] && !Array.isArray(keyValueObjects[key])) {
                                      keyValueStr += `googletag.pubads().setTargeting('${key}', ${"'" + keyValueObjects[key] + "'"});`
                                  }
  
                              }
                              );
                          }
  
                          return `googletag.cmd.push(function() {
              ${outOfPageSlotStr}
              ${slotStr}
              ${keyValueStr}
              googletag.pubads().enableSingleRequest();
              googletag.pubads().collapseEmptyDivs();
              googletag.enableServices();
            })`
                      },
                  },
                  commomFuncObj: {
                      changAdByTime(adEleArray, autoTime, ifCycle) {
                          if (adEleArray && Array.isArray(adEleArray)) {
                              let index = 0;
                              const func = () => {
                                  index = (index === (adEleArray.length - 1) ? 0 : (++index))
                                  adEleArray.forEach( (m, i) => {
                                      if (m && m.style) {
                                          m.style.display = index === i ? 'block' : 'none';
                                      }
                                  }
                                  )
                                  ifCycle && setTimeout(func, autoTime * 1000)
                              }
                              setTimeout(func, autoTime * 1000)
                          }
                      }
                  }
              }
          </script>
          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
          <link rel="icon" type="image/x-icon" href="/static/images/favicon.ico"/>
          <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
          <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
          <link rel="canonical" href="https://www.minigame.vip/gamebox"/>
          <title>Play Minigame and Have Fun
                </title>
          <meta name="keywords" content="play,game,oline,h5 games,free games, online games"/>
          <meta name="description" content="Welcome To MiniGame Center, We add Online Games or Popular games or New Games or Hot Games for every day! Play Best Online Games On Minigame"/>
          <!-- Global site tag (gtag.js) - Google Analytics -->
          <script async src="https://www.googletagmanager.com/gtag/js?id=G-40DT4M215E"></script>
          <script>
              window.dataLayer = window.dataLayer || [];
              function gtag() {
                  dataLayer.push(arguments);
              }
              gtag('js', new Date());
              gtag('config', "G-40DT4M215E");
          </script>
          <style>
              :root {
                  --theme-color: #000;
                  --theme-color-secondary: #999;
                  --theme-color-primary: #4582FF;
                  --theme-background: #fff;
                  --theme-background-secondary: #fff;
                  --theme-content-background: #fff;
                  --border-radius: 8px;
                  --border-radius-sm: 12px;
                  --border-radius-lg: 15px;
                  --font-size-sm: 12px;
                  --font-size-lg: 18px;
                  --font-size-xl: 20px;
                  --play-btn-bg: #fff;
                  --play-btn-color: #fff;
                  --play-btn-padding-top-bottom: 4px;
                  --play-btn-padding-left-right: 24px;
              }
  
              body {
                  background-color: var(--theme-background);
                  font-family: Helvetica;
              }
  
              .play-btn {
                  display: inline-block;
                  text-align: center;
                  font-size: var(--font-size-sm);
                  font-weight: 500;
                  line-height: 17px;
                  color: var(--play-btn-color);
                  border-radius: var(--border-radius-sm);
                  background-color: var(--play-btn-bg);
                  padding: var(--play-btn-padding-top-bottom) var(--play-btn-padding-left-right);
              }
  
              .play-btn.is-primary {
                  background-color: var(--theme-color-primary);
              }
  
              .ellipsis {
                  overflow: hidden;
                  text-overflow: ellipsis;
                  white-space: nowrap;
              }
  
              .text-center {
                  text-align: center;
              }
  
              * {
                  -webkit-tap-highlight-color: transparent;
              }
  
              body, html {
                  margin: 0;
                  padding: 0;
                  width: 100%;
                  height: 100%
              }
  
              .globalMain {
                  display: flex;
                  position: relative;
                  flex-direction: column;
                  align-items: center;
                  width: 100%;
                  min-height: 100vh
              }
  
              .globalMain:after {
                  position: fixed;
                  left: 0;
                  top: 0;
                  z-index: -1;
                  width: 100vw;
                  height: 100vh;
                  content: ""
              }
  
              .divUrl {
                  display: none;
                  overflow: hidden;
                  z-index: 4;
                  width: 100vw;
                  height: 0;
                  font-weight: 800;
                  font-size: 20px;
                  color: #747474;
                  transition: height .5s
              }
  
              .mainStyle {
                  display: flex;
                  overflow-x: hidden;
                  flex-direction: column;
                  align-items: center;
                  width: 100%;
                  min-height: calc(100vh - 125px)
              }
  
              .clickEnlarge:active {
                  -webkit-tap-highlight-color: transparent;
                  animation: clickEnlarge 0.2s linear;
              }
  
              @keyframes clickEnlarge {
                  0% {
                      transform: scale(1);
                      box-shadow: 0 3px 18px 0 rgb(0 0 0 / 16%);
                  }
  
                  100% {
                      transform: scale(1.4);
                      box-shadow: 0 3px 18px 0 rgb(0 0 0 / 16%);
                  }
              }
  
              .display-center-center {
                  display: flex;
                  justify-content: center;
                  align-items: center;
              }
  
              img {
                  font-size: 16px;
                  overflow: hidden;
              }
          </style>
          <script>
              window.addEventListener("DOMContentLoaded", function handleDOMContentLoaded() {
                  window.gtag && util && util.logEvent(window.gtag, "page_load", "gameboxPage", "", 0, true);
              })
          </script>
          <style>
              * {
                  box-sizing: border-box;
                  cursor: pointer;
              }
  
              .mainStyle {
                  display: block;
              }
  
              .gamebox[css-gamebox] {
                  --nav-block-background: #1fb3ff;
                  --hotGame-margin: 8px 0;
                  --hotGame-border-radius: 15px;
                  --hotGame-heigth: 4.6rem;
                  margin: auto;
                  min-width: 320px;
                  max-width: 450px;
                  margin: 0 auto;
                  padding: 0 10px 8px;
              }
  
              .gamebox[css-gamebox] .absolute {
                  position: absolute;
              }
  
              .gamebox[css-gamebox] .flexCenter {
                  display: flex;
                  justify-content: center;
                  align-items: center;
              }
  
              .gamebox[css-gamebox] > .nav-block {
                  height: 1rem;
                  width: 100%;
                  display: flex;
                  justify-content: center;
                  align-items: center;
                  background: var(--nav-block-background);
                  border-radius: 8px;
                  box-shadow: 0 3px 18px 0 rgb(0 0 0 / 16%);
              }
  
              .gamebox[css-gamebox] > .website-desc {
                  word-break: break-word;
                  font-weight: bolder;
                  font-family: Helvetica;
                  width: 100%;
                  font-size: 18px;
                  box-shadow: 0 3px 18px 0 rgb(0 0 0 / 16%);
                  padding: 0 10px;
                  margin-top: 8px;
                  overflow: auto;
              }
  
              .gamebox[css-gamebox] > .website-desc a {
                  text-decoration: underline;
                  color: rgb(55, 142, 245);
              }
  
              .gamebox[css-gamebox] > .website-desc h1 {
                  border-bottom: 1px solid #e3e3e5;
                  color: rgb(55, 142, 245);
                  font-size: 27px;
              }
  
              .gamebox[css-gamebox] > .website-desc h2 {
                  color: #747474;
              }
  
              .gamebox[css-gamebox] > .website-desc p, .gamebox[css-gamebox] > .website-desc li {
                  color: rgb(128, 144, 170);
              }
  
              .gamebox[css-gamebox] > .nav-block >a {
                  height: 100%;
                  width: 100%;
                  font-size: 25px;
                  text-decoration: none;
                  color: #fff;
                  font-weight: bolder;
              }
  
              .gamebox[css-gamebox]>.hotGame {
                  height: var(--hotGame-heigth);
                  width: 100%;
                  border-radius: var(--hotGame-border-radius);
                  box-shadow: 0 3px 18px 0 rgb(0 0 0 / 16%);
                  margin: var(--hotGame-margin);
              }
  
              .gamebox[css-gamebox]>#hotGamePlaceholder>.hotGameSkeleton {
                  height: var(--hotGame-heigth);
                  width: 100%;
                  border-radius: var(--hotGame-border-radius);
                  margin: var(--hotGame-margin);
              }
  
              .gamebox[css-gamebox]>.hotGame, .gamebox[css-gamebox]>.hotGame>.hotGame-body {
                  background-position: center;
                  background-repeat: no-repeat;
                  background-size: cover;
              }
  
              .gamebox[css-gamebox]>.hotGame>a {
                  width: 100%;
                  height: 100%;
                  display: flex;
              }
  
              .gamebox[css-gamebox]>.hotGame>a>img {
                  width: 100%;
                  height: 100%;
                  border-radius: var(--hotGame-border-radius);
                  object-fit: cover;
              }
  
              .gamebox[css-gamebox]>.box {
                  background-color: #000;
                  overflow: hidden;
                  position: relative;
              }
  
              .gamebox[css-gamebox] .title {
                  position: absolute;
                  top: 0.2rem;
                  z-index: 1;
                  font-size: 0.3rem;
                  color: #fff;
              }
  
              .gamebox[css-gamebox] .reflash {
                  position: absolute;
                  top: 0.15rem;
                  right: .5rem;
                  z-index: 1;
                  border-radius: 0.1rem;
                  width: 0.6rem;
                  height: 0.6rem;
                  background-image: url(/static/images/gamebox/reflash.png);
                  background-repeat: no-repeat;
                  background-size: contain;
                  background-position: center;
                  display: none;
              }
  
              :root {
                  --glow: rgba(255, 195, 26, 0.4);
              }
  
              .gamebox[css-gamebox] .hexagon {
                  z-index: -2;
                  position: relative;
                  width: 3.2rem;
                  height: 1.8476rem;
                  background-color: var(--glow);
                  margin: 0.4238rem 0;
                  filter: blur(20px);
              }
  
              .gamebox[css-gamebox] .hexagon:before, .gamebox[css-gamebox] .hexagon:after {
                  content: "";
                  position: absolute;
                  width: 0;
                  border-left: 1.6rem solid transparent;
                  border-right: 1.6rem solid transparent;
              }
  
              .gamebox[css-gamebox] .hexagon:before {
                  bottom: 100%;
                  border-bottom: 0.9238rem solid var(--glow);
              }
  
              .gamebox[css-gamebox] .hexagon:after {
                  top: 100%;
                  width: 0;
                  border-top: 0.9238rem solid var(--glow);
              }
  
              .gamebox[css-gamebox] .site {
                  background-size: cover;
                  background-position: center;
                  z-index: 1;
                  width: 3rem;
                  left: 0;
                  top: 0;
                  bottom: 0;
                  right: 0;
                  margin: 0 auto;
                  height: 3rem;
              }
  
              .gamebox[css-gamebox] .back {
                  background-image: url("/static/images/gamebox/bg.png");
              }
  
              .gamebox[css-gamebox] .top {
                  background-image: url("/static/images/gamebox/top.png");
              }
  
              .gamebox[css-gamebox] .left {
                  background-image: url("/static/images/gamebox/left.png");
              }
  
              .gamebox[css-gamebox] .right {
                  background-image: url("/static/images/gamebox/right.png");
              }
  
              .gamebox[css-gamebox] #cube {
                  animation: hover 1.5s ease-in-out infinite alternate;
                  transition: transform 300ms;
                  animation-play-state: running;
                  margin-top: 0.34rem;
              }
  
              .gamebox[css-gamebox] .powerup {
                  background-size: cover;
                  border-radius: 50%;
                  overflow: hidden;
                  height: 0.96rem;
                  width: 0.96rem;
                  z-index: -5;
                  left: 0;
                  top: 0.6rem;
                  bottom: 0;
                  right: 0;
                  margin: 0 auto;
              }
  
              .gamebox[css-gamebox] .play {
                  border-radius: 0.1rem;
                  overflow: hidden;
                  height: 0.48rem;
                  width: 2rem;
                  z-index: -5;
                  left: 0;
                  top: 2.4rem;
                  bottom: 0;
                  right: 0;
                  margin: 0 auto;
                  background: #fff;
                  font-size: 0.3rem;
                  color: #378ef5;
                  font-weight: bolder;
                  opacity: 0;
              }
  
              ins.adsbygoogle {
                  margin-bottom: 8px;
                  text-align: center;
              }
  
              ins.adsbygoogle[data-ad-status="unfilled"] {
                  display: none !important;
              }
  
              @keyframes hover {
                  from {
                      transform: translateY(-0.2rem);
                  }
  
                  to {
                      transform: translateY(0.2rem);
                  }
              }
          </style>
          <script src="/static/lib/handlebars/handlebars.runtime.min.js" defer></script>
          <script src="/static/scripts/gamebox.precompiled.min.js" defer></script>
          <script>
              const setFontSize = () => {
                  document.documentElement.style.fontSize = 100 * ((document.documentElement.clientWidth > 450 ? 450 : document.documentElement.clientWidth)) / 750 + 'px';
              }
              window.onresize = setFontSize;
              setFontSize();
              window.addEventListener("scroll", checkImgFunc);
          </script>
      </head>
      <body>
          <div id="adxAd-gamebox-ctx"></div>
          <script>
              const gameboxHeadAdOptions = {
                  "adUnitCode": "/23124119865/minigameam/gamebox_header.banner",
                  "size": [300, 250],
                  "elementId": "adxAd-gamebox-ad",
                  "app_id": "crazy-ball"
              };
              window.mini_adx_ready_status = adsObj.adxAd.loadScript({
                  adUnits: [{
                      adUnitCode: gameboxHeadAdOptions.adUnitCode,
                      size: gameboxHeadAdOptions.size || [300, 250],
                      elementId: gameboxHeadAdOptions.elementId || "adxAd-gamebox-ad"
                  }, {
                      adUnitCode: gameboxHeadAdOptions.adUnitCode,
                      size: gameboxHeadAdOptions.size || [300, 250],
                      elementId: "adxAd-gamebox-game-4_5-ad"
                  }, ]
              }).then(flag => {
                  if (flag) {
                      adsObj.adxAd.addAdToContainer(gameboxHeadAdOptions.elementId || "adxAd-gamebox-ad", "#adxAd-gamebox-ctx", false, {
                          style: 'min-width:300px;min-height:250px;text-align:center;margin-bottom:8px;'
                      });
                  }
                  return flag
              }
              );
          </script>
          <main class="mainStyle">
              <div class="gamebox" css-gamebox="">
                  <div class="nav-block">
                      <img src="/static/images/logo.png" alt="logo" style="height: .8rem; ">
                  </div>
                  <div class="box flexCenter hotGame" style="display:none;">
                      <div class="title">Click To Unbox Today's Mystery</div>
                      <div class="reflash"></div>
                      <div id="cube">
                          <div class="hexagon absolute"></div>
                          <div class="back  absolute"></div>
                          <div class="top  absolute site"></div>
                          <div class="left  absolute site"></div>
                          <div class="right  absolute site"></div>
                          <div class="powerup absolute site"></div>
                          <div class="play absolute flexCenter">PLAY NOW</div>
                      </div>
                  </div>
                  <div id="hotGamePlaceholder">
                      <div class="skeleton hotGameSkeleton"></div>
                      <div class="skeleton hotGameSkeleton"></div>
                      <div class="skeleton hotGameSkeleton"></div>
                      <style>
                          .skeleton {
                              height: 70px;
                              width: 70px;
                              border-radius: 100%;
                              background: linear-gradient(90deg, rgba(0, 0, 0, 0.06) 25%, rgba(0, 0, 0, 0.15) 37%, rgba(0, 0, 0, 0.06) 63%);
                              background-size: 400% 100%;
                              animation: skeleton-animation 1.5s ease infinite;
                          }
  
                          @keyframes skeleton-animation {
                              0% {
                                  background-position: 100% 50%;
                              }
  
                              100% {
                                  background-position: 0 50%;
                              }
                          }
                      </style>
                  </div>
                  <div id="moreGameNav" class="nav-block">
                      <a class="flexCenter" href="/home">More Games
                  </a>
                  </div>
                  <div class="website-desc">
                      <h1 id="about-minigame-center">ABOUT MINIGAME CENTER</h1>
                      <h2 id="oline-games-on-minigamecom---fun-time-with-friends">Oline Games on MINIGAME.COM - Fun Time With Friends</h2>
                      <p>Minigame Center has the best free online games selection and offers the most fun experience to play alone or with friends.</p>
                      <p>We offer instant play to all our games without downloads, login, popups or other distractions. </p>
                      <p>You can play all these free games on your mobile, pad and tablet without installation.</p>
                      <h2 id="our-game-selection">Our game selection</h2>
                      <p>Game developers release fun New Games on our platform on a daily basis.</p>
                      <p>Including:</p>
                      <ul>
                          <li>Match-3 Games</li>
                          <li>Dress Up Games</li>
                          <li>Shooting Games</li>
                          <li>2 Player Games</li>
                          <li>Io Games</li>
                          <li>Thinking Games</li>
                          <li>Strategy Games</li>
                          <li>Parkour Games and more!</li>
                      </ul>
                      <p>Unsure what game to play? Start your game discovery on our homepage or pick a game from any of these popular categories.</p>
                      <h2 id="start-playing">Start Playing!!!</h2>
                      <p>If you &#39;re ready to begin playing right now, just simply select your preferred game and click to relax and play. We add brand new games on a daily basis so you will never get bored at here.</p>
                      <ol>
                          <li>
                              <a href="/game/popstone2/play">Pop Stone 2</a>
                          </li>
                          <li>
                              <a href="/game/bubble-legend/play">Bubble Legend</a>
                          </li>
                          <li>
                              <a href="/game/bubble-spinner/play">Bubble Spinner</a>
                          </li>
                          <li>
                              <a href="/game/idle-dino/play">Idle Dinosaurs</a>
                          </li>
                          <li>
                              <a href="/game/crazy-road/play">Crazy Road</a>
                          </li>
                      </ol>
                      <h2 id="more-information">More Information</h2>
                      <p>For more information, please visit our pages on:</p>
                      <ul>
                          <li>
                              <a href="https://www.facebook.com/Minigamevip-109189840518002">Facebook Page</a>
                          </li>
                          <li>
                              <a href="https://play.google.com/store/apps/developer?id=MiniGame.vip">Google Play</a>
                          </li>
                          <li>
                              <a href="https://minigame.com">https://minigame.com</a>
                          </li>
                      </ul>
                  </div>
              </div>
          </main>
          <script>
              if (util) {
                  util.replaceSubChannelId();
              }
          </script>
      </body>
      <script>
          const cube = document.querySelector("#cube");
          const cback = document.querySelector(".back");
          const ctop = document.querySelector(".top");
          const cleft = document.querySelector(".left");
          const cright = document.querySelector(".right");
          const glow = document.querySelector(".hexagon");
          const powerup = document.querySelector(".powerup");
          const play = document.querySelector(".play");
          const reflash = document.querySelector(".reflash");
          const titles = ["Click To Unbox Today's Mystery", "Change Another One"]
          const title = document.querySelector(".title")
          const transitionTime = "750ms";
          let boxSites = [];
          boxSites = boxSites.filter(m => m.type === 1);
          const sitesLength = boxSites.length;
          let c = 0;
          let randIndex = 0;
  
          ctop.style.transition = `all ${transitionTime}`;
          cleft.style.transition = `all ${transitionTime}`;
          cright.style.transition = `all ${transitionTime}`;
          cube.style.transition = `all ${transitionTime}`;
          powerup.style.transition = `all ${transitionTime}`;
          glow.style.transition = `all ${transitionTime}`;
          cback.style.transition = `all ${transitionTime}`;
          play.style.transition = `all ${transitionTime}`;
  
          let isOpen = false;
          cube.addEventListener("click", openCube);
          reflash.addEventListener("click", openCube);
          [play, powerup].forEach(m => {
              m.addEventListener("click", (e) => {
                  e.stopPropagation();
                  if (boxSites[randIndex] && boxSites[randIndex].type === 1 && boxSites[randIndex].detail && boxSites[randIndex].detail.app_id) {
                      window.location = `/game/${boxSites[randIndex].detail.app_id}/play?from=box`;
                  }
  
              }
              );
          }
          )
          function openCube() {
              if (!isOpen) {
                  isOpen = true;
                  award();
                  ctop.style.transform = "translateY(-1rem)";
                  cleft.style.transform = "translateX(-1rem)";
                  cright.style.transform = "translateX(1rem)";
                  ctop.style.opacity = 0.1;
                  cleft.style.opacity = 0.1;
                  cright.style.opacity = 0.1;
                  cback.style.opacity = 0.1;
                  glow.style.opacity = 0.5;
                  powerup.style.opacity = 1;
                  cube.style.animationPlayState = "paused";
                  powerup.style.zIndex = 10;
                  powerup.style.height = "1.6rem";
                  powerup.style.width = "1.6rem";
                  play.style.zIndex = 10;
                  play.style.opacity = 1;
                  reflash.style.display = "block";
                  title.innerHTML = titles[1];
              } else {
                  isOpen = false;
                  ctop.style.transform = "translateY(0)";
                  cleft.style.transform = "translateX(0)";
                  cright.style.transform = "translateX(0)";
                  cube.style.opacity = 1;
                  ctop.style.opacity = 1;
                  cleft.style.opacity = 1;
                  cright.style.opacity = 1;
                  cback.style.opacity = 1;
                  glow.style.opacity = 1;
                  powerup.style.opacity = 0;
                  powerup.style.zIndex = 0;
                  cube.style.animationPlayState = "running";
                  powerup.style.height = "0.96rem";
                  powerup.style.width = "0.96rem";
                  changeVar("rgba(255,195,26,0.4)");
                  play.style.zIndex = -5;
                  play.style.opacity = 0;
                  reflash.style.display = "none";
                  title.innerHTML = titles[0];
              }
          }
  
          function changeVar(glow) {
              document.documentElement.style.setProperty("--glow", glow);
          }
  
          function award() {
              if (sitesLength > 0) {
                  randIndex 
endpoints.name: https://augx111games.minigameam.com/static/images/favicon.ico
endpoints.name: https://augx111games.minigameam.com/favicon.ico
endpoints.html_title: Play Minigame and Have Fun
                
endpoints.supported_versions: HTTP/1.1 HTTP/2
endpoints.banner: HTTP/1.1 200 OK
  Server: Tengine
  Content-Type: text/html; charset=utf-8
  Content-Length: 34180
  Connection: keep-alive
  Date:  <REDACTED>
  x-oss-request-id: 68ED05640A93063430834C38
  Accept-Ranges: bytes
  x-oss-object-type: Normal
  x-oss-storage-class: Standard
  Vary: Accept-Encoding
  Last-Modified: Wed, 06 Aug 2025 09:30:26 GMT
  x-oss-hash-crc64ecma: 7305753706211108815
  Content-MD5: +mBh2a/ReNb+9b2txQac1A==
  x-oss-server-time: 20
  Content-Encoding: gzip
  Via: cache4.l2sg2[34,40,200-0,H], cache1.l2sg2[43,0], ens-cache4.sg17[1039,1039,200-0,M], ens-cache6.sg17[1045,0]
  Age: 0
  Ali-Swift-Global-Savetime: 1760363876
  X-Cache: MISS TCP_MISS dirn:-2:-2
  X-Swift-SaveTime: Mon, 13 Oct 2025 13:57:56 GMT
  X-Swift-CacheTime: 2592000
  Timing-Allow-Origin: *
  EagleId: a3b5a09a17603638753367444e
  
endpoints.ip: 163.181.160.143
[binary data, 10 values, 231 bytes]