1function universalBlockDecodeHtmlCode(t){if(!t)return"";try{return decodeURIComponent(String(t).replace(/\+/g,"%20"))}catch(e){return String(t)}}function universalBlockHydrateHtmlEmbeds(t){(t&&t.querySelectorAll?t:document).querySelectorAll('.sb-elem[data-type="html"]').forEach(function(t){const e=t.getAttribute("data-html-code")||"";if(!e)return;let n=null;for(let e=0;e<t.children.length;e++){const s=t.children[e];if(s.classList&&s.classList.contains("sb-html")){n=s;break}}n||(n=document.createElement("div"),n.className="sb-child sb-html",t.appendChild(n));if(!!!n.querySelector(".sb-html-preview, .sb-html-code")&&n.childNodes.length>0&&!!n.querySelector('iframe, script, object, embed, [class*="ymaps"]'))return;const s=universalBlockDecodeHtmlCode(e);if(!s)return;n.innerHTML="";const i=document.createElement("div");i.innerHTML=s,Array.from(i.childNodes).forEach(function(t){if("SCRIPT"===t.nodeName){const e=document.createElement("script");Array.from(t.attributes||[]).forEach(function(t){e.setAttribute(t.name,t.value)}),t.textContent&&(e.text=t.textContent),n.appendChild(e)}else n.appendChild(t)})})}function universalBlockPosition(){function t(e,n,s){if(s<0&&(s=0),s>=c.length)return{deviceWidth:c[c.length-1]||1200,left:parseInt(e[`settings${n}`])};const i=Object.keys(e).filter(t=>t.toLowerCase().replaceAll("-","").includes(`settings${c[s]}${n.toLowerCase()}`));return i.length>0?{deviceWidth:c[s]||1200,left:parseInt(e[i[0]])}:t(e,n,s+1)}function e(){const t=window.innerWidth;t>=1200?u="":(d=c.filter(function(e){return e&&e<=t}),u=d.length?d[d.length-1]:"")}function n(t){let e=u<1200?`data-settings-${u}`:"data-settings",n=t.find(".sb-accordion-item__trigger"),s=t.find(".sb-accordion-item__content"),i=t.find(".sb-accordion-item");(t.attr(`${e}-background-card`)||t.attr("data-settings-background-card"))&&(n.css("background-color",t.attr(`${e}-background-card`)||t.attr("data-settings-background-card")),n.attr("onmouseout",`this.style.backgroundColor='${t.attr(`${e}-background-card`)||t.attr("data-settings-background-card")}';`),n.attr("onmouseover",`this.style.backgroundColor='${t.attr(`${e}-card-hover-color`)||t.attr("data-settings-card-hover-color")}';`),t.find(".sb-accordion").css({"background-color":"transparent"})),(t.attr(`${e}-card-radius`)||t.attr("data-settings-card-radius"))&&(n.css("border-radius",`${t.attr(`${e}-card-radius`)||t.attr("data-settings-card-radius")}px`),i.css("border-top","none")),(t.attr(`${e}-answer-radius`)||t.attr("data-settings-answer-radius"))&&(s.css("border-radius",`${t.attr(`${e}-answer-radius`)||t.attr("data-settings-answer-radius")}px`),i.css("border-top","none")),(t.attr(`${e}-background-answer`)||t.attr("data-settings-background-answer"))&&s.css("background-color",t.attr(`${e}-background-answer`)||t.attr("data-settings-background-answer")),(t.attr(`${e}-answer-margin`)||t.attr("data-settings-answer-margin"))&&(s.css("margin-top",t.attr(`${e}-answer-margin`)||t.attr("data-settings-answer-margin")),i.css("margin-bottom",`${t.attr(`${e}-card-margin`)||t.attr("data-settings-card-margin")}px`),i.css("border-top","none"))}function s(t,e,n=""){if(!t||!t.length)return n;const s=`data-settings-${e}`,i=t.attr(s);if(void 0!==i)return i;const o=t[0];if(!o)return n;const r=window.getComputedStyle(o);if(!r)return n;if("position"===e){const t=r.position;if(t)return t}const a=r.getPropertyValue(`--ub-${e}`);return a?a.trim():n}function i(t){return`scroll.ubAppear${(t.attr("data-id")||t.index()).toString().replace(/[^a-zA-Z0-9_-]/g,"")}`}function o(t){const e=s(t,"appear-offset",""),n=s(t,"appear-animation",""),o=parseInt(e,10),r=!Number.isNaN(o)&&o>0,a=n&&n.length>0,l=i(t);if($(window).off(l),!r&&!a)return void t.removeClass("ub-appear-hidden ub-animate-base ub-animate-fade ub-animate-slide");t.removeClass("ub-animate-fade ub-animate-slide").addClass("ub-animate-base ub-appear-hidden");const c=r?o:0,d=function(){(window.pageYOffset||document.documentElement.scrollTop||0)>=c&&("fixslide"===n?t.addClass("ub-animate-slide"):t.addClass("ub-animate-fade"),t.removeClass("ub-appear-hidden"),$(window).off(l,d))};$(window).on(l,d),d()}function r(){$(".sb-universal-section").each(function(){const t=$(this),e=s(t,"shift",""),n=s(t,"position",""),i=t.closest("section").next();if(!i.length)return;if(void 0===i.data("ubOriginalMarginTop")){const t=parseFloat(i.css("margin-top"))||0;i.data("ubOriginalMarginTop",t)}const o=i.data("ubOriginalMarginTop")||0;if("y"===e&&"fixed"===n){const e=t.outerHeight();i.css("margin-top",`${o+e}px`)}else i.css("margin-top",`${o}px`)})}function a(){$(".sb-universal-section").each(function(){o($(this))})}function l(){e(),u=u||"",$(".sb-elem").each(function(e,s){const i=$(s).closest(".sb-universal-section-content").width(),o=t($(s)[0].dataset,"Left",c.indexOf(u)),r=o.left,a=o.deviceWidth;setElemPos(a,s,$(s).width(),r,i),n($(s),a)}),r()}const c=[320,480,640,960,""];let d=null,u=null;$(window).on("resize",function(){l()}),a(),l(),$(window).off("load.ubShift").on("load.ubShift",function(){r()}),$(".sb-universal-section .sb-tooltip").each((t,e)=>{const n=$(e).attr("data-event"),s=$(e),i=s.find(".sb-tooltip__box");let o=null;s.off(".tooltip"),"click"===n&&s.on("click.tooltip",function(t){t.stopPropagation();"none"===i.css("display")?i.show():i.hide()}),"hover"===n&&(s.on("mouseenter.tooltip",function(t){t.stopPropagation(),clearTimeout(o),i.show()}),s.on("mouseleave.tooltip",function(t){t.stopPropagation(),o=setTimeout(function(){i.hide()},150)}))})}function setElemPos(t,e,n,s,i){const o=t-n-s;let r=s;if(0===s&&0===t-n||s===o)r=(i-n)/2;else if(0===o)r=i-n;else if(s>0&&o>0)r=s/t*i;else if(o<0){r=i-n+i*(-1*o/t)}$(e).css("left",r)}function universalBlockInitGallery(){setTimeout(function(){$(".sb-accordion-item__trigger-icon").each(function(t,e){$(e).removeAttr("onclick")}),$(".sb-accordion-item__delete").each(function(t,e){$(e).removeAttr("onclick")}),$(".sb-accordion-item__trigger").each((t,e)=>{const n=$(e).closest(".sb-universal-section-content"),s=n.height();$(e).off().on("click",function(){const t=$(this).closest(".sb-accordion").find(".sb-accordion-item"),e=$(this).closest(".sb-accordion-item"),i=t.index(e);$(t).each((t,e)=>{t!==i?$(e).removeClass("opened"):$(e).toggleClass("opened")}),n.css("height",`${s}px`);const o=n.find(".sb-accordion-item.opened");o.each(function(t,e){$(e).closest(".sb-elem").offset().top,$(e).closest(".sb-elem").height()}),o.length,o.each((t,e)=>{$(e).closest(".sb-elem").offset().top;const i=$(e).find(".sb-accordion-item__content").outerHeight();n.height();n.css("height",`${s+i}px`)})})}),initGallery($(".sb-elem"))},1e3)}function universalBlockInitAnimations(){const t=window.innerWidth<1200;universalBlockInitAppearAnimations(t),universalBlockInitParallax(t),universalBlockInitMouseParallax(t),universalBlockInitFixing(t),universalBlockInitSbsAnimations(t)}
1function universalBlockAnimAttrByRes(t,e){const n=[1200,960,640,480,320],s=window.innerWidth||document.documentElement.clientWidth;let i=320;for(let t=0;t<n.length;t++)if(s>=n[t]){i=n[t];break}if(1200===i)return t.getAttribute(`data-settings-anim-${e}`)||"";const o=t.getAttribute(`data-settings-${i}-anim-${e}`);if(null!=o&&""!==o)return o;const r=[320,480,640,960];for(let n=0;n<r.length;n++){if(r[n]<=i)continue;const s=t.getAttribute(`data-settings-${r[n]}-anim-${e}`);if(null!=s&&""!==s)return s}return t.getAttribute(`data-settings-anim-${e}`)||""}function universalBlockInitAppearAnimations(t){function e(t){const e=universalBlockAnimAttrByRes(t,"style");if(!e)return!1;const n=universalBlockAnimAttrByRes(t,"distance"),s=universalBlockAnimAttrByRes(t,"scale"),i=t.getAttribute("data-settings-anim-delay"),o=t.getAttribute("data-settings-anim-duration"),r=String(n||"100").replace("px",""),a=universalBlockAnimMotionTarget(t);return a!==t&&(t.style.opacity="1",t.style.transform="none"),a.style.opacity="0",a.style.transitionProperty="opacity, transform",a.style.transitionTimingFunction="cubic-bezier(0.19, 1, 0.22, 1)",a.style.transitionDuration=o?`${o}s`:"1s",a.style.transitionDelay="0s","fadeinup"===e?a.style.transform=`translate3d(0,${r}px,0)`:"fadeindown"===e?a.style.transform=`translate3d(0,-${r}px,0)`:"fadeinleft"===e?a.style.transform=`translate3d(${r}px,0,0)`:"fadeinright"===e?a.style.transform=`translate3d(-${r}px,0,0)`:"zoomin"===e?a.style.transform=`scale(${s||"0.9"})`:"zoomout"===e&&(a.style.transform=`scale(${s||"1.2"})`),t.__ubAppearDelay=i,t.classList.add("sb-ub-appear"),!0}function n(t){const e=universalBlockAnimMotionTarget(t),n=t.__ubAppearDelay||t.getAttribute("data-settings-anim-delay"),s=t.getAttribute("data-settings-anim-duration"),i=parseFloat(n)||0,o=parseFloat(s)||1;e.style.transitionProperty="opacity, transform",e.style.transitionTimingFunction="cubic-bezier(0.19, 1, 0.22, 1)",e.style.transitionDuration=s?`${s}s`:"1s",e.style.transitionDelay=n?`${n}s`:"0s",e.offsetWidth,t.classList.add("sb-animate_started"),e.style.opacity="1",e.style.transform="none",setTimeout(function(){e.style.removeProperty("opacity"),e.style.removeProperty("transform"),e.style.removeProperty("transition-property"),e.style.removeProperty("transition-timing-function"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-delay"),e!==t&&(t.style.removeProperty("opacity"),t.style.removeProperty("transform"))},Math.max(0,1e3*(i+o))+50)}const s=Array.from(document.querySelectorAll(".sb-elem[data-settings-anim-style], .sb-elem[data-settings-320-anim-style], .sb-elem[data-settings-480-anim-style], .sb-elem[data-settings-640-anim-style], .sb-elem[data-settings-960-anim-style]"));if(!s.length)return;const i=s.filter(function(n){return t&&"y"!==n.getAttribute("data-settings-anim-mobile")?(n.classList.add("sb-animate_started"),!1):e(n)});i.length&&("IntersectionObserver"in window?i.forEach(function(t){const e=parseInt(t.getAttribute("data-settings-anim-trigger-offset")||"0",10),s=Number.isFinite(e)&&0!==e?`0px 0px ${-e}px 0px`:"0px";new IntersectionObserver(function(t,e){t.forEach(function(t){t.isIntersecting&&(n(t.target),e.unobserve(t.target))})},{rootMargin:s,threshold:.01}).observe(t)}):i.forEach(n))}function universalBlockParseSbsOpts(t){if(!t)return[];try{return universalBlockExpandSbsDelays(JSON.parse(String(t).split("'").join('"')))}catch(t){return[]}}function universalBlockExpandSbsDelays(t){const e=t.slice();for(let t=0;t<e.length;t++){const n=e[t];if(0===t||!parseInt(n.dd,10)&&!parseInt(n.dt,10))continue;const s=Object.assign({},e[t-1]);void 0!==n.dt?s.ti=n.dt:s.di=n.dd,e.splice(t,0,s),t++}return e}function universalBlockSbsStepCss(t,e,n){const s=n&&null!=n.mx?n.mx:0,i=n&&null!=n.my?n.my:0,o=n&&null!=n.ro?n.ro:0,r=(parseFloat(t.mx)||0)-s,a=(parseFloat(t.my)||0)-i,l=null==t.sx?1:parseFloat(t.sx),c=null==t.sy?1:parseFloat(t.sy),d=null==t.op?1:parseFloat(t.op),u=(parseFloat(t.ro)||0)-o+(parseFloat(e)||0),f=parseFloat(t.bl)||0;return{transform:`translate3d(${r}px,${a}px,0) scale(${l},${c}) rotate(${u}deg)`,opacity:d,filter:f?`blur(${f}px)`:"none"}}function universalBlockAnimMotionTarget(t){const e=t.querySelector(":scope > .sb-ub-sbs-fix-wrap");if(e){const t=e.querySelector(":scope > .sb-child");if(t)return t}const n=t.children;for(let t=0;t<n.length;t++)if(n[t].classList&&n[t].classList.contains("sb-child"))return n[t];return t}function universalBlockInitParallax(t){function e(){const t=window.innerHeight||document.documentElement.clientHeight;
1n.forEach(function(e){const n=universalBlockAnimAttrByRes(e,"prx-s");if(null==n||""===n)return;const s=(parseFloat(n)-100)/10;if(!s)return;const i=e.getBoundingClientRect(),o=i.top+i.height/2,r=(t/2-o)/t*s*20,a=universalBlockAnimMotionTarget(e);a.style.willChange="transform",a.style.transform=`translate3d(0, ${r}px, 0)`})}const n=Array.from(document.querySelectorAll(".sb-elem[data-settings-anim-prx], .sb-elem[data-settings-320-anim-prx], .sb-elem[data-settings-480-anim-prx], .sb-elem[data-settings-640-anim-prx], .sb-elem[data-settings-960-anim-prx]")).filter(function(e){return(!t||"y"===e.getAttribute("data-settings-anim-mobile"))&&"scroll"===universalBlockAnimAttrByRes(e,"prx")});n.length&&(e(),window.addEventListener("scroll",e,{passive:!0}),window.addEventListener("resize",e))}function universalBlockInitMouseParallax(t){function e(){s.forEach(function(t){t.curX+=.02*(t.destX-t.curX),t.curY+=.02*(t.destY-t.curY),t.target.style.willChange="transform",t.target.style.transform=`translate3d(${t.curX}px, ${t.curY}px, 0)`}),requestAnimationFrame(e)}if("ontouchend"in document&&(window.innerWidth||document.documentElement.clientWidth)<1200)return;const n=Array.from(document.querySelectorAll(".sb-elem[data-settings-anim-prx], .sb-elem[data-settings-320-anim-prx], .sb-elem[data-settings-480-anim-prx], .sb-elem[data-settings-640-anim-prx], .sb-elem[data-settings-960-anim-prx]")).filter(function(e){return(!t||"y"===e.getAttribute("data-settings-anim-mobile"))&&"mouse"===universalBlockAnimAttrByRes(e,"prx")});if(!n.length)return;const s=n.map(function(t){return{el:t,target:universalBlockAnimMotionTarget(t),pathX:parseFloat(universalBlockAnimAttrByRes(t,"prx-dx"))||0,pathY:parseFloat(universalBlockAnimAttrByRes(t,"prx-dy"))||0,curX:0,curY:0,destX:0,destY:0}});document.body.addEventListener("mousemove",function(t){const e=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,i=(e/2-t.clientX)/(e/2),o=(n/2-t.clientY)/(n/2);s.forEach(function(t){t.destX=Math.round(t.pathX*i),t.destY=Math.round(t.pathY*o)})},{passive:!0}),requestAnimationFrame(e)}function universalBlockInitFixing(t){function e(){const t=window.pageYOffset;s.forEach(function(e){const n=t+e.triggerOffset;n>=e.topOffset&&n<e.end?(e.sticky.style.position="fixed",e.sticky.style.top=e.triggerOffset+"px",e.sticky.style.left=e.el.getBoundingClientRect().left+"px",e.sticky.style.width=e.el.offsetWidth+"px",e.sticky.style.transform=""):n>=e.end?(e.sticky.style.position="",e.sticky.style.top="",e.sticky.style.left="",e.sticky.style.width="",e.sticky.style.transform=e.distance?`translateY(${e.distance}px)`:""):(e.sticky.style.position="",e.sticky.style.top="",e.sticky.style.left="",e.sticky.style.width="",e.sticky.style.transform="")})}const n=Array.from(document.querySelectorAll(".sb-elem[data-settings-anim-fix]")).filter(function(e){return(!t||"y"===e.getAttribute("data-settings-anim-mobile"))&&""!==e.getAttribute("data-settings-anim-fix")});if(!n.length)return;const s=n.map(function(t){const e=t.getBoundingClientRect().top+window.pageYOffset,n=parseFloat(t.getAttribute("data-settings-anim-fix"))||0,s=parseFloat(t.getAttribute("data-settings-anim-fix-dist"))||0;let i=parseFloat(t.getAttribute("data-settings-anim-fix-trgofst"))||0;const o=window.innerHeight||document.documentElement.clientHeight;.5!==n&&1!==n||(i+=o*n-t.offsetHeight*n);let r=t.querySelector(".sb-ub-fix-wrap");if(!r){for(r=document.createElement("div"),r.className="sb-ub-fix-wrap",r.style.width="100%",r.style.height="100%";t.firstChild;)r.appendChild(t.firstChild);t.appendChild(r)}return{el:t,sticky:r,topOffset:e,end:e+s,triggerOffset:i,distance:s}});e(),window.addEventListener("scroll",e,{passive:!0}),window.addEventListener("resize",e)}function universalBlockInitSbsAnimations(t){function e(t){const e=t.map(function(t){return{mx:parseFloat(t.mx)||0,my:parseFloat(t.my)||0,sx:null==t.sx?1:parseFloat(t.sx),sy:null==t.sy?1:parseFloat(t.sy),op:null==t.op?1:parseFloat(t.op),ro:parseFloat(t.ro)||0,bl:parseFloat(t.bl)||0,fix:"fixed"===t.fi,di:parseFloat(t.di)||0}});if(!e.length)return[];let n=e[0].mx,s=e[0].my,i=e[0].ro;e.forEach(function(t){const e=t.mx-n;t.mx=e,n+=e;const o=t.my-s;t.my=o,s+=o;const r=t.ro-i;t.ro=r,i+=r});let o=0;return e.map(function(t){const e={styles:t,dist:t.di,prevUnfixedDist:o,start:0,end:0,state:"unactive"};return t.fix||(o+=t.di),e})}function n(t){let e=t.querySelector(":scope > .sb-ub-sbs-fix-wrap");if(e)return e;const n=t.querySelector(":scope > .sb-child");if(e=document.createElement("div"),e.className="sb-ub-sbs-fix-wrap",e.style.width=t.offsetWidth+"px",e.style.height=t.offsetHeight+"px",e.style.display="inherit",n)t.insertBefore(e,n),e.appendChild(n);else{for(;t.firstChild;)e.appendChild(t.firstChild);t.appendChild(e)}return e}function s(t,e){if(e.fixed)return;const n=t.getBoundingClientRect();e.topOffset=n.top+window.pageYOffset,e.left=n.left,e.width=t.offsetWidth,e.height=t.offsetHeight}function i(t,e,n,s,i){const o=e.styles;if(o.fix&&"started"===e.state&&(t.fix=!0,t.fixedShiftY=0),o.fix&&"finished"===e.state&&(t.fix=!1,t.fixedShiftY
1+=e.dist/(s||1)),o.fix&&"unactive"===e.state){if(i>0&&t.fix)return;t.fix=!1}t.opacity+=n*(o.op-t.opacity),t.blur+=n*(o.bl-t.blur),t.mx+=n*o.mx,t.my+=n*o.my,t.sx+=n*(o.sx-t.sx),t.sy+=n*(o.sy-t.sy),t.ro+=n*o.ro}function o(){const t=window.innerHeight||document.documentElement.clientHeight,e=window.pageYOffset||document.documentElement.scrollTop||0;f.forEach(function(o){const r=o.__ubSbsScroll;if(!r.steps||!r.steps.length)return;s(o,r);let a=r.trgofst||0;.5!==r.trg&&1!==r.trg||(a+=t*r.trg,a>r.topOffset&&a<=t*r.trg&&(a=r.topOffset)),r.steps.forEach(function(t,e){t.start=0===e?r.topOffset:r.steps[e-1].end,t.end=t.start+t.dist});const l=e+a,c={opacity:1,blur:0,fix:!1,fixedShiftY:0,mx:0,my:0,sx:1,sy:1,ro:0,prevUnfixedDist:0};r.steps.forEach(function(t,e){const n=l>=t.start,s=l<t.start,o=t.end<=l;if(n&&!o){t.state="started";const n=0===t.dist?1:(l-t.start)/t.dist;c.prevUnfixedDist=t.prevUnfixedDist,i(c,t,n,1,e)}else o?(t.state="finished",i(c,t,1,1,e)):!s||"started"!==t.state&&"finished"!==t.state?s&&(t.state="unactive",i(c,t,0,1,e)):(t.state="unactive",i(c,t,0,1,e))}),r.steps[1]&&0===r.steps[1].dist&&0===r.steps[1].styles.op&&"unactive"===r.steps[1].state&&(c.opacity=0);const d=r.steps.some(function(t){return t.styles.fix})?n(o):o.querySelector(":scope > .sb-ub-sbs-fix-wrap"),u=d||universalBlockAnimMotionTarget(o),f=universalBlockAnimMotionTarget(o);d&&f&&f!==d&&(f.style.transform="none",f.style.opacity="",f.style.filter="");const m=parseFloat(r.baseRotate)||0,p=c.ro+m;let g="";c.mx&&(g+=`translateX(${c.mx}px)`),(c.my||c.fixedShiftY)&&(g+=`translateY(${c.my+c.fixedShiftY}px)`),1===c.sx&&1===c.sy||(g+=`scale(${c.sx},${c.sy})`),p&&(g+=`rotate(${p}deg)`),u.style.transform=g||"none",u.style.opacity=String(c.opacity),u.style.filter=c.blur?`blur(${c.blur}px)`:"none",u.style.transformOrigin="center center",d&&(c.fix?("fixed"!==d.style.position&&(d.style.position="fixed",d.style.top=a-c.prevUnfixedDist+"px",d.style.left=(null!=r.left?r.left:o.getBoundingClientRect().left)+"px",d.style.width=(r.width||o.offsetWidth)+"px",d.style.height=(r.height||o.offsetHeight)+"px",d.style.zIndex=r.zIndex||"1"),d.style.willChange="transform"):"fixed"===d.style.position&&(d.style.position="",d.style.top="",d.style.left="",d.style.width=(r.width||o.offsetWidth)+"px",d.style.height=(r.height||o.offsetHeight)+"px",d.style.zIndex="",d.style.willChange="",r.zIndex&&(o.style.zIndex=r.zIndex),r.fixed=!1,s(o,r))),r.fixed=!!c.fix})}function r(){m||(m=requestAnimationFrame(function(){m=0;const t=window.pageYOffset||document.documentElement.scrollTop||0;t!==p&&(p=t,o())}))}const a=Array.from(document.querySelectorAll(".sb-elem[data-settings-anim-sbs-opts], .sb-elem[data-settings-anim-sbs-event]"));if(!a.length)return;let l=document.getElementById("sb-ub-sbs-keyframes");l||(l=document.createElement("style"),l.id="sb-ub-sbs-keyframes",document.head.appendChild(l));let c="";a.forEach(function(e,n){if(t&&"y"!==e.getAttribute("data-settings-anim-mobile"))return;const s=universalBlockParseSbsOpts(universalBlockAnimAttrByRes(e,"sbs-opts")||e.getAttribute("data-settings-anim-sbs-opts"));if(!s.length)return;const i=universalBlockAnimAttrByRes(e,"sbs-event")||e.getAttribute("data-settings-anim-sbs-event")||"intoview",o=universalBlockAnimAttrByRes(e,"sbs-loop")||e.getAttribute("data-settings-anim-sbs-loop")||"",r=parseFloat(universalBlockAnimAttrByRes(e,"sbs-trg")||e.getAttribute("data-settings-anim-sbs-trg")||"1"),a=parseFloat(universalBlockAnimAttrByRes(e,"sbs-trgofst")||e.getAttribute("data-settings-anim-sbs-trgofst")||"0")||0,l=e.getAttribute("data-settings-transform-rotate")||"0";if("scroll"===i||s.some(function(t){return null!=t.di&&null==t.ti}))return void(e.__ubSbsScroll={opts:s,trg:r,trgofst:a,baseRotate:l});const d=s.map(function(t){return parseFloat(t.ti)||0}),u=d.reduce(function(t,e){return t+e},0);if(u<=0)return;s[1]&&0===d[1]&&0===parseFloat(s[1].op)&&(s[0].op=0);const f=`sbUbSbs${n}_${(e.getAttribute("data-id")||"").replace(/[^a-zA-Z0-9_-]/g,"")}`,m={mx:parseFloat(s[0].mx)||0,my:parseFloat(s[0].my)||0,ro:parseFloat(s[0].ro)||0};let p="",g=0;s.forEach(function(t,e){g+=d[e];const n=e===s.length-1?100:g/u*100,i=universalBlockSbsStepCss(t,l,m),o=e<s.length-1&&s[e+1].ea||"",r="easeOut"===o?"ease-out":"easeIn"===o?"ease-in":"easeInOut"===o?"ease-in-out":"bounceFin"===o?"cubic-bezier(0.34, 1.61, 0.7, 1)":"linear";p+=`${n}%{transform:${i.transform};opacity:${i.opacity};
1filter:${i.filter};animation-timing-function:${r};}`}),c+=`@keyframes ${f}{${p}}`;const b=universalBlockAnimMotionTarget(e);b.style.transformOrigin="center center",s[1]&&0===d[1]&&0===parseFloat(s[1].op)&&(b.style.opacity="0");const y=u<=0?1e-5:u/1e3,h="loop"===o||"loopwithreverse"===o,x="loopwithreverse"===o;if(e.__ubSbsPlay=function(t){const n="reverse"===t;!n&&"hover"!==i&&e.classList.contains("sb-sbs-started")||(n||e.classList.add("sb-sbs-started"),b.style.animation="none",b.offsetWidth,b.style.animationName=f,b.style.animationDuration=y+"s",b.style.animationTimingFunction="linear",b.style.animationDelay="0s",b.style.animationIterationCount=h&&!n?"infinite":"1",b.style.animationDirection=n?"reverse":x?"alternate":"normal",b.style.animationFillMode=h&&!n?"none":"forwards")},"hover"===i){const t=(e.getAttribute("data-settings-anim-sbs-trgels")||"").split(",").map(function(t){return t.trim()}).filter(Boolean);(t.length?t.map(function(t){return document.querySelector('.sb-elem[data-id="'+t+'"]')}).filter(Boolean):[e]).forEach(function(t){t.classList.add("sb-sbs-anim-trigger_hover"),t.addEventListener("mouseenter",function(){"once"===o&&e.classList.contains("sb-sbs-started")||e.__ubSbsPlay("forward")}),"noreverse"!==o&&"once"!==o&&t.addEventListener("mouseleave",function(){e.__ubSbsPlay("reverse")})})}else if("click"===i){const t=(e.getAttribute("data-settings-anim-sbs-trgels")||"").split(",").map(function(t){return t.trim()}).filter(Boolean);(t.length?t.map(function(t){return document.querySelector('.sb-elem[data-id="'+t+'"]')}).filter(Boolean):[e]).forEach(function(t){t.classList.add("sb-sbs-anim-trigger_click"),t.style.cursor="pointer",t.addEventListener("click",function(){if("once"!==o){if("noreverse"===o)return e.classList.remove("sb-sbs-started","sb-sbs-reversed"),void e.__ubSbsPlay("forward");e.classList.contains("sb-sbs-started")&&!e.classList.contains("sb-sbs-reversed")?(e.__ubSbsPlay("reverse"),e.classList.add("sb-sbs-reversed")):(e.classList.remove("sb-sbs-started","sb-sbs-reversed"),e.__ubSbsPlay("forward"))}else{if(e.classList.contains("sb-sbs-started"))return;e.__ubSbsPlay("forward")}})})}else{const t=e.getBoundingClientRect(),n=e.closest(".sb-universal-section")||e.closest(".sb-universal-section-content"),s=n?n.getBoundingClientRect():null;e.__ubSbsIntoView={topOffset:t.top+window.pageYOffset,blockTop:s?s.top+window.pageYOffset:t.top+window.pageYOffset,useBlock:"blockintoview"===i,trg:Number.isFinite(r)?r:1,trgofst:a}}}),c&&(l.textContent+=c);const d=a.filter(function(t){return t.__ubSbsIntoView});if(d.length){function u(){const t=window.innerHeight||document.documentElement.clientHeight,e=window.pageYOffset;d.forEach(function(n){if(!n.__ubSbsIntoView||n.classList.contains("sb-sbs-started"))return;const s=n.__ubSbsIntoView,i=n.getBoundingClientRect();if(s.topOffset=i.top+e,s.useBlock){const t=n.closest(".sb-universal-section")||n.closest(".sb-universal-section-content");t&&(s.blockTop=t.getBoundingClientRect().top+e)}const o=(Number.isFinite(s.trg)?s.trg:1)*t+(s.trgofst||0),r=s.useBlock?s.blockTop:s.topOffset;e+o>=r&&(n.__ubSbsPlay(),n.__ubSbsIntoView=null)})}u(),window.addEventListener("scroll",u,{passive:!0}),window.addEventListener("resize",u)}const f=a.filter(function(t){return t.__ubSbsScroll});if(!f.length)return;f.forEach(function(t){const i=t.__ubSbsScroll;i.steps=e(i.opts),i.steps.some(function(t){return t.styles.fix})&&(n(t),i.zIndex||(i.zIndex=getComputedStyle(t).zIndex||"1")),s(t,i),i.steps.forEach(function(t,e){t.start=0===e?i.topOffset:i.steps[e-1].end,t.end=t.start+t.dist,t.state="unactive"})});let m=0,p=-1;o(),p=window.pageYOffset||document.documentElement.scrollTop||0,window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",function(){p=-1,f.forEach(function(t){t.__ubSbsScroll.fixed=!1;const e=t.querySelector(":scope > .sb-ub-sbs-fix-wrap");e&&(e.style.position="",e.style.top="",e.style.left="",e.style.zIndex="",e.style.width=t.offsetWidth+"px",e.style.height=t.offsetHeight+"px"),s(t,t.__ubSbsScroll)}),o()})}document.addEventListener("DOMContentLoaded",function(){$(document).on("newMLTimeoutCompleted",function(){universalBlockPosition(),universalBlockInitGallery(),universalBlockHydrateHtmlEmbeds(),universalBlockInitAnimations(),"function"==typeof init_phone_input&&init_phone_input()})});
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.