<?xml version="1.0"?>
<!--
/**
 * @author Amasty Team
 * @copyright Copyright (c) Amasty (https://www.amasty.com)
 * @package Lazy Load for Magento 2 (System)
 */-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Amasty\QuickOrder\Model\ItemConverter">
        <plugin name="Amasty_LazyLoad::QuickOrderImageReplace" type="Amasty\LazyLoad\Plugin\QuickOrder\Model\ItemConverter\QuickOrderImageReplace" />
    </type>
    <type name="Magento\Swatches\Helper\Data">
        <plugin name="Amasty_LazyLoad::SwatchImageReplace" type="Amasty\LazyLoad\Plugin\Swatches\Helper\Data\SwatchImageReplace" />
    </type>
    <type name="Magento\ConfigurableProduct\Block\Product\View\Type\Configurable">
        <plugin name="Amasty_LazyLoad::SwatchGalleryReplace" type="Amasty\LazyLoad\Plugin\ConfigurableProduct\Block\Product\View\Type\Configurable\SwatchGalleryReplace" />
    </type>
    <type name="Magento\Catalog\Block\Product\View\Gallery">
        <plugin name="Amasty_LazyLoad::ProductGalleryReplace" type="Amasty\LazyLoad\Plugin\Catalog\Block\Product\View\Gallery\ProductGalleryReplace" sortOrder="10"/>
    </type>
    <type name="Magento\Framework\App\Http\Context">
        <plugin name="Amasty_LazyLoad::varnish" type="Amasty\LazyLoad\Plugin\Framework\App\Http\Context"/>
    </type>
    <type name="Amasty\PromoBanners\Block\Banner">
        <plugin name="Amasty_LazyLoad::ReplaceImg" type="Amasty\LazyLoad\Plugin\PromoBanners\Block\Banner\ReplaceImg" sortOrder="15"/>
    </type>
    <type name="Amasty\Mostviewed\Block\Widget\Related">
        <plugin name="Amasty_LazyLoad::MostviewedImageReplace" type="Amasty\LazyLoad\Plugin\Mostviewed\Block\Widget\Related\MostviewedImageReplace" />
    </type>
    <type name="Magento\Swatches\Block\Product\Renderer\Configurable">
        <plugin name="Amasty_LazyLoad::CategoryPageSwatchImageReplace" type="Amasty\LazyLoad\Plugin\Swatches\Block\Product\Renderer\Configurable\CategoryPageSwatchImageReplace"/>
    </type>
    <type name="Magento\Catalog\Model\ProductRender\Image">
        <plugin name="Amasty_LazyLoad::RecentlyViewedImageReplace" type="Amasty\LazyLoad\Plugin\Catalog\Model\ProductRender\Image\RecentlyViewedImageReplace"/>
    </type>
    <type name="Amasty\BannerSlider\Model\ImageProcessor">
        <plugin name="Amasty_LazyLoad::ReplaceBannerSlider" type="Amasty\LazyLoad\Plugin\BannerSlider\Model\ImageProcessor\ReplaceBannerSlider" sortOrder="15"/>
    </type>
</config>
