UNPKG

@icap-ethiopia/esm-ethiohri-kpp

Version:

An OpenMRS seed application for building microfrontends

1 lines 7.46 kB
var _icap_ethiopia_esm_ethiohri_kpp;(()=>{"use strict";var e,r,t,o,n,i,a,l,s,p,u,h,f,d,c,m={9392:(e,r,t)=>{var o={"./start":()=>Promise.all([t.e(522),t.e(937)]).then((()=>()=>t(5937)))},n=(e,r)=>(t.R=r,r=t.o(o,e)?o[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),i=(e,r)=>{if(t.S){var o="default",n=t.S[o];if(n&&n!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[o]=e,t.I(o,r)}};t.d(r,{get:()=>n,init:()=>i})}},v={};function g(e){var r=v[e];if(void 0!==r)return r.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return m[e].call(t.exports,t,t.exports,g),t.loaded=!0,t.exports}g.m=m,g.c=v,g.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return g.d(r,{a:r}),r},g.d=(e,r)=>{for(var t in r)g.o(r,t)&&!g.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},g.f={},g.e=e=>Promise.all(Object.keys(g.f).reduce(((r,t)=>(g.f[t](e,r),r)),[])),g.u=e=>e+".js",g.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),g.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@icap-ethiopia/esm-ethiohri-kpp:",g.l=(t,o,n,i)=>{if(e[t])e[t].push(o);else{var a,l;if(void 0!==n)for(var s=document.getElementsByTagName("script"),p=0;p<s.length;p++){var u=s[p];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==r+n){a=u;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,g.nc&&a.setAttribute("nonce",g.nc),a.setAttribute("data-webpack",r+n),a.src=t),e[t]=[o];var h=(r,o)=>{a.onerror=a.onload=null,clearTimeout(f);var n=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),n&&n.forEach((e=>e(o))),r)return r(o)},f=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),l&&document.head.appendChild(a)}},g.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},g.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{g.S={};var e={},r={};g.I=(t,o)=>{o||(o=[]);var n=r[t];if(n||(n=r[t]={}),!(o.indexOf(n)>=0)){if(o.push(n),e[t])return e[t];g.o(g.S,t)||(g.S[t]={});var i=g.S[t],a="@icap-ethiopia/esm-ethiohri-kpp",l=(e,r,t,o)=>{var n=i[e]=i[e]||{},l=n[r];(!l||!l.loaded&&(!o!=!l.eager?o:a>l.from))&&(n[r]={get:t,from:a,eager:!!o})},s=[];return"default"===t&&(l("@openmrs/esm-framework","5.7.2-pre.2101",(()=>Promise.all([g.e(151),g.e(72)]).then((()=>()=>g(5151))))),l("@openmrs/esm-patient-common-lib","8.1.1-pre.5085",(()=>Promise.all([g.e(806),g.e(324),g.e(222),g.e(72),g.e(941),g.e(522),g.e(114)]).then((()=>()=>g(7222))))),l("dayjs","1.11.12",(()=>g.e(353).then((()=>()=>g(4353))))),l("react-i18next","11.18.6",(()=>Promise.all([g.e(72),g.e(360)]).then((()=>()=>g(2979))))),l("react-router-dom","6.14.1",(()=>Promise.all([g.e(282),g.e(72)]).then((()=>()=>g(282))))),l("react","18.2.0",(()=>g.e(540).then((()=>()=>g(6540)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;g.g.importScripts&&(e=g.g.location+"");var r=g.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 o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),g.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),o=t[1]?r(t[1]):[];return t[2]&&(o.length++,o.push.apply(o,r(t[2]))),t[3]&&(o.push([]),o.push.apply(o,r(t[3]))),o},o=(e,r)=>{e=t(e),r=t(r);for(var o=0;;){if(o>=e.length)return o<r.length&&"u"!=(typeof r[o])[0];var n=e[o],i=(typeof n)[0];if(o>=r.length)return"u"==i;var a=r[o],l=(typeof a)[0];if(i!=l)return"o"==i&&"n"==l||"s"==l||"u"==i;if("o"!=i&&"u"!=i&&n!=a)return n<a;o++}},n=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var o=1,i=1;i<e.length;i++)o--,t+="u"==(typeof(l=e[i]))[0]?"-":(o>0?".":"")+(o=2,l);return t}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():n(l))}return s();function s(){return a.pop().replace(/^\((.+)\)$/,"$1")}},i=(e,r)=>{if(0 in e){r=t(r);var o=e[0],n=o<0;n&&(o=-o-1);for(var a=0,l=1,s=!0;;l++,a++){var p,u,h=l<e.length?(typeof e[l])[0]:"";if(a>=r.length||"o"==(u=(typeof(p=r[a]))[0]))return!s||("u"==h?l>o&&!n:""==h!=n);if("u"==u){if(!s||"u"!=h)return!1}else if(s)if(h==u)if(l<=o){if(p!=e[l])return!1}else{if(n?p>e[l]:p<e[l])return!1;p!=e[l]&&(s=!1)}else if("s"!=h&&"n"!=h){if(n||l<=o)return!1;s=!1,l--}else{if(l<=o||u<h!=n)return!1;s=!1}else"s"!=h&&"n"!=h&&(s=!1,l--)}}var f=[],d=f.pop.bind(f);for(a=1;a<e.length;a++){var c=e[a];f.push(1==c?d()|d():2==c?d()&d():c?i(c,r):!d())}return!!d()},a=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&o(e,r)?r:e),0)},l=(e,r,t,o)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+n(o)+")",s=(e,r,t,o)=>{var n=a(e,t);return i(o,n)||p(l(e,t,n,o)),u(e[t][n])},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},u=e=>(e.loaded=1,e.get()),h=(e=>function(r,t,o,n){var i=g.I(r);return i&&i.then?i.then(e.bind(e,r,g.S[r],t,o,n)):e(0,g.S[r],t,o,n)})(((e,r,t,o,n)=>r&&g.o(r,t)?s(r,0,t,o):n())),f={},d={6072:()=>h("default","react",[1,18],(()=>g.e(540).then((()=>()=>g(6540))))),3941:()=>h("default","react-i18next",[1,11],(()=>g.e(979).then((()=>()=>g(2979))))),5987:()=>h("default","@openmrs/esm-framework",[0],(()=>Promise.all([g.e(151),g.e(72)]).then((()=>()=>g(5151))))),6656:()=>h("default","@openmrs/esm-patient-common-lib",[1,8],(()=>Promise.all([g.e(806),g.e(324),g.e(222),g.e(72),g.e(941),g.e(114)]).then((()=>()=>g(7222))))),7114:()=>h("default","react-router-dom",[1,6],(()=>g.e(282).then((()=>()=>g(282))))),231:()=>h("default","dayjs",[1,1],(()=>g.e(353).then((()=>()=>g(4353)))))},c={72:[6072],114:[7114],231:[231],522:[5987,6656],941:[3941]},g.f.consumes=(e,r)=>{g.o(c,e)&&c[e].forEach((e=>{if(g.o(f,e))return r.push(f[e]);var t=r=>{f[e]=0,g.m[e]=t=>{delete g.c[e],t.exports=r()}},o=r=>{delete f[e],g.m[e]=t=>{throw delete g.c[e],r}};try{var n=d[e]();n.then?r.push(f[e]=n.then(t).catch(o)):t(n)}catch(e){o(e)}}))},(()=>{var e={347:0};g.f.j=(r,t)=>{var o=g.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else if(/^(114|231|522|72|941)$/.test(r))e[r]=0;else{var n=new Promise(((t,n)=>o=e[r]=[t,n]));t.push(o[2]=n);var i=g.p+g.u(r),a=new Error;g.l(i,(t=>{if(g.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;a.message="Loading chunk "+r+" failed.\n("+n+": "+i+")",a.name="ChunkLoadError",a.type=n,a.request=i,o[1](a)}}),"chunk-"+r,r)}};var r=(r,t)=>{var o,n,[i,a,l]=t,s=0;if(i.some((r=>0!==e[r]))){for(o in a)g.o(a,o)&&(g.m[o]=a[o]);l&&l(g)}for(r&&r(t);s<i.length;s++)n=i[s],g.o(e,n)&&e[n]&&e[n][0](),e[n]=0},t=globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_kpp=globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_kpp||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),g.nc=void 0;var b=g(9392);_icap_ethiopia_esm_ethiohri_kpp=b})();