function t_throttle(e,t,o){var i,r;return t||(t=250),function(){var n=o||this,a=+new Date,c=arguments;i&&a.t396 [data-elem-type="text"] .tn-atom {zoom: '+100*s+"%;}")}}),1==window.isMobile){var t=function(){for(var t=document.body.querySelectorAll(".t-cover__carrier"),o=e(window).height(),i=0,r=0,n=t.length;r-1&&(i=parseInt(s.height,10)/100,d=Math.round(o*i)+"px",l=e(c).parent(".t-cover"),l&&(l=l[0])&&(p=l.querySelector(".t-cover__filter"),u=l.querySelector(".t-cover__wrapper"),p&&(p.style.height=d),u&&(u.style.height=d),s.height=l.style.height=d));var a=document.body.querySelectorAll("[data-height-correct-vh]");o=e(window).height(),i=0;var c,s,d,l,p,u;for(r=0,n=a.length;r-1&&(i=parseInt(s.height)/100,d=o+"px",l=e(c).parent(".t-cover"),s.height=d)};e(document).ready(function(){setTimeout(function(){t()},400)}),e(window).load(function(){setTimeout(function(){t()},400)}),e(window).width()<480?(e(document).ready(function(){var t;e("div[data-customstyle=yes]").each(function(t){e(this).css("font-size").replace("px","")>26&&(e(this).css("font-size",""),e(this).css("line-height",""))}),e("[field]").find("span").each(function(t){e(this).css("font-size").replace("px","")>26&&e(this).css("font-size","")}),e(".t-title, .t-name, .t-heading, .t-descr, .t-text, .t-subtitle").not(".tn-elem, .tn-atom, [data-auto-correct-line-height=false]").each(function(){if(t=e(this).attr("style"),void 0!==t&&""!=t&&t.indexOf("font-size")>-1&&e(this).css("font-size").replace("px","")>26)if("rem"===e(this).attr("data-auto-correct-font-size")){var o=new RegExp(/font-size.*px;/,"gi"),i=t.replace(o,"font-size: 1.6rem;").replace("line-height","lineheight");e(this).attr("style",i)}else{i=t.replace("font-size","fontsize").replace("line-height","lineheight");e(this).attr("style",i)}})}),e(window).load(function(){var t=e(window).width();e(".r:visible").each(function(){var o=e(this);e(this).find("div").not("[data-auto-correct-mobile-width=false], .tn-elem, .tn-atom, .tn-atom__sbs-anim-wrapper, .tn-atom__prx-wrapper, .tn-atom__videoiframe, .tn-atom .t-form *, .tn-atom__sticky-wrapper, .t-store__relevants__container, .t-slds__items-wrapper, .js-product-controls-wrapper, .js-product-edition-option, .t-product__option-variants").each(function(){var i=parseInt(e(this).outerWidth(!0));if(i>t){if(e(this).is('[data-customstyle="yes"]')&&e(this).parent().is("[data-auto-correct-mobile-width=false]"))return;console.log("Block not optimized for mobile width. Block width:"+i+" Block id:"+o.attr("id")),console.log(e(this)),o.css("overflow","auto"),i-3>t&&o.css("word-break","break-all")}})})})):e(window).width()<900&&e(document).ready(function(){var t;e("div[data-customstyle=yes]").each(function(t){e(this).css("font-size").replace("px","")>30&&(e(this).css("font-size",""),e(this).css("line-height",""))}),e("[field]").find("span").each(function(t){e(this).css("font-size").replace("px","")>30&&e(this).css("font-size","")}),e(".t-title, .t-name, .t-heading, .t-descr, .t-text, .t-subtitle").not(".tn-elem, .tn-atom").each(function(o){if(t=e(this).attr("style"),void 0!==t&&""!=t&&t.indexOf("font-size")>-1&&e(this).css("font-size").replace("px","")>30)if("rem"===e(this).attr("data-auto-correct-font-size")){var i=new RegExp(/font-size.*px;/,"gi"),r=t.replace(i,"font-size: 1.6rem;").replace("line-height","lineheight");e(this).attr("style",r)}else{r=t.replace("font-size","fontsize").replace("line-height","lineheight");e(this).attr("style",r)}})})}}(jQuery),function(e){function t(){this.setScrollListener()}t.prototype.videoTags=[],t.prototype.defaultConfig={isNeedStop:!1},t.prototype.videoConfigs=[],t.prototype.registerNewVideo=function(e,t){if(!(e instanceof HTMLVideoElement))throw new Error("Wrong tag passed into registerNewVideo");return-1==this.videoTags.indexOf(e)&&(this.videoTags.push(e),this.videoConfigs.push(void 0===t?this.defaultConfig:t),this.scrollCb("",!0),!0)},t.prototype.unergisterVideo=function(e){if(!(e instanceof HTMLVideoElement))throw new Error("Wrong tag passed into unregisterNewVideo");var t;return(t=this.videoTags.indexOf(e))>-1&&("function"==typeof e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e),this.pauseVideo(e,this.videoConfigs[t]),this.videoTags.splice(t,1),this.videoConfigs.splice(t,1),!0)},t.prototype.pauseVideo=function(e,t){if(!t)throw new Error("Wrong config type!");e.pause(),t.isNeedStop&&e.load()},t.prototype.setScrollListener=function(){e(window).bind("scroll",t_throttle(jQuery.proxy(this.scrollCb,this),200))},t.prototype.scrollCb=function(t,o){for(var i=e(window).height(),r=null,n=0,a=this.videoTags.length;ni/2){var c=1-(Math.abs(_vrect.top)-i/2)/(i/2)-.2;c>0&&c<=1&&0!=r.volume&&(r.volume=c)}Math.abs(_vrect.top)>i||0==_vrect.height?this.pauseVideo(r,this.videoConfigs[n]):(o&&r.play(),r.paused&&r.loop&&r.play())}},t.prototype.getVideoObject=function(e){for(var t=0,o=this.videoTags.length;t>o;t++){var i=this.videoTags[t];if(i.v===e)return i}return null},t.prototype.getVideoBoundingRect=function(t,o){void 0===o&&(o=!0);var i=null;return o?(i=e(t).parents(".r")[0],i||(i=t)):i=t,i.getBoundingClientRect()},window.videoLoadProcessor=new t}(jQuery),function(e){function t(){this.setScrollCb(),this.itemHeight=screen.availHeight;var t=.25;this.itemTransitionTop=this.itemHeight*t,this.activeItemIndex=null,this.windowHeight=document.documentElement.clientHeight||window.innerHeight||screen.availHeight,this.topOffsetShift=-150,e(window).resize(jQuery.proxy(this.recalculateAllSequencesOffsets,this)),this._resizeInterval=setInterval(jQuery.proxy(this.scrollCb,this),500)}function o(t){var o=e("#rec"+t),i=o.find(".t-cover").height(),r=o.find("div[data-hook-content]").outerHeight();if(r>300&&i1e3&&(r+=100),console.log("auto correct cover height: "+r),o.find(".t-cover").height(r),o.find(".t-cover__filter").height(r),o.find(".t-cover__carrier").height(r),o.find(".t-cover__wrapper").height(r),0==window.isMobile&&setTimeout(function(){var e=o.find(".t-cover__carrier");e.find("iframe").length>0&&(console.log("correct video from cover_fixcontentheight"),l(e,r+"px")),e.find("video").length>0&&console.log("correct html5video from cover_fixcontentheight")},2e3),"function"==typeof window.t_lazyload_updateResize_elem)try{window.t_lazyload_updateResize_elem(o.find(".t-cover__carrier"))}catch(e){console.log("error:"+e)}}}function i(e){var t=document.body.querySelector("#rec"+e);if(t){var o,i,r,n=t.querySelector(".t-cover__carrier");null!==n&&(o=n.getAttribute("data-content-video-url-youtube"),i=n.getAttribute("data-content-video-url-mp4"),r=n.getAttribute("data-content-video-url-webm"));var a=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),c=window.isMobile||/Macintosh/.test(navigator.userAgent)&&"ontouchend"in document;return!(c||!a||o||i||r||!n||"fixed"!==n.getAttribute("data-content-cover-parallax")||window["cover"+e+"fixbackgroundstyles"])}}function r(e){if(i(e)){var t=document.body.querySelector("#rec"+e),o=document.body.querySelector("#rec"+e+" .t-cover").parentNode;if(console.log("new fix node background-position: fixed"),!window.cover_fixBackgroundStyles){var r=".t-cover__container {position: relative;}.t-cover__container .t-cover {clip: rect(0, auto, auto, 0);position: absolute;top: 0;left: 0;width: 100%;height: 100% !important;}.t-cover__container .t-cover .t-cover__carrier {position: fixed;display: block;top: 0;left: 0;width: 100%;height: 100%!important;background-size: cover;background-position: center center;transform: translateZ(0);will-change: transform;}",n=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");n.appendChild(a),a.type="text/css",a.styleSheet?a.styleSheet.cssText=r:a.appendChild(document.createTextNode(r)),window.cover_fixBackgroundStyles=!0}var c=document.createElement("div");c.classList.add("t-cover__container"),o.prepend(c);var s=t.querySelector(".t-cover"),d=s.style.height;c.style.height=d,c.append(s);var l={275:".t256__video-container",286:".t266__video-container",337:".t-container",906:".t906__video-container"},p=l[t.getAttribute("data-record-type")];if(void 0!==p){var u=t.querySelector(p);c.append(u)}window["cover"+e+"fixbackgroundnodes"]=!0}}function n(e){var t=document.body.querySelector("#rec"+e);if(i(e)){console.log("new fix style background-position: fixed");var o=t.querySelector(".t-cover__container"),r=t.querySelector(".t-cover"),n=r.style.height;r.style.height=0,o.style.height=n,window["cover"+e+"fixbackgroundstyles"]=!0}}function a(e,t,o){-1==e.indexOf("https://www.youtube.com/embed")&&(e="https://www.youtube.com/embed"+("/"==e[0]?e:"/"+e));var i=function(e){for(var t=e.split("/"),o=null,i=0,r=t.length;i=15&&(s(a,n,o,i),c=0),c++),r=window.setTimeout(function(){s(a,n,o,i),c=0},100)}),n.scroll()}function s(e,t,o,i){var r,n,a,c,s;r=e.offset().top,n=e.height(),a=t.scrollTop(),c=t.height(),s=o.getPlayerState(),a+c>r&&a<=r+n?(1!==s&&o.playVideo(),"yes"==i&&(a>r+n-100?o.setVolume(30):a>r+n-200?o.setVolume(70):a+cr-500?2!==s&&(o.playVideo(),o.pauseVideo()):2!==s&&o.pauseVideo()}function d(){if("yes"!==window.loadytapi_flag){window.loadytapi_flag="yes";var e=document.createElement("script");e.src="https://www.youtube.com/iframe_api";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}}function l(t,o){console.log("setWidthHeightYoutubeVideo:"+o);var i=t.find("iframe"),r=t.attr("data-content-video-nocover"),n=t.attr("data-content-video-noadcut-youtube"),a=t.attr("data-content-video-ratio"),c=.5625;if(a>0&&(c=1*parseFloat(a)),"yes"!=r){if(o||(o="100vh"),o.indexOf("vh")>-1){var s=window.innerHeight;s||(s=e(window).height());var d=Math.floor(s*(parseInt(o)/100))}else d=parseInt(o);var l=Math.floor(parseInt(window.innerWidth));l||(l=e(window).width());var p=l,u=p*c,h=p,f=u,m=u,w=1;if("yes"==n||(f=f+110+110,m=u-220),m0&&i.css("margin-top",-Math.floor(y/2)+"px"),b>0&&i.css("margin-left",-Math.floor(b/2)+"px")}else{o||(u=Math.floor(t.width()*c)),o&&o.indexOf("vh")>-1?u=Math.floor(window.innerHeight*(parseInt(o)/100)):o&&(u=parseInt(o)),i.css("width","100%"),i.height(u+"px")}}t.prototype.defaultConfig={orientation:"vertical",speedFactor:1,automated:!1},t.prototype.sequenceObjects=[],t.prototype.recalculateAllSequencesOffsets=function(){this._resizeTimeout&&clearTimeout(this._resizeTimeout),this._resizeInterval&&clearInterval(this._resizeInterval),this._resizeTimeout=setTimeout(jQuery.proxy(function(){this.scrollCb(),this._resizeInterval=setInterval(jQuery.proxy(this.scrollCb,this),500)},this),10)},t.prototype.registerNewBlock=function(e){if(!(e instanceof HTMLElement))throw new Error("Wrong node type in registerNewBlock");for(var t=0,o=this.sequenceObjects.length;tthis.itemTransitionTop){a=c;break}if(null!=a){i=r.top/this.itemTransitionTop,i>1?i=1:i<0&&(i=0);for(c=0,s=n.length;c0&&r.bottom>r.height-t.sequenceHeight-100?this.processSequence(t):this.stopSequence(t)}},t.prototype.setScrollCb=function(){this._scrollCb=jQuery.proxy(this.scrollCb,this),e(window).bind("scroll",t_throttle(this._scrollCb,200))},window.sequenceController=new t,window.processVideo=function(t){mp4Src=e(t).attr("data-content-video-url-mp4"),webmSrc=e(t).attr("data-content-video-url-webm"),e(t).css("background-color","transparent"),e(t).css("background-image","");var o={mp4:mp4Src,webm:webmSrc,preload:"none",autoplay:!1,loop:!0,scale:!0,zIndex:0,width:"100%"};vid=e(t).videoBG(o),videoLoadProcessor.registerNewVideo(vid,{isNeedStop:!1})},window.cover_init=function(t){e(document).ready(function(){var i=document.body.querySelector("#coverCarry"+t),a=e(i),c=a.attr("data-content-cover-bg"),s=a.attr("data-content-cover-height"),d=a.attr("data-content-cover-parallax"),l=a.attr("data-content-video-url-mp4"),p=a.attr("data-content-video-url-webm"),u=a.attr("data-content-video-url-youtube"),h=a.attr("data-content-video-noloop"),f=a.attr("data-content-video-nomute"),m=a.attr("data-content-bg-base64"),w=a.attr("data-content-video-nocover");c||(c=""),s||(s=""),d||(d=""),l||(l=""),p||(p=""),u||(u=""),h||(h=""),f||(f=""),u||(u=""),m||(m=""),w&&"yes"==w&&(l="",p="",u=""),!window.isMobile||""==p&&""==l&&""==u||a.css("background-image","url('"+c+"')"),setTimeout(function(){o(t),n(t)},500),r(t);var v=e("#rec"+t).find("img[data-hook-clogo]");if(v.length&&v.load(function(){setTimeout(function(){o(t),n(t)},500)}),window.isMobile&&e(window).on("orientationchange",function(){o(t),n(t)}),(""!==l||""!==p||""!==u)&&0==window.isMobile)if(""!=u||""==l&&""==p){if(""!=u){a.css("background-color","#000000"),a.css("background-image",""),a.attr("data-content-cover-bg","");x=0,k=e(window);k.scroll(function(){b&&window.clearTimeout(b),b=window.setTimeout(function(){var e,t,o,r;(x=a.find("iframe").length,x>0)||(e=a.offset().top,t=a.height(),o=k.scrollTop(),r=k.height(),o+r>e-500&&o<=e+t+500&&processYoutubeVideo(i,s))},100)}),k.scroll()}}else{a.css("background-color","#000000"),a.css("background-image","url('https://tilda.ws/img/spinner-white.gif')"),a.css("background-size","auto"),a.attr("data-content-cover-bg","");var g=!1;g=""==h;var y=!0;y=""==f;var b,_="";"fixed"==d&&(s.indexOf("vh")>-1&&parseInt(s)>100&&(a.css("height","100vh"),_="yes"),s.indexOf("px")>-1&&parseInt(s)>e(window).height()&&(a.css("height","100vh"),_="yes"));var x="",k=e(window),T=a.parent();k.scroll(function(){var e,t,o,i;(b&&window.clearTimeout(b),b=window.setTimeout(function(){var e,t,o,i;if(!(x>0)&&(e=a.offset().top,t=a.height(),o=k.scrollTop(),i=k.height(),o+i>e-500&&o<=e+t+500)){var r=a.videoBG({mp4:l,webm:p,poster:"",preload:"none",autoplay:"true",loop:g,volume:1,scale:!0,zIndex:0,width:"100%"});r.setAttribute("muted",y),r.setAttribute("playsinline",""),videoLoadProcessor.registerNewVideo(r),x=1}},100),"fixed"==d&&"yes"==_)&&(e=T.offset().top,t=T.height(),o=k.scrollTop(),i=k.height(),o>=e+t-i?(a.css("position","absolute"),a.css("bottom","0px"),a.css("top","auto")):o>=e?(a.css("position","fixed"),a.css("top","0px")):o").attr("src",c).load(function(){e(this).remove(),a.css("background-image","url('"+c+"')"),a.css("opacity","1")}),"yes"!=S&&(a.css("background-image",""),a.css("opacity","0"),a.css("transition","opacity 25ms"))}var O=e("#rec"+t).find(".t-cover__arrow-wrapper");O.length>0&&O.click(function(){var o=e("#rec"+t).height();o>0&&e("html, body").animate({scrollTop:e("#rec"+t).offset().top+o},500)})})},e(document).ready(function(){var t=e(".t-records").attr("data-tilda-mode");"edit"!=t&&e(".t-cover__carrier").each(function(){var t=e(this).attr("data-content-cover-id");t>0&&cover_init(t)})});var p=e.Deferred();window.processYoutubeVideo=function(t,o){d();var i=function(){var i,r=e(t),n=r.attr("data-content-video-url-youtube"),s=r.attr("data-content-video-nomute"),d=r.attr("data-content-video-noloop"),p=r.attr("data-content-video-nocover"),u=document.createElement("iframe");if(u.src=a(n,p,s),u.frameBorder=0,u.allow="autoplay",t.appendChild(u),0==window.isMobile)new YT.Player(u,{events:{onReady:function(e){c(t,e.target,s),e.target.setVolume&&"yes"!=s&&e.target.setVolume(0),e.target.setLoop(!0)},onStateChange:function(t){if(t.target.setVolume&&"yes"!=s&&t.target.setVolume(0),-1===t.data){var o=window.fix_scrolltop_beforestop_youtube;o>=0&&(e("html, body").scrollTop(o),delete window.fix_scrolltop_beforestop_youtube)}t.data===YT.PlayerState.PLAYING?i=window.setInterval(function(){var e=t.target.getCurrentTime(),o=t.target.getDuration();e+1>o&&0!==o&&(t.target.seekTo(0),"yes"===d&&(t.target.stopVideo(),t.target.clearVideo()))},1e3):window.clearTimeout(i)}}});l(r,o)};p.then(i)},window.onYouTubeIframeAPIReady=function(){p.resolve()}}(jQuery),function(e){function t(){this.callbacks={}}t.prototype.defaultConfig={single:!1,context:null},t.prototype.addEventListener=function(e,t,o){evtCallbacks=this._getEventCallbacks(e),evtCallbacks||(evtCallbacks=this.callbacks[e]=[]),evtCallbacks.push({callback:t,config:"object"==typeof o?o:this.defaultConfig})},t.prototype._getEventCallbacks=function(e){return this.callbacks[e]},t.prototype.removeEventListener=function(e,t){var o=this._getEventCallbacks(e);if(!o)return!1;for(var i,r=0,n=o.length;r=0;a--)i=e(t[a]),r=i.offset().top,n=i.outerHeight()<=100?o.scrollTop()+o.height():o.scrollTop()+o.height()-100,r1e3&&a>b?e(this).addClass("r_hidden"):e(this).addClass("r_showed"),e(this).addClass("r_anim")}),o.bind("scroll",t_throttle(i,200)),i()}"none"===e("html").css("display")&&e("html").css("display","block"),e("body").height()+70o?"block"!=i&&e(this).css("display","block"):"none"!=i&&e(this).css("display","none")))})}e(document).ready(function(){0===e("#allrecordstable").length&&(t(),o(),e(window).bind("resize",t_throttle(t,200)),e(window).bind("resize",t_throttle(o,200)))})}(jQuery),function(e){function t(t,o){var i=t.closest(".t-cover__carrier"),r=o+"";console.log("setWidthHeightHTMLVideo:"+r);var n=i.find("video"),a=i.attr("data-content-video-nocover"),c=i.attr("data-content-video-ratio"),s=.5625;if(c>0&&(s=1*parseFloat(c)),"yes"!=a){if(r||(r="100vh"),r.indexOf("vh")>-1){var d=window.innerHeight;d||(d=e(window).height());var l=Math.floor(d*(parseInt(r)/100))}else l=parseInt(r);var p=Math.floor(parseInt(window.innerWidth));p||(p=e(window).width());var u=p,h=u*s,f=u,m=h,w=h,v=1;if(w0&&n.css("margin-top",-Math.floor(b/2)+"px"),_>0&&n.css("margin-left",-Math.floor(_/2)+"px")}else{r||(h=Math.floor(i.width()*s)),r&&r.indexOf("vh")>-1?h=Math.floor(window.innerHeight*(parseInt(r)/100)):r&&(h=parseInt(r)),n.css("width","100%"),n.height(h+"px")}}e.fn.videoBG=function(o,i){i={};if("object"==typeof o)i=e.extend({},e.fn.videoBG.defaults,o);else{if(o)return e(o).videoBG(i);i=e.fn.videoBG.defaults}var r=e(this);if(r.length){"static"!=r.css("position")&&r.css("position")||r.css("position","relative"),0==i.width&&(i.width=r.width()),0==i.height&&(i.height=r.height()),i.textReplacement&&(i.scale=!0,r.width(i.width).height(i.height).css("text-indent","-9999px"));var n=e.fn.videoBG.video(i);return i.scale&&n.height(i.height).width(i.width),r.append(n),void 0===r.attr("data-content-video-nomute")&&r.find("video").prop("muted","true"),t(n,i.height),n.find("video")[0]}},e.fn.videoBG.setFullscreen=function(t){var o=e(window).width(),i=e(window).height();if(t.css("min-height",0).css("min-width",0),t.parent().width(o).height(i),o/i>t.aspectRatio){t.width(o).height("auto");var r=t.height(),n=(r-i)/2;n<0&&(n=0),t.css("top",-n)}else{t.width("auto").height(i);var a=t.width();n=(a-o)/2;if(n<0&&(n=0),t.css("left",-n),0===n)setTimeout(function(){e.fn.videoBG.setFullscreen(t)},500)}e("body > .videoBG_wrapper").width(o).height(i)},e.fn.videoBG.video=function(t){var o=e("
");o.addClass("videoBG").css("position",t.position).css("z-index",t.zIndex).css("top",0).css("left",0).css("height",t.height).css("width",t.width).css("opacity",t.opacity).css("overflow","hidden");var i,r=e("