
$("#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\'>Select a product for shopping cart<\/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=\"/petzl-meteor-orange-s-m\"><div class=\'tile-img tile-group-selector\'>\n<img alt=\'Petzl Meteor Orange S/M\' class=\'img-fluid\' data-image-change src=\'https://muzikercdn.com/uploads/products/5442/544220/thumb_508990e8.jpg\'>\n<\/div>\n<\/a><\/div>\n<div class=\'col-12 col-md-6 col-lg-7\'>\n<div class=\'light-gray\'>\nClimbing Helmet\n<\/div>\n<div class=\'product-tile-header font-weight-bold mb-3\' data-product-name title=\'Petzl Meteor Orange S/M\'>\nPetzl Meteor Orange S/M\n<\/div>\n<div data-group-products=\'[{&quot;param_values&quot;:&quot;Orange|48-58_cm|&quot;,&quot;path&quot;:&quot;/petzl-meteor-orange-s-m&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544220/thumb_508990e8.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544220/icon_508990e8.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544220/icon_base_508990e8.jpg&quot;},&quot;technical_params&quot;:{&quot;290&quot;:&quot;Orange&quot;,&quot;80&quot;:&quot;48-58_cm&quot;},&quot;id_hash&quot;:&quot;5235b718fe&quot;,&quot;name&quot;:&quot;Petzl Meteor Orange S/M&quot;,&quot;code&quot;:373809,&quot;brand&quot;:&quot;Petzl&quot;,&quot;price_with_vat&quot;:&quot;64.9&quot;,&quot;base_price_with_vat&quot;:&quot;71.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;52.76&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;58.46&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Climbing Helmet&quot;,&quot;discount_percentage&quot;:9,&quot;product_description_short&quot;:&quot;Designed for climbing, mountaineering and ski touring, the METEOR helmet is lightweight and low-profil...&quot;},{&quot;param_values&quot;:&quot;Gray|53-61_cm|&quot;,&quot;path&quot;:&quot;/petzl-meteor-gray-m-l&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544219/thumb_ffff7a11.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544219/icon_ffff7a11.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544219/icon_base_ffff7a11.jpg&quot;},&quot;technical_params&quot;:{&quot;290&quot;:&quot;Gray&quot;,&quot;80&quot;:&quot;53-61_cm&quot;},&quot;id_hash&quot;:&quot;5895aeb72c&quot;,&quot;name&quot;:&quot;Petzl Meteor Gray M/L&quot;,&quot;code&quot;:373808,&quot;brand&quot;:&quot;Petzl&quot;,&quot;price_with_vat&quot;:&quot;71.9&quot;,&quot;base_price_with_vat&quot;:&quot;71.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;58.46&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;58.46&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Climbing Helmet&quot;,&quot;discount_percentage&quot;:0,&quot;product_description_short&quot;:&quot;Designed for climbing, mountaineering and ski touring, the METEOR helmet is lightweight and low-profil...&quot;},{&quot;param_values&quot;:&quot;Violet|53-61_cm|&quot;,&quot;path&quot;:&quot;/petzl-meteor-violet-m-l&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544231/thumb_0515f902.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544231/icon_0515f902.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544231/icon_base_0515f902.jpg&quot;},&quot;technical_params&quot;:{&quot;290&quot;:&quot;Violet&quot;,&quot;80&quot;:&quot;53-61_cm&quot;},&quot;id_hash&quot;:&quot;be8656d5d5&quot;,&quot;name&quot;:&quot;Petzl Meteor Violet M/L&quot;,&quot;code&quot;:373812,&quot;brand&quot;:&quot;Petzl&quot;,&quot;price_with_vat&quot;:&quot;64.9&quot;,&quot;base_price_with_vat&quot;:&quot;71.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;52.76&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;58.46&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Climbing Helmet&quot;,&quot;discount_percentage&quot;:9,&quot;product_description_short&quot;:&quot;Designed for climbing, mountaineering and ski touring, the METEOR helmet is lightweight and low-profil...&quot;},{&quot;param_values&quot;:&quot;Violet|48-58_cm|&quot;,&quot;path&quot;:&quot;/petzl-meteor-violet-s-m&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544230/thumb_18798b2d.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544230/icon_18798b2d.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544230/icon_base_18798b2d.jpg&quot;},&quot;technical_params&quot;:{&quot;290&quot;:&quot;Violet&quot;,&quot;80&quot;:&quot;48-58_cm&quot;},&quot;id_hash&quot;:&quot;5caaa4829a&quot;,&quot;name&quot;:&quot;Petzl Meteor Violet S/M&quot;,&quot;code&quot;:373811,&quot;brand&quot;:&quot;Petzl&quot;,&quot;price_with_vat&quot;:&quot;71.9&quot;,&quot;base_price_with_vat&quot;:&quot;71.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;58.46&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;58.46&quot;,&quot;eshop_available&quot;:false,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:false,&quot;product_category_label&quot;:&quot;Climbing Helmet&quot;,&quot;discount_percentage&quot;:0,&quot;product_description_short&quot;:&quot;Designed for climbing, mountaineering and ski touring, the METEOR helmet is lightweight and low-profil...&quot;},{&quot;param_values&quot;:&quot;Gray|48-58_cm|&quot;,&quot;path&quot;:&quot;/petzl-meteor-gray-s-m&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544218/thumb_71246a6f.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544218/icon_71246a6f.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544218/icon_base_71246a6f.jpg&quot;},&quot;technical_params&quot;:{&quot;290&quot;:&quot;Gray&quot;,&quot;80&quot;:&quot;48-58_cm&quot;},&quot;id_hash&quot;:&quot;1e38648ffe&quot;,&quot;name&quot;:&quot;Petzl Meteor Gray S/M&quot;,&quot;code&quot;:373807,&quot;brand&quot;:&quot;Petzl&quot;,&quot;price_with_vat&quot;:&quot;71.9&quot;,&quot;base_price_with_vat&quot;:&quot;71.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;58.46&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;58.46&quot;,&quot;eshop_available&quot;:false,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:false,&quot;product_category_label&quot;:&quot;Climbing Helmet&quot;,&quot;discount_percentage&quot;:0,&quot;product_description_short&quot;:&quot;Designed for climbing, mountaineering and ski touring, the METEOR helmet is lightweight and low-profil...&quot;},{&quot;param_values&quot;:&quot;Orange|53-61_cm|&quot;,&quot;path&quot;:&quot;/petzl-meteor-orange-m-l&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544225/thumb_c06cfb95.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544225/icon_c06cfb95.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544225/icon_base_c06cfb95.jpg&quot;},&quot;technical_params&quot;:{&quot;290&quot;:&quot;Orange&quot;,&quot;80&quot;:&quot;53-61_cm&quot;},&quot;id_hash&quot;:&quot;e741efceb7&quot;,&quot;name&quot;:&quot;Petzl Meteor Orange M/L&quot;,&quot;code&quot;:373810,&quot;brand&quot;:&quot;Petzl&quot;,&quot;price_with_vat&quot;:&quot;71.9&quot;,&quot;base_price_with_vat&quot;:&quot;71.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;58.46&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;58.46&quot;,&quot;eshop_available&quot;:false,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Climbing Helmet&quot;,&quot;discount_percentage&quot;:0,&quot;product_description_short&quot;:&quot;Designed for climbing, mountaineering and ski touring, the METEOR helmet is lightweight and low-profil...&quot;}]\' data-selector-position=\'product_list\' data-technical-param-values=\'{&quot;290&quot;:[{&quot;value&quot;:&quot;Orange&quot;,&quot;translate_value&quot;:&quot;Orange&quot;,&quot;product_image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544225/icon_c06cfb95.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544225/icon_base_c06cfb95.jpg&quot;},&quot;position&quot;:6578},{&quot;value&quot;:&quot;Gray&quot;,&quot;translate_value&quot;:&quot;Gray&quot;,&quot;product_image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544218/icon_71246a6f.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544218/icon_base_71246a6f.jpg&quot;},&quot;position&quot;:692},{&quot;value&quot;:&quot;Violet&quot;,&quot;translate_value&quot;:&quot;Violet&quot;,&quot;product_image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544230/icon_18798b2d.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/5442/544230/icon_base_18798b2d.jpg&quot;},&quot;position&quot;:1883}],&quot;80&quot;:[{&quot;value&quot;:&quot;48-58_cm&quot;,&quot;translate_value&quot;:&quot;48-58 cm&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2826},{&quot;value&quot;:&quot;53-61_cm&quot;,&quot;translate_value&quot;:&quot;53-61 cm&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2827}]}\' id=\'group_selector_section\'>\n<div class=\'row\'>\n<div class=\'col-12 mb-3\' data-param-id=\'290\' data-param-position=\'1\' data-param-type=\'product_image\'>\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>\nOriginal Colour by Producer\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<div class=\'d-flex flex-wrap tile-group-selector group-product-image\' data-selector-for=\'290\'><\/div>\n<div class=\'js-show-more p-mid py-2 primary-link cursor-pointer d-none\'>\nOther variants\n<\/div>\n<\/div>\n<\/div>\n<div class=\'col-12 mb-3\' data-param-id=\'80\' data-param-position=\'2\' 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\'>\n2\n<\/div>\nSize\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\'>\nOther variants\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\'p-14\'>\nDesigned for climbing, mountaineering and ski touring, the METEOR helmet is lightweight and low-profil...\n<\/div>\n<a class=\"link-primary p-14\" href=\"/petzl-meteor-orange-s-m\">Go to product<\/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\'>Close<\/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=\"Add to Cart\" class=\"btn font-weight-bold btn-green\" 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\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]')
