PageSourceSearch

https://www.eurodate.com/app/6f53e518a0347bee.js

js eurodate.com collected 2026-09-24 12:27:44 UTC 7,333 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]="ece0e14d-7733-5bdd-8471-23d75ede4648")}catch(e){}}();
3(self.webpackChunkclient=self.webpackChunkclient||[]).push([["1198"],{67421(e,t,s){s.d(t,{CheerWithClickAnimation:()=>K});var r=s(42062),a=s(78675),n=s(66691),i=s(67276),c=s(28138),o=s(15654),u=s(96650),l=s(54191),d=s(75841),h=s(43751),f=s(10845),m=s(4606),p=s(33366),v=s(14394),b=s(15782),k=s(99870),C=s.n(k),g=s(70618),w=s(31085);let T=(0,r.memo)(e=>{var{onCloseButtonClick:t,messageIsIncoming:s}=e,a=(0,b.A)("cheers","click-animation-tooltip-title"),n=C()("cheers-click-animation-tooltip__container",{"cheers-click-animation-tooltip__incoming":s}),i=(0,r.useRef)(null);(0,g.L)(i,t);var c=s?"topLeft":"topRight";return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{className:n,ref:i,children:(0,w.jsx)(v.Z,{title:a,onCloseButtonClick:t,arrowPlacement:c})}),(0,w.jsx)("div",{className:"cheers-click-animation-tooltip__pulse"})]})});var S=s(74210);let _=(0,r.memo)(e=>{var{playAnimation:t,animations:s,cheerPath:a,onClickAnimationEvent:i,tooltipVisible:c,onTooltipClose:o,messageIsIncoming:u,onCheerVisibilityChange:l,hoverEnabled:d}=e,h=(0,r.useRef)(null),f=(0,n.J2)(()=>S.r.shared().focusState,[]);(0,r.useEffect)(()=>{var e=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&"focused"===f?l(!0):l(!1)})},{threshold:.5}),t=h.current;return t&&e.observe(t),()=>{t&&e.unobserve(t),l(!1)}},[l,f]);var v=(0,r.useMemo)(()=>C()("sticker cheer",{"cheers-click-animation__hover":d}),[d]);return(0,w.jsxs)("div",{className:"cheers-click-animation__root",children:[c&&(0,w.jsx)(T,{onCloseButtonClick:o,messageIsIncoming:u}),(0,w.jsx)("div",{ref:h,className:"cheers-click-animation__animatedCheerContainer",children:(0,w.jsx)(m.R,{onClick:t,className:v,path:a})}),s.map(e=>(0,w.jsx)("div",{className:"cheers-click-animation__animation",children:(0,w.jsx)(p.f,{autoplay:!0,loop:!1,src:e.data,onEvent:i})},e.id))]})});var j=s(94375),I=s(64651),x=s(64147),y=s(89218),E=s(91885),A=s(34578),R=s(84190),B=s(97983),P=s(15526),F=s(79942),J=s(22998),N=s(39971),O=s(82580),D="cheer-click-animation-tooltip",M="offered";class Q extends y.D{constructor(e){super(),this.userId=e,this.canOffer=O.E.shared(e).offer.pipe((0,R.n)(e=>e?(0,d.of)(!1):(0,A.h)(this.offeringResult.pipe((0,B.u)(!1)),J.w.shared(D,this.userId).load(M).pipe((0,F.vV)(e=>!e)))))}start(e){return this.offer.toSingle().pipe((0,F.Fg)(t=>t?N.v.just(E.Q.failure("offer-not-allowed")):J.w.shared(D,this.userId).store(M,!0).pipe((0,F.AB)(E.Q.success(e)))))}}Q.shared=(0,P.G)(e=>new Q(e));var Z=s(91994),G=s(9684),L=s(12640);class V{constructor(e){this.userId=e}logAnimationPlayed(e,t){L._.shared(this.userId).logEvent("cheer-vibroanimation-recipient-played",{userId:this.userId,attendeeId:e,cheerName:t}).safeSubscribe()}}V.shared=(0,P.G)(e=>new V(e));var z=s(52569);function H(e,t,s,r,a,n,i){try{var c=e[n](i),o=c.value}catch(e){return void s(e)}c.done?t(o):Promise.resolve(o).then(r,a)}function W(e){return function(){var t=this,s=arguments;return new Promise(function(r,a){var n=e.apply(t,s);function i(e){H(n,r,a,i,c,"next",e)}function c(e){H(n,r,a,i,c,"throw",e)}i(void 0)})}}var Y=(0,s(99027).CP)("single_animation_vol_02_v_02"),q=(0,r.memo)(e=>{var{cheerPath:t,playSource:s,playAnimation:a}=e,i=(0,Z.w)(),c=(0,n.J2)(()=>u.j.shared().chatAttendee,[]),o=t.replace("/cheers/","").replace(/;.*/,"");return(0,r.useEffect)(()=>{"websocket"===s&&i&&c&&V.shared(i).logAnimationPlayed(c,o)},[s,i,c,a,o]),(0,w.jsx)(_,Object.assign({},e))}),K=(0,r.memo)(e=>{var t,{cheerPath:s,senderId:m,messageTag:p}=e,[v,b]=(0,r.useState)([]),[k,C]=(0,r.useState)({count:0,firstClickTime:0}),[g,T]=(0,r.useState)(null),[S,_]=(0,r.useState)(!1),y=(0,Z.w)(),E=(0,n.J2)(()=>u.j.shared().chatAttendee,[]),[A,R]=(0,r.useState)(void 0),B=(0,n.J2)(()=>E?l.Q.shared().get(E):(0,d.of)(!1),[E],!1),P=(0,n.J2)(()=>y?i.M.shared(y).state.pipe((0,c.T)(e=>"idle"!==e.status)):(0,d.of)(!1),[y],!1),F=(0,n.J2)(()=>y?h.Y.shared().get(f.A,y).store.rxState().pipe((0,c.T)(e=>"idle"!==e.status),(0,o.F)()):(0,d.of)(!1),[y],!1),J=a.T.shared().presents.host;(0,r.useEffect)(()=>
3{if(B)T(null);else{var e=new Audio("/sounds/cheer-click-animation.mp3");e.volume=.2,T(e)}},[B]);var N=(0,r.useCallback)(e=>{"play"===e&&g&&!B&&(g.currentTime=0,g.play())},[g,B]),O=(0,r.useRef)(null),D=(0,r.useRef)(null),M=(0,r.useRef)(0),L=(0,r.useCallback)(W(function*(){var e=yield fetch(Y);if(e.ok){var t=yield e.json(),r=t.assets.findIndex(e=>"REPLACE_THIS"===e.p);return -1!==r&&(t.assets[r].p=""+J+s),{id:Date.now(),data:t}}}),[J,s]),V=(0,r.useCallback)((e,t)=>{var s=[...e,t];return M.current=s.length,s},[]),H=(0,r.useCallback)((e,t)=>{var s=e.filter(e=>e.id!==t.id);return M.current-=1,s},[]),K=(0,r.useCallback)((e,t,s)=>G.B.shared(e).animate(t,s),[]),U=(0,r.useCallback)((t=W(function*(e){if(!P&&!F){R(e);var t=Date.now();if(0===k.count||t-k.firstClickTime>j.b.second)C({count:1,firstClickTime:t});else{if(!(k.count<3))return;C(e=>Object.assign({},e,{count:e.count+1}))}try{var s=yield L();if(!s)return;b(e=>V(e,s)),D.current&&clearTimeout(D.current),z.Z.shared().setStatus("active",p),_(!0),y&&E&&"websocket"!==e&&K(y,E,p),O.current=setTimeout(()=>{b(e=>{var t=H(e,s);return 0===M.current&&(z.Z.shared().setStatus("idle",p),_(!1)),t})},2*j.b.second)}catch(e){}}}),function(e){return t.apply(this,arguments)}),[P,F,k.count,k.firstClickTime,L,p,y,E,V,H,K]),[X,$]=(0,r.useState)(!1),{offer:ee,canOffer:et,acceptOffer:es}=(0,x.g)(y&&p&&X&&!F&&!P?Q.shared(y):void 0,()=>p),[er,ea]=(0,r.useState)(!1),en=(0,r.useCallback)(e=>{$(e)},[]),ei=(0,r.useCallback)(()=>{null==es||es(),ea(!1)},[es]);(0,r.useEffect)(()=>{var e;return et&&ee===p&&(ea(!0),e=setTimeout(()=>ei(),30*j.b.second)),()=>{e&&clearTimeout(e)}},[ee,ei,p,et]);var ec=y!==m;(0,r.useEffect)(()=>{if(y&&E&&X){var e=G.B.shared(y).animation().safeSubscribe(e=>{e===p&&U("websocket")});return()=>{e.unsubscribe()}}},[y,p,X,U,E]),(0,I.Fd)(()=>{O.current&&clearTimeout(O.current),D.current&&clearTimeout(D.current),z.Z.shared().setStatus("idle",p)},[p]);var eo=!S&&!F&&!P;return(0,w.jsx)(q,{playAnimation:U,cheerPath:s,onClickAnimationEvent:N,animations:v,tooltipVisible:er,onTooltipClose:ei,messageIsIncoming:ec,onCheerVisibilityChange:en,hoverEnabled:eo,playSource:A})})},82580(e,t,s){s.d(t,{E:()=>b});var r=s(89218),a=s(91885),n=s(84190),i=s(28138),c=s(15654),o=s(15526),u=s(22508),l=s(17524),d=s(75841),h=s(13462),f=s(79942),m=s(66382),p=s(14321),v=s(67276);class b extends r.D{constructor(e){super(),this.userId=e,this.canOffer=(0,l.z)([h.T.shared().bonusesEnabled,m.j.shared().tab,m.j.shared().cta,p.f.shared(e).userIsFeaturedMember,v.M.shared(e).state]).pipe((0,n.n)(e=>{var[t,s,r,a,n]=e;return!a&&"idle"===n.status&&t&&"chat"===s&&("contacts-list"===r||"feed"===r||"profile"===r)?u.T.shared(this.userId).status.pipe((0,i.T)(e=>!!e.popupShown&&!e.balanceBadgeTooltipShown)):(0,d.of)(!1)}),(0,c.F)())}start(){return u.T.shared(this.userId).setStatus({balanceBadgeTooltipShown:!0}).pipe((0,f.AB)(a.Q.success({})))}}b.shared=(0,o.G)(e=>new b(e))}}]);
4//# sourceMappingURL=sourcemaps/6f53e518a0347bee.js.map
5//# debugId=ece0e14d-7733-5bdd-8471-23d75ede4648

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.