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oint","shellEndpoint","dashboardEndpoint","tenantName","userName","isMvc","isIdentityProvider","enableCookieConsentPopup","enableGoogleAnalytics","googleAnalyticsMeasurementId","supportsApplicationDrawer","supportsMultiTheme","accessTokenRetriever","undefined","supportsAccountCreation","supportsAuthentication","supportsTenantRename","wrapMenuWithContainerWhenApplicationDrawerIsNotSupported","menuLogoHref","angularRouter","angularNgZone","hideFooter","hasStickyNavbar","loginRedirectUrl","logoutRedirectUrl","baseAssetPath","dataCenterEU","dataCenterUS","currentTheme","isDrawerOpened","connectedCallback","ThemeManager","instance","initialize","themeManagerSubscription","theme$","subscribe","theme","disconnectedCallback","unsubscribe","updateDrawerStateAccordingWithMediaQuery","matchesLg","sendDrawerStateToIframe","iframe","document","getElementById","contentWindow","postMessage","type","removeHiddenAttributes","hostEl","querySelectorAll","forEach","element","hasAttribute","removeAttribute","skipToMainContent","event","preventDefault","mainContent","setAttribute","focus","componentWillLoad","_this","_asyncToGenerator","$","beforeSend","xhr","setRequestHeader","i","window","s","o","GoogleAnalyticsObject","r","q","push","arguments","l","Date","a","createElement","m","getElementsByTagName","async","src","parentNode","insertBefore","ga","__webpack_require__","e","then","t","bind","cookieconsent","initialise","palette","popup","background","text","button","content","dismiss","link","href","getAssetRelativePath","message","console","warn","popover","html","boundary","container","tooltip","trigger","on","addEventListener","data","componentDidLoad","emit","lg","matchMedia","matches","componentDidRender","render","applicationDrawer","applicationDrawerIsPresent","h","class","id","key","title","encodeURIComponent","location","footer","name","onClick","onKeyDown","logoHref","onMenuSignInClicked","onMenuSignOutClicked","slot","assetsDirs","getElement","style"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./node_modules/@coso/layout/dist/esm/coso-layout.entry.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, d as getElement } from './index-0859a102.js';\nimport $ from 'jquery';\nimport { T as ThemeManager } from './theme-manager-3e7fd8c2.js';\nimport { g as getAssetRelativePath } from './relativepath-helper-948108b1.js';\nimport 'lodash/trim';\nimport 'rxjs';\n\nconst cosoLayoutCss = \".cc-window{opacity:1;-webkit-transition:opacity 1s ease;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{-webkit-transition:transform 1s ease;-webkit-transition:-webkit-transform 1s ease;transition:-webkit-transform 1s ease;transition:transform 1s ease;transition:transform 1s ease, -webkit-transform 1s ease}.cc-animate.cc-revoke.cc-top{-webkit-transform:translateY(-2em);transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{-webkit-transform:translateY(2em);transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-top{-webkit-transform:translateY(0);transform:translateY(0)}.cc-animate.cc-revoke.cc-active.cc-bottom{-webkit-transform:translateY(0);transform:translateY(0)}.cc-revoke:hover{-webkit-transform:translateY(0);transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;-webkit-transition:max-height 1s;transition:max-height 1s}.cc-revoke,.cc-window{position:fixed;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Helvetica, Calibri, Arial, sans-serif;font-size:16px;line-height:1.5em;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:24em;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.cc-revoke{padding:0.5em}.cc-revoke:hover{text-decoration:underline}.cc-header{font-size:18px;font-weight:700}.cc-btn,.cc-close,.cc-link,.cc-revoke{cursor:pointer}.cc-link{opacity:0.8;display:inline-block;padding:0.2em;text-decoration:underline}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:initial}.cc-btn{display:block;padding:0.4em 0.8em;font-size:0.9em;font-weight:700;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-highlight .cc-btn:first-child{background-color:transparent;border-color:transparent}.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:0.5em;right:0.5em;font-size:1.6em;opacity:0.9;line-height:0.75}.cc-close:focus,.cc-close:hover{opacity:1}.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:0.5em;border-bottom-right-radius:0.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:0.5em;border-top-right-radius:0.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:1em}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.cc-window.cc-banner{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{display:block;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;max-width:100%;margin-right:1em}.cc-compliance{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between}.cc-floating .cc-compliance>.cc-btn{-webkit-box-flex:1;-ms-flex:1;flex:1}.cc-btn+.cc-btn{margin-left:0.5em}@media print{.cc-revoke,.cc-window{display:none}}@media screen and (max-width: 900px){.cc-btn{white-space:normal}}@media screen and (max-width: 414px) and (orientation: portrait), screen and (max-width: 736px) and (orientation: landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-floating,.cc-window.cc-left,.cc-window.cc-right{left:0;right:0}.cc-window.cc-banner{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner .cc-compliance{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.cc-window.cc-floating{max-width:none}.cc-window .cc-message{margin-bottom:1em}.cc-window.cc-banner{-webkit-box-align:unset;-ms-flex-align:unset;align-items:unset}.cc-window.cc-banner .cc-message{margin-right:0}}.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;-webkit-box-flex:0;-ms-flex:none;flex:none}.cc-theme-classic .cc-btn{border-radius:5px}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em;margin-bottom:1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:0.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0}.skip-links{background-color:hsla(var(--primary-h), var(--primary-s), calc(var(--primary-l) - 15%), var(--primary-a, 1))}.skip-links a{color:var(--white) !important;text-decoration:underline}.main-content{min-height:75vh}.cc-window{z-index:50 !important}\";\nconst CosoLayoutStyle0 = cosoLayoutCss;\n\nconst CosoLayout = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.componentLoaded = createEvent(this, \"componentLoaded\", 7);\n this.signInClicked = createEvent(this, \"signInClicked\", 7);\n this.signOutClicked = createEvent(this, \"signOutClicked\", 7);\n this.isAuthenticated = false;\n this.identityProviderEndpoint = \"\";\n this.shellEndpoint = \"\";\n this.dashboardEndpoint = \"\";\n this.tenantName = null;\n this.userName = null;\n this.isMvc = false;\n this.isIdentityProvider = false;\n this.enableCookieConsentPopup = true;\n this.enableGoogleAnalytics = true;\n this.googleAnalyticsMeasurementId = \"UA-7675734-7\";\n this.supportsApplicationDrawer = true;\n this.supportsMultiTheme = true;\n this.accessTokenRetriever = undefined;\n this.supportsAccountCreation = true;\n this.supportsAuthentication = true;\n this.supportsTenantRename = false;\n this.wrapMenuWithContainerWhenApplicationDrawerIsNotSupported = true;\n this.menuLogoHref = \"\";\n this.angularRouter = undefined;\n this.angularNgZone = undefined;\n this.hideFooter = false;\n this.hasStickyNavbar = true;\n this.loginRedirectUrl = \"/Authentication/Login\";\n this.logoutRedirectUrl = \"/Authentication/Logout\";\n this.baseAssetPath = undefined;\n this.dataCenterEU = false;\n this.dataCenterUS = false;\n this.currentTheme = undefined;\n this.isDrawerOpened = false;\n }\n connectedCallback() {\n ThemeManager.instance.initialize();\n this.themeManagerSubscription = ThemeManager.instance.theme$.subscribe((theme) => (this.currentTheme = theme));\n }\n disconnectedCallback() {\n this.themeManagerSubscription.unsubscribe();\n }\n updateDrawerStateAccordingWithMediaQuery(matchesLg) {\n this.isDrawerOpened = matchesLg && this.isDrawerOpened == true;\n this.sendDrawerStateToIframe();\n }\n sendDrawerStateToIframe() {\n const iframe = document.getElementById(\"appDrawerIframe\");\n iframe === null || iframe === void 0 ? void 0 : iframe.contentWindow.postMessage({ type: \"setDrawerState\", isDrawerOpened: this.isDrawerOpened }, \"*\");\n }\n removeHiddenAttributes() {\n const elements = this.hostEl.querySelectorAll(\".prevent-hide\");\n elements.forEach((element) => {\n if (element.hasAttribute(\"hidden\")) {\n element.removeAttribute(\"hidden\");\n }\n });\n }\n skipToMainContent(event) {\n event.preventDefault();\n const mainContent = document.getElementById(\"mainContent\");\n if (mainContent) {\n mainContent.setAttribute(\"tabindex\", \"-1\");\n mainContent.focus();\n }\n }\n async componentWillLoad() {\n if (this.accessTokenRetriever) {\n $.ajaxSetup({\n beforeSend: (xhr) => {\n xhr.setRequestHeader(\"Authorization\", `Bearer ${this.accessTokenRetriever()}`);\n },\n });\n }\n if (this.enableGoogleAnalytics) {\n (function (i, s, o, g, r, a, m) {\n i[\"GoogleAnalyticsObject\"] = r;\n (i[r] =\n i[r] ||\n function () {\n (i[r].q = i[r].q || []).push(arguments);\n }),\n (i[r].l = 1 * +new Date());\n (a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);\n a.async = 1;\n a.src = g;\n m.parentNode.insertBefore(a, m);\n })(window, document, \"script\", \"https://www.google-analytics.com/analytics.js\", \"ga\");\n window.ga(\"create\", this.googleAnalyticsMeasurementId, \"auto\");\n window.ga(\"send\", \"pageview\");\n }\n if (this.enableCookieConsentPopup) {\n try {\n await import('./cookieconsent.min-0ffb20d5.js');\n window.cookieconsent.initialise({\n palette: {\n popup: {\n background: this.currentTheme === \"dark\" ? \"#eb6c44\" : \"#0058a9\",\n text: \"#ffffff\",\n },\n button: {\n background: \"#f5d948\",\n },\n },\n content: {\n dismiss: \"Got it!\",\n link: \"More Info\",\n href: getAssetRelativePath(`./assets/docs/cookies-policy.pdf`, this.baseAssetPath),\n message: \"This website uses cookies to ensure you get the best experience.\",\n },\n });\n }\n catch (_a) {\n console.warn(\"Unable to initialize cookie consent\");\n }\n }\n $(() => {\n $('.popoverElement, [data-toggle=\"popover\"]').popover({\n html: true,\n boundary: \"window\",\n container: \"body\",\n });\n $('[data-toggle=\"tooltip\"]').tooltip({\n trigger: \"hover\",\n boundary: \"window\",\n container: \"body\",\n });\n $(\"body\").on(\"mouseleave\", '.popoverElement, [data-toggle=\"popover\"]', function () {\n $(this).popover(\"hide\");\n });\n $(\"body\").on(\"mouseleave\", '[data-toggle=\"tooltip\"]', function () {\n $(this).tooltip(\"hide\");\n });\n $(\".site-content\").on(\"click\", () => {\n this.isDrawerOpened = false;\n });\n $(\".navbar\").on(\"click\", () => {\n this.isDrawerOpened = false;\n });\n });\n if (this.supportsApplicationDrawer) {\n window.addEventListener(\"message\", (event) => {\n if (event.data === \"toggleDrawer\") {\n this.isDrawerOpened = !this.isDrawerOpened;\n }\n else if (event.data === \"drawerLoaded\") {\n this.sendDrawerStateToIframe();\n }\n }, false);\n }\n }\n componentDidLoad() {\n this.componentLoaded.emit();\n const lg = window.matchMedia(\"(min-width: 992px)\");\n this.updateDrawerStateAccordingWithMediaQuery(lg.matches);\n lg.addEventListener(\"change\", (e) => {\n this.updateDrawerStateAccordingWithMediaQuery(e.matches);\n });\n this.removeHiddenAttributes();\n }\n componentDidRender() {\n if (this.supportsApplicationDrawer) {\n this.sendDrawerStateToIframe();\n }\n this.removeHiddenAttributes();\n }\n render() {\n let applicationDrawer;\n const applicationDrawerIsPresent = this.supportsApplicationDrawer && (false === this.supportsAuthentication || this.isAuthenticated);\n if (applicationDrawerIsPresent) {\n applicationDrawer = (h(\"div\", { class: \"app-drawer\" + (this.isDrawerOpened ? \" opened-drawer \" : \" closed-drawer \"), id: \"appDrawer\", key: \"appDrawer\" }, h(\"iframe\", { key: '13db786d0e23fe33f63bb2e009d5f121ac1cdaae', id: \"appDrawerIframe\", title: \"Application Drawer\", src: this.shellEndpoint + \"/applicationdrawer?theme=\" + this.currentTheme + \"¤tUrl=\" + encodeURIComponent(window.location.href) })));\n }\n let footer = h(\"slot\", { key: '1ff843ec16004b74e2dbd4189189b3b9031d1483', name: \"footer\" });\n return [\n h(\"slot\", { key: '7aa56ebd3ee007a8d6cbe32ef4824d21b065ffdb', name: \"skipLinks\" }, h(\"div\", { key: '56a30c92c51cb3fa127339ca4303ef8e93a9836f', class: \"skip-links prevent-hide\" }, h(\"div\", { key: '0afb79594d1a16ddb42e881d08e1d76e19272d47', class: \"container-fluid\" }, h(\"a\", { key: 'd8fa6d99fb466ada36b38e3c5bb9a458e1523d58', class: \"d-inline-flex m-1 sr-only sr-only-focusable\", href: \"#mainContent\", onClick: this.skipToMainContent, onKeyDown: (event) => {\n if (event.key === \"Enter\")\n this.skipToMainContent(event);\n } }, \"Skip to main content\")))),\n h(\"coso-menu\", { class: \"prevent-hide\", isAuthenticated: this.isAuthenticated, identityProviderEndpoint: this.identityProviderEndpoint, dashboardEndpoint: this.dashboardEndpoint, logoHref: this.menuLogoHref, isMvc: this.isMvc, isIdentityProvider: this.isIdentityProvider, userName: this.userName, tenantName: this.tenantName, supportsMultiTheme: this.supportsMultiTheme, supportsAccountCreation: this.supportsAccountCreation, supportsAuthentication: this.supportsAuthentication, supportsApplicationDrawer: this.supportsApplicationDrawer, supportsTenantRename: this.supportsTenantRename, wrapMenuWithContainerWhenApplicationDrawerIsNotSupported: this.wrapMenuWithContainerWhenApplicationDrawerIsNotSupported, angularNgZone: this.angularNgZone, angularRouter: this.angularRouter, hasStickyNavbar: this.hasStickyNavbar, onMenuSignInClicked: () => this.signInClicked.emit(), onMenuSignOutClicked: () => this.signOutClicked.emit(), loginRedirectUrl: this.loginRedirectUrl, logoutRedirectUrl: this.logoutRedirectUrl, baseAssetPath: this.baseAssetPath, dataCenterEU: this.dataCenterEU, dataCenterUS: this.dataCenterUS, key: \"menu\" }, h(\"slot\", { key: 'dff9337acc91480cce9b895ed8e06c8556ab28af', slot: \"mainMenu\", name: \"mainMenu\" }), h(\"slot\", { key: '23e110b4770d81a2c1d116e73950a0745bcc3f2b', slot: \"logo\", name: \"logo\" }), h(\"slot\", { key: '6e6dd13859e465bd130c906535ece7388074f44e', slot: \"mainMenuRightNavbar\", name: \"mainMenuRightNavbar\" }), h(\"slot\", { key: '13c3169d60f96a4de3c4b0419e90c5aa4e411bfd', slot: \"extraNavigation\", name: \"extraNavigation\" }), h(\"slot\", { key: 'aa04bbcbea1d326465cfe1cd2cf3bc5f3bb00fc4', slot: \"antiForgeryToken\", name: \"antiForgeryToken\" }), h(\"slot\", { key: '0a9d1863b377c9f41b4cb8f17d26625ec209abc4', slot: \"dropdownMenuUserAuthenticated\", name: \"dropdownMenuUserAuthenticated\" })),\n applicationDrawer,\n h(\"div\", { key: 'b3d29e58ce627360d819e3d5de2190fdf6cc1066', class: applicationDrawerIsPresent ? (this.isDrawerOpened ? \"margin-for-opened-drawer site-content prevent-hide\" : \" margin-for-closed-drawer site-content prevent-hide\") : \"prevent-hide\" }, h(\"div\", { key: 'd422bec66ef89d34e61b8383e9e0b784db7ec68f', class: \"main-content\" }, h(\"div\", { class: \"container prevent-hide\", key: \"bodyContainer\" }, h(\"slot\", { key: '7b4dcf632f286feb68ba2b95cee3d095fdde68a0', name: \"body\" })), h(\"div\", { class: \"container-fluid prevent-hide\", key: \"bodyContainerFluid\" }, h(\"slot\", { key: '8531cf97c6da8e7968352d4bb362e553cbced439', name: \"bodyFluid\" })), h(\"slot\", { key: '3edf1276c1efa5931104958005e7ac8198530321', name: \"bodyNoContainer\" })), h(\"div\", { class: `prevent-hide footer ${this.hideFooter ? \"hidden\" : \"\"}`, key: \"footer\" }, footer)),\n ];\n }\n static get assetsDirs() { return [\"assets\"]; }\n get hostEl() { return getElement(this); }\n};\nCosoLayout.style = CosoLayoutStyle0;\n\nexport { CosoLayout as coso_layout };\n\n"],"x_google_ignoreList":[0]}