2026-07-27 11:26:19 +00:00
|
|
|
// Module ID: 13200
|
|
|
|
|
// Function ID: 101684
|
2026-07-23 10:11:24 +00:00
|
|
|
// Name: __exportStarResult1
|
2026-07-20 16:05:17 +00:00
|
|
|
// Dependencies: []
|
|
|
|
|
|
2026-07-27 11:26:19 +00:00
|
|
|
// Module 13200 (__exportStarResult1)
|
2026-07-20 16:05:17 +00:00
|
|
|
arg5.CanonicalizeTimeZoneName = function CanonicalizeTimeZoneName(str) {
|
|
|
|
|
let uppercaseLinks;
|
|
|
|
|
let zoneNames;
|
|
|
|
|
({ zoneNames, uppercaseLinks } = arg1);
|
|
|
|
|
const formatted = str.toUpperCase();
|
|
|
|
|
const tmp2 = uppercaseLinks[formatted] || zoneNames.reduce((arg0, str) => {
|
|
|
|
|
arg0[str.toUpperCase()] = str;
|
|
|
|
|
return arg0;
|
|
|
|
|
}, {})[formatted];
|
|
|
|
|
if ("Etc/UTC" !== tmp2) {
|
|
|
|
|
if ("Etc/GMT" !== tmp2) {
|
|
|
|
|
return tmp2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return "UTC";
|
|
|
|
|
};
|