1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[765],{27879:function(e,n,t){"use strict";var s=t(30381);s.fn.isHoliday=function(){var e=this.localeData();return!!(e._holidays&&e._holidays.indexOf(this.format(e._holidayFormat))>=0)||!!e.holiday&&!!e.holiday(this)},s.fn.isBusinessDay=function(){var e=this.localeData()._workingWeekdays||[1,2,3,4,5];return!this.isHoliday()&&e.indexOf(this.day())>=0},s.fn.businessDaysIntoMonth=function(){if(!this.isValid())return NaN;var e,n=this.isBusinessDay()?this:this.prevBusinessDay();return n.monthBusinessDays().map((function(t,s){t.format("M/DD/YY")===n.format("M/DD/YY")&&(e=s+1)})),e},s.fn.businessDiff=function(e,n){var t=this.clone(),s=e.clone(),i=t>=s,r=t<s?t:s,a=s>t?s:t,l=0;if(r.format("DD/MM/YYYY")===a.format("DD/MM/YYYY"))return l;for(;r<a;)r.isBusinessDay()&&l++,r.add(1,"d");return n?i?l:-l:l},s.fn.businessAdd=function(e,n){var t=this.clone();if(!t.isValid())return t;var s=(e=e<0?-1*Math.round(-1*e):Math.round(e))<0?-1:1;n="undefined"!==typeof n?n:"days";for(var i=Math.abs(e);i>0;)t.add(s,n),t.isBusinessDay()&&i--;return t},s.fn.businessSubtract=function(e,n){return this.businessAdd(-e,n)},s.fn.nextBusinessDay=function(){for(var e=1,n=this.localeData()._nextBusinessDayLimit||7;e<n&&!this.add(1,"d").isBusinessDay();)e++;return this},s.fn.prevBusinessDay=function(){for(var e=1,n=this.localeData()._prevBusinessDayLimit||7;e<n&&!this.subtract(1,"d").isBusinessDay();)e++;return this},s.fn.monthBusinessDays=function(e){if(!this.isValid())return[];for(var n=this.clone(),t=n.clone().startOf("month"),s=e||n.clone().endOf("month"),i=[],r=!1;!r;)t.isBusinessDay()&&i.push(t.clone()),s.diff(t.add(1,"d"))<0&&(r=!0);return i},s.fn.monthNaturalDays=function(e){if(!this.isValid())return[];for(var n=this.clone(),t=e?n.clone():n.clone().startOf("month"),s=n.clone().endOf("month"),i=[],r=!1;!r;)i.push(t.clone()),s.diff(t.add(1,"d"))<0&&(r=!0);return i},s.fn.monthBusinessWeeks=function(e){e=e||!1;var n=this.clone(),t=e?n.clone():n.clone().startOf("month");return i(this,e,null,t)},s.fn.businessWeeksBetween=function(e){var n=this.clone().clone();return i(this,!1,e,n)};var i=function(e,n,t,i){if(!e.isValid())return[];for(var r=e.clone(),a=i,l=t?s(t).clone():r.clone().endOf("month"),o=[],c=[],u=!1;!u;)a.day()>=1&&a.day()<6&&c.push(a.clone()),5===a.day()&&(o.push(c),c=[]),l.diff(a.add(1,"d"))<0&&(c.length<5&&o.push(c),u=!0);return o};s.fn.monthNaturalWeeks=function(e){if(!this.isValid())return[];for(var n=this.clone(),t=e?n.clone():n.clone().startOf("month"),s=n.clone().endOf("month"),i=[],r=[],a=!1;!a;)r.push(t.clone()),6===t.day()&&(i.push(r),r=[]),s.diff(t.add(1,"d"))<0&&(r.length<7&&i.push(r),a=!0);return i},e.exports&&(e.exports=s)},95075:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/customer-center/suggestion",function(){return t(24225)}])},72530:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var s=t(29815),i=t(67294),r=t(80955);function a(e){var n=e.inputRef,t=e.initailFiles,a=e.maxFileSize,l=e.maxFileLength,o=e.onChange,c=e.accept,u=void 0===c?"*":c,d=(0,r.v)(),f=d.openConfirmModal,h=d.openAlertModal,p=(0,i.useState)(t),m=p[0],v=p[1],x=(0,i.useState)(!1),j=x[0],g=x[1],N=(0,i.useCallback)((function(e){var n=(0,s.Z)(e).filter((function(e){return!m.map((function(e){return e.name})).includes(e.name)}));if(m.reduce((function(e,n){return e+n.size}),0)+n.reduce((function(e,n){return e+n.size}),0)>1048576*a)return h("\ucd5c\ub300 ".concat(a,"MB\uae4c\uc9c0 \uc5c5\ub85c\ub4dc\uac00 \uac00\ub2a5\ud569\ub2c8\ub2e4."));if(m.length+n.length>l)return h("\ucd5c\ub300 ".concat(l,"\uac1c \ud30c\uc77c\ub9cc \ub4f1\ub85d\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."));if("*"!==u&&n.filter((function(e){return!u.includes(e.type)})).length>0)return h("\uc774\ubbf8\uc9c0 \ud30c\uc77c\ub9cc \ucca8\ubd80 \uac00\ub2a5\ud569\ub2c8\ub2e4.");var t=(0,s.Z)(m).concat((0,s.Z)(n));v(t),o&&o(t)}),[m,a,l,u,o,h]),y=(0,i.useCallback)((function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n?f("\ud30c\uc77c\uc744 \uc0ad\uc81c\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?",{onOK:function(){var n=m.filter((function(n,t){return t!==e}));v(n),o&&o(n)}}):v((function(n){var t=n.filter((function(n,t){return t!==e}));return o&&o(t),t}))}
1),[m,f,o]),b=(0,i.useCallback)((function(e){e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?g(!0):"dragleave"===e.type&&g(!1)}),[]),D=(0,i.useCallback)((function(e){e.preventDefault(),e.stopPropagation(),g(!1),e.dataTransfer.files&&e.dataTransfer.files[0]&&N(e.dataTransfer.files)}),[N]),B=(0,i.useCallback)((function(e){e.preventDefault(),e.target.files&&e.target.files[0]&&N(e.target.files)}),[N]),M=(0,i.useCallback)((function(){n.current.click(),n.current.value=""}),[n]),k=(0,i.useCallback)((function(e){return(e/1048576).toFixed(2)+" MB"}),[]),C=(0,i.useMemo)((function(){return k(m.reduce((function(e,n){return e+n.size}),0))}),[k,m]);return(0,i.useEffect)((function(){t.length>0&&v(t)}),[t]),{fileList:m,dragActive:j,totalFileSize:C,byteToMb:k,onFileAdd:N,onFileDelete:y,onFileDrag:b,onFileDrop:D,onFileChange:B,onButtonClick:M}}},53668:function(e,n,t){"use strict";var s=t(85893),i=(t(67294),t(86010)),r=t(9008),a=t.n(r),l=t(50674),o=t(70385),c=t(47268),u=t(41013),d=t(75128),f=t(75987);n.Z=function(e){var n=e.children,t=e.session,r=(0,f.Z)(),h=r.refContainerEl,p=r.refAsideEl,m=r.refQuickMenuEl,v=r.refExpandedQuickMenuEl,x=r.refFoldedQuickMenuEl,j=r.refQuickMenuOpenButtonEl,g=r.refQuickMenuCloseButtonEl,N=r.refGoTopButtonEl,y=r.opensQuickMenu,b=r.showsGoTopButton,D=r.openQuickMenu,B=r.closeQuickMenu,M=r.scrollTop;return(0,s.jsxs)("div",{className:"pageWrapper",children:[(0,s.jsx)(a(),{children:(0,s.jsx)("title",{children:"\uce90\uce20"})}),(0,s.jsx)(l.Z,{session:t}),(0,s.jsxs)("main",{ref:h,className:"containerLayout",children:[(0,s.jsx)("div",{className:(0,i.Z)("dimmedAside",y&&"open")}),(0,s.jsx)("div",{className:"layoutMain",children:(0,s.jsx)("div",{className:"container hasLNB",children:(0,s.jsxs)("div",{className:"contentGroup",children:[(0,s.jsx)(o.Z,{title:"",menus:d.Z.MENUS.CUSTOMER_CENTER,hasCsLNBInfoBox:!0}),n]})})}),(0,s.jsx)(u.Z,{refAsideEl:p,refQuickMenuEl:m,refExpandedQuickMenuEl:v,refFoldedQuickMenuEl:x,refQuickMenuOpenButtonEl:j,refQuickMenuCloseButtonEl:g,session:t,opensQuickMenu:y,openQuickMenu:D,closeQuickMenu:B}),(0,s.jsx)(c.Z,{refGoTopButtonEl:N,showsGoTopButton:b,scrollTop:M})]})]})}},70385:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var s=t(85893),i=t(67294),r=t(11163),a=t.n(r),l=t(41664),o=t.n(l),c=t(48207);var u=function(e){var n=e.navigation,t=a(),r=(0,c.Z)(),l=r.hasLoggedIn,u=r.openNonLoginUserConfirmModal,d=(0,i.useCallback)((function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(){!n||l?t.push(e):u()}}),[l,u]);return(0,s.jsx)("nav",{children:(0,s.jsx)("ul",{className:"menuDepth1",children:n.menus.map((function(e){return(0,s.jsx)(i.Fragment,{children:(0,s.jsxs)("li",{className:n.current.parent.path===e.path||n.current.path===e.path?"activeOn":void 0,children:[e.isLoginRequired?(0,s.jsx)("a",{style:{cursor:"pointer"},onClick:d(e.path,!0),children:(0,s.jsx)("span",{children:e.name})}):(0,s.jsx)(o(),{href:n.getIndexPagePath(e),children:(0,s.jsx)("a",{children:e.name})}),n.current.parent.path===e.path&&n.current.parent.children&&(0,s.jsx)("div",{className:"subMenu",children:(0,s.jsx)("ul",{className:"menuDepth2",children:n.current.parent.children.map((function(e){return(0,s.jsx)(i.Fragment,{children:(0,s.jsx)("li",{className:e.path===n.current.path||e.path!==n.current.parent.path&&n.current.path.startsWith(e.path)?"activeOn":void 0,children:(0,s.jsx)(o(),{href:e.path,children:(0,s.jsx)("a",{children:e.name})})})},e.path)}))})})]})},e.path)}))})})},d=t(1528);t(70899);var f=function(e){var n=e.title,t=e.menus,i=(e.hasCsLNBInfoBox,(0,d.Z)(t,!0));return(0,s.jsxs)("div",{className:"lnbBox",children:[n&&(0,s.jsx)("strong",{className:"menuTitle",children:n}),(0,s.jsx)(u,{navigation:i})]})}},24225:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return v}});var s=t(47568),i=t(10092),r=t(85893),a=t(52122),l=t(53668),o=t(67294),c=t(11163),u=t(72530);var d=function(e){var n=e.initailFiles,t=void 0===n?[]:n,s=e.accept,i=void 0===s?"*":s,a=e.multiple,l=void 0===a||a,c=e.maxFileSize,d=void 0===c?100:c,f=e.maxFileLength,h=void 0===f?5:f,p=e.onChange,m=void 0===p?function(){}:p,v=(0,o.useRef)(null),x=(0,u.Z)({inputRef:v,initailFiles:t,maxFileSize:d,maxFileLength:h,onChange:m}),j=x.fileList,g=x.totalFileSize,N=x.byteToMb,y=x.onFileDelete,b=x.onFileDrag,D=x.onFileDrop,B=x.onFileChange,M=x.onButtonClick,k=(0,o.useCallback)((function(e){B(e),e.target.value=""}),[B]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"formLableBox",children:[(0,r.jsx)("strong",{className:"label",children:"\ud30c\uc77c\ucca8\ubd80"}),(0,r.jsx)("div",{className:"rightBtns",children:(0,r.jsx)("button",{type:"button",className:"btnRound green sm",onClick:M,children:(0,r.jsx)("span",{children:"\ub0b4 PC\uc5d0\uc11c \ud30c\uc77c \ucc3e\uae30"})})})]}),(0,r.jsx)("input",{ref:v,style:{display:"none"}
1,type:"file",accept:i,multiple:l,onChange:k}),(0,r.jsxs)("div",{className:"formBoxRow",children:[(0,r.jsx)("div",{className:"fileUpload",onDragEnter:b,onDragOver:b,onDragLeave:b,onDrop:D,children:(0,r.jsx)("div",{className:"inputBox",children:(0,r.jsx)("div",{className:"cont attachedList",children:j.map((function(e,n){return(0,r.jsxs)("div",{className:"fileDataBox",children:[(0,r.jsxs)("div",{className:"resultItem",children:[(0,r.jsx)("em",{children:e.name}),(0,r.jsx)("button",{type:"button",className:"btnDelete",onClick:function(){return y(n,!1)},children:(0,r.jsx)("span",{children:"\uc0ad\uc81c"})})]}),(0,r.jsx)("span",{className:"textSub",children:N(e.size)})]},"suggestion-file-".concat(n+1))}))})})}),(0,r.jsxs)("div",{className:"boxAttachmentNumb",children:[(0,r.jsxs)("p",{className:"textFile",children:["\ucca8\ubd80\ud30c\uc77c ",(0,r.jsxs)("span",{className:"current",children:[j.length,"\uac1c"]}),(0,r.jsx)("span",{className:"total",children:"5\uac1c"})]}),(0,r.jsxs)("p",{className:"textWeight",children:["(",(0,r.jsx)("span",{className:"current",children:g}),(0,r.jsx)("span",{className:"total",children:"100MB"}),")"]})]})]})]})},f=t(80955),h=t(99333),p=t(70787),m=function(e){return e.replace(/\s/gm,"").length};var v=(0,a.Z)(l.Z)((function(){var e=(0,c.useRouter)(),n=(0,o.useState)([]),t=n[0],a=n[1],l=(0,o.useState)(""),u=l[0],v=l[1],x=(0,f.v)(),j=x.openConfirmModal,g=x.openAlertModal,N=(0,p.VQI)("d162e1ac-59c6-402d-a66f-f48bebcb5603").mutate,y=function(){var n=(0,s.Z)((function(){return(0,i.__generator)(this,(function(n){try{if(m(u)<=0)return[2,g("\uc81c\uc548 \ub0b4\uc6a9\uc744 \uc791\uc131\ud574 \uc8fc\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.")];j("\uc81c\uc548\ud558\uae30\ub97c \uc791\uc131 \ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?",{onOK:(0,s.Z)((function(){var n,s,r,a,l;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:return[4,(0,h.I)(t)];case 1:return s=i.sent(),r=(null===(n=s.resultData)||void 0===n?void 0:n.resultData)||[],a=0===r.length?void 0:r[0].fileGroupId,l=u.replace(/\n/gm,"<br/>"),N({content:l,attachGroupFileId:a,title:u.slice(0,30)},{onSuccess:function(){g("\uc81c\uc548\ud558\uae30 \uc791\uc131\uc774 \uc644\ub8cc\ub418\uc5c8\uc2b5\ub2c8\ub2e4.",(function(){e.replace("/customer-center/suggestion/finish")}))},onError:function(){g("\uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4.")}}),[2]}}))}))})}catch(r){g("\uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4.")}return[2]}))}));return function(){return n.apply(this,arguments)}}();return(0,r.jsx)("div",{className:"contentBox",children:(0,r.jsxs)("div",{className:"sectionBox boxProposalWrite",children:[(0,r.jsxs)("div",{className:"titleBox",children:[(0,r.jsx)("div",{className:"headTitle",children:"\uc81c\uc548\ud558\uae30"}),(0,r.jsxs)("div",{className:"guideComments",children:[(0,r.jsx)("p",{children:"\uce90\uce20\ub97c \uc0ac\uc6a9\ud574 \ubcf4\uc2dc\uace0 \uc544\uc26c\uc6b4 \uc810\uc774\ub098 \uc6d0\ud558\ub294 \ucf58\ud150\uce20, \uae30\ub2a5\uc774 \uc788\uc73c\uba74 \uc5b8\uc81c\ub4e0\uc9c0 \uc81c\uc548\ud574 \uc8fc\uc138\uc694."}),(0,r.jsx)("p",{children:"\ud558\ub098\ud558\ub098 \uaf3c\uaf3c\ud788 \uc0b4\ud3b4\ubcf4\uace0 \ub354 \ub098\uc740 \uce90\uce20 \uc11c\ube44\uc2a4\ub97c \uc704\ud574 \uc801\uadf9\uc801\uc73c\ub85c \ud65c\uc6a9\ud558\uaca0\uc2b5\ub2c8\ub2e4."})]})]}),(0,r.jsx)("div",{className:"writeItem",children:(0,r.jsxs)("ul",{className:"formPersonalData",children:[(0,r.jsxs)("li",{children:[(0,r.jsx)("div",{className:"inputBox textarea",title:"\uc81c\uc548 \ub0b4\uc6a9",children:(0,r.jsx)("textarea",{placeholder:"\uc81c\uc548 \ub0b4\uc6a9\uc744 \uc785\ub825\ud574 \uc8fc\uc138\uc694",rows:"20",onChange:function(e){var n=e.target.value;m(n)>2e3||v(n)},value:u})}),(0,r.jsxs)("div",{className:"boxMaximumInput",children:[(0,r.jsx)("span",{className:"current",children:m(u)}),(0,r.jsx)("span",{className:"total",children:"2000\uc790"})]})]}),(0,r.jsx)("li",{children:(0,r.jsx)(d,{initailFiles:t,onChange:a})})]})}),(0,r.jsx)("div",{className:"btnAreaBottom",children:(0,r.jsx)("button",{type:"button",className:"btnRect green btnProposal",onClick:y,children:(0,r.jsx)("span",{children:"\uc81c\uc548\ud558\uae30"})})})]})})}))},99333:function(e,n,t){"use strict";t.d(n,{I:function(){return r},p:function(){return a}});var s=t(9669),i=t.n(s),r=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/files/upload-users-svc09";return new Promise((function(t,s){0===e.length&&t([]);var r=new FormData,a=!0,l=!1,o=void 0;try{for(var c,u=e[Symbol.iterator]();!(a=(c=u.next()).done);a=!0){var d=c.value;r.append("files",d)}}catch(f){l=!0,o=f}finally{try{a||null==u.return||u.return()}finally{if(l)throw o}}i()({url:"https://file.cats4me.net"+n,method:"POST",data:r}).then((function(e){t(e.data)})).catch((function(e){s(e)}))}))},a=function(e){return new Promise((function(n,t){e||n(void 0),i()({url:e,method:"GET",responseType:"blob"}).then((function(e){n(e.data)})).catch((function(e){t(e)}))}))}}},function(e){e.O(0,[5675,935,5454,1013,9774,2888,179],(function(){return n=95075,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.