
$("#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\'>\n<h5 class=\'modal-title\'>Choose<\/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\'>\n<a data-product-path-in-modal=\"true\" href=\"/schuberth-m1-pro-ece-triple-red-l\"><div class=\'tile-img tile-group-selector\'>\n<img alt=\'Schuberth M1 Pro ECE Triple Red L\' class=\'img-fluid\' data-image-change src=\'https://muzikercdn.com/uploads/products/3620/362010/thumb_5efa128f.jpg\'>\n<\/div>\n<p class=\'product-tile-header\' data-product-name title=\'Schuberth M1 Pro ECE Triple Red L\'>\nSchuberth M1 Pro ECE Triple Red L\n<\/p>\n<\/a><div class=\'d-flex align-items-center justify-content-between\'>\n<div class=\'product-price-group-selector\' data-product-price><\/div>\n<\/div>\n<\/div>\n<div class=\'col-12 col-md-6\' data-wish-list-product>\n<div class=\'d-flex flex-column justify-content-between h-100\' data-group-products=\'[{&quot;param_values&quot;:&quot;L|Triple_Red|&quot;,&quot;path&quot;:&quot;/schuberth-m1-pro-ece-triple-red-l&quot;,&quot;image&quot;:&quot;https://muzikercdn.com/uploads/products/3620/362010/thumb_5efa128f.jpg&quot;,&quot;technical_params&quot;:{&quot;80&quot;:&quot;L&quot;,&quot;290&quot;:&quot;Triple_Red&quot;},&quot;id_hash&quot;:&quot;0ba85650ff&quot;,&quot;name&quot;:&quot;Schuberth M1 Pro ECE Triple Red L&quot;,&quot;code&quot;:338065,&quot;price_with_vat&quot;:&quot;539.0&quot;,&quot;brand&quot;:&quot;Schuberth&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;449.17&quot;,&quot;eshop_available&quot;:false},{&quot;param_values&quot;:&quot;XL|Triple_Red|&quot;,&quot;path&quot;:&quot;/schuberth-m1-pro-ece-triple-red-xl&quot;,&quot;image&quot;:&quot;https://muzikercdn.com/uploads/products/3620/362013/thumb_9eb1f2af.jpg&quot;,&quot;technical_params&quot;:{&quot;80&quot;:&quot;XL&quot;,&quot;290&quot;:&quot;Triple_Red&quot;},&quot;id_hash&quot;:&quot;e80f60bb37&quot;,&quot;name&quot;:&quot;Schuberth M1 Pro ECE Triple Red XL&quot;,&quot;code&quot;:338066,&quot;price_with_vat&quot;:&quot;539.0&quot;,&quot;brand&quot;:&quot;Schuberth&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;449.17&quot;,&quot;eshop_available&quot;:false},{&quot;param_values&quot;:&quot;M|Outline_Grey|&quot;,&quot;path&quot;:&quot;/schuberth-m1-pro-ece-outline-grey-m&quot;,&quot;image&quot;:&quot;https://muzikercdn.com/uploads/products/3619/361992/thumb_e3749c93.jpg&quot;,&quot;technical_params&quot;:{&quot;80&quot;:&quot;M&quot;,&quot;290&quot;:&quot;Outline_Grey&quot;},&quot;id_hash&quot;:&quot;d45ba50dc5&quot;,&quot;name&quot;:&quot;Schuberth M1 Pro ECE Outline Grey M&quot;,&quot;code&quot;:338060,&quot;price_with_vat&quot;:&quot;539.0&quot;,&quot;brand&quot;:&quot;Schuberth&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;449.17&quot;,&quot;eshop_available&quot;:false},{&quot;param_values&quot;:&quot;L|Outline_Grey|&quot;,&quot;path&quot;:&quot;/schuberth-m1-pro-ece-outline-grey-l&quot;,&quot;image&quot;:&quot;https://muzikercdn.com/uploads/products/3619/361995/thumb_6d0dbab2.jpg&quot;,&quot;technical_params&quot;:{&quot;80&quot;:&quot;L&quot;,&quot;290&quot;:&quot;Outline_Grey&quot;},&quot;id_hash&quot;:&quot;9fa0e8503b&quot;,&quot;name&quot;:&quot;Schuberth M1 Pro ECE Outline Grey L&quot;,&quot;code&quot;:338061,&quot;price_with_vat&quot;:&quot;539.0&quot;,&quot;brand&quot;:&quot;Schuberth&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;449.17&quot;,&quot;eshop_available&quot;:false},{&quot;param_values&quot;:&quot;S|Triple_Red|&quot;,&quot;path&quot;:&quot;/schuberth-m1-pro-ece-triple-red-s&quot;,&quot;image&quot;:&quot;https://muzikercdn.com/uploads/products/3620/362002/thumb_1a9d57a3.jpg&quot;,&quot;technical_params&quot;:{&quot;80&quot;:&quot;S&quot;,&quot;290&quot;:&quot;Triple_Red&quot;},&quot;id_hash&quot;:&quot;2e933eeb50&quot;,&quot;name&quot;:&quot;Schuberth M1 Pro ECE Triple Red S&quot;,&quot;code&quot;:338063,&quot;price_with_vat&quot;:&quot;539.0&quot;,&quot;brand&quot;:&quot;Schuberth&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;449.17&quot;,&quot;eshop_available&quot;:false},{&quot;param_values&quot;:&quot;S|Outline_Grey|&quot;,&quot;path&quot;:&quot;/schuberth-m1-pro-ece-outline-grey-s&quot;,&quot;image&quot;:&quot;https://muzikercdn.com/uploads/products/3619/361988/thumb_6673e2fc.jpg&quot;,&quot;technical_params&quot;:{&quot;80&quot;:&quot;S&quot;,&quot;290&quot;:&quot;Outline_Grey&quot;},&quot;id_hash&quot;:&quot;e0d118e721&quot;,&quot;name&quot;:&quot;Schuberth M1 Pro ECE Outline Grey S&quot;,&quot;code&quot;:338059,&quot;price_with_vat&quot;:&quot;539.0&quot;,&quot;brand&quot;:&quot;Schuberth&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;449.17&quot;,&quot;eshop_available&quot;:false},{&quot;param_values&quot;:&quot;XL|Outline_Grey|&quot;,&quot;path&quot;:&quot;/schuberth-m1-pro-ece-outline-grey-xl&quot;,&quot;image&quot;:&quot;https://muzikercdn.com/uploads/products/3619/361998/thumb_295d3a61.jpg&quot;,&quot;technical_params&quot;:{&quot;80&quot;:&quot;XL&quot;,&quot;290&quot;:&quot;Outline_Grey&quot;},&quot;id_hash&quot;:&quot;fc4f378446&quot;,&quot;name&quot;:&quot;Schuberth M1 Pro ECE Outline Grey XL&quot;,&quot;code&quot;:338062,&quot;price_with_vat&quot;:&quot;539.0&quot;,&quot;brand&quot;:&quot;Schuberth&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;449.17&quot;,&quot;eshop_available&quot;:false},{&quot;param_values&quot;:&quot;M|Triple_Red|&quot;,&quot;path&quot;:&quot;/schuberth-m1-pro-ece-triple-red-m&quot;,&quot;image&quot;:&quot;https://muzikercdn.com/uploads/products/3620/362005/thumb_88aadc38.jpg&quot;,&quot;technical_params&quot;:{&quot;80&quot;:&quot;M&quot;,&quot;290&quot;:&quot;Triple_Red&quot;},&quot;id_hash&quot;:&quot;15ed11843a&quot;,&quot;name&quot;:&quot;Schuberth M1 Pro ECE Triple Red M&quot;,&quot;code&quot;:338064,&quot;price_with_vat&quot;:&quot;539.0&quot;,&quot;brand&quot;:&quot;Schuberth&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;449.17&quot;,&quot;eshop_available&quot;:false}]\' data-selector-position=\'product_list\' data-technical-param-values=\'{&quot;80&quot;:[{&quot;value&quot;:&quot;L&quot;,&quot;translate_value&quot;:&quot;L&quot;,&quot;product_image&quot;:null,&quot;position&quot;:1652},{&quot;value&quot;:&quot;XL&quot;,&quot;translate_value&quot;:&quot;XL&quot;,&quot;product_image&quot;:null,&quot;position&quot;:1656},{&quot;value&quot;:&quot;M&quot;,&quot;translate_value&quot;:&quot;M&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2008},{&quot;value&quot;:&quot;S&quot;,&quot;translate_value&quot;:&quot;S&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2007}],&quot;290&quot;:[{&quot;value&quot;:&quot;Triple_Red&quot;,&quot;translate_value&quot;:&quot;Triple Red&quot;,&quot;product_image&quot;:null,&quot;position&quot;:5009},{&quot;value&quot;:&quot;Outline_Grey&quot;,&quot;translate_value&quot;:&quot;Outline Grey&quot;,&quot;product_image&quot;:null,&quot;position&quot;:5008}]}\' id=\'group_selector_section\'>\n<div class=\'row\'>\n<div class=\'col-12 col-sm-6 mb-3\' data-param-id=\'80\' data-param-position=\'1\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column\'>\n<div class=\'product-select-text d-flex align-items-center mb-2\'>\n<div class=\'counter-green mr-2\'>\n1\n<\/div>\nSize\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'80\'>\n<option disabled=\'disabled\' hidden selected=\'selected\' value=\'\'>Select an option<\/option>\n<\/select>\n<\/div>\n<\/div>\n<div class=\'col-12 col-sm-6 mb-3\' data-param-id=\'290\' data-param-position=\'2\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column\'>\n<div class=\'product-select-text d-flex align-items-center mb-2\'>\n<div class=\'counter-green mr-2\'>\n2\n<\/div>\nOriginal Colour by Producer\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'290\'>\n<option disabled=\'disabled\' hidden selected=\'selected\' value=\'\'>Select an option<\/option>\n<\/select>\n<\/div>\n<\/div>\n<\/div>\n<div class=\'row\'>\n<div class=\'col-12\'>\n<div class=\'d-flex\'>\n<div class=\'d-flex\' data-analytics-actions=\'[&quot;sendClick&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;Wishlist\\&quot;,\\&quot;eventAction\\&quot;:\\&quot;add\\&quot;,\\&quot;eventLabel\\&quot;:\\&quot;338065\\&quot;,\\&quot;nonInteraction\\&quot;:true}}&quot;]\' data-analytics-track data-wish-list-item-analytics>\n<a title=\"Add to Wishlist\" class=\"wish-list-link wish-icon-lg nav-link my-2 disabled far fa-heart\" data-analytics-click-to-link=\"true\" data-disable-with=\"\" rel=\"nofollow\" data-remote=\"true\" data-method=\"post\" href=\"/shop/wish_list_items?product_code=338065\"><\/a>\n<\/div>\n<div class=\'w-100\' 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 class=\"text-center\" id=\"new_public_shop_basket_item_form\" autocomplete=\"off\" role=\"form\" action=\"/shop/basket_items\" accept-charset=\"UTF-8\" data-remote=\"true\" method=\"post\"><input name=\"utf8\" type=\"hidden\" value=\"&#x2713;\" /><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\" 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=\"Add to Cart\" class=\"btn btn-buy btn-green my-2\" disabled=\"disabled\" data-analytics-add-to-basket=\"true\" data-add-to-cart-button=\"true\" data-disable-with=\"Add to Cart\" />\n<\/form><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\'modal-footer\'>\n<button class=\'btn btn-outline-dark\' data-dismiss=\'modal\' type=\'button\'>Close<\/button>\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]')
