
$("#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=\"/helly-hansen-w-h1-pro-lifa-seamless-pants-black-xs\"><div class=\'tile-img tile-group-selector\'>\n<img alt=\'Helly Hansen W H1 Pro Lifa Seamless Pants Black XS Thermal Underwear\' class=\'img-fluid\' data-image-change src=\'https://muzikercdn.com/uploads/products/8281/828117/thumb_d532c782.jpg\'>\n<\/div>\n<\/a><\/div>\n<div class=\'col-12 col-md-6 col-lg-7\'>\n<div class=\'light-gray\'>\nThermal Underwear\n<\/div>\n<div class=\'product-tile-header font-weight-bold mb-3\' data-product-name title=\'Helly Hansen W H1 Pro Lifa Seamless Pants Black XS Thermal Underwear\'>\nHelly Hansen W H1 Pro Lifa Seamless Pants Black XS Thermal Underwear\n<\/div>\n<div data-group-products=\'[{&quot;param_values&quot;:&quot;XS|&quot;,&quot;path&quot;:&quot;/helly-hansen-w-h1-pro-lifa-seamless-pants-black-xs&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828117/thumb_d532c782.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828117/icon_d532c782.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828117/icon_base_d532c782.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;XS&quot;},&quot;id_hash&quot;:&quot;cacab1e0b4&quot;,&quot;name&quot;:&quot;Helly Hansen W H1 Pro Lifa Seamless Pants Black XS Thermal Underwear&quot;,&quot;code&quot;:431345,&quot;brand&quot;:&quot;Helly Hansen&quot;,&quot;price_with_vat&quot;:&quot;75.9&quot;,&quot;base_price_with_vat&quot;:&quot;99.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;62.73&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;82.56&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Thermal Underwear&quot;,&quot;discount_percentage&quot;:24,&quot;product_description_short&quot;:&quot;The ultimate heat regulating performance base layer pants, with smart thermal mapping tech, LIFA® wick...&quot;},{&quot;param_values&quot;:&quot;L|&quot;,&quot;path&quot;:&quot;/helly-hansen-w-h1-pro-lifa-seamless-pants-black-l&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828135/thumb_fd7fef2c.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828135/icon_fd7fef2c.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828135/icon_base_fd7fef2c.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;L&quot;},&quot;id_hash&quot;:&quot;d5a99dfc16&quot;,&quot;name&quot;:&quot;Helly Hansen W H1 Pro Lifa Seamless Pants Black L Thermal Underwear&quot;,&quot;code&quot;:431348,&quot;brand&quot;:&quot;Helly Hansen&quot;,&quot;price_with_vat&quot;:&quot;75.9&quot;,&quot;base_price_with_vat&quot;:&quot;99.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;62.73&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;82.56&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Thermal Underwear&quot;,&quot;discount_percentage&quot;:24,&quot;product_description_short&quot;:&quot;The ultimate heat regulating performance base layer pants, with smart thermal mapping tech, LIFA® wick...&quot;},{&quot;param_values&quot;:&quot;M|&quot;,&quot;path&quot;:&quot;/helly-hansen-w-h1-pro-lifa-seamless-pants-black-m&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828129/thumb_2f769a43.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828129/icon_2f769a43.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828129/icon_base_2f769a43.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;M&quot;},&quot;id_hash&quot;:&quot;0f4be156b0&quot;,&quot;name&quot;:&quot;Helly Hansen W H1 Pro Lifa Seamless Pants Black M Thermal Underwear&quot;,&quot;code&quot;:431347,&quot;brand&quot;:&quot;Helly Hansen&quot;,&quot;price_with_vat&quot;:&quot;75.9&quot;,&quot;base_price_with_vat&quot;:&quot;99.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;62.73&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;82.56&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Thermal Underwear&quot;,&quot;discount_percentage&quot;:24,&quot;product_description_short&quot;:&quot;The ultimate heat regulating performance base layer pants, with smart thermal mapping tech, LIFA® wick...&quot;},{&quot;param_values&quot;:&quot;S|&quot;,&quot;path&quot;:&quot;/helly-hansen-w-h1-pro-lifa-seamless-pants-black-s&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828123/thumb_cc6b0e24.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828123/icon_cc6b0e24.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828123/icon_base_cc6b0e24.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;S&quot;},&quot;id_hash&quot;:&quot;6101116b4c&quot;,&quot;name&quot;:&quot;Helly Hansen W H1 Pro Lifa Seamless Pants Black S Thermal Underwear&quot;,&quot;code&quot;:431346,&quot;brand&quot;:&quot;Helly Hansen&quot;,&quot;price_with_vat&quot;:&quot;75.9&quot;,&quot;base_price_with_vat&quot;:&quot;99.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;62.73&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;82.56&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Thermal Underwear&quot;,&quot;discount_percentage&quot;:24,&quot;product_description_short&quot;:&quot;The ultimate heat regulating performance base layer pants, with smart thermal mapping tech, LIFA® wick...&quot;},{&quot;param_values&quot;:&quot;XL|&quot;,&quot;path&quot;:&quot;/helly-hansen-w-h1-pro-lifa-seamless-pants-black-xl&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828141/thumb_94e7d346.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828141/icon_94e7d346.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/8281/828141/icon_base_94e7d346.jpg&quot;},&quot;technical_params&quot;:{&quot;80&quot;:&quot;XL&quot;},&quot;id_hash&quot;:&quot;d9042b5cec&quot;,&quot;name&quot;:&quot;Helly Hansen W H1 Pro Lifa Seamless Pants Black XL Thermal Underwear&quot;,&quot;code&quot;:431349,&quot;brand&quot;:&quot;Helly Hansen&quot;,&quot;price_with_vat&quot;:&quot;99.9&quot;,&quot;base_price_with_vat&quot;:&quot;99.9&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;82.56&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;82.56&quot;,&quot;eshop_available&quot;:false,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Thermal Underwear&quot;,&quot;discount_percentage&quot;:0,&quot;product_description_short&quot;:&quot;The ultimate heat regulating performance base layer pants, with smart thermal mapping tech, LIFA® wick...&quot;}]\' data-selector-position=\'product_list\' data-technical-param-values=\'{&quot;80&quot;:[{&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;L&quot;,&quot;translate_value&quot;:&quot;L&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2012},{&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;S&quot;,&quot;translate_value&quot;:&quot;S&quot;,&quot;product_image&quot;:null,&quot;position&quot;:1998},{&quot;value&quot;:&quot;XL&quot;,&quot;translate_value&quot;:&quot;XL&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2013}]}\' 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>\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\'>\nThe ultimate heat regulating performance base layer pants, with smart thermal mapping tech, LIFA® wick...\n<\/div>\n<a class=\"link-primary p-14\" href=\"/helly-hansen-w-h1-pro-lifa-seamless-pants-black-xs\">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]')
