1(self.webpackChunkyit_uid_framework=self.webpackChunkyit_uid_framework||[]).push([[524],{51:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(285),s=i(2193),o=i.n(s);class r extends n.A{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{context:"_yit.visited",useEvents:!1,perSession:!0}),o()(this.storage)&&(this.storage={apartments:[],projects:[],areas:[]})}add(t,e){this.storage[t]&&-1===this.storage[t].indexOf(e)&&(this.storage[t].push(e),this.saveLocalStorage())}exists(t,e){return this.storage[t]&&-1!==this.storage[t].indexOf(e)}}},278:(t,e,i)=>{"use strict";i.d(e,{A:()=>kt});const n=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t)try{new t(e)}catch(i){try{t(e)}catch(i){}}},s=function(t,e,i){let s=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};const{dataset:r=!0}=o,a=t;if(!t)return;if(0===e.length)return n(a,{parent:i});const l=s?[i.querySelector(e)]:i.querySelectorAll(e);l.forEach((t,e)=>{if(!t)return;const s={el:t,instance:[e,l.length]},o=r?(t=>{const e={};return[].forEach.call(t,t=>{if(/^data-/.test(t.name)){const i=t.name.substr(5).replace(/-(.)/g,(t,e)=>e.toUpperCase()),{value:n}=t;e[i]=n.indexOf('"')>=0?JSON.parse(n):n}}),e})(t.attributes):{},c=Object.assign(s,o);c.parent=i,n(a,c)})};var o=i(1669),r=i.n(o),a=(i(3433),i(7350)),l=i.n(a);const c=class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{maxWidth:991,minScrollTop:0},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.didScroll=!1,this.elements={up:[],down:[]},this.elementsDOM=t,this.options=e,this.inited=!1,this.throttledScroll=l()(()=>{this.didScroll=!0},150),"function"==typeof i&&(this.callback=i());const n=window.matchMedia(`(max-width: ${this.options.maxWidth}px)`);n.addListener(this.setTimer.bind(this)),this.setTimer(n)}setTimer(t){t&&t.matches?(this.prevPosition=window.scrollY,window.addEventListener("scroll",this.throttledScroll),this.timer=setInterval(this.init.bind(this),500)):this.timer&&(clearInterval(this.timer),window.removeEventListener("scroll",this.throttledScroll))}direction(){const t=window.scrollY||window.pageYOffset||document.documentElement.scrollTop,e=t>this.prevPosition?"down":"up";return t<=0?"reset":!(Math.abs(this.prevPosition-t)<=5)&&(this.prevPosition=t,"function"==typeof this.callback&&this.callback(e),t<=this.options.minScrollTop?"reset":e)}getElements(t){t.forEach(t=>{const e=document.querySelectorAll(t.selector);this.elements[t.dir].push(...e)})}setElements(t){const e=Object.keys(this.elements);t in this&&"function"==typeof this[t]&&e.forEach(e=>{this.elements[e].forEach(this[t].bind(this))})}init(){const t=document.body.className;if(this.didScroll&&-1===t.indexOf("overflow-hidden")){this.inited||(this.inited=!0,this.getElements(this.elementsDOM)),this.didScroll=!1;const t=this.direction();if(!t)return;this.setElements(t)}}up(t){this.reset(t).add("up")}down(t){this.reset(t).add("down")}reset(t){const e=t.classList;return e.remove("down"),e.remove("up"),e}};var d=i(4568),h=i(6511),u=i(4640);class p{static observe(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;this.instance||(this.instance=new p),this.instance.observeSearch(t)}static get supportsIntersectionObserver(){return"IntersectionObserver"in window}constructor(){const t={rootMargin:"350px 0px",threshold:.01};this.onIntersection=this.onIntersection.bind(this),p.supportsIntersectionObserver&&(this.observer=new IntersectionObserver(this.onIntersection,t))}observeSearch(t){const e=t.querySelectorAll(".nSearch:not(.observed), .nSearch__projects:not(.observed)"),i=t.querySelector(".nSearch__main, .section-search-block .nSearch");if(i&&"#back-"==window.location.hash.substr(0,6)){const t=window.location.hash.substr(6).split(":"),e=t[0],n=t[1];sessionStorage.setItem("scrollPosition",e),sessionStorage.setItem("currentPage",n),history.replaceState({},document.title,location.href.substr(0,location.href.length-location.hash.length)),new h.A({element:i,offset:0,hashchange:!1}),"scrollRestoration"in history&&(history.scrollRestoration="manual")}!(0,u.A)()&&p.supportsIntersectionObserver?e.forEach(t=>{t.classList.add("observed"),this.observer.observe(t)}):e.forEach(t=>this.loadSearch(t))}onIntersection(t,e){t.forEach(t=>{t.isIntersecting&&(e.unobserve(t.target),this.loadSearch(t.target))})}loadSearch(t){Promise.all([i.e(502),i.e(187)]).then(i.bind(i,5553)).then(e=>{new e.default(t)})}}const f=p;class g{static observe(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.instance||(this.instance=new g),t&&this.instance.observe(t,e,i)}static get supportsIntersectionObserver(){return"IntersectionObserver"in window}constructor(){const t={rootMargin:"250px 0px",threshold:.01};this.onIntersection=this.onIntersection.bind(this),g.supportsIntersectionObserver&&(this.observer=new IntersectionObserver(this.onIntersection,t))}observe(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&this.unobserve(t);const i=t.querySelectorAll('iframe[loading="lazy"]');
1!e&&g.supportsIntersectionObserver?i.forEach(t=>{t.classList.add("observed"),this.observer.observe(t)}):i.forEach(t=>{t.classList.add("observed"),this.loadIframe(t)})}unobserve(t){const e=t.querySelectorAll('iframe[loading="lazy"].observed');g.supportsIntersectionObserver?e.forEach(t=>{t.classList.remove("observed"),this.observer.unobserve(t)}):e.forEach(t=>{t.classList.remove("observed")})}onIntersection(t,e){t.forEach(t=>{t.isIntersecting&&(this.loadIframe(t.target),e.unobserve(t.target))})}loadIframe(t){const e=t.getAttribute("data-src");e&&(t.classList.add("fade-in"),t.src=e,t.removeAttribute("data-src"))}}const m=g;var v=i(718),b=i(7668);var w=i(2477);i(1046);!function(){const t=r()("body"),e=(0,w.A)();let i,n=[];function s(){e&&r()("[data-tooltip-notouch]").addClass("expand").find(".visually-hidden").removeClass("visually-hidden"),i=e?r()('[data-toggle="tooltip"]').not("[data-tooltip-notouch]"):r()('[data-toggle="tooltip"]')}function o(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?i.tooltip("hide"):i.not(r()(t)).tooltip("hide")}function a(t){const e=r()(this);t.preventDefault();const i=void 0!==e.attr("aria-describedby");o(e),i?e.tooltip("hide"):e.tooltip("show")}function l(t,e){const i=e.getBoundingClientRect(),n=120+(r()(".inPageNavigation.active").height()||0);return i.top<n?"bottom":"top"}function c(n){n.each(function(n,s){const c=r()(s);if(c.data("tooltip-notouch")&&e)return;let d="";void 0!==c.data("alt-title")&&(d=()=>{const t=r()(this);return t.hasClass("disabled")?t.data("alt-title"):t.data("title")});const h=c.data("tooltip-class");c.tooltip({title:d,trigger:"hover focus",container:c.parents(".overlay").length?".overlay":"body",html:!0,template:`<div class="tooltip tooltip--${h}" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>`,placement:l}).on("shown.bs.tooltip",function(){const e=r()(this),n=e.siblings(".tooltip");e.closest(".section").css("overflow","initial"),e.addClass("active"),n.on("touchstart",()=>{e.tooltip("hide")}),t.on("touchstart",t=>{let e=r()(t.target);const n=e.closest('[data-toggle="tooltip"]');n.length&&(e=n),e.is(i)||o()})}).on("hide.bs.tooltip",function(){r()(this).siblings(".tooltip").off("touchstart"),t.off("touchstart")}).on("hidden.bs.tooltip",function(){const t=r()(this);t.removeClass("active"),t.closest(".section").css("overflow","")}).on("touchstart",a).on("click",function(t){return r()(this).data("tooltip-notouch")?("label"==r()(this).data("tooltip-class")&&t.stopPropagation(),!0):(t.preventDefault(),!1)})}),n.addClass("initialized")}
1function d(){const t=r()("a.button-favorite:not(.initialized):visible");let e;t.hover(function(){const t=r()(this);e=t.hasClass("on")?String(t.attr("tooltip-favorite-remove")):String(t.attr("tooltip-favorite-add")),t.tooltip("destroy"),t.tooltip({title:e,placement:l,template:'<div class="tooltip tooltip-favorites" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner dreamfinder-tooltip__container"></div></div>',container:t.parents(".overlay").length?".overlay":"body"})}),t.trigger("mouseout"),t.addClass("initialized")}r()(document).on("resultsLoaded",()=>{n=[],e||d(),s();c(i.not(".initialized").filter(":visible"))}),r()(document).on("initializeTooltips",t=>{if(-1===n.indexOf(t.tab)){e||d();c(i.not(".initialized").filter(":visible")),n.push(t.tab)}}),r()(document).on("dynamicInitTooltips",t=>{e||d(),s();c(t.includeInvisible?i.not(".initialized"):i.not(".initialized").filter(":visible"))}),s(),c(i)}();!function(){const t=".iframe-resize";r()(t).length&&window.self==window.top&&(r()(t).attr("scrolling","no"),r()(t).on("load",function(){const e=r()(t).index(r()(this));this.contentWindow.postMessage(`ActivateEurolandToolAutoSizeObject-${e}`,"*")}),window.addEventListener("message",e=>{let i;try{if("https://go.pardot.com"==e.origin&&e.data>0)return void r()(`${t}[src^="${e.origin}"]`).css({height:`${e.data}px`});i=JSON.parse(e.data),r()(`${t}:eq(${i.iFrame.index})`).css({height:`${i.iFrame.height}px`})}catch(n){i={}}},!1))}();!function(t){t.fn.collapse=function(e){const i={heading:".section-heading",panel:".section-panel",panelVisibleClass:"visible",trigger:"h2",time:300,breakpoint:768,mobile:!0,beforeExpand(){},beforeCollapse(){},afterExpand(){},afterCollapse(){}};if(0===this.length)return this;if(this.length>1)return this.each(function(){t(this).collapse(e)}),this;const n=t.extend({},i,e),s=this;let o=s.find(n.panel).eq(0),r=s.find(n.trigger).first();const a={};let l=!0;0==o.length&&(o=t(n.panel).eq(0));0==r.length&&-1===[".searchFilters__moreFilters","> .section-heading h2, .nSearch__headerProducts h2","h2",".section-heading h2"].indexOf(n.trigger)&&(r=t(n.trigger)),r.attr("tabindex")||r.attr("tabindex",0),a.isExpanded=function(){return"true"==o.attr("aria-expanded")},a.events=function(){r.on("click.expand",a.expand),r.on("keydown.expand",a.keydown),s.data("initialized",!0)},a.keydown=function(t){13==t.which&&a.expand()},a.expand=function(){let t;return l&&(l=!1,a.isExpanded()?(s.css("height",s.outerHeight()),t=s.outerHeight()-o.outerHeight(),o.removeClass(n.panelVisibleClass),a.setHeight(t,n.beforeCollapse,()=>{"function"==typeof n.afterCollapse&&n.afterCollapse(),s.removeClass("is-expanded").addClass("is-collapsed")}),s.isExpanded=!1):(t=o.addClass(n.panelVisibleClass).outerHeight(),t==s.outerHeight()?s.css("height",0):(o.removeClass(n.panelVisibleClass),s.css("height",s.outerHeight()),t=s.outerHeight()+o.addClass(n.panelVisibleClass).outerHeight()),a.setHeight(t,n.beforeExpand,()=>{"function"==typeof n.afterExpand&&n.afterExpand(s),s.removeClass("is-collapsed").addClass("is-expanded")}),s.isExpanded=!0)),!1},a.setHeight=function(e,i,o){t(document).trigger({type:"collapse-start"}),"function"==typeof i&&i(),s.stop().animate({height:e},n.time,()=>{l=!0,s.css("height",""),s.css("overflow",""),a.accessibility(),"function"==typeof o&&o(),t(document).trigger({type:"collapse-toggle",attr:{toggleElement:s.attr("id")?s.attr("id").replace("section-",""):""}})})},a.accessibility=function(t){t=t||!a.isExpanded(),r.attr("aria-expanded",t),o.attr({"aria-expanded":t,"aria-hidden":!t})},a.mobile=function(){if(n.mobile&&window.windowWidth<n.breakpoint){const t=s.data("collapsed");if(null==t)return;t.mobile!==t.desktop&&a.accessibility()}},function(){if(s.data("initialized"))return!1;t("body").addClass("collapsed"),void 0!==n.expanded&&(a.accessibility(n.expanded),n.expanded?o.addClass(n.panelVisibleClass):o.removeClass(n.panelVisibleClass),s.isExpanded=n.expanded),a.events(),a.mobile()}(),s.expand=function(){a.expand()},s.accessibility=function(t){a.accessibility(t)},s.destroy=function(){s.collapse&&(a.accessibility(!0),o.addClass(n.panelVisibleClass),r.off("click.expand"),r.off("keydown.expand"),r.removeAttr("tabindex"),s.data("initialized",!1),s.expand=function(){})}}}(r());var y=i(2537),_=i(3399),S=i(8221),E=i.n(S);const C=class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.container=t.container||window,this.scrollBtn=t.scrollBtn||document.querySelector(".btn-scroll-top"),this.top=t.top||800,this.init()}init(){this.scrollBtn&&this.container&&(this.container.addEventListener("scroll",E()(()=>{const t=this.container==window?this.container.scrollY:this.container.scrollTop;t>this.top?this.scrollBtn.classList.add("active"):this.scrollBtn.classList.remove("active");const e=this.container==window?document.documentElement.scrollHeight:this.container.scrollHeight,i=this.container==window?window.innerHeight:this.container.clientHeight;(Math.ceil(t+i)>=e-10||e<=i)&&this.container.classList?this.container.classList.add("container-scrolled-bottom"):this.container.classList&&this.container.classList.remove("container-scrolled-bottom")},200)),this.scrollBtn.addEventListener("click",()=>{this.scrollBtn.blur(),this.scrollBtn.classList.remove("active");const t=this.container==window?"html,body":this.container;new h.A({container:t,top:!0})}))}};var x=i(6438),k=i.n(x),T=i(7308);class A extends T.A{constructor(t){super();try{const e=JSON.parse(t.getAttribute("data-query")),i=t.getAttribute("data-source-url");this.getResults(i,e).then(e=>{if(e){const i=e.TotalHits,n=e.Facets[0]?e.Facets[0].Values.length:0;if(0==i)t.style.display="none";else{const e=t.querySelector(".richtext");e.innerHTML=e.innerHTML.replace("{projectsNumber}
1",n).replace("{apartmentsNumber}",i)}}})}catch(e){}}}const L=A;!function(){let t=0;const e=["ms","moz","webkit","o"];for(let i=0;i<e.length&&!window.requestAnimationFrame;++i)window.requestAnimationFrame=window[`${e[i]}RequestAnimationFrame`],window.cancelAnimationFrame=window[`${e[i]}CancelAnimationFrame`]||window[`${e[i]}CancelRequestAnimationFrame`];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,i){const n=(new Date).getTime(),s=Math.max(0,16-(n-t)),o=window.setTimeout(()=>{e(n+s)},s);return t=n+s,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)});!function(t,e,i){i=i||window;let n=!1,s=window.innerWidth;const o=E()(t=>{if(n)return;const o=window.innerWidth;void 0===t.force&&o===s||(window.windowWidth=o,s=o,n=!0,requestAnimationFrame(()=>{i.dispatchEvent(new CustomEvent(e,{detail:{windowWidth:o}})),n=!1}))},100);i.addEventListener(t,o)}("resize","optimizedResize")}();var I=i(51);const O=(()=>{const t=document.querySelector('meta[name="pageID"]');return t?t.content:0})();var P=i(7936),N=i(5185);const F=class{constructor(){this.pageType=window.pageType}setLVICookie(){if(["apartment","project","area","promopage"].includes(this.pageType)&&P.A.hasConsent("preferences")){const e=this._getProductId(),i=this._getIdPrefix(this.pageType),n=30,s="YIT-lvi";if(!e||!i)return;let o=[];try{o=JSON.parse(N.A.get(s))}catch(t){}o||(o=[]);const r=`${i}:${e}`;o.includes(r)&&o.splice(o.indexOf(r),1),o.unshift(r);try{let t=JSON.stringify(o.slice(0,n));N.A.set(s,t,365)}catch(t){}}}setCampaignCodesCookie(){const t="YIT-campaign-codes",e=new URLSearchParams(window.location.search).get("campaignCode");if(!e)return;let i=[];try{i=JSON.parse(N.A.get(t))}catch(n){}if(i||(i=[]),!i.includes(e)){i.push(e);try{let e=JSON.stringify(i);N.A.set(t,e,14)}catch(n){}}}setSessionCookie(){const t=N.A.get("YIT-SessionId");t&&N.A.set("YIT-SessionId",t,1/48)}_getProductId(){var t;return null===(t=document.querySelector('meta[name="productID"]'))||void 0===t?void 0:t.getAttribute("content")}_getIdPrefix(t){switch(t){case"area":return"a";case"project":return"pr";case"apartment":return"pi";case"promopage":return"pp";default:return""}}};const q=class{constructor(t){this.init(t.parent)}init(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(t==document){var e;document.body.addEventListener("mousedown",function(){document.body.classList.add("using-mouse")}),document.body.addEventListener("keydown",function(t){9===t.keyCode&&document.body.classList.remove("using-mouse")}),window.passiveSupported=!1;try{const t={get passive(){return window.passiveSupported=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(_){window.passiveSupported=!1}if(window.recaptchaSiteKey=null===(e=document.querySelector('meta[property="recaptcha-sitekey"]'))||void 0===e?void 0:e.content,document.querySelector(".Form__Element--recaptcha")&&window.recaptchaSiteKey){let t=document.createElement("script");t.async=1,t.src=`https://www.google.com/recaptcha/api.js?render=${window.recaptchaSiteKey}`,document.head.appendChild(t)}}window.pageLang=r()("html").attr("lang"),window.pageType=r()("[data-page-type]").data("page-type");const n=(0,w.A)();this.loadDynamicCss(),m.observe(t),d.A.observe(t),v.A.observe(t);const s=document.querySelector("#mainStyle");s&&"print"==s.media?s.addEventListener("load",()=>{this.initAfterCSS(t)}):this.initAfterCSS(t),t.querySelector(".social-floating")&&new(k())(".social-floating",{stickyClass:"is-stuck",stickyContainer:".articlePost,.articlePage,main",wrap:!0,marginTop:20}),t.querySelector(".search-widget--breadcrumbs")&&(r()(".search-widget--breadcrumbs .mobile-disabled").removeClass("mobile-disabled"),new(k())(".search-widget--breadcrumbs",{stickyClass:"is-stuck",stickyContainer:".composite-wrap",wrap:!0,marginTop:window.windowWidth>=768?0:55}));const o=t.querySelector(".hero-project__facts__more a");if(o){const e=t.querySelector(".detailsTable_apartment");let i;if(i=e?e.closest(".section"):t.querySelector(".section-product-facts"),i)o.href=`#${i.id}`,o.style.display="block";else{o.parentNode.style.display="none";const e=t.querySelector(".hero-project__facts tr:nth-child(4)");e&&(e.style.display="table-row")}}if(t.querySelector("#apt-map-container")){const e=t.querySelector('[href="#apt-map-container"]');e&&e.classList.remove("no-map")}if(t==document&&"apartment"==window.pageType){if(P.A.hasConsent("preferences")){(new I.A).add("apartments",O)}i.e(253).then(i.bind(i,8479)),r()("main .section").first().addClass("show");const t=function(){0==r()(".cloned-contact").length&&r()(".footer__item--contact:first").clone().addClass("container cloned-contact").insertAfter("main"),r()(".hero-apartment__content .col-lg-8").attr("class","col-sm-7 col-6 col-lg-8 order-1"),r()(".hero-apartment__content .col-lg-4").attr("class","col-sm-5 col-6 col-lg-4")},e=function(){r()(".cloned-contact").remove(),r()(".hero-apartment__content .col-lg-8").attr("class","col-md-7 col
1-lg-8 order-md-1"),r()(".hero-apartment__content .col-lg-4").attr("class","col-md-5 col-lg-4")};window.matchMedia("print").addListener(function(i){i.matches?t():e()}),window.onbeforeprint=function(){t()},window.onafterprint=function(){e()}}function a(t){if(r()(t).hasClass("sectionCollapse")){const e=r()(t).find('> .section-heading h2[aria-expanded="false"],> .nSearch__headerProducts h2[aria-expanded="false"]');e.length&&e.trigger("click")}let e=0;e=window.windowWidth<768?70:r()(".inPageNavigation.active").length?r()(".project-category-select").length?40:120:10,new h.A({element:t,offset:e})}if(window.isMicrosite=null!==t.querySelector(".microsite"),window.isMicrosite&&t.querySelector("html").classList.add("is-microsite"),t.querySelector(".promopage")&&t.querySelector("html").classList.add("is-promopage"),b.A.any&&t.querySelector("html").classList.add("isMobile"),r()(".nSearch__headerProducts",t).each(function(){const t=r()(this),e=t.parents(".section"),i=e.children(".section-heading");i.length?i.find("h2").html(t.find("h2").html()).css("visibility","visible"):e.find(".section-panel[aria-expanded]").length?(t.find("h2").attr("aria-expanded",e.find(".section-panel").attr("aria-expanded")),e.prepend(t),t.addClass("show")):(e.prepend(t),t.addClass("show"))}),r()(".sectionCollapse",t).collapse({trigger:"> .section-heading h2, .nSearch__headerProducts h2",afterExpand:t=>{let e;try{e=new Event("resize")}catch(n){e=document.createEvent("Event"),e.initEvent("resize",!1,!1)}e.force=!0,window.dispatchEvent(e);const i=t.find("[data-map]").data("ymap");i&&i.fitToViewport()}}),r()(".hero-area, .hero-project",t).length&&(r()("main .sectionCollapse:not(#section-about):not(.sectionCollapse--form)").first().addClass("first"),r()("main .section:not(.sectionCollapse--form)").last().addClass("last"),r()("main .section:not(.sectionCollapse--form):not(.hidden-xs)").last().addClass("last-mobile")),r()(t).on("click","[data-href]",function(t){"A"!=t.target.tagName&&"A"!=t.target.parentElement.tagName&&(location.href=r()(this).data("href"))}),function(){for(let t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).getElementsByTagName("a"),e=0;e<t.length;e++){const i=t[e];i.getAttribute("href")&&0===i.getAttribute("href").indexOf("http")&&i.hostname!==location.hostname&&(i.target="_blank")}}(),f.observe(t),t.querySelector(".googleMap")&&Promise.all([i.e(502),i.e(675),i.e(246)]).then(i.bind(i,2564)).then(t=>{new t.GoogleMapsLazyLoading}),r()('a[href*="#"]',t).on("click",function(e){try{if(window.location.pathname==this.pathname&&this.hash&&this.hash.length>1&&t.querySelector(this.hash)){e.preventDefault();let t=70;window.windowWidth>=768&&(t=r()(".inPageNavigation.active").length?r()(".project-category-select").length?40:120:10),new h.A({element:this.hash,offset:t})}}catch(e){}}),r()("[data-scroll]",t).on("click",function(t){t.preventDefault();const e=r()(this).attr("href");try{const t=r()(e).length?e:e.replace("#","#section-");r()(this).hasClass("trigger-close")?setTimeout(function(){a(t)},50):a(t)}catch(t){}}),t==document){new c([{selector:".cw",dir:"down"},{selector:"header.header:not(.header--microsite),.megamenu:not(.header--microsite)",dir:"up"}],{maxWidth:991,minScrollTop:document.querySelector(".search-widget--breadcrumbs")?300:0}),new c([{selector:".search-widget--breadcrumbs",dir:"up"}],{maxWidth:1e4,minScrollTop:300},function(){let t=r()(".search-widget--breadcrumbs .search-widget__expand"),e=r()(".search-widget--breadcrumbs form"),i="",n=0;return window.matchMedia("(max-width: 767px)").addListener(function(i){i.matches?(e.addClass("force-hidden"),t.removeClass("force-hidden")):e.removeClass("force-hidden")}),function(s){!t.hasClass("force-hidden")||window.windowWidth>=768||(i==s||""==i?n++:n=0,i=s,n>=2&&(n=0,t.removeClass("force-hidden"),e.addClass("force-hidden").removeClass("force-visible")))}}),r()(".search-widget--breadcrumbs .search-widget__expand").on("click",function(){r()(this).addClass("force-hidden"),r()(".search-widget--breadcrumbs form").addClass("force-visible").removeClass("force-hidden"),r()(document).trigger("tabbed-search")}),r()(document).on("click",'a[href*="#"]:not([href$="#"])',t=>{const e=`${t.currentTarget.getAttribute("href")}`;if("#"===e)return;const i=`${e},${e.replace("#","#section-")}`;window.location.hash==e&&r()(i).length&&(t.preventDefault(),a(i))}),window.addEventListener("hashchange",()=>{const t=window.location.hash.replace(/\//g,"");if("#"===t)return;const e=`${t},${t.replace("#","#section-")}`;t.length&&r()(e).length&&a(e)});const t=window.location.hash.replace(/\//g,""),e=`${t},${t.replace("#","#section-")}`;try{t.length&&"#"!==t&&r()(e).length&&("scrollRestoration"in history&&(history.scrollRestoration="manual"),setTimeout(()=>{r()("body").addClass("using-mouse"),a(e)},600))}catch(S){}}n&&(r()(".lift.style-overlay, .lift.style-overlay-full, .lift.style-overlay-full-extended",t).each(function(){r()(this).addClass("disable-hover")}),r()("[data-hide-on-mobile]",t).each(function(){r()(this).find(".poster").length&&r()(this).addClass("poster-mode"),r()(this).find("video").remove()})),r()(".richtext table",t).not(".table-swipe").wrap('<div class="table-wrap"></div>');/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&r()("html",t).addClass("ios"),r()(t).on("click","[data-popup]",function(t){t.preventDefault();const e=screen.height/2-175,i=screen.width/2-260;window.open(this.href,"sharer",`top=${e}
1,left=${i},toolbar=0,status=0,width=520,height=350`)});const l=t.querySelectorAll(".hero-wrapper__button-back");if(l)for(let i=0;i<l.length;i++)l[i].addEventListener("click",t=>{const e=t.currentTarget.href;if(document.referrer&&-1!==document.referrer.indexOf(window.location.host)){t.preventDefault();const i=window.location.href;window.history.go(-1),setTimeout(()=>{window.location.href==i&&(window.location.href=e)},500)}});const u=r()(".about__mobile",t);u.length&&(r()(".about__placeholder").append(u.html()),new y.A(t.querySelectorAll(".about__placeholder .collapseButton"))),new C;const p=t.querySelector(".other-projects");p&&new L(p),r()(".cta-button--print",t).on("click",function(t){t.preventDefault(),window.print()});const g=t.querySelector(".form-section section");if(g){const t=g.style.backgroundImage,e=g.querySelector(".col-sm-6:first-child");t&&e&&(e.style.backgroundImage=t)}t==document&&(P.A.externalCookieConsentSetup(),setTimeout(()=>{const e=new F;e.setLVICookie(),e.setCampaignCodesCookie(),e.setSessionCookie();const i=t.querySelector(".hero-apartment .button-reserve");if(i){const t=`/util/reservation/info?pid=${i.dataset.productId}&lang=${window.pageLang}`;fetch(t,{method:"POST",mode:"same-origin",credentials:"include",headers:new Headers({"Content-Type":"application/json"})}).then(t=>{if(t.ok)return t.json()}).then(t=>{null!=t&&t.Visible&&(i.setAttribute("data-product-info-one",t.ProductInfoLine1),i.setAttribute("data-product-info-two",t.ProductInfoLine2),i.setAttribute("data-token",t.Token),i.setAttribute("data-toggle","tooltip"),i.setAttribute("data-title",t.Tooltip),i.setAttribute("data-alt-title",t.AltTooltip),i.href=t.Target,i.textContent=t.Title,i.style.display="inline-flex",r()(document).trigger({type:"dynamicInitTooltips"}))}).catch(t=>{})}},0))}loadDynamicCss(){document.querySelector(".cw")&&i.e(690).then(i.bind(i,8060))}initAfterCSS(t){t.querySelector(".image-block[data-image-overlay],.image-block[data-image-zoom],.slider[data-image-overlay],.slider[data-image-zoom]")?i.e(534).then(i.bind(i,3799)).then(e=>{e.default(),(0,_.A)(".slider","a",{},t)}):(0,_.A)(".slider","a",{},t),new y.A(t.querySelectorAll(".collapseButton"));const e=r()(".next-showing__contact");if(e.length){const t=r()("main .section:visible .EPiServerForms");t.length?e.attr("href","#"+t.parents(".section").attr("id")):e.remove()}}};var B=i(7725),D=i(4564);class U extends B.A{constructor(t){super(),this.class=".tabs",this.tabs=t,this.$tabs=r()(t),this.$tabsNavigation=this.$tabs.find(`${this.class}__navigation__list`).first(),this.$links=this.$tabsNavigation.find(`${this.class}__link`),this.$content=this.$tabs.children(`${this.class}__content`),this.$items=this.$content.children(`${this.class}__item`),this.dropdown=this.$tabsNavigation.closest(".dropdown--tabs"),this.hasSearch=this.$tabs.find(".nSearch").length,this.navigationUnderline=this.$tabs.find(`${this.class}__navigation__underline`),this._state="is-selected",this.initialization()}initialization(){if(0!=this.$links.length&&(this.getDefault(),this.removeState(),this.$tabs.hasClass("tabs--form")||(this.showTab(this.default),window.addEventListener("optimizedResize",t=>{this.showDefault(),this.selectedTabVisible()})),this.applyDropdown(),this.$links.on("click",this.onTabClick.bind(this)),this.navigationUnderline.length)){this.buttonScrollLeft=this.$tabs.find(".tabs__navigation-button--left"),this.buttonScrollRight=this.$tabs.find(".tabs__navigation-button--right"),this.$tabs.find(".tabs__navigation-button").on("click",t=>{const e=t.currentTarget.classList.contains("tabs__navigation-button--left")?-120:120,i=this.$tabsNavigation[0].scrollLeft;this.navigationScroll(i+e)}),this.buttonScrollLeft.length&&this.$tabsNavigation.on("scroll",E()(()=>{this.tabScrollButtons()},200)),window.addEventListener("optimizedResize",t=>{this.setTabUnderline(),this.selectedTabVisible(),this.tabScrollButtons()}),window.addEventListener("load",()=>{document.fonts?requestAnimationFrame(()=>{document.fonts.ready.then(()=>{this.setTabUnderline()})}):setTimeout(()=>{this.setTabUnderline()},2e3)}),this.setTabUnderline();const t=new(window.ResizeObserver||D.tb)(t=>{this.setTabUnderline(),this.selectedTabVisible(),this.tabScrollButtons()});this.tabs.querySelectorAll(".tabs__navigation__underline").forEach(e
1=>{this.getSiblings(e).forEach(e=>{t.observe(e)})})}}onTabClick(t){if(t.preventDefault(),t.currentTarget.classList.contains("is-selected"))return;if(r()(t.currentTarget).hasClass("is-map-link"))return;const e=r()(t.currentTarget).data("tab-target"),i=this.getContentItemByTag(e),n={link:this.$links.index(t.currentTarget),item:i},s=this.$links.eq(n.item);this.showTab(n)&&(this.trigger(e,t.currentTarget),this.hasSearch&&r()(document).trigger("tabbed-search")),this.hideDropdown(s.text())}applyDropdown(){this.dropdown.length&&(this.dropdown.find("li").length>1?(this.$dropdown=this.dropdown,this.$dropdown.dropdown(),this.prefix=this.$dropdown.trigger.data("prefix")||"",""!=this.prefix&&(this.prefix+=" "),""!=this.$links.eq(this.default).text()?this.$dropdown.trigger.text(this.prefix+this.$links.eq(this.default).text()):this.$dropdown.trigger.text(this.prefix+this.$links.filter(".is-selected").text()),r()(document).on("helperChanged",t=>{this.$dropdown.trigger.text(this.prefix+this.$links.filter(".is-selected").text())}),window.addEventListener("optimizedResize",t=>{this.$dropdown.trigger.text(this.prefix+this.$links.filter(".is-selected").text())})):(this.dropdown.addClass("dropdown--tabs--single"),this.dropdown.find(".dropdown__content").removeClass("dropdown__content")))}getItemByTag(t,e,i){let n=0;return t.each((t,s)=>{const o=s.getAttribute(i);if(!o)return!1;o===e&&(n=t)}),n}getContentItemByTag(t){return this.getItemByTag(this.$items,t,"data-content")}getLinkItemByTag(t){return this.getItemByTag(this.$links,t,"data-tab-target")}hideDropdown(t){this.$dropdown&&(this.$dropdown.hasClass("opened")&&this.$dropdown.expand(),this.$dropdown.trigger.text(this.prefix+t))}showTab(t){const e=this.$items.eq(t.item);return!e.hasClass(this._state)&&(this.removeState(),e.addClass(this._state),this.$links.eq(t.link).addClass(this._state),this.setTabUnderline(),this.selectedTabVisible(),!0)}removeState(){this.$items.removeClass(this._state),this.$links.removeClass(this._state)}getDefault(){const t=this.$links[0].getAttribute("data-tab-target");this.default={item:t?this.getContentItemByTag(t):0,link:0}}showDefault(){this.$items.each((t,e)=>{const i=r()(e);if(i.hasClass("is-selected")&&!i.is(":visible"))return this.removeState(),this.showTab(this.default),!1})}trigger(t,e){if(t){const i=new URLSearchParams(e.getAttribute("href"));this.$tabs.trigger({type:"tabChanged",tab:{id:t,el:this.$tabs,url:i.get("tab")}})}}setTabUnderline(){const t=this.$tabs.find(".is-selected").first(),e=this.$tabs.find(".tabs__navigation__underline");if(t.length&&e.length){const i=t.position().left+this.$tabsNavigation[0].scrollLeft,n=t.outerWidth();e.css({left:i,width:n})}}selectedTabVisible(){const t=this.$tabs.find(".is-selected").first(),e=this.$tabsNavigation[0].offsetWidth,i=this.$tabsNavigation[0].scrollLeft,n=t.position().left,s=n+t[0].offsetWidth;s>e-50?this.navigationScroll(i+(s-e)+50):n<50&&this.navigationScroll(i+n-50)}tabScrollButtons(){if(!this.buttonScrollLeft.length)return;const t=this.$tabsNavigation[0].offsetWidth,e=this.$tabsNavigation[0].scrollLeft,i=this.$tabs.find(`${this.class}__navigation--scroll-search ${this.class}__navigation__list__item`).get().reduce(function(t,e){return t+r()(e).width()},0);i<=t?(this.buttonScrollLeft.addClass("hide"),this.buttonScrollRight.addClass("hide")):(this.buttonScrollLeft.removeClass("hide"),this.buttonScrollRight.removeClass("hide")),this.buttonScrollLeft.attr("disabled",0==e),this.buttonScrollRight.attr("disabled",i-e<=t)}navigationScroll(t){this.cssSupports("scroll-behavior","smooth")?this.$tabsNavigation[0].scrollLeft=t:this.$tabsNavigation.animate({scrollLeft:t},300)}getSiblings(t){for(var e=[],i=t.parentNode.firstChild;i;)1===i.nodeType&&i!==t&&e.push(i),i=i.nextSibling;return e}cssSupports(t,e){return"CSS"in window?CSS.supports(t,e):t.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})in document.body.style}}const H=U,M=t=>new H(t.el);class j extends B.A{constructor(){super();const t=r()(".campaign");t.each((t,e)=>{r()("picture",e).length>1&&r()(e).addClass("has-carousel")}),t.length&&this.initialize(),r()(".dream-finder__campaign-info__close").on("click",function(t){t.preventDefault(),r()(this).parents(".dream-finder__campaign-info").hide()})}initialize(){this.campaignImageOnload(),this.scrollToCampaign()}campaignImageOnload(){r()(".campaign .front-hero img").each((t,e)=>{e.naturalHeight>0?(r()(e).height(e.naturalHeight),r()(e).parent().height(e.naturalHeight)):e.onload=()=>
1{e.naturalHeight>0&&(r()(e).height(e.naturalHeight),r()(e).parent().height(e.naturalHeight))}})}scrollToCampaign(){const t=r()(".hero-area__campaign__badge"),e=r()(".campaign");t.length&&e.length&&(t.addClass("hero-area__campaign__badge--btn"),t.on("click",t=>{t.preventDefault();const i=e.get(0);new h.A({element:i,offset:85,hashchange:!1})}))}}var z=i(2078);class R extends B.A{constructor(t){super(t),this.activeTab="",this.className="cw",this.isOpen=!1,this.transitions=[],this.mainBtn=null,this.inpageBtn=null,this.collapseInitialized=!1,this.overlay=document.querySelector(".overlay"),this.addClass(document.getElementsByTagName("html")[0],"cw-active"),this.windowWidth=window.windowWidth,this.initialize()}initialize(){let t;this.focusTrap=z.K(this.el,{allowOutsideClick:()=>!0}),this.buttons=this.getElements(`${this.className}__btn--contact`,document),this.buttons=this.buttons.concat(this.getElements(`${this.className}__close`,this.el)),this.buttons.map(e=>{"contact-widget-button"==e.id&&(this.mainBtn=e),this.hasClass(e,"cw__btn--contact-hero")&&(t=e),!this.hasClass(this.el,"hideCtaInFloatingHeader")&&this.hasClass(e,"cw__btn--contact-inpagenav")&&(this.inpageBtn=e)}),t&&this.mainBtn&&(t.textContent=this.mainBtn.textContent.trim(),t.removeAttribute("style")),this.inHeader=this.hasClass(this.el,"inHeader"),this.initHeaderButton(),setTimeout(()=>{if(window.giosgEnabled||window._giosg){const t=this.el.querySelectorAll("#yit-chat, #yit-danskebank");if(t)for(let n=0;n<t.length;n++)t[n].style.cssText="display: none !important",t[n].addEventListener("click",t=>{t.preventDefault()});const e=document.createElement("style");e.type="text/css";const i="#yit-chat, #yit-danskebank { display: inline-block; }";e.styleSheet?e.styleSheet.cssText=i:e.appendChild(document.createTextNode(i)),document.getElementsByTagName("head")[0].appendChild(e)}},100),r()("#yit-danskebank").on("click",t=>{t.preventDefault(),r()(".db-microsite-button, .db-mobile-bar").click()}),r()("#yit-chat").on("click",t=>{t.preventDefault()});const e=this.el.querySelector("#yit-one-click-call"),i=document.querySelector(".megamenu__button.cw__btn--contact .megamenu__label"),n=this.el.querySelector("a[href^=tel]");e&&n&&(this.removeClass(e,"force-hidden"),e.href=n.href),i&&n&&(i.textContent=n.textContent),this.buttons.map(t=>{t.addEventListener("click",t=>{this.openWidget(t),this.checkElementStatus(),N.A.set("YIT-ContactHint",1),r()(".cw .tooltip").tooltip("hide")})}),this.el.addEventListener("click",t=>{t.target===this.el&&r()(this.el).hasClass("is-open")&&(this.openWidget(t),this.checkElementStatus())},!1),this.el.addEventListener("transitionend",t=>{-1!=["left","height"].indexOf(t.propertyName)&&this.afterOpen()}),this.collapses=this.getElements("sectionCollapse",this.el),this.collapses.map((t,e)=>{this.collapses[e]=r()(t)}),window.addEventListener("optimizedResize",t=>{this.windowWidth=t.detail.windowWidth,this.initCollapse(),this.checkElementStatus()}),setTimeout(()=>{this.addClass(this.el,"animate")},2e3);const s=N.A.get("YIT-ContactHint"),o=r()(".cw__btn--contact[data-hint]");if(o.length&&!s){const t=o.data("timeout")||15e3;o.tooltip({title:o.data("title"),trigger:"manual",container:".cw__inner",placement:"left",html:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner cw__tooltip"></div><a href="#" class="cw__tooltip__close"></a></div>'}).on("shown.bs.tooltip",function(){const t=r()(this).parent().siblings(".tooltip");t.find(".cw__tooltip__close").on("click",e=>{e.preventDefault(),t.tooltip("hide"),N.A.set("YIT-ContactHint",1)})}),setTimeout(()=>{o.tooltip("show")},t)}window.addEventListener("keydown",t=>{if(!t.defaultPrevented&&this.hasClass(this.el,"is-open")){switch(t.key){case"Esc":case"Escape":this.openWidget(t),this.checkElementStatus();break;default:return}t.preventDefault()}},!0)}initHeaderButton(){if(this.inHeader){const t=[this.buttons[0],this.buttons[1]];if(this.mainBtn){const e=this.mainBtn.textContent.trim(),i=e;t.forEach(t=>{t.classList.contains("cw__btn--contact-inpagenav")||(t.classList.contains("megamenu__button")?t.querySelector(".megamenu__label").textContent=i:t.textContent=i,t.removeAttribute("style"))}),this.inpageBtn&&(this.inpageBtn.textContent=e,this.inpageBtn.removeAttribute("style"))}}}initCollapse(){this.isOpen&&this.collapses.length&&this.collapses.map((t,e)=>{if(!t.hasClass("sectionCollapse--widget"))return t.collapse(),!1;if(this.windowWidth<=992){if(!t.initialized){let i=e<=0;void 0!==t.isExpanded&&(i=t.isExpanded),t.collapse({mobile:!1,expanded:i})}}else{const e=t.find(".section-heading h2");e.length&&e.removeAttr("tabindex"),t.destroy&&t.destroy()}})}openWidget(t){t.preventDefault(),this.beforeOpen(t)}beforeOpen(t){r()(this.el).find(".search-when-visible").trigger("fireSearch"),this.toggleClass(this.el,"is-moving"),this.toggleClass(this.el,"is-open"),t.currentTarget&&t.currentTarget.className&&-1===t.currentTarget.className.indexOf("is-moving")&&(this.activeTab=-1===t.currentTarget.className.indexOf("is-active")?t.currentTarget:this.activeTab),setTimeout(()=>{this.toggleClass(this.mainBtn,"is-active")},100)}afterOpen(){this.isOpen=r()(this.el).hasClass("is-open"),this.initCollapse(),this.removeClass(this.el,"is-moving"),this.isOpen?this.focusTrap.activate():this.focusTrap.deactivate()}checkElementStatus(){const t=r()("body");this.hasClass(this.overlay,"open")||(this.hasClass(this.el,"is-open")?(this.scrollTop=window.pageYOffset||document.documentElement.scrollTop,r()("html").addClass("overlay-opened"),t.addClass("overflow-hidden")):t.hasClass("overflow-hidden")&&(t.removeClass("overflow-hidden"),window.scroll(0,this.scrollTop),r()("html").removeClass("overlay-opened")))}}const W=R,Y="YIT-disclaimer-popup",V=()=>JSON.parse(N.A.get(Y)||"[]"),X=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;const i=new RegExp(/^#/).test(t)?t.replace("#",""):t,n=e.querySelector(`#${i}`),s=n.getAttribute("data-disclaimerid");if(n){const t="true"===n.getAttribute("data-cookie");if(t&&(t=>V().indexOf(t)>=0)(s))return void n.parentNode.removeChild(n);const e=n.querySelector(".richtext");if(e){e.classList.remove("has-background");const t=e.className.replace("richtext","").trim().split(" ");n.classList.add(t[0]?t[0]:"red")}n.classList.add("disclaimer--show");const i=n.querySelector(".disclaimer__close");i&&$(i).on("click",function(){if(t){const t=V();t.push(s),N.A.set(Y,JSON.stringify(t),365)}$(".disclaimer").remove()}),window.isMicrosite?n.classList.remove("hidden-xs"):$(n).clone(!0,!0).removeClass("hidden-xs").addClass("visible-xs").insertAfter($(".off-canvas,.megamenu__menu")),"scrollRestoration"in history&&(history.scrollRestoration="manual"),window.scrollTo({behavior:"smooth",top:0})}},J=()=>new X("disclaimer-popup");var K=i(4671),G=i(5779);class Q extends B.A{constructor(){super(),this.loadedState="is-loaded",this.onStateClass="on",this.buttons={},this.favorites={},this.hasListener=!1}getButtons(){const t=document.querySelectorAll(`${this.className}:not(.${this.loadedState})`);!this.hasListener&&t.length&&(this.hasListener=!0,this.clickListener()),[].forEach.call(t,t=>{const e=t.getAttribute("favorite-id"),i=t.getAttribute("favorite-group"),n=this.isInFavorites(i,e);let s=-1;if(this.buttons[e]?s=this.buttons[e].elm.push(t)-1:(this.buttons[e]={id:e,state:n,type:i,elm:[].concat(t)},s=0),n){this.addClass(t,this.onStateClass);const e=String(t.getAttribute("tooltip-favorite-remove"));e&&t.setAttribute("aria-label",e)}else{const e=String(t.getAttribute("tooltip-favorite-add"));e&&t.setAttribute("aria-label",e)}s>-1&&t.setAttribute("favorite-index",s),!t.closest(".project-category-select")||t.classList.contains("atb__button")||t.querySelector("[data-lucide]")||(t.innerHTML='<i data-lucide="heart"></i>'),this.addClass(t,this.loadedState)}),(0,K.Tzs)({icons:{Heart:G.A}})}clickListener(){document.addEventListener("click",t=>{t.target.classList.contains(this.className.substr(1))&&(t.preventDefault(),t.stopPropagation(),this.changeFavoriteState(t.target.getAttribute("favorite-id")))})}changeFavoriteState(t){this.buttons[t]&&(this.buttons[t].state?(this.removeClass(this.buttons[t].elm,this.onStateClass),this.removeFromFavorites(this.buttons[t].type,t),this.buttons[t].elm.forEach(t=>{const e=String(t.getAttribute("tooltip-favorite-add"));e&&t.setAttribute("aria-label",e)})):(this.addClass(this.buttons[t].elm,this.onStateClass),this.addToFavorites(this.buttons[t].type,t),this.buttons[t].elm.forEach(t=>{const e=String(t.getAttribute("tooltip-favorite-remove"));e&&t.setAttribute("aria-label",e)})),this.saveInCookies(),this.buttons[t].state=!this.buttons[t].state)}isInFavorites(t,e){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.favorites[t]){const n=this.favorites[t].indexOf(e);return n>-1&&(!i||n+1)}return!1}
1addToFavorites(t,e){this.isInFavorites(t,e)||(this.favorites[t]=this.favorites[t]?this.favorites[t].concat(e):[].concat(e))}removeFromFavorites(t,e){const i=this.isInFavorites(t,e,!0);i&&(this.favorites[t].splice(i-1,1),this.favorites[t].length||delete this.favorites[t])}}class Z extends Q{constructor(){super();const t=document.querySelector('meta[property="business-section"]');this.context=t?`YIT-favorites-${t.content}`:"",this.className=".button-favorite",this.counters=this.getElements("numberOfFavorites"),this.favorites=JSON.parse(N.A.get(this.context)||"{}"),this.initialize()}initialize(){this.getButtons(),r()(document).on("resultsLoaded",t=>{this.getButtons()}),r()(document).on("click",".nSearch__favorites .button-remove",t=>{t.preventDefault();const e=r()(t.currentTarget),i=e.parents(".grid-view"),n=i.closest(".nSearch__favorites").find(".nSearch__no-results"),s=i.closest(".nSearch__favorites").siblings(".Form__SubDescription");this.removeFromFavorites(e.attr("favorite-group"),e.attr("favorite-id")),r()(`[favorite-id="${e.attr("favorite-id")}"]`).removeClass(this.onStateClass),e.parent().fadeOut(500,()=>{0==i.find(".grid-element:visible").length&&i.remove(),0===this.countFavorites()&&(n.show(),s.hide())}),this.updateCounters(),this.saveInCookies(e.parents(".nSearch"))}),r()(document).on("updateFavoritesCookie",t=>{if(t.searchElement){const e={};t.searchElement.find("[favorite-group]").each((t,i)=>{const n=r()(i).attr("favorite-group"),s=r()(i).attr("favorite-id");e[n]=e[n]?e[n].concat(s):[].concat(s)}),N.A.set(this.context,JSON.stringify(e),1095),this.favorites=e,this.updateCounters()}}),document.addEventListener("infoWindow.open",t=>{this.getButtons()}),document.addEventListener("infoWindow.close",t=>{const e=document.createElement("div");e.innerHTML=t.detail.infowindow;const i=e.getElementsByClassName(this.className.replace(".",""))[0];if(i){const t=i.getAttribute("favorite-id"),e=i.getAttribute("favorite-index");if(!this.buttons[t])return;this.buttons[t].elm.splice(e,1),0===this.buttons[t].elm.length&&delete this.buttons[t]}}),r()(document).on("overlay-opened",t=>{this.counters=document.querySelectorAll(".numberOfFavorites"),this.updateCounters()}),this.updateCounters()}saveInCookies(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.context.length&&(N.A.set(this.context,JSON.stringify(this.favorites),1095),this.updateCounters(),r()(document).trigger({type:"favoritesUpdate",skipSearchElement:t}))}countFavorites(){const t=Object.keys(this.favorites);let e=0;return t.map(t=>{e+=this.favorites[t].length}),e}updateCounters(){const t=this.countFavorites();this.counters&&this.counters.forEach(e=>{e.innerHTML=t})}}const tt=class{constructor(){this.menuEl=document.querySelector(".megamenu__menu"),this.menuEl&&(this.header=document.querySelector(".megamenu"),this.bodyEl=document.querySelector("body"),this.menuMain=this.menuEl.querySelector(".megamenu__menu__main")||this.menuEl.querySelector("nav"),this.menuNav=this.menuEl.querySelector("nav"),this.hamburger=document.querySelectorAll(".hamburger:not(.hamburger--close)"),this.scrollBtn=this.menuEl.querySelector(".btnTop"),this.scrollToLocalitiesBtn=this.menuEl.querySelector(".megamenu__menu__localities"),this.menuContainer=this.menuEl.querySelector(".megamenu__menu__container"),this.menuContainerDesktop=this.menuEl.querySelector(".megamenu__menu__content-container"),this.documentScrollTop=0,this.menuFocusTrap=z.K(this.menuEl,{initialFocus:this.menuEl.querySelector(".hamburger"),allowOutsideClick:()=>!0}),this.header&&this.init())}init(){this.boundToggle=this.toggleMenu.bind(this),this.boundCloseOnOutsideClick=this.closeOnOutsideClick.bind(this),this.initHamburger(this.hamburger),this.scrollBtn&&(new C({container:this.menuContainer,scrollBtn:this.scrollBtn,top:299}),new C({container:this.menuContainerDesktop,scrollBtn:this.scrollBtn,top:299})),this.scrollToLocalitiesBtn&&this.btnScrollLocalities(),document.documentElement.classList.contains("is-promopage")||document.documentElement.classList.contains("is-microsite")||this.menuEl.addEventListener("click",this.boundCloseOnOutsideClick),window.addEventListener("keydown",t=>{if(!t.defaultPrevented&&"true"!==this.menuEl.getAttribute("aria-hidden")){switch(t.key){case"Esc":case"Escape":this.boundToggle();break;default:return}t.preventDefault()}},!0)}initHamburger(t){t&&t.forEach(t=>{t.addEventListener("click",()=>{this.boundToggle()})})}closeOnOutsideClick(t){if("true"===this.menuEl.getAttribute("aria-hidden")||!this.menuMain)return;[this.menuMain,this.menuNav,this.scrollBtn,this.menuEl.querySelector(".megamenu__menu__geography"),this.menuEl.querySelector(".megamenu__tree--languages")].some(e=>e&&e.contains(t.target))||this.boundToggle()}toggleMenu(){this.hamburger.forEach(t=>t.classList.toggle("is-active")),this.header.classList.toggle("megamenu--opened"),"true"===this.menuEl.getAttribute("aria-hidden")?(this.documentScrollTop=window.pageYOffset||document.documentElement.scrollTop,this.bodyEl.classList.add("overflow-hidden2"),this.menuEl.setAttribute("aria-hidden","false"),this.hamburger.forEach(t=>t.setAttribute("aria-expanded","true")),this.menuFocusTrap.activate(),setTimeout(()=>
1this.checkMenuScrollNeeded(),0)):(this.bodyEl.classList.remove("overflow-hidden2"),window.scrollTo(0,this.documentScrollTop),this.menuEl.setAttribute("aria-hidden","true"),this.menuContainer.scrollTop=0,this.hamburger.forEach(t=>t.setAttribute("aria-expanded","false")),this.menuFocusTrap.deactivate(),this.removeScrollBottomClass())}checkMenuScrollNeeded(){[this.menuContainer,this.menuContainerDesktop].forEach(t=>{if(!t)return;t.scrollHeight<=t.clientHeight?t.classList.add("container-scrolled-bottom"):t.classList.remove("container-scrolled-bottom")})}removeScrollBottomClass(){[this.menuContainer,this.menuContainerDesktop].forEach(t=>{t&&t.classList.remove("container-scrolled-bottom")})}btnScrollLocalities(){this.scrollToLocalitiesBtn.addEventListener("click",t=>{t.preventDefault(),new h.A({container:this.menuContainer,element:"#geography",offset:50,hashchange:!0})})}},et={init(){if(window.self===window.top&&!window.isMicrosite&&r()(".hero-full").length){const t=window.matchMedia("(max-width: 991px)");t.addListener(this.heroResize),this.heroResize(t)}},heroResize(t){const e=t&&t.matches,i=r()(".hero-picture.hero-full, .hero-picture.hero-full .hero-container");if(!r()(".hero-picture").length)return;const n=r()(".hero-apartment").length?660:545;if(e)i.css("height","");else{const t=r()(window).height(),e=r()(".hero-picture").offset().top;t-e>n?i.height(t-e):i.css("height","")}}},it=()=>et.init(),nt=t=>!!t;const st=class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object;this._mainContainer=t.mainContainer||".inPageNavigation",this._navigationContainer=t.navigationContainer||".menuBar",this._sectionElement=t.sectionElement||"section[data-navigation]",this._startPosition=t.startPosition||300,this._animationTime=t.animationTime||300,this._sectionPrefix=t.sectionPrefix||"#section-",this._offset=t.offset||0,this._sections={},this._links={},this._scrolling=!1,this.mainContainer=r()(this._mainContainer),this.menuContainer=this.mainContainer.find(this._navigationContainer),this.indicator=[],this.initialize()}get numberOfSections(){return Object.keys(this._sections).length}getSectionId(t){return t.attr("id")}renderLink(t,e){return`<a href="#${this.getSectionId(t)}" title="${e.title}" class="scroll">${e.title}</a>`}renderNavigationItem(t,e){return`<li>${this.renderLink(t,e)}</li>`}renderMenu(t){const e=r()(this._sectionElement);if(e.length){let i="<ul>";e.each((t,e)=>{const n=r()(e),s=n.data("navigation");if(s.show&&s.title.length){const t=this.getSectionId(n);r()(`[id="${t}"]`).length&&(i+=this.renderNavigationItem(r()(e),s),this.pushSection(this.getSectionId(n),{}))}}),this.numberOfSections>0&&(i+="</ul>",this.menuContainer.append(i),this.mainContainer.addClass("active"),"function"==typeof t&&t())}}setIndicatorPosition(t){if(t.indicator.length){const e=r()(window).scrollTop()+t.mainContainer.outerHeight()+t._offset,i=30;t.indicator.css({"background-position":"0 0","background-size":"0 100%"});for(const n in t._sections)t._links[n]&&(t._sections[n].in-i<e||e>=t._sections[n].in-i&&t._sections[n].in-i+t._sections[n].out>e)&&t.indicator.css({"background-position":`${t._links[n].left}px 0`,"background-size":`${t._links[n].width}px 100%`});t._scrolling=!1}}pushSection(t,e){nt(this._sections[t])?r().extend(!0,this._sections[t],e):this._sections[t]=e}getSectionInOut(t){const{top:e}=t.offset();return{in:e,out:e+t.outerHeight()}}debounce(t){t._scrolling||(t._scrolling=!0,t.setIndicatorPosition(t))}updateSectionProperties(t){const e=Object.keys(this._sections);let i=e.indexOf(t);if(-1==i&&(i=0),i>=0)for(;i<e.length;i++){const t=e[i],n=r()(`[id="${e[i]}"]`);this.pushSection(t,this.getSectionInOut(n))}}linksPositions(){const t=this.mainContainer.find("a.scroll");let e=0,i="";this._links={},t.length&&(t.each((t,n)=>{const s=r()(n),o=s.attr("href").replace("#",""),a=s.parent("li"),l=s.get(0).offsetWidth;let{left:c}=a.position();if(i.length){const t=this._links[i];c=t.left+t.width+parseFloat(a.css("margin-left"))}e+=l,this._links[o]={left:c,width:l},i=o}),this.indicator=this.mainContainer.find("ul"),this.indicator.css("width",e))}showMenu(t){-1===document.body.className.indexOf("overflow-hidden")&&(r()(window).scrollTop()>=t._startPosition?t.mainContainer.addClass("fixed").find("ul").css("opacity","1"):t.mainContainer.removeClass("fixed"))}initialize(){const t=this;this.renderMenu(()=>{this.mainContainer.find("a").attr("tabindex","-1"),this.updateSectionProperties(),this.linksPositions(),this.setIndicatorPosition(this),this.showMenu(this),window.addEventListener("load",()=>{document.fonts?requestAnimationFrame(()=>{document.fonts.ready.then(()=>{this.mainContainer.trigger("recalculateInPageNavLinks")})}):setTimeout(()=>{this.mainContainer.trigger("recalculateInPageNavLinks")},2e3)}),r()(window).on("scroll",l()(()=>{t.debounce(t),t.showMenu(t)},200));const e=window.navigator.userAgent;if(e.indexOf("MSIE ")>0||e.indexOf("Trident/")>0||e.indexOf("Edge/")>0){const e=t.indicator.css("background-image").replace("width='100%' height='100%'","width='1' height='60'").replace("svg xmlns","svg width='1px' height='60px' xmlns");this.indicator.css("background-image",e)}this.mainContainer.on("recalculateInPageNavLinks",()=>{this.linksPositions(),this.setIndicatorPosition(this)});window.matchMedia("(min-width: 992px)").addListener(t=>{t.matches&&this.mainContainer.trigger("recalculateInPageNavLinks")}),r()(document).on("collapse-toggle menu-trigger resultsLoaded tabChanged",i=>{let n=i.attr||0;nt(n.toggleElement)&&(n=n.toggleElement),e.indexOf("MSIE ")>0||e.indexOf("Trident/")>0?setTimeout(()=>{t.updateSectionProperties(n),t.setIndicatorPosition(t)},300):r()(document).bind("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(e){t.updateSectionProperties(n),t.setIndicatorPosition(t),r()(this).off("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend")})})})}},ot=()=>{new st};var rt=i(7721),at=i(3729),lt=i.n(at);class ct{constructor(t){this.currencyFormat=new Intl.NumberFormat(window.pageLang,{style:"currency",currency:"EUR"}),this.currencyFormatNoFraction=new Intl.NumberFormat(window.pageLang,{style:"currency",currency:"EUR",minimumFractionDigits:0}),this.numberParser=new dt(window.pageLang),this.moveSectionToHero(),this.createSlider()}createSlider(){const t=document.querySelector(".partial-ownership__slider"),e=[55,60,70,80];var i={to:function(t){return e[Math.round(t)]},from:function(t){return e.indexOf(Number(t))}};lt().create(t,{start:55,range:{min:0,max:e.length-1},step:1,tooltips:!0,connect:[!0,!1],format:i,pips:{mode:"steps",format:i}}),t.noUiSlider.on("update",(i,n)=>{this.recalculatePrices(i[n]),t.querySelectorAll(".noUi-marker-large, .noUi-marker-sub").forEach(t=>{t.classList.remove("current-pip","active-pip")});const s=Math.round(i[n]);t.querySelectorAll(".noUi-marker-large, .noUi-marker-sub").forEach((t,i)=>{e[i]<=s&&t.classList.add("active-pip")}),setTimeout(()=>{const s=Math.round(i[n]);t.querySelectorAll(".noUi-marker-large, .noUi-marker-sub").forEach((t,i)=>{t.classList.remove("current-pip"),e[i]===s&&t.classList.add("current-pip")})},250)});const n=t.querySelectorAll(".noUi-value");function s(){const i=Number(this.getAttribute("data-value"));t.noUiSlider.get()!==e[i]&&t.noUiSlider.set(e[i])}for(let r=0;r<n.length;
1r++)n[r].textContent+=" %",n[r].addEventListener("click",s);const o=t.querySelectorAll(".noUi-marker-large, .noUi-marker-sub");for(let r=0;r<n.length;r++)o[r].dataset.value=r,o[r].addEventListener("click",s)}recalculatePrices(t){document.querySelectorAll("[data-original-price]").forEach(e=>{if(e.querySelector(".static-price"))return;const i=e.classList.contains("partial-ownership-hero__text")?55:t,n=this.numberParser.parse(e.dataset.originalPrice.replace(/<\/?[^>]+(>|$)/g,""));if(isNaN(n))return;let s;const o=e.querySelector(".rent-price");s=o?n*this.roundToTwoDecimals(1-i/100):n*i/100;let r=Math.floor(s)===s?this.currencyFormatNoFraction.format(s):this.currencyFormat.format(s);"en"===window.pageLang&&(r=r.replace("â¬","")+" â¬"),o?e.querySelector(".calculated-price").innerHTML=`<span class="rent-price">${r}</span>`:e.querySelector(".calculated-price").textContent=r})}moveSectionToHero(){const t=document.querySelector(".partial-ownership-hero");if(t){const e=document.querySelector(".hero-project__facts");e&&(e.classList.add("hero-project__facts--partial-ownership"),e.parentNode.insertBefore(t,e.nextSibling),t.classList.remove("hide"))}}roundToTwoDecimals(t){return Math.round(100*t)/100}}class dt{constructor(t){const e=new Intl.NumberFormat(t).formatToParts(12345.6),i=[...new Intl.NumberFormat(t,{useGrouping:!1}).format(9876543210)].reverse(),n=new Map(i.map((t,e)=>[t,e]));this._group=new RegExp(`[${e.find(t=>"group"===t.type).value}]`,"g"),this._decimal=new RegExp(`[${e.find(t=>"decimal"===t.type).value}]`),this._numeral=new RegExp(`[${i.join("")}]`,"g"),this._index=t=>n.get(t)}parse(t){return(t=t.trim().replace(this._group,"").replace(this._decimal,".").replace(this._numeral,this._index))?+t:NaN}}
1var ht=i(5795),ut=i(5519),pt=i(4743),ft=i(9825),gt=i(6288),mt=i(8979),vt=i(6300),bt=i(469),wt=i(5191),yt=i(8315),_t=i(4236),St=i(8865);const Et=function(){if(!document.querySelector(".project-category-select"))return;const t=document.querySelector("main"),e=document.querySelector(".cw");t.querySelectorAll(".hint").forEach(t=>{t.innerHTML='<i data-lucide="info" class="lucide-icon16"></i>'}),t.querySelectorAll(".favorite-heart").forEach(t=>{t.innerHTML='<i data-lucide="heart"></i>'}),t.querySelectorAll(".overlay__close").forEach(t=>{t.innerHTML='<i data-lucide="x"></i>'}),t.querySelectorAll(".fa-share").forEach(t=>{t.classList.remove("fa"),t.dataset.lucide="share-2"}),t.querySelectorAll(".fa-phone").forEach(t=>{t.classList.remove("fa"),t.dataset.lucide="phone"}),t.querySelectorAll(".fa-envelope").forEach(t=>{t.closest(".social-icons__list")||(t.classList.remove("fa"),t.dataset.lucide="mail")}),e&&(e.querySelector(".cw__inner").classList.add("select-background-dark"),e.querySelectorAll(".cw__btn__icon .fa-comment").forEach(t=>{t.classList.remove("fa"),t.dataset.lucide="message-circle"}),e.querySelectorAll(".cw__btn__icon .fa-phone").forEach(t=>{t.classList.remove("fa"),t.dataset.lucide="phone"})),(0,K.Tzs)({icons:{Info:ht.A,Heart:G.A,Share2:ut.A,MapPin:pt.A,CircleCheckBig:ft.A,Proportions:gt.A,House:mt.A,Building2:vt.A,RulerDimensionLine:bt.A,X:wt.A,Phone:yt.A,Mail:_t.A,MessageCircle:St.A}});const i=document.querySelector(".hero__arrow");i&&i.addEventListener("click",()=>{const t=document.querySelector(".breadcrumbs-bar");t&&t.scrollIntoView({behavior:"smooth",block:"start"})});const n=t.querySelectorAll(".image-block img[data-src]");d.A.forceImages(n)}();class Ct extends B.A{constructor(){super(),this.loadedState="is-loaded",this.onStateClass="disabled",this.buttons={},this.reservations=[]}getButtons(t){const e=document.querySelectorAll(`${this.className}:not(.${this.loadedState})`);[].forEach.call(e,t=>{const e=t.getAttribute("data-product-id"),i=this.isInReservations(e);this.buttons[e]?this.buttons[e].elm.push(t):this.buttons[e]={id:e,state:i,elm:[].concat(t)},i&&this.addClass(t,this.onStateClass),this.addClass(t,this.loadedState)})}changeReservationState(t,e){this.buttons[t]&&!this.buttons[t].state&&(this.addClass(this.buttons[t].elm,this.onStateClass),this.getCookie(),this.addToReserved(t),"function"==typeof e&&e.call(this),this.buttons[t].state=!this.buttons[t].state)}isInReservations(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.reservations){const i=this.reservations.indexOf(t);return i>-1&&(!e||i+1)}return!1}addToReserved(t){this.isInReservations(t)||(this.reservations=this.reservations?this.reservations.concat(t):[].concat(t))}getCookie(){this.reservations=JSON.parse(N.A.get(this.context)||"[]")}}class xt extends Ct{constructor(){super();const t=document.querySelector('meta[property="business-section"]');this.context=t?`YIT-reservations-${t.content}`:"",this.className=".button-reserve",this.getCookie(),this.initialize()}initialize(){this.getButtons(()=>this.saveInCookies()),r()(document).on("resultsLoaded",t=>{this.getButtons(()=>this.saveInCookies())}),r()(document).on("reservationFormSent",t=>{this.changeReservationState(t.productId,()=>this.saveInCookies())}),r()(document).on("overlay-opened",t=>{if(void 0!==t.attr.params.productInfoOne){const i=r()(".overlay").find("[data-product-id]");if(i.length)try{const{params:e}=t.attr,n=JSON.parse(i.val());n.ProductId=e.productId,n.ProductType=80;let s=`${window.location.protocol}//${window.location.hostname}${window.location.pathname}${window.location.search}`;if(e.source){const t=window.location.search?"&":"?";new URLSearchParams(window.location.search).has("utm_source")||(s+=`${t}utm_source=${e.source}`)}if(n.PageUrl=s,void 0!==e.token&&null!==e.token&&(n.Token=e.token),i.attr("data-product-id",e.productId),i.val(JSON.stringify(n)),e.productInfoOne||e.productInfoTwo){const t=r()(".overlay").find(".Form__CurrentItemInfo");t.find(".font-bold").remove(),e.productInfoOne&&t.append(`<div class="center font-bold tt-uppercase">${e.productInfoOne}</div>`),e.productInfoTwo&&t.append(`<div class="center font-bold tt-uppercase">${e.productInfoTwo}</div>`)}e.partialOwnership&&r()(".overlay").find(".Form__Element--partial-ownership").removeClass("hidden")}catch(e){}}})}saveInCookies(){this.context.length&&N.A.set(this.context,JSON.stringify(this.reservations),1095)}}function kt(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;s(q,"",t,!1),s(M,".tabs",t,!1),s(j,"",t,!0),s(W,".cw",t,!1),s(J,"#disclaimer-popup",t,!1),s(Z,"",t,!1),s(tt,".megamenu__menu",t,!0),s(it,".hero-full",t,!0),s(ot,".inPageNavigation",t,!0),s(rt.Overlay,".overlay",t,!1),s(ct,".partial-ownership",t,!1),s(Et,".project-category-select",t,!1),s(xt,"",t,!1),t.querySelector(".deeds")&&i.e(901).then(i.bind(i,1538)).then(e=>{const i=e.default;s(i,".deeds",t,!0)}),t.querySelector(".add-to-calendar")&&i.e(705).then(i.bind(i,4185)).then(e=>{const i=e.default;s(i,".add-to-calendar",t,!0)}),t.querySelector(".promopage main .block")&&i.e(974).then(i.bind(i,4213)).then(e=>{const i=e.default;s(i,".promopage main .block",t,!1)}),t.querySelector(".articles")&&Promise.all([i.e(502),i.e(56)]).then(i.bind(i,1021)).then(e=>{const i=e.default;s(i,".articles",t,!1)}),t.querySelector(".b2b")&&i.e(823).then(i.bind(i,8388)).then(e=>{const i=e.default;s(i,".b2b",t,!1)}),t.querySelector("[data-carousel]")&&i.e(897).then(i.bind(i,9504)).then(e=>{const i=e.default;s(i,"[data-carousel]",t,!1)}),t.querySelector(".contactsearch")&&Promise.all([i.e(502),i.e(97)]).then(i.bind(i,6309)).then(e=>{const i=e.default;s(i,".contactsearch",t,!1)}),t.querySelector(".gallery-slider")&&Promise.all([i.e(502),i.e(319)]).then(i.bind(i,1316)).then(e=>{const i=e.default;s(i,".gallery-slider",t,!1)}),t.querySelector(".hitas")&&i.e(410).then(i.bind(i,5986)).then(e=>{const i=e.default;s(i,".hitas",t,!0)}),t.querySelector(".gallery-overlay,.deeds")&&i.e(636).then(i.bind(i,2198)).then(e=>{const i=e.default;s(i,".gallery-overlay,.deeds",t,!1)}),t.querySelector(".media-gallery-tiles")&&Promise.all([i.e(502),i.e(668)]).then(i.bind(i,3844)).then(e=>{const i=e.default;s(i,".media-gallery-tiles",t,!1)}),t.querySelector(".mediaroom, .sitesearch")&&Promise.all([i.e(502),i.e(924)]).then(i.bind(i,4010)).then(e=>{const i=e.default;s(i,".mediaroom, .sitesearch",t,!1)}),t.querySelector(".newsResults")&&Promise.all([i.e(502),i.e(767)]).then(i.bind(i,1043)).then(e=>{const i=e.default;s(i,".newsResults",t,!1)}),t.querySelector(".paywall")&&i.e(3).then(i.bind(i,3477)).then(e=>{const i=e.default;s(i,".paywall",t,!1)}),t.querySelector(".table-swipe")&&Promise.all([i.e(770),i.e(308)]).then(i.bind(i,737)).then(e=>{const i=e.default;s(i,".table-swipe",t,!1)}),t.querySelector(".timeline")&&Promise.all([i.e(502),i.e(122)]).then(i.bind(i,9574)).then(e=>{const i=e.default;s(i,".timeline",t,!1)}),t.querySelector(".Form")&&Promise.all([i.e(502),i.e(132)]).then(i.bind(i,4294)).then(e=>{const i=e.default;s(i,".Form",t,!0)})}},285:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});
1var n=i(2404),s=i.n(n),o=i(5185);class r{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{context:"_yit.noname",useEvents:!1,perSession:!1};this.context=t.context||"_yit.noname",this.config=t,this.localStorage=void 0!==window&&"localStorage"in window?window.localStorage:void 0,this.storage=this.getLocalStorage(),t.perSession&&!o.A.get(this.context)&&(this.localStorage.removeItem(this.context),o.A.set(this.context,1)),this.config.useEvents&&void 0!==this.localStorage&&window.addEventListener("storage",t=>{if(t.key===this.context){const e=t.newValue||"{}",i=JSON.parse(e);Object.keys(i).forEach(t=>this.set(t,i[t]))}})}dispatch(t,e){const i=new CustomEvent(`${this.context}.changed`,{detail:{id:t,data:e},bubbles:!0,cancelable:!0});document.dispatchEvent(i)}get(t){return t in this.storage?[].concat(this.storage[t]):[]}getLocalStorage(){if(void 0!==this.localStorage){const t=this.localStorage.getItem(this.context)||"{}";return JSON.parse(t)}return{}}saveLocalStorage(){if(void 0!==this.localStorage)try{this.localStorage.setItem(this.context,JSON.stringify(this.storage))}catch(t){}}hasChanged(t,e){this.saveLocalStorage(),this.config.useEvents&&this.dispatch(t,e)}set(t,e){const i=e||this.storage[t]||[];return t in this.storage&&s()(this.storage[t],i)||(this.storage[t]=i,this.hasChanged(t,[].concat(this.storage[t]))),this}}},718:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});class n{static observe(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.instance||(this.instance=new n),t&&this.instance.observe(t,e,i)}static get supportsIntersectionObserver(){return"IntersectionObserver"in window}constructor(){const t={rootMargin:"250px 0px",threshold:.01};this.onIntersection=this.onIntersection.bind(this),n.supportsIntersectionObserver&&(this.observer=new IntersectionObserver(this.onIntersection,t))}observe(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&this.unobserve(t);const i=t.querySelectorAll(".video-js:not(.observed)");!e&&n.supportsIntersectionObserver?i.forEach(t=>{t.classList.add("observed"),this.observer.observe(t)}):i.forEach(t=>{t.classList.add("observed"),this.loadVideo(t)})}unobserve(t){const e=t.querySelectorAll(".video-js.observed");n.supportsIntersectionObserver?e.forEach(t=>{t.classList.remove("observed"),this.observer.unobserve(t)}):e.forEach(t=>{t.classList.remove("observed")})}onIntersection(t,e){t.forEach(t=>{t.isIntersecting&&(this.loadVideo(t.target),e.unobserve(t.target))})}videoMediaQueryFilter(t){let e=t;if(e){let t,i=!1;[...e.sources].forEach(e=>{const n=e.media;n&&(i=!0,window.matchMedia(n).matches&&(t=e))}),i&&void 0!==t?(e.sources=[],e.sources[0]=t):i&&(e.sources=void 0)}return e}loadVideo(t){t.id&&!t.playerId&&Promise.all([i.e(502),i.e(760),i.e(180)]).then(i.bind(i,2019)).then(e=>{const i=(new e.default).instance();let n={};try{n=JSON.parse(t.getAttribute("data-setup-vjs"))}catch(s){}n=this.videoMediaQueryFilter(n),null!=n.sources&&i(t,n).ready(function(){const t=this;t.autoplay()&&!t.paused()&&t.hasClass("vjs-paused")?t.play():t.autoplay()&&t.hasClass("vjs-youtube-mobile")&&setTimeout(()=>{t.play()},1e3)})})}}const s=n},1046:()=>{!function(t){"use strict";var e=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};e.VERSION="3.3.7",e.TRANSITION_DURATION=150,e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,n){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var s=this.options.trigger.split(" "),o=s.length;o--;){var r=s[o];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",l="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,n){i[t]!=n&&(e[t]=n)}),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focu
1s":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)}},e.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)}},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!n)return;var s=this,o=this.tip(),r=this.getUID(this.type);this.setContent(),o.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&o.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(a);c&&(a=a.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var d=this.getPosition(),h=o[0].offsetWidth,u=o[0].offsetHeight;if(c){var p=a,f=this.getPosition(this.$viewport);a="bottom"==a&&d.bottom+u>f.bottom?"top":"top"==a&&d.top-u<f.top?"bottom":"right"==a&&d.right+h>f.width?"left":"left"==a&&d.left-h<f.left?"right":a,o.removeClass(p).addClass(a)}var g=this.getCalculatedOffset(a,d,h,u);this.applyPlacement(g,a);var m=function(){var t=s.hoverState;s.$element.trigger("shown.bs."+s.type),s.hoverState=null,"out"==t&&s.leave(s)};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",m).emulateTransitionEnd(e.TRANSITION_DURATION):m()}},e.prototype.applyPlacement=function(e,i){var n=this.tip(),s=n[0].offsetWidth,o=n[0].offsetHeight,r=parseInt(n.css("margin-top"),10),a=parseInt(n.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(a)&&(a=0),e.top+=r,e.left+=a,t.offset.setOffset(n[0],t.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),n.addClass("in");var l=n[0].offsetWidth,c=n[0].offsetHeight;"top"==i&&c!=o&&(e.top=e.top+o-c);var d=this.getViewportAdjustedDelta(i,e,l,c);d.left?e.left+=d.left:e.top+=d.top;var h=/top|bottom/.test(i),u=h?2*d.left-s+l:2*d.top-o+c,p=h?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(u,n[0][p],h)},e.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(i){var n=this,s=t(this.$tip),o=t.Event("hide.bs."+this.type);function r(){"in"!=n.hoverState&&s.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),i&&i()}if(this.$element.trigger(o),!o.isDefaultPrevented())return s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",r).emulateTransitionEnd(e.TRANSITION_DURATION):r(),this.hoverState=null,this},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],n="BODY"==i.tagName,s=i.getBoundingClientRect();null==s.width&&(s=t.extend({},s,{width:s.right-s.left,height:s.bottom-s.top}));var o=window.SVGElement&&i instanceof window.SVGElement,r=n?{top:0,left:0}:o?null:e.offset(),a={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},l=n?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},s,a,l,r)}
1,e.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},e.prototype.getViewportAdjustedDelta=function(t,e,i,n){var s={top:0,left:0};if(!this.$viewport)return s;var o=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-o-r.scroll,l=e.top+o-r.scroll+n;a<r.top?s.top=r.top-a:l>r.top+r.height&&(s.top=r.top+r.height-l)}else{var c=e.left-o,d=e.left+o+i;c<r.left?s.left=r.left-c:d>r.right&&(s.left=r.left+r.width-d)}return s},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var i=t.fn.tooltip;t.fn.tooltip=function(i){return this.each(function(){var n=t(this),s=n.data("bs.tooltip"),o="object"==typeof i&&i;!s&&/destroy|hide/.test(i)||(s||n.data("bs.tooltip",s=new e(this,o)),"string"==typeof i&&s[i]())})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery)},1669:t=>{"use strict";t.exports=jQuery},2477:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});const n=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=!1;return window.PointerEvent&&"maxTouchPoints"in navigator?navigator.maxTouchPoints>0&&(e=!0):(window.matchMedia&&window.matchMedia("(any-pointer:coarse)").matches||window.TouchEvent||"ontouchstart"in window)&&(e=!0),t&&document.documentElement.classList.add(e?"touchevents":"no-touchevents"),e}},2537:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});const n=class{constructor(t){this.collapseButtons=t,this.firstLvlCollapseButtons=[],t.forEach(t=>{if(t.classList.contains("initialized"))return;t.classList.add("initialized");const e=t.nextElementSibling;"true"===t.getAttribute("aria-expanded")&&this.toggleCollapse(t,!0),t.classList.contains("collapseButton--first-lvl")&&this.firstLvlCollapseButtons.push(t),t.addEventListener("click",this.onClick.bind(this)),e.addEventListener("transitionend",t=>{const e=t.currentTarget;"true"===e.getAttribute("aria-hidden")&&(e.style.display="none")})}),this.firstLvlCollapseButtons.forEach(t=>{if("true"===t.getAttribute("aria-expanded")){this.toggleCollapse(t);t.nextElementSibling.querySelector(".active")&&this.toggleCollapse(t)}})}onClick(t){const e=t.currentTarget;this.toggleCollapse(e),e.hasAttribute("data-blurclose")&&("true"===e.getAttribute("aria-expanded")?(this.clickOutsideListener=this.collapseOnClickOutside.bind(this),document.addEventListener("click",this.clickOutsideListener,!0)):document.removeEventListener("click",this.clickOutsideListener,!0))}toggleCollapse(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const i=t.nextElementSibling;if("false"===t.getAttribute("aria-expanded")||e){const e=i.querySelectorAll('ul[aria-hidden="true"]'),n=i.querySelectorAll('[aria-expanded="false"]');let s;if(e)for(s=0;s<e.length;s++)e[s].setAttribute("aria-hidden","false"),e[s].style.display="block";if(n)for(s=0;s<n.length;s++)n[s].setAttribute("aria-expanded","true");if(i.setAttribute("aria-hidden","false"),i.style.display="block",t.classList.add("forceshow"),i.style.maxHeight=`${i.scrollHeight}px`,setTimeout(()=>{i.style.maxHeight="9999px"},300),t.classList.remove("forceshow"),e)for(s=0;s<e.length;s++)e[s].setAttribute("aria-hidden","true"),e[s].style.display="none";if(n)for(s=0;s<n.length;
1s++)n[s].setAttribute("aria-expanded","false");t.setAttribute("aria-expanded","true")}else i.style.maxHeight=null,i.setAttribute("aria-hidden","true"),t.setAttribute("aria-expanded","false")}collapseOnClickOutside(t){this.hasCollapsed=!1,this.collapseButtons.forEach(e=>{!e.hasAttribute("data-blurclose")||"true"!==e.getAttribute("aria-expanded")||e.contains(t.target)||e.nextElementSibling.contains(t.target)||(this.toggleCollapse(e),this.hasCollapsed=!0)}),this.hasCollapsed&&document.removeEventListener("click",this.clickOutsideListener,!0)}}},3221:(t,e,i)=>{"use strict";var n=i(278);window.STORYBOOK_ENV?setTimeout(()=>{(0,n.A)(document)},200):(0,n.A)(document)},3399:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});class n{constructor(t){if(this.config=n.mergeSettings(t),this.selector="string"==typeof this.config.selector?document.querySelector(this.config.selector):this.config.selector,null===this.selector)throw new Error("Something wrong with your selector ð");this.resolveSlidesNumber(),this.selector.classList.add("slider--building"),this.selectorWidth=this.selector.offsetWidth,this.selector.classList.remove("slider--building"),this.innerElements=[].slice.call(this.selector.children),this.currentSlide=this.config.loop?this.config.startIndex%this.innerElements.length:Math.max(0,Math.min(this.config.startIndex,this.innerElements.length-this.perPage)),this.transformProperty=n.webkitOrNot(),this.carouselFits=this.perPage>=this.innerElements.length,this.carouselFits&&this.selector.classList.add("slider--fits"),["resizeHandler","touchstartHandler","touchendHandler","touchmoveHandler","mousedownHandler","mouseupHandler","mouseleaveHandler","mousemoveHandler","clickHandler"].forEach(t=>{this[t]=this[t].bind(this)}),this.init()}static mergeSettings(t){const e={selector:".siema",duration:200,easing:"ease-out",perPage:1,startIndex:0,draggable:!0,multipleDrag:!0,threshold:20,loop:!1,rtl:!1,onInit:()=>{},onChange:()=>{}},i=t;for(const n in i)e[n]=i[n];return e}static webkitOrNot(){return"string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform"}attachEvents(){window.addEventListener("optimizedResize",this.resizeHandler),this.config.draggable&&(this.pointerDown=!1,this.drag={startX:0,endX:0,startY:0,letItGo:null,preventClick:!1},this.selector.addEventListener("touchstart",this.touchstartHandler,!!window.passiveSupported&&{passive:!0}),this.selector.addEventListener("touchend",this.touchendHandler),this.selector.addEventListener("touchmove",this.touchmoveHandler,!!window.passiveSupported&&{passive:!0}),this.selector.addEventListener("mousedown",this.mousedownHandler),this.selector.addEventListener("mouseup",this.mouseupHandler),this.selector.addEventListener("mouseleave",this.mouseleaveHandler),this.selector.addEventListener("mousemove",this.mousemoveHandler),this.selector.addEventListener("click",this.clickHandler))}detachEvents(){window.removeEventListener("optimizedResize",this.resizeHandler),this.selector.removeEventListener("touchstart",this.touchstartHandler),this.selector.removeEventListener("touchend",this.touchendHandler),this.selector.removeEventListener("touchmove",this.touchmoveHandler),this.selector.removeEventListener("mousedown",this.mousedownHandler),this.selector.removeEventListener("mouseup",this.mouseupHandler),this.selector.removeEventListener("mouseleave",this.mouseleaveHandler),this.selector.removeEventListener("mousemove",this.mousemoveHandler),this.selector.removeEventListener("click",this.clickHandler)}init(){this.attachEvents(),this.selector.style.overflow="hidden",this.selector.style.direction=this.config.rtl?"rtl":"ltr",this.buildSliderFrame(),this.config.onInit.call(this)}buildSliderFrame(){const t=this.selectorWidth/this.perPage,e=this.config.loop?this.innerElements.length+2*this.perPage:this.innerElements.length;this.sliderFrame=document.createElement("div"),this.sliderFrame.style.width=t*e+"px",this.enableTransition(),this.config.draggable&&(this.selector.style.cursor="-webkit-grab");const i=document.createDocumentFragment();if(this.config.loop)for(let n=this.innerElements.length-this.perPage;n<this.innerElements.length;n++){const t=this.buildSliderFrameItem(this.innerElements[n].cloneNode(!0));i.appendChild(t)}for(let n=0;n<this.innerElements.length;n++){const t=this.buildSliderFrameItem(this.innerElements[n]);i.appendChild(t)}if(this.config.loop)for(let n=0;n<this.perPage;n++){const t=this.buildSliderFrameItem(this.innerElements[n].cloneNode(!0));i.appendChild(t)}this.sliderFrame.appendChild(i),this.selector.innerHTML="",this.selector.appendChild(this.sliderFrame),this.slideToCurrent()}buildSliderFrameItem(t){const e=document.createElement("div");return e.style.cssFloat=this.config.rtl?"right":"left",e.style.float=this.config.rtl?"right":"left",e.style.width=(this.config.loop?100/(this.innerElements.length+2*this.perPage):100/this.innerElements.length)+"%",e.appendChild(t),e}resolveSlidesNumber(){if("number"==typeof this.config.perPage)this.perPage=this.config.perPage;else if("object"==typeof this.config.perPage){this.perPage=1;for(const t in this.config.perPage)window.innerWidth>=t&&(this.perPage=this.config.perPage[t])}}prev(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1?arguments[1]:void 0;if(this.innerElements.length<=this.perPage)return;const i=this.currentSlide;if(this.config.loop){if(this.currentSlide-t<0){this.disableTransition();const e=this.currentSlide+this.innerElements.length,i=e+this.perPage,n=(this.config.rtl?1:-1)*i*(this.selectorWidth/this.perPage),s=this.config.draggable?this.drag.endX-this.drag.startX:0;this.sliderFrame.style[this.transformProperty]=`translate3d(${n+s}px, 0, 0)`,this.currentSlide=e-t}else this.currentSlide=this.currentSlide-t}else this.currentSlide=Math.max(this.currentSlide-t,0);i!==this.currentSlide&&(this.slideToCurrent(this.config.loop),this.config.onChange.call(this),e&&e.call(this))}next(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1?arguments[1]:void 0;if(this.innerElements.length<=this.perPage)return;const i=this.currentSlide;if(this.config.loop){if(this.currentSlide+t>this.innerElements.length-this.perPage){this.disableTransition();const e=this.currentSlide-this.innerElements.length,i=e+this.perPage,n=(this.config.rtl?1:-1)*i*(this.selectorWidth/this.perPage),s=this.config.draggable?this.drag.endX-this.drag.startX:0;this.sliderFrame.style[this.transformProperty]=`translate3d(${n+s}px, 0, 0)`,this.currentSlide=e+t}else this.currentSlide=this.currentSlide+t}else this.currentSlide=Math.min(this.currentSlide+t,this.innerElements.length-this.perPage);i!==this.currentSlide&&(this.slideToCurrent(this.config.loop),this.config.onChange.call(this),e&&e.call(this))}disableTransition(){this.sliderFrame.style.webkitTransition=`all 0ms ${this.config.easing}`,this.sliderFrame.style.transition=`all 0ms ${this.config.easing}`}enableTransition(){this.sliderFrame.style.webkitTransition=`all ${this.config.duration}ms ${this.config.easing}`,this.sliderFrame.style.transition=`all ${this.config.duration}ms ${this.config.easing}`}goTo(t,e){if(this.innerElements.length<=this.perPage)return;const i=this.currentSlide;this.currentSlide=this.config.loop?t%this.innerElements.length:Math.min(Math.max(t,0),this.innerElements.length-this.perPage),i!==this.currentSlide&&(this.slideToCurrent(),this.config.onChange.call(this),e&&e.call(this))}slideToCurrent(t){const e=this.config.loop?this.currentSlide+this.perPage:this.currentSlide,i=(this.config.rtl?1:-1)*e*(this.selectorWidth/this.perPage);t?requestAnimationFrame(()=>{requestAnimationFrame(()=>{this.enableTransition(),this.sliderFrame.style[this.transformProperty]=`translate3d(${i}px, 0, 0)`})}):this.sliderFrame.style[this.transformProperty]=`translate3d(${i}px, 0, 0)`}updateAfterDrag(){const t=(this.config.rtl?-1:1)*(this.drag.endX-this.drag.startX),e=Math.abs(t),i=this.config.multipleDrag?Math.ceil(e/(this.selectorWidth/this.perPage)):1,n=t>0&&this.currentSlide-i<0,s=t<0&&this.currentSlide+i>this.innerElements.length-this.perPage;t>0&&e>this.config.threshold&&this.innerElements.length>this.perPage?this.prev(i):t<0&&e>this.config.threshold&&this.innerElements.length>this.perPage&&this.next(i),this.slideToCurrent(n||s)}resizeHandler(){this.resolveSlidesNumber(),this.currentSlide+this.perPage>this.innerElements.length&&(this.currentSlide=this.innerElements.length<=this.perPage?0:this.innerElements.length-this.perPage),this.selector.classList.add("slider--building"),this.selectorWidth=this.selector.offsetWidth,this.selector.classList.remove("slider--building"),this.buildSliderFrame(),this.carouselFits=this.perPage>=this.innerElements.length,this.carouselFits?this.selector.classList.add("slider--fits"):this.selector.classList.remove("slider--fits")}clearDrag(){this.drag={startX:0,endX:0,startY:0,letItGo:null,preventClick:this.drag.preventClick}
1}touchstartHandler(t){if(this.carouselFits)return;-1!==["TEXTAREA","OPTION","INPUT","SELECT"].indexOf(t.target.nodeName)||(t.stopPropagation(),this.pointerDown=!0,this.drag.startX=t.touches[0].pageX,this.drag.startY=t.touches[0].pageY)}touchendHandler(t){this.carouselFits||(t.stopPropagation(),this.pointerDown=!1,this.enableTransition(),this.drag.endX&&this.updateAfterDrag(),this.clearDrag())}touchmoveHandler(t){if(!this.carouselFits&&(t.stopPropagation(),null===this.drag.letItGo&&(this.drag.letItGo=Math.abs(this.drag.startY-t.touches[0].pageY)<Math.abs(this.drag.startX-t.touches[0].pageX)),this.pointerDown&&this.drag.letItGo)){t.preventDefault(),this.drag.endX=t.touches[0].pageX,this.sliderFrame.style.webkitTransition=`all 0ms ${this.config.easing}`,this.sliderFrame.style.transition=`all 0ms ${this.config.easing}`;const e=(this.config.loop?this.currentSlide+this.perPage:this.currentSlide)*(this.selectorWidth/this.perPage),i=this.drag.endX-this.drag.startX,n=this.config.rtl?e+i:e-i;this.sliderFrame.style[this.transformProperty]=`translate3d(${(this.config.rtl?1:-1)*n}px, 0, 0)`}}mousedownHandler(t){if(this.carouselFits)return;-1!==["TEXTAREA","OPTION","INPUT","SELECT"].indexOf(t.target.nodeName)||(t.preventDefault(),t.stopPropagation(),this.pointerDown=!0,this.drag.startX=t.pageX)}mouseupHandler(t){this.carouselFits||(t.stopPropagation(),this.pointerDown=!1,this.selector.style.cursor="-webkit-grab",this.enableTransition(),this.drag.endX>0&&this.updateAfterDrag(),this.clearDrag())}mousemoveHandler(t){if(!this.carouselFits&&(t.preventDefault(),this.pointerDown)){"A"===t.target.nodeName&&(this.drag.preventClick=!0),this.drag.endX=t.pageX,this.selector.style.cursor="-webkit-grabbing",this.sliderFrame.style.webkitTransition=`all 0ms ${this.config.easing}`,this.sliderFrame.style.transition=`all 0ms ${this.config.easing}`;const e=(this.config.loop?this.currentSlide+this.perPage:this.currentSlide)*(this.selectorWidth/this.perPage),i=this.drag.endX-this.drag.startX,n=this.config.rtl?e+i:e-i;this.sliderFrame.style[this.transformProperty]=`translate3d(${(this.config.rtl?1:-1)*n}px, 0, 0)`}}mouseleaveHandler(t){this.carouselFits||this.pointerDown&&(this.pointerDown=!1,this.selector.style.cursor="-webkit-grab",this.drag.endX=t.pageX,this.drag.preventClick=!1,this.enableTransition(),this.updateAfterDrag(),this.clearDrag())}clickHandler(t){this.drag.preventClick&&t.preventDefault(),this.drag.preventClick=!1}remove(t,e){if(t<0||t>=this.innerElements.length)throw new Error("Item to remove doesn't exist ð");const i=t<this.currentSlide,n=this.currentSlide+this.perPage-1===t;(i||n)&&this.currentSlide--,this.innerElements.splice(t,1),this.buildSliderFrame(),e&&e.call(this)}insert(t,e,i){if(e<0||e>this.innerElements.length+1)throw new Error("Unable to inset it at this index ð");if(-1!==this.innerElements.indexOf(t))throw new Error("The same item in a carousel? Really? Nope ð");const n=e<=this.currentSlide>0&&this.innerElements.length;this.currentSlide=n?this.currentSlide+1:this.currentSlide,this.innerElements.splice(e,0,t),this.buildSliderFrame(),i&&i.call(this)}prepend(t,e){this.insert(t,0),e&&e.call(this)}append(t,e){this.insert(t,this.innerElements.length+1),e&&e.call(this)}destroy(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;if(this.detachEvents(),this.selector.style.cursor="auto",t){const t=document.createDocumentFragment();for(let e=0;e<this.innerElements.length;e++)t.appendChild(this.innerElements[e]);this.selector.innerHTML="",this.selector.appendChild(t),this.selector.removeAttribute("style")}e&&e.call(this)}}var s,o=i(4568);const r=function(t,e){const i=window.requestAnimationFrame||function(t,e){window.setTimeout(t,1e3/60)};s=(new Date).getTime();const n={};return n.value=i(function o(){n.value=i(o),(new Date).getTime()-s>=e&&(t.call(),s=(new Date).getTime())}),n},a=function(t){if(t.perPage>=t.innerElements.length)t.selector.nextElementSibling.querySelector(".slider__controls__wrapper").classList.add("hidden");else{t.selector.nextElementSibling.querySelector(".slider__controls__wrapper").classList.remove("hidden");const e=t.currentSlide,i=t.selector.nextElementSibling.querySelector(".slider__controls__button--next"),n=t.perPage;i.disabled=e===t.innerElements.length+1||e+n>=t.innerElements.length}};n.prototype.preventLinkClick=function(t){const e=this.selector.parentNode.querySelectorAll(t);if(e)for(let i=0;i<e.length;i++){const t=e[i];let n=0,s=!1;t.addEventListener("keydown",t=>s=!0),t.addEventListener("mousedown",t=>{s=!1,n=t.clientX,document.body.classList.add("using-mouse")}),t.addEventListener("click",t=>{if(s)return;const e=t.clientX,i=n-e;
1(i>1||i<-1)&&(t.preventDefault(),t.stopImmediatePropagation())})}},n.prototype.addDots=function(){this.dots=document.createElement("div"),this.dots.classList.add("slider__dots");for(let t=0;t<this.innerElements.length;t++){const e=document.createElement("button");e.classList.add("slider__dots__item"),e.addEventListener("click",()=>{this.goTo(t)}),this.dots.appendChild(e)}this.selector.parentNode.insertBefore(this.dots,this.selector.nextSibling)},n.prototype.updateDots=function(){for(let t=0;t<this.dots.querySelectorAll("button").length;t++){const e=this.currentSlide===t?"add":"remove";this.dots.querySelectorAll("button")[t].classList[e]("slider__dots__item--active")}};const l=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Object;const l=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:document).querySelectorAll(t),c=[],d=[],h={loop:!0,speed:500,pause:3e3,auto:!1,pauseOnHover:!0,pager:!0,controls:!0,dots:!1,perPage:1,draggable:!0},u=Object.assign({},h,i);if(l)for(let f=0;f<l.length;f++){let t=l[f].getAttribute("data-carousel-settings");if(t)try{t=JSON.parse(t),d[f]=Object.assign({},h,t)}catch(p){}else d[f]=u;if(1!=l[f].childElementCount){if(l[f].querySelector(".image-teaser-block")||l[f].classList.add("slider--padding"),d[f].draggable=void 0===l[f].dataset.imageZoom||void 0!==l[f].dataset.imageOverlay,c[f]=new n({selector:l[f],loop:d[f].loop,duration:d[f].speed,perPage:d[f].perPage,draggable:d[f].draggable,onInit(){if(this.innerElements[this.currentSlide].classList.add("active"),e&&this.preventLinkClick(e),d[f].dots&&(this.addDots(),this.updateDots()),d[f].pager||d[f].controls){let t="",e="";if(d[f].pager&&(t=`<div class="slider__controls__page" aria-live="polite">\n <span class="slider__controls__page__current">1</span> / <span class="slider__controls__page__all">${this.innerElements.length}</span>\n </div>`),d[f].controls){const t={fi:{prev:"Edellinen",next:"Seuraava"},"sv-SE":{prev:"FöregÃ¥ende",next:"Nästa"},en:{prev:"Previous",next:"Next"},lt:{prev:"Ankstesnis",next:"Kitas"},lv:{prev:"IepriekÅ¡Äjais",next:"NÄkamais"},et:{prev:"Eelmine",next:"Järgmine"},pl:{prev:"Poprzedni",next:"NastÄpny"},cs:{prev:"PÅedchozÃ",next:"DalÅ¡Ã"},sk:{prev:"PredoÅ¡lý",next:"ÄalÅ¡Ã"},ru:{prev:"ÐÑедÑдÑÑий",next:"СледÑÑÑий"}},i=t[window.pageLang||"en"]||t.en;e=`<button class="slider__controls__button slider__controls__button--prev" aria-label="${i.prev}"></button><button class="slider__controls__button slider__controls__button--next" aria-label="${i.next}"></button>`}const i=`<div class="slider__controls clearfix">\n <div class="container">\n <div class="slider__controls__wrapper">\n ${t}\n ${e}\n </div>\n </div>\n </div>`;this.selector.insertAdjacentHTML("afterend",i),d[f].controls&&(this.selector.nextElementSibling.querySelector(".slider__controls__button--prev").addEventListener("click",()=>{c[f].prev()}),this.selector.nextElementSibling.querySelector(".slider__controls__button--next").addEventListener("click",()=>{c[f].next()}))}if(d[f].loop){const t=this.selector.querySelectorAll("img[data-src]");t.length&&o.A.forceImages([t[0],t[t.length-1]])}else d[f].controls&&(this.selector.nextElementSibling.querySelector(".slider__controls__button--prev").disabled=!0)},onChange(){if(c[f].innerElements.forEach(t=>t.classList.remove("active")),c[f].innerElements[c[f].currentSlide].classList.add("active"),s=(new Date).getTime(),d[f].pager&&(this.selector.nextElementSibling.querySelector(".slider__controls__page__current").textContent=this.currentSlide+1),d[f].dots&&this.updateDots(),!d[f].loop&&d[f].controls){const t=c[f].currentSlide,e=this.selector.nextElementSibling.querySelector(".slider__controls__button--prev"),i=this.selector.nextElementSibling.querySelector(".slider__controls__button--next"),n=c[f].perPage;e.disabled=0===t,i.disabled=t===c[f].innerElements.length+1||t+n>=c[f].innerElements.length}}}),d[f].auto){const t=parseInt(d[f].pause)+parseInt(d[f].speed);t>0&&(r(()=>{c[f].isHovered||(document.body.classList.add("using-mouse"),c[f].next())},t),d[f].pauseOnHover=!0,d[f].pauseOnHover&&(l[f].addEventListener("mouseenter",()=>{c[f].isHovered=!0}),l[f].addEventListener("mouseleave",()=>{s=(new Date).getTime(),c[f].isHovered=!1}),l[f].addEventListener("focusin",()=>{c[f].isHovered=!0}),l[f].addEventListener("focusout",()=>{s=(new Date).getTime(),c[f].isHovered=!1}
1),(d[f].pager||d[f].controls)&&(l[f].nextElementSibling.addEventListener("mouseenter",()=>{c[f].isHovered=!0}),l[f].nextElementSibling.addEventListener("mouseleave",()=>{s=(new Date).getTime(),c[f].isHovered=!1}),l[f].nextElementSibling.addEventListener("focusin",()=>{c[f].isHovered=!0}),l[f].nextElementSibling.addEventListener("focusout",()=>{s=(new Date).getTime(),c[f].isHovered=!1}))))}"object"==typeof d[f].perPage&&(a(c[f]),window.addEventListener("optimizedResize",t=>{a(c[f])}))}else l[f].firstElementChild.classList.add("active")}}},3433:(t,e,i)=>{"use strict";var n=i(1669);const s=[0,32];!function(t){t.fn.dropdown=function(e){if(0===this.length)return this;if(this.length>1)return this.each(function(){t(this).dropdown(e)}),this;const i=t.extend({},{content:".dropdown__content",visibleClass:"opened",trigger:".dropdown__trigger",time:300,breakpoint:768,autoWidth:!0},e),n=this,o=n.find(i.trigger),r=n.find(i.content),a={isExpanded:function(){return"true"==r.attr("aria-expanded")},events:function(){t(document).on("click",e=>{const i=t(e.target);i.closest(r).length||i.is(o)||i.is(".fa")||i.is("th.next")||i.is("th.prev")||a.hide()}),o.on("click",t=>{t.preventDefault(),a.expand()}),t(document).on("dropdownUpdate",t=>{a.labelUpdate()}),window.addEventListener("optimizedResize",()=>{a.hide(),a.dropdownWidth()});o.parents(".Form__Locality").length&&t(document).on("localitiesLoaded",e=>{e.localities.map(e=>{t(`input[type=checkbox][value="${e}"]`).prop("checked",!0)}),a.labelUpdate()});const e=o.parents(".Form__DropdownCheckboxes");if(e.length){const t=e.get(0).querySelectorAll("li");e.get(0).addEventListener("keydown",e=>{if(document.activeElement.classList.contains("dropdown__trigger"))13==e.keyCode&&setTimeout(function(){a.focusNextListItem(40,t)},100);else switch(e.keyCode){case 40:return void a.focusNextListItem(40,t);case 38:return void a.focusNextListItem(38,t);default:return}}),t.forEach(t=>{t.addEventListener("keydown",t=>{switch(t.keyCode){case 13:case s[0]:case s[1]:return t.preventDefault(),void t.currentTarget.querySelector("input[type=checkbox]").click();default:return}})})}},focusNextListItem:function(t,e){const i=document.activeElement;if(40===t){if(!i.nextElementSibling)return;i.classList.contains("dropdown__trigger")?(e[0].focus({preventScroll:!0}),e[0].parentElement.scrollTop=0):i.nextElementSibling.focus()}else if(38===t){if(!i.previousElementSibling)return;i.classList.contains("dropdown__trigger")?(e[e.length-1].focus({preventScroll:!0}),e[0].parentElement.scrollTop=1e4):i.previousElementSibling.focus()}},hide:function(){a.isExpanded()&&a.expand()},dropdownWidth:function(){},expand:function(){a.isExpanded()?(n.removeClass(i.visibleClass),r.attr("aria-expanded","false"),setTimeout(()=>{n.removeClass(i.visibleClass),r.removeClass("show")},100),a.labelUpdate(),o.data("daterangepicker")&&o.data("daterangepicker").hideCalendars()):(""!=o.data("label")&&o.text(o.data("label")),r.addClass("show"),setTimeout(()=>{n.addClass(i.visibleClass)},10),r.attr("aria-expanded","true"),n.find(".searchFilters__sliderrange").each(function(){if(!this.noUiSlider)return;if("fixed"==this.noUiSlider.options.behaviour)return;const t=this.noUiSlider.get();this.noUiSlider.set([t[0],t[1]])}))},accessibility:function(){const t=!a.isExpanded();o.attr("aria-expanded",t),r.attr({"aria-expanded":t,"aria-hidden":!t})},labelUpdate:function(){let e="";if(o.data("selectedText")){const t=n.find('input[type="checkbox"]:not(.FormChoice__Toggle):checked').length;t>0?e=`${t} ${o.data("selectedText")}`:o.data("label")||(e=" ")}else{n.find(".searchFilters__sliderrange").each(function(){if(!this.noUiSlider)return;if("fixed"==this.noUiSlider.options.behaviour)return;const i=t(this),n=this.noUiSlider.get();if(this.noUiSlider.options.range.min,2==n.length&&(this.noUiSlider.options.range.min!=n[0]||this.noUiSlider.options.range.max!=n[1]||""!=e)){""!=e&&(e+=", "),n[0]>999&&(n[0]=a.nFormatter(n[0]));const t=n[1];n[1]>999&&(n[1]=a.nFormatter(n[1])),n[0]==n[1]?e+=n[0]:e+=`${n[0]}-${n[1]}`,t==this.noUiSlider.options.range.max&&i.data("max-postfix")&&(e+=i.data("max-postfix")),i.data("unit")&&(e+=` ${i.data("unit")}`)}}),n.find(".searchFilters__range").each(function(){const i=t(this).find(".searchFilters__range__from"),n=t(this).find(".searchFilters__range__to");let s=i.val(),o=n.val();const r=i.attr("placeholder"),l=n.attr("placeholder");if(r!=s||l!=o||""!=e){""!=e&&(e+=", "),s==o?(s>999&&(s=a.nFormatter(s)),e+=s):(isNaN(s)&&(s="?"),isNaN(o)&&(o="?"),""==s&&(s=r),""==o&&(o=l),s>999&&(s=a.nFormatter(s)),o>999&&(o=a.nFormatter(o)),e+=`${s}-${o}`);const i=t(this).parents(".nSearch__filter").data("filter");i.Unit&&""!=e&&(e+=` ${i.Unit}`)}}),n.find(".searchFilters__rooms").each(function(){const i=t(this);i.find("input[type=checkbox]").each(function(){t(this).is(":checked")&&(""!=e&&(e+="; "),e+=new Intl.NumberFormat(window.pageLang).format(t(this).val()))}),i.find("input[type=checkbox]:checked").length&&i.data("filter").Unit&&(e+=` ${i.data("filter").Unit}`)});const i=n.find('.searchFilters__multicheckbox:not(.searchFilters__rooms) input[type="checkbox"]:checked');i.length>0&&i.each(function(){""!=e&&(e+=", "),e+=t(this).next().text()})}""==e&&(e=o.data("label")),""!=e&&o.text(e)}
1,nFormatter:function(t,e){const i=[{value:1e18,symbol:"E"},{value:1e15,symbol:"P"},{value:1e12,symbol:"T"},{value:1e9,symbol:"G"},{value:1e6,symbol:"M"},{value:1e3,symbol:"k"}],n=/\.0+$|(\.[0-9]*[1-9])0+$/;let s;for(s=0;s<i.length;s++)if(t>=i[s].value)return(t/i[s].value).toFixed(e).replace(n,"$1")+i[s].symbol;return t.toFixed(e).replace(n,"$1")}};n.data("init")||(n.data("init",!0),n.on("keydown",function(t){9==t.keyCode?setTimeout(function(){n[0].contains(document.activeElement)||n.hideDropdown()},10):27==t.keyCode&&a.isExpanded()&&(t.stopPropagation(),a.hide())}),a.events(),a.dropdownWidth(),a.labelUpdate()),n.expand=function(){a.expand()},n.hideDropdown=function(){a.hide()},n.trigger=o}}(i.n(n)())},4568:(t,e,i)=>{"use strict";i.d(e,{A:()=>o});var n=i(4640);class s{static observe(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.instance||(this.instance=new s),t&&this.instance.observeImages(t,e,i)}static get supportsIntersectionObserver(){return"IntersectionObserver"in window}constructor(){const t={rootMargin:"250px 0px",threshold:.01};this.onIntersection=this.onIntersection.bind(this),this.isTransformerCarousel=!1,s.supportsIntersectionObserver&&(this.observer=new IntersectionObserver(this.onIntersection,t))}observeImages(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&this.unobserveImages(t);const i=t.querySelectorAll("img[data-src]:not(.observed)");(0,n.A)()||e||!s.supportsIntersectionObserver||this.isTransformerCarousel?(this.windowWidth=window.windowWidth,i.forEach(t=>{t.classList.add("observed"),this.preloadImage(t).then(e=>this.loadImage(t,e)).catch(t=>{})})):i.forEach(t=>{t.classList.add("observed"),this.observer.observe(t)})}unobserveImages(t){const e=t.querySelectorAll("img[data-src].observed");s.supportsIntersectionObserver?e.forEach(t=>{t.classList.remove("observed"),this.observer.unobserve(t)}):e.forEach(t=>{t.classList.remove("observed")})}onIntersection(t,e){this.windowWidth=window.windowWidth,t.forEach(t=>{t.isIntersecting&&(this.preloadImage(t.target).then(e=>this.loadImage(t.target,e)).catch(t=>{}),e.unobserve(t.target))})}loadImage(t,e){const i=t.getAttribute("data-src");if(!i)return;const n=t.getAttribute("data-srcset");if(t.classList.contains("blur")||t.classList.add("fade-in"),t.src=i,t.removeAttribute("data-src"),n)if(this.windowWidth>1200&&e.width<1200)t.removeAttribute("data-srcset");else{let i="";i=e.width<this.windowWidth?this.windowWidth<1200?n.replace(/1200w,(.*)1920w/,"1200w"):n.replace("1920w","1210w"):n,t.setAttribute("srcset",i),t.removeAttribute("data-srcset")}}preloadImage(t){return new Promise((e,i)=>{const n=new Image;let s=t.getAttribute("data-src");s||e(this);let o=t.getAttribute("data-srcset");s&&"/"==s.charAt(0)&&(s=s.toLowerCase(),t.setAttribute("data-src",s),o&&(o=o.toLowerCase(),t.setAttribute("data-srcset",o))),o&&n.setAttribute("srcset",o),n.src=s,n.onload=function(){e(this)},n.onerror=i})}static forceImages(t){this.instance||(this.instance=new s),t&&t.forEach(t=>{t.classList.add("observed"),this.instance.preloadImage(t).then(e=>this.instance.loadImage(t,e)).catch(t=>{})})}}const o=s},4640:(t,e,i)=>{"use strict";function n(){var t=new RegExp("(googlebot|Googlebot-Mobile|Googlebot-Image|Mediapartners-Google|bingbot|slurp|msnbot|yandexbot|baiduspider|Mail.RU_Bot|exabot|seznambot|facebookexternalhit|DuckDuckBot|Facebot|Twitterbot|Applebot)","i"),e=navigator.userAgent;return t.test(e)}i.d(e,{A:()=>n})},5185:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});const n=new class{constructor(){}set(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;if(t.length){let s="";const o=n||"/";if(i){const t=new Date;t.setTime(t.getTime()+24*i*60*60*1e3),s=`; expires= ${t.toGMTString()}`}document.cookie=`${t}=${e}${s}; path=${o}`}}
1get(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(t.length){var e;const i=`${t}=`;document.cookie.split(";").map(t=>{for(;" "==t.charAt(0);)t=t.substring(1,t.length);0==t.indexOf(i)&&(e=t.substring(i.length,t.length))})}return e||null}delete(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";t.length&&this.set(t,"",-1)}getStartsWith(t){return document.cookie.split(";").filter(function(e){return 0===e.trim().indexOf(t)}).map(function(t){return t.substring(0,t.indexOf("=")).trim()})}}},6511:(t,e,i)=>{"use strict";i.d(e,{A:()=>o});var n=i(1669),s=i.n(n);const o=class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object;return this._offset=t.offset||0,this._position=t.position||0,this._element=s()(t.element)||"",this._time=t.time||300,this._hashchange=t.hashchange||!1,this._container=t.container,this._top=t.top||!1,this._onlyScrollUp=t.onlyScrollUp||!1,new Promise((t,e)=>{let i=this._top?0:this.position-this._offset;const n=new RegExp(/html|body/i);!this._container||this._top||n.test(this._container.tagName)||(i+=this._container.scrollTop);const o=s()(this._container||"html").scrollTop()||s()(this._container||"body").scrollTop();if(this._onlyScrollUp&&o<i)return void t();const r=this._element.attr("id")||"";let a=this._element;if(r.length&&-1!==r.indexOf("section-")){const t=s()("#"+r+"-heading");t.length&&!t.parent().hasClass("hidden-lg")&&(a=t)}const l="scrollBehavior"in document.documentElement.style;let c="smooth";if(window.disabledSmoothScroll&&(c="instant",this._time=0),l){("html,body"!=this._container&&s()(this._container).length?s()(this._container).get(0):window).scrollTo({behavior:c,top:i}),a.length&&a.get(0).focus({preventScroll:!0}),this.setHash(),t()}else s()(this._container||"html,body").stop().animate({scrollTop:i},this._time,"swing",()=>{a.focus(),this.setHash(),t()})})}get position(){return this._element.length&&(this._position=this._element.offset().top),this._position}setHash(){if(this._hashchange&&this._element.length){const t=this._element.attr("id")||"";t.length&&(window.location.hash=t)}}}},7173:t=>{t.exports=function t(e,i,n){function s(r,a){if(!i[r]){if(!e[r]){if(o)return o(r,!0);throw new Error("Cannot find module '"+r+"'")}var l=i[r]={exports:{}};e[r][0].call(l.exports,function(t){return s(e[r][1][t]||t)},l,l.exports,t,e,i,n)}return i[r].exports}for(var o=void 0,r=0;r<n.length;r++)s(n[r]);return s}({1:[function(t,e,i){(function(n,s,o,r,a,l,c,d,h){"use strict";var u=t("crypto");function p(t,e){return function(t,e){var i;if(void 0===(i="passthrough"!==e.algorithm?u.createHash(e.algorithm):new w).write&&(i.write=i.update,i.end=i.update),b(e,i).dispatch(t),i.update||i.end(""),i.digest)return i.digest("buffer"===e.encoding?void 0:e.encoding);var n=i.read();return"buffer"!==e.encoding?n.toString(e.encoding):n}(t,e=m(t,e))}(i=e.exports=p).sha1=function(t){return p(t)},i.keys=function(t){return p(t,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},i.MD5=function(t){return p(t,{algorithm:"md5",encoding:"hex"})},i.keysMD5=function(t){return p(t,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var f=u.getHashes?u.getHashes().slice():["sha1","md5"];f.push("passthrough");var g=["buffer","hex","binary","base64"];function m(t,e){e=e||{};var i={};if(i.algorithm=e.algorithm||"sha1",i.encoding=e.encoding||"hex",i.excludeValues=!!e.excludeValues,i.algorithm=i.algorithm.toLowerCase(),i.encoding=i.encoding.toLowerCase(),i.ignoreUnknown=!0===e.ignoreUnknown,i.respectType=!1!==e.respectType,i.respectFunctionNames=!1!==e.respectFunctionNames,i.respectFunctionProperties=!1!==e.respectFunctionProperties,i.unorderedArrays=!0===e.unorderedArrays,i.unorderedSets=!1!==e.unorderedSets,i.unorderedObjects=!1!==e.unorderedObjects,i.replacer=e.replacer||void 0,i.excludeKeys=e.excludeKeys||void 0,void 0===t)throw new Error("Object argument required.");for(var n=0;n<f.length;++n)f[n].toLowerCase()===i.algorithm.toLowerCase()&&(i.algorithm=f[n]);if(-1===f.indexOf(i.algorithm))throw new Error('Algorithm "'+i.algorithm+'" not supported. supported values: '+f.join(", "));if(-1===g.indexOf(i.encoding)&&"passthrough"!==i.algorithm)throw new Error('Encoding "'+i.encoding+'" not supported. supported values: '+g.join(", "));return i}function v(t){if("function"==typeof t)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(t))}function b(t,e,i){function n(t){return e.update?e.update(t,"utf8"):e.write(t,"utf8")}return i=i||[],{dispatch:function(e){return t.replacer&&(e=t.replacer(e)),this["_"+(null===e?"null":typeof e)](e)},_object:function(e){var s,r=Object.prototype.toString.call(e),a=/\[object (.*)\]/i.exec(r);if(a=(a=a?a[1]:"unknown:["+r+"]").toLowerCase(),0<=(s=i.indexOf(e)))return this.dispatch("[CIRCULAR:"+s+"]");if(i.push(e),void 0!==o&&o.isBuffer&&o.isBuffer(e))return n("buffer:"),n(e);if("object"===a||"function"===a||"asyncfunction"===a){var l=Object.keys(e);t.unorderedObjects&&(l=l.sort()),!1===t.respectType||v(e)||l.splice(0,0,"prototype","__proto__","constructor"),t.excludeKeys&&(l=l.filter(function(e){return!t.excludeKeys(e)})),n("object:"+l.length+":");var c=this;return l.forEach(function(i){c.dispatch(i),n(":"),t.excludeValues||c.dispatch(e[i]),n(",")})}if(!this["_"+a]){if(t.ignoreUnknown)return n("["+a+"]");throw new Error('Unknown object type "'+a+'"')}this["_"+a](e)},_array:function(e,s){s=void 0!==s?s:!1!==t.unorderedArrays;var o=this;if(n("array:"+e.length+":"),!s||e.length<=1)return e.forEach(function(t){return o.dispatch(t)});var r=[],a=e.map(function(e){var n=new w,s=i.slice();return b(t,n,s).dispatch(e),r=r.concat(s.slice(i.length)),n.read().toString()});return i=i.concat(r),a.sort(),this._array(a,!1)},_date:function(t){return n("date:"+t.toJSON())},_symbol:function(t){return n("symbol:"+t.toString())},_error:function(t){return n("error:"+t.toString())},_boolean:function(t){return n("bool:"+t.toString())}
vendor: 4,331 bytes, line 1
1,_string:function(t){n("string:"+t.length+":"),n(t.toString())},_function:function(e){n("fn:"),v(e)?this.dispatch("[native]"):this.dispatch(e.toString()),!1!==t.respectFunctionNames&&this.dispatch("function-name:"+String(e.name)),t.respectFunctionProperties&&this._object(e)},_number:function(t){return n("number:"+t.toString())},_xml:function(t){return n("xml:"+t.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(t){return n("regex:"+t.toString())},_uint8array:function(t){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(t))},_uint8clampedarray:function(t){return n("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(t))},_int8array:function(t){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(t))},_uint16array:function(t){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(t))},_int16array:function(t){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(t))},_uint32array:function(t){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(t))},_int32array:function(t){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(t))},_float32array:function(t){return n("float32array:"),this.dispatch(Array.prototype.slice.call(t))},_float64array:function(t){return n("float64array:"),this.dispatch(Array.prototype.slice.call(t))},_arraybuffer:function(t){return n("arraybuffer:"),this.dispatch(new Uint8Array(t))},_url:function(t){return n("url:"+t.toString())},_map:function(e){n("map:");var i=Array.from(e);return this._array(i,!1!==t.unorderedSets)},_set:function(e){n("set:");var i=Array.from(e);return this._array(i,!1!==t.unorderedSets)},_file:function(t){return n("file:"),this.dispatch([t.name,t.size,t.type,t.lastModfied])},_blob:function(){if(t.ignoreUnknown)return n("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_bigint:function(t){return n("bigint:"+t.toString())},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function w(){return{buf:"",write:function(t){this.buf+=t},end:function(t){this.buf+=t},read:function(){return this.buf}}}i.writeToStream=function(t,e,i){return void 0===i&&(i=e,e={}),b(e=m(t,e),i).dispatch(t)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_7eac155c.js","/")},{buffer:3,crypto:5,lYpoI2:10}],2:[function(t,e,i){(function(t,e,n,s,o,r,a,l,c){!function(t){"use strict";var e="undefined"!=typeof Uint8Array?Uint8Array:Array,i="+".charCodeAt(0),n="/".charCodeAt(0),s="0".charCodeAt(0),o="a".charCodeAt(0),r="A".charCodeAt(0),a="-".charCodeAt(0),l="_".charCodeAt(0);function c(t){var e=t.charCodeAt(0);return e===i||e===a?62:e===n||e===l?63:e<s?-1:e<s+10?e-s+26+26:e<r+26?e-r:e<o+26?e-o+26:void 0}t.toByteArray=function(t){var i,n;if(0<t.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var s=t.length,o="="===t.charAt(s-2)?2:"="===t.charAt(s-1)?1:0,r=new e(3*t.length/4-o),a=0<o?t.length-4:t.length,l=0;function d(t){r[l++]=t}for(i=0;i<a;i+=4,0)d((16711680&(n=c(t.charAt(i))<<18|c(t.charAt(i+1))<<12|c(t.charAt(i+2))<<6|c(t.charAt(i+3))))>>16),d((65280&n)>>8),d(255&n);return 2==o?d(255&(n=c(t.charAt(i))<<2|c(t.charAt(i+1))>>4)):1==o&&(d((n=c(t.charAt(i))<<10|c(t.charAt(i+1))<<4|c(t.charAt(i+2))>>2)>>8&255),d(255&n)),r},t.fromByteArray=function(t){var e,i,n,s,o=t.length%3,r="";function a(t){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/".charAt(t)}for(e=0,n=t.length-o;e<n;e+=3)r+=a((s=i=(t[e]<<16)+(t[e+1]<<8)+t[e+2])>>18&63)+a(s>>12&63)+a(s>>6&63)+a(63&s);switch(o){case 1:r+=a((i=t[t.length-1])>>2),r+=a(i<<4&63),r+="==";break;case 2:r+=a((i=(t[t.length-2]<<8)+t[t.length-1])>>10),r+=a(i>>4&63),r+=a(i<<2&63),r+="="}return r}}(void 0===i?this.base64js={}:i)}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:10}],3:[function(t,e,i){(function(e,n,s,o,r,a,l,c,d){var h=t("base64-js"),u=t("ieee754");function s(t,e,i){if(!(this instanceof s))return new s(t,e,i);var n,o,r,a,l,c=typeof t;if("base64"===e&&"string"==c)for(t=(n=t).trim?n.trim():n.replace(/^\s+|\s+$/g,"");t.length%4!=0;)t+="=";if("number"==c)o=I(t);else if("string"==c)o=s.byteLength(t,e);else{if("object"!=c)throw new Error("First argument needs to be a number, array or string.");o=I(t.length)}if(s._useTypedArrays?r=s._augment(new Uint8Array(o)):((r=this).length=o,r._isBuffer=!0),s._useTypedArrays&&"number"==typeof t.byteLength)r._set(t);else if($(l=t)||s.isBuffer(l)||l&&"object"==typeof l&&"number"==typeof l.length)for(a=0;a<o;a++)s.isBuffer(t)?r[a]=t.readUInt8(a):r[a]=t[a];else if("string"==c)r.write(t,0,e);else if("number"==c&&!s._useTypedArrays&&!i)for(a=0;a<o;a++)r[a]=0;return r}function p(t,e,i,n){return s._charsWritten=F(function(t){for(var e=[],i=0;i<t.length;i++)e.push(255&t.charCodeAt(i));return e}(e),t,i,n)}function f(t,e,i,n){return s._charsWritten=F(function(t){for(var e,i,n,s=[],o=0;o<t.length;o++)i=(e=t.charCodeAt(o))>>8,n=e%256,s.push(n),s.push(i);return s}(e),t,i,n)}function g(t,e,i){var n="";i=Math.min(t.length,i);for(var s=e;s<i;s++)n+=String.fromCharCode(t[s]);return n}function m(t,e,i,n){n||(H("boolean"==typeof i,"missing or invalid endian"),H(null!=e,"missing offset"),H(e+1<t.length,"Trying to read beyond buffer length"));var s,o=t.length;if(!(o<=e))return i?(s=t[e],e+1<o&&(s|=t[e+1]<<8)):(s=t[e]<<8,e+1<o&&(s|=t[e+1])),s}function v(t,e,i,n){n||(H("boolean"==typeof i,"missing or invalid endian"),H(null!=e,"missing offset"),H(e+3<t.length,"Trying to read beyond buffer length"));var s,o=t.length;if(!(o<=e))return i?(e+2<o&&(s=t[e+2]<<16),e+1<o&&(s|=t[e+1]<<8),s|=t[e],e+3<o&&(s+=t[e+3]<<24>>>0)):(e+1<o&&(s=t[e+1]<<16),e+2<o&&(s|=t[e+2]<<8),e+3<o&&(s|=t[e+3]),s+=t[e]<<24>>>0),s}function b(t,e,i,n){if(n||(H("boolean"==typeof i,"missing or invalid endian"),H(null!=e,"missing offset"),H(e+1<t.length,"Trying to read beyond buffer length")),!(t.length<=e)){var s=m(t,e,i,!0);return 32768&s?-1*(65535-s+1):s}}function w(t,e,i,n){if(n||(H("boolean"==typeof i,"missing or invalid endian"),H(null!=e,"missing offset"),H(e+3<t.length,"Trying to read beyond buffer length")),!(t.length<=e)){var s=v(t,e,i,!0);return 2147483648&s?-1*(4294967295-s+1):s}}function y(t,e,i,n){return n||(H("boolean"==typeof i,"missing or invalid endian"),H(e+3<t.length,"Trying to read beyond buffer length")),u.read(t,e,i,23,4)}function _(t,e,i,n){return n||(H("boolean"==typeof i,"missing or invalid endian"),H(e+7<t.length,"Trying to read beyond buffer length")),u.read(t,e,i,52,8)}function S(t,e,i,n,s){s||(H(null!=e,"missing value"),H("boolean"==typeof n,"missing or invalid endian"),H(null!=i,"missing offset"),H(i+1<t.length,"trying to write beyond buffer length"),B(e,65535));var o=t.length;if(!(o<=i))for(var r=0,a=Math.min(o-i,2);r<a;r++)t[i+r]=(e&255<<8*(n?r:1-r))>>>8*(n?r:1-r)}function E(t,e,i,n,s){s||(H(null!=e,"missing value"),H("boolean"==typeof n,"missing or invalid endian"),H(null!=i,"missing offset"),H(i+3<t.length,"trying to write beyond buffer length"),B(e,4294967295));var o=t.length;if(!(o<=i))for(var r=0,a=Math.min(o-i,4);r<a;r++)t[i+r]=e>>>8*(n?r:3-r)&255}function C(t,e,i,n,s){s||(H(null!=e,"missing value"),H("boolean"==typeof n,"missing or invalid endian"),H(null!=i,"missing offset"),H(i+1<t.length,"Trying to write beyond buffer length"),D(e,32767,-32768)),t.length<=i||S(t,0<=e?e:65535+e+1,i,n,s)}function x(t,e,i,n,s){s||(H(null!=e,"missing value"),H("boolean"==typeof n,"missing or invalid endian"),H(null!=i,"missing offset"),H(i+3<t.length,"Trying to write beyond buffer length"),D(e,2147483647,-2147483648)),t.length<=i||E(t,0<=e?e:4294967295+e+1,i,n,s)}function k(t,e,i,n,s){s||(H(null!=e,"missing value"),H("boolean"==typeof n,"missing or invalid endian"),H(null!=i,"missing offset"),H(i+3<t.length,"Trying to write beyond buffer length"),U(e,34028234663852886e22,-34028234663852886e22)),t.length<=i||u.write(t,e,i,n,23,4)}function T(t,e,i,n,s){s||(H(null!=e,"missing value"),H("boolean"==typeof n,"missing or invalid endian"),H(null!=i,"missing offset"),H(i+7<t.length,"Trying to write beyond buffer length"),U(e,17976931348623157e292,-17976931348623157e292)),t.length<=i||u.write(t,e,i,n,52,8)}i.Buffer=s,i.SlowBuffer=s,i.INSPECT_MAX_BYTES=50,s.poolSize=8192,s._useTypedArrays=function(){try{var t=new ArrayBuffer(0),e=new Uint8Array(t);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray}catch(t){return!1}}(),s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.isBuffer=function(t){return!(null==t||!t._isBuffer)},s.byteLength=function(t,e){var i;switch(t+="",e||"utf8"){case"hex":i=t.length/2;break;case"utf8":case"utf-8":i=P(t).length;break;case"ascii":case"binary":case"raw":i=t.length;break;case"base64":i=N(t).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":i=2*t.length;break;default:throw new Error("Unknown encoding")}return i},s.concat=function(t,e){if(H($(t),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===t.length)return new s(0);if(1===t.length)return t[0];if("number"!=typeof e)for(o=e=0;o<t.length;o++)e+=t[o].length;for(var i=new s(e),n=0,o=0;o<t.length;o++){var r=t[o];r.copy(i,n),n+=r.length}return i}
1,s.prototype.write=function(t,e,i,n){var o;isFinite(e)?isFinite(i)||(n=i,i=void 0):(o=n,n=e,e=i,i=o),e=Number(e)||0;var r,a,l,c,d,h,u,g,m,v=this.length-e;switch((!i||v<(i=Number(i)))&&(i=v),n=String(n||"utf8").toLowerCase()){case"hex":r=function(t,e,i,n){i=Number(i)||0;var o=t.length-i;(!n||o<(n=Number(n)))&&(n=o);var r=e.length;H(r%2==0,"Invalid hex string"),r/2<n&&(n=r/2);for(var a=0;a<n;a++){var l=parseInt(e.substr(2*a,2),16);H(!isNaN(l),"Invalid hex string"),t[i+a]=l}return s._charsWritten=2*a,a}(this,t,e,i);break;case"utf8":case"utf-8":h=this,u=t,g=e,m=i,r=s._charsWritten=F(P(u),h,g,m);break;case"ascii":case"binary":r=p(this,t,e,i);break;case"base64":a=this,l=t,c=e,d=i,r=s._charsWritten=F(N(l),a,c,d);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=f(this,t,e,i);break;default:throw new Error("Unknown encoding")}return r},s.prototype.toString=function(t,e,i){var n,s,o,r,a=this;if(t=String(t||"utf8").toLowerCase(),e=Number(e)||0,(i=void 0!==i?Number(i):i=a.length)===e)return"";switch(t){case"hex":n=function(t,e,i){var n=t.length;(!e||e<0)&&(e=0),(!i||i<0||n<i)&&(i=n);for(var s="",o=e;o<i;o++)s+=O(t[o]);return s}(a,e,i);break;case"utf8":case"utf-8":n=function(t,e,i){var n="",s="";i=Math.min(t.length,i);for(var o=e;o<i;o++)t[o]<=127?(n+=q(s)+String.fromCharCode(t[o]),s=""):s+="%"+t[o].toString(16);return n+q(s)}(a,e,i);break;case"ascii":case"binary":n=g(a,e,i);break;case"base64":s=a,r=i,n=0===(o=e)&&r===s.length?h.fromByteArray(s):h.fromByteArray(s.slice(o,r));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=function(t,e,i){for(var n=t.slice(e,i),s="",o=0;o<n.length;o+=2)s+=String.fromCharCode(n[o]+256*n[o+1]);return s}(a,e,i);break;default:throw new Error("Unknown encoding")}return n},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.copy=function(t,e,i,n){if(i=i||0,n||0===n||(n=this.length),e=e||0,n!==i&&0!==t.length&&0!==this.length){H(i<=n,"sourceEnd < sourceStart"),H(0<=e&&e<t.length,"targetStart out of bounds"),H(0<=i&&i<this.length,"sourceStart out of bounds"),H(0<=n&&n<=this.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length),t.length-e<n-i&&(n=t.length-e+i);var o=n-i;if(o<100||!s._useTypedArrays)for(var r=0;r<o;r++)t[r+e]=this[r+i];else t._set(this.subarray(i,i+o),e)}},s.prototype.slice=function(t,e){var i=this.length;if(t=L(t,i,0),e=L(e,i,i),s._useTypedArrays)return s._augment(this.subarray(t,e));for(var n=e-t,o=new s(n,void 0,!0),r=0;r<n;r++)o[r]=this[r+t];return o},s.prototype.get=function(t){return this.readUInt8(t)},s.prototype.set=function(t,e){return this.writeUInt8(t,e)},s.prototype.readUInt8=function(t,e){if(e||(H(null!=t,"missing offset"),H(t<this.length,"Trying to read beyond buffer length")),!(t>=this.length))return this[t]},s.prototype.readUInt16LE=function(t,e){return m(this,t,!0,e)},s.prototype.readUInt16BE=function(t,e){return m(this,t,!1,e)},s.prototype.readUInt32LE=function(t,e){return v(this,t,!0,e)},s.prototype.readUInt32BE=function(t,e){return v(this,t,!1,e)},s.prototype.readInt8=function(t,e){if(e||(H(null!=t,"missing offset"),H(t<this.length,"Trying to read beyond buffer length")),!(t>=this.length))return 128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,e){return b(this,t,!0,e)},s.prototype.readInt16BE=function(t,e){return b(this,t,!1,e)},s.prototype.readInt32LE=function(t,e){return w(this,t,!0,e)},s.prototype.readInt32BE=function(t,e){return w(this,t,!1,e)},s.prototype.readFloatLE=function(t,e){return y(this,t,!0,e)},s.prototype.readFloatBE=function(t,e){return y(this,t,!1,e)},s.prototype.readDoubleLE=function(t,e){return _(this,t,!0,e)},s.prototype.readDoubleBE=function(t,e){return _(this,t,!1,e)},s.prototype.writeUInt8=function(t,e,i){i||(H(null!=t,"missing value"),H(null!=e,"missing offset"),H(e<this.length,"trying to write beyond buffer length"),B(t,255)),e>=this.length||(this[e]=t)},s.prototype.writeUInt16LE=function(t,e,i){S(this,t,e,!0,i)},s.prototype.writeUInt16BE=function(t,e,i){S(this,t,e,!1,i)},s.prototype.writeUInt32LE=function(t,e,i){E(this,t,e,!0,i)}
1,s.prototype.writeUInt32BE=function(t,e,i){E(this,t,e,!1,i)},s.prototype.writeInt8=function(t,e,i){i||(H(null!=t,"missing value"),H(null!=e,"missing offset"),H(e<this.length,"Trying to write beyond buffer length"),D(t,127,-128)),e>=this.length||(0<=t?this.writeUInt8(t,e,i):this.writeUInt8(255+t+1,e,i))},s.prototype.writeInt16LE=function(t,e,i){C(this,t,e,!0,i)},s.prototype.writeInt16BE=function(t,e,i){C(this,t,e,!1,i)},s.prototype.writeInt32LE=function(t,e,i){x(this,t,e,!0,i)},s.prototype.writeInt32BE=function(t,e,i){x(this,t,e,!1,i)},s.prototype.writeFloatLE=function(t,e,i){k(this,t,e,!0,i)},s.prototype.writeFloatBE=function(t,e,i){k(this,t,e,!1,i)},s.prototype.writeDoubleLE=function(t,e,i){T(this,t,e,!0,i)},s.prototype.writeDoubleBE=function(t,e,i){T(this,t,e,!1,i)},s.prototype.fill=function(t,e,i){if(t=t||0,e=e||0,i=i||this.length,"string"==typeof t&&(t=t.charCodeAt(0)),H("number"==typeof t&&!isNaN(t),"value is not a number"),H(e<=i,"end < start"),i!==e&&0!==this.length){H(0<=e&&e<this.length,"start out of bounds"),H(0<=i&&i<=this.length,"end out of bounds");for(var n=e;n<i;n++)this[n]=t}},s.prototype.inspect=function(){for(var t=[],e=this.length,n=0;n<e;n++)if(t[n]=O(this[n]),n===i.INSPECT_MAX_BYTES){t[n+1]="...";break}return"<Buffer "+t.join(" ")+">"},s.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(s._useTypedArrays)return new s(this).buffer;for(var t=new Uint8Array(this.length),e=0,i=t.length;e<i;e+=1)t[e]=this[e];return t.buffer};var A=s.prototype;function L(t,e,i){return"number"!=typeof t?i:e<=(t=~~t)?e:0<=t||0<=(t+=e)?t:0}function I(t){return(t=~~Math.ceil(+t))<0?0:t}function $(t){return(Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)})(t)}function O(t){return t<16?"0"+t.toString(16):t.toString(16)}function P(t){for(var e=[],i=0;i<t.length;i++){var n=t.charCodeAt(i);if(n<=127)e.push(t.charCodeAt(i));else{var s=i;55296<=n&&n<=57343&&i++;for(var o=encodeURIComponent(t.slice(s,i+1)).substr(1).split("%"),r=0;r<o.length;r++)e.push(parseInt(o[r],16))}}return e}function N(t){return h.toByteArray(t)}function F(t,e,i,n){for(var s=0;s<n&&!(s+i>=e.length||s>=t.length);s++)e[s+i]=t[s];return s}function q(t){try{return decodeURIComponent(t)}catch(t){return String.fromCharCode(65533)}}function B(t,e){H("number"==typeof t,"cannot write a non-number as a number"),H(0<=t,"specified a negative value for writing an unsigned value"),H(t<=e,"value is larger than maximum value for type"),H(Math.floor(t)===t,"value has a fractional component")}function D(t,e,i){H("number"==typeof t,"cannot write a non-number as a number"),H(t<=e,"value larger than maximum allowed value"),H(i<=t,"value smaller than minimum allowed value"),H(Math.floor(t)===t,"value has a fractional component")}function U(t,e,i){H("number"==typeof t,"cannot write a non-number as a number"),H(t<=e,"value larger than maximum allowed value"),H(i<=t,"value smaller than minimum allowed value")}function H(t,e){if(!t)throw new Error(e||"Failed assertion")}s._augment=function(t){return t._isBuffer=!0,t._get=t.get,t._set=t.set,t.get=A.get,t.set=A.set,t.write=A.write,t.toString=A.toString,t.toLocaleString=A.toString,t.toJSON=A.toJSON,t.copy=A.copy,t.slice=A.slice,t.readUInt8=A.readUInt8,t.readUInt16LE=A.readUInt16LE,t.readUInt16BE=A.readUInt16BE,t.readUInt32LE=A.readUInt32LE,t.readUInt32BE=A.readUInt32BE,t.readInt8=A.readInt8,t.readInt16LE=A.readInt16LE,t.readInt16BE=A.readInt16BE,t.readInt32LE=A.readInt32LE,t.readInt32BE=A.readInt32BE,t.readFloatLE=A.readFloatLE,t.readFloatBE=A.readFloatBE,t.readDoubleLE=A.readDoubleLE,t.readDoubleBE=A.readDoubleBE,t.writeUInt8=A.writeUInt8,t.writeUInt16LE=A.writeUInt16LE,t.writeUInt16BE=A.writeUInt16BE,t.writeUInt32LE=A.writeUInt32LE,t.writeUInt32BE=A.writeUInt32BE,t.writeInt8=A.writeInt8,t.writeInt16LE=A.writeInt16LE,t.writeInt16BE=A.writeInt16BE,t.writeInt32LE=A.writeInt32LE,t.writeInt32BE=A.writeInt32BE,t.writeFloatLE=A.writeFloatLE,t.writeFloatBE=A.writeFloatBE,t.writeDoubleLE=A.writeDoubleLE,t.writeDoubleBE=A.writeDoubleBE,t.fill=A.fill,t.inspect=A.inspect,t.toArrayBuffer=A.toArrayBuffer,t}}
1).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:11,lYpoI2:10}],4:[function(t,e,i){(function(i,n,s,o,r,a,l,c,d){s=t("buffer").Buffer;var h=4,u=new s(h);u.fill(0),e.exports={hash:function(t,e,i,n){return s.isBuffer(t)||(t=new s(t)),function(t,e,i){for(var n=new s(e),o=i?n.writeInt32BE:n.writeInt32LE,r=0;r<t.length;r++)o.call(n,t[r],4*r,!0);return n}(e(function(t,e){var i;t.length%h!=0&&(i=t.length+(h-t.length%h),t=s.concat([t,u],i));for(var n=[],o=e?t.readInt32BE:t.readInt32LE,r=0;r<t.length;r+=h)n.push(o.call(t,r));return n}(t,n),8*t.length),i,n)}}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],5:[function(t,e,i){(function(e,n,s,o,r,a,l,c,d){s=t("buffer").Buffer;var h=t("./sha"),u=t("./sha256"),p=t("./rng"),f={sha1:h,sha256:u,md5:t("./md5")},g=64,m=new s(g);function v(t,e){var i=f[t=t||"sha1"],n=[];return i||b("algorithm:",t,"is not yet supported"),{update:function(t){return s.isBuffer(t)||(t=new s(t)),n.push(t),t.length,this},digest:function(t){var o=s.concat(n),r=e?function(t,e,i){s.isBuffer(e)||(e=new s(e)),s.isBuffer(i)||(i=new s(i)),e.length>g?e=t(e):e.length<g&&(e=s.concat([e,m],g));for(var n=new s(g),o=new s(g),r=0;r<g;r++)n[r]=54^e[r],o[r]=92^e[r];var a=t(s.concat([n,i]));return t(s.concat([o,a]))}(i,e,o):i(o);return n=null,t?r.toString(t):r}}}function b(){var t=[].slice.call(arguments).join(" ");throw new Error([t,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}m.fill(0),i.createHash=function(t){return v(t)},i.createHmac=v,i.randomBytes=function(t,e){if(!e||!e.call)return new s(p(t));try{e.call(this,void 0,new s(p(t)))}catch(t){e(t)}},function(t,e){for(var i in t)e(t[i],i)}(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],function(t){i[t]=function(){b("sorry,",t,"is not implemented yet")}})}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:10}],6:[function(t,e,i){(function(i,n,s,o,r,a,l,c,d){var h=t("./helpers");function u(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;for(var i=1732584193,n=-271733879,s=-1732584194,o=271733878,r=0;r<t.length;r+=16){var a=i,l=n,c=s,d=o;i=f(i,n,s,o,t[r+0],7,-680876936),o=f(o,i,n,s,t[r+1],12,-389564586),s=f(s,o,i,n,t[r+2],17,606105819),n=f(n,s,o,i,t[r+3],22,-1044525330),i=f(i,n,s,o,t[r+4],7,-176418897),o=f(o,i,n,s,t[r+5],12,1200080426),s=f(s,o,i,n,t[r+6],17,-1473231341),n=f(n,s,o,i,t[r+7],22,-45705983),i=f(i,n,s,o,t[r+8],7,1770035416),o=f(o,i,n,s,t[r+9],12,-1958414417),s=f(s,o,i,n,t[r+10],17,-42063),n=f(n,s,o,i,t[r+11],22,-1990404162),i=f(i,n,s,o,t[r+12],7,1804603682),o=f(o,i,n,s,t[r+13],12,-40341101),s=f(s,o,i,n,t[r+14],17,-1502002290),i=g(i,n=f(n,s,o,i,t[r+15],22,1236535329),s,o,t[r+1],5,-165796510),o=g(o,i,n,s,t[r+6
1],9,-1069501632),s=g(s,o,i,n,t[r+11],14,643717713),n=g(n,s,o,i,t[r+0],20,-373897302),i=g(i,n,s,o,t[r+5],5,-701558691),o=g(o,i,n,s,t[r+10],9,38016083),s=g(s,o,i,n,t[r+15],14,-660478335),n=g(n,s,o,i,t[r+4],20,-405537848),i=g(i,n,s,o,t[r+9],5,568446438),o=g(o,i,n,s,t[r+14],9,-1019803690),s=g(s,o,i,n,t[r+3],14,-187363961),n=g(n,s,o,i,t[r+8],20,1163531501),i=g(i,n,s,o,t[r+13],5,-1444681467),o=g(o,i,n,s,t[r+2],9,-51403784),s=g(s,o,i,n,t[r+7],14,1735328473),i=m(i,n=g(n,s,o,i,t[r+12],20,-1926607734),s,o,t[r+5],4,-378558),o=m(o,i,n,s,t[r+8],11,-2022574463),s=m(s,o,i,n,t[r+11],16,1839030562),n=m(n,s,o,i,t[r+14],23,-35309556),i=m(i,n,s,o,t[r+1],4,-1530992060),o=m(o,i,n,s,t[r+4],11,1272893353),s=m(s,o,i,n,t[r+7],16,-155497632),n=m(n,s,o,i,t[r+10],23,-1094730640),i=m(i,n,s,o,t[r+13],4,681279174),o=m(o,i,n,s,t[r+0],11,-358537222),s=m(s,o,i,n,t[r+3],16,-722521979),n=m(n,s,o,i,t[r+6],23,76029189),i=m(i,n,s,o,t[r+9],4,-640364487),o=m(o,i,n,s,t[r+12],11,-421815835),s=m(s,o,i,n,t[r+15],16,530742520),i=v(i,n=m(n,s,o,i,t[r+2],23,-995338651),s,o,t[r+0],6,-198630844),o=v(o,i,n,s,t[r+7],10,1126891415),s=v(s,o,i,n,t[r+14],15,-1416354905),n=v(n,s,o,i,t[r+5],21,-57434055),i=v(i,n,s,o,t[r+12],6,1700485571),o=v(o,i,n,s,t[r+3],10,-1894986606),s=v(s,o,i,n,t[r+10],15,-1051523),n=v(n,s,o,i,t[r+1],21,-2054922799),i=v(i,n,s,o,t[r+8],6,1873313359),o=v(o,i,n,s,t[r+15],10,-30611744),s=v(s,o,i,n,t[r+6],15,-1560198380),n=v(n,s,o,i,t[r+13],21,1309151649),i=v(i,n,s,o,t[r+4],6,-145523070),o=v(o,i,n,s,t[r+11],10,-1120210379),s=v(s,o,i,n,t[r+2],15,718787259),n=v(n,s,o,i,t[r+9],21,-343485551),i=b(i,a),n=b(n,l),s=b(s,c),o=b(o,d)}return Array(i,n,s,o)}function p(t,e,i,n,s,o){return b((r=b(b(e,t),b(n,o)))<<(a=s)|r>>>32-a,i);var r,a}function f(t,e,i,n,s,o,r){return p(e&i|~e&n,t,e,s,o,r)}function g(t,e,i,n,s,o,r){return p(e&n|i&~n,t,e,s,o,r)}function m(t,e,i,n,s,o,r){return p(e^i^n,t,e,s,o,r)}function v(t,e,i,n,s,o,r){return p(i^(e|~n),t,e,s,o,r)}function b(t,e){var i=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(i>>16)<<16|65535&i}e.exports=function(t){return h.hash(t,u,16)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],7:[function(t,e,i){(function(t,i,n,s,o,r,a,l,c){var d,h;h=function(t){for(var e,i=new Array(t),n=0;n<t;n++)!(3&n)&&(e=4294967296*Math.random()),i[n]=e>>>((3&n)<<3)&255;return i},e.exports=d||h}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],8:[function(t,e,i){(function(i,n,s,o,r,a,l,c,d){var h=t("./helpers");function u(t,e){t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var i,n,s,o,r,a=Array(80),l=1732584193,c=-271733879,d=-1732584194,h=271733878,u=-1009589776,g=0;g<t.length;g+=16){for(var m=l,v=c,b=d,w=h,y=u,_=0;_<80;_++){a[_]=_<16?t[g+_]:f(a[_-3]^a[_-8]^a[_-14]^a[_-16],1);var S=p(p(f(l,5),(s=c,o=d,r=h,(n=_)<20?s&o|~s&r:!(n<40)&&n<60?s&o|s&r|o&r:s^o^r)),p(p(u,a[_]),(i=_)<20?1518500249:i<40?1859775393:i<60?-1894007588:-899497514));u=h,h=d,d=f(c,30),c=l,l=S}l=p(l,m),c=p(c,v),d=p(d,b),h=p(h,w),u=p(u,y)}return Array(l,c,d,h,u)}function p(t,e){var i=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(i>>16)<<16|65535&i}function f(t,e){return t<<e|t>>>32-e}e.exports=function(t){return h.hash(t,u,20,!0)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],9:[function(t,e,i){(function(i,n,s,o,r,a,l,c,d){function h(t,e){var i=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(i>>16)<<16|65535&i}function u(t,e){return t>>>e|t<<32-e}function p(t,e){var i,n,s,o,r,a,l,c,d,p,f=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756
1734187,3204031479,3329325298),g=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),m=new Array(64);t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var v,b,w,y,_,S,E,C,x=0;x<t.length;x+=16){i=g[0],n=g[1],s=g[2],o=g[3],r=g[4],a=g[5],l=g[6],c=g[7];for(var k=0;k<64;k++)m[k]=k<16?t[k+x]:h(h(h(u(C=m[k-2],17)^u(C,19)^C>>>10,m[k-7]),u(E=m[k-15],7)^u(E,18)^E>>>3),m[k-16]),d=h(h(h(h(c,u(S=r,6)^u(S,11)^u(S,25)),(_=r)&a^~_&l),f[k]),m[k]),p=h(u(y=i,2)^u(y,13)^u(y,22),(v=i)&(b=n)^v&(w=s)^b&w),c=l,l=a,a=r,r=h(o,d),o=s,s=n,n=i,i=h(d,p);g[0]=h(i,g[0]),g[1]=h(n,g[1]),g[2]=h(s,g[2]),g[3]=h(o,g[3]),g[4]=h(r,g[4]),g[5]=h(a,g[5]),g[6]=h(l,g[6]),g[7]=h(c,g[7])}return g}var f=t("./helpers");e.exports=function(t){return f.hash(t,p,32,!0)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],10:[function(t,e,i){(function(t,i,n,s,o,r,a,l,c){function d(){}(t=e.exports={}).nextTick=function(){var t="undefined"!=typeof window&&window.setImmediate,e="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(t)return function(t){return window.setImmediate(t)};if(e){var i=[];return window.addEventListener("message",function(t){var e=t.source;e!==window&&null!==e||"process-tick"!==t.data||(t.stopPropagation(),0<i.length&&i.shift()())},!0),function(t){i.push(t),window.postMessage("process-tick","*")}}return function(t){setTimeout(t,0)}}(),t.title="browser",t.browser=!0,t.env={},t.argv=[],t.on=d,t.addListener=d,t.once=d,t.off=d,t.removeListener=d,t.removeAllListeners=d,t.emit=d,t.binding=function(t){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(t){throw new Error("process.chdir is not supported")}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:10}],11:[function(t,e,i){(function(t,e,n,s,o,r,a,l,c){i.read=function(t,e,i,n,s){var o,r,a=8*s-n-1,l=(1<<a)-1,c=l>>1,d=-7,h=i?s-1:0,u=i?-1:1,p=t[e+h];for(h+=u,o=p&(1<<-d)-1,p>>=-d,d+=a;0<d;o=256*o+t[e+h],h+=u,d-=8);for(r=o&(1<<-d)-1,o>>=-d,d+=n;0<d;r=256*r+t[e+h],h+=u,d-=8);if(0===o)o=1-c;else{if(o===l)return r?NaN:1/0*(p?-1:1);r+=Math.pow(2,n),o-=c}return(p?-1:1)*r*Math.pow(2,o-n)},i.write=function(t,e,i,n,s,o){var r,a,l,c=8*o-s-1,d=(1<<c)-1,h=d>>1,u=23===s?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,f=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,r=d):(r=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-r))<1&&(r--,l*=2),2<=(e+=1<=r+h?u/l:u*Math.pow(2,1-h))*l&&(r++,l/=2),d<=r+h?(a=0,r=d):1<=r+h?(a=(e*l-1)*Math.pow(2,s),r+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,s),r=0));8<=s;t[i+p]=255&a,p+=f,a/=256,s-=8);for(r=r<<s|a,c+=s;0<c;t[i+p]=255&r,p+=f,r/=256,c-=8);t[i+p-f]|=128*g}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/ieee754/index.js","/node_modules/ieee754")},{buffer:3,lYpoI2:10}]},{},[1])(1)},7308:(t,e,i)=>{"use strict";i.d(e,{A:()=>c});var n=i(7725),s=i(1669),o=i.n(s),r=i(7173),a=i.n(r);class l extends n.A{constructor(){super(),this.endpointAddressBase="/api/v1/productsearch/",this.queue={},this.storage={};const t=["QueryString","UILanguage","PageId","BlockId","SiteId","CacheMaxAge"];this.hashOptions={respectType:!1,excludeKeys:e=>-1!==t.indexOf(e)},AbortController&&(this.abortController=new AbortController,this.signal=this.abortController.signal)}addToQueue(t,e){const i=a()(t);let n={[e]:0};this.queue[i]?n=o().extend(this.queue[i].endpoints,n):this.queue[i]={},o().extend(this.queue[i],{query:t,endpoints:n})}getResults(t,e){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=o().extend({},{PageSize:16,StartPage:0},"string"!=typeof e?e:JSON.parse(e));let s;s=i?t+n.StartPage+"_"+n.PageSize:e.Facet&&e.Facet.length?"faceted":a()(n,this.hashOptions);let r=!0;return new Promise((e,i)=>{if(this.storage[s]&&this.storage[s][t]){const i=o().extend({},this.storage[s][t]);r=!1,e(i)}r&&fetch(this.endpointAddressBase+t,{method:"POST",mode:"same-origin",credentials:"same-origin",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify(n),signal:500==n.PageSize?null:this.signal}).then(t=>{if(t.ok)return t.json();i(`Search API Response: ${t.status} - ${t.statusText} on ${t.url}`)}).then(i=>{i.Endpoint=t,i.Query=n,delete i.Query.Facet,this.storage[s]||(this.storage[s]={}),o().extend(this.storage[s],{[t]:JSON.parse(JSON.stringify(i))}),e(i)}).catch(t=>{i(t)})}).catch(t=>{})}runQueue(){const t=[];return Object.keys(this.queue).map(e=>{const i=this.queue[e];Object.keys(i.endpoints).map(e=>
1{t.push(this.getResults(e,i.query))})}),this.queue={},Promise.all(t)}abortRequests(){this.abortController&&(this.abortController.abort(),this.abortController=null),AbortController&&(this.abortController=new AbortController,this.signal=this.abortController.signal)}}const c=l},7542:(t,e,i)=>{i(1046),i(4),i(6540),i(961)},7721:(t,e,i)=>{"use strict";i.r(e),i.d(e,{Overlay:()=>l,classOverlay:()=>a,default:()=>c});var n=i(1669),s=i.n(n),o=i(6511),r=i(2078);const a=function(){window.STORYBOOK_ENV?(this.overlay=s()(".overlay"),this.init(),setTimeout(()=>{this.overlay=s()(".overlay"),this.init()},200)):(this.overlay=s()(".overlay"),this.init())};a.prototype.open=function(){this.scrollTop=window.pageYOffset||document.documentElement.scrollTop,this.overlay.addClass("open"),s()("html").addClass("overlay-opened"),s()("body").addClass("overflow-hidden"),this.overlayFocusTrap.activate()},a.prototype.prepareOverlay=function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this.params=t;const a=this.overlay.find(".overlay-content"),l=this.overlay.find(".overlay-sticky");if(this.overlay[0].className="overlay",this.overlay.css("background-color",""),t.overlayFull?a.addClass("overlay-content-full"):a.removeClass("overlay-content-full"),t.overlayClass&&this.overlay.addClass(t.overlayClass),void 0!==t.overlayTitle?(l.html(`<h2>${t.overlayTitle}</h2>`),l.addClass("visible")):l.removeClass("visible"),void 0!==t.overlayTarget){const e=`#${t.overlayTarget}`;0==s()(`#wrap-${t.overlayTarget}`).length&&s()(e).wrap(`<span id="wrap-${t.overlayTarget}"></span>`);const l=s()(`#wrap-${t.overlayTarget}`);if(0===a.find(e).length){var c;const n=s()(e);if(r&&0===(null===(c=t.overlayTarget)||void 0===c?void 0:c.indexOf("projects-map"))){if(n.addClass("visible-xs"),0==l.find(".overlay__close").length){const t=s()('<button class="overlay__close mobile-map-close" aria-label="Overlay Close"></button>');t.on("click",()=>{n.removeClass("visible-xs")}),l.append(t),l.append('<div class="nSearch__loader"><div class="nSearch__loader__wrapper"><div class="sk-folding-cube"><div class="sk-cube1 sk-cube"></div><div class="sk-cube2 sk-cube"></div><div class="sk-cube4 sk-cube"></div><div class="sk-cube3 sk-cube"></div></div></div></div>')}new o.A({element:n,offset:80,hashchange:!1})}else a.html(""),n.hasClass("nSearch__filters")?Promise.all([i.e(502),i.e(187)]).then(i.bind(i,5553)).then(t=>{new t.default(n.parents(".nSearch")),n.find(".searchFilters__submit").clone(!0).appendTo(this.overlay),n.addClass("force-visible"),n.appendTo(a),this.overlay.find(".searchFilters__sliderrange").each(function(){if(!this.noUiSlider)return;if("fixed"==this.noUiSlider.options.behaviour)return;const t=this.noUiSlider.get();this.noUiSlider.set([t[0],t[1]])})}):(n.addClass("force-visible"),n.appendTo(a)),d(this.overlay)}setTimeout(()=>{this.overlay.find(".table-swipe").each((t,e)=>{const i=s()(e).data("tablesaw");i&&i.refresh()})},100),setTimeout(()=>a.find(".search-when-visible").trigger("fireSearch"),100),s()(document).trigger({type:"overlay-opened",attr:{target:t.overlayTarget,type:t.overlayType,slide:t.slide,projectId:t.projectId,apartmentId:t.apartmentId,event:n,params:t,isMobileWidth:r}})}else void 0!==t.overlayUrl&&(a.html(""),this.overlay.addClass("is-ajax is-loading"),this.overlay.attr("data-loaded",e),s().ajax({url:e+(-1==e.indexOf("?")?"?ajax":""),headers:{PageDisplayMode:"popup"}}).done(n=>{a.html(n),d(this.overlay),this.overlay.removeClass("is-ajax is-loading"),Promise.all([i.e(502),i.e(365)]).then(i.bind(i,8821)).then(t=>{t.default()}),s()(document).trigger({type:"overlay-opened",attr:{type:"ajax",target:e,params:t}})}));function d(e){if(t.overlayFull){const t=a.children().css("background-color");"rgba(0, 0, 0, 0)"!=t&&"transparent"!=t&&e.css("background-color",t)}}void 0!==t.overlayHash&&(window.location.hash=e.replace("#",""))},a.prototype.close=function(){if(!this.overlay.hasClass("open")||s()("body").hasClass("paywall"))return;this.overlay.removeClass("open is-loading map-filters"),s()("body").removeClass("overflow-hidden"),window.scroll(0,this.scrollTop),s()("html").removeClass("overlay-opened"),this.overlay.find("> .searchFilters__submit").remove();const t=s()(`#${this.params.overlayTarget}`),e=s()('.overlay [data-lead-type="Reservation"]');e.length&&s()(document).trigger({type:"overlay-reservation-closed",productId:e.data("product-id"),token:e.data("token")});const i=this.overlay.find(".nSearch__filters--map");i.length&&i.removeClass("nSearch__filters--map").css("height","auto").appendTo(s()(`#wrap-${i.attr("id")}`)),t.removeClass("force-visible").prependTo(s()(`#wrap-${this.params.overlayTarget}`));const n=s()(`#${this.params.overlayTarget}`).find(".EPiServerForms");n.length&&(n.find(".Form__MainBody").show(),n.find(".Form__Status__Message").removeClass("Form__Success__Message Form__Warning__Message").addClass("hide")),window.location.hash.length>0&&function(){let t,e;const i=window.location;"pushState"in history?history.pushState("",document.title,i.pathname+i.search):(t=document.body.scrollTop,e=document.body.scrollLeft,i.hash="",document.body.scrollTop=t,document.body.scrollLeft=e)}(),t.hasClass("nSearch__filters")&&t.data("filters-changed")&&(t.data("filters-changed",null),t.parents(".nSearch").trigger("fireSearch")),this.overlayFocusTrap.deactivate()},a.prototype.init=function(){const t=window.STORYBOOK_ENV?s()("main"):s()(document),e=this;this.overlayFocusTrap=r.K(this.overlay.get(0),{allowOutsideClick:()=>!0,preventScroll:!0}),t.on("click","[data-overlay]",function(t){t.preventDefault(),t.stopPropagation();const i=s()(this),n=i.data();if(i.hasClass("disabled")||e.overlay.hasClass("open"))return;const o=window.windowWidth<768;e.prepareOverlay(n,i.attr("href"),t,o);const r=n.overlayTarget&&-1!==n.overlayTarget.indexOf("projects-map");
1o&&r||e.open()}),s()(e.overlay).on("click",".overlay__close, .trigger-close",function(t){if(t.preventDefault(),s()(this).hasClass("disabled"))return;const i=s().Event("overlay-closed");s()(document).trigger(i),e.close()}),window.addEventListener("keydown",t=>{if(!t.defaultPrevented&&e.overlay.hasClass("open")){switch(t.key){case"Esc":case"Escape":e.close();break;default:return}t.preventDefault()}},!0);const{hash:i}=window.location;return i.length&&setTimeout(()=>{s()("[data-overlay-hash]").filter(`[href="${i.replace("#","")}"]:first`).trigger("click")},200),window.addEventListener("hashchange",()=>{if(window.location.hash.length){const t=s()("[data-overlay-hash]").filter(`[href="${window.location.hash.replace("#","")}"]:first`);t.length&&e.overlay.data("loaded")!=window.location.hash.replace("#","")&&t.trigger("click")}},!1),this},window.overlay||(window.overlay=new a);const{overlay:l}=window,c=a},7725:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});const n=class{constructor(t){Object.assign(this,t),this.el=this.el||this.getElements(this._el||this.class,document)[0],delete this._el}set(t,e){this[t]=e}get(t){return this[t]||this.set(t,{}),this[t]}addClass(t,e){[].concat(t).map(t=>{if(!t)return!1;const i=t.className.split(" ");i.indexOf(e)<0&&(i.push(e),t.className=i.join(" "))})}removeClass(t,e){[].concat(t).map(t=>{if(!t)return!1;const i=t.className.split(" ");i.map((t,n)=>{t===e&&i.splice(n,1)}),t.className=i.join(" ")})}hasClass(t,e){if(!t)return!1;return t.className.split(" ").indexOf(e)>-1}toggleClass(t,e){[].concat(t).map(t=>!!t&&(this.hasClass(t,e)?(this.removeClass(t,e),!1):(this.addClass(t,e),!0)))}getElements(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;const i=[];return[].push.apply(i,e.getElementsByClassName(t)),i}getTransitions(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const i=window.getComputedStyle(t).getPropertyValue(`${e}transition-property`).split(", "),n=window.getComputedStyle(t).getPropertyValue(`${e}transition-duration`).split(", "),s=window.getComputedStyle(t).getPropertyValue(`${e}transition-delay`).split(", "),o=[];return i.map((t,e)=>{if(t.length){const i={property:t,duration:parseFloat(n[e])+parseFloat(s[e])};o.push(i)}}),o.sort((t,e)=>e.duration-t.duration),o}triggerEvent(t,e,i){let n;window.CustomEvent?n=new CustomEvent(e,i):(n=document.createEvent("CustomEvent"),n.initCustomEvent(e,!0,!0,i)),t.dispatchEvent(n)}}},7936:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var n=i(5185);class s{static hasConsent(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"necessary";if(window.Cookiebot&&null!==(t=window.Cookiebot)&&void 0!==t&&t.consent)return window.Cookiebot.consent[e];try{const t=decodeURIComponent(n.A.get("CookieConsent")).replace(/%2c/g,",").replace(/'/g,'"').replace(/([{[,])\s*([a-zA-Z0-9_]+?):/g,'$1"$2":');return JSON.parse(t)[e]}catch(i){}}static externalCookieConsentSetup(){function t(){window.Cookiebot.runScripts(),window.Cookiebot.consent.marketing||n.A.getStartsWith("YIT-SearchLeads").map(t=>n.A.delete(t)),window.Cookiebot.consent.preferences||(n.A.delete("_yit.visited"),n.A.delete("YIT-lvpi"),n.A.delete("YIT-lvrpi"),n.A.delete("YIT-lvp"),n.A.delete("YIT-lvpa"),n.A.delete("YIT-lvi"),n.A.getStartsWith("YIT-SearchTabs").map(t=>n.A.delete(t)))}window.Cookiebot&&window.Cookiebot.consent&&t(),window.addEventListener("CookiebotOnLoad",t),window.addEventListener("CookiebotOnDecline",()=>{window.Cookiebot.consent.statistics||(n.A.delete("optimizelyAllowDataSharing"),window.optimizely&&window.optimizely.push({type:"holdEvents"}))}),window.addEventListener("CookiebotOnAccept",()=>{window.Cookiebot.consent.statistics?(n.A.set("optimizelyAllowDataSharing","true",{maxAge:31556952,path:"/"}),window.optimizely&&window.optimizely.push({type:"sendEvents"})):(n.A.delete("optimizelyAllowDataSharing"),window.optimizely&&window.optimizely.push({type:"holdEvents"}))}),window.addEventListener("CookiebotOnDialogDisplay",function(){const t=document.getElementById("CybotCookiebotDialogBodyContentText"),e=t&&t.querySelector(".cookiebot-banner-content");t&&e&&(t.innerHTML=e.innerHTML);const i=document.getElementById("cookiebot-about-link");i&&i.addEventListener("click",t=>{var e;t.preventDefault(),window.CookieConsent.dialog.toggleDetails(),null===(e=document.getElementById("CybotCookiebotDialogNavAbout"))||void 0===e||e.click()})});document.querySelectorAll('.cookiebot, [href*="#cc_show"]').forEach(t=>{t.addEventListener("click",t=>{var e;t.preventDefault(),null===(e=window.Cookiebot)||void 0===e||e.renew()})})}}}},t=>{var e=e=>t(t.s=e);t.O(0,[502],()=>(e(7542),e(3221),e(5348),e(4709)));t.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.