{"version":3,"sources":["../../../src/components/ContentItem/AvatarHoverCard.js"],"names":["AvatarHoverCard","props","state","showModal","getUserInfo","id","user_id","image","currentUser","userAvaHoverData","followed","isFollowed","e","stopPropagation","userAvaClick","backgroundImage","nickname","fans","intl","get","ext","followers","unFocus","then","focus","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,WAAKF,KAAL,CAAWG,WAAX,CAAuB;AACrBC,YAAI,KAAKJ,KAAL,CAAWK;AADM,OAAvB;AAGD;;;6BAEQ;AAAA;;AAAA,mBACmD,KAAKL,KADxD;AAAA,UACCM,KADD,UACCA,KADD;AAAA,UACQD,OADR,UACQA,OADR;AAAA,UACiBE,WADjB,UACiBA,WADjB;AAAA,UAC8BC,gBAD9B,UAC8BA,gBAD9B;;AAEP,UAAMC,WACJD,iBAAiBH,OAAjB,KAA6BG,iBAAiBH,OAAjB,EAA0BK,UADzD;;AAGA,aACE;AAAA;AAAA,UAAK,WAAU,iBAAf,EAAiC,SAAS;AAAA,mBAAKC,EAAEC,eAAF,EAAL;AAAA,WAA1C;AAEE;AAAA;AAAA,YAAK,SAAS,KAAKZ,KAAL,CAAWa,YAAzB;AACE;AAAA;AAAA,cAAK,MAAK,MAAV,EAAiB,WAAU,SAA3B;AACE;AACE,yBAAU,QADZ;AAEE,qBAAO;AACLC,0CAAwBR,KAAxB;AADK;AAFT,cADF;AAOE;AAAA;AAAA,gBAAK,WAAU,UAAf;AACGE,+BAAiBH,OAAjB,KAA6BG,iBAAiBH,OAAjB,EAA0BU;AAD1D;AAPF;AADF,SAFF;AAgBE,+CAAK,WAAU,SAAf,GAhBF;AAiBE;AAAA;AAAA,YAAK,MAAK,MAAV,EAAiB,WAAU,QAA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F;AACA,uBAAKZ,KAAL,CAAWuB,KAAX,CAAiB,EAAEnB,IAAIC,OAAN,EAAjB,EAAkCiB,IAAlC,CAAuC,YAAM;AAC3C,yBAAKtB,KAAL,CAAWG,WAAX,CAAuB;AACrBC,wBAAIC;AADiB,mBAAvB;AAGD,iBAJD;AAKD;AATH;AAWGY,yCAAKC,GAAL,CAAS,oBAAT,EAA+B,EAAEC,KAAK,EAAP,EAA/B;AAXH;AApBJ;AAjDJ,OADF;AAgGD;;;;EAnH2BK,gB;;kBAsHfzB,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 this.props.getUserInfo({\n id: this.props.user_id\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