PageSourceSearch

https://superlive.chat/_nuxt/Du3TEdWxbljM.js

js superlive.chat collected 2026-10-08 17:35:37 UTC 16,758 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="4d6f6f6f-c66b-4dc3-b1d4-70bab5fabec3",e._sentryDebugIdIdentifier="sentry-dbid-4d6f6f6f-c66b-4dc3-b1d4-70bab5fabec3")}catch(Ae){}import e from"./DbXOY5OU2KC7.js";import{u as a,_ as t,a as s}from"./B2J_DzV8mxue.js";import{bK as l,bV as i,bO as o,bT as r,bw as n,dT as c,d6 as u,cb as d,e3 as p,cW as m,bz as v,bP as f,bI as b,fZ as g,bH as h}from"./Bq_YjAq9y6kq.js";import{C as y,j as w,p as x,o as j,_ as k,I as _,P as z,ah as C,Z as M,x as T,Q as I,a8 as A,ap as S,a7 as D,z as O,$ as V,ae as H,B as L,aj as E,af as G,am as P,Y as B,a6 as U,aa as X,v as N}from"./B9WoIr7xBb0v.js";import{_ as R}from"./CukHM4EpkimY.js";import{_ as F}from"./BIfDwO5YU1ko.js";import{_ as $}from"./DSTTWahuWAh4.js";import{_ as W}from"./CB6WZwQjtFMr.js";import Z from"./D6vLrDZeLN1M.js";import q from"./DVf2t6XxtVGC.js";import{a as K}from"./B_zKiCI02nbs.js";import{u as Y}from"./DFtOAHQYHaQz.js";import{u as J}from"./DZ0lPlfM-RM4.js";import{d as Q}from"./BwT6gYwkp7xe.js";import{_ as ee}from"./ymVrlmg4DY5k.js";import{_ as ae}from"./BGg-8hxZ5Ruh.js";import{u as te}from"./uuWGvAseDSrD.js";import{_ as se}from"./Dp7LnJb9mO2Q.js";import{u as le}from"./Dp0Ifq1twIbt.js";import"./DeebA02oucj1.js";import"./1KGOQx9edrRH.js";import"./DNhOrrMojxRA.js";import"./Bjd5h5dkRxxf.js";import"./Bq5k1PP7TugY.js";import"./Cr19vmJ26cK1.js";import"./C0oess0d6Q36.js";import"./CTzHqyLdUHkT.js";import"./BO-iNJmfvqHT.js";import"./C08YK9eerQsl.js";import"./DtWpqaPjT9SU.js";import"./Dwh5Tgj7TeSU.js";import"./BBgqtnOpFQdV.js";import"./BEfE88s29VIk.js";import"./Dd3S2cQMZaZG.js";import"./CqEi3FUjb9H2.js";import"./BqcvQ29vVXJB.js";import"./DSJoZYzZONy-.js";import"./CNd0PeM2sQHr.js";import"./B0YHZsb56KGJ.js";import"./38OhRg_e0hPC.js";import"./MqxEa4xOZ9Pu.js";import"./Buu-TdlW4LK3.js";import"./D5gNMnCzt3ia.js";import"./COLZUKKAeqJv.js";/* empty css            *//* empty css            */import"./CDDbGoJvAtlr.js";import"./faf11TMKINlg.js";import"./Dqg6fPOiATHq.js";import"./DGbb4VS7cUcx.js";import"./ChCcszYASJ1B.js";import"./Cyscfk5d7ck5.js";import"./CslBj-N7rYEI.js";import"./BBYT5CnYeajQ.js";import"./B7uvBW0FKbwM.js";import"./DfHomqKbGxIH.js";import"./BiK9PyWrZOKd.js";import"./BWIa5nuWhV3Z.js";import"./D0P9t3dJmoR4.js";const ie={key:0,class:"relative size-full"},oe={key:0,class:"absolute inset-0 bg-black/50 flex items-center justify-center z-30 rounded-4xl"},re=y({__name:"CardSwipeDating",props:{items:{},agoraAppId:{},fullScreen:{type:Boolean},loading:{type:Boolean,default:!1}},emits:["slideChange","swiper","like"],setup(e,{emit:s}){const i=e,o=s,r=a(),n=w([]),c=w(r.videoMatchActiveIndex),u=w(!1),d=w(0),p=w(0);let m=null;const v=O(()=>i.items.length?i.items.length<=1?c.value:(c.value+1)%i.items.length:-1);x(()=>r.videoMatchActiveIndex,e=>{e===c.value||u.value||(c.value=e),o("swiper",e)},{immediate:!0});const f=()=>n.value[c.value]??null,b=e=>c.value===e||e===v.value,g=e=>{const a=n.value[e];a&&(a.style.transition="",a.style.transform="",a.style.opacity="")},h=()=>Math.min(Math.abs(p.value)/(.3*window.innerWidth),1),y=e=>u.value&&e===c.value,V=e=>{if(!y(e))return{backgroundColor:"transparent"};const a=h();return p.value<0?{backgroundColor:`rgba(220, 38, 41, ${a})`}:p.value>0?{backgroundColor:`rgba(77, 220, 38, ${a})`}:{backgroundColor:"transparent"}},H=(e,a)=>{const t=y(e),s="right"===a?p.value>0:p.value<0;if(!t||!s)return{opacity:"0",display:"none",transform:"scale(0.7)"};const l=h(),i=.7+.5*l;return{opacity:Math.min(1.5*l,1).toString(),display:"flex",transform:`scale(${i})`}},L=e=>{if(i.loading)return;const a=f();a&&(u.value=!0,d.value=e,p.value=0,a.style.transition="none")},E=e=>{if(!u.value||i.loading)return;const a=f();if(!a)return;p.value=e-d.value;const t=Math.min(Math.max(.1*p.value,-20),20),s=1-Math.abs(p.value)/(.5*window.innerWidth);a.style.transform=`translateX(${p.value}px) rotate(${t}deg)`,a.style.opacity=Math.max(s,.3).toString()},G=()=>{if(!u.value||i.loading)return;const e=f(),a=c.value;if(!e)return void(u.value=!1);if(Math.abs(p.value)>100){(p.value>0?1:-1)>0?o("like"):(c.value=v.value,o("slideChange",c.value)),g(a)}else e.style.transition="transform 300ms ease-out, opacity 300ms ease-out",e.style.transform="translateX(0) rotate(0deg)",e.style.opacity="1",m=setTimeout(()=>{g(a)},300);u.value=!1},P=e=>e instanceof Element&&!!e.closest("button, [role='button'], a, [role='link']"),B=e=>{P(e.target)||(e.preventDefault(),L(e.touches[0]?.clientX??0))},U=e=>{P(e.target)||(e.preventDefault(),E(e.touches[0]?.clientX??0))},X=e=>{P(e.target)||(e.preventDefault(),G())},N=e=>{e.preventDefault(),L(e.clientX);const a=e=>{E(e.clientX)},t=()=>{G(),document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",t)};document.addEventListener("mousemove",a),document.addEventListener("mouseup",t)};return j(()=>{m&&(clearTimeout(m),m=null)}),(a,s)=>{const i=t,o=l;return k(),_("div",{class:"relative size-full overflow-hidden",onTouchstart:B,onTouchmove:U,onTouchend:X,onMousedown:N},[(k(!0),_(z,null,C(e.items,(a,t)=>(k(),_("div",{key:a.user.user_id,ref_for:!0,ref:e=>T(n)[t]=e,class:M(["absolute inset-0 origin-center will-change-transform will-change-opacity cursor-grab select-none active:cursor-grabbing",{"z-10":t===T(c),"z-5":t===T(v),"z-0":t!==T(c)&&t!==T(v)}])},[b(t)?(k(),_("div",ie,[I(i,{"is-active":t===T(c),"agora-app-id":e.agoraAppId,item:a,"full-screen":e.fullScreen},null,8,["is-active","agora-app-id","item","full-screen"]),A("div",{class:"swipe-color-overlay absolute inset-0 pointer-events-none transition-colors rounded-4xl",style:S(V(t))},null,4),A("div",{class:"swipe-yes-icon absolute inset-0 pointer-events-none items-center justify-center z-20 transition-all duration-150",style:S(H(t,"right"))},[I(o,{name:"spl-web:yes",size:"120"})],4),A("div",{class:"swipe-no-icon absolute inset-0 pointer-events-none items-center justify-center z-20 transition-all duration-150",style:S(H(t,"left"))},[I(o,{name:"spl-web:no",size:"120"})],4)])):D("",!0)],2))),128)),e.loading?(k(),_("div",oe,[I(o,{name:"spl-web:loading",size:"48",class:"text-white animate-spin"})])):D("",!0)],32)}}}),ne=Object.assign(re,{__name:"MatchCardSwipeDating"}),ce={class:"size-full bg-unique-background overflow-hidden relative flex flex-col"},ue={class:"bg-black relative size-full rounded-xl overflow-hidden"},de={class:"absolute inset-0 size-full"},pe={class:"bg-black/50 absolute inset-0 flex items-center justify-center"},me={class:"size-full flex items-center"},ve=y({__name:"FakeCall",props:{fakeVideoUrl:{},poster:{}},emits:["cancel"],setup(e,{emit:a}){const t=e,s=a,{isDesktop:m}=i(),v=o(),{redirectHybridPaymentHandler:f}=Y(),b=r(),g=n(),{conversationGiftOptions:h}=V(g),y=O(()=>{const e=h.value.find(e=>"Suggested"===e.name);return e?e.gifts.slice(0,24):h.value[0]?.gifts?.slice(0,24)??[]}),z=w(null),C=H("localVideoRef"),S=w(null),X=w("user"),N=w(!1),ee=w(!1),ae=w(!0),te=w(!1),se=w(!1),le=w(!1),ie=O(()=>v.isMobileKeyboardOpen&&!p);c(z,()=>{ee.value=!1});const oe=()=>{f(!1)},re=()=>{le.value=!0,v.isAnyPaymentModalOpen||oe()},ne=()=>{m.value&&(ee.value=!ee.value)},ve=()=>{m.value||v.toggleTopToHide()},fe=()=>
1{S.value&&(S.value.getTracks().forEach(e=>e.stop()),S.value=null)},be=async()=>{try{S.value=await navigator.mediaDevices.getUserMedia({video:{facingMode:X.value},audio:!1}),C.value&&(C.value.srcObject=S.value,await C.value.play())}catch(e){ae.value=!1}},ge=async()=>{if(ae.value)return ae.value=!1,void fe();ae.value=!0,await be()},he=async()=>{N.value&&(X.value="user"===X.value?"environment":"user",ae.value&&(fe(),await be()))},ye=()=>{te.value=!te.value;const e=C.value;e&&(e.style.transform=te.value?"scaleX(-1)":"scaleX(1)")};return x(()=>v.isAnyPaymentModalOpen,(e,a)=>{a&&!e&&le.value&&s("cancel")}),L(async()=>{J().toggleModal(u.OUTGOING_CALL),v.tapToHide=!1,N.value=await Q(),await be()}),j(()=>{J().toggleModal(u.OUTGOING_CALL),fe()}),(a,i)=>{const o=R,r=l,n=F,c=$,u=W,p=Z,f=q;return k(),_("div",ce,[I(o,{"auto-play":"",playsinline:"",src:t.fakeVideoUrl,poster:e.poster,controls:!1,class:"size-full object-contain",onContextmenu:i[0]||(i[0]=E(()=>{},["prevent"])),onPointerdown:ve,onEnded:re},null,8,["src","poster"]),A("div",{ref_key:"myVideoRef",ref:z,role:"button",class:M(["absolute size-35 z-3 rounded-xl right-2.5 rtl:left-2.5 md:top-40 md:left-2.5 md:rtl:right-2.5 md:w-60 md:h-85 rtl:right-auto transition-all duration-200 ease-in-out cursor-pointer select-none",{"h-111! w-78!":T(ee)&&T(m),"bottom-105":T(ie),"bottom-44":!T(ie)}]),onClick:ne},[A("div",ue,[G(A("video",{ref_key:"localVideoRef",ref:C,class:"absolute inset-0 size-full object-cover",playsinline:"",muted:"",autoplay:""},null,512),[[P,T(ae)]]),G(A("div",de,[A("div",pe,[I(r,{name:"spl-web:camera-closed",size:T(m)?"38":"30",color:"text-white"},null,8,["size"])]),A("div",me,[I(n,{src:T(b)?.user?.profile_images[0]?.url??T(K),alt:T(b)?.user?.name??"User profile picture"},null,8,["src","alt"])])],512),[[P,!T(ae)]])])],2),T(m)?(k(),B(c,{key:0,"hide-name":"",gifts:T(y),class:"absolute right-0 top-20 z-100 md:max-h-[calc(100vh-170px)]! md:w-28!","one-click-gifts":"",onGiftClick:oe},null,8,["gifts"])):D("",!0),A("section",{class:M(["flex w-full justify-center items-center gap-5 z-2 absolute bottom-8 md:z-60 md:mb-0 md:bottom-20",{"justify-between! px-4":!T(m)&&!T(v).tapToHide,"justify-end!":!T(m)&&T(v).tapToHide}])},[T(v).tapToHide?D("",!0):(k(),B(u,{key:0,appearance:"text",size:"xlarge",icon:{only:"spl-web:chat-dots",size:24},class:"bg-alpha-shadow-tone-40",onPointerdown:i[1]||(i[1]=E(()=>{},["stop"])),onTouchstart:i[2]||(i[2]=E(()=>{},["stop"])),onClick:oe})),T(v).tapToHide?D("",!0):(k(),B(u,{key:1,appearance:"text",size:"xlarge",icon:{only:"spl-web:hamburger",size:24},class:"bg-surface-500",onClick:i[3]||(i[3]=e=>se.value=!0)})),I(u,{appearance:"text",size:"xlarge",icon:{only:"spl-web:gift-box",size:24},class:M(["bg-white order-1",{"mr-4 rtl:ml-4":T(v).tapToHide}]),onClick:oe},null,8,["class"]),T(v).tapToHide?D("",!0):(k(),B(u,{key:2,variant:"tertiary",size:"xlarge",icon:{only:"spl-web:call-solid",size:24},onClick:i[4]||(i[4]=e=>s("cancel"))}))],2),I(f,{open:T(se),desktop:T(d).DIALOG,mobile:T(d).DRAWER,glass:"",onClose:i[5]||(i[5]=e=>se.value=!1)},{default:U(()=>[I(p,{"is-self-camera-open":T(ae),"is-mirror":T(te),"has-environment-camera":T(N),onToggleCamera:ge,onSwitchCamera:he,onMirror:ye},null,8,["is-self-camera-open","is-mirror","has-environment-camera"])]),_:1},8,["open","desktop","mobile"])])}}}),fe=Object.assign(ve,{__name:"CallFakeCall"}),be={class:"size-full bg-unique-background overflow-hidden relative flex flex-col"},ge={key:0,class:"absolute inset-0 z-50 bg-black flex items-center justify-center"},he={class:"flex-1 flex flex-col items-center justify-center gap-15 z-10 relative"},ye={class:"relative w-78 h-65 flex items-center justify-center"},we={class:"flex flex-col items-center gap-2"},xe={class:"flex items-center gap-2"},je={class:"text-white text-lg"},ke={class:"absolute bottom-8 left-1/2 -translate-x-1/2 z-10 w-full max-w-md px-4"},_e=y({__name:"MatchCall",props:{user:{},callType:{default:m.VIDEO},paidCall:{default:null},isStreamerPaidCallAvailable:{type:Boolean,default:!1},fakeVideoUrl:{}},emits:["cancel"],setup(e,{emit:a}){const t=e,s=a,{t:l}=v(),i=f(),{startCall:o,cancelCall:r,stopRingtone:n}=te({onClose:()=>{s("cancel")}}),c=w(!1),u=O(()=>i.user?.user),d=O(()=>u.value?.profile_images?.[0]?.url??K),p=O(()=>t.user?.profile_image?.thumbnail_url??t.user?.profile_images?.[0]?.thumbnail_url??K);let m=null;const g=async()=>{await r(),s("cancel")};return L(async()=>
1{if(t.fakeVideoUrl)return void(m=setTimeout(()=>{c.value=!0,m=null,n()},3e3));(await o({calleeId:t.user.user_id,callType:t.callType,paidCall:t.paidCall,isStreamerPaidCallAvailable:t.isStreamerPaidCallAvailable})).error&&s("cancel")}),j(()=>{n(),m&&(clearTimeout(m),m=null)}),(a,i)=>{const o=fe,r=F,n=ee,m=ae,v=W;return k(),_("div",be,[t.fakeVideoUrl&&T(c)?(k(),_("div",ge,[I(o,{"fake-video-url":t.fakeVideoUrl,poster:T(p),onCancel:i[0]||(i[0]=e=>s("cancel"))},null,8,["fake-video-url","poster"])])):(k(),_(z,{key:1},[i[2]||(i[2]=A("div",{class:"z-20 absolute top-0 -left-1/3 size-[501px] md:-left-1/10",style:{"background-image":"radial-gradient(circle at 50% 50%, rgba(0, 149, 255, 0.53), rgba(0, 149, 255, 0) 71%)"}},null,-1)),i[3]||(i[3]=A("div",{class:"absolute bottom-0 -right-1/3 size-[501px] md:-right-1/10",style:{"background-image":"radial-gradient(circle at 50% 50%, rgba(0, 149, 255, 0.53), rgba(0, 149, 255, 0) 71%)"}},null,-1)),A("div",he,[A("div",ye,[I(r,{src:T(d),alt:T(u)?.name??"",class:"absolute left-0 top-0 size-[184px] rounded-full border-2 border-white shrink-0 z-20 object-cover"},null,8,["src","alt"]),I(n,{src:"/assets/go-private/pink-star-1.webp","webp-src":"/assets/go-private/pink-star-1.webp","src-set-properties":{descriptor:"x",decorator:"@",maxSize:3},alt:"stars",class:"absolute left-3/5 top-[9%] z-40"}),I(n,{src:"/assets/go-private/pink-star-1.webp","webp-src":"/assets/go-private/pink-star-1.webp","src-set-properties":{descriptor:"x",decorator:"@",maxSize:3},alt:"stars",class:"absolute left-3/4 top-0 z-40 size-7"}),I(n,{src:"/assets/go-private/holographic-heart.webp","webp-src":"/assets/go-private/holographic-heart.webp","src-set-properties":{descriptor:"x",decorator:"@",maxSize:3},alt:"heart",class:"absolute left-1/2 top-1/2 -translate-1/2 z-30 size-34"}),I(r,{src:T(p),alt:e.user?.name,class:"absolute right-0 bottom-0 size-[184px] rounded-full border-2 border-white shrink-0 z-10 object-cover"},null,8,["src","alt"]),I(n,{src:"/assets/go-private/pink-stars-1.webp","webp-src":"/assets/go-private/pink-stars-1.webp","src-set-properties":{descriptor:"x",decorator:"@",maxSize:3},alt:"stars",class:"absolute left-1/10 top-[63%] z-40 size-26"})]),A("div",we,[A("div",xe,[I(m,{tag:"h2",class:"text-white text-2xl font-semibold",name:e.user?.name,"is-verified":e.user?.has_verified_badge,"has-creator-subscription-badge":e.user?.has_creator_subscription_badge},null,8,["name","is-verified","has-creator-subscription-badge"]),i[1]||(i[1]=A("span",{class:"text-pink-500"},"💖",-1))]),A("p",je,X(T(l)(T(b).calling)),1)])]),A("div",ke,[I(v,{"full-width":"",appearance:"text",class:"py-4! border-2 border-white/30 bg-white/10 text-white! text-lg font-medium hover:bg-white/20 transition-colors",label:T(l)(T(b).cancel_call),onClick:g},null,8,["label"])])],64))])}}}),ze=Object.assign(_e,{__name:"CallMatchCall"}),Ce={class:"size-full mx-auto px-4 md:pb-5 pb-3.5 md:h-[calc(100%-107px)] md:w-[50vh] max-w-full"},Me={key:1,class:"relative size-full"},Te=y({__name:"VideoMatch",props:{items:{},loading:{type:Boolean}},setup(t){const l=t,{t:i}=v(),r=f(),c=a(),u=o(),d=g(),p=n(),m=le(),y=w(null),j=w(!1),z=w(!1),C=O(()=>l.items[c.videoMatchActiveIndex]),M=O(()=>p.settings.agora.agora_app_id),A=O(()=>l.items.length&&C.value?C.value.harem_info?.user??C.value.user:null),S=()=>{j.value=!1},V=async()=>{if(C.value&&!z.value)if(r.isLoggedIn)try{z.value=!0,H()}catch(e){h.error(i(b.error_occurred))}finally{z.value=!1}else u.toggleSigninModal()},H=()=>{j.value=!0},E=e=>{c.videoMatchActiveIndex=e},G=()=>{const e=(c.videoMatchActiveIndex+1)%l.items.length;c.videoMatchActiveIndex=e},P=e=>{y.value=e,c.videoMatchActiveIndex=e};x(()=>l.items.length,e=>{e&&c.videoMatchActiveIndex>=e&&(c.videoMatchActiveIndex=0)},{immediate:!0}),x(()=>l.items,e=>{e.forEach(e=>{e.user.is_followed&&!m.isFollowing(Number(e.user.user_id))&&m.toggleFollow(Number(e.user.user_id))})},{once:!0,deep:!0});const X=O(()=>!(l.items.length<=3||l.loading||!d.next)&&c.videoMatchActiveIndex>=l.items.length-3);return x(()=>c.videoMatchActiveIndex,async()=>{X.value&&await d.fetch()}),L(()=>{d.setShowBroadcastButton(!1)}),N(()=>{d.setShowBroadcastButton(!0)}),(a,l)=>{const i=e,o=ne,r=s,n=ze,u=se;return k(),_("div",Ce,[t.loading||t.items.length?(k(),_("div",Me,[I(o,{"full-screen":"",items:t.items,"is-preview-enabled":!!T(M),"agora-app-id":T(M),loading:t.loading||T(z),onSlideChange:E,onSwiper:P,onLike:V},null,8,["items","is-preview-enabled","agora-app-id","loading"]),t.loading?D("",!0):(k(),B(r,{key:0,"show-camera-icon":"","video-match-mode":"",class:"z-11",disabled:T(z),onNext:G,onLike:V},null,8,["disabled"]))])):(k(),B(i,{key:0})),I(u,{open:T(j)&&!!T(A),"close-button":!1,"content-class":"md:min-h-120"},{default:U(()=>[T(A)?(k(),B(n,{key:0,user:T(A),"paid-call":T(c).videoCallGift[T(A).user_id],"is-streamer-paid-call-available":!1,"fake-video-url":T(C)?.harem_info?.match_tab_video_url,onCancel:S},null,8,["user","paid-call","fake-video-url"])):D("",!0)]),_:1},8,["open"])])}}}),Ie=Object.assign(Te,{__name:"DiscoverVideoMatch"});export{Ie as default};

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.