| Server IP : 185.208.173.17 / Your IP : 87.236.161.98 Web Server : Microsoft-IIS/10.0 System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64 User : IUSR ( 0) PHP Version : 7.4.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Windows/SystemApps/Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy/js/ |
Upload File : |
//
// Copyright (C) Microsoft. All rights reserved.
//
/// <disable>JS2085.EnableStrictMode</disable>
/// <reference path="error.ts" />
"use strict";
var CloudExperienceHost;
(function (CloudExperienceHost) {
class CloudOverride {
static getUrl(cloudOverride, target) {
if (cloudOverride) {
if ((cloudOverride.urlInt !== undefined) && (target == CloudExperienceHost.TargetEnvironment.INT)) {
return cloudOverride.urlInt;
}
else if (cloudOverride.url !== undefined) {
return cloudOverride.url;
}
}
return undefined;
}
}
CloudExperienceHost.CloudOverride = CloudOverride;
class ConvertMsAppxWebNavigationToPrivateData {
}
CloudExperienceHost.ConvertMsAppxWebNavigationToPrivateData = ConvertMsAppxWebNavigationToPrivateData;
class NavMesh {
constructor(mesh, uriArguments) {
this._mesh = mesh;
this._uriArguments = uriArguments;
}
getStart() {
return this.getNode(this._mesh.start);
}
getNode(cxid) {
var node = this._mesh[cxid];
return node;
}
addOrUpdateNode(node) {
this._mesh[node.cxid] = node;
}
getErrorNode() {
return this.getNode(this._mesh.error);
}
getErrorNodeName() {
return this._mesh.error;
}
getDiagnosticsNode() {
return this.getNode(this.getDiagnosticsNodeName());
}
getDiagnosticsNodeName() {
// The first time this function is called, it will check if navigation should be to the ROOBE page
if (typeof (this._mesh.diagnostics) !== "string") {
this._mesh.diagnostics = this.evaluateOverridableValue(this._mesh.diagnostics);
}
return this._mesh.diagnostics;
}
getNotifyOnFirstVisible() {
return this._mesh.notifyOnFirstVisible;
}
getNotifyOnLastFinished() {
// getNotifyOnLastFinished could be called when closing CXH before the mesh object is created
return (this._mesh != null) && this._mesh.notifyOnLastFinished;
}
getWaitForTaskbarReady() {
// getWaitForTaskbarReady could be called when hosting a "per-user setup" flow that blocks the logon, so that the host app can be kept visible until the desktop and taskbar are ready
return (this._mesh != null) && this._mesh.waitForTaskbarReady;
}
getShowProgressTextAtEndTimeout() {
// getShowProgressTextAtEndTimeout should be called to determine how long we wait on the progress spinner pane before showing text under the spinner
return (this._mesh != null) && this._mesh.showProgressTextAtEndTimeout;
}
getMsaTicketContext() {
return this._mesh.msaTicketContext;
}
getMsaTicketBroker() {
return this._mesh.msaTicketBroker;
}
getUriArguments() {
return this._uriArguments;
}
getFrameName() {
if (this._mesh.frameName == null) {
return "default-frame";
}
if (typeof (this._mesh.frameName) !== "string") {
this._mesh.frameName = this.evaluateOverridableValue(this._mesh.frameName);
}
return this._mesh.frameName;
}
getFrameStyleHeight() {
return this._mesh.frameStyleHeight;
}
getFrameStyleWidth() {
return this._mesh.frameStyleWidth;
}
getFrameStyleMargin() {
return this._mesh.frameStyleMargin;
}
getInitializeExternalModalRects() {
if (this._mesh.initializeExternalModalRects == null) {
return false;
}
if (typeof (this._mesh.initializeExternalModalRects) !== "boolean") {
this._mesh.initializeExternalModalRects = this.evaluateOverridableValue(this._mesh.initializeExternalModalRects);
}
return this._mesh.initializeExternalModalRects;
}
getPersonality() {
if (this._mesh.personality == null) {
return "CloudExperienceHost.Personality.Unspecified";
}
if (typeof (this._mesh.personality) !== "string") {
this._mesh.personality = this.evaluateOverridableValue(this._mesh.personality);
}
return this._mesh.personality;
}
getInclusive() {
return (this._mesh.speechCapable ? 1 : 0);
}
getSpeechDisabled() {
if (this._mesh.speechDisabled == null) {
return false;
}
if (typeof (this._mesh.speechDisabled) !== "boolean") {
this._mesh.speechDisabled = this.evaluateOverridableValue(this._mesh.speechDisabled);
}
return this._mesh.speechDisabled;
}
shouldRunNarratorInstruction() {
if (this._mesh.narratorInstruction == null) {
return false;
}
if (typeof (this._mesh.narratorInstruction) !== "boolean") {
this._mesh.narratorInstruction = this.evaluateOverridableValue(this._mesh.narratorInstruction);
}
return this._mesh.narratorInstruction;
}
getIntroVideoPath() {
if (this._mesh.introVideoPath == null) {
return "";
}
if (typeof (this._mesh.introVideoPath) !== "string") {
this._mesh.introVideoPath = this.evaluateOverridableValue(this._mesh.introVideoPath);
}
return this._mesh.introVideoPath;
}
endFadeTransition() {
return this._mesh.endFadeTransition ? true : false;
}
blockLateWebAppCalls() {
return this._mesh.blockLateWebAppCalls ? true : false;
}
blockEarlyExit() {
return this._mesh.blockEarlyExit ? true : false;
}
checkpointsEnabled() {
return this._mesh.checkpointsEnabled ? true : false;
}
isBackstackForBackNavigationSupported() {
return this._mesh.useBackstackForBackNavigation;
}
isCloseToExitCxhSupported() {
return this._mesh.useCloseToExitCxh;
}
getReconnectHandlerCxid() {
return this._mesh.reconnectHandlerCxid;
}
getRestrictNavigationToAllowList() {
return this._mesh.restrictNavigationToAllowList ? true : false;
}
getScenarioCustomHeaders() {
return this._mesh.scenarioCustomHeaders ? this._mesh.scenarioCustomHeaders : [];
}
evaluateOverridableValue(property) {
return (property.overrideFunction ? (new CloudExperienceHost.InvokeAPIHelper).invokeByName(property.overrideFunction, [property.overrideFeature])
: CloudExperienceHost.FeatureStaging.isOobeFeatureEnabled(property.overrideFeature)) ? property.overrideValue : property.value;
}
getConvertMsAppxWebNavigationToPrivateData() {
if (CloudExperienceHostAPI.FeatureStaging.isOobeFeatureEnabled("AADPinResetV2")) {
return this._mesh.convertMsAppxWebNavigationToPrivateData;
}
else {
return undefined;
}
}
}
CloudExperienceHost.NavMesh = NavMesh;
})(CloudExperienceHost || (CloudExperienceHost = {}));
//# sourceMappingURL=navmesh.js.map