")),n=fe(e.default_paddingLeft),g=fe(e.default_paddingRight),m=fe(e.default_paddingTop),y=fe(e.default_paddingBottom),v=G(e,"default_borderGroup",p)?fe(G(e,"default_borderSize",p)):0;switch(i.style.width=V(fe(e.width)-(n+v)-(g+v)),i.style.height=V(fe(e.height)-(m+v)-(y+v)),i.style.marginLeft=V(n),i.style.marginRight=V(g),i.style.marginTop=V(m),i.style.marginBottom=V(y),i.style.lineHeight=G(e,"default_lineHeight",p)/G(e,"default_fontSize",p),i.style.setProperty("image-rendering","optimizeQuality"),i.style.setProperty("user-select","none"),i.style.setProperty("-webkit-font-smoothing","antialiased"),i.style.setProperty("-moz-osx-font-smoothing","grayscale"),e.textStyle){default:case"fixed":x=e,b=h,_=p,(w=i).style.whiteSpace="normal",w.innerHTML=b,bnTextAutosize(w,{minFontSize:yt(),maxFontSize:G(x,"default_fontSize",_),reProcess:!0,alignVert:x.verticalAlign,alignBottomVert:x.verticalBottomAlign,multiLine:!0});break;case"dynamic_all":var b=e,w=t,_=i,x=h,k=p,x=(b.preserveGrowingOrigin||(b.preserveGrowingOrigin={top:b.top,left:b.left,width:b.width,height:b.height}),_.style.whiteSpace="nowrap",_.innerHTML=''+x+"",parseInt(G(b,"default_borderSize",k))||0),S=parseInt(_.firstChild.offsetWidth),E=parseInt(_.firstChild.offsetHeight);b.width=S+b.default_paddingLeft+b.default_paddingRight+2*x,b.height=E+b.default_paddingTop+b.default_paddingBottom+2*x,Rt(b,k),w.style.width=V(b.width),w.style.height=V(b.height),_.style.width=V(S),_.style.height=V(E),"h"===k||"d"===k?(w.style.marginLeft=V(b.left-b.preserveGrowingOrigin.left),w.style.marginTop=V(b.top-b.preserveGrowingOrigin.top)):(w.style.marginLeft="0",w.style.marginTop="0",b.anim_options&&b.anim_options.is_advanced||(x=w.parentElement,b.rotation?(x.style.transformOrigin="0 0",x.style.transform="translate("+V(b.left)+","+V(b.top)+") rotate("+b.rotation+"deg)"):x.style.transform="translate("+V(b.left)+","+V(b.top)+")"));break;case"fixed_width_dynamic_height":var E=t,k=i,O=h,I=p,C=((S=e).preserveGrowingOrigin||(S.preserveGrowingOrigin={top:S.top,left:S.left,width:S.width,height:S.height}),G(S,"default_borderGroup",I)?parseInt(G(S,"default_borderSize",I)):0),O=(k.style.whiteSpace="normal",k.innerHTML=O,bnTextAutosize(k,{minFontSize:yt(),maxFontSize:G(S,"default_fontSize",I),reProcess:!0,multiLine:!0,widthOnly:!0}),k.style.fontSize=0,Math.ceil(ce(k.children[0].getBoundingClientRect().height))),C=(O=0!=S.rotation?fe(k.children[0].offsetHeight):O)+fe(S.default_paddingTop)+fe(S.default_paddingBottom)+2*C;S.height=C,Rt(S,I),E.style.height=V(C),k.style.height=V(O),S.anim_options&&S.anim_options.is_advanced||(I=E.parentElement,S.rotation?(I.style.transformOrigin="0 0",I.style.transform="translate("+V(S.left)+","+V(S.top)+") rotate("+S.rotation+"deg)"):I.style.transform="translate("+V(S.left)+","+V(S.top)+")");break;case"fixed_box":bt(e,0,i,h,p);break;case"dynamic_box":bt(r=e,l=t,s=i,h,u=p),wt(r,l,s,u,function(){var e=s.firstElementChild,t=(e.style.width="max-content",e.style.height="max-content",l.parentElement.style.transform="",e.getBoundingClientRect()),i=2*r.default_borderSize[u],n=r.default_paddingLeft+r.default_paddingRight,o=r.default_paddingTop+r.default_paddingBottom;r.width=Math.max(5,Math.ceil(t.width)+i+n),r.height=Math.max(5,Math.ceil(t.height)+i+o),e.style.width="",e.style.height=""});break;case"dynamic_height":bt(o=e,C=t,a=i,h,O=p),wt(o,C,a,O,function(){var e=a.firstElementChild;e.style.height="max-content",o.height=e.scrollHeight,e.style.height=""});break;case"fixed_box_textfit":var T=e,A=p;bt(T,0,I=i,h,A);for(var _=window.getComputedStyle(I),N=I.clientHeight-parseInt(_["padding-top"])-parseInt(_["padding-bottom"]),P=I.firstElementChild,w=yt(),_=T.default_fontSize[A],z=new Range,M=(z.selectNodeContents(P),P.style.width="auto",P.style.height="auto",w),R=0,F=w,L=_;F<=L;R++){if(1e3>1;P.style.fontSize=V(B),P.clientWidth>=z.getBoundingClientRect().width&&P.offsetHeight<=N?F=1+(M=B):L=B-1}P.style.width="",P.style.height="",P.style.fontSize=V(M);break;case"dynamic_height_textfit":bt(d=e,A=t,c=i,h,f=p),wt(d,A,c,f,function(){for(var e=c.firstElementChild,t=yt(),i=d.default_fontSize[f],n=new Range,o=(n.selectNodeContents(e),e.style.height="max-content",t),a=0,r=t,l=i;r<=l;++a){if(1e3>1;e.style.fontSize=V(s),e.clientWidth>=n.getBoundingClientRect().width?r=1+(o=s):l=s-1}d.height=e.scrollHeight,e.style.height="",e.style.fontSize=V(o)})}i.firstChild&&!0===G(e,"default_textUnderline",p)?i.firstChild.style.textDecoration="underline":i.firstChild&&(i.firstChild.style.textDecoration="none")}function yt(){return u&&u.textfit_min_font_size&&u.textfit_min_font_size.is_enabled?Math.max(1,parseInt(u.textfit_min_font_size.value)||1):1}function vt(){var e;vt.done||((e=document.createElement("STYLE")).type="text/css",e.innerHTML=".ww{width:100%}.hh{height:100%}.flex-col{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.flex-justify-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.flex-justify-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.flex-justify-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.flex-align-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-ms-flex-line-pack:start;align-content:flex-start}.flex-align-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-ms-flex-line-pack:end;align-content:flex-end}.flex-align-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}",document.body.appendChild(e),vt.done=!0)}function bt(e,t,i,n,o){var a;switch(vt(),e.default_textAlign[o]){case"left":default:a="flex-align-start";break;case"right":a="flex-align-end";break;case"center":a="flex-align-center"}i.innerHTML=e.verticalAlign?''+n+"
":e.verticalBottomAlign?''+n+"
":''+n+"
"}function wt(e,t,i,n,o){e.preserveGrowingOrigin||(e.preserveGrowingOrigin={top:e.top,left:e.left,width:e.width,height:e.height}),o(),Rt(e,n);var o=t.parentElement,n=(e.rotation?o.style.transform="translate("+V(e.left)+","+V(e.top)+")rotate("+e.rotation+"deg)":o.style.transform="translate("+V(e.left)+","+V(e.top)+")",2*e.default_borderSize[n]),a=e.default_paddingLeft+e.default_paddingRight,r=e.default_paddingTop+e.default_paddingBottom;o.style.width=V(e.width),o.style.height=V(e.height),t.style.width=V(e.width),t.style.height=V(e.height),i.style.width=V(e.width-a-n),i.style.height=V(e.height-r-n)}function _t(){x.filter(function(e){return void 0===e.video_stop_on_end||e.video_stop_on_end}).forEach(function(e){e.video_autoplay=!1;try{document.getElementById(e.id).children[0].pause()}catch(e){}})}function xt(e){for(var t=0;te.id===t)||{},r=document.getElementById(a.id);r?(We(a)&&(a.anim_options&&a.anim_options.is_advanced&&"widget"!==a.type&&Xe(0,r.parentElement),(n=(e=r.parentElement).parentElement).parentElement.insertBefore(e,n),n.remove()),"image"===a.type?(o.uid=a.uid,o.imageSrc=a.imageSrc,o.width=a.width,o.height=a.height,o.default_decorationGroup=a.default_decorationGroup,o.default_imageSize=a.default_imageSize,o.default_imagePosition=a.default_imagePosition,o.use_object_fit=!!a.use_object_fit,o.object_fit=a.object_fit,o.object_position=a.object_position,Xt.preloadImage({model:o,src:F(o),onLoadedCallback:function(e){p&&(p.kill(null,r),p.kill(null,r.parentElement)),r.removeChild(r.firstChild),l(a,0,p,!0),gt(o,r,e),p&&!a.rotation&&p.set(r,{rotation:0,scale:1},de+"+=0"),i()}})):(kt(t),i())):i(new Error("Item not found: "+t))}function Et(){ge.style.width=V(u.width),ge.style.height=V(u.height),me.style.width=V(u.width),me.style.height=V(u.height),i&&(i.style.width=V(u.width),i.style.height=V(u.height))}function Ot(){for(var i=[],e=O?window.innerWidth:u.width,t=I?window.innerHeight:u.height,n=(config.forEach(function(e){var t;e.constraints&&e.constraints.is_enabled&&(i.push({x:e.left0,y:e.top0,w:e.width0,h:e.height0,constraints:e.constraints,ref:e}),t=We(e))&&i.push({x:t.left0,y:t.top0,w:t.width0,h:t.height0,constraints:e.constraints,ref:t})}),i),o=e-u.width0,a=t-u.height0,r=e/u.width0,l=t/u.height0,s=0;s").replace(/"/g,'"').replace(/'/g,"'").replace(///g,"/")),e.default_hyperlinkValue&&e.default_interactionGroup){Z=!0;try{0!=e.default_hyperlinkValue.indexOf("window.BN.urlParamsDecoded")||(t=e.default_hyperlinkValue.replace("window.BN.urlParamsDecoded.",""))&&ie[t]&&new Function("return "+ie[t])()||(e.default_interactionGroup=!1,e.default_hyperlinkValue="")}catch(e){}}}),t=Ie("banner.translation.language.code")||u.locale||"en",R=[{name:"latin-ext",languages:["az","az-AZ","cs","cs-CZ","et","et-EE","hu","hu-HU","pl","pl-PL","cy","cy-GB","vi","vi-VN","tr","tr-TR","tt","tt-RU","sl","sl-SI","sk","sk-SK","ro","ro-TO","mi","mi-NZ","mt","mt-MT","lv","lv-LV","lt","lt-LT","kk","kk-KZ","es-PY","se","se-FI","se-NO","se-SE"]},{name:"cyrillic",languages:["ru","ru-RU","uk","uk-UA","be","be-BY","bg","bg-BG","mk","mk-MK","sr-BA","sr-SP"]},{name:"greek",languages:["el","el-GR"]},{name:"hebrew",languages:["he","he-IL"]}].find(function(e){return-1!=e.languages.indexOf(t)}),qe(),B(window,"load",function(){var e;try{"string"==typeof(e=h.responsive)&&(O=-1!==e.indexOf("w"),I=-1!==e.indexOf("h")),O&&I?console.log("✅ Responsive mode initialized [width and height]"):O?console.log("✅ Responsive mode initialized [width]"):I&&console.log("✅ Responsive mode initialized [height]")}catch(e){console.log("❌ Cannot initialize responsive mode",e),I=O=!1}function o(){T()}function t(){T()}if((O||I)&&Ot(),document.getElementById(he).oncontextmenu=function(e){return!1},config.forEach(function(e){var t,i,n,o,a,r,l;e.anim_items&&(i=(r=e).anim_items.find(function(e){return"anim-translate-x"===e.type}),n=r.anim_items.find(function(e){return"anim-translate-y"===e.type}),t=r.anim_items.find(function(e){return"anim-rotate"===e.type}),i||r.anim_items.push(i={type:"anim-translate-x",keyframes:[]}),n||r.anim_items.push(n={type:"anim-translate-y",keyframes:[]}),t||r.anim_items.push(t={type:"anim-rotate",keyframes:[]}),0===i.keyframes.length&&i.keyframes.push({time:0,translate_x:r.left0,origin:"top left",easing:"Linear.easeNone"}),0===n.keyframes.length&&n.keyframes.push({time:0,translate_y:r.top0,origin:"top left",easing:"Linear.easeNone"}),0===t.keyframes.length&&t.keyframes.push({time:0,rotate:r.transform.rotate,origin:"top left",easing:"Linear.easeNone"}),r.anim_items.sort(Pt)),"scene"!==e.type&&(e.anim_options&&e.anim_options.is_advanced?pe=Math.max(pe,e.anim_options.visibility_end):e.is_mask||(n=ce((i=e.transitions)[0].delay)+ce(i[0].duration)+ce(i[1].duration)+ce(i[2].duration),pe=Math.max(pe,n))),"image"===e.type?(s.push(e),++c):"widget"===e.type?(f.push({item:e,loaded:!1}),++c):"text"===e.type||"button"===e.type?(ye.push(e),l=r=(t=e).fontName,-1!=u.googleFonts.findIndex(function(e){return e.split(":")[0]==l})&&(i=At(t.value),n=-1!=t.value.indexOf("")||-1!=t.value.indexOf("")||-1!=t.value.indexOf(""),t.textContent}function Pt(e,t){return n.indexOf(e.type)-n.indexOf(t.type)}function zt(e,t){return e.time-t.time}function Ft(n){var o={};return config.forEach(function(e){var t,i;"scene"===e.type&&(Array.isArray(e.fallbacks)&&e.fallbacks.length?(t=e.fallbacks.map(function(e){return 1e3*ce(e)}),i=ce((t=t.filter(a).sort(r))[0]),k&&(i+=1e3*S,(t=t.map(function(e){return ce(e)+1e3*S})).unshift(0))):(t=[n/2],i=n/2,k&&(t=[0,i=n/2+1e3*S])),o={thumbnail_frame:i,fallback_frames:t})}),o;function a(e){return 0<=e||ee.id===t.id)||{},a=document.getElementById(o.id);if(a)switch(o.type){case"text":case"button":void 0!==t.value&&(o.value=t.value),void 0!==t.top&&(o.top=t.top),void 0!==t.left&&(o.left=t.left),void 0!==t.width&&(o.width=t.width),void 0!==t.height&&(o.height=t.height),p.kill(null,a),p.kill(null,a.parentElement),l(o,0,p),0==o.rotation&&p.set(a,{rotation:0,scale:1},de+"+=0"),r();break;case"image":void 0!==t.value&&(o.imageSrc=t.value),void 0!==t.top&&(o.top=t.top),void 0!==t.left&&(o.left=t.left),void 0!==t.width&&(o.width=t.width),void 0!==t.height&&(o.height=t.height),n.uid=o.uid,n.imageSrc=o.imageSrc,n.width=o.width,n.height=o.height,n.default_decorationGroup=o.default_decorationGroup,n.default_imageSize=o.default_imageSize,n.default_imagePosition=o.default_imagePosition,n.use_object_fit=!!o.use_object_fit,n.object_fit=o.object_fit,n.object_position=o.object_position,Xt.preloadImage({model:n,src:F(n),onLoadedCallback:function(e){p.kill(null,a),p.kill(null,a.parentElement),a.removeChild(a.firstChild),l(o,0,p),gt(n,a,e),p.set(a,{rotation:0,scale:1},de+"+=0"),r()}});break;default:r()}else r(new Error("Item not found: "+t.id));function r(t){if("function"==typeof i){t=t||null;try{requestAnimationFrame(function(){try{i(t)}catch(e){}})}catch(e){try{i(t)}catch(e){}}}}},window.gotoItemHyperlink=rt}()