@openmrs/esm-primary-navigation-app 4.3.0 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,31 +1,34 @@
1
- @openmrs/esm-primary-navigation-app:build: cache hit, replaying output bc89166d0ecdbdc4
2
- @openmrs/esm-primary-navigation-app:build: assets by chunk 250 KiB (id hint: vendors)
3
- @openmrs/esm-primary-navigation-app:build:  asset 788.js 130 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
4
- @openmrs/esm-primary-navigation-app:build:  asset 113.js 39.1 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
5
- @openmrs/esm-primary-navigation-app:build:  asset 406.js 27.8 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
6
- @openmrs/esm-primary-navigation-app:build:  asset 710.js 19.5 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
7
- @openmrs/esm-primary-navigation-app:build:  asset 242.js 19.1 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
8
- @openmrs/esm-primary-navigation-app:build:  asset 90.js 14.1 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
9
- @openmrs/esm-primary-navigation-app:build:  asset 414.js 749 bytes [emitted] [minimized] (id hint: vendors) 1 related asset
10
- @openmrs/esm-primary-navigation-app:build: + 12 assets
11
- @openmrs/esm-primary-navigation-app:build: orphan modules 3.7 MiB (javascript) 42 bytes (consume-shared) [orphan] 574 modules
12
- @openmrs/esm-primary-navigation-app:build: runtime modules 38.7 KiB 28 modules
13
- @openmrs/esm-primary-navigation-app:build: built modules 2.69 MiB (javascript) 210 bytes (share-init) 210 bytes (consume-shared) [built]
14
- @openmrs/esm-primary-navigation-app:build:  javascript modules 2.69 MiB 64 modules
15
- @openmrs/esm-primary-navigation-app:build:  provide-module modules 210 bytes
16
- @openmrs/esm-primary-navigation-app:build:  provide shared module (default) @openmrs/esm-framework/src/internal@4.3.0 = ../../framework/esm-framework/src/internal.ts 42 bytes [built] [code generated]
17
- @openmrs/esm-primary-navigation-app:build:  provide shared module (default) react-dom@18.2.0 = ../../../node_modules/react-dom/index.js 42 bytes [built] [code generated]
18
- @openmrs/esm-primary-navigation-app:build:  + 3 modules
19
- @openmrs/esm-primary-navigation-app:build:  consume-shared-module modules 210 bytes
20
- @openmrs/esm-primary-navigation-app:build:  modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
21
- @openmrs/esm-primary-navigation-app:build:  + 3 modules
22
- @openmrs/esm-primary-navigation-app:build:  optional modules 172 bytes [optional]
23
- @openmrs/esm-primary-navigation-app:build:  ./translations/en.json 74 bytes [optional] [built] [code generated]
24
- @openmrs/esm-primary-navigation-app:build:  ./translations/fr.json 98 bytes [optional] [built] [code generated]
25
- @openmrs/esm-primary-navigation-app:build: 
26
- @openmrs/esm-primary-navigation-app:build: WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
27
- @openmrs/esm-primary-navigation-app:build: This can impact web performance.
28
- @openmrs/esm-primary-navigation-app:build: Assets:
29
- @openmrs/esm-primary-navigation-app:build:  889.js (408 KiB)
30
- @openmrs/esm-primary-navigation-app:build: 
31
- @openmrs/esm-primary-navigation-app:build: webpack 5.77.0 compiled with 1 warning in 130839 ms
1
+ @openmrs/esm-primary-navigation-app:build: cache hit, replaying output 460f403a68aeca0f
2
+ @openmrs/esm-primary-navigation-app:build: Browserslist: caniuse-lite is outdated. Please run:
3
+ @openmrs/esm-primary-navigation-app:build:  npx update-browserslist-db@latest
4
+ @openmrs/esm-primary-navigation-app:build:  Why you should do it regularly: https://github.com/browserslist/update-db#readme
5
+ @openmrs/esm-primary-navigation-app:build: assets by chunk 239 KiB (id hint: vendors)
6
+ @openmrs/esm-primary-navigation-app:build:  asset 788.js 130 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
7
+ @openmrs/esm-primary-navigation-app:build:  asset 113.js 39.1 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
8
+ @openmrs/esm-primary-navigation-app:build:  asset 406.js 27.8 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
9
+ @openmrs/esm-primary-navigation-app:build:  asset 710.js 19.5 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
10
+ @openmrs/esm-primary-navigation-app:build:  asset 242.js 19.1 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
11
+ @openmrs/esm-primary-navigation-app:build:  asset 631.js 2.48 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
12
+ @openmrs/esm-primary-navigation-app:build:  asset 414.js 749 bytes [emitted] [minimized] (id hint: vendors) 1 related asset
13
+ @openmrs/esm-primary-navigation-app:build: + 12 assets
14
+ @openmrs/esm-primary-navigation-app:build: orphan modules 3.41 MiB (javascript) 42 bytes (consume-shared) [orphan] 393 modules
15
+ @openmrs/esm-primary-navigation-app:build: runtime modules 38.7 KiB 28 modules
16
+ @openmrs/esm-primary-navigation-app:build: built modules 2.63 MiB (javascript) 210 bytes (share-init) 210 bytes (consume-shared) [built]
17
+ @openmrs/esm-primary-navigation-app:build:  javascript modules 2.63 MiB 63 modules
18
+ @openmrs/esm-primary-navigation-app:build:  provide-module modules 210 bytes
19
+ @openmrs/esm-primary-navigation-app:build:  provide shared module (default) @openmrs/esm-framework/src/internal@4.3.1 = ../../framework/esm-framework/src/internal.ts 42 bytes [built] [code generated]
20
+ @openmrs/esm-primary-navigation-app:build:  provide shared module (default) react-dom@18.2.0 = ../../../node_modules/react-dom/index.js 42 bytes [built] [code generated]
21
+ @openmrs/esm-primary-navigation-app:build:  + 3 modules
22
+ @openmrs/esm-primary-navigation-app:build:  consume-shared-module modules 210 bytes
23
+ @openmrs/esm-primary-navigation-app:build:  modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
24
+ @openmrs/esm-primary-navigation-app:build:  + 3 modules
25
+ @openmrs/esm-primary-navigation-app:build:  optional modules 172 bytes [optional]
26
+ @openmrs/esm-primary-navigation-app:build:  ./translations/en.json 74 bytes [optional] [built] [code generated]
27
+ @openmrs/esm-primary-navigation-app:build:  ./translations/fr.json 98 bytes [optional] [built] [code generated]
28
+ @openmrs/esm-primary-navigation-app:build: 
29
+ @openmrs/esm-primary-navigation-app:build: WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
30
+ @openmrs/esm-primary-navigation-app:build: This can impact web performance.
31
+ @openmrs/esm-primary-navigation-app:build: Assets:
32
+ @openmrs/esm-primary-navigation-app:build:  889.js (408 KiB)
33
+ @openmrs/esm-primary-navigation-app:build: 
34
+ @openmrs/esm-primary-navigation-app:build: webpack 5.77.0 compiled with 1 warning in 46799 ms
@@ -1,6 +1,22 @@
1
- import { UserSession } from "../src/types";
2
-
3
- export const mockSession: UserSession = {
1
+ export const mockSession = {
2
+ authenticated: true,
3
+ user: {
4
+ uuid: "82f18b44-6814-11e8-923f-e9a88dcb533f",
5
+ display: "admin",
6
+ username: "",
7
+ systemId: "admin",
8
+ userProperties: {
9
+ defaultLocale: "en",
10
+ loginAttempts: "0",
11
+ },
12
+ person: {
13
+ uuid: "5f87c042-6814-11e8-923f-e9a88dcb533f",
14
+ display: "Super User",
15
+ },
16
+ privileges: [],
17
+ },
18
+ locale: "en",
19
+ allowedLocales: ["en", "es", "fr", "km"],
4
20
  sessionLocation: {
5
21
  display: "Unknown Location",
6
22
  },
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_primary_navigation_app=globalThis.webpackChunk_openmrs_esm_primary_navigation_app||[]).push([[899],{2727:(n,e,t)=>{t.d(e,{Z:()=>s});var a=t(9233),i=t.n(a),o=t(361),r=t.n(o)()(i());r.push([n.id,".-esm-primary-navigation__logo__logo___ohiCI{display:flex;align-items:center}","",{version:3,sources:["webpack://./src/components/logo/logo.scss"],names:[],mappings:"AAAA,6CACE,YAAA,CACA,kBAAA",sourcesContent:[".logo {\n display: flex;\n align-items: center;\n}\n"],sourceRoot:""}]),r.locals={logo:"-esm-primary-navigation__logo__logo___ohiCI"};const s=r},8815:(n,e,t)=>{t.d(e,{Z:()=>s});var a=t(9233),i=t.n(a),o=t(361),r=t.n(o)()(i());r.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__app-menu-panel__productiveHeading01___tBqf1,.-esm-primary-navigation__app-menu-panel__menuLink___a9Ems a{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-primary-navigation__app-menu-panel__productiveHeading02___dJ0\\+Z{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-primary-navigation__app-menu-panel__bodyLong01___BmbrX{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-primary-navigation__app-menu-panel__headerPanel___MYCrp{height:max-content}.-esm-primary-navigation__app-menu-panel__primaryNavContainer___NqUGq{height:var(--omrs-topnav-height)}.-esm-primary-navigation__app-menu-panel__menuLink___a9Ems a{display:flex;padding:1rem;height:3rem;width:100%;text-decoration:none;color:#fff;background-color:rgba(0,0,0,0)}.-esm-primary-navigation__app-menu-panel__menuLink___a9Ems a:hover{background-color:#005d5d;background-color:var(--brand-01)}.-esm-primary-navigation__app-menu-panel__externalLinks___nAD1P{border-top:1px solid;border-top-color:#007d79;border-top-color:var(--brand-03)}.-esm-primary-navigation__app-menu-panel__launchIcon___wn5Qn{margin-left:.5rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./src/components/navbar-header-panels/app-menu-panel.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,mICs0BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CDl0BJ,uECk0BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CD9zBJ,6DC8zBI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CD1zBJ,8DACE,kBAAA,CAGF,sEACE,gCAAA,CEjBF,6DACE,YAAA,CACA,YAAA,CACA,WAAA,CACA,UAAA,CACA,oBAAA,CACA,UHRM,CGSN,8BAAA,CAIF,mEHwBE,wBAAA,CACA,gCAAA,CGrBF,gEACE,oBAAA,CH6BA,wBAAA,CACA,gCAAA,CG1BF,6DACE,iBCHW",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n",'@use "@carbon/styles/scss/type";\n@import "~@openmrs/esm-styleguide/src/vars";\n\n.productiveHeading01 {\n @include type.type-style("heading-compact-01");\n}\n\n.productiveHeading02 {\n @include type.type-style("heading-compact-02");\n}\n\n.bodyLong01 {\n @include type.type-style("body-01");\n}\n\n.headerPanel {\n height: max-content;\n}\n\n.primaryNavContainer {\n height: var(--omrs-topnav-height);\n}\n',"//\n// Copyright IBM Corp. 2018, 2018\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: carbon--type-scale(2),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.25,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('light'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n);\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n",'@use "@carbon/styles/scss/spacing";\n@import "../../root.scss";\n\n.menuLink a {\n display: flex;\n padding: 1rem;\n height: 3rem;\n width: 100%;\n text-decoration: none;\n color: $ui-02;\n background-color: transparent;\n @extend .productiveHeading01;\n}\n\n.menuLink a:hover {\n @include brand-01(background-color);\n}\n\n.externalLinks {\n border-top: 1px solid;\n @include brand-03(border-top-color);\n}\n\n.launchIcon {\n margin-left: spacing.$spacing-03;\n}\n',"// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2021\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),r.locals={productiveHeading01:"-esm-primary-navigation__app-menu-panel__productiveHeading01___tBqf1",menuLink:"-esm-primary-navigation__app-menu-panel__menuLink___a9Ems",productiveHeading02:"-esm-primary-navigation__app-menu-panel__productiveHeading02___dJ0+Z",bodyLong01:"-esm-primary-navigation__app-menu-panel__bodyLong01___BmbrX",headerPanel:"-esm-primary-navigation__app-menu-panel__headerPanel___MYCrp",primaryNavContainer:"-esm-primary-navigation__app-menu-panel__primaryNavContainer___NqUGq",externalLinks:"-esm-primary-navigation__app-menu-panel__externalLinks___nAD1P",launchIcon:"-esm-primary-navigation__app-menu-panel__launchIcon___wn5Qn"};const s=r},7726:(n,e,t)=>{t.d(e,{Z:()=>s});var a=t(9233),i=t.n(a),o=t(361),r=t.n(o)()(i());r.push([n.id,"","",{version:3,sources:[],names:[],mappings:"",sourceRoot:""}]),r.locals={};const s=r},3205:(n,e,t)=>{t.d(e,{Z:()=>s});var a=t(9233),i=t.n(a),o=t(361),r=t.n(o)()(i());r.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__navbar__topNavActionsSlot___uRmEM{display:flex;align-items:center}.-esm-primary-navigation__navbar__topNavActionsSlot___uRmEM a{color:#fff;text-decoration:none;margin:0 .75rem}.-esm-primary-navigation__navbar__headerGlobalBarButton___a1LgV{background-color:#004144;background-color:var(--brand-02)}.-esm-primary-navigation__navbar__topNavHeader___HyHf4{top:var(--omrs-offline-banner-height)}.-esm-primary-navigation__navbar__activePanel___QUwvm{background-color:#005d5d;background-color:var(--brand-01)}.-esm-primary-navigation__navbar__headerMenuButton___k6m5W{height:3rem;width:3rem;padding:.75rem;margin-right:.25rem}.-esm-primary-navigation__navbar__spacedLogo___P2WIw{margin-left:1rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/components/navbar/navbar.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,4DACE,YAAA,CACA,kBAAA,CAGF,8DACE,UAAA,CACA,oBAAA,CACA,eAAA,CAGF,gED6BE,wBAAA,CACA,gCAAA,CC1BF,uDACE,qCAAA,CAGF,sDDgBE,wBAAA,CACA,gCAAA,CCbF,2DACE,WCwBW,CDvBX,UCuBW,CDtBX,cCHW,CDIX,mBCdW,CDiBb,qDACE,gBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n",'@use "@carbon/styles/scss/spacing";\n@import "~@openmrs/esm-styleguide/src/vars";\n\n.topNavActionsSlot {\n display: flex;\n align-items: center;\n}\n\n.topNavActionsSlot a {\n color: white;\n text-decoration: none;\n margin: 0 0.75rem;\n}\n\n.headerGlobalBarButton {\n @include brand-02(background-color);\n}\n\n.topNavHeader {\n top: var(--omrs-offline-banner-height);\n}\n\n.activePanel {\n @include brand-01(background-color);\n}\n\n.headerMenuButton {\n height: spacing.$spacing-09;\n width: spacing.$spacing-09;\n padding: spacing.$spacing-04;\n margin-right: spacing.$spacing-02;\n}\n\n.spacedLogo {\n margin-left: 1rem;\n}\n',"// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2021\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),r.locals={topNavActionsSlot:"-esm-primary-navigation__navbar__topNavActionsSlot___uRmEM",headerGlobalBarButton:"-esm-primary-navigation__navbar__headerGlobalBarButton___a1LgV",topNavHeader:"-esm-primary-navigation__navbar__topNavHeader___HyHf4",activePanel:"-esm-primary-navigation__navbar__activePanel___QUwvm",headerMenuButton:"-esm-primary-navigation__navbar__headerMenuButton___k6m5W",spacedLogo:"-esm-primary-navigation__navbar__spacedLogo___P2WIw"};const s=r},6654:(n,e,t)=>{t.d(e,{Z:()=>s});var a=t(9233),i=t.n(a),o=t(361),r=t.n(o)()(i());r.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__offline-banner__offlineBanner___YHODP{position:fixed;top:0;left:0;right:0;height:var(--omrs-offline-banner-height);background-color:#022b30;color:#fff;font-size:.875rem;display:flex;align-items:center;z-index:3}.-esm-primary-navigation__offline-banner__offlineIconContainer___Ed5PI{width:3rem;display:flex;justify-content:center}.-esm-primary-navigation__offline-banner__offlineNote___MlRaI{font-weight:bold}.-esm-primary-navigation__offline-banner__offlineLastUpdatedContainer___sVRB6{flex:auto;display:flex;justify-content:flex-end;align-items:flex-end;padding-right:1rem}.-esm-primary-navigation__offline-banner__lastUpdatedNote___3VK6L{color:#c6c6c6;font-size:.75rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/components/offline-banner/offline-banner.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCrDF,gEACE,cAAA,CACA,KAAA,CACA,MAAA,CACA,OAAA,CACA,wCAAA,CACA,wBAAA,CACA,UAAA,CACA,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,SAAA,CAGF,uEACE,UAAA,CACA,YAAA,CACA,sBAAA,CAGF,8DACE,gBAAA,CAGF,8EACE,SAAA,CACA,YAAA,CACA,wBAAA,CACA,oBAAA,CACA,kBAAA,CAGF,kEACE,aD3Bc,CC4Bd,gBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n",'@import "~@openmrs/esm-styleguide/src/vars";\n\n.offlineBanner {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n height: var(--omrs-offline-banner-height);\n background-color: #022b30;\n color: white;\n font-size: 0.875rem;\n display: flex;\n align-items: center;\n z-index: 3;\n}\n\n.offlineIconContainer {\n width: 3rem;\n display: flex;\n justify-content: center;\n}\n\n.offlineNote {\n font-weight: bold;\n}\n\n.offlineLastUpdatedContainer {\n flex: auto;\n display: flex;\n justify-content: flex-end;\n align-items: flex-end;\n padding-right: 1rem;\n}\n\n.lastUpdatedNote {\n color: $color-gray-30;\n font-size: 0.75rem;\n}\n'],sourceRoot:""}]),r.locals={offlineBanner:"-esm-primary-navigation__offline-banner__offlineBanner___YHODP",offlineIconContainer:"-esm-primary-navigation__offline-banner__offlineIconContainer___Ed5PI",offlineNote:"-esm-primary-navigation__offline-banner__offlineNote___MlRaI",offlineLastUpdatedContainer:"-esm-primary-navigation__offline-banner__offlineLastUpdatedContainer___sVRB6",lastUpdatedNote:"-esm-primary-navigation__offline-banner__lastUpdatedNote___3VK6L"};const s=r},5547:(n,e,t)=>{t.d(e,{Z:()=>s});var a=t(9233),i=t.n(a),o=t(361),r=t.n(o)()(i());r.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__root__productiveHeading01___tScBJ{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-primary-navigation__root__productiveHeading02___2lV0H{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-primary-navigation__root__bodyLong01___vRBQA{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-primary-navigation__root__headerPanel___c17aL{height:max-content}.-esm-primary-navigation__root__primaryNavContainer___TLM40{height:var(--omrs-topnav-height)}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,4DCs0BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CDl0BJ,4DCk0BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CD9zBJ,mDC8zBI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CD1zBJ,oDACE,kBAAA,CAGF,4DACE,gCAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n",'@use "@carbon/styles/scss/type";\n@import "~@openmrs/esm-styleguide/src/vars";\n\n.productiveHeading01 {\n @include type.type-style("heading-compact-01");\n}\n\n.productiveHeading02 {\n @include type.type-style("heading-compact-02");\n}\n\n.bodyLong01 {\n @include type.type-style("body-01");\n}\n\n.headerPanel {\n height: max-content;\n}\n\n.primaryNavContainer {\n height: var(--omrs-topnav-height);\n}\n',"//\n// Copyright IBM Corp. 2018, 2018\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: carbon--type-scale(2),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.25,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('light'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n);\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),r.locals={productiveHeading01:"-esm-primary-navigation__root__productiveHeading01___tScBJ",productiveHeading02:"-esm-primary-navigation__root__productiveHeading02___2lV0H",bodyLong01:"-esm-primary-navigation__root__bodyLong01___vRBQA",headerPanel:"-esm-primary-navigation__root__headerPanel___c17aL",primaryNavContainer:"-esm-primary-navigation__root__primaryNavContainer___TLM40"};const s=r},1899:(n,e,t)=>{t.r(e),t.d(e,{default:()=>pn});var a=t(5776),i=t.n(a),o=t(487),r=t.n(o),s=t(631),l=t.n(s),p=t(2052),c=t.n(p),d=t(4010),u=t.n(d),f=t(1469),g=t.n(f),y=t(9329),h=t.n(y),b=t(5547),m={};m.styleTagTransform=h(),m.setAttributes=u(),m.insert=c().bind(null,"head"),m.domAPI=l(),m.insertStyleElement=g(),r()(b.Z,m);const $=b.Z&&b.Z.locals?b.Z.locals:void 0;var v=t(4610),A=t(5172),_=t(1102),x=t(7414),k=t(3240),w=t(2680),C=t(4474),z=t(8815),M={};M.styleTagTransform=h(),M.setAttributes=u(),M.insert=c().bind(null,"head"),M.domAPI=l(),M.insertStyleElement=g(),r()(z.Z,M);const E=z.Z&&z.Z.locals?z.Z.locals:void 0,B=function(n){var e,t,a=n.expanded,o=n.hidePanel,r=(0,v.useOnClickOutside)(o,a),s=(0,v.useConfig)(),l=(0,w.useTranslation)().t;return i().createElement(A.yh,{ref:r,className:E.headerPanel,"aria-label":"App Menu Panel",expanded:a,onClick:function(){return o()}},i().createElement(v.ExtensionSlot,{className:E.menuLink,name:"app-menu-slot"}),(null==s||null===(e=s.externalRefLinks)||void 0===e?void 0:e.length)>0&&i().createElement("div",{className:"".concat(E.menuLink," ").concat(E.externalLinks)},null==s||null===(t=s.externalRefLinks)||void 0===t?void 0:t.map((function(n){return i().createElement("a",{target:"_blank",rel:"noopener noreferrer",href:null==n?void 0:n.redirect},l(null==n?void 0:n.title),i().createElement(C.GI,{size:16,className:E.launchIcon}))}))))},N=function(n){var e,t=n.expanded,a=n.user,o=n.allowedLocales,r=n.onLogout,s=n.session,l=n.hidePanel,p=(0,v.useOnClickOutside)(l,t);return i().createElement(A.yh,{ref:p,className:$.headerPanel,expanded:t,"aria-label":"Location","aria-labelledby":"Location Icon"},i().createElement(v.ExtensionSlot,{name:"user-panel-slot",state:{user:a,allowedLocales:o,onLogout:r,referer:window.location.pathname,currentLocation:null==s||null===(e=s.sessionLocation)||void 0===e?void 0:e.display}}))};var S=t(7726),I={};I.styleTagTransform=h(),I.setAttributes=u(),I.insert=c().bind(null,"head"),I.domAPI=l(),I.insertStyleElement=g(),r()(S.Z,I);const D=S.Z&&S.Z.locals?S.Z.locals:void 0,L=function(n){var e=n.expanded,t=(0,w.useTranslation)().t,o=(0,a.useMemo)((function(){return{expanded:e}}),[e]);return i().createElement(A.yh,{"aria-label":"Notifications Panel",expanded:e},i().createElement("h1",{className:D.heading},t("notifications","Notifications")),i().createElement(v.ExtensionSlot,{name:"notifications-nav-menu-slot",state:o}))},T=function(n){var e=n.expanded,t=n.hidePanel,o=(0,a.useRef)(null);return(0,a.useEffect)((function(){var n=function(n){(null==o?void 0:o.current)&&!o.current.contains(n.target)&&t()};return document.addEventListener("click",n),function(){return document.removeEventListener("click",n)}}),[o,t]),(0,a.useEffect)((function(){return window.addEventListener("popstate",t),window.addEventListener("popstate",t)}),[t]),e&&i().createElement(v.LeftNavMenu,{ref:o,isChildOfHeader:!0})};var P=t(2727),H={};H.styleTagTransform=h(),H.setAttributes=u(),H.insert=c().bind(null,"head"),H.domAPI=l(),H.insertStyleElement=g(),r()(P.Z,H);const q=P.Z&&P.Z.locals?P.Z.locals:void 0,O=function(){var n=(0,v.useConfig)().logo;return i().createElement(i().Fragment,null,(null==n?void 0:n.src)?i().createElement("img",{className:q.logo,src:n.src,alt:n.alt,width:110,height:40}):(null==n?void 0:n.name)?n.name:i().createElement("svg",{role:"img",width:110,height:40},i().createElement("use",{xlinkHref:"#omrs-logo-white"})))};var Z=t(9177),U=t(6654),F={};F.styleTagTransform=h(),F.setAttributes=u(),F.insert=c().bind(null,"head"),F.domAPI=l(),F.insertStyleElement=g(),r()(U.Z,F);const G=U.Z&&U.Z.locals?U.Z.locals:void 0;function j(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,a=new Array(e);t<e;t++)a[t]=n[t];return a}const R=function(){var n=function(){var n,e,t=(n=i().useState(new Date),e=2,function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var a,i,o=[],r=!0,s=!1;try{for(t=t.call(n);!(r=(a=t.next()).done)&&(o.push(a.value),!e||o.length!==e);r=!0);}catch(n){s=!0,i=n}finally{try{r||null==t.return||t.return()}finally{if(s)throw i}}return o}}(n,e)||function(n,e){if(n){if("string"==typeof n)return j(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?j(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=t[0],o=t[1];return i().useEffect((function(){var n=null;return(0,v.subscribeConnectivity)((function(e){var t,a,i=e.online;!i&&n&&function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;localStorage.setItem("offline-last-updated",n.toISOString())}(),n=i,t=localStorage.getItem("offline-last-updated"),a=t?new Date(t):new Date,o(a)}))}),[]),a}();return i().createElement("aside",{className:G.offlineBanner},i().createElement("div",{className:G.offlineIconContainer},i().createElement(Z.iY,{size:16})),i().createElement("span",{className:G.offlineNote},"Offline"),i().createElement("div",{className:G.offlineLastUpdatedContainer},i().createElement("span",{className:G.lastUpdatedNote},"Last updated: "),i().createElement("span",null,function(n){var e=n.toLocaleDateString(void 0,{day:"numeric",month:"short",year:"numeric"}),t=n.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit"});return"".concat(e," @ ").concat(t)}(n))))};var W=function(n){return"small-desktop"===n||"large-desktop"===n},Y=t(3205),J={};J.styleTagTransform=h(),J.setAttributes=u(),J.insert=c().bind(null,"head"),J.domAPI=l(),J.insertStyleElement=g(),r()(Y.Z,J);const V=Y.Z&&Y.Z.locals?Y.Z.locals:void 0;function Q(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,a=new Array(e);t<e;t++)a[t]=n[t];return a}const X=function(n){var e,t,o=n.user,r=n.onLogout,s=n.allowedLocales,l=n.session,p=(0,v.useLayoutType)(),c=(0,v.useAssignedExtensions)("patient-chart-dashboard-slot").map((function(n){return n.id})),d=(e=(0,a.useState)(null),t=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var a,i,o=[],r=!0,s=!1;try{for(t=t.call(n);!(r=(a=t.next()).done)&&(o.push(a.value),!e||o.length!==e);r=!0);}catch(n){s=!0,i=n}finally{try{r||null==t.return||t.return()}finally{if(s)throw i}}return o}}(e,t)||function(n,e){if(n){if("string"==typeof n)return Q(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Q(n,e):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=d[0],f=d[1],g=(0,a.useCallback)((function(n){return u===n}),[u]),y=(0,a.useCallback)((function(n){return f((function(e){return e===n?null:n}))}),[]),h=(0,a.useCallback)((function(){f(null)}),[]),b=(0,a.useMemo)((function(){return!W(p)&&c.length>0}),[c.length,p]),m=(0,a.useCallback)((function(){return i().createElement(i().Fragment,null,i().createElement(R,null),i().createElement(A.h4i,{className:V.topNavHeader,"aria-label":"OpenMRS"},b&&i().createElement(A.wID,{"aria-label":"Open menu",isCollapsible:!0,className:V.headerMenuButton,onClick:function(n){y("sideMenu"),n.stopPropagation()},isActive:g("sideMenu")}),i().createElement(v.ConfigurableLink,{to:"${openmrsSpaBase}/home"},i().createElement("div",{className:b?"":V.spacedLogo},i().createElement(O,null))),i().createElement(v.ExtensionSlot,{className:V.dividerOverride,name:"top-nav-info-slot"}),i().createElement(A.sLE,{className:V.headerGlobalBar},i().createElement(v.ExtensionSlot,{name:"top-nav-actions-slot",className:V.topNavActionsSlot}),i().createElement(v.ExtensionSlot,{name:"notifications-menu-button-slot",state:{isActivePanel:g,togglePanel:y}}),i().createElement(A.JMr,{"aria-label":"Users","aria-labelledby":"Users Avatar Icon",className:"".concat(g("userMenu")?V.headerGlobalBarButton:V.activePanel),enterDelayMs:500,name:"Users",isActive:g("userMenu"),onClick:function(n){y("userMenu"),n.stopPropagation()}},g("userMenu")?i().createElement(_.x8,{size:20}):i().createElement(x.Yo,{size:20})),i().createElement(A.JMr,{"aria-label":"App Menu","aria-labelledby":"App Menu",enterDelayMs:500,isActive:g("appMenu"),tooltipAlignment:"end",className:"".concat(g("appMenu")?V.headerGlobalBarButton:V.activePanel),onClick:function(n){y("appMenu"),n.stopPropagation()}},g("appMenu")?i().createElement(_.x8,{size:20}):i().createElement(k.SQ,{size:20}))),!W(p)&&i().createElement(T,{hidePanel:h,expanded:g("sideMenu")}),i().createElement(B,{expanded:g("appMenu"),hidePanel:h}),i().createElement(L,{expanded:g("notificationsMenu")}),i().createElement(N,{user:o,session:l,expanded:g("userMenu"),allowedLocales:s,onLogout:r,hidePanel:h})))}),[b,l,o,s,g,p,h,y,r]);return i().createElement("div",null,l&&i().createElement(A.gMZ,{render:m}))};var K=t(7743),nn=t(8478),en=t(3453),tn=t(1217);function an(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,a=new Array(e);t<e;t++)a[t]=n[t];return a}function on(n,e,t,a,i,o,r){try{var s=n[o](r),l=s.value}catch(n){return void t(n)}s.done?e(l):Promise.resolve(l).then(a,i)}function rn(){return(0,nn.getCurrentUser)({includeAuthStatus:!0}).pipe((0,en.zg)((n=function(n){var e,t,a;return function(n,e){var t,a,i,o,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(t)throw new TypeError("Generator is already executing.");for(;r;)try{if(t=1,a&&(i=2&o[0]?a.return:o[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;switch(a=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,a=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!((i=(i=r.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){r=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(6===o[0]&&r.label<i[1]){r.label=i[1],i=o;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(o);break}i[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(n,r)}catch(n){o=[6,n],a=0}finally{t=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,(function(i){switch(i.label){case 0:return(e=n.user)?[4,(0,nn.getSynchronizationItemsFor)(e.uuid,tn.O)]:[3,2];case 1:a=i.sent(),(t=Object).assign.apply(t,[e.userProperties].concat(function(n){if(Array.isArray(n))return an(n)}(o=a)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(o)||function(n,e){if(n){if("string"==typeof n)return an(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?an(n,e):void 0}}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),i.label=2;case 2:return[2,n]}var o}))},e=function(){var e=this,t=arguments;return new Promise((function(a,i){var o=n.apply(e,t);function r(n){on(o,a,i,r,s,"next",n)}function s(n){on(o,a,i,r,s,"throw",n)}r(void 0)}))},function(n){return e.apply(this,arguments)})));var n,e}function sn(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,a=new Array(e);t<e;t++)a[t]=n[t];return a}function ln(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var a,i,o=[],r=!0,s=!1;try{for(t=t.call(n);!(r=(a=t.next()).done)&&(o.push(a.value),!e||o.length!==e);r=!0);}catch(n){s=!0,i=n}finally{try{r||null==t.return||t.return()}finally{if(s)throw i}}return o}}(n,e)||function(n,e){if(n){if("string"==typeof n)return sn(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?sn(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const pn=function(){var n=ln((0,a.useState)(null),2),e=n[0],t=n[1],o=ln((0,a.useState)(null),2),r=o[0],s=o[1],l=ln((0,a.useState)(),2),p=l[0],c=l[1],d=(0,a.useCallback)((function(){return t(!1)}),[]),u=window.getOpenmrsSpaBase();return(0,a.useEffect)((function(){var n=rn().subscribe((function(n){c(n.allowedLocales),n.authenticated?t(n.user):t(!1),(0,v.createErrorHandler)()})),e=(0,nn.openmrsObservableFetch)("/ws/rest/v1/session").subscribe((function(n){var e=n.data;return s(e)}));return function(){n.unsubscribe(),e.unsubscribe()}}),[]),i().createElement(K.BrowserRouter,null,i().createElement("div",{className:$.primaryNavContainer},!1===e?i().createElement(K.Navigate,{to:"".concat(u,"login"),state:{referrer:window.location.pathname.slice(window.location.pathname.indexOf(u)+u.length-1)}}):e&&i().createElement(X,{allowedLocales:p,user:e,onLogout:d,session:r})))}}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_primary_navigation_app=globalThis.webpackChunk_openmrs_esm_primary_navigation_app||[]).push([[241],{2727:(n,e,a)=>{a.d(e,{Z:()=>s});var t=a(9233),i=a.n(t),o=a(361),r=a.n(o)()(i());r.push([n.id,".-esm-primary-navigation__logo__logo___ohiCI{display:flex;align-items:center}","",{version:3,sources:["webpack://./src/components/logo/logo.scss"],names:[],mappings:"AAAA,6CACE,YAAA,CACA,kBAAA",sourcesContent:[".logo {\n display: flex;\n align-items: center;\n}\n"],sourceRoot:""}]),r.locals={logo:"-esm-primary-navigation__logo__logo___ohiCI"};const s=r},8815:(n,e,a)=>{a.d(e,{Z:()=>s});var t=a(9233),i=a.n(t),o=a(361),r=a.n(o)()(i());r.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__app-menu-panel__productiveHeading01___tBqf1,.-esm-primary-navigation__app-menu-panel__menuLink___a9Ems a{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-primary-navigation__app-menu-panel__productiveHeading02___dJ0\\+Z{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-primary-navigation__app-menu-panel__bodyLong01___BmbrX{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-primary-navigation__app-menu-panel__headerPanel___MYCrp{height:max-content}.-esm-primary-navigation__app-menu-panel__primaryNavContainer___NqUGq{height:var(--omrs-topnav-height)}.-esm-primary-navigation__app-menu-panel__menuLink___a9Ems a{display:flex;padding:1rem;height:3rem;width:100%;text-decoration:none;color:#fff;background-color:rgba(0,0,0,0)}.-esm-primary-navigation__app-menu-panel__menuLink___a9Ems a:hover{background-color:#005d5d;background-color:var(--brand-01)}.-esm-primary-navigation__app-menu-panel__externalLinks___nAD1P{border-top:1px solid;border-top-color:#007d79;border-top-color:var(--brand-03)}.-esm-primary-navigation__app-menu-panel__launchIcon___wn5Qn{margin-left:.5rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./src/components/navbar-header-panels/app-menu-panel.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,mICs0BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CDl0BJ,uECk0BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CD9zBJ,6DC8zBI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CD1zBJ,8DACE,kBAAA,CAGF,sEACE,gCAAA,CEjBF,6DACE,YAAA,CACA,YAAA,CACA,WAAA,CACA,UAAA,CACA,oBAAA,CACA,UHRM,CGSN,8BAAA,CAIF,mEHwBE,wBAAA,CACA,gCAAA,CGrBF,gEACE,oBAAA,CH6BA,wBAAA,CACA,gCAAA,CG1BF,6DACE,iBCHW",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n",'@use "@carbon/styles/scss/type";\n@import "~@openmrs/esm-styleguide/src/vars";\n\n.productiveHeading01 {\n @include type.type-style("heading-compact-01");\n}\n\n.productiveHeading02 {\n @include type.type-style("heading-compact-02");\n}\n\n.bodyLong01 {\n @include type.type-style("body-01");\n}\n\n.headerPanel {\n height: max-content;\n}\n\n.primaryNavContainer {\n height: var(--omrs-topnav-height);\n}\n',"//\n// Copyright IBM Corp. 2018, 2018\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: carbon--type-scale(2),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.25,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('light'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n);\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n",'@use "@carbon/styles/scss/spacing";\n@import "../../root.scss";\n\n.menuLink a {\n display: flex;\n padding: 1rem;\n height: 3rem;\n width: 100%;\n text-decoration: none;\n color: $ui-02;\n background-color: transparent;\n @extend .productiveHeading01;\n}\n\n.menuLink a:hover {\n @include brand-01(background-color);\n}\n\n.externalLinks {\n border-top: 1px solid;\n @include brand-03(border-top-color);\n}\n\n.launchIcon {\n margin-left: spacing.$spacing-03;\n}\n',"// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2021\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),r.locals={productiveHeading01:"-esm-primary-navigation__app-menu-panel__productiveHeading01___tBqf1",menuLink:"-esm-primary-navigation__app-menu-panel__menuLink___a9Ems",productiveHeading02:"-esm-primary-navigation__app-menu-panel__productiveHeading02___dJ0+Z",bodyLong01:"-esm-primary-navigation__app-menu-panel__bodyLong01___BmbrX",headerPanel:"-esm-primary-navigation__app-menu-panel__headerPanel___MYCrp",primaryNavContainer:"-esm-primary-navigation__app-menu-panel__primaryNavContainer___NqUGq",externalLinks:"-esm-primary-navigation__app-menu-panel__externalLinks___nAD1P",launchIcon:"-esm-primary-navigation__app-menu-panel__launchIcon___wn5Qn"};const s=r},7726:(n,e,a)=>{a.d(e,{Z:()=>s});var t=a(9233),i=a.n(t),o=a(361),r=a.n(o)()(i());r.push([n.id,"","",{version:3,sources:[],names:[],mappings:"",sourceRoot:""}]),r.locals={};const s=r},3205:(n,e,a)=>{a.d(e,{Z:()=>s});var t=a(9233),i=a.n(t),o=a(361),r=a.n(o)()(i());r.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__navbar__topNavActionsSlot___uRmEM{display:flex;align-items:center}.-esm-primary-navigation__navbar__topNavActionsSlot___uRmEM a{color:#fff;text-decoration:none;margin:0 .75rem}.-esm-primary-navigation__navbar__headerGlobalBarButton___a1LgV{background-color:#004144;background-color:var(--brand-02)}.-esm-primary-navigation__navbar__topNavHeader___HyHf4{top:var(--omrs-offline-banner-height)}.-esm-primary-navigation__navbar__activePanel___QUwvm{background-color:#005d5d;background-color:var(--brand-01)}.-esm-primary-navigation__navbar__headerMenuButton___k6m5W{height:3rem;width:3rem;padding:.75rem;margin-right:.25rem}.-esm-primary-navigation__navbar__spacedLogo___P2WIw{margin-left:1rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/components/navbar/navbar.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,4DACE,YAAA,CACA,kBAAA,CAGF,8DACE,UAAA,CACA,oBAAA,CACA,eAAA,CAGF,gED6BE,wBAAA,CACA,gCAAA,CC1BF,uDACE,qCAAA,CAGF,sDDgBE,wBAAA,CACA,gCAAA,CCbF,2DACE,WCwBW,CDvBX,UCuBW,CDtBX,cCHW,CDIX,mBCdW,CDiBb,qDACE,gBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n",'@use "@carbon/styles/scss/spacing";\n@import "~@openmrs/esm-styleguide/src/vars";\n\n.topNavActionsSlot {\n display: flex;\n align-items: center;\n}\n\n.topNavActionsSlot a {\n color: white;\n text-decoration: none;\n margin: 0 0.75rem;\n}\n\n.headerGlobalBarButton {\n @include brand-02(background-color);\n}\n\n.topNavHeader {\n top: var(--omrs-offline-banner-height);\n}\n\n.activePanel {\n @include brand-01(background-color);\n}\n\n.headerMenuButton {\n height: spacing.$spacing-09;\n width: spacing.$spacing-09;\n padding: spacing.$spacing-04;\n margin-right: spacing.$spacing-02;\n}\n\n.spacedLogo {\n margin-left: 1rem;\n}\n',"// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2021\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),r.locals={topNavActionsSlot:"-esm-primary-navigation__navbar__topNavActionsSlot___uRmEM",headerGlobalBarButton:"-esm-primary-navigation__navbar__headerGlobalBarButton___a1LgV",topNavHeader:"-esm-primary-navigation__navbar__topNavHeader___HyHf4",activePanel:"-esm-primary-navigation__navbar__activePanel___QUwvm",headerMenuButton:"-esm-primary-navigation__navbar__headerMenuButton___k6m5W",spacedLogo:"-esm-primary-navigation__navbar__spacedLogo___P2WIw"};const s=r},6654:(n,e,a)=>{a.d(e,{Z:()=>s});var t=a(9233),i=a.n(t),o=a(361),r=a.n(o)()(i());r.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__offline-banner__offlineBanner___YHODP{position:fixed;top:0;left:0;right:0;height:var(--omrs-offline-banner-height);background-color:#022b30;color:#fff;font-size:.875rem;display:flex;align-items:center;z-index:3}.-esm-primary-navigation__offline-banner__offlineIconContainer___Ed5PI{width:3rem;display:flex;justify-content:center}.-esm-primary-navigation__offline-banner__offlineNote___MlRaI{font-weight:bold}.-esm-primary-navigation__offline-banner__offlineLastUpdatedContainer___sVRB6{flex:auto;display:flex;justify-content:flex-end;align-items:flex-end;padding-right:1rem}.-esm-primary-navigation__offline-banner__lastUpdatedNote___3VK6L{color:#c6c6c6;font-size:.75rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/components/offline-banner/offline-banner.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCrDF,gEACE,cAAA,CACA,KAAA,CACA,MAAA,CACA,OAAA,CACA,wCAAA,CACA,wBAAA,CACA,UAAA,CACA,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,SAAA,CAGF,uEACE,UAAA,CACA,YAAA,CACA,sBAAA,CAGF,8DACE,gBAAA,CAGF,8EACE,SAAA,CACA,YAAA,CACA,wBAAA,CACA,oBAAA,CACA,kBAAA,CAGF,kEACE,aD3Bc,CC4Bd,gBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n",'@import "~@openmrs/esm-styleguide/src/vars";\n\n.offlineBanner {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n height: var(--omrs-offline-banner-height);\n background-color: #022b30;\n color: white;\n font-size: 0.875rem;\n display: flex;\n align-items: center;\n z-index: 3;\n}\n\n.offlineIconContainer {\n width: 3rem;\n display: flex;\n justify-content: center;\n}\n\n.offlineNote {\n font-weight: bold;\n}\n\n.offlineLastUpdatedContainer {\n flex: auto;\n display: flex;\n justify-content: flex-end;\n align-items: flex-end;\n padding-right: 1rem;\n}\n\n.lastUpdatedNote {\n color: $color-gray-30;\n font-size: 0.75rem;\n}\n'],sourceRoot:""}]),r.locals={offlineBanner:"-esm-primary-navigation__offline-banner__offlineBanner___YHODP",offlineIconContainer:"-esm-primary-navigation__offline-banner__offlineIconContainer___Ed5PI",offlineNote:"-esm-primary-navigation__offline-banner__offlineNote___MlRaI",offlineLastUpdatedContainer:"-esm-primary-navigation__offline-banner__offlineLastUpdatedContainer___sVRB6",lastUpdatedNote:"-esm-primary-navigation__offline-banner__lastUpdatedNote___3VK6L"};const s=r},5547:(n,e,a)=>{a.d(e,{Z:()=>s});var t=a(9233),i=a.n(t),o=a(361),r=a.n(o)()(i());r.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__root__productiveHeading01___tScBJ{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-primary-navigation__root__productiveHeading02___2lV0H{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-primary-navigation__root__bodyLong01___vRBQA{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-primary-navigation__root__headerPanel___c17aL{height:max-content}.-esm-primary-navigation__root__primaryNavContainer___TLM40{height:var(--omrs-topnav-height)}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,4DCs0BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CDl0BJ,4DCk0BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CD9zBJ,mDC8zBI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CD1zBJ,oDACE,kBAAA,CAGF,4DACE,gCAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n",'@use "@carbon/styles/scss/type";\n@import "~@openmrs/esm-styleguide/src/vars";\n\n.productiveHeading01 {\n @include type.type-style("heading-compact-01");\n}\n\n.productiveHeading02 {\n @include type.type-style("heading-compact-02");\n}\n\n.bodyLong01 {\n @include type.type-style("body-01");\n}\n\n.headerPanel {\n height: max-content;\n}\n\n.primaryNavContainer {\n height: var(--omrs-topnav-height);\n}\n',"//\n// Copyright IBM Corp. 2018, 2018\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: carbon--type-scale(2),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.25,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('light'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n);\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),r.locals={productiveHeading01:"-esm-primary-navigation__root__productiveHeading01___tScBJ",productiveHeading02:"-esm-primary-navigation__root__productiveHeading02___2lV0H",bodyLong01:"-esm-primary-navigation__root__bodyLong01___vRBQA",headerPanel:"-esm-primary-navigation__root__headerPanel___c17aL",primaryNavContainer:"-esm-primary-navigation__root__primaryNavContainer___TLM40"};const s=r},6241:(n,e,a)=>{a.r(e),a.d(e,{default:()=>en});var t=a(5776),i=a.n(t),o=a(7743),r=a(5172),s=a(1102),l=a(7414),p=a(3240),c=a(4610),d=function(n){return"small-desktop"===n||"large-desktop"===n},u=a(2680),g=a(4474),f=a(487),y=a.n(f),h=a(631),b=a.n(h),m=a(2052),$=a.n(m),v=a(4010),A=a.n(v),_=a(1469),x=a.n(_),k=a(9329),w=a.n(k),C=a(8815),z={};z.styleTagTransform=w(),z.setAttributes=A(),z.insert=$().bind(null,"head"),z.domAPI=b(),z.insertStyleElement=x(),y()(C.Z,z);const M=C.Z&&C.Z.locals?C.Z.locals:void 0,E=function(n){var e,a,t=n.expanded,o=n.hidePanel,s=(0,c.useOnClickOutside)(o,t),l=(0,c.useConfig)(),p=(0,u.useTranslation)().t;return i().createElement(r.yh,{ref:s,className:M.headerPanel,"aria-label":"App Menu Panel",expanded:t,onClick:function(){return o()}},i().createElement(c.ExtensionSlot,{className:M.menuLink,name:"app-menu-slot"}),(null==l||null===(e=l.externalRefLinks)||void 0===e?void 0:e.length)>0&&i().createElement("div",{className:"".concat(M.menuLink," ").concat(M.externalLinks)},null==l||null===(a=l.externalRefLinks)||void 0===a?void 0:a.map((function(n){return i().createElement("a",{target:"_blank",rel:"noopener noreferrer",href:null==n?void 0:n.redirect},p(null==n?void 0:n.title),i().createElement(g.GI,{size:16,className:M.launchIcon}))}))))};var B=a(2727),N={};N.styleTagTransform=w(),N.setAttributes=A(),N.insert=$().bind(null,"head"),N.domAPI=b(),N.insertStyleElement=x(),y()(B.Z,N);const D=B.Z&&B.Z.locals?B.Z.locals:void 0,I=function(){var n=(0,c.useConfig)().logo;return i().createElement(i().Fragment,null,(null==n?void 0:n.src)?i().createElement("img",{className:D.logo,src:n.src,alt:n.alt,width:110,height:40}):(null==n?void 0:n.name)?n.name:i().createElement("svg",{role:"img",width:110,height:40},i().createElement("use",{xlinkHref:"#omrs-logo-white"})))};var L=a(7726),S={};S.styleTagTransform=w(),S.setAttributes=A(),S.insert=$().bind(null,"head"),S.domAPI=b(),S.insertStyleElement=x(),y()(L.Z,S);const T=L.Z&&L.Z.locals?L.Z.locals:void 0,P=function(n){var e=n.expanded,a=(0,u.useTranslation)().t,o=(0,t.useMemo)((function(){return{expanded:e}}),[e]);return i().createElement(r.yh,{"aria-label":"Notifications Panel",expanded:e},i().createElement("h1",{className:T.heading},a("notifications","Notifications")),i().createElement(c.ExtensionSlot,{name:"notifications-nav-menu-slot",state:o}))};var q=a(9177),H=a(6654),Z={};Z.styleTagTransform=w(),Z.setAttributes=A(),Z.insert=$().bind(null,"head"),Z.domAPI=b(),Z.insertStyleElement=x(),y()(H.Z,Z);const O=H.Z&&H.Z.locals?H.Z.locals:void 0;function U(n,e){(null==e||e>n.length)&&(e=n.length);for(var a=0,t=new Array(e);a<e;a++)t[a]=n[a];return t}const F=function(){var n=function(){var n,e,a=(n=i().useState(new Date),e=2,function(n){if(Array.isArray(n))return n}(n)||function(n,e){var a=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=a){var t,i,o=[],r=!0,s=!1;try{for(a=a.call(n);!(r=(t=a.next()).done)&&(o.push(t.value),!e||o.length!==e);r=!0);}catch(n){s=!0,i=n}finally{try{r||null==a.return||a.return()}finally{if(s)throw i}}return o}}(n,e)||function(n,e){if(n){if("string"==typeof n)return U(n,e);var a=Object.prototype.toString.call(n).slice(8,-1);return"Object"===a&&n.constructor&&(a=n.constructor.name),"Map"===a||"Set"===a?Array.from(a):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?U(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),t=a[0],o=a[1];return i().useEffect((function(){var n=null;return(0,c.subscribeConnectivity)((function(e){var a,t,i=e.online;!i&&n&&function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;localStorage.setItem("offline-last-updated",n.toISOString())}(),n=i,a=localStorage.getItem("offline-last-updated"),t=a?new Date(a):new Date,o(t)}))}),[]),t}();return i().createElement("aside",{className:O.offlineBanner},i().createElement("div",{className:O.offlineIconContainer},i().createElement(q.iY,{size:16})),i().createElement("span",{className:O.offlineNote},"Offline"),i().createElement("div",{className:O.offlineLastUpdatedContainer},i().createElement("span",{className:O.lastUpdatedNote},"Last updated: "),i().createElement("span",null,function(n){var e=n.toLocaleDateString(void 0,{day:"numeric",month:"short",year:"numeric"}),a=n.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit"});return"".concat(e," @ ").concat(a)}(n))))};var G=a(5547),R={};R.styleTagTransform=w(),R.setAttributes=A(),R.insert=$().bind(null,"head"),R.domAPI=b(),R.insertStyleElement=x(),y()(G.Z,R);const W=G.Z&&G.Z.locals?G.Z.locals:void 0,j=function(n){var e,a=n.expanded,t=n.user,o=n.allowedLocales,s=n.onLogout,l=n.session,p=n.hidePanel,d=(0,c.useOnClickOutside)(p,a);return i().createElement(r.yh,{ref:d,className:W.headerPanel,expanded:a,"aria-label":"Location","aria-labelledby":"Location Icon"},i().createElement(c.ExtensionSlot,{name:"user-panel-slot",state:{user:t,allowedLocales:o,onLogout:s,referer:window.location.pathname,currentLocation:null==l||null===(e=l.sessionLocation)||void 0===e?void 0:e.display}}))},Y=function(n){var e=n.expanded,a=n.hidePanel,o=(0,t.useRef)(null);return(0,t.useEffect)((function(){var n=function(n){(null==o?void 0:o.current)&&!o.current.contains(n.target)&&a()};return document.addEventListener("click",n),function(){return document.removeEventListener("click",n)}}),[o,a]),(0,t.useEffect)((function(){return window.addEventListener("popstate",a),window.addEventListener("popstate",a)}),[a]),e&&i().createElement(c.LeftNavMenu,{ref:o,isChildOfHeader:!0})};var J=a(3205),V={};V.styleTagTransform=w(),V.setAttributes=A(),V.insert=$().bind(null,"head"),V.domAPI=b(),V.insertStyleElement=x(),y()(J.Z,V);const Q=J.Z&&J.Z.locals?J.Z.locals:void 0;function X(n,e){(null==e||e>n.length)&&(e=n.length);for(var a=0,t=new Array(e);a<e;a++)t[a]=n[a];return t}function K(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var a=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=a){var t,i,o=[],r=!0,s=!1;try{for(a=a.call(n);!(r=(t=a.next()).done)&&(o.push(t.value),!e||o.length!==e);r=!0);}catch(n){s=!0,i=n}finally{try{r||null==a.return||a.return()}finally{if(s)throw i}}return o}}(n,e)||function(n,e){if(n){if("string"==typeof n)return X(n,e);var a=Object.prototype.toString.call(n).slice(8,-1);return"Object"===a&&n.constructor&&(a=n.constructor.name),"Map"===a||"Set"===a?Array.from(a):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?X(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const nn=function(){var n,e,a=(0,c.useSession)(),u=K((0,t.useState)(null!==(n=null==a?void 0:a.user)&&void 0!==n?n:null),2),g=u[0],f=u[1],y=K((0,t.useState)(null),2),h=y[0],b=y[1],m=null!==(e=null==a?void 0:a.allowedLocales)&&void 0!==e?e:null,$=(0,c.useLayoutType)(),v=(0,c.useAssignedExtensions)("patient-chart-dashboard-slot").map((function(n){return n.id})),A=window.getOpenmrsSpaBase(),_=(0,t.useCallback)((function(n){return h===n}),[h]),x=(0,t.useCallback)((function(n){return b((function(e){return e===n?null:n}))}),[]),k=(0,t.useCallback)((function(){return f(!1)}),[]),w=(0,t.useCallback)((function(){b(null)}),[]),C=(0,t.useMemo)((function(){return!d($)&&v.length>0}),[v.length,$]),z=function(){return i().createElement(i().Fragment,null,i().createElement(F,null),i().createElement(r.h4i,{"aria-label":"OpenMRS"},C&&i().createElement(r.wID,{"aria-label":"Open menu",isCollapsible:!0,className:Q.headerMenuButton,onClick:function(n){x("sideMenu"),n.stopPropagation()},isActive:_("sideMenu")}),i().createElement(c.ConfigurableLink,{to:"${openmrsSpaBase}/home"},i().createElement("div",{className:C?"":Q.spacedLogo},i().createElement(I,null))),i().createElement(c.ExtensionSlot,{className:Q.dividerOverride,name:"top-nav-info-slot"}),i().createElement(c.ExtensionSlot,{className:Q.dividerOverride,name:"top-nav-info-slot"}),i().createElement(r.sLE,{className:Q.headerGlobalBar},i().createElement(c.ExtensionSlot,{name:"top-nav-actions-slot",className:Q.topNavActionsSlot}),i().createElement(c.ExtensionSlot,{name:"notifications-menu-button-slot",state:{isActivePanel:_,togglePanel:x}}),i().createElement(r.JMr,{"aria-label":"Users","aria-labelledby":"Users Avatar Icon",className:"".concat(_("userMenu")?Q.headerGlobalBarButton:Q.activePanel),enterDelayMs:500,name:"Users",isActive:_("userMenu"),onClick:function(n){x("userMenu"),n.stopPropagation()}},_("userMenu")?i().createElement(s.x8,{size:20}):i().createElement(l.Yo,{size:20})),i().createElement(r.JMr,{"aria-label":"App Menu","aria-labelledby":"App Menu",enterDelayMs:500,isActive:_("appMenu"),tooltipAlignment:"end",className:"".concat(_("appMenu")?Q.headerGlobalBarButton:Q.activePanel),onClick:function(n){x("appMenu"),n.stopPropagation()}},_("appMenu")?i().createElement(s.x8,{size:20}):i().createElement(p.SQ,{size:20}))),!d($)&&i().createElement(Y,{hidePanel:w,expanded:_("sideMenu")}),i().createElement(E,{expanded:_("appMenu"),hidePanel:w}),i().createElement(P,{expanded:_("notificationsMenu")}),i().createElement(j,{user:g,session:a,expanded:_("userMenu"),allowedLocales:m,onLogout:k,hidePanel:w})))};return g&&a?i().createElement(r.gMZ,{render:(0,t.memo)(z)}):i().createElement(o.Navigate,{to:"".concat(A,"login"),state:{referrer:window.location.pathname.slice(window.location.pathname.indexOf(A)+A.length-1)}})},en=function(){return i().createElement(o.BrowserRouter,null,i().createElement("div",{className:W.primaryNavContainer},i().createElement(nn,null)))}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"241.js","mappings":"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","sources":["webpack://@openmrs/esm-primary-navigation-app/./src/components/logo/logo.scss","webpack://@openmrs/esm-primary-navigation-app/./src/components/navbar-header-panels/app-menu-panel.scss","webpack://@openmrs/esm-primary-navigation-app/./src/components/navbar-header-panels/notifications-menu.panel.scss","webpack://@openmrs/esm-primary-navigation-app/./src/components/navbar/navbar.scss","webpack://@openmrs/esm-primary-navigation-app/./src/components/offline-banner/offline-banner.scss","webpack://@openmrs/esm-primary-navigation-app/./src/root.scss","webpack://@openmrs/esm-primary-navigation-app/./src/utils.ts","webpack://@openmrs/esm-primary-navigation-app/./src/components/navbar-header-panels/app-menu-panel.scss?cbf0","webpack://@openmrs/esm-primary-navigation-app/./src/components/navbar-header-panels/app-menu-panel.component.tsx","webpack://@openmrs/esm-primary-navigation-app/./src/components/logo/logo.scss?513d","webpack://@openmrs/esm-primary-navigation-app/./src/components/logo/logo.component.tsx","webpack://@openmrs/esm-primary-navigation-app/./src/components/navbar-header-panels/notifications-menu.panel.scss?9050","webpack://@openmrs/esm-primary-navigation-app/./src/components/navbar-header-panels/notifications-menu-panel.component.tsx","webpack://@openmrs/esm-primary-navigation-app/./src/components/offline-banner/offline-banner.scss?1849","webpack://@openmrs/esm-primary-navigation-app/./src/components/offline-banner/offline-banner.component.tsx","webpack://@openmrs/esm-primary-navigation-app/./src/root.scss?8b34","webpack://@openmrs/esm-primary-navigation-app/./src/components/navbar-header-panels/user-menu-panel.component.tsx","webpack://@openmrs/esm-primary-navigation-app/./src/components/navbar-header-panels/side-menu-panel.component.tsx","webpack://@openmrs/esm-primary-navigation-app/./src/components/navbar/navbar.scss?50f4","webpack://@openmrs/esm-primary-navigation-app/./src/components/navbar/navbar.component.tsx","webpack://@openmrs/esm-primary-navigation-app/./src/root.component.tsx"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","isDesktop","layout","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","config","expanded","hidePanel","appMenuRef","useOnClickOutside","useConfig","useTranslation","t","HeaderPanel","ref","className","styles","aria-label","onClick","ExtensionSlot","name","externalRefLinks","length","div","map","link","a","target","rel","href","redirect","title","Launch","size","logo","src","img","alt","width","height","svg","role","use","xlinkHref","state","useMemo","h1","lastUpdated","React","Date","setLastUpdated","wasOnline","subscribeConnectivity","value","date","online","localStorage","setItem","toISOString","writeLastUpdated","getItem","useLastUpdated","aside","ConnectionSignalOff","span","toLocaleDateString","day","month","year","time","toLocaleTimeString","hour","minute","formatLastUpdated","session","user","allowedLocales","onLogout","userMenuRef","aria-labelledby","referer","window","location","pathname","currentLocation","sessionLocation","display","menuRef","useRef","useEffect","handleClickOutside","event","current","contains","document","addEventListener","removeEventListener","LeftNavMenu","isChildOfHeader","useSession","useState","setUser","activeHeaderPanel","setActiveHeaderPanel","useLayoutType","navMenuItems","useAssignedExtensions","e","openmrsSpaBase","isActivePanel","useCallback","panelName","togglePanel","logout","showHamburger","HeaderItems","OfflineBanner","Header","HeaderMenuButton","isCollapsible","stopPropagation","isActive","ConfigurableLink","to","Logo","HeaderGlobalBar","HeaderGlobalAction","enterDelayMs","Close","UserAvatarFilledAlt","tooltipAlignment","Switcher","SideMenuPanel","AppMenuPanel","NotificationsMenuPanel","UserMenuPanel","HeaderContainer","render","memo","Navigate","referrer","slice","indexOf","BrowserRouter","Navbar"],"sourceRoot":""}