1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[91174,40337],{82244:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/re-license",function(){return t(27792)}])},27792:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return K}});var l=t(31549),n=t(44194),i=t(71291),a=t(61102),r=t(17094),c=t(71416),x=t.n(c),d=t(87265),o=t(18822),h=t(97547),m=t(52407),u=t(43761),j=t(704),p=t(23250),f=t(1739),N=t(81394),g=t(56693);let C=[{title:"íê³¼(í기) êµì¡",description:"íê³¼(í기) ìí ì ì´ì",time:"1ìê°",isTest:!1},{title:"íê³¼(í기) ìí",description:"ì ì² ë©´í ì¢
ë¥ì ë°ë¼ ìí",isTest:!0},{title:"ì¥ë´ê¸°ë¥ êµì¡",description:"êµì¡ ì´í ìí ê°ë¥",time:"2ìê°",isTest:!1},{title:"ì¥ë´ê¸°ë¥ ìí",description:"í©ê²© ì ìë 100ì ë§ì ì 80ì ",isTest:!0},{title:"ëë¡ì£¼í êµì¡",description:"íì ì½ì¤ë¥¼ ë°ë¼ ëë¡ì£¼í êµì¡ ì§í",time:"6ìê°",isTest:!1},{title:"ëë¡ì£¼í ìí",description:"í©ê²© ì ìë 100ì ë§ì ì 70ì ",isTest:!0}],y=()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h2",{className:"text-24-bold",children:"ë©´í ì¬ì·¨ë ê³¼ì "}),(0,l.jsx)(g.LZ,{className:"h-[16px]"}),(0,l.jsxs)("div",{className:"border-1 border-Gray-200 rounded-xl p-[16px]",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("p",{className:"text-16-normal-bold text-Green-600",children:"ì´ë° ë¶ì´ ì·¨ëí ì ìì´ì."}),(0,l.jsx)(g.JO,{icon:"check-outlined",size:24,className:"fill-Green-600"})]}),(0,l.jsx)(g.LZ,{className:"h-[8px]"}),(0,l.jsxs)("ul",{className:"text-16-normal-medium ml-24 list-disc",children:[(0,l.jsx)("li",{className:"text-14-normal-medium text-Gray-600",children:"ì´ì ë©´í 결격 기ê°ì´ ì§ëì¼ í©ëë¤."}),(0,l.jsx)(g.LZ,{className:"h-[4px]"}),(0,l.jsx)("li",{className:"text-14-normal-medium text-Gray-600",children:"í¹ë³ êµíµìì êµì¡ì ìë£í´ì¼ í©ëë¤."})]})]}),(0,l.jsx)(g.LZ,{className:"h-[32px]"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"text-18-bold",children:"ìì
구ì±"}),(0,l.jsx)(g.LZ,{className:"h-[16px]"}),(0,l.jsx)("div",{className:"flex flex-col gap-16",children:C.map((e,s)=>(0,l.jsxs)("div",{className:"flex items-start gap-12",children:[(0,l.jsx)("p",{className:"text-14-normal-bold text-Gray-600 bg-Gray-200 flex h-24 w-24 items-center justify-center rounded-full",children:s+1}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex items-center gap-8",children:[(0,l.jsx)("p",{className:"text-16-normal-bold",children:e.title}),e.time?(0,l.jsx)("p",{className:"text-14-normal-medium text-Purple-500",children:e.time}):e.isTest?(0,l.jsx)(g.__,{label:"ìí",styles:"filled-yellow"}):null]}),(0,l.jsx)(g.LZ,{className:"h-[4px]"}),(0,l.jsx)("ul",{className:"text-14-normal-medium text-Gray-600 list-inside list-disc",children:(0,l.jsx)("li",{children:e.description})})]})]},e.title))})]})]});var w=t(77820),v=t(27646),b=t(57148),L=t(50106),D=t(12242),_=t(40337);let G=()=>{let[e,s]=(0,n.useState)(null),[t,i]=(0,n.useState)(null),{startDate:a,endDate:r,setStartDate:c,setEndDate:x}=I(),{openToast:d}=(0,v.pm)();return(0,l.jsxs)(v.R1,{children:[(0,l.jsx)(v.XB,{className:"text-16-normal-medium text-Gray-400 w-full",children:(0,l.jsxs)("div",{className:(0,p.cn)("bg-Gray-50 border-1 border-Gray-200 flex justify-between rounded-[10px] px-16 py-12"),children:[(0,l.jsx)("p",{className:(0,p.cn)("text-16-normal-medium",a&&r&&"text-Gray-900 font-bold"),children:a&&r?"".concat((0,b.p)(a,"YY.MM.DD")," ~ ").concat((0,b.p)(r,"YY.MM.DD")):"í¬ë§ ìì
기ê°ì ì íí´ ì£¼ì¸ì."}),(0,l.jsx)(v.JO,{icon:"arrowdown-outlined",size:24,className:"fill-Gray-400"})]})}),(0,l.jsxs)(v.L8,{className:"focus-visible:outline-none",children:[(0,l.jsxs)(v.Cc,{children:[(0,l.jsx)(v.J0,{children:"ë ì§ ì í"}),(0,l.jsx)(v.W1,{children:"í¬ë§ ìì
ììì¼ì ì íí´ ì£¼ì¸ì."})]}),(0,l.jsx)(_.DateRangePicker,{setSelectedRange:()=>{},startDate:e,endDate:t,setStartDate:e=>s(e),setEndDate:e=>{i(e)},minDate:Z,headerStyle:"text-center"}),(0,l.jsx)(v.LZ,{className:"h-24"}),e&&(0,l.jsxs)("div",{className:"bg-Black-75 -mx-16 flex items-center gap-8 p-16 text-White-100",children:[(0,l.jsx)("p",{className:"text-Gray-300",children:"ì íí 기ê°"}),(0,l.jsxs)("p",{className:"text-16-normal-medium",children:[(0,b.p)(e,"YY.MM.DD")," ~ ",(0,b.p)(t,"YY.MM.DD")]})]}),(0,l.jsx)(v.W8,{children:(0,l.jsx)(v.ay,{children:(0,l.jsx)(v.Wv,{label:"ì í",styles:"filled-yellow",fill:!0,disabled:!e||!t,onClick:()=>
1{if(!e||!t){d({title:"ììì¼ê³¼ ì¢
ë£ì¼ì 모ë ì íí´ ì£¼ì¸ì."});return}c(e),x(t)}})})})]})]})},Z=(0,L.E)(new Date,1),R=()=>{let{lessonCode:e,setLessonCode:s}=I(),[t,i]=(0,D._)("user-info",{targetLicense:null,location:null});return(0,n.useEffect)(()=>{if(t){let{targetLicense:e}=t;"TWO_AUTO"===e?s("TWO_AUTO_RE"):"ONE_MANUAL"===e&&s("ONE_MANUAL_RE")}},[t]),(0,n.useEffect)(()=>{e&&m.g.매ì¶.fastLicenseAction("lessonCode",e)},[e]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h2",{className:"text-24-bold",children:"ë©´í ì¬ì·¨ë ì ì² â¡ï¸"}),(0,l.jsx)(v.LZ,{className:"h-[8px]"}),(0,l.jsx)("p",{className:"text-16-normal-medium text-Gray-500",children:"ìë ì 보를 ì
ë ¥íê³ ì ì²í´ 주ì¸ì."}),(0,l.jsx)(v.LZ,{className:"h-[32px]"}),(0,l.jsx)("p",{className:"text-16-normal-bold",children:"ë ì§ ì í"}),(0,l.jsx)(v.LZ,{className:"h-[16px]"}),(0,l.jsx)(G,{}),(0,l.jsx)(v.LZ,{className:"h-[32px]"}),(0,l.jsx)("p",{className:"text-16-normal-bold",children:"ë©´í ì¢
ë¥"}),(0,l.jsx)(v.LZ,{className:"h-[16px]"}),(0,l.jsxs)(v.R1,{children:[(0,l.jsx)(v.XB,{className:"text-16-normal-medium text-Gray-400 w-full",children:(0,l.jsxs)("div",{className:(0,p.cn)("bg-Gray-50 border-1 border-Gray-200 flex justify-between rounded-[10px] px-16 py-12"),children:[(0,l.jsx)("p",{className:(0,p.cn)("text-16-normal-medium",e&&"text-Gray-900 font-bold"),children:e?new w.ODS(e).lessonText:"ë©´í ì¢
ë¥ë¥¼ ì íí´ ì£¼ì¸ì."}),(0,l.jsx)(v.JO,{icon:"arrowdown-outlined",size:24,className:"fill-Gray-400"})]})}),(0,l.jsxs)(v.L8,{className:"focus-visible:outline-none",children:[(0,l.jsx)(v.Cc,{children:(0,l.jsx)(v.J0,{children:"ë©´í ì¢
ë¥"})}),["TWO_AUTO_RE","ONE_MANUAL_RE"].map(t=>(0,l.jsx)(v.ay,{asChild:!0,children:(0,l.jsxs)("button",{className:"flex cursor-pointer items-center justify-between py-16",onClick:()=>{s(t)},children:[(0,l.jsx)("p",{className:"text-16-normal-medium",children:new w.ODS(t).lessonText}),e===t&&(0,l.jsx)(v.JO,{icon:"check-outlined",className:"fill-Purple-500",size:24})]})},t)),(0,l.jsx)(v.LZ,{className:"h-[64px]"})]})]})]})};var S=t(95051),M=t.n(S);let T=[{icon:(0,l.jsx)("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("g",{id:"Frame 49730",children:(0,l.jsx)("path",{id:"Vector 177",d:"M18.8497 1.5H11.7825C11.5262 1.5 11.2925 1.62046 11.1807 1.81015L4.06784 13.8777C3.85248 14.2431 4.17604 14.6679 4.66969 14.6679H9.32704C9.77138 14.6679 10.0922 15.0177 9.97018 15.3691L7.39164 22.7957C7.18723 23.3844 8.12905 23.7662 8.5722 23.2743L19.8673 10.7358C20.1944 10.3727 19.8793 9.85807 19.3299 9.85807H15.4714C14.9613 9.85807 14.6389 9.40714 14.8869 9.04044L19.4342 2.31763C19.6823 1.95093 19.3599 1.5 18.8497 1.5Z",fill:"#FFF613"})})}),title:"ë¹ ë¥¸ ì¬ì·¨ë ê°ë¥",description:"ë¹ì¼ êµì¡ ë°ê³ ë°ë¡ ìí ë³¼ ì ìì´ì."},{icon:(0,l.jsx)("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("g",{id:"Icon/Normal/Mapmark",children:(0,l.jsx)("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M2.77998 10.881C2.61198 6.50901 5.60599 2.49001 9.87599 1.53701V1.53801C15.898 0.193011 21.231 4.73801 21.231 10.528C21.231 14.11 19.199 17.182 12.715 23.415C12.318 23.796 11.684 23.794 11.288 23.414C5.01898 17.387 2.91198 14.315 2.77998 10.881ZM10.0473 12.4659C10.3049 12.7186 10.6102 12.9174 10.9455 13.0506C11.2808 13.1839 11.6393 13.2489 12 13.242C12.7106 13.2284 13.3876 12.9365 13.8853 12.4291C14.3831 11.9217 14.6619 11.2393 14.6619 10.5285C14.6619 9.81773 14.3831 9.13532 13.8853 8.62793C13.3876 8.12054 12.7106 7.82865 12 7.81501C11.6393 7.80809 11.2808 7.87315 10.9455 8.00641C10.6102 8.13967 10.3049 8.33843 10.0473 8.59109C9.78976 8.84375 9.58516 9.14523 9.44549 9.47789C9.30583 9.81055 9.23389 10.1677 9.23389 10.5285C9.23389 10.8893 9.30583 11.2465 9.44549 11.5
1791C9.58516 11.9118 9.78976 12.2133 10.0473 12.4659Z",fill:"#1FCF6A"})})}),title:"ìíì¥ì ë¹í´ ì¢ì ì ê·¼ì±",description:"ë¬´ë£ ì
íë ì´ì© ê°ë¥í´ì."},{icon:(0,l.jsxs)("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"24",height:"25",fill:"#F5F5F5"}),(0,l.jsxs)("g",{id:"\xeb\xa9\xb4\xed\x97\x88 \xec\x9e\xac\xec\xb7\xa8\xeb\x93\x9d",clipPath:"url(#clip0_2_33)",children:[(0,l.jsx)("rect",{width:"360",height:"2079",transform:"translate(-16 -548)",fill:"white"}),(0,l.jsx)("g",{id:"Frame 49817",children:(0,l.jsx)("g",{id:"Frame 49816",children:(0,l.jsxs)("g",{id:"icon",children:[(0,l.jsx)("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M18.07 3.29999V2.29999C18.07 2.03477 17.9646 1.78042 17.7771 1.59288C17.5896 1.40534 17.3352 1.29999 17.07 1.29999C16.8048 1.29999 16.5504 1.40534 16.3629 1.59288C16.1753 1.78042 16.07 2.03477 16.07 2.29999V3.29999H7.92999V2.29999C7.92999 2.03477 7.82463 1.78042 7.63709 1.59288C7.44956 1.40534 7.1952 1.29999 6.92999 1.29999C6.66477 1.29999 6.41042 1.40534 6.22288 1.59288C6.03534 1.78042 5.92999 2.03477 5.92999 2.29999V3.29999H4.29999C3.76956 3.29999 3.26085 3.5107 2.88577 3.88577C2.5107 4.26085 2.29999 4.76955 2.29999 5.29999V20.7C2.29999 21.2304 2.5107 21.7391 2.88577 22.1142C3.26085 22.4893 3.76956 22.7 4.29999 22.7H19.7C20.2304 22.7 20.7391 22.4893 21.1142 22.1142C21.4893 21.7391 21.7 21.2304 21.7 20.7V5.29999C21.7 4.76955 21.4893 4.26085 21.1142 3.88577C20.7391 3.5107 20.2304 3.29999 19.7 3.29999H18.07Z",fill:"#F6F6F3"}),(0,l.jsx)("path",{id:"Vector_2",d:"M21.6998 8.5H2.2998V5.2998C2.2998 4.76937 2.51052 4.26066 2.88559 3.88559C3.26066 3.51052 3.76937 3.2998 4.2998 3.2998H5.9298V2.2998C5.9298 2.03459 6.03516 1.78023 6.2227 1.5927C6.41023 1.40516 6.66459 1.2998 6.9298 1.2998C7.19502 1.2998 7.44938 1.40516 7.63691 1.5927C7.82445 1.78023 7.9298 2.03459 7.9298 2.2998V3.2998H16.0698V2.2998C16.0698 2.03459 16.1752 1.78023 16.3627 1.5927C16.5502 1.40516 16.8046 1.2998 17.0698 1.2998C17.335 1.2998 17.5894 1.40516 17.7769 1.5927C17.9644 1.78023 18.0698 2.03459 18.0698 2.2998V3.2998H19.6998C20.2302 3.2998 20.7389 3.51052 21.114 3.88559C21.4891 4.26066 21.6998 4.76937 21.6998 5.2998V8.5Z",fill:"#FF5C5D"}),(0,l.jsx)("path",{id:"Vector_3",fillRule:"evenodd",clipRule:"evenodd",d:"M11.6228 18.499C11.4353 18.6865 11.181 18.7918 10.9158 18.7918C10.6507 18.7918 10.3963 18.6865 10.2088 18.499L6.79282 15.082C6.69997 14.9892 6.62633 14.879 6.57608 14.7577C6.52583 14.6364 6.49997 14.5063 6.49997 14.375C6.49997 14.2437 6.52583 14.1137 6.57608 13.9924C6.62633 13.8711 6.69997 13.7609 6.79282 13.668C6.88566 13.5752 6.99589 13.5015 7.11719 13.4513C7.2385 13.4011 7.36852 13.3752 7.49982 13.3752C7.63112 13.3752 7.76114 13.4011 7.88244 13.4513C8.00375 13.5015 8.11397 13.5752 8.20682 13.668L10.9158 16.377L15.7928 11.501C15.8857 11.4082 15.9959 11.3345 16.1172 11.2843C16.2385 11.2341 16.3685 11.2082 16.4998 11.2082C16.6311 11.2082 16.7611 11.2341 16.8824 11.2843C17.0038 11.3345 17.114 11.4082 17.2068 11.501C17.2997 11.5939 17.3733 11.7041 17.4236 11.8254C17.4738 11.9467 17.4997 12.0767 17.4997 12.208C17.4997 12.3393 17.4738 12.4694 17.4236 12.5907C17.3733 12.712 17.2997 12.8222 17.2068 12.915L11.6228 18.499Z",fill:"#FF5C5D"})]})})})]}),(0,l.jsx)("defs",{children:(0,l.jsx)("clipPath",{id:"clip0_2_33",children:(0,l.jsx)("rect",{width:"360",height:"2079",fill:"white",transform:"translate(-16 -548)"})})})]}),title:"ì£¼ë§ ìí ê°ë¥",description:"ë©´í ìíì¥ì 주ë§ì ì´ìíì§ ììì."},{icon:(0,l.jsx)("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsxs)("g",{id:"Icon/Normal/Content",children:[(0,l.jsx)("path",{id:"Vector",d:"M2.59998 6.09998C2.59998 4.44312 3.94312 3.09998 5.59998 3.09998H18.4C20.0568 3.09998 21.4 4.44312 21.4 6.09998V18.9C21.4 20.5568 20.0568 21.9 18.4 21.9H5.59998C3.94312 21.9 2.59998 20.5568 2.59998 18.9V6.09998Z",fill:"#F6F6F3"}),(0,l.jsxs)("g",{id:"Union",children:[(0,l.jsx)("path",{d:"M6.83923 14.5C6.42502 14.5 6.08923 14.8358 6.08923 15.25C6.08923 15.6642 6.42502 16 6.83923 16L13.4745 16C13.8887 16 14.2245 15.6642 14.2245 15.25C14.2245 14.8358 13.8887 14.5 13.4745 14.5H6.83923Z",fill:"#0069DC"}
1),(0,l.jsx)("path",{d:"M6.83923 16.9108C6.42502 16.9108 6.08923 17.2465 6.08923 17.6608C6.08923 18.075 6.42502 18.4108 6.83923 18.4108L9.97257 18.4108C10.3868 18.4108 10.7226 18.075 10.7226 17.6608C10.7226 17.2465 10.3868 16.9108 9.97257 16.9108L6.83923 16.9108Z",fill:"#0069DC"}),(0,l.jsx)("path",{d:"M6.83923 12C6.42502 12 6.08923 12.3358 6.08923 12.75C6.08923 13.1642 6.42502 13.5 6.83923 13.5L13.4745 13.5C13.8887 13.5 14.2245 13.1642 14.2245 12.75C14.2245 12.3358 13.8887 12 13.4745 12H6.83923Z",fill:"#0069DC"})]})]})}),title:"ì´ì ë³´ë¤ ì´ë ¤ìì§ ìí",description:"ì½ê² ìê°íë¤ê°ë ë¶í©ê²©í ì ìì´ì."}],O=()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.L,{className:"h-[24px]"}),(0,l.jsxs)("h1",{className:"text-24-bold",children:["ë©´í ì¬ì·¨ë,",(0,l.jsx)("br",{}),"ìíì¥ë³´ë¤ íìì ê°ì¼ íë ì´ì "]}),(0,l.jsx)(d.L,{className:"h-[24px]"}),(0,l.jsx)(M(),{src:"/re-license/main.png",alt:"ì´ì ë©´í ë¹ ë¥´ê² ë°ê¸° ì´ë¯¸ì§",width:525,height:540,className:"h-[180px] w-[175px] self-center"}),(0,l.jsx)(d.L,{className:"h-[24px]"}),(0,l.jsx)("div",{className:"flex flex-col gap-16",children:T.map(e=>(0,l.jsxs)("div",{className:"flex items-center gap-16",children:[e.icon,(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)("h4",{className:"text-16-normal-bold",children:e.title}),(0,l.jsx)("p",{className:"text-14-normal-medium text-Gray-600",children:e.description})]})]},e.title))})]}),I=(0,f.Ue)(e=>({startDate:null,endDate:null,lessonCode:null,setStartDate:s=>e({startDate:s}),setEndDate:s=>e({endDate:s}),setLessonCode:s=>e({lessonCode:s})})),k=e=>{let{onNext:s}=e,{startDate:t,endDate:i,lessonCode:a}=I(),r=(0,n.useRef)(null),{openToast:c}=(0,u.pm)();return(0,l.jsxs)("div",{className:"flex flex-col px-16",children:[(0,l.jsx)(O,{}),(0,l.jsx)(u.LZ,{className:"h-[40px]"}),(0,l.jsx)(u.iz,{className:"bg-Gray-100 mx-[-16px] h-[8px]"}),(0,l.jsx)(u.LZ,{className:"h-[40px]"}),(0,l.jsx)(y,{}),(0,l.jsx)(u.LZ,{className:"h-[40px]"}),(0,l.jsx)(u.iz,{className:"bg-Gray-100 mx-[-16px] h-[8px]"}),(0,l.jsx)(u.LZ,{className:"h-[40px]"}),(0,l.jsx)("div",{ref:r,children:(0,l.jsx)(R,{})}),(0,l.jsx)(u.LZ,{className:"h-[40px]"}),(0,l.jsxs)("div",{className:"bg-Gray-100 mx-[-16px] px-[16px]",children:[(0,l.jsx)(u.LZ,{className:"h-[32px]"}),(0,l.jsx)("h3",{className:"text-18-bold",children:"íì ê°ê¸° ì , ì±ê¸¸ ì¤ë¹ë¬¼"}),(0,l.jsx)(u.LZ,{className:"h-[16px]"}),(0,l.jsxs)("ul",{className:"text-14-normal-medium text-Gray-600 list-inside list-disc",children:[(0,l.jsx)("li",{children:"ì ë¶ì¦"}),(0,l.jsx)(u.LZ,{className:"h-[4px]"}),(0,l.jsx)("li",{children:"ì¶ê° ë¹ì© ë±ì ê²°ì 를 ìí íê¸ì´ë ì¹´ë"}),(0,l.jsx)(u.LZ,{className:"h-[4px]"}),(0,l.jsx)("li",{children:"ì»¬ë¬ ì¦ëª
ì¬ì§ 3ì¥"}),(0,l.jsx)(u.LZ,{className:"h-[4px]"}),(0,l.jsx)("li",{children:"ì´ì ê²½ë ¥ì¦ëª
ì"}),(0,l.jsx)(u.LZ,{className:"h-[80px]"})]})]}),(0,l.jsx)(u.LZ,{className:(0,j.c)({isIOSApproaching:!0})?"h-[94px]":"h-[74px]"}),(0,l.jsx)("div",{className:(0,p.cn)("fixed bottom-0 left-0 z-50 w-full bg-White-100 px-16 py-10 shadow-[0px_-4px_16px_0px_rgba(0,0,0,0.06)]",(0,j.c)({isIOSApproaching:!0})&&"pb-[32px]"),children:(0,l.jsx)(u.Wv,{label:"ë¤ì",fill:!0,onClick:()=>{if(m.g.매ì¶.reLicenseAction("next_click"),!t||!i||!a){var e;null===(e=r.current)||void 0===e||e.scrollIntoView({behavior:"smooth"}),c({title:"ì 보를 ì
ë ¥íê³ ì ì²í´ 주ì¸ì."});return}s({lessonCode:a,dateRange:{startDate:t,endDate:i},academyId:"Grp2b7xJ160QFafLRb9C"})}})}),(0,l.jsx)(N.N2,{pageName:"ë©´í ì¬ì·¨ë",children:(0,l.jsxs)("button",{type:"button",className:(0,p.cn)("w-54 h-54 text-White-100 text-11-bold bg-Black-75 fixed right-[24px] z-20 flex flex-col items-center justify-center rounded-[18px] shadow-[0_0_8px_rgba(0,0,0,0.1)]",(0,j.c)({isIOSApproaching:!0})?"bottom-[118px]":"bottom-[96px]"),onClick:()=>
1{m.g.매ì¶.reLicenseAction("inquiry_click")},children:[(0,l.jsx)(u.JO,{icon:"headphone-outlined",width:24,height:24,className:"fill-White-100"}),"문ìí기"]})})]})};var F=t(40539),W=t(6485),E=t(44307),J=t(956),V=t(14420),z=t(45734),A=t(82516);let Y=()=>(0,l.jsx)("svg",{width:"3",height:"3",viewBox:"0 0 3 3",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("circle",{id:"Ellipse 345",cx:"1.5",cy:"1.5",r:"1.5",fill:"#242523"})}),B={WD3cKGbZkNJAdjRpaMHr:{shuttleText:"ê°ë³ììì ì½ 90ë¶ ìì",shuttlePickup:"ê°ë³ì 3ë² ì¶êµ¬ ë§ìí¸\nê°ë³ ê³ ìë²ì¤í°ë¯¸ë 주차ì¥",shuttleStartTime:"ê°ë³ì ì¤ì 7ì30ë¶",shuttleEndTime:"ê°ë³ì ì¤í 6ì30ë¶"},Grp2b7xJ160QFafLRb9C:{shuttleText:"ì°ì ë´ììì ì½ 45ë¶ ìì",shuttlePickup:"ì°ì ë´ì 4ë² ì¶êµ¬ ì",shuttleStartTime:"ì°ì ë´ì ì¤ì 8ì",shuttleEndTime:"ì°ì ë´ì ì¤í 6ì"},lg1r3LDGLSnwwT5pJtIQ:{shuttleText:"ë§í¬ììì ì½ 45ë¶ ìì",shuttlePickup:"ë§í¬ì 4ë² ì¶êµ¬ ì",shuttleStartTime:"ë§í¬ì ì¤ì 8ì",shuttleEndTime:"ë§í¬ì ì¤í 6ì"}},H=()=>{let{academy:e,selectedRange:s,lessonInfo:t}=(0,W.l8)(),n=(0,A.n)("/academy/[id]"),i=e&&B[e.id];if(!e||!s||!t||!i)return;let{images:a}=e;return(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("h1",{className:"text-22-bold",children:"íì ì ë³´"}),(0,l.jsx)(z.L,{className:"h-4"}),(0,l.jsx)("p",{className:"text-14-normal-medium text-Gray-500",children:"ì¬ì·¨ë ê³¼ì ì í¨ê»í íì ì ë³´ìì."}),(0,l.jsx)(z.L,{className:"h-16"}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsxs)("article",{className:"flex items-center gap-16",children:[a.length>0?(0,l.jsx)(M(),{src:a[0],width:72,height:72,alt:"íì íë¡í ì´ë¯¸ì§",className:"!h-[72px] !w-[72px] rounded-[10px] object-cover"}):(0,l.jsx)("div",{className:"bg-Gray-100 text-Gray-400 flex h-72 w-72 items-center justify-center rounded-[10px]"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-16-normal-bold",children:e.displayName}),(0,l.jsxs)("div",{className:"text-14-normal-medium flex items-center gap-4",children:[(0,l.jsx)("p",{children:"ë©´í ì¬ì·¨ë"}),(0,l.jsx)(Y,{}),(0,l.jsx)("p",{children:new w.ODS(t.lessonCode).license})]})]})]}),(0,l.jsx)("div",{onClick:async()=>
1{m.g.매ì¶.reLicenseAction("reservation_go_to_academy_detail"),await n("cta-disabled",{url:"/academy/".concat(e.id)})},children:(0,l.jsx)(z.W,{size:"small",styles:"filled-gray",label:"ìì¸",className:""})})]})]})};var P=t(69869);let U=()=>{var e;let{academy:s,selectedTime:t,selectedRange:n,lessonInfo:i}=(0,W.l8)((0,P.N)(e=>({academy:e.academy,selectedTime:e.selectedTime,selectedRange:e.selectedRange,lessonInfo:e.lessonInfo}))),{user:a}=(0,w.pgb)();if(!s||!i)return null;let r=i.lessonName,{name:c,isSimulation:x,displayName:o}=s;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h4",{className:"text-22-bold text-Gray-900",children:"ìì½ ì ë³´"}),(0,l.jsx)(d.L,{className:"h-16"}),(0,l.jsxs)("div",{className:"flex gap-8",children:[(0,l.jsxs)("div",{className:"text-14-normal-medium flex w-[62px] flex-col gap-12",children:[(0,l.jsx)("span",{className:"text-Gray-500",children:"ìì½ìëª
"}),(0,l.jsx)("span",{className:"text-Gray-500",children:"ìì½ ".concat(x?"ìí":"ìì
")}),(0,l.jsx)("span",{className:"text-Gray-500",children:"ìì½ ë ì§"})]}),(0,l.jsxs)("div",{className:"text-14-normal-medium flex flex-col gap-12",children:[(0,l.jsx)("span",{className:"text-Gray-900",children:null!==(e=null==a?void 0:a.realName)&&void 0!==e?e:"-"}),(0,l.jsx)("span",{className:"text-Gray-900",children:r}),(0,l.jsxs)("span",{className:"text-Gray-900",children:[t&&"".concat((0,b.p)(t.date,"YY.MM.DD")," ").concat(t.startEndString),n&&(x?(0,b.p)(n.startDate,"YY.MM.DD"):"".concat((0,b.p)(n.startDate,"YY.MM.DD")," ~ ").concat((0,b.p)(n.endDate,"YY.MM.DD")))]})]})]})]})},X=e=>{let{lessonCode:s,dateRange:t,academyId:n}=e,{data:i}=(0,w.kB3)(n),a=null==i?void 0:i.lessons.find(e=>e.code===s);return i&&a?(0,l.jsx)("div",{className:"px-16",children:(0,l.jsx)(W.y2,{academy:i,lessonInfo:{...a.lessonInfo,lessonName:"ë©´í ì¬ì·¨ë / ".concat(new w.ODS(a.code).license)},selectedTime:null,selectedRange:new F.oF(t),children:e=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(J.s,{className:"pt-24",children:(0,l.jsx)(H,{})}),(0,l.jsx)(J.s,{children:(0,l.jsx)(U,{})}),(0,l.jsx)(J.s,{ref:s=>{s&&(e.current.userInfo=s)},children:(0,l.jsx)(V.ao,{})}),(0,l.jsx)(J.s,{ref:s=>{s&&(e.current.visitorInfo=s)},children:(0,l.jsx)(E.VU,{addressInput:!0})}),(0,l.jsx)(J.s,{children:(0,l.jsx)(E.Ij,{})}),(0,l.jsx)(J.s,{children:(0,l.jsx)(E.F6,{})}),(0,l.jsx)(J.s,{children:(0,l.jsx)(E.bz,{})}),(0,l.jsx)(d.L,{className:"h-32"}),(0,l.jsx)("div",{ref:s=>{s&&(e.current.agreement=s)},children:(0,l.jsx)(E.Vb,{})}),(0,l.jsx)(d.L,{className:"h-20"}),(0,l.jsxs)("div",{className:"bg-Gray-50 w-full rounded-xl p-20",children:[(0,l.jsx)("div",{className:"text-16-normal-bold text-Gray-900",children:"íë¶ ì ì±
"}),(0,l.jsxs)("ul",{className:"text-14-normal-medium py-6",children:[(0,l.jsxs)("li",{children:[(0,l.jsx)("span",{className:"text-Gray-600",children:"\xb7 ìì
2ì¼ ì ê¹ì§ ì·¨ì : "}),(0,l.jsx)("span",{className:"text-Red-400",children:"ì ì¡ íë¶"})]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("span",{className:"text-Gray-600",children:"\xb7 ìì
1ì¼(24ìê°) ì ~ë¹ì¼ ì·¨ì: "}),(0,l.jsx)("span",{className:"text-Red-400",children:"5ë§ì ê³µì í íë¶"})]})]}),(0,l.jsx)("div",{className:"text-12-medium text-Gray-500",children:"* ì íë¶ ì ì±
ì ì´ì ì ì íë«í¼ì 기ì¤ì´ë©°, ì¤ì íë¶ì ê° ì´ì ë©´ííìì ìì²´ ê·ì ì´ ì°ì ì ì©ë ì ììµëë¤."})]}),(0,l.jsx)(d.L,{className:"h-80"}),(0,l.jsx)(d.L,{className:"h-73"}),(0,l.jsx)("div",{className:"fixed bottom-0 z-50 mx-[-16px] flex w-full bg-White-100 px-16 py-10 shadow-[0px_-4px_16px_0px_rgba(0,0,0,0.06)]",children:(0,l.jsx)(E.qc,{requiredComponents:e.current,overrideApplicationMode:"re-license"})})]})})}):null},q=()=>(0,l.jsx)("div",{className:"fixed z-[1000] mt-[-52px] h-[calc(100dvh+52px)] w-full bg-White-100",children:(0,l.jsxs)("div",{className:"absolute-center flex flex-col items-center",children:[(0,l.jsx)("p",{className:"text-18-bold whitespace-nowrap text-center",children:"ì ì² ê°ë¥í íìì ì°¾ê³ ìì´ì!"}),(0,l.jsx)(d.L,{className:"h-4"}),(0,l.jsx)("p",{className:"text-14-normal-medium text-Gray-500",children:"ì ìë§ ê¸°ë¤ë ¤ì£¼ì
1¸ì."}),(0,l.jsx)(d.L,{className:"h-32"}),(0,l.jsx)(o.q,{path:"/location-lottie.json",size:{width:128,height:128}})]})}),$=()=>{let e=(0,h.G$)({id:"fast-license",initial:{step:"ëë©",context:{lessonCode:null,dateRange:null}}}),[s,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(s){let e=setTimeout(()=>{t(!1)},3e3);return()=>clearTimeout(e)}},[s]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(h.St,{text:"ëë©"===e.step?"ë©´í ì¬ì·¨ë":"ì ì²"===e.step?"ê²°ì ":""}),s&&(0,l.jsx)(q,{}),(0,l.jsx)("div",{className:"scrollbar-all-hide overflow-y-auto overflow-x-hidden",children:(0,l.jsx)(e.Render,{ëë©:e=>{let{history:s}=e;return(0,l.jsx)(k,{onNext:e=>{let{lessonCode:l,dateRange:n,academyId:i}=e;t(!0),s.push("ì ì²",{lessonCode:l,dateRange:n,academyId:i},{shallow:!0,scroll:!1})}})},ì ì²:e=>{let{context:s}=e;return(0,l.jsx)(X,{lessonCode:s.lessonCode,dateRange:s.dateRange,academyId:s.academyId})}})})]})};var Q=t(36797),K=()=>{let e=(0,Q.Z)({title:"ì´ì ë©´í, ë¹ ë¥´ê² ì¬ì·¨ëí기",text:"ì´ì ì ììì ë¹ ë¥´ê² ë©´í를 ì¬ì·¨ëí ì ìì´ì!"}),s=(0,r.b9)(i._z);return(0,n.useEffect)(()=>{s({rightItems:[(0,l.jsx)(a.J,{icon:"share-black-24",onClick:e},"share")]})},[]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(x(),{children:[(0,l.jsx)("title",{children:"ì´ì ë©´í, ë¹ ë¥´ê² ì¬ì·¨ëí기 | ì´ì ì ì"},"title"),(0,l.jsx)("meta",{name:"title",content:"ì´ì ë©´í, ë¹ ë¥´ê² ì¬ì·¨ëí기 | ì´ì ì ì"},"meta-title"),(0,l.jsx)("meta",{property:"og:title",content:"ì´ì ë©´í, ë¹ ë¥´ê² ì¬ì·¨ëí기 | ì´ì ì ì"},"meta-og-title"),(0,l.jsx)("meta",{property:"og:description",content:"ì´ì ì ììì ë¹ ë¥´ê² ë©´í를 ì¬ì·¨ëí ì ìì´ì!"},"meta-og-description"),(0,l.jsx)("meta",{name:"description",content:"ì´ì ì ììì ë¹ ë¥´ê² ë©´í를 ì¬ì·¨ëí ì ìì´ì!"},"meta-description"),(0,l.jsx)("meta",{name:"keywords",content:"ì´ì ë©´íì·¨ì,ì´ì ë©´íì¬ì·¨ë,ì´ì ë©´íê²½ë ¥ì,ì주ì´ì ,ëíì´ì ,ë³´ë³µì´ì ,ì´ì ë©´íê²½ë ¥ì,í¹ë³êµíµìì êµì¡,ì´ì ë©´í결격기ê°,ë©´íì¬ë°ê¸,ì¬ì·¨ëì ì°¨,ì´ì ë©´íìíì¥"},"meta-keywords")]}),(0,l.jsx)($,{})]})}},6485:function(e,s,t){"use strict";t.d(s,{Mx:function(){return C},TZ:function(){return r.TZ},O:function(){return g.O},nt:function(){return r.nt},jo:function(){return g.jo},x:function(){return r.x},us:function(){return r.us},c6:function(){return g.c6},Bu:function(){return g.Bu},y2:function(){return g.y2},zt:function(){return g.zt},xv:function(){return r.xv},_T:function(){return g._T},p2:function(){return g.p2},NW:function(){return g.NW},GY:function(){return g.GY},l8:function(){return g.l8}});
1var l=t(31549),n=t(29806),i=t(22457),a=t(17656),r=t(60853),c=t(50060),x=t(97658),d=t(29233),o=t.n(d),h=t(81394),m=t(17094),u=t(21541),j=t(85089);let p=e=>{let{title:s,description:t,...n}=e;return(0,l.jsxs)("article",{...n,className:"bg-Gray-50 flex cursor-pointer items-center justify-between rounded-xl px-16 py-20",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-14-normal-bold",children:s}),(0,l.jsx)(c.LZ,{className:"h-[4px]"}),(0,l.jsx)("p",{className:"text-12-medium text-Gray-500",children:t})]}),(0,l.jsx)(c.JO,{icon:"arrowright-outlined",size:16,className:"fill-Gray-400"})]})},f=()=>{let{academy:e,currentScreen:s}=(0,j.eI)(),t=(0,m.Dv)(u.L6),n=(0,m.b9)(u.$g),i=(0,c.Ir)();if(!t||!e||(0,x.Z)(s)||"RegistTypeSelect"===s)return null;let{name:a}=e;return(0,l.jsxs)("button",{className:"bg-Gray-100 flex w-full justify-between px-16 py-10",onClick:()=>{i.open(s=>{let{isOpen:t,close:i}=s;return(0,l.jsx)(c.R1,{open:t,onOpenChange:e=>!e&&i(),children:(0,l.jsxs)(c.L8,{children:[(0,l.jsxs)(c.Cc,{children:[(0,l.jsx)(c.J0,{children:"ìì½ ì , ê¶ê¸í ê² ìë¤ë©´?"}),(0,l.jsx)(c.W1,{children:"ì´ì ì ìì´ ëìë릴ê²ì!"})]}),(0,l.jsxs)("div",{className:"mt-19",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,l.jsx)("div",{className:"shrink-0",children:(0,l.jsx)(o(),{href:"/academy/".concat(null==e?void 0:e.id),replace:!0,onClick:()=>{n(window.location.href)},children:(0,l.jsx)(p,{title:"\uD83E\uDDD0 íì ì ë³´ ë ìì보기",description:"ìê°ìë¤ì ìì§í í기ë ë³¼ ì ìì´ì."})})}),(0,l.jsx)("div",{className:"shrink-0",children:(0,l.jsx)(h.N2,{pageName:"íììì¸"+e.id,tags:["íì ííì´ì§"],academyId:e.id,children:(0,l.jsx)(p,{title:"\uD83D\uDCAC ì±í
ì¼ë¡ 문ìí기",description:"문ì를 ë¨ê²¨ì£¼ìë©´, ì¤ìê°ì¼ë¡ ëµë³í´ëë ¤ì."})})})]}),(0,l.jsx)(c.LZ,{className:"h-[16px]"})]})]})})})},children:[(0,l.jsxs)("p",{className:"text-14-normal-medium",children:["\uD83E\uDDD0",(0,l.jsxs)("span",{className:"text-14-normal-bold",children:[" ",a," íì"]}),"ì ëí´ ê¶ê¸í ê² ìë¤ë©´?"]}),(0,l.jsx)(c.JO,{icon:"arrowright-outlined",size:20,className:"fill-Gray-400"})]})};var N=t(87344),g=t(14454);let C=()=>{let e=(0,j.$r)();(0,j.Sc)(),(0,j.p_)();let{academy:s,isLoading:t,lessonInfo:c,selectedTime:x,selectedRange:d}=(0,j.eI)(),{currentScreen:o}=(0,i.ns)({screens:e});return t||!s?(0,l.jsx)(n.g,{}):(0,l.jsxs)(a.o,{children:[(0,l.jsx)(r.TZ,{}),(0,l.jsx)(N.K,{}),(0,l.jsx)(f,{}),(0,l.jsx)("div",{className:"px-16",children:"RegistTypeSelect"===o?(0,l.jsx)(g.zt,{}):"LessonsSelect"===o?(0,l.jsx)(g.c6,{}):"DateSelect"===o?(0,l.jsx)(g.jo,{}):"Purchase"===o&&c?(0,l.jsx)(g.Bu,{academy:s,lessonInfo:c,selectedTime:x,selectedRange:d}):null})]})}},40337:function(e,s,t){"use strict";t.r(s),t.d(s,{DateRangePicker:function(){return m}});
1var l=t(31549),n=t(4427),i=t.n(n),a=t(40539),r=t(76547),c=t(50106),x=t(23250),d=t(8597);let o=new Date,h=(0,c.E)(o,4),m=e=>{let{setSelectedRange:s,startDate:t,setStartDate:n,endDate:m,setEndDate:u,minDate:j,headerStyle:p,className:f,excludeDates:N}=e;return(0,l.jsx)("section",{className:(0,x.cn)("rounded-md pt-16",f),children:(0,l.jsx)(i(),{excludeDates:N,renderCustomHeader:e=>{let{date:s,decreaseMonth:t,increaseMonth:n,prevMonthButtonDisabled:i,nextMonthButtonDisabled:a}=e;return(0,l.jsx)(d.z,{date:s,decreaseMonth:t,increaseMonth:n,prevMonthButtonDisabled:i,nextMonthButtonDisabled:a,headerStyle:p})},selected:t,startDate:t,endDate:m,dateFormatCalendar:"yy.MM",locale:r.Z,minDate:null!=j?j:h,maxDate:(0,c.E)(o,42),selectsRange:!0,inline:!0,onChange:e=>{let[l,i]=e;t!==l&&s(null),n&&n(l),u&&u(i),null!==i&&i!==m&&s(new a.oF({startDate:l,endDate:i}))}})})}},97547:function(e,s,t){"use strict";t.d(s,{W9:function(){return j},St:function(){return u},G$:function(){return m}});var l=t(31549),n=t(44194),i=t(4145),a=t(95873),r=t(65675),c=t(3750),x=t(18053),d=t(704),o=t(23250);let h=e=>{let{existCallback:s,emptyCallback:t}=e,l=new URLSearchParams(window.location.search),n=l.get("history"),i=l.get("currentIndex");n&&i?s(JSON.parse(n),parseInt(i)):t()},m=(0,i.b3)(e=>{let{id:s,initialState:t}=e,[i,a]=(0,n.useState)(()=>[t]),[r,c]=(0,n.useState)(0),d=(0,x.useRouter)(),{history:o,currentIndex:m}=d.query;return(0,n.useEffect)(()=>{h({existCallback:(e,s)=>{a(e),c(s)},emptyCallback:()=>{a([t]),c(0)}})},[o,m]),(0,n.useMemo)(()=>({history:i,currentIndex:r,push(e){let s=i.slice(0,r+1),t=new URLSearchParams(window.location.search);t.set("history",JSON.stringify([...s,e])),t.set("currentIndex",(r+1).toString()),d.push({pathname:d.pathname,search:t.toString()},void 0,{shallow:!0})},replace(e){let s=new URLSearchParams(window.location.search);s.set("history",JSON.stringify([...i.slice(0,r),e])),s.set("currentIndex",r.toString()),d.replace({pathname:d.pathname,search:s.toString()},void 0,{shallow:!0})},go(e){c(s=>s+e)},header:()=>(0,l.jsx)("div",{})}),[i,r])}),u=e=>{let{...s}=e,t=(0,x.useRouter)();return(0,l.jsx)(a.xG,{rightItem:[],leftItem:(0,l.jsx)(a.PV,{item:(0,l.jsx)(r.J,{icon:"arrowline-outlined",size:24,className:"fill-Gray-900 cursor-pointer"}),onClick:()=>{t.back()}}),type:"title-center",...s})},j=e=>{let{children:s,className:t,isShadow:n=!0}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.L,{style:{height:72+((0,d.c)({isIOSApproaching:!0})?22:0)}}),(0,l.jsx)("div",{className:(0,o.cn)("fixed bottom-0 left-0 z-50 w-full bg-White-100 px-16 py-10",(0,d.c)({isIOSApproaching:!0})&&"pb-32",t,n&&"shadow-[0px_-4px_16px_0px_rgba(0,0,0,0.06)]"),children:s})]})}},27646:function(e,s,t){"use strict";t.d(s,{Cc:function(){return l.Cc},J0:function(){return l.J0},JO:function(){return i.J},L8:function(){return l.L8},LZ:function(){return a.L},R1:function(){return l.R1},W1:function(){return l.W1},W8:function(){return l.W8},Wv:function(){return n.W},XB:function(){return l.XB},ay:function(){return l.ay},pm:function(){return r.p}});var l=t(32295),n=t(44974),i=t(65675),a=t(3750),r=t(619)},50060:function(e,s,t){"use strict";t.d(s,{Cc:function(){return l.Cc},Ir:function(){return a.I},J0:function(){return l.J0},JO:function(){return n.J},L8:function(){return l.L8},LZ:function(){return i.L},R1:function(){return l.R1},W1:function(){return l.W1}});var l=t(32295),n=t(65675),i=t(3750),a=t(76787)},45107:function(e,s,t){"use strict";t.d(s,{W:function(){return l.W}});var l=t(44974)},43761:function(e,s,t){"use strict";t.d(s,{JO:function(){return i.J},LZ:function(){return a.L},Wv:function(){return l.W},iz:function(){return n.i},pm:function(){return r.p}});var l=t(44974),n=t(87173),i=t(65675),a=t(3750),r=t(619)},56693:function(e,s,t){"use strict";t.d(s,{JO:function(){return l.J},LZ:function(){return i.L},__:function(){return n._}});
1var l=t(65675),n=t(14083),i=t(3750)},50106:function(e,s,t){"use strict";t.d(s,{E:function(){return l}});let l=(e,s)=>{let t=new Date(e);return t.setDate(t.getDate()+s),t}}},function(e){e.O(0,[12242,72572,4427,9642,92020,47869,21541,81394,14797,25066,22457,84904,69445,22632,29929,92888,49774,40179],function(){return e(e.s=82244)}),_N_E=e.O()}]); 2//# sourceMappingURL=re-license-b5e30371d91cf1ed.js.map
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.