<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[42],{B2Q3:function(e,a,t){"use strict";t.r(a);var n=t("lSNA"),l=t.n(n),r=t("o0o1"),o=t.n(r),c=t("yXPU"),s=t.n(c),i=t("J4zp"),d=t.n(i),m=t("q1tI"),u=t.n(m),f=t("55Ip"),E=t("/MKj"),g=t("XCXg"),p=t("HMs9"),b=t.n(p),x=t("D7tW"),N=t("NShm"),v=t("PSZ9"),h=t("XZD9"),y=t.n(h);var w=function(e){var a=e.t,t=u.a.useContext(x.a),n=(u.a.useContext(x.c).setLoginModal,Object(E.b)()),r=Object(E.c)((function(e){return e.brands})),c=Object(m.useState)(!1),i=d()(c,2),g=i[0],p=i[1];Object(E.c)((function(e){return e.authentication.loggedIn}));Object(m.useEffect)((function(){function e(){return(e=s()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n(N.c.getAddTemplates(y.a.get("brandCode"),"benefit","WEB",t.locale));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[t.locale]);var h=function(){return u.a.createElement("div",null)};function w(e){return T.apply(this,arguments)}function T(){return(T=s()(o.a.mark((function e(a){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:p(a);case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return u.a.createElement("div",{className:"relative border-0",onMouseEnter:function(){return w(!0)},onMouseLeave:function(){return w(!1)}},u.a.createElement("div",l()({className:"relative"},"className","ml-4 max-w-7xl mx-auto border-b-2 border-transparent flex h-10 hover:text-gray-300 hover:border-gray-300 focus:outline-none focus:text-yellow-300 focus:border-yellow-300 transition duration-150 ease-in-out"),u.a.createElement(f.b,{to:"/benefit",className:"inline-flex items-center pt-2 font-medium text-white focus:outline-none focus:text-yellow-300 focus:border-yellow-300 transition duration-150 ease-in-out navbarText"},u.a.createElement("img",{src:"".concat(y.a.get("imgUrl"),"/common/landing/t1/benefit_icon.png"),alt:"benefit",className:"flex h-6 xl:h-6"}),u.a.createElement("span",{className:"text-2xs"},a("benefit")),u.a.createElement("svg",{className:"text-white h-4 xl:h-4 w-4 xl:w-4 group-hover:text-gray-500 group-focus:text-gray-500 transition ease-in-out duration-150 navbarText",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},u.a.createElement("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})))),u.a.createElement(b.a,{once:!0,placeholder:u.a.createElement(h,null)},u.a.createElement(v.a,{show:g,enter:"transition ease-out duration-200",enterFrom:"opacity-0 -translate-y-1",enterTo:"opacity-100 translate-y-0",leave:"transition ease-in duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 -translate-y-1"},u.a.createElement("div",{className:"fixed left-0 transform shadow-lg w-full"},u.a.createElement("div",{className:"overlayLayerBg"},u.a.createElement("ul",{className:"max-w-7xl mx-auto grid gap-y-6 px-4 py-6 sm:grid-cols-2 sm:gap-3 sm:px-6 sm:py-2 lg:grid-cols-4 lg:px-8"},u.a.createElement("li",{className:"bg-yellow-900 hover:bg-yellow-800 rounded-md promoCard"},r&amp;&amp;r.addTemplates&amp;&amp;r.addTemplates.find((function(e){return"BENEFIT_PROMO"===e.containerCode&amp;&amp;e.lang===t.locale}))&amp;&amp;u.a.createElement(f.b,{to:"/promotion",className:""},u.a.createElement("div",{className:"mb-4 flex-col space-y-2 h-full border-b-2 border-gray-900 hover:border-yellow-300 rounded-md"},u.a.createElement("div",{className:"flex h-48"},u.a.createElement("img",{className:"object-cover h-full w-full",src:y.a.get("imgUrl")+"/"+r.addTemplates.find((function(e){return"BENEFIT_PROMO"===e.containerCode&amp;&amp;e.lang===t.locale})).fileImg,alt:r.addTemplates.find((function(e){return"BENEFIT_PROMO"===e.containerCode&amp;&amp;e.lang===t.locale})).fileDesc})),u.a.createElement("div",{className:"px-2"},u.a.createElement("h4",{className:"text-xs font-medium"},a("c.promotion")))))),y.a.get("featureList")&amp;&amp;y.a.get("featureList").find((function(e){return"REWARD"===e}))&amp;&amp;u.a.createElement("li",{className:"bg-teal-900 hover:bg-teal-800 rounded-md awardCard"},r&amp;&amp;r.addTemplates&amp;&amp;r.addTemplates.find((function(e){return"BENEFIT_REWARD"===e.containerCode&amp;&amp;e.lang===t.locale}))&amp;&amp;u.a.createElement(f.b,{to:"/reward"},u.a.createElement("div",{className:"mb-4 flex-col space-y-2 h-full border-b-2 border-gray-900 hover:border-yellow-300 rounded-md"},u.a.createElement("div",{className:"flex h-48"},u.a.createElement("img",{className:"object-cover h-full w-full",src:y.a.get("imgUrl")+"/"+r.addTemplates.find((function(e){return"BENEFIT_REWARD"===e.containerCode&amp;&amp;e.lang===t.locale})).fileImg,alt:r.addTemplates.find((function(e){return"BENEFIT_REWARD"===e.containerCode&amp;&amp;e.lang===t.locale})).fileDesc})),u.a.createElement("div",{className:"px-2"},u.a.createElement("h4",{className:"text-xs font-medium"},a("reward")))))),u.a.createElement("li",{className:"bg-indigo-900 hover:bg-indigo-800 rounded-md mbrGrpCard"},r&amp;&amp;r.addTemplates&amp;&amp;r.addTemplates.find((function(e){return"BENEFIT_LEVEL"===e.containerCode&amp;&amp;e.lang===t.locale}))&amp;&amp;u.a.createElement(f.b,{to:"/level"},u.a.createElement("div",{className:"mb-4 flex-col space-y-2 h-full border-b-2 border-gray-900 hover:border-yellow-300 rounded-md"},u.a.createElement("div",{className:"flex h-48"},u.a.createElement("img",{className:"object-cover h-full w-full",src:y.a.get("imgUrl")+"/"+r.addTemplates.find((function(e){return"BENEFIT_LEVEL"===e.containerCode&amp;&amp;e.lang===t.locale})).fileImg,alt:r.addTemplates.find((function(e){return"BENEFIT_LEVEL"===e.containerCode&amp;&amp;e.lang===t.locale})).fileDesc})),u.a.createElement("div",{className:"flex-col px-2"},u.a.createElement("h4",{className:"text-xs font-medium"},a("peringkat")))))),u.a.createElement("li",{className:"bg-green-900 hover:bg-green-800 rounded-md commCard"},r&amp;&amp;r.addTemplates&amp;&amp;r.addTemplates.find((function(e){return"BENEFIT_COMMISSION"===e.containerCode&amp;&amp;e.lang===t.locale}))&amp;&amp;u.a.createElement(f.b,{to:"/referral"},u.a.createElement("div",{className:"mb-4 flex-col space-y-2 h-full border-b-2 border-gray-900 hover:border-yellow-300 rounded-md"},u.a.createElement("div",{className:"flex h-48"},u.a.createElement("img",{className:"object-cover h-full w-full",src:y.a.get("imgUrl")+"/"+r.addTemplates.find((function(e){return"BENEFIT_COMMISSION"===e.containerCode&amp;&amp;e.lang===t.locale})).fileImg,alt:r.addTemplates.find((function(e){return"BENEFIT_COMMISSION"===e.containerCode&amp;&amp;e.lang===t.locale})).fileDesc})),u.a.createElement("div",{className:"px-2"},u.a.createElement("h4",{className:"text-xs font-medium"},a("komisi"))))))))))))};a.default=Object(g.translate)()(u.a.memo(w))}}]);</pre></body></html>