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UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;;;;;ACtBa;;AAEb,IAAIqH,cAAc,GAAG5W,mBAAO,CAAC,uFAAW,CAAC;AAEzCG,CAAC,CAACC,QAAQ,CAAC,CAACmW,KAAK,CAAC,YAAY;EAC1BK,cAAc,CAAC5W,mBAAO,CAAC,iGAAkB,CAAC,CAAC;EAE3C,IAAI6B,MAAM,CAACE,SAAS,CAACC,WAAW,CAAC6U,oBAAoB,IAAI,aAAa,IAAIhV,MAAM,CAAC2U,EAAE,EAAE;IACjFI,cAAc,CAAC5W,mBAAO,CAAC,8GAA4B,CAAC,CAAC;EACzD;AACJ,CAAC,CAAC,C","sources":["webpack://app_custom_dietdirect/./cartridges/app_providio/cartridge/client/default/js/product/base.js","webpack://app_custom_dietdirect/./cartridges/app_providio/cartridge/client/default/js/product/detail.js","webpack://app_custom_dietdirect/./cartridges/app_storefront_base/cartridge/client/default/js/components/focus.js","webpack://app_custom_dietdirect/./cartridges/app_storefront_base/cartridge/client/default/js/product/base.js","webpack://app_custom_dietdirect/./cartridges/app_storefront_base/cartridge/client/default/js/product/detail.js","webpack://app_custom_dietdirect/./cartridges/app_storefront_base/cartridge/client/default/js/util.js","webpack://app_custom_dietdirect/./cartridges/int_ordergroove/cartridge/client/default/js/product/detail.js","webpack://app_custom_dietdirect/./cartridges/plugin_wishlists/cartridge/client/default/js/product/wishlist.js","webpack://app_custom_dietdirect/webpack/bootstrap","webpack://app_custom_dietdirect/./cartridges/app_providio/cartridge/client/default/js/productDetail.js"],"sourcesContent":["'use strict';\n\nvar base = require('base/product/base');\n\nfunction quickViewImagesSlick() {\n var $quickviewImages = $(document).find('.product-quickview').find('.primary-images');\n $quickviewImages.find('.product-image-carousel').addClass('order-0 col-lg-12');\n $quickviewImages.find('.product-image-carousel').removeClass('col-lg-10');\n $quickviewImages.find('.product-thumbnail-slick').addClass('order-3 col-lg-12 pt-4');\n $quickviewImages.find('.product-thumbnail-slick').removeClass('col-lg-2');\n\n var $quickviewSlick = $(document).find('.product-image-carousel');\n var $quickviewSlickOptions = {\n arrows: true,\n slidesToShow: 1,\n slidesToScroll: 1,\n focusOnSelect: true,\n infinite: true,\n dots: false,\n draggable: true,\n asNavFor: '.product-thumbnail-slick'\n };\n\n var $slidesToShowValue = 4;\n var $slidesToScrollValue = 1;\n\n /* $childElements is calculated before initializing slick, based on the number of child elements $slidesToShowValue and $slidesToScrollValue is updated and then slick is initialized. */\n var $childElements = $('.product-thumbnail-slick').children().length;\n if ($slidesToShowValue > $childElements) {\n $slidesToShowValue = $childElements;\n $slidesToScrollValue = $childElements;\n }\n\n /* Initializing Tumbnail slick and product images slick in quickview */\n var $quickviewThumbnailSlick = $(document).find('.product-thumbnail-slick');\n var $quickviewTumbnailSlickOptions = {\n asNavFor: '.product-image-carousel',\n slidesToShow: $slidesToShowValue,\n slidesToScroll: $slidesToScrollValue,\n dots: false,\n centerMode: false,\n focusOnSelect: true,\n arrows: false,\n infinite: false\n };\n\n // each for set items\n $.each($quickviewSlick, function () {\n if (!$(this).hasClass('slick-initialized')) {\n $(this).slick($quickviewSlickOptions);\n }\n });\n\n $.each($quickviewThumbnailSlick, function () {\n if (!$(this).hasClass('slick-initialized')) {\n $(this).slick($quickviewTumbnailSlickOptions);\n }\n });\n\n if ($(window).width() > 1024 && window.resources.preferences.quickViewZoomEnabled == 'true') {\n $('.easyzoom').easyZoom();\n }\n}\n\nfunction pdpImagesSlick() {\n var $pdpSlick = $(document).find('.product-image-carousel');\n var $pdpSlickOptions = {\n arrows: true,\n slidesToShow: 1,\n slidesToScroll: 1,\n focusOnSelect: true,\n infinite: true,\n dots: false,\n draggable: true,\n asNavFor: '.product-thumbnail-slick',\n responsive: [{\n breakpoint: 768,\n settings: {\n dots: $('.product-image-carousel').attr('enable-mobile-carousel-dots') == 'true'\n }\n }]\n };\n\n var $slidesToShowValue = 5;\n var $slidesToScrollValue = 1;\n\n /* $childElements is calculated before initializing slick, based on the number of child elements $slidesToShowValue and $slidesToScrollValue is updated and then slick is initialized. */\n var $childElements = $('.product-thumbnail-slick').children().length;\n if ($slidesToShowValue > $childElements) {\n $slidesToShowValue = $childElements;\n $slidesToScrollValue = $childElements;\n }\n\n /* Initializing thumbnail slick and product images slick in PLP page */\n var $thumbnailSlick = $(document).find('.product-thumbnail-slick');\n var $tumbnailSlickOptions = {\n asNavFor: '.product-image-carousel',\n slidesToShow: $slidesToShowValue,\n slidesToScroll: $slidesToScrollValue,\n dots: false,\n centerMode: false,\n focusOnSelect: true,\n arrows: $('.product-image-carousel').attr('enable-thumbnail-arrows') == 'true',\n vertical: true,\n infinite: false\n };\n\n $.each($thumbnailSlick, function () {\n if (!$(this).hasClass('slick-initialized')) {\n $(this).slick($tumbnailSlickOptions);\n }\n });\n\n $.each($pdpSlick, function () {\n if (!$(this).hasClass('slick-initialized')) {\n $(this).slick($pdpSlickOptions);\n }\n });\n\n /* To get the latest image and display on mouseout when user clicked on color swatches */\n swatchesHoverImage();\n}\n\nfunction createCarousel(response, $productContainer) {\n var $imageshtml = $('