!function(a,o){var t={};t.html=o.documentElement,t.hash=function(e){return o.location.hash.replace("#","")},t.$=function(e){return o.querySelectorAll(e)},t.rootfs=function(){return parseInt(a.getComputedStyle(t.html)["font-size"].replace("px",""),10)},t.rem2px=function(e){return t.rootfs()*e/10},t.px2rem=function(e){return e/10+"rem"},t.locale=function(){return t.html.lang||a.navigator.userLanguage||a.navigator.language},t.load=function(e,t){var n=o,r=n.createElement("script");r.src="//"+e,t&&(r.addEventListener("load",t,!1),r.async=!0),n.getElementsByTagName("head")[0].appendChild(r)},t.debug=function(e){};var c={},e=[],u=!1;t.require=function(e,t){var n=c[e]||!1;if(!n||++n.tries>Object.keys(c).length)throw u=!0,new Error("module '"+e+"' ("+(n.tries||"*")+") couldn't be loaded.");return n.loaded?n.cache:n(a,t||{})},t.define=function(n,r){if(c[n]=function(e,t){try{c[n].cache=r(jQuery,e,t),c[n].loaded=!0}catch(e){if(u)throw e;console.error(e)}},c[n].id=n,c[n].loaded=!1,c[n].cache=void 0,c[n].tries=0,"Drupal"in a)return Drupal.behaviors[n]={attach:c[n]};e.unshift(c[n]);try{e.filter(function(e){return!e.loaded}).map(function(e){t.require(e.id)})}catch(e){u=!1}},a.app=t}(self,document);
app.define("element-carousel",function(e,o,a){"use strict";e.getScript("/_ui/desktop/common/vendors/js/owl.carousel.min.js",function(){e("#rowenta-verbatim .rowenta-carousel").owlCarousel({items:1,nav:!0}),GSEB.platform.isMobile()&&(e("#rowenta-verbatim .rowenta-carousel").owlCarousel({items:1,nav:!0,autoHeight:!0}),e("#rowenta-choose .rowenta-carousel").owlCarousel({items:1,nav:!0}))})});
app.define("app-layout",function(p,a,n){});
app.define("app-modal",function(n,e,t){"use strict";var o=n("#rowenta-video-container"),a=o.find("iframe"),i=o.find("#rowenta-video-container-close-button");n(".rowenta-section .open-video").click(function(e){var t=n(this).attr("data-video-id");return a.attr("src","https://www.youtube.com/embed/"+t+"?rel=0&autoplay=1"),o.addClass("container-opened"),!1}),i.click(function(){o.removeClass("container-opened"),a.attr("src","")})});
app.define("app-nav",function(i,t,e){"use strict";var o=i(".wrap-header header"),r=i("#rowenta-header"),s=r.find("nav");r.find('a[href^="#"]').click(function(t){var e=i(this).attr("href")||"default",a=i(e);a.length&&i("html, body").animate({scrollTop:a.offset().top-o.outerHeight()-s.outerHeight()},500),i(this).addClass("active").siblings().removeClass("active")}),i(window).scroll(function(t){var e=i(this).scrollTop(),a=r.offset().top+r.outerHeight()-o.outerHeight();s.toggleClass("sticky",a<=e)})});
app.define("content-home",function(t,e,o){"use strict";GSEB.platform.isMobile(),GSEB.platform.isDesktop()});