KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
System : Windows NT SERVER-PC 10.0 build 26200 (Windows 11) AMD64
User : ServerPC ( 0)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  C:/Windows/SystemApps/Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : C:/Windows/SystemApps/Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy/js/globalization.js
"use strict";
var CloudExperienceHost;
(function (CloudExperienceHost) {
    var Globalization;
    (function (Globalization) {
        class GeographicRegion {
            static getAll() {
                return new WinJS.Promise(function (completeDispatch, errorDispatch /*, progressDispatch */) {
                    CloudExperienceHostAPI.GeographicRegion.getAll().done(function (regions) {
                        completeDispatch(JSON.parse(regions));
                    }, errorDispatch);
                });
            }
            static getCode() {
                return new Windows.Globalization.GeographicRegion().code;
            }
            static isPrivacySensitiveRegion() {
                let privacySensitiveRegionsList = ["AT", "AUT", "BE", "BEL", "BG", "BGR", "BR", "BRA", "CA", "CAN", "HR", "HRV", "CY", "CYP",
                    "CZ", "CZE", "DK", "DNK", "EE", "EST", "FI", "FIN", "FR", "FRA", "DE", "DEU", "GR", "GRC",
                    "HU", "HUN", "IS", "ISL", "IE", "IRL", "IT", "ITA", "KR", "KOR", "LV", "LVA", "LI", "LIE", "LT", "LTU",
                    "LU", "LUX", "MT", "MLT", "NL", "NLD", "NO", "NOR", "PL", "POL", "PT", "PRT", "RO", "ROU",
                    "SK", "SVK", "SI", "SVN", "ES", "ESP", "SE", "SWE", "CH", "CHE", "GB", "GBR"];
                if (CloudExperienceHost.FeatureStaging.isOobeFeatureEnabled("NewMultiPagePrivacy")) {
                    privacySensitiveRegionsList.push("VN", "VNM");
                }
                if (CloudExperienceHost.FeatureStaging.isOobeFeatureEnabled("MissingMultiPagePrivacy")) {
                    privacySensitiveRegionsList.push("GF", "GUF", "GP", "GLP", "MQ", "MTQ", "RE", "REU", "YT", "MYT");
                }
                let region = CloudExperienceHost.Globalization.GeographicRegion.getCode();
                return (privacySensitiveRegionsList.indexOf(region) != -1);
            }
        }
        Globalization.GeographicRegion = GeographicRegion;
        class Language {
            static getPreferredLang() {
                return Windows.Globalization.ApplicationLanguages.languages[0];
            }
            static getReadingDirection() {
                var dtf = new Windows.Globalization.DateTimeFormatting.DateTimeFormatter("month.full", Windows.Globalization.ApplicationLanguages.languages, "ZZ", "GregorianCalendar", "24HourClock");
                var pat = dtf.patterns[0];
                var isRTL = pat.charCodeAt(0) === 8207; // Right-To-Left Mark
                return isRTL ? "rtl" : "ltr";
            }
        }
        Globalization.Language = Language;
        class Utils {
            static setDocumentElementLangAndDir() {
                document.documentElement.lang = CloudExperienceHost.Globalization.Language.getPreferredLang();
                document.documentElement.dir = CloudExperienceHost.Globalization.Language.getReadingDirection();
            }
        }
        Globalization.Utils = Utils;
    })(Globalization = CloudExperienceHost.Globalization || (CloudExperienceHost.Globalization = {}));
})(CloudExperienceHost || (CloudExperienceHost = {}));

Anon7 - 2021