!function(){try{var n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="844d0504-dbe0-4e19-8131-47681d44486a",n._sentryDebugIdIdentifier="sentry-dbid-844d0504-dbe0-4e19-8131-47681d44486a")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8235],{58397:function(n,e,t){var r=t(7297),i=t(55366),o=t(61512),a=t.n(o),c=t(19521);function u(){var n=(0,r.Z)(["\n          &:empty {\n            display: block;\n          }\n          :empty:before {\n            content: attr(placeholder);\n            display: block;\n            color: ",";\n          }\n        "]);return u=function(){return n},n}function l(){var n=(0,r.Z)(["\n          &:empty {\n            display: none;\n            margin: 0px !important;\n          }\n        "]);return l=function(){return n},n}function s(){var n=(0,r.Z)(["\n  white-space: pre-line;\n  outline: 0px solid transparent;\n  cursor: ",";\n  overflow-wrap: break-word;\n  ","\n"]);return s=function(){return n},n}e.Z=(0,c.default)(a()).attrs(function(n){return{spellCheck:!1,disabled:!n.editable}}).withConfig({displayName:"ContentEditable",componentId:"sc-d32c043b-0"})(s(),function(n){return n.editable&&"text"},function(n){return n.editable||!n.hideonempty?(0,c.css)(u(),i.Z.GRAY_6):(0,c.css)(l())})},34923:function(n,e,t){function r(n){return n.replace(/(<([^>]+)>)/gi,"")}function i(n){n.preventDefault();var e=n.clipboardData.getData("Text");document.queryCommandSupported("insertText")?document.execCommand("insertText",!1,e):document.execCommand("paste",!1,e)}function o(n){return n.replace(/\&nbsp;/g,"")}t.d(e,{Ti:function(){return r},WX:function(){return o},gN:function(){return i}}),t(67294)},32633:function(n,e,t){var r=t(7297),i=t(85893),o=t(55366),a=t(67294),c=t(19521),u=t(10202),l=t(65460),s=t(33568),d=t(80918),f=t(41563),p=t(58187),h=t(55950),g=t(98528),m=t(88548);function v(){var n=(0,r.Z)(["\n    background: transparent;\n    path {\n      fill: ",";\n    }\n\n    :hover {\n      background: ",";\n      path {\n        fill: ",";\n      }\n    }\n\n    :disabled {\n      path {\n        fill: ",";\n      }\n    }\n  "]);return v=function(){return n},n}function x(){var n=(0,r.Z)(["\n    background: ",";\n    path {\n      fill: ",";\n    }\n\n    :hover {\n      background: ",";\n    }\n\n    :disabled {\n      path {\n        fill: ",";\n      }\n    }\n  "]);return x=function(){return n},n}function y(){var n=(0,r.Z)(["\n    background: transparent;\n    /* border: 1px solid ","; */\n    path {\n      fill: ",";\n    }\n\n    :hover {\n      background: ",";\n    }\n\n    :disabled {\n      path {\n        fill: ",";\n      }\n    }\n  "]);return y=function(){return n},n}function w(){var n=(0,r.Z)(["\n    background: ",";\n    path {\n      fill: ",";\n    }\n\n    :hover {\n      background: ",";\n      path {\n        fill: ",";\n      }\n    }\n\n    :disabled {\n      path {\n        fill: ",";\n      }\n    }\n  "]);return w=function(){return n},n}function b(){var n=(0,r.Z)(["\n  display: flex;\n  align-items: center;\n  padding: 0;\n  justify-content: center;\n  outline: none;\n  box-shadow: none;\n  white-space: nowrap;\n  border: ",";\n  cursor: ",";\n  width: ",";\n  min-width: ",";\n  height: ",";\n  min-height: ",";\n  transition: 0.2s;\n  border-radius: ",";\n  ",";\n  background: ",";\n  :hover {\n    background: ",";\n\n    path {\n      fill: ",";\n    }\n  }\n\n  path {\n    fill: ",";\n  }\n  svg {\n    transition: 0.2s;\n    transform: ",";\n  }\n"]);return b=function(){return n},n}var Z={default:(0,c.css)(v(),o.Z.GRAY_9,o.Z.GRAY_3,o.Z.GRAY_10,o.Z.GRAY_6),darkMode:(0,c.css)(x(),o.Z.GRAY_9,o.Z.WHITE,o.Z.GRAY_8,o.Z.GRAY_5),stroke:(0,c.css)(y(),o.Z.PURPLE_GRAY_3,o.Z.GRAY_9,o.Z.GRAY_3,o.Z.GRAY_6),fill:(0,c.css)(w(),o.Z.GRAY_3,o.Z.GRAY_9,o.Z.GRAY_4,o.Z.GRAY_10,o.Z.GRAY_6)},C=c.default.button.withConfig({displayName:"IconButton__Container",componentId:"sc-ca2d20a3-0"})(b(),function(n){return"stroke"===n.shape?"1px solid ".concat(o.Z.PURPLE_GRAY_3):"none"},function(n){return n.disabled?"not-allowed":"pointer"},function(n){return n.size},function(n){return n.size},function(n){return n.size},function(n){return n.size},function(n){var e=n.size;return"40px"===e||"36px"===e?"6px":"4px"},function(n){return Z[n.shape]},function(n){return n.buttonBackground&&n.buttonBackground},function(n){return n.hoverBackground},function(n){return n.hoverColor},function(n){return n.iconColor},function(n){return n.rotate&&"rotate(".concat(n.rotate,"deg);")});e.Z=a.memo(function(n){var e=n.size,t=n.type,r=n.style,o=n.icon,a=n.onClick,c=n.disabled,v=n.buttonBackground,x=n.hoverBackground,y=n.iconColor,w=n.hoverColor,b=n.rotate,Z=n.id,_=n.className;return(0,i.jsx)(C,{size:"xl"===e?"40px":"lg"===e?"36px":"md"===e?"32px":"sm"===e?"24px":"18px",style:r,shape:void 0===t?"default":t,disabled:c,hoverBackground:x,onClick:a,iconColor:y,hoverColor:w,rotate:b,id:Z,className:_,buttonBackground:v,children:u.Z[o]||l.Z[o]||s.Z[o]||d.Z[o]||f.Z[o]||p.Z[o]||h.Z[o]||g.Z[o]||m.Z[o]})})},48235:function(n,e,t){t.d(e,{Z:function(){return aj}});var r,i,o,a,c,u,l,s,d,f,p,h=t(7297),g=t(85893),m=t(4480),v=(0,m.cn)({key:"selectedPageId",default:null});(0,m.cn)({key:"selectedSectionId",default:null});var x=(0,m.cn)({key:"selectedLayoutIdd",default:null});(0,m.cn)({key:"selectedBlockId",default:null});var y=t(14501),w=t(55366),b=t(67294),Z=t(19521),C=t(26042),_=t(69396),k=t(92503),I=t(57897),j=t(58528);function L(){var n=(0,h.Z)(["\n  color: ",";\n  font-weight: ",";\n  font-size: 14px;\n  line-height: 150%;\n  cursor: pointer;\n  transform: translateX(-1px);\n  border: 1px solid transparent;\n  transition: 0.2s;\n  font-family: 'Pretendard', sans-serif;\n\n  display: flex;\n  align-items: center;\n  gap: 2px;\n\n  &:hover {\n    color: ",";\n  }\n"]);return L=function(){return n},n}var P=Z.default.div.withConfig({displayName:"NewFooterMenuTitle__Container",componentId:"sc-dc70d312-0"})(L(),w.Z.GRAY_8,function(n){return n.bold?700:400},w.Z.GRAY_9),E=function(n){var e=n.data,t=n.name,r=n.linkData,i=n.bold,o=(0,I.c)().getLanguageValue,a=!!r&&!!o(r,"blank");return(0,g.jsx)(k.Z,{link:r,data:e,children:(0,g.jsxs)(P,{bold:i,children:[t,a&&(0,g.jsx)(j.Z,{icon:"LinkArrow12",size:20,type:"borderless"})]})})},N=t(70729);function R(){var n=(0,h.Z)(["\n  display: flex;\n  margin-bottom: 24px;\n  > div {\n    display: flex;\n    align-content: center;\n  }\n"]);return R=function(){return n},n}function T(){var n=(0,h.Z)(["\n      margin-left: 0px;\n      flex-direction: row;\n      flex-wrap: wrap;\n      column-gap: 24px;\n      row-gap: 8px;\n    "]);return T=function(){return n},n}function S(){var n=(0,h.Z)(["\n  display: flex;\n  margin-left: -24px;\n  ","\n"]);return S=function(){return n},n}var A=Z.default.div.withConfig({displayName:"FooterMenuSection__FooterMenusWrapper",componentId:"sc-2ce50ac6-0"})(R()),B=Z.default.div.withConfig({displayName:"FooterMenuSection__FlexWrapper",componentId:"sc-2ce50ac6-1"})(S(),function(n){return n.readonly&&(0,Z.css)(T())}),D=function(n){var e=n.menus,t=n.data,r=(0,I.c)().getLanguageValue,i=(0,N.KS)().getLinkForm;return(0,g.jsx)(A,{children:(0,g.jsx)(B,{readonly:!0,children:null==e?void 0:e.map(function(n,e){var o=r(n,"name"),a=i((0,_.Z)((0,C.Z)({},n.link),{linkName:null}));return(0,g.jsx)("div",{children:(0,g.jsx)(E,{data:t,bold:n.bold,name:o,linkData:a})},e)})})})},M=t(14924),z=t(28882);function F(){var n=(0,h.Z)(["\n  display: flex;\n  position: relative;\n  cursor: pointer;\n  border: 1px solid transparent;\n  transition: 0.2s;\n  :hover {\n    > svg > path:first-child {\n      fill: ",";\n    }\n  }\n  > svg > path:first-child {\n    transition: 0.2s;\n    fill: ",";\n  }\n"]);return F=function(){return n},n}var H=Z.default.div.withConfig({displayName:"NewSNSButton__Container",componentId:"sc-80a73af6-0"})(F(),w.Z.GRAY_6,w.Z.GRAY_5),O=(c={},(0,M.Z)(c,z.$e.NAVER_BLOG,(0,g.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("rect",{width:"32",height:"32",rx:"12",fill:"#BABCC5"}),(0,g.jsx)("path",{d:"M18.4138 9V16.7123L13.5862 9H9V23H13.5862V15.8772L18.4138 23H23V9H18.4138Z",fill:"white"})]})),(0,M.Z)(c,z.$e.FACEBOOK,(0,g.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("rect",{width:"32",height:"32",rx:"12",fill:"#BABCC5"}),(0,g.jsx)("g",{clipPath:"url(#clip0_28915_289182)",children:(0,g.jsx)("path",{d:"M18.2301 10.8071C18.7965 10.5783 20 10.7309 20 10.7309V8.21418C17.7345 7.83286 16.6726 7.90913 15.5398 8.82428C14.4071 9.73944 14.4071 11.7985 14.4071 11.7985V14.0864H12V17.0607H14.4071V24.0006H17.3097C17.3097 24.0006 17.3097 20.3095 17.3097 17.0607H19.5044L19.9292 14.0864H17.3097C17.3097 13.2323 17.3097 12.5993 17.3097 12.3324C17.3097 11.0359 18.2301 10.8071 18.2301 10.8071Z",fill:"white"})}),(0,g.jsx)("defs",{children:(0,g.jsx)("clipPath",{id:"clip0_28915_289182",children:(0,g.jsx)("rect",{width:"8",height:"16",fill:"white",transform:"translate(12 8)"})})})]})),(0,M.Z)(c,z.$e.INSTAGRAM,(0,g.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("rect",{width:"32",height:"32",rx:"12",fill:"#BABCC5"}),(0,g.jsx)("g",{clipPath:"url(#clip0_28915_289180)",children:(0,g.jsx)("g",{filter:"url(#filter0_d_28915_289180)",children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 12.6198C8 10.0716 10.0657 8.00586 12.614 8.00586H19.4605C22.0087 8.00586 24.0745 10.0716 24.0745 12.6198V19.3813C24.0745 21.9295 22.0087 23.9953 19.4605 23.9953H12.614C10.0657 23.9953 8 21.9295 8 19.3813V12.6198ZM12.614 9.49424C10.8878 9.49424 9.48838 10.8936 9.48838 12.6198V19.3813C9.48838 21.1075 10.8878 22.5069 12.614 22.5069H19.4605C21.1867 22.5069 22.5861 21.1075 22.5861 19.3813V12.6198C22.5861 10.8936 21.1867 9.49424 19.4605 9.49424H12.614ZM11.8278 16.0649C11.8278 13.7281 13.7222 11.8337 16.0591 11.8337C18.3959 11.8337 20.2903 13.7281 20.2903 16.0649C20.2903 18.4018 18.3959 20.2962 16.0591 20.2962C13.7222 20.2962 11.8278 18.4018 11.8278 16.0649ZM16.0591 13.3221C14.5442 13.3221 13.3162 14.5501 13.3162 16.0649C13.3162 17.5798 14.5442 18.8078 16.0591 18.8078C17.5739 18.8078 18.8019 17.5798 18.8019 16.0649C18.8019 14.5501 17.5739 13.3221 16.0591 13.3221ZM21.3507 11.73C21.3507 12.2937 20.8937 12.7506 20.3301 12.7506C19.7664 12.7506 19.3095 12.2937 19.3095 11.73C19.3095 11.1664 19.7664 10.7094 20.3301 10.7094C20.8937 10.7094 21.3507 11.1664 21.3507 11.73Z",fill:"white"})})}),(0,g.jsxs)("defs",{children:[(0,g.jsxs)("filter",{id:"filter0_d_28915_289180",x:"7",y:"7.00586",width:"18.0742",height:"17.9902",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,g.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.5"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.136011 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_28915_289180"}),(0,g.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_28915_289180",result:"shape"})]}),(0,g.jsx)("clipPath",{id:"clip0_28915_289180",children:(0,g.jsx)("rect",{width:"16",height:"16",fill:"white",transform:"translate(8 8)"})})]})]})),(0,M.Z)(c,z.$e.KAKAO_CHANNEL,(0,g.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("rect",{width:"32",height:"32",rx:"12",fill:"#BABCC5"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 9C11.5818 9 8 11.6969 8 15.0235C8 17.1889 9.5176 19.087 11.7954 20.1487C11.628 20.7435 11.1894 22.304 11.1019 22.6379C10.9931 23.0522 11.2608 23.0469 11.4366 22.9353C11.5741 22.8482 13.6285 21.5175 14.5152 20.9433C14.9965 21.0113 15.4926 21.0472 16 21.0472C20.4182 21.0472 24 18.3504 24 15.0235C24 11.6969 20.4182 9 16 9Z",fill:"white"})]})),(0,M.Z)(c,z.$e.TWITTER,(0,g.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("rect",{width:"32",height:"32",rx:"12",fill:"#BABCC5"}),(0,g.jsx)("g",{clipPath:"url(#clip0_35969_110019)",children:(0,g.jsx)("path",{d:"M17.5222 14.7714L23.4785 8H22.0671L16.8952 13.8795L12.7644 8H8L14.2466 16.8909L8 23.9918H9.41155L14.8732 17.7828L19.2356 23.9918H24L17.5218 14.7714H17.5222ZM15.5889 16.9692L14.956 16.0839L9.92015 9.03921H12.0882L16.1522 14.7245L16.7851 15.6098L22.0677 22.9998H19.8997L15.5889 16.9696V16.9692Z",fill:"white"})}),(0,g.jsx)("defs",{children:(0,g.jsx)("clipPath",{id:"clip0_35969_110019",children:(0,g.jsx)("rect",{width:"16",height:"16",fill:"white",transform:"translate(8 8)"})})})]})),(0,M.Z)(c,z.$e.YOUTUBE,(0,g.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("rect",{width:"32",height:"32",rx:"12",fill:"#BABCC5"}),(0,g.jsx)("path",{d:"M23.6704 12.5647C23.4859 11.9529 22.9456 11.4706 22.2602 11.3059C21.0082 11 16 11 16 11C16 11 10.9918 11 9.7397 11.2941C9.06754 11.4588 8.514 11.9529 8.32949 12.5647C8 13.6824 8 16 8 16C8 16 8 18.3294 8.32949 19.4353C8.514 20.0471 9.05436 20.5294 9.7397 20.6941C11.0049 21 16 21 16 21C16 21 21.0082 21 22.2602 20.7059C22.9456 20.5412 23.4859 20.0588 23.6704 19.4471C23.9999 18.3294 23.9999 16.0118 23.9999 16.0118C23.9999 16.0118 24.0131 13.6824 23.6704 12.5647ZM14.4052 18.1412V13.8588L18.57 16L14.4052 18.1412Z",fill:"white"})]})),(0,M.Z)(c,z.$e.LINKEDIN,(0,g.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("rect",{width:"32",height:"32",rx:"12",fill:"#BABCC5"}),(0,g.jsx)("path",{d:"M11.8373 9.93227C11.8419 8.86378 10.9891 8.00286 9.92327 8.00001C8.85921 7.99716 7.99964 8.85737 8 9.92478C8.00036 10.9843 8.85032 11.8417 9.90691 11.8481C10.972 11.8553 11.8326 11.0008 11.8373 9.93227ZM13.6713 13.3247H16.8422V14.7402L16.8816 14.7509C16.8904 14.7404 16.8994 14.7301 16.9086 14.7198C16.9282 14.6977 16.9479 14.6756 16.9634 14.6507C17.5392 13.7335 18.3889 13.2456 19.4383 13.0943C20.1873 12.9863 20.9284 13.0529 21.6521 13.283C22.6856 13.6111 23.3157 14.334 23.6494 15.3436C23.9018 16.1079 23.9847 16.9007 23.9897 17.6988C23.9989 19.2198 23.9992 20.741 23.9994 22.2623C23.9995 22.7914 23.9996 23.3204 24 23.8495C24 23.88 23.9971 23.9105 23.9938 23.944C23.9922 23.9615 23.9905 23.9798 23.989 23.9992H20.6845V23.7582C20.6845 23.2839 20.6851 22.8096 20.6857 22.3353V22.3352C20.6874 21.0505 20.6891 19.7656 20.6784 18.4809C20.6748 18.0562 20.6269 17.6254 20.5422 17.2092C20.3843 16.4342 19.8839 16.0309 19.0962 15.9863C18.4709 15.951 17.898 16.0716 17.4823 16.5883C17.2067 16.9307 17.0769 17.3404 17.0356 17.7731C17.0015 18.1272 16.9812 18.4842 16.9798 18.8401C16.9756 20.0506 16.9762 21.2609 16.9769 22.4714C16.9771 22.907 16.9773 23.3428 16.9773 23.7785V24H13.6713V13.3247ZM11.5716 23.9996H8.28128V13.3243H11.5716V23.9996Z",fill:"white"})]})),(0,M.Z)(c,z.$e.BRUNCH,(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,g.jsx)("rect",{width:"32",height:"32",rx:"12",fill:"#BABCC5"}),(0,g.jsx)("path",{d:"M12.1965 22.2215V22.2216L12.1994 22.2214C12.768 22.1877 14.588 22.0206 16.4705 21.197L16.4705 21.197C16.9675 20.979 17.9208 20.4607 18.7508 19.7209C19.5794 18.9823 20.2945 18.0144 20.2945 16.8973C20.2945 16.4721 20.1649 16.1313 19.9191 15.8971C19.6735 15.6632 19.3184 15.5417 18.879 15.5417C18.2112 15.5417 17.4786 15.8106 16.694 16.307C15.9251 16.7933 15.1027 17.5003 14.2372 18.3946C14.24 18.3874 14.2432 18.3796 14.2467 18.3714C14.2691 18.3192 14.3055 18.2494 14.3616 18.1581L14.3616 18.158C14.4041 18.0888 14.4517 18.0094 14.505 17.9203C15.0062 17.0837 16.0139 15.4016 17.9919 13.4545L17.9919 13.4545C18.6367 12.8194 18.8051 12.3706 18.8019 12.0721C18.8003 11.9226 18.7556 11.8138 18.71 11.7417C18.6965 11.7204 18.6829 11.7024 18.6705 11.6875C18.7082 11.6685 18.7615 11.6408 18.8276 11.6042C18.9655 11.5279 19.1593 11.413 19.3837 11.2583C19.8323 10.9489 20.4043 10.4796 20.8962 9.84025L20.8962 9.84022C21.1907 9.45695 21.5236 8.89088 21.7427 8.36903C21.8522 8.10819 21.9343 7.85615 21.9682 7.64213C22.0016 7.43161 21.9908 7.24352 21.8961 7.12459C21.8961 7.12453 21.896 7.12446 21.896 7.1244L21.8569 7.15557C21.5907 6.81841 21.0431 6.98898 19.8188 8.06734L12.1965 22.2215ZM12.1965 22.2215C12.1078 22.2272 12.0492 22.2288 12.0266 22.2293C12.0256 22.2297 12.0244 22.2303 12.0232 22.2309C12.0156 22.2345 12.0039 22.2406 11.9891 22.25C11.9596 22.2688 11.9179 22.3009 11.8722 22.3527C11.7811 22.456 11.6724 22.6403 11.6168 22.9604L11.5676 22.9518L11.6169 22.9603C11.6007 23.0538 11.5765 23.1368 11.5338 23.2143C11.491 23.292 11.4311 23.3616 11.3467 23.4302C11.1799 23.5657 10.9128 23.7002 10.4819 23.8864L10.4816 23.8865C10.375 23.9319 10.2629 23.9804 10.1452 24.0329L10.1452 24.0329C10.0884 24.0582 10.0138 24.0605 9.97247 24.0029C9.93341 23.9484 9.94815 23.8706 9.99309 23.7925C9.99309 23.7925 9.9931 23.7925 9.99311 23.7925L10.0364 23.8174L12.1965 22.2215ZM10.6092 21.1088L10.6543 21.1407C10.8873 21.3056 11.1135 21.4193 11.3252 21.4967C12.6051 19.2889 14.3872 16.2072 14.695 15.6326L14.7391 15.6562L10.6092 21.1088ZM10.6092 21.1088L10.582 21.1568M10.6092 21.1088L10.582 21.1568M10.582 21.1568L10.4258 21.4318L10.4074 21.4642M10.582 21.1568L10.4074 21.4642M10.4074 21.4642L10.4332 21.4911M10.4074 21.4642L10.4332 21.4911M10.4332 21.4911C10.56 21.6235 10.7865 21.7935 11.071 21.9354L10.4332 21.4911ZM17.5381 16.5715L17.5384 16.5714L17.591 16.5451L17.5913 16.5449C17.911 16.3828 18.2138 16.2969 18.4438 16.2969C18.6269 16.2969 18.7589 16.3495 18.8464 16.4474C18.9439 16.5576 18.9863 16.7313 18.9585 16.9736C18.8684 17.7309 18.4466 18.4719 17.8765 19.113C17.3067 19.7537 16.5922 20.2906 15.9242 20.6398C14.4276 21.4203 12.7625 21.6126 12.3453 21.6491C12.5077 21.3966 13.0388 20.5974 13.8241 19.6759C14.7658 18.5709 16.0694 17.2944 17.5381 16.5715ZM17.3419 13.0212C17.1652 13.1959 16.9596 13.3992 16.7312 13.6386C17.1056 12.9463 17.5104 12.2916 17.9173 11.6882C17.9193 11.7217 17.928 11.7539 17.9389 11.7842C17.9483 11.8105 17.96 11.837 17.9715 11.8628C17.9726 11.8654 17.9738 11.868 17.9749 11.8706C17.9855 11.8942 17.9959 11.9176 18.0055 11.942C18.0268 11.9957 18.0431 12.0516 18.0447 12.1137L18.0447 12.1138C18.0467 12.1856 18.0158 12.2676 17.9453 12.3705C17.8751 12.473 17.7696 12.5903 17.6315 12.7319C17.5466 12.8189 17.4496 12.9147 17.3419 13.0212ZM18.1063 11.4118C18.596 10.7052 19.0824 10.076 19.5166 9.54799C19.9705 8.99605 20.367 8.55492 20.65 8.25187C20.7753 8.11766 20.8783 8.01054 20.9542 7.93287C20.3756 9.599 19.1073 10.6922 18.1063 11.4118ZM11.6909 23.6899H11.6624L11.6479 23.7145L11.4941 23.9742L11.4494 24.0497H11.5371H21.9357H21.9643L21.9788 24.025L22.131 23.7652L22.1751 23.6899H22.0879H11.6909Z",fill:"white",stroke:"white",strokeWidth:"0.1"})]})),(0,M.Z)(c,z.$e.MEDIUM,(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,g.jsx)("rect",{width:"32",height:"32",rx:"12",fill:"#BABCC5"}),(0,g.jsx)("path",{d:"M9.89733 12.5913C9.91733 12.3947 9.842 12.2007 9.69533 12.0687L8.202 10.2687V10H12.8407L16.426 17.8633L19.578 10H24V10.2687L22.7227 11.4933C22.6127 11.5773 22.558 11.7153 22.5807 11.852V20.8507C22.558 20.9867 22.6127 21.1247 22.7227 21.2087L23.97 22.4333V22.702H17.6953V22.4333L18.988 21.1787C19.1147 21.052 19.1147 21.0147 19.1147 20.8207V13.5473L15.522 22.6727H15.0367L10.8533 13.5473V19.6633C10.8187 19.92 10.904 20.1793 11.0847 20.3647L12.7653 22.4033V22.6727H8V22.4033L9.68067 20.3647C9.86067 20.1787 9.94067 19.918 9.89733 19.6633V12.5913Z",fillRule:"evenodd",clipRule:"evenodd",fill:"white"})]})),c),G=function(n){var e=n.sns,t=(0,I.c)().getLanguageValue,r=t(e,"type"),i=t(e,"url"),o=t(e,"blank"),a=(0,b.useMemo)(function(){return i?{linkType:z.a6.URL,pageId:null,url:i,blank:o}:null},[i,o]);return(0,g.jsx)(k.Z,{link:a,data:null,children:(0,g.jsxs)(H,{children:[" ",O[r]]})})};function K(){var n=(0,h.Z)(["\n  display: flex;\n  /* > div {\n    display: flex;\n  } */\n"]);return K=function(){return n},n}function U(){var n=(0,h.Z)(["\n  display: flex;\n  margin-left: -16px;\n  margin-left: 0px;\n  flex-direction: row;\n  flex-wrap: wrap;\n  align-content: center;\n  row-gap: 8px;\n  column-gap: 16px;\n"]);return U=function(){return n},n}var W=Z.default.div.withConfig({displayName:"SnsButtonSection__SnsButtonWrapper",componentId:"sc-b92bc97c-0"})(K()),V=Z.default.div.withConfig({displayName:"SnsButtonSection__SnsFlexWrapper",componentId:"sc-b92bc97c-1"})(U()),Y=function(n){var e=n.snss;return(0,g.jsx)(W,{children:(0,g.jsx)(V,{children:null==e?void 0:e.map(function(n,e){return(0,g.jsx)("div",{children:(0,g.jsx)(G,{sns:n})},e)})})})},J=t(1470),q=t(8379),$=t.n(q);function Q(){var n=(0,h.Z)(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  position: relative;\n  margin-top: auto;\n  width: 100%;\n  padding: ",";\n  border-top: 1px solid ",";\n"]);return Q=function(){return n},n}function X(){var n=(0,h.Z)(["\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n  align-items: flex-start;\n  max-width: 1200px;\n"]);return X=function(){return n},n}function nn(){var n=(0,h.Z)(["\n  display: flex;\n  flex-direction: column;\n  width: 100%;\n  font-family: 'Pretendard', sans-serif;\n\n  > *:first-child {\n    margin-bottom: 8px;\n  }\n  margin-bottom: 24px;\n\n  word-break: keep-all;\n  word-wrap: break-word;\n"]);return nn=function(){return n},n}function ne(){var n=(0,h.Z)([""]);return ne=function(){return n},n}function nt(){var n=(0,h.Z)(["\n  white-space: pre-line;\n"]);return nt=function(){return n},n}var nr=Z.default.div.withConfig({displayName:"Footer__Container",componentId:"sc-d24661e1-0"})(Q(),function(n){return"mobile"===n.viewtype?"56px 24px":"56px 48px"},w.Z.PURPLE_GRAY_3),ni=Z.default.div.withConfig({displayName:"Footer__Content",componentId:"sc-d24661e1-1"})(X()),no=Z.default.div.withConfig({displayName:"Footer__InfomationSection",componentId:"sc-d24661e1-2"})(nn()),na=(0,Z.default)(J.Z).attrs({size:13,color:w.Z.GRAY_8,bold:!0}).withConfig({displayName:"Footer__Copyright",componentId:"sc-d24661e1-3"})(ne()),nc=(0,Z.default)(J.Z).attrs({size:13,color:w.Z.GRAY_8}).withConfig({displayName:"Footer__Information",componentId:"sc-d24661e1-4"})(nt());$()();var nu=(0,b.memo)(function(n){var e=n.viewtype,t=n.footer,r=n.data,i=(0,I.c)().getLanguageValue,o=i(t,"title"),a=i(t,"description");return(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(nr,{viewtype:e,id:"homepage-footer-container",children:(0,g.jsxs)(ni,{children:[(0,g.jsx)(D,{data:r.homepage,menus:null==t?void 0:t.menus}),(0,g.jsxs)(no,{children:[(0,g.jsx)(na,{children:o||"\xa9 ".concat(r.info.companyName)}),(0,g.jsx)(nc,{dangerouslySetInnerHTML:{__html:a}})]}),(0,g.jsx)(Y,{snss:null==t?void 0:t.snss})]})})})}),nl=function(n,e){if(!(/^#[0-9A-Fa-f]{6}$/.test(n)||/^#[0-9A-Fa-f]{8}$/.test(n)))throw Error("올바른 Hex값을 입력해주세요.");var t=n.replace("#",""),r=parseInt(n.slice(6,8),16)/255,i=parseInt(t.substring(0,2),16),o=parseInt(t.substring(2,4),16),a=parseInt(t.substring(4,6),16);return"rgba(".concat(i,", ").concat(o,", ").concat(a,", ").concat(e?e/100:r,")")},ns=t(45172),nd=t.n(ns),nf=t(828),np=t(76151),nh=t(7983);function ng(){var n=(0,h.Z)(["\n          &:hover {\n            .homepage-layout-container {\n              ::after {\n                border: 1px dashed ",";\n              }\n            }\n            .homepage-column-item {\n              ::after {\n                border-left: 1px dashed ",";\n                border-right: 1px dashed ",";\n              }\n            }\n          }\n        "]);return ng=function(){return n},n}function nm(){var n=(0,h.Z)(["\n      cursor: ",";\n\n      ::after {\n        content: '';\n        position: absolute;\n        top: 0;\n        bottom: 0;\n        left: 0;\n        right: 0;\n        pointer-events: none;\n        z-index: 20;\n      }\n\n      ::after {\n        border: ",";\n      }\n      &:hover::after {\n        border: ",";\n      }\n      ","\n    "]);return nm=function(){return n},n}function nv(){var n=(0,h.Z)(["\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n  position: relative;\n  ",";\n"]);return nv=function(){return n},n}function nx(){var n=(0,h.Z)(["\n      top: -10px;\n    "]);return nx=function(){return n},n}function ny(){var n=(0,h.Z)(["\n      bottom: -10px;\n    "]);return ny=function(){return n},n}function nw(){var n=(0,h.Z)(["\n  width: 81px;\n  padding: 3px 8px;\n  position: absolute;\n  left: 50%;\n  transform: translateX(-50%);\n  z-index: 21;\n  * + * {\n    margin-left: 6px;\n  }\n  ","\n  ","\n"]);return nw=function(){return n},n}var nb=Z.default.div.withConfig({displayName:"NewSectionContainer__Container",componentId:"sc-cd3504f0-0"})(nv(),function(n){return!n.readonly&&(0,Z.css)(nm(),function(n){return!n.editable&&"pointer"},function(n){return n.editable&&(n.layoutFocused?"2px solid ".concat("blue"===n.borderColor?w.Z.BLUE_3:w.Z.PURPLE_3,";"):"2px solid ".concat("blue"===n.borderColor?w.Z.BLUE_6:w.Z.PURPLE_6,";"))},function(n){return!n.editable&&"2px solid ".concat("blue"===n.borderColor?w.Z.BLUE_3:w.Z.PURPLE_3,";")},!n.editable&&(0,Z.css)(ng(),w.Z.GRAY_4,w.Z.GRAY_4,w.Z.GRAY_4))}),nZ=(0,Z.default)(np.Z).withConfig({displayName:"NewSectionContainer__AddSection",componentId:"sc-cd3504f0-1"})(nw(),function(n){return"top"===n.placement&&(0,Z.css)(nx())},function(n){return"bottom"===n.placement&&(0,Z.css)(ny())}),nC=function(n){var e=n.children,t=n.editable,r=n.readonly,i=n.onSectionClick,o=n.borderColor,a=n.onAddSection,c=(0,b.useRef)(null),u=(0,nf.Z)((0,m.FV)(x),2),l=u[0],s=u[1],d=function(n){var e=n.placement;return a&&t&&!l?(0,g.jsxs)(nZ,{size:"md",shape:"stroke",placement:e,onClick:function(n){n.stopPropagation(),a(e)},children:[(0,g.jsx)(nh.Z,{color:w.Z.PURPLE_6,name:"PlusCircle12"}),(0,g.jsx)(J.Z,{size:12,bold:!0,color:w.Z.PURPLE_6,children:"섹션 추가"})]}):null};return(0,g.jsxs)(nb,{onMouseDown:function(n){t&&l&&n.target.classList.contains("homepage-section-wrapper")&&s(null)},ref:c,layoutFocused:!!l,borderColor:void 0===o?"blue":o,readonly:r,editable:t,onClick:function(n){null==i||i(n)},children:[(0,g.jsx)(d,{placement:"top"}),e,(0,g.jsx)(d,{placement:"bottom"})]})},n_=t(47568),nk=t(70655),nI=t(33102),nj=t(58397),nL=t(15371),nP=t(48634),nE=t(25675),nN=t.n(nE);function nR(){var n=(0,h.Z)(["\n      cursor: pointer;\n      :hover {\n        .image-edit-buttons-wrapper {\n          display: flex;\n        }\n      }\n    "]);return nR=function(){return n},n}function nT(){var n=(0,h.Z)(["\n  @supports (font: -apple-system-body) {\n    -webkit-appearance: none;\n    img[loading='lazy'] {\n      clip-path: inset(0.6px);\n    }\n  }\n\n  display: flex;\n  align-items: center;\n  width: 100%;\n  height: 100%;\n\n  ","\n"]);return nT=function(){return n},n}function nS(){var n=(0,h.Z)(["\n  position: relative;\n  display: flex;\n  justify-content: center;\n  width: 100%;\n  min-width: 90px;\n  height: 100%;\n\n  > img {\n    height: calc(100% + 1px) !important; // safari에서 배너 블락 하단 1px이 비어있는 이슈\n  }\n"]);return nS=function(){return n},n}function nA(){var n=(0,h.Z)(["\n      cursor: pointer;\n    "]);return nA=function(){return n},n}function nB(){var n=(0,h.Z)(["\n  object-fit: cover;\n  object-position: center center;\n\n  ","\n"]);return nB=function(){return n},n}function nD(){var n=(0,h.Z)(["\n      cursor: default;\n    "]);return nD=function(){return n},n}function nM(){var n=(0,h.Z)(["\n  cursor: pointer;\n  background-color: ",";\n  width: 100%;\n  height: 100%;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  gap: 16px;\n\n  ","\n"]);return nM=function(){return n},n}var nz=Z.default.div.withConfig({displayName:"HomepageEditImage__ImageBlock",componentId:"sc-ae567592-0"})(nT(),function(n){return n.editable&&(0,Z.css)(nR())}),nF=Z.default.div.withConfig({displayName:"HomepageEditImage__ImageContent",componentId:"sc-ae567592-1"})(nS()),nH=(0,Z.default)(nN()).withConfig({displayName:"HomepageEditImage__ImageSection",componentId:"sc-ae567592-2"})(nB(),function(n){return n.hasLink&&(0,Z.css)(nA())}),nO=Z.default.div.withConfig({displayName:"HomepageEditImage__Empty",componentId:"sc-ae567592-3"})(nM(),w.Z.GRAY_1,function(n){return!n.editable&&(0,Z.css)(nD())}),nG=function(n){var e=n.imageFileKey,t=n.linkData,r=n.editable,i=n.recomendedSize,o=n.recomendedRatio,a=n.disabledEdit,c=n.aspectRatio,u=n.useEagerLoading,l=n.onImageClick,s=n.imagePriority,d=(0,nf.Z)((0,b.useState)(!0),2),f=d[0],p=d[1],h=e?(0,nP.Z)(e):null,m=(0,b.useRef)(null);return(0,g.jsx)(nz,{ref:m,editable:r&&!a,children:h?(0,g.jsx)(nF,{onClick:l,children:(0,g.jsx)(nH,{alt:"",fill:!0,hasLink:!!t,src:h,placeholder:"blur",blurDataURL:"/dev/imagePlaceholder.png",onLoadingComplete:function(){p(!1)},priority:s,style:{aspectRatio:f?null!=c?c:1.5:"auto"},loading:u?"eager":"lazy"})}):(0,g.jsxs)(nO,{editable:!!r,children:[(0,g.jsx)(nh.Z,{name:"IllustEmpty"}),(0,g.jsxs)(nL.Z,{direction:"column",justify:"center",align:"center",children:[(0,g.jsx)(J.Z,{size:14,color:w.Z.GRAY_6,children:"클릭하여 이미지를 추가해 주세요."}),(0,g.jsx)(J.Z,{size:12,color:w.Z.GRAY_6,style:{whiteSpace:"pre-line",marginTop:"8px",textAlign:"center"},children:null!=o?"[권장 비율] ".concat(o.width," : ").concat(o.height,"\n                  [권장 파일] jpeg / png / gif"):"[권장 사이즈] ".concat(null==i?void 0:i.width,"px * ").concat(null==i?void 0:i.height,"px\n                  [권장 파일] jpeg / png / gif")})]})]})})},nK=t(34923),nU=t(31298);function nW(){var n=(0,h.Z)(["\n  display: flex;\n  flex-direction: column;\n  width: 100%;\n  user-select: none;\n"]);return nW=function(){return n},n}function nV(){var n=(0,h.Z)(["\n  display: flex;\n  align-items: center;\n  margin: auto;\n  margin-top: 48px;\n  pointer-events: ",";\n"]);return nV=function(){return n},n}function nY(){var n=(0,h.Z)(["\n      cursor: default;\n      pointer-events: none;\n      :hover {\n        border-color: ",";\n      }\n    "]);return nY=function(){return n},n}function nJ(){var n=(0,h.Z)(["\n  width: 32px;\n  height: 32px;\n  border: 1px solid ",";\n  border-radius: 100px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  cursor: pointer;\n  transition: 0.2s;\n  background-color: ",";\n  :hover {\n    border: 1px solid #a8aab6;\n  }\n\n  ","\n\n  & + & {\n    margin-left: 16px;\n  }\n"]);return nJ=function(){return n},n}function nq(){var n=(0,h.Z)(["\n  min-width: ","px;\n  display: flex;\n  flex-direction: column;\n  margin-right: 24px;\n"]);return nq=function(){return n},n}function n$(){var n=(0,h.Z)(["\n  display: flex;\n  width: ",";\n  padding-left: ",";\n"]);return n$=function(){return n},n}function nQ(){var n=(0,h.Z)(["\n      width: 240px;\n      height: 160px;\n    "]);return nQ=function(){return n},n}function nX(){var n=(0,h.Z)(["\n  width: 360px;\n  height: 240px;\n  position: relative;\n  border-radius: 8px;\n  overflow: hidden;\n  ","\n"]);return nX=function(){return n},n}function n0(){var n=(0,h.Z)(["\n  font-size: 14px;\n  line-height: 22px;\n  margin-top: 8px;\n  width: ","px;\n  ","\n"]);return n0=function(){return n},n}var n1=Z.default.div.withConfig({displayName:"Slide__Container",componentId:"sc-ccffa20f-0"})(nW()),n2=Z.default.div.withConfig({displayName:"Slide__PagingBtnWrapper",componentId:"sc-ccffa20f-1"})(nV(),function(n){return!n.clickable&&"none"}),n9=Z.default.div.withConfig({displayName:"Slide__ButtonWrapper",componentId:"sc-ccffa20f-2"})(nJ(),w.Z.PURPLE_GRAY_3,w.Z.WHITE,function(n){return n.disable&&(0,Z.css)(nY(),w.Z.PURPLE_GRAY_3)}),n8=Z.default.div.withConfig({displayName:"Slide__Content",componentId:"sc-ccffa20f-3"})(nq(),function(n){return n.viewtype===z.Pi.MOBILE?240:360}),n3=Z.default.div.withConfig({displayName:"Slide__SlidesWrapper",componentId:"sc-ccffa20f-4"})(n$(),function(n){var e=n.width;return n.isMobile?"fit-content":"calc(100% + ".concat(e,"px)")},function(n){return n.paddingLeft}),n6=Z.default.div.withConfig({displayName:"Slide__ImageWrapper",componentId:"sc-ccffa20f-5"})(nX(),function(n){return n.viewtype===z.Pi.MOBILE&&(0,Z.css)(nQ())}),n4=(0,Z.default)(nj.Z).withConfig({displayName:"Slide__Description",componentId:"sc-ccffa20f-6"})(n0(),function(n){return n.viewtype===z.Pi.MOBILE?240:360},nI.Z.homepage_builder_text),n5=(0,b.memo)(function(n){var e,t=n.block,r=n.viewtype,i=n.layoutWidth,o=n.isPreview,a=n.data,c=(0,I.c)().getLanguageValue,u=(0,N.KS)().getLinkForm,l=(0,nf.Z)((0,b.useState)(0),2),s=l[0],d=l[1],f=r===z.Pi.DESKTOP?t.slides.length-3:t.slides.length-2,p=(0,nf.Z)((0,b.useState)(!1),2),h=p[0],m=p[1],v=(0,b.useRef)(null),x=r===z.Pi.MOBILE,y="".concat((i-Number(null===(e=document.querySelector(".homepage-column-wrapper"))||void 0===e?void 0:e.clientWidth)-2)/2,"px");(0,b.useEffect)(function(){var n=null==v?void 0:v.current;n&&n.getScrollLeft()},[null==v?void 0:v.current]);var Z=(0,b.useCallback)(function(){var n;h||(m(!0),d(function(n){return n-1}),v.current.view.scroll({left:Number(null===(n=v.current)||void 0===n?void 0:n.getScrollLeft())-384,behavior:"smooth"}),new Promise(function(n){return setTimeout(n,400)}).then(function(){return m(!1)}))},[v,h]),j=(0,b.useCallback)(function(){var n;h||(m(!0),d(function(n){return n+1}),v.current.view.scroll({left:Number(null===(n=v.current)||void 0===n?void 0:n.getScrollLeft())+384,behavior:"smooth"}),new Promise(function(n){return setTimeout(n,400)}).then(function(){return m(!1)}))},[v,h]);return(0,b.useEffect)(function(){var n;function e(n){0!==n.wheelDeltaX&&n.preventDefault()}if(r!==z.Pi.MOBILE)return null===(n=v.current)||void 0===n||n.view.addEventListener("wheel",e),function(){var n;return null===(n=v.current)||void 0===n?void 0:n.view.removeEventListener("wheel",e)}},[r,v]),(0,g.jsxs)(n1,{onKeyDown:function(n){return n.stopPropagation()},children:[(0,g.jsx)(nU.ZP,{ref:v,autoHeight:!0,autoHeightMax:"100%",renderTrackHorizontal:function(n){return(0,g.jsx)("div",(0,_.Z)((0,C.Z)({},n),{style:(0,_.Z)((0,C.Z)({},n.style),{visibility:"hidden"})}))},renderTrackVertical:function(n){return(0,g.jsx)("div",(0,_.Z)((0,C.Z)({},n),{style:(0,_.Z)((0,C.Z)({},n.style),{display:"none"})}))},children:(0,g.jsx)(n3,{isMobile:x,width:384*f,paddingLeft:y,children:t.slides.map(function(n,e){var i=c(n,"imageFileKey"),o=c(n,"description"),l=u(n.link);return(0,g.jsxs)(n8,{viewtype:r,children:[(0,g.jsx)(n6,{viewtype:r,id:"slide-".concat(t.blockId,"-").concat(e),children:(0,g.jsx)(k.Z,{link:l,data:a.homepage,children:(0,g.jsx)(nG,{editable:!1,imageFileKey:i,linkData:l,recomendedSize:x?{width:240,height:160}:{width:360,height:240}})})}),t.useDescription&&(0,g.jsx)(n4,{editable:!1,html:o||"",placeholder:"클릭하여 내용을 입력해 주세요.",onPaste:nK.gN,viewtype:r})]},e)})})}),!x&&(0,g.jsxs)(n2,{clickable:o||!1,children:[(0,g.jsx)(n9,{onClick:Z,disable:s<=0,children:(0,g.jsx)(nh.Z,{name:"LeftArrowO14",color:s<=0?w.Z.GRAY_6:void 0})}),(0,g.jsx)(n9,{onClick:j,disable:s>=f,children:(0,g.jsx)(nh.Z,{name:"RightArrowO14",color:s>=f?w.Z.GRAY_6:void 0})})]})]})});function n7(){var n=(0,h.Z)(["\n  position: absolute;\n  top: 0;\n  left: 0;\n  background-color: ",";\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  gap: 16px;\n\n  width: ",";\n  height: ",";\n  aspect-ratio: 3/2;\n"]);return n7=function(){return n},n}function en(){var n=(0,h.Z)(["\n      cursor: pointer;\n      :hover {\n        .image-edit-buttons-wrapper {\n          display: flex;\n        }\n      }\n    "]);return en=function(){return n},n}function ee(){var n=(0,h.Z)(["\n  display: flex;\n  align-items: center;\n  width: 100%;\n  height: 100%;\n\n  ",";\n"]);return ee=function(){return n},n}function et(){var n=(0,h.Z)(["\n      margin: 0 auto;\n    "]);return et=function(){return n},n}function er(){var n=(0,h.Z)(["\n      margin-left: auto;\n    "]);return er=function(){return n},n}function ei(){var n=(0,h.Z)(["\n  position: relative;\n  width: ",";\n  height: 100%;\n\n  & .autoImage {\n    position: relative !important;\n    width: 100%;\n    height: 100%;\n  }\n\n  ",";\n  ",";\n"]);return ei=function(){return n},n}function eo(){var n=(0,h.Z)(["\n      cursor: pointer;\n    "]);return eo=function(){return n},n}function ea(){var n=(0,h.Z)(["\n      border-top-left-radius: ","px;\n      border-top-right-radius: ","px;\n      border-bottom-left-radius: ","px;\n      border-bottom-right-radius: ","px;\n    "]);return ea=function(){return n},n}function ec(){var n=(0,h.Z)(["\n      mask-image: url('/dev/shape/Circle.svg');\n      border-radius: 100%;\n    "]);return ec=function(){return n},n}function eu(){var n=(0,h.Z)(["\n      mask-image: url('/dev/shape/Square.svg');\n    "]);return eu=function(){return n},n}function el(){var n=(0,h.Z)(["\n      mask-image: url('/dev/shape/Rectangle3To2.svg');\n    "]);return el=function(){return n},n}function es(){var n=(0,h.Z)(["\n      mask-image: url('/dev/shape/Rectangle2To1.svg');\n    "]);return es=function(){return n},n}function ed(){var n=(0,h.Z)(["\n  mask-position: center;\n  mask-repeat: no-repeat;\n  mask-size: cover;\n  mask-mode: alpha;\n  object-fit: cover;\n  object-position: center center;\n\n  ",";\n  ",";\n  ",";\n  ",";\n  ",";\n  ",";\n"]);return ed=function(){return n},n}function ef(){var n=(0,h.Z)(["\n  background-color: ",";\n  width: 100%;\n  height: 100%;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  gap: 16px;\n  pointer-events: auto;\n"]);return ef=function(){return n},n}var ep=Z.default.div.withConfig({displayName:"HomepageEditImageBlockImage___ImageSkeletonBlock",componentId:"sc-ec79b96c-0"})(n7(),w.Z.GRAY_1,function(n){var e=n.maskingSize;return"calc(".concat(e.width?"".concat(e.width,"px"):"100%",")")},function(n){var e=n.maskingSize;return"calc(".concat(e.height?"".concat(e.height,"px"):"auto"," + 1px)")}),eh=Z.default.div.withConfig({displayName:"HomepageEditImageBlockImage__ImageBlock",componentId:"sc-ec79b96c-1"})(ee(),function(n){return n.editable&&(0,Z.css)(en())}),eg=Z.default.div.withConfig({displayName:"HomepageEditImageBlockImage__ImageContent",componentId:"sc-ec79b96c-2"})(ei(),function(n){var e=n.ratio;return"calc(100% * ".concat(e,") !important")},function(n){return n.layout===z.zW.CENTER&&(0,Z.css)(et())},function(n){return n.layout===z.zW.RIGHT&&(0,Z.css)(er())}),em=(0,Z.default)(nN()).withConfig({displayName:"HomepageEditImageBlockImage__ImageSection",componentId:"sc-ec79b96c-3"})(ed(),function(n){return n.hasLink&&(0,Z.css)(eo())},function(n){var e=n.radius;return e&&(0,Z.css)(ea(),e.leftUp,e.rightUp,e.leftDown,e.rightDown)},function(n){return n.shape===z.PD.ROUND&&(0,Z.css)(ec())},function(n){return n.shape===z.PD.SQUARE&&(0,Z.css)(eu())},function(n){return n.shape===z.PD.RECTANGLE3to2&&(0,Z.css)(el())},function(n){return n.shape===z.PD.RECTANGLE2to1&&(0,Z.css)(es())}),ev=Z.default.div.withConfig({displayName:"HomepageEditImageBlockImage__Empty",componentId:"sc-ec79b96c-4"})(ef(),w.Z.GRAY_1),ex=function(n){var e=n.maskingSize;return(0,g.jsx)(ep,{maskingSize:e,children:(0,g.jsx)(nh.Z,{name:"IllustEmpty"})})},ey=function(n){var e=n.imageFileKey,t=n.linkData,r=n.editable,i=n.imageLayout,o=n.imageSizeRatio,a=n.imageRadius,c=n.imageShape,u=n.recomendedRatio,l=n.disabledEdit,s=n.isHoverImageWithImageBlock,d=n.onImageClick,f=n.onMouseOver,p=n.onMouseLeave,h=n.ImageWrapper,m=(0,nf.Z)((0,b.useState)(!0),2),v=m[0],x=m[1],y=(0,nf.Z)((0,b.useState)(null),2),Z=y[0],k=y[1],I=(0,nf.Z)((0,b.useState)({width:0,height:0}),2),j=I[0],L=I[1],P=(0,b.useRef)(null);function E(){var n,e=null===(n=P.current)||void 0===n?void 0:n.clientWidth;c||L({width:0,height:0}),(c===z.PD.SQUARE||c===z.PD.ROUND)&&L({width:e,height:e}),c===z.PD.RECTANGLE3to2&&L({width:e,height:e*(2/3)}),c===z.PD.RECTANGLE2to1&&L({width:e,height:.5*e})}(0,b.useEffect)(function(){if(P.current){var n=new ResizeObserver(function(n){var e;E(),k(null===(e=n[0].contentBoxSize)||void 0===e?void 0:e[0].inlineSize)});return n.observe(P.current),function(){return n.disconnect()}}},[P,c]),(0,b.useEffect)(function(){return window.addEventListener("orientationchange",E),function(){window.removeEventListener("orientationchange",E)}},[]);var N=(0,b.useCallback)(function(n){var e={fill:!1,width:n.width*o/100,height:n.height*o/100};return s&&c?{fill:!0}:n.width&&n.height?e:{fill:!0,className:"autoImage"}},[o]);return(0,g.jsx)(eh,{ref:P,editable:r&&!l,children:e?(0,g.jsxs)(eg,{layout:i,ratio:o/100||1,radius:a,onLoad:E,children:[(0,g.jsx)(h,{style:(0,C.Z)({borderTopRightRadius:a.rightUp,borderBottomRightRadius:a.rightDown,borderTopLeftRadius:a.leftUp,borderBottomLeftRadius:a.leftDown},c===z.PD.ROUND&&{borderRadius:"100%"}),children:(0,g.jsx)(em,(0,_.Z)((0,C.Z)({alt:"",hasLink:!!t,shape:c,radius:a,src:(0,nP.Z)(e),quality:100,onLoadingComplete:function(){x(!1)},style:{aspectRatio:v?1.5:"auto"}},N(j)),{onMouseOver:f,onMouseLeave:p,onClick:d}))}),v&&(0,g.jsx)(ex,{maskingSize:j})]}):(0,g.jsxs)(ev,{editable:r,children:[(0,g.jsx)(nh.Z,{name:"IllustEmpty"}),Number(Z)>=200&&(0,g.jsxs)(nL.Z,{direction:"column",justify:"center",align:"center",children:[(0,g.jsx)(J.Z,{size:14,color:w.Z.GRAY_6,children:"클릭하여 이미지를 추가해 주세요."}),(0,g.jsx)(J.Z,{size:12,color:w.Z.GRAY_6,style:{whiteSpace:"pre-line",marginTop:"8px",textAlign:"center"},children:"[권장 비율] ".concat(u.width," : ").concat(u.height,"\n                  [권장 파일] jpeg / png / gif")})]})]})})},ew=t(41664),eb=t.n(ew),eZ=t(34054),eC=t(22543),e_=t(23222);function ek(){var n=(0,h.Z)(["\n  width: 100%;\n  aspect-ratio: ",";\n  user-select: none;\n\n  "," {\n    aspect-ratio: "," !important;\n  }\n"]);return ek=function(){return n},n}function eI(){var n=(0,h.Z)(["\n      filter: drop-shadow(\n        5px ","px ","px rgba(0, 0, 0, ",")\n      );\n    "]);return eI=function(){return n},n}function ej(){var n=(0,h.Z)(["\n  ","\n"]);return ej=function(){return n},n}function eL(){var n=(0,h.Z)(["\n      filter: drop-shadow(5px ","px ","px rgba(0, 0, 0, 0));\n    "]);return eL=function(){return n},n}function eP(){var n=(0,h.Z)(["\n  ","\n"]);return eP=function(){return n},n}function eE(){var n=(0,h.Z)(["\n  width: 100%;\n  height: 100%;\n\n  will-change: filter;\n  transition: filter 0.3s ease;\n\n  ",";\n"]);return eE=function(){return n},n}function eN(){var n=(0,h.Z)(["\n          mask-image: url('/dev/shape/Circle.svg');\n        "]);return eN=function(){return n},n}function eR(){var n=(0,h.Z)(["\n          mask-image: url('/dev/shape/Square.svg');\n        "]);return eR=function(){return n},n}function eT(){var n=(0,h.Z)(["\n          mask-image: url('/dev/shape/Rectangle3To2.svg');\n        "]);return eT=function(){return n},n}function eS(){var n=(0,h.Z)(["\n          mask-image: url('/dev/shape/Rectangle2To1.svg');\n        "]);return eS=function(){return n},n}function eA(){var n=(0,h.Z)(["\n          border-top-left-radius: ","px;\n          border-top-right-radius: ","px;\n          border-bottom-left-radius: ","px;\n          border-bottom-right-radius: ","px;\n        "]);return eA=function(){return n},n}function eB(){var n=(0,h.Z)(["\n  position: absolute;\n  top: 0;\n\n  opacity: ",";\n  pointer-events: none;\n  transition: opacity .3s ease;\n  will-change: opacity;\n  z-index: 1;\n  width: 100%;\n  height: 100%;\n\n  "," {\n    ",";\n  }\n\n  "," {\n    "," {\n      transition: opacity 0.3s ease;\n      will-change: opacity;\n\n      overflow: hidden;\n      mask-position: center;\n      mask-repeat: no-repeat;\n      mask-size: cover;\n      mask-mode: alpha;\n      object-fit: cover;\n      object-position: center center;\n\n      ","\n      ","\n      ","\n      ","\n      ",";\n\n        "," {\n          transition: transform 0.3s ease;\n          will-change: transform;\n        }\n    }\n  }\n"]);return eB=function(){return n},n}function eD(){var n=(0,h.Z)(["\n      cursor: pointer;\n    "]);return eD=function(){return n},n}function eM(){var n=(0,h.Z)(["\n      border-top-left-radius: ","px;\n      border-top-right-radius: ","px;\n      border-bottom-left-radius: ","px;\n      border-bottom-right-radius: ","px;\n    "]);return eM=function(){return n},n}function ez(){var n=(0,h.Z)(["\n      border-radius: 100%;\n    "]);return ez=function(){return n},n}function eF(){var n=(0,h.Z)(["\n      left: 50%;\n      transform: translateX(-50%);\n    "]);return eF=function(){return n},n}function eH(){var n=(0,h.Z)(["\n      right: 0;\n    "]);return eH=function(){return n},n}function eO(){var n=(0,h.Z)(["\n            transform: scale(",");\n          "]);return eO=function(){return n},n}function eG(){var n=(0,h.Z)(["\n  position: absolute;\n  top: 0;\n  width: ",";\n  height: 100%;\n  z-index: 2;\n\n  ","\n  ",";\n\n  ",";\n\n  ","\n  ","\n\n  &:hover {\n    + "," {\n      opacity: 1;\n\n      "," {\n        ",";\n      }\n\n      "," {\n        ","\n      }\n    }\n  }\n"]);return eG=function(){return n},n}function eK(){var n=(0,h.Z)(["\n  ","\n"]);return eK=function(){return n},n}function eU(){var n=(0,h.Z)(["\n  ","\n"]);return eU=function(){return n},n}var eW=Z.default.div.withConfig({displayName:"Image__ImageContainer",componentId:"sc-1c8150d9-0"})(ek(),function(n){return n.containerAspectRatio},em,function(n){return n.imageAspectRatio}),eV=(0,Z.css)(ej(),function(n){var e=n.shadow;return e&&(0,Z.css)(eI(),e.size,e.blur,e.opacity/100)}),eY=(0,Z.css)(eP(),function(n){var e=n.shadow;return e&&(0,Z.css)(eL(),e.size,e.blur)}),eJ=Z.default.div.withConfig({displayName:"Image__ShadowWrapper",componentId:"sc-1c8150d9-1"})(eE(),eV),eq=Z.default.div.withConfig({displayName:"Image__HoverImageWrapper",componentId:"sc-1c8150d9-2"})(eB(),function(n){return n.isDefaultImageFileKeyEqualToHoverImageFileKey?1:0},eJ,function(n){return n.isDefaultImageFileKeyEqualToHoverImageFileKey?eY:eV},eh,eg,function(n){return n.shape===z.PD.ROUND&&(0,Z.css)(eN())},function(n){return n.shape===z.PD.SQUARE&&(0,Z.css)(eR())},function(n){return n.shape===z.PD.RECTANGLE3to2&&(0,Z.css)(eT())},function(n){return n.shape===z.PD.RECTANGLE2to1&&(0,Z.css)(eS())},function(n){var e=n.radius;return e&&(0,Z.css)(eA(),e.leftUp,e.rightUp,e.leftDown,e.rightDown)},em),e$=(0,Z.css)(eG(),function(n){var e=n.ratio;return"calc(100% * ".concat(e,")")},function(n){return n.hasLink&&(0,Z.css)(eD())},function(n){var e=n.radius;return e&&(0,Z.css)(eM(),e.leftUp,e.rightUp,e.leftDown,e.rightDown)},function(n){return n.shape===z.PD.ROUND&&(0,Z.css)(ez())},function(n){return n.layout===z.zW.CENTER&&(0,Z.css)(eF())},function(n){return n.layout===z.zW.RIGHT&&(0,Z.css)(eH())},eq,eJ,eV,em,function(n){var e=n.expansion;return e&&(0,Z.css)(eO(),e/100)}),eQ=(0,Z.default)(eb()).withConfig({displayName:"Image__HoverImageAppearTriggerLink",componentId:"sc-1c8150d9-3"})(eK(),e$),eX=Z.default.div.withConfig({displayName:"Image__HoverImageAppearTriggerDiv",componentId:"sc-1c8150d9-4"})(eU(),e$),e0=(0,b.memo)(function(n){var e,t,r,i,o,a,c,u=n.block,l=n.viewtype,s=n.data,d=(0,eC.ZP)().isMain,f=(0,I.c)(),p=f.getLanguageValue,h=f.getLanguageKey,m=(0,(0,N.KS)().getLinkForm)(u.link),v=(0,eZ.Z)({link:m,data:s.homepage}),x=l===z.Pi.MOBILE,y=p(u,"size"),w=p(u,"layout"),Z=p(u,"radius"),_=p(u,"imageFileKey"),j=null!==(i=null===(e=u.hover)||void 0===e?void 0:e[h("imageFileKey")])&&void 0!==i?i:d?u.imageFileKey:null!==(r=null===(t=u.hover)||void 0===t?void 0:t.imageFileKey)&&void 0!==r?r:u.imageFileKey,L=p(u,"shape"),P=p(u.hover,"useExpansion"),E=p(u.hover,"expansion"),R=p(u.hover,"useShadow"),T=p(null===(o=u.hover)||void 0===o?void 0:o.shadow,"size"),S=p(null===(a=u.hover)||void 0===a?void 0:a.shadow,"blur"),A=p(null===(c=u.hover)||void 0===c?void 0:c.shadow,"opacity"),B=(0,b.useMemo)(function(){return!!_&&(0,e_.WJ)(_)},[]),D=(0,b.useMemo)(function(){return _===j},[_,j]),M=(0,b.useMemo)(function(){return!!j},[j]),F=!!m,H=function(n){var e=n.children,t=n.style;return(0,g.jsx)(k.Z,{link:m,data:s.homepage,style:t,children:e})};return(0,g.jsxs)(eW,{containerAspectRatio:_?void 0:1.5,imageAspectRatio:B?1.5:void 0,id:"image-".concat(u.blockId),children:[!!u.hover&&M&&!x&&(0,g.jsxs)(b.Fragment,{children:[v?(0,g.jsx)(eQ,(0,C.Z)({ratio:y/100||1,expansion:P?E:void 0,layout:w,shape:L,radius:Z,hasLink:F,shadow:R?{size:T,blur:S,opacity:A}:void 0,isDefaultImageFileKeyEqualToHoverImageFileKey:D},v)):(0,g.jsx)(eX,{ratio:y/100||1,expansion:P?E:void 0,layout:w,shape:L,radius:Z,hasLink:F,shadow:R?{size:T,blur:S,opacity:A}:void 0,isDefaultImageFileKeyEqualToHoverImageFileKey:D}),(0,g.jsx)(eq,{shape:L,radius:Z,shadow:R?{size:T,blur:S,opacity:A}:void 0,isDefaultImageFileKeyEqualToHoverImageFileKey:D,children:(0,g.jsx)(eJ,{shadow:R?{size:T,blur:S,opacity:A}:void 0,children:(0,g.jsx)(ey,{recomendedRatio:{width:3,height:2},imageSizeRatio:y,imageLayout:w,imageShape:L,imageRadius:Z,imageFileKey:null!=j?j:_,linkData:m,editable:!1,isHoverImageWithImageBlock:!0,ImageWrapper:H})})})]}),(0,g.jsx)(ey,{recomendedRatio:{width:3,height:2},imageSizeRatio:y,imageLayout:w,imageShape:L,imageRadius:Z,imageFileKey:_,linkData:m,editable:!1,ImageWrapper:H})]})});function e1(){var n=(0,h.Z)(["\n  position: relative;\n"]);return e1=function(){return n},n}function e2(){var n=(0,h.Z)(["\n      justify-content: flex-start;\n    "]);return e2=function(){return n},n}function e9(){var n=(0,h.Z)(["\n      justify-content: center;\n    "]);return e9=function(){return n},n}function e8(){var n=(0,h.Z)(["\n      justify-content: flex-end;\n    "]);return e8=function(){return n},n}function e3(){var n=(0,h.Z)(["\n      div {\n        min-width: 100%;\n      }\n    "]);return e3=function(){return n},n}function e6(){var n=(0,h.Z)(["\n  width: 100%;\n  display: flex;\n  transition: 0.2s;\n\n  ","\n\n  ","\n  ","\n  ","\n"]);return e6=function(){return n},n}function e4(){var n=(0,h.Z)(["\n      &::after {\n        content: '';\n        position: absolute;\n        top: -1px;\n        left: -1px;\n        right: -1px;\n        bottom: -1px;\n        border-radius: inherit; /* .element와 동일한 border-radius 값 */\n        background: ",";\n        padding: 1px; /* 테두리 두께 */\n        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);\n        -webkit-mask-composite: destination-out;\n        mask-composite: exclude;\n      }\n    "]);return e4=function(){return n},n}function e5(){var n=(0,h.Z)(["\n      border-radius: 1000px;\n    "]);return e5=function(){return n},n}function e7(){var n=(0,h.Z)(["\n      border-radius: 6px;\n    "]);return e7=function(){return n},n}function tn(){var n=(0,h.Z)(["\n      padding: 0px 24px;\n      height: 56px;\n      font-size: 20px !important;\n    "]);return tn=function(){return n},n}function te(){var n=(0,h.Z)(["\n      height: 48px;\n      padding: 0px 20px;\n      font-size: 16px !important;\n    "]);return te=function(){return n},n}function tt(){var n=(0,h.Z)(["\n      height: 40px;\n      padding: 0px 16px;\n      font-size: 14px !important;\n    "]);return tt=function(){return n},n}function tr(){var n=(0,h.Z)(["\n      :hover {\n        background: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),\n          ",";\n      }\n    "]);return tr=function(){return n},n}function ti(){var n=(0,h.Z)(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n\n  max-width: 100%;\n  position: relative;\n\n  span {\n    min-width: 10px;\n    color: ",";\n    font-weight: 700;\n    font-family: 'Pretendard';\n    white-space: nowrap;\n  }\n\n  background: ",";\n  border: solid 1px transparent; /* !important\xe9 */\n\n  ","\n\n  ",";\n  ",";\n\n  ",";\n  ",";\n\n  ",";\n\n  ","\n"]);return ti=function(){return n},n}function to(){var n=(0,h.Z)(["\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n"]);return to=function(){return n},n}var ta=Z.default.div.withConfig({displayName:"Button__ButtonContainer",componentId:"sc-e633ff78-0"})(e1()),tc=Z.default.div.withConfig({displayName:"Button__ButtonLayout",componentId:"sc-e633ff78-1"})(e6(),function(n){return n.placement===z.zW.LEFT&&(0,Z.css)(e2())},function(n){return n.placement===z.zW.CENTER&&(0,Z.css)(e9())},function(n){return n.placement===z.zW.RIGHT&&(0,Z.css)(e8())},function(n){return n.placement===z.zW.FULL&&(0,Z.css)(e3())}),tu=Z.default.div.withConfig({displayName:"Button__ButtonContent",componentId:"sc-e633ff78-2"})(ti(),function(n){return n.color},function(n){return n.backgroundColor},function(n){var e=n.strokeColor;return e&&(0,Z.css)(e4(),e)},function(n){return n.shape===z.PD.ROUND&&(0,Z.css)(e5())},function(n){return n.shape===z.PD.SQUARE&&(0,Z.css)(e7())},function(n){return n.size===z.WU.LARGE&&(0,Z.css)(tn())},function(n){return n.size===z.WU.MEDIUM&&(0,Z.css)(te())},function(n){return n.size===z.WU.SMALL&&(0,Z.css)(tt())},function(n){var e=n.hasLink,t=n.backgroundColor;return e&&t&&(0,Z.css)(tr(),t)}),tl=Z.default.span.withConfig({displayName:"Button__ReadonlyText",componentId:"sc-e633ff78-3"})(to()),ts=function(n){var e=n.block,t=n.data,r=(0,I.c)().getLanguageValue,i=(0,N.KS)().getLinkForm,o=e.layout,a=e.shape,c=e.size,u=e.backgroundColor,l=e.textColor,s=i(e.link),d=r(e,"text"),f=o===z.zW.FULL;return(0,g.jsx)(ta,{children:(0,g.jsx)(tc,{placement:o,children:(0,g.jsx)(k.Z,{link:s,data:t.homepage,style:{width:f?"100%":void 0},children:(0,g.jsx)(tu,{hasLink:!!s,className:"button-".concat(e.blockId),size:c,shape:a,backgroundColor:u,strokeColor:e.strokeColor,color:l,children:(0,g.jsx)(tl,{className:"button-".concat(e.blockId),children:null!==d?d:"버튼"})})})})})},td=t(40872),tf=t(7874),tp=t(5310),th=t(22004),tg=t.n(th);function tm(){var n=(0,h.Z)(["\n  position: absolute;\n  left: 0px;\n  right: 0px;\n  top: 0px;\n  bottom: 0px;\n  background: transparent;\n  z-index: 20;\n"]);return tm=function(){return n},n}var tv=Z.default.div.withConfig({displayName:"TransparentOverlay",componentId:"sc-9c0d122b-0"})(tm());function tx(){var n=(0,h.Z)(["\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  margin: 0 auto;\n  user-select: none;\n  width: 100%;\n  height: ",";\n"]);return tx=function(){return n},n}function ty(){var n=(0,h.Z)(["\n  background-color: ",";\n  width: 100%;\n  height: ",";\n  aspect-ratio: ",";\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  gap: 16px;\n  padding: 67px 0 63px;\n"]);return ty=function(){return n},n}function tw(){var n=(0,h.Z)(["\n  width: 100%;\n  height: ",";\n  aspect-ratio: ",";\n  overflow: hidden;\n  position: relative;\n  div {\n    border: none;\n    border-radius: 0px;\n  }\n"]);return tw=function(){return n},n}var tb=Z.default.div.withConfig({displayName:"Video__VideoConatiner",componentId:"sc-c4ba26fa-0"})(tx(),function(n){return n.height?"".concat(n.height,"px"):"max-content"}),tZ=Z.default.div.withConfig({displayName:"Video__Empty",componentId:"sc-c4ba26fa-1"})(ty(),w.Z.GRAY_1,function(n){return n.isLayoutFull&&"100%"},function(n){return!n.isLayoutFull&&"16 / 9"}),tC=Z.default.div.withConfig({displayName:"Video__Player",componentId:"sc-c4ba26fa-2"})(tw(),function(n){return n.isLayoutFull&&"100%"},function(n){return!n.isLayoutFull&&"16 / 9"}),t_=function(n){var e,t,r=(0,td.Z)({},(0,tf.Z)(n)),i=r.viewtype,o=r.block,a=r.layoutWidth,c=r.columnsLength,u=r.isPreview,l=(0,I.c)().getLanguageValue,s=l(o,"url"),d=l(o,"layout"),f=(0,b.useRef)(null),p=d===z.zW.FIT,h=d===z.zW.FULL,m=i===z.Pi.MOBILE,v=1===c,x=(0,nf.Z)((0,b.useState)(0),2),y=x[0],Z=x[1],C=(0,tp.W)(),_=m?24:(a-Number(null===(e=document.querySelector(".homepage-column-wrapper"))||void 0===e?void 0:e.clientWidth)+2)/2;return(0,b.useEffect)(function(){var n;(null===(n=f.current)||void 0===n?void 0:n.offsetWidth)&&Z(f.current.offsetWidth-(v?2*_:0))},[f,i,null==f?void 0:null===(t=f.current)||void 0===t?void 0:t.offsetWidth]),(0,g.jsxs)(tb,{height:h&&v?Math.ceil(y/16*9):void 0,style:{padding:p&&1===c?"0 ".concat(_,"px 0 ").concat(_,"px"):void 0},ref:f,children:[(0,g.jsx)("div",{style:{width:"100%",height:"100%"},children:s?(0,g.jsx)(tC,{isLayoutFull:h&&v,children:(0,g.jsx)(tg(),{width:"100%",height:"100%",url:s,muted:!0,loop:!0,playing:!C,controls:!0,playsinline:!0})}):(0,g.jsxs)(tZ,{isLayoutFull:h&&v,children:[(0,g.jsx)(nh.Z,{name:"VideoEmpty"}),(0,g.jsx)(nL.Z,{direction:"column",justify:"center",align:"center",gap:8,children:(0,g.jsx)(J.Z,{size:14,color:w.Z.GRAY_6,style:{whiteSpace:"pre-line",textAlign:"center"},children:"Youtube, Vimeo 등 외부 URL 링크를 설정해 주세요.\n              권장 비율 16:9"})})]})}),u||(0,g.jsx)(tv,{})]})};function tk(){var n=(0,h.Z)(["\n    h3 {\n      font-weight: 700 !important;\n      font-size: 30px !important;\n      line-height: 1.5 !important;\n    }\n    h4 {\n      font-weight: 700 !important;\n      font-size: 24px !important;\n      line-height: 1.5 !important;\n    }\n    h5 {\n      font-weight: 700 !important;\n      font-size: 20px !important;\n      line-height: 1.6 !important;\n    }\n    h6 {\n      font-weight: 400 !important;\n      font-size: 20px !important;\n      line-height: 1.6 !important;\n    }\n\n    *[style*='font-size: 14'] {\n      font-size: 13px !important;\n    }\n    *[style*='font-size: 15'] {\n      font-size: 15px !important;\n    }\n    *[style*='font-size: 18'] {\n      font-size: 16px !important;\n    }\n    *[style*='font-size: 20'] {\n      font-size: 18px !important;\n    }\n    *[style*='font-size: 24'] {\n      font-size: 22px !important;\n    }\n    *[style*='font-size: 28'] {\n      font-size: 24px !important;\n    }\n    *[style*='font-size: 34'] {\n      font-size: 26px !important;\n    }\n    *[style*='font-size: 38'] {\n      font-size: 30px !important;\n    }\n    *[style*='font-size: 42'] {\n      font-size: 32px !important;\n    }\n    *[style*='font-size: 48'] {\n      font-size: 34px !important;\n    }\n    *[style*='font-size: 56'] {\n      font-size: 38px !important;\n    }\n  "]);return tk=function(){return n},n}var tI=function(){return(0,Z.css)(tk())},tj=t(99534),tL=t(61980);function tP(){var n=(0,h.Z)(["\n  ul."," {\n    margin: 0;\n    bottom: 24px;\n    gap: 12px;\n\n    > li {\n      margin: 0;\n      width: 8px !important;\n      height: 8px !important;\n      border-radius: 50%;\n      background: ",";\n      opacity: 0.5;\n      outline: 1px solid transparent;\n    }\n\n    > li.slick-active {\n      background: ",";\n      opacity: 1;\n      outline: 1px solid ",";\n    }\n\n    button {\n      width: 100% !important;\n      height: 100% !important;\n      background: none !important;\n    }\n  }\n"]);return tP=function(){return n},n}var tE="carousel_dots",tN=Z.default.div.withConfig({displayName:"Carousel__CarouselWrapper",componentId:"sc-d8193b2a-0"})(tP(),tE,w.Z.GRAY_6,w.Z.WHITE,w.Z.GRAY_7),tR=(0,b.forwardRef)(function(n,e){var t=n.children,r=(0,tj.Z)(n,["children"]);return(0,g.jsx)(tN,{children:(0,g.jsx)(tL.Z,(0,_.Z)((0,C.Z)({ref:e},r),{dots:{className:tE},children:t}))})}),tT=(u={},(0,M.Z)(u,z.GQ.FADE,"fade"),(0,M.Z)(u,z.GQ.SLIDE,"scrollx"),u),tS=(0,b.forwardRef)(function(n,e){var t=n.beforeChange,r=n.useAutoTransition,i=n.autoTransitionType,o=n.children;return(0,g.jsx)(tR,{ref:e,infinite:!0,speed:300,autoplay:r,effect:r?tT[i]:"scrollx",beforeChange:t,pauseOnHover:!1,children:o})});function tA(){var n=(0,h.Z)(["\n  ","\n  cursor: ",";\n  color:",";\n"]);return tA=function(){return n},n}function tB(){var n=(0,h.Z)(["\n  width: 100%;\n  height: ","px;\n  display: flex;\n  justify-content: center;\n  overflow: hidden;\n  position: relative;\n  cursor: ",";\n\n  ::before {\n    z-index: 1;\n    position: absolute;\n    content: '';\n    width: 100%;\n    height: 100%;\n    background: ",";\n    pointer-events: none;\n  }\n"]);return tB=function(){return n},n}function tD(){var n=(0,h.Z)(["\n  position: absolute;\n  max-width: 1296px;\n  padding: ",";\n  height: 100%;\n  z-index: 2;\n  width: 100%;\n  display: flex;\n  align-items: ",";\n\n  ","\n"]);return tD=function(){return n},n}function tM(){var n=(0,h.Z)(["\n    > #"," {\n      max-height: ","px;\n      overflow: ",";\n      scrollbar-width: none;\n      ::-webkit-scrollbar {\n        display: none;\n      }\n    }\n  "]);return tM=function(){return n},n}function tz(){var n=(0,h.Z)(["\n  width: 100%;\n  position: relative;\n\n  ","\n"]);return tz=function(){return n},n}function tF(){var n=(0,h.Z)(["\n  min-width: ","px;\n\n  /* height: 100%; */\n"]);return tF=function(){return n},n}var tH=Z.default.div.withConfig({displayName:"Banner__ReadOnlySection",componentId:"sc-682ccaf8-0"})(tA(),nI.Z.homepage_bulder_editor_text,function(n){return n.hasLink?"pointer":"text"},function(n){return n.isPlaceholder&&w.Z.GRAY_6}),tO=Z.default.div.withConfig({displayName:"Banner__Layout",componentId:"sc-682ccaf8-1"})(tB(),function(n){return n.viewtype===z.Pi.MOBILE?320:560},function(n){return n.hasLink?"pointer":"auto"},function(n){var e=n.overlay;return e&&"rgba(".concat(e.r,", ").concat(e.g,", ").concat(e.b,", ").concat(e.opacity/100,")")}),tG=Z.default.div.withConfig({displayName:"Banner__TextWrapper",componentId:"sc-682ccaf8-2"})(tD(),function(n){return n.isMobile?"40px 24px":"80px 48px"},function(n){var e=n.align;return e===z.zW.TOP?"flex-start":e===z.zW.CENTER?"center":"flex-end"},function(n){return n.isMobile&&tI}),tK=Z.default.div.withConfig({displayName:"Banner__EditorWrapper",componentId:"sc-682ccaf8-3"})(tz(),function(n){var e=n.editorId;return(0,Z.css)(tM(),e,function(n){return n.isMobile?240:400},function(n){return n.isMobile?"auto":"hidden"})}),tU=Z.default.div.withConfig({displayName:"Banner__ImageWrapper",componentId:"sc-682ccaf8-4"})(tF(),function(n){var e=n.viewtype;return e===z.Pi.DESKTOP?1920:e===z.Pi.TABLET?1296:863}),tW=function(n){var e,t,r,i,o=n.banner,a=n.viewtype,c=n.data,u=n.imagePriority,l=(0,I.c)().getLanguageValue,s=(0,N.KS)().getLinkForm,d=l(o,"useOverlay"),f=l(o,"overlayColor"),p=l(o,"overlayOpacity"),h=l(o,"imageFileKey"),m=l(o,"useText"),v=l(o,"textLayout"),x=l(o,"text"),y=s(o.link),w=!!y,Z=a===z.Pi.MOBILE,C=(0,nf.Z)((0,b.useState)("textBanner-".concat($()())),1)[0],_=0===x.length;return(0,g.jsx)(k.Z,{link:y,data:c.homepage,children:(0,g.jsxs)(tO,{overlay:h&&d?(i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(f))?{r:parseInt(null!==(e=i[1])&&void 0!==e?e:"",16),g:parseInt(null!==(t=i[2])&&void 0!==t?t:"",16),b:parseInt(null!==(r=i[3])&&void 0!==r?r:"",16),opacity:p}:{r:parseInt("255",16),g:parseInt("255",16),b:parseInt("255",16),opacity:p}:null,viewtype:a,hasLink:w,children:[m&&h&&(0,g.jsx)(tG,{align:v,isMobile:Z,isTextEditing:!1,children:(0,g.jsx)(tK,{editorId:C,isMobile:Z,children:(0,g.jsx)(tH,{hasLink:w,id:C,isPlaceholder:_,dangerouslySetInnerHTML:{__html:_?"내용을 입력해 주세요.":x}})})}),(0,g.jsx)(tU,{viewtype:a,id:"banner-".concat(o.bannerId),children:(0,g.jsx)(nG,{editable:!1,imageFileKey:h,linkData:y,recomendedSize:{width:1920,height:560},useEagerLoading:!0,imagePriority:u})})]})})},tV=function(n){var e=n.block,t=n.viewtype,r=n.data,i=(0,nf.Z)((0,b.useState)(1),2),o=i[0],a=i[1];return(0,g.jsx)(tS,{autoTransitionType:e.autoTransitionType,useAutoTransition:e.useAutoTransition,beforeChange:function(n,e){e<o||a(e+1)},children:e.banners.map(function(n,e){return(0,g.jsx)(tW,{banner:n,viewtype:t,data:r,imagePriority:e<=o},n.bannerId)})})},tY=t(85825),tJ=function(n){var e=(0,td.Z)({},(0,tf.Z)(n)),t=e.viewtype,r=e.block;return(0,g.jsx)(tY.ZP,{locations:r.places,color:r.markerColor,viewtype:t})};function tq(){var n=(0,h.Z)(["\n  display: flex;\n  align-items: center;\n  width: 100%;\n  height: ","px;\n"]);return tq=function(){return n},n}function t$(){var n=(0,h.Z)(["\n  width: 100%;\n  background: ",";\n  height: ","px;\n"]);return t$=function(){return n},n}var tQ=Z.default.div.withConfig({displayName:"Divider__DividerLineWrapper",componentId:"sc-39aed7a3-0"})(tq(),function(n){return n.totalHeight}),tX=Z.default.div.withConfig({displayName:"Divider__DividerLineContent",componentId:"sc-39aed7a3-1"})(t$(),function(n){return n.color},function(n){return n.lineThick}),t0=function(n){var e=n.totalHeight,t=n.lineThick,r=n.color;return(0,g.jsx)(tQ,{totalHeight:e,children:(0,g.jsx)(tX,{lineThick:t,color:r})})},t1=(0,b.memo)(function(n){var e=(0,td.Z)({},(0,tf.Z)(n)).block,t=e.backgroundColor,r=e.height,i=e.thickness;return(0,g.jsx)(t0,{totalHeight:null==r?void 0:r.toString(),lineThick:null==i?void 0:i.toString(),color:t})});function t2(){var n=(0,h.Z)(["\n  display: flex;\n  align-items: center;\n  width: 100%;\n  height: ",";\n"]);return t2=function(){return n},n}var t9=Z.default.div.withConfig({displayName:"Blank__Box",componentId:"sc-e2e87633-0"})(t2(),function(n){var e=n.height;return"".concat(e,"px")}),t8=(0,b.memo)(function(n){var e=(0,td.Z)({},(0,tf.Z)(n)).block;return(0,g.jsx)(t9,{height:e.height})}),t3=t(73215),t6=t(32633),t4=t(49681);function t5(){var n=(0,h.Z)(["\n  width: 100%;\n  height: 230px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  text-align: center;\n  span {\n    font-size: 14px;\n    line-height: 160%;\n    color: ",";\n    white-space: pre-line;\n  }\n"]);return t5=function(){return n},n}var t7=Z.default.div.withConfig({displayName:"PageListEmpty__Container",componentId:"sc-c321c279-0"})(t5(),w.Z.GRAY_8),rn=function(n){var e=n.text;return(0,g.jsx)(t7,{children:(0,g.jsx)("span",{children:e})})},re=t(54275);function rt(){var n=(0,h.Z)(["\n  width: 100%;\n  display: flex;\n  justify-content: center;\n"]);return rt=function(){return n},n}function rr(){var n=(0,h.Z)(["\n  width: 100%;\n  z-index: 1;\n"]);return rr=function(){return n},n}function ri(){var n=(0,h.Z)(["\n  width: 100%;\n  padding: 24px 16px;\n  display: flex;\n  flex-direction: column;\n  ","\n"]);return ri=function(){return n},n}function ro(){var n=(0,h.Z)(["\n  width: 100%;\n  display: flex;\n"]);return ro=function(){return n},n}function ra(){var n=(0,h.Z)(["\n  display: block;\n  outline: none;\n  cursor: text;\n  font-size: 20px;\n  font-weight: bold;\n  line-height: 150%;\n  width: calc(100% - 36px);\n  font-family: Pretendard;\n\n  :empty:before {\n    content: attr(placeholder);\n    display: block;\n    color: ",";\n  }\n"]);return ra=function(){return n},n}function rc(){var n=(0,h.Z)(["\n          opacity: 1;\n          max-height: ",";\n        "]);return rc=function(){return n},n}function ru(){var n=(0,h.Z)(["\n          opacity: 0;\n          max-height: 0;\n        "]);return ru=function(){return n},n}function rl(){var n=(0,h.Z)(["\n  overflow: hidden;\n  transition: max-height 0.3s ease-out 0s, opacity 0.3s ease-out 0s;\n\n  ","\n"]);return rl=function(){return n},n}function rs(){var n=(0,h.Z)(["\n  display: block;\n  font-size: 17px;\n  line-height: 185%;\n  outline: none;\n  cursor: text;\n  font-family: Pretendard;\n  padding-top: 12px;\n  margin-top: ","px;\n\n  :empty:before {\n    content: attr(placeholder);\n    display: block;\n    color: ",";\n  }\n"]);return rs=function(){return n},n}function rd(){var n=(0,h.Z)(["\n  width: ",";\n"]);return rd=function(){return n},n}var rf=Z.default.div.withConfig({displayName:"Accordion__Container",componentId:"sc-e6a2e8f6-0"})(rt()),rp=Z.default.div.withConfig({displayName:"Accordion__Wrapper",componentId:"sc-e6a2e8f6-1"})(rr()),rh=Z.default.div.withConfig({displayName:"Accordion__AccordionListItemBlock",componentId:"sc-e6a2e8f6-2"})(ri(),nI.Z.homepage_builder_text),rg=Z.default.div.withConfig({displayName:"Accordion__Content",componentId:"sc-e6a2e8f6-3"})(ro()),rm=(0,Z.default)(nj.Z).withConfig({displayName:"Accordion__Title",componentId:"sc-e6a2e8f6-4"})(ra(),w.Z.GRAY_6),rv=Z.default.div.withConfig({displayName:"Accordion__ContentWrapper",componentId:"sc-e6a2e8f6-5"})(rl(),function(n){var e=n.isOpened,t=n.openedHeight;return e?(0,Z.css)(rc(),t?"".concat(t,"px"):"1000px"):(0,Z.css)(ru())}),rx=(0,Z.default)(nj.Z).withConfig({displayName:"Accordion__Description",componentId:"sc-e6a2e8f6-6"})(rs(),12,w.Z.GRAY_6),ry=Z.default.div.withConfig({displayName:"Accordion__InputContainer",componentId:"sc-e6a2e8f6-7"})(rd(),function(n){return n.viewtype===z.Pi.MOBILE?"100%":"320px"}),rw=function(n){var e,t=n.content,r=n.index,i=n.editable,o=(0,b.useRef)(null),a=(0,I.c)().getLanguageValue,c=a(t,"title"),u=a(t,"description"),l=(0,nf.Z)((0,b.useState)(!1),2),s=l[0],d=l[1];return(0,g.jsxs)(rh,{children:[(0,g.jsxs)(nL.Z,{id:"textEdit",justify:"space-between",align:"center",block:!0,onClick:function(){return d(function(n){return!n})},style:{cursor:"pointer"},children:[(0,g.jsx)(rm,{editable:i,html:c,placeholder:"내용을 입력해 주세요.",onPaste:nK.gN,style:{cursor:"pointer"}}),(0,g.jsx)(t6.Z,{size:"lg",icon:"ArrowDown14",rotate:s?-180:0})]},r),(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(rv,{isOpened:s,openedHeight:Number(null===(e=o.current)||void 0===e?void 0:e.clientHeight)+12,children:(0,g.jsx)(rx,{innerRef:o,editable:i,html:u||"",placeholder:"내용을 입력해 주세요.",onPaste:nK.gN})})})]})},rb=(0,b.memo)(function(n){var e=(0,td.Z)({},(0,tf.Z)(n)),t=e.viewtype,r=e.block,i=(0,I.c)().getLanguageValue,o=(0,re.q)().translate,a=(0,t3.Z)(),c=a.input,u=a.debouncedValue,l=(0,b.useMemo)(function(){return r.contents.filter(function(n){var e=i(n,"title"),t=i(n,"description");return e.includes(u)||(null==t?void 0:t.includes(u))})},[r.contents,u]);return(0,g.jsx)(rf,{onKeyDown:function(n){return n.stopPropagation()},children:(0,g.jsx)(rp,{children:(0,g.jsx)(rg,{children:(0,g.jsxs)(nL.Z,{direction:"column",align:"flex-start",block:!0,children:[r.searchable&&(0,g.jsx)(ry,{viewtype:t,children:c({height:48,placeholder:o("검색")})}),(0,g.jsxs)(nL.Z,{direction:"column",align:"flex-start",block:!0,children:[0===l.length&&(0,g.jsx)(rn,{text:o("에 대한 검색결과가 없습니다.",u)}),l.map(function(n,e){return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(rw,{content:n,index:e,editable:!1},e),e!==l.length-1&&(0,g.jsx)(t4.Z,{type:"horizontal"})]})})]})]})})})})});function rZ(){var n=(0,h.Z)(["\n  width: 100%;\n"]);return rZ=function(){return n},n}function rC(){var n=(0,h.Z)(["\n  display: flex;\n  flex-direction: ",";\n  justify-content: space-between;\n  align-items: stretch;\n  padding: 0;\n  margin: 0;\n  gap: 14.52px;\n"]);return rC=function(){return n},n}function r_(){var n=(0,h.Z)(["\n  list-style: none;\n  background: ",";\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  gap: 4px;\n  padding: ",";\n  border-radius: ",";\n"]);return r_=function(){return n},n}function rk(){var n=(0,h.Z)(["\n  display: block;\n  outline: none;\n  cursor: text;\n  font-size: 20px;\n  font-weight: bold;\n  line-height: 150%;\n  color: ",";\n  text-align: center;\n  word-break: break-word;\n  font-family: 'Pretendard', sans-serif;\n\n  :empty:before {\n    content: attr(placeholder);\n    display: block;\n    color: ",";\n  }\n"]);return rk=function(){return n},n}function rI(){var n=(0,h.Z)(["\n  font-size: 14px;\n  line-height: 160%;\n  color: ",";\n  text-align: center;\n  word-break: break-word;\n  font-family: 'Pretendard', sans-serif;\n\n  ::before {\n    color: "," !important;\n  }\n"]);return rI=function(){return n},n}var rj=Z.default.div.withConfig({displayName:"Step__Layout",componentId:"sc-501bb295-0"})(rZ()),rL=Z.default.ol.withConfig({displayName:"Step__StepListContainer",componentId:"sc-501bb295-1"})(rC(),function(n){return n.viewtype===z.Pi.MOBILE?"column":"row"}),rP=Z.default.li.withConfig({displayName:"Step__StepListItemBlock",componentId:"sc-501bb295-2"})(r_(),function(n){return n.backgroundColor},function(n){return n.viewtype===z.Pi.MOBILE?"16px 16px":"32px 16px"},function(n){return n.shape===z.PD.ROUND?"100px":"16px"}),rE=(0,Z.default)(nj.Z).withConfig({displayName:"Step__Title",componentId:"sc-501bb295-3"})(rk(),function(n){return n.color},w.Z.GRAY_6),rN=(0,Z.default)(nj.Z).withConfig({displayName:"Step__Description",componentId:"sc-501bb295-4"})(rI(),function(n){return n.color},w.Z.GRAY_6),rR=function(n){var e=(0,td.Z)({},(0,tf.Z)(n)),t=(0,I.c)().getLanguageValue,r=e.viewtype,i=e.block,o=e.isPreview;return(0,g.jsx)(rj,{onKeyDown:function(n){return n.stopPropagation()},children:(0,g.jsx)(rL,{viewtype:r,children:i.steps.map(function(n,e){var a=t(n,"title"),c=t(n,"description");return(0,g.jsxs)(b.Fragment,{children:[(0,g.jsxs)(rP,{viewtype:r,shape:i.shape,backgroundColor:i.backgroundColor,children:[(0,g.jsx)(rE,{editable:!1,html:a,placeholder:"제목",onPaste:nK.gN,color:i.textColor}),i.useDescription&&o&&c&&(0,g.jsx)(rN,{editable:!1,html:null!=c?c:"",placeholder:"설명 입력",onPaste:nK.gN,color:i.textColor})]}),e<i.steps.length-1&&(0,g.jsx)(nh.Z,{name:"ArrowRight24",color:i.arrowColor,style:{alignSelf:"center",transform:"".concat(r===z.Pi.MOBILE?"rotate(90deg)":"rotate(0deg)")}})]},e)})})})},rT=t(11163),rS=function(n){window.open(n,"_blank","noopener,noreferrer")};function rA(){var n=(0,h.Z)([""]);return rA=function(){return n},n}function rB(){var n=(0,h.Z)(["\n      color: ",";\n      text-overflow: ellipsis;\n      overflow: hidden;\n      white-space: nowrap;\n    "]);return rB=function(){return n},n}function rD(){var n=(0,h.Z)(["\n  ","\n\n  ",";\n\n  ","\n"]);return rD=function(){return n},n}function rM(){var n=(0,h.Z)(["\n      border-top-left-radius: ","px;\n      border-top-right-radius: ","px;\n      border-bottom-left-radius: ","px;\n      border-bottom-right-radius: ","px;\n    "]);return rM=function(){return n},n}function rz(){var n=(0,h.Z)(["\n      background: ",";\n    "]);return rz=function(){return n},n}function rF(){var n=(0,h.Z)(["\n      padding: ","px ","px;\n    "]);return rF=function(){return n},n}function rH(){var n=(0,h.Z)(["\n  ","\n  ","\n  ","\n\n  \n"]);return rH=function(){return n},n}var rO=Z.default.div.withConfig({displayName:"Text__Container",componentId:"sc-89a1b2fc-0"})(rA()),rG=Z.default.div.withConfig({displayName:"Text__ReadOnlySection",componentId:"sc-89a1b2fc-1"})(rD(),nI.Z.homepage_bulder_editor_text,function(n){return n.isPlaceholder&&(0,Z.css)(rB(),w.Z.GRAY_6)},function(n){return n.isMobile&&tI}),rK=Z.default.div.withConfig({displayName:"Text__Background",componentId:"sc-89a1b2fc-2"})(rH(),function(n){var e=n.radius;return n.useBackground&&e&&(0,Z.css)(rM(),e.leftUp,e.rightUp,e.leftDown,e.rightDown)},function(n){var e=n.useBackground,t=n.backgroundColor;return e&&t&&(0,Z.css)(rz(),t)},function(n){var e=n.useBackground,t=n.margin;return e&&t&&(0,Z.css)(rF(),t.top,t.left)}),rU=function(n){var e=n.block,t=n.viewtype,r=n.data,i=(0,rT.useRouter)(),o=(0,eC.ZP)(),a=o.selectedLanguage,c=o.mainLanguage,u=(0,(0,I.c)().getLanguageValue)(e,"text"),l=t===z.Pi.MOBILE,s=0===u.length,d=function(n){var e=n.getAttribute("data-linktype"),t=n.getAttribute("data-pageid"),o=n.getAttribute("data-sectionid"),u="true"===n.getAttribute("data-blank"),l=r.homepage.pages.find(function(n){return n.pageId===t}),s=null==l?void 0:l.pageUrl;if(s){if(u)rS((null==l?void 0:l.type)===z.DZ.MAIN?"/":"/".concat(s));else{var d={menu:s,lang:i.query.lang},f={pathname:"/[menu]"};a===c&&delete d.lang,(null==l?void 0:l.type)===z.DZ.MAIN&&(delete d.menu,f.pathname="/"),e===z.a6.SECTION&&o&&(d.section=o);var p=(0,_.Z)((0,C.Z)({},f),{query:d});i.push(p)}}};return(0,g.jsx)(rO,{children:(0,g.jsx)(rK,{useBackground:e.useBackground,radius:e.radius,margin:e.margin,backgroundColor:e.backgroundColor,children:(0,g.jsx)(rG,{onClick:function(n){var e,t,r=(null===(e=n.target)||void 0===e?void 0:e.tagName.toLowerCase())==="a"?n.target:null===(t=n.target)||void 0===t?void 0:t.closest("a");r&&d(r)},isMobile:l,isPlaceholder:s,dangerouslySetInnerHTML:{__html:s?"클릭하여 작성해 주세요.":u}})})})};function rW(){var n=(0,h.Z)(["\n  display: flex;\n  align-items: center;\n  background: ",";\n  padding: ",";\n  cursor: ",";\n"]);return rW=function(){return n},n}function rV(){var n=(0,h.Z)(["\n      width: ","px;\n      font-size: ","px;\n      color: ",";\n      text-overflow: ellipsis;\n      white-space: nowrap;\n    "]);return rV=function(){return n},n}function rY(){var n=(0,h.Z)(["\n  ","\n\n  white-space: nowrap;\n  min-width: ","px;\n\n  ","\n\n  ",";\n"]);return rY=function(){return n},n}function rJ(){var n=(0,h.Z)(["\n    0% {\n        transform: translateX(0%);\n    }\n    100% {\n        transform: translateX(-100%) translateX(-","px);\n    }\n"]);return rJ=function(){return n},n}function rq(){var n=(0,h.Z)(["\n  will-change: transform;\n  transform: translateZ(0);\n  transform-style: preserve-3d;\n  backface-visibility: hidden;\n"]);return rq=function(){return n},n}function r$(){var n=(0,h.Z)(["","s linear 0.1s Infinite forwards ",""]);return r$=function(){return n},n}function rQ(){var n=(0,h.Z)(["\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  gap: ","px;\n\n  animation: ",";\n\n  ",";\n\n  pointer-events: none;\n"]);return rQ=function(){return n},n}function rX(){var n=(0,h.Z)(["\n  width: 100%;\n  overflow: hidden;\n  position: relative;\n\n  display: flex;\n  justify-content: flex-start;\n  align-items: center;\n  gap: ","px;\n\n  perspective: 1000px;\n\n  @media (hover: hover) and (pointer: fine) {\n    &:hover {\n      "," {\n        animation-play-state: paused;\n      }\n    }\n  }\n"]);return rX=function(){return n},n}function r0(){var n=(0,h.Z)(["\n          "," {\n            animation-direction: normal;\n          }\n        "]);return r0=function(){return n},n}function r1(){var n=(0,h.Z)(["\n          "," {\n            animation-direction: reverse;\n          }\n        "]);return r1=function(){return n},n}function r2(){var n=(0,h.Z)(["\n  display: flex;\n  flex-direction: row;\n\n  pointer-events: none;\n  gap: ","px;\n\n  ","\n"]);return r2=function(){return n},n}function r9(){var n=(0,h.Z)(["\n  text-rendering: optimizeLegibility;\n"]);return r9=function(){return n},n}function r8(){var n=(0,h.Z)(["\n      aspect-ratio: ",";\n    "]);return r8=function(){return n},n}function r3(){var n=(0,h.Z)(["\n  width: ",";\n\n  ",";\n\n  height: ",";\n  border-radius: 8px;\n  overflow: hidden;\n\n  "," {\n    position: relative !important;\n    width: auto !important;\n    border-radius: 8px;\n    height: 100%;\n  }\n"]);return r3=function(){return n},n}var r6=Z.default.div.withConfig({displayName:"Marquee__Container",componentId:"sc-afe6b18b-0"})(rW(),function(n){return n.backgroundColor},function(n){var e=n.topBottomPadding;return e&&"".concat(e,"px 0")},function(n){return n.hasLink?"pointer":"auto"}),r4=Z.default.div.withConfig({displayName:"Marquee__HTMLContent",componentId:"sc-afe6b18b-1"})(rY(),nI.Z.homepage_bulder_editor_text,30,function(n){return n.isMobile&&tI},function(n){return n.isPlaceholder&&(0,Z.css)(rV(),141,15,w.Z.GRAY_6)}),r5=(0,Z.keyframes)(rJ(),56),r7=(0,Z.css)(rq()),ie=Z.default.div.withConfig({displayName:"Marquee__AnimationWrapper",componentId:"sc-afe6b18b-2"})(rQ(),56,function(n){var e=n.animationDuration;return(0,Z.css)(r$(),e,r5)},r7),it=Z.default.div.withConfig({displayName:"Marquee__Wrapper",componentId:"sc-afe6b18b-3"})(rX(),56,ie),ir=Z.default.div.withConfig({displayName:"Marquee__MarqueeComponent",componentId:"sc-afe6b18b-4"})(r2(),56,function(n){switch(n.animationDriection){case z.PL.LEFT:return(0,Z.css)(r0(),ie);case z.PL.RIGHT:return(0,Z.css)(r1(),ie)}}),ii=Z.default.div.withConfig({displayName:"Marquee__Item",componentId:"sc-afe6b18b-5"})(r9()),io=Z.default.div.withConfig({displayName:"Marquee__ImageWrapper",componentId:"sc-afe6b18b-6"})(r3(),function(n){var e=n.isEmpty,t=n.isMobile;switch(!0){case e&&!t:return"320px";case e&&t:return"252px";default:return"auto"}},function(n){var e=n.aspectRatio;return e&&(0,Z.css)(r8(),e)},function(n){return n.isMobile?"170px":"240px"},nH),ia=function(n){var e=n.imageFileKey,t=n.aspectRatio,r=n.isMobile;return(0,g.jsx)(io,{isMobile:r,isEmpty:null==e||""===e,aspectRatio:t,children:t&&(0,g.jsx)(nG,{imageFileKey:e,recomendedSize:{width:360,height:240},linkData:null,aspectRatio:t,useEagerLoading:!0})})},ic=function(n){var e,t=(0,td.Z)({},(0,tf.Z)(n)),r=t.block,i=t.layoutWidth,o=t.data,a=t.viewtype,c=(0,eC.ZP)().selectedLanguage,u=(0,I.c)().getLanguageValue,l=(0,N.KS)().getLinkForm,s=(0,nf.Z)((0,b.useState)(null),2),d=s[0],f=s[1],p=(0,nf.Z)((0,b.useState)(!1),2),h=p[0],m=p[1],v=(0,nf.Z)((0,b.useState)(null),2),x=v[0],y=v[1],w=(0,nf.Z)((0,b.useState)(0),2),Z=w[0],C=w[1],_=(0,nf.Z)((0,b.useState)([]),2),j=_[0],L=_[1],P=(0,b.useRef)(null),E=l(r.link),R=a===z.Pi.MOBILE,T=(0,b.useMemo)(function(){return(d+56)/100},[d]);(0,b.useEffect)(function(){C(function(n){return n+1})},[x]),(0,b.useEffect)(function(){h&&P.current&&f(P.current.getBoundingClientRect().width)},[h,P,j]),(0,b.useEffect)(function(){d&&y(Math.ceil(i/d)+1)},[d,i]),(0,b.useEffect)(function(){m(!0)},[]),(0,b.useEffect)(function(){function n(){return(n=(0,n_.Z)(function(){return(0,nk.__generator)(this,function(n){switch(n.label){case 0:return[4,Promise.all(r.items.map(function(n){if("text"!==n.type)return new Promise(function(e){var t=u(n,"imageFileKey");if(!t)return e({width:360,height:240});var r=new Image;r.onload=function(){return e({width:r.naturalWidth,height:r.naturalHeight})},r.onerror=function(){return e({width:360,height:240})},r.src=(0,nP.Z)(t)})})).then(function(n){L(n.map(function(n){return n?n.width/n.height:null}))})];case 1:return n.sent(),[2]}})})).apply(this,arguments)}!function(){n.apply(this,arguments)}()},[c]);var S=function(n){switch(n.type){case"text":return u(n,"text");case"image":return u(n,"imageFileKey")}},A=function(){return r.items.map(function(n,e){var t,r=S(n),i=!r||0===r.replace(/<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>/g,"").replace("&nbsp;","").trim().length;return(0,g.jsxs)(ii,{children:["text"===n.type&&(0,g.jsx)(r4,{isMobile:R,isPlaceholder:i,dangerouslySetInnerHTML:{__html:i?"클릭하여 작성해 주세요.":r}}),"image"===n.type&&(0,g.jsx)(ia,{isMobile:R,imageFileKey:r,aspectRatio:null!==(t=j[e])&&void 0!==t?t:null})]},n.itemId)})};return(0,g.jsx)(k.Z,{data:o.homepage,link:E,children:(0,g.jsx)(r6,{hasLink:!!E,backgroundColor:r.useBackground?r.backgroundColor:void 0,topBottomPadding:r.useBackground?null===(e=r.margin)||void 0===e?void 0:e.top:void 0,children:(0,g.jsxs)(it,{children:[(0,g.jsxs)(ir,{animationDriection:r.direction,children:[null==x&&(0,g.jsx)(ie,{ref:P,animationDuration:T,children:A()}),x&&Array(x).fill("").map(function(n,e){return(0,g.jsx)(ie,{animationDuration:T,ref:0===e?P:null,children:A()},"".concat(Z,"_").concat(e))})]}),x]})})})},iu=t(35835),il=t(63102),is=t(92540),id=t(65044),ip=t(23639),ih=t(14033);function ig(){var n=(0,h.Z)(["\n  height: 48px;\n  max-width: 410px;\n  min-width: 220px;\n\n  display: flex;\n"]);return ig=function(){return n},n}var im=Z.default.div.withConfig({displayName:"JobPostingsDropdownSearchInput__Layout",componentId:"sc-4a98643b-0"})(ig()),iv=function(n){var e=n.editKeywordFilter,t=(0,re.q)().translate,r=(0,t3.Z)({onDeboucnedSearch:e}).input;return(0,g.jsx)(im,{onKeyDown:function(n){n.stopPropagation()},children:r({height:48,borderRadius:8,placeholder:t("키워드 검색")})})},ix=t(37909),iy=t(11361);function iw(){var n=(0,h.Z)(["\n  width: 76px;\n\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  gap: 8px;\n"]);return iw=function(){return n},n}function ib(){var n=(0,h.Z)([""]);return ib=function(){return n},n}var iZ=(0,Z.default)(iy.Z).attrs({size:40,shape:"borderless"}).withConfig({displayName:"JobPostingsDropdownTagButton__Button",componentId:"sc-eb9879a8-0"})(iw()),iC=(0,Z.default)(nh.Z).attrs({name:"ArrowUp18"}).withConfig({displayName:"JobPostingsDropdownTagButton__ArrowUpIcon",componentId:"sc-eb9879a8-1"})(ib()),i_=function(n){var e=n.showTag,t=n.disabled,r=n.onClick,i=(0,re.q)().translate;return(0,g.jsxs)(iZ,{disabled:t,onClick:r,children:[i("태그"),(0,g.jsx)(iC,{color:t?w.Z.GRAY_5:w.Z.GRAY_8,rotate:e?180:void 0})]})};function ik(){var n=(0,h.Z)(["\n  display: flex;\n  flex-direction: column;\n  gap: 16px;\n"]);return ik=function(){return n},n}function iI(){var n=(0,h.Z)(["\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n"]);return iI=function(){return n},n}function ij(){var n=(0,h.Z)([""]);return ij=function(){return n},n}function iL(){var n=(0,h.Z)(["\n  display: flex;\n  gap: 8px;\n"]);return iL=function(){return n},n}function iP(){var n=(0,h.Z)(["\n  display: flex;\n  margin-left: auto;\n"]);return iP=function(){return n},n}var iE=Z.default.div.withConfig({displayName:"JobPostingsDropdownTypeLayoutHeader__Layout",componentId:"sc-c5dbb943-0"})(ik()),iN=Z.default.div.withConfig({displayName:"JobPostingsDropdownTypeLayoutHeader__Top",componentId:"sc-c5dbb943-1"})(iI()),iR=Z.default.div.withConfig({displayName:"JobPostingsDropdownTypeLayoutHeader__Bottom",componentId:"sc-c5dbb943-2"})(ij()),iT=Z.default.div.withConfig({displayName:"JobPostingsDropdownTypeLayoutHeader__Left",componentId:"sc-c5dbb943-3"})(iL()),iS=Z.default.div.withConfig({displayName:"JobPostingsDropdownTypeLayoutHeader__Right",componentId:"sc-c5dbb943-4"})(iP()),iA=function(n){var e=n.block,t=n.filter,r=n.homepageProps,i=n.currySetFilterByFilterKey,o=(0,nf.Z)((0,b.useState)(e.tag.isOpen),2),a=o[0],c=o[1];return(0,g.jsxs)(iE,{children:[(0,g.jsxs)(iN,{children:[(0,g.jsxs)(iT,{children:[(0,g.jsxs)(g.Fragment,{children:[e.jobGroup&&(0,g.jsx)(id.Z,{selectedJobGroup:t.jobGroupId,companyId:r.info.companyId,editJobGroupFilter:i("jobGroupId")}),e.affiliation&&(0,g.jsx)(is.Z,{selectedAffiliation:t.affiliationId,companyId:r.info.companyId,editAffiliationFilter:i("affiliationId")}),e.employmentType.isActive&&(0,g.jsx)(ip.Z,{selectedEmployment:t.employmentType,companyId:r.info.companyId,editEmploymentFilter:i("employmentType")}),e.career.isActive&&(0,g.jsx)(ih.Z,{selectedCareer:t.career,companyId:r.info.companyId,editCareerFilter:i("career")})]}),(0,g.jsx)(iv,{editKeywordFilter:i("keyword")})]}),(0,g.jsx)(iS,{children:e.tag.isActive&&(0,g.jsx)(i_,{showTag:a,onClick:function(){c(function(n){return!n})}})})]}),e.tag.isActive&&a&&(0,g.jsx)(iR,{children:(0,g.jsx)(ix.Z,{selectedTags:t.tagIdSet,companyId:r.info.companyId,toggleTag:function(n){t.tagIdSet.has(n)?i("tagIdSet")(function(e){return e.delete(n),e}):i("tagIdSet")(function(e){return e.add(n),e})},resetTags:function(){i("tagIdSet")(function(n){return n.clear(),n})}})})]})},iB=t(60565),iD=t(79794);function iM(){var n=(0,h.Z)(["\n  display: flex;\n  flex-direction: column;\n  gap: 8px;\n"]);return iM=function(){return n},n}function iz(){var n=(0,h.Z)(["\n  width: 100%;\n  height: 230px;\n\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  text-align: center;\n"]);return iz=function(){return n},n}function iF(){var n=(0,h.Z)(["\n  white-space: pre-line;\n"]);return iF=function(){return n},n}var iH=Z.default.div.withConfig({displayName:"JobPostingsDropdownTypeLayoutJobPostings__Content",componentId:"sc-b886b4af-0"})(iM()),iO=Z.default.div.withConfig({displayName:"JobPostingsDropdownTypeLayoutJobPostings__EmptyLayout",componentId:"sc-b886b4af-1"})(iz()),iG=(0,Z.default)(J.Z).attrs({size:14,color:w.Z.GRAY_8}).withConfig({displayName:"JobPostingsDropdownTypeLayoutJobPostings__EmptyText",componentId:"sc-b886b4af-2"})(iF()),iK=function(n){var e=n.isLoading,t=n.hasJobPostings,r=n.noSearchResult,i=n.searchKeyword,o=n.recruitments,a=(0,re.q)().translate;return e?(0,g.jsx)(iO,{children:(0,g.jsx)(iD.Z,{})}):t?(0,g.jsx)(iO,{children:(0,g.jsx)(iG,{children:a("에 대한 검색결과가 없습니다.",i)})}):r?(0,g.jsx)(iO,{children:(0,g.jsx)(iG,{children:a("진행 중인 채용이 없습니다.")})}):(0,g.jsx)(iH,{children:o.map(function(n){return(0,g.jsx)(iB.Z,{recruitment:n},n.recruitmentId)})})};function iU(){var n=(0,h.Z)(["\n  width: 100%;\n\n  display: flex;\n  flex-direction: column;\n  gap: 24px;\n"]);return iU=function(){return n},n}function iW(){var n=(0,h.Z)([""]);return iW=function(){return n},n}var iV=Z.default.div.withConfig({displayName:"JobPostingsDropdownTypeLayout__Layout",componentId:"sc-cca2b294-0"})(iU()),iY=Z.default.div.withConfig({displayName:"JobPostingsDropdownTypeLayout__Content",componentId:"sc-cca2b294-1"})(iW()),iJ=function(n){var e=n.block,t=n.filter,r=n.pageCount,i=n.currySetFilterByFilterKey,o=n.homepageProps,a=n.setPageCount,c=o.info.companyId,u=(0,iu.$p)({companyId:c,filter:t,pageCount:r,countPerPage:e.countPerPage,orderBy:e.orderBy}),l=u.data,s=u.isLoading,d=(0,b.useRef)(null),f=l.count>e.countPerPage;return(0,g.jsxs)(iV,{children:[(0,g.jsx)(iA,{block:e,filter:t,homepageProps:o,currySetFilterByFilterKey:i}),(0,g.jsx)(iY,{ref:d,children:(0,g.jsx)(iK,{isLoading:s,hasJobPostings:Boolean(""!==t.keyword&&0===l.count),noSearchResult:Boolean(""===t.keyword&&0===l.count),searchKeyword:t.keyword,recruitments:l.results})}),f&&(0,g.jsx)(il.Z,{onChange:function(n){var e;a(n),null===(e=d.current)||void 0===e||e.scrollIntoView()},pageSize:e.countPerPage,total:l.count,current:r})]})},iq=t(88816);(r=l||(l={})).JOB_GROUP="jobGroup",r.AFFILIATION="affiliation",r.EMPLOYMENT_TYPE="employmentType",r.CAREER="career",r.TAG="tag",(i=s||(s={})).LAYOUT1="layout1",i.LAYOUT2="layout2",(o=d||(d={})).EDIT="edit",o.PREVIEW="preview";var i$=s.LAYOUT1,iQ=function(n){var e;switch(null!==(e=n.block.layoutType)&&void 0!==e?e:i$){case s.LAYOUT1:return(0,g.jsx)(iJ,(0,C.Z)({},n));case s.LAYOUT2:return(0,g.jsx)(iq.Z,(0,C.Z)({},n))}};function iX(){var n=(0,h.Z)(["\n  display: flex;\n  flex-direction: column;\n  gap: 24px;\n"]);return iX=function(){return n},n}var i0=Z.default.div.withConfig({displayName:"JobPostingsMobileBody__Layout",componentId:"sc-5f3916f6-0"})(iX()),i1=function(n){var e=n.block,t=n.filter,r=n.pageCount,i=n.homepageProps,o=n.setPageCount,a=i.info.companyId,c=(0,iu.$p)({companyId:a,filter:t,pageCount:r,countPerPage:e.countPerPage,orderBy:e.orderBy}),u=c.data,l=c.isLoading,s=(0,b.useRef)(null),d=u.count>e.countPerPage;return(0,g.jsxs)(i0,{ref:s,children:[(0,g.jsx)(iK,{isLoading:l,hasJobPostings:Boolean(""!==t.keyword&&0===u.count),noSearchResult:Boolean(""===t.keyword&&0===u.count),searchKeyword:t.keyword,recruitments:u.results}),d&&(0,g.jsx)(il.Z,{onChange:function(n){var e;o(n),null===(e=s.current)||void 0===e||e.scrollIntoView()},pageSize:e.countPerPage,total:u.count,current:r})]})},i2=t(57109);function i9(){var n=(0,h.Z)(["\n  display: flex;\n  flex-direction: column;\n  gap: 8px;\n"]);return i9=function(){return n},n}var i8=Z.default.div.withConfig({displayName:"JobPostingsMobileFilters__Layout",componentId:"sc-5f759a9e-0"})(i9()),i3=function(n){var e=n.block,t=n.filter,r=n.homepageProps,i=n.currySetFilterByFilterKey;return(0,g.jsxs)(i8,{children:[e.jobGroup&&(0,g.jsx)(id.Z,{selectedJobGroup:t.jobGroupId,companyId:r.info.companyId,editJobGroupFilter:i("jobGroupId"),blockOffset:!0}),e.affiliation&&(0,g.jsx)(is.Z,{selectedAffiliation:t.affiliationId,companyId:r.info.companyId,editAffiliationFilter:i("affiliationId"),blockOffset:!0}),e.employmentType.isActive&&(0,g.jsx)(ip.Z,{selectedEmployment:t.employmentType,companyId:r.info.companyId,editEmploymentFilter:i("employmentType"),blockOffset:!0}),e.career.isActive&&(0,g.jsx)(ih.Z,{selectedCareer:t.career,companyId:r.info.companyId,editCareerFilter:i("career"),blockOffset:!0}),e.tag.isActive&&(0,g.jsx)(ix.Z,{selectedTags:t.tagIdSet,companyId:r.info.companyId,toggleTag:function(n){t.tagIdSet.has(n)?i("tagIdSet")(function(e){return e.delete(n),e}):i("tagIdSet")(function(e){return e.add(n),e})},resetTags:function(){i("tagIdSet")(function(n){return n.clear(),n})}})]})},i6=t(82276);function i4(){var n=(0,h.Z)(["\n  display: flex;\n  flex-direction: column;\n  gap: 8px;\n"]);return i4=function(){return n},n}function i5(){var n=(0,h.Z)(["\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  gap: 32px;\n"]);return i5=function(){return n},n}function i7(){var n=(0,h.Z)(["\n          grid-template-rows: 1fr;\n          opacity: 1;\n        "]);return i7=function(){return n},n}function on(){var n=(0,h.Z)(["\n          grid-template-rows: 0fr;\n          opacity: 0;\n        "]);return on=function(){return n},n}function oe(){var n=(0,h.Z)(["\n  display: grid;\n  transition: grid-template-rows 0.3s ease-out 0s, opacity 0.3s ease-out 0s;\n\n  > div {\n    overflow: hidden;\n  }\n\n  ",";\n"]);return oe=function(){return n},n}var ot=Z.default.div.withConfig({displayName:"JobPostingsMobileHeader__Layout",componentId:"sc-72f639d6-0"})(i4()),or=Z.default.div.withConfig({displayName:"JobPostingsMobileHeader__Top",componentId:"sc-72f639d6-1"})(i5()),oi=Z.default.div.withConfig({displayName:"JobPostingsMobileHeader__Bottom",componentId:"sc-72f639d6-2"})(oe(),function(n){return n.opened?(0,Z.css)(i7()):(0,Z.css)(on())}),oo=function(n){var e=n.block,t=n.filter,r=n.homepageProps,i=n.currySetFilterByFilterKey,o=(0,nf.Z)((0,b.useState)(e.tag.isOpen),2),a=o[0],c=o[1];return(0,g.jsxs)(ot,{children:[(0,g.jsxs)(or,{children:[(0,g.jsx)(i6.Z,{currySetFilterByFilterKey:i}),(0,g.jsx)(i2.Z,{showTag:a,onClick:function(){c(function(n){return!n})}})]}),(0,g.jsx)(oi,{opened:a,children:(0,g.jsx)(i3,{block:e,filter:t,homepageProps:r,currySetFilterByFilterKey:i})})]})};function oa(){var n=(0,h.Z)(["\n  display: flex;\n  flex-direction: column;\n  gap: 24px;\n"]);return oa=function(){return n},n}var oc=Z.default.div.withConfig({displayName:"JobPostingsMobileView__Layout",componentId:"sc-cc3e6639-0"})(oa()),ou=function(n){var e=n.block,t=n.filter,r=n.pageCount,i=n.homepageProps,o=n.setPageCount,a=n.currySetFilterByFilterKey;return(0,g.jsxs)(oc,{children:[(0,g.jsx)(oo,{block:e,filter:t,homepageProps:i,currySetFilterByFilterKey:a}),(0,g.jsx)(i1,{block:e,filter:t,pageCount:r,homepageProps:i,setPageCount:o})]})},ol=function(n){var e=n.viewType,t=(0,tj.Z)(n,["viewType"]);switch(e){case f.DESKTOP:return(0,g.jsx)(iQ,(0,C.Z)({},t));case f.MOBILE:return(0,g.jsx)(ou,(0,C.Z)({},t))}};(a=f||(f={})).DESKTOP="desktop",a.MOBILE="mobile";var os=(0,b.memo)(function(n){var e=(0,td.Z)({},(0,tf.Z)(n)),t=e.viewtype,r=e.block,i=e.data,o=(0,nf.Z)((0,b.useState)(1),2),a=o[0],c=o[1],u=(0,iu.O_)({initCareer:r.career.type,initEmploymentType:r.employmentType.type}),l=u.filter,s=u.currySetFilterByFilterKey,d=u.resetFilter,p=(0,nf.Z)((0,b.useState)(f.DESKTOP),2),h=p[0],m=p[1],v=(0,b.useRef)(null).current,x=function(){if(v){var n=v.firstElementChild,e=v.lastElementChild,t=n.offsetWidth,r=e.offsetWidth,i=v.offsetWidth;i-(t+r)<40&&m(f.MOBILE),i>=895&&m(f.DESKTOP)}};return(0,b.useEffect)(function(){if(v)return x(),window.addEventListener("resize",x),function(){window.removeEventListener("resize",x)}},[v]),(0,b.useEffect)(function(){t===z.Pi.DESKTOP&&m(f.DESKTOP),t===z.Pi.MOBILE&&m(f.MOBILE)},[t]),(0,b.useEffect)(function(){c(1)},[l]),(0,g.jsx)(ol,{block:r,filter:l,pageCount:a,viewType:h,homepageProps:i,currySetFilterByFilterKey:s,setPageCount:c,resetFilter:d})}),od=t(12357),of=t(29852),op=t(63974),oh=t(5363);function og(){var n=(0,h.Z)(["\n  padding: 0;\n  span {\n    max-width: 100%;\n    border-radius: 4px;\n\n    &:hover {\n      background: ",";\n    }\n  }\n"]);return og=function(){return n},n}function om(){var n=(0,h.Z)(["\n  display: flex;\n  height: 36px;\n  padding: 5px 8px;\n  align-items: center;\n  gap: 8px;\n"]);return om=function(){return n},n}function ov(){var n=(0,h.Z)(["\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n"]);return ov=function(){return n},n}function ox(){var n=(0,h.Z)(["\n  display: flex;\n  flex-direction: column;\n  gap: 2px;\n"]);return ox=function(){return n},n}var oy=(0,Z.default)(oh.Z.Item).withConfig({displayName:"DropdownBlockDropdown__MenuItemWrapper",componentId:"sc-6a7acb6b-0"})(og(),w.Z.HoverOpacity_1),ow=Z.default.div.withConfig({displayName:"DropdownBlockDropdown__LinkItem",componentId:"sc-6a7acb6b-1"})(om()),ob=(0,Z.default)(J.Z).attrs({size:16,color:w.Z.GRAY_8}).withConfig({displayName:"DropdownBlockDropdown__LinkItemText",componentId:"sc-6a7acb6b-2"})(ov()),oZ=Z.default.div.withConfig({displayName:"DropdownBlockDropdown__Container",componentId:"sc-6a7acb6b-3"})(ox()),oC=function(n){var e=n.content,t=n.link,r=n.data,i=n.bold,o=(0,I.c)().getLanguageValue,a=(0,(0,N.KS)().getLinkForm)(t),c=o(t,"blank");return(0,g.jsx)(k.Z,{link:a,data:r.homepage,children:(0,g.jsxs)(ow,{children:[(0,g.jsx)(ob,{bold:i,children:e}),!!c&&(0,g.jsx)(nh.Z,{name:"LinkArrow14"})]})})},o_=function(n){var e=n.link,t=n.data,r=(0,I.c)().getLanguageValue,i=(0,m.sJ)(op.C),o=r(e,"pageId"),a=t.homepage.pages.find(function(n){return n.pageId===o}),c=a?r(a,"title"):"";return(0,g.jsx)(oC,{content:c,link:e,data:t,bold:i===o})},ok=function(n){var e=n.link,t=n.data,r=(0,(0,I.c)().getLanguageValue)(e,"linkName")||"";return(0,g.jsx)(oC,{content:r,link:e,data:t})},oI=function(n){var e=n.link,t=n.data,r=(0,I.c)().getLanguageValue,i=r(e,"pageId"),o=t.homepage.pages.find(function(n){return n.pageId===i}),a=r(e,"sectionId"),c=null==o?void 0:o.sections.find(function(n){return n.sectionId===a}),u=c?c.title:"";return(0,g.jsx)(oC,{content:u,link:e,data:t})},oj=function(n){var e=n.children,t=n.block,r=n.data,i=(0,I.c)().getLanguageValue,o=t.link.filter(function(n){return n.linkType===z.a6.PAGE?!!i(n,"pageId"):n.linkType!==z.a6.SECTION||!!i(n,"pageId")&&!!i(n,"sectionId")});return 0===o.length?e:(0,g.jsx)(od.Z,{placement:"bottomLeft",padding:0,width:"100%",borderRadius:8,content:(0,g.jsx)(of.Z,{autoHide:!0,maxheight:308,children:(0,g.jsx)(oZ,{children:o.map(function(n,e){var t="dropdown-item-".concat(e),o=i(n,"linkType");switch(o){case z.a6.PAGE:return(0,g.jsx)(oy,{children:(0,g.jsx)(o_,{link:n,data:r})},t);case z.a6.URL:return(0,g.jsx)(oy,{children:(0,g.jsx)(ok,{link:n,data:r})},t);case z.a6.SECTION:return(0,g.jsx)(oy,{children:(0,g.jsx)(oI,{link:n,data:r})},t);default:return!function(n){throw Error("Unexpected object: "+n)}(o),null}})})}),children:e})};function oL(){var n=(0,h.Z)(["\n  position: relative;\n"]);return oL=function(){return n},n}function oP(){var n=(0,h.Z)(["\n      justify-content: flex-start;\n    "]);return oP=function(){return n},n}function oE(){var n=(0,h.Z)(["\n      justify-content: center;\n    "]);return oE=function(){return n},n}function oN(){var n=(0,h.Z)(["\n      justify-content: flex-end;\n    "]);return oN=function(){return n},n}function oR(){var n=(0,h.Z)(["\n      > div {\n        min-width: 100%;\n      }\n    "]);return oR=function(){return n},n}function oT(){var n=(0,h.Z)(["\n  width: 100%;\n  display: flex;\n  transition: 0.2s;\n\n  ","\n\n  ","\n  ","\n  ","\n"]);return oT=function(){return n},n}function oS(){var n=(0,h.Z)(["\n      &::before {\n        content: '';\n        position: absolute;\n        top: -1px;\n        left: -1px;\n        right: -1px;\n        bottom: -1px;\n        border-radius: inherit; /* .element와 동일한 border-radius 값 */\n        background: ",";\n        padding: 1px; /* 테두리 두께 */\n        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);\n        -webkit-mask-composite: destination-out;\n        mask-composite: exclude;\n      }\n    "]);return oS=function(){return n},n}function oA(){var n=(0,h.Z)(["\n      padding: ",";\n      border-radius: 1000px;\n    "]);return oA=function(){return n},n}function oB(){var n=(0,h.Z)(["\n      padding: 0px 16px;\n      border-radius: 8px;\n    "]);return oB=function(){return n},n}function oD(){var n=(0,h.Z)(["\n      height: 56px;\n      span {\n        font-size: 20px !important;\n      }\n    "]);return oD=function(){return n},n}function oM(){var n=(0,h.Z)(["\n      height: 48px;\n      span {\n        font-size: 16px !important;\n      }\n    "]);return oM=function(){return n},n}function oz(){var n=(0,h.Z)(["\n      height: 40px;\n      span {\n        font-size: 14px !important;\n      }\n    "]);return oz=function(){return n},n}function oF(){var n=(0,h.Z)(["\n      :hover {\n        background: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),\n          ",";\n      }\n    "]);return oF=function(){return n},n}function oH(){var n=(0,h.Z)(["\n  width: ",";\n\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  cursor: ",";\n  gap: 8px;\n\n  max-width: 100%;\n  position: relative;\n  min-width: 106px;\n\n  span {\n    min-width: 10px;\n    color: ",";\n    font-family: 'Pretendard', sans-serif;\n    white-space: nowrap;\n    z-index: 1;\n    opacity: ",";\n  }\n\n  background: ",";\n\n  border: solid 1px transparent; /* !important\xe9 */\n\n  ","\n\n  ",";\n  ",";\n\n  ",";\n  ",";\n\n  ",";\n\n  ","\n"]);return oH=function(){return n},n}function oO(){var n=(0,h.Z)(["\n  opacity: 0;\n  z-index: -1;\n  position: absolute;\n  top: 0;\n  left: 0;\n"]);return oO=function(){return n},n}function oG(){var n=(0,h.Z)(["\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n"]);return oG=function(){return n},n}function oK(){var n=(0,h.Z)(["\n  padding: 7px;\n"]);return oK=function(){return n},n}var oU=Z.default.div.withConfig({displayName:"Dropdown__DropdownContainer",componentId:"sc-de86d654-0"})(oL()),oW=Z.default.div.withConfig({displayName:"Dropdown__DropdownLayout",componentId:"sc-de86d654-1"})(oT(),function(n){return n.placement===z.zW.LEFT&&(0,Z.css)(oP())},function(n){return n.placement===z.zW.CENTER&&(0,Z.css)(oE())},function(n){return n.placement===z.zW.RIGHT&&(0,Z.css)(oN())},function(n){return n.placement===z.zW.FULL&&(0,Z.css)(oR())}),oV=Z.default.div.withConfig({displayName:"Dropdown__DropdownContent",componentId:"sc-de86d654-2"})(oH(),function(n){var e=n.width;return e?"".concat(e,"px"):"auto"},function(n){return n.hasLink?"pointer":"default"},function(n){return n.color},function(n){return n.hideContent?0:1},function(n){return n.backgroundColor},function(n){var e=n.strokeColor;return e&&(0,Z.css)(oS(),e)},function(n){return n.shape===z.PD.ROUND&&(0,Z.css)(oA(),n.size===z.WU.SMALL?"0 20px":"0 24px")},function(n){return n.shape===z.PD.SQUARE&&(0,Z.css)(oB())},function(n){return n.size===z.WU.LARGE&&(0,Z.css)(oD())},function(n){return n.size===z.WU.MEDIUM&&(0,Z.css)(oM())},function(n){return n.size===z.WU.SMALL&&(0,Z.css)(oz())},function(n){var e=n.hasLink,t=n.backgroundColor;return e&&t&&(0,Z.css)(oF(),t)}),oY=(0,Z.default)(oV).withConfig({displayName:"Dropdown__VirtualDropdownSelector",componentId:"sc-de86d654-3"})(oO()),oJ=Z.default.span.withConfig({displayName:"Dropdown__ReadonlyText",componentId:"sc-de86d654-4"})(oG()),oq=Z.default.div.withConfig({displayName:"Dropdown__IconWrapper",componentId:"sc-de86d654-5"})(oK()),o$=(0,b.forwardRef)(function(n,e){var t=n.block,r=(0,I.c)().getLanguageValue,i=t.shape,o=t.size,a=t.backgroundColor,c=t.strokeColor,u=t.textColor,l=r(t,"text");return(0,g.jsxs)(oY,{size:o,shape:i,backgroundColor:a,strokeColor:c,color:u,hasLink:!1,ref:e,children:[(0,g.jsx)("span",{children:l}),(0,g.jsx)(oq,{children:(0,g.jsx)(nh.Z,{name:"ArrowDownF14"})})]})}),oQ=function(n){var e,t,r=n.block,i=n.data,o=r.layout,a=r.shape,c=r.size,u=r.backgroundColor,l=r.textColor,s=r.strokeColor,d=r.link,f=(0,b.useRef)(null),p=(0,nf.Z)((0,b.useState)(null),2),h=p[0],v=p[1],x=(0,m.sJ)(op.C),y=null===(e=i.homepage.pages)||void 0===e?void 0:e.find(function(n){return n.pageId===x}),w=(0,I.c)().getLanguageValue,Z=d.length>0,C=w(r,"text"),_=y?w(y,"title"):"",k=!!r.link&&r.link.some(function(n){return w(n,"pageId")===x});(0,b.useEffect)(function(){v(k&&r.isUseConnectPageName)},[k,r.isUseConnectPageName]);var j=(null===(t=f.current)||void 0===t?void 0:t.clientWidth)?f.current.clientWidth+2:void 0;return(0,g.jsxs)(oU,{children:[(0,g.jsx)(oW,{placement:o,children:(0,g.jsx)(oj,{block:r,data:i,children:(0,g.jsxs)(oV,{hasLink:Z,size:c,shape:a,backgroundColor:u,strokeColor:s,color:l,width:h?j:void 0,hideContent:null===h,children:[(0,g.jsx)(oJ,{children:h?_:C}),(0,g.jsx)(oq,{children:(0,g.jsx)(nh.Z,{name:"ArrowDownF14",color:l})})]})})}),(0,g.jsx)(o$,{block:r,ref:f})]})};function oX(){var n=(0,h.Z)(["\n  width: 100%;\n  position: relative;\n  transition: border 0.2s;\n  cursor: ",";\n\n  .tox .tox-tbtn--enabled {\n    background: "," !important;\n  }\n\n  ::after {\n    content: '';\n    position: absolute;\n    top: 0;\n    bottom: 0;\n    left: 0;\n    right: 0;\n    pointer-events: none;\n    z-index: 20;\n  }\n"]);return oX=function(){return n},n}var o0=Z.default.div.withConfig({displayName:"HomepageBlock__BlockWrapper",componentId:"sc-36e1dc44-0"})(oX(),function(n){return!n.isPreview&&"pointer"},w.Z.PURPLE_GRAY_3),o1=(0,b.memo)(function(n){var e=n.block,t=n.index,r=n.viewtype,i=n.columnsLength,o=n.isPreview,a=n.data,c=n.rerenderKey,u=(0,nf.Z)((0,b.useState)(0),2),l=u[0],s=u[1],d=(0,nf.Z)((0,b.useState)(0),2),f=d[0],p=d[1],h={viewtype:r,block:e,columnsLength:i,isPreview:o},m=e.type===z.TK.MARQUEE||e.type===z.TK.BANNER||e.type===z.TK.SLIDE||e.type===z.TK.VIDEO&&1===h.columnsLength;function v(){var n,e;s(null===(n=document.querySelector(".homepage-layout-container"))||void 0===n?void 0:n.clientWidth),p(null===(e=document.querySelector(".homepage-column-wrapper"))||void 0===e?void 0:e.clientWidth)}function x(){v()}return(0,b.useEffect)(function(){if(m)return v(),window.addEventListener("resize",x),document.addEventListener("mouseenter",x),document.addEventListener("mouseleave",x),function(){window.removeEventListener("resize",x),document.removeEventListener("mouseenter",x),document.removeEventListener("mouseleave",x)}},[]),(0,b.useEffect)(function(){v()},[c]),(0,g.jsxs)(o0,{style:{width:m?"".concat(l,"px"):void 0,marginLeft:m?"-".concat(Math.ceil((l-f)/2),"px"):void 0},className:"homepage-block-wrapper",isPreview:o,id:"homepage-block-".concat(e.blockId),children:[e.type===z.TK.ACCORDION&&(0,g.jsx)(rb,(0,C.Z)({},h)),e.type===z.TK.STEP&&(0,g.jsx)(rR,(0,C.Z)({},h)),e.type===z.TK.MAP&&(0,g.jsx)(tJ,(0,C.Z)({},h)),e.type===z.TK.JOB_POSTING&&(0,g.jsx)(os,(0,_.Z)((0,C.Z)({},h),{data:a})),e.type===z.TK.IMAGE&&(0,g.jsx)(e0,(0,_.Z)((0,C.Z)({},h),{data:a})),e.type===z.TK.BUTTON&&(0,g.jsx)(ts,(0,_.Z)((0,C.Z)({},h),{data:a})),e.type===z.TK.VIDEO&&(0,g.jsx)(t_,(0,_.Z)((0,C.Z)({},h),{layoutWidth:l})),e.type===z.TK.DIVIDER&&(0,g.jsx)(t1,(0,C.Z)({},h)),e.type===z.TK.BLANK&&(0,g.jsx)(t8,(0,C.Z)({},h)),e.type===z.TK.SLIDE&&(0,g.jsx)(n5,(0,_.Z)((0,C.Z)({},h),{layoutWidth:l,data:a})),e.type===z.TK.BANNER&&(0,g.jsx)(tV,(0,_.Z)((0,C.Z)({},h),{data:a})),e.type===z.TK.TEXT&&(0,g.jsx)(rU,(0,_.Z)((0,C.Z)({},h),{data:a})),e.type===z.TK.MARQUEE&&(0,g.jsx)(ic,(0,_.Z)((0,C.Z)({},h),{layoutWidth:l,data:a})),e.type===z.TK.DROPDOWN&&(0,g.jsx)(oQ,(0,_.Z)((0,C.Z)({},h),{data:a}))]},t)});function o2(){var n=(0,h.Z)(["\n  width: 100%;\n  height: ",";\n"]);return o2=function(){return n},n}function o9(){var n=(0,h.Z)(["\n  > * + * {\n    margin-top: ","px;\n  }\n"]);return o9=function(){return n},n}var o8=Z.default.div.withConfig({displayName:"HomepageColumn__Container",componentId:"sc-f5ac21f7-0"})(o2(),function(n){var e=n.height;return e?"".concat(e,"px"):"100%"}),o3=Z.default.div.withConfig({displayName:"HomepageColumn__ContentWrapper",componentId:"sc-f5ac21f7-1"})(o9(),function(n){var e=n.gap;return null!=e?e:24}),o6=function(n){var e,t=n.blocks,r=n.viewtype,i=n.columnsLength,o=n.readonly,a=n.haveBlocks,c=n.data,u=n.rerenderKey,l=n.currentPageData,s=null==l?void 0:null===(e=l.style)||void 0===e?void 0:e.blockMargin;return(0,g.jsx)(o8,{height:a?void 0:80,className:"homepage-blocks-container",children:(0,g.jsx)(o3,{gap:s,children:t.map(function(n,e){if(null!=n)return(0,g.jsx)(o1,{block:n,index:e,viewtype:r,columnsLength:i,isPreview:o,data:c,rerenderKey:u},n.blockId)})})})};function o4(){var n=(0,h.Z)(["\n  position: relative;\n  display: flex;\n  padding: ",";\n  justify-content: center;\n  width: 100%;\n  height: 100%;\n  display: flex;\n\n  ::after {\n    content: '';\n    position: absolute;\n    top: -1px;\n    bottom: -1px;\n    left: 0;\n    right: 0;\n    pointer-events: none;\n    z-index: 20;\n  }\n\n  &:first-child {\n    ::after {\n      top: 2px;\n    }\n  }\n"]);return o4=function(){return n},n}function o5(){var n=(0,h.Z)(["\n      flex-direction: column;\n      & > * + * {\n        margin-top: ","px;\n      }\n    "]);return o5=function(){return n},n}function o7(){var n=(0,h.Z)(["\n      justify-content: center;\n      & > * + * {\n        margin-left: ","px;\n      }\n    "]);return o7=function(){return n},n}function an(){var n=(0,h.Z)(["\n        opacity: 0;\n      "]);return an=function(){return n},n}function ae(){var n=(0,h.Z)(["\n      opacity: 0;\n      transform: translateY(150px);\n    "]);return ae=function(){return n},n}function at(){var n=(0,h.Z)(["\n      transition: ","s all ease;\n      opacity: 1;\n    "]);return at=function(){return n},n}function ar(){var n=(0,h.Z)(["\n      transition: ","s all ease;\n      transform: none;\n      opacity: 1;\n    "]);return ar=function(){return n},n}function ai(){var n=(0,h.Z)(["\n  display: flex;\n  width: 100%;\n  max-width: 1200px;\n\n  ","\n\n  ","\n\n    ","\n  ","\n  ","\n\n  ","\n"]);return ai=function(){return n},n}function ao(){var n=(0,h.Z)(["\n  width: 100%;\n  position: relative;\n  display: flex;\n  flex-direction: column;\n\n  ::after {\n    content: '';\n    position: absolute;\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n    background: transparent;\n    width: calc(100% + 2px);\n    height: 100%;\n\n    pointer-events: none;\n  }\n"]);return ao=function(){return n},n}var aa=(p={},(0,M.Z)(p,z.t0.FADE_IN,2),(0,M.Z)(p,z.t0.SLIDE_UP,1.3),p),ac=Z.default.div.withConfig({displayName:"HomepageLayout__LayoutContainer",componentId:"sc-b0edf8ce-0"})(o4(),function(n){return n.viewtype===z.Pi.MOBILE?"0 24px":"0 48px"}),au=Z.default.div.withConfig({displayName:"HomepageLayout__ColumnsWrapper",componentId:"sc-b0edf8ce-1"})(ai(),function(n){var e=n.viewtype,t=n.gap;return e===z.Pi.MOBILE&&(0,Z.css)(o5(),null!=t?t:24)},function(n){var e=n.viewtype,t=n.gap;return e!==z.Pi.MOBILE&&(0,Z.css)(o7(),null!=t?t:24)},function(n){var e=n.animationDisabled;return n.animationType===z.t0.FADE_IN&&!e&&(0,Z.css)(an())},function(n){var e=n.animationDisabled;return n.animationType===z.t0.SLIDE_UP&&!e&&(0,Z.css)(ae())},function(n){var e=n.animationActive;return n.animationType===z.t0.FADE_IN&&e&&(0,Z.css)(at(),aa[z.t0.FADE_IN])},function(n){var e=n.animationActive;return n.animationType===z.t0.SLIDE_UP&&e&&(0,Z.css)(ar(),aa[z.t0.SLIDE_UP])}),al=Z.default.div.withConfig({displayName:"HomepageLayout__Column",componentId:"sc-b0edf8ce-2"})(ao()),as=function(n){var e,t,r,i,o=n.layout,a=n.viewtype,c=n.readonly,u=n.id,l=n.data,s=n.currentPageData,d=(0,b.useRef)(null),f=(0,b.useRef)(null),p=(0,nf.Z)((0,b.useState)(0),2),h=p[0],m=p[1],v=(0,nf.Z)((0,b.useState)(!1),2),x=v[0],y=v[1],w=null==s?void 0:null===(t=s.style)||void 0===t?void 0:t.columnMargin;(0,b.useEffect)(function(){m(function(n){return++n})},[a]);var Z=o.animationType||z.t0.NONE,C=Z===z.t0.NONE,_=(0,b.useMemo)(function(){return!!o.columns.find(function(n){return n.blocks.length})},[o]),k=(e=(0,n_.Z)(function(n){var e;return(0,nk.__generator)(this,function(t){return(null==(e=(0,nf.Z)(n,1)[0])?void 0:e.isIntersecting)&&(y(!0),i&&i.disconnect()),[2]})}),function(n){return e.apply(this,arguments)});(0,b.useEffect)(function(){if(Z!==z.t0.NONE){var n=d.current,e=document.querySelector("#homepage-preview-scrollbar"),t=a===z.Pi.MOBILE?"0px 0px -40px  0px":"0px 0px -100px 0px";return n&&(i=new IntersectionObserver(k,{rootMargin:t,threshold:0,root:e})).observe(n),function(){return i&&i.disconnect()}}},[Z,d.current]);var I=(null===(r=o.columnsRatio)||void 0===r?void 0:r.length)===o.columns.length?o.columnsRatio:Array.from({length:o.columns.length},function(){return 1/o.columns.length}),j=(0,b.useMemo)(function(){var n=null==I?void 0:I.reduce(function(n,e){return e?n+1:n},0);return w*(o.columns.length-n)},[I,w,o.columns.length]);return(0,g.jsx)(ac,{className:"homepage-layout-container",viewtype:a,ref:d,id:u,children:(0,g.jsx)(au,{gap:w,viewtype:a,className:"homepage-column-wrapper",ref:f,animationActive:x,animationType:Z,animationDisabled:C,style:{margin:a!==z.Pi.MOBILE?"0 ".concat(j/2,"px"):void 0},children:a===z.Pi.MOBILE?(0,g.jsx)(g.Fragment,{children:o.mobileColumnOrders.map(function(n){return o.columns[n-1]}).map(function(n,e){return!n||(null==n?void 0:n.invisible)?null:(0,g.jsx)(al,{className:"homepage-column-item",children:(!c||_)&&(0,g.jsx)(o6,{haveBlocks:_,columnsLength:o.columns.length,viewtype:a,blocks:n.blocks,readonly:c,data:l,rerenderKey:h,currentPageData:s})},e)})}):(0,g.jsx)(g.Fragment,{children:o.columns.map(function(n,e){if(n.invisible)return null;var t=100*Number(I[e]),r=(o.columns.length-1)*w,i="calc(".concat(t,"% - ").concat(r*Number(I[e]),"px)");return(0,g.jsx)("div",{style:{width:i,height:" 100%"},children:(0,g.jsx)(al,{className:"homepage-column-item",children:_&&(0,g.jsx)(o6,{haveBlocks:_,columnsLength:o.columns.length,viewtype:a,blocks:n.blocks,readonly:c,data:l,rerenderKey:h,currentPageData:s})},e)},e)})})})})},ad=t(4364);function af(){var n=(0,h.Z)(["\n  ",";\n  position: relative;\n"]);return af=function(){return n},n}function ap(){var n=(0,h.Z)(["\n  position: absolute;\n  width: 100%;\n  height: 100%;\n\n  object-fit: cover;\n  object-position: center center;\n"]);return ap=function(){return n},n}function ah(){var n=(0,h.Z)(["\n  position: absolute;\n  inset: 0;\n\n  min-height: inherit;\n  background-color: ",";\n"]);return ah=function(){return n},n}function ag(){var n=(0,h.Z)(["\n  min-height: inherit;\n\n  > * + * {\n    margin-top: ","px;\n  }\n\n  ",";\n"]);return ag=function(){return n},n}function am(){var n=(0,h.Z)(["\n  min-height: ",";\n"]);return am=function(){return n},n}var av=Z.default.div.withConfig({displayName:"HomepageSection__Layout",componentId:"sc-458c8908-0"})(af(),function(n){return n.fullHeight&&ab}),ax=Z.default.video.attrs(function(){return{muted:!0,loop:!0}}).withConfig({displayName:"HomepageSection__BackgroundVideo",componentId:"sc-458c8908-1"})(ap()),ay=Z.default.div.withConfig({displayName:"HomepageSection__Overlay",componentId:"sc-458c8908-2"})(ah(),function(n){var e=n.enabled,t=n.backgroundColor;return e&&t}),aw=Z.default.div.withConfig({displayName:"HomepageSection__Align",componentId:"sc-458c8908-3"})(ag(),function(n){var e=n.gap;return null!=e?e:24},function(n){var e=n.fullHeight,t=n.align;return e&&t&&e_.qn[t]}),ab=(0,Z.css)(am(),function(n){var e=n.homepageHeaderHeight;return"calc(100vh - ".concat(e,"px)")}),aZ=(0,b.memo)(function(n){var e,t=n.editable,r=n.viewType,i=n.readonly,o=n.section,a=n.data,c=n.currentPageData,u=null==c?void 0:null===(e=c.style)||void 0===e?void 0:e.layoutMargin,l=(0,rT.useRouter)(),s=(0,m.sJ)(op.b),d=function(n,e){var t,r;t="#homepage-section-".concat(e),setTimeout(function(){if(n&&t){var e=document.querySelector(t);n&&e&&(nd().createScroller(n,500,0).to(e),null==r||r())}},300)};return(0,b.useEffect)(function(){var n,e=null===(n=l.query)||void 0===n?void 0:n.section;e===o.sectionId&&d((0,ad.AD)(),e)},[l.query.section]),(0,g.jsx)(nC,{borderColor:"purple",editable:t,viewtype:r,readonly:i,children:(0,g.jsxs)(av,{fullHeight:o.isFullScreen,homepageHeaderHeight:s,className:"homepage-section-wrapper",children:[o.backgroundType===z.qx.VIDEO&&o.backgroundVideoUrl&&(0,g.jsx)(ax,{playsInline:!0,autoPlay:!0,src:o.backgroundVideoUrl}),(0,g.jsx)(ay,{enabled:o.useOverlay,backgroundColor:nl(o.overlayColor,o.overlayOpacity)}),(0,g.jsx)(aw,{gap:u,fullHeight:o.isFullScreen,align:o.alignContent,children:o.layouts.map(function(n){var e=n.columns.find(function(n){return!!n.blocks.length});return(0,g.jsx)(g.Fragment,{children:e&&(0,g.jsx)(as,{viewtype:r,layout:n,readonly:i,id:"homepage-layout-".concat(n.layoutId),data:a,currentPageData:c},n.layoutId)})})})]})})}),aC=t(29315);function a_(){var n=(0,h.Z)(["\n      position: sticky;\n      top: 0;\n      z-index: 100;\n    "]);return a_=function(){return n},n}function ak(){var n=(0,h.Z)(["\n  position: relative;\n\n  *::selection {\n    background: #a7ceff;\n    color: inherit;\n  }\n\n  ",";\n\n  ",";\n"]);return ak=function(){return n},n}var aI=Z.default.div.withConfig({displayName:"HomepagePages__Container",componentId:"sc-e386d626-0"})(ak(),function(n){return n.isSticky&&(0,Z.css)(a_())},function(n){var e=n.backgroundType,t=n.backgroundColor,r=n.backgroundImageUrl,i=n.backgroundVideoUrl;return(0,e_.ch)({backgroundType:e,backgroundColor:t,backgroundImageUrl:r,backgroundVideoUrl:i})}),aj=function(n){var e,t=n.data,r=n.companyId,i=(0,m.sJ)(aC.u),o=(0,m.sJ)(v),a=null===(e=t.homepage.pages)||void 0===e?void 0:e.find(function(n){return n.pageId===o}),c=(0,b.useMemo)(function(){return(null==a?void 0:a.fixedSectionIds)||[]},[null==a?void 0:a.fixedSectionIds]);return a?(0,g.jsxs)(g.Fragment,{children:[null==a?void 0:a.sections.map(function(n){if(!n.layouts.map(function(n){return n.columns.find(function(n){return!!n.blocks.length})}).find(function(n){return n}))return null;var e=c.some(function(e){return e===n.sectionId});return(0,g.jsx)(aI,{isSticky:e,backgroundType:n.backgroundType,backgroundColor:n.backgroundColor,backgroundImageUrl:n.backgroundImageUrl,backgroundVideoUrl:n.backgroundVideoUrl,id:"homepage-section-".concat(n.sectionId),children:(0,g.jsx)(aZ,{viewType:i,readonly:!0,editable:!1,section:n,data:t,currentPageData:a})},n.sectionId)}),(0,g.jsx)(nu,{companyId:r,footer:t.homepage.footer,viewtype:i,data:t})]}):(0,g.jsx)(y.Z,{})}}}]);