Загрузка данных


Windows PowerShell 5.1
(C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.

PS C:\Users\str> $root = 'C:\Temp\pepper42-build\wgt-staging'
PS C:\Users\str> $js = Join-Path $root 'static\js'
PS C:\Users\str>
PS C:\Users\str> Write-Host "`n===== ЗАПУСК NaCl И ВОССТАНОВЛЕНИЕ UI ====="

===== ЗАПУСК NaCl И ВОССТАНОВЛЕНИЕ UI =====
PS C:\Users\str> Select-String -Path "$js\common.js","$js\index.js" `
>>     -Pattern 'moduleDidLoad|loadHTTPCertsCb|restoreUiAfterNaClLoad|changeUiModeForNaClLoad|attachDefaultListeners|DOMContentLoaded|moduleEl.onerror|moduleEl.on' `
>>     -Context 5,12

  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:104:    // Request the offsetTop property to force a relayout.
 As of Apr 10, 2014
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:105:    // this is needed if the module is being loaded on a C
hrome App's
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:106:    // background page (see crbug.com/350445).
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:107:    moduleEl.offsetTop;
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:108:
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:109:    // Host plugins don't send a moduleDidLoad message. We
'll fake it here.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:110:    var isHost = isHostToolchain(tool);
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:111:    if (isHost) {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:112:      window.setTimeout(function() {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:113:        moduleEl.readyState = 1;
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:114:        moduleEl.dispatchEvent(new CustomEvent('loadstart'
));
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:115:        moduleEl.readyState = 4;
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:116:        moduleEl.dispatchEvent(new CustomEvent('load'));
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:117:        moduleEl.dispatchEvent(new CustomEvent('loadend'))
;
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:118:      }, 100); // 100 ms
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:119:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:120:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:121:
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:126:   * The "load" event is sent when the module is successfu
lly loaded. The
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:127:   * "message" event is sent when the naclModule posts a m
essage using
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:128:   * PPB_Messaging.PostMessage() (in C) or pp::Instance().
PostMessage() (in
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:129:   * C++).
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:130:   */
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:131:  function attachDefaultListeners() {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:132:    var listenerDiv = document.getElementById('listener');
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:133:    listenerDiv.addEventListener('load', moduleDidLoad, tr
ue);
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:134:    listenerDiv.addEventListener('message', handleMessage,
 true);
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:135:    listenerDiv.addEventListener('error', handleError, tru
e);
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:136:    listenerDiv.addEventListener('crash', handleCrash, tru
e);
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:137:    if (typeof window.attachListeners !== 'undefined') {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:138:      window.attachListeners();
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:139:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:140:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:141:
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:142:  /**
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:143:   * Called when the NaCl module fails to load.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:144:   *
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:145:   * This event listener is registered in createNaClModule
 above.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:153:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:154:
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:155:  /**
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:156:   * Called when the Browser can not communicate with the
Module
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:157:   *
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:158:   * This event listener is registered in attachDefaultLis
teners above.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:159:   */
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:160:  function handleCrash(event) {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:161:    console.log('%c[handleCrash, common.js]', 'color: red;
', event);
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:162:    if (common.naclModule.exitStatus == -1) {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:163:      updateStatus('CRASHED');
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:164:    } else {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:165:      updateStatus('EXITED [' + common.naclModule.exitStat
us + ']');
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:166:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:167:    if (typeof window.handleCrash !== 'undefined') {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:168:      window.handleCrash(common.naclModule.lastError);
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:169:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:170:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:171:
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:172:  /**
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:173:   * Called when the NaCl module is loaded.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:174:   *
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:175:   * This event listener is registered in attachDefaultLis
teners above.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:176:   */
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:177:  function moduleDidLoad() {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:178:    common.naclModule = document.getElementById('nacl_modu
le');
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:179:    updateStatus('RUNNING');
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:180:
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:181:    if (typeof window.moduleDidLoad !== 'undefined') {
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:182:      window.moduleDidLoad();
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:183:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:184:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:185:
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:186:  /**
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:187:   * Hide the NaCl module's embed element.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:188:   *
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:189:   * We don't want to hide by default; if we do, it is har
der to determine that
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:190:   * a plugin failed to load. Instead, call this function
inside the example's
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:191:   * "moduleDidLoad" function.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:192:   *
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:193:   */
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:194:  function hideModule() {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:195:    // Setting common.naclModule.style.display = "None" do
esn't work; the
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:196:    // module will no longer be able to receive postMessag
es.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:197:    common.naclModule.style.height = '0';
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:198:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:199:
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:200:  /**
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:201:   * Remove the NaCl module from the page.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:202:   */
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:203:  function removeModule() {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:286:   * @param {string} path Directory name where .nmf file c
an be found.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:287:   * @param {number} width The width to create the plugin.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:288:   * @param {number} height The height to create the plugi
n.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:289:   * @param {Object} attrs Optional dictionary of addition
al attributes.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:290:   */
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:291:  function domContentLoaded(name, tool, path, width, heigh
t, attrs) {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:292:    // If the page loads before the Native Client module l
oads, then set the
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:293:    // status message indicating that the module is still
loading.  Otherwise,
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:294:    // do not change the status message.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:295:    updateStatus('Page loaded.');
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:296:    if (!browserSupportsNaCl(tool)) {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:297:      updateStatus('Browser does not support NaCl (' + too
l + '), or NaCl is disabled');
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:298:    } else if (common.naclModule == null) {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:299:      updateStatus('Browser supports NaCl (' + tool + ')')
;
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:300:      updateStatus('Creating embed: ' + tool);
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:301:
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:302:      // We use a non-zero sized embed to give Chrome spac
e to place the bad
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:303:      // plug-in graphic, if there is a problem.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:304:      width = typeof width !== 'undefined' ? width : 200;
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:305:      height = typeof height !== 'undefined' ? height : 20
0;
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:306:      attachDefaultListeners();
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:307:      createNaClModule(name, tool, path, width, height, at
trs);
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:308:    } else {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:309:      // It's possible that the Native Client module onloa
d event fired
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:310:      // before the page's onload event.  In this case, th
e status message
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:311:      // will reflect 'SUCCESS', but won't be displayed.
This call will
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:312:      // display the current message.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:313:      updateStatus('Waiting.');
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:314:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:315:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:316:
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:317:  /** Saved text to display in the element with id 'status
Field'. */
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:318:  var statusText = 'NO-STATUSES';
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:339:  // The symbols to export.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:340:  return {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:341:    /** A reference to the NaCl module, once it is loaded.
 */
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:342:    naclModule: null,
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:343:
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:344:    attachDefaultListeners: attachDefaultListeners,
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:345:    domContentLoaded: domContentLoaded,
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:346:    createNaClModule: createNaClModule,
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:347:    hideModule: hideModule,
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:348:    removeModule: removeModule,
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:349:    logMessage: logMessage,
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:350:    updateStatus: updateStatus
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:351:  };
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:352:
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:353:}());
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:354:
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:355:// Listen for the DOM content to be loaded. This event is
fired when parsing of
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:356:// the page's document has finished.
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:357:document.addEventListener('DOMContentLoaded', function() {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:358:  var body = document.body;
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:359:
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:360:  // The data-* attributes on the body can be referenced v
ia body.dataset.
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:361:  if (body.dataset) {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:362:    var loadFunction;
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:363:    if (!body.dataset.customLoad) {
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:364:      loadFunction = common.domContentLoaded;
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:365:    } else if (typeof window.domContentLoaded !== 'undefin
ed') {
> C:\Temp\pepper42-build\wgt-staging\static\js\common.js:366:      loadFunction = window.domContentLoaded;
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:367:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:368:
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:369:    // From https://developer.mozilla.org/en-US/docs/DOM/w
indow.location
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:370:    var searchVars = {};
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:371:    if (window.location.search.length > 1) {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:372:      var pairs = window.location.search.substr(1).split('
&');
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:373:      for (var key_ix = 0; key_ix < pairs.length; key_ix++
) {
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:374:        var keyValue = pairs[key_ix].split('=');
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:375:        searchVars[unescape(keyValue[0])] =
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:376:          keyValue.length > 1 ? unescape(keyValue[1]) : ''
;
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:377:      }
  C:\Temp\pepper42-build\wgt-staging\static\js\common.js:378:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:5:var api; // `api` should only be set if we're in a host-speci
fic screen. on the initial screen it should always be null.
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:6:var isInGame = false; // flag indicating whether the game str
eam started
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:7:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:8:// Called by the common.js module.
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:9:function attachListeners() {
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:10:  changeUiModeForNaClLoad();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:11:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:12:  $('.resolutionMenu li').on('click', saveResolution);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:13:  $('.framerateMenu li').on('click', saveFramerate);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:14:  $('#bitrateSlider').on('input', updateBitrateField); // in
put occurs every notch you slide
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:15:  //$('#bitrateSlider').on('change', saveBitrate); //FIXME:
it seems not working
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:16:  $("#remoteAudioEnabledSwitch").on('click', saveRemoteAudio
);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:17:  $("#mouseLockEnabledSwitch").on('click', saveMouseLock);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:18:  $('#optimizeGamesSwitch').on('click', saveOptimize);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:19:  $('#addHostCell').on('click', addHost);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:20:  $('#backIcon').on('click', showHostsAndSettingsMode);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:21:  $('#quitCurrentApp').on('click', stopGameWithConfirmation)
;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:22:  $(window).resize(fullscreenNaclModule);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:56:      gamepadMapping[key]();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:57:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:58:  });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:59:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:60:
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:61:function changeUiModeForNaClLoad() {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:62:  $('#main-navigation').children().hide();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:63:  $("#main-content").children().not("#listener, #naclSpinner
").hide();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:64:  $('#naclSpinnerMessage').text('Loading Moonlight plugin...
');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:65:  $('#naclSpinner').css('display', 'inline-block');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:66:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:67:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:68:function startPollingHosts() {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:69:  for (var hostUID in hosts) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:70:    beginBackgroundPollingOfHost(hosts[hostUID]);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:71:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:72:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:73:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:75:  for (var hostUID in hosts) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:76:    stopBackgroundPollingOfHost(hosts[hostUID]);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:77:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:78:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:79:
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:80:function restoreUiAfterNaClLoad() {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:81:  $('#main-navigation').children().not("#quitCurrentApp").sh
ow();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:82:  $("#main-content").children().not("#listener, #naclSpinner
, #game-grid").show();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:83:  $('#naclSpinner').hide();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:84:  $('#loadingSpinner').css('display', 'none');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:85:  Navigation.push(Views.Hosts);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:86:  showHostsAndSettingsMode();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:87:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:88:  findNvService(function (finder, opt_error) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:89:    if (finder.byService_['_nvstream._tcp']) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:90:      var ips = Object.keys(finder.byService_['_nvstream._tc
p']);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:91:      for (var i in ips) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:92:        var ip = ips[i];
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:183:function updateBitrateField() {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:184:  $('#bitrateField').html($('#bitrateSlider').val() + " Mbp
s");
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:185:  saveBitrate();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:186:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:187:
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:188:function moduleDidLoad() {
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:189:  openIndexDB(loadHTTPCertsCb);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:190:}
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:191:function loadHTTPCertsCb() {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:192:  console.log('load the HTTP cert and unique ID if we have
one.');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:193:  getData('cert', function (savedCert) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:194:    if (savedCert.cert != null) { // we have a saved cert
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:195:      pairingCert = savedCert.cert;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:196:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:197:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:198:    getData('uniqueid', function (savedUniqueid) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:199:      // See comment on myUniqueid
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:200:      /*if (savedUniqueid.uniqueid != null) { // we have a
saved uniqueid
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:201:        myUniqueid = savedUniqueid.uniqueid;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:202:      } else {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:203:        myUniqueid = uniqueid();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:204:        storeData('uniqueid', myUniqueid, null);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:205:      }*/
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:206:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:207:      if (!pairingCert) { // we couldn't load a cert. Make
one.
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:208:        console.warn('%c[index.js, moduleDidLoad]', 'color:
 green;', 'Failed to load local cert. Generating new one');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:209:        sendMessage('makeCert', []).then(function (cert) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:210:          storeData('cert', cert, null);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:211:          pairingCert = cert;
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:212:          console.info('%c[index.js, moduleDidLoad]', 'colo
r: green;', 'Generated new cert:', cert);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:213:        }, function (failedCert) {
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:214:          console.error('%c[index.js, moduleDidLoad]', 'col
or: green;', 'Failed to generate new cert! Returned error was: \n', failedCert);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:215:        }).then(function (ret) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:216:          sendMessage('httpInit', [pairingCert.cert, pairin
gCert.privateKey, myUniqueid]).then(function (ret) {
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:217:            restoreUiAfterNaClLoad();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:218:          }, function (failedInit) {
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:219:            console.error('%c[index.js, moduleDidLoad]', 'c
olor: green;', 'Failed httpInit! Returned error was: ', failedInit);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:220:          });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:221:        });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:222:      } else {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:223:        sendMessage('httpInit', [pairingCert.cert, pairingC
ert.privateKey, myUniqueid]).then(function (ret) {
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:224:          restoreUiAfterNaClLoad();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:225:        }, function (failedInit) {
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:226:          console.error('%c[index.js, moduleDidLoad]', 'col
or: green;', 'Failed httpInit! Returned error was: ', failedInit);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:227:        });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:228:      }
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:229:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:230:      // load previously connected hosts, which have been k
illed into an object, and revive them back into a class
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:231:      getData('hosts', function (previousValue) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:232:        hosts = previousValue.hosts != null ? previousValue
.hosts : {};
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:233:        for (var hostUID in hosts) { // programmatically ad
d each new host.
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:234:          var revivedHost = new NvHTTP(hosts[hostUID].addre
ss, myUniqueid, hosts[hostUID].userEnteredAddress);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:235:          revivedHost.serverUid = hosts[hostUID].serverUid;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:236:          revivedHost.externalIP = hosts[hostUID].externalI
P;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:237:          revivedHost.hostname = hosts[hostUID].hostname;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:238:          revivedHost.ppkstr = hosts[hostUID].ppkstr;


PS C:\Users\str>
PS C:\Users\str> Write-Host "`n===== ОБРАБОТКА ПУЛЬТА ====="

===== ОБРАБОТКА ПУЛЬТА =====
PS C:\Users\str> Select-String -Path "$js\platform.js","$js\index.js","$js\navigation.js" `
>>     -Pattern 'function platformOnLoad|function initSamsungKeys|function onWindowLoad|keydown|registerKey|focusId|eventAnchor|function runOp' `
>>     -Context 4,10

  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:13:// Example of plaform.js usage for remote controller:
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:14://
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:15:// var remoteHandler = {
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:16://   initRemoteController: true,
> C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:17://   onKeydownListener: remoteDown
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:18:// }
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:19://
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:20:// function pingApp(e) {
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:21://   var keyCode = e.keyCode;
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:22://
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:23://   switch (keyCode) {
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:24://     case tvKey.KEY_RED:
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:25://       pingAppByAppId('c_app');
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:26://       break;
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:27://
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:37://
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:38:// var handler = {
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:39://   initFn: appOnLoadFn,
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:40://   initRemoteController: true,
> C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:41://   onKeydownListener: pingApp,
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:42://   buttonsToRegister: [     // See buttonsNames in this
 file.
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:43://     buttonsNames.KEY_RED,
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:44://     buttonsNames.KEY_GREEN,
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:45://   ]
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:46:// };
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:47://
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:48:// ...
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:49://
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:50:// <body onload="platformOnLoad(handler)">
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:51:
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:94:// Dictionary containing key names for usage in input han
dler function. This
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:95:// variable is set by platformOnLoad.
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:96:var tvKey;
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:97:
> C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:98:function platformOnLoad(handler) {
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:99:  var tvKeyButtons = {
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:100:    KEY_0: 48,
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:101:    KEY_1: 49,
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:102:    KEY_2: 50,
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:103:    KEY_3: 51,
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:104:    KEY_4: 52,
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:105:    KEY_5: 53,
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:106:    KEY_6: 54,
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:107:    KEY_7: 55,
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:108:    KEY_8: 56,
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:139:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:140:
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:141:  if (handler.initRemoteController) {
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:142:    var event_anchor;
> C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:143:    if (handler.focusId)
> C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:144:      event_anchor = document.getElementById(handler.foc
usId);
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:145:    else
> C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:146:      event_anchor = document.getElementById("eventAncho
r");
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:147:    if (event_anchor)
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:148:      event_anchor.focus();
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:149:  }
> C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:150:  if (handler.onKeydownListener) {
> C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:151:    document.addEventListener("keydown", handler.onKeydo
wnListener);
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:152:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:153:  if (handler.buttonsToRegister) {
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:154:    handler.buttonsToRegister.forEach(function (button)
{
> C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:155:      tizen.tvinputdevice.registerKey(button);
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:156:    });
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:157:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\platform.js:158:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1077:  updateBitrateField();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1078:  saveBitrate();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1079:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1080:
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1081:function initSamsungKeys() {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1082:  console.log('initializing keys');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1083:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1084:  var handler = {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1085:    initRemoteController: true,
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1086:    buttonsToRegister: [
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1087:      // https://developer.samsung.com/tv/develop/guides/u
ser-interaction/keyboardime
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1088:      'ColorF0Red',    // F1
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1089:      'ColorF1Green',  // F2
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1090:      'ColorF2Yellow', // F3
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1091:      'ColorF3Blue',   // F4
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1095:      'ChannelList',   // F7
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1096:      'ChannelDown',   // F11
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1097:      'ChannelUp',     // F12
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1098:    ],
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1099:    onKeydownListener: remoteControllerHandler
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1100:  };
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1101:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1102:  console.log('Initializing SamsungTV platform');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1103:  platformOnLoad(handler);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1104:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1105:
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1106:function onWindowLoad() {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1107:  console.log('%c[index.js]', 'color: green;', 'Moonlight\
's main window loaded');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1108:  // don't show the game selection div
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1109:  $('#gameSelection').css('display', 'none');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1110:  console.log('load stored resolution prefs');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1111:  getData('resolution', function (previousValue) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1112:    if (previousValue.resolution != null) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1113:      $('.resolutionMenu li').each(function () {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1114:        if ($(this).data('value') === previousValue.resolu
tion) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1115:          $('#selectResolution').text($(this).text()).data
('value', previousValue.resolution);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1116:        }
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:331:      }
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:332:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:333:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:334:
> C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:335:  function runOp(name) {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:336:    return () => {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:337:      if (!State.isRunning()) {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:338:        return;
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:339:      }
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:340:
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:341:      if (!hasFocus) {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:342:        focus();
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:343:        return;
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:344:      }
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:345:


PS C:\Users\str>
PS C:\Users\str> Write-Host "`n===== ИНИЦИАЛИЗАЦИЯ ИНТЕРФЕЙСА ====="

===== ИНИЦИАЛИЗАЦИЯ ИНТЕРФЕЙСА =====
PS C:\Users\str> Select-String -Path "$js\index.js","$js\navigation.js" `
>>     -Pattern 'function attachListeners|function showHostsAndSettingsMode|function start\(|function push\(|function pop\(|Navigation\.start|Navigation\.pop' `
>>     -Context 3,9

  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:6:var isInGame = false; // flag indicating whether the game str
eam started
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:7:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:8:// Called by the common.js module.
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:9:function attachListeners() {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:10:  changeUiModeForNaClLoad();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:11:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:12:  $('.resolutionMenu li').on('click', saveResolution);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:13:  $('.framerateMenu li').on('click', saveFramerate);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:14:  $('#bitrateSlider').on('input', updateBitrateField); // in
put occurs every notch you slide
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:15:  //$('#bitrateSlider').on('change', saveBitrate); //FIXME:
it seems not working
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:16:  $("#remoteAudioEnabledSwitch").on('click', saveRemoteAudio
);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:17:  $("#mouseLockEnabledSwitch").on('click', saveMouseLock);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:18:  $('#optimizeGamesSwitch').on('click', saveOptimize);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:24:  var registerMenu = (elementId, view) => {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:25:    $(`#${elementId}`).on('click', () => {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:26:      if (view.isActive())
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:27:        Navigation.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:28:      else
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:29:        Navigation.push(view);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:30:    });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:31:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:32:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:33:  registerMenu('selectResolution', Views.SelectResolutionMen
u);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:34:  registerMenu('selectFramerate', Views.SelectFramerateMenu)
;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:35:  registerMenu('bandwidthMenu', Views.SelectBitrateMenu);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:36:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:46:      0: () => Navigation.accept(),
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:47:      1: () => Navigation.back(),
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:48:      8: () => Navigation.selectBtn(),
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:49:      9: () => Navigation.startBtn(),
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:50:      12: () => Navigation.up(),
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:51:      13: () => Navigation.down(),
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:52:      14: () => Navigation.left(),
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:53:      15: () => Navigation.right(),
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:54:    };
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:55:    if (gamepadMapping[key]) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:56:      gamepadMapping[key]();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:57:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:58:  });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:282:    $('#cancelPairingDialog').off('click');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:283:    $('#cancelPairingDialog').on('click', function () {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:284:      pairingDialog.close();
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:285:      Navigation.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:286:    });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:287:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:288:    console.log('%c[index.js]', 'color: green;', 'Sending p
airing request to ' + nvhttpHost.hostname + ' with PIN: ' + randomNumber);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:289:    nvhttpHost.pair(randomNumber).then(function () {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:290:      snackbarLog('Pairing successful');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:291:      pairingDialog.close();
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:292:      Navigation.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:293:      onSuccess();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:294:    }, function (failedPairing) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:295:      snackbarLog('Failed pairing to: ' + nvhttpHost.hostna
me);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:296:      if (nvhttpHost.currentGame != 0) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:297:        $('#pairingDialogText').html('Error: ' + nvhttpHost
.hostname + ' is busy.  Stop streaming to pair.');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:298:      } else {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:299:        $('#pairingDialogText').html('Error: failed to pair
 with ' + nvhttpHost.hostname + '.');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:300:      }
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:301:      console.log('%c[index.js]', 'color: green;', 'Failed
API object:', nvhttpHost, nvhttpHost.toString()); //Logging both the object and the toString version for text logs
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:342:  $('#cancelAddHost').off('click');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:343:  $('#cancelAddHost').on('click', function () {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:344:    modal.close();
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:345:    Navigation.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:346:  });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:347:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:348:  // try to pair if they continue
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:349:  $('#continueAddHost').off('click');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:350:  $('#continueAddHost').on('click', function () {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:351:    var inputHost = $('#dialogInputHost').val();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:352:    var _nvhttpHost = new NvHTTP(inputHost, myUniqueid, inp
utHost);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:353:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:354:    _nvhttpHost.refreshServerInfoAtAddress(inputHost).then(
function (success) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:355:      modal.close();
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:356:      Navigation.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:357:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:358:      // Check if we already have record of this host. If s
o,
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:359:      // we'll need the PPK string to ensure our pairing st
atus is accurate.
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:360:      if (hosts[_nvhttpHost.serverUid] != null) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:361:        // Update the addresses
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:362:        hosts[_nvhttpHost.serverUid].address = _nvhttpHost.
address;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:363:        hosts[_nvhttpHost.serverUid].userEnteredAddress = _
nvhttpHost.userEnteredAddress;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:364:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:365:        // Use the host in the array directly to ensure the
 PPK propagates after pairing
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:443:  $('#cancelDeleteHost').off('click');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:444:  $('#cancelDeleteHost').on('click', function () {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:445:    deleteHostDialog.close();
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:446:    Navigation.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:447:  });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:448:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:449:  // locally remove the hostname/ip from the saved `hosts`
array.
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:450:  // note: this does not make the host forget the pairing t
o us.
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:451:  // this means we can re-add the host, and will still be p
aired.
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:452:  $('#continueDeleteHost').off('click');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:453:  $('#continueDeleteHost').on('click', function () {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:454:    var deleteHostDialog = document.querySelector('#deleteH
ostDialog');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:455:    $('#host-container-' + host.serverUid).remove();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:456:    delete hosts[host.serverUid]; // remove the host from t
he array;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:457:    saveHosts();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:458:    deleteHostDialog.close();
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:459:    Navigation.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:460:  });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:461:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:462:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:463:// puts the CSS style for current app on the app that's cur
rently running
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:464:// and puts the CSS style for non-current app apps that are
n't running
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:465:// this requires a hot-off-the-host `api`, and the appId we
're going to stylize
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:466:// the function was made like this so that we can remove du
plicated code, but
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:467:// not do N*N stylizations of the box art, or make the code
 not flow very well
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:468:function stylizeBoxArt(freshApi, appIdToStylize) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:585:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:586:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:587:// set the layout to the initial mode you see when you open
 moonlight
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:588:function showHostsAndSettingsMode() {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:589:  console.log('%c[index.js]', 'color: green;', 'Entering "S
how apps and hosts" mode');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:590:  $("#main-navigation").show();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:591:  $(".nav-menu-parent").show();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:592:  $("#externalAudioBtn").show();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:593:  $("#mouseLockBtn").show();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:594:  $("#main-content").children().not("#listener, #loadingSpi
nner, #naclSpinner").show();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:595:  $('#game-grid').hide();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:596:  $('#backIcon').hide();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:597:  $('#quitCurrentApp').hide();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:598:  $("#main-content").removeClass("fullscreen");
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:599:  $("#listener").removeClass("fullscreen");
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:600:  Navigation.start();
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:601:  Navigation.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:602:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:603:  startPollingHosts();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:604:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:605:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:606:function showAppsMode() {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:607:  console.log('%c[index.js]', 'color: green;', 'Entering "S
how apps" mode');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:608:  $('#backIcon').show();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:609:  $("#main-navigation").show();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:610:  $("#main-content").children().not("#listener, #loadingSpi
nner, #naclSpinner").show();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:625:  // because it slows down box art loading and we don't upd
ate the UI live
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:626:  // anyway.
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:627:  stopPollingHosts();
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:628:  Navigation.start();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:629:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:630:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:631:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:632:// start the given appID.  if another app is running, offer
 to quit it.
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:633:// if the given app is already running, just resume it.
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:634:function startGame(host, appID) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:635:  if (!host || !host.paired) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:636:    console.error('%c[index.js, startGame]', 'color: green;
', 'Attempted to start a game, but `host` did not initialize properly. Host object: ', host);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:637:    return;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:652:          $('#cancelQuitApp').off('click');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:653:          $('#cancelQuitApp').on('click', function () {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:654:            quitAppDialog.close();
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:655:            Navigation.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:656:            console.log('[index.js, startGame]', 'color: gr
een;', 'Closing app dialog, and returning');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:657:          });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:658:          $('#continueQuitApp').off('click');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:659:          $('#continueQuitApp').on('click', function () {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:660:            console.log('[index.js, startGame]', 'color: gr
een;', 'Stopping game, and closing app dialog, and returning');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:661:            stopGame(host, function () {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:662:              // please oh please don't infinite loop with
recursion
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:663:              startGame(host, appID);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:664:            });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:665:            quitAppDialog.close();
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:666:            Navigation.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:667:          });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:668:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:669:          return;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:670:        }, function (failedCurrentApp) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:671:          console.error('[index.js, startGame]', 'color: gr
een;', 'Failed to get the current running app from host! Returned error was:' + failedCurrentApp, '\n Host object:', ho
st, host.toString());
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:672:          return;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:673:        });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:674:        return;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:675:      }
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:805:      $('#cancelQuitApp').on('click', function () {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:806:        console.log('%c[index.js, stopGameWithConfirmation]
', 'color:green;', 'Closing app dialog, and returning');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:807:        quitAppDialog.close();
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:808:        Navigation.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:809:      });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:810:      $('#continueQuitApp').off('click');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:811:      $('#continueQuitApp').on('click', function () {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:812:        console.log('%c[index.js, stopGameWithConfirmation]
', 'color:green;', 'Stopping game, and closing app dialog, and returning');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:813:        stopGame(api);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:814:        quitAppDialog.close();
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:815:        Navigation.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:816:      });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:817:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:818:    });
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:819:  }
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:820:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:821:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:822:function stopGame(host, callbackFunction) {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:823:  isInGame = false;
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:824:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:981:  $('#selectResolution').text($(this).text()).data('value',
 chosenResolution);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:982:  storeData('resolution', chosenResolution, null);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:983:  updateDefaultBitrate();
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:984:  Navigation.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:985:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:986:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:987:function saveOptimize() {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:988:  // MaterialDesignLight uses the mouseup trigger, so we gi
ve it some time to change the class name before
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:989:  // checking the new state
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:990:  setTimeout(function () {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:991:    var chosenOptimize = $("#optimizeGamesSwitch").parent()
.hasClass('is-checked');
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:992:    console.log('%c[index.js, saveOptimize]', 'color: green
;', 'Saving optimize state : ' + chosenOptimize);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:993:    storeData('optimize', chosenOptimize, null);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:999:  $('#selectFramerate').text($(this).text()).data('value',
chosenFramerate);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1000:  storeData('frameRate', chosenFramerate, null);
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1001:  updateDefaultBitrate();
> C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1002:  Navigation.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1003:}
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1004:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1005:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1006:
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1007:// storing data in chrome.storage takes the data as an obj
ect, and shoves it into JSON to store
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1008:// unfortunately, objects with function instances (classes
) are stripped of their function instances when converted to a raw object
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1009:// so we cannot forget to revive the object after we load
it.
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1010:function saveHosts() {
  C:\Temp\pepper42-build\wgt-staging\static\js\index.js:1011:  storeData('hosts', hosts, null);
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:257:  var Stack = (function () {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:258:    var viewStack = [];
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:259:
> C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:260:    function push(view) {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:261:      if (get()) {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:262:        get().leave();
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:263:      }
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:264:      viewStack.push(view);
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:265:      get().enter();
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:266:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:267:
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:268:    function change(view) {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:269:      if (viewStack.length > 0) {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:275:      }
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:276:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:277:
> C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:278:    function pop() {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:279:      if (viewStack.length > 1) {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:280:        get().leave();
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:281:        viewStack.pop();
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:282:        get().enter();
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:283:      }
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:284:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:285:
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:286:    function get() {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:287:      return viewStack[viewStack.length - 1];
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:293:  var State = (function() {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:294:    var running = false;
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:295:
> C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:296:    function start() {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:297:      if (!running) {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:298:        running = true;
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:299:        window.addEventListener('mousemove', loseFocus
);
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:300:      }
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:301:    }
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:302:
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:303:    function stop() {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:304:      if (running) {
  C:\Temp\pepper42-build\wgt-staging\static\js\navigation.js:305:        running = false;


PS C:\Users\str>
PS C:\Users\str> Write-Host "`n===== CSS: VIEWPORT И КЛЮЧЕВЫЕ РАЗМЕРЫ ====="

===== CSS: VIEWPORT И КЛЮЧЕВЫЕ РАЗМЕРЫ =====
PS C:\Users\str> Select-String -Path "$root\index.html" `
>>     -Pattern 'viewport|<body|main-content|host-grid|game-grid'

C:\Temp\pepper42-build\wgt-staging\index.html:6:  <meta name="viewport" content="width=device-width, initial-scale=1.0"
>
C:\Temp\pepper42-build\wgt-staging\index.html:14:<body data-name="moonlight-chrome" data-tools="pnacl" data-configs="De
bug Release" data-path="{tc}/{config}">
C:\Temp\pepper42-build\wgt-staging\index.html:113:    <main id="main-content" class="mdl-layout__content">
C:\Temp\pepper42-build\wgt-staging\index.html:114:      <div id="host-grid">
C:\Temp\pepper42-build\wgt-staging\index.html:121:      <div id="game-grid"></div>


PS C:\Users\str>
PS C:\Users\str> Write-Host "`n===== CSS: FLEXBOX В MATERIAL DESIGN LITE ====="

===== CSS: FLEXBOX В MATERIAL DESIGN LITE =====
PS C:\Users\str> $css = Get-Content "$root\static\css\material.min.css" -Raw
PS C:\Users\str> $patterns = @(
>>     'display\s*:\s*-webkit-box',
>>     'display\s*:\s*-webkit-flex',
>>     'display\s*:\s*flex',
>>     '-webkit-box-pack\s*:',
>>     '-webkit-box-align\s*:',
>>     '-webkit-flex-wrap\s*:',
>>     'flex-wrap\s*:'
>> )
PS C:\Users\str> foreach ($pattern in $patterns) {
>>     $matches = [regex]::Matches($css, $pattern)
>>     Write-Host ("{0} : {1}" -f $pattern, $matches.Count)
>>     foreach ($m in ($matches | Select-Object -First 3)) {
>>         $start = [Math]::Max(0, $m.Index - 100)
>>         $length = [Math]::Min(260, $css.Length - $start)
>>         Write-Host $css.Substring($start, $length)
>>     }
>> }
display\s*:\s*-webkit-box : 0
display\s*:\s*-webkit-flex : 20
mdl-badge:not([data-badge]){margin-right:auto}.mdl-badge[data-badge]:after{content:attr(data-badge);display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:
-button--disabled{color:rgba(0,0,0,.26)}.mdl-button .material-icons{vertical-align:middle}.mdl-card{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;font-size:16px;font-weight:4
_title{-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#000;display:block;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:stretch;-ms-flex-pack:stretch;justify-content:stretch;line-height:normal;padding:1
display\s*:\s*flex : 20
auto}.mdl-badge[data-badge]:after{content:attr(data-badge);display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-conte
mdl-button .material-icons{vertical-align:middle}.mdl-card{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;font-size:16px;font-weight:400;min-height:200px;overflow:hidden;width
x-align:center;align-items:center;color:#000;display:block;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:stretch;-ms-flex-pack:stretch;justify-content:stretch;line-height:normal;padding:16px;-webkit-perspective-origin:165px 56px
-webkit-box-pack\s*: : 0
-webkit-box-align\s*: : 0
-webkit-flex-wrap\s*: : 7
splay:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-content:center
y:flex;-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.mdl-dialog__actions>*{margin-right:8px;height:36px}.mdl-dialog__actions>*:first-child{margin-right:0}.
;line-height:1;min-height:48px;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;padding:16px;cursor:default;color:rgba(0,0,0,.87);overflow:hidden}.mdl-list__item,.mdl-list__item
flex-wrap\s*: : 21
s-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-content:center;-ms-fle
lex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-content:center;-ms-flex-line-pack:center;
x-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-content:center;-ms-flex-line-pack:center;align-content:c
PS C:\Users\str>