@kenyaemr/esm-adr-app 5.4.2-pre.2546 → 5.4.2-pre.2553

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.
Files changed (95) hide show
  1. package/.turbo/turbo-build.log +10 -36
  2. package/dist/118.js +1 -0
  3. package/dist/118.js.map +1 -0
  4. package/dist/127.js +1 -0
  5. package/dist/152.js +22 -0
  6. package/dist/152.js.map +1 -0
  7. package/dist/265.js +15 -0
  8. package/dist/265.js.map +1 -0
  9. package/dist/267.js +1 -0
  10. package/dist/267.js.map +1 -0
  11. package/dist/329.js +1 -0
  12. package/dist/329.js.map +1 -0
  13. package/dist/40.js +1 -0
  14. package/dist/466.js +1 -0
  15. package/dist/466.js.map +1 -0
  16. package/dist/472.js +1 -0
  17. package/dist/472.js.map +1 -0
  18. package/dist/478.js +1 -0
  19. package/dist/478.js.map +1 -0
  20. package/dist/675.js +1 -0
  21. package/dist/675.js.map +1 -0
  22. package/dist/689.js +1 -0
  23. package/dist/689.js.map +1 -0
  24. package/dist/72.js +1 -0
  25. package/dist/72.js.map +1 -0
  26. package/dist/736.js +1 -0
  27. package/dist/736.js.map +1 -0
  28. package/dist/77.js +1 -0
  29. package/dist/77.js.map +1 -0
  30. package/dist/847.js +1 -0
  31. package/dist/847.js.map +1 -0
  32. package/dist/85.js +1 -0
  33. package/dist/85.js.map +1 -0
  34. package/dist/91.js +1 -0
  35. package/dist/91.js.map +1 -0
  36. package/dist/911.js +17 -0
  37. package/dist/911.js.map +1 -0
  38. package/dist/916.js +1 -0
  39. package/dist/998.js +1 -0
  40. package/dist/998.js.map +1 -0
  41. package/dist/kenyaemr-esm-adr-app.js +5 -1
  42. package/dist/kenyaemr-esm-adr-app.js.buildmanifest.json +215 -213
  43. package/dist/kenyaemr-esm-adr-app.js.map +1 -1
  44. package/dist/main.js +26 -2
  45. package/dist/main.js.map +1 -1
  46. package/dist/routes.json +1 -1
  47. package/package.json +23 -26
  48. package/rspack.config.js +1 -0
  49. package/dist/144.js +0 -2
  50. package/dist/144.js.LICENSE.txt +0 -19
  51. package/dist/144.js.map +0 -1
  52. package/dist/197.js +0 -1
  53. package/dist/216.js +0 -2
  54. package/dist/216.js.LICENSE.txt +0 -9
  55. package/dist/216.js.map +0 -1
  56. package/dist/225.js +0 -1
  57. package/dist/225.js.map +0 -1
  58. package/dist/294.js +0 -1
  59. package/dist/300.js +0 -1
  60. package/dist/41.js +0 -2
  61. package/dist/41.js.LICENSE.txt +0 -9
  62. package/dist/41.js.map +0 -1
  63. package/dist/427.js +0 -2
  64. package/dist/427.js.LICENSE.txt +0 -5
  65. package/dist/427.js.map +0 -1
  66. package/dist/470.js +0 -1
  67. package/dist/470.js.map +0 -1
  68. package/dist/490.js +0 -1
  69. package/dist/490.js.map +0 -1
  70. package/dist/495.js +0 -1
  71. package/dist/495.js.map +0 -1
  72. package/dist/567.js +0 -2
  73. package/dist/567.js.LICENSE.txt +0 -39
  74. package/dist/567.js.map +0 -1
  75. package/dist/606.js +0 -1
  76. package/dist/606.js.map +0 -1
  77. package/dist/682.js +0 -1
  78. package/dist/682.js.map +0 -1
  79. package/dist/717.js +0 -1
  80. package/dist/717.js.map +0 -1
  81. package/dist/755.js +0 -1
  82. package/dist/755.js.map +0 -1
  83. package/dist/76.js +0 -2
  84. package/dist/76.js.LICENSE.txt +0 -29
  85. package/dist/76.js.map +0 -1
  86. package/dist/795.js +0 -1
  87. package/dist/795.js.map +0 -1
  88. package/dist/876.js +0 -1
  89. package/dist/876.js.map +0 -1
  90. package/dist/89.js +0 -1
  91. package/dist/89.js.map +0 -1
  92. package/dist/913.js +0 -2
  93. package/dist/913.js.LICENSE.txt +0 -32
  94. package/dist/913.js.map +0 -1
  95. package/dist/main.js.LICENSE.txt +0 -65
package/dist/77.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_adr_app=globalThis.webpackChunk_kenyaemr_esm_adr_app||[]).push([["77"],{2326:function(n,e,t){t.d(e,{ZI:()=>c});var a,i,o,s,p=t(5400),l=t.n(p),r=t(4970);let c=l().forwardRef(function({children:n,size:e=16,...t},p){return l().createElement(r.A,{width:e,height:e,ref:p,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},a||(a=l().createElement("circle",{cx:"22",cy:"24",r:"2"})),i||(i=l().createElement("path",{fill:"none",d:"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z"})),o||(o=l().createElement("path",{d:"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z"})),s||(s=l().createElement("path",{d:"M12,28H7V7h3v3H22V7h3v9h2V7a2,2,0,0,0-2-2H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2h5ZM12,4h8V8H12Z"})),n)})},3290:function(n,e,t){t.d(e,{A:()=>p});var a=t(1452),i=t.n(a),o=t(4567),s=t.n(o)()(i());s.push([n.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-adr__card-header__desktopHeader___Qe2fu,.-esm-adr__card-header__tabletHeader___gFxMA{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0 .75rem 1rem;background-color:#fff}.-esm-adr__card-header__desktopHeader___Qe2fu h4:after,.-esm-adr__card-header__tabletHeader___gFxMA h4:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-adr__card-header__desktopHeader___Qe2fu{height:3rem}.-esm-adr__card-header__desktopHeader___Qe2fu h4{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252}.-esm-adr__card-header__tabletHeader___gFxMA{height:4.5rem}.-esm-adr__card-header__tabletHeader___gFxMA h4{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0);color:#525252}html[dir=rtl] .-esm-adr__card-header__desktopHeader___Qe2fu,html[dir=rtl] .-esm-adr__card-header__tabletHeader___gFxMA{text-align:right;padding:.75rem 1rem .75rem 0}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./../../node_modules/@openmrs/esm-patient-common-lib/src/cards/card-header.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,2FAEE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,4BAAA,CACA,qBDDc,CCGd,6GACE,UAAA,CACA,aAAA,CACA,UC0BS,CDzBT,mBAAA,CACA,2CAAA,CAIJ,8CACE,WC6BW,CD5BX,iDE20BE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFz0BA,aDlBM,CCsBV,6CACE,aAAA,CACA,gDEm0BE,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CFj0BA,aD1BM,CCgCR,uHAEE,gBAAA,CACA,4BAAA",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 '@openmrs/esm-styleguide/src/vars' as *;\n\n.desktopHeader,\n.tabletHeader {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: layout.$spacing-04 0 layout.$spacing-04 layout.$spacing-05;\n background-color: $ui-background;\n\n h4:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n }\n}\n\n.desktopHeader {\n height: layout.$spacing-09;\n h4 {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n }\n}\n\n.tabletHeader {\n height: 4.5rem;\n h4 {\n @include type.type-style('heading-03');\n color: $text-02;\n }\n}\n\n// Overriding styles for RTL support\nhtml[dir='rtl'] {\n .desktopHeader,\n .tabletHeader {\n text-align: right;\n padding: layout.$spacing-04 layout.$spacing-05 layout.$spacing-04 0;\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),s.locals={desktopHeader:"-esm-adr__card-header__desktopHeader___Qe2fu",tabletHeader:"-esm-adr__card-header__tabletHeader___gFxMA"};let p=s},1981:function(n,e,t){t.d(e,{A:()=>p});var a=t(1452),i=t.n(a),o=t(4567),s=t.n(o)()(i());s.push([n.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-adr__empty-state__action___YzcNS{margin-bottom:.5rem}.-esm-adr__empty-state__content___Z5VYW{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);color:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-adr__empty-state__desktopHeading___Xj2e2 h4{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252}.-esm-adr__empty-state__tabletHeading___MrJbs h4{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0);color:#525252}.-esm-adr__empty-state__desktopHeading___Xj2e2,.-esm-adr__empty-state__tabletHeading___MrJbs{text-align:left;text-transform:capitalize;margin-bottom:1rem}.-esm-adr__empty-state__desktopHeading___Xj2e2 h4:after,.-esm-adr__empty-state__tabletHeading___MrJbs h4:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-adr__empty-state__heading___dJ7I1:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-adr__empty-state__tile___iS7NK{text-align:center;border:1px solid #e0e0e0}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./../../node_modules/@openmrs/esm-patient-common-lib/src/empty-state/empty-state.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,uCACE,mBCgBW,CDbb,wCE01BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CFx1BF,aDHQ,CCIR,eCoBW,CDnBX,mBCSW,CDLX,kDEk1BE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFh1BA,aDXM,CCgBR,iDE20BE,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CFz0BA,aDlBM,CCsBV,6FAEE,eAAA,CACA,yBAAA,CACA,kBCFW,CDIX,+GACE,UAAA,CACA,aAAA,CACA,UCGS,CDFT,mBAAA,CACA,2CAAA,CAIJ,8CACE,UAAA,CACA,aAAA,CACA,UCNW,CDOX,mBAAA,CACA,2CAAA,CAGF,qCACE,iBAAA,CACA,wBAAA",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 '@openmrs/esm-styleguide/src/vars' as *;\n\n.action {\n margin-bottom: layout.$spacing-03;\n}\n\n.content {\n @include type.type-style('heading-compact-01');\n color: $text-02;\n margin-top: layout.$spacing-05;\n margin-bottom: layout.$spacing-03;\n}\n\n.desktopHeading {\n h4 {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n }\n}\n\n.tabletHeading {\n h4 {\n @include type.type-style('heading-03');\n color: $text-02;\n }\n}\n\n.desktopHeading,\n.tabletHeading {\n text-align: left;\n text-transform: capitalize;\n margin-bottom: layout.$spacing-05;\n\n h4:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n }\n}\n\n.heading:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n}\n\n.tile {\n text-align: center;\n border: 1px solid $ui-03;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),s.locals={action:"-esm-adr__empty-state__action___YzcNS",content:"-esm-adr__empty-state__content___Z5VYW",desktopHeading:"-esm-adr__empty-state__desktopHeading___Xj2e2",tabletHeading:"-esm-adr__empty-state__tabletHeading___MrJbs",heading:"-esm-adr__empty-state__heading___dJ7I1",tile:"-esm-adr__empty-state__tile___iS7NK"};let p=s},9325:function(n,e,t){t.d(e,{A:()=>p});var a=t(1452),i=t.n(a),o=t(4567),s=t.n(o)()(i());s.push([n.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-adr__error-state__errorMessage___T9q98{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);margin-top:2.25rem;margin-bottom:.5rem}.-esm-adr__error-state__errorCopy___-QHlU{margin-bottom:.5rem;font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px);color:#525252}.-esm-adr__error-state__desktopHeading___S68BW h4{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252}.-esm-adr__error-state__tabletHeading___QZKod h4{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0);color:#525252}.-esm-adr__error-state__desktopHeading___S68BW,.-esm-adr__error-state__tabletHeading___QZKod{text-align:left;text-transform:capitalize;margin-bottom:1rem}.-esm-adr__error-state__desktopHeading___S68BW h4:after,.-esm-adr__error-state__tabletHeading___QZKod h4:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-adr__error-state__tile___-aLtB{text-align:center;border:1px solid #e0e0e0}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./../../node_modules/@openmrs/esm-patient-common-lib/src/error-state/error-state.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.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,CCzDF,6CC81BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CD31BF,kBAAA,CACA,mBEaW,CFVb,0CACE,mBESW,CD60BT,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CDp1BF,aDPQ,CCWR,kDCg1BE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CD90BA,aDbM,CCkBR,iDCy0BE,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CDv0BA,aDpBM,CCwBV,6FAEE,eAAA,CACA,yBAAA,CACA,kBEJW,CFMX,+GACE,UAAA,CACA,aAAA,CACA,UECS,CAAA,mBAAA,CFCT,2CAAA,CAIJ,qCACE,iBAAA,CACA,wBAAA",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 '@openmrs/esm-styleguide/src/vars' as *;\n\n.errorMessage {\n @include type.type-style('heading-compact-02');\n\n margin-top: 2.25rem;\n margin-bottom: layout.$spacing-03;\n}\n\n.errorCopy {\n margin-bottom: layout.$spacing-03;\n @include type.type-style('body-01');\n color: $text-02;\n}\n\n.desktopHeading {\n h4 {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n }\n}\n\n.tabletHeading {\n h4 {\n @include type.type-style('heading-03');\n color: $text-02;\n }\n}\n\n.desktopHeading,\n.tabletHeading {\n text-align: left;\n text-transform: capitalize;\n margin-bottom: layout.$spacing-05;\n\n h4:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n }\n}\n\n.tile {\n text-align: center;\n border: 1px solid $ui-03;\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","// 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:""}]),s.locals={errorMessage:"-esm-adr__error-state__errorMessage___T9q98",errorCopy:"-esm-adr__error-state__errorCopy___-QHlU",desktopHeading:"-esm-adr__error-state__desktopHeading___S68BW",tabletHeading:"-esm-adr__error-state__tabletHeading___QZKod",tile:"-esm-adr__error-state__tile___-aLtB"};let p=s},6007:function(n,e,t){t.d(e,{A:()=>p});var a=t(1452),i=t.n(a),o=t(4567),s=t.n(o)()(i());s.push([n.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-adr__pagination__bodyShort01___cR181,.-esm-adr__pagination__configurableLink___2UaPC{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)}.-esm-adr__pagination__desktop___FKsqU,.-esm-adr__pagination__tablet___BjSxC{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);display:flex;justify-content:space-between;color:#525252;background-color:#fff;padding-left:1rem;align-items:center;border-top:1px solid #e0e0e0}.-esm-adr__pagination__desktop___FKsqU .cds--pagination{min-height:0;height:2rem;width:auto;border:none}.-esm-adr__pagination__desktop___FKsqU .cds--pagination .cds--select-input,.-esm-adr__pagination__desktop___FKsqU .cds--pagination .cds--btn,.-esm-adr__pagination__desktop___FKsqU .cds--pagination .cds--pagination__right{min-height:0;height:2rem}.-esm-adr__pagination__tablet___BjSxC .cds--pagination{min-height:0;height:3rem;width:auto;border:none}.-esm-adr__pagination__tablet___BjSxC .cds--pagination .cds--select-input,.-esm-adr__pagination__tablet___BjSxC .cds--pagination .cds--btn,.-esm-adr__pagination__tablet___BjSxC .cds--pagination .cds--pagination__right{min-height:0;height:3rem}.-esm-adr__pagination__configurableLink___2UaPC{text-decoration:none;padding:0 .5rem}.-esm-adr__pagination__pagination___vC\\+hv{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);background-color:#fff;color:#525252;display:flex}div.-esm-adr__pagination__pagination___vC\\+hv>.cds--pagination__left{display:none}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./../../node_modules/@openmrs/esm-patient-common-lib/src/pagination/pagination.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.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,CCzDF,2FC81BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CD11BJ,6EC01BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CDv1BF,YAAA,CACA,6BAAA,CACA,aDNQ,CCOR,qBDXM,CCYN,iBEgBW,CFfX,kBAAA,CACA,4BAAA,CAGF,wDACE,YAAA,CACA,WEmBW,CFlBX,UAAA,CACA,WAAA,CAEA,6NAGE,YAAA,CACA,WEWS,CFPb,uDACE,YAAA,CACA,WEeW,CFdX,UAAA,CACA,WAAA,CAEA,0NAGE,YAAA,CACA,WEOS,CFHb,gDACE,oBAAA,CAEA,eAAA,CAGF,2CC4yBI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CD1yBF,qBDrDM,CCsDN,aDlDQ,CCmDR,YAAA,CAIA,qEACE,YAAA",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 '@openmrs/esm-styleguide/src/vars' as *;\n\n.bodyShort01 {\n @include type.type-style('body-compact-01');\n}\n\n.desktop,\n.tablet {\n @include type.type-style('body-compact-01');\n display: flex;\n justify-content: space-between;\n color: $text-02;\n background-color: $ui-02;\n padding-left: layout.$spacing-05;\n align-items: center;\n border-top: 1px solid $ui-03;\n}\n\n.desktop :global(.cds--pagination) {\n min-height: 0;\n height: layout.$spacing-07;\n width: auto;\n border: none;\n\n & :global(.cds--select-input),\n :global(.cds--btn),\n :global(.cds--pagination__right) {\n min-height: 0;\n height: layout.$spacing-07;\n }\n}\n\n.tablet :global(.cds--pagination) {\n min-height: 0;\n height: layout.$spacing-09;\n width: auto;\n border: none;\n\n & :global(.cds--select-input),\n :global(.cds--btn),\n :global(.cds--pagination__right) {\n min-height: 0;\n height: layout.$spacing-09;\n }\n}\n\n.configurableLink {\n text-decoration: none;\n @extend .bodyShort01;\n padding: 0 layout.$spacing-03;\n}\n\n.pagination {\n @include type.type-style('body-compact-01');\n background-color: $ui-02;\n color: $text-02;\n display: flex;\n}\n\ndiv.pagination {\n & > :global(.cds--pagination__left) {\n display: none;\n }\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","// 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:""}]),s.locals={bodyShort01:"-esm-adr__pagination__bodyShort01___cR181",configurableLink:"-esm-adr__pagination__configurableLink___2UaPC",desktop:"-esm-adr__pagination__desktop___FKsqU",tablet:"-esm-adr__pagination__tablet___BjSxC",pagination:"-esm-adr__pagination__pagination___vC+hv"};let p=s},1043:function(n,e,t){t.d(e,{WO:()=>S,pp:()=>B,bo:()=>k});var a=t(5400),i=t.n(a);t(7113);var o=t(9979),s=t(2591),p=t.n(s),l=t(1740),r=t.n(l),c=t(8128),d=t.n(c),g=t(855),u=t.n(g),f=t(3051),h=t.n(f),y=t(3656),b=t.n(y),m=t(3290),$={};$.styleTagTransform=b(),$.setAttributes=u(),$.insert=d().bind(null,"head"),$.domAPI=r(),$.insertStyleElement=h(),p()(m.A,$),m.A&&m.A.locals&&m.A.locals;var A=t(5721),v=t(1555),k=function(n){return function(e){var t=e.basePath;return i().createElement(A.BrowserRouter,null,i().createElement(v.cJ,{basePath:t,title:n.title,path:n.path,icon:n.icon}))}},w=t(438),x=t(8088),z=function(n){var e=n.width,t=n.height;return i().createElement("svg",{width:void 0===e?"64":e,height:void 0===t?"64":t,viewBox:"0 0 64 64"},i().createElement("title",null,"Empty data illustration"),i().createElement("g",{fill:"none",fillRule:"evenodd"},i().createElement("path",{d:"M38.133 13.186H21.947c-.768.001-1.39.623-1.39 1.391V50.55l-.186.057-3.97 1.216a.743.743 0 01-.927-.493L3.664 12.751a.742.742 0 01.492-.926l6.118-1.874 17.738-5.43 6.119-1.873a.741.741 0 01.926.492L38.076 13l.057.186z",fill:"#F4F4F4"}),i().createElement("path",{d:"M41.664 13L38.026 1.117A1.576 1.576 0 0036.056.07l-8.601 2.633-17.737 5.43-8.603 2.634a1.578 1.578 0 00-1.046 1.97l12.436 40.616a1.58 1.58 0 001.969 1.046l5.897-1.805.185-.057v-.194l-.185.057-5.952 1.822a1.393 1.393 0 01-1.737-.923L.247 12.682a1.39 1.39 0 01.923-1.738L9.772 8.31 27.51 2.881 36.112.247a1.393 1.393 0 011.737.923L41.47 13l.057.186h.193l-.057-.185z",fill:"#8D8D8D"}),i().createElement("path",{d:"M11.378 11.855a.836.836 0 01-.798-.59L9.385 7.361a.835.835 0 01.554-1.042l16.318-4.996a.836.836 0 011.042.554l1.195 3.902a.836.836 0 01-.554 1.043l-16.318 4.995a.831.831 0 01-.244.037z",fill:"#C6C6C6"}),i().createElement("circle",{fill:"#C6C6C6",cx:17.636,cy:2.314,r:1.855}),i().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:17.636,cy:2.314,r:1.175}),i().createElement("path",{d:"M55.893 53.995H24.544a.79.79 0 01-.788-.789V15.644a.79.79 0 01.788-.788h31.349a.79.79 0 01.788.788v37.562a.79.79 0 01-.788.789z",fill:"#F4F4F4"}),i().createElement("path",{d:"M41.47 13H21.948a1.579 1.579 0 00-1.576 1.577V52.4l.185-.057V14.577c.001-.768.623-1.39 1.391-1.39h19.581L41.471 13zm17.02 0H21.947a1.579 1.579 0 00-1.576 1.577v42.478c0 .87.706 1.576 1.576 1.577H58.49a1.579 1.579 0 001.576-1.577V14.577a1.579 1.579 0 00-1.576-1.576zm1.39 44.055c0 .768-.622 1.39-1.39 1.392H21.947c-.768-.001-1.39-.624-1.39-1.392V14.577c0-.768.622-1.39 1.39-1.39H58.49c.768 0 1.39.622 1.39 1.39v42.478z",fill:"#8D8D8D"}),i().createElement("path",{d:"M48.751 17.082H31.686a.836.836 0 01-.835-.835v-4.081c0-.46.374-.834.835-.835H48.75c.461 0 .834.374.835.835v4.08c0 .462-.374.835-.835.836z",fill:"#C6C6C6"}),i().createElement("circle",{fill:"#C6C6C6",cx:40.218,cy:9.755,r:1.855}),i().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:40.218,cy:9.755,r:1.13})))},_=t(1981),C={};C.styleTagTransform=b(),C.setAttributes=u(),C.insert=d().bind(null,"head"),C.domAPI=r(),C.insertStyleElement=h(),p()(_.A,C);let M=_.A&&_.A.locals?_.A.locals:void 0;var B=function(n){var e=(0,x.useTranslation)("@openmrs/esm-patient-chart-app").t,t="tablet"===(0,o.useLayoutType)();return i().createElement(w.Layer,{className:M.layer},i().createElement(w.Tile,{className:M.tile},i().createElement("div",{className:t?M.tabletHeading:M.desktopHeading},i().createElement("h4",null,n.headerTitle)),i().createElement(z,null),i().createElement("p",{className:M.content},e("emptyStateText","There are no {{displayText}} to display for this patient",{displayText:n.displayText})),i().createElement("p",{className:M.action},n.launchForm&&i().createElement(w.Button,{onClick:function(){return n.launchForm()},kind:"ghost",size:t?"lg":"sm"},e("record","Record")," ",e(n.displayText)))))},E=t(9325),D={};function T(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,a=Array(e);t<e;t++)a[t]=n[t];return a}function N(n,e,t,a,i,o,s){try{var p=n[o](s),l=p.value}catch(n){t(n);return}p.done?e(l):Promise.resolve(l).then(a,i)}function S(n){var e=(0,o.useConnectivity)(),t=(0,o.useVisit)(n),i=function(n){var e,t=(e=(0,a.useState)({data:null,error:null,isLoading:!0}),function(n){if(Array.isArray(n))return n}(e)||function(n,e){var t,a,i=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=i){var o=[],s=!0,p=!1;try{for(i=i.call(n);!(s=(t=i.next()).done)&&(o.push(t.value),o.length!==e);s=!0);}catch(n){p=!0,a=n}finally{try{s||null==i.return||i.return()}finally{if(p)throw a}}return o}}(e,2)||function(n,e){if(n){if("string"==typeof n)return T(n,2);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return T(n,e)}}(e,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.")}()),i=t[0],s=t[1];return(0,a.useEffect)(function(){var e,t;(e=n,(t=function(){return function(n,e){var t,a,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=p(0),s.throw=p(1),s.return=p(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function p(p){return function(l){var r=[p,l];if(t)throw TypeError("Generator is already executing.");for(;s&&(s=0,r[0]&&(o=0)),o;)try{if(t=1,a&&(i=2&r[0]?a.return:r[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,r[1])).done)return i;switch(a=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,a=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===r[0]||2===r[0])){o=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){o.label=r[1];break}if(6===r[0]&&o.label<i[1]){o.label=i[1],i=r;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(r);break}i[2]&&o.ops.pop(),o.trys.pop();continue}r=e.call(n,o)}catch(n){r=[6,n],a=0}finally{t=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}}}(this,function(n){switch(n.label){case 0:return[4,(0,o.getSynchronizationItems)("visit")];case 1:return[2,n.sent().find(function(n){return n.patient===e})]}})},function(){var n=this,e=arguments;return new Promise(function(a,i){var o=t.apply(n,e);function s(n){N(o,a,i,s,p,"next",n)}function p(n){N(o,a,i,s,p,"throw",n)}s(void 0)})})()).then(function(n){var e,t,a;s({error:null,data:n?{uuid:(e=n).uuid,startDatetime:null==(t=e.startDatetime)?void 0:t.toString(),stopDatetime:null==(a=e.stopDatetime)?void 0:a.toString(),encounters:[],visitType:{uuid:e.visitType,display:"Offline"},patient:{uuid:e.patient}}:null,isLoading:!1})}).catch(function(n){s({error:n,data:null,isLoading:!1})})},[n]),{activeVisit:i.data,currentVisit:i.data,isLoading:i.isLoading,isValidating:!1,currentVisitIsRetrospective:!1,error:i.error,mutate:function(){}}}(n);return e?t:i}D.styleTagTransform=b(),D.setAttributes=u(),D.insert=d().bind(null,"head"),D.domAPI=r(),D.insertStyleElement=h(),p()(E.A,D),E.A&&E.A.locals&&E.A.locals,(0,o.createGlobalStore)("patient-chart-global-store",{}),(0,o.createGlobalStore)("order-basket",{items:{},postDataPrepFunctions:{}});var q="@openmrs/esm-patient-chart-app";(0,o.translateFrom)(q,"Routine"),(0,o.translateFrom)(q,"Stat"),(0,o.translateFrom)(q,"On scheduled date"),t(6142);var H=t(6007),F={};F.styleTagTransform=b(),F.setAttributes=u(),F.insert=d().bind(null,"head"),F.domAPI=r(),F.insertStyleElement=h(),p()(H.A,F),H.A&&H.A.locals&&H.A.locals,new RegExp(/^(1[0-2]|0?[1-9]):[0-5][0-9]$/)}}]);
package/dist/77.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"77.js","sources":["webpack://@kenyaemr/esm-adr-app/../../node_modules/@carbon/icons-react/es/generated/bucket-17.js","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/cards/card-header.scss","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/empty-state/empty-state.scss","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/error-state/error-state.scss","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/pagination/pagination.scss","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/cards/card-header.scss?4383","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/dashboards/createDashboardLink.tsx","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/empty-state/empty-data-illustration.component.tsx","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/empty-state/empty-state.scss?93f7","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/empty-state/empty-state.component.tsx","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/error-state/error-state.scss?6c7e","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/offline/visit.ts","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/store/patient-chart-store.ts","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/orders/store.ts","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/orders/useOrders.ts","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/pagination/pagination.scss?9dbb","webpack://@kenyaemr/esm-adr-app/../../node_modules/@openmrs/esm-patient-common-lib/src/time-helper.ts"],"names":["createDashboardLink","db","basePath","BrowserRouter","DashboardExtension","title","path","icon","EmptyDataIllustration","width","height","svg","viewBox","g","fill","fillRule","d","circle","cx","cy","r","EmptyState","props","t","useTranslation","isTablet","useLayoutType","Layer","className","styles","Tile","div","h4","headerTitle","p","displayText","launchForm","Button","onClick","kind","size","useVisitOrOfflineVisit","patientUuid","isOnline","useConnectivity","onlineVisit","useVisit","offlineVisit","useOfflineVisit","useState","data","error","isLoading","offlineVisitState","setOfflineVisitState","useEffect","getOfflineVisitForPatient","getSynchronizationItems","offlineVisits","find","visit","patient","then","uuid","startDatetime","toString","stopDatetime","encounters","visitType","display","catch","err","activeVisit","currentVisit","isValidating","currentVisitIsRetrospective","mutate","createGlobalStore","items","postDataPrepFunctions","patientChartAppModuleName","translateFrom","RegExp"],"mappings":"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"}
package/dist/847.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_adr_app=globalThis.webpackChunk_kenyaemr_esm_adr_app||[]).push([["847"],{4924:function(e,a,t){t.r(a),t.d(a,{default:()=>i,immutable:()=>r});var l=t(3624),n=t(4764);let r=e=>(a,t,l)=>(l.revalidateOnFocus=!1,l.revalidateIfStale=!1,l.revalidateOnReconnect=!1,e(a,t,l)),i=(0,n.Ht)(l.Ay,r)}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"847.js","sources":["webpack://@kenyaemr/esm-adr-app/../../node_modules/swr/dist/immutable/index.mjs"],"names":[],"mappings":"uNAGA,IAAM,EAAY,AAAC,GAAa,CAAC,EAAK,EAAS,KAEvC,EAAO,iBAAiB,CAAG,GAC3B,EAAO,iBAAiB,CAAG,GAC3B,EAAO,qBAAqB,CAAG,GACxB,EAAW,EAAK,EAAS,IAElC,EAAkB,SAAe,IAAM,CAAE,E"}
package/dist/85.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_adr_app=globalThis.webpackChunk_kenyaemr_esm_adr_app||[]).push([["85"],{4924:function(e,a,t){t.r(a),t.d(a,{default:()=>i,immutable:()=>r});var l=t(3624),n=t(4764);let r=e=>(a,t,l)=>(l.revalidateOnFocus=!1,l.revalidateIfStale=!1,l.revalidateOnReconnect=!1,e(a,t,l)),i=(0,n.Ht)(l.Ay,r)}}]);
package/dist/85.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"85.js","sources":["webpack://@kenyaemr/esm-adr-app/../../node_modules/swr/dist/immutable/index.mjs"],"names":[],"mappings":"sNAGA,IAAM,EAAY,AAAC,GAAa,CAAC,EAAK,EAAS,KAEvC,EAAO,iBAAiB,CAAG,GAC3B,EAAO,iBAAiB,CAAG,GAC3B,EAAO,qBAAqB,CAAG,GACxB,EAAW,EAAK,EAAS,IAElC,EAAkB,SAAe,IAAM,CAAE,E"}
package/dist/91.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_adr_app=globalThis.webpackChunk_kenyaemr_esm_adr_app||[]).push([["91"],{2910:function(e,t,r){r.r(t),r.d(t,{default:()=>z,infinite:()=>m,unstable_serialize:()=>k});var a=r(5400),l=r(3624),n=r(2695),i=r(2215),u=r(4764),s=r(8139);let o=()=>{},c=o(),f=Object,p=e=>e===c,y=new WeakMap,_=(e,t)=>e===`[object ${t}]`,d=0,g=e=>{let t,r,a=typeof e,l=f.prototype.toString.call(e),n=_(l,"Date"),i=_(l,"RegExp"),u=_(l,"Object");if(f(e)!==e||n||i)t=n?e.toJSON():"symbol"==a?e.toString():"string"==a?JSON.stringify(e):""+e;else{if(t=y.get(e))return t;if(t=++d+"~",y.set(e,t),Array.isArray(e)){for(r=0,t="@";r<e.length;r++)t+=g(e[r])+",";y.set(e,t)}if(u){t="#";let a=f.keys(e).sort();for(;!p(r=a.pop());)p(e[r])||(t+=r+":"+g(e[r])+",");y.set(e,t)}}return t},b=e=>(e=>{if("function"==typeof e)try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?g(e):"",t]})(e?e(0,null):null)[0],k=e=>i.q+b(e),h=Promise.resolve(),m=e=>(t,r,l)=>{let u,o=(0,a.useRef)(!1),{cache:c,initialSize:f=1,revalidateAll:p=!1,persistSize:y=!1,revalidateFirstPage:_=!0,revalidateOnMount:d=!1,parallel:g=!1}=l,[,,,k]=n.b.get(n.c);try{(u=b(t))&&(u=i.q+u)}catch(e){}let[m,z,v]=(0,n.z)(c,u),w=(0,a.useCallback)(()=>(0,n.e)(m()._l)?f:m()._l,[c,u,f]);(0,s.useSyncExternalStore)((0,a.useCallback)(e=>u?v(u,()=>{e()}):()=>{},[c,u]),w,w);let C=(0,a.useCallback)(()=>{let e=m()._l;return(0,n.e)(e)?f:e},[u,f]),S=(0,a.useRef)(C());(0,n.u)(()=>{if(!o.current){o.current=!0;return}u&&z({_l:y?S.current:C()})},[u,c]);let A=d&&!o.current,O=e(u,async e=>{let a=m()._i,i=m()._r;z({_r:n.U});let u=[],s=C(),[o]=(0,n.z)(c,e),f=o().data,y=[],d=null;for(let e=0;e<s;++e){let[s,o]=(0,n.s)(t(e,g?null:d));if(!s)break;let[b,h]=(0,n.z)(c,s),m=b().data,z=p||a||(0,n.e)(m)||_&&!e&&!(0,n.e)(f)||A||f&&!(0,n.e)(f[e])&&!l.compare(f[e],m);if(r&&("function"==typeof i?i(m,o):z)){let t=async()=>{if(s in k){let e=k[s];delete k[s],m=await e}else m=await r(o);h({data:m,_k:o}),u[e]=m};g?y.push(t):await t()}else u[e]=m;g||(d=m)}return g&&await Promise.all(y.map(e=>e())),z({_i:n.U}),u},l),j=(0,a.useCallback)(function(e,t){let r="boolean"==typeof t?{revalidate:t}:t||{},a=!1!==r.revalidate;return u?(a&&((0,n.e)(e)?z({_i:!0,_r:r.revalidate}):z({_i:!1,_r:r.revalidate})),arguments.length?O.mutate(e,{...r,revalidate:a}):O.mutate()):h},[u,c]),R=(0,a.useCallback)(e=>{let r;if(!u)return h;let[,a]=(0,n.z)(c,u);if((0,n.a)(e)?r=e(C()):"number"==typeof e&&(r=e),"number"!=typeof r)return h;a({_l:r}),S.current=r;let l=[],[i]=(0,n.z)(c,u),s=null;for(let e=0;e<r;++e){let[r]=(0,n.s)(t(e,s)),[a]=(0,n.z)(c,r),u=r?a().data:n.U;if((0,n.e)(u))return j(i().data);l.push(u),s=u}return j(l)},[u,c,j,C]);return{size:C(),setSize:R,mutate:j,get data(){return O.data},get error(){return O.error},get isValidating(){return O.isValidating},get isLoading(){return O.isLoading}}},z=(0,u.Ht)(l.Ay,m)}}]);
package/dist/91.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"91.js","sources":["webpack://@kenyaemr/esm-adr-app/../../node_modules/swr/dist/infinite/index.mjs"],"names":["Object","WeakMap","t","i","JSON","Array","Promise","c","e","arguments"],"mappings":"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"}
package/dist/911.js ADDED
@@ -0,0 +1,17 @@
1
+ (globalThis.webpackChunk_kenyaemr_esm_adr_app=globalThis.webpackChunk_kenyaemr_esm_adr_app||[]).push([["911"],{5854:function(e,t,r){let n=Symbol("SemVer ANY");class o{static get ANY(){return n}constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o)if(!!t.loose===e.loose)return e;else e=e.value;l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){let t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new c(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return a(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);let r=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),n=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),i=this.semver.version===e.semver.version,s=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),l=a(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=a(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||n||i&&s||l||c}}e.exports=o;let{re:i,t:s}=r(9413),a=r(7416),l=r(6925),c=r(7705),p=r(6632)},6632:function(e,t,r){class n{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof n)if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;else return new n(e.raw,t);if(e instanceof o)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${e}`);this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let t=this.options.loose;e=e.trim();let r=t?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];i("hyphen replace",e=e.replace(r,w(this.options.includePrerelease))),i("comparator trim",e=e.replace(a[l.COMPARATORTRIM],c),a[l.COMPARATORTRIM]),e=(e=(e=e.replace(a[l.TILDETRIM],p)).replace(a[l.CARETTRIM],u)).split(/\s+/).join(" ");let n=t?a[l.COMPARATORLOOSE]:a[l.COMPARATOR];return e.split(" ").map(e=>h(e,this.options)).join(" ").split(/\s+/).map(e=>y(e,this.options)).filter(this.options.loose?e=>!!e.match(n):()=>!0).map(e=>new o(e,this.options))}intersects(e,t){if(!(e instanceof n))throw TypeError("a Range is required");return this.set.some(r=>f(r,t)&&e.set.some(e=>f(e,t)&&r.every(r=>e.every(e=>r.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new s(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(S(this.set[t],e,this.options))return!0;return!1}}e.exports=n;let o=r(5854),i=r(6925),s=r(7705),{re:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:p,caretTrimReplace:u}=r(9413),f=(e,t)=>{let r=!0,n=e.slice(),o=n.pop();for(;r&&n.length;)r=n.every(e=>o.intersects(e,t)),o=n.pop();return r},h=(e,t)=>(i("comp",e,t),i("caret",e=g(e,t)),i("tildes",e=m(e,t)),i("xrange",e=$(e,t)),i("stars",e=v(e,t)),e),d=e=>!e||"x"===e.toLowerCase()||"*"===e,m=(e,t)=>e.trim().split(/\s+/).map(e=>E(e,t)).join(" "),E=(e,t)=>{let r=t.loose?a[l.TILDELOOSE]:a[l.TILDE];return e.replace(r,(t,r,n,o,s)=>{let a;return i("tilde",e,t,r,n,o,s),d(r)?a="":d(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:d(o)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(i("replaceTilde pr",s),a=`>=${r}.${n}.${o}-${s} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,i("tilde return",a),a})},g=(e,t)=>e.trim().split(/\s+/).map(e=>I(e,t)).join(" "),I=(e,t)=>{i("caret",e,t);let r=t.loose?a[l.CARETLOOSE]:a[l.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,o,s,a)=>{let l;return i("caret",e,t,r,o,s,a),d(r)?l="":d(o)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:d(s)?l="0"===r?`>=${r}.${o}.0${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${n} <${+r+1}.0.0-0`:a?(i("replaceCaret pr",a),l="0"===r?"0"===o?`>=${r}.${o}.${s}-${a} <${r}.${o}.${+s+1}-0`:`>=${r}.${o}.${s}-${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${s}-${a} <${+r+1}.0.0-0`):(i("no pr"),l="0"===r?"0"===o?`>=${r}.${o}.${s}${n} <${r}.${o}.${+s+1}-0`:`>=${r}.${o}.${s}${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${s} <${+r+1}.0.0-0`),i("caret return",l),l})},$=(e,t)=>(i("replaceXRanges",e,t),e.split(/\s+/).map(e=>O(e,t)).join(" ")),O=(e,t)=>{e=e.trim();let r=t.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return e.replace(r,(r,n,o,s,a,l)=>{i("xRange",e,r,n,o,s,a,l);let c=d(o),p=c||d(s),u=p||d(a);return"="===n&&u&&(n=""),l=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&u?(p&&(s=0),a=0,">"===n?(n=">=",p?(o=+o+1,s=0):s=+s+1,a=0):"<="===n&&(n="<",p?o=+o+1:s=+s+1),"<"===n&&(l="-0"),r=`${n+o}.${s}.${a}${l}`):p?r=`>=${o}.0.0${l} <${+o+1}.0.0-0`:u&&(r=`>=${o}.${s}.0${l} <${o}.${+s+1}.0-0`),i("xRange return",r),r})},v=(e,t)=>(i("replaceStars",e,t),e.trim().replace(a[l.STAR],"")),y=(e,t)=>(i("replaceGTE0",e,t),e.trim().replace(a[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),w=e=>(t,r,n,o,i,s,a,l,c,p,u,f,h)=>(r=d(n)?"":d(o)?`>=${n}.0.0${e?"-0":""}`:d(i)?`>=${n}.${o}.0${e?"-0":""}`:s?`>=${r}`:`>=${r}${e?"-0":""}`,l=d(c)?"":d(p)?`<${+c+1}.0.0-0`:d(u)?`<${c}.${+p+1}.0-0`:f?`<=${c}.${p}.${u}-${f}`:e?`<${c}.${p}.${+u+1}-0`:`<=${l}`,`${r} ${l}`.trim()),S=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(i(e[r].semver),e[r].semver!==o.ANY&&e[r].semver.prerelease.length>0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},7705:function(e,t,r){let n=r(6925),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(6891),{re:s,t:a}=r(9413),{compareIdentifiers:l}=r(3610);class c{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof c)if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;else e=e.version;else if("string"!=typeof e)throw TypeError(`Invalid Version: ${e}`);if(e.length>o)throw TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!r)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),l(this.major,e.major)||l(this.minor,e.minor)||l(this.patch,e.patch)}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return -1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return -1;else if(r===o)continue;else return l(r,o)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{let r=this.build[t],o=e.build[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return -1;else if(r===o)continue;else return l(r,o)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=c},6669:function(e,t,r){let n=r(663);e.exports=(e,t)=>{let r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},7416:function(e,t,r){let n=r(9980),o=r(4568),i=r(5717),s=r(6102),a=r(3026),l=r(5419);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,c);case"!=":return o(e,r,c);case">":return i(e,r,c);case">=":return s(e,r,c);case"<":return a(e,r,c);case"<=":return l(e,r,c);default:throw TypeError(`Invalid operator: ${t}`)}}},2059:function(e,t,r){let n=r(7705),o=r(663),{re:i,t:s}=r(9413);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=i[s.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),i[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[s.COERCERTL].lastIndex=-1}else r=e.match(i[s.COERCE]);return null===r?null:o(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},5950:function(e,t,r){let n=r(7705);e.exports=(e,t,r)=>{let o=new n(e,r),i=new n(t,r);return o.compare(i)||o.compareBuild(i)}},5488:function(e,t,r){let n=r(2463);e.exports=(e,t)=>n(e,t,!0)},2463:function(e,t,r){let n=r(7705);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},6609:function(e,t,r){let n=r(663),o=r(9980);e.exports=(e,t)=>{if(o(e,t))return null;{let r=n(e),o=n(t),i=r.prerelease.length||o.prerelease.length,s=i?"pre":"";for(let e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==o[e])return s+e;return i?"prerelease":""}}},9980:function(e,t,r){let n=r(2463);e.exports=(e,t,r)=>0===n(e,t,r)},5717:function(e,t,r){let n=r(2463);e.exports=(e,t,r)=>n(e,t,r)>0},6102:function(e,t,r){let n=r(2463);e.exports=(e,t,r)=>n(e,t,r)>=0},9384:function(e,t,r){let n=r(7705);e.exports=(e,t,r,o)=>{"string"==typeof r&&(o=r,r=void 0);try{return new n(e,r).inc(t,o).version}catch(e){return null}}},3026:function(e,t,r){let n=r(2463);e.exports=(e,t,r)=>0>n(e,t,r)},5419:function(e,t,r){let n=r(2463);e.exports=(e,t,r)=>0>=n(e,t,r)},1529:function(e,t,r){let n=r(7705);e.exports=(e,t)=>new n(e,t).major},5581:function(e,t,r){let n=r(7705);e.exports=(e,t)=>new n(e,t).minor},4568:function(e,t,r){let n=r(2463);e.exports=(e,t,r)=>0!==n(e,t,r)},663:function(e,t,r){let{MAX_LENGTH:n}=r(6891),{re:o,t:i}=r(9413),s=r(7705);e.exports=(e,t)=>{if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof s)return e;if("string"!=typeof e||e.length>n||!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new s(e,t)}catch(e){return null}}},9558:function(e,t,r){let n=r(7705);e.exports=(e,t)=>new n(e,t).patch},9168:function(e,t,r){let n=r(663);e.exports=(e,t)=>{let r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},2367:function(e,t,r){let n=r(2463);e.exports=(e,t,r)=>n(t,e,r)},7566:function(e,t,r){let n=r(5950);e.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))},4753:function(e,t,r){let n=r(6632);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},2142:function(e,t,r){let n=r(5950);e.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))},4782:function(e,t,r){let n=r(663);e.exports=(e,t)=>{let r=n(e,t);return r?r.version:null}},5934:function(e,t,r){let n=r(9413);e.exports={re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r(6891).SEMVER_SPEC_VERSION,SemVer:r(7705),compareIdentifiers:r(3610).compareIdentifiers,rcompareIdentifiers:r(3610).rcompareIdentifiers,parse:r(663),valid:r(4782),clean:r(6669),inc:r(9384),diff:r(6609),major:r(1529),minor:r(5581),patch:r(9558),prerelease:r(9168),compare:r(2463),rcompare:r(2367),compareLoose:r(5488),compareBuild:r(5950),sort:r(2142),rsort:r(7566),gt:r(5717),lt:r(3026),eq:r(9980),neq:r(4568),gte:r(6102),lte:r(5419),cmp:r(7416),coerce:r(2059),Comparator:r(5854),Range:r(6632),satisfies:r(4753),toComparators:r(1752),maxSatisfying:r(6995),minSatisfying:r(9481),minVersion:r(5796),validRange:r(4623),outside:r(650),gtr:r(9414),ltr:r(6859),intersects:r(5995),simplifyRange:r(6290),subset:r(483)}},6891:function(e){e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||0x1fffffffffffff,MAX_SAFE_COMPONENT_LENGTH:16}},6925:function(e){e.exports="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{}},3610:function(e){let t=/^[0-9]+$/,r=(e,r)=>{let n=t.test(e),o=t.test(r);return n&&o&&(e*=1,r*=1),e===r?0:n&&!o?-1:o&&!n?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},9413:function(e,t,r){let{MAX_SAFE_COMPONENT_LENGTH:n}=r(6891),o=r(6925),i=(t=e.exports={}).re=[],s=t.src=[],a=t.t={},l=0,c=(e,t,r)=>{let n=l++;o(n,t),a[e]=n,s[n]=t,i[n]=new RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${s[a.NUMERICIDENTIFIER]}|${s[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${s[a.NUMERICIDENTIFIERLOOSE]}|${s[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${s[a.PRERELEASEIDENTIFIER]}(?:\\.${s[a.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${s[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[a.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${s[a.BUILDIDENTIFIER]}(?:\\.${s[a.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${s[a.MAINVERSION]}${s[a.PRERELEASE]}?${s[a.BUILD]}?`),c("FULL",`^${s[a.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${s[a.MAINVERSIONLOOSE]}${s[a.PRERELEASELOOSE]}?${s[a.BUILD]}?`),c("LOOSE",`^${s[a.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${s[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${s[a.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:${s[a.PRERELEASE]})?${s[a.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:${s[a.PRERELEASELOOSE]})?${s[a.BUILD]}?)?)?`),c("XRANGE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),c("COERCERTL",s[a.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${s[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${s[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${s[a.LONECARET]}${s[a.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${s[a.LONECARET]}${s[a.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${s[a.GTLT]}\\s*(${s[a.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]}|${s[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${s[a.XRANGEPLAIN]})\\s+-\\s+(${s[a.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${s[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[a.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},9414:function(e,t,r){let n=r(650);e.exports=(e,t,r)=>n(e,t,">",r)},5995:function(e,t,r){let n=r(6632);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t))},6859:function(e,t,r){let n=r(650);e.exports=(e,t,r)=>n(e,t,"<",r)},6995:function(e,t,r){let n=r(7705),o=r(6632);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(!i||-1===s.compare(e))&&(s=new n(i=e,r))}),i}},9481:function(e,t,r){let n=r(7705),o=r(6632);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(!i||1===s.compare(e))&&(s=new n(i=e,r))}),i}},5796:function(e,t,r){let n=r(7705),o=r(6632),i=r(5717);e.exports=(e,t)=>{e=new o(e,t);let r=new n("0.0.0");if(e.test(r)||(r=new n("0.0.0-0"),e.test(r)))return r;r=null;for(let t=0;t<e.set.length;++t)e.set[t].forEach(e=>{let t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||i(r,t))&&(r=t);break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${e.operator}`)}});return r&&e.test(r)?r:null}},650:function(e,t,r){let n=r(7705),o=r(5854),{ANY:i}=o,s=r(6632),a=r(4753),l=r(5717),c=r(3026),p=r(5419),u=r(6102);e.exports=(e,t,r,f)=>{let h,d,m,E,g;switch(e=new n(e,f),t=new s(t,f),r){case">":h=l,d=p,m=c,E=">",g=">=";break;case"<":h=c,d=u,m=l,E="<",g="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,f))return!1;for(let r=0;r<t.set.length;++r){let n=t.set[r],s=null,a=null;if(n.forEach(e=>{e.semver===i&&(e=new o(">=0.0.0")),s=s||e,a=a||e,h(e.semver,s.semver,f)?s=e:m(e.semver,a.semver,f)&&(a=e)}),s.operator===E||s.operator===g||(!a.operator||a.operator===E)&&d(e,a.semver)||a.operator===g&&m(e,a.semver))return!1}return!0}},6290:function(e,t,r){let n=r(4753),o=r(2463);e.exports=(e,t,r)=>{let i=[],s=null,a=null,l=e.sort((e,t)=>o(e,t,r));for(let e of l)n(e,t,r)?(a=e,s||(s=e)):(a&&i.push([s,a]),a=null,s=null);s&&i.push([s,null]);let c=[];for(let[e,t]of i)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");let p=c.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return p.length<u.length?p:t}},483:function(e,t,r){let n=r(6632),{ANY:o}=r(5854),i=r(4753),s=r(2463),a=(e,t,r)=>{let n,a,p,u,f;if(1===e.length&&e[0].semver===o)return 1===t.length&&t[0].semver===o;let h=new Set;for(let t of e)">"===t.operator||">="===t.operator?n=l(n,t,r):"<"===t.operator||"<="===t.operator?a=c(a,t,r):h.add(t.semver);if(h.size>1)return null;if(n&&a&&((p=s(n.semver,a.semver,r))>0||0===p&&(">="!==n.operator||"<="!==a.operator)))return null;for(let e of h){if(n&&!i(e,String(n),r)||a&&!i(e,String(a),r))return null;for(let n of t)if(!i(e,String(n),r))return!1;return!0}for(let e of t){if(f=f||">"===e.operator||">="===e.operator,u=u||"<"===e.operator||"<="===e.operator,n){if(">"===e.operator||">="===e.operator){if(l(n,e,r)===e)return!1}else if(">="===n.operator&&!i(n.semver,String(e),r))return!1}if(a){if("<"===e.operator||"<="===e.operator){if(c(a,e,r)===e)return!1}else if("<="===a.operator&&!i(a.semver,String(e),r))return!1}if(!e.operator&&(a||n)&&0!==p)return!1}return(!n||!u||!!a||0===p)&&(!a||!f||!!n||0===p)},l=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},c=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r)=>{e=new n(e,r),t=new n(t,r);let o=!1;e:for(let n of e.set){for(let e of t.set){let t=a(n,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},1752:function(e,t,r){let n=r(6632);e.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},4623:function(e,t,r){let n=r(6632);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},3642:function(e,t,r){"use strict";r.r(t),r.d(t,{ChevronRightIcon:()=>X.vK,removeDynamicOfflineData:()=>w.NU,canCloseWorkspaceWithoutPrompting:()=>X.Sv,useExtensionSlotStore:()=>S.uL,generateOfflineUuid:()=>w.sA,getExtensionRegistrationFrom:()=>O.xg,DiagnosisTags:()=>X.Fz,restBaseUrl:()=>n.Jj,updateWorkspaceWindowState:()=>X._R,Notification:()=>X.Eg,ReportIcon:()=>X.cQ,beginEditSynchronizationItem:()=>w.FO,compile:()=>d.wE,EventScheduleIcon:()=>X.X,convertToLocaleCalendar:()=>_.d4,getBreadcrumbs:()=>y.lz,getFullSynchronizationItems:()=>w.C$,MedicationIcon:()=>X.Fn,getConfig:()=>o.zj,GenderFemaleIcon:()=>X.XB,PatientBannerPatientIdentifiers:()=>X.XI,getExtensionSlotConfig:()=>o.G9,renderInlineNotifications:()=>X.CU,registerModal:()=>O.Ju,HomePictogram:()=>X.KK,importDynamic:()=>l,CheckmarkOutlineIcon:()=>X.pm,addRoutesOverride:()=>k,StickyNoteAddIcon:()=>X.OC,closeWorkspace:()=>X.MJ,TableOfContentsIcon:()=>X.pY,WarningIcon:()=>X.id,evaluateAsBoolean:()=>d.eb,getAsyncLifecycle:()=>S.ns,leftNavStore:()=>O.Gp,attach:()=>O.K0,getOfflinePatientDataStore:()=>w.WK,CustomOverflowMenu:()=>X.TQ,ImageMedicalIcon:()=>X.Ix,formatTime:()=>_.fU,featureFlagsStore:()=>v.jX,getCoreTranslation:()=>s.V,getFhirServerPaginationHandlers:()=>S.mw,interpolateString:()=>y.zl,ChevronDownIcon:()=>X.D3,OverflowMenuHorizontalIcon:()=>X.rv,getOmrsServiceWorker:()=>w.Rs,formatPatientName:()=>J.Qr,getExtensionSlotConfigFromStore:()=>o.vu,canBeginEditSynchronizationItemsOfType:()=>w.xN,isDevEnabled:()=>n.L7,isVersionSatisfied:()=>ee,localStorageRoutesPrefix:()=>R,navigateAndLaunchWorkspace:()=>X.Fm,dispatchActionableNotificationShown:()=>i.LQ,omrsOfflineCachingStrategyHttpHeaderName:()=>w.JC,putDynamicOfflineData:()=>w.yD,registerGlobalStore:()=>W.CE,ActionMenuButton:()=>X.ED,isOmrsDateStrict:()=>_.hl,omrsOfflineResponseBodyHttpHeaderName:()=>w.UH,ActionableNotificationComponent:()=>X.dr,CalendarHeatMapIcon:()=>X.mm,MaterialOrderIcon:()=>X.zZ,detach:()=>O.Yo,dispatchNotificationShown:()=>i.FI,getDefaultCalendar:()=>_.a7,ViewIcon:()=>X.MZ,getAsyncExtensionLifecycle:()=>S.sc,getSessionStore:()=>n.EW,getVisitsForPatient:()=>f.BR,MovementIcon:()=>X.ly,getDynamicOfflineDataEntries:()=>w.FE,HospitalBedIcon:()=>X.jM,resetAllRoutesOverrides:()=>U,OverflowMenuVerticalIcon:()=>X.Rn,CalendarIcon:()=>X.CT,CaretUpIcon:()=>X.Sw,omrsOfflineResponseStatusHttpHeaderName:()=>w.Gj,PatientPhoto:()=>X.yV,removeDynamicOfflineDataFor:()=>w.wn,ConfigurableLink:()=>S.i_,SwitcherIcon:()=>X.RF,checkStatusFor:()=>O.Ef,getExtensionInternalStore:()=>O.a9,formatDate:()=>_.Yq,offlineUuidPrefix:()=>w.jU,UserFollowIcon:()=>X.os,registerWorkspaceGroup:()=>O.io,renderActionableNotifications:()=>X.zf,reset:()=>O.cL,subscribeConnectivity:()=>i.sT,UserIcon:()=>X.ny,TranslateIcon:()=>X.z$,evaluateAsBooleanAsync:()=>d.Gz,ChemistryIcon:()=>X.W4,InventoryManagementIcon:()=>X.vF,attachmentUrl:()=>f.Zu,getAttachmentByUuid:()=>f.KU,RegistrationPictogram:()=>X.et,getFullSynchronizationItemsFor:()=>w.xc,getSyncLifecycle:()=>S.g9,evaluateAsNumber:()=>d.dX,loadLifeCycles:()=>N,LocationIcon:()=>X.BT,MoneyIcon:()=>X.yB,preloadImport:()=>c,processConfig:()=>o.mq,registerModuleWithConfigSystem:()=>o.FL,renderLoadingSpinner:()=>X.uW,sessionStore:()=>n.eA,getOfflineDb:()=>w.e,EventsIcon:()=>X.Jc,TrashCanIcon:()=>X.EJ,CloseIcon:()=>X.US,Type:()=>o.ZU,sessionEndpoint:()=>n.Ct,PatientBannerContactDetails:()=>X.m5,dispatchSnackbarShown:()=>i.$3,setUserLanguage:()=>n.E4,DocumentIcon:()=>X.py,launchWorkspace:()=>X.TC,getExtensionConfigFromStore:()=>o.P0,getStartedVisit:()=>f.DK,deleteAttachmentPermanently:()=>f.SY,registerOfflinePatientHandler:()=>w.KG,renderExtension:()=>O.wG,toDateObjectStrict:()=>_.kQ,toLocationObject:()=>f.E$,OpenmrsFetchError:()=>n.$f,getTranslationOverrides:()=>o.td,navigate:()=>y.oo,reportError:()=>h.N,LaboratoryPictogram:()=>X.eh,ChevronUpIcon:()=>X.Mt,renderSnackbars:()=>X.q9,runSynchronization:()=>w.AO,setupDynamicOfflineDataHandler:()=>w.iD,setUserProperties:()=>n.Fi,translateFrom:()=>s.t,PatientBannerActionsMenu:()=>X.k1,SaveIcon:()=>X.LP,createErrorHandler:()=>h.J,getSessionLocation:()=>n.Kx,selectPreferredName:()=>J.VO,setFeatureFlag:()=>v.B4,openmrsFetch:()=>n.lo,useAbortController:()=>S.Ie,useAssignedExtensionIds:()=>S.Tt,DrugOrderIcon:()=>X.uq,Icon:()=>X.In,Breakpoint:()=>X.EA,getOfflineSynchronizationStore:()=>w.LM,useConnectivity:()=>S.Fx,ReferralOrderIcon:()=>X.tC,useDefineAppContext:()=>S.jn,useFhirFetchAll:()=>S.oq,defineExtensionConfigSchema:()=>o.ks,useEmrConfiguration:()=>S.E4,useLeftNavStore:()=>S.TA,ArrowDownIcon:()=>X.ZL,unsetLeftNav:()=>O.sr,updateVisit:()=>f.xL,useAppContext:()=>S.Us,useExtensionStore:()=>S.Gz,makeUrl:()=>n.Gm,oneOf:()=>o.yL,ListCheckedIcon:()=>X.Rt,MicroscopeIcon:()=>X.u4,getDynamicOfflineDataEntriesFor:()=>w.WA,ArrowLeftIcon:()=>X.A6,getExtensionsConfigStore:()=>o.GI,putDynamicOfflineDataFor:()=>w.ff,syncAllDynamicOfflineData:()=>w.Td,useOpenmrsFetchAll:()=>S.Bf,ProgramsIcon:()=>X.lq,MaybeIcon:()=>X.oy,PatientListsPictogram:()=>X.$2,RenderIfValueIsTruthy:()=>S.fS,Snackbar:()=>X.qb,createAttachment:()=>f.cD,deleteSynchronizationItem:()=>w.lY,getVisitTypes:()=>f.Pu,isOpenmrsRoutes:()=>V,defaultVisitCustomRepresentation:()=>f.Rb,ChevronLeftIcon:()=>X.YJ,subscribePrecacheStaticDependencies:()=>i.ff,temporaryConfigStore:()=>o.H,useDebounce:()=>S.d7,useFeatureFlag:()=>S.u,useOpenmrsPagination:()=>S.Ed,useOpenmrsSWR:()=>S.M3,subscribeSnackbarShown:()=>i.ls,usePrimaryIdentifierCode:()=>S.wJ,canAccessStorage:()=>F,EditIcon:()=>X.qU,BabyIcon:()=>X.qY,getCurrentOfflineMode:()=>w.wJ,provide:()=>o.Gt,PedestrianFamilyIcon:()=>X.PP,LeftNavMenu:()=>X.Oj,useRenderableExtensions:()=>S.oU,useStoreWithActions:()=>S.mQ,tryRegisterExtension:()=>x,GroupIcon:()=>X.nF,useVisitContextStore:()=>S.xH,useOpenmrsInfinite:()=>S.iy,dispatchToastShown:()=>i.Vt,jsep:()=>d.PQ,syncDynamicOfflineData:()=>w.u1,useBodyScrollLock:()=>S.yJ,useOnClickOutside:()=>S.Wr,getLocale:()=>z.J,useVisit:()=>S.fq,registerExtensionSlot:()=>O.FY,useExtensionSlotMeta:()=>S.Wq,useVisitTypes:()=>S.wr,getExtensionConfig:()=>o.UY,slugify:()=>a,subscribeToFeatureFlag:()=>v.sM,showSnackbar:()=>X.td,ActivityIcon:()=>X.np,InformationIcon:()=>X.uQ,MaximizeIcon:()=>X._X,ArrowUpIcon:()=>X.Kp,PenIcon:()=>X.rZ,formatDatetime:()=>_.Rt,fhirBaseUrl:()=>n.IU,CloseOutlineIcon:()=>X.Wd,useFhirInfinite:()=>S.vL,MessageQueueIcon:()=>X.uF,getWorkspaceRegistration:()=>O.Xb,usePatient:()=>S.tQ,WorkspaceNotification:()=>X.tM,usePatientPhoto:()=>X.R9,evaluateAsTypeAsync:()=>d.uN,getWorkspaceGroupStore:()=>X.e_,getExtensionSlotsConfigStore:()=>o.YP,registerWorkspace:()=>O.pm,OpenmrsAppContext:()=>S.p6,ConditionsIcon:()=>X.ci,fetchCurrentPatient:()=>f.hG,getExtensionRegistration:()=>O.Tj,setupOfflineSync:()=>w.cy,showWorkspacePrompts:()=>X.ct,isUrl:()=>o.gU,useConfig:()=>S.UK,subscribeConnectivityChanged:()=>i.gj,backendDependencies:()=>n.QE,ArrowRightIcon:()=>X.fl,useForceUpdate:()=>S.CH,registerDefaultCalendar:()=>_.XE,PatientBannerPatientInfo:()=>X.zv,GroupAccessIcon:()=>X.Py,RadiologyIcon:()=>X.SA,TableIcon:()=>X.Kb,Toast:()=>X.y8,subscribeToastShown:()=>i.dX,clearHistory:()=>y.g4,validators:()=>o.y$,CaretLeftIcon:()=>X.eC,parseDate:()=>_._U,extractVariableNames:()=>g,esmStyleGuideSchema:()=>X.bt,LocationPicker:()=>X.MT,messageOmrsServiceWorker:()=>w.ms,GenderMaleIcon:()=>X.sz,ProcedureOrderIcon:()=>X.H0,WorkspaceContainer:()=>X.Xv,ServiceQueuesPictogram:()=>X.Y2,filterBreadcrumbs:()=>y.D_,getGlobalStore:()=>W.jf,ChartAverageIcon:()=>X.ZH,integrateBreakpoints:()=>X.WM,registerFeatureFlag:()=>v.uA,UserAvatarIcon:()=>X.yD,removeRoutesOverride:()=>j,setCurrentOfflineMode:()=>w.Og,setLeftNav:()=>O.Vx,workspaceStore:()=>X.x9,evaluate:()=>d._3,saveVisit:()=>f.Ds,subscribeActionableNotificationShown:()=>i.bK,userHasAccess:()=>n.st,getBreadcrumbsFor:()=>y.qh,DownloadIcon:()=>X.s3,displayName:()=>J.QC,implementerToolsConfigStore:()=>o.tN,getPromptBeforeClosingFcn:()=>X.Oe,promptBeforeClosing:()=>X.F3,useLayoutType:()=>S.qv,CaretRightIcon:()=>X.JJ,Pictogram:()=>X.bF,PasswordIcon:()=>X.BG,SyringeIcon:()=>X.hZ,UserHasAccess:()=>S.qw,getSynchronizationItemsFor:()=>w.Io,getAttachments:()=>f.Bv,registerTranslationNamespace:()=>o.GV,getFeatureFlag:()=>v.jj,detachAll:()=>O.No,inRange:()=>o.r4,isOnline:()=>q.s,useStore:()=>S.Pj,evaluateAsType:()=>d.Sj,getCurrentImportMap:()=>p,GenderOtherIcon:()=>X.hX,getCurrentUser:()=>n.HW,goBackInHistory:()=>y.tA,OpenmrsDatePicker:()=>X.rn,useAttachments:()=>S._9,getHistory:()=>y.JK,usePagination:()=>S.WQ,checkStatus:()=>O.dO,subscribeNotificationShown:()=>i.bJ,createUseStore:()=>S.rr,CloseFilledIcon:()=>X.oC,useWorkspaces:()=>X.CH,validator:()=>o.Nc,PageHeaderContent:()=>X.gp,getSynchronizationItem:()=>w.Gp,changeWorkspaceContext:()=>X.JK,showModal:()=>X.to,getDefaultsFromConfigSchema:()=>function e(t){let r={};for(let n of Object.keys(t))if(K(t[n])&&t[n].hasOwnProperty("_default"))r[n]=t[n]._default;else{if(n.startsWith("_"))continue;K(t[n])?r[n]=e(t[n]):r[n]=t[n]}return r},PrinterIcon:()=>X.ww,configExtensionStore:()=>o.hs,age:()=>H.K,formatDuration:()=>_.a3,useConnectedExtensions:()=>S.zD,useLocations:()=>S.kH,registerModuleLoad:()=>o.kl,UserXrayIcon:()=>X.fe,renderToasts:()=>X.f1,ResponsiveWrapper:()=>X.KF,ErrorState:()=>X.W5,InPatientPictogram:()=>X.th,evaluateAsNumberAsync:()=>d.$F,showToast:()=>X.P0,ShoppingCartIcon:()=>X.aJ,queueSynchronizationItem:()=>w.Zr,refetchCurrentUser:()=>n.yH,ExtensionSlot:()=>S.W3,getDynamicOfflineDataHandlers:()=>w.qb,setCurrentVisit:()=>f.NH,MotherIcon:()=>X.XE,getLocations:()=>f.Vs,registerExtension:()=>O.VK,clearConfigErrors:()=>o.Nh,closeAllWorkspaces:()=>X.G_,toOmrsIsoString:()=>_.l0,AllergiesIcon:()=>X.Ug,CaretDownIcon:()=>X.bD,CheckmarkFilledIcon:()=>X.Ft,ActionMenu:()=>X.Wy,useAssignedExtensions:()=>S.CX,ComponentContext:()=>S.zq,InformationSquareIcon:()=>X.Zr,LabOrderIcon:()=>X.hi,MaybePictogram:()=>X.bm,ResetIcon:()=>X.NA,dispatchPrecacheStaticDependencies:()=>i.pc,DocumentAttachmentIcon:()=>X.Ce,getConfigStore:()=>o.IS,getSynchronizationItems:()=>w.pb,Extension:()=>S.YY,TimeIcon:()=>X.b1,getPatientName:()=>J.Vp,getVisitStore:()=>f.BX,getWorkspaceGroupRegistration:()=>O.Q_,TreeViewAltIcon:()=>X.MO,RenewIcon:()=>X.JT,resetWorkspaceStore:()=>X._1,getModalRegistration:()=>O.Fg,interpolateUrl:()=>y.JG,retry:()=>et,finishRegisteringAllApps:()=>D,formatPartialDate:()=>_.LW,setSessionLocation:()=>n.Gp,getLifecycle:()=>S.JK,ToolsIcon:()=>X.dw,AppointmentsPictogram:()=>X.B1,SearchIcon:()=>X.WI,shallowEqual:()=>Y.b,isOpenmrsAppRoutes:()=>B,showNotification:()=>X.Ds,ViewOffIcon:()=>X.Oi,registerOmrsServiceWorker:()=>w.sZ,VisitMode:()=>f.dx,setupApiModule:()=>n.Y0,evaluateAsync:()=>d.mv,configInternalStore:()=>o.Rt,activateOfflineCapability:()=>w.nr,isOmrsDateToday:()=>_.vU,registerBreadcrumbs:()=>y.MY,defineConfigSchema:()=>o.T0,isDesktop:()=>S.xl,subscribeTo:()=>W.i7,setupModals:()=>X.EP,toVisitTypeObject:()=>f.Qx,OpenmrsDateRangePicker:()=>X.Ye,setupHistory:()=>y.Wh,useExtensionInternalStore:()=>S.$B,cancelPrompt:()=>X.zl,InformationFilledIcon:()=>X._e,PatientBannerToggleContactDetailsButton:()=>X.Qg,updateInternalExtensionStore:()=>O.DQ,dispatchConnectivityChanged:()=>i.Yt,syncOfflinePatientData:()=>w.sK,VisitStatus:()=>f.Cj,isOfflineUuid:()=>w.bO,getWorkspaceStore:()=>X.Xz,openmrsComponentDecorator:()=>S.F7,getExtensionNameFromId:()=>O.ES,getExtensionStore:()=>O.zF,getLoggedInUser:()=>n.xC,StockManagementPictogram:()=>X.q_,launchWorkspaceGroup:()=>X.aN,openmrsObservableFetch:()=>n.ut,useExtensionSlot:()=>S.br,useSession:()=>S.wV,AddIcon:()=>X.RE,DashboardExtension:()=>X.cJ,ShoppingCartArrowDownIcon:()=>X.Lf,clearCurrentUser:()=>n.g$,useFhirPagination:()=>S.to,AttachmentIcon:()=>X.Pt,formattedName:()=>J.qK,getAssignedExtensions:()=>O.zx,showActionableNotification:()=>X.Zy,PageHeader:()=>X.zY,queueSynchronizationItemFor:()=>w.Iq,useOnVisible:()=>S.Jm,createGlobalStore:()=>W.Zd,registerBreadcrumb:()=>y.vf,useLeftNav:()=>S.if,getExtensionConfigFromExtensionSlotStore:()=>o.g$,GenericOrderTypeIcon:()=>X.n,GenderUnknownIcon:()=>X.x1,ShoppingCartAddItemIcon:()=>X.Uv,isUrlWithTemplateParameters:()=>o.qG,registerApp:()=>P,cleanupObsoleteFeatureFlags:()=>v.D3,PharmacyPictogram:()=>X.w2});var n=r(937),o=r(3070),i=r(7760),s=r(1836);function a(e){return e.replace(/[\/\-@]/g,"_")}async function l(e,t="./start",n){var o;let i,s=!n?.maxLoadingTime||n.maxLoadingTime<=0?6e5:n.maxLoadingTime;await Promise.race([c(e,n?.importMap),new Promise((t,r)=>{i=setTimeout(()=>{var t;r(Error(`Could not resolve requested script, ${e}, within ${(t=s)<1e3?`${t} milliseconds`:t<6e4?`${Math.floor(t/1e3)} seconds`:t<36e5?`${Math.floor(t/6e4)} minutes`:t<864e5?`${Math.floor(t/36e5)} hours`:`${Math.floor(t/864e5)} days`}.`))},s)})]),i&&clearTimeout(i);let p=a(e),u=window[p];if(!("object"==typeof(o=u)&&null!==o&&"init"in o&&"function"==typeof o.init&&"get"in o&&"function"==typeof o.get)){let e=`The global variable ${p} does not refer to a federated module`;throw console.error(e),Error(e)}u.init(r.S.default);let f=(await u.get(t))();if("object"!=typeof f||null===f){let t=`Container for ${e} did not return an ESM module as expected`;throw console.error(t),Error(t)}return f}async function c(e,t){if("string"!=typeof e||0===e.trim().length){let e="Attempted to call importDynamic() without supplying a package to load";throw console.error(e),Error(e)}let r=a(e);if(!window[r]){let r=t??await p();if(!r.imports.hasOwnProperty(e)){let t=`Could not find the package ${e} defined in the current importmap`;throw console.error(t),Error(t)}let n=r.imports[e];n.startsWith("./")&&(n=window.spaBase+n.substring(1));let o=!!window.localStorage.getItem(`import-map-override:${e}`);try{return await new Promise((e,t)=>{!function(e,t,r){let n=document.head.querySelector(`script[src="${e}"]`),o=window[u];if(o||(o=window[u]=new Set([])),n)if(o.has(e)){let e,o,i;i=()=>{e&&n.removeEventListener("load",e),o&&n.removeEventListener("error",o)},e=()=>{i(),t(null)},o=e=>{i(),r(e.message)},n.addEventListener("load",e),n.addEventListener("error",o)}else console.warn(`Script at ${e} already loaded. Not loading it again.`),t(null);else{let n,i,s;o.add(e);let a=document.createElement("script");a.src=e,a.type="text/javascript",a.async=!0;let l=setTimeout(()=>{console.error(`The script at ${e} did not load within 5 seconds. This may indicate an issue with the imports in the script's entry-point file or with the script's bundler configuration.`)},5e3);s=()=>{clearTimeout(l),o.delete(e),n&&a.removeEventListener("load",n),i&&a.removeEventListener("error",i)},n=()=>{s(),t(null)},i=t=>{s();let n=`Failed to load script from ${e}`;console.error(n,t),r(t.message??n)},a.addEventListener("load",n),a.addEventListener("error",i),document.head.appendChild(a)}}(n,e,t)})}catch(e){return o&&(0,i.Vt)({kind:"error",title:(0,s.V)("scriptLoadingFailed","Error: Script failed to load"),description:(0,s.V)("scriptLoadingError","Failed to load overridden script from {{- url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.",{url:n}),actionButtonLabel:(0,s.V)("resetOverrides","Reset overrides"),onActionButtonClick(){window.importMapOverrides.resetOverrides(),window.location.reload()}}),Promise.reject(e)}}return Promise.resolve()}async function p(){return window.importMapOverrides.getCurrentPageMap()}let u=Symbol("__openmrs_script_loading");var f=r(924),h=r(4201),d=r(6250),m=r(950),E=r(4339);function g(e){if("string"!=typeof e&&("object"!=typeof e||!e||!("type"in e)))throw`Unknown expression type ${e}. Expressions must either be a string or pre-compiled string.`;let t={globals:{...E.f},isLocalExpression:!1,variables:new Set};return I("string"==typeof e?(0,m.A)(e):e,t),[...t.variables]}function I(e,t){switch(e.type){case"UnaryExpression":return n=e,o=t,I(n.argument,o);case"BinaryExpression":return i=e,s=t,[I(i.left,s),I(i.right,s)].filter(Boolean);case"ConditionalExpression":return a=e,l=t,[I(a.consequent,l),I(a.test,l),I(a.alternate,l)].filter(Boolean);case"CallExpression":let r;return c=e,p=t,r=I(c.callee,p),c.arguments?.map($(p)),r;case"ArrowFunctionExpression":var n,o,i,s,a,l,c,p,u,f,h,d,m,E,g,O,v,y,w=e,S=t;let R={...S};R.isLocalExpression=!0;let A=w.params?.map($(R))??[],b=I(w.body,R)??[];if(b&&Array.isArray(b))for(let e of b)A.includes(e)||S.variables.add(e);return;case"MemberExpression":let N;return u=e,f=t,I(u.object,f),void((N={...f}).isLocalExpression=!0,I(u.property,N));case"ArrayExpression":return h=e,d=t,void h.elements?.map($(d));case"SequenceExpression":return m=e,E=t,void m.expressions?.map($(E));case"NewExpression":return g=e,O=t,void g.arguments?.map($(O));case"Literal":case"TemplateElement":return;case"Identifier":var L=e,T=t;if(!(L.name in T.globals))if(T.isLocalExpression)return L.name;else T.variables.add(L.name);return;case"TemplateLiteral":return v=e,y=t,void(v.expressions?.map($(y)),v.quasis?.map($(y)));default:throw`Expression evaluator does not support expression of type '${e.type}'`}}function $(e){return function(t){return null===t?null:I(t,e)}}var O=r(1621),v=r(201),y=r(7744),w=r(4328),S=r(4408);let R="openmrs-routes:";var A=r(2956);let b=new Map;async function N(e,t){let r=t.indexOf("#"),n=r>=0,o=n?t.substring(0,r):e,i=n?t.substring(r+1):t,s=await l(o);return s&&Object.hasOwn(s,i)&&"function"==typeof s[i]?T(o,s).then(()=>s[i]()):(s?s&&Object.hasOwn(s,i)?console.warn(`The export ${t}, defined in ${e}'s routes.json, is not a function`):console.warn(`${o} does not define a component called "${i}", referenced in ${e}'s routes.json. This cannot be loaded.`):console.warn(`Unknown app ${o} for ${t} defined in ${e}'s routes.json`),L)}let L={bootstrap:()=>Promise.resolve(),mount:()=>Promise.resolve(),unmount:()=>Promise.resolve()};async function T(e,t){if(e in b)await b[e];else{let r=t??await l(e);await (b[e]=new Promise((t,n)=>{if(Object.hasOwn(r,"startupApp")){let i=r.startupApp;if("function"==typeof i)return Promise.resolve(i()).then(()=>{(0,o.kl)(e),t(null)}).catch(n)}(0,o.kl)(e),t(null)}))}}function x(e,t){let r=t.name;if(!r)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 ${r} from ${e} declares both a 'slots' property and
4
+ a 'slot' property. Only the 'slots' property will be honored.`);let n=t.slots?t.slots:t.slot?[t.slot]:[];if(!t.component)return void console.error(`The extension ${r} 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 o of((0,O.VK)({name:r,load:()=>N(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}),n))(0,O.K0)(o,r)}let C=[];function P(e,t){if(e&&t&&"object"==typeof t){(0,o.FL)(e);let r=t.extensions??[],n=t.modals??[],i=t.workspaces??[],s=t.workspaceGroups??[],a=t.featureFlags??[];t.pages?.forEach(t=>{t&&"object"==typeof t&&Object.hasOwn(t,"component")&&(Object.hasOwn(t,"route")||Object.hasOwn(t,"routeRegex")||Object.hasOwn(t,"routes"))?C.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)}),r.forEach(t=>{t&&"object"==typeof t&&Object.hasOwn(t,"name")&&Object.hasOwn(t,"component")?x(e,t):console.warn(`An extension for ${e} could not be registered as it does not appear to have the required properties`,t)}),n.forEach(t=>{if(t&&"object"==typeof t&&Object.hasOwn(t,"name")&&Object.hasOwn(t,"component")){let r;(r=t.name)?t.component?(0,O.Ju)({name:r,moduleName:e,load:()=>N(e,t.component)}):console.error(`The modal ${r} 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 r=t.name;if(!r)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 n=t.title;if(!n)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 ${r} 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 o of((0,O.pm)({name:r,title:n,component:t.component,moduleName:e,type:t.type,canHide:t.canHide,canMaximize:t.canMaximize,width:t.width,preferredWindowSize:t.preferredWindowSize,groups:t.groups,load:()=>N(e,t.component)}),t.groups||[]))(0,O.io)({name:o,members:[r]})}(e,t):console.warn(`A workspace for ${e} could not be registered as it does not appear to have the required properties`,t)}),s.forEach(t=>{if(t&&"object"==typeof t&&Object.hasOwn(t,"name")){let r;(r=t.name)?(0,O.io)({name:r,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)}),a.forEach(t=>{if(t&&"object"==typeof t&&Object.hasOwn(t,"flagName"))t.flagName?t.label?t.description?(0,v.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 D(){C.sort((e,t)=>e.appName.localeCompare(t.appName,"en"));let e=new Map;for(let t of C){e.has(t.appName)?e.set(t.appName,e.get(t.appName)+1):e.set(t.appName,0);let r=e.get(t.appName),n=`${t.appName}-page-${r}`,o=t.containerDomId??"omrs-apps-container",i=document.getElementById(o),s=`single-spa-application:${n}`;if(i){let e=document.createElement("div");e.id=s,i?.appendChild(e)}else throw Error(`${t.appName} ${t.component} cannot be mounted to "${o}"; DOM element does not exist.`);!function(e,t){let r=void 0!==t.route?t.route:void 0!==t.routeRegex&&new RegExp(t.routeRegex);if(!1===r)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 n=function(e,{online:t,offline:r,featureFlag:n}){return window.offlineEnabled?o=>!!(navigator.onLine&&(t??!0)||!navigator.onLine&&r)&&(!n||!!(0,v.jj)(n))&&e(o):e}(function e(t){if(Array.isArray(t)){let r=t.map(e);return e=>r.some(t=>t(e))}return"string"==typeof t?(0,A.fz)(window.getOpenmrsSpaBase()+t):t instanceof RegExp?e=>t.test(e.pathname.replace(window.getOpenmrsSpaBase(),"")):()=>t}(r),t);(0,A.AG)(e,()=>N(t.appName,t.component),n)}(n,t)}}function F(e=window.localStorage){try{return e.getItem("test"),!0}catch{return!1}}let M=F();function k(e,t){if(M){if("string"==typeof t)if(t.startsWith("http"))return G(e,t);else try{let r=JSON.parse(t);if(B(r))return G(e,r);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 G(e,t.toString());else if(B(t))return G(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 j(e){M&&localStorage.removeItem(R+e)}function U(){if(!M)return;let e=window.localStorage;for(let t=0;t<e.length;t++){let r=e.key(t);r?.startsWith(R)&&e.removeItem(r)}}function G(e,t){localStorage.setItem(R+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 V(e){return!!e&&"object"==typeof e&&Object.entries(e).every(([e,t])=>"string"==typeof e&&B(t))}var W=r(467),X=r(1555),H=r(785),_=r(2613),z=r(2729),q=r(9826),J=r(7943),Y=r(108);function K(e){return!!e&&e.constructor===Object}var Q=r(5934);function Z(e){let[t,r,n]=e.split(".");return`${t}.${r}.${n}`}function ee(e,t){let r=function(e){let t=e.indexOf("-");if(t>=0){let r=Z(e.slice(0,t)),n=e.slice(t+1);return`${r}-${n}`}return Z(e)}(t);return Q.satisfies(r,e,{includePrerelease:!0})}async function et(e,t={}){let r,{shouldRetry:n,getDelay:o,onError:i}=t;n=n??(e=>e<=5),o=o??(e=>(function(e,t,r=!1){return 1e3*Math.pow(2,r?e+1:e)})(e,1e3));let s=0;do try{return await er(o(s)),await e()}catch(e){i?.(e,s),r=e}while(n(s++));throw r}async function er(e){if(!(e<=0))return new Promise(t=>setTimeout(t,e))}}}]);