@icap-ethiopia/esm-ethiohri-phrh
Version:
An OpenMRS seed application for building microfrontends
1 lines • 9.56 kB
JavaScript
(()=>{var e,r,t={4767:(e,r,t)=>{var n={"./am.json":[1197,197],"./en.json":[4300,300],"./es.json":[3099,99],"./fr.json":[4055,55],"./he.json":[4652,652],"./km.json":[6716,335]};function o(e){if(!t.o(n,e))return Promise.resolve().then((()=>{var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}));var r=n[e],o=r[0];return t.e(r[1]).then((()=>t(o)))}o.keys=()=>Object.keys(n),o.id=4767,e.exports=o},5937:(e,r,t)=>{"use strict";var n=t(5987),o=(n.Type.Boolean,n.Type.Array,n.Type.String,(0,n.validator)((function(e){return e.length>0}),"At least one person must be greeted."),t(6656));function i(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var a,l,s="@icap-ethiopia/esm-kpp-app",c={featureName:"kpp",moduleName:s};t(4767),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(941),t.e(666),t.e(691),t.e(322),t.e(231),t.e(662)]).then(t.bind(t,9662))}),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(691),t.e(322),t.e(912)]).then(t.bind(t,4912))}),c),(0,n.getSyncLifecycle)((0,o.createDashboardLink)((a=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),n.forEach((function(r){i(e,r,t[r])}))}return e}({},{slotName:"phrh-dashboard-slot",path:"phrh",title:"People High risk for HIV infection"}),l=null!=(l={moduleName:s})?l:{},Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(l)):function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r}(Object(l)).forEach((function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(l,e))})),a)),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(941),t.e(666),t.e(112),t.e(691),t.e(231),t.e(200),t.e(238)]).then(t.bind(t,9238))}),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(941),t.e(666),t.e(112),t.e(691),t.e(322),t.e(231),t.e(200),t.e(336)]).then(t.bind(t,6336))}),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(941),t.e(666),t.e(112),t.e(691),t.e(322),t.e(231),t.e(200),t.e(72)]).then(t.bind(t,4072))}),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(941),t.e(691),t.e(322),t.e(42)]).then(t.bind(t,42))}),c)}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=t,o.c=n,o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((r,t)=>(o.f[t](e,r),r)),[])),o.u=e=>e+".js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@icap-ethiopia/esm-ethiohri-phrh:",o.l=(t,n,i,a)=>{if(e[t])e[t].push(n);else{var l,s;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+i){l=p;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,o.nc&&l.setAttribute("nonce",o.nc),l.setAttribute("data-webpack",r+i),l.src=t),e[t]=[n];var f=(r,n)=>{l.onerror=l.onload=null,clearTimeout(h);var o=e[t];if(delete e[t],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((e=>e(n))),r)return r(n)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),s&&document.head.appendChild(l)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{o.S={};var e={},r={};o.I=(t,n)=>{n||(n=[]);var i=r[t];if(i||(i=r[t]={}),!(n.indexOf(i)>=0)){if(n.push(i),e[t])return e[t];o.o(o.S,t)||(o.S[t]={});var a=o.S[t],l="@icap-ethiopia/esm-ethiohri-phrh",s=(e,r,t,n)=>{var o=a[e]=a[e]||{},i=o[r];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(o[r]={get:t,from:l,eager:!!n})},c=[];return"default"===t&&(s("@openmrs/esm-framework","5.7.2-pre.2101",(()=>Promise.all([o.e(151),o.e(691)]).then((()=>()=>o(5151))))),s("@openmrs/esm-patient-common-lib","8.1.1-pre.5085",(()=>Promise.all([o.e(941),o.e(666),o.e(222),o.e(691),o.e(322),o.e(522),o.e(114)]).then((()=>()=>o(7222))))),s("dayjs","1.11.12",(()=>o.e(353).then((()=>()=>o(4353))))),s("react-i18next","11.18.6",(()=>Promise.all([o.e(979),o.e(691)]).then((()=>()=>o(2979))))),s("react-router-dom","6.14.1",(()=>Promise.all([o.e(282),o.e(691)]).then((()=>()=>o(282))))),s("react","18.2.0",(()=>o.e(540).then((()=>()=>o(6540)))))),e[t]=c.length?Promise.all(c).then((()=>e[t]=1)):1}}})(),(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var r=o.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{var e=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},r=e=>{var t=e[0],n="";if(1===e.length)return"*";if(t+.5){n+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var o=1,i=1;i<e.length;i++)o--,n+="u"==(typeof(l=e[i]))[0]?"-":(o>0?".":"")+(o=2,l);return n}var a=[];for(i=1;i<e.length;i++){var l=e[i];a.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?a.pop()+" "+a.pop():r(l))}return s();function s(){return a.pop().replace(/^\((.+)\)$/,"$1")}},t=(r,n)=>{if(0 in r){n=e(n);var o=r[0],i=o<0;i&&(o=-o-1);for(var a=0,l=1,s=!0;;l++,a++){var c,u,p=l<r.length?(typeof r[l])[0]:"";if(a>=n.length||"o"==(u=(typeof(c=n[a]))[0]))return!s||("u"==p?l>o&&!i:""==p!=i);if("u"==u){if(!s||"u"!=p)return!1}else if(s)if(p==u)if(l<=o){if(c!=r[l])return!1}else{if(i?c>r[l]:c<r[l])return!1;c!=r[l]&&(s=!1)}else if("s"!=p&&"n"!=p){if(i||l<=o)return!1;s=!1,l--}else{if(l<=o||u<p!=i)return!1;s=!1}else"s"!=p&&"n"!=p&&(s=!1,l--)}}var f=[],h=f.pop.bind(f);for(a=1;a<r.length;a++){var d=r[a];f.push(1==d?h()|h():2==d?h()&h():d?t(d,n):!h())}return!!h()},n=(r,t)=>{var n=r[t];return Object.keys(n).reduce(((r,t)=>!r||!n[r].loaded&&((r,t)=>{r=e(r),t=e(t);for(var n=0;;){if(n>=r.length)return n<t.length&&"u"!=(typeof t[n])[0];var o=r[n],i=(typeof o)[0];if(n>=t.length)return"u"==i;var a=t[n],l=(typeof a)[0];if(i!=l)return"o"==i&&"n"==l||"s"==l||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;n++}})(r,t)?t:r),0)},i=(e,o,i,s)=>{var c=n(e,i);return t(s,c)||a(((e,t,n,o)=>"Unsatisfied version "+n+" from "+(n&&e[t][n].from)+" of shared singleton module "+t+" (required "+r(o)+")")(e,i,c,s)),l(e[i][c])},a=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},l=e=>(e.loaded=1,e.get()),s=(e=>function(r,t,n,i){var a=o.I(r);return a&&a.then?a.then(e.bind(e,r,o.S[r],t,n,i)):e(r,o.S[r],t,n,i)})(((e,r,t,n,a)=>r&&o.o(r,t)?i(r,0,t,n):a())),c={},u={6072:()=>s("default","react",[1,18],(()=>o.e(540).then((()=>()=>o(6540))))),3941:()=>s("default","react-i18next",[1,11],(()=>o.e(979).then((()=>()=>o(2979))))),231:()=>s("default","dayjs",[1,1],(()=>o.e(353).then((()=>()=>o(4353))))),7114:()=>s("default","react-router-dom",[1,6],(()=>o.e(282).then((()=>()=>o(282))))),5987:()=>s("default","@openmrs/esm-framework",[0],(()=>Promise.all([o.e(151),o.e(691)]).then((()=>()=>o(5151))))),6656:()=>s("default","@openmrs/esm-patient-common-lib",[1,8],(()=>Promise.all([o.e(941),o.e(666),o.e(222),o.e(691),o.e(322),o.e(114)]).then((()=>()=>o(7222)))))};[5987,6656].forEach((e=>{o.m[e]=r=>{c[e]=0,delete o.c[e];var t=u[e]();if("function"!=typeof t)throw new Error("Shared module is not available for eager consumption: "+e);r.exports=t()}}));var p={114:[7114],231:[231],322:[3941],522:[5987,6656],691:[6072]};o.f.consumes=(e,r)=>{o.o(p,e)&&p[e].forEach((e=>{if(o.o(c,e))return r.push(c[e]);var t=r=>{c[e]=0,o.m[e]=t=>{delete o.c[e],t.exports=r()}},n=r=>{delete c[e],o.m[e]=t=>{throw delete o.c[e],r}};try{var i=u[e]();i.then?r.push(c[e]=i.then(t).catch(n)):t(i)}catch(e){n(e)}}))}})(),(()=>{var e={522:0,792:0,937:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^([35]22|114|231|691)$/.test(r))e[r]=0;else{var i=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=i);var a=o.p+o.u(r),l=new Error;o.l(a,(t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var i=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+i+": "+a+")",l.name="ChunkLoadError",l.type=i,l.request=a,n[1](l)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,i,[a,l,s]=t,c=0;if(a.some((r=>0!==e[r]))){for(n in l)o.o(l,n)&&(o.m[n]=l[n]);s&&s(o)}for(r&&r(t);c<a.length;c++)i=a[c],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0},t=globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_phrh=globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_phrh||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),o.nc=void 0,o(5937)})();