1(self.webpackChunkaem_module_ui_frontend=self.webpackChunkaem_module_ui_frontend||[]).push([[7278,1937],{6156:(e,t,n)=>{"use strict";function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function s(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(n){void 0===e[n]?e[n]=t[n]:i(t[n])&&i(e[n])&&Object.keys(t[n]).length>0&&s(e[n],t[n])}))}n.d(t,{Me:()=>r,Jj:()=>a});var o={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function r(){var e="undefined"!=typeof document?document:{};return s(e,o),e}var c={document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function a(){var e="undefined"!=typeof window?window:{};return s(e,c),e}},5411:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var i=n(2749),s=n(5789),o=n(3845),r=n(5186),c=n(6584),a=n(2997),l=n(9755),h=n.n(l),d=n(1937);class u extends i.Z{constructor(e){super(e),this.S_LOOP_WORDS=".js-cmp-hero-carousel__loop-words",this.S_CARD_LINK="js-cmp-hero-carousel__navigation__card",this.S_LOOP_WORDS_TEXT=".cmp-hero-carousel__loop-words__text",this.S_WORDS_LIMITER=".cmp-hero-carousel__loop-words__limiter",this.M_CARD_ACTIVE="cmp-hero-carousel__navigation__card--active",this.S_WORDS_LOOP_CENTERED="cmp-hero-carousel__loop-words__text--centered",this.wordsToAnimate=[],this.setLoopWordsSpecs=()=>{this.$loopWords.css("float","left"),this.$loopWords.css("width",""),this.$loopWords.css("height",""),h()(this.S_WORDS_LIMITER,this.$cmp).css("height",""),h()(this.S_LOOP_WORDS_TEXT,this.$cmp).css("height","");const e=h()(this.S_LOOP_WORDS_TEXT,this.$cmp)[0];if(e){const t=["xs","sm"].includes((0,s.Z)()),n=(e.clientWidth||0)+10;let i=e.clientHeight||0,o=e.clientHeight||0;t?o-=10:(i+=10,o+=10),this.$loopWords.css("height",o),h()(this.S_WORDS_LIMITER,this.$cmp).css("height",i),h()(this.S_LOOP_WORDS_TEXT,this.$cmp).css("height",i),this.$loopWords.css("width",n),this.$loopWords.css("float","")}},this.timeOutForReSize=0,o.Z.use([r.Z,c.Z,a.Z]),this.swiperInstance=new o.Z(this.$elements.swipercontainer,{effect:"fade",loop:!0,initialSlide:0,slidesPerView:1,fadeEffect:{crossFade:!0},pagination:{el:this.$elements.pagination,clickable:!0,dynamicBullets:!1},navigation:{prevEl:this.$elements.prevnav,nextEl:this.$elements.nextnav},preventClicks:!1,preventClicksPropagation:!1,preventInteractionOnTransition:!0}),this.$loopWords=h()(this.S_LOOP_WORDS,this.$cmp),this.$cardLinks=this.$cmp.getElementsByClassName(this.S_CARD_LINK),this.$loopWords.length>0&&(this.$loopWords.css("visibility","visible"),Array.from(this.$loopWords).forEach((e=>{this.initAnimator(e)})),this.setLoopWordsSpecs(),this.bindWindowResize()),this.bindEvents()}bindWindowResize(){window.addEventListener("resize",(()=>{clearTimeout(this.timeOutForReSize),this.timeOutForReSize=window.setTimeout(this.setLoopWordsSpecs,200)}),{passive:!0})}initAnimator(e){const t=e;if(this.wordsToAnimate=e.innerText.split("|").map((e=>e.trim())).filter((e=>e.length>0)),this.wordsToAnimate.length>1){this.checkAnimatedWordsAlign(),t.innerText="";const n=h()((0,d.default)(this.wordsToAnimate))[0];e.appendChild(n);const i=n.children[0];let s=i.children[0]||document.createElement("span");this.setLoopWordsSpecs(),setInterval((()=>{s=i.children[0]||document.createElement("span");const e=s.cloneNode(!0);h()(s).css("height",0),i.appendChild(e),window.setTimeout((()=>{i.removeChild(s)}),1e3)}),3e3)}}checkAnimatedWordsAlign(){var e;const t=this.$loopWords[0].closest("p");if(t){const n=null===(e=t.textContent)||void 0===e?void 0:e.split("\n");n&&""===n[0]&&h()(this.S_LOOP_WORDS_TEXT,this.$cmp).addClass(this.S_WORDS_LOOP_CENTERED)}}bindEvents(){this.swiperInstance.on("slideChange",(()=>this.setActiveCard())),h()(this.$cardLinks).on("click",(e=>{e.preventDefault();const t=h()(e.currentTarget).data("slideIndex");this.swiperInstance.slideToLoop(parseInt(t,10))}))}
1setActiveCard(){const e=h()("[data-slide-index]",this.$cmp),t=h()(`[data-slide-index="${this.swiperInstance.realIndex}"]`,this.$cmp);e.removeClass(this.M_CARD_ACTIVE),t.addClass(this.M_CARD_ACTIVE)}}},1937:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});const i=(e=[])=>`<div class="cmp-hero-carousel__loop-words__limiter">\n <span class="cmp-hero-carousel__loop-words__wrapper">\n ${e.map((e=>`<span class="cmp-hero-carousel__loop-words__text">${e}</span>`)).toString().replace(/,/g,"")}\n </span>\n </div>`}}]);
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.