@kenyaemr/esm-active-visits-app 8.1.2-pre.214 → 8.1.2-pre.218
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.
- package/.turbo/turbo-build.log +3 -3
- package/dist/574.js +1 -1
- package/dist/6.js +1 -1
- package/dist/6.js.map +1 -1
- package/dist/725.js +1 -1
- package/dist/725.js.map +1 -1
- package/dist/744.js +1 -1
- package/dist/788.js +1 -1
- package/dist/967.js +1 -1
- package/dist/967.js.map +1 -1
- package/dist/kenyaemr-esm-active-visits-app.js +1 -1
- package/dist/kenyaemr-esm-active-visits-app.js.buildmanifest.json +16 -16
- package/dist/kenyaemr-esm-active-visits-app.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +2 -2
- package/translations/am.json +34 -34
- package/translations/en.json +2 -3
package/dist/6.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.webpackChunk_kenyaemr_esm_active_visits_app=globalThis.webpackChunk_kenyaemr_esm_active_visits_app||[]).push([[6],{4699:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r});var i=t(5698),a=t.n(i),o=t(9613),s=t.n(o)()(a());s.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-active-visits__active-visits__container___XDupn{margin:0 1rem}.-esm-active-visits__active-visits__activeVisitsContainer___XAE0K{background-color:#fff;border:1px solid #e0e0e0;width:100%;margin:0 auto;max-width:95vw;padding-bottom:0}.-esm-active-visits__active-visits__activeVisitsDetailHeaderContainer___pjwhu{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0 .75rem 1rem;background-color:#fff}.-esm-active-visits__active-visits__activeVisitsTable___ISQat{width:100%}.-esm-active-visits__active-visits__activeVisitsTable___ISQat th,.-esm-active-visits__active-visits__activeVisitsTable___ISQat td{white-space:nowrap;text-align:left}.-esm-active-visits__active-visits__activeVisitsTable___ISQat tbody tr[data-parent-row]:nth-last-of-type(2)>td{border-bottom:none}.-esm-active-visits__active-visits__backgroundDataFetchingIndicator___YszBc{align-items:center;display:flex;flex:1 1 0%;justify-content:center}.-esm-active-visits__active-visits__tableContainer___27wfu section{position:relative}.-esm-active-visits__active-visits__tableContainer___27wfu a{text-decoration:none}.-esm-active-visits__active-visits__pagination___h8NbE{overflow:hidden}.-esm-active-visits__active-visits__pagination___h8NbE.cds--pagination{border-top:1px solid #e0e0e0}.-esm-active-visits__active-visits__hiddenRow___nho0Q{display:none}.-esm-active-visits__active-visits__emptyRow___jKDsj{padding:0 1rem;display:flex;align-items:center}.-esm-active-visits__active-visits__visitSummaryContainer___mBkXn{width:100%;max-width:48rem;margin:1rem auto}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO td{padding:0 2rem}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO td>div{max-height:max-content !important}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO th[colspan] td[colspan]>div:first-child{padding:0 1rem}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO:last-of-type th[colspan]:last-child{border-bottom:none}.-esm-active-visits__active-visits__action___Kn0CE{margin-bottom:.5rem}.-esm-active-visits__active-visits__content___hF3rN{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);color:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-active-visits__active-visits__desktopHeading___3cKg8,.-esm-active-visits__active-visits__tabletHeading___vrNoH{text-align:left;text-transform:capitalize}.-esm-active-visits__active-visits__desktopHeading___3cKg8 h4,.-esm-active-visits__active-visits__tabletHeading___vrNoH h4{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);color:#525252}.-esm-active-visits__active-visits__desktopHeading___3cKg8 h4:after,.-esm-active-visits__active-visits__tabletHeading___vrNoH h4:after{content:"";display:block;width:2rem;padding-top:3px;border-bottom:.375rem solid;border-bottom-color:#007d79;border-bottom-color:var(--brand-03)}.-esm-active-visits__active-visits__tile___OJ1Dy{text-align:center}.-esm-active-visits__active-visits__filterEmptyState___lrkdM{display:flex;justify-content:center;align-items:center;padding:1rem;margin:5rem;text-align:center}.-esm-active-visits__active-visits__filterEmptyStateTile___DzW91{margin:auto}.-esm-active-visits__active-visits__filterEmptyStateContent___Lknz\\+{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);color:#525252;margin-bottom:.5rem}.-esm-active-visits__active-visits__filterEmptyStateHelper___z6MPO{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);color:#525252}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__activeVisitsDetailHeaderContainer___pjwhu{padding:.75rem 1rem .75rem 0}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__desktopHeading___3cKg8 h4,html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tabletHeading___vrNoH h4{text-align:right}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K div[role=search] :first-child svg{left:unset;right:.5rem}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K div[role=search] :last-child{right:unset;left:0}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu{overflow-x:auto;text-wrap:nowrap}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu th>div{text-align:right}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu td{text-align:right}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu td .-esm-active-visits__active-visits__serviceColor___r2uPU{margin-right:0;margin-left:.5rem}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu td button{text-align:right}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/active-visits-widget/active-visits.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDF,sDACE,aAAA,CAGF,kEACE,qBDRM,CCSN,wBAAA,CACA,UAAA,CACA,aAAA,CACA,cAAA,CACA,gBAAA,CAGF,8EACE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,4BAAA,CACA,qBDrBM,CCwBR,8DACE,UAAA,CAEA,kIAEE,kBAAA,CACA,eAAA,CAKA,+GACE,kBAAA,CAKN,4EACE,kBAAA,CACA,YAAA,CACA,WAAA,CACA,sBAAA,CAGF,mEACE,iBAAA,CAGF,6DACE,oBAAA,CAGF,uDACE,eAAA,CAEA,uEACE,4BAAA,CAIJ,sDACE,YAAA,CAGF,qDACE,cAAA,CACA,YAAA,CACA,kBAAA,CAGF,kEACE,UAAA,CACA,eAAA,CACA,gBAAA,CAIA,sEACE,cAAA,CAEA,0EACE,iCAAA,CAIJ,2GACE,cAAA,CAGF,uGACE,kBAAA,CAIJ,mDACE,mBC/EW,CDkFb,oDE2vBI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CFzvBF,aDpGQ,CCqGR,eC3EW,CD4EX,mBCtFW,CDyFb,qHAEE,eAAA,CACA,yBAAA,CAEA,2HE+uBE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CF7uBA,aDhHM,CCkHN,uIACE,UAAA,CACA,aAAA,CACA,UCjFO,CDkFP,eAAA,CACA,2BAAA,CD5EJ,2BAAA,CACA,mCAAA,CCiFF,iDACE,iBAAA,CAGF,6DACE,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,YC3GW,CD4GX,WC9EW,CD+EX,iBAAA,CAGF,iEACE,WAAA,CAGF,qEE+sBI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CF7sBF,aDhJQ,CCiJR,mBCjIW,CDoIb,mEEysBI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CFvsBF,aDtJQ,CC4JN,8JACE,4BAAA,CAKA,2RACE,gBAAA,CAMA,kHACE,UAAA,CACA,WC3JG,CD+JP,6GACE,WAAA,CACA,MAAA,CAIJ,2IACE,eAAA,CACA,gBAAA,CAEA,kJACE,gBAAA,CAGF,8IACE,gBAAA,CAEA,uMACE,cAAA,CACA,iBClLG,CDqLL,qJACE,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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\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/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.container {\n margin: 0 layout.$spacing-05;\n}\n\n.activeVisitsContainer {\n background-color: $ui-02;\n border: 1px solid $ui-03;\n width: 100%;\n margin: 0 auto;\n max-width: 95vw;\n padding-bottom: 0;\n}\n\n.activeVisitsDetailHeaderContainer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: layout.$spacing-04 0 layout.$spacing-04 layout.$spacing-05;\n background-color: $ui-02;\n}\n\n.activeVisitsTable {\n width: 100%;\n\n th,\n td {\n white-space: nowrap;\n text-align: left;\n }\n\n tbody tr[data-parent-row] {\n // Don't show a bottom border on the last row so we don't end up with a double border from the activeVisitContainer\n &:nth-last-of-type(2) > td {\n border-bottom: none;\n }\n }\n}\n\n.backgroundDataFetchingIndicator {\n align-items: center;\n display: flex;\n flex: 1 1 0%;\n justify-content: center;\n}\n\n.tableContainer section {\n position: relative;\n}\n\n.tableContainer a {\n text-decoration: none;\n}\n\n.pagination {\n overflow: hidden;\n\n &:global(.cds--pagination) {\n border-top: 1px solid $ui-03;\n }\n}\n\n.hiddenRow {\n display: none;\n}\n\n.emptyRow {\n padding: 0 layout.$spacing-05;\n display: flex;\n align-items: center;\n}\n\n.visitSummaryContainer {\n width: 100%;\n max-width: 48rem;\n margin: layout.$spacing-05 auto;\n}\n\n.expandedActiveVisitRow {\n td {\n padding: 0 layout.$spacing-07;\n\n > div {\n max-height: max-content !important;\n }\n }\n\n th[colspan] td[colspan] > div:first-child {\n padding: 0 layout.$spacing-05;\n }\n\n &:last-of-type th[colspan]:last-child {\n border-bottom: none;\n }\n}\n\n.action {\n margin-bottom: layout.$spacing-03;\n}\n\n.content {\n @include type.type-style('heading-compact-01');\n color: $text-02;\n margin-top: layout.$spacing-05;\n margin-bottom: layout.$spacing-03;\n}\n\n.desktopHeading,\n.tabletHeading {\n text-align: left;\n text-transform: capitalize;\n\n h4 {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n\n &:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 3px;\n border-bottom: 0.375rem solid;\n @include brand-03(border-bottom-color);\n }\n }\n}\n\n.tile {\n text-align: center;\n}\n\n.filterEmptyState {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: layout.$spacing-05;\n margin: layout.$spacing-11;\n text-align: center;\n}\n\n.filterEmptyStateTile {\n margin: auto;\n}\n\n.filterEmptyStateContent {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n margin-bottom: layout.$spacing-03;\n}\n\n.filterEmptyStateHelper {\n @include type.type-style('body-compact-01');\n color: $text-02;\n}\n\n// Overriding styles for RTL support\nhtml[dir='rtl'] {\n .activeVisitsContainer {\n .activeVisitsDetailHeaderContainer {\n padding: layout.$spacing-04 layout.$spacing-05 layout.$spacing-04 0;\n }\n\n .desktopHeading,\n .tabletHeading {\n h4 {\n text-align: right;\n }\n }\n\n div[role='search'] {\n & :first-child {\n svg {\n left: unset;\n right: layout.$spacing-03;\n }\n }\n\n & :last-child {\n right: unset;\n left: 0;\n }\n }\n\n .tableContainer {\n overflow-x: auto;\n text-wrap: nowrap;\n\n th > div {\n text-align: right;\n }\n\n td {\n text-align: right;\n\n .serviceColor {\n margin-right: 0;\n margin-left: layout.$spacing-03;\n }\n\n button {\n text-align: right;\n }\n }\n }\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\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","//\n// Copyright IBM Corp. 2018, 2023\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/// @deprecated\n/// @group @carbon/type\n$caption-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/// @deprecated\n/// @group @carbon/type\n$caption-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.32px,\n) !default;\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: 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-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('regular'),\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.4,\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('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\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('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\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 caption-01: $caption-01,\n caption-02: $caption-02,\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) !default;\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:""}]),s.locals={container:"-esm-active-visits__active-visits__container___XDupn",activeVisitsContainer:"-esm-active-visits__active-visits__activeVisitsContainer___XAE0K",activeVisitsDetailHeaderContainer:"-esm-active-visits__active-visits__activeVisitsDetailHeaderContainer___pjwhu",activeVisitsTable:"-esm-active-visits__active-visits__activeVisitsTable___ISQat",backgroundDataFetchingIndicator:"-esm-active-visits__active-visits__backgroundDataFetchingIndicator___YszBc",tableContainer:"-esm-active-visits__active-visits__tableContainer___27wfu",pagination:"-esm-active-visits__active-visits__pagination___h8NbE",hiddenRow:"-esm-active-visits__active-visits__hiddenRow___nho0Q",emptyRow:"-esm-active-visits__active-visits__emptyRow___jKDsj",visitSummaryContainer:"-esm-active-visits__active-visits__visitSummaryContainer___mBkXn",expandedActiveVisitRow:"-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO",action:"-esm-active-visits__active-visits__action___Kn0CE",content:"-esm-active-visits__active-visits__content___hF3rN",desktopHeading:"-esm-active-visits__active-visits__desktopHeading___3cKg8",tabletHeading:"-esm-active-visits__active-visits__tabletHeading___vrNoH",tile:"-esm-active-visits__active-visits__tile___OJ1Dy",filterEmptyState:"-esm-active-visits__active-visits__filterEmptyState___lrkdM",filterEmptyStateTile:"-esm-active-visits__active-visits__filterEmptyStateTile___DzW91",filterEmptyStateContent:"-esm-active-visits__active-visits__filterEmptyStateContent___Lknz+",filterEmptyStateHelper:"-esm-active-visits__active-visits__filterEmptyStateHelper___z6MPO",serviceColor:"-esm-active-visits__active-visits__serviceColor___r2uPU"};const r=s},8031:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r});var i=t(5698),a=t.n(i),o=t(9613),s=t.n(o)()(a());s.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-active-visits__visit-detail-overview__container___mkGcD{display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.-esm-active-visits__visit-detail-overview__encounterHeading___2xolA{text-align:left;width:100%;margin:0 1rem 1.3125rem;color:#161616}.-esm-active-visits__visit-detail-overview__medicationRecord___lye5q{display:flex;flex-direction:column;justify-content:space-between}.-esm-active-visits__visit-detail-overview__medicationRecord___lye5q .-esm-active-visits__visit-detail-overview__bodyLong01___3DCLv{margin:.25rem 0}.-esm-active-visits__visit-detail-overview__medicationContainer___btt6x{background-color:#f4f4f4;padding:1rem;width:100% !important}.-esm-active-visits__visit-detail-overview__dosage___-x3me{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-active-visits__visit-detail-overview__metadata___5nPG2{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);color:#525252;margin:.5rem 0 1rem}.-esm-active-visits__visit-detail-overview__visitsDetailWidgetContainer___ZvlEp{background-color:#fff;width:100%;border:1px solid #e0e0e0}.-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET{display:flex;justify-content:space-between;padding:.75rem 0 .75rem 1rem;background-color:#fff}.-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET>h4:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid #007d79}.-esm-active-visits__visit-detail-overview__customTable___8OnwU th{padding:0 !important}.-esm-active-visits__visit-detail-overview__customTable___8OnwU tr[data-parent-row]:nth-child(odd) td{background-color:#fff}.-esm-active-visits__visit-detail-overview__customTable___8OnwU tbody tr[data-parent-row]:nth-child(even) td{background-color:#f4f4f4}.-esm-active-visits__visit-detail-overview__customTable___8OnwU td{border-bottom:none !important}.-esm-active-visits__visit-detail-overview__visitEmptyState___7PPoN{text-align:center;background-color:#fff;padding:2rem;border:1px solid #e0e0e0;width:100%}.-esm-active-visits__visit-detail-overview__encounterEmptyState___QNHmv{text-align:center;margin:0 1rem 1rem 1rem}.-esm-active-visits__visit-detail-overview__expandedRow___o7vyJ>td{padding:inherit !important}.-esm-active-visits__visit-detail-overview__expandedRow___o7vyJ>td>div{max-height:max-content !important}.-esm-active-visits__visit-detail-overview__observation___Eku\\+V{display:grid;grid-template-columns:max-content auto;grid-gap:.5rem;margin:.5rem 0}.-esm-active-visits__visit-detail-overview__observation___Eku\\+V>span{align-self:center}.-esm-active-visits__visit-detail-overview__summaryContainer___6ueAF{background-color:#fff;display:grid;grid-template-columns:max-content auto;padding:1rem 0;margin:0 1rem}.-esm-active-visits__visit-detail-overview__summaryContainer___6ueAF .cds--tabs{max-height:7rem}.-esm-active-visits__visit-detail-overview__flexSections___K3zUQ{display:flex}.-esm-active-visits__visit-detail-overview__verticalTabs___8bwHK{margin:1rem 0;scroll-behavior:smooth}.-esm-active-visits__visit-detail-overview__verticalTabs___8bwHK>ul{flex-direction:column !important}.-esm-active-visits__visit-detail-overview__verticalTabs___8bwHK .cds--tabs--scrollable .cds--tabs--scrollable__nav-item + .cds--tabs--scrollable__nav-item{margin-left:0}.-esm-active-visits__visit-detail-overview__verticalTabs___8bwHK .cds--tabs--scrollable .cds--tabs--scrollable__nav-link{border-bottom:0 !important;border-left:2px solid #c6c6c6}.-esm-active-visits__visit-detail-overview__tab___ZEwef{outline:0;outline-offset:0;min-height:2rem}.-esm-active-visits__visit-detail-overview__tab___ZEwef:active,.-esm-active-visits__visit-detail-overview__tab___ZEwef:focus{outline:2px solid var(--brand-03) !important}.-esm-active-visits__visit-detail-overview__tab___ZEwef[aria-selected=true]{border-left:3px solid var(--brand-03);border-bottom:none;font-weight:600;margin-left:0 !important}.-esm-active-visits__visit-detail-overview__tab___ZEwef[aria-selected=false]{border-bottom:none;border-left:2px solid #e0e0e0;margin-left:0 !important}.-esm-active-visits__visit-detail-overview__tablist___l7Wdv .cds--tab--list{flex-direction:column;max-height:fit-content;overflow-x:visible}.-esm-active-visits__visit-detail-overview__tablist___l7Wdv>button .cds--tabs .cds--tabs__nav-link{border-bottom:none}.-esm-active-visits__visit-detail-overview__medicationBlock___4eXwy{background-color:#f4f4f4;padding:.625rem 6.75rem .75rem 1.063rem;margin-top:1.5rem;width:100% !important}.-esm-active-visits__visit-detail-overview__medicationBlock___4eXwy:first-child{margin-top:0}.-esm-active-visits__visit-detail-overview__diagnosisLabel___wvbjE{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);color:#525252;margin-top:5px}.-esm-active-visits__visit-detail-overview__diagnosesList___Q28KT{display:flex;flex-flow:row wrap;padding-bottom:.5rem;margin:0 1rem;border-bottom:1px solid #e0e0e0}.-esm-active-visits__visit-detail-overview__actions___zAZ04{margin:0 1rem}.-esm-active-visits__visit-detail-overview__contentSwitcher___tCYpp .cds--content-switcher-btn{min-width:fit-content}.-esm-active-visits__visit-detail-overview__contentSwitcher___tCYpp .cds--content-switcher__label{height:1rem}.-esm-active-visits__visit-detail-overview__notesContainer___lGWpE{margin-bottom:2rem}.-esm-active-visits__visit-detail-overview__noteText___WoH0y{background-color:#f4f4f4;padding:1rem;width:100% !important;white-space:pre-wrap}.-esm-active-visits__visit-detail-overview__desktopHeading___-1uLJ,.-esm-active-visits__visit-detail-overview__tabletHeading___LNMhi{text-align:left;text-transform:capitalize;margin-bottom:1rem}.-esm-active-visits__visit-detail-overview__desktopHeading___-1uLJ h4,.-esm-active-visits__visit-detail-overview__tabletHeading___LNMhi h4{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);color:#525252}.-esm-active-visits__visit-detail-overview__desktopHeading___-1uLJ h4:after,.-esm-active-visits__visit-detail-overview__tabletHeading___LNMhi h4:after{content:"";display:block;width:2rem;padding-top:3px;border-bottom:.375rem solid;border-bottom-color:#007d79;border-bottom-color:var(--brand-03)}.-esm-active-visits__visit-detail-overview__tile___MC37N{text-align:center}.-esm-active-visits__visit-detail-overview__emptyStateContent___JjzUp{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);color:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-active-visits__visit-detail-overview__emptyStateContainer___kmnV4{background-color:#fff;border:1px solid #e0e0e0;width:100%;margin:0 auto;max-width:95vw;padding-bottom:0}.-esm-active-visits__visit-detail-overview__productiveHeading02___5-t\\+w{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-active-visits__visit-detail-overview__bodyLong01___3DCLv{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-active-visits__visit-detail-overview__caption01___yCfJc{font-size:var(--cds-legal-01-font-size, 0.75rem);font-weight:var(--cds-legal-01-font-weight, 400);line-height:var(--cds-legal-01-line-height, 1.33333);letter-spacing:var(--cds-legal-01-letter-spacing, 0.32px)}.-esm-active-visits__visit-detail-overview__bodyShort02___fuXhU{font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0)}.-esm-active-visits__visit-detail-overview__text02___hhPqo{color:#525252}.-esm-active-visits__visit-detail-overview__text01___8ug6t{color:#161616}html[dir=rtl] .-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET{padding:.75rem 1rem .75rem 0}html[dir=rtl] .-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET h4{text-align:right}html[dir=rtl] .-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET>div>div :first-child{border-bottom-left-radius:unset;border-top-left-radius:unset;border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}html[dir=rtl] .-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET>div>div :first-child[aria-selected=false]{border-left:unset;border-right:.0625rem solid #a6c8ff}html[dir=rtl] .-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET>div>div :last-child{border-bottom-right-radius:unset;border-top-right-radius:unset;border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}html[dir=rtl] .-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET>div>div :last-child[aria-selected=false]{border-right:unset;border-left:.0625rem solid #a6c8ff}html[dir=rtl] .-esm-active-visits__visit-detail-overview__summaryContainer___6ueAF .-esm-active-visits__visit-detail-overview__tablist___l7Wdv>div button{text-align:right}html[dir=rtl] .-esm-active-visits__visit-detail-overview__summaryContainer___6ueAF .-esm-active-visits__visit-detail-overview__tablist___l7Wdv>div button[aria-selected=true]{border-left:unset;border-right:3px solid var(--brand-03)}html[dir=rtl] .-esm-active-visits__visit-detail-overview__summaryContainer___6ueAF .-esm-active-visits__visit-detail-overview__tablist___l7Wdv>div button[aria-selected=false]{border-left:unset;border-right:2px solid #e0e0e0}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/visits-summary/visit-detail-overview.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDF,8DACE,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,0BAAA,CAGF,qEACE,eAAA,CACA,UAAA,CACA,uBAAA,CACA,aDXM,CCcR,qEACE,YAAA,CACA,qBAAA,CACA,6BAAA,CAEA,oIACE,eAAA,CAIJ,wEACE,wBD7BM,CC8BN,YCCW,CAAA,qBAAA,CDGb,2DEg0BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CF5zBJ,6DE4zBI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CF1zBF,aDnCQ,CCoCR,mBAAA,CAGF,gFACE,qBDtCc,CCuCd,UAAA,CACA,wBAAA,CAGF,gFACE,YAAA,CACA,6BAAA,CACA,4BAAA,CACA,qBD/Cc,CCkDhB,yFACE,UAAA,CACA,aAAA,CACA,UCnBW,CDoBX,mBAAA,CACA,mCAAA,CAIA,mEACE,oBAAA,CAGF,sGACE,qBDtEI,CCyEN,6GACE,wBD3EI,CC8EN,mEACE,6BAAA,CAIJ,oEACE,iBAAA,CACA,qBAAA,CACA,YC7CW,CD8CX,wBAAA,CACA,UAAA,CAGF,wEACE,iBAAA,CACA,uBAAA,CAGF,mEACE,0BAAA,CAGF,uEACE,iCAAA,CAGF,iEACE,YAAA,CACA,sCAAA,CACA,cCtFW,CDuFX,cAAA,CAGF,sEACE,iBAAA,CAGF,qEACE,qBD7Gc,CC8Gd,YAAA,CACA,sCAAA,CACA,cAAA,CACA,aAAA,CAEA,gFACE,eAAA,CAIJ,iEACE,YAAA,CAGF,iEACE,aAAA,CACA,sBAAA,CAEA,oEACE,gCAAA,CAGF,4JACE,aAAA,CAGF,yHACE,0BAAA,CACA,6BAAA,CAIJ,wDACE,SAAA,CACA,gBAAA,CACA,eC/GW,CDiHX,6HAEE,4CAAA,CAGF,4EACE,qCAAA,CACA,kBAAA,CACA,eAAA,CACA,wBAAA,CAGF,6EACE,kBAAA,CACA,6BAAA,CACA,wBAAA,CAKF,4EACE,qBAAA,CACA,sBAAA,CACA,kBAAA,CAGF,mGACE,kBAAA,CAIJ,oEACE,wBD1LM,CC2LN,uCAAA,CACA,iBCxJW,CDyJX,qBAAA,CAGF,gFACE,YAAA,CAGF,mEE8pBI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CF5pBF,aDjMQ,CCkMR,cAAA,CAGF,kEACE,YAAA,CACA,kBAAA,CACA,oBCxLW,CDyLX,aAAA,CACA,+BAAA,CAGF,4DACE,aAAA,CAKA,+FACE,qBAAA,CAGF,kGACE,WC9LS,CDkMb,mEACE,kBCzLW,CD4Lb,6DACE,wBDtOM,CCuON,YCxMW,CDyMX,qBAAA,CACA,oBAAA,CAGF,qIAEE,eAAA,CACA,yBAAA,CACA,kBCjNW,CDmNX,2IEgnBE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CF9mBA,aD/OM,CCiPN,uJACE,UAAA,CACA,aAAA,CACA,UChNO,CDiNP,eAAA,CACA,2BAAA,CD3MJ,2BAAA,CACA,mCAAA,CCgNF,yDACE,iBAAA,CAGF,sEE6lBI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CF3lBF,aDlQQ,CCmQR,eCzOW,CD0OX,mBCpPW,CDuPb,wEACE,qBD5QM,CC6QN,wBAAA,CACA,UAAA,CACA,aAAA,CACA,cAAA,CACA,gBAAA,CAGF,yEE6kBI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFzkBJ,+DEykBI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CFrkBJ,8DEqkBI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CFjkBJ,gEEikBI,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CF7jBJ,2DACE,aDjSQ,CCoSV,2DACE,aDtSM,CC2SN,8FACE,4BAAA,CACA,iGACE,gBAAA,CAIE,mHACE,+BAAA,CACA,4BAAA,CACA,iCCzSG,CD0SH,8BC1SG,CD4SL,wIACE,iBAAA,CACA,mCAAA,CAEF,kHACE,gCAAA,CACA,6BAAA,CACA,gCCnTG,CDoTH,6BCpTG,CDsTL,uIACE,kBAAA,CACA,kCAAA,CAQF,0JACE,gBAAA,CAEF,8KACE,iBAAA,CACA,sCAAA,CAEF,+KACE,iBAAA,CACA,8BAAA",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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\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/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n}\n\n.encounterHeading {\n text-align: left;\n width: 100%;\n margin: 0 layout.$spacing-05 1.3125rem;\n color: $ui-05;\n}\n\n.medicationRecord {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n .bodyLong01 {\n margin: layout.$spacing-02 0;\n }\n}\n\n.medicationContainer {\n background-color: $ui-01;\n padding: layout.$spacing-05;\n width: 100% !important;\n}\n\n.dosage {\n @include type.type-style('heading-compact-01');\n}\n\n.metadata {\n @include type.type-style('label-01');\n color: $text-02;\n margin: layout.$spacing-03 0 layout.$spacing-05;\n}\n\n.visitsDetailWidgetContainer {\n background-color: $ui-background;\n width: 100%;\n border: 1px solid $ui-03;\n}\n\n.visitsDetailHeaderContainer {\n display: flex;\n justify-content: space-between;\n padding: layout.$spacing-04 0 layout.$spacing-04 layout.$spacing-05;\n background-color: $ui-background;\n}\n\n.visitsDetailHeaderContainer > h4:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid $brand-teal-01;\n}\n\n.customTable {\n th {\n padding: 0 !important;\n }\n\n tr[data-parent-row]:nth-child(odd) td {\n background-color: $ui-02;\n }\n\n tbody tr[data-parent-row]:nth-child(even) td {\n background-color: $ui-01;\n }\n\n td {\n border-bottom: none !important;\n }\n}\n\n.visitEmptyState {\n text-align: center;\n background-color: white;\n padding: layout.$spacing-07;\n border: 1px solid $ui-03;\n width: 100%;\n}\n\n.encounterEmptyState {\n text-align: center;\n margin: 0 layout.$spacing-05 layout.$spacing-05 layout.$spacing-05;\n}\n\n.expandedRow > td {\n padding: inherit !important;\n}\n\n.expandedRow > td > div {\n max-height: max-content !important;\n}\n\n.observation {\n display: grid;\n grid-template-columns: max-content auto;\n grid-gap: layout.$spacing-03;\n margin: layout.$spacing-03 0;\n}\n\n.observation > span {\n align-self: center;\n}\n\n.summaryContainer {\n background-color: $ui-background;\n display: grid;\n grid-template-columns: max-content auto;\n padding: layout.$spacing-05 0;\n margin: 0 layout.$spacing-05;\n\n :global(.cds--tabs) {\n max-height: 7rem;\n }\n}\n\n.flexSections {\n display: flex;\n}\n\n.verticalTabs {\n margin: layout.$spacing-05 0;\n scroll-behavior: smooth;\n\n > ul {\n flex-direction: column !important;\n }\n\n :global(.cds--tabs--scrollable .cds--tabs--scrollable__nav-item + .cds--tabs--scrollable__nav-item) {\n margin-left: 0;\n }\n\n :global(.cds--tabs--scrollable .cds--tabs--scrollable__nav-link) {\n border-bottom: 0 !important;\n border-left: 2px solid $color-gray-30;\n }\n}\n\n.tab {\n outline: 0;\n outline-offset: 0;\n min-height: layout.$spacing-07;\n\n &:active,\n &:focus {\n outline: 2px solid var(--brand-03) !important;\n }\n\n &[aria-selected='true'] {\n border-left: 3px solid var(--brand-03);\n border-bottom: none;\n font-weight: 600;\n margin-left: 0 !important;\n }\n\n &[aria-selected='false'] {\n border-bottom: none;\n border-left: 2px solid $ui-03;\n margin-left: 0 !important;\n }\n}\n\n.tablist {\n :global(.cds--tab--list) {\n flex-direction: column;\n max-height: fit-content;\n overflow-x: visible;\n }\n\n > button :global(.cds--tabs .cds--tabs__nav-link) {\n border-bottom: none;\n }\n}\n\n.medicationBlock {\n background-color: $ui-01;\n padding: 0.625rem 6.75rem layout.$spacing-04 1.063rem;\n margin-top: layout.$spacing-06;\n width: 100% !important;\n}\n\n.medicationBlock:first-child {\n margin-top: 0;\n}\n\n.diagnosisLabel {\n @include type.type-style('heading-compact-01');\n color: $text-02;\n margin-top: 5px;\n}\n\n.diagnosesList {\n display: flex;\n flex-flow: row wrap;\n padding-bottom: layout.$spacing-03;\n margin: 0 layout.$spacing-05;\n border-bottom: 1px solid $ui-03;\n}\n\n.actions {\n margin: 0 layout.$spacing-05;\n}\n\n.contentSwitcher {\n // TODO: Remove once override gets added to styleguide\n :global(.cds--content-switcher-btn) {\n min-width: fit-content;\n }\n\n :global(.cds--content-switcher__label) {\n height: layout.$spacing-05;\n }\n}\n\n.notesContainer {\n margin-bottom: layout.$spacing-07;\n}\n\n.noteText {\n background-color: $ui-01;\n padding: layout.$spacing-05;\n width: 100% !important;\n white-space: pre-wrap;\n}\n\n.desktopHeading,\n.tabletHeading {\n text-align: left;\n text-transform: capitalize;\n margin-bottom: layout.$spacing-05;\n\n h4 {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n\n &:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 3px;\n border-bottom: 0.375rem solid;\n @include brand-03(border-bottom-color);\n }\n }\n}\n\n.tile {\n text-align: center;\n}\n\n.emptyStateContent {\n @include type.type-style('heading-compact-01');\n color: $text-02;\n margin-top: layout.$spacing-05;\n margin-bottom: layout.$spacing-03;\n}\n\n.emptyStateContainer {\n background-color: $ui-02;\n border: 1px solid $ui-03;\n width: 100%;\n margin: 0 auto;\n max-width: 95vw;\n padding-bottom: 0;\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.caption01 {\n @include type.type-style('legal-01');\n}\n\n.bodyShort02 {\n @include type.type-style('body-compact-02');\n}\n\n.text02 {\n color: $text-02;\n}\n\n.text01 {\n color: $ui-05;\n}\n\n// Overriding styles for RTL support\nhtml[dir='rtl'] {\n .visitsDetailHeaderContainer {\n padding: layout.$spacing-04 layout.$spacing-05 layout.$spacing-04 0;\n h4 {\n text-align: right;\n }\n & > div {\n & > div {\n & :first-child {\n border-bottom-left-radius: unset;\n border-top-left-radius: unset;\n border-bottom-right-radius: layout.$spacing-02;\n border-top-right-radius: layout.$spacing-02;\n }\n & :first-child[aria-selected='false'] {\n border-left: unset;\n border-right: 0.0625rem solid #a6c8ff;\n }\n & :last-child {\n border-bottom-right-radius: unset;\n border-top-right-radius: unset;\n border-bottom-left-radius: layout.$spacing-02;\n border-top-left-radius: layout.$spacing-02;\n }\n & :last-child[aria-selected='false'] {\n border-right: unset;\n border-left: 0.0625rem solid #a6c8ff;\n }\n }\n }\n }\n .summaryContainer {\n .tablist {\n & > div {\n button {\n text-align: right;\n }\n button[aria-selected='true'] {\n border-left: unset;\n border-right: 3px solid var(--brand-03);\n }\n button[aria-selected='false'] {\n border-left: unset;\n border-right: 2px solid #e0e0e0;\n }\n }\n }\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\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","//\n// Copyright IBM Corp. 2018, 2023\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/// @deprecated\n/// @group @carbon/type\n$caption-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/// @deprecated\n/// @group @carbon/type\n$caption-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.32px,\n) !default;\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: 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-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('regular'),\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.4,\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('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\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('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\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 caption-01: $caption-01,\n caption-02: $caption-02,\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) !default;\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:""}]),s.locals={container:"-esm-active-visits__visit-detail-overview__container___mkGcD",encounterHeading:"-esm-active-visits__visit-detail-overview__encounterHeading___2xolA",medicationRecord:"-esm-active-visits__visit-detail-overview__medicationRecord___lye5q",bodyLong01:"-esm-active-visits__visit-detail-overview__bodyLong01___3DCLv",medicationContainer:"-esm-active-visits__visit-detail-overview__medicationContainer___btt6x",dosage:"-esm-active-visits__visit-detail-overview__dosage___-x3me",metadata:"-esm-active-visits__visit-detail-overview__metadata___5nPG2",visitsDetailWidgetContainer:"-esm-active-visits__visit-detail-overview__visitsDetailWidgetContainer___ZvlEp",visitsDetailHeaderContainer:"-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET",customTable:"-esm-active-visits__visit-detail-overview__customTable___8OnwU",visitEmptyState:"-esm-active-visits__visit-detail-overview__visitEmptyState___7PPoN",encounterEmptyState:"-esm-active-visits__visit-detail-overview__encounterEmptyState___QNHmv",expandedRow:"-esm-active-visits__visit-detail-overview__expandedRow___o7vyJ",observation:"-esm-active-visits__visit-detail-overview__observation___Eku+V",summaryContainer:"-esm-active-visits__visit-detail-overview__summaryContainer___6ueAF",flexSections:"-esm-active-visits__visit-detail-overview__flexSections___K3zUQ",verticalTabs:"-esm-active-visits__visit-detail-overview__verticalTabs___8bwHK",tab:"-esm-active-visits__visit-detail-overview__tab___ZEwef",tablist:"-esm-active-visits__visit-detail-overview__tablist___l7Wdv",medicationBlock:"-esm-active-visits__visit-detail-overview__medicationBlock___4eXwy",diagnosisLabel:"-esm-active-visits__visit-detail-overview__diagnosisLabel___wvbjE",diagnosesList:"-esm-active-visits__visit-detail-overview__diagnosesList___Q28KT",actions:"-esm-active-visits__visit-detail-overview__actions___zAZ04",contentSwitcher:"-esm-active-visits__visit-detail-overview__contentSwitcher___tCYpp",notesContainer:"-esm-active-visits__visit-detail-overview__notesContainer___lGWpE",noteText:"-esm-active-visits__visit-detail-overview__noteText___WoH0y",desktopHeading:"-esm-active-visits__visit-detail-overview__desktopHeading___-1uLJ",tabletHeading:"-esm-active-visits__visit-detail-overview__tabletHeading___LNMhi",tile:"-esm-active-visits__visit-detail-overview__tile___MC37N",emptyStateContent:"-esm-active-visits__visit-detail-overview__emptyStateContent___JjzUp",emptyStateContainer:"-esm-active-visits__visit-detail-overview__emptyStateContainer___kmnV4",productiveHeading02:"-esm-active-visits__visit-detail-overview__productiveHeading02___5-t+w",caption01:"-esm-active-visits__visit-detail-overview__caption01___yCfJc",bodyShort02:"-esm-active-visits__visit-detail-overview__bodyShort02___fuXhU",text02:"-esm-active-visits__visit-detail-overview__text02___hhPqo",text01:"-esm-active-visits__visit-detail-overview__text01___8ug6t"};const r=s},9755:(e,n,t)=>{"use strict";t.r(n),t.d(n,{activeVisits:()=>ve,homeActiveVisitsTile:()=>me,homeTotalVisitsTile:()=>fe,importTranslation:()=>pe,startupApp:()=>ue,visitDetail:()=>ge});var i=t(7234),a={activeVisits:{identifiers:{_type:i.Type.Array,_description:"Customizable list of identifiers to display on active visits table",_elements:{header:{key:{_type:i.Type.String,_default:null,_description:"Key to be used for translation purposes."},default:{_type:i.Type.String,_default:null,_description:"Default text to be displayed if no translation is found."}},identifierName:{_type:i.Type.String,_default:null,_description:"Name of the desired identifier to filter data returned from the visit resource."}},_default:null},pageSize:{_type:i.Type.Number,_description:"Count of active visits to be shown in a single page.",_default:10},pageSizes:{_type:i.Type.Array,_description:"Customizable page sizes that user can choose",_default:[10,20,50]},obs:{_type:i.Type.Array,_description:"Array of observation concept UUIDs to be displayed on the active visits table.",_elements:{_type:i.Type.UUID,_description:"UUID of an observation concept."},_default:[]}}},o=t(5206),s=t.n(o),r=t(7888),l=t(4924),c=function(e){var n=e.width,t=void 0===n?"64":n,i=e.height,a=void 0===i?"64":i;return s().createElement("svg",{width:t,height:a,viewBox:"0 0 64 64"},s().createElement("title",null,"Empty data illustration"),s().createElement("g",{fill:"none",fillRule:"evenodd"},s().createElement("path",{d:"M38.133 13.186H21.947c-.768.001-1.39.623-1.39 1.391V50.55l-.186.057-3.97 1.216a.743.743 0 01-.927-.493L3.664 12.751a.742.742 0 01.492-.926l6.118-1.874 17.738-5.43 6.119-1.873a.741.741 0 01.926.492L38.076 13l.057.186z",fill:"#F4F4F4"}),s().createElement("path",{d:"M41.664 13L38.026 1.117A1.576 1.576 0 0036.056.07l-8.601 2.633-17.737 5.43-8.603 2.634a1.578 1.578 0 00-1.046 1.97l12.436 40.616a1.58 1.58 0 001.969 1.046l5.897-1.805.185-.057v-.194l-.185.057-5.952 1.822a1.393 1.393 0 01-1.737-.923L.247 12.682a1.39 1.39 0 01.923-1.738L9.772 8.31 27.51 2.881 36.112.247a1.393 1.393 0 011.737.923L41.47 13l.057.186h.193l-.057-.185z",fill:"#8D8D8D"}),s().createElement("path",{d:"M11.378 11.855a.836.836 0 01-.798-.59L9.385 7.361a.835.835 0 01.554-1.042l16.318-4.996a.836.836 0 011.042.554l1.195 3.902a.836.836 0 01-.554 1.043l-16.318 4.995a.831.831 0 01-.244.037z",fill:"#C6C6C6"}),s().createElement("circle",{fill:"#C6C6C6",cx:17.636,cy:2.314,r:1.855}),s().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:17.636,cy:2.314,r:1.175}),s().createElement("path",{d:"M55.893 53.995H24.544a.79.79 0 01-.788-.789V15.644a.79.79 0 01.788-.788h31.349a.79.79 0 01.788.788v37.562a.79.79 0 01-.788.789z",fill:"#F4F4F4"}),s().createElement("path",{d:"M41.47 13H21.948a1.579 1.579 0 00-1.576 1.577V52.4l.185-.057V14.577c.001-.768.623-1.39 1.391-1.39h19.581L41.471 13zm17.02 0H21.947a1.579 1.579 0 00-1.576 1.577v42.478c0 .87.706 1.576 1.576 1.577H58.49a1.579 1.579 0 001.576-1.577V14.577a1.579 1.579 0 00-1.576-1.576zm1.39 44.055c0 .768-.622 1.39-1.39 1.392H21.947c-.768-.001-1.39-.624-1.39-1.392V14.577c0-.768.622-1.39 1.39-1.39H58.49c.768 0 1.39.622 1.39 1.39v42.478z",fill:"#8D8D8D"}),s().createElement("path",{d:"M48.751 17.082H31.686a.836.836 0 01-.835-.835v-4.081c0-.46.374-.834.835-.835H48.75c.461 0 .834.374.835.835v4.08c0 .462-.374.835-.835.836z",fill:"#C6C6C6"}),s().createElement("circle",{fill:"#C6C6C6",cx:40.218,cy:9.755,r:1.855}),s().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:40.218,cy:9.755,r:1.13})))},d=t(9654),p=t.n(d),u=t(3565),v=t.n(u),g=t(6824),m=t.n(g),f=t(3649);function h(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function y(e,n,t,i,a,o,s){try{var r=e[o](s),l=r.value}catch(e){return void t(e)}r.done?n(l):Promise.resolve(l).then(i,a)}function b(e){return function(){var n=this,t=arguments;return new Promise((function(i,a){var o=e.apply(n,t);function s(e){y(o,i,a,s,r,"next",e)}function r(e){y(o,i,a,s,r,"throw",e)}s(void 0)}))}}function _(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||A(e)||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.")}()}function A(e,n){if(e){if("string"==typeof e)return h(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?h(e,n):void 0}}function $(e,n){var t,i,a,o,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function r(o){return function(r){return function(o){if(t)throw new TypeError("Generator is already executing.");for(;s;)try{if(t=1,i&&(a=2&o[0]?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((a=(a=s.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){s.label=o[1];break}if(6===o[0]&&s.label<a[1]){s.label=a[1],a=o;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(o);break}a[2]&&s.ops.pop(),s.trys.pop();continue}o=n.call(e,s)}catch(e){o=[6,e],i=0}finally{t=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,r])}}}v().extend(m());var C=t(6062),w=t.n(C),x=t(4036),k=t.n(x),E=t(6793),z=t.n(E),D=t(7892),S=t.n(D),M=t(1173),N=t.n(M),T=t(2464),B=t.n(T),F=t(4699),j={};j.styleTagTransform=B(),j.setAttributes=S(),j.insert=z().bind(null,"head"),j.domAPI=k(),j.insertStyleElement=N(),w()(F.Z,j);const H=F.Z&&F.Z.locals?F.Z.locals:void 0;function I(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function O(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function L(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){O(e,n,t[n])}))}return e}function V(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);s=!0);}catch(e){r=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw a}}return o}}(e,n)||function(e,n){if(e){if("string"==typeof e)return I(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?I(e,n):void 0}}(e,n)||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.")}()}var U=t(2524),R=t.n(U),P=t(8031),q={};q.styleTagTransform=B(),q.setAttributes=S(),q.insert=z().bind(null,"head"),q.domAPI=k(),q.insertStyleElement=N(),w()(P.Z,q);const G=P.Z&&P.Z.locals?P.Z.locals:void 0;function W(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}const J=function(e){var n=e.observations,t=(0,l.useTranslation)().t,i=(0,o.useMemo)((function(){return n&&n.map((function(e){var n,t,i=(n=e.display.split(":"),t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);s=!0);}catch(e){r=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw a}}return o}}(n,t)||function(e,n){if(e){if("string"==typeof e)return W(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?W(e,n):void 0}}(n,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.")}());return{question:i[0],answer:i[1]}}))}),[n]);return i?i.length>0?s().createElement("div",{className:G.observation},i.map((function(e,n){return s().createElement(s().Fragment,{key:n},s().createElement("span",{className:G.caption01},e.question,": "),s().createElement("span",{className:R()(G.bodyShort02,G.text01)},e.answer))}))):s().createElement("p",{className:G.caption01},t("noObservationsFound","No observations found")):s().createElement(r.N2B,null)};function K(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function X(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Q(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){X(e,n,t[n])}))}return e}const Z=function(e){var n,t,a=e.encounters,c=e.visitUuid,d=(0,l.useTranslation)().t,p=(0,i.useLayoutType)(),u=(n=(0,o.useState)(0),t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);s=!0);}catch(e){r=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw a}}return o}}(n,t)||function(e,n){if(e){if("string"==typeof e)return K(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?K(e,n):void 0}}(n,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.")}()),v=u[0],g=u[1],m=(0,o.useRef)(null),f=(0,o.useMemo)((function(){return[{id:1,header:d("time","Time"),key:"time"},{id:2,header:d("encounterType","Encounter Type"),key:"encounterType"},{id:3,header:d("provider","Provider"),key:"provider"}]}),[d]);return(0,o.useEffect)((function(){var e,n;g(null===(n=m)||void 0===n||null===(e=n.current)||void 0===e?void 0:e.clientWidth);var t=function(){var e,n;return g(null===(n=m)||void 0===n||null===(e=n.current)||void 0===e?void 0:e.clientWidth)};return window.addEventListener("resize",t),function(){return window.removeEventListener("resize",t)}}),[]),a.length>0?s().createElement(r.wQF,{rows:a,headers:f},(function(e){var n,t,o=e.rows,l=e.headers,d=e.getHeaderProps,u=e.getRowProps,g=e.getTableProps;return s().createElement(r.xJi,{"data-testid":"encountersTable"},s().createElement(r.iA_,(n=Q({className:G.customTable},g()),t=null!=(t={size:(0,i.isDesktop)(p)?"sm":"md"})?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t}(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))})),n),s().createElement(r.ssF,null,s().createElement(r.SCH,null,s().createElement(r.MOD,null),l.map((function(e,n){return 0===n?s().createElement(r.xDH,Q({id:"header_".concat(c,"_").concat(n),ref:m},d({header:e})),e.header):s().createElement(r.xDH,Q({id:"header_".concat(c,"_").concat(n)},d({header:e})),e.header)})))),s().createElement(r.RMI,null,o.map((function(e,n){return s().createElement(s().Fragment,{key:e.id},s().createElement(r.RcE,u({row:e}),e.cells.map((function(e){return s().createElement(r.pj1,{key:e.id,"data-testid":e.id},e.value)}))),e.isExpanded&&s().createElement(r.WdL,{className:G.expandedRow,style:{paddingLeft:(0,i.isDesktop)(p)?"3rem":"4rem"},colSpan:l.length+2},s().createElement("div",{style:{marginLeft:v}},s().createElement(J,{observations:a[n].obs}))))})))))})):s().createElement("div",{className:G.encounterEmptyState},s().createElement("h4",{className:G.productiveHeading02},d("noEncountersFound","No encounters found")),s().createElement("p",{className:R()(G.bodyLong01,G.text02)},d("thereIsNoInformationToDisplayHere","There is no information to display here")))},Y=function(e){var n=e.notes,t=(0,l.useTranslation)().t,a=(0,i.useLayoutType)();return s().createElement(s().Fragment,null,n.length?n.map((function(e,n){return s().createElement("div",{className:G.notesContainer,key:n},s().createElement("p",{className:R()(G.noteText,G.bodyLong01),"data-testid":"note"},e.note),s().createElement("p",{className:G.metadata},e.time," ",e.provider.name?s().createElement("span",null,"· ",e.provider.name," "):null,e.provider.role?s().createElement("span",null,"· ",e.provider.role):null))})):s().createElement("div",{className:G.emptyStateContainer},s().createElement(r.mh4,null,s().createElement(r.n9L,{className:G.tile},s().createElement("div",{className:(0,i.isDesktop)(a)?G.desktopHeading:G.tabletHeading},s().createElement("h4",null,t("notes","Notes"))),s().createElement(c,null),s().createElement("p",{className:G.emptyStateContent},t("noNotesToShowForPatient","There are no notes to display for this patient"))))))};var ee=t(9019);const ne=function(e){var n=e.medications,t=(0,l.useTranslation)().t;return s().createElement(s().Fragment,null,n.length>0?s().createElement("div",{className:G.medicationRecord},n.map((function(e,n){var a,o,r,l,c,d,p,u,v,g,m,f,h,y,b,_,A,$,C,w,x,k,E,z,D,S,M,N,T,B,F,j,H,I,O,L,V,U,R,P,q,W,J,K,X,Q,Z,Y,ne,te,ie,ae,oe,se,re,le,ce,de,pe,ue,ve,ge,me,fe,he,ye,be,_e,Ae,$e,Ce,we,xe,ke,Ee,ze,De;return(null===(a=e.order)||void 0===a?void 0:a.dose)&&"Drug Order"===(null===(r=e.order)||void 0===r||null===(o=r.orderType)||void 0===o?void 0:o.display)&&s().createElement(s().Fragment,{key:n},s().createElement("div",{className:G.medicationContainer},s().createElement("div",null,s().createElement("p",{className:G.bodyLong01},s().createElement("strong",null,(0,ee.Z)(null===(d=e)||void 0===d||null===(c=d.order)||void 0===c||null===(l=c.drug)||void 0===l?void 0:l.name))," ",(null===(v=e)||void 0===v||null===(u=v.order)||void 0===u||null===(p=u.drug)||void 0===p?void 0:p.strength)&&s().createElement(s().Fragment,null,"— ",null===(h=e)||void 0===h||null===(f=h.order)||void 0===f||null===(m=f.drug)||void 0===m||null===(g=m.strength)||void 0===g?void 0:g.toLowerCase())," ",(null===(_=e)||void 0===_||null===(b=_.order)||void 0===b||null===(y=b.doseUnits)||void 0===y?void 0:y.display)&&s().createElement(s().Fragment,null,"— ",null===(w=e)||void 0===w||null===(C=w.order)||void 0===C||null===($=C.doseUnits)||void 0===$||null===(A=$.display)||void 0===A?void 0:A.toLowerCase())," "),s().createElement("p",{className:G.bodyLong01},s().createElement("span",{className:G.label01}," ",t("dose","Dose").toUpperCase()," ")," ",s().createElement("span",{className:G.dosage},null===(k=e)||void 0===k||null===(x=k.order)||void 0===x?void 0:x.dose," ",null===(S=e)||void 0===S||null===(D=S.order)||void 0===D||null===(z=D.doseUnits)||void 0===z||null===(E=z.display)||void 0===E?void 0:E.toLowerCase())," ",(null===(N=e.order)||void 0===N||null===(M=N.route)||void 0===M?void 0:M.display)&&s().createElement("span",null,"— ",null===(j=e)||void 0===j||null===(F=j.order)||void 0===F||null===(B=F.route)||void 0===B||null===(T=B.display)||void 0===T?void 0:T.toLowerCase()," — "),null===(L=e)||void 0===L||null===(O=L.order)||void 0===O||null===(I=O.frequency)||void 0===I||null===(H=I.display)||void 0===H?void 0:H.toLowerCase()," —"," ",(null===(U=e)||void 0===U||null===(V=U.order)||void 0===V?void 0:V.duration)?t("orderDurationAndUnit","for {{duration}} {{durationUnit}}",{duration:null===(P=e)||void 0===P||null===(R=P.order)||void 0===R?void 0:R.duration,durationUnit:null===(K=e)||void 0===K||null===(J=K.order)||void 0===J||null===(W=J.durationUnits)||void 0===W||null===(q=W.display)||void 0===q?void 0:q.toLowerCase()}):t("orderIndefiniteDuration","Indefinite duration"),0!==(null===(Q=e)||void 0===Q||null===(X=Q.order)||void 0===X?void 0:X.numRefills)&&s().createElement("span",null,s().createElement("span",{className:G.label01}," — ",t("refills","Refills").toUpperCase())," ",null===(Y=e)||void 0===Y||null===(Z=Y.order)||void 0===Z?void 0:Z.numRefills,""),(null===(te=e)||void 0===te||null===(ne=te.order)||void 0===ne?void 0:ne.dosingInstructions)&&s().createElement("span",null," — ",null===(oe=e)||void 0===oe||null===(ae=oe.order)||void 0===ae||null===(ie=ae.dosingInstructions)||void 0===ie?void 0:ie.toLocaleLowerCase())),s().createElement("p",{className:G.bodyLong01},(null===(re=e)||void 0===re||null===(se=re.order)||void 0===se?void 0:se.orderReasonNonCoded)?s().createElement("span",null,s().createElement("span",{className:G.label01},t("indication","Indication").toUpperCase())," ",null===(ce=e)||void 0===ce||null===(le=ce.order)||void 0===le?void 0:le.orderReasonNonCoded):null,(null===(pe=e)||void 0===pe||null===(de=pe.order)||void 0===de?void 0:de.quantity)?s().createElement("span",null,s().createElement("span",{className:G.label01}," — ",t("quantity","Quantity").toUpperCase())," ",null===(ve=e)||void 0===ve||null===(ue=ve.order)||void 0===ue?void 0:ue.quantity):null,(null===(me=e)||void 0===me||null===(ge=me.order)||void 0===ge?void 0:ge.dateStopped)?s().createElement("span",{className:G.bodyShort01},s().createElement("span",{className:G.label01},(null===(he=e)||void 0===he||null===(fe=he.order)||void 0===fe?void 0:fe.quantity)?" — ":""," ",t("endDate","End date").toUpperCase())," ",(0,i.formatDate)(new Date(null===(be=e)||void 0===be||null===(ye=be.order)||void 0===ye?void 0:ye.dateStopped))):null))),s().createElement("p",{className:G.metadata},(0,i.formatTime)((0,i.parseDate)(null===(Ae=e)||void 0===Ae||null===(_e=Ae.order)||void 0===_e?void 0:_e.dateActivated)),(null===(Ce=e)||void 0===Ce||null===($e=Ce.provider)||void 0===$e?void 0:$e.name)&&s().createElement(s().Fragment,null," · ",null===(xe=e)||void 0===xe||null===(we=xe.provider)||void 0===we?void 0:we.name),(null===(Ee=e)||void 0===Ee||null===(ke=Ee.provider)||void 0===ke?void 0:ke.role)&&s().createElement(s().Fragment,null,", ",null===(De=e)||void 0===De||null===(ze=De.provider)||void 0===ze?void 0:ze.role)))}))):s().createElement("p",{className:R()(G.bodyLong01,G.text02)},t("noMedicationsFound","No medications found")))};function te(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}const ie=function(e){var n=e.patientUuid,t=e.encounters,a=(0,o.useMemo)((function(){var e=t.map((function(e){return"Encounter/".concat(e.uuid)}));return function(n){var t,i,a,o=(i=n,a=1,function(e){if(Array.isArray(e))return e}(i)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);s=!0);}catch(e){r=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw a}}return o}}(i,a)||function(e,n){if(e){if("string"==typeof e)return te(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?te(e,n):void 0}}(i,a)||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.")}())[0];return e.includes(null===(t=o.encounter)||void 0===t?void 0:t.reference)}}),[t]);return s().createElement("div",{className:G.bodyLong01},s().createElement(i.ExtensionSlot,{name:"test-results-filtered-overview-slot",state:{filter:a,patientUuid:n}}))};function ae(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function oe(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);s=!0);}catch(e){r=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw a}}return o}}(e,n)||se(e,n)||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.")}()}function se(e,n){if(e){if("string"==typeof e)return ae(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ae(e,n):void 0}}const re=function(e){var n=e.encounters,t=e.patientUuid,a=(0,l.useTranslation)().t,c=oe((0,o.useState)(0),2),d=(c[0],c[1]),p=oe((0,o.useMemo)((function(){var e=[],t=[],a=[];return n.forEach((function(n){var o,s;(o=e).push.apply(o,function(e){if(Array.isArray(e))return ae(e)}(s=n.orders.map((function(e){return{order:e,provider:{name:n.encounterProviders.length?n.encounterProviders[0].provider.person.display:"",role:n.encounterProviders.length?n.encounterProviders[0].encounterRole.display:""}}})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||se(s)||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.")}()),"Visit Note"===n.encounterType.display&&n.obs.forEach((function(e){"Visit Diagnoses"===e.concept.display?t.push({diagnosis:e.groupMembers.find((function(e){return"PROBLEM LIST"===e.concept.display})).value.display,order:e.groupMembers.find((function(e){return"Diagnosis order"===e.concept.display})).value.display}):"Text of encounter note"===e.concept.display&&a.push({note:e.value,provider:{name:n.encounterProviders.length?n.encounterProviders[0].provider.person.display:"",role:n.encounterProviders.length?n.encounterProviders[0].encounterRole.display:""},time:(0,i.formatTime)((0,i.parseDate)(e.obsDatetime))})}))})),[t,a,e]}),[n]),3),u=p[0],v=p[1],g=p[2];return s().createElement("div",{className:G.summaryContainer},s().createElement("p",{className:G.diagnosisLabel},a("diagnoses","Diagnoses")),s().createElement("div",{className:G.diagnosesList},u.length>0?u.map((function(e,n){return s().createElement(r.Vp9,{key:n,type:"Primary"===e.order?"blue":"red"},e.diagnosis)})):s().createElement("p",{className:R()(G.bodyLong01,G.text02),style:{marginBottom:"0.5rem"}},a("noDiagnosesFound","No diagnoses found"))),s().createElement(r.mQc,{className:G.verticalTabs},s().createElement(r.tdY,{"aria-label":"Visit summary tabs",className:G.tablist},s().createElement(r.OK9,{className:R()(G.tab,G.bodyLong01),onClick:function(){return d(0)},id:"notes-tab"},a("notes","Notes")),s().createElement(r.OK9,{className:G.tab,onClick:function(){return d(1)},id:"tests-tab"},a("tests","Tests")),s().createElement(r.OK9,{className:G.tab,onClick:function(){return d(2)},id:"tab-3"},a("medications","Medications"))),s().createElement(r.nPR,null,s().createElement(r.x45,null,s().createElement(Y,{notes:v})),s().createElement(r.x45,null,s().createElement(ie,{patientUuid:t,encounters:n})),s().createElement(r.x45,null,s().createElement(ne,{medications:g})))))};function le(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}var ce="@kenyaemr/esm-active-visits-app",de={featureName:"active-visits",moduleName:ce},pe=t(3979);function ue(){(0,i.defineConfigSchema)(ce,a)}var ve=(0,i.getSyncLifecycle)((function(){var e,n,t,a,d,u,v,g,m,h,y=(0,l.useTranslation)().t,C=(0,i.useConfig)(),w=(0,i.useLayoutType)(),x=null!==(g=null===(n=C)||void 0===n||null===(e=n.activeVisits)||void 0===e?void 0:e.pageSizes)&&void 0!==g?g:[10,20,30,40,50],k=V((0,o.useState)(null!==(m=null===(a=C)||void 0===a||null===(t=a.activeVisits)||void 0===t?void 0:t.pageSize)&&void 0!==m?m:10),2),E=k[0],z=k[1],D=function(e){var n,t=(n=b((function(e){var n,t,a;return $(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,(0,i.openmrsFetch)("".concat(i.restBaseUrl,"/concept/").concat(e,"?v=custom:(uuid,display)"))];case 1:return t=o.sent(),[2,null===(n=t)||void 0===n?void 0:n.data];case 2:return a=o.sent(),console.error("Error fetching concept for UUID: ".concat(e),a),[2,null];case 3:return[2]}}))})),function(e){return n.apply(this,arguments)}),a=(0,f.ZP)(e.length>0?["obs-concepts",e]:null,b((function(){return $(this,(function(n){switch(n.label){case 0:return[4,Promise.all(e.map(t))];case 1:return[2,n.sent().filter((function(e){return null!==e}))]}}))}))),s=a.data,r=a.isLoading;return a.error,(0,o.useMemo)((function(){return{obsConcepts:null!=s?s:[],isLoadingObsConcepts:r}}),[s,r])}(C.activeVisits.obs),S=D.obsConcepts,M=D.isLoadingObsConcepts,N=function(){var e,n,t,a,s,r,l,c=(0,i.useSession)(),d=(0,i.useConfig)(),u=null===(t=c)||void 0===t||null===(n=t.sessionLocation)||void 0===n?void 0:n.uuid,v=p()(u?function(e,n){var t,a,o;if(e&&!(null===(o=n)||void 0===o||null===(a=o.data)||void 0===a||null===(t=a.links)||void 0===t?void 0:t.some((function(e){return"next"===e.rel}))))return null;var s="".concat(i.restBaseUrl,"/visit?v=").concat("custom:(uuid,patient:(uuid,identifiers:(identifier,uuid,identifierType:(name,uuid)),person:(age,display,gender,uuid,attributes:(value,attributeType:(uuid,display)))),visitType:(uuid,name,display),location:(uuid,name,display),startDatetime,stopDatetime,encounters:(encounterDatetime,obs:(uuid,concept:(uuid,display),value)))","&"),r=new URLSearchParams;return r.append("includeInactive","false"),r.append("totalCount","true"),r.append("location","".concat(u)),e&&r.append("startIndex","".concat(50*e)),s+r.toString()}:null,i.openmrsFetch),g=v.data,m=v.error,f=v.isLoading,h=v.isValidating,y=v.size,b=v.setSize;(0,o.useEffect)((function(){var e,n,t,i;g&&(null===(i=g)||void 0===i||null===(t=i[y-1])||void 0===t||null===(n=t.data)||void 0===n||null===(e=n.links)||void 0===e?void 0:e.some((function(e){return"next"===e.rel})))&&b((function(e){return e+1}))}),[g,y,b]);var A,$=function(e){var n,t,a,o,s,r,l,c,p,u,v,g,m,f,h,y,b,A,$,C,w,x,k,E,z,D,S,M,N={age:null===(a=e)||void 0===a||null===(t=a.patient)||void 0===t||null===(n=t.person)||void 0===n?void 0:n.age.toString(),id:e.uuid,idNumber:null,gender:null===(r=e)||void 0===r||null===(s=r.patient)||void 0===s||null===(o=s.person)||void 0===o?void 0:o.gender,location:null===(c=e)||void 0===c||null===(l=c.location)||void 0===l?void 0:l.uuid,name:null===(v=e)||void 0===v||null===(u=v.patient)||void 0===u||null===(p=u.person)||void 0===p?void 0:p.display,patientUuid:null===(m=e)||void 0===m||null===(g=m.patient)||void 0===g?void 0:g.uuid,visitStartTime:(0,i.formatDatetime)((0,i.parseDate)(null===(f=e)||void 0===f?void 0:f.startDatetime)),visitType:null===(y=e)||void 0===y||null===(h=y.visitType)||void 0===h?void 0:h.display,visitUuid:e.uuid};(null===(A=d)||void 0===A||null===(b=A.activeVisits)||void 0===b?void 0:b.identifiers)?null===(E=d)||void 0===E||null===(k=E.activeVisits)||void 0===k||null===(x=k.identifiers)||void 0===x||x.map((function(n){var t,i,a,o,s,r=null===(i=e)||void 0===i||null===(t=i.patient)||void 0===t?void 0:t.identifiers.find((function(e){var t,i,a;return(null===(i=e)||void 0===i||null===(t=i.identifierType)||void 0===t?void 0:t.name)===(null===(a=n)||void 0===a?void 0:a.identifierName)}));N[null===(a=n.header)||void 0===a?void 0:a.key]=null!==(s=null===(o=r)||void 0===o?void 0:o.identifier)&&void 0!==s?s:"--"})):N.idNumber=null!==(M=null===(S=e)||void 0===S||null===(D=S.patient)||void 0===D||null===(z=D.identifiers[0])||void 0===z?void 0:z.identifier)&&void 0!==M?M:"--",null===(w=d)||void 0===w||null===(C=w.activeVisits)||void 0===C||null===($=C.attributes)||void 0===$||$.map((function(n){var t,i,a,o,s,r,l=n.display,c=n.header,d=null===(a=e)||void 0===a||null===(i=a.patient)||void 0===i||null===(t=i.person)||void 0===t?void 0:t.attributes.find((function(e){var n,t;return(null===(t=e)||void 0===t||null===(n=t.attributeType)||void 0===n?void 0:n.display)===l}));N[null===(o=c)||void 0===o?void 0:o.key]=null!==(r=null===(s=d)||void 0===s?void 0:s.value)&&void 0!==r?r:"--"}));var T=e.encounters.reduce((function(e,n){return _(e).concat(_(n.obs||[]))}),[]);return N.observations=T.reduce((function(e,n){var t=n.concept.uuid;return e[t]||(e[t]=[]),e[t].push({value:n.value,uuid:n.uuid}),e}),{}),N};return{activeVisits:g?(e=[]).concat.apply(e,_(null===(a=g)||void 0===a?void 0:a.map((function(e){var n,t,i;return null===(i=e)||void 0===i||null===(t=i.data)||void 0===t||null===(n=t.results)||void 0===n?void 0:n.map($)})))):[],error:m,isLoading:f,isValidating:h,totalResults:null!==(A=null===(l=g)||void 0===l||null===(r=l[0])||void 0===r||null===(s=r.data)||void 0===s?void 0:s.totalCount)&&void 0!==A?A:0}}(),T=N.activeVisits,B=N.isLoading,F=N.isValidating,j=N.error,I=V((0,o.useState)(""),2),O=I[0],U=I[1],R=function(e){var n=(0,l.useTranslation)().t,t=(0,i.useConfig)();return(0,o.useMemo)((function(){var i,a,o,s,r,l,c,d,p,u=0,v=[{id:u++,header:n("visitStartTime","Visit Time"),key:"visitStartTime"}];return null===(o=t)||void 0===o||null===(a=o.activeVisits)||void 0===a||null===(i=a.identifiers)||void 0===i||i.forEach((function(e){var t,i,a,o,s,r;v.push({id:u++,header:n(null===(i=e)||void 0===i||null===(t=i.header)||void 0===t?void 0:t.key,null===(o=e)||void 0===o||null===(a=o.header)||void 0===a?void 0:a.default),key:null===(r=e)||void 0===r||null===(s=r.header)||void 0===s?void 0:s.key})})),(null===(r=t)||void 0===r||null===(s=r.activeVisits)||void 0===s?void 0:s.identifiers)||v.push({id:u++,header:n("idNumber","ID Number"),key:"idNumber"}),null===(d=t)||void 0===d||null===(c=d.activeVisits)||void 0===c||null===(l=c.attributes)||void 0===l||l.forEach((function(e){var t,i,a,o,s,r;v.push({id:u++,header:n(null===(i=e)||void 0===i||null===(t=i.header)||void 0===t?void 0:t.key,null===(o=e)||void 0===o||null===(a=o.header)||void 0===a?void 0:a.default),key:null===(r=e)||void 0===r||null===(s=r.header)||void 0===s?void 0:s.key})})),null===(p=e)||void 0===p||p.forEach((function(e){v.push({id:u++,header:e.display,key:"obs-".concat(e.uuid)})})),v.push({id:u++,header:n("name","Name"),key:"name"},{id:u++,header:n("sex","Sex"),key:"gender"},{id:u++,header:n("age","Age"),key:"age"},{id:u++,header:n("visitType","Visit Type"),key:"visitType"}),v}),[n,t,e])}(S),P=(0,o.useCallback)((function(e){var n,t=L({},e);return null===(n=S)||void 0===n||n.forEach((function(n){var i,a,o,s=(null!==(o=null===(a=e)||void 0===a||null===(i=a.observations)||void 0===i?void 0:i[n.uuid])&&void 0!==o?o:[])[0];t["obs-".concat(n.uuid)]=s?"object"==typeof s.value?s.value.display:s.value:"--"})),t}),[S]),q=(0,o.useMemo)((function(){if(void 0!==T&&T.length>0&&O&&""!==O.trim()){var e,n=O.toLowerCase();return null===(e=T)||void 0===e?void 0:e.filter((function(e){return Object.entries(e).some((function(e){var t=V(e,2),i=t[0],a=t[1];return"patientUuid"!==i&&"".concat(a).toLowerCase().includes(n)}))}))}return T.map(P)}),[O,T,P]),G=function(e){var n,t,i=(n=(0,o.useState)({key:"visitStartTime",sortDirection:"DESC"}),t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);s=!0);}catch(e){r=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw a}}return o}}(n,t)||A(n,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.")}()),a=i[0],s=i[1],r=function(e,n){if(n.startsWith("obs-")){var t,i,a,o,s=n.replace("obs-",""),r=null===(o=e)||void 0===o||null===(a=o.observations)||void 0===a||null===(i=a[s])||void 0===i||null===(t=i[0])||void 0===t?void 0:t.value;return r?"object"==typeof r&&r.display?r.display.toLowerCase():r:null}var l=e[n];return null==l?null:"visitStartTime"===n?new Date(l).getTime():"age"!==n||isNaN(l)?String(l).toLowerCase():Number(l)};return{sortedRows:(0,o.useMemo)((function(){return"NONE"===a.sortDirection?e:_(e).sort((function(e,n){var t=r(e,a.key),i=r(n,a.key);if(null===t&&null===i)return 0;if(null===t)return 1;if(null===i)return-1;if("number"==typeof t&&"number"==typeof i)return"DESC"===a.sortDirection?i-t:t-i;var o=String(t).localeCompare(String(i),void 0,{numeric:!0});return"DESC"===a.sortDirection?-o:o}))}),[a,e]),sortRow:function(e,n,t){var i=t.key,a=t.sortDirection;s({key:i,sortDirection:a})}}}(q),W=G.sortedRows,J=G.sortRow,K=(0,i.usePagination)(W,E),X=K.paginated,Q=K.goTo,Z=K.results,Y=K.currentPage,ee=(0,o.useCallback)((function(e){Q(1),U(e.target.value)}),[Q,U]);return B||M?s().createElement("div",{className:H.activeVisitsContainer},s().createElement("div",{className:H.activeVisitsDetailHeaderContainer},s().createElement("div",{className:(0,i.isDesktop)(w)?H.desktopHeading:H.tabletHeading},s().createElement("h4",null,y("activeVisits","Active Visits"))),s().createElement("div",{className:H.backgroundDataFetchingIndicator},s().createElement("span",null,F?s().createElement(r.lSo,null):null))),s().createElement(r.olm,{labelText:"",placeholder:y("filterTable","Filter table"),onChange:ee,size:(0,i.isDesktop)(w)?"sm":"lg",disabled:!0}),s().createElement(r.gqd,{rowCount:E,showHeader:!1,showToolbar:!1,zebra:!0,columnCount:null===(h=R)||void 0===h?void 0:h.length,size:(0,i.isDesktop)(w)?"sm":"lg"})):j?s().createElement("div",{className:H.activeVisitsContainer},s().createElement(r.mh4,null,s().createElement(i.ErrorState,{error:j,headerTitle:y("activeVisits","Active Visits")}))):T.length?s().createElement("div",{className:H.activeVisitsContainer},s().createElement("div",{className:H.activeVisitsDetailHeaderContainer},s().createElement("div",{className:(0,i.isDesktop)(w)?H.desktopHeading:H.tabletHeading},s().createElement("h4",null,y("activeVisits","Active Visits"))),s().createElement("div",{className:H.backgroundDataFetchingIndicator},s().createElement("span",null,F?s().createElement(r.lSo,null):null))),s().createElement(r.olm,{labelText:"",placeholder:y("filterTable","Filter table"),onChange:ee,size:(0,i.isDesktop)(w)?"sm":"lg"}),s().createElement(r.wQF,{isSortable:!0,useStaticWidth:!0,rows:Z,headers:R,sortRow:J,size:(0,i.isDesktop)(w)?"sm":"lg",useZebraStyles:(null===(d=T)||void 0===d?void 0:d.length)>1},(function(e){var n=e.rows,t=e.headers,a=e.getHeaderProps,o=e.getTableProps,l=e.getRowProps,c=e.getExpandHeaderProps;return s().createElement(r.xJi,{className:H.tableContainer},s().createElement(r.iA_,L({className:H.activeVisitsTable},o()),s().createElement(r.ssF,null,s().createElement(r.SCH,null,s().createElement(r.MOD,L({enableToggle:!0},c())),t.map((function(e){return s().createElement(r.xDH,a({header:e}),e.header)})))),s().createElement(r.RMI,null,n.map((function(e,n){var a,o,c=T.find((function(n){return n.id===e.id}));return c?s().createElement(s().Fragment,{key:"active-visit-row-".concat(n)},s().createElement(r.RcE,(a=L({},l({row:e})),o=null!=(o={"data-testid":"activeVisitRow".concat(c.patientUuid||"unknown")})?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(o)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t}(Object(o)).forEach((function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(o,e))})),a),e.cells.map((function(e){return s().createElement(r.pj1,{key:"active-visit-row-".concat(n,"-cell-").concat(e.id),"data-testid":e.id},"name"===e.info.header&&c.patientUuid?s().createElement(i.ConfigurableLink,{to:"${openmrsSpaBase}/patient/${patientUuid}/chart",templateParams:{patientUuid:c.patientUuid}},e.value):e.value)}))),e.isExpanded?s().createElement(r.SCH,{className:H.expandedActiveVisitRow},s().createElement("th",{colSpan:t.length+2},s().createElement(i.ExtensionSlot,{className:H.visitSummaryContainer,name:"visit-summary-slot",state:{patientUuid:c.patientUuid,visitUuid:c.visitUuid}}))):s().createElement(r.WdL,{className:H.hiddenRow,colSpan:t.length+2})):null})))))})),0===(null===(u=q)||void 0===u?void 0:u.length)&&s().createElement("div",{className:H.filterEmptyState},s().createElement(r.mh4,{level:0},s().createElement(r.n9L,{className:H.filterEmptyStateTile},s().createElement("p",{className:H.filterEmptyStateContent},y("noVisitsToDisplay","No visits to display")),s().createElement("p",{className:H.filterEmptyStateHelper},y("checkFilters","Check the filters above"))))),X&&s().createElement(r.tlE,{forwardText:"Next page",backwardText:"Previous page",page:Y,pageSize:E,pageSizes:x,totalItems:null===(v=q)||void 0===v?void 0:v.length,className:H.pagination,size:(0,i.isDesktop)(w)?"sm":"lg",onChange:function(e){var n=e.pageSize,t=e.page;n!==E&&z(n),t!==Y&&Q(t)}})):s().createElement("div",{className:H.activeVisitsContainer},s().createElement(r.mh4,null,s().createElement(r.n9L,{className:H.tile},s().createElement("div",{className:(0,i.isDesktop)(w)?H.desktopHeading:H.tabletHeading},s().createElement("h4",null,y("activeVisits","Active Visits"))),s().createElement(c,null),s().createElement("p",{className:H.content},y("noActiveVisitsForLocation","There are no active visits to display for this location.")))))}),de),ge=(0,i.getSyncLifecycle)((function(e){var n,t,a,c,d,p,u=e.visitUuid,v=e.patientUuid,g=(0,l.useTranslation)().t,m=(d=(0,o.useState)(0),p=2,function(e){if(Array.isArray(e))return e}(d)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);s=!0);}catch(e){r=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw a}}return o}}(d,p)||function(e,n){if(e){if("string"==typeof e)return le(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?le(e,n):void 0}}(d,p)||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.")}()),h=m[0],y=m[1],b=function(e){var n="".concat(i.restBaseUrl,"/visit/").concat(e,"?v=").concat("custom:(uuid,encounters:(uuid,encounterDatetime,orders:(uuid,dateActivated,drug:(uuid,name,strength),doseUnits:(uuid,display),dose,route:(uuid,display),frequency:(uuid,display),duration,durationUnits:(uuid,display),numRefills,orderType:(uuid,display),orderer:(uuid,person:(uuid,display))),obs:(uuid,concept:(uuid,display,conceptClass:(uuid,display)),display,groupMembers:(uuid,concept:(uuid,display),value:(uuid,display)),value),encounterType:(uuid,display),encounterProviders:(uuid,display,encounterRole:(uuid,display),provider:(uuid,person:(uuid,display)))),visitType:(uuid,name,display),startDatetime"),t=(0,f.ZP)(e?n:null,i.openmrsFetch),a=t.data,o=t.error,s=t.isLoading,r=t.isValidating;return{visit:a?a.data:null,error:o,isLoading:s,isValidating:r}}(u),_=b.visit,A=b.isLoading,$=(0,o.useMemo)((function(){var e,n;return _?null===(n=_)||void 0===n||null===(e=n.encounters)||void 0===e?void 0:e.map((function(e){return{id:e.uuid,time:(0,i.formatTime)((0,i.parseDate)(e.encounterDateTime)),encounterType:e.encounterType.display,provider:e.encounterProviders.length>0?e.encounterProviders[0].display:"",obs:e.obs}})):[]}),[_]);return A?s().createElement(r.gqd,{role:"progressbar"}):_?s().createElement("div",{className:G.visitsDetailWidgetContainer},s().createElement("div",{className:G.visitsDetailHeaderContainer},s().createElement("h4",{className:G.productiveHeading02},null===(t=_)||void 0===t||null===(n=t.visitType)||void 0===n?void 0:n.display,s().createElement("br",null),s().createElement("p",{className:R()(G.bodyLong01,G.text02)},(0,i.formatDatetime)((0,i.parseDate)(null===(a=_)||void 0===a?void 0:a.startDatetime)))),s().createElement("div",{className:G.actions},s().createElement(r.GHR,{className:G.contentSwitcher,selectedIndex:h,onChange:function(e){var n=e.index;return y(n)}},s().createElement(r.rsf,{name:"allEncounters",text:g("allEncounters","All Encounters")}),s().createElement(r.rsf,{name:"visitSummary",text:g("visitSummary","Visit Summary")})))),0===h&&(null===(c=_)||void 0===c?void 0:c.encounters)&&s().createElement(Z,{visitUuid:_.uuid,encounters:$}),1===h&&s().createElement(re,{encounters:_.encounters,patientUuid:v})):s().createElement("div",{className:G.visitEmptyState},s().createElement("h4",{className:G.productiveHeading02},g("noEncountersFound","No encounters found")),s().createElement("p",{className:R()(G.bodyLong01,G.text02)},g("thereIsNoInformationToDisplayHere","There is no information to display here")))}),de),me=(0,i.getAsyncLifecycle)((function(){return Promise.all([t.e(106),t.e(725)]).then(t.bind(t,2725))}),de),fe=(0,i.getAsyncLifecycle)((function(){return Promise.all([t.e(106),t.e(967)]).then(t.bind(t,5967))}),de)},3979:(e,n,t)=>{var i={"./am.json":[8788,788],"./ar.json":[4460,460],"./de.json":[4272,272],"./en.json":[3574,574],"./es.json":[8319,319],"./fr.json":[2757,757],"./he.json":[5833,833],"./hi.json":[5336,336],"./hi_IN.json":[5737,737],"./id.json":[9261,261],"./it.json":[5711,711],"./km.json":[7807,807],"./ne.json":[3652,652],"./pt.json":[4378,378],"./pt_BR.json":[6566,566],"./qu.json":[899,899],"./si.json":[6727,727],"./sw.json":[236,236],"./sw_KE.json":[539,539],"./tr.json":[4705,705],"./tr_TR.json":[5673,673],"./uk.json":[5240,240],"./vi.json":[744,744],"./zh.json":[8271,271],"./zh_CN.json":[1644,644]};function a(e){if(!t.o(i,e))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=i[e],a=n[0];return t.e(n[1]).then((()=>t(a)))}a.keys=()=>Object.keys(i),a.id=3979,e.exports=a}}]);
|
|
1
|
+
(globalThis.webpackChunk_kenyaemr_esm_active_visits_app=globalThis.webpackChunk_kenyaemr_esm_active_visits_app||[]).push([[6],{4699:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r});var i=t(5698),a=t.n(i),o=t(9613),s=t.n(o)()(a());s.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-active-visits__active-visits__container___XDupn{margin:0 1rem}.-esm-active-visits__active-visits__activeVisitsContainer___XAE0K{background-color:#fff;border:1px solid #e0e0e0;width:100%;margin:0 auto;max-width:95vw;padding-bottom:0}.-esm-active-visits__active-visits__activeVisitsDetailHeaderContainer___pjwhu{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0 .75rem 1rem;background-color:#fff}.-esm-active-visits__active-visits__activeVisitsTable___ISQat{width:100%}.-esm-active-visits__active-visits__activeVisitsTable___ISQat th,.-esm-active-visits__active-visits__activeVisitsTable___ISQat td{white-space:nowrap;text-align:left}.-esm-active-visits__active-visits__activeVisitsTable___ISQat tbody tr[data-parent-row]:nth-last-of-type(2)>td{border-bottom:none}.-esm-active-visits__active-visits__backgroundDataFetchingIndicator___YszBc{align-items:center;display:flex;flex:1 1 0%;justify-content:center}.-esm-active-visits__active-visits__tableContainer___27wfu section{position:relative}.-esm-active-visits__active-visits__tableContainer___27wfu a{text-decoration:none}.-esm-active-visits__active-visits__pagination___h8NbE{overflow:hidden}.-esm-active-visits__active-visits__pagination___h8NbE.cds--pagination{border-top:1px solid #e0e0e0}.-esm-active-visits__active-visits__hiddenRow___nho0Q{display:none}.-esm-active-visits__active-visits__emptyRow___jKDsj{padding:0 1rem;display:flex;align-items:center}.-esm-active-visits__active-visits__visitSummaryContainer___mBkXn{width:100%;max-width:48rem;margin:1rem auto}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO td{padding:0 2rem}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO td>div{max-height:max-content !important}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO th[colspan] td[colspan]>div:first-child{padding:0 1rem}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO:last-of-type th[colspan]:last-child{border-bottom:none}.-esm-active-visits__active-visits__action___Kn0CE{margin-bottom:.5rem}.-esm-active-visits__active-visits__content___hF3rN{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);color:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-active-visits__active-visits__desktopHeading___3cKg8,.-esm-active-visits__active-visits__tabletHeading___vrNoH{text-align:left;text-transform:capitalize}.-esm-active-visits__active-visits__desktopHeading___3cKg8 h4,.-esm-active-visits__active-visits__tabletHeading___vrNoH h4{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);color:#525252}.-esm-active-visits__active-visits__desktopHeading___3cKg8 h4:after,.-esm-active-visits__active-visits__tabletHeading___vrNoH h4:after{content:"";display:block;width:2rem;padding-top:3px;border-bottom:.375rem solid;border-bottom-color:#007d79;border-bottom-color:var(--brand-03)}.-esm-active-visits__active-visits__tile___OJ1Dy{text-align:center}.-esm-active-visits__active-visits__filterEmptyState___lrkdM{display:flex;justify-content:center;align-items:center;padding:1rem;margin:5rem;text-align:center}.-esm-active-visits__active-visits__filterEmptyStateTile___DzW91{margin:auto}.-esm-active-visits__active-visits__filterEmptyStateContent___Lknz\\+{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);color:#525252;margin-bottom:.5rem}.-esm-active-visits__active-visits__filterEmptyStateHelper___z6MPO{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);color:#525252}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__activeVisitsDetailHeaderContainer___pjwhu{padding:.75rem 1rem .75rem 0}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__desktopHeading___3cKg8 h4,html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tabletHeading___vrNoH h4{text-align:right}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K div[role=search] :first-child svg{left:unset;right:.5rem}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K div[role=search] :last-child{right:unset;left:0}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu{overflow-x:auto;text-wrap:nowrap}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu th>div{text-align:right}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu td{text-align:right}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu td .-esm-active-visits__active-visits__serviceColor___r2uPU{margin-right:0;margin-left:.5rem}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu td button{text-align:right}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/active-visits-widget/active-visits.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDF,sDACE,aAAA,CAGF,kEACE,qBDRM,CCSN,wBAAA,CACA,UAAA,CACA,aAAA,CACA,cAAA,CACA,gBAAA,CAGF,8EACE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,4BAAA,CACA,qBDrBM,CCwBR,8DACE,UAAA,CAEA,kIAEE,kBAAA,CACA,eAAA,CAKA,+GACE,kBAAA,CAKN,4EACE,kBAAA,CACA,YAAA,CACA,WAAA,CACA,sBAAA,CAGF,mEACE,iBAAA,CAGF,6DACE,oBAAA,CAGF,uDACE,eAAA,CAEA,uEACE,4BAAA,CAIJ,sDACE,YAAA,CAGF,qDACE,cAAA,CACA,YAAA,CACA,kBAAA,CAGF,kEACE,UAAA,CACA,eAAA,CACA,gBAAA,CAIA,sEACE,cAAA,CAEA,0EACE,iCAAA,CAIJ,2GACE,cAAA,CAGF,uGACE,kBAAA,CAIJ,mDACE,mBC/EW,CDkFb,oDE2vBI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CFzvBF,aDpGQ,CCqGR,eC3EW,CD4EX,mBCtFW,CDyFb,qHAEE,eAAA,CACA,yBAAA,CAEA,2HE+uBE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CF7uBA,aDhHM,CCkHN,uIACE,UAAA,CACA,aAAA,CACA,UCjFO,CDkFP,eAAA,CACA,2BAAA,CD5EJ,2BAAA,CACA,mCAAA,CCiFF,iDACE,iBAAA,CAGF,6DACE,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,YC3GW,CD4GX,WC9EW,CD+EX,iBAAA,CAGF,iEACE,WAAA,CAGF,qEE+sBI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CF7sBF,aDhJQ,CCiJR,mBCjIW,CDoIb,mEEysBI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CFvsBF,aDtJQ,CC4JN,8JACE,4BAAA,CAKA,2RACE,gBAAA,CAMA,kHACE,UAAA,CACA,WC3JG,CD+JP,6GACE,WAAA,CACA,MAAA,CAIJ,2IACE,eAAA,CACA,gBAAA,CAEA,kJACE,gBAAA,CAGF,8IACE,gBAAA,CAEA,uMACE,cAAA,CACA,iBClLG,CDqLL,qJACE,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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\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/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.container {\n margin: 0 layout.$spacing-05;\n}\n\n.activeVisitsContainer {\n background-color: $ui-02;\n border: 1px solid $ui-03;\n width: 100%;\n margin: 0 auto;\n max-width: 95vw;\n padding-bottom: 0;\n}\n\n.activeVisitsDetailHeaderContainer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: layout.$spacing-04 0 layout.$spacing-04 layout.$spacing-05;\n background-color: $ui-02;\n}\n\n.activeVisitsTable {\n width: 100%;\n\n th,\n td {\n white-space: nowrap;\n text-align: left;\n }\n\n tbody tr[data-parent-row] {\n // Don't show a bottom border on the last row so we don't end up with a double border from the activeVisitContainer\n &:nth-last-of-type(2) > td {\n border-bottom: none;\n }\n }\n}\n\n.backgroundDataFetchingIndicator {\n align-items: center;\n display: flex;\n flex: 1 1 0%;\n justify-content: center;\n}\n\n.tableContainer section {\n position: relative;\n}\n\n.tableContainer a {\n text-decoration: none;\n}\n\n.pagination {\n overflow: hidden;\n\n &:global(.cds--pagination) {\n border-top: 1px solid $ui-03;\n }\n}\n\n.hiddenRow {\n display: none;\n}\n\n.emptyRow {\n padding: 0 layout.$spacing-05;\n display: flex;\n align-items: center;\n}\n\n.visitSummaryContainer {\n width: 100%;\n max-width: 48rem;\n margin: layout.$spacing-05 auto;\n}\n\n.expandedActiveVisitRow {\n td {\n padding: 0 layout.$spacing-07;\n\n > div {\n max-height: max-content !important;\n }\n }\n\n th[colspan] td[colspan] > div:first-child {\n padding: 0 layout.$spacing-05;\n }\n\n &:last-of-type th[colspan]:last-child {\n border-bottom: none;\n }\n}\n\n.action {\n margin-bottom: layout.$spacing-03;\n}\n\n.content {\n @include type.type-style('heading-compact-01');\n color: $text-02;\n margin-top: layout.$spacing-05;\n margin-bottom: layout.$spacing-03;\n}\n\n.desktopHeading,\n.tabletHeading {\n text-align: left;\n text-transform: capitalize;\n\n h4 {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n\n &:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 3px;\n border-bottom: 0.375rem solid;\n @include brand-03(border-bottom-color);\n }\n }\n}\n\n.tile {\n text-align: center;\n}\n\n.filterEmptyState {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: layout.$spacing-05;\n margin: layout.$spacing-11;\n text-align: center;\n}\n\n.filterEmptyStateTile {\n margin: auto;\n}\n\n.filterEmptyStateContent {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n margin-bottom: layout.$spacing-03;\n}\n\n.filterEmptyStateHelper {\n @include type.type-style('body-compact-01');\n color: $text-02;\n}\n\n// Overriding styles for RTL support\nhtml[dir='rtl'] {\n .activeVisitsContainer {\n .activeVisitsDetailHeaderContainer {\n padding: layout.$spacing-04 layout.$spacing-05 layout.$spacing-04 0;\n }\n\n .desktopHeading,\n .tabletHeading {\n h4 {\n text-align: right;\n }\n }\n\n div[role='search'] {\n & :first-child {\n svg {\n left: unset;\n right: layout.$spacing-03;\n }\n }\n\n & :last-child {\n right: unset;\n left: 0;\n }\n }\n\n .tableContainer {\n overflow-x: auto;\n text-wrap: nowrap;\n\n th > div {\n text-align: right;\n }\n\n td {\n text-align: right;\n\n .serviceColor {\n margin-right: 0;\n margin-left: layout.$spacing-03;\n }\n\n button {\n text-align: right;\n }\n }\n }\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\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","//\n// Copyright IBM Corp. 2018, 2023\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/// @deprecated\n/// @group @carbon/type\n$caption-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/// @deprecated\n/// @group @carbon/type\n$caption-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.32px,\n) !default;\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: 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-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('regular'),\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.4,\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('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\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('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\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 caption-01: $caption-01,\n caption-02: $caption-02,\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) !default;\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:""}]),s.locals={container:"-esm-active-visits__active-visits__container___XDupn",activeVisitsContainer:"-esm-active-visits__active-visits__activeVisitsContainer___XAE0K",activeVisitsDetailHeaderContainer:"-esm-active-visits__active-visits__activeVisitsDetailHeaderContainer___pjwhu",activeVisitsTable:"-esm-active-visits__active-visits__activeVisitsTable___ISQat",backgroundDataFetchingIndicator:"-esm-active-visits__active-visits__backgroundDataFetchingIndicator___YszBc",tableContainer:"-esm-active-visits__active-visits__tableContainer___27wfu",pagination:"-esm-active-visits__active-visits__pagination___h8NbE",hiddenRow:"-esm-active-visits__active-visits__hiddenRow___nho0Q",emptyRow:"-esm-active-visits__active-visits__emptyRow___jKDsj",visitSummaryContainer:"-esm-active-visits__active-visits__visitSummaryContainer___mBkXn",expandedActiveVisitRow:"-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO",action:"-esm-active-visits__active-visits__action___Kn0CE",content:"-esm-active-visits__active-visits__content___hF3rN",desktopHeading:"-esm-active-visits__active-visits__desktopHeading___3cKg8",tabletHeading:"-esm-active-visits__active-visits__tabletHeading___vrNoH",tile:"-esm-active-visits__active-visits__tile___OJ1Dy",filterEmptyState:"-esm-active-visits__active-visits__filterEmptyState___lrkdM",filterEmptyStateTile:"-esm-active-visits__active-visits__filterEmptyStateTile___DzW91",filterEmptyStateContent:"-esm-active-visits__active-visits__filterEmptyStateContent___Lknz+",filterEmptyStateHelper:"-esm-active-visits__active-visits__filterEmptyStateHelper___z6MPO",serviceColor:"-esm-active-visits__active-visits__serviceColor___r2uPU"};const r=s},8031:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r});var i=t(5698),a=t.n(i),o=t(9613),s=t.n(o)()(a());s.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-active-visits__visit-detail-overview__container___mkGcD{display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.-esm-active-visits__visit-detail-overview__encounterHeading___2xolA{text-align:left;width:100%;margin:0 1rem 1.3125rem;color:#161616}.-esm-active-visits__visit-detail-overview__medicationRecord___lye5q{display:flex;flex-direction:column;justify-content:space-between}.-esm-active-visits__visit-detail-overview__medicationRecord___lye5q .-esm-active-visits__visit-detail-overview__bodyLong01___3DCLv{margin:.25rem 0}.-esm-active-visits__visit-detail-overview__medicationContainer___btt6x{background-color:#f4f4f4;padding:1rem;width:100% !important}.-esm-active-visits__visit-detail-overview__dosage___-x3me{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-active-visits__visit-detail-overview__metadata___5nPG2{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);color:#525252;margin:.5rem 0 1rem}.-esm-active-visits__visit-detail-overview__visitsDetailWidgetContainer___ZvlEp{background-color:#fff;width:100%;border:1px solid #e0e0e0}.-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET{display:flex;justify-content:space-between;padding:.75rem 0 .75rem 1rem;background-color:#fff}.-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET>h4:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid #007d79}.-esm-active-visits__visit-detail-overview__customTable___8OnwU th{padding:0 !important}.-esm-active-visits__visit-detail-overview__customTable___8OnwU tr[data-parent-row]:nth-child(odd) td{background-color:#fff}.-esm-active-visits__visit-detail-overview__customTable___8OnwU tbody tr[data-parent-row]:nth-child(even) td{background-color:#f4f4f4}.-esm-active-visits__visit-detail-overview__customTable___8OnwU td{border-bottom:none !important}.-esm-active-visits__visit-detail-overview__visitEmptyState___7PPoN{text-align:center;background-color:#fff;padding:2rem;border:1px solid #e0e0e0;width:100%}.-esm-active-visits__visit-detail-overview__encounterEmptyState___QNHmv{text-align:center;margin:0 1rem 1rem 1rem}.-esm-active-visits__visit-detail-overview__expandedRow___o7vyJ>td{padding:inherit !important}.-esm-active-visits__visit-detail-overview__expandedRow___o7vyJ>td>div{max-height:max-content !important}.-esm-active-visits__visit-detail-overview__observation___Eku\\+V{display:grid;grid-template-columns:max-content auto;grid-gap:.5rem;margin:.5rem 0}.-esm-active-visits__visit-detail-overview__observation___Eku\\+V>span{align-self:center}.-esm-active-visits__visit-detail-overview__summaryContainer___6ueAF{background-color:#fff;display:grid;grid-template-columns:max-content auto;padding:1rem 0;margin:0 1rem}.-esm-active-visits__visit-detail-overview__summaryContainer___6ueAF .cds--tabs{max-height:7rem}.-esm-active-visits__visit-detail-overview__flexSections___K3zUQ{display:flex}.-esm-active-visits__visit-detail-overview__verticalTabs___8bwHK{margin:1rem 0;scroll-behavior:smooth}.-esm-active-visits__visit-detail-overview__verticalTabs___8bwHK>ul{flex-direction:column !important}.-esm-active-visits__visit-detail-overview__verticalTabs___8bwHK .cds--tabs--scrollable .cds--tabs--scrollable__nav-item + .cds--tabs--scrollable__nav-item{margin-left:0}.-esm-active-visits__visit-detail-overview__verticalTabs___8bwHK .cds--tabs--scrollable .cds--tabs--scrollable__nav-link{border-bottom:0 !important;border-left:2px solid #c6c6c6}.-esm-active-visits__visit-detail-overview__tab___ZEwef{outline:0;outline-offset:0;min-height:2rem}.-esm-active-visits__visit-detail-overview__tab___ZEwef:active,.-esm-active-visits__visit-detail-overview__tab___ZEwef:focus{outline:2px solid var(--brand-03) !important}.-esm-active-visits__visit-detail-overview__tab___ZEwef[aria-selected=true]{border-left:3px solid var(--brand-03);border-bottom:none;font-weight:600;margin-left:0 !important}.-esm-active-visits__visit-detail-overview__tab___ZEwef[aria-selected=false]{border-bottom:none;border-left:2px solid #e0e0e0;margin-left:0 !important}.-esm-active-visits__visit-detail-overview__tablist___l7Wdv .cds--tab--list{flex-direction:column;max-height:fit-content;overflow-x:visible}.-esm-active-visits__visit-detail-overview__tablist___l7Wdv>button .cds--tabs .cds--tabs__nav-link{border-bottom:none}.-esm-active-visits__visit-detail-overview__medicationBlock___4eXwy{background-color:#f4f4f4;padding:.625rem 6.75rem .75rem 1.063rem;margin-top:1.5rem;width:100% !important}.-esm-active-visits__visit-detail-overview__medicationBlock___4eXwy:first-child{margin-top:0}.-esm-active-visits__visit-detail-overview__diagnosisLabel___wvbjE{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);color:#525252;margin-top:5px}.-esm-active-visits__visit-detail-overview__diagnosesList___Q28KT{display:flex;flex-flow:row wrap;padding-bottom:.5rem;margin:0 1rem;border-bottom:1px solid #e0e0e0}.-esm-active-visits__visit-detail-overview__actions___zAZ04{margin:0 1rem}.-esm-active-visits__visit-detail-overview__contentSwitcher___tCYpp .cds--content-switcher-btn{min-width:fit-content}.-esm-active-visits__visit-detail-overview__contentSwitcher___tCYpp .cds--content-switcher__label{height:1rem}.-esm-active-visits__visit-detail-overview__notesContainer___lGWpE{margin-bottom:2rem}.-esm-active-visits__visit-detail-overview__noteText___WoH0y{background-color:#f4f4f4;padding:1rem;width:100% !important;white-space:pre-wrap}.-esm-active-visits__visit-detail-overview__desktopHeading___-1uLJ,.-esm-active-visits__visit-detail-overview__tabletHeading___LNMhi{text-align:left;text-transform:capitalize;margin-bottom:1rem}.-esm-active-visits__visit-detail-overview__desktopHeading___-1uLJ h4,.-esm-active-visits__visit-detail-overview__tabletHeading___LNMhi h4{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);color:#525252}.-esm-active-visits__visit-detail-overview__desktopHeading___-1uLJ h4:after,.-esm-active-visits__visit-detail-overview__tabletHeading___LNMhi h4:after{content:"";display:block;width:2rem;padding-top:3px;border-bottom:.375rem solid;border-bottom-color:#007d79;border-bottom-color:var(--brand-03)}.-esm-active-visits__visit-detail-overview__tile___MC37N{text-align:center}.-esm-active-visits__visit-detail-overview__emptyStateContent___JjzUp{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);color:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-active-visits__visit-detail-overview__emptyStateContainer___kmnV4{background-color:#fff;border:1px solid #e0e0e0;width:100%;margin:0 auto;max-width:95vw;padding-bottom:0}.-esm-active-visits__visit-detail-overview__productiveHeading02___5-t\\+w{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-active-visits__visit-detail-overview__bodyLong01___3DCLv{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-active-visits__visit-detail-overview__caption01___yCfJc{font-size:var(--cds-legal-01-font-size, 0.75rem);font-weight:var(--cds-legal-01-font-weight, 400);line-height:var(--cds-legal-01-line-height, 1.33333);letter-spacing:var(--cds-legal-01-letter-spacing, 0.32px)}.-esm-active-visits__visit-detail-overview__bodyShort02___fuXhU{font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0)}.-esm-active-visits__visit-detail-overview__text02___hhPqo{color:#525252}.-esm-active-visits__visit-detail-overview__text01___8ug6t{color:#161616}html[dir=rtl] .-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET{padding:.75rem 1rem .75rem 0}html[dir=rtl] .-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET h4{text-align:right}html[dir=rtl] .-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET>div>div :first-child{border-bottom-left-radius:unset;border-top-left-radius:unset;border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}html[dir=rtl] .-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET>div>div :first-child[aria-selected=false]{border-left:unset;border-right:.0625rem solid #a6c8ff}html[dir=rtl] .-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET>div>div :last-child{border-bottom-right-radius:unset;border-top-right-radius:unset;border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}html[dir=rtl] .-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET>div>div :last-child[aria-selected=false]{border-right:unset;border-left:.0625rem solid #a6c8ff}html[dir=rtl] .-esm-active-visits__visit-detail-overview__summaryContainer___6ueAF .-esm-active-visits__visit-detail-overview__tablist___l7Wdv>div button{text-align:right}html[dir=rtl] .-esm-active-visits__visit-detail-overview__summaryContainer___6ueAF .-esm-active-visits__visit-detail-overview__tablist___l7Wdv>div button[aria-selected=true]{border-left:unset;border-right:3px solid var(--brand-03)}html[dir=rtl] .-esm-active-visits__visit-detail-overview__summaryContainer___6ueAF .-esm-active-visits__visit-detail-overview__tablist___l7Wdv>div button[aria-selected=false]{border-left:unset;border-right:2px solid #e0e0e0}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/visits-summary/visit-detail-overview.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDF,8DACE,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,0BAAA,CAGF,qEACE,eAAA,CACA,UAAA,CACA,uBAAA,CACA,aDXM,CCcR,qEACE,YAAA,CACA,qBAAA,CACA,6BAAA,CAEA,oIACE,eAAA,CAIJ,wEACE,wBD7BM,CC8BN,YCCW,CAAA,qBAAA,CDGb,2DEg0BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CF5zBJ,6DE4zBI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CF1zBF,aDnCQ,CCoCR,mBAAA,CAGF,gFACE,qBDtCc,CCuCd,UAAA,CACA,wBAAA,CAGF,gFACE,YAAA,CACA,6BAAA,CACA,4BAAA,CACA,qBD/Cc,CCkDhB,yFACE,UAAA,CACA,aAAA,CACA,UCnBW,CDoBX,mBAAA,CACA,mCAAA,CAIA,mEACE,oBAAA,CAGF,sGACE,qBDtEI,CCyEN,6GACE,wBD3EI,CC8EN,mEACE,6BAAA,CAIJ,oEACE,iBAAA,CACA,qBAAA,CACA,YC7CW,CD8CX,wBAAA,CACA,UAAA,CAGF,wEACE,iBAAA,CACA,uBAAA,CAGF,mEACE,0BAAA,CAGF,uEACE,iCAAA,CAGF,iEACE,YAAA,CACA,sCAAA,CACA,cCtFW,CDuFX,cAAA,CAGF,sEACE,iBAAA,CAGF,qEACE,qBD7Gc,CC8Gd,YAAA,CACA,sCAAA,CACA,cAAA,CACA,aAAA,CAEA,gFACE,eAAA,CAIJ,iEACE,YAAA,CAGF,iEACE,aAAA,CACA,sBAAA,CAEA,oEACE,gCAAA,CAGF,4JACE,aAAA,CAGF,yHACE,0BAAA,CACA,6BAAA,CAIJ,wDACE,SAAA,CACA,gBAAA,CACA,eC/GW,CDiHX,6HAEE,4CAAA,CAGF,4EACE,qCAAA,CACA,kBAAA,CACA,eAAA,CACA,wBAAA,CAGF,6EACE,kBAAA,CACA,6BAAA,CACA,wBAAA,CAKF,4EACE,qBAAA,CACA,sBAAA,CACA,kBAAA,CAGF,mGACE,kBAAA,CAIJ,oEACE,wBD1LM,CC2LN,uCAAA,CACA,iBCxJW,CDyJX,qBAAA,CAGF,gFACE,YAAA,CAGF,mEE8pBI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CF5pBF,aDjMQ,CCkMR,cAAA,CAGF,kEACE,YAAA,CACA,kBAAA,CACA,oBCxLW,CDyLX,aAAA,CACA,+BAAA,CAGF,4DACE,aAAA,CAKA,+FACE,qBAAA,CAGF,kGACE,WC9LS,CDkMb,mEACE,kBCzLW,CD4Lb,6DACE,wBDtOM,CCuON,YCxMW,CDyMX,qBAAA,CACA,oBAAA,CAGF,qIAEE,eAAA,CACA,yBAAA,CACA,kBCjNW,CDmNX,2IEgnBE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CF9mBA,aD/OM,CCiPN,uJACE,UAAA,CACA,aAAA,CACA,UChNO,CDiNP,eAAA,CACA,2BAAA,CD3MJ,2BAAA,CACA,mCAAA,CCgNF,yDACE,iBAAA,CAGF,sEE6lBI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CF3lBF,aDlQQ,CCmQR,eCzOW,CD0OX,mBCpPW,CDuPb,wEACE,qBD5QM,CC6QN,wBAAA,CACA,UAAA,CACA,aAAA,CACA,cAAA,CACA,gBAAA,CAGF,yEE6kBI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFzkBJ,+DEykBI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CFrkBJ,8DEqkBI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CFjkBJ,gEEikBI,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CF7jBJ,2DACE,aDjSQ,CCoSV,2DACE,aDtSM,CC2SN,8FACE,4BAAA,CACA,iGACE,gBAAA,CAIE,mHACE,+BAAA,CACA,4BAAA,CACA,iCCzSG,CD0SH,8BC1SG,CD4SL,wIACE,iBAAA,CACA,mCAAA,CAEF,kHACE,gCAAA,CACA,6BAAA,CACA,gCCnTG,CDoTH,6BCpTG,CDsTL,uIACE,kBAAA,CACA,kCAAA,CAQF,0JACE,gBAAA,CAEF,8KACE,iBAAA,CACA,sCAAA,CAEF,+KACE,iBAAA,CACA,8BAAA",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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\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/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n}\n\n.encounterHeading {\n text-align: left;\n width: 100%;\n margin: 0 layout.$spacing-05 1.3125rem;\n color: $ui-05;\n}\n\n.medicationRecord {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n .bodyLong01 {\n margin: layout.$spacing-02 0;\n }\n}\n\n.medicationContainer {\n background-color: $ui-01;\n padding: layout.$spacing-05;\n width: 100% !important;\n}\n\n.dosage {\n @include type.type-style('heading-compact-01');\n}\n\n.metadata {\n @include type.type-style('label-01');\n color: $text-02;\n margin: layout.$spacing-03 0 layout.$spacing-05;\n}\n\n.visitsDetailWidgetContainer {\n background-color: $ui-background;\n width: 100%;\n border: 1px solid $ui-03;\n}\n\n.visitsDetailHeaderContainer {\n display: flex;\n justify-content: space-between;\n padding: layout.$spacing-04 0 layout.$spacing-04 layout.$spacing-05;\n background-color: $ui-background;\n}\n\n.visitsDetailHeaderContainer > h4:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid $brand-teal-01;\n}\n\n.customTable {\n th {\n padding: 0 !important;\n }\n\n tr[data-parent-row]:nth-child(odd) td {\n background-color: $ui-02;\n }\n\n tbody tr[data-parent-row]:nth-child(even) td {\n background-color: $ui-01;\n }\n\n td {\n border-bottom: none !important;\n }\n}\n\n.visitEmptyState {\n text-align: center;\n background-color: white;\n padding: layout.$spacing-07;\n border: 1px solid $ui-03;\n width: 100%;\n}\n\n.encounterEmptyState {\n text-align: center;\n margin: 0 layout.$spacing-05 layout.$spacing-05 layout.$spacing-05;\n}\n\n.expandedRow > td {\n padding: inherit !important;\n}\n\n.expandedRow > td > div {\n max-height: max-content !important;\n}\n\n.observation {\n display: grid;\n grid-template-columns: max-content auto;\n grid-gap: layout.$spacing-03;\n margin: layout.$spacing-03 0;\n}\n\n.observation > span {\n align-self: center;\n}\n\n.summaryContainer {\n background-color: $ui-background;\n display: grid;\n grid-template-columns: max-content auto;\n padding: layout.$spacing-05 0;\n margin: 0 layout.$spacing-05;\n\n :global(.cds--tabs) {\n max-height: 7rem;\n }\n}\n\n.flexSections {\n display: flex;\n}\n\n.verticalTabs {\n margin: layout.$spacing-05 0;\n scroll-behavior: smooth;\n\n > ul {\n flex-direction: column !important;\n }\n\n :global(.cds--tabs--scrollable .cds--tabs--scrollable__nav-item + .cds--tabs--scrollable__nav-item) {\n margin-left: 0;\n }\n\n :global(.cds--tabs--scrollable .cds--tabs--scrollable__nav-link) {\n border-bottom: 0 !important;\n border-left: 2px solid $color-gray-30;\n }\n}\n\n.tab {\n outline: 0;\n outline-offset: 0;\n min-height: layout.$spacing-07;\n\n &:active,\n &:focus {\n outline: 2px solid var(--brand-03) !important;\n }\n\n &[aria-selected='true'] {\n border-left: 3px solid var(--brand-03);\n border-bottom: none;\n font-weight: 600;\n margin-left: 0 !important;\n }\n\n &[aria-selected='false'] {\n border-bottom: none;\n border-left: 2px solid $ui-03;\n margin-left: 0 !important;\n }\n}\n\n.tablist {\n :global(.cds--tab--list) {\n flex-direction: column;\n max-height: fit-content;\n overflow-x: visible;\n }\n\n > button :global(.cds--tabs .cds--tabs__nav-link) {\n border-bottom: none;\n }\n}\n\n.medicationBlock {\n background-color: $ui-01;\n padding: 0.625rem 6.75rem layout.$spacing-04 1.063rem;\n margin-top: layout.$spacing-06;\n width: 100% !important;\n}\n\n.medicationBlock:first-child {\n margin-top: 0;\n}\n\n.diagnosisLabel {\n @include type.type-style('heading-compact-01');\n color: $text-02;\n margin-top: 5px;\n}\n\n.diagnosesList {\n display: flex;\n flex-flow: row wrap;\n padding-bottom: layout.$spacing-03;\n margin: 0 layout.$spacing-05;\n border-bottom: 1px solid $ui-03;\n}\n\n.actions {\n margin: 0 layout.$spacing-05;\n}\n\n.contentSwitcher {\n // TODO: Remove once override gets added to styleguide\n :global(.cds--content-switcher-btn) {\n min-width: fit-content;\n }\n\n :global(.cds--content-switcher__label) {\n height: layout.$spacing-05;\n }\n}\n\n.notesContainer {\n margin-bottom: layout.$spacing-07;\n}\n\n.noteText {\n background-color: $ui-01;\n padding: layout.$spacing-05;\n width: 100% !important;\n white-space: pre-wrap;\n}\n\n.desktopHeading,\n.tabletHeading {\n text-align: left;\n text-transform: capitalize;\n margin-bottom: layout.$spacing-05;\n\n h4 {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n\n &:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 3px;\n border-bottom: 0.375rem solid;\n @include brand-03(border-bottom-color);\n }\n }\n}\n\n.tile {\n text-align: center;\n}\n\n.emptyStateContent {\n @include type.type-style('heading-compact-01');\n color: $text-02;\n margin-top: layout.$spacing-05;\n margin-bottom: layout.$spacing-03;\n}\n\n.emptyStateContainer {\n background-color: $ui-02;\n border: 1px solid $ui-03;\n width: 100%;\n margin: 0 auto;\n max-width: 95vw;\n padding-bottom: 0;\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.caption01 {\n @include type.type-style('legal-01');\n}\n\n.bodyShort02 {\n @include type.type-style('body-compact-02');\n}\n\n.text02 {\n color: $text-02;\n}\n\n.text01 {\n color: $ui-05;\n}\n\n// Overriding styles for RTL support\nhtml[dir='rtl'] {\n .visitsDetailHeaderContainer {\n padding: layout.$spacing-04 layout.$spacing-05 layout.$spacing-04 0;\n h4 {\n text-align: right;\n }\n & > div {\n & > div {\n & :first-child {\n border-bottom-left-radius: unset;\n border-top-left-radius: unset;\n border-bottom-right-radius: layout.$spacing-02;\n border-top-right-radius: layout.$spacing-02;\n }\n & :first-child[aria-selected='false'] {\n border-left: unset;\n border-right: 0.0625rem solid #a6c8ff;\n }\n & :last-child {\n border-bottom-right-radius: unset;\n border-top-right-radius: unset;\n border-bottom-left-radius: layout.$spacing-02;\n border-top-left-radius: layout.$spacing-02;\n }\n & :last-child[aria-selected='false'] {\n border-right: unset;\n border-left: 0.0625rem solid #a6c8ff;\n }\n }\n }\n }\n .summaryContainer {\n .tablist {\n & > div {\n button {\n text-align: right;\n }\n button[aria-selected='true'] {\n border-left: unset;\n border-right: 3px solid var(--brand-03);\n }\n button[aria-selected='false'] {\n border-left: unset;\n border-right: 2px solid #e0e0e0;\n }\n }\n }\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\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","//\n// Copyright IBM Corp. 2018, 2023\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/// @deprecated\n/// @group @carbon/type\n$caption-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/// @deprecated\n/// @group @carbon/type\n$caption-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.32px,\n) !default;\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: 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-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('regular'),\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.4,\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('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\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('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\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 caption-01: $caption-01,\n caption-02: $caption-02,\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) !default;\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:""}]),s.locals={container:"-esm-active-visits__visit-detail-overview__container___mkGcD",encounterHeading:"-esm-active-visits__visit-detail-overview__encounterHeading___2xolA",medicationRecord:"-esm-active-visits__visit-detail-overview__medicationRecord___lye5q",bodyLong01:"-esm-active-visits__visit-detail-overview__bodyLong01___3DCLv",medicationContainer:"-esm-active-visits__visit-detail-overview__medicationContainer___btt6x",dosage:"-esm-active-visits__visit-detail-overview__dosage___-x3me",metadata:"-esm-active-visits__visit-detail-overview__metadata___5nPG2",visitsDetailWidgetContainer:"-esm-active-visits__visit-detail-overview__visitsDetailWidgetContainer___ZvlEp",visitsDetailHeaderContainer:"-esm-active-visits__visit-detail-overview__visitsDetailHeaderContainer___fRjET",customTable:"-esm-active-visits__visit-detail-overview__customTable___8OnwU",visitEmptyState:"-esm-active-visits__visit-detail-overview__visitEmptyState___7PPoN",encounterEmptyState:"-esm-active-visits__visit-detail-overview__encounterEmptyState___QNHmv",expandedRow:"-esm-active-visits__visit-detail-overview__expandedRow___o7vyJ",observation:"-esm-active-visits__visit-detail-overview__observation___Eku+V",summaryContainer:"-esm-active-visits__visit-detail-overview__summaryContainer___6ueAF",flexSections:"-esm-active-visits__visit-detail-overview__flexSections___K3zUQ",verticalTabs:"-esm-active-visits__visit-detail-overview__verticalTabs___8bwHK",tab:"-esm-active-visits__visit-detail-overview__tab___ZEwef",tablist:"-esm-active-visits__visit-detail-overview__tablist___l7Wdv",medicationBlock:"-esm-active-visits__visit-detail-overview__medicationBlock___4eXwy",diagnosisLabel:"-esm-active-visits__visit-detail-overview__diagnosisLabel___wvbjE",diagnosesList:"-esm-active-visits__visit-detail-overview__diagnosesList___Q28KT",actions:"-esm-active-visits__visit-detail-overview__actions___zAZ04",contentSwitcher:"-esm-active-visits__visit-detail-overview__contentSwitcher___tCYpp",notesContainer:"-esm-active-visits__visit-detail-overview__notesContainer___lGWpE",noteText:"-esm-active-visits__visit-detail-overview__noteText___WoH0y",desktopHeading:"-esm-active-visits__visit-detail-overview__desktopHeading___-1uLJ",tabletHeading:"-esm-active-visits__visit-detail-overview__tabletHeading___LNMhi",tile:"-esm-active-visits__visit-detail-overview__tile___MC37N",emptyStateContent:"-esm-active-visits__visit-detail-overview__emptyStateContent___JjzUp",emptyStateContainer:"-esm-active-visits__visit-detail-overview__emptyStateContainer___kmnV4",productiveHeading02:"-esm-active-visits__visit-detail-overview__productiveHeading02___5-t+w",caption01:"-esm-active-visits__visit-detail-overview__caption01___yCfJc",bodyShort02:"-esm-active-visits__visit-detail-overview__bodyShort02___fuXhU",text02:"-esm-active-visits__visit-detail-overview__text02___hhPqo",text01:"-esm-active-visits__visit-detail-overview__text01___8ug6t"};const r=s},9755:(e,n,t)=>{"use strict";t.r(n),t.d(n,{activeVisits:()=>ve,homeActiveVisitsTile:()=>me,homeTotalVisitsTile:()=>fe,importTranslation:()=>pe,startupApp:()=>ue,visitDetail:()=>ge});var i=t(744),a={activeVisits:{identifiers:{_type:i.Type.Array,_description:"Customizable list of identifiers to display on active visits table",_elements:{header:{key:{_type:i.Type.String,_default:null,_description:"Key to be used for translation purposes."},default:{_type:i.Type.String,_default:null,_description:"Default text to be displayed if no translation is found."}},identifierName:{_type:i.Type.String,_default:null,_description:"Name of the desired identifier to filter data returned from the visit resource."}},_default:null},pageSize:{_type:i.Type.Number,_description:"Count of active visits to be shown in a single page.",_default:10},pageSizes:{_type:i.Type.Array,_description:"Customizable page sizes that user can choose",_default:[10,20,50]},obs:{_type:i.Type.Array,_description:"Array of observation concept UUIDs to be displayed on the active visits table.",_elements:{_type:i.Type.UUID,_description:"UUID of an observation concept."},_default:[]}}},o=t(5206),s=t.n(o),r=t(7888),l=t(4924),c=function(e){var n=e.width,t=void 0===n?"64":n,i=e.height,a=void 0===i?"64":i;return s().createElement("svg",{width:t,height:a,viewBox:"0 0 64 64"},s().createElement("title",null,"Empty data illustration"),s().createElement("g",{fill:"none",fillRule:"evenodd"},s().createElement("path",{d:"M38.133 13.186H21.947c-.768.001-1.39.623-1.39 1.391V50.55l-.186.057-3.97 1.216a.743.743 0 01-.927-.493L3.664 12.751a.742.742 0 01.492-.926l6.118-1.874 17.738-5.43 6.119-1.873a.741.741 0 01.926.492L38.076 13l.057.186z",fill:"#F4F4F4"}),s().createElement("path",{d:"M41.664 13L38.026 1.117A1.576 1.576 0 0036.056.07l-8.601 2.633-17.737 5.43-8.603 2.634a1.578 1.578 0 00-1.046 1.97l12.436 40.616a1.58 1.58 0 001.969 1.046l5.897-1.805.185-.057v-.194l-.185.057-5.952 1.822a1.393 1.393 0 01-1.737-.923L.247 12.682a1.39 1.39 0 01.923-1.738L9.772 8.31 27.51 2.881 36.112.247a1.393 1.393 0 011.737.923L41.47 13l.057.186h.193l-.057-.185z",fill:"#8D8D8D"}),s().createElement("path",{d:"M11.378 11.855a.836.836 0 01-.798-.59L9.385 7.361a.835.835 0 01.554-1.042l16.318-4.996a.836.836 0 011.042.554l1.195 3.902a.836.836 0 01-.554 1.043l-16.318 4.995a.831.831 0 01-.244.037z",fill:"#C6C6C6"}),s().createElement("circle",{fill:"#C6C6C6",cx:17.636,cy:2.314,r:1.855}),s().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:17.636,cy:2.314,r:1.175}),s().createElement("path",{d:"M55.893 53.995H24.544a.79.79 0 01-.788-.789V15.644a.79.79 0 01.788-.788h31.349a.79.79 0 01.788.788v37.562a.79.79 0 01-.788.789z",fill:"#F4F4F4"}),s().createElement("path",{d:"M41.47 13H21.948a1.579 1.579 0 00-1.576 1.577V52.4l.185-.057V14.577c.001-.768.623-1.39 1.391-1.39h19.581L41.471 13zm17.02 0H21.947a1.579 1.579 0 00-1.576 1.577v42.478c0 .87.706 1.576 1.576 1.577H58.49a1.579 1.579 0 001.576-1.577V14.577a1.579 1.579 0 00-1.576-1.576zm1.39 44.055c0 .768-.622 1.39-1.39 1.392H21.947c-.768-.001-1.39-.624-1.39-1.392V14.577c0-.768.622-1.39 1.39-1.39H58.49c.768 0 1.39.622 1.39 1.39v42.478z",fill:"#8D8D8D"}),s().createElement("path",{d:"M48.751 17.082H31.686a.836.836 0 01-.835-.835v-4.081c0-.46.374-.834.835-.835H48.75c.461 0 .834.374.835.835v4.08c0 .462-.374.835-.835.836z",fill:"#C6C6C6"}),s().createElement("circle",{fill:"#C6C6C6",cx:40.218,cy:9.755,r:1.855}),s().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:40.218,cy:9.755,r:1.13})))},d=t(9654),p=t.n(d),u=t(3565),v=t.n(u),g=t(6824),m=t.n(g),f=t(3649);function h(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function y(e,n,t,i,a,o,s){try{var r=e[o](s),l=r.value}catch(e){return void t(e)}r.done?n(l):Promise.resolve(l).then(i,a)}function b(e){return function(){var n=this,t=arguments;return new Promise((function(i,a){var o=e.apply(n,t);function s(e){y(o,i,a,s,r,"next",e)}function r(e){y(o,i,a,s,r,"throw",e)}s(void 0)}))}}function _(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||A(e)||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.")}()}function A(e,n){if(e){if("string"==typeof e)return h(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?h(e,n):void 0}}function $(e,n){var t,i,a,o,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function r(o){return function(r){return function(o){if(t)throw new TypeError("Generator is already executing.");for(;s;)try{if(t=1,i&&(a=2&o[0]?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((a=(a=s.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){s.label=o[1];break}if(6===o[0]&&s.label<a[1]){s.label=a[1],a=o;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(o);break}a[2]&&s.ops.pop(),s.trys.pop();continue}o=n.call(e,s)}catch(e){o=[6,e],i=0}finally{t=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,r])}}}v().extend(m());var C=t(6062),w=t.n(C),x=t(4036),k=t.n(x),E=t(6793),z=t.n(E),D=t(7892),S=t.n(D),M=t(1173),N=t.n(M),T=t(2464),B=t.n(T),F=t(4699),j={};j.styleTagTransform=B(),j.setAttributes=S(),j.insert=z().bind(null,"head"),j.domAPI=k(),j.insertStyleElement=N(),w()(F.Z,j);const H=F.Z&&F.Z.locals?F.Z.locals:void 0;function I(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function O(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function L(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){O(e,n,t[n])}))}return e}function V(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);s=!0);}catch(e){r=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw a}}return o}}(e,n)||function(e,n){if(e){if("string"==typeof e)return I(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?I(e,n):void 0}}(e,n)||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.")}()}var U=t(2524),R=t.n(U),P=t(8031),q={};q.styleTagTransform=B(),q.setAttributes=S(),q.insert=z().bind(null,"head"),q.domAPI=k(),q.insertStyleElement=N(),w()(P.Z,q);const G=P.Z&&P.Z.locals?P.Z.locals:void 0;function W(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}const J=function(e){var n=e.observations,t=(0,l.useTranslation)().t,i=(0,o.useMemo)((function(){return n&&n.map((function(e){var n,t,i=(n=e.display.split(":"),t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);s=!0);}catch(e){r=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw a}}return o}}(n,t)||function(e,n){if(e){if("string"==typeof e)return W(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?W(e,n):void 0}}(n,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.")}());return{question:i[0],answer:i[1]}}))}),[n]);return i?i.length>0?s().createElement("div",{className:G.observation},i.map((function(e,n){return s().createElement(s().Fragment,{key:n},s().createElement("span",{className:G.caption01},e.question,": "),s().createElement("span",{className:R()(G.bodyShort02,G.text01)},e.answer))}))):s().createElement("p",{className:G.caption01},t("noObservationsFound","No observations found")):s().createElement(r.N2B,null)};function K(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function X(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Q(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){X(e,n,t[n])}))}return e}const Z=function(e){var n,t,a=e.encounters,c=e.visitUuid,d=(0,l.useTranslation)().t,p=(0,i.useLayoutType)(),u=(n=(0,o.useState)(0),t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);s=!0);}catch(e){r=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw a}}return o}}(n,t)||function(e,n){if(e){if("string"==typeof e)return K(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?K(e,n):void 0}}(n,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.")}()),v=u[0],g=u[1],m=(0,o.useRef)(null),f=(0,o.useMemo)((function(){return[{id:1,header:d("time","Time"),key:"time"},{id:2,header:d("encounterType","Encounter Type"),key:"encounterType"},{id:3,header:d("provider","Provider"),key:"provider"}]}),[d]);return(0,o.useEffect)((function(){var e,n;g(null===(n=m)||void 0===n||null===(e=n.current)||void 0===e?void 0:e.clientWidth);var t=function(){var e,n;return g(null===(n=m)||void 0===n||null===(e=n.current)||void 0===e?void 0:e.clientWidth)};return window.addEventListener("resize",t),function(){return window.removeEventListener("resize",t)}}),[]),a.length>0?s().createElement(r.wQF,{rows:a,headers:f},(function(e){var n,t,o=e.rows,l=e.headers,d=e.getHeaderProps,u=e.getRowProps,g=e.getTableProps;return s().createElement(r.xJi,{"data-testid":"encountersTable"},s().createElement(r.iA_,(n=Q({className:G.customTable},g()),t=null!=(t={size:(0,i.isDesktop)(p)?"sm":"md"})?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t}(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))})),n),s().createElement(r.ssF,null,s().createElement(r.SCH,null,s().createElement(r.MOD,null),l.map((function(e,n){return 0===n?s().createElement(r.xDH,Q({id:"header_".concat(c,"_").concat(n),ref:m},d({header:e})),e.header):s().createElement(r.xDH,Q({id:"header_".concat(c,"_").concat(n)},d({header:e})),e.header)})))),s().createElement(r.RMI,null,o.map((function(e,n){return s().createElement(s().Fragment,{key:e.id},s().createElement(r.RcE,u({row:e}),e.cells.map((function(e){return s().createElement(r.pj1,{key:e.id,"data-testid":e.id},e.value)}))),e.isExpanded&&s().createElement(r.WdL,{className:G.expandedRow,style:{paddingLeft:(0,i.isDesktop)(p)?"3rem":"4rem"},colSpan:l.length+2},s().createElement("div",{style:{marginLeft:v}},s().createElement(J,{observations:a[n].obs}))))})))))})):s().createElement("div",{className:G.encounterEmptyState},s().createElement("h4",{className:G.productiveHeading02},d("noEncountersFound","No encounters found")),s().createElement("p",{className:R()(G.bodyLong01,G.text02)},d("thereIsNoInformationToDisplayHere","There is no information to display here")))},Y=function(e){var n=e.notes,t=(0,l.useTranslation)().t,a=(0,i.useLayoutType)();return s().createElement(s().Fragment,null,n.length?n.map((function(e,n){return s().createElement("div",{className:G.notesContainer,key:n},s().createElement("p",{className:R()(G.noteText,G.bodyLong01),"data-testid":"note"},e.note),s().createElement("p",{className:G.metadata},e.time," ",e.provider.name?s().createElement("span",null,"· ",e.provider.name," "):null,e.provider.role?s().createElement("span",null,"· ",e.provider.role):null))})):s().createElement("div",{className:G.emptyStateContainer},s().createElement(r.mh4,null,s().createElement(r.n9L,{className:G.tile},s().createElement("div",{className:(0,i.isDesktop)(a)?G.desktopHeading:G.tabletHeading},s().createElement("h4",null,t("notes","Notes"))),s().createElement(c,null),s().createElement("p",{className:G.emptyStateContent},t("noNotesToShowForPatient","There are no notes to display for this patient"))))))};var ee=t(9019);const ne=function(e){var n=e.medications,t=(0,l.useTranslation)().t;return s().createElement(s().Fragment,null,n.length>0?s().createElement("div",{className:G.medicationRecord},n.map((function(e,n){var a,o,r,l,c,d,p,u,v,g,m,f,h,y,b,_,A,$,C,w,x,k,E,z,D,S,M,N,T,B,F,j,H,I,O,L,V,U,R,P,q,W,J,K,X,Q,Z,Y,ne,te,ie,ae,oe,se,re,le,ce,de,pe,ue,ve,ge,me,fe,he,ye,be,_e,Ae,$e,Ce,we,xe,ke,Ee,ze,De;return(null===(a=e.order)||void 0===a?void 0:a.dose)&&"Drug Order"===(null===(r=e.order)||void 0===r||null===(o=r.orderType)||void 0===o?void 0:o.display)&&s().createElement(s().Fragment,{key:n},s().createElement("div",{className:G.medicationContainer},s().createElement("div",null,s().createElement("p",{className:G.bodyLong01},s().createElement("strong",null,(0,ee.Z)(null===(d=e)||void 0===d||null===(c=d.order)||void 0===c||null===(l=c.drug)||void 0===l?void 0:l.name))," ",(null===(v=e)||void 0===v||null===(u=v.order)||void 0===u||null===(p=u.drug)||void 0===p?void 0:p.strength)&&s().createElement(s().Fragment,null,"— ",null===(h=e)||void 0===h||null===(f=h.order)||void 0===f||null===(m=f.drug)||void 0===m||null===(g=m.strength)||void 0===g?void 0:g.toLowerCase())," ",(null===(_=e)||void 0===_||null===(b=_.order)||void 0===b||null===(y=b.doseUnits)||void 0===y?void 0:y.display)&&s().createElement(s().Fragment,null,"— ",null===(w=e)||void 0===w||null===(C=w.order)||void 0===C||null===($=C.doseUnits)||void 0===$||null===(A=$.display)||void 0===A?void 0:A.toLowerCase())," "),s().createElement("p",{className:G.bodyLong01},s().createElement("span",{className:G.label01}," ",t("dose","Dose").toUpperCase()," ")," ",s().createElement("span",{className:G.dosage},null===(k=e)||void 0===k||null===(x=k.order)||void 0===x?void 0:x.dose," ",null===(S=e)||void 0===S||null===(D=S.order)||void 0===D||null===(z=D.doseUnits)||void 0===z||null===(E=z.display)||void 0===E?void 0:E.toLowerCase())," ",(null===(N=e.order)||void 0===N||null===(M=N.route)||void 0===M?void 0:M.display)&&s().createElement("span",null,"— ",null===(j=e)||void 0===j||null===(F=j.order)||void 0===F||null===(B=F.route)||void 0===B||null===(T=B.display)||void 0===T?void 0:T.toLowerCase()," — "),null===(L=e)||void 0===L||null===(O=L.order)||void 0===O||null===(I=O.frequency)||void 0===I||null===(H=I.display)||void 0===H?void 0:H.toLowerCase()," —"," ",(null===(U=e)||void 0===U||null===(V=U.order)||void 0===V?void 0:V.duration)?t("orderDurationAndUnit","for {{duration}} {{durationUnit}}",{duration:null===(P=e)||void 0===P||null===(R=P.order)||void 0===R?void 0:R.duration,durationUnit:null===(K=e)||void 0===K||null===(J=K.order)||void 0===J||null===(W=J.durationUnits)||void 0===W||null===(q=W.display)||void 0===q?void 0:q.toLowerCase()}):t("orderIndefiniteDuration","Indefinite duration"),0!==(null===(Q=e)||void 0===Q||null===(X=Q.order)||void 0===X?void 0:X.numRefills)&&s().createElement("span",null,s().createElement("span",{className:G.label01}," — ",t("refills","Refills").toUpperCase())," ",null===(Y=e)||void 0===Y||null===(Z=Y.order)||void 0===Z?void 0:Z.numRefills,""),(null===(te=e)||void 0===te||null===(ne=te.order)||void 0===ne?void 0:ne.dosingInstructions)&&s().createElement("span",null," — ",null===(oe=e)||void 0===oe||null===(ae=oe.order)||void 0===ae||null===(ie=ae.dosingInstructions)||void 0===ie?void 0:ie.toLocaleLowerCase())),s().createElement("p",{className:G.bodyLong01},(null===(re=e)||void 0===re||null===(se=re.order)||void 0===se?void 0:se.orderReasonNonCoded)?s().createElement("span",null,s().createElement("span",{className:G.label01},t("indication","Indication").toUpperCase())," ",null===(ce=e)||void 0===ce||null===(le=ce.order)||void 0===le?void 0:le.orderReasonNonCoded):null,(null===(pe=e)||void 0===pe||null===(de=pe.order)||void 0===de?void 0:de.quantity)?s().createElement("span",null,s().createElement("span",{className:G.label01}," — ",t("quantity","Quantity").toUpperCase())," ",null===(ve=e)||void 0===ve||null===(ue=ve.order)||void 0===ue?void 0:ue.quantity):null,(null===(me=e)||void 0===me||null===(ge=me.order)||void 0===ge?void 0:ge.dateStopped)?s().createElement("span",{className:G.bodyShort01},s().createElement("span",{className:G.label01},(null===(he=e)||void 0===he||null===(fe=he.order)||void 0===fe?void 0:fe.quantity)?" — ":""," ",t("endDate","End date").toUpperCase())," ",(0,i.formatDate)(new Date(null===(be=e)||void 0===be||null===(ye=be.order)||void 0===ye?void 0:ye.dateStopped))):null))),s().createElement("p",{className:G.metadata},(0,i.formatTime)((0,i.parseDate)(null===(Ae=e)||void 0===Ae||null===(_e=Ae.order)||void 0===_e?void 0:_e.dateActivated)),(null===(Ce=e)||void 0===Ce||null===($e=Ce.provider)||void 0===$e?void 0:$e.name)&&s().createElement(s().Fragment,null," · ",null===(xe=e)||void 0===xe||null===(we=xe.provider)||void 0===we?void 0:we.name),(null===(Ee=e)||void 0===Ee||null===(ke=Ee.provider)||void 0===ke?void 0:ke.role)&&s().createElement(s().Fragment,null,", ",null===(De=e)||void 0===De||null===(ze=De.provider)||void 0===ze?void 0:ze.role)))}))):s().createElement("p",{className:R()(G.bodyLong01,G.text02)},t("noMedicationsFound","No medications found")))};function te(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}const ie=function(e){var n=e.patientUuid,t=e.encounters,a=(0,o.useMemo)((function(){var e=t.map((function(e){return"Encounter/".concat(e.uuid)}));return function(n){var t,i,a,o=(i=n,a=1,function(e){if(Array.isArray(e))return e}(i)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);s=!0);}catch(e){r=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw a}}return o}}(i,a)||function(e,n){if(e){if("string"==typeof e)return te(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?te(e,n):void 0}}(i,a)||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.")}())[0];return e.includes(null===(t=o.encounter)||void 0===t?void 0:t.reference)}}),[t]);return s().createElement("div",{className:G.bodyLong01},s().createElement(i.ExtensionSlot,{name:"test-results-filtered-overview-slot",state:{filter:a,patientUuid:n}}))};function ae(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function oe(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);s=!0);}catch(e){r=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw a}}return o}}(e,n)||se(e,n)||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.")}()}function se(e,n){if(e){if("string"==typeof e)return ae(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ae(e,n):void 0}}const re=function(e){var n=e.encounters,t=e.patientUuid,a=(0,l.useTranslation)().t,c=oe((0,o.useState)(0),2),d=(c[0],c[1]),p=oe((0,o.useMemo)((function(){var e=[],t=[],a=[];return n.forEach((function(n){var o,s;(o=e).push.apply(o,function(e){if(Array.isArray(e))return ae(e)}(s=n.orders.map((function(e){return{order:e,provider:{name:n.encounterProviders.length?n.encounterProviders[0].provider.person.display:"",role:n.encounterProviders.length?n.encounterProviders[0].encounterRole.display:""}}})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||se(s)||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.")}()),"Visit Note"===n.encounterType.display&&n.obs.forEach((function(e){"Visit Diagnoses"===e.concept.display?t.push({diagnosis:e.groupMembers.find((function(e){return"PROBLEM LIST"===e.concept.display})).value.display,order:e.groupMembers.find((function(e){return"Diagnosis order"===e.concept.display})).value.display}):"Text of encounter note"===e.concept.display&&a.push({note:e.value,provider:{name:n.encounterProviders.length?n.encounterProviders[0].provider.person.display:"",role:n.encounterProviders.length?n.encounterProviders[0].encounterRole.display:""},time:(0,i.formatTime)((0,i.parseDate)(e.obsDatetime))})}))})),[t,a,e]}),[n]),3),u=p[0],v=p[1],g=p[2];return s().createElement("div",{className:G.summaryContainer},s().createElement("p",{className:G.diagnosisLabel},a("diagnoses","Diagnoses")),s().createElement("div",{className:G.diagnosesList},u.length>0?u.map((function(e,n){return s().createElement(r.Vp9,{key:n,type:"Primary"===e.order?"blue":"red"},e.diagnosis)})):s().createElement("p",{className:R()(G.bodyLong01,G.text02),style:{marginBottom:"0.5rem"}},a("noDiagnosesFound","No diagnoses found"))),s().createElement(r.mQc,{className:G.verticalTabs},s().createElement(r.tdY,{"aria-label":"Visit summary tabs",className:G.tablist},s().createElement(r.OK9,{className:R()(G.tab,G.bodyLong01),onClick:function(){return d(0)},id:"notes-tab"},a("notes","Notes")),s().createElement(r.OK9,{className:G.tab,onClick:function(){return d(1)},id:"tests-tab"},a("tests","Tests")),s().createElement(r.OK9,{className:G.tab,onClick:function(){return d(2)},id:"tab-3"},a("medications","Medications"))),s().createElement(r.nPR,null,s().createElement(r.x45,null,s().createElement(Y,{notes:v})),s().createElement(r.x45,null,s().createElement(ie,{patientUuid:t,encounters:n})),s().createElement(r.x45,null,s().createElement(ne,{medications:g})))))};function le(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}var ce="@kenyaemr/esm-active-visits-app",de={featureName:"active-visits",moduleName:ce},pe=t(3979);function ue(){(0,i.defineConfigSchema)(ce,a)}var ve=(0,i.getSyncLifecycle)((function(){var e,n,t,a,d,u,v,g,m,h,y=(0,l.useTranslation)().t,C=(0,i.useConfig)(),w=(0,i.useLayoutType)(),x=null!==(g=null===(n=C)||void 0===n||null===(e=n.activeVisits)||void 0===e?void 0:e.pageSizes)&&void 0!==g?g:[10,20,30,40,50],k=V((0,o.useState)(null!==(m=null===(a=C)||void 0===a||null===(t=a.activeVisits)||void 0===t?void 0:t.pageSize)&&void 0!==m?m:10),2),E=k[0],z=k[1],D=function(e){var n,t=(n=b((function(e){var n,t,a;return $(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,(0,i.openmrsFetch)("".concat(i.restBaseUrl,"/concept/").concat(e,"?v=custom:(uuid,display)"))];case 1:return t=o.sent(),[2,null===(n=t)||void 0===n?void 0:n.data];case 2:return a=o.sent(),console.error("Error fetching concept for UUID: ".concat(e),a),[2,null];case 3:return[2]}}))})),function(e){return n.apply(this,arguments)}),a=(0,f.ZP)(e.length>0?["obs-concepts",e]:null,b((function(){return $(this,(function(n){switch(n.label){case 0:return[4,Promise.all(e.map(t))];case 1:return[2,n.sent().filter((function(e){return null!==e}))]}}))}))),s=a.data,r=a.isLoading;return a.error,(0,o.useMemo)((function(){return{obsConcepts:null!=s?s:[],isLoadingObsConcepts:r}}),[s,r])}(C.activeVisits.obs),S=D.obsConcepts,M=D.isLoadingObsConcepts,N=function(){var e,n,t,a,s,r,l,c=(0,i.useSession)(),d=(0,i.useConfig)(),u=null===(t=c)||void 0===t||null===(n=t.sessionLocation)||void 0===n?void 0:n.uuid,v=p()(u?function(e,n){var t,a,o;if(e&&!(null===(o=n)||void 0===o||null===(a=o.data)||void 0===a||null===(t=a.links)||void 0===t?void 0:t.some((function(e){return"next"===e.rel}))))return null;var s="".concat(i.restBaseUrl,"/visit?v=").concat("custom:(uuid,patient:(uuid,identifiers:(identifier,uuid,identifierType:(name,uuid)),person:(age,display,gender,uuid,attributes:(value,attributeType:(uuid,display)))),visitType:(uuid,name,display),location:(uuid,name,display),startDatetime,stopDatetime,encounters:(encounterDatetime,obs:(uuid,concept:(uuid,display),value)))","&"),r=new URLSearchParams;return r.append("includeInactive","false"),r.append("totalCount","true"),r.append("location","".concat(u)),e&&r.append("startIndex","".concat(50*e)),s+r.toString()}:null,i.openmrsFetch),g=v.data,m=v.error,f=v.isLoading,h=v.isValidating,y=v.size,b=v.setSize;(0,o.useEffect)((function(){var e,n,t,i;g&&(null===(i=g)||void 0===i||null===(t=i[y-1])||void 0===t||null===(n=t.data)||void 0===n||null===(e=n.links)||void 0===e?void 0:e.some((function(e){return"next"===e.rel})))&&b((function(e){return e+1}))}),[g,y,b]);var A,$=function(e){var n,t,a,o,s,r,l,c,p,u,v,g,m,f,h,y,b,A,$,C,w,x,k,E,z,D,S,M,N={age:null===(a=e)||void 0===a||null===(t=a.patient)||void 0===t||null===(n=t.person)||void 0===n?void 0:n.age.toString(),id:e.uuid,idNumber:null,gender:null===(r=e)||void 0===r||null===(s=r.patient)||void 0===s||null===(o=s.person)||void 0===o?void 0:o.gender,location:null===(c=e)||void 0===c||null===(l=c.location)||void 0===l?void 0:l.uuid,name:null===(v=e)||void 0===v||null===(u=v.patient)||void 0===u||null===(p=u.person)||void 0===p?void 0:p.display,patientUuid:null===(m=e)||void 0===m||null===(g=m.patient)||void 0===g?void 0:g.uuid,visitStartTime:(0,i.formatDatetime)((0,i.parseDate)(null===(f=e)||void 0===f?void 0:f.startDatetime)),visitType:null===(y=e)||void 0===y||null===(h=y.visitType)||void 0===h?void 0:h.display,visitUuid:e.uuid};(null===(A=d)||void 0===A||null===(b=A.activeVisits)||void 0===b?void 0:b.identifiers)?null===(E=d)||void 0===E||null===(k=E.activeVisits)||void 0===k||null===(x=k.identifiers)||void 0===x||x.map((function(n){var t,i,a,o,s,r=null===(i=e)||void 0===i||null===(t=i.patient)||void 0===t?void 0:t.identifiers.find((function(e){var t,i,a;return(null===(i=e)||void 0===i||null===(t=i.identifierType)||void 0===t?void 0:t.name)===(null===(a=n)||void 0===a?void 0:a.identifierName)}));N[null===(a=n.header)||void 0===a?void 0:a.key]=null!==(s=null===(o=r)||void 0===o?void 0:o.identifier)&&void 0!==s?s:"--"})):N.idNumber=null!==(M=null===(S=e)||void 0===S||null===(D=S.patient)||void 0===D||null===(z=D.identifiers[0])||void 0===z?void 0:z.identifier)&&void 0!==M?M:"--",null===(w=d)||void 0===w||null===(C=w.activeVisits)||void 0===C||null===($=C.attributes)||void 0===$||$.map((function(n){var t,i,a,o,s,r,l=n.display,c=n.header,d=null===(a=e)||void 0===a||null===(i=a.patient)||void 0===i||null===(t=i.person)||void 0===t?void 0:t.attributes.find((function(e){var n,t;return(null===(t=e)||void 0===t||null===(n=t.attributeType)||void 0===n?void 0:n.display)===l}));N[null===(o=c)||void 0===o?void 0:o.key]=null!==(r=null===(s=d)||void 0===s?void 0:s.value)&&void 0!==r?r:"--"}));var T=e.encounters.reduce((function(e,n){return _(e).concat(_(n.obs||[]))}),[]);return N.observations=T.reduce((function(e,n){var t=n.concept.uuid;return e[t]||(e[t]=[]),e[t].push({value:n.value,uuid:n.uuid}),e}),{}),N};return{activeVisits:g?(e=[]).concat.apply(e,_(null===(a=g)||void 0===a?void 0:a.map((function(e){var n,t,i;return null===(i=e)||void 0===i||null===(t=i.data)||void 0===t||null===(n=t.results)||void 0===n?void 0:n.map($)})))):[],error:m,isLoading:f,isValidating:h,totalResults:null!==(A=null===(l=g)||void 0===l||null===(r=l[0])||void 0===r||null===(s=r.data)||void 0===s?void 0:s.totalCount)&&void 0!==A?A:0}}(),T=N.activeVisits,B=N.isLoading,F=N.isValidating,j=N.error,I=V((0,o.useState)(""),2),O=I[0],U=I[1],R=function(e){var n=(0,l.useTranslation)().t,t=(0,i.useConfig)();return(0,o.useMemo)((function(){var i,a,o,s,r,l,c,d,p,u=0,v=[{id:u++,header:n("visitStartTime","Visit Time"),key:"visitStartTime"}];return null===(o=t)||void 0===o||null===(a=o.activeVisits)||void 0===a||null===(i=a.identifiers)||void 0===i||i.forEach((function(e){var t,i,a,o,s,r;v.push({id:u++,header:n(null===(i=e)||void 0===i||null===(t=i.header)||void 0===t?void 0:t.key,null===(o=e)||void 0===o||null===(a=o.header)||void 0===a?void 0:a.default),key:null===(r=e)||void 0===r||null===(s=r.header)||void 0===s?void 0:s.key})})),(null===(r=t)||void 0===r||null===(s=r.activeVisits)||void 0===s?void 0:s.identifiers)||v.push({id:u++,header:n("idNumber","ID Number"),key:"idNumber"}),null===(d=t)||void 0===d||null===(c=d.activeVisits)||void 0===c||null===(l=c.attributes)||void 0===l||l.forEach((function(e){var t,i,a,o,s,r;v.push({id:u++,header:n(null===(i=e)||void 0===i||null===(t=i.header)||void 0===t?void 0:t.key,null===(o=e)||void 0===o||null===(a=o.header)||void 0===a?void 0:a.default),key:null===(r=e)||void 0===r||null===(s=r.header)||void 0===s?void 0:s.key})})),null===(p=e)||void 0===p||p.forEach((function(e){v.push({id:u++,header:e.display,key:"obs-".concat(e.uuid)})})),v.push({id:u++,header:n("name","Name"),key:"name"},{id:u++,header:n("sex","Sex"),key:"gender"},{id:u++,header:n("age","Age"),key:"age"},{id:u++,header:n("visitType","Visit Type"),key:"visitType"}),v}),[n,t,e])}(S),P=(0,o.useCallback)((function(e){var n,t=L({},e);return null===(n=S)||void 0===n||n.forEach((function(n){var i,a,o,s=(null!==(o=null===(a=e)||void 0===a||null===(i=a.observations)||void 0===i?void 0:i[n.uuid])&&void 0!==o?o:[])[0];t["obs-".concat(n.uuid)]=s?"object"==typeof s.value?s.value.display:s.value:"--"})),t}),[S]),q=(0,o.useMemo)((function(){if(void 0!==T&&T.length>0&&O&&""!==O.trim()){var e,n=O.toLowerCase();return null===(e=T)||void 0===e?void 0:e.filter((function(e){return Object.entries(e).some((function(e){var t=V(e,2),i=t[0],a=t[1];return"patientUuid"!==i&&"".concat(a).toLowerCase().includes(n)}))}))}return T.map(P)}),[O,T,P]),G=function(e){var n,t,i=(n=(0,o.useState)({key:"visitStartTime",sortDirection:"DESC"}),t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);s=!0);}catch(e){r=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw a}}return o}}(n,t)||A(n,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.")}()),a=i[0],s=i[1],r=function(e,n){if(n.startsWith("obs-")){var t,i,a,o,s=n.replace("obs-",""),r=null===(o=e)||void 0===o||null===(a=o.observations)||void 0===a||null===(i=a[s])||void 0===i||null===(t=i[0])||void 0===t?void 0:t.value;return r?"object"==typeof r&&r.display?r.display.toLowerCase():r:null}var l=e[n];return null==l?null:"visitStartTime"===n?new Date(l).getTime():"age"!==n||isNaN(l)?String(l).toLowerCase():Number(l)};return{sortedRows:(0,o.useMemo)((function(){return"NONE"===a.sortDirection?e:_(e).sort((function(e,n){var t=r(e,a.key),i=r(n,a.key);if(null===t&&null===i)return 0;if(null===t)return 1;if(null===i)return-1;if("number"==typeof t&&"number"==typeof i)return"DESC"===a.sortDirection?i-t:t-i;var o=String(t).localeCompare(String(i),void 0,{numeric:!0});return"DESC"===a.sortDirection?-o:o}))}),[a,e]),sortRow:function(e,n,t){var i=t.key,a=t.sortDirection;s({key:i,sortDirection:a})}}}(q),W=G.sortedRows,J=G.sortRow,K=(0,i.usePagination)(W,E),X=K.paginated,Q=K.goTo,Z=K.results,Y=K.currentPage,ee=(0,o.useCallback)((function(e){Q(1),U(e.target.value)}),[Q,U]);return B||M?s().createElement("div",{className:H.activeVisitsContainer},s().createElement("div",{className:H.activeVisitsDetailHeaderContainer},s().createElement("div",{className:(0,i.isDesktop)(w)?H.desktopHeading:H.tabletHeading},s().createElement("h4",null,y("activeVisits","Active Visits"))),s().createElement("div",{className:H.backgroundDataFetchingIndicator},s().createElement("span",null,F?s().createElement(r.lSo,null):null))),s().createElement(r.olm,{labelText:"",placeholder:y("filterTable","Filter table"),onChange:ee,size:(0,i.isDesktop)(w)?"sm":"lg",disabled:!0}),s().createElement(r.gqd,{rowCount:E,showHeader:!1,showToolbar:!1,zebra:!0,columnCount:null===(h=R)||void 0===h?void 0:h.length,size:(0,i.isDesktop)(w)?"sm":"lg"})):j?s().createElement("div",{className:H.activeVisitsContainer},s().createElement(r.mh4,null,s().createElement(i.ErrorState,{error:j,headerTitle:y("activeVisits","Active Visits")}))):T.length?s().createElement("div",{className:H.activeVisitsContainer},s().createElement("div",{className:H.activeVisitsDetailHeaderContainer},s().createElement("div",{className:(0,i.isDesktop)(w)?H.desktopHeading:H.tabletHeading},s().createElement("h4",null,y("activeVisits","Active Visits"))),s().createElement("div",{className:H.backgroundDataFetchingIndicator},s().createElement("span",null,F?s().createElement(r.lSo,null):null))),s().createElement(r.olm,{labelText:"",placeholder:y("filterTable","Filter table"),onChange:ee,size:(0,i.isDesktop)(w)?"sm":"lg"}),s().createElement(r.wQF,{isSortable:!0,useStaticWidth:!0,rows:Z,headers:R,sortRow:J,size:(0,i.isDesktop)(w)?"sm":"lg",useZebraStyles:(null===(d=T)||void 0===d?void 0:d.length)>1},(function(e){var n=e.rows,t=e.headers,a=e.getHeaderProps,o=e.getTableProps,l=e.getRowProps,c=e.getExpandHeaderProps;return s().createElement(r.xJi,{className:H.tableContainer},s().createElement(r.iA_,L({className:H.activeVisitsTable},o()),s().createElement(r.ssF,null,s().createElement(r.SCH,null,s().createElement(r.MOD,L({enableToggle:!0},c())),t.map((function(e){return s().createElement(r.xDH,a({header:e}),e.header)})))),s().createElement(r.RMI,null,n.map((function(e,n){var a,o,c=T.find((function(n){return n.id===e.id}));return c?s().createElement(s().Fragment,{key:"active-visit-row-".concat(n)},s().createElement(r.RcE,(a=L({},l({row:e})),o=null!=(o={"data-testid":"activeVisitRow".concat(c.patientUuid||"unknown")})?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(o)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t}(Object(o)).forEach((function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(o,e))})),a),e.cells.map((function(e){return s().createElement(r.pj1,{key:"active-visit-row-".concat(n,"-cell-").concat(e.id),"data-testid":e.id},"name"===e.info.header&&c.patientUuid?s().createElement(i.ConfigurableLink,{to:"${openmrsSpaBase}/patient/${patientUuid}/chart",templateParams:{patientUuid:c.patientUuid}},e.value):e.value)}))),e.isExpanded?s().createElement(r.SCH,{className:H.expandedActiveVisitRow},s().createElement("th",{colSpan:t.length+2},s().createElement(i.ExtensionSlot,{className:H.visitSummaryContainer,name:"visit-summary-slot",state:{patientUuid:c.patientUuid,visitUuid:c.visitUuid}}))):s().createElement(r.WdL,{className:H.hiddenRow,colSpan:t.length+2})):null})))))})),0===(null===(u=q)||void 0===u?void 0:u.length)&&s().createElement("div",{className:H.filterEmptyState},s().createElement(r.mh4,{level:0},s().createElement(r.n9L,{className:H.filterEmptyStateTile},s().createElement("p",{className:H.filterEmptyStateContent},y("noVisitsToDisplay","No visits to display")),s().createElement("p",{className:H.filterEmptyStateHelper},y("checkFilters","Check the filters above"))))),X&&s().createElement(r.tlE,{forwardText:"Next page",backwardText:"Previous page",page:Y,pageSize:E,pageSizes:x,totalItems:null===(v=q)||void 0===v?void 0:v.length,className:H.pagination,size:(0,i.isDesktop)(w)?"sm":"lg",onChange:function(e){var n=e.pageSize,t=e.page;n!==E&&z(n),t!==Y&&Q(t)}})):s().createElement("div",{className:H.activeVisitsContainer},s().createElement(r.mh4,null,s().createElement(r.n9L,{className:H.tile},s().createElement("div",{className:(0,i.isDesktop)(w)?H.desktopHeading:H.tabletHeading},s().createElement("h4",null,y("activeVisits","Active Visits"))),s().createElement(c,null),s().createElement("p",{className:H.content},y("noActiveVisitsForLocation","There are no active visits to display for this location.")))))}),de),ge=(0,i.getSyncLifecycle)((function(e){var n,t,a,c,d,p,u=e.visitUuid,v=e.patientUuid,g=(0,l.useTranslation)().t,m=(d=(0,o.useState)(0),p=2,function(e){if(Array.isArray(e))return e}(d)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);s=!0);}catch(e){r=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw a}}return o}}(d,p)||function(e,n){if(e){if("string"==typeof e)return le(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?le(e,n):void 0}}(d,p)||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.")}()),h=m[0],y=m[1],b=function(e){var n="".concat(i.restBaseUrl,"/visit/").concat(e,"?v=").concat("custom:(uuid,encounters:(uuid,encounterDatetime,orders:(uuid,dateActivated,drug:(uuid,name,strength),doseUnits:(uuid,display),dose,route:(uuid,display),frequency:(uuid,display),duration,durationUnits:(uuid,display),numRefills,orderType:(uuid,display),orderer:(uuid,person:(uuid,display))),obs:(uuid,concept:(uuid,display,conceptClass:(uuid,display)),display,groupMembers:(uuid,concept:(uuid,display),value:(uuid,display)),value),encounterType:(uuid,display),encounterProviders:(uuid,display,encounterRole:(uuid,display),provider:(uuid,person:(uuid,display)))),visitType:(uuid,name,display),startDatetime"),t=(0,f.ZP)(e?n:null,i.openmrsFetch),a=t.data,o=t.error,s=t.isLoading,r=t.isValidating;return{visit:a?a.data:null,error:o,isLoading:s,isValidating:r}}(u),_=b.visit,A=b.isLoading,$=(0,o.useMemo)((function(){var e,n;return _?null===(n=_)||void 0===n||null===(e=n.encounters)||void 0===e?void 0:e.map((function(e){return{id:e.uuid,time:(0,i.formatTime)((0,i.parseDate)(e.encounterDateTime)),encounterType:e.encounterType.display,provider:e.encounterProviders.length>0?e.encounterProviders[0].display:"",obs:e.obs}})):[]}),[_]);return A?s().createElement(r.gqd,{role:"progressbar"}):_?s().createElement("div",{className:G.visitsDetailWidgetContainer},s().createElement("div",{className:G.visitsDetailHeaderContainer},s().createElement("h4",{className:G.productiveHeading02},null===(t=_)||void 0===t||null===(n=t.visitType)||void 0===n?void 0:n.display,s().createElement("br",null),s().createElement("p",{className:R()(G.bodyLong01,G.text02)},(0,i.formatDatetime)((0,i.parseDate)(null===(a=_)||void 0===a?void 0:a.startDatetime)))),s().createElement("div",{className:G.actions},s().createElement(r.GHR,{className:G.contentSwitcher,selectedIndex:h,onChange:function(e){var n=e.index;return y(n)}},s().createElement(r.rsf,{name:"allEncounters",text:g("allEncounters","All Encounters")}),s().createElement(r.rsf,{name:"visitSummary",text:g("visitSummary","Visit Summary")})))),0===h&&(null===(c=_)||void 0===c?void 0:c.encounters)&&s().createElement(Z,{visitUuid:_.uuid,encounters:$}),1===h&&s().createElement(re,{encounters:_.encounters,patientUuid:v})):s().createElement("div",{className:G.visitEmptyState},s().createElement("h4",{className:G.productiveHeading02},g("noEncountersFound","No encounters found")),s().createElement("p",{className:R()(G.bodyLong01,G.text02)},g("thereIsNoInformationToDisplayHere","There is no information to display here")))}),de),me=(0,i.getAsyncLifecycle)((function(){return Promise.all([t.e(106),t.e(725)]).then(t.bind(t,2725))}),de),fe=(0,i.getAsyncLifecycle)((function(){return Promise.all([t.e(106),t.e(967)]).then(t.bind(t,5967))}),de)},3979:(e,n,t)=>{var i={"./am.json":[8788,788],"./ar.json":[4460,460],"./de.json":[4272,272],"./en.json":[3574,574],"./es.json":[8319,319],"./fr.json":[2757,757],"./he.json":[5833,833],"./hi.json":[5336,336],"./hi_IN.json":[5737,737],"./id.json":[9261,261],"./it.json":[5711,711],"./km.json":[7807,807],"./ne.json":[3652,652],"./pt.json":[4378,378],"./pt_BR.json":[6566,566],"./qu.json":[899,899],"./si.json":[6727,727],"./sw.json":[236,236],"./sw_KE.json":[539,539],"./tr.json":[4705,705],"./tr_TR.json":[5673,673],"./uk.json":[5240,240],"./vi.json":[6265,744],"./zh.json":[8271,271],"./zh_CN.json":[1644,644]};function a(e){if(!t.o(i,e))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=i[e],a=n[0];return t.e(n[1]).then((()=>t(a)))}a.keys=()=>Object.keys(i),a.id=3979,e.exports=a}}]);
|