var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); "use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1392],{20189:function(e,t,n){n.d(t,{RD:function(){return p},bU:function(){return h},l1:function(){return a},mt:function(){return f},od:function(){return s},tu:function(){return l},xO:function(){return u}}),n(92222),n(41539),n(64211),n(2490),n(41874);var r=n(5834),o=n(71810),i=n(35421);function c(e,t){return function(n,c){r.h||i.Z.execute(t,{type:t,target:{type:o.vR.LcAnalytics},action:o.IE.ReachGoal,data:{goals:e,params:n}},{nativeEvent:c})}}function a(e,t){c(o.nB.ClickPage,o.TD.OnClick)(e,t)}function s(e,t){c(o.nB.SubmitPage,o.TD.OnSubmit)(e,t)}function u(e,t){c(o.nB.HoverPage,o.TD.OnHover)(e,t)}function l(e,t){c(o.nB.ChangeTabsPage,o.TD.OnTabChange)(e,t)}function f(e,t){var n=t?o.TD.OnModalOpen:o.TD.OnModalClose;c(t?o.nB.ModalOpenPage:o.nB.ModalClosePage,n)(e)}function p(e,t){var n="".concat(e,":").concat(t),r=e===t?{yes:n}:{no:n};c(o.nB.LpcBreakpoints,o.TD.OnPageLoad)({matchedBp:r})}function h(e){return e.some((function(e){return e.action===o.IE.OpenModal}))}},93340:function(e,t,n){n.d(t,{Hd:function(){return o},Q2:function(){return r},xn:function(){return i}});var r=function(e){return e.Light="light",e.Dark="dark",e}({}),o=function(e){return e.None="none",e.Logo="logo",e.Icon="icon",e.LogoIcon="logoIcon",e.LogoIconV2="logoIconV2",e.Link="link",e.Button="button",e}({}),i=function(e){return e.MainOnly="main",e.BurgerOnly="burger",e.MainAndBurger="both",e}({})},81826:function(e,t,n){n.d(t,{gU:function(){return ne}}),n(41539),n(81299),n(12419),n(47941),n(82526),n(57327),n(88449),n(2490),n(59849),n(38880),n(57658),n(15581),n(34514),n(54747),n(49337);var r=n(45987),o=n(84506),i=n(15671),c=n(43144),a=n(97326),s=n(60136),u=n(82963),l=n(61120),f=n(4942),p=(n(47042),n(69600),n(21249),n(57640),n(9924),n(29254),n(34553),n(87363)),h=n(24695),d=n(14134),v=n(46127),g=n(26e3),m=n(78251),y=n(77842),O=n(1395),b=n(86507),x=n(87756),j=n(12818),k=n(83391),w=n(44485),P=n(44264),L=n(46513),Z=n(31442),I=n(28802),R=n(52247),C=n(87829),B=n(88233),D=n(94691),S=n(78676),A=n(82811),N=n(43862),H=n(85893),E=["className","direction"];function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){(0,f.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=(0,d.Z)("lc-lang-switcher-select"),W=new j.Registry({id:(0,k.T)()}),V=new j.Registry({id:(0,k.T)()}),_=(0,x.compose)(P.K,L.H)(Z.z),G=(0,x.compose)(I.H,R.G)(C.v),U=(0,x.compose)(B.j,D.R)(S.G),K=(0,x.compose)(A.z)(N.J);W.set("Trigger",_).set("Menu",G).set("Icon",K).set("Popup",(function(e){return(0,H.jsx)(U,z(z({},e),{},{className:T("popup")(),nonvisual:!0}))})),V.set("Trigger",_).set("Menu",G).set("Icon",K).set("Popup",(function(e){return(0,H.jsx)(U,z(z({},e),{},{className:T("popup")(),direction:"top",nonvisual:!0}))}));var Y=(0,x.compose)(w.l,(0,j.withRegistry)(W))(k.P),q=(0,x.compose)(w.l,(0,j.withRegistry)(V))(k.P),F=function(e){var t=e.className,n=e.direction,o=(0,r.Z)(e,E),i=[];void 0!==t&&i.push(t);var c=T.mix(i)(),a=p.useMemo((function(){return"top"===n?q:Y}),[n]);return(0,H.jsx)(a,z(z({size:"m",view:"default",iconProps:{glyph:"type-arrow"}},o),{},{className:c}))},$=function(e){return e.Auto="auto",e.Link="link",e}({}),J=["text"];function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach((function(t){(0,f.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ee=(0,d.Z)("lc-lang-switcher"),te=function(e){(0,s.Z)(h,e);var t,n,p=(t=h,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,u.Z)(this,e)});function h(e){var t;return(0,i.Z)(this,h),t=p.call(this,e),(0,f.Z)((0,a.Z)(t),"handleLangSelect",(function(e){t.props.isPreview||((0,O.z)()&&(0,b.b)("lpc-switch-lang",{lang:e.target.value}),document.cookie=t.buildLocalizationCookie(e.target.value),location.reload())})),t.setDomainAndPathWithProjectPath(e.rootProjectPath),t}return(0,c.Z)(h,[{key:"setDomainAndPathWithProjectPath",value:function(e){if(this.path="/",e&&e.length){var t=(0,o.Z)(e),n=t[0],r=t.slice(1);n!==y.lE?(this.domain=n,r.length&&(this.path+=r.join("/"))):this.path+="promo/".concat(e.join("/"))}}},{key:"buildLocalizationCookie",value:function(e){var t="lpc_localization_lang=".concat(e);return this.path&&(t+="; path=".concat(this.path)),this.domain&&(t+="; domain=".concat(this.domain)),t}},{key:"createAutoOptions",value:function(){var e=this.props.localizationLangs;return(void 0===e?[]:e).map((function(e){return{value:e,content:e}}))}},{key:"createLinksOptions",value:function(){var e=this.props.manualLangs;return(void 0===e?[]:e).map((function(e){var t=e.link,n=t.text,o=(0,r.Z)(t,J);return{value:n,content:(0,H.jsx)(g.h,X(X({},o),{},{children:(0,H.jsx)(m.E,X({},n))}))}}))}},{key:"isAutoMode",value:function(){return this.props.mode===$.Auto}},{key:"render",value:function(){var e,t=this.props,n=t.localizationLang,r=t.theme,o=t.portalRef,i=t.direction,c=t.manualLangs,a=void 0===c?[]:c,s=this.isAutoMode(),u=s?this.createAutoOptions():this.createLinksOptions();if(s&&!u.length)return null;var l=a.findIndex((function(e){return e.isDefault})),f=null===(e=a[l])||void 0===e?void 0:e.link.text,p=!s&&f?(0,H.jsx)(m.E,X({},f)):void 0,h=s?n:f;return(0,H.jsx)("div",{className:ee(),children:(0,H.jsx)(F,{className:ee("select",{theme:r})(),value:h,placeholder:p,showAlwaysPlaceholder:!s,options:u,onChange:s?this.handleLangSelect:void 0,unsafe_scope:o,direction:i})})}}]),h}(p.PureComponent),ne=(0,v.K)((function(e){return{rootProjectPath:(0,h.y0)(e).rootProjectPath}}))(te)},48638:function(e,t,n){n.r(t),n.d(t,{LcLogoBlock:function(){return _},LcLogoBlockComponent:function(){return V}}),n(41539),n(81299),n(12419),n(47941),n(82526),n(57327),n(88449),n(2490),n(59849),n(38880),n(57658),n(15581),n(34514),n(54747),n(49337);var r=n(71002),o=n(15671),i=n(43144),c=n(97326),a=n(60136),s=n(82963),u=n(61120),l=n(4942),f=(n(92222),n(26699),n(32023),n(87363)),p=n(14134),h=n(63487),d=n(62912),v=n(24695),g=(n(23157),n(25387),n(72608),n(87735)),m=n(61339),y=n(50439),O=n(69457),b=function(e){return e.Light="light",e.Dark="dark",e}({}),x=function(e){return e.Logo="logo",e.Icon="icon",e.LogoIcon="logoIcon",e.LogoIconV2="logoIconV2",e}({}),j=n(88359),k=n(13258),w=(n(74916),n(4723),n(15306),n(93340)),P=/^(ЯндекÑ|Yandex)/i,L={ru:"ЯндекÑ",en:"Yandex"};function Z(e){return"en"===e?"https://webcf.waybackmachine.org/web/20240518174614/https://yandex.com":"https://webcf.waybackmachine.org/web/20240518174614/https://ya.ru"}function I(e,t,n){var r=e.match(P),o=Z(t);return r?[{text:r[0],url:o},{text:e.replace(P,""),url:n}]:[{text:e,url:n}]}var R=n(85893);var C=(0,p.Z)("lc-logo"),B=function(e){(0,a.Z)(f,e);var t,n,r=(t=f,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function f(){var e;(0,o.Z)(this,f);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e=r.call.apply(r,[this].concat(n)),(0,l.Z)((0,c.Z)(e),"buildSingleLogo",(function(t){var n=t.text,r=t.params,o=t.url,i=e.props,c=i.size,a=void 0===c?"normal":c,s=i.openInNewTab,u=void 0!==s&&s,l=i.isYandexBlack,f=void 0!==l&&l,p=i.isFirstLetterRed,h=void 0!==p&&p,d=i.isCompactVersion,v=void 0!==d&&d,y=i.firstLetterColor,b=i.circleColor,x=i.isNewLogo,w=r.single,P=r.startGap,L=r.endGap,Z=e.getColor(),I={size:a,color:Z};f&&!x&&(I.first=Z),h&&w&&(I.first="red"),v&&(I.first=y,I.circle=b);var B=x?"v2/":"",D=(0,R.jsx)(O.a,{className:C("img")(),value:"//webcf.waybackmachine.org/web/20240518174614/https://yastatic.net/q/logoaas/".concat(B).concat(P).concat(n).concat(L,".svg?").concat((0,g.stringify)(I)),useThumbnail:!1,alt:n},n);if(o){var S=(0,k.AO)(o,u);return(0,R.jsx)("a",{className:C("link")(),href:o,title:n,target:S===j.U.Self?void 0:S,onClick:function(e){null!=o&&o.startsWith("#")&&(e.preventDefault(),e.stopPropagation(),(0,m.dP)(o))},children:D},n)}return D})),e}return(0,i.Z)(f,[{key:"render",value:function(){var e=this,t=this.props,n=t.lang,r=t.text,o=t.url,i=t.mix,c=void 0===i?"":i,a=t.startGap,s=void 0===a?"":a,u=t.endGap,l=void 0===u?"":u,f=I(r,n,o),p=2===f.length&&!f[1].text,h=f.filter((function(e){return e.text})),d=h.reduce((function(t,n,r){return n.text&&t.push(e.buildSingleLogo({text:n.text,url:n.url,params:{single:p,startGap:0===r?s:"",endGap:r===h.length-1?l:""}})),t}),[]);return(0,R.jsx)("span",{className:C.mix(c)(),children:d})}},{key:"getColor",value:function(){return this.props.theme===b.Dark?"fff":"000"}}]),f}(f.PureComponent),D=(0,h.qC)((0,y.$)("LcLogo"))(B),S=n(5322),A=n(8729),N=n(47330),H=n(30633),E=n(46127);function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=(0,p.Z)("lc-logo-block"),W=[x.LogoIcon,x.LogoIconV2,w.Hd.LogoIcon,w.Hd.LogoIconV2],V=(0,E.K)((function(e){return{lang:(0,v.y0)(e).lang===d.wu.English?d.wu.English:d.wu.Russian}}))(function(e){(0,a.Z)(p,e);var t,n,f=(t=p,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function p(){var e;(0,o.Z)(this,p);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e=f.call.apply(f,[this].concat(n)),(0,l.Z)((0,c.Z)(e),"renderLogo",(function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=e.props,o=n.align,i=n.suite,c=n.logo,a=n.logoIcon,s=n.logoIconV2,u=n.isYandexBlack,l=n.theme,f=n.lang,p=void 0===f?d.wu.Russian:f,h=n.hasWrapper,v=void 0===h||h,g=n.mix,m=void 0===g?"":g,y=c.isCompactVersion,O=c.firstLetterColor,b=c.circleColor,j=W.includes(i),k=t?d.MH.S:d.MH.M,P="logoIcon"!==i,C=P&&s||a,B=([x.Icon,w.Hd.Icon].includes(i)||j)&&C,A=([x.Logo,w.Hd.Logo].includes(i)||j)&&c,N=function(e,t){return[w.Hd.LogoIcon,x.LogoIcon].includes(t)?e?22:29.5:e?17.5:25}(t,i),H=I(c.text,p,c.url),E=!1;return i!==x.LogoIconV2||y||(E=Boolean(2===H.length&&H[1].text)),(0,R.jsxs)("span",{className:T("logo-container",z({mobile:t,desktop:!t},o&&{align:o})).mix(v?"":m)(),children:[E&&(0,R.jsx)(D,z(z({},c),{},{lang:p,endGap:" ",theme:l,size:N,isNewLogo:P,text:H[0].text,mix:T("logo",{mobile:t,desktop:!t})()})),j&&y&&(0,R.jsx)(D,{lang:p,url:Z(p),size:N,circleColor:b,isCompactVersion:y,firstLetterColor:O,mix:T("logo",{mobile:t,desktop:!t,size:k})(),isNewLogo:P,text:L[p],endGap:"%E2%80%AF"}),B&&"object"===(0,r.Z)(C)&&C.image.url&&(0,R.jsx)(S.W,z(z({},C),{},{size:k,isNewLogo:P,mix:T("logo-icon",{new:P,old:!P,mobile:t,desktop:!t})()})),A&&(0,R.jsx)(D,z(z({},c),{},{lang:p,theme:l,size:N,isNewLogo:P,isCompactVersion:!1,isYandexBlack:u,isFirstLetterRed:!j&&c.isFirstLetterRed,mix:T("logo",{new:P,mobile:t,desktop:!t})(),text:E?H[1].text:c.text,startGap:P&&j&&!E?" ":""}))]})})),e}return(0,i.Z)(p,[{key:"render",value:function(){var e=this.props,t=e.theme,n=e.content,r=e.mix,o=void 0===r?"":r,i=e.hasWrapper,c=void 0===i||i,a=e.mobile,s=void 0!==a&&a;return c?(0,R.jsxs)("div",{className:T(z({theme:t},n&&{content:n})).mix(o)(),children:[this.renderLogo(),this.renderLogo(!0)]}):this.renderLogo(s)}}]),p}(f.PureComponent)),_=(0,h.qC)((0,y.$)("LcLogoBlock"),A.H,H.W,N.V)(V)},32812:function(e,t,n){n.d(t,{B:function(){return L}}),n(81299),n(12419),n(47941),n(82526),n(57327),n(88449),n(59849),n(38880),n(15581),n(34514),n(54747),n(49337);var r=n(45987),o=n(15671),i=n(43144),c=n(97326),a=n(60136),s=n(82963),u=n(61120),l=n(4942),f=(n(92222),n(21249),n(57640),n(9924),n(69826),n(41539),n(31672),n(2490),n(59461),n(2707),n(25387),n(72608),n(57658),n(87363)),p=n(96486),h=n(14134),d=n(26e3),v=n(88359),g=n(72150),m=n(15925),y=n(78251),O=n(61339),b=n(29845),x=n(85893),j=["type","text","events","subLinks"];function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P=(0,h.Z)("lc-navigation-menu"),L=function(e){(0,a.Z)(k,e);var t,n,h=(t=k,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function k(){var e;(0,o.Z)(this,k);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=h.call.apply(h,[this].concat(n)),(0,l.Z)((0,c.Z)(e),"sections",[]),(0,l.Z)((0,c.Z)(e),"itemRefs",[]),(0,l.Z)((0,c.Z)(e),"state",{activeItemIndex:null,openedSubMenuItem:null}),(0,l.Z)((0,c.Z)(e),"renderItem",(function(t,n){var r=e.props,o=r.activation,i=r.items,c=r.itemsGap,a=r.layout,s=e.state.activeItemIndex,u=o&&null===s||s===n,f=n===i.length-1,p=a===b.B.Horizontal?"marginRight":"marginBottom",h=(0,l.Z)({},p,f?0:c);return(0,x.jsx)("li",{ref:e.setItemRef(n),className:P("item",{layout:a})(),style:h,children:e.renderLink(t,u)},"lc-link:nav:".concat(n))})),(0,l.Z)((0,c.Z)(e),"getItemClickHandler",(function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(r){var o=e.props,i=o.onItemClick,c=o.shouldOpenSubMenuOnClick;if(i(t,r),c){var a=e.state.openedSubMenuItem;e.setState({openedSubMenuItem:n&&a!==t?t:null})}}})),(0,l.Z)((0,c.Z)(e),"handleScroll",(0,p.throttle)((function(){e.updateActiveItemIndex()}),300)),e}return(0,i.Z)(k,[{key:"componentDidMount",value:function(){this.props.highlightActiveItem&&(this.addWindowListeners(),this.updateActiveItemIndex()),this.findSections()}},{key:"componentWillUnmount",value:function(){this.removeWindowListeners()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.highlightActiveItem,r=t.onActiveChange,o=this.state.activeItemIndex;if(n!==e.highlightActiveItem&&(n?this.addWindowListeners():this.removeWindowListeners()),r){var i=this.itemRefs[o||0];r(o,null!==o&&i?i.current:null)}}},{key:"setItemRef",value:function(e){return this.itemRefs[e]||(this.itemRefs[e]=f.createRef()),this.itemRefs[e]}},{key:"renderLink",value:function(e,t){var n=this,o=e.type,i=e.text,c=e.events,a=e.subLinks,s=void 0===a?[]:a,u=(0,r.Z)(e,j),l=this.props,f=l.renderLinkContentWrapper,p=l.shouldOpenSubMenuOnClick,h={active:t,opened:!1},O=w({font:l.font,size:l.size,typeface:l.typeface},l.linkStyle),b=(0,x.jsx)(y.E,w({},i));if(o===v.A.Sublinks){var k=this.state.openedSubMenuItem;return h.opened=k===e,h["open-on"]=p?"click":"hover",b=(0,x.jsxs)("span",{className:P("submenu-link-text")(),children:[b,(0,x.jsx)(g.e,{className:P("submenu-arrow")(),icon:m.T.ArrowDownBold,iconSize:[12,12],ariaHidden:!0})]}),(0,x.jsxs)(d.h,{className:P("link",h)(),events:c,onClick:this.getItemClickHandler(e,!0),textStyle:O,children:[f?f({linkContent:b,link:e,active:!1}):b,(0,x.jsx)("ul",{className:P("submenu")(),children:s.map((function(e,t){return(0,x.jsx)("li",{children:n.renderLink(e,!1)},t)}))})]})}return(0,x.jsx)(d.h,w(w({},u),{},{type:o,events:c,className:P("link",h)(),onClick:this.getItemClickHandler(e),textStyle:O,children:f?f({linkContent:b,link:e,active:t}):b}))}},{key:"render",value:function(){var e=this.props,t=e.mix,n=void 0===t?"":t,r=e.items;return(0,x.jsx)("nav",{className:P.mix(n)(),children:(0,x.jsx)("ul",{className:P("wrapper")(),children:r.map(this.renderItem)})})}},{key:"getContainerHeight",value:function(){var e=this.props.container;return e&&e.current?e.current.clientHeight:0}},{key:"getOffsetTopByScreen",value:function(e){return e.el.getBoundingClientRect().top}},{key:"getSectionViewportOffset",value:function(e){var t=this.sections.indexOf(e),n=this.sections[t+1],r=e.el.getBoundingClientRect(),o=r.bottom,i=r.height;if(n){var c=n.el.getBoundingClientRect().top;c-o>10&&(o=c)}var a=Math.max(document.documentElement.clientHeight||0,window.innerHeight||0),s=this.sections[this.sections.length-1],u=s.el.getBoundingClientRect(),l=u.bottom,f=u.top,h=u.height;return!(0,p.isEqual)(s,e)&&l<=a&&f>=0&&h<=a?0:o-Math.min(i,a)/2}},{key:"calculateActiveItemIndex",value:function(){var e=this,t=this.getContainerHeight();if(!(0,O.cx)())return null;var n=this.sections.sort((function(t,n){return e.getOffsetTopByScreen(t)-e.getOffsetTopByScreen(n)})).find((function(n){return e.getSectionViewportOffset(n)>=t}));return n?n.index:null}},{key:"updateActiveItemIndex",value:function(){var e=this.calculateActiveItemIndex();this.setState({activeItemIndex:e})}},{key:"addWindowListeners",value:function(){window.addEventListener("scroll",this.handleScroll)}},{key:"removeWindowListeners",value:function(){window.removeEventListener("scroll",this.handleScroll)}},{key:"findSections",value:function(){this.sections=this.props.items.reduce((function(e,t,n){if(t.type!==v.A.Section||!t.url)return e;var r=document.getElementById(t.url.substr(1));return r&&e.push({el:r,index:n}),e}),[])}}]),k}(f.PureComponent);(0,l.Z)(L,"defaultProps",{activation:!1,highlightActiveItem:!1,itemsGap:16,layout:b.B.Horizontal,onItemClick:function(){}})},29845:function(e,t,n){n.d(t,{B:function(){return r}});var r=function(e){return e.Horizontal="horizontal",e.Vertical="vertical",e}({})},5322:function(e,t,n){n.d(t,{W:function(){return k}}),n(41539),n(81299),n(12419),n(47941),n(82526),n(57327),n(88449),n(2490),n(59849),n(38880),n(57658),n(15581),n(34514),n(54747),n(49337);var r=n(4942),o=n(15671),i=n(43144),c=n(60136),a=n(82963),s=n(61120),u=n(87363),l=n(14134),f=n(5196),p=n(69457),h=n(47925),d=n(26e3),v=n(20703),g=n(62912),m=n(13258),y=n(85893);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x=(0,l.Z)("lc-service-icon"),j=function(e){(0,c.Z)(u,e);var t,n,r=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function u(){return(0,o.Z)(this,u),r.apply(this,arguments)}return(0,i.Z)(u,[{key:"render",value:function(){var e,t=this.props,n=t.image,r=t.url,o=t.alt,i=t.withBackground,c=t.size,a=t.mix,s=t.mask,u=t.openInNewTab,l=t.events,f=t.isNewLogo,O=x({"with-background":Boolean(i),size:c||g.MH.M,new:f}).mix(a||"")();if(!i&&(0,h.D3)(n)){var j=(0,h.Wf)(n),k=c===g.MH.S?35:45;f&&(k=c===g.MH.S?21:30),e={width:k*j}}var w=(0,y.jsx)(v.f,{value:s,children:function(t){return(0,y.jsx)(p.a,{value:n,alt:o,className:x("img")(),style:b(b({},t),e),useThumbnail:!1,disableDimensionsAdjusting:!0})}});return r?(0,y.jsx)(d.h,{url:r,className:O,target:(0,m.AO)(r,u),events:l,children:w}):(0,y.jsx)("span",{className:O,children:w})}}]),u}(u.PureComponent);function k(e){return(0,y.jsx)(f.x,{events:e.events,children:(0,y.jsx)(j,b({},e))})}}}]); } /* FILE ARCHIVED ON 17:46:14 May 18, 2024 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 07:38:26 Nov 17, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.715 exclusion.robots: 0.039 exclusion.robots.policy: 0.024 esindex: 0.013 cdx.remote: 6.624 LoadShardBlock: 42.967 (3) PetaboxLoader3.datanode: 84.371 (5) load_resource: 227.588 (2) PetaboxLoader3.resolve: 109.249 (2) */