1/*! 2 * fullPage 3.0.4 3 * https://github.com/alvarotrigo/fullPage.js 4 * 5 * @license GPLv3 for open source use only 6 * or Fullpage Commercial License for commercial use 7 * http://alvarotrigo.com/fullPage/pricing/ 8 * 9 * Copyright (C) 2018 http://alvarotrigo.com/fullPage - A project by Alvaro Trigo 10 */ 11!function(e,t,n,o,r){"function"==typeof define&&define.amd?define(function(){return e.fullpage=o(t,n),e.fullpage}):"object"==typeof exports?module.exports=o(t,n):t.fullpage=o(t,n)}(this,window,document,function(wt,yt){"use strict";var Et="fullpage-wrapper",Lt="."+Et,xt="fp-responsive",At="fp-notransition",Tt="fp-destroyed",kt="fp-enabled",Mt="fp-viewing",Ot="active",Ct="."+Ot,It="fp-completely",Ht="fp-section",Bt="."+Ht,Rt=Bt+Ct,zt="fp-tableCell",jt="."+zt,Nt="fp-auto-height",Pt="fp-normal-scroll",Dt="fp-nav",Vt="#"+Dt,Yt="fp-tooltip",Ft="fp-slide",Ut="."+Ft,Wt=Ut+Ct,Xt="fp-slides",_t="."+Xt,Kt="fp-slidesContainer",qt="."+Kt,$t="fp-table",Qt="fp-slidesNav",Gt="."+Qt,Jt=Gt+" a",e="fp-controlArrow",Zt="."+e,en="fp-prev",tn=Zt+".fp-prev",nn=Zt+".fp-next";function on(e,t){wt.console&&wt.console[e]&&wt.console[e]("fullPage: "+t)}function rn(e,t){return(t=1<arguments.length?t:yt)?t.querySelectorAll(e):null}function ln(e){e=e||{};for(var t=1,n=arguments.length;t<n;++t){var o=arguments[t];if(o)for(var r in o)o.hasOwnProperty(r)&&("[object Object]"!==Object.prototype.toString.call(o[r])?e[r]=o[r]:e[r]=ln(e[r],o[r]))}return e}function an(e,t){return null!=e&&(e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className))}function sn(){return"innerHeight"in wt?wt.innerHeight:yt.documentElement.offsetHeight}function cn(e,t){var n;for(n in e=l(e),t)if(t.hasOwnProperty(n)&&null!==n)for(var o=0;o<e.length;o++){e[o].style[n]=t[n]}return e}function n(e,t,n){for(var o=e[n];o&&!Hn(o,t);)o=o[n];return o}function un(e,t){return n(e,t,"previousElementSibling")}function fn(e,t){return n(e,t,"nextElementSibling")}function dn(e){return e.previousElementSibling}function vn(e){return e.nextElementSibling}function pn(e){return e[e.length-1]}function hn(e,t){e=i(e)?e[0]:e;for(var n=null!=t?rn(t,e.parentNode):e.parentNode.childNodes,o=0,r=0;r<n.length;r++){if(n[r]==e)return o;1==n[r].nodeType&&o++}return-1}function l(e){return i(e)?e:[e]}function gn(e){e=l(e);for(var t=0;t<e.length;t++)e[t].style.display="none";return e}function mn(e){e=l(e);for(var t=0;t<e.length;t++)e[t].style.display="block";return e}function i(e){return"[object Array]"===Object.prototype.toString.call(e)||"[object NodeList]"===Object.prototype.toString.call(e)}function Sn(e,t){e=l(e);for(var n=0;n<e.length;n++){var o=e[n];o.classList?o.classList.add(t):o.className+=" "+t}return e}function bn(e,t){e=l(e);for(var n=t.split(" "),o=0;o<n.length;o++){t=n[o];for(var r=0;r<e.length;r++){var i=e[r];i.classList?i.classList.remove(t):i.className=i.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}}return e}function wn(e,t){t.appendChild(e)}function o(e,t,n){var o;t=t||yt.createElement("div");for(var r=0;r<e.length;r++){var i=e[r];(n&&!r||!n)&&(o=t.cloneNode(!0),i.parentNode.insertBefore(o,i)),o.appendChild(i)}return e}function yn(e,t){o(e,t,!0)}function En(e,t){for("string"==typeof t&&(t=Rn(t)),e.appendChild(t);e.firstChild!==t;)t.appendChild(e.firstChild)}function Ln(e){for(var t=yt.createDocumentFragment();e.firstChild;)t.appendChild(e.firstChild);e.parentNode.replaceChild(t,e)}function xn(e,t){return e&&1===e.nodeType?Hn(e,t)?e:xn(e.parentNode,t):null}function An(e,t){r(e,e.nextSibling,t)}function Tn(e,t){r(e,e,t)}function r(e,t,n){i(n)||("string"==typeof n&&(n=Rn(n)),n=[n]);for(var o=0;o<n.length;o++)e.parentNode.insertBefore(n[o],t)}function kn(){var e=yt.documentElement;return(wt.pageYOffset||e.scrollTop)-(e.clientTop||0)}function Mn(t){return Array.prototype.filter.call(t.parentNode.children,function(e){return e!==t})}function On(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Cn(e){if("function"==typeof e)return!0;var t=Object.prototype.toString(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}function In(e,t,n){var o;n=void 0===n?{}:n,"function"==typeof wt.CustomEvent?o=new CustomEvent(t,{detail:n}):(o=yt.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,n),e.dispatchEvent(o)}function Hn(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}function Bn(e,t){if("boolean"==typeof t)for(var n=0;n<e.length;n++)e[n].style.display=t?"block":"none";return e}function Rn(e){var t=yt.createElement("div");return t.innerHTML=e.trim(),t.firstChild}function zn(e){e=l(e);for(var t=0;t<e.length;t++){var n=e[t];n&&n.parentElement&&n.parentNode.removeChild(n)}}function a(e,t,n){for(var o=e[n],r=[];o;)(Hn(o,t)||null==t)&&r.push(o),o=o[n];return r}function jn(e,t){return a(e,t,"nextElementSibling")}function Nn(e,t){return a(e,t,"previousElementSibling")}return wt.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,t){t=t||wt;for(var n=0;n<this.length;n++)e.call(t,this[n],n,this)}),wt.fp_utils={$:rn,deepExtend:ln,hasClass:an,getWindowHeight:sn,css:cn,until:n,prevUntil:un,nextUntil:fn,prev:dn,next:vn,last:pn,index:hn,getList:l,hide:gn,show:mn,isArrayOrList:i,addClass:Sn,removeClass:bn,appendTo:wn,wrap:o,wrapAll:yn,wrapInner:En,unwrap:Ln,closest:xn,after:An,before:Tn,insertBefore:r,getScrollTop:kn,siblings:Mn,preventDefault:On,isFunction:Cn,trigger:In,matches:Hn,toggle:Bn,createElementFromHTML:Rn,remove:zn,filter:function(e,t){Array.prototype.filter.call(e,t)},untilAll:a,nextAll:jn,prevAll:Nn,showError:on},function(e,E){var t=E&&new RegExp("([\\d\\w]{8}-){3}[\\d\\w]{8}|^(?=.*?[A-Y])(?=.*?[a-y])(?=.*?[0-8])(?=.*?[#?!@$%^&*-]).{8,}$").test(E.licenseKey)||-1<yt.domain.indexOf("alvarotrigo.com");if(!an(rn("html"),kt)){var r=rn("html, body"),L=rn("body")[0],h={};E=ln({menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:1e3,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,dragAndMove:!1,offsetSections:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowReset:!1,scrollOverflowHandler:wt.fp_scrolloverflow?wt.fp_scrolloverflow.iscrollHandler:null,scrollOverflowOptions:null,touchSensitivity:5,normalScrollElementTouchThreshold:5,bigSectionsDestination:null,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,parallax:!1,parallaxOptions:{type:"reveal",percentage:62,property:"translate"},sectionSelector:".section",slideSelector:".slide",v2compatible:!1,afterLoad:null,onLeave:null,afterRe
11nder:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},E);var x,i,c,u,a=!1,n=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),o="ontouchstart"in wt||0<navigator.msMaxTouchPoints||navigator.maxTouchPoints,f="string"==typeof e?rn(e)[0]:e,A=sn(),g=!1,l=!0,T=!0,d=[],v={m:{up:!0,down:!0,left:!0,right:!0}};v.k=ln({},v.m);var p,s,m,S,k,M,b,w,y=wt.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"},O={touchmove:"ontouchmove"in wt?"touchmove":y.move,touchstart:"ontouchstart"in wt?"touchstart":y.down},C='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',I=ln({},E),H=!1;pt(),wt.fp_easings=ln(wt.fp_easings,{easeInOutCubic:function(e,t,n,o){return(e/=o/2)<1?n/2*e*e*e+t:n/2*((e-=2)*e*e+2)+t}}),f&&(h.version="3.0.2",h.setAutoScrolling=U,h.setRecordHistory=W,h.setScrollingSpeed=X,h.setFitToSection=_,h.setLockAnchors=function(e){E.lockAnchors=e},h.setMouseWheelScrolling=K,h.setAllowScrolling=q,h.setKeyboardScrolling=Q,h.moveSectionUp=G,h.moveSectionDown=J,h.silentMoveTo=Z,h.moveTo=ee,h.moveSlideRight=te,h.moveSlideLeft=ne,h.fitToSection=de,h.reBuild=oe,h.setResponsive=re,h.getFullpageData=E,h.destroy=function(e){U(!1,"internal"),q(!0),$(!1),Q(!1),Sn(f,Tt),clearTimeout(S),clearTimeout(m),clearTimeout(s),clearTimeout(k),clearTimeout(M),wt.removeEventListener("scroll",fe),wt.removeEventListener("hashchange",ze),wt.removeEventListener("resize",_e),yt.removeEventListener("keydown",Ne),yt.removeEventListener("keyup",Pe),["click","touchstart"].forEach(function(e){yt.removeEventListener(e,ie)}),["mouseenter","touchstart","mouseleave","touchend"].forEach(function(e){yt.removeEventListener(e,ae,!0)}),clearTimeout(S),clearTimeout(m),e&&(ut(0),rn("img[data-src], source[data-src], audio[data-src], iframe[data-src]",f).forEach(function(e){Me(e,"src")}),rn("img[data-srcset]").forEach(function(e){Me(e,"srcset")}),zn(rn(Vt+", "+Gt+", "+Zt)),cn(rn(Bt),{height:"","background-color":"",padding:""}),cn(rn(Ut),{width:""}),cn(f,{height:"",position:"","-ms-touch-action":"","touch-action":""}),cn(r,{overflow:"",height:""}),bn(rn("html"),kt),bn(L,xt),L.className.split(/\s+/).forEach(function(e){0===e.indexOf(Mt)&&bn(L,e)}),rn(Bt+", "+Ut).forEach(function(e){E.scrollOverflowHandler&&E.scrollOverflow&&E.scrollOverflowHandler.remove(e),bn(e,$t+" "+Ot+" "+It);var t=e.getAttribute("data-fp-styles");t&&e.setAttribute("style",e.getAttribute("data-fp-styles")),an(e,Ht)&&!H&&e.removeAttribute("data-anchor")}),$e(f),[jt,qt,_t].forEach(function(e){rn(e,f).forEach(function(e){Ln(e)})}),cn(f,{"-webkit-transition":"none",transition:"none"}),wt.scrollTo(0,0),[Ht,Ft,Kt].forEach(function(e){bn(rn("."+e),e)}))},h.getActiveSection=function(){return new St(rn(Rt)[0])},h.getActiveSlide=function(){return Ae(rn(Wt,rn(Rt)[0])[0])},h.test={top:"0px",translate3d:"translate3d(0px, 0px, 0px)",translate3dH:function(){for(var e=[],t=0;t<rn(E.sectionSelector,f).length;t++)e.push("translate3d(0px, 0px, 0px)");return e}(),left:function(){for(var e=[],t=0;t<rn(E.sectionSelector,f).length;t++)e.push(0);return e}(),options:E,setAutoScrolling:U},h.shared={afterRenderActions:ue},wt.fullpage_api=h,E.css3&&(E.css3=function(){var e,t=yt.createElement("p"),n={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};for(var o in t.style.display="block",yt.body.insertBefore(t,null),n)void 0!==t.style[o]&&(t.style[o]="translate3d(1px,1px,1px)",e=wt.getComputedStyle(t).getPropertyValue(n[o]));return yt.body.removeChild(t),void 0!==e&&0<e.length&&"none"!==e}()),E.scrollBar=E.scrollBar||E.hybrid,function(){if(!E.anchors.length){var e="[data-anchor]",t=rn(E.sectionSelector.split(",").join(e+",")+e,f);t.length&&(H=!0,t.forEach(function(e){E.anchors.push(e.getAttribute("data-anchor").toString())}))}if(!E.navigationTooltips.length){var e="[data-tooltip]",n=rn(E.sectionSelector.split(",").join(e+",")+e,f);
11n.length&&n.forEach(function(e){E.navigationTooltips.push(e.getAttribute("data-tooltip").toString())})}}(),function(){cn(f,{height:"100%",position:"relative"}),Sn(f,Et),Sn(rn("html"),kt),A=sn(),bn(f,Tt),Sn(rn(E.sectionSelector,f),Ht),Sn(rn(E.slideSelector,f),Ft);for(var e=rn(Bt),t=0;t<e.length;t++){var n=t,o=e[t],r=rn(Ut,o),i=r.length;o.setAttribute("data-fp-styles",o.getAttribute("style")),s=o,(c=n)||null!=rn(Rt)[0]||Sn(s,Ot),u=rn(Rt)[0],cn(s,{height:A+"px"}),E.paddingTop&&cn(s,{"padding-top":E.paddingTop}),E.paddingBottom&&cn(s,{"padding-bottom":E.paddingBottom}),void 0!==E.sectionsColor[c]&&cn(s,{"background-color":E.sectionsColor[c]}),void 0!==E.anchors[c]&&s.setAttribute("data-anchor",E.anchors[c]),l=o,a=n,void 0!==E.anchors[a]&&an(l,Ot)&&Qe(E.anchors[a],a),E.menu&&E.css3&&null!=xn(rn(E.menu)[0],Lt)&&L.appendChild(rn(E.menu)[0]),0<i?se(o,r,i):E.verticalCentered&&Je(o)}var l,a,s,c;E.fixedElements&&E.css3&&rn(E.fixedElements).forEach(function(e){L.appendChild(e)}),E.navigation&&function(){var e=yt.createElement("div");e.setAttribute("id",Dt);var t=yt.createElement("ul");e.appendChild(t),wn(e,L);var n=rn(Vt)[0];Sn(n,"fp-"+E.navigationPosition),E.showActiveTooltip&&Sn(n,"fp-show-active");for(var o="",r=0;r<rn(Bt).length;r++){var i="";E.anchors.length&&(i=E.anchors[r]),o+='<li><a href="#'+i+'"><span class="fp-sr-only">'+ce(r,"Section")+"</span><span></span></a>";var l=E.navigationTooltips[r];void 0!==l&&""!==l&&(o+='<div class="'+Yt+" fp-"+E.navigationPosition+'">'+l+"</div>"),o+="</li>"}rn("ul",n)[0].innerHTML=o,cn(rn(Vt),{"margin-top":"-"+rn(Vt)[0].offsetHeight/2+"px"}),Sn(rn("a",rn("li",rn(Vt)[0])[hn(rn(Rt)[0],Bt)]),Ot)}(),rn('iframe[src*="youtube.com/embed/"]',f).forEach(function(e){var t,n,o;n="enablejsapi=1",o=(t=e).getAttribute("src"),t.setAttribute("src",o+(/\?/.test(o)?"&":"?")+n)}),E.scrollOverflow&&(p=E.scrollOverflowHandler.init(E))}(),q(!0),$(!0),U(E.autoScrolling,"internal"),Ke(),at(),"complete"===yt.readyState&&Re(),wt.addEventListener("load",Re),E.scrollOverflow||ue(),wt.addEventListener("scroll",fe),wt.addEventListener("hashchange",ze),wt.addEventListener("blur",Fe),wt.addEventListener("resize",_e),yt.addEventListener("keydown",Ne),yt.addEventListener("keyup",Pe),["click","touchstart"].forEach(function(e){yt.addEventListener(e,ie)}),E.normalScrollElements&&(["mouseenter","touchstart"].forEach(function(e){le(e,!1)}),["mouseleave","touchend"].forEach(function(e){le(e,!0)})));var B=!1,R=0,z=0,j=0,N=0,P=0,D=(new Date).getTime(),V=0,Y=0,F=A;return h}function U(e,t){e||ut(0),vt("autoScrolling",e,t);var n=rn(Rt)[0];if(E.autoScrolling&&!E.scrollBar)cn(r,{overflow:"hidden",height:"100%"}),W(I.recordHistory,"internal"),cn(f,{"-ms-touch-action":"none","touch-action":"none"}),null!=n&&ut(n.offsetTop);else if(cn(r,{overflow:"visible",height:"initial"}),W(!1,"internal"),cn(f,{"-ms-touch-action":"","touch-action":""}),null!=n){var o=Te(n.offsetTop);o.element.scrollTo(0,o.options)}}function W(e,t){vt("recordHistory",e,t)}function X(e,t){vt("scrollingSpeed",e,t)}function _(e,t){vt("fitToSection",e,t)}function K(e){e?(function(){var e,t="";wt.addEventListener?e="addEventListener":(e="attachEvent",t="on");var n="onwheel"in yt.createElement("div")?"wheel":void 0!==yt.onmousewheel?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==n?yt[e](t+"MozMousePixelScroll",be,!1):yt[e](t+n,be,!1)}(),f.addEventListener("mousedown",De),f.addEventListener("mouseup",Ve)):(yt.addEventListener?(yt.removeEventListener("mousewheel",be,!1),yt.removeEventListener("wheel",be,!1),yt.removeEventListener("MozMousePixelScroll",be,!1)):yt.detachEvent("onmousewheel",be),f.removeEventListener("mousedown",De),f.removeEventListener("mouseup",Ve))}function q(t,e){void 0!==e?(e=e.replace(/ /g,"").split(",")).forEach(function(e){dt(t,e,"m")}):dt(t,"all","m")}function $(e){e?(K(!0),function(){if(n||o){E.autoScrolling&&(L.removeEventListener(O.touchmove,pe,{passive:!1}),L.addEventListener(O.touchmove,pe,{passive:!1}));var e=rn(Lt)[0];e&&(e.removeEventListener(O.touchstart,me),e.removeEventListener(O.touchmove,he,{passive:!1}),e.addEventListener(O.touchstart,me),e.addEventListener(O.touchmove,he,{passive:!1}))}}()):(K(!1),function(){if(n||o){E.autoScrolling&&(L.removeEventListener(O.touchmove,he,{passive:!1}),L.removeEventListener(O.touchmove,pe,{passive:!1}));var e=rn(Lt)[0];e&&(e.removeEventListener(O.touchstart,me),e.removeEventListener(O.touchmove,he,{passive:!1}))}}())}function Q(t,e){void 0!==e?(e=e.replace(/ /g,"").split(",")).forEac
11h(function(e){dt(t,e,"k")}):(dt(t,"all","k"),E.keyboardScrolling=t)}function G(){var e=un(rn(Rt)[0],Bt);e||!E.loopTop&&!E.continuousVertical||(e=pn(rn(Bt))),null!=e&&Ee(e,null,!0)}function J(){var e=fn(rn(Rt)[0],Bt);e||!E.loopBottom&&!E.continuousVertical||(e=rn(Bt)[0]),null!=e&&Ee(e,null,!1)}function Z(e,t){X(0,"internal"),ee(e,t),X(I.scrollingSpeed,"internal")}function ee(e,t){var n=tt(e);void 0!==t?nt(e,t):null!=n&&Ee(n)}function te(e){we("right",e)}function ne(e){we("left",e)}function oe(e){if(!an(f,Tt)){g=!0,A=sn();for(var t=rn(Bt),n=0;n<t.length;++n){var o=t[n],r=rn(_t,o)[0],i=rn(Ut,o);E.verticalCentered&&cn(rn(jt,o),{height:Ze(o)+"px"}),cn(o,{height:A+"px"}),1<i.length&&We(r,rn(Wt,r)[0])}E.scrollOverflow&&p.createScrollBarForAll();var l=hn(rn(Rt)[0],Bt);l&&Z(l+1),g=!1,Cn(E.afterResize)&&e&&E.afterResize.call(f,wt.innerWidth,wt.innerHeight),Cn(E.afterReBuild)&&!e&&E.afterReBuild.call(f)}}function re(e){var t=an(L,xt);e?t||(U(!1,"internal"),_(!1,"internal"),gn(rn(Vt)),Sn(L,xt),Cn(E.afterResponsive)&&E.afterResponsive.call(f,e)):t&&(U(I.autoScrolling,"internal"),_(I.autoScrolling,"internal"),mn(rn(Vt)),bn(L,xt),Cn(E.afterResponsive)&&E.afterResponsive.call(f,e))}function ie(e){var t=e.target;t&&xn(t,Vt+" a")?function(e){On(e);var t=hn(xn(this,Vt+" li"));Ee(rn(Bt)[t])}.call(t,e):Hn(t,".fp-tooltip")?function(){In(dn(this),"click")}.call(t):Hn(t,Zt)?function(){var e=xn(this,Bt);an(this,en)?v.m.left&&ne(e):v.m.right&&te(e)}.call(t,e):Hn(t,Jt)||null!=xn(t,Jt)?function(e){On(e);var t=rn(_t,xn(this,Bt))[0],n=rn(Ut,t)[hn(xn(this,"li"))];We(t,n)}.call(t,e):xn(t,E.menu+" [data-menuanchor]")&&function(e){!rn(E.menu)[0]||!E.lockAnchors&&E.anchors.length||(On(e),ee(this.getAttribute("data-menuanchor")))}.call(t,e)}function le(e,t){yt["fp_"+e]=t,yt.addEventListener(e,ae,!0)}function ae(t){t.target!=yt&&E.normalScrollElements.split(",").forEach(function(e){null!=xn(t.target,e)&&$(yt["fp_"+t.type])})}function se(e,t,n){var o=100*n,r=100/n,i=yt.createElement("div");i.className=Xt,yn(t,i);var l,a,s=yt.createElement("div");s.className=Kt,yn(t,s),cn(rn(qt,e),{width:o+"%"}),1<n&&(E.controlArrows&&(l=e,a=[Rn('<div class="fp-controlArrow fp-prev"></div>'),Rn('<div class="fp-controlArrow fp-next"></div>')],An(rn(_t,l)[0],a),"#fff"!==E.controlArrowColor&&(cn(rn(nn,l),{"border-color":"transparent transparent transparent "+E.controlArrowColor}),cn(rn(tn,l),{"border-color":"transparent "+E.controlArrowColor+" transparent transparent"})),E.loopHorizontal||gn(rn(tn,l))),E.slidesNavigation&&function(e,t){wn(Rn('<div class="'+Qt+'"><ul></ul></div>'),e);var n=rn(Gt,e)[0];Sn(n,"fp-"+E.slidesNavPosition);for(var o=0;o<t;o++)wn(Rn('<li><a href="#"><span class="fp-sr-only">'+ce(o,"Slide")+"</span><span></span></a></li>"),rn("ul",n)[0]);cn(n,{"margin-left":"-"+n.innerWidth/2+"px"}),Sn(rn("a",rn("li",n)[0]),Ot)}(e,n)),t.forEach(function(e){cn(e,{width:r+"%"}),E.verticalCentered&&Je(e)});var c=rn(Wt,e)[0];null!=c&&(0!==hn(rn(Rt),Bt)||0===hn(rn(Rt),Bt)&&0!==hn(c))?ct(c,"internal"):Sn(t[0],Ot)}function ce(e,t){return E.navigationTooltips[e]||E.anchors[e]||t+" "+(e+1)}function ue(){var e,t=rn(Rt)[0];Sn(t,It),Oe(t),Ce(t),E.scrollOverflow&&E.scrollOverflowHandler.afterLoad(),(!(e=tt(je().section))||void 0!==e&&hn(e)===hn(u))&&Cn(E.afterLoad)&&Le("afterLoad",{activeSection:null,element:t,direction:null,anchorLink:t.getAttribute("data-anchor"),sectionIndex:hn(t,Bt)}),Cn(E.afterRender)&&Le("afterRender")}function fe(){var e,t,n,o,r,i;if(!E.autoScrolling||E.scrollBar){var l=kn(),a=(i=R<(r=l)?"down":"up",V=R=r,i),s=0,c=l+sn()/2,u=L.offsetHeight-sn()===l,f=rn(Bt);if(u)s=f.length-1;else if(l)for(var d=0;d<f.length;++d)f[d].offsetTop<=c&&(s=d);else s=0;if(t=a,n=rn(Rt)[0].offsetTop,o=n+sn(),("up"!=t?n<=kn():o>=kn()+sn())&&(an(rn(Rt)[0],It)||(Sn(rn(Rt)[0],It),bn(Mn(rn(Rt)[0]),It))),!an(e=f[s],Ot)){B=!0;var v,p,h=rn(Rt)[0],g=hn(h,Bt)+1,m=Ge(e),S=e.getAttribute("data-anchor"),b=hn(e,Bt)+1,w=rn(Wt,e)[0],y={activeSection:h,sectionIndex:b-1,anchorLink:S,element:e,leavingSection:g,direction:m};w&&(p=w.getAttribute("data-anchor"),v=hn(w)),T&&(Sn(e,Ot),bn(Mn(e),Ot),Cn(E.onLeave)&&Le("onLeave",y),Cn(E.afterLoad)&&Le("afterLoad",y),He(h),Oe(e),Ce(e),Qe(S,b
11-1),E.anchors.length&&(x=S),rt(v,p,S)),clearTimeout(k),k=setTimeout(function(){B=!1},100)}E.fitToSection&&(clearTimeout(M),M=setTimeout(function(){E.fitToSection&&rn(Rt)[0].offsetHeight<=A&&de()},E.fitToSectionDelay))}}function de(){T&&(g=!0,Ee(rn(Rt)[0]),g=!1)}function ve(e){if(v.m[e]){var t="down"===e?J:G;if(E.scrollOverflow){var n=E.scrollOverflowHandler.scrollable(rn(Rt)[0]),o="down"===e?"bottom":"top";if(null!=n){if(!E.scrollOverflowHandler.isScrolled(o,n))return!0;t()}else t()}else t()}}function pe(e){E.autoScrolling&&ge(e)&&On(e)}function he(e){var t=xn(e.target,Bt);if(ge(e)){E.autoScrolling&&On(e);var n=st(e);N=n.y,P=n.x,rn(_t,t).length&&Math.abs(j-P)>Math.abs(z-N)?!a&&Math.abs(j-P)>wt.innerWidth/100*E.touchSensitivity&&(P<j?v.m.right&&te(t):v.m.left&&ne(t)):E.autoScrolling&&T&&Math.abs(z-N)>wt.innerHeight/100*E.touchSensitivity&&(N<z?ve("down"):z<N&&ve("up"))}}function ge(e){return void 0===e.pointerType||"mouse"!=e.pointerType}function me(e){if(E.fitToSection&&(w=!1),ge(e)){var t=st(e);z=t.y,j=t.x}}function Se(e,t){for(var n=0,o=e.slice(Math.max(e.length-t,1)),r=0;r<o.length;r++)n+=o[r];return Math.ceil(n/t)}function be(e){var t=(new Date).getTime(),n=an(rn(".fp-completely")[0],Pt);if(!v.m.down&&!v.m.up)return On(e),!1;if(E.autoScrolling&&!c&&!n){var o=(e=e||wt.event).wheelDelta||-e.deltaY||-e.detail,r=Math.max(-1,Math.min(1,o)),i=void 0!==e.wheelDeltaX||void 0!==e.deltaX,l=Math.abs(e.wheelDeltaX)<Math.abs(e.wheelDelta)||Math.abs(e.deltaX)<Math.abs(e.deltaY)||!i;149<d.length&&d.shift(),d.push(Math.abs(o)),E.scrollBar&&On(e);var a=t-D;if(D=t,200<a&&(d=[]),T){var s=Se(d,10);Se(d,70)<=s&&l&&ve(r<0?"down":"up")}return!1}E.fitToSection&&(w=!1)}function we(e,t){var n=null==t?rn(Rt)[0]:t,o=rn(_t,n)[0];if(!(null==o||a||rn(Ut,o).length<2)){var r=rn(Wt,o)[0],i=null;if(null==(i="left"===e?un(r,Ut):fn(r,Ut))){if(!E.loopHorizontal)return;var l=Mn(r);i="left"===e?l[l.length-1]:l[0]}a=!h.test.isTesting,We(o,i,e)}}function ye(){for(var e=rn(Wt),t=0;t<e.length;t++)ct(e[t],"internal")}function Ee(e,t,n){if(null!=e){var o,r,i,l,a,s,c,u,f,d={element:e,callback:t,isMovementUp:n,dtop:(r=(o=e).offsetHeight,i=o.offsetTop,a=V<(l=i),s=l-A+r,c=E.bigSectionsDestination,A<r?(a||c)&&"bottom"!==c||(l=s):(a||g&&null==vn(o))&&(l=s),V=l),yMovement:Ge(e),anchorLink:e.getAttribute("data-anchor"),sectionIndex:hn(e,Bt),activeSlide:rn(Wt,e)[0],activeSection:rn(Rt)[0],leavingSection:hn(rn(Rt),Bt)+1,localIsResizing:g};if(!(d.activeSection==e&&!g||E.scrollBar&&kn()===d.dtop&&!an(e,Nt))){if(null!=d.activeSlide&&(u=d.activeSlide.getAttribute("data-anchor"),f=hn(d.activeSlide)),!d.localIsResizing){var v=d.yMovement;if(void 0!==n&&(v=n?"up":"down"),d.direction=v,Cn(E.onLeave)&&!1===Le("onLeave",d))return}E.autoScrolling&&E.continuousVertical&&void 0!==d.isMovementUp&&(!d.isMovementUp&&"up"==d.yMovement||d.isMovementUp&&"down"==d.yMovement)&&((p=d).isMovementUp?Tn(rn(Rt)[0],jn(p.activeSection,Bt)):An(rn(Rt)[0],Nn(p.activeSection,Bt).reverse()),ut(rn(Rt)[0].offsetTop),ye(),p.wrapAroundElements=p.activeSection,p.dtop=p.element.offsetTop,p.yMovement=Ge(p.element),p.leavingSection=hn(p.activeSection,Bt)+1,p.sectionIndex=hn(p.element,Bt),d=p),d.localIsResizing||He(d.activeSection),E.scrollOverflow&&E.scrollOverflowHandler.beforeLeave(),Sn(e,Ot),bn(Mn(e),Ot),Oe(e),E.scrollOverflow&&E.scrollOverflowHandler.onLeave(),T=h.test.isTesting,rt(f,u,d.anchorLink,d.sectionIndex),function(e){if(E.css3&&E.autoScrolling&&!E.scrollBar){var t="translate3d(0px, -"+Math.round(e.dtop)+"px, 0px)";et(t,!0),E.scrollingSpeed?(clearTimeout(m),m=setTimeout(function(){ke(e)},E.scrollingSpeed)):ke(e)}else{var n=Te(e.dtop);h.test.top=-e.dtop+"px",ht(n.element,n.options,E.scrollingSpeed,function(){E.scrollBar?setTimeout(function(){ke(e)},30):ke(e)})}}(d),x=d.anchorLink,Qe(d.anchorLink,d.sectionIndex)}}var p}function Le(e,t){var n,o,r,i,l=(o=e,r=t,(i=E.v2compatible?{afterRender:function(){return[f]},onLeave:function(){return[r.activeSection,r.leavingSection,r.sectionIndex+1,r.direction]},afterLoad:function(){return[r.element,r.anchorLink,r.sectionIndex+1]},afterSlideLoad:function(){return[r.destiny,r.anchorLink,r.sectionIndex+1,r.slideAnchor,r.slideIndex]},onSlideLeave:function(){return[r.prevSlide,r.anchorLink,r.sectionIndex+1,r.prevSlideIndex,r.direction,r.slideIndex]}}
11:{afterRender:function(){return{section:xe(rn(Rt)[0]),slide:Ae(rn(Wt,rn(Rt)[0])[0])}},onLeave:function(){return{origin:xe(r.activeSection),destination:xe(r.element),direction:r.direction}},afterLoad:function(){return i.onLeave()},afterSlideLoad:function(){return{section:xe(r.section),origin:Ae(r.prevSlide),destination:Ae(r.destiny),direction:r.direction}},onSlideLeave:function(){return i.afterSlideLoad()}})[o]());if(E.v2compatible){if(!1===E[e].apply(l[0],l.slice(1)))return!1}else if(In(f,e,l),!1===E[e].apply(l[Object.keys(l)[0]],(n=l,Object.keys(n).map(function(e){return n[e]}))))return!1;return!0}function xe(e){return e?new St(e):null}function Ae(e){return e?new bt(e):null}function Te(e){var t={};return E.autoScrolling&&!E.scrollBar?(t.options=-e,t.element=rn(Lt)[0]):(t.options=e,t.element=wt),t}function ke(e){var t;null!=(t=e).wrapAroundElements&&(t.isMovementUp?Tn(rn(Bt)[0],t.wrapAroundElements):An(rn(Bt)[rn(Bt).length-1],t.wrapAroundElements),ut(rn(Rt)[0].offsetTop),ye()),Cn(E.afterLoad)&&!e.localIsResizing&&Le("afterLoad",e),E.scrollOverflow&&E.scrollOverflowHandler.afterLoad(),e.localIsResizing||Ce(e.element),Sn(e.element,It),bn(Mn(e.element),It),T=!0,Cn(e.callback)&&e.callback()}function Me(e,t){e.setAttribute(t,e.getAttribute("data-"+t)),e.removeAttribute("data-"+t)}function Oe(e){E.lazyLoading&&rn("img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]",Be(e)).forEach(function(n){if(["src","srcset"].forEach(function(e){var t=n.getAttribute("data-"+e);null!=t&&t&&Me(n,e)}),Hn(n,"source")){var e=xn(n,"video, audio");e&&e.load()}})}function Ce(e){var t=Be(e);rn("video, audio",t).forEach(function(e){e.hasAttribute("data-autoplay")&&"function"==typeof e.play&&e.play()}),rn('iframe[src*="youtube.com/embed/"]',t).forEach(function(e){e.hasAttribute("data-autoplay")&&Ie(e),e.onload=function(){e.hasAttribute("data-autoplay")&&Ie(e)}})}function Ie(e){e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function He(e){var t=Be(e);rn("video, audio",t).forEach(function(e){e.hasAttribute("data-keepplaying")||"function"!=typeof e.pause||e.pause()}),rn('iframe[src*="youtube.com/embed/"]',t).forEach(function(e){/youtube\.com\/embed\//.test(e.getAttribute("src"))&&!e.hasAttribute("data-keepplaying")&&e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function Be(e){var t=rn(Wt,e);return t.length&&(e=t[0]),e}function Re(){var e=je(),t=e.section,n=e.slide;t&&(E.animateAnchor?nt(t,n):Z(t,n))}function ze(){if(!B&&!E.lockAnchors){var e=je(),t=e.section,n=e.slide,o=void 0===x,r=void 0===x&&void 0===n&&!a;t&&t.length&&(t&&t!==x&&!o||r||!a&&i!=n)&&nt(t,n)}}function je(){var e,t,n=wt.location.hash;if(n.length){var o=n.replace("#","").split("/"),r=-1<n.indexOf("#/");e=r?"/"+o[1]:decodeURIComponent(o[0]);var i=r?o[2]:o[1];i&&i.length&&(t=decodeURIComponent(i))}return{section:e,slide:t}}function Ne(e){clearTimeout(b);var t=yt.activeElement,n=e.keyCode;9===n?function(e){var t,n,o,r,i,l,a,s=e.shiftKey,c=yt.activeElement,u=Ye(Be(rn(Rt)[0]));function f(e){return On(e),u[0]?u[0].focus():null}(t=e,n=Ye(yt),o=n.indexOf(yt.activeElement),r=t.shiftKey?o-1:o+1,i=n[r],l=Ae(xn(i,Ut)),a=xe(xn(i,Bt)),l||a)&&(c?null==xn(c,Rt+","+Rt+" "+Wt)&&(c=f(e)):f(e),(!s&&c==u[u.length-1]||s&&c==u[0])&&On(e))}(e):Hn(t,"textarea")||Hn(t,"input")||Hn(t,"select")||"true"===t.getAttribute("contentEditable")||""===t.getAttribute("contentEditable")||!E.keyboardScrolling||!E.autoScrolling||(-1<[40,38,32,33,34].indexOf(n)&&On(e),c=e.ctrlKey,b=setTimeout(function(){!function(e){var t=e.shiftKey;if(T||!([37,39].indexOf(e.keyCode)<0))switch(e.keyCode){case 38:case 33:v.k.up&&G();break;case 32:if(t&&v.k.up){G();break}case 40:case 34:v.k.down&&J();break;case 36:v.k.up&&ee(1);break;case 35:v.k.down&&ee(rn(Bt).length);break;case 37:v.k.left&&ne();break;case 39:v.k.right&&te()}}(e)},150))}function Pe(e){l&&(c=e.ctrlKey)}function De(e){2==e.which&&(Y=e.pageY,f.addEventListener("mousemove",Ue))}function Ve(e){2==e.which&&f.removeEventListener("mousemove",Ue)}function Ye(e){return[].slice.call(rn(C,e)).filter(function(e){return"-1"!==e.getAttribute("tabindex")&&null!==e.offsetParent})}function Fe(){c=l=!1}function Ue(e){T&&(e.pageY<Y&&v.m.up?G():e.pageY>Y&&v.m.down&&J()),Y=e.pageY}function We(e,t,n){var o,r,i=xn(e,Bt),l={slides:e,destiny:t,direction:n,destinyPos:{left:t.offsetLeft},slideIndex:hn(t),section:i,sectionIndex:hn(i,Bt),anchorLink:i.getAttribute("data-anchor"),slidesNav:rn(Gt,i)[0],slideAnchor:lt(t),prevSlide:rn(Wt,i)[0],prevSlideIndex:hn(rn(Wt,i)[0]),localIsResizing:g};l.xMovement=(o=l.prevSlideIndex,r=l.slideIndex,o==r?"none":r<o?"left":"right"),l.localIsResizing||(T=!1),E.onSlideLeave&&!l.localIsResizing&&"none"!==l.xMovement&&Cn(E.onSlideLeave)&&!1===Le("onSlideLeave",l)?a=!1:(Sn(t,Ot),bn(Mn(t),Ot),l.localIsResizing||(He(l.prevSlide),Oe(t)),!E.loopHorizontal&&E.controlArrows&&(Bn(rn(tn,i),0!==l.slideIndex),Bn(rn(nn,i),null!=vn(t))),an(i,Ot)&&!l.localIsResizing&&rt(l.slideIndex,l.slideAnchor,l.anchorLink,l.sectionIndex),function(e,t,n){var o=t.destinyPos;
11if(E.css3){var r="translate3d(-"+Math.round(o.left)+"px, 0px, 0px)";h.test.translate3dH[t.sectionIndex]=r,cn(qe(rn(qt,e)),ft(r)),S=setTimeout(function(){n&&Xe(t)},E.scrollingSpeed)}else h.test.left[t.sectionIndex]=Math.round(o.left),ht(e,Math.round(o.left),E.scrollingSpeed,function(){n&&Xe(t)})}(e,l,!0))}function Xe(e){var t,n;t=e.slidesNav,n=e.slideIndex,E.slidesNavigation&&null!=t&&(bn(rn(Ct,t),Ot),Sn(rn("a",rn("li",t)[n]),Ot)),e.localIsResizing||(Cn(E.afterSlideLoad)&&Le("afterSlideLoad",e),T=!0,Ce(e.destiny)),a=!1}function _e(){if(Ke(),n){var e=yt.activeElement;if(!Hn(e,"textarea")&&!Hn(e,"input")&&!Hn(e,"select")){var t=sn();Math.abs(t-F)>20*Math.max(F,t)/100&&(s=setTimeout(function(){oe(!0),F=t},navigator.userAgent.match("CriOS")?50:0))}}else clearTimeout(s),s=setTimeout(function(){oe(!0)},350)}function Ke(){var e=E.responsive||E.responsiveWidth,t=E.responsiveHeight,n=e&&wt.innerWidth<e,o=t&&wt.innerHeight<t;e&&t?re(n||o):e?re(n):t&&re(o)}function qe(e){var t="all "+E.scrollingSpeed+"ms "+E.easingcss3;return bn(e,At),cn(e,{"-webkit-transition":t,transition:t})}function $e(e){return Sn(e,At)}function Qe(e,t){var n,o,r,i;n=e,o=rn(E.menu)[0],E.menu&&null!=o&&(bn(rn(Ct,o),Ot),Sn(rn('[data-menuanchor="'+n+'"]',o),Ot)),r=e,i=t,E.navigation&&null!=rn(Vt)[0]&&(bn(rn(Ct,rn(Vt)[0]),Ot),Sn(r?rn('a[href="#'+r+'"]',rn(Vt)[0]):rn("a",rn("li",rn(Vt)[0])[i]),Ot))}function Ge(e){var t=hn(rn(Rt)[0],Bt),n=hn(e,Bt);return t==n?"none":n<t?"up":"down"}function Je(e){if(!an(e,$t)){var t=yt.createElement("div");t.className=zt,t.style.height=Ze(e)+"px",Sn(e,$t),En(e,t)}}function Ze(e){var t=A;if(E.paddingTop||E.paddingBottom){var n=e;an(n,Ht)||(n=xn(e,Bt));var o=parseInt(getComputedStyle(n)["padding-top"])+parseInt(getComputedStyle(n)["padding-bottom"]);t=A-o}return t}function et(e,t){t?qe(f):$e(f),cn(f,ft(e)),h.test.translate3d=e,setTimeout(function(){bn(f,At)},10)}function tt(e){var t=rn(Bt+'[data-anchor="'+e+'"]',f)[0];if(!t){var n=void 0!==e?e-1:0;t=rn(Bt)[n]}return t}function nt(e,t){var n=tt(e);if(null!=n){var o,r,i,l=(null==(i=rn(Ut+'[data-anchor="'+(o=t)+'"]',r=n)[0])&&(o=void 0!==o?o:0,i=rn(Ut,r)[o]),i);lt(n)===x||an(n,Ot)?ot(l):Ee(n,function(){ot(l)})}}function ot(e){null!=e&&We(xn(e,_t),e)}function rt(e,t,n,o){var r="";E.anchors.length&&!E.lockAnchors&&(e?(null!=n&&(r=n),null==t&&(t=e),it(r+"/"+(i=t))):(null!=e&&(i=t),it(n))),at()}function it(e){if(E.recordHistory)location.hash=e;else if(n||o)wt.history.replaceState(void 0,void 0,"#"+e);else{var t=wt.location.href.split("#")[0];wt.location.replace(t+"#"+e)}}function lt(e){if(!e)return null;var t=e.getAttribute("data-anchor"),n=hn(e);return null==t&&(t=n),t}function at(){var e=rn(Rt)[0],t=rn(Wt,e)[0],n=lt(e),o=lt(t),r=String(n);t&&(r=r+"-"+o),r=r.replace("/","-").replace("#","");var i=new RegExp("\\b\\s?"+Mt+"-[^\\s]+\\b","g");
11L.className=L.className.replace(i,""),Sn(L,Mt+"-"+r)}function st(e){var t=[];return t.y=void 0!==e.pageY&&(e.pageY||e.pageX)?e.pageY:e.touches[0].pageY,t.x=void 0!==e.pageX&&(e.pageY||e.pageX)?e.pageX:e.touches[0].pageX,o&&ge(e)&&E.scrollBar&&void 0!==e.touches&&(t.y=e.touches[0].pageY,t.x=e.touches[0].pageX),t}function ct(e,t){X(0,"internal"),void 0!==t&&(g=!0),We(xn(e,_t),e),void 0!==t&&(g=!1),X(I.scrollingSpeed,"internal")}function ut(e){var t=Math.round(e);if(E.css3&&E.autoScrolling&&!E.scrollBar)et("translate3d(0px, -"+t+"px, 0px)",!1);else if(E.autoScrolling&&!E.scrollBar)cn(f,{top:-t+"px"}),h.test.top=-t+"px";else{var n=Te(t);gt(n.element,n.options)}}function ft(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function dt(t,e,n){"all"!==e?v[n][e]=t:Object.keys(v[n]).forEach(function(e){v[n][e]=t})}function vt(e,t,n){E[e]=t,"internal"!==n&&(I[e]=t)}function pt(){t,an(rn("html"),kt)?on("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(E.continuousVertical&&(E.loopTop||E.loopBottom)&&(E.continuousVertical=!1,on("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),!E.scrollOverflow||!E.scrollBar&&E.autoScrolling||on("warn","Options scrollBar:true and autoScrolling:false are mutually exclusive with scrollOverflow:true. Sections with scrollOverflow might not work well in Firefox"),!E.continuousVertical||!E.scrollBar&&E.autoScrolling||(E.continuousVertical=!1,on("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),E.scrollOverflow&&null==E.scrollOverflowHandler&&(E.scrollOverflow=!1,on("error","The option `scrollOverflow:true` requires the file `scrolloverflow.min.js`. Please include it before fullPage.js.")),["fadingEffect","continuousHorizontal","scrollHorizontally","interlockedSlides","resetSliders","responsiveSlides","offsetSections","dragAndMove","scrollOverflowReset","parallax"].forEach(function(e){E[e]&&on("warn","fullpage.js extensions require fullpage.extensions.min.js file instead of the usual fullpage.js. Requested: "+e)}),E.anchors.forEach(function(t){var e=[].slice.call(rn("[name]")).filter(function(e){return e.getAttribute("name")&&e.getAttribute("name").toLowerCase()==t.toLowerCase()}),n=[].slice.call(rn("[id]")).filter(function(e){return e.getAttribute("id")&&e.getAttribute("id").toLowerCase()==t.toLowerCase()});(n.length||e.length)&&(on("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),n.length&&on("error",'"'+t+'" is is being used by another element `id` property'),e.length&&on("error",'"'+t+'" is is being used by another element `name` property'))}))}function ht(t,n,o,r){var e,i=(e=t).self!=wt&&an(e,Xt)?e.scrollLeft:!E.autoScrolling||E.scrollBar?kn():e.offsetTop,l=n-i,a=0;w=!0;var s=function(){if(w){var e=n;a+=20,o&&(e=wt.fp_easings[E.easing](a,i,l,o)),gt(t,e),a<o?setTimeout(s,20):void 0!==r&&r()}else a<o&&r()};s()}function gt(e,t){!E.autoScrolling||E.scrollBar||e.self!=wt&&an(e,Xt)?e.self!=wt&&an(e,Xt)?e.scrollLeft=t:e.scrollTo(0,t):e.style.top=t+"px"}function mt(e,t){this.anchor=e.getAttribute("data-anchor"),this.item=e,this.index=hn(e,t),this.isLast=this.index===e.parentElement.querySelectorAll(t).length-1,this.isFirst=!this.index}function St(e){mt.call(this,e,Bt)}function bt(e){mt.call(this,e,Ut)}pt()}}),window.jQuery&&window.fullpage&&function(n,o){"use strict";n&&o?n.fn.fullpage=function(e){var t=new o(this[0],e);Object.keys(t).forEach(function(e){n.fn.fullpage[e]=t[e]})}:window.fp_utils.showError("error","jQuery is required to use the jQuery fullpage adapter!")}(window.jQuery,window.fullpage); 12//# sourceMappingURL=fullpage.min.js.map 13 14 15$(document).ready(function(){ 16 17 //initialising fullpage.js in the jQuery way 18 $('#fullpage').fullpage({ 19 navigation: true, 20 slidesNavigation: true, 21 verticalCentered: true, 22 anchors: ['firstPage', 'secondPage', 'thirdPage', 'fourthPage', 'fifthPage', 'sixthPage', 'lastPage'], 23 }); 24 25 // calling fullpage.js methods using jQuery 26 $('#moveSectionUp').click(function(e){ 27 e.preventDefault(); 28 $.fn.fullpage.moveSectionUp(); 29 }); 30 31 $('#moveSectionDown').click(function(e){ 32 e.preventDefault(); 33 $.fn.fullpage.moveSectionDown(); 34 }); 35 36 37}); 38 39 40(function () { 41 'use strict'; 42 43 var scheduled = false;
44 45 /** 46 * íì¬ íì±íë sectionì wh í´ëì¤ê° ìì¼ë©´ 47 * bodyìë wh í´ëì¤ë¥¼ ì¶ê°íë¤. 48 */ 49 function updatePageColor() { 50 var activeSection = document.querySelector( 51 '#fullpage > .section.active' 52 ); 53 54 if (!activeSection) { 55 return; 56 } 57 58 document.body.classList.toggle( 59 'wh', 60 activeSection.classList.contains('wh') 61 ); 62 } 63 64 /** 65 * fullPageì í´ëì¤ ë³ê²½ì´ 모ë ëë ë¤ ì¤íëëë¡ ì²ë¦¬ 66 */ 67 function scheduleUpdate() { 68 if (scheduled) { 69 return; 70 } 71 72 scheduled = true; 73 74 requestAnimationFrame(function () { 75 requestAnimationFrame(function () { 76 scheduled = false; 77 updatePageColor(); 78 }); 79 }); 80 } 81 82 function initPageColor() { 83 var fullpage = document.getElementById('fullpage'); 84 85 if (!fullpage) { 86 return; 87 } 88 89 // ìµì´ íë©´ ì ì© 90 scheduleUpdate(); 91 92 // fullPageê° sectionì active í´ëì¤ë¥¼ ë³ê²½íë ìê° ê°ì§ 93 var observer = new MutationObserver(function (mutations) { 94 var activeClassChanged = mutations.some(function (mutation) { 95 return ( 96 mutation.type === 'attributes' && 97 mutation.attributeName === 'class' && 98 mutation.target.classList.contains('section') 99 ); 100 }); 101 102 if (activeClassChanged) { 103 scheduleUpdate(); 104 } 105 }); 106 107 observer.observe(fullpage, { 108 subtree: true, 109 attributes: true, 110 attributeFilter: ['class'] 111 }); 112 113 // ë¸ë¼ì°ì ë¤ë¡ê°ê¸°, í´ì ì´ë ë±ì ê²½ì°ìë ê°±ì 114 window.addEventListener('hashchange', scheduleUpdate); 115 window.addEventListener('load', scheduleUpdate); 116 } 117 118 if (document.readyState === 'loading') { 119 document.addEventListener('DOMContentLoaded', initPageColor); 120 } else { 121 initPageColor(); 122 } 123})(); 124$(document).ready(function() { 125 126 const articles = document.querySelectorAll(".ga09textani"); 127 128 const articleObserver = new IntersectionObserver((entries, observer) => { 129 entries.forEach(entry => { 130 if (entry.isIntersecting) { 131 entry.target.classList.add('show'); 132 } else { 133 entry.target.classList.remove('show'); 134 } 135 }); 136 }, { threshold: 0.3 }); 137 138 articles.forEach(article => { 139 articleObserver.observe(article); 140 }); 141 142 const delays = document.querySelectorAll('.delay'); 143 144 delays.forEach((delay) => { 145 const delayTime = delay.getAttribute("data-delay"); 146 delay.style.animationDelay = `${delayTime}s` 147 }) 148}); 149 150/** 151 * hasClass 152 */ 153function hasClass(element, className){ 154 return (' ' + element.className + ' ').indexOf(' ' + className+ ' ') > -1; 155}; 156 157/** 158 * toggle 159 */ 160function toggleClassAll(element, handler, className){ 161 var _handler = document.querySelector(handler); 162 document.querySelectorAll(handler).forEach(function(item){ 163 item.addEventListener('click', function(){ 164 var _element = item.parentNode; 165 if ( hasClass( _element, className ) ) { 166 _element.classList.remove( className ); 167 } else { 168 _element.classList.add( className ); 169 } 170 }) 171 }) 172}; 173 174/** 175 * findElements 176 */ 177function findElements(element, findElement){ 178 var resultElements = []; 179 document.querySelectorAll(element).forEach(function(item){ 180 var findElementList = item.querySelectorAll(findElement); 181 findElementList = Array.prototype.slice.call(findElementList); 182 resultElements = resultElements.concat(findElementList); 183 }) 184 return resultElements; 185}; 186 187/** 188 * setAttributeAl 189 */ 190function setAttributeAll(elements, name, value){ 191 elements.forEach(function(item){ 192 item.setAttribute(name, value); 193 }) 194}; 195 196/**
197 * ìí ì¬ë¤ì¼ ë¡ëëì§ ìì ê²½ì°, ê¸°ë³¸ê° ì¤ì 198 */ 199function setDefaultImage(element) { 200 document.querySelectorAll(element).forEach(function(item){ 201 var $img = new Image(); 202 $img.onerror = function () { 203 item.src="//img.echosting.cafe24.com/thumb/img_product_big.gif"; 204 } 205 $img.src = item.src; 206 }); 207}; 208 209/** 210 * tooltip 211 */ 212function setTooltipEvent(){ 213 var input = findElements('.eTooltip', 'input'); 214 input.forEach(function(item){ 215 item.addEventListener('focusin', function(event){ 216 var targetName = returnTargetName(event.target); 217 targetName.nextElementSibling.style.display = 'block' 218 }); 219 item.addEventListener('focusout', function(event){ 220 var targetName = returnTargetName(event.target); 221 targetName.nextElementSibling.style.display = 'none' 222 }); 223 }); 224} 225 226/** 227 * tooltip input focus 228 */ 229function returnTargetName(_this){ 230 var ePlacename = _this.parentElement.getAttribute("class"); 231 var targetName; 232 if(ePlacename == "ePlaceholder"){ //ePlaceholder supported 233 targetName = _this.parentElement; 234 }else{ 235 targetName = _this; 236 } 237 return targetName; 238} 239 240/** 241 * window load 242 */ 243window.addEventListener('load', function(){ 244 if (document.querySelector('.thumbnail')){ 245 setDefaultImage('.thumbnail img'); 246 } 247 if (document.querySelector('.eTooltip')){ 248 setAttributeAll(findElements('.eTooltip', '.btnClose'),'tabIndex','-1'); 249 setTooltipEvent(); 250 } 251 if (document.querySelector('div.eToggle')){ 252 toggleClassAll(false, 'div.eToggle .title', 'selected'); 253 } 254}); 255function toggleClass(element, handler, className){ 256 var _handler = document.querySelector(handler); 257 var _element = document.querySelector(element); 258 259 _handler.addEventListener('click', function(){ 260 if ( _element.classList.contains(className) ) { 261 _element.classList.remove( className ); 262 } else { 263 _element.classList.add( className ); 264 } 265 }); 266} 267 268jQuery(document).ready(function() { 269 270 271 272 /* ë©í°ìµ ììê²½ì° ì¨ê¹ */ 273 jQuery(".xans-layout-multishoplist").each(function(){ 274 var multishoplist_count = jQuery('li', this).length; 275 if ( multishoplist_count == 1 ) { 276 jQuery(this).hide(); 277 } 278 }); 279 /* ë¡ê·¸ì¸íì´ì§ SNS ì¬ì©íë©´ ì¶ë ¥ */ 280 jQuery(".xans-member-login .login__sns .wrap_sns_log a").each(function(){ 281 var wrap_sns_log = jQuery(this).hasClass('displaynone'); 282 if( wrap_sns_log == false){ 283 jQuery(".xans-member-login .login__sns").css('display','block'); 284 } 285 }); 286 287 /* ë§ì´íì´ì§ ëìê²ìê¸ ììë ë©ìì§ íì */ 288 jQuery(".xans-myshop-boardpackage").each(function(){ 289 var boardlist = jQuery(".xans-myshop-boardlist table", this).length; 290 if ( boardlist == '0' ) { 291 jQuery('.myshop_boardlist_empty').css('display','flex'); 292 } 293 }); 294 295 /* ë보기 í´ë¦ì */ 296 jQuery('.btnMore').click(function(){ 297 setTimeout(function(){ 298 ifmore(); 299 },600) 300 }); 301 setTimeout(function(){ 302 ifmore(); 303 },300) 304 305}); 306 307/* ë보기 í´ë¦ì */ 308function ifmore(){ 309 /* ìí ì¸ë¤ì¼ ê´ì¬ìí ì¶ë ¥ & ì¨ê¹ */ 310 setTimeout(function(){ 311 jQuery('.ec-base-product .prdList .icon__box .wish').each(function(){ 312 var isstatus = jQuery(this).children('img').attr('icon_status'); 313 if ( isstatus == 'on' ) { 314 jQuery(this).addClass('on'); 315 } 316 }); 317 jQuery('.ec-base-product .prdList .icon__box .wish').click(function(){ 318 var isstatus = jQuery(this).children('img').attr('icon_status'); 319 if ( isstatus == 'off' ) { 320 jQuery(this).addClass('on'); 321 } else { 322 jQuery(this).removeClass('on'); 323 } 324 }); 325 },200) 326 jQuery('.ec-base-product .prdList > li').each(function(){ 327 /* ìíì§ì´ ì¥ë°êµ¬ë ì¬ì©ìí ì ì¨ê¹ */ 328 if (jQuery(".icon__box .cart > .ec-admin-icon", this).length == 1) { 329 } else { 330 jQuery('.icon__box .cart', this).hide(); 331 } 332 /* ìíì§ì´ ìµì 미리보기 ì¬ì©ìí ì ì¨ê¹ */ 333 if (jQuery(".icon__box .option > a", this).length == 1) { 334 } else { 335 jQuery('.icon__box .option', this).hide(); 336 } 337 /* ìíì§ì´ ê´ì¬ìí ì¬ì©ìí ì ì¨ê¹ */ 338 if (jQuery(".icon__box .wish > .ec-product-listwishicon", this).length == 1) { 339 } else { 340 jQuery('.icon__box .wish', this).hide(); 341 } 342 }); 343} 344 345$(document).ready(function(){ 346 347 348 $('#bottom .bottom_box_wrap').click(function(){ 349 if($(window).width() > 1024){ 350 return; 351 }else{ 352 if($(this).hasClass('active')){ 353 $('#bottom .bottom_box_wrap').removeClass('active');
354 $('#bottom .bottom_contents').slideUp(); 355 }else{ 356 $('#bottom .bottom_box_wrap').removeClass('active'); 357 $('#bottom .bottom_contents').slideUp(); 358 $(this).addClass('active'); 359 $(this).find('.bottom_contents').slideDown(); 360 } 361 } 362 }); 363 364 let lastScrollTop = 0; 365 const topBar = document.getElementById('top'); 366 367 window.addEventListener('scroll', function () { 368 const isMenuOpen = document.getElementById('toggle').classList.contains('open'); 369 if (isMenuOpen) { 370 // ë©ë´ ì´ë ¤ìì ëë íì ë³´ì´ê² 371 topBar.style.transform = 'translateY(0)'; 372 return; 373 } 374 375 const currentScroll = window.pageYOffset || document.documentElement.scrollTop; 376 377 if (currentScroll > lastScrollTop) { 378 // ìëë¡ ì¤í¬ë¡¤ â ì¨ê¹ 379 topBar.style.transform = 'translateY(-100%)'; 380 } else { 381 // ìë¡ ì¤í¬ë¡¤ â ëíë¨ 382 topBar.style.transform = 'translateY(0)'; 383 } 384 385 lastScrollTop = currentScroll <= 0 ? 0 : currentScroll; 386 }, false); 387 388// í ê¸ ë²í¼ í´ë¦ ì 389 $("#toggle").click(function() { 390 $(this).toggleClass("open"); 391 $("#fullmenu").toggleClass("opened"); 392 $(this).toggleClass("opened"); 393 $("#wrap_dialog").toggle(); // ì´ë ¤ìì¼ë©´ ë«ê³ , ë«íìì¼ë©´ ì´ë¦¼ 394 }); 395 396 // fullmenu(ë°°ê²½ ë±) í´ë¦ ì ë«ê¸° 397 $("#fullmenu").click(function(e) { 398 // í´ë¦í ëìì´ í¹ì ììë¤ì´ë¼ë©´ ë«ì§ ìê³ ì ì§ 399 if ( 400 $(e.target).is('a, span, strong, em, button, input, .search-input') || 401 $(e.target).closest('.search-input').length 402 ) { 403 return; 404 } 405 406 // ë©ë´ ë«ê¸° ì¤í 407 $("#toggle").removeClass("open opened"); 408 $("#fullmenu").removeClass("opened"); 409 410 // ì¶ê°ë ë¶ë¶: ë©ë´ê° ë«í ë dialogë í¨ê» ì¨ê¹ 411 $("#wrap_dialog").hide(); 412 }); 413 414 $("#toggle-right").click(function() { 415 $(this).toggleClass("open"); 416 $("#right").toggleClass("opened"); 417 }); 418 419 // ë©ë´ ì 체를 í´ë¦íì ë 420 $("#right").click(function(e) { 421 if ( 422 $(e.target).is('a, span, strong, em, button, input, .search-input') || 423 $(e.target).closest('.right-search-bar').length 424 ) { 425 return; 426 } 427 428 // ë«ê¸° ëì ì¤í 429 $("#toggle-right").removeClass("open"); 430 $("#right").removeClass("opened"); 431 }); 432 433 434 435 $("#searchpop").click(function () { 436 $(this).toggleClass("open"); 437 $("#searchpage").toggleClass("opened"); 438 }); 439 440 // ë°°ê²½(searchpage) í´ë¦ ì ë«ê¸° 441 $("#searchpage").click(function (e) { 442 if (!$(e.target).closest(".search-bar2").length) { 443 $(this).removeClass("opened"); 444 $("#searchpop").removeClass("open"); 445 } 446 }); 447 448 $( window ).scroll(function() { 449 scrollTopProc(); 450 451 }); 452 453 454 function scrollTopProc() { 455 if($(this).scrollTop() > 1) { 456 $("#top").addClass("topbg"); 457 } 458 else { 459 $("#top").removeClass("topbg"); 460 } 461 462 } 463 464 // ì¢ì¸¡ ë©ë´ ë§ì°ì¤ ì¤ë²ì ë°°ê²½ë¸ë¬ ì¶ê° 465 $(function(){ 466 $('#left, #right-top').mouseenter(function(){ 467 $('.bcakfilter').addClass("addon"); 468 }); 469 $('#left, #right-top').mouseleave(function(){ 470 $('.bcakfilter').removeClass("addon"); 471 }); 472 }); 473 474 475 476 fnSetSubMenu2(); 477 478}); 479 480function fnSetSubMenu2() { 481 $.ajax({ 482 url: "/exec/front/Product/SubCategory", 483 dataType: "json", 484 success: function(data) { 485 if (!data) return; 486 487 // [ì¶ê°] íì¬ ì ìí 주ììì ì¤í¨ ê²½ë¡(/skin-skinì«ì/)ê° ìëì§ íì¸ 488 var skinPath = ""; 489 var currentUrl = window.location.pathname; 490 if (currentUrl.indexOf('/skin-skin') > -1) { 491 // "/skin-skin37/"ì ê°ì íí를 ì¶ì¶í©ëë¤. 492 skinPath = currentUrl.match(/\/skin-skin\d+\//)[0]; 493 } else { 494 skinPath = "/"; // ì¤ìë²ììë 루í¸(/)ë§ ì¬ì© 495 } 496 497 $(".menuall_submenu .d1").each(function() { 498 var $d1_li = $(this); 499 var d1_cate_no = $d1_li.attr("data-cate"); 500 var sub_cate_html = ""; 501 var has_sub = false;
502 503 for (var j = 0; j < data.length; j++) { 504 if (data[j].parent_cate_no == d1_cate_no) { 505 has_sub = true; 506 var mini_cate_html = ""; 507 var has_mini = false; 508 509 for (var k = 0; k < data.length; k++) { 510 if (data[j].cate_no == data[k].parent_cate_no) { 511 has_mini = true; 512 513 // ì¤í¨ ê²½ë¡ + íì¼ ê²½ë¡ + íë¼ë¯¸í° ì¡°í© 514 var d3_raw = (data[k].design_page_url + data[k].param).replace(/^\/+/, "").replace("product/product/", "product/"); 515 var d3_link = skinPath + d3_raw; 516 517 mini_cate_html += "<li class='d3'><a href='" + d3_link + "'>" + data[k].name + "</a></li>"; 518 } 519 } 520 521 var mini_div = has_mini ? "<div class='d3-wrap'><ul>" + mini_cate_html + "</ul></div>" : ""; 522 var d2_class = has_mini ? "class='has_mini'" : ""; 523 524 // ì¤í¨ ê²½ë¡ + íì¼ ê²½ë¡ + íë¼ë¯¸í° ì¡°í© 525 var d2_raw = (data[j].design_page_url + data[j].param).replace(/^\/+/, "").replace("product/product/", "product/"); 526 var d2_link = skinPath + d2_raw; 527 528 sub_cate_html += "<li class='d2'>"; 529 sub_cate_html += " <a href='" + d2_link + "' " + d2_class + " onclick='handleSubCateClick(this, event);'>" + data[j].name + "</a>"; 530 sub_cate_html += mini_div; 531 sub_cate_html += "</li>"; 532 } 533 } 534 535 if (has_sub) { 536 $d1_li.find(".d2-wrap").html("<ul>" + sub_cate_html + "</ul>"); 537 $d1_li.addClass("has_sub"); 538 } 539 }); 540 } 541 }); 542} 543 544 545 546 547 548 549 550 551 552 553// [ëë¶ë¥ í´ë¦ ì´ë²¤í¸] 554/* ========================= 555í¹ì ì¹´í ê³ ë¦¬ ì¤ì (ì¬ê¸°ë§ ìì ) 556========================= */ 557const SPECIAL_CATEGORY = { 558 "717": "/mdpick.html" // â Cafe24 ì¹´í ê³ ë¦¬ ë²í¸ 559}; 560 561$(function(){ 562 fnSetSubMenu2(); 563}); 564 565/* ========================= 566ë©ë´ ìì± (기존 ì ì§) 567========================= */ 568function fnSetSubMenu2(){ 569 $.ajax({ 570 url:"/exec/front/Product/SubCategory", 571 dataType:"json", 572 success:function(data){ 573 if(!data) return; 574 575 $(".menuall_submenu .d1").each(function(){ 576 const $d1 = $(this); 577 const cateNo = $d1.data("cate"); 578 let html = ""; 579 let hasSub = false; 580 581 data.forEach(function(item){ 582 if(item.parent_cate_no == cateNo){ 583 hasSub = true; 584 const link = "/" + item.design_page_url + item.param; 585 586 html += `<li class="d2"> 587 <a href="${link}" onclick="handleSubCateClick(this,event)"> 588 ${item.name} 589 </a> 590 </li>`; 591 } 592 }); 593 594 if(hasSub){ 595 $d1.addClass("has_sub") 596 .find(".d2-wrap") 597 .html("<ul>"+html+"</ul>"); 598 } 599 }); 600 } 601 }); 602} 603 604/* ========================= 605íµì¬: ëì¹´í ê³ ë¦¬ í´ë¦ 606========================= */ 607function handleMainCateClick(obj,e){ 608 609 const $li = $(obj).closest(".d1"); 610 const cate = String($li.data("cate")); 611 const href = $(obj).attr("href"); 612 const $wrap = $li.find(".d2-wrap"); 613 614 const hasSub = $li.hasClass("has_sub") && $wrap.find("li").length > 0; 615 const isOpen = $li.hasClass("is-open"); 616 617 const isSpecial = SPECIAL_CATEGORY[cate]; 618 619 /* ========================= 620 1. í¹ì ì¹´í ê³ ë¦¬ 621 ========================= */ 622 if(isSpecial){ 623 624 // 1í´ë¦: ì´ê¸° 625 if(!isOpen){ 626 e.preventDefault(); 627 628 $(".d1").removeClass("is-open") 629 .find(".d2-wrap").css("height",0); 630 631 $li.addClass("is-open"); 632 $wrap.css("height",$wrap[0].scrollHeight); 633 634 return; 635 } 636 637 // 2í´ë¦: ì´ë 638 window.location.href = isSpecial; 639 return; 640 } 641 642 /* ========================= 643 2. ì¼ë° ì¹´í ê³ ë¦¬ 644 ========================= */ 645 646 if(!hasSub){ 647 window.location.href = href; 648 return; 649 } 650 651 // 1í´ë¦: ì´ê¸° 652 if(!isOpen){ 653 e.preventDefault(); 654 655 $(".d1").removeClass("is-open") 656 .find(".d2-wrap").css("height",0); 657 658 $li.addClass("is-open"); 659 $wrap.css("height",$wrap[0].scrollHeight); 660 661 return; 662 } 663 664 // 2í´ë¦: ë«ê¸° 665 e.preventDefault(); 666 $li.removeClass("is-open"); 667 $wrap.css("height",0); 668} 669 670/* ========================= 671ì¤ë¶ë¥ 672========================= */ 673function handleSubCateClick(obj,e){ 674 675 const $li = $(obj).parent(); 676 677 const $wrap = $(obj).next(".d3-wrap"); 678 679 if($wrap.length){ 680 e.preventDefault(); 681 682 const open = $wrap.hasClass("open"); 683 684 if(!open){ 685 $wrap.addClass("open").css("height",$wrap.find("ul")[0].scrollHeight); 686 }else{ 687 $wrap.removeClass("open").css("height",0); 688 } 689 } 690} 691 692 693 694 695 696 697 698 699 700 701// [ì¤ë¶ë¥ í´ë¦ ì´ë²¤í¸] 702function handleSubCateClick(obj, e) { 703 var miniMenu = $(obj).next('.d3-wrap'); 704 var parentLi = $(obj).parent('li'); 705 706 // íì ë©ë´(ìë¶ë¥)ê° ìë ê²½ì° 707 if (miniMenu.length > 0) { 708 var isOpened = miniMenu.hasClass('opened'); 709 var parentWrap = $(obj).closest('.d2-wrap'); 710 711 if (!isOpened) { 712 // 1. ë«íìì ë í´ë¦: ìë¶ë¥ í¼ì¹ê¸° (ì´ë ë°©ì§) 713 e.preventDefault(); 714 e.stopPropagation(); 715 716 // ê°ì ìì¤ì ë¤ë¥¸ ìë¶ë¥ ë«ê¸° 717 parentWrap.find('.d3-wrap.opened').each(function() { 718 var otherHeight = $(this).find('> ul').outerHeight(true); 719 $(this).removeClass('opened').height(0); 720 parentWrap.height(parentWrap.height() - otherHeight); 721 $(this).parent().removeClass('is-active'); 722 }); 723 724 // íì¬ ìë¶ë¥ ì´ê¸° 725 var targetHeight = miniMenu.find('> ul').outerHeight(true); 726 miniMenu.addClass('opened').height(targetHeight); 727 parentWrap.height(parentWrap.height() + targetHeight); // ë¶ëª¨ ëì´ ê°±ì 728 parentLi.addClass('is-active'); 729 } else { 730 // 2. ì´ë¯¸ ìë¶ë¥ê° í¼ì³ì§ ìíìì ì¤ë¶ë¥ í´ë¦: í´ë¹ ì¤ë¶ë¥ë¡ ì´ë 731 // e.preventDefault()를 í¸ì¶íì§ ìì¼ë¯ë¡ href ë§í¬ë¡ ì´ëíê² ë©ëë¤. 732 e.stopPropagation(); 733 } 734 } 735} 736 737 738// [ê³µíµ] ì ì²´ ë©ë´ ìí ì ë°ì´í¸ (í¬ëª ë ì¡°ì ì©) 739function updateMenuState() { 740 var isOpen = $('.opened').length > 0; 741 if (isOpen) { 742 $('.menuall_submenu ol').addClass('is-open'); 743 } else { 744 $('.menuall_submenu ol').removeClass('is-open'); 745 } 746} 747 748 749 750function updateVh() { 751 document.documentElement.style.setProperty('--vh', window.innerHeight * 0.01 + 'px'); 752} 753updateVh(); 754window.addEventListener('resize', updateVh); 755 756 757 758$(function(){ 759 $('dl.eToggle dt').click(function(){ 760 $(this).toggleClass('selected'); 761 $(this).next('dd').toggleClass('selected'); 762 }); 763}); 764 765//window popup script 766function winPop(url) {
767 window.open(url, "popup", "width=300,height=300,left=10,top=10,resizable=no,scrollbars=no"); 768} 769/** 770 * document.location.href split 771 * return array Param 772 */ 773function getQueryString(sKey) 774{ 775 var sQueryString = document.location.search.substring(1); 776 var aParam = {}; 777 778 if (sQueryString) { 779 var aFields = sQueryString.split("&"); 780 var aField = []; 781 for(var i=0; i<aFields.length; i++){ 782 aField = aFields[i].split('='); 783 aParam[aField[0]] = aField[1]; 784 } 785 } 786 787 aParam.page = aParam.page ? aParam.page : 1; 788 return sKey ? aParam[sKey] : aParam; 789}; 790 791 792$(function(){ 793 // tab 794 $.eTab = function(ul) { 795 $(ul).find('a').on('click', function() { 796 var _li = $(this).parent('li').addClass('selected').siblings().removeClass('selected'), 797 _target = $(this).attr('href'), 798 _siblings = '.' + $(_target).attr('class'); 799 $(_target).show().siblings(_siblings).hide(); 800 return false 801 }); 802 } 803 if ( window.call_eTab ) { 804 call_eTab(); 805 }; 806 globalBuyBtnScrollFunc(); 807}); 808 809 810const topBtn = document.getElementById("scrollToTop"); 811const bottomBtn = document.getElementById("scrollToBottom"); 812 813// ìë¡ ì´ë 814topBtn.addEventListener("click", () => { 815 window.scrollTo({ 816 top: 0, 817 behavior: "smooth" // ë¶ëë¬ì´ ì¤í¬ë¡¤ í¨ê³¼ 818 }); 819}); 820 821// ìëë¡ ì´ë 822bottomBtn.addEventListener("click", () => { 823 window.scrollTo({ 824 top: document.body.scrollHeight, 825 behavior: "smooth" 826 }); 827}); 828 829// (ì í 기ë¥) ìµìë¨ì ìì ëë Top ë²í¼ì í¬ëª íê² ë§ë¤ê¸° 830window.addEventListener("scroll", () => { 831 if (window.scrollY > 200) { 832 topBtn.style.opacity = "1"; 833 } else { 834 topBtn.style.opacity = "0.5"; 835 } 836}); 837 838 839 840 841 842 843// =============================== 844// í¹ì ì¹´í ê³ ë¦¬ ìë ì§ì (mdpick) 845// =============================== 846var SPECIAL_MENU_HREF = "/mdpick.html"; 847 848var SPECIAL_CATE_LIST = []; 849 850function initSpecialCategory(){ 851 852 $(".main_cate_link").each(function(){ 853 854 var href = $(this).attr("href"); 855 856 if(!href) return; 857 858 if(href.indexOf(SPECIAL_MENU_HREF) > -1){ 859 860 var cateNo = $(this).closest(".d1").data("cate"); 861 862 SPECIAL_CATE_LIST.push(cateNo); 863 864 $(this).closest(".d1").addClass("is-special"); 865 } 866 }); 867} 868$(function(){ 869 if (typeof(EC_SHOP_MULTISHOP_SHIPPING) != "undefined") { 870 var sShippingCountryCode4Cookie = 'shippingCountryCode'; 871 var bShippingCountryProc = false; 872 873 // ë°°ì¡êµê° ì í ì¤ì ì´ ì¬ì©ìí¨ì´ë©´ ì¨ê¹ 874 if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === false) { 875 $('.xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist').hide(); 876 $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption .xans-layout-multishoplistmultioptioncountry').hide(); 877 } else { 878 $('.thumb .xans-layout-multishoplistitem').hide(); 879 var aShippingCountryCode = document.cookie.match('(^|;) ?'+sShippingCountryCode4Cookie+'=([^;]*)(;|$)'); 880 if (typeof(aShippingCountryCode) != 'undefined' && aS
880hippingCountryCode != null && aShippingCountryCode.length > 2) { 881 var sShippingCountryValue = aShippingCountryCode[2]; 882 } 883 884 // query stringì¼ë¡ ëì´ ì¨ ë°°ì¡êµê° ê°ì´ ìë¤ë©´, ê·¸ ê°ì ì ì©í¨ 885 var aHrefCountryValue = decodeURIComponent(location.href).split("/?country="); 886 887 if (aHrefCountryValue.length == 2) { 888 var sShippingCountryValue = aHrefCountryValue[1]; 889 } 890 891 // ë©ì¸ íì´ì§ìì êµê°ì íì ìí ê²½ì°, ê·¸ ì¸ì íì´ì§ìì ì í ë ê°ì´ ì ëì¤ë íì ì²ë¦¬ 892 if (location.href.split("/").length != 4 && $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val()) { 893 $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join("")); 894 895 if ($("#f_country").length > 0 && location.href.indexOf("orderform.html") > -1) { 896 $("#f_country").val($(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val()); 897 } 898 } 899 if (typeof(sShippingCountryValue) != "undefined" && sShippingCountryValue != "" && sShippingCountryValue != null) { 900 sShippingCountryValue = sShippingCountryValue.split("#")[0]; 901 var bShippingCountryProc = true; 902 903 $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(sShippingCountryValue); 904 $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join("")); 905 var expires = new Date(); 906 expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); // 30ì¼ê° ì¿ í¤ ì ì§ 907 document.cookie = sShippingCountryCode4Cookie+'=' + $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val() +';path=/'+ ';expires=' + expires.toUTCString(); 908 if ($("#f_country").length > 0 && location.href.indexOf("orderform.html") > -1) { 909 $("#f_country").val(sShippingCountryValue).change(); 910 } 911 } 912 } 913 // ì¸ì´ì í ì¤ì ì´ ì¬ì©ìí¨ì´ë©´ ì¨ê¹ 914 if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingLanguageSelection === false) { 915 $('.xans-layout-multishopshipping .xans-layout-multishopshippinglanguagelist').hide(); 916 $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption .xans-layout-multishoplistmultioptionlanguage').hide(); 917 } else { 918 $('.thumb .xans-layout-multishoplistitem').hide(); 919 } 920 921 // ë°°ì¡êµê° ë° ì¸ì´ ì¤ì ì´ ë ë¤ ì¬ì©ìí¨ì´ë©´ ì¨ê¹ 922 if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShipping === false) { 923 $(".xans-layout-multishopshipping").hide(); 924 $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption').hide(); 925 } else if (bShippingCountryProc === false && location.href.split("/").length == 4) { // ë°°ì¡êµê° ê°ì ì²ë¦¬í ì ì´ ìê³ , ë©ì¸íë©´ì¼ ëë§ ì í ë ì´ì´ë¥¼ ëì 926 var sShippingCountryValue = $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(); 927 $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(sShippingCountryValue); 928 $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join("")); 929 // ë°°ì¡êµê° ì íì ì¬ì©í´ì¼ ë ì´ì´ë¥¼ ë³´ì´ê² í¨ 930 if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === true) { 931 $(".xans-layout-multishopshipping").show(); 932 } 933 } 934 935 $(".xans-layout-multishopshipping .btnClose").on("click", function() { 936 $(".xans-layout-multishopshipping").hide(); 937 }); 938 939 $(".xans-layout-multishopshipping .ec-base-button a").on("click", function() { 940 var expires = new Date(); 941 expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); // 30ì¼ê° ì¿ í¤ ì ì§ 942 document.cookie = sShippingCountryCode4Cookie+'=' + $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val() +';path=/'+ ';expires=' + expires.toUTCString(); 943 944 // ëë©ì¸ 문ì ë¡ ì¿ í¤ë¡ ë°°ì¡êµê° ì¤ì ì´ ì ëë ê²½ì°ë¥¼ ìí´ query stringì¼ë¡ ë°°ì¡êµê° ê°
944ì ëê¹ 945 var sQuerySting = (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === false) ? "" : "/?country="+encodeURIComponent($(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val()); 946 947 location.href = '//'+$(".xans-layout-multishopshipping .xans-layout-multishopshippinglanguagelist").val()+sQuerySting; 948 }); 949 $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a").on("click", function() { 950 $(".xans-layout-multishopshipping").show(); 951 }); 952 } 953});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.