@openmrs/esm-appointments-app 9.2.1-pre.6726 → 9.2.1-pre.6735

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/main.js CHANGED
@@ -1 +1 @@
1
- (()=>{var e,t,n,r,o={76886:(e,t,n)=>{"use strict";var r=n(54440),o=(n(95008),n(1343)),i=n.n(o),a=n(8877),s=function(e){return function(){return i().createElement(a.BrowserRouter,null,i().createElement(r.DashboardExtension,{path:e.path,title:e.title,basePath:e.basePath,icon:e.icon}))}},l={path:"appointments",slot:"clinical-appointments-dashboard-slot",title:"Appointments",basePath:"".concat(window.spaBase,"/home")},p={path:"calendar",slot:"clinical-appointments-dashboard-slot",title:"Appointments calendar",basePath:"".concat(window.spaBase,"/home")},c={slot:"patient-chart-appointments-dashboard-slot",columns:1,title:"Appointments",path:"Appointments",icon:"omrs-icon-event-schedule"};function u(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},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(t){f(e,t,n[t])})}return e}r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean;var h="@openmrs/esm-appointments-app",y={featureName:"appointments",moduleName:h};n(84767),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(1559),n.e(4863),n.e(5434),n.e(3150),n.e(8241),n.e(5160),n.e(7999),n.e(3092),n.e(1431),n.e(592)]).then(n.bind(n,70592))},y),(0,r.getSyncLifecycle)(s(l),y),(0,r.getSyncLifecycle)(s(p),y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(1559),n.e(4863),n.e(5434),n.e(3150),n.e(8241),n.e(5160),n.e(1431)]).then(n.bind(n,81431))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(1559),n.e(5434),n.e(3150),n.e(8241),n.e(5160),n.e(525),n.e(849)]).then(n.bind(n,50849))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(1559),n.e(5434),n.e(3150),n.e(8241),n.e(5160),n.e(525),n.e(6931)]).then(n.bind(n,86931))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(1559),n.e(5434),n.e(3150),n.e(8241),n.e(5160),n.e(525),n.e(6112)]).then(n.bind(n,16112))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5488),n.e(5434),n.e(3150),n.e(5755),n.e(4599)]).then(n.bind(n,94599))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5488),n.e(5434),n.e(3150),n.e(5755),n.e(6467)]).then(n.bind(n,76467))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5488),n.e(5434),n.e(3150),n.e(5755),n.e(8784)]).then(n.bind(n,68784))},y),(0,r.getAsyncLifecycle)(function(){return n.e(7026).then(n.bind(n,47026))},y),(0,r.getAsyncLifecycle)(function(){return(e=function(){return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,function(e){switch(e.label){case 0:return[4,n.e(7999).then(n.t.bind(n,97999,23))];case 1:return[2,{default:e.sent().createDashboardLink((t=d({},c),r={moduleName:h},r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))}]}var t,r})},function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)})})();var e},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(5434),n.e(3150),n.e(8241),n.e(7999),n.e(3092),n.e(7565)]).then(n.bind(n,73098))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(5434),n.e(3150),n.e(8241),n.e(7999),n.e(3092),n.e(4733)]).then(n.bind(n,77800))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(5434),n.e(3150),n.e(8241),n.e(7999),n.e(4745)]).then(n.bind(n,34745))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(5434),n.e(3150),n.e(8241),n.e(3431)]).then(n.bind(n,73431))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(7420),n.e(5434),n.e(3150),n.e(8241),n.e(4889)]).then(n.bind(n,74889))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(5434),n.e(3150),n.e(8241),n.e(9712)]).then(n.bind(n,79712))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(5434),n.e(3150),n.e(8241),n.e(3167)]).then(n.bind(n,13167))},y)},84767:(e,t,n)=>{var r={"./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 o(e){if(!n.o(r,e))return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(()=>n(o))}o.keys=()=>Object.keys(r),o.id=84767,e.exports=o},95008:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});var r=n(54440),o=["patientName","identifier","location","serviceType","status","dateTime","provider"],i={allowAllDayAppointments:{_type:r.Type.Boolean,_default:!1,_description:"Whether to allow scheduling of all-day appointments (vs appointments with start time and end time)"},appointmentStatuses:{_type:r.Type.Array,_default:["Requested","Scheduled","CheckedIn","Completed","Cancelled","Missed"],_description:"Configurable appointment status (status of appointments)",_elements:{_type:r.Type.String,_description:"Status of an appointment"}},appointmentTypes:{_type:r.Type.Array,_default:["Scheduled"],_description:"Configurable appointment types (types of appointments)",_elements:{_type:r.Type.String,_description:"Type of an appointment"}},checkInButton:{enabled:{_type:r.Type.Boolean,_default:!0,_description:'Whether the check-in button on the "Appointments" list should be enabled'},showIfActiveVisit:{_type:r.Type.Boolean,_default:!1,_description:"Whether to show the check-in button if the patient currently has an active visit"},customUrl:{_type:r.Type.String,_default:"",_description:"Custom URL to open when clicking the check-in button (instead of thes start visit form)"}},checkOutButton:{enabled:{_type:r.Type.Boolean,_default:!0,_description:'Whether the check-out button on the "Appointments" list should be disabled'},customUrl:{_type:r.Type.String,_default:"",_description:"Custom URL to open when clicking the check-out button"}},customPatientChartUrl:{_type:r.Type.String,_default:"${openmrsSpaBase}/patient/${patientUuid}/chart",_description:"Template URL that will be used when clicking on the patient name in the queues table.\n Available argument: patientUuid, openmrsSpaBase, openBase\n (openmrsSpaBase and openBase are available to any <ConfigurableLink>)",_validators:[r.validators.isUrlWithTemplateParameters(["patientUuid"])]},includePhoneNumberInExcelSpreadsheet:{_type:r.Type.Boolean,_default:!1,_description:"Whether to include phone numbers in the exported Excel spreadsheet"},patientIdentifierType:{_type:r.Type.String,_default:"",_description:"The name of the patient identifier type to be used for the patient identifier field"},showUnscheduledAppointmentsTab:{_type:r.Type.Boolean,_default:!1,_description:"Whether to show the Unscheduled Appointments tab. Note that configuring this to true requires a custom unscheduledAppointment endpoint not currently available"},appointmentsTableColumns:{_type:r.Type.Array,_description:"Columns to display in the appointment table. Available options: "+o.join(", "),_default:["patientName","identifier","location","serviceType","status"],_elements:{_type:r.Type.String,_validators:[r.validators.oneOf(o)]}}}}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.exports}a.m=o,a.c=i,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>i[e]=()=>n[e]);return i.default=()=>n,a.d(o,i),o},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,n)=>(a.f[n](e,t),t),[])),a.u=e=>e+".js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="@openmrs/esm-appointments-app:",a.l=(e,t,o,i)=>{if(n[e])n[e].push(t);else{var s,l;if(void 0!==o)for(var p=document.getElementsByTagName("script"),c=0;c<p.length;c++){var u=p[c];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==r+o){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",r+o),s.src=e),n[e]=[t];var f=(t,r)=>{s.onerror=s.onload=null,clearTimeout(d);var o=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(e=>e(r)),t)return t(r)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{a.S={};var e={},t={};a.I=(n,r)=>{r||(r=[]);var o=t[n];if(o||(o=t[n]={}),!(r.indexOf(o)>=0)){if(r.push(o),e[n])return e[n];a.o(a.S,n)||(a.S[n]={});var i=a.S[n],s="@openmrs/esm-appointments-app",l=(e,t,n,r)=>{var o=i[e]=i[e]||{},a=o[t];(!a||!a.loaded&&(!r!=!a.eager?r:s>a.from))&&(o[t]={get:n,from:s,eager:!!r})},p=[];return"default"===n&&(l("@openmrs/esm-framework","8.0.1-pre.3318",()=>Promise.all([a.e(66),a.e(3689),a.e(5488),a.e(7368),a.e(8316),a.e(5434),a.e(3150),a.e(8241),a.e(1343),a.e(4569),a.e(4230)]).then(()=>()=>a(48316))),l("@openmrs/esm-patient-common-lib","11.3.1-pre.8945",()=>Promise.all([a.e(66),a.e(3689),a.e(5488),a.e(7368),a.e(1064),a.e(5434),a.e(3150),a.e(8241),a.e(1343),a.e(4569),a.e(4230)]).then(()=>()=>a(81064))),l("react-dom","18.3.1",()=>Promise.all([a.e(3144),a.e(1343)]).then(()=>()=>a(43144))),l("react-i18next","11.18.6",()=>Promise.all([a.e(2537),a.e(1343)]).then(()=>()=>a(72537))),l("react-router-dom","6.30.1",()=>Promise.all([a.e(2913),a.e(8241),a.e(1343)]).then(()=>()=>a(52913))),l("react","18.3.1",()=>a.e(4041).then(()=>()=>a(14041))),l("swr/_internal","2.2.5",()=>Promise.all([a.e(2372),a.e(1343)]).then(()=>()=>a(42372))),l("swr/immutable","2.2.5",()=>Promise.all([a.e(5434),a.e(1343),a.e(7495)]).then(()=>()=>a(29876))),l("swr/infinite","2.2.5",()=>Promise.all([a.e(5434),a.e(1343),a.e(89)]).then(()=>()=>a(52470)))),e[n]=p.length?Promise.all(p).then(()=>e[n]=1):1}}})(),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e=e=>{var t=e=>e.split(".").map(e=>+e==e?+e:e),n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),r=n[1]?t(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,t(n[2]))),n[3]&&(r.push([]),r.push.apply(r,t(n[3]))),r},t=e=>{var n=e[0],r="";if(1===e.length)return"*";if(n+.5){r+=0==n?">=":-1==n?"<":1==n?"^":2==n?"~":n>0?"=":"!=";for(var o=1,i=1;i<e.length;i++)o--,r+="u"==(typeof(s=e[i]))[0]?"-":(o>0?".":"")+(o=2,s);return r}var a=[];for(i=1;i<e.length;i++){var s=e[i];a.push(0===s?"not("+l()+")":1===s?"("+l()+" || "+l()+")":2===s?a.pop()+" "+a.pop():t(s))}return l();function l(){return a.pop().replace(/^\((.+)\)$/,"$1")}},n=(t,r)=>{if(0 in t){r=e(r);var o=t[0],i=o<0;i&&(o=-o-1);for(var a=0,s=1,l=!0;;s++,a++){var p,c,u=s<t.length?(typeof t[s])[0]:"";if(a>=r.length||"o"==(c=(typeof(p=r[a]))[0]))return!l||("u"==u?s>o&&!i:""==u!=i);if("u"==c){if(!l||"u"!=u)return!1}else if(l)if(u==c)if(s<=o){if(p!=t[s])return!1}else{if(i?p>t[s]:p<t[s])return!1;p!=t[s]&&(l=!1)}else if("s"!=u&&"n"!=u){if(i||s<=o)return!1;l=!1,s--}else{if(s<=o||c<u!=i)return!1;l=!1}else"s"!=u&&"n"!=u&&(l=!1,s--)}}var f=[],d=f.pop.bind(f);for(a=1;a<t.length;a++){var h=t[a];f.push(1==h?d()|d():2==h?d()&d():h?n(h,r):!d())}return!!d()},r=(t,n,r)=>{var o=r?(e=>Object.keys(e).reduce((t,n)=>(e[n].eager&&(t[n]=e[n]),t),{}))(t[n]):t[n];return Object.keys(o).reduce((t,n)=>!t||!o[t].loaded&&((t,n)=>{t=e(t),n=e(n);for(var r=0;;){if(r>=t.length)return r<n.length&&"u"!=(typeof n[r])[0];var o=t[r],i=(typeof o)[0];if(r>=n.length)return"u"==i;var a=n[r],s=(typeof a)[0];if(i!=s)return"o"==i&&"n"==s||"s"==s||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;r++}})(t,n)?n:t,0)},o=(e,t,n)=>n?n():((e,t)=>(e=>{throw new Error(e)})("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),i=(e=>function(t,n,r,o,i){var s=a.I(t);return s&&s.then&&!r?s.then(e.bind(e,t,a.S[t],n,!1,o,i)):e(t,a.S[t],n,r,o,i)})((e,i,s,l,p,c)=>{if(!((e,t)=>e&&a.o(e,t))(i,s))return o(e,s,c);var u,f,d=r(i,s,l);return n(p,d)||(f=((e,n,r,o)=>"Unsatisfied version "+r+" from "+(r&&e[n][r].from)+" of shared singleton module "+n+" (required "+t(o)+")")(i,s,d,p),"undefined"!=typeof console&&console.warn&&console.warn(f)),(u=i[s][d]).loaded=1,u.get()}),s={},l={54440:()=>i("default","@openmrs/esm-framework",!1,[1,8],()=>Promise.all([a.e(66),a.e(3689),a.e(5488),a.e(7368),a.e(8316),a.e(5434),a.e(3150),a.e(8241),a.e(4569)]).then(()=>()=>a(48316))),1343:()=>i("default","react",!1,[1,18],()=>a.e(4041).then(()=>()=>a(14041))),8877:()=>i("default","react-router-dom",!1,[1,6],()=>Promise.all([a.e(2913),a.e(8241)]).then(()=>()=>a(52913))),55434:()=>i("default","swr/_internal",!1,[1,2],()=>a.e(2372).then(()=>()=>a(42372))),93150:()=>i("default","react-i18next",!1,[1,11],()=>a.e(2537).then(()=>()=>a(72537))),98241:()=>i("default","react-dom",!1,[1,18],()=>a.e(3144).then(()=>()=>a(43144))),97999:()=>i("default","@openmrs/esm-patient-common-lib",!1,[1,11],()=>Promise.all([a.e(66),a.e(3689),a.e(5488),a.e(7368),a.e(1064),a.e(5434),a.e(3150),a.e(8241),a.e(4569)]).then(()=>()=>a(81064))),88010:()=>i("default","swr/immutable",!1,[1,2],()=>a.e(9876).then(()=>()=>a(29876))),98394:()=>i("default","swr/infinite",!1,[1,2],()=>a.e(2470).then(()=>()=>a(52470)))};[54440,1343,8877].forEach(e=>{a.m[e]=t=>{s[e]=0,delete a.c[e];var n=l[e]();if("function"!=typeof n)throw new Error("Shared module is not available for eager consumption: "+e);t.exports=n()}});var p={1343:[1343],3150:[93150],4230:[8877,54440],4569:[88010,98394],5434:[55434],7999:[97999],8241:[98241],8792:[54440,1343,8877]},c={};a.f.consumes=(e,t)=>{a.o(p,e)&&p[e].forEach(e=>{if(a.o(s,e))return t.push(s[e]);if(!c[e]){var n=t=>{s[e]=0,a.m[e]=n=>{delete a.c[e],n.exports=t()}};c[e]=!0;var r=t=>{delete s[e],a.m[e]=n=>{throw delete a.c[e],t}};try{var o=l[e]();o.then?t.push(s[e]=o.then(n).catch(r)):n(o)}catch(e){r(e)}}})}})(),(()=>{var e={1343:0,4230:0,6886:0,8792:0};a.f.j=(t,n)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(/^(1343|3150|4230|4569|5434|7999|8241)$/.test(t))e[t]=0;else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var i=a.p+a.u(t),s=new Error;a.l(i,n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}},"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,s,l]=n,p=0;if(i.some(t=>0!==e[t])){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);l&&l(a)}for(t&&t(n);p<i.length;p++)o=i[p],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),a.nc=void 0,a(76886)})();
1
+ (()=>{var e,t,n,r,o={76886:(e,t,n)=>{"use strict";var r=n(54440),o=(n(95008),n(1343)),i=n.n(o),a=n(8877),s=function(e){return function(){return i().createElement(a.BrowserRouter,null,i().createElement(r.DashboardExtension,{path:e.path,title:e.title,basePath:e.basePath,icon:e.icon}))}},l={path:"appointments",slot:"clinical-appointments-dashboard-slot",title:"Appointments",basePath:"".concat(window.spaBase,"/home")},p={path:"calendar",slot:"clinical-appointments-dashboard-slot",title:"Appointments calendar",basePath:"".concat(window.spaBase,"/home")},c={slot:"patient-chart-appointments-dashboard-slot",columns:1,title:"Appointments",path:"Appointments",icon:"omrs-icon-event-schedule"};function u(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},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(t){f(e,t,n[t])})}return e}r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean;var h="@openmrs/esm-appointments-app",y={featureName:"appointments",moduleName:h};n(84767),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(1559),n.e(4863),n.e(5434),n.e(3150),n.e(8241),n.e(5160),n.e(7999),n.e(3092),n.e(1431),n.e(592)]).then(n.bind(n,70592))},y),(0,r.getSyncLifecycle)(s(l),y),(0,r.getSyncLifecycle)(s(p),y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(1559),n.e(4863),n.e(5434),n.e(3150),n.e(8241),n.e(5160),n.e(1431)]).then(n.bind(n,81431))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(1559),n.e(5434),n.e(3150),n.e(8241),n.e(5160),n.e(525),n.e(849)]).then(n.bind(n,50849))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(1559),n.e(5434),n.e(3150),n.e(8241),n.e(5160),n.e(525),n.e(6931)]).then(n.bind(n,86931))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(1559),n.e(5434),n.e(3150),n.e(8241),n.e(5160),n.e(525),n.e(6112)]).then(n.bind(n,16112))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3379),n.e(5434),n.e(3150),n.e(5755),n.e(4599)]).then(n.bind(n,94599))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3379),n.e(5434),n.e(3150),n.e(5755),n.e(6467)]).then(n.bind(n,76467))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3379),n.e(5434),n.e(3150),n.e(5755),n.e(8784)]).then(n.bind(n,68784))},y),(0,r.getAsyncLifecycle)(function(){return n.e(7026).then(n.bind(n,47026))},y),(0,r.getAsyncLifecycle)(function(){return(e=function(){return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,function(e){switch(e.label){case 0:return[4,n.e(7999).then(n.t.bind(n,97999,23))];case 1:return[2,{default:e.sent().createDashboardLink((t=d({},c),r={moduleName:h},r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))}]}var t,r})},function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)})})();var e},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(5434),n.e(3150),n.e(8241),n.e(7999),n.e(3092),n.e(7565)]).then(n.bind(n,73098))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(5434),n.e(3150),n.e(8241),n.e(7999),n.e(3092),n.e(4733)]).then(n.bind(n,77800))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(5434),n.e(3150),n.e(8241),n.e(7999),n.e(4745)]).then(n.bind(n,34745))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(5434),n.e(3150),n.e(8241),n.e(3431)]).then(n.bind(n,73431))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(7420),n.e(5434),n.e(3150),n.e(8241),n.e(4889)]).then(n.bind(n,74889))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(5434),n.e(3150),n.e(8241),n.e(9712)]).then(n.bind(n,79712))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3689),n.e(5434),n.e(3150),n.e(8241),n.e(3167)]).then(n.bind(n,13167))},y)},84767:(e,t,n)=>{var r={"./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 o(e){if(!n.o(r,e))return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(()=>n(o))}o.keys=()=>Object.keys(r),o.id=84767,e.exports=o},95008:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});var r=n(54440),o=["patientName","identifier","location","serviceType","status","dateTime","provider"],i={allowAllDayAppointments:{_type:r.Type.Boolean,_default:!1,_description:"Whether to allow scheduling of all-day appointments (vs appointments with start time and end time)"},appointmentStatuses:{_type:r.Type.Array,_default:["Requested","Scheduled","CheckedIn","Completed","Cancelled","Missed"],_description:"Configurable appointment status (status of appointments)",_elements:{_type:r.Type.String,_description:"Status of an appointment"}},appointmentTypes:{_type:r.Type.Array,_default:["Scheduled"],_description:"Configurable appointment types (types of appointments)",_elements:{_type:r.Type.String,_description:"Type of an appointment"}},checkInButton:{enabled:{_type:r.Type.Boolean,_default:!0,_description:'Whether the check-in button on the "Appointments" list should be enabled'},showIfActiveVisit:{_type:r.Type.Boolean,_default:!1,_description:"Whether to show the check-in button if the patient currently has an active visit"},customUrl:{_type:r.Type.String,_default:"",_description:"Custom URL to open when clicking the check-in button (instead of thes start visit form)"}},checkOutButton:{enabled:{_type:r.Type.Boolean,_default:!0,_description:'Whether the check-out button on the "Appointments" list should be disabled'},customUrl:{_type:r.Type.String,_default:"",_description:"Custom URL to open when clicking the check-out button"}},customPatientChartUrl:{_type:r.Type.String,_default:"${openmrsSpaBase}/patient/${patientUuid}/chart",_description:"Template URL that will be used when clicking on the patient name in the queues table.\n Available argument: patientUuid, openmrsSpaBase, openBase\n (openmrsSpaBase and openBase are available to any <ConfigurableLink>)",_validators:[r.validators.isUrlWithTemplateParameters(["patientUuid"])]},includePhoneNumberInExcelSpreadsheet:{_type:r.Type.Boolean,_default:!1,_description:"Whether to include phone numbers in the exported Excel spreadsheet"},patientIdentifierType:{_type:r.Type.String,_default:"",_description:"The name of the patient identifier type to be used for the patient identifier field"},showUnscheduledAppointmentsTab:{_type:r.Type.Boolean,_default:!1,_description:"Whether to show the Unscheduled Appointments tab. Note that configuring this to true requires a custom unscheduledAppointment endpoint not currently available"},appointmentsTableColumns:{_type:r.Type.Array,_description:"Columns to display in the appointment table. Available options: "+o.join(", "),_default:["patientName","identifier","location","serviceType","status"],_elements:{_type:r.Type.String,_validators:[r.validators.oneOf(o)]}}}}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.exports}a.m=o,a.c=i,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>i[e]=()=>n[e]);return i.default=()=>n,a.d(o,i),o},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,n)=>(a.f[n](e,t),t),[])),a.u=e=>e+".js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="@openmrs/esm-appointments-app:",a.l=(e,t,o,i)=>{if(n[e])n[e].push(t);else{var s,l;if(void 0!==o)for(var p=document.getElementsByTagName("script"),c=0;c<p.length;c++){var u=p[c];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==r+o){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",r+o),s.src=e),n[e]=[t];var f=(t,r)=>{s.onerror=s.onload=null,clearTimeout(d);var o=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(e=>e(r)),t)return t(r)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{a.S={};var e={},t={};a.I=(n,r)=>{r||(r=[]);var o=t[n];if(o||(o=t[n]={}),!(r.indexOf(o)>=0)){if(r.push(o),e[n])return e[n];a.o(a.S,n)||(a.S[n]={});var i=a.S[n],s="@openmrs/esm-appointments-app",l=(e,t,n,r)=>{var o=i[e]=i[e]||{},a=o[t];(!a||!a.loaded&&(!r!=!a.eager?r:s>a.from))&&(o[t]={get:n,from:s,eager:!!r})},p=[];return"default"===n&&(l("@openmrs/esm-framework","8.0.1-pre.3360",()=>Promise.all([a.e(66),a.e(3689),a.e(3379),a.e(9498),a.e(5670),a.e(5434),a.e(3150),a.e(8241),a.e(1343),a.e(4569),a.e(4230)]).then(()=>()=>a(55670))),l("@openmrs/esm-patient-common-lib","11.3.1-pre.8950",()=>Promise.all([a.e(66),a.e(3689),a.e(3379),a.e(9498),a.e(9208),a.e(5434),a.e(3150),a.e(8241),a.e(1343),a.e(4569),a.e(4230)]).then(()=>()=>a(99208))),l("react-dom","18.3.1",()=>Promise.all([a.e(3144),a.e(1343)]).then(()=>()=>a(43144))),l("react-i18next","11.18.6",()=>Promise.all([a.e(2537),a.e(1343)]).then(()=>()=>a(72537))),l("react-router-dom","6.30.1",()=>Promise.all([a.e(2913),a.e(8241),a.e(1343)]).then(()=>()=>a(52913))),l("react","18.3.1",()=>a.e(4041).then(()=>()=>a(14041))),l("swr/_internal","2.2.5",()=>Promise.all([a.e(2372),a.e(1343)]).then(()=>()=>a(42372))),l("swr/immutable","2.2.5",()=>Promise.all([a.e(5434),a.e(1343),a.e(7495)]).then(()=>()=>a(29876))),l("swr/infinite","2.2.5",()=>Promise.all([a.e(5434),a.e(1343),a.e(89)]).then(()=>()=>a(52470)))),e[n]=p.length?Promise.all(p).then(()=>e[n]=1):1}}})(),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e=e=>{var t=e=>e.split(".").map(e=>+e==e?+e:e),n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),r=n[1]?t(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,t(n[2]))),n[3]&&(r.push([]),r.push.apply(r,t(n[3]))),r},t=e=>{var n=e[0],r="";if(1===e.length)return"*";if(n+.5){r+=0==n?">=":-1==n?"<":1==n?"^":2==n?"~":n>0?"=":"!=";for(var o=1,i=1;i<e.length;i++)o--,r+="u"==(typeof(s=e[i]))[0]?"-":(o>0?".":"")+(o=2,s);return r}var a=[];for(i=1;i<e.length;i++){var s=e[i];a.push(0===s?"not("+l()+")":1===s?"("+l()+" || "+l()+")":2===s?a.pop()+" "+a.pop():t(s))}return l();function l(){return a.pop().replace(/^\((.+)\)$/,"$1")}},n=(t,r)=>{if(0 in t){r=e(r);var o=t[0],i=o<0;i&&(o=-o-1);for(var a=0,s=1,l=!0;;s++,a++){var p,c,u=s<t.length?(typeof t[s])[0]:"";if(a>=r.length||"o"==(c=(typeof(p=r[a]))[0]))return!l||("u"==u?s>o&&!i:""==u!=i);if("u"==c){if(!l||"u"!=u)return!1}else if(l)if(u==c)if(s<=o){if(p!=t[s])return!1}else{if(i?p>t[s]:p<t[s])return!1;p!=t[s]&&(l=!1)}else if("s"!=u&&"n"!=u){if(i||s<=o)return!1;l=!1,s--}else{if(s<=o||c<u!=i)return!1;l=!1}else"s"!=u&&"n"!=u&&(l=!1,s--)}}var f=[],d=f.pop.bind(f);for(a=1;a<t.length;a++){var h=t[a];f.push(1==h?d()|d():2==h?d()&d():h?n(h,r):!d())}return!!d()},r=(t,n,r)=>{var o=r?(e=>Object.keys(e).reduce((t,n)=>(e[n].eager&&(t[n]=e[n]),t),{}))(t[n]):t[n];return Object.keys(o).reduce((t,n)=>!t||!o[t].loaded&&((t,n)=>{t=e(t),n=e(n);for(var r=0;;){if(r>=t.length)return r<n.length&&"u"!=(typeof n[r])[0];var o=t[r],i=(typeof o)[0];if(r>=n.length)return"u"==i;var a=n[r],s=(typeof a)[0];if(i!=s)return"o"==i&&"n"==s||"s"==s||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;r++}})(t,n)?n:t,0)},o=(e,t,n)=>n?n():((e,t)=>(e=>{throw new Error(e)})("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),i=(e=>function(t,n,r,o,i){var s=a.I(t);return s&&s.then&&!r?s.then(e.bind(e,t,a.S[t],n,!1,o,i)):e(t,a.S[t],n,r,o,i)})((e,i,s,l,p,c)=>{if(!((e,t)=>e&&a.o(e,t))(i,s))return o(e,s,c);var u,f,d=r(i,s,l);return n(p,d)||(f=((e,n,r,o)=>"Unsatisfied version "+r+" from "+(r&&e[n][r].from)+" of shared singleton module "+n+" (required "+t(o)+")")(i,s,d,p),"undefined"!=typeof console&&console.warn&&console.warn(f)),(u=i[s][d]).loaded=1,u.get()}),s={},l={54440:()=>i("default","@openmrs/esm-framework",!1,[1,8],()=>Promise.all([a.e(66),a.e(3689),a.e(3379),a.e(9498),a.e(5670),a.e(5434),a.e(3150),a.e(8241),a.e(4569)]).then(()=>()=>a(55670))),1343:()=>i("default","react",!1,[1,18],()=>a.e(4041).then(()=>()=>a(14041))),8877:()=>i("default","react-router-dom",!1,[1,6],()=>Promise.all([a.e(2913),a.e(8241)]).then(()=>()=>a(52913))),55434:()=>i("default","swr/_internal",!1,[1,2],()=>a.e(2372).then(()=>()=>a(42372))),93150:()=>i("default","react-i18next",!1,[1,11],()=>a.e(2537).then(()=>()=>a(72537))),98241:()=>i("default","react-dom",!1,[1,18],()=>a.e(3144).then(()=>()=>a(43144))),97999:()=>i("default","@openmrs/esm-patient-common-lib",!1,[1,11],()=>Promise.all([a.e(66),a.e(3689),a.e(3379),a.e(9498),a.e(9208),a.e(5434),a.e(3150),a.e(8241),a.e(4569)]).then(()=>()=>a(99208))),88010:()=>i("default","swr/immutable",!1,[1,2],()=>a.e(9876).then(()=>()=>a(29876))),98394:()=>i("default","swr/infinite",!1,[1,2],()=>a.e(2470).then(()=>()=>a(52470)))};[54440,1343,8877].forEach(e=>{a.m[e]=t=>{s[e]=0,delete a.c[e];var n=l[e]();if("function"!=typeof n)throw new Error("Shared module is not available for eager consumption: "+e);t.exports=n()}});var p={1343:[1343],3150:[93150],4230:[8877,54440],4569:[88010,98394],5434:[55434],7999:[97999],8241:[98241],8792:[54440,1343,8877]},c={};a.f.consumes=(e,t)=>{a.o(p,e)&&p[e].forEach(e=>{if(a.o(s,e))return t.push(s[e]);if(!c[e]){var n=t=>{s[e]=0,a.m[e]=n=>{delete a.c[e],n.exports=t()}};c[e]=!0;var r=t=>{delete s[e],a.m[e]=n=>{throw delete a.c[e],t}};try{var o=l[e]();o.then?t.push(s[e]=o.then(n).catch(r)):n(o)}catch(e){r(e)}}})}})(),(()=>{var e={1343:0,4230:0,6886:0,8792:0};a.f.j=(t,n)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(/^(1343|3150|4230|4569|5434|7999|8241)$/.test(t))e[t]=0;else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var i=a.p+a.u(t),s=new Error;a.l(i,n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}},"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,s,l]=n,p=0;if(i.some(t=>0!==e[t])){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);l&&l(a)}for(t&&t(n);p<i.length;p++)o=i[p],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),a.nc=void 0,a(76886)})();
@@ -1 +1 @@
1
- var _openmrs_esm_appointments_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,c,d,m,h,v,g,b,y,w,_={43347:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(1343),t.e(4230),t.e(6886)]).then(()=>()=>t(76886))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},P={};function S(e){var r=P[e];if(void 0!==r)return r.exports;var t=P[e]={id:e,exports:{}};return _[e].call(t.exports,t,t.exports,S),t.exports}S.m=_,S.c=P,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,S.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);S.r(o);var a={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(e=>a[e]=()=>t[e]);return a.default=()=>t,S.d(o,a),o},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce((r,t)=>(S.f[t](e,r),r),[])),S.u=e=>e+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@openmrs/esm-appointments-app:",S.l=(e,r,o,a)=>{if(t[e])t[e].push(r);else{var i,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==n+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(c);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),r)return r(n)},c=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var a=S.S[t],i="@openmrs/esm-appointments-app",l=(e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(o[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework","8.0.1-pre.3318",()=>Promise.all([S.e(66),S.e(3689),S.e(5488),S.e(7368),S.e(8316),S.e(5434),S.e(3150),S.e(8241),S.e(1343),S.e(4569),S.e(4230)]).then(()=>()=>S(48316))),l("@openmrs/esm-patient-common-lib","11.3.1-pre.8945",()=>Promise.all([S.e(66),S.e(3689),S.e(5488),S.e(7368),S.e(1064),S.e(5434),S.e(3150),S.e(8241),S.e(1343),S.e(4569),S.e(4230)]).then(()=>()=>S(81064))),l("react-dom","18.3.1",()=>Promise.all([S.e(3144),S.e(1343)]).then(()=>()=>S(43144))),l("react-i18next","11.18.6",()=>Promise.all([S.e(2537),S.e(1343)]).then(()=>()=>S(72537))),l("react-router-dom","6.30.1",()=>Promise.all([S.e(2913),S.e(8241),S.e(1343)]).then(()=>()=>S(52913))),l("react","18.3.1",()=>S.e(4041).then(()=>()=>S(14041))),l("swr/_internal","2.2.5",()=>Promise.all([S.e(2372),S.e(1343)]).then(()=>()=>S(42372))),l("swr/immutable","2.2.5",()=>Promise.all([S.e(5434),S.e(1343),S.e(7495)]).then(()=>()=>S(29876))),l("swr/infinite","2.2.5",()=>Promise.all([S.e(5434),S.e(1343),S.e(89)]).then(()=>()=>S(52470)))),e[t]=s.length?Promise.all(s).then(()=>e[t]=1):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.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(/\/[^\/]+$/,"/"),S.p=e})(),o=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},a=(e,r)=>{e=o(e),r=o(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var n=e[t],a=(typeof n)[0];if(t>=r.length)return"u"==a;var i=r[t],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&n!=i)return n<i;t++}},i=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 n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(l=e[o]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var a=[];for(o=1;o<e.length;o++){var l=e[o];a.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?a.pop()+" "+a.pop():i(l))}return s();function s(){return a.pop().replace(/^\((.+)\)$/,"$1")}},l=(e,r)=>{if(0 in e){r=o(r);var t=e[0],n=t<0;n&&(t=-t-1);for(var a=0,i=1,s=!0;;i++,a++){var u,p,f=i<e.length?(typeof e[i])[0]:"";if(a>=r.length||"o"==(p=(typeof(u=r[a]))[0]))return!s||("u"==f?i>t&&!n:""==f!=n);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(i<=t){if(u!=e[i])return!1}else{if(n?u>e[i]:u<e[i])return!1;u!=e[i]&&(s=!1)}else if("s"!=f&&"n"!=f){if(n||i<=t)return!1;s=!1,i--}else{if(i<=t||p<f!=n)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,i--)}}var c=[],d=c.pop.bind(c);for(a=1;a<e.length;a++){var m=e[a];c.push(1==m?d()|d():2==m?d()&d():m?l(m,r):!d())}return!!d()},s=(e,r)=>e&&S.o(e,r),u=e=>(e.loaded=1,e.get()),p=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),f=(e,r,t)=>{var n=t?p(e[r]):e[r];return Object.keys(n).reduce((e,r)=>!e||!n[e].loaded&&a(e,r)?r:e,0)},c=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",d=e=>{throw new Error(e)},m=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},h=(e,r,t)=>t?t():((e,r)=>d("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),v=(e=>function(r,t,n,o,a){var i=S.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,S.S[r],t,!1,o,a)):e(r,S.S[r],t,n,o,a)})((e,r,t,n,o,a)=>{if(!s(r,t))return h(e,t,a);var i=f(r,t,n);return l(o,i)||m(c(r,t,i,o)),u(r[t][i])}),g={},b={55434:()=>v("default","swr/_internal",!1,[1,2],()=>S.e(2372).then(()=>()=>S(42372))),93150:()=>v("default","react-i18next",!1,[1,11],()=>S.e(2537).then(()=>()=>S(72537))),98241:()=>v("default","react-dom",!1,[1,18],()=>S.e(3144).then(()=>()=>S(43144))),1343:()=>v("default","react",!1,[1,18],()=>S.e(4041).then(()=>()=>S(14041))),88010:()=>v("default","swr/immutable",!1,[1,2],()=>S.e(9876).then(()=>()=>S(29876))),98394:()=>v("default","swr/infinite",!1,[1,2],()=>S.e(2470).then(()=>()=>S(52470))),8877:()=>v("default","react-router-dom",!1,[1,6],()=>Promise.all([S.e(2913),S.e(8241)]).then(()=>()=>S(52913))),54440:()=>v("default","@openmrs/esm-framework",!1,[1,8],()=>Promise.all([S.e(66),S.e(3689),S.e(5488),S.e(7368),S.e(8316),S.e(5434),S.e(3150),S.e(8241),S.e(4569)]).then(()=>()=>S(48316))),97999:()=>v("default","@openmrs/esm-patient-common-lib",!1,[1,11],()=>Promise.all([S.e(66),S.e(3689),S.e(5488),S.e(7368),S.e(1064),S.e(5434),S.e(3150),S.e(8241),S.e(4569)]).then(()=>()=>S(81064)))},y={1343:[1343],3150:[93150],4230:[8877,54440],4569:[88010,98394],5434:[55434],7999:[97999],8241:[98241]},w={},S.f.consumes=(e,r)=>{S.o(y,e)&&y[e].forEach(e=>{if(S.o(g,e))return r.push(g[e]);if(!w[e]){var t=r=>{g[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};w[e]=!0;var n=r=>{delete g[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var o=b[e]();o.then?r.push(g[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}})},(()=>{var e={3468:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1343|3150|4230|4569|5434|7999|8241)$/.test(r))e[r]=0;else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=S.p+S.u(r),i=new Error;S.l(a,t=>{if(S.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,l]=t,s=0;if(a.some(r=>0!==e[r])){for(n in i)S.o(i,n)&&(S.m[n]=i[n]);l&&l(S)}for(r&&r(t);s<a.length;s++)o=a[s],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var j=S(43347);_openmrs_esm_appointments_app=j})();
1
+ var _openmrs_esm_appointments_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,c,d,m,h,v,g,b,y,w,_={43347:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(1343),t.e(4230),t.e(6886)]).then(()=>()=>t(76886))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},P={};function S(e){var r=P[e];if(void 0!==r)return r.exports;var t=P[e]={id:e,exports:{}};return _[e].call(t.exports,t,t.exports,S),t.exports}S.m=_,S.c=P,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,S.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);S.r(o);var a={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(e=>a[e]=()=>t[e]);return a.default=()=>t,S.d(o,a),o},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce((r,t)=>(S.f[t](e,r),r),[])),S.u=e=>e+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@openmrs/esm-appointments-app:",S.l=(e,r,o,a)=>{if(t[e])t[e].push(r);else{var i,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==n+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(c);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),r)return r(n)},c=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var a=S.S[t],i="@openmrs/esm-appointments-app",l=(e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(o[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework","8.0.1-pre.3360",()=>Promise.all([S.e(66),S.e(3689),S.e(3379),S.e(9498),S.e(5670),S.e(5434),S.e(3150),S.e(8241),S.e(1343),S.e(4569),S.e(4230)]).then(()=>()=>S(55670))),l("@openmrs/esm-patient-common-lib","11.3.1-pre.8950",()=>Promise.all([S.e(66),S.e(3689),S.e(3379),S.e(9498),S.e(9208),S.e(5434),S.e(3150),S.e(8241),S.e(1343),S.e(4569),S.e(4230)]).then(()=>()=>S(99208))),l("react-dom","18.3.1",()=>Promise.all([S.e(3144),S.e(1343)]).then(()=>()=>S(43144))),l("react-i18next","11.18.6",()=>Promise.all([S.e(2537),S.e(1343)]).then(()=>()=>S(72537))),l("react-router-dom","6.30.1",()=>Promise.all([S.e(2913),S.e(8241),S.e(1343)]).then(()=>()=>S(52913))),l("react","18.3.1",()=>S.e(4041).then(()=>()=>S(14041))),l("swr/_internal","2.2.5",()=>Promise.all([S.e(2372),S.e(1343)]).then(()=>()=>S(42372))),l("swr/immutable","2.2.5",()=>Promise.all([S.e(5434),S.e(1343),S.e(7495)]).then(()=>()=>S(29876))),l("swr/infinite","2.2.5",()=>Promise.all([S.e(5434),S.e(1343),S.e(89)]).then(()=>()=>S(52470)))),e[t]=s.length?Promise.all(s).then(()=>e[t]=1):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.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(/\/[^\/]+$/,"/"),S.p=e})(),o=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},a=(e,r)=>{e=o(e),r=o(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var n=e[t],a=(typeof n)[0];if(t>=r.length)return"u"==a;var i=r[t],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&n!=i)return n<i;t++}},i=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 n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(l=e[o]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var a=[];for(o=1;o<e.length;o++){var l=e[o];a.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?a.pop()+" "+a.pop():i(l))}return s();function s(){return a.pop().replace(/^\((.+)\)$/,"$1")}},l=(e,r)=>{if(0 in e){r=o(r);var t=e[0],n=t<0;n&&(t=-t-1);for(var a=0,i=1,s=!0;;i++,a++){var u,p,f=i<e.length?(typeof e[i])[0]:"";if(a>=r.length||"o"==(p=(typeof(u=r[a]))[0]))return!s||("u"==f?i>t&&!n:""==f!=n);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(i<=t){if(u!=e[i])return!1}else{if(n?u>e[i]:u<e[i])return!1;u!=e[i]&&(s=!1)}else if("s"!=f&&"n"!=f){if(n||i<=t)return!1;s=!1,i--}else{if(i<=t||p<f!=n)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,i--)}}var c=[],d=c.pop.bind(c);for(a=1;a<e.length;a++){var m=e[a];c.push(1==m?d()|d():2==m?d()&d():m?l(m,r):!d())}return!!d()},s=(e,r)=>e&&S.o(e,r),u=e=>(e.loaded=1,e.get()),p=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),f=(e,r,t)=>{var n=t?p(e[r]):e[r];return Object.keys(n).reduce((e,r)=>!e||!n[e].loaded&&a(e,r)?r:e,0)},c=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",d=e=>{throw new Error(e)},m=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},h=(e,r,t)=>t?t():((e,r)=>d("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),v=(e=>function(r,t,n,o,a){var i=S.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,S.S[r],t,!1,o,a)):e(r,S.S[r],t,n,o,a)})((e,r,t,n,o,a)=>{if(!s(r,t))return h(e,t,a);var i=f(r,t,n);return l(o,i)||m(c(r,t,i,o)),u(r[t][i])}),g={},b={55434:()=>v("default","swr/_internal",!1,[1,2],()=>S.e(2372).then(()=>()=>S(42372))),93150:()=>v("default","react-i18next",!1,[1,11],()=>S.e(2537).then(()=>()=>S(72537))),98241:()=>v("default","react-dom",!1,[1,18],()=>S.e(3144).then(()=>()=>S(43144))),1343:()=>v("default","react",!1,[1,18],()=>S.e(4041).then(()=>()=>S(14041))),88010:()=>v("default","swr/immutable",!1,[1,2],()=>S.e(9876).then(()=>()=>S(29876))),98394:()=>v("default","swr/infinite",!1,[1,2],()=>S.e(2470).then(()=>()=>S(52470))),8877:()=>v("default","react-router-dom",!1,[1,6],()=>Promise.all([S.e(2913),S.e(8241)]).then(()=>()=>S(52913))),54440:()=>v("default","@openmrs/esm-framework",!1,[1,8],()=>Promise.all([S.e(66),S.e(3689),S.e(3379),S.e(9498),S.e(5670),S.e(5434),S.e(3150),S.e(8241),S.e(4569)]).then(()=>()=>S(55670))),97999:()=>v("default","@openmrs/esm-patient-common-lib",!1,[1,11],()=>Promise.all([S.e(66),S.e(3689),S.e(3379),S.e(9498),S.e(9208),S.e(5434),S.e(3150),S.e(8241),S.e(4569)]).then(()=>()=>S(99208)))},y={1343:[1343],3150:[93150],4230:[8877,54440],4569:[88010,98394],5434:[55434],7999:[97999],8241:[98241]},w={},S.f.consumes=(e,r)=>{S.o(y,e)&&y[e].forEach(e=>{if(S.o(g,e))return r.push(g[e]);if(!w[e]){var t=r=>{g[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};w[e]=!0;var n=r=>{delete g[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var o=b[e]();o.then?r.push(g[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}})},(()=>{var e={3468:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1343|3150|4230|4569|5434|7999|8241)$/.test(r))e[r]=0;else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=S.p+S.u(r),i=new Error;S.l(a,t=>{if(S.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,l]=t,s=0;if(a.some(r=>0!==e[r])){for(n in i)S.o(i,n)&&(S.m[n]=i[n]);l&&l(S)}for(r&&r(t);s<a.length;s++)o=a[s],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var j=S(43347);_openmrs_esm_appointments_app=j})();
@@ -24,7 +24,7 @@
24
24
  "auxiliaryFiles": [
25
25
  "66.js.map"
26
26
  ],
27
- "hash": "bb98f6b879300237",
27
+ "hash": "ab59772f7217bc0d",
28
28
  "childrenByOrder": {}
29
29
  },
30
30
  {
@@ -73,7 +73,7 @@
73
73
  "auxiliaryFiles": [
74
74
  "525.js.map"
75
75
  ],
76
- "hash": "eac088744add2e9e",
76
+ "hash": "4ae97a524177a9ac",
77
77
  "childrenByOrder": {}
78
78
  },
79
79
  {
@@ -97,7 +97,7 @@
97
97
  "auxiliaryFiles": [
98
98
  "592.js.map"
99
99
  ],
100
- "hash": "2e3d80fa99d9529b",
100
+ "hash": "a4f7b3f3b5b1b694",
101
101
  "childrenByOrder": {}
102
102
  },
103
103
  {
@@ -165,7 +165,7 @@
165
165
  "auxiliaryFiles": [
166
166
  "849.js.map"
167
167
  ],
168
- "hash": "2bdd57dc1e673866",
168
+ "hash": "a4ce36594ce5a509",
169
169
  "childrenByOrder": {}
170
170
  },
171
171
  {
@@ -212,33 +212,6 @@
212
212
  "hash": "db39883ea2bb611d",
213
213
  "childrenByOrder": {}
214
214
  },
215
- {
216
- "rendered": true,
217
- "initial": false,
218
- "entry": false,
219
- "recorded": false,
220
- "reason": "split chunk (cache group: defaultVendors)",
221
- "size": 1499929,
222
- "sizes": {
223
- "javascript": 1499929
224
- },
225
- "names": [],
226
- "idHints": [
227
- "vendors"
228
- ],
229
- "runtime": [
230
- "@openmrs/esm-appointments-app",
231
- "main"
232
- ],
233
- "files": [
234
- "1064.js"
235
- ],
236
- "auxiliaryFiles": [
237
- "1064.js.map"
238
- ],
239
- "hash": "2db22ac1c754c954",
240
- "childrenByOrder": {}
241
- },
242
215
  {
243
216
  "rendered": true,
244
217
  "initial": false,
@@ -326,7 +299,7 @@
326
299
  "auxiliaryFiles": [
327
300
  "1431.js.map"
328
301
  ],
329
- "hash": "701da87efc1b80d0",
302
+ "hash": "97821f824bde4918",
330
303
  "childrenByOrder": {}
331
304
  },
332
305
  {
@@ -527,7 +500,7 @@
527
500
  "auxiliaryFiles": [
528
501
  "3092.js.map"
529
502
  ],
530
- "hash": "a91e3a0cf1fcfb2c",
503
+ "hash": "10429bb4dd86db7b",
531
504
  "childrenByOrder": {}
532
505
  },
533
506
  {
@@ -597,7 +570,7 @@
597
570
  ],
598
571
  "files": [],
599
572
  "auxiliaryFiles": [],
600
- "hash": "2ec3cbdd71fd204c",
573
+ "hash": "72d8844b1fbc5b4c",
601
574
  "childrenByOrder": {}
602
575
  },
603
576
  {
@@ -621,7 +594,34 @@
621
594
  "auxiliaryFiles": [
622
595
  "3167.js.map"
623
596
  ],
624
- "hash": "0b7929773708ccad",
597
+ "hash": "37e4f57cd0d2ed17",
598
+ "childrenByOrder": {}
599
+ },
600
+ {
601
+ "rendered": true,
602
+ "initial": false,
603
+ "entry": false,
604
+ "recorded": false,
605
+ "reason": "split chunk (cache group: defaultVendors)",
606
+ "size": 83005,
607
+ "sizes": {
608
+ "javascript": 83005
609
+ },
610
+ "names": [],
611
+ "idHints": [
612
+ "vendors"
613
+ ],
614
+ "runtime": [
615
+ "@openmrs/esm-appointments-app",
616
+ "main"
617
+ ],
618
+ "files": [
619
+ "3379.js"
620
+ ],
621
+ "auxiliaryFiles": [
622
+ "3379.js.map"
623
+ ],
624
+ "hash": "510f9d7533d82ac9",
625
625
  "childrenByOrder": {}
626
626
  },
627
627
  {
@@ -645,7 +645,7 @@
645
645
  "auxiliaryFiles": [
646
646
  "3431.js.map"
647
647
  ],
648
- "hash": "23b6b1b0c8181ab3",
648
+ "hash": "1a08fbb697e50c61",
649
649
  "childrenByOrder": {}
650
650
  },
651
651
  {
@@ -672,7 +672,7 @@
672
672
  "auxiliaryFiles": [
673
673
  "openmrs-esm-appointments-app.js.map"
674
674
  ],
675
- "hash": "36a5c9db7d8e1adb",
675
+ "hash": "aab30e89cd11f84d",
676
676
  "childrenByOrder": {}
677
677
  },
678
678
  {
@@ -721,7 +721,7 @@
721
721
  "auxiliaryFiles": [
722
722
  "3689.js.map"
723
723
  ],
724
- "hash": "c52fd37436914e2e",
724
+ "hash": "7f51ecadd48194b6",
725
725
  "childrenByOrder": {}
726
726
  },
727
727
  {
@@ -810,7 +810,7 @@
810
810
  ],
811
811
  "files": [],
812
812
  "auxiliaryFiles": [],
813
- "hash": "ba3bf8013bd9ca55",
813
+ "hash": "55c4d0bfbd0c732a",
814
814
  "childrenByOrder": {}
815
815
  },
816
816
  {
@@ -875,7 +875,7 @@
875
875
  ],
876
876
  "files": [],
877
877
  "auxiliaryFiles": [],
878
- "hash": "6e4c1293a73eb944",
878
+ "hash": "4b84f977163f29d6",
879
879
  "childrenByOrder": {}
880
880
  },
881
881
  {
@@ -899,7 +899,7 @@
899
899
  "auxiliaryFiles": [
900
900
  "4599.js.map"
901
901
  ],
902
- "hash": "bc1b90c3b1f9c31d",
902
+ "hash": "c66064890dd2f180",
903
903
  "childrenByOrder": {}
904
904
  },
905
905
  {
@@ -967,7 +967,7 @@
967
967
  "auxiliaryFiles": [
968
968
  "4733.js.map"
969
969
  ],
970
- "hash": "1eb0c9015c805f13",
970
+ "hash": "c3065677ff4d833d",
971
971
  "childrenByOrder": {}
972
972
  },
973
973
  {
@@ -991,7 +991,7 @@
991
991
  "auxiliaryFiles": [
992
992
  "4745.js.map"
993
993
  ],
994
- "hash": "c89d5fd993aa5dea",
994
+ "hash": "a4c2381e3cc385f1",
995
995
  "childrenByOrder": {}
996
996
  },
997
997
  {
@@ -1042,7 +1042,7 @@
1042
1042
  "auxiliaryFiles": [
1043
1043
  "4889.js.map"
1044
1044
  ],
1045
- "hash": "60a4ba50ed9b47c9",
1045
+ "hash": "69364ece16c99a39",
1046
1046
  "childrenByOrder": {}
1047
1047
  },
1048
1048
  {
@@ -1089,7 +1089,7 @@
1089
1089
  "auxiliaryFiles": [
1090
1090
  "5160.js.map"
1091
1091
  ],
1092
- "hash": "a1bcacb731b58288",
1092
+ "hash": "817293bc3bb4f6fd",
1093
1093
  "childrenByOrder": {}
1094
1094
  },
1095
1095
  {
@@ -1184,26 +1184,21 @@
1184
1184
  "initial": false,
1185
1185
  "entry": false,
1186
1186
  "recorded": false,
1187
- "reason": "split chunk (cache group: defaultVendors)",
1188
- "size": 81007,
1187
+ "size": 5016,
1189
1188
  "sizes": {
1190
- "javascript": 81007
1189
+ "javascript": 5016
1191
1190
  },
1192
1191
  "names": [],
1193
- "idHints": [
1194
- "vendors"
1195
- ],
1192
+ "idHints": [],
1196
1193
  "runtime": [
1197
1194
  "@openmrs/esm-appointments-app",
1198
1195
  "main"
1199
1196
  ],
1200
1197
  "files": [
1201
- "5488.js"
1202
- ],
1203
- "auxiliaryFiles": [
1204
- "5488.js.map"
1198
+ "5661.js"
1205
1199
  ],
1206
- "hash": "4035877885228767",
1200
+ "auxiliaryFiles": [],
1201
+ "hash": "65d4ed41df864c2f",
1207
1202
  "childrenByOrder": {}
1208
1203
  },
1209
1204
  {
@@ -1211,21 +1206,26 @@
1211
1206
  "initial": false,
1212
1207
  "entry": false,
1213
1208
  "recorded": false,
1214
- "size": 5016,
1209
+ "reason": "split chunk (cache group: defaultVendors)",
1210
+ "size": 87093,
1215
1211
  "sizes": {
1216
- "javascript": 5016
1212
+ "javascript": 87093
1217
1213
  },
1218
1214
  "names": [],
1219
- "idHints": [],
1215
+ "idHints": [
1216
+ "vendors"
1217
+ ],
1220
1218
  "runtime": [
1221
1219
  "@openmrs/esm-appointments-app",
1222
1220
  "main"
1223
1221
  ],
1224
1222
  "files": [
1225
- "5661.js"
1223
+ "5670.js"
1226
1224
  ],
1227
- "auxiliaryFiles": [],
1228
- "hash": "65d4ed41df864c2f",
1225
+ "auxiliaryFiles": [
1226
+ "5670.js.map"
1227
+ ],
1228
+ "hash": "37973bf7ddb80683",
1229
1229
  "childrenByOrder": {}
1230
1230
  },
1231
1231
  {
@@ -1234,9 +1234,9 @@
1234
1234
  "entry": false,
1235
1235
  "recorded": false,
1236
1236
  "reason": "split chunk (cache group: default)",
1237
- "size": 80974,
1237
+ "size": 78976,
1238
1238
  "sizes": {
1239
- "javascript": 80974
1239
+ "javascript": 78976
1240
1240
  },
1241
1241
  "names": [],
1242
1242
  "idHints": [],
@@ -1250,7 +1250,7 @@
1250
1250
  "auxiliaryFiles": [
1251
1251
  "5755.js.map"
1252
1252
  ],
1253
- "hash": "a5a2e8e9904c3875",
1253
+ "hash": "2b379d8ddf0b23b8",
1254
1254
  "childrenByOrder": {}
1255
1255
  },
1256
1256
  {
@@ -1296,7 +1296,7 @@
1296
1296
  "auxiliaryFiles": [
1297
1297
  "6112.js.map"
1298
1298
  ],
1299
- "hash": "880e47848d95f0ba",
1299
+ "hash": "89a8fb9bbbf53cfa",
1300
1300
  "childrenByOrder": {}
1301
1301
  },
1302
1302
  {
@@ -1320,7 +1320,7 @@
1320
1320
  "auxiliaryFiles": [
1321
1321
  "6467.js.map"
1322
1322
  ],
1323
- "hash": "9b6be9ae2c96566b",
1323
+ "hash": "b3a3cf17d6de225d",
1324
1324
  "childrenByOrder": {}
1325
1325
  },
1326
1326
  {
@@ -1431,7 +1431,7 @@
1431
1431
  "auxiliaryFiles": [
1432
1432
  "6886.js.map"
1433
1433
  ],
1434
- "hash": "a10e94ad5499f259",
1434
+ "hash": "cc258c4400744779",
1435
1435
  "childrenByOrder": {}
1436
1436
  },
1437
1437
  {
@@ -1479,7 +1479,7 @@
1479
1479
  "auxiliaryFiles": [
1480
1480
  "7026.js.map"
1481
1481
  ],
1482
- "hash": "ec3d1329d892b2f2",
1482
+ "hash": "75b6cfc21b279ca6",
1483
1483
  "childrenByOrder": {}
1484
1484
  },
1485
1485
  {
@@ -1526,33 +1526,6 @@
1526
1526
  "hash": "b24b680bc98b7ebe",
1527
1527
  "childrenByOrder": {}
1528
1528
  },
1529
- {
1530
- "rendered": true,
1531
- "initial": false,
1532
- "entry": false,
1533
- "recorded": false,
1534
- "reason": "split chunk (cache group: defaultVendors)",
1535
- "size": 1045733,
1536
- "sizes": {
1537
- "javascript": 1045733
1538
- },
1539
- "names": [],
1540
- "idHints": [
1541
- "vendors"
1542
- ],
1543
- "runtime": [
1544
- "@openmrs/esm-appointments-app",
1545
- "main"
1546
- ],
1547
- "files": [
1548
- "7368.js"
1549
- ],
1550
- "auxiliaryFiles": [
1551
- "7368.js.map"
1552
- ],
1553
- "hash": "7ea87072e4c6fbae",
1554
- "childrenByOrder": {}
1555
- },
1556
1529
  {
1557
1530
  "rendered": true,
1558
1531
  "initial": false,
@@ -1668,7 +1641,7 @@
1668
1641
  ],
1669
1642
  "files": [],
1670
1643
  "auxiliaryFiles": [],
1671
- "hash": "119e3cf142acd12b",
1644
+ "hash": "75044a2f47a0981d",
1672
1645
  "childrenByOrder": {}
1673
1646
  },
1674
1647
  {
@@ -1714,33 +1687,6 @@
1714
1687
  "hash": "b2b8793975437fd0",
1715
1688
  "childrenByOrder": {}
1716
1689
  },
1717
- {
1718
- "rendered": true,
1719
- "initial": false,
1720
- "entry": false,
1721
- "recorded": false,
1722
- "reason": "split chunk (cache group: defaultVendors)",
1723
- "size": 3033452,
1724
- "sizes": {
1725
- "javascript": 3033452
1726
- },
1727
- "names": [],
1728
- "idHints": [
1729
- "vendors"
1730
- ],
1731
- "runtime": [
1732
- "@openmrs/esm-appointments-app",
1733
- "main"
1734
- ],
1735
- "files": [
1736
- "8316.js"
1737
- ],
1738
- "auxiliaryFiles": [
1739
- "8316.js.map"
1740
- ],
1741
- "hash": "bdba01b439f45223",
1742
- "childrenByOrder": {}
1743
- },
1744
1690
  {
1745
1691
  "rendered": true,
1746
1692
  "initial": false,
@@ -1806,7 +1752,7 @@
1806
1752
  "auxiliaryFiles": [
1807
1753
  "8784.js.map"
1808
1754
  ],
1809
- "hash": "0a846bf64b6b6d59",
1755
+ "hash": "cd171600ca5ea793",
1810
1756
  "childrenByOrder": {}
1811
1757
  },
1812
1758
  {
@@ -1834,7 +1780,34 @@
1834
1780
  "auxiliaryFiles": [
1835
1781
  "main.js.map"
1836
1782
  ],
1837
- "hash": "b55ee3f337c541c0",
1783
+ "hash": "14b23a723cf3a03c",
1784
+ "childrenByOrder": {}
1785
+ },
1786
+ {
1787
+ "rendered": true,
1788
+ "initial": false,
1789
+ "entry": false,
1790
+ "recorded": false,
1791
+ "reason": "split chunk (cache group: defaultVendors)",
1792
+ "size": 248360,
1793
+ "sizes": {
1794
+ "javascript": 248360
1795
+ },
1796
+ "names": [],
1797
+ "idHints": [
1798
+ "vendors"
1799
+ ],
1800
+ "runtime": [
1801
+ "@openmrs/esm-appointments-app",
1802
+ "main"
1803
+ ],
1804
+ "files": [
1805
+ "9208.js"
1806
+ ],
1807
+ "auxiliaryFiles": [
1808
+ "9208.js.map"
1809
+ ],
1810
+ "hash": "4828fa5a7c019584",
1838
1811
  "childrenByOrder": {}
1839
1812
  },
1840
1813
  {
@@ -1859,6 +1832,33 @@
1859
1832
  "hash": "b4c32716f149966b",
1860
1833
  "childrenByOrder": {}
1861
1834
  },
1835
+ {
1836
+ "rendered": true,
1837
+ "initial": false,
1838
+ "entry": false,
1839
+ "recorded": false,
1840
+ "reason": "split chunk (cache group: defaultVendors)",
1841
+ "size": 4185278,
1842
+ "sizes": {
1843
+ "javascript": 4185278
1844
+ },
1845
+ "names": [],
1846
+ "idHints": [
1847
+ "vendors"
1848
+ ],
1849
+ "runtime": [
1850
+ "@openmrs/esm-appointments-app",
1851
+ "main"
1852
+ ],
1853
+ "files": [
1854
+ "9498.js"
1855
+ ],
1856
+ "auxiliaryFiles": [
1857
+ "9498.js.map"
1858
+ ],
1859
+ "hash": "ac00757e6a3bc2d3",
1860
+ "childrenByOrder": {}
1861
+ },
1862
1862
  {
1863
1863
  "rendered": true,
1864
1864
  "initial": false,
@@ -1924,7 +1924,7 @@
1924
1924
  "auxiliaryFiles": [
1925
1925
  "9712.js.map"
1926
1926
  ],
1927
- "hash": "145dacb6a1e2740e",
1927
+ "hash": "c7eda3edc8e570f0",
1928
1928
  "childrenByOrder": {}
1929
1929
  },
1930
1930
  {