"use strict";(self.webpackChunknpwd_qb_banking=self.webpackChunknpwd_qb_banking||[]).push([[821],{2613:(e,n,t)=>{var a=t(4836);n.Z=void 0;var l=a(t(4938)),r=t(5893),o=(0,l.default)((0,r.jsx)("path",{d:"M4 10h3v7H4zm6.5 0h3v7h-3zM2 19h20v3H2zm15-9h3v7h-3zm-5-9L2 6v2h20V6z"}),"AccountBalance");n.Z=o},4121:(e,n,t)=>{t.d(n,{y:()=>o,s:()=>c});var a=t(2950),l=t.n(a),r=t(2613),o=function(){return l().createElement(r.Z,null)},c=function(){return l().createElement(r.Z,{fontSize:"small"})}},9250:(e,n,t)=>{t.r(n),t.d(n,{path:()=>c,default:()=>i});var a=t(4023),l=t(4121),r=t(4274),o={en:"Mobilbank"},c="/banking";const i=function(e){var n;return{id:"BANKING",path:c,nameLocale:o[null!==(n=null==e?void 0:e.language)&&void 0!==n?n:"en"],color:"#fff",backgroundColor:r.W1,icon:l.y,notificationIcon:l.s,app:a.Z}}},4023:(e,n,t)=>{t.d(n,{Z:()=>L});var a=t(2950),l=t.n(a),r=t(5475),o=t(6235),c=t(3839),i=t.n(c),u=t(6501),m=t(4810),d=t(4172),s=t(2004),f=t(8039),h=t(9845),b=t(1551),p=t(9250),v=t(6173),x=t(3407),g=t(5137),E=t(3776),Z=t(4714),k=t(602),y=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},w=function(){return w=Object.assign||function(e){for(var n,t=1,a=arguments.length;t<a;t++)for(var l in n=arguments[t])Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l]);return e},w.apply(this,arguments)},z=i()(u.Z)(N||(N=y(["\n  flex: 1;\n  display: flex;\n  flex-direction: column;\n  box-sizing: border-box;\n  max-height: 100%;\n"],["\n  flex: 1;\n  display: flex;\n  flex-direction: column;\n  box-sizing: border-box;\n  max-height: 100%;\n"]))),M=i().div(R||(R=y(["\n  flex: 1;\n  display: flex;\n  flex-direction: column;\n  box-sizing: border-box;\n  max-height: calc(100% - 3.5rem - ",");\n  overflow: auto;\n"],["\n  flex: 1;\n  display: flex;\n  flex-direction: column;\n  box-sizing: border-box;\n  max-height: calc(100% - 3.5rem - ",");\n  overflow: auto;\n"])),b.M),j=function(e){var n=(0,o.useLocation)().pathname,t=(0,a.useState)(n),c=t[0],i=t[1],u=(0,E.AI)(),g=(0,r.useNuiEvent)({event:"npwd:qb-banking:updateMoney"}).data;return(0,a.useEffect)((function(){g&&u(g)}),[g]),l().createElement(k.Z,null,l().createElement(m.Z,{injectFirst:!0},l().createElement(f.Z,{mode:e.theme.palette.mode},l().createElement(Z.v,null),l().createElement(z,{square:!0,elevation:0},l().createElement(b.Z,null,"Mobilbank"),l().createElement(M,null,l().createElement(o.Route,{exact:!0,path:p.path},l().createElement(v.Z,null)),l().createElement(o.Route,{path:"".concat(p.path,"/billing")},l().createElement(x.Z,null))),l().createElement(d.Z,{value:c,onChange:function(e,n){i(n)},showLabels:!0},l().createElement(s.Z,{label:"Mobilbank",value:p.path,component:o.NavLink,icon:l().createElement(h.AccountBalanceWallet,null),to:p.path}),l().createElement(s.Z,{label:"Regninger",value:"".concat(p.path,"/billing"),color:"secondary",component:o.NavLink,icon:l().createElement(h.Receipt,null),to:"".concat(p.path,"/billing")}))))))};const L=function(e){return l().createElement(g.RecoilRoot,null,l().createElement(r.NuiProvider,null,l().createElement(j,w({},e))))};var N,R},4274:(e,n,t)=>{t.d(n,{W1:()=>r,np:()=>c});var a=t(3486),l=t(6115),r=a.Z[500],o=l.Z.white,c=(l.Z.black,{light:{palette:{mode:"light",primary:{main:r,dark:a.Z[700],light:a.Z[300],contrastText:o},secondary:{main:"#d32f2f",light:"#eb4242",dark:"#941212",contrastText:o},success:{main:"#2196f3",contrastText:o}}},dark:{palette:{mode:"dark",primary:{main:r,dark:a.Z[700],light:a.Z[300],contrastText:o},secondary:{main:"#d32f2f",light:"#eb4242",dark:"#941212",contrastText:o},success:{main:"#2196f3",contrastText:o}}}})}}]);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 14900 characters]