<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">!function(){var e={625:function(e,t,i){"use strict";i.r(t),t.default={ROUTE_WEBSITE:"website",ROUTE_CONTACT:"contact",ROUTE_MAIN_CONTACT:"main_contact",ROUTE_GALLERY:"gallery",ROUTE_MAIN_GALLERY:"main_gallery",ROUTE_ABOUT:"about",ROUTE_MAIN_ABOUT:"main_about",ROUTE_TESTIMONIALS:"testimonials",ROUTE_MAIN_TESTIMONIALS:"main_testimonials",ROUTE_PRICES:"prices",ROUTE_MAIN_PRICES:"main_prices",ROUTE_CALENDAR:"calendar",ROUTE_MAIN_CALENDAR:"main_calendar",ROUTE_EDITOR:"editor",ROUTE_PREVIEW:"preview"}},531:function(e,t,i){"use strict";i.r(t),t.default=class{constructor(){this.currentRoute=DPWebsitesApp.Const.CURRENT_ROUTE}isRoute(e){return Array.isArray(e)?e.indexOf(this.currentRoute)&gt;-1:this.currentRoute===e}}},757:function(e,t,i){"use strict";i.r(t);var s=i(625),o=i(531),a={POST_MESSAGE_TOKEN:"2nQFhDx047TePB6y1J0Td4tzcO83Di3l",DEBUG:!1,HUBSPOT_EVENTS:{SHOW_FIRST_STEP:"000001861454",SHOW_SECOND_STEP:"000001862005",SHOW_THIRD_STEP:"000001861460",SET_TEMPLATE:"000001861453",SET_COLOR:"000001861452"}},n=class{constructor(e=null){this.grid=e}reloadMasonry(){this.grid.masonry()}run(){if(null===this.grid)throw new Error("There is no grid element");this.grid.masonry({columnWidth:".masonry-sizer",itemSelector:".masonry-item",percentPosition:!0}),this.grid.imagesLoaded().progress((()=&gt;{this.grid.masonry("layout")})),$("body").on("summernoteKeyup",(()=&gt;{this.reloadMasonry()}))}},r=class{constructor(e=null){this.editor=e}run(){if(null===this.editor)throw new Error("There is no editor element");this.editor.summernote({airMode:!0,dialogsFade:!0,shortcuts:!1,focus:!1,popover:{air:[["style",["bold","italic","underline","clear"]],["color",["color"]],["para",["ul","ol","paragraph"]]]}}),this.editor.on("summernote.keyup",(()=&gt;{$("body").trigger("summernoteKeyup")}))}},l=class{constructor(e=""){this.token=e}call(e="",t={}){if("object"!=typeof t)throw new Error("Messages has no params");if("string"!=typeof e)throw new Error("Type of message is not defined or is not a string");window.parent.postMessage(JSON.stringify({token:this.token,type:e,params:t}),"*"),a.DEBUG&amp;&amp;(console.log("Sent call: ",e+"with parameters: "),console.log(t))}recieve(e=null){window.addEventListener("message",(t=&gt;{let i={};try{if("string"!=typeof t.data)return;i=JSON.parse(t.data)}catch(e){throw Error("JSON parse error: "+e+" with data: "+t.data)}if(i.token!==this.token)throw new Error("Invalid token - postMessage is not authorized");e(i.type,i.params),a.DEBUG&amp;&amp;(console.log("Recieved call: ",i.type+"with parameters: "),console.log(i.params))}),!1)}},d=class{constructor(e){this.images=e}run(){this.images.each((function(){const e=$(this),t=e.attr("id"),i=e.attr("class"),s=e.attr("src"),o=e.attr("width"),a=0!==e.width()?e.width():"100%",n=0!==e.height()?e.height():"100%";$.get(s,(function(s){let r=$(s).find("svg");void 0!==t&amp;&amp;(r=r.attr("id",t)),void 0!==i&amp;&amp;(r=r.attr("class",i+" replaced-svg"));const l={height:n,width:a};o&amp;&amp;(l["max-width"]=o),r=r.css(l),r=r.removeAttr("xmlns:a"),e.replaceWith(r)}),"xml")}))}},c=class{constructor(e=null,t=null,i=!1){this.$form=e,this.selectedDomain=t,this.isCustomDomain=i}getForm(){return this.$form}setSelectedDomain(e=null){this.selectedDomain=e,this.$form.data("selected-domain",e),$(window).trigger("selectedDomainUpdated")}getSelectedDomain(){return this.selectedDomain}setIsCustomDomain(e=!1){this.isCustomDomain=e,this.$form.data("is-custom-domain",e)}getIsCustomDomain(){return this.isCustomDomain}anotherDomain(e=null){if(null===e||!e.length)throw new Error("$anotherDomainContainer is null or is not in DOM");let t='[data-id="another-domain-inp"]';e.on("change",'[type="radio"]',(e=&gt;{this.setSelectedDomain(null)})),e.on("focus",t,(t=&gt;{let i=e.find('[type="radio"]').eq(0);i.is(":checked")||this.setSelectedDomain(null),i.length||new Error("There is no radio element for another domain in DOM"),i.prop("checked",!0).trigger("change")})),e.on("keyup keypress",t,(e=&gt;{this.setSelectedDomain(null);let t=$(e.currentTarget),i=$('[data-id="check-availability"]');i.removeClass("btn-danger").removeClass("btn-link").text(DPWebsitesApp.Lang.check_availability),this.isValidDomain(t.val())?i.prop("disabled",!1):i.prop("disabled",!0)})),e.on("click",'[data-id="check-availability"]',(e=&gt;{let i=$(e.currentTarget);return i.text(),i.text(DPWebsitesApp.Lang.checking),$.ajax({url:"/editor/domain-available",method:"POST",data:{domain:$(t).val().replace("https://","").replace("http://","").replace("www.","")}}).done((e=&gt;{let s=void 0!==e.is_available&amp;&amp;e.is_available;switch(e.status){case"ok":s?(this.setSelectedDomain($(t).val()),i.text(DPWebsitesApp.Lang.domain_available).addClass("btn-link")):(this.setSelectedDomain(null),i.text(DPWebsitesApp.Lang.domain_unavailable).addClass("btn-danger"));break;case"error":i.text(DPWebsitesApp.Lang.error_try).addClass("btn-danger")}})).fail((()=&gt;{i.text(DPWebsitesApp.Lang.error_try).addClass("btn-danger")})).always((()=&gt;{})),!1}))}proposedDomains(e=null){if(null===e||!e.length)throw new Error("$listContainer is null or is not in DOM");e.on("change",'[data-id="proposed-domain"] [type="radio"]',(e=&gt;{let t=$(e.currentTarget);t.is(":checked")&amp;&amp;this.setSelectedDomain(t.val())}))}getSuggestedDomains(e=null){if(null===e||!e.length)throw new Error("$listContainer is null or is not in DOM");$.ajax({url:"/editor/domain-suggest",method:"POST",beforeSend:()=&gt;{e.prepend(`&lt;li data-id="proposed-domains-loader" class="subscription-modal__domain-list subscription-modal__domain-list--loader"&gt;&lt;div class="spinner"&gt;&lt;div class="bounce1"&gt;&lt;/div&gt;&lt;div class="bounce2"&gt;&lt;/div&gt;&lt;div class="bounce3"&gt;&lt;/div&gt;&lt;/div&gt;${DPWebsitesApp.Lang.checking_domains}&lt;/li&gt;`)}}).done((t=&gt;{if(!t.length)throw"There are no domains to suggest";let i=e.data("proposed-template");if(void 0===i||""===i)throw"There are no template for proposed domain";for(let s=0;s&lt;t.length;s++)e.prepend(i.replace(/__PROPOSED_DOMAIN__/g,t[s]));return!0})).fail((()=&gt;(e.prepend(`&lt;p class="text-center text-danger"&gt;${DPWebsitesApp.Lang.error}&lt;/p&gt;`),!1))).always((()=&gt;{e.find('[data-id="proposed-domains-loader"]').remove()}))}customDomain(e){if(null===e||!e.length)throw new Error("$customDomainsContainer is null or is not in DOM");let t=$('[data-id="custom-domain-inp"]');if(!t.length)throw new Error("$customDomainInp is not in DOM");this.getForm().on("change",'[type="radio"]',(i=&gt;{let s=$(i.currentTarget);s.parents('[data-id="custom-domain"]').length&amp;&amp;s.is(":checked")?(this.setSelectedDomain(null),e.addClass("unhidden"),t.trigger("focus")):e.removeClass("unhidden")})),t.on("keyup keypress",(e=&gt;{let i=t.val();this.isValidCustomDomain(i)?this.setSelectedDomain(i):this.setSelectedDomain(null)}))}setSubmitStatus(e=null){if(null===e||!e.length)throw new Error("$submit is null or is not in DOM");e.prop("disabled",null===this.getSelectedDomain()||""===this.getSelectedDomain())}isValidDomain(e=""){let t=this.getForm().data("allowed-domains").join("|");return new RegExp(`^((https|http)://)?(www.)?([a-zA-Z0-9-]+)+.(${t})$`,"g").test(e.toLowerCase())}isValidCustomDomain(e=""){return new RegExp("^((https|http)://)?(www.)?([a-zA-Z0-9-]+)+.([a-zA-Z.]{2,6})$","g").test(e.toLowerCase())}blockFormSubmit(){this.getForm().on("submit",(()=&gt;!1))}fillConfirmStep(e=null,t=""){if(null===e||!e.length)throw new Error("$boxToFill is null or is not in DOM");if(""===t)throw new Error("Domain is empty");e.text(t)}init(){let e=this.getForm().find('[type="submit"]'),t=this.getForm().find('[data-id="another-domain"]'),i=this.getForm().find('[data-id="domains-list"]'),s=this.getForm().find('[data-id="custom-domain"]');this.setSubmitStatus(e),this.blockFormSubmit(),this.anotherDomain(t),this.proposedDomains(i),this.customDomain(s),$(window).on("selectedDomainUpdated",(t=&gt;{this.setSubmitStatus(e),this.setIsCustomDomain(s.find('[type="radio"]').is(":checked"))}))}},m=class{constructor(e=null,t=null){this.$form=e,this.$domainsForm=t}getForm(){return this.$form}getDomainsForm(){return this.$domainsForm}blockFormSubmit(){this.getForm().on("submit",(()=&gt;!1))}fillConfirmStep(e=null,t=""){if(null===e||!e.length)throw new Error("$boxToFill is null or is not in DOM");if(""===t)throw new Error("Domain is empty");e.text(t)}interfaceForCustomDomain(){let e=this.getDomainsForm().data("is-custom-domain")?1:0,t=$('[data-id="confirm-form"]');e?t.addClass("is-custom-domain"):t.removeClass("is-custom-domain")}finishSubscription(e=null){if(null===e||!e.length)throw new Error("$triggerBtn is null or is not in DOM");e.on("click",(e=&gt;{let t=$(e.currentTarget).parents('[data-id="confirm-buttons"]').eq(0),i=$('[data-id="confirm-notifications"]');t.hide(),i.show();let s=this.publishingMessages(i);setTimeout((()=&gt;($.ajax({url:"/editor/launch",method:"POST",data:{domain:this.getDomainsForm().data("selected-domain").replace("www.",""),is_custom_domain:this.getDomainsForm().data("is-custom-domain")?1:0}}).done((e=&gt;{"ok"===e.status?this.showSuccesScreen():"error"===e.status&amp;&amp;"not_a_client_error"===e.msg?(t.show(),i.html(`&lt;p class="text-center text-danger"&gt;${DPWebsitesApp.Lang.not_a_client_error}&lt;/p&gt;`).show()):(t.show(),i.html(`&lt;p class="text-center text-danger"&gt;${DPWebsitesApp.Lang.error_try}&lt;/p&gt;`).show())})).fail((()=&gt;{t.show(),i.html(`&lt;p class="text-center text-danger"&gt;${DPWebsitesApp.Lang.error_try}&lt;/p&gt;`).show()})).always((()=&gt;{clearInterval(s)})),!1)),3e3)}))}randomIntFromInterval(e,t){return Math.floor(Math.random()*(t-e+1)+e)}showSuccesScreen(){$(window).trigger("showSubscriptionSuccessMessage"),$("body").addClass("website-is-active")}publishingMessages(e=null){if(null===e||!e.length)throw new Error("$notifications is null or is not in DOM");let t=[`&lt;span class="hide-on-custom-domain"&gt;${DPWebsitesApp.Lang.website_buying_process_step_1}...&lt;/span&gt;`,`${DPWebsitesApp.Lang.website_buying_process_step_2}...`,`${DPWebsitesApp.Lang.website_buying_process_step_3}...`,`${DPWebsitesApp.Lang.website_buying_process_step_4}...`],i=1;e.html("").append(`\n\t\t\t\t\t&lt;p class="headline"&gt;${DPWebsitesApp.Lang.website_buying_process_headline}&lt;/p&gt;\n\t\t\t\t\t&lt;p class="working"&gt;${t[0]}&lt;/p&gt;`);let s=setInterval((()=&gt;{e.append(`&lt;p class="working"&gt;${t[i]}&lt;/p&gt;`),i++,i&gt;=t.length&amp;&amp;clearInterval(s)}),this.randomIntFromInterval(1e3,3e3));return s}clearNotifications(e=null){if(null===e||!e.length)throw new Error("$notifications is null or is not in DOM");e.html("")}acceptTerms(e=null,t=null){if(null===e||!e.length)throw new Error("There is no $submit element in DOM");if(null===t||!t.length)throw new Error("There is no $acceptBtn element in DOM");e.prop("disabled",!0),t.on("click",(()=&gt;{e.prop("disabled",!0!==t.is(":checked"))}))}init(){let e=this.getForm().find('[type="submit"]');if(this.blockFormSubmit(),this.finishSubscription(e),DPWebsitesApp.Const.REQUIRE_TERMS_ACCEPT){let t=this.getForm().find('[data-id="accept-terms"]');this.acceptTerms(e,t)}}},h=class{isLocaleStorageSupported(){let e="test";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}pushHubspotEvent(e){"undefined"!=typeof _hsq&amp;&amp;_hsq.push(["trackEvent",{id:e}])}},p=class{constructor(e=null,t=null){this.modal=e[0],this.trigger=t[0]}setModalStep(e="info"){this.modal.setAttribute("data-step",e),$(window).trigger(`${e}StepOpened`)}openModal(){this.trigger.addEventListener("click",(e=&gt;{this.setModalStep(),$(this.modal).modal("show"),e.preventDefault()}))}goToStep(e){for(var t=0;t&lt;e.length;t++){let i=e[t];i.addEventListener("click",(()=&gt;(this.setModalStep(i.getAttribute("data-go-to")),!1)))}}run(){if(null===this.modal||null===this.trigger)throw new Error("There is no modal or trigger element");const e=new h,{HUBSPOT_EVENTS:{SHOW_FIRST_STEP:t,SHOW_SECOND_STEP:i,SHOW_THIRD_STEP:s}}=a;this.openModal(),this.goToStep(document.querySelectorAll("[data-go-to]"));let o=new c($('[data-id="domains-form"]')),n=new m($('[data-id="confirm-form"]'),o.getForm());$(window).one("infoStepOpened",(()=&gt;{e.pushHubspotEvent(t),o.getSuggestedDomains(o.getForm().find('[data-id="domains-list"]'))})),$(window).one("domainStepOpened",(()=&gt;{e.pushHubspotEvent(i),o.init()})),$(window).one("confirmStepOpened",(()=&gt;{e.pushHubspotEvent(s),n.init()})),$(window).on("confirmStepOpened",(()=&gt;{n.fillConfirmStep($('[data-id="confirm-form"]').find('[data-id="domain-to-confirm"]'),o.getSelectedDomain()),n.clearNotifications($('[data-id="confirm-notifications"]')),n.interfaceForCustomDomain()})),$(window).on("showSubscriptionSuccessMessage",(()=&gt;{this.setModalStep("success")})),window.SET_DOMAIN_ON_STARTUP&amp;&amp;(this.setModalStep("domain"),$(this.modal).modal({backdrop:"static"}))}},u=class{setHeight(e){if(void 0===e.element)throw new Error("Parameter element is not defined");if(void 0===e.height)throw new Error("Parameter height is not defined");let t=document.querySelector(e.element);if(null===t)throw new Error(`There is no ${e.element} element in DOM`);t.style.height=e.height+"px",$("#iframe-loader").remove()}},g=class{constructor(e=null,t=null,i=null){this.selectedTemplateId=e,this.selectedThemeId=t,this.$iframe=i,this.helpers=new h}setSelectedThemeId(e){this.selectedThemeId=e}getSelectedThemeId(){return this.selectedThemeId}setSelectedTemplateId(e){this.selectedTemplateId=e}getSelectedTemplateId(){return this.selectedTemplateId}templateSwitcher(e){let t="[data-template-id]",i=$('[data-id="theme-switch-btn"]'),s=$("body");e.data("themes"),s.on("click",t+':not(".active")',(s=&gt;{let o=$(s.currentTarget),n=o.data("template-id"),r=e.data(`theme-repo-colors-${n}`),l="";e.data("selected-template-id",n),this.setSelectedTemplateId(n),this.setSelectedThemeId(o.data("default-theme")),this.helpers.pushHubspotEvent(a.HUBSPOT_EVENTS.SET_TEMPLATE),this.saveWebsiteSettingsIntoDB(this.getSelectedTemplateId(),this.getSelectedThemeId(),(()=&gt;{this.redirectIframe(),this.setTemplateSwitcherStatus(e,o.data("template-name")),$(t).removeClass("active").filter(o).addClass("active"),i.data("template",e.data(`theme-repo-${this.getSelectedTemplateId()}`)),this.reloadPopover(i,!0);for(let e=0;e&lt;r.length;e++)l+=`&lt;i class="circle" style="background: ${r[e]};"&gt;&lt;/i&gt;`;this.setThemeSwitcherStatus(i,l),this.reloadPopover(e)}))})),e.on("click",(()=&gt;{$(".theme-switcher.popover").is(":visible")&amp;&amp;i.trigger("click")}))}themeSwitcher(e){let t="[data-theme-id]",i=$('[data-id="template-switch-btn"]');$("body").on("click",t+':not(".active")',(i=&gt;{let s=$(i.currentTarget),o=s.data("theme-id");this.setSelectedThemeId(o),e.data("selected-theme-id",o),this.helpers.pushHubspotEvent(a.HUBSPOT_EVENTS.SET_COLOR),this.saveWebsiteSettingsIntoDB(this.getSelectedTemplateId(),this.getSelectedThemeId(),(()=&gt;{this.redirectIframe(),$(t).removeClass("active").filter(s).addClass("active"),this.setThemeSwitcherStatus(e,s.html()),this.reloadPopover(e)}))})),e.on("click",(()=&gt;{$(".template-switcher.popover").is(":visible")&amp;&amp;i.trigger("click")}))}saveWebsiteSettingsIntoDB(e=null,t=null,i=null){if(null===e)throw new Error("templateId is null");if(null===t)throw new Error("themeId is null");return $.ajax({url:"/editor/save/template",method:"GET",data:{template_name:e,template_theme:t}}).done((e=&gt;{switch(e.status){case"ok":break;case"error":throw new Error(e.msg)}})).fail((()=&gt;{throw new Error("Error in templateId &amp; themeId saving")})),i(),!1}reloadPopover(e=null,t=!1){if(null===e)throw new Error("There is no popover to reset");t?(e.popover("destroy"),setTimeout((()=&gt;{e.popover()}),500)):e.popover("hide")}redirectIframe(e=null){let t=null!==e?e:DPWebsitesApp.Const.URL_TO_PREVIEW+`?templateId=${this.getSelectedTemplateId()}&amp;themeId=${this.getSelectedThemeId()}`;$("#iframe-loader").length||this.$iframe.after('&lt;div id="iframe-loader"&gt;&lt;div class="spinner"&gt;&lt;div class="bounce1"&gt;&lt;/div&gt;&lt;div class="bounce2"&gt;&lt;/div&gt;&lt;div class="bounce3"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;'),this.$iframe.attr("src",t)}setTemplateSwitcherStatus(e=null,t=null){if(null===e)throw new Error("$btn parameter is null");if(null===t)throw new Error("text parameter is null");e.find('[data-id="selected-template"]').text(t)}setThemeSwitcherStatus(e=null,t=null){if(null===e)throw new Error("$btn parameter is null");if(null===t)throw new Error("statusHtml parameter is null");e.find('[data-id="selected-theme"]').html(t)}};class w{static indexAction(){this.popovers(),this.inlineSVG(),this.subscriptionModal(),this.ecommerceLaunchModal(),this.setupPostMessages(),this.setupEditor(),this.setupCarousel(),this.switchOpinion(),this.introModal(),this.bindHsEvents()}static popovers(){$((function(){let e=$('[data-toggle="popover"]'),t=$("body");e.popover(),e.on("inserted.bs.popover",(()=&gt;{w.inlineSVG()})),t.on("hidden.bs.popover",(e=&gt;{void 0!==$(e.target).data("bs.popover")&amp;&amp;($(e.target).data("bs.popover").inState={click:!1,hover:!1,focus:!1})})),t.on("shown.bs.popover",e,(()=&gt;{t.append('&lt;div class="popover-backdrop"&gt;&lt;/div&gt;')})),t.on("hidden.bs.popover",e,(()=&gt;{$(".popover-backdrop").remove()})),t.on("click",".popover-backdrop",(()=&gt;{e.popover("hide"),$(".popover-backdrop").remove()}))}))}static inlineSVG(){new d($(".icon img")).run()}static animateCTA(e=null,t=null){if(null===e||!e.length)throw new Error("$element is null or is not in DOM");if(null===t||!t.length)throw new Error("$modal is null or is not in DOM");e.removeClass("animate");let i=setInterval((()=&gt;{e.addClass("animate"),setTimeout((function(){e.removeClass("animate")}),3e3)}),1e4);t.on("show.bs.modal",(()=&gt;{clearInterval(i)}))}static subscriptionModal(){let e=document.querySelectorAll('[data-id="subscription-modal"]'),t=document.querySelectorAll('[data-id="open-subscription-modal"]');e.length&amp;&amp;t.length&amp;&amp;(new p(e,t).run(),w.animateCTA($(t),$(e)))}static ecommerceLaunchModal(){new h;const e=$('[data-id="ecommerce-launch-modal"]'),t=$('[data-id="open-ecommerce-launch-modal"]');if(!e.length||!t.length)return;t.click((()=&gt;e.modal("show")));const i=e.find('[data-id="choose-ecommerce-pricing"]'),s=e.find('[data-id^="ecommerce-pricing-tab"]');i.click((function(){const e=$(this),t=$(`[data-id="${e.data("show")}"]`);i.removeClass("pill--active"),e.addClass("pill--active"),s.addClass("hidden"),t.removeClass("hidden")}))}static setupPostMessages(){let e=new l(a.POST_MESSAGE_TOKEN),t=new u;e.recieve((function(e,i){"set_height"===e&amp;&amp;t.setHeight(i)}))}static setupCarousel(){$("body").on("slid.bs.carousel\t",".carousel",(e=&gt;{let t=$(e.currentTarget);t.find(".item").first().hasClass("active")?t.addClass("first"):t.removeClass("first"),t.find(".item").last().hasClass("active")?t.addClass("last"):t.removeClass("last")}))}static setupEditor(){let e=$('[data-id="theme-switch-btn"]'),t=$('[data-id="template-switch-btn"]');if(this.$previewIframe=$('[data-id="preview-iframe"]'),!(e.length&amp;&amp;t&amp;&amp;this.$previewIframe))throw new Error("There is no element required to prepare Editor");let i=t.data("selected-template-id"),s=e.data("selected-theme-id");this.editor=new g(i,s,this.$previewIframe),this.editor.themeSwitcher(e),this.editor.templateSwitcher(t)}static switchOpinion(){let e=$('[data-id="opinion-switch"]');e.length&amp;&amp;e.change((()=&gt;{let t=!e.prop("checked");$.ajax({url:"/editor/hide-opinions",method:"POST",data:{hideOpinions:t}}).always((()=&gt;{this.editor.redirectIframe(this.$previewIframe.attr("src"))})).fail((()=&gt;{throw new Error("Error during opinions hiding")}))}))}static introModal(){let e=$("#intro-modal"),t=new h;e.length&amp;&amp;!0===t.isLocaleStorageSupported()&amp;&amp;null===localStorage.getItem("introModalClosed")&amp;&amp;(setTimeout((()=&gt;{e.modal("show")}),5e3),e.on("hide.bs.modal",(()=&gt;{this.tour(),localStorage.setItem("introModalClosed",JSON.stringify(!0))})))}static tour(){const e=(e=!0,t=!0,i=!0)=&gt;{let s='&lt;div class="popover tour"&gt;&lt;div class="arrow"&gt;&lt;/div&gt;&lt;h3 class="popover-title"&gt;&lt;/h3&gt;&lt;div class="popover-content"&gt;&lt;/div&gt;&lt;div class="popover-navigation"&gt;';return!0===e&amp;&amp;(s+=`&lt;button class="btn btn-default" data-role="prev"&gt;Â« ${DPWebsitesApp.Lang.common_step_backward}&lt;/button&gt;`),!0===t&amp;&amp;(s+=`&lt;button class="btn btn-info" data-role="next"&gt;${DPWebsitesApp.Lang.forward} Â»&lt;/button&gt;`),!0===i&amp;&amp;(s+=`&lt;button class="btn btn-info" data-role="end"&gt;${DPWebsitesApp.Lang.lets_start}&lt;/button&gt;`),s+="&lt;/div&gt;&lt;/div&gt;",s},t=DPWebsitesApp.Const.IS_COMMERCIAL,i=new Tour({backdrop:!0,backdropPadding:15,steps:[{element:"#tour-step-1",title:"",content:DPWebsitesApp.Lang.websites_tour_step_1,backdropContainer:"header",placement:"bottom",template:e(!1,!0,!1)},{element:"#tour-step-2",title:"",content:DPWebsitesApp.Lang.websites_tour_step_2.replace("%{sitename}",DPWebsitesApp.Const.SITENAME),backdropContainer:"header",placement:"bottom",template:e(!0,t,!t),onNext:()=&gt;!t&amp;&amp;i.end()},t&amp;&amp;{element:"#tour-step-3",title:"",content:DPWebsitesApp.Lang.websites_tour_step_3,backdropContainer:"header",placement:"bottom",template:e(!0,!1,!0),onNext:()=&gt;i.end()},{element:"virtual-step"}]});i.init(),i.start(),$("body").on("click",".tour-backdrop",(()=&gt;{i.end()}))}static bindHsEvents(){const e=new h;$('[data-id="ecommerce-launch"]').click((()=&gt;e.pushHubspotEvent("website editor get your website click"))),$('[data-id="open-ecommerce-launch-modal"]').click((()=&gt;e.pushHubspotEvent("website editor get your website click")))}}var f=w;const b=new o.default;!0===b.isRoute([s.default.ROUTE_WEBSITE,s.default.ROUTE_PREVIEW])&amp;&amp;class{static indexAction(){}}.indexAction(),!0===b.isRoute([s.default.ROUTE_CONTACT,s.default.ROUTE_MAIN_CONTACT])&amp;&amp;class{static indexAction(){}}.indexAction(),!0===b.isRoute([s.default.ROUTE_CONTACT,s.default.ROUTE_GALLERY,s.default.ROUTE_PRICES,s.default.ROUTE_TESTIMONIALS,s.default.ROUTE_ABOUT,s.default.ROUTE_CALENDAR,s.default.ROUTE_MAIN_CONTACT,s.default.ROUTE_MAIN_GALLERY,s.default.ROUTE_MAIN_PRICES,s.default.ROUTE_MAIN_TESTIMONIALS,s.default.ROUTE_MAIN_ABOUT,s.default.ROUTE_MAIN_CALENDAR,s.default.ROUTE_WEBSITE,s.default.ROUTE_PREVIEW])&amp;&amp;class{static indexAction(){this.setupMasonry(),this.setupSummernote(),this.setupPostMessages()}static setupMasonry(){let e=$(".masonry","#content");e.length&amp;&amp;new n(e).run()}static setupSummernote(){let e=$('[data-id="summernote"]');e.length&amp;&amp;new r(e).run()}static setupPostMessages(){let e=new l(a.POST_MESSAGE_TOKEN),t=document.querySelector("#footer");setTimeout((()=&gt;{let i=this.getIframeHeight(t,10);e.call("set_height",{element:'[data-id="preview-iframe"]',height:i})}),500),$(window).on("setIframeHeight",(()=&gt;{let i=this.getIframeHeight(t,10);e.call("set_height",{element:'[data-id="preview-iframe"]',height:i})}))}static getIframeHeight(e=null,t=0){let i=0;if(null!==e)i=e.offsetTop+e.offsetHeight;else{let e=document.body,t=document.documentElement;i=Math.max(e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight)}return i+t}}.indexAction(),!0===b.isRoute(s.default.ROUTE_EDITOR)&amp;&amp;f.indexAction()},897:function(e,t,i){"use strict";i.r(t)}},t={};function i(s){var o=t[s];if(void 0!==o)return o.exports;var a=t[s]={exports:{}};return e[s](a,a.exports,i),a.exports}i.r=function(e){"undefined"!=typeof Symbol&amp;&amp;Symbol.toStringTag&amp;&amp;Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i(897),i(625),i(531),i(757)}();</pre></body></html>