PageSourceSearch

https://naemo.ai/_next/static/chunks/6205.121fe30f2c85dba6.js

js naemo.ai collected 2026-10-02 01:15:13 UTC 17,266 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6205],{31930:function(e,t,r){r.d(t,{Q:function(){return u},u:function(){return c}});let n=r(28691).W;function s(e){let t,r;let s=0,i=()=>{s++,t=void 0,r=void 0};return{invalidate:i,set(e){i(),t={value:e,expiresAt:Date.now()+6e4}},read(){if(t&&t.expiresAt>Date.now())return Promise.resolve(t.value);if(r)return r;let i=s,o=n(e).then(e=>(i===s&&(t={value:e,expiresAt:Date.now()+6e4}),e)).finally(()=>{r===o&&(r=void 0)});return r=o,o}}}function i(e){let t=new Map,r=new Map;return s=>{var i,o,d,a,l,c,h;let u=JSON.stringify([null!==(o=null===(i=s.q)||void 0===i?void 0:i.trim())&&void 0!==o?o:"",null!==(d=s.admissionType)&&void 0!==d?d:null,[...null!==(a=s.regions)&&void 0!==a?a:[]].sort(),!!s.excludeSpecial,null!==(l=s.grade)&&void 0!==l?l:null,null!==(c=s.offset)&&void 0!==c?c:0,null!==(h=s.limit)&&void 0!==h?h:20]),x=t.get(u);if(x&&x.expiresAt>Date.now())return Promise.resolve(x.result);t.delete(u);let m=r.get(u);if(m)return m;let v=n(()=>e(s)).then(e=>(t.set(u,{expiresAt:Date.now()+6e4,result:e}),t.size>12&&t.delete(t.keys().next().value),e)).finally(()=>r.delete(u));return r.set(u,v),v}}var o=r(83008),d=r(47335);let a=e=>"number"==typeof e&&Number.isFinite(e)?e:null;async function l(e){let t=await e;if(!t.success)throw Error(t.error||"잠시 후 다시 시도해 주세요.");return t.data}function c(e,t){let n=s(()=>l((0,o.X)("getGradeRecordsByStudent",{studentId:e},t))),d=s(()=>l((0,o.X)("getAdmissionCandidates",{studentId:e},t))),c=0,u=async(r,n)=>{let s=++c;d.invalidate();try{let i=await l((0,o.X)(r,{studentId:e,...n},t));return s===c&&d.set(i),i}catch(e){throw s===c&&d.invalidate(),e}};return{async loadMockExams(){let{getStudentMockExams:t}=await r.e(5306).then(r.bind(r,16011));return l(t(e))},loadFullGradeRecords:n.read,invalidateGradeRecords:n.invalidate,async loadGradeRecords(){let e=await n.read();return(null!=e?e:[]).map(e=>{var t;return{year:e.year,semester:e.semester,subjectCategory:e.subjectCategory,examType:"final",gradeLevel:a(e.gradeLevel),studentsCount:a(e.studentsCount),gradeRank:a(e.gradeRank),achievement:null!==(t=e.achievement)&&void 0!==t?t:null,rawScore:a(e.rawScore),subjectAverage:a(e.subjectAverage),standardDeviation:a(e.standardDeviation),distA:a(e.distA),distB:a(e.distB),distC:a(e.distC),distD:a(e.distD),distE:a(e.distE)}})},find:i(e=>h("/api/admission/finder",{method:"POST",headers:{"Content-Type":"application/json"},cache:"no-store",body:JSON.stringify(e)})),listCandidates:d.read,addCandidate:(e,t)=>u("addAdmissionCandidate",{universityId:e,atIndex:t}),removeCandidate:e=>u("removeAdmissionCandidate",{planId:e}),moveCandidate:(e,t)=>u("moveAdmissionCandidate",{planId:e,dir:t})}}async function h(e,t){let r=await fetch(e,t),n=await r.json().catch(()=>({}));if(!r.ok)throw Error((null==n?void 0:n.error)||"잠시 후 다시 시도해 주세요.");return n}function u(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s="/api/report/".concat(e,"/admission"),o=(e,t)=>h(e,(0,d.FF)(r,t)),l=async e=>{if(r)throw Error(d._L);return o("".concat(s,"/plans"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then(e=>e.items)};return{loadMockExams:()=>o("/api/report/".concat(e,"/mock-exams")).then(e=>e.mockExams),loadGradeRecords:async()=>(null!=t?t:[]).map(e=>{var t,r;return{year:e.year,semester:e.semester,subjectCategory:e.subject_type,examType:null!==(t=e.exam_type)&&void 0!==t?t:"final",gradeLevel:a(e.grade_level),studentsCount:a(e.total_students),gradeRank:a(e.rank),achievement:null!==(r=e.achievement)&&void 0!==r?r:null,rawScore:a(e.score),subjectAverage:a(e.subject_average),standardDeviation:a(e.standard_deviation),distA:a(e.distA),distB:a(e.distB),distC:a(e.distC),distD:a(e.distD),distE:a(e.distE)}}),find:i(e=>{var t,r,n;let i=new URLSearchParams;return e.q&&i.set("q",e.q),e.admissionType&&i.set("admissionType",e.admissionType),(null===(t=e.regions)||void 0===t?void 0:t.length)&&i.set("regions",e.regions.join(",")),e.excludeSpecial&&i.set("excludeSpecial","1"),null!==e.grade&&void 0!==e.grade&&i.set("grade",String(e.grade)),i.set("offset",String(null!==(r=e.offset)&&void 0!==r?r:0)),i.set("limit",String(null!==(n=e.limit)&&void 0!==n?n:20)),o("".concat(s,"/finder?").concat(i.toString()))}),listCandidates:()=>n(()=>o("".concat(s,"/plans")).then(e=>e.items)),addCandidate:(e,t)=>
1l({op:"add",universityId:e,atIndex:t}),removeCandidate:e=>l({op:"remove",planId:e}),moveCandidate:(e,t)=>l({op:"move",planId:e,dir:t})}}},68904:function(e,t,r){r.d(t,{C:function(){return s}});var n=r(57437);function s(e){let{student:t,children:r}=e;return(0,n.jsx)("div",{className:"flex items-start justify-between mb-4 md:mb-6",children:(0,n.jsxs)("div",{className:"flex items-center gap-3 md:gap-5",children:[(0,n.jsx)("div",{className:"hidden md:flex w-14 h-14 rounded-xl bg-zinc-50 dark:bg-[#18181b] items-center justify-center shrink-0 border border-zinc-200 dark:border-white/5",children:(0,n.jsx)("span",{className:"text-lg font-bold text-zinc-900 dark:text-white",children:t.number})}),(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsxs)("h2",{className:"text-[var(--mobile-font-h1)] md:text-xl font-bold text-zinc-900 dark:text-white flex items-center gap-2",children:[(0,n.jsxs)("span",{className:"md:hidden text-[var(--mobile-font-caption)] font-semibold text-zinc-400 dark:text-zinc-500",children:[t.number,"번"]}),t.name,(0,n.jsxs)("span",{className:"text-xs font-normal text-zinc-500 bg-zinc-100 dark:bg-[#18181b] px-2 py-0.5 rounded border border-zinc-200 dark:border-white/5",children:[t.grade,"학년 ",t.classNum,"반"]})]}),r]})]})})}},57474:function(e,t,r){r.d(t,{r:function(){return i}});var n=r(57437),s=r(93448);function i(e){let{isActive:t,onClick:r,icon:i,label:o}=e;return(0,n.jsxs)("button",{onClick:r,"aria-current":t?"page":void 0,className:(0,s.cn)("flex items-center gap-1.5 md:gap-2 px-2.5 md:px-4 py-2.5 md:py-3 text-xs md:text-sm font-medium border-b-2 transition-colors relative whitespace-nowrap shrink-0",t?"border-blue-500 text-blue-600 dark:border-[#2883DE] dark:text-[#2883DE] md:border-[#416FAD] md:text-[#416FAD] dark:md:border-[#9CBBEB] dark:md:text-[#9CBBEB]":"border-transparent text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-200 hover:bg-zinc-100 dark:hover:bg-zinc-800/50 rounded-t-md"),children:[(0,n.jsx)(i,{size:16,className:"md:block hidden shrink-0"}),(0,n.jsx)(i,{size:14,className:"md:hidden shrink-0"}),o]})}},73704:function(e,t,r){r.d(t,{Z:function(){return d}});var n=r(57437);r(2265);var s=r(90982),i=r(93448),o=r(51028);function d(e){let{title:t,desc:r,icon:d,animateIcon:a,useLogoLoader:l,action:c,minimal:h}=e;return l?(0,n.jsx)(s.ContentLoadingState,{variant:"grades",label:r}):h?(0,n.jsxs)("div",{className:"group relative flex flex-col items-center justify-center h-[320px] gap-3 select-none",children:[(0,n.jsx)("div",{className:"pointer-events-none absolute w-28 h-28 rounded-full bg-orange-300/20 dark:bg-[#d97757]/10 blur-xl opacity-70"}),d?(0,n.jsx)("div",{className:"p-3 rounded-2xl bg-zinc-100 dark:bg-white/5 border border-zinc-200/80 dark:border-white/10",children:(0,n.jsx)(d,{className:(0,i.cn)("w-6 h-6 text-zinc-400",a&&"animate-spin text-blue-500")})}):(0,n.jsx)("div",{className:"relative flex items-center justify-center transition-transform duration-300 group-hover:-translate-y-0.5",children:(0,n.jsx)(o.w,{size:44,showGlow:!1})}),(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h3",{className:"text-sm font-semibold text-zinc-800 dark:text-zinc-200 mb-1",children:t}),(0,n.jsx)("p",{className:"text-xs text-zinc-500 dark:text-zinc-400",children:r})]}),c&&(0,n.jsx)("div",{className:"mt-1",children:c})]}):(0,n.jsxs)("div",{className:"group relative flex flex-col items-center justify-center h-[400px] border border-dashed border-zinc-300/80 dark:border-white/10 rounded-2xl bg-zinc-50/50 dark:bg-[#18181b]/30 select-none overflow-hidden",children:[(0,n.jsx)("div",{className:"relative mb-3",children:d?(0,n.jsx)("div",{className:"p-4 rounded-2xl bg-zinc-100 dark:bg-[#27272a]",children:(0,n.jsx)(d,{className:(0,i.cn)("w-8 h-8 text-zinc-500",a&&"animate-spin text-blue-500")})}):(0,n.jsx)("div",{className:"relative flex items-center justify-center transition-transform duration-300 group-hover:-translate-y-1",children:(0,n.jsx)(o.w,{size:56,showGlow:!1})})}),(0,n.jsx)("h3",{className:"text-base md:text-lg font-semibold text-zinc-800 dark:text-zinc-100 mb-1.5",children:t}),(0,n.jsx)("p",{className:"text-xs md:text-sm text-zinc-500 dark:text-zinc-400 max-w-sm text-center",children:r}),c&&(0,n.jsx)("div",{className:"mt-5",children:c})]})}},51028:function(e,t,r){r.d(t,{w:function(){return i}});var n=r(57437),s=r(2265);function i(e){let{size:t=64,accentColor:r="#d97757",showGlow:i=!0,className:o="",...d}=e,a=s.useId(),l=s.useId();return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 430 430",fill:"none",className:o,...d,children:[(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:l,x1:"90",y1:"90",x2:"300",y2:"300",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0%",stopColor:r,stopOpacity:"0.15"}),(0,n.jsx)("stop",{offset:"50%",stopColor:"#38bdf8",stopOpacity:"0.08"}),(0,n.jsx)("stop",{offset:"100%",stopColor:r,stopOpacity:"0.03"})]}),i&&(0,n.jsx)("filter",{id:a,x:"-20%",y:"-20%",width:"140%",height:"140%",children:(0,n.jsx)("feDropShadow",{dx:"0",dy:"4",stdDeviation:"8",floodColor:r,floodOpacity:"0.25"})})]}),(0,n.jsxs)("g",{strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"14",children:[(0,n.jsx)("circle",{cx:"191",cy:"192",r:"102",fill:"url(#".concat(l,")"),className:"transition-colors duration-300"}),(0,n.jsx)("path",{className:"stroke-zinc-700 dark:stroke-zinc-200 transition-colors duration-200",strokeWidth:"13",d:"M293.7 89.4c56.7 56.7 56.7 148.6 0 205.3s-148.6 56.7-205.3 0-56.7-148.7 0-205.3 148.6-56.7 205.3 0"}),(0,n.jsx)("path",{stroke:r,strokeWidth:"13",d:"M82.1 147.5c5.7-14.1 14.2-27.3 25.7-38.7 13.7-13.7 29.9-23.2 47.1-28.7",filter:i?"url(#".concat(a,")"):void 0}),(0,n.jsx)("path",{className:"stroke-zinc-700 dark:stroke-zinc-200 transition-colors duration-200",strokeWidth:"15",d:"m296.1 296.6 88 86.5"})]})]})}},63714:function(e,t,r){r.d(t,{Fn:function(){return a},Nk:function(){return l},Z2:function(){return o},kd:function(){return h},n9:function(){return c},tM:function(){return i},yk:function(){return d}});var n=r(57437),s=r(2265);function i(e){var t;let{size:r=16,className:s="",...i}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 430 430",fill:"none",stroke:"currentColor",className:s,...i,children:(0,n.jsxs)("g",{strokeLinejoin:"round",strokeWidth:null!==(t=i.strokeWidth)&&void 0!==t?t:22,children:[(0,n.jsx)("path",{d:"M55 350c0-63.513 51.487-115 115-115h90c63.513 0 115 51.487 115 115v25H55z"}),(0,n.jsx)("path",{strokeLinecap:"round",strokeMiterlimit:"27.88",d:"M272.496 76.733C283.423 89.78 290 106.648 290 125c0 41.478-33.628 75-75 75s-75-33.628-75-75 33.628-75 75-75c23.126 0 43.706 10.396 57.496 26.733"})]})})}function o(e){var t;let{size:r=16,className:s="",...i}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 430 430",fill:"none",stroke:"currentColor",className:s,...i,children:(0,n.jsxs)("g",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:null!==(t=i.strokeWidth)&&void 0!==t?t:22,children:[(0,n.jsx)("path",{d:"M215 56.04v51.37"}),(0,n.jsx)("path",{d:"M241.69 134.94h106.75l40.03 66.72h-80.06l-93.4-93.4-93.4 93.4H41.54l40.03-66.72h106.75"}),(0,n.jsx)("path",{d:"M255.35 375.21h-80.7v-66.44c0-22.28 18.06-40.35 40.35-40.35 22.28 0 40.35 18.06 40.35 40.35zM215 268.42v105.9"}),(0,n.jsx)("path",{d:"M68.22 201.66v173.46h293.56V201.66"}),(0,n.jsx)("path",{d:"M241.64 188.27c0 14.71-11.93 26.64-26.64 26.64s-26.64-11.93-26.64-26.64 11.93-26.64 26.64-26.64 26.64 11.93 26.64 26.64m-93.36 85.93h-40.03v-20.02c0-11.05 8.96-20.02 20.01-20.02s20.01 8.96 20.01 20.02v20.02zm173.47 0h-40.03v-20.02c0-11.05 8.96-20.02 20.01-20.02s20.01 8.96 20.01 20.02v20.02zM281.72 81.57H215V41.54h66.72l-19.84 20.02z"})]})})}function d(e){var t;let{size:r=16,className:s="",...i}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 430 430",fill:"none",stroke:"currentColor",className:s,...i,children:(0,n.jsxs)("g",{strokeLinejoin:"round",strokeWidth:null!==(t=i.strokeWidth)&&void 0!==t?t:22,children:[(0,n.jsx)("path",{d:"M150 375V230H80v145m170 0V55h-70v320m170 0V165h-70v210"}),(0,n.jsx)("path",{strokeLinecap:"round",strokeMiterlimit:"14.8",d:"M55 375h320"})]})})}function a(e){var t;let{size:r=16,className:s="",...i}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 430 430",fill:"none",stroke:"currentColor",className:s,...i,children:(0,n.jsxs)("g",{strokeLinejoin:"round",strokeWidth:null!==(t=i.strokeWidth)&&void 0!==t?t:22,children:[(0,n.jsx)("path",{strokeLinecap:"round",d:"M311 343v59l-26-16-26 16v-53"}),(0,n.jsx)("path",{d:"M400 375c-12.924-19.846-49.454-34.151-92.5-34.151S227.924 355.154 215 375V104h.018c.986-27.153 42.014-49 92.482-49s91.496 21.847 92.482 49H400zm-185 0c-12.924-19.846-49.454-34.151-92.5-34.151S42.924 355.154 30 375V104h.018c.986-27.153 42.014-49 92.482-49s91.496 21.847 92.482 49H215z"}),(0,n.jsx)("path",{strokeLinecap:"round",d:"M185 183.408C168.539 175.082 146.595 170 122.5 170s-46.039 5.082-62.5 13.408m125-49.269C168.539 125.98 146.595 121 122.5 121s-46.039 4.98-62.5 13.14m125 98.268C168.539 224.082 146.595 219 122.5 219s-46.039 5.082-62.5 13.408m310 49C353.539 273.082 331.595 268 307.5 268s-46.039 5.082-62.5 13.408m125-49.269C353.539 223.98 331.595 219 307.5 219s-46.039 4.98-62.5 13.14"})]})})}function l(e){var t;let{size:r=16,className:s="",...i}=e,o=null!==(t=i.strokeWidth)&&void 0!==t?t:22,d=Math.round(1.6*Number(o));return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 430 430",fill:"none",stroke:"currentColor",className:s,...i,children:(0,n.jsxs)("g",{strokeLinecap:"round",strokeLinejoin:"round",children:[(0,n.jsx)("path",{strokeWidth:o,d:"m322.4 202.27-.44 94.52s-27.49 50.29-107.05 50.03c-80.67-.26-108.85-50.03-108.85-50.03l.44-94.52"}),(0,n.jsx)("path",{strokeWidth:o,d:"M37.25 147.75h-2.1L35 176.78l179.49 63.78 180.45-64.03.03-28.69h-5.92m5.86-.03L214.49 84 35 147.78l179.49 63.78z"}),(0,n.jsx)("path",{strokeWidth:o,d:"m215.47 146.78 77 28v105m0 2.5v23.84"}),(0,n.jsx)("path",{strokeWidth:d,d:"M292.47 282.28v23.84"})]})})}function c(e){var t;let{size:r=16,className:i="",...o}=e,d="print-icon-mask-".concat(s.useId().replace(/:/g,"")),a=null!==(t=o.strokeWidth)&&void 0!==t?t:22;return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 430 430",fill:"none",stroke:"currentColor",className:i,...o,children:[(0,n.jsx)("mask",{id:d,width:"367",height:"248",x:"32",y:"101",maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:(0,n.jsx)("path",{fill:"#D9D9D9",stroke:"none",d:"M140 101.783V160h150v-58.217h108.035v246.883H290V300H140v48.666H32.889V101.783z"})}),(0,n.jsxs)("g",{strokeWidth:a,mask:"url(#".concat(d,")"),children:[(0,n.jsx)("path",{strokeLinejoin:"round",d:"m356.809 143.37 28.15 43.789a20 20 0 0 1 2.278 16.743l-37.87 122.026A20 20 0 0 1 330.266 340H99.734a20 20 0 0 1-19.101-14.072l-37.87-122.026a20 20 0 0 1 2.278-16.743l28.15-43.789A40 40 0 0 1 106.838 125
1h216.324a40 40 0 0 1 33.647 18.37Z"}),(0,n.jsx)("path",{strokeLinecap:"round",d:"M45 195h340"})]}),(0,n.jsxs)("g",{strokeWidth:a,children:[(0,n.jsx)("path",{strokeLinejoin:"round",d:"M140 265v115h150V265"}),(0,n.jsx)("path",{strokeLinecap:"round",d:"M175 305h80m-80 35h80"}),(0,n.jsx)("path",{strokeLinejoin:"round",d:"M290 160V45H140v115"}),(0,n.jsx)("path",{strokeLinecap:"round",d:"M125 265h180M125 160h180"})]}),(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:1.25*Number(a),d:"M88.49 228.5h.01m30 0h.01"})]})}function h(e){var t;let{size:r=16,className:s="",...i}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 430 430",fill:"none",stroke:"currentColor",className:s,...i,children:(0,n.jsxs)("g",{strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:null!==(t=i.strokeWidth)&&void 0!==t?t:22,children:[(0,n.jsx)("path",{d:"M260 30v25c0 5.523-4.477 10-10 10h-70c-5.523 0-10-4.477-10-10V30"}),(0,n.jsx)("path",{d:"M105 50c0-11.046 8.954-20 20-20h180c11.046 0 20 8.954 20 20v330c0 11.046-8.954 20-20 20H125c-11.046 0-20-8.954-20-20z"}),(0,n.jsx)("path",{d:"M260 365h-90"})]})})}},28691:function(e,t,r){r.d(t,{W:function(){return n}});function n(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e4,n=new Promise((e,n)=>{t=setTimeout(()=>n(Error("응답이 늦어지고 있어요. 잠시 후 다시 시도해 주세요.")),r)});return Promise.race([Promise.resolve().then(e),n]).finally(()=>clearTimeout(t))}},47335:function(e,t,r){r.d(t,{FF:function(){return s},_L:function(){return n}});let n="미리보기에서는 학생의 정보를 변경할 수 없어요.";function s(e,t){if(!e)return t;let r=new Headers(null==t?void 0:t.headers);return r.set("x-report-preview","1"),{...t,headers:r,cache:"no-store"}}}}]);

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.