@openmrs/esm-app-shell 5.3.3-pre.1421 → 5.3.3-pre.1425

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 (90) hide show
  1. package/.turbo/turbo-build.log +98 -97
  2. package/dist/9c61459c588fc919.js +1 -0
  3. package/dist/9c61459c588fc919.js.map +1 -0
  4. package/dist/index.html +1 -1
  5. package/dist/openmrs.979f269c8d270a17.js +2 -0
  6. package/dist/openmrs.979f269c8d270a17.js.map +1 -0
  7. package/dist/service-worker.js +1 -1
  8. package/lib/{389e67ea4e97eec9.js → 0102ace6d215c50f.js} +2 -2
  9. package/lib/esm-devtools-app/889.js +1 -1
  10. package/lib/esm-devtools-app/889.js.map +1 -1
  11. package/lib/esm-devtools-app/main.js +1 -1
  12. package/lib/esm-devtools-app/openmrs-esm-devtools-app.js +1 -1
  13. package/lib/esm-devtools-app/openmrs-esm-devtools-app.js.buildmanifest.json +5 -5
  14. package/lib/esm-devtools-app/routes.json +1 -1
  15. package/lib/esm-login-app/889.js +1 -1
  16. package/lib/esm-login-app/889.js.map +1 -1
  17. package/lib/esm-login-app/main.js +1 -1
  18. package/lib/esm-login-app/openmrs-esm-login-app.js +1 -1
  19. package/lib/esm-login-app/openmrs-esm-login-app.js.buildmanifest.json +5 -5
  20. package/lib/esm-login-app/routes.json +1 -1
  21. package/lib/esm-offline-tools-app/889.js +1 -1
  22. package/lib/esm-offline-tools-app/889.js.map +1 -1
  23. package/lib/esm-offline-tools-app/main.js +1 -1
  24. package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js +1 -1
  25. package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js.buildmanifest.json +5 -5
  26. package/lib/esm-offline-tools-app/routes.json +1 -1
  27. package/lib/esm-primary-navigation-app/889.js +1 -1
  28. package/lib/esm-primary-navigation-app/889.js.map +1 -1
  29. package/lib/esm-primary-navigation-app/main.js +1 -1
  30. package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js +1 -1
  31. package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js.buildmanifest.json +5 -5
  32. package/lib/esm-primary-navigation-app/routes.json +1 -1
  33. package/lib/index.html +2 -2
  34. package/lib/openmrs.js +9 -9
  35. package/lib/service-worker.js +1 -1
  36. package/package.json +3 -3
  37. package/src/apps.ts +3 -2
  38. package/src/locale.ts +9 -15
  39. package/dist/520c9285f129a478.js +0 -1
  40. package/dist/520c9285f129a478.js.map +0 -1
  41. package/dist/openmrs.8d244677cf27cae1.js +0 -2
  42. package/dist/openmrs.8d244677cf27cae1.js.map +0 -1
  43. package/lib/esm-implementer-tools-app/271.js +0 -1
  44. package/lib/esm-implementer-tools-app/319.js +0 -1
  45. package/lib/esm-implementer-tools-app/426.js +0 -1
  46. package/lib/esm-implementer-tools-app/426.js.map +0 -1
  47. package/lib/esm-implementer-tools-app/460.js +0 -1
  48. package/lib/esm-implementer-tools-app/56.js +0 -1
  49. package/lib/esm-implementer-tools-app/56.js.map +0 -1
  50. package/lib/esm-implementer-tools-app/560.js +0 -1
  51. package/lib/esm-implementer-tools-app/560.js.map +0 -1
  52. package/lib/esm-implementer-tools-app/574.js +0 -1
  53. package/lib/esm-implementer-tools-app/587.js +0 -1
  54. package/lib/esm-implementer-tools-app/587.js.map +0 -1
  55. package/lib/esm-implementer-tools-app/620.js +0 -2
  56. package/lib/esm-implementer-tools-app/620.js.LICENSE.txt +0 -38
  57. package/lib/esm-implementer-tools-app/620.js.map +0 -1
  58. package/lib/esm-implementer-tools-app/625.js +0 -1
  59. package/lib/esm-implementer-tools-app/651.js +0 -1
  60. package/lib/esm-implementer-tools-app/651.js.map +0 -1
  61. package/lib/esm-implementer-tools-app/727.js +0 -1
  62. package/lib/esm-implementer-tools-app/727.js.map +0 -1
  63. package/lib/esm-implementer-tools-app/735.js +0 -2
  64. package/lib/esm-implementer-tools-app/735.js.LICENSE.txt +0 -9
  65. package/lib/esm-implementer-tools-app/735.js.map +0 -1
  66. package/lib/esm-implementer-tools-app/738.js +0 -1
  67. package/lib/esm-implementer-tools-app/738.js.map +0 -1
  68. package/lib/esm-implementer-tools-app/757.js +0 -1
  69. package/lib/esm-implementer-tools-app/767.js +0 -2
  70. package/lib/esm-implementer-tools-app/767.js.LICENSE.txt +0 -19
  71. package/lib/esm-implementer-tools-app/767.js.map +0 -1
  72. package/lib/esm-implementer-tools-app/788.js +0 -2
  73. package/lib/esm-implementer-tools-app/788.js.LICENSE.txt +0 -19
  74. package/lib/esm-implementer-tools-app/788.js.map +0 -1
  75. package/lib/esm-implementer-tools-app/807.js +0 -1
  76. package/lib/esm-implementer-tools-app/833.js +0 -1
  77. package/lib/esm-implementer-tools-app/889.js +0 -2
  78. package/lib/esm-implementer-tools-app/889.js.LICENSE.txt +0 -3
  79. package/lib/esm-implementer-tools-app/889.js.map +0 -1
  80. package/lib/esm-implementer-tools-app/913.js +0 -2
  81. package/lib/esm-implementer-tools-app/913.js.LICENSE.txt +0 -5
  82. package/lib/esm-implementer-tools-app/913.js.map +0 -1
  83. package/lib/esm-implementer-tools-app/main.js +0 -2
  84. package/lib/esm-implementer-tools-app/main.js.LICENSE.txt +0 -5
  85. package/lib/esm-implementer-tools-app/main.js.map +0 -1
  86. package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js +0 -1
  87. package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js.buildmanifest.json +0 -605
  88. package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js.map +0 -1
  89. package/lib/esm-implementer-tools-app/routes.json +0 -1
  90. /package/dist/{openmrs.8d244677cf27cae1.js.LICENSE.txt → openmrs.979f269c8d270a17.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see main.js.LICENSE.txt */
2
- (()=>{var e,n,t={7414:(e,n,t)=>{"use strict";t.d(n,{SQ:()=>l});var a,i=t(5776),r=t.n(i),o=t(6248);const l=r().forwardRef((function(e,n){let{children:t,size:i=16,...l}=e;return r().createElement(o.I,{width:i,height:i,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...l},a||(a=r().createElement("path",{d:"M14 4H18V8H14zM4 4H8V8H4zM24 4H28V8H24zM14 14H18V18H14zM4 14H8V18H4zM24 14H28V18H24zM14 24H18V28H14zM4 24H8V28H4zM24 24H28V28H24z"})),t)}))},3575:(e,n,t)=>{"use strict";t.d(n,{Yo:()=>s});var a,i,r=t(5776),o=t.n(r),l=t(6248);const s=o().forwardRef((function(e,n){let{children:t,size:r=16,...s}=e;return o().createElement(l.I,{width:r,height:r,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...s},a||(a=o().createElement("path",{d:"M16,8a5,5,0,1,0,5,5A5,5,0,0,0,16,8Z"})),i||(i=o().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14.0158,14.0158,0,0,0,16,2Zm7.9925,22.9258A5.0016,5.0016,0,0,0,19,20H13a5.0016,5.0016,0,0,0-4.9925,4.9258,12,12,0,1,1,15.985,0Z"})),t)}))},9177:(e,n,t)=>{"use strict";t.d(n,{iY:()=>p,x8:()=>c});var a,i,r,o=t(5776),l=t.n(o),s=t(6248);const c=l().forwardRef((function(e,n){let{children:t,size:i=16,...r}=e;return l().createElement(s.I,{width:i,height:i,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},a||(a=l().createElement("path",{d:"M17.4141 16L24 9.4141 22.5859 8 16 14.5859 9.4143 8 8 9.4141 14.5859 16 8 22.5859 9.4143 24 16 17.4141 22.5859 24 24 22.5859 17.4141 16z"})),t)})),p=l().forwardRef((function(e,n){let{children:t,size:a=16,...o}=e;return l().createElement(s.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},i||(i=l().createElement("path",{d:"M26,13a8.9089,8.9089,0,0,1-2.5249,6.2339l1.4133,1.4131A10.9795,10.9795,0,0,0,23.6006,4.2l-1.2012,1.6A8.932,8.932,0,0,1,26,13Z"})),r||(r=l().createElement("path",{d:"M21 13a5.0022 5.0022 0 01-.9023 2.8564l1.4277 1.4278a6.9831 6.9831 0 00-.8584-9.5015l-1.334 1.49A5.0077 5.0077 0 0121 13zM30 28.5859L3.4143 2 2 3.4141l3.71 3.71A10.9824 10.9824 0 008.3994 21.8008l1.2012-1.6A8.9678 8.9678 0 017.1714 8.5854l2.1963 2.1963a6.9664 6.9664 0 001.9648 7.4351l1.334-1.49A5.0072 5.0072 0 0111 13a4.8854 4.8854 0 01.0393-.5464L15 16.4141V30h2V18.4141L28.5857 30z"})),t)}))},6390:(e,n,t)=>{"use strict";t.d(n,{GI:()=>d,SQ:()=>u});var a,i,r,o,l,s=t(5776),c=t.n(s),p=t(6248);const u=c().forwardRef((function(e,n){let{children:t,size:i=16,...r}=e;return c().createElement(p.I,{width:i,height:i,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},a||(a=c().createElement("path",{d:"M18 19H24V21H18zM18 15H30V17H18zM18 11H30V13H18zM14 21V19H9V17H7v2H2v2h8.2148a8.5914 8.5914 0 01-2.2159 3.9771A9.2731 9.2731 0 016.5521 23H4.3334a10.8553 10.8553 0 002.1451 3.2966A14.6584 14.6584 0 013 28.127L3.7021 30a16.42 16.42 0 004.2907-2.3362A16.4883 16.4883 0 0012.2979 30L13 28.127A14.664 14.664 0 019.5228 26.3 10.3132 10.3132 0 0012.2516 21zM11.1666 13H13.333L8.75 2H6.5832L2 13H4.1664L5 11h5.3335zM5.8331 9L7.6665 4.6 9.5 9z"})),t)})),d=c().forwardRef((function(e,n){let{children:t,size:a=16,...s}=e;return 16===a||"16"===a||"16px"===a?c().createElement(p.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...s},i||(i=c().createElement("path",{d:"M13,14H3c-0.6,0-1-0.4-1-1V3c0-0.6,0.4-1,1-1h5v1H3v10h10V8h1v5C14,13.6,13.6,14,13,14z"})),r||(r=c().createElement("path",{d:"M10 1L10 2 13.3 2 9 6.3 9.7 7 14 2.7 14 6 15 6 15 1z"})),t):c().createElement(p.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...s},o||(o=c().createElement("path",{d:"M26,28H6a2.0027,2.0027,0,0,1-2-2V6A2.0027,2.0027,0,0,1,6,4H16V6H6V26H26V16h2V26A2.0027,2.0027,0,0,1,26,28Z"})),l||(l=c().createElement("path",{d:"M20 2L20 4 26.586 4 18 12.586 19.414 14 28 5.414 28 12 30 12 30 2 20 2z"})),t)}))},6248:(e,n,t)=>{"use strict";function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function i(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){r(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function r(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof n?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){if(null==e)return{};var t,a,i=function(e,n){if(null==e)return{};var t,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)t=r[a],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)t=r[a],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}t.d(n,{I:()=>g});var l=["width","height","viewBox"],s=["tabindex"],c={focusable:"false",preserveAspectRatio:"xMidYMid meet"};var p=t(216),u=t.n(p),d=t(5776),f=t.n(d);const g=f().forwardRef((function(e,n){let{className:t,children:a,tabIndex:r,...p}=e;const{tabindex:u,...d}=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width,t=e.height,a=e.viewBox,r=void 0===a?"0 0 ".concat(n," ").concat(t):a,p=o(e,l),u=p.tabindex,d=o(p,s),f=i(i(i({},c),d),{},{width:n,height:t,viewBox:r});return f["aria-label"]||f["aria-labelledby"]||f.title?(f.role="img",null!=u&&(f.focusable="true",f.tabindex=u)):f["aria-hidden"]=!0,f}({...p,tabindex:r});return t&&(d.className=t),null!=u&&(d.tabIndex=u),n&&(d.ref=n),f().createElement("svg",d,a)}));g.displayName="Icon",g.propTypes={"aria-hidden":u().string,"aria-label":u().string,"aria-labelledby":u().string,children:u().node,className:u().string,height:u().oneOfType([u().number,u().string]),preserveAspectRatio:u().string,tabIndex:u().string,viewBox:u().string,width:u().oneOfType([u().number,u().string]),xmlns:u().string},g.defaultProps={xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet"},u().oneOfType([u().number,u().string])},5864:(e,n,t)=>{"use strict";t.d(n,{zxk:()=>G,h4i:()=>Be,gMZ:()=>Oe,JMr:()=>Re,sLE:()=>je,wID:()=>Ue,yh:()=>We,fef:()=>oe,mzw:()=>Q,xBx:()=>Y,EUY:()=>de,SYO:()=>Ne,T5f:()=>Je,GQc:()=>rn,m0z:()=>tn});var a={};try{process.env.CARBON_ENABLE_CSS_CUSTOM_PROPERTIES&&"true"===process.env.CARBON_ENABLE_CSS_CUSTOM_PROPERTIES?a.enableCssCustomProperties=!0:a.enableCssCustomProperties=!1,process.env.CARBON_ENABLE_USE_CONTROLLED_STATE_WITH_VALUE&&"true"===process.env.CARBON_ENABLE_USE_CONTROLLED_STATE_WITH_VALUE?a.enableUseControlledStateWithValue=!0:a.enableUseControlledStateWithValue=!1,process.env.CARBON_ENABLE_CSS_GRID&&"true"===process.env.CARBON_ENABLE_CSS_GRID?a.enableCssGrid=!0:a.enableCssGrid=!1,process.env.CARBON_ENABLE_V11_RELEASE?"true"===process.env.CARBON_ENABLE_V11_RELEASE?a.enableV11Release=!0:a.enableV11Release=!1:a.enableV11Release=!0,process.env.CARBON_ENABLE_EXPERIMENTAL_TILE_CONTRAST&&"true"===process.env.CARBON_ENABLE_EXPERIMENTAL_TILE_CONTRAST?a.enableExperimentalTileContrast=!0:a.enableExperimentalTileContrast=!1,process.env.CARBON_ENABLE_V12_TILE_DEFAULT_ICONS&&"true"===process.env.CARBON_ENABLE_V12_TILE_DEFAULT_ICONS?a.enableV12TileDefaultIcons=!0:a.enableV12TileDefaultIcons=!1,process.env.CARBON_ENABLE_V12_OVERFLOWMENU&&"true"===process.env.CARBON_ENABLE_V12_OVERFLOWMENU?a.enableV12Overflowmenu=!0:a.enableV12Overflowmenu=!1}catch(e){a.enableCssCustomProperties=!1,a.enableUseControlledStateWithValue=!1,a.enableCssGrid=!1,a.enableV11Release=!0,a.enableExperimentalTileContrast=!1,a.enableV12TileDefaultIcons=!1,a.enableV12Overflowmenu=!1}var i=[{name:"enable-css-custom-properties",description:"Describe what the flag does",enabled:a.enableCssCustomProperties},{name:"enable-use-controlled-state-with-value",description:"Enable components to be created in either a controlled or uncontrolled mode\n",enabled:a.enableUseControlledStateWithValue},{name:"enable-css-grid",description:"Enable CSS Grid Layout in the Grid and Column React components\n",enabled:a.enableCssGrid},{name:"enable-v11-release",description:"Enable the features and functionality for the v11 Release\n",enabled:a.enableV11Release},{name:"enable-experimental-tile-contrast",description:"Enable the experimental tile improved contrast styles\n",enabled:a.enableExperimentalTileContrast},{name:"enable-v12-tile-default-icons",description:"Enable rendering of default icons in the tile components\n",enabled:a.enableV12TileDefaultIcons},{name:"enable-v12-overflowmenu",description:"Enable the use of the v12 OverflowMenu leveraging the Menu subcomponents\n",enabled:a.enableV12Overflowmenu}];function r(e,n){for(var t=0;t<n.length;t++){var a=n[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,(void 0,"symbol"==typeof(i=function(e,n){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(a.key))?i:String(i)),a)}var i}function o(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r,o,l=[],s=!0,c=!1;try{if(r=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(a=r.call(t)).done)&&(l.push(a.value),l.length!==n);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}(e,n)||l(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,n){if(e){if("string"==typeof e)return s(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?s(e,n):void 0}}function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}for(var c=function(){function e(n){var t=this;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.flags=new Map,n&&Object.keys(n).forEach((function(e){t.flags.set(e,n[e])}))}var n,t;return n=e,t=[{key:"checkForFlag",value:function(e){if(!this.flags.has(e))throw new Error("Unable to find a feature flag with the name: `".concat(e,"`"))}},{key:"add",value:function(e,n){if(this.flags.has(e))throw new Error("The feature flag: ".concat(e," already exists"));this.flags.set(e,n)}},{key:"enable",value:function(e){this.checkForFlag(e),this.flags.set(e,!0)}},{key:"disable",value:function(e){this.checkForFlag(e),this.flags.set(e,!1)}},{key:"merge",value:function(e){var n=this;Object.keys(e).forEach((function(t){n.flags.set(t,e[t])}))}},{key:"mergeWithScope",value:function(e){var n,t=function(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=l(e))){t&&(e=t);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return o=e.done,e},e:function(e){s=!0,r=e},f:function(){try{o||null==t.return||t.return()}finally{if(s)throw r}}}}(e.flags);try{for(t.s();!(n=t.n()).done;){var a=o(n.value,2),i=a[0],r=a[1];this.flags.has(i)||this.flags.set(i,r)}}catch(e){t.e(e)}finally{t.f()}}},{key:"enabled",value:function(e){return this.checkForFlag(e),this.flags.get(e)}}],t&&r(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),e}(),p=new c(undefined),u=0;u<i.length;u++){var d=i[u];p.add(d.name,d.enabled)}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},f.apply(this,arguments)}!function(){p.merge.apply(p,arguments)}({"enable-css-custom-properties":!0,"enable-css-grid":!0,"enable-v11-release":!0,"enable-experimental-tile-contrast":!1});var g=t(216),h=t.n(g),y=t(5776),m=t.n(y),b=t(841),$=t.n(b),v="undefined"!=typeof window?y.useLayoutEffect:y.useEffect;const A=e=>(0,y.useCallback)((n=>{e.forEach((e=>{"function"==typeof e?e(n):null!=e&&(e.current=n)}))}),e),w=m().createContext("cds");function _(){return m().useContext(w)}function x(e,n){const t=(0,y.useRef)(null);(0,y.useEffect)((()=>{t.current=n}),[n]),(0,y.useEffect)((()=>{function n(e){t.current&&t.current(e)}return window.addEventListener(e,n),()=>{window.removeEventListener(e,n)}}),[e])}const k=m().createContext({floating:{current:null}});function C(e,n){let{isTabTip:t,align:a=(t?"bottom-left":"bottom"),as:i="span",autoAlign:r=!1,caret:o=!t,className:l,children:s,dropShadow:c=!0,highContrast:p=!1,onRequestClose:u,open:d,...g}=e;const h=_(),b=(0,y.useRef)(null),w=(0,y.useRef)(null);x("blur",(()=>{d&&u?.()})),x("click",(e=>{d&&!w?.current?.contains(e.target)&&u?.()}));const C=(0,y.useMemo)((()=>({floating:b})),[]);t&&(["bottom-left","bottom-right"].includes(a)||(a="bottom-left"));const z=A([n,w]),[E,M]=(0,y.useState)(!1),[N,S]=(0,y.useState)(a),T=$()({[`${h}--popover-container`]:!0,[`${h}--popover--caret`]:o,[`${h}--popover--drop-shadow`]:c,[`${h}--popover--high-contrast`]:p,[`${h}--popover--open`]:d,[`${h}--popover--${N}`]:E&&!t,[`${h}--popover--${a}`]:!E,[`${h}--popover--tab-tip`]:t},l);v((()=>{if(!d)return;if(!r||t)return void M(!1);if(!b.current)return;if(!0===E)return;const e=b.current.getBoundingClientRect(),n=e.x<-16,i=e.y<-16,o=e.x+(e.width-16)>document.documentElement.clientWidth,l=e.y+(e.height-16)>document.documentElement.clientHeight;if(!(n||i||o||l))return void M(!1);const s=["top","top-left","right-bottom","right","right-top","bottom-left","bottom","bottom-right","left-top","left","left-bottom","top-right"],c=[a];let p=s[(s.indexOf(a)+1)%s.length];for(;p&&!c.includes(p);)c.push(p),p=s[(s.indexOf(p)+1)%s.length];function u(e){if(!w.current||!b.current)return!1;w.current.classList.add(`${h}--popover--${e}`);const n=b.current.getBoundingClientRect();return n.x<-16||n.y<-16||n.x+(n.width-16)>document.documentElement.clientWidth||n.y+(n.height-16)>document.documentElement.clientHeight?(w.current.classList.remove(`${h}--popover--${e}`),!1):(w.current.classList.remove(`${h}--popover--${e}`),!0)}let f=null;for(let e=0;e<c.length;e++){const n=c[e];if(u(n)){f=n;break}}f&&(M(!0),S(f))}),[E,a,r,h,d,t]);const B=m().Children.map(s,(e=>{const n=e;if("button"===n?.type){const{className:e}=n.props,t=$()(`${h}--popover--tab-tip__button`,e);return m().cloneElement(n,{className:t})}return n})),O=i;return m().createElement(k.Provider,{value:C},m().createElement(O,f({},g,{className:T,ref:z}),t?B:s))}const z=m().forwardRef(C);function E(e,n){let{className:t,children:a,...i}=e;const r=_(),{floating:o}=m().useContext(k),l=A([o,n]);return m().createElement("span",f({},i,{className:`${r}--popover`}),m().createElement("span",{className:$()(`${r}--popover-content`,t),ref:l},a),m().createElement("span",{className:`${r}--popover-caret`}))}z.propTypes={align:h().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top"]),as:h().oneOfType([h().string,h().elementType]),autoAlign:h().bool,caret:h().bool,children:h().node,className:h().string,dropShadow:h().bool,highContrast:h().bool,isTabTip:h().bool,onRequestClose:h().func,open:h().bool.isRequired};const M=m().forwardRef(E);function N(){let e=0;return function(){return++e}}M.propTypes={children:h().node,className:h().string};const S=!("undefined"==typeof window||!window.document||!window.document.createElement),T=m().createContext(null),B=N(),O=S?y.useLayoutEffect:y.useEffect;let I=!1;function D(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";const n=m().useContext(T),[t,a]=(0,y.useState)((()=>I?`${n?`${n}-`:""}${e}-${B()}`:null));if(O((()=>{null===t&&a(`${n?`${n}-`:""}${e}-${B()}`)}),[B]),(0,y.useEffect)((()=>{!1===I&&(I=!0)}),[]),"function"==typeof m().useId){const t=function(e,n){return`${e?`${e}-`:""}${n}-${m().useId()}`}(n,e);return t}return t}function P(e){if(!e||!e.childNodes)return null;if(function(e){if(e.tabIndex<0)return!1;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}(e))return e;for(const n of e.childNodes){const e=P(n);if(e)return e}return null}function L(e){let{key:n,which:t,keyCode:a,code:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e?e===n:"number"==typeof e?e===t||e===a:e.key&&Array.isArray(n)?-1!==n.indexOf(e.key):e.key===n||e.which===t||e.keyCode===a||e.code===i}const H={key:"Enter",which:13,keyCode:13,code:"Enter"},R={key:["Escape","Esc"],which:27,keyCode:27,code:"Esc"},j={key:" ",which:32,keyCode:32,code:"Space"},F={key:"ArrowUp",which:38,keyCode:38,code:"ArrowUp"},q={key:"ArrowDown",which:40,keyCode:40,code:"ArrowDown"};function V(e){let{align:n="top",className:t,children:a,label:i,description:r,enterDelayMs:o=100,leaveDelayMs:l=300,defaultOpen:s=!1,closeOnActivation:c=!1,...p}=e;const u=(0,y.useRef)(null),d=(0,y.useRef)(null),[g,h]=function(e){const[n,t]=(0,y.useState)(e),a=(0,y.useRef)(null),i=(0,y.useCallback)((function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;window.clearTimeout(a.current??void 0),a.current=null,0!==n?a.current=window.setTimeout((()=>{t(e),a.current=null}),n):t(e)}),[]);return(0,y.useEffect)((()=>()=>{window.clearTimeout(a.current??void 0)}),[]),[n,i]}(s),b=D("tooltip"),v=_(),A=m().Children.only(a),w={onFocus:()=>h(!0),onBlur:()=>h(!1),onClick:()=>c&&h(!1),onMouseEnter:function(){h(!0,o)}};return i?w["aria-labelledby"]=b:w["aria-describedby"]=b,(0,y.useEffect)((()=>{null!==u&&u.current&&(P(u.current)||h(!1))})),m().createElement(z,f({},p,{align:n,className:$()(`${v}--tooltip`,t),dropShadow:!1,highContrast:!0,onKeyDown:function(e){g&&L(e,R)&&(e.stopPropagation(),h(!1)),g&&c&&(L(e,H)||L(e,j))&&h(!1)},onMouseLeave:function(){h(!1,l)},open:g,ref:u}),m().createElement("div",{className:`${v}--tooltip-trigger__wrapper`},void 0!==A?m().cloneElement(A,{...w,...function(e){const n={};return["onFocus","onBlur","onClick","onMouseEnter"].forEach((t=>{n[t]=n=>{w[t](),e?.[t]&&e?.[t](n)}})),n}(A.props)}):null),m().createElement(M,{"aria-hidden":g?"false":"true",className:`${v}--tooltip-content`,id:b,ref:d,role:"tooltip"},i||r))}V.propTypes={align:h().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top"]),children:h().node,className:h().string,closeOnActivation:h().bool,defaultOpen:h().bool,description:h().node,enterDelayMs:h().number,label:h().node,leaveDelayMs:h().number};const U=m().forwardRef((function(e,n){const{align:t,children:a,className:i,closeOnActivation:r=!0,defaultOpen:o=!1,disabled:l,enterDelayMs:s=100,kind:c,label:p,leaveDelayMs:u=100,wrapperClasses:d,size:g,...h}=e,y=_(),b=$()(d,`${y}--icon-tooltip`,{[`${y}--icon-tooltip--disabled`]:l});return m().createElement(V,{align:t,closeOnActivation:r,className:b,defaultOpen:o,enterDelayMs:s,label:p,leaveDelayMs:u},m().createElement(G,f({},h,{disabled:l,kind:c,ref:n,size:g,className:$()(`${y}--btn--icon-only`,i)}),a))}));U.propTypes={align:h().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","right"]),children:h().node,className:h().string,closeOnActivation:h().bool,defaultOpen:h().bool,disabled:h().bool,enterDelayMs:h().number,kind:h().oneOf(["primary","secondary","ghost","tertiary"]),label:h().node.isRequired,leaveDelayMs:h().number,size:h().oneOf(["sm","md","lg"]),wrapperClasses:h().string};const G=m().forwardRef((function(e,n){let{as:t,children:a,className:i,dangerDescription:r="danger",disabled:o=!1,hasIconOnly:l=!1,href:s,iconDescription:c,isExpressive:p=!1,isSelected:u,kind:d="primary",onBlur:g,onClick:h,onFocus:b,onMouseEnter:v,onMouseLeave:A,renderIcon:w,size:x,tabIndex:k,tooltipAlignment:C="center",tooltipPosition:z="top",type:E="button",...M}=e;const N=(0,y.useRef)(null),S=_(),T=e=>{e.target!==N.current||e.preventDefault()},B={tabIndex:k,className:$()(i,{[`${S}--btn`]:!0,[`${S}--btn--sm`]:"sm"===x&&!p,[`${S}--btn--md`]:"md"===x&&!p,[`${S}--btn--xl`]:"xl"===x,[`${S}--btn--2xl`]:"2xl"===x,[`${S}--layout--size-${x}`]:x,[`${S}--btn--${d}`]:d,[`${S}--btn--disabled`]:o,[`${S}--btn--expressive`]:p,[`${S}--btn--icon-only`]:l,[`${S}--btn--selected`]:l&&u&&"ghost"===d}),ref:n},O=w?m().createElement(w,{"aria-label":c,className:`${S}--btn__icon`,"aria-hidden":"true"}):null,I=w?m().createElement(w,null):null,P=["danger","danger--tertiary","danger--ghost"];let L="button";const H=D("danger-description"),{"aria-pressed":R}=M;let j={disabled:o,type:E,"aria-describedby":P.includes(d)?H:void 0,"aria-pressed":R??(l&&"ghost"===d?u:void 0)};const F={href:s};let q=null;if(P.includes(d)&&(q=m().createElement("span",{id:H,className:`${S}--visually-hidden`},r)),t?(L=t,j={...j,...F}):s&&!o&&(L="a",j=F),l){let e;return"top"!==z&&"bottom"!==z||("center"===C&&(e=z),"end"===C&&(e=`${z}-right`),"start"===C&&(e=`${z}-left`)),"right"!==z&&"left"!==z||(e=z),m().createElement(U,f({as:t,align:e,label:c,kind:d,size:x,onMouseEnter:v,onMouseLeave:A,onFocus:b,onBlur:g,onClick:(V=[h,T],function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];for(let n=0;n<V.length&&!e.defaultPrevented;n++){const a=V[n];"function"==typeof a&&a(e,...t)}})},M,B,j),I||a)}return m().createElement(L,{onMouseEnter:v,onMouseLeave:A,onFocus:b,onBlur:g,onClick:h,...M,...B,...j},q,a,O);var V}));G.displayName="Button",G.propTypes={as:h().oneOfType([h().func,h().string,h().elementType]),children:h().node,className:h().string,dangerDescription:h().string,disabled:h().bool,hasIconOnly:h().bool,href:h().string,iconDescription:e=>!e.renderIcon||e.children||e.iconDescription?null:new Error("renderIcon property specified without also providing an iconDescription property."),isExpressive:h().bool,isSelected:h().bool,kind:h().oneOf(["primary","secondary","danger","ghost","danger--primary","danger--ghost","danger--tertiary","tertiary"]),onBlur:h().func,onClick:h().func,onFocus:h().func,onMouseEnter:h().func,onMouseLeave:h().func,renderIcon:h().oneOfType([h().func,h().object]),role:h().string,size:h().oneOf(["sm","md","lg","xl","2xl"]),tabIndex:h().number,tooltipAlignment:h().oneOf(["start","center","end"]),tooltipPosition:h().oneOf(["top","right","bottom","left"]),type:h().oneOf(["button","reset","submit"])};var Z=t(1729),W=t(9177);const Y=m().forwardRef((function(e,n){let{buttonOnClick:t,children:a,className:i,closeClassName:r,closeIconClassName:o,closeModal:l,iconDescription:s,label:c,labelClassName:p,title:u,titleClassName:d,...g}=e;const h=_(),y=$()(`${h}--modal-header`,i),b=$()(`${h}--modal-header__label ${h}--type-delta`,p),v=$()(`${h}--modal-header__heading ${h}--type-beta`,d),A=$()(`${h}--modal-close`,r),w=$()(`${h}--modal-close__icon`,o);return m().createElement("div",f({className:y},g,{ref:n}),c&&m().createElement("h2",{className:b},c),u&&m().createElement("h3",{className:v},u),a,m().createElement("button",{onClick:function(e){l?.(e),t?.(e)},className:A,title:s,"aria-label":s,type:"button"},m().createElement(W.x8,{size:20,className:w})))}));Y.propTypes={buttonOnClick:h().func,children:h().node,className:h().string,closeClassName:h().string,closeIconClassName:h().string,closeModal:h().func,iconDescription:h().string,label:h().node,labelClassName:h().string,title:h().node,titleClassName:h().string},Y.defaultProps={iconDescription:"Close"};const J=m().forwardRef((function(e,n){let{children:t,className:a,stacked:i,...r}=e;const o=_(),l=$()(a,`${o}--btn-set`,{[`${o}--btn-set--stacked`]:i});return m().createElement("div",f({},r,{className:l,ref:n}),t)}));function K(e){let{secondaryButtons:n,secondaryButtonText:t,secondaryClassName:a,closeModal:i,onRequestClose:r}=e;function o(e){i(e),r(e)}return Array.isArray(n)&&n.length<=2?n.map(((e,n)=>{let{buttonText:t,onClick:i}=e;return m().createElement(G,{key:`${t}-${n}`,className:a,kind:"secondary",onClick:i||o},t)})):t?m().createElement(G,{className:a,onClick:o,kind:"secondary"},t):null}J.displayName="ButtonSet",J.propTypes={children:h().node,className:h().string,stacked:h().bool},K.propTypes={closeModal:h().func,onRequestClose:h().func,secondaryButtonText:h().string,secondaryButtons:(e,n,t)=>{if(e.secondaryButtons){if(!Array.isArray(e.secondaryButtons)||2!==e.secondaryButtons.length)return new Error(`${n} needs to be an array of two button config objects`);const a={buttonText:h().node,onClick:h().func};e[n].forEach((e=>{h().checkPropTypes(a,e,n,t)}))}return null},secondaryClassName:h().string};const Q=m().forwardRef((function(e,n){let{children:t,className:a,closeModal:i,danger:r,inputref:o,onRequestClose:l,onRequestSubmit:s,primaryButtonDisabled:c,primaryButtonText:p,primaryClassName:u,secondaryButtonText:d,secondaryButtons:g,secondaryClassName:h,...y}=e;const b=_(),v=$()(`${b}--modal-footer`,a,Array.isArray(g)&&2===g.length?`${b}--modal-footer--three-button`:null),A={closeModal:i,secondaryButtons:g,secondaryButtonText:d,secondaryClassName:h,onRequestClose:l};return m().createElement(J,f({className:v},y,{ref:n}),m().createElement(K,A),p&&m().createElement(G,{onClick:s,className:u,disabled:c,kind:r?"danger":"primary",ref:o},p),t)}));Q.propTypes={children:h().node,className:h().string,closeModal:h().func,danger:h().bool,inputref:h().oneOfType([h().func,h().shape({current:h().any})]),onRequestClose:h().func,onRequestSubmit:h().func,primaryButtonDisabled:h().bool,primaryButtonText:h().string,primaryClassName:h().string,secondaryButtonText:h().string,secondaryButtons:(e,n,t)=>{if(e.secondaryButtons){if(!Array.isArray(e.secondaryButtons)||2!==e.secondaryButtons.length)return new Error(`${n} needs to be an array of two button config objects`);const a={buttonText:h().node,onClick:h().func};e[n].forEach((e=>{h().checkPropTypes(a,e,n,t)}))}return null},secondaryClassName:h().string};const X=()=>{};function ee(e,n,t){e.classList.contains(n)===!t&&e.classList[t?"add":"remove"](n)}Q.defaultProps={onRequestClose:X,onRequestSubmit:X,closeModal:X};var ne=t(881),te=t.n(ne);const ae="undefined"!=typeof Node&&Node.DOCUMENT_POSITION_PRECEDING|Node.DOCUMENT_POSITION_CONTAINS,ie="undefined"!=typeof Node&&Node.DOCUMENT_POSITION_FOLLOWING|Node.DOCUMENT_POSITION_CONTAINED_BY,re="\n a[href], area[href], input:not([disabled]):not([tabindex='-1']),\n button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),\n textarea:not([disabled]):not([tabindex='-1']),\n iframe, object, embed, *[tabindex]:not([tabindex='-1']):not([disabled]), *[contenteditable=true]\n",oe=m().forwardRef((function(e,n){let{className:t,children:a,hasForm:i,hasScrollingContent:r,...o}=e;const l=_(),s=$()(`${l}--modal-content`,i&&`${l}--modal-content--with-form`,r&&`${l}--modal-scroll-content`,t),c=r?{tabIndex:0,role:"region"}:{};return m().createElement(m().Fragment,null,m().createElement("div",f({className:s},c,o,{ref:n}),a),r&&m().createElement("div",{className:`${l}--modal-content--overflow-indicator`}))}));var le;oe.propTypes={"aria-label":(le=h().string,function(e,n,t){for(var a=arguments.length,i=new Array(a>3?a-3:0),r=3;r<a;r++)i[r-3]=arguments[r];return le(e,n,t,...i)}),children:h().node,className:h().string,hasForm:h().bool,hasScrollingContent:h().bool};const se=m().forwardRef((function(e,n){let{"aria-labelledby":t,"aria-label":a,children:i,className:r,containerClassName:o,danger:l,isFullWidth:s,onClose:c,onKeyDown:p,open:u,preventCloseOnClickOutside:d,selectorPrimaryFocus:g,selectorsFloatingMenus:h,size:b,launcherButtonRef:v,...A}=e;const w=_(),[x,k]=(0,y.useState)(!!u),[C,z]=(0,y.useState)(!!u),E=(0,y.useRef)(null),M=(0,y.useRef)(null),N=(0,y.useRef)(null),S=(0,y.useRef)(null);function T(e){c&&!1===c(e)||k(!1)}(0,y.useEffect)((()=>{u!==C&&(k(!!u),z(!!u),ee(document.body,`${w}--body--with-modal-open`,!!u))}),[u,C,w]),(0,y.useEffect)((()=>()=>{ee(document.body,`${w}--body--with-modal-open`,!1)}),[]);const B=$()(`${w}--modal`,x&&"is-visible",l&&`${w}--modal--danger`,r),O=$()(`${w}--modal-container`,b&&`${w}--modal-container--${b}`,s&&`${w}--modal-container--full-width`,o);let I;const D=m().Children.toArray(i).map((e=>{switch(!0){case(0,Z.isElement)(e)&&e.type===m().createElement(Y).type:{const n=e;return I=n.props.label,m().cloneElement(n,{closeModal:T})}case(0,Z.isElement)(e)&&e.type===m().createElement(Q).type:{const n=e;return m().cloneElement(n,{closeModal:T,inputref:M})}default:return e}}));return(0,y.useEffect)((()=>{!u&&v&&setTimeout((()=>{v?.current?.focus()}))}),[u,v]),(0,y.useEffect)((()=>{u&&x&&(e=>{const n=(e=>{const n=e||E.current;return(n?n.querySelector(g):null)||M&&M.current})(e);n&&n.focus()})(E.current)}),[u,g,x]),m().createElement("div",f({},A,{role:"presentation",ref:n,"aria-hidden":!u,onBlur:function(e){let{target:n,relatedTarget:t}=e;if(u&&t&&n&&E.current){const{current:e}=E,{current:a}=N,{current:i}=S;!function(e){let{bodyNode:n,startTrapNode:t,endTrapNode:a,currentActiveNode:i,oldActiveNode:r,selectorsFloatingMenus:o}=e;if(n&&i&&r&&!n.contains(i)&&!function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(e&&"function"==typeof e.closest)return[".cds--overflow-menu-options",".cds--tooltip",".flatpickr-calendar",...n].some((n=>e.closest(n)))}(i,o)){const e=r.compareDocumentPosition(i);if(i===t||e&ae){const e=te()(n.querySelectorAll(re),(e=>Boolean(e.offsetParent)));e?e.focus():n!==r&&n.focus()}else if(i===a||e&ie){const e=Array.prototype.find.call(n.querySelectorAll(re),(e=>Boolean(e.offsetParent)));e?e.focus():n!==r&&n.focus()}}}({bodyNode:e,startTrapNode:a,endTrapNode:i,currentActiveNode:t,oldActiveNode:n,selectorsFloatingMenus:h?.filter(Boolean)})}},onMouseDown:function(e){const n=E.current?.contains(e.target);n||d||T(e)},onKeyDown:function(e){L(e,R)&&T(e),p?.(e)},className:B}),m().createElement("div",{className:O,role:"dialog","aria-modal":"true","aria-label":a||I,"aria-labelledby":t},m().createElement("button",{type:"button",ref:N,className:`${w}--visually-hidden`},"Focus sentinel"),m().createElement("div",{ref:E,className:`${w}--modal-container-body`},D),m().createElement("button",{type:"button",ref:S,className:`${w}--visually-hidden`},"Focus sentinel")))}));se.propTypes={"aria-label":h().string,"aria-labelledby":h().string,children:h().node,className:h().string,containerClassName:h().string,danger:h().bool,isFullWidth:h().bool,launcherButtonRef:h().oneOfType([h().func,h().shape({current:h().any})]),onClose:h().func,onKeyDown:h().func,open:h().bool,preventCloseOnClickOutside:h().bool,selectorPrimaryFocus:h().string,selectorsFloatingMenus:h().arrayOf(h().string),size:h().oneOf(["xs","sm","md","lg"])},se.defaultProps={selectorPrimaryFocus:"[data-modal-primary-focus]"};var ce=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return e=>{n.forEach((n=>{"function"==typeof n?n(e):Object(n)===n&&(n.current=e)}))}};const pe=(0,y.createContext)(null);function ue(e){let{as:n,children:t,dir:a="auto",...i}=e;const r=(0,y.useContext)(pe),o={},l=n??"span",s={...r};if(r){const{direction:e,getTextDirection:n}=r;if(n&&n.current){const a=function(e){if("string"==typeof e)return e;const n=m().Children.map(e,(e=>"string"==typeof e?e:null))?.filter((e=>null!==e));return 1===n?.length?n[0]:n}(t),i=n.current(a);e!==i?(o.dir=i,s.direction=i):"auto"===e&&(o.dir=i)}else e!==a?(o.dir=a,s.direction=a):"auto"===e&&(o.dir=a)}else o.dir=a,s.direction=a;return m().createElement(pe.Provider,{value:s},m().createElement(l,f({},i,o),t))}ue.propTypes={as:h().oneOfType([h().func,h().string,h().elementType]),children:h().node.isRequired,dir:h().oneOf(["ltr","rtl","auto"])};const de=m().forwardRef(((e,n)=>{const{className:t,disabled:a,hideLabel:i,id:r,labelPosition:o="right",labelText:l="",name:s,onChange:c=(()=>{}),value:p="",...u}=e,d=_(),g=D("radio-button"),h=r||g,b=$()(`${d}--radio-button__label-text`,{[`${d}--visually-hidden`]:i}),v=$()(t,`${d}--radio-button-wrapper`,{[`${d}--radio-button-wrapper--label-${o}`]:"right"!==o}),A=(0,y.useRef)(null);return m().createElement("div",{className:v},m().createElement("input",f({},u,{type:"radio",className:`${d}--radio-button`,onChange:function(e){c(p,s,e)},id:h,ref:ce(A,n),disabled:a,value:p,name:s})),m().createElement("label",{htmlFor:h,className:`${d}--radio-button__label`},m().createElement("span",{className:`${d}--radio-button__appearance`}),l&&m().createElement(ue,{className:b},l)))}));function fe(e,n){return function(n){return m().createElement(ue,f({as:e},n))}}de.displayName="RadioButton",de.propTypes={checked:h().bool,className:h().string,defaultChecked:h().bool,disabled:h().bool,hideLabel:h().bool,id:h().string,labelPosition:h().oneOf(["right","left"]),labelText:h().node.isRequired,name:h().string,onChange:h().func,onClick:h().func,value:h().oneOfType([h().string,h().number])},fe("label");const ge=fe("legend");var he,ye,me,be,$e,ve,Ae,we,_e,xe,ke,Ce=t(6248);const ze=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},he||(he=m().createElement("path",{fill:"none",d:"M16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Zm-1.125-5h2.25V12h-2.25Z","data-icon-path":"inner-path"})),ye||(ye=m().createElement("path",{d:"M16.002,6.1714h-.004L4.6487,27.9966,4.6506,28H27.3494l.0019-.0034ZM14.875,12h2.25v9h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z"})),me||(me=m().createElement("path",{d:"M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z"})),t)})),Ee=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return 16===a||"16"===a||"16px"===a?m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...i},be||(be=m().createElement("path",{d:"M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2 c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z"})),$e||($e=m().createElement("path",{d:"M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8 c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z","data-icon-path":"inner-path",opacity:"0"})),t):20===a||"20"===a||"20px"===a?m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...i},ve||(ve=m().createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1 s1,0.4,1,1S10.6,16,10,16z"})),Ae||(Ae=m().createElement("path",{d:"M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1s1,0.4,1,1S10.6,16,10,16z","data-icon-path":"inner-path",opacity:"0"})),t):24===a||"24"===a||"24px"===a?m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...i},we||(we=m().createElement("path",{d:"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11C23,5.9,18.1,1,12,1z M11.1,6h1.8v8h-1.8V6z M12,19.2 c-0.7,0-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2s1.2,0.6,1.2,1.2S12.7,19.2,12,19.2z"})),_e||(_e=m().createElement("path",{fill:"none",d:"M13.2,18c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2S13.2,17.3,13.2,18z M12.9,6 h-1.8v8h1.8V6z","data-icon-path":"inner-path",opacity:"0"})),t):m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},xe||(xe=m().createElement("path",{d:"M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14C30,8.3,23.7,2,16,2z M14.9,8h2.2v11h-2.2V8z M16,25 c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22c0.8,0,1.5,0.7,1.5,1.5S16.8,25,16,25z"})),ke||(ke=m().createElement("path",{fill:"none",d:"M17.5,23.5c0,0.8-0.7,1.5-1.5,1.5c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22 C16.8,22,17.5,22.7,17.5,23.5z M17.1,8h-2.2v11h2.2V8z","data-icon-path":"inner-path",opacity:"0"})),t)})),Me=N(),Ne=m().forwardRef(((e,n)=>{const{children:t,className:a,defaultSelected:i,disabled:r,helperText:o,invalid:l=!1,invalidText:s,labelPosition:c="right",legendText:p,name:u,onChange:d=(()=>{}),orientation:g="horizontal",readOnly:h,valueSelected:b,warn:v=!1,warnText:A,...w}=e,x=_(),[k,C]=(0,y.useState)(b??i),[z,E]=(0,y.useState)(b),{current:M}=(0,y.useRef)(Me());function N(e,n,t){h||e!==k&&(C(e),d(e,u,t))}b!==z&&(C(b),E(b));const S=!h&&!l&&v,T=!l&&!r&&!v,B=$()(`${x}--form-item`,a),O=$()(`${x}--radio-button-group`,{[`${x}--radio-button-group--${g}`]:"vertical"===g,[`${x}--radio-button-group--label-${c}`]:c,[`${x}--radio-button-group--readonly`]:h,[`${x}--radio-button-group--invalid`]:!h&&l,[`${x}--radio-button-group--warning`]:S}),I=$()(`${x}--form__helper-text`,{[`${x}--form__helper-text--disabled`]:r}),D=o?`radio-button-group-helper-text-${M}`:void 0,P=o?m().createElement("div",{id:D,className:I},o):null,L=(0,y.useRef)(null);return m().createElement("div",{className:B,ref:ce(L,n)},m().createElement("fieldset",f({className:O,disabled:r,"data-invalid":!!l||void 0,"aria-describedby":T&&o?D:void 0},w),p&&m().createElement(ge,{className:`${x}--label`},p),m().Children.map(t,(e=>{const{value:n}=e?.props??void 0,t={name:u,key:n,value:n,onChange:N,checked:n===k};if(!k&&e?.props.checked&&(t.checked=!0),e)return m().cloneElement(e,t)}))),m().createElement("div",{className:`${x}--radio-button__validation-msg`},!h&&l&&m().createElement(m().Fragment,null,m().createElement(Ee,{className:`${x}--radio-button__invalid-icon`}),m().createElement("div",{className:`${x}--form-requirement`},s)),S&&m().createElement(m().Fragment,null,m().createElement(ze,{className:`${x}--radio-button__invalid-icon ${x}--radio-button__invalid-icon--warning`}),m().createElement("div",{className:`${x}--form-requirement`},A))),T&&P)}));Ne.propTypes={children:h().node,className:h().string,defaultSelected:h().oneOfType([h().string,h().number]),disabled:h().bool,helperText:h().node,invalid:h().bool,invalidText:h().node,labelPosition:h().oneOf(["left","right"]),legendText:h().node,name:h().string.isRequired,onChange:h().func,orientation:h().oneOf(["horizontal","vertical"]),readOnly:h().bool,valueSelected:h().oneOfType([h().string,h().number]),warn:h().bool,warnText:h().node},Ne.displayName="RadioButtonGroup";const Se=function(e){const n=Object.keys(e),t=e=>function(n,t,a){for(var i=arguments.length,r=new Array(i>3?i-3:0),o=3;o<i;o++)r[o-3]=arguments[o];return e(n,t,a,...r)};return n.reduce(((n,a)=>({...n,[a]:t(e[a])})),{})}({"aria-label":h().string,"aria-labelledby":h().string}),Te=e=>{let{className:n,children:t,...a}=e;const i=_(),r=$()(`${i}--header`,n);return m().createElement("header",f({},a,{className:r}),t)};Te.propTypes={...Se,className:h().string};var Be=Te;function Oe(e){let{render:n,isSideNavExpanded:t=!1}=e;const[a,i]=(0,y.useState)(t);x("keydown",(e=>{L(e,R)&&i(!1)}));const r=(0,y.useCallback)((()=>{i((e=>!e))}),[i]);return m().createElement(n,{isSideNavExpanded:a,onClickSideNavExpand:r})}Oe.propTypes={isSideNavExpanded:h().bool,render:h().elementType.isRequired};const Ie=m().forwardRef((function(e,n){let{"aria-label":t,"aria-labelledby":a,children:i,className:r,onClick:o,isActive:l,tooltipAlignment:s,...c}=e;const p=_(),u=$()({[r]:!!r,[`${p}--header__action`]:!0,[`${p}--header__action--active`]:l}),d={"aria-label":t,"aria-labelledby":a};return m().createElement(G,f({},c,d,{className:u,onClick:o,type:"button",hasIconOnly:!0,iconDescription:t,tooltipPosition:"bottom",tooltipAlignment:s,ref:n}),i)}));Ie.propTypes={...Se,children:h().node.isRequired,className:h().string,isActive:h().bool,onClick:h().func,tooltipAlignment:h().oneOf(["start","center","end"])},Ie.displayName="HeaderGlobalAction";var De,Pe,Le,He,Re=Ie,je=(e=>{let{name:n,className:t,type:a}=e;function i(e){let{className:n,...i}=e;const r=_(),o=$()("function"==typeof t?t(r):t,n);return m().createElement(a,{...i,className:o||void 0})}return i.displayName=n,i.propTypes={className:h().string},i})({name:"HeaderGlobalBar",className:e=>`${e}--header__global`,type:"div"});const Fe=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return 16===a||"16"===a||"16px"===a?m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...i},De||(De=m().createElement("path",{d:"M2 12H14V13H2zM2 9H14V10H2zM2 6H14V7H2zM2 3H14V4H2z"})),t):20===a||"20"===a||"20px"===a?m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...i},Pe||(Pe=m().createElement("path",{d:"M2 14.8H18V16H2zM2 11.2H18V12.399999999999999H2zM2 7.6H18V8.799999999999999H2zM2 4H18V5.2H2z"})),t):24===a||"24"===a||"24px"===a?m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...i},Le||(Le=m().createElement("path",{d:"M3 18H21V19.5H3zM3 13.5H21V15H3zM3 9H21V10.5H3zM3 4.5H21V6H3z"})),t):m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},He||(He=m().createElement("path",{d:"M4 6H28V8H4zM4 24H28V26H4zM4 12H28V14H4zM4 18H28V20H4z"})),t)}));var qe,Ve;function Ue(e){let{"aria-label":n,"aria-labelledby":t,className:a,renderMenuIcon:i,renderCloseIcon:r,isActive:o,isCollapsible:l,...s}=e;const c=_(),p=$()({..."string"==typeof a&&{[a]:!!a},[`${c}--header__action`]:!0,[`${c}--header__menu-trigger`]:!0,[`${c}--header__action--active`]:o,[`${c}--header__menu-toggle`]:!0,[`${c}--header__menu-toggle__hidden`]:!l}),u=i||qe||(qe=m().createElement(Fe,{size:20})),d=r||Ve||(Ve=m().createElement(W.x8,{size:20}));return m().createElement("button",f({},s,{"aria-label":n,"aria-labelledby":t,className:p,title:n,type:"button"}),o?d:u)}Ue.propTypes={...Se,className:h().string,isActive:h().bool,isCollapsible:h().bool,onClick:h().func};const Ge=()=>{},Ze=m().forwardRef((function(e,n){let{children:t,className:a,expanded:i,addFocusListeners:r=!0,onHeaderPanelFocus:o=Ge,href:l,...s}=e;const c=_(),p=(0,y.useRef)(null),u=A([p,n]),d=(0,y.useRef)(void 0!==i).current,[g,h]=(0,y.useState)(i),b=d?i:g,[v,w]=(0,y.useState)(null),k=$()(`${c}--header-panel`,{[`${c}--header-panel--expanded`]:b,[a]:!!a}),C={};return r&&(C.onBlur=e=>{e.currentTarget.contains(e.relatedTarget)||v?.classList?.contains("cds--switcher__item-link")||(h(!1),w(null),i&&o())},C.onKeyDown=e=>{L(e,R)&&(h(!1),o(),l&&(window.location.href=l))}),x("click",(()=>{const e=document.activeElement;w(e),"Switcher"!==t.type?.displayName||e?.closest(`.${c}--header-panel--expanded`)||e?.closest(`.${c}--header__action`)||u?.current?.classList.contains(`${c}--switcher`)||!i||(h(!1),o())})),m().createElement("div",f({},s,{className:k,ref:u},C),t)}));Ze.propTypes={addFocusListeners:h().bool,children:h().node,className:h().string,expanded:h().bool,href:h().string,onHeaderPanelFocus:h().func},Ze.displayName="HeaderPanel";var We=Ze;const Ye=m().forwardRef((function(e,n){const t=(0,y.useRef)(null),a=A([t,n]),i=_(),{"aria-label":r,"aria-labelledby":o,className:l,children:s,expanded:c}=e,p={"aria-label":r,"aria-labelledby":o},u=$()(`${i}--switcher`,{[l]:!!l}),d=e=>{let{currentIndex:n,direction:a}=e;const i=m().Children.toArray(s).reduce(((e,n,t)=>(0!==Object.keys(n.props).length&&e.push(t),e)),[]),r=(()=>{const e=i.indexOf(n)+a;return void 0===i[e]?-1===a?i[i.length-1]:0:i[e]})(),o=t.current.children[r].children[0];o?.focus()},g=m().Children.toArray(s).map(((e,n)=>"SwitcherItem"===e.type?.displayName?m().cloneElement(e,{handleSwitcherItemFocus:d,index:n,key:n,expanded:c}):m().cloneElement(e,{index:n,key:n,expanded:c})));return m().createElement("ul",f({ref:a,className:u},p),g)}));Ye.displayName="Switcher",Ye.propTypes={...Se,children:h().node.isRequired,className:h().string,expanded:h().bool};var Je=Ye;const Ke={};function Qe(e,n){let{element:t,as:a,isSideNavExpanded:i,...r}=e;const o=a??t??"a";return m().createElement(o,f({ref:n},r))}const Xe=(0,y.forwardRef)(Qe),en={as:h().elementType,element:function(e,n){return function(n,t,a){if(void 0!==n[t]){Ke[a]&&Ke[a][t]||(Ke[a]={...Ke[a],[t]:!0});for(var i=arguments.length,r=new Array(i>3?i-3:0),o=3;o<i;o++)r[o-3]=arguments[o];return e(n,t,a,...r)}}}(h().elementType),isSideNavExpanded:h().bool};Xe.displayName="Link",Xe.propTypes=en;const nn=m().forwardRef((function(e,n){let{"aria-label":t,"aria-labelledby":a,className:i,children:r,isSelected:o,expanded:l,tabIndex:s=(l?0:-1),index:c,handleSwitcherItemFocus:p,onKeyDown:u=(()=>{}),...d}=e;const g=_(),h=$()(`${g}--switcher__item`,{[i]:!!i}),y={"aria-label":t,"aria-labelledby":a},b=$()(`${g}--switcher__item-link`,{[`${g}--switcher__item-link--selected`]:o});return m().createElement("li",{className:h},m().createElement(Xe,f({onKeyDown:e=>{!function(e){L(e,q)&&(e.preventDefault(),p?.({currentIndex:c,direction:1})),L(e,F)&&(e.preventDefault(),p?.({currentIndex:c,direction:-1}))}(e),u(e)}},d,{ref:n,className:b,tabIndex:s},y),r))}));nn.displayName="SwitcherItem",nn.propTypes={...Se,children:h().node.isRequired,className:h().string,handleSwitcherItemFocus:h().func,index:h().number,onKeyDown:h().func,tabIndex:h().number};var tn=nn;const an=e=>{let{className:n,...t}=e;const a=_(),i=$()(`${a}--switcher__item--divider`,{[n]:!!n});return m().createElement("hr",f({},t,{className:i}))};an.propTypes={className:h().string};var rn=an},6939:(e,n)=>{"use strict";var t=Symbol.for("react.element");Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen");Symbol.for("react.module.reference"),n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}},1729:(e,n,t)=>{"use strict";e.exports=t(6939)},841:(e,n)=>{var t;!function(){"use strict";var a={}.hasOwnProperty;function i(){for(var e=[],n=0;n<arguments.length;n++){var t=arguments[n];if(t){var r=typeof t;if("string"===r||"number"===r)e.push(t);else if(Array.isArray(t)){if(t.length){var o=i.apply(null,t);o&&e.push(o)}}else if("object"===r){if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]")){e.push(t.toString());continue}for(var l in t)a.call(t,l)&&t[l]&&e.push(l)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(t=function(){return i}.apply(n,[]))||(e.exports=t)}()},5761:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}:root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__change-language-link__productiveHeading01___jiuiO{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-primary-navigation__change-language-link__productiveHeading02___Ty3T3{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-primary-navigation__change-language-link__bodyLong01___DZ1OC{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-primary-navigation__change-language-link__bodyShort01___31u07{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-primary-navigation__change-language-link__headerPanel___oYfNK{height:max-content}.-esm-primary-navigation__change-language-link__primaryNavContainer___aglci{height:var(--omrs-topnav-height)}.-esm-primary-navigation__change-language-link__panelItemContainer___HYYBs a{display:flex;align-items:center;justify-content:space-between}.-esm-primary-navigation__change-language-link__panelItemContainer___HYYBs div{display:flex;align-items:center}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./src/components/change-language/change-language-link.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CAHF,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,4EC+1BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD31BJ,4EC21BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CDv1BJ,mECu1BI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CDn1BJ,oECm1BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CD/0BJ,oEACE,kBAAA,CAGF,4EACE,gCAAA,CErBF,6EACE,YAAA,CACA,kBAAA,CACA,6BAAA,CAGF,+EACE,YAAA,CACA,kBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/styles/scss/type';\n@import '~@openmrs/esm-styleguide/src/vars';\n\n.productiveHeading01 {\n @include type.type-style('heading-compact-01');\n}\n\n.productiveHeading02 {\n @include type.type-style('heading-compact-02');\n}\n\n.bodyLong01 {\n @include type.type-style('body-01');\n}\n\n.bodyShort01 {\n @include type.type-style('body-compact-01');\n}\n\n.headerPanel {\n height: max-content;\n}\n\n.primaryNavContainer {\n height: var(--omrs-topnav-height);\n}\n","//\n// Copyright IBM Corp. 2018, 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","@import '~@openmrs/esm-styleguide/src/vars';\n@import '../../root.scss';\n\n.panelItemContainer a {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.panelItemContainer div {\n display: flex;\n align-items: center;\n}\n"],sourceRoot:""}]),o.locals={productiveHeading01:"-esm-primary-navigation__change-language-link__productiveHeading01___jiuiO",productiveHeading02:"-esm-primary-navigation__change-language-link__productiveHeading02___Ty3T3",bodyLong01:"-esm-primary-navigation__change-language-link__bodyLong01___DZ1OC",bodyShort01:"-esm-primary-navigation__change-language-link__bodyShort01___31u07",headerPanel:"-esm-primary-navigation__change-language-link__headerPanel___oYfNK",primaryNavContainer:"-esm-primary-navigation__change-language-link__primaryNavContainer___aglci",panelItemContainer:"-esm-primary-navigation__change-language-link__panelItemContainer___HYYBs"};const l=o},2727:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,".-esm-primary-navigation__logo__logo___ohiCI{display:flex;align-items:center}","",{version:3,sources:["webpack://./src/components/logo/logo.scss"],names:[],mappings:"AAAA,6CACE,YAAA,CACA,kBAAA",sourcesContent:[".logo {\n display: flex;\n align-items: center;\n}\n"],sourceRoot:""}]),o.locals={logo:"-esm-primary-navigation__logo__logo___ohiCI"};const l=o},8815:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__app-menu-panel__productiveHeading01___tBqf1,.-esm-primary-navigation__app-menu-panel__menuLink___a9Ems a{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-primary-navigation__app-menu-panel__productiveHeading02___dJ0\\+Z{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-primary-navigation__app-menu-panel__bodyLong01___BmbrX{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-primary-navigation__app-menu-panel__bodyShort01___uxcw5{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-primary-navigation__app-menu-panel__headerPanel___MYCrp{height:max-content}.-esm-primary-navigation__app-menu-panel__primaryNavContainer___NqUGq{height:var(--omrs-topnav-height)}.-esm-primary-navigation__app-menu-panel__menuLink___a9Ems a{display:flex;padding:1rem;height:3rem;width:100%;text-decoration:none;color:#fff;background-color:rgba(0,0,0,0)}.-esm-primary-navigation__app-menu-panel__menuLink___a9Ems a:hover{background-color:#005d5d;background-color:var(--brand-01)}.-esm-primary-navigation__app-menu-panel__externalLinks___nAD1P{border-top:1px solid;border-top-color:#007d79;border-top-color:var(--brand-03)}.-esm-primary-navigation__app-menu-panel__launchIcon___wn5Qn{margin-left:.5rem}.-esm-primary-navigation__app-menu-panel__headerPanel___MYCrp{width:fit-content}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./src/components/navbar-header-panels/app-menu-panel.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,mIC+1BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD31BJ,uEC21BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CDv1BJ,6DCu1BI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CDn1BJ,8DCm1BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CD/0BJ,8DACE,kBAAA,CAGF,sEACE,gCAAA,CErBF,6DACE,YAAA,CACA,YAAA,CACA,WAAA,CACA,UAAA,CACA,oBAAA,CACA,UHRM,CGSN,8BAAA,CAIF,mEHwBE,wBAAA,CACA,gCAAA,CGrBF,gEACE,oBAAA,CH6BA,wBAAA,CACA,gCAAA,CG1BF,6DACE,iBCHW,CDMb,8DACE,iBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/styles/scss/type';\n@import '~@openmrs/esm-styleguide/src/vars';\n\n.productiveHeading01 {\n @include type.type-style('heading-compact-01');\n}\n\n.productiveHeading02 {\n @include type.type-style('heading-compact-02');\n}\n\n.bodyLong01 {\n @include type.type-style('body-01');\n}\n\n.bodyShort01 {\n @include type.type-style('body-compact-01');\n}\n\n.headerPanel {\n height: max-content;\n}\n\n.primaryNavContainer {\n height: var(--omrs-topnav-height);\n}\n","//\n// Copyright IBM Corp. 2018, 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","@use '@carbon/styles/scss/spacing';\n@import '../../root.scss';\n\n.menuLink a {\n display: flex;\n padding: 1rem;\n height: 3rem;\n width: 100%;\n text-decoration: none;\n color: $ui-02;\n background-color: transparent;\n @extend .productiveHeading01;\n}\n\n.menuLink a:hover {\n @include brand-01(background-color);\n}\n\n.externalLinks {\n border-top: 1px solid;\n @include brand-03(border-top-color);\n}\n\n.launchIcon {\n margin-left: spacing.$spacing-03;\n}\n\n.headerPanel {\n width: fit-content;\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:""}]),o.locals={productiveHeading01:"-esm-primary-navigation__app-menu-panel__productiveHeading01___tBqf1",menuLink:"-esm-primary-navigation__app-menu-panel__menuLink___a9Ems",productiveHeading02:"-esm-primary-navigation__app-menu-panel__productiveHeading02___dJ0+Z",bodyLong01:"-esm-primary-navigation__app-menu-panel__bodyLong01___BmbrX",bodyShort01:"-esm-primary-navigation__app-menu-panel__bodyShort01___uxcw5",headerPanel:"-esm-primary-navigation__app-menu-panel__headerPanel___MYCrp",primaryNavContainer:"-esm-primary-navigation__app-menu-panel__primaryNavContainer___NqUGq",externalLinks:"-esm-primary-navigation__app-menu-panel__externalLinks___nAD1P",launchIcon:"-esm-primary-navigation__app-menu-panel__launchIcon___wn5Qn"};const l=o},7726:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,"","",{version:3,sources:[],names:[],mappings:"",sourceRoot:""}]),o.locals={};const l=o},8078:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}:root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__user-menu-panel__productiveHeading01___Uy8r1{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-primary-navigation__user-menu-panel__productiveHeading02___fKR\\+G{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-primary-navigation__user-menu-panel__bodyLong01___oLvR5,.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item-link{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-primary-navigation__user-menu-panel__bodyShort01___\\+pvMU{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-primary-navigation__user-menu-panel__headerPanel___2HerO{height:max-content}.-esm-primary-navigation__user-menu-panel__primaryNavContainer___uYItf{height:var(--omrs-topnav-height)}.-esm-primary-navigation__user-menu-panel__headerPanel___2HerO{transition:none}.-esm-primary-navigation__user-menu-panel__fullWidth___-RAMU{width:100%}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH{padding-top:1rem;align-items:start}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item{height:3rem}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item:first-child{margin-top:0}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item-link{display:flex;align-items:center;color:#f4f4f4;padding:0;height:3rem}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item-link:hover:not(.-esm-primary-navigation__user-menu-panel__cds--switcher__item-link--selected___E2WII){color:#f4f4f4;background-color:#004144;background-color:var(--brand-02)}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item svg{margin:0rem .75rem;fill:#f4f4f4;flex-shrink:0}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item button{color:#78a9ff}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item button:hover{background-color:#007d79;background-color:var(--brand-03);color:#78a9ff}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./src/components/navbar-header-panels/user-menu-panel.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CAHF,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,uEC+1BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD31BJ,wEC21BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CDv1BJ,6JCu1BI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CDn1BJ,gECm1BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CD/0BJ,+DACE,kBAAA,CAGF,uEACE,gCAAA,CErBF,+DACE,eAAA,CAGF,6DACE,UAAA,CAGF,qEACE,gBAAA,CACA,iBAAA,CAGF,0FACE,WAAA,CAGF,sGACE,YAAA,CAGF,+FACE,YAAA,CACA,kBAAA,CACA,aHLS,CGMT,SAAA,CACA,WAAA,CAIF,gMACE,aHZS,CAqBT,wBAAA,CACA,gCAAA,CGNF,8FACE,kBAAA,CACA,YHlBS,CGmBT,aAAA,CAGF,iGACE,aH9Ba,CGiCf,uGAAA,wBAAA,CHCE,gCAAA,CGCA,aHnCa",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/styles/scss/type';\n@import '~@openmrs/esm-styleguide/src/vars';\n\n.productiveHeading01 {\n @include type.type-style('heading-compact-01');\n}\n\n.productiveHeading02 {\n @include type.type-style('heading-compact-02');\n}\n\n.bodyLong01 {\n @include type.type-style('body-01');\n}\n\n.bodyShort01 {\n @include type.type-style('body-compact-01');\n}\n\n.headerPanel {\n height: max-content;\n}\n\n.primaryNavContainer {\n height: var(--omrs-topnav-height);\n}\n","//\n// Copyright IBM Corp. 2018, 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","@import '~@openmrs/esm-styleguide/src/vars';\n@import '../../root.scss';\n\n.headerPanel {\n transition: none;\n}\n\n.fullWidth {\n width: 100%;\n}\n\n.userPanelSwitcher {\n padding-top: 1rem;\n align-items: start;\n}\n\n.userPanelSwitcher :global(.cds--switcher__item) {\n height: 3rem;\n}\n\n.userPanelSwitcher :global(.cds--switcher__item:first-child) {\n margin-top: 0;\n}\n\n.userPanelSwitcher :global(.cds--switcher__item-link) {\n display: flex;\n align-items: center;\n color: $field-01;\n padding: 0;\n height: 3rem;\n @extend .bodyLong01;\n}\n\n.userPanelSwitcher :global(.cds--switcher__item-link):hover:not(.cds--switcher__item-link--selected) {\n color: $field-01;\n @include brand-02(background-color);\n}\n\n.userPanelSwitcher :global(.cds--switcher__item) svg {\n margin: 0rem 0.75rem;\n fill: $field-01;\n flex-shrink: 0;\n}\n\n.userPanelSwitcher :global(.cds--switcher__item) button {\n color: $inverse-link;\n}\n\n.userPanelSwitcher :global(.cds--switcher__item) button:hover {\n @include brand-03(background-color);\n color: $inverse-link;\n}\n"],sourceRoot:""}]),o.locals={productiveHeading01:"-esm-primary-navigation__user-menu-panel__productiveHeading01___Uy8r1",productiveHeading02:"-esm-primary-navigation__user-menu-panel__productiveHeading02___fKR+G",bodyLong01:"-esm-primary-navigation__user-menu-panel__bodyLong01___oLvR5",userPanelSwitcher:"-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH",bodyShort01:"-esm-primary-navigation__user-menu-panel__bodyShort01___+pvMU",headerPanel:"-esm-primary-navigation__user-menu-panel__headerPanel___2HerO",primaryNavContainer:"-esm-primary-navigation__user-menu-panel__primaryNavContainer___uYItf",fullWidth:"-esm-primary-navigation__user-menu-panel__fullWidth___-RAMU","cds--switcher__item-link--selected":"-esm-primary-navigation__user-menu-panel__cds--switcher__item-link--selected___E2WII"};const l=o},3205:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__navbar__topNavActionsSlot___uRmEM{display:flex;align-items:center}.-esm-primary-navigation__navbar__topNavActionsSlot___uRmEM a{color:#fff;text-decoration:none;margin:0 .75rem}.-esm-primary-navigation__navbar__headerGlobalBarButton___a1LgV{background-color:#004144;background-color:var(--brand-02)}.-esm-primary-navigation__navbar__topNavHeader___HyHf4{top:var(--omrs-offline-banner-height)}.-esm-primary-navigation__navbar__activePanel___QUwvm{background-color:#005d5d;background-color:var(--brand-01)}.-esm-primary-navigation__navbar__headerMenuButton___k6m5W{height:3rem;width:3rem;padding:.75rem;margin-right:.25rem}.-esm-primary-navigation__navbar__spacedLogo___P2WIw{margin-left:1rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/components/navbar/navbar.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,4DACE,YAAA,CACA,kBAAA,CAGF,8DACE,UAAA,CACA,oBAAA,CACA,eAAA,CAGF,gED6BE,wBAAA,CACA,gCAAA,CC1BF,uDACE,qCAAA,CAGF,sDDgBE,wBAAA,CACA,gCAAA,CCbF,2DACE,WCwBW,CDvBX,UCuBW,CDtBX,cCHW,CDIX,mBCdW,CDiBb,qDACE,gBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/styles/scss/spacing';\n@import '~@openmrs/esm-styleguide/src/vars';\n\n.topNavActionsSlot {\n display: flex;\n align-items: center;\n}\n\n.topNavActionsSlot a {\n color: white;\n text-decoration: none;\n margin: 0 0.75rem;\n}\n\n.headerGlobalBarButton {\n @include brand-02(background-color);\n}\n\n.topNavHeader {\n top: var(--omrs-offline-banner-height);\n}\n\n.activePanel {\n @include brand-01(background-color);\n}\n\n.headerMenuButton {\n height: spacing.$spacing-09;\n width: spacing.$spacing-09;\n padding: spacing.$spacing-04;\n margin-right: spacing.$spacing-02;\n}\n\n.spacedLogo {\n margin-left: 1rem;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 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:""}]),o.locals={topNavActionsSlot:"-esm-primary-navigation__navbar__topNavActionsSlot___uRmEM",headerGlobalBarButton:"-esm-primary-navigation__navbar__headerGlobalBarButton___a1LgV",topNavHeader:"-esm-primary-navigation__navbar__topNavHeader___HyHf4",activePanel:"-esm-primary-navigation__navbar__activePanel___QUwvm",headerMenuButton:"-esm-primary-navigation__navbar__headerMenuButton___k6m5W",spacedLogo:"-esm-primary-navigation__navbar__spacedLogo___P2WIw"};const l=o},6654:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__offline-banner__offlineBanner___YHODP{position:fixed;top:0;left:0;right:0;height:var(--omrs-offline-banner-height);background-color:#022b30;color:#fff;font-size:.875rem;display:flex;align-items:center;z-index:3}.-esm-primary-navigation__offline-banner__offlineIconContainer___Ed5PI{width:3rem;display:flex;justify-content:center}.-esm-primary-navigation__offline-banner__offlineNote___MlRaI{font-weight:bold}.-esm-primary-navigation__offline-banner__offlineLastUpdatedContainer___sVRB6{flex:auto;display:flex;justify-content:flex-end;align-items:flex-end;padding-right:1rem}.-esm-primary-navigation__offline-banner__lastUpdatedNote___3VK6L{color:#c6c6c6;font-size:.75rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/components/offline-banner/offline-banner.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCrDF,gEACE,cAAA,CACA,KAAA,CACA,MAAA,CACA,OAAA,CACA,wCAAA,CACA,wBAAA,CACA,UAAA,CACA,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,SAAA,CAGF,uEACE,UAAA,CACA,YAAA,CACA,sBAAA,CAGF,8DACE,gBAAA,CAGF,8EACE,SAAA,CACA,YAAA,CACA,wBAAA,CACA,oBAAA,CACA,kBAAA,CAGF,kEACE,aD3Bc,CC4Bd,gBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@import '~@openmrs/esm-styleguide/src/vars';\n\n.offlineBanner {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n height: var(--omrs-offline-banner-height);\n background-color: #022b30;\n color: white;\n font-size: 0.875rem;\n display: flex;\n align-items: center;\n z-index: 3;\n}\n\n.offlineIconContainer {\n width: 3rem;\n display: flex;\n justify-content: center;\n}\n\n.offlineNote {\n font-weight: bold;\n}\n\n.offlineLastUpdatedContainer {\n flex: auto;\n display: flex;\n justify-content: flex-end;\n align-items: flex-end;\n padding-right: 1rem;\n}\n\n.lastUpdatedNote {\n color: $color-gray-30;\n font-size: 0.75rem;\n}\n"],sourceRoot:""}]),o.locals={offlineBanner:"-esm-primary-navigation__offline-banner__offlineBanner___YHODP",offlineIconContainer:"-esm-primary-navigation__offline-banner__offlineIconContainer___Ed5PI",offlineNote:"-esm-primary-navigation__offline-banner__offlineNote___MlRaI",offlineLastUpdatedContainer:"-esm-primary-navigation__offline-banner__offlineLastUpdatedContainer___sVRB6",lastUpdatedNote:"-esm-primary-navigation__offline-banner__lastUpdatedNote___3VK6L"};const l=o},5547:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__root__productiveHeading01___tScBJ{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-primary-navigation__root__productiveHeading02___2lV0H{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-primary-navigation__root__bodyLong01___vRBQA{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-primary-navigation__root__bodyShort01___my9xZ{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-primary-navigation__root__headerPanel___c17aL{height:max-content}.-esm-primary-navigation__root__primaryNavContainer___TLM40{height:var(--omrs-topnav-height)}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,4DC+1BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD31BJ,4DC21BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CDv1BJ,mDCu1BI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CDn1BJ,oDCm1BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CD/0BJ,oDACE,kBAAA,CAGF,4DACE,gCAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/styles/scss/type';\n@import '~@openmrs/esm-styleguide/src/vars';\n\n.productiveHeading01 {\n @include type.type-style('heading-compact-01');\n}\n\n.productiveHeading02 {\n @include type.type-style('heading-compact-02');\n}\n\n.bodyLong01 {\n @include type.type-style('body-01');\n}\n\n.bodyShort01 {\n @include type.type-style('body-compact-01');\n}\n\n.headerPanel {\n height: max-content;\n}\n\n.primaryNavContainer {\n height: var(--omrs-topnav-height);\n}\n","//\n// Copyright IBM Corp. 2018, 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:""}]),o.locals={productiveHeading01:"-esm-primary-navigation__root__productiveHeading01___tScBJ",productiveHeading02:"-esm-primary-navigation__root__productiveHeading02___2lV0H",bodyLong01:"-esm-primary-navigation__root__bodyLong01___vRBQA",bodyShort01:"-esm-primary-navigation__root__bodyShort01___my9xZ",headerPanel:"-esm-primary-navigation__root__headerPanel___c17aL",primaryNavContainer:"-esm-primary-navigation__root__primaryNavContainer___TLM40"};const l=o},361:e=>{"use strict";e.exports=function(e){var n=[];return n.toString=function(){return this.map((function(n){var t=e(n);return n[2]?"@media ".concat(n[2]," {").concat(t,"}"):t})).join("")},n.i=function(e,t,a){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(a)for(var r=0;r<this.length;r++){var o=this[r][0];null!=o&&(i[o]=!0)}for(var l=0;l<e.length;l++){var s=[].concat(e[l]);a&&i[s[0]]||(t&&(s[2]?s[2]="".concat(t," and ").concat(s[2]):s[2]=t),n.push(s))}},n}},9233:e=>{"use strict";function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}e.exports=function(e){var t,a,i=(a=4,function(e){if(Array.isArray(e))return e}(t=e)||function(e,n){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(t,a)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=i[1],o=i[3];if(!o)return r;if("function"==typeof btoa){var l=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),c="/*# ".concat(s," */"),p=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(p).concat([c]).join("\n")}return[r].join("\n")}},881:(e,n,t)=>{e=t.nmd(e);var a="__lodash_hash_undefined__",i=1,r=2,o=1/0,l=9007199254740991,s="[object Arguments]",c="[object Array]",p="[object Boolean]",u="[object Date]",d="[object Error]",f="[object Function]",g="[object GeneratorFunction]",h="[object Map]",y="[object Number]",m="[object Object]",b="[object Promise]",$="[object RegExp]",v="[object Set]",A="[object String]",w="[object Symbol]",_="[object WeakMap]",x="[object ArrayBuffer]",k="[object DataView]",C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,z=/^\w*$/,E=/^\./,M=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,N=/^\s+|\s+$/g,S=/\\(\\)?/g,T=/^[-+]0x[0-9a-f]+$/i,B=/^0b[01]+$/i,O=/^\[object .+?Constructor\]$/,I=/^0o[0-7]+$/i,D=/^(?:0|[1-9]\d*)$/,P={};P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P[s]=P[c]=P[x]=P[p]=P[k]=P[u]=P[d]=P[f]=P[h]=P[y]=P[m]=P[$]=P[v]=P[A]=P[_]=!1;var L=parseInt,H="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g,R="object"==typeof self&&self&&self.Object===Object&&self,j=H||R||Function("return this")(),F=n&&!n.nodeType&&n,q=F&&e&&!e.nodeType&&e,V=q&&q.exports===F&&H.process,U=function(){try{return V&&V.binding("util")}catch(e){}}(),G=U&&U.isTypedArray;function Z(e,n){for(var t=-1,a=e?e.length:0;++t<a;)if(n(e[t],t,e))return!0;return!1}function W(e){var n=!1;if(null!=e&&"function"!=typeof e.toString)try{n=!!(e+"")}catch(e){}return n}function Y(e){var n=-1,t=Array(e.size);return e.forEach((function(e,a){t[++n]=[a,e]})),t}function J(e){var n=-1,t=Array(e.size);return e.forEach((function(e){t[++n]=e})),t}var K,Q,X,ee=Array.prototype,ne=Function.prototype,te=Object.prototype,ae=j["__core-js_shared__"],ie=(K=/[^.]+$/.exec(ae&&ae.keys&&ae.keys.IE_PROTO||""))?"Symbol(src)_1."+K:"",re=ne.toString,oe=te.hasOwnProperty,le=te.toString,se=RegExp("^"+re.call(oe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ce=j.Symbol,pe=j.Uint8Array,ue=te.propertyIsEnumerable,de=ee.splice,fe=(Q=Object.keys,X=Object,function(e){return Q(X(e))}),ge=Math.max,he=Math.min,ye=qe(j,"DataView"),me=qe(j,"Map"),be=qe(j,"Promise"),$e=qe(j,"Set"),ve=qe(j,"WeakMap"),Ae=qe(Object,"create"),we=Ke(ye),_e=Ke(me),xe=Ke(be),ke=Ke($e),Ce=Ke(ve),ze=ce?ce.prototype:void 0,Ee=ze?ze.valueOf:void 0,Me=ze?ze.toString:void 0;function Ne(e){var n=-1,t=e?e.length:0;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}function Se(e){var n=-1,t=e?e.length:0;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}function Te(e){var n=-1,t=e?e.length:0;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}function Be(e){var n=-1,t=e?e.length:0;for(this.__data__=new Te;++n<t;)this.add(e[n])}function Oe(e){this.__data__=new Se(e)}function Ie(e,n){for(var t=e.length;t--;)if(nn(e[t][0],n))return t;return-1}function De(e,n){for(var t=0,a=(n=Ge(n,e)?[n]:Re(n)).length;null!=e&&t<a;)e=e[Je(n[t++])];return t&&t==a?e:void 0}function Pe(e,n){return null!=e&&n in Object(e)}function Le(e,n,t,a,o){return e===n||(null==e||null==n||!sn(e)&&!cn(n)?e!=e&&n!=n:function(e,n,t,a,o,l){var f=an(e),g=an(n),b=c,_=c;f||(b=(b=Ve(e))==s?m:b),g||(_=(_=Ve(n))==s?m:_);var C=b==m&&!W(e),z=_==m&&!W(n),E=b==_;if(E&&!C)return l||(l=new Oe),f||un(e)?je(e,n,t,a,o,l):function(e,n,t,a,o,l,s){switch(t){case k:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case x:return!(e.byteLength!=n.byteLength||!a(new pe(e),new pe(n)));case p:case u:case y:return nn(+e,+n);case d:return e.name==n.name&&e.message==n.message;case $:case A:return e==n+"";case h:var c=Y;case v:var f=l&r;if(c||(c=J),e.size!=n.size&&!f)return!1;var g=s.get(e);if(g)return g==n;l|=i,s.set(e,n);var m=je(c(e),c(n),a,o,l,s);return s.delete(e),m;case w:if(Ee)return Ee.call(e)==Ee.call(n)}return!1}(e,n,b,t,a,o,l);if(!(o&r)){var M=C&&oe.call(e,"__wrapped__"),N=z&&oe.call(n,"__wrapped__");if(M||N){var S=M?e.value():e,T=N?n.value():n;return l||(l=new Oe),t(S,T,a,o,l)}}return!!E&&(l||(l=new Oe),function(e,n,t,a,i,o){var l=i&r,s=dn(e),c=s.length;if(c!=dn(n).length&&!l)return!1;for(var p=c;p--;){var u=s[p];if(!(l?u in n:oe.call(n,u)))return!1}var d=o.get(e);if(d&&o.get(n))return d==n;var f=!0;o.set(e,n),o.set(n,e);for(var g=l;++p<c;){var h=e[u=s[p]],y=n[u];if(a)var m=l?a(y,h,u,n,e,o):a(h,y,u,e,n,o);if(!(void 0===m?h===y||t(h,y,a,i,o):m)){f=!1;break}g||(g="constructor"==u)}if(f&&!g){var b=e.constructor,$=n.constructor;b==$||!("constructor"in e)||!("constructor"in n)||"function"==typeof b&&b instanceof b&&"function"==typeof $&&$ instanceof $||(f=!1)}return o.delete(e),o.delete(n),f}(e,n,t,a,o,l))}(e,n,Le,t,a,o))}function He(e){return"function"==typeof e?e:null==e?fn:"object"==typeof e?an(e)?function(e,n){return Ge(e)&&Ze(n)?We(Je(e),n):function(t){var a=function(e,n,t){var a=null==e?void 0:De(e,n);return void 0===a?void 0:a}(t,e);return void 0===a&&a===n?function(e,n){return null!=e&&function(e,n,t){for(var a,i=-1,r=(n=Ge(n,e)?[n]:Re(n)).length;++i<r;){var o=Je(n[i]);if(!(a=null!=e&&t(e,o)))break;e=e[o]}return a||!!(r=e?e.length:0)&&ln(r)&&Ue(o,r)&&(an(e)||tn(e))}(e,n,Pe)}(t,e):Le(n,a,void 0,i|r)}}(e[0],e[1]):(t=function(e){for(var n=dn(e),t=n.length;t--;){var a=n[t],i=e[a];n[t]=[a,i,Ze(i)]}return n}(n=e),1==t.length&&t[0][2]?We(t[0][0],t[0][1]):function(e){return e===n||function(e,n,t,a){var o=t.length,l=o;if(null==e)return!l;for(e=Object(e);o--;){var s=t[o];if(s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<l;){var c=(s=t[o])[0],p=e[c],u=s[1];if(s[2]){if(void 0===p&&!(c in e))return!1}else{var d,f=new Oe;if(!(void 0===d?Le(u,p,a,i|r,f):d))return!1}}return!0}(e,0,t)}):Ge(a=e)?(o=Je(a),function(e){return null==e?void 0:e[o]}):function(e){return function(n){return De(n,e)}}(a);var n,t,a,o}function Re(e){return an(e)?e:Ye(e)}function je(e,n,t,a,o,l){var s=o&r,c=e.length,p=n.length;if(c!=p&&!(s&&p>c))return!1;var u=l.get(e);if(u&&l.get(n))return u==n;var d=-1,f=!0,g=o&i?new Be:void 0;for(l.set(e,n),l.set(n,e);++d<c;){var h=e[d],y=n[d];if(a)var m=s?a(y,h,d,n,e,l):a(h,y,d,e,n,l);if(void 0!==m){if(m)continue;f=!1;break}if(g){if(!Z(n,(function(e,n){if(!g.has(n)&&(h===e||t(h,e,a,o,l)))return g.add(n)}))){f=!1;break}}else if(h!==y&&!t(h,y,a,o,l)){f=!1;break}}return l.delete(e),l.delete(n),f}function Fe(e,n){var t,a,i=e.__data__;return("string"==(a=typeof(t=n))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==t:null===t)?i["string"==typeof n?"string":"hash"]:i.map}function qe(e,n){var t=function(e,n){return null==e?void 0:e[n]}(e,n);return function(e){return!(!sn(e)||function(e){return!!ie&&ie in e}(e))&&(on(e)||W(e)?se:O).test(Ke(e))}(t)?t:void 0}Ne.prototype.clear=function(){this.__data__=Ae?Ae(null):{}},Ne.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Ne.prototype.get=function(e){var n=this.__data__;if(Ae){var t=n[e];return t===a?void 0:t}return oe.call(n,e)?n[e]:void 0},Ne.prototype.has=function(e){var n=this.__data__;return Ae?void 0!==n[e]:oe.call(n,e)},Ne.prototype.set=function(e,n){return this.__data__[e]=Ae&&void 0===n?a:n,this},Se.prototype.clear=function(){this.__data__=[]},Se.prototype.delete=function(e){var n=this.__data__,t=Ie(n,e);return!(t<0||(t==n.length-1?n.pop():de.call(n,t,1),0))},Se.prototype.get=function(e){var n=this.__data__,t=Ie(n,e);return t<0?void 0:n[t][1]},Se.prototype.has=function(e){return Ie(this.__data__,e)>-1},Se.prototype.set=function(e,n){var t=this.__data__,a=Ie(t,e);return a<0?t.push([e,n]):t[a][1]=n,this},Te.prototype.clear=function(){this.__data__={hash:new Ne,map:new(me||Se),string:new Ne}},Te.prototype.delete=function(e){return Fe(this,e).delete(e)},Te.prototype.get=function(e){return Fe(this,e).get(e)},Te.prototype.has=function(e){return Fe(this,e).has(e)},Te.prototype.set=function(e,n){return Fe(this,e).set(e,n),this},Be.prototype.add=Be.prototype.push=function(e){return this.__data__.set(e,a),this},Be.prototype.has=function(e){return this.__data__.has(e)},Oe.prototype.clear=function(){this.__data__=new Se},Oe.prototype.delete=function(e){return this.__data__.delete(e)},Oe.prototype.get=function(e){return this.__data__.get(e)},Oe.prototype.has=function(e){return this.__data__.has(e)},Oe.prototype.set=function(e,n){var t=this.__data__;if(t instanceof Se){var a=t.__data__;if(!me||a.length<199)return a.push([e,n]),this;t=this.__data__=new Te(a)}return t.set(e,n),this};var Ve=function(e){return le.call(e)};function Ue(e,n){return!!(n=null==n?l:n)&&("number"==typeof e||D.test(e))&&e>-1&&e%1==0&&e<n}function Ge(e,n){if(an(e))return!1;var t=typeof e;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=e&&!pn(e))||z.test(e)||!C.test(e)||null!=n&&e in Object(n)}function Ze(e){return e==e&&!sn(e)}function We(e,n){return function(t){return null!=t&&t[e]===n&&(void 0!==n||e in Object(t))}}(ye&&Ve(new ye(new ArrayBuffer(1)))!=k||me&&Ve(new me)!=h||be&&Ve(be.resolve())!=b||$e&&Ve(new $e)!=v||ve&&Ve(new ve)!=_)&&(Ve=function(e){var n=le.call(e),t=n==m?e.constructor:void 0,a=t?Ke(t):void 0;if(a)switch(a){case we:return k;case _e:return h;case xe:return b;case ke:return v;case Ce:return _}return n});var Ye=en((function(e){var n;e=null==(n=e)?"":function(e){if("string"==typeof e)return e;if(pn(e))return Me?Me.call(e):"";var n=e+"";return"0"==n&&1/e==-o?"-0":n}(n);var t=[];return E.test(e)&&t.push(""),e.replace(M,(function(e,n,a,i){t.push(a?i.replace(S,"$1"):n||e)})),t}));function Je(e){if("string"==typeof e||pn(e))return e;var n=e+"";return"0"==n&&1/e==-o?"-0":n}function Ke(e){if(null!=e){try{return re.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Qe,Xe=(Qe=function(e,n,t){var a=e?e.length:0;if(!a)return-1;var i,r,l,s=a-1;return void 0!==t&&(r=(i=(l=t)?(l=function(e){if("number"==typeof e)return e;if(pn(e))return NaN;if(sn(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=sn(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(N,"");var t=B.test(e);return t||I.test(e)?L(e.slice(2),t?2:8):T.test(e)?NaN:+e}(l))===o||l===-o?17976931348623157e292*(l<0?-1:1):l==l?l:0:0===l?l:0)%1,s=i==i?r?i-r:i:0,s=t<0?ge(a+s,0):he(s,a-1)),function(e,n,t,a){e.length;for(var i=t+1;i--;)if(n(e[i],i,e))return i;return-1}(e,He(n),s)},function(e,n,t){var a=Object(e);if(!rn(e)){var i=He(n);e=dn(e),n=function(e){return i(a[e],e,a)}}var r=Qe(e,n,t);return r>-1?a[i?e[r]:r]:void 0});function en(e,n){if("function"!=typeof e||n&&"function"!=typeof n)throw new TypeError("Expected a function");var t=function(){var a=arguments,i=n?n.apply(this,a):a[0],r=t.cache;if(r.has(i))return r.get(i);var o=e.apply(this,a);return t.cache=r.set(i,o),o};return t.cache=new(en.Cache||Te),t}function nn(e,n){return e===n||e!=e&&n!=n}function tn(e){return function(e){return cn(e)&&rn(e)}(e)&&oe.call(e,"callee")&&(!ue.call(e,"callee")||le.call(e)==s)}en.Cache=Te;var an=Array.isArray;function rn(e){return null!=e&&ln(e.length)&&!on(e)}function on(e){var n=sn(e)?le.call(e):"";return n==f||n==g}function ln(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function sn(e){var n=typeof e;return!!e&&("object"==n||"function"==n)}function cn(e){return!!e&&"object"==typeof e}function pn(e){return"symbol"==typeof e||cn(e)&&le.call(e)==w}var un=G?function(e){return function(n){return e(n)}}(G):function(e){return cn(e)&&ln(e.length)&&!!P[le.call(e)]};function dn(e){return rn(e)?function(e,n){var t=an(e)||tn(e)?function(e,n){for(var t=-1,a=Array(e);++t<e;)a[t]=n(t);return a}(e.length,String):[],a=t.length,i=!!a;for(var r in e)!n&&!oe.call(e,r)||i&&("length"==r||Ue(r,a))||t.push(r);return t}(e):function(e){if(t=(n=e)&&n.constructor,n!==("function"==typeof t&&t.prototype||te))return fe(e);var n,t,a=[];for(var i in Object(e))oe.call(e,i)&&"constructor"!=i&&a.push(i);return a}(e)}function fn(e){return e}e.exports=Xe},459:(e,n,t)=>{"use strict";var a=t(5704);function i(){}function r(){}r.resetWarningCache=i,e.exports=function(){function e(e,n,t,i,r,o){if(o!==a){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:i};return t.PropTypes=t,t}},216:(e,n,t)=>{e.exports=t(459)()},5704:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},487:e=>{"use strict";var n=[];function t(e){for(var t=-1,a=0;a<n.length;a++)if(n[a].identifier===e){t=a;break}return t}function a(e,a){for(var r={},o=[],l=0;l<e.length;l++){var s=e[l],c=a.base?s[0]+a.base:s[0],p=r[c]||0,u="".concat(c," ").concat(p);r[c]=p+1;var d=t(u),f={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==d)n[d].references++,n[d].updater(f);else{var g=i(f,a);a.byIndex=l,n.splice(l,0,{identifier:u,updater:g,references:1})}o.push(u)}return o}function i(e,n){var t=n.domAPI(n);return t.update(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap&&n.supports===e.supports&&n.layer===e.layer)return;t.update(e=n)}else t.remove()}}e.exports=function(e,i){var r=a(e=e||[],i=i||{});return function(e){e=e||[];for(var o=0;o<r.length;o++){var l=t(r[o]);n[l].references--}for(var s=a(e,i),c=0;c<r.length;c++){var p=t(r[c]);0===n[p].references&&(n[p].updater(),n.splice(p,1))}r=s}}},2052:e=>{"use strict";var n={};e.exports=function(e,t){var a=function(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}},1469:e=>{"use strict";e.exports=function(e){var n=document.createElement("style");return e.setAttributes(n,e.attributes),e.insert(n,e.options),n}},4010:(e,n,t)=>{"use strict";e.exports=function(e){var n=t.nc;n&&e.setAttribute("nonce",n)}},631:e=>{"use strict";e.exports=function(e){var n=e.insertStyleElement(e);return{update:function(t){!function(e,n,t){var a="";t.supports&&(a+="@supports (".concat(t.supports,") {")),t.media&&(a+="@media ".concat(t.media," {"));var i=void 0!==t.layer;i&&(a+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),a+=t.css,i&&(a+="}"),t.media&&(a+="}"),t.supports&&(a+="}");var r=t.sourceMap;r&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),n.styleTagTransform(a,e,n.options)}(n,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)}}}},9329:e=>{"use strict";e.exports=function(e,n){if(n.styleSheet)n.styleSheet.cssText=e;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(e))}}},1742:(e,n,t)=>{"use strict";t.d(n,{A:()=>s,I:()=>p});var a=t(8478),i=t(1217);function r(e,n,t,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(a,i)}function o(e){return function(){var n=this,t=arguments;return new Promise((function(a,i){var o=e.apply(n,t);function l(e){r(o,a,i,l,s,"next",e)}function s(e){r(o,a,i,l,s,"throw",e)}l(void 0)}))}}function l(e,n){var t,a,i,r,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(r){return function(l){return function(r){if(t)throw new TypeError("Generator is already executing.");for(;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=n.call(e,o)}catch(e){r=[6,e],a=0}finally{t=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,l])}}}function s(e,n,t){return c.apply(this,arguments)}function c(){return(c=o((function(e,n,t){return l(this,(function(i){switch(i.label){case 0:return[4,(0,a.openmrsFetch)("/ws/rest/v1/user/".concat(e),{method:"POST",body:{userProperties:n},headers:{"Content-Type":"application/json"},signal:t.signal})];case 1:return i.sent(),window.location.reload(),[2]}}))}))).apply(this,arguments)}function p(e,n){return u.apply(this,arguments)}function u(){return(u=o((function(e,n){return l(this,(function(t){switch(t.label){case 0:return[4,(0,a.queueSynchronizationItemFor)(e,i.O,n,{displayName:"User Language Change"})];case 1:return t.sent(),[2]}}))}))).apply(this,arguments)}},1217:(e,n,t)=>{"use strict";t.d(n,{O:()=>a,e:()=>i});var a="user-property-change",i="@openmrs/esm-primary-navigation-app"},958:(e,n,t)=>{"use strict";var a=t(4610),i=(a.Type.String,a.validators.isUrl,a.Type.String,a.Type.String,a.Type.String,a.Type.Array,a.Type.String,a.Type.String,a.validators.isUrl,t(1217));t(8478),t(1742);var r=t(5776),o=t.n(r),l=t(1763),s=t(841),c=t.n(s),p=t(5864),u=t(9177),d=t(3575),f=t(7414),g=function(e){return"small-desktop"===e||"large-desktop"===e},h=t(2680),y=t(6390),m=t(487),b=t.n(m),$=t(631),v=t.n($),A=t(2052),w=t.n(A),_=t(4010),x=t.n(_),k=t(1469),C=t.n(k),z=t(9329),E=t.n(z),M=t(8815),N={};N.styleTagTransform=E(),N.setAttributes=x(),N.insert=w().bind(null,"head"),N.domAPI=v(),N.insertStyleElement=C(),b()(M.Z,N);const S=M.Z&&M.Z.locals?M.Z.locals:void 0,T=function(e){var n,t,i,r,l,s=e.expanded,u=e.hidePanel,d=(0,a.useOnClickOutside)(u,s),f=(0,a.useConfig)(),g=(0,h.useTranslation)().t;return o().createElement(p.yh,{ref:d,className:c()((i={},r=S.headerPanel,l=s,r in i?Object.defineProperty(i,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):i[r]=l,i)),"aria-label":"App Menu Panel",expanded:s,onClick:function(){return u()}},o().createElement(a.ExtensionSlot,{className:S.menuLink,name:"app-menu-slot"}),(null==f||null===(n=f.externalRefLinks)||void 0===n?void 0:n.length)>0&&o().createElement("div",{className:c()(S.menuLink,S.externalLinks)},null==f||null===(t=f.externalRefLinks)||void 0===t?void 0:t.map((function(e){return o().createElement("a",{target:"_blank",rel:"noopener noreferrer",href:null==e?void 0:e.redirect},g(null==e?void 0:e.title),o().createElement(y.GI,{size:16,className:S.launchIcon}))}))))};var B=t(2727),O={};O.styleTagTransform=E(),O.setAttributes=x(),O.insert=w().bind(null,"head"),O.domAPI=v(),O.insertStyleElement=C(),b()(B.Z,O);const I=B.Z&&B.Z.locals?B.Z.locals:void 0,D=function(){var e=(0,a.useConfig)().logo;return o().createElement(o().Fragment,null,(null==e?void 0:e.src)?o().createElement("img",{className:I.logo,src:(0,a.interpolateUrl)(e.src),alt:e.alt,width:110,height:40}):(null==e?void 0:e.name)?e.name:o().createElement("svg",{role:"img",width:110,height:40},o().createElement("use",{xlinkHref:"#omrs-logo-white"})))};var P=t(7726),L={};L.styleTagTransform=E(),L.setAttributes=x(),L.insert=w().bind(null,"head"),L.domAPI=v(),L.insertStyleElement=C(),b()(P.Z,L);const H=P.Z&&P.Z.locals?P.Z.locals:void 0,R=function(e){var n=e.expanded,t=(0,h.useTranslation)().t,i=(0,r.useMemo)((function(){return{expanded:n}}),[n]);return o().createElement(p.yh,{"aria-label":"Notifications Panel",expanded:n},o().createElement("h1",{className:H.heading},t("notifications","Notifications")),o().createElement(a.ExtensionSlot,{name:"notifications-nav-menu-slot",state:i}))};var j=t(6654),F={};F.styleTagTransform=E(),F.setAttributes=x(),F.insert=w().bind(null,"head"),F.domAPI=v(),F.insertStyleElement=C(),b()(j.Z,F);const q=j.Z&&j.Z.locals?j.Z.locals:void 0;function V(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}const U=function(){var e=function(){var e,n,t=(e=o().useState(new Date),n=2,function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(e,n)||function(e,n){if(e){if("string"==typeof e)return V(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?V(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=t[0],r=t[1];return o().useEffect((function(){var e=null;return(0,a.subscribeConnectivity)((function(n){var t,a,i=n.online;!i&&e&&function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;localStorage.setItem("offline-last-updated",e.toISOString())}(),e=i,t=localStorage.getItem("offline-last-updated"),a=t?new Date(t):new Date,r(a)}))}),[]),i}();return o().createElement("aside",{className:q.offlineBanner},o().createElement("div",{className:q.offlineIconContainer},o().createElement(u.iY,{size:16})),o().createElement("span",{className:q.offlineNote},"Offline"),o().createElement("div",{className:q.offlineLastUpdatedContainer},o().createElement("span",{className:q.lastUpdatedNote},"Last updated: "),o().createElement("span",null,function(e){var n=e.toLocaleDateString(void 0,{day:"numeric",month:"short",year:"numeric"}),t=e.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit"});return"".concat(n," @ ").concat(t)}(e))))};var G=t(8078),Z={};Z.styleTagTransform=E(),Z.setAttributes=x(),Z.insert=w().bind(null,"head"),Z.domAPI=v(),Z.insertStyleElement=C(),b()(G.Z,Z);const W=G.Z&&G.Z.locals?G.Z.locals:void 0,Y=function(e){var n=e.expanded,t=e.hidePanel,i=(0,a.useOnClickOutside)(t,n);return o().createElement(p.yh,{ref:i,className:W.headerPanel,expanded:n,"aria-label":"Location","aria-labelledby":"Location Icon"},o().createElement(p.T5f,{className:W.userPanelSwitcher,"aria-label":"Switcher Container"},o().createElement(a.ExtensionSlot,{className:W.fullWidth,name:"user-panel-slot"}),o().createElement(p.GQc,{className:W.divider}),o().createElement(a.ExtensionSlot,{className:W.fullWidth,name:"user-panel-bottom-slot"})))},J=function(e){var n=e.expanded,t=e.hidePanel,i=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e=function(e){(null==i?void 0:i.current)&&!i.current.contains(e.target)&&t()};return document.addEventListener("click",e),function(){return document.removeEventListener("click",e)}}),[i,t]),(0,r.useEffect)((function(){return window.addEventListener("popstate",t),window.addEventListener("popstate",t)}),[t]),n&&o().createElement(a.LeftNavMenu,{ref:i,isChildOfHeader:!0})};var K=t(3205),Q={};Q.styleTagTransform=E(),Q.setAttributes=x(),Q.insert=w().bind(null,"head"),Q.domAPI=v(),Q.insertStyleElement=C(),b()(K.Z,Q);const X=K.Z&&K.Z.locals?K.Z.locals:void 0;function ee(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function ne(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var te=function(){var e,n,t,i,l=(0,h.useTranslation)().t,s=(0,a.useConfig)(),y=(t=(0,r.useState)(null),i=2,function(e){if(Array.isArray(e))return e}(t)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(t,i)||function(e,n){if(e){if("string"==typeof e)return ee(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ee(e,n):void 0}}(t,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=y[0],b=y[1],$=(0,a.useLayoutType)(),v=(0,a.useConnectedExtensions)("patient-chart-dashboard-slot").map((function(e){return e.id})),A=(0,a.useConnectedExtensions)("app-menu-slot"),w=(0,a.useConnectedExtensions)("user-panel-slot"),_=(0,r.useCallback)((function(e){return m===e}),[m]),x=(0,r.useCallback)((function(e){return b((function(n){return n===e?null:e}))}),[]),k=(0,r.useCallback)((function(){b(null)}),[]),C=(0,r.useMemo)((function(){return!g($)&&v.length>0}),[v.length,$]),z=(0,r.useMemo)((function(){return A.length>0}),[A.length]),E=(0,r.useMemo)((function(){return w.length>0}),[w.length]);return o().createElement(o().Fragment,null,o().createElement(U,null),o().createElement(p.h4i,{"aria-label":"OpenMRS"},C&&o().createElement(p.wID,{"aria-label":"Open menu",isCollapsible:!0,className:X.headerMenuButton,onClick:function(e){x("sideMenu"),e.stopPropagation()},isActive:_("sideMenu")}),o().createElement(a.ConfigurableLink,{to:s.logo.link},o().createElement("div",{className:C?"":X.spacedLogo},o().createElement(D,null))),o().createElement(a.ExtensionSlot,{className:X.dividerOverride,name:"top-nav-info-slot"}),o().createElement(p.sLE,{className:X.headerGlobalBar},o().createElement(a.ExtensionSlot,{name:"top-nav-actions-slot",className:X.topNavActionsSlot}),o().createElement(a.ExtensionSlot,{name:"notifications-menu-button-slot",state:{isActivePanel:_,togglePanel:x}}),E&&o().createElement(p.JMr,{"aria-label":l("userMenuTooltip","User"),"aria-labelledby":"Users Avatar Icon",className:c()((e={},ne(e,X.headerGlobalBarButton,_("userMenu")),ne(e,X.activePanel,!_("userMenu")),e)),enterDelayMs:500,name:"User",isActive:_("userMenu"),onClick:function(e){x("userMenu"),e.stopPropagation()}},_("userMenu")?o().createElement(u.x8,{size:20}):o().createElement(d.Yo,{size:20})),z&&o().createElement(p.JMr,{"aria-label":"App Menu","aria-labelledby":"App Menu",className:c()((n={},ne(n,X.headerGlobalBarButton,_("appMenu")),ne(n,X.activePanel,!_("appMenu")),n)),enterDelayMs:500,isActive:_("appMenu"),tooltipAlignment:"end",onClick:function(e){x("appMenu"),e.stopPropagation()}},_("appMenu")?o().createElement(u.x8,{size:20}):o().createElement(f.SQ,{size:20}))),!g($)&&o().createElement(J,{hidePanel:k,expanded:_("sideMenu")}),z&&o().createElement(T,{expanded:_("appMenu"),hidePanel:k}),o().createElement(R,{expanded:_("notificationsMenu")}),E&&o().createElement(Y,{expanded:_("userMenu"),hidePanel:k})))};const ae=function(){var e,n=(0,a.useSession)(),t=window.getOpenmrsSpaBase();return(null==n||null===(e=n.user)||void 0===e?void 0:e.person)?n.sessionLocation?o().createElement(p.gMZ,{render:te}):o().createElement(l.Navigate,{to:"/login/location",state:{referrer:window.location.pathname.slice(window.location.pathname.indexOf(t)+t.length-1)}}):o().createElement(l.Navigate,{to:"/login",state:{referrer:window.location.pathname.slice(window.location.pathname.indexOf(t)+t.length-1)}})};var ie=t(5547),re={};re.styleTagTransform=E(),re.setAttributes=x(),re.insert=w().bind(null,"head"),re.domAPI=v(),re.insertStyleElement=C(),b()(ie.Z,re);const oe=ie.Z&&ie.Z.locals?ie.Z.locals:void 0;var le=t(5761),se={};se.styleTagTransform=E(),se.setAttributes=x(),se.insert=w().bind(null,"head"),se.domAPI=v(),se.insertStyleElement=C(),b()(le.Z,se);const ce=le.Z&&le.Z.locals?le.Z.locals:void 0;function pe(e,n,t,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(a,i)}function ue(e){return function(){var n=this,t=arguments;return new Promise((function(a,i){var r=e.apply(n,t);function o(e){pe(r,a,i,o,l,"next",e)}function l(e){pe(r,a,i,o,l,"throw",e)}o(void 0)}))}}function de(e,n){var t,a,i,r,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(r){return function(l){return function(r){if(t)throw new TypeError("Generator is already executing.");for(;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=n.call(e,o)}catch(e){r=[6,e],a=0}finally{t=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,l])}}}a.Type.String,a.Type.String,a.validators.isUrl,t(3979);var fe={featureName:"primary navigation",moduleName:i.e};(0,a.getSyncLifecycle)((function(){return o().createElement(l.BrowserRouter,{basename:window.getOpenmrsSpaBase()},o().createElement(l.Routes,null,o().createElement(l.Route,{path:"login/*",element:null}),o().createElement(l.Route,{path:"logout/*",element:null}),o().createElement(l.Route,{path:"*",element:o().createElement("div",{className:oe.primaryNavContainer},o().createElement(ae,null))})))}),fe),ue((function(){return de(this,(function(e){return[2,{bootstrap:ue((function(){return de(this,(function(e){return[2,(0,a.navigate)({to:"${openmrsSpaBase}/home"})]}))})),mount:ue((function(){return de(this,(function(e){return[2,void 0]}))})),unmount:ue((function(){return de(this,(function(e){return[2,void 0]}))}))}]}))})),(0,a.getSyncLifecycle)((function(){var e,n,t=(0,a.useSession)();return o().createElement(p.m0z,{"aria-label":"User"},o().createElement(d.Yo,{size:20}),o().createElement("p",null,null==t||null===(e=t.user)||void 0===e||null===(n=e.person)||void 0===n?void 0:n.display))}),fe),(0,a.getSyncLifecycle)((function(){var e=(0,h.useTranslation)().t,n=(0,a.useSession)(),t=(0,r.useCallback)((function(){(0,a.showModal)("change-language-modal")}),[]),i=new Intl.DisplayNames([null==n?void 0:n.locale],{type:"language"});return o().createElement(p.m0z,{className:ce.panelItemContainer,"aria-label":"Change language"},o().createElement("div",null,o().createElement(y.SQ,{size:20}),o().createElement("p",null,i.of(null==n?void 0:n.locale))),o().createElement(p.zxk,{kind:"ghost",onClick:t},e("change","Change")))}),fe),(0,a.getSyncLifecycle)(U,fe),(0,a.getSyncLifecycle)((function(){var e=(0,a.useConfig)();return o().createElement(a.ConfigurableLink,{to:e.target},e.title)}),{featureName:"Link",moduleName:i.e}),(0,a.getAsyncLifecycle)((function(){return t.e(762).then(t.bind(t,7762))}),fe)},3979:(e,n,t)=>{var a={"./am.json":[8788,625],"./ar.json":[4460,460],"./en.json":[3574,574],"./es.json":[8319,319],"./fr.json":[2757,757],"./he.json":[5833,833],"./km.json":[7807,807],"./zh.json":[8271,271]};function i(e){if(!t.o(a,e))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=a[e],i=n[0];return t.e(n[1]).then((()=>t(i)))}i.keys=()=>Object.keys(a),i.id=3979,e.exports=i}},a={};function i(e){var n=a[e];if(void 0!==n)return n.exports;var r=a[e]={id:e,loaded:!1,exports:{}};return t[e](r,r.exports,i),r.loaded=!0,r.exports}i.m=t,i.c=a,i.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return i.d(n,{a:n}),n},i.d=(e,n)=>{for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((n,t)=>(i.f[t](e,n),n)),[])),i.u=e=>e+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),e={},n="@openmrs/esm-primary-navigation-app:",i.l=(t,a,r,o)=>{if(e[t])e[t].push(a);else{var l,s;if(void 0!==r)for(var c=document.getElementsByTagName("script"),p=0;p<c.length;p++){var u=c[p];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==n+r){l=u;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.setAttribute("data-webpack",n+r),l.src=t),e[t]=[a];var d=(n,a)=>{l.onerror=l.onload=null,clearTimeout(f);var i=e[t];if(delete e[t],l.parentNode&&l.parentNode.removeChild(l),i&&i.forEach((e=>e(a))),n)return n(a)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),s&&document.head.appendChild(l)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{i.S={};var e={},n={};i.I=(t,a)=>{a||(a=[]);var r=n[t];if(r||(r=n[t]={}),!(a.indexOf(r)>=0)){if(a.push(r),e[t])return e[t];i.o(i.S,t)||(i.S[t]={});var o=i.S[t],l="@openmrs/esm-primary-navigation-app",s=(e,n,t,a)=>{var i=o[e]=o[e]||{},r=i[n];(!r||!r.loaded&&(!a!=!r.eager?a:l>r.from))&&(i[n]={get:t,from:l,eager:!!a})},c=[];return"default"===t&&(s("@openmrs/esm-framework/src/internal","5.3.3-pre.1421",(()=>Promise.all([i.e(776),i.e(889)]).then((()=>()=>i(4889))))),s("react-dom","18.2.0",(()=>Promise.all([i.e(788),i.e(776)]).then((()=>()=>i(2788))))),s("react-i18next","11.18.6",(()=>Promise.all([i.e(729),i.e(776)]).then((()=>()=>i(9729))))),s("react-router-dom","6.4.2",(()=>Promise.all([i.e(63),i.e(776)]).then((()=>()=>i(7063))))),s("react","18.2.0",(()=>i.e(735).then((()=>()=>i(2735)))))),e[t]=c.length?Promise.all(c).then((()=>e[t]=1)):1}}})(),(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var n=i.g.document;if(!e&&n&&(n.currentScript&&(e=n.currentScript.src),!e)){var t=n.getElementsByTagName("script");if(t.length)for(var a=t.length-1;a>-1&&!e;)e=t[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{var e=e=>{var n=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),a=t[1]?n(t[1]):[];return t[2]&&(a.length++,a.push.apply(a,n(t[2]))),t[3]&&(a.push([]),a.push.apply(a,n(t[3]))),a},n=e=>{var t=e[0],a="";if(1===e.length)return"*";if(t+.5){a+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var i=1,r=1;r<e.length;r++)i--,a+="u"==(typeof(l=e[r]))[0]?"-":(i>0?".":"")+(i=2,l);return a}var o=[];for(r=1;r<e.length;r++){var l=e[r];o.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?o.pop()+" "+o.pop():n(l))}return s();function s(){return o.pop().replace(/^\((.+)\)$/,"$1")}},t=(n,a)=>{if(0 in n){a=e(a);var i=n[0],r=i<0;r&&(i=-i-1);for(var o=0,l=1,s=!0;;l++,o++){var c,p,u=l<n.length?(typeof n[l])[0]:"";if(o>=a.length||"o"==(p=(typeof(c=a[o]))[0]))return!s||("u"==u?l>i&&!r:""==u!=r);if("u"==p){if(!s||"u"!=u)return!1}else if(s)if(u==p)if(l<=i){if(c!=n[l])return!1}else{if(r?c>n[l]:c<n[l])return!1;c!=n[l]&&(s=!1)}else if("s"!=u&&"n"!=u){if(r||l<=i)return!1;s=!1,l--}else{if(l<=i||p<u!=r)return!1;s=!1}else"s"!=u&&"n"!=u&&(s=!1,l--)}}var d=[],f=d.pop.bind(d);for(o=1;o<n.length;o++){var g=n[o];d.push(1==g?f()|f():2==g?f()&f():g?t(g,a):!f())}return!!f()},a=(n,t)=>{var a=n[t];return Object.keys(a).reduce(((n,t)=>!n||!a[n].loaded&&((n,t)=>{n=e(n),t=e(t);for(var a=0;;){if(a>=n.length)return a<t.length&&"u"!=(typeof t[a])[0];var i=n[a],r=(typeof i)[0];if(a>=t.length)return"u"==r;var o=t[a],l=(typeof o)[0];if(r!=l)return"o"==r&&"n"==l||"s"==l||"u"==r;if("o"!=r&&"u"!=r&&i!=o)return i<o;a++}})(n,t)?t:n),0)},r=(e,i,r,s)=>{var c=a(e,r);return t(s,c)||o(((e,t,a,i)=>"Unsatisfied version "+a+" from "+(a&&e[t][a].from)+" of shared singleton module "+t+" (required "+n(i)+")")(e,r,c,s)),l(e[r][c])},o=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},l=e=>(e.loaded=1,e.get()),s=e=>function(n,t,a,r){var o=i.I(n);return o&&o.then?o.then(e.bind(e,n,i.S[n],t,a,r)):e(n,i.S[n],t,a,r)},c=s(((e,n,t,r)=>n&&i.o(n,t)?((e,n,t,i)=>{var r=a(e,t);return l(e[t][r])})(n,0,t):r())),p=s(((e,n,t,a,o)=>n&&i.o(n,t)?r(n,0,t,a):o())),u={},d={5776:()=>p("default","react",[1,18],(()=>i.e(735).then((()=>()=>i(2735))))),4610:()=>p("default","@openmrs/esm-framework",[0],(()=>i.e(889).then((()=>()=>i(4889))))),8478:()=>c("default","@openmrs/esm-framework/src/internal",(()=>i.e(889).then((()=>()=>i(4889))))),1763:()=>p("default","react-router-dom",[1,6],(()=>i.e(63).then((()=>()=>i(7063))))),2680:()=>p("default","react-i18next",[1,11],(()=>i.e(729).then((()=>()=>i(9729)))))};[4610,8478,5776,1763,2680].forEach((e=>{i.m[e]=n=>{u[e]=0,delete i.c[e];var t=d[e]();if("function"!=typeof t)throw new Error("Shared module is not available for eager consumption: "+e);n.exports=t()}}));var f={776:[5776]};i.f.consumes=(e,n)=>{i.o(f,e)&&f[e].forEach((e=>{if(i.o(u,e))return n.push(u[e]);var t=n=>{u[e]=0,i.m[e]=t=>{delete i.c[e],t.exports=n()}},a=n=>{delete u[e],i.m[e]=t=>{throw delete i.c[e],n}};try{var r=d[e]();r.then?n.push(u[e]=r.then(t).catch(a)):t(r)}catch(e){a(e)}}))}})(),(()=>{var e={179:0,776:0,958:0,34:0};i.f.j=(n,t)=>{var a=i.o(e,n)?e[n]:void 0;if(0!==a)if(a)t.push(a[2]);else if(776!=n){var r=new Promise(((t,i)=>a=e[n]=[t,i]));t.push(a[2]=r);var o=i.p+i.u(n),l=new Error;i.l(o,(t=>{if(i.o(e,n)&&(0!==(a=e[n])&&(e[n]=void 0),a)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;l.message="Loading chunk "+n+" failed.\n("+r+": "+o+")",l.name="ChunkLoadError",l.type=r,l.request=o,a[1](l)}}),"chunk-"+n,n)}else e[n]=0};var n=(n,t)=>{var a,r,[o,l,s]=t,c=0;if(o.some((n=>0!==e[n]))){for(a in l)i.o(l,a)&&(i.m[a]=l[a]);s&&s(i)}for(n&&n(t);c<o.length;c++)r=o[c],i.o(e,r)&&e[r]&&e[r][0](),e[r]=0},t=globalThis.webpackChunk_openmrs_esm_primary_navigation_app=globalThis.webpackChunk_openmrs_esm_primary_navigation_app||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})(),i.nc=void 0,i(958)})();
2
+ (()=>{var e,n,t={7414:(e,n,t)=>{"use strict";t.d(n,{SQ:()=>l});var a,i=t(5776),r=t.n(i),o=t(6248);const l=r().forwardRef((function(e,n){let{children:t,size:i=16,...l}=e;return r().createElement(o.I,{width:i,height:i,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...l},a||(a=r().createElement("path",{d:"M14 4H18V8H14zM4 4H8V8H4zM24 4H28V8H24zM14 14H18V18H14zM4 14H8V18H4zM24 14H28V18H24zM14 24H18V28H14zM4 24H8V28H4zM24 24H28V28H24z"})),t)}))},3575:(e,n,t)=>{"use strict";t.d(n,{Yo:()=>s});var a,i,r=t(5776),o=t.n(r),l=t(6248);const s=o().forwardRef((function(e,n){let{children:t,size:r=16,...s}=e;return o().createElement(l.I,{width:r,height:r,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...s},a||(a=o().createElement("path",{d:"M16,8a5,5,0,1,0,5,5A5,5,0,0,0,16,8Z"})),i||(i=o().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14.0158,14.0158,0,0,0,16,2Zm7.9925,22.9258A5.0016,5.0016,0,0,0,19,20H13a5.0016,5.0016,0,0,0-4.9925,4.9258,12,12,0,1,1,15.985,0Z"})),t)}))},9177:(e,n,t)=>{"use strict";t.d(n,{iY:()=>p,x8:()=>c});var a,i,r,o=t(5776),l=t.n(o),s=t(6248);const c=l().forwardRef((function(e,n){let{children:t,size:i=16,...r}=e;return l().createElement(s.I,{width:i,height:i,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},a||(a=l().createElement("path",{d:"M17.4141 16L24 9.4141 22.5859 8 16 14.5859 9.4143 8 8 9.4141 14.5859 16 8 22.5859 9.4143 24 16 17.4141 22.5859 24 24 22.5859 17.4141 16z"})),t)})),p=l().forwardRef((function(e,n){let{children:t,size:a=16,...o}=e;return l().createElement(s.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},i||(i=l().createElement("path",{d:"M26,13a8.9089,8.9089,0,0,1-2.5249,6.2339l1.4133,1.4131A10.9795,10.9795,0,0,0,23.6006,4.2l-1.2012,1.6A8.932,8.932,0,0,1,26,13Z"})),r||(r=l().createElement("path",{d:"M21 13a5.0022 5.0022 0 01-.9023 2.8564l1.4277 1.4278a6.9831 6.9831 0 00-.8584-9.5015l-1.334 1.49A5.0077 5.0077 0 0121 13zM30 28.5859L3.4143 2 2 3.4141l3.71 3.71A10.9824 10.9824 0 008.3994 21.8008l1.2012-1.6A8.9678 8.9678 0 017.1714 8.5854l2.1963 2.1963a6.9664 6.9664 0 001.9648 7.4351l1.334-1.49A5.0072 5.0072 0 0111 13a4.8854 4.8854 0 01.0393-.5464L15 16.4141V30h2V18.4141L28.5857 30z"})),t)}))},6390:(e,n,t)=>{"use strict";t.d(n,{GI:()=>d,SQ:()=>u});var a,i,r,o,l,s=t(5776),c=t.n(s),p=t(6248);const u=c().forwardRef((function(e,n){let{children:t,size:i=16,...r}=e;return c().createElement(p.I,{width:i,height:i,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},a||(a=c().createElement("path",{d:"M18 19H24V21H18zM18 15H30V17H18zM18 11H30V13H18zM14 21V19H9V17H7v2H2v2h8.2148a8.5914 8.5914 0 01-2.2159 3.9771A9.2731 9.2731 0 016.5521 23H4.3334a10.8553 10.8553 0 002.1451 3.2966A14.6584 14.6584 0 013 28.127L3.7021 30a16.42 16.42 0 004.2907-2.3362A16.4883 16.4883 0 0012.2979 30L13 28.127A14.664 14.664 0 019.5228 26.3 10.3132 10.3132 0 0012.2516 21zM11.1666 13H13.333L8.75 2H6.5832L2 13H4.1664L5 11h5.3335zM5.8331 9L7.6665 4.6 9.5 9z"})),t)})),d=c().forwardRef((function(e,n){let{children:t,size:a=16,...s}=e;return 16===a||"16"===a||"16px"===a?c().createElement(p.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...s},i||(i=c().createElement("path",{d:"M13,14H3c-0.6,0-1-0.4-1-1V3c0-0.6,0.4-1,1-1h5v1H3v10h10V8h1v5C14,13.6,13.6,14,13,14z"})),r||(r=c().createElement("path",{d:"M10 1L10 2 13.3 2 9 6.3 9.7 7 14 2.7 14 6 15 6 15 1z"})),t):c().createElement(p.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...s},o||(o=c().createElement("path",{d:"M26,28H6a2.0027,2.0027,0,0,1-2-2V6A2.0027,2.0027,0,0,1,6,4H16V6H6V26H26V16h2V26A2.0027,2.0027,0,0,1,26,28Z"})),l||(l=c().createElement("path",{d:"M20 2L20 4 26.586 4 18 12.586 19.414 14 28 5.414 28 12 30 12 30 2 20 2z"})),t)}))},6248:(e,n,t)=>{"use strict";function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function i(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){r(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function r(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof n?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){if(null==e)return{};var t,a,i=function(e,n){if(null==e)return{};var t,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)t=r[a],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)t=r[a],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}t.d(n,{I:()=>g});var l=["width","height","viewBox"],s=["tabindex"],c={focusable:"false",preserveAspectRatio:"xMidYMid meet"};var p=t(216),u=t.n(p),d=t(5776),f=t.n(d);const g=f().forwardRef((function(e,n){let{className:t,children:a,tabIndex:r,...p}=e;const{tabindex:u,...d}=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width,t=e.height,a=e.viewBox,r=void 0===a?"0 0 ".concat(n," ").concat(t):a,p=o(e,l),u=p.tabindex,d=o(p,s),f=i(i(i({},c),d),{},{width:n,height:t,viewBox:r});return f["aria-label"]||f["aria-labelledby"]||f.title?(f.role="img",null!=u&&(f.focusable="true",f.tabindex=u)):f["aria-hidden"]=!0,f}({...p,tabindex:r});return t&&(d.className=t),null!=u&&(d.tabIndex=u),n&&(d.ref=n),f().createElement("svg",d,a)}));g.displayName="Icon",g.propTypes={"aria-hidden":u().string,"aria-label":u().string,"aria-labelledby":u().string,children:u().node,className:u().string,height:u().oneOfType([u().number,u().string]),preserveAspectRatio:u().string,tabIndex:u().string,viewBox:u().string,width:u().oneOfType([u().number,u().string]),xmlns:u().string},g.defaultProps={xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet"},u().oneOfType([u().number,u().string])},5864:(e,n,t)=>{"use strict";t.d(n,{zxk:()=>G,h4i:()=>Be,gMZ:()=>Oe,JMr:()=>Re,sLE:()=>je,wID:()=>Ue,yh:()=>We,fef:()=>oe,mzw:()=>Q,xBx:()=>Y,EUY:()=>de,SYO:()=>Ne,T5f:()=>Je,GQc:()=>rn,m0z:()=>tn});var a={};try{process.env.CARBON_ENABLE_CSS_CUSTOM_PROPERTIES&&"true"===process.env.CARBON_ENABLE_CSS_CUSTOM_PROPERTIES?a.enableCssCustomProperties=!0:a.enableCssCustomProperties=!1,process.env.CARBON_ENABLE_USE_CONTROLLED_STATE_WITH_VALUE&&"true"===process.env.CARBON_ENABLE_USE_CONTROLLED_STATE_WITH_VALUE?a.enableUseControlledStateWithValue=!0:a.enableUseControlledStateWithValue=!1,process.env.CARBON_ENABLE_CSS_GRID&&"true"===process.env.CARBON_ENABLE_CSS_GRID?a.enableCssGrid=!0:a.enableCssGrid=!1,process.env.CARBON_ENABLE_V11_RELEASE?"true"===process.env.CARBON_ENABLE_V11_RELEASE?a.enableV11Release=!0:a.enableV11Release=!1:a.enableV11Release=!0,process.env.CARBON_ENABLE_EXPERIMENTAL_TILE_CONTRAST&&"true"===process.env.CARBON_ENABLE_EXPERIMENTAL_TILE_CONTRAST?a.enableExperimentalTileContrast=!0:a.enableExperimentalTileContrast=!1,process.env.CARBON_ENABLE_V12_TILE_DEFAULT_ICONS&&"true"===process.env.CARBON_ENABLE_V12_TILE_DEFAULT_ICONS?a.enableV12TileDefaultIcons=!0:a.enableV12TileDefaultIcons=!1,process.env.CARBON_ENABLE_V12_OVERFLOWMENU&&"true"===process.env.CARBON_ENABLE_V12_OVERFLOWMENU?a.enableV12Overflowmenu=!0:a.enableV12Overflowmenu=!1}catch(e){a.enableCssCustomProperties=!1,a.enableUseControlledStateWithValue=!1,a.enableCssGrid=!1,a.enableV11Release=!0,a.enableExperimentalTileContrast=!1,a.enableV12TileDefaultIcons=!1,a.enableV12Overflowmenu=!1}var i=[{name:"enable-css-custom-properties",description:"Describe what the flag does",enabled:a.enableCssCustomProperties},{name:"enable-use-controlled-state-with-value",description:"Enable components to be created in either a controlled or uncontrolled mode\n",enabled:a.enableUseControlledStateWithValue},{name:"enable-css-grid",description:"Enable CSS Grid Layout in the Grid and Column React components\n",enabled:a.enableCssGrid},{name:"enable-v11-release",description:"Enable the features and functionality for the v11 Release\n",enabled:a.enableV11Release},{name:"enable-experimental-tile-contrast",description:"Enable the experimental tile improved contrast styles\n",enabled:a.enableExperimentalTileContrast},{name:"enable-v12-tile-default-icons",description:"Enable rendering of default icons in the tile components\n",enabled:a.enableV12TileDefaultIcons},{name:"enable-v12-overflowmenu",description:"Enable the use of the v12 OverflowMenu leveraging the Menu subcomponents\n",enabled:a.enableV12Overflowmenu}];function r(e,n){for(var t=0;t<n.length;t++){var a=n[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,(void 0,"symbol"==typeof(i=function(e,n){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(a.key))?i:String(i)),a)}var i}function o(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r,o,l=[],s=!0,c=!1;try{if(r=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(a=r.call(t)).done)&&(l.push(a.value),l.length!==n);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}(e,n)||l(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,n){if(e){if("string"==typeof e)return s(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?s(e,n):void 0}}function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}for(var c=function(){function e(n){var t=this;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.flags=new Map,n&&Object.keys(n).forEach((function(e){t.flags.set(e,n[e])}))}var n,t;return n=e,t=[{key:"checkForFlag",value:function(e){if(!this.flags.has(e))throw new Error("Unable to find a feature flag with the name: `".concat(e,"`"))}},{key:"add",value:function(e,n){if(this.flags.has(e))throw new Error("The feature flag: ".concat(e," already exists"));this.flags.set(e,n)}},{key:"enable",value:function(e){this.checkForFlag(e),this.flags.set(e,!0)}},{key:"disable",value:function(e){this.checkForFlag(e),this.flags.set(e,!1)}},{key:"merge",value:function(e){var n=this;Object.keys(e).forEach((function(t){n.flags.set(t,e[t])}))}},{key:"mergeWithScope",value:function(e){var n,t=function(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=l(e))){t&&(e=t);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return o=e.done,e},e:function(e){s=!0,r=e},f:function(){try{o||null==t.return||t.return()}finally{if(s)throw r}}}}(e.flags);try{for(t.s();!(n=t.n()).done;){var a=o(n.value,2),i=a[0],r=a[1];this.flags.has(i)||this.flags.set(i,r)}}catch(e){t.e(e)}finally{t.f()}}},{key:"enabled",value:function(e){return this.checkForFlag(e),this.flags.get(e)}}],t&&r(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),e}(),p=new c(undefined),u=0;u<i.length;u++){var d=i[u];p.add(d.name,d.enabled)}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},f.apply(this,arguments)}!function(){p.merge.apply(p,arguments)}({"enable-css-custom-properties":!0,"enable-css-grid":!0,"enable-v11-release":!0,"enable-experimental-tile-contrast":!1});var g=t(216),h=t.n(g),y=t(5776),m=t.n(y),b=t(841),$=t.n(b),v="undefined"!=typeof window?y.useLayoutEffect:y.useEffect;const A=e=>(0,y.useCallback)((n=>{e.forEach((e=>{"function"==typeof e?e(n):null!=e&&(e.current=n)}))}),e),w=m().createContext("cds");function _(){return m().useContext(w)}function x(e,n){const t=(0,y.useRef)(null);(0,y.useEffect)((()=>{t.current=n}),[n]),(0,y.useEffect)((()=>{function n(e){t.current&&t.current(e)}return window.addEventListener(e,n),()=>{window.removeEventListener(e,n)}}),[e])}const k=m().createContext({floating:{current:null}});function C(e,n){let{isTabTip:t,align:a=(t?"bottom-left":"bottom"),as:i="span",autoAlign:r=!1,caret:o=!t,className:l,children:s,dropShadow:c=!0,highContrast:p=!1,onRequestClose:u,open:d,...g}=e;const h=_(),b=(0,y.useRef)(null),w=(0,y.useRef)(null);x("blur",(()=>{d&&u?.()})),x("click",(e=>{d&&!w?.current?.contains(e.target)&&u?.()}));const C=(0,y.useMemo)((()=>({floating:b})),[]);t&&(["bottom-left","bottom-right"].includes(a)||(a="bottom-left"));const z=A([n,w]),[E,M]=(0,y.useState)(!1),[N,S]=(0,y.useState)(a),T=$()({[`${h}--popover-container`]:!0,[`${h}--popover--caret`]:o,[`${h}--popover--drop-shadow`]:c,[`${h}--popover--high-contrast`]:p,[`${h}--popover--open`]:d,[`${h}--popover--${N}`]:E&&!t,[`${h}--popover--${a}`]:!E,[`${h}--popover--tab-tip`]:t},l);v((()=>{if(!d)return;if(!r||t)return void M(!1);if(!b.current)return;if(!0===E)return;const e=b.current.getBoundingClientRect(),n=e.x<-16,i=e.y<-16,o=e.x+(e.width-16)>document.documentElement.clientWidth,l=e.y+(e.height-16)>document.documentElement.clientHeight;if(!(n||i||o||l))return void M(!1);const s=["top","top-left","right-bottom","right","right-top","bottom-left","bottom","bottom-right","left-top","left","left-bottom","top-right"],c=[a];let p=s[(s.indexOf(a)+1)%s.length];for(;p&&!c.includes(p);)c.push(p),p=s[(s.indexOf(p)+1)%s.length];function u(e){if(!w.current||!b.current)return!1;w.current.classList.add(`${h}--popover--${e}`);const n=b.current.getBoundingClientRect();return n.x<-16||n.y<-16||n.x+(n.width-16)>document.documentElement.clientWidth||n.y+(n.height-16)>document.documentElement.clientHeight?(w.current.classList.remove(`${h}--popover--${e}`),!1):(w.current.classList.remove(`${h}--popover--${e}`),!0)}let f=null;for(let e=0;e<c.length;e++){const n=c[e];if(u(n)){f=n;break}}f&&(M(!0),S(f))}),[E,a,r,h,d,t]);const B=m().Children.map(s,(e=>{const n=e;if("button"===n?.type){const{className:e}=n.props,t=$()(`${h}--popover--tab-tip__button`,e);return m().cloneElement(n,{className:t})}return n})),O=i;return m().createElement(k.Provider,{value:C},m().createElement(O,f({},g,{className:T,ref:z}),t?B:s))}const z=m().forwardRef(C);function E(e,n){let{className:t,children:a,...i}=e;const r=_(),{floating:o}=m().useContext(k),l=A([o,n]);return m().createElement("span",f({},i,{className:`${r}--popover`}),m().createElement("span",{className:$()(`${r}--popover-content`,t),ref:l},a),m().createElement("span",{className:`${r}--popover-caret`}))}z.propTypes={align:h().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top"]),as:h().oneOfType([h().string,h().elementType]),autoAlign:h().bool,caret:h().bool,children:h().node,className:h().string,dropShadow:h().bool,highContrast:h().bool,isTabTip:h().bool,onRequestClose:h().func,open:h().bool.isRequired};const M=m().forwardRef(E);function N(){let e=0;return function(){return++e}}M.propTypes={children:h().node,className:h().string};const S=!("undefined"==typeof window||!window.document||!window.document.createElement),T=m().createContext(null),B=N(),O=S?y.useLayoutEffect:y.useEffect;let I=!1;function D(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";const n=m().useContext(T),[t,a]=(0,y.useState)((()=>I?`${n?`${n}-`:""}${e}-${B()}`:null));if(O((()=>{null===t&&a(`${n?`${n}-`:""}${e}-${B()}`)}),[B]),(0,y.useEffect)((()=>{!1===I&&(I=!0)}),[]),"function"==typeof m().useId){const t=function(e,n){return`${e?`${e}-`:""}${n}-${m().useId()}`}(n,e);return t}return t}function P(e){if(!e||!e.childNodes)return null;if(function(e){if(e.tabIndex<0)return!1;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}(e))return e;for(const n of e.childNodes){const e=P(n);if(e)return e}return null}function L(e){let{key:n,which:t,keyCode:a,code:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e?e===n:"number"==typeof e?e===t||e===a:e.key&&Array.isArray(n)?-1!==n.indexOf(e.key):e.key===n||e.which===t||e.keyCode===a||e.code===i}const H={key:"Enter",which:13,keyCode:13,code:"Enter"},R={key:["Escape","Esc"],which:27,keyCode:27,code:"Esc"},j={key:" ",which:32,keyCode:32,code:"Space"},F={key:"ArrowUp",which:38,keyCode:38,code:"ArrowUp"},q={key:"ArrowDown",which:40,keyCode:40,code:"ArrowDown"};function V(e){let{align:n="top",className:t,children:a,label:i,description:r,enterDelayMs:o=100,leaveDelayMs:l=300,defaultOpen:s=!1,closeOnActivation:c=!1,...p}=e;const u=(0,y.useRef)(null),d=(0,y.useRef)(null),[g,h]=function(e){const[n,t]=(0,y.useState)(e),a=(0,y.useRef)(null),i=(0,y.useCallback)((function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;window.clearTimeout(a.current??void 0),a.current=null,0!==n?a.current=window.setTimeout((()=>{t(e),a.current=null}),n):t(e)}),[]);return(0,y.useEffect)((()=>()=>{window.clearTimeout(a.current??void 0)}),[]),[n,i]}(s),b=D("tooltip"),v=_(),A=m().Children.only(a),w={onFocus:()=>h(!0),onBlur:()=>h(!1),onClick:()=>c&&h(!1),onMouseEnter:function(){h(!0,o)}};return i?w["aria-labelledby"]=b:w["aria-describedby"]=b,(0,y.useEffect)((()=>{null!==u&&u.current&&(P(u.current)||h(!1))})),m().createElement(z,f({},p,{align:n,className:$()(`${v}--tooltip`,t),dropShadow:!1,highContrast:!0,onKeyDown:function(e){g&&L(e,R)&&(e.stopPropagation(),h(!1)),g&&c&&(L(e,H)||L(e,j))&&h(!1)},onMouseLeave:function(){h(!1,l)},open:g,ref:u}),m().createElement("div",{className:`${v}--tooltip-trigger__wrapper`},void 0!==A?m().cloneElement(A,{...w,...function(e){const n={};return["onFocus","onBlur","onClick","onMouseEnter"].forEach((t=>{n[t]=n=>{w[t](),e?.[t]&&e?.[t](n)}})),n}(A.props)}):null),m().createElement(M,{"aria-hidden":g?"false":"true",className:`${v}--tooltip-content`,id:b,ref:d,role:"tooltip"},i||r))}V.propTypes={align:h().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top"]),children:h().node,className:h().string,closeOnActivation:h().bool,defaultOpen:h().bool,description:h().node,enterDelayMs:h().number,label:h().node,leaveDelayMs:h().number};const U=m().forwardRef((function(e,n){const{align:t,children:a,className:i,closeOnActivation:r=!0,defaultOpen:o=!1,disabled:l,enterDelayMs:s=100,kind:c,label:p,leaveDelayMs:u=100,wrapperClasses:d,size:g,...h}=e,y=_(),b=$()(d,`${y}--icon-tooltip`,{[`${y}--icon-tooltip--disabled`]:l});return m().createElement(V,{align:t,closeOnActivation:r,className:b,defaultOpen:o,enterDelayMs:s,label:p,leaveDelayMs:u},m().createElement(G,f({},h,{disabled:l,kind:c,ref:n,size:g,className:$()(`${y}--btn--icon-only`,i)}),a))}));U.propTypes={align:h().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","right"]),children:h().node,className:h().string,closeOnActivation:h().bool,defaultOpen:h().bool,disabled:h().bool,enterDelayMs:h().number,kind:h().oneOf(["primary","secondary","ghost","tertiary"]),label:h().node.isRequired,leaveDelayMs:h().number,size:h().oneOf(["sm","md","lg"]),wrapperClasses:h().string};const G=m().forwardRef((function(e,n){let{as:t,children:a,className:i,dangerDescription:r="danger",disabled:o=!1,hasIconOnly:l=!1,href:s,iconDescription:c,isExpressive:p=!1,isSelected:u,kind:d="primary",onBlur:g,onClick:h,onFocus:b,onMouseEnter:v,onMouseLeave:A,renderIcon:w,size:x,tabIndex:k,tooltipAlignment:C="center",tooltipPosition:z="top",type:E="button",...M}=e;const N=(0,y.useRef)(null),S=_(),T=e=>{e.target!==N.current||e.preventDefault()},B={tabIndex:k,className:$()(i,{[`${S}--btn`]:!0,[`${S}--btn--sm`]:"sm"===x&&!p,[`${S}--btn--md`]:"md"===x&&!p,[`${S}--btn--xl`]:"xl"===x,[`${S}--btn--2xl`]:"2xl"===x,[`${S}--layout--size-${x}`]:x,[`${S}--btn--${d}`]:d,[`${S}--btn--disabled`]:o,[`${S}--btn--expressive`]:p,[`${S}--btn--icon-only`]:l,[`${S}--btn--selected`]:l&&u&&"ghost"===d}),ref:n},O=w?m().createElement(w,{"aria-label":c,className:`${S}--btn__icon`,"aria-hidden":"true"}):null,I=w?m().createElement(w,null):null,P=["danger","danger--tertiary","danger--ghost"];let L="button";const H=D("danger-description"),{"aria-pressed":R}=M;let j={disabled:o,type:E,"aria-describedby":P.includes(d)?H:void 0,"aria-pressed":R??(l&&"ghost"===d?u:void 0)};const F={href:s};let q=null;if(P.includes(d)&&(q=m().createElement("span",{id:H,className:`${S}--visually-hidden`},r)),t?(L=t,j={...j,...F}):s&&!o&&(L="a",j=F),l){let e;return"top"!==z&&"bottom"!==z||("center"===C&&(e=z),"end"===C&&(e=`${z}-right`),"start"===C&&(e=`${z}-left`)),"right"!==z&&"left"!==z||(e=z),m().createElement(U,f({as:t,align:e,label:c,kind:d,size:x,onMouseEnter:v,onMouseLeave:A,onFocus:b,onBlur:g,onClick:(V=[h,T],function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];for(let n=0;n<V.length&&!e.defaultPrevented;n++){const a=V[n];"function"==typeof a&&a(e,...t)}})},M,B,j),I||a)}return m().createElement(L,{onMouseEnter:v,onMouseLeave:A,onFocus:b,onBlur:g,onClick:h,...M,...B,...j},q,a,O);var V}));G.displayName="Button",G.propTypes={as:h().oneOfType([h().func,h().string,h().elementType]),children:h().node,className:h().string,dangerDescription:h().string,disabled:h().bool,hasIconOnly:h().bool,href:h().string,iconDescription:e=>!e.renderIcon||e.children||e.iconDescription?null:new Error("renderIcon property specified without also providing an iconDescription property."),isExpressive:h().bool,isSelected:h().bool,kind:h().oneOf(["primary","secondary","danger","ghost","danger--primary","danger--ghost","danger--tertiary","tertiary"]),onBlur:h().func,onClick:h().func,onFocus:h().func,onMouseEnter:h().func,onMouseLeave:h().func,renderIcon:h().oneOfType([h().func,h().object]),role:h().string,size:h().oneOf(["sm","md","lg","xl","2xl"]),tabIndex:h().number,tooltipAlignment:h().oneOf(["start","center","end"]),tooltipPosition:h().oneOf(["top","right","bottom","left"]),type:h().oneOf(["button","reset","submit"])};var Z=t(1729),W=t(9177);const Y=m().forwardRef((function(e,n){let{buttonOnClick:t,children:a,className:i,closeClassName:r,closeIconClassName:o,closeModal:l,iconDescription:s,label:c,labelClassName:p,title:u,titleClassName:d,...g}=e;const h=_(),y=$()(`${h}--modal-header`,i),b=$()(`${h}--modal-header__label ${h}--type-delta`,p),v=$()(`${h}--modal-header__heading ${h}--type-beta`,d),A=$()(`${h}--modal-close`,r),w=$()(`${h}--modal-close__icon`,o);return m().createElement("div",f({className:y},g,{ref:n}),c&&m().createElement("h2",{className:b},c),u&&m().createElement("h3",{className:v},u),a,m().createElement("button",{onClick:function(e){l?.(e),t?.(e)},className:A,title:s,"aria-label":s,type:"button"},m().createElement(W.x8,{size:20,className:w})))}));Y.propTypes={buttonOnClick:h().func,children:h().node,className:h().string,closeClassName:h().string,closeIconClassName:h().string,closeModal:h().func,iconDescription:h().string,label:h().node,labelClassName:h().string,title:h().node,titleClassName:h().string},Y.defaultProps={iconDescription:"Close"};const J=m().forwardRef((function(e,n){let{children:t,className:a,stacked:i,...r}=e;const o=_(),l=$()(a,`${o}--btn-set`,{[`${o}--btn-set--stacked`]:i});return m().createElement("div",f({},r,{className:l,ref:n}),t)}));function K(e){let{secondaryButtons:n,secondaryButtonText:t,secondaryClassName:a,closeModal:i,onRequestClose:r}=e;function o(e){i(e),r(e)}return Array.isArray(n)&&n.length<=2?n.map(((e,n)=>{let{buttonText:t,onClick:i}=e;return m().createElement(G,{key:`${t}-${n}`,className:a,kind:"secondary",onClick:i||o},t)})):t?m().createElement(G,{className:a,onClick:o,kind:"secondary"},t):null}J.displayName="ButtonSet",J.propTypes={children:h().node,className:h().string,stacked:h().bool},K.propTypes={closeModal:h().func,onRequestClose:h().func,secondaryButtonText:h().string,secondaryButtons:(e,n,t)=>{if(e.secondaryButtons){if(!Array.isArray(e.secondaryButtons)||2!==e.secondaryButtons.length)return new Error(`${n} needs to be an array of two button config objects`);const a={buttonText:h().node,onClick:h().func};e[n].forEach((e=>{h().checkPropTypes(a,e,n,t)}))}return null},secondaryClassName:h().string};const Q=m().forwardRef((function(e,n){let{children:t,className:a,closeModal:i,danger:r,inputref:o,onRequestClose:l,onRequestSubmit:s,primaryButtonDisabled:c,primaryButtonText:p,primaryClassName:u,secondaryButtonText:d,secondaryButtons:g,secondaryClassName:h,...y}=e;const b=_(),v=$()(`${b}--modal-footer`,a,Array.isArray(g)&&2===g.length?`${b}--modal-footer--three-button`:null),A={closeModal:i,secondaryButtons:g,secondaryButtonText:d,secondaryClassName:h,onRequestClose:l};return m().createElement(J,f({className:v},y,{ref:n}),m().createElement(K,A),p&&m().createElement(G,{onClick:s,className:u,disabled:c,kind:r?"danger":"primary",ref:o},p),t)}));Q.propTypes={children:h().node,className:h().string,closeModal:h().func,danger:h().bool,inputref:h().oneOfType([h().func,h().shape({current:h().any})]),onRequestClose:h().func,onRequestSubmit:h().func,primaryButtonDisabled:h().bool,primaryButtonText:h().string,primaryClassName:h().string,secondaryButtonText:h().string,secondaryButtons:(e,n,t)=>{if(e.secondaryButtons){if(!Array.isArray(e.secondaryButtons)||2!==e.secondaryButtons.length)return new Error(`${n} needs to be an array of two button config objects`);const a={buttonText:h().node,onClick:h().func};e[n].forEach((e=>{h().checkPropTypes(a,e,n,t)}))}return null},secondaryClassName:h().string};const X=()=>{};function ee(e,n,t){e.classList.contains(n)===!t&&e.classList[t?"add":"remove"](n)}Q.defaultProps={onRequestClose:X,onRequestSubmit:X,closeModal:X};var ne=t(881),te=t.n(ne);const ae="undefined"!=typeof Node&&Node.DOCUMENT_POSITION_PRECEDING|Node.DOCUMENT_POSITION_CONTAINS,ie="undefined"!=typeof Node&&Node.DOCUMENT_POSITION_FOLLOWING|Node.DOCUMENT_POSITION_CONTAINED_BY,re="\n a[href], area[href], input:not([disabled]):not([tabindex='-1']),\n button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),\n textarea:not([disabled]):not([tabindex='-1']),\n iframe, object, embed, *[tabindex]:not([tabindex='-1']):not([disabled]), *[contenteditable=true]\n",oe=m().forwardRef((function(e,n){let{className:t,children:a,hasForm:i,hasScrollingContent:r,...o}=e;const l=_(),s=$()(`${l}--modal-content`,i&&`${l}--modal-content--with-form`,r&&`${l}--modal-scroll-content`,t),c=r?{tabIndex:0,role:"region"}:{};return m().createElement(m().Fragment,null,m().createElement("div",f({className:s},c,o,{ref:n}),a),r&&m().createElement("div",{className:`${l}--modal-content--overflow-indicator`}))}));var le;oe.propTypes={"aria-label":(le=h().string,function(e,n,t){for(var a=arguments.length,i=new Array(a>3?a-3:0),r=3;r<a;r++)i[r-3]=arguments[r];return le(e,n,t,...i)}),children:h().node,className:h().string,hasForm:h().bool,hasScrollingContent:h().bool};const se=m().forwardRef((function(e,n){let{"aria-labelledby":t,"aria-label":a,children:i,className:r,containerClassName:o,danger:l,isFullWidth:s,onClose:c,onKeyDown:p,open:u,preventCloseOnClickOutside:d,selectorPrimaryFocus:g,selectorsFloatingMenus:h,size:b,launcherButtonRef:v,...A}=e;const w=_(),[x,k]=(0,y.useState)(!!u),[C,z]=(0,y.useState)(!!u),E=(0,y.useRef)(null),M=(0,y.useRef)(null),N=(0,y.useRef)(null),S=(0,y.useRef)(null);function T(e){c&&!1===c(e)||k(!1)}(0,y.useEffect)((()=>{u!==C&&(k(!!u),z(!!u),ee(document.body,`${w}--body--with-modal-open`,!!u))}),[u,C,w]),(0,y.useEffect)((()=>()=>{ee(document.body,`${w}--body--with-modal-open`,!1)}),[]);const B=$()(`${w}--modal`,x&&"is-visible",l&&`${w}--modal--danger`,r),O=$()(`${w}--modal-container`,b&&`${w}--modal-container--${b}`,s&&`${w}--modal-container--full-width`,o);let I;const D=m().Children.toArray(i).map((e=>{switch(!0){case(0,Z.isElement)(e)&&e.type===m().createElement(Y).type:{const n=e;return I=n.props.label,m().cloneElement(n,{closeModal:T})}case(0,Z.isElement)(e)&&e.type===m().createElement(Q).type:{const n=e;return m().cloneElement(n,{closeModal:T,inputref:M})}default:return e}}));return(0,y.useEffect)((()=>{!u&&v&&setTimeout((()=>{v?.current?.focus()}))}),[u,v]),(0,y.useEffect)((()=>{u&&x&&(e=>{const n=(e=>{const n=e||E.current;return(n?n.querySelector(g):null)||M&&M.current})(e);n&&n.focus()})(E.current)}),[u,g,x]),m().createElement("div",f({},A,{role:"presentation",ref:n,"aria-hidden":!u,onBlur:function(e){let{target:n,relatedTarget:t}=e;if(u&&t&&n&&E.current){const{current:e}=E,{current:a}=N,{current:i}=S;!function(e){let{bodyNode:n,startTrapNode:t,endTrapNode:a,currentActiveNode:i,oldActiveNode:r,selectorsFloatingMenus:o}=e;if(n&&i&&r&&!n.contains(i)&&!function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(e&&"function"==typeof e.closest)return[".cds--overflow-menu-options",".cds--tooltip",".flatpickr-calendar",...n].some((n=>e.closest(n)))}(i,o)){const e=r.compareDocumentPosition(i);if(i===t||e&ae){const e=te()(n.querySelectorAll(re),(e=>Boolean(e.offsetParent)));e?e.focus():n!==r&&n.focus()}else if(i===a||e&ie){const e=Array.prototype.find.call(n.querySelectorAll(re),(e=>Boolean(e.offsetParent)));e?e.focus():n!==r&&n.focus()}}}({bodyNode:e,startTrapNode:a,endTrapNode:i,currentActiveNode:t,oldActiveNode:n,selectorsFloatingMenus:h?.filter(Boolean)})}},onMouseDown:function(e){const n=E.current?.contains(e.target);n||d||T(e)},onKeyDown:function(e){L(e,R)&&T(e),p?.(e)},className:B}),m().createElement("div",{className:O,role:"dialog","aria-modal":"true","aria-label":a||I,"aria-labelledby":t},m().createElement("button",{type:"button",ref:N,className:`${w}--visually-hidden`},"Focus sentinel"),m().createElement("div",{ref:E,className:`${w}--modal-container-body`},D),m().createElement("button",{type:"button",ref:S,className:`${w}--visually-hidden`},"Focus sentinel")))}));se.propTypes={"aria-label":h().string,"aria-labelledby":h().string,children:h().node,className:h().string,containerClassName:h().string,danger:h().bool,isFullWidth:h().bool,launcherButtonRef:h().oneOfType([h().func,h().shape({current:h().any})]),onClose:h().func,onKeyDown:h().func,open:h().bool,preventCloseOnClickOutside:h().bool,selectorPrimaryFocus:h().string,selectorsFloatingMenus:h().arrayOf(h().string),size:h().oneOf(["xs","sm","md","lg"])},se.defaultProps={selectorPrimaryFocus:"[data-modal-primary-focus]"};var ce=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return e=>{n.forEach((n=>{"function"==typeof n?n(e):Object(n)===n&&(n.current=e)}))}};const pe=(0,y.createContext)(null);function ue(e){let{as:n,children:t,dir:a="auto",...i}=e;const r=(0,y.useContext)(pe),o={},l=n??"span",s={...r};if(r){const{direction:e,getTextDirection:n}=r;if(n&&n.current){const a=function(e){if("string"==typeof e)return e;const n=m().Children.map(e,(e=>"string"==typeof e?e:null))?.filter((e=>null!==e));return 1===n?.length?n[0]:n}(t),i=n.current(a);e!==i?(o.dir=i,s.direction=i):"auto"===e&&(o.dir=i)}else e!==a?(o.dir=a,s.direction=a):"auto"===e&&(o.dir=a)}else o.dir=a,s.direction=a;return m().createElement(pe.Provider,{value:s},m().createElement(l,f({},i,o),t))}ue.propTypes={as:h().oneOfType([h().func,h().string,h().elementType]),children:h().node.isRequired,dir:h().oneOf(["ltr","rtl","auto"])};const de=m().forwardRef(((e,n)=>{const{className:t,disabled:a,hideLabel:i,id:r,labelPosition:o="right",labelText:l="",name:s,onChange:c=(()=>{}),value:p="",...u}=e,d=_(),g=D("radio-button"),h=r||g,b=$()(`${d}--radio-button__label-text`,{[`${d}--visually-hidden`]:i}),v=$()(t,`${d}--radio-button-wrapper`,{[`${d}--radio-button-wrapper--label-${o}`]:"right"!==o}),A=(0,y.useRef)(null);return m().createElement("div",{className:v},m().createElement("input",f({},u,{type:"radio",className:`${d}--radio-button`,onChange:function(e){c(p,s,e)},id:h,ref:ce(A,n),disabled:a,value:p,name:s})),m().createElement("label",{htmlFor:h,className:`${d}--radio-button__label`},m().createElement("span",{className:`${d}--radio-button__appearance`}),l&&m().createElement(ue,{className:b},l)))}));function fe(e,n){return function(n){return m().createElement(ue,f({as:e},n))}}de.displayName="RadioButton",de.propTypes={checked:h().bool,className:h().string,defaultChecked:h().bool,disabled:h().bool,hideLabel:h().bool,id:h().string,labelPosition:h().oneOf(["right","left"]),labelText:h().node.isRequired,name:h().string,onChange:h().func,onClick:h().func,value:h().oneOfType([h().string,h().number])},fe("label");const ge=fe("legend");var he,ye,me,be,$e,ve,Ae,we,_e,xe,ke,Ce=t(6248);const ze=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},he||(he=m().createElement("path",{fill:"none",d:"M16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Zm-1.125-5h2.25V12h-2.25Z","data-icon-path":"inner-path"})),ye||(ye=m().createElement("path",{d:"M16.002,6.1714h-.004L4.6487,27.9966,4.6506,28H27.3494l.0019-.0034ZM14.875,12h2.25v9h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z"})),me||(me=m().createElement("path",{d:"M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z"})),t)})),Ee=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return 16===a||"16"===a||"16px"===a?m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...i},be||(be=m().createElement("path",{d:"M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2 c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z"})),$e||($e=m().createElement("path",{d:"M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8 c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z","data-icon-path":"inner-path",opacity:"0"})),t):20===a||"20"===a||"20px"===a?m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...i},ve||(ve=m().createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1 s1,0.4,1,1S10.6,16,10,16z"})),Ae||(Ae=m().createElement("path",{d:"M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1s1,0.4,1,1S10.6,16,10,16z","data-icon-path":"inner-path",opacity:"0"})),t):24===a||"24"===a||"24px"===a?m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...i},we||(we=m().createElement("path",{d:"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11C23,5.9,18.1,1,12,1z M11.1,6h1.8v8h-1.8V6z M12,19.2 c-0.7,0-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2s1.2,0.6,1.2,1.2S12.7,19.2,12,19.2z"})),_e||(_e=m().createElement("path",{fill:"none",d:"M13.2,18c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2S13.2,17.3,13.2,18z M12.9,6 h-1.8v8h1.8V6z","data-icon-path":"inner-path",opacity:"0"})),t):m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},xe||(xe=m().createElement("path",{d:"M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14C30,8.3,23.7,2,16,2z M14.9,8h2.2v11h-2.2V8z M16,25 c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22c0.8,0,1.5,0.7,1.5,1.5S16.8,25,16,25z"})),ke||(ke=m().createElement("path",{fill:"none",d:"M17.5,23.5c0,0.8-0.7,1.5-1.5,1.5c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22 C16.8,22,17.5,22.7,17.5,23.5z M17.1,8h-2.2v11h2.2V8z","data-icon-path":"inner-path",opacity:"0"})),t)})),Me=N(),Ne=m().forwardRef(((e,n)=>{const{children:t,className:a,defaultSelected:i,disabled:r,helperText:o,invalid:l=!1,invalidText:s,labelPosition:c="right",legendText:p,name:u,onChange:d=(()=>{}),orientation:g="horizontal",readOnly:h,valueSelected:b,warn:v=!1,warnText:A,...w}=e,x=_(),[k,C]=(0,y.useState)(b??i),[z,E]=(0,y.useState)(b),{current:M}=(0,y.useRef)(Me());function N(e,n,t){h||e!==k&&(C(e),d(e,u,t))}b!==z&&(C(b),E(b));const S=!h&&!l&&v,T=!l&&!r&&!v,B=$()(`${x}--form-item`,a),O=$()(`${x}--radio-button-group`,{[`${x}--radio-button-group--${g}`]:"vertical"===g,[`${x}--radio-button-group--label-${c}`]:c,[`${x}--radio-button-group--readonly`]:h,[`${x}--radio-button-group--invalid`]:!h&&l,[`${x}--radio-button-group--warning`]:S}),I=$()(`${x}--form__helper-text`,{[`${x}--form__helper-text--disabled`]:r}),D=o?`radio-button-group-helper-text-${M}`:void 0,P=o?m().createElement("div",{id:D,className:I},o):null,L=(0,y.useRef)(null);return m().createElement("div",{className:B,ref:ce(L,n)},m().createElement("fieldset",f({className:O,disabled:r,"data-invalid":!!l||void 0,"aria-describedby":T&&o?D:void 0},w),p&&m().createElement(ge,{className:`${x}--label`},p),m().Children.map(t,(e=>{const{value:n}=e?.props??void 0,t={name:u,key:n,value:n,onChange:N,checked:n===k};if(!k&&e?.props.checked&&(t.checked=!0),e)return m().cloneElement(e,t)}))),m().createElement("div",{className:`${x}--radio-button__validation-msg`},!h&&l&&m().createElement(m().Fragment,null,m().createElement(Ee,{className:`${x}--radio-button__invalid-icon`}),m().createElement("div",{className:`${x}--form-requirement`},s)),S&&m().createElement(m().Fragment,null,m().createElement(ze,{className:`${x}--radio-button__invalid-icon ${x}--radio-button__invalid-icon--warning`}),m().createElement("div",{className:`${x}--form-requirement`},A))),T&&P)}));Ne.propTypes={children:h().node,className:h().string,defaultSelected:h().oneOfType([h().string,h().number]),disabled:h().bool,helperText:h().node,invalid:h().bool,invalidText:h().node,labelPosition:h().oneOf(["left","right"]),legendText:h().node,name:h().string.isRequired,onChange:h().func,orientation:h().oneOf(["horizontal","vertical"]),readOnly:h().bool,valueSelected:h().oneOfType([h().string,h().number]),warn:h().bool,warnText:h().node},Ne.displayName="RadioButtonGroup";const Se=function(e){const n=Object.keys(e),t=e=>function(n,t,a){for(var i=arguments.length,r=new Array(i>3?i-3:0),o=3;o<i;o++)r[o-3]=arguments[o];return e(n,t,a,...r)};return n.reduce(((n,a)=>({...n,[a]:t(e[a])})),{})}({"aria-label":h().string,"aria-labelledby":h().string}),Te=e=>{let{className:n,children:t,...a}=e;const i=_(),r=$()(`${i}--header`,n);return m().createElement("header",f({},a,{className:r}),t)};Te.propTypes={...Se,className:h().string};var Be=Te;function Oe(e){let{render:n,isSideNavExpanded:t=!1}=e;const[a,i]=(0,y.useState)(t);x("keydown",(e=>{L(e,R)&&i(!1)}));const r=(0,y.useCallback)((()=>{i((e=>!e))}),[i]);return m().createElement(n,{isSideNavExpanded:a,onClickSideNavExpand:r})}Oe.propTypes={isSideNavExpanded:h().bool,render:h().elementType.isRequired};const Ie=m().forwardRef((function(e,n){let{"aria-label":t,"aria-labelledby":a,children:i,className:r,onClick:o,isActive:l,tooltipAlignment:s,...c}=e;const p=_(),u=$()({[r]:!!r,[`${p}--header__action`]:!0,[`${p}--header__action--active`]:l}),d={"aria-label":t,"aria-labelledby":a};return m().createElement(G,f({},c,d,{className:u,onClick:o,type:"button",hasIconOnly:!0,iconDescription:t,tooltipPosition:"bottom",tooltipAlignment:s,ref:n}),i)}));Ie.propTypes={...Se,children:h().node.isRequired,className:h().string,isActive:h().bool,onClick:h().func,tooltipAlignment:h().oneOf(["start","center","end"])},Ie.displayName="HeaderGlobalAction";var De,Pe,Le,He,Re=Ie,je=(e=>{let{name:n,className:t,type:a}=e;function i(e){let{className:n,...i}=e;const r=_(),o=$()("function"==typeof t?t(r):t,n);return m().createElement(a,{...i,className:o||void 0})}return i.displayName=n,i.propTypes={className:h().string},i})({name:"HeaderGlobalBar",className:e=>`${e}--header__global`,type:"div"});const Fe=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return 16===a||"16"===a||"16px"===a?m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...i},De||(De=m().createElement("path",{d:"M2 12H14V13H2zM2 9H14V10H2zM2 6H14V7H2zM2 3H14V4H2z"})),t):20===a||"20"===a||"20px"===a?m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...i},Pe||(Pe=m().createElement("path",{d:"M2 14.8H18V16H2zM2 11.2H18V12.399999999999999H2zM2 7.6H18V8.799999999999999H2zM2 4H18V5.2H2z"})),t):24===a||"24"===a||"24px"===a?m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...i},Le||(Le=m().createElement("path",{d:"M3 18H21V19.5H3zM3 13.5H21V15H3zM3 9H21V10.5H3zM3 4.5H21V6H3z"})),t):m().createElement(Ce.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},He||(He=m().createElement("path",{d:"M4 6H28V8H4zM4 24H28V26H4zM4 12H28V14H4zM4 18H28V20H4z"})),t)}));var qe,Ve;function Ue(e){let{"aria-label":n,"aria-labelledby":t,className:a,renderMenuIcon:i,renderCloseIcon:r,isActive:o,isCollapsible:l,...s}=e;const c=_(),p=$()({..."string"==typeof a&&{[a]:!!a},[`${c}--header__action`]:!0,[`${c}--header__menu-trigger`]:!0,[`${c}--header__action--active`]:o,[`${c}--header__menu-toggle`]:!0,[`${c}--header__menu-toggle__hidden`]:!l}),u=i||qe||(qe=m().createElement(Fe,{size:20})),d=r||Ve||(Ve=m().createElement(W.x8,{size:20}));return m().createElement("button",f({},s,{"aria-label":n,"aria-labelledby":t,className:p,title:n,type:"button"}),o?d:u)}Ue.propTypes={...Se,className:h().string,isActive:h().bool,isCollapsible:h().bool,onClick:h().func};const Ge=()=>{},Ze=m().forwardRef((function(e,n){let{children:t,className:a,expanded:i,addFocusListeners:r=!0,onHeaderPanelFocus:o=Ge,href:l,...s}=e;const c=_(),p=(0,y.useRef)(null),u=A([p,n]),d=(0,y.useRef)(void 0!==i).current,[g,h]=(0,y.useState)(i),b=d?i:g,[v,w]=(0,y.useState)(null),k=$()(`${c}--header-panel`,{[`${c}--header-panel--expanded`]:b,[a]:!!a}),C={};return r&&(C.onBlur=e=>{e.currentTarget.contains(e.relatedTarget)||v?.classList?.contains("cds--switcher__item-link")||(h(!1),w(null),i&&o())},C.onKeyDown=e=>{L(e,R)&&(h(!1),o(),l&&(window.location.href=l))}),x("click",(()=>{const e=document.activeElement;w(e),"Switcher"!==t.type?.displayName||e?.closest(`.${c}--header-panel--expanded`)||e?.closest(`.${c}--header__action`)||u?.current?.classList.contains(`${c}--switcher`)||!i||(h(!1),o())})),m().createElement("div",f({},s,{className:k,ref:u},C),t)}));Ze.propTypes={addFocusListeners:h().bool,children:h().node,className:h().string,expanded:h().bool,href:h().string,onHeaderPanelFocus:h().func},Ze.displayName="HeaderPanel";var We=Ze;const Ye=m().forwardRef((function(e,n){const t=(0,y.useRef)(null),a=A([t,n]),i=_(),{"aria-label":r,"aria-labelledby":o,className:l,children:s,expanded:c}=e,p={"aria-label":r,"aria-labelledby":o},u=$()(`${i}--switcher`,{[l]:!!l}),d=e=>{let{currentIndex:n,direction:a}=e;const i=m().Children.toArray(s).reduce(((e,n,t)=>(0!==Object.keys(n.props).length&&e.push(t),e)),[]),r=(()=>{const e=i.indexOf(n)+a;return void 0===i[e]?-1===a?i[i.length-1]:0:i[e]})(),o=t.current.children[r].children[0];o?.focus()},g=m().Children.toArray(s).map(((e,n)=>"SwitcherItem"===e.type?.displayName?m().cloneElement(e,{handleSwitcherItemFocus:d,index:n,key:n,expanded:c}):m().cloneElement(e,{index:n,key:n,expanded:c})));return m().createElement("ul",f({ref:a,className:u},p),g)}));Ye.displayName="Switcher",Ye.propTypes={...Se,children:h().node.isRequired,className:h().string,expanded:h().bool};var Je=Ye;const Ke={};function Qe(e,n){let{element:t,as:a,isSideNavExpanded:i,...r}=e;const o=a??t??"a";return m().createElement(o,f({ref:n},r))}const Xe=(0,y.forwardRef)(Qe),en={as:h().elementType,element:function(e,n){return function(n,t,a){if(void 0!==n[t]){Ke[a]&&Ke[a][t]||(Ke[a]={...Ke[a],[t]:!0});for(var i=arguments.length,r=new Array(i>3?i-3:0),o=3;o<i;o++)r[o-3]=arguments[o];return e(n,t,a,...r)}}}(h().elementType),isSideNavExpanded:h().bool};Xe.displayName="Link",Xe.propTypes=en;const nn=m().forwardRef((function(e,n){let{"aria-label":t,"aria-labelledby":a,className:i,children:r,isSelected:o,expanded:l,tabIndex:s=(l?0:-1),index:c,handleSwitcherItemFocus:p,onKeyDown:u=(()=>{}),...d}=e;const g=_(),h=$()(`${g}--switcher__item`,{[i]:!!i}),y={"aria-label":t,"aria-labelledby":a},b=$()(`${g}--switcher__item-link`,{[`${g}--switcher__item-link--selected`]:o});return m().createElement("li",{className:h},m().createElement(Xe,f({onKeyDown:e=>{!function(e){L(e,q)&&(e.preventDefault(),p?.({currentIndex:c,direction:1})),L(e,F)&&(e.preventDefault(),p?.({currentIndex:c,direction:-1}))}(e),u(e)}},d,{ref:n,className:b,tabIndex:s},y),r))}));nn.displayName="SwitcherItem",nn.propTypes={...Se,children:h().node.isRequired,className:h().string,handleSwitcherItemFocus:h().func,index:h().number,onKeyDown:h().func,tabIndex:h().number};var tn=nn;const an=e=>{let{className:n,...t}=e;const a=_(),i=$()(`${a}--switcher__item--divider`,{[n]:!!n});return m().createElement("hr",f({},t,{className:i}))};an.propTypes={className:h().string};var rn=an},6939:(e,n)=>{"use strict";var t=Symbol.for("react.element");Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen");Symbol.for("react.module.reference"),n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}},1729:(e,n,t)=>{"use strict";e.exports=t(6939)},841:(e,n)=>{var t;!function(){"use strict";var a={}.hasOwnProperty;function i(){for(var e=[],n=0;n<arguments.length;n++){var t=arguments[n];if(t){var r=typeof t;if("string"===r||"number"===r)e.push(t);else if(Array.isArray(t)){if(t.length){var o=i.apply(null,t);o&&e.push(o)}}else if("object"===r){if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]")){e.push(t.toString());continue}for(var l in t)a.call(t,l)&&t[l]&&e.push(l)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(t=function(){return i}.apply(n,[]))||(e.exports=t)}()},5761:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}:root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__change-language-link__productiveHeading01___jiuiO{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-primary-navigation__change-language-link__productiveHeading02___Ty3T3{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-primary-navigation__change-language-link__bodyLong01___DZ1OC{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-primary-navigation__change-language-link__bodyShort01___31u07{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-primary-navigation__change-language-link__headerPanel___oYfNK{height:max-content}.-esm-primary-navigation__change-language-link__primaryNavContainer___aglci{height:var(--omrs-topnav-height)}.-esm-primary-navigation__change-language-link__panelItemContainer___HYYBs a{display:flex;align-items:center;justify-content:space-between}.-esm-primary-navigation__change-language-link__panelItemContainer___HYYBs div{display:flex;align-items:center}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./src/components/change-language/change-language-link.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CAHF,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,4EC+1BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD31BJ,4EC21BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CDv1BJ,mECu1BI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CDn1BJ,oECm1BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CD/0BJ,oEACE,kBAAA,CAGF,4EACE,gCAAA,CErBF,6EACE,YAAA,CACA,kBAAA,CACA,6BAAA,CAGF,+EACE,YAAA,CACA,kBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/styles/scss/type';\n@import '~@openmrs/esm-styleguide/src/vars';\n\n.productiveHeading01 {\n @include type.type-style('heading-compact-01');\n}\n\n.productiveHeading02 {\n @include type.type-style('heading-compact-02');\n}\n\n.bodyLong01 {\n @include type.type-style('body-01');\n}\n\n.bodyShort01 {\n @include type.type-style('body-compact-01');\n}\n\n.headerPanel {\n height: max-content;\n}\n\n.primaryNavContainer {\n height: var(--omrs-topnav-height);\n}\n","//\n// Copyright IBM Corp. 2018, 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","@import '~@openmrs/esm-styleguide/src/vars';\n@import '../../root.scss';\n\n.panelItemContainer a {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.panelItemContainer div {\n display: flex;\n align-items: center;\n}\n"],sourceRoot:""}]),o.locals={productiveHeading01:"-esm-primary-navigation__change-language-link__productiveHeading01___jiuiO",productiveHeading02:"-esm-primary-navigation__change-language-link__productiveHeading02___Ty3T3",bodyLong01:"-esm-primary-navigation__change-language-link__bodyLong01___DZ1OC",bodyShort01:"-esm-primary-navigation__change-language-link__bodyShort01___31u07",headerPanel:"-esm-primary-navigation__change-language-link__headerPanel___oYfNK",primaryNavContainer:"-esm-primary-navigation__change-language-link__primaryNavContainer___aglci",panelItemContainer:"-esm-primary-navigation__change-language-link__panelItemContainer___HYYBs"};const l=o},2727:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,".-esm-primary-navigation__logo__logo___ohiCI{display:flex;align-items:center}","",{version:3,sources:["webpack://./src/components/logo/logo.scss"],names:[],mappings:"AAAA,6CACE,YAAA,CACA,kBAAA",sourcesContent:[".logo {\n display: flex;\n align-items: center;\n}\n"],sourceRoot:""}]),o.locals={logo:"-esm-primary-navigation__logo__logo___ohiCI"};const l=o},8815:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__app-menu-panel__productiveHeading01___tBqf1,.-esm-primary-navigation__app-menu-panel__menuLink___a9Ems a{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-primary-navigation__app-menu-panel__productiveHeading02___dJ0\\+Z{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-primary-navigation__app-menu-panel__bodyLong01___BmbrX{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-primary-navigation__app-menu-panel__bodyShort01___uxcw5{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-primary-navigation__app-menu-panel__headerPanel___MYCrp{height:max-content}.-esm-primary-navigation__app-menu-panel__primaryNavContainer___NqUGq{height:var(--omrs-topnav-height)}.-esm-primary-navigation__app-menu-panel__menuLink___a9Ems a{display:flex;padding:1rem;height:3rem;width:100%;text-decoration:none;color:#fff;background-color:rgba(0,0,0,0)}.-esm-primary-navigation__app-menu-panel__menuLink___a9Ems a:hover{background-color:#005d5d;background-color:var(--brand-01)}.-esm-primary-navigation__app-menu-panel__externalLinks___nAD1P{border-top:1px solid;border-top-color:#007d79;border-top-color:var(--brand-03)}.-esm-primary-navigation__app-menu-panel__launchIcon___wn5Qn{margin-left:.5rem}.-esm-primary-navigation__app-menu-panel__headerPanel___MYCrp{width:fit-content}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./src/components/navbar-header-panels/app-menu-panel.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,mIC+1BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD31BJ,uEC21BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CDv1BJ,6DCu1BI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CDn1BJ,8DCm1BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CD/0BJ,8DACE,kBAAA,CAGF,sEACE,gCAAA,CErBF,6DACE,YAAA,CACA,YAAA,CACA,WAAA,CACA,UAAA,CACA,oBAAA,CACA,UHRM,CGSN,8BAAA,CAIF,mEHwBE,wBAAA,CACA,gCAAA,CGrBF,gEACE,oBAAA,CH6BA,wBAAA,CACA,gCAAA,CG1BF,6DACE,iBCHW,CDMb,8DACE,iBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/styles/scss/type';\n@import '~@openmrs/esm-styleguide/src/vars';\n\n.productiveHeading01 {\n @include type.type-style('heading-compact-01');\n}\n\n.productiveHeading02 {\n @include type.type-style('heading-compact-02');\n}\n\n.bodyLong01 {\n @include type.type-style('body-01');\n}\n\n.bodyShort01 {\n @include type.type-style('body-compact-01');\n}\n\n.headerPanel {\n height: max-content;\n}\n\n.primaryNavContainer {\n height: var(--omrs-topnav-height);\n}\n","//\n// Copyright IBM Corp. 2018, 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","@use '@carbon/styles/scss/spacing';\n@import '../../root.scss';\n\n.menuLink a {\n display: flex;\n padding: 1rem;\n height: 3rem;\n width: 100%;\n text-decoration: none;\n color: $ui-02;\n background-color: transparent;\n @extend .productiveHeading01;\n}\n\n.menuLink a:hover {\n @include brand-01(background-color);\n}\n\n.externalLinks {\n border-top: 1px solid;\n @include brand-03(border-top-color);\n}\n\n.launchIcon {\n margin-left: spacing.$spacing-03;\n}\n\n.headerPanel {\n width: fit-content;\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:""}]),o.locals={productiveHeading01:"-esm-primary-navigation__app-menu-panel__productiveHeading01___tBqf1",menuLink:"-esm-primary-navigation__app-menu-panel__menuLink___a9Ems",productiveHeading02:"-esm-primary-navigation__app-menu-panel__productiveHeading02___dJ0+Z",bodyLong01:"-esm-primary-navigation__app-menu-panel__bodyLong01___BmbrX",bodyShort01:"-esm-primary-navigation__app-menu-panel__bodyShort01___uxcw5",headerPanel:"-esm-primary-navigation__app-menu-panel__headerPanel___MYCrp",primaryNavContainer:"-esm-primary-navigation__app-menu-panel__primaryNavContainer___NqUGq",externalLinks:"-esm-primary-navigation__app-menu-panel__externalLinks___nAD1P",launchIcon:"-esm-primary-navigation__app-menu-panel__launchIcon___wn5Qn"};const l=o},7726:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,"","",{version:3,sources:[],names:[],mappings:"",sourceRoot:""}]),o.locals={};const l=o},8078:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}:root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__user-menu-panel__productiveHeading01___Uy8r1{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-primary-navigation__user-menu-panel__productiveHeading02___fKR\\+G{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-primary-navigation__user-menu-panel__bodyLong01___oLvR5,.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item-link{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-primary-navigation__user-menu-panel__bodyShort01___\\+pvMU{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-primary-navigation__user-menu-panel__headerPanel___2HerO{height:max-content}.-esm-primary-navigation__user-menu-panel__primaryNavContainer___uYItf{height:var(--omrs-topnav-height)}.-esm-primary-navigation__user-menu-panel__headerPanel___2HerO{transition:none}.-esm-primary-navigation__user-menu-panel__fullWidth___-RAMU{width:100%}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH{padding-top:1rem;align-items:start}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item{height:3rem}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item:first-child{margin-top:0}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item-link{display:flex;align-items:center;color:#f4f4f4;padding:0;height:3rem}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item-link:hover:not(.-esm-primary-navigation__user-menu-panel__cds--switcher__item-link--selected___E2WII){color:#f4f4f4;background-color:#004144;background-color:var(--brand-02)}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item svg{margin:0rem .75rem;fill:#f4f4f4;flex-shrink:0}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item button{color:#78a9ff}.-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH .cds--switcher__item button:hover{background-color:#007d79;background-color:var(--brand-03);color:#78a9ff}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./src/components/navbar-header-panels/user-menu-panel.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CAHF,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,uEC+1BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD31BJ,wEC21BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CDv1BJ,6JCu1BI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CDn1BJ,gECm1BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CD/0BJ,+DACE,kBAAA,CAGF,uEACE,gCAAA,CErBF,+DACE,eAAA,CAGF,6DACE,UAAA,CAGF,qEACE,gBAAA,CACA,iBAAA,CAGF,0FACE,WAAA,CAGF,sGACE,YAAA,CAGF,+FACE,YAAA,CACA,kBAAA,CACA,aHLS,CGMT,SAAA,CACA,WAAA,CAIF,gMACE,aHZS,CAqBT,wBAAA,CACA,gCAAA,CGNF,8FACE,kBAAA,CACA,YHlBS,CGmBT,aAAA,CAGF,iGACE,aH9Ba,CGiCf,uGAAA,wBAAA,CHCE,gCAAA,CGCA,aHnCa",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/styles/scss/type';\n@import '~@openmrs/esm-styleguide/src/vars';\n\n.productiveHeading01 {\n @include type.type-style('heading-compact-01');\n}\n\n.productiveHeading02 {\n @include type.type-style('heading-compact-02');\n}\n\n.bodyLong01 {\n @include type.type-style('body-01');\n}\n\n.bodyShort01 {\n @include type.type-style('body-compact-01');\n}\n\n.headerPanel {\n height: max-content;\n}\n\n.primaryNavContainer {\n height: var(--omrs-topnav-height);\n}\n","//\n// Copyright IBM Corp. 2018, 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","@import '~@openmrs/esm-styleguide/src/vars';\n@import '../../root.scss';\n\n.headerPanel {\n transition: none;\n}\n\n.fullWidth {\n width: 100%;\n}\n\n.userPanelSwitcher {\n padding-top: 1rem;\n align-items: start;\n}\n\n.userPanelSwitcher :global(.cds--switcher__item) {\n height: 3rem;\n}\n\n.userPanelSwitcher :global(.cds--switcher__item:first-child) {\n margin-top: 0;\n}\n\n.userPanelSwitcher :global(.cds--switcher__item-link) {\n display: flex;\n align-items: center;\n color: $field-01;\n padding: 0;\n height: 3rem;\n @extend .bodyLong01;\n}\n\n.userPanelSwitcher :global(.cds--switcher__item-link):hover:not(.cds--switcher__item-link--selected) {\n color: $field-01;\n @include brand-02(background-color);\n}\n\n.userPanelSwitcher :global(.cds--switcher__item) svg {\n margin: 0rem 0.75rem;\n fill: $field-01;\n flex-shrink: 0;\n}\n\n.userPanelSwitcher :global(.cds--switcher__item) button {\n color: $inverse-link;\n}\n\n.userPanelSwitcher :global(.cds--switcher__item) button:hover {\n @include brand-03(background-color);\n color: $inverse-link;\n}\n"],sourceRoot:""}]),o.locals={productiveHeading01:"-esm-primary-navigation__user-menu-panel__productiveHeading01___Uy8r1",productiveHeading02:"-esm-primary-navigation__user-menu-panel__productiveHeading02___fKR+G",bodyLong01:"-esm-primary-navigation__user-menu-panel__bodyLong01___oLvR5",userPanelSwitcher:"-esm-primary-navigation__user-menu-panel__userPanelSwitcher___7VTNH",bodyShort01:"-esm-primary-navigation__user-menu-panel__bodyShort01___+pvMU",headerPanel:"-esm-primary-navigation__user-menu-panel__headerPanel___2HerO",primaryNavContainer:"-esm-primary-navigation__user-menu-panel__primaryNavContainer___uYItf",fullWidth:"-esm-primary-navigation__user-menu-panel__fullWidth___-RAMU","cds--switcher__item-link--selected":"-esm-primary-navigation__user-menu-panel__cds--switcher__item-link--selected___E2WII"};const l=o},3205:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__navbar__topNavActionsSlot___uRmEM{display:flex;align-items:center}.-esm-primary-navigation__navbar__topNavActionsSlot___uRmEM a{color:#fff;text-decoration:none;margin:0 .75rem}.-esm-primary-navigation__navbar__headerGlobalBarButton___a1LgV{background-color:#004144;background-color:var(--brand-02)}.-esm-primary-navigation__navbar__topNavHeader___HyHf4{top:var(--omrs-offline-banner-height)}.-esm-primary-navigation__navbar__activePanel___QUwvm{background-color:#005d5d;background-color:var(--brand-01)}.-esm-primary-navigation__navbar__headerMenuButton___k6m5W{height:3rem;width:3rem;padding:.75rem;margin-right:.25rem}.-esm-primary-navigation__navbar__spacedLogo___P2WIw{margin-left:1rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/components/navbar/navbar.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,4DACE,YAAA,CACA,kBAAA,CAGF,8DACE,UAAA,CACA,oBAAA,CACA,eAAA,CAGF,gED6BE,wBAAA,CACA,gCAAA,CC1BF,uDACE,qCAAA,CAGF,sDDgBE,wBAAA,CACA,gCAAA,CCbF,2DACE,WCwBW,CDvBX,UCuBW,CDtBX,cCHW,CDIX,mBCdW,CDiBb,qDACE,gBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/styles/scss/spacing';\n@import '~@openmrs/esm-styleguide/src/vars';\n\n.topNavActionsSlot {\n display: flex;\n align-items: center;\n}\n\n.topNavActionsSlot a {\n color: white;\n text-decoration: none;\n margin: 0 0.75rem;\n}\n\n.headerGlobalBarButton {\n @include brand-02(background-color);\n}\n\n.topNavHeader {\n top: var(--omrs-offline-banner-height);\n}\n\n.activePanel {\n @include brand-01(background-color);\n}\n\n.headerMenuButton {\n height: spacing.$spacing-09;\n width: spacing.$spacing-09;\n padding: spacing.$spacing-04;\n margin-right: spacing.$spacing-02;\n}\n\n.spacedLogo {\n margin-left: 1rem;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 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:""}]),o.locals={topNavActionsSlot:"-esm-primary-navigation__navbar__topNavActionsSlot___uRmEM",headerGlobalBarButton:"-esm-primary-navigation__navbar__headerGlobalBarButton___a1LgV",topNavHeader:"-esm-primary-navigation__navbar__topNavHeader___HyHf4",activePanel:"-esm-primary-navigation__navbar__activePanel___QUwvm",headerMenuButton:"-esm-primary-navigation__navbar__headerMenuButton___k6m5W",spacedLogo:"-esm-primary-navigation__navbar__spacedLogo___P2WIw"};const l=o},6654:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__offline-banner__offlineBanner___YHODP{position:fixed;top:0;left:0;right:0;height:var(--omrs-offline-banner-height);background-color:#022b30;color:#fff;font-size:.875rem;display:flex;align-items:center;z-index:3}.-esm-primary-navigation__offline-banner__offlineIconContainer___Ed5PI{width:3rem;display:flex;justify-content:center}.-esm-primary-navigation__offline-banner__offlineNote___MlRaI{font-weight:bold}.-esm-primary-navigation__offline-banner__offlineLastUpdatedContainer___sVRB6{flex:auto;display:flex;justify-content:flex-end;align-items:flex-end;padding-right:1rem}.-esm-primary-navigation__offline-banner__lastUpdatedNote___3VK6L{color:#c6c6c6;font-size:.75rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/components/offline-banner/offline-banner.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCrDF,gEACE,cAAA,CACA,KAAA,CACA,MAAA,CACA,OAAA,CACA,wCAAA,CACA,wBAAA,CACA,UAAA,CACA,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,SAAA,CAGF,uEACE,UAAA,CACA,YAAA,CACA,sBAAA,CAGF,8DACE,gBAAA,CAGF,8EACE,SAAA,CACA,YAAA,CACA,wBAAA,CACA,oBAAA,CACA,kBAAA,CAGF,kEACE,aD3Bc,CC4Bd,gBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@import '~@openmrs/esm-styleguide/src/vars';\n\n.offlineBanner {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n height: var(--omrs-offline-banner-height);\n background-color: #022b30;\n color: white;\n font-size: 0.875rem;\n display: flex;\n align-items: center;\n z-index: 3;\n}\n\n.offlineIconContainer {\n width: 3rem;\n display: flex;\n justify-content: center;\n}\n\n.offlineNote {\n font-weight: bold;\n}\n\n.offlineLastUpdatedContainer {\n flex: auto;\n display: flex;\n justify-content: flex-end;\n align-items: flex-end;\n padding-right: 1rem;\n}\n\n.lastUpdatedNote {\n color: $color-gray-30;\n font-size: 0.75rem;\n}\n"],sourceRoot:""}]),o.locals={offlineBanner:"-esm-primary-navigation__offline-banner__offlineBanner___YHODP",offlineIconContainer:"-esm-primary-navigation__offline-banner__offlineIconContainer___Ed5PI",offlineNote:"-esm-primary-navigation__offline-banner__offlineNote___MlRaI",offlineLastUpdatedContainer:"-esm-primary-navigation__offline-banner__offlineLastUpdatedContainer___sVRB6",lastUpdatedNote:"-esm-primary-navigation__offline-banner__lastUpdatedNote___3VK6L"};const l=o},5547:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var a=t(9233),i=t.n(a),r=t(361),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__root__productiveHeading01___tScBJ{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-primary-navigation__root__productiveHeading02___2lV0H{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-primary-navigation__root__bodyLong01___vRBQA{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-primary-navigation__root__bodyShort01___my9xZ{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-primary-navigation__root__headerPanel___c17aL{height:max-content}.-esm-primary-navigation__root__primaryNavContainer___TLM40{height:var(--omrs-topnav-height)}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpDF,4DC+1BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD31BJ,4DC21BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CDv1BJ,mDCu1BI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CDn1BJ,oDCm1BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CD/0BJ,oDACE,kBAAA,CAGF,4DACE,gCAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/styles/scss/type';\n@import '~@openmrs/esm-styleguide/src/vars';\n\n.productiveHeading01 {\n @include type.type-style('heading-compact-01');\n}\n\n.productiveHeading02 {\n @include type.type-style('heading-compact-02');\n}\n\n.bodyLong01 {\n @include type.type-style('body-01');\n}\n\n.bodyShort01 {\n @include type.type-style('body-compact-01');\n}\n\n.headerPanel {\n height: max-content;\n}\n\n.primaryNavContainer {\n height: var(--omrs-topnav-height);\n}\n","//\n// Copyright IBM Corp. 2018, 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:""}]),o.locals={productiveHeading01:"-esm-primary-navigation__root__productiveHeading01___tScBJ",productiveHeading02:"-esm-primary-navigation__root__productiveHeading02___2lV0H",bodyLong01:"-esm-primary-navigation__root__bodyLong01___vRBQA",bodyShort01:"-esm-primary-navigation__root__bodyShort01___my9xZ",headerPanel:"-esm-primary-navigation__root__headerPanel___c17aL",primaryNavContainer:"-esm-primary-navigation__root__primaryNavContainer___TLM40"};const l=o},361:e=>{"use strict";e.exports=function(e){var n=[];return n.toString=function(){return this.map((function(n){var t=e(n);return n[2]?"@media ".concat(n[2]," {").concat(t,"}"):t})).join("")},n.i=function(e,t,a){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(a)for(var r=0;r<this.length;r++){var o=this[r][0];null!=o&&(i[o]=!0)}for(var l=0;l<e.length;l++){var s=[].concat(e[l]);a&&i[s[0]]||(t&&(s[2]?s[2]="".concat(t," and ").concat(s[2]):s[2]=t),n.push(s))}},n}},9233:e=>{"use strict";function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}e.exports=function(e){var t,a,i=(a=4,function(e){if(Array.isArray(e))return e}(t=e)||function(e,n){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(t,a)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=i[1],o=i[3];if(!o)return r;if("function"==typeof btoa){var l=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),c="/*# ".concat(s," */"),p=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(p).concat([c]).join("\n")}return[r].join("\n")}},881:(e,n,t)=>{e=t.nmd(e);var a="__lodash_hash_undefined__",i=1,r=2,o=1/0,l=9007199254740991,s="[object Arguments]",c="[object Array]",p="[object Boolean]",u="[object Date]",d="[object Error]",f="[object Function]",g="[object GeneratorFunction]",h="[object Map]",y="[object Number]",m="[object Object]",b="[object Promise]",$="[object RegExp]",v="[object Set]",A="[object String]",w="[object Symbol]",_="[object WeakMap]",x="[object ArrayBuffer]",k="[object DataView]",C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,z=/^\w*$/,E=/^\./,M=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,N=/^\s+|\s+$/g,S=/\\(\\)?/g,T=/^[-+]0x[0-9a-f]+$/i,B=/^0b[01]+$/i,O=/^\[object .+?Constructor\]$/,I=/^0o[0-7]+$/i,D=/^(?:0|[1-9]\d*)$/,P={};P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P[s]=P[c]=P[x]=P[p]=P[k]=P[u]=P[d]=P[f]=P[h]=P[y]=P[m]=P[$]=P[v]=P[A]=P[_]=!1;var L=parseInt,H="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g,R="object"==typeof self&&self&&self.Object===Object&&self,j=H||R||Function("return this")(),F=n&&!n.nodeType&&n,q=F&&e&&!e.nodeType&&e,V=q&&q.exports===F&&H.process,U=function(){try{return V&&V.binding("util")}catch(e){}}(),G=U&&U.isTypedArray;function Z(e,n){for(var t=-1,a=e?e.length:0;++t<a;)if(n(e[t],t,e))return!0;return!1}function W(e){var n=!1;if(null!=e&&"function"!=typeof e.toString)try{n=!!(e+"")}catch(e){}return n}function Y(e){var n=-1,t=Array(e.size);return e.forEach((function(e,a){t[++n]=[a,e]})),t}function J(e){var n=-1,t=Array(e.size);return e.forEach((function(e){t[++n]=e})),t}var K,Q,X,ee=Array.prototype,ne=Function.prototype,te=Object.prototype,ae=j["__core-js_shared__"],ie=(K=/[^.]+$/.exec(ae&&ae.keys&&ae.keys.IE_PROTO||""))?"Symbol(src)_1."+K:"",re=ne.toString,oe=te.hasOwnProperty,le=te.toString,se=RegExp("^"+re.call(oe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ce=j.Symbol,pe=j.Uint8Array,ue=te.propertyIsEnumerable,de=ee.splice,fe=(Q=Object.keys,X=Object,function(e){return Q(X(e))}),ge=Math.max,he=Math.min,ye=qe(j,"DataView"),me=qe(j,"Map"),be=qe(j,"Promise"),$e=qe(j,"Set"),ve=qe(j,"WeakMap"),Ae=qe(Object,"create"),we=Ke(ye),_e=Ke(me),xe=Ke(be),ke=Ke($e),Ce=Ke(ve),ze=ce?ce.prototype:void 0,Ee=ze?ze.valueOf:void 0,Me=ze?ze.toString:void 0;function Ne(e){var n=-1,t=e?e.length:0;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}function Se(e){var n=-1,t=e?e.length:0;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}function Te(e){var n=-1,t=e?e.length:0;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}function Be(e){var n=-1,t=e?e.length:0;for(this.__data__=new Te;++n<t;)this.add(e[n])}function Oe(e){this.__data__=new Se(e)}function Ie(e,n){for(var t=e.length;t--;)if(nn(e[t][0],n))return t;return-1}function De(e,n){for(var t=0,a=(n=Ge(n,e)?[n]:Re(n)).length;null!=e&&t<a;)e=e[Je(n[t++])];return t&&t==a?e:void 0}function Pe(e,n){return null!=e&&n in Object(e)}function Le(e,n,t,a,o){return e===n||(null==e||null==n||!sn(e)&&!cn(n)?e!=e&&n!=n:function(e,n,t,a,o,l){var f=an(e),g=an(n),b=c,_=c;f||(b=(b=Ve(e))==s?m:b),g||(_=(_=Ve(n))==s?m:_);var C=b==m&&!W(e),z=_==m&&!W(n),E=b==_;if(E&&!C)return l||(l=new Oe),f||un(e)?je(e,n,t,a,o,l):function(e,n,t,a,o,l,s){switch(t){case k:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case x:return!(e.byteLength!=n.byteLength||!a(new pe(e),new pe(n)));case p:case u:case y:return nn(+e,+n);case d:return e.name==n.name&&e.message==n.message;case $:case A:return e==n+"";case h:var c=Y;case v:var f=l&r;if(c||(c=J),e.size!=n.size&&!f)return!1;var g=s.get(e);if(g)return g==n;l|=i,s.set(e,n);var m=je(c(e),c(n),a,o,l,s);return s.delete(e),m;case w:if(Ee)return Ee.call(e)==Ee.call(n)}return!1}(e,n,b,t,a,o,l);if(!(o&r)){var M=C&&oe.call(e,"__wrapped__"),N=z&&oe.call(n,"__wrapped__");if(M||N){var S=M?e.value():e,T=N?n.value():n;return l||(l=new Oe),t(S,T,a,o,l)}}return!!E&&(l||(l=new Oe),function(e,n,t,a,i,o){var l=i&r,s=dn(e),c=s.length;if(c!=dn(n).length&&!l)return!1;for(var p=c;p--;){var u=s[p];if(!(l?u in n:oe.call(n,u)))return!1}var d=o.get(e);if(d&&o.get(n))return d==n;var f=!0;o.set(e,n),o.set(n,e);for(var g=l;++p<c;){var h=e[u=s[p]],y=n[u];if(a)var m=l?a(y,h,u,n,e,o):a(h,y,u,e,n,o);if(!(void 0===m?h===y||t(h,y,a,i,o):m)){f=!1;break}g||(g="constructor"==u)}if(f&&!g){var b=e.constructor,$=n.constructor;b==$||!("constructor"in e)||!("constructor"in n)||"function"==typeof b&&b instanceof b&&"function"==typeof $&&$ instanceof $||(f=!1)}return o.delete(e),o.delete(n),f}(e,n,t,a,o,l))}(e,n,Le,t,a,o))}function He(e){return"function"==typeof e?e:null==e?fn:"object"==typeof e?an(e)?function(e,n){return Ge(e)&&Ze(n)?We(Je(e),n):function(t){var a=function(e,n,t){var a=null==e?void 0:De(e,n);return void 0===a?void 0:a}(t,e);return void 0===a&&a===n?function(e,n){return null!=e&&function(e,n,t){for(var a,i=-1,r=(n=Ge(n,e)?[n]:Re(n)).length;++i<r;){var o=Je(n[i]);if(!(a=null!=e&&t(e,o)))break;e=e[o]}return a||!!(r=e?e.length:0)&&ln(r)&&Ue(o,r)&&(an(e)||tn(e))}(e,n,Pe)}(t,e):Le(n,a,void 0,i|r)}}(e[0],e[1]):(t=function(e){for(var n=dn(e),t=n.length;t--;){var a=n[t],i=e[a];n[t]=[a,i,Ze(i)]}return n}(n=e),1==t.length&&t[0][2]?We(t[0][0],t[0][1]):function(e){return e===n||function(e,n,t,a){var o=t.length,l=o;if(null==e)return!l;for(e=Object(e);o--;){var s=t[o];if(s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<l;){var c=(s=t[o])[0],p=e[c],u=s[1];if(s[2]){if(void 0===p&&!(c in e))return!1}else{var d,f=new Oe;if(!(void 0===d?Le(u,p,a,i|r,f):d))return!1}}return!0}(e,0,t)}):Ge(a=e)?(o=Je(a),function(e){return null==e?void 0:e[o]}):function(e){return function(n){return De(n,e)}}(a);var n,t,a,o}function Re(e){return an(e)?e:Ye(e)}function je(e,n,t,a,o,l){var s=o&r,c=e.length,p=n.length;if(c!=p&&!(s&&p>c))return!1;var u=l.get(e);if(u&&l.get(n))return u==n;var d=-1,f=!0,g=o&i?new Be:void 0;for(l.set(e,n),l.set(n,e);++d<c;){var h=e[d],y=n[d];if(a)var m=s?a(y,h,d,n,e,l):a(h,y,d,e,n,l);if(void 0!==m){if(m)continue;f=!1;break}if(g){if(!Z(n,(function(e,n){if(!g.has(n)&&(h===e||t(h,e,a,o,l)))return g.add(n)}))){f=!1;break}}else if(h!==y&&!t(h,y,a,o,l)){f=!1;break}}return l.delete(e),l.delete(n),f}function Fe(e,n){var t,a,i=e.__data__;return("string"==(a=typeof(t=n))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==t:null===t)?i["string"==typeof n?"string":"hash"]:i.map}function qe(e,n){var t=function(e,n){return null==e?void 0:e[n]}(e,n);return function(e){return!(!sn(e)||function(e){return!!ie&&ie in e}(e))&&(on(e)||W(e)?se:O).test(Ke(e))}(t)?t:void 0}Ne.prototype.clear=function(){this.__data__=Ae?Ae(null):{}},Ne.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Ne.prototype.get=function(e){var n=this.__data__;if(Ae){var t=n[e];return t===a?void 0:t}return oe.call(n,e)?n[e]:void 0},Ne.prototype.has=function(e){var n=this.__data__;return Ae?void 0!==n[e]:oe.call(n,e)},Ne.prototype.set=function(e,n){return this.__data__[e]=Ae&&void 0===n?a:n,this},Se.prototype.clear=function(){this.__data__=[]},Se.prototype.delete=function(e){var n=this.__data__,t=Ie(n,e);return!(t<0||(t==n.length-1?n.pop():de.call(n,t,1),0))},Se.prototype.get=function(e){var n=this.__data__,t=Ie(n,e);return t<0?void 0:n[t][1]},Se.prototype.has=function(e){return Ie(this.__data__,e)>-1},Se.prototype.set=function(e,n){var t=this.__data__,a=Ie(t,e);return a<0?t.push([e,n]):t[a][1]=n,this},Te.prototype.clear=function(){this.__data__={hash:new Ne,map:new(me||Se),string:new Ne}},Te.prototype.delete=function(e){return Fe(this,e).delete(e)},Te.prototype.get=function(e){return Fe(this,e).get(e)},Te.prototype.has=function(e){return Fe(this,e).has(e)},Te.prototype.set=function(e,n){return Fe(this,e).set(e,n),this},Be.prototype.add=Be.prototype.push=function(e){return this.__data__.set(e,a),this},Be.prototype.has=function(e){return this.__data__.has(e)},Oe.prototype.clear=function(){this.__data__=new Se},Oe.prototype.delete=function(e){return this.__data__.delete(e)},Oe.prototype.get=function(e){return this.__data__.get(e)},Oe.prototype.has=function(e){return this.__data__.has(e)},Oe.prototype.set=function(e,n){var t=this.__data__;if(t instanceof Se){var a=t.__data__;if(!me||a.length<199)return a.push([e,n]),this;t=this.__data__=new Te(a)}return t.set(e,n),this};var Ve=function(e){return le.call(e)};function Ue(e,n){return!!(n=null==n?l:n)&&("number"==typeof e||D.test(e))&&e>-1&&e%1==0&&e<n}function Ge(e,n){if(an(e))return!1;var t=typeof e;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=e&&!pn(e))||z.test(e)||!C.test(e)||null!=n&&e in Object(n)}function Ze(e){return e==e&&!sn(e)}function We(e,n){return function(t){return null!=t&&t[e]===n&&(void 0!==n||e in Object(t))}}(ye&&Ve(new ye(new ArrayBuffer(1)))!=k||me&&Ve(new me)!=h||be&&Ve(be.resolve())!=b||$e&&Ve(new $e)!=v||ve&&Ve(new ve)!=_)&&(Ve=function(e){var n=le.call(e),t=n==m?e.constructor:void 0,a=t?Ke(t):void 0;if(a)switch(a){case we:return k;case _e:return h;case xe:return b;case ke:return v;case Ce:return _}return n});var Ye=en((function(e){var n;e=null==(n=e)?"":function(e){if("string"==typeof e)return e;if(pn(e))return Me?Me.call(e):"";var n=e+"";return"0"==n&&1/e==-o?"-0":n}(n);var t=[];return E.test(e)&&t.push(""),e.replace(M,(function(e,n,a,i){t.push(a?i.replace(S,"$1"):n||e)})),t}));function Je(e){if("string"==typeof e||pn(e))return e;var n=e+"";return"0"==n&&1/e==-o?"-0":n}function Ke(e){if(null!=e){try{return re.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Qe,Xe=(Qe=function(e,n,t){var a=e?e.length:0;if(!a)return-1;var i,r,l,s=a-1;return void 0!==t&&(r=(i=(l=t)?(l=function(e){if("number"==typeof e)return e;if(pn(e))return NaN;if(sn(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=sn(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(N,"");var t=B.test(e);return t||I.test(e)?L(e.slice(2),t?2:8):T.test(e)?NaN:+e}(l))===o||l===-o?17976931348623157e292*(l<0?-1:1):l==l?l:0:0===l?l:0)%1,s=i==i?r?i-r:i:0,s=t<0?ge(a+s,0):he(s,a-1)),function(e,n,t,a){e.length;for(var i=t+1;i--;)if(n(e[i],i,e))return i;return-1}(e,He(n),s)},function(e,n,t){var a=Object(e);if(!rn(e)){var i=He(n);e=dn(e),n=function(e){return i(a[e],e,a)}}var r=Qe(e,n,t);return r>-1?a[i?e[r]:r]:void 0});function en(e,n){if("function"!=typeof e||n&&"function"!=typeof n)throw new TypeError("Expected a function");var t=function(){var a=arguments,i=n?n.apply(this,a):a[0],r=t.cache;if(r.has(i))return r.get(i);var o=e.apply(this,a);return t.cache=r.set(i,o),o};return t.cache=new(en.Cache||Te),t}function nn(e,n){return e===n||e!=e&&n!=n}function tn(e){return function(e){return cn(e)&&rn(e)}(e)&&oe.call(e,"callee")&&(!ue.call(e,"callee")||le.call(e)==s)}en.Cache=Te;var an=Array.isArray;function rn(e){return null!=e&&ln(e.length)&&!on(e)}function on(e){var n=sn(e)?le.call(e):"";return n==f||n==g}function ln(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function sn(e){var n=typeof e;return!!e&&("object"==n||"function"==n)}function cn(e){return!!e&&"object"==typeof e}function pn(e){return"symbol"==typeof e||cn(e)&&le.call(e)==w}var un=G?function(e){return function(n){return e(n)}}(G):function(e){return cn(e)&&ln(e.length)&&!!P[le.call(e)]};function dn(e){return rn(e)?function(e,n){var t=an(e)||tn(e)?function(e,n){for(var t=-1,a=Array(e);++t<e;)a[t]=n(t);return a}(e.length,String):[],a=t.length,i=!!a;for(var r in e)!n&&!oe.call(e,r)||i&&("length"==r||Ue(r,a))||t.push(r);return t}(e):function(e){if(t=(n=e)&&n.constructor,n!==("function"==typeof t&&t.prototype||te))return fe(e);var n,t,a=[];for(var i in Object(e))oe.call(e,i)&&"constructor"!=i&&a.push(i);return a}(e)}function fn(e){return e}e.exports=Xe},459:(e,n,t)=>{"use strict";var a=t(5704);function i(){}function r(){}r.resetWarningCache=i,e.exports=function(){function e(e,n,t,i,r,o){if(o!==a){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:i};return t.PropTypes=t,t}},216:(e,n,t)=>{e.exports=t(459)()},5704:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},487:e=>{"use strict";var n=[];function t(e){for(var t=-1,a=0;a<n.length;a++)if(n[a].identifier===e){t=a;break}return t}function a(e,a){for(var r={},o=[],l=0;l<e.length;l++){var s=e[l],c=a.base?s[0]+a.base:s[0],p=r[c]||0,u="".concat(c," ").concat(p);r[c]=p+1;var d=t(u),f={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==d)n[d].references++,n[d].updater(f);else{var g=i(f,a);a.byIndex=l,n.splice(l,0,{identifier:u,updater:g,references:1})}o.push(u)}return o}function i(e,n){var t=n.domAPI(n);return t.update(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap&&n.supports===e.supports&&n.layer===e.layer)return;t.update(e=n)}else t.remove()}}e.exports=function(e,i){var r=a(e=e||[],i=i||{});return function(e){e=e||[];for(var o=0;o<r.length;o++){var l=t(r[o]);n[l].references--}for(var s=a(e,i),c=0;c<r.length;c++){var p=t(r[c]);0===n[p].references&&(n[p].updater(),n.splice(p,1))}r=s}}},2052:e=>{"use strict";var n={};e.exports=function(e,t){var a=function(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}},1469:e=>{"use strict";e.exports=function(e){var n=document.createElement("style");return e.setAttributes(n,e.attributes),e.insert(n,e.options),n}},4010:(e,n,t)=>{"use strict";e.exports=function(e){var n=t.nc;n&&e.setAttribute("nonce",n)}},631:e=>{"use strict";e.exports=function(e){var n=e.insertStyleElement(e);return{update:function(t){!function(e,n,t){var a="";t.supports&&(a+="@supports (".concat(t.supports,") {")),t.media&&(a+="@media ".concat(t.media," {"));var i=void 0!==t.layer;i&&(a+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),a+=t.css,i&&(a+="}"),t.media&&(a+="}"),t.supports&&(a+="}");var r=t.sourceMap;r&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),n.styleTagTransform(a,e,n.options)}(n,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)}}}},9329:e=>{"use strict";e.exports=function(e,n){if(n.styleSheet)n.styleSheet.cssText=e;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(e))}}},1742:(e,n,t)=>{"use strict";t.d(n,{A:()=>s,I:()=>p});var a=t(8478),i=t(1217);function r(e,n,t,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(a,i)}function o(e){return function(){var n=this,t=arguments;return new Promise((function(a,i){var o=e.apply(n,t);function l(e){r(o,a,i,l,s,"next",e)}function s(e){r(o,a,i,l,s,"throw",e)}l(void 0)}))}}function l(e,n){var t,a,i,r,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(r){return function(l){return function(r){if(t)throw new TypeError("Generator is already executing.");for(;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=n.call(e,o)}catch(e){r=[6,e],a=0}finally{t=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,l])}}}function s(e,n,t){return c.apply(this,arguments)}function c(){return(c=o((function(e,n,t){return l(this,(function(i){switch(i.label){case 0:return[4,(0,a.openmrsFetch)("/ws/rest/v1/user/".concat(e),{method:"POST",body:{userProperties:n},headers:{"Content-Type":"application/json"},signal:t.signal})];case 1:return i.sent(),window.location.reload(),[2]}}))}))).apply(this,arguments)}function p(e,n){return u.apply(this,arguments)}function u(){return(u=o((function(e,n){return l(this,(function(t){switch(t.label){case 0:return[4,(0,a.queueSynchronizationItemFor)(e,i.O,n,{displayName:"User Language Change"})];case 1:return t.sent(),[2]}}))}))).apply(this,arguments)}},1217:(e,n,t)=>{"use strict";t.d(n,{O:()=>a,e:()=>i});var a="user-property-change",i="@openmrs/esm-primary-navigation-app"},958:(e,n,t)=>{"use strict";var a=t(4610),i=(a.Type.String,a.validators.isUrl,a.Type.String,a.Type.String,a.Type.String,a.Type.Array,a.Type.String,a.Type.String,a.validators.isUrl,t(1217));t(8478),t(1742);var r=t(5776),o=t.n(r),l=t(1763),s=t(841),c=t.n(s),p=t(5864),u=t(9177),d=t(3575),f=t(7414),g=function(e){return"small-desktop"===e||"large-desktop"===e},h=t(2680),y=t(6390),m=t(487),b=t.n(m),$=t(631),v=t.n($),A=t(2052),w=t.n(A),_=t(4010),x=t.n(_),k=t(1469),C=t.n(k),z=t(9329),E=t.n(z),M=t(8815),N={};N.styleTagTransform=E(),N.setAttributes=x(),N.insert=w().bind(null,"head"),N.domAPI=v(),N.insertStyleElement=C(),b()(M.Z,N);const S=M.Z&&M.Z.locals?M.Z.locals:void 0,T=function(e){var n,t,i,r,l,s=e.expanded,u=e.hidePanel,d=(0,a.useOnClickOutside)(u,s),f=(0,a.useConfig)(),g=(0,h.useTranslation)().t;return o().createElement(p.yh,{ref:d,className:c()((i={},r=S.headerPanel,l=s,r in i?Object.defineProperty(i,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):i[r]=l,i)),"aria-label":"App Menu Panel",expanded:s,onClick:function(){return u()}},o().createElement(a.ExtensionSlot,{className:S.menuLink,name:"app-menu-slot"}),(null==f||null===(n=f.externalRefLinks)||void 0===n?void 0:n.length)>0&&o().createElement("div",{className:c()(S.menuLink,S.externalLinks)},null==f||null===(t=f.externalRefLinks)||void 0===t?void 0:t.map((function(e){return o().createElement("a",{target:"_blank",rel:"noopener noreferrer",href:null==e?void 0:e.redirect},g(null==e?void 0:e.title),o().createElement(y.GI,{size:16,className:S.launchIcon}))}))))};var B=t(2727),O={};O.styleTagTransform=E(),O.setAttributes=x(),O.insert=w().bind(null,"head"),O.domAPI=v(),O.insertStyleElement=C(),b()(B.Z,O);const I=B.Z&&B.Z.locals?B.Z.locals:void 0,D=function(){var e=(0,a.useConfig)().logo;return o().createElement(o().Fragment,null,(null==e?void 0:e.src)?o().createElement("img",{className:I.logo,src:(0,a.interpolateUrl)(e.src),alt:e.alt,width:110,height:40}):(null==e?void 0:e.name)?e.name:o().createElement("svg",{role:"img",width:110,height:40},o().createElement("use",{xlinkHref:"#omrs-logo-white"})))};var P=t(7726),L={};L.styleTagTransform=E(),L.setAttributes=x(),L.insert=w().bind(null,"head"),L.domAPI=v(),L.insertStyleElement=C(),b()(P.Z,L);const H=P.Z&&P.Z.locals?P.Z.locals:void 0,R=function(e){var n=e.expanded,t=(0,h.useTranslation)().t,i=(0,r.useMemo)((function(){return{expanded:n}}),[n]);return o().createElement(p.yh,{"aria-label":"Notifications Panel",expanded:n},o().createElement("h1",{className:H.heading},t("notifications","Notifications")),o().createElement(a.ExtensionSlot,{name:"notifications-nav-menu-slot",state:i}))};var j=t(6654),F={};F.styleTagTransform=E(),F.setAttributes=x(),F.insert=w().bind(null,"head"),F.domAPI=v(),F.insertStyleElement=C(),b()(j.Z,F);const q=j.Z&&j.Z.locals?j.Z.locals:void 0;function V(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}const U=function(){var e=function(){var e,n,t=(e=o().useState(new Date),n=2,function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(e,n)||function(e,n){if(e){if("string"==typeof e)return V(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?V(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=t[0],r=t[1];return o().useEffect((function(){var e=null;return(0,a.subscribeConnectivity)((function(n){var t,a,i=n.online;!i&&e&&function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;localStorage.setItem("offline-last-updated",e.toISOString())}(),e=i,t=localStorage.getItem("offline-last-updated"),a=t?new Date(t):new Date,r(a)}))}),[]),i}();return o().createElement("aside",{className:q.offlineBanner},o().createElement("div",{className:q.offlineIconContainer},o().createElement(u.iY,{size:16})),o().createElement("span",{className:q.offlineNote},"Offline"),o().createElement("div",{className:q.offlineLastUpdatedContainer},o().createElement("span",{className:q.lastUpdatedNote},"Last updated: "),o().createElement("span",null,function(e){var n=e.toLocaleDateString(void 0,{day:"numeric",month:"short",year:"numeric"}),t=e.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit"});return"".concat(n," @ ").concat(t)}(e))))};var G=t(8078),Z={};Z.styleTagTransform=E(),Z.setAttributes=x(),Z.insert=w().bind(null,"head"),Z.domAPI=v(),Z.insertStyleElement=C(),b()(G.Z,Z);const W=G.Z&&G.Z.locals?G.Z.locals:void 0,Y=function(e){var n=e.expanded,t=e.hidePanel,i=(0,a.useOnClickOutside)(t,n);return o().createElement(p.yh,{ref:i,className:W.headerPanel,expanded:n,"aria-label":"Location","aria-labelledby":"Location Icon"},o().createElement(p.T5f,{className:W.userPanelSwitcher,"aria-label":"Switcher Container"},o().createElement(a.ExtensionSlot,{className:W.fullWidth,name:"user-panel-slot"}),o().createElement(p.GQc,{className:W.divider}),o().createElement(a.ExtensionSlot,{className:W.fullWidth,name:"user-panel-bottom-slot"})))},J=function(e){var n=e.expanded,t=e.hidePanel,i=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e=function(e){(null==i?void 0:i.current)&&!i.current.contains(e.target)&&t()};return document.addEventListener("click",e),function(){return document.removeEventListener("click",e)}}),[i,t]),(0,r.useEffect)((function(){return window.addEventListener("popstate",t),window.addEventListener("popstate",t)}),[t]),n&&o().createElement(a.LeftNavMenu,{ref:i,isChildOfHeader:!0})};var K=t(3205),Q={};Q.styleTagTransform=E(),Q.setAttributes=x(),Q.insert=w().bind(null,"head"),Q.domAPI=v(),Q.insertStyleElement=C(),b()(K.Z,Q);const X=K.Z&&K.Z.locals?K.Z.locals:void 0;function ee(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function ne(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var te=function(){var e,n,t,i,l=(0,h.useTranslation)().t,s=(0,a.useConfig)(),y=(t=(0,r.useState)(null),i=2,function(e){if(Array.isArray(e))return e}(t)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(t,i)||function(e,n){if(e){if("string"==typeof e)return ee(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ee(e,n):void 0}}(t,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=y[0],b=y[1],$=(0,a.useLayoutType)(),v=(0,a.useConnectedExtensions)("patient-chart-dashboard-slot").map((function(e){return e.id})),A=(0,a.useConnectedExtensions)("app-menu-slot"),w=(0,a.useConnectedExtensions)("user-panel-slot"),_=(0,r.useCallback)((function(e){return m===e}),[m]),x=(0,r.useCallback)((function(e){return b((function(n){return n===e?null:e}))}),[]),k=(0,r.useCallback)((function(){b(null)}),[]),C=(0,r.useMemo)((function(){return!g($)&&v.length>0}),[v.length,$]),z=(0,r.useMemo)((function(){return A.length>0}),[A.length]),E=(0,r.useMemo)((function(){return w.length>0}),[w.length]);return o().createElement(o().Fragment,null,o().createElement(U,null),o().createElement(p.h4i,{"aria-label":"OpenMRS"},C&&o().createElement(p.wID,{"aria-label":"Open menu",isCollapsible:!0,className:X.headerMenuButton,onClick:function(e){x("sideMenu"),e.stopPropagation()},isActive:_("sideMenu")}),o().createElement(a.ConfigurableLink,{to:s.logo.link},o().createElement("div",{className:C?"":X.spacedLogo},o().createElement(D,null))),o().createElement(a.ExtensionSlot,{className:X.dividerOverride,name:"top-nav-info-slot"}),o().createElement(p.sLE,{className:X.headerGlobalBar},o().createElement(a.ExtensionSlot,{name:"top-nav-actions-slot",className:X.topNavActionsSlot}),o().createElement(a.ExtensionSlot,{name:"notifications-menu-button-slot",state:{isActivePanel:_,togglePanel:x}}),E&&o().createElement(p.JMr,{"aria-label":l("userMenuTooltip","User"),"aria-labelledby":"Users Avatar Icon",className:c()((e={},ne(e,X.headerGlobalBarButton,_("userMenu")),ne(e,X.activePanel,!_("userMenu")),e)),enterDelayMs:500,name:"User",isActive:_("userMenu"),onClick:function(e){x("userMenu"),e.stopPropagation()}},_("userMenu")?o().createElement(u.x8,{size:20}):o().createElement(d.Yo,{size:20})),z&&o().createElement(p.JMr,{"aria-label":"App Menu","aria-labelledby":"App Menu",className:c()((n={},ne(n,X.headerGlobalBarButton,_("appMenu")),ne(n,X.activePanel,!_("appMenu")),n)),enterDelayMs:500,isActive:_("appMenu"),tooltipAlignment:"end",onClick:function(e){x("appMenu"),e.stopPropagation()}},_("appMenu")?o().createElement(u.x8,{size:20}):o().createElement(f.SQ,{size:20}))),!g($)&&o().createElement(J,{hidePanel:k,expanded:_("sideMenu")}),z&&o().createElement(T,{expanded:_("appMenu"),hidePanel:k}),o().createElement(R,{expanded:_("notificationsMenu")}),E&&o().createElement(Y,{expanded:_("userMenu"),hidePanel:k})))};const ae=function(){var e,n=(0,a.useSession)(),t=window.getOpenmrsSpaBase();return(null==n||null===(e=n.user)||void 0===e?void 0:e.person)?n.sessionLocation?o().createElement(p.gMZ,{render:te}):o().createElement(l.Navigate,{to:"/login/location",state:{referrer:window.location.pathname.slice(window.location.pathname.indexOf(t)+t.length-1)}}):o().createElement(l.Navigate,{to:"/login",state:{referrer:window.location.pathname.slice(window.location.pathname.indexOf(t)+t.length-1)}})};var ie=t(5547),re={};re.styleTagTransform=E(),re.setAttributes=x(),re.insert=w().bind(null,"head"),re.domAPI=v(),re.insertStyleElement=C(),b()(ie.Z,re);const oe=ie.Z&&ie.Z.locals?ie.Z.locals:void 0;var le=t(5761),se={};se.styleTagTransform=E(),se.setAttributes=x(),se.insert=w().bind(null,"head"),se.domAPI=v(),se.insertStyleElement=C(),b()(le.Z,se);const ce=le.Z&&le.Z.locals?le.Z.locals:void 0;function pe(e,n,t,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(a,i)}function ue(e){return function(){var n=this,t=arguments;return new Promise((function(a,i){var r=e.apply(n,t);function o(e){pe(r,a,i,o,l,"next",e)}function l(e){pe(r,a,i,o,l,"throw",e)}o(void 0)}))}}function de(e,n){var t,a,i,r,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(r){return function(l){return function(r){if(t)throw new TypeError("Generator is already executing.");for(;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=n.call(e,o)}catch(e){r=[6,e],a=0}finally{t=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,l])}}}a.Type.String,a.Type.String,a.validators.isUrl,t(3979);var fe={featureName:"primary navigation",moduleName:i.e};(0,a.getSyncLifecycle)((function(){return o().createElement(l.BrowserRouter,{basename:window.getOpenmrsSpaBase()},o().createElement(l.Routes,null,o().createElement(l.Route,{path:"login/*",element:null}),o().createElement(l.Route,{path:"logout/*",element:null}),o().createElement(l.Route,{path:"*",element:o().createElement("div",{className:oe.primaryNavContainer},o().createElement(ae,null))})))}),fe),ue((function(){return de(this,(function(e){return[2,{bootstrap:ue((function(){return de(this,(function(e){return[2,(0,a.navigate)({to:"${openmrsSpaBase}/home"})]}))})),mount:ue((function(){return de(this,(function(e){return[2,void 0]}))})),unmount:ue((function(){return de(this,(function(e){return[2,void 0]}))}))}]}))})),(0,a.getSyncLifecycle)((function(){var e,n,t=(0,a.useSession)();return o().createElement(p.m0z,{"aria-label":"User"},o().createElement(d.Yo,{size:20}),o().createElement("p",null,null==t||null===(e=t.user)||void 0===e||null===(n=e.person)||void 0===n?void 0:n.display))}),fe),(0,a.getSyncLifecycle)((function(){var e=(0,h.useTranslation)().t,n=(0,a.useSession)(),t=(0,r.useCallback)((function(){(0,a.showModal)("change-language-modal")}),[]),i=new Intl.DisplayNames([null==n?void 0:n.locale],{type:"language"});return o().createElement(p.m0z,{className:ce.panelItemContainer,"aria-label":"Change language"},o().createElement("div",null,o().createElement(y.SQ,{size:20}),o().createElement("p",null,i.of(null==n?void 0:n.locale))),o().createElement(p.zxk,{kind:"ghost",onClick:t},e("change","Change")))}),fe),(0,a.getSyncLifecycle)(U,fe),(0,a.getSyncLifecycle)((function(){var e=(0,a.useConfig)();return o().createElement(a.ConfigurableLink,{to:e.target},e.title)}),{featureName:"Link",moduleName:i.e}),(0,a.getAsyncLifecycle)((function(){return t.e(762).then(t.bind(t,7762))}),fe)},3979:(e,n,t)=>{var a={"./am.json":[8788,625],"./ar.json":[4460,460],"./en.json":[3574,574],"./es.json":[8319,319],"./fr.json":[2757,757],"./he.json":[5833,833],"./km.json":[7807,807],"./zh.json":[8271,271]};function i(e){if(!t.o(a,e))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=a[e],i=n[0];return t.e(n[1]).then((()=>t(i)))}i.keys=()=>Object.keys(a),i.id=3979,e.exports=i}},a={};function i(e){var n=a[e];if(void 0!==n)return n.exports;var r=a[e]={id:e,loaded:!1,exports:{}};return t[e](r,r.exports,i),r.loaded=!0,r.exports}i.m=t,i.c=a,i.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return i.d(n,{a:n}),n},i.d=(e,n)=>{for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((n,t)=>(i.f[t](e,n),n)),[])),i.u=e=>e+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),e={},n="@openmrs/esm-primary-navigation-app:",i.l=(t,a,r,o)=>{if(e[t])e[t].push(a);else{var l,s;if(void 0!==r)for(var c=document.getElementsByTagName("script"),p=0;p<c.length;p++){var u=c[p];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==n+r){l=u;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.setAttribute("data-webpack",n+r),l.src=t),e[t]=[a];var d=(n,a)=>{l.onerror=l.onload=null,clearTimeout(f);var i=e[t];if(delete e[t],l.parentNode&&l.parentNode.removeChild(l),i&&i.forEach((e=>e(a))),n)return n(a)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),s&&document.head.appendChild(l)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{i.S={};var e={},n={};i.I=(t,a)=>{a||(a=[]);var r=n[t];if(r||(r=n[t]={}),!(a.indexOf(r)>=0)){if(a.push(r),e[t])return e[t];i.o(i.S,t)||(i.S[t]={});var o=i.S[t],l="@openmrs/esm-primary-navigation-app",s=(e,n,t,a)=>{var i=o[e]=o[e]||{},r=i[n];(!r||!r.loaded&&(!a!=!r.eager?a:l>r.from))&&(i[n]={get:t,from:l,eager:!!a})},c=[];return"default"===t&&(s("@openmrs/esm-framework/src/internal","5.3.3-pre.1425",(()=>Promise.all([i.e(776),i.e(889)]).then((()=>()=>i(4889))))),s("react-dom","18.2.0",(()=>Promise.all([i.e(788),i.e(776)]).then((()=>()=>i(2788))))),s("react-i18next","11.18.6",(()=>Promise.all([i.e(729),i.e(776)]).then((()=>()=>i(9729))))),s("react-router-dom","6.4.2",(()=>Promise.all([i.e(63),i.e(776)]).then((()=>()=>i(7063))))),s("react","18.2.0",(()=>i.e(735).then((()=>()=>i(2735)))))),e[t]=c.length?Promise.all(c).then((()=>e[t]=1)):1}}})(),(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var n=i.g.document;if(!e&&n&&(n.currentScript&&(e=n.currentScript.src),!e)){var t=n.getElementsByTagName("script");if(t.length)for(var a=t.length-1;a>-1&&!e;)e=t[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{var e=e=>{var n=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),a=t[1]?n(t[1]):[];return t[2]&&(a.length++,a.push.apply(a,n(t[2]))),t[3]&&(a.push([]),a.push.apply(a,n(t[3]))),a},n=e=>{var t=e[0],a="";if(1===e.length)return"*";if(t+.5){a+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var i=1,r=1;r<e.length;r++)i--,a+="u"==(typeof(l=e[r]))[0]?"-":(i>0?".":"")+(i=2,l);return a}var o=[];for(r=1;r<e.length;r++){var l=e[r];o.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?o.pop()+" "+o.pop():n(l))}return s();function s(){return o.pop().replace(/^\((.+)\)$/,"$1")}},t=(n,a)=>{if(0 in n){a=e(a);var i=n[0],r=i<0;r&&(i=-i-1);for(var o=0,l=1,s=!0;;l++,o++){var c,p,u=l<n.length?(typeof n[l])[0]:"";if(o>=a.length||"o"==(p=(typeof(c=a[o]))[0]))return!s||("u"==u?l>i&&!r:""==u!=r);if("u"==p){if(!s||"u"!=u)return!1}else if(s)if(u==p)if(l<=i){if(c!=n[l])return!1}else{if(r?c>n[l]:c<n[l])return!1;c!=n[l]&&(s=!1)}else if("s"!=u&&"n"!=u){if(r||l<=i)return!1;s=!1,l--}else{if(l<=i||p<u!=r)return!1;s=!1}else"s"!=u&&"n"!=u&&(s=!1,l--)}}var d=[],f=d.pop.bind(d);for(o=1;o<n.length;o++){var g=n[o];d.push(1==g?f()|f():2==g?f()&f():g?t(g,a):!f())}return!!f()},a=(n,t)=>{var a=n[t];return Object.keys(a).reduce(((n,t)=>!n||!a[n].loaded&&((n,t)=>{n=e(n),t=e(t);for(var a=0;;){if(a>=n.length)return a<t.length&&"u"!=(typeof t[a])[0];var i=n[a],r=(typeof i)[0];if(a>=t.length)return"u"==r;var o=t[a],l=(typeof o)[0];if(r!=l)return"o"==r&&"n"==l||"s"==l||"u"==r;if("o"!=r&&"u"!=r&&i!=o)return i<o;a++}})(n,t)?t:n),0)},r=(e,i,r,s)=>{var c=a(e,r);return t(s,c)||o(((e,t,a,i)=>"Unsatisfied version "+a+" from "+(a&&e[t][a].from)+" of shared singleton module "+t+" (required "+n(i)+")")(e,r,c,s)),l(e[r][c])},o=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},l=e=>(e.loaded=1,e.get()),s=e=>function(n,t,a,r){var o=i.I(n);return o&&o.then?o.then(e.bind(e,n,i.S[n],t,a,r)):e(n,i.S[n],t,a,r)},c=s(((e,n,t,r)=>n&&i.o(n,t)?((e,n,t,i)=>{var r=a(e,t);return l(e[t][r])})(n,0,t):r())),p=s(((e,n,t,a,o)=>n&&i.o(n,t)?r(n,0,t,a):o())),u={},d={5776:()=>p("default","react",[1,18],(()=>i.e(735).then((()=>()=>i(2735))))),4610:()=>p("default","@openmrs/esm-framework",[0],(()=>i.e(889).then((()=>()=>i(4889))))),8478:()=>c("default","@openmrs/esm-framework/src/internal",(()=>i.e(889).then((()=>()=>i(4889))))),1763:()=>p("default","react-router-dom",[1,6],(()=>i.e(63).then((()=>()=>i(7063))))),2680:()=>p("default","react-i18next",[1,11],(()=>i.e(729).then((()=>()=>i(9729)))))};[4610,8478,5776,1763,2680].forEach((e=>{i.m[e]=n=>{u[e]=0,delete i.c[e];var t=d[e]();if("function"!=typeof t)throw new Error("Shared module is not available for eager consumption: "+e);n.exports=t()}}));var f={776:[5776]};i.f.consumes=(e,n)=>{i.o(f,e)&&f[e].forEach((e=>{if(i.o(u,e))return n.push(u[e]);var t=n=>{u[e]=0,i.m[e]=t=>{delete i.c[e],t.exports=n()}},a=n=>{delete u[e],i.m[e]=t=>{throw delete i.c[e],n}};try{var r=d[e]();r.then?n.push(u[e]=r.then(t).catch(a)):t(r)}catch(e){a(e)}}))}})(),(()=>{var e={179:0,776:0,958:0,34:0};i.f.j=(n,t)=>{var a=i.o(e,n)?e[n]:void 0;if(0!==a)if(a)t.push(a[2]);else if(776!=n){var r=new Promise(((t,i)=>a=e[n]=[t,i]));t.push(a[2]=r);var o=i.p+i.u(n),l=new Error;i.l(o,(t=>{if(i.o(e,n)&&(0!==(a=e[n])&&(e[n]=void 0),a)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;l.message="Loading chunk "+n+" failed.\n("+r+": "+o+")",l.name="ChunkLoadError",l.type=r,l.request=o,a[1](l)}}),"chunk-"+n,n)}else e[n]=0};var n=(n,t)=>{var a,r,[o,l,s]=t,c=0;if(o.some((n=>0!==e[n]))){for(a in l)i.o(l,a)&&(i.m[a]=l[a]);s&&s(i)}for(n&&n(t);c<o.length;c++)r=o[c],i.o(e,r)&&e[r]&&e[r][0](),e[r]=0},t=globalThis.webpackChunk_openmrs_esm_primary_navigation_app=globalThis.webpackChunk_openmrs_esm_primary_navigation_app||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})(),i.nc=void 0,i(958)})();