PageSourceSearch

https://www.pinadate.com/app/0a8b939354faece7.js

js pinadate.com collected 2026-10-04 09:13:49 UTC 12,300 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]="74d35a84-8e39-5428-89bd-5e76de6c9326")}catch(e){}}();
3(self.webpackChunkclient=self.webpackChunkclient||[]).push([["2777"],{76128(e,s,t){let a;t.d(s,{DialogsTopicsRecommendationsRating:()=>b});var i=t(42062),n=t(66691),r=t(39971),o=t(91994),c=t(93496),d=t(44399),l=t(31085),h=["userId","attendeeId"],u=t(74747),p=t(26672),g=t(51703),m=t(78186),v=(a=(0,i.memo)(e=>{var{onCloseButtonClick:s,dialogTopics:t,selectedTopics:a,onTopicSelect:i,confirmButtonDisabled:n,onConfirmButtonClick:r}=e;return(0,l.jsxs)("div",{className:"recommendations-rating-container",children:[(0,l.jsx)(p.J,{onClick:s}),(0,l.jsx)("div",{children:(0,l.jsxs)("h4",{className:"title",children:[(0,l.jsx)(m.X,{href:"/dialogs/topics/recommendation#rating-title"}),(0,l.jsx)("div",{className:"recommendations-rating-topics",children:t.map(e=>(0,l.jsx)(u.y,{dialogTopic:e,selectable:!0,selected:!!a[e.tag],onSelect:i},e.tag))}),(0,l.jsx)(g.A,{disabled:n,onClick:r,children:(0,l.jsx)(m.X,{href:"/dialogs/topics/recommendation#rating-confirm"})})]})})]})}),(0,i.memo)(e=>{var{userId:s,attendeeId:t}=e,n=function(e,s){if(null==e)return{};var t={};for(var a in e)if(({}).hasOwnProperty.call(e,a)){if(s.includes(a))continue;t[a]=e[a]}return t}(e,h);return(0,i.useEffect)(()=>{s&&d.Q.shared(s).logTopicsRecommendationRatingBannerShown(t)},[t,s]),(0,l.jsx)(a,Object.assign({},n))})),b=(0,i.memo)(e=>{var{onClose:s,attendeeId:t,onComplete:a}=e,[d,h]=(0,i.useState)({}),u=(0,o.w)(),p=(0,n.GG)(()=>u?c.x.shared(u).topics(t):r.v.just([]),[u,t],[]),g=(0,n.uN)(()=>s(),[s]),m=(0,i.useCallback)((e,s)=>{h(Object.assign({},d,{[e.tag]:s}))},[d]),b=(0,i.useMemo)(()=>!Object.entries(d).some(e=>{var[s,t]=e;return t}),[d]),f=(0,n.uN)(()=>a(p.filter(e=>d[e.tag])),[a,d,p]);return(0,l.jsx)(v,{userId:u,attendeeId:t,onCloseButtonClick:g,dialogTopics:p,selectedTopics:d,onTopicSelect:m,confirmButtonDisabled:b,onConfirmButtonClick:f})})},74747(e,s,t){t.d(s,{y:()=>c});var a=t(42062),i=t(99870),n=t.n(i),r=t(31085);let o=(0,a.memo)(e=>{var{dialogTopic:{tag:s},selectable:t,onClick:i,selected:o}=e,c=(0,a.useMemo)(()=>n()("dialogs-topic",{selectable:!!t,selected:!!t&&!!o}),[t,o]);return(0,r.jsx)("div",{className:c,onClick:i,children:s})});var c=(0,a.memo)(e=>{var{onSelect:s,selected:t,dialogTopic:i,selectable:n}=e,c=(0,a.useCallback)(()=>{n&&(null==s||s(i,!t))},[t,i,s,n]);return(0,r.jsx)(o,{selected:t,dialogTopic:i,onClick:c,selectable:n})})},88394(e,s,t){t.d(s,{_:()=>A});var a=t(89218),i=t(15526),n=t(13462),r=t(92453),o=t(28138),c=t(15654),d=t(84190),l=t(36580),h=t(97156),u=t(17524),p=t(75841),g=t(34578),m=t(65052),v=t(66382),b=t(20287),f=t(29109),S=t(22605),C=t(13230),I=t(25871),T=t(94375),w=t(39971),j=t(91885);class A extends a.D{constructor(e){super(),this.postponedOfferings=new h.t({});var s=s=>(0,u.z)([this.postponedOfferings.asObservable(),f.u.shared(e).activeChats]).pipe((0,r.M)(e=>{var[t,a]=e;t[s]&&!a.includes(s)&&(t[s]=!1,this.postponedOfferings.next(t))}),(0,o.T)(e=>{var[t,a]=e;return!t[s]&&a.includes(s)}),(0,c.F)()),t=n.T.shared().callOfferingInChat.enabled.pipe((0,d.n)(e=>e?v.j.shared().chatAttendee:(0,p.of)(!1)),(0,d.n)(t=>t?I.L.shared(e).videoPromoAllowed(t,"banner").pipe((0,d.n)(s=>s?(0,u.z)([C.N.shared(e).callIsAvailable(t),S.g.shared(e).canCallTo(t)]).pipe((0,o.T)(e=>{var[s,t]=e;return s||t}),(0,c.F)()):(0,p.of)(!1)),(0,d.n)(e=>e?s(t):(0,p.of)(!1)),(0,d.n)(s=>s?(0,u.z)([n.T.shared().callOfferingInChat.incomingMessagesThreshold,f.u.shared(e).statusOfChatWith(t)]).pipe((0,o.T)(e=>{var[s,t]=e;return!!t&&t.incomingMessagesCount>=s}),(0,c.F)()):(0,p.of)(!1)),(0,d.n)(s=>s?(0,u.z)([n.T.shared().callOfferingInChat.noCallDaysThreshold,b.u.shared(e).calls((0,p.of)(1),t)]).pipe((0,o.T)(e=>{var s,[t,a]=e,i=null==(s=a.items[0])?void 0:s.date.getTime();return!i||Date.now()-i>=t*T.b.day}),(0,c.F)()):(0,p.of)(!1)),(0,d.n)(e=>e?(0,p.of)(!0):(0,p.of)(!1)),(0,o.T)(e=>!!e&&t)):(0,p.of)(!1)));this.canOffer=(0,g.h)(t,this.offeringResult.pipe((0,o.T)(()=>!1))).pipe((0,m.Z)(!1),(0,c.F)(),(0,l.t)(1))}start(e){return w.v.just(j.Q.success(e))}markOfferingAsPostponed(e){var s=this.postponedOfferings.getValue();s[e]||(s[e]=!0),this.postponedOfferings.next(s)}accept(e){return this.markOfferingAsPostponed(e),w.v.just(j.Q.success())}reject(e){return this.markOfferingAsPostponed(e),w.v.just(j.Q.success())}}A.shared=(0,i.G)(e=>new A(e))},16355(e,s,t){t.d(s,{q:()=>T});var a=t(15526),i=t(4126),n=t(17524),r=t(75841),o=t(53940),c=t(15654),d=t(28138),l=t(36580),h=t(84190),u=t(88394),p=t(51718),g=t(43751),m=t(49844),v=t(92453),b=t(4560),f=t(77252),S=t(45482),C=t(7027),I=t(5801);class T{constructor(){this.suggestionsAvailableCache={},this.chatMessagesCache={}}getChatMessages(e,s){var t=e+"-"+s;return this.chatMessagesCache[t]||(this.chatMessagesCache[t]=(0,i.v)(()=>{var t=g.Y.shared().get(m.Ay,(0,m.OX)(e,s));return t.store.getState().messagesLoaded||t.actions.get(),t.store.rxState()}).pipe((0,o.p)(e=>e.messagesLoaded),(0,c.F)((e,s)=>e.messages.map(e=>e.id).join(",")===s.messages.map(e=>e.id).join(",")),(0,d.T)(e=>[...e.messages].sort((e,s)=>e.timestamp-s.timestamp)),(0,l.t)({refCount:!0,bufferSize:1}))),this.chatMessagesCache[t]}
3checkBaseConditions(e){return(0,n.z)([f.J.shared(e).status,u._.shared(e).canOffer,p.b.shared().visible]).pipe((0,d.T)(e=>{var[s,t,a]=e;return["idle"!==s&&"call-in-progress",t&&"call-banner",a&&"cheers-panel"].filter(e=>!!e)}))}copilotAvailable(e){return S.Session.shared().userId.pipe((0,I.o)(),(0,h.n)(s=>C.S.shared(s).chatGenerationEnabled(e).pipe((0,d.T)(e=>!!e),(0,c.F)())))}suggestionsAvailable(e){var{userId:s,attendeeId:t,placement:a}=e,i=s+"-"+t;return this.suggestionsAvailableCache[i]||(this.suggestionsAvailableCache[i]=C.S.shared(s).chatGenerationEnabled(t).pipe((0,h.n)(e=>e?(0,n.z)([this.checkBaseConditions(s),this.getChatMessages(s,t).pipe((0,d.T)(e=>{var s=e.slice(-1)[0];return null!=s&&s.id?String(s.id):void 0}))]).pipe((0,d.T)(e=>{var[s,t]=e;return{available:!s.length,reasons:s,lastMessageId:t,placement:a}})):(0,r.of)({available:!1,placement:a})),(0,l.t)({refCount:!0,bufferSize:1}))),this.suggestionsAvailableCache[i]}}T.shared=(0,a.G)(()=>{var e;return Object.create(e=new T,{suggestionsAvailableCache:{value:{}},suggestionsAvailable:{value:function(s){var{attendeeId:t,placement:a,userId:i}=s,n=i+"-"+t;return this.suggestionsAvailableCache[n]||(this.suggestionsAvailableCache[n]=e.suggestionsAvailable({userId:i,attendeeId:t,placement:a}).pipe((0,v.M)(e=>{var{available:s,reasons:n,lastMessageId:r}=e;!s&&null!=n&&n.length&&b.k.shared(i).logGenerationUnavailable({reasons:n,lastMessageId:r,placement:a,attendeeId:t})}),(0,l.t)({refCount:!0,bufferSize:1}))),this.suggestionsAvailableCache[n]}}})})},4560(e,s,t){t.d(s,{k:()=>n});var a=t(15526),i=t(12640);class n{constructor(e){this.userId=e}log(e,s){i._.shared(this.userId).logEvent(e,Object.assign({},s,{"user-id":this.userId,date:new Date().toISOString()})).safeSubscribe()}logGenerationUnavailable(e){var{reasons:s,lastMessageId:t,placement:a,attendeeId:i}=e;this.log("dialog-context-generation-unavailable",Object.assign({reasons:s,placement:a,"attendee-id":i},t&&{"last-message-id":t}))}logThirdPartySoftwareDetected(e){var{productDomain:s,thirdPartySoftwareIds:t}=e;i._.shared(this.userId).logEvent("tpsd",{"user-id":this.userId,date:new Date().toISOString(),"product-domain":s,id:t}).safeSubscribe()}}n.shared=(0,a.G)(e=>new n(e))},7027(e,s,t){t.d(s,{S:()=>f});var a=t(15526),i=t(30495),n=t(50846),r=t(79942),o=t(50042),c=Number.MAX_SAFE_INTEGER;class d extends n.Q{constructor(e){super("dialogs.completions.features",e,s=>(0,i.p6)(i.jI.shared().dialogs.completions.features.get,e,{attendeeId:s.attendeeId}).pipe((0,r.vV)(e=>{var s,{data:t,xhr:a}=e;return{data:t.features,ttl:(null==(s=(0,o.a)(a))?void 0:s.maxAge)||c}})))}}d.shared=(0,a.G)(e=>new d(e));var l=t(17524),h=t(75841),u=t(84190),p=t(28138),g=t(36580),m=t(15654),v=t(14321),b=t(13462);class f{constructor(e){this.featuresCache={},this.userId=e}getFeatureAvailability(e,s){var t="feature:"+e+":"+this.userId+(s?":"+s:"");return this.featuresCache[t]||(this.featuresCache[t]=(0,l.z)([b.T.shared().copilotEnabled,v.f.shared(this.userId).userIsFeaturedMember]).pipe((0,u.n)(t=>{var[a,i]=t;return a&&i?d.shared(this.userId).data({}).pipe((0,u.n)(t=>t.includes(e)?(0,h.of)(!0):s?d.shared(this.userId).data({attendeeId:s}).pipe((0,p.T)(s=>s.includes(e))):(0,h.of)(!1))):(0,h.of)(!1)}),(0,g.t)({bufferSize:1,refCount:!0}))),this.featuresCache[t]}chatGenerationEnabled(e){return this.getFeatureAvailability("chats.generation",e)}copilotButtonEnabled(){return(0,l.z)([b.T.shared().copilotEnabled,v.f.shared(this.userId).userIsFeaturedMember]).pipe((0,p.T)(e=>{var[s,t]=e;return s&&!t}),(0,m.F)(),(0,g.t)({bufferSize:1,refCount:!0}))}letterGenerationNewEnabled(e){return this.getFeatureAvailability("letters.generation.new",e)}letterGenerationReplyEnabled(e){return this.getFeatureAvailability("letters.generation.reply",e)}}f.shared=(0,a.G)(e=>new f(e))},51718(e,s,t){t.d(s,{b:()=>d});var a=t(98153),i=t(48830),n=t(65052),r=t(15654),o=t(36580),c=t(15526);class d{constructor(){this.visible=new i.c(e=>{var s=s=>{e.next(s)};return a.A.sync("command.chat.cheers.panel.visible.changed",s),()=>{a.A.removeListener("command.chat.cheers.panel.visible.changed",s)}}).pipe((0,n.Z)(!1),(0,r.F)(),(0,o.t)(1))}}d.shared=(0,c.G)(()=>new d)},93496(e,s,t){t.d(s,{x:()=>C});
3var a=t(17524),i=t(75841),n=t(97156),r=t(28138),o=t(84190),c=t(15654),d=t(39971),l=t(79942),h=t(15526),u=t(50846),p=t(30495);class g extends u.Q{constructor(e){super("dialogs.topics.recommendation",e,s=>(0,p.p6)(p.jI.shared().dialogs.topics.get,e,s).pipe((0,l.vV)(e=>{var{data:s,xhr:t}=e;return{data:s.topics,ttl:0}})))}}g.shared=(0,h.G)(e=>new g(e));var m=t(13462),v=t(58731),b=t(16355),f="dialogs-topics-recommendation",S="chats-with-hidding-topics";class C{constructor(e){this.topicsRecommendationsShowingSubjects={},this.userId=e}enabled(e){return(0,a.z)([m.T.shared().chatTopicsRecommendationEnabled,b.q.shared().copilotAvailable(e)]).pipe((0,r.T)(e=>{var[s,t]=e;return s&&!t}))}topics(e){return this.enabled(e).pipe((0,o.n)(s=>s?g.shared(this.userId).data(e):(0,i.of)([]))).toSingle()}topicsRecommendationCanShown(e){return(0,a.z)([this.enabled(e),m.T.shared().chatTopicsRecommendation]).pipe((0,o.n)(s=>{var[t,a]=s;return t?v.y.shared(f,this.userId).load(S).asObservable().pipe((0,o.n)(s=>{if(!this.topicsRecommendationsShowingSubjects[e]){var t=a["default-hidden-by-actions-count"],i=!s||s.length<t&&!s.includes(e);this.topicsRecommendationsShowingSubjects[e]=new n.t(i)}return this.topicsRecommendationsShowingSubjects[e].asObservable()})):(0,i.of)(!1)}),(0,c.F)())}showTopicsRecommendation(e){return this.topicsRecommendationsShowingSubjects[e]?this.topicsRecommendationsShowingSubjects[e].next(!0):this.topicsRecommendationsShowingSubjects[e]=new n.t(!0),v.y.shared(f,this.userId).load(S).pipe((0,l.Fg)(s=>s&&s.includes(e)?v.y.shared(f,this.userId).store(S,s.filter(s=>s!==e)):d.v.just(void 0)))}hideTopicsRecommendation(e){return this.topicsRecommendationsShowingSubjects[e]?this.topicsRecommendationsShowingSubjects[e].next(!1):this.topicsRecommendationsShowingSubjects[e]=new n.t(!1),v.y.shared(f,this.userId).load(S).pipe((0,l.Fg)(s=>v.y.shared(f,this.userId).store(S,[...s||[],e])))}}C.shared=(0,h.G)(e=>new C(e))},44399(e,s,t){t.d(s,{Q:()=>n});var a=t(15526),i=t(12640);class n{constructor(e){this.userId=e}logTopicsRecommendationRatingBannerShown(e){i._.shared(this.userId).logEvent("chat-topics-recommendations-rating-banner-shown",{userId:this.userId,attendeeId:e}).safeSubscribe()}logTopicsRecommendationsRatingBannerAccepted(e,s){i._.shared(this.userId).logEvent("chat-topics-recommendations-rating-banner-accepted",{userId:this.userId,attendeeId:e,selectedTopics:s}).safeSubscribe()}logTopicsRecommendationsRatingBannerDeclined(e){i._.shared(this.userId).logEvent("chat-topics-recommendations-rating-banner-declined",{userId:this.userId,attendeeId:e}).safeSubscribe()}}n.shared=(0,a.G)(e=>new n(e))}}]);
4//# sourceMappingURL=sourcemaps/0a8b939354faece7.js.map
5//# debugId=74d35a84-8e39-5428-89bd-5e76de6c9326

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.