
$("#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\'>Vyber produkt do wishlistu<\/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=\"/castelli-unlimited-mens-bibshorts-black-l\"><div class=\'tile-img tile-group-selector\'>\n<img alt=\'Castelli Unlimited Mens Bibshorts Black L\' class=\'img-fluid\' data-image-change src=\'https://muzikercdn.com/uploads/products/4256/425636/thumb_ca48202c.jpg\'>\n<\/div>\n<p class=\'product-tile-header\' data-product-name title=\'Castelli Unlimited Mens Bibshorts Black L\'>\nCastelli Unlimited Mens Bibshorts Black 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\'>\n<div class=\'d-flex flex-column justify-content-between h-100\' data-group-products=\'[{&quot;param_values&quot;:&quot;L|&quot;,&quot;path&quot;:&quot;/castelli-unlimited-mens-bibshorts-black-l&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/4256/425636/thumb_ca48202c.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/4256/425636/icon_ca48202c.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/4256/425636/icon_base_ca48202c.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;L&quot;},&quot;id_hash&quot;:&quot;070fdd5a62&quot;,&quot;name&quot;:&quot;Castelli Unlimited Mens Bibshorts Black L&quot;,&quot;code&quot;:353340,&quot;price_with_vat&quot;:&quot;109.0&quot;,&quot;brand&quot;:&quot;Castelli&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;109.0&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;XL|&quot;,&quot;path&quot;:&quot;/castelli-unlimited-mens-bibshorts-black-xl&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/4256/425641/thumb_4bee54f4.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/4256/425641/icon_4bee54f4.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/4256/425641/icon_base_4bee54f4.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;XL&quot;},&quot;id_hash&quot;:&quot;d547bac112&quot;,&quot;name&quot;:&quot;Castelli Unlimited Mens Bibshorts Black XL&quot;,&quot;code&quot;:353341,&quot;price_with_vat&quot;:&quot;109.0&quot;,&quot;brand&quot;:&quot;Castelli&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;109.0&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;M|&quot;,&quot;path&quot;:&quot;/castelli-unlimited-bibshort-black-m&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/6993/699342/thumb_1291d1b4.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/6993/699342/icon_1291d1b4.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/6993/699342/icon_base_1291d1b4.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;M&quot;},&quot;id_hash&quot;:&quot;d36383787c&quot;,&quot;name&quot;:&quot;Castelli Unlimited Bibshort Black M&quot;,&quot;code&quot;:408973,&quot;price_with_vat&quot;:&quot;119.0&quot;,&quot;brand&quot;:&quot;Castelli&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;119.0&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;2XL|&quot;,&quot;path&quot;:&quot;/castelli-unlimited-mens-bibshorts-black-2xl&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/4256/425646/thumb_59ac7ef7.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/4256/425646/icon_59ac7ef7.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/4256/425646/icon_base_59ac7ef7.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;2XL&quot;},&quot;id_hash&quot;:&quot;966427db6a&quot;,&quot;name&quot;:&quot;Castelli Unlimited Mens Bibshorts Black 2XL&quot;,&quot;code&quot;:353342,&quot;price_with_vat&quot;:&quot;109.0&quot;,&quot;brand&quot;:&quot;Castelli&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;109.0&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;3XL|&quot;,&quot;path&quot;:&quot;/castelli-unlimited-bibshort-black-3xl&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/6993/699350/thumb_a8d7c5c4.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/6993/699350/icon_a8d7c5c4.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/6993/699350/icon_base_a8d7c5c4.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;3XL&quot;},&quot;id_hash&quot;:&quot;468a972787&quot;,&quot;name&quot;:&quot;Castelli Unlimited Bibshort Black 3XL&quot;,&quot;code&quot;:408974,&quot;price_with_vat&quot;:&quot;119.0&quot;,&quot;brand&quot;:&quot;Castelli&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;119.0&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true}]\' 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;:2012},{&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;M&quot;,&quot;translate_value&quot;:&quot;M&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2003},{&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;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 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>\nVeľkosť\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\'>\nĎalšie varianty\n<\/div>\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;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;353340\\&quot;,\\&quot;nonInteraction\\&quot;:true}}&quot;]\' data-analytics-track data-wish-list-item-analytics data-wish-list-product>\n<a class=\"wish-list-link btn btn-buy btn-green nav-link my-2 disabled in-group-selector\" title=\"Pridať do zoznamu prianí\" data-analytics-click-to-link=\"true\" data-disable-with=\"\" rel=\"nofollow\" data-remote=\"true\" data-method=\"post\" href=\"/shop/wish_list_items?product_code=353340\"><i class=\'mr-2 fal fa-heart\'><\/i>\n<span>\nPridať do zoznamu prianí\n<\/span>\n<\/a><\/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\'>Zatvoriť<\/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]')
