@birthsenseai/esm-patient-ai-analysis-app
Version:
AI Analysis integration for OpenMRS patient charts - provides clinical summaries, drug interaction analysis, and patient follow-up messages
1 lines • 21.2 kB
JavaScript
(self.webpackChunk_birthsenseai_esm_patient_ai_analysis_app=self.webpackChunk_birthsenseai_esm_patient_ai_analysis_app||[]).push([[639],{414:function(e,n,t){"use strict";t.d(n,{A:function(){return o}});var r=t(8515);function i(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.A)(i.key),i)}}function o(e,n,t){return n&&i(e.prototype,n),t&&i(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}},2580:function(e,n,t){"use strict";t.d(n,{A:function(){return a}});var r=t(6488),i=t(7985),o=t(5405);function a(e,n){return(0,r.A)(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,o,a,c=[],u=!0,s=!1;try{if(o=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;u=!1}else for(;!(u=(r=o.call(t)).done)&&(c.push(r.value),c.length!==n);u=!0);}catch(e){s=!0,i=e}finally{try{if(!u&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(s)throw i}}return c}}(e,n)||(0,i.A)(e,n)||(0,o.A)()}},4586:function(e,n,t){"use strict";t.d(n,{A:function(){return i}});var r=t(8515);function i(e,n,t){return(n=(0,r.A)(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}},5152:function(e,n,t){"use strict";function r(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}t.d(n,{A:function(){return r}})},5405:function(e,n,t){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(n,{A:function(){return r}})},5639:function(e,n,t){"use strict";function r(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==n.indexOf(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t=o[r],-1===n.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}t.r(n),t.d(n,{I18nContext:function(){return S},I18nextProvider:function(){return ae},Trans:function(){return Y},Translation:function(){return oe},composeInitialProps:function(){return R},date:function(){return fe},getDefaults:function(){return k},getI18n:function(){return C},getInitialProps:function(){return T},initReactI18next:function(){return D},number:function(){return de},plural:function(){return ye},select:function(){return ge},selectOrdinal:function(){return me},setDefaults:function(){return A},setI18n:function(){return I},time:function(){return pe},useSSR:function(){return ce},useTranslation:function(){return X},withSSR:function(){return le},withTranslation:function(){return re}});var i=t(7545),o=t(4586),a=t(1343),c=t(9002),u=t.n(c),s=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function l(e){var n={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},t=e.match(/<\/?([^\s]+?)[/\s>]/);if(t&&(n.name=t[1],(u()[t[1]]||"/"===e.charAt(e.length-2))&&(n.voidElement=!0),n.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var i=new RegExp(s),o=null;null!==(o=i.exec(e));)if(o[0].trim())if(o[1]){var a=o[1].trim(),c=[a,""];a.indexOf("=")>-1&&(c=a.split("=")),n.attrs[c[0]]=c[1],i.lastIndex--}else o[2]&&(n.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return n}var f=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,p=/^\s*$/,d=Object.create(null);function g(e,n){switch(n.type){case"text":return e+n.content;case"tag":return e+="<"+n.name+(n.attrs?function(e){var n=[];for(var t in e)n.push(t+'="'+e[t]+'"');return n.length?" "+n.join(" "):""}(n.attrs):"")+(n.voidElement?"/>":">"),n.voidElement?e:e+n.children.reduce(g,"")+"</"+n.name+">";case"comment":return e+"\x3c!--"+n.comment+"--\x3e"}}var y={parse:function(e,n){n||(n={}),n.components||(n.components=d);var t,r=[],i=[],o=-1,a=!1;if(0!==e.indexOf("<")){var c=e.indexOf("<");r.push({type:"text",content:-1===c?e:e.substring(0,c)})}return e.replace(f,(function(c,u){if(a){if(c!=="</"+t.name+">")return;a=!1}var s,f="/"!==c.charAt(1),d=c.startsWith("\x3c!--"),g=u+c.length,y=e.charAt(g);if(d){var m=l(c);return o<0?(r.push(m),r):((s=i[o]).children.push(m),r)}if(f&&(o++,"tag"===(t=l(c)).type&&n.components[t.name]&&(t.type="component",a=!0),t.voidElement||a||!y||"<"===y||t.children.push({type:"text",content:e.slice(g,e.indexOf("<",g))}),0===o&&r.push(t),(s=i[o-1])&&s.children.push(t),i[o]=t),(!f||t.voidElement)&&(o>-1&&(t.voidElement||t.name===c.slice(2,-1))&&(o--,t=-1===o?r:i[o]),!a&&"<"!==y&&y)){s=-1===o?r:i[o].children;var v=e.indexOf("<",g),h=e.slice(g,-1===v?void 0:v);p.test(h)&&(h=" "),(v>-1&&o+s.length>=0||" "!==h)&&s.push({type:"text",content:h})}})),r},stringify:function(e){return e.reduce((function(e,n){return e+g("",n)}),"")}},m=y,v=t(5152),h=t(414),b=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,O={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},j=function(e){return O[e]};function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?w(Object(t),!0).forEach((function(n){(0,o.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var x,E={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(b,j)}},S=(0,a.createContext)();function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};E=P(P({},E),e)}function k(){return E}var N=function(){function e(){(0,v.A)(this,e),this.usedNamespaces={}}return(0,h.A)(e,[{key:"addUsedNamespaces",value:function(e){var n=this;e.forEach((function(e){n.usedNamespaces[e]||(n.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function I(e){x=e}function C(){return x}var D={type:"3rdParty",init:function(e){A(e.options.react),I(e)}};function R(e){return function(n){return new Promise((function(t){var r=T();e.getInitialProps?e.getInitialProps(n).then((function(e){t(P(P({},e),r))})):t(r)}))}}function T(){var e=C(),n=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],t={},r={};return e.languages.forEach((function(t){r[t]={},n.forEach((function(n){r[t][n]=e.getResourceBundle(t,n)||{}}))})),t.initialI18nStore=r,t.initialLanguage=e.language,t}function L(){if(console&&console.warn){for(var e,n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];"string"==typeof t[0]&&(t[0]="react-i18next:: ".concat(t[0])),(e=console).warn.apply(e,t)}}var _={};function z(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];"string"==typeof n[0]&&_[n[0]]||("string"==typeof n[0]&&(_[n[0]]=new Date),L.apply(void 0,n))}function B(e,n,t){e.loadNamespaces(n,(function(){e.isInitialized?t():e.on("initialized",(function n(){setTimeout((function(){e.off("initialized",n)}),0),t()}))}))}function U(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}var F=["format"],H=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function K(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function V(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?K(Object(t),!0).forEach((function(n){(0,o.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):K(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function W(e,n){if(!e)return!1;var t=e.props?e.props.children:e.children;return n?t.length>0:!!t}function M(e){return e?e.props?e.props.children:e.children:[]}function $(e){return Array.isArray(e)?e:[e]}function q(e,n){if(!e)return"";var t="",o=$(e),c=n.transSupportBasicHtmlNodes&&n.transKeepBasicHtmlNodesFor?n.transKeepBasicHtmlNodesFor:[];return o.forEach((function(e,o){if("string"==typeof e)t+="".concat(e);else if((0,a.isValidElement)(e)){var u=Object.keys(e.props).length,s=c.indexOf(e.type)>-1,l=e.props.children;if(!l&&s&&0===u)t+="<".concat(e.type,"/>");else if(l||s&&0===u)if(e.props.i18nIsDynamicList)t+="<".concat(o,"></").concat(o,">");else if(s&&1===u&&"string"==typeof l)t+="<".concat(e.type,">").concat(l,"</").concat(e.type,">");else{var f=q(l,n);t+="<".concat(o,">").concat(f,"</").concat(o,">")}else t+="<".concat(o,"></").concat(o,">")}else if(null===e)L("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===(0,i.A)(e)){var p=e.format,d=r(e,F),g=Object.keys(d);if(1===g.length){var y=p?"".concat(g[0],", ").concat(p):g[0];t+="{{".concat(y,"}}")}else L("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else L("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),t}function Y(e){var n=e.children,t=e.count,o=e.parent,c=e.i18nKey,u=e.context,s=e.tOptions,l=void 0===s?{}:s,f=e.values,p=e.defaults,d=e.components,g=e.ns,y=e.i18n,v=e.t,h=e.shouldUnescape,b=r(e,H),O=(0,a.useContext)(S)||{},j=O.i18n,w=O.defaultNS,P=y||j||C();if(!P)return z("You will need to pass in an i18next instance by using i18nextReactModule"),n;var x=v||P.t.bind(P)||function(e){return e};u&&(l.context=u);var E=V(V({},k()),P.options&&P.options.react),A=g||x.ns||w||P.options&&P.options.defaultNS;A="string"==typeof A?[A]:A||["translation"];var N=p||q(n,E)||E.transEmptyNodeValue||c,I=E.hashTransKey,D=c||(I?I(N):N),R=f?l.interpolation:{interpolation:V(V({},l.interpolation),{},{prefix:"#$?",suffix:"?$#"})},T=V(V(V(V({},l),{},{count:t},f),R),{},{defaultValue:N,ns:A}),L=function(e,n,t,r,o,c){if(""===n)return[];var u=r.transKeepBasicHtmlNodesFor||[],s=n&&new RegExp(u.join("|")).test(n);if(!e&&!s)return[n];var l={};!function e(n){$(n).forEach((function(n){"string"!=typeof n&&(W(n)?e(M(n)):"object"!==(0,i.A)(n)||(0,a.isValidElement)(n)||Object.assign(l,n))}))}(e);var f=m.parse("<0>".concat(n,"</0>")),p=V(V({},l),o);function d(e,n,t){var r=M(e),i=y(r,n.children,t);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((function(e){return(0,a.isValidElement)(e)}))}(r)&&0===i.length?r:i}function g(e,n,t,r,i){e.dummy&&(e.children=n),t.push((0,a.cloneElement)(e,V(V({},e.props),{},{key:r}),i?void 0:n))}function y(n,o,l){var f=$(n);return $(o).reduce((function(n,o,m){var v,h,b,O=o.children&&o.children[0]&&o.children[0].content&&t.services.interpolator.interpolate(o.children[0].content,p,t.language);if("tag"===o.type){var j=f[parseInt(o.name,10)];!j&&1===l.length&&l[0][o.name]&&(j=l[0][o.name]),j||(j={});var w=0!==Object.keys(o.attrs).length?(v={props:o.attrs},(b=V({},h=j)).props=Object.assign(v.props,h.props),b):j,P=(0,a.isValidElement)(w),x=P&&W(o,!0)&&!o.voidElement,E=s&&"object"===(0,i.A)(w)&&w.dummy&&!P,S="object"===(0,i.A)(e)&&null!==e&&Object.hasOwnProperty.call(e,o.name);if("string"==typeof w){var A=t.services.interpolator.interpolate(w,p,t.language);n.push(A)}else if(W(w)||x)g(w,d(w,o,l),n,m);else if(E){var k=y(f,o.children,l);n.push((0,a.cloneElement)(w,V(V({},w.props),{},{key:m}),k))}else if(Number.isNaN(parseFloat(o.name)))if(S)g(w,d(w,o,l),n,m,o.voidElement);else if(r.transSupportBasicHtmlNodes&&u.indexOf(o.name)>-1)if(o.voidElement)n.push((0,a.createElement)(o.name,{key:"".concat(o.name,"-").concat(m)}));else{var N=y(f,o.children,l);n.push((0,a.createElement)(o.name,{key:"".concat(o.name,"-").concat(m)},N))}else if(o.voidElement)n.push("<".concat(o.name," />"));else{var I=y(f,o.children,l);n.push("<".concat(o.name,">").concat(I,"</").concat(o.name,">"))}else if("object"!==(0,i.A)(w)||P)1===o.children.length&&O?n.push((0,a.cloneElement)(w,V(V({},w.props),{},{key:m}),O)):n.push((0,a.cloneElement)(w,V(V({},w.props),{},{key:m})));else{var C=o.children[0]?O:null;C&&n.push(C)}}else if("text"===o.type){var D=r.transWrapTextNodes,R=c?r.unescape(t.services.interpolator.interpolate(o.content,p,t.language)):t.services.interpolator.interpolate(o.content,p,t.language);D?n.push((0,a.createElement)(D,{key:"".concat(o.name,"-").concat(m)},R)):n.push(R)}return n}),[])}return M(y([{dummy:!0,children:e||[]}],f,$(e||[]))[0])}(d||n,D?x(D,T):N,P,E,T,h),_=void 0!==o?o:E.defaultTransParent;return _?(0,a.createElement)(_,b,L):L}var J=t(2580);function Z(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function G(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Z(Object(t),!0).forEach((function(n){(0,o.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Z(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Q=function(e,n){var t=(0,a.useRef)();return(0,a.useEffect)((function(){t.current=n?t.current:e}),[e,n]),t.current};function X(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.i18n,r=(0,a.useContext)(S)||{},i=r.i18n,o=r.defaultNS,c=t||i||C();if(c&&!c.reportNamespaces&&(c.reportNamespaces=new N),!c){z("You will need to pass in an i18next instance by using initReactI18next");var u=function(e){return Array.isArray(e)?e[e.length-1]:e},s=[u,{},!1];return s.t=u,s.i18n={},s.ready=!1,s}c.options.react&&void 0!==c.options.react.wait&&z("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var l=G(G(G({},k()),c.options.react),n),f=l.useSuspense,p=l.keyPrefix,d=e||o||c.options&&c.options.defaultNS;d="string"==typeof d?[d]:d||["translation"],c.reportNamespaces.addUsedNamespaces&&c.reportNamespaces.addUsedNamespaces(d);var g=(c.isInitialized||c.initializedStoreOnce)&&d.every((function(e){return function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.languages&&n.languages.length?void 0!==n.options.ignoreJSONStructure?n.hasLoadedNamespace(e,{precheck:function(n,r){if(t.bindI18n&&t.bindI18n.indexOf("languageChanging")>-1&&n.services.backendConnector.backend&&n.isLanguageChangingTo&&!r(n.isLanguageChangingTo,e))return!1}}):function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.languages[0],i=!!n.options&&n.options.fallbackLng,o=n.languages[n.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,t){var r=n.services.backendConnector.state["".concat(e,"|").concat(t)];return-1===r||2===r};return!(t.bindI18n&&t.bindI18n.indexOf("languageChanging")>-1&&n.services.backendConnector.backend&&n.isLanguageChangingTo&&!a(n.isLanguageChangingTo,e)||!n.hasResourceBundle(r,e)&&n.services.backendConnector.backend&&(!n.options.resources||n.options.partialBundledLanguages)&&(!a(r,e)||i&&!a(o,e)))}(e,n,t):(z("i18n.languages were undefined or empty",n.languages),!0)}(e,c,l)}));function y(){return c.getFixedT(null,"fallback"===l.nsMode?d:d[0],p)}var m=(0,a.useState)(y),v=(0,J.A)(m,2),h=v[0],b=v[1],O=d.join(),j=Q(O),w=(0,a.useRef)(!0);(0,a.useEffect)((function(){var e=l.bindI18n,n=l.bindI18nStore;function t(){w.current&&b(y)}return w.current=!0,g||f||B(c,d,(function(){w.current&&b(y)})),g&&j&&j!==O&&w.current&&b(y),e&&c&&c.on(e,t),n&&c&&c.store.on(n,t),function(){w.current=!1,e&&c&&e.split(" ").forEach((function(e){return c.off(e,t)})),n&&c&&n.split(" ").forEach((function(e){return c.store.off(e,t)}))}}),[c,O]);var P=(0,a.useRef)(!0);(0,a.useEffect)((function(){w.current&&!P.current&&b(y),P.current=!1}),[c,p]);var x=[h,c,g];if(x.t=h,x.i18n=c,x.ready=g,g)return x;if(!g&&!f)return x;throw new Promise((function(e){B(c,d,(function(){e()}))}))}var ee=["forwardedRef"];function ne(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function te(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ne(Object(t),!0).forEach((function(n){(0,o.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ne(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function re(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t){function i(i){var o=i.forwardedRef,c=r(i,ee),u=X(e,te(te({},c),{},{keyPrefix:n.keyPrefix})),s=(0,J.A)(u,3),l=s[0],f=s[1],p=s[2],d=te(te({},c),{},{t:l,i18n:f,tReady:p});return n.withRef&&o?d.ref=o:!n.withRef&&o&&(d.forwardedRef=o),(0,a.createElement)(t,d)}return i.displayName="withI18nextTranslation(".concat(U(t),")"),i.WrappedComponent=t,n.withRef?(0,a.forwardRef)((function(e,n){return(0,a.createElement)(i,Object.assign({},e,{forwardedRef:n}))})):i}}var ie=["ns","children"];function oe(e){var n=e.ns,t=e.children,i=X(n,r(e,ie)),o=(0,J.A)(i,3),a=o[0],c=o[1],u=o[2];return t(a,{i18n:c,lng:c.language},u)}function ae(e){var n=e.i18n,t=e.defaultNS,r=e.children,i=(0,a.useMemo)((function(){return{i18n:n,defaultNS:t}}),[n,t]);return(0,a.createElement)(S.Provider,{value:i},r)}function ce(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).i18n,r=((0,a.useContext)(S)||{}).i18n,i=t||r||C();i.options&&i.options.isClone||(e&&!i.initializedStoreOnce&&(i.services.resourceStore.data=e,i.options.ns=Object.values(e).reduce((function(e,n){return Object.keys(n).forEach((function(n){e.indexOf(n)<0&&e.push(n)})),e}),i.options.ns),i.initializedStoreOnce=!0,i.isInitialized=!0),n&&!i.initializedLanguageOnce&&(i.changeLanguage(n),i.initializedLanguageOnce=!0))}var ue=["initialI18nStore","initialLanguage"];function se(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function le(){return function(e){function n(n){var t=n.initialI18nStore,i=n.initialLanguage,c=r(n,ue);return ce(t,i),(0,a.createElement)(e,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?se(Object(t),!0).forEach((function(n){(0,o.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):se(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({},c))}return n.getInitialProps=R(e),n.displayName="withI18nextSSR(".concat(U(e),")"),n.WrappedComponent=e,n}}var fe=function(){return""},pe=function(){return""},de=function(){return""},ge=function(){return""},ye=function(){return""},me=function(){return""}},6284:function(e,n,t){"use strict";function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}t.d(n,{A:function(){return r}})},6488:function(e,n,t){"use strict";function r(e){if(Array.isArray(e))return e}t.d(n,{A:function(){return r}})},7545:function(e,n,t){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.d(n,{A:function(){return r}})},7985:function(e,n,t){"use strict";t.d(n,{A:function(){return i}});var r=t(6284);function i(e,n){if(e){if("string"==typeof e)return(0,r.A)(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?(0,r.A)(e,n):void 0}}},8515:function(e,n,t){"use strict";t.d(n,{A:function(){return i}});var r=t(7545);function i(e){var n=function(e){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=(0,r.A)(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(n)?n:n+""}},9002:function(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}}}]);