(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[4],{"+vj/":function(e,t,n){e.exports={nav:"nav_nav__2qiwq",fixed:"nav_fixed__L8P7W",logo:"nav_logo__jeBe4",menu:"nav_menu__3xm7G",active:"nav_active__284sh","dark-mode":"nav_dark-mode__3C0-N",toggler:"nav_toggler__2ULvG",icon:"nav_icon__1yRP-",hamburger:"nav_hamburger__2tMB7",open:"nav_open__1jPU_"}},A4J0:function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuNiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxNzkuMSAxNDEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE3OS4xIDE0MTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiMzMTMxM0E7fQoJLnN0MXtmaWxsOiNGRkZGRkY7fQoJLnN0MntzdHJva2U6IzIzMUYyMDtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9Cgkuc3Qze2ZpbGw6IzAxMDEwMTt9Cgkuc3Q0e2ZpbGw6IzUxNzI4Qzt9Cjwvc3R5bGU+CjxnPgoJPHBhdGggY2xhc3M9InN0MSIgZD0iTTE1OS43LDE3LjdMMTc5LjEsMGgtMjQuM0w4OS42LDU5LjRsLTY0LjctNTlMMjQuNCwwSDBsMTkuNSwxNy44djEwNS42TDAuMiwxNDFoMjQuM2w1MC4yLTQ1LjdsMy4zLTNMNjcsODAuMgoJCWwtMzEsMjguM1YzMi44bDExOC4zLDEwNy44bDAuNSwwLjRIMTc5bC0xOS4zLTE3LjZWMTcuN3ogTTE0My4zLDEwOC40bC00MS42LTM3LjlsNDEuNS0zNy44TDE0My4zLDEwOC40eiIvPgo8L2c+Cjwvc3ZnPgo="},MEj9:function(e,t,n){"use strict";var o=n("nKUr"),r=(n("q1tI"),n("vXwP")),c=n.n(r),a=n("nYfD"),i=n("vjOr"),s=n.n(i),l=n("A4J0"),u=n.n(l),d=function(){return Object(o.jsx)("footer",{className:s.a.footer,children:Object(o.jsxs)("address",{children:[Object(o.jsxs)("div",{className:s.a.info,children:[Object(o.jsx)("img",{src:u.a,alt:"logo"}),Object(o.jsxs)("div",{className:s.a.text,children:[Object(o.jsx)("span",{children:"unme@unmedesign.co"}),Object(o.jsx)("span",{children:"\u53f0\u5317\u5e02\u4e2d\u5c71\u5340\u83ef\u9670\u885724\u5df73\u5f047\u865f3F"})]})]}),Object(o.jsxs)("div",{className:s.a.link,children:[Object(o.jsxs)("a",{href:"https://www.facebook.com/UnMe.BrandDomain.Design",target:"_blank",rel:"noreferrer noopener",children:[Object(o.jsx)("i",{className:"fab fa-facebook-f"}),Object(o.jsx)("span",{children:"facebook"})]}),Object(o.jsxs)("a",{href:"https://www.instagram.com/unme_design/",target:"_blank",rel:"noreferrer noopener",children:[Object(o.jsx)("i",{className:"fab fa-instagram"}),Object(o.jsx)("span",{children:"instagram"})]})]})]})})};t.a=function(e){var t=e.children,n=e.exception;e.loading;return Object(o.jsxs)(o.Fragment,{children:[Object(o.jsx)(a.a,{}),Object(o.jsx)("div",{className:c.a["page-container"],children:t}),n,Object(o.jsx)(d,{})]})}},YFqc:function(e,t,n){e.exports=n("cTJO")},cTJO:function(e,t,n){"use strict";var o=n("J4zp"),r=n("284h");t.__esModule=!0,t.default=void 0;var c=r(n("q1tI")),a=n("elyg"),i=n("nOHt"),s=n("vNVm"),l={};function u(e,t,n,o){if(e&&(0,a.isLocalURL)(t)){e.prefetch(t,n,o).catch((function(e){0}));var r=o&&"undefined"!==typeof o.locale?o.locale:e&&e.locale;l[t+"%"+n+(r?"%"+r:"")]=!0}}var d=function(e){var t=!1!==e.prefetch,n=(0,i.useRouter)(),r=n&&n.pathname||"/",d=c.default.useMemo((function(){var t=(0,a.resolveHref)(r,e.href,!0),n=o(t,2),c=n[0],i=n[1];return{href:c,as:e.as?(0,a.resolveHref)(r,e.as):i||c}}),[r,e.href,e.as]),f=d.href,v=d.as,g=e.children,m=e.replace,b=e.shallow,h=e.scroll,j=e.locale;"string"===typeof g&&(g=c.default.createElement("a",null,g));var p=c.Children.only(g),w=p&&"object"===typeof p&&p.ref,M=(0,s.useIntersection)({rootMargin:"200px"}),x=o(M,2),O=x[0],y=x[1],E=c.default.useCallback((function(e){O(e),w&&("function"===typeof w?w(e):"object"===typeof w&&(w.current=e))}),[w,O]);(0,c.useEffect)((function(){var e=y&&t&&(0,a.isLocalURL)(f),o="undefined"!==typeof j?j:n&&n.locale,r=l[f+"%"+v+(o?"%"+o:"")];e&&!r&&u(n,f,v,{locale:o})}),[v,f,y,j,t,n]);var _={ref:E,onClick:function(e){p.props&&"function"===typeof p.props.onClick&&p.props.onClick(e),e.defaultPrevented||function(e,t,n,o,r,c,i,s){("A"!==e.currentTarget.nodeName||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&(0,a.isLocalURL)(n))&&(e.preventDefault(),null==i&&(i=o.indexOf("#")<0),t[r?"replace":"push"](n,o,{shallow:c,locale:s,scroll:i}))}(e,n,f,v,m,b,h,j)},onMouseEnter:function(e){(0,a.isLocalURL)(f)&&(p.props&&"function"===typeof p.props.onMouseEnter&&p.props.onMouseEnter(e),u(n,f,v,{priority:!0}))}};if(e.passHref||"a"===p.type&&!("href"in p.props)){var L="undefined"!==typeof j?j:n&&n.locale,I=n&&n.isLocaleDomain&&(0,a.getDomainLocale)(v,L,n&&n.locales,n&&n.domainLocales);_.href=I||(0,a.addBasePath)((0,a.addLocale)(v,L,n&&n.defaultLocale))}return c.default.cloneElement(p,_)};t.default=d},nYfD:function(e,t,n){"use strict";var o=n("nKUr"),r=n("q1tI");var c=!1;if("undefined"!==typeof window){var a={get passive(){c=!0}};window.addEventListener("testPassive",null,a),window.removeEventListener("testPassive",null,a)}var i="undefined"!==typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),s=[],l=!1,u=-1,d=void 0,f=void 0,v=function(e){return s.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},g=function(e){var t=e||window.event;return!!v(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},m=function(){void 0!==f&&(document.body.style.paddingRight=f,f=void 0),void 0!==d&&(document.body.style.overflow=d,d=void 0)},b=function(e,t){if(e){if(!s.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};s=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?g(e):e.stopPropagation())}(t,e)},l||(document.addEventListener("touchmove",g,c?{passive:!1}:void 0),l=!0)):function(e){if(void 0===f){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(f=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===d&&(d=document.body.style.overflow,document.body.style.overflow="hidden")}(t)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},h=n("20a2"),j=n("UbMB"),p=n.n(j),w=n("/MKj"),M=n("YFqc"),x=n.n(M),O=n("+vj/"),y=n.n(O),E=n("TYdL"),_=n.n(E),L=n("A4J0"),I=n.n(L);var N=n("rePB"),T="KEY_THEME",k=new function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object(N.a)(this,"setTheme",(function(e){return localStorage.setItem(T,e)})),Object(N.a)(this,"getTheme",(function(){return localStorage.getItem(T)}))},C=n("N8A1");t.a=function(){var e=Object(h.useRouter)(),t=p.a.bind(y.a),n=Object(r.useState)([]),a=n[0],d=n[1],f=Object(r.useState)(!1),v=f[0],j=f[1],M=Object(r.useState)(!1),O=M[0],E=M[1],L=Object(w.c)((function(e){return e.appReducer})),N=Object(w.b)(),T=function(){N({type:C.a,payload:"light"!==k.getTheme()})};Object(r.useEffect)((function(){T()}),[]),Object(r.useEffect)((function(){var e,t=document.body;return O?b(t):(e=t)?(s=s.filter((function(t){return t.targetElement!==e})),i?(e.ontouchstart=null,e.ontouchmove=null,l&&0===s.length&&(document.removeEventListener("touchmove",g,c?{passive:!1}:void 0),l=!1)):s.length||m()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices."),function(){i?(s.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),l&&(document.removeEventListener("touchmove",g,c?{passive:!1}:void 0),l=!1),u=-1):m(),s=[]}}),[O]);var D=function(){return a.map((function(n){var r="home"===n?"":n,c=t({active:e.pathname.replace("/","")===r});if(!("home"===n&&window.innerWidth>768))return Object(o.jsx)("li",{className:c,onClick:function(){e.pathname.replace("/","")===r&&E(!1)},children:Object(o.jsx)(x.a,{href:"/".concat(r),as:"/".concat(r),children:Object(o.jsx)("a",{children:n})})},n)}))};Object(r.useEffect)((function(){d((function(){return window.innerWidth>768?["projects","service","about","contact"]:["home","projects","service","about","contact"]}));var e=function(){window.scrollY>30?j(!0):j(!1)};return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}}),[]);var z=t({nav:!0,fixed:v}),S=t({logo:!0,"dark-mode":L.darkMode}),H=t({toggler:!0,"dark-mode":L.darkMode}),P=t({menu:!0,open:O});return Object(o.jsxs)("nav",{className:z,children:[Object(o.jsx)("div",{className:H,onClick:function(){var e=document.body.classList,t=!e.contains("light");e.toggle("light"),k.setTheme(t?"light":""),T()},children:Object(o.jsx)("div",{className:y.a.icon})}),Object(o.jsx)(x.a,{href:"/",children:Object(o.jsxs)("div",{className:S,children:[Object(o.jsx)("img",{src:_.a,alt:"logo"}),Object(o.jsx)("img",{src:I.a,alt:"logo"})]})}),Object(o.jsx)("ul",{className:P,onClick:function(){return E(!1)},children:Object(o.jsx)(D,{})}),Object(o.jsxs)("div",{className:y.a.hamburger,onClick:function(){E(!O)},children:[Object(o.jsx)("div",{}),Object(o.jsx)("div",{}),Object(o.jsx)("div",{})]})]})}},vNVm:function(e,t,n){"use strict";var o=n("J4zp");t.__esModule=!0,t.useIntersection=function(e){var t=e.rootMargin,n=e.disabled||!a,s=(0,r.useRef)(),l=(0,r.useState)(!1),u=o(l,2),d=u[0],f=u[1],v=(0,r.useCallback)((function(e){s.current&&(s.current(),s.current=void 0),n||d||e&&e.tagName&&(s.current=function(e,t,n){var o=function(e){var t=e.rootMargin||"",n=i.get(t);if(n)return n;var o=new Map,r=new IntersectionObserver((function(e){e.forEach((function(e){var t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return i.set(t,n={id:t,observer:r,elements:o}),n}(n),r=o.id,c=o.observer,a=o.elements;return a.set(e,t),c.observe(e),function(){a.delete(e),c.unobserve(e),0===a.size&&(c.disconnect(),i.delete(r))}}(e,(function(e){return e&&f(e)}),{rootMargin:t}))}),[n,t,d]);return(0,r.useEffect)((function(){if(!a&&!d){var e=(0,c.requestIdleCallback)((function(){return f(!0)}));return function(){return(0,c.cancelIdleCallback)(e)}}}),[d]),[v,d]};var r=n("q1tI"),c=n("0G5g"),a="undefined"!==typeof IntersectionObserver;var i=new Map},vXwP:function(e,t,n){e.exports={"page-container":"page-container_page-container__9JP6S"}},vjOr:function(e,t,n){e.exports={footer:"footer_footer__8tGQl",info:"footer_info__2qPcN",text:"footer_text__2GqAm",link:"footer_link__2QTvR"}}}]);