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([[9184],{83616:function(t,e,r){r.d(e,{Bt:function(){return c},Jb:function(){return l},LP:function(){return s},OE:function(){return a},TO:function(){return i},Wh:function(){return d},YZ:function(){return p},bM:function(){return u},bc:function(){return m},k_:function(){return h}}),r(21249),r(57640),r(9924),r(41539),r(25387),r(2490),r(72608),r(9653),r(56977),r(92222),r(69600),r(57658);var n=r(62912),o=r(7833);function i(t){return Boolean(null==t?void 0:t.gridCellSettings)}function u(t){var e=t.rowStart,r=t.columnStart;return(e-1)*t.columnsCount+(r-1)}function a(t){var e=t.point,r=t.gridCells,n=t.columnsCount,o=r.map((function(t){return function(t,e){var r=e.left,n=e.right,o=e.top,i=e.bottom,u=Math.max(r-t.x,0,t.x-n),a=Math.max(o-t.y,0,t.y-i);return Math.sqrt(u*u+a*a)}(e,t)}));return function(t,e){return{row:Math.floor(t/e)+1,column:t%e+1}}(o.reduce((function(t,e,r,n){return e<n[t]?r:t}),0),n)}function c(t){return{leftTopPoint:{x:t.left,y:t.top},rightBottomPoint:{x:t.right,y:t.bottom}}}function s(t){var e=t.gridCells,r=t.position,n=t.columnsCount,o=r.columnStart,i=r.columnEnd,a=r.rowStart,c=r.rowEnd,s=u({rowStart:a,columnStart:o,columnsCount:n}),f=u({rowStart:c-1,columnStart:i-1,columnsCount:n});return{startCell:e[s],endCell:e[f]}}function f(t){return Number(t.toFixed(2))}function l(t,e,r){if(e===n.fb.ViewportHeight){var o=window.innerHeight||document.documentElement.clientHeight;return{unit:n.fb.ViewportHeight,value:String(f(t/o*100))}}if(e===n.fb.ViewportWidth){var i=window.innerWidth||document.documentElement.clientWidth;return{unit:n.fb.ViewportWidth,value:String(f(t/i*100))}}return e===n.fb.Percent?{unit:n.fb.Percent,value:String(f(t/r*100))}:{unit:n.fb.Pixel,value:String(Math.round(t))}}function p(t,e){return{width:e.right-t.left,height:e.bottom-t.top}}function h(t){var e=t.itemProps,r=t.gridCells,o=t.chosenArea,i=t.columnsCount,u=e.sizes,a=u.width,c=u.height,l=e.gridCellSettings.area,h=s({gridCells:r,position:{columnStart:l.gridColumnStart,columnEnd:l.gridColumnEnd,rowStart:l.gridRowStart,rowEnd:l.gridRowEnd},columnsCount:i}),d=p(h.startCell,h.endCell),m=d.width,v=d.height,g=o.width,b=o.height,y=a,w=c;return a.unit===n.fb.Percent&&a.value&&m!==g&&(y={unit:n.fb.Percent,value:String(f(m*Number(a.value)/g))}),c.unit===n.fb.Percent&&c.value&&v!==b&&(w={unit:n.fb.Percent,value:String(f(v*Number(c.value)/b))}),{width:y,height:w}}function d(t){var e=t.itemProps,r=t.itemRect,o=t.chosenArea,i=t.params,u=o.width,a=o.height,c=l(r.width,e.sizes.width.unit,u),s=l(r.height,e.sizes.height.unit,a);return i.isAutoHeight&&(s={unit:n.fb.Auto,value:""}),i.isAutoWidth&&(c={unit:n.fb.Auto,value:""}),{width:c,height:s}}function m(t,e){var r=function(t){var e=t.gap,r=t.gapsCount;return"".concat(Number(e.value)*r).concat(e.unit)}({gap:e,gapsCount:t.length-1}),i="100% - ".concat(r),u=function(t,e,r){return t.map((function(t){return t.unit===n.fb.Percent&&Number(t.value)&&Number(e.value)?{unit:n.fb.Calc,value:"(".concat(r,") * ").concat(Number(t.value)/100)}:t}))}(t,e,i),a=function(t,e){var r=function(t){return t.reduce((function(t,e){return e.unit===n.fb.Fraction&&Number(e.value)&&(t+=Number(e.value)),t}),0)}(t),i=function(t){return t.reduce((function(t,e){return e.unit===n.fb.Calc&&e.value?(t.push("(".concat(e.value,")")),t):e.unit!==n.fb.Fraction&&Number(e.value)?(t.push((0,o.I)(e)),t):t}),[]).join(" + ")}(t);return t.map((function(t){if(t.unit===n.fb.Fraction&&Number(t.value)){var o=i?"(".concat(e," - (").concat(i,"))"):"(".concat(e,")"),u=Number(t.value)/r;return{unit:n.fb.Calc,value:"".concat(o," * ").concat(u)}}return t.unit!==n.fb.Fraction||Number(t.value)?t:{unit:n.fb.Percent,value:"0"}}))}(u,i);return a.map((function(t){return t.unit===n.fb.Auto?{unit:n.fb.MinContent,value:""}:t})).map(o.I).join(" ")}},49184:function(t,e,r){r.r(e),r.d(e,{LcIframe:function(){return W},LcIframeComponent:function(){return A}}),r(41539),r(81299),r(12419),r(47941),r(82526),r(57327),r(88449),r(2490),r(59849),r(38880),r(57658),r(15581),r(34514),r(54747),r(49337);var n=r(15671),o=r(43144),i=r(97326),u=r(60136),a=r(82963),c=r(61120),s=r(4942),f=(r(69600),r(92222),r(68309),r(74916),r(64765),r(87363)),l=r(84564),p=r(80129),h=r(14134),d=r(63487),m=r(17610),v=r(32444),g=r(24695),b=r(13258),y=r(50439),w=r(8729),O=r(46127),P=r(47330),S=r(30633),j=r(23311),C=r(66915),B=r(62912),E=r(94855),k=r(14544),N=(r(24603),r(28450),r(88386),r(39714),r(77601),r(41799));function Z(t){var e=l(t).host,r=["yandex\\.(ru|ua|by|kz|net|com|com\\.tr)"];return N.N&&r.push(window.location.hostname),!new RegExp("^([^.]+\\.)*(".concat(r.join("|"),")$")).test(e)}var R=r(83616),x=r(85893);function L(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?L(Object(r),!0).forEach((function(e){(0,s.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var D=(0,h.Z)("lc-iframe"),H=["allow-forms","allow-scripts","allow-top-navigation","allow-same-origin","allow-presentation"].join(" "),A=function(t){(0,u.Z)(d,t);var e,r,h=(e=d,r=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(t){return!1}}(),function(){var t,n=(0,c.Z)(e);if(r){var o=(0,c.Z)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,a.Z)(this,t)});function d(){var t;(0,n.Z)(this,d);for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return t=h.call.apply(h,[this].concat(r)),(0,s.Z)((0,i.Z)(t),"state",{isMounted:!t.props.deferIframeRender,dynamicHeight:void 0}),(0,s.Z)((0,i.Z)(t),"iframeRef",f.createRef()),(0,s.Z)((0,i.Z)(t),"handleMessage",(function(e){var r=t.props,n=r.src,o=r.id,i=r.onMessage,u=r.onPingMessage,a=l(n).origin,c=e.origin,s=e.data,f=e.source;if(c===a&&f&&t.iframeRef.current){var p,h=f===t.iframeRef.current.contentWindow;"ping"===s&&h&&(f.postMessage("pong","*"),u&&u(f));try{if((p=JSON.parse(s)).name!==o&&!h)return;var d=p["iframe-height"];"number"==typeof d&&t.setState({dynamicHeight:d}),i&&i(p)}catch(e){t.isErrorLoggingEnabled()&&console.error("Can't parse message data:",e)}}})),(0,s.Z)((0,i.Z)(t),"handleIframeLoad",(function(){var e=t.props.onLoad;e&&t.iframeRef.current&&e(t.iframeRef.current)})),t}return(0,o.Z)(d,[{key:"componentDidMount",value:function(){window.addEventListener("message",this.handleMessage),this.setState({isMounted:!0})}},{key:"componentWillUnmount",value:function(){window.removeEventListener("message",this.handleMessage)}},{key:"getStyle",value:function(){var t=this.props,e=t.height,r=t.disableHeight,n=this.state.dynamicHeight;if(!r)return n?{height:n}:{height:e&&(0,E.v)(e)}}},{key:"renderBordersWrapper",value:function(t){var e=this.props.iframeBordersWrapper;return e?(0,x.jsx)(k.LcBorders,M(M({isComponentWrapper:!0},e),{},{children:t})):t}},{key:"render",value:function(){var t=this.props,e=t.id,r=t.src,n=t.title,o=t.titleOffsets,i=void 0===o?{top:B.MH.NONE,bottom:B.MH.NONE}:o,u=t.titlePaddings,a=t.className,c=void 0===a?"":a,s=t.hasBreakpoints,f=t.iframeBordersWrapper,l=(0,m.getStore)().getState().lpc,p=(void 0===l?v.E3:l).needFrame,h={referrerPolicy:"origin",sandbox:Z(r)?H:void 0},d=this.getStyle();return(0,x.jsxs)("div",{className:D({"in-grid2":(0,R.TO)(this.props),"with-borders":Boolean(f)}).mix(c)(),children:[n&&n.content&&(0,x.jsx)(C.f,{padding:i,paddings:u,children:(0,x.jsx)(j.S,M(M({},n),{},{hasBreakpoints:s}))}),this.renderBordersWrapper((0,x.jsx)("iframe",M({ref:this.iframeRef,src:this.getIframeSrc(),name:e,className:D("iframe")({canvas:Boolean(p)})(),style:d,onLoad:this.handleIframeLoad,allowFullScreen:!0},h)))]})}},{key:"getIframeSrc",value:function(){var t=this.props,e=t.src,r=t.lpcQuery;return this.state.isMounted?(0,b.$F)(e,r)||e:void 0}},{key:"isErrorLoggingEnabled",value:function(){var t=p.parse(window.location.search,{ignoreQueryPrefix:!0}).iframeLogger;return Boolean(t)}}]),d}(f.PureComponent),W=(0,d.qC)((0,y.$)("LcIframe"),w.H,S.W,(0,O.K)((function(t){return{lpcQuery:(0,g.y0)(t).lpcQuery}})),P.V)(A)},8729:function(t,e,r){r.d(e,{H:function(){return y}}),r(41539),r(81299),r(12419),r(47941),r(82526),r(57327),r(88449),r(2490),r(59849),r(38880),r(57658),r(15581),r(34514),r(54747),r(49337);var n=r(4942),o=r(45987),i=r(15671),u=r(43144),a=r(60136),c=r(82963),s=r(61120),f=r(87363),l=r(24695),p=r(14061),h=r(46127),d=r(85893),m=["bpProps","currentBreakpoint","hasBreakpoints","children"];function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var b=function(t,e){var r;if(e.hasNoOwnBreakpoints)return{};var n=e.sectionId||(null===(r=e.attrs)||void 0===r?void 0:r["data-section-id"])||"",o=(0,l.y0)(t),i=o.currentBreakpoint,u=o.bpPropsMap,a=(void 0===u?{}:u)[n];return{bpProps:a,hasBreakpoints:Boolean(a),currentBreakpoint:i}};function y(t){return(0,h.K)(b)(function(e){(0,a.Z)(l,e);var r,n,f=(r=l,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(t){return!1}}(),function(){var t,e=(0,s.Z)(r);if(n){var o=(0,s.Z)(this).constructor;t=Reflect.construct(e,arguments,o)}else t=e.apply(this,arguments);return(0,c.Z)(this,t)});function l(){return(0,i.Z)(this,l),f.apply(this,arguments)}return(0,u.Z)(l,[{key:"render",value:function(){var e=this.props,r=e.bpProps,n=e.currentBreakpoint,i=e.hasBreakpoints,u=e.children,a=(0,o.Z)(e,m);if(!r||!n)return(0,d.jsx)(t,g({hasBreakpoints:i},this.props));var c=(0,p.Sp)({bpProps:r,currentBreakpoint:n,shouldDeleteReactKey:!0});return(0,d.jsx)(t,g(g(g({},a),c),{},{children:u,hasBreakpoints:i}))}}]),l}(f.Component))}}}]); } /* FILE ARCHIVED ON 22:41:12 May 18, 2024 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 07:37:57 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.77 exclusion.robots: 0.035 exclusion.robots.policy: 0.02 esindex: 0.012 cdx.remote: 8.273 LoadShardBlock: 193.809 (3) PetaboxLoader3.datanode: 82.807 (4) PetaboxLoader3.resolve: 224.142 (3) load_resource: 120.582 */