PageSourceSearch

https://www.machuda.kr/_next/static/chunks/pages/learning/[major]/…/written/daily-127fd5f879b870bd.js

js machuda.kr collected 2026-10-05 17:57:56 UTC 7,385 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="faa87ed8-6370-4f0e-b728-bf8cf9123deb",e._sentryDebugIdIdentifier="sentry-dbid-faa87ed8-6370-4f0e-b728-bf8cf9123deb")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3783],{25290:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/learning/[major]/[subjectName]/written/daily",function(){return s(55540)}])},55540:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSG:function(){return z}});var l=s(85893),n=s(41664),o=s.n(n),i=s(25675),r=s.n(i),a=s(67294),c=s(11163),d=s(4480),u=s(7465),x=s(39424),p=s(43582),m=s(96637),h=s(16377),f=s(94494),b=s(1458),j=s(93890),w=s(20643),g=s(14388),v=s(28494),y=s(30091),N=s(74893),S=s(22293),_=s(28112),Z=s(20589),I=s(67502),k=s(81314),T=s(44005),L=s(53628),P=s(91650),D=s(57443),E=s(29743),A=s(27013),C=s(27318),R=s(64735);
1const M={"\ud615\ubc95":{url:"/thumbnail/criminal_law.jpg",width:1200,height:628,alt:"\ud615\ubc95 \uc624\ub298\uc758 \ubb38\uc81c \uc378\ub124\uc77c"},"\ud615\uc0ac\uc18c\uc1a1\ubc95":{url:"/thumbnail/criminal_procedure.jpg",width:1200,height:628,alt:"\ud615\uc0ac\uc18c\uc1a1\ubc95 \uc624\ub298\uc758 \ubb38\uc81c \uc378\ub124\uc77c"},"\uc804\uae30\uae30\uc0ac":{url:"/thumbnail/engineer_electricity.jpg",width:1200,height:628,alt:"\uc804\uae30\uae30\uc0ac \uc624\ub298\uc758 \ubb38\uc81c \uc378\ub124\uc77c"}},O=e=>{const t=Array.isArray(e)?e[0]:e;return void 0!==t&&void 0!==M[t]?M[t]:{url:"/thumbnail.png",width:800,height:400,alt:"\ub9de\ucd94\ub2e4 \ub85c\uace0 \uc774\ubbf8\uc9c0"}};var z=!0;t.default=function(e){let{problem:t}=e;const s=(0,c.useRouter)(),{subjectName:n}=s.query,{shouldShowDrawing:i}=(0,v.Z)(),[M,z]=(0,a.useState)(!1);(0,N.Z)("1\uc77c 1\uc81c \ud398\uc774\uc9c0 \ubdf0");const[B,G]=(0,d.FV)(S.m3),X=(0,a.useMemo)((()=>{if(B.length>0){var e;const t=null!==(e=B[0].problem.solvingTime)&&void 0!==e?e:-1,s=t%60,l=Math.floor(t/60).toString().padStart(2,"0"),n=s.toString().padStart(2,"0");return"".concat(l,":").concat(n)}return"\uc9d1\uacc4\uc911"}),[B]),q=(0,d.Zl)(S._k);(0,a.useLayoutEffect)((()=>{var e,l;if(!t)return(0,x.uT)("\uc624\ub298\uc758 \ubb38\uc81c \uc5c6\uc74c",{extra:{subjectName:String(n)}}),void s.push("/");G([{problem:{...t},solvingInfo:{mySolution:"",myAnswer:0,status:0},optionList:null!==(l=null===(e=t.optionList)||void 0===e?void 0:e.map(((e,s)=>({number:s+1,content:e,solution:t.optionSolutionList?t.optionSolutionList[s]:""}))))&&void 0!==l?l:[]}])}),[]),(0,a.useEffect)((()=>{q(!1)}),[]),(0,I.Z)();const{session:F}=(0,E.Z)(),{selectOption:Q}=(0,D.Z)({studyMode:"\uc5f0\uc2b5",featureName:"1\uc77c 1\uc81c",subjectName:String(n),sendServer:{url:"/study/basic"},onSelect:()=>{"authenticated"!==(null===F||void 0===F?void 0:F.status)&&z(!0)}}),K=(0,R.Z)();return t?(0,l.jsxs)("div",{className:"absolute left-0 top-0 z-0 h-full w-screen bg-White pt-[60px]",children:[(0,l.jsx)(y.Z,{title:"\ub85c\uadf8\uc778\ud558\uba74 \ub098\uc758 \ud480\uc774 \uae30\ub85d\uc774 \uc800\uc7a5\ub418\uace0, \uc790\ub3d9\uc73c\ub85c \uc624\ub2f5\ub178\ud2b8\uac00 \uc0dd\uc131\ub3fc\uc694!",subTitle:"\ub85c\uadf8\uc778 \ud558\uc9c0 \uc54a\uc544\ub3c4 \uae30\ucd9c\ubb38\uc81c\ub97c \uc774\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.",trigger:M}),(0,l.jsx)(p.Z,{title:(0,m.IQ)(t.body),description:"".concat(n," 20").concat(t.examTitle," | \ub9de\ucd94\ub2e4\uc5d0\uc11c ").concat(n," \uae30\ucd9c\ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uc138\uc694. \ud544\uae30 \uae30\ucd9c \ubb38\uc81c \ubaa8\uc74c, \ud574\uc124, \uc790\ub3d9 \uccb4\uc810, \ubcf5\uc2b5, \uc624\ub2f5\ub178\ud2b8 \uae30\ub2a5\uc774 \uc788\uc5b4\uc694."),openGraph:{title:(0,m.IQ)(t.body),description:"".concat(n," 20").concat(t.examTitle),type:"website",images:[O(n)],url:"".concat("https://www.machuda.kr","/").concat(n,"/written/daily")}}),(0,l.jsx)(C.Z,{}),B.length>0?(0,l.jsxs)("div",{className:"flex max-h-[calc(100vh-160px)] w-full flex-col items-center justify-center pt-[20px] mobile:max-h-[calc(100vh-120px)] desktop:min-w-[1280px]",children:[(0,l.jsx)("div",{className:"Problem-Component-Container mb-[16px] flex w-full items-center justify-between px-[32px] mobile:px-[24px] desktop:px-0",children:(0,l.jsx)(o(),{href:"".concat((0,m.hj)(s.asPath).split("/daily")[0]),children:(0,l.jsxs)("p",{className:"flex items-center font-bold",children:[(0,l.jsx)(r(),{className:"w-[20px]",src:g.Z,alt:"\ubc84\ud2bc"}),"\ub2e4\ub978 \ubb38\uc81c \ud480\ub7ec \uac00\uae30"]})})}),(0,l.jsx)(h.Z,{enableBookmarkKeyboardShortcut:!0,problem:B[0].problem,isDaily:!0,showDrawingToggleButton:!0,showProblemLog:!0,showProblemFilter:(0,m.xq)(n)}),(0,l.jsxs)("div",{className:"flex size-full justify-center overflow-hidden",children:[(0,l.jsx)(P.Z,{nowPage:0,children:(0,l.jsxs)("div",{className:"Problem-Body h-auto overflow-y-auto",children:[(0,l.jsxs)("div",{className:"relative mb-[40px] flex w-full flex-col",children:[(0,l.jsxs)("div",{className:"mb-[20px]",children:[(0,l.jsx)(r(),{className:"Absolute-Center-X Absolute-Center-Y -z-[1] w-[100px]",src:u.Z,alt:"\ub9de\ucd94\ub2e4 \uc6cc\ud130\ub9c8\ud06c"}),(0,l.jsx)("h2",{children:(0,l.jsx)(f.Z,{texContent:B[0].problem.body})}),B[0].problem.bodySolution&&(0,l.jsx)(b.L,{solution:B[0].problem.bodySolution,isSolved:Number(B[0].solvingInfo.myAnswer)>0})]}),(0,l.jsx)(j.Z,{problemPageInfo:B[0],shouldShowResult:!0,selectOption:Q})]}),Number(B[0].solvingInfo.myAnswer)>0?(0,l.jsx)("div",{className:"w-full pr-[24px]",children:(0,l.jsxs)("div",{className:"mb-[20px] flex w-full flex-col gap-y-[8px] rounded-[8px] bg-Gray50 px-[16px] py-[12px]",children:[(0,l.jsxs)("div",{className:"flex items-center gap-x-[12px]",children:[(0,l.jsx)(r(),{src:k.Z,alt:"\ud3c9\uade0 \ud480\uc774 \uc2dc\uac04"}),(0,l.jsxs)("p",{className:"flex items-center",children:[(0,l.jsx)("span",{className:"mr-[12px]",children:"\ub9de\ucd94\ub2e4 \ub0b4 \ud3c9\uade0 \ud480\uc774 \uc2dc\uac04"}),(0,l.jsx)("span",{className:"text-SubtitleL text-Red400",children:X})]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-x-[12px]",children:[(0,l.jsx)(r(),{src:T.Z,alt:"\ud3c9\uade0 \uc624\ub2f5\ub960"}),(0,l.jsxs)("p",{className:"flex items-center",children:[(0,l.jsx)("span",{className:"mr-[12px]",children:"\ub9de\ucd94\ub2e4 \ub0b4 \uc624\ub2f5\ub960"}),(0,l.jsx)("span",{className:"text-SubtitleL text-Red400",children:B[0].problem.correctRate>0?"".concat(100-B[0].problem.correctRate,"%"):"\uc9d1\uacc4\uc911"})]})]})]})}):(0,l.jsx)(w.D,{className:"mb-[24px] p-[16px] text-[16px] font-semibold",children:K(n)?"\ubb38\uc81c\ub97c \ud480\uace0 \ud504\ub9ac\ubbf8\uc5c4 \ud574\uc124\uc744 \ud655\uc778\ud574\ubcf4\uc138\uc694!":"\ubb38\uc81c\ub97c \ud480\uace0 \uc815\ub2f5\uc744 \ud655\uc778\ud574\ubcf4\uc138\uc694!"}),(0,l.jsx)(_.Z,{problem:B[0].problem,freeToShow:!0,problemSolvingInfo:B[0].solvingInfo}),(0,l.jsx)(L.Z,{})]})}),i&&(0,l.jsx)("div",{className:"h-auto w-full",children:(0,l.jsx)(Z.Z,{pageInfo:B[0],showSolutionMode:!1})})]})]}):(0,l.jsx)(A.Z,{})]}):(0,l.jsx)("div",{children:"\ubb38\uc81c\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."})}}},function(e){e.O(0,[1265,9559,6221,7193,4819,7738,7213,1470,7706,779,5007,2888,9774,179],(function(){return t=25290,e(e.s=t);var t}));var t=e.O();_N_E=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.