(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[83],{"/eFj":function(t,e,r){"use strict";(function(t){var o=r("cpVT"),n=r("vJKn"),c=r.n(n),a=r("rg98"),i=r("nKUr"),s=r("aQsx"),l=r("nOHt"),p=r("abVi"),d=r("f8VH");function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){Object(o.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}e.a=function(e){var r,o=e.Content,n=e.t,b=e.storeConfig,u=Object(d.c)({identifiers:["pwa_footer_top_left_id","pwa_footer_bottom_id"]}),j=u.data,g=u.loading,m=u.error,O=null==j||null===(r=j.cmsBlocks)||void 0===r?void 0:r.items,h=Object(l.useRouter)(),x={title:j&&j.cmsBlocks?j.cmsBlocks.title:"",headerTitle:j&&j.cmsBlocks?j.cmsBlocks.title:"",bottomNav:!0,header:"relative"},v=function(){var t=Object(a.a)(c.a.mark((function t(e,r){var o;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("cms"!==e){t.next=8;break}return(o=Object(p.a)())[r]={type:"CMS_PAGE"},t.next=5,Object(p.c)(o);case 5:h.push("/[...slug]",r),t.next=9;break;case 8:h.push("/[...slug]",r);case 9:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();return t.useEffect((function(){Object(s.a)({action:v})}),[h.asPath]),Object(i.jsx)(o,f(f({data:O},x),{},{t:n,loading:g,error:m,storeConfig:b}))}}).call(this,r("q1tI"))},aQsx:function(t,e,r){"use strict";var o=r("nOHt"),n=r.n(o);e.a=function(t){for(var e=t.action,r=document.getElementsByClassName("pwa-link"),o=0;o<r.length;o+=1)r[o].onclick=function(t){t.preventDefault();var r=this.getAttribute("href"),o=this.getAttribute("type");o?e?e(o,r):n.a.push("/[...slug]",r):n.a.push(r)}}},oRc3:function(t,e,r){"use strict";r.r(e);var o=r("cpVT"),n=r("nKUr"),c=r("/eFj"),a=r("ZiQX"),i=r("XNvW"),s=r("pP19"),l=r("Qh5p"),p=r("e45s"),d=r.n(p),b=r("TSYQ"),f=r.n(b),u=r("4a3J"),j=r("a6RD"),g=r.n(j),m=r("dZg1"),O=g()((function(){return Promise.all([r.e(2),r.e(1),r.e(0),r.e(128)]).then(r.bind(null,"ektY"))}),{ssr:!0,loadableGenerated:{webpack:function(){return["ektY"]},modules:["./Newsletter"]}}),h=d()({root:{"& .bg-primary":{backgroundColor:i.l},"& .bg-gray-100":{backgroundColor:i.b},"& .p-0":{padding:0},"& .relative":{position:"relative"},"& .container-footer":{display:"flex",marginTop:0,margin:"0 auto"},"& .container-footer *":{letterSpacing:"0.03em"},"& .container-footer h4":{fontSize:"18px",margin:0,textAlign:"left",color:i.l,paddingBottom:"12px",fontWeight:600},"& .container-footer .content-assets":{padding:0},"& .container-footer .content-assets ul":{listStyle:"none",padding:0,margin:0,display:"flex",flexDirection:"column",gap:"12px"},"& .container-footer .content-assets ul li a":{fontSize:"14px",color:i.j},"& .container-footer.footer-top-left, .container-footer.footer-top-right":{paddingTop:"42px",paddingBottom:"61px"},"& .container-footer.footer-top-right":{},"& .container-footer.footer-top-right.newsletter-container":{paddingTop:0,paddingBottom:"40px"},"& .app-logo-wrapper":{display:"flex"},"& .barcode-logo":{height:"99px",width:"99px",objectFit:"cover"},"& .app-logo":{height:"30px",width:"auto"},"& .container-footer.footer-top-right .social-media-links":{margin:"18px -4px 0 -4px"},"& .container-footer.footer-top-right .social-media-links .social-icon":{marginRight:"8px"},"& .container-footer.footer-bottom":{display:"block",backgroundColor:i.l,color:i.d,fontSize:"12px",fontWeight:300},"& .container-footer.footer-bottom .title":{padding:"8px 0"},"& .container-footer.footer-bottom .title::after":{content:'""',position:"absolute",left:0,top:"33px",width:"100%",borderBottom:"1px solid ".concat(i.d),opacity:.2},"& .container-footer.footer-bottom .description":{padding:"16px 0"},minHeight:"200px"}}),x=function(t){var e=Object(s.useTranslation)(["common"]).t,r=h(),o=t.data,c=t.loading,i=t.error,p=Object(m.b)(),d={replace:function(t){return t.attribs&&t.attribs.class&&t.attribs.class.includes("custom-consumer-wrapper")?Object(n.jsx)(n.Fragment,{}):t.attribs&&t.attribs.class&&t.attribs.class.includes("col-sm-4")&&p?Object(n.jsxs)("div",{className:"content-assets col-sm-4 col-xs-12 nopaddingleft",children:[Object(n.jsx)("h4",{children:"Download Aplikasi Mitra10"}),Object(n.jsx)("ul",{children:Object(n.jsx)("li",{children:Object(n.jsx)("a",{className:"pwa-link",target:"_blank",rel:"noreferrer noopener",href:"https://apps.apple.com/id/app/mitra10/id6477692154",children:Object(n.jsx)("img",{className:"app-logo",src:"/assets/img/mitra10-ios.png",alt:"app",loading:"lazy"})})})})]}):t.attribs&&t.attribs.class&&t.attribs.class.includes("col-sm-2")&&p?Object(n.jsx)("div",{className:"content-assets col-sm-2 col-xs-12 nopaddingleft",children:Object(u.b)(t.children,t)}):null}},b={replace:function(t){return t.attribs&&t.attribs.class&&t.attribs.class.includes("custom-footer-menu")?Object(n.jsx)(n.Fragment,{}):null}};return i?Object(n.jsx)(a.a,{className:"m-15",severity:"error",children:e("common:error:fetchError")}):Object(n.jsx)("div",{className:f()("wrapper-footer",r.root),children:c?null:Object(n.jsxs)(n.Fragment,{children:[Object(n.jsx)("div",{className:"w-full bg-gray-100",children:Object(n.jsxs)(l.default,{children:[Object(n.jsx)("div",{className:"row m-0",children:Object(n.jsx)("div",{className:"p-0 col-xs-12 col-md-12",children:Object(u.a)(o[0].content,d)})}),Object(n.jsxs)("div",{className:"container-footer footer-top-right newsletter-container row m-0",children:[Object(n.jsx)("div",{className:"p-0 col-xs-5 col-md-5",children:Object(n.jsx)(O,{})}),Object(u.a)(o[0].content,b)]})]})}),Object(n.jsx)("div",{className:"relative bg-primary",children:Object(n.jsx)(l.default,{children:Object(n.jsx)("div",{dangerouslySetInnerHTML:{__html:o[1].content}})})})]})})};function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach((function(e){Object(o.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}e.default=function(t){return Object(n.jsx)(c.a,y(y({},t),{},{Content:x}))}}}]);