PageSourceSearch

https://develofolio.com/_next/static/chunks/pages/edit-9d7174027127fc6e92f4.js

js develofolio.com collected 2026-09-25 21:59:28 UTC 98,562 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[637],{3506:function(e,t,r){"use strict";r.d(t,{m:function(){return k}});var n=r(5893),o=r(4699),i=(r(7294),r(7597)),c=r(6156),a=r(7897),s=r(131),l=r(3540),u=r(1664),p=r(4920),f=r(4858),d=r(3434),b=r(6167),y=r(4651),h=r(2804),g=r(8949),m=r(6280),v=r(959),j=r(4930);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){(0,c.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var w=function(){var e=(0,i.hQ)(),t=(0,o.Z)(e,1)[0],r=(0,s.a)(),c=(0,h.sJ)(g.zL),l=(0,j.a)(),u=(0,o.Z)(l,1)[0];return(0,n.jsxs)("div",{className:t({backgroundColor:a.gray[8],width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",paddingTop:"16px",paddingBottom:"16px"}),children:[(0,n.jsx)(m.Z,{content:function(){return(0,n.jsx)(v.Z,{items:[{label:"\ub85c\uadf8\uc544\uc6c3"}],onItemSelect:u,overrides:{List:{style:x(x(x({},(0,b.E0)("top","8px")),(0,b.E0)("bottom","8px")),{},{boxShadow:"none"})}}})},overrides:{Body:{style:x(x({},(0,b.E0)("top","8px")),(0,b.E0)("bottom","8px"))},Inner:{style:{backgroundColor:"transparent"}}},placement:"bottomLeft",children:(0,n.jsx)("button",{className:t(x(x({backgroundColor:"transparent"},(0,b.$u)("none")),{},{cursor:"pointer"})),children:r&&(r.avatar?(0,n.jsx)("img",{src:r.avatar,width:"40px",height:"40px",className:t({borderRadius:"50%"}),alt:r.name}):(0,n.jsx)(f.S$,{color:a.gray[3],children:null===r||void 0===r?void 0:r.name}))})}),(0,n.jsxs)("nav",{className:t({flex:"1 1 0",display:"flex",flexDirection:"column",gap:"8px",paddingTop:"32px",width:"100%"}),children:[(0,n.jsx)(P,{name:"Edit",icon:"Pencil",href:p.LI}),(0,n.jsx)(P,{name:"Settings",icon:"Setting",href:p.HJ})]}),(0,n.jsx)(f.S$,{className:t({}),color:a.gray[5],children:"SAVED"===c?"Saved!":"SAVING"===c?"Saving...":""})]})},P=function(e){var t=e.href,r=e.icon,c=e.name,s=(0,i.hQ)(),p=(0,o.Z)(s,1)[0],h=(0,d.X)(),g=(0,o.Z)(h,2),m=g[0],v=g[1],j=(0,y.useRouter)().pathname===t;return(0,n.jsx)(u.default,{href:t,children:(0,n.jsx)("a",{className:p(x(x({textDecoration:"none"},(0,b.pB)(["background-color"],"0.2s")),{},{":hover":{backgroundColor:a.gray[7]}})),ref:m,children:(0,n.jsxs)("div",{className:p(x({width:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"4px",boxSizing:"border-box"},(0,b.o3)("8px","4px"))),children:[(0,n.jsx)(l.J,{type:r,size:32,className:p(x({fill:j?a.gray[2]:v?a.gray[4]:a.gray[6]},(0,b.pB)(["fill"],"0.2s")))}),(0,n.jsx)(f.S$,{className:p({fontWeight:j?700:500}),color:j?a.gray[2]:v?a.gray[4]:a.gray[6],children:c})]})})})},k=function(e){var t=e.children,r=(0,i.hQ)(),c=(0,o.Z)(r,1)[0];return(0,n.jsx)("div",{children:(0,n.jsxs)("div",{className:c({minHeight:"100vh"}),children:[(0,n.jsx)("div",{className:c({position:"fixed",top:"0px",left:"0px",bottom:"0px",width:"72px"}),children:(0,n.jsx)(w,{})}),(0,n.jsx)("div",{className:c({marginLeft:"72px",width:"calc(100% - 72px)"}),children:t})]})})}},8949:function(e,t,r){"use strict";r.d(t,{zL:function(){return o},Xb:function(){return i},Il:function(){return c},Z4:function(){return a},mo:function(){return s},RI:function(){return l},V9:function(){return u},$s:function(){return p},Ig:function(){return f},wy:function(){return d}});var n=r(2804),o=(0,n.cn)({key:"saveState",default:null}),i=(0,n.cn)({key:"iconPickerShowState",default:!1}),c=(0,n.cn)({key:"iconPickerTargetState",default:null}),a=(0,n.cn)({key:"iconPickerSelectedIndexState",default:0}),s=(0,n.cn)({key:"iconPickerResultsState",default:[]}),l=(0,n.cn)({key:"blockPickerShowState",default:!1}),u=(0,n.cn)({key:"blockPickerSelectedIndexState",default:0}),p=(0,n.cn)({key:"schoolPickerShowState",default:!1}),f=(0,n.cn)({key:"schoolPickerTargetState",default:null}),d=(0,n.cn)({key:"schoolPickerSelectedIndexState",default:0})},4930:function(e,t,r){"use strict";r.d(t,{a:function(){return p}});
1var n=r(7757),o=r.n(n),i=r(2137),c=r(9669),a=r.n(c),s=r(4651),l=r(7294),u=r(4920),p=function(){var e=(0,s.useRouter)();return[(0,l.useCallback)((0,i.Z)(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a().get("/jwt/logout",{baseURL:"https://api-v2.develofolio.com",withCredentials:!0});case 2:e.push(u.XX);case 3:case"end":return t.stop()}}),t)}))),[e])]}},131:function(e,t,r){"use strict";r.d(t,{a:function(){return i}});var n=r(6829),o=r(7780),i=function(){var e=(0,n.useQuery)(o.en).data;return null===e||void 0===e?void 0:e.me}},4279:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return Pn},default:function(){return kn}});var n=r(5893),o=r(4699),i=r(6156),c=r(7294),a=r(7493),s=r(8872),l=r(7645),u=function(e,t){var r=p(e,t);a.YR.setNodes(e,(0,i.Z)({},t,!r||null),{match:a.xv.isText,split:!0})},p=function(e,t){var r=a.ML.nodes(e,{match:function(e){return a.xv.isText(e)&&!0===e[t]},mode:"all"}),n=(0,o.Z)(r,1)[0];return Boolean(n)},f=function(e){var t=a.ML.nodes(e,{match:function(e){return a.xv.isText(e)},mode:"all"}),r=(0,o.Z)(t,1)[0];return r?r[0]:void 0},d=r(1365),b=r(7865),y=r(7597);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m=function(e){var t=e.attributes,r=e.children,i=e.element,c=(0,y.hQ)(),a=(0,o.Z)(c,1)[0];return(0,n.jsxs)("span",g(g({},t),{},{contentEditable:!1,className:a(v),children:[(0,n.jsx)("img",{src:"/logos/".concat(i.file),className:a(j),alt:i.name}),r]}))},v={display:"inline-block",alignItems:"center",justifyContent:"center",position:"relative"},j={height:"1em",display:"block"},O=r(9530),x=r(7897),w=r(7375),P=r(3540),k=r(6408),S=r(5200),D=r(7329),E=r(9240),Z=r(6486);var N=function(e,t){return!t||("object"===typeof t?Object.entries(t).every((function(t){var r=(0,o.Z)(t,2),n=r[0],i=r[1];return(0,Z.castArray)(i).includes(e[n])})):t(e))};function A(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return R(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return R(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){a=!0,i=e},f:function(){try{c||null==r.return||r.return()}finally{if(a)throw i}}}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var C=function(e,t){try{var r,n,i=t.match,c=void 0===i?function(){return!0}:i,s=t.at,l=void 0===s?e.selection||[]:s,u=t.reverse,p=void 0!==u&&u,f=t.voids,d=void 0!==f&&f;if(a.Dr.isSpan(l)){var b=(0,o.Z)(l,2);r=b[0],n=b[1]}else if(a.e6.isRange(l)){var y=a.ML.path(e,l,{edge:"start"}),h=a.ML.path(e,l,{edge:"end"});r=p?h:y,n=p?y:h}var g=[e,[]];a.y$.isPath(l)&&(g=a.ML.node(e,l));var m,v=A(a.NB.nodes(g[0],{reverse:p,from:r,to:n,pass:function(t){var r=(0,o.Z)(t,1)[0];return!d&&a.ML.isVoid(e,r)}}));try{for(v.s();!(m=v.n()).done;){var j=(0,o.Z)(m.value,2),O=j[0],x=j[1];if(N(O,c))return[O,x]}}catch(w){v.e(w)}finally{v.f()}}catch(P){return}},B=function(e,t,r,n){var o;if(!r.current)return null;if(e.id===n)return null;var i=null===(o=r.current)||void 0===o?void 0:o.getBoundingClientRect(),c=(i.bottom-i.top)/2,a=t.getClientOffset();if(!a)return null;var s=a.y-i.top;return s<c?"top":s>=c?"bottom":null},L=function(e,t){var r=t.blockRef,n=t.id,i=t.dropLine,c=t.setDropLine;return(0,E.L)({accept:"block",drop:function(t,i){var c=B(t,i,r,n);if(c){var l=C(e,{at:[],match:function(r){return a.ML.isBlock(e,r)&&"id"in r&&r.id===t.id}});if(l){var u,p=(0,o.Z)(l,2)[1];if(s.F3.focus(e),"bottom"===c){var f;if(!(u=null===(f=C(e,{at:[],match:function(t){return a.ML.isBlock(e,t)&&"id"in t&&t.id===n}}))||void 0===f?void 0:f[1]))return;if(a.y$.equals(p,a.y$.next(u)))return}if("top"===c){var d,b=null===(d=C(e,{at:[],match:function(t){return a.ML.isBlock(e,t)&&"id"in t&&t.id===n}}))||void 0===d?void 0:d[1];if(!b)return;if(u=[].concat((0,D.Z)(b.slice(0,-1)),[b[b.length-1]-1]),a.y$.equals(p,u))return}if(c){var y=u,h=a.y$.isBefore(p,y)&&a.y$.isSibling(p,y)?y:a.y$.next(y);a.YR.moveNodes(e,{at:p,to:h})}}}},collect:function(e){return{isOver:e.isOver()}},hover:function(t,o){var l,u,p,f=B(t,o,r,n),d=(l=i,!(u=f)&&l?null:"top"===u&&"top"!==l?"top":"bottom"===u&&"bottom"!==l?"bottom":void 0);d&&c(d),f&&((p=e.selection)&&a.e6.isExpanded(p))&&(s.F3.focus(e),a.YR.collapse(e))}})},M=function(e){var t=e.id,r=e.blockRef,n=e.removePreview,i=(0,s._7)(),a=(0,c.useState)(null),l=a[0],u=a[1],p=function(e){return(0,S.c)((function(){return{type:"block",item:function(){return document.body.classList.add("dragging"),{id:e}},collect:function(e){return{isDragging:e.isDragging()}},end:function(){document.body.classList.remove("dragging")}}}),[])}(t),f=(0,o.Z)(p,3),d=f[0].isDragging,b=f[1],y=f[2],h=L(i,{id:t,blockRef:r,dropLine:l,setDropLine:u}),g=(0,o.Z)(h,2),m=g[0].isOver,v=g[1];return n?(v(r),y((0,k.r)(),{captureDraggingState:!0})):y(v(r)),!m&&l&&u(null),{isDragging:d,dropLine:l,dragRef:b}},Y=r(3434),I=r(5878),T=r(6167),Q=r(4702),F=r(9028),z=r(4184),V=r.n(z),$=r(6280),J=r(959),_=r(4858);function U(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?U(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var H=[{id:"DELETE",label:"\uc0ad\uc81c",icon:"TrashLine"}],X=function(e){var t=e.children,r=e.id,l=e.className,u=e.overrides,p=e.element,f=(0,s.ui)(),d=(0,y.hQ)(),b=(0,o.Z)(d,1)[0],h=(0,c.useRef)(null),g=(0,Y.X)(),m=(0,o.Z)(g,2),v=m[0],j=m[1],O=(0,c.useState)(!1),w=O[0],k=O[1],S=s.F3.findPath(f,p),D=M({id:r,blockRef:h}),E=D.dropLine,Z=D.dragRef,N=D.isDragging;return(0,n.jsx)("div",{className:V()(b({position:"relative",opacity:N?.5:1,marginTop:"4px",marginBottom:"4px"}),l),ref:(0,I.Z)([h,v]),children:(0,n.jsxs)(Q.Z,{overrides:u,children:[t,E&&(0,n.jsx)("div",{className:b({position:"absolute",left:"0",right:"0",top:"top"===E?"-2px":void 0,bottom:"bottom"===E?"-2px":void 0,height:"4px",background:x.blue[2]}),contentEditable:!1}),(0,n.jsx)($.Z,{triggerType:"click",onOpen:function(){k(!0)},onClose:function(){k(!1)},accessibilityType:"menu",content:function(){return(0,n.jsx)(J.Z,{items:H,overrides:{List:{style:W(W(W({},(0,T.E0)("top","4px")),(0,T.E0)("bottom","4px")),{},{minWidth:"180px"})},Option:{component:G}},onItemSelect:function(e){"DELETE"===e.item.id&&a.YR.removeNodes(f,{at:S})}})},overrides:{Body:{style:W(W({},(0,T.E0)("top","4px")),(0,T.E0)("bottom","4px"))},Inner:{style:W(W({},(0,T.E0)("top","4px")),(0,T.E0)("bottom","4px"))}},placement:"bottomLeft",children:(0,n.jsx)("div",{className:b(W(W({boxSizing:"border-box"},(0,T.o3)("0px")),{},(0,i.Z)({position:"absolute",display:"flex",transform:"translateX(-7.5px)"},(0,F.up)("MEDIUM"),{transform:"translateX(-6px)"}))),contentEditable:!1,children:(0,n.jsx)("button",{ref:Z,className:b(W(W(W({cursor:"grab",border:"none",background:"none"},(0,T.o3)("4px","0px")),{},{display:"inline-flex",outlineStyle:"none",opacity:w||j?1:0},(0,T.pB)(["opacity"],"0.2s")),{},{pointerEvents:"auto",alignItems:"center",borderRadius:"4px",":hover":{backgroundColor:x.gray[1]}})),children:(0,n.jsx)(P.J,{type:"DragHandle",color:x.gray[5],className:b((0,i.Z)({width:"15.5px",height:"15.5px"},(0,F.up)("MEDIUM"),{width:"20px",height:"20px"}))})})})}),w&&(0,n.jsx)("div",{className:b({position:"absolute",userSelect:"none",pointerEvents:"none",top:"0px",left:"0px",width:"100%",height:"100%",backgroundColor:"rgba(46, 170, 220, 0.2)"})})]})})},G=(0,c.forwardRef)((function(e,t){e.$disabled,e.$isFocused;var r=e.$isHighlighted,i=(e.$style,e.resetMenu,e.renderAll,e.item),c=(e.overrides,(0,w.Z)(e,["$disabled","$isFocused","$isHighlighted","$style","resetMenu","renderAll","item","overrides"])),a=(0,y.hQ)(),s=(0,o.Z)(a,1)[0];return(0,n.jsxs)("li",W(W({ref:t,className:s(W(W({display:"flex",alignItems:"center"},(0,T.o3)("4px","16px")),{},{gap:"8px",cursor:"pointer",backgroundColor:r?x.gray[1]:void 0},(0,T.pB)(["background-color"],"0.2s")))},c),{},{children:[(0,n.jsx)(P.J,{type:i.icon,size:18,color:x.gray[7]}),(0,n.jsx)(_.S$,{color:x.gray[7],children:i.label})]}))})),q=r(7666);function K(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?K(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):K(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var te=function(e){var t=e.attributes,r=e.children,i=e.element,c=(0,y.hQ)(),a=(0,o.Z)(c,1)[0],s="h".concat(i.level);return(0,n.jsx)(X,{id:i.id,overrides:{Grid:{style:{marginTop:1===i.level?"60px":2===i.level?"32px":"20px",marginBottom:1===i.level?"24px":2===i.level?"16px":"8px"}}},element:i,children:(0,n.jsx)(O.Z,{span:[4,8,12],children:(0,n.jsxs)(s,ee(ee({},t),{},{className:a(ee({position:"relative"},1===i.level?re:2===i.level?ne:oe)),children:[1===i.level&&(0,n.jsx)("span",{className:a(ie),contentEditable:!1}
1),(0,n.jsxs)(q.V,{element:i,children:["Heading ",i.level]}),r]}))})})},re={fontSize:"30px",lineHeight:1.5},ne={fontSize:"24px",lineHeight:1.3},oe={fontSize:"20px",lineHeight:1.2},ie={userSelect:"none",display:"inline-block",width:"4px",height:"45px",backgroundColor:x.teal[6],marginRight:"16px",verticalAlign:"bottom"},ce=r(8917);function ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function se(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ae(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var le=function(){return{id:(0,ce.x0)(),type:"paragraph",children:[{text:""}]}},ue=function(e){var t=e.attributes,r=e.children,i=e.element,c=(0,y.hQ)(),a=(0,o.Z)(c,1)[0],l=(0,s.vt)();return(0,n.jsx)(X,{id:i.id,element:i,children:(0,n.jsx)(O.Z,{span:[4,8,12],children:(0,n.jsxs)("p",se(se({},t),{},{className:a(pe),children:[l&&(0,n.jsx)(q.V,{element:i,children:"\ub9c8\ud06c\ub2e4\uc6b4\uc744 \uc774\uc6a9\ud574 \uc791\uc131\ud574\ubcf4\uc138\uc694!"}),r]}))})})},pe={fontSize:"16px",lineHeight:1.5,color:x.gray[7],position:"relative"};function fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function de(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var be=function(e){var t=e.attributes,r=e.children,i=e.element,c=(0,y.hQ)(),a=(0,o.Z)(c,1)[0];return(0,n.jsx)(X,{id:i.id,element:i,children:(0,n.jsx)(O.Z,{span:[4,8,12],children:(0,n.jsx)("ul",de(de({},t),{},{className:a({listStyle:"none"}),children:r}))})})};function ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function he(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ge=function(e){var t=e.attributes,r=e.children,i=(0,y.hQ)(),c=(0,o.Z)(i,1)[0];return(0,n.jsxs)("li",he(he({},t),{},{className:c({display:"flex",alignItems:"flex-start",paddingLeft:"2px",fontSize:"16px",lineHeight:1.5}),children:[(0,n.jsx)("div",{className:c({flexGrow:0,flexShrink:0,flexBasis:"auto",marginRight:"2px",width:"24px",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"24px",lineHeight:1,marginBottom:"0.1em"}),contentEditable:!1,children:"\u2022"}),r]}))},me=r(712);function ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ve(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Oe=function(){return{id:(0,ce.x0)(),type:"banner-name",children:[{text:""}]}},xe=function(e){var t=e.attributes,r=e.children,o=e.element;return(0,n.jsxs)(_.Y9,je(je({overrides:{Block:{style:{fontWeight:"bold",position:"relative"}}
1},color:x.gray[8]},t),{},{children:[(0,n.jsx)(q.V,{element:o,children:"\uc774\ub984"}),r]}))};function we(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?we(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ke=function(){return{id:(0,ce.x0)(),type:"banner-tagline",children:[{text:""}]}},Se=function(e){var t=e.attributes,r=e.children,o=e.element;return(0,n.jsxs)(_.Jf,Pe(Pe({overrides:{Block:{style:{position:"relative"}}},color:x.gray[6]},t),{},{children:[(0,n.jsx)(q.V,{element:o,children:"\uc9c1\ucc45"}),r]}))};function De(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?De(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):De(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ze=function(){return{id:(0,ce.x0)(),type:"banner-bio",children:[{text:""}]}},Ne=function(e){var t=e.attributes,r=e.children,o=e.element;return(0,n.jsxs)(_.Yl,Ee(Ee({overrides:{Block:{style:{marginTop:"16px",marginBottom:"16px",position:"relative"}}},color:x.gray[7]},t),{},{children:[(0,n.jsx)(q.V,{element:o,children:"\uac04\ub2e8\ud55c \uc18c\uac1c"}),r]}))};function Ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Re(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ae(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ce=function(){return{id:(0,ce.x0)(),type:"skill-list-item-description",children:[{text:""}]}},Be=function(e){var t=e.attributes,r=e.children,o=e.element;return(0,n.jsxs)(_.aM,Re(Re({},t),{},{children:[(0,n.jsx)(q.V,{element:o,children:"\uc2a4\ud0ac \uc124\uba85"}),r]}))},Le=r(8286);function Me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ye(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ie=function(){return{id:(0,ce.x0)(),type:"skill-list-item-logos",children:[{text:""}],logos:[]}},Te=function(e){var t=e.attributes,r=e.children,i=e.element,l=(0,y.hQ)(),u=(0,o.Z)(l,1)[0],p=(0,c.useState)(!1),f=(p[0],p[1]),d=(0,s._7)(),b=(0,c.useCallback)((function(e){var t=s.F3.findPath(d,i),r={logos:i.logos.filter((function(t,r){return r!==e}))};a.YR.setNodes(d,r,{at:t})}),[d,i]),h=(0,c.useCallback)((function(e){var t=s.F3.findPath(d,i),r={logos:[].concat((0,D.Z)(i.logos),[{id:(0,ce.x0)(),name:e.name,url:e.url,shortname:e.shortname,file:e.files[0]}])};a.YR.setNodes(d,r,{at:t})}),[d,i]);return(0,n.jsxs)("div",Ye(Ye({},t),{},{className:u({marginBottom:"8px"}
1),ref:t.ref,children:[(0,n.jsxs)("div",{contentEditable:!1,className:u({display:"flex",gap:"8px",flexWrap:"wrap"}),children:[i.logos.map((function(e,t){return(0,n.jsx)(Qe,{logo:e,onClick:function(){b(t)}},"".concat(e.name,"-").concat(t))})),(0,n.jsx)($.Z,{content:function(e){var t=e.close;return(0,n.jsx)(Le.r,{onLogoAdd:h,onClose:t})},placement:"bottomLeft",onOpen:function(){f(!0)},onClose:function(){f(!1)},focusLock:!0,autoFocus:!0,children:(0,n.jsx)("button",{className:u(Ye(Ye(Ye({width:"24px",height:"24px",display:"inline-flex",justifyContent:"center",alignItems:"center",border:"none",background:"none",cursor:"pointer"},(0,T.o3)("0px")),{},{borderRadius:"4px"},(0,T.pB)(["background-color","opacity"],"0.2s")),{},{":hover":{backgroundColor:x.gray[1]}})),children:(0,n.jsx)(P.J,{type:"Plus",size:16,color:x.gray[5]})})})]}),r]}))},Qe=function(e){var t=e.logo,r=e.onClick,i=(0,y.hQ)(),c=(0,o.Z)(i,1)[0],a=(0,Y.X)(),s=(0,o.Z)(a,2),l=s[0],u=s[1];return(0,n.jsxs)("button",{className:c({position:"relative",border:"none",background:"none",cursor:"pointer",padding:"0px",display:"inline-flex",alignItems:"center",justifyContent:"center",height:"24px"}),onClick:r,ref:l,children:[(0,n.jsx)("img",{src:"/logos/".concat(t.file),className:c({maxHeight:"24px",maxWidth:"40px",display:"block"}),alt:t.name}),(0,n.jsx)("div",{className:c(Ye({position:"absolute",top:"0px",left:"0px",bottom:"0px",right:"0px",backgroundColor:"rgba(0, 0, 0, 0.5)",borderRadius:"4px",display:"flex",justifyContent:"center",alignItems:"center",opacity:u?1:0},(0,T.pB)(["opacity"],"0.2s"))),children:(0,n.jsx)(P.J,{type:"TrashLine",size:20,color:x.red[7]})})]},t.file)};function Fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ve=function(){return{id:(0,ce.x0)(),type:"skill-list-item-name",children:[{text:""}]}},$e=function(e){var t=e.attributes,r=e.children,o=e.element;return(0,n.jsxs)(_.Uc,ze(ze({},t),{},{overrides:{Block:{style:{fontWeight:"bold",marginBottom:"4px"}}},children:[(0,n.jsx)(q.V,{element:o,children:"\uc2a4\ud0ac \uc774\ub984"}),r]}))};function Je(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _e(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Je(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Je(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ue=function(){return{id:(0,ce.x0)(),type:"skill-list-item",children:[Ie(),Ve(),Ce()]}},We=function(e){var t=e.attributes,r=e.children,i=e.element,l=(0,y.hQ)(),u=(0,o.Z)(l,1)[0],p=(0,Y.X)(),f=(0,o.Z)(p,2),d=f[0],b=f[1],h=(0,s._7)(),g=(0,c.useCallback)((function(e){e.preventDefault();var t=s.F3.findPath(h,i);a.YR.removeNodes(h,{at:t})}),[h,i]);return(0,n.jsx)(O.Z,{span:[2,2,3],children:(0,n.jsxs)("div",{className:u({listStyle:"none",position:"relative"}),ref:d,children:[(0,n.jsx)("div",_e(_e({},t),{},{children:r})),(0,n.jsx)("button",{contentEditable:!1,onClick:g,className:u(_e(_e(_e({borderStyle:"none",display:"flex",cursor:"pointer"},(0,T.o3)("2px")),{},{borderRadius:"4px",backgroundColor:x.red[7],opacity:b?1:0,position:"absolute",right:"0px",top:"0px"},(0,T.pB)(["background-color","opacity"],"0.2s")),{},{":hover":{backgroundColor:x.red[5]}})),children:(0,n.jsx)(P.J,{type:"TrashLine",size:18,color:x.white})})]})})};function He(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Xe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?He(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):He(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ge=function(e){e.attributes;var t=e.children,r=e.element,i=(0,y.hQ)(),l=(0,o.Z)(i,1)[0],u=(0,Y.X)(),p=(0,o.Z)(u,2),f=p[0],d=p[1],b=(0,s.vt)(),h=(0,s._7)(),g=(0,c.useCallback)((function(){var e=s.F3.findPath(h,r);a.YR.insertNodes(h,Ue(),{at:e.concat(r.children.length)})}),[h,r]);return(0,n.jsxs)("div",{ref:f,children:[(0,n.jsx)(Q.Z,{overrides:{Grid:{props:{contentEditable:!1},style:{userSelect:"none",marginBottom:"8px"}}},children:(0,n.jsx)(O.Z,{span:[4,8,12],children:(0,n.jsxs)("button",{onClick:g,className:l(Xe(Xe(Xe(Xe(Xe(Xe({},(0,T.$u)("none")),(0,T.E0)("left","4px")),(0,T.E0)("right","4px")),{},{color:x.gray[6],cursor:"pointer"},(0,T.o3)("2px","6px")),(0,T.pB)(["background-color","opacity"],"0.2s")),{},{backgroundColor:"transparent",opacity:d||b?1:0,":hover":{backgroundColor:x.gray[2]}})),children:[(0,n.jsx)(P.J,{type:"Plus",size:12,color:x.gray[6],className:l({marginRight:"8px"})}),"Add a new"]})})}),(0,n.jsx)(X,{id:r.id,overrides:{Grid:{style:{rowGap:"32px"}}},element:r,children:t})]})},qe=r(463);function Ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ke(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var tt=function(e){var t=e.children,r=e.element,i=(0,y.hQ)(),l=(0,o.Z)(i,1)[0],u=(0,s._7)(),p=(0,Y.X)(),f=(0,o.Z)(p,2),d=f[0],b=f[1],h=(0,s.vt)(),g=(0,c.useCallback)((function(){var e=s.F3.findPath(u,r);a.YR.insertNodes(u,(0,qe.Ln)(),{at:[].concat((0,D.Z)(e),[r.children.length])})}),[u,r]);return(0,n.jsxs)("div",{ref:d,children:[(0,n.jsx)(Q.Z,{overrides:{Grid:{props:{contentEditable:!1},style:{userSelect:"none",marginBottom:"8px"}}},children:(0,n.jsx)(O.Z,{span:[4,8,12],children:(0,n.jsxs)("button",{onClick:g,className:l(et(et(et(et(et(et({},(0,T.$u)("none")),(0,T.E0)("left","4px")),(0,T.E0)("right","4px")),{},{color:x.gray[6],cursor:"pointer"}
1,(0,T.o3)("2px","6px")),(0,T.pB)(["background-color","opacity"],"0.2s")),{},{backgroundColor:"transparent",opacity:b||h?1:0,":hover":{backgroundColor:x.gray[2]}})),children:[(0,n.jsx)(P.J,{type:"Plus",size:12,color:x.gray[6],className:l({marginRight:"8px"})}),"Add a new"]})})}),(0,n.jsx)(X,{id:r.id,overrides:{Grid:{style:{rowGap:"32px"}}},element:r,children:t})]})},rt=r(3331),nt=r(7494),ot=r(7757),it=r.n(ot),ct=r(2137);function at(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function st(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var lt=function(){return{id:(0,ce.x0)(),type:"school-list-item-name",children:[{text:""}]}},ut=function(e){var t=e.attributes,r=e.children,i=e.element,c=(0,y.hQ)(),a=(0,o.Z)(c,1)[0];return(0,n.jsxs)(_.fH,st(st({color:x.gray[8],className:a({fontWeight:"bold",position:"relative"})},t),{},{children:[(0,n.jsx)(q.V,{element:i,children:"\uc774\ub984"}),r]}))};function pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var dt=function(){return{id:(0,ce.x0)(),type:"school-list-item-major",children:[{text:""}]}},bt=function(e){var t=e.attributes,r=e.children,i=e.element,c=(0,y.hQ)(),a=(0,o.Z)(c,1)[0];return(0,n.jsxs)(_.D9,ft(ft({},t),{},{color:x.gray[6],className:a({position:"relative"}),children:[(0,n.jsx)(q.V,{element:i,children:"\uc804\uacf5"}),r]}))};function yt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ht(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var gt=function(e){var t=e.attributes,r=e.children,i=e.element,c=(0,y.hQ)(),a=(0,o.Z)(c,1)[0];return(0,n.jsxs)(_.S$,ht(ht({},t),{},{color:x.gray[6],className:a({position:"relative"}),children:[(0,n.jsx)(q.V,{element:i,children:"\uae30\uac04"}),r]}))},mt=r(8191),vt=r(7780),jt=r(6829),Ot=r(9669),xt=r.n(Ot);function wt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var kt=function(){return{id:(0,ce.x0)(),type:"school-list-item",logo:null,children:[lt(),dt(),{id:(0,ce.x0)(),type:"school-list-item-period",children:[{text:""}]}]}},St=function(e){var t=e.attributes,r=e.children,i=e.element,l=(0,jt.useApolloClient)(),u=(0,y.hQ)(),p=(0,o.Z)(u,1)[0],f=(0,s._7)(),d=(0,Y.X)(),b=(0,o.Z)(d,2),h=b[0],g=b[1],m=(0,c.useState)(0),v=m[0],j=m[1],w=(0,c.useCallback)(function(){var e=(0,ct.Z)(it().mark((function e(t){var r,n,o,c,u,p;return it().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.query({query:vt.rz,variables:{type:vt.AJ.School,filename:t.name}});case 2:return r=e.sent,n=r.data.generateUploadPath,o=n.key,c=n.url,e.next=8,xt().put(c,t,{headers:{"Content-Type":t.type},onUploadProgress:function(e){var t=e.loaded,r=e.total;j(t/r*100)}});case 8:u=s.F3.findPath(f,i),p={logo:o},a.YR.setNodes(f,p,{at:u});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[l,f,i]),k=(0,c.useCallback)((function(){var e=s.F3.findPath(f,i);a.YR.setNodes(f,{logo:null},{at:e})}),[f,i]);return(0,n.jsx)(O.Z,{span:[4,8,12],children:(0,n.jsxs)("div",Pt(Pt({},t),{},{ref:(0,I.Z)([h,t.ref]),className:p({display:"flex",alignItems:"center",borderBottomStyle:"solid",borderBottomWidth:"1px",borderBottomColor:x.gray[3],position:"relative"}
1),children:[(0,n.jsx)("div",{contentEditable:!1,className:p(Pt({display:"flex",marginRight:"16px"},(0,T.o3)("8px"))),children:(0,n.jsx)(mt.w,{overrides:{Root:{style:{width:"72px",height:"72px"}},DeleteButton:{style:{top:"0px",right:"0px"}}},onDrop:w,onDelete:k,placeholder:(0,n.jsx)(P.J,{type:"Image",size:32,color:x.gray[5]}),image:i.logo,progressAmount:v,size:{width:72,height:72}})}),(0,n.jsx)("div",Pt(Pt({},t),{},{className:p({flexGrow:1}),children:r})),(0,n.jsx)("button",{className:p(Pt(Pt(Pt({cursor:"pointer",backgroundColor:x.red[7],border:"none",borderRadius:"4px"},(0,T.o3)("2px")),{},{display:"flex",justifyContent:"center",alignItems:"center",opacity:g?1:0,position:"absolute",top:"8px",right:"8px"},(0,T.pB)(["background-color","opacity"],"0.2s")),{},{userSelect:"none",":hover":{backgroundColor:x.red[6]},":active":{backgroundColor:x.red[8]}})),contentEditable:!1,onMouseDown:function(e){e.preventDefault();var t=s.F3.findPath(f,i);a.YR.removeNodes(f,{at:t})},children:(0,n.jsx)(P.J,{type:"TrashLine",color:"white",size:18})})]}))})};function Dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Zt=function(e){var t=e.attributes,r=e.children,i=e.element,c=(0,y.hQ)(),l=(0,o.Z)(c,1)[0],u=(0,Y.X)(),p=(0,o.Z)(u,2),f=p[0],d=p[1],b=(0,s.vt)(),h=(0,s._7)();return(0,n.jsxs)("div",{ref:f,children:[(0,n.jsx)(Q.Z,{overrides:{Grid:{props:{contentEditable:!1},style:{userSelect:"none",marginBottom:"8px"}}},children:(0,n.jsx)(O.Z,{span:[4,8,12],children:(0,n.jsxs)("button",{onClick:function(){var e=s.F3.findPath(h,i);a.YR.insertNodes(h,kt(),{at:[].concat((0,D.Z)(e),[i.children.length])})},className:l(Et(Et(Et(Et(Et(Et({},(0,T.$u)("none")),(0,T.E0)("left","4px")),(0,T.E0)("right","4px")),{},{color:x.gray[6],cursor:"pointer"}
1,(0,T.o3)("2px","6px")),(0,T.pB)(["background-color","opacity"],"0.2s")),{},{backgroundColor:"transparent",opacity:d||b?1:0,":hover":{backgroundColor:x.gray[2]}})),children:[(0,n.jsx)(P.J,{type:"Plus",size:12,color:x.gray[6],className:l({marginRight:"8px"})}),"Add a new"]})})}),(0,n.jsx)(X,{id:i.id,element:i,overrides:{Grid:{props:Et({},t)}},children:r})]})};function Nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function At(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Nt(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Rt=function(e){var t=e.attributes,r=e.children,i=e.element,c=(0,y.hQ)(),a=(0,o.Z)(c,1)[0];return(0,n.jsxs)(_.fH,At(At({color:x.gray[8],className:a({fontWeight:"bold",position:"relative",paddingTop:"8px"})},t),{},{children:[(0,n.jsx)(q.V,{element:i,children:"\uc774\ub984"}),r]}))};function Ct(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ct(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Lt=function(e){var t=e.attributes,r=e.children,i=e.element,c=(0,y.hQ)(),a=(0,o.Z)(c,1)[0];return(0,n.jsxs)(_.D9,Bt(Bt({},t),{},{color:x.gray[6],className:a({position:"relative"}),children:[(0,n.jsx)(q.V,{element:i,children:"\uc9c1\ucc45"}),r]}))};function Mt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var It=function(e){var t=e.attributes,r=e.children,i=e.element,c=(0,y.hQ)(),a=(0,o.Z)(c,1)[0];return(0,n.jsxs)(_.S$,Yt(Yt({},t),{},{color:x.gray[6],className:a({position:"relative"}),children:[(0,n.jsx)(q.V,{element:i,children:"\uae30\uac04"}),r]}))};function Tt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ft=function(e){var t=e.attributes,r=e.children,i=e.element,c=(0,y.hQ)(),a=(0,o.Z)(c,1)[0];return(0,n.jsxs)(_.Yl,Qt(Qt({},t),{},{color:x.gray[7],className:a({position:"relative",paddingTop:"16px",paddingBottom:"16px"}),children:[(0,n.jsx)(q.V,{element:i,children:"\uc124\uba85"}),r]}))};function zt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Vt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?zt(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var $t=function(){return{id:(0,ce.x0)(),type:"career-list-item",logo:null,children:[{id:(0,ce.x0)(),type:"career-list-item-name",children:[{text:""}]},{id:(0,ce.x0)(),type:"career-list-item-position",children:[{text:""}]},{id:(0,ce.x0)(),type:"career-list-item-period",children:[{text:""}]},{id:(0,ce.x0)(),type:"career-list-item-description",children:[{text:""}]}]}},Jt=function(e){var t=e.attributes,r=e.children,i=e.element,l=(0,jt.useApolloClient)(),u=(0,y.hQ)(),p=(0,o.Z)(u,1)[0],f=(0,s._7)(),d=(0,Y.X)(),b=(0,o.Z)(d,2),h=b[0],g=b[1],m=(0,c.useState)(0),v=m[0],j=m[1],w=(0,c.useCallback)(function(){var e=(0,ct.Z)(it().mark((function e(t){var r,n,o,c,u,p;return it().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.query({query:vt.rz,variables:{type:vt.AJ.Career,filename:t.name}});case 2:return r=e.sent,n=r.data.generateUploadPath,o=n.key,c=n.url,e.next=8,xt().put(c,t,{headers:{"Content-Type":t.type},onUploadProgress:function(e){var t=e.loaded,r=e.total;j(t/r*100)}});case 8:u=s.F3.findPath(f,i),p={logo:o},a.YR.setNodes(f,p,{at:u});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[l,f,i]),k=(0,c.useCallback)((function(){var e=s.F3.findPath(f,i);a.YR.setNodes(f,{logo:null},{at:e})}),[f,i]);return(0,n.jsx)(O.Z,{span:[4,8,12],children:(0,n.jsxs)("div",Vt(Vt({},t),{},{ref:(0,I.Z)([h,t.ref]),className:p({display:"flex",alignItems:"flex-start",borderBottomStyle:"solid",borderBottomWidth:"1px",borderBottomColor:x.gray[3],position:"relative"}),children:[(0,n.jsx)("div",{contentEditable:!1,className:p(Vt({display:"flex",marginRight:"16px"},(0,T.o3)("8px"))),children:(0,n.jsx)(mt.w,{overrides:{Root:{style:{width:"72px",height:"72px"}},DeleteButton:{style:{top:"0px",right:"0px"}}},onDrop:w,onDelete:k,placeholder:(0,n.jsx)(P.J,{type:"Image",size:32,color:x.gray[5]}),image:i.logo,progressAmount:v,size:{width:72,height:72}})}),(0,n.jsx)("div",Vt(Vt({},t),{},{className:p({flexGrow:1}),children:r})),(0,n.jsx)("button",{className:p(Vt(Vt(Vt({cursor:"pointer",backgroundColor:x.red[7],border:"none",borderRadius:"4px"},(0,T.o3)("2px")),{},{display:"flex",justifyContent:"center",alignItems:"center",opacity:g?1:0,position:"absolute",top:"8px",right:"8px"},(0,T.pB)(["background-color","opacity"],"0.2s")),{},{userSelect:"none",":hover":{backgroundColor:x.red[6]},":active":{backgroundColor:x.red[8]}})),contentEditable:!1,onMouseDown:function(e){e.preventDefault();var t=s.F3.findPath(f,i);a.YR.removeNodes(f,{at:t})},children:(0,n.jsx)(P.J,{type:"TrashLine",color:"white",size:18})})]}))})};function _t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_t(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Wt=function(e){var t=e.attributes,r=e.children,i=e.element,c=(0,y.hQ)(),l=(0,o.Z)(c,1)[0],u=(0,Y.X)(),p=(0,o.Z)(u,2),f=p[0],d=p[1],b=(0,s.vt)(),h=(0,s._7)();return(0,n.jsxs)("div",{ref:f,children:[(0,n.jsx)(Q.Z,{overrides:{Grid:{props:{contentEditable:!1},style:{userSelect:"none",marginBottom:"8px"}}},children:(0,n.jsx)(O.Z,{span:[4,8,12],children:(0,n.jsxs)("button",{onClick:function(){var e=s.F3.findPath(h,i);a.YR.insertNodes(h,$t(),{at:[].concat((0,D.Z)(e),[i.children.length])})},className:l(Ut(Ut(Ut(Ut(Ut(Ut({},(0,T.$u)("none")),(0,T.E0)("left","4px")),(0,T.E0)("right","4px")),{},{color:x.gray[6],cursor:"pointer"}
1,(0,T.o3)("2px","6px")),(0,T.pB)(["background-color","opacity"],"0.2s")),{},{backgroundColor:"transparent",opacity:d||b?1:0,":hover":{backgroundColor:x.gray[2]}})),children:[(0,n.jsx)(P.J,{type:"Plus",size:12,color:x.gray[6],className:l({marginRight:"8px"})}),"Add a new"]})})}),(0,n.jsx)(X,{id:i.id,element:i,overrides:{Grid:{props:Ut({},t)}},children:r})]})};function Ht(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Xt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ht(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ht(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Gt=function(e){var t=e.attributes,r=e.children,i=e.element,c=(0,y.hQ)(),a=(0,o.Z)(c,1)[0];return(0,n.jsx)(X,{id:i.id,element:i,children:(0,n.jsx)(O.Z,{span:[4,8,12],children:(0,n.jsxs)("blockquote",Xt(Xt({},t),{},{className:a({borderLeftStyle:"solid",borderLeftWidth:"3px",borderLeftColor:x.gray[7],paddingLeft:"14px",paddingTop:"2px",paddingBottom:"2px",position:"relative"}),children:[(0,n.jsx)(q.V,{element:i,children:"Empty quote"}),r]}))})})},qt=function(e){var t=e.element,r=e.attributes,o=e.children;switch(t.type){case"logo":return(0,n.jsx)(m,{attributes:r,element:t,children:o});case"heading":return(0,n.jsx)(te,{attributes:r,element:t,children:o});case"blockquote":return(0,n.jsx)(Gt,{attributes:r,element:t,children:o});case"bulleted-list":return(0,n.jsx)(be,{attributes:r,element:t,children:o});case"list-item":return(0,n.jsx)(ge,{attributes:r,element:t,children:o});case"paragraph":return(0,n.jsx)(ue,{attributes:r,element:t,children:o});case"banner":return(0,n.jsx)(me.jL,{attributes:r,element:t,children:o});case"banner-name":return(0,n.jsx)(xe,{attributes:r,element:t,children:o});case"banner-tagline":return(0,n.jsx)(Se,{attributes:r,element:t,children:o});case"banner-bio":return(0,n.jsx)(Ne,{attributes:r,element:t,children:o});case"skill-list":return(0,n.jsx)(Ge,{attributes:r,element:t,children:o});case"skill-list-item":return(0,n.jsx)(We,{attributes:r,element:t,children:o});case"skill-list-item-logos":return(0,n.jsx)(Te,{attributes:r,element:t,children:o});case"skill-list-item-name":return(0,n.jsx)($e,{attributes:r,element:t,children:o});case"skill-list-item-description":return(0,n.jsx)(Be,{attributes:r,element:t,children:o});case"project-list":return(0,n.jsx)(tt,{attributes:r,element:t,children:o});case"project-list-item":return(0,n.jsx)(qe.Qo,{attributes:r,element:t,children:o});case"project-list-item-name":return(0,n.jsx)(rt.n,{attributes:r,element:t,children:o});case"project-list-item-description":return(0,n.jsx)(nt.u,{attributes:r,element:t,children:o});case"school-list":return(0,n.jsx)(Zt,{attributes:r,element:t,children:o});case"school-list-item":return(0,n.jsx)(St,{attributes:r,element:t,children:o});case"school-list-item-name":return(0,n.jsx)(ut,{attributes:r,element:t,children:o});case"school-list-item-major":return(0,n.jsx)(bt,{attributes:r,element:t,children:o});case"school-list-item-period":return(0,n.jsx)(gt,{attributes:r,element:t,children:o});case"career-list":return(0,n.jsx)(Wt,{attributes:r,element:t,children:o});case"career-list-item":return(0,n.jsx)(Jt,{attributes:r,element:t,children:o});case"career-list-item-name":return(0,n.jsx)(Rt,{attributes:r,element:t,children:o});case"career-list-item-position":return(0,n.jsx)(Lt,{attributes:r,element:t,children:o});case"career-list-item-period":return(0,n.jsx)(It,{attributes:r,element:t,children:o});case"career-list-item-description":return(0,n.jsx)(Ft,{attributes:r,element:t,children:o});default:return(0,n.jsx)(s.Qr,{attributes:r,element:t,children:o})}},Kt=r(3935),er=function(e){var t=e.children,r=(0,c.useRef)(null),n=(0,c.useState)(!1),o=n[0],i=n[1];return(0,c.useEffect)((function(){r.current=document.querySelector("#portal"),i(!0)}),[]),o&&r.current?(0,Kt.createPortal)(t,r.current):null};function tr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var rr=function(e,t){var r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?tr(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({type:"logo",children:[{text:""}]},t);a.YR.insertNodes(e,r),a.YR.move(e)},nr=r(7211),or=r(671),ir=r(2804),cr=r(8949);function ar(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function sr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ar(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ar(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var lr=function(){var e=(0,y.hQ)(),t=(0,o.Z)(e,1)[0],r=(0,c.useRef)(null),i=(0,c.useRef)(null),l=(0,s.ui)(),u=(0,ir.sJ)(cr.Il),p=(0,ir.sJ)(cr.mo),f=(0,ir.FV)(cr.Xb),d=(0,o.Z)(f,2),b=d[0],h=d[1],g=(0,ir.FV)(cr.Z4),m=(0,o.Z)(g,2),v=m[0],j=m[1];(0,c.useEffect)((function(){var e=r.current;if(e&&u&&0!==p.length){h(!0);var t=s.F3.toDOMRange(l,u);i.current&&i.current.destroy(),i.current=(0,nr.fi)(t,e,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"flip",options:{flipVariations:!1,padding:8}},{name:"preventOverflow",options:{padding:8}}]})}else h(!1)}),[l,p.length,h,u]),(0,c.useEffect)((function(){i.current&&!b&&(i.current.destroy(),i.current=null)}),[b]);var O=(0,c.useCallback)((function(e){j(e)}),[j]),x=(0,c.useCallback)((function(e){u&&a.YR.select(l,u),rr(l,{id:(0,ce.x0)(),file:e.files[0],name:e.name,shortname:e.shortname,url:e.url})}),[l,u]);return(0,n.jsx)(er,{children:(0,n.jsx)("div",{ref:r,className:t(ur),children:(0,n.jsx)("div",{className:t(pr),children:(0,n.jsx)(or.W,{results:p,selectedIndex:v,onChangeSelectedIndex:O,onSelect:x})})})})},ur=sr(sr(sr({display:"block",boxSizing:"border-box",position:"absolute",top:"-1000px",left:"-1000px"},(0,T.o3)("8px")),(0,T.Cg)("solid","1px",x.gray[2])),{},{overflow:"hidden",flexDirection:"column",borderRadius:"8px",backgroundColor:x.white,boxShadow:"rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px"}),pr={maxHeight:"240px",overflowY:"auto",width:"320px"},fr=r(622),dr=r(2652),br={"*":"list-item","-":"list-item","+":"list-item",">":"blockquote","|":"blockquote","#":"heading","##":"heading","###":"heading"};function yr(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return hr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return hr(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){a=!0,i=e},f:function(){try{c||null==r.return||r.return()}finally{if(a)throw i}}}}function hr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var gr=["banner-name","banner-tagline","banner-bio"],mr=2e3,vr=r(9243),jr=r(5675);function Or(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Or(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Or(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var wr=[{name:"\uc2a4\ud0ac \ub9ac\uc2a4\ud2b8",description:"\uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \uae30\uc220\uc744 \ub098\uc5f4\ud558\ub294 \uadf8\ub9ac\ub4dc \ud615\ud0dc\uc758 \ube14\ub7ed\uc785\ub2c8\ub2e4.",generateNode:function(){return{id:(0,ce.x0)(),type:"skill-list",children:[Ue()]}},thumbnail:{src:"/_next/static/image/public/images/block-thumbnails/skill-list.c543fc401ac4e8d604d23d0a1a331475.png",height:350,width:992,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAYAAACuyE5IAAAASUlEQVR4nB2LQQ4AIQgDW9Dg/38q8eRGWLGXSZoZzuk5hiEioKqoCYksioBrrWitYe+N4jkHvfcXFOnuaWZZRxXfFfWKqrem8Ad8uR/ZTKTCgwAAAABJRU5ErkJggg=="}},{name:"\ud504\ub85c\uc81d\ud2b8 \ub9ac\uc2a4\ud2b8",description:"\uc8fc\uc694 \ud504\ub85c\uc81d\ud2b8\ub97c \uc18c\uac1c\ud569\ub2c8\ub2e4.",generateNode:function(){return{id:(0,ce.x0)(),type:"project-list",children:[(0,qe.Ln)()]}},thumbnail:{src:"/_next/static/image/public/images/block-thumbnails/project-list.39a04bf40d6c3c29b62b66bd5beda032.png",height:418,width:992,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAYAAACuyE5IAAAAY0lEQVR4nA3MsQ5EQBQF0Pve7OxsFsMH+P//UGno1CoahUQIMhMuxWmP1FVFNUKfl8Kw4/hcSNOEjA7j0It0bcPvz9H9CyiAaZnhfYYrEOe5iyzrRmstYwwwxkBFQfJ1Q9/6AXxbKpMIsITjAAAAAElFTkSuQmCC"}},{name:"\ud559\ub825 \ub9ac\uc2a4\ud2b8",description:"\ubcf8\uc778\uc758 \ud559\ub825\uc744 \uc791\uc131\ud574\uc8fc\uc138\uc694.",generateNode:function(){return{id:(0,ce.x0)(),type:"school-list",children:[kt()]}},thumbnail:{src:"/_next/static/image/public/images/block-thumbnails/school-list.e033dcdf6cf36f34548bbd321007fe07.png",height:210,width:992,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAALklEQVR42m3BIQ4AIAwDwP3/oxMkgKGIpS3BIbiL2YeBrarSZVsPR8v0AkRSHz4T6D7eWwqQ0AAAAABJRU5ErkJggg=="}},{name:"\uacbd\ub825 \ub9ac\uc2a4\ud2b8",description:"\ubcf8\uc778\uc758 \uacbd\ub825\uc744 \uc791\uc131\ud574\uc8fc\uc138\uc694.",generateNode:function(){return{id:(0,ce.x0)(),type:"career-list",children:[$t()]}},thumbnail:{src:"/_next/static/image/public/images/block-thumbnails/career-list.a3889017b380675f11d862417e506457.png",height:396,width:992,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAYAAACuyE5IAAAAS0lEQVR4nF2KMQqAQBADN7d7bGEl+v/niXbCHSgixIid0yUzWPeN8zARDjPaH6C3RXJkDddWQ1opBeLNgets7MdNd7fMtBqh/0MRHvkYFubJ4wbdAAAAAElFTkSuQmCC"}}],Pr=function(){var e=(0,y.hQ)(),t=(0,o.Z)(e,1)[0],r=(0,ir.FV)(cr.RI),i=(0,o.Z)(r,2),l=i[0],u=i[1],p=(0,ir.Zl)(cr.V9),f=(0,c.useRef)(null),d=(0,c.useRef)(null),b=(0,c.useState)(!1),h=b[0],g=b[1],m=(0,c.useState)(!1),v=m[0],j=m[1];(0,c.useEffect)((function(){return j(!0),function(){j(!1)}}),[]);var O=(0,c.useRef)(null),w=(0,c.useRef)(null);(0,c.useEffect)((function(){l?w.current=requestAnimationFrame((function(){document.body.style.overflow="hidden",document.body.style.paddingRight="".concat(function(){var e;if("undefined"===typeof document)return 15;var t=document.createElement("div");t.style.width="100px",t.style.overflow="scroll",t.style.position="absolute",document.body.appendChild(t);var r=t.offsetWidth,n=document.createElement("div");n.style.width="100%",t.appendChild(n);var o=n.offsetWidth;return null===(e=t.parentNode)||void 0===e||e.removeChild(t),r-o}(),"px"),g(!0)})):O.current=setTimeout((function(){document.body.style.overflow="",document.body.style.paddingRight="",g(!1)}),300)}),[l]);var P=(0,c.useCallback)((function(e){u(!1)}),[u]),k=(0,c.useCallback)((function(e){e.target&&e.target instanceof HTMLElement&&e.target.contains(d.current)&&P()}),[P]),S=(0,c.useCallback)((function(e){e.currentTarget.focus()}),[]),D=(0,s.ui)();return v&&(l||h)?(0,n.jsx)(er,{children:(0,n.jsx)(vr.ZP,{autoFocus:!0,children:(0,n.jsx)("div",{className:t({zIndex:mr,position:"fixed",right:"0px",bottom:"0px",top:"0px",left:"0px",overflowX:"hidden",overflowY:"auto",pointerEvents:l?"auto":"none"}),onClick:k,children:(0,n.jsx)("div",{ref:d,className:t({display:"flex",alignItems:"flex-start",justifyContent:"flex-end",width:"100%",minHeight:"100%",userSelect:"none",pointerEvents:"auto",WebkitTapHighlightColor:"transparent",backgroundColor:l?"rgba(0, 0, 0, 0.5)":"rgba(0, 0, 0, 0)",transitionDuration:"0.2s",transitionProperty:"background-color"}),children:(0,n.jsx)("div",{ref:f,className:t(xr(xr({zIndex:mr,height:"fit-content"},(0,T.pB)(["opacity","transform"],"0.3s")),{},{opacity:h&&l?1:0,color:x.white,paddingTop:"32px",paddingRight:"16px",paddingBottom:"32px",display:"flex",flexDirection:"column",gap:"32px",userSelect:"text",pointerEvents:l?"all":"none"})),children:wr.map((function(e,r){return(0,n.jsxs)("button",{className:t({borderStyle:"none",cursor:"pointer",background:"rgba(0, 0, 0, 0.3)",backdropFilter:"blur(60px)",borderRadius:"16px",padding:"8px",display:"flex",flexDirection:"column",transitionDuration:"0.2s",transitionProperty:"box-shadow",":focus":{outlineStyle:"none",boxShadow:"0px 0px 8px 4px ".concat(x.gray[4])}}),onMouseEnter:S,onFocus:function(){p(r)},onClick:function(){a.YR.insertNodes(D,e.generateNode(),{at:[D.children.length]}),P(r)},children:[(0,n.jsx)("div",{className:t({marginBottom:"4px"}
1),children:(0,n.jsx)(jr.default,{src:e.thumbnail,alt:"Thumbnail",width:496,height:e.thumbnail.height/(e.thumbnail.width/496),className:t(xr(xr({backgroundColor:x.gray[0]},(0,T.E0)("top","8px")),(0,T.E0)("bottom","8px")))})}),(0,n.jsx)(_.D9,{$style:{marginBottom:"8px",fontWeight:"bold"},color:x.gray[0],children:e.name}),(0,n.jsx)(_.S$,{color:x.gray[3],children:e.description})]},e.name)}))})})})})}):(0,n.jsx)(n.Fragment,{})};function kr(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return Sr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Sr(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){a=!0,i=e},f:function(){try{c||null==r.return||r.return()}finally{if(a)throw i}}}}function Sr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Dr=r(7265);function Er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Er(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Nr(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return Ar(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ar(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){a=!0,i=e},f:function(){try{c||null==r.return||r.return()}finally{if(a)throw i}}}}function Ar(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Rr=["project-list-item-name","project-list-item-description"];function Cr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Br(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Cr(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Lr=function(e){var t=e.attributes,r=e.children,i=e.leaf,c=(0,y.hQ)(),a=(0,o.Z)(c,1)[0];return i.bold&&(r=(0,n.jsx)("strong",{children:r})),i.italic&&(r=(0,n.jsx)("em",{children:r})),i.code&&(r=(0,n.jsx)("code",{children:r})),i.color&&(r=(0,n.jsx)("span",{className:a({color:x[i.color][6]}),children:r})),i.highlight&&(r=(0,n.jsx)("span",{className:a({backgroundColor:x[i.highlight][6]}),children:r})),i.link&&(r=(0,n.jsx)("a",{href:i.link,target:"_blank",rel:"noreferrer",className:a({curs
1or:"pointer",color:x.gray[7]}),children:r})),(0,n.jsx)("span",Br(Br({},t),{},{children:r}))},Mr=r(9173),Yr=r(1038);function Ir(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Tr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ir(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ir(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Qr=(0,c.forwardRef)((function(e,t){var r=e.className,c=e.isActive,a=e.icon,s=e.iconColor,l=(0,w.Z)(e,["className","isActive","icon","iconColor"]),u=(0,y.hQ)(),p=(0,o.Z)(u,1)[0];return(0,n.jsx)("button",Tr(Tr({ref:t,className:V()(p(Tr(Tr({},(0,T.o3)("4px")),{},(0,i.Z)({backgroundColor:c?x.gray[2]:"transparent",border:"none",display:"inline-flex",cursor:"pointer",borderRadius:"4px"},":hover",{backgroundColor:c?x.gray[3]:x.gray[2]}))),r)},l),{},{children:(0,n.jsx)(P.J,{type:a,size:24,color:s||c?x.gray[8]:x.gray[6]})}))}));function Fr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function zr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Fr(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Vr=Object.entries((0,Z.omit)(x,"white","black")),$r=function(){var e=(0,y.hQ)(),t=(0,o.Z)(e,1)[0],r=(0,s.ui)(),i=f(r),c=null===i||void 0===i?void 0:i.color;return(0,n.jsx)(Yr.Z,{overrides:{Body:{style:zr(zr({backgroundColor:x.gray[0],boxShadow:"0 0.5rem 1.5rem rgb(0 0 0 / 20%)"},(0,T.E0)("top","8px")),(0,T.E0)("bottom","8px"))},Inner:{style:zr(zr({backgroundColor:"transparent"},(0,T.o3)("4px")),{},{display:"flex",gap:"4px"})}},content:function(){return(0,n.jsxs)("div",{className:t({display:"grid",gridTemplateColumns:"repeat(7, 1fr)",gap:"4px"}),children:[(0,n.jsx)("button",{className:t(zr(zr(zr({display:"flex"},(0,T.o3)("0px")),(0,T.$u)("none")),{},{backgroundColor:"transparent",cursor:"pointer"})),onMouseDown:function(e){e.preventDefault(),a.YR.setNodes(r,{color:void 0},{match:a.xv.isText,split:!0})},children:(0,n.jsx)(P.J,{type:"TrashLine",color:x.red[6],size:24})},"remove"),Vr.map((function(e){var i=(0,o.Z)(e,2),c=i[0],s=i[1];return(0,n.jsx)("button",{className:t(zr(zr(zr(zr({width:"24px",height:"24px",backgroundColor:s[6]},(0,T.E0)("top","4px")),(0,T.E0)("bottom","4px")),(0,T.$u)("none")),{},{cursor:"pointer"})),onMouseDown:function(e){e.preventDefault(),a.YR.setNodes(r,{color:c},{match:a.xv.isText,split:!0})}},c)}))]})},triggerType:"click",placement:"bottom",focusLock:!1,autoFocus:!1,children:(0,n.jsx)(Qr,{icon:"FontColor",color:c?x[c][6]:void 0,isActive:Boolean(c)})})},Jr=function(e){var t=e.format,r=(0,s.ui)(),o=p(r,t),i=(0,c.useMemo)((function(){switch(t){case"bold":return"Bold";case"italic":return"Italic";case"code":return"Code"}}),[t]);return(0,n.jsx)(Qr,{icon:i,isActive:o,onMouseDown:function(e){e.preventDefault(),u(r,t)}})};function _r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ur(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_r(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_r(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Wr=Object.entries((0,Z.omit)(x,"white","black")),Hr=function(){var e=(0,y.hQ)(),t=(0,o.Z)(e,1)[0],r=(0,s.ui)(),i=f(r),c=null===i||void 0===i?void 0:i.highlight;return(0,n.jsx)(Yr.Z,{overrides:{Body:{style:Ur(Ur({backgroundColor:x.gray[0],boxShadow:"0 0.5rem 1.5rem rgb(0 0 0 / 20%)"},(0,T.E0)("top","8px")),(0,T.E0)("bottom","8px"))},Inner:{style:Ur(Ur({backgroundColor:"transparent"},(0,T.o3)("4px")),{},{display:"flex",gap:"4px"})}},content:function(){return(0,n.jsxs)("div",{className:t({display:"grid",gridTemplateColumns:"repeat(7, 1fr)",gap:"4px"}),children:[(0,n.jsx)("button",{className:t(Ur(Ur(Ur({display:"flex"},(0,T.o3)("0px")),(0,T.$u)("none")),{},{backgroundColor:"transparent",cursor:"pointer"})),onMouseDown:function(e){e.preventDefault(),a.YR.setNodes(r,{highlight:void 0},{match:a.xv.isText,split:!0})},children:(0,n.jsx)(P.J,{type:"TrashLine",color:x.red[6],size:24})},"remove"),Wr.map((function(e){var i=(0,o.Z)(e,2),c=i[0],s=i[1];return(0,n.jsx)("button",{className:t(Ur(Ur(Ur(Ur({width:"24px",height:"24px",backgroundColor:s[6]},(0,T.E0)("top","4px")),(0,T.E0)("bottom","4px")),(0,T.$u)("none")),{},{cursor:"pointer"})),onMouseDown:function(e){e.preventDefault(),a.YR.setNodes(r,{highlight:c},{match:a.xv.isText,split:!0})}},c)}))]})},triggerType:"click",placement:"bottom",focusLock:!1,autoFocus:!1,children:(0,n.jsx)(Qr,{icon:"Highlight",color:c?x[c][6]:void 0,isActive:Boolean(c)})})},Xr=r(5877),Gr=r(9207),qr=r(2283);function Kr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function en(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Kr(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Kr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var tn=function(e){var t=e.setIsFocused,r=(0,y.hQ)(),i=(0,o.Z)(r,1)[0],l=(0,s.ui)(),u=f(l),p=null===u||void 0===u?void 0:u.link,d=(0,c.useState)(!1),b=d[0],h=d[1],g=(0,c.useState)(),m=g[0],v=g[1];return(0,n.jsxs)("div",{className:i({position:"relative"}),children:[(0,n.jsx)(Qr,{icon:"Link",isActive:Boolean(p),onMouseDown:function(e){e.preventDefault(),p?a.YR.setNodes(l,{link:void 0},{match:a.xv.isText,split:!0,at:m}):l.selection&&(h(!0),v(l.selection))}}),b&&m&&(0,n.jsx)(rn,{setIsFocused:t,setIsOpen:h,selection:m})]})},rn=function(e){var t,r=e.setIsFocused,l=e.setIsOpen,u=e.selection,p=(0,y.hQ)(),f=(0,o.Z)(p,1)[0],d=(0,s.ui)(),b=(0,qr.cI)({mode:"onChange"}),h=b.register,g=b.handleSubmit,m=b.formState.isValid,v=b.setFocus,j=h("link",{required:!0}),O=j.onBlur,k=j.ref,S=(0,w.Z)(j,["onBlur","ref"]);return(0,c.useEffect)((function(){v("link")}),[]),(0,n.jsxs)("form",{className:f(en(en(en(en({position:"absolute",left:"50%",transform:"translateX(-50%)",backgroundColor:x.gray[0],boxShadow:"0 0.5rem 1.5rem rgb(0 0 0 / 20%)"},(0,T.E0)("top","8px")),(0,T.E0)("bottom","8px")),(0,T.o3)("4px")),{},{display:"flex",flexDirection:"row",gap:"4px"})),onSubmit:g((function(e){var t=e.link;a.YR.setNodes(d,{link:t},{match:a.xv.isText,split:!0,at:u}),l(!1),r(!1)})),children:[(0,n.jsx)(Gr.Z,en({onFocus:function(){return r(!0)},onBlur:function(e){O(e),r(!1)},onKeyDown:function(e){"Escape"===e.key&&(e.preventDefault(),e.currentTarget.blur(),l(!1))},size:"mini",autoFocus:!0,inputRef:k,overrides:{Root:{style:en(en(en(en({},(0,T.E0)("top","4px")),(0,T.E0)("bottom","4px")),(0,T.tv)(x.gray[4])),(0,T.J4)("1px"))},Input:{style:en(en(en(en({},(0,T.E0)("top","4px")),(0,T.E0)("bottom","4px")),{},{width:"240px"},(0,T.o3)("4px","8px")),{},(0,i.Z)({caretColor:x.gray[6]},"::placeholder",{color:x.gray[5]}))}},placeholder:"Paste link"},S)),(0,n.jsx)(Xr.Z,{size:"mini",kind:"tertiary",overrides:{BaseButton:{style:en(en(en(en({backgroundColor:x.green[6]},(0,T.o3)("4px")),(0,T.E0)("top","4px")),(0,T.E0)("bottom","4px")),{},(t={},(0,i.Z)(t,":hover",{backgroundColor:x.green[4]}),(0,i.Z)(t,":disabled",(0,i.Z)({backgroundColor:x.gray[1]},":hover",{backgroundColor:x.gray[1]})),t))}},disabled:!m,children:(0,n.jsx)(P.J,{type:"Link",size:24,color:m?x.gray[0]:x.gray[6],className:f(en({},(0,T.pB)(["fill"],"0.2s")))})})]})};function nn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function on(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nn(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var cn=function(){var e=(0,y.hQ)(),t=(0,o.Z)(e,1)[0],r=(0,c.useRef)(null),i=(0,s.ui)(),l=(0,c.useRef)(null),u=(0,c.useState)(!1),p=u[0],f=u[1],d=(0,c.useState)(!1),b=d[0],h=d[1];return(0,c.useEffect)((function(){var e=r.current,t=i.selection,n=window.getSelection();if(e&&n&&!p){var o;if(!t||!s.F3.isFocused(i)||a.e6.isCollapsed(t)||""===a.ML.string(i,t))return h(!1),void(null===(o=l.current)||void 0===o||o.destroy());h(!0);var c=n.getRangeAt(0);l.current&&l.current.destroy(),l.current=(0,nr.fi)(c,e,{placement:"bottom",modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"flip",options:{flipVariations:!1,padding:8}},{name:"preventOverflow",options:{padding:8}}]})}}),[i,i.selection,p]),(0,n.jsx)(Mr.Z,{children:(0,n.jsxs)("div",{className:t(on(on({},(0,T.o3)("4px")),{},{position:"absolute",top:"-10000px",left:"-10000px",backgroundColor:x.gray[0],borderRadius:"8px",display:"flex",boxShadow:"0 0.5rem 1.5rem rgb(0 0 0 / 20%)",gap:"4px"})),ref:r,children:[(0,n.jsx)(Jr,{format:"bold"}),(0,n.jsx)(Jr,{format:"italic"}
1),(0,n.jsx)(Jr,{format:"code"}),(0,n.jsx)($r,{}),(0,n.jsx)(Hr,{}),b&&(0,n.jsx)(tn,{setIsFocused:f})]})})},an=function(e,t){var r=(0,c.useState)(e),n=r[0],o=r[1],i=(0,c.useRef)();return(0,c.useEffect)((function(){return i.current&&clearTimeout(i.current),i.current=setTimeout((function(){o(e)}),t),function(){i.current&&clearTimeout(i.current)}}),[t,e]),n},sn=r(3623);function ln(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function un(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ln(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ln(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var pn=function(e){var t=e.schools,r=e.onSelect,i=(0,s.ui)(),a=(0,y.hQ)(),l=(0,o.Z)(a,1)[0],u=(0,ir.sJ)(cr.Ig),p=(0,ir.FV)(cr.wy),f=(0,o.Z)(p,2),d=f[0],b=f[1],h=(0,c.useRef)(null),g=(0,c.useRef)();return(0,c.useEffect)((function(){var e,t=h.current;if(t&&u){var r=s.F3.toDOMRange(i,u);return g.current&&g.current.destroy(),g.current=(0,nr.fi)(r,t,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"flip",options:{flipVariations:!1,padding:8}},{name:"preventOverflow",options:{padding:8}}]}),function(){var e;null===(e=g.current)||void 0===e||e.destroy()}}null===(e=g.current)||void 0===e||e.destroy()}),[i,u]),(0,n.jsx)("div",{ref:h,className:l(un(un(un(un({},(0,T.o3)("8px","0px")),{},{backgroundColor:"white",boxShadow:"0 0.5rem 1.5rem rgb(0 0 0 / 20%)"},(0,T.E0)("top","8px")),(0,T.E0)("bottom","8px")),{},{width:"280px",position:"absolute",top:"-1000px",left:"-1000px",maxHeight:"320px",overflowY:"auto"})),onClick:r,children:null===t||void 0===t?void 0:t.map((function(e,t){return(0,n.jsxs)("div",{className:l(un(un({},(0,T.o3)("8px")),{},{display:"flex",alignItems:"center",cursor:"pointer",backgroundColor:d===t?x.gray[1]:void 0})),onMouseEnter:function(){b(t)},children:[(0,n.jsx)("div",{className:l({marginRight:"8px",flexGrow:0,flexShrink:0,flexBasis:"32px"}),children:(0,n.jsx)(sn.L,{src:e.node.logo,width:32,height:32,alt:e.node.name})}),(0,n.jsx)("div",{className:l({flexGrow:1}),children:(0,n.jsx)(_.Uc,{children:e.node.name})})]},e.node.id)}))})};function fn(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return dn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dn(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){a=!0,i=e},f:function(){try{c||null==r.return||r.return()}finally{if(a)throw i}}}}function dn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function bn(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return yn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yn(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){a=!0,i=e},f:function(){try{c||null==r.return||r.return()}finally{if(a)throw i}}}}function yn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var hn=/Mac|iPod|iPhone|iPad/.test(window.navigator.platform);function gn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function mn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?gn(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var vn=[function(e){var t=e.normalizeNode,r=e.apply;return e.normalizeNode=function(r){var n=e.children[e.children.length-1];a.ML.isBlock(e,n)&&"paragraph"!==n.type?a.YR.insertNodes(e,le(),{at:[e.children.length]}):t(r)},e.apply=function(t){if("insert_node"===t.type){var n=(0,Z.cloneDeep)(t.node);return(0,Z.defaults)(n,{id:(0,ce.x0)()}),r(Zr(Zr({},t),{},{node:n}))}if("split_node"===t.type){var o=t.properties,i="id"in o?o.id:void 0;return(void 0===i||function(e,t){return!!C(e,t)}(e,{match:function(t){return a.ML.isBlock(e,t)&&t.id===i},at:[]}))&&(i=(0,ce.x0)()),r(Zr(Zr({},t),{},{properties:Zr(Zr({},t.properties),{},{id:i})}))}return r(t)},e},l.VC,s.BU,function(e){var t=e.normalizeNode,r=e.deleteBackward,n=e.insertBreak;return e.normalizeNode=function(r){var n=(0,o.Z)(r,2),i=n[0],c=n[1];if(a.ML.isEditor(i)){var s=i.children[0];if(!s||!a.ML.isBlock(e,s)||"banner"!==s.type)return void a.YR.insertNodes(e,(0,me.mi)(),{at:[].concat((0,D.Z)(c),[0])});if(i.children.length<2)return void a.YR.insertNodes(e,le(),{at:[].concat((0,D.Z)(c),[1])})}if(a.ML.isBlock(e,i)){if("banner"===i.type){if(1!==c.length||0!==c[0])return void a.YR.unwrapNodes(e,{at:c});if(i.children.length<1)return void a.YR.insertNodes(e,Oe(),{at:[].concat((0,D.Z)(c),[0])});if("banner-name"!==i.children[0].type)return void a.YR.setNodes(e,Oe(),{at:[].concat((0,D.Z)(c),[0])});if(i.children.length<2)return void a.YR.insertNodes(e,ke(),{at:[].concat((0,D.Z)(c),[1])});if("banner-tagline"!==i.children[1].type)return void a.YR.setNodes(e,ke(),{at:[].concat((0,D.Z)(c),[1])});if(i.children.length<3)return void a.YR.insertNodes(e,Ze(),{at:[].concat((0,D.Z)(c),[1])});if("banner-bio"!==i.children[2].type)return void a.YR.setNodes(e,Ze(),{at:[].concat((0,D.Z)(c),[2])});if(i.children.length>3)return void a.YR.mergeNodes(e,{at:[].concat((0,D.Z)(c),[3])})}if(gr.includes(i.type)&&c.length>0){var l=a.ML.node(e,c.slice(0,-1)),u=(0,o.Z)(l,1)[0];if(a.ML.isEditor(u)||a.ML.isBlock(e,u)&&"banner"!==u.type)return void a.YR.setNodes(e,{type:"paragraph"},{at:c})}if("banner-name"===i.type||"banner-tagline"===i.type||"banner-bio"===i.type){var p,f=yr(a.NB.children(e,c));try{for(f.s();!(p=f.n()).done;){var d=(0,o.Z)(p.value,2),b=d[0],y=d[1];if(!a.xv.isText(b))return void a.YR.unwrapNodes(e,{at:y})}}catch(h){f.e(h)}finally{f.f()}}}t([i,c])},e.deleteBackward=function(){var t=e.selection;if(t&&a.e6.isCollapsed(t)){var n=a.ML.above(e,{match:function(t){return a.ML.isBlock(e,t)}});if(n){var i=(0,o.Z)(n,2),c=i[0],s=i[1],l=a.ML.start(e,s);if(!a.ML.isEditor(c)&&a.W_.isElement(c)&&a.E9.equals(t.anchor,l)&&gr.includes(c.type))return}r.apply(void 0,arguments)}},e.insertBreak=function(){if(e.selection){var t=a.ML.above(e,{match:function(t){return a.ML.isBlock(e,t)}});if(t){var r=(0,o.Z)(t,1)[0];if(a.ML.isBlock(e,r)&&("banner-name"===r.type||"banner-tagline"===r.type||"banner-bio"===r.type))return void a.YR.move(e,{distance:1,unit:"line"})}}n()},e},function(e){var t=e.isVoid,r=e.insertBreak,n=e.normalizeNode;return e.normalizeNode=function(t){var r=(0,o.Z)(t,2),i=r[0],c=r[1];if(a.ML.isBlock(e,i)){if("skill-list"===i.type&&(0===i.children.length||-1!==i.children.findIndex((function(e){return"skill-list-item"!==e.type}))))return void a.YR.removeNodes(e,{at:c});if("skill-list-item"===i.type){if(i.children.length<1)return void a.YR.insertNodes(e,Ie(),{at:[].concat((0,D.Z)(c),[0])});if("skill-list-item-logos"!==i.children[0].type)return void a.YR.setNodes(e,Ie(),{at:[].concat((0,D.Z)(c),[0])});if(i.children.length<2)return void a.YR.insertNodes(e,Ve(),{at:[].concat((0,D.Z)(c),[1])});if("skill-list-item-name"!==i.children[1].type)return void a.YR.setNodes(e,Ve(),{at:[].concat((0,D.Z)(c),[1])});if(i.children.length<3)return void a.YR.insertNodes(e,Ce(),{at:[].concat((0,D.Z)(c),[2])});if("skill-list-item-description"!==i.children[2].type)return void a.YR.setNodes(e,Ce(),{at:[].concat((0,D.Z)(c),[2])});if(i.children.length>3)return void a.YR.mergeNodes(e,{at:[].concat((0,D.Z)(c),[3])})}if("skill-list-item-name"===i.type||"skill-list-item-description"===i.t
1ype){var s,l=kr(a.NB.children(e,c));try{for(l.s();!(s=l.n()).done;){var u=(0,o.Z)(s.value,2),p=u[0],f=u[1];if(!a.xv.isText(p))return void a.YR.unwrapNodes(e,{at:f})}}catch(d){l.e(d)}finally{l.f()}}}n([i,c])},e.isVoid=function(e){return"skill-list-item-logos"===e.type||t(e)},e.insertBreak=function(){if(e.selection){var t=a.ML.above(e,{match:function(t){return a.ML.isBlock(e,t)}});if(t){var n=(0,o.Z)(t,1)[0];if(a.ML.isBlock(e,n)){if("skill-list-item-name"===n.type)return void a.YR.move(e,{distance:1,unit:"line"});if("skill-list-item-description"===n.type)return void a.YR.insertText(e,"\n")}}}r()},e},function(e){var t=e.deleteBackward,r=e.insertBreak,n=e.normalizeNode;return e.normalizeNode=function(t){var r=(0,o.Z)(t,2),i=r[0],c=r[1];if(a.ML.isBlock(e,i)){if("project-list"===i.type&&(0===i.children.length||-1!==i.children.findIndex((function(e){return"project-list-item"!==e.type}))))return void a.YR.removeNodes(e,{at:c});if("project-list-item"===i.type){if(i.children.length<1)return void a.YR.insertNodes(e,(0,rt.e)(),{at:[].concat((0,D.Z)(c),[0])});if("project-list-item-name"!==i.children[0].type)return void a.YR.setNodes(e,(0,rt.e)(),{at:[].concat((0,D.Z)(c),[0])});if(i.children.length<2)return void a.YR.insertNodes(e,(0,nt.R)(),{at:[].concat((0,D.Z)(c),[1])});if("project-list-item-description"!==i.children[1].type)return console.log("TEST"),void a.YR.setNodes(e,(0,nt.R)(),{at:[].concat((0,D.Z)(c),[1])});if(i.children.length>2)return void a.YR.mergeNodes(e,{at:[].concat((0,D.Z)(c),[2])})}if("project-list-item-name"===i.type||"project-list-item-description"===i.type){var s,l=Nr(a.NB.children(e,c));try{for(l.s();!(s=l.n()).done;){var u=(0,o.Z)(s.value,2),p=u[0],f=u[1];if(!a.xv.isText(p))return void a.YR.unwrapNodes(e,{at:f})}}catch(d){l.e(d)}finally{l.f()}}}n(t)},e.deleteBackward=function(){var r=e.selection;if(r&&a.e6.isCollapsed(r)){var n=a.ML.above(e,{match:function(t){return a.ML.isBlock(e,t)}});if(n){var i=(0,o.Z)(n,2),c=i[0],s=i[1],l=a.ML.start(e,s);if(!a.ML.isEditor(c)&&a.W_.isElement(c)&&a.E9.equals(r.anchor,l)&&Rr.includes(c.type))return}}t.apply(void 0,arguments)},e.insertBreak=function(){if(e.selection){var t=a.ML.above(e,{match:function(t){return a.ML.isBlock(e,t)}});if(t){var n=(0,o.Z)(t,1)[0];if(a.ML.isBlock(e,n)&&("project-list-item-name"===n.type||"project-list-item-description"===n.type))return void a.YR.move(e,{distance:1,unit:"line"})}}r()},e},function(e){var t=e.isInline,r=e.isVoid;return e.isInline=function(e){return"logo"===e.type||t(e)},e.isVoid=function(e){return"logo"===e.type||r(e)},e},function(e){var t=e.deleteBackward,r=e.insertText,n=e.insertBreak;return e.insertText=function(t){var n=e.selection;if(" "===t&&n&&a.e6.isCollapsed(n)){var i=n.anchor,c=a.ML.above(e,{match:function(t){return a.ML.isBlock(e,t)}});if(c){var s=(0,o.Z)(c,2),l=s[0],u=s[1];if("paragraph"===l.type){var p={anchor:i,focus:a.ML.start(e,u)},f=a.ML.string(e,p);if(function(e){return Object.keys(br).includes(e)}(f)){var d=br[f];a.YR.select(e,p),a.YR.delete(e);var b={type:d};if(function(e){return"heading"===e.type}(b)&&(b.level=f.length),a.YR.setNodes(e,b,{match:function(t){return a.ML.isBlock(e,t)}}),"list-item"===d){var y={id:(0,ce.x0)(),type:"bulleted-list",children:[]};a.YR.wrapNodes(e,y,{match:function(e){return!a.ML.isEditor(e)&&a.W_.isElement(e)&&"list-item"===e.type}})}return}}}}r(t)},e.deleteBackward=function(){var r=e.selection;if(r&&a.e6.isCollapsed(r)){var n=a.ML.above(e,{match:function(t){return a.ML.isBlock(e,t)}});if(n){var i=(0,o.Z)(n,2),c=i[0],s=i[1],l=a.ML.start(e,s);if(!a.ML.isEditor(c)&&a.W_.isElement(c)&&Object.values(br).includes(c.type)&&a.E9.equals(r.anchor,l)){var u={type:"paragraph"};return a.YR.setNodes(e,u),void("list-item"===c.type&&a.YR.unwrapNodes(e,{match:function(e){return!a.ML.isEditor(e)&&a.W_.isElement(e)&&"bulleted-list"===e.type},split:!0}))}}t.apply(void 0,arguments)}},e.insertBreak=function(){var t=e.selection;if(t&&a.e6.isCollapsed(t)){var r=a.ML.above(e,{match:function(t){return a.ML.isBlock(e,t)}});if(r){var i=(0,o.Z)(r,2),c=i[0],s=i[1],l=a.ML.start(e,s);if(!a.ML.isEditor(c)&&a.W_.isElement(c)&&Object.values(br).includes(c.type)&&a.E9.equals(t.anchor,l)&&a.ML.isEmpty(e,c)){return a.YR.setNodes(e,{type:"paragraph"}),void("list-item"===c.type&&a.YR.unwrapNodes(e,{match:function(e){return!a.ML.isEditor(e)&&a.W_.isElement(e)&&"bulleted-list"===e.type},split:!0}))}}}n()},e},function(e){var t=e.insertBreak,r=e.deleteBackward,n=e.normalizeNode;return e.normalizeNode=function(t){var r=(0,o.Z)(t,2),i=r[0],c=r[1];if(a.ML.isBlock(e,i)){if("school-list"===i.type&&(0===i.children.length||-1!==i.children.findIndex((function(e){return"school-list-item"!==e.type}))))return void a.YR.removeNodes(e,{at:c});if("school-list-item"===i.type){if(i.children.length<1)return void a.YR.insertNodes(e,lt(),{at:[].concat((0,D.Z)(c),[0])});if("school-list-item-name"!==i.children[0].type)return void a.YR.setNodes(e,{type:"school-list-item-name"},{at:[].concat((0,D.Z)(c),[0])});if(i.children.length<2)return void a.YR.insertNodes(e,dt(),{at:[].concat((0,D.Z)(c),[1])});if("school-list-item-major"!==i.children[1].type)return void a.YR.setNodes(e,{type:"school-list-item-major"},{at:[].concat((0,D.Z)(c),[1])});if(i.children.length<3)return void a.YR.insertNodes(e,dt(),{at:[].concat((0,D.Z)(c),[2])});if("school-list-item-period"!==i.children[2].type)return void a.YR.setNodes(e,{type:"school-list-item-period"},{at:[].concat((0,D.Z)(c),[2])});if(i.children.length>3)return void a.YR.mergeNodes(e,{at:[].concat((0,D.Z)(c),[3])})}if("school-list-item-name"===i.type||"school-list-item-major"===i.type||"school-list-item-period"===i.type){var s,l=fn(a.NB.children(e,c));try{for(l.s();!(s=l.n()).done;){var u=(0,o.Z)(s.value,2),p=u[0],f=u[1];if(!a.xv.isText(p))return void a.YR.unwrapNodes(e,{at:f})}}
1catch(d){l.e(d)}finally{l.f()}}}n([i,c])},e.deleteBackward=function(){var t=e.selection;if(t&&a.e6.isCollapsed(t)){var n=a.ML.above(e,{match:function(t){return a.ML.isBlock(e,t)}});if(n){var i=(0,o.Z)(n,2),c=i[0],s=i[1],l=a.ML.start(e,s);if(a.E9.equals(t.anchor,l)&&("school-list-item-name"===c.type||"school-list-item-major"===c.type||"school-list-item-period"===c.type))return}r.apply(void 0,arguments)}},e.insertBreak=function(){if(e.selection&&a.ML.above(e,{match:function(t){return a.ML.isBlock(e,t)&&"school-list-item"===t.type}}))return void a.YR.move(e,{distance:1,unit:"line"});t()},e},function(e){var t=e.insertBreak,r=e.deleteBackward,n=e.normalizeNode;return e.normalizeNode=function(t){var r=(0,o.Z)(t,2),i=r[0],c=r[1];if(a.ML.isBlock(e,i)){if("career-list"===i.type&&(0===i.children.length||-1!==i.children.findIndex((function(e){return"career-list-item"!==e.type}))))return void a.YR.removeNodes(e,{at:c});if("career-list-item"===i.type&&(4!==i.children.length||"career-list-item-name"!==i.children[0].type||"career-list-item-position"!==i.children[1].type||"career-list-item-period"!==i.children[2].type||"career-list-item-description"!==i.children[3].type))return void a.YR.removeNodes(e,{at:c});if("career-list-item-name"===i.type||"career-list-item-position"===i.type||"career-list-item-period"===i.type||"career-list-item-description"===i.type){var s,l=bn(a.NB.children(e,c));try{for(l.s();!(s=l.n()).done;){var u=(0,o.Z)(s.value,2),p=u[0],f=u[1];if(!a.xv.isText(p))return void a.YR.unwrapNodes(e,{at:f})}}catch(d){l.e(d)}finally{l.f()}}}n([i,c])},e.deleteBackward=function(){var t=e.selection;if(t&&a.e6.isCollapsed(t)){var n=a.ML.above(e,{match:function(t){return a.ML.isBlock(e,t)}});if(n){var i=(0,o.Z)(n,2),c=i[0],s=i[1],l=a.ML.start(e,s);if(a.E9.equals(t.anchor,l)&&("career-list-item-name"===c.type||"career-list-item-position"===c.type||"career-list-item-period"===c.type||"career-list-item-description"===c.type))return}r.apply(void 0,arguments)}},e.insertBreak=function(){if(e.selection){var r=a.ML.above(e,{match:function(t){return a.ML.isBlock(e,t)}});if(r){var n=(0,o.Z)(r,1)[0];if(a.ML.isBlock(e,n)){if("career-list-item-name"===n.type||"career-list-item-position"===n.type||"career-list-item-period"===n.type)return void a.YR.move(e,{distance:1,unit:"line"});if("career-list-item-description"===n.type)return void a.YR.insertText(e,"\n")}}}t()},e}],jn=function(e){var t=e.className,r=e.initialContent,i=(0,Dr.hQ)(),l=(0,o.Z)(i,1)[0],p=(0,ir.Zl)(cr.zL),f=(0,c.useRef)();f.current||(f.current=vn.reduce((function(e,t){return t(e)}),(0,a.Jh)()));var y=f.current,h=(0,c.useState)(r),g=h[0],m=h[1],v=(0,jt.useMutation)(vt.w$,{onCompleted:function(){p("SAVED")}}),j=(0,o.Z)(v,1)[0],w=(0,c.useCallback)((function(){p("SAVING"),j({variables:{content:g}})}),[g,p,j]),P=function(e){var t=(0,c.useState)(""),r=t[0],n=t[1],i=(0,ir.FV)(cr.Xb),s=(0,o.Z)(i,2),l=s[0],u=s[1],p=(0,ir.FV)(cr.Il),f=(0,o.Z)(p,2),d=f[0],b=f[1],y=(0,ir.FV)(cr.Z4),h=(0,o.Z)(y,2),g=h[0],m=h[1],v=(0,ir.FV)(cr.mo),j=(0,o.Z)(v,2),O=j[0],x=j[1];return(0,c.useEffect)((function(){var t=e.selection;if(t&&a.e6.isCollapsed(t)){var r=a.e6.edges(t),i=(0,o.Z)(r,1)[0],c=a.ML.before(e,i,{unit:"word"}),s=c&&a.ML.before(e,c),l=s&&a.ML.range(e,s,i),u=l&&a.ML.string(e,l),p=u&&u.match(/^:(\w+)$/),f=a.ML.after(e,i),d=a.ML.range(e,i,f),y=a.ML.string(e,d).match(/^(\s|$)/);if(p&&y)return b(l||null),n(p[1]),void m(0);b(null)}}),[e.selection]),(0,c.useEffect)((function(){r?dr.c.search(r).then((function(e){x(e.map((function(e){return fr[e.index]})))})):x(fr)}),[r,x]),{onKeyDown:(0,c.useCallback)((function(t){if(!l)return!1;var r=t.key,n=O.length;if("ArrowRight"===r){var o=g+1;return n<=o||m(o),!0}if("ArrowLeft"===r){var i=g-1;return i<0||m(i),!0}if("ArrowDown"===r){var c=g+8;return n<=c||m(c),!0}if("ArrowUp"===r){var s=g-8;return s<0||m(s),!0}if("Escape"===r)return u(!1),!0;if("Enter"===r&&d){var p=O[g];return a.YR.select(e,d),rr(e,{id:(0,ce.x0)(),file:p.files[0],name:p.name,shortname:p.shortname,url:p.url}),!0}return!1}),[e,O,g,m,u,l,d])}}(y).onKeyDown,k=function(e){var t,r=(0,ir.FV)(cr.$s),n=(0,o.Z)(r,2),i=n[0],s=n[1],l=(0,ir.FV)(cr.Ig),u=(0,o.Z)(l,2),p=u[0],f=u[1],d=(0,ir.FV)(cr.wy),b=(0,o.Z)(d,2),y=b[0],h=b[1],g=(0,c.useState)(""),m=g[0],v=g[1];(0,c.useEffect)((function(){var t=e.selection;if(t&&a.e6.isCollapsed(t)){var r=a.ML.above(e,{at:t,match:function(t){return a.ML.isBlock(e,t)&&"school-list-item-name"===t.type}});if(r){var n=(0,o.Z)(r,2),i=n[0],c=n[1],l=a.ML.range(e,c);return v(a.NB.string(i)),f(l),void s(!0)}}v(""),f(null),s(!1)}),[e.selection]);var j=(0,jt.useQuery)(vt.Ak,{variables:{filter:{keyword:an(m,300)},first:10},skip:!i,onCompleted:function(){h(0)}}).data,O=null===j||void 0===j||null===(t=j.getSchoolsByCursor.pageInfo)||void 0===t?void 0:t.countTotal,x=null===j||void 0===j?void 0:j.getSchoolsByCursor.edges,w=(0,c.useCallback)((function(){if(!x||!p)return!1;var t=x[y],r=a.ML.above(e,{at:p,match:function(t){return a.ML.isBlock(e,t)&&"school-list-item-name"===t.type}});if(r){var n=(0,o.Z)(r,2)[1],i=a.ML.parent(e,n),c=(0,o.Z)(i,2)[1];return a.YR.select(e,p),a.YR.insertText(e,t.node.name),a.YR.setNodes(e,{logo:t.node.logo},{at:c}),a.YR.move(e),s(!1),!0}return!1}),[x,e,y,s,p]),P=(0,c.useCallback)((function(e){if(!i||!O||!x)return!1;var t=e.key;if("ArrowDown"===t){var r=y+1;return O<=r||h(r),!0}if("ArrowUp"===t){var n=y-1;return n<0||h(n),!0}return"Escape"===t&&(s(!1),!0)}),[x,y,h,s,i,O]),k=(0,c.useCallback)((function(e){if("Enter"===e.key&&p)return w()}),[w,p]);return{schools:null===j||void 0===j?void 0:j.getSchoolsByCursor.edges,onKeyDown:P,onKeyPress:k,onSelectSchool:w}}(y),S=k.schools,D=k.onKeyDown,E=k.onKeyPress,Z=k.onSelectSchool,N=function(){var e=(0,ir.Zl)(cr.RI),t=(0,c.useCallback)((function(){e(!0)}),[e]);return{onAddBlockButtonClick:(0,c.useCallback)((function(e){e.preventDefault(),t()}),[t])}}().onAddBlockButtonClick,A=(0,c.useCallback)((function(e){P(e)&&e.preventDefault(),D(e)&&e.preventDefault(),"Tab"===e.key&&(e.preventDefault(),a.YR.move(y,{distance:1,unit:"line"})),"Enter"===e.key&&e.shiftKey&&(e.preventDefault(),a.YR.insertText(y,"\n")),function(e){return hn?e.metaKey:e.ctrlKey}(e)&&("s"!==e.key&&"S"!==e.key||(e.preventDefault(),w()))}),[y,P,D,w]),R=(0,c.useCallback)((function(e){E(e)&&e.preventDefault()}),[E]),C=(0,c.useCallback)((function(e){m(e)}),[]);return(0,c.useEffect)((function(){p(null)}),[g,p]),function(e,t,r){var n=(0,c.useRef)(null);(0,c.useEffect)((function(){null!==n.current&&clearTimeout(n.current),n.current=setTimeout((function(){e()}),t)}),r)}((function(){w()}),1e3,[g]),(0,n.jsxs)("div",{className:V()(t,l({paddingBottom:"10vh"})),children:[(0,n.jsx)(d.W,{backend:b.PD,children:(0,n.jsxs)(s.mH,{editor:y,value:g,onChange:C,children:[(0,n.jsx)(s.CX,{renderElement:qt,renderLeaf:Lr,spell
1Check:!1,onDOMBeforeInput:function(e){switch(e.inputType){case"formatBold":return e.preventDefault(),u(y,"bold");case"formatItalic":return e.preventDefault(),u(y,"italic")}},className:l({paddingBottom:"96px"}),onKeyDown:A,onKeyPress:R,autoCapitalize:"false",autoCorrect:"false",onDrop:function(){return!0}}),(0,n.jsx)(cn,{}),(0,n.jsx)(lr,{}),S&&S.length>0&&(0,n.jsx)(pn,{schools:S,onSelect:Z}),(0,n.jsx)(Pr,{})]})}),(0,n.jsx)(Q.Z,{children:(0,n.jsx)(O.Z,{span:[4,8,12],children:(0,n.jsx)("button",{className:l(mn(mn(mn(mn(mn({width:"100%",boxSizing:"border-box"},(0,T.o3)("48px","16px")),{},{background:"none",cursor:"pointer",borderRadius:"8px",color:x.gray[5],fontSize:"18px"},(0,T.$u)("dashed")),(0,T.J4)("2px")),(0,T.tv)(x.gray[5])),{},{transitionDuration:"0.2s",transitionProperty:"color, border-color, background-color",":hover":mn(mn({},(0,T.tv)(x.gray[6])),{},{color:x.gray[6],backgroundColor:x.gray[0]})})),onMouseDown:N,children:"Add a Block"})})})]})},On=r(3506),xn=r(9755),wn=function(e){var t=e.initialContent,r=(0,ir.sJ)(cr.zL),i=(0,c.useRef)(r),a=(0,jt.useMutation)(vt.l$,{errorPolicy:"ignore"}),s=(0,o.Z)(a,1)[0];return(0,c.useEffect)((function(){var e=xn.t.getItem("reservedSlug");e&&s({variables:{slug:e}}),xn.t.removeItem("reservedSlug")}),[]),(0,c.useEffect)((function(){i.current=r}),[r]),(0,c.useEffect)((function(){var e=function(e){if("SAVED"!==i.current)return e.preventDefault(),e.returnValue="",""};return window.addEventListener("beforeunload",e),function(){return window.removeEventListener("beforeunload",e)}}),[]),(0,n.jsx)(jn,{initialContent:t})};wn.getLayout=function(e){return(0,n.jsx)(On.m,{children:e})};var Pn=!0,kn=wn},4920:function(e,t,r){"use strict";r.d(t,{XX:function(){return n},lW:function(){return o},LI:function(){return i},HJ:function(){return c},Fj:function(){return a},x$:function(){return s}});var n="/",o="/login",i="/edit",c="/edit/settings",a="/docs/terms",s="/docs/privacy"},9755:function(e,t,r){"use strict";r.d(t,{t:function(){return c}});var n=r(6610),o=r(5991),i=r(6156);var c=new(function(){function e(){(0,n.Z)(this,e),(0,i.Z)(this,"fallbackStorage",{}),(0,i.Z)(this,"valid",function(){try{return localStorage.setItem("test","test"),localStorage.removeItem("test"),!0}catch(e){return!1}}())}return(0,o.Z)(e,[{key:"setItem",value:function(e,t){var r=JSON.stringify(t);this.valid?localStorage.setItem(e,r):this.fallbackStorage[e]=r}},{key:"getItem",value:function(e){var t=this.valid?localStorage.getItem(e):this.fallbackStorage[e];try{return JSON.parse(t||"")}catch(r){return null}}},{key:"removeItem",value:function(e){this.valid?localStorage.removeItem(e):delete this.fallbackStorage[e]}}]),e}())},7231:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/edit",function(){return r(4279)}])}},function(e){e.O(0,[774,662,272,718,42,945,675,353,584,155,540,780,549,888,179],(function(){return t=7231,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.