(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[852],{4114:function(e,t,i){"use strict";i.d(t,{_Q:function(){return xlog}}),i(7294);var n=i(575);function xlog(e){for(var t=arguments.length,i=Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];console.log(e,i)}i(1955),new n.Z},852:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return O},default:function(){return C}});var n=i(7294),r=i(9332),o=i(3235),s=i(4730),a=i(1163),c=i.n(a),l=i(1955),d=i(9473),h=i(4114),u=i(5832),f=i(806),p=i(5893),g=["veURL","t","_lang","topMenuVisible"],m="Header",v=(0,o.Zh)(["common"])(function(e){e.veURL,e.t,e._lang,e.topMenuVisible,(0,s.Z)(e,g);var t={dispatch:(0,d.I0)(),rdxUrlVideoEdit:(0,d.v9)(function(e){return e.global.urlVideoEdit}),rdxUser:(0,d.v9)(function(e){return e.global.user}),env:(0,n.useContext)(f.F)},i=t.dispatch,r=t.rdxUrlVideoEdit;t.rdxUser,t.env,console.log(m,"veURL:"+r);var handleGoHome=function(e){return function(){console.log(m,"[handleGoHome]"),c().push("/#"+e)}};return(0,n.useEffect)(function(){var e=l.Z.get("user"),t=null;if(null!=e)try{t=JSON.parse(e),i((0,u.av)(t))}catch(e){(0,h._Q)(m,e)}else(0,u.av)(null);(0,h._Q)(m,"[useEffect]",e,t)},[]),(0,p.jsx)("div",{id:"header",children:(0,p.jsxs)("div",{className:"wrapper",children:[(0,p.jsxs)("button",{type:"button",className:"btn_menu",title:"메뉴버튼",children:[(0,p.jsx)("i",{}),(0,p.jsx)("i",{}),(0,p.jsx)("i",{})]}),(0,p.jsx)("a",{href:"#",title:"CRABs 메인",className:"logo",children:(0,p.jsx)("div",{className:"logo_img"})}),(0,p.jsx)("div",{className:"gnb_wrap",children:(0,p.jsxs)("ul",{className:"inmenu",children:[(0,p.jsx)("li",{children:(0,p.jsx)("a",{href:"#",onClick:handleGoHome("sec_home"),children:"Home"})}),(0,p.jsx)("li",{children:(0,p.jsx)("a",{href:"#",onClick:handleGoHome("sec_service"),children:"Service"})}),(0,p.jsx)("li",{children:(0,p.jsx)("a",{href:"#",onClick:handleGoHome("sec_how"),children:"How to Use"})}),(0,p.jsx)("li",{children:(0,p.jsx)("a",{href:"#",onClick:handleGoHome("sec_contact"),children:"Contact"})}),!1]})}),(0,p.jsxs)("div",{className:"r_side",children:[(0,p.jsx)("div",{className:"lnb",children:!1}),(0,p.jsx)("div",{className:"lang",children:(0,p.jsx)("select",{children:(0,p.jsx)("option",{value:"",children:"Korean"})})})]})]})})}),x=["t","_lang","topMenuVisible"],j=(0,o.Zh)(["common"])(function(e){e.t,e._lang;var t=e.topMenuVisible;return(0,s.Z)(e,x),console.log("Footer","topMenuVisible: "+t),(0,p.jsx)("div",{id:"footer",children:(0,p.jsxs)("div",{className:"wrapper",children:[(0,p.jsx)("div",{className:"top",children:(0,p.jsx)("a",{href:"#",className:"logo",children:(0,p.jsx)("img",{src:"/images/assets/logo-footer-colored.svg",alt:"CRABs"})})}),(0,p.jsx)("div",{className:"mid",children:(0,p.jsxs)("ul",{children:[(0,p.jsx)("li",{children:(0,p.jsx)("a",{href:"#",children:"회사소개"})}),(0,p.jsx)("li",{children:(0,p.jsx)("a",{href:"#",target:"_blank",children:"이용약관"})}),(0,p.jsx)("li",{children:(0,p.jsx)("a",{href:"#",target:"_blank",children:"개인정보 처리방침"})})]})}),(0,p.jsxs)("div",{className:"btm",children:[(0,p.jsx)("span",{children:"(주)크랩스"}),(0,p.jsx)("span",{children:"대표 : 김태영"}),(0,p.jsx)("span",{children:"사업자등록번호 : 224-88-026022"}),(0,p.jsx)("span",{children:"이메일 : contact@crabs.ai"}),(0,p.jsx)("span",{children:"회사주소\xa0\xa0\xa0서울 : 서울특별시 송파구 송파대로 167 (문정역 테라타워), B동 714호"}),(0,p.jsx)("span",{children:"광주 : 광주광역시 북구 경열로 223, 2층 나 10호"})]})]})})}),b="Base",O=!0,C=(0,o.Zh)()(function(e){var t=e.children,i=(0,r.usePathname)();console.log(b,"pathname ".concat(i)),(0,n.useEffect)(function(){console.log(b,"[useEffect]")},[]);var o=!0;i.indexOf("member")>=0&&(o=!1);var s=!0;return i.indexOf("member")>=0&&(s=!1),(0,p.jsxs)(p.Fragment,{children:[o?(0,p.jsx)(v,{}):(0,p.jsx)(p.Fragment,{}),(0,p.jsx)("div",{id:"container",children:t}),s?(0,p.jsx)(j,{}):(0,p.jsx)(p.Fragment,{})]})})},1163:function(e,t,i){e.exports=i(7985)},575:function(e,t,i){"use strict";i.d(t,{Z:function(){return r}});var n=i(3601);function readCookie(e,t={}){let i=e&&"j"===e[0]&&":"===e[1]?e.substr(2):e;if(!t.doNotParse)try{return JSON.parse(i)}catch(e){}return e}var r=class{constructor(e,t={}){var r;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;let e=this.cookies;this.cookies=n.Q(document.cookie),this._checkChanges(e)};let o="undefined"==typeof document?"":document.cookie;this.cookies="string"==typeof(r=e||o)?n.Q(r):"object"==typeof r&&null!==r?r:{},this.defaultSetOptions=t,this.HAS_DOCUMENT_COOKIE=function(){let e=void 0===i.g?void 0:i.g.TEST_HAS_DOCUMENT_COOKIE;return"boolean"==typeof e?e:"object"==typeof document&&"string"==typeof document.cookie}()}_emitChange(e){for(let t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)}_checkChanges(e){let t=new Set(Object.keys(e).concat(Object.keys(this.cookies)));t.forEach(t=>{e[t]!==this.cookies[t]&&this._emitChange({name:t,value:readCookie(this.cookies[t])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(e,t={}){return t.doNotUpdate||this.update(),readCookie(this.cookies[e],t)}getAll(e={}){e.doNotUpdate||this.update();let t={};for(let i in this.cookies)t[i]=readCookie(this.cookies[i],e);return t}set(e,t,i){i=i?Object.assign(Object.assign({},this.defaultSetOptions),i):this.defaultSetOptions;let r="string"==typeof t?t:JSON.stringify(t);this.cookies=Object.assign(Object.assign({},this.cookies),{[e]:r}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=n.q(e,r,i)),this._emitChange({name:e,value:t,options:i})}remove(e,t){let i=t=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=n.q(e,"",i)),this._emitChange({name:e,value:void 0,options:t})}addChangeListener(e){this.changeListeners.push(e),this.HAS_DOCUMENT_COOKIE&&1===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(e){let t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1),this.HAS_DOCUMENT_COOKIE&&0===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}},3601:function(e,t){"use strict";/*!
 * cookie
 * Copyright(c) 2012-2014 Roman Shtylman
 * Copyright(c) 2015 Douglas Christopher Wilson
 * MIT Licensed
 */t.Q=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var i={},n=(t||{}).decode||decode,r=0;r<e.length;){var o=e.indexOf("=",r);if(-1===o)break;var s=e.indexOf(";",r);if(-1===s)s=e.length;else if(s<o){r=e.lastIndexOf(";",o-1)+1;continue}var a=e.slice(r,o).trim();if(void 0===i[a]){var c=e.slice(o+1,s).trim();34===c.charCodeAt(0)&&(c=c.slice(1,-1)),i[a]=function(e,t){try{return t(e)}catch(t){return e}}(c,n)}r=s+1}return i},t.q=function(e,t,r){var o=r||{},s=o.encode||encode;if("function"!=typeof s)throw TypeError("option encode is invalid");if(!n.test(e))throw TypeError("argument name is invalid");var a=s(t);if(a&&!n.test(a))throw TypeError("argument val is invalid");var c=e+"="+a;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(l)}if(o.domain){if(!n.test(o.domain))throw TypeError("option domain is invalid");c+="; Domain="+o.domain}if(o.path){if(!n.test(o.path))throw TypeError("option path is invalid");c+="; Path="+o.path}if(o.expires){var d=o.expires;if("[object Date]"!==i.call(d)&&!(d instanceof Date)||isNaN(d.valueOf()))throw TypeError("option expires is invalid");c+="; Expires="+d.toUTCString()}if(o.httpOnly&&(c+="; HttpOnly"),o.secure&&(c+="; Secure"),o.partitioned&&(c+="; Partitioned"),o.priority)switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":c+="; Priority=Low";break;case"medium":c+="; Priority=Medium";break;case"high":c+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"none":c+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return c};var i=Object.prototype.toString,n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function decode(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}function encode(e){return encodeURIComponent(e)}},1955:function(e,t,i){"use strict";/*! js-cookie v3.0.5 | MIT */function assign(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)e[n]=i[n]}return e}i.d(t,{Z:function(){return n}});var n=function init(e,t){function set(i,n,r){if("undefined"!=typeof document){"number"==typeof(r=assign({},t,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var s in r)r[s]&&(o+="; "+s,!0!==r[s]&&(o+="="+r[s].split(";")[0]));return document.cookie=i+"="+e.write(n,i)+o}}return Object.create({set,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var i=document.cookie?document.cookie.split("; "):[],n={},r=0;r<i.length;r++){var o=i[r].split("="),s=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(n[a]=e.read(s,a),t===a)break}catch(e){}}return t?n[t]:n}},remove:function(e,t){set(e,"",assign({},t,{expires:-1}))},withAttributes:function(e){return init(this.converter,assign({},this.attributes,e))},withConverter:function(e){return init(assign({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},4730:function(e,t,i){"use strict";function _objectWithoutProperties(e,t){if(null==e)return{};var i,n,r=function(e,t){if(null==e)return{};var i,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)i=o[n],t.indexOf(i)>=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)i=o[n],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}i.d(t,{Z:function(){return _objectWithoutProperties}})}}]);