1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2362],{32057:function(e){e.exports=function(e,t,r){for(var n=(2<<Math.log(t.length-1)/Math.LN2)-1,o=-~(1.6*n*r/t.length),i="";;)for(var a=e(o),s=o;s--;)if((i+=t[a[s]&n]||"").length===+r)return i}},96051:function(e,t,r){"use strict";r(88891);var n=r(15797),o=r(29277);t.Z=function(e){var t=e.src,r={src:t,width:e.width,height:e.height,alt:e.alt};return t||(r={src:"/no_image_placeholder.png",width:980,height:736,alt:"not found"}),(0,o.jsx)(n.default,{loading:"lazy",unoptimized:!0,src:r.src,width:r.width||980,height:r.height||736,quality:100,alt:r.alt||"some_image"})}},6989:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return S}});var n=r(68895),o=r(2526),i=r(50195),a=r.n(i),s=r(88891),c=r(45144),l=r(13979),d=r(84784),p=r.n(d),u=(r(95811),r(961)),h=r(15331),f=u.default.div.withConfig({displayName:"styled__MobileSearchWrapper",componentId:"sc-1nvaxrd-0"})(["display:flex;flex-direction:column;background:#F5F5F5;flex-grow:1;","{padding:24px;border-radius:8px;}"],h.ZP.medias.tabletMedia),x=u.default.div.withConfig({displayName:"styled__MobileSearchField",componentId:"sc-1nvaxrd-1"})(["","{div{background:transparent !important;border-color:transparent !important;box-shadow:none !important;}}"],h.ZP.medias.mobileMedia),g=u.default.div.withConfig({displayName:"styled__MobileSearchResult",componentId:"sc-1nvaxrd-2"})(["width:100%;flex-grow:1;> button{width:100%;background:transparent;border:none;text-align:left;}","{border-top:1px solid #E0E0E0;padding:16px 16px 0 16px;}","{padding-top:16px;}"],h.ZP.medias.mobileMedia,h.ZP.medias.tabletMedia),m=u.default.div.withConfig({displayName:"styled__SearchItemWrapper",componentId:"sc-1nvaxrd-3"})(["border-radius:8px;overflow:hidden;display:flex;justify-content:space-between;align-items:center;background:",";margin-bottom:8px;width:100%;min-height:80px;margin-bottom:4px;> a{","{display:flex;align-items:center;height:100%;}}img{object-fit:cover !important;height:80px !important;min-height:80px !important;width:80px !important;max-width:80px !important;min-width:80px !important;}.PagesTitle{flex-grow:1;}"],h.ZP.backgrounds.lighter,h.ZP.medias.mobileMedia),w=u.default.div.withConfig({displayName:"styled__SearchItemPoster",componentId:"sc-1nvaxrd-4"})(["position:relative;display:block;width:80px;height:80px;"]),v=u.default.div.withConfig({displayName:"styled__SearchItemDefaultPoster",componentId:"sc-1nvaxrd-5"})(["display:flex;align-items:center;justify-content:center;background-color:",";position:relative;height:80px;width:80px;svg{opacity:0.5;color:",";height:48px;width:48px;}"],h.ZP.borderColor.default,h.ZP.colors.mainTextColor),b=u.default.div.withConfig({displayName:"styled__SearchItemDataWrapper",componentId:"sc-1nvaxrd-6"})(["overflow:hidden;flex-grow:1;"]),y=u.default.div.withConfig({displayName:"styled__SearchItemLocale",componentId:"sc-1nvaxrd-7"})(["font-weight:500;font-size:11px;line-height:16px;color:",";display:flex;align-items:center;padding:0 12px;margin-bottom:4px;svg{margin-right:4px;}"],h.ZP.colors.fifthTextColor),j=u.default.div.withConfig({displayName:"styled__SearchItemTitle",componentId:"sc-1nvaxrd-8"})(["font-weight:600;line-height:20px;color:",";transition:0.3s ease-in-out all;overflow:hidden;margin-bottom:4px;font-size:13px;padding:0 12px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],h.ZP.colors.thirdTextColor),C=u.default.div.withConfig({displayName:"styled__SearchItemActivities",componentId:"sc-1nvaxrd-9"})(["font-size:12px;line-height:16px;color:#828282;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 12px;i{margin-right:4px;&:last-child{display:none;}}"]),_=r(36795),P=r(96051),k=r(76940),I=r(89618),O=r(35669),D=r(29277);function Z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Z(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var S=function(e){var t=e.device,r=e.setSelectedPage,n=e.onClose,i=e.isOutsideClickHandler,d=void 0===i||i,u=e.defaultUserPage,h=void 0!==u&&u,Z=(0,c.useRouter)(),S=(0,I.Z)().translate,N=(0,s.useState)({query:"",searchedItems:[]}),E=N[0],A=N[1],q=function(){var e=(0,o.Z)(a().mark((function e(t){var r,n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.result,n=t.query,!(r.length>0||n.length>=3)){e.next=4;break}return A((function(e){return M(M({},e),{},{searchedItems:r})})),e.abrupt("return");case 4:(!n||n.length<3)&&A((function(e){return M(M({},e),{},{searchedItems:[]})}));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),z=function(){var e=(0,o.Z)(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r){e.next=5;break}return e.next=3,r(t);case 3:return e.next=5,n();case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),F=function(e){var r=(0,O.jb)(e);return(0,D.jsxs)(m,{children:[e.poster?(0,D.jsx)(w,{children:(0,D.jsx)(P.Z,{alt:"".concat(e.slug," poster image"),src:(0,O.z_)(e.poster,e.posterCropData&&(e.posterCropData.hArea||e.posterCropData.wArea||e.posterCropData.x||e.posterCropData.y)?{type:"cropArea",wArea:e.posterCropData.wArea,hArea:e.posterCropData.hArea,x:e.posterCropData.x,y:e.posterCropData.y}:{type:"maxHeight",height:"mobile"===t?80:250})})}):(0,D.jsx)(v,{children:(0,D.jsx)(k.kv,{})}),(0,D.jsxs)(b,{children:[(0,D.jsxs)(y,{children:[(0,D.jsx)(k.Sx,{}),S("versionPage_".concat(e.locale))]}),(0,D.jsx)(j,{children:r.length>55?"".concat(r.substring(0,55),"..."):r}),(0,D.jsx)(C,{children:e.activities.length>0?e.activities.map((function(e){return(0,D.jsxs)(s.Fragment,{children:[(0,D.jsx)("span",{children:e}),(0,D.jsx)("i",{children:","})]},"".concat(e,"-").concat(p()()))})):""})]})]})};return(0,D.jsxs)(f,{children:[(0,D.jsx)(x,{children:(0,D.jsx)(_.ZP,{onResult:q,hasDropdown:!1,device:t,hasKeyboard:!1,searchParams:{facetFilters:"locale:".concat(Z.locale||"ru")},isHeaderMode:!0,isOutsideClickHandler:d,defaultUserPage:h,focus:!0})}),(0,D.jsx)(g,{children:E.searchedItems.map((function(e){return r?(0,D.jsx)("button",{type:"button",onClick:function(){return z(e)},children:F(e)}):(0,D.jsx)(l.default,{href:"/pages/".concat(e.slug,"?pageId=").concat(e.id),locale:e.locale,children:(0,D.jsx)("a",{onClick:n,children:F(e)})})}))})]})}},95811:function(){},84784:function(e,t,r){"use strict";e.exports=r(9076)},11982:function(e,t,r){"use strict";var n,o,i,a=r(12747),s="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-";function c(){i=!1}function l(e){if(e){if(e!==n){if(e.length!==s.length)throw new Error("Custom alphabet for shortid must be "+s.length+" unique characters. You submitted "+e.length+" characters: "+e);var t=e.split("").filter((function(e,t,r){return t!==r.lastIndexOf(e)}));if(t.length)throw new Error("Custom alphabet for shortid must be "+s.length+" unique characters. These characters were not unique: "+t.join(", "));n=e,c()}}else n!==s&&(n=s,c())}function d(){return i||(i=function(){n||l(s);for(var e,t=n.split(""),r=[],o=a.nextValue();t.length>0;)o=a.nextValue(),e=Math.floor(o*t.length),r.push(t.splice(e,1)[0]);return r.join("")}())}e.exports={get:function(){return n||s},characters:function(e){return l(e),n},seed:function(e){a.seed(e),o!==e&&(c(),o=e)},lookup:function(e){return d()[e]},shuffled:d}},88489:function(e,t,r){"use strict";var n,o,i=r(73863);r(11982);e.exports=function(e){var t="",r=Math.floor(.001*(Date.now()-1567752802062));return r===o?n++:(n=0,o=r),t+=i(7),t+=i(e),n>0&&(t+=i(n)),t+=i(r)}},73863:function(e,t,r){"use strict";var n=r(11982),o=r(10512),i=r(32057);e.exports=function(e){for(var t,r=0,a="";!t;)a+=i(o,n.get(),1),t=e<Math.pow(16,r+1),r++;return a}},9076:function(e,t,r){"use strict";var n=r(11982),o=r(88489),i=r(35116),a=r(36765)||0;function s(){return o(a)}
1e.exports=s,e.exports.generate=s,e.exports.seed=function(t){return n.seed(t),e.exports},e.exports.worker=function(t){return a=t,e.exports},e.exports.characters=function(e){return void 0!==e&&n.characters(e),n.shuffled()},e.exports.isValid=i},35116:function(e,t,r){"use strict";var n=r(11982);e.exports=function(e){return!(!e||"string"!==typeof e||e.length<6)&&!new RegExp("[^"+n.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]").test(e)}},10512:function(e){"use strict";var t,r="object"===typeof window&&(window.crypto||window.msCrypto);t=r&&r.getRandomValues?function(e){return r.getRandomValues(new Uint8Array(e))}:function(e){for(var t=[],r=0;r<e;r++)t.push(Math.floor(256*Math.random()));return t},e.exports=t},12747:function(e){"use strict";var t=1;e.exports={nextValue:function(){return(t=(9301*t+49297)%233280)/233280},seed:function(e){t=e}}},36765:function(e){"use strict";e.exports=0}}]);
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.