mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
2 lines
17 KiB
JavaScript
Executable File
2 lines
17 KiB
JavaScript
Executable File
"use strict";(("undefined"!=typeof self?self:global).webpackChunkclient_web=("undefined"!=typeof self?self:global).webpackChunkclient_web||[]).push([[7564],{16107:(e,i,n)=>{n.r(i),n.d(i,{default:()=>Di});var a=n(12341),s=n(30758),t=n(91276),r=n(34076),l=n(92107),c=n(96992),d=n(17011),o=n(58017),u=n(13534),f=n(11854),m=n(1267),x=n(84015),v=n(23100),h=n(92523),j=function(e){return e[e.LOADING=0]="LOADING",e[e.CONNECTED=1]="CONNECTED",e[e.DISCONNECTED=2]="DISCONNECTED",e}({});n(30456),n(43379),n(34192),n(88856);var g=n(15057),b=n(96027),p=n(28121),N=n(62822),y=n(93091),C=n.n(y),k=(n(53276),n(47710),n(79210),n(28925)),S=(n(25550),n(15342),n(78551),n(47994),n(82467),n(97500)),R=n.n(S),E=n(64399),w=n(67924),L=n(8574),I=n(41481),T=n(95575),O=n(87999);const A="jmX3vUTqdroySvWZjafY",B="sy4ejRXtpCCm2rnVCsBh",D="HO7uMcLeIpPBUBfBUF7f",P="EWRfCzpvY8DGEJrpWuib";var _=n(86070),F=function(e){var i=e.name,n=e.following,r=e.imageUrl,d=e.uri,o=(0,T.f)(),f=(0,L.W)(),m=s.createRef(),x=(0,s.useState)(n),v=(0,a.A)(x,2),h=v[0],j=v[1];(0,O.N)(I.mc.OPERATION_COMPLETE,(function(e){if(e.data.uris.includes(d))switch(e.data.operation){case I.JK.FOLLOW_USER:j(!0);break;case I.JK.UNFOLLOW_USER:j(!1)}}));var g=(0,s.useCallback)((function(){h?o.unfollowUsers([d]):(o.followUsers([d]),f({intent:"follow",type:"click",itemIdSuffix:"buddyfeed"})),m.current&&m.current.blur()}),[h,m,d,o,f]);return(0,s.useEffect)((function(){j(n)}),[n]),(0,_.jsxs)("div",{className:A,children:[(0,_.jsx)(w.e,{label:i,width:40,userIconSize:"small",images:(0,s.useMemo)((function(){return[{width:40,height:40,url:r}]}),[r])}),(0,_.jsxs)("div",{className:R()(B,"ellipsis-one-line"),children:[(0,_.jsx)(u.E,{as:"p",variant:"bodySmallBold",className:"ellipsis-one-line",children:i}),h&&(0,_.jsx)(u.E,{as:"p",variant:"marginal",className:"ellipsis-one-line",children:l.Ru.get("following")})]}),(0,_.jsx)("div",{className:D,children:(0,_.jsx)(c.a,{className:P,size:"sm",ref:m,onClick:g,ariaLabel:h?l.Ru.get("buddy-feed.button.remove-friend"):l.Ru.get("buddy-feed.button.add-friend"),icon:h?E.M:t.k})})]})};const U="rnrQ23E2_XN8d7ZBqsTp";function Q(e){var i=e.facebookFriends;return(0,_.jsx)("div",{className:U,children:i.map((function(e){var i=e.uri,n=e.following,a=e.title,s=e.image;return(0,_.jsx)(F,{uri:i,name:a,imageUrl:s,following:n},"fb-friend-".concat(i))}))})}n(58795);const z="eGd6xxi5CmL4GBZoEnMi";function M(){return(0,_.jsx)("div",{className:z,children:Array(20).fill(0).map((function(e,i){return(0,_.jsx)(p.Y,{isLoading:!0,charCount:100,as:"p",variant:"titleSmall"},i)}))})}const Y="wFKGrAXEW5REryzTsDIb",W="Na5e2ZRRgwg_8duvoFyo",Z="sgUgGj3mSuAdpNv8AyYQ",H="ePqfotL3LdZXKKlsSp1G",G="Jxd3auUMXwsqpPcizfbP",J="KPTOp08r5MTyYMmcTBcM",V="uaVnv8WopjiEsa4Hpl_r",X="eI_jytcKj_NBe3vo5mvx",q="CxoJJA7kFeXzEeE2R6f7";var K=function(e){var i,n,t,r,d,f,x,v=e.onBackButtonClick,j=(0,s.useState)(""),y=(0,a.A)(j,2),S=y[0],R=y[1],E=(i=S,r=(0,h.C)(),d=i.trim().toLowerCase(),f=(0,k.I)({queryKey:["useFacebookFriends"],queryFn:(t=(0,N.A)(C().mark((function e(){var i;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.fetchFacebookFriends();case 2:return i=e.sent,e.abrupt("return",i.sort((function(e,i){return e.title>i.title?1:-1})));case 4:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})}),x=f.data,{isLoading:f.isLoading,friends:null!==(n=null==x?void 0:x.filter((function(e){return-1!==e.title.trim().toLowerCase().indexOf(d)})))&&void 0!==n?n:[]}),w=E.isLoading,L=E.friends,I=(0,g.YQ)((function(e){R(e.target.value)}),100),T=(0,s.useCallback)((function(e){null!==e&&e.focus()}),[]);return(0,_.jsxs)("div",{className:Y,children:[(0,_.jsx)(c.a,{ariaLabel:l.Ru.get("buddy-feed.button.back"),onClick:v,ref:T,className:W,icon:o.g,size:"sm",testId:"back-to-friends"}),(0,_.jsxs)("div",{className:Z,children:[(0,_.jsx)("div",{className:H,children:(0,_.jsx)(m.G,{className:G,size:"large"})}),(0,_.jsx)("div",{className:J,children:w?(0,_.jsx)(p.Y,{isLoading:!0,charCount:25,as:"p",variant:"bodySmall"}):(0,_.jsx)(u.E,{as:"p",variant:"bodySmall",children:l.Ru.get("buddy-feed.number-of-friends",L.length)})})]}),w?(0,_.jsx)(M,{}):(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)("div",{className:V,children:[(0,_.jsx)(b.C,{className:q,size:"small",role:"presentation"}),(0,_.jsx)("input",{onChange:I,className:X,placeholder:l.Ru.get("buddy-feed.find-in-playlists")})]}),(0,_.jsx)(Q,{facebookFriends:L})]})]})},$=n(1868);function ee(e){var i=e.isOpen,n=e.onClose,a=e.onConfirm;return(0,_.jsx)($.T,{onClose:n,"aria-label":l.Ru.get("web-player.buddy-feed.connect-with-facebook-title"),onConfirm:a,titleText:l.Ru.get("web-player.buddy-feed.connect-with-facebook-title"),descriptionText:l.Ru.get("web-player.buddy-feed.connect-with-facebook-description"),cancelText:l.Ru.get("queue.cancel-button"),confirmText:l.Ru.get("web-player.buddy-feed.connect-button"),isOpen:i})}const ie="PWrXmnQx41DSpIe1D_nH",ne="AzWuuC6HtstaRZSyCs3n",ae="VrSCtYccvuQZG9aY627D",se="mSFjqxw0tzcwc0ZCN1YP",te="Q9ZfLJTBuMTFz4HsBThH",re="_76MQUYO_OcYkQOL1dlw",le="TOY_wX6BMTOxtaEcJX2X",ce="A_pGgx3U5jNWUM85mJLQ",de="ffXJrzSIg2CXoGlxDi0v",oe="zmmtwzKSFa5srnl7Ftq2";var ue=function(e){var i=(0,L.W)(),n=e.onBackButtonClick,t=e.feedIsEmpty,r=e.goToAddFriends,d=void 0!==r&&r,g=function(){var e=(0,h.C)(),i=(0,s.useState)(j.LOADING),n=(0,a.A)(i,2),t=n[0],r=n[1];return(0,s.useEffect)((function(){return e.subscribeToFacebookConnectionState((function(e){r(e.connection?j.CONNECTED:j.DISCONNECTED)})).cancel}),[e]),t}(),b=(0,h.C)(),p=(0,s.useState)(!1),N=(0,a.A)(p,2),y=N[0],C=N[1],k=(0,s.useState)(!1),S=(0,a.A)(k,2),R=S[0],E=S[1],w=(0,s.useState)(!1),I=(0,a.A)(w,2),T=I[0],O=I[1],A=(0,s.useCallback)((function(e){null!==e&&e.focus()}),[]),B=(0,s.useCallback)((function(){location.reload()}),[]);if(R)return(0,_.jsxs)("div",{className:de,children:[(0,_.jsx)(c.a,{onClick:n,ref:A,className:ae,ariaLabel:l.Ru.get("buddy-feed.button.back"),icon:o.g,size:"sm"}),(0,_.jsxs)("div",{className:oe,children:[(0,_.jsx)(u.E,{as:"h1",variant:"bodyMediumBold",className:ne,children:l.Ru.get("error-dialog.generic.header")}),(0,_.jsx)(u.E,{as:"p",variant:"bodySmall",className:se,children:l.Ru.get("error-dialog.generic.body")}),(0,_.jsx)(f.$,{colorSet:"invertedLight",onClick:B,children:l.Ru.get("error.reload")})]})]});var D=(d||T)&&g===j.CONNECTED;return(0,_.jsxs)("div",{className:ie,children:[D&&(0,_.jsx)(K,{onBackButtonClick:function(){t&&O(!1),n()}}),!D&&(0,_.jsxs)("div",{className:re,children:[(0,_.jsx)(c.a,{ariaLabel:l.Ru.get("buddy-feed.button.back"),onClick:n,className:ae,ref:A,icon:o.g,size:"sm"}),(0,_.jsx)(u.E,{as:"h1",variant:"bodyMediumBold",className:ne,children:l.Ru.get("buddy-feed.friend-activity")}),(0,_.jsx)(u.E,{as:"p",variant:"bodySmall",className:se,children:l.Ru.get("buddy-feed.facebook.connect-with-friends-default")}),(0,_.jsx)("div",{className:le,children:(0,_.jsx)(f.$,{className:ce,size:"small",iconLeading:m.G,UNSAFE_colorSet:(0,x.mA)("#2374E1",v.ONy),onClick:function(){i({intent:"connect-to-facebook",type:"click",itemIdSuffix:"buddyfeed"}),g!==j.CONNECTED?C(!0):O(!0)},children:l.Ru.get("buddy-feed.facebook.button")})}),(0,_.jsx)(u.E,{as:"p",variant:"marginal",className:te,children:l.Ru.get("buddy-feed.facebook.disclaimer")}),(0,_.jsx)(ee,{isOpen:y,onClose:function(){C(!1)},onConfirm:function(){b.connectToFacebook().then((function(){O(!0),C(!1)})).catch((function(){E(!0)}))}})]})]})},fe=n(68150),me=n(1358);const xe="jGcEaPyhr1c_janM2uRF",ve="OemaZktMXaRcYQ5bcfLZ",he="o5IJsOJEWBEyxtPVVVqQ",je="yHlSWaHkqZHm5mcY8ZFh",ge="toPt7VOT_PiDx5Gj3SM2",be="xU4sacBisQneHoQeHMP5",pe="srjSlmxMGzXnJBc32BJa",Ne="lju7xv10a5Y5Z8h8CcKJ",ye="jr794VV4i2iUBRhfvS5i",Ce="KE3gK5ccLz2gL3dhJ4BW",ke="pO2rsGFqUdaNhpLrif21",Se="Ydxgl4Y23orfVVVI9O2k",Re="VhqWrkzIrJrvdyj7ZXMd",Ee="T3liC_3fbMOTilR4HHKD",we="W_tr6AMQB9Chbc9bCS9w",Le="yDdNxgieZmqjgHQCW3UE",Ie="iRrzzadYGo2MSuVhmVCn",Te="_8yOZhEqs2xrYtslnNcDw",Oe="aikUDGtqRnCX0ZwYHDUW",Ae="T_HXMW6n5qsbLbPTr1GS",Be="tYswKV9PmtTCv62LOPIV",De="GlDNRQ2w0t4h9WBI4GgN",Pe="BQGSV5BvuAaJ5rmFAXLp",_e="ZLbFjRdp1AMXebZH6UWM",Fe="jhtyHt6d9vbxK6VtCI7a",Ue="oCaGCB13zdReRutfBS8_",Qe="MR1n58Qu0kPorQtveOCQ",ze="y10vXronmQ6eYMlJrIp3";var Me=function(e){var i=e.showOnlineIndicator;return(0,_.jsxs)("div",{className:Be,children:[(0,_.jsxs)("div",{className:De,children:[(0,_.jsx)(me.v,{size:"medium"}),i?(0,_.jsx)("div",{className:Pe}):null]}),(0,_.jsxs)("div",{className:_e,children:[(0,_.jsx)("div",{className:R()(Fe,Ue)}),(0,_.jsx)("div",{className:Fe}),(0,_.jsx)("div",{className:Fe})]})]})},Ye=function(){return(0,_.jsxs)("div",{"data-testid":"buddy-feed-empty-state",className:Oe,children:[(0,_.jsx)(u.E,{as:"p",className:Ae,children:l.Ru.get("buddy-feed.let-followers-see-your-listening")}),(0,_.jsx)(Me,{showOnlineIndicator:!0}),(0,_.jsx)(Me,{showOnlineIndicator:!0}),(0,_.jsx)(Me,{}),(0,_.jsx)(u.E,{as:"p",className:Ae,children:l.Ru.get("buddy-feed.enable-share-listening-activity")}),(0,_.jsx)(fe.N_,{to:"/preferences",className:Qe,children:(0,_.jsx)(f.$,{colorSet:"invertedLight",className:ze,children:l.Ru.get("desktop.settings.settings")})})]})},We=(n(34518),n(68832)),Ze=(n(83234),n(77905),n(80366)),He=n(83643),Ge=n(59739),Je=n(51943),Ve=n(54068),Xe=n(64877),qe=n(51725),Ke=n(24804),$e=n(93051),ei=n(48257),ii=n(80117),ni=n(20724),ai=function(e){var i=e.timestamp;return e.isNowPlaying?(0,_.jsx)(d.Zp,{label:l.Ru.get("time.now"),children:(0,_.jsx)(ii.A,{"aria-label":l.Ru.get("time.now"),size:"small"})}):(0,_.jsx)("span",{children:(0,ni.Z)(i)})},si=n(8016),ti=n(31683),ri=n(53607),li=n(79431),ci=n(70566),di=n(16920),oi=function(e){return Date.now()-e<9e5},ui=function(e,i){var n;switch(null===(n=(0,Ze.o_)(e))||void 0===n?void 0:n.type){case Ze.NQ.PLAYLIST:case Ze.NQ.PLAYLIST_V2:return(0,_.jsx)(Ve.W,{uri:e});case Ze.NQ.EPISODE:case Ze.NQ.SHOW:return(0,_.jsx)(Xe.H,{uri:e});case Ze.NQ.ALBUM:return(0,_.jsx)(Ge.h,{uri:e,artistUri:i});case Ze.NQ.ARTIST:return(0,_.jsx)(Je.t,{uri:e});default:return null}},fi=function(e){switch(e){case Ze.NQ.ALBUM:return di.c.ALBUM;case Ze.NQ.ARTIST:return di.c.ARTIST;case Ze.NQ.SHOW:return di.c.SHOW;case Ze.NQ.EPISODE:return di.c.EPISODE;case Ze.NQ.PLAYLIST:case Ze.NQ.PLAYLIST_V2:return di.c.PLAYLIST;default:return}},mi=function(e){var i,n,a,t,r,c,d,o,f,m,x,v,h,j,g,b,p,N=e.show,y=void 0===N||N,C=e.spec,k=e.friend,S=(0,s.useMemo)((function(){return k.user.imageUrl?[{url:k.user.imageUrl,width:0,height:0}]:[]}),[k.user.imageUrl]),E=(0,L.W)(),I=(0,ci.s)(),T=k.track,O=T.uri,A=(0,li.P)({uri:O},{featureIdentifier:"buddy_feed",referrerIdentifier:"buddy_feed"}),B=A.togglePlay,D=A.isPlaying,P=A.isActive,F=(0,Ze.o_)(null===(i=T.context)||void 0===i?void 0:i.uri),U=null==F?void 0:F.type,Q=(0,s.useCallback)((function(){B(),E({intent:D?"pause":"play",type:"click",itemIdSuffix:"buddyfeed_play",targetUri:O});var e=C.friendRowFactory().playButtonFactory();P?D?I.logInteraction(e.hitPause({itemToBePaused:O})):I.logInteraction(e.hitResume({itemToBeResumed:O})):I.logInteraction(e.hitPlay({itemToBePlayed:O}))}),[E,D,O,C,P,B,I]),z=(0,s.useCallback)((function(e,i){I.logInteraction(C.friendRowFactory().friendRowLinkFactory({identifier:e}).hitUiNavigate({destination:i}))}),[I,C]),M=(0,si.P)({itemUris:[O],dragLabelText:T.name}),Y=M.draggable,W=M.onDragStart,Z=(0,si.P)({itemUris:[null===(n=T.artist)||void 0===n?void 0:n.uri],dragLabelText:null===(a=T.artist)||void 0===a?void 0:a.name}),H=Z.draggable,G=Z.onDragStart,J=(0,si.P)({itemUris:[null===(t=T.context)||void 0===t?void 0:t.uri],dragLabelText:null===(r=T.context)||void 0===r?void 0:r.name}),V=J.draggable,X=J.onDragStart;return y?(0,_.jsxs)("div",{className:R()(xe),children:[(0,_.jsx)(He.h,{menu:ui(null===(c=T.context)||void 0===c?void 0:c.uri,null===(d=T.artist)||void 0===d?void 0:d.uri),children:(0,_.jsxs)("div",{className:be,children:[(0,_.jsx)(w.e,{label:k.user.name,width:40,userIconSize:"small",images:S,withBadge:oi(k.timestamp)}),(0,_.jsx)(ei.x,{className:pe,iconClassName:Ne,isPlaying:D,isLocked:!1,onClick:Q,playAriaLabel:D?l.Ru.get("pause"):"".concat(l.Ru.get("play")," ").concat(T.artist.name," ").concat(T.name)})]})}),(0,_.jsxs)("div",{className:R()(ye),children:[(0,_.jsxs)("div",{className:Ce,children:[(0,_.jsx)(u.E,{as:"p",variant:"bodySmallBold",className:R()(ke,"ellipsis-one-line"),children:(0,_.jsx)(ri.pZ,{value:"/buddyfeed_user_profile",children:(0,_.jsx)(He.h,{menu:(0,_.jsx)(Ke.B,{uri:k.user.uri}),children:(0,_.jsx)($e.N,{title:k.user.name,to:k.user.uri,dir:"auto",onClick:function(){return z("profile_link",k.user.uri)},children:k.user.name})})})}),(0,_.jsx)(u.E,{as:"p",variant:"marginal",className:R()(Se),children:(0,_.jsx)(ai,{timestamp:k.timestamp,isNowPlaying:oi(k.timestamp)})})]}),(0,_.jsxs)(u.E,{as:"p",variant:"marginal",className:Re,children:[(0,_.jsx)(ri.pZ,{value:"/buddyfeed_track",children:(0,_.jsx)(He.h,{menu:(0,_.jsx)(qe.P,{uri:T.uri,contextUri:null===(o=T.context)||void 0===o?void 0:o.uri,albumUri:null===(f=T.album)||void 0===f?void 0:f.uri,artists:[T.artist]}),children:(0,_.jsx)($e.N,{title:T.name,to:O,className:"ellipsis-one-line",dir:"auto",draggable:Y,onDragStart:W,onClick:function(){return z("track_link",O)},children:T.name})})}),(0,_.jsx)("span",{"aria-hidden":!0,children:" • "}),(0,_.jsx)(ri.pZ,{value:"/buddyfeed_artist",children:(0,_.jsx)(He.h,{menu:T.artist?(0,_.jsx)(Je.t,{uri:T.artist.uri}):null,children:(0,_.jsx)($e.N,{title:null===(m=T.artist)||void 0===m?void 0:m.name,to:null===(x=T.artist)||void 0===x?void 0:x.uri,className:"ellipsis-one-line",dir:"auto",draggable:H,onDragStart:G,onClick:function(){var e;return z("artist_link",null===(e=T.artist)||void 0===e?void 0:e.uri)},children:null===(v=T.artist)||void 0===v?void 0:v.name})})})]}),(0,_.jsx)(u.E,{as:"p",variant:"marginal",className:R()("ellipsis-one-line",we),children:(0,_.jsx)(ri.pZ,{value:"/buddyfeed_context",children:(0,_.jsx)(He.h,{menu:ui(null===(h=T.context)||void 0===h?void 0:h.uri,null===(j=T.artist)||void 0===j?void 0:j.uri),children:(0,_.jsxs)($e.N,{title:null===(g=T.context)||void 0===g?void 0:g.name,to:null===(b=T.context)||void 0===b?void 0:b.uri,className:Le,draggable:V,onDragStart:X,onClick:function(){var e;return z("context_link",null===(e=T.context)||void 0===e?void 0:e.uri)},children:[(0,_.jsx)(ti.s,{type:fi(U),iconSize:16,className:Ee}),(0,_.jsx)("span",{dir:"auto",className:"ellipsis-one-line",children:null===(p=T.context)||void 0===p?void 0:p.name})]})})})})]})]},k.user.uri):null},xi=n(57370),vi=n(33219),hi=n(31650);function ji(e){var i=e.friends,n=e.spec,t=(0,hi.D)().currentSession,r=(0,vi.y)(),l=(0,s.useState)(!0),c=(0,a.A)(l,2),d=c[0],o=c[1],u=!(null!=t&&t.active)&&r&&d&&(0,_.jsx)("li",{className:he,children:(0,_.jsx)(xi.p,{localStorageKey:"dismissStartJamButtonFromFriendFeed",onDismiss:function(){return o(!1)}})},"start-jam-button");return(0,_.jsx)(We.ZI,{flipKey:i.map((function(e){return e.user.uri})).join(""),children:(0,_.jsxs)("ul",{className:ve,children:[u,i.map((function(e,i){return(0,_.jsx)(We.lf,{flipId:e.user.uri,children:(0,_.jsx)("li",{children:(0,_.jsx)(mi,{friend:e,show:i<100,spec:n},e.user.uri)})},e.user.uri)}))]})})}var gi=n(95079),bi=n(94079);const pi="VTOHA2pQ5UOAQhut6swb",Ni="y02ezh9Bcfm_61XcxvOS",yi="rb6j61g6Avhg8RARvz3b",Ci="xDW2awz1Oc3Khs6Wsn8g",ki="MOKoNTiYkc9jh0xhfoZH",Si="gOHEpGu2st4QQtJy8OPw",Ri="ijngDXlnRFRYySzwV5JJ",Ei="oNiqjPtyJeYH6LqZlnVa";var wi=function(e){var i=e.children,n=e.page,a=e.nodeRef,s=0===n,t=i.filter((function(e,i){return i!==n}));return(0,_.jsx)(gi.A,{component:null,children:t.map((function(e){return(0,_.jsx)(bi.A,{in:s,timeout:500,nodeRef:a,classNames:{enter:s?pi:ki,enterActive:s?Ni:Si,exit:s?yi:Ri,exitActive:s?Ci:Ei},children:e},s?"first-page":"second-page")}))})},Li=n(6980),Ii=n(96543),Ti=n(91035),Oi=n(72637),Ai=n(496),Bi=n(12574);const Di=function(e){var i=e.friends,n=(0,L.W)(),o=(0,ci.s)(),u=(0,Bi.r)(r.W,{}).spec,f=(0,s.useRef)(null),m=(0,s.useRef)(null);(0,s.useEffect)((function(){n({intent:"view",type:"impression",itemIdSuffix:"buddyfeed"})}),[n]),(0,s.useEffect)((function(){o.logImpression(u.impression())}),[o,u]);var x=(0,s.useState)(!1),v=(0,a.A)(x,2),h=v[0],j=v[1],g=function(){h||o.logInteraction(u.addFriendButtonFactory().hitUiReveal()),j(!h)},b=0===i.length,p=(0,s.useCallback)((function(){o.logInteraction(u.closeButtonFactory().hitUiHide())}),[o,u]);return(0,_.jsx)(Ai.ql.Provider,{value:"buddy_feed",children:(0,_.jsx)(Li._,{label:l.Ru.get("buddy-feed.friend-activity"),focusTransferId:"BUDDY-FEED",children:(0,_.jsxs)(wi,{page:h?1:0,nodeRef:h?m:f,children:[(0,_.jsx)("div",{className:je,ref:m,children:(0,_.jsx)(ue,{onBackButtonClick:g,feedIsEmpty:b,goToAddFriends:h})}),(0,_.jsx)("div",{className:ge,ref:f,children:(0,_.jsxs)(Ii.w,{children:[(0,_.jsx)(Ti.a,{title:l.Ru.get("buddy-feed.friend-activity"),panel:Oi.Z.BuddyFeed,onClose:p,actions:(0,_.jsx)(d.Zp,{label:l.Ru.get("buddy-feed.add-friends"),children:(0,_.jsx)(c.a,{ariaLabel:l.Ru.get("buddy-feed.add-friends"),testId:"add-friends-button",size:"sm",onClick:g,icon:t.k})})}),(0,_.jsx)("div",{className:Ie,children:(0,_.jsx)(c.a,{ariaLabel:l.Ru.get("buddy-feed.add-friends"),className:Te,size:"sm",onClick:g,icon:t.k})}),b?(0,_.jsx)(Ye,{}):(0,_.jsx)(ji,{friends:i,spec:u})]})})]})})})}}}]);
|
|
//# sourceMappingURL=xpui-routes-buddy-feed.js.map
|