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,cAAE,0BAAF,EAA8B,KAA9B;AACH,SAFD;;AAIA,UAAE,0BAAF,EAA8B,KAA9B;AACH,KAjBD;;AAmBA,aAAS,IAAT,GAAe;AACX,UAAG,MAAH,EAAY,GAAZ,CAAgB,MAAhB,EAAuB,CAAvB,EAA0B,OAA1B,CAAkC,EAAE,QAAQ,OAAV,EAAlC,EAAuD,IAAvD;AACH;AACD,gBAAY,YAAU;AAAC;AAAQ,KAA/B,EAAgC,IAAhC;AACA;AACH,CAnLD","file":"main.js","sourcesContent":["(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(\"Cannot find module '\"+o+\"'\");throw f.code=\"MODULE_NOT_FOUND\",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o 100) {\n $('header').addClass('minimal');\n } else {\n $('header').removeClass('minimal');\n }\n });\n $(window).bind('scroll', function () {\n if ($(window).scrollTop() > 500) {\n $('.up').fadeIn(500);\n } else {\n $('.up').fadeOut(500);\n }\n });\n $('.up').click(function () {\n $('html').animate({\n scrollTop: 0\n }, 500);\n });\n\n $('.btn-showcate').click(function () {\n $('.category-group').toggleClass('open');\n });\n\n // BANNER\n $('.banner').slick({\n slidesToShow: 1,\n slidesToScroll: 1,\n speed: 1000,\n autoplay: true,\n autoplaySpeed: 5000,\n arrows: true,\n dots: false,\n fade: true\n });\n\n $('.product-slide').slick({\n slidesToShow: 1,\n slidesToScroll: 1,\n arrows: false,\n dots: false,\n infinite: false,\n fade: true,\n asNavFor: '.product-nav'\n });\n $('.product-nav').slick({\n slidesToShow: 3,\n slidesToScroll: 1,\n asNavFor: '.product-slide',\n dots: false,\n focusOnSelect: true,\n infinite: true,\n swipe: true,\n swipeToSlide: true,\n vertical: true,\n verticalSwiping: true,\n responsive: [{\n breakpoint: 1199,\n settings: {\n slidesToShow: 3,\n }\n },\n {\n breakpoint: 991,\n settings: {\n slidesToShow: 3,\n }\n },\n {\n breakpoint: 767,\n settings: {\n slidesToShow: 4,\n }\n },\n {\n breakpoint: 543,\n settings: {\n slidesToShow: 3,\n vertical: false,\n verticalSwiping: false\n }\n }\n ]\n });\n\n $('.other-slide').slick({\n slidesToShow: 4,\n slidesToScroll: 1,\n autoplay: false,\n dots: false,\n swipe: true,\n swipeToSlide: true,\n infinite: true,\n arrows: true,\n responsive: [\n {\n breakpoint: 991,\n settings: {\n slidesToShow: 3,\n }\n },\n {\n breakpoint: 767,\n settings: {\n slidesToShow: 1,\n }\n }\n ]\n });\n\n $('.list-galarry').slick({\n slidesToShow: 4,\n slidesToScroll: 1,\n autoplay: false,\n dots: false,\n infinite: true,\n arrows: true,\n responsive: [\n {\n breakpoint: 991,\n settings: {\n slidesToShow: 3,\n }\n },\n {\n breakpoint: 767,\n settings: {\n slidesToShow: 1,\n }\n }\n ]\n });\n\n $(function() {\n $(\".lavalamp-list li\").on(\"click mouseover\", function(e) {\n var item = $(this);\n $(\".lavalamp-bar\").css(\"width\", item.outerWidth());\n $(\".lavalamp-bar\").css(\"left\", (item.offset().left - $(\".lavalamp-list li:first\").offset().left));\n\n if (e.type == \"click\") {\n $(\".lavalamp-list li\").removeClass(\"active\");\n item.addClass(\"active\");\n }\n });\n\n $(\".lavalamp-list li\").on(\"mouseout\", function() {\n $(\".lavalamp-list li.active\").click();\n });\n\n $(\".lavalamp-list li.active\").click();\n })\n\n function time(){\n $( \".opa\" ).css('left',0).animate({ \"left\": \"150px\" }, 1500);\n }\n setInterval(function(){time();},4000)\n time();\n});\n"],"preExistingComment":"//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJzcmNcXHNjcmlwdHNcXGpzXFxtYWluLmpzIl0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xsVG9wKCkgPiA1MDApIHtcbiAgICAgICAgICAgICQoJy51cCcpLmZhZGVJbig1MDApO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgJCgnLnVwJykuZmFkZU91dCg1MDApO1xuICAgICAgICB9XG4gICAgfSk7XG4gICAgJCgnLnVwJykuY2xpY2soZnVuY3Rpb24gKCkge1xuICAgICAgICAkKCdodG1sJykuYW5pbWF0ZSh7XG4gICAgICAgICAgICBzY3JvbGxUb3A6IDBcbiAgICAgICAgfSwgNTAwKTtcbiAgICB9KTtcblxuICAgICQoJy5idG4tc2hvd2NhdGUnKS5jbGljayhmdW5jdGlvbiAoKSB7XG4gICAgICAgICQoJy5jYXRlZ29yeS1ncm91cCcpLnRvZ2dsZUNsYXNzKCdvcGVuJyk7XG4gICAgfSk7XG5cbiAgICAvLyBCQU5ORVJcbiAgICAkKCcuYmFubmVyJykuc2xpY2soe1xuICAgICAgICBzbGlkZXNUb1Nob3c6IDEsXG4gICAgICAgIHNsaWRlc1RvU2Nyb2xsOiAxLFxuICAgICAgICBzcGVlZDogMTAwMCxcbiAgICAgICAgYXV0b3BsYXk6IHRydWUsXG4gICAgICAgIGF1dG9wbGF5U3BlZWQ6IDUwMDAsXG4gICAgICAgIGFycm93czogdHJ1ZSxcbiAgICAgICAgZG90czogZmFsc2UsXG4gICAgICAgIGZhZGU6IHRydWVcbiAgICB9KTtcblxuICAgICQoJy5wcm9kdWN0LXNsaWRlJykuc2xpY2soe1xuICAgICAgICBzbGlkZXNUb1Nob3c6IDEsXG4gICAgICAgIHNsaWRlc1RvU2Nyb2xsOiAxLFxuICAgICAgICBhcnJvd3M6IGZhbHNlLFxuICAgICAgICBkb3RzOiBmYWxzZSxcbiAgICAgICAgaW5maW5pdGU6IGZhbHNlLFxuICAgICAgICBmYWRlOiB0cnVlLFxuICAgICAgICBhc05hdkZvcjogJy5wcm9kdWN0LW5hdidcbiAgICB9KTtcbiAgICAkKCcucHJvZHVjdC1uYXYnKS5zbGljayh7XG4gICAgICAgIHNsaWRlc1RvU2hvdzogMyxcbiAgICAgICAgc2xpZGVzVG9TY3JvbGw6IDEsXG4gICAgICAgIGFzTmF2Rm9yOiAnLnByb2R1Y3Qtc2xpZGUnLFxuICAgICAgICBkb3RzOiBmYWxzZSxcbiAgICAgICAgZm9jdXNPblNlbGVjdDogdHJ1ZSxcbiAgICAgICAgaW5maW5pdGU6IHRydWUsXG4gICAgICAgIHN3aXBlOiB0cnVlLFxuICAgICAgICBzd2lwZVRvU2xpZGU6IHRydWUsXG4gICAgICAgIHZlcnRpY2FsOiB0cnVlLFxuICAgICAgICB2ZXJ0aWNhbFN3aXBpbmc6IHRydWUsXG4gICAgICAgIHJlc3BvbnNpdmU6IFt7XG4gICAgICAgICAgICBicmVha3BvaW50OiAxMTk5LFxuICAgICAgICAgICAgc2V0dGluZ3M6IHtcbiAgICAgICAgICAgICAgICBzbGlkZXNUb1Nob3c6IDMsXG4gICAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICAgIGJyZWFrcG9pbnQ6IDk5MSxcbiAgICAgICAgICAgIHNldHRpbmdzOiB7XG4gICAgICAgICAgICAgICAgc2xpZGVzVG9TaG93OiAzLFxuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgICBicmVha3BvaW50OiA3NjcsXG4gICAgICAgICAgICBzZXR0aW5nczoge1xuICAgICAgICAgICAgICAgIHNsaWRlc1RvU2hvdzogNCxcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgICAgYnJlYWtwb2ludDogNTQzLFxuICAgICAgICAgICAgc2V0dGluZ3M6IHtcbiAgICAgICAgICAgICAgICBzbGlkZXNUb1Nob3c6IDMsXG4gICAgICAgICAgICAgICAgdmVydGljYWw6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHZlcnRpY2FsU3dpcGluZzogZmFsc2VcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBdXG4gICAgfSk7XG5cbiAgICAkKCcub3RoZXItc2xpZGUnKS5zbGljayh7XG4gICAgICAgIHNsaWRlc1RvU2hvdzogNCxcbiAgICAgICAgc2xpZGVzVG9TY3JvbGw6IDEsXG4gICAgICAgIGF1dG9wbGF5OiBmYWxzZSxcbiAgICAgICAgZG90czogZmFsc2UsXG4gICAgICAgIHN3aXBlOiB0cnVlLFxuICAgICAgICBzd2lwZVRvU2xpZGU6IHRydWUsXG4gICAgICAgIGluZmluaXRlOiB0cnVlLFxuICAgICAgICBhcnJvd3M6IHRydWUsXG4gICAgICAgIHJlc3BvbnNpdmU6IFtcbiAgICAgICAge1xuICAgICAgICAgICAgYnJlYWtwb2ludDogOTkxLFxuICAgICAgICAgICAgc2V0dGluZ3M6IHtcbiAgICAgICAgICAgICAgICBzbGlkZXNUb1Nob3c6IDMsXG4gICAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICAgIGJyZWFrcG9pbnQ6IDc2NyxcbiAgICAgICAgICAgIHNldHRpbmdzOiB7XG4gICAgICAgICAgICAgICAgc2xpZGVzVG9TaG93OiAxLFxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIF1cbiAgICB9KTtcblxuICAgICQoJy5saXN0LWdhbGFycnknKS5zbGljayh7XG4gICAgICAgIHNsaWRlc1RvU2hvdzogNCxcbiAgICAgICAgc2xpZGVzVG9TY3JvbGw6IDEsXG4gICAgICAgIGF1dG9wbGF5OiBmYWxzZSxcbiAgICAgICAgZG90czogZmFsc2UsXG4gICAgICAgIGluZmluaXRlOiB0cnVlLFxuICAgICAgICBhcnJvd3M6IHRydWUsXG4gICAgICAgIHJlc3BvbnNpdmU6IFtcbiAgICAgICAge1xuICAgICAgICAgICAgYnJlYWtwb2ludDogOTkxLFxuICAgICAgICAgICAgc2V0dGluZ3M6IHtcbiAgICAgICAgICAgICAgICBzbGlkZXNUb1Nob3c6IDMsXG4gICAgICA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