window.executeSuiteNavOnce = function () {
if (!window.hasSuiteNavExecuted && !!window.O365Shell) {
(typeof markPerfStage === 'function' && markPerfStage('executeSuiteNavOnceStart'));
var params = window.location.search.substring(1).split('&') || [];
var shouldExecuteSuiteNav = true;
shouldExecuteSuiteNav &= params.indexOf('p=2') === -1;
shouldExecuteSuiteNav &= params.indexOf('p=12') === -1;
shouldExecuteSuiteNav &= params.indexOf('cl=true') === -1;
shouldExecuteSuiteNav &= params.filter(function (x) { return x.indexOf('parent') === 0; }).length === 0 || params.indexOf('p=5') !== -1;
try { shouldExecuteSuiteNav &= window.parent === window || window.parent.g_enableSuiteNavInIframe === true; } catch(err) { shouldExecuteSuiteNav = false; }
if (shouldExecuteSuiteNav) { executeSuiteNav(); window.hasSuiteNavExecuted = true; }
(typeof markPerfStage === 'function' && markPerfStage('executeSuiteNavOnceEnd'));
window.isSuiteNavDisabled = !window.hasSuiteNavExecuted;
}
}
executeSuiteNavOnce();
window.__odsp_cdnConfig = {"baseUrls":["https://res-1.cdn.office.net/files/odsp-web-prod_2023-06-23.001/","https://res-2.cdn.office.net/files/odsp-web-prod_2023-06-23.001/"],"libraryKey":"sp-client","key":"odsp-web-prod_2023-06-23.001"};
(function () {
var baseUrls = window.__odsp_cdnConfig.baseUrls;
function getOrigin(url) {
var match = url.match(/^https://[^/]+//);
return match && match[0];
}
var origins = baseUrls.map(getOrigin);
window.__backupBaseUrl = baseUrls[1];
var backupBaseUrl = baseUrls[1];
var failOverState = (window.__cdnFailOverState = {
baseUrlFailedOver: false,
modulesFalledBack: [],
onPathFallback: function (moduleId, paths) {
var failedModules = failOverState.modulesFalledBack;
failedModules.push(moduleId);
if (!failOverState.baseUrlFailedOver && failedModules.length >= 2) {
for (var id in paths) {
var items = paths[id];
if (Array.isArray(items) && items.length > 1) {
items.shift();
require.undef(id);
require(null, {
skipMap: true
})([id]);
}
}
require.config({
baseUrl: backupBaseUrl,
});
failOverState.baseUrlFailedOver = true;
}
},
});
function processConfigToSupportFailOver(config) {
var paths = config.paths,
bundles = config.bundles;
function getUrl(origin, index) {
return origin
? origins[index]
: baseUrls[index];
}
for (var id in paths) {
var path = paths[id];
var backup;
paths[id] = [];
for (var _b = 0; _b < origins.length; _b++) { backup = path.replace(/^(https://[^/]+/)?/, function (match) { return getUrl(match, _b); }); paths[id].push(backup); } } for (var id in bundles) { var path = paths[id]; if (path) { for (var _a = bundles[id], i = _a.length - 1; i >= 0; i--) {
paths[_a[i]] = path;
}
}
}
config.onPathFallback = function (opts) {
var id = opts.moduleId,
config = opts.config,
deps = config && config.deps;
if (id && deps && deps.indexOf(id) >= 0) {
failOverState.onPathFallback(id, paths);
}
};
return config;
}
var config = {paths:{"plt.listviewdataprefetch":"odblightspeedwebpack/plt.listviewdataprefetch","plt.resx-plt":"odblightspeedwebpack/en-us/plt.resx-plt","plt.preact":"odblightspeedwebpack/plt.preact","plt.office-ui-fabric-react":"odblightspeedwebpack/plt.office-ui-fabric-react","plt.items-view":"odblightspeedwebpack/plt.items-view","plt.odsp-common":"odblightspeedwebpack/plt.odsp-common","odblightspeedwebpack":"odblightspeedwebpack/odblightspeedwebpack","deferred.resx-deferred":"odblightspeedwebpack/en-us/deferred.resx-deferred","ondemand.resx-ondemand":"odblightspeedwebpack/en-us/ondemand.resx-ondemand","odm":"odm-b2a83907","odsp.react.lib":"https://res-1.cdn.office.net/files/sp-client/odsp.react/odsp.react.lib-19e38d22","odsp.knockout.lib":"https://res-1.cdn.office.net/files/sp-client/odsp.knockout/odsp.knockout.lib-3f54b648","odsp.aria.lib":"https://res-1.cdn.office.net/files/sp-client/odsp.aria/odsp.aria.lib-4793784b","odsp.1ds.lib":"https://res-1.cdn.office.net/files/sp-client/odsp.1ds/odsp.1ds.lib-49c96287","odsp-media":"https://res-1.cdn.office.net/files/sp-client/odsp-media-e6686a65"},bundles:{"plt.listviewdataprefetch":["plt.ListViewDataPrefetch"],"odsp.react.lib":["odsp.react.lib"],"odsp.knockout.lib":["odsp.knockout.lib"],"plt.resx-plt":["plt.resx-plt"],"plt.preact":["plt.preact"],"plt.office-ui-fabric-react":["plt.office-ui-fabric-react"],"plt.items-view":["plt.items-view"],"plt.odsp-common":["plt.odsp-common"],"odblightspeedwebpack":["ODBLightSpeedWebPack"],"odsp.aria.lib":["odsp.aria.lib"],"odsp.1ds.lib":["odsp.1ds.lib"],"odsp-media":["odsp-media"]},shim:{},deps:["plt.ListViewDataPrefetch","odsp.react.lib","odsp.knockout.lib","plt.resx-plt","plt.preact","plt.office-ui-fabric-react","plt.items-view","plt.odsp-common","ODBLightSpeedWebPack"],baseUrl:"https:u002fu002fres-1.cdn.office.netu002ffilesu002fodsp-web-prod_2023-06-23.001u002f",waitSeconds:0,onNodeCreated:function(n,c,m,u) {
n.setAttribute("crossorigin","anonymous");
var urlParts = u.split('/');
var fileName = urlParts[urlParts.length - 1];
var odspSriHashes = window.__odspSriHashes;
var integrity = odspSriHashes && (odspSriHashes[window.__odsp_culture + '/' + fileName] || odspSriHashes[fileName]);
if (integrity) {
n.setAttribute("integrity",integrity);
}
},enforceDefine:false};
var newConfig = processConfigToSupportFailOver(config);
window.performance && performance.mark('EUPL.RequireConfigStart');
require.config(newConfig);
})();