@kenyaemr/esm-version-app 5.4.4-pre.36 → 5.4.4-pre.38
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 +4 -4
- package/dist/1072.js +1 -0
- package/dist/1072.js.map +1 -0
- package/dist/1172.js +1 -0
- package/dist/1172.js.map +1 -0
- package/dist/132.js +1 -0
- package/dist/132.js.map +1 -0
- package/dist/1761.js +1 -0
- package/dist/1761.js.map +1 -0
- package/dist/1809.js +7 -0
- package/dist/1809.js.map +1 -0
- package/dist/1866.js +1 -0
- package/dist/1866.js.map +1 -0
- package/dist/1871.js +1 -0
- package/dist/1871.js.map +1 -0
- package/dist/1962.js +1 -0
- package/dist/1962.js.map +1 -0
- package/dist/2007.js +1 -0
- package/dist/2007.js.map +1 -0
- package/dist/2045.js +1 -0
- package/dist/2045.js.map +1 -0
- package/dist/2163.js +1 -0
- package/dist/2163.js.map +1 -0
- package/dist/217.js +17 -0
- package/dist/217.js.map +1 -0
- package/dist/2267.js +1 -0
- package/dist/2267.js.map +1 -0
- package/dist/2534.js +1 -0
- package/dist/2534.js.map +1 -0
- package/dist/2561.js +1 -0
- package/dist/2561.js.map +1 -0
- package/dist/2564.js +1 -0
- package/dist/2564.js.map +1 -0
- package/dist/2867.js +1 -0
- package/dist/2867.js.map +1 -0
- package/dist/2947.js +1 -0
- package/dist/2947.js.map +1 -0
- package/dist/3040.js +1 -0
- package/dist/3228.js +1 -0
- package/dist/3228.js.map +1 -0
- package/dist/3339.js +1 -0
- package/dist/3339.js.map +1 -0
- package/dist/3491.js +1 -0
- package/dist/3491.js.map +1 -0
- package/dist/3509.js +1 -0
- package/dist/3509.js.map +1 -0
- package/dist/3576.js +1 -0
- package/dist/3576.js.map +1 -0
- package/dist/4146.js +1 -0
- package/dist/4146.js.map +1 -0
- package/dist/4178.js +1 -0
- package/dist/4178.js.map +1 -0
- package/dist/422.js +1 -0
- package/dist/422.js.map +1 -0
- package/dist/4308.js +1 -0
- package/dist/4308.js.map +1 -0
- package/dist/4637.js +1 -0
- package/dist/4637.js.map +1 -0
- package/dist/466.js +1 -1
- package/dist/466.js.map +1 -1
- package/dist/4724.js +1 -0
- package/dist/4724.js.map +1 -0
- package/dist/4972.js +1 -0
- package/dist/4972.js.map +1 -0
- package/dist/5086.js +1 -0
- package/dist/5086.js.map +1 -0
- package/dist/509.js +1 -0
- package/dist/509.js.map +1 -0
- package/dist/5096.js +1 -0
- package/dist/5096.js.map +1 -0
- package/dist/5119.js +1 -0
- package/dist/5119.js.map +1 -0
- package/dist/5576.js +1 -0
- package/dist/5576.js.map +1 -0
- package/dist/5676.js +1 -0
- package/dist/5676.js.map +1 -0
- package/dist/5809.js +1 -0
- package/dist/5809.js.map +1 -0
- package/dist/5882.js +1 -0
- package/dist/5939.js +5 -0
- package/dist/5939.js.map +1 -0
- package/dist/6004.js +1 -0
- package/dist/6004.js.map +1 -0
- package/dist/6104.js +1 -0
- package/dist/6104.js.map +1 -0
- package/dist/6129.js +1 -0
- package/dist/6129.js.map +1 -0
- package/dist/6135.js +13 -0
- package/dist/6135.js.map +1 -0
- package/dist/6137.js +1 -0
- package/dist/6137.js.map +1 -0
- package/dist/6232.js +1 -0
- package/dist/6232.js.map +1 -0
- package/dist/6356.js +1 -0
- package/dist/6356.js.map +1 -0
- package/dist/6427.js +1 -0
- package/dist/6427.js.map +1 -0
- package/dist/6548.js +1 -0
- package/dist/6548.js.map +1 -0
- package/dist/6626.js +1 -0
- package/dist/6626.js.map +1 -0
- package/dist/6661.js +1 -0
- package/dist/6661.js.map +1 -0
- package/dist/6721.js +1 -0
- package/dist/6721.js.map +1 -0
- package/dist/6868.js +1 -0
- package/dist/6868.js.map +1 -0
- package/dist/689.js +1 -1
- package/dist/689.js.map +1 -1
- package/dist/7127.js +1 -0
- package/dist/7419.js +1 -0
- package/dist/7419.js.map +1 -0
- package/dist/7478.js +1 -0
- package/dist/7478.js.map +1 -0
- package/dist/7544.js +1 -0
- package/dist/7544.js.map +1 -0
- package/dist/7560.js +1 -0
- package/dist/7560.js.map +1 -0
- package/dist/781.js +1 -0
- package/dist/781.js.map +1 -0
- package/dist/8103.js +1 -0
- package/dist/8103.js.map +1 -0
- package/dist/8179.js +6 -0
- package/dist/8179.js.map +1 -0
- package/dist/8189.js +1 -0
- package/dist/8189.js.map +1 -0
- package/dist/8196.js +1 -0
- package/dist/8196.js.map +1 -0
- package/dist/8240.js +1 -0
- package/dist/8240.js.map +1 -0
- package/dist/8249.js +1 -0
- package/dist/8249.js.map +1 -0
- package/dist/8489.js +1 -0
- package/dist/8489.js.map +1 -0
- package/dist/8502.js +1 -0
- package/dist/8502.js.map +1 -0
- package/dist/8522.js +1 -0
- package/dist/8522.js.map +1 -0
- package/dist/8775.js +11 -0
- package/dist/8775.js.map +1 -0
- package/dist/8869.js +1 -0
- package/dist/8869.js.map +1 -0
- package/dist/887.js +1 -0
- package/dist/887.js.map +1 -0
- package/dist/8924.js +1 -0
- package/dist/8924.js.map +1 -0
- package/dist/8990.js +1 -0
- package/dist/8990.js.map +1 -0
- package/dist/9049.js +1 -0
- package/dist/9049.js.map +1 -0
- package/dist/9117.js +4 -0
- package/dist/9117.js.map +1 -0
- package/dist/916.js +1 -1
- package/dist/9425.js +1 -0
- package/dist/9520.js +1 -0
- package/dist/9520.js.map +1 -0
- package/dist/9828.js +1 -0
- package/dist/9828.js.map +1 -0
- package/dist/9931.js +1 -0
- package/dist/9931.js.map +1 -0
- package/dist/main.js +5 -5
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-patient-verification-app.js +5 -5
- package/dist/openmrs-esm-patient-verification-app.js.buildmanifest.json +1892 -119
- package/dist/openmrs-esm-patient-verification-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +2 -5
- package/rspack.config.js +1 -1
- package/src/index.ts +2 -3
- package/src/release-version.js +7 -7
- package/dist/127.js +0 -1
- package/dist/129.js +0 -1
- package/dist/129.js.map +0 -1
- package/dist/267.js +0 -1
- package/dist/267.js.map +0 -1
- package/dist/339.js +0 -1
- package/dist/339.js.map +0 -1
- package/dist/40.js +0 -1
- package/dist/424.js +0 -43
- package/dist/424.js.map +0 -1
- package/dist/562.js +0 -1
- package/dist/562.js.map +0 -1
- package/dist/809.js +0 -1
- package/dist/809.js.map +0 -1
- package/dist/855.js +0 -1
- package/dist/855.js.map +0 -1
- package/dist/882.js +0 -1
- package/dist/913.js +0 -15
- package/dist/913.js.map +0 -1
- package/dist/990.js +0 -1
- package/dist/990.js.map +0 -1
- package/dist/998.js +0 -1
- package/dist/998.js.map +0 -1
package/dist/2163.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_version_app=globalThis.webpackChunk_kenyaemr_esm_version_app||[]).push([["2163"],{64429:function(e,n,t){t.d(n,{A:()=>s});var a=t(71452),o=t.n(a),i=t(34567),r=t.n(i)()(o());r.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-version__action-menu-button2-module__container___jVATS{margin-top:.25rem;margin-bottom:.25rem;border-radius:50%;color:#161616;max-width:none}.-esm-version__action-menu-button2-module__container___jVATS:hover{background-color:#c6c6c6;color:#525252}.-esm-version__action-menu-button2-module__container___jVATS:focus{border-color:#0f62fe}.-esm-version__action-menu-button2-module__container___jVATS>span{margin-top:.25rem;font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);color:#525252}.-esm-version__action-menu-button2-module__container___jVATS svg{transform:scale(1.25)}.-esm-version__action-menu-button2-module__elementContainer___GblsQ{display:flex;align-items:center;position:relative;flex-direction:column}.-esm-version__action-menu-button2-module__elementContainer___GblsQ .-esm-version__action-menu-button2-module__countTag___ta0X3,.-esm-version__action-menu-button2-module__elementContainer___GblsQ .-esm-version__action-menu-button2-module__interruptedTag___kW4wW{position:absolute;font-size:10px;text-align:center;color:#f4f4f4;background-color:#da1e28;padding:0 4px;border-radius:50%;top:-14px;right:-12px}.-esm-version__action-menu-button2-module__elementContainer___GblsQ .-esm-version__action-menu-button2-module__interruptedTag___kW4wW{font-size:10px;padding:0 5px;width:14px;height:14px}.omrs-breakpoint-gt-tablet .-esm-version__action-menu-button2-module__active___FdMIx{border:.125rem solid;border-color:#007d79;border-color:var(--brand-03);border-radius:50%;background-color:#fff}.omrs-breakpoint-gt-tablet .-esm-version__action-menu-button2-module__active___FdMIx.-esm-version__action-menu-button2-module__focused___Hzho3{border-color:var(--brand-03) !important;box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--brand-03) 80%, black 20%) !important}.omrs-breakpoint-gt-tablet .-esm-version__action-menu-button2-module__container___jVATS svg{transform:scale(1.25)}.omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__container___jVATS{margin-bottom:0;margin-top:0;border-radius:unset;color:#161616;max-width:none;display:flex;flex-direction:column;align-items:center;width:100%}.omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__active___FdMIx{background-color:#edf5ff;color:#0f62fe}.omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__active___FdMIx:hover{color:#0f62fe}.omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__active___FdMIx>span{color:#0f62fe;font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__active___FdMIx svg{fill:#0f62fe}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./../../node_modules/@openmrs/esm-styleguide/src/workspaces2/action-menu2/action-menu-button2.module.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,6DACE,iBCWW,CDVX,oBCUW,CDTX,iBAAA,CACA,aDFM,CCGN,cAAA,CAEA,mEACE,wBDFY,CCGZ,aDNM,CCSR,mEACE,oBDMa,CCHf,kEACE,iBCLS,CCk1BT,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CF30BA,aDhBM,CCmBR,iEACE,qBAAA,CAIJ,oEACE,YAAA,CACA,kBAAA,CACA,iBAAA,CACA,qBAAA,CAEA,sQACE,iBAAA,CACA,cAAA,CACA,iBAAA,CACA,aDvCI,CCwCJ,wBDpBK,CCqBL,aAAA,CACA,iBAAA,CACA,SAAA,CACA,WAAA,CAGF,sIAEE,cAAA,CACA,aAAA,CACA,UAAA,CACA,WAAA,CAMF,qFACE,oBAAA,CDXF,oBAAA,CACA,4BAAA,CCYE,iBAAA,CACA,qBD7DI,CC+DJ,+IACE,uCAAA,CACA,wFAAA,CAKF,4FACE,qBAAA,CAOJ,yFACE,eAAA,CACA,YAAA,CACA,mBAAA,CACA,aD/EI,CCgFJ,cAAA,CAEA,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,UAAA,CAGF,sFACE,wBDjFY,CCkFZ,aDzEa,CC2Eb,4FACE,aD5EW,CC+Eb,2FACE,aDhFW,CG20Bb,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CFvvBA,0FACE,YDrFW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '../../vars' as *;\n\n.container {\n margin-top: layout.$spacing-02;\n margin-bottom: layout.$spacing-02;\n border-radius: 50%;\n color: $ui-05;\n max-width: none;\n\n &:hover {\n background-color: $color-gray-30;\n color: $text-02;\n }\n\n &:focus {\n border-color: $interactive-01;\n }\n\n & > span {\n margin-top: layout.$spacing-02;\n @include type.type-style('body-compact-01');\n color: $text-02;\n }\n\n & svg {\n transform: scale(1.25);\n }\n}\n\n.elementContainer {\n display: flex;\n align-items: center;\n position: relative;\n flex-direction: column;\n\n .countTag {\n position: absolute;\n font-size: 10px;\n text-align: center;\n color: $ui-01;\n background-color: $danger;\n padding: 0 4px;\n border-radius: 50%;\n top: -14px;\n right: -12px;\n }\n\n .interruptedTag {\n @extend .countTag;\n font-size: 10px;\n padding: 0 5px;\n width: 14px;\n height: 14px;\n }\n}\n\n/* Desktop */\n:global(.omrs-breakpoint-gt-tablet) {\n .active {\n border: layout.$spacing-01 solid;\n @include brand-03(border-color);\n border-radius: 50%;\n background-color: $ui-02;\n\n &.focused {\n border-color: var(--brand-03) !important;\n box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--brand-03) 80%, black 20%) !important;\n }\n }\n\n .container {\n & svg {\n transform: scale(1.25);\n }\n }\n}\n\n/* Tablet */\n:global(.omrs-breakpoint-lt-desktop) {\n .container {\n margin-bottom: 0;\n margin-top: 0;\n border-radius: unset;\n color: $ui-05;\n max-width: none;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n }\n\n .active {\n background-color: $color-blue-10;\n color: $interactive-01;\n\n &:hover {\n color: $interactive-01;\n }\n\n & > span {\n color: $interactive-01;\n @include type.type-style('heading-compact-01');\n }\n\n svg {\n fill: $interactive-01;\n }\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),r.locals={container:"-esm-version__action-menu-button2-module__container___jVATS",elementContainer:"-esm-version__action-menu-button2-module__elementContainer___GblsQ",countTag:"-esm-version__action-menu-button2-module__countTag___ta0X3",interruptedTag:"-esm-version__action-menu-button2-module__interruptedTag___kW4wW",active:"-esm-version__action-menu-button2-module__active___FdMIx",focused:"-esm-version__action-menu-button2-module__focused___Hzho3"};let s=r},15626:function(e,n,t){t.d(n,{A:()=>s});var a=t(71452),o=t.n(a),i=t(34567),r=t.n(i)()(o());r.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-version__action-menu2-module__sideRailHidden___hOl-a{display:none}.-esm-version__action-menu2-module__sideRailVisible___RuIqG{display:flex}.omrs-breakpoint-gt-tablet .-esm-version__action-menu2-module__sideRail___ZxdUY{width:3rem;z-index:100;height:100%}.omrs-breakpoint-gt-tablet .-esm-version__action-menu2-module__sideRail___ZxdUY.-esm-version__action-menu2-module__overlay___S8xWn{position:absolute;top:0;right:0;height:100%}.omrs-breakpoint-gt-tablet .-esm-version__action-menu2-module__sideRail___ZxdUY .-esm-version__action-menu2-module__container___BGpuL{background:#f4f4f4;width:3rem;height:100%;border-left:1px solid #a8a8a8;display:flex;align-items:center;flex-direction:column}.omrs-breakpoint-gt-tablet .-esm-version__action-menu2-module__sideRail___ZxdUY.-esm-version__action-menu2-module__withinWorkspace___QWss9 .-esm-version__action-menu2-module__container___BGpuL{top:calc(var(--omrs-navbar-height) + var(--workspace-header-height))}.omrs-breakpoint-lt-desktop .-esm-version__action-menu2-module__sideRail___ZxdUY{border-top:1px solid #c6c6c6;background-color:#fff;position:fixed;left:0;bottom:0;z-index:8003;width:100%;display:flex;justify-content:stretch}.omrs-breakpoint-lt-desktop .-esm-version__action-menu2-module__chartExtensions___GpKgk{background-color:#fff;display:flex;width:100%}.omrs-breakpoint-lt-desktop .-esm-version__action-menu2-module__chartExtensions___GpKgk>div{flex:1;cursor:pointer}.omrs-breakpoint-lt-desktop .-esm-version__action-menu2-module__container___BGpuL{display:flex;align-items:center;width:100%}.-esm-version__action-menu2-module__divider___v04ah{background-color:#a8a8a8;margin:.75rem 0;height:1px;width:2.5rem}html[dir=rtl] .omrs-breakpoint-gt-tablet .-esm-version__action-menu2-module__sideRail___ZxdUY .-esm-version__action-menu2-module__container___BGpuL{right:unset;left:0}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./../../node_modules/@openmrs/esm-styleguide/src/workspaces2/action-menu2/action-menu2.module.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDF,2DACE,YAAA,CAGF,4DACE,YAAA,CAKA,gFACE,UCkCS,CDjCT,WAAA,CACA,WAAA,CAEA,mIACE,iBAAA,CACA,KAAA,CACA,OAAA,CACA,WAAA,CAGF,sIACE,kBD3BE,CC4BF,UCqBO,CDpBP,WAAA,CACA,6BAAA,CACA,YAAA,CACA,kBAAA,CACA,qBAAA,CAGF,iMACE,oEAAA,CAOJ,iFACE,4BAAA,CACA,qBD7CI,CC8CJ,cAAA,CACA,MAAA,CACA,QAAA,CACA,YAAA,CACA,UAAA,CACA,YAAA,CACA,uBAAA,CAGF,wFACE,qBDxDI,CCyDJ,YAAA,CACA,UAAA,CAEA,4FACE,MAAA,CACA,cAAA,CAIJ,kFACE,YAAA,CACA,kBAAA,CACA,UAAA,CAIJ,oDACE,wBDrEQ,CCsER,eAAA,CACA,UAAA,CACA,YClCW,CDyCP,oJACE,WAAA,CACA,MAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '../../vars' as *;\n\n$icon-button-size: layout.$spacing-08;\n$actionPanelOffset: layout.$spacing-09;\n\n.sideRailHidden {\n display: none;\n}\n\n.sideRailVisible {\n display: flex;\n}\n\n/* Desktop */\n:global(.omrs-breakpoint-gt-tablet) {\n .sideRail {\n width: $actionPanelOffset;\n z-index: 100;\n height: 100%;\n\n &.overlay {\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n }\n\n .container {\n background: $ui-01;\n width: $actionPanelOffset;\n height: 100%;\n border-left: 1px solid $text-03;\n display: flex;\n align-items: center;\n flex-direction: column;\n }\n\n &.withinWorkspace .container {\n top: calc(var(--omrs-navbar-height) + var(--workspace-header-height));\n }\n }\n}\n\n/* Tablet */\n:global(.omrs-breakpoint-lt-desktop) {\n .sideRail {\n border-top: 1px solid $color-gray-30;\n background-color: $ui-02;\n position: fixed;\n left: 0;\n bottom: 0;\n z-index: 8003;\n width: 100%;\n display: flex;\n justify-content: stretch;\n }\n\n .chartExtensions {\n background-color: $ui-02;\n display: flex;\n width: 100%;\n\n > div {\n flex: 1;\n cursor: pointer;\n }\n }\n\n .container {\n display: flex;\n align-items: center;\n width: 100%;\n }\n}\n\n.divider {\n background-color: $text-03;\n margin: layout.$spacing-04 0;\n height: 1px;\n width: layout.$spacing-08;\n}\n\n// Overriding styles for RTL support\nhtml[dir='rtl'] {\n :global(.omrs-breakpoint-gt-tablet) {\n .sideRail {\n .container {\n right: unset;\n left: 0;\n }\n }\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),r.locals={sideRailHidden:"-esm-version__action-menu2-module__sideRailHidden___hOl-a",sideRailVisible:"-esm-version__action-menu2-module__sideRailVisible___RuIqG",sideRail:"-esm-version__action-menu2-module__sideRail___ZxdUY",overlay:"-esm-version__action-menu2-module__overlay___S8xWn",container:"-esm-version__action-menu2-module__container___BGpuL",withinWorkspace:"-esm-version__action-menu2-module__withinWorkspace___QWss9",chartExtensions:"-esm-version__action-menu2-module__chartExtensions___GpKgk",divider:"-esm-version__action-menu2-module__divider___v04ah"};let s=r},950:function(e,n,t){t.d(n,{A:()=>s});var a=t(71452),o=t.n(a),i=t(34567),r=t.n(i)()(o());r.push([e.id,".-esm-version__workspace-windows-and-menu-module__workspaceWindowsAndMenuContainer___ln5ye{position:relative;display:flex;height:100%}.-esm-version__workspace-windows-and-menu-module__workspaceWindowsAndMenuContainer___ln5ye.-esm-version__workspace-windows-and-menu-module__overlay___Fskvh{position:absolute;right:0;top:0;bottom:0}.-esm-version__workspace-windows-and-menu-module__workspaceWindowsContainer___gNqHU{display:grid;width:fit-content}.-esm-version__workspace-windows-and-menu-module__workspaceWindowsContainer___gNqHU>*{grid-area:1/1}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/workspaces2/workspace-windows-and-menu.module.scss"],names:[],mappings:"AAAA,2FACE,iBAAA,CACA,YAAA,CACA,WAAA,CAEA,4JACE,iBAAA,CACA,OAAA,CACA,KAAA,CACA,QAAA,CAIJ,oFACE,YAAA,CACA,iBAAA,CAGA,sFACE,aAAA",sourcesContent:[".workspaceWindowsAndMenuContainer {\n position: relative;\n display: flex;\n height: 100%;\n\n &.overlay {\n position: absolute;\n right: 0;\n top: 0;\n bottom: 0;\n }\n}\n\n.workspaceWindowsContainer {\n display: grid;\n width: fit-content;\n\n // make its children stack on top of each other\n > * {\n grid-area: 1 / 1;\n }\n}\n"],sourceRoot:""}]),r.locals={workspaceWindowsAndMenuContainer:"-esm-version__workspace-windows-and-menu-module__workspaceWindowsAndMenuContainer___ln5ye",overlay:"-esm-version__workspace-windows-and-menu-module__overlay___Fskvh",workspaceWindowsContainer:"-esm-version__workspace-windows-and-menu-module__workspaceWindowsContainer___gNqHU"};let s=r},98872:function(e,n,t){t.d(n,{A:()=>s});var a=t(71452),o=t.n(a),i=t(34567),r=t.n(i)()(o());r.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-version__workspace2-module__workspaceOuterContainer___fszHm.-esm-version__workspace2-module__narrowWorkspace___mI5E1{--workspaceWidth: 26.25rem}.-esm-version__workspace2-module__workspaceOuterContainer___fszHm.-esm-version__workspace2-module__widerWorkspace___\\+AwO2{--workspaceWidth: 32.25rem}.-esm-version__workspace2-module__workspaceOuterContainer___fszHm.-esm-version__workspace2-module__extraWideWorkspace___zbo0y{--workspaceWidth: 48.25rem}.-esm-version__workspace2-module__workspaceOuterContainer___fszHm{width:var(--workspaceWidth);display:contents}.-esm-version__workspace2-module__workspaceOuterContainer___fszHm .-esm-version__workspace2-module__workspaceMiddleContainer___VIJ0H{width:inherit;overflow:hidden;position:absolute;top:0;bottom:0;inset-inline-end:3rem;z-index:100;transition:width .5s ease-in-out}.-esm-version__workspace2-module__workspaceOuterContainer___fszHm .-esm-version__workspace2-module__workspaceMiddleContainer___VIJ0H.-esm-version__workspace2-module__maximized___pQ56o{width:calc(100vw - 3rem)}.-esm-version__workspace2-module__workspaceOuterContainer___fszHm .-esm-version__workspace2-module__workspaceMiddleContainer___VIJ0H.-esm-version__workspace2-module__hidden___dPC3O{width:0}.-esm-version__workspace2-module__workspaceOuterContainer___fszHm .-esm-version__workspace2-module__workspaceInnerContainer___16dRM{display:flex;flex-direction:column;height:100%;width:var(--workspaceWidth);border-inline-start:1px solid #a8a8a8}.-esm-version__workspace2-module__workspaceOuterContainer___fszHm .-esm-version__workspace2-module__workspaceInnerContainer___16dRM.-esm-version__workspace2-module__isRootWorkspace___BKro2{animation:-esm-version__workspace2-module__slideFromRight___b95B6 .5s ease-in-out}.-esm-version__workspace2-module__workspaceOuterContainer___fszHm .-esm-version__workspace2-module__workspaceInnerContainer___16dRM{transition:width .5s ease-in-out,transform .5s ease-in-out}.-esm-version__workspace2-module__workspaceOuterContainer___fszHm .-esm-version__workspace2-module__workspaceInnerContainer___16dRM.-esm-version__workspace2-module__maximized___pQ56o{width:calc(100vw - 3rem)}.-esm-version__workspace2-module__workspaceOuterContainer___fszHm .-esm-version__workspace2-module__workspaceInnerContainer___16dRM.-esm-version__workspace2-module__hidden___dPC3O{transform:translateX(100%)}@keyframes -esm-version__workspace2-module__slideFromRight___b95B6{from{transform:translateX(100%)}to{transform:translateX(0px)}}.-esm-version__workspace2-module__workspaceOuterContainer___fszHm .-esm-version__workspace2-module__workspaceSpacer___7LYsJ{width:inherit;height:100%;animation:-esm-version__workspace2-module__growToWidth___2zhb1 .5s ease-in-out}.-esm-version__workspace2-module__workspaceOuterContainer___fszHm .-esm-version__workspace2-module__workspaceSpacer___7LYsJ.-esm-version__workspace2-module__hidden___dPC3O{animation:-esm-version__workspace2-module__shrinkWidth___8Kc-K .5s ease-in-out forwards}@keyframes -esm-version__workspace2-module__growToWidth___2zhb1{from{width:0}to{width:inherit}}@keyframes -esm-version__workspace2-module__shrinkWidth___8Kc-K{from{width:inherit}to{width:0}}.-esm-version__workspace2-module__loader___5j-pW{display:flex;background-color:#f4f4f4;justify-content:center;min-height:3rem}.-esm-version__workspace2-module__hiddenExtraWorkspace___oZARj{display:none}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__header___lGeJw{position:relative;box-sizing:content-box;border-bottom:1px solid #a8a8a8;background-color:#e0e0e0;height:var(--workspace-header-height)}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__header___lGeJw a{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__header___lGeJw a:hover{color:inherit}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__header___lGeJw:not(.-esm-version__workspace2-module__maximizedWindow___ur2Bc){right:auto;left:auto}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__headerButtons___CAibB button{background-color:#fff;border-right:1px solid #e0e0e0}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__headerButtons___CAibB button>svg{fill:#121619 !important}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__headerButtons___CAibB button:hover{background-color:#f4f4f4}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__maximizedWindow___ur2Bc{width:calc(100% - 3rem) !important}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__workspaceFixedContainer___8CJLC{height:100%;border-left:1px solid #a8a8a8;z-index:50;background-color:#fff;animation:-esm-version__workspace2-module__slideInFromRight___1-dhK .5s ease-in-out}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__workspaceFixedContainer___8CJLC.-esm-version__workspace2-module__hidden___dPC3O{animation:-esm-version__workspace2-module__slideOutToRight___upNPb .5s ease-in-out forwards}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__workspaceFixedContainer___8CJLC.-esm-version__workspace2-module__overlay___ogVPo{position:absolute;top:0;bottom:0}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__extraWideWorkspace___zbo0y{width:48.25rem}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__extraWideWorkspace___zbo0y .-esm-version__workspace2-module__workspaceFixedContainer___8CJLC{width:48.25rem}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__extraWideWorkspace___zbo0y.-esm-version__workspace2-module__hiddenRelative___3-ZEe{margin-right:-48.25rem !important}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__extraWideWorkspace___zbo0y .-esm-version__workspace2-module__hiddenFixed___FQNDj{right:-48.25rem !important}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__widerWorkspace___\\+AwO2{width:32.25rem}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__widerWorkspace___\\+AwO2 .-esm-version__workspace2-module__workspaceFixedContainer___8CJLC{width:32.25rem}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__widerWorkspace___\\+AwO2.-esm-version__workspace2-module__hiddenRelative___3-ZEe{margin-right:-32.25rem !important}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__widerWorkspace___\\+AwO2 .-esm-version__workspace2-module__hiddenFixed___FQNDj{right:-32.25rem !important}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__narrowWorkspace___mI5E1{width:26.25rem}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__narrowWorkspace___mI5E1 .-esm-version__workspace2-module__workspaceFixedContainer___8CJLC{width:26.25rem}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__narrowWorkspace___mI5E1.-esm-version__workspace2-module__hiddenRelative___3-ZEe{margin-right:-26.25rem !important}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__narrowWorkspace___mI5E1 .-esm-version__workspace2-module__hiddenFixed___FQNDj{right:-26.25rem !important}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__workspaceContent___9w3sg{background-color:#fff;overflow-y:auto;flex-grow:1}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__overlay___ogVPo{background-color:#fff;display:flex;flex-direction:column;z-index:1000}.omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__overlayHeaderSpacer___arVYx{flex-grow:1}.omrs-breakpoint-lt-desktop .-esm-version__workspace2-module__header___lGeJw{position:relative;background-color:var(--brand-02)}.omrs-breakpoint-lt-desktop .-esm-version__workspace2-module__header___lGeJw a{color:#fff}.omrs-breakpoint-lt-desktop .-esm-version__workspace2-module__header___lGeJw button{color:#fff;background-color:var(--brand-02)}.omrs-breakpoint-lt-desktop .-esm-version__workspace2-module__header___lGeJw button:hover{background-color:var(--brand-03)}.omrs-breakpoint-lt-desktop .-esm-version__workspace2-module__hiddenFixed___FQNDj{top:100% !important}.omrs-breakpoint-lt-desktop .-esm-version__workspace2-module__workspaceFixedContainer___8CJLC{position:fixed;top:0;left:0;right:0;bottom:0;z-index:8002;transition:top .5s ease-in-out}.omrs-breakpoint-lt-desktop .-esm-version__workspace2-module__workspaceContainerWithActionMenu___Br306.-esm-version__workspace2-module__workspaceFixedContainer___8CJLC{bottom:var(--bottom-nav-height)}.omrs-breakpoint-lt-desktop .-esm-version__workspace2-module__overlay___ogVPo{background-color:#fff;display:flex;flex-direction:column}.omrs-breakpoint-lt-desktop .-esm-version__workspace2-module__overlayCloseButton___kN9F1{order:1}.omrs-breakpoint-lt-desktop .-esm-version__workspace2-module__overlayTitle___JebTs{order:2}.omrs-breakpoint-lt-desktop .-esm-version__workspace2-module__workspaceContent___9w3sg{background-color:#f4f4f4;overflow-y:auto;height:100%}.omrs-breakpoint-lt-desktop .-esm-version__workspace2-module__workspaceContent___9w3sg>div{height:100%}.omrs-breakpoint-lt-desktop .-esm-version__workspace2-module__dynamicWidth___SsBta{width:100%}.omrs-breakpoint-lt-desktop .-esm-version__workspace2-module__marginWorkspaceContent___19Eso{margin-bottom:var(--bottom-nav-height)}@keyframes -esm-version__workspace2-module__slideInFromBottom___sHW23{from{transform:translateX(26.25rem);width:0}to{transform:translateX(0%);width:26.25rem}}@keyframes -esm-version__workspace2-module__slideOutToBottom___W-\\+aB{from{transform:translateX(0%);width:26.25rem}to{transform:translateX(26.25rem);width:0}}html[dir=rtl] .omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__workspaceContainerWithActionMenu___Br306.-esm-version__workspace2-module__workspaceFixedContainer___8CJLC{right:unset;left:3rem}html[dir=rtl] .omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__workspaceContainerWithoutActionMenu___Cf9xR{height:100%}html[dir=rtl] .omrs-breakpoint-gt-tablet .-esm-version__workspace2-module__workspaceContainerWithoutActionMenu___Cf9xR.-esm-version__workspace2-module__workspaceFixedContainer___8CJLC{right:unset;left:0}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./../../node_modules/@openmrs/esm-styleguide/src/workspaces2/workspace2.module.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CChDA,2HACE,0BAAA,CAEF,2HACE,0BAAA,CAEF,8HACE,0BAAA,CARJ,kEAWE,2BAAA,CACA,gBAAA,CAIA,qIACE,aAAA,CACA,eAAA,CACA,iBAAA,CACA,KAAA,CACA,QAAA,CACA,qBCiBS,CDhBT,WAAA,CAEA,gCAAA,CAEA,wLACE,wBAAA,CAEF,qLACE,OAAA,CAOJ,oIACE,YAAA,CACA,qBAAA,CACA,WAAA,CACA,2BAAA,CACA,qCAAA,CAGA,6LACE,iFAAA,CATJ,oIAYE,0DACE,CAGF,uLACE,wBAAA,CAEF,oLACE,0BAAA,CAGF,mEACE,KACE,0BAAA,CAEF,GACE,yBAAA,CAAA,CAUN,4HACE,aAAA,CACA,WAAA,CACA,8EAAA,CAEA,4KACE,uFAAA,CAGF,gEACE,KACE,OAAA,CAEF,GACE,aAAA,CAAA,CAIJ,gEACE,KACE,aAAA,CAEF,GACE,OAAA,CAAA,CAMR,iDACE,YAAA,CACA,wBDlGwB,CCmGxB,sBAAA,CACA,eCtEW,CDyEb,+DACE,YAAA,CAKA,4EACE,iBAAA,CACA,sBAAA,CACA,+BAAA,CACA,wBDlII,CCmIJ,qCAAA,CAEA,8EEytBA,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFttBE,oFACE,aAAA,CAIJ,2IACE,UAAA,CACA,SAAA,CAKF,0FACE,qBDtJE,CCuJF,8BAAA,CAEA,8FACE,uBAAA,CAGF,gGACE,wBD/JA,CCoKN,qFACE,kCAAA,CAGF,6FACE,WAAA,CACA,6BAAA,CACA,UAAA,CACA,qBAAA,CACA,mFAAA,CAEA,6IACE,2FAAA,CAGF,8IACE,iBAAA,CACA,KAAA,CACA,QAAA,CAIJ,wFACE,cArLsB,CAuLtB,0JACE,cAxLoB,CA2LtB,gJACE,iCAAA,CAGF,8IACE,0BAAA,CAIJ,qFACE,cAtMkB,CAwMlB,uJACE,cAzMgB,CA4MlB,6IACE,iCAAA,CAGF,2IACE,0BAAA,CAIJ,qFACE,cAvNmB,CAyNnB,uJACE,cA1NiB,CA6NnB,6IACE,iCAAA,CAGF,2IACE,0BAAA,CAIJ,sFACE,qBD1OI,CC2OJ,eAAA,CACA,WAAA,CAGF,6EACE,qBDhPI,CCiPJ,YAAA,CACA,qBAAA,CACA,YAAA,CAGF,yFACE,WAAA,CAMF,6EACE,iBAAA,CACA,gCAAA,CAEA,+EACE,UDlQE,CCqQJ,oFACE,UDtQE,CCuQF,gCAAA,CAEA,0FACE,gCAAA,CAKN,kFACE,mBAAA,CAGF,8FACE,cAAA,CACA,KAAA,CACA,MAAA,CACA,OAAA,CACA,QAAA,CACA,YAAA,CACA,8BAAA,CAIA,wKACE,+BAAA,CAIJ,8EACE,qBDpSI,CCqSJ,YAAA,CACA,qBAAA,CAGF,yFACE,OAAA,CAGF,mFACE,OAAA,CAGF,uFACE,wBDnTI,CCoTJ,eAAA,CACA,WAAA,CAIF,2FACE,WAAA,CAGF,mFACE,UAAA,CAGF,6FACE,sCAAA,CAGF,sEACE,KACE,8BAAA,CACA,OAAA,CAEF,GACE,wBAAA,CACA,cAxUiB,CAAA,CA4UrB,sEACE,KACE,wBAAA,CACA,cA/UiB,CAiVnB,GACE,8BAAA,CACA,OAAA,CAAA,CASA,qLACE,WAAA,CACA,SCjTK,CDqTT,uHACE,WAAA,CAEA,wLACE,WAAA,CACA,MAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/colors';\n@use '@carbon/layout';\n@use '@carbon/type';\n@use '../vars' as *;\n\n$actionPanelOffset: layout.$spacing-09;\n$narrowWorkspaceWidth: 26.25rem;\n$widerWorkspaceWidth: 32.25rem;\n$extraWideWorkspaceWidth: 48.25rem;\n\n// This container has no layout purpose.\n// It is used to set the --workspaceWidth variable.\n.workspaceOuterContainer {\n &.narrowWorkspace {\n --workspaceWidth: #{$narrowWorkspaceWidth};\n }\n &.widerWorkspace {\n --workspaceWidth: #{$widerWorkspaceWidth};\n }\n &.extraWideWorkspace {\n --workspaceWidth: #{$extraWideWorkspaceWidth};\n }\n\n width: var(--workspaceWidth);\n display: contents;\n\n // This container clips the workspace when it slides out of screen\n // (via overflow: hidden)\n .workspaceMiddleContainer {\n width: inherit;\n overflow: hidden;\n position: absolute;\n top: 0;\n bottom: 0;\n inset-inline-end: $actionPanelOffset;\n z-index: 100;\n\n transition: width 0.5s ease-in-out;\n\n &.maximized {\n width: calc(100vw - $actionPanelOffset);\n }\n &.hidden {\n width: 0;\n }\n }\n\n // This container contains the actual workspace content\n // it has sliding transitions when hidden / restored, and\n // changes size (width) when maximized\n .workspaceInnerContainer {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: var(--workspaceWidth);\n border-inline-start: 1px solid $text-03;\n\n // only root workspace should have sliding animations. Child workspaces should not.\n &.isRootWorkspace {\n animation: slideFromRight 0.5s ease-in-out;\n }\n\n transition:\n width 0.5s ease-in-out,\n transform 0.5s ease-in-out;\n\n &.maximized {\n width: calc(100vw - $actionPanelOffset);\n }\n &.hidden {\n transform: translateX(100%);\n }\n\n @keyframes slideFromRight {\n from {\n transform: translateX(100%);\n }\n to {\n transform: translateX(0px);\n }\n }\n }\n\n // The spacer is responsible for taking up space and shrinking the width of the \"main\" content\n // in omrs-apps-container when in non-overlay mode.\n // Note that the spacer takes up --workspaceWidth amount of space, but does\n // not grow when the workspace is maximized. In other words, it does not shrink the\n // \"main\" content further when workspace is maximized.\n .workspaceSpacer {\n width: inherit;\n height: 100%;\n animation: growToWidth 0.5s ease-in-out;\n\n &.hidden {\n animation: shrinkWidth 0.5s ease-in-out forwards;\n }\n\n @keyframes growToWidth {\n from {\n width: 0;\n }\n to {\n width: inherit;\n }\n }\n\n @keyframes shrinkWidth {\n from {\n width: inherit;\n }\n to {\n width: 0;\n }\n }\n }\n}\n\n.loader {\n display: flex;\n background-color: $openmrs-background-grey;\n justify-content: center;\n min-height: layout.$spacing-09;\n}\n\n.hiddenExtraWorkspace {\n display: none;\n}\n\n/* Desktop */\n:global(.omrs-breakpoint-gt-tablet) {\n .header {\n position: relative;\n box-sizing: content-box;\n border-bottom: 1px solid $text-03;\n background-color: $ui-03;\n height: var(--workspace-header-height);\n\n a {\n @include type.type-style('heading-compact-02');\n\n &:hover {\n color: inherit;\n }\n }\n\n &:not(.maximizedWindow) {\n right: auto;\n left: auto;\n }\n }\n\n .headerButtons {\n button {\n background-color: $ui-02;\n border-right: 1px solid colors.$gray-20;\n\n > svg {\n fill: colors.$cool-gray-100 !important;\n }\n\n &:hover {\n background-color: $ui-01;\n }\n }\n }\n\n .maximizedWindow {\n width: calc(100% - $actionPanelOffset) !important;\n }\n\n .workspaceFixedContainer {\n height: 100%;\n border-left: 1px solid $text-03;\n z-index: 50;\n background-color: white;\n animation: slideInFromRight 0.5s ease-in-out;\n\n &.hidden {\n animation: slideOutToRight 0.5s ease-in-out forwards;\n }\n\n &.overlay {\n position: absolute;\n top: 0;\n bottom: 0;\n }\n }\n\n .extraWideWorkspace {\n width: $extraWideWorkspaceWidth;\n\n .workspaceFixedContainer {\n width: $extraWideWorkspaceWidth;\n }\n\n &.hiddenRelative {\n margin-right: -$extraWideWorkspaceWidth !important;\n }\n\n .hiddenFixed {\n right: -$extraWideWorkspaceWidth !important;\n }\n }\n\n .widerWorkspace {\n width: $widerWorkspaceWidth;\n\n .workspaceFixedContainer {\n width: $widerWorkspaceWidth;\n }\n\n &.hiddenRelative {\n margin-right: -$widerWorkspaceWidth !important;\n }\n\n .hiddenFixed {\n right: -$widerWorkspaceWidth !important;\n }\n }\n\n .narrowWorkspace {\n width: $narrowWorkspaceWidth;\n\n .workspaceFixedContainer {\n width: $narrowWorkspaceWidth;\n }\n\n &.hiddenRelative {\n margin-right: -$narrowWorkspaceWidth !important;\n }\n\n .hiddenFixed {\n right: -$narrowWorkspaceWidth !important;\n }\n }\n\n .workspaceContent {\n background-color: $ui-02;\n overflow-y: auto;\n flex-grow: 1;\n }\n\n .overlay {\n background-color: $ui-02;\n display: flex;\n flex-direction: column;\n z-index: 1000;\n }\n\n .overlayHeaderSpacer {\n flex-grow: 1;\n }\n}\n\n/* Tablet */\n:global(.omrs-breakpoint-lt-desktop) {\n .header {\n position: relative;\n background-color: var(--brand-02);\n\n a {\n color: $ui-02;\n }\n\n button {\n color: $ui-02;\n background-color: var(--brand-02);\n\n &:hover {\n background-color: var(--brand-03);\n }\n }\n }\n\n .hiddenFixed {\n top: 100% !important;\n }\n\n .workspaceFixedContainer {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 8002;\n transition: top 0.5s ease-in-out;\n }\n\n .workspaceContainerWithActionMenu {\n &.workspaceFixedContainer {\n bottom: var(--bottom-nav-height);\n }\n }\n\n .overlay {\n background-color: $ui-02;\n display: flex;\n flex-direction: column;\n }\n\n .overlayCloseButton {\n order: 1;\n }\n\n .overlayTitle {\n order: 2;\n }\n\n .workspaceContent {\n background-color: $ui-01;\n overflow-y: auto;\n height: 100%;\n }\n\n // The parcel makes a div, between the workspace container and the workspace itself\n .workspaceContent > div {\n height: 100%;\n }\n\n .dynamicWidth {\n width: 100%;\n }\n\n .marginWorkspaceContent {\n margin-bottom: var(--bottom-nav-height);\n }\n\n @keyframes slideInFromBottom {\n from {\n transform: translateX($narrowWorkspaceWidth);\n width: 0;\n }\n to {\n transform: translateX(0%);\n width: $narrowWorkspaceWidth;\n }\n }\n\n @keyframes slideOutToBottom {\n from {\n transform: translateX(0%);\n width: $narrowWorkspaceWidth;\n }\n to {\n transform: translateX($narrowWorkspaceWidth);\n width: 0;\n }\n }\n}\n\n// Overriding styles for RTL support\nhtml[dir='rtl'] {\n :global(.omrs-breakpoint-gt-tablet) {\n .workspaceContainerWithActionMenu {\n &.workspaceFixedContainer {\n right: unset;\n left: $actionPanelOffset;\n }\n }\n\n .workspaceContainerWithoutActionMenu {\n height: 100%;\n\n &.workspaceFixedContainer {\n right: unset;\n left: 0;\n }\n }\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),r.locals={workspaceOuterContainer:"-esm-version__workspace2-module__workspaceOuterContainer___fszHm",narrowWorkspace:"-esm-version__workspace2-module__narrowWorkspace___mI5E1",widerWorkspace:"-esm-version__workspace2-module__widerWorkspace___+AwO2",extraWideWorkspace:"-esm-version__workspace2-module__extraWideWorkspace___zbo0y",workspaceMiddleContainer:"-esm-version__workspace2-module__workspaceMiddleContainer___VIJ0H",maximized:"-esm-version__workspace2-module__maximized___pQ56o",hidden:"-esm-version__workspace2-module__hidden___dPC3O",workspaceInnerContainer:"-esm-version__workspace2-module__workspaceInnerContainer___16dRM",isRootWorkspace:"-esm-version__workspace2-module__isRootWorkspace___BKro2",slideFromRight:"-esm-version__workspace2-module__slideFromRight___b95B6",workspaceSpacer:"-esm-version__workspace2-module__workspaceSpacer___7LYsJ",growToWidth:"-esm-version__workspace2-module__growToWidth___2zhb1",shrinkWidth:"-esm-version__workspace2-module__shrinkWidth___8Kc-K",loader:"-esm-version__workspace2-module__loader___5j-pW",hiddenExtraWorkspace:"-esm-version__workspace2-module__hiddenExtraWorkspace___oZARj",header:"-esm-version__workspace2-module__header___lGeJw",maximizedWindow:"-esm-version__workspace2-module__maximizedWindow___ur2Bc",headerButtons:"-esm-version__workspace2-module__headerButtons___CAibB",workspaceFixedContainer:"-esm-version__workspace2-module__workspaceFixedContainer___8CJLC",slideInFromRight:"-esm-version__workspace2-module__slideInFromRight___1-dhK",slideOutToRight:"-esm-version__workspace2-module__slideOutToRight___upNPb",overlay:"-esm-version__workspace2-module__overlay___ogVPo",hiddenRelative:"-esm-version__workspace2-module__hiddenRelative___3-ZEe",hiddenFixed:"-esm-version__workspace2-module__hiddenFixed___FQNDj",workspaceContent:"-esm-version__workspace2-module__workspaceContent___9w3sg",overlayHeaderSpacer:"-esm-version__workspace2-module__overlayHeaderSpacer___arVYx",workspaceContainerWithActionMenu:"-esm-version__workspace2-module__workspaceContainerWithActionMenu___Br306",overlayCloseButton:"-esm-version__workspace2-module__overlayCloseButton___kN9F1",overlayTitle:"-esm-version__workspace2-module__overlayTitle___JebTs",dynamicWidth:"-esm-version__workspace2-module__dynamicWidth___SsBta",marginWorkspaceContent:"-esm-version__workspace2-module__marginWorkspaceContent___19Eso",workspaceContainerWithoutActionMenu:"-esm-version__workspace2-module__workspaceContainerWithoutActionMenu___Cf9xR",slideInFromBottom:"-esm-version__workspace2-module__slideInFromBottom___sHW23",slideOutToBottom:"-esm-version__workspace2-module__slideOutToBottom___W-+aB"};let s=r},91554:function(e,n,t){t.d(n,{k:()=>a});var a=["red","magenta","purple","blue","teal","cyan","gray","green","warm-gray","cool-gray","high-contrast","outline"]},90514:function(e,n,t){t.d(n,{bi:()=>B.bi,hL:()=>B.hL,Wj:()=>R,pT:()=>B.pT,oz:()=>F,GY:()=>B.GY,Ak:()=>B.Ak});var a=t(35400),o=t.n(a),i=t(70438),r=t(88537),s=t(54240),l=t(68622),p=t(6309),c=t(12910),d=t(97600),u=t(54520),m=t(77113),f=t.n(m),h=t(96290),g=t(72591),_=t.n(g),b=t(1740),y=t.n(b),A=t(88128),w=t.n(A),k=t(30855),v=t.n(k),$=t(93051),C=t.n($),x=t(73656),W=t.n(x),z=t(98872),E={};E.styleTagTransform=W(),E.setAttributes=v(),E.insert=w().bind(null,"head"),E.domAPI=y(),E.insertStyleElement=C(),_()(z.A,E);let M=z.A&&z.A.locals?z.A.locals:void 0;var B=t(82003);function N(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var F=function(e){var n,t,m,g,_=e.title,b=e.children,y=e.hasUnsavedChanges,A=(0,c.qv)(),w=(0,B.Ak)(),k=w.setWindowMaximized,v=w.hideWindow,$=w.closeWorkspace,C=w.setHasUnsavedChanges,x=w.openedWindows,W=w.openedGroup,z=w.registeredGroupsByName,E=w.registeredWindowsByName,F=w.registeredWorkspacesByName,O=w.workspaceTitleByWorkspaceName,I=w.setWorkspaceTitle,T=(0,a.useContext)(p.i),S=T.workspaceName,G=T.isRootWorkspace,D=T.isLeafWorkspace,R=(0,d.YX)(S),J=x[R],P=null==J?void 0:J.openedWorkspaces.find(function(e){return e.workspaceName===S});if((0,a.useEffect)(function(){(null==P?void 0:P.hasUnsavedChanges)!=y&&C(S,null!=y&&y)},[P,y]),(0,a.useEffect)(function(){O[S]!==_&&I(S,_)},[P,_]),R<0||null==W||null==P)return null;if(!z[W.groupName])throw Error("Cannot find registered workspace group ".concat(W.groupName));var q=F[S].window,L=E[q];if(!L)throw Error("Cannot find registered workspace window ".concat(q));var j=L.canHide,H=L.canMaximize,U=J.maximized,Y=null!=(n=null==L?void 0:L.width)?n:"narrow";return o().createElement("div",{className:f()(M.workspaceOuterContainer,(N(t={},M.narrowWorkspace,"narrow"===Y),N(t,M.widerWorkspace,"wider"===Y),N(t,M.extraWideWorkspace,"extra-wide"===Y),t))},o().createElement("div",{className:f()(M.workspaceSpacer,N({},M.hidden,J.hidden))}),o().createElement("div",{className:f()(M.workspaceMiddleContainer,(N(m={},M.maximized,U),N(m,M.hidden,J.hidden),m))},o().createElement("div",{className:f()(M.workspaceInnerContainer,(N(g={},M.maximized,U),N(g,M.hidden,J.hidden),N(g,M.isRootWorkspace,G),g))},D&&o().createElement(o().Fragment,null,o().createElement(i.Header,{"aria-label":(0,u.V)("workspaceHeader"),className:M.header},!(0,c.xl)(A)&&!j&&o().createElement(i.HeaderMenuButton,{"aria-label":(0,u.V)("close"),renderMenuIcon:o().createElement(h.A6,null),onClick:function(){return $(S)}}),o().createElement(i.HeaderName,{prefix:""},_),o().createElement("div",{className:M.overlayHeaderSpacer}),o().createElement(i.HeaderGlobalBar,{className:M.headerButtons},(0,c.xl)(A)&&o().createElement(o().Fragment,null,(H||U)&&o().createElement(i.HeaderGlobalAction,{"aria-label":U?(0,u.V)("minimize"):(0,u.V)("maximize"),onClick:function(){return k(q,!U)}},U?o().createElement(r.Xj,null):o().createElement(s.hz,null)),j?o().createElement(i.HeaderGlobalAction,{"aria-label":(0,u.V)("hide"),onClick:function(){return v(q)}},o().createElement(h.fl,null)):o().createElement(i.HeaderGlobalAction,{"aria-label":(0,u.V)("close"),onClick:function(){return $(S)}},o().createElement(h.US,null))),"tablet"===A&&j&&o().createElement(i.HeaderGlobalAction,{"aria-label":(0,u.V)("close"),onClick:function(){return $(S)}},o().createElement(l.d3,null)))),o().createElement("div",{className:f()(M.workspaceContent)},b)))))},O=t(64429),I={};I.styleTagTransform=W(),I.setAttributes=v(),I.insert=w().bind(null,"head"),I.domAPI=y(),I.insertStyleElement=C(),_()(O.A,I);let T=O.A&&O.A.locals?O.A.locals:void 0;function S(e,n,t,a,o,i,r){try{var s=e[i](r),l=s.value}catch(e){t(e);return}s.done?n(l):Promise.resolve(l).then(a,o)}function G(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function D(e){var n=e.getIcon,t=e.isWindowHidden,a=e.tagContent;return o().createElement(o().Fragment,null,n({size:16}),t?o().createElement("span",{className:T.interruptedTag},"!"):o().createElement("span",{className:T.countTag},a))}var R=function(e){var n,t,r,s,l=e.icon,d=e.label,u=e.tagContent,m=e.workspaceToLaunch,h=e.onBeforeWorkspaceLaunch,g=(0,c.qv)(),_=(0,B.Ak)(),b=_.openedWindows,y=_.restoreWindow,A=(0,a.useContext)(p.i).windowName,w=b.find(function(e){return e.windowName===A}),k=null!=w,v=null!=(r=null==w?void 0:w.hidden)&&r,$=function(e,n){for(var t=e.length-1;t>=0;t--){var a=e[t];if(!a.hidden)return a.windowName===(null==n?void 0:n.windowName)}return!1}(b,w),C=(n=function(){var e,n,t,a;return function(e,n){var t,a,o,i,r={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){var l=[i,s];if(t)throw TypeError("Generator is already executing.");for(;r;)try{if(t=1,a&&(o=2&l[0]?a.return:l[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,l[1])).done)return o;switch(a=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(!(o=(o=r.trys).length>0&&o[o.length-1])&&(6===l[0]||2===l[0])){r=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(6===l[0]&&r.label<o[1]){r.label=o[1],o=l;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(l);break}o[2]&&r.ops.pop(),r.trys.pop();continue}l=n.call(e,r)}catch(e){l=[6,e],a=0}finally{t=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}(this,function(o){switch(o.label){case 0:if(!k)return[3,1];return $||y(w.windowName),[3,3];case 1:return[4,null==(e=null==h?void 0:h())||e];case 2:o.sent()&&(n=m.workspaceName,t=m.workspaceProps,a=m.windowProps,(0,B.pT)(n,t,a)),o.label=3;case 3:return[2]}})},t=function(){var e=this,t=arguments;return new Promise(function(a,o){var i=n.apply(e,t);function r(e){S(i,a,o,r,s,"next",e)}function s(e){S(i,a,o,r,s,"throw",e)}r(void 0)})},function(){return t.apply(this,arguments)});return"tablet"===g||"phone"===g?o().createElement(i.Button,{className:f()(T.container,G({},T.active,k)),iconDescription:d,kind:"ghost",onClick:C,role:"button",tabIndex:0,size:"md"},o().createElement("span",{className:T.elementContainer},o().createElement(D,{isWindowHidden:v,getIcon:l,tagContent:u})),o().createElement("span",null,d)):o().createElement(i.IconButton,{align:"left","aria-label":d,className:f()(T.container,(G(s={},T.active,k),G(s,T.focused,$),s)),enterDelayMs:300,kind:"ghost",label:d,onClick:C,size:"md"},o().createElement("div",{className:T.elementContainer},o().createElement(D,{isWindowHidden:v,getIcon:l,tagContent:u})))}},93636:function(e,n,t){t.d(n,{j:()=>G});var a=t(35400),o=t.n(a),i=t(25873),r=t(22956),s=t(20186),l=t(6105),p=t(82003),c=t(72591),d=t.n(c),u=t(1740),m=t.n(u),f=t(88128),h=t.n(f),g=t(30855),_=t.n(g),b=t(93051),y=t.n(b),A=t(73656),w=t.n(A),k=t(15626),v={};v.styleTagTransform=w(),v.setAttributes=_(),v.insert=h().bind(null,"head"),v.domAPI=m(),v.insertStyleElement=y(),d()(k.A,v);let $=k.A&&k.A.locals?k.A.locals:void 0;function C(e){var n=e.workspaceGroup,t=(0,p.Ak)().registeredWindowsByName,a=n.groupName,i=n.props,c=Object.values(t).filter(function(e){return e.group===a&&void 0!==e.icon}).sort(function(e,n){var t,a;return(null!=(t=e.order)?t:Number.MAX_VALUE)-(null!=(a=n.order)?a:Number.MAX_VALUE)});return 0===c.length?null:o().createElement("aside",{className:$.sideRail},o().createElement("div",{className:$.container},c.map(function(e){return o().createElement(l.A,{key:e.icon,config:function(){return(0,s.o)(e.moduleName,e.icon)},mountParcel:r.xL,windowName:e.name,groupProps:i})})))}var x=t(70438),W=t(97600),z=t(54520);function E(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function M(e,n,t,a,o,i,r){try{var s=e[i](r),l=s.value}catch(e){t(e);return}s.done?n(l):Promise.resolve(l).then(a,o)}var B=function(e){var n=e.lifeCycle,t=e.openedWorkspace,i=e.openedWindow,s=e.isRootWorkspace,c=e.isLeafWorkspace,d=(0,p.Ak)(),u=d.openedGroup,m=d.closeWorkspace,f=d.openChildWorkspace,h=(0,a.useMemo)(function(){var e,n;return t&&{closeWorkspace:(n=function(){var e,n,a,o,r,s,l,c=arguments;return function(e,n){var t,a,o,i,r={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){var l=[i,s];if(t)throw TypeError("Generator is already executing.");for(;r;)try{if(t=1,a&&(o=2&l[0]?a.return:l[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,l[1])).done)return o;switch(a=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(!(o=(o=r.trys).length>0&&o[o.length-1])&&(6===l[0]||2===l[0])){r=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(6===l[0]&&r.label<o[1]){r.label=o[1],o=l;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(l);break}o[2]&&r.ops.pop(),r.trys.pop();continue}l=n.call(e,r)}catch(e){l=[6,e],a=0}finally{t=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}(this,function(d){switch(d.label){case 0:if(a=void 0!==(n=(e=c.length>0&&void 0!==c[0]?c[0]:{}).closeWindow)&&n,r=void 0!==(o=e.discardUnsavedChanges)&&o,!a)return[3,3];if(s=r)return[3,2];return[4,(0,p.hL)({reason:"CLOSE_WINDOW",explicit:!0,windowName:i.windowName})];case 1:s=d.sent(),d.label=2;case 2:if(s)return m(i.openedWorkspaces[0].workspaceName),[2,!0];return[2,!1];case 3:if(l=r)return[3,5];return[4,(0,p.hL)({reason:"CLOSE_WORKSPACE",explicit:!0,windowName:i.windowName,workspaceName:t.workspaceName})];case 4:l=d.sent(),d.label=5;case 5:if(l)return m(t.workspaceName),[2,!0];return[2,!1];case 6:return[2]}})},function(){var e=this,t=arguments;return new Promise(function(a,o){var i=n.apply(e,t);function r(e){M(i,a,o,r,s,"next",e)}function s(e){M(i,a,o,r,s,"throw",e)}r(void 0)})}),launchChildWorkspace:function(e,n){f(t.workspaceName,e,null!=n?n:{})},workspaceName:t.workspaceName,workspaceProps:t.props,windowProps:i.props,groupProps:null!=(e=null==u?void 0:u.props)?e:null,isRootWorkspace:s,isLeafWorkspace:c}},[t,m,u,i]);return n?o().createElement(l.A,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){var a;a=t[n],n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a})}return e}({key:t.workspaceName,config:n,mountParcel:r.xL},h)):o().createElement(x.InlineLoading,{description:"".concat((0,z.V)("loading")," ...")})};let N=function(e){var n,t=e.openedWindow,i=t.openedWorkspaces,r=(n=(0,a.useState)(),function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,a,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],r=!0,s=!1;try{for(o=o.call(e);!(r=(t=o.next()).done)&&(i.push(t.value),2!==i.length);r=!0);}catch(e){s=!0,a=e}finally{try{r||null==o.return||o.return()}finally{if(s)throw a}}return i}}(n,2)||function(e,n){if(e){if("string"==typeof e)return E(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return E(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=r[0],p=r[1],c=W.J_.getState().registeredWorkspacesByName;return(0,a.useEffect)(function(){Promise.all(i.map(function(e){var n=c[e.workspaceName],t=n.moduleName,a=n.component;return(0,s.o)(t,a)})).then(p)},[i]),o().createElement(o().Fragment,null,i.map(function(e,n){return o().createElement(B,{key:e.uuid,openedWorkspace:e,openedWindow:t,lifeCycle:null==l?void 0:l[n],isRootWorkspace:0===n,isLeafWorkspace:n===i.length-1})}))};var F=t(950),O={};O.styleTagTransform=w(),O.setAttributes=_(),O.insert=h().bind(null,"head"),O.domAPI=m(),O.insertStyleElement=y(),d()(F.A,O);let I=F.A&&F.A.locals?F.A.locals:void 0;var T=t(77113),S=t.n(T);function G(e){e&&(0,i.createRoot)(e).render(o().createElement(D,null))}function D(){var e,n,t,a=(0,p.Ak)(),i=a.openedGroup,r=a.openedWindows,s=a.registeredGroupsByName;if(!i)return null;var l=s[i.groupName];return o().createElement("div",{className:S()(I.workspaceWindowsAndMenuContainer,(e={},n=I.overlay,t=l.overlay,n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e))},o().createElement("div",{className:I.workspaceWindowsContainer},r.map(function(e){return o().createElement(N,{key:e.windowName,openedWindow:e})})),o().createElement(C,{workspaceGroup:i}))}},82003:function(e,n,t){t.d(n,{Ak:()=>$,GY:()=>h,bi:()=>_,hL:()=>k,pT:()=>y});var a=t(97600),o=t(12910),i=t(81570),r=t(99780),s=t(90108);function l(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function p(e,n,t,a,o,i,r){try{var s=e[i](r),l=s.value}catch(e){t(e);return}s.done?n(l):Promise.resolve(l).then(a,o)}function c(e){return function(){var n=this,t=arguments;return new Promise(function(a,o){var i=e.apply(n,t);function r(e){p(i,a,o,r,s,"next",e)}function s(e){p(i,a,o,r,s,"throw",e)}r(void 0)})}}function d(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){var a;a=t[n],n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a})}return e}function u(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t.push.apply(t,a)}return t})(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}function m(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return l(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,n){var t,a,o,i,r={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){var l=[i,s];if(t)throw TypeError("Generator is already executing.");for(;r;)try{if(t=1,a&&(o=2&l[0]?a.return:l[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,l[1])).done)return o;switch(a=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(!(o=(o=r.trys).length>0&&o[o.length-1])&&(6===l[0]||2===l[0])){r=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(6===l[0]&&r.label<o[1]){r.label=o[1],o=l;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(l);break}o[2]&&r.ops.pop(),r.trys.pop();continue}l=n.call(e,r)}catch(e){l=[6,e],a=0}finally{t=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}function h(e,n){return g.apply(this,arguments)}function g(){return(g=c(function(e,n){var t;return f(this,function(o){switch(o.label){case 0:if(!(t=a.J_.getState().openedGroup))return[3,3];if(!(t.groupName!==e||!w(t.props,n)))return[3,2];return[4,k({reason:"CLOSE_WORKSPACE_GROUP",explicit:!1})];case 1:if(!o.sent())return[2,!1];return[3,3];case 2:return[2,!0];case 3:return a.J_.setState(function(t){return u(d({},t),{openedGroup:{groupName:e,props:n},openedWindows:[]})}),[2,!0]}})})).apply(this,arguments)}function _(e){return b.apply(this,arguments)}function b(){return(b=c(function(e){var n,t,o,i;return f(this,function(r){switch(r.label){case 0:if(t=(n=a.J_.getState()).openedGroup,o=n.openedWindows,!t)return[3,4];if(!(o.length>0))return[3,3];if(i=e)return[3,2];return[4,k({reason:"CLOSE_WORKSPACE_GROUP",explicit:!0})];case 1:i=r.sent(),r.label=2;case 2:if(!i)return[2,!1];r.label=3;case 3:return a.J_.setState(function(e){return u(d({},e),{openedGroup:null,openedWindows:[]})}),[2,!0];case 4:return[2,!0]}})})).apply(this,arguments)}function y(e){return A.apply(this,arguments)}function A(){return(A=c(function(e){var n,t,o,i,r,s,l,p,c,h,g,_,b,y,A,$,x,W,z,E,M,B,N=arguments;return f(this,function(f){switch(f.label){case 0:if(n=N.length>1&&void 0!==N[1]?N[1]:null,t=N.length>2&&void 0!==N[2]?N[2]:null,o=N.length>3&&void 0!==N[3]?N[3]:null,!(i=a.J_.getState()).registeredWorkspacesByName[e])throw Error("Unable to launch workspace ".concat(e,". Workspace is not registered"));if(!(r=(0,a.Ml)(e)))throw Error("Unable to launch workspace ".concat(e,". Workspace is not registered to a workspace window"));if(s=i.openedGroup,l=r.name,!(p=(0,a.o1)(l)))throw Error("Unable to launch workspace ".concat(e,". Workspace window ").concat(r.name," is not registered to a workspace group"));if(h=(c=(0,a.YX)(e))>=0,!(s&&(s.groupName!==p.name||!w(s.props,o))))return[3,2];return[4,k({reason:"CLOSE_WORKSPACE_GROUP",explicit:!1})];case 1:if(f.sent())return a.J_.setState(u(d({},i),{openedGroup:{groupName:p.name,props:o},openedWindows:[{windowName:l,openedWorkspaces:[C(e,n)],props:t,maximized:!1,hidden:!1}]})),[2,!0];return[2,!1];case 2:if(!h)return[3,9];if(_=i.openedWindows[c],y=null!=(b=null==(g=i.openedGroup)?void 0:g.props)?b:{},A=_.openedWorkspaces,!w(_.props,t))return[3,6];if(!(($=A.find(function(n){return n.workspaceName===e}))&&w($.props,n)))return[3,3];return(_.hidden||c!==i.openedWindows.length-1)&&a.J_.setState(v.restoreWindow(i,l)),[2,!0];case 3:return[4,k({reason:"CLOSE_WORKSPACE",explicit:!1,windowName:l,workspaceName:e})];case 4:if(f.sent())return a.J_.setState(u(d({},i),{openedGroup:{groupName:p.name,props:null!=(W=null==i||null==(x=i.openedGroup)?void 0:x.props)?W:y},openedWindows:m(i.openedWindows.filter(function(e,n){return n!==c})).concat([{windowName:l,openedWorkspaces:[C(e,n)],props:null!=(z=null==_?void 0:_.props)?z:t,maximized:!1,hidden:!1}])})),[2,!0];return[2,!1];case 5:return[3,8];case 6:return[4,k({reason:"CLOSE_WINDOW",explicit:!1,windowName:l})];case 7:if(f.sent())return a.J_.setState(u(d({},i),{openedGroup:{groupName:p.name,props:null!=y?y:null==i||null==(E=i.openedGroup)?void 0:E.props},openedWindows:m(i.openedWindows.filter(function(e,n){return n!==c})).concat([{windowName:l,openedWorkspaces:[C(e,n)],props:t,maximized:!1,hidden:!1}])})),[2,!0];return[2,!1];case 8:return[3,10];case 9:return a.J_.setState(u(d({},i),{openedGroup:{groupName:p.name,props:null!=(B=null!=o?o:null==i||null==(M=i.openedGroup)?void 0:M.props)?B:null},openedWindows:m(i.openedWindows).concat([{windowName:l,openedWorkspaces:[C(e,n)],props:t,maximized:!1,hidden:!1}])})),[2,!0];case 10:return[2]}})})).apply(this,arguments)}function w(e,n){return null==e||null==n||(0,s.b)(e,n)}function k(e){function n(n,t){for(var a=[],o=n.openedWorkspaces.length-1;o>=0;o--){var i=n.openedWorkspaces[o];if((i.hasUnsavedChanges||!e.explicit)&&a.push(i),t&&i.workspaceName===t)break}return a}var t=a.J_.getState(),o=t.openedWindows,r=t.workspaceTitleByWorkspaceName,s=[];switch(e.reason){case"CLOSE_WORKSPACE_GROUP":s=o.flatMap(function(e){return n(e)});break;case"CLOSE_WINDOW":var l=o.find(function(n){return n.windowName===e.windowName});if(!l)throw Error("Window ".concat(e.windowName," not found in opened windows."));s=n(l);break;case"CLOSE_WORKSPACE":var p=o.find(function(n){return n.windowName===e.windowName});if(!p)throw Error("Window ".concat(e.windowName," not found in opened windows."));s=n(p,e.workspaceName)}return 0===s.length?Promise.resolve(!0):new Promise(function(e){var n=(0,i.t)("workspace2-close-prompt",{onConfirm:function(){n(),e(!0)},onCancel:function(){n(),e(!1)},affectedWorkspaceTitles:s.map(function(e){return r[e.workspaceName]})})})}var v={setWindowMaximized:function(e,n,t){var a=e.openedWindows.findIndex(function(e){return e.windowName===n}),o=m(e.openedWindows),i=u(d({},o[a]),{maximized:t});return o[a]=i,u(d({},e),{openedWindows:o})},hideWindow:function(e,n){var t=e.openedWindows.findIndex(function(e){return e.windowName===n}),a=m(e.openedWindows),o=u(d({},a[t]),{hidden:!0});return a[t]=o,u(d({},e),{openedWindows:a})},restoreWindow:function(e,n){var t=e.openedWindows.findIndex(function(e){return e.windowName===n}),a=u(d({},e.openedWindows[t]),{hidden:!1}),o=m(e.openedWindows.filter(function(e,n){return n!==t})).concat([a]);return u(d({},e),{openedWindows:o})},closeWorkspace:function(e,n){var t=(0,a.YX)(n);if(t<0)return e;var o=d({},e.openedWindows[t]),i=o.openedWorkspaces.findIndex(function(e){return e.workspaceName===n}),r=m(e.openedWindows);return o.openedWorkspaces=o.openedWorkspaces.slice(0,i),0===o.openedWorkspaces.length?r.splice(t,1):r[t]=o,u(d({},e),{openedWindows:r})},openChildWorkspace:function(e,n,t,a){var o=e.registeredWorkspacesByName[t];if(!o)throw Error('No workspace named "'.concat(t,'" registered'));var i=e.registeredWorkspacesByName[n];if(!i)throw Error('No workspace named "'.concat(n,'" registered'));if(i.window!==o.window)throw Error("Child workspace ".concat(t," does not belong to the same workspace window as parent workspace ").concat(n));var r=e.openedWindows.findIndex(function(e){return e.windowName===o.window});if(-1==r)throw Error("Cannot open child workspace ".concat(t," as window ").concat(o.window," is not opened"));var s=e.openedWindows[r].openedWorkspaces;if(s[s.length-1].workspaceName!==n)throw Error("Cannot open child workspace ".concat(t," from parent workspace ").concat(n," as the parent is not the most recently opened workspace within the workspace window"));return{openedWindows:e.openedWindows.map(function(e,n){return n==r?u(d({},e),{openedWorkspaces:m(e.openedWorkspaces).concat([C(t,a)])}):e})}},setHasUnsavedChanges:function(e,n,t){var o=(0,a.YX)(n);if(o<0)return e;var i=d({},e.openedWindows[o]),r=i.openedWorkspaces.findIndex(function(e){return e.workspaceName===n});if(r<0)return e;i.openedWorkspaces[r]=u(d({},i.openedWorkspaces[r]),{hasUnsavedChanges:t});var s=m(e.openedWindows);return s[o]=i,u(d({},e),{openedWindows:s})},setWorkspaceTitle:function(e,n,t){var a=d({},e.workspaceTitleByWorkspaceName);return null===t?delete a[n]:a[n]=t,u(d({},e),{workspaceTitleByWorkspaceName:a})}};function $(){return(0,o.mQ)(a.J_,v)}function C(e,n){return{workspaceName:e,props:null!=n?n:{},hasUnsavedChanges:!1,uuid:(0,r.A)()}}}}]);
|
package/dist/2163.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"2163.js","sources":["webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/workspaces2/action-menu2/action-menu-button2.module.scss","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/workspaces2/action-menu2/action-menu2.module.scss","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/workspaces2/workspace-windows-and-menu.module.scss","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/workspaces2/workspace2.module.scss","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/utils.ts","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/workspaces2/workspace2.module.scss?6cd0","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/workspaces2/workspace2.component.tsx","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/workspaces2/action-menu2/action-menu-button2.module.scss?1aa6","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/workspaces2/action-menu2/action-menu-button2.component.tsx","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/workspaces2/action-menu2/action-menu2.module.scss?a1e1","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/workspaces2/action-menu2/action-menu2.component.tsx","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/workspaces2/active-workspace-window.component.tsx","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/workspaces2/workspace-windows-and-menu.module.scss?47cd","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/workspaces2/workspace-windows-and-menu.component.tsx","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/workspaces2/workspace2.ts"],"names":["carbonTagColors","Workspace2","windowDef","title","children","hasUnsavedChanges","layout","useLayoutType","useWorkspace2Store","setWindowMaximized","hideWindow","closeWorkspace","setHasUnsavedChanges","openedWindows","openedGroup","registeredGroupsByName","registeredWindowsByName","registeredWorkspacesByName","workspaceTitleByWorkspaceName","setWorkspaceTitle","useContext","SingleSpaContext","workspaceName","isRootWorkspace","isLeafWorkspace","openedWindowIndex","getOpenedWindowIndexByWorkspace","openedWindow","openedWorkspace","openedWorkspaces","find","workspace","useEffect","groupName","Error","windowName","workspaceDef","window","canHide","canMaximize","maximized","width","div","className","classNames","styles","hidden","Header","aria-label","getCoreTranslation","isDesktop","HeaderMenuButton","renderMenuIcon","ArrowLeftIcon","onClick","HeaderName","prefix","HeaderGlobalBar","HeaderGlobalAction","Minimize","Maximize","ArrowRightIcon","CloseIcon","DownToBottom","Tags","getIcon","isWindowHidden","tagContent","size","span","ActionMenuButton2","icon","label","workspaceToLaunch","onBeforeWorkspaceLaunch","restoreWindow","w","isWindowOpened","isFocused","isCurrentWindowFocused","currentWindow","i","length","win","workspaceProps","windowProps","launchWorkspace2","Button","iconDescription","kind","role","tabIndex","IconButton","align","enterDelayMs","ActionMenu","workspaceGroup","props","windowsWithIcons","Object","values","filter","group","undefined","sort","a","b","order","Number","MAX_VALUE","aside","map","Parcel","key","config","loadLifeCycles","moduleName","mountParcel","mountRootParcel","name","groupProps","ActiveWorkspace","lifeCycle","openChildWorkspace","useMemo","options","closeWindow","discardUnsavedChanges","okToCloseWorkspaces","promptForClosingWorkspaces","reason","explicit","launchChildWorkspace","childWorkspaceName","childWorkspaceProps","InlineLoading","description","useState","lifeCycles","setLifeCycles","workspace2Store","Promise","all","component","then","uuid","renderWorkspaceWindowsAndMenu","target","root","createRoot","render","WorkspaceWindowsAndMenu","overlay","ActiveWorkspaceWindow","launchWorkspaceGroup2","arePropsCompatible","state","closeWorkspaceGroup2","storeState","groupDef","isWindowAlreadyOpened","getWindowByWorkspaceName","getGroupByWindowName","newOpenedWorkspace","workspace2StoreActions","_","shallowEqual","promptReason","getAffectedWorkspacesInWindow","onlyUpToThisWorkspace","ret","push","affectedWorkspaces","flatMap","resolve","dispose","showModal","onConfirm","onCancel","affectedWorkspaceTitles","findIndex","workspaceIndex","slice","splice","parentWorkspaceName","childWorkspaceDef","parentWorkspaceDef","newWorkspaceTitleByWorkspaceName","useStoreWithActions","uuidV4"],"mappings":"+MAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,uwGAAwwG,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,sHAAsH,6EAA6E,gEAAgE,CAAC,MAAQ,EAAE,CAAC,SAAW,szBAAszB,eAAiB,CAAC,g/DAAg/D,mhEAAmhE,05DAA05D,u8uBAAu8uB,CAAC,WAAa,EAAE,EAAE,EAE52jC,EAAwB,MAAM,CAAG,CAChC,UAAa,8DACb,iBAAoB,qEACpB,SAAY,6DACZ,eAAkB,mEAClB,OAAU,2DACV,QAAW,2DACZ,EACA,MAAe,C,4ECZX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,8nEAA+nE,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,+GAA+G,6EAA6E,CAAC,MAAQ,EAAE,CAAC,SAAW,wkBAAwkB,eAAiB,CAAC,g/DAAg/D,kqDAAkqD,05DAA05D,CAAC,WAAa,EAAE,EAAE,EAEtnR,EAAwB,MAAM,CAAG,CAChC,eAAkB,4DAClB,gBAAmB,6DACnB,SAAY,sDACZ,QAAW,qDACX,UAAa,uDACb,gBAAmB,6DACnB,gBAAmB,6DACnB,QAAW,oDACZ,EACA,MAAe,C,0ECdX,EAA0B,A,SAA4B,KAE1D,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EACxF,IAAMwL,EAAmC,KAAK/B,EAAM1I,6BAA6B,EAQjF,OANIf,AAAU,OAAVA,EACF,OAAOwL,CAAgC,CAACrK,EAAc,CAEtDqK,CAAgC,CAACrK,EAAc,CAAGnB,EAG7C,OACFyJ,GAAAA,CACH1I,8BAA+ByK,C,EAEnC,CACF,EAEO,SAASnL,IACd,MAAOoL,AAAAA,GAAAA,EAAAA,EAAAA,AAAAA,EAAoBhD,EAAAA,EAAeA,CAAEwB,EAC9C,CAEA,SAASD,EAAmB7I,CAAqB,CAAE8D,CAA0C,EAC3F,MAAO,CACL9D,cAAAA,EACA2E,MAAOb,MAAAA,EAAAA,EAAkB,CAAC,EAC1B/E,kBAAmB,GACnB4I,KAAM4C,AAAAA,GAAAA,EAAAA,CAAAA,AAAAA,GACR,CACF,C"}
|
package/dist/217.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_version_app=globalThis.webpackChunk_kenyaemr_esm_version_app||[]).push([["217"],{7370:function(e,t,n){n.d(t,{yw:()=>p,p9:()=>h,Uz:()=>b,gM:()=>g,ll:()=>o,nX:()=>y,Ay:()=>m,Y1:()=>c,FZ:()=>f,oB:()=>l.o});let o="openmrs-routes:";var i=n(22956),r=n(71578),s=n(10201),a=n(97600),l=n(20186);function c(e,t){let n=t.name;if(!n)return void console.error(`An extension definition in ${e} is missing an name and thus cannot be
|
|
2
|
+
registered. To fix this, ensure that you define the "name" field inside the
|
|
3
|
+
extension definition.`,t);t.slots&&t.slot&&console.warn(`The extension ${n} from ${e} declares both a 'slots' property and
|
|
4
|
+
a 'slot' property. Only the 'slots' property will be honored.`);let o=t.slots?t.slots:t.slot?[t.slot]:[];if(!t.component)return void console.error(`The extension ${n} from ${e} is missing a 'component' entry and thus cannot be registered.
|
|
5
|
+
To fix this, ensure that you define a 'component' field inside the extension definition.`,t);for(let i of((0,a.VK)({name:n,load:()=>(0,l.o)(e,t.component),meta:t.meta||{},order:t.order,moduleName:e,privileges:t.privileges,online:t.online??!0,offline:t.offline??!1,featureFlag:t.featureFlag}),o))(0,a.K0)(i,n)}let d=[];function f(e,t){if(e&&t&&"object"==typeof t){(0,r.FL)(e);let n=t.extensions??[],o=t.modals??[],i=t.workspaces??[],f=t.workspaceGroups??[],p=t.featureFlags??[],u=t.workspaceGroups2??[],m=t.workspaceWindows2??[],h=t.workspaces2??[];t.pages?.forEach(t=>{t&&"object"==typeof t&&Object.hasOwn(t,"component")&&(Object.hasOwn(t,"route")||Object.hasOwn(t,"routeRegex")||Object.hasOwn(t,"routes"))?d.push({...t,appName:e}):console.warn(`A page for ${e} could not be registered as it does not appear to have the required properties`,t)}),n.forEach(t=>{t&&"object"==typeof t&&Object.hasOwn(t,"name")&&Object.hasOwn(t,"component")?c(e,t):console.warn(`An extension for ${e} could not be registered as it does not appear to have the required properties`,t)}),o.forEach(t=>{if(t&&"object"==typeof t&&Object.hasOwn(t,"name")&&Object.hasOwn(t,"component")){let n;(n=t.name)?t.component?(0,a.Ju)({name:n,moduleName:e,load:()=>(0,l.o)(e,t.component)}):console.error(`The modal ${n} from ${e} is missing a 'component' entry and thus cannot be registered.
|
|
6
|
+
To fix this, ensure that you define a 'component' field inside the modal definition.`,t):console.error(`A modal definition in ${e} is missing an name and thus cannot be
|
|
7
|
+
registered. To fix this, ensure that you define the "name" field inside the
|
|
8
|
+
modal definition.`,t)}else console.warn(`A modal for ${e} could not be registered as it does not appear to have the required properties`,t)}),i.forEach(t=>{t&&"object"==typeof t&&Object.hasOwn(t,"name")&&Object.hasOwn(t,"component")?function(e,t){let n=t.name;if(!n)return console.error(`A workspace definition in ${e} is missing a name and thus cannot be registered.
|
|
9
|
+
To fix this, ensure that you define the "name" field inside the workspace definition.`,t);let o=t.title;if(!o)return console.error(`A workspace definition in ${e} is missing a title and thus cannot be registered.
|
|
10
|
+
To fix this, ensure that you define the "title" field inside the workspace definition.`,t);if(!t.component)return console.error(`The workspace ${n} from ${e} is missing a 'component' entry and thus cannot be registered.
|
|
11
|
+
To fix this, ensure that you define a 'component' field inside the workspace definition.`,t);for(let i of((0,a.pm)({name:n,title:o,component:t.component,moduleName:e,type:t.type,canHide:t.canHide,canMaximize:t.canMaximize,width:t.width,preferredWindowSize:t.preferredWindowSize,groups:t.groups,load:()=>(0,l.o)(e,t.component)}),t.groups||[]))(0,a.io)({name:i,members:[n]})}(e,t):console.warn(`A workspace for ${e} could not be registered as it does not appear to have the required properties`,t)}),f.forEach(t=>{if(t&&"object"==typeof t&&Object.hasOwn(t,"name")){let n;(n=t.name)?(0,a.io)({name:n,members:t.members??[]}):console.error(`A workspace group definition in ${e} is missing a name and thus cannot be registered.
|
|
12
|
+
To fix this, ensure that you define the "name" field inside the workspace definition.`,t)}else console.warn(`A workspace group for ${e} could not be registered as it does not appear to have the required properties`,t)}),(0,a.rD)(u),(0,a.Qb)(e,m),(0,a.Uh)(e,h),p.forEach(t=>{if(t&&"object"==typeof t&&Object.hasOwn(t,"flagName"))t.flagName?t.label?t.description?(0,s.uA)(t.flagName,t.label,t.description):console.error(`A feature flag definition in ${e} is missing a description and thus cannot be registered.
|
|
13
|
+
To fix this, ensure that you define the "description" field inside the feature flag definition.`,t):console.error(`A feature flag definition in ${e} is missing a description and thus cannot be registered.
|
|
14
|
+
To fix this, ensure that you define the "label" field inside the feature flag definition.`,t):console.error(`A feature flag definition in ${e} is missing a name and thus cannot be registered.
|
|
15
|
+
To fix this, ensure that you define the "name" field inside the feature flag definition.`,t);else console.warn(`A feature flag for ${e} could not be registered as it does not appear to have the required properties`,t)})}}function p(){d.sort((e,t)=>e.appName.localeCompare(t.appName,"en"));let e=new Map;for(let t of d){e.has(t.appName)?e.set(t.appName,e.get(t.appName)+1):e.set(t.appName,0);let n=e.get(t.appName),o=`${t.appName}-page-${n}`,r=t.containerDomId??"omrs-apps-container",a=document.getElementById(r),c=`single-spa-application:${o}`;if(a){let e=document.createElement("div");e.id=c,a?.appendChild(e)}else throw Error(`${t.appName} ${t.component} cannot be mounted to "${r}"; DOM element does not exist.`);!function(e,t){let n=void 0!==t.route?t.route:void 0!==t.routeRegex&&new RegExp(t.routeRegex);if(!1===n)return console.warn(`A registered page definition is missing a route and thus cannot be registered.
|
|
16
|
+
To fix this, ensure that you define the "route" (or alternatively the "routeRegex") field inside the extension definition.`,e);if(!t.component)return console.warn(`A registered page definition is missing a component and thus cannot be registered.
|
|
17
|
+
To fix this, ensure that you define the "component" field inside the page definition.`,e);let o=function(e,{online:t,offline:n,featureFlag:o}){return window.offlineEnabled?i=>!!(navigator.onLine&&(t??!0)||!navigator.onLine&&n)&&(!o||!!(0,s.jj)(o))&&e(i):e}(function e(t){if(Array.isArray(t)){let n=t.map(e);return e=>n.some(t=>t(e))}return"string"==typeof t?(0,i.fz)(window.getOpenmrsSpaBase()+t):t instanceof RegExp?e=>t.test(e.pathname.replace(window.getOpenmrsSpaBase(),"")):()=>t}(n),t);(0,i.AG)(e,()=>(0,l.o)(t.appName,t.component),o)}(o,t)}}let u=(0,n(14955)._)();function m(e,t){if(u){if("string"==typeof t)if(t.startsWith("http"))return w(e,t);else try{let n=JSON.parse(t);if(b(n))return w(e,n);console.error(`The supplied routes for ${e} is not a valid OpenmrsAppRoutes object`,t)}catch(t){console.error(`Could not add routes override for ${e}: `,t)}else if(t instanceof URL)return w(e,t.toString());else if(b(t))return w(e,t);console.error(`Override for ${e} is not in a valid format. Expected either a Javascript Object, a JSON string of a Javascript object, or a URL`,t)}}function h(e){u&&localStorage.removeItem(o+e)}function g(){if(!u)return;let e=window.localStorage;for(let t=0;t<e.length;t++){let n=e.key(t);n?.startsWith(o)&&e.removeItem(n)}}function w(e,t){localStorage.setItem(o+e,JSON.stringify(t))}function b(e){if(e&&"object"==typeof e){let t=Object.prototype.hasOwnProperty;return!(t.call(e,"pages")&&(!e.pages||!Array.isArray(e.pages))||t.call(e,"extensions")&&(!e.extensions||!Array.isArray(e.extensions))||t.call(e,"workspaces")&&(!e.workspaces||!Array.isArray(e.workspaces))||t.call(e,"modals")&&(!e.modals||!Array.isArray(e.modals)))}return!1}function y(e){return!!e&&"object"==typeof e&&Object.entries(e).every(([e,t])=>"string"==typeof e&&b(t))}},20186:function(e,t,n){n.d(t,{o:()=>s});var o=n(81565),i=n(71578);let r=new Map;async function s(e,t){let n=t.indexOf("#"),i=n>=0,r=i?t.substring(0,n):e,s=i?t.substring(n+1):t,c=await (0,o.rL)(r);return c&&Object.hasOwn(c,s)&&"function"==typeof c[s]?l(r,c).then(()=>c[s]()):(c?c&&Object.hasOwn(c,s)?console.warn(`The export ${t}, defined in ${e}'s routes.json, is not a function`):console.warn(`${r} does not define a component called "${s}", referenced in ${e}'s routes.json. This cannot be loaded.`):console.warn(`Unknown app ${r} for ${t} defined in ${e}'s routes.json`),a)}let a={bootstrap:()=>Promise.resolve(),mount:()=>Promise.resolve(),unmount:()=>Promise.resolve()};async function l(e,t){if(e in r)await r[e];else{let n=t??await (0,o.rL)(e);await (r[e]=new Promise((t,o)=>{if(Object.hasOwn(n,"startupApp")){let r=n.startupApp;if("function"==typeof r)return Promise.resolve(r()).then(()=>{(0,i.kl)(e),t(null)}).catch(o)}(0,i.kl)(e),t(null)}))}}},467:function(e,t,n){n.d(t,{i7:()=>c,jf:()=>l,CE:()=>a,Zd:()=>s});var o=n(90108),i=n(58644);let r={};function s(e,t){let n=r[e];if(n)return n.active?console.error(`Attempted to override the existing store ${e}. Make sure that stores are only created once.`):n.value.setState(t,!0),n.active=!0,n.value;{let n=(0,i.y)()(()=>t);return r[e]={value:n,active:!0},n}}function a(e,t){let n=r[e];return n?(n.active?console.error(`Attempted to override the existing store ${e}. Make sure that stores are only created once.`):n.value=t,n.active=!0,n.value):(r[e]={value:t,active:!0},t)}function l(e,t){let n=r[e];if(!n){let n=(0,i.y)()(()=>t??{});return r[e]={value:n,active:!1},n}return n.value}function c(...e){let[t,n,i]=e,r=void 0===i?n:i,s=void 0===i?e=>e:n;return r(s(t.getState())),t.subscribe((e,t)=>{let n=s(e);(0,o.b)(t,n)||r(n)})}setTimeout(()=>{window&&"development"===window.spaEnv&&(window.stores=r)},1e3)}}]);
|
package/dist/217.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"217.js","sources":["webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-routes/dist/constants.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-routes/dist/loaders/components.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-routes/dist/loaders/pages.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-routes/dist/loaders/helpers.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-routes/dist/routes.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-routes/dist/loaders/load-lifecycles.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-state/dist/state.js"],"names":["localStorageRoutesPrefix","tryRegisterExtension","appName","extension","name","console","error","slots","slot","warn","component","registerExtension","load","loadLifeCycles","meta","order","moduleName","privileges","online","offline","featureFlag","attach","pages","registerApp","routes","registerModuleWithConfigSystem","availableExtensions","extensions","availableModals","modals","availableWorkspaces","workspaces","availableWorkspaceGroups","workspaceGroups","availableFeatureFlags","featureFlags","availableWorkspaceGroups2","workspaceGroups2","availableWorkspaceWindows2","workspaceWindows2","availableWorkspaces2","workspaces2","forEach","p","Object","hasOwn","push","ext","modal","tryRegisterModal","registerModal","workspace","tryRegisterWorkspace","title","group","registerWorkspace","type","canHide","canMaximize","width","preferredWindowSize","groups","registerWorkspaceGroup","members","workspaceGroup","tryRegisterWorkspaceGroup","registerWorkspaceGroups2","registerWorkspaceWindows2","registerWorkspaces2","flagName","label","description","registerFeatureFlag","finishRegisteringAllApps","sort","a","b","localeCompare","appIndices","Map","page","has","set","get","index","containerDomId","containerDiv","document","getElementById","appDomRootId","div","createElement","id","appendChild","Error","tryRegisterPage","route","routeRegex","RegExp","activityFn","wrapPageActivityFn","window","offlineEnabled","location","navigator","onLine","getFeatureFlag","getActivityFn","Array","isArray","activators","map","some","activator","pathToActiveWhen","getOpenmrsSpaBase","regex","test","pathname","replace","registerApplication","isEnabled","canAccessStorage","addRoutesOverride","startsWith","addRouteOverrideInternal","maybeRoutes","JSON","parse","isOpenmrsAppRoutes","e","URL","toString","removeRoutesOverride","localStorage","removeItem","resetAllRoutesOverrides","localStorage1","i","length","key","setItem","stringify","hasOwnProperty","prototype","call","isOpenmrsRoutes","entries","every","value","initializedApps","routesAppName","fullComponentName","poundIndex","indexOf","isNamespaced","substring","componentName","module","importDynamic","initializeApp","then","emptyLifecycle","bootstrap","Promise","resolve","mount","unmount","_module","reject","startup","registerModuleLoad","catch","availableStores","createGlobalStore","initialState","available","active","setState","store","createStore","registerGlobalStore","getGlobalStore","fallbackState","subscribeTo","args","select","handle","handler","selector","state","getState","subscribe","previous","current","shallowEqual","setTimeout","spaEnv"],"mappings":"8PAAO,IAAMA,EAA2B,kB,2DCS7B,SAASC,EAAqBC,CAAO,CAAEC,CAAS,EACvD,IAAMC,EAAOD,EAAUC,IAAI,CAC3B,GAAI,CAACA,EAAM,YACPC,QAAQC,KAAK,CAAC,CAAC,2BAA2B,EAAEJ,EAAQ;;qBAEvC,CAAC,CAAEC,EAGhBA,CAAAA,EAAUI,KAAK,EAAIJ,EAAUK,IAAI,EACjCH,QAAQI,IAAI,CAAC,CAAC,cAAc,EAAEL,EAAK,MAAM,EAAEF,EAAQ;6DACE,CAAC,EAE1D,IAAMK,EAAQJ,EAAUI,KAAK,CAAGJ,EAAUI,KAAK,CAAGJ,EAAUK,IAAI,CAAG,CAC/DL,EAAUK,IAAI,CACjB,CAAG,EAAE,CACN,GAAI,CAACL,EAAUO,SAAS,CAAE,YACtBL,QAAQC,KAAK,CAAC,CAAC,cAAc,EAAEF,EAAK,MAAM,EAAEF,EAAQ;wFAC4B,CAAC,CAAEC,GAcvF,IAAK,IAAMK,KAXXG,AAAAA,GAAAA,EAAAA,EAAAA,AAAAA,EAAk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,EAAQM,EAEhB,EACJ,CAtFAE,WAAW,KACH/F,QAAUA,AAAkB,gBAAlBA,OAAOgG,MAAM,EACvBhG,CAAAA,OAAO,MAAS,CAAGwE,CAAc,CAEzC,EAAG,I"}
|
package/dist/2267.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.webpackChunk_kenyaemr_esm_version_app=globalThis.webpackChunk_kenyaemr_esm_version_app||[]).push([["2267"],{566:function(e,n,t){"use strict";t.r(n),t.d(n,{withSSR:()=>eu,I18nextProvider:()=>eo,selectOrdinal:()=>ey,getI18n:()=>I,date:()=>el,initReactI18next:()=>C,useTranslation:()=>Q,select:()=>ed,Translation:()=>ei,setI18n:()=>A,withTranslation:()=>et,setDefaults:()=>x,getDefaults:()=>k,time:()=>ef,I18nContext:()=>E,number:()=>ep,plural:()=>eg,Trans:()=>$,getInitialProps:()=>R,composeInitialProps:()=>D,useSSR:()=>ea});var r,i=t(34985);function o(e,n){if(null==e)return{};var t,r,o=(0,i.A)(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],-1===n.indexOf(t)&&({}).propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var a=t(85761),c=t(93442),s=t(35400),u=t(29002),l=t.n(u),f=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function p(e){var n={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},t=e.match(/<\/?([^\s]+?)[/\s>]/);if(t&&(n.name=t[1],(l()[t[1]]||"/"===e.charAt(e.length-2))&&(n.voidElement=!0),n.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var i=new RegExp(f),o=null;null!==(o=i.exec(e));)if(o[0].trim())if(o[1]){var a=o[1].trim(),c=[a,""];a.indexOf("=")>-1&&(c=a.split("=")),n.attrs[c[0]]=c[1],i.lastIndex--}else o[2]&&(n.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return n}var d=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,g=/^\s*$/,y=Object.create(null);let m=function(e,n){n||(n={}),n.components||(n.components=y);var t,r=[],i=[],o=-1,a=!1;if(0!==e.indexOf("<")){var c=e.indexOf("<");r.push({type:"text",content:-1===c?e:e.substring(0,c)})}return e.replace(d,function(c,s){if(a){if(c!=="</"+t.name+">")return;a=!1}var u,l="/"!==c.charAt(1),f=c.startsWith("\x3c!--"),d=s+c.length,y=e.charAt(d);if(f){var m=p(c);return o<0?r.push(m):(u=i[o]).children.push(m),r}if(l&&(o++,"tag"===(t=p(c)).type&&n.components[t.name]&&(t.type="component",a=!0),t.voidElement||a||!y||"<"===y||t.children.push({type:"text",content:e.slice(d,e.indexOf("<",d))}),0===o&&r.push(t),(u=i[o-1])&&u.children.push(t),i[o]=t),(!l||t.voidElement)&&(o>-1&&(t.voidElement||t.name===c.slice(2,-1))&&(t=-1==--o?r:i[o]),!a&&"<"!==y&&y)){u=-1===o?r:i[o].children;var v=e.indexOf("<",d),b=e.slice(d,-1===v?void 0:v);g.test(b)&&(b=" "),(v>-1&&o+u.length>=0||" "!==b)&&u.push({type:"text",content:b})}}),r};var v=t(79736),b=t(36678),h=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,O={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"…","…":"…","/":"/","/":"/"},j=function(e){return O[e]};function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?w(Object(t),!0).forEach(function(n){(0,c.A)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var S={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(h,j)}},E=(0,s.createContext)();function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};S=P(P({},S),e)}function k(){return S}var N=function(){function e(){(0,v.A)(this,e),this.usedNamespaces={}}return(0,b.A)(e,[{key:"addUsedNamespaces",value:function(e){var n=this;e.forEach(function(e){n.usedNamespaces[e]||(n.usedNamespaces[e]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function A(e){r=e}function I(){return r}var C={type:"3rdParty",init:function(e){x(e.options.react),r=e}};function D(e){return function(n){return new Promise(function(t){var r=R();e.getInitialProps?e.getInitialProps(n).then(function(e){t(P(P({},e),r))}):t(r)})}}function R(){var e=r,n=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],t={},i={};return e.languages.forEach(function(t){i[t]={},n.forEach(function(n){i[t][n]=e.getResourceBundle(t,n)||{}})}),t.initialI18nStore=i,t.initialLanguage=e.language,t}function T(){if(console&&console.warn){for(var e,n=arguments.length,t=Array(n),r=0;r<n;r++)t[r]=arguments[r];"string"==typeof t[0]&&(t[0]="react-i18next:: ".concat(t[0])),(e=console).warn.apply(e,t)}}var L={};function z(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];"string"==typeof n[0]&&L[n[0]]||("string"==typeof n[0]&&(L[n[0]]=new Date),T.apply(void 0,n))}function B(e,n,t){e.loadNamespaces(n,function(){e.isInitialized?t():e.on("initialized",function n(){setTimeout(function(){e.off("initialized",n)},0),t()})})}function U(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}var F=["format"],_=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function K(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?H(Object(t),!0).forEach(function(n){(0,c.A)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):H(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function V(e,n){if(!e)return!1;var t=e.props?e.props.children:e.children;return n?t.length>0:!!t}function W(e){return e?e.props?e.props.children:e.children:[]}function M(e){return Array.isArray(e)?e:[e]}function $(e){var n=e.children,t=e.count,i=e.parent,c=e.i18nKey,u=e.context,l=e.tOptions,f=void 0===l?{}:l,p=e.values,d=e.defaults,g=e.components,y=e.ns,v=e.i18n,b=e.t,h=e.shouldUnescape,O=o(e,_),j=(0,s.useContext)(E)||{},w=j.i18n,P=j.defaultNS,x=v||w||r;if(!x)return z("You will need to pass in an i18next instance by using i18nextReactModule"),n;var k=b||x.t.bind(x)||function(e){return e};u&&(f.context=u);var N=K(K({},S),x.options&&x.options.react),A=y||k.ns||P||x.options&&x.options.defaultNS;A="string"==typeof A?[A]:A||["translation"];var I=d||function e(n,t){if(!n)return"";var r="",i=M(n),c=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return i.forEach(function(n,i){if("string"==typeof n)r+="".concat(n);else if((0,s.isValidElement)(n)){var u=Object.keys(n.props).length,l=c.indexOf(n.type)>-1,f=n.props.children;if(!f&&l&&0===u)r+="<".concat(n.type,"/>");else if(f||l&&0===u)if(n.props.i18nIsDynamicList)r+="<".concat(i,"></").concat(i,">");else if(l&&1===u&&"string"==typeof f)r+="<".concat(n.type,">").concat(f,"</").concat(n.type,">");else{var p=e(f,t);r+="<".concat(i,">").concat(p,"</").concat(i,">")}else r+="<".concat(i,"></").concat(i,">")}else if(null===n)T("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===(0,a.A)(n)){var d=n.format,g=Object.keys(o(n,F));if(1===g.length){var y=d?"".concat(g[0],", ").concat(d):g[0];r+="{{".concat(y,"}}")}else T("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",n)}else T("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",n)}),r}(n,N)||N.transEmptyNodeValue||c,C=N.hashTransKey,D=c||(C?C(I):I),R=p?f.interpolation:{interpolation:K(K({},f.interpolation),{},{prefix:"#$?",suffix:"?$#"})},L=K(K(K(K({},f),{},{count:t},p),R),{},{defaultValue:I,ns:A}),B=function(e,n,t,r,i,o){if(""===n)return[];var c=r.transKeepBasicHtmlNodesFor||[],u=n&&new RegExp(c.join("|")).test(n);if(!e&&!u)return[n];var l={};!function e(n){M(n).forEach(function(n){"string"!=typeof n&&(V(n)?e(W(n)):"object"!==(0,a.A)(n)||(0,s.isValidElement)(n)||Object.assign(l,n))})}(e);var f=m("<0>".concat(n,"</0>")),p=K(K({},l),i);function d(e,n,t){var r=W(e),i=y(r,n.children,t);return"[object Array]"===Object.prototype.toString.call(r)&&r.every(function(e){return(0,s.isValidElement)(e)})&&0===i.length?r:i}function g(e,n,t,r,i){e.dummy&&(e.children=n),t.push((0,s.cloneElement)(e,K(K({},e.props),{},{key:r}),i?void 0:n))}function y(n,i,l){var f=M(n);return M(i).reduce(function(n,i,m){var v=i.children&&i.children[0]&&i.children[0].content&&t.services.interpolator.interpolate(i.children[0].content,p,t.language);if("tag"===i.type){var b,h,O,j=f[parseInt(i.name,10)];!j&&1===l.length&&l[0][i.name]&&(j=l[0][i.name]),j||(j={});var w=0!==Object.keys(i.attrs).length?(b={props:i.attrs},(O=K({},h=j)).props=Object.assign(b.props,h.props),O):j,P=(0,s.isValidElement)(w),S=P&&V(i,!0)&&!i.voidElement,E=u&&"object"===(0,a.A)(w)&&w.dummy&&!P,x="object"===(0,a.A)(e)&&null!==e&&Object.hasOwnProperty.call(e,i.name);if("string"==typeof w){var k=t.services.interpolator.interpolate(w,p,t.language);n.push(k)}else if(V(w)||S){var N=d(w,i,l);g(w,N,n,m)}else if(E){var A=y(f,i.children,l);n.push((0,s.cloneElement)(w,K(K({},w.props),{},{key:m}),A))}else if(Number.isNaN(parseFloat(i.name)))if(x){var I=d(w,i,l);g(w,I,n,m,i.voidElement)}else if(r.transSupportBasicHtmlNodes&&c.indexOf(i.name)>-1)if(i.voidElement)n.push((0,s.createElement)(i.name,{key:"".concat(i.name,"-").concat(m)}));else{var C=y(f,i.children,l);n.push((0,s.createElement)(i.name,{key:"".concat(i.name,"-").concat(m)},C))}else if(i.voidElement)n.push("<".concat(i.name," />"));else{var D=y(f,i.children,l);n.push("<".concat(i.name,">").concat(D,"</").concat(i.name,">"))}else if("object"!==(0,a.A)(w)||P)1===i.children.length&&v?n.push((0,s.cloneElement)(w,K(K({},w.props),{},{key:m}),v)):n.push((0,s.cloneElement)(w,K(K({},w.props),{},{key:m})));else{var R=i.children[0]?v:null;R&&n.push(R)}}else if("text"===i.type){var T=r.transWrapTextNodes,L=o?r.unescape(t.services.interpolator.interpolate(i.content,p,t.language)):t.services.interpolator.interpolate(i.content,p,t.language);T?n.push((0,s.createElement)(T,{key:"".concat(i.name,"-").concat(m)},L)):n.push(L)}return n},[])}return W(y([{dummy:!0,children:e||[]}],f,M(e||[]))[0])}(g||n,D?k(D,L):I,x,N,L,h),U=void 0!==i?i:N.defaultTransParent;return U?(0,s.createElement)(U,O,B):B}function q(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}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 r,i,o,a,c=[],s=!0,u=!1;try{if(o=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=o.call(t)).done)&&(c.push(r.value),c.length!==n);s=!0);}catch(e){u=!0,i=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,n)||function(e,n){if(e){if("string"==typeof e)return q(e,n);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?q(e,n):void 0}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function Z(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?J(Object(t),!0).forEach(function(n){(0,c.A)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):J(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var G=function(e,n){var t=(0,s.useRef)();return(0,s.useEffect)(function(){t.current=n?t.current:e},[e,n]),t.current};function Q(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.i18n,i=(0,s.useContext)(E)||{},o=i.i18n,a=i.defaultNS,c=t||o||r;if(c&&!c.reportNamespaces&&(c.reportNamespaces=new N),!c){z("You will need to pass in an i18next instance by using initReactI18next");var u=function(e){return Array.isArray(e)?e[e.length-1]:e},l=[u,{},!1];return l.t=u,l.i18n={},l.ready=!1,l}c.options.react&&void 0!==c.options.react.wait&&z("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var f=Z(Z(Z({},S),c.options.react),n),p=f.useSuspense,d=f.keyPrefix,g=e||a||c.options&&c.options.defaultNS;g="string"==typeof g?[g]:g||["translation"],c.reportNamespaces.addUsedNamespaces&&c.reportNamespaces.addUsedNamespaces(g);var y=(c.isInitialized||c.initializedStoreOnce)&&g.every(function(e){return function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.languages&&n.languages.length?void 0===n.options.ignoreJSONStructure?function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.languages[0],i=!!n.options&&n.options.fallbackLng,o=n.languages[n.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,t){var r=n.services.backendConnector.state["".concat(e,"|").concat(t)];return -1===r||2===r};return(!(t.bindI18n&&t.bindI18n.indexOf("languageChanging")>-1)||!n.services.backendConnector.backend||!n.isLanguageChangingTo||!!a(n.isLanguageChangingTo,e))&&!!(n.hasResourceBundle(r,e)||!n.services.backendConnector.backend||n.options.resources&&!n.options.partialBundledLanguages||a(r,e)&&(!i||a(o,e)))}(e,n,t):n.hasLoadedNamespace(e,{precheck:function(n,r){if(t.bindI18n&&t.bindI18n.indexOf("languageChanging")>-1&&n.services.backendConnector.backend&&n.isLanguageChangingTo&&!r(n.isLanguageChangingTo,e))return!1}}):(z("i18n.languages were undefined or empty",n.languages),!0)}(e,c,f)});function m(){return c.getFixedT(null,"fallback"===f.nsMode?g:g[0],d)}var v=Y((0,s.useState)(m),2),b=v[0],h=v[1],O=g.join(),j=G(O),w=(0,s.useRef)(!0);(0,s.useEffect)(function(){var e=f.bindI18n,n=f.bindI18nStore;function t(){w.current&&h(m)}return w.current=!0,y||p||B(c,g,function(){w.current&&h(m)}),y&&j&&j!==O&&w.current&&h(m),e&&c&&c.on(e,t),n&&c&&c.store.on(n,t),function(){w.current=!1,e&&c&&e.split(" ").forEach(function(e){return c.off(e,t)}),n&&c&&n.split(" ").forEach(function(e){return c.store.off(e,t)})}},[c,O]);var P=(0,s.useRef)(!0);(0,s.useEffect)(function(){w.current&&!P.current&&h(m),P.current=!1},[c,d]);var x=[b,c,y];if(x.t=b,x.i18n=c,x.ready=y,y||!y&&!p)return x;throw new Promise(function(e){B(c,g,function(){e()})})}var X=["forwardedRef"];function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function en(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ee(Object(t),!0).forEach(function(n){(0,c.A)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ee(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function et(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t){function r(r){var i=r.forwardedRef,a=o(r,X),c=Y(Q(e,en(en({},a),{},{keyPrefix:n.keyPrefix})),3),u=c[0],l=c[1],f=c[2],p=en(en({},a),{},{t:u,i18n:l,tReady:f});return n.withRef&&i?p.ref=i:!n.withRef&&i&&(p.forwardedRef=i),(0,s.createElement)(t,p)}return r.displayName="withI18nextTranslation(".concat(U(t),")"),r.WrappedComponent=t,n.withRef?(0,s.forwardRef)(function(e,n){return(0,s.createElement)(r,Object.assign({},e,{forwardedRef:n}))}):r}}var er=["ns","children"];function ei(e){var n=e.ns,t=e.children,r=Y(Q(n,o(e,er)),3),i=r[0],a=r[1],c=r[2];return t(i,{i18n:a,lng:a.language},c)}function eo(e){var n=e.i18n,t=e.defaultNS,r=e.children,i=(0,s.useMemo)(function(){return{i18n:n,defaultNS:t}},[n,t]);return(0,s.createElement)(E.Provider,{value:i},r)}function ea(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.i18n,o=((0,s.useContext)(E)||{}).i18n,a=i||o||r;a.options&&a.options.isClone||(e&&!a.initializedStoreOnce&&(a.services.resourceStore.data=e,a.options.ns=Object.values(e).reduce(function(e,n){return Object.keys(n).forEach(function(n){0>e.indexOf(n)&&e.push(n)}),e},a.options.ns),a.initializedStoreOnce=!0,a.isInitialized=!0),n&&!a.initializedLanguageOnce&&(a.changeLanguage(n),a.initializedLanguageOnce=!0))}var ec=["initialI18nStore","initialLanguage"];function es(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function eu(){return function(e){function n(n){var t=n.initialI18nStore,r=n.initialLanguage,i=o(n,ec);return ea(t,r),(0,s.createElement)(e,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?es(Object(t),!0).forEach(function(n){(0,c.A)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):es(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}({},i))}return n.getInitialProps=D(e),n.displayName="withI18nextSSR(".concat(U(e),")"),n.WrappedComponent=e,n}}var el=function(){return""},ef=function(){return""},ep=function(){return""},ed=function(){return""},eg=function(){return""},ey=function(){return""}},29002:function(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},79736:function(e,n,t){"use strict";function r(e,n){if(!(e instanceof n))throw TypeError("Cannot call a class as a function")}t.d(n,{A:()=>r})},36678:function(e,n,t){"use strict";t.d(n,{A:()=>o});var r=t(33780);function i(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.A)(i.key),i)}}function o(e,n,t){return n&&i(e.prototype,n),t&&i(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}},93442:function(e,n,t){"use strict";t.d(n,{A:()=>i});var r=t(33780);function i(e,n,t){return(n=(0,r.A)(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}},34985:function(e,n,t){"use strict";function r(e,n){if(null==e)return{};var t={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==n.indexOf(r))continue;t[r]=e[r]}return t}t.d(n,{A:()=>r})},33780:function(e,n,t){"use strict";t.d(n,{A:()=>i});var r=t(85761);function i(e){var n=function(e,n){if("object"!=(0,r.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!=(0,r.A)(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(n)?n:n+""}},85761:function(e,n,t){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.d(n,{A:()=>r})}}]);
|