Software: Microsoft-IIS/10.0. PHP/7.4.33 uname -a: Windows NT LAKE 10.0 build 20348 (Windows Server 2016) AMD64 IWPD_801(traduongco) Safe-mode: OFF (not secure) C:\Windows\SystemApps\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy\webapps\inclusiveOobe\js\ drwxrwxrwx | |
| Viewing file: Select action/file-type: //
// Copyright (C) Microsoft. All rights reserved.
//
define(['lib/knockout', 'legacy/bridge', 'legacy/events', 'legacy/core', 'oobewelcome-vm'], (ko, bridge, constants, core, WelcomeViewModel) => {
class OutroViewModel {
constructor(resourceStrings) {
this.resourceStrings = resourceStrings;
let speakingSequence = [
// Less than default minTimeShown to account for the fact that we wait for the speech loop
// to finish before actually ending the last string shown
// i.e. If there are N strings, only use a smaller minTimeShown on Nth string
{ resourceName: "OutroVoiceOver1", minTimeShown: 4000 }
];
this.outroText = ko.observable("");
this.outroText.subscribe((newTitle) => {
document.title = newTitle;
});
this.animationSequence = new WelcomeViewModel.CortanaAnimationSequence({
resourceStrings,
speakingSequence,
captionText: this.outroText,
animationCanvasElement: document.querySelector(".animationCanvas"),
textElement: document.querySelector(".content-subheader"),
entranceFileName: "oobe-bookend-cortanain-outro.gif",
doneResult: constants.AppResult.exitCxhSuccess,
});
}
waitForAssetLoadAsync() {
return this.animationSequence.waitForAssetLoadAsync();
}
startAnimation() {
return this.animationSequence.startAnimation();
}
onSpeechStarting() {
this.animationSequence.onSpeechStarting();
}
onSpeechComplete() {
this.animationSequence.onSpeechComplete();
}
onSpeechError(error) {
bridge.invoke("CloudExperienceHost.Telemetry.logEvent", "OutroVoiceOverError", core.GetJsonFromError(error));
this.onSpeechComplete();
}
}
return OutroViewModel;
}); |
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.7626 ]-- |