PageSourceSearch

https://code-folio.vercel.app/_next/static/chunks/549.842dc3e0cc6d6b2e.js

js code-folio.vercel.app collected 2026-10-03 05:17:59 UTC 7,457 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[549],{50549:function(n,e,r){r.r(e),r.d(e,{default:function(){return _}});var t=r(70638),o=r(28598);r(70285),r(94149);var l=r(82684),i=r(60071),c=r.n(i),a=r(51774),s=r.n(a),d=r(65585),u=r(10344),g=r(25493),h=r(44685),m=r(16373),p=r(9518),f=r(2842);let b=n=>-1!==["image/jpeg","image/jpg","image/png","image/svg+xml"].indexOf(n.type);var V=r(22765);function H(){let n=(0,t.Z)(["\n  fill: ",";\n"]);return H=function(){return n},n}let w=()=>(0,o.jsx)("svg",{width:"79",height:"14",viewBox:"0 0 79 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(Z,{d:"M9.18185 0.422V13.106H10.3439V0.422H9.18185ZM3.66585 1.402C1.80385 1.402 0.459852 3.124 0.459852 5.812C0.459852 8.514 1.80385 10.236 3.66585 10.236C5.54185 10.236 6.88585 8.514 6.88585 5.812C6.88585 3.124 5.54185 1.402 3.66585 1.402ZM3.66585 2.452C4.91185 2.452 5.76585 3.768 5.76585 5.812C5.76585 7.87 4.91185 9.214 3.66585 9.214C2.43385 9.214 1.56585 7.87 1.56585 5.812C1.56585 3.768 2.43385 2.452 3.66585 2.452ZM13.5908 1.668V9.914H19.4148V1.668H13.5908ZM18.2808 2.606V8.976H14.7248V2.606H18.2808ZM22.0608 0.422V13.106H23.2228V0.422H22.0608ZM29.1017 2.242V4.3C29.1017 6.484 27.5757 8.864 25.7417 9.732L26.4137 10.656C28.4297 9.662 30.0397 6.974 30.0397 4.3V2.242H29.1017ZM29.3257 2.242V4.3C29.3257 6.932 30.9497 9.396 32.9937 10.348L33.6517 9.424C31.7897 8.626 30.2637 6.442 30.2637 4.3V2.242H29.3257ZM26.1617 1.724V2.704H33.2317V1.724H26.1617ZM34.9397 0.436V13.092H36.1017V0.436H34.9397ZM48.1214 3.446V4.412H51.5234V3.446H48.1214ZM45.2094 1.01C43.3194 1.01 41.9474 2.214 41.9474 3.95C41.9474 5.686 43.3194 6.876 45.2094 6.876C47.0994 6.876 48.4714 5.686 48.4714 3.95C48.4714 2.214 47.0994 1.01 45.2094 1.01ZM45.2094 1.99C46.4554 1.99 47.3514 2.788 47.3514 3.95C47.3514 5.098 46.4554 5.91 45.2094 5.91C43.9634 5.91 43.0674 5.098 43.0674 3.95C43.0674 2.788 43.9634 1.99 45.2094 1.99ZM51.0054 0.436V7.226H52.1674V0.436H51.0054ZM44.0614 7.856V12.924H52.1674V7.856H51.0194V9.452H45.2234V7.856H44.0614ZM45.2234 10.376H51.0194V11.986H45.2234V10.376ZM54.6443 10.572V11.538H66.1103V10.572H54.6443ZM59.7683 7.856V10.978H60.9303V7.856H59.7683ZM56.0303 1.374V2.312H63.5483V4.272H56.0723V7.744H57.2203V5.21H64.6963V1.374H56.0303ZM56.0723 7.254V8.206H64.9903V7.254H56.0723ZM68.9652 6.498V7.45H77.6592V6.498H68.9652ZM67.5232 10.418V11.384H78.9892V10.418H67.5232ZM68.9652 1.598V6.918H70.1272V2.564H77.5332V1.598H68.9652Z"})}),Z=p.ZP.path.withConfig({componentId:"sc-732471b1-0"})(H(),n=>{let{theme:e}=n;return e.colors.gray4});function C(){let n=(0,t.Z)(["\n  -webkit-text-fill-color: ",";\n  ::placeholder {\n  }\n  .w-md-editor {\n    background-color: none;\n  }\n  .w-md-editor-toolbar {\n    -webkit-text-fill-color: "," !important;\n    border: 1px solid ",";\n    background-color: ",";\n    & li > button > svg > path {\n      color: ",";\n    }\n    & li > button:hover {\n      background-color: #343942;\n    }\n    & li.active > button {\n      background-color: #343942;\n    }\n  }\n  .w-md-editor-toolbar-divider {\n    background-color: ",";\n  }\n  .w-md-editor-content {\n    background-color: ",";\n    border: 1px solid ",";\n    border-top: none;\n  }\n  .w-md-editor-input {\n    background-color: ",";\n    border-right: 1px solid ",";\n    color: ",";\n\n    ::-webkit-scrollbar {\n      background-color: ",";\n    }\n  }\n  .wmde-markdown {\n    background-color: ",";\n  }\n  .w-md-editor-preview {\n    box-shadow: none;\n  }\n\n  .w-md-editor-toolbar-child {\n    background: none;\n  }\n\n  li {\n    list-style-type: disc;\n  }\n"]);return C=function(){return n},n}function x(){let n=(0,t.Z)(["\n  width: 11.25rem;\n  height: 5.25rem;\n  padding-top: 0.25rem;\n  /* padding: 0.625rem; */\n  background-color: ",";\n  border-radius: 0.25rem;\n"]);return x=function(){return n},n}function v(){let n=(0,t.Z)(["\n  display: flex;\n  justify-content: flex-end;\n  padding: 0 0.25rem;\n  margin-bottom: 0.5rem;\n  width: 100%;\n  cursor: pointer;\n"]);return v=function(){return n},n}function y(){let n=(0,t.Z)(["\n  width: 7rem;\n  height: 1.875rem;\n  background: none;\n  border: 1px solid ",";\n  border-radius: 0.25rem;\n  padding: 0.375rem 0;\n  cursor: pointer;\n  margin: 0 auto;\n\n  box-sizing: border-box;\n  text-align: center;\n\n  &:hover {\n    border-color: ",";\n    path {\n      fill: ",";\n    }\n  }\n"]);return y=function(){return n},n}function k(){let n=(0,t.Z)(["\n  display: none;\n"]);return k=function(){return n},n}let M=s()(()=>Promise.all([r.e(671),r.e(371)]).then(r.bind(r,93371)),{loadableGenerated:{webpack:()=>[93371]},ssr:!1}),j=()=>{let n=(0,u.sJ)(g.F),[e,r]=(0,u.FV)(g.GV),[t,i]=(0,l.useState)(!1),a=n=>{n.clipboardData.files.length&&(n.preventDefault(),s(n.clipboardData))},s=(0,l.useCallback)(async e=>{if(!e)return;let t=[];if(e instanceof DataTransfer)for(let n=0;n<e.items.length;n+=1){let r=e.items[n].getAsFile();if(r&&!b(r)){i(!0);return}t.push(r)}else if(e instanceof FileList)for(let n=0;n<e.length;n+=1){let r=e[n];if(!b(r)){i(!0);return}t.push(r)}t.map(async e=>{let t=(0,d.Z)(),o=await (0,f.Z)(e);if(!o)return;let l=await (0,m.Z)(o,"post-image","".concat(n,"/").concat(t));if(!l)return;let i="![".concat(e.name,"](").concat(l,")"),c=p(i);r(c||"")})},[r]),p=n=>{let e=document.querySelector("textarea");if(!e)return null;let r=e.value,t=r.length,o=e.selectionStart,l=e.selectionEnd,i=r.slice(0,o),c=r.slice(o,t);return r=i+n+c,e.value=r,e.selectionEnd=l+n.length,r};return(0,o.jsxs)("div",{children:[t&&(0,o.jsx)(V.u_,{onClose:()=>i(!1),title:"이미지 파일이 아닙니다.",children:"jpeg, jpg, png, svg 등 이미지 파일ì
1„ 넣어주세요."}),(0,o.jsx)(P,{value:e,onChange:n=>{r(n||"")},height:600,onPaste:a,onDrop:n=>{n.preventDefault(),s(n.dataTransfer)},textareaProps:{placeholder:"프로젝트 내용을 입력해 주세요."},commands:[h.Se,h.pU,h.Jq,h.hr,h.TN,h.qE,h.p4,h.mW,h.TU,h.qE,h.K_,h.G5,h.F0,h.qE,h.ru([],{name:"image",groupName:"image",icon:(0,o.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 20 20",children:(0,o.jsx)("path",{fill:"currentColor",d:"M15 9c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm4-7H1c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 13l-6-5-2 2-4-5-4 8V4h16v11z"})}),children:n=>(0,o.jsxs)(E,{children:[(0,o.jsx)(I,{children:(0,o.jsx)(c(),{src:"/icons/close.svg",width:16,height:16,alt:"닫힘버튼",onClick:()=>n.close()})}),(0,o.jsx)("label",{htmlFor:"file",children:(0,o.jsx)(D,{children:(0,o.jsx)(w,{})})}),(0,o.jsx)(F,{type:"file",id:"file",value:"",multiple:!0,accept:"image/*",onChange:e=>{s(e.target.files),n.close()}})]}),buttonProps:{"aria-label":"Insert image"}})]})]})},P=(0,p.ZP)(M).withConfig({componentId:"sc-554c8962-0"})(C(),n=>n.theme.colors.white,n=>n.theme.colors.black,n=>n.theme.colors.gray7,n=>n.theme.colors.gray11,n=>n.theme.colors.gray2,n=>n.theme.colors.gray7,n=>n.theme.colors.gray7,n=>n.theme.colors.gray7,n=>n.theme.colors.gray11,n=>n.theme.colors.gray7,n=>n.theme.colors.white,n=>n.theme.colors.gray11,n=>n.theme.colors.gray11),E=p.ZP.div.withConfig({componentId:"sc-554c8962-1"})(x(),n=>{let{theme:e}=n;return e.colors.gray9}),I=p.ZP.div.withConfig({componentId:"sc-554c8962-2"})(v()),D=p.ZP.div.withConfig({componentId:"sc-554c8962-3"})(y(),n=>{let{theme:e}=n;return e.colors.gray2},n=>{let{theme:e}=n;return e.colors.primary1},n=>{let{theme:e}=n;return e.colors.primary1}),F=p.ZP.input.withConfig({componentId:"sc-554c8962-4"})(k());var _=j}}]);

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.