PageSourceSearch

https://tinder.com/static/build/chunks/async-recs-feature-6c943967d101065cd4f7.js

js tinder.com collected 2026-09-24 08:33:09 UTC 38,282 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"7.35.2"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8950acf7-514b-428e-9dac-fdb3dbc3cb28",e._sentryDebugIdIdentifier="sentry-dbid-8950acf7-514b-428e-9dac-fdb3dbc3cb28")}catch(e){}}(),(globalThis.webpackChunktinderweb=globalThis.webpackChunktinderweb||[]).push([[77494],{157679(e,t,i){i.d(t,{BC:()=>l,gD:()=>a});var s=i(738623),r=i(536221);const o=2*s.CZ,n=e=>({id:e,timestamp:Date.now()}),l=(e,t,i=50)=>{if(e){return[n(e)].concat(t).slice(0,i)}return t},a=e=>e.filter((e=>!(0,r.A)(e.timestamp,o)))},792963(e,t,i){i.d(t,{$z:()=>n,Y3:()=>r,oe:()=>o});var s=i(947677);const r=e=>{if(!e)return!1;const t=!!e.liked_content?.by_opener?.is_swipe_note,i=!!e.liked_content?.by_closer?.is_swipe_note;return t||i},o=e=>e.liked_content?.by_opener?.is_swipe_note??!1,n=e=>e?s.aC.Note:s.aC.SuperLike},894980(e,t,i){i.d(t,{CQ:()=>o,RX:()=>n,_X:()=>l});var s=i(872383),r=i(931134);const o=(0,s.VP)(r.OTHER_USER_GET_BY_ID,(({id:e})=>({id:e}))),n=(0,s.VP)(r.OTHER_USER_GET_BY_ID_SUCCESS,(e=>e)),l=(0,s.VP)(r.OTHER_USER_GET_BY_ID_ERROR,(e=>e))},931134(e,t,i){i.r(t),i.d(t,{OTHER_USER_GET_BY_ID:()=>s,OTHER_USER_GET_BY_ID_ERROR:()=>r,OTHER_USER_GET_BY_ID_SUCCESS:()=>o});const s="OTHER_USER_GET_BY_ID",r="OTHER_USER_GET_BY_ID_ERROR",o="OTHER_USER_GET_BY_ID_SUCCESS"},208594(e,t,i){i.d(t,{mQ:()=>o,pq:()=>n});var s=i(872383),r=i(562540);const o=(0,s.VP)(r.RECS_PERFORMANCE,(e=>e)),n=(0,s.VP)(r.UPDATES_PERFORMANCE,(e=>e));(0,s.VP)(r.TRACK_API_PERFORMANCE,(e=>e))},562540(e,t,i){i.r(t),i.d(t,{RECS_PERFORMANCE:()=>s,TRACK_API_PERFORMANCE:()=>o,UPDATES_PERFORMANCE:()=>r});const s="RECS_PERFORMANCE",r="UPDATES_PERFORMANCE",o="TRACK_API_PERFORMANCE"},872502(e,t,i){i.r(t),i.d(t,{_loadRecByIdSaga:()=>ft,_loadRecsSaga:()=>ht,_recDislikeSaga:()=>ut,_recFirstImpressionSaga:()=>ct,_recLikeSaga:()=>ot,_recRewindSaga:()=>nt,_recSuperlikeSaga:()=>dt,handleHomeScreenPrompt:()=>Ge,handlePriorityLikes:()=>Qe,handleSuperlikeUpsell:()=>xe,loadRecByIdSaga:()=>It,loadRecsChannel:()=>Rt,loadRecsChannelSaga:()=>St,loadRecsSaga:()=>mt,loadRecsWithBackoffSaga:()=>Tt,recDislikeSaga:()=>et,recFirstImpressionSaga:()=>ze,recLikeSaga:()=>Ze,recRewindSaga:()=>tt,recSuperlikeSaga:()=>Xe,showAddToHomescreenSaga:()=>He,storeRecLikeWithoutMatchPhoto:()=>rt,trackHubblePostRate:()=>gt,trackHubbleRecs:()=>Ct,updateFastMatchDetails:()=>qe});var s=i(976705),r=i(554863),o=i(380834),n=i.n(o),l=i(938333),a=i(986507),d=i(864573),c=i(738623),u=i(536221),_=i(67786),y=i(894506),p=i(745987),E=i(217550),S=i(137315),R=i(714197),T=i(290879),h=i(872383),m=i(455643),f=i(862569),I=i(254425),C=i(139366);const g=({rec:e,ratingType:t})=>{if(!e||!e.duo_group)return{rating_type:t,group_id:"",participants:[]};const i=e.duo_group.participants.map((e=>e.user?._id)).filter(Boolean);return{rating_type:t,group_id:e.duo_group.group_id,participants:[e._id,...i]}};var L=i(345333),v=i(989534),P=i(968863),b=i(843354),O=i(19986),A=i(379965),U=i(227126),k=i(311933);const w=(0,h.bl)("duos"),N=(0,k.createSelector)(w,(e=>e.groups??[]));(0,k.createSelector)(w,(e=>e.state.status)),(0,k.createSelector)(w,(e=>e.pollInterval)),(0,k.createSelector)(w,(e=>e.state.lastUpdated));var M=i(719730),D=i(986595),K=i(21861),J=i(663627),F=i(398396),B=i(548054),V=i(661396),j=i(584344),$=i(894980),H=i(931134),Y=i(208594),G=i(614228),q=i(562873),x=i(513778),Q=i(376504),W=i(483633),Z=i(430144),X=i(33132),z=i(244216),ee=i(947677),te=i(303450),ie=i(529371),se=i.n(ie);const re=e=>{if(se()(e))return null;const{descriptor_ids:t,has_bio:i,interest_ids:s,min_photos:r}=e;let o="";return i&&(o+="bio,"),(r??1)>1&&(o+="photos,"),s?.length&&(o+="interests,"),t?.length&&(o+="descriptors,"),o.length?o.slice(0,-1):null},oe=e=>{if(se()(e))return null;const{descriptor_ids:t,has_bio:i,interest_ids:s,min_photos:r}=e;let o="";return i&&(o+="has_bio,"),(r??1)>1&&(o+=`photos_${r},`),s?.length&&(o+=`${s.join(",")},`),t?.length&&(o+=`${t.map((e=>e.replace(/-/g,"_"))).join(",")},`),o.length?o.slice(0,-1):null};var ne=i(692099),le=i(134611);const ae=new Set([le.Z7,le.fe]),de="none";function ce(e){const{status:t=de}=e?.tinder_u||{};return{recTinderUStatus:ae.has(t)?t:de,tinderUEnabled:!(!e.tinder_u?.school||!(0,le.m6)(e.tinder_u)),schoolId:e.tinder_u?.school?.school_id}}var ue=i(792963),_e=i(606756);const ye=(e,t=0)=>e?e.map(((e,i)=>i<=t?e.content.map((({id:e})=>
1e)):null)).filter(Boolean).flat().join(","):null;function*pe(e,t,i){const{method:r}=t?.payload??{},{_id:o,is_super_like:n,s_number:l,country:a,is_traveling:d,recently_active:c,photos:u=[]}=e,_=yield(0,s.Lt)(b.P4,o),y=yield(0,s.Lt)(b.gy,o),p=u[_]?.id,E=(0,ne.s2)(u),S=e?.user_interests?.selected_interests,R=!!S?.length,T=!!e.swipe_note,h=yield(0,s.Lt)(Q.xU),m=u?.filter((e=>"short_video"===e.media_type))||[],f=m.length,I=m.filter((e=>e.assets?.some((e=>e.has_audio))))?.length,C=yield(0,s.Lt)(Q.G8),g=e?.selected_descriptors,L=e?.matched_preferences,v=e?.collectible_showcase,P=!!v?.length,O=e?.relationship_intent?.descriptor_choice_id??null,A=ye(e?.tappy_content,_);var U;const k={availableMediaList:E,didSuperLike:n,hasPremiumPreferences:(U=C,!(se()(U)||2===Object.keys(U).length&&!U.preference_has_bio_filter&&(U.preference_number_of_photos_filter??0)<2)),isRecentlyActive:c,method:r,otherId:o,photoId:p,recTraveling:d,sNumber:l,superlikeType:n?(0,ue.$z)(T):void 0,teaserType:e.teaser?.type,teaserValue:e.teaser?.string,userTraveling:h,viewedProfileElements:A,viewedProfilePremiumPreferencesFulfilled:ye(e?.tappy_content,y)?.includes("matched_preferences")||!1,valueProfileElementDescriptors:g?(0,_e.h)(g):null,valueProfileElementInterests:R?S?.map((e=>e.id)).join(","):null,valueProfileElementCollectibles:P?(0,ne.fx)(v):null,valueProfileElementIntent:O,valueProfilePremiumPreferencesElement:re(L),valueProfilePremiumPreferencesFulfilled:oe(L),videoCount:f,audibleVideoCount:I,valueProfileElementGeo:a&&JSON.stringify({country:a.code,distance:e.distance_mi}),...ce(e),...i};yield(0,s.yJ)((0,z.s)(te.bh,k))}var Ee=i(283274),Se=i(399255),Re=i(890446),Te=i(406589);function*he(e,t){e.is_super_like&&(yield(0,s.yJ)((0,Te.J)({...t,interactionValue:e.swipe_note?ee.aC.Note:ee.aC.SuperLike,message:e.swipe_note,otherId:e._id,receivedMediaId:e.liked_content_id})))}var me=i(569288),fe=i(935404),Ie=i(824424),Ce=i(536224),ge=i(26158),Le=i.n(ge),ve=i(727706),Pe=i.n(ve),be=i(939027),Oe=i(596006),Ae=i(641195);const Ue=e=>{const t={},i=Le()(e,"city.name");"string"==typeof i&&(t.city=i);const s=Le()(e,"jobs",[]);if(Array.isArray(s)&&s.length>0){const e=s[0],i=Le()(e,"title.name",""),r=Le()(e,"company.name","");i&&r?t.job=`${i} at ${r}`:i?t.job=i:r&&(t.job=r)}const r=Le()(e,"schools",[]);if(Array.isArray(r)&&r.length>0){const e=Le()(r[0],"name","");e&&(t.school=e)}return t},ke=e=>{const t=Le()(e,"selected_descriptors",[]);if(!Array.isArray(t))return{descriptors:[],descriptorValues:"",profileElementCount:0};const i=t.filter(Boolean).map((e=>{const t=Le()(e,"id"),i=Le()(e,"name")||Le()(e,"type");return t&&i?`${t}:${i}`:null})).filter(Boolean).join(","),s=t.filter(Boolean).map((e=>{const t=Le()(e,"id");return t||null})).filter(Boolean).join(",");return{descriptors:t,descriptorValues:i,descriptorIds:s,profileElementCount:t.length}},we=e=>{const t=Pe()(e,"user_interests")?Le()(e,"user_interests.selected_interests",[]):Le()(e,"selected_interests",[]);if(!Array.isArray(t))return{userInterests:[],interests:"",interestsCount:0,sharedInterestsCount:0};const i=t.map((e=>Le()(e,"name",""))).filter(Boolean).join(","),s=t.map((e=>Le()(e,"id",""))).filter(Boolean).join(","),r=t.filter((e=>Le()(e,"is_common"))).map((e=>Le()(e,"name"))).join(","),o=t.filter((e=>Le()(e,"is_common"))).map((e=>Le()(e,"id"))).join(",");return{userInterests:t,interests:i,interestsIds:s,interestsCount:t.length,sharedInterests:r,sharedInterestsIds:o}},Ne=e=>{const t=Le()(e,"spotify",{}),i=!!Le()(t,"spotify_theme_track"),s=Le()(t,"spotify_theme_track"),r=Le()(t,"spotify_top_artists",[]),o=Array.isArray(r)&&r.length>0;return{spotify:t,hasAnthem:i,anthemData:s,hasTopArtists:o,topArtists:Array.isArray(r)?r:[],anthemStringified:i?JSON.stringify({tile:s?.name,artist:s?.artists?.[0]?.name}):"",topArtistsStringified:o?JSON.stringify({numArtists:r.length,topArtists:r.map((e=>e.name))}):""}},Me=e=>{const t=Le()(e,"tappy_content",[]);if(!Array.isArray(t)||0===t.length)return;return t.map((e=>{const t=Le()(e,"content",[]);return Array.isArray(t)?t.map((e=>Le()(e,"id"))).filter(Boolean).join(","):""})).filter(Boolean).join(";")},De=e=>{const t=Le()(e,"ui_configuration.id_to_component_map");if(!t||"object"!=typeof t)return;const i=Object.entries(t).reduce(((e,[t,i])=>{const s=Le()(i,"text_v1.content");
1if(s)e[t]=s;else{const s=Le()(i,"pills_v1.pills[0].analytics_value");s&&(e[t]=s)}return e}),{});return Object.keys(i).length>0?JSON.stringify(i):void 0},Ke=e=>{if(!e)return{};const t=e.duo_group?.participants[0],i=we(e),s=(e=>{const t=Le()(e,"experiment_info.user_interests.selected_interests",[]),i=t.filter((e=>Le()(e,"is_common"))).map((e=>Le()(e,"id"))).join(",");return{interests:t.map((e=>e.id)).join(","),commonInterests:i}})(t),r=ke(e),o=ke(t),n=Ne(e),l=Ne(t),a=Me(e),d=Me(t),c=De(e),u=De(t),_=Ue(e),y=Ue(t?.user);return{other_group_id:Le()(e,"duo_group.group_id"),other_group_size:Le()(e,"duo_group.participants").length+1,other_group_uids:[Le()(e,"_id"),...Le()(e,"duo_group.participants").map((e=>e.user._id))],s_number:Le()(e,"s_number"),category_id:Le()(e,"duo_group.group_id"),duration_in_millis:Le()(e,"duration_in_millis"),method:Le()(e,"method"),source_session_event:Le()(e,"duo_group.group_id"),tappy_element_values_users:[c||"",u||""],value_profile_element_bio_users:[Le()(e,"bio",""),Le()(t,"user.bio","")],value_profile_element_interests_users:[i.interestsIds,s.interests],value_profile_element_anthem_users:[n.anthemStringified,l.anthemStringified],value_profile_element_top_artists_users:[n.topArtistsStringified,l.topArtistsStringified],value_profile_element_intent_users:[Le()(e,"relationship_intent.body_text",""),Le()(t,"user.relationship_intent.body_text","")],value_profile_element_descriptors_users:[r.descriptorIds,o.descriptorIds],value_profile_element_identity_users:[JSON.stringify(_),JSON.stringify(y)],profile_element_order_users:[a||"",d||""],shared_interests_users:[i.sharedInterestsIds,s.commonInterests],page_viewed_durations_users:[]}};var Je=i(944429),Fe=i(280190),Be=i(599036);const{executeEvent:Ve,executeLogEvent:je,logRare:$e}=(0,R.A)();function*He(){const e=(0,j.xV)();if(null!==e){e.prompt(),Ve(E.qR,{category:E.G1,action:E.dj,label:"RecsLogic",message:"Show Browser Prompt"});const t=yield e.userChoice;t&&"accepted"===t.outcome?(Ve(E.qR,{category:E.G1,action:E.Mm,label:"RecsLogic",message:"Accept Browser Prompt"}),yield(0,s.yJ)((0,V.Ds)({theme:me.MX,title:[{id:"success"}],body:[{id:"modals.addToHomeScreen.success"}]}))):Ve(E.qR,{category:E.G1,action:E.Mm,label:"RecsLogic",message:"Reject Browser Prompt"}),(0,j.UL)()}}function*Ye(e,t,i){let r=e?.payload?.recUser;r||(r=yield(0,s.Lt)(Be.HP));const o=r?._id;if(o)return yield(0,s.yJ)((0,P.s7)(r,t,i)),r=yield(0,s.Lt)(M.ay,o),r}function*Ge(){const e=yield(0,s.Lt)(Z.aK),t=(0,j.xV)();if(e)return void(t&&(0,j.UL)());const i=yield(0,s.Lt)(U.FC),r=yield(0,s.Lt)(U.Hd),o="iOS"===i&&"Mobile Safari"===r&&!f.A;(yield(0,s.Lt)(Be.wU))>5&&(t?(Ve(E.qR,{category:E.G1,action:E.dj,label:"RecsLogic",message:"Show Homescreen Modal"}),yield(0,s.yJ)((0,F.q)(B.gv,{props:{handleAccept:(0,V.nR)(),handleCloseModal:()=>{(0,j.UL)()}}})),yield(0,s.yJ)((0,W.h9)({upsellType:"homeScreenTooltip"}))):o&&(Ve(E.qR,{category:E.G1,action:E.dj,label:"RecsLogic",message:"Show Homescreen Tooltip"}),yield(0,s.yJ)((0,V.di)()),yield(0,s.yJ)((0,W.h9)({upsellType:"homeScreenTooltip"}))))}function*qe(e){(yield(0,s.Lt)(x.l9))&&(e&&(yield(0,s.yJ)((0,K.K1)())),yield(0,s.T1)(r.A,1e3),yield(0,s.yJ)((0,K.Sd)()))}function*xe(){yield(0,s.yJ)((0,Je.TR)()),yield(0,s.yJ)((0,Je.PG)()),yield(0,s.yJ)((0,F.q)(B.BG)),yield(0,s.yJ)((0,W.h9)({upsellType:"superlikeHighRsrr",upsellTs:Date.now()}))}function*Qe(){const e=yield(0,s.Lt)(v.gb),t=yield(0,s.Lt)(x.wb);if(e&&!t){const e=yield(0,s.Lt)(Be._V),t=(0,y.iE)(),i=t.readLever(p.C97);if(i&&e>=i){const e=1e3*t.readLever(p.bPK),i=yield(0,s.Lt)(Z.jk);if((0,u.A)(i,e)){yield(0,s.yJ)((0,F.q)(B.KK));const e=Date.now();yield(0,s.yJ)((0,W.h9)({upsellType:"priorityLikes",upsellTs:e}))}else yield(0,s.yJ)((0,W.h9)({upsellType:"priorityLikes"}))}}else yield(0,s.yJ)((0,W.h9)({upsellType:"priorityLikes"}))}function We(e={}){return 40012===e.code?"Reactions.contentModerationError":"pleaseTryAgain"}const Ze=(0,m.Uj)(ot,{name:"recLikeSaga"}),Xe=(0,m.Uj)(dt,{name:"recSuperlikeSaga",*errorHandler(e){yield(0,s.T1)(Ye,{},void 0,!1),yield(0,s.yJ)((0,Je.TR)());e instanceof S.hR?yield*(0,Ce.A)("superlike",[L.t0]):yield(0,s.yJ)((0,V.Ds)({theme:me.dY,title:[{id:"uhOhSomethingWentWrong"}],body:[{id:We(e.error)}]}))}}),ze=(0,m.Uj)(ct,{name:"recFirstImpressionSaga",*errorHandler(e){yield(0,s.T1)(Ye,{},void 0,!1),yield(0,s.yJ)((0,Je.TR)());e instanceof S.hR?yield*(0,Ce.A)("firstImpression",[L.uF]):yield(0,s.yJ)((0,V.Ds)({theme:me.dY,title:[{id:"uhOhSomethingWentWrong"}],body:[{id:We(e.error)}]}))}}),et=(0,m.Uj)(ut,{name:"recDislikeSaga"}),tt=(0,m.Uj)(nt,{name:"recRewindSaga"});function*it(e){const t=(0,y.iE)(),i=t?.readLever(p.muH);return!((yield(0,s.Lt)(Q.xN))||!i)&&(yield(0,s.T1)(r.A,500),yield(0,s.T1)(Ye,e,void 0,!1),yield(0,s.yJ)((0,Je.pE)()),yield(0,s.yJ)((0,F.q)(B.H7,{props:{actionType:e.type===be.RECS_SUPERLIKE||e.type===J.FAST_MATCH_SUPERLIKE?be.REC_USER_ACTION_SUPER_LIKE:be.REC_USER_ACTION_LIKE}})),!0)}function*st(e){const t=[it];let i=!1,r=0;try{for(;!i&&r<t.length;){const o=yield(0,s.T1)(t[r],e);r+=1,i=o}}catch(e){(0,a.rA)("Bouncer check failed",e)}return i}function*rt(e){const t=e?.photos?.[0],i="object"==typeof t&&"processedFiles"in t?t.processedFiles:[],r=Array.isArray(i)&&i.length>0?i[0].url:void 0;"string"==typeof r?yield(0,s.yJ)((0,Je.lb)(r)):je($e`TDP-195341 Skipping recLikeWithoutMatch action without photo URL; rec.type=${e?.type}; photosCount=${e?.photos?.length}; firstPhotoFilesCount=${i?.length}; firstPhotoUrl=${r}.`)}function*ot(e){const t=e?.payload,i=e?.type===J.FAST_MATCH_LIKE,o=yield(0,s.Lt)(Be.wU),l=yield(0,s.Lt)(Q.xU),d=yield(0,s.Lt)(O.QQ),_=yield(0,s.Lt)(x.l9),E=yield(0,s.Lt)(Be.NU),S=_&&i,R=yield(0,s.T1)(Ye,e,be.LIKE_STATUS,S);if(!R)return void(0,a.rA)("No rec found",t);const h=R._id,m=R.is_super_like,f=R.s_number,{swipeNoteData:L}=t,P=yield(0,s.Lt)(b.P4,h),U=L||lt(R,P),k=R.is_traveling,w=yield(0,s.Lt)(Z.cX),N=R?.matched_preferences,M="duo"===R.type,D=(0,y.iE)(),F=R.is_superlike_upsell,V=yield(0,s.Lt)(x.Wd),j=yield(0,s.Lt)(v.gU),$=yield(0,s.Lt)(Z.ar),H=yield(0,s.Lt)(Z.bI),Y=D?.readLever(p.F$z),G=D?.readLever(p._YT),q="DAY"===G?(0,u.A)(H,c.CZ):!$,W=o>1&&F&&(Y&&q&&!m&&(j||V>0))&&!M;W&&n()(e,["payload","method"],"upsell_superlike_modal");const X=E===be.QUEUE_MAIN?"discovery":`explore_${E}`,z=yield(0,s.Lt)(Q.gQ);if(yield(0,s.T1)(Ct,{inputMethod:t.method,recType:be.LIKE_STATUS,sNumber:f,categoryId:i?"fastmatch":X,rec:R,currentUserId:z}),yield(0,s.Zy)(pe,R,e,{like:!0,sourceSessionEvent:i?"fastmatch":X,superLike:!1}),yield(0,s.T1)(gt,{recType:be.LIKE_STATUS,sNumber:f,rec:R}),yield(0,s.Zy)(he,R,{interactionSide:ee.IT.Receive,interactionType:ee.X8.Like}),yield(0,s.T1)(st,e))return;let te;if((0,a.rA)("REC LIKE SENT TO SERVER",h),M){const e=(e=>g({rec:e,ratingType:"like"}))(R);te=yield(0,s.T1)(yield(0,s.T1)(I.s,C.jv,"swipeDuosRec"),e)}else te=yield(0,s.T1)(yield(0,s.T1)(I.s,C.YO,"recLike"),h,(0,ne.K3)({activeBoost:d,didSuperLike:m,isFastMatch:S,swipeNoteData:U,recTraveling:k,sNumber:f,userTraveling:l}));(0,a.rA)("REC LIKE RESULT",te);const{likes_remaining:ie,rate_limited_until:se,match:re,matches:oe}=te||{};if(re||W||(yield(0,s.T1)(rt,R)),0===ie)(0,a.rA)("YOU ARE OUT OF LIKES",te),yield(0,s.T1)(Ye,e,void 0,S),yield(0,s.yJ)((0,Je.IA)(se)),yield(0,s.s)([B.S7]),yield(0,s.yJ)((0,Je.Lt)());else if(re||oe){const e=0,t=oe?.[e]??re;yield(0,s.T1)(Lt,R,t,N,i?"fastmatch":X),i||(yield(0,s.T1)(at,t,R),yield(0,s.T1)(r.A,1e3),yield(0,s.yJ)((0,K.Sd)())),yield(0,s.T1)(qe,i)}else W?(yield(0,s.T1)(Ye,e,void 0,S),yield(0,s.T1)(xe)):w||(yield(0,s.T1)(Qe));yield(0,s.yJ)((0,fe.Zw)()),yield(0,s.T1)((0,T.x5)(A.QZ).block),yield(0,s.T1)(Ge)}function*nt(){const e=yield(0,s.Lt)(Be.HP),t=yield(0,s.Lt)(Be.NU),i=t===be.QUEUE_MAIN?"discovery":`explore_${t}`;if(e){const t=yield(0,s.Lt)(Q.gQ);yield(0,s.T1)(Ct,{inputMethod:void 0,recType:be.RECS_REWIND,sNumber:e.s_number,categoryId:i,rec:e,currentUserId:t});if("superlike"===(yield(0,s.Lt)(b.ob,e._id))){const t=yield(0,s.T1)(yield(0,s.T1)(I.s,C.YO,"removeSuperlike"),e._id);yield(0,s.yJ)((0,Je.ZZ)(t.super_likes))}yield(0,s.T1)(Ye,{payload:{recUser:e}},void 0,!!e.likesYouConfirmedStatus),yield(0,s.yJ)((0,Je.TR)())}}function lt(e,t=0){const i=e?.photos?.[t];return{likedContentId:i?.id||"",likedContentType:"photo"}}function*at(e,t){const i=yield(0,s.Lt)(v.vG);yield(0,s.yJ)((0,F.q)(B.Jc,{props:{backdropFilter:!0,backgroundClassName:"Bgc($c-ds-background-modal-overlay-recs)",handleCloseModal:Je.$X,handleModalOpen:Je.fw,match:{match:e,rec:t},renderTarget:i?_.Ib:_.Oc}}))}function*dt(e){const t=yield(0,s.Lt)(x.C$);if(t&&(0,Ie.a)(t))throw new S.hR;const i=e?.payload,r=yield(0,s.Lt)(x.l9),o=yield(0,s.Lt)(O.QQ),n=e?.type===J.FAST_MATCH_SUPERLIKE,l=r&&n,d=yield(0,s.Lt)(Be.NU),u=yield(0,s.T1)(Ye,e,be.SUPERLIKE_STATUS,n);if(!u)return void(0,a.rA)("No rec found",i);const _=yield(0,s.Lt)(Q.xU),y=u._id,p=u.s_number,{swipeNoteData:E}=i,R=yield(0,s.Lt)(b.P4,y),T=E||lt(u,R),h=u.is_traveling,m=d===be.QUEUE_MAIN?"discovery":`explore_${d}`,f=u?.matched_preferences,g=yield(0,s.Lt)(Q.gQ);if(yield(0,s.T1)(Ct,{inputMethod:i.method,recType:be.SUPERLIKE_STATUS,sNumber:p,c
1ategoryId:n?"fastmatch":m,rec:u,currentUserId:g}),yield(0,s.Zy)(pe,u,e,{like:!1,superLike:!0,sourceSessionEvent:n?"fastmatch":m}),yield(0,s.T1)(gt,{recType:be.SUPERLIKE_STATUS,sNumber:p,rec:u}),yield(0,s.T1)(st,e))return;(0,a.rA)("REC SUPER LIKE SENT TO SERVER",y);const L=yield(0,s.T1)(yield(0,s.T1)(I.s,C.YO,"recSuperlike"),y,(0,ne.K3)({activeBoost:o,isFastMatch:l,recTraveling:h,sNumber:p,swipeNoteData:T,userTraveling:_}));(0,a.rA)("REC SUPER LIKE RESULT",L);const{limit_exceeded:v,super_likes:P,match:A}=L||{};if(v){(0,a.rA)("YOU ARE OUT OF SUPER LIKES"),yield(0,s.T1)(Ye,e,void 0,l),yield(0,s.yJ)((0,Je.D0)(P.resets_at)),yield(0,s.s)([B.S7]),yield(0,s.yJ)((0,Je.K3)());const t=yield(0,s.Lt)(x.w5);yield(0,s.yJ)((0,z.s)(Ee.fd,{otherId:y,percentLikesLeft:t?100:0,timeRemaining:Math.floor((new Date(P.resets_at).getTime()-Date.now())/c.OY)}))}else A?(yield(0,s.T1)(Lt,u,A,f,m),yield(0,s.yJ)((0,Je.mn)(P)),n||(yield(0,s.T1)(at,A,u))):yield(0,s.yJ)((0,Je.mn)(P));yield(0,s.yJ)((0,fe.Zw)()),yield(0,s.T1)(qe,n)}function*ct(e){const t=e?.payload,i=yield(0,s.Lt)(Be.NU),r=yield(0,s.Lt)(Q.Vp);if(r&&(0,Ie.a)(r))throw new S.hR;const o=yield(0,s.T1)(Ye,e,be.FIRST_IMPRESSION_STATUS,!1);if(!o)return void(0,a.rA)("No rec found",t);const{recUser:n,swipeNote:l,likedContentId:d,likedContentType:c,sentMediaType:u}=t,{_id:_}=n,y=o?.matched_preferences,p=i===be.QUEUE_MAIN?"discovery":`explore_${i}`;if(yield(0,s.Zy)(pe,o,e,{like:!1,superLike:!0,superlikeType:ee.aC.ContextualNote,sourceSessionEvent:p}),yield(0,s.T1)(gt,{recType:be.SUPERLIKE_STATUS,sNumber:o.s_number,rec:o}),yield(0,s.T1)(st,e))return;(0,a.rA)("REC SWIPE NOTE SENT TO SERVER",_);const E=yield(0,s.T1)(yield(0,s.T1)(I.s,C.YO,"recSwipeNote"),_,{swipe_note:l,liked_content_id:d,liked_content_type:c});(0,a.rA)("REC SWIPE NOTE RESULT",E);const{match:R,swipe_note:T,limit_exceeded:h}=E,{remaining:m}=T||{};h?((0,a.rA)("YOU ARE OUT OF FIRST IMPRESSIONS"),yield(0,s.T1)(Ye,e,void 0,!1),yield(0,s.yJ)((0,Je.J0)())):R&&(yield(0,s.T1)(Lt,o,R,y,p),yield(0,s.T1)(at,R,o)),h||(yield(0,s.yJ)((0,V.Ds)({icon:Re.kZ,title:[{id:"FirstImpressions.sent"}],body:[{id:"FirstImpressions.notificationBody"}]})),yield(0,s.yJ)((0,Te.J)({interactionSide:ee.IT.Send,interactionType:ee.X8.Confirm,interactionValue:ee.aC.ContextualNote,message:l,otherId:o._id,profileElement:u,source:ee.s2.Gamepad})),yield(0,s.yJ)((0,fe.Zw)())),yield(0,s.yJ)((0,Je.w7)(m)),yield(0,s.yJ)((0,q.eO)({inputFields:[L.uF]}))}function*ut(e){const t=yield(0,s.Lt)(x.l9),i=e?.type===J.FAST_MATCH_DISLIKE,r=t&&i,o=yield(0,s.T1)(Ye,e,be.NOPE_STATUS,r);if(o){const t=yield(0,s.Lt)(Q.xU),n=yield(0,s.Lt)(Be.NU),l=o._id,d=o.is_super_like,c=o.s_number,u=o.is_traveling,_=n===be.QUEUE_MAIN?"discovery":`explore_${n}`,y=yield(0,s.Lt)(Q.gQ);yield(0,s.T1)(Ct,{inputMethod:e.payload.method,recType:be.NOPE_STATUS,sNumber:c,categoryId:i?"fastmatch":_,rec:o,currentUserId:y}),yield(0,s.Zy)(pe,o,e,{like:!1,superLike:!1,sourceSessionEvent:i?"fastmatch":_}),yield(0,s.T1)(gt,{recType:be.NOPE_STATUS,sNumber:c,rec:o}),yield(0,s.Zy)(he,o,{interactionSide:ee.IT.Receive,interactionType:ee.X8.Pass}),(0,a.rA)("REC DISLIKE SENT TO SERVER",l);const p=yield(0,s.Lt)(O.QQ);let E;if("duo"===o.type){const e=(e=>g({rec:e,ratingType:"pass"}))(o);E=yield(0,s.T1)(yield(0,s.T1)(I.s,C.jv,"swipeDuosRec"),e)}else E=yield(0,s.T1)(yield(0,s.T1)(I.s,C.YO,"recDislike"),l,(0,ne.K3)({activeBoost:p,didSuperLike:d,isFastMatch:r,recTraveling:u,sNumber:c,userTraveling:t}));(0,a.rA)("REC DISLIKE RESULT",E),yield(0,s.T1)(qe,i),yield(0,s.yJ)((0,fe.Zw)()),yield(0,s.T1)((0,T.x5)(A.QZ).block),yield(0,s.T1)(Ge)}}const _t=2*c.OY,yt=30*c.OY,pt=c.iW;let Et=_t;function*St(){const e=yield(0,s.Zy)(Rt);yield(0,s.s)(be.CANCEL_RECS_CHANNEL),yield(0,s.ZT)(e)}function*Rt(){let e=!1;for(;;){const t=yield(0,s.Zy)(Tt);e&&(e=!1,yield(0,s.yJ)((0,Je.WD)())),yield(0,s.s)(be.RECS_REFRESH_ACTION_TYPES),(0,a.rA)("Clearing recs and fetching more"),yield(0,s.yJ)((0,Je.jX)()),yield(0,s.ZT)(t),Et=_t,e=!0}}function*Tt(){const e=[be.LOAD_RECS,be.RECS_LIKE,be.RECS_DISLIKE,be.RECS_SUPERLIKE,be.LOAD_RECS_SUCCESS],t=yield(0,s.wE)(e,l.u2.sliding(1));for(yield(0,s.yJ)((0,Je.WD)());;){yield(0,s.s)(t);const e=yield(0,s.Lt)(Be.uP),i=(yield(0,s.Lt)(Be.NU))===be.QUEUE_MAIN,o=e<10,n=yield(0,s.Lt)(X.rV),l=o&&n&&i;(0,a.rA)("should load more recs?",l),l&&(yield(0,s.T1)(mt),yield(0,s.T1)(r.A,Et))}}function*ht(){(0,a.rA)("STARTED GETTING RECS");const e=yield(0,s.Lt)((e=>!e.sparks.recsReqEndTime)),t=(0,G.y)(),i=(0,y.iE)(),r=i?.readLever(p.rU6),o=i?.readLever(p.mUE),n=i?.readLever(p.jnC),l=yield(0,s.Lt)(N),c=o&&n&&l.length>0;e&&(yield(0,s.yJ)((0,z.s)(Ee.Zc)));const u=yield(0,s.T1)(yield(0,s.T1)(I.s,C.YO,"getRecs"),t,r,c),_=yield(0,h.p0)(u,Fe.W,!1),{entities:E,result:S}=_,{data:R=d.vB}=u||d.vB,{profiles:T=d.vB}=E||d.vB,{queue:m}=S||{},{timeout:f}=R;if(t&&(yield(0,s.yJ)((0,Y.mQ)(u))),e&&(yield(0,s.yJ)((0,z.s)(Ee.LK))),m?.length){const e=new Set(yield(0,s.Lt)(Be.mP)),t=new Set(yield(0,s.Lt)(Be.$c)),i=c?be.DUOS_RECS_TYPES:be.RECS_TYPES,r=m.filter((e=>i.has(T[e]?.type))).filter((e=>!t.has(e)||T[e]?.type===D.Uh)).filter((t=>!e.has(t)));if(r?.length){(0,a.rA)("loaded recs"),Et=_t;const e={..._,result:{queue:r}};yield(0,s.yJ)((0,Je.bb)(e,be.QUEUE_MAIN))}else(0,a.rA)("exhausted"),Et=Math.min(1.5*Et,pt),yield(0,s.yJ)((0,Je.WD)())}else(0,a.rA)("timeout"),Et=null!=f?f:yt,yield(0,s.yJ)((0,Je.U5)()),yield(0,s.yJ)((0,Je.WD)())}const mt=(0,m.Uj)(ht,{name:"loadRecsSaga",*errorHandler(e){yield(0,s.yJ)((0,Je.kp)()),e instanceof S.DH&&(Et=Math.min(1.5*Et,pt),yield(0,s.yJ)((0,Je.WD)()))}});function*ft(e){const{id:t}=e.payload;yield(0,s.yJ)((0,$.CQ)({id:t}));const i=yield(0,s.s)([H.OTHER_USER_GET_BY_ID_ERROR,H.OTHER_USER_GET_BY_ID_
1SUCCESS]),r=i.payload?.entities?.profiles[t];if(r){const e={...i.payload,result:{queue:[t]}};yield(0,s.yJ)((0,Je.bb)(e)),yield(0,s.yJ)((0,Je.m)())}else yield(0,s.yJ)((0,Je.x8)())}const It=(0,m.Uj)(ft,{name:"loadWebProfileRecSaga",*errorHandler(e){yield(0,s.yJ)((0,Je.x8)(e))}});function*Ct(e){const{inputMethod:t,rec:i,recType:r,sNumber:o,categoryId:n,currentUserId:l}=e,a="duo"===i.type,{hubbleId:d,hubbleType:c}=function({recType:e,inputMethod:t,isDuos:i}){let s,r;switch(e){case be.LIKE_STATUS:t!==be.recsRateMethods.button&&t!==be.recsRateMethods.keyboard||(s=i?Ae.eHe:Ae._q0,r=Oe.cU),t!==be.recsRateMethods.profileButton&&t!==be.recsRateMethods.profileKeyboard||(s=Ae.OD$,r=Oe.cU),t===be.recsRateMethods.swipe&&(s=i?Ae.daX:Ae.dF1,r=Oe.Cw);break;case be.NOPE_STATUS:t!==be.recsRateMethods.button&&t!==be.recsRateMethods.keyboard||(s=i?Ae.g5_:Ae.S5k,r=Oe.cU),t!==be.recsRateMethods.profileButton&&t!==be.recsRateMethods.profileKeyboard||(s=Ae.uMz,r=Oe.cU),t===be.recsRateMethods.swipe&&(s=i?Ae.SGP:Ae.ifv,r=Oe.Dq);break;case be.SUPERLIKE_STATUS:t!==be.recsRateMethods.button&&t!==be.recsRateMethods.keyboard&&t!==ee.s2.Gamepad||(s=Ae.FWj,r=Oe.cU),t!==be.recsRateMethods.profileButton&&t!==be.recsRateMethods.profileKeyboard&&t!==ee.s2.Profile||(s=Ae.P_R,r=Oe.cU),t!==be.recsRateMethods.swipe&&t!==ee.s2.SwipeUp||(s=Ae.gEv,r=Oe.pT);break;case be.RECS_REWIND:s=i?Ae.WhM:Ae.UPf,r=Oe.cU}return{hubbleId:s,hubbleType:r}}({recType:r,inputMethod:t,isDuos:a});if(d&&c){const{anthemData:e,bio:r,descriptorValues:u,identity:_,interests:y,interestsCount:p,isTraveling:E,profileElementCount:S,profileElementOrder:R,relationshipIntent:T,sharedInterests:h,tappyElementValues:m,topArtistsValues:f,userId:I}=(e=>{if(!e)return{};const t=Le()(e,"_id"),i=Le()(e,"s_number"),s=Le()(e,"is_traveling"),r=Le()(e,"bio"),o=Le()(e,"relationship_intent.body_text"),n=Ue(e),{descriptorValues:l,profileElementCount:a}=ke(e),{interests:d,interestsCount:c,sharedInterests:u}=we(e),{hasAnthem:_,anthemData:y,hasTopArtists:p,topArtists:E}=Ne(e),S=Me(e),R=De(e);return{anthemData:_?JSON.stringify(y):void 0,bio:r||void 0,descriptorValues:l||void 0,hasAnthem:_,hasTopArtists:p,identity:Object.keys(n).length>0?JSON.stringify(n):void 0,interests:d||void 0,interestsCount:c,profileElementCount:a||void 0,profileElementOrder:S?JSON.stringify([S]):void 0,isTraveling:s,relationshipIntent:o||void 0,sharedInterests:u||void 0,sNumber:i?.toString()||"0",tappyElementValues:R,topArtistsValues:p?JSON.stringify(E):void 0,userId:t}})(i),C=a?Ke(i):{},g=a?i.duo_group?.participants[0].user._id:void 0,L=yield(0,s.Lt)(b.Rw,g),v=yield(0,s.Lt)(b.gj,g),P=yield(0,s.Lt)(b.Rw,i._id),O=yield(0,s.Lt)(b.gj,i._id);yield(0,s.yJ)((0,Se.pt)({type:c,uuid:d,recsStatusInfo:a?{...C,uid:l,category_id:n,duration_in_millis:P.durationInMillis,method:t||be.recsRateMethods.button,source_session_event:n,profile_element_views_card_users:[O.viewedProfileElementsCount,v.viewedProfileElementsCount],profile_element_count_users:[O.viewedProfileElementsCount,v.viewedProfileElementsCount],media_views_card_users:[P.mediaViewsCard,L.mediaViewsCard],viewed_profile_elements_users:[O.viewedProfileElements,v.viewedProfileElements]}:{categoryId:n,durationInMillis:P.durationInMillis,isTraveling:E,mediaViewsCard:P.mediaViewsCard,mediaViewsProfile:P.mediaViewsProfile,method:t||be.recsRateMethods.button,numInterestsCollapsed:p,profileElementCount:S,profileElementOrder:R,profileElementViewsCard:O.viewedProfileElementsCount,sharedInterests:h,sNumber:o.toString(),sourceSessionEvent:n,tappyElementValues:m,userId:I,valueProfileElementAnthem:e,valueProfileElementBio:r,valueProfileElementDescriptors:u,valueProfileElementIdentity:_,valueProfileElementIntent:T,valueProfileElementInterests:y,valueProfileElementTopArtists:f,viewedProfileElements:O.viewedProfileElements}}))}}function*gt(e){const{rec:t,recType:i,sNumber:r}=e,o=(e=>{if(!e)return{};const{distance_mi:t,is_traveling:i,matched_preferences:s,selected_descriptors:r,photos:o=[]}=e,n=s?.preferences?s.preferences.map((e=>e.name)).join(","):void 0,l=r?.find((e=>"de_30"===e.id&&e.measurable_selection?.value)),a=l?.measurable_selection?.value,d=r?.find((e=>"de_31"===e.id&&e.choice_selections?.length)),c=d?.choice_selections?.map((e=>`${e.id}_${e.name}`))?.join(","),u=Le()(e,"facebook.connection_count",0),_=Le()(e,"facebook.common_connections.length",0),y=u-_>0?u-_:void 0,p=o.findIndex((e=>e.active));return{distanceMi:t,recTraveling:i,valueProfilePremiumPreferencesElement:n,valueProfileElementsHeight:a,valueProfileElementsPronoun:c,connectionsMystery:y,connectionsNames:_,connections:u,hasPremiumPreferences:!!s&&s.preferences?.length>0||void 0,swipedMediaIndex:-1!==p?p:void 0}})(t),{viewedProfileElements:n}=yield(0,s.Lt)(b.gj,t._id),l=yield(0,s.Lt)(x.l9),a=yield(0,s.Lt)(Q.GH),d=yield(0,s.Lt)(Q.UT),c=yield(0,s.Lt)(Q.gO),{mediaViewsCard:u}=yield(0,s.Lt)(b.Rw,t._id);let _=0;if(t.birth_date){const e=new Date(t.birth_date),i=new Date,s=i.getFullYear()-e.getFullYear()-(i.getMonth()<e.getMonth()||i.getMonth()===e.getMonth()&&i.getDate()<e.getDate()?1:0);s<d?_=d-s:s>c&&(_=s-c)}yield(0,s.yJ)((0,Se.SK)({recsCustomInfo:{...o,didSuperLike:i===be.SUPERLIKE_STATUS,exceedsAgeRangeBy:_||void 0,exceedsDistanceBy:o.distanceMi&&o.distanceMi>a?o.distanceMi-a:void 0,hasLikesYou:l,sNumber:r.toString(),realMediaViewsCard:u,viewedPreferencesProfileDetail:n?.includes("matched_preferences")}}))}function*Lt(e,t,i,r){(0,a.rA)("IT WAS A MATCH!");const o=yield(0,h.p0)({data:{match:{...t,person:e}}},Fe.B,!1);yield(0,s.yJ)((0,Je.mh)(e,t,o)),yield(0,s.yJ)((0,z.s)(te.Rj,{closerPreferenceMatched:re(i),closerPreferenceMatchedDetail:oe(i),closerSwipedSource:r,didSuperLike:t.is_super_like,matchI
1d:t._id,otherId:t.other_id}))}},520302(e,t,i){i.r(t),i.d(t,{persistConfig:()=>h,recsReducer:()=>y,reducer:()=>T});var s=i(455753),r=i(441896),o=i(831515),n=i(157679),l=i(927300),a=i(199136),d=i(378455),c=i(365664),u=i(939027),_=i(350829);const y=(0,s.jM)(((e,t)=>{const{chatBubbleIntro:i,likedRecPhotos:s,previouslySwiped:r,status:l}=_.default.recs;((e,t,i)=>{switch(t.type){case u.SET_QUEUE:e.queues[e.activeQueue]=t.payload;break;case u.SET_ACTIVE_QUEUE:e.activeQueue=t.payload,e.queues[t.payload]||(e.queues[t.payload]=[]);break;case u.LOAD_RECS_SUCCESS:{const{queue:i,result:s}=t.payload,r=i||e.activeQueue,o=e.queues[r],n=s?.queue?.filter((e=>!o.includes(e)));e.queues[r]=e.queues[r].concat(n),e.error=!1;break}case u.CLEAR_RECS:e.queues[e.activeQueue]=i.queues[e.activeQueue];break;case u.RECS_LIKE:case u.RECS_DISLIKE:case u.RECS_SUPERLIKE:case u.RECS_SWIPE_NOTE:{e.onePreviousRec=e.previousRec;const t=e.queues?.[e.activeQueue]?.shift()??null;Object.keys(e.queues??{}).forEach((i=>{e.queues[i]=e.queues[i]?.filter((e=>e!==t))})),e.previousRec=t;break}case u.BLOCKED_REC_ACTION:case u.REC_OUT_OF_LIKES:case u.REC_OUT_OF_SUPERLIKES:case u.REC_OUT_OF_SWIPE_NOTES:e.previousRec&&(e.queues[e.activeQueue].unshift(e.previousRec),e.previousRec=e.onePreviousRec,e.onePreviousRec=null);break;case u.RECS_REWIND_SUCCESS:e.previousRec&&(e.queues[e.activeQueue].unshift(e.previousRec),e.previousRec=i.previousRec);break;case u.SET_PREVIOUS_REC:e.previousRec=t.payload;break;case u.REC_MATCH:t.payload?.match?.is_fast_match||(e.previousRec=i.previousRec);break;case d.UNMATCH:e.previousRec=i.previousRec,e.onePreviousRec=i.onePreviousRec;break;case c.FETCH_UPDATES_SUCCESS:{const i=new Set,{result:s}=t?.payload||{},{blocks:r=[],matches:o=[]}=s||{};if([...r,...o].forEach((e=>{i.add(e.substr(0,24)),i.add(e.substr(24,24))})),!i.size)break;Object.keys(e.queues).forEach((t=>{e.queues[t]=e.queues[t]?.filter((e=>!i.has(e)))}));break}case u.LOAD_RECS_ERROR:e.error=!0;break;case(0,a.$g)(t.type):e.queues=i.queues}})(e,t,_.default.recs),((e,t,i)=>{switch(t.type){case u.LOAD_RECS:e.status=o.vB;break;case u.LOAD_RECS_EMPTY:e.status=o.WJ;break;case(0,a.$g)(t.type):e.status=i}})(e,t,l),((e,t,i)=>{switch(t.type){case u.LOAD_RECS:e.previouslySwiped=(0,n.gD)(e.previouslySwiped);break;case u.RECS_DISLIKE:case u.RECS_LIKE:case u.RECS_SUPERLIKE:case u.RECS_SWIPE_NOTE:{const t=e.queues?.[e.activeQueue]?.[0];if(t){const i=(0,n.BC)(t,e.previouslySwiped);i?.length&&(e.previouslySwiped=(0,n.gD)(i))}break}case u.BLOCKED_REC_ACTION:case u.REC_OUT_OF_LIKES:case u.REC_OUT_OF_SUPERLIKES:case u.REC_OUT_OF_SWIPE_NOTES:case u.RECS_REWIND_SUCCESS:{const t=e.queues[e.activeQueue][0];t&&(e.previouslySwiped=e.previouslySwiped.filter((e=>e.id!==t)));break}case(0,a.$g)(t.type):e.previouslySwiped=i}})(e,t,r),((e,t,i)=>{switch(t.type){case u.REC_LIKE_WITHOUT_MATCH:{const i=t.payload;i&&(e.likedRecPhotos?.unshift(i),(e.likedRecPhotos?.length??0)>5&&(e.likedRecPhotos=e.likedRecPhotos?.slice(0,5)??null));break}case(0,a.$g)(t.type):e.likedRecPhotos=i}})(e,t,s),((e,t,i)=>{switch(t.type){case u.CHAT_BUBBLE_CONFIRMED:e.chatBubbleIntro=!0;break;case(0,a.$g)(t.type):e.chatBubbleIntro=i}})(e,t,i)}),_.default.recs),p=(0,s.jM)(((e,t)=>{const{outOfLikes:i,outOfRecs:s,outOfSuperlikes:r}=_.default.session;((e,t,i)=>{switch(t.type){case u.REC_OUT_OF_LIKES:e.outOfLikes=!0;break;case u.REC_OUT_OF_LIKES_SUCCESS:e.outOfLikes=!1;break;case(0,a.$g)(t.type):e.outOfLikes=i}})(e,t,i),((e,t,i)=>{switch(t.type){case u.LOAD_RECS_SUCCESS:e.outOfRecs=!1;break;case u.LOAD_RECS_EMPTY:e.outOfRecs=!0;break;case(0,a.$g)(t.type):e.outOfRecs=i}})(e,t,s),((e,t,i)=>{switch(t.type){case u.REC_OUT_OF_SUPERLIKES:e.outOfSuperlikes=!0;break;case u.REC_OUT_OF_SUPERLIKES_SUCCESS:e.outOfSuperlikes=!1;break;case(0,a.$g)(t.type):e.outOfSuperlikes=i}})(e,t,r)}),_.default.session),E=(0,s.jM)(((e,t)=>{switch(t.type){case u.REC_MATCH:{const i=t.payload.match?._id;i&&(e.recentlyMatchedMatchIds.push(i),e.recentlyMatchedMatchIds=e.recentlyMatchedMatchIds.slice(-19));break}case(0,a.$g)(t.type):return _.default.matches}}),_.default.matches),S=(0,s.jM)(((e,t)=>{const{showStarAnimation:i,resets:s,upsellRecId:r}=_.default.superlike;((e,t,i)=>{switch(t.type){case u.TOGGLE_SUPERLIKE_STAR_ANIMATION:e.showStarAnimation=t.payload?.showSuperlikeStarAnimation;break;case(0,a.$g)(t.type):e.showStarAnimation=i}})(e,t,i),((e,t,i)=>{switch(t.type){case u.SET_SUPERLIKE_UPSELL_REC_ID:e.upsellRecId=t.payload?.recId;break;case(0,a.$g)(t.type):e.upsellRecId=i}}
1)(e,t,r),((e,t,i)=>{switch(t.type){case u.REC_OUT_OF_SUPERLIKES:e.resets=t.payload?.resets??e.resets;break;case(0,a.$g)(t.type):e.resets=i}})(e,t,s)}),_.default.superlike),R=(0,s.jM)(((e,t)=>{const{persistedSwipeCount:i,rightSwipeCount:s,superlikeSwipeCount:r,swipeCount:o}=_.default.counts;((e,t,i)=>{switch(t.type){case u.RECS_DISLIKE:case u.RECS_LIKE:case u.RECS_SUPERLIKE:e.swipeCount+=1;break;case(0,a.$g)(t.type):e.swipeCount=i}})(e,t,o),((e,t,i)=>{switch(t.type){case u.RECS_SUPERLIKE:e.superlikeSwipeCount+=1;break;case(0,a.$g)(t.type):e.superlikeSwipeCount=i}})(e,t,r),((e,t,i)=>{switch(t.type){case u.RECS_LIKE:e.rightSwipeCount+=1;break;case(0,a.$g)(t.type):e.rightSwipeCount=i}})(e,t,s),((e,t,i)=>{switch(t.type){case u.RECS_DISLIKE:case u.RECS_LIKE:case u.RECS_SUPERLIKE:e.persistedSwipeCount=Math.min(e.persistedSwipeCount+1,u.FIREBOARDING_SWIPE_COUNT);break;case(0,a.$g)(t.type):e.persistedSwipeCount=i}})(e,t,i)}),_.default.counts),T=(0,r.HY)({counts:R,recs:y,session:p,matches:E,superlike:S}),h={transforms:[(0,l.v)(["recs.chatBubbleIntro","recs.previouslySwiped","counts.persistedSwipeCount","counts.superlikeSwipeCount"])],version:4.2}},280190(e,t,i){i.d(t,{B:()=>l,W:()=>n});var s=i(484490),r=i(602018),o=i(60317);const n=new s.Pt({results:o.VH},{processResult:{queue:"results"}}),l=new s.Pt({match:r.T})},824424(e,t,i){i.d(t,{a:()=>r});let s=function(e){return e.CHALLENGES="CHALLENGES",e.ALLOTMENT="ALLOTMENT",e}({});const r=e=>e.some((e=>e.grant_type===s.CHALLENGES&&e.timestamp_ms&&e.timestamp_ms<Date.now()))},536224(e,t,i){i.d(t,{A:()=>l});var s=i(976705),r=i(661396),o=i(562873),n=i(569288);const l=function*(e,t){yield(0,s.yJ)((0,r.Ds)({theme:n.dY,title:[{id:"ICU.rewardExpired"},{consumableType:{id:e}}],body:[{id:"pleaseTryAgain"}],options:{ttl:5e3}})),yield(0,s.yJ)((0,o.eO)({inputFields:t}))}},692099(e,t,i){i.d(t,{K3:()=>a,fx:()=>l,s2:()=>n});var s=i(140822),r=i(339952);const o=[{check:"processedVideos",compare:Boolean,type:s.MEDIA_TYPE_VIDEO},{check:"processedFiles",compare:Boolean,type:s.MEDIA_TYPE_PHOTO}],n=e=>{const t=[];return e?.length?(e.forEach((e=>{const i=o.find((({check:t,compare:i})=>i(e[t]))),n=i?.type??s.MEDIA_TYPE_PHOTO;t.push(r.HI[n])})),t):t},l=e=>{const t=[];return e?.map((e=>{const i=e?.collectible_type?.display_name;return i?t.push(i):null})).filter(Boolean),t},a=({activeBoost:e,didSuperLike:t,isFastMatch:i,recTraveling:s,sNumber:r,swipeNoteData:o,userTraveling:n})=>{const l={};return e&&(l.is_boosting=1),t&&(l.super=1),i&&(l.fast_match=1),r&&(l.s_number=r),s&&(l.rec_traveling=1),n&&(l.user_traveling=1),o&&(o.likedContentId&&(l.liked_content_id=o.likedContentId),o.likedContentType&&(l.liked_content_type=o.likedContentType),o.messageContent&&(l.swipe_note=o.messageContent)),l}},935404(e,t,i){i.d(t,{$E:()=>y,E3:()=>p,Eb:()=>c,MA:()=>_,Op:()=>l,Qp:()=>n,Zg:()=>E,Zw:()=>a,c3:()=>o,lk:()=>u,ls:()=>d});var s=i(872383),r=i(125254);const o=(0,s.VP)(r.SET_TEXT,((e,t)=>({matchId:e,content:t}))),n=(0,s.VP)(r.SET_SWIPE_NOTE_TEXT,((e,t)=>({recId:e,content:t}))),l=(0,s.VP)(r.SET_FIRST_IMPRESSION_TEXT_AND_SLIDE,((e,t,i)=>({recId:e,slideIndex:t,text:i}))),a=(0,s.VP)(r.RESET_FIRST_IMPRESSIONS_STATE),d=((0,s.VP)(r.CLEAR_GIF_RESPONSE),(0,s.VP)(r.GIF_RESPONSE_SUCCESS,(e=>({content:e})))),c=(0,s.VP)(r.GIF_RESPONSE_ERROR),u=(0,s.VP)(r.OPEN_GIF,(e=>({query:e??""}))),_=((0,s.VP)(r.CLEAR_STICKER_RESPONSE),(0,s.VP)(r.STICKER_RESPONSE_SUCCESS,(e=>({content:e})))),y=(0,s.VP)(r.STICKER_RESPONSE_ERROR),p=(0,s.VP)(r.OPEN_STICKER,(e=>({query:e??"",searchFilter:"sticker"}))),E=(0,s.VP)(r.SEND_VINYL,(e=>({recentlySent:e})))},125254(e,t,i){i.r(t),i.d(t,{CLEAR_GIF_RESPONSE:()=>a,CLEAR_STICKER_RESPONSE:()=>_,GIF_RESPONSE_ERROR:()=>d,GIF_RESPONSE_SUCCESS:()=>c,OPEN_GIF:()=>u,OPEN_STICKER:()=>y,RESET_FIRST_IMPRESSIONS_STATE:()=>l,SEND_VINYL:()=>S,SET_FIRST_IMPRESSION_TEXT_AND_SLIDE:()=>n,SET_SWIPE_NOTE_TEXT:()=>o,SET_TEXT:()=>r,STICKER_RESPONSE_ERROR:()=>p,STICKER_RESPONSE_SUCCESS:()=>E});const s="messages",r=`${s}/SET_TEXT`,o=`${s}/SET_SWIPE_NOTE_TEXT`,n=`${s}/SET_FIRST_IMPRESSIONS_SLIDE`,l=`${s}/RESET_FIRST_IMPRESSIONS_STATE`,a=`${s}/CLEAR_GIF_RESPONSE`,d=`${s}
1/GIF_RESPONSE_ERROR`,c=`${s}/GIF_RESPONSE_SUCCESS`,u=`${s}/OPEN_GIF`,_=`${s}/CLEAR_STICKER_RESPONSE`,y=`${s}/OPEN_STICKER`,p=`${s}/STICKER_RESPONSE_ERROR`,E=`${s}/STICKER_RESPONSE_SUCCESS`,S=`${s}/SEND_VINYL`},606756(e,t,i){i.d(t,{h:()=>s,o:()=>r});const s=e=>e?.map((e=>{const{id:t,choice_selections:i}=e,s=i?.map((e=>e.id)).join("_");return t&&s?`${t}_${s}`:null})).filter(Boolean).join(","),r=e=>e.map((e=>(e=>e?.map((e=>e.id)).join(","))(e.descriptors))).join(",")}}]);

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.