PageSourceSearch

https://www.amolatina.com/app/21d094d29b67ad3f.js

js amolatina.com collected 2026-10-01 15:16:42 UTC 26,540 bytes, 5 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="006f2267-b210-5e97-b9f4-fb8beb4c560c")}catch(e){}}();
3(self.webpackChunkclient=self.webpackChunkclient||[]).push([["1649"],{16846(e,a,t){t.d(a,{AudioCallButton:()=>C});var i=t(42062);let s={button:"call-audio-call-button__button",pillButton:"call-audio-call-button__pillButton",icon:"call-audio-call-button__icon",dsgn5662Button:"call-audio-call-button__dsgn5662Button",disabled:"call-audio-call-button__disabled"};var r=t(20345),l=t(15782),o=t(54149),n=t(78903),d=t(99870),c=t.n(d),u=t(31085);let p=(0,i.memo)(e=>{var{onClick:a,buttonType:t="action/base",className:d,rounded:p=!1,buttonTitle:h,disabled:v=!0,containerClassName:m}=e,g=(0,l.A)("call/mcs/audio-call","audio-call-button-title"),f=(0,i.useMemo)(()=>c()(s.button,"mcs-audio-call-button",d,{[s.disabled]:v}),[d,v]),b=(0,i.useMemo)(()=>c()(f,s.dsgn5662Button),[f]),S=p?"":h||g,w=(0,i.useCallback)(()=>{v||a()},[v,a]),_=e.variant||"secondary";return(0,u.jsxs)("div",{className:m,children:["commons/button"===t&&(0,u.jsx)(r.$,Object.assign({},e,{variant:_,onClick:w,title:S,icon:"call-me",rounded:p,blockLevel:!p})),"DSGN5662_match-feed"===t&&(0,u.jsx)(o.A,{className:b,onClick:w,children:(0,u.jsx)(n.Icon,{name:"audio-call",size:"normal"})}),!t||"action/base"===t&&(0,u.jsxs)(o.A,{className:f,onClick:w,children:[(0,u.jsx)("span",{className:s.icon,children:(0,u.jsx)(n.Icon,{name:"call-me",size:"normal"})}),S]})]})});var h=t(97314);let v=(0,i.memo)(e=>{var{onClick:a,className:t,disabled:r=!0,pricingNotice:l,containerClassName:o}=e,d=(0,i.useMemo)(()=>c()(s.pillButton,t,{[s.disabled]:r}),[t,r]);return(0,u.jsxs)("div",{className:o,children:[(0,u.jsx)("button",{className:d,onClick:a,disabled:r,children:(0,u.jsx)(n.Icon,{name:"audio-call",size:"normal"})}),l?(0,u.jsx)("div",{className:s.pricingNotice,children:(0,u.jsx)(h.E,{variant:"caption-2",content:l,color:"action-gray"})}):null]})});var m=t(67276),g=t(66691),f=t(81468),b=t(79942),S=t(16756),w=t(21227),_=["userId","attendeeId","cta","onClick"];function A(e){return(0,i.memo)(a=>{var{userId:t,attendeeId:s,cta:r,onClick:l}=a,o=function(e,a){if(null==e)return{};var t={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(a.includes(i))continue;t[i]=e[i]}return t}(a,_),n=(0,i.useCallback)(()=>{"match-feed"===r&&w.l.shared(t).logAudioCallStarted(s),S.R.shared().logEvent({event:"application_account_communication",payload:{sender:s,recipient:t,timestamp:Date.now(),type:"audiocall.start",cta:r}}),l()},[s,t,r,l]);return(0,u.jsx)(e,Object.assign({},o,{onClick:n}))})}var y=t(53604),j=["userId","attendeeId","cta","buttonType","rounded","onStartAudioCall","visible","appearance"],I=A(p),x=A(v),C=(0,i.memo)((0,i.forwardRef)((e,a)=>{var{userId:t,attendeeId:s,cta:r,buttonType:l,rounded:o,onStartAudioCall:n,visible:d,appearance:c="default"}=e,p=function(e,a){if(null==e)return{};var t={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(a.includes(i))continue;t[i]=e[i]}return t}(e,j),h=(0,g.uN)(()=>m.M.shared(t).startAudioCall(s,r).pipe((0,b.ex)(()=>{null==n||n(),(0,f.Z)(s)})),[s,t,r,n],!1);(0,i.useImperativeHandle)(a,()=>({startCall:h}),[h]);var v=(0,y.qL)(s);return(void 0===d?v:d)?(0,u.jsx)("compact-pill"===c?x:I,Object.assign({userId:t,attendeeId:s,cta:r,onClick:h,buttonType:l,rounded:o,disabled:!v},p)):null}))},17354(e,a,t){t.d(a,{AudioCallMotivationPopupInProfile:()=>w});var i=t(91994),s=t(42062),r=t(66691),l=t(98076),o=t(9389),n=t(53604),d=t(99870),c=t.n(d),u=t(31085);let p=(0,s.memo)(e=>{var{shouldShowPopupAboveOverlay:a,attendeeId:t}=e,i=(0,s.useRef)(null),[r]=(0,o.K)("call-motivation-popup",i.current),d=(0,n.sB)(t),p=a&&d,h=(0,s.useMemo)(()=>c()("call-audio-call-motivation-popup-profile__container",{"call-audio-call-motivation-popup-profile__aboveOverlay":a},{"call-audio-call-motivation-popup-profile__aboveOverlayWithVideoButton":p}),[a,p]),v=(0,s.useMemo)(()=>({"--bottom-safe-offset":r}),[r]);return(0,u.jsx)("div",{className:h,style:v,children:(0,u.jsx)(l.l,Object.assign({},e))})});
3var h=t(28138),v=t(13462),m=t(79760),g=t(43751),f=t(64147),b=t(31238),S=t(91907),w=(0,s.memo)(()=>{var e=(0,i.w)(),{acceptOffer:a,rejectOffer:t,offer:l,postponeOffer:o}=(0,f.g)(e?b.m.shared(e):void 0,e=>e),{attendeeId:n,audioSample:d}=l||{},c=(0,r.J2)(()=>S.l.shared().visible,[],!1),w=(0,r.J2)(()=>v.T.shared().audioCallMotivationPopup.profile.expiryTtl,[]),_=(0,r.J2)(()=>g.Y.shared().get(m.A,null).store.rxState().pipe((0,h.T)(e=>e&&g.Y.shared().get(m.A,null).store.isLeadingToConversion()&&!c)),[c]),A=(0,s.useCallback)(()=>{null==a||a()},[a]),y=(0,s.useCallback)(()=>{null==o||o("expired")},[o]),j=(0,s.useCallback)(()=>{null==t||t()},[t]);return e&&n&&l&&w&&d&&!_?(0,u.jsx)(p,{userId:e,attendeeId:n,onStartAudioCall:A,onClose:j,onExpired:y,audioSample:d,ttl:w,shouldShowPopupAboveOverlay:c,cta:"audio-call-motivation-popup-profile"}):null})},22783(e,a,t){t.d(a,{J:()=>h});var i=t(42062),s=t(17524),r=t(28138),l=t(66691),o=t(13462),n=t(99870),d=t.n(n),c=t(15782),u=t(31085);let p=(0,i.memo)(e=>{var{price:a,className:t}=e,s=(0,c.A)("call","call-price-badge",{count:a}),r=(0,i.useMemo)(()=>d()("call-price-badge__badge",t),[t]);return(0,u.jsx)("span",{className:r,children:s})});var h=(0,i.memo)(e=>{var{type:a,className:t}=e,i=(0,l.J2)(()=>{var e=o.T.shared(),t="audio"===a?e.mcs.audioCallMinuteCost:e.videoChatPrices.pipe((0,r.T)(e=>e.twoWay));return(0,s.z)([e.callPriceEnabled,t]).pipe((0,r.T)(e=>{var[a,t]=e;return a&&t>0?t:0}))},[a],0);return i?(0,u.jsx)(p,{price:i,className:t}):null})},33366(e,a,t){t.d(a,{f:()=>o});var i=t(42062),s=t(31085),r=["suspenseFallback"],l=(0,i.lazy)(()=>t.e("628").then(t.bind(t,33823)).then(e=>e.Player).then(e=>({default:(0,i.forwardRef)((a,t)=>(0,s.jsx)(e,Object.assign({},a,{ref:t})))}))),o=(0,i.forwardRef)((e,a)=>{var{suspenseFallback:t}=e,o=function(e,a){if(null==e)return{};var t={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(a.includes(i))continue;t[i]=e[i]}return t}(e,r);return(0,s.jsx)(i.Suspense,{fallback:t,children:(0,s.jsx)(l,Object.assign({},o,{ref:a}))})})},2778(e,a,t){t.d(a,{VoiceMessagePlayer:()=>y});var i=t(42062),s=t(78903),r=t(99870),l=t.n(r),o=t(31085);let n=(0,i.memo)(e=>{var{onToggleAudioPlayingButtonClick:a,audioIsPlaying:t,progressWaveRef:r,className:n,waveClassName:d,actionIconclassName:c,iconPlay:u,iconPause:p}=e,h=(0,i.useMemo)(()=>l()("voice-message-player-wrapper",n),[n]),v=(0,i.useMemo)(()=>l()("voice-message-wave-icon",d),[d]),m=(0,i.useMemo)(()=>l()("voice-action-icon",c),[c]),g=(0,i.useCallback)(e=>{e.stopPropagation(),null==a||a()},[a]);return(0,o.jsxs)("div",{className:h,children:[(0,o.jsx)("div",{className:m,onClick:g,children:t?(0,o.jsx)("div",{className:"play-icon","data-test-id":"dialogs-voice-message-player-pause-icon",children:(0,o.jsx)(s.Icon,{name:p||"pause-circle",size:"normal"})}):(0,o.jsx)("div",{className:"play-icon","data-test-id":"dialogs-voice-message-player-play-icon",children:(0,o.jsx)(s.Icon,{name:u||"play-circle",size:"normal"})})}),(0,o.jsxs)("div",{className:v,children:[(0,o.jsx)("div",{className:"voice-wave-icon",children:(0,o.jsx)(s.Icon,{name:"voice-wave",size:"normal"})}),(0,o.jsx)("div",{className:"progress-wave-wrapper",ref:r,children:(0,o.jsx)("div",{className:"progress-wave",children:(0,o.jsx)(s.Icon,{name:"voice-wave",size:"normal"})})})]})]})});var d=t(89320),c=t(16631),u=t(81199),p=t(27648);let h=(0,i.memo)(e=>{var{onToggleAudioPlayingButtonClick:a,audioIsPlaying:t,unavailable:i,progressWaveRef:s}=e,r=t?u.A:c.A;return(0,o.jsxs)("div",{className:"dialogs-voice-messages-player-view-attachment__wrapper",onClick:a,children:[(0,o.jsx)("div",{className:"dialogs-voice-messages-player-view-attachment__playButton",children:(0,o.jsx)(p.A,{icon:r,typeClass:"dialogs-voice-messages-player-view-attachment__playIcon"})}),(0,o.jsxs)("div",{className:"dialogs-voice-messages-player-view-attachment__progressBar",children:[i&&(0,o.jsx)("div",{className:"dialogs-voice-messages-player-view-attachment__lockWrapper",children:(0,o.jsx)("div",{className:"dialogs-voice-messages-player-view-attachment__lock"})}),(0,o.jsxs)("div",{className:i?"dialogs-voice-messages-player-view-attachment__unavailable":void 0,children:[(0,o.jsx)(p.A,{icon:d.A,typeClass:"dialogs-voice-messages-player-view-attachment__audioWaveBackgroun
3d"}),(0,o.jsx)("div",{className:"dialogs-voice-messages-player-view-attachment__audioWaveProgressWrapper",ref:s,children:(0,o.jsx)(p.A,{icon:d.A,typeClass:"dialogs-voice-messages-player-view-attachment__audioWaveProgress"})})]})]})]})}),v={id:"sprite-common-fa7a7cce",href:"/app/sprite-common.f91c560d.svg#sprite-common-fa7a7cce",viewBox:"0 0 86 32"},m={wrapper:"dialogs-voice-messages-player-view-generated__wrapper",playButton:"dialogs-voice-messages-player-view-generated__playButton",playIcon:"dialogs-voice-messages-player-view-generated__playIcon",progressBar:"dialogs-voice-messages-player-view-generated__progressBar",audioWaveBackground:"dialogs-voice-messages-player-view-generated__audioWaveBackground",audioWaveProgressWrapper:"dialogs-voice-messages-player-view-generated__audioWaveProgressWrapper",audioWaveProgress:"dialogs-voice-messages-player-view-generated__audioWaveProgress"};var g=t(97314);let f=(0,i.memo)(e=>{var{time:a,onToggleAudioPlayingButtonClick:t,audioIsPlaying:i,progressWaveRef:s}=e,r=i?u.A:c.A;return(0,o.jsxs)("div",{className:m.wrapper,onClick:t,children:[(0,o.jsx)("div",{className:m.playButton,children:(0,o.jsx)(p.A,{icon:r,typeClass:m.playIcon})}),(0,o.jsx)("div",{className:m.progressBar,children:(0,o.jsxs)("div",{className:m.audioWaveBackground,children:[(0,o.jsx)(p.A,{icon:v,typeClass:m.audioWaveBackground}),(0,o.jsx)("div",{className:m.audioWaveProgressWrapper,ref:s,children:(0,o.jsx)(p.A,{icon:v,typeClass:m.audioWaveProgress})})]})}),(0,o.jsx)("div",{className:m.time,children:(0,o.jsx)(g.E,{variant:"footnote-2",content:a})})]})});var b=t(66691),S=t(37896),w=t(88332),_=t(97361),A=t(94375),y=(0,i.memo)((0,i.forwardRef)((e,a)=>{var{source:{uri:t},unavailable:s,onUnavailableAudioPlayButtonClick:r,onPlay:l,onPause:d,onEnded:c,view:u}=e,p=(0,i.useCallback)(()=>{S.k.shared().setPlaying(null),null==c||c()},[c]),[v,m]=(0,i.useState)("00:00"),g=(0,i.useRef)(null),y=(0,i.useCallback)((e,a)=>{g.current&&(g.current.style.width=(e&&a?e/a*100:0)+"%"),m((0,_.m3)(e*A.b.second).replace("00:",""))},[]),j=(0,i.useRef)(null),I=(0,i.useCallback)(()=>{var e=j.current;if(e&&e.duration===1/0){e.currentTime=1e101;var a=()=>{e.currentTime=0,e.removeEventListener("timeupdate",a)};e.addEventListener("timeupdate",a)}},[]),x=(0,w.G)({source:e.source,preload:e.preload,onPlay:l,onPause:d,onEnded:p,onTimeUpdate:y,onLoadedMetadata:I,unavailable:s});j.current=x.audioElement;var C=(0,b.J2)(()=>S.k.shared().playingUri,[]),k=C===t,T=(0,i.useRef)(!1);(0,i.useEffect)(()=>{T.current=k},[k]),(0,i.useEffect)(()=>()=>{T.current&&S.k.shared().setPlaying(null)},[]),(0,i.useEffect)(()=>{C&&C!==t&&x.stop()},[x,C,t]);var M=(0,i.useCallback)(()=>{x.pause(),S.k.shared().setPlaying(null)},[x]),P=(0,i.useCallback)(()=>{s?null==r||r():k?M():(x.play(),S.k.shared().setPlaying(t||null))},[s,r,k,M,x,t]);return(0,i.useImperativeHandle)(a,()=>({play:P,pause:M}),[M,P]),(0,o.jsx)("attachment"===u?h:"generated"===u?f:n,Object.assign({},e,{progressWaveRef:g,audioIsPlaying:k,onToggleAudioPlayingButtonClick:P,time:v}))}))},37896(e,a,t){t.d(a,{k:()=>r});var i=t(15526),s=t(97156);class r{constructor(){this.playingUriSubject=new s.t(null),this.playingUri=this.playingUriSubject.asObservable()}setPlaying(e){this.playingUriSubject.next(e)}}r.shared=(0,i.G)(()=>new r)},88332(e,a,t){t.d(a,{G:()=>o});var i=t(42062),s=t(32841),r=t(30495),l=t(64998);function o(e){var{source:a,autoPlay:t,muted:o,loop:n,onPlay:d=null,onPause:c,onEnded:u=null,onPlayError:p,onTimeUpdate:h,onLoadedMetadata:v=null,volume:m=1,preload:g,unavailable:f}=e,b=(0,i.useMemo)(()=>{if(!f)if(a.remote)return(0,s.format)({protocol:"https",hostname:r.jI.shared().getBaseHost().replace("//",""),pathname:a.uri})+"?authorization="+l.a.shared().getAAF();else return a.uri},[f,a.remote,a.uri]),S=(0,i.useRef)(new Audio(b)),w=(0,i.useCallback)(e=>{e.currentTarget instanceof HTMLAudioElement&&!e.currentTarget.ended&&(null==c||c())},[c]),_=(0,i.useCallback)(e=>{e.currentTarget instanceof HTMLAudioElement&&(null==h||h(e.currentTarget.currentTime,e.currentTarget.duration))},[h]);return(0,i.useEffect)(()=>{S.current&&(S.current.src!==b&&void 0!==b&&(S.current.src=b),!!t!==S.current.autoplay&&(S.current.autoplay=!!t),!!o!==S.
3current.muted&&(S.current.muted=!!o),!!n!==S.current.loop&&(S.current.loop=!!n),void 0!==g&&(S.current.preload=g),S.current.volume=m,S.current.onplay=d,S.current.onpause=w,S.current.onended=u,S.current.ontimeupdate=_,S.current.onloadedmetadata=v)},[w,_,t,n,o,u,v,d,g,m,b]),(0,i.useMemo)(()=>({audioElement:S.current,play:()=>{var e;null==(e=S.current)||e.play().catch(e=>{var a;if(null==p||p(e),console.error(e),null!=(a=S.current)&&a.isConnected)throw e})},stop:()=>{var e;null==(e=S.current)||e.pause(),S.current&&(S.current.currentTime=0)},pause:()=>{var e;null==(e=S.current)||e.pause()}}),[p])}},5005(e,a,t){t.d(a,{g:()=>n});var i=t(15526),s=t(56379),r=t(39971),l=t(55952),o=t(79942);class n{constructor(e){this.userId=e}get(e,a,t){return l.K.shared(this.userId).mcsId(e).pipe((0,o.Fg)(e=>{var i=s.M.shared(this.userId).audioSample;return e&&i?r.v.from(i.get(e,a,t)):r.v.just(void 0)}),(0,o.ZC)(()=>r.v.just(void 0)))}send(e){return l.K.shared(this.userId).mcsId(e).pipe((0,o.Fg)(e=>{var a=s.M.shared(this.userId).audioSample;return e&&a?r.v.from(a.send(e)):r.v.just(void 0)}))}}n.shared=(0,i.G)(e=>new n(e))},23100(e,a,t){t.d(a,{f:()=>r});var i=t(15526),s=t(12640);class r{constructor(e){this.userId=e}logShown(e,a,t){var{text:i,textEn:r}=a;s._.shared(this.userId).logEvent("chat"===t?"audio-call-motivation-popup-in-chat-shown":"audio-call-motivation-popup-in-profile-shown",{attendeeId:e,text:i,textEn:r}).safeSubscribe()}logClicked(e,a,t){var{text:i,textEn:r}=a;s._.shared(this.userId).logEvent("chat"===t?"audio-call-motivation-popup-in-chat-clicked":"audio-call-motivation-popup-in-profile-clicked",{attendeeId:e,text:i,textEn:r}).safeSubscribe()}logRejected(e,a,t){var{text:i,textEn:r}=a;s._.shared(this.userId).logEvent("chat"===t?"audio-call-motivation-popup-in-chat-rejected":"audio-call-motivation-popup-in-profile-rejected",{attendeeId:e,text:i,textEn:r}).safeSubscribe()}logClosed(e,a,t,i){var{text:r,textEn:l}=a;s._.shared(this.userId).logEvent("chat"===t?"audio-call-motivation-popup-in-chat-closed":"audio-call-motivation-popup-in-profile-closed",{attendeeId:e,text:r,textEn:l,reason:i}).safeSubscribe()}logAccepted(e,a,t){var{text:i,textEn:r}=a;s._.shared(this.userId).logEvent("chat"===t?"audio-call-motivation-popup-in-chat-accepted":"audio-call-motivation-popup-in-profile-accepted",{attendeeId:e,text:i,textEn:r}).safeSubscribe()}logBlocked(e,a){s._.shared(this.userId).logEvent("audio-call-motivation-popup-in-chat-blocked",{attendeeId:e,reason:a}).safeSubscribe()}logClickedInChatLog(e,a){s._.shared(this.userId).logEvent("audio-call-motivation-popup-in-chat-log-clicked",{attendeeId:e,path:a}).safeSubscribe()}}r.shared=(0,i.G)(e=>new r(e))},31238(e,a,t){t.d(a,{m:()=>L});var i=t(89218),s=t(15526),r=t(13462),l=t(17524),o=t(75841),n=t(56823),d=t(34578),c=t(13707),u=t(28138),p=t(56177),h=t(84190),v=t(53940),m=t(27585),g=t(65052),f=t(15654),b=t(36580),S=t(77813),w=t(14321),_=t(66382),A=t(13230),y=t(25871),j=t(46822),I=t(29015),x=t(5005),C=t(33702),k=t.n(C),T=t(91885),M=t(79942),P=t(77194),E=t(77252),N=t(21050);class L extends i.D{constructor(e){super();var a=(0,l.z)([r.T.shared().mcs.audioCall.enabled,r.T.shared().audioCallMotivationPopup.enabled,w.f.shared(e).userIsFeaturedMember,j.c.shared().profileId]).pipe((0,h.n)(a=>{var[t,i,s,d]=a;return t&&i&&!s&&d?y.L.shared(e).audioPromoAllowed(d,"mopup").pipe((0,h.n)(a=>a?A.N.shared(e).audioCallAvailable(d).pipe((0,v.p)(e=>e),(0,p.s)(1),(0,h.n)(()=>N.J.shared("profile").canShowAudio()),(0,v.p)(e=>e),(0,p.s)(1),(0,m.E)(r.T.shared().audioCallMotivationPopup.profile.displayStartTime,N.J.shared("profile").closedAt("video")),(0,h.n)(a=>{var[,t,i]=a;return(i>0?(0,o.of)(0):(0,n.O)(t)).pipe((0,u.T)(()=>d),(0,h.n)(a=>(0,l.z)([P.N.shared(e).blockedUsers.pipe((0,u.T)(e=>e.includes(a))),w.f.shared(a).userIsFeaturedMember,_.j.shared().chatAttendee.pipe((0,u.T)(e=>!!e)),A.N.shared(e).audioCallAvailable(a),E.J.shared(e).callExists]).pipe((0,p.s)(1),(0,h.n)(t=>{var[i,s,r,n,d]=t;return i||!s||r||!n||d?(0,o.of)(!1):N.J.shared("profile").canShowAudio().pipe((0,v.p)(e=>e),(0,p.s)(1),(0,h.n)(()=>(0,l.z)([I.xN.shared(e).state.pipe((0,u.T)(e=>{var{locale:a}=e;return a})),I.xN.shared(e).getUserDefaultLocale()]).pipe((0,p.s)(1),(0,u.T)(e=>{var[a,t]=e;return a||t}),(0,h.n)(a=>I.xN.shared(e).audioCallSupportedLocales.pipe((0,u.T)(e=>e.includes(a)?a:I.tO))),(0,h.n)(t=>x.g.shared(e).get(a,t,"profile")),(0,u.T)(e=>!!e&&{attendeeId:a,audioSample:e}))))}))))}
3)):(0,o.of)(!1))):(0,o.of)(!1)}));this.canOffer=(0,d.h)(a,this.offeringResult.pipe((0,u.T)(()=>!1))).pipe((0,g.Z)(!1),(0,f.F)(k()),(0,b.t)({bufferSize:1,refCount:!0}))}get offer(){return super.offer.pipe((0,S.Q)(c.T))}start(e){return this.offer.toSingle().pipe((0,M.vV)(a=>a?T.Q.failure("offer-not-allowed"):T.Q.success(e)))}}L.shared=(0,s.G)(e=>new L(e))},29015(e,a,t){t.d(a,{tO:()=>I,xN:()=>x});var i=t(15526),s=t(56379),r=t(17524),l=t(75841),o=t(48830),n=t(13707),d=t(64733),c=t(84190),u=t(77813),p=t(65052),h=t(15654),v=t(36580),m=t(28138),g=t(56177),f=t(13462),b=t(14087),S=t(85378),w=t(67276),_=t(14321),A=t(33702),y=t.n(A),j={available:!1,enabled:!1,locale:"en-US",attendeeLocale:"en-US",translatedAudioTracks:[],participantsIds:[],attendeeStartTranslate:!1,attendeePlayback:!1,attendeeIsSpeaking:!1,techIssues:!1},I="en-US";class x{constructor(e){this.userId=e,this.state=(0,r.z)([f.T.shared().mcs.enabled,f.T.shared().mcs.callSpeechToSpeech.enabled,s.M.shared(this.userId).initialized,w.M.shared(this.userId).callIsAudioOnly,w.M.shared(this.userId).state.pipe((0,c.n)(e=>"idle"!==e.status?(0,l.of)(!1):f.T.shared().audioCallMotivationPopup.enabled))]).pipe((0,c.n)(e=>{var[a,t,i,r,n]=e;return a&&i&&(r||t||n)?new o.c(e=>{var a=a=>{e.next(a)},t=s.M.shared(this.userId).callSpeechToSpeech;return t&&(e.next(t.getState()),t.addStateListener(a)),()=>{var e;null==(e=s.M.shared(this.userId).callSpeechToSpeech)||e.removeStateListener(a)}}):(0,l.of)(j)}),(0,u.Q)(n.T),(0,p.Z)(j),(0,h.F)(y()),(0,v.t)({refCount:!0,bufferSize:1})),this.audioCallSupportedLocales=s.M.shared(e).initialized.pipe((0,c.n)(a=>{if(!a)return(0,l.of)([]);var t=s.M.shared(e).callSpeechToSpeech;return t?(0,l.of)(t.audioCallSupportedLocales):(0,l.of)([])})),this.locales=s.M.shared(e).initialized.pipe((0,c.n)(a=>{var t=s.M.shared(e).callSpeechToSpeech,i=s.M.shared(e).speechTranslationLocaleUtils;return a&&i&&t?(0,r.z)([w.M.shared(e).callIsAudioOnly,_.f.shared(e).userIsFeaturedMember]).pipe((0,m.T)(e=>{var[a,s]=e;return(a&&!s?t.audioCallSupportedLocales:t.availableLocales).map(e=>({code:e,name:i.toLanguageName(e)}))})):(0,l.of)([])})),this.participantProfiles=this.state.pipe((0,m.T)(e=>e.participantsIds),(0,c.n)(e=>{if(!e.length)return(0,l.of)([]);var a=e.map(e=>b.c.shared(e).profile);return(0,d.y)(...a)}),(0,m.T)(e=>e.filter(e=>!!e)),(0,v.t)({refCount:!0,bufferSize:1}))}setEnabled(e){var a;null==(a=s.M.shared(this.userId).callSpeechToSpeech)||a.setEnabled(e)}setLocale(e){var a;null==(a=s.M.shared(this.userId).callSpeechToSpeech)||a.setLocale(e)}getUserDefaultLocale(){return S.F.shared(this.userId).cachedProfile.pipe((0,g.s)(1),(0,m.T)(e=>{if(!e.isSuccessful||!e.value)return"en";var{systemLanguage:a,browserLanguage:t}=e.value;return a&&"en"!==a?a:null!=t?t:"en"}),(0,c.n)(e=>{var a=s.M.shared(this.userId).speechTranslationLocaleUtils;return null!=a&&a.isValidLanguageCode(e)?this.locales.pipe((0,g.s)(1),(0,m.T)(t=>{var i=a.getDefaultLocaleByLanguageCode(e);return t.some(e=>e.code===i)?i:I})):(0,l.of)(I)})).toSingle()}}x.shared=(0,i.G)(e=>new x(e))},21050(e,a,t){t.d(a,{J:()=>m});var i=t(97156),s=t(75841),r=t(17524),l=t(56823),o=t(15654),n=t(84190),d=t(28138),c=t(65052),u=t(15526),p=t(46822),h=t(66382),v=t(13462);class m{constructor(e){this.activeAttendeeId=null,this.videoAvailableSubject=new i.t(null),this.videoShowingSubject=new i.t(!1),this.audioShowingSubject=new i.t(!1),this.videoClosedAtSubject=new i.t(0),this.audioClosedAtSubject=new i.t(0),this.context=e,this.attendeeStates=new Map}start(e){var a="profile"===this.context?p.c.shared().profileId:h.j.shared().chatAttendee;e.add(a.pipe((0,o.F)()).safeSubscribe(e=>{e!==this.activeAttendeeId&&(this.activeAttendeeId=e,this.loadAttendeeState(e))}))}loadAttendeeState(e){var a,t,i,s=e?this.attendeeStates.get(e):null;this.videoAvailableSubject.next(null!=(a=null==s?void 0:s.videoAvailable)?a:null),this.videoShowingSubject.next(!1),this.audioShowingSubject.next(!1),this.videoClosedAtSubject.next(null!=(t=null==s?void 0:s.videoClosedAt)?t:0),this.audioClosedAtSubject.next(null!=(i=null==s?void 0:s.audioClosedAt)?i:0)}updateAttendeeState(e,a){var t=this.attendeeStates.get(e)||{videoAvailable:null,videoClosedAt:0,audioClosedAt:0};this.attendeeStates.set(e,Object.assign({},t,a))}clearAttendeeState(e){this.attendeeStates.delete(e),this.activeAttendeeId===e&&this.loadAttendeeState(e)}setVideoAvailable(e){this.activeAttendeeId&&(this.videoAvailableSubject.next(e),this.updateAttendeeState(this.activeAttendeeId,{videoAvailable:e}))}videoAvailable(){return this.activeAttendeeId?this.videoAvailableSubject.asObservable().pipe((0,o.F)()):(0,s.of)(!1)}notifyShown(e){this.activeAttendeeId&&("video"===e?this.videoShowingSubject.next(!0):this.audioShowingSubject.next(!0))}notifyClosed(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),t=arguments.length>2?arguments[2]:void 0,i=t||this.activeAttendeeId;if(i){i===this.activeAttendeeId&&("video"===e?(this.videoShowingSubject.next(!1),this.videoClosedAtSubject.next(a)):(this.audioShowingSubject.next(!1),this.audioClosedAtSubject.next(a)));var s="video"===e?{videoClosedAt:a}:{audioClosedAt:a};this.updateAttendeeState(i,s)}}popupIsShowing(e){return this.activeAttendeeId?("video"===e?this.videoShowingSubject:this.audioShowingSubject).asObservable().pipe((0,o.F)()):(0,s.of)(!1)}closedAt(e){return this.activeAttendeeId?("video"===e?this.videoClosedAtSubject:this.audioClosedAtSubject).asObservable().pipe((0,o.F)()):(0,s.of)(0)}canShowVideo(){return(0,r.z)([this.popupIsShowing("audio"),this.closedAt("audio"),v.T.shared().mcs.motivationPopupDelayAfterPreviousPopup]).pipe((0,n.n)(e=>{var[a,t,i]=e;if(a||!this.activeAttendeeId)return(0,s.of)(!1);var r=Math.max(i-(Date.now()-t),0);return(0,l.O)(r).pipe((0,d.T)(()=>!0),(0,c.Z)(!1))}),(0,o.F)())}canShowAudio(){return(0,r.z)([this.videoAvailable(),this.popupIsShowing("video"),this.closedAt("video"),v.T.shared().mcs.motivationPopupDelayAfterPreviousPopup]).pipe((0,n.n)(e=>{var[a,t,i,r]=e;if(null===a||t||!this.activeAttendeeId||a&&0===i)return(0,s.of)(!1);var o=Math.max(r-(Date.now()-i),0);return(0,l.O)(o).pipe((0,d.T)(()=>!!this.activeAttendeeId),(0,c.Z)(!1))}),(0,o.F)())}}m.shared=(0,u.G)(e=>new m(e))},21227(e,a,t){t.d(a,{l:()=>l});var i=t(15526),s=t(12640),r=t(37418);class l{constructor(e){this.userId=e}logProfileShown(e,a){s._.shared(this.userId).logEvent("users-match-feed-profile-shown",{"owner-id":e}).safeSubscribe(),r.V.shared().logEvent("profile","view","",{candidate_info:{candidate_id:e,candidate_p
3hoto:a},source:"match_feed"})}logProfileLiked(e){s._.shared(this.userId).logEvent("users-match-feed-profile-liked",{"owner-id":e}).safeSubscribe(),r.V.shared().logEvent("match_feed","click","like_button",{candidate_info:{candidate_id:e}})}logProfileDisliked(e){s._.shared(this.userId).logEvent("users-match-feed-profile-disliked",{"owner-id":e}).safeSubscribe(),r.V.shared().logEvent("match_feed","click","dislike_button",{candidate_info:{candidate_id:e}})}logProfileGallerySwiped(e,a,t){s._.shared(this.userId).logEvent("users-match-feed-profile-gallery-swiped",{"owner-id":e}).safeSubscribe(),r.V.shared().logEvent("profile","view","photo",{candidate_info:{candidate_id:e,candidate_photo:t},media:{type:a,candidate_id:e,media_uri:t}})}logUndoButtonClicked(e){s._.shared(this.userId).logEvent("users-match-feed-undo-button-clicked",{"owner-id":e}).safeSubscribe(),r.V.shared().logEvent("match_feed","click","see_previous_person",{candidate_info:{candidate_id:e}})}logProfileDetailsViewed(e){s._.shared(this.userId).logEvent("users-match-feed-profile-details-viewed",{"owner-id":e}).safeSubscribe(),r.V.shared().logEvent("match_feed","view","details",{candidate_info:{candidate_id:e}})}logChatButtonClicked(){r.V.shared().logEvent("chat","click","chat_button",{chat:{source:"match_feed"}})}logCallStarted(e){r.V.getCandidateInfo(e).safeSubscribe(a=>{r.V.shared().logEvent("profile","click","video_call",{candidate_info:a,video_chat:{candidate_id:e,chat_id:this.userId+":"+e}})})}logAudioCallStarted(e){r.V.getCandidateInfo(e).safeSubscribe(a=>{r.V.shared().logEvent("profile","click","audio_call",{candidate_info:a,audio_chat:{chat_id:this.userId+":"+e,candidate_id:e}})})}logInlineMatchModalInteracted(e,a){s._.shared(this.userId).logEvent("inline-match-modal-interacted",{"freemember-id":e,action:a}).safeSubscribe()}logSessionMatchModalInteracted(e,a){s._.shared(this.userId).logEvent("session-match-modal-interacted",{"match-count":e,action:a}).safeSubscribe()}}l.shared=(0,i.G)(e=>new l(e))},91907(e,a,t){t.d(a,{l:()=>u});var i=t(48830),s=t(15526),r=t(43751),l=t(79760),o=t(28138),n=t(15654),d=t(36580),c=t(98153);class u{constructor(){this.visible=r.Y.shared().get(l.A).store.rxState().pipe((0,o.T)(e=>(null==e?void 0:e.name)==="photos"||(null==e?void 0:e.name)==="attachment-viewer"),(0,n.F)(),(0,d.t)(1)),this.ownerId=new i.c(e=>{e.next("");var a=a=>{e.next(a)},t=()=>{e.next("")};return c.A.sync("command.profile.gallery.show",a),c.A.sync("command.profile.gallery.hide",t),()=>{c.A.removeListener("command.profile.gallery.show",a),c.A.removeListener("command.profile.gallery.hide",t)}}).pipe((0,n.F)(),(0,d.t)(1)),this.basename=new i.c(e=>{e.next(void 0);var a=a=>{e.next(a)};return c.A.sync("event.gallery.item.loaded",a),()=>{c.A.removeListener("event.gallery.item.loaded",a)}}).pipe((0,n.F)(),(0,d.t)(1))}}u.shared=(0,s.G)(()=>new u)}}]);
4//# sourceMappingURL=sourcemaps/21d094d29b67ad3f.js.map
5//# debugId=006f2267-b210-5e97-b9f4-fb8beb4c560c

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.