UNPKG

@epcare/esm-referal-laboratory-app

Version:
1 lines 42.3 kB
(globalThis.webpackChunk_epcare_esm_referal_laboratory_app=globalThis.webpackChunk_epcare_esm_referal_laboratory_app||[]).push([[83],{7083:(e,n,t)=>{"use strict";t.r(n),t.d(n,{I18nContext:()=>oe,I18nextProvider:()=>Ke,IcuTrans:()=>Pe,IcuTransWithoutContext:()=>Ee,Trans:()=>ce,TransWithoutContext:()=>J,Translation:()=>Ve,composeInitialProps:()=>ie,date:()=>$e,getDefaults:()=>D,getI18n:()=>L,getInitialProps:()=>ue,initReactI18next:()=>Q,number:()=>Be,plural:()=>He,select:()=>We,selectOrdinal:()=>Ze,setDefaults:()=>R,setI18n:()=>U,time:()=>qe,useSSR:()=>Me,useTranslation:()=>Te,withSSR:()=>Fe,withTranslation:()=>Ue});var r=t(318),o=t(9892),a=t(9151),i=t.n(a),u=/\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],(i()[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 o=new RegExp(u),a=null;null!==(a=o.exec(e));)if(a[0].trim())if(a[1]){var l=a[1].trim(),c=[l,""];l.indexOf("=")>-1&&(c=l.split("=")),n.attrs[c[0]]=c[1],o.lastIndex--}else a[2]&&(n.attrs[a[2]]=a[3].trim().substring(1,a[3].length-1));return n}var c=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,s=/^\s*$/,f=Object.create(null);function p(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(p,"")+"</"+n.name+">";case"comment":return e+"\x3c!--"+n.comment+"--\x3e"}}var d={parse:function(e,n){n||(n={}),n.components||(n.components=f);var t,r=[],o=[],a=-1,i=!1;if(0!==e.indexOf("<")){var u=e.indexOf("<");r.push({type:"text",content:-1===u?e:e.substring(0,u)})}return e.replace(c,function(u,c){if(i){if(u!=="</"+t.name+">")return;i=!1}var f,p="/"!==u.charAt(1),d=u.startsWith("\x3c!--"),y=c+u.length,v=e.charAt(y);if(d){var b=l(u);return a<0?(r.push(b),r):((f=o[a]).children.push(b),r)}if(p&&(a++,"tag"===(t=l(u)).type&&n.components[t.name]&&(t.type="component",i=!0),t.voidElement||i||!v||"<"===v||t.children.push({type:"text",content:e.slice(y,e.indexOf("<",y))}),0===a&&r.push(t),(f=o[a-1])&&f.children.push(t),o[a]=t),(!p||t.voidElement)&&(a>-1&&(t.voidElement||t.name===u.slice(2,-1))&&(a--,t=-1===a?r:o[a]),!i&&"<"!==v&&v)){f=-1===a?r:o[a].children;var g=e.indexOf("<",y),m=e.slice(y,-1===g?void 0:g);s.test(m)&&(m=" "),(g>-1&&a+f.length>=0||" "!==m)&&f.push({type:"text",content:m})}}),r},stringify:function(e){return e.reduce(function(e,n){return e+p("",n)},"")}};const y=d;function v(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function b(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function g(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){b(e,n,t[n])})}return e}function m(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return v(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?v(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var h=function(e,n,t,r){var o,a,i,u,l,c,s=[t,g({code:n},r||{})];if(null==e||null===(a=e.services)||void 0===a||null===(o=a.logger)||void 0===o?void 0:o.forward)return e.services.logger.forward(s,"warn","react-i18next::",!0);if(x(s[0])&&(s[0]="react-i18next:: ".concat(s[0])),null==e||null===(u=e.services)||void 0===u||null===(i=u.logger)||void 0===i?void 0:i.warn)(c=e.services.logger).warn.apply(c,m(s));else if(null===(l=console)||void 0===l?void 0:l.warn){var f;(f=console).warn.apply(f,m(s))}},O={},w=function(e,n,t,r){x(t)&&O[t]||(x(t)&&(O[t]=new Date),h(e,n,t,r))},j=function(e,n){return function(){if(e.isInitialized)n();else{var t=function(){setTimeout(function(){e.off("initialized",t)},0),n()};e.on("initialized",t)}}},S=function(e,n,t){e.loadNamespaces(n,j(e,t))},E=function(e,n,t,r){if(x(t)&&(t=[t]),e.options.preload&&e.options.preload.indexOf(n)>-1)return S(e,t,r);t.forEach(function(n){e.options.ns.indexOf(n)<0&&e.options.ns.push(n)}),e.loadLanguages(n,j(e,r))},P=function(e){return e.displayName||e.name||(x(e)&&e.length>0?e:"Unknown")},x=function(e){return"string"==typeof e},A=function(e){return"object"===(void 0===e?"undefined":function(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}(e))&&null!==e},I=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,N={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},k=function(e){return N[e]};function T(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var _,C={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(I,k)}},R=function(){C=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){T(e,n,t[n])})}return e}({},C,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},D=function(){return C},U=function(e){_=e},L=function(){return _};function V(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function K(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function M(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){K(e,n,t[n])})}return e}function z(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}function F(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function $(e){return function(e){if(Array.isArray(e))return V(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return V(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?V(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var q=function(e,n){var t,r;if(!e)return!1;var o=null!==(r=null===(t=e.props)||void 0===t?void 0:t.children)&&void 0!==r?r:e.children;return n?o.length>0:!!o},B=function(e){var n,t,r;if(!e)return[];var o=null!==(r=null===(n=e.props)||void 0===n?void 0:n.children)&&void 0!==r?r:e.children;return(null===(t=e.props)||void 0===t?void 0:t.i18nIsDynamicList)?W(o):o},W=function(e){return Array.isArray(e)?e:[e]},H=function(e,n,t,o){if(!e)return"";var a,i="",u=W(e),l=(null==n?void 0:n.transSupportBasicHtmlNodes)&&null!==(a=n.transKeepBasicHtmlNodesFor)&&void 0!==a?a:[];return u.forEach(function(e,a){if(x(e))i+="".concat(e);else if((0,r.isValidElement)(e)){var u=e.props,c=e.type,s=Object.keys(u).length,f=l.indexOf(c)>-1,p=u.children;if(!p&&f&&!s)return void(i+="<".concat(c,"/>"));if(!p&&(!f||s)||u.i18nIsDynamicList)return void(i+="<".concat(a,"></").concat(a,">"));if(f&&1===s&&x(p))return void(i+="<".concat(c,">").concat(p,"</").concat(c,">"));var d=H(p,n,t,o);i+="<".concat(a,">").concat(d,"</").concat(a,">")}else if(null!==e)if(A(e)){var y=e.format,v=F(e,["format"]),b=Object.keys(v);if(1===b.length){var g=y?"".concat(b[0],", ").concat(y):b[0];return void(i+="{{".concat(g,"}}"))}h(t,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:o,child:e})}else h(t,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:o,child:e});else h(t,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:o})}),i},Z=function(e,n,t,o,a,i,u){if(""===t)return[];var l=a.transKeepBasicHtmlNodesFor||[],c=t&&new RegExp(l.map(function(e){return"<".concat(e)}).join("|")).test(t);if(!(e||n||c||u))return[t];var s=null!=n?n:{},f=function(e){W(e).forEach(function(e){x(e)||(q(e)?f(B(e)):A(e)&&!(0,r.isValidElement)(e)&&Object.assign(s,e))})};f(e);var p=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e)return e;for(var r=Object.keys(t),o=$(n).concat($(r)),a="",i=0;i<e.length;)if("<"===e[i]){var u=!1,l=e.slice(i).match(/^<\/(\d+|[a-zA-Z][a-zA-Z0-9-]*)>/);if(l){var c=l[1];(/^\d+$/.test(c)||o.includes(c))&&(u=!0,a+=l[0],i+=l[0].length)}if(!u){var s=e.slice(i).match(/^<(\d+|[a-zA-Z][a-zA-Z0-9-]*)(\s+[\w-]+(?:=(?:"[^"]*"|'[^']*'|[^\s>]+))?)*\s*(\/)?>/);if(s){var f=s[1];(/^\d+$/.test(f)||o.includes(f))&&(u=!0,a+=s[0],i+=s[0].length)}}u||(a+="&lt;",i+=1)}else a+=e[i],i+=1;return a}(t,l,s),d=y.parse("<0>".concat(p,"</0>")),v=M({},s,i),b=function(e,n,t){var o,a=B(e),i=m(a,n.children,t);return function(e){return Array.isArray(e)&&e.every(r.isValidElement)}(a)&&0===i.length||(null===(o=e.props)||void 0===o?void 0:o.i18nIsDynamicList)?a:i},g=function(e,n,t,o,a){var i;e.dummy?(e.children=n,t.push((0,r.cloneElement)(e,{key:o},a?void 0:n))):(i=t).push.apply(i,$(r.Children.map([e],function(e){var t,i=M({},e.props);return delete i.i18nIsDynamicList,(0,r.createElement)(e.type,z(M({},i),{key:o,ref:null!==(t=e.props.ref)&&void 0!==t?t:e.ref}),a?null:n)})))},m=function(e,t,i){var s=W(e);return W(t).reduce(function(e,t,f){var p,d,y,h,O,w=(null===(d=t.children)||void 0===d||null===(p=d[0])||void 0===p?void 0:p.content)&&o.services.interpolator.interpolate(t.children[0].content,v,o.language);if("tag"===t.type){var j=s[parseInt(t.name,10)];!j&&n&&(j=n[t.name]),1!==i.length||j||(j=i[0][t.name]),j||(j={});var S=0!==Object.keys(t.attrs).length?(y={props:t.attrs},(O=M({},h=j)).props=Object.assign(y.props,h.props),O):j,E=(0,r.isValidElement)(S),P=E&&q(t,!0)&&!t.voidElement,I=c&&A(S)&&S.dummy&&!E,N=A(n)&&Object.hasOwnProperty.call(n,t.name);if(x(S)){var k=o.services.interpolator.interpolate(S,v,o.language);e.push(k)}else if(q(S)||P){var T=b(S,t,i);g(S,T,e,f)}else if(I){var _=m(s,t.children,i);g(S,_,e,f)}else if(Number.isNaN(parseFloat(t.name)))if(N){var C=b(S,t,i);g(S,C,e,f,t.voidElement)}else if(a.transSupportBasicHtmlNodes&&l.indexOf(t.name)>-1)if(t.voidElement)e.push((0,r.createElement)(t.name,{key:"".concat(t.name,"-").concat(f)}));else{var R=m(s,t.children,i);e.push((0,r.createElement)(t.name,{key:"".concat(t.name,"-").concat(f)},R))}else if(t.voidElement)e.push("<".concat(t.name," />"));else{var D=m(s,t.children,i);e.push("<".concat(t.name,">").concat(D,"</").concat(t.name,">"))}else if(A(S)&&!E){var U=t.children[0]?w:null;U&&e.push(U)}else g(S,w,e,f,1!==t.children.length||!w)}else if("text"===t.type){var L=a.transWrapTextNodes,V=u?a.unescape(o.services.interpolator.interpolate(t.content,v,o.language)):o.services.interpolator.interpolate(t.content,v,o.language);L?e.push((0,r.createElement)(L,{key:"".concat(t.name,"-").concat(f)},V)):e.push(V)}return e},[])},h=m([{dummy:!0,children:e||[]}],d,W(e||[]));return B(h[0])},Y=function(e,n,t){var o=e.key||n,a=(0,r.cloneElement)(e,{key:o});return!a.props||!a.props.children||t.indexOf("".concat(n,"/>"))<0&&t.indexOf("".concat(n," />"))<0?a:(0,r.createElement)(function(){return(0,r.createElement)(r.Fragment,null,a)},{key:o})},G=function(e,n,t,r){return e?Array.isArray(e)?function(e,n){return e.map(function(e,t){return Y(e,t,n)})}(e,n):A(e)?function(e,n){var t={};return Object.keys(e).forEach(function(r){Object.assign(t,K({},r,Y(e[r],r,n)))}),t}(e,n):(w(t,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:r}),null):null},X=function(e){return!!A(e)&&!Array.isArray(e)&&Object.keys(e).reduce(function(e,n){return e&&Number.isNaN(Number.parseFloat(n))},!0)};function J(e){var n,t,a,i,u,l,c=e.children,s=e.count,f=e.parent,p=e.i18nKey,d=e.context,y=e.tOptions,v=void 0===y?{}:y,b=e.values,g=e.defaults,m=e.components,h=e.ns,O=e.i18n,j=e.t,S=e.shouldUnescape,E=F(e,["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"]),P=O||L();if(!P)return w(P,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:p}),c;var A=j||P.t.bind(P)||function(e){return e},I=M({},D(),null===(n=P.options)||void 0===n?void 0:n.react),N=h||A.ns||(null===(t=P.options)||void 0===t?void 0:t.defaultNS);N=x(N)?[N]:N||["translation"];var k=H(c,I,P,p),T=g||(null==v?void 0:v.defaultValue)||k||I.transEmptyNodeValue||("function"==typeof p?(0,o.Rm)(p):p),_=I.hashTransKey,C=p||(_?_(k||T):k||T);(null===(i=P.options)||void 0===i||null===(a=i.interpolation)||void 0===a?void 0:a.defaultVariables)&&(b=b&&Object.keys(b).length>0?M({},b,P.options.interpolation.defaultVariables):M({},P.options.interpolation.defaultVariables));var R=b||void 0!==s&&!(null===(l=P.options)||void 0===l||null===(u=l.interpolation)||void 0===u?void 0:u.alwaysFormat)||!c?v.interpolation:{interpolation:z(M({},v.interpolation),{prefix:"#$?",suffix:"?$#"})},U=z(M(z(M({},v),{context:d||v.context,count:s}),b,R),{defaultValue:T,ns:N}),V=C?A(C,U):T;V===C&&T&&(V=T);var K=G(m,V,P,p),$=K||c,q=null;X(K)&&(q=K,$=c);var B=Z($,q,V,P,I,U,S),W=null!=f?f:I.defaultTransParent;return W?(0,r.createElement)(W,E,B):B}var Q={type:"3rdParty",init:function(e){R(e.options.react),U(e)}};function ee(e,n,t,r,o,a,i){try{var u=e[a](i),l=u.value}catch(e){return void t(e)}u.done?n(l):Promise.resolve(l).then(r,o)}function ne(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function te(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function re(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){te(e,n,t[n])})}return e}var oe=(0,r.createContext)(),ae=function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.usedNamespaces={}}var n,t;return n=e,(t=[{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)}}])&&ne(n.prototype,t),e}(),ie=function(e){return function(n){return(t=function(){var t,r,o,a;return function(e,n){var t,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=u(0),i.throw=u(1),i.return=u(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(l){return function(u){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(t=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=n.call(e,a)}catch(e){u=[6,e],r=0}finally{t=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,l])}}}(this,function(i){switch(i.label){case 0:return[4,null===(t=e.getInitialProps)||void 0===t?void 0:t.call(e,n)];case 1:return o=null!==(r=i.sent())&&void 0!==r?r:{},a=ue(),[2,re({},o,a)]}})},function(){var e=this,n=arguments;return new Promise(function(r,o){var a=t.apply(e,n);function i(e){ee(a,r,o,i,u,"next",e)}function u(e){ee(a,r,o,i,u,"throw",e)}i(void 0)})})();var t}},ue=function(){var e,n,t=L(),r=null!==(n=null===(e=t.reportNamespaces)||void 0===e?void 0:e.getUsedNamespaces())&&void 0!==n?n:[],o={},a={};return t.languages.forEach(function(e){a[e]={},r.forEach(function(n){a[e][n]=t.getResourceBundle(e,n)||{}})}),o.initialI18nStore=a,o.initialLanguage=t.language,o};function le(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function ce(e){var n,t=e.children,o=e.count,a=e.parent,i=e.i18nKey,u=e.context,l=e.tOptions,c=void 0===l?{}:l,s=e.values,f=e.defaults,p=e.components,d=e.ns,y=e.i18n,v=e.t,b=e.shouldUnescape,g=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"]),m=(0,r.useContext)(oe)||{},h=m.i18n,O=m.defaultNS,w=y||h||L(),j=v||(null==w?void 0:w.t.bind(w));return J(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){le(e,n,t[n])})}return e}({children:t,count:o,parent:a,i18nKey:i,context:u,tOptions:c,values:s,defaults:f,components:p,ns:d||(null==j?void 0:j.ns)||O||(null==w||null===(n=w.options)||void 0===n?void 0:n.defaultNS),i18n:w,t:v,shouldUnescape:b},g))}function se(e,n,t){return se=ye()?Reflect.construct:function(e,n,t){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(e,r));return t&&pe(o,t.prototype),o},se.apply(null,arguments)}function fe(e){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},fe(e)}function pe(e,n){return pe=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},pe(e,n)}function de(e){var n="function"==typeof Map?new Map:void 0;return de=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,r)}function r(){return se(e,arguments,fe(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),pe(r,e)},de(e)}function ye(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ye=function(){return!!e})()}var ve=function(e){function n(e,t,r){var o;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),(o=function(e,n,t){return n=fe(n),r=e,!(o=ye()?Reflect.construct(n,t||[],fe(e).constructor):n.apply(e,t))||"object"!=((a=o)&&"undefined"!=typeof Symbol&&a.constructor===Symbol?"symbol":typeof a)&&"function"!=typeof o?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r):o;var r,o,a}(this,n,[e])).name="TranslationParserError",o.position=t,o.translationString=r,Error.captureStackTrace&&Error.captureStackTrace(o,n),o}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&pe(e,n)}(n,e),n}(de(Error)),be={"&nbsp;":" ","&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&copy;":"©","&reg;":"®","&trade;":"™","&hellip;":"…","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&bull;":"•","&prime;":"′","&Prime;":"″","&lsaquo;":"‹","&rsaquo;":"›","&sect;":"§","&para;":"¶","&middot;":"·","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&euro;":"€","&pound;":"£","&yen;":"¥","&cent;":"¢","&curren;":"¤","&times;":"×","&divide;":"÷","&minus;":"−","&plusmn;":"±","&ne;":"≠","&le;":"≤","&ge;":"≥","&asymp;":"≈","&equiv;":"≡","&infin;":"∞","&int;":"∫","&sum;":"∑","&prod;":"∏","&radic;":"√","&part;":"∂","&permil;":"‰","&deg;":"°","&micro;":"µ","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&Agrave;":"À","&Aacute;":"Á","&Acirc;":"Â","&Atilde;":"Ã","&Auml;":"Ä","&Aring;":"Å","&AElig;":"Æ","&Ccedil;":"Ç","&Egrave;":"È","&Eacute;":"É","&Ecirc;":"Ê","&Euml;":"Ë","&Igrave;":"Ì","&Iacute;":"Í","&Icirc;":"Î","&Iuml;":"Ï","&ETH;":"Ð","&Ntilde;":"Ñ","&Ograve;":"Ò","&Oacute;":"Ó","&Ocirc;":"Ô","&Otilde;":"Õ","&Ouml;":"Ö","&Oslash;":"Ø","&Ugrave;":"Ù","&Uacute;":"Ú","&Ucirc;":"Û","&Uuml;":"Ü","&Yacute;":"Ý","&THORN;":"Þ","&szlig;":"ß","&agrave;":"à","&aacute;":"á","&acirc;":"â","&atilde;":"ã","&auml;":"ä","&aring;":"å","&aelig;":"æ","&ccedil;":"ç","&egrave;":"è","&eacute;":"é","&ecirc;":"ê","&euml;":"ë","&igrave;":"ì","&iacute;":"í","&icirc;":"î","&iuml;":"ï","&eth;":"ð","&ntilde;":"ñ","&ograve;":"ò","&oacute;":"ó","&ocirc;":"ô","&otilde;":"õ","&ouml;":"ö","&oslash;":"ø","&ugrave;":"ù","&uacute;":"ú","&ucirc;":"û","&uuml;":"ü","&yacute;":"ý","&thorn;":"þ","&yuml;":"ÿ","&iexcl;":"¡","&iquest;":"¿","&fnof;":"ƒ","&circ;":"ˆ","&tilde;":"˜","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&ordf;":"ª","&ordm;":"º","&macr;":"¯","&acute;":"´","&cedil;":"¸","&sup1;":"¹","&sup2;":"²","&sup3;":"³","&frac14;":"¼","&frac12;":"½","&frac34;":"¾","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦","&loz;":"◊","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&alefsym;":"ℵ"},ge=new RegExp(Object.keys(be).map(function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("|"),"g");function me(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function he(e){return function(e){if(Array.isArray(e))return me(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return me(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?me(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Oe=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!e)return[];var t=function(e){for(var n=[],t=0,r="",o=function(){r&&(n.push({type:"Text",value:r,position:t-r.length}),r="")};t<e.length;){var a=e[t];if("<"===a){var i=e.slice(t).match(/^<(\d+)>/);if(i)o(),n.push({type:"TagOpen",value:i[0],position:t,tagNumber:parseInt(i[1],10)}),t+=i[0].length;else{var u=e.slice(t).match(/^<\/(\d+)>/);u?(o(),n.push({type:"TagClose",value:u[0],position:t,tagNumber:parseInt(u[1],10)}),t+=u[0].length):(r+=a,t+=1)}}else r+=a,t+=1}return o(),n}(e),o=[],a=[],i=new Set;if(t.forEach(function(t){switch(t.type){case"Text":var u=t.value.replace(ge,function(e){return be[e]}).replace(/&#(\d+);/g,function(e,n){return String.fromCharCode(parseInt(n,10))}).replace(/&#x([0-9a-fA-F]+);/g,function(e,n){return String.fromCharCode(parseInt(n,16))});(a.length>0?a[a.length-1].children:o).push(u);break;case"TagOpen":var l=t.tagNumber,c=function(){var e;if(0===a.length)return n;var t=a[a.length-1];return(null===(e=t.declaration.props)||void 0===e?void 0:e.children)&&Array.isArray(t.declaration.props.children)?t.declaration.props.children:t.declarations}(),s=c[l];if(!s){i.add(l);var f="<".concat(l,">");(a.length>0?a[a.length-1].children:o).push(f);break}a.push({tagNumber:l,children:[],position:t.position,declaration:s,declarations:c});break;case"TagClose":var p=t.tagNumber;if(i.has(p)){var d="</".concat(p,">");(a.length>0?a[a.length-1].children:o).push(d),i.delete(p);break}if(0===a.length)throw new ve("Unexpected closing tag </".concat(p,"> at position ").concat(t.position),t.position,e);var y=a.pop();if(y.tagNumber!==p)throw new ve("Mismatched tags: expected </".concat(y.tagNumber,"> but got </").concat(p,"> at position ").concat(t.position),t.position,e);var v=function(e,n,t){var o,a=e.type,i=e.props,u=void 0===i?{}:i;if(u.children&&Array.isArray(u.children)&&t){u.children;var l,c=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(u,["children"]);return(l=r).createElement.apply(l,[a,c].concat(he(n)))}return 0===n.length?r.createElement(a,u):1===n.length?r.createElement(a,u,n[0]):(o=r).createElement.apply(o,[a,u].concat(he(n)))}(y.declaration,y.children,y.declarations);(a.length>0?a[a.length-1].children:o).push(v)}}),a.length>0){var u=a[a.length-1];throw new ve("Unclosed tag <".concat(u.tagNumber,"> at position ").concat(u.position),u.position,e)}return o};function we(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function je(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Se(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){je(e,n,t[n])})}return e}function Ee(e){var n,t,o,a,i=e.i18nKey,u=e.defaultTranslation,l=e.content,c=e.ns,s=e.values,f=void 0===s?{}:s,p=e.i18n,d=e.t,y=p||L();if(!y)return w(y,"NO_I18NEXT_INSTANCE","IcuTrans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:i}),r.createElement(r.Fragment,{},u);var v=d||(null===(n=y.t)||void 0===n?void 0:n.bind(y))||function(e){return e},b=c||v.ns||(null===(t=y.options)||void 0===t?void 0:t.defaultNS);b=x(b)?[b]:b||["translation"];var g=f;(null===(a=y.options)||void 0===a||null===(o=a.interpolation)||void 0===o?void 0:o.defaultVariables)&&(g=f&&Object.keys(f).length>0?Se({},f,y.options.interpolation.defaultVariables):Se({},y.options.interpolation.defaultVariables));var m,O,j,S=v(i,(m=Se({defaultValue:u},g),O=null!=(O={ns:b})?O:{},Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(O)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(O)).forEach(function(e){Object.defineProperty(m,e,Object.getOwnPropertyDescriptor(O,e))}),m));try{var E,P=Oe(S,l);return(E=r).createElement.apply(E,[r.Fragment,{}].concat(function(e){if(Array.isArray(e))return we(e)}(j=P)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(j)||function(e,n){if(e){if("string"==typeof e)return we(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?we(e,n):void 0}}(j)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))}catch(e){return h(y,"ICU_TRANS_RENDER_ERROR",'IcuTrans component error for key "'.concat(i,'": ').concat(e.message),{i18nKey:i,error:e}),r.createElement(r.Fragment,{},S)}}function Pe(e){var n,t=e.i18nKey,o=e.defaultTranslation,a=e.content,i=e.ns,u=e.values,l=void 0===u?{}:u,c=e.i18n,s=e.t,f=(0,r.useContext)(oe)||{},p=f.i18n,d=f.defaultNS,y=c||p||L(),v=s||(null==y?void 0:y.t.bind(y));return Ee({i18nKey:t,defaultTranslation:o,content:a,ns:i||(null==v?void 0:v.ns)||d||(null==y||null===(n=y.options)||void 0===n?void 0:n.defaultNS),values:l,i18n:y,t:s})}Ee.displayName="IcuTransWithoutContext",Pe.displayName="IcuTrans";var xe=t(9725);function Ae(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Ie(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var Ne={t:function(e,n){return x(n)?n:A(n)&&x(n.defaultValue)?n.defaultValue:Array.isArray(e)?e[e.length-1]:e},ready:!1},ke=function(){return function(){}},Te=function(e){var n,t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.i18n,i=(0,r.useContext)(oe)||{},u=i.i18n,l=i.defaultNS,c=a||u||L();c&&!c.reportNamespaces&&(c.reportNamespaces=new ae),c||w(c,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");var s=(0,r.useMemo)(function(){var e;return function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){Ie(e,n,t[n])})}return e}({},D(),null==c||null===(e=c.options)||void 0===e?void 0:e.react,o)},[c,o]),f=s.useSuspense,p=s.keyPrefix,d=(0,r.useMemo)(function(){var n,t=e||l||(null==c||null===(n=c.options)||void 0===n?void 0:n.defaultNS);return x(t)?[t]:t||["translation"]},[e,l,c]);null==c||null===(t=c.reportNamespaces)||void 0===t||null===(n=t.addUsedNamespaces)||void 0===n||n.call(t,d);var y=(0,r.useRef)(0),v=(0,r.useCallback)(function(e){if(!c)return ke;var n=s.bindI18n,t=s.bindI18nStore,r=function(){y.current+=1,e()};return n&&c.on(n,r),t&&c.store.on(t,r),function(){n&&n.split(" ").forEach(function(e){return c.off(e,r)}),t&&t.split(" ").forEach(function(e){return c.store.off(e,r)})}},[c,s]),b=(0,r.useRef)(),g=(0,r.useCallback)(function(){if(!c)return Ne;var e=!(!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?n.hasLoadedNamespace(e,{lng:t.lng,precheck:function(n,r){if(t.bindI18n&&t.bindI18n.indexOf("languageChanging")>-1&&n.services.backendConnector.backend&&n.isLanguageChangingTo&&!r(n.isLanguageChangingTo,e))return!1}}):(w(n,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:n.languages}),!0)}(e,c,s)}),n=o.lng||c.language,t=y.current,r=b.current;if(r&&r.ready===e&&r.lng===n&&r.keyPrefix===p&&r.revision===t)return r;var a={t:c.getFixedT(n,"fallback"===s.nsMode?d:d[0],p),ready:e,lng:n,keyPrefix:p,revision:t};return b.current=a,a},[c,d,p,s,o.lng]),m=function(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a=[],i=!0,u=!1;try{for(t=t.call(e);!(i=(r=t.next()).done)&&(a.push(r.value),!n||a.length!==n);i=!0);}catch(e){u=!0,o=e}finally{try{i||null==t.return||t.return()}finally{if(u)throw o}}return a}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Ae(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ae(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,r.useState)(0),2),h=m[0],O=m[1],j=(0,xe.useSyncExternalStore)(v,g,g),P=j.t,A=j.ready;(0,r.useEffect)(function(){if(c&&!A&&!f){var e=function(){return O(function(e){return e+1})};o.lng?E(c,o.lng,d,e):S(c,d,e)}},[c,o.lng,d,A,f,h]);var I=c||{},N=(0,r.useRef)(null),k=(0,r.useRef)(),T=function(e){var n=Object.getOwnPropertyDescriptors(e);n.__original&&delete n.__original;var t=Object.create(Object.getPrototypeOf(e),n);if(!Object.prototype.hasOwnProperty.call(t,"__original"))try{Object.defineProperty(t,"__original",{value:e,writable:!1,enumerable:!1,configurable:!1})}catch(e){}return t},_=(0,r.useMemo)(function(){var e=I,n=null==e?void 0:e.language,t=e;e&&(N.current&&N.current.__original===e?k.current!==n?(t=T(e),N.current=t,k.current=n):t=N.current:(t=T(e),N.current=t,k.current=n));var r=[P,t,A];return r.t=P,r.i18n=t,r.ready=A,r},[P,I,A,I.resolvedLanguage,I.language,I.languages]);if(c&&f&&!A)throw new Promise(function(e){var n=function(){return e()};o.lng?E(c,o.lng,d,n):S(c,d,n)});return _};function _e(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Ce(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Re(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){Ce(e,n,t[n])})}return e}function De(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}var Ue=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t){function o(o){var a=o.forwardedRef,i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(o,["forwardedRef"]),u=function(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a=[],i=!0,u=!1;try{for(t=t.call(e);!(i=(r=t.next()).done)&&(a.push(r.value),!n||a.length!==n);i=!0);}catch(e){u=!0,o=e}finally{try{i||null==t.return||t.return()}finally{if(u)throw o}}return a}}(e,n)||function(e,n){if(e){if("string"==typeof e)return _e(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_e(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Te(e,De(Re({},i),{keyPrefix:n.keyPrefix})),3),l=u[0],c=u[1],s=u[2],f=De(Re({},i),{t:l,i18n:c,tReady:s});return n.withRef&&a?f.ref=a:!n.withRef&&a&&(f.forwardedRef=a),(0,r.createElement)(t,f)}return o.displayName="withI18nextTranslation(".concat(P(t),")"),o.WrappedComponent=t,n.withRef?(0,r.forwardRef)(function(e,n){return(0,r.createElement)(o,Object.assign({},e,{forwardedRef:n}))}):o}};function Le(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var Ve=function(e){var n=e.ns,t=e.children,r=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,["ns","children"]),o=function(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a=[],i=!0,u=!1;try{for(t=t.call(e);!(i=(r=t.next()).done)&&(a.push(r.value),!n||a.length!==n);i=!0);}catch(e){u=!0,o=e}finally{try{i||null==t.return||t.return()}finally{if(u)throw o}}return a}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Le(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Le(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Te(n,r),3),a=o[0],i=o[1],u=o[2];return t(a,{i18n:i,lng:i.language},u)};function Ke(e){var n=e.i18n,t=e.defaultNS,o=e.children,a=(0,r.useMemo)(function(){return{i18n:n,defaultNS:t}},[n,t]);return(0,r.createElement)(oe.Provider,{value:a},o)}var Me=function(e,n){var t,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).i18n,a=((0,r.useContext)(oe)||{}).i18n,i=o||a||L();(null===(t=i.options)||void 0===t?void 0:t.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))};function ze(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var Fe=function(){return function(e){function n(n){var t=n.initialI18nStore,o=n.initialLanguage,a=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(n,["initialI18nStore","initialLanguage"]);return Me(t,o),(0,r.createElement)(e,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){ze(e,n,t[n])})}return e}({},a))}return n.getInitialProps=ie(e),n.displayName="withI18nextSSR(".concat(P(e),")"),n.WrappedComponent=e,n}},$e=function(){return""},qe=function(){return""},Be=function(){return""},We=function(){return""},He=function(){return""},Ze=function(){return""}},9151: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}}}]);