!function(){"use strict";vart={1513:function(t,e,n){varr=n(2667),o=(n(5101),n(5466)),i=n(3074),u=n.n(i),a=n(1346),c=n(2880),l=n(8204),f=n(4426),s=n(9174),p=n(5261),h=(n(6116),n(2259)),y=n(612),d=n(5464);functionm(t){return(m="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}functionb(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}functionv(t,e){return(v=Object.setPrototypeOf||function(t,e){returnt.__proto__=e,t})(t,e)}functiong(t,e){return!e||"object"!==m(e)&&"function"!=typeofe?w(t):e}functionw(t){if(void0===t)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returnt}function_(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){returnt.__proto__||Object.getPrototypeOf(t)})(t)}n(8170);vark=function(t){!function(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(c,t);vare,n,r,i,u=(r=c,i=function(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnDate.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){vart,e=_(r);if(i){varn=_(this).constructor;t=Reflect.construct(e,arguments,n)}elset=e.apply(this,arguments);returng(this,t)});functionc(t){vare;returnfunction(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}(this,c),(e=u.call(this,t,"author-liked")).state={resultsCount:null},e.getCountFunc=e.getCountFunc.bind(w(e)),e}returne=c,(n=[{key:"getCountFunc",value:function(t){this.setState({resultsCount:t})}},{key:"pageContent",value:function(){vart=this;return[this.state.author?o.createElement(y.Z,{key:"ProfilePagesHeader",author:this.state.author,type:"liked"}):null,this.state.author?o.createElement(d.Z,{key:"ProfilePagesContent"},o.createElement(a.k,null,(function(e){returno.createElement(s._,{title:t.props.title+(null!==t.state.resultsCount?" ("+t.state.resultsCount+")":""),className:"items-list-ver"},o.createElement(p.J,{itemsCountCallback:t.getCountFunc,requestUrl:e.user.liked,hideAuthor:!f.Z.get("config-media-item").displayAuthor,hideViews:!f.Z.get("config-media-item").displayViews,hideDate:!f.Z.get("config-media-item").displayPublishDate,canEdit:!1}))}))):null]}}])&&b(e.prototype,n),c}(h.G);h.G.propTypes={title:u().string.isRequired},h.G.defaultProps={title:"My favorites"};varP=n(8024);functionC(t){return(C="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}functionO(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}functionD(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}functionE(t,e,n){returne&&D(t.prototype,e),n&&D(t,n),t}functionR(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&S(t,e)}functionS(t,e){return(S=Object.setPrototypeOf||function(t,e){returnt.__proto__=e,t})(t,e)}functionj(t){vare=function(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnDate.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();returnfunction(){varn,r=F(t);if(e){varo=F(this).constructor;n=Reflect.construct(r,arguments,o)}elsen=r.apply(this,arguments);returnZ(this,n)}}fun