{"version":3,"sources":["../../../src/components/ContentItem/AvatarHoverCard.js"],"names":["AvatarHoverCard","props","state","showModal","isLogin","currentUser","user_id","id","getUserInfo","noCheckFollowed","image","userAvaHoverData","followed","isFollowed","e","stopPropagation","userAvaClick","backgroundImage","nickname","fans","intl","get","ext","followers","unFocus","then","focus","locale","sendMessage","Component"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;AAEA;;;;AACA;;;;;;;;;;IAEMA,e;;;AACJ,2BAAYC,KAAZ,EAAmB;AAAA;;AAAA,kIACXA,KADW;;AAEjB,UAAKC,KAAL,GAAa;AACXC,iBAAW;AADA,KAAb;AAFiB;AAKlB;;;;wCAEmB;AAClB,UAAMC,UACJ,KAAKH,KAAL,CAAWI,WAAX,CAAuBC,OAAvB,GAAiC,CAAjC,IAAsC,KAAKL,KAAL,CAAWI,WAAX,CAAuBE,EAAvB,GAA4B,CADpE;AAEA,WAAKN,KAAL,CAAWO,WAAX,CAAuB;AACrBD,YAAI,KAAKN,KAAL,CAAWK,OADM;AAErBG,yBAAiB,CAACL;AAFG,OAAvB;AAID;;;6BAEQ;AAAA;;AAAA,mBACmD,KAAKH,KADxD;AAAA,UACCS,KADD,UACCA,KADD;AAAA,UACQJ,OADR,UACQA,OADR;AAAA,UACiBD,WADjB,UACiBA,WADjB;AAAA,UAC8BM,gBAD9B,UAC8BA,gBAD9B;;AAEP,UAAMC,WACJD,iBAAiBL,OAAjB,KAA6BK,iBAAiBL,OAAjB,EAA0BO,UADzD;;AAGA,aACE;AAAA;AAAA,UAAK,WAAU,iBAAf,EAAiC,SAAS;AAAA,mBAAKC,EAAEC,eAAF,EAAL;AAAA,WAA1C;AAEE;AAAA;AAAA,YAAK,SAAS;AAAA,qBAAM,OAAKd,KAAL,CAAWe,YAAX,CAAwBV,OAAxB,CAAN;AAAA,aAAd;AACE;AAAA;AAAA,cAAK,MAAK,MAAV,EAAiB,WAAU,SAA3B;AACE;AACE,yBAAU,QADZ;AAEE,qBAAO;AACLW,0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OADH,CACW;AACPjB,sBAAID;AADG,iBADX,EAIGmB,IAJH,CAIQ,YAAM;AACV,yBAAKxB,KAAL,CAAWO,WAAX,CAAuB;AACrBD,wBAAID;AADiB,mBAAvB;AAGD,iBARH;AASD;AAbH;AAeGc,yCAAKC,GAAL,CAAS,2BAAT;AAfH,WADD,GAmBC;AAAA;AAAA;AACE,yBAAU,WADZ;AAEE,uBAAS,oBAAK;AACZP,kBAAEC,eAAF;AACA,uBAAKd,KAAL,CAAWyB,KAAX,CAAiB,EAAEnB,IAAID,OAAN,EAAjB,EAAkCmB,IAAlC,CAAuC,YAAM;AAC3C,yBAAKxB,KAAL,CAAWO,WAAX,CAAuB;AACrBD,wBAAID;AADiB,mBAAvB;AAGD,iBAJD;AAKD;AATH;AAWGc,yCAAKC,GAAL,CAAS,oBAAT,EAA+B,EAAEC,KAAK,EAAP,EAA/B;AAXH,WApBJ;AAoCE;AAAA;AAAA;AACE,iDACE,KAAKrB,KAAL,CAAW0B,MAAX,KAAsB,OAAtB,GAAgC,MAAhC,GAAyC,EAD3C,CADF;AAIE,uBAAS;AAAA,uBAAM,OAAK1B,KAAL,CAAW2B,WAAX,CAAuB,EAAErB,IAAID,OAAN,EAAvB,CAAN;AAAA;AAJX;AAMGc,yCAAKC,GAAL,CAAS,yBAAT;AANH;AApCF;AAjDJ,OADF;AAkGD;;;;EAxH2BQ,gB;;kBA2Hf7B,e","file":"AvatarHoverCard.js","sourcesContent":["import React, { Component } from \"react\";\nimport { Row, Col } from \"antd\";\nimport intl from \"react-intl-universal\";\nimport \"./AvatarHoverCard.less\";\n\nclass AvatarHoverCard extends Component {\n constructor(props) {\n super(props);\n this.state = {\n showModal: false\n };\n }\n\n componentDidMount() {\n const isLogin =\n this.props.currentUser.user_id > 0 || this.props.currentUser.id > 0;\n this.props.getUserInfo({\n id: this.props.user_id,\n noCheckFollowed: !isLogin\n });\n }\n\n render() {\n const { image, user_id, currentUser, userAvaHoverData } = this.props;\n const followed =\n userAvaHoverData[user_id] && userAvaHoverData[user_id].isFollowed;\n\n return (\n