PageSourceSearch

https://www.ringleplus.com/_next/static/chunks/58489-1e0f0f6c094206af.js

js ringleplus.com collected 2026-09-24 10:26:33 UTC 48,096 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c3ce6d50-d17e-4c10-9f27-92e3e614b8ce",e._sentryDebugIdIdentifier="sentry-dbid-c3ce6d50-d17e-4c10-9f27-92e3e614b8ce")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[58489],{8919:(e,t,l)=>{l.d(t,{Mm:()=>s,d7:()=>r,wn:()=>n});var n=function(e){return e[e.INSIGHT=0]="INSIGHT",e[e.QUESTIONS=1]="QUESTIONS",e[e.EXPRESSIONS=2]="EXPRESSIONS",e[e.MEDIA=3]="MEDIA",e[e.INTRO=4]="INTRO",e[e.NOTE=5]="NOTE",e[e.QUESTION_SELECT=6]="QUESTION_SELECT",e[e.EXTERNAL=7]="EXTERNAL",e[e.UPLOAD_FILE=8]="UPLOAD_FILE",e[e.UPLOAD_LINK=9]="UPLOAD_LINK",e[e.LESSON_STYLE=10]="LESSON_STYLE",e[e.HOMEWORK=11]="HOMEWORK",e[e.RELATED_CONTENTS=12]="RELATED_CONTENTS",e}({});let s={0:"인사이트",1:"수업 질문",2:"핵심 표현",3:"영상 / 기사",12:"링글 관련 콘텐츠"};var r=function(e){return e.QUESTION="수업 질문",e.NOTE="수업 노트",e.MY_ANSWER="내 답변",e.OTHER_ANSWER="다른 링글러 답변",e}({})},14328:(e,t,l)=>{l.r(t),l.d(t,{default:()=>x});var n=l(80263),s=l(11230),r=l.n(s),a=l(53239),i=l(84955),o=l(11669),d=l(32363),c=l(27722),u=l(27397);let x=e=>{let{handleClose:t}=e,[l,s]=(0,a.useState)(!1),[x,m]=(0,a.useState)(!1),{t:h}=(0,d.Ay)();(0,a.useEffect)(()=>{m(!0),s(window.innerWidth<576)},[]);let[p,f]=(0,a.useState)(0);function g(e){p>500?(f(window.pageYOffset),t(e)):f(window.pageYOffset)}return(0,a.useEffect)(()=>(window.addEventListener("scroll",g),()=>{window.removeEventListener("scroll",g)})),x&&(0,n.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-[1000] bg-white shadow-[0_2px_16px_0_rgba(67,86,100,0.15)]",children:(0,n.jsx)(u.A,{className:"mx-auto",px16:l,children:(0,n.jsxs)("div",{className:r()({"py-[20px]":!l},{"pt-[14px]":l},{"pb-[8px]":l},"flex flex-col items-center justify-between sm:flex-row"),children:[(0,n.jsxs)("div",{className:r()({"text-h6":l},r()({"text-left":l,"text-14":!l}),"text-gray-700"),children:["".concat(h(o.wor.cookiebanner.first)," "),(0,n.jsx)(i.A,{target:"_blank",href:c.A.student.policy.privacy,title:"use of cookies",children:(0,n.jsx)("span",{className:"underline",children:h(o.wor.cookiebanner.second)})}),h(o.wor.cookiebanner.third)]}),(0,n.jsx)("div",{onClick:t,className:r()({"text-h6":l},r()({"text-14 ml-8":!l}),"cursor-pointer self-start text-purple-500"),children:"Close"})]})})})}},58489:(e,t,l)=>{l.d(t,{A:()=>eC});var n=l(80263),s=l(53239),r=l(87178),a=l(44618),i=l(53246),o=l.n(i),d=l(90482),c=l(14328),u=l(33857),x=l(11230),m=l.n(x),h=l(1977),p=l(56905),f=l(64432),g=l(27397),b=l(84955),j=l(18579),v=l(32363),N=l(95142),y=l(27722);let _=e=>{let{currentUser:t,...l}=e,{handleClose:r,portal:a}=l,{t:i,isLocaleKO:o,locale:d}=(0,v.Ay)(),[c,u]=(0,s.useState)(!1);(0,s.useEffect)(()=>{m(window.innerWidth<576)},[]);let[x,m]=(0,s.useState)(!0);(0,s.useEffect)(()=>{u(!0)},[]);let h=a?y.A.student.portal.pricing.index:y.A.student.landing.pricing,p=o?d:j.RH;return c?x?(0,n.jsx)(b.A,{href:h,className:"position-relative",style:{position:"relative"},children:(0,n.jsx)("div",{children:(0,n.jsx)("img",{src:(0,N.c_g)(p)})})}):(0,n.jsx)(b.A,{href:h,children:(0,n.jsxs)("div",{className:"row flex h-[60px] cursor-pointer py-[12px]",children:[(0,n.jsx)("div",{style:{width:"50%",height:"60px",position:"absolute",right:0,top:0,backgroundColor:"#E1E1E1"}}),(0,n.jsx)("div",{style:{width:"50%",height:"60px",position:"absolute",left:0,top:0,backgroundColor:"#E1E1E1"}}),(0,n.jsx)(g.A,{children:(0,n.jsxs)("div",{className:"relative mx-[0px] h-full px-[0px]",children:[(0,n.jsxs)("div",{className:"align-items-center justify-content-center flex h-full flex-row items-center justify-center",children:[(0,n.jsx)("div",{style:{color:"#3D3D3D",borderColor:"#3D3D3D"},className:"border-t-1 border-b-1 text-bold mb-0 py-[3px] text-[14px] font-bold text-white",children:i(["2월 EVENT","Feb EVENT"])}),(0,n.jsx)("div",{style:{color:"#3D3D3D"},className:"mx-[32px] text-[18px] font-bold",children:i(["2월은 새벽반 혜택 받ê
1³  더 일찍 시작해 보세요!","Start earlier with Early Bird credit benefits in February!  "])}),(0,n.jsx)("div",{style:{backgroundColor:"#3D3D3D"},className:"rounded-[20px] py-[3px] px-[14px] text-[14px] font-medium text-white",children:i(["자세히 보기","Learn More"])})]}),(0,n.jsx)("div",{onClick:r,style:{right:8,top:-4},className:"position-absolute z-index-1100 absolute w-[24px] cursor-pointer p-[10px] text-right",children:(0,n.jsx)("i",{style:{color:"#3D3D3D"},className:" fe fe-x"})})]})})]})}):(0,n.jsx)("div",{})};var A=l(20821),w=l(3596),E=l(1917),C=l(92688),I=l(90636),O=l(79930),k=l(31463),T=l(35301),M=l(13590),L=l(30915),S=l(40150),P=l(11669),U=l(45119),R=l(45911),B=l(70662),D=function(e){return e[e.LANDING_MENU=0]="LANDING_MENU",e[e.PORTAL_MENU=1]="PORTAL_MENU",e}({}),H=function(e){return e.PORTAL_MENU="https://ringle.page.link/qoWs",e.LANDING_MENU="https://ringle.page.link/X9NA",e}(H||{});let W=s.memo(e=>{let{bannerLocation:t}=e,{t:l}=(0,v.Ay)(),r=(0,s.useMemo)(()=>{switch(t){case 0:return"https://ringle.page.link/X9NA";case 1:return"https://ringle.page.link/qoWs"}},[t]);return(0,n.jsx)("div",{className:"bottom-[0px] w-full bg-white",children:(0,n.jsxs)("div",{className:"flex items-center justify-between px-[20px] pb-[32px]",children:[(0,n.jsx)("div",{className:"mr-[12px] flex h-[48px] w-[48px] items-center justify-center rounded-[10px] bg-purple-500",children:(0,n.jsx)("img",{alt:"logo",className:"h-[29px] w-[38px]",src:"/assets/img/logo/logo_white_transparent.png"})}),(0,n.jsx)("div",{className:"text-h6 mr-[12px] flex-1 font-medium text-black",children:l(P.y8n.mobile_web.access_on_app)}),(0,n.jsx)(b.A,{href:r,externalLink:!0,children:(0,n.jsx)(B.A,{chipSm:!0,clx:"!border-0 !text-h5 ! !bg-gray-300 !text-gray-700 font-medium p-8 whitespace-nowrap w-100",children:l(P.y8n.mobile_web.view_in_app)})})]})})});var z=l(88417),F=l(34402),K=l(23799);let G=()=>{let{t:e,isLocaleKO:t}=(0,v.Ay)(),{currentUser:l}=(0,K.iZ)(),{data:n}=(0,F.cB)({enabled:!!l}),s=(null==n?void 0:n.isB2CEligible)===!1,r=l&&l.upcoming_lesson_count>0?y.A.student.portal.lessons.upcomingLessons:y.A.student.portal.lessons.scheduleEnter;return{mobileAfterLogin:[{id:"portal_welcome",label:"Welcome",submenu:[],submenu2:null,href:y.A.student.newPortal.home,none:!1},{id:"portal_trial",label:e(P.Kn7.get_started),submenu:[],submenu2:null,href:y.A.student.portal.trial.inputProfile,none:!0},{id:"portal_price",label:e(P.O4m.portal.purchase_lessons),href:y.A.student.portal.pricing.index,showToolTip:a.C1,submenu:[],submenu2:null,none:!1}],portalV2:{leftMenu:[{id:"menu_home",label:e(P.O4m.portalv2.home),href:y.A.student.newPortal.home,none:!1},{id:"menu_conversation",label:e(P.O4m.portalv2.conversation),href:r,none:!1},{id:"menu_tutors",label:e(P.O4m.conversation.tutors),href:y.A.student.portal.tutors.recommended,none:!1}],rightMenu:[{id:"menu_price",label:e(P.O4m.portal.purchase_lessons),href:y.A.student.portal.pricing.index,showToolTip:!1},{id:"menu_invite",label:e(P.O4m.portal.invite),href:"".concat(y.A.student.portal.invite.event),showToolTip:!1}],mypage:[{floor:1,id:"menu_profile",label:e(P.O4m.mypage.my_info),href:y.A.student.portal.mypage.profile,none:!1},{floor:1,id:"menu_credit",label:e(P.O4m.mypage.coupon_certificates),href:y.A.student.portal.mypage.currentCredit(0)},...s?[]:[{floor:1,id:"menu_point",label:e(P.O4m.mypage.my_point),href:y.A.student.portal.mypage.point},{floor:1,id:"menu_coupon_box",label:e(P.O4m.mypage.coupon_box),href:y.A.student.portal.mypage.couponBox}],{floor:1,id:"menu_notification",label:e(P.chh.notification),href:y.A.student.portal.mypage.notification},{floor:2,id:"menu_faq",label:e(P.O4m.mypage.faq),href:y.A.student.landing.faq,none:!1},{floor:2,id:"menu_notice",label:e(P.O4m.mypage.notice),href:y.A.student.landing.notice},{floor:2,id:"menu_zoom",label:e(P.O4m.mypage.zoom_install),href:y.A.student.portal.mypage.zoom,none:!1}],mypageMulticampus:[{floor:void 0,id:"menu_credit",label:e(P.O4m.mypage.coupon_certificates),href:y.A.student.portal.mypage.currentCredit(0),none:!1},{floor:void 0,id:"menu_profile",label:e(P.O4m.mypage.my_info),href:y.A.student.portal.mypage.profile,none:!1},{floor:void 0,id:"menu_zoom",label:e(P.O4m.mypage.zoom_install),href:y.A.student.portal.mypage.zoom,none:!1},{floor:2,id:"menu_zoom",label:e(P.O4m.mypage.zoom_install),href:y.A.student.portal.mypage.zoom,none:!1}]}}};var V=l(8919);let q=()=>{let{isLocaleKO:e}=(0,v.Ay)();return(0,n.jsx)("div",{className:"ml-8 inline-block rounded-md bg-red-50  px-8 text-[14px] font-medium leading-[20px] text-red-500",children:"Promo"})};var Z=l(36217),J=l(82619),X=l(2403);let Y=e=>{let{navigation:t,onClickMenuHandler:l}=e;return t.map((e,t)=>(0,n.jsx)(s.Fragment,{children:e.noCursor?(0,n.jsx)("div",{className:"text-h4 mr-4 font-bold text-gray-700",children:e.label},t):(0,n.jsx)(Z.W,{as:"div",className:"relative ml-3",children:t=>{var r,a,i;let{open:o}=t;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(Z.W.Button,{className:"flex items-center justify-center rounded-full text-sm focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2",children:[(0,n.jsxs)("div",{onClick:()=>l&&l(e.eventId,e.label),className:m()("text-h4 relative mr-4 font-bold hover:text-purple-500",o?"text-purple-500":"text-gray-700"),children:[e.href?(0,n.jsx)(b.A,{href:e.href,children:e.label}):e.label,e.showToolTip&&(0,n.jsx)("div",{className:"inline lg:hidden",children:(0,n.jsx)(q,{})})]}),(0,n.jsx)("div",{children:(null==e||null==(r=e.menuArray)?void 0:r.length)>0&&(o?(0,n.jsx)(X.U7,{size:14,className:"ml-1 text-purple-500"}):(0,n.jsx)(X.nZ,{size:14,className:"ml-1 text-gray-700"}))})]}),(null==e||null==(a=e.menuArray)?void 0:a.length)>0&&(0,n.jsx)(J.e,{show:o,as:s.Fragment,enter:"transition ease-out duration-200",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,n.jsx)(Z.W.Items,{static:!0,className:"absolute left-0 top-56 mt-2 origin-top-right rounded-md bg-white p-16 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,n.jsx)("div",{className:"flex items-start",children:null==e||null==(i=e.menuArray)?void 0:i.filter(e=>!1!==e).map((e,t)=>{var s;return(0,n.jsxs)("div",{className:"flex w-[160px] flex-col",children:[(0,n.jsx)("div",{className:"text-h6 mb-11 text-gray-700",children:null==e?void 0:e.subMenuTitle}),null==e||null==(s=e.subMenu)?void 0:s.filter(e=>!e.none).map(e=>(0,n.jsx)(Z.W.Item,{children:t=>{let{active:s}=t;return(0,n.jsx)(b.A,{href:e.href,className:m()("text-h5 mb-4 block py-4 text-black hover:text-purple-500"),children:(0,n.jsx)("div",{onClick:()=>l&&l(e.eventId,e.label),children:e.label})})}},e.label))]},t)})})})})]})}},t)},"menu-".concat(e.label)))};var Q=l(67015),$=function(e){return e.LANDING_MATERIAL_AD="Landing Material Ad",e.PORTAL_MATERIAL_AD="Portal Material Ad",e.NOT_DEFINED="Not Defined",e}($||{});let ee=e=>{let{languageNavigation:t,rightNav:l,onClickLogout:r,onClickMenuHandler:i}=e,o=(0,I.useRouter)(),[c]=(0,d.A)(["logged_by_parent"]),{currentUser:u}=(0,K.iZ)(),{t:x,updateLandingLocale:h}=(0,v.Ay)(),{mutate:p}=(0,k._b)(),f=(0,L.A)();o.asPath.includes("onboarding")||o.asPath.includes("sign-up")||o.asPath.includes("auth/new")||o.asPath.includes("/additional-info"),o.asPath.includes("/onboarding/child")&&c.logged_by_parent;let g=(0,s.useMemo)(()=>o.asPath.includes("landing/contents/material/ad/")?"Landing Material Ad":o.asPath.includes("portal/materials/a
1d")?"Portal Material Ad":"Not Defined",[o.asPath]);return(0,n.jsxs)("div",{className:"hidden items-center lg:flex",children:[l.filter(e=>!e.none).map((e,t)=>(0,n.jsx)(Z.W,{as:"div",className:"relative",children:t=>{var l,r;let{open:a}=t;return(0,n.jsx)(n.Fragment,{children:e.href&&"_blank"===e.type?(0,n.jsx)(Z.W.Item,{children:t=>{let{active:l}=t;return(0,n.jsx)("div",{className:"relative mr-20 flex items-center justify-center rounded-full text-sm focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2",children:(0,n.jsx)("span",{onClick:()=>i&&i(e.eventId,e.label),className:m()("text-h5 hover:text-purple-500 ",a?"text-purple-500":"text-gray-700","relative"),children:(0,n.jsx)("a",{href:e.href,target:e.type,rel:"noreferrer",children:(0,n.jsx)("div",{className:m()("".concat(e.isEvent&&"text-red-500"," font-medium ")),children:null==e?void 0:e.label})})})})}}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(Z.W.Button,{className:"relative mr-20 flex items-center justify-center rounded-full text-sm focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2",children:[(0,n.jsx)("span",{className:m()("text-h5 hover:text-purple-500 ",a?"text-purple-500":"text-gray-700","relative"),children:e.href?(0,n.jsx)(b.A,{href:e.href,children:(0,n.jsx)("div",{onClick:()=>i&&i(e.eventId,e.label),className:m()("".concat(e.isEvent&&"text-red-500"," font-medium ")),children:null==e?void 0:e.label})}):(0,n.jsx)("div",{onClick:()=>i&&i(e.eventId,e.label),children:null==e?void 0:e.label})}),(0,n.jsx)("div",{children:(null==e||null==(l=e.menuArray)?void 0:l.length)>0&&(a?(0,n.jsx)(X.U7,{size:14,className:m()("text-purple-500",{"ml-1":!e.isEvent,"ml-12":e.isEvent})}):(0,n.jsx)(X.nZ,{size:14,className:m()("text-gray-700",{"ml-1":!e.isEvent,"ml-12":e.isEvent})}))})]}),(null==e||null==(r=e.menuArray)?void 0:r.length)>0&&(0,n.jsx)(J.e,{show:a,as:s.Fragment,enter:"transition ease-out duration-200",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,n.jsx)(Z.W.Items,{static:!0,className:"absolute left-0 top-56 mt-2 flex origin-top-right flex-row rounded-md border bg-white p-16 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,n.jsx)("div",{className:"w-[100px]",children:e.menuArray.map((e,t)=>{var l;return null==(l=e.subMenu)?void 0:l.filter(e=>!e.none).map(e=>(0,n.jsx)("div",{onClick:()=>i&&i(e.eventId,e.label),className:"py-[4px]",children:(0,n.jsx)(b.A,{href:e.href,className:m()("text-h5 py-4 text-black hover:text-purple-500"),children:e.label})},e.label))})})})})]})})}},t)),t.length>0&&"Not Defined"===g&&(0,n.jsx)(Z.W,{as:"div",className:"relative",children:e=>{let{open:l}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{children:(0,n.jsxs)(Z.W.Button,{className:m()("mr-20 flex items-center rounded-full hover:text-purple-500 focus:outline-none focus:ring-2 focus:ring-white",{"text-purple-500":l,"text-gray-700":!l}),onClick:()=>i&&i(U.Hb.CLICK_MENU_CHANGE_LANG,"Select Language"),children:[(0,n.jsx)("span",{className:"sr-only",children:"select language"}),(0,n.jsx)(X.u0,{size:16,className:m()("mr-5",{"text-purple-500":l},{"text-gray-700":!l}),style:{minWidth:17,color:"inherit"}}),l?(0,n.jsx)(X.U7,{size:9,style:{color:"inherit"}}):(0,n.jsx)(X.nZ,{size:9,style:{color:"inherit"}})]})}),(0,n.jsx)(J.e,{show:l,as:s.Fragment,enter:"transition ease-out duration-200",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,n.jsx)(Z.W.Items,{static:!0,className:"border-1 absolute top-48 mt-2 origin-top-right rounded-lg border-gray-200 bg-white shadow-md focus:outline-none ",style:{left:"-60px"},children:t.map((e,l)=>(0,n.jsx)(Z.W.Item,{children:s=>{let{active:r}=s;return(0,n.jsx)("a",{href:e.href,className:m()("","text-h5 w-180 block cursor-pointer py-9 pl-16 text-black hover:bg-gray-50 hover:text-purple-500",{"rounded-t-lg":0==l},{"rounded-b-lg":l==t.length-1}),onClick:()=>(e=>{u?p({locale:e}):h(e)})(e.lang),children:e.label})}},e.label))})})]})}}),(0,n.jsxs)("div",{className:"flex flex-shrink-0 flex-row",children:[u?(0,n.jsx)("li",{className:"inline-block list-none",children:(0,n.jsx)("a",{className:"",onClick:f,children:(0,n.jsx)(B.A,{sm:!0,outlined:!0,clx:"mr-12",children:x(P.O4m.mypage.sign_out)})})}):(0,n.jsx)("li",{className:"inline-block list-none",children:(0,n.jsx)(b.A,{href:y.A.student.auth.signIn,id:Q.b.landing_home_signin_button,children:(0,n.jsx)(B.A,{sm:!0,outlined:!0,clx:"mr-12",children:x(P.O4m.landing.signin)})})}),u?(0,n.jsx)(b.A,{href:y.A.student.newPortal.home,children:(0,n.jsx)(B.A,{primary:!0,sm:!0,lift:!0,children:x(P.O4m.landing.portal)})}):(0,n.jsx)(S.A,{mode:a.AO.TRIAL,href:y.A.student.auth.new,id:Q.b.bt_landing_home_signup,children:(0,n.jsx)(B.A,{primary:!0,sm:!0,lift:!0,onClick:()=>((e,t,l)=>{var n,s;switch(l){case"Landing Material Ad":{let l=null!=(n=e.query.type)?n:void 0;(0,O.yW)(O.fB.CLICK_CONTENT_AD_SIGN_UP,U.Hb.SIGN_UP,"상단 회원가입 하기 버튼 클릭",(0,O.uB)(t),"Landing Material Ad",e.asPath,{tab_name:V.Mm[Number(l)],landing_type:e.asPath.includes("landing/contents/material/ad/a")?"A":"B"});break}case"Portal Material Ad":{let l=null!=(s=e.query.type)?s:void 0;(0,O.yW)(O.fB.CLICK_CONTENT_AD_SIGN_UP,U.Hb.SIGN_UP,"상단 회원가입 하기 버튼 클릭",(0,O.uB)(t),"Landing Material Ad",e.asPath,{tab_name:V.Mm[Number(l)],landing_type:"C"});break}case"Not Defined":(0,O.yW)(O.fB.CLICK_BUTTON_NEW,U.Hb.SIGN_UP,"회원가입",(0,O.uB)(u),"Navigation Bar - Right Menu",e.asPath)}})(o,u,g),children:x(P.O4m.landing.signup)})})]})]})},et=[{name:"English",key:j.RH},{name:"한국어",key:j.Kd},{name:"日本語",key:j.ts},{name:"中文(简体)",key:j.fh},{name:"中文(繁體)",key:j.m_},{name:"Tiếng Việt",key:j.JS}];var el=function(e){return e.LANDING_MATERIAL_AD="Landing Material Ad",e.PORTAL_MATERIAL_AD="Portal Material Ad",e.NOT_DEFINED="Not Defined",e}(el||{});let en=e=>{let{mobileNav:t,open:l,currentUser:r,isEventBannerOpen:i}=e,{t:o,locale:d,updateLandingLocale:c}=(0,v.Ay)(),u=(0,L.A)(),{mutate:x}
1=(0,k._b)(),h=G().mobileAfterLogin,[p,f]=(0,s.useState)(!1),g=(0,M.Ay)(),{scrollYProgress:j}=(0,C.L)(),_=(0,s.useMemo)(()=>g.asPath.includes("landing/contents/material/ad/")?"Landing Material Ad":g.asPath.includes("portal/materials/ad")?"Portal Material Ad":"Not Defined",[g.asPath]);(0,s.useEffect)(()=>{if(!l&&!g.asPath.includes("/landing/home")){var e;return null==(e=window)||e.ChannelIO("hideChannelButton"),()=>{var e;return null==(e=window)?void 0:e.ChannelIO("showChannelButton")}}},[l]);let I=(0,s.useMemo)(()=>g.asPath.includes("/auth/new")||g.asPath.includes("/auth/sign-up")||g.asPath.includes("/auth/additional-info"),[g.asPath]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"flex flex-1 items-center py-[13px] px-[20px]",children:[(0,n.jsxs)("div",{className:"flex flex-1 justify-between",children:[(0,n.jsx)("div",{className:"flex items-center justify-center",children:(0,n.jsx)(b.A,{href:y.A.student.landing.main((0,T.aU)()),children:(0,n.jsx)("img",{src:N.rnr,className:"block h-[31px] w-auto lg:hidden"})})}),(0,n.jsxs)("div",{className:"flex flex-row self-end",children:[r&&(0,n.jsx)(b.A,{href:y.A.student.portal.pricing.index,children:(0,n.jsx)(B.A,{primary:!0,sm:!0,textH5:!0,type:"button",children:o(P.vk$.buy_credit)})}),!r&&I&&(0,n.jsx)(B.A,{px20:!0,py8:!0,type:"button",clx:"relative items-center px-6 py-4 shadow-sm font-medium text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 bg-purple-500 text-white text-h5 lg:hidden rounded-full",onClick:()=>void((0,O.yW)(O.fB.CLICK_BUTTON_NEW,U.Hb.SIGN_IN,"로그인",(0,O.uB)(r),"Navigation Bar - Right Menu",g.asPath),g.push(y.A.student.auth.signIn)),children:o(P.O4m.landing.signin)}),!r&&!I&&(0,n.jsx)(S.A,{href:y.A.student.auth.new,afterLogin:null,mode:null,children:(0,n.jsx)(B.A,{px20:!0,py8:!0,type:"button",clx:"relative  items-center px-6 py-4 shadow-sm font-medium text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 bg-purple-500 text-white text-h5 lg:hidden rounded-full",onClick:()=>((e,t,l,n)=>{var s,a;switch(l){case"Landing Material Ad":{let l=null!=(s=e.query.type)?s:void 0;(0,O.yW)(O.fB.CLICK_CONTENT_AD_SIGN_UP,U.Hb.SIGN_UP,"상단 회원가입 하기 버튼 클릭",(0,O.uB)(t),"Landing Material Ad",e.asPath,{tab_name:V.Mm[Number(l)],landing_type:e.asPath.includes("landing/contents/material/ad/a")?"A":"B"});break}case"Portal Material Ad":{let l=null!=(a=e.query.type)?a:void 0;(0,O.yW)(O.fB.CLICK_CONTENT_AD_SIGN_UP,U.Hb.SIGN_UP,"상단 회원가입 하기 버튼 클릭",(0,O.uB)(t),"Landing Material Ad",e.asPath,{tab_name:V.Mm[Number(l)],landing_type:"C"});break}default:(0,O.yW)(O.fB.CLICK_BUTTON_NEW,U.Hb.SIGN_UP,"회원가입",(0,O.uB)(r),"Navigation Bar - Right Menu",e.asPath,{scroll_y_percentage:Math.round(100*n)})}})(g,r,_,j.get()),children:o(P.O4m.landing.signup)})})]})]}),(0,n.jsxs)(A.E.Button,{className:"inline-flex items-center justify-self-end rounded-md pl-24 text-gray-300 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white",children:[(0,n.jsx)("span",{className:"sr-only",children:"Open main menu"}),l?(0,n.jsx)(w.A,{className:"z-50 block h-20 w-20","aria-hidden":"true"}):(0,n.jsx)(E.A,{className:"block h-20 w-20","aria-hidden":"true"})]})]}),(0,n.jsx)("div",{style:{maxHeight:i?"calc(100vh - 148px)":"calc(100vh - 61.25px)"},className:"-ml-2 overflow-y-scroll lg:hidden",children:(0,n.jsxs)(A.E.Panel,{children:[(0,n.jsxs)("div",{className:"text-h4 px-[20px] font-medium text-gray-700",children:[r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"flex items-center justify-between py-[8px]",children:(0,n.jsx)(b.A,{href:h[0].href,children:h[0].label})}),h.filter((e,t)=>!0!=e.none).slice(1).map((e,t)=>(0,n.jsx)("div",{className:"text-h4 mr-[4px] py-[8px]",children:(0,n.jsxs)(b.A,{href:e.href,children:[e.label,e.showToolTip&&(0,n.jsx)(q,{})]})},t))]}),(0,n.jsx)("div",{className:"flex items-center justify-between py-[8px]",children:r?(0,n.jsx)("a",{onClick:u,children:o(P.O4m.mypage.sign_out)}):(0,n.jsx)(S.A,{href:y.A.student.auth.signIn,afterLogin:"Not Defined"!==_?g.asPath:null,mode:a.AO.SIGN_IN,children:o(P.O4m.landing.signin)})})]}),r&&(0,n.jsx)("div",{className:"py-[8px] px-[20px]",children:(0,n.jsx)("hr",{})}),(0,n.jsx)("div",{className:"right-[0px] bg-white pb-32 lg:hidden",children:(0,n.jsxs)(n.Fragment,{children:[t.filter(e=>!e.none).map((e,t)=>(0,n.jsx)(A.E,{children:t=>{var l,s;let{open:r}=t;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"relative",children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(A.E.Button,{className:"flex w-full items-center justify-start bg-white px-20 py-8 text-left focus:text-purple-500 focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2",children:[(0,n.jsx)("div",{className:m()("".concat(e.isEvent?"text-red-500":"text-gray-700"),"text-h4 mr-[8px] font-medium"),children:(null==e?void 0:e.href)?"_blank"===e.type?(0,n.jsx)("a",{href:e.href,target:e.type,rel:"noreferrer",children:e.label}):(0,n.jsxs)(b.A,{href:null==e?void 0:e.href,children:[e.label,e.showToolTip&&(0,n.jsx)(q,{})]}):null==e?void 0:e.label}),(null==e||null==(l=e.menuArray)?void 0:l.length)>0&&(r?(0,n.jsx)("img",{src:R.JZK}):(0,n.jsx)("img",{src:R.A8t}))]}),(null==e||null==(s=e.menuArray)?void 0:s.length)>0&&(0,n.jsx)(A.E.Panel,{className:"relative",children:(0,n.jsx)("div",{className:"my-[8px] flex flex-col bg-gray-50 px-[20px] pt-[6px] pb-[16px]",children:e.menuArray.map((e,t)=>{var l;return(0,n.jsxs)("div",{className:"w-full px-[20px]",children:[(null==e?void 0:e.subMenuTitle)&&(0,n.jsx)("div",{className:"text-h6 py-[8px] text-gray-700",children:e.subMenuTitle}),null==(l=e.subMenu)?void 0:l.map(e=>(0,n.jsx)("div",{className:"text-h5 py-[8px] px-[4px] font-medium text-gray-700",children:(0,n.jsx)(b.A,{href:e.href,className:m()("block hover:text-purple-500"),children:e.label})},e.label))]},t)})})})]})})})})}},t)),"Not Defined"===_&&(0,n.jsx)("div",{className:"flex flex-row items-center px-[20px] py-[8px]",children:(0,n.jsxs)("div",{className:"flex w-full justify-between",children:[(0,n.jsxs)("div",{className:"flex flex-row items-center",children:[(0,n.jsx)("img",{src:R.ang,className:"mr-[5px]"}),(0,n.jsxs)("div",{onClick:()=>f(e=>!e),className:"text-h4 flex flex-row items-center font-medium text-gray-700",children:[o(P.O4m.change_language),(0,n.jsx)("div",{className:"ml-[8px]",children:p?(0,n.jsx)("img",{src:R.JZK}):(0,n.jsx)("img",{src:R.A8t})})]})]}),(0,n.jsx)("div",{className:"text-[14px] font-medium text-purple-500",children:p||(e=>{switch(e){case"ko":return"한국어";case"en":return"English";case"zh_chs":return"中文(简体)";case"zh_cht":return"中文(繁體)";case"ja":return"日本語";case"vi":return"Tiếng Việt"}})(g.query.lang)})]})}),p&&(0,n.jsx)("div",{className:m()({"bg-gray-50":p},"mt-[8px] h-full px-[20px]"),children:(0,n.jsx)("div",{className:"ml-[24px] pt-[6px] pb-[16px]",children:et.map(e=>(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{onClick:()=>(e=>{r?x({locale:e}):c(e)}
1)(e.key),className:m()({"text-purple-500":e.key==g.query.lang},"py-[8px] text-[14px] font-medium text-gray-700"),children:e.name})}))})})]})}),(0,n.jsx)(W,{bannerLocation:g.asPath.includes("/landing/home")?D.LANDING_MENU:D.PORTAL_MENU})]})})]})},es=e=>{let{currentUser:t,isEventBannerOpen:l}=e,r=(0,I.useRouter)(),{t:i,isLocaleKO:o,isLocaleEN:d}=(0,v.Ay)(),c=(e,l)=>{(0,O.yW)(O.fB.CLICK_LANDING_BUTTON,e,l,(0,O.uB)(t),"Landing",r.asPath,{category:"menu"})},u=[{label:i(P.O4m.landing.why_ringle),eventId:U.Hb.CLICK_MENU_WHAT_IS_RINGLE,current:!0,menuArray:[{subMenu:[{eventId:U.Hb.CLICK_MENU_TUTOR,label:i(P.O4m.landing.tutor),href:y.A.oneOnOne.tutor},{eventId:U.Hb.CLICK_MENU_MATERIALS,label:i(P.O4m.landing.lesson_materials),href:y.A.oneOnOne.material},{eventId:U.Hb.CLICK_MENU_FEATURES,label:i(P.O4m.landing.lesson_system),href:y.A.student.landing.system}]}]},{label:i(P.O4m.landing.solution),eventId:U.Hb.CLICK_MENU_RINGLE_FOR,menuArray:[{subMenuTitle:"BY CUSTOMERS",subMenu:[{eventId:U.Hb.CLICK_MENU_GLOBAL_PROFESSIONALS,label:i(P.O4m.landing.office_worker),href:y.A.student.landing.case.customer.professional},{eventId:U.Hb.CLICK_MENU_OVERSEAS_RESIDENTS,label:i(P.O4m.landing.live_abroad),href:y.A.student.landing.case.customer.liveAbroad},{eventId:U.Hb.CLICK_MENU_INTERNATIONAL_STUDENTS,label:i(P.O4m.landing.study_abroad),href:y.A.student.landing.case.customer.studyAbroad},{eventId:U.Hb.CLICK_MENU_BEGINNER_INTERMEDIATE,label:i(P.O4m.landing.beginner),href:y.A.student.landing.case.customer.beginner}]},{subMenuTitle:"BY NEEDS",subMenu:[{eventId:U.Hb.CLICK_MENU_BUSINESS_ENGLISH,label:i(P.O4m.landing.business),href:y.A.student.landing.case.purpose.business},{eventId:U.Hb.CLICK_MENU_INTERVIEW_PREP,label:i(P.O4m.landing.prep_interview),href:y.A.student.landing.case.purpose.interview},{eventId:U.Hb.CLICK_MENU_RESUME_ESSAY,label:i(P.O4m.landing.correction),href:y.A.student.landing.case.purpose.correction}]}]},{label:i(P.O4m.landing.pricing),eventId:U.Hb.CLICK_MENU_PRICING,href:y.A.student.landing.pricing,showToolTip:a.C1}],x=[{label:"Conference",eventId:U.Hb.CLICK_MENU_CONFERENCE,isEvent:!0,href:y.A.student.landing.blog.index,none:!0},{label:i(P.O4m.landing.b2b),eventId:U.Hb.CLICK_MENU_BUSINESS,href:o?null:y.A.b2b.index,menuArray:o?[{subMenu:[{label:"수출 바우처",href:y.A.student.landing.voucher,none:!1},{label:"제휴문의",href:y.A.b2b.index}]}]:null},{label:i(P.O4m.portal.faq),eventId:U.Hb.CLICK_MENU_HELP,href:y.A.student.landing.faq},{label:"Become a Tutor",eventId:U.Hb.CLICK_MENU_BECOME_A_TUTOR,href:y.A.tutor.landing.home,none:!d}],h=[{label:"Home",href:y.A.student.landing.main((0,T.aU)()),none:!t}].concat(u.concat(x)),p=(0,s.useMemo)(()=>[{label:"한국어",href:"#",lang:j.Kd},{label:"English",href:"#",lang:j.RH},{label:"中文(简体)",href:"#",lang:j.fh},{label:"中文(繁體)",href:"#",lang:j.m_},{label:"日本語",href:"#",lang:j.ts},{label:"Tiếng Việt",href:"#",lang:j.JS}],[]);return(0,n.jsx)(A.E,{as:"nav",children:e=>{let{open:s}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(z.A,{}),(0,n.jsxs)("div",{className:m()({"h-screen":s},"mx-auto max-w-[1080px] lg:px-20"),children:[(0,n.jsxs)("div",{className:"hidden h-[72px] justify-between lg:flex",children:[(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("div",{className:"mr-[24px] flex items-center",children:(0,n.jsx)(b.A,{className:"",href:y.A.student.landing.main((0,T.aU)()),children:(0,n.jsx)("img",{src:N.rnr,className:"mr-1 hidden h-[32px] w-auto lg:block"})})}),(0,n.jsx)("div",{className:"hidden lg:flex lg:items-center lg:space-x-20",children:(0,n.jsx)(Y,{navigation:u,onClickMenuHandler:c})})]}),(0,n.jsx)("div",{className:"flex items-center",children:(0,n.jsx)(ee,{rightNav:x,languageNavigation:p,onClickMenuHandler:c})})]}),(0,n.jsx)("div",{className:"no-scrollbar lgd:flex z-[900] w-full flex-col overflow-scroll lg:hidden",children:(0,n.jsx)(en,{mobileNav:h,open:s,currentUser:t,isEventBannerOpen:l})})]})]})}})};var er=l(59716),ea=l(73513);let ei=e=>{let{noPadding:t=!1,koEnOnly:l=!1,currentLang:s,handleSwitchLocale:r=null}=e,a=[{name:"ENG",key:j.RH},{name:"한국어",key:j.Kd},{name:"中文(简体)",key:j.fh},{name:"中文(繁體)",key:j.m_},{name:"日本語",key:j.ts},{name:"tiếng Việt",key:j.JS}],{currentUser:i}=(0,K.iZ)(),{mutate:o}=(0,k._b)(),{updateLandingLocale:d}=(0,v.Ay)();return l&&a.splice(2),(0,n.jsx)("div",{className:m()({rounded:5},l&&"flex flex-row","border p-2 transition-colors"),children:a.map((e,l)=>(0,n.jsx)("div",{onClick:()=>(e=>{if(r)return void r(e);i?o({locale:e}):d(e)}
1)(e.key),className:m()([s!=e.key&&"text-gray-500",s==e.key&&"bg-purple-50 text-purple-500",t&&"pl-0 pr-0",!t&&"px-24"],"text-h5 flex flex-1 cursor-pointer items-center justify-center whitespace-nowrap rounded-[5px] py-[4px] font-normal"),children:e.name},"locale".concat(l)))})};var eo=l(96439),ed=l(96057),ec=l(16977),eu=l(77711);let ex=e=>{let{clx:t,style:l,text:s,bgDanger:r,bgBlack:a,isTop:i,onClick:o}=e;return(0,n.jsx)("div",{className:"relative",onClick:o,children:(0,n.jsx)("div",{style:l,className:m()(t,{"bg-purple-500":!r},{"bg-red-500":r},[i?"chat-bubble-top":"chat-bubble",r&&"danger",a&&"black bg-black bg-opacity-80"],"text-h6 absolute whitespace-nowrap rounded py-[8px] px-[16px] text-center text-white"),children:s})})},em=e=>{let{activeId:t,currentUser:l,pageName:r,pageDescription:i,noProfileMenu:o=!1,noBanner:c}=e,{t:u}=(0,v.Ay)(),x=(0,I.useRouter)(),[h,p]=(0,d.A)(["locale","check_coupon"]),{data:f}=(0,F.cB)({enabled:!!l}),g=(null==f?void 0:f.isB2CEligible)!==!1&&l&&l.discount_coupons.length>0,j=G(),_=()=>(0,ed.P)(l)?j.portalV2.mypageMulticampus:j.portalV2.mypage;return(0,n.jsxs)(s.Fragment,{children:[(0,n.jsx)(z.A,{}),(0,n.jsx)("nav",{className:"lg:max-w-1040 mx-auto px-20",children:(0,n.jsxs)("div",{id:"navbarCollapse",className:"row no-gutters relative flex h-[70px] flex-row items-center justify-between lg:justify-center",children:[(0,n.jsx)(Z.W,{children:e=>{let{open:s}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(er.A,{clx:"flex items-center",auto:!0,px0:!0,children:[(0,ed.P)(l)?(0,n.jsx)(b.A,{dataRef:Q.J.btn_ringle,href:y.A.student.portal.lessons.scheduleEnter,children:(0,n.jsx)("img",{src:N.rnr,className:"mr-12 h-[32px]",alt:"ringle_logo"})}):(0,n.jsx)(b.A,{dataRef:Q.J.btn_ringle,href:y.A.student.newPortal.home,children:(0,n.jsx)("img",{src:N.rnr,className:"mr-12 h-[32px]",alt:"ringle_logo"})}),i&&(0,n.jsx)("div",{className:"text-14 ml-[11px] text-gray-700",children:i}),(0,n.jsxs)("div",{className:"hidden px-12 text-gray-700 sm:block lg:hidden",children:[j.portalV2.leftMenu.filter(e=>!e.none).map((e,l)=>e.id==t?e.label:""),j.portalV2.rightMenu.map((e,l)=>e.id==t?e.label:""),"menu_mypage"==t&&u(P.O4m.portal.mypage)]})]}),(0,n.jsxs)(er.A,{auto:!0,clx:"lg:hidden",children:[(0,n.jsxs)(Z.W.Button,{className:"items-center rounded-md text-gray-700 focus:outline-none",children:[(0,n.jsx)("span",{className:"sr-only",children:"Open menu"}),(0,n.jsx)(E.A,{className:"h-24 w-24","aria-hidden":"true"})]}),(0,n.jsx)(Z.W.Items,{className:"relative",children:(0,n.jsx)(Z.W.Item,{children:(0,n.jsx)(ev,{})})})]})]})}}),(0,n.jsx)(er.A,{auto:!0,h70:!0,clx:"col-6 items-center justify-start flex pl-[20px] lgd:hidden",children:(0,n.jsx)("ul",{className:"flex flex-row space-x-[24px]",children:j.portalV2.leftMenu.filter(e=>!e.none).map((e,l)=>(0,n.jsx)(s.Fragment,{children:(0,n.jsx)("li",{className:"",children:(0,n.jsxs)(b.A,{href:e.href,className:m()("nav-link relative font-bold hover:text-purple-500",{"active text-purple-500":t==e.id},{"text-gray-700":t!=e.id}),dataRef:"nav_"+e.id,children:[(0,n.jsx)("span",{onClick:()=>{var t;return t=e.label,void(0,O.R)(U.Hb.CLICK_PORTAL_NAVIGATION_MENU,{page_location:x.asPath,btn_name:(e=>{switch(e){case"홈":return"Home";case"1:1 수업":return"1:1 Lessons";case"튜터":return"Tutors";case"콘텐츠":return"Content";case"학습 활동":return"Activities";default:return e}})(t),device_type:"pc_web"})},children:e.label}),"menu_original"===e.id&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"absolute hidden md:block",style:{to
1p:-18}})})]})})},l))})}),(0,n.jsx)(er.A,{h70:!0,clx:"flex justify-end items-center px-0 lgd:hidden",children:(0,n.jsxs)("ul",{className:"flex flex-row items-center",children:[(0,n.jsx)(ep,{currentUser:l}),o||(0,n.jsx)(Z.W,{as:"nav",className:"relative",children:e=>{var s,r,i,o,d;let{open:c}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Z.W.Button,{className:"flex items-center focus:outline-none",children:(0,n.jsxs)("a",{"data-ref":Q.J.btn_profile,className:"dropdown-toggle mobile-hidden relative flex cursor-pointer items-center justify-center lg:ml-24",children:[(null==l?void 0:l.image_url)?(0,n.jsxs)("div",{className:"relative flex items-center",children:[(0,n.jsx)(ea.A,{size:33,src:null==l?void 0:l.image_url,imgClass:"menu_mypage"==t?"selected-border":(null==l?void 0:l.by_parent)?"border-black bg-white border-2":"border-purple-500 bg-white border-2",className:"mx-8"}),g&&(0,n.jsx)("div",{style:{width:16,height:16,top:-5,right:2},className:"font-12 absolute flex items-center justify-center rounded-full bg-red-500 text-white",children:"N"})]}):(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)(e_,{color:(null==l?void 0:l.session_role)==a.yV.PARENT?"#2c3f58":null==l||null==(s=l.image_default)?void 0:s.color,initial:null==l||null==(r=l.image_default)?void 0:r.initial,name:null==l||null==(i=l.image_default)?void 0:i.name,clx:"mr-12 mt-0",isChild:!(null==l?void 0:l.by_parent),active:!0}),g&&!h.check_coupon&&(0,n.jsx)("div",{style:{width:16,height:16,top:-5,right:2},className:"font-12 absolute flex items-center justify-center rounded-full bg-red-500 text-white",children:"N"})]}),(0,n.jsxs)("div",{style:{maxWidth:"60px"},className:m()(c?"text-purple-500":"text-gray-700","text-truncate text-h5 username truncate font-medium"),children:[(null==l||null==(o=l.profile)?void 0:o.korean_name)||(null==l||null==(d=l.profile)?void 0:d.name)||(null==l?void 0:l.name),u(P.O4m.sir)]}),c?(0,n.jsx)(X.U7,{size:12,className:"ml-4 text-purple-500"}):(0,n.jsx)(X.nZ,{size:12,className:"ml-4 text-black"})]})}),(0,n.jsx)(Z.W.Items,{children:(0,n.jsx)(Z.W.Item,{children:(0,n.jsx)("li",{className:"nav-item dropdown z-9999 absolute flex items-center",style:{top:52,left:-160},children:(0,n.jsx)("div",{style:{width:320,maxHeight:"calc(100vh - 140px)",overflow:"auto",boxShadow:"0px 1px 3px 0 rgba(22, 28, 45, 0.12)"},className:"py-lg-4 mt-[12px] rounded-lg border border-gray-200 bg-white p-16 text-left",children:(0,n.jsx)(eh,{getStudentMyPage:_,showBadge:g,cookies:h})})})})})]})}})]})})]})})]})},eh=e=>{let{getStudentMyPage:t,showBadge:l,cookies:s}=e,{currentUser:r}=(0,K.iZ)(),a=(0,L.A)(),{t:i,locale:o}=(0,v.Ay)();return(0,n.jsxs)(n.Fragment,{children:[(null==r?void 0:r.is_ringle_member)&&(0,n.jsxs)("div",{style:{top:14,right:"-180px"},className:"absolute rounded-[8px] bg-white p-[10px]",children:[(0,n.jsx)("div",{className:"mb-[16px] text-[12px] font-medium",children:"Only Ringle Member"}),(0,n.jsx)(ei,{currentLang:o}),(0,n.jsx)("div",{className:"mt-[16px]",children:(0,n.jsx)(b.A,{href:y.A.student.newPortal.home,children:(0,n.jsx)(B.A,{borderGray300:!0,px12:!0,md:!0,primary:!0,py8:!0,border1:!0,fontSize12:!0,flex:!0,justifyCenter:!0,itemsCenter:!0,textGray600:!0,children:"New Portal"})})})]}),(0,n.jsx)(ej,{}),!(null==r?void 0:r.is_multicampus_member)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ef,{}),(0,n.jsx)(ey,{text:i(P.O4m.mypage.account)})]}),(0,n.jsx)(eg,{currentUser:r,getStudentMyPage:t,showBadge:l,cookies:s}),(0,n.jsx)(eb,{getStudentMyPage:t}),(0,n.jsx)(eN,{}),(0,n.jsx)("a",{onClick:a,className:"dropdown-item text-h5 mx-0 mt-4 cursor-pointer px-0 hover:text-purple-500",children:i(P.O4m.mypage.sign_out)})]})},ep=e=>{let{currentUser:t}=e,{locale:l}=(0,v.Ay)(),r=G();(0,ed.pE)(a.aK);let i=(0,ec.A)(e=>e.session.currentGeo),o=(0,s.useMemo)(()=>{let e=(null==i?void 0:i.country_code)||a.sJ.KR,t=e==a.sJ.KR?e:a.sJ.US,n=(0,ed.CK)(5e4,t,e!==a.sJ.KR);return(e===a.sJ.KR?(0,ed.N8)(n):(0,ed._w)(n,e,l))+"P"},[null==i?void 0:i.country_code,l]),d=(0,I.useRouter)();return(0,n.jsx)("div",{className:"flex items-center justify-between space-x-[20px]",children:!(null==t?void 0:t.is_multicampus_member)&&r.portalV2.rightMenu.map((e,t)=>(0,n.jsx)(Z.W,{as:"div",children:t=>{let{open:l}=t;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(Z.W.Button,{className:"flex items-center justify-center rounded-full py-8 text-sm focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2",children:(0,n.jsx)("span",{className:m()("text-h5 hover:text-purple-500 ",l?"text-purple-500":"text-gray-700"),children:(null==e?void 0:e.href)?(0,n.jsx)(b.A,{href:e.href,dataRef:e.id,children:(0,n.jsx)(eo.A,{className:m()("relative font-medium"),size:14,onClick:t=>{"menu_price"===(null==e?void 0:e.id)&&(d.asPath.includes("/portal/trial/complete")?(0,O.R)(U.Hb.CLICK_GNB_PURCHASE,{btn_name:"purchase",device_type:"pc_web",custom_page_title:"trial_complete"}):d.asPath.includes("/portal/welcome")&&(0,O.R)(U.Hb.CLICK_GNB_PURCHASE,{btn_name:"purchase",device_type:"pc_web",custom_page_title:"trial_welcome"}))},children:e.label})}):(0,n.jsxs)(eo.A,{className:"font-weight-normal relative",size:14,children:[e.label,e.showToolTip&&(0,n.jsx)(ex,{text:o,bgDanger:!0,isTop:!0,style:{fontSize:12,fontWeight:500,zIndex:10,top:8,left:-5}})]})})})})}},"".concat(t,"_student_menu")))})},ef=()=>{let{t:e}=(0,v.Ay)(),{currentUser:t}=(0,K.iZ)();return(0,n.jsx)(n.Fragment,{children:(null==t?void 0:t.user_info)?(null==t?void 0:t.user_info.status)==a.qF.START&&(0,n.jsxs)(b.A,{href:y.A.student.portal.mypage.profile,className:"my-12 flex w-full items-center rounded-md bg-gray-100 p-4 text-black",children:[(0,n.jsx)("div",{className:"text-h5 p-4",style:{maxWidth:240},children:e(P.psW.haven_t_completed_your_profile_yet_please_complete_your_profile_for_more_tailored_class_)}),(0,n.jsx)("div",{className:"ml-auto",children:(0,n.jsx)(X.hP,{className:"text-black"})})]}):(0,n.jsxs)(b.A,{href:y.A.student.portal.mypage.profile,className:"flex items-center bg-purple-500 p-4 text-gray-100",children:[(0,n.jsx)("div",{className:"text-h5",children:e(P.psW.complete_your_profile_and_earn_10_000p_your_profile_will_help_your_tutor_to_tailor_your_lesson_)}),(0,n.jsx)("div",{children:(0,n.jsx)(X.hP,{className:"text-gray-100"})})]})})},eg=e=>{let{getStudentMyPage:t,showBadge:l,cookies:s,currentUser:r}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"flex flex-col",children:t().filter(e=>1==e.floor).filter(e=>!e.none).map((e,t)=>(0,n.jsx)("div",{className:"dropdown-item text-h5 mx-0 mt-0 mb-8 px-0 text-black",children:(0,n.jsx)(b.A,{href:e.href,children:(0,n.jsxs)("div",{className:"flex items-center","data-ref":"menu_credit"===e.id?Q.J.btn_credits:null,children:[(0,n.jsx)("span",{className:"cursor-pointer",children:e.label}),"menu_coupon_box"==e.id&&l&&(0,n.jsx)("div",{className:"font-12 ml-2 flex items-center justify-center rounded-full bg-red-500 text-white",style:{width:16,height:16},children:"N"})]})})},t))}),(null==r?void 0:r.is_multicampus_member)||(0,n.jsx)(eN,{})]})},eb=e=>{let{getStudentMyPage:t,clx:l}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"flex flex-wrap",children:t().filter(e=>2==e.floor).filter(e=>!e.none).map((e,t)=>(0,n.jsx)(b.A,{className:m()("dropdown-item text-h5 mx-0 mt-0 mb-4 min-w-full px-0"),href:e.href,target:"menu_zoom"==e.id?"_blank":"_self",children:(0,n.jsx)("span",{className:m()(l),children:e.label})},t))})})},ej=()=>{let{currentUser:e}=(0,K.iZ)(),t=(0,M.Ay)();return(0,eu.K)(),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mt-[3px] flex w-full flex-col items-start justify-start",children:[(0,n.jsxs)("div",{className:"flex w-full flex-row items-center justify-between",children:[(0,n.jsxs)("div",{className:"flex flex-row items-center",children:[(0,n.jsx)(X.ds,{size:14,className:"text-purple-500"}),(0,n.jsx)("div",{className:"ml-[4px] text-[14px] font-medium text-purple-500",children:(e=>{switch(e){case"ko":return"한국어";case"en":return"English";case"zh_chs":return"中文(简体)";case"zh_cht":return"中文(繁體)";case"ja":return"日本語";case"vi":return"Tiếng Việt"}})(t.query.lang)})]}),(0,n.jsx)(B.A,{onClick:()=>{t.push(y.A.student.portal.mypage.language)},borderGray300:!0,px11:!0,py2:!0,border1:!0,fontSize12:!0,flex:!0,justifyCenter:!0,itemsCe
1nter:!0,textGray600:!0,children:"Edit"})]}),(0,n.jsxs)("div",{className:"mt-[12px] flex w-full flex-row items-center justify-between",children:[(0,n.jsxs)("div",{className:"flex flex-row items-center",children:[(0,n.jsx)("img",{src:R.oWq,className:"ml-[1px] h-[14px] w-[11px]"}),(0,n.jsx)("div",{className:"ml-[6px] text-[14px] font-medium text-purple-500",children:null==e?void 0:e.timezone})]}),(0,n.jsx)(B.A,{onClick:()=>t.push(y.A.student.portal.mypage.timezone),borderGray300:!0,px11:!0,py2:!0,border1:!0,fontSize12:!0,flex:!0,justifyCenter:!0,itemsCenter:!0,textGray600:!0,children:"Edit"})]})]}),(0,n.jsx)(eN,{})]})},ev=()=>{let{currentUser:e}=(0,K.iZ)(),t=G(),l=(0,L.A)(),{data:s}=(0,F.cB)({enabled:!!e}),r=(null==s?void 0:s.isB2CEligible)!==!1&&e&&e.discount_coupons.length>0,a=()=>(0,ed.P)(e)?t.portalV2.mypageMulticampus:t.portalV2.mypage,{t:i,locale:o}=(0,v.Ay)(),[c,u]=(0,d.A)(["locale","check_coupon"]);return(0,n.jsx)("li",{className:"nav-item dropdown z-9999 absolute flex items-center",style:{top:32,right:0},children:(0,n.jsxs)("div",{style:{width:190,maxHeight:"calc(100vh - 140px)",overflow:"auto",boxShadow:"0px 1px 3px 0 rgba(22, 28, 45, 0.12)"},className:"py-lg-4 rounded-lg border border-gray-200 bg-white p-16 text-left",children:[(0,n.jsx)("div",{className:"text-12 mb-8 text-gray-700",children:i(P.O4m.mypage.timezone_language)}),(0,n.jsxs)("div",{className:"mb-8 flex items-center justify-between",children:[(0,n.jsx)("div",{className:"text-h5",children:(0,ed.vY)(null==e?void 0:e.timezone)}),(0,n.jsx)(b.A,{href:y.A.student.portal.mypage.timezone,className:"text-12 capitalize text-gray-500",children:i(P.O4m.mypage.change)})]}),(0,n.jsx)(ei,{koEnOnly:!0,currentLang:o}),(0,n.jsx)(eN,{}),(0,n.jsx)("div",{className:"flex flex-wrap",children:t.portalV2.leftMenu.filter(e=>!e.none).map((e,t)=>(0,n.jsx)(b.A,{className:m()("dropdown-item text-h5 mx-0 mt-0 mb-4 min-w-full px-0 text-black"),href:e.href,children:e.label},t))}),(0,n.jsx)(eN,{}),!(null==e?void 0:e.is_multicampus_member)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ef,{}),(0,n.jsx)(eN,{})]}),(0,n.jsx)(ey,{text:i(P.O4m.mypage.account)}),(0,n.jsx)(eg,{currentUser:e,getStudentMyPage:a,showBadge:r,cookies:c}),(0,n.jsx)(eb,{getStudentMyPage:a}),(0,n.jsx)(eN,{}),(0,n.jsx)("div",{className:"flex flex-wrap",children:a().filter(e=>3===e.floor).filter(e=>!e.none).map((e,t)=>(0,n.jsx)(b.A,{className:m()("dropdown-item text-h5 mx-0 mt-0 mb-4 min-w-full px-0 text-black"),href:e.href,children:e.label},t))}),(0,n.jsx)("a",{onClick:l,className:"dropdown-item text-h5 mx-0 mt-4 cursor-pointer px-0 hover:text-purple-500",children:i(P.O4m.mypage.sign_out)})]})})},eN=()=>(0,n.jsx)("hr",{className:"my-16"}),ey=e=>{let{text:t}=e;return(0,n.jsx)("div",{className:"text-h6 mb-[8px] text-gray-700",children:t})},e_=e=>{let{isChild:t,active:l,color:s,initial:r,name:a,clx:i}=e;return(0,n.jsxs)("div",{className:m()(i,"flex cursor-pointer items-center gap-[12px]"),children:[(0,n.jsx)("div",{style:{background:"".concat(s)},className:m()({"border-2":l},{"border-black":!t&&l},{"border-purple-500":t&&l},"text-sBody flex h-[33px] w-[33px] items-center justify-center rounded-full text-white"),children:r}),a&&(0,n.jsx)("div",{className:m()(l&&"text-purple-500","text-h5 font-medium"),children:a})]})},eA=e=>{let{dashboard:t,portal:l,landing:r,noBanner:i,noShadow:o,pageName:c,pageDescription:u,noProfileMenu:x}=e,[g,b]=(0,s.useState)(!1),{currentUser:j}=(0,K.iZ)(),v=(0,s.useRef)(null),[N,y]=(0,s.useState)(70),[A,w]=(0,s.useState)(""),[E,C]=(0,d.A)(["is_close_early_promotion_banner"]),[I,O]=(0,s.useState)(!1);(0,s.useEffect)(()=>{b(window.innerWidth<576)},[]);let k=e=>{e.preventDefault(),C("is_close_early_promotion_banner",!0,a.vX),O(!1)};(0,s.useEffect)(()=>{let e=window.location.href;w(e.slice(e.lastIndexOf("/")+1))},[]);let T=!(0,ed.P)(j)&&!i&&I,M=!(0,ed.P)(j)&&!i&&I;return(0,n.jsxs)(f.A,{children:[(0,n.jsx)(h.Ay,{handleHeight:!0,onResize:(e,t)=>
1y(t),children:(0,n.jsx)(s.Fragment,{children:(0,n.jsxs)("div",{ref:v,"data-global-header":!0,style:{boxShadow:t&&"0 1px 3px 0 rgba(51, 52, 54, 0.12)"},className:m()([o?"":"shadow-light-lg shadow-sm",!t||g?"bg-white":"bg-gray-50"],"fixed-top fixed left-0 right-0 z-[111]"),children:[(0,n.jsx)("div",{className:"hidden sm:block",children:T&&(0,n.jsx)(_,{portal:l,handleClose:k,currentUser:j})}),(0,n.jsx)("div",{className:"block sm:hidden",children:M&&(0,n.jsx)(_,{portal:l,handleClose:k,currentUser:j})}),r&&(0,n.jsx)(es,{currentUser:j,isEventBannerOpen:T}),l&&(g?(0,n.jsx)(es,{currentUser:j,isEventBannerOpen:T}):(0,n.jsx)(em,{noBanner:i,noProfileMenu:x,activeId:l,currentUser:j,pageName:c,pageDescription:u}))]})})}),(0,n.jsx)(p.A,{h:N})]})};var ew=l(39624);let eE=()=>(0,n.jsx)("div",{style:{zIndex:9999},className:"fixed top-[10px] left-[10px] inline flex items-center justify-center rounded bg-yellow-500 bg-opacity-90 px-[12px] py-[4px] text-center text-[10px] text-white shadow",children:"(어드민으로 로그인됨- GTM,GA 트레킹 되지 않음)"}),eC=e=>{let{noMainMenu:t,portal:l,landing:i,ogData:x,noBanner:m,toast:h,children:p,noShadow:g,seoData:b,noProfileMenu:j,bgColor:N,pageName:y="",pageDescription:_="",channelTalk:A=!0}=e,{currentUser:w}=(0,K.iZ)(),[E,C]=(0,d.A)(["is_close_cookie_banner"]),[I,O]=(0,s.useState)(!1),k=(0,ew.A)(),{isLocaleKO:T}=(0,v.Ay)();return(0,s.useEffect)(()=>{(w&&(null==w?void 0:w.timezone)===a.w7||!w&&T)&&C("is_close_cookie_banner",!0,a.vX)},[null==w?void 0:w.timezone]),(0,s.useEffect)(()=>{var e,t;return A?(null==(e=window)||e.ChannelIO("showChannelButton"),()=>{var e;return null==(e=window)?void 0:e.ChannelIO("hideChannelButton")}):(null==(t=window)||t.ChannelIO("hideChannelButton"),()=>{var e;return null==(e=window)?void 0:e.ChannelIO("showChannelButton")})},[A]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o(),{className:"newTheme text-black ".concat(N||null)}),(0,n.jsx)(u.A,{ogData:x,seoData:b}),h&&(0,n.jsx)(r.N9,{style:{width:"370px",height:"36px",marginBottom:"64px"},toastClassName:" min-h-0 bg-black text-white px-8 text-center h4 text-sBody rounded flex bg-opacity-80",position:r.oR.POSITION.BOTTOM_CENTER,closeButton:!1,autoClose:3e3,hideProgressBar:!0,newestOnTop:!1,closeOnClick:!0,rtl:!1,draggable:!0,transition:r.q7,pauseOnHover:!0,enableMultiContainer:!0}),!t&&(0,n.jsx)(eA,{portal:l,landing:i,noBanner:m,noShadow:g,pageName:y,pageDescription:_,noProfileMenu:j}),p,(0,n.jsx)(f.A,{children:k&&(0,n.jsx)(eE,{})}),"true"!==E.is_close_cookie_banner&&i&&(0,n.jsx)(c.default,{handleClose:e=>{e.preventDefault(),C("is_close_cookie_banner",!0,a.vX),O(!1)}})]})}},64432:(e,t,l)=>{l.d(t,{A:()=>s});var n=l(80263);l(53239);let s=e=>{let{children:t}=e;return(0,n.jsx)("div",{children:t})}}}]);

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.