PATH:
home
/
lab2454c
/
fcxpro.com
/
wp-content
/
themes
/
webon
/
assets
/
js
!function(s){"use strict";window.qodef={},qodef.body=s("body"),qodef.html=s("html"),qodef.window=s(window),qodef.windowWidth=s(window).width(),qodef.windowHeight=s(window).height(),qodef.scroll=0,s(document).ready(function(){qodef.scroll=s(window).scrollTop(),t.init(),b.init(),o.init(),d.init(),i.init(),e.init()}),s(window).on("load",function(){n.init()}),s(window).resize(function(){qodef.windowWidth=s(window).width(),qodef.windowHeight=s(window).height(),n.init()}),s(window).scroll(function(){qodef.scroll=s(window).scrollTop()}),s(document).on("webon_trigger_get_new_posts",function(){b.init(),o.init()});var t={init:function(){t.addBodyClassName()},isBrowser:function(e){var i=!1;switch(e){case"chrome":i=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor);break;case"safari":i=/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor);break;case"firefox":i=-1<navigator.userAgent.toLowerCase().indexOf("firefox");break;case"ie":i=0<window.navigator.userAgent.indexOf("MSIE ")||!!navigator.userAgent.match(/Trident.*rv\:11\./);break;case"edge":i=/Edge\/\d./i.test(navigator.userAgent)}return i},addBodyClassName:function(){s.each(["chrome","safari","firefox","ie","edge"],function(e,i){t.isBrowser(i)&&void 0!==qodef.body&&("ie"===i&&(i="ms-explorer"),qodef.body.addClass("qodef-browser--"+i))})}},b={init:function(e){this.holder=s(".qodef-swiper-container"),s.extend(this.holder,e),this.holder.length&&this.holder.each(function(){b.createSlider(s(this))})},createSlider:function(e){var i=b.getOptions(e),t=b.getEvents(e,i);new Swiper(e,Object.assign(i,t))},getOptions:function(e,i){var t=void 0!==e.data("options")?e.data("options"):{},o=void 0!==t.spaceBetween&&""!==t.spaceBetween?t.spaceBetween:0,n=void 0!==t.slidesPerView&&""!==t.slidesPerView?t.slidesPerView:1,a=void 0!==t.centeredSlides&&""!==t.centeredSlides&&t.centeredSlides,s=void 0!==t.sliderScroll&&""!==t.sliderScroll&&t.sliderScroll,d=void 0===t.loop||""===t.loop||t.loop,r=void 0===t.autoplay||""===t.autoplay||t.autoplay,l=void 0!==t.speed&&""!==t.speed?parseInt(t.speed,10):2e3,f=void 0!==t.speedAnimation&&""!==t.speedAnimation?parseInt(t.speedAnimation,10):800,c=void 0!==t.slideAnimation&&""!==t.slideAnimation?t.slideAnimation:"",h=void 0!==t.customStages&&""!==t.customStages&&t.customStages,u=void 0!==t.outsideNavigation&&"yes"===t.outsideNavigation,g=u?".swiper-button-next-"+t.unique:e.find(".swiper-button-next"),p=u?".swiper-button-prev-"+t.unique:e.find(".swiper-button-prev"),m=e.find(".swiper-pagination"),w=void 0!==t.grab&&""!==t.grab&&t.grab;!1!==r&&5e3!==l&&(r={delay:l});var v=void 0!==t.slidesPerView1440&&""!==t.slidesPerView1440?parseInt(t.slidesPerView1440,10):5,q=void 0!==t.slidesPerView1366&&""!==t.slidesPerView1366?parseInt(t.slidesPerView1366,10):4,y=void 0!==t.slidesPerView1024&&""!==t.slidesPerView1024?parseInt(t.slidesPerView1024,10):3,u=void 0!==t.slidesPerView768&&""!==t.slidesPerView768?parseInt(t.slidesPerView768,10):2,l=void 0!==t.slidesPerView680&&""!==t.slidesPerView680?parseInt(t.slidesPerView680,10):1;h||(n<2?u=y=q=v=n:n<3?y=q=v=n:n<4?q=v=n:n<5&&(v=n));n={slidesPerView:n,centeredSlides:a,sliderScroll:s,spaceBetween:o,autoplay:r,loop:d,speed:f,navigation:{nextEl:g,prevEl:p},pagination:{el:m,type:"bullets",clickable:!0},grabCursor:w,disableOnInteraction:!1,breakpoints:{0:{slidesPerView:void 0!==t.slidesPerView480&&""!==t.slidesPerView480?parseInt(t.slidesPerView480,10):1},481:{slidesPerView:l},681:{slidesPerView:u},769:{slidesPerView:y},1025:{slidesPerView:q},1367:{slidesPerView:v},1441:{slidesPerView:n}}};return c.length&&"fade"===c&&(n.effect="fade",n.fadeEffect={crossFade:!0}),Object.assign(n,b.getSliderDatas(e))},getSliderDatas:function(e){var i,t=e.data(),o={};for(i in t)t.hasOwnProperty(i)&&"options"!==i&&void 0!==t[i]&&""!==t[i]&&(o[i]=t[i]);return o},getEvents:function(t,e){return{on:{init:function(){var i;t.addClass("qodef-swiper--initialized"),e.sliderScroll&&(i=!1,t.on("mousewheel",function(e){e.preventDefault(),i||(i=!0,e.deltaY<0?t[0].swiper.slideNext():t[0].swiper.slidePrev(),setTimeout(function(){i=!1},1e3))}))}}}}};qodef.qodefSwiper=b;var o={init:function(e){this.holder=s(".qodef-magnific-popup"),s.extend(this.holder,e),this.holder.length&&this.holder.each(function(){var e=s(this);e.hasClass("qodef-popup-item")?o.initSingleImagePopup(e):e.hasClass("qodef-popup-gallery")&&o.initGalleryPopup(e)})},initSingleImagePopup:function(e){var i=e.data("type");e.magnificPopup({type:i,titleSrc:"title",image:{cursor:null}})},initGalleryPopup:function(e){var e=e.find(".qodef-popup-item"),i=o.generateGalleryItems(e);e.each(function(e){s(this).magnificPopup({items:i,gallery:{enabled:!0},index:e,type:"image",image:{cursor:null}})})},generateGalleryItems:function(e){var i=[];return e.length&&e.each(function(){var e=s(this),e={src:e.attr("href"),title:e.attr("title"),type:e.data("type")};i.push(e)}),i}};qodef.qodefMagnificPopup=o;var d={items:"",init:function(e){this.holder=s(".qodef-anchor"),s.extend(this.holder,e),this.holder.length&&(d.items=this.holder,d.clickTrigger(),s(window).on("load",function(){d.checkAnchorOnScroll(),d.checkAnchorOnLoad()}))},clickTrigger:function(){d.items.on("click",function(e){var i=d.getAnchorItem(this),t=i.attr("href"),o=i.prop("hash").split("#")[1],n=window.location.href,a=-1<n.indexOf("#")?n.split("#")[1]:0;(t.indexOf("http")<0||t===n||0!==a&&t.substring(0,t.length-o.length-1)===n.substring(0,n.length-a.length-1)||0===a&&t.substring(0,t.length-o.length-1)===n)&&e.preventDefault(),d.animateScroll(i,o)})},checkAnchorOnLoad:function(){var i=window.location.hash.split("#")[1];void 0!==i&&""!==i&&d.items.length&&d.items.each(function(){var e=d.getAnchorItem(this);-1<e.attr("href").indexOf(i)&&d.animateScroll(e,i)})},checkAnchorOnScroll:function(){var e;1024<qodef.windowWidth&&((e=s("#qodef-page-inner *[id]")).length&&e.each(function(){var e=s(this),i=s('[href*="#'+e.attr("id")+'"]');i.length&&(d.isTargetInView(e)&&d.setActiveState(i),s(window).scroll(function(){d.isTargetInView(e)?d.setActiveState(i):i.removeClass(d.getItemClasses(i))}))}))},isTargetInView:function(e){var i=e[0].getBoundingClientRect(),e=window.innerHeight||document.documentElement.clientHeight;return!(Math.floor(100-(0<=i.top?0:i.top)/-+i.height*100)<20||Math.floor(100-(i.bottom-e)/i.height*100)<20)},getAnchorItem:function(e){return"A"===e.tagName?s(e):s(e).children("a")},animateScroll:function(e,i){var t=""!==i?s('[id="'+i+'"]'):"";if(t.length){t=t.offset().top-d.getHeaderHeight()-qodefGlobal.vars.adminBarHeight;return d.setActiveState(e),qodef.html.stop().animate({scrollTop:Math.round(t)},1e3,function(){history.pushState&&history.pushState(null,"","#"+i)}),!1}},getHeaderHeight:function(){var e=0;return e=1024<qodef.windowWidth&&null!==qodefGlobal.vars.headerHeight&&""!==qodefGlobal.vars.headerHeight?parseInt(qodefGlobal.vars.headerHeight,10):e},setActiveState:function(e){var i=!e.parent().hasClass("qodef-anchor"),t=d.getItemClasses(e);d.items.removeClass(t),(i?e:e.parent()).addClass(t)},getItemClasses:function(e){return"qodef-anchor--active"+(e.parents("#qodef-page-header")?" current-menu-item current_page_item":"")}};qodef.qodefAnchor=d,"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");e=Object(e);for(var i=1;i<arguments.length;i++){var t=arguments[i];if(null!==t)for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e});var i={init:function(){var e=s(".comment-reply-link, .comment-edit-link, .qodef-m-pagination-item.qodef--prev, .qodef-m-pagination-item.qodef--next");e.length&&i.addClass(e),s(document).on("webon_trigger_get_new_posts",function(){i.addClass(e)})},addClass:function(e){e.each(function(){s(this).on("mouseenter",function(){s(this).removeClass("qodef-arrow-animation-out")}),s(this).on("mouseleave",function(){s(this).addClass("qodef-arrow-animation-out")})})}};qodef.qodefCustomArrowHover=i;var e={init:function(){this.holder=s(".qodef--has-appear"),this.holder.length&&this.holder.each(function(){var e,i,t=s(this),o=(e=10,i=400,Math.floor(Math.random()*(i-e)+e));t.hasClass("qodef--appear-delay-random")?t.appear(function(){setTimeout(function(){t.addClass("qodef--appeared ")},o)},{accX:0,accY:qodefGlobal.vars.elementAppearAmount}):t.appear(function(){t.addClass("qodef--appeared ")},{accX:0,accY:-50})})}};qodef.qodefAppear=e;var n={init:function(){this.holder=s(".qodef-tabs.qodef-orientation--horizontal .qodef-tabs-navigation, #qodef-woo-page .wc-tabs"),this.holder.length&&680<qodef.windowWidth&&this.holder.each(function(){var e=s(this);e.hasClass("qodef-tabs-navigation")?n.lineAnimation(e,".ui-state-active"):e.hasClass("wc-tabs")&&n.lineAnimation(e,".active")})},lineAnimation:function(e,i){e.append('<span class="qodef-tab-underline"></span>');var t=e.find(".qodef-tab-underline"),o=e.find("> li"),n=o.filter(i).left,a=e.offset().left;t.css("width",o.filter(i).outerWidth()),t.css("left",n-a),o.mouseenter(function(){var e=s(this),i=e.outerWidth(),e=e.offset().left-a;t.css("width",i),t.css("left",e)}),o.mouseleave(function(){t.css("width",o.filter(i).outerWidth()),t.css("left",o.filter(i).offset().left-a),console.log(o.filter(i).offset().left)})}};qodef.qodefTabsUnderine=n}(jQuery),function(o){"use strict";o(document).ready(function(){n.init()}),o(window).on("resize",function(){n.init()}),o(document).on("webon_trigger_get_new_posts",function(e,i){i.hasClass("qodef-blog")&&(t.init(i),n.resize(i))});var t={init:function(e){e=e.find(".wp-video-shortcode, .wp-audio-shortcode").not(".mejs-container");e.length&&e.each(function(){var e=o(this);"function"==typeof e.mediaelementplayer&&e.mediaelementplayer({videoWidth:"100%",videoHeight:"56.5%"})})}},n={init:function(){var e=o(".qodef-blog");e.length&&n.resize(e)},resize:function(e){e=e.find(".qodef-e-media iframe");e.length&&e.each(function(){var e=o(this),i=e.attr("width"),t=e.attr("height"),t=e.width()/i*t;e.css("height",t)})}}}(jQuery),function(i){"use strict";i(document).ready(function(){n.init()}),i(window).resize(function(){n.reInit()}),i(document).on("webon_trigger_get_new_posts",function(e,i){i.hasClass("qodef-layout--masonry")&&n.init()});var n={init:function(e){this.holder=i(".qodef-layout--masonry"),i.extend(this.holder,e),this.holder.length&&this.holder.each(function(){n.createMasonry(i(this))})},reInit:function(e){this.holder=i(".qodef-layout--masonry"),i.extend(this.holder,e),this.holder.length&&this.holder.each(function(){var e=i(this).find(".qodef-grid-inner");"function"==typeof e.isotope&&e.isotope("layout")})},createMasonry:function(i){var t=i.find(".qodef-grid-inner"),o=t.find(".qodef-grid-item");t.waitForImages(function(){var e;"function"==typeof t.isotope&&(t.isotope({layoutMode:"packery",itemSelector:".qodef-grid-item",percentPosition:!0,masonry:{columnWidth:".qodef-grid-masonry-sizer",gutter:".qodef-grid-masonry-gutter"}}),i.hasClass("qodef-items--fixed")&&(e=n.getFixedImageSize(t,o),n.setFixedImageProportionSize(t,o,e)),t.isotope("layout")),t.addClass("qodef--masonry-init")})},getFixedImageSize:function(e,i){var t=e.find(".qodef-item--square");if(t.length){var o=t.find("img"),t=o.width(),o=o.height();return t!==o?o:t}return e.find(".qodef-grid-masonry-sizer").width()-2*parseInt(i.css("paddingLeft"),10)},setFixedImageProportionSize:function(e,i,t){var o=parseInt(i.css("paddingLeft"),10),n=(e.find(".qodef-item--square"),e.find(".qodef-item--landscape")),a=e.find(".qodef-item--portrait"),s=e.find(".qodef-item--huge-square"),e=qodef.windowWidth<=680;i.css("height",t),n.length&&n.css("height",Math.round(t/2)),a.length&&a.css("height",Math.round(2*(t+o))),e||(n.length&&n.css("height",t),s.length&&s.css("height",Math.round(2*(t+o))))}};qodef.qodefMasonryLayout=n}(jQuery),function(c){"use strict";c(document).ready(function(){h.init()}),c(document).on("webon_trigger_get_new_posts",function(e,i){i.hasClass("qodef-filter--on")&&h.setVisibility(i,i.find(".qodef-m-filter-item.qodef--active"),!0)});var h={init:function(e){this.holder=c(".qodef-filter--on"),c.extend(this.holder,e),this.holder.length&&this.holder.each(function(){var e=c(this),i=e.find(".qodef-m-filter-item");h.extendListHTML(e),h.clickEvent(e,i)})},extendListHTML:function(e){e.children(".qodef-hidden-filter-items").length||h.isMasonryLayout(e)||e.append('<div class="qodef-hidden-filter-items"></div>')},clickEvent:function(i,t){t.on("click",function(e){e.preventDefault();e=c(this);e.hasClass("qodef--active")||(i.addClass("qodef--filter-loading"),t.removeClass("qodef--active"),e.addClass("qodef--active"),h.setVisibility(i,e))})},setVisibility:function(e,i,t){var o=e.children(".qodef-hidden-filter-items"),n=o.length,a=n?o.children(".qodef-grid-item"):"",s=e.find(".qodef-grid-inner"),d=s.children(".qodef-grid-item"),r=i.data("taxonomy"),i=i.data("filter"),l="*"===i,f=l?i:r+"-"+i,i=d.hasClass(f);n&&!i&&a.hasClass(f)&&(i=!0),t&&l||(l||i||!h.hasLoadMore(e)?(h.isMasonryLayout(e)?s.isotope({filter:l?"":"."+f}):(l||d.each(function(){var e=c(this);-1===e.attr("class").indexOf(f)&&e.hide(300,"linear",function(){e.appendTo(o)})}),a.length&&a.each(function(){var e=c(this),i=e.attr("class");!l&&-1===i.indexOf(f)||e.appendTo(s).show(300,"linear")})),e.removeClass("qodef--filter-loading")):qodef.body.trigger("webon_trigger_load_more",[e]))},isMasonryLayout:function(e){return e.hasClass("qodef-layout--masonry")},hasLoadMore:function(e){return e.hasClass("qodef-pagination-type--load-more")}};qodef.qodefFilter=h}(jQuery),function(d){"use strict";d(document).ready(function(){i.init()}),d(document).on("webon_trigger_get_new_posts",function(){i.init()});var i={init:function(){var e=d(".qodef-layout--justified-gallery");e.length&&e.each(function(){i.setJustifyGallery(d(this))})},setJustifyGallery:function(e){var i=e.data("options"),t=e.children(".qodef-grid-inner"),o=void 0!==i.justified_gallery_row_height&&""!==i.justified_gallery_row_height?i.justified_gallery_row_height:150,n=void 0!==i.justified_gallery_row_height_max&&""!==i.justified_gallery_row_height_max&&i.justified_gallery_row_height_max,a=2*i.space_value,s=void 0!==i.justified_gallery_treshold&&""!==i.justified_gallery_treshold?i.justified_gallery_treshold:.75;t.waitForImages(function(){"function"==typeof t.justifiedGallery&&t.justifiedGallery({captions:!1,rowHeight:o,maxRowHeight:n,margins:a,border:0,lastRow:"nojustify",justifyThreshold:s,selector:".qodef-grid-item"}).on("jg.complete jg.rowflush",function(){var i=d(this),t=!1;i.find(".qodef-grid-item").addClass("show").each(function(){var e=d(this);e.height(Math.round(e.height())),t||0!==e.width()||(i.height(i.height()-e.height()-a),t=!0)})}),e.addClass("qodef--justified-gallery-init")})}};qodef.qodefJustifiedGallery=i}(jQuery),function(i){"use strict";i(document).ready(function(){t.init()});var t={init:function(){var e=i("#qodef-page-mobile-header");e.length&&(t.initMobileHeaderOpener(e),t.initDropDownMobileMenu())},initMobileHeaderOpener:function(e){var i,t=e.find(".qodef-mobile-header-opener");t.length&&(i=e.find(".qodef-mobile-header-navigation"),t.on("tap click",function(e){e.preventDefault(),i.is(":visible")?(i.slideUp(450),t.removeClass("qodef--opened")):(i.slideDown(450),t.addClass("qodef--opened"))}))},initDropDownMobileMenu:function(){var e=i(".qodef-mobile-header-navigation .menu-item-has-children > a");e.length&&e.each(function(){var o=i(this);o.on("tap click",function(e){e.preventDefault();var i,t=o.parent(),e=t.siblings(".menu-item-has-children");t.hasClass("menu-item-has-children")&&((i=t.find("ul.sub-menu").first()).is(":visible")?(i.slideUp(450),t.removeClass("qodef--opened")):(t.addClass("qodef--opened"),(0===e.length?t:t.siblings().removeClass("qodef--opened")).find(".sub-menu").slideUp(400,function(){i.slideDown(400)})))})})}}}(jQuery),function(s){s(document).ready(function(){e.init()});var e={init:function(){var e=s(".qodef-header-navigation.qodef-header-navigation-initial > ul > li.qodef-menu-item--narrow.menu-item-has-children");e.length&&e.each(function(e){var i,t=s(this),o=t.offset().left,n=t.find(" > ul"),a=n.outerWidth(),o=s(window).width()-o;0<t.find("li.menu-item-has-children").length&&(i=o-a),n.removeClass("qodef-drop-down--right"),(o<a||i<a)&&n.addClass("qodef-drop-down--right")})}}}(jQuery),function(a){"use strict";a(document).ready(function(){s.init()}),a(window).scroll(function(){s.scroll()}),a(document).on("webon_trigger_load_more",function(e,i,t){s.triggerLoadMore(i,t)});var s={init:function(e){this.holder=a(".qodef-pagination--on"),a.extend(this.holder,e),this.holder.length&&this.holder.each(function(){var e=a(this);s.initPaginationType(e)})},scroll:function(e){this.holder=a(".qodef-pagination--on"),a.extend(this.holder,e),this.holder.length&&this.holder.each(function(){var e=a(this);e.hasClass("qodef-pagination-type--infinite-scroll")&&s.initInfiniteScroll(e)})},initPaginationType:function(e){e.hasClass("qodef-pagination-type--standard")?s.initStandard(e):e.hasClass("qodef-pagination-type--load-more")?s.initLoadMore(e):e.hasClass("qodef-pagination-type--infinite-scroll")&&s.initInfiniteScroll(e)},initStandard:function(o){var e,i=o.find(".qodef-m-pagination-items");i.length&&(e=o.data("options"),i.children().each(function(){var i=a(this),t=i.children("a");s.changeStandardState(o,e.max_pages_num,1),t.on("click",function(e){e.preventDefault(),i.hasClass("qodef--active")||s.getNewPosts(o,t.data("paged"))})}))},changeStandardState:function(e,i,t){var o,n;e.hasClass("qodef-pagination-type--standard")&&(o=(n=e.find(".qodef-m-pagination-items")).children(".qodef--number"),e=n.children(".qodef--prev"),n=n.children(".qodef--next"),o.removeClass("qodef--active").eq(t-1).addClass("qodef--active"),e.children().data("paged",t-1),1<t?e.show():e.hide(),n.children().data("paged",t+1),t===i?n.hide():n.show())},initLoadMore:function(i){i.find(".qodef-load-more-button").on("click",function(e){e.preventDefault(),s.getNewPosts(i)})},triggerLoadMore:function(e,i){s.getNewPosts(e,i)},hideLoadMoreButton:function(e,i){e.hasClass("qodef-pagination-type--load-more")&&i.next_page>i.max_pages_num&&e.find(".qodef-load-more-button").hide()},initInfiniteScroll:function(e){var i=e.outerHeight()+e.offset().top,t=qodef.scroll+qodef.windowHeight,o=e.data("options");!e.hasClass("qodef--loading")&&i<t&&o.max_pages_num>=o.next_page&&s.getNewPosts(e)},getNewPosts:function(i,t){i.addClass("qodef--loading");var o=i.children(".qodef-grid-inner"),n=i.data("options");s.setNextPageValue(n,t,!1),a.ajax({type:"GET",url:qodefGlobal.vars.restUrl+qodefGlobal.vars.paginationRestRoute,data:{options:n},beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",qodefGlobal.vars.restNonce)},success:function(e){"success"===e.status?(s.setNextPageValue(n,t,!0),s.changeStandardState(i,n.max_pages_num,t),o.waitForImages(function(){s.addPosts(o,e.data.html,t),s.reInitMasonryPosts(i,o),setTimeout(function(){qodef.body.trigger("webon_trigger_get_new_posts",[i,e.data,t])},300)}),s.hideLoadMoreButton(i,n)):console.log(e.message)},complete:function(){i.removeClass("qodef--loading")}})},setNextPageValue:function(e,i,t){void 0===i||""===i||t?t&&(e.next_page=parseInt(e.next_page,10)+1):e.next_page=i},addPosts:function(e,i,t){void 0!==t&&""!==t?e.html(i):e.append(i)},reInitMasonryPosts:function(e,i){e.hasClass("qodef-layout--masonry")&&(i.isotope("reloadItems").isotope({sortBy:"original-order"}),setTimeout(function(){i.isotope("layout")},200))}};qodef.qodefPagination=s}(jQuery),function(r){"use strict";r(document).ready(function(){t.init(),e.init(),i.init()});var t={init:function(e){this.holder=[],this.holder.push({holder:r("#qodef-woo-page .woocommerce-ordering select"),options:{minimumResultsForSearch:1/0}}),this.holder.push({holder:r("#qodef-woo-page .variations select"),options:{minimumResultsForSearch:1/0}}),this.holder.push({holder:r("#qodef-woo-page #calc_shipping_country"),options:{}}),this.holder.push({holder:r("#qodef-woo-page .shipping select#calc_shipping_state"),options:{}}),this.holder.push({holder:r(".widget.widget_archive select"),options:{}}),this.holder.push({holder:r(".widget.widget_categories select"),options:{}}),this.holder.push({holder:r(".widget.widget_text select"),options:{}}),r.extend(this.holder,e),"object"==typeof this.holder&&r.each(this.holder,function(e,i){t.createSelect2(i.holder,i.options)})},createSelect2:function(e,i){"function"==typeof e.select2&&e.select2(i)}},e={init:function(){r(document).on("click",".qodef-quantity-minus, .qodef-quantity-plus",function(e){e.stopPropagation();var i,t=r(this),o=t.siblings(".qodef-quantity-input"),n=parseFloat(o.data("step")),a=parseFloat(o.data("max")),s=parseFloat(o.data("min")),d=!1,e="function"==typeof Number.isNaN&&Number.isNaN(parseFloat(o.val()))?s:parseFloat(o.val());(d=t.hasClass("qodef-quantity-minus")?!0:d)?s<=(i=e-n)?o.val(i):o.val(s):(i=e+n,void 0!==a&&a<=i?o.val(a):o.val(i)),o.trigger("change")})}},i={init:function(){var e;"object"!=typeof qodef.qodefMagnificPopup||(e=r(".qodef--single.qodef-magnific-popup.qodef-popup-gallery .woocommerce-product-gallery__image")).length&&(e.each(function(){r(this).children("a").attr("data-type","image").addClass("qodef-popup-item")}),qodef.qodefMagnificPopup.init())}};qodef.qodefWooMagnificPopup=i}(jQuery);
[+]
..
[-] main.min.js
[edit]
[-] main.js
[edit]