PageSourceSearch

https://rodina-history.ru/_next/static/chunks/8084-73e0720ac76ad5e1.js

js rodina-history.ru collected 2026-09-27 20:55:26 UTC 8,130 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8084],{2583:e=>{e.exports={root:"LoadItems_root__BXtFQ",rootmoreNews:"LoadItems_rootmoreNews__e3esf",list:"LoadItems_list__vjrIy",loadBtn:"LoadItems_loadBtn__C4WQI"}},5704:e=>{e.exports={link:"ArticleCardDefault_link__j8BXl",imageLink:"ArticleCardDefault_imageLink__l8QLw",title:"ArticleCardDefault_title__wrmeh",subtitle:"ArticleCardDefault_subtitle___tBwY",firstSpiegel:"ArticleCardDefault_firstSpiegel__p8vWz",aside:"ArticleCardDefault_aside__mF595",rubricAside:"ArticleCardDefault_rubricAside__ko7SU",indexAside:"ArticleCardDefault_indexAside__Ed8ua",img:"ArticleCardDefault_img__vT08i",wrapper:"ArticleCardDefault_wrapper__NBcKB"}},25679:e=>{e.exports={root:"AsideArticalCard_root__SfD_8",content:"AsideArticalCard_content__B6cmx",title:"AsideArticalCard_title__hzEWD",imageLink:"AsideArticalCard_imageLink__9YiRY",titleLink:"AsideArticalCard_titleLink__5pQ_n",tags:"AsideArticalCard_tags__q9NeY",subtitle:"AsideArticalCard_subtitle__CYZZG",borderBottom:"AsideArticalCard_borderBottom__fAmy2"}},45482:(e,t,s)=>{"use strict";s.d(t,{A:()=>p});var i=s(95155),r=s(12115),l=s(46429),o=s(61779),a=s(28300),n=s(38339),d=s(94288),h=s(33797),c=s(91424),u=s(2583),_=s.n(u);function p(e){let{children:t,listInitial:s=[],listSizeTotal:u,partSize:p,autoFetchDataCounter:m,params:g,offsetBy:f="",loadItemsInfo:b,setLoadItemsInfo:v,modBtn:A,modBtnTitle:x,offsetPoint:C=0,offLoadButton:k=!1,className:N}=e,[w,j]=(0,r.useState)(s),[L,y]=(0,r.useState)(!1),[B,I]=(0,r.useState)(m),[D,M]=(0,r.useState)(!1);(0,r.useEffect)(()=>{j(s),I(m)},[s,m,j,I]),(0,r.useEffect)(()=>{let e;b&&j((e=s,s._storeHash&&b.allLists[s._storeHash]&&(e=b.allLists[s._storeHash]),e))},[s,b]),(0,r.useEffect)(()=>{!0===k?y(!1):y(u>p)},[s,u,p,k]);let S=async e=>{if(e){M(!0);let e=((e,t)=>{let s=e[e.length-1];return"sort"===t?s&&s.sort||[]:Number(s&&s._source&&s._source.publish_at)||0})(w,f),t="sort"===f;if(e){let s=await (0,d.Ay)({api:t?h.h.search:h.h.filter,query:t&&g.source_type===c.E.Article?{article:{...g,search_after:e}}:{list:{...g,offset:e}}}),i=(t?null==s?void 0:s.hits.hits:null==s?void 0:s.list.hits)||[];if(i&&i.length){let e=[...w,...i];w._storeHash&&(e._storeHash=w._storeHash,b&&v&&v({allLists:{...b.allLists,...{[w._storeHash]:e}}},b.allLists,e,w._storeHash)),j(e),i.length<p&&y(!1)}else y(!1)}else y(!1);null!==B&&B>0&&I(B-1),M(!1)}};if((0,r.isValidElement)(t)){let e=(0,r.cloneElement)(t,{loadItems:{list:w,needToLoadState:L}});return(0,i.jsxs)("div",{className:(0,n.A)(_().root,A&&_()["root".concat(A)],N),children:[(0,i.jsx)("div",{className:_().list,children:e}),(0,i.jsx)(a.default,{errMsg:"Ошибка в блоке InView / LoadMoreBtn",children:(0,i.jsx)(l.pL,{onChange:e=>{B&&S(e)},threshold:0,children:e=>{let{ref:t}=e;return(0,i.jsx)("div",{ref:t,className:_().loadBtn,style:{transform:"translateY(".concat(C,"px)")},children:L?D?(0,i.jsx)("div",{}):(0,i.jsx)(o.A,{loading:!!B,loadMoreHandler:S,mod:A,title:x}):null})}})})]})}return(0,i.jsx)(i.Fragment,{children:t})}},46429:(e,t,s)=>{"use strict";s.d(t,{pL:()=>h});var i=s(12115),r=Object.defineProperty,l=(e,t,s)=>((e,t,s)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s)(e,"symbol"!=typeof t?t+"":t,s),o=new Map,a=new WeakMap,n=0,d=void 0,h=class extends i.Component{componentDidMount(){this.unobserve(),this.observeNode()}componentDidUpdate(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve()}observeNode(){if(!this.node||this.props.skip)return;let{threshold:e,root:t,rootMargin:s,trackVisibility:i,delay:r,fallbackInView:l}=this.props;this._unobserveCb=function(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:d;if(void 0===window.IntersectionObserver&&void 0!==i){let r=e.getBoundingClientRect();return t(i,{isIntersecting:i,target:e,intersectionRatio:"number"==typeof s.threshold?s.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),()=>{}}let{id:r,observer:l,elements:h}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var s;return"".concat(t,"_").concat("root"===t?(s=e.root)?(a.has(s)||(n+=1,a.set(s,n.toString())),a.get(s)):"0":e[t])}).toString(),s=o.get(t);if(!s){let i,r=new Map,l=new IntersectionObserver(t=>{t.forEach(t=>{var s;let l=t.isIntersecting&&i.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=l),null==(s=r.get(t.target))||s.forEac
1h(e=>{e(l,t)})})},e);i=l.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),s={id:t,observer:l,elements:r},o.set(t,s)}return s}(s),c=h.get(e)||[];return h.has(e)||h.set(e,c),c.push(t),l.observe(e),function(){c.splice(c.indexOf(t),1),0===c.length&&(h.delete(e),l.unobserve(e)),0===h.size&&(l.disconnect(),o.delete(r))}}(this.node,this.handleChange,{threshold:e,root:t,rootMargin:s,trackVisibility:i,delay:r},l)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){let{children:e}=this.props;if("function"==typeof e){let{inView:t,entry:s}=this.state;return e({inView:t,entry:s,ref:this.handleNode})}let{as:t,triggerOnce:s,threshold:r,root:l,rootMargin:o,onChange:a,skip:n,trackVisibility:d,delay:h,initialInView:c,fallbackInView:u,..._}=this.props;return i.createElement(t||"div",{ref:this.handleNode,..._},e)}constructor(e){super(e),l(this,"node",null),l(this,"_unobserveCb",null),l(this,"handleNode",e=>{this.node&&(this.unobserve(),e||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})),this.node=e||null,this.observeNode()}),l(this,"handleChange",(e,t)=>{e&&this.props.triggerOnce&&this.unobserve(),"function"==typeof this.props.children&&this.setState({inView:e,entry:t}),this.props.onChange&&this.props.onChange(e,t)}),this.state={inView:!!e.initialInView,entry:void 0}}}},54448:e=>{e.exports={wrapper:"LoadMoreBtn_wrapper__zpAGF",loading:"LoadMoreBtn_loading__h8USC"}},61453:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var i=s(95155),r=s(28300);function l(e){let{list:t=[],item:s,classNameList:l,classNameItem:o,children:a}=e;return t.length?(0,i.jsx)(r.default,{errMsg:"Ошибка в блоке ListStandard",children:(0,i.jsxs)("ul",{className:l,children:[t.map(e=>"_source"in e?e._source:e).map((e,t)=>(0,i.jsx)("li",{className:o,children:s(e,t)},t)),a]})}):null}},61779:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var i=s(95155),r=s(38339),l=s(54448),o=s.n(l);function a(e){let{loadMoreHandler:t,loading:s,title:l}=e;return(0,i.jsx)("button",{className:(0,r.A)(o().wrapper,s&&o().loading),onClick:()=>t(!0),children:l||"Загрузить еще"})}},75485:(e,t,s)=>{"use strict";s.d(t,{A:()=>m});var i=s(95155),r=s(88943),l=s(28300),o=s(88741),a=s(65756),n=s(25278),d=s(22809),h=s(38339),c=s(5704),u=s.n(c);let _={mobile:"160x100",tablet:"160x100",laptop:"160x100",desktop:"186x115",widescreen:"186x115"},p={mobile:"160x100",tablet:"186x115",laptop:"186x115",desktop:"300x185",widescreen:"186x115"};function m(e){var t;let s=null==(t=e.imageOptions)?void 0:t.mod,{url:c,is_title_priority:m=!1,title:g,link_title:f,announce:b,tags:v,imageOptions:A}=e;return(0,i.jsx)(l.default,{errMsg:"Ошибка в блоке ArticleCardDefault",children:(0,i.jsxs)("article",{className:(0,h.A)(u().article,s&&u()[s]),children:[(0,i.jsxs)("div",{className:u().wrapper,children:[(0,i.jsxs)(r.A,{href:c,className:u().link,children:[(0,i.jsx)(a.A,{is_title_priority:m,title:g,link_title:f,className:u().title}),(0,i.jsx)(n.A,{announce:b,className:u().subtitle})]}),(0,i.jsx)(d.A,{tags:v,classNameList:u().tags,classNameItem:u().tag})]}),s?(0,i.jsx)(o.A,{url:c,tags:v,loading:null==A?void 0:A.loading,classNameLink:u().imageLink,classNameImage:u().img,imageCropMap:"rubricAside"===s?p:_,image:e.image,images:"images"in e?e.images:[],sujets:"sujets"in e?e.sujets:[],has_photo:"has_photo"in e&&e.has_photo,has_video:"has_video"in e&&e.has_video}):null]})})}}}]);

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.