let mxOdswiezGratis=function mxOdswiezGratis(basket){};(function appProduktGratisowy($){let position='container';let selector='#gifts';let sum_basket='sum_no_shipping';let product_border_color='rgb(255, 255, 255)';let product_border_radius='0px';let product_name_font='14px';let product_info_background='rgba(0, 0, 0, 0.69)';let product_info_color='rgb(255, 255, 255)';let product_info_font='18px';let product_info_align='center';let product_info_border_color='#333333';let product_info_border_radius='0px';let clicked_on_image='url';let clicked_on_name='url';let clicked_on_button='add';let arrows_background='rgb(255, 255, 255)';let arrows_color='#333333';let arrows_font='14px';let arrows_border_color='#333333';let arrows_border_radius='0px';let line_color='#03d503';let line_end_color='#02b002';let line_background_color='#d3d3d3';let tag_background_color='#d3f4ca';let tag_font_color='#333333';let tag_off_background_color='#eeeeee';let tag_off_font_color='#333333';let tag_font='13px';let tag_padding='5px';let tag_border_radius_tl='0px';let tag_border_radius_tr='0px';let tag_border_radius_br='0px';let product_promo_font='14px';let product_description_font='14px';let shopId=6;let translations_array={"text_addToBasket":{"__default":"wybierz prezent","pl_PL":"DODAJ"},"text_variant":{"__default":"Ten produkt otrzymujesz jako prezent","pl_PL":"PRODUKT PROMOCYJNY"},"text_boxhead":{"__default":"Wybierz prezent do Twojego zam\u00f3wienia!","pl_PL":"NIE ZAPOMNIJ DODA\u0106 DO KOSZYKA!"},"text_tag":{"__default":"xxx","pl_PL":"xxx"},"text_productExceed":{"__default":"W koszyku jest ju\u017c maksymalna liczba prezent\u00f3w. Usu\u0144 kt\u00f3ry\u015b z nich, aby zmieni\u0107 wyb\u00f3r.","pl_PL":"Masz ju\u017c dodany ten prezent w koszyku."},"text_productLowFreeLeft":{"__default":"Gratisy s\u0105 dost\u0119pne dla zam\u00f3wie\u0144 o warto\u015bci powy\u017cej yyy","pl_PL":"Gratisy s\u0105 dost\u0119pne dla zam\u00f3wie\u0144 o warto\u015bci powy\u017cej yyy"},"text_productLowPrice":{"__default":"Brakuje Ci jeszcze xxx, \u017ceby wybra\u0107 ten gratis.","pl_PL":"Brakuje Ci jeszcze xxx, \u017ceby wybra\u0107 ten produkt."},"text_productLowMaxPrice":{"__default":"Prezent dost\u0119pny dla produkt\u00f3w powy\u017cej yyy","pl_PL":"Promocja dost\u0119pna dla produkt\u00f3w powy\u017cej yyy"},"text_productAbovePrice":{"__default":"Prezent powy\u017cej xxx","pl_PL":"Promocja dost\u0119pna przy zam\u00f3wieniu od xxx"},"text_blockBuying":{"__default":"Ten produkt jest dost\u0119pny tylko jako gratis do zam\u00f3wienia","pl_PL":"Ten produkt jest dost\u0119pny tylko jako prezent do zam\u00f3wienia!"},"html_boxfooter":{"__default":"","pl_PL":""}};let freeProducts={"pl_PL":[{"productId":8959,"name":"K\u00e9rastase Chroma Absolu roz\u015bwietlaj\u0105cy olejek do w\u0142os\u00f3w farbowanych 15ml","image":"","price":0,"description":"
ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SWÓJ GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span> ODBIERZ SW\u00d3J GRATIS!<\/span>
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w K\u00e9rastase za min. 149 z\u0142.
<\/span><\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"39":{"quantity":1,"price":149}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":4255,"name":"K\u00e9rastase Divalent k\u0105piel do w\u0142os\u00f3w mieszanych 80ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w K\u00e9rastase za min. 299 z\u0142.
<\/span><\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"39":{"quantity":1,"price":299}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":9007,"name":"L'Or\u00e9al Professionnel Absolut Repair Molecular regeneruj\u0105cy zestaw miniatur do w\u0142os\u00f3w zniszczonych","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie min. 2 kosmetyk\u00f3w L'Or\u00e9al Professionnel<\/span>.<\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"40":{"quantity":1,"price":109}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":9008,"name":"L'Or\u00e9al Professionnel Absolut Repair Molecular maska regeneruj\u0105ca w\u0142osy zniszczone 75ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie min. 3 kosmetyk\u00f3w L'Or\u00e9al Professionnel<\/span>.<\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"40":{"quantity":1,"price":169}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":7168,"name":"Alfaparf Semi di Lino Reconstruction Reparative Mask regeneruj\u0105ca maska do w\u0142os\u00f3w zniszczonych 50ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w Alfaparf Semi di Lino za min. 139 z\u0142.<\/span><\/p>","settings":{"blockBuying":false,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"73":{"quantity":1,"price":139}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":7169,"name":"Alfaparf Reconstruction Reparative Low Shampoo regeneruj\u0105cy szampon do w\u0142os\u00f3w zniszczonych 75ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w Alfaparf Semi di Lino za min. 229 z\u0142.<\/span><\/p>","settings":{"blockBuying":false,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"73":{"quantity":1,"price":229}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":6228,"name":"Redken One United wielozadaniowy spray piel\u0119gnacyjny do w\u0142os\u00f3w 30ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w Redken za min. 99 z\u0142<\/span>.<\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"110":{"quantity":1,"price":99}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":7924,"name":"Redken Acidic Color Gloss minizestaw do w\u0142os\u00f3w farbowanych","image":"","price":0,"description":"
<\/strong>Dodaj swój prezent przy zakupie kosmetyków Redken za min. 99 z\u0142<\/span>.<\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"110":{"quantity":1,"price":149}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":8979,"name":"Matrix InstaCure Build-a-Bond Mighty Bonds odbudowuj\u0105cy minizestaw do w\u0142os\u00f3w zniszczonych | szampon, maska","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w Matrix Professional za min. 89 z\u0142. Oferta nie dotyczy pojemno\u015bci 1l.<\/span><\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"61":{"quantity":1,"price":89}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":7737,"name":"Wella Professionals Ultimate Repair maska g\u0142\u0119boko regeneruj\u0105ca do w\u0142os\u00f3w zniszczonych 30ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent do zakupu produkt\u00f3w Wella Professionals od 169 z\u0142.
<\/span><\/p>","settings":{"blockBuying":false,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"71":{"quantity":1,"price":169}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":4751,"name":"Authentic Beauty Concept Shaping Cream krem modeluj\u0105cy do w\u0142os\u00f3w 30ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w Authentic Beauty Concept za min. 139 z\u0142<\/span>.<\/p>","settings":{"blockBuying":false,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"102":{"quantity":1,"price":139}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":4752,"name":"Authentic Beauty Concept Amplify Cleanser szampon wzmacniaj\u0105cy do w\u0142os\u00f3w 50ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w Authentic Beauty Concept za min. 219 z\u0142<\/span>.<\/p>","settings":{"blockBuying":false,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"102":{"quantity":1,"price":219}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":7419,"name":"Olaplex No.8 Bond Intense Moisture Mask regeneruj\u0105ca maska do w\u0142os\u00f3w 20ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w Olalpex za min. 199 z\u0142.<\/span><\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"52":{"quantity":1,"price":199}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":4867,"name":"Redken Brews Thickening Shampoo zag\u0119szczaj\u0105cy szampon do w\u0142os\u00f3w dla m\u0119\u017cczyzn 50ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w Redken Brews!<\/span><\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"84":{"quantity":1,"price":29}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":8365,"name":"KeraSilk Specialists Recovery maska odnawiaj\u0105ca do w\u0142os\u00f3w zniszczonych 50ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w Kerasilk za min. 250 z\u0142.<\/span><\/p>","settings":{"blockBuying":false,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"137":{"quantity":1,"price":250}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":4021,"name":"Joico Moisture Recovery nawil\u017caj\u0105cy szampon do w\u0142os\u00f3w 50ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w Joico za min. 299 z\u0142.
<\/span><\/p>","settings":{"blockBuying":false,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"93":{"quantity":1,"price":299}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":7553,"name":"Fibre Clinix Vibrancy szampon do w\u0142os\u00f3w farbowanych ochrona koloru 50ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w Fibre Clinix.
<\/span><\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"128":{"quantity":1,"price":80}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":7441,"name":"Schwarzkopf Professional Fibre Clinix Vibrancy maska do w\u0142os\u00f3w farbowanych ochrona koloru 30ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie min. 2 kosmetyk\u00f3w Fibre Clinix.<\/span><\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"128":{"quantity":1,"price":178}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":7787,"name":"OPI lakier do paznokci 15ml | kolor losowy","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie produkt\u00f3w OPI za min. 99 z\u0142.
<\/span><\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"96":{"quantity":1,"price":99}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":6323,"name":"STMNT Statement Fiber Pomade w\u0142\u00f3knista pomada do w\u0142os\u00f3w dla m\u0119\u017cczyzn 30ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w STMNT za min. 139 z\u0142.<\/span><\/p>","settings":{"blockBuying":false,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"122":{"quantity":1,"price":139}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":8045,"name":"System Professional Repair maska intensywnie regeneruj\u0105ca do w\u0142os\u00f3w zniszczonych 30ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w System Professional.<\/span><\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"101":{"quantity":1,"price":20}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":6794,"name":"Fromm Brush Cleaner czy\u015bcik do szczotek i grzebieni do w\u0142os\u00f3w","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie produkt\u00f3w Fromm.<\/span><\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"119":{"quantity":1,"price":20}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":8967,"name":"Sebastian Professional Boutique Accessory Case czarna kosmetyczka","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent przy zakupie kosmetyk\u00f3w Sebastian Professional.
<\/span><\/p>","settings":{"blockBuying":true,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"109":{"quantity":1,"price":20}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":3700,"name":"Kemon Liding Healthy Scalp VC Purifying szampon oczyszczaj\u0105cy 30ml","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent do zakupu kosmetyk\u00f3w Kemon za min. 59 z\u0142.
<\/span><\/p>","settings":{"blockBuying":false,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{},"producers":{"88":{"quantity":1,"price":59}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}},{"productId":8821,"name":"Moroccanoil Scalp Brush masa\u017cer do sk\u00f3ry g\u0142owy i ka\u017cdego rodzaju w\u0142os\u00f3w","image":"","price":0,"description":"
<\/strong>Dodaj sw\u00f3j prezent do zakupu produkt\u00f3w Moroccanoil od 189 z\u0142, w tym min. jednego kosmetyku z gamy Scalp.
<\/span><\/p>","settings":{"blockBuying":false,"categoriesChildrens":false,"sumCategories":false,"sumProducers":false,"showHigherPrices":true,"needAllSettings":true,"skipCountLimit":true,"highestPrice":false,"price":0,"categories":{"867":{"quantity":1,"price":50}},"producers":{"83":{"quantity":1,"price":189}},"products":{},"usersGroups":{"0":"Wszystkie grupy klient\u00f3w"}}}]};let freeProductsIds={"pl_PL":[8959,4255,9007,9008,7168,7169,6228,7924,8979,7737,4751,4752,7419,4867,8365,4021,7553,7441,7787,6323,8045,6794,8967,3700,8821]};let allFreeProductsIds={"pl_PL":[8959,4255,9007,9008,7168,7169,6228,7924,8979,7737,4751,4752,7419,4867,8365,4021,7553,7441,7787,6323,8045,6794,8967,3700,8821]};let freeProductsCounts={"0":"1"};let optionGroupId=20;let optionId=25;let delayedPreloader=1;let forceSingleDownload=0;let template=1;let container_margin_bottom=10;let product_padding=10;let product_border_width=1;let product_image_width=150;let product_image_height=150;let product_image_margin=10;let product_name_margin=20;let product_info_margin=20;let product_info_letter_spacing=0;let product_info_border_width=0;let product_width=200;let product_min_margin=10;let product_name_height=40;let product_button_margin=30;let arrows_hover_visible=0;let arrows_width=40;let arrows_height=40;let arrows_margin=0;let container_margin=0;let arrows_border_width=0;let line_height=7;let line_margin=10;let tag_triangle_height=7;let product_margin=5;let product_promo_margin=10;let product_description_margin=10;freeProducts=freeProducts[Shop.lang.name]||[];freeProductsIds=freeProductsIds[Shop.lang.name]||[];if(location.href.indexOf('mx_debug')!=-1){let types=['blockBuying','categoriesChildrens','sumCategories','sumProducers','showHigherPrices','needAllSettings','skipCountLimit','highestPrice'];let container=$('').css({position:'absolute',top:'80px',left:'50%',transform:'translate(-50%, 0)',background:'white',border:'1px solid #000',padding:'20px','border-radius':'10px','font-family':'Open Sans','text-align':'center','z-index':'999',});$('').find('table');let header=table.append('
').find('tr');for(let item of['productId','price','flags','categories','producers','products','usersGroups']){$(` ${item} `).css({padding:'5px 10px'}).appendTo(header);}
for(let item of freeProducts){let row=$('');let flags=0;for(let type of types){flags<<=1;flags|=item.settings[type];}
$(` ${item.productId} `).css({padding:'5px 10px'}).appendTo(row);$(`${item.settings.price} `).css({padding:'5px 10px'}).appendTo(row);$(`${flags.toString(2).padStart(types.length,0)} `).css({padding:'5px 10px'}).appendTo(row);$(`${JSON.stringify(item.settings.categories).slice(1, -1).replaceAll('},','} `).css({padding:'5px 10px','text-align':'left'}).appendTo(row);$(`
')}${JSON.stringify(item.settings.producers).slice(1, -1).replaceAll('},','} `).css({padding:'5px 10px','text-align':'left'}).appendTo(row);$(`
')}${JSON.stringify(item.settings.products).slice(1, -1).replaceAll('},','} `).css({padding:'5px 10px','text-align':'left'}).appendTo(row);$(`
')}${JSON.stringify(item.settings.usersGroups).slice(1, -1).replaceAll('},','} `).css({padding:'5px 10px','text-align':'left'}).appendTo(row);row.appendTo(table);}
container.append(`
')}'+text_boxhead+'
').insertBefore(container);}
else{$('