
$("#modal-container").html("<div class=\'modal modal-fullscreen\' role=\'dialog\' tabindex=\'-1\'>\n<div class=\'modal-dialog modal-dialog-centered modal-lg\' role=\'document\'>\n<div class=\'modal-content\'>\n<div class=\'modal-header border-white-gray\'>\n<h5 class=\'modal-title\'>Sélectionnez un produit dans le panier<\/h5>\n<button aria-label=\'Close\' class=\'close\' data-dismiss=\'modal\' type=\'button\'>\n<span aria-hidden=\'true\'>×<\/span>\n<\/button>\n<\/div>\n<div class=\'modal-body\' data-track-modal-analytics>\n<div class=\'row justify-content-center align-items-stretch list-group-selector\'>\n<div class=\'col-12 col-md-6 col-lg-5\'>\n<div class=\'badges badges-left pt-1\'>\n\n<\/div>\n<a data-product-path-in-modal=\"true\" href=\"/five-rfx4-airflow-black-s\"><div class=\'tile-img tile-group-selector\'>\n<img alt=\'Five RFX4 Airflow Noir S Gants de moto\' class=\'img-fluid\' data-image-change src=\'https://muzikercdn.com/uploads/products/4940/494090/thumb_3328b112.jpg\'>\n<\/div>\n<\/a><\/div>\n<div class=\'col-12 col-md-6 col-lg-7\'>\n<div class=\'light-gray\'>\nGants de moto\n<\/div>\n<div class=\'product-tile-header font-weight-bold mb-3\' data-product-name title=\'Five RFX4 Airflow Noir S Gants de moto\'>\nFive RFX4 Airflow Noir S Gants de moto\n<\/div>\n<div data-group-products=\'[{&quot;param_values&quot;:&quot;S|&quot;,&quot;path&quot;:&quot;/five-rfx4-airflow-black-s&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494090/thumb_3328b112.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494090/icon_3328b112.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494090/icon_base_3328b112.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;S&quot;},&quot;id_hash&quot;:&quot;2072fc68f4&quot;,&quot;name&quot;:&quot;Five RFX4 Airflow Noir S Gants de moto&quot;,&quot;code&quot;:361482,&quot;brand&quot;:&quot;Five&quot;,&quot;price_with_vat&quot;:&quot;63.9&quot;,&quot;base_price_with_vat&quot;:&quot;79.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;54.62&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;68.29&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Gants de moto&quot;,&quot;discount_percentage&quot;:20,&quot;product_description_short&quot;:&quot;Ceci est une traduction générée par logiciel: Le RFX4 est fait pour les cyclistes à la recherche d&#39;un ...&quot;},{&quot;param_values&quot;:&quot;M|&quot;,&quot;path&quot;:&quot;/five-rfx4-airflow-black-m&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494088/thumb_9dd825c5.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494088/icon_9dd825c5.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494088/icon_base_9dd825c5.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;M&quot;},&quot;id_hash&quot;:&quot;a117f808b1&quot;,&quot;name&quot;:&quot;Five RFX4 Airflow Noir M Gants de moto&quot;,&quot;code&quot;:361481,&quot;brand&quot;:&quot;Five&quot;,&quot;price_with_vat&quot;:&quot;63.9&quot;,&quot;base_price_with_vat&quot;:&quot;79.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;54.62&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;68.29&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Gants de moto&quot;,&quot;discount_percentage&quot;:20,&quot;product_description_short&quot;:&quot;Ceci est une traduction générée par logiciel: Le RFX4 est fait pour les cyclistes à la recherche d&#39;un ...&quot;},{&quot;param_values&quot;:&quot;XL|&quot;,&quot;path&quot;:&quot;/five-rfx4-airflow-black-xl&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494092/thumb_2ac5995d.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494092/icon_2ac5995d.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494092/icon_base_2ac5995d.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;XL&quot;},&quot;id_hash&quot;:&quot;ae5706e5f4&quot;,&quot;name&quot;:&quot;Five RFX4 Airflow Noir XL Gants de moto&quot;,&quot;code&quot;:361483,&quot;brand&quot;:&quot;Five&quot;,&quot;price_with_vat&quot;:&quot;63.9&quot;,&quot;base_price_with_vat&quot;:&quot;79.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;54.62&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;68.29&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Gants de moto&quot;,&quot;discount_percentage&quot;:20,&quot;product_description_short&quot;:&quot;Ceci est une traduction générée par logiciel: Le RFX4 est fait pour les cyclistes à la recherche d&#39;un ...&quot;},{&quot;param_values&quot;:&quot;2XL|&quot;,&quot;path&quot;:&quot;/five-rfx4-airflow-black-xxl&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494096/thumb_109bd5b0.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494096/icon_109bd5b0.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494096/icon_base_109bd5b0.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;2XL&quot;},&quot;id_hash&quot;:&quot;bf72204c1f&quot;,&quot;name&quot;:&quot;Five RFX4 Airflow Noir 2XL Gants de moto&quot;,&quot;code&quot;:361485,&quot;brand&quot;:&quot;Five&quot;,&quot;price_with_vat&quot;:&quot;63.9&quot;,&quot;base_price_with_vat&quot;:&quot;79.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;54.62&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;68.29&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Gants de moto&quot;,&quot;discount_percentage&quot;:20,&quot;product_description_short&quot;:&quot;Ceci est une traduction générée par logiciel: Le RFX4 est fait pour les cyclistes à la recherche d&#39;un ...&quot;},{&quot;param_values&quot;:&quot;L|&quot;,&quot;path&quot;:&quot;/five-rfx4-airflow-black-l&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494086/thumb_c60046f7.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494086/icon_c60046f7.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494086/icon_base_c60046f7.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;L&quot;},&quot;id_hash&quot;:&quot;55a6ee3b9d&quot;,&quot;name&quot;:&quot;Five RFX4 Airflow Noir L Gants de moto&quot;,&quot;code&quot;:361480,&quot;brand&quot;:&quot;Five&quot;,&quot;price_with_vat&quot;:&quot;63.9&quot;,&quot;base_price_with_vat&quot;:&quot;79.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;54.62&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;68.29&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Gants de moto&quot;,&quot;discount_percentage&quot;:20,&quot;product_description_short&quot;:&quot;Ceci est une traduction générée par logiciel: Le RFX4 est fait pour les cyclistes à la recherche d&#39;un ...&quot;},{&quot;param_values&quot;:&quot;XS|&quot;,&quot;path&quot;:&quot;/five-rfx4-airflow-black-xs&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494094/thumb_0c626b4f.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494094/icon_0c626b4f.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494094/icon_base_0c626b4f.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;XS&quot;},&quot;id_hash&quot;:&quot;84d237531f&quot;,&quot;name&quot;:&quot;Five RFX4 Airflow Noir XS Gants de moto&quot;,&quot;code&quot;:361484,&quot;brand&quot;:&quot;Five&quot;,&quot;price_with_vat&quot;:&quot;79.9&quot;,&quot;base_price_with_vat&quot;:&quot;79.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;68.29&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;68.29&quot;,&quot;eshop_available&quot;:false,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Gants de moto&quot;,&quot;discount_percentage&quot;:0,&quot;product_description_short&quot;:&quot;Ceci est une traduction générée par logiciel: Le RFX4 est fait pour les cyclistes à la recherche d&#39;un ...&quot;},{&quot;param_values&quot;:&quot;3XL|&quot;,&quot;path&quot;:&quot;/five-rfx4-airflow-black-xxxl&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494098/thumb_b448021d.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494098/icon_b448021d.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/4940/494098/icon_base_b448021d.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;3XL&quot;},&quot;id_hash&quot;:&quot;57d71bc24b&quot;,&quot;name&quot;:&quot;Five RFX4 Airflow Noir 3XL Gants de moto&quot;,&quot;code&quot;:361486,&quot;brand&quot;:&quot;Five&quot;,&quot;price_with_vat&quot;:&quot;79.9&quot;,&quot;base_price_with_vat&quot;:&quot;79.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;68.29&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;68.29&quot;,&quot;eshop_available&quot;:false,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Gants de moto&quot;,&quot;discount_percentage&quot;:0,&quot;product_description_short&quot;:&quot;Ceci est une traduction générée par logiciel: Le RFX4 est fait pour les cyclistes à la recherche d&#39;un ...&quot;}]\' data-selector-position=\'product_list\' data-technical-param-values=\'{&quot;80&quot;:[{&quot;value&quot;:&quot;S&quot;,&quot;translate_value&quot;:&quot;S&quot;,&quot;product_image&quot;:null,&quot;position&quot;:1998},{&quot;value&quot;:&quot;M&quot;,&quot;translate_value&quot;:&quot;M&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2003},{&quot;value&quot;:&quot;XL&quot;,&quot;translate_value&quot;:&quot;XL&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2013},{&quot;value&quot;:&quot;2XL&quot;,&quot;translate_value&quot;:&quot;2XL&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2018},{&quot;value&quot;:&quot;L&quot;,&quot;translate_value&quot;:&quot;L&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2012},{&quot;value&quot;:&quot;XS&quot;,&quot;translate_value&quot;:&quot;XS&quot;,&quot;product_image&quot;:null,&quot;position&quot;:1993},{&quot;value&quot;:&quot;3XL&quot;,&quot;translate_value&quot;:&quot;3XL&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2021}]}\' id=\'group_selector_section\'>\n<div class=\'row\'>\n<div class=\'col-12 mb-3\' data-param-id=\'80\' data-param-position=\'1\' data-param-type=\'icon\'>\n<div class=\'d-flex flex-column\'>\n<div class=\'product-select-text js-param-name d-flex mb-2 flex-wrap\'>\n<div class=\'counter-green mr-2\'>\n1\n<\/div>\nTaille\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<div class=\'d-flex flex-wrap tile-group-selector group-icon\' data-selector-for=\'80\'><\/div>\n<div class=\'js-show-more p-mid py-2 primary-link cursor-pointer d-none\'>\nAutres variantes\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\'p-14\'>\nCeci est une traduction générée par logiciel: Le RFX4 est fait pour les cyclistes à la recherche d&#39;un ...\n<\/div>\n<a class=\"link-primary p-14\" href=\"/five-rfx4-airflow-black-s\">Aller au produit<\/a>\n<div class=\'d-flex align-items-center mt-4\'>\n<div class=\'product-price-group-selector p-25 font-weight-bold mr-3 d-none\' data-product-price><\/div>\n<div class=\'product-price-group-selector p-25 font-weight-bold mr-3 d-none text-crossed light-gray\' data-product-base-price><\/div>\n<div class=\'badge badge-discount text-white mb-0 p-14 js-discount-percentage d-none\'><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\'modal-footer d-flex justify-content-end border-white-gray\'>\n<button class=\'btn btn-outline-dark\' data-dismiss=\'modal\' type=\'button\'>Fermer<\/button>\n<div data-analytics-actions=\'[&quot;addProductToBasket&quot;]\' data-analytics-data-click-event=\'[&quot;{\\&quot;trackers\\&quot;:[\\&quot;mainTracker\\&quot;,\\&quot;generalTracker\\&quot;],\\&quot;fieldsObject\\&quot;:{\\&quot;hitType\\&quot;:\\&quot;event\\&quot;,\\&quot;eventCategory\\&quot;:\\&quot;UX\\&quot;,\\&quot;eventAction\\&quot;:\\&quot;click\\&quot;,\\&quot;eventLabel\\&quot;:\\&quot;add to cart from listing\\&quot;}}&quot;, &quot;{\\&quot;trackers\\&quot;:[\\&quot;mainTracker\\&quot;,\\&quot;generalTracker\\&quot;],\\&quot;fieldsObject\\&quot;:{\\&quot;hitType\\&quot;:\\&quot;event\\&quot;,\\&quot;eventCategory\\&quot;:\\&quot;Basket\\&quot;,\\&quot;eventAction\\&quot;:\\&quot;Add\\&quot;,\\&quot;eventLabel\\&quot;:\\&quot;\\&quot;,\\&quot;eventValue\\&quot;:0}}&quot;]\' data-analytics-data-ecommerce-set-action=\'{&quot;actionName&quot;:&quot;add&quot;}\' data-analytics-data-ecommerce-trackers=\'[&quot;mainTracker&quot;, &quot;generalTracker&quot;]\' data-analytics-ga-data=\'\' data-analytics-track data-selector-analytics>\n<form role=\"form\" class=\"text-center\" id=\"new_public_shop_basket_item_form\" autocomplete=\"off\" action=\"/shop/basket_items\" accept-charset=\"UTF-8\" data-remote=\"true\" method=\"post\"><input value=\"1\" type=\"hidden\" name=\"public_shop_basket_item_form[quantity]\" id=\"public_shop_basket_item_form_quantity\" />\n<input data-basket-product-id-hash=\"true\" type=\"hidden\" name=\"public_shop_basket_item_form[product_hash]\" id=\"public_shop_basket_item_form_product_hash\" />\n<input value=\"standard\" data-basket-product-type=\"true\" data-basket-extra-gift=\"false\" type=\"hidden\" name=\"public_shop_basket_item_form[item_type]\" id=\"public_shop_basket_item_form_item_type\" />\n<input type=\"submit\" name=\"commit\" value=\"Ajouter au panier\" class=\"btn font-weight-bold btn-green\" disabled=\"disabled\" data-analytics-add-to-basket=\"true\" data-add-to-cart-button=\"true\" data-disable-with=\"Ajouter au panier\" />\n<\/form><\/div>\n<\/div>\n\n<\/div>\n<\/div>\n<\/div>\n");
$("#modal-container").find('.modal').modal();
PublicUtility.Layout.initInScope('.modal');

var groupSelectorSection;

groupSelectorSection = $('#group_selector_section');

if (groupSelectorSection.length) {
    new PublicUtility.ProductGroupSelector(groupSelectorSection);
}

new PublicUtility.Analytics('[data-track-modal-analytics]')
