@openmrs/esm-app-shell 5.6.1-pre.1839 → 5.6.1-pre.1844
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +100 -100
- package/dist/index.html +1 -1
- package/dist/{openmrs.9a34b88d33958136.css → openmrs.641085bbd6575da6.css} +4 -4
- package/dist/openmrs.641085bbd6575da6.css.map +1 -0
- package/dist/{openmrs.0f021a54f0fa5bcd.js → openmrs.7a6e7968041b897e.js} +2 -2
- package/dist/{openmrs.0f021a54f0fa5bcd.js.map → openmrs.7a6e7968041b897e.js.map} +1 -1
- package/dist/service-worker.js +1 -1
- package/lib/esm-devtools-app/main.js +1 -1
- package/lib/esm-devtools-app/openmrs-esm-devtools-app.js +1 -1
- package/lib/esm-devtools-app/openmrs-esm-devtools-app.js.buildmanifest.json +2 -2
- package/lib/esm-devtools-app/routes.json +1 -1
- package/lib/esm-implementer-tools-app/main.js +1 -1
- package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js +1 -1
- package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js.buildmanifest.json +2 -2
- package/lib/esm-implementer-tools-app/routes.json +1 -1
- package/lib/esm-login-app/main.js +1 -1
- package/lib/esm-login-app/openmrs-esm-login-app.js +1 -1
- package/lib/esm-login-app/openmrs-esm-login-app.js.buildmanifest.json +2 -2
- package/lib/esm-login-app/routes.json +1 -1
- package/lib/esm-offline-tools-app/main.js +1 -1
- package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js +1 -1
- package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js.buildmanifest.json +2 -2
- package/lib/esm-offline-tools-app/routes.json +1 -1
- package/lib/esm-primary-navigation-app/main.js +1 -1
- package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js +1 -1
- package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js.buildmanifest.json +2 -2
- package/lib/esm-primary-navigation-app/routes.json +1 -1
- package/lib/index.html +1 -1
- package/lib/openmrs.js +7 -7
- package/lib/service-worker.js +2 -2
- package/package.json +3 -3
- package/dist/openmrs.9a34b88d33958136.css.map +0 -1
- /package/dist/{openmrs.0f021a54f0fa5bcd.js.LICENSE.txt → openmrs.7a6e7968041b897e.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={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:()=>p});var a,i,r,o,l=t(5776),s=t.n(l),c=t(6248);const p=s().forwardRef((function(e,n){let{children:t,size:l=16,...p}=e;return 16===l||"16"===l||"16px"===l?s().createElement(c.I,{width:l,height:l,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...p},a||(a=s().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"})),i||(i=s().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):s().createElement(c.I,{width:l,height:l,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...p},r||(r=s().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"})),o||(o=s().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:()=>h});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 h=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)}));h.displayName="Icon",h.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},h.defaultProps={xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet"},u().oneOfType([u().number,u().string])},856:(e,n,t)=>{"use strict";t.d(n,{zxk:()=>G,h4i:()=>ga,gMZ:()=>ya,JMr:()=>wa,sLE:()=>_a,wID:()=>za,yh:()=>Na,lSo:()=>li,fef:()=>Ft,mzw:()=>Q,xBx:()=>Y,EUY:()=>Wt,SYO:()=>da,T5f:()=>Ta,GQc:()=>Ya,m0z:()=>Pa});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 h=t(216),g=t.n(h),y=t(5776),m=t.n(y),b=t(841),v=t.n(b),$="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,...h}=e;const g=_(),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=v()({[`${g}--popover-container`]:!0,[`${g}--popover--caret`]:o,[`${g}--popover--drop-shadow`]:c,[`${g}--popover--high-contrast`]:p,[`${g}--popover--open`]:d,[`${g}--popover--${N}`]:E&&!t,[`${g}--popover--${a}`]:!E,[`${g}--popover--tab-tip`]:t},l);$((()=>{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(`${g}--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(`${g}--popover--${e}`),!1):(w.current.classList.remove(`${g}--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,g,d,t]);const B=m().Children.map(s,(e=>{const n=e;if("button"===n?.type){const{className:e}=n.props,t=v()(`${g}--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({},h,{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:v()(`${r}--popover-content`,t),ref:l},a),m().createElement("span",{className:`${r}--popover-caret`}))}z.propTypes={align:g().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top"]),as:g().oneOfType([g().string,g().elementType]),autoAlign:g().bool,caret:g().bool,children:g().node,className:g().string,dropShadow:g().bool,highContrast:g().bool,isTabTip:g().bool,onRequestClose:g().func,open:g().bool.isRequired};const M=m().forwardRef(E);function N(){let e=0;return function(){return++e}}M.propTypes={children:g().node,className:g().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 j(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=j(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 P={key:"Enter",which:13,keyCode:13,code:"Enter"},R={key:["Escape","Esc"],which:27,keyCode:27,code:"Esc"},H={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 U(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),[h,g]=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"),$=_(),A=m().Children.only(a),w={onFocus:()=>g(!0),onBlur:()=>g(!1),onClick:()=>c&&g(!1),onMouseEnter:function(){g(!0,o)}};return i?w["aria-labelledby"]=b:w["aria-describedby"]=b,(0,y.useEffect)((()=>{null!==u&&u.current&&(j(u.current)||g(!1))})),m().createElement(z,f({},p,{align:n,className:v()(`${$}--tooltip`,t),dropShadow:!1,highContrast:!0,onKeyDown:function(e){h&&L(e,R)&&(e.stopPropagation(),g(!1)),h&&c&&(L(e,P)||L(e,H))&&g(!1)},onMouseLeave:function(){g(!1,l)},open:h,ref:u}),m().createElement("div",{className:`${$}--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":h?"false":"true",className:`${$}--tooltip-content`,id:b,ref:d,role:"tooltip"},i||r))}U.propTypes={align:g().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top"]),children:g().node,className:g().string,closeOnActivation:g().bool,defaultOpen:g().bool,description:g().node,enterDelayMs:g().number,label:g().node,leaveDelayMs:g().number};const V=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:h,...g}=e,y=_(),b=v()(d,`${y}--icon-tooltip`,{[`${y}--icon-tooltip--disabled`]:l});return m().createElement(U,{align:t,closeOnActivation:r,className:b,defaultOpen:o,enterDelayMs:s,label:p,leaveDelayMs:u},m().createElement(G,f({},g,{disabled:l,kind:c,ref:n,size:h,className:v()(`${y}--btn--icon-only`,i)}),a))}));V.propTypes={align:g().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","right"]),children:g().node,className:g().string,closeOnActivation:g().bool,defaultOpen:g().bool,disabled:g().bool,enterDelayMs:g().number,kind:g().oneOf(["primary","secondary","ghost","tertiary"]),label:g().node.isRequired,leaveDelayMs:g().number,size:g().oneOf(["sm","md","lg"]),wrapperClasses:g().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:h,onClick:g,onFocus:b,onMouseEnter:$,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:v()(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,j=["danger","danger--tertiary","danger--ghost"];let L="button";const P=D("danger-description"),{"aria-pressed":R}=M;let H={disabled:o,type:E,"aria-describedby":j.includes(d)?P:void 0,"aria-pressed":R??(l&&"ghost"===d?u:void 0)};const F={href:s};let q=null;if(j.includes(d)&&(q=m().createElement("span",{id:P,className:`${S}--visually-hidden`},r)),t?(L=t,H={...H,...F}):s&&!o&&(L="a",H=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(V,f({as:t,align:e,label:c,kind:d,size:x,onMouseEnter:$,onMouseLeave:A,onFocus:b,onBlur:h,onClick:(U=[g,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<U.length&&!e.defaultPrevented;n++){const a=U[n];"function"==typeof a&&a(e,...t)}})},M,B,H),I||a)}return m().createElement(L,{onMouseEnter:$,onMouseLeave:A,onFocus:b,onBlur:h,onClick:g,...M,...B,...H},q,a,O);var U}));G.displayName="Button",G.propTypes={as:g().oneOfType([g().func,g().string,g().elementType]),children:g().node,className:g().string,dangerDescription:g().string,disabled:g().bool,hasIconOnly:g().bool,href:g().string,iconDescription:e=>!e.renderIcon||e.children||e.iconDescription?null:new Error("renderIcon property specified without also providing an iconDescription property."),isExpressive:g().bool,isSelected:g().bool,kind:g().oneOf(["primary","secondary","danger","ghost","danger--primary","danger--ghost","danger--tertiary","tertiary"]),onBlur:g().func,onClick:g().func,onFocus:g().func,onMouseEnter:g().func,onMouseLeave:g().func,renderIcon:g().oneOfType([g().func,g().object]),role:g().string,size:g().oneOf(["sm","md","lg","xl","2xl"]),tabIndex:g().number,tooltipAlignment:g().oneOf(["start","center","end"]),tooltipPosition:g().oneOf(["top","right","bottom","left"]),type:g().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,...h}=e;const g=_(),y=v()(`${g}--modal-header`,i),b=v()(`${g}--modal-header__label ${g}--type-delta`,p),$=v()(`${g}--modal-header__heading ${g}--type-beta`,d),A=v()(`${g}--modal-close`,r),w=v()(`${g}--modal-close__icon`,o);return m().createElement("div",f({className:y},h,{ref:n}),c&&m().createElement("h2",{className:b},c),u&&m().createElement("h3",{className:$},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:g().func,children:g().node,className:g().string,closeClassName:g().string,closeIconClassName:g().string,closeModal:g().func,iconDescription:g().string,label:g().node,labelClassName:g().string,title:g().node,titleClassName:g().string},Y.defaultProps={iconDescription:"Close"};const J=m().forwardRef((function(e,n){let{children:t,className:a,stacked:i,...r}=e;const o=_(),l=v()(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:g().node,className:g().string,stacked:g().bool},K.propTypes={closeModal:g().func,onRequestClose:g().func,secondaryButtonText:g().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:g().node,onClick:g().func};e[n].forEach((e=>{g().checkPropTypes(a,e,n,t)}))}return null},secondaryClassName:g().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:h,secondaryClassName:g,...y}=e;const b=_(),$=v()(`${b}--modal-footer`,a,Array.isArray(h)&&2===h.length?`${b}--modal-footer--three-button`:null),A={closeModal:i,secondaryButtons:h,secondaryButtonText:d,secondaryClassName:g,onRequestClose:l};return m().createElement(J,f({className:$},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:g().node,className:g().string,closeModal:g().func,danger:g().bool,inputref:g().oneOfType([g().func,g().shape({current:g().any})]),onRequestClose:g().func,onRequestSubmit:g().func,primaryButtonDisabled:g().bool,primaryButtonText:g().string,primaryClassName:g().string,secondaryButtonText:g().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:g().node,onClick:g().func};e[n].forEach((e=>{g().checkPropTypes(a,e,n,t)}))}return null},secondaryClassName:g().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};const ne=function(e,n){return e===n||e!=e&&n!=n},te=function(e,n){for(var t=e.length;t--;)if(ne(e[t][0],n))return t;return-1};var ae=Array.prototype.splice;function ie(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}ie.prototype.clear=function(){this.__data__=[],this.size=0},ie.prototype.delete=function(e){var n=this.__data__,t=te(n,e);return!(t<0||(t==n.length-1?n.pop():ae.call(n,t,1),--this.size,0))},ie.prototype.get=function(e){var n=this.__data__,t=te(n,e);return t<0?void 0:n[t][1]},ie.prototype.has=function(e){return te(this.__data__,e)>-1},ie.prototype.set=function(e,n){var t=this.__data__,a=te(t,e);return a<0?(++this.size,t.push([e,n])):t[a][1]=n,this};const re=ie,oe="object"==typeof global&&global&&global.Object===Object&&global;var le="object"==typeof self&&self&&self.Object===Object&&self;const se=oe||le||Function("return this")(),ce=se.Symbol;var pe=Object.prototype,ue=pe.hasOwnProperty,de=pe.toString,fe=ce?ce.toStringTag:void 0;var he=Object.prototype.toString;var ge=ce?ce.toStringTag:void 0;const ye=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ge&&ge in Object(e)?function(e){var n=ue.call(e,fe),t=e[fe];try{e[fe]=void 0;var a=!0}catch(e){}var i=de.call(e);return a&&(n?e[fe]=t:delete e[fe]),i}(e):function(e){return he.call(e)}(e)},me=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)},be=function(e){if(!me(e))return!1;var n=ye(e);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n},ve=se["__core-js_shared__"];var $e,Ae=($e=/[^.]+$/.exec(ve&&ve.keys&&ve.keys.IE_PROTO||""))?"Symbol(src)_1."+$e:"";var we=Function.prototype.toString;const _e=function(e){if(null!=e){try{return we.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var xe=/^\[object .+?Constructor\]$/,ke=Function.prototype,Ce=Object.prototype,ze=ke.toString,Ee=Ce.hasOwnProperty,Me=RegExp("^"+ze.call(Ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Ne=function(e){return!(!me(e)||(n=e,Ae&&Ae in n))&&(be(e)?Me:xe).test(_e(e));var n},Se=function(e,n){var t=function(e,n){return null==e?void 0:e[n]}(e,n);return Ne(t)?t:void 0},Te=Se(se,"Map"),Be=Se(Object,"create");var Oe=Object.prototype.hasOwnProperty;var Ie=Object.prototype.hasOwnProperty;function De(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}De.prototype.clear=function(){this.__data__=Be?Be(null):{},this.size=0},De.prototype.delete=function(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n},De.prototype.get=function(e){var n=this.__data__;if(Be){var t=n[e];return"__lodash_hash_undefined__"===t?void 0:t}return Oe.call(n,e)?n[e]:void 0},De.prototype.has=function(e){var n=this.__data__;return Be?void 0!==n[e]:Ie.call(n,e)},De.prototype.set=function(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=Be&&void 0===n?"__lodash_hash_undefined__":n,this};const je=De,Le=function(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 Pe(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}Pe.prototype.clear=function(){this.size=0,this.__data__={hash:new je,map:new(Te||re),string:new je}},Pe.prototype.delete=function(e){var n=Le(this,e).delete(e);return this.size-=n?1:0,n},Pe.prototype.get=function(e){return Le(this,e).get(e)},Pe.prototype.has=function(e){return Le(this,e).has(e)},Pe.prototype.set=function(e,n){var t=Le(this,e),a=t.size;return t.set(e,n),this.size+=t.size==a?0:1,this};const Re=Pe;function He(e){var n=this.__data__=new re(e);this.size=n.size}He.prototype.clear=function(){this.__data__=new re,this.size=0},He.prototype.delete=function(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t},He.prototype.get=function(e){return this.__data__.get(e)},He.prototype.has=function(e){return this.__data__.has(e)},He.prototype.set=function(e,n){var t=this.__data__;if(t instanceof re){var a=t.__data__;if(!Te||a.length<199)return a.push([e,n]),this.size=++t.size,this;t=this.__data__=new Re(a)}return t.set(e,n),this.size=t.size,this};const Fe=He;function qe(e){var n=-1,t=null==e?0:e.length;for(this.__data__=new Re;++n<t;)this.add(e[n])}qe.prototype.add=qe.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},qe.prototype.has=function(e){return this.__data__.has(e)};const Ue=qe,Ve=function(e,n){for(var t=-1,a=null==e?0:e.length;++t<a;)if(n(e[t],t,e))return!0;return!1},Ge=function(e,n,t,a,i,r){var o=1&t,l=e.length,s=n.length;if(l!=s&&!(o&&s>l))return!1;var c=r.get(e),p=r.get(n);if(c&&p)return c==n&&p==e;var u=-1,d=!0,f=2&t?new Ue:void 0;for(r.set(e,n),r.set(n,e);++u<l;){var h=e[u],g=n[u];if(a)var y=o?a(g,h,u,n,e,r):a(h,g,u,e,n,r);if(void 0!==y){if(y)continue;d=!1;break}if(f){if(!Ve(n,(function(e,n){if(o=n,!f.has(o)&&(h===e||i(h,e,t,a,r)))return f.push(n);var o}))){d=!1;break}}else if(h!==g&&!i(h,g,t,a,r)){d=!1;break}}return r.delete(e),r.delete(n),d},Ze=se.Uint8Array,We=function(e){var n=-1,t=Array(e.size);return e.forEach((function(e,a){t[++n]=[a,e]})),t},Ye=function(e){var n=-1,t=Array(e.size);return e.forEach((function(e){t[++n]=e})),t};var Je=ce?ce.prototype:void 0,Ke=Je?Je.valueOf:void 0;const Qe=Array.isArray;var Xe=Object.prototype.propertyIsEnumerable,en=Object.getOwnPropertySymbols;const nn=en?function(e){return null==e?[]:(e=Object(e),function(e,n){for(var t=-1,a=null==e?0:e.length,i=0,r=[];++t<a;){var o=e[t];n(o,t,e)&&(r[i++]=o)}return r}(en(e),(function(n){return Xe.call(e,n)})))}:function(){return[]},tn=function(e){return null!=e&&"object"==typeof e},an=function(e){return tn(e)&&"[object Arguments]"==ye(e)};var rn=Object.prototype,on=rn.hasOwnProperty,ln=rn.propertyIsEnumerable;const sn=an(function(){return arguments}())?an:function(e){return tn(e)&&on.call(e,"callee")&&!ln.call(e,"callee")};var cn="object"==typeof exports&&exports&&!exports.nodeType&&exports,pn=cn&&"object"==typeof module&&module&&!module.nodeType&&module,un=pn&&pn.exports===cn?se.Buffer:void 0;const dn=(un?un.isBuffer:void 0)||function(){return!1};var fn=/^(?:0|[1-9]\d*)$/;const hn=function(e,n){var t=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==t||"symbol"!=t&&fn.test(e))&&e>-1&&e%1==0&&e<n},gn=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var yn={};yn["[object Float32Array]"]=yn["[object Float64Array]"]=yn["[object Int8Array]"]=yn["[object Int16Array]"]=yn["[object Int32Array]"]=yn["[object Uint8Array]"]=yn["[object Uint8ClampedArray]"]=yn["[object Uint16Array]"]=yn["[object Uint32Array]"]=!0,yn["[object Arguments]"]=yn["[object Array]"]=yn["[object ArrayBuffer]"]=yn["[object Boolean]"]=yn["[object DataView]"]=yn["[object Date]"]=yn["[object Error]"]=yn["[object Function]"]=yn["[object Map]"]=yn["[object Number]"]=yn["[object Object]"]=yn["[object RegExp]"]=yn["[object Set]"]=yn["[object String]"]=yn["[object WeakMap]"]=!1;var mn="object"==typeof exports&&exports&&!exports.nodeType&&exports,bn=mn&&"object"==typeof module&&module&&!module.nodeType&&module,vn=bn&&bn.exports===mn&&oe.process,$n=function(){try{return bn&&bn.require&&bn.require("util").types||vn&&vn.binding&&vn.binding("util")}catch(e){}}(),An=$n&&$n.isTypedArray;const wn=An?(_n=An,function(e){return _n(e)}):function(e){return tn(e)&&gn(e.length)&&!!yn[ye(e)]};var _n,xn=Object.prototype.hasOwnProperty;const kn=function(e,n){var t=Qe(e),a=!t&&sn(e),i=!t&&!a&&dn(e),r=!t&&!a&&!i&&wn(e),o=t||a||i||r,l=o?function(e,n){for(var t=-1,a=Array(e);++t<e;)a[t]=n(t);return a}(e.length,String):[],s=l.length;for(var c in e)!n&&!xn.call(e,c)||o&&("length"==c||i&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||hn(c,s))||l.push(c);return l};var Cn=Object.prototype;const zn=function(e,n){return function(t){return e(n(t))}}(Object.keys,Object);var En=Object.prototype.hasOwnProperty;const Mn=function(e){if(t=(n=e)&&n.constructor,n!==("function"==typeof t&&t.prototype||Cn))return zn(e);var n,t,a=[];for(var i in Object(e))En.call(e,i)&&"constructor"!=i&&a.push(i);return a},Nn=function(e){return null!=e&&gn(e.length)&&!be(e)},Sn=function(e){return Nn(e)?kn(e):Mn(e)},Tn=function(e){return function(e,n,t){var a=n(e);return Qe(e)?a:function(e,n){for(var t=-1,a=n.length,i=e.length;++t<a;)e[i+t]=n[t];return e}(a,t(e))}(e,Sn,nn)};var Bn=Object.prototype.hasOwnProperty;const On=Se(se,"DataView"),In=Se(se,"Promise"),Dn=Se(se,"Set"),jn=Se(se,"WeakMap");var Ln="[object Map]",Pn="[object Promise]",Rn="[object Set]",Hn="[object WeakMap]",Fn="[object DataView]",qn=_e(On),Un=_e(Te),Vn=_e(In),Gn=_e(Dn),Zn=_e(jn),Wn=ye;(On&&Wn(new On(new ArrayBuffer(1)))!=Fn||Te&&Wn(new Te)!=Ln||In&&Wn(In.resolve())!=Pn||Dn&&Wn(new Dn)!=Rn||jn&&Wn(new jn)!=Hn)&&(Wn=function(e){var n=ye(e),t="[object Object]"==n?e.constructor:void 0,a=t?_e(t):"";if(a)switch(a){case qn:return Fn;case Un:return Ln;case Vn:return Pn;case Gn:return Rn;case Zn:return Hn}return n});const Yn=Wn;var Jn="[object Arguments]",Kn="[object Array]",Qn="[object Object]",Xn=Object.prototype.hasOwnProperty;const et=function(e,n,t,a,i,r){var o=Qe(e),l=Qe(n),s=o?Kn:Yn(e),c=l?Kn:Yn(n),p=(s=s==Jn?Qn:s)==Qn,u=(c=c==Jn?Qn:c)==Qn,d=s==c;if(d&&dn(e)){if(!dn(n))return!1;o=!0,p=!1}if(d&&!p)return r||(r=new Fe),o||wn(e)?Ge(e,n,t,a,i,r):function(e,n,t,a,i,r,o){switch(t){case"[object DataView]":if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=n.byteLength||!r(new Ze(e),new Ze(n)));case"[object Boolean]":case"[object Date]":case"[object Number]":return ne(+e,+n);case"[object Error]":return e.name==n.name&&e.message==n.message;case"[object RegExp]":case"[object String]":return e==n+"";case"[object Map]":var l=We;case"[object Set]":var s=1&a;if(l||(l=Ye),e.size!=n.size&&!s)return!1;var c=o.get(e);if(c)return c==n;a|=2,o.set(e,n);var p=Ge(l(e),l(n),a,i,r,o);return o.delete(e),p;case"[object Symbol]":if(Ke)return Ke.call(e)==Ke.call(n)}return!1}(e,n,s,t,a,i,r);if(!(1&t)){var f=p&&Xn.call(e,"__wrapped__"),h=u&&Xn.call(n,"__wrapped__");if(f||h){var g=f?e.value():e,y=h?n.value():n;return r||(r=new Fe),i(g,y,t,a,r)}}return!!d&&(r||(r=new Fe),function(e,n,t,a,i,r){var o=1&t,l=Tn(e),s=l.length;if(s!=Tn(n).length&&!o)return!1;for(var c=s;c--;){var p=l[c];if(!(o?p in n:Bn.call(n,p)))return!1}var u=r.get(e),d=r.get(n);if(u&&d)return u==n&&d==e;var f=!0;r.set(e,n),r.set(n,e);for(var h=o;++c<s;){var g=e[p=l[c]],y=n[p];if(a)var m=o?a(y,g,p,n,e,r):a(g,y,p,e,n,r);if(!(void 0===m?g===y||i(g,y,t,a,r):m)){f=!1;break}h||(h="constructor"==p)}if(f&&!h){var b=e.constructor,v=n.constructor;b==v||!("constructor"in e)||!("constructor"in n)||"function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v||(f=!1)}return r.delete(e),r.delete(n),f}(e,n,t,a,i,r))},nt=function e(n,t,a,i,r){return n===t||(null==n||null==t||!tn(n)&&!tn(t)?n!=n&&t!=t:et(n,t,a,i,e,r))},tt=function(e){return e==e&&!me(e)},at=function(e,n){return function(t){return null!=t&&t[e]===n&&(void 0!==n||e in Object(t))}},it=function(e){var n=function(e){for(var n=Sn(e),t=n.length;t--;){var a=n[t],i=e[a];n[t]=[a,i,tt(i)]}return n}(e);return 1==n.length&&n[0][2]?at(n[0][0],n[0][1]):function(t){return t===e||function(e,n,t,a){var i=t.length,r=i,o=!a;if(null==e)return!r;for(e=Object(e);i--;){var l=t[i];if(o&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<r;){var s=(l=t[i])[0],c=e[s],p=l[1];if(o&&l[2]){if(void 0===c&&!(s in e))return!1}else{var u=new Fe;if(a)var d=a(c,p,s,e,n,u);if(!(void 0===d?nt(p,c,3,a,u):d))return!1}}return!0}(t,e,n)}},rt=function(e){return"symbol"==typeof e||tn(e)&&"[object Symbol]"==ye(e)};var ot=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lt=/^\w*$/;const st=function(e,n){if(Qe(e))return!1;var t=typeof e;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=e&&!rt(e))||lt.test(e)||!ot.test(e)||null!=n&&e in Object(n)};function ct(e,n){if("function"!=typeof e||null!=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)||r,o};return t.cache=new(ct.Cache||Re),t}ct.Cache=Re;var pt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ut=/\\(\\)?/g;const dt=(ft=ct((function(e){var n=[];return 46===e.charCodeAt(0)&&n.push(""),e.replace(pt,(function(e,t,a,i){n.push(a?i.replace(ut,"$1"):t||e)})),n}),(function(e){return 500===ht.size&&ht.clear(),e})),ht=ft.cache,ft);var ft,ht;var gt=ce?ce.prototype:void 0,yt=gt?gt.toString:void 0;const mt=function e(n){if("string"==typeof n)return n;if(Qe(n))return function(e,n){for(var t=-1,a=null==e?0:e.length,i=Array(a);++t<a;)i[t]=n(e[t],t,e);return i}(n,e)+"";if(rt(n))return yt?yt.call(n):"";var t=n+"";return"0"==t&&1/n==-1/0?"-0":t},bt=function(e,n){return Qe(e)?e:st(e,n)?[e]:dt(function(e){return null==e?"":mt(e)}(e))},vt=function(e){if("string"==typeof e||rt(e))return e;var n=e+"";return"0"==n&&1/e==-1/0?"-0":n},$t=function(e,n){for(var t=0,a=(n=bt(n,e)).length;null!=e&&t<a;)e=e[vt(n[t++])];return t&&t==a?e:void 0},At=function(e,n){return null!=e&&n in Object(e)},wt=function(e,n){return null!=e&&function(e,n,t){for(var a=-1,i=(n=bt(n,e)).length,r=!1;++a<i;){var o=vt(n[a]);if(!(r=null!=e&&t(e,o)))break;e=e[o]}return r||++a!=i?r:!!(i=null==e?0:e.length)&&gn(i)&&hn(o,i)&&(Qe(e)||sn(e))}(e,n,At)},_t=function(e,n){return st(e)&&tt(n)?at(vt(e),n):function(t){var a=function(e,n,t){var a=null==e?void 0:$t(e,n);return void 0===a?t:a}(t,e);return void 0===a&&a===n?wt(t,e):nt(n,a,3)}},xt=function(e){return e},kt=function(e){return st(e)?(n=vt(e),function(e){return null==e?void 0:e[n]}):function(e){return function(n){return $t(n,e)}}(e);var n},Ct=function(e){return"function"==typeof e?e:null==e?xt:"object"==typeof e?Qe(e)?_t(e[0],e[1]):it(e):kt(e)};var zt=/\s/;var Et=/^\s+/;const Mt=function(e){return e?e.slice(0,function(e){for(var n=e.length;n--&&zt.test(e.charAt(n)););return n}(e)+1).replace(Et,""):e};var Nt=/^[-+]0x[0-9a-f]+$/i,St=/^0b[01]+$/i,Tt=/^0o[0-7]+$/i,Bt=parseInt;const Ot=function(e){return e?Infinity===(e=function(e){if("number"==typeof e)return e;if(rt(e))return NaN;if(me(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=me(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=Mt(e);var t=St.test(e);return t||Tt.test(e)?Bt(e.slice(2),t?2:8):Nt.test(e)?NaN:+e}(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var It=Math.max,Dt=Math.min;const jt=(Ht=function(e,n,t){var a=null==e?0:e.length;if(!a)return-1;var i=a-1;return void 0!==t&&(i=function(e){var n=Ot(e),t=n%1;return n==n?t?n-t:n:0}(t),i=t<0?It(a+i,0):Dt(i,a-1)),function(e,n,t,a){for(var i=e.length,r=t+(a?1:-1);a?r--:++r<i;)if(n(e[r],r,e))return r;return-1}(e,Ct(n),i,!0)},function(e,n,t){var a=Object(e);if(!Nn(e)){var i=Ct(n);e=Sn(e),n=function(e){return i(a[e],e,a)}}var r=Ht(e,n,t);return r>-1?a[i?e[r]:r]:void 0}),Lt="undefined"!=typeof Node&&Node.DOCUMENT_POSITION_PRECEDING|Node.DOCUMENT_POSITION_CONTAINS,Pt="undefined"!=typeof Node&&Node.DOCUMENT_POSITION_FOLLOWING|Node.DOCUMENT_POSITION_CONTAINED_BY,Rt="\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";var Ht;const Ft=m().forwardRef((function(e,n){let{className:t,children:a,hasForm:i,hasScrollingContent:r,...o}=e;const l=_(),s=v()(`${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 qt;Ft.propTypes={"aria-label":(qt=g().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 qt(e,n,t,...i)}),children:g().node,className:g().string,hasForm:g().bool,hasScrollingContent:g().bool};const Ut=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:h,selectorsFloatingMenus:g,size:b,launcherButtonRef:$,...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=v()(`${w}--modal`,x&&"is-visible",l&&`${w}--modal--danger`,r),O=v()(`${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&&$&&setTimeout((()=>{$?.current?.focus()}))}),[u,$]),(0,y.useEffect)((()=>{u&&x&&(e=>{const n=(e=>{const n=e||E.current;return(n?n.querySelector(h):null)||M&&M.current})(e);n&&n.focus()})(E.current)}),[u,h,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&Lt){const e=jt(n.querySelectorAll(Rt),(e=>Boolean(e.offsetParent)));e?e.focus():n!==r&&n.focus()}else if(i===a||e&Pt){const e=Array.prototype.find.call(n.querySelectorAll(Rt),(e=>Boolean(e.offsetParent)));e?e.focus():n!==r&&n.focus()}}}({bodyNode:e,startTrapNode:a,endTrapNode:i,currentActiveNode:t,oldActiveNode:n,selectorsFloatingMenus:g?.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")))}));Ut.propTypes={"aria-label":g().string,"aria-labelledby":g().string,children:g().node,className:g().string,containerClassName:g().string,danger:g().bool,isFullWidth:g().bool,launcherButtonRef:g().oneOfType([g().func,g().shape({current:g().any})]),onClose:g().func,onKeyDown:g().func,open:g().bool,preventCloseOnClickOutside:g().bool,selectorPrimaryFocus:g().string,selectorsFloatingMenus:g().arrayOf(g().string),size:g().oneOf(["xs","sm","md","lg"])},Ut.defaultProps={selectorPrimaryFocus:"[data-modal-primary-focus]"};var Vt=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 Gt=(0,y.createContext)(null);function Zt(e){let{as:n,children:t,dir:a="auto",...i}=e;const r=(0,y.useContext)(Gt),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(Gt.Provider,{value:s},m().createElement(l,f({},i,o),t))}Zt.propTypes={as:g().oneOfType([g().func,g().string,g().elementType]),children:g().node.isRequired,dir:g().oneOf(["ltr","rtl","auto"])};const Wt=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=_(),h=D("radio-button"),g=r||h,b=v()(`${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:$},m().createElement("input",f({},u,{type:"radio",className:`${d}--radio-button`,onChange:function(e){c(p,s,e)},id:g,ref:Vt(A,n),disabled:a,value:p,name:s})),m().createElement("label",{htmlFor:g,className:`${d}--radio-button__label`},m().createElement("span",{className:`${d}--radio-button__appearance`}),l&&m().createElement(Zt,{className:b},l)))}));function Yt(e,n){return function(n){return m().createElement(Zt,f({as:e},n))}}Wt.displayName="RadioButton",Wt.propTypes={checked:g().bool,className:g().string,defaultChecked:g().bool,disabled:g().bool,hideLabel:g().bool,id:g().string,labelPosition:g().oneOf(["right","left"]),labelText:g().node.isRequired,name:g().string,onChange:g().func,onClick:g().func,value:g().oneOfType([g().string,g().number])},Yt("label");const Jt=Yt("legend");var Kt,Qt,Xt,ea,na,ta,aa,ia,ra,oa,la,sa=t(6248);const ca=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},Kt||(Kt=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"})),Qt||(Qt=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"})),Xt||(Xt=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)})),pa=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return 16===a||"16"===a||"16px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...i},ea||(ea=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"})),na||(na=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(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...i},ta||(ta=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"})),aa||(aa=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(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...i},ia||(ia=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"})),ra||(ra=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(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},oa||(oa=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"})),la||(la=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)})),ua=N(),da=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:h="horizontal",readOnly:g,valueSelected:b,warn:$=!1,warnText:A,...w}=e,x=_(),[k,C]=(0,y.useState)(b??i),[z,E]=(0,y.useState)(b),{current:M}=(0,y.useRef)(ua());function N(e,n,t){g||e!==k&&(C(e),d(e,u,t))}b!==z&&(C(b),E(b));const S=!g&&!l&&$,T=!l&&!r&&!$,B=v()(`${x}--form-item`,a),O=v()(`${x}--radio-button-group`,{[`${x}--radio-button-group--${h}`]:"vertical"===h,[`${x}--radio-button-group--label-${c}`]:c,[`${x}--radio-button-group--readonly`]:g,[`${x}--radio-button-group--invalid`]:!g&&l,[`${x}--radio-button-group--warning`]:S}),I=v()(`${x}--form__helper-text`,{[`${x}--form__helper-text--disabled`]:r}),D=o?`radio-button-group-helper-text-${M}`:void 0,j=o?m().createElement("div",{id:D,className:I},o):null,L=(0,y.useRef)(null);return m().createElement("div",{className:B,ref:Vt(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(Jt,{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`},!g&&l&&m().createElement(m().Fragment,null,m().createElement(pa,{className:`${x}--radio-button__invalid-icon`}),m().createElement("div",{className:`${x}--form-requirement`},s)),S&&m().createElement(m().Fragment,null,m().createElement(ca,{className:`${x}--radio-button__invalid-icon ${x}--radio-button__invalid-icon--warning`}),m().createElement("div",{className:`${x}--form-requirement`},A))),T&&j)}));da.propTypes={children:g().node,className:g().string,defaultSelected:g().oneOfType([g().string,g().number]),disabled:g().bool,helperText:g().node,invalid:g().bool,invalidText:g().node,labelPosition:g().oneOf(["left","right"]),legendText:g().node,name:g().string.isRequired,onChange:g().func,orientation:g().oneOf(["horizontal","vertical"]),readOnly:g().bool,valueSelected:g().oneOfType([g().string,g().number]),warn:g().bool,warnText:g().node},da.displayName="RadioButtonGroup";const fa=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":g().string,"aria-labelledby":g().string}),ha=e=>{let{className:n,children:t,...a}=e;const i=_(),r=v()(`${i}--header`,n);return m().createElement("header",f({},a,{className:r}),t)};ha.propTypes={...fa,className:g().string};var ga=ha;function ya(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})}ya.propTypes={isSideNavExpanded:g().bool,render:g().elementType.isRequired};const ma=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=v()({[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)}));ma.propTypes={...fa,children:g().node.isRequired,className:g().string,isActive:g().bool,onClick:g().func,tooltipAlignment:g().oneOf(["start","center","end"])},ma.displayName="HeaderGlobalAction";var ba,va,$a,Aa,wa=ma,_a=(e=>{let{name:n,className:t,type:a}=e;function i(e){let{className:n,...i}=e;const r=_(),o=v()("function"==typeof t?t(r):t,n);return m().createElement(a,{...i,className:o||void 0})}return i.displayName=n,i.propTypes={className:g().string},i})({name:"HeaderGlobalBar",className:e=>`${e}--header__global`,type:"div"});const xa=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return 16===a||"16"===a||"16px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...i},ba||(ba=m().createElement("path",{d:"M2 12H14V13H2zM2 9H14V10H2zM2 6H14V7H2zM2 3H14V4H2z"})),t):20===a||"20"===a||"20px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...i},va||(va=m().createElement("path",{d:"M2 14.8H18V16H2zM2 11.2H18V12.399999999999999H2zM2 7.6H18V8.799999999999999H2zM2 4H18V5.2H2z"})),t):24===a||"24"===a||"24px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...i},$a||($a=m().createElement("path",{d:"M3 18H21V19.5H3zM3 13.5H21V15H3zM3 9H21V10.5H3zM3 4.5H21V6H3z"})),t):m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},Aa||(Aa=m().createElement("path",{d:"M4 6H28V8H4zM4 24H28V26H4zM4 12H28V14H4zM4 18H28V20H4z"})),t)}));var ka,Ca;function za(e){let{"aria-label":n,"aria-labelledby":t,className:a,renderMenuIcon:i,renderCloseIcon:r,isActive:o,isCollapsible:l,...s}=e;const c=_(),p=v()({..."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||ka||(ka=m().createElement(xa,{size:20})),d=r||Ca||(Ca=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)}za.propTypes={...fa,className:g().string,isActive:g().bool,isCollapsible:g().bool,onClick:g().func};const Ea=()=>{},Ma=m().forwardRef((function(e,n){let{children:t,className:a,expanded:i,addFocusListeners:r=!0,onHeaderPanelFocus:o=Ea,href:l,...s}=e;const c=_(),p=(0,y.useRef)(null),u=A([p,n]),d=(0,y.useRef)(void 0!==i).current,[h,g]=(0,y.useState)(i),b=d?i:h,[$,w]=(0,y.useState)(null),k=v()(`${c}--header-panel`,{[`${c}--header-panel--expanded`]:b,[a]:!!a}),C={};return r&&(C.onBlur=e=>{e.currentTarget.contains(e.relatedTarget)||$?.classList?.contains("cds--switcher__item-link")||(g(!1),w(null),i&&o())},C.onKeyDown=e=>{L(e,R)&&(g(!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||(g(!1),o())})),m().createElement("div",f({},s,{className:k,ref:u},C),t)}));Ma.propTypes={addFocusListeners:g().bool,children:g().node,className:g().string,expanded:g().bool,href:g().string,onHeaderPanelFocus:g().func},Ma.displayName="HeaderPanel";var Na=Ma;const Sa=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=v()(`${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()},h=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),h)}));Sa.displayName="Switcher",Sa.propTypes={...fa,children:g().node.isRequired,className:g().string,expanded:g().bool};var Ta=Sa;const Ba={};function Oa(e,n){return function(n,t,a){if(void 0!==n[t]){Ba[a]&&Ba[a][t]||(Ba[a]={...Ba[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)}}}function Ia(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 Da=(0,y.forwardRef)(Ia),ja={as:g().elementType,element:Oa(g().elementType),isSideNavExpanded:g().bool};Da.displayName="Link",Da.propTypes=ja;const La=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 h=_(),g=v()(`${h}--switcher__item`,{[i]:!!i}),y={"aria-label":t,"aria-labelledby":a},b=v()(`${h}--switcher__item-link`,{[`${h}--switcher__item-link--selected`]:o});return m().createElement("li",{className:g},m().createElement(Da,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))}));La.displayName="SwitcherItem",La.propTypes={...fa,children:g().node.isRequired,className:g().string,handleSwitcherItemFocus:g().func,index:g().number,onKeyDown:g().func,tabIndex:g().number};var Pa=La;const Ra=e=>{let{className:n,...t}=e;const a=_(),i=v()(`${a}--switcher__item--divider`,{[n]:!!n});return m().createElement("hr",f({},t,{className:i}))};Ra.propTypes={className:g().string};var Ha,Fa,qa,Ua,Va,Ga,Za,Wa,Ya=Ra;const Ja=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return 16===a||"16"===a||"16px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...i},Ha||(Ha=m().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"})),Fa||(Fa=m().createElement("path",{fill:"none",d:"M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z","data-icon-path":"inner-path",opacity:"0"})),t):20===a||"20"===a||"20px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...i},qa||(qa=m().createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z"})),Ua||(Ua=m().createElement("path",{d:"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z","data-icon-path":"inner-path",opacity:"0"})),t):24===a||"24"===a||"24px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...i},Va||(Va=m().createElement("path",{d:"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11S18.1,1,12,1z M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z"})),Ga||(Ga=m().createElement("path",{fill:"none",d:"M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z","data-icon-path":"inner-path",opacity:"0"})),t):m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},Za||(Za=m().createElement("path",{fill:"none",d:"M14.9 7.2H17.1V24.799H14.9z","data-icon-path":"inner-path",transform:"rotate(-45 16 16)"})),Wa||(Wa=m().createElement("path",{d:"M16,2A13.914,13.914,0,0,0,2,16,13.914,13.914,0,0,0,16,30,13.914,13.914,0,0,0,30,16,13.914,13.914,0,0,0,16,2Zm5.4449,21L9,10.5557,10.5557,9,23,21.4448Z"})),t)}));var Ka,Qa,Xa,ei,ni,ti,ai,ii;const ri=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return 16===a||"16"===a||"16px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...i},Ka||(Ka=m().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z"})),Qa||(Qa=m().createElement("path",{d:"M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z","data-icon-path":"inner-path",opacity:"0"})),t):20===a||"20"===a||"20px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...i},Xa||(Xa=m().createElement("path",{d:"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z"})),ei||(ei=m().createElement("path",{fill:"none",d:"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z","data-icon-path":"inner-path",opacity:"0"})),t):24===a||"24"===a||"24px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...i},ni||(ni=m().createElement("path",{d:"M12,1C6,1,1,6,1,12s5,11,11,11s11-4.9,11-11S18.1,1,12,1z M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z"})),ti||(ti=m().createElement("path",{fill:"none",d:"M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z","data-icon-path":"inner-path",opacity:"0"})),t):m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},ai||(ai=m().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z"})),ii||(ii=m().createElement("path",{fill:"none",d:"M14 21.591L9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z","data-icon-path":"inner-path"})),t)}));function oi(e){let{active:n=!0,className:t,withOverlay:a=!0,small:i=!1,description:r="loading",...o}=e;const l=_(),s=v()(t,{[`${l}--loading`]:!0,[`${l}--loading--small`]:i,[`${l}--loading--stop`]:!n}),c=v()({[`${l}--loading-overlay`]:!0,[`${l}--loading-overlay--stop`]:!n}),p=m().createElement("div",f({},o,{"aria-atomic":"true","aria-live":n?"assertive":"off",className:s}),m().createElement("svg",{className:`${l}--loading__svg`,viewBox:"0 0 100 100"},m().createElement("title",null,r),i?m().createElement("circle",{className:`${l}--loading__background`,cx:"50%",cy:"50%",r:"44"}):null,m().createElement("circle",{className:`${l}--loading__stroke`,cx:"50%",cy:"50%",r:"44"})));return a?m().createElement("div",{className:c},p):p}function li(e){let{className:n,status:t="active",iconDescription:a,description:i,onSuccess:r,successDelay:o=1500,...l}=e;const s=_(),c=v()(`${s}--inline-loading`,n),p=m().createElement("div",{className:`${s}--inline-loading__text`},i),u=(()=>{let e=a||t;return"error"===t?m().createElement(Ja,{className:`${s}--inline-loading--error`},m().createElement("title",null,e)):"finished"===t?(setTimeout((()=>{r&&r()}),o),m().createElement(ri,{className:`${s}--inline-loading__checkmark-container`},m().createElement("title",null,e))):"inactive"===t||"active"===t?(a||(e="active"===t?"loading":"not loading"),m().createElement(oi,{small:!0,description:e,withOverlay:!1,active:"active"===t})):void 0})(),d=u&&m().createElement("div",{className:`${s}--inline-loading__animation`},u);return m().createElement("div",f({className:c},l,{"aria-live":"assertive"}),d,i&&p)}oi.propTypes={active:g().bool,className:g().string,description:g().string,id:Oa(g().string),small:g().bool,withOverlay:g().bool},li.propTypes={className:g().string,description:g().node,iconDescription:g().string,onSuccess:g().func,status:g().oneOf(["inactive","active","finished","error"]),successDelay:g().number}},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;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}:root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-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,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CAPF,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CCxDF,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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/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;width:auto;max-width:300px;height:40px;overflow:hidden;position:relative;object-fit:cover;object-position:left}","",{version:3,sources:["webpack://./src/components/logo/logo.scss"],names:[],mappings:"AAAA,6CACE,YAAA,CACA,kBAAA,CACA,UAAA,CACA,eAAA,CACA,WAAA,CACA,eAAA,CACA,iBAAA,CACA,gBAAA,CACA,oBAAA",sourcesContent:[".logo {\n display: flex;\n align-items: center;\n width: auto;\n max-width: 300px;\n height: 40px;\n overflow: hidden;\n position: relative;\n object-fit: cover;\n object-position: left;\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;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-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,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CCxDF,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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/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;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}:root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-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,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CAPF,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CCxDF,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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/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;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-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,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CCxDF,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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/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;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-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,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CCzDF,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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@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;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-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,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CCxDF,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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/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")}},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 h=i(f,a);a.byIndex=l,n.splice(l,0,{identifier:u,updater:h,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))}}},5940:(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(5940);var r=t(5776),o=t.n(r),l=t(1763),s=t(2680),c=t(841),p=t.n(c),u=t(856),d=function(e){return"small-desktop"===e||"large-desktop"===e},f=t(6390),h=t(487),g=t.n(h),y=t(631),m=t.n(y),b=t(2052),v=t.n(b),$=t(4010),A=t.n($),w=t(1469),_=t.n(w),x=t(9329),k=t.n(x),C=t(8815),z={};z.styleTagTransform=k(),z.setAttributes=A(),z.insert=v().bind(null,"head"),z.domAPI=m(),z.insertStyleElement=_(),g()(C.Z,z);const E=C.Z&&C.Z.locals?C.Z.locals:void 0,M=function(e){var n,t,i,l,c,d=e.expanded,h=e.hidePanel,g=(0,a.useOnClickOutside)(h,d),y=(0,a.useConfig)(),m=(0,s.useTranslation)().t;return(0,r.useEffect)((function(){return window.addEventListener("popstate",h),function(){return window.removeEventListener("popstate",h)}}),[h]),d&&o().createElement(u.yh,{ref:g,className:p()((i={},l=E.headerPanel,c=d,l in i?Object.defineProperty(i,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):i[l]=c,i)),"aria-label":"App Menu Panel",expanded:d},o().createElement(a.ExtensionSlot,{className:E.menuLink,name:"app-menu-slot"}),(null==y||null===(n=y.externalRefLinks)||void 0===n?void 0:n.length)>0&&o().createElement("div",{className:p()(E.menuLink,E.externalLinks)},null==y||null===(t=y.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},m(null==e?void 0:e.title),o().createElement(f.GI,{size:16,className:E.launchIcon}))}))))};var N=t(2727),S={};S.styleTagTransform=k(),S.setAttributes=A(),S.insert=v().bind(null,"head"),S.domAPI=m(),S.insertStyleElement=_(),g()(N.Z,S);const T=N.Z&&N.Z.locals?N.Z.locals:void 0,B=function(){var e=(0,a.useConfig)().logo;return o().createElement(o().Fragment,null,(null==e?void 0:e.src)?o().createElement("img",{className:T.logo,src:(0,a.interpolateUrl)(e.src),alt:e.alt}):(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 O=t(7726),I={};I.styleTagTransform=k(),I.setAttributes=A(),I.insert=v().bind(null,"head"),I.domAPI=m(),I.insertStyleElement=_(),g()(O.Z,I);const D=O.Z&&O.Z.locals?O.Z.locals:void 0,j=function(e){var n=e.expanded,t=(0,s.useTranslation)().t,i=(0,r.useMemo)((function(){return{expanded:n}}),[n]);return o().createElement(u.yh,{"aria-label":"Notifications Panel",expanded:n},o().createElement("h1",{className:D.heading},t("notifications","Notifications")),o().createElement(a.ExtensionSlot,{name:"notifications-nav-menu-slot",state:i}))};var L=t(9177),P=t(6654),R={};R.styleTagTransform=k(),R.setAttributes=A(),R.insert=v().bind(null,"head"),R.domAPI=m(),R.insertStyleElement=_(),g()(P.Z,R);const H=P.Z&&P.Z.locals?P.Z.locals:void 0;function F(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 q=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 F(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)?F(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:H.offlineBanner},o().createElement("div",{className:H.offlineIconContainer},o().createElement(L.iY,{size:16})),o().createElement("span",{className:H.offlineNote},"Offline"),o().createElement("div",{className:H.offlineLastUpdatedContainer},o().createElement("span",{className:H.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 U=t(8078),V={};V.styleTagTransform=k(),V.setAttributes=A(),V.insert=v().bind(null,"head"),V.domAPI=m(),V.insertStyleElement=_(),g()(U.Z,V);const G=U.Z&&U.Z.locals?U.Z.locals:void 0,Z=function(e){var n=e.expanded,t=e.hidePanel,i=(0,a.useOnClickOutside)(t,n);return o().createElement(u.yh,{ref:i,className:G.headerPanel,expanded:n,"aria-label":"Location","aria-labelledby":"Location Icon"},o().createElement(u.T5f,{className:G.userPanelSwitcher,"aria-label":"Switcher Container"},o().createElement(a.ExtensionSlot,{className:G.fullWidth,name:"user-panel-slot"}),o().createElement(u.GQc,{className:G.divider}),o().createElement(a.ExtensionSlot,{className:G.fullWidth,name:"user-panel-bottom-slot"})))},W=function(e){var n=e.expanded,t=e.hidePanel,i=(0,a.useOnClickOutside)(t,n);return(0,r.useEffect)((function(){return window.addEventListener("popstate",t),function(){return window.removeEventListener("popstate",t)}}),[t]),n&&o().createElement(a.LeftNavMenu,{ref:i,isChildOfHeader:!0})};var Y=t(3205),J={};J.styleTagTransform=k(),J.setAttributes=A(),J.insert=v().bind(null,"head"),J.domAPI=m(),J.insertStyleElement=_(),g()(Y.Z,J);const K=Y.Z&&Y.Z.locals?Y.Z.locals:void 0;function Q(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 X(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var ee=function(){var e,n,t,i,l=(0,s.useTranslation)().t,c=(0,a.useConfig)(),f=(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 Q(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)?Q(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.")}()),h=f[0],g=f[1],y=(0,a.useLayoutType)(),m=(0,a.useConnectedExtensions)("patient-chart-dashboard-slot").map((function(e){return e.id})),b=(0,a.useConnectedExtensions)("app-menu-slot"),v=(0,a.useConnectedExtensions)("user-panel-slot"),$=(0,r.useCallback)((function(e){return h===e}),[h]),A=(0,r.useCallback)((function(e){g((function(n){return n===e?null:e}))}),[]),w=(0,r.useCallback)((function(e){return function(){g((function(n){return n===e?null:n}))}}),[]),_=(0,r.useMemo)((function(){return!d(y)&&m.length>0}),[m.length,y]),x=(0,r.useMemo)((function(){return b.length>0}),[b.length]),k=(0,r.useMemo)((function(){return v.length>0}),[v.length]);return o().createElement(o().Fragment,null,o().createElement(q,null),o().createElement(u.h4i,{"aria-label":"OpenMRS",className:K.topNavHeader},_&&o().createElement(u.wID,{"aria-label":"Open menu",isCollapsible:!0,className:K.headerMenuButton,onClick:function(){A("sideMenu")},isActive:$("sideMenu")}),o().createElement(a.ConfigurableLink,{to:c.logo.link},o().createElement("div",{className:_?"":K.spacedLogo},o().createElement(B,null))),o().createElement(a.ExtensionSlot,{className:K.dividerOverride,name:"top-nav-info-slot"}),o().createElement(u.sLE,{className:K.headerGlobalBar},o().createElement(a.ExtensionSlot,{name:"top-nav-actions-slot",className:K.topNavActionsSlot}),o().createElement(a.ExtensionSlot,{name:"notifications-menu-button-slot",state:{isActivePanel:$,togglePanel:A}}),k&&o().createElement(u.JMr,{"aria-label":l("userMenuTooltip","My Account"),"aria-labelledby":"Users Avatar Icon",className:p()((e={},X(e,K.headerGlobalBarButton,$("userMenu")),X(e,K.activePanel,!$("userMenu")),e)),enterDelayMs:500,name:"User",isActive:$("userMenu"),onClick:function(){A("userMenu")}},$("userMenu")?o().createElement(a.CloseIcon,{size:20}):o().createElement(a.UserAvatarIcon,{size:20})),x&&o().createElement(u.JMr,{"aria-label":"App Menu","aria-labelledby":"App Menu",className:p()((n={},X(n,K.headerGlobalBarButton,$("appMenu")),X(n,K.activePanel,!$("appMenu")),n)),enterDelayMs:500,isActive:$("appMenu"),tooltipAlignment:"end",onClick:function(){A("appMenu")}},$("appMenu")?o().createElement(a.CloseIcon,{size:20}):o().createElement(a.SwitcherIcon,{size:20}))),!d(y)&&o().createElement(W,{hidePanel:w("sideMenu"),expanded:$("sideMenu")}),x&&o().createElement(M,{expanded:$("appMenu"),hidePanel:w("appMenu")}),o().createElement(j,{expanded:$("notificationsMenu")}),k&&o().createElement(Z,{expanded:$("userMenu"),hidePanel:w("userMenu")})))};const ne=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(u.gMZ,{render:ee}):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 te=t(5547),ae={};ae.styleTagTransform=k(),ae.setAttributes=A(),ae.insert=v().bind(null,"head"),ae.domAPI=m(),ae.insertStyleElement=_(),g()(te.Z,ae);const ie=te.Z&&te.Z.locals?te.Z.locals:void 0;var re=t(5761),oe={};oe.styleTagTransform=k(),oe.setAttributes=A(),oe.insert=v().bind(null,"head"),oe.domAPI=m(),oe.insertStyleElement=_(),g()(re.Z,oe);const le=re.Z&&re.Z.locals?re.Z.locals:void 0;function se(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 ce(e){return function(){var n=this,t=arguments;return new Promise((function(a,i){var r=e.apply(n,t);function o(e){se(r,a,i,o,l,"next",e)}function l(e){se(r,a,i,o,l,"throw",e)}o(void 0)}))}}function pe(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 ue={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:ie.primaryNavContainer},o().createElement(ne,null))})))}),ue),ce((function(){return pe(this,(function(e){return[2,{bootstrap:ce((function(){return pe(this,(function(e){return[2,(0,a.navigate)({to:"${openmrsSpaBase}/home"})]}))})),mount:ce((function(){return pe(this,(function(e){return[2,void 0]}))})),unmount:ce((function(){return pe(this,(function(e){return[2,void 0]}))}))}]}))})),(0,a.getSyncLifecycle)((function(){var e,n,t=(0,a.useSession)();return o().createElement(u.m0z,{"aria-label":"User"},o().createElement(a.UserAvatarIcon,{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))}),ue),(0,a.getSyncLifecycle)((function(){var e=(0,s.useTranslation)().t,n=(0,a.useSession)(),t=(0,r.useCallback)((function(){return(0,a.showModal)("change-language-modal")}),[]),i=new Intl.DisplayNames([null==n?void 0:n.locale],{type:"language"});return o().createElement(u.m0z,{className:le.panelItemContainer,"aria-label":e("changeLanguage","Change language")},o().createElement("div",null,o().createElement(a.TranslateIcon,{size:20}),o().createElement("p",null,i.of(null==n?void 0:n.locale))),o().createElement(u.zxk,{kind:"ghost",onClick:t},e("change","Change")))}),ue),(0,a.getSyncLifecycle)(q,ue),(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))}),ue)},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],"./zh_CN.json":[1644,644]};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.6.1-pre.1839",(()=>Promise.all([i.e(884),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(667),i.e(776)]).then((()=>()=>i(667))))),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 h=n[o];d.push(1==h?f()|f():2==h?f()&f():h?t(h,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],(()=>Promise.all([i.e(884),i.e(889)]).then((()=>()=>i(4889))))),8478:()=>c("default","@openmrs/esm-framework/src/internal",(()=>Promise.all([i.e(884),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(667).then((()=>()=>i(667)))))};[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,380: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={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:()=>p});var a,i,r,o,l=t(5776),s=t.n(l),c=t(6248);const p=s().forwardRef((function(e,n){let{children:t,size:l=16,...p}=e;return 16===l||"16"===l||"16px"===l?s().createElement(c.I,{width:l,height:l,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...p},a||(a=s().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"})),i||(i=s().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):s().createElement(c.I,{width:l,height:l,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...p},r||(r=s().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"})),o||(o=s().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:()=>h});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 h=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)}));h.displayName="Icon",h.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},h.defaultProps={xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet"},u().oneOfType([u().number,u().string])},856:(e,n,t)=>{"use strict";t.d(n,{zxk:()=>G,h4i:()=>ga,gMZ:()=>ya,JMr:()=>wa,sLE:()=>_a,wID:()=>za,yh:()=>Na,lSo:()=>li,fef:()=>Ft,mzw:()=>Q,xBx:()=>Y,EUY:()=>Wt,SYO:()=>da,T5f:()=>Ta,GQc:()=>Ya,m0z:()=>Pa});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 h=t(216),g=t.n(h),y=t(5776),m=t.n(y),b=t(841),v=t.n(b),$="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,...h}=e;const g=_(),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=v()({[`${g}--popover-container`]:!0,[`${g}--popover--caret`]:o,[`${g}--popover--drop-shadow`]:c,[`${g}--popover--high-contrast`]:p,[`${g}--popover--open`]:d,[`${g}--popover--${N}`]:E&&!t,[`${g}--popover--${a}`]:!E,[`${g}--popover--tab-tip`]:t},l);$((()=>{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(`${g}--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(`${g}--popover--${e}`),!1):(w.current.classList.remove(`${g}--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,g,d,t]);const B=m().Children.map(s,(e=>{const n=e;if("button"===n?.type){const{className:e}=n.props,t=v()(`${g}--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({},h,{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:v()(`${r}--popover-content`,t),ref:l},a),m().createElement("span",{className:`${r}--popover-caret`}))}z.propTypes={align:g().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top"]),as:g().oneOfType([g().string,g().elementType]),autoAlign:g().bool,caret:g().bool,children:g().node,className:g().string,dropShadow:g().bool,highContrast:g().bool,isTabTip:g().bool,onRequestClose:g().func,open:g().bool.isRequired};const M=m().forwardRef(E);function N(){let e=0;return function(){return++e}}M.propTypes={children:g().node,className:g().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 j(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=j(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 P={key:"Enter",which:13,keyCode:13,code:"Enter"},R={key:["Escape","Esc"],which:27,keyCode:27,code:"Esc"},H={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 U(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),[h,g]=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"),$=_(),A=m().Children.only(a),w={onFocus:()=>g(!0),onBlur:()=>g(!1),onClick:()=>c&&g(!1),onMouseEnter:function(){g(!0,o)}};return i?w["aria-labelledby"]=b:w["aria-describedby"]=b,(0,y.useEffect)((()=>{null!==u&&u.current&&(j(u.current)||g(!1))})),m().createElement(z,f({},p,{align:n,className:v()(`${$}--tooltip`,t),dropShadow:!1,highContrast:!0,onKeyDown:function(e){h&&L(e,R)&&(e.stopPropagation(),g(!1)),h&&c&&(L(e,P)||L(e,H))&&g(!1)},onMouseLeave:function(){g(!1,l)},open:h,ref:u}),m().createElement("div",{className:`${$}--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":h?"false":"true",className:`${$}--tooltip-content`,id:b,ref:d,role:"tooltip"},i||r))}U.propTypes={align:g().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top"]),children:g().node,className:g().string,closeOnActivation:g().bool,defaultOpen:g().bool,description:g().node,enterDelayMs:g().number,label:g().node,leaveDelayMs:g().number};const V=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:h,...g}=e,y=_(),b=v()(d,`${y}--icon-tooltip`,{[`${y}--icon-tooltip--disabled`]:l});return m().createElement(U,{align:t,closeOnActivation:r,className:b,defaultOpen:o,enterDelayMs:s,label:p,leaveDelayMs:u},m().createElement(G,f({},g,{disabled:l,kind:c,ref:n,size:h,className:v()(`${y}--btn--icon-only`,i)}),a))}));V.propTypes={align:g().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","right"]),children:g().node,className:g().string,closeOnActivation:g().bool,defaultOpen:g().bool,disabled:g().bool,enterDelayMs:g().number,kind:g().oneOf(["primary","secondary","ghost","tertiary"]),label:g().node.isRequired,leaveDelayMs:g().number,size:g().oneOf(["sm","md","lg"]),wrapperClasses:g().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:h,onClick:g,onFocus:b,onMouseEnter:$,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:v()(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,j=["danger","danger--tertiary","danger--ghost"];let L="button";const P=D("danger-description"),{"aria-pressed":R}=M;let H={disabled:o,type:E,"aria-describedby":j.includes(d)?P:void 0,"aria-pressed":R??(l&&"ghost"===d?u:void 0)};const F={href:s};let q=null;if(j.includes(d)&&(q=m().createElement("span",{id:P,className:`${S}--visually-hidden`},r)),t?(L=t,H={...H,...F}):s&&!o&&(L="a",H=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(V,f({as:t,align:e,label:c,kind:d,size:x,onMouseEnter:$,onMouseLeave:A,onFocus:b,onBlur:h,onClick:(U=[g,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<U.length&&!e.defaultPrevented;n++){const a=U[n];"function"==typeof a&&a(e,...t)}})},M,B,H),I||a)}return m().createElement(L,{onMouseEnter:$,onMouseLeave:A,onFocus:b,onBlur:h,onClick:g,...M,...B,...H},q,a,O);var U}));G.displayName="Button",G.propTypes={as:g().oneOfType([g().func,g().string,g().elementType]),children:g().node,className:g().string,dangerDescription:g().string,disabled:g().bool,hasIconOnly:g().bool,href:g().string,iconDescription:e=>!e.renderIcon||e.children||e.iconDescription?null:new Error("renderIcon property specified without also providing an iconDescription property."),isExpressive:g().bool,isSelected:g().bool,kind:g().oneOf(["primary","secondary","danger","ghost","danger--primary","danger--ghost","danger--tertiary","tertiary"]),onBlur:g().func,onClick:g().func,onFocus:g().func,onMouseEnter:g().func,onMouseLeave:g().func,renderIcon:g().oneOfType([g().func,g().object]),role:g().string,size:g().oneOf(["sm","md","lg","xl","2xl"]),tabIndex:g().number,tooltipAlignment:g().oneOf(["start","center","end"]),tooltipPosition:g().oneOf(["top","right","bottom","left"]),type:g().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,...h}=e;const g=_(),y=v()(`${g}--modal-header`,i),b=v()(`${g}--modal-header__label ${g}--type-delta`,p),$=v()(`${g}--modal-header__heading ${g}--type-beta`,d),A=v()(`${g}--modal-close`,r),w=v()(`${g}--modal-close__icon`,o);return m().createElement("div",f({className:y},h,{ref:n}),c&&m().createElement("h2",{className:b},c),u&&m().createElement("h3",{className:$},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:g().func,children:g().node,className:g().string,closeClassName:g().string,closeIconClassName:g().string,closeModal:g().func,iconDescription:g().string,label:g().node,labelClassName:g().string,title:g().node,titleClassName:g().string},Y.defaultProps={iconDescription:"Close"};const J=m().forwardRef((function(e,n){let{children:t,className:a,stacked:i,...r}=e;const o=_(),l=v()(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:g().node,className:g().string,stacked:g().bool},K.propTypes={closeModal:g().func,onRequestClose:g().func,secondaryButtonText:g().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:g().node,onClick:g().func};e[n].forEach((e=>{g().checkPropTypes(a,e,n,t)}))}return null},secondaryClassName:g().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:h,secondaryClassName:g,...y}=e;const b=_(),$=v()(`${b}--modal-footer`,a,Array.isArray(h)&&2===h.length?`${b}--modal-footer--three-button`:null),A={closeModal:i,secondaryButtons:h,secondaryButtonText:d,secondaryClassName:g,onRequestClose:l};return m().createElement(J,f({className:$},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:g().node,className:g().string,closeModal:g().func,danger:g().bool,inputref:g().oneOfType([g().func,g().shape({current:g().any})]),onRequestClose:g().func,onRequestSubmit:g().func,primaryButtonDisabled:g().bool,primaryButtonText:g().string,primaryClassName:g().string,secondaryButtonText:g().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:g().node,onClick:g().func};e[n].forEach((e=>{g().checkPropTypes(a,e,n,t)}))}return null},secondaryClassName:g().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};const ne=function(e,n){return e===n||e!=e&&n!=n},te=function(e,n){for(var t=e.length;t--;)if(ne(e[t][0],n))return t;return-1};var ae=Array.prototype.splice;function ie(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}ie.prototype.clear=function(){this.__data__=[],this.size=0},ie.prototype.delete=function(e){var n=this.__data__,t=te(n,e);return!(t<0||(t==n.length-1?n.pop():ae.call(n,t,1),--this.size,0))},ie.prototype.get=function(e){var n=this.__data__,t=te(n,e);return t<0?void 0:n[t][1]},ie.prototype.has=function(e){return te(this.__data__,e)>-1},ie.prototype.set=function(e,n){var t=this.__data__,a=te(t,e);return a<0?(++this.size,t.push([e,n])):t[a][1]=n,this};const re=ie,oe="object"==typeof global&&global&&global.Object===Object&&global;var le="object"==typeof self&&self&&self.Object===Object&&self;const se=oe||le||Function("return this")(),ce=se.Symbol;var pe=Object.prototype,ue=pe.hasOwnProperty,de=pe.toString,fe=ce?ce.toStringTag:void 0;var he=Object.prototype.toString;var ge=ce?ce.toStringTag:void 0;const ye=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ge&&ge in Object(e)?function(e){var n=ue.call(e,fe),t=e[fe];try{e[fe]=void 0;var a=!0}catch(e){}var i=de.call(e);return a&&(n?e[fe]=t:delete e[fe]),i}(e):function(e){return he.call(e)}(e)},me=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)},be=function(e){if(!me(e))return!1;var n=ye(e);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n},ve=se["__core-js_shared__"];var $e,Ae=($e=/[^.]+$/.exec(ve&&ve.keys&&ve.keys.IE_PROTO||""))?"Symbol(src)_1."+$e:"";var we=Function.prototype.toString;const _e=function(e){if(null!=e){try{return we.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var xe=/^\[object .+?Constructor\]$/,ke=Function.prototype,Ce=Object.prototype,ze=ke.toString,Ee=Ce.hasOwnProperty,Me=RegExp("^"+ze.call(Ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Ne=function(e){return!(!me(e)||(n=e,Ae&&Ae in n))&&(be(e)?Me:xe).test(_e(e));var n},Se=function(e,n){var t=function(e,n){return null==e?void 0:e[n]}(e,n);return Ne(t)?t:void 0},Te=Se(se,"Map"),Be=Se(Object,"create");var Oe=Object.prototype.hasOwnProperty;var Ie=Object.prototype.hasOwnProperty;function De(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}De.prototype.clear=function(){this.__data__=Be?Be(null):{},this.size=0},De.prototype.delete=function(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n},De.prototype.get=function(e){var n=this.__data__;if(Be){var t=n[e];return"__lodash_hash_undefined__"===t?void 0:t}return Oe.call(n,e)?n[e]:void 0},De.prototype.has=function(e){var n=this.__data__;return Be?void 0!==n[e]:Ie.call(n,e)},De.prototype.set=function(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=Be&&void 0===n?"__lodash_hash_undefined__":n,this};const je=De,Le=function(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 Pe(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}Pe.prototype.clear=function(){this.size=0,this.__data__={hash:new je,map:new(Te||re),string:new je}},Pe.prototype.delete=function(e){var n=Le(this,e).delete(e);return this.size-=n?1:0,n},Pe.prototype.get=function(e){return Le(this,e).get(e)},Pe.prototype.has=function(e){return Le(this,e).has(e)},Pe.prototype.set=function(e,n){var t=Le(this,e),a=t.size;return t.set(e,n),this.size+=t.size==a?0:1,this};const Re=Pe;function He(e){var n=this.__data__=new re(e);this.size=n.size}He.prototype.clear=function(){this.__data__=new re,this.size=0},He.prototype.delete=function(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t},He.prototype.get=function(e){return this.__data__.get(e)},He.prototype.has=function(e){return this.__data__.has(e)},He.prototype.set=function(e,n){var t=this.__data__;if(t instanceof re){var a=t.__data__;if(!Te||a.length<199)return a.push([e,n]),this.size=++t.size,this;t=this.__data__=new Re(a)}return t.set(e,n),this.size=t.size,this};const Fe=He;function qe(e){var n=-1,t=null==e?0:e.length;for(this.__data__=new Re;++n<t;)this.add(e[n])}qe.prototype.add=qe.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},qe.prototype.has=function(e){return this.__data__.has(e)};const Ue=qe,Ve=function(e,n){for(var t=-1,a=null==e?0:e.length;++t<a;)if(n(e[t],t,e))return!0;return!1},Ge=function(e,n,t,a,i,r){var o=1&t,l=e.length,s=n.length;if(l!=s&&!(o&&s>l))return!1;var c=r.get(e),p=r.get(n);if(c&&p)return c==n&&p==e;var u=-1,d=!0,f=2&t?new Ue:void 0;for(r.set(e,n),r.set(n,e);++u<l;){var h=e[u],g=n[u];if(a)var y=o?a(g,h,u,n,e,r):a(h,g,u,e,n,r);if(void 0!==y){if(y)continue;d=!1;break}if(f){if(!Ve(n,(function(e,n){if(o=n,!f.has(o)&&(h===e||i(h,e,t,a,r)))return f.push(n);var o}))){d=!1;break}}else if(h!==g&&!i(h,g,t,a,r)){d=!1;break}}return r.delete(e),r.delete(n),d},Ze=se.Uint8Array,We=function(e){var n=-1,t=Array(e.size);return e.forEach((function(e,a){t[++n]=[a,e]})),t},Ye=function(e){var n=-1,t=Array(e.size);return e.forEach((function(e){t[++n]=e})),t};var Je=ce?ce.prototype:void 0,Ke=Je?Je.valueOf:void 0;const Qe=Array.isArray;var Xe=Object.prototype.propertyIsEnumerable,en=Object.getOwnPropertySymbols;const nn=en?function(e){return null==e?[]:(e=Object(e),function(e,n){for(var t=-1,a=null==e?0:e.length,i=0,r=[];++t<a;){var o=e[t];n(o,t,e)&&(r[i++]=o)}return r}(en(e),(function(n){return Xe.call(e,n)})))}:function(){return[]},tn=function(e){return null!=e&&"object"==typeof e},an=function(e){return tn(e)&&"[object Arguments]"==ye(e)};var rn=Object.prototype,on=rn.hasOwnProperty,ln=rn.propertyIsEnumerable;const sn=an(function(){return arguments}())?an:function(e){return tn(e)&&on.call(e,"callee")&&!ln.call(e,"callee")};var cn="object"==typeof exports&&exports&&!exports.nodeType&&exports,pn=cn&&"object"==typeof module&&module&&!module.nodeType&&module,un=pn&&pn.exports===cn?se.Buffer:void 0;const dn=(un?un.isBuffer:void 0)||function(){return!1};var fn=/^(?:0|[1-9]\d*)$/;const hn=function(e,n){var t=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==t||"symbol"!=t&&fn.test(e))&&e>-1&&e%1==0&&e<n},gn=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var yn={};yn["[object Float32Array]"]=yn["[object Float64Array]"]=yn["[object Int8Array]"]=yn["[object Int16Array]"]=yn["[object Int32Array]"]=yn["[object Uint8Array]"]=yn["[object Uint8ClampedArray]"]=yn["[object Uint16Array]"]=yn["[object Uint32Array]"]=!0,yn["[object Arguments]"]=yn["[object Array]"]=yn["[object ArrayBuffer]"]=yn["[object Boolean]"]=yn["[object DataView]"]=yn["[object Date]"]=yn["[object Error]"]=yn["[object Function]"]=yn["[object Map]"]=yn["[object Number]"]=yn["[object Object]"]=yn["[object RegExp]"]=yn["[object Set]"]=yn["[object String]"]=yn["[object WeakMap]"]=!1;var mn="object"==typeof exports&&exports&&!exports.nodeType&&exports,bn=mn&&"object"==typeof module&&module&&!module.nodeType&&module,vn=bn&&bn.exports===mn&&oe.process,$n=function(){try{return bn&&bn.require&&bn.require("util").types||vn&&vn.binding&&vn.binding("util")}catch(e){}}(),An=$n&&$n.isTypedArray;const wn=An?(_n=An,function(e){return _n(e)}):function(e){return tn(e)&&gn(e.length)&&!!yn[ye(e)]};var _n,xn=Object.prototype.hasOwnProperty;const kn=function(e,n){var t=Qe(e),a=!t&&sn(e),i=!t&&!a&&dn(e),r=!t&&!a&&!i&&wn(e),o=t||a||i||r,l=o?function(e,n){for(var t=-1,a=Array(e);++t<e;)a[t]=n(t);return a}(e.length,String):[],s=l.length;for(var c in e)!n&&!xn.call(e,c)||o&&("length"==c||i&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||hn(c,s))||l.push(c);return l};var Cn=Object.prototype;const zn=function(e,n){return function(t){return e(n(t))}}(Object.keys,Object);var En=Object.prototype.hasOwnProperty;const Mn=function(e){if(t=(n=e)&&n.constructor,n!==("function"==typeof t&&t.prototype||Cn))return zn(e);var n,t,a=[];for(var i in Object(e))En.call(e,i)&&"constructor"!=i&&a.push(i);return a},Nn=function(e){return null!=e&&gn(e.length)&&!be(e)},Sn=function(e){return Nn(e)?kn(e):Mn(e)},Tn=function(e){return function(e,n,t){var a=n(e);return Qe(e)?a:function(e,n){for(var t=-1,a=n.length,i=e.length;++t<a;)e[i+t]=n[t];return e}(a,t(e))}(e,Sn,nn)};var Bn=Object.prototype.hasOwnProperty;const On=Se(se,"DataView"),In=Se(se,"Promise"),Dn=Se(se,"Set"),jn=Se(se,"WeakMap");var Ln="[object Map]",Pn="[object Promise]",Rn="[object Set]",Hn="[object WeakMap]",Fn="[object DataView]",qn=_e(On),Un=_e(Te),Vn=_e(In),Gn=_e(Dn),Zn=_e(jn),Wn=ye;(On&&Wn(new On(new ArrayBuffer(1)))!=Fn||Te&&Wn(new Te)!=Ln||In&&Wn(In.resolve())!=Pn||Dn&&Wn(new Dn)!=Rn||jn&&Wn(new jn)!=Hn)&&(Wn=function(e){var n=ye(e),t="[object Object]"==n?e.constructor:void 0,a=t?_e(t):"";if(a)switch(a){case qn:return Fn;case Un:return Ln;case Vn:return Pn;case Gn:return Rn;case Zn:return Hn}return n});const Yn=Wn;var Jn="[object Arguments]",Kn="[object Array]",Qn="[object Object]",Xn=Object.prototype.hasOwnProperty;const et=function(e,n,t,a,i,r){var o=Qe(e),l=Qe(n),s=o?Kn:Yn(e),c=l?Kn:Yn(n),p=(s=s==Jn?Qn:s)==Qn,u=(c=c==Jn?Qn:c)==Qn,d=s==c;if(d&&dn(e)){if(!dn(n))return!1;o=!0,p=!1}if(d&&!p)return r||(r=new Fe),o||wn(e)?Ge(e,n,t,a,i,r):function(e,n,t,a,i,r,o){switch(t){case"[object DataView]":if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=n.byteLength||!r(new Ze(e),new Ze(n)));case"[object Boolean]":case"[object Date]":case"[object Number]":return ne(+e,+n);case"[object Error]":return e.name==n.name&&e.message==n.message;case"[object RegExp]":case"[object String]":return e==n+"";case"[object Map]":var l=We;case"[object Set]":var s=1&a;if(l||(l=Ye),e.size!=n.size&&!s)return!1;var c=o.get(e);if(c)return c==n;a|=2,o.set(e,n);var p=Ge(l(e),l(n),a,i,r,o);return o.delete(e),p;case"[object Symbol]":if(Ke)return Ke.call(e)==Ke.call(n)}return!1}(e,n,s,t,a,i,r);if(!(1&t)){var f=p&&Xn.call(e,"__wrapped__"),h=u&&Xn.call(n,"__wrapped__");if(f||h){var g=f?e.value():e,y=h?n.value():n;return r||(r=new Fe),i(g,y,t,a,r)}}return!!d&&(r||(r=new Fe),function(e,n,t,a,i,r){var o=1&t,l=Tn(e),s=l.length;if(s!=Tn(n).length&&!o)return!1;for(var c=s;c--;){var p=l[c];if(!(o?p in n:Bn.call(n,p)))return!1}var u=r.get(e),d=r.get(n);if(u&&d)return u==n&&d==e;var f=!0;r.set(e,n),r.set(n,e);for(var h=o;++c<s;){var g=e[p=l[c]],y=n[p];if(a)var m=o?a(y,g,p,n,e,r):a(g,y,p,e,n,r);if(!(void 0===m?g===y||i(g,y,t,a,r):m)){f=!1;break}h||(h="constructor"==p)}if(f&&!h){var b=e.constructor,v=n.constructor;b==v||!("constructor"in e)||!("constructor"in n)||"function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v||(f=!1)}return r.delete(e),r.delete(n),f}(e,n,t,a,i,r))},nt=function e(n,t,a,i,r){return n===t||(null==n||null==t||!tn(n)&&!tn(t)?n!=n&&t!=t:et(n,t,a,i,e,r))},tt=function(e){return e==e&&!me(e)},at=function(e,n){return function(t){return null!=t&&t[e]===n&&(void 0!==n||e in Object(t))}},it=function(e){var n=function(e){for(var n=Sn(e),t=n.length;t--;){var a=n[t],i=e[a];n[t]=[a,i,tt(i)]}return n}(e);return 1==n.length&&n[0][2]?at(n[0][0],n[0][1]):function(t){return t===e||function(e,n,t,a){var i=t.length,r=i,o=!a;if(null==e)return!r;for(e=Object(e);i--;){var l=t[i];if(o&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<r;){var s=(l=t[i])[0],c=e[s],p=l[1];if(o&&l[2]){if(void 0===c&&!(s in e))return!1}else{var u=new Fe;if(a)var d=a(c,p,s,e,n,u);if(!(void 0===d?nt(p,c,3,a,u):d))return!1}}return!0}(t,e,n)}},rt=function(e){return"symbol"==typeof e||tn(e)&&"[object Symbol]"==ye(e)};var ot=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lt=/^\w*$/;const st=function(e,n){if(Qe(e))return!1;var t=typeof e;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=e&&!rt(e))||lt.test(e)||!ot.test(e)||null!=n&&e in Object(n)};function ct(e,n){if("function"!=typeof e||null!=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)||r,o};return t.cache=new(ct.Cache||Re),t}ct.Cache=Re;var pt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ut=/\\(\\)?/g;const dt=(ft=ct((function(e){var n=[];return 46===e.charCodeAt(0)&&n.push(""),e.replace(pt,(function(e,t,a,i){n.push(a?i.replace(ut,"$1"):t||e)})),n}),(function(e){return 500===ht.size&&ht.clear(),e})),ht=ft.cache,ft);var ft,ht;var gt=ce?ce.prototype:void 0,yt=gt?gt.toString:void 0;const mt=function e(n){if("string"==typeof n)return n;if(Qe(n))return function(e,n){for(var t=-1,a=null==e?0:e.length,i=Array(a);++t<a;)i[t]=n(e[t],t,e);return i}(n,e)+"";if(rt(n))return yt?yt.call(n):"";var t=n+"";return"0"==t&&1/n==-1/0?"-0":t},bt=function(e,n){return Qe(e)?e:st(e,n)?[e]:dt(function(e){return null==e?"":mt(e)}(e))},vt=function(e){if("string"==typeof e||rt(e))return e;var n=e+"";return"0"==n&&1/e==-1/0?"-0":n},$t=function(e,n){for(var t=0,a=(n=bt(n,e)).length;null!=e&&t<a;)e=e[vt(n[t++])];return t&&t==a?e:void 0},At=function(e,n){return null!=e&&n in Object(e)},wt=function(e,n){return null!=e&&function(e,n,t){for(var a=-1,i=(n=bt(n,e)).length,r=!1;++a<i;){var o=vt(n[a]);if(!(r=null!=e&&t(e,o)))break;e=e[o]}return r||++a!=i?r:!!(i=null==e?0:e.length)&&gn(i)&&hn(o,i)&&(Qe(e)||sn(e))}(e,n,At)},_t=function(e,n){return st(e)&&tt(n)?at(vt(e),n):function(t){var a=function(e,n,t){var a=null==e?void 0:$t(e,n);return void 0===a?t:a}(t,e);return void 0===a&&a===n?wt(t,e):nt(n,a,3)}},xt=function(e){return e},kt=function(e){return st(e)?(n=vt(e),function(e){return null==e?void 0:e[n]}):function(e){return function(n){return $t(n,e)}}(e);var n},Ct=function(e){return"function"==typeof e?e:null==e?xt:"object"==typeof e?Qe(e)?_t(e[0],e[1]):it(e):kt(e)};var zt=/\s/;var Et=/^\s+/;const Mt=function(e){return e?e.slice(0,function(e){for(var n=e.length;n--&&zt.test(e.charAt(n)););return n}(e)+1).replace(Et,""):e};var Nt=/^[-+]0x[0-9a-f]+$/i,St=/^0b[01]+$/i,Tt=/^0o[0-7]+$/i,Bt=parseInt;const Ot=function(e){return e?Infinity===(e=function(e){if("number"==typeof e)return e;if(rt(e))return NaN;if(me(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=me(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=Mt(e);var t=St.test(e);return t||Tt.test(e)?Bt(e.slice(2),t?2:8):Nt.test(e)?NaN:+e}(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var It=Math.max,Dt=Math.min;const jt=(Ht=function(e,n,t){var a=null==e?0:e.length;if(!a)return-1;var i=a-1;return void 0!==t&&(i=function(e){var n=Ot(e),t=n%1;return n==n?t?n-t:n:0}(t),i=t<0?It(a+i,0):Dt(i,a-1)),function(e,n,t,a){for(var i=e.length,r=t+(a?1:-1);a?r--:++r<i;)if(n(e[r],r,e))return r;return-1}(e,Ct(n),i,!0)},function(e,n,t){var a=Object(e);if(!Nn(e)){var i=Ct(n);e=Sn(e),n=function(e){return i(a[e],e,a)}}var r=Ht(e,n,t);return r>-1?a[i?e[r]:r]:void 0}),Lt="undefined"!=typeof Node&&Node.DOCUMENT_POSITION_PRECEDING|Node.DOCUMENT_POSITION_CONTAINS,Pt="undefined"!=typeof Node&&Node.DOCUMENT_POSITION_FOLLOWING|Node.DOCUMENT_POSITION_CONTAINED_BY,Rt="\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";var Ht;const Ft=m().forwardRef((function(e,n){let{className:t,children:a,hasForm:i,hasScrollingContent:r,...o}=e;const l=_(),s=v()(`${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 qt;Ft.propTypes={"aria-label":(qt=g().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 qt(e,n,t,...i)}),children:g().node,className:g().string,hasForm:g().bool,hasScrollingContent:g().bool};const Ut=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:h,selectorsFloatingMenus:g,size:b,launcherButtonRef:$,...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=v()(`${w}--modal`,x&&"is-visible",l&&`${w}--modal--danger`,r),O=v()(`${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&&$&&setTimeout((()=>{$?.current?.focus()}))}),[u,$]),(0,y.useEffect)((()=>{u&&x&&(e=>{const n=(e=>{const n=e||E.current;return(n?n.querySelector(h):null)||M&&M.current})(e);n&&n.focus()})(E.current)}),[u,h,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&Lt){const e=jt(n.querySelectorAll(Rt),(e=>Boolean(e.offsetParent)));e?e.focus():n!==r&&n.focus()}else if(i===a||e&Pt){const e=Array.prototype.find.call(n.querySelectorAll(Rt),(e=>Boolean(e.offsetParent)));e?e.focus():n!==r&&n.focus()}}}({bodyNode:e,startTrapNode:a,endTrapNode:i,currentActiveNode:t,oldActiveNode:n,selectorsFloatingMenus:g?.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")))}));Ut.propTypes={"aria-label":g().string,"aria-labelledby":g().string,children:g().node,className:g().string,containerClassName:g().string,danger:g().bool,isFullWidth:g().bool,launcherButtonRef:g().oneOfType([g().func,g().shape({current:g().any})]),onClose:g().func,onKeyDown:g().func,open:g().bool,preventCloseOnClickOutside:g().bool,selectorPrimaryFocus:g().string,selectorsFloatingMenus:g().arrayOf(g().string),size:g().oneOf(["xs","sm","md","lg"])},Ut.defaultProps={selectorPrimaryFocus:"[data-modal-primary-focus]"};var Vt=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 Gt=(0,y.createContext)(null);function Zt(e){let{as:n,children:t,dir:a="auto",...i}=e;const r=(0,y.useContext)(Gt),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(Gt.Provider,{value:s},m().createElement(l,f({},i,o),t))}Zt.propTypes={as:g().oneOfType([g().func,g().string,g().elementType]),children:g().node.isRequired,dir:g().oneOf(["ltr","rtl","auto"])};const Wt=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=_(),h=D("radio-button"),g=r||h,b=v()(`${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:$},m().createElement("input",f({},u,{type:"radio",className:`${d}--radio-button`,onChange:function(e){c(p,s,e)},id:g,ref:Vt(A,n),disabled:a,value:p,name:s})),m().createElement("label",{htmlFor:g,className:`${d}--radio-button__label`},m().createElement("span",{className:`${d}--radio-button__appearance`}),l&&m().createElement(Zt,{className:b},l)))}));function Yt(e,n){return function(n){return m().createElement(Zt,f({as:e},n))}}Wt.displayName="RadioButton",Wt.propTypes={checked:g().bool,className:g().string,defaultChecked:g().bool,disabled:g().bool,hideLabel:g().bool,id:g().string,labelPosition:g().oneOf(["right","left"]),labelText:g().node.isRequired,name:g().string,onChange:g().func,onClick:g().func,value:g().oneOfType([g().string,g().number])},Yt("label");const Jt=Yt("legend");var Kt,Qt,Xt,ea,na,ta,aa,ia,ra,oa,la,sa=t(6248);const ca=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},Kt||(Kt=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"})),Qt||(Qt=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"})),Xt||(Xt=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)})),pa=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return 16===a||"16"===a||"16px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...i},ea||(ea=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"})),na||(na=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(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...i},ta||(ta=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"})),aa||(aa=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(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...i},ia||(ia=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"})),ra||(ra=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(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},oa||(oa=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"})),la||(la=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)})),ua=N(),da=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:h="horizontal",readOnly:g,valueSelected:b,warn:$=!1,warnText:A,...w}=e,x=_(),[k,C]=(0,y.useState)(b??i),[z,E]=(0,y.useState)(b),{current:M}=(0,y.useRef)(ua());function N(e,n,t){g||e!==k&&(C(e),d(e,u,t))}b!==z&&(C(b),E(b));const S=!g&&!l&&$,T=!l&&!r&&!$,B=v()(`${x}--form-item`,a),O=v()(`${x}--radio-button-group`,{[`${x}--radio-button-group--${h}`]:"vertical"===h,[`${x}--radio-button-group--label-${c}`]:c,[`${x}--radio-button-group--readonly`]:g,[`${x}--radio-button-group--invalid`]:!g&&l,[`${x}--radio-button-group--warning`]:S}),I=v()(`${x}--form__helper-text`,{[`${x}--form__helper-text--disabled`]:r}),D=o?`radio-button-group-helper-text-${M}`:void 0,j=o?m().createElement("div",{id:D,className:I},o):null,L=(0,y.useRef)(null);return m().createElement("div",{className:B,ref:Vt(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(Jt,{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`},!g&&l&&m().createElement(m().Fragment,null,m().createElement(pa,{className:`${x}--radio-button__invalid-icon`}),m().createElement("div",{className:`${x}--form-requirement`},s)),S&&m().createElement(m().Fragment,null,m().createElement(ca,{className:`${x}--radio-button__invalid-icon ${x}--radio-button__invalid-icon--warning`}),m().createElement("div",{className:`${x}--form-requirement`},A))),T&&j)}));da.propTypes={children:g().node,className:g().string,defaultSelected:g().oneOfType([g().string,g().number]),disabled:g().bool,helperText:g().node,invalid:g().bool,invalidText:g().node,labelPosition:g().oneOf(["left","right"]),legendText:g().node,name:g().string.isRequired,onChange:g().func,orientation:g().oneOf(["horizontal","vertical"]),readOnly:g().bool,valueSelected:g().oneOfType([g().string,g().number]),warn:g().bool,warnText:g().node},da.displayName="RadioButtonGroup";const fa=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":g().string,"aria-labelledby":g().string}),ha=e=>{let{className:n,children:t,...a}=e;const i=_(),r=v()(`${i}--header`,n);return m().createElement("header",f({},a,{className:r}),t)};ha.propTypes={...fa,className:g().string};var ga=ha;function ya(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})}ya.propTypes={isSideNavExpanded:g().bool,render:g().elementType.isRequired};const ma=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=v()({[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)}));ma.propTypes={...fa,children:g().node.isRequired,className:g().string,isActive:g().bool,onClick:g().func,tooltipAlignment:g().oneOf(["start","center","end"])},ma.displayName="HeaderGlobalAction";var ba,va,$a,Aa,wa=ma,_a=(e=>{let{name:n,className:t,type:a}=e;function i(e){let{className:n,...i}=e;const r=_(),o=v()("function"==typeof t?t(r):t,n);return m().createElement(a,{...i,className:o||void 0})}return i.displayName=n,i.propTypes={className:g().string},i})({name:"HeaderGlobalBar",className:e=>`${e}--header__global`,type:"div"});const xa=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return 16===a||"16"===a||"16px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...i},ba||(ba=m().createElement("path",{d:"M2 12H14V13H2zM2 9H14V10H2zM2 6H14V7H2zM2 3H14V4H2z"})),t):20===a||"20"===a||"20px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...i},va||(va=m().createElement("path",{d:"M2 14.8H18V16H2zM2 11.2H18V12.399999999999999H2zM2 7.6H18V8.799999999999999H2zM2 4H18V5.2H2z"})),t):24===a||"24"===a||"24px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...i},$a||($a=m().createElement("path",{d:"M3 18H21V19.5H3zM3 13.5H21V15H3zM3 9H21V10.5H3zM3 4.5H21V6H3z"})),t):m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},Aa||(Aa=m().createElement("path",{d:"M4 6H28V8H4zM4 24H28V26H4zM4 12H28V14H4zM4 18H28V20H4z"})),t)}));var ka,Ca;function za(e){let{"aria-label":n,"aria-labelledby":t,className:a,renderMenuIcon:i,renderCloseIcon:r,isActive:o,isCollapsible:l,...s}=e;const c=_(),p=v()({..."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||ka||(ka=m().createElement(xa,{size:20})),d=r||Ca||(Ca=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)}za.propTypes={...fa,className:g().string,isActive:g().bool,isCollapsible:g().bool,onClick:g().func};const Ea=()=>{},Ma=m().forwardRef((function(e,n){let{children:t,className:a,expanded:i,addFocusListeners:r=!0,onHeaderPanelFocus:o=Ea,href:l,...s}=e;const c=_(),p=(0,y.useRef)(null),u=A([p,n]),d=(0,y.useRef)(void 0!==i).current,[h,g]=(0,y.useState)(i),b=d?i:h,[$,w]=(0,y.useState)(null),k=v()(`${c}--header-panel`,{[`${c}--header-panel--expanded`]:b,[a]:!!a}),C={};return r&&(C.onBlur=e=>{e.currentTarget.contains(e.relatedTarget)||$?.classList?.contains("cds--switcher__item-link")||(g(!1),w(null),i&&o())},C.onKeyDown=e=>{L(e,R)&&(g(!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||(g(!1),o())})),m().createElement("div",f({},s,{className:k,ref:u},C),t)}));Ma.propTypes={addFocusListeners:g().bool,children:g().node,className:g().string,expanded:g().bool,href:g().string,onHeaderPanelFocus:g().func},Ma.displayName="HeaderPanel";var Na=Ma;const Sa=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=v()(`${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()},h=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),h)}));Sa.displayName="Switcher",Sa.propTypes={...fa,children:g().node.isRequired,className:g().string,expanded:g().bool};var Ta=Sa;const Ba={};function Oa(e,n){return function(n,t,a){if(void 0!==n[t]){Ba[a]&&Ba[a][t]||(Ba[a]={...Ba[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)}}}function Ia(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 Da=(0,y.forwardRef)(Ia),ja={as:g().elementType,element:Oa(g().elementType),isSideNavExpanded:g().bool};Da.displayName="Link",Da.propTypes=ja;const La=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 h=_(),g=v()(`${h}--switcher__item`,{[i]:!!i}),y={"aria-label":t,"aria-labelledby":a},b=v()(`${h}--switcher__item-link`,{[`${h}--switcher__item-link--selected`]:o});return m().createElement("li",{className:g},m().createElement(Da,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))}));La.displayName="SwitcherItem",La.propTypes={...fa,children:g().node.isRequired,className:g().string,handleSwitcherItemFocus:g().func,index:g().number,onKeyDown:g().func,tabIndex:g().number};var Pa=La;const Ra=e=>{let{className:n,...t}=e;const a=_(),i=v()(`${a}--switcher__item--divider`,{[n]:!!n});return m().createElement("hr",f({},t,{className:i}))};Ra.propTypes={className:g().string};var Ha,Fa,qa,Ua,Va,Ga,Za,Wa,Ya=Ra;const Ja=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return 16===a||"16"===a||"16px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...i},Ha||(Ha=m().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"})),Fa||(Fa=m().createElement("path",{fill:"none",d:"M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z","data-icon-path":"inner-path",opacity:"0"})),t):20===a||"20"===a||"20px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...i},qa||(qa=m().createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z"})),Ua||(Ua=m().createElement("path",{d:"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z","data-icon-path":"inner-path",opacity:"0"})),t):24===a||"24"===a||"24px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...i},Va||(Va=m().createElement("path",{d:"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11S18.1,1,12,1z M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z"})),Ga||(Ga=m().createElement("path",{fill:"none",d:"M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z","data-icon-path":"inner-path",opacity:"0"})),t):m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},Za||(Za=m().createElement("path",{fill:"none",d:"M14.9 7.2H17.1V24.799H14.9z","data-icon-path":"inner-path",transform:"rotate(-45 16 16)"})),Wa||(Wa=m().createElement("path",{d:"M16,2A13.914,13.914,0,0,0,2,16,13.914,13.914,0,0,0,16,30,13.914,13.914,0,0,0,30,16,13.914,13.914,0,0,0,16,2Zm5.4449,21L9,10.5557,10.5557,9,23,21.4448Z"})),t)}));var Ka,Qa,Xa,ei,ni,ti,ai,ii;const ri=m().forwardRef((function(e,n){let{children:t,size:a=16,...i}=e;return 16===a||"16"===a||"16px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...i},Ka||(Ka=m().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z"})),Qa||(Qa=m().createElement("path",{d:"M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z","data-icon-path":"inner-path",opacity:"0"})),t):20===a||"20"===a||"20px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...i},Xa||(Xa=m().createElement("path",{d:"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z"})),ei||(ei=m().createElement("path",{fill:"none",d:"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z","data-icon-path":"inner-path",opacity:"0"})),t):24===a||"24"===a||"24px"===a?m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...i},ni||(ni=m().createElement("path",{d:"M12,1C6,1,1,6,1,12s5,11,11,11s11-4.9,11-11S18.1,1,12,1z M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z"})),ti||(ti=m().createElement("path",{fill:"none",d:"M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z","data-icon-path":"inner-path",opacity:"0"})),t):m().createElement(sa.I,{width:a,height:a,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},ai||(ai=m().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z"})),ii||(ii=m().createElement("path",{fill:"none",d:"M14 21.591L9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z","data-icon-path":"inner-path"})),t)}));function oi(e){let{active:n=!0,className:t,withOverlay:a=!0,small:i=!1,description:r="loading",...o}=e;const l=_(),s=v()(t,{[`${l}--loading`]:!0,[`${l}--loading--small`]:i,[`${l}--loading--stop`]:!n}),c=v()({[`${l}--loading-overlay`]:!0,[`${l}--loading-overlay--stop`]:!n}),p=m().createElement("div",f({},o,{"aria-atomic":"true","aria-live":n?"assertive":"off",className:s}),m().createElement("svg",{className:`${l}--loading__svg`,viewBox:"0 0 100 100"},m().createElement("title",null,r),i?m().createElement("circle",{className:`${l}--loading__background`,cx:"50%",cy:"50%",r:"44"}):null,m().createElement("circle",{className:`${l}--loading__stroke`,cx:"50%",cy:"50%",r:"44"})));return a?m().createElement("div",{className:c},p):p}function li(e){let{className:n,status:t="active",iconDescription:a,description:i,onSuccess:r,successDelay:o=1500,...l}=e;const s=_(),c=v()(`${s}--inline-loading`,n),p=m().createElement("div",{className:`${s}--inline-loading__text`},i),u=(()=>{let e=a||t;return"error"===t?m().createElement(Ja,{className:`${s}--inline-loading--error`},m().createElement("title",null,e)):"finished"===t?(setTimeout((()=>{r&&r()}),o),m().createElement(ri,{className:`${s}--inline-loading__checkmark-container`},m().createElement("title",null,e))):"inactive"===t||"active"===t?(a||(e="active"===t?"loading":"not loading"),m().createElement(oi,{small:!0,description:e,withOverlay:!1,active:"active"===t})):void 0})(),d=u&&m().createElement("div",{className:`${s}--inline-loading__animation`},u);return m().createElement("div",f({className:c},l,{"aria-live":"assertive"}),d,i&&p)}oi.propTypes={active:g().bool,className:g().string,description:g().string,id:Oa(g().string),small:g().bool,withOverlay:g().bool},li.propTypes={className:g().string,description:g().node,iconDescription:g().string,onSuccess:g().func,status:g().oneOf(["inactive","active","finished","error"]),successDelay:g().number}},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;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}:root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-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,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CAPF,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CCxDF,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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/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;width:auto;max-width:300px;height:40px;overflow:hidden;position:relative;object-fit:cover;object-position:left}","",{version:3,sources:["webpack://./src/components/logo/logo.scss"],names:[],mappings:"AAAA,6CACE,YAAA,CACA,kBAAA,CACA,UAAA,CACA,eAAA,CACA,WAAA,CACA,eAAA,CACA,iBAAA,CACA,gBAAA,CACA,oBAAA",sourcesContent:[".logo {\n display: flex;\n align-items: center;\n width: auto;\n max-width: 300px;\n height: 40px;\n overflow: hidden;\n position: relative;\n object-fit: cover;\n object-position: left;\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;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-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,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CCxDF,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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/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;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}:root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-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,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CAPF,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CCxDF,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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/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;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-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,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CCxDF,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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/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;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-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,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CCzDF,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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@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;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-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,CACA,yBAAA,CACA,+BAAA,CACA,yEAAA,CACA,2GAAA,CCxDF,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 --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/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")}},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 h=i(f,a);a.byIndex=l,n.splice(l,0,{identifier:u,updater:h,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))}}},5940:(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(5940);var r=t(5776),o=t.n(r),l=t(1763),s=t(2680),c=t(841),p=t.n(c),u=t(856),d=function(e){return"small-desktop"===e||"large-desktop"===e},f=t(6390),h=t(487),g=t.n(h),y=t(631),m=t.n(y),b=t(2052),v=t.n(b),$=t(4010),A=t.n($),w=t(1469),_=t.n(w),x=t(9329),k=t.n(x),C=t(8815),z={};z.styleTagTransform=k(),z.setAttributes=A(),z.insert=v().bind(null,"head"),z.domAPI=m(),z.insertStyleElement=_(),g()(C.Z,z);const E=C.Z&&C.Z.locals?C.Z.locals:void 0,M=function(e){var n,t,i,l,c,d=e.expanded,h=e.hidePanel,g=(0,a.useOnClickOutside)(h,d),y=(0,a.useConfig)(),m=(0,s.useTranslation)().t;return(0,r.useEffect)((function(){return window.addEventListener("popstate",h),function(){return window.removeEventListener("popstate",h)}}),[h]),d&&o().createElement(u.yh,{ref:g,className:p()((i={},l=E.headerPanel,c=d,l in i?Object.defineProperty(i,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):i[l]=c,i)),"aria-label":"App Menu Panel",expanded:d},o().createElement(a.ExtensionSlot,{className:E.menuLink,name:"app-menu-slot"}),(null==y||null===(n=y.externalRefLinks)||void 0===n?void 0:n.length)>0&&o().createElement("div",{className:p()(E.menuLink,E.externalLinks)},null==y||null===(t=y.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},m(null==e?void 0:e.title),o().createElement(f.GI,{size:16,className:E.launchIcon}))}))))};var N=t(2727),S={};S.styleTagTransform=k(),S.setAttributes=A(),S.insert=v().bind(null,"head"),S.domAPI=m(),S.insertStyleElement=_(),g()(N.Z,S);const T=N.Z&&N.Z.locals?N.Z.locals:void 0,B=function(){var e=(0,a.useConfig)().logo;return o().createElement(o().Fragment,null,(null==e?void 0:e.src)?o().createElement("img",{className:T.logo,src:(0,a.interpolateUrl)(e.src),alt:e.alt}):(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 O=t(7726),I={};I.styleTagTransform=k(),I.setAttributes=A(),I.insert=v().bind(null,"head"),I.domAPI=m(),I.insertStyleElement=_(),g()(O.Z,I);const D=O.Z&&O.Z.locals?O.Z.locals:void 0,j=function(e){var n=e.expanded,t=(0,s.useTranslation)().t,i=(0,r.useMemo)((function(){return{expanded:n}}),[n]);return o().createElement(u.yh,{"aria-label":"Notifications Panel",expanded:n},o().createElement("h1",{className:D.heading},t("notifications","Notifications")),o().createElement(a.ExtensionSlot,{name:"notifications-nav-menu-slot",state:i}))};var L=t(9177),P=t(6654),R={};R.styleTagTransform=k(),R.setAttributes=A(),R.insert=v().bind(null,"head"),R.domAPI=m(),R.insertStyleElement=_(),g()(P.Z,R);const H=P.Z&&P.Z.locals?P.Z.locals:void 0;function F(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 q=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 F(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)?F(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:H.offlineBanner},o().createElement("div",{className:H.offlineIconContainer},o().createElement(L.iY,{size:16})),o().createElement("span",{className:H.offlineNote},"Offline"),o().createElement("div",{className:H.offlineLastUpdatedContainer},o().createElement("span",{className:H.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 U=t(8078),V={};V.styleTagTransform=k(),V.setAttributes=A(),V.insert=v().bind(null,"head"),V.domAPI=m(),V.insertStyleElement=_(),g()(U.Z,V);const G=U.Z&&U.Z.locals?U.Z.locals:void 0,Z=function(e){var n=e.expanded,t=e.hidePanel,i=(0,a.useOnClickOutside)(t,n);return o().createElement(u.yh,{ref:i,className:G.headerPanel,expanded:n,"aria-label":"Location","aria-labelledby":"Location Icon"},o().createElement(u.T5f,{className:G.userPanelSwitcher,"aria-label":"Switcher Container"},o().createElement(a.ExtensionSlot,{className:G.fullWidth,name:"user-panel-slot"}),o().createElement(u.GQc,{className:G.divider}),o().createElement(a.ExtensionSlot,{className:G.fullWidth,name:"user-panel-bottom-slot"})))},W=function(e){var n=e.expanded,t=e.hidePanel,i=(0,a.useOnClickOutside)(t,n);return(0,r.useEffect)((function(){return window.addEventListener("popstate",t),function(){return window.removeEventListener("popstate",t)}}),[t]),n&&o().createElement(a.LeftNavMenu,{ref:i,isChildOfHeader:!0})};var Y=t(3205),J={};J.styleTagTransform=k(),J.setAttributes=A(),J.insert=v().bind(null,"head"),J.domAPI=m(),J.insertStyleElement=_(),g()(Y.Z,J);const K=Y.Z&&Y.Z.locals?Y.Z.locals:void 0;function Q(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 X(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var ee=function(){var e,n,t,i,l=(0,s.useTranslation)().t,c=(0,a.useConfig)(),f=(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 Q(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)?Q(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.")}()),h=f[0],g=f[1],y=(0,a.useLayoutType)(),m=(0,a.useConnectedExtensions)("patient-chart-dashboard-slot").map((function(e){return e.id})),b=(0,a.useConnectedExtensions)("app-menu-slot"),v=(0,a.useConnectedExtensions)("user-panel-slot"),$=(0,r.useCallback)((function(e){return h===e}),[h]),A=(0,r.useCallback)((function(e){g((function(n){return n===e?null:e}))}),[]),w=(0,r.useCallback)((function(e){return function(){g((function(n){return n===e?null:n}))}}),[]),_=(0,r.useMemo)((function(){return!d(y)&&m.length>0}),[m.length,y]),x=(0,r.useMemo)((function(){return b.length>0}),[b.length]),k=(0,r.useMemo)((function(){return v.length>0}),[v.length]);return o().createElement(o().Fragment,null,o().createElement(q,null),o().createElement(u.h4i,{"aria-label":"OpenMRS",className:K.topNavHeader},_&&o().createElement(u.wID,{"aria-label":"Open menu",isCollapsible:!0,className:K.headerMenuButton,onClick:function(){A("sideMenu")},isActive:$("sideMenu")}),o().createElement(a.ConfigurableLink,{to:c.logo.link},o().createElement("div",{className:_?"":K.spacedLogo},o().createElement(B,null))),o().createElement(a.ExtensionSlot,{className:K.dividerOverride,name:"top-nav-info-slot"}),o().createElement(u.sLE,{className:K.headerGlobalBar},o().createElement(a.ExtensionSlot,{name:"top-nav-actions-slot",className:K.topNavActionsSlot}),o().createElement(a.ExtensionSlot,{name:"notifications-menu-button-slot",state:{isActivePanel:$,togglePanel:A}}),k&&o().createElement(u.JMr,{"aria-label":l("userMenuTooltip","My Account"),"aria-labelledby":"Users Avatar Icon",className:p()((e={},X(e,K.headerGlobalBarButton,$("userMenu")),X(e,K.activePanel,!$("userMenu")),e)),enterDelayMs:500,name:"User",isActive:$("userMenu"),onClick:function(){A("userMenu")}},$("userMenu")?o().createElement(a.CloseIcon,{size:20}):o().createElement(a.UserAvatarIcon,{size:20})),x&&o().createElement(u.JMr,{"aria-label":"App Menu","aria-labelledby":"App Menu",className:p()((n={},X(n,K.headerGlobalBarButton,$("appMenu")),X(n,K.activePanel,!$("appMenu")),n)),enterDelayMs:500,isActive:$("appMenu"),tooltipAlignment:"end",onClick:function(){A("appMenu")}},$("appMenu")?o().createElement(a.CloseIcon,{size:20}):o().createElement(a.SwitcherIcon,{size:20}))),!d(y)&&o().createElement(W,{hidePanel:w("sideMenu"),expanded:$("sideMenu")}),x&&o().createElement(M,{expanded:$("appMenu"),hidePanel:w("appMenu")}),o().createElement(j,{expanded:$("notificationsMenu")}),k&&o().createElement(Z,{expanded:$("userMenu"),hidePanel:w("userMenu")})))};const ne=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(u.gMZ,{render:ee}):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 te=t(5547),ae={};ae.styleTagTransform=k(),ae.setAttributes=A(),ae.insert=v().bind(null,"head"),ae.domAPI=m(),ae.insertStyleElement=_(),g()(te.Z,ae);const ie=te.Z&&te.Z.locals?te.Z.locals:void 0;var re=t(5761),oe={};oe.styleTagTransform=k(),oe.setAttributes=A(),oe.insert=v().bind(null,"head"),oe.domAPI=m(),oe.insertStyleElement=_(),g()(re.Z,oe);const le=re.Z&&re.Z.locals?re.Z.locals:void 0;function se(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 ce(e){return function(){var n=this,t=arguments;return new Promise((function(a,i){var r=e.apply(n,t);function o(e){se(r,a,i,o,l,"next",e)}function l(e){se(r,a,i,o,l,"throw",e)}o(void 0)}))}}function pe(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 ue={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:ie.primaryNavContainer},o().createElement(ne,null))})))}),ue),ce((function(){return pe(this,(function(e){return[2,{bootstrap:ce((function(){return pe(this,(function(e){return[2,(0,a.navigate)({to:"${openmrsSpaBase}/home"})]}))})),mount:ce((function(){return pe(this,(function(e){return[2,void 0]}))})),unmount:ce((function(){return pe(this,(function(e){return[2,void 0]}))}))}]}))})),(0,a.getSyncLifecycle)((function(){var e,n,t=(0,a.useSession)();return o().createElement(u.m0z,{"aria-label":"User"},o().createElement(a.UserAvatarIcon,{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))}),ue),(0,a.getSyncLifecycle)((function(){var e=(0,s.useTranslation)().t,n=(0,a.useSession)(),t=(0,r.useCallback)((function(){return(0,a.showModal)("change-language-modal")}),[]),i=new Intl.DisplayNames([null==n?void 0:n.locale],{type:"language"});return o().createElement(u.m0z,{className:le.panelItemContainer,"aria-label":e("changeLanguage","Change language")},o().createElement("div",null,o().createElement(a.TranslateIcon,{size:20}),o().createElement("p",null,i.of(null==n?void 0:n.locale))),o().createElement(u.zxk,{kind:"ghost",onClick:t},e("change","Change")))}),ue),(0,a.getSyncLifecycle)(q,ue),(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))}),ue)},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],"./zh_CN.json":[1644,644]};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.6.1-pre.1844",(()=>Promise.all([i.e(884),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(667),i.e(776)]).then((()=>()=>i(667))))),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 h=n[o];d.push(1==h?f()|f():2==h?f()&f():h?t(h,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],(()=>Promise.all([i.e(884),i.e(889)]).then((()=>()=>i(4889))))),8478:()=>c("default","@openmrs/esm-framework/src/internal",(()=>Promise.all([i.e(884),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(667).then((()=>()=>i(667)))))};[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,380: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)})();
|