function t_store_fixImgs(){var t=/Version\/16\.3/.test(navigator.userAgent)&&/Safari/.test(navigator.userAgent);if(t){var e=['754','776','778','786','1025'];e.forEach(function(t){var e=document.querySelectorAll('[data-record-type="'+t+'"] .t-img');Array.prototype.forEach.call(e,function(t){t.style.objectFit='contain'})})}}function t_store_init(t,e){var r=document.getElementById('rec'+t);if(r)if(window.tStoreInit||(window.tStoreInit={}),window.tStoreInit[t]=!0,'IntersectionObserver'in window&&Object.keys(window.tStoreInit).length>7){window.tStoreInit[t]='lazy';var o=new IntersectionObserver(function(r,o){r.forEach(function(r){if(r.isIntersecting){var i=r.target;o.unobserve(i),'lazy'===window.tStoreInit[t]&&(t_store_lazyInit(t,e),window.tStoreInit[t]=!0)}})},{rootMargin:'150px 0px'});o.observe(r)}else t_store_lazyInit(t,e)}function t_store_lazyInit(t,e){var r=document.getElementById('rec'+t),o=document.getElementById('allrecords')!==document.querySelector('.t-store__product-snippet')&&document.getElementById('allrecords').contains(document.querySelector('.t-store__product-snippet'));o||t_store_initRouting(),window.tStoreDict||t_store_getDictObj();var i=r.querySelector('.js-store'),s=t_store_get_productPopup_html(t,e);i&&i.insertAdjacentHTML('beforeend',s);var a=document.getElementById('allrecords').getAttribute('data-tilda-mode');e.isPublishedPage='edit'!==a&&'preview'!==a,e.isPublishedPage&&t_store_checkUrl(e,t);var n=document.getElementById('record'+t);if(n&&!e.isPublishedPage){var d=n.getAttribute('off');if('y'==d)return}var l=r.querySelector('.js-store-grid-cont-preloader');if(''!==e.storepart){setTimeout(function(){l&&l.classList.remove('t-store__grid-cont-preloader_hidden')},1e3);var c=1,p=t_store_paramsToObj(t,e);if(p[t]){var _=t_store_updateOptionsBasedOnUrl(e,p,t);_&&(e=_)}if(e.sidebar){var u=r.querySelector('.js-store-parts-select-container');if(u){var g=u.querySelector('.t951__sidebar');g||u.insertAdjacentHTML('afterbegin','
')}}var m=function(){p[t]&&p[t].page&&(c=Array.isArray(p[t].page)?p[t].page.join(''):p[t].page),t_store_loadProducts('',t,e,c),t_store_mobileHoriz_checkBtnVisibility(t,e)},y=function(){p[t]&&_&&r.addEventListener('controlsDrawn',function(){t_store_filters_render_selected(e,t)}),e.sidebar&&r.addEventListener('controlsDrawn',function(){t_store_filters_opts_sort(e,t)}),c=1,m()},v=function(e){if(window.tStoreFilters||(window.tStoreFilters={}),e&&(e.filters&&e.filters.length>0||e.search||e.sort)){window.tStoreFilters[t]=e;var r='tilda-catalog-filters-1.0';if(document.head.querySelector('script[src*="'+r+'"]'))t_store_onFuncLoad('t_store_filters_init',function(){y()});else{var o=document.createElement('script');o.type='text/javascript',o.src='https://static.tildacdn.com/js/'+r+'.min.js',o.onload=y,o.onerror=function(){console.error('Failed to load tilda-catalog-filters: ',this.src),m()},document.head.appendChild(o)}if(!document.head.querySelector('link[href*="'+r+'"]')){var i=document.createElement('link');i.rel='stylesheet',i.type='text/css',i.href='https://static.tildacdn.com/css/'+r+'.min.css',i.media='all',document.head.appendChild(i)}}else m()};if(t_store_loadFilters(e,v,function(t){t_store_changeEndpoint(t,function(){t_store_loadFilters(e,v)})}),e.isHorizOnMob){var f=t_store_get_handIcon_html(t,e.horizontalScrollHint);l&&l.insertAdjacentHTML('beforebegin',f)}if(e.tabs){var h='tilda-catalog-tabs-1.0';if(!document.head.querySelector('script[src*="'+h+'"]')){var w=document.createElement('script');w.type='text/javascript',w.src='https://static.tildacdn.com/js/'+h+'.min.js',w.onerror=function(){console.error('Failed to load tilda-catalog-tabs: ',this.src)},document.head.appendChild(w)}if(!document.head.querySelector('link[href*="'+h+'"]')){var b=document.createElement('link');b.rel='stylesheet',b.type='text/css',b.href='https://static.tildacdn.com/css/'+h+'.min.css',b.media='all',document.head.appendChild(b)}}if(e.showPagination&&'on'===e.showPagination){h='tilda-catalog-pagination-1.0';if(!document.head.querySelector('script[src*="'+h+'"]')){w=document.createElement('script');w.type='text/javascript',w.src='https://static.tildacdn.com/js/'+h+'.min.js',w.onerror=function(){console.error('Failed to load tilda-catalog-pagination: ',this.src)},document.head.appendChild(w)}if(!document.head.querySelector('link[href*="'+h+'"]')){b=document.createElement('link');b.rel='stylesheet',b.type='text/css',b.href='https://static.tildacdn.com/css/'+h+'.min.css',b.media='all',document.head.appendChild(b)}}window.addEventListener('resize',t_throttle(function(){r&&('1025'==e.prodCard.blockId?t_store_unifyCardsWidth(t):t_store_unifyCardsHeights(t,e),t_store_loadMoreBtn_display(t),(e.sidebar||Object.keys(e.filters||{}).length>1)&&t_store_moveSearhSort(t,e),e.showPagination&&'on'===e.showPagination&&t_store_onFuncLoad('t_store_pagination_display',function(){t_store_pagination_display(t)}))}));var S=r.querySelector('.t-store');S&&S.addEventListener('displayChanged',function(){setTimeout(function(){t_store_unifyCardsHeights(t,e)})}),S&&S.addEventListener('displayChanged',function(){setTimeout(function(){t_store_unifyCardsWidth(t)})});try{e.verticalAlignButtons&&(window.addEventListener('resize',t_throttle(function(){t_store_verticalAlignButtons(t,e)},500)),S&&S.addEventListener('displayChanged',function(){t_store_verticalAlignButtons(t,e)}))}catch(t){console.log('verticalAlignButtons error: '+t)}e.popup_opts.fixedButton&&t_store_fixedPopupButton(t)}else if(l.style.display='none',e.sidebar){var E=r.querySelector('.t951__grid-cont');E&&E.classList.remove('t951__grid-cont_hidden')}}function t_store_history_pushState(t,e,r){try{void 0!==history.pushState&&window.history.pushState(t,e,r)}catch(t){}}function t_store_productInit(t,e,r){t_store_snippet_initProduct(t,e,r)}function t_store_snippet_initProduct(t,e,r){var o=document.querySelector('#rec'+t),i=o.querySelector('.t-store__product-snippet.js-store-product'),s=t_store_snippet_getJsonFromUrl();if('100'===e.popup_opts.popupContainer){var a=i.querySelector('.t-container');a.classList.add('t-container_fluid'),a.style.maxWidth='100%',a.firstElementChild&&a.firstElementChild.classList.add('t-container_fluid')}t_store_snippet_removeSizesFromStyles(t,e),t_store_drawProdPopup_drawGallery(t,i,r,e);var n=function(){t_store_addProductOptions(t,r,i,e,'largecard'),t_store_snippet_chooseEditionFromUrl(t,r,i,e),t_store_onFuncLoad('t_prod__init',function(){t_prod__init(t)})},d=document.getElementById('allrecords');if(d){var l=d.getAttribute('data-tilda-project-lang');l&&(window.tStoreBrowserLang=l)}window.tStoreDict||t_store_getDictObj();var c=i.querySelector('.js-store-prod-sku');if(c&&'none'!==c.style.display&&c.insertAdjacentHTML('beforebegin',window.tStoreDict.sku+': '),i.setAttribute('data-product-gen-uid',r.uid),i.setAttribute('data-product-part-uid',r.partuids?r.partuids.join(','):''),e.tabs){var p='tilda-catalog-tabs-1.0';if(document.head.querySelector('script[src*="'+p+'"]'))t_onFuncLoad('t_store_tabs_initSnippet',function(){t_store_tabs_initSnippet(t,e,i,r),n()});else{var _=document.createElement('script');_.type='text/javascript',_.src='https://static.tildacdn.com/js/'+p+'.min.js',_.onload=function(){t_onFuncLoad('t_store_tabs_initSnippet',function(){t_store_tabs_initSnippet(t,e,i,r),n()})},_.onerror=function(){console.error('Failed to load tilda-catalog-tabs: ',this.src)},document.head.appendChild(_)}if(!document.head.querySelector('link[href*="'+p+'"]')){var u=document.createElement('link');u.rel='stylesheet',u.type='text/css',u.href='https://static.tildacdn.com/css/'+p+'.min.css',u.media='all',document.head.appendChild(u)}}else t_store_initTextAndCharacteristics(i,r),n();if(t_triggerEvent(document.body,'twishlist_addbtn'),!e.relevants_slider){var g=o.querySelector('.t-store__relevants-grid-cont.t-store__grid-cont_mobile-one-row');if(g){var m=t_store_get_handIcon_html(t,e.horizontalScrollHint);g.insertAdjacentHTML('beforebegin',m)}}setTimeout(function(){!window.tStoreIsSearchBot&&window.Tilda&&'function'==typeof Tilda.sendEcommerceEvent&&(s.editionuid?r.editions.forEach(function(t){t.uid===s.editionuid&&Tilda.sendEcommerceEvent('detail',[{id:''+t.uid,uid:''+t.uid,price:''+t.price,sku:t.sku?t.sku:'',name:r.title}])}):Tilda.sendEcommerceEvent('detail',[{id:''+(r.id?r.id:r.uid),uid:''+r.uid,price:''+(r.price_min?r.price_min:r.price),sku:r.sku?r.sku:'',name:r.title}]))},3e3)}function t_store_initRouting(){window.onpopstate=function(){if(window.history.state&&window.history.state.productData){var t=window.history.state.productData,e=t.recid,r=t.opts,o=t.productObj,i=t.isRelevantsShow;t_store_openProductPopup(e,r,o,i)}}}function t_store_verticalAlignButtons(t,e){var r=document.getElementById('rec'+t);if(r){var o=r.querySelector('.js-store-grid-cont');o&&o.classList.add('t-store__valign-buttons');var i=r.querySelectorAll('.js-store-grid-cont .t-store__card__textwrapper'),s=0,a=parseInt(e.blocksInRow,10),n=window.innerWidth<=480,d=window.innerWidth<=960&&window.innerWidth>480,l=!!(window.innerWidth<=960&&r.querySelector('.js-store-grid-cont.t-store__grid-cont_mobile-one-row')),c=!!(window.innerWidth<=480&&r.querySelector('.t-store__mobile-two-columns'));n&&(a=1),d&&(a=2),c&&(a=2),l&&(a=999999);var p=1,_=[];if(i&&Array.prototype.forEach.call(i,function(t){t.style.height='unset',1===a?t.style.height='auto':(_.push(t),t.offsetHeight>s&&(s=t.offsetHeight),Array.prototype.forEach.call(_,function(t){t.style.height=s+'px'}),p===a&&(p=0,s=0,_=[]),p++)}),e.showRelevants){var u=r.querySelectorAll('.js-product-relevant .t-store__card__textwrapper'),g=0,m=[];Array.prototype.forEach.call(u,function(t){t.style.height='unset'}),Array.prototype.forEach.call(u,function(t){m.push(t),t.offsetHeight>g&&(g=t.offsetHeight),Array.prototype.forEach.call(m,function(t){t.style.height=g+'px'})})}}}function t_store_hoverZoom_init(t){var e=document.getElementById('rec'+t);if(e.querySelector('[data-hover-zoom]')){var r=document.head,o=document.createElement('script');o.type='text/javascript',o.src='https://static.tildacdn.com/js/tilda-hover-zoom-1.0.min.js',o.onload=function(){t_hoverZoom_init(t)},o.onerror=function(t){console.log('Upload script error: '+t)},r.appendChild(o)}}function t_store_loadProducts(t,e,r,o,i){window.tStoreProductsRequested=!0;var s='relevants'===t,a=Date.now(),n=r.storepart,d=!o||1===parseInt(o,10),l=document.getElementById('rec'+e);if(l){var c,p=s?l.querySelector('.js-store-relevants-grid-cont'):l.querySelector('.js-store-grid-cont'),_='973'===l.getAttribute('data-record-type');if(s){c={storepartuid:n,productuid:i.currentProductUid,quantity:i.relevantsQuantity,method:i.relevantsMethod,sort:i.relevantsSort};p=l.querySelector('.t-store__relevants-grid-cont');p&&(p.style.opacity=0)}else c={storepartuid:n,recid:e,c:a};if(d&&(c.getparts=!0,c.getoptions=!0),o&&(c.slice=o),r.filters&&(c.filters=r.filters,c.getparts=!0),r.sort&&!s&&(c.sort=r.sort),r.size&&r.size>0&&(c.size=r.size),r&&r.defaultSort&&r.defaultSort.in_stock&&s&&(c.filters||(c.filters={}),c.filters.quantity='y'),!window.t_store_endpoint){window.t_store_endpoint='store.tildacdn.com';try{var u=document.getElementById('allrecords').getAttribute('data-tilda-root-zone');u&&(window.t_store_endpoint='store.tildaapi.'+u)}catch(t){}}var g='https://'+window.t_store_endpoint+'/api'+(s?'/getrelevantproducts/':'/getproductslist/');if(!r.isPublishedPage){var m=window.location.hostname.split('.'),y='tilda.'+m[m.length-1];c.projectid=document.getElementById('allrecords').getAttribute('data-tilda-project-id'),g='https://'+y+'/projects/store'+(s?'/getrelevantproducts/':'/getproductslist/')}var v=Date.now();window.tStoreXHR||(window.tStoreXHR={}),window.tStoreXHR[e]&&(window.tStoreXHR[e].abort(),delete window.tStoreXHR[e]);var f=new XMLHttpRequest;window.tStoreXHR[e]=f,f.onload=function(){if(f.readyState===f.DONE&&200===f.status){var t=f.responseText;clearTimeout(l.getAttribute('data-preloader-timeout'));var i=l.querySelector('.js-store-grid-cont-preloader');if(i&&(i.style.display='none'),r.sidebar){var a=l.querySelector('.t951__grid-cont');a&&a.classList.remove('t951__grid-cont_hidden')}if(d&&p&&(p.innerHTML=''),'string'==typeof t&&'{'!==t.substring(0,1)&&(-1!==t.indexOf('ERROR:')||-1!==t.indexOf('Wrong'))){var n=t_store_get_errorBox(r,t);return p.insertAdjacentHTML('beforeend',n),void t_store__fadeIn(l.querySelector('.js-store-error-msg'))}if(''===t)return;var c={};try{c=JSON.parse(t),c.partlinks&&(r.linksSizeChart=c.partlinks)}catch(e){console.log(t)}if('object'!=typeof c)return;var u=s?c.relevants:c.products;if(c.options&&c.options.length>=1&&(window.tStoreOptionsList=c.options),t_store_process(u,e,r,!!o,s,c),c.parts&&c.parts.length>1&&!l.querySelector('.js-store-parts-switcher')&&!r.hideStoreParts){var g=function(){t_store_onFuncLoad('t_store_addStoreParts',function(){t_store_addStoreParts(e,r,c.parts),t_store_setActiveStorePart(e)})},m='tilda-catalog-filters-1.0';if(document.head.querySelector('script[src*="'+m+'"]'))g();else{var y=document.createElement('script');y.type='text/javascript',y.src='https://static.tildacdn.com/js/'+m+'.min.js',y.onload=g,y.onerror=function(){console.error('Failed to load tilda-catalog-filters: ',this.src)},document.head.appendChild(y)}if(!document.head.querySelector('link[href*="'+m+'"]')){var v=document.createElement('link');v.rel='stylesheet',v.type='text/css',v.href='https://static.tildacdn.com/css/'+m+'.min.css',v.media='all',document.head.appendChild(v)}}window.tStoreFilters||(window.tStoreFilters={});t=window.tStoreFilters[e];if('y'===c.filter&&!r.hideFilters&&t)t&&(t.filters&&t.filters.length>0||t.search||t.sort)&&t_store_onFuncLoad('t_store_filters_init',function(){t_store_filters_init(e,r,t),s||t_store_filters_prodsNumber_update(l,r,c)});else if(r.sidebar&&!s&&c.parts&&0===c.parts.length){var h=l.querySelector('.t951__sidebar');if(h){h.classList.add('t951__sidebar_empty');var w='RU'===window.tStoreBrowserLang?'Пожалуйста, добавьте хотя бы один фильтр каталога для отображения боковой панели магазина. Справка':'Please add at least one catalog filter to display the store sidebar';h.innerHTML=''+w+''}}if(t_store_isQueryInAddressBar('tstore')&&window.t_store__scrollToBlock){var b=decodeURI(window.location.hash).split('/'),S=b.indexOf('r')+1,E=b[S];E===e&&('scrollBehavior'in document.documentElement.style?window.scrollTo({left:0,top:l.getBoundingClientRect().top+window.pageYOffset-50,behavior:'smooth'}):window.scrollTo(0,l.getBoundingClientRect().top+window.pageYOffset-50),window.t_store__scrollToBlock=null)}var A=l.querySelector('.js-store-load-more-btn');A&&A.classList.remove('t-btn_sending');var x=t_throttle(function(){if(!window.tStoreProductsRequested&&window.innerWidth<960){var t=p.scrollWidth,e=p.scrollLeft,r=p.offsetWidth;r+e+20>t&&'none'!==A.style.display&&(A.click(),p.removeEventListener('scroll',x))}}),C=p&&p.classList.contains('t-store__grid-cont_mobile-one-row');if(c.nextslice){if(!A){if(A=t_store_get_loadMoreBtn_html(l,r),r.sidebar){var L=l.querySelector('.t951__cont-w-filter .t951__cont-wrapper + .t-store__pagination');L||l.querySelector('.t951__cont-w-filter').insertAdjacentHTML('beforeend',A)}else if(!s){var j=l.querySelector('.js-store-grid-cont');j&&j.insertAdjacentHTML('afterend',A)}A=l.querySelector('.js-store-load-more-btn')}if(A){A.style.display='';var q=function(){window.tStoreProductsRequested||(A.classList.add('t-btn_sending'),t_store_loadProducts('',e,r,c.nextslice))};A.parentNode.replaceChild(A.cloneNode(!0),A),A=l.querySelector('.js-store-load-more-btn'),A.addEventListener('click',q)}C&&p.addEventListener('scroll',x)}else s||(A&&(A.style.display='none'),p&&p.removeEventListener('scroll',x));if(r.showPagination&&'on'===r.showPagination&&!s&&t_store_onFuncLoad('t_store_pagination_draw',function(){t_store_pagination_draw(e,r,o,c.total)}),C){var P=document.getElementById('allrecords').getAttribute('data-tilda-mode');p&&'edit'!==P&&'preview'!==P&&('y'!==window.lazy&&'yes'!==document.getElementById('allrecords').getAttribute('data-tilda-lazy')||t_store_onFuncLoad('t_lazyload_update',function(){p.addEventListener('scroll',t_throttle(function(){t_lazyload_update()}))}))}if(s){l.querySelector('.t-store__relevants-grid-cont').style.opacity=1;var k=4;r.relevants_slider&&(u.length>k||window.innerWidth<=960)&&t_store_onFuncLoad('t_sldsInit',function(){t_sldsInit(e+' .js-store-relevants-grid-cont')})}_&&!s&&t_store_onFuncLoad('t_sldsInit',function(){t_sldsInit(e+' .js-store-grid-cont')}),r.verticalAlignButtons&&t_store_verticalAlignButtons(e,r),r.verticalAlignButtons&&('complete'===document.readyState?t_store_verticalAlignButtons(e,r):window.addEventListener('load',function(){t_store_verticalAlignButtons(e,r)})),r.itemsAnim&&r.previewmode&&t_store_onFuncLoad('t_animate__startAnimation',function(){t_animate__startAnimation()}),p.style.height='',t_triggerEvent(document.body,'twishlist_addbtn'),t_triggerEvent(p,'tStoreRendered'),window.tStoreProductsRequested=!1}},f.ontimeout=f.onerror=function(s){if(-1!==window.t_store_endpoint.indexOf('store.tilda'))t_store_changeEndpoint(s,function(){t_store_loadProducts(t,e,r,o,i)});else{var a=l.querySelector('.js-store-load-more-btn');a&&a.classList.remove('t-btn_sending');var n=Date.now()-v;0===f.status&&n<100&&console.log('Request error (get store products). Please check internet connection...'),window.tStoreProductsRequested=!1;var d=l.querySelector('.js-store-grid-cont-preloader');d&&(d.style.display='none');var c=t_store_get_errorBox(r,'Request timeout (40s). Please check internet connection and reload the page. If the situation has not changed, please contact support team@tilda.cc.');p.insertAdjacentHTML('beforeend',c),t_store__fadeIn(l.querySelector('.js-store-error-msg'))}},f.open('GET',g+'?'+t_store__serializeData(c)),f.timeout=2e4,f.send()}}function t_store_loadOneProduct(t,e,r,o,i){var s=Date.now(),a=e.storepart,n={storepartuid:a,recid:t,productuid:r,c:s},d=new XMLHttpRequest;if(d.onload=function(){d.readyState===d.DONE&&200===d.status&&o()},d.ontimeout=d.onerror=function(t){console.log('Can\'t get product with uid = '+r+' in storepart = '+e.storepart),'function'==typeof i&&i(t)},!window.t_store_endpoint){window.t_store_endpoint='store.tildacdn.com';try{var l=document.getElementById('allrecords').getAttribute('data-tilda-root-zone');l&&(window.t_store_endpoint='store.tildaapi.'+l)}catch(t){}}d.open('GET','https://'+window.t_store_endpoint+'/api/getproduct/?'+t_store__serializeData(n)),d.timeout=2e4,d.send()}function t_store_loadProducts_byId(t,e,r,o){var i=Date.now(),s={productsuid:t,c:i};if(!window.t_store_endpoint){window.t_store_endpoint='store.tildacdn.com';try{var a=document.getElementById('allrecords').getAttribute('data-tilda-root-zone');a&&(window.t_store_endpoint='store.tildaapi.'+a)}catch(t){}}var n='https://'+window.t_store_endpoint+'/api/getproductsbyuid/';if(e&&!e.isPublishedPage){s.projectid=document.getElementById('allrecords').getAttribute('data-tilda-project-id');var d=window.location.hostname.split('.'),l='tilda.'+d[d.length-1];n='https://'+l+'/projects/store/getproductsbyuid/'}s=JSON.stringify(s);var c=new XMLHttpRequest;c.onload=function(){c.readyState===c.DONE&&200===c.status&&('string'==typeof c.responseText&&'{'===c.responseText.substring(0,1)||console.log('Can\'t get products array by uid list'),r(JSON.parse(c.responseText)))},c.ontimeout=c.onerror=function(e){console.log('Can\'t get getproductsbyuid. Requesting idArr: '+t),'function'==typeof o&&o(e)},c.open('POST',n),c.timeout=2e4,c.send(s)}function t_store_loadFilters(t,e,r){var o=Date.now(),i=t.storepart,s={storepartuid:i,c:o},a=document.getElementById('allrecords');if(a&&'y'===a.getAttribute('data-tilda-ts')&&t&&t.defaultSort&&t.defaultSort.in_stock&&(s.filters||(s.filters={}),s.filters.quantity='y'),!window.t_store_endpoint){window.t_store_endpoint='store.tildacdn.com';try{if(a){var n=a.getAttribute('data-tilda-root-zone');n&&(window.t_store_endpoint='store.tildaapi.'+n)}}catch(t){}}var d='https://'+window.t_store_endpoint+'/api/getfilters/';if(!t.isPublishedPage){a&&(s.projectid=a.getAttribute('data-tilda-project-id'));var l=window.location.hostname.split('.'),c='tilda.'+l[l.length-1];d='https://'+c+'/projects/store/getfilters/'}var p=new XMLHttpRequest;p.onload=function(){if(p.readyState===p.DONE&&200===p.status)try{e(JSON.parse(p.responseText))}catch(t){e()}},p.ontimeout=p.onerror=function(e){console.log('Can\'t get filters in storepart = '+t.storepart),'function'==typeof r&&r(e)},p.open('GET',d+'?'+t_store__serializeData(s)),p.timeout=2e4,p.send()}function t_store_process(t,e,r,o,i,s){var a=document.getElementById('rec'+e);if(a){var n=a.querySelector('.js-store-grid-cont');if(n){var d='973'===a.getAttribute('data-record-type'),l='1025'===r.prodCard.blockId,c=!!r.prodCard.hasWrap,p=document.getElementById('allrecords')!==document.querySelector('.t-store__product-snippet')&&document.getElementById('allrecords').contains(document.querySelector('.t-store__product-snippet'));i&&(n=a.querySelector('.js-store-relevants-grid-cont'));var _=t_store_get_horizSeparator_html(r),u={},g=n.querySelectorAll('.t-store__card').length;if(0===t.length){var m=t_store_get_emptyMsg_html(r);return n.insertAdjacentHTML('beforeend',m),void t_store__fadeIn(a.querySelector('.js-store-empty-part-msg'))}if(i&&r.relevants_slider){var y=r.prodCard.shadowSize,v=r.prodCard.shadow,f=r.prodCard.shadowHover,h=r.prodCard.shadowSizeHover,w=r.prodCard.shadowOpacityHover,b=r.prodCard.shadowShiftyHover,S=parseInt(y,10)||0;S=Math.min(S,10);var E=h?parseInt(h,10):20;E=Math.min(E,40);var A=w?parseInt(w,10)/100:.3,x=v||f?20:Math.max(E,S),C='';if(f)C='box-shadow: '+f+' !important;';else if(h||w){var L={sm:10,md:20},j=L[b]||0;C='box-shadow: 0px '+j+'px '+E+'px rgba(0,0,0,'+A+') !important;'}var q='';if(C&&c&&(q+='#rec'+e+' .t-store .t-store__relevants__container .t-store__relevants-grid-cont .t-store__card__wrap_all:hover {',q+=C,q+='}\n'),(y||h||v||f)&&(q+='@media screen and (max-width:960px) {\n',q+='#rec'+e+' .t-store .t-store__relevants__container .t-store__relevants-grid-cont .t-store__card__wrap_all {\n',q+='margin: '+x+'px;\n',q+='}\n',q+='}\n',q+='@media screen and (min-width:961px) {\n',q+='#rec'+e+' .t-store .t-store__relevants__container .t-store__relevants-grid-cont .t-slds__items-wrapper {\n',q+='padding-top: '+x+'px;\n',q+='padding-bottom: '+x+'px;\n',q+='}\n',q+='#rec'+e+' .t-store .t-store__relevants__container .t-store__relevants__title-wrapper .t-store__relevants__title {\n',q+='margin-bottom: '+(40-x)+'px;\n',q+='}\n',q+='}\n'),q){q='';var P=a.querySelector('.t-popup .t-store__relevants__container');if(P&&P.insertAdjacentHTML('beforebegin',q),p){var k=a.querySelector('.t-store__product-snippet + .t-store__relevants__container');k&&(k.insertAdjacentHTML('beforebegin',q),r.isFlexCols&&k.classList.add('t-store__grid-cont_col-width_stretch'))}}}var O='',I=4,T=i?I:r.blocksInRow;if(i&&r.relevants_slider&&(t.length>I||window.innerWidth<=960)||!i&&d){var B='',z='300';'fast'===r.slider_opts.anim_speed&&(B='t-slds_animated-fast'),'slow'===r.slider_opts.anim_speed&&(B='t-slds_animated-slow',z='500'),O+=' ',R&&i&&(O+=R)}if(t_store_process_appendAndShowProducts(a,n,O),-1===O.indexOf('data-animate-style="fadeinleft"')||n.classList.contains('t-store__grid-cont_mobile-one-row')||(n.style.overflowX='hidden'),Array.prototype.forEach.call(t,function(t){var o=i?a.querySelector('.t-store__relevants__container .js-product.t-item[data-product-gen-uid="'+t.uid+'"]'):a.querySelector('.t-store__grid-cont .js-product.t-item[data-product-gen-uid="'+t.uid+'"]');o.setAttribute('data-card-size','small'),t=u[t.uid];var s=parseInt(t.quantity,10)<=0;s||'both'!==r.showStoreBtnQuantity&&'list'!==r.showStoreBtnQuantity||t_store_addProductQuantity(o,t,r),t_store_addProductOptions(e,t,o,r),t_store_option_handleOnChange(o),t_store_option_handleOnChange_custom(e,o,r),t_store_onFuncLoad('t_prod__initProduct',function(){t_prod__initProduct(o,r)})}),!i&&window.tStoreFilters&&'object'==typeof window.tStoreFilters&&window.tStoreFilters[e]&&'object'==typeof window.tStoreFilters[e]&&window.tStoreCustomUrlParams&&'object'==typeof window.tStoreCustomUrlParams&&window.tStoreCustomUrlParams[e]&&'object'==typeof window.tStoreCustomUrlParams[e]&&Array.prototype.forEach.call(t,function(t){var r=a.querySelector('.t-store__grid-cont .js-product.t-item[data-product-gen-uid="'+t.uid+'"]');Array.prototype.forEach.call(r.querySelectorAll('.js-product-edition-option'),function(t){var r=!1,o=t.querySelector('select');o&&Object.keys(window.tStoreCustomUrlParams[e]).forEach(function(t){Array.prototype.slice.call(window.tStoreFilters[e].filters).forEach(function(i){if(i.name===t&&i.name.indexOf('charact')<0){var s=window.tStoreCustomUrlParams[e][t];'object'==typeof s&&s.slice().reverse().forEach(function(t){if(!r)if(t!==o.value){var e=o.querySelector('[value="'+t_store_escapeQuote(t)+'"]');e&&!e.getAttribute('disabled')&&(o.value=t,t_triggerEvent(o,'change'),r=!0)}else t_triggerEvent(o,'change'),r=!0})}})})})}),!o&&r.isFlexCols&&r.isHorizOnMob){var D=n.querySelector('.t-store__tail-gap');t_store__removeElement(D),n.insertAdjacentHTML('beforeend','')}if('y'!==window.lazy&&'yes'!==document.getElementById('allrecords').getAttribute('data-tilda-lazy')||(r.relevants_slider?setTimeout(function(){t_store_onFuncLoad('t_lazyload_update',function(){t_lazyload_update()})},100):t_store_onFuncLoad('t_lazyload_update',function(){t_lazyload_update()})),document.querySelector('.t706__cartwin')||document.querySelector('.t706__sidebar')?'function'==typeof tcart__addEvent__links&&tcart__addEvent__links(e):console.log('Warning: cart block is not added to this page'),t_store_initPopup(e,u,r,i,s),'1025'==r.prodCard.blockId?t_store_unifyCardsWidth(e):(setTimeout(function(){t_store_unifyCardsHeights(e,r),r.verticalAlignButtons&&t_store_verticalAlignButtons(e,r)},1),document.fonts&&document.fonts.ready?document.fonts.ready.then(function(){setTimeout(function(){t_store_unifyCardsHeights(e,r)},1e3)}):setTimeout(function(){t_store_unifyCardsHeights(e,r)},1e3),r.verticalAlignButtons&&('complete'===document.readyState?t_store_verticalAlignButtons(e,r):window.addEventListener('load',function(){t_store_verticalAlignButtons(e,r)}))),!r.previewmode)try{addEditFieldEvents_new(e)}catch(t){console.log(t.message)}}}}function t_store_process_appendAndShowProducts(t,e,r){e.insertAdjacentHTML('beforeend',r),!0===t.getAttribute('data-already-loaded-first-products')?setTimeout(function(){Array.prototype.forEach.call(t.querySelectorAll('.t-store__card'),function(t){t.classList.remove('t-store__card_hidden')})},10):(Array.prototype.forEach.call(t.querySelectorAll('.t-store__card'),function(t){t.classList.remove('t-store__card_hidden')}),t.setAttribute('data-already-loaded-first-products',!0))}function t_store_mobileHoriz_checkBtnVisibility(t,e){var r=function(t,e){var r=document.getElementById('rec'+t);if(window.innerWidth<960&&e.hasMobileHorizScroll){var o=r.querySelector('.js-store-load-more-btn');t_store__removeElement(o)}};r(t,e),window.addEventListener('resize',t_throttle(function(){r(t,e)},500))}function t_store_get_productPopup_html(t,e){var r='',o=e.popup_opts.popupStat?'data-track-popup="'+e.popup_opts.popupStat+'"':'',i=e.popup_opts.overlayBgColorRgba?'style="background-color:'+e.popup_opts.overlayBgColorRgba+'"':'',s='t-popup__container t-popup__container-static ',a=e.verticalAlignButtons?'t-store__valign-buttons':'',n=e.showRelevants,d=e.titleRelevants?e.titleRelevants:window.tStoreDict.seeAlso,l=e.relevants_slider?'':'t-store__grid-cont_mobile-one-row',c=e.galleryStyle&&''!==e.galleryStyle&&parseInt(e.popup_opts.columns,10)+parseInt(e.popup_opts.columns2,10)<=12;e.popup_opts.isVertical&&(s+='t-store__popup-container_8-cols ');var p='',_=e.popup_opts.isVertical?'':'t-store__prod-popup__col-left t-col t-col_'+e.popup_opts.columns,u=document.querySelector('#rec'+t),g=u&&'1025'===u.getAttribute('data-record-type'),m='t-align_'+(g||'center'!==e.popup_opts.align?'left':'center')+' ',y=m+(e.popup_opts.isVertical?'':'t-store__prod-popup__col-right t-col t-col_'+e.popup_opts.columns2),v='js-store-product js-product t-store__product-popup ';e.popup_opts.containerBgColor&&(p+='background-color:'+e.popup_opts.containerBgColor+';'),'100'===e.popup_opts.popupContainer&&(p+='max-width:100%;',v+='t-container_fluid '),r+=''+t.title+': '+t.value+'
'}),w+='',w+='',h+=w,h+='