@openmrs/esm-active-visits-app 3.1.1-pre.156 → 3.1.1-pre.169
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 +33 -39
- package/dist/150.js +1 -2
- package/dist/221.js +1 -2
- package/dist/260.js +1 -2
- package/dist/316.js +1 -2
- package/dist/373.js +1 -0
- package/dist/402.js +1 -2
- package/dist/635.js +1 -2
- package/dist/719.js +2 -0
- package/dist/{403.js.LICENSE.txt → 719.js.LICENSE.txt} +0 -0
- package/dist/784.js +1 -2
- package/dist/785.js +1 -2
- package/dist/788.js +1 -2
- package/dist/858.js +1 -2
- package/dist/879.js +1 -2
- package/dist/932.js +1 -0
- package/dist/openmrs-esm-active-visits-app.js +1 -1
- package/dist/openmrs-esm-active-visits-app.js.buildmanifest.json +90 -100
- package/dist/openmrs-esm-active-visits-app.old +1 -2
- package/package.json +2 -2
- package/dist/150.js.map +0 -1
- package/dist/221.js.map +0 -1
- package/dist/248.js +0 -2
- package/dist/248.js.map +0 -1
- package/dist/260.js.map +0 -1
- package/dist/316.js.map +0 -1
- package/dist/402.js.map +0 -1
- package/dist/403.js +0 -3
- package/dist/403.js.map +0 -1
- package/dist/635.js.map +0 -1
- package/dist/784.js.map +0 -1
- package/dist/785.js.map +0 -1
- package/dist/788.js.map +0 -1
- package/dist/858.js.map +0 -1
- package/dist/879.js.map +0 -1
- package/dist/openmrs-esm-active-visits-app.js.map +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,39 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
34
|
-
[32m@openmrs/esm-active-visits-app:build: [0m[1m[33mWARNING[39m[22m in [1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
|
|
35
|
-
[32m@openmrs/esm-active-visits-app:build: [0mThis can impact web performance.
|
|
36
|
-
[32m@openmrs/esm-active-visits-app:build: [0mAssets:
|
|
37
|
-
[32m@openmrs/esm-active-visits-app:build: [0m 858.js (470 KiB)[39m[22m
|
|
38
|
-
[32m@openmrs/esm-active-visits-app:build: [0m
|
|
39
|
-
[32m@openmrs/esm-active-visits-app:build: [0mwebpack 5.72.1 compiled with [1m[33m1 warning[39m[22m in 77423 ms
|
|
1
|
+
@openmrs/esm-active-visits-app:build: cache hit, replaying output [2m42b4186d9175f5c4[0m
|
|
2
|
+
[33m@openmrs/esm-active-visits-app:build: [0m$ webpack --mode production
|
|
3
|
+
[33m@openmrs/esm-active-visits-app:build: [0massets by chunk 1.15 MiB (id hint: vendors)
|
|
4
|
+
[33m@openmrs/esm-active-visits-app:build: [0m asset [1m[33m858.js[39m[22m [1m[33m474 KiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m [1m[33m[big][39m[22m (id hint: vendors) 1 related asset
|
|
5
|
+
[33m@openmrs/esm-active-visits-app:build: [0m asset [1m[32m635.js[39m[22m 228 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 1 related asset
|
|
6
|
+
[33m@openmrs/esm-active-visits-app:build: [0m asset [1m[32m719.js[39m[22m 137 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 1 related asset
|
|
7
|
+
[33m@openmrs/esm-active-visits-app:build: [0m asset [1m[32m316.js[39m[22m 120 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 1 related asset
|
|
8
|
+
[33m@openmrs/esm-active-visits-app:build: [0m asset [1m[32m785.js[39m[22m 110 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 1 related asset
|
|
9
|
+
[33m@openmrs/esm-active-visits-app:build: [0m asset [1m[32m402.js[39m[22m 85.5 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors)
|
|
10
|
+
[33m@openmrs/esm-active-visits-app:build: [0m asset [1m[32m260.js[39m[22m 27.6 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors)
|
|
11
|
+
[33m@openmrs/esm-active-visits-app:build: [0m+ 11 assets
|
|
12
|
+
[33m@openmrs/esm-active-visits-app:build: [0morphan modules 9.26 MiB (javascript) 42 bytes (consume-shared) [1m[33m[orphan][39m[22m 511 modules
|
|
13
|
+
[33m@openmrs/esm-active-visits-app:build: [0mruntime modules 18.7 KiB 15 modules
|
|
14
|
+
[33m@openmrs/esm-active-visits-app:build: [0mbuilt modules 4.58 MiB (javascript) 294 bytes (share-init) 252 bytes (consume-shared) [1m[33m[built][39m[22m
|
|
15
|
+
[33m@openmrs/esm-active-visits-app:build: [0m modules by path [1m../../node_modules/[39m[22m 4.51 MiB 105 modules
|
|
16
|
+
[33m@openmrs/esm-active-visits-app:build: [0m modules by path [1m./[39m[22m 73.5 KiB
|
|
17
|
+
[33m@openmrs/esm-active-visits-app:build: [0m javascript modules 72.6 KiB 6 modules
|
|
18
|
+
[33m@openmrs/esm-active-visits-app:build: [0m optional modules 962 bytes [1m[33m[optional][39m[22m 2 modules
|
|
19
|
+
[33m@openmrs/esm-active-visits-app:build: [0m provide-module modules 294 bytes
|
|
20
|
+
[33m@openmrs/esm-active-visits-app:build: [0m [1mprovide shared module (default) @openmrs/esm-framework@3.4.1-pre.77 = ../../node_modules/@openmrs/esm-framework/src/internal.ts[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
21
|
+
[33m@openmrs/esm-active-visits-app:build: [0m + 6 modules
|
|
22
|
+
[33m@openmrs/esm-active-visits-app:build: [0m consume-shared-module modules 252 bytes
|
|
23
|
+
[33m@openmrs/esm-active-visits-app:build: [0m [1mconsume shared module (default) @openmrs/esm-framework@^3 (singleton) (fallback: ../../node_modules/@openmrs/esm-framework/src/internal.ts)[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
24
|
+
[33m@openmrs/esm-active-visits-app:build: [0m [1mconsume shared module (default) react@^16 (singleton) (fallback: ../../node_modules/react/index.js)[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
25
|
+
[33m@openmrs/esm-active-visits-app:build: [0m + 4 modules
|
|
26
|
+
[33m@openmrs/esm-active-visits-app:build: [0m [1mcontainer entry[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
27
|
+
[33m@openmrs/esm-active-visits-app:build: [0m
|
|
28
|
+
[33m@openmrs/esm-active-visits-app:build: [0m[1m[33mWARNING[39m[22m in [1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
|
|
29
|
+
[33m@openmrs/esm-active-visits-app:build: [0mThis can impact web performance.
|
|
30
|
+
[33m@openmrs/esm-active-visits-app:build: [0mAssets:
|
|
31
|
+
[33m@openmrs/esm-active-visits-app:build: [0m 858.js (474 KiB)[39m[22m
|
|
32
|
+
[33m@openmrs/esm-active-visits-app:build: [0m
|
|
33
|
+
[33m@openmrs/esm-active-visits-app:build: [0mwebpack 5.73.0 compiled with [1m[33m1 warning[39m[22m in 126543 ms
|
package/dist/150.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
(self.webpackChunk_openmrs_esm_active_visits_app=self.webpackChunk_openmrs_esm_active_visits_app||[]).push([[150],{150:(e,s,i)=>{"use strict";i.r(s),i.d(s,{backendDependencies:()=>a,frontendDependencies:()=>o,importTranslation:()=>r,setupOpenMRS:()=>c});var t=i(3066),n={activeVisits:{pageSize:{_type:t.Type.Number,_description:"Count of active visits to be shown in a single page.",_default:10},pageSizes:{_type:t.Type.Array,_description:"Customizable page sizes that user can choose",_default:[10,20,50]}}},r=i(3979),a={"webservices.rest":"^2.2.0"},o={"@openmrs/esm-framework":"^3.
|
|
2
|
-
//# sourceMappingURL=150.js.map
|
|
1
|
+
(self.webpackChunk_openmrs_esm_active_visits_app=self.webpackChunk_openmrs_esm_active_visits_app||[]).push([[150],{150:(e,s,i)=>{"use strict";i.r(s),i.d(s,{backendDependencies:()=>a,frontendDependencies:()=>o,importTranslation:()=>r,setupOpenMRS:()=>c});var t=i(3066),n={activeVisits:{pageSize:{_type:t.Type.Number,_description:"Count of active visits to be shown in a single page.",_default:10},pageSizes:{_type:t.Type.Array,_description:"Customizable page sizes that user can choose",_default:[10,20,50]}}},r=i(3979),a={"webservices.rest":"^2.2.0"},o={"@openmrs/esm-framework":"^3.4.1-pre.77"};function c(){var e="@openmrs/esm-active-visits-app",s={featureName:"active-visits",moduleName:e};return(0,t.defineConfigSchema)(e,n),{extensions:[{id:"active-visits-widget",slot:"homepage-widgets-slot",load:(0,t.getAsyncLifecycle)((function(){return Promise.all([i.e(719),i.e(785),i.e(902),i.e(56),i.e(221)]).then(i.bind(i,2221))}),s)},{id:"visit-summary-widget",slot:"visit-summary-slot",load:(0,t.getAsyncLifecycle)((function(){return Promise.all([i.e(719),i.e(260),i.e(902),i.e(56),i.e(788)]).then(i.bind(i,3788))}),s)}]}}},3979:(e,s,i)=>{var t={"./en.json":[3574,574],"./es.json":[8319,319]};function n(e){if(!i.o(t,e))return Promise.resolve().then((()=>{var s=new Error("Cannot find module '"+e+"'");throw s.code="MODULE_NOT_FOUND",s}));var s=t[e],n=s[0];return i.e(s[1]).then((()=>i(n)))}n.keys=()=>Object.keys(t),n.id=3979,e.exports=n}}]);
|
package/dist/221.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_openmrs_esm_active_visits_app=self.webpackChunk_openmrs_esm_active_visits_app||[]).push([[221],{7935:(e,n,t)=>{t.d(n,{Z:()=>p});var i=t(1799),a=t.n(i),r=t(2609),o=t.n(r)()(a());o.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-active-visits__active-visits__productiveHeading01___5dzOt{font-size:.875rem;font-weight:600;line-height:1.29;letter-spacing:.16px}.-esm-active-visits__active-visits__productiveHeading02___-o9Tn{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0}.-esm-active-visits__active-visits__bodyLong01___xwAEE{font-size:.875rem;font-weight:400;line-height:1.43;letter-spacing:.16px}.-esm-active-visits__active-visits__caption01___e7sSC{font-size:.75rem;font-weight:400;line-height:1.34;letter-spacing:.32px}.-esm-active-visits__active-visits__bodyShort02___BiPkR{font-size:1rem;font-weight:400;line-height:1.375;letter-spacing:0}.-esm-active-visits__active-visits__text02___lkEHs{color:#525252}.-esm-active-visits__active-visits__text01___iTf3H{color:#161616}.-esm-active-visits__active-visits__activeVisitsContainer___XAE0K{background-color:#fff;border:1px solid #e0e0e0;width:100%;margin:0 auto;max-width:95vw}.-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__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__emptyRow___jKDsj{padding:0 1rem;display:flex;align-items:center}.-esm-active-visits__active-visits__visitSummaryContainer___mBkXn{width:100%;max-width:768px;margin:1rem auto}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO>td>div{max-height:max-content !important}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO td{padding:0 2rem}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO th[colspan] td[colspan]>div:first-child{padding:0 1rem}.-esm-active-visits__active-visits__action___Kn0CE{margin-bottom:.5rem}.-esm-active-visits__active-visits__content___hF3rN{font-size:.875rem;font-weight:600;line-height:1.29;letter-spacing:.16px;color:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-active-visits__active-visits__desktopHeading___3cKg8 h4{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0;color:#525252}.-esm-active-visits__active-visits__tabletHeading___vrNoH h4{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0;color:#525252}.-esm-active-visits__active-visits__desktopHeading___3cKg8,.-esm-active-visits__active-visits__tabletHeading___vrNoH{text-align:left;text-transform:capitalize;margin-bottom:1rem}.-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}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../node_modules/carbon-components/scss/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss","webpack://./src/active-visits-widget/active-visits.scss","webpack://./../../node_modules/carbon-components/scss/globals/scss/vendor/@carbon/elements/scss/themes/generated/_mixins.scss"],names:[],mappings:"AAyCA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCzCF,gEC4gBI,iBAqLsB,CArLtB,eAqLsB,CArLtB,gBAqLsB,CArLtB,oBAqLsB,CD7rB1B,gECwgBI,cAqLsB,CArLtB,eAqLsB,CArLtB,iBAqLsB,CArLtB,gBAqLsB,CDzrB1B,uDCogBI,iBAqLsB,CArLtB,eAqLsB,CArLtB,gBAqLsB,CArLtB,oBAqLsB,CDrrB1B,sDCggBI,gBAqLsB,CArLtB,eAqLsB,CArLtB,gBAqLsB,CArLtB,oBAqLsB,CDjrB1B,wDC4fI,cAqLsB,CArLtB,eAqLsB,CArLtB,iBAqLsB,CArLtB,gBAqLsB,CD7qB1B,mDACE,aAAA,CAGF,mDACE,aAAA,CE1BF,kEACE,qBHIc,CGHd,wBAAA,CACA,UAAA,CACA,aAAA,CACA,cAAA,CAGF,8EACE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,4BAAA,CACA,qBHRc,CGWhB,4EACE,kBAAA,CACA,YAAA,CACA,WAAA,CACA,sBAAA,CAGF,mEACE,iBAAA,CAGF,6DACE,oBAAA,CAGF,uDACE,eAAA,CAGF,qDACE,cAAA,CACA,YAAA,CACA,kBAAA,CAGF,kEACE,UAAA,CACA,eAAA,CACA,gBAAA,CAGF,0EACE,iCAAA,CAGF,sEACE,cAAA,CAGF,2GACE,cAAA,CAGF,mDACE,mBCmFa,CDhFf,oDD8cI,iBAqLsB,CArLtB,eAqLsB,CArLtB,gBAqLsB,CArLtB,oBAqLsB,CCjoBxB,aH9DQ,CG+DR,eC+Ea,CD9Eb,mBC4Ea,CDxEb,8DDscE,cAqLsB,CArLtB,eAqLsB,CArLtB,iBAqLsB,CArLtB,gBAqLsB,CCznBtB,aHtEM,CG2ER,6DD+bE,iBAqLsB,CArLtB,eAqLsB,CArLtB,eAqLsB,CArLtB,gBAqLsB,CClnBtB,aH7EM,CGiFV,qHAEE,eAAA,CACA,yBAAA,CACA,kBCyDa,CDvDb,uIACE,UAAA,CACA,aAAA,CACA,UAAA,CACA,eAAA,CACA,2BAAA,CH5DF,2BAAA,CACA,mCAAA,CGgEF,iDACE,iBAAA",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@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1200px;\n$breakpoint-desktop-min: 1201px;\n$breakpoint-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@import 'carbon-components/scss/globals/scss/typography.scss';\n@import '~@openmrs/esm-styleguide/src/vars';\n\n.productiveHeading01 {\n @include carbon--type-style('productive-heading-01');\n}\n\n.productiveHeading02 {\n @include carbon--type-style('productive-heading-02');\n}\n\n.bodyLong01 {\n @include carbon--type-style('body-long-01');\n}\n\n.caption01 {\n @include carbon--type-style('caption-01');\n}\n\n.bodyShort02 {\n @include carbon--type-style('body-short-02');\n}\n\n.text02 {\n color: #525252;\n}\n\n.text01 {\n color: #161616;\n}\n","//\n// Copyright IBM Corp. 2018, 2018\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n@import '../layout/breakpoint';\n@import 'font-family';\n@import 'scale';\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$caption-01: (\n font-size: carbon--type-scale(1),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.34,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: carbon--type-scale(1),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.34,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$helper-text-01: (\n font-size: carbon--type-scale(1),\n line-height: 1.34,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: carbon--type-scale(2),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.29,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: carbon--type-scale(2),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.43,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: carbon--type-scale(3),\n font-weight: carbon--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-long-02: (\n font-size: carbon--type-scale(3),\n font-weight: carbon--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$code-01: (\n font-family: carbon--font-family('mono'),\n font-size: carbon--type-scale(1),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.34,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: carbon--font-family('mono'),\n font-size: carbon--type-scale(2),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.43,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: carbon--type-scale(2),\n font-weight: carbon--font-weight('semibold'),\n line-height: 1.29,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: carbon--type-scale(3),\n font-weight: carbon--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$productive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: carbon--type-scale(5),\n font-weight: carbon--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$productive-heading-04: (\n font-size: carbon--type-scale(7),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.29,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: carbon--type-scale(8),\n font-weight: carbon--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$productive-heading-06: (\n font-size: carbon--type-scale(8),\n font-weight: carbon--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$productive-heading-07: (\n font-size: carbon--type-scale(10),\n font-weight: carbon--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$expressive-heading-01: map-merge(\n $heading-01,\n (\n line-height: 1.25,\n )\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: map-merge(\n $heading-02,\n (\n line-height: 1.5,\n )\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: carbon--type-scale(5),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: carbon--type-scale(5),\n line-height: 1.25,\n ),\n max: (\n font-size: carbon--type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: carbon--type-scale(7),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.29,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: carbon--type-scale(7),\n line-height: 1.25,\n ),\n max: (\n font-size: carbon--type-scale(8),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: carbon--type-scale(8),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(9),\n font-weight: carbon--font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: carbon--type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: carbon--type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: carbon--type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: carbon--type-scale(8),\n font-weight: carbon--font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: carbon--type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: carbon--type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: carbon--type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: carbon--type-scale(6),\n font-weight: carbon--font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: carbon--type-scale(7),\n line-height: 1.29,\n ),\n max: (\n font-size: carbon--type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-size: carbon--type-scale(5),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(5),\n ),\n lg: (\n font-size: carbon--type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: carbon--type-scale(7),\n line-height: 1.29,\n ),\n max: (\n font-size: carbon--type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-size: carbon--type-scale(8),\n font-weight: carbon--font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: carbon--type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: carbon--type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: carbon--type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: carbon--type-scale(10),\n font-weight: carbon--font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(10),\n ),\n lg: (\n font-size: carbon--type-scale(12),\n ),\n xlg: (\n font-size: carbon--type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: carbon--type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: carbon--type-scale(10),\n font-weight: carbon--font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(10),\n ),\n lg: (\n font-size: carbon--type-scale(12),\n ),\n xlg: (\n font-size: carbon--type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: carbon--type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: carbon--type-scale(10),\n font-weight: carbon--font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: carbon--type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: carbon--type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: carbon--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$display-04: (\n font-size: carbon--type-scale(10),\n font-weight: carbon--font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: carbon--type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: carbon--type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: carbon--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$tokens: (\n caption-01: $caption-01,\n label-01: $label-01,\n helper-text-01: $helper-text-01,\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);\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 $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 [$carbon--grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: $carbon--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 carbon--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 [$carbon--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: $carbon--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: carbon--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: carbon--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$custom-property-prefix: 'cds' !default;\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 [$carbon--grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin carbon--type-style(\n $name,\n $fluid: false,\n $breakpoints: $carbon--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 @if global-variable-exists('feature-flags') and\n map-get($feature-flags, 'enable-css-custom-properties')\n {\n @include custom-properties($name, $token);\n } @else {\n // Otherwise, we just include all the property declarations directly on the\n // selector\n @include properties(map-remove($token, 'breakpoints'));\n }\n }\n}\n","@import '../root.scss';\n\n.activeVisitsContainer {\n background-color: $ui-background;\n border: 1px solid $ui-03;\n width: 100%;\n margin: 0 auto;\n max-width: 95vw;\n}\n\n.activeVisitsDetailHeaderContainer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: $spacing-04 0 $spacing-04 $spacing-05;\n background-color: $ui-background;\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\n.emptyRow {\n padding: 0 1rem;\n display: flex;\n align-items: center;\n}\n\n.visitSummaryContainer {\n width: 100%;\n max-width: 768px;\n margin: 1rem auto;\n}\n\n.expandedActiveVisitRow > td > div {\n max-height: max-content !important;\n}\n\n.expandedActiveVisitRow td {\n padding: 0 2rem;\n}\n\n.expandedActiveVisitRow th[colspan] td[colspan] > div:first-child {\n padding: 0 1rem;\n}\n\n.action {\n margin-bottom: $spacing-03;\n}\n\n.content {\n @include carbon--type-style('productive-heading-01');\n color: $text-02;\n margin-top: $spacing-05;\n margin-bottom: $spacing-03;\n}\n\n.desktopHeading {\n h4 {\n @include carbon--type-style('productive-heading-02');\n color: $text-02;\n }\n}\n\n.tabletHeading {\n h4 {\n @include carbon--type-style('productive-heading-03');\n color: $text-02;\n }\n}\n\n.desktopHeading,\n.tabletHeading {\n text-align: left;\n text-transform: capitalize;\n margin-bottom: $spacing-05;\n\n h4:after {\n content: '';\n display: block;\n width: 2rem;\n padding-top: 3px;\n border-bottom: 0.375rem solid;\n @include brand-03(border-bottom-color);\n }\n}\n\n.tile {\n text-align: center;\n}\n","// Code generated by @carbon/themes. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2019\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@import './themes';\n\n/// Define theme variables from a map of tokens\n/// @access public\n/// @param {Map} $theme [$carbon--theme] - Map of theme tokens\n/// @param {Bool} $emit-custom-properties [false] - Output CSS Custom Properties for theme tokens\n/// @content Pass in your custom declaration blocks to be used after the token maps set theming variables.\n///\n/// @example scss\n/// // Default usage\n/// @include carbon--theme();\n///\n/// // Alternate styling (not white theme)\n/// @include carbon--theme($carbon--theme--g90) {\n/// // declarations...\n/// }\n///\n/// // Inline styling\n/// @include carbon--theme($carbon--theme--g90) {\n/// .my-dark-theme {\n/// // declarations...\n/// }\n/// }\n///\n/// @group @carbon/themes\n@mixin carbon--theme(\n $theme: $carbon--theme,\n $emit-custom-properties: false,\n $emit-difference: false\n) {\n $parent-carbon-theme: $carbon--theme;\n $carbon--theme: $theme !global;\n $interactive-01: map-get($theme, 'interactive-01') !global;\n $interactive-02: map-get($theme, 'interactive-02') !global;\n $interactive-03: map-get($theme, 'interactive-03') !global;\n $interactive-04: map-get($theme, 'interactive-04') !global;\n $ui-background: map-get($theme, 'ui-background') !global;\n $ui-01: map-get($theme, 'ui-01') !global;\n $ui-02: map-get($theme, 'ui-02') !global;\n $ui-03: map-get($theme, 'ui-03') !global;\n $ui-04: map-get($theme, 'ui-04') !global;\n $ui-05: map-get($theme, 'ui-05') !global;\n $text-01: map-get($theme, 'text-01') !global;\n $text-02: map-get($theme, 'text-02') !global;\n $text-03: map-get($theme, 'text-03') !global;\n $text-04: map-get($theme, 'text-04') !global;\n $text-05: map-get($theme, 'text-05') !global;\n $text-error: map-get($theme, 'text-error') !global;\n $icon-01: map-get($theme, 'icon-01') !global;\n $icon-02: map-get($theme, 'icon-02') !global;\n $icon-03: map-get($theme, 'icon-03') !global;\n $link-01: map-get($theme, 'link-01') !global;\n $link-02: map-get($theme, 'link-02') !global;\n $inverse-link: map-get($theme, 'inverse-link') !global;\n $field-01: map-get($theme, 'field-01') !global;\n $field-02: map-get($theme, 'field-02') !global;\n $inverse-01: map-get($theme, 'inverse-01') !global;\n $inverse-02: map-get($theme, 'inverse-02') !global;\n $support-01: map-get($theme, 'support-01') !global;\n $support-02: map-get($theme, 'support-02') !global;\n $support-03: map-get($theme, 'support-03') !global;\n $support-04: map-get($theme, 'support-04') !global;\n $inverse-support-01: map-get($theme, 'inverse-support-01') !global;\n $inverse-support-02: map-get($theme, 'inverse-support-02') !global;\n $inverse-support-03: map-get($theme, 'inverse-support-03') !global;\n $inverse-support-04: map-get($theme, 'inverse-support-04') !global;\n $overlay-01: map-get($theme, 'overlay-01') !global;\n $danger-01: map-get($theme, 'danger-01') !global;\n $danger-02: map-get($theme, 'danger-02') !global;\n $focus: map-get($theme, 'focus') !global;\n $inverse-focus-ui: map-get($theme, 'inverse-focus-ui') !global;\n $hover-primary: map-get($theme, 'hover-primary') !global;\n $active-primary: map-get($theme, 'active-primary') !global;\n $hover-primary-text: map-get($theme, 'hover-primary-text') !global;\n $hover-secondary: map-get($theme, 'hover-secondary') !global;\n $active-secondary: map-get($theme, 'active-secondary') !global;\n $hover-tertiary: map-get($theme, 'hover-tertiary') !global;\n $active-tertiary: map-get($theme, 'active-tertiary') !global;\n $hover-ui: map-get($theme, 'hover-ui') !global;\n $hover-light-ui: map-get($theme, 'hover-light-ui') !global;\n $hover-selected-ui: map-get($theme, 'hover-selected-ui') !global;\n $active-ui: map-get($theme, 'active-ui') !global;\n $active-light-ui: map-get($theme, 'active-light-ui') !global;\n $selected-ui: map-get($theme, 'selected-ui') !global;\n $selected-light-ui: map-get($theme, 'selected-light-ui') !global;\n $inverse-hover-ui: map-get($theme, 'inverse-hover-ui') !global;\n $hover-danger: map-get($theme, 'hover-danger') !global;\n $active-danger: map-get($theme, 'active-danger') !global;\n $hover-row: map-get($theme, 'hover-row') !global;\n $visited-link: map-get($theme, 'visited-link') !global;\n $disabled-01: map-get($theme, 'disabled-01') !global;\n $disabled-02: map-get($theme, 'disabled-02') !global;\n $disabled-03: map-get($theme, 'disabled-03') !global;\n $highlight: map-get($theme, 'highlight') !global;\n $decorative-01: map-get($theme, 'decorative-01') !global;\n $button-separator: map-get($theme, 'button-separator') !global;\n $skeleton-01: map-get($theme, 'skeleton-01') !global;\n $skeleton-02: map-get($theme, 'skeleton-02') !global;\n $brand-01: map-get($theme, 'brand-01') !global;\n $brand-02: map-get($theme, 'brand-02') !global;\n $brand-03: map-get($theme, 'brand-03') !global;\n $active-01: map-get($theme, 'active-01') !global;\n $hover-field: map-get($theme, 'hover-field') !global;\n $danger: map-get($theme, 'danger') !global;\n $caption-01: map-get($theme, 'caption-01') !global;\n $label-01: map-get($theme, 'label-01') !global;\n $helper-text-01: map-get($theme, 'helper-text-01') !global;\n $body-short-01: map-get($theme, 'body-short-01') !global;\n $body-long-01: map-get($theme, 'body-long-01') !global;\n $body-short-02: map-get($theme, 'body-short-02') !global;\n $body-long-02: map-get($theme, 'body-long-02') !global;\n $code-01: map-get($theme, 'code-01') !global;\n $code-02: map-get($theme, 'code-02') !global;\n $heading-01: map-get($theme, 'heading-01') !global;\n $productive-heading-01: map-get($theme, 'productive-heading-01') !global;\n $heading-02: map-get($theme, 'heading-02') !global;\n $productive-heading-02: map-get($theme, 'productive-heading-02') !global;\n $productive-heading-03: map-get($theme, 'productive-heading-03') !global;\n $productive-heading-04: map-get($theme, 'productive-heading-04') !global;\n $productive-heading-05: map-get($theme, 'productive-heading-05') !global;\n $productive-heading-06: map-get($theme, 'productive-heading-06') !global;\n $productive-heading-07: map-get($theme, 'productive-heading-07') !global;\n $expressive-heading-01: map-get($theme, 'expressive-heading-01') !global;\n $expressive-heading-02: map-get($theme, 'expressive-heading-02') !global;\n $expressive-heading-03: map-get($theme, 'expressive-heading-03') !global;\n $expressive-heading-04: map-get($theme, 'expressive-heading-04') !global;\n $expressive-heading-05: map-get($theme, 'expressive-heading-05') !global;\n $expressive-heading-06: map-get($theme, 'expressive-heading-06') !global;\n $expressive-paragraph-01: map-get($theme, 'expressive-paragraph-01') !global;\n $quotation-01: map-get($theme, 'quotation-01') !global;\n $quotation-02: map-get($theme, 'quotation-02') !global;\n $display-01: map-get($theme, 'display-01') !global;\n $display-02: map-get($theme, 'display-02') !global;\n $display-03: map-get($theme, 'display-03') !global;\n $display-04: map-get($theme, 'display-04') !global;\n $spacing-01: map-get($theme, 'spacing-01') !global;\n $spacing-02: map-get($theme, 'spacing-02') !global;\n $spacing-03: map-get($theme, 'spacing-03') !global;\n $spacing-04: map-get($theme, 'spacing-04') !global;\n $spacing-05: map-get($theme, 'spacing-05') !global;\n $spacing-06: map-get($theme, 'spacing-06') !global;\n $spacing-07: map-get($theme, 'spacing-07') !global;\n $spacing-08: map-get($theme, 'spacing-08') !global;\n $spacing-09: map-get($theme, 'spacing-09') !global;\n $spacing-10: map-get($theme, 'spacing-10') !global;\n $spacing-11: map-get($theme, 'spacing-11') !global;\n $spacing-12: map-get($theme, 'spacing-12') !global;\n $fluid-spacing-01: map-get($theme, 'fluid-spacing-01') !global;\n $fluid-spacing-02: map-get($theme, 'fluid-spacing-02') !global;\n $fluid-spacing-03: map-get($theme, 'fluid-spacing-03') !global;\n $fluid-spacing-04: map-get($theme, 'fluid-spacing-04') !global;\n $layout-01: map-get($theme, 'layout-01') !global;\n $layout-02: map-get($theme, 'layout-02') !global;\n $layout-03: map-get($theme, 'layout-03') !global;\n $layout-04: map-get($theme, 'layout-04') !global;\n $layout-05: map-get($theme, 'layout-05') !global;\n $layout-06: map-get($theme, 'layout-06') !global;\n $layout-07: map-get($theme, 'layout-07') !global;\n $container-01: map-get($theme, 'container-01') !global;\n $container-02: map-get($theme, 'container-02') !global;\n $container-03: map-get($theme, 'container-03') !global;\n $container-04: map-get($theme, 'container-04') !global;\n $container-05: map-get($theme, 'container-05') !global;\n $icon-size-01: map-get($theme, 'icon-size-01') !global;\n $icon-size-02: map-get($theme, 'icon-size-02') !global;\n\n @if global-variable-exists('feature-flags') and\n map-get($feature-flags, 'enable-css-custom-properties')\n {\n $interactive-01: var(\n --#{$custom-property-prefix}-interactive-01,\n map-get($theme, 'interactive-01')\n ) !global;\n $interactive-02: var(\n --#{$custom-property-prefix}-interactive-02,\n map-get($theme, 'interactive-02')\n ) !global;\n $interactive-03: var(\n --#{$custom-property-prefix}-interactive-03,\n map-get($theme, 'interactive-03')\n ) !global;\n $interactive-04: var(\n --#{$custom-property-prefix}-interactive-04,\n map-get($theme, 'interactive-04')\n ) !global;\n $ui-background: var(\n --#{$custom-property-prefix}-ui-background,\n map-get($theme, 'ui-background')\n ) !global;\n $ui-01: var(\n --#{$custom-property-prefix}-ui-01,\n map-get($theme, 'ui-01')\n ) !global;\n $ui-02: var(\n --#{$custom-property-prefix}-ui-02,\n map-get($theme, 'ui-02')\n ) !global;\n $ui-03: var(\n --#{$custom-property-prefix}-ui-03,\n map-get($theme, 'ui-03')\n ) !global;\n $ui-04: var(\n --#{$custom-property-prefix}-ui-04,\n map-get($theme, 'ui-04')\n ) !global;\n $ui-05: var(\n --#{$custom-property-prefix}-ui-05,\n map-get($theme, 'ui-05')\n ) !global;\n $text-01: var(\n --#{$custom-property-prefix}-text-01,\n map-get($theme, 'text-01')\n ) !global;\n $text-02: var(\n --#{$custom-property-prefix}-text-02,\n map-get($theme, 'text-02')\n ) !global;\n $text-03: var(\n --#{$custom-property-prefix}-text-03,\n map-get($theme, 'text-03')\n ) !global;\n $text-04: var(\n --#{$custom-property-prefix}-text-04,\n map-get($theme, 'text-04')\n ) !global;\n $text-05: var(\n --#{$custom-property-prefix}-text-05,\n map-get($theme, 'text-05')\n ) !global;\n $text-error: var(\n --#{$custom-property-prefix}-text-error,\n map-get($theme, 'text-error')\n ) !global;\n $icon-01: var(\n --#{$custom-property-prefix}-icon-01,\n map-get($theme, 'icon-01')\n ) !global;\n $icon-02: var(\n --#{$custom-property-prefix}-icon-02,\n map-get($theme, 'icon-02')\n ) !global;\n $icon-03: var(\n --#{$custom-property-prefix}-icon-03,\n map-get($theme, 'icon-03')\n ) !global;\n $link-01: var(\n --#{$custom-property-prefix}-link-01,\n map-get($theme, 'link-01')\n ) !global;\n $link-02: var(\n --#{$custom-property-prefix}-link-02,\n map-get($theme, 'link-02')\n ) !global;\n $inverse-link: var(\n --#{$custom-property-prefix}-inverse-link,\n map-get($theme, 'inverse-link')\n ) !global;\n $field-01: var(\n --#{$custom-property-prefix}-field-01,\n map-get($theme, 'field-01')\n ) !global;\n $field-02: var(\n --#{$custom-property-prefix}-field-02,\n map-get($theme, 'field-02')\n ) !global;\n $inverse-01: var(\n --#{$custom-property-prefix}-inverse-01,\n map-get($theme, 'inverse-01')\n ) !global;\n $inverse-02: var(\n --#{$custom-property-prefix}-inverse-02,\n map-get($theme, 'inverse-02')\n ) !global;\n $support-01: var(\n --#{$custom-property-prefix}-support-01,\n map-get($theme, 'support-01')\n ) !global;\n $support-02: var(\n --#{$custom-property-prefix}-support-02,\n map-get($theme, 'support-02')\n ) !global;\n $support-03: var(\n --#{$custom-property-prefix}-support-03,\n map-get($theme, 'support-03')\n ) !global;\n $support-04: var(\n --#{$custom-property-prefix}-support-04,\n map-get($theme, 'support-04')\n ) !global;\n $inverse-support-01: var(\n --#{$custom-property-prefix}-inverse-support-01,\n map-get($theme, 'inverse-support-01')\n ) !global;\n $inverse-support-02: var(\n --#{$custom-property-prefix}-inverse-support-02,\n map-get($theme, 'inverse-support-02')\n ) !global;\n $inverse-support-03: var(\n --#{$custom-property-prefix}-inverse-support-03,\n map-get($theme, 'inverse-support-03')\n ) !global;\n $inverse-support-04: var(\n --#{$custom-property-prefix}-inverse-support-04,\n map-get($theme, 'inverse-support-04')\n ) !global;\n $overlay-01: var(\n --#{$custom-property-prefix}-overlay-01,\n map-get($theme, 'overlay-01')\n ) !global;\n $danger-01: var(\n --#{$custom-property-prefix}-danger-01,\n map-get($theme, 'danger-01')\n ) !global;\n $danger-02: var(\n --#{$custom-property-prefix}-danger-02,\n map-get($theme, 'danger-02')\n ) !global;\n $focus: var(\n --#{$custom-property-prefix}-focus,\n map-get($theme, 'focus')\n ) !global;\n $inverse-focus-ui: var(\n --#{$custom-property-prefix}-inverse-focus-ui,\n map-get($theme, 'inverse-focus-ui')\n ) !global;\n $hover-primary: var(\n --#{$custom-property-prefix}-hover-primary,\n map-get($theme, 'hover-primary')\n ) !global;\n $active-primary: var(\n --#{$custom-property-prefix}-active-primary,\n map-get($theme, 'active-primary')\n ) !global;\n $hover-primary-text: var(\n --#{$custom-property-prefix}-hover-primary-text,\n map-get($theme, 'hover-primary-text')\n ) !global;\n $hover-secondary: var(\n --#{$custom-property-prefix}-hover-secondary,\n map-get($theme, 'hover-secondary')\n ) !global;\n $active-secondary: var(\n --#{$custom-property-prefix}-active-secondary,\n map-get($theme, 'active-secondary')\n ) !global;\n $hover-tertiary: var(\n --#{$custom-property-prefix}-hover-tertiary,\n map-get($theme, 'hover-tertiary')\n ) !global;\n $active-tertiary: var(\n --#{$custom-property-prefix}-active-tertiary,\n map-get($theme, 'active-tertiary')\n ) !global;\n $hover-ui: var(\n --#{$custom-property-prefix}-hover-ui,\n map-get($theme, 'hover-ui')\n ) !global;\n $hover-light-ui: var(\n --#{$custom-property-prefix}-hover-light-ui,\n map-get($theme, 'hover-light-ui')\n ) !global;\n $hover-selected-ui: var(\n --#{$custom-property-prefix}-hover-selected-ui,\n map-get($theme, 'hover-selected-ui')\n ) !global;\n $active-ui: var(\n --#{$custom-property-prefix}-active-ui,\n map-get($theme, 'active-ui')\n ) !global;\n $active-light-ui: var(\n --#{$custom-property-prefix}-active-light-ui,\n map-get($theme, 'active-light-ui')\n ) !global;\n $selected-ui: var(\n --#{$custom-property-prefix}-selected-ui,\n map-get($theme, 'selected-ui')\n ) !global;\n $selected-light-ui: var(\n --#{$custom-property-prefix}-selected-light-ui,\n map-get($theme, 'selected-light-ui')\n ) !global;\n $inverse-hover-ui: var(\n --#{$custom-property-prefix}-inverse-hover-ui,\n map-get($theme, 'inverse-hover-ui')\n ) !global;\n $hover-danger: var(\n --#{$custom-property-prefix}-hover-danger,\n map-get($theme, 'hover-danger')\n ) !global;\n $active-danger: var(\n --#{$custom-property-prefix}-active-danger,\n map-get($theme, 'active-danger')\n ) !global;\n $hover-row: var(\n --#{$custom-property-prefix}-hover-row,\n map-get($theme, 'hover-row')\n ) !global;\n $visited-link: var(\n --#{$custom-property-prefix}-visited-link,\n map-get($theme, 'visited-link')\n ) !global;\n $disabled-01: var(\n --#{$custom-property-prefix}-disabled-01,\n map-get($theme, 'disabled-01')\n ) !global;\n $disabled-02: var(\n --#{$custom-property-prefix}-disabled-02,\n map-get($theme, 'disabled-02')\n ) !global;\n $disabled-03: var(\n --#{$custom-property-prefix}-disabled-03,\n map-get($theme, 'disabled-03')\n ) !global;\n $highlight: var(\n --#{$custom-property-prefix}-highlight,\n map-get($theme, 'highlight')\n ) !global;\n $decorative-01: var(\n --#{$custom-property-prefix}-decorative-01,\n map-get($theme, 'decorative-01')\n ) !global;\n $button-separator: var(\n --#{$custom-property-prefix}-button-separator,\n map-get($theme, 'button-separator')\n ) !global;\n $skeleton-01: var(\n --#{$custom-property-prefix}-skeleton-01,\n map-get($theme, 'skeleton-01')\n ) !global;\n $skeleton-02: var(\n --#{$custom-property-prefix}-skeleton-02,\n map-get($theme, 'skeleton-02')\n ) !global;\n $brand-01: var(\n --#{$custom-property-prefix}-brand-01,\n map-get($theme, 'brand-01')\n ) !global;\n $brand-02: var(\n --#{$custom-property-prefix}-brand-02,\n map-get($theme, 'brand-02')\n ) !global;\n $brand-03: var(\n --#{$custom-property-prefix}-brand-03,\n map-get($theme, 'brand-03')\n ) !global;\n $active-01: var(\n --#{$custom-property-prefix}-active-01,\n map-get($theme, 'active-01')\n ) !global;\n $hover-field: var(\n --#{$custom-property-prefix}-hover-field,\n map-get($theme, 'hover-field')\n ) !global;\n $danger: var(\n --#{$custom-property-prefix}-danger,\n map-get($theme, 'danger')\n ) !global;\n $spacing-01: var(\n --#{$custom-property-prefix}-spacing-01,\n map-get($theme, 'spacing-01')\n ) !global;\n $spacing-02: var(\n --#{$custom-property-prefix}-spacing-02,\n map-get($theme, 'spacing-02')\n ) !global;\n $spacing-03: var(\n --#{$custom-property-prefix}-spacing-03,\n map-get($theme, 'spacing-03')\n ) !global;\n $spacing-04: var(\n --#{$custom-property-prefix}-spacing-04,\n map-get($theme, 'spacing-04')\n ) !global;\n $spacing-05: var(\n --#{$custom-property-prefix}-spacing-05,\n map-get($theme, 'spacing-05')\n ) !global;\n $spacing-06: var(\n --#{$custom-property-prefix}-spacing-06,\n map-get($theme, 'spacing-06')\n ) !global;\n $spacing-07: var(\n --#{$custom-property-prefix}-spacing-07,\n map-get($theme, 'spacing-07')\n ) !global;\n $spacing-08: var(\n --#{$custom-property-prefix}-spacing-08,\n map-get($theme, 'spacing-08')\n ) !global;\n $spacing-09: var(\n --#{$custom-property-prefix}-spacing-09,\n map-get($theme, 'spacing-09')\n ) !global;\n $spacing-10: var(\n --#{$custom-property-prefix}-spacing-10,\n map-get($theme, 'spacing-10')\n ) !global;\n $spacing-11: var(\n --#{$custom-property-prefix}-spacing-11,\n map-get($theme, 'spacing-11')\n ) !global;\n $spacing-12: var(\n --#{$custom-property-prefix}-spacing-12,\n map-get($theme, 'spacing-12')\n ) !global;\n $fluid-spacing-01: var(\n --#{$custom-property-prefix}-fluid-spacing-01,\n map-get($theme, 'fluid-spacing-01')\n ) !global;\n $fluid-spacing-02: var(\n --#{$custom-property-prefix}-fluid-spacing-02,\n map-get($theme, 'fluid-spacing-02')\n ) !global;\n $fluid-spacing-03: var(\n --#{$custom-property-prefix}-fluid-spacing-03,\n map-get($theme, 'fluid-spacing-03')\n ) !global;\n $fluid-spacing-04: var(\n --#{$custom-property-prefix}-fluid-spacing-04,\n map-get($theme, 'fluid-spacing-04')\n ) !global;\n $layout-01: var(\n --#{$custom-property-prefix}-layout-01,\n map-get($theme, 'layout-01')\n ) !global;\n $layout-02: var(\n --#{$custom-property-prefix}-layout-02,\n map-get($theme, 'layout-02')\n ) !global;\n $layout-03: var(\n --#{$custom-property-prefix}-layout-03,\n map-get($theme, 'layout-03')\n ) !global;\n $layout-04: var(\n --#{$custom-property-prefix}-layout-04,\n map-get($theme, 'layout-04')\n ) !global;\n $layout-05: var(\n --#{$custom-property-prefix}-layout-05,\n map-get($theme, 'layout-05')\n ) !global;\n $layout-06: var(\n --#{$custom-property-prefix}-layout-06,\n map-get($theme, 'layout-06')\n ) !global;\n $layout-07: var(\n --#{$custom-property-prefix}-layout-07,\n map-get($theme, 'layout-07')\n ) !global;\n $container-01: var(\n --#{$custom-property-prefix}-container-01,\n map-get($theme, 'container-01')\n ) !global;\n $container-02: var(\n --#{$custom-property-prefix}-container-02,\n map-get($theme, 'container-02')\n ) !global;\n $container-03: var(\n --#{$custom-property-prefix}-container-03,\n map-get($theme, 'container-03')\n ) !global;\n $container-04: var(\n --#{$custom-property-prefix}-container-04,\n map-get($theme, 'container-04')\n ) !global;\n $container-05: var(\n --#{$custom-property-prefix}-container-05,\n map-get($theme, 'container-05')\n ) !global;\n $icon-size-01: var(\n --#{$custom-property-prefix}-icon-size-01,\n map-get($theme, 'icon-size-01')\n ) !global;\n $icon-size-02: var(\n --#{$custom-property-prefix}-icon-size-02,\n map-get($theme, 'icon-size-02')\n ) !global;\n }\n @if $emit-custom-properties == true {\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'interactive-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'interactive-01',\n map-get($theme, 'interactive-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'interactive-02',\n $emit-difference\n )\n {\n @include custom-property(\n 'interactive-02',\n map-get($theme, 'interactive-02')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'interactive-03',\n $emit-difference\n )\n {\n @include custom-property(\n 'interactive-03',\n map-get($theme, 'interactive-03')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'interactive-04',\n $emit-difference\n )\n {\n @include custom-property(\n 'interactive-04',\n map-get($theme, 'interactive-04')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'ui-background',\n $emit-difference\n )\n {\n @include custom-property(\n 'ui-background',\n map-get($theme, 'ui-background')\n );\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'ui-01', $emit-difference) {\n @include custom-property('ui-01', map-get($theme, 'ui-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'ui-02', $emit-difference) {\n @include custom-property('ui-02', map-get($theme, 'ui-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'ui-03', $emit-difference) {\n @include custom-property('ui-03', map-get($theme, 'ui-03'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'ui-04', $emit-difference) {\n @include custom-property('ui-04', map-get($theme, 'ui-04'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'ui-05', $emit-difference) {\n @include custom-property('ui-05', map-get($theme, 'ui-05'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'text-01', $emit-difference) {\n @include custom-property('text-01', map-get($theme, 'text-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'text-02', $emit-difference) {\n @include custom-property('text-02', map-get($theme, 'text-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'text-03', $emit-difference) {\n @include custom-property('text-03', map-get($theme, 'text-03'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'text-04', $emit-difference) {\n @include custom-property('text-04', map-get($theme, 'text-04'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'text-05', $emit-difference) {\n @include custom-property('text-05', map-get($theme, 'text-05'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'text-error',\n $emit-difference\n )\n {\n @include custom-property('text-error', map-get($theme, 'text-error'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'icon-01', $emit-difference) {\n @include custom-property('icon-01', map-get($theme, 'icon-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'icon-02', $emit-difference) {\n @include custom-property('icon-02', map-get($theme, 'icon-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'icon-03', $emit-difference) {\n @include custom-property('icon-03', map-get($theme, 'icon-03'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'link-01', $emit-difference) {\n @include custom-property('link-01', map-get($theme, 'link-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'link-02', $emit-difference) {\n @include custom-property('link-02', map-get($theme, 'link-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-link',\n $emit-difference\n )\n {\n @include custom-property('inverse-link', map-get($theme, 'inverse-link'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'field-01', $emit-difference)\n {\n @include custom-property('field-01', map-get($theme, 'field-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'field-02', $emit-difference)\n {\n @include custom-property('field-02', map-get($theme, 'field-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-01',\n $emit-difference\n )\n {\n @include custom-property('inverse-01', map-get($theme, 'inverse-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-02',\n $emit-difference\n )\n {\n @include custom-property('inverse-02', map-get($theme, 'inverse-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'support-01',\n $emit-difference\n )\n {\n @include custom-property('support-01', map-get($theme, 'support-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'support-02',\n $emit-difference\n )\n {\n @include custom-property('support-02', map-get($theme, 'support-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'support-03',\n $emit-difference\n )\n {\n @include custom-property('support-03', map-get($theme, 'support-03'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'support-04',\n $emit-difference\n )\n {\n @include custom-property('support-04', map-get($theme, 'support-04'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-support-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'inverse-support-01',\n map-get($theme, 'inverse-support-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-support-02',\n $emit-difference\n )\n {\n @include custom-property(\n 'inverse-support-02',\n map-get($theme, 'inverse-support-02')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-support-03',\n $emit-difference\n )\n {\n @include custom-property(\n 'inverse-support-03',\n map-get($theme, 'inverse-support-03')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-support-04',\n $emit-difference\n )\n {\n @include custom-property(\n 'inverse-support-04',\n map-get($theme, 'inverse-support-04')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'overlay-01',\n $emit-difference\n )\n {\n @include custom-property('overlay-01', map-get($theme, 'overlay-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'danger-01', $emit-difference)\n {\n @include custom-property('danger-01', map-get($theme, 'danger-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'danger-02', $emit-difference)\n {\n @include custom-property('danger-02', map-get($theme, 'danger-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'focus', $emit-difference) {\n @include custom-property('focus', map-get($theme, 'focus'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-focus-ui',\n $emit-difference\n )\n {\n @include custom-property(\n 'inverse-focus-ui',\n map-get($theme, 'inverse-focus-ui')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-primary',\n $emit-difference\n )\n {\n @include custom-property(\n 'hover-primary',\n map-get($theme, 'hover-primary')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'active-primary',\n $emit-difference\n )\n {\n @include custom-property(\n 'active-primary',\n map-get($theme, 'active-primary')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-primary-text',\n $emit-difference\n )\n {\n @include custom-property(\n 'hover-primary-text',\n map-get($theme, 'hover-primary-text')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-secondary',\n $emit-difference\n )\n {\n @include custom-property(\n 'hover-secondary',\n map-get($theme, 'hover-secondary')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'active-secondary',\n $emit-difference\n )\n {\n @include custom-property(\n 'active-secondary',\n map-get($theme, 'active-secondary')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-tertiary',\n $emit-difference\n )\n {\n @include custom-property(\n 'hover-tertiary',\n map-get($theme, 'hover-tertiary')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'active-tertiary',\n $emit-difference\n )\n {\n @include custom-property(\n 'active-tertiary',\n map-get($theme, 'active-tertiary')\n );\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'hover-ui', $emit-difference)\n {\n @include custom-property('hover-ui', map-get($theme, 'hover-ui'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-light-ui',\n $emit-difference\n )\n {\n @include custom-property(\n 'hover-light-ui',\n map-get($theme, 'hover-light-ui')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-selected-ui',\n $emit-difference\n )\n {\n @include custom-property(\n 'hover-selected-ui',\n map-get($theme, 'hover-selected-ui')\n );\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'active-ui', $emit-difference)\n {\n @include custom-property('active-ui', map-get($theme, 'active-ui'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'active-light-ui',\n $emit-difference\n )\n {\n @include custom-property(\n 'active-light-ui',\n map-get($theme, 'active-light-ui')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'selected-ui',\n $emit-difference\n )\n {\n @include custom-property('selected-ui', map-get($theme, 'selected-ui'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'selected-light-ui',\n $emit-difference\n )\n {\n @include custom-property(\n 'selected-light-ui',\n map-get($theme, 'selected-light-ui')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-hover-ui',\n $emit-difference\n )\n {\n @include custom-property(\n 'inverse-hover-ui',\n map-get($theme, 'inverse-hover-ui')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-danger',\n $emit-difference\n )\n {\n @include custom-property('hover-danger', map-get($theme, 'hover-danger'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'active-danger',\n $emit-difference\n )\n {\n @include custom-property(\n 'active-danger',\n map-get($theme, 'active-danger')\n );\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'hover-row', $emit-difference)\n {\n @include custom-property('hover-row', map-get($theme, 'hover-row'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'visited-link',\n $emit-difference\n )\n {\n @include custom-property('visited-link', map-get($theme, 'visited-link'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'disabled-01',\n $emit-difference\n )\n {\n @include custom-property('disabled-01', map-get($theme, 'disabled-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'disabled-02',\n $emit-difference\n )\n {\n @include custom-property('disabled-02', map-get($theme, 'disabled-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'disabled-03',\n $emit-difference\n )\n {\n @include custom-property('disabled-03', map-get($theme, 'disabled-03'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'highlight', $emit-difference)\n {\n @include custom-property('highlight', map-get($theme, 'highlight'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'decorative-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'decorative-01',\n map-get($theme, 'decorative-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'button-separator',\n $emit-difference\n )\n {\n @include custom-property(\n 'button-separator',\n map-get($theme, 'button-separator')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'skeleton-01',\n $emit-difference\n )\n {\n @include custom-property('skeleton-01', map-get($theme, 'skeleton-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'skeleton-02',\n $emit-difference\n )\n {\n @include custom-property('skeleton-02', map-get($theme, 'skeleton-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'brand-01', $emit-difference)\n {\n @include custom-property('brand-01', map-get($theme, 'brand-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'brand-02', $emit-difference)\n {\n @include custom-property('brand-02', map-get($theme, 'brand-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'brand-03', $emit-difference)\n {\n @include custom-property('brand-03', map-get($theme, 'brand-03'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'active-01', $emit-difference)\n {\n @include custom-property('active-01', map-get($theme, 'active-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-field',\n $emit-difference\n )\n {\n @include custom-property('hover-field', map-get($theme, 'hover-field'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'danger', $emit-difference) {\n @include custom-property('danger', map-get($theme, 'danger'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'caption-01',\n $emit-difference\n )\n {\n @include custom-property('caption-01', map-get($theme, 'caption-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'label-01', $emit-difference)\n {\n @include custom-property('label-01', map-get($theme, 'label-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'helper-text-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'helper-text-01',\n map-get($theme, 'helper-text-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'body-short-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'body-short-01',\n map-get($theme, 'body-short-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'body-long-01',\n $emit-difference\n )\n {\n @include custom-property('body-long-01', map-get($theme, 'body-long-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'body-short-02',\n $emit-difference\n )\n {\n @include custom-property(\n 'body-short-02',\n map-get($theme, 'body-short-02')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'body-long-02',\n $emit-difference\n )\n {\n @include custom-property('body-long-02', map-get($theme, 'body-long-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'code-01', $emit-difference) {\n @include custom-property('code-01', map-get($theme, 'code-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'code-02', $emit-difference) {\n @include custom-property('code-02', map-get($theme, 'code-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'heading-01',\n $emit-difference\n )\n {\n @include custom-property('heading-01', map-get($theme, 'heading-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'productive-heading-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'productive-heading-01',\n map-get($theme, 'productive-heading-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'heading-02',\n $emit-difference\n )\n {\n @include custom-property('heading-02', map-get($theme, 'heading-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'productive-heading-02',\n $emit-difference\n )\n {\n @include custom-property(\n 'productive-heading-02',\n map-get($theme, 'productive-heading-02')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'productive-heading-03',\n $emit-difference\n )\n {\n @include custom-property(\n 'productive-heading-03',\n map-get($theme, 'productive-heading-03')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'productive-heading-04',\n $emit-difference\n )\n {\n @include custom-property(\n 'productive-heading-04',\n map-get($theme, 'productive-heading-04')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'productive-heading-05',\n $emit-difference\n )\n {\n @include custom-property(\n 'productive-heading-05',\n map-get($theme, 'productive-heading-05')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'productive-heading-06',\n $emit-difference\n )\n {\n @include custom-property(\n 'productive-heading-06',\n map-get($theme, 'productive-heading-06')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'productive-heading-07',\n $emit-difference\n )\n {\n @include custom-property(\n 'productive-heading-07',\n map-get($theme, 'productive-heading-07')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'expressive-heading-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'expressive-heading-01',\n map-get($theme, 'expressive-heading-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'expressive-heading-02',\n $emit-difference\n )\n {\n @include custom-property(\n 'expressive-heading-02',\n map-get($theme, 'expressive-heading-02')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'expressive-heading-03',\n $emit-difference\n )\n {\n @include custom-property(\n 'expressive-heading-03',\n map-get($theme, 'expressive-heading-03')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'expressive-heading-04',\n $emit-difference\n )\n {\n @include custom-property(\n 'expressive-heading-04',\n map-get($theme, 'expressive-heading-04')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'expressive-heading-05',\n $emit-difference\n )\n {\n @include custom-property(\n 'expressive-heading-05',\n map-get($theme, 'expressive-heading-05')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'expressive-heading-06',\n $emit-difference\n )\n {\n @include custom-property(\n 'expressive-heading-06',\n map-get($theme, 'expressive-heading-06')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'expressive-paragraph-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'expressive-paragraph-01',\n map-get($theme, 'expressive-paragraph-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'quotation-01',\n $emit-difference\n )\n {\n @include custom-property('quotation-01', map-get($theme, 'quotation-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'quotation-02',\n $emit-difference\n )\n {\n @include custom-property('quotation-02', map-get($theme, 'quotation-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'display-01',\n $emit-difference\n )\n {\n @include custom-property('display-01', map-get($theme, 'display-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'display-02',\n $emit-difference\n )\n {\n @include custom-property('display-02', map-get($theme, 'display-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'display-03',\n $emit-difference\n )\n {\n @include custom-property('display-03', map-get($theme, 'display-03'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'display-04',\n $emit-difference\n )\n {\n @include custom-property('display-04', map-get($theme, 'display-04'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-01',\n $emit-difference\n )\n {\n @include custom-property('spacing-01', map-get($theme, 'spacing-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-02',\n $emit-difference\n )\n {\n @include custom-property('spacing-02', map-get($theme, 'spacing-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-03',\n $emit-difference\n )\n {\n @include custom-property('spacing-03', map-get($theme, 'spacing-03'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-04',\n $emit-difference\n )\n {\n @include custom-property('spacing-04', map-get($theme, 'spacing-04'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-05',\n $emit-difference\n )\n {\n @include custom-property('spacing-05', map-get($theme, 'spacing-05'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-06',\n $emit-difference\n )\n {\n @include custom-property('spacing-06', map-get($theme, 'spacing-06'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-07',\n $emit-difference\n )\n {\n @include custom-property('spacing-07', map-get($theme, 'spacing-07'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-08',\n $emit-difference\n )\n {\n @include custom-property('spacing-08', map-get($theme, 'spacing-08'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-09',\n $emit-difference\n )\n {\n @include custom-property('spacing-09', map-get($theme, 'spacing-09'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-10',\n $emit-difference\n )\n {\n @include custom-property('spacing-10', map-get($theme, 'spacing-10'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-11',\n $emit-difference\n )\n {\n @include custom-property('spacing-11', map-get($theme, 'spacing-11'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-12',\n $emit-difference\n )\n {\n @include custom-property('spacing-12', map-get($theme, 'spacing-12'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'fluid-spacing-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'fluid-spacing-01',\n map-get($theme, 'fluid-spacing-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'fluid-spacing-02',\n $emit-difference\n )\n {\n @include custom-property(\n 'fluid-spacing-02',\n map-get($theme, 'fluid-spacing-02')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'fluid-spacing-03',\n $emit-difference\n )\n {\n @include custom-property(\n 'fluid-spacing-03',\n map-get($theme, 'fluid-spacing-03')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'fluid-spacing-04',\n $emit-difference\n )\n {\n @include custom-property(\n 'fluid-spacing-04',\n map-get($theme, 'fluid-spacing-04')\n );\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'layout-01', $emit-difference)\n {\n @include custom-property('layout-01', map-get($theme, 'layout-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'layout-02', $emit-difference)\n {\n @include custom-property('layout-02', map-get($theme, 'layout-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'layout-03', $emit-difference)\n {\n @include custom-property('layout-03', map-get($theme, 'layout-03'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'layout-04', $emit-difference)\n {\n @include custom-property('layout-04', map-get($theme, 'layout-04'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'layout-05', $emit-difference)\n {\n @include custom-property('layout-05', map-get($theme, 'layout-05'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'layout-06', $emit-difference)\n {\n @include custom-property('layout-06', map-get($theme, 'layout-06'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'layout-07', $emit-difference)\n {\n @include custom-property('layout-07', map-get($theme, 'layout-07'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'container-01',\n $emit-difference\n )\n {\n @include custom-property('container-01', map-get($theme, 'container-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'container-02',\n $emit-difference\n )\n {\n @include custom-property('container-02', map-get($theme, 'container-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'container-03',\n $emit-difference\n )\n {\n @include custom-property('container-03', map-get($theme, 'container-03'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'container-04',\n $emit-difference\n )\n {\n @include custom-property('container-04', map-get($theme, 'container-04'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'container-05',\n $emit-difference\n )\n {\n @include custom-property('container-05', map-get($theme, 'container-05'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'icon-size-01',\n $emit-difference\n )\n {\n @include custom-property('icon-size-01', map-get($theme, 'icon-size-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'icon-size-02',\n $emit-difference\n )\n {\n @include custom-property('icon-size-02', map-get($theme, 'icon-size-02'));\n }\n }\n\n @content;\n\n // Reset to default theme after apply in content\n @if $carbon--theme != $parent-carbon-theme {\n $carbon--theme: $parent-carbon-theme !global;\n\n @include carbon--theme();\n }\n}\n"],sourceRoot:""}]),o.locals={productiveHeading01:"-esm-active-visits__active-visits__productiveHeading01___5dzOt",productiveHeading02:"-esm-active-visits__active-visits__productiveHeading02___-o9Tn",bodyLong01:"-esm-active-visits__active-visits__bodyLong01___xwAEE",caption01:"-esm-active-visits__active-visits__caption01___e7sSC",bodyShort02:"-esm-active-visits__active-visits__bodyShort02___BiPkR",text02:"-esm-active-visits__active-visits__text02___lkEHs",text01:"-esm-active-visits__active-visits__text01___iTf3H",activeVisitsContainer:"-esm-active-visits__active-visits__activeVisitsContainer___XAE0K",activeVisitsDetailHeaderContainer:"-esm-active-visits__active-visits__activeVisitsDetailHeaderContainer___pjwhu",backgroundDataFetchingIndicator:"-esm-active-visits__active-visits__backgroundDataFetchingIndicator___YszBc",tableContainer:"-esm-active-visits__active-visits__tableContainer___27wfu",pagination:"-esm-active-visits__active-visits__pagination___h8NbE",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"};const p=o},2221:(e,n,t)=>{t.r(n),t.d(n,{default:()=>X});var i=t(9902),a=t.n(i),r=t(8580),o=t(182),p=t(6069),s=t(160),c=t(9034),l=t(5746),m=t(4750),h=t(364),g=t(7500),d=t(8804),u=t(8117),$=t(1358),f=t(2427),b=t(318),v=t(3783),y=t(448),x=t(8306),_=t(3066),A=t(4924),k=function(e){var n=e.width,t=void 0===n?"61":n,i=e.height,r=void 0===i?"59":i;return a().createElement("svg",{width:t,height:r,viewBox:"0 0 61 59"},a().createElement("title",null,"Empty data illustration"),a().createElement("g",{fill:"none",fillRule:"evenodd"},a().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"}),a().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"}),a().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"}),a().createElement("circle",{fill:"#C6C6C6",cx:17.636,cy:2.314,r:1.855}),a().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:17.636,cy:2.314,r:1.175}),a().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"}),a().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"}),a().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"}),a().createElement("circle",{fill:"#C6C6C6",cx:40.218,cy:9.755,r:1.855}),a().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:40.218,cy:9.755,r:1.13})))},w=t(9857),C=t(3565),z=t.n(C),B=t(6824),E=t.n(B),L=t(6635);z().extend(E());var D=t(6062),H=t.n(D),M=t(4036),S=t.n(M),q=t(6793),T=t.n(q),F=t(7892),V=t.n(F),N=t(1173),I=t.n(N),O=t(2464),j=t.n(O),R=t(7935),Z={};Z.styleTagTransform=j(),Z.setAttributes=V(),Z.insert=T().bind(null,"head"),Z.domAPI=S(),Z.insertStyleElement=I(),H()(R.Z,Z);const P=R.Z&&R.Z.locals?R.Z.locals:void 0;function G(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 U(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function K(){return K=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},K.apply(this,arguments)}function Y(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,r=[],o=!0,p=!1;try{for(t=t.call(e);!(o=(i=t.next()).done)&&(r.push(i.value),!n||r.length!==n);o=!0);}catch(e){p=!0,a=e}finally{try{o||null==t.return||t.return()}finally{if(p)throw a}}return r}}(e,n)||function(e,n){if(e){if("string"==typeof e)return G(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)?G(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 W=function(e){var n=e.from,t=e.to,i=e.children;return a().createElement("a",{onClick:function(e){return i=t,e.preventDefault(),(0,_.navigate)({to:i}),void localStorage.setItem("fromPage",n);var i},href:(0,_.interpolateUrl)(t)},i)};const X=function(){var e,n,t,C,B=(0,A.useTranslation)().t,E=(0,_.useConfig)(),D=(0,_.useLayoutType)(),H=function(){var e,n,t=(0,_.useSession)(),i=z()().format("YYYY-MM-DD"),a=null==t||null===(e=t.sessionLocation)||void 0===e?void 0:e.uuid,r="/ws/rest/v1/visit?includeInactive=false&v=".concat("custom:(uuid,patient:(uuid,identifiers:(identifier,uuid),person:(age,display,gender,uuid)),visitType:(uuid,name,display),location:(uuid,name,display),startDatetime,stopDatetime)&fromStartDate="+i+"&location="+a),o=(0,w.ZP)(a?r:null,_.openmrsFetch),p=o.data,s=o.error,c=o.isValidating;return{activeVisits:(null==p||null===(n=p.data)||void 0===n?void 0:n.results.length)?p.data.results.map((function(e){var n,t,i,a,r,o,p,s,c,l,m;return{age:null==e||null===(n=e.patient)||void 0===n||null===(t=n.person)||void 0===t?void 0:t.age,id:e.uuid,idNumber:null===(a=null==e||null===(i=e.patient)||void 0===i?void 0:i.identifiers[0])||void 0===a?void 0:a.identifier,gender:null==e||null===(r=e.patient)||void 0===r||null===(o=r.person)||void 0===o?void 0:o.gender,location:null==e||null===(p=e.location)||void 0===p?void 0:p.uuid,name:null==e||null===(s=e.patient)||void 0===s||null===(c=s.person)||void 0===c?void 0:c.display,patientUuid:null==e||null===(l=e.patient)||void 0===l?void 0:l.uuid,visitStartTime:null==e?void 0:e.startDatetime,visitType:null==e||null===(m=e.visitType)||void 0===m?void 0:m.display,visitUuid:e.uuid}})).filter((function(e){var n=e.visitStartTime;return z()(n).isToday()})):[],isLoading:!p&&!s,isError:s,isValidating:c}}(),M=H.activeVisits,S=(H.isError,H.isLoading),q=H.isValidating,T="desktop"===D,F=null!==(t=null==E||null===(e=E.activeVisits)||void 0===e?void 0:e.pageSizes)&&void 0!==t?t:[10,20,30,40,50],V=Y((0,i.useState)(null!==(C=null==E||null===(n=E.activeVisits)||void 0===n?void 0:n.pageSize)&&void 0!==C?C:10),2),N=V[0],I=V[1],O=Y((0,i.useState)(""),2),j=O[0],R=O[1],Z=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("/");return(0,L.last)(e)}(window.location.pathname),G=(0,i.useMemo)((function(){return[{id:0,header:B("visitStartTime","Visit Time"),key:"visitStartTime"},{id:1,header:B("idNumber","ID Number"),key:"idNumber"},{id:2,header:B("name","Name"),key:"name"},{id:3,header:B("gender","Gender"),key:"gender"},{id:4,header:B("age","Age"),key:"age"},{id:5,header:B("visitType","Visit Type"),key:"visitType"}]}),[B]),X=M.map((function(e){return function(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){U(e,n,t[n])}))}return e}({},e,{visitStartTime:(0,_.formatDatetime)((0,_.parseDate)(e.visitStartTime))})})),J=(0,i.useMemo)((function(){if(j&&""!==j.trim()){var e=j.toLowerCase();return X.filter((function(n){return Object.keys(n).some((function(t){return"patientUuid"!==t&&"".concat(n[t]).toLowerCase().includes(e)}))}))}return X}),[j,X]),Q=(0,_.usePagination)(J,N),ee=Q.goTo,ne=Q.results,te=Q.currentPage,ie=(0,i.useCallback)((function(e){return R(e.target.value)}),[]);return(0,i.useEffect)((function(){1!==te&&ee(1)}),[j]),S?a().createElement(r.Z,{role:"progressbar"}):(null==M?void 0:M.length)?a().createElement("div",{className:P.activeVisitsContainer},a().createElement("div",{className:P.activeVisitsDetailHeaderContainer},a().createElement("div",{className:T?P.desktopHeading:P.tabletHeading},a().createElement("h4",null,B("activeVisits","Active Visits"))),a().createElement("div",{className:P.backgroundDataFetchingIndicator},a().createElement("span",null,q?a().createElement(o.Z,null):null))),a().createElement(p.ZP,{rows:ne,headers:G,size:T?"compact":"normal",useZebraStyles:!0},(function(e){var n=e.rows,t=e.headers,i=e.getHeaderProps,r=e.getTableProps,o=e.getBatchActionProps,p=e.getRowProps;return a().createElement(s.Z,{className:P.tableContainer},a().createElement(c.Z,null,a().createElement(l.Z,null,a().createElement(m.Z,{tabIndex:o().shouldShowBatchActions?-1:0,labelText:"",placeholder:B("filterTable","Filter table"),onChange:ie}))),a().createElement(h.Z,K({className:P.activeVisitsTable},r()),a().createElement(g.Z,null,a().createElement(d.Z,null,a().createElement(u.Z,null),t.map((function(e){return a().createElement($.Z,K({},i({header:e})),e.header)})))),a().createElement(f.Z,null,n.map((function(e,n){var i,r;return a().createElement(a().Fragment,{key:n},a().createElement(b.Z,K({},p({row:e})),e.cells.map((function(e){var t;return a().createElement(v.Z,{key:e.id},"name"===e.info.header?a().createElement(W,{from:Z,to:"${openmrsSpaBase}/patient/".concat(null==ne||null===(t=ne[n])||void 0===t?void 0:t.patientUuid,"/chart/")},e.value):e.value)}))),e.isExpanded?a().createElement(d.Z,{className:P.expandedActiveVisitRow},a().createElement("th",{colSpan:t.length+2},a().createElement(_.ExtensionSlot,{className:P.visitSummaryContainer,extensionSlotName:"visit-summary-slot",state:{visitUuid:null===(i=ne[n])||void 0===i?void 0:i.visitUuid,patientUuid:null===(r=ne[n])||void 0===r?void 0:r.patientUuid}}))):a().createElement("div",null))})))),0===n.length&&a().createElement("p",{style:{height:T?"2rem":"3rem",marginLeft:T?"2rem":"3rem"},className:"".concat(P.emptyRow," ").concat(P.bodyLong01)},B("noVisitsFound","No visits found")),a().createElement(y.Z,{forwardText:"Next page",backwardText:"Previous page",page:te,pageSize:N,pageSizes:F,totalItems:J.length,className:P.pagination,onChange:function(e){var n=e.pageSize,t=e.page;n!==N&&I(n),t!==te&&ee(t)}}))}))):a().createElement("div",{className:P.activeVisitsContainer},a().createElement(x.n9,{light:!0,className:P.tile},a().createElement("div",{className:T?P.desktopHeading:P.tabletHeading},a().createElement("h4",null,B("activeVisits","Active Visits"))),a().createElement(k,null),a().createElement("p",{className:P.content},B("noActiveVisitsForLocation","There are no active visits to display for this location."))))}}}]);
|
|
2
|
-
//# sourceMappingURL=221.js.map
|
|
1
|
+
"use strict";(self.webpackChunk_openmrs_esm_active_visits_app=self.webpackChunk_openmrs_esm_active_visits_app||[]).push([[221],{7935:(e,t,i)=>{i.d(t,{Z:()=>s});var a=i(2609),n=i.n(a)()((function(e){return e[1]}));n.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-active-visits__active-visits__productiveHeading01___5dzOt{font-size:.875rem;font-weight:600;line-height:1.29;letter-spacing:.16px}.-esm-active-visits__active-visits__productiveHeading02___-o9Tn{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0}.-esm-active-visits__active-visits__bodyLong01___xwAEE{font-size:.875rem;font-weight:400;line-height:1.43;letter-spacing:.16px}.-esm-active-visits__active-visits__caption01___e7sSC{font-size:.75rem;font-weight:400;line-height:1.34;letter-spacing:.32px}.-esm-active-visits__active-visits__bodyShort02___BiPkR{font-size:1rem;font-weight:400;line-height:1.375;letter-spacing:0}.-esm-active-visits__active-visits__text02___lkEHs{color:#525252}.-esm-active-visits__active-visits__text01___iTf3H{color:#161616}.-esm-active-visits__active-visits__activeVisitsContainer___XAE0K{background-color:#fff;border:1px solid #e0e0e0;width:100%;margin:0 auto;max-width:95vw}.-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__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__emptyRow___jKDsj{padding:0 1rem;display:flex;align-items:center}.-esm-active-visits__active-visits__visitSummaryContainer___mBkXn{width:100%;max-width:768px;margin:1rem auto}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO>td>div{max-height:max-content !important}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO td{padding:0 2rem}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO th[colspan] td[colspan]>div:first-child{padding:0 1rem}.-esm-active-visits__active-visits__action___Kn0CE{margin-bottom:.5rem}.-esm-active-visits__active-visits__content___hF3rN{font-size:.875rem;font-weight:600;line-height:1.29;letter-spacing:.16px;color:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-active-visits__active-visits__desktopHeading___3cKg8 h4{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0;color:#525252}.-esm-active-visits__active-visits__tabletHeading___vrNoH h4{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0;color:#525252}.-esm-active-visits__active-visits__desktopHeading___3cKg8,.-esm-active-visits__active-visits__tabletHeading___vrNoH{text-align:left;text-transform:capitalize;margin-bottom:1rem}.-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}',""]),n.locals={productiveHeading01:"-esm-active-visits__active-visits__productiveHeading01___5dzOt",productiveHeading02:"-esm-active-visits__active-visits__productiveHeading02___-o9Tn",bodyLong01:"-esm-active-visits__active-visits__bodyLong01___xwAEE",caption01:"-esm-active-visits__active-visits__caption01___e7sSC",bodyShort02:"-esm-active-visits__active-visits__bodyShort02___BiPkR",text02:"-esm-active-visits__active-visits__text02___lkEHs",text01:"-esm-active-visits__active-visits__text01___iTf3H",activeVisitsContainer:"-esm-active-visits__active-visits__activeVisitsContainer___XAE0K",activeVisitsDetailHeaderContainer:"-esm-active-visits__active-visits__activeVisitsDetailHeaderContainer___pjwhu",backgroundDataFetchingIndicator:"-esm-active-visits__active-visits__backgroundDataFetchingIndicator___YszBc",tableContainer:"-esm-active-visits__active-visits__tableContainer___27wfu",pagination:"-esm-active-visits__active-visits__pagination___h8NbE",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"};const s=n},2221:(e,t,i)=>{i.r(t),i.d(t,{default:()=>q});var a=i(9902),n=i.n(a),s=i(8580),r=i(182),o=i(6069),l=i(160),c=i(9034),v=i(5746),_=i(4750),d=i(364),m=i(7500),u=i(8804),p=i(8117),g=i(1358),f=i(2427),h=i(318),b=i(3783),y=i(448),E=i(8306),w=i(3066),x=i(4924),S=function(e){var t=e.width,i=void 0===t?"61":t,a=e.height,s=void 0===a?"59":a;return n().createElement("svg",{width:i,height:s,viewBox:"0 0 61 59"},n().createElement("title",null,"Empty data illustration"),n().createElement("g",{fill:"none",fillRule:"evenodd"},n().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"}),n().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"}),n().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"}),n().createElement("circle",{fill:"#C6C6C6",cx:17.636,cy:2.314,r:1.855}),n().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:17.636,cy:2.314,r:1.175}),n().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"}),n().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"}),n().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"}),n().createElement("circle",{fill:"#C6C6C6",cx:40.218,cy:9.755,r:1.855}),n().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:40.218,cy:9.755,r:1.13})))},C=i(9857),H=i(3565),O=i.n(H),k=i(6824),V=i.n(k),N=i(6635);O().extend(V());var D=i(6062),T=i.n(D),z=i(4036),j=i.n(z),A=i(6793),P=i.n(A),Z=i(7892),F=i.n(Z),L=i(1173),R=i.n(L),I=i(2464),M=i.n(I),B=i(7935),K={};K.styleTagTransform=M(),K.setAttributes=F(),K.insert=P().bind(null,"head"),K.domAPI=j(),K.insertStyleElement=R(),T()(B.Z,K);const U=B.Z&&B.Z.locals?B.Z.locals:void 0;function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=new Array(t);i<t;i++)a[i]=e[i];return a}function X(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function J(){return J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},J.apply(this,arguments)}function $(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var a,n,s=[],r=!0,o=!1;try{for(i=i.call(e);!(r=(a=i.next()).done)&&(s.push(a.value),!t||s.length!==t);r=!0);}catch(e){o=!0,n=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw n}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Y(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Y(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var G=function(e){var t=e.from,i=e.to,a=e.children;return n().createElement("a",{onClick:function(e){return function(e,i){e.preventDefault(),(0,w.navigate)({to:i}),localStorage.setItem("fromPage",t)}(e,i)},href:(0,w.interpolateUrl)(i)},a)};const q=function(){var e,t,i,H,k=(0,x.useTranslation)().t,V=(0,w.useConfig)(),D=(0,w.useLayoutType)(),T=function(){var e,t,i=(0,w.useSession)(),a=O()().format("YYYY-MM-DD"),n=null==i||null===(e=i.sessionLocation)||void 0===e?void 0:e.uuid,s="/ws/rest/v1/visit?includeInactive=false&v=".concat("custom:(uuid,patient:(uuid,identifiers:(identifier,uuid),person:(age,display,gender,uuid)),visitType:(uuid,name,display),location:(uuid,name,display),startDatetime,stopDatetime)&fromStartDate="+a+"&location="+n),r=(0,C.ZP)(n?s:null,w.openmrsFetch),o=r.data,l=r.error,c=r.isValidating,v=(null==o||null===(t=o.data)||void 0===t?void 0:t.results.length)?o.data.results.map((function(e){var t,i,a,n,s,r,o,l,c,v,_;return{age:null==e||null===(t=e.patient)||void 0===t||null===(i=t.person)||void 0===i?void 0:i.age,id:e.uuid,idNumber:null===(n=null==e||null===(a=e.patient)||void 0===a?void 0:a.identifiers[0])||void 0===n?void 0:n.identifier,gender:null==e||null===(s=e.patient)||void 0===s||null===(r=s.person)||void 0===r?void 0:r.gender,location:null==e||null===(o=e.location)||void 0===o?void 0:o.uuid,name:null==e||null===(l=e.patient)||void 0===l||null===(c=l.person)||void 0===c?void 0:c.display,patientUuid:null==e||null===(v=e.patient)||void 0===v?void 0:v.uuid,visitStartTime:null==e?void 0:e.startDatetime,visitType:null==e||null===(_=e.visitType)||void 0===_?void 0:_.display,visitUuid:e.uuid}})).filter((function(e){var t=e.visitStartTime;return O()(t).isToday()})):[];return{activeVisits:v,isLoading:!o&&!l,isError:l,isValidating:c}}(),z=T.activeVisits,j=(T.isError,T.isLoading),A=T.isValidating,P="desktop"===D,Z=null!==(i=null==V||null===(e=V.activeVisits)||void 0===e?void 0:e.pageSizes)&&void 0!==i?i:[10,20,30,40,50],F=$((0,a.useState)(null!==(H=null==V||null===(t=V.activeVisits)||void 0===t?void 0:t.pageSize)&&void 0!==H?H:10),2),L=F[0],R=F[1],I=$((0,a.useState)(""),2),M=I[0],B=I[1],K=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("/");return(0,N.last)(e)}(window.location.pathname),Y=(0,a.useMemo)((function(){return[{id:0,header:k("visitStartTime","Visit Time"),key:"visitStartTime"},{id:1,header:k("idNumber","ID Number"),key:"idNumber"},{id:2,header:k("name","Name"),key:"name"},{id:3,header:k("gender","Gender"),key:"gender"},{id:4,header:k("age","Age"),key:"age"},{id:5,header:k("visitType","Visit Type"),key:"visitType"}]}),[k]),q=z.map((function(e){return t=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},a=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(i).filter((function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable})))),a.forEach((function(t){X(e,t,i[t])}))}return e}({},e),i=null!=(i={visitStartTime:(0,w.formatDatetime)((0,w.parseDate)(e.visitStartTime))})?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):function(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);i.push.apply(i,a)}return i}(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})),t;var t,i})),Q=(0,a.useMemo)((function(){if(M&&""!==M.trim()){var e=M.toLowerCase();return q.filter((function(t){return Object.keys(t).some((function(i){return"patientUuid"!==i&&"".concat(t[i]).toLowerCase().includes(e)}))}))}return q}),[M,q]),W=(0,w.usePagination)(Q,L),ee=W.goTo,te=W.results,ie=W.currentPage,ae=(0,a.useCallback)((function(e){return B(e.target.value)}),[]);return(0,a.useEffect)((function(){1!==ie&&ee(1)}),[M]),j?n().createElement(s.Z,{role:"progressbar"}):(null==z?void 0:z.length)?n().createElement("div",{className:U.activeVisitsContainer},n().createElement("div",{className:U.activeVisitsDetailHeaderContainer},n().createElement("div",{className:P?U.desktopHeading:U.tabletHeading},n().createElement("h4",null,k("activeVisits","Active Visits"))),n().createElement("div",{className:U.backgroundDataFetchingIndicator},n().createElement("span",null,A?n().createElement(r.Z,null):null))),n().createElement(o.ZP,{rows:te,headers:Y,size:P?"compact":"normal",useZebraStyles:!0},(function(e){var t=e.rows,i=e.headers,a=e.getHeaderProps,s=e.getTableProps,r=e.getBatchActionProps,o=e.getRowProps;return n().createElement(l.Z,{className:U.tableContainer},n().createElement(c.Z,null,n().createElement(v.Z,null,n().createElement(_.Z,{tabIndex:r().shouldShowBatchActions?-1:0,labelText:"",placeholder:k("filterTable","Filter table"),onChange:ae}))),n().createElement(d.Z,J({className:U.activeVisitsTable},s()),n().createElement(m.Z,null,n().createElement(u.Z,null,n().createElement(p.Z,null),i.map((function(e){return n().createElement(g.Z,J({},a({header:e})),e.header)})))),n().createElement(f.Z,null,t.map((function(e,t){var a,s;return n().createElement(n().Fragment,{key:t},n().createElement(h.Z,J({},o({row:e})),e.cells.map((function(e){var i;return n().createElement(b.Z,{key:e.id},"name"===e.info.header?n().createElement(G,{from:K,to:"${openmrsSpaBase}/patient/".concat(null==te||null===(i=te[t])||void 0===i?void 0:i.patientUuid,"/chart/")},e.value):e.value)}))),e.isExpanded?n().createElement(u.Z,{className:U.expandedActiveVisitRow},n().createElement("th",{colSpan:i.length+2},n().createElement(w.ExtensionSlot,{className:U.visitSummaryContainer,extensionSlotName:"visit-summary-slot",state:{visitUuid:null===(a=te[t])||void 0===a?void 0:a.visitUuid,patientUuid:null===(s=te[t])||void 0===s?void 0:s.patientUuid}}))):n().createElement("div",null))})))),0===t.length&&n().createElement("p",{style:{height:P?"2rem":"3rem",marginLeft:P?"2rem":"3rem"},className:"".concat(U.emptyRow," ").concat(U.bodyLong01)},k("noVisitsFound","No visits found")),n().createElement(y.Z,{forwardText:"Next page",backwardText:"Previous page",page:ie,pageSize:L,pageSizes:Z,totalItems:Q.length,className:U.pagination,onChange:function(e){var t=e.pageSize,i=e.page;t!==L&&R(t),i!==ie&&ee(i)}}))}))):n().createElement("div",{className:U.activeVisitsContainer},n().createElement(E.n9,{light:!0,className:U.tile},n().createElement("div",{className:P?U.desktopHeading:U.tabletHeading},n().createElement("h4",null,k("activeVisits","Active Visits"))),n().createElement(S,null),n().createElement("p",{className:U.content},k("noActiveVisitsForLocation","There are no active visits to display for this location."))))}}}]);
|
package/dist/260.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
(self.webpackChunk_openmrs_esm_active_visits_app=self.webpackChunk_openmrs_esm_active_visits_app||[]).push([[260],{5787:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var o=n(5882),a=n(4245),r=n(8775),l=n(3980),c=n.n(l),i=n(9902),s=n.n(i),u=n(2779),d=n.n(u),f=n(330),v=["paragraph","lineCount","width","heading","className"],b=[.973051493507435,.15334737213558558,.5671034553053769];function h(e,t,n){return Math.floor(b[n%3]*(t-e+1))+e}var p=function(e){var t,n=e.paragraph,l=e.lineCount,c=e.width,i=e.heading,u=e.className,b=(0,r.Z)(e,v),p=(0,f.A)(),m=d()((t={},(0,a.Z)(t,"".concat(p,"--skeleton__text"),!0),(0,a.Z)(t,"".concat(p,"--skeleton__heading"),i),(0,a.Z)(t,u,u),t)),y=parseInt(c,10),g=c.includes("px");if(c.includes("%")&&n){for(var Z=[],w=0;w<l;w++){var N=h(0,75,w)+"px";Z.push(s().createElement("p",(0,o.Z)({className:m,style:{width:"calc(".concat(c," - ").concat(N,")")},key:w},b)))}return s().createElement("div",null,Z)}if(g&&n){for(var O=[],T=0;T<l;T++){var _=h(y-75,y,T)+"px";O.push(s().createElement("p",(0,o.Z)({className:m,style:{width:_},key:T},b)))}return s().createElement("div",null,O)}return s().createElement("p",(0,o.Z)({className:m,style:{width:c}},b))};p.propTypes={className:c().string,heading:c().bool,lineCount:c().number,paragraph:c().bool,width:c().string},p.defaultProps={paragraph:!1,width:"100%",heading:!1,lineCount:3};const m=p},7513:(e,t,n)=>{"use strict";n.d(t,{Z:()=>O});var o=n(145),a=n(7823),r=n(5882),l=n(8775),c=n(7055),i=n(220),s=n(927),u=n(8605),d=n(5806),f=n(4245),v=n(3980),b=n.n(v),h=n(9902),p=n.n(h),m=n(2779),y=n.n(m),g=n(3597),Z=n(330),w=["id","className","handleTabClick","handleTabKeyDown","disabled","href","index","label","selected","tabIndex","onClick","onKeyDown","renderAnchor","renderButton","renderContent","role"];var N=function(e){(0,s.Z)(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=(0,d.Z)(t);if(n){var a=(0,d.Z)(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return(0,u.Z)(this,e)});function a(){return(0,c.Z)(this,a),o.apply(this,arguments)}return(0,i.Z)(a,[{key:"render",value:function(){var e,t,n=this,o=this.context,a=this.props,c=a.id,i=a.className,s=a.handleTabClick,u=a.handleTabKeyDown,d=a.disabled,v=a.href,b=void 0===v?"#":v,h=a.index,m=a.label,g=a.selected,Z=a.tabIndex,N=void 0===Z?0:Z,O=a.onClick,T=a.onKeyDown,_=a.renderAnchor,C=a.renderButton,E=(a.renderContent,a.role,(0,l.Z)(a,w)),S=y()(i,"".concat(o,"--tabs--scrollable__nav-item"),(e={},(0,f.Z)(e,"".concat(o,"--tabs__nav-item--disabled"),d),(0,f.Z)(e,"".concat(o,"--tabs__nav-item--selected"),g),(0,f.Z)(e,"".concat(o,"--tabs--scrollable__nav-item--disabled"),d),(0,f.Z)(e,"".concat(o,"--tabs--scrollable__nav-item--selected"),g),e)),x=(t={},(0,f.Z)(t,"aria-selected",g),(0,f.Z)(t,"aria-disabled",d),(0,f.Z)(t,"aria-controls",c&&"".concat(c,"__panel")),(0,f.Z)(t,"id",c),(0,f.Z)(t,"className","".concat(o,"--tabs--scrollable__nav-link")),(0,f.Z)(t,"href",b),(0,f.Z)(t,"tabIndex",d?-1:N),(0,f.Z)(t,"ref",(function(e){n.tabAnchor=e})),t),I=C||_;return p().createElement("li",(0,r.Z)({},E,{className:S,onClick:function(e){d||(s&&s(h,e),O(e))},onKeyDown:function(e){d||(u&&u(h,e),T(e))},role:"presentation"}),I?I(x):p().createElement("button",(0,r.Z)({type:"button",role:"tab"},x),m))}}]),a}(p().Component);(0,f.Z)(N,"contextType",Z.T),(0,f.Z)(N,"propTypes",{className:b().string,disabled:b().bool,handleTabClick:b().func,handleTabKeyDown:b().func,href:(0,g.Z)(b().string),id:b().string,index:b().number,label:o.am("enable-v11-release")?b().node.isRequired:b().node,onClick:b().func.isRequired,onKeyDown:b().func.isRequired,renderAnchor:(0,g.Z)(b().func),renderButton:b().func,renderContent:b().func,role:(0,g.Z)(b().string),selected:b().bool.isRequired,tabIndex:b().number}),(0,f.Z)(N,"defaultProps",{label:o.am("enable-v11-release")?void 0:"provide a label",selected:!1,onClick:function(){},onKeyDown:function(){}});const O=o.am("enable-v11-release")?a.OK:N},3950:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>K});var o=n(145),a=n(7823),r=n(5882),l=n(8775),c=n(7055),i=n(220),s=n(8127),u=n(927),d=n(8605),f=n(5806),v=n(4245),b=n(3980),h=n.n(b),p=n(9902),m=n.n(p),y=n(2779),g=n.n(y),Z=n(8358),w=n(594),N=n.n(w),O=n(4509),T=n(4817),_=n(1905),C=n(9130),E=n(1223),S=n(330),x=["className","selected","children"],I=function(e){var t=e.className,n=e.selected,o=e.children,a=(0,l.Z)(e,x),c=(0,S.A)(),i=g()("".concat(c,"--tab-content"),(0,v.Z)({},t,t)),s=(0,p.useRef)(null),u=function(e){var t=(0,p.useState)(!1),n=(0,_.Z)(t,2),o=n[0],a=n[1];return(0,E.Z)((function(){e.current&&a(e.current.querySelector(C.Kq))})),o}(s);return m().createElement("div",(0,r.Z)({role:"tabpanel"},a,{className:i,selected:n,hidden:!n,ref:s,tabIndex:u?void 0:0}),o)};I.propTypes={children:h().node,className:h().string,selected:h().bool},I.defaultProps={selected:!1};const R=I;var A=["className","type","light","onSelectionChange","scrollDebounceWait","scrollIntoView","selectionMode","tabContentClassName","leftOverflowButtonProps","rightOverflowButtonProps"];var D=function(e){(0,u.Z)(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=(0,f.Z)(t);if(n){var a=(0,f.Z)(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return(0,d.Z)(this,e)});function a(){var e;(0,c.Z)(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=o.call.apply(o,[this].concat(n)),(0,v.Z)((0,s.Z)(e),"state",{horizontalOverflow:!1}),(0,v.Z)((0,s.Z)(e),"tablist",m().createRef()),(0,v.Z)((0,s.Z)(e),"leftOverflowNavButton",m().createRef()),(0,v.Z)((0,s.Z)(e),"rightOverflowNavButton",m().createRef()),(0,v.Z)((0,s.Z)(e),"OVERFLOW_BUTTON_OFFSET",40),(0,v.Z)((0,s.Z)(e),"handleScroll",(function(){var t;if(null!==(t=e.tablist)&&void 0!==t&&t.current){var n=e.tablist.current,o=n.clientWidth,a=n.scrollLeft,r=n.scrollWidth;e.setState({tablistClientWidth:o,horizontalOverflow:r>o,tablistScrollWidth:r,tablistScrollLeft:a})}})),(0,v.Z)((0,s.Z)(e),"_debouncedHandleWindowResize",null),(0,v.Z)((0,s.Z)(e),"_handleWindowResize",e.handleScroll),(0,v.Z)((0,s.Z)(e),"_debouncedHandleScroll",null),(0,v.Z)((0,s.Z)(e),"_handleScroll",e.handleScroll),(0,v.Z)((0,s.Z)(e),"getEnabledTabs",(function(){return m().Children.toArray(e.props.children).reduce((function(e,t,n){return t.props.disabled?e:e.concat(n)}),[])})),(0,v.Z)((0,s.Z)(e),"getNextIndex",(function(t,n){var o=e.getEnabledTabs(),a=Math.max(o.indexOf(t)+n,-1);return o[a>=0&&a<o.length?a:a-Math.sign(a)*o.length]})),(0,v.Z)((0,s.Z)(e),"getDirection",(function(e){return(0,O.EQ)(e,T.Xd)?-1:(0,O.EQ)(e,T.ol)?1:0})),(0,v.Z)((0,s.Z)(e),"getTabAt",(function(t,n){return!n&&e["tab".concat(t)]||m().Children.toArray(e.props.children)[t]})),(0,v.Z)((0,s.Z)(e),"scrollTabIntoView",(function(t,n){var o=n.index,a=e.getTabAt(o);if((0,O.wB)(t,[T.Xd,T.ol])||"click"===t.type){var r,l,c=e.state.tablistScrollLeft;null==a||null===(r=a.tabAnchor)||void 0===r||r.scrollIntoView({block:"nearest",inline:"nearest"}),null==a||null===(l=a.tabAnchor)||void 0===l||l.focus(),e.tablist.current.scrollLeft>c&&(e.tablist.current.scrollLeft+=e.OVERFLOW_BUTTON_OFFSET)}})),(0,v.Z)((0,s.Z)(e),"selectTabAt",(function(t,n){var o=n.index,a=n.onSelectionChange;e.scrollTabIntoView(t,{index:o}),e.state.selected!==o&&(e.setState({selected:o}),"function"==typeof a&&a(o))})),(0,v.Z)((0,s.Z)(e),"handleTabKeyDown",(function(t){return function(n,o){(0,O.wB)(o,[T.Ce,T.T])&&e.selectTabAt(o,{index:n,onSelectionChange:t});var a,r=(0,O.wB)(o,[T.Xd,T.ol])?e.getNextIndex(n,e.getDirection(o)):(0,O.EQ)(o,T.SK)?0:(0,O.EQ)(o,T.Cj)?e.getEnabledTabs().pop():void 0,l=e.getTabAt(r);(0,O.wB)(o,[T.Xd,T.ol,T.SK,T.Cj])&&(o.preventDefault(),"manual"!==e.props.selectionMode?e.selectTabAt(o,{index:r,onSelectionChange:t}):e.scrollTabIntoView(o,{index:r}),null==l||null===(a=l.tabAnchor)||void 0===a||a.focus())}})),(0,v.Z)((0,s.Z)(e),"getTabs",(function(){return m().Children.map(e.props.children,(function(e){return e}))})),(0,v.Z)((0,s.Z)(e),"handleTabClick",(function(t){return function(n,o){o.preventDefault(),e.selectTabAt(o,{index:n,onSelectionChange:t})}})),(0,v.Z)((0,s.Z)(e),"setTabAt",(function(t,n){e["tab".concat(t)]=n})),(0,v.Z)((0,s.Z)(e),"overflowNavInterval",null),(0,v.Z)((0,s.Z)(e),"handleOverflowNavClick",(function(t,n){var o,a=n.direction,r=n.multiplier,l=void 0===r?10:r,c=null===(o=e.tablist)||void 0===o?void 0:o.current,i=c.clientWidth,s=c.scrollLeft,u=c.scrollWidth;1!==a||s||(e.tablist.current.scrollLeft+=e.OVERFLOW_BUTTON_OFFSET),e.tablist.current.scrollLeft+=a*l;var d,f,v,b,h=-1===a&&s<e.OVERFLOW_BUTTON_OFFSET,p=1===a&&s+i>=u-e.OVERFLOW_BUTTON_OFFSET;(h||p)&&(h&&(null===(d=e.rightOverflowNavButton)||void 0===d||null===(f=d.current)||void 0===f||f.focus()),p&&(null===(v=e.leftOverflowNavButton)||void 0===v||null===(b=v.current)||void 0===b||b.focus()))})),(0,v.Z)((0,s.Z)(e),"handleOverflowNavMouseDown",(function(t,n){var o=n.direction;1===t.buttons&&(e.overflowNavInterval=setInterval((function(){var n,a=null===(n=e.tablist)||void 0===n?void 0:n.current,r=a.clientWidth,l=a.scrollLeft,c=a.scrollWidth,i=-1===o&&l<e.OVERFLOW_BUTTON_OFFSET,s=1===o&&l+r>=c-e.OVERFLOW_BUTTON_OFFSET;(i||s)&&clearInterval(e.overflowNavInterval),e.handleOverflowNavClick(t,{direction:o})})))})),(0,v.Z)((0,s.Z)(e),"handleOverflowNavMouseUp",(function(){clearInterval(e.overflowNavInterval)})),e}return(0,i.Z)(a,[{key:"componentDidMount",value:function(){var e;this._debouncedHandleWindowResize||(this._debouncedHandleWindowResize=N()(this._handleWindowResize,200)),this._handleWindowResize(),window.addEventListener("resize",this._debouncedHandleWindowResize),this._debouncedHandleScroll||(this._debouncedHandleScroll=N()(this._handleScroll,this.props.scrollDebounceWait));var t=(null===(e=this.tablist)||void 0===e?void 0:e.current)||{},n=t.clientWidth,o=t.scrollLeft,a=t.scrollWidth,r=this.getTabAt(this.state.selected);if(a>n){var l,c,i,s=(null==r||null===(l=r.tabAnchor)||void 0===l?void 0:l.getBoundingClientRect().right)<(null==r||null===(c=r.tabAnchor)||void 0===c?void 0:c.offsetParent.getBoundingClientRect().right),u=o+n===a;this.props.scrollIntoView&&(null==r||null===(i=r.tabAnchor)||void 0===i||i.scrollIntoView({block:"nearest",inline:"nearest"})),s||u||(this.tablist.current.scrollLeft+=2*this.OVERFLOW_BUTTON_OFFSET)}}},{key:"componentWillUnmount",value:function(){this._debouncedHandleWindowResize&&this._debouncedHandleWindowResize.cancel(),window.removeEventListener("resize",this._debouncedHandleWindowResize)}},{key:"componentDidUpdate",value:function(e,t){var n,o,a=this.tablist.current,r=a.clientWidth,l=a.scrollLeft,c=a.scrollWidth,i=this.state,s=i.tablistClientWidth,u=i.tablistScrollLeft,d=i.tablistScrollWidth,f=i.selected;r===s&&l===u&&c===d||this.setState({horizontalOverflow:c>r,tablistClientWidth:r,tablistScrollLeft:l,tablistScrollWidth:c}),this.props.scrollIntoView&&t.selected!==f&&(null===(n=this.getTabAt(f))||void 0===n||null===(o=n.tabAnchor)||void 0===o||o.scrollIntoView({block:"nearest",inline:"nearest"}))}},{key:"render",value:function(){var e,t,n,o=this,a=this.props,c=a.className,i=a.type,s=a.light,u=a.onSelectionChange,d=(a.scrollDebounceWait,a.scrollIntoView,a.selectionMode,a.tabContentClassName),f=a.leftOverflowButtonProps,b=a.rightOverflowButtonProps,h=(0,l.Z)(a,A),p=this.context,y=this.getTabs().map((function(e,t){var n=t===o.state.selected?0:-1;return m().cloneElement(e,{index:t,selected:t===o.state.selected,handleTabClick:o.handleTabClick(u),tabIndex:n,ref:function(e){o.setTabAt(t,e)},handleTabKeyDown:o.handleTabKeyDown(u)})})),w=m().Children.map(y,(function(e){var t=e.props,n=t.id,o=t.children,a=t.selected,r=t.renderContent,l=void 0===r?R:r;return m().createElement(l,{id:n&&"".concat(n,"__panel"),className:d,hidden:!a,selected:a,"aria-labelledby":n},o)})),N=!this.state.horizontalOverflow||!this.state.tablistScrollLeft,O=!this.state.horizontalOverflow||this.state.tablistScrollLeft+this.state.tablistClientWidth===this.state.tablistScrollWidth,T={tabs:g()(c,"".concat(p,"--tabs--scrollable"),(e={},(0,v.Z)(e,"".concat(p,"--tabs--scrollable--container"),"container"===i),(0,v.Z)(e,"".concat(p,"--tabs--scrollable--light"),s),e)),tablist:g()("".concat(p,"--tabs--scrollable__nav")),leftOverflowButtonClasses:g()((t={},(0,v.Z)(t,"".concat(p,"--tab--overflow-nav-button"),this.state.horizontalOverflow),(0,v.Z)(t,"".concat(p,"--tab--overflow-nav-button--hidden"),N),t)),rightOverflowButtonClasses:g()((n={},(0,v.Z)(n,"".concat(p,"--tab--overflow-nav-button"),this.state.horizontalOverflow),(0,v.Z)(n,"".concat(p,"--tab--overflow-nav-button--hidden"),O),n))};return m().createElement(m().Fragment,null,m().createElement("div",(0,r.Z)({},h,{className:T.tabs}),m().createElement("button",(0,r.Z)({"aria-hidden":"true","aria-label":"Scroll left",className:T.leftOverflowButtonClasses,onClick:function(e){return o.handleOverflowNavClick(e,{direction:-1})},onMouseDown:function(e){return o.handleOverflowNavMouseDown(e,{direction:-1})},onMouseUp:this.handleOverflowNavMouseUp,ref:this.leftOverflowNavButton,tabIndex:"-1",type:"button"},f),m().createElement(Z.cDj,null)),!N&&m().createElement("div",{className:"".concat(p,"--tabs__overflow-indicator--left")}),m().createElement("ul",{role:"tablist",tabIndex:-1,className:T.tablist,ref:this.tablist,onScroll:this._debouncedHandleScroll},y),!O&&m().createElement("div",{className:"".concat(p,"--tabs__overflow-indicator--right")}),m().createElement("button",(0,r.Z)({"aria-hidden":"true","aria-label":"Scroll right",className:T.rightOverflowButtonClasses,onClick:function(e){return o.handleOverflowNavClick(e,{direction:1})},onMouseDown:function(e){return o.handleOverflowNavMouseDown(e,{direction:1})},onMouseUp:this.handleOverflowNavMouseUp,ref:this.rightOverflowNavButton,tabIndex:"-1",type:"button"},b),m().createElement(Z.F3j,null))),w)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.selected;return t.prevSelected===n?null:{selected:n,prevSelected:n}}}]),a}(m().Component);(0,v.Z)(D,"propTypes",{children:h().node,className:h().string,hidden:h().bool,leftOverflowButtonProps:h().object,light:h().bool,onClick:h().func,onKeyDown:h().func,onSelectionChange:h().func,rightOverflowButtonProps:h().object,scrollDebounceWait:h().number,scrollIntoView:h().bool,selected:h().number,selectionMode:h().oneOf(["automatic","manual"]),tabContentClassName:h().string,type:h().oneOf(["default","container"])}),(0,v.Z)(D,"defaultProps",{type:"default",scrollIntoView:!0,selected:0,selectionMode:"automatic",scrollDebounceWait:150}),(0,v.Z)(D,"contextType",S.T);var k=["className","type"];function W(){var e=(0,S.A)();return m().createElement("li",{className:"".concat(e,"--tabs--scrollable__nav-item")},m().createElement("div",{className:"".concat(e,"--tabs__nav-link")},m().createElement("span",null)))}function B(e){var t=e.className,n=e.type,o=(0,l.Z)(e,k),a=(0,S.A)(),c=g()(t,"".concat(a,"--tabs"),"".concat(a,"--skeleton"),"".concat(a,"--tabs--scrollable"),(0,v.Z)({},"".concat(a,"--tabs--scrollable--container"),"container"===n));return m().createElement("div",(0,r.Z)({className:c},o),m().createElement("ul",{className:"".concat(a,"--tabs--scrollable__nav")},W(),W(),W(),W(),W()))}B.propTypes={className:h().string,type:h().oneOf(["","default","container"])};var M=["className","contained"];function j(){var e=(0,S.A)();return m().createElement("li",{className:"".concat(e,"--tabs__nav-item")},m().createElement("div",{className:"".concat(e,"--tabs__nav-link")},m().createElement("span",null)))}function F(e){var t=e.className,n=e.contained,o=(0,l.Z)(e,M),a=(0,S.A)(),c=g()(t,"".concat(a,"--tabs"),"".concat(a,"--skeleton"),(0,v.Z)({},"".concat(a,"--tabs--contained"),n));return m().createElement("div",(0,r.Z)({className:c},o),m().createElement("ul",{className:"".concat(a,"--tabs__nav")},j(),j(),j(),j(),j()))}F.propTypes={className:h().string,contained:h().bool};var L=o.am("enable-v11-release")?a.mQ:D;o.am("enable-v11-release");const K=L},7823:(e,t,n)=>{"use strict";n.d(t,{OK:()=>D,mQ:()=>A});var o=n(5882),a=n(4245),r=n(8775),l=n(1905),c=(n(8358),n(2779)),i=n.n(c),s=(n(594),n(3980)),u=n.n(s),d=n(9902),f=n.n(d),v=n(330),b=["align","as","caret","className","children","dropShadow","highContrast","open"],h=["className","children"],p=f().forwardRef((function(e,t){var n,l=e.align,c=void 0===l?"bottom":l,s=e.as,u=void 0===s?"span":s,d=e.caret,h=void 0===d||d,p=e.className,m=e.children,y=e.dropShadow,g=void 0===y||y,Z=e.highContrast,w=void 0!==Z&&Z,N=e.open,O=(0,r.Z)(e,b),T=(0,v.A)(),_=i()((n={},(0,a.Z)(n,"".concat(T,"--popover-container"),!0),(0,a.Z)(n,"".concat(T,"--popover--caret"),h),(0,a.Z)(n,"".concat(T,"--popover--drop-shadow"),g),(0,a.Z)(n,"".concat(T,"--popover--high-contrast"),w),(0,a.Z)(n,"".concat(T,"--popover--open"),N),(0,a.Z)(n,"".concat(T,"--popover--").concat(c),!0),(0,a.Z)(n,p,!!p),n));return f().createElement(u,(0,o.Z)({},O,{className:_,ref:t}),m)}));p.propTypes={align:u().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top"]),as:u().oneOfType([u().string,u().elementType]),caret:u().bool,children:u().node,className:u().string,dropShadow:u().bool,highContrast:u().bool,open:u().bool.isRequired};var m=f().forwardRef((function(e,t){var n=e.className,a=e.children,l=(0,r.Z)(e,h),c=(0,v.A)();return f().createElement("span",(0,o.Z)({},l,{className:"".concat(c,"--popover")}),f().createElement("span",{className:i()("".concat(c,"--popover-content"),n),ref:t},a),f().createElement("span",{className:"".concat(c,"--popover-caret")}))}));m.propTypes={children:u().node,className:u().string};var y=n(4509),g=n(4817),Z=n(7304);function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function N(e){if(function(e){if(e.tabIndex<0)return!1;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}(e))return e;var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){c=!0,r=e},f:function(){try{l||null==n.return||n.return()}finally{if(c)throw r}}}}(e.childNodes);try{for(n.s();!(t=n.n()).done;){var o=N(t.value);if(o)return o}}catch(e){n.e(e)}finally{n.f()}return null}var O=["align","className","children","label","description","enterDelayMs","leaveDelayMs","defaultOpen"];function T(e){var t,n,a,c,s,u,b,h=e.align,w=void 0===h?"top":h,N=e.className,T=e.children,_=e.label,C=e.description,E=e.enterDelayMs,S=void 0===E?100:E,x=e.leaveDelayMs,I=void 0===x?300:x,R=e.defaultOpen,A=void 0!==R&&R,D=(0,r.Z)(e,O),k=(0,d.useRef)(null),W=(0,d.useRef)(null),B=(t=A,n=(0,d.useState)(t),c=(a=(0,l.Z)(n,2))[0],s=a[1],u=(0,d.useRef)(null),b=(0,d.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;clearTimeout(u.current),u.current=null,0!==t?u.current=setTimeout((function(){s(e),u.current=null}),t):s(e)}),[]),(0,d.useEffect)((function(){return function(){clearTimeout(u.current)}}),[]),[c,b]),M=(0,l.Z)(B,2),j=M[0],F=M[1],L=(0,Z.M)("tooltip"),K=(0,v.A)(),V=f().Children.only(T),U={onFocus:function(){return F(!0)},onBlur:function(){return F(!1)},onMouseEnter:function(){F(!0,S)}};return _?U["aria-labelledby"]=L:U["aria-describedby"]=L,f().createElement(p,(0,o.Z)({},D,{align:w,className:i()("".concat(K,"--tooltip"),N),dropShadow:!1,highContrast:!0,onKeyDown:function(e){j&&(0,y.EQ)(e,g.L1)&&(e.stopPropagation(),F(!1))},onMouseLeave:function(){F(!1,I)},open:j,ref:k}),f().cloneElement(V,U),f().createElement(m,{"aria-hidden":"true",className:"".concat(K,"--tooltip-content"),id:L,ref:W,role:"tooltip"},_||C))}T.propTypes={align:u().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top"]),children:u().node,className:u().string,defaultOpen:u().bool,description:u().node,enterDelayMs:u().number,label:u().node,leaveDelayMs:u().number},n(1223);var _=n(4133),C=["as","children","className","disabled","onClick","onKeyDown"],E=["children","className","defaultOpen","enterDelayMs","leaveDelayMs","label"],S=["children","className"],x=f().createContext(),I=f().createContext(),R=f().createContext();function A(e){var t=e.children,n=e.defaultSelectedIndex,o=void 0===n?0:n,a=e.onChange,r=e.selectedIndex,c=(0,Z.M)("ccs"),i=(0,d.useState)(o),s=(0,l.Z)(i,2),u=s[0],v=s[1],b=function(e){var t=e.defaultValue,n=e.name,o=void 0===n?"custom":n,a=e.onChange,r=e.value,c=(0,d.useState)(null!=r?r:t),i=(0,l.Z)(c,2),s=i[0],u=i[1],f=(0,d.useRef)(null);function v(e){var t="function"==typeof e?e(s):e;!1===f.current&&u(t),a&&a(t)}return null===f.current&&(f.current=void 0!==r),(0,d.useEffect)((function(){f.current,f.current}),[o,r]),!0===f.current?[r,v]:[s,v]}({value:r,defaultValue:o,onChange:function(e){a&&a({selectedIndex:e})}}),h=(0,l.Z)(b,2),p={baseId:c,activeIndex:u,defaultSelectedIndex:o,setActiveIndex:v,selectedIndex:h[0],setSelectedIndex:h[1]};return f().createElement(x.Provider,{value:p},t)}A.propTypes={children:u().node,defaultSelectedIndex:u().number,onChange:u().func,selectedIndex:u().number},u().oneOf(["automatic","manual"]),u().string.isRequired,u().node,u().string,u().bool,u().oneOf(["default","lg"]),u().object,u().bool,u().object,u().number,u().bool;var D=f().forwardRef((function(e,t){var n,l=e.as,c=void 0===l?"button":l,s=e.children,u=e.className,d=e.disabled,b=e.onClick,h=e.onKeyDown,p=(0,r.Z)(e,C),m=(0,v.A)(),y=f().useContext(x),g=y.selectedIndex,Z=y.setSelectedIndex,w=y.baseId,N=f().useContext(I),O="".concat(w,"-tab-").concat(N),T="".concat(w,"-tabpanel-").concat(N),_=i()("".concat(m,"--tabs__nav-item"),"".concat(m,"--tabs__nav-link"),u,(n={},(0,a.Z)(n,"".concat(m,"--tabs__nav-item--selected"),g===N),(0,a.Z)(n,"".concat(m,"--tabs__nav-item--disabled"),d),n));return f().createElement(c,(0,o.Z)({},p,{"aria-controls":T,"aria-disabled":d,"aria-selected":g===N,ref:t,id:O,role:"tab",className:_,disabled:d,onClick:function(e){d||(Z(N),b&&b(e))},onKeyDown:h,tabIndex:g===N?"0":"-1",type:"button"}),s)}));D.propTypes={as:u().oneOfType([u().string,u().elementType]),children:u().node,className:u().string,disabled:u().bool,onClick:u().func,onKeyDown:u().func,renderButton:u().func},f().forwardRef((function(e,t){var n=e.children,a=e.className,l=e.defaultOpen,c=void 0!==l&&l,s=e.enterDelayMs,u=e.leaveDelayMs,d=e.label,b=(0,r.Z)(e,E),h=(0,v.A)(),p=i()("".concat(h,"--tabs__nav-item--icon"),a);return f().createElement(T,{align:"bottom",defaultOpen:c,className:"".concat(h,"--icon-tooltip"),enterDelayMs:s,label:d,leaveDelayMs:u},f().createElement(D,(0,o.Z)({className:p,ref:t},b),n))})).propTypes={children:u().node,className:u().string,defaultOpen:u().bool,enterDelayMs:u().number,label:u().node.isRequired,leaveDelayMs:u().number},f().forwardRef((function(e,t){var n=e.children,a=e.className,c=(0,r.Z)(e,S),s=(0,v.A)(),u=(0,d.useRef)(null),b=(0,_.r)([t,u]),h=(0,d.useState)("0"),p=(0,l.Z)(h,2),m=p[0],y=p[1],g=f().useContext(x),Z=g.selectedIndex,w=g.baseId,O=f().useContext(R),T="".concat(w,"-tabpanel-").concat(O),C="".concat(w,"-tab-").concat(O),E=i()("".concat(s,"--tab-content"),a);return(0,d.useEffect)((function(){N(u.current)&&y("-1")}),[]),f().createElement("div",(0,o.Z)({},c,{"aria-labelledby":C,id:T,className:E,ref:b,role:"tabpanel",tabIndex:m,hidden:Z!==O}),n)})).propTypes={children:u().node,className:u().string},u().node},594:(e,t,n)=>{var o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,s="object"==typeof self&&self&&self.Object===Object&&self,u=i||s||Function("return this")(),d=Object.prototype.toString,f=Math.max,v=Math.min,b=function(){return u.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function p(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=r.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}e.exports=function(e,t,n){var o,a,r,l,c,i,s=0,u=!1,d=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=o,r=a;return o=a=void 0,s=t,l=e.apply(r,n)}function g(e){return s=e,c=setTimeout(w,t),u?y(e):l}function Z(e){var n=e-i;return void 0===i||n>=t||n<0||d&&e-s>=r}function w(){var e=b();if(Z(e))return N(e);c=setTimeout(w,function(e){var n=t-(e-i);return d?v(n,r-(e-s)):n}(e))}function N(e){return c=void 0,m&&o?y(e):(o=a=void 0,l)}function O(){var e=b(),n=Z(e);if(o=arguments,a=this,i=e,n){if(void 0===c)return g(i);if(d)return c=setTimeout(w,t),y(i)}return void 0===c&&(c=setTimeout(w,t)),l}return t=p(t)||0,h(n)&&(u=!!n.leading,r=(d="maxWait"in n)?f(p(n.maxWait)||0,t):r,m="trailing"in n?!!n.trailing:m),O.cancel=function(){void 0!==c&&clearTimeout(c),s=0,o=i=a=c=void 0},O.flush=function(){return void 0===c?l:N(b())},O}},8260:(e,t,n)=>{"use strict";n.d(t,{Z:()=>D});const o="object"==typeof global&&global&&global.Object===Object&&global;var a="object"==typeof self&&self&&self.Object===Object&&self;const r=(o||a||Function("return this")()).Symbol,l=Array.isArray;var c=Object.prototype,i=c.hasOwnProperty,s=c.toString,u=r?r.toStringTag:void 0;var d=Object.prototype.toString;var f=r?r.toStringTag:void 0;const v=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":f&&f in Object(e)?function(e){var t=i.call(e,u),n=e[u];try{e[u]=void 0;var o=!0}catch(e){}var a=s.call(e);return o&&(t?e[u]=n:delete e[u]),a}(e):function(e){return d.call(e)}(e)};var b=r?r.prototype:void 0,h=b?b.toString:void 0;const p=function e(t){if("string"==typeof t)return t;if(l(t))return function(e,t){for(var n=-1,o=null==e?0:e.length,a=Array(o);++n<o;)a[n]=t(e[n],n,e);return a}(t,e)+"";if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==v(e)}(t))return h?h.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},m=function(e){return null==e?"":p(e)},y=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:function(e,t,n){var o=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var r=Array(a);++o<a;)r[o]=e[o+t];return r}(e,t,n)};var g=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const Z=function(e){return g.test(e)};var w="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",N="\\ud83c[\\udffb-\\udfff]",O="[^\\ud800-\\udfff]",T="(?:\\ud83c[\\udde6-\\uddff]){2}",_="[\\ud800-\\udbff][\\udc00-\\udfff]",C="(?:"+w+"|"+N+")?",E="[\\ufe0e\\ufe0f]?",S=E+C+"(?:\\u200d(?:"+[O,T,_].join("|")+")"+E+C+")*",x="(?:"+[O+w+"?",w,T,_,"[\\ud800-\\udfff]"].join("|")+")",I=RegExp(N+"(?="+N+")|"+x+S,"g");const R=function(e){return Z(e)?function(e){return e.match(I)||[]}(e):function(e){return e.split("")}(e)},A=function(e){e=m(e);var t=Z(e)?R(e):void 0,n=t?t[0]:e.charAt(0),o=t?y(t,1).join(""):e.slice(1);return n.toUpperCase()+o},D=function(e){return A(m(e).toLowerCase())}}}]);
|
|
2
|
-
//# sourceMappingURL=260.js.map
|
|
1
|
+
(self.webpackChunk_openmrs_esm_active_visits_app=self.webpackChunk_openmrs_esm_active_visits_app||[]).push([[260],{5787:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var o=n(7896),a=n(6666),r=n(2159),l=n(3980),c=n.n(l),i=n(9902),s=n.n(i),u=n(2779),d=n.n(u),f=n(330),v=["paragraph","lineCount","width","heading","className"],b=[.973051493507435,.15334737213558558,.5671034553053769];function h(e,t,n){return Math.floor(b[n%3]*(t-e+1))+e}var p=function(e){var t,n=e.paragraph,l=e.lineCount,c=e.width,i=e.heading,u=e.className,b=(0,r.Z)(e,v),p=(0,f.A)(),m=d()((t={},(0,a.Z)(t,"".concat(p,"--skeleton__text"),!0),(0,a.Z)(t,"".concat(p,"--skeleton__heading"),i),(0,a.Z)(t,u,u),t)),y=parseInt(c,10),g=c.includes("px");if(c.includes("%")&&n){for(var Z=[],w=0;w<l;w++){var N=h(0,75,w)+"px";Z.push(s().createElement("p",(0,o.Z)({className:m,style:{width:"calc(".concat(c," - ").concat(N,")")},key:w},b)))}return s().createElement("div",null,Z)}if(g&&n){for(var O=[],T=0;T<l;T++){var _=h(y-75,y,T)+"px";O.push(s().createElement("p",(0,o.Z)({className:m,style:{width:_},key:T},b)))}return s().createElement("div",null,O)}return s().createElement("p",(0,o.Z)({className:m,style:{width:c}},b))};p.propTypes={className:c().string,heading:c().bool,lineCount:c().number,paragraph:c().bool,width:c().string},p.defaultProps={paragraph:!1,width:"100%",heading:!1,lineCount:3};const m=p},7513:(e,t,n)=>{"use strict";n.d(t,{Z:()=>O});var o=n(145),a=n(7823),r=n(7896),l=n(2159),c=n(9249),i=n(7371),s=n(8106),u=n(1987),d=n(5058),f=n(6666),v=n(3980),b=n.n(v),h=n(9902),p=n.n(h),m=n(2779),y=n.n(m),g=n(3597),Z=n(330),w=["id","className","handleTabClick","handleTabKeyDown","disabled","href","index","label","selected","tabIndex","onClick","onKeyDown","renderAnchor","renderButton","renderContent","role"];var N=function(e){(0,s.Z)(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=(0,d.Z)(t);if(n){var a=(0,d.Z)(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return(0,u.Z)(this,e)});function a(){return(0,c.Z)(this,a),o.apply(this,arguments)}return(0,i.Z)(a,[{key:"render",value:function(){var e,t,n=this,o=this.context,a=this.props,c=a.id,i=a.className,s=a.handleTabClick,u=a.handleTabKeyDown,d=a.disabled,v=a.href,b=void 0===v?"#":v,h=a.index,m=a.label,g=a.selected,Z=a.tabIndex,N=void 0===Z?0:Z,O=a.onClick,T=a.onKeyDown,_=a.renderAnchor,C=a.renderButton,E=(a.renderContent,a.role,(0,l.Z)(a,w)),S=y()(i,"".concat(o,"--tabs--scrollable__nav-item"),(e={},(0,f.Z)(e,"".concat(o,"--tabs__nav-item--disabled"),d),(0,f.Z)(e,"".concat(o,"--tabs__nav-item--selected"),g),(0,f.Z)(e,"".concat(o,"--tabs--scrollable__nav-item--disabled"),d),(0,f.Z)(e,"".concat(o,"--tabs--scrollable__nav-item--selected"),g),e)),x=(t={},(0,f.Z)(t,"aria-selected",g),(0,f.Z)(t,"aria-disabled",d),(0,f.Z)(t,"aria-controls",c&&"".concat(c,"__panel")),(0,f.Z)(t,"id",c),(0,f.Z)(t,"className","".concat(o,"--tabs--scrollable__nav-link")),(0,f.Z)(t,"href",b),(0,f.Z)(t,"tabIndex",d?-1:N),(0,f.Z)(t,"ref",(function(e){n.tabAnchor=e})),t),I=C||_;return p().createElement("li",(0,r.Z)({},E,{className:S,onClick:function(e){d||(s&&s(h,e),O(e))},onKeyDown:function(e){d||(u&&u(h,e),T(e))},role:"presentation"}),I?I(x):p().createElement("button",(0,r.Z)({type:"button",role:"tab"},x),m))}}]),a}(p().Component);(0,f.Z)(N,"contextType",Z.T),(0,f.Z)(N,"propTypes",{className:b().string,disabled:b().bool,handleTabClick:b().func,handleTabKeyDown:b().func,href:(0,g.Z)(b().string),id:b().string,index:b().number,label:o.am("enable-v11-release")?b().node.isRequired:b().node,onClick:b().func.isRequired,onKeyDown:b().func.isRequired,renderAnchor:(0,g.Z)(b().func),renderButton:b().func,renderContent:b().func,role:(0,g.Z)(b().string),selected:b().bool.isRequired,tabIndex:b().number}),(0,f.Z)(N,"defaultProps",{label:o.am("enable-v11-release")?void 0:"provide a label",selected:!1,onClick:function(){},onKeyDown:function(){}});const O=o.am("enable-v11-release")?a.OK:N},3950:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>K});var o=n(145),a=n(7823),r=n(7896),l=n(2159),c=n(9249),i=n(7371),s=n(753),u=n(8106),d=n(1987),f=n(5058),v=n(6666),b=n(3980),h=n.n(b),p=n(9902),m=n.n(p),y=n(2779),g=n.n(y),Z=n(8358),w=n(594),N=n.n(w),O=n(4509),T=n(4817),_=n(2867),C=n(9130),E=n(1223),S=n(330),x=["className","selected","children"],I=function(e){var t=e.className,n=e.selected,o=e.children,a=(0,l.Z)(e,x),c=(0,S.A)(),i=g()("".concat(c,"--tab-content"),(0,v.Z)({},t,t)),s=(0,p.useRef)(null),u=function(e){var t=(0,p.useState)(!1),n=(0,_.Z)(t,2),o=n[0],a=n[1];return(0,E.Z)((function(){e.current&&a(e.current.querySelector(C.Kq))})),o}(s);return m().createElement("div",(0,r.Z)({role:"tabpanel"},a,{className:i,selected:n,hidden:!n,ref:s,tabIndex:u?void 0:0}),o)};I.propTypes={children:h().node,className:h().string,selected:h().bool},I.defaultProps={selected:!1};const R=I;var A=["className","type","light","onSelectionChange","scrollDebounceWait","scrollIntoView","selectionMode","tabContentClassName","leftOverflowButtonProps","rightOverflowButtonProps"];var D=function(e){(0,u.Z)(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=(0,f.Z)(t);if(n){var a=(0,f.Z)(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return(0,d.Z)(this,e)});function a(){var e;(0,c.Z)(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=o.call.apply(o,[this].concat(n)),(0,v.Z)((0,s.Z)(e),"state",{horizontalOverflow:!1}),(0,v.Z)((0,s.Z)(e),"tablist",m().createRef()),(0,v.Z)((0,s.Z)(e),"leftOverflowNavButton",m().createRef()),(0,v.Z)((0,s.Z)(e),"rightOverflowNavButton",m().createRef()),(0,v.Z)((0,s.Z)(e),"OVERFLOW_BUTTON_OFFSET",40),(0,v.Z)((0,s.Z)(e),"handleScroll",(function(){var t;if(null!==(t=e.tablist)&&void 0!==t&&t.current){var n=e.tablist.current,o=n.clientWidth,a=n.scrollLeft,r=n.scrollWidth;e.setState({tablistClientWidth:o,horizontalOverflow:r>o,tablistScrollWidth:r,tablistScrollLeft:a})}})),(0,v.Z)((0,s.Z)(e),"_debouncedHandleWindowResize",null),(0,v.Z)((0,s.Z)(e),"_handleWindowResize",e.handleScroll),(0,v.Z)((0,s.Z)(e),"_debouncedHandleScroll",null),(0,v.Z)((0,s.Z)(e),"_handleScroll",e.handleScroll),(0,v.Z)((0,s.Z)(e),"getEnabledTabs",(function(){return m().Children.toArray(e.props.children).reduce((function(e,t,n){return t.props.disabled?e:e.concat(n)}),[])})),(0,v.Z)((0,s.Z)(e),"getNextIndex",(function(t,n){var o=e.getEnabledTabs(),a=Math.max(o.indexOf(t)+n,-1);return o[a>=0&&a<o.length?a:a-Math.sign(a)*o.length]})),(0,v.Z)((0,s.Z)(e),"getDirection",(function(e){return(0,O.EQ)(e,T.Xd)?-1:(0,O.EQ)(e,T.ol)?1:0})),(0,v.Z)((0,s.Z)(e),"getTabAt",(function(t,n){return!n&&e["tab".concat(t)]||m().Children.toArray(e.props.children)[t]})),(0,v.Z)((0,s.Z)(e),"scrollTabIntoView",(function(t,n){var o=n.index,a=e.getTabAt(o);if((0,O.wB)(t,[T.Xd,T.ol])||"click"===t.type){var r,l,c=e.state.tablistScrollLeft;null==a||null===(r=a.tabAnchor)||void 0===r||r.scrollIntoView({block:"nearest",inline:"nearest"}),null==a||null===(l=a.tabAnchor)||void 0===l||l.focus(),e.tablist.current.scrollLeft>c&&(e.tablist.current.scrollLeft+=e.OVERFLOW_BUTTON_OFFSET)}})),(0,v.Z)((0,s.Z)(e),"selectTabAt",(function(t,n){var o=n.index,a=n.onSelectionChange;e.scrollTabIntoView(t,{index:o}),e.state.selected!==o&&(e.setState({selected:o}),"function"==typeof a&&a(o))})),(0,v.Z)((0,s.Z)(e),"handleTabKeyDown",(function(t){return function(n,o){(0,O.wB)(o,[T.Ce,T.T])&&e.selectTabAt(o,{index:n,onSelectionChange:t});var a,r=(0,O.wB)(o,[T.Xd,T.ol])?e.getNextIndex(n,e.getDirection(o)):(0,O.EQ)(o,T.SK)?0:(0,O.EQ)(o,T.Cj)?e.getEnabledTabs().pop():void 0,l=e.getTabAt(r);(0,O.wB)(o,[T.Xd,T.ol,T.SK,T.Cj])&&(o.preventDefault(),"manual"!==e.props.selectionMode?e.selectTabAt(o,{index:r,onSelectionChange:t}):e.scrollTabIntoView(o,{index:r}),null==l||null===(a=l.tabAnchor)||void 0===a||a.focus())}})),(0,v.Z)((0,s.Z)(e),"getTabs",(function(){return m().Children.map(e.props.children,(function(e){return e}))})),(0,v.Z)((0,s.Z)(e),"handleTabClick",(function(t){return function(n,o){o.preventDefault(),e.selectTabAt(o,{index:n,onSelectionChange:t})}})),(0,v.Z)((0,s.Z)(e),"setTabAt",(function(t,n){e["tab".concat(t)]=n})),(0,v.Z)((0,s.Z)(e),"overflowNavInterval",null),(0,v.Z)((0,s.Z)(e),"handleOverflowNavClick",(function(t,n){var o,a=n.direction,r=n.multiplier,l=void 0===r?10:r,c=null===(o=e.tablist)||void 0===o?void 0:o.current,i=c.clientWidth,s=c.scrollLeft,u=c.scrollWidth;1!==a||s||(e.tablist.current.scrollLeft+=e.OVERFLOW_BUTTON_OFFSET),e.tablist.current.scrollLeft+=a*l;var d,f,v,b,h=-1===a&&s<e.OVERFLOW_BUTTON_OFFSET,p=1===a&&s+i>=u-e.OVERFLOW_BUTTON_OFFSET;(h||p)&&(h&&(null===(d=e.rightOverflowNavButton)||void 0===d||null===(f=d.current)||void 0===f||f.focus()),p&&(null===(v=e.leftOverflowNavButton)||void 0===v||null===(b=v.current)||void 0===b||b.focus()))})),(0,v.Z)((0,s.Z)(e),"handleOverflowNavMouseDown",(function(t,n){var o=n.direction;1===t.buttons&&(e.overflowNavInterval=setInterval((function(){var n,a=null===(n=e.tablist)||void 0===n?void 0:n.current,r=a.clientWidth,l=a.scrollLeft,c=a.scrollWidth,i=-1===o&&l<e.OVERFLOW_BUTTON_OFFSET,s=1===o&&l+r>=c-e.OVERFLOW_BUTTON_OFFSET;(i||s)&&clearInterval(e.overflowNavInterval),e.handleOverflowNavClick(t,{direction:o})})))})),(0,v.Z)((0,s.Z)(e),"handleOverflowNavMouseUp",(function(){clearInterval(e.overflowNavInterval)})),e}return(0,i.Z)(a,[{key:"componentDidMount",value:function(){var e;this._debouncedHandleWindowResize||(this._debouncedHandleWindowResize=N()(this._handleWindowResize,200)),this._handleWindowResize(),window.addEventListener("resize",this._debouncedHandleWindowResize),this._debouncedHandleScroll||(this._debouncedHandleScroll=N()(this._handleScroll,this.props.scrollDebounceWait));var t=(null===(e=this.tablist)||void 0===e?void 0:e.current)||{},n=t.clientWidth,o=t.scrollLeft,a=t.scrollWidth,r=this.getTabAt(this.state.selected);if(a>n){var l,c,i,s=(null==r||null===(l=r.tabAnchor)||void 0===l?void 0:l.getBoundingClientRect().right)<(null==r||null===(c=r.tabAnchor)||void 0===c?void 0:c.offsetParent.getBoundingClientRect().right),u=o+n===a;this.props.scrollIntoView&&(null==r||null===(i=r.tabAnchor)||void 0===i||i.scrollIntoView({block:"nearest",inline:"nearest"})),s||u||(this.tablist.current.scrollLeft+=2*this.OVERFLOW_BUTTON_OFFSET)}}},{key:"componentWillUnmount",value:function(){this._debouncedHandleWindowResize&&this._debouncedHandleWindowResize.cancel(),window.removeEventListener("resize",this._debouncedHandleWindowResize)}},{key:"componentDidUpdate",value:function(e,t){var n,o,a=this.tablist.current,r=a.clientWidth,l=a.scrollLeft,c=a.scrollWidth,i=this.state,s=i.tablistClientWidth,u=i.tablistScrollLeft,d=i.tablistScrollWidth,f=i.selected;r===s&&l===u&&c===d||this.setState({horizontalOverflow:c>r,tablistClientWidth:r,tablistScrollLeft:l,tablistScrollWidth:c}),this.props.scrollIntoView&&t.selected!==f&&(null===(n=this.getTabAt(f))||void 0===n||null===(o=n.tabAnchor)||void 0===o||o.scrollIntoView({block:"nearest",inline:"nearest"}))}},{key:"render",value:function(){var e,t,n,o=this,a=this.props,c=a.className,i=a.type,s=a.light,u=a.onSelectionChange,d=(a.scrollDebounceWait,a.scrollIntoView,a.selectionMode,a.tabContentClassName),f=a.leftOverflowButtonProps,b=a.rightOverflowButtonProps,h=(0,l.Z)(a,A),p=this.context,y=this.getTabs().map((function(e,t){var n=t===o.state.selected?0:-1;return m().cloneElement(e,{index:t,selected:t===o.state.selected,handleTabClick:o.handleTabClick(u),tabIndex:n,ref:function(e){o.setTabAt(t,e)},handleTabKeyDown:o.handleTabKeyDown(u)})})),w=m().Children.map(y,(function(e){var t=e.props,n=t.id,o=t.children,a=t.selected,r=t.renderContent,l=void 0===r?R:r;return m().createElement(l,{id:n&&"".concat(n,"__panel"),className:d,hidden:!a,selected:a,"aria-labelledby":n},o)})),N=!this.state.horizontalOverflow||!this.state.tablistScrollLeft,O=!this.state.horizontalOverflow||this.state.tablistScrollLeft+this.state.tablistClientWidth===this.state.tablistScrollWidth,T={tabs:g()(c,"".concat(p,"--tabs--scrollable"),(e={},(0,v.Z)(e,"".concat(p,"--tabs--scrollable--container"),"container"===i),(0,v.Z)(e,"".concat(p,"--tabs--scrollable--light"),s),e)),tablist:g()("".concat(p,"--tabs--scrollable__nav")),leftOverflowButtonClasses:g()((t={},(0,v.Z)(t,"".concat(p,"--tab--overflow-nav-button"),this.state.horizontalOverflow),(0,v.Z)(t,"".concat(p,"--tab--overflow-nav-button--hidden"),N),t)),rightOverflowButtonClasses:g()((n={},(0,v.Z)(n,"".concat(p,"--tab--overflow-nav-button"),this.state.horizontalOverflow),(0,v.Z)(n,"".concat(p,"--tab--overflow-nav-button--hidden"),O),n))};return m().createElement(m().Fragment,null,m().createElement("div",(0,r.Z)({},h,{className:T.tabs}),m().createElement("button",(0,r.Z)({"aria-hidden":"true","aria-label":"Scroll left",className:T.leftOverflowButtonClasses,onClick:function(e){return o.handleOverflowNavClick(e,{direction:-1})},onMouseDown:function(e){return o.handleOverflowNavMouseDown(e,{direction:-1})},onMouseUp:this.handleOverflowNavMouseUp,ref:this.leftOverflowNavButton,tabIndex:"-1",type:"button"},f),m().createElement(Z.cDj,null)),!N&&m().createElement("div",{className:"".concat(p,"--tabs__overflow-indicator--left")}),m().createElement("ul",{role:"tablist",tabIndex:-1,className:T.tablist,ref:this.tablist,onScroll:this._debouncedHandleScroll},y),!O&&m().createElement("div",{className:"".concat(p,"--tabs__overflow-indicator--right")}),m().createElement("button",(0,r.Z)({"aria-hidden":"true","aria-label":"Scroll right",className:T.rightOverflowButtonClasses,onClick:function(e){return o.handleOverflowNavClick(e,{direction:1})},onMouseDown:function(e){return o.handleOverflowNavMouseDown(e,{direction:1})},onMouseUp:this.handleOverflowNavMouseUp,ref:this.rightOverflowNavButton,tabIndex:"-1",type:"button"},b),m().createElement(Z.F3j,null))),w)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.selected;return t.prevSelected===n?null:{selected:n,prevSelected:n}}}]),a}(m().Component);(0,v.Z)(D,"propTypes",{children:h().node,className:h().string,hidden:h().bool,leftOverflowButtonProps:h().object,light:h().bool,onClick:h().func,onKeyDown:h().func,onSelectionChange:h().func,rightOverflowButtonProps:h().object,scrollDebounceWait:h().number,scrollIntoView:h().bool,selected:h().number,selectionMode:h().oneOf(["automatic","manual"]),tabContentClassName:h().string,type:h().oneOf(["default","container"])}),(0,v.Z)(D,"defaultProps",{type:"default",scrollIntoView:!0,selected:0,selectionMode:"automatic",scrollDebounceWait:150}),(0,v.Z)(D,"contextType",S.T);var k=["className","type"];function W(){var e=(0,S.A)();return m().createElement("li",{className:"".concat(e,"--tabs--scrollable__nav-item")},m().createElement("div",{className:"".concat(e,"--tabs__nav-link")},m().createElement("span",null)))}function B(e){var t=e.className,n=e.type,o=(0,l.Z)(e,k),a=(0,S.A)(),c=g()(t,"".concat(a,"--tabs"),"".concat(a,"--skeleton"),"".concat(a,"--tabs--scrollable"),(0,v.Z)({},"".concat(a,"--tabs--scrollable--container"),"container"===n));return m().createElement("div",(0,r.Z)({className:c},o),m().createElement("ul",{className:"".concat(a,"--tabs--scrollable__nav")},W(),W(),W(),W(),W()))}B.propTypes={className:h().string,type:h().oneOf(["","default","container"])};var M=["className","contained"];function j(){var e=(0,S.A)();return m().createElement("li",{className:"".concat(e,"--tabs__nav-item")},m().createElement("div",{className:"".concat(e,"--tabs__nav-link")},m().createElement("span",null)))}function F(e){var t=e.className,n=e.contained,o=(0,l.Z)(e,M),a=(0,S.A)(),c=g()(t,"".concat(a,"--tabs"),"".concat(a,"--skeleton"),(0,v.Z)({},"".concat(a,"--tabs--contained"),n));return m().createElement("div",(0,r.Z)({className:c},o),m().createElement("ul",{className:"".concat(a,"--tabs__nav")},j(),j(),j(),j(),j()))}F.propTypes={className:h().string,contained:h().bool};var L=o.am("enable-v11-release")?a.mQ:D;o.am("enable-v11-release");const K=L},7823:(e,t,n)=>{"use strict";n.d(t,{OK:()=>D,mQ:()=>A});var o=n(7896),a=n(6666),r=n(2159),l=n(2867),c=(n(8358),n(2779)),i=n.n(c),s=(n(594),n(3980)),u=n.n(s),d=n(9902),f=n.n(d),v=n(330),b=["align","as","caret","className","children","dropShadow","highContrast","open"],h=["className","children"],p=f().forwardRef((function(e,t){var n,l=e.align,c=void 0===l?"bottom":l,s=e.as,u=void 0===s?"span":s,d=e.caret,h=void 0===d||d,p=e.className,m=e.children,y=e.dropShadow,g=void 0===y||y,Z=e.highContrast,w=void 0!==Z&&Z,N=e.open,O=(0,r.Z)(e,b),T=(0,v.A)(),_=i()((n={},(0,a.Z)(n,"".concat(T,"--popover-container"),!0),(0,a.Z)(n,"".concat(T,"--popover--caret"),h),(0,a.Z)(n,"".concat(T,"--popover--drop-shadow"),g),(0,a.Z)(n,"".concat(T,"--popover--high-contrast"),w),(0,a.Z)(n,"".concat(T,"--popover--open"),N),(0,a.Z)(n,"".concat(T,"--popover--").concat(c),!0),(0,a.Z)(n,p,!!p),n));return f().createElement(u,(0,o.Z)({},O,{className:_,ref:t}),m)}));p.propTypes={align:u().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top"]),as:u().oneOfType([u().string,u().elementType]),caret:u().bool,children:u().node,className:u().string,dropShadow:u().bool,highContrast:u().bool,open:u().bool.isRequired};var m=f().forwardRef((function(e,t){var n=e.className,a=e.children,l=(0,r.Z)(e,h),c=(0,v.A)();return f().createElement("span",(0,o.Z)({},l,{className:"".concat(c,"--popover")}),f().createElement("span",{className:i()("".concat(c,"--popover-content"),n),ref:t},a),f().createElement("span",{className:"".concat(c,"--popover-caret")}))}));m.propTypes={children:u().node,className:u().string};var y=n(4509),g=n(4817),Z=n(7304);function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function N(e){if(function(e){if(e.tabIndex<0)return!1;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}(e))return e;var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){c=!0,r=e},f:function(){try{l||null==n.return||n.return()}finally{if(c)throw r}}}}(e.childNodes);try{for(n.s();!(t=n.n()).done;){var o=N(t.value);if(o)return o}}catch(e){n.e(e)}finally{n.f()}return null}var O=["align","className","children","label","description","enterDelayMs","leaveDelayMs","defaultOpen"];function T(e){var t,n,a,c,s,u,b,h=e.align,w=void 0===h?"top":h,N=e.className,T=e.children,_=e.label,C=e.description,E=e.enterDelayMs,S=void 0===E?100:E,x=e.leaveDelayMs,I=void 0===x?300:x,R=e.defaultOpen,A=void 0!==R&&R,D=(0,r.Z)(e,O),k=(0,d.useRef)(null),W=(0,d.useRef)(null),B=(t=A,n=(0,d.useState)(t),c=(a=(0,l.Z)(n,2))[0],s=a[1],u=(0,d.useRef)(null),b=(0,d.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;clearTimeout(u.current),u.current=null,0!==t?u.current=setTimeout((function(){s(e),u.current=null}),t):s(e)}),[]),(0,d.useEffect)((function(){return function(){clearTimeout(u.current)}}),[]),[c,b]),M=(0,l.Z)(B,2),j=M[0],F=M[1],L=(0,Z.M)("tooltip"),K=(0,v.A)(),V=f().Children.only(T),U={onFocus:function(){return F(!0)},onBlur:function(){return F(!1)},onMouseEnter:function(){F(!0,S)}};return _?U["aria-labelledby"]=L:U["aria-describedby"]=L,f().createElement(p,(0,o.Z)({},D,{align:w,className:i()("".concat(K,"--tooltip"),N),dropShadow:!1,highContrast:!0,onKeyDown:function(e){j&&(0,y.EQ)(e,g.L1)&&(e.stopPropagation(),F(!1))},onMouseLeave:function(){F(!1,I)},open:j,ref:k}),f().cloneElement(V,U),f().createElement(m,{"aria-hidden":"true",className:"".concat(K,"--tooltip-content"),id:L,ref:W,role:"tooltip"},_||C))}T.propTypes={align:u().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top"]),children:u().node,className:u().string,defaultOpen:u().bool,description:u().node,enterDelayMs:u().number,label:u().node,leaveDelayMs:u().number},n(1223);var _=n(4133),C=["as","children","className","disabled","onClick","onKeyDown"],E=["children","className","defaultOpen","enterDelayMs","leaveDelayMs","label"],S=["children","className"],x=f().createContext(),I=f().createContext(),R=f().createContext();function A(e){var t=e.children,n=e.defaultSelectedIndex,o=void 0===n?0:n,a=e.onChange,r=e.selectedIndex,c=(0,Z.M)("ccs"),i=(0,d.useState)(o),s=(0,l.Z)(i,2),u=s[0],v=s[1],b=function(e){var t=e.defaultValue,n=e.name,o=void 0===n?"custom":n,a=e.onChange,r=e.value,c=(0,d.useState)(null!=r?r:t),i=(0,l.Z)(c,2),s=i[0],u=i[1],f=(0,d.useRef)(null);function v(e){var t="function"==typeof e?e(s):e;!1===f.current&&u(t),a&&a(t)}return null===f.current&&(f.current=void 0!==r),(0,d.useEffect)((function(){f.current,f.current}),[o,r]),!0===f.current?[r,v]:[s,v]}({value:r,defaultValue:o,onChange:function(e){a&&a({selectedIndex:e})}}),h=(0,l.Z)(b,2),p={baseId:c,activeIndex:u,defaultSelectedIndex:o,setActiveIndex:v,selectedIndex:h[0],setSelectedIndex:h[1]};return f().createElement(x.Provider,{value:p},t)}A.propTypes={children:u().node,defaultSelectedIndex:u().number,onChange:u().func,selectedIndex:u().number},u().oneOf(["automatic","manual"]),u().string.isRequired,u().node,u().string,u().bool,u().oneOf(["default","lg"]),u().object,u().bool,u().object,u().number,u().bool;var D=f().forwardRef((function(e,t){var n,l=e.as,c=void 0===l?"button":l,s=e.children,u=e.className,d=e.disabled,b=e.onClick,h=e.onKeyDown,p=(0,r.Z)(e,C),m=(0,v.A)(),y=f().useContext(x),g=y.selectedIndex,Z=y.setSelectedIndex,w=y.baseId,N=f().useContext(I),O="".concat(w,"-tab-").concat(N),T="".concat(w,"-tabpanel-").concat(N),_=i()("".concat(m,"--tabs__nav-item"),"".concat(m,"--tabs__nav-link"),u,(n={},(0,a.Z)(n,"".concat(m,"--tabs__nav-item--selected"),g===N),(0,a.Z)(n,"".concat(m,"--tabs__nav-item--disabled"),d),n));return f().createElement(c,(0,o.Z)({},p,{"aria-controls":T,"aria-disabled":d,"aria-selected":g===N,ref:t,id:O,role:"tab",className:_,disabled:d,onClick:function(e){d||(Z(N),b&&b(e))},onKeyDown:h,tabIndex:g===N?"0":"-1",type:"button"}),s)}));D.propTypes={as:u().oneOfType([u().string,u().elementType]),children:u().node,className:u().string,disabled:u().bool,onClick:u().func,onKeyDown:u().func,renderButton:u().func},f().forwardRef((function(e,t){var n=e.children,a=e.className,l=e.defaultOpen,c=void 0!==l&&l,s=e.enterDelayMs,u=e.leaveDelayMs,d=e.label,b=(0,r.Z)(e,E),h=(0,v.A)(),p=i()("".concat(h,"--tabs__nav-item--icon"),a);return f().createElement(T,{align:"bottom",defaultOpen:c,className:"".concat(h,"--icon-tooltip"),enterDelayMs:s,label:d,leaveDelayMs:u},f().createElement(D,(0,o.Z)({className:p,ref:t},b),n))})).propTypes={children:u().node,className:u().string,defaultOpen:u().bool,enterDelayMs:u().number,label:u().node.isRequired,leaveDelayMs:u().number},f().forwardRef((function(e,t){var n=e.children,a=e.className,c=(0,r.Z)(e,S),s=(0,v.A)(),u=(0,d.useRef)(null),b=(0,_.r)([t,u]),h=(0,d.useState)("0"),p=(0,l.Z)(h,2),m=p[0],y=p[1],g=f().useContext(x),Z=g.selectedIndex,w=g.baseId,O=f().useContext(R),T="".concat(w,"-tabpanel-").concat(O),C="".concat(w,"-tab-").concat(O),E=i()("".concat(s,"--tab-content"),a);return(0,d.useEffect)((function(){N(u.current)&&y("-1")}),[]),f().createElement("div",(0,o.Z)({},c,{"aria-labelledby":C,id:T,className:E,ref:b,role:"tabpanel",tabIndex:m,hidden:Z!==O}),n)})).propTypes={children:u().node,className:u().string},u().node},594:(e,t,n)=>{var o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,s="object"==typeof self&&self&&self.Object===Object&&self,u=i||s||Function("return this")(),d=Object.prototype.toString,f=Math.max,v=Math.min,b=function(){return u.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function p(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=r.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}e.exports=function(e,t,n){var o,a,r,l,c,i,s=0,u=!1,d=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=o,r=a;return o=a=void 0,s=t,l=e.apply(r,n)}function g(e){return s=e,c=setTimeout(w,t),u?y(e):l}function Z(e){var n=e-i;return void 0===i||n>=t||n<0||d&&e-s>=r}function w(){var e=b();if(Z(e))return N(e);c=setTimeout(w,function(e){var n=t-(e-i);return d?v(n,r-(e-s)):n}(e))}function N(e){return c=void 0,m&&o?y(e):(o=a=void 0,l)}function O(){var e=b(),n=Z(e);if(o=arguments,a=this,i=e,n){if(void 0===c)return g(i);if(d)return c=setTimeout(w,t),y(i)}return void 0===c&&(c=setTimeout(w,t)),l}return t=p(t)||0,h(n)&&(u=!!n.leading,r=(d="maxWait"in n)?f(p(n.maxWait)||0,t):r,m="trailing"in n?!!n.trailing:m),O.cancel=function(){void 0!==c&&clearTimeout(c),s=0,o=i=a=c=void 0},O.flush=function(){return void 0===c?l:N(b())},O}},8260:(e,t,n)=>{"use strict";n.d(t,{Z:()=>D});const o="object"==typeof global&&global&&global.Object===Object&&global;var a="object"==typeof self&&self&&self.Object===Object&&self;const r=(o||a||Function("return this")()).Symbol,l=Array.isArray;var c=Object.prototype,i=c.hasOwnProperty,s=c.toString,u=r?r.toStringTag:void 0;var d=Object.prototype.toString;var f=r?r.toStringTag:void 0;const v=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":f&&f in Object(e)?function(e){var t=i.call(e,u),n=e[u];try{e[u]=void 0;var o=!0}catch(e){}var a=s.call(e);return o&&(t?e[u]=n:delete e[u]),a}(e):function(e){return d.call(e)}(e)};var b=r?r.prototype:void 0,h=b?b.toString:void 0;const p=function e(t){if("string"==typeof t)return t;if(l(t))return function(e,t){for(var n=-1,o=null==e?0:e.length,a=Array(o);++n<o;)a[n]=t(e[n],n,e);return a}(t,e)+"";if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==v(e)}(t))return h?h.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},m=function(e){return null==e?"":p(e)},y=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:function(e,t,n){var o=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var r=Array(a);++o<a;)r[o]=e[o+t];return r}(e,t,n)};var g=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const Z=function(e){return g.test(e)};var w="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",N="\\ud83c[\\udffb-\\udfff]",O="[^\\ud800-\\udfff]",T="(?:\\ud83c[\\udde6-\\uddff]){2}",_="[\\ud800-\\udbff][\\udc00-\\udfff]",C="(?:"+w+"|"+N+")?",E="[\\ufe0e\\ufe0f]?",S=E+C+"(?:\\u200d(?:"+[O,T,_].join("|")+")"+E+C+")*",x="(?:"+[O+w+"?",w,T,_,"[\\ud800-\\udfff]"].join("|")+")",I=RegExp(N+"(?="+N+")|"+x+S,"g");const R=function(e){return Z(e)?function(e){return e.match(I)||[]}(e):function(e){return e.split("")}(e)},A=function(e){e=m(e);var t=Z(e)?R(e):void 0,n=t?t[0]:e.charAt(0),o=t?y(t,1).join(""):e.slice(1);return n.toUpperCase()+o},D=function(e){return A(m(e).toLowerCase())}}}]);
|