PageSourceSearch

https://moa-studio.com/ind-script/optimizer_user.php?filename=fY5B…faea968d77a20645e52056d&t=1710717882&user=T

js moa-studio.com collected 2026-10-07 14:04:18 UTC 48,956 bytes, 674 lines download raw bytes

1/*!
2 * fullPage 2.8.0
3 * https://github.com/alvarotrigo/fullPage.js
4 * @license MIT licensed
5 *
6 * Copyright (C) 2015 alvarotrigo.com - A project by Alvaro Trigo
7 */
8(function ($) {
9  var jQuery = $;
10!function(e,n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(t){return n(t,e,e.document,e.Math)}):"undefined"!=typeof exports?module.exports=n(require("jquery"),e,e.document,e.Math):n(jQuery,e,e.document,e.Math)}("undefined"!=typeof window?window:this,function(e,n,t,o,i){"use strict";var r="fullpage-wrapper",a="."+r,l="fp-scrollable",s="."+l,c="fp-responsive",d="fp-notransition",f="fp-destroyed",u="fp-enabled",h="fp-viewing",p="active",v="."+p,m="fp-completely",g="."+m,S=".section",w="fp-section",y="."+w,b=y+v,T=y+":first",x=y+":last",C="fp-tableCell",k="."+C,L="fp-auto-height",M="fp-normal-scroll",A="fp-nav",E="#"+A,I="fp-tooltip",O="."+I,B="fp-show-active",H=".slide",R="fp-slide",D="."+R,z=D+v,P="fp-slides",F="."+P,V="fp-slidesContainer",W="."+V,q="fp-table",Y="fp-slidesNav",U="."+Y,X=U+" a",N="fp-controlArrow",j="."+N,K="fp-prev",Q="."+K,G=N+" "+K,J=j+Q,Z="fp-next",$="."+Z,_=N+" "+Z,ee=j+$,ne=e(n),te=e(t),oe={scrollbars:!0,mouseWheel:!0,hideScrollbars:!1,fadeScrollbars:!1,disableMouse:!0};e.fn.fullpage=function(l){function s(){l.css3&&(l.css3=bn()),l.scrollBar=l.scrollBar||l.hybrid,Q(),Z(),Wn.setAllowScrolling(!0),Wn.setAutoScrolling(l.autoScrolling,"internal");var n=e(b).find(z);n.length&&(0!==e(b).index(y)||0===e(b).index(y)&&0!==n.index())&&In(n),_e(),yn(),"complete"===t.readyState&&Fe(),ne.on("load",Fe)}function N(){ne.on("scroll",ve).on("hashchange",Ve).blur(je).resize($e),te.keydown(We).keyup(Ye).on("click touchstart",E+" a",Ke).on("click touchstart",X,Qe).on("click",O,qe),e(y).on("click touchstart",j,Ne),l.normalScrollElements&&(te.on("mouseenter",l.normalScrollElements,function(){Wn.setMouseWheelScrolling(!1)}),te.on("mouseleave",l.normalScrollElements,function(){Wn.setMouseWheelScrolling(!0)}))}function Q(){var n=Kn.find(l.sectionSelector);l.anchors.length||(l.anchors=n.filter("[data-anchor]").map(function(){return e(this).data("anchor").toString()}).get()),l.navigationTooltips.length||(l.navigationTooltips=n.filter("[data-tooltip]").map(function(){return e(this).data("tooltip").toString()}).get())}function Z(){Kn.css({height:"100%",position:"relative"}),Kn.addClass(r),e("html").addClass(u),Qn=ne.height(),Kn.removeClass(f),le(),e(y).each(function(n){var t=e(this),o=t.find(D),i=o.length;re(t,n),ae(t,n),i>0?$(t,o,i):l.verticalCentered&&cn(t)}),l.fixedElements&&l.css3&&e(l.fixedElements).appendTo(Vn),l.navigation&&ce(),fe(),ue(),l.scrollOverflow?("complete"===t.readyState&&de(),ne.on("load",de)):pe()}function $(n,t,o){var i=100*o,r=100/o;t.wrapAll('<div class="'+V+'" />'),t.parent().wrap('<div class="'+P+'" />'),n.find(W).css("width",i+"%"),o>1&&(l.controlArrows&&se(n),l.slidesNavigation&&mn(n,o)),t.each(function(n){e(this).css("width",r+"%"),l.verticalCentered&&cn(e(this))});var a=n.find(z);a.length&&(0!==e(b).index(y)||0===e(b).index(y)&&0!==a.index())?In(a):t.eq(0).addClass(p)}function re(n,t){t||0!==e(b).length||n.addClass(p),n.css("height",Qn+"px"),l.paddingTop&&n.css("padding-top",l.paddingTop),l.paddingBottom&&n.css("padding-bottom",l.paddingBottom),"undefined"!=typeof l.sectionsColor[t]&&n.css("background-color",l.sectionsColor[t]),"undefined"!=typeof l.anchors[t]&&n.attr("data-anchor",l.anchors[t])}function ae(n,t){"undefined"!=typeof l.anchors[t]&&n.hasClass(p)&&rn(l.anchors[t],t),l.menu&&l.css3&&e(l.menu).closest(a).length&&e(l.menu).appendTo(Vn)}function le(){e(l.sectionSelector).each(function(){e(this).addClass(w)}),e(l.slideSelector).each(function(){e(this).addClass(R)})}function se(e){e.find(F).after('<div class="'+G+'"></div><div class="'+_+'"></div>'),"#fff"!=l.controlArrowColor&&(e.find(ee).css("border-color","transparent transparent transparent "+l.controlArrowColor),e.find(J).css("border-color","transparent "+l.controlArrowColor+" transparent transparent")),l.loopHorizontal||e.find(J).hide()}function ce(){Vn.append('<div id="'+A+'"><ul></ul></div>');var n=e(E);n.addClass(function(){return l.showActiveTooltip?B+" "+l.navigationPosition:l.navigationPosition});for(var t=0;t<e(y).length;t++){var o="";l.anchors.length&&(o=l.anchors[t]);var i='<li><a href="#'+o+'"><span></span></a>',r=l.navigationTooltips[t];
10"undefined"!=typeof r&&""!==r&&(i+='<div class="'+I+" "+l.navigationPosition+'">'+r+"</div>"),i+="</li>",n.find("ul").append(i)}e(E).css("margin-top","-"+e(E).height()/2+"px"),e(E).find("li").eq(e(b).index(y)).find("a").addClass(p)}function de(){e(y).each(function(){var n=e(this).find(D);n.length?n.each(function(){sn(e(this))}):sn(e(this))}),pe()}function fe(){Kn.find('iframe[src*="youtube.com/embed/"]').each(function(){var n=he(e(this).attr("src"));e(this).attr("src",e(this).attr("src")+n+"enablejsapi=1")})}function ue(){Kn.find('iframe[src*="player.vimeo.com/"]').each(function(){var n=he(e(this).attr("src"));e(this).attr("src",e(this).attr("src")+n+"api=1")})}function he(e){return/\?/.test(e)?"&":"?"}function pe(){var n=e(b);n.addClass(m),l.scrollOverflowHandler.afterRender&&l.scrollOverflowHandler.afterRender(n),Re(n),De(n),e.isFunction(l.afterLoad)&&l.afterLoad.call(n,n.data("anchor"),n.index(y)+1),e.isFunction(l.afterRender)&&l.afterRender.call(Kn)}function ve(){var n;if(!l.autoScrolling||l.scrollBar){for(var o=ne.scrollTop(),i=ge(o),r=0,a=o+ne.height()/2,s=t.querySelectorAll(y),c=0;c<s.length;++c){var d=s[c];d.offsetTop<=a&&(r=c)}if(me(i)&&(e(b).hasClass(m)||e(b).addClass(m).siblings().removeClass(m)),n=e(s).eq(r),!n.hasClass(p)){lt=!0;var f=e(b),u=f.index(y)+1,h=an(n),v=n.data("anchor"),g=n.index(y)+1,S=n.find(z);if(S.length)var w=S.data("anchor"),T=S.index();Zn&&(n.addClass(p).siblings().removeClass(p),e.isFunction(l.onLeave)&&l.onLeave.call(f,u,g,h),e.isFunction(l.afterLoad)&&l.afterLoad.call(n,v,g),Re(n),rn(v,g-1),l.anchors.length&&(qn=v,gn(T,w,v,g))),clearTimeout(ot),ot=setTimeout(function(){lt=!1},100)}l.fitToSection&&(clearTimeout(it),it=setTimeout(function(){Zn&&l.fitToSection&&(e(b).is(n)&&(Gn=!0),Ae(e(b)),Gn=!1)},l.fitToSectionDelay))}}function me(n){var t=e(b).position().top,o=t+ne.height();return"up"==n?o>=ne.scrollTop()+ne.height():t<=ne.scrollTop()}function ge(e){var n=e>st?"down":"up";return st=e,n}function Se(e,n){if(_n.m[e]){var t,o;if("down"==e?(t="bottom",o=Wn.moveSectionDown):(t="top",o=Wn.moveSectionUp),n.length>0){if(!l.scrollOverflowHandler.isScrolled(t,n))return!0;o()}else o()}}function we(n){var t=n.originalEvent;if(!ye(n.target)&&be(t)){l.autoScrolling&&n.preventDefault();var i=e(b),r=l.scrollOverflowHandler.scrollable(i);if(Zn&&!Xn){var a=En(t);ft=a.y,ut=a.x,i.find(F).length&&o.abs(dt-ut)>o.abs(ct-ft)?o.abs(dt-ut)>ne.outerWidth()/100*l.touchSensitivity&&(dt>ut?_n.m.right&&Wn.moveSlideRight():_n.m.left&&Wn.moveSlideLeft()):l.autoScrolling&&o.abs(ct-ft)>ne.height()/100*l.touchSensitivity&&(ct>ft?Se("down",r):ft>ct&&Se("up",r))}}}function ye(n,t){t=t||0;var o=e(n).parent();return t<l.normalScrollElementTouchThreshold&&o.is(l.normalScrollElements)?!0:t==l.normalScrollElementTouchThreshold?!1:ye(o,++t)}function be(e){return"undefined"==typeof e.pointerType||"mouse"!=e.pointerType}function Te(e){var n=e.originalEvent;if(l.fitToSection&&Fn.stop(),be(n)){var t=En(n);ct=t.y,dt=t.x}}function xe(e,n){for(var t=0,i=e.slice(o.max(e.length-n,1)),r=0;r<i.length;r++)t+=i[r];return o.ceil(t/n)}function Ce(t){var i=(new Date).getTime(),r=e(g).hasClass(M);if(l.autoScrolling&&!Un&&!r){t=t||n.event;var a=t.wheelDelta||-t.deltaY||-t.detail,s=o.max(-1,o.min(1,a)),c="undefined"!=typeof t.wheelDeltaX||"undefined"!=typeof t.deltaX,d=o.abs(t.wheelDeltaX)<o.abs(t.wheelDelta)||o.abs(t.deltaX)<o.abs(t.deltaY)||!c;$n.length>149&&$n.shift(),$n.push(o.abs(a)),l.scrollBar&&(t.preventDefault?t.preventDefault():t.returnValue=!1);var f=e(b),u=l.scrollOverflowHandler.scrollable(f),h=i-ht;if(ht=i,h>200&&($n=[]),Zn){var p=xe($n,10),v=xe($n,70),m=p>=v;m&&d&&(0>s?Se("down",u):Se("up",u))}return!1}l.fitToSection&&Fn.stop()}function ke(n,t){var o="undefined"==typeof t?e(b):t,i=o.find(F),r=i.find(D).length;if(!(!i.length||Xn||2>r)){var a=i.find(z),s=null;if(s="prev"===n?a.prev(D):a.next(D),!s.length){if(!l.loopHorizontal)return;s="prev"===n?a.siblings(":last"):a.siblings(":first")}Xn=!0,Ze(i,s)}}function Le(){e(z).each(function(){In(e(this),"internal")})}function Me(e){var n=e.position(),t=n.top,o=n.top>pt,i=t-Qn+e.outerHeight();return e.outerHeight()>Qn?o||(t=i):(o||Gn&&e.is(":last-child"))&&(t=i),pt=t,t}function Ae(n,t,o){if("undefined"!=typeof n){var i=Me(n),r={element:n,callback:t,isMovementUp:o,dtop:i,yMovement:an(n),anchorLink:n.data("anchor"),sectionIndex:n.index(y),activeSlide:n.find(z),activeSection:e(b),leavingSection:e(b).index(y)+1,localIsResizing:Gn};if(!(r.activeSection.is(n)&&!Gn||l.scrollBar&&ne.scrollTop()===r.dtop&&!n.hasClass(L))){if(r.activeSlide.length)var a=r.activeSlide.data("anchor"),s=r.activeSlide.index();l.autoScrolling&&l.continuousVertical&&"undefined"!=typeof r.isMovementUp&&(!r.isMovementUp&&"up"==r.yMovement||r.isMovementUp&&"down"==r.yMovement)&&(r=Oe(r)),(!e.isFunction(l.onLeave)||r.localIsResizing||l.onLeave.call(r.activeSection,r.leavingSection,r.sectionIndex+1,r.yMovement)!==!1)&&(ze(r.activeSection),n.addClass(p).siblings().removeClass(p),Re(n),l.scrollOverflowHandler.onLeave(),Zn=!1,gn(s,a,r.anchorLink,r.sectionIndex),Ee(r),qn=r.anchorLink,rn(r.anchorLink,r.sectionIndex))}}}function Ee(n){if(l.css3&&l.autoScrolling&&!l.scrollBar){var t="translate3d(0px, -"+n.dtop+"px, 0px)";fn(t,!0),l.scrollingSpeed?nt=setTimeout(function(){He(n)},l.scrollingSpeed):He(n)}else{var o=Ie(n);e(o.element).animate(o.options,l.scrollingSpeed,l.easing).promise().done(function(){l.
10scrollBar?setTimeout(function(){He(n)},30):He(n)})}}function Ie(e){var n={};return l.autoScrolling&&!l.scrollBar?(n.options={top:-e.dtop},n.element=a):(n.options={scrollTop:e.dtop},n.element="html, body"),n}function Oe(n){return n.isMovementUp?e(b).before(n.activeSection.nextAll(y)):e(b).after(n.activeSection.prevAll(y).get().reverse()),On(e(b).position().top),Le(),n.wrapAroundElements=n.activeSection,n.dtop=n.element.position().top,n.yMovement=an(n.element),n}function Be(n){n.wrapAroundElements&&n.wrapAroundElements.length&&(n.isMovementUp?e(T).before(n.wrapAroundElements):e(x).after(n.wrapAroundElements),On(e(b).position().top),Le())}function He(n){Be(n),n.element.find(".fp-scrollable").mouseover(),e.isFunction(l.afterLoad)&&!n.localIsResizing&&l.afterLoad.call(n.element,n.anchorLink,n.sectionIndex+1),l.scrollOverflowHandler.afterLoad(),De(n.element),n.element.addClass(m).siblings().removeClass(m),Zn=!0,e.isFunction(n.callback)&&n.callback.call(this)}function Re(n){var n=Pe(n);n.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){e(this).attr("src",e(this).data("src")),e(this).removeAttr("data-src"),e(this).is("source")&&e(this).closest("video").get(0).load()})}function De(n){var n=Pe(n);n.find("video, audio").each(function(){var n=e(this).get(0);n.hasAttribute("data-autoplay")&&"function"==typeof n.play&&n.play()}),n.find('iframe[src*="youtube.com/embed/"]').each(function(){var n=e(this).get(0);/youtube\.com\/embed\//.test(e(this).attr("src"))&&n.hasAttribute("data-autoplay")&&n.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")})}function ze(n){var n=Pe(n);n.find("video, audio").each(function(){var n=e(this).get(0);n.hasAttribute("data-keepplaying")||"function"!=typeof n.pause||n.pause()}),n.find('iframe[src*="youtube.com/embed/"]').each(function(){var n=e(this).get(0);/youtube\.com\/embed\//.test(e(this).attr("src"))&&!n.hasAttribute("data-keepplaying")&&e(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function Pe(n){var t=n.find(z);return t.length&&(n=e(t)),n}function Fe(){var e=n.location.hash.replace("#","").split("/"),t=e[0],o=e[1];t&&(l.animateAnchor?pn(t,o):Wn.silentMoveTo(t,o))}function Ve(){if(!lt&&!l.lockAnchors){var e=n.location.hash.replace("#","").split("/"),t=e[0],o=e[1],i="undefined"==typeof qn,r="undefined"==typeof qn&&"undefined"==typeof o&&!Xn;t.length&&(t&&t!==qn&&!i||r||!Xn&&Yn!=o)&&pn(t,o)}}function We(n){clearTimeout(rt);var t=e(":focus");if(!t.is("textarea")&&!t.is("input")&&!t.is("select")&&"true"!==t.attr("contentEditable")&&""!==t.attr("contentEditable")&&l.keyboardScrolling&&l.autoScrolling){var o=n.which,i=[40,38,32,33,34];e.inArray(o,i)>-1&&n.preventDefault(),Un=n.ctrlKey,rt=setTimeout(function(){Ge(n)},150)}}function qe(){e(this).prev().trigger("click")}function Ye(e){Jn&&(Un=e.ctrlKey)}function Ue(e){2==e.which&&(vt=e.pageY,Kn.on("mousemove",Je))}function Xe(e){2==e.which&&Kn.off("mousemove")}function Ne(){var n=e(this).closest(y);e(this).hasClass(K)?_n.m.left&&Wn.moveSlideLeft(n):_n.m.right&&Wn.moveSlideRight(n)}function je(){Jn=!1,Un=!1}function Ke(n){n.preventDefault();var t=e(this).parent().index();Ae(e(y).eq(t))}function Qe(n){n.preventDefault();var t=e(this).closest(y).find(F),o=t.find(D).eq(e(this).closest("li").index());Ze(t,o)}function Ge(n){var t=n.shiftKey;switch(n.which){case 38:case 33:_n.k.up&&Wn.moveSectionUp();break;case 32:if(t&&_n.k.up){Wn.moveSectionUp();break}case 40:case 34:_n.k.down&&Wn.moveSectionDown();break;case 36:_n.k.up&&Wn.moveTo(1);break;case 35:_n.k.down&&Wn.moveTo(e(y).length);break;case 37:_n.k.left&&Wn.moveSlideLeft();break;case 39:_n.k.right&&Wn.moveSlideRight();break;default:return}}function Je(e){Zn&&(e.pageY<vt&&_n.m.up?Wn.moveSectionUp():e.pageY>vt&&_n.m.down&&Wn.moveSectionDown()),vt=e.pageY}function Ze(n,t){var i=t.position(),r=t.index(),a=n.closest(y),s=a.index(y),c=a.data("anchor"),d=a.find(U),f=wn(t),u=a.find(z),h=Gn;if(l.onSlideLeave){var m=u.index(),g=ln(m,r);if(!h&&"none"!==g&&e.isFunction(l.onSlideLeave)&&l.onSlideLeave.call(u,c,s+1,m,g,r)===!1)return void(Xn=!1)}ze(u),t.addClass(p).siblings().removeClass(p),h||Re(t),!l.loopHorizontal&&l.controlArrows&&(a.find(J).toggle(0!==r),a.find(ee).toggle(!t.is(":last-child"))),a.hasClass(p)&&gn(r,f,c,s);var S=function(){h||e.isFunction(l.afterSlideLoad)&&l.afterSlideLoad.call(t,c,s+1,f,r),De(t),Xn=!1};if(l.css3){var w="translate3d(-"+o.round(i.left)+"px, 0px, 0px)";en(n.find(W),l.scrollingSpeed>0).css(Bn(w)),tt=setTimeout(function(){S()},l.scrollingSpeed,l.easing)}else n.animate({scrollLeft:o.round(i.left)},l.scrollingSpeed,l.easing,function(){S()});d.find(v).removeClass(p),d.find("li").eq(r).find("a").addClass(p)}function $e(){if(_e(),Nn){var n=e(t.activeElement);if(!n.is("textarea")&&!n.is("input")&&!n.is("select")){var i=ne.height();o.abs(i-mt)>20*o.max(mt,i)/100&&(Wn.reBuild(!0),mt=i)}}else clearTimeout(et),et=setTimeout(function(){Wn.reBuild(!0)},350)}function _e(){var e=l.responsive||l.responsiveWidth,n=l.responsiveHeight,t=e&&ne.outerWidth()<e,o=n&&ne.height()<n;e&&n?Wn.setResponsive(t||o):e?Wn.setResponsive(t):n&&Wn.setResponsive(o)}function en(e){var n="all "+l.scrollingSpeed+"ms "+l.easingcss3;return e.removeClass(d),e.css({"-webkit-transition":n,transition:n})}function nn(e){return e.addClass(d)}function tn(n,t){l.navigation&&(e(E).find(v).removeClass(p),n?e(E).find('a[href="#'+n+'"]').addClass(p):e(E).find("li").eq(t).find("a").addClass(p))}function on(n){l.menu&&(e(l.menu).find(v).removeClass(p),e(l.menu).find('[data-menuanchor="'+n+'"]').addClass(p))}function rn(e,n){on(e),tn(e,n)}function an(n){var t=e(b).index(y),o=n.index(y);return t==o?"none":t>o?"up":"down"}
10function ln(e,n){return e==n?"none":e>n?"left":"right"}function sn(e){if(!e.hasClass("fp-noscroll")){e.css("overflow","hidden");var n,t=l.scrollOverflowHandler,o=t.wrapContent(),i=e.closest(y),r=t.scrollable(e);r.length?n=t.scrollHeight(e):(n=e.get(0).scrollHeight,l.verticalCentered&&(n=e.find(k).get(0).scrollHeight));var a=Qn-parseInt(i.css("padding-bottom"))-parseInt(i.css("padding-top"));n>a?r.length?t.update(e,a):(l.verticalCentered?e.find(k).wrapInner(o):e.wrapInner(o),t.create(e,a)):t.remove(e),e.css("overflow","")}}function cn(e){e.addClass(q).wrapInner('<div class="'+C+'" style="height:'+dn(e)+'px;" />')}function dn(e){var n=Qn;if(l.paddingTop||l.paddingBottom){var t=e;t.hasClass(w)||(t=e.closest(y));var o=parseInt(t.css("padding-top"))+parseInt(t.css("padding-bottom"));n=Qn-o}return n}function fn(e,n){n?en(Kn):nn(Kn),Kn.css(Bn(e)),setTimeout(function(){Kn.removeClass(d)},10)}function un(n){var t=Kn.find(y+'[data-anchor="'+n+'"]');return t.length||(t=e(y).eq(n-1)),t}function hn(e,n){var t=n.find(F),o=t.find(D+'[data-anchor="'+e+'"]');return o.length||(o=t.find(D).eq(e)),o}function pn(e,n){var t=un(e);"undefined"==typeof n&&(n=0),e===qn||t.hasClass(p)?vn(t,n):Ae(t,function(){vn(t,n)})}function vn(e,n){if("undefined"!=typeof n){var t=e.find(F),o=hn(n,e);o.length&&Ze(t,o)}}function mn(e,n){e.append('<div class="'+Y+'"><ul></ul></div>');var t=e.find(U);t.addClass(l.slidesNavPosition);for(var o=0;n>o;o++)t.find("ul").append('<li><a href="#"><span></span></a></li>');t.css("margin-left","-"+t.width()/2+"px"),t.find("li").first().find("a").addClass(p)}function gn(e,n,t,o){var i="";l.anchors.length&&!l.lockAnchors&&(e?("undefined"!=typeof t&&(i=t),"undefined"==typeof n&&(n=e),Yn=n,Sn(i+"/"+n)):"undefined"!=typeof e?(Yn=n,Sn(t)):Sn(t)),yn()}function Sn(e){if(l.recordHistory)location.hash=e;else if(Nn||jn)n.history.replaceState(i,i,"#"+e);else{var t=n.location.href.split("#")[0];n.location.replace(t+"#"+e)}}function wn(e){var n=e.data("anchor"),t=e.index();return"undefined"==typeof n&&(n=t),n}function yn(){var n=e(b),t=n.find(z),o=wn(n),i=wn(t),r=String(o);t.length&&(r=r+"-"+i),r=r.replace("/","-").replace("#","");var a=new RegExp("\\b\\s?"+h+"-[^\\s]+\\b","g");Vn[0].className=Vn[0].className.replace(a,""),Vn.addClass(h+"-"+r)}function bn(){var e,o=t.createElement("p"),r={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};t.body.insertBefore(o,null);for(var a in r)o.style[a]!==i&&(o.style[a]="translate3d(1px,1px,1px)",e=n.getComputedStyle(o).getPropertyValue(r[a]));return t.body.removeChild(o),e!==i&&e.length>0&&"none"!==e}function Tn(){t.addEventListener?(t.removeEventListener("mousewheel",Ce,!1),t.removeEventListener("wheel",Ce,!1),t.removeEventListener("MozMousePixelScroll",Ce,!1)):t.detachEvent("onmousewheel",Ce)}function xn(){var e,o="";n.addEventListener?e="addEventListener":(e="attachEvent",o="on");var r="onwheel"in t.createElement("div")?"wheel":t.onmousewheel!==i?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==r?t[e](o+"MozMousePixelScroll",Ce,!1):t[e](o+r,Ce,!1)}function Cn(){Kn.on("mousedown",Ue).on("mouseup",Xe)}function kn(){Kn.off("mousedown",Ue).off("mouseup",Xe)}function Ln(){if(Nn||jn){var n=An();e(a).off("touchstart "+n.down).on("touchstart "+n.down,Te),e(a).off("touchmove "+n.move).on("touchmove "+n.move,we)}}function Mn(){if(Nn||jn){var n=An();e(a).off("touchstart "+n.down),e(a).off("touchmove "+n.move)}}function An(){var e;return e=n.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function En(e){var n=[];return n.y="undefined"!=typeof e.pageY&&(e.pageY||e.pageX)?e.pageY:e.touches[0].pageY,n.x="undefined"!=typeof e.pageX&&(e.pageY||e.pageX)?e.pageX:e.touches[0].pageX,jn&&be(e)&&l.scrollBar&&(n.y=e.touches[0].pageY,n.x=e.touches[0].pageX),n}function In(e,n){Wn.setScrollingSpeed(0,"internal"),"undefined"!=typeof n&&(Gn=!0),Ze(e.closest(F),e),"undefined"!=typeof n&&(Gn=!1),Wn.setScrollingSpeed(at.scrollingSpeed,"internal")}function On(e){if(l.scrollBar)Kn.scrollTop(e);else if(l.css3){var n="translate3d(0px, -"+e+"px, 0px)";fn(n,!1)}else Kn.css("top",-e)}function Bn(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function Hn(e,n,t){switch(n){case"up":_n[t].up=e;break;case"down":_n[t].down=e;break;case"left":_n[t].left=e;break;case"right":_n[t].right=e;break;case"all":"m"==t?Wn.setAllowScrolling(e):Wn.setKeyboardScrolling(e)}}function Rn(){On(0),e(E+", "+U+", "+j).remove(),e(y).css({height:"","background-color":"",padding:""}),e(D).css({width:""}),Kn.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),Fn.css({overflow:"",height:""}),e("html").removeClass(u),e.each(Vn.get(0).className.split(/\s+/),function(e,n){0===n.indexOf(h)&&Vn.removeClass(n)}
10),e(y+", "+D).each(function(){l.scrollOverflowHandler.remove(e(this)),e(this).removeClass(q+" "+p)}),nn(Kn),Kn.find(k+", "+W+", "+F).each(function(){e(this).replaceWith(this.childNodes)}),Fn.scrollTop(0);var n=[w,R,V];e.each(n,function(n,t){e("."+t).removeClass(t)})}function Dn(e,n,t){l[e]=n,"internal"!==t&&(at[e]=n)}function zn(){return e("html").hasClass(u)?void Pn("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(l.continuousVertical&&(l.loopTop||l.loopBottom)&&(l.continuousVertical=!1,Pn("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),l.scrollBar&&l.scrollOverflow&&Pn("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),l.continuousVertical&&l.scrollBar&&(l.continuousVertical=!1,Pn("warn","Option `scrollBar` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),void e.each(l.anchors,function(n,t){var o=te.find("[name]").filter(function(){return e(this).attr("name")&&e(this).attr("name").toLowerCase()==t.toLowerCase()}),i=te.find("[id]").filter(function(){return e(this).attr("id")&&e(this).attr("id").toLowerCase()==t.toLowerCase()});(i.length||o.length)&&(Pn("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),i.length&&Pn("error",'"'+t+'" is is being used by another element `id` property'),o.length&&Pn("error",'"'+t+'" is is being used by another element `name` property'))}))}function Pn(e,n){console&&console[e]&&console[e]("fullPage: "+n)}if(e("html").hasClass(u))return void zn();var Fn=e("html, body"),Vn=e("body"),Wn=e.fn.fullpage;l=e.extend({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,normalScrollElements:null,scrollOverflow:!1,scrollOverflowHandler:ie,scrollOverflowOptions:null,touchSensitivity:5,normalScrollElementTouchThreshold:5,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,sectionSelector:S,slideSelector:H,afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null},l),zn(),oe=e.extend(oe,l.scrollOverflowOptions),e.extend(e.easing,{easeInOutCubic:function(e,n,t,o,i){return(n/=i/2)<1?o/2*n*n*n+t:o/2*((n-=2)*n*n+2)+t}}),Wn.setAutoScrolling=function(n,t){Dn("autoScrolling",n,t);var o=e(b);l.autoScrolling&&!l.scrollBar?(Fn.css({overflow:"hidden",height:"100%"}),Wn.setRecordHistory(at.recordHistory,"internal"),Kn.css({"-ms-touch-action":"none","touch-action":"none"}),o.length&&On(o.position().top)):(Fn.css({overflow:"visible",height:"initial"}),Wn.setRecordHistory(!1,"internal"),Kn.css({"-ms-touch-action":"","touch-action":""}),On(0),o.length&&Fn.scrollTop(o.position().top))},Wn.setRecordHistory=function(e,n){Dn("recordHistory",e,n)},Wn.setScrollingSpeed=function(e,n){Dn("scrollingSpeed",e,n)},Wn.setFitToSection=function(e,n){Dn("fitToSection",e,n)},Wn.setLockAnchors=function(e){l.lockAnchors=e},Wn.setMouseWheelScrolling=function(e){e?(xn(),Cn()):(Tn(),kn())},Wn.setAllowScrolling=function(n,t){"undefined"!=typeof t?(t=t.replace(/ /g,"").split(","),e.each(t,function(e,t){Hn(n,t,"m")})):n?(Wn.setMouseWheelScrolling(!0),Ln()):(Wn.setMouseWheelScrolling(!1),Mn())},Wn.setKeyboardScrolling=function(n,t){"undefined"!=typeof t?(t=t.replace(/ /g,"").split(","),e.each(t,function(e,t){Hn(n,t,"k")})):l.keyboardScrolling=n},Wn.moveSectionUp=function(){var n=e(b).prev(y);n.length||!l.loopTop&&!l.continuousVertical||(n=e(y).last()),n.length&&Ae(n,null,!0)},Wn.moveSectionDown=function(){var n=e(b).next(y);n.length||!l.loopBottom&&!l.continuousVertical||(n=e(y).first()),n.length&&Ae(n,null,!1)},Wn.silentMoveTo=function(e,n){Wn.setScrollingSpeed(0,"internal"),Wn.moveTo(e,n),Wn.setScrollingSpeed(at.scrollingSpeed,"internal")},Wn.moveTo=function(e,n){var t=un(e);"undefined"!=typeof n?pn(e,n):t.length>0&&Ae(t)},Wn.moveSlideRight=function(e){ke("next",e)},Wn.moveSlideLeft=function(e){ke("prev",e)},Wn.reBuild=function(n){if(!Kn.hasClass(f)){Gn=!0,Qn=ne.height(),e(y).each(function(){var n=e(this).find(F),t=e(this).find(D);l.verticalCentered&&e(this).find(k).css("height",dn(e(this))+"px"),e(this).css("height",Qn+"px"),l.scrollOverflow&&(t.length?t.each(function(){sn(e(this))}):sn(e(this))),t.length>1&&Ze(n,n.find(z))});var t=e(b),o=t.index(y);o&&Wn.silentMoveTo(o+1),Gn=!1,e.isFunction(l.afterResize)&&n&&l.afterResize.call(Kn),e.isFunction(l.afterReBuild)&&!n&&l.afterReBuild.call(Kn)}},Wn.setResponsive=function(n){var t=Vn.hasClass(c);n?t||(Wn.setAutoScrolling(!1,"internal"),Wn.setFitToSection(!1,"internal"),e(E).hide(),Vn.addClass(c)):t&&(Wn.setAutoScrolling(at.autoScrolling,"internal"),Wn.setFitToSection(at.autoScrolling,"internal"),e(E).show(),Vn.removeClass(c))};var qn,Yn,Un,Xn=!1,Nn=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),jn="ontouchstart"in n||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,Kn=e(this),Qn=ne.height(),Gn=!1,Jn=!0,Zn=!0,$n=[],_n={};_n.m={up:!0,down:!0,left:!0,right:!0},_n.k=e.extend(!0,{},_n.m);var et,nt,tt,ot,it,rt,at=e.extend(!0,{},l);e(this).length&&(s(),N());var lt=!1,st=0,ct=0,dt=0,ft=0,ut=0,ht=(new Date).getTime(),pt=0,vt=0,mt=Qn;Wn.destroy=function(n){Wn.setAutoScrolling(!1,"internal"),Wn.setAllowScrolling(!1),Wn.setKeyboardScrolling(!1),Kn.addClass(f),clearTimeout(tt),clearTimeout(nt),clearTimeout(et),clearTimeout(ot),clearTimeout(it),ne.off("scroll",ve).off("hashchange",Ve).off("resize",$e),te.off("click",E+" a").off("mouseenter",E+" li").off("mouseleave",E+" li").off("
10click",X).off("mouseover",l.normalScrollElements).off("mouseout",l.normalScrollElements),e(y).off("click",j),clearTimeout(tt),clearTimeout(nt),n&&Rn()}},"undefined"!=typeof IScroll&&(IScroll.prototype.wheelOn=function(){this.wrapper.addEventListener("wheel",this),this.wrapper.addEventListener("mousewheel",this),this.wrapper.addEventListener("DOMMouseScroll",this)},IScroll.prototype.wheelOff=function(){this.wrapper.removeEventListener("wheel",this),this.wrapper.removeEventListener("mousewheel",this),this.wrapper.removeEventListener("DOMMouseScroll",this)});var ie={refreshId:null,iScrollInstances:[],onLeave:function(){var n=e(b).find(s).data("iscrollInstance");"undefined"!=typeof n&&n.wheelOff()},afterLoad:function(){var n=e(b).find(s).data("iscrollInstance");"undefined"!=typeof n&&n.wheelOn()},create:function(n,t){var o=n.find(s);o.height(t),o.each(function(){var n=jQuery(this),t=n.data("iscrollInstance");t&&e.each(ie.iScrollInstances,function(){e(this).destroy()}),t=new IScroll(n.get(0),oe),ie.iScrollInstances.push(t),n.data("iscrollInstance",t)})},isScrolled:function(e,n){var t=n.data("iscrollInstance");return t?"top"===e?t.y>=0&&!n.scrollTop():"bottom"===e?0-t.y+n.scrollTop()+1+n.innerHeight()>=n[0].scrollHeight:void 0:!1},scrollable:function(e){return e.find(F).length?e.find(z).find(s):e.find(s)},scrollHeight:function(e){return e.find(s).children().first().get(0).scrollHeight},remove:function(e){var n=e.find(s);if(n.length){var t=n.data("iscrollInstance");t.destroy(),n.data("iscrollInstance",i)}e.find(s).children().first().children().first().unwrap().unwrap()},update:function(n,t){clearTimeout(ie.refreshId),ie.refreshId=setTimeout(function(){e.each(ie.iScrollInstances,function(){e(this).get(0).refresh()})},150),n.find(s).css("height",t+"px").parent().css("height",t+"px")},wrapContent:function(){return'<div class="'+l+'"><div class="fp-scroller"></div></div>'}}});
11//# sourceMappingURL=jquery.fullpage.min.js.map
12
13})(moaScript);
14(function () {
15    // globals
16    var canvas;
17    var ctx;
18    var W;
19    var H;
20    var mp = 35; //max particles
21    var particles = [];
22    var angle = 0;
23    var tiltAngle = 0;
24    var confettiActive = true;
25    var animationComplete = true;
26    var deactivationTimerHandler;
27    var reactivationTimerHandler;
28    var animationHandler;
29
30    // objects
31
32    var particleColors = {
33        colorOptions: ["DodgerBlue", "OliveDrab", "Gold", "pink", "SlateBlue", "lightblue", "Violet", "PaleGreen", "SteelBlue", "SandyBrown", "Chocolate", "Crimson"],
34        colorIndex: 0,
35        colorIncrementer: 0,
36        colorThreshold: 10,
37        getColor: function () {
38            if (this.colorIncrementer >= 1) {
39                this.colorIncrementer = 0;
40                this.colorIndex++;
41                if (this.colorIndex >= this.colorOptions.length) {
42                    this.colorIndex = 0;
43                }
44            }
45            this.colorIncrementer++;
46            return this.colorOptions[this.colorIndex];
47        }
48    }
49
50    function confettiParticle(color) {
51        this.x = Math.random() * W; // x-coordinate
52        this.y = (Math.random() * H) - H; //y-coordinate
53        this.r = RandomFromTo(10, 15); //radius;
54        this.d = (Math.random() * mp) + 10; //density;
55        this.color = color;
56        this.tilt = Math.floor(Math.random() * 10) - 10;
57        this.tiltAngleIncremental = (Math.random() * 0.07) + .05;
58        this.tiltAngle = 0;
59
60        this.draw = function () {
61            ctx.beginPath();
62            ctx.lineWidth = this.r / 0.4;
63            ctx.strokeStyle = this.color;
64            ctx.moveTo(this.x + this.tilt + (this.r / 4), this.y);
65            ctx.lineTo(this.x + this.tilt, this.y + this.tilt + (this.r / 4));
66            return ctx.stroke();
67        }
68    }
69
70    $(document).ready(function () {
71        SetGlobals();
72        InitializeButton();
73        //InitializeConfetti();
74
75        $(window).resize(function () {
76            W = window.innerWidth;
77            H = window.innerHeight;
78            canvas.width = W;
79            canvas.height = H;
80        });
81
82    });
83
84    function InitializeButton() {
85        $('#stopButton').click(DeactivateConfetti);
86        $('#startButton').click(RestartConfetti);
87    }
88
89    function SetGlobals() {
90        canvas = document.getElementById("canvas");
91        ctx = canvas.getContext("2d");
92        W = window.innerWidth;
93        H = window.innerHeight;
94        canvas.width = W;
95        canvas.height = H;
96    }
97
98    function InitializeConfetti() {
99        particles = [];
100        animationComplete = false;
101        for (var i = 0; i < mp; i++) {
102            var particleColor = particleColors.getColor();
103            particles.push(new confettiParticle(particleColor));
104        }
105        StartConfetti();
106    }
107
108    function Draw() {
109        ctx.clearRect(0, 0, W, H);
110        var results = [];
111        for (var i = 0; i < mp; i++) {
112            (function (j) {
113                results.push(particles[j].draw());
114            })(i);
115        }
116        Update();
117
118        return results;
119    }
120
121    function RandomFromTo(from, to) {
122        return Math.floor(Math.random() * (to - from + 1) + from);
123    }
124
125
126    function Update() {
127        var remainingFlakes = 0;
128        var particle;
129        angle += 0.01;
130        tiltAngle += 0.1;
131
132        for (var i = 0; i < mp; i++) {
133            particle = particles[i];
134            if (animationComplete) return;
135
136            if (!confettiActive && particle.y < -15) {
137                particle.y = H + 100;
138                continue;
139            }
140
141            stepParticle(particle, i);
142
143            if (particle.y <= H) {
144                remainingFlakes++;
145            }
146            CheckForReposition(particle, i);
147        }
148
149        if (remainingFlakes === 0) {
150            StopConfetti();
151        }
152    }
153
154    function CheckForReposition(particle, index) {
155        if ((particle.x > W + 20 || particle.x < -20 || particle.y > H) && confettiActive) {
156            if (index % 5 > 0 || index % 2 == 0) //66.67% of the flakes
157            {
158                repositionParticle(particle, Math.random() * W, -10, Math.floor(Math.random() * 10) - 20);
159            } else {
160                if (Math.sin(angle) > 0) {
161                    //Enter from the left
162                    repositionParticle(particle, -20, Math.random() * H, Math.floor(Math.random() * 10) - 20);
163                } else {
164                    //Enter from the right
165                    repositionParticle(particle, W + 20, Math.random() * H, Math.floor(Math.random() * 10) - 20);
166                }
167            }
168        }
169    }
170    function stepParticle(particle, particleIndex) {
171        particle.tiltAngle += particle.tiltAngleIncremental;
172        particle.y += (Math.cos(angle + particle.d) + 3 + particle.r / 2) / 3;
173        particle.x += Math.sin(angle);
174        particle.tilt = (Math.sin(particle.tiltAngle - (particleIndex / 3))) * 15;
175    }
176
177    function repositionParticle(particle, xCoordinate, yCoordinate, tilt) {
178        particle.x = xCoordinate;
179        particle.y = yCoordinate;
180        particle.tilt = tilt;
181    }
182
183    function StartConfetti() {
184        W = window.innerWidth;
185        H = window.innerHeight;
186        canvas.width = W;
187        canvas.height = H;
188        (function animloop() {
189            if (animationComplete) return null;
190            animationHandler = requestAnimFrame(animloop);
191            return Draw();
192        })();
193    }
194
195    function ClearTimers() {
196        clearTimeout(reactivationTimerHandler);
197        clearTimeout(animationHandler);
198    }
199
200    function DeactivateConfetti() {
201        confettiActive = false;
202        ClearTimers();
203    }
204
205    function StopConfetti() {
206        animationComplete = true;
207        if (ctx == undefined) return;
208        ctx.clearRect(0, 0, W, H);
209    }
210
211    function RestartConfetti() {
212        ClearTimers();
213        StopConfetti();
214        reactivationTimerHandler = setTimeout(function () {
215            confettiActive = true;
216            animationComplete = false;
217            InitializeConfetti();
218        }, 100);
219
220    }
221
222    window.requestAnimFrame = (function () {
223        return window.requestAnimationFrame || 
224        window.webkitRequestAnimationFrame || 
225        window.mozRequestAnimationFrame || 
226        window.oRequestAnimationFrame || 
227        window.msRequestAnimationFrame || 
228        function (callback) {
229            return window.setTimeout(callback, 1000 / 60);
230        };
231    })();
232})();
233
234(function ($) {
235    var jQuery = $;
236
237    $(function () {
238
239        var delay = 0;
240        var init = true;
241        
242        function initEft() {
243            $('.flash__item').each(function () {
244                delay += 100;
245                $(this).attr('style', '-webkit-transition-delay:' + delay + 'ms; transition-delay:' + delay + 'ms;');
246            });
247            $('#startButton').trigger('click');
248        }
249
250        $('#fullpage').fullpage({
251            verticalCentered: true,
252            navigation: true,
253            navigationPosition: 'right',
254            afterLoad: function (origin, index,direction) {
255                $('.section').removeClass('on');
256                if (index == 1) {
257                    if(init) {
258                        setTimeout(function() {
259                            $('#section0').addClass('on');
260                            initEft();
261                        },500);
262                        init = false;
263                    } else {
264                        $('#section0').addClass('on');
265                        initEft();
266                    }
267                } else {
268                    delay = 0;
269                    $('.flash__item').removeAttr('style');
270                    $('#stopButton').trigger('click');
271                    $('#section'+(index-1)).addClass('on');
272                }
273                
274            }
275        });
276
277        //        var mainSlide = new Swiper('.jsDesignSlide', {
278        //            slidesPerView: 'auto',
279        //            loop: true,
280        //            speed: 1400,
281        //            autoplay: {
282        //                delay: 4000,
283        //                disableOnInteraction: false,
284        //            }
285        //        });
286
287    });
288})(moaScript);
289/**
290 * 움직이는 배너 Jquery Plug-in
291 * @author  cafe24
292 */
293
294(function($){
295
296    $.fn.floatBanner = function(options) {
297        options = $.extend({}, $.fn.floatBanner.defaults , options);
298
299        return this.each(function() {
300            var aPosition = $(this).position();
301            var jbOffset = $(this).offset();
302            var node = this;
303
304            $(window).scroll(function() {
305                var _top = $(document).scrollTop();
306                _top = (aPosition.top < _top) ? _top : aPosition.top;
307
308                setTimeout(function () {
309                    var newinit = $(document).scrollTop();
310
311                    if ( newinit > jbOffset.top ) {
312                        _top -= jbOffset.top;
313                        var container_height = $("#wrap").height();
314                        var quick_height = $(node).height();
315                        var cul = container_height - quick_height;
316                        if(_top > cul){
317                            _top = cul;
318                        }
319                    }else {
320                        _top = 0;
321                    }
322
323                    $(node).stop().animate({top: _top}, options.animate);
324                }, options.delay);
325            });
326        });
327    };
328
329    $.fn.floatBanner.defaults = {
330        'animate'  : 500,
331        'delay'    : 500
332    };
333
334})(jQuery);
335
336/**
337 * 문서 구동후 시작
338 */
339$(document).ready(function(){
340    $('#banner:visible, #quick:visible').floatBanner();
341
342    //placeholder
343    $(".ePlaceholder input, .ePlaceholder textarea").each(function(i){
344        var placeholderName = $(this).parents().attr('title');
345        $(this).attr("placeholder", placeholderName);
346    });
347    /* placeholder ie8, ie9 */
348    $.fn.extend({
349        placeholder : function() {
350            //IE 8 버전에는 hasPlaceholderSupport() 값이 false를 리턴
351           if (hasPlaceholderSupport() === true) {
352                return this;
353            }
354            //hasPlaceholderSupport() 값이 false 일 경우 아래 코드를 실행
355            return this.each(function(){
356                var findThis = $(this);
357                var sPlaceholder = findThis.attr('placeholder');
358                if ( ! sPlaceholder) {
359                   return;
360                }
361                findThis.wrap('<label class="ePlaceholder" />');
362                var sDisplayPlaceHolder = $(this).val() ? ' style="display:none;"' : '';
363                findThis.before('<span' + sDisplayPlaceHolder + '>' + sPlaceholder + '</span>');
364                this.onpropertychange = function(e){
365                    e = event || e;
366                    if (e.propertyName == 'value') {
367                        $(this).trigger('focusout');
368                    }
369                };
370                //공통 class
371                var agent = navigator.userAgent.toLowerCase();
372                if (agent.indexOf("msie") != -1) {
373                    $(".ePlaceholder").css({"position":"relative"});
374                    $(".ePlaceholder span").css({"position":"absolute", "padding":"0 4px", "color":"#878787"});
375                    $(".ePlaceholder label").css({"padding":"0"});
376                }
377            });
378        }
379    });
380
381    $(':input[placeholder]').placeholder(); //placeholder() 함수를 호출
382
383    //클릭하면 placeholder 숨김
384    $('body').delegate('.ePlaceholder span', 'click', function(){
385        $(this).hide();
386    });
387
388    //input창 포커스 인 일때 placeholder 숨김
389    $('body').delegate('.ePlaceholder :input', 'focusin', function(){
390        $(this).prev('span').hide();
391    });
392
393    //input창 포커스 아웃 일때 value 가 true 이면 숨김, false 이면 보여짐
394    $('body').delegate('.ePlaceholder :input', 'focusout', function(){
395        if (this.value) {
396            $(this).prev('span').hide();
397        } else {
398            $(this).prev('span').show();
399        }
400    });
401
402    //input에 placeholder가 지원이 되면 true를 안되면 false를 리턴값으로 던져줌
403    function hasPlaceholderSupport() {
404        if ('placeholder' in document.createElement('input')) {
405            return true;
406        } else {
407            return false;
408        }
409    }
410});
411
412/**
413 *  썸네일 이미지 엑박일경우 기본값 설정
414 */
415$(window).load(function() {
416    $("img.thumb,img.ThumbImage,img.BigImage").each(function($i,$item){
417        var $img = new Image();
418        $img.onerror = function () {
419                $item.src="//img.echosting.cafe24.com/thumb/img_product_big.gif";
420        }
421        $img.src = this.src;
422    });
423});
424
425/**
426 *  tooltip
427 */
428$('.eTooltip').each(function(i){
429    $(this).find('.btnClose').attr('tabIndex','-1');
430});
431//tooltip input focus
432$('.eTooltip').find('input').focus(function() {
433    var targetName = returnTagetName(this);
434    targetName.siblings('.ec-base-tooltip').show();
435});
436$('.eTooltip').find('input').focusout(function() {
437    var targetName = returnTagetName(this);
438    targetName.siblings('.ec-base-tooltip').hide();
439});
440function returnTagetName(_this){
441    var ePlacename = $(_this).parent().attr("class");
442    var targetName;
443    if(ePlacename == "ePlaceholder"){ //ePlaceholder 대응
444        targetName = $(_this).parents();
445    }else{
446        targetName = $(_this);
447    }
448    return targetName;
449}
450
451/**
452 *  eTab
453 */
454 $("body").delegate(".eTab a", "click", function(e){
455    // 클릭한 li 에 selected 클래스 추가, 기존 li에 있는 selected 클래스는 삭제.
456    var _li = $(this).parent("li").addClass("selected").siblings().removeClass("selected"),
457    _target = $(this).attr("href"),
458    _siblings = $(_target).attr("class"),
459    _arr = _siblings.split(" "),
460    _classSiblings = "."+_arr[0];
461
462    //클릭한 탭에 해당하는 요소는 활성화, 기존 요소는 비활성화 함.
463    $(_target).show().siblings(_classSiblings).hide();
464
465
466    //preventDefault 는 a 태그 처럼 클릭 이벤트 외에 별도의 브라우저 행동을 막기 위해 사용됨.
467    e.preventDefault();
468});
469
470
471
472//window popup script
473function winPop(url) {
474    window.open(url, "popup", "width=300,height=300,left=10,top=10,resizable=no,scrollbars=no");
475}
476/**
477 * document.location.href split
478 * return array Param
479 */
480function getQueryString(sKey)
481{
482    var sQueryString = document.location.search.substring(1);
483    var aParam       = {};
484
485    if (sQueryString) {
486        var aFields = sQueryString.split("&");
487        var aField  = [];
488        for (var i=0; i<aFields.length; i++) {
489            aField = aFields[i].split('=');
490            aParam[aField[0]] = aField[1];
491        }
492    }
493
494    aParam.page = aParam.page ? aParam.page : 1;
495    return sKey ? aParam[sKey] : aParam;
496};
497
498$(document).ready(function(){
499    // tab
500    $.eTab = function(ul){
501        $(ul).find('a').click(function(){
502            var _li = $(this).parent('li').addClass('selected').siblings().removeClass('selected'),
503                _target = $(this).attr('href'),
504                _siblings = '.' + $(_target).attr('class');
505            $(_target).show().siblings(_siblings).hide();
506            return false
507        });
508    }
509    if ( window.call_eTab ) {
510        call_eTab();
511    };
512});
513(function($){
514$.fn.extend({
515    center: function() {
516        this.each(function() {
517            var
518                $this = $(this),
519                $w = $(window);
520            $this.css({
521                position: "absolute",
522                top: ~~(($w.height() - $this.outerHeight()) / 2) + $w.scrollTop() + "px",
523                left: ~~(($w.width() - $this.outerWidth()) / 2) + $w.scrollLeft() + "px"
524            });
525        });
526        return this;
527    }
528});
529$(function() {
530    var $container = function(){/*
531<div id="modalContainer">
532    <iframe id="modalContent" scroll="0" scrolling="no" frameBorder="0"></iframe>
533</div>');
534*/}.toString().slice(14,-3);
535    $('body')
536    .append($('<div id="modalBackpanel"></div>'))
537    .append($($container));
538    function closeModal () {
539        $('#modalContainer').hide();
540        $('#modalBackpanel').hide();
541    }
542    $('#modalBackpanel').click(closeModal);
543    zoom = function ($piProductNo, $piCategoryNo, $piDisplayGroup) {
544        var $url = '/product/image_zoom.html?product_no=' + $piProductNo + '&cate_no=' + $piCategoryNo + '&display_group=' + $piDisplayGroup;
545        $('#modalContent').attr('src', $url);
546        $('#modalContent').bind("load",function(){
547            $(".header .close",this.contentWindow.document.body).bind("click", closeModal);
548        });
549        $('#modalBackpanel').css({width:$("body").width(),height:$("body").height(),opacity:.4}).show();
550        $('#modalContainer').center().show();
551    }
552});
553})(jQuery);
554if(window.outerWidth > 1024) {
555    if (document.querySelector('.top__title')) {
556        var titleWrapper = document.querySelector('.top__title');
557        var desc = document.querySelector('.top__desc');
558        titleWrapper.innerHTML = titleWrapper.textContent.replace(/\S/g, "<span class='letter'>$&</span>");
559
560        anime.timeline({
561                loop: false
562            })
563            .add({
564                targets: '.top__title .letter',
565                translateY: [25, 0],
566                translateZ: 0,
567                opacity: [0, 1],
568                easing: "easeOutExpo",
569                duration: 1000,
570                delay: (el, i) => 100 + 40 * i,
571                begin: function() {
572                    titleWrapper.classList.add('init');
573                }
574            });
575        desc.classList.add('init');
576    }
577}
578
579(function ($) {
580    var jQuery = $;
581
582    // Run load Effect
583    function loadEft() {
584        $('html, #contents').addClass('loaded');
585    }
586    
587    // Sync Nav
588    function navSync() {
589        var idx = $('.path').data('sync-child');
590        
591        $('.header__menu').eq(idx).addClass('current');
592        console.log(idx);
593
594    }
595    
596    // Create Alert
597    $.fn.createAlert = function(msg, delay) {
598        var template = '<div class="alert flex flex--v-center flex--h-center jsAlert"> <div class="alert__popup flex flex--v-center flex--h-center"> <div class="alert__inner text-center"> <div class="alert__txt">'+msg+'</div><span class="add-btn add-btn--alert jsAlertClose">
598확인</span> </div></div></div>';
599        
600        $('.footer').after(template);
601        
602        setTimeout(function() {
603            $('.jsAlert').addClass('on');
604        },delay);
605        
606    }
607    
608    function closeAlert() {
609        $('.jsAlert').removeClass('on');
610        setTimeout(function() {
611            $('.jsAlert').remove();
612        },600);
613    }
614    
615    function navMyOrder() {
616        var getID = $('.xans-member-var-id').text();
617        $('.jsNavMyOrder').attr('href','/order/list.html?board_no=5&page=1&board_sort=&search_date=all&search_key=member_id&search='+getID);
618    }
619    
620    function scrollBtn() {
621        var getScroll = $(window).scrollTop();
622        if(getScroll >= 100) {
623           $('.jsScrollTop').addClass('on');
624       } else {
625           $('.jsScrollTop').removeClass('on');
626       }
627    }
628    
629    function handleScrollTop() {
630        $('html, body').animate({scrollTop: 0}, 600);
631    }
632
633    $(function () {
634        
635        navSync();
636//        if($(window).outerWidth() > 1024) loadEft();
637        loadEft();
638        
639        $(document).on('click','.m-cate-toggle', function(e) {
640           $('.aside').addClass('on');
641            e.preventDefault();
642        });
643
644        $('.aside-bg, .aside-close__btn').on('click', function() {
645           $('.aside').removeClass('on');
646        });
647        
648        $(document).on('click', '.jsAlertClose', closeAlert);
649        $(document).on('keyup', function() {
650            if (window.event.keyCode == 13 || window.event.keyCode == 27) {
651                closeAlert();
652            }
653        });
654        $(window).on('load scroll resize', scrollBtn);
655        $('.jsScrollTop').on('click', handleScrollTop);
656        
657    });
658    
659//    $(window).on('load', navMyOrder);
660    
661    $('.aside-cate__toggle').on('click', function() {
662       if(!$(this).hasClass('on')) {
663           $('.aside-cate__toggle').removeClass('on');
664           $(this).addClass('on');
665           $('.aside-child').slideUp();
666           $(this).next('.aside-child').slideDown();
667       } else {
668           $('.aside-cate__toggle').removeClass('on');
669           $('.aside-child').slideUp();
670       }
671    });
672    
673})(moaScript);
674

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.