@openmrs/esm-implementer-tools-app 7.0.1-pre.3274 → 7.0.1-pre.3279

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/dist/5563.js CHANGED
@@ -1 +1 @@
1
- (globalThis.webpackChunk_openmrs_esm_implementer_tools_app=globalThis.webpackChunk_openmrs_esm_implementer_tools_app||[]).push([[5563],{5563:(e,A,n)=>{"use strict";n.r(A),n.d(A,{ConfigEditButton:()=>J,globalImplementerTools:()=>L,implementerTools:()=>H,implementerToolsButton:()=>K,importTranslation:()=>R});var t,r=n(19287),o=n(20796),s=n.n(o),i=n(11555),a=n(82604),c=n(75741);function d(e,A){(null==A||A>e.length)&&(A=e.length);for(var n=0,t=new Array(A);n<A;n++)t[n]=e[n];return t}function l(e,A,n,t,r,o,s){try{var i=e[o](s),a=i.value}catch(e){return void n(e)}i.done?A(a):Promise.resolve(a).then(t,r)}function u(e){return function(){var A=this,n=arguments;return new Promise((function(t,r){var o=e.apply(A,n);function s(e){l(o,t,r,s,i,"next",e)}function i(e){l(o,t,r,s,i,"throw",e)}s(void 0)}))}}function p(e,A,n){return A in e?Object.defineProperty(e,A,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[A]=n,e}function C(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,A){if(e){if("string"==typeof e)return d(e,A);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,A):void 0}}function h(e,A){var n,t,r,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=i(0),s.throw=i(1),s.return=i(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function i(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,i[0]&&(o=0)),o;)try{if(n=1,t&&(r=2&i[0]?t.return:i[0]?t.throw||((r=t.return)&&r.call(t),0):t.next)&&!(r=r.call(t,i[1])).done)return r;switch(t=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,t=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){o.label=i[1];break}if(6===i[0]&&o.label<r[1]){o.label=r[1],r=i;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(i);break}r[2]&&o.ops.pop(),o.trys.pop();continue}i=A.call(e,o)}catch(e){i=[6,e],t=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function m(e,A){return(0,r.isVersionSatisfied)(e,A)?"okay":"version-mismatch"}function g(e,A){(null==A||A>e.length)&&(A=e.length);for(var n=0,t=new Array(A);n<A;n++)t[n]=e[n];return t}function b(){var e,A,n=(e=(0,o.useState)([]),A=2,function(e){if(Array.isArray(e))return e}(e)||function(e,A){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,r,o=[],s=!0,i=!1;try{for(n=n.call(e);!(s=(t=n.next()).done)&&(o.push(t.value),!A||o.length!==A);s=!0);}catch(e){i=!0,r=e}finally{try{s||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e,A)||function(e,A){if(e){if("string"==typeof e)return g(e,A);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,A):void 0}}(e,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.")}()),s=n[0],i=n[1];return(0,o.useEffect)((function(){u((function(){var e,A,n;return h(this,(function(o){switch(o.label){case 0:return t?[3,2]:(A=(null!==(e=window.installedModules)&&void 0!==e?e:[]).filter((function(e){var A,n;return Boolean((null===(A=e[1])||void 0===A?void 0:A.backendDependencies)||(null===(n=e[1])||void 0===n?void 0:n.optionalBackendDependencies))})).map((function(e){var A;return{backendDependencies:e[1].backendDependencies,optionalBackendDependencies:Object.fromEntries(Object.entries(null!==(A=e[1].optionalBackendDependencies)&&void 0!==A?A:{}).map((function(e){var A=function(e,A){return function(e){if(Array.isArray(e))return e}(e)||function(e,A){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,r,o=[],s=!0,i=!1;try{for(n=n.call(e);!(s=(t=n.next()).done)&&(o.push(t.value),!A||o.length!==A);s=!0);}catch(e){i=!0,r=e}finally{try{s||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e,A)||f(e,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.")}()}(e,2),n=A[0],t=A[1];return"string"==typeof t||void 0===t?[n,t]:[n,t.version]}))),moduleName:e[0]}})),[4,u((function(){var e;return h(this,(function(A){switch(A.label){case 0:return A.trys.push([0,2,,3]),[4,(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/module?v=custom:(uuid,version)"),{method:"GET"})];case 1:return[2,A.sent().data.results];case 2:return e=A.sent(),console.error(e),[3,3];case 3:return[2,[]]}}))}))()]);case 1:n=o.sent(),t=A.map((function(e){return function(e,A){var n,t=[],r=function(e,A){if(!e)return[];var n=Object.keys(e),t=A.map((function(e){return e.uuid}));return(0,c.A)(n,t).map((function(A){return{uuid:A,version:e[A]}}))}(e.backendDependencies,A),o=function(e,A,n){if(!e)return[];var t=function(e){for(var A=1;A<arguments.length;A++){var n=null!=arguments[A]?arguments[A]:{},t=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(A){p(e,A,n[A])}))}return e}({},A,e);return Object.keys(t).map((function(e){return{uuid:e,version:t[e]}})).filter((function(e){return n.find((function(A){return e.uuid===A.uuid}))}))}(e.backendDependencies,e.optionalBackendDependencies,A);return(n=t).push.apply(n,C(r.map((function(e){return{name:e.uuid,requiredVersion:e.version,type:"missing"}}))).concat(C(o.map((function(e){var n=e.version,t=function(e,A){var n,t,r=e.uuid;return null!==(t=null===(n=A.find((function(e){return e.uuid==r})))||void 0===n?void 0:n.version)&&void 0!==t?t:""}(e,A);return{name:e.uuid,requiredVersion:n,installedVersion:t,type:m(n,t)}}))))),{name:e.moduleName,dependencies:t}}(e,n)})),o.label=2;case 2:return[2,t]}}))}))().then(i)}),[]),s}function y(e,A,n){return A in e?Object.defineProperty(e,A,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[A]=n,e}function v(){return(0,o.useMemo)((function(){var e;return(null!==(e=window.installedModules)&&void 0!==e?e:[]).filter((function(e){return Boolean(e)&&Boolean(e[1])})).map((function(e){return A=function(e){for(var A=1;A<arguments.length;A++){var n=null!=arguments[A]?arguments[A]:{},t=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(A){y(e,A,n[A])}))}return e}({},e[1]),n=null!=(n={name:e[0]})?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(n)):function(e){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);A.push.apply(A,n)}return A}(Object(n)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(n,e))})),A;var A,n}))}),[])}var k=n(97478),w=n.n(k),$=n(27135),B=n.n($),x=n(61301),S=n.n(x),_=n(49222),O=n.n(_),j=n(6626),T=n.n(j),I=n(88279),E=n.n(I),D=n(95877),z={};z.styleTagTransform=E(),z.setAttributes=O(),z.insert=S().bind(null,"head"),z.domAPI=B(),z.insertStyleElement=T(),w()(D.A,z);const q=D.A&&D.A.locals?D.A.locals:void 0;function P(e,A){(null==A||A>e.length)&&(A=e.length);for(var n=0,t=new Array(A);n<A;n++)t[n]=e[n];return t}var N=s().lazy((function(){return Promise.all([n.e(9202),n.e(2369),n.e(3051),n.e(4357),n.e(6132)]).then(n.bind(n,96132))})),M=s().lazy((function(){return Promise.all([n.e(1420),n.e(4357),n.e(8995)]).then(n.bind(n,38995))}));function U(){var e,A,n=v(),t=b(),c=(e=(0,o.useState)(!1),A=2,function(e){if(Array.isArray(e))return e}(e)||function(e,A){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,r,o=[],s=!0,i=!1;try{for(n=n.call(e);!(s=(t=n.next()).done)&&(o.push(t.value),!A||o.length!==A);s=!0);}catch(e){i=!0,r=e}finally{try{s||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e,A)||function(e,A){if(e){if("string"==typeof e)return P(e,A);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(e,A):void 0}}(e,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.")}()),d=c[0],l=c[1],u=(0,i.useTranslation)().t;(0,o.useEffect)((function(){l((function(e){return e||function(e){return e.some((function(e){return e.dependencies.some((function(e){return"okay"!==e.type}))}))}(t)}))}),[t]),(0,o.useEffect)((function(){d&&(0,r.showToast)({critical:!1,kind:"error",description:u("checkImplementerToolsMessage","Check the Backend Modules tab in the Implementer Tools for more details"),title:u("modulesWithMissingDependenciesWarning","Some modules have unresolved backend dependencies"),actionButtonLabel:u("viewModules","View modules"),onActionButtonClick:a.s5})}),[u,d]);var p=(0,r.useStore)(a.bB),C=p.isOpen,f=p.isUIEditorEnabled,h=p.openTabIndex;return s().createElement("div",{className:q.darkTheme},C?s().createElement(N,{close:a.xq,frontendModules:n,backendDependencies:t,visibleTabIndex:h}):null,f?s().createElement(M,null):null)}var F=n(95315);function J(e){var A=e.configPath,n=(0,i.useTranslation)().t;return s().createElement("button",{onClick:function(){a.bB.setState({configPathBeingEdited:A})}},n("edit","Edit"))}var R=n(84767),G={featureName:"Implementer Tools",moduleName:"@openmrs/esm-implementer-tools-app"},H=(0,r.getSyncLifecycle)((function(){return s().createElement(r.UserHasAccess,{privilege:"O3 Implementer Tools"},s().createElement(U,null))}),G),L=(0,r.getSyncLifecycle)((function(){var e=(0,r.useStore)(a.bB).isOpen,A=(0,i.useTranslation)().t;return s().createElement(r.UserHasAccess,{privilege:"O3 Implementer Tools"},s().createElement("div",{className:q.chevronImplementerToolsButton,"data-testid":"globalImplementerToolsButton"},s().createElement("button",{type:"button",onClick:a.xq,"aria-label":A("toggleImplementerTools","Toggle Implementer Tools"),className:q.implementerToolsButton},e?s().createElement(r.ChevronDownIcon,{size:16}):s().createElement(r.ChevronUpIcon,{size:16}))))}),G),K=(0,r.getSyncLifecycle)((function(){var e=(0,i.useTranslation)().t,A=(0,r.useStore)(a.bB).isOpen;return s().createElement(r.UserHasAccess,{privilege:"O3 Implementer Tools"},s().createElement(F.HeaderGlobalAction,{"aria-label":e("implementerTools","Implementer Tools"),"aria-labelledby":"Implementer Tools",className:q.toolStyles,onClick:a.xq},A?s().createElement(r.CloseIcon,{size:20}):s().createElement(r.ToolsIcon,{size:20})))}),G)},82604:(e,A,n)=>{"use strict";function t(e,A,n){return A in e?Object.defineProperty(e,A,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[A]=n,e}function r(e){for(var A=1;A<arguments.length;A++){var n=null!=arguments[A]?arguments[A]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(A){t(e,A,n[A])}))}return e}function o(e,A){return A=null!=A?A:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(A)):function(e){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);A.push.apply(A,n)}return A}(Object(A)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(A,n))})),e}n.d(A,{bB:()=>s,s5:()=>a,xq:()=>i});var s=(0,n(19287).createGlobalStore)("implementer-tools",{activeItemDescription:null,configPathBeingEdited:null,isOpen:p(),hasAlert:!1,openTabIndex:0,isConfigToolbarOpen:C(),isUIEditorEnabled:f(),isJsonModeEnabled:h(),uiSelectedPath:null}),i=function(){return s.setState((function(e){return o(r({},e),{isOpen:!e.isOpen,openTabIndex:0})}))},a=function(){return s.setState((function(e){return o(r({},e),{isOpen:!0,openTabIndex:2})}))},c=p(),d=C(),l=f(),u=h();function p(){var e;return null!==(e=JSON.parse(localStorage.getItem("openmrs:openmrsImplementerToolsAreOpen")||"false"))&&void 0!==e&&e}function C(){var e;return null===(e=JSON.parse(localStorage.getItem("openmrs:openmrsImplementerToolsConfigOpen")||"true"))||void 0===e||e}function f(){var e;return null!==(e=JSON.parse(localStorage.getItem("openmrs:isUIEditorEnabled")||"false"))&&void 0!==e&&e}function h(){var e;return null!==(e=JSON.parse(localStorage.getItem("openmrs:getIsJsonModeEnabled")||"false"))&&void 0!==e&&e}s.subscribe((function(e){var A,n;e.isOpen!=c&&(A=e.isOpen,localStorage.setItem("openmrs:openmrsImplementerToolsAreOpen",JSON.stringify(A)),c=e.isOpen),e.isUIEditorEnabled!=l&&(n=e.isUIEditorEnabled,localStorage.setItem("openmrs:isUIEditorEnabled",JSON.stringify(n)),l=e.isUIEditorEnabled),e.isConfigToolbarOpen!=d&&(function(e){localStorage.setItem("openmrs:openmrsImplementerToolsConfigOpen",JSON.stringify(e))}(e.isConfigToolbarOpen),d=e.isConfigToolbarOpen),e.isJsonModeEnabled!=u&&(function(e){localStorage.setItem("openmrs:getIsJsonModeEnabled",JSON.stringify(e))}(e.isJsonModeEnabled),u=e.isJsonModeEnabled)}))},84767:(e,A,n)=>{var t={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879]};function r(e){if(!n.o(t,e))return Promise.resolve().then((()=>{var A=new Error("Cannot find module '"+e+"'");throw A.code="MODULE_NOT_FOUND",A}));var A=t[e],r=A[0];return n.e(A[1]).then((()=>n(r)))}r.keys=()=>Object.keys(t),r.id=84767,e.exports=r},95877:(e,A,n)=>{"use strict";n.d(A,{A:()=>i});var t=n(41109),r=n.n(t),o=n(75248),s=n.n(o)()(r());s.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-implementer-tools__implementer-tools-styles__toolStyles___g9u4a{background-color:rgba(0,0,0,0)}.-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv{position:fixed;bottom:0;left:calc(50vw - 1rem)}.-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv .-esm-implementer-tools__implementer-tools-styles__implementerToolsButton___1RK67{border:none;padding:0;font:inherit;color:inherit;background-color:#fff;width:2rem;height:1.5rem;display:flex;justify-content:center;align-items:center;cursor:pointer;border-radius:.125rem;transition:all .3s ease-in-out}.-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv .-esm-implementer-tools__implementer-tools-styles__implementerToolsButton___1RK67:hover{transform:translateY(-3px)}.-esm-implementer-tools__implementer-tools-styles__darkTheme___HKnAv{--cds-ai-aura-end: rgba(0, 0, 0, 0);--cds-ai-aura-hover-background: #474747;--cds-ai-aura-hover-end: rgba(0, 0, 0, 0);--cds-ai-aura-hover-start: rgba(69, 137, 255, 0.4);--cds-ai-aura-start: rgba(69, 137, 255, 0.1);--cds-ai-aura-start-sm: rgba(69, 137, 255, 0.16);--cds-ai-border-end: #4589ff;--cds-ai-border-start: rgba(166, 200, 255, 0.36);--cds-ai-border-strong: #78a9ff;--cds-ai-drop-shadow: rgba(0, 0, 0, 0.28);--cds-ai-inner-shadow: rgba(69, 137, 255, 0.16);--cds-ai-overlay: rgba(0, 0, 0, 0.5);--cds-ai-popover-background: #161616;--cds-ai-popover-caret-bottom: #4589ff;--cds-ai-popover-caret-bottom-background: #202d45;--cds-ai-popover-caret-bottom-background-actions: #1e283a;--cds-ai-popover-caret-center: #4870b5;--cds-ai-popover-shadow-outer-01: rgba(0, 0, 0, 0.12);--cds-ai-popover-shadow-outer-02: rgba(0, 0, 0, 0.08);--cds-ai-skeleton-background: rgba(120, 169, 255, 0.5);--cds-ai-skeleton-element-background: rgba(120, 169, 255, 0.3);--cds-background: #262626;--cds-background-active: rgba(141, 141, 141, 0.4);--cds-background-brand: #0f62fe;--cds-background-hover: rgba(141, 141, 141, 0.16);--cds-background-inverse: #f4f4f4;--cds-background-inverse-hover: #e8e8e8;--cds-background-selected: rgba(141, 141, 141, 0.24);--cds-background-selected-hover: rgba(141, 141, 141, 0.32);--cds-border-disabled: rgba(141, 141, 141, 0.5);--cds-border-interactive: #4589ff;--cds-border-inverse: #f4f4f4;--cds-border-strong-01: #8d8d8d;--cds-border-strong-02: #a8a8a8;--cds-border-strong-03: #c6c6c6;--cds-border-subtle-00: #525252;--cds-border-subtle-01: #6f6f6f;--cds-border-subtle-02: #8d8d8d;--cds-border-subtle-03: #8d8d8d;--cds-border-subtle-selected-01: #8d8d8d;--cds-border-subtle-selected-02: #a8a8a8;--cds-border-subtle-selected-03: #a8a8a8;--cds-border-tile-01: #6f6f6f;--cds-border-tile-02: #8d8d8d;--cds-border-tile-03: #a8a8a8;--cds-chat-avatar-agent: #c6c6c6;--cds-chat-avatar-bot: #8d8d8d;--cds-chat-avatar-user: #4589ff;--cds-chat-bubble-agent: #262626;--cds-chat-bubble-border: #525252;--cds-chat-bubble-user: #393939;--cds-chat-button: #78a9ff;--cds-chat-button-active: rgba(141, 141, 141, 0.4);--cds-chat-button-hover: rgba(141, 141, 141, 0.16);--cds-chat-button-selected: rgba(141, 141, 141, 0.24);--cds-chat-button-text-hover: #a6c8ff;--cds-chat-button-text-selected: #c6c6c6;--cds-chat-header-background: #262626;--cds-chat-prompt-background: #161616;--cds-chat-prompt-border-end: rgba(38, 38, 38, 0);--cds-chat-prompt-border-start: #262626;--cds-chat-shell-background: #262626;--cds-field-01: #393939;--cds-field-02: #525252;--cds-field-03: #6f6f6f;--cds-field-hover-01: #474747;--cds-field-hover-02: #636363;--cds-field-hover-03: #5e5e5e;--cds-focus: #ffffff;--cds-focus-inset: #161616;--cds-focus-inverse: #0f62fe;--cds-highlight: #002d9c;--cds-icon-disabled: rgba(244, 244, 244, 0.25);--cds-icon-interactive: #ffffff;--cds-icon-inverse: #161616;--cds-icon-on-color: #ffffff;--cds-icon-on-color-disabled: rgba(255, 255, 255, 0.25);--cds-icon-primary: #f4f4f4;--cds-icon-secondary: #c6c6c6;--cds-interactive: #4589ff;--cds-layer-01: #393939;--cds-layer-02: #525252;--cds-layer-03: #6f6f6f;--cds-layer-accent-01: #525252;--cds-layer-accent-02: #6f6f6f;--cds-layer-accent-03: #8d8d8d;--cds-layer-accent-active-01: #8d8d8d;--cds-layer-accent-active-02: #393939;--cds-layer-accent-active-03: #525252;--cds-layer-accent-hover-01: #636363;--cds-layer-accent-hover-02: #5e5e5e;--cds-layer-accent-hover-03: #7a7a7a;--cds-layer-active-01: #6f6f6f;--cds-layer-active-02: #8d8d8d;--cds-layer-active-03: #393939;--cds-layer-background-01: #262626;--cds-layer-background-02: #393939;--cds-layer-background-03: #525252;--cds-layer-hover-01: #474747;--cds-layer-hover-02: #636363;--cds-layer-hover-03: #5e5e5e;--cds-layer-selected-01: #525252;--cds-layer-selected-02: #6f6f6f;--cds-layer-selected-03: #525252;--cds-layer-selected-disabled: #a8a8a8;--cds-layer-selected-hover-01: #636363;--cds-layer-selected-hover-02: #5e5e5e;--cds-layer-selected-hover-03: #636363;--cds-layer-selected-inverse: #f4f4f4;--cds-link-inverse: #0f62fe;--cds-link-inverse-active: #161616;--cds-link-inverse-hover: #0043ce;--cds-link-inverse-visited: #8a3ffc;--cds-link-primary: #78a9ff;--cds-link-primary-hover: #a6c8ff;--cds-link-secondary: #a6c8ff;--cds-link-visited: #be95ff;--cds-overlay: rgba(0, 0, 0, 0.65);--cds-shadow: rgba(0, 0, 0, 0.8);--cds-skeleton-background: #333333;--cds-skeleton-element: #525252;--cds-support-caution-major: #ff832b;--cds-support-caution-minor: #f1c21b;--cds-support-caution-undefined: #a56eff;--cds-support-error: #ff8389;--cds-support-error-inverse: #da1e28;--cds-support-info: #4589ff;--cds-support-info-inverse: #0043ce;--cds-support-success: #42be65;--cds-support-success-inverse: #24a148;--cds-support-warning: #f1c21b;--cds-support-warning-inverse: #f1c21b;--cds-text-disabled: rgba(244, 244, 244, 0.25);--cds-text-error: #ffb3b8;--cds-text-helper: #c6c6c6;--cds-text-inverse: #161616;--cds-text-on-color: #ffffff;--cds-text-on-color-disabled: rgba(255, 255, 255, 0.25);--cds-text-placeholder: rgba(244, 244, 244, 0.4);--cds-text-primary: #f4f4f4;--cds-text-secondary: #c6c6c6;--cds-toggle-off: #8d8d8d;--cds-spacing-01: 0.125rem;--cds-spacing-02: 0.25rem;--cds-spacing-03: 0.5rem;--cds-spacing-04: 0.75rem;--cds-spacing-05: 1rem;--cds-spacing-06: 1.5rem;--cds-spacing-07: 2rem;--cds-spacing-08: 2.5rem;--cds-spacing-09: 3rem;--cds-spacing-10: 4rem;--cds-spacing-11: 5rem;--cds-spacing-12: 6rem;--cds-spacing-13: 10rem;--cds-fluid-spacing-01: 0;--cds-fluid-spacing-02: 2vw;--cds-fluid-spacing-03: 5vw;--cds-fluid-spacing-04: 10vw;--cds-caption-01-font-size: 0.75rem;--cds-caption-01-font-weight: 400;--cds-caption-01-line-height: 1.33333;--cds-caption-01-letter-spacing: 0.32px;--cds-caption-02-font-size: 0.875rem;--cds-caption-02-font-weight: 400;--cds-caption-02-line-height: 1.28572;--cds-caption-02-letter-spacing: 0.32px;--cds-label-01-font-size: 0.75rem;--cds-label-01-font-weight: 400;--cds-label-01-line-height: 1.33333;--cds-label-01-letter-spacing: 0.32px;--cds-label-02-font-size: 0.875rem;--cds-label-02-font-weight: 400;--cds-label-02-line-height: 1.28572;--cds-label-02-letter-spacing: 0.16px;--cds-helper-text-01-font-size: 0.75rem;--cds-helper-text-01-line-height: 1.33333;--cds-helper-text-01-letter-spacing: 0.32px;--cds-helper-text-02-font-size: 0.875rem;--cds-helper-text-02-font-weight: 400;--cds-helper-text-02-line-height: 1.28572;--cds-helper-text-02-letter-spacing: 0.16px;--cds-body-short-01-font-size: 0.875rem;--cds-body-short-01-font-weight: 400;--cds-body-short-01-line-height: 1.28572;--cds-body-short-01-letter-spacing: 0.16px;--cds-body-short-02-font-size: 1rem;--cds-body-short-02-font-weight: 400;--cds-body-short-02-line-height: 1.375;--cds-body-short-02-letter-spacing: 0;--cds-body-long-01-font-size: 0.875rem;--cds-body-long-01-font-weight: 400;--cds-body-long-01-line-height: 1.42857;--cds-body-long-01-letter-spacing: 0.16px;--cds-body-long-02-font-size: 1rem;--cds-body-long-02-font-weight: 400;--cds-body-long-02-line-height: 1.5;--cds-body-long-02-letter-spacing: 0;--cds-code-01-font-family: 'IBM Plex Mono', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', monospace;--cds-code-01-font-size: 0.75rem;--cds-code-01-font-weight: 400;--cds-code-01-line-height: 1.33333;--cds-code-01-letter-spacing: 0.32px;--cds-code-02-font-family: 'IBM Plex Mono', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', monospace;--cds-code-02-font-size: 0.875rem;--cds-code-02-font-weight: 400;--cds-code-02-line-height: 1.42857;--cds-code-02-letter-spacing: 0.32px;--cds-heading-01-font-size: 0.875rem;--cds-heading-01-font-weight: 600;--cds-heading-01-line-height: 1.42857;--cds-heading-01-letter-spacing: 0.16px;--cds-heading-02-font-size: 1rem;--cds-heading-02-font-weight: 600;--cds-heading-02-line-height: 1.5;--cds-heading-02-letter-spacing: 0;--cds-productive-heading-01-font-size: 0.875rem;--cds-productive-heading-01-font-weight: 600;--cds-productive-heading-01-line-height: 1.28572;--cds-productive-heading-01-letter-spacing: 0.16px;--cds-productive-heading-02-font-size: 1rem;--cds-productive-heading-02-font-weight: 600;--cds-productive-heading-02-line-height: 1.375;--cds-productive-heading-02-letter-spacing: 0;--cds-productive-heading-03-font-size: 1.25rem;--cds-productive-heading-03-font-weight: 400;--cds-productive-heading-03-line-height: 1.4;--cds-productive-heading-03-letter-spacing: 0;--cds-productive-heading-04-font-size: 1.75rem;--cds-productive-heading-04-font-weight: 400;--cds-productive-heading-04-line-height: 1.28572;--cds-productive-heading-04-letter-spacing: 0;--cds-productive-heading-05-font-size: 2rem;--cds-productive-heading-05-font-weight: 400;--cds-productive-heading-05-line-height: 1.25;--cds-productive-heading-05-letter-spacing: 0;--cds-productive-heading-06-font-size: 2.625rem;--cds-productive-heading-06-font-weight: 300;--cds-productive-heading-06-line-height: 1.199;--cds-productive-heading-06-letter-spacing: 0;--cds-productive-heading-07-font-size: 3.375rem;--cds-productive-heading-07-font-weight: 300;--cds-productive-heading-07-line-height: 1.19;--cds-productive-heading-07-letter-spacing: 0;--cds-expressive-paragraph-01-font-size: 1.5rem;--cds-expressive-paragraph-01-font-weight: 300;--cds-expressive-paragraph-01-line-height: 1.334;--cds-expressive-paragraph-01-letter-spacing: 0;--cds-expressive-heading-01-font-size: 0.875rem;--cds-expressive-heading-01-font-weight: 600;--cds-expressive-heading-01-line-height: 1.42857;--cds-expressive-heading-01-letter-spacing: 0.16px;--cds-expressive-heading-02-font-size: 1rem;--cds-expressive-heading-02-font-weight: 600;--cds-expressive-heading-02-line-height: 1.5;--cds-expressive-heading-02-letter-spacing: 0;--cds-expressive-heading-03-font-size: 1.25rem;--cds-expressive-heading-03-font-weight: 400;--cds-expressive-heading-03-line-height: 1.4;--cds-expressive-heading-03-letter-spacing: 0;--cds-expressive-heading-04-font-size: 1.75rem;--cds-expressive-heading-04-font-weight: 400;--cds-expressive-heading-04-line-height: 1.28572;--cds-expressive-heading-04-letter-spacing: 0;--cds-expressive-heading-05-font-size: 2rem;--cds-expressive-heading-05-font-weight: 400;--cds-expressive-heading-05-line-height: 1.25;--cds-expressive-heading-05-letter-spacing: 0;--cds-expressive-heading-06-font-size: 2rem;--cds-expressive-heading-06-font-weight: 600;--cds-expressive-heading-06-line-height: 1.25;--cds-expressive-heading-06-letter-spacing: 0;--cds-quotation-01-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-quotation-01-font-size: 1.25rem;--cds-quotation-01-font-weight: 400;--cds-quotation-01-line-height: 1.3;--cds-quotation-01-letter-spacing: 0;--cds-quotation-02-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-quotation-02-font-size: 2rem;--cds-quotation-02-font-weight: 300;--cds-quotation-02-line-height: 1.25;--cds-quotation-02-letter-spacing: 0;--cds-display-01-font-size: 2.625rem;--cds-display-01-font-weight: 300;--cds-display-01-line-height: 1.19;--cds-display-01-letter-spacing: 0;--cds-display-02-font-size: 2.625rem;--cds-display-02-font-weight: 600;--cds-display-02-line-height: 1.19;--cds-display-02-letter-spacing: 0;--cds-display-03-font-size: 2.625rem;--cds-display-03-font-weight: 300;--cds-display-03-line-height: 1.19;--cds-display-03-letter-spacing: 0;--cds-display-04-font-size: 2.625rem;--cds-display-04-font-weight: 300;--cds-display-04-line-height: 1.19;--cds-display-04-letter-spacing: 0;--cds-legal-01-font-size: 0.75rem;--cds-legal-01-font-weight: 400;--cds-legal-01-line-height: 1.33333;--cds-legal-01-letter-spacing: 0.32px;--cds-legal-02-font-size: 0.875rem;--cds-legal-02-font-weight: 400;--cds-legal-02-line-height: 1.28572;--cds-legal-02-letter-spacing: 0.16px;--cds-body-compact-01-font-size: 0.875rem;--cds-body-compact-01-font-weight: 400;--cds-body-compact-01-line-height: 1.28572;--cds-body-compact-01-letter-spacing: 0.16px;--cds-body-compact-02-font-size: 1rem;--cds-body-compact-02-font-weight: 400;--cds-body-compact-02-line-height: 1.375;--cds-body-compact-02-letter-spacing: 0;--cds-heading-compact-01-font-size: 0.875rem;--cds-heading-compact-01-font-weight: 600;--cds-heading-compact-01-line-height: 1.28572;--cds-heading-compact-01-letter-spacing: 0.16px;--cds-heading-compact-02-font-size: 1rem;--cds-heading-compact-02-font-weight: 600;--cds-heading-compact-02-line-height: 1.375;--cds-heading-compact-02-letter-spacing: 0;--cds-body-01-font-size: 0.875rem;--cds-body-01-font-weight: 400;--cds-body-01-line-height: 1.42857;--cds-body-01-letter-spacing: 0.16px;--cds-body-02-font-size: 1rem;--cds-body-02-font-weight: 400;--cds-body-02-line-height: 1.5;--cds-body-02-letter-spacing: 0;--cds-heading-03-font-size: 1.25rem;--cds-heading-03-font-weight: 400;--cds-heading-03-line-height: 1.4;--cds-heading-03-letter-spacing: 0;--cds-heading-04-font-size: 1.75rem;--cds-heading-04-font-weight: 400;--cds-heading-04-line-height: 1.28572;--cds-heading-04-letter-spacing: 0;--cds-heading-05-font-size: 2rem;--cds-heading-05-font-weight: 400;--cds-heading-05-line-height: 1.25;--cds-heading-05-letter-spacing: 0;--cds-heading-06-font-size: 2.625rem;--cds-heading-06-font-weight: 300;--cds-heading-06-line-height: 1.199;--cds-heading-06-letter-spacing: 0;--cds-heading-07-font-size: 3.375rem;--cds-heading-07-font-weight: 300;--cds-heading-07-line-height: 1.19;--cds-heading-07-letter-spacing: 0;--cds-fluid-heading-03-font-size: 1.25rem;--cds-fluid-heading-03-font-weight: 400;--cds-fluid-heading-03-line-height: 1.4;--cds-fluid-heading-03-letter-spacing: 0;--cds-fluid-heading-04-font-size: 1.75rem;--cds-fluid-heading-04-font-weight: 400;--cds-fluid-heading-04-line-height: 1.28572;--cds-fluid-heading-04-letter-spacing: 0;--cds-fluid-heading-05-font-size: 2rem;--cds-fluid-heading-05-font-weight: 400;--cds-fluid-heading-05-line-height: 1.25;--cds-fluid-heading-05-letter-spacing: 0;--cds-fluid-heading-06-font-size: 2rem;--cds-fluid-heading-06-font-weight: 600;--cds-fluid-heading-06-line-height: 1.25;--cds-fluid-heading-06-letter-spacing: 0;--cds-fluid-paragraph-01-font-size: 1.5rem;--cds-fluid-paragraph-01-font-weight: 300;--cds-fluid-paragraph-01-line-height: 1.334;--cds-fluid-paragraph-01-letter-spacing: 0;--cds-fluid-quotation-01-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-fluid-quotation-01-font-size: 1.25rem;--cds-fluid-quotation-01-font-weight: 400;--cds-fluid-quotation-01-line-height: 1.3;--cds-fluid-quotation-01-letter-spacing: 0;--cds-fluid-quotation-02-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-fluid-quotation-02-font-size: 2rem;--cds-fluid-quotation-02-font-weight: 300;--cds-fluid-quotation-02-line-height: 1.25;--cds-fluid-quotation-02-letter-spacing: 0;--cds-fluid-display-01-font-size: 2.625rem;--cds-fluid-display-01-font-weight: 300;--cds-fluid-display-01-line-height: 1.19;--cds-fluid-display-01-letter-spacing: 0;--cds-fluid-display-02-font-size: 2.625rem;--cds-fluid-display-02-font-weight: 600;--cds-fluid-display-02-line-height: 1.19;--cds-fluid-display-02-letter-spacing: 0;--cds-fluid-display-03-font-size: 2.625rem;--cds-fluid-display-03-font-weight: 300;--cds-fluid-display-03-line-height: 1.19;--cds-fluid-display-03-letter-spacing: 0;--cds-fluid-display-04-font-size: 2.625rem;--cds-fluid-display-04-font-weight: 300;--cds-fluid-display-04-line-height: 1.19;--cds-fluid-display-04-letter-spacing: 0;--cds-layer:var(--cds-layer-01, #f4f4f4);--cds-layer-active:var(--cds-layer-active-01, #c6c6c6);--cds-layer-background:var(--cds-layer-background-01, #ffffff);--cds-layer-hover:var(--cds-layer-hover-01, #e8e8e8);--cds-layer-selected:var(--cds-layer-selected-01, #e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-01, #d1d1d1);--cds-layer-accent:var(--cds-layer-accent-01, #e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-01, #d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-01, #a8a8a8);--cds-field:var(--cds-field-01, #f4f4f4);--cds-field-hover:var(--cds-field-hover-01, #e8e8e8);--cds-border-subtle:var(--cds-border-subtle-00, #e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-01, #c6c6c6);--cds-border-strong:var(--cds-border-strong-01, #8d8d8d);--cds-border-tile:var(--cds-border-tile-01, #c6c6c6)}.-esm-implementer-tools__implementer-tools-styles__darkTheme___HKnAv .cds--content-switcher-btn.cds--content-switcher--selected{background-color:#f4f4f4}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/implementer-tools.styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../../node_modules/@carbon/themes/scss/_theme.scss","webpack://./../../../node_modules/@carbon/styles/scss/utilities/_custom-property.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCxDF,sEACE,8BAAA,CAGF,yFACE,cAAA,CACA,QAAA,CACA,sBAAA,CAEA,2KACE,WAAA,CACA,SAAA,CACA,YAAA,CACA,aAAA,CAEA,qBDjBI,CCkBJ,UCoBS,CDnBT,aCcS,CDbT,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,cAAA,CACA,qBChBS,CDiBT,8BAAA,CAGF,iLACE,0BAAA,CAIJ,qEEiFI,mCAAA,CAAA,uCAAA,CAAA,yCAAA,CAAA,kDAAA,CAAA,4CAAA,CAAA,gDAAA,CAAA,4BAAA,CAAA,gDAAA,CAAA,+BAAA,CAAA,yCAAA,CAAA,+CAAA,CAAA,oCAAA,CAAA,oCAAA,CAAA,sCAAA,CAAA,iDAAA,CAAA,yDAAA,CAAA,sCAAA,CAAA,qDAAA,CAAA,qDAAA,CAAA,sDAAA,CAAA,8DAAA,CAAA,yBAAA,CAAA,iDAAA,CAAA,+BAAA,CAAA,iDAAA,CAA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DAAA,CAAA,8DAAA,CAAA,oDAAA,CAAA,0DAAA,CAAA,sEAAA,CAAA,sDAAA,CAAA,kEAAA,CAAA,oEAAA,CAAA,wCAAA,CAAA,oDAAA,CAAA,wDAAA,CAAA,0EAAA,CAAA,wDAAA,CAAA,oDAAA,CHfA,gIACE,wBDtCI",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/react/scss/themes';\n@use '@carbon/react/scss/theme';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.toolStyles {\n background-color: transparent;\n}\n\n.chevronImplementerToolsButton {\n position: fixed;\n bottom: 0;\n left: calc(50vw - layout.$spacing-07 / 2);\n\n .implementerToolsButton {\n border: none;\n padding: 0;\n font: inherit;\n color: inherit;\n\n background-color: $ui-02;\n width: layout.$spacing-07;\n height: layout.$spacing-06;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n border-radius: layout.$spacing-01;\n transition: all 0.3s ease-in-out;\n }\n\n .implementerToolsButton:hover {\n transform: translateY(-3px);\n }\n}\n\n.darkTheme {\n @include theme.theme(themes.$g90);\n\n :global(.cds--content-switcher-btn.cds--content-switcher--selected) {\n background-color: $ui-01;\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n@use 'sass:map';\n@use 'sass:meta';\n@use 'config';\n@use 'themes';\n\n/// Specify the fallback theme, used as a catch-all for tokens that you may not\n/// have defined in your custom theme\n$fallback: themes.$white !default;\n\n/// Specify the current theme. This can override existing tokens, or add new\n/// tokens. If you are adding new tokens, it's recommended that you set the\n/// fallback for your current theme\n$theme: () !default;\n$theme: map.merge($fallback, $theme);\n\n/// Local component tokens that can be updated with `@mixin add-component-tokens`.\n$-component-tokens: ();\n\n/// Include the CSS Custom Properties for the active theme or a given theme on\n/// a selector\n@mixin theme($active-theme: $theme, $component-tokens...) {\n @each $token, $value in $active-theme {\n @include -custom-property($token, $value);\n }\n\n @each $group in $component-tokens {\n @each $token, $value in $group {\n @include -custom-property($token, $value);\n }\n }\n\n @each $token, $value in $-component-tokens {\n @include -custom-property(\n $token,\n -resolve-token-value($active-theme, $value)\n );\n }\n}\n\n/// Retrieve the value for the given $token from the current $theme\n/// @param {String} $token\n@function get($token) {\n @if map.has-key($theme, $token) {\n @return map.get($theme, $token);\n }\n @error \"Unable to find token: #{$token} in current $theme\";\n}\n\n/// Compare two themes to see if the second theme is a superset of the first\n/// theme. In other words, this function will return true if every token in the\n/// first theme is available in the second theme and has the same value. The\n/// second theme is allowed to have additional values and it will still match.\n/// @param {Map} $a\n/// @param {Map} $b\n/// @returns {Boolean}\n@function matches($a, $b) {\n @each $key, $value in $a {\n @if map.has-key($b, $key) == false {\n @return false;\n }\n\n @if map.get($b, $key) != $value {\n @return false;\n }\n }\n\n @return true;\n}\n\n/// Add component tokens which will be included any time the theme mixin is\n/// called\n@mixin add-component-tokens($token-map) {\n $-component-tokens: map.merge($-component-tokens, $token-map) !global;\n}\n\n/// Determine the value from a component token that matches the given theme.\n/// This is helpful when a component token may change depending on what theme the\n/// component is being rendered in.\n@function -resolve-token-value($active-theme: $theme, $token-value) {\n @if meta.type-of($token-value) == map and map.has-key($token-value, values) {\n $fallback: map.get($token-value, fallback);\n $theme-values: map.get($token-value, values);\n\n @each $theme-value in $theme-values {\n $theme-to-match: map.get($theme-value, theme);\n $value: map.get($theme-value, value);\n\n @if matches($theme-to-match, $active-theme) {\n @return $value;\n }\n }\n\n @return $fallback;\n }\n\n @return $token-value;\n}\n\n/// @access private\n/// @group @carbon/themes\n@mixin -custom-property($name, $value) {\n @if meta.type-of($value) == map {\n @each $property, $property-value in $value {\n // Only support one-level of depth for values that are maps. This is to\n // avoid bringing properties like `breakpoints` on type tokens\n @if type-of($property-value) != map {\n @include -custom-property('#{$name}-#{$property}', $property-value);\n }\n }\n } @else {\n --#{config.$prefix}-#{$name}: #{$value};\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n@use '../config';\n\n// Some CSS Custom Property terminology\n// @see https://www.w3.org/TR/css-variables-1/\n//\n// <custom-property-name>:\n// Any valid identifer that starts with two dashes (--)\n//\n// A declaration:\n// CSS Custom Properties can be used as declarations in a CSS selector. They\n// take on the form of:\n//\n// <custom-property-name>: <declaration-value>;\n//\n// The var() notation:\n// You can use a CSS Custom Property as a substitute for a value of another\n// property using the var() function. This function has the following syntax:\n//\n// var( <custom-property-name> [, <declarative-value> ]? )\n//\n// This function takes in an optional fallback value if the CSS Custom\n// Property has not been previously defined\n\n/// Get the <custom-property-name> for a given string\n/// @param {String} $name\n/// @returns {String}\n@function get-name($name) {\n @return --#{config.$prefix}-#{$name};\n}\n\n/// Get the var() representation for a given token\n/// @param {String} $name\n/// @param {Any} $fallback\n/// @returns var()\n@function get-var($name, $fallback: false) {\n @if $fallback {\n @return var(--#{config.$prefix}-#{$name}, #{$fallback});\n }\n @return var(--#{config.$prefix}-#{$name});\n}\n\n/// Emit a declaration which sets the value of a CSS Custom Property using the\n/// $name as the <custom-property-name> and the $value as the\n/// <declaration-value>\n/// @param {String} $name\n/// @param {any} $value\n@mixin declaration($name, $value) {\n #{get-name($name)}: #{$value};\n}\n"],sourceRoot:""}]),s.locals={toolStyles:"-esm-implementer-tools__implementer-tools-styles__toolStyles___g9u4a",chevronImplementerToolsButton:"-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv",implementerToolsButton:"-esm-implementer-tools__implementer-tools-styles__implementerToolsButton___1RK67",darkTheme:"-esm-implementer-tools__implementer-tools-styles__darkTheme___HKnAv"};const i=s}}]);
1
+ (globalThis.webpackChunk_openmrs_esm_implementer_tools_app=globalThis.webpackChunk_openmrs_esm_implementer_tools_app||[]).push([[5563],{5563:(e,A,n)=>{"use strict";n.r(A),n.d(A,{ConfigEditButton:()=>J,globalImplementerTools:()=>L,implementerTools:()=>H,implementerToolsButton:()=>K,importTranslation:()=>R});var t,r=n(19287),o=n(20796),s=n.n(o),i=n(11555),a=n(82604),c=n(75741);function d(e,A){(null==A||A>e.length)&&(A=e.length);for(var n=0,t=new Array(A);n<A;n++)t[n]=e[n];return t}function l(e,A,n,t,r,o,s){try{var i=e[o](s),a=i.value}catch(e){return void n(e)}i.done?A(a):Promise.resolve(a).then(t,r)}function u(e){return function(){var A=this,n=arguments;return new Promise((function(t,r){var o=e.apply(A,n);function s(e){l(o,t,r,s,i,"next",e)}function i(e){l(o,t,r,s,i,"throw",e)}s(void 0)}))}}function p(e,A,n){return A in e?Object.defineProperty(e,A,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[A]=n,e}function C(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,A){if(e){if("string"==typeof e)return d(e,A);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,A):void 0}}function h(e,A){var n,t,r,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=i(0),s.throw=i(1),s.return=i(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function i(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,i[0]&&(o=0)),o;)try{if(n=1,t&&(r=2&i[0]?t.return:i[0]?t.throw||((r=t.return)&&r.call(t),0):t.next)&&!(r=r.call(t,i[1])).done)return r;switch(t=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,t=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){o.label=i[1];break}if(6===i[0]&&o.label<r[1]){o.label=r[1],r=i;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(i);break}r[2]&&o.ops.pop(),o.trys.pop();continue}i=A.call(e,o)}catch(e){i=[6,e],t=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function m(e,A){return(0,r.isVersionSatisfied)(e,A)?"okay":"version-mismatch"}function g(e,A){(null==A||A>e.length)&&(A=e.length);for(var n=0,t=new Array(A);n<A;n++)t[n]=e[n];return t}function b(){var e,A,n=(e=(0,o.useState)([]),A=2,function(e){if(Array.isArray(e))return e}(e)||function(e,A){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,r,o=[],s=!0,i=!1;try{for(n=n.call(e);!(s=(t=n.next()).done)&&(o.push(t.value),!A||o.length!==A);s=!0);}catch(e){i=!0,r=e}finally{try{s||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e,A)||function(e,A){if(e){if("string"==typeof e)return g(e,A);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,A):void 0}}(e,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.")}()),s=n[0],i=n[1];return(0,o.useEffect)((function(){u((function(){var e,A,n;return h(this,(function(o){switch(o.label){case 0:return t?[3,2]:(A=(null!==(e=window.installedModules)&&void 0!==e?e:[]).filter((function(e){var A,n;return Boolean((null===(A=e[1])||void 0===A?void 0:A.backendDependencies)||(null===(n=e[1])||void 0===n?void 0:n.optionalBackendDependencies))})).map((function(e){var A;return{backendDependencies:e[1].backendDependencies,optionalBackendDependencies:Object.fromEntries(Object.entries(null!==(A=e[1].optionalBackendDependencies)&&void 0!==A?A:{}).map((function(e){var A=function(e,A){return function(e){if(Array.isArray(e))return e}(e)||function(e,A){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,r,o=[],s=!0,i=!1;try{for(n=n.call(e);!(s=(t=n.next()).done)&&(o.push(t.value),!A||o.length!==A);s=!0);}catch(e){i=!0,r=e}finally{try{s||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e,A)||f(e,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.")}()}(e,2),n=A[0],t=A[1];return"string"==typeof t||void 0===t?[n,t]:[n,t.version]}))),moduleName:e[0]}})),[4,u((function(){var e;return h(this,(function(A){switch(A.label){case 0:return A.trys.push([0,2,,3]),[4,(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/module?v=custom:(uuid,version)"),{method:"GET"})];case 1:return[2,A.sent().data.results];case 2:return e=A.sent(),console.error(e),[3,3];case 3:return[2,[]]}}))}))()]);case 1:n=o.sent(),t=A.map((function(e){return function(e,A){var n,t=[],r=function(e,A){if(!e)return[];var n=Object.keys(e),t=A.map((function(e){return e.uuid}));return(0,c.A)(n,t).map((function(A){return{uuid:A,version:e[A]}}))}(e.backendDependencies,A),o=function(e,A,n){if(!e)return[];var t=function(e){for(var A=1;A<arguments.length;A++){var n=null!=arguments[A]?arguments[A]:{},t=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(A){p(e,A,n[A])}))}return e}({},A,e);return Object.keys(t).map((function(e){return{uuid:e,version:t[e]}})).filter((function(e){return n.find((function(A){return e.uuid===A.uuid}))}))}(e.backendDependencies,e.optionalBackendDependencies,A);return(n=t).push.apply(n,C(r.map((function(e){return{name:e.uuid,requiredVersion:e.version,type:"missing"}}))).concat(C(o.map((function(e){var n=e.version,t=function(e,A){var n,t,r=e.uuid;return null!==(t=null===(n=A.find((function(e){return e.uuid==r})))||void 0===n?void 0:n.version)&&void 0!==t?t:""}(e,A);return{name:e.uuid,requiredVersion:n,installedVersion:t,type:m(n,t)}}))))),{name:e.moduleName,dependencies:t}}(e,n)})),o.label=2;case 2:return[2,t]}}))}))().then(i)}),[]),s}function y(e,A,n){return A in e?Object.defineProperty(e,A,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[A]=n,e}function v(){return(0,o.useMemo)((function(){var e;return(null!==(e=window.installedModules)&&void 0!==e?e:[]).filter((function(e){return Boolean(e)&&Boolean(e[1])})).map((function(e){return A=function(e){for(var A=1;A<arguments.length;A++){var n=null!=arguments[A]?arguments[A]:{},t=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(A){y(e,A,n[A])}))}return e}({},e[1]),n=null!=(n={name:e[0]})?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(n)):function(e){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);A.push.apply(A,n)}return A}(Object(n)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(n,e))})),A;var A,n}))}),[])}var k=n(97478),w=n.n(k),$=n(27135),B=n.n($),x=n(61301),S=n.n(x),_=n(49222),O=n.n(_),j=n(6626),T=n.n(j),I=n(88279),E=n.n(I),D=n(95877),z={};z.styleTagTransform=E(),z.setAttributes=O(),z.insert=S().bind(null,"head"),z.domAPI=B(),z.insertStyleElement=T(),w()(D.A,z);const q=D.A&&D.A.locals?D.A.locals:void 0;function P(e,A){(null==A||A>e.length)&&(A=e.length);for(var n=0,t=new Array(A);n<A;n++)t[n]=e[n];return t}var N=s().lazy((function(){return Promise.all([n.e(9361),n.e(2369),n.e(3051),n.e(4357),n.e(6132)]).then(n.bind(n,96132))})),M=s().lazy((function(){return Promise.all([n.e(1420),n.e(4357),n.e(8995)]).then(n.bind(n,38995))}));function U(){var e,A,n=v(),t=b(),c=(e=(0,o.useState)(!1),A=2,function(e){if(Array.isArray(e))return e}(e)||function(e,A){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,r,o=[],s=!0,i=!1;try{for(n=n.call(e);!(s=(t=n.next()).done)&&(o.push(t.value),!A||o.length!==A);s=!0);}catch(e){i=!0,r=e}finally{try{s||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e,A)||function(e,A){if(e){if("string"==typeof e)return P(e,A);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(e,A):void 0}}(e,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.")}()),d=c[0],l=c[1],u=(0,i.useTranslation)().t;(0,o.useEffect)((function(){l((function(e){return e||function(e){return e.some((function(e){return e.dependencies.some((function(e){return"okay"!==e.type}))}))}(t)}))}),[t]),(0,o.useEffect)((function(){d&&(0,r.showToast)({critical:!1,kind:"error",description:u("checkImplementerToolsMessage","Check the Backend Modules tab in the Implementer Tools for more details"),title:u("modulesWithMissingDependenciesWarning","Some modules have unresolved backend dependencies"),actionButtonLabel:u("viewModules","View modules"),onActionButtonClick:a.s5})}),[u,d]);var p=(0,r.useStore)(a.bB),C=p.isOpen,f=p.isUIEditorEnabled,h=p.openTabIndex;return s().createElement("div",{className:q.darkTheme},C?s().createElement(N,{close:a.xq,frontendModules:n,backendDependencies:t,visibleTabIndex:h}):null,f?s().createElement(M,null):null)}var F=n(95315);function J(e){var A=e.configPath,n=(0,i.useTranslation)().t;return s().createElement("button",{onClick:function(){a.bB.setState({configPathBeingEdited:A})}},n("edit","Edit"))}var R=n(84767),G={featureName:"Implementer Tools",moduleName:"@openmrs/esm-implementer-tools-app"},H=(0,r.getSyncLifecycle)((function(){return s().createElement(r.UserHasAccess,{privilege:"O3 Implementer Tools"},s().createElement(U,null))}),G),L=(0,r.getSyncLifecycle)((function(){var e=(0,r.useStore)(a.bB).isOpen,A=(0,i.useTranslation)().t;return s().createElement(r.UserHasAccess,{privilege:"O3 Implementer Tools"},s().createElement("div",{className:q.chevronImplementerToolsButton,"data-testid":"globalImplementerToolsButton"},s().createElement("button",{type:"button",onClick:a.xq,"aria-label":A("toggleImplementerTools","Toggle Implementer Tools"),className:q.implementerToolsButton},e?s().createElement(r.ChevronDownIcon,{size:16}):s().createElement(r.ChevronUpIcon,{size:16}))))}),G),K=(0,r.getSyncLifecycle)((function(){var e=(0,i.useTranslation)().t,A=(0,r.useStore)(a.bB).isOpen;return s().createElement(r.UserHasAccess,{privilege:"O3 Implementer Tools"},s().createElement(F.HeaderGlobalAction,{"aria-label":e("implementerTools","Implementer Tools"),"aria-labelledby":"Implementer Tools",className:q.toolStyles,onClick:a.xq},A?s().createElement(r.CloseIcon,{size:20}):s().createElement(r.ToolsIcon,{size:20})))}),G)},82604:(e,A,n)=>{"use strict";function t(e,A,n){return A in e?Object.defineProperty(e,A,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[A]=n,e}function r(e){for(var A=1;A<arguments.length;A++){var n=null!=arguments[A]?arguments[A]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(A){t(e,A,n[A])}))}return e}function o(e,A){return A=null!=A?A:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(A)):function(e){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);A.push.apply(A,n)}return A}(Object(A)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(A,n))})),e}n.d(A,{bB:()=>s,s5:()=>a,xq:()=>i});var s=(0,n(19287).createGlobalStore)("implementer-tools",{activeItemDescription:null,configPathBeingEdited:null,isOpen:p(),hasAlert:!1,openTabIndex:0,isConfigToolbarOpen:C(),isUIEditorEnabled:f(),isJsonModeEnabled:h(),uiSelectedPath:null}),i=function(){return s.setState((function(e){return o(r({},e),{isOpen:!e.isOpen,openTabIndex:0})}))},a=function(){return s.setState((function(e){return o(r({},e),{isOpen:!0,openTabIndex:2})}))},c=p(),d=C(),l=f(),u=h();function p(){var e;return null!==(e=JSON.parse(localStorage.getItem("openmrs:openmrsImplementerToolsAreOpen")||"false"))&&void 0!==e&&e}function C(){var e;return null===(e=JSON.parse(localStorage.getItem("openmrs:openmrsImplementerToolsConfigOpen")||"true"))||void 0===e||e}function f(){var e;return null!==(e=JSON.parse(localStorage.getItem("openmrs:isUIEditorEnabled")||"false"))&&void 0!==e&&e}function h(){var e;return null!==(e=JSON.parse(localStorage.getItem("openmrs:getIsJsonModeEnabled")||"false"))&&void 0!==e&&e}s.subscribe((function(e){var A,n;e.isOpen!=c&&(A=e.isOpen,localStorage.setItem("openmrs:openmrsImplementerToolsAreOpen",JSON.stringify(A)),c=e.isOpen),e.isUIEditorEnabled!=l&&(n=e.isUIEditorEnabled,localStorage.setItem("openmrs:isUIEditorEnabled",JSON.stringify(n)),l=e.isUIEditorEnabled),e.isConfigToolbarOpen!=d&&(function(e){localStorage.setItem("openmrs:openmrsImplementerToolsConfigOpen",JSON.stringify(e))}(e.isConfigToolbarOpen),d=e.isConfigToolbarOpen),e.isJsonModeEnabled!=u&&(function(e){localStorage.setItem("openmrs:getIsJsonModeEnabled",JSON.stringify(e))}(e.isJsonModeEnabled),u=e.isJsonModeEnabled)}))},84767:(e,A,n)=>{var t={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879]};function r(e){if(!n.o(t,e))return Promise.resolve().then((()=>{var A=new Error("Cannot find module '"+e+"'");throw A.code="MODULE_NOT_FOUND",A}));var A=t[e],r=A[0];return n.e(A[1]).then((()=>n(r)))}r.keys=()=>Object.keys(t),r.id=84767,e.exports=r},95877:(e,A,n)=>{"use strict";n.d(A,{A:()=>i});var t=n(41109),r=n.n(t),o=n(75248),s=n.n(o)()(r());s.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-implementer-tools__implementer-tools-styles__toolStyles___g9u4a{background-color:rgba(0,0,0,0)}.-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv{position:fixed;bottom:0;left:calc(50vw - 1rem)}.-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv .-esm-implementer-tools__implementer-tools-styles__implementerToolsButton___1RK67{border:none;padding:0;font:inherit;color:inherit;background-color:#fff;width:2rem;height:1.5rem;display:flex;justify-content:center;align-items:center;cursor:pointer;border-radius:.125rem;transition:all .3s ease-in-out}.-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv .-esm-implementer-tools__implementer-tools-styles__implementerToolsButton___1RK67:hover{transform:translateY(-3px)}.-esm-implementer-tools__implementer-tools-styles__darkTheme___HKnAv{--cds-ai-aura-end: rgba(0, 0, 0, 0);--cds-ai-aura-hover-background: #474747;--cds-ai-aura-hover-end: rgba(0, 0, 0, 0);--cds-ai-aura-hover-start: rgba(69, 137, 255, 0.4);--cds-ai-aura-start: rgba(69, 137, 255, 0.1);--cds-ai-aura-start-sm: rgba(69, 137, 255, 0.16);--cds-ai-border-end: #4589ff;--cds-ai-border-start: rgba(166, 200, 255, 0.36);--cds-ai-border-strong: #78a9ff;--cds-ai-drop-shadow: rgba(0, 0, 0, 0.28);--cds-ai-inner-shadow: rgba(69, 137, 255, 0.16);--cds-ai-overlay: rgba(0, 0, 0, 0.5);--cds-ai-popover-background: #161616;--cds-ai-popover-caret-bottom: #4589ff;--cds-ai-popover-caret-bottom-background: #202d45;--cds-ai-popover-caret-bottom-background-actions: #1e283a;--cds-ai-popover-caret-center: #4870b5;--cds-ai-popover-shadow-outer-01: rgba(0, 0, 0, 0.12);--cds-ai-popover-shadow-outer-02: rgba(0, 0, 0, 0.08);--cds-ai-skeleton-background: rgba(120, 169, 255, 0.5);--cds-ai-skeleton-element-background: rgba(120, 169, 255, 0.3);--cds-background: #262626;--cds-background-active: rgba(141, 141, 141, 0.4);--cds-background-brand: #0f62fe;--cds-background-hover: rgba(141, 141, 141, 0.16);--cds-background-inverse: #f4f4f4;--cds-background-inverse-hover: #e8e8e8;--cds-background-selected: rgba(141, 141, 141, 0.24);--cds-background-selected-hover: rgba(141, 141, 141, 0.32);--cds-border-disabled: rgba(141, 141, 141, 0.5);--cds-border-interactive: #4589ff;--cds-border-inverse: #f4f4f4;--cds-border-strong-01: #8d8d8d;--cds-border-strong-02: #a8a8a8;--cds-border-strong-03: #c6c6c6;--cds-border-subtle-00: #525252;--cds-border-subtle-01: #6f6f6f;--cds-border-subtle-02: #8d8d8d;--cds-border-subtle-03: #8d8d8d;--cds-border-subtle-selected-01: #8d8d8d;--cds-border-subtle-selected-02: #a8a8a8;--cds-border-subtle-selected-03: #a8a8a8;--cds-border-tile-01: #6f6f6f;--cds-border-tile-02: #8d8d8d;--cds-border-tile-03: #a8a8a8;--cds-chat-avatar-agent: #c6c6c6;--cds-chat-avatar-bot: #8d8d8d;--cds-chat-avatar-user: #4589ff;--cds-chat-bubble-agent: #262626;--cds-chat-bubble-border: #525252;--cds-chat-bubble-user: #393939;--cds-chat-button: #78a9ff;--cds-chat-button-active: rgba(141, 141, 141, 0.4);--cds-chat-button-hover: rgba(141, 141, 141, 0.16);--cds-chat-button-selected: rgba(141, 141, 141, 0.24);--cds-chat-button-text-hover: #a6c8ff;--cds-chat-button-text-selected: #c6c6c6;--cds-chat-header-background: #262626;--cds-chat-prompt-background: #161616;--cds-chat-prompt-border-end: rgba(38, 38, 38, 0);--cds-chat-prompt-border-start: #262626;--cds-chat-shell-background: #262626;--cds-field-01: #393939;--cds-field-02: #525252;--cds-field-03: #6f6f6f;--cds-field-hover-01: #474747;--cds-field-hover-02: #636363;--cds-field-hover-03: #5e5e5e;--cds-focus: #ffffff;--cds-focus-inset: #161616;--cds-focus-inverse: #0f62fe;--cds-highlight: #002d9c;--cds-icon-disabled: rgba(244, 244, 244, 0.25);--cds-icon-interactive: #ffffff;--cds-icon-inverse: #161616;--cds-icon-on-color: #ffffff;--cds-icon-on-color-disabled: rgba(255, 255, 255, 0.25);--cds-icon-primary: #f4f4f4;--cds-icon-secondary: #c6c6c6;--cds-interactive: #4589ff;--cds-layer-01: #393939;--cds-layer-02: #525252;--cds-layer-03: #6f6f6f;--cds-layer-accent-01: #525252;--cds-layer-accent-02: #6f6f6f;--cds-layer-accent-03: #8d8d8d;--cds-layer-accent-active-01: #8d8d8d;--cds-layer-accent-active-02: #393939;--cds-layer-accent-active-03: #525252;--cds-layer-accent-hover-01: #636363;--cds-layer-accent-hover-02: #5e5e5e;--cds-layer-accent-hover-03: #7a7a7a;--cds-layer-active-01: #6f6f6f;--cds-layer-active-02: #8d8d8d;--cds-layer-active-03: #393939;--cds-layer-background-01: #262626;--cds-layer-background-02: #393939;--cds-layer-background-03: #525252;--cds-layer-hover-01: #474747;--cds-layer-hover-02: #636363;--cds-layer-hover-03: #5e5e5e;--cds-layer-selected-01: #525252;--cds-layer-selected-02: #6f6f6f;--cds-layer-selected-03: #525252;--cds-layer-selected-disabled: #a8a8a8;--cds-layer-selected-hover-01: #636363;--cds-layer-selected-hover-02: #5e5e5e;--cds-layer-selected-hover-03: #636363;--cds-layer-selected-inverse: #f4f4f4;--cds-link-inverse: #0f62fe;--cds-link-inverse-active: #161616;--cds-link-inverse-hover: #0043ce;--cds-link-inverse-visited: #8a3ffc;--cds-link-primary: #78a9ff;--cds-link-primary-hover: #a6c8ff;--cds-link-secondary: #a6c8ff;--cds-link-visited: #be95ff;--cds-overlay: rgba(0, 0, 0, 0.65);--cds-shadow: rgba(0, 0, 0, 0.8);--cds-skeleton-background: #333333;--cds-skeleton-element: #525252;--cds-support-caution-major: #ff832b;--cds-support-caution-minor: #f1c21b;--cds-support-caution-undefined: #a56eff;--cds-support-error: #ff8389;--cds-support-error-inverse: #da1e28;--cds-support-info: #4589ff;--cds-support-info-inverse: #0043ce;--cds-support-success: #42be65;--cds-support-success-inverse: #24a148;--cds-support-warning: #f1c21b;--cds-support-warning-inverse: #f1c21b;--cds-text-disabled: rgba(244, 244, 244, 0.25);--cds-text-error: #ffb3b8;--cds-text-helper: #c6c6c6;--cds-text-inverse: #161616;--cds-text-on-color: #ffffff;--cds-text-on-color-disabled: rgba(255, 255, 255, 0.25);--cds-text-placeholder: rgba(244, 244, 244, 0.4);--cds-text-primary: #f4f4f4;--cds-text-secondary: #c6c6c6;--cds-toggle-off: #8d8d8d;--cds-spacing-01: 0.125rem;--cds-spacing-02: 0.25rem;--cds-spacing-03: 0.5rem;--cds-spacing-04: 0.75rem;--cds-spacing-05: 1rem;--cds-spacing-06: 1.5rem;--cds-spacing-07: 2rem;--cds-spacing-08: 2.5rem;--cds-spacing-09: 3rem;--cds-spacing-10: 4rem;--cds-spacing-11: 5rem;--cds-spacing-12: 6rem;--cds-spacing-13: 10rem;--cds-fluid-spacing-01: 0;--cds-fluid-spacing-02: 2vw;--cds-fluid-spacing-03: 5vw;--cds-fluid-spacing-04: 10vw;--cds-caption-01-font-size: 0.75rem;--cds-caption-01-font-weight: 400;--cds-caption-01-line-height: 1.33333;--cds-caption-01-letter-spacing: 0.32px;--cds-caption-02-font-size: 0.875rem;--cds-caption-02-font-weight: 400;--cds-caption-02-line-height: 1.28572;--cds-caption-02-letter-spacing: 0.32px;--cds-label-01-font-size: 0.75rem;--cds-label-01-font-weight: 400;--cds-label-01-line-height: 1.33333;--cds-label-01-letter-spacing: 0.32px;--cds-label-02-font-size: 0.875rem;--cds-label-02-font-weight: 400;--cds-label-02-line-height: 1.28572;--cds-label-02-letter-spacing: 0.16px;--cds-helper-text-01-font-size: 0.75rem;--cds-helper-text-01-line-height: 1.33333;--cds-helper-text-01-letter-spacing: 0.32px;--cds-helper-text-02-font-size: 0.875rem;--cds-helper-text-02-font-weight: 400;--cds-helper-text-02-line-height: 1.28572;--cds-helper-text-02-letter-spacing: 0.16px;--cds-body-short-01-font-size: 0.875rem;--cds-body-short-01-font-weight: 400;--cds-body-short-01-line-height: 1.28572;--cds-body-short-01-letter-spacing: 0.16px;--cds-body-short-02-font-size: 1rem;--cds-body-short-02-font-weight: 400;--cds-body-short-02-line-height: 1.375;--cds-body-short-02-letter-spacing: 0;--cds-body-long-01-font-size: 0.875rem;--cds-body-long-01-font-weight: 400;--cds-body-long-01-line-height: 1.42857;--cds-body-long-01-letter-spacing: 0.16px;--cds-body-long-02-font-size: 1rem;--cds-body-long-02-font-weight: 400;--cds-body-long-02-line-height: 1.5;--cds-body-long-02-letter-spacing: 0;--cds-code-01-font-family: 'IBM Plex Mono', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', monospace;--cds-code-01-font-size: 0.75rem;--cds-code-01-font-weight: 400;--cds-code-01-line-height: 1.33333;--cds-code-01-letter-spacing: 0.32px;--cds-code-02-font-family: 'IBM Plex Mono', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', monospace;--cds-code-02-font-size: 0.875rem;--cds-code-02-font-weight: 400;--cds-code-02-line-height: 1.42857;--cds-code-02-letter-spacing: 0.32px;--cds-heading-01-font-size: 0.875rem;--cds-heading-01-font-weight: 600;--cds-heading-01-line-height: 1.42857;--cds-heading-01-letter-spacing: 0.16px;--cds-heading-02-font-size: 1rem;--cds-heading-02-font-weight: 600;--cds-heading-02-line-height: 1.5;--cds-heading-02-letter-spacing: 0;--cds-productive-heading-01-font-size: 0.875rem;--cds-productive-heading-01-font-weight: 600;--cds-productive-heading-01-line-height: 1.28572;--cds-productive-heading-01-letter-spacing: 0.16px;--cds-productive-heading-02-font-size: 1rem;--cds-productive-heading-02-font-weight: 600;--cds-productive-heading-02-line-height: 1.375;--cds-productive-heading-02-letter-spacing: 0;--cds-productive-heading-03-font-size: 1.25rem;--cds-productive-heading-03-font-weight: 400;--cds-productive-heading-03-line-height: 1.4;--cds-productive-heading-03-letter-spacing: 0;--cds-productive-heading-04-font-size: 1.75rem;--cds-productive-heading-04-font-weight: 400;--cds-productive-heading-04-line-height: 1.28572;--cds-productive-heading-04-letter-spacing: 0;--cds-productive-heading-05-font-size: 2rem;--cds-productive-heading-05-font-weight: 400;--cds-productive-heading-05-line-height: 1.25;--cds-productive-heading-05-letter-spacing: 0;--cds-productive-heading-06-font-size: 2.625rem;--cds-productive-heading-06-font-weight: 300;--cds-productive-heading-06-line-height: 1.199;--cds-productive-heading-06-letter-spacing: 0;--cds-productive-heading-07-font-size: 3.375rem;--cds-productive-heading-07-font-weight: 300;--cds-productive-heading-07-line-height: 1.19;--cds-productive-heading-07-letter-spacing: 0;--cds-expressive-paragraph-01-font-size: 1.5rem;--cds-expressive-paragraph-01-font-weight: 300;--cds-expressive-paragraph-01-line-height: 1.334;--cds-expressive-paragraph-01-letter-spacing: 0;--cds-expressive-heading-01-font-size: 0.875rem;--cds-expressive-heading-01-font-weight: 600;--cds-expressive-heading-01-line-height: 1.42857;--cds-expressive-heading-01-letter-spacing: 0.16px;--cds-expressive-heading-02-font-size: 1rem;--cds-expressive-heading-02-font-weight: 600;--cds-expressive-heading-02-line-height: 1.5;--cds-expressive-heading-02-letter-spacing: 0;--cds-expressive-heading-03-font-size: 1.25rem;--cds-expressive-heading-03-font-weight: 400;--cds-expressive-heading-03-line-height: 1.4;--cds-expressive-heading-03-letter-spacing: 0;--cds-expressive-heading-04-font-size: 1.75rem;--cds-expressive-heading-04-font-weight: 400;--cds-expressive-heading-04-line-height: 1.28572;--cds-expressive-heading-04-letter-spacing: 0;--cds-expressive-heading-05-font-size: 2rem;--cds-expressive-heading-05-font-weight: 400;--cds-expressive-heading-05-line-height: 1.25;--cds-expressive-heading-05-letter-spacing: 0;--cds-expressive-heading-06-font-size: 2rem;--cds-expressive-heading-06-font-weight: 600;--cds-expressive-heading-06-line-height: 1.25;--cds-expressive-heading-06-letter-spacing: 0;--cds-quotation-01-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-quotation-01-font-size: 1.25rem;--cds-quotation-01-font-weight: 400;--cds-quotation-01-line-height: 1.3;--cds-quotation-01-letter-spacing: 0;--cds-quotation-02-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-quotation-02-font-size: 2rem;--cds-quotation-02-font-weight: 300;--cds-quotation-02-line-height: 1.25;--cds-quotation-02-letter-spacing: 0;--cds-display-01-font-size: 2.625rem;--cds-display-01-font-weight: 300;--cds-display-01-line-height: 1.19;--cds-display-01-letter-spacing: 0;--cds-display-02-font-size: 2.625rem;--cds-display-02-font-weight: 600;--cds-display-02-line-height: 1.19;--cds-display-02-letter-spacing: 0;--cds-display-03-font-size: 2.625rem;--cds-display-03-font-weight: 300;--cds-display-03-line-height: 1.19;--cds-display-03-letter-spacing: 0;--cds-display-04-font-size: 2.625rem;--cds-display-04-font-weight: 300;--cds-display-04-line-height: 1.19;--cds-display-04-letter-spacing: 0;--cds-legal-01-font-size: 0.75rem;--cds-legal-01-font-weight: 400;--cds-legal-01-line-height: 1.33333;--cds-legal-01-letter-spacing: 0.32px;--cds-legal-02-font-size: 0.875rem;--cds-legal-02-font-weight: 400;--cds-legal-02-line-height: 1.28572;--cds-legal-02-letter-spacing: 0.16px;--cds-body-compact-01-font-size: 0.875rem;--cds-body-compact-01-font-weight: 400;--cds-body-compact-01-line-height: 1.28572;--cds-body-compact-01-letter-spacing: 0.16px;--cds-body-compact-02-font-size: 1rem;--cds-body-compact-02-font-weight: 400;--cds-body-compact-02-line-height: 1.375;--cds-body-compact-02-letter-spacing: 0;--cds-heading-compact-01-font-size: 0.875rem;--cds-heading-compact-01-font-weight: 600;--cds-heading-compact-01-line-height: 1.28572;--cds-heading-compact-01-letter-spacing: 0.16px;--cds-heading-compact-02-font-size: 1rem;--cds-heading-compact-02-font-weight: 600;--cds-heading-compact-02-line-height: 1.375;--cds-heading-compact-02-letter-spacing: 0;--cds-body-01-font-size: 0.875rem;--cds-body-01-font-weight: 400;--cds-body-01-line-height: 1.42857;--cds-body-01-letter-spacing: 0.16px;--cds-body-02-font-size: 1rem;--cds-body-02-font-weight: 400;--cds-body-02-line-height: 1.5;--cds-body-02-letter-spacing: 0;--cds-heading-03-font-size: 1.25rem;--cds-heading-03-font-weight: 400;--cds-heading-03-line-height: 1.4;--cds-heading-03-letter-spacing: 0;--cds-heading-04-font-size: 1.75rem;--cds-heading-04-font-weight: 400;--cds-heading-04-line-height: 1.28572;--cds-heading-04-letter-spacing: 0;--cds-heading-05-font-size: 2rem;--cds-heading-05-font-weight: 400;--cds-heading-05-line-height: 1.25;--cds-heading-05-letter-spacing: 0;--cds-heading-06-font-size: 2.625rem;--cds-heading-06-font-weight: 300;--cds-heading-06-line-height: 1.199;--cds-heading-06-letter-spacing: 0;--cds-heading-07-font-size: 3.375rem;--cds-heading-07-font-weight: 300;--cds-heading-07-line-height: 1.19;--cds-heading-07-letter-spacing: 0;--cds-fluid-heading-03-font-size: 1.25rem;--cds-fluid-heading-03-font-weight: 400;--cds-fluid-heading-03-line-height: 1.4;--cds-fluid-heading-03-letter-spacing: 0;--cds-fluid-heading-04-font-size: 1.75rem;--cds-fluid-heading-04-font-weight: 400;--cds-fluid-heading-04-line-height: 1.28572;--cds-fluid-heading-04-letter-spacing: 0;--cds-fluid-heading-05-font-size: 2rem;--cds-fluid-heading-05-font-weight: 400;--cds-fluid-heading-05-line-height: 1.25;--cds-fluid-heading-05-letter-spacing: 0;--cds-fluid-heading-06-font-size: 2rem;--cds-fluid-heading-06-font-weight: 600;--cds-fluid-heading-06-line-height: 1.25;--cds-fluid-heading-06-letter-spacing: 0;--cds-fluid-paragraph-01-font-size: 1.5rem;--cds-fluid-paragraph-01-font-weight: 300;--cds-fluid-paragraph-01-line-height: 1.334;--cds-fluid-paragraph-01-letter-spacing: 0;--cds-fluid-quotation-01-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-fluid-quotation-01-font-size: 1.25rem;--cds-fluid-quotation-01-font-weight: 400;--cds-fluid-quotation-01-line-height: 1.3;--cds-fluid-quotation-01-letter-spacing: 0;--cds-fluid-quotation-02-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-fluid-quotation-02-font-size: 2rem;--cds-fluid-quotation-02-font-weight: 300;--cds-fluid-quotation-02-line-height: 1.25;--cds-fluid-quotation-02-letter-spacing: 0;--cds-fluid-display-01-font-size: 2.625rem;--cds-fluid-display-01-font-weight: 300;--cds-fluid-display-01-line-height: 1.19;--cds-fluid-display-01-letter-spacing: 0;--cds-fluid-display-02-font-size: 2.625rem;--cds-fluid-display-02-font-weight: 600;--cds-fluid-display-02-line-height: 1.19;--cds-fluid-display-02-letter-spacing: 0;--cds-fluid-display-03-font-size: 2.625rem;--cds-fluid-display-03-font-weight: 300;--cds-fluid-display-03-line-height: 1.19;--cds-fluid-display-03-letter-spacing: 0;--cds-fluid-display-04-font-size: 2.625rem;--cds-fluid-display-04-font-weight: 300;--cds-fluid-display-04-line-height: 1.19;--cds-fluid-display-04-letter-spacing: 0;--cds-layer:var(--cds-layer-01, #f4f4f4);--cds-layer-active:var(--cds-layer-active-01, #c6c6c6);--cds-layer-background:var(--cds-layer-background-01, #ffffff);--cds-layer-hover:var(--cds-layer-hover-01, #e8e8e8);--cds-layer-selected:var(--cds-layer-selected-01, #e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-01, #d1d1d1);--cds-layer-accent:var(--cds-layer-accent-01, #e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-01, #d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-01, #a8a8a8);--cds-field:var(--cds-field-01, #f4f4f4);--cds-field-hover:var(--cds-field-hover-01, #e8e8e8);--cds-border-subtle:var(--cds-border-subtle-00, #e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-01, #c6c6c6);--cds-border-strong:var(--cds-border-strong-01, #8d8d8d);--cds-border-tile:var(--cds-border-tile-01, #c6c6c6)}.-esm-implementer-tools__implementer-tools-styles__darkTheme___HKnAv .cds--content-switcher-btn.cds--content-switcher--selected{background-color:#f4f4f4}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/implementer-tools.styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../../node_modules/@carbon/themes/scss/_theme.scss","webpack://./../../../node_modules/@carbon/styles/scss/utilities/_custom-property.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCxDF,sEACE,8BAAA,CAGF,yFACE,cAAA,CACA,QAAA,CACA,sBAAA,CAEA,2KACE,WAAA,CACA,SAAA,CACA,YAAA,CACA,aAAA,CAEA,qBDjBI,CCkBJ,UCoBS,CDnBT,aCcS,CDbT,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,cAAA,CACA,qBChBS,CDiBT,8BAAA,CAGF,iLACE,0BAAA,CAIJ,qEEiFI,mCAAA,CAAA,uCAAA,CAAA,yCAAA,CAAA,kDAAA,CAAA,4CAAA,CAAA,gDAAA,CAAA,4BAAA,CAAA,gDAAA,CAAA,+BAAA,CAAA,yCAAA,CAAA,+CAAA,CAAA,oCAAA,CAAA,oCAAA,CAAA,sCAAA,CAAA,iDAAA,CAAA,yDAAA,CAAA,sCAAA,CAAA,qDAAA,CAAA,qDAAA,CAAA,sDAAA,CAAA,8DAAA,CAAA,yBAAA,CAAA,iDAAA,CAAA,+BAAA,CAAA,iDAAA,CAAA,iCAAA,CAAA,uCAAA,CAAA,oDAAA,CAAA,0DAAA,CAAA,+CAAA,CAAA,iCAAA,CAAA,6BAAA,CAAA,+BAAA,CAAA,+BAAA,CAAA,+BAAA,CAAA,+BAAA,CAAA,+BAAA,CAAA,+BAAA,CAAA,+BAAA,CAAA,wCAAA,CAAA,wCAAA,CAAA,wCAAA,CAAA,6BAAA,CAAA,6BAAA,CAAA,6BAAA,CAAA,gCAAA,CAAA,8BAAA,CAAA,+BAAA,CAAA,gCAAA,CAAA,iCAA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;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/react/scss/themes';\n@use '@carbon/react/scss/theme';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.toolStyles {\n background-color: transparent;\n}\n\n.chevronImplementerToolsButton {\n position: fixed;\n bottom: 0;\n left: calc(50vw - layout.$spacing-07 / 2);\n\n .implementerToolsButton {\n border: none;\n padding: 0;\n font: inherit;\n color: inherit;\n\n background-color: $ui-02;\n width: layout.$spacing-07;\n height: layout.$spacing-06;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n border-radius: layout.$spacing-01;\n transition: all 0.3s ease-in-out;\n }\n\n .implementerToolsButton:hover {\n transform: translateY(-3px);\n }\n}\n\n.darkTheme {\n @include theme.theme(themes.$g90);\n\n :global(.cds--content-switcher-btn.cds--content-switcher--selected) {\n background-color: $ui-01;\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n@use 'sass:map';\n@use 'sass:meta';\n@use 'config';\n@use 'themes';\n\n/// Specify the fallback theme, used as a catch-all for tokens that you may not\n/// have defined in your custom theme\n$fallback: themes.$white !default;\n\n/// Specify the current theme. This can override existing tokens, or add new\n/// tokens. If you are adding new tokens, it's recommended that you set the\n/// fallback for your current theme\n$theme: () !default;\n$theme: map.merge($fallback, $theme);\n\n/// Local component tokens that can be updated with `@mixin add-component-tokens`.\n$-component-tokens: ();\n\n/// Include the CSS Custom Properties for the active theme or a given theme on\n/// a selector\n@mixin theme($active-theme: $theme, $component-tokens...) {\n @each $token, $value in $active-theme {\n @include -custom-property($token, $value);\n }\n\n @each $group in $component-tokens {\n @each $token, $value in $group {\n @include -custom-property($token, $value);\n }\n }\n\n @each $token, $value in $-component-tokens {\n @include -custom-property(\n $token,\n -resolve-token-value($active-theme, $value)\n );\n }\n}\n\n/// Retrieve the value for the given $token from the current $theme\n/// @param {String} $token\n@function get($token) {\n @if map.has-key($theme, $token) {\n @return map.get($theme, $token);\n }\n @error \"Unable to find token: #{$token} in current $theme\";\n}\n\n/// Compare two themes to see if the second theme is a superset of the first\n/// theme. In other words, this function will return true if every token in the\n/// first theme is available in the second theme and has the same value. The\n/// second theme is allowed to have additional values and it will still match.\n/// @param {Map} $a\n/// @param {Map} $b\n/// @returns {Boolean}\n@function matches($a, $b) {\n @each $key, $value in $a {\n @if map.has-key($b, $key) == false {\n @return false;\n }\n\n @if map.get($b, $key) != $value {\n @return false;\n }\n }\n\n @return true;\n}\n\n/// Add component tokens which will be included any time the theme mixin is\n/// called\n@mixin add-component-tokens($token-map) {\n $-component-tokens: map.merge($-component-tokens, $token-map) !global;\n}\n\n/// Determine the value from a component token that matches the given theme.\n/// This is helpful when a component token may change depending on what theme the\n/// component is being rendered in.\n@function -resolve-token-value($active-theme: $theme, $token-value) {\n @if meta.type-of($token-value) == map and map.has-key($token-value, values) {\n $fallback: map.get($token-value, fallback);\n $theme-values: map.get($token-value, values);\n\n @each $theme-value in $theme-values {\n $theme-to-match: map.get($theme-value, theme);\n $value: map.get($theme-value, value);\n\n @if matches($theme-to-match, $active-theme) {\n @return $value;\n }\n }\n\n @return $fallback;\n }\n\n @return $token-value;\n}\n\n/// @access private\n/// @group @carbon/themes\n@mixin -custom-property($name, $value) {\n @if meta.type-of($value) == map {\n @each $property, $property-value in $value {\n // Only support one-level of depth for values that are maps. This is to\n // avoid bringing properties like `breakpoints` on type tokens\n @if type-of($property-value) != map {\n @include -custom-property('#{$name}-#{$property}', $property-value);\n }\n }\n } @else {\n --#{config.$prefix}-#{$name}: #{$value};\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n@use '../config';\n\n// Some CSS Custom Property terminology\n// @see https://www.w3.org/TR/css-variables-1/\n//\n// <custom-property-name>:\n// Any valid identifer that starts with two dashes (--)\n//\n// A declaration:\n// CSS Custom Properties can be used as declarations in a CSS selector. They\n// take on the form of:\n//\n// <custom-property-name>: <declaration-value>;\n//\n// The var() notation:\n// You can use a CSS Custom Property as a substitute for a value of another\n// property using the var() function. This function has the following syntax:\n//\n// var( <custom-property-name> [, <declarative-value> ]? )\n//\n// This function takes in an optional fallback value if the CSS Custom\n// Property has not been previously defined\n\n/// Get the <custom-property-name> for a given string\n/// @param {String} $name\n/// @returns {String}\n@function get-name($name) {\n @return --#{config.$prefix}-#{$name};\n}\n\n/// Get the var() representation for a given token\n/// @param {String} $name\n/// @param {Any} $fallback\n/// @returns var()\n@function get-var($name, $fallback: false) {\n @if $fallback {\n @return var(--#{config.$prefix}-#{$name}, #{$fallback});\n }\n @return var(--#{config.$prefix}-#{$name});\n}\n\n/// Emit a declaration which sets the value of a CSS Custom Property using the\n/// $name as the <custom-property-name> and the $value as the\n/// <declaration-value>\n/// @param {String} $name\n/// @param {any} $value\n@mixin declaration($name, $value) {\n #{get-name($name)}: #{$value};\n}\n"],sourceRoot:""}]),s.locals={toolStyles:"-esm-implementer-tools__implementer-tools-styles__toolStyles___g9u4a",chevronImplementerToolsButton:"-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv",implementerToolsButton:"-esm-implementer-tools__implementer-tools-styles__implementerToolsButton___1RK67",darkTheme:"-esm-implementer-tools__implementer-tools-styles__darkTheme___HKnAv"};const i=s}}]);
package/dist/6022.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_implementer_tools_app=globalThis.webpackChunk_openmrs_esm_implementer_tools_app||[]).push([[6022],{46022:e=>{e.exports=JSON.parse('{"activeItemSourceText":"Valoarea curentă provine din ","arrayValidationMessage":"Valoarea trebuie să fie o listă de elemente","backendModules":"Module backend","booleanValidationMessage":"Valoarea trebuie să fie un boolean","checkImplementerToolsMessage":"Verifică fila Module Backend din Instrumente Implementator pentru mai multe detalii","clearConfig":"Șterge configurația locală","close":"Închide","configuration":"Configurație","description":"Descriere","downloadConfig":"Descarcă configurația","edit":"Editează","editValueButtonText":"Editează","enabled":"Activat","extensions":"Extensii","featureFlag":"Funcționalitate experimentală","featureFlags":"Funcționalități experimentale","frontendModules":"Module frontend","implementerTools":"Instrumente implementator","installedVersion":"Versiune instalată","itemDescriptionSourceDefaultText":"Valoarea curentă este cea implicită.","jsonEditor":"Editor JSON","missing":"Lipsește","moduleName":"Nume modul","modulesWithMissingDependenciesWarning":"Unele module au dependențe backend nerezolvate","numberValidationMessage":"Valoarea trebuie sa fie un numar","objectPropertyValidationMessage":"Proprietatea {{key}}: {{error}}","objectValidationMessage":"Valoarea trebuie sa fie un obiect","requiredVersion":"Versiune necesară","resetToDefaultValueButtonText":"Resetează la valoarea implicită","stringValidationMessage":"Valoarea trebuie sa fie un sir de caractere\\n","toggleImplementerTools":"Comută Instrumente implementator","uiEditor":"Editor UI","unknownVersion":"necunoscută","updateConfig":"Actualizează configurația","uuidValidationMessage":"Valoarea trebuie sa fie un sir UUID valid","value":"Valoare","viewModules":"Vezi modulele"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_implementer_tools_app=globalThis.webpackChunk_openmrs_esm_implementer_tools_app||[]).push([[6022],{46022:e=>{e.exports=JSON.parse('{"activeItemSourceText":"Valoarea curentă provine din ","arrayValidationMessage":"Valoarea trebuie să fie o listă de elemente","backendModules":"Module backend","booleanValidationMessage":"Valoarea trebuie să fie un boolean","checkImplementerToolsMessage":"Verifică fila Module Backend din Instrumente Implementator pentru mai multe detalii","clearConfig":"Șterge configurația locală","close":"Închide","configuration":"Configurație","description":"Descriere","downloadConfig":"Descarcă configurația","edit":"Editează","editValueButtonText":"Editează","enabled":"Activat","extensions":"Extensii","featureFlag":"Funcționalitate experimentală","featureFlags":"Funcționalități experimentale","frontendModules":"Module frontend","implementerTools":"Instrumente implementator","installedVersion":"Versiune instalată","itemDescriptionSourceDefaultText":"Valoarea curentă este cea implicită.","jsonEditor":"Editor JSON","missing":"Lipsește","moduleName":"Nume modul","modulesWithMissingDependenciesWarning":"Unele module au dependențe backend nerezolvate","numberValidationMessage":"Valoarea trebuie sa fie un numar","objectPropertyValidationMessage":"Property {{key}}: {{error}}","objectValidationMessage":"Valoarea trebuie sa fie un obiect","requiredVersion":"Versiune necesară","resetToDefaultValueButtonText":"Resetează la valoarea implicită","stringValidationMessage":"Valoarea trebuie sa fie un sir de caractere\\n","toggleImplementerTools":"Comută Instrumente implementator","uiEditor":"Editor UI","unknownVersion":"necunoscută","updateConfig":"Actualizează configurația","uuidValidationMessage":"Valoarea trebuie sa fie un sir UUID valid","value":"Valoare","viewModules":"Vezi modulele"}')}}]);