Import legacy nurinda.co.id website
This commit is contained in:
1 parent
3f59bb9038
commit
6e21646ac4
13389 files changed
+3246690
No files matched your search
+1
@@ -0,0 +1 @@
|
||||
function animate_products(){jQuery(".wooproduct").each(function(i,e){var t=jQuery(this).attr("id"),o=jQuery(this).data("animation");"animated no-animation"!==o&&jQuery("#"+t).addClass(o)})}function isOnScreen(i){var e=jQuery(window),t={top:e.scrollTop(),left:e.scrollLeft()},o=jQuery(i).outerHeight()-80;t.right=t.left+e.width(),t.bottom=t.top+e.height()-o;var s=jQuery(i).offset();return s.right=s.left+jQuery(i).outerWidth(),s.bottom=s.top+jQuery(i).outerHeight(),!(t.right<s.left||t.left>s.right||t.bottom<s.top||t.top>s.bottom)}function add_woocomposer_popupclass(){var i=jQuery(".quick-view-single-product > div").height();jQuery(window).height()<=i?jQuery("html").addClass("woocomposer-popup"):jQuery("html").removeClass("woocomposer-popup")}!function(a){a.fn.unveil=function(i,e){var t,n=a(window),r=i||0,o=1<window.devicePixelRatio?"data-src-retina":"data-src",s=this;function l(){var i=s.filter(function(){var i=a(this),e=n.scrollTop(),t=e+n.height(),o=i.offset().top,s=o+i.height();return e-r<=s&&o<=t+r});t=i.trigger("unveil"),s=s.not(t)}return this.one("unveil",function(){var i=this.getAttribute(o);(i=i||this.getAttribute("data-src"))&&(this.setAttribute("src",i),"function"==typeof e&&e.call(this))}),n.scroll(l),n.resize(l),l(),this}}(window.jQuery||window.Zepto),function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):i(jQuery)}(function(n){"use strict";var r,o=window.Slick||{};r=0,(o=function(i,e){var t,o,s=this;if(s.defaults={accessibility:!0,arrows:!0,autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(i,e){return'<button type="button">'+(e+1)+"</button>"},dots:!1,draggable:!0,easing:"linear",fade:!1,infinite:!0,lazyLoad:"ondemand",onBeforeChange:null,onAfterChange:null,onInit:null,onReInit:null,pauseOnHover:!0,responsive:null,slide:"div",slidesToShow:1,slidesToScroll:1,speed:300,swipe:!0,touchMove:!0,touchThreshold:5,useCSS:!0,vertical:!1},s.initials={animating:!1,autoPlayTimer:null,currentSlide:0,currentLeft:null,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1},n.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.paused=!1,s.positionProp=null,s.$slider=n(i),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.windowWidth=0,s.windowTimer=null,s.options=n.extend({},s.defaults,e),s.originalSettings=s.options,(t=s.options.responsive||null)&&-1<t.length){for(o in t)t.hasOwnProperty(o)&&(s.breakpoints.push(t[o].breakpoint),s.breakpointSettings[t[o].breakpoint]=t[o].settings);s.breakpoints.sort(function(i,e){return e-i})}s.autoPlay=n.proxy(s.autoPlay,s),s.autoPlayClear=n.proxy(s.autoPlayClear,s),s.changeSlide=n.proxy(s.changeSlide,s),s.setPosition=n.proxy(s.setPosition,s),s.swipeHandler=n.proxy(s.swipeHandler,s),s.dragHandler=n.proxy(s.dragHandler,s),s.keyHandler=n.proxy(s.keyHandler,s),s.autoPlayIterator=n.proxy(s.autoPlayIterator,s),s.instanceUid=r++,s.init()}).prototype.addSlide=function(i,e,t){var o=this;if("boolean"==typeof e)t=e,e=null;else if(e<0||e>=o.slideCount)return!1;o.unload(),"number"==typeof e?0===e&&0===o.$slides.length?n(i).appendTo(o.$slideTrack):t?n(i).insertBefore(o.$slides.eq(e)):n(i).insertAfter(o.$slides.eq(e)):!0===t?n(i).prependTo(o.$slideTrack):n(i).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).remove(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},o.prototype.animateSlide=function(i,e){var t={},o=this;!1===o.transformsEnabled?!1===o.options.vertical?o.$slideTrack.animate({left:i},o.options.speed,o.options.easing,e):o.$slideTrack.animate({top:i},o.options.speed,o.options.easing,e):!1===o.cssTransitions?n({animStart:o.currentLeft}).animate({animStart:i},{duration:o.options.speed,easing:o.options.easing,step:function(i){!1===o.options.vertical?t[o.animType]="translate("+i+"px, 0px)":t[o.animType]="translate(0px,"+i+"px)",o.$slideTrack.css(t)},complete:function(){e&&e.call()}}):(o.applyTransition(),!1===o.options.vertical?t[o.animType]="translate3d("+i+"px, 0px, 0px)":t[o.animType]="translate3d(0px,"+i+"px, 0px)",o.$slideTrack.css(t),e&&setTimeout(function(){o.disableTransition(),e.call()},o.options.speed))},o.prototype.applyTransition=function(i){var e=this,t={};!1===e.options.fade?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},o.prototype.autoPlay=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer),i.slideCount>i.options.slidesToShow&&!0!==i.paused&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},o.prototype.autLine truncated
|
||||
Reference in new issue
Block a user