1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5593],{68310:function(e,r,s){"use strict";var n=s(79738),t=s(32996),i=s(24246);r.Z=function(e){var r=e.middle,s=void 0!==r&&r,a=(0,t.IA)().t;return(0,i.jsx)(n.Z,{errorTip:a("web_common_page_not_found"),middle:s})}},51640:function(e,r,s){"use strict";s.r(r),s.d(r,{default:function(){return B}});var n=s(27378),t=s(8437),i=s(90849),a=s(32996),c=s(24246),o=function(e){var r=e.children;return(0,c.jsx)("h2",{className:"g-referral-title",children:r})},l=s(7756),f=s(56591),d=s(88303),_=s(87025),b=s(23001),u=function(e){var r=e.trackPosition,s=(0,a.IA)().t;return(0,c.jsx)(_.ZP,{data:{module:(0,b.V_)({moduleId:"Referral"}),targetType:"other",target:"SendAReferral",relTarget:"SendAReferral",position:r},children:(0,c.jsx)(f.Z,{type:"primary",className:"g-btn-send",href:d.g.REFER_A_FRIEND,size:"large",children:s("web_referral_send")})})},p=s(49589);function j(e,r){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),s.push.apply(s,n)}return s}function m(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?j(Object(s),!0).forEach((function(r){(0,i.Z)(e,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):j(Object(s)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(s,r))}))}return e}var h=function(e){var r=e.className,s=e.image,n=(0,a.IA)().t;return(0,c.jsxs)("div",{className:r,children:[(0,c.jsx)(o,{children:n("web_referral_intro_title",{brand:l.Z.brand})}),(0,c.jsx)("div",{className:"g-desc",children:n("web_referral_intro_content",{brand:l.Z.brand})}),(0,c.jsx)("div",{className:"g-btn-wrap",children:(0,c.jsx)(u,{trackPosition:1})}),(0,c.jsx)(p.E,m({className:"g-banner",background:!1,lazy:!1,fetchPriority:"high"},s))]})},w=s(55360),x=function(e){var r=e.list;return(0,c.jsx)(w.X,{gutter:48,colsPerRow:3,children:r.map((function(e){return(0,c.jsx)(w.J,{children:(0,c.jsxs)("div",{className:"g-card",children:[(0,c.jsx)(p.Z,{src:e.icon,width:32,background:!1,fixed:!0}),(0,c.jsx)("div",{className:"g-card-title",children:e.title}),(0,c.jsx)("div",{className:"g-card-desc",children:e.desc})]})},e.title)}))})},g=s(72202),v=(0,g.Pi)((function(e){var r=e.className,s=(0,a.IA)().t,n=(0,g.Kw)("persistStore").referralConfig,t=(0,g.Kw)("userStore").pointsRule;return(0,c.jsxs)("div",{className:r,children:[(0,c.jsx)(o,{children:s("web_referral_benefit",{brand:l.Z.brand})}),(0,c.jsx)(x,{list:[{icon:"file-asset/file/bf01d8a500bf2305d22ad5a50645115a.svg",title:s("web_referral_benefit_point1"),desc:s("web_referral_benefit_point1_description")},{icon:"file-asset/file/9f399272d3952d3fd2808aa60d21fc5d.svg",title:s("web_referral_benefit_point2"),desc:s("web_referral_benefit_point2_description",{points:+t.obtainPoints*n.referralPointsPercent,price:t.obtainPointsPrice})},{icon:"file-asset/file/d6bdf733304ef5729f2f9419099f0b6a.svg",title:s("web_referral_benefit_point3"),desc:(0,c.jsx)(a.cC,{i18nKey:"web_referral_benefit_point3_description",values:{brand:l.Z.brand,points:+t.consumePoints,price:t.consumePointsPrice},components:{"points-marketplace":(0,c.jsx)("a",{href:d.g.POINTS_MALL})}})}]})]})})),P=s(86677),N=s(81628),y=function(e){var r=e.className,s=(0,a.IA)().t,n=(0,P.useRouter)();return(0,c.jsxs)("div",{className:r,children:[(0,c.jsx)(o,{children:s("web_referral_process")}),(0,c.jsx)(x,{list:[{icon:"file-asset/file/87bd59139d597bba92ac0cdb83e5348e.svg",title:s("web_referral_process_step1",{brand:l.Z.brand}),desc:(0,c.jsx)(a.cC,{i18nKey:"web_referral_process_step1_description",components:{a:(0,c.jsx)("a",{onClick:function(){return n.push(d.g.REFER_A_FRIEND)}})}})},{icon:"file-asset/file/273ef3fb294acd44b40113d6d85b4538.svg",title:s("web_referral_process_step2"),desc:(0,c.jsx)(a.cC,{i18nKey:"web_referral_process_step2_description",components:{ShareIcon:(0,c.jsx)(N.Z,{className:"icon-minimized"})}})},{icon:"file-asset/file/7252463c5f55255041528b8af22548fd.svg",title:s("web_referral_process_step3"),desc:s("web_referral_process_step3_description",{brand:l.Z.brand})}]})]})},O=s(70522),Z=(s(84529),s(10811)),R=!1,E=(0,g.Pi)((function(e){var r,s=e.className,t=(0,a.IA)().t,i=(0,n.use
1State)(!0),f=(i[0],i[1],(0,n.useRef)(null)),d=(0,g.Kw)("persistStore").referralConfig,_=(0,g.Kw)("userStore").pointsRule;try{var b=t("web_referral_faqs_list",{obtainPoints:+_.obtainPoints*d.referralPointsPercent,obtainPointsPrice:_.obtainPointsPrice,consumePoints:_.consumePoints,consumePointsPrice:_.consumePointsPrice,brand:l.Z.brand});b=b.replace(/\\+/g,"\\"),r=JSON.parse(b)}catch(u){console.log(u),r=[]}return(0,c.jsxs)("div",{className:s,ref:f,children:[(0,c.jsx)(o,{children:t("web_referral_faqs",{brand:l.Z.brand})}),(0,c.jsx)(O.U,{accordion:!0,defaultValue:["0"],list:r.map((function(e,r){return{key:String(r),title:e.question,style:{display:"block"},body:(0,c.jsx)(Z.h,{html:e.answer})}}))}),R]})})),S=function(e){var r=e.className,s=(0,a.IA)().t;return(0,c.jsxs)("div",{className:r,children:[(0,c.jsx)(o,{children:s("web_referral_invite_friends",{brand:l.Z.brand})}),(0,c.jsx)(u,{trackPosition:2})]})},k="referral_YZRwU",A="section_xow6Y",I="info_-pFXF",C="benefits_s68xM",K="process_NAe39",D="faqs_-SID4",F="invite_2tBOY",T=s(60042),q=s.n(T),X=s(68310),z=s(339),Y=function(){var e=(0,g.Kw)("persistStore").referralConfig;return(0,n.useEffect)((function(){(0,t.Z0)()}),[]),e.showReferralButton?(0,c.jsxs)("div",{className:k,children:[(0,c.jsx)(h,{className:q()(A,I),image:{src:"asset/width-1800/picture/9c25104c30fd57a6560767d3aa0d1707.png",width:900,height:500,fixed:!0}}),(0,c.jsx)(v,{className:q()(A,C)}),(0,c.jsx)(y,{className:q()(A,K)}),(0,c.jsx)(E,{className:q()(A,D)}),(0,c.jsx)(S,{className:q()(A,F)}),(0,c.jsx)(z.G,{})]}):(0,c.jsx)(X.Z,{})};Y.pageConf={pageCode:"referral"};var B=Y},80607:function(e,r,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/referral",function(){return s(51640)}])}},function(e){e.O(0,[7034,164,339,9774,2888,179],(function(){return r=80607,e(e.s=r);var r}));var r=e.O();_N_E=r}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.