
$("#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\'>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\'>\n<a data-product-path-in-modal=\"true\" href=\"/callaway-mavrik-max-driver-right-hand-regular-10-5\"><div class=\'tile-img tile-group-selector\'>\n<img alt=\'Callaway Mavrik Max Driver Right Hand Regular 10,5° Project X EF 50\' class=\'img-fluid\' data-image-change src=\'https://muzikercdn.com/uploads/products/3872/387200/thumb_8e62a834.jpg\'>\n<\/div>\n<p class=\'product-tile-header\' data-product-name title=\'Callaway Mavrik Max Driver Right Hand Regular 10,5° Project X EF 50\'>\nCallaway Mavrik Max Driver Right Hand Regular 10,5° Project X EF 50\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\'>\n<div class=\'d-flex flex-column justify-content-between h-100\' data-group-products=\'[{&quot;param_values&quot;:&quot;RH|Regular_(_Variant_)|10,5°|Project_X_EF_50|&quot;,&quot;path&quot;:&quot;/callaway-mavrik-max-driver-right-hand-regular-10-5&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/3872/387200/thumb_8e62a834.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/3872/387200/icon_8e62a834.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/3872/387200/icon_base_8e62a834.jpg&quot;},&quot;technical_params&quot;:{&quot;27&quot;:&quot;RH&quot;,&quot;34&quot;:&quot;Regular_(_Variant_)&quot;,&quot;52&quot;:&quot;10,5°&quot;,&quot;75&quot;:&quot;Project_X_EF_50&quot;},&quot;id_hash&quot;:&quot;680a3309db&quot;,&quot;name&quot;:&quot;Callaway Mavrik Max Driver Right Hand Regular 10,5° Project X EF 50&quot;,&quot;code&quot;:339649,&quot;price_with_vat&quot;:&quot;439.0&quot;,&quot;brand&quot;:&quot;Callaway&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;365.83&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;RH|Stiff|10,5°|Ewen_Flow_50|&quot;,&quot;path&quot;:&quot;/callaway-mavrik-max-driver-10-5-right-hand-stiff&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/6208/620856/thumb_f41b8a58.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/6208/620856/icon_f41b8a58.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/6208/620856/icon_base_f41b8a58.jpg&quot;},&quot;technical_params&quot;:{&quot;27&quot;:&quot;RH&quot;,&quot;34&quot;:&quot;Stiff&quot;,&quot;52&quot;:&quot;10,5°&quot;,&quot;75&quot;:&quot;Ewen_Flow_50&quot;},&quot;id_hash&quot;:&quot;929fae20b0&quot;,&quot;name&quot;:&quot;Callaway Mavrik Max Driver 10,5 Right Hand Stiff&quot;,&quot;code&quot;:390660,&quot;price_with_vat&quot;:&quot;449.0&quot;,&quot;brand&quot;:&quot;Callaway&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;374.17&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;RH|Lady|12°|UST_Helium_40|&quot;,&quot;path&quot;:&quot;/callaway-mavrik-max-driver-right-hand-lady-12&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/3872/387243/thumb_a510b492.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/3872/387243/icon_a510b492.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/3872/387243/icon_base_a510b492.jpg&quot;},&quot;technical_params&quot;:{&quot;27&quot;:&quot;RH&quot;,&quot;34&quot;:&quot;Lady&quot;,&quot;52&quot;:&quot;12°&quot;,&quot;75&quot;:&quot;UST_Helium_40&quot;},&quot;id_hash&quot;:&quot;5e7e4ca48b&quot;,&quot;name&quot;:&quot;Callaway Mavrik Max Driver Right Hand Lady 12°&quot;,&quot;code&quot;:339648,&quot;price_with_vat&quot;:&quot;549.0&quot;,&quot;brand&quot;:&quot;Callaway&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;457.5&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;LH|Regular_(_Variant_)|10,5°|Ewen_Flow_50|&quot;,&quot;path&quot;:&quot;/callaway-mavrik-max-driver-10-5-left-hand-regular&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/6208/620848/thumb_da2b003a.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/6208/620848/icon_da2b003a.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/6208/620848/icon_base_da2b003a.jpg&quot;},&quot;technical_params&quot;:{&quot;27&quot;:&quot;LH&quot;,&quot;34&quot;:&quot;Regular_(_Variant_)&quot;,&quot;52&quot;:&quot;10,5°&quot;,&quot;75&quot;:&quot;Ewen_Flow_50&quot;},&quot;id_hash&quot;:&quot;6f9813ec2a&quot;,&quot;name&quot;:&quot;Callaway Mavrik Max Driver 10,5 Left Hand Regular&quot;,&quot;code&quot;:390659,&quot;price_with_vat&quot;:&quot;379.0&quot;,&quot;brand&quot;:&quot;Callaway&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;315.83&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;RH|Lite|12°|UST_Helium_40|&quot;,&quot;path&quot;:&quot;/callaway-mavrik-max-driver-right-hand-lite-12-ust-helium-40&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/4025/402594/thumb_2d3a574a.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/4025/402594/icon_2d3a574a.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/4025/402594/icon_base_2d3a574a.jpg&quot;},&quot;technical_params&quot;:{&quot;27&quot;:&quot;RH&quot;,&quot;34&quot;:&quot;Lite&quot;,&quot;52&quot;:&quot;12°&quot;,&quot;75&quot;:&quot;UST_Helium_40&quot;},&quot;id_hash&quot;:&quot;8f82fe83ae&quot;,&quot;name&quot;:&quot;Callaway Mavrik Max Driver Right Hand Lite 12° UST Helium 40&quot;,&quot;code&quot;:344803,&quot;price_with_vat&quot;:&quot;549.0&quot;,&quot;brand&quot;:&quot;Callaway&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;457.5&quot;,&quot;eshop_available&quot;:false,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true}]\' data-selector-position=\'product_list\' data-technical-param-values=\'{&quot;27&quot;:[{&quot;value&quot;:&quot;RH&quot;,&quot;translate_value&quot;:&quot;Right Handed&quot;,&quot;product_image&quot;:null,&quot;position&quot;:191},{&quot;value&quot;:&quot;LH&quot;,&quot;translate_value&quot;:&quot;Left Handed&quot;,&quot;product_image&quot;:null,&quot;position&quot;:192}],&quot;34&quot;:[{&quot;value&quot;:&quot;Regular_(_Variant_)&quot;,&quot;translate_value&quot;:&quot;Regular&quot;,&quot;product_image&quot;:null,&quot;position&quot;:252},{&quot;value&quot;:&quot;Stiff&quot;,&quot;translate_value&quot;:&quot;Stiff&quot;,&quot;product_image&quot;:null,&quot;position&quot;:255},{&quot;value&quot;:&quot;Lady&quot;,&quot;translate_value&quot;:&quot;Lady&quot;,&quot;product_image&quot;:null,&quot;position&quot;:260},{&quot;value&quot;:&quot;Lite&quot;,&quot;translate_value&quot;:&quot;Lite&quot;,&quot;product_image&quot;:null,&quot;position&quot;:257}],&quot;52&quot;:[{&quot;value&quot;:&quot;10,5°&quot;,&quot;translate_value&quot;:&quot;10,5°&quot;,&quot;product_image&quot;:null,&quot;position&quot;:620},{&quot;value&quot;:&quot;12°&quot;,&quot;translate_value&quot;:&quot;12°&quot;,&quot;product_image&quot;:null,&quot;position&quot;:624}],&quot;75&quot;:[{&quot;value&quot;:&quot;Project_X_EF_50&quot;,&quot;translate_value&quot;:&quot;Project X EF 50&quot;,&quot;product_image&quot;:null,&quot;position&quot;:1057},{&quot;value&quot;:&quot;Ewen_Flow_50&quot;,&quot;translate_value&quot;:&quot;Ewen Flow 50&quot;,&quot;product_image&quot;:null,&quot;position&quot;:1110},{&quot;value&quot;:&quot;UST_Helium_40&quot;,&quot;translate_value&quot;:&quot;UST Helium 40&quot;,&quot;product_image&quot;:null,&quot;position&quot;:1058}]}\' id=\'group_selector_section\'>\n<div class=\'row\'>\n<div class=\'col-12 mb-3\' data-param-id=\'27\' data-param-position=\'1\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column justify-content-between h-100\'>\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>\nHandedness\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'27\'>\n<option disabled=\'disabled\' hidden selected=\'selected\' value=\'\'>Select an option<\/option>\n<\/select>\n<\/div>\n<\/div>\n<div class=\'col-12 mb-3\' data-param-id=\'34\' data-param-position=\'2\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column justify-content-between h-100\'>\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>\nFlex\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'34\'>\n<option disabled=\'disabled\' hidden selected=\'selected\' value=\'\'>Select an option<\/option>\n<\/select>\n<\/div>\n<\/div>\n<div class=\'col-12 mb-3\' data-param-id=\'52\' data-param-position=\'3\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column justify-content-between h-100\'>\n<div class=\'product-select-text js-param-name d-flex mb-2 flex-wrap\'>\n<div class=\'counter-green mr-2\'>\n3\n<\/div>\nLoft\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'52\'>\n<option disabled=\'disabled\' hidden selected=\'selected\' value=\'\'>Select an option<\/option>\n<\/select>\n<\/div>\n<\/div>\n<div class=\'col-12 mb-3\' data-param-id=\'75\' data-param-position=\'4\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column justify-content-between h-100\'>\n<div class=\'product-select-text js-param-name d-flex mb-2 flex-wrap\'>\n<div class=\'counter-green mr-2\'>\n4\n<\/div>\nShaft Model\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'75\'>\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=\'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 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 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]')
