PageSourceSearch

https://voice123.com/static/assets/videoDialog-7ca6f66a.js

js voice123.com collected 2026-09-24 09:00:53 UTC 3,492 bytes, 2 lines download raw bytes

1import{_ as Y}from"./vdlUserInfo-2fcba52c.js";import{as as $,aV as q,aQ as d,dG as z,bn as v,o as l,g as h,w as s,a as T,b as k,c as N,t as w,h as D,au as H,av as J,aW as r,gk as K,d as V,eV as X,eR as P,gv as Z,aU as x}from"./vendor-147ef0d1.js";import{a2 as ee}from"./common-4ebc591d.js";import{u as oe}from"./attributes.store-e8dfe978.js";import{h as ae,j as R}from"./video-5a57a2d0.js";import{u as te}from"./routes-6a227bfc.js";import"./getMinutesPassed-9927a987.js";import"./profileCompletion-40dc7e14.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"[email protected]"};var u=new t.Error().stack;u&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[u]="1515c69b-3eb7-4b77-b3d1-27af95e8649e",t._sentryDebugIdIdentifier="sentry-dbid-1515c69b-3eb7-4b77-b3d1-27af95e8649e")}catch{}})();const ie={class:"video-dialog-va-info"},se={class:"video-dialog-user-info"},ne={key:0,class:"video-description"},de={class:"video-sample-chips"},ge=$({__name:"videoDialog",props:{video:{default:null},isOwner:{type:Boolean,default:!1},openDialog:{type:Boolean,default:!1},action:{default:"view"},videoId:{default:void 0},editionMode:{type:Boolean,default:!1},provider:{default:null}},emits:["update:openDialog","send-message"],setup(t,{expose:u,emit:c}){const o=t,S=q(()=>!!o.video&&(o.openDialog||o.action==="view")),a=d(S.value),B=d([]),f=d(!1),m=d(!1),L=oe(),n=d({start:0,end:0}),{attributes:C}=z(L),{amplitudeTrack:g,TrackingTypes:_}=ee(),W=te(),b=()=>{B.value=ae(o.video,C.value)};v(S,e=>{a.value=e,b()},{immediate:!0}),v(C,()=>{a.value&&b()},{deep:!0}),v(()=>o.video,()=>{a.value&&b()},{deep:!0}),v(a,e=>{c("update:openDialog",e),e||(f.value=!1)});const M=()=>{c("send-message")},U=e=>{m.value=!0,n.value.end=e.timestamp;const i=R(n.value.start,n.value.end);i>0&&g(_.videoSampleWatchedTime,{...o.video,watchedTime:i})},j=e=>{m.value=!1,n.value.start=e.timestamp,o.video&&!f.value&&(g(_.videoSamplePlayed,o.video),f.value=!0)},F=e=>{if(!e&&!m.value){const i=R(n.value.start,Date.now());i>0&&g(_.videoSampleWatchedTime,{...o.video,watchedTime:i})}},G=()=>{a.value=!0},y=()=>{a.value=!1,x(!1),W.goBackOrVAProfile(o.provider,o.editionMode)};return u({open:G,close:y}),(e,i)=>{var A,O,E;const Q=Y;return a.value&&e.video?(l(),h(r(Z),{key:0,open:a.value,"onUpdate:open":[i[0]||(i[0]=p=>a.value=p),F],src:(A=e.video)==null?void 0:A.file,"video-title":(O=e.video)==null?void 0:O.name,thumbnail:(E=e.video)==null?void 0:E.thumbnail_file,"dialog-title":"Video details",onPlay:j,onPause:U,onClose:y},{"video-content":s(()=>{var p;return[T("div",ie,[T("div",se,[k(Q,{provider:e.provider,name:e.provider.user.name,picture:e.provider.user.picture_medium,membershipType:e.provider.membership_product_name},null,8,["provider","name","picture","membershipType"])]),(p=e.video)!=null&&p.additional_info?(l(),N("p",ne,w(e.video.additional_info),1)):D("",!0),T("div",de,[(l(!0),N(H,null,J(B.value,I=>(l(),h(r(K),{key:I},{default:s(()=>[V(w(I),1)]),_:2},1024))),128))])])]}),actions:s(()=>[e.isOwner?D("",!0):(l(),h(r(X),{key:0,class:"video-dialog-actions",align:"right"},{default:s(()=>[k(r(P),{variant:"ghost",onClick:y},{default:s(()=>[V("CLOSE")]),_:1}),k(r(P),{onClick:M},{default:s(()=>[V(w(`CONTACT ${e.provider.user.name.split(" ")[0]}`),1)]),_:1})]),_:1}))]),_:1},8,["open","src","video-title","thumbnail"])):D("",!0)}}});export{ge as default};
2//# sourceMappingURL=videoDialog-7ca6f66a.js.map

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.