PageSourceSearch

https://banryeomaru.kr/_next/static/chunks/pages/office/notice-5896e0b9bdc3e857.js

js banryeomaru.kr collected 2026-10-04 20:33:51 UTC 8,934 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8747],{19984:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/office/notice",function(){return o(16956)}])},2626:function(e,t,o){"use strict";o.d(t,{E:function(){return s}});var i=o(85893);o(67294);var r=o(54335),n=o(18686);let a=r.ZP.button.withConfig({componentId:"sc-dda7f637-0"})(["font-family:inherit;text-align:center;font-weight:700;cursor:pointer;transition:opacity 0.2s;border-style:solid;width:",";height:",";font-size:",";background-color:",";color:",";border:",";border-radius:",";&:hover{opacity:0.8;}&:disabled{opacity:0.5;cursor:not-allowed;}"],e=>n.$Y[e.$buttonName][e.$size].width,e=>n.$Y[e.$buttonName][e.$size].height,e=>n.$Y[e.$buttonName][e.$size].fontSize,e=>n.$Y[e.$buttonName].colors.background,e=>n.$Y[e.$buttonName].colors.text,e=>"none"===n.$Y[e.$buttonName].colors.border?"none":"1px solid ".concat(n.$Y[e.$buttonName].colors.border),e=>n.$Y[e.$buttonName][e.$size].radius),s=e=>{let{buttonName:t,size:o,children:r,...n}=e;return(0,i.jsx)(a,{$buttonName:t,$size:o,...n,children:r})}},18686:function(e,t,o){"use strict";o.d(t,{$Y:function(){return n},Gt:function(){return r},of:function(){return i}});let i={LIST:"list",SAVE:"save",BACK:"back",DOWNLOAD:"download",SEARCH:"search",FESTIVAL:"festival",EDU:"edu",SPORTS:"sports",ACTIVE:"active"},r={LARGE:"large",SMALL:"small"},n={list:{large:{width:"170px",height:"40px",fontSize:"1.125rem",radius:"10px"},small:{width:"90px",height:"32px",fontSize:"1rem",radius:"5px"},colors:{background:"#AAAAAA",border:"none",text:"#FFFFFF"}},save:{large:{width:"170px",height:"40px",fontSize:"1.125rem",radius:"10px"},small:{width:"90px",height:"32px",fontSize:"1rem",radius:"5px"},colors:{background:"#C28316",border:"none",text:"#FFFFFF"}},back:{large:{width:"170px",height:"40px",fontSize:"1.125rem",radius:"10px"},small:{width:"90px",height:"32px",fontSize:"1rem",radius:"5px"},colors:{background:"#505050",border:"none",text:"#FFFFFF"}},download:{large:{width:"181px",height:"32px",fontSize:"1rem",radius:"5px"},small:{width:"90px",height:"32px",fontSize:"1rem",radius:"5px"},colors:{background:"#f8e191",border:"#c28316",text:"#000000"}},search:{large:{width:"170px",height:"40px",fontSize:"1.125rem",radius:"5px"},small:{width:"60px",height:"32px",fontSize:"1rem",radius:"5px"},colors:{background:"#f8e191",border:"#c28316",text:"#000000"}},festival:{large:{width:"170px",height:"40px",fontSize:"1.125rem",radius:"5px"},small:{width:"60px",height:"32px",fontSize:"1rem",radius:"5px"},colors:{background:"#DAD8EA",border:"#9891D4",text:"#000000"}},edu:{large:{width:"170px",height:"40px",fontSize:"1.125rem",radius:"5px"},small:{width:"60px",height:"32px",fontSize:"1rem",radius:"5px"},colors:{background:"#B8DDF2",border:"#7BB7D9",text:"#000000"}},sports:{large:{width:"170px",height:"40px",fontSize:"1.125rem",radius:"5px"},small:{width:"60px",height:"32px",fontSize:"1rem",radius:"5px"},colors:{background:"#F2FDFD",border:"#00A098",text:"#000000"}},active:{large:{width:"170px",height:"40px",fontSize:"1.125rem",radius:"10px"},small:{width:"90px",height:"32px",fontSize:"1rem",radius:"5px"},colors:{background:"#655055",border:"none",text:"#FFFFFF"}}}},32964:function(e,t,o){"use strict";var i=o(67294);t.Z=(e,t)=>{let o=(0,i.useCallback)(o=>{t.some(e=>o.key===e)&&(o.preventDefault(),e())},[t]);(0,i.useEffect)(()=>(document.addEventListener("keydown",o),()=>{document.removeEventListener("keydown",o)}),[o])}},16956:function(e,t,o){"use strict";o.r(t),o.d(t,{__N_SSP:function(){return y},default:function(){return P}});var i=o(85893),r=o(10109),n=o(20386),a=o(11163),s=o(67294),d=o(54335),c=o(32964),l=o(38306),h=o(2626),m=o(18686);let p="officeNoticeWord",x="officeNoticePage",g=d.zo.div.withConfig({componentId:"sc-e5000a1b-0"})(["position:relative;width:68.75rem;overflow:auto;"]),u=d.zo.section.withConfig({componentId:"sc-e5000a1b-1"})(["position:relative;color:#c28316;text-align:left;font-size:1.875rem;font-weight:700;margin:4.375rem auto 1.875rem 0.3125rem;"]),f=d.zo.section.withConfig({componentId:"sc-e5000a1b-2"})(["position:relative;text-align:left;"]),w=d.zo.section.withConfig({componentId:"sc-e5000a1b-3"})(["display:flex;width:100%;margin-top:1.25rem;"]),b=d.zo.section.withConfig({componentId:"sc-e5000a1b-4"})(["position:relative;min-height:31.625rem;align-items:center;border-top:0.125rem solid #bd8430;border-bottom:0.125rem solid #aaaaaa;"]),z=d.zo.section.withConfig({componentId:"sc-e5000a1b-5"})(["display:inline-block;margin:3.125rem auto;.MuiPagination-root{.Mui-selected{background:#bd8430;&:hover{background:#bd8430;}}}"]),v=d.zo.div.withConfig({componentId:"sc-e5000a1b-6"})(["width:5.375rem;height:1.25rem;color:#000;font-size:1rem;font-weight:400;margin:1.25rem 0 0.63rem 0;span{font-weight:700;color:#c28316;}"]),S=d.zo.div.withConfig({componentId:"sc-e5000a1b-7"})(["display:inline-block;width:100%;"]),F=d.zo.div.withConfig({componentId:"sc-e5000a1b-8"})(["display:flex;float:right;"]),C=d.zo.input.withConfig({componentId:"sc-e5000a1b-9"})(["margin-right:0.62rem;color:#000;text-align:left;font-weight:400;line-height:normal;border-radius:0.3125rem;
1border:1px solid #f0f0f0;outline:none;width:20.625rem;height:2rem;font-size:1rem;padding:0 1rem;&::placeholder{color:#cccccc;}"]),j=d.zo.div.withConfig({componentId:"sc-e5000a1b-10"})(["display:flex;height:2.875rem;cursor:pointer;border-bottom:0.0625rem solid #c7c7c7;&:nth-child(10n + 1){border:none;}&:hover{background:#f9f3e8;}"]),k=d.zo.div.withConfig({componentId:"sc-e5000a1b-11"})(["display:flex;height:2.875rem;border-bottom:0.125rem solid #c7c7c7;cursor:pointer;"]),I=d.zo.div.withConfig({componentId:"sc-e5000a1b-12"})(["width:",";margin:auto;color:#000;text-align:center;font-size:1rem;font-weight:700;"],e=>e.itemProp),$=d.zo.div.withConfig({componentId:"sc-e5000a1b-13"})(["width:",";margin:auto;color:#000000;text-align:center;font-size:1rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],e=>e.itemProp),E=d.zo.div.withConfig({componentId:"sc-e5000a1b-14"})(["width:",";margin:auto;color:",";font-size:1rem;text-align:center;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],e=>e.itemProp,e=>e.$isFixed?"#C28316":"#000"),A=d.zo.div.withConfig({componentId:"sc-e5000a1b-15"})(["width:100%;color:#000000;text-align:center;font-weight:500;line-height:normal;font-size:1rem;margin-top:13.6875rem;"]);var N=()=>
1{let e=(0,a.useRouter)(),[t,o]=(0,s.useState)(""),[r,d]=(0,s.useState)(1),[N,y]=(0,s.useState)({data:[],dataTot:0,fixdata:[],fixDataTot:0,pageIndex:1,result:""}),P=Math.ceil(N.dataTot/10),T=async(e,t)=>{try{let o=await (0,l.vo)({div:"NF",searchType:"A",searchKeyword:e,pageIndex:t});"success"===o.result&&(d(o.pageIndex),y(o))}catch(e){console.log("fetchList",e)}},_=()=>{d(1),sessionStorage.setItem(x,String(1)),sessionStorage.setItem(p,t),T(t,1)},D=t=>{e.push({pathname:"/office/notice/view",query:{idx:t}})},L=(0,s.useCallback)(e=>N.dataTot+N.fixDataTot-((r>1?(r-1)*10:0)+e),[N.dataTot,N.fixdata,r]);return(0,c.Z)(()=>{_()},["Enter"]),(0,s.useEffect)(()=>{let e=sessionStorage.getItem(p)||"",t=Number(sessionStorage.getItem(x))||1;o(e),d(t),T(e,t)},[]),(0,i.jsxs)(g,{children:[(0,i.jsx)(u,{children:"공지사항"}),(0,i.jsx)(f,{children:(0,i.jsx)(h.E,{buttonName:m.of.SAVE,size:m.Gt.LARGE,onClick:()=>D(void 0),children:"등록"})}),(0,i.jsxs)(w,{children:[(0,i.jsxs)(v,{children:["총 ",(0,i.jsx)("span",{children:N.dataTot})," 건"]}),(0,i.jsx)(S,{children:(0,i.jsxs)(F,{children:[(0,i.jsx)(C,{value:t,placeholder:"검색어를 입력하세요",onChange:e=>{o(e.target.value),sessionStorage.setItem(p,e.target.value)}}),(0,i.jsx)(h.E,{buttonName:m.of.SEARCH,size:m.Gt.SMALL,onClick:()=>_(),children:"검색"})]})})]}),(0,i.jsxs)(b,{children:[(0,i.jsxs)(k,{children:[(0,i.jsx)(I,{itemProp:"10%",children:"번호"}),(0,i.jsx)(I,{itemProp:"75%",children:"제목"}),(0,i.jsx)(I,{itemProp:"15%",children:"등록일"})]}),N.dataTot>0?(0,i.jsxs)(i.Fragment,{children:[void 0!==N.fixdata&&N.fixdata.length>0&&N.fixdata.map(e=>(0,i.jsxs)(j,{onClick:()=>D(e.idx),children:[(0,i.jsx)(E,{itemProp:"10%",$isFixed:!0,children:"공지"}),(0,i.jsx)(E,{itemProp:"75%",children:e.title}),(0,i.jsx)(E,{itemProp:"15%",children:e.saveTime})]},e.idx)),void 0!==N.data&&N.data.length>0&&N.data.map((e,t)=>(0,i.jsxs)(j,{onClick:()=>D(e.idx),children:[(0,i.jsx)($,{itemProp:"10%",children:L(t)}),(0,i.jsx)(E,{itemProp:"75%",children:e.title}),(0,i.jsx)($,{itemProp:"15%",children:e.saveTime})]},e.idx))]}):(0,i.jsx)(A,{children:"게시글이 없습니다"})]}),(0,i.jsx)(z,{children:N.dataTot>0&&(0,i.jsx)(n.Z,{page:r,count:P,color:"secondary",size:"small",onChange:(e,o)=>{d(o),sessionStorage.setItem(x,o.toString()),T(t,o)},showFirstButton:!0,showLastButton:!0})})]})},y=!0,P=()=>(0,i.jsx)(r.Z,{children:(0,i.jsx)(N,{})})}},function(e){e.O(0,[3873,2491,6275,5940,5437,386,3065,109,2888,9774,179],function(){return e(e.s=19984)}),_N_E=e.O()}]);

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.