PageSourceSearch

https://salsavideochat.com/assets/who-index.BybRV2E2.js

js salsavideochat.com collected 2026-10-04 01:55:19 UTC 56,631 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/who-modals.PsgLpe4w.js","assets/who-vendor-firebase.BJ5JY8z2.js","assets/who-vendor-date-fns.Cxbc6Zs3.js","assets/who-vendor-sentry.D6QQgNDm.js","assets/who-vendor-lottie-web.DmOBlyXm.js","assets/who-vendor-swiper.BrE9B7MS.js","assets/who-vendor-swiper.DnGaGgwy.css","assets/who-modals.CaCtLe9a.css"])))=>i.map(i=>d[i]);
2/* @license See /assets/vendor.LICENSE.txt */
3import{i as ve,u as _e,s as Rt,j as P,k as Le,l as st,m as lt,q as b,t as O,v as X,x as y,y as D,z as h,L as s,A as we,B as le,D as Mt,_ as Vt,C as Ht,E as Bt,F as z,G as I,H as Ft,I as Pe,r as K,f as k,a as ge,J as Ne,K as Te,M as Ut,N as Ie,O as Wt,P as ct,Q as x,R as Q,S as R,T as Fe,w as H,U as dt,V as $t,W as qt,X as Gt,Y as a,Z as zt,$ as Kt,a0 as Ue,a1 as ut,a2 as Yt,a3 as jt,a4 as Xt,a5 as Jt,a6 as Zt,a7 as Qt,a8 as be,a9 as en,aa as tn,ab as nn,ac as rn,ad as We,ae as an,af as w,ag as on,ah as sn,ai as ln,aj as cn,ak as Y,al as $e,b as dn,am as un,an as pn,ao as fn,ap as pe,aq as mn,ar as hn,as as qe,at as Ge,au as ze,av as vn,aw as _n,ax as gn,ay as En,az as wn,aA as Tn,aB as bn,aC as An,aD as yn,aE as Sn,aF as In,aG as On,aH as Cn,aI as kn,aJ as xn,aK as Ln,aL as Pn,aM as Nn,aN as Dn,aO as Rn,aP as Mn,aQ as Ke,aR as Vn,aS as fe,aT as Hn,aU as Bn,aV as Fn,n as Ye,aW as Un,aX as Wn,aY as $n,aZ as qn,a_ as Gn,a$ as zn,b0 as Kn,b1 as Yn,b2 as jn,b3 as Xn,b4 as Jn,b5 as Zn,b6 as Qn,b7 as er,b8 as tr,b9 as nr,ba as rr,bb as ar,bc as Oe,bd as or,be as ir,bf as sr,bg as lr,bh as cr,bi as pt,bj as dr,bk as ur,bl as pr,bm as fr,bn as mr,bo as je,bp as hr}from"./who-modals.PsgLpe4w.js";import{D as vr}from"./who-vendor-firebase.BJ5JY8z2.js";import"./who-vendor-date-fns.Cxbc6Zs3.js";import"./who-vendor-sentry.D6QQgNDm.js";import"./who-vendor-lottie-web.DmOBlyXm.js";import"./who-vendor-swiper.BrE9B7MS.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;
3n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="c7b1d2fc-d0bf-453f-bd93-9442d90f4aa5",t._sentryDebugIdIdentifier="sentry-dbid-c7b1d2fc-d0bf-453f-bd93-9442d90f4aa5")}catch{}})();(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function e(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=e(o);fetch(o.href,i)}})();function Xe(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),e.push.apply(e,r)}return e}function he(t){for(var n=1;n<arguments.length;n++){var e=arguments[n]!=null?arguments[n]:{};n%2?Xe(Object(e),!0).forEach(function(r){Er(t,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Xe(Object(e)).forEac
3h(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}return t}function _r(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function gr(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ft(r.key),r)}}function Er(t,n,e){return(n=ft(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function ft(t){var n=function(e,r){if(typeof e!="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var i=o.call(e,r);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t,"string");return typeof n=="symbol"?n:String(n)}var mt={"#":{pattern:/[0-9]/},X:{pattern:/[0-9a-zA-Z]/},S:{pattern:/[a-zA-Z]/},A:{pattern:/[a-zA-Z]/,uppercase:!0},a:{pattern:/[a-zA-Z]/,lowercase:!0},"!":{escape:!0},"*":{repeat:!0}};function Je(t,n){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:mt,r=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];return ht(n).length>1?wr(n)(t,n,e,r):Ce(t,n,e,r)}function ht(t){try{return JSON.parse(t)}catch{return[t]}}function wr(t){var n=ht(t).sort(function(r,o){return r.length-o.length});return function(r,o,i){var l=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],c=n.map(function(m){return Ce(r,m,i,!1)}),p=c.pop();for(var f in n)if(e(p,n[f],i))return Ce(r,n[f],i,l);return""};function e(r,o,i){for(var l in i)i[l].escape&&(o=o.replace(new RegExp(l+".{1}","g"),""));return o.split("").filter(function(c){return i[c]&&i[c].pattern}).length>=r.length}}function Ce(t,n,e){for(var r=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],o=0,i=0,l="",c="";o<n.length&&i<t.length;){var p=n[o],f=t[i],m=e[p];if(m&&m.pattern)m.pattern.test(f)&&(l+=Tr(f,m),o++,r&&n[o]&&(e[n[o]]?e[n[o]]&&e[n[o]].escape&&(l+=n[o+1],o+=2):(l+=n[o],o++))),i++;else if(m&&m.repeat){var T=e[n[o-1]];T&&!T.pattern.test(f)?o++:o--}else m&&m.escape&&(p=n[++o]),r&&(l+=p),f===p&&i++,o++}for(;r&&o<n.length;){var C=n[o];if(e[C]){c="";break}c+=C,o++}return l+c}function Tr(t,n){return n.transform&&(t=n.transform(t)),n.uppercase?t.toLocaleUpperCase():n.lowercase?t.toLocaleLowerCase():t}function Ze(t){return t instanceof HTMLInputElement?t:t.querySelector("input")||t}function ke(t){return Object.prototype.toString.call(t)==="[object String]"}var br=function(){function t(r){var o=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(_r(this,t),!r)throw new Error("Maska: no element for mask");if(i.preprocessor!=null&&typeof i.preprocessor!="function")throw new Error("Maska: preprocessor must be a function");if(i.tokens)for(var l in i.tokens)i.tokens[l]=he({},i.tokens[l]),i.tokens[l].pattern&&ke(i.tokens[l].pattern)&&(i.tokens[l].pattern=new RegExp(i.tokens[l].pattern));this._opts={mask:i.mask,tokens:he(he({},mt),i.tokens),preprocessor:i.preprocessor},this._el=ke(r)?document.querySelectorAll(r):r.length?r:[r],this.inputEvent=function(c){return o.updateValue(c.target,c)},this.init()}var n,e;return n=t,e=[{key:"init",value:function(){for(var r=this,o=function(l){var c=Ze(r._el[l]);!r._opts.mask||c.dataset.mask&&c.dataset.mask===r._opts.mask||(c.dataset.mask=r._opts.mask),setTimeout(function(){return r.updateValue(c)},0),c.dataset.maskInited||(c.dataset.maskInited=!0,c.addEventListener("input",r.inputEvent),c.addEventListener("beforeinput",r.beforeInput))},i=0;i<this._el.length;i++)o(i)}},{key:"destroy",value:function(){for(var r=0;r<this._el.length;r++){var o=Ze(this._el[r]);o.removeEventListener("input",this.inputEvent),o.removeEventListener("beforeinput",this.beforeInput),delete o.dataset.mask,delete o.dataset.maskInited}}},{key:"updateValue",value:function(r,o){if(r&&r.type){var i=r.type.match(/^number$/i)&&r.validity.badInput;if(!r.value&&!i||!r.dataset.mask)return r.dataset.maskRawValue="",void this.dispatch("maska",r,o);var l=r.selectionEnd,c=r.value,p=c[l-1];r.dataset.maskRawValue=Je(r.value,r.dataset.mask,this._opts.tokens,!1);var f=r.value;this._opts.preprocessor&&(f=this._opts.preprocessor(f)),r.value=Je(f,r.dataset.mask,this._opts.tokens),o&&o.inputType==="insertText"&&l===c.length&&(l=r.value.length),function(m,T,C){for(;T&&T<m.value.length&&m.value.charAt(T-1)!==C;)T++;(m.type?m.type.match(/^(text|search|password|tel|url)$/i):!m.type)&&m===document.activeElement&&(m.setSelectionRange(T,T),setTimeout(function(){m.setSelectionRange(T,T)},0))}(r,l,p),this.dispatch("maska",r,o),r.value!==c&&this.dispatch("input",r,o)}}},{key:"beforeInput",value:function(r){r&&r.target&&r.target.type&&r.target.type.match(/^number$/i)&&r.data&&isNaN(r.target.value+r.data)&&r.preventDefault()}},{key:"dispatch",value:function(r,o,i){o.dispatchEvent(function(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=document.createEvent("Event");return p.initEvent(l,!0,!0),c&&(p.inputType=c),p}(r,i&&i.inputType||null))}}],e&&gr(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),t}(),Ae,Ar=(Ae=new WeakMap,function(t,n){n.value&&(Ae.has(t)&&!function(e){return!(ke(e.value)&&e.value===e.oldValue||Array.isArray(e.value)&&JSON.stringify(e.value)===JSON.stringify(e.oldValue)||e.value&&e.value.mask&&e.oldValue&&e.oldValue.mask&&e.value.mask===e.oldValue.mask)}(n)||Ae.set(t,new br(t,function(e){var r={};return e.mask?(r.mask=Array.isArray(e.mask)?JSON.stringify(e.mask):e.mask,r.tokens=e.tokens?he({},e.tokens):{},r.preprocessor=e.preprocessor):r.mask=Array.isArray(e)?JSON.stringify(e):e,r}(n.value))))});function vt(t){t.directive("maska",Ar)}typeof window<"u"&&window.Vue&&window.Vue.use&&window.Vue.use(vt);const yr={class:"flex flex-col items-center justify-center bg-black px-5 pt-5 text-center text-sm leading-5 text-white md:px-10 md:pt-10 md:text-lg md:leading-6"},Sr={class:"mb-3"},Ir={class:"mb-3 flex flex-col items-center gap-2 md:mb-5"},Or={class:"flex items-center gap-1.5 text-start"},Cr={class:"flex items-center gap-1.5 text-start"},kr=ve({__name:"SupportedBrowsers",setup(t){const n=_e(),{isUnsupportedBrowserModalOpen:e}=Rt(n),r=P.WHO_BRAND_NAME,o=Le();return st(()=>{}),(i,l)=>{const c=Vt,p=lt("i18n-t"),f=Ht,m=Bt;return b(),O(m,{"is-open":h(e),mode:h(Mt).MODAL,"header-close-button":!1,"auto-close-on-blur":!1,"show-overlay":"","is-vip-modal":"",onClose:l[1]||(l[1]=T=>e.value=!1)},{default:X(()=>[y("div",yr,[D(c,{name:"internet-icon",class:"mx-auto mb-3"}),D(p,{keypath:h(s).not_supported_title,tag:"h2",class:"mb-3 font-bold"}
3,{BRAND_NAME:X(()=>[we(le(h(r)),1)]),_:1},8,["keypath"]),D(p,{keypath:h(s).not_supported_desc,tag:"p",class:"mb-3 font-medium"},{BRAND_NAME:X(()=>[we(le(h(r)),1)]),_:1},8,["keypath"]),y("p",Sr,le(h(o)(h(s).supported_browsers)),1),y("div",Ir,[y("div",Or,[D(c,{class:"size-8","is-url":"",name:"chrome-icon",alt:"Chrome Browser Icon"}),l[2]||(l[2]=y("span",{class:"inline-block w-20"},"Chrome",-1))]),y("p",Cr,[D(c,{"is-url":"",name:"safari-icon",class:"size-8",alt:"Safari Browser Icon"}),l[3]||(l[3]=y("span",{class:"inline-block w-20"},"Safari",-1))])]),D(f,{type:"primary",class:"mb-8 md:max-w-80!",onClick:l[0]||(l[0]=T=>e.value=!1)},{default:X(()=>[we(le(h(o)(h(s).okay)),1)]),_:1})])]),_:1},8,["is-open","mode"])}}});const xr={key:0,class:"pointer-events-none absolute top-0 left-0 z-[123123123123123123] flex h-dvh w-full flex-col items-center justify-center gap-4 bg-black/20 backdrop-blur-md select-none"},Lr={role:"status"},Pr={class:"sr-only"},Nr=ve({__name:"PageLoader",setup(t){const n=_e(),e=Le();return(r,o)=>h(n).isPageLoading?(b(),z("div",xr,[y("div",Lr,[o[0]||(o[0]=y("svg",{"aria-hidden":"true",class:"text-neutral-tertiary fill-brand size-12 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[y("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"white"}),y("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"#ff0069"})],-1)),y("span",Pr,le(h(e)(h(s).loading_text)),1)])])):I("",!0)}});const Dr={key:0,class:"pointer-events-none fixed inset-0 z-9999 flex h-dvh w-full flex-col overflow-hidden bg-darkPink select-none"},Rr={key:1,class:"pointer-events-none fixed inset-0 z-9999 flex h-dvh w-full flex-col overflow-hidden bg-linear-to-b from-black via-darkPink to-black bg-center bg-no-repeat select-none"},Mr={key:2,class:"pointer-events-none fixed inset-0 z-9999 flex h-dvh w-full flex-col overflow-hidden bg-linear-to-b from-black via-darkPink to-black bg-center bg-no-repeat select-none"},Vr={class:"relative flex-1 overflow-hidden"},Qe=4,Hr=1200,Br=ve({__name:"AppSkeleton",setup(t){const{isPopularApp:n}=Ft(),e=Pe(),r=K(0);let o=1,i=null;const l=k(()=>e.name==="index"||window.location.pathname==="/"),c=k(()=>e.name==="home"&&!l.value);return ge(()=>{i=setInterval(()=>{const p=r.value+o;(p>=Qe-1||p<=0)&&(o=-o),r.value=p},Hr)}),Ne(()=>{i&&clearInterval(i)}),(p,f)=>(b(),z(Ie,null,[c.value?(b(),z("div",Dr,f[0]||(f[0]=[Te('<div class="mx-auto flex w-[95%] shrink-0 items-center justify-between px-4 py-6"><div class="h-12 w-32 animate-pulse rounded-md bg-white/20"></div><div class="flex gap-2"><div class="h-9 w-24 animate-pulse rounded-full border border-white/20 bg-transparent"></div></div></div><div class="mx-auto mb-6 h-10 w-[90%] animate-pulse rounded-full border border-white/20 bg-transparent"></div><div class="mx-auto mb-4 h-16 w-[90%] animate-pulse rounded-md bg-white/10"></div><div class="mx-auto h-10 w-[90%] animate-pulse rounded-md bg-white/10"></div><div class="relative mx-auto my-4 flex h-12 w-[90%] flex-1 animate-pulse items-end justify-center rounded-full bg-transparent pb-16"><div class="flex w-full items-center"><div class="absolute right-0 left-0 mx-auto flex h-28 w-28 animate-pulse items-center justify-center rounded-full bg-white/10"></div><div class="l-0 r-0 relative mx-auto flex h-56 items-center justify-center"><div class="absolute size-56 animate-pulseRipple rounded-full border-2 border-white opacity-0"></div><div class="absolute size-56 animate-pulseRipple rounded-full border-2 border-white opacity-0 [animation-delay:1s] [animation-fill-mode:backwards]"></div><div class="absolute size-56 animate-pulseRipple rounded-full border-2 border-white opacity-0 [animation-delay:2s] [animation-fill-mode:backwards]"></div></div></div></div><div class="mx-auto h-14 w-full animate-pulse border-t border-white/20 bg-transparent"></div>',6)]))):I("",!0),!h(n)&&l.value?(b(),z("div",Rr,f[1]||(f[1]=[Te('<div class="flex shrink-0 items-center justify-between px-4 py-3"><div class="h-10 w-32 animate-pulse rounded-full bg-transparent"></div><div class="flex gap-2"><div class="h-9 w-24 animate-pulse rounded-full border border-white/20 bg-transparent"></div><div class="h-9 w-24 animate-pulse rounded-full bg-white/20"></div></div></div><div class="shrink-0 px-4 pt-1 pb-3"><div class="mb-4 h-6 w-14 animate-pulse rounded-full bg-white/10"></div><div class="mb-2.5 h-10 w-44 animate-pulse rounded-xl bg-white/20"></div><div class="mb-2 h-5 w-52 animate-pulse rounded-md bg-white/15"></div><div class="h-4 w-36 animate-pulse rounded-md bg-white/10"></div></div><div class="relative flex flex-1 gap-5 overflow-hidden px-4"><div class="flex-1 overflow-hidden pt-12"><div class="flex animate-scroll-down flex-col gap-2"><div class="h-72 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-80 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-72 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-80 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-80 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-72 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-80 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-72 shrink-0 animate-pulse rounded-full bg-white/10"></div></div></div><div class="flex-1 overflow-hidden"><div class="flex animate-scroll-down flex-col gap-2"><div class="h-72 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-80 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-72 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-80 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-80 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-72 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-80 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-72 shrink-0 animate-pulse rounded-full bg-white/10"></div></div></div><div class="flex-1 overflow-hidden pt-12"><div class="flex animate-scroll-down flex-col gap-2"><div class="h-72 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-80 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-72 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-80 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-80 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-72 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-80 shrink-0 animate-pulse rounded-full bg-white/10"></div><div class="h-72 shrink-0 animate-pulse rounded-full bg-white/10"></div></div></div><div class="pointer-events-none absolute inset-x-0 bottom-0 h-28 bg-linear-to-t from-black/10 to-transparent"></div></div><div class="shrink-0 px-3 pt-4 pb-8"><div class="mx-auto h-12 w-[85%] animate-pulse rounded-full bg-white/20"></div></div>',4)]))):I("",!0),h(n)&&l.value?(b(),z("div",Mr,[f[3]||(f[3]=Te('<div class="flex shrink-0 items-center justify-between px-4 py-3"><div class="flex items-center justify-center gap-2"><div class="size-8 animate-pulse rounded-md bg-white/20"></div><div class="h-8 w-24 animate-pulse rounded-lg bg-white/20"></div></div><div class="h-9 w-24 animate-pulse rounded-full bg-white/20"></div></div><div class="shrink-0 px-8 pt-1 pb-3 text-center"><div class="mx-auto mb-3 h-20 w-[75%] animate-pulse rounded-xl bg-white/20"></div><div class="mx-auto mb-2 h-28 w-[90%] animate-pulse rounded-xl bg-white/15"></div><div class="mx-auto mt-4 h-12 w-36 animate-pulse rounded-full bg-white/20"></div></div>',2)),y("div",Vr,[y("div",{class:"flex h-full items-center transition-transform duration-500 ease-in-out",style:Ut({transform:`translateX(calc(12.5% - ${r.value*75}%))`})},[(b(),z(Ie,null,Wt(Qe,m=>y("div",{key:m,class:ct(["w-3/4 shrink-0 p-8 transition-transform duration-1000",{"scale-110":m-1===r.value,"scale-95":Math.abs(m-1-r.value)===1,"scale-90":Math.abs(m-1-r.value)>1}])},f[2]||(f[2]=[y("div",{class:"aspect-2/3 w-full animate-pulse rounded-2xl bg-white/10"},null,-1)]),2)),64))],4)])])):I("",!0)],64))}});const Fr=new Q("3486d11a"),et=60,Ur=80;function Wr(){const t=K(null);function n(){if(window.performance&&window.performance.memory){const e=window.performance.memory,r=e.usedJSHeapSize,o=e.jsHeapSizeLimit,i=Math.round(r/o*100);if(i<et)return;i>et&&x.setItem(x.KEY.MemoryUsageTrackStatus,"tracked"),i>Ur&&x.getItem(x.KEY.MemoryErrorStatus)!=="sended"&&(Fr.error("MemoryUsageOver80Percentage",e),x.setItem(x.KEY.MemoryErrorStatus,"sended"))}else t.value&&clearInterval(t.value)}ge(()=>{x.getItem(x.KEY.MemoryUsageTrackStatus)!=="tracked"&&(t.value=setInterval(n,5e3))}),Ne(()=>{t.value&&clearInterval(t.value)})}const me=2,tt=1,$r=300,qr=600,Gr=400,zr=300,Kr="app",nt="data-status-bar-tap",ye="#000",Yr='input, textarea, [contenteditable="true"]',jr='button, a, input, textarea, select, [role="button"]',Xr=["/earnings","/coin-reseller","/hybri
3dbridgetest"],Jr=["/matching","/call",...Xr],Zr=["/live/","/chat/"],_t=["/following"],Qr=t=>dt.includes(t)||_t.includes(t),rt=t=>Jr.includes(t)?!0:Zr.some(n=>t.startsWith(n)),at=()=>{const t=document.createElement("div");t.style.cssText="position:fixed;top:0;left:0;width:0;height:env(safe-area-inset-top);pointer-events:none;",document.body.appendChild(t);const n=t.getBoundingClientRect().height;return t.remove(),n},ea=()=>{const t=_e(),n=Pe(),e=document.getElementById(Kr);let r=!1,o=!1,i=!1,l=0,c=0,p=0,f,m=0;const T=()=>$t.value||t.isVirtualKeyboardOpen||rt(n.path)||Date.now()-p<Gr?!1:(p=Date.now(),!0),C=()=>{qt(Gt())},d=()=>{!T()||Qr(n.path)||C()},g=()=>{if(T()){if(dt.includes(n.path)){R.emit("discoverScrollToTop");return}if(_t.includes(n.path)){R.emit("activePageScrollToTop");return}C()}},_=()=>{S()||(o=!0,window.scrollTo({left:0,top:me,behavior:"instant"}),requestAnimationFrame(()=>{o=!1}))},L=()=>{clearTimeout(f),f=setTimeout(_,zr)},S=()=>{const v=document.activeElement;return v instanceof HTMLIFrameElement||!!(v!=null&&v.matches(Yr))},B=()=>{if(!r||o)return;if(S()){clearTimeout(f);return}if(window.scrollY>me-tt){window.scrollY>me+tt&&L();return}const v=i||Date.now()-l<$r,G=Date.now()-c<qr;L(),!(v||G)&&g()},F=()=>{!r||S()||(c=Date.now(),L())},ee=()=>{i=!0},U=()=>{i=!1},ce=()=>{l=Date.now()},te=()=>{m=at()},j=v=>{var G;m===0||v.clientY>m||(G=v.target)!=null&&G.closest(jr)||g()},de=()=>{if(r)return;const v=document.documentElement;v.style.setProperty("position","static","important"),v.style.setProperty("inset","auto","important"),v.style.setProperty("overflow","hidden scroll","important"),v.style.setProperty("overscroll-behavior","none"),document.body.style.setProperty("height",`calc(100% + ${me}px)`,"important"),v.style.setProperty("background-color",ye,"important"),document.body.style.setProperty("background-color",ye,"important"),e==null||e.style.setProperty("background-color",ye,"important"),v.setAttribute(nt,""),r=!0,_()},q=()=>{if(!r)return;const v=document.documentElement;r=!1,clearTimeout(f),v.removeAttribute(nt),v.style.removeProperty("position"),v.style.removeProperty("inset"),v.style.removeProperty("overflow"),v.style.removeProperty("overscroll-behavior"),v.style.removeProperty("background-color"),document.body.style.removeProperty("height"),document.body.style.removeProperty("background-color"),e==null||e.style.removeProperty("background-color"),window.scrollTo({left:0,top:0,behavior:"instant"})},N=()=>{if(rt(n.path)||t.isVirtualKeyboardOpen){q();return}de()};ge(()=>{var v;R.on("activePageScrollToTop",d),Fe&&(m=at(),window.addEventListener("scroll",B,{passive:!0}),window.addEventListener("touchstart",ee,{passive:!0,capture:!0}),window.addEventListener("touchend",U,{passive:!0,capture:!0}),window.addEventListener("touchcancel",U,{passive:!0,capture:!0}),window.addEventListener("wheel",ce,{passive:!0,capture:!0}),window.addEventListener("pointerdown",j,{passive:!0,capture:!0}),window.addEventListener("orientationchange",te,{passive:!0}),window.addEventListener("focus",F),document.addEventListener("focusout",F,{capture:!0}),(v=window.visualViewport)==null||v.addEventListener("resize",F),H([()=>n.path,()=>t.isVirtualKeyboardOpen],N,{immediate:!0}))}),Ne(()=>{var v;R.off("activePageScrollToTop",d),Fe&&(clearTimeout(f),window.removeEventListener("scroll",B),window.removeEventListener("touchstart",ee,{capture:!0}),window.removeEventListener("touchend",U,{capture:!0}),window.removeEventListener("touchcancel",U,{capture:!0}),window.removeEventListener("wheel",ce,{capture:!0}),window.removeEventListener("pointerdown",j,{capture:!0}),window.removeEventListener("orientationchange",te),window.removeEventListener("focus",F),document.removeEventListener("focusout",F,{capture:!0}),(v=window.visualViewport)==null||v.removeEventListener("resize",F),q())})};const ta="[data-prerendered-seo]",na=()=>{document.querySelectorAll(ta).forEach(t=>t.remove())};const ra=[a.PREMIUMCHATTV,a.SEXYMEETTV],aa="/wheel-landing",Za={descriptor:"x",decorator:"@",maxSize:3},gt={alt:"Premiumchat",rasterAsset:"premium-logo-landing",svgSrc:null},oa={[a.PREMIUMCHATTV]:gt,[a.SEXYMEETTV]:{alt:"Sexymeet",rasterAsset:null,svgSrc:zt[a.SEXYMEETTV].text}},Qa=t=>oa[t]??gt,eo=`${aa}/landing-confetti-video.mp4`,to=740,no=1.57,ia="bg-linear-to-r from-[#FF0069] to-[#A90474]",sa="bg-[linear-gradient(98deg,#698f1b_-2%,#79b400_50%,#abff00_102%)]",la=[{utmContent:"wheel",bgAsset:"wheel-landing-bg",smallScreenBgAsset:"small-screen-wheel-landing",desktopBgAsset:"desktop/wheel-landing-bg",desktopShortBgAsset:"desktop/small-screen-wheel-landing",bgColorClass:"bg-[#FF0069]",wheelAsset:"landing-wheel",desktopWheelAsset:"desktop/landing-wheel",desktopShortWheelAsset:"desktop/small-screen-landing-wheel",girlsAsset:"landing-wheel-girls",landingConfettiAsset:"landing-wheel-confetti",popupConfettiAsset:"landing-wheel-confetti",buttonGradientClass:ia},{utmContent:"worldcup",bgAsset:"green-landing-bg",smallScreenBgAsset:"small-screen-worldcup-landing",desktopBgAsset:"desktop/green-landing-bg",desktopShortBgAsset:"desktop/small-screen-worldcup-landing",bgColorClass:"bg-[#16320a]",wheelAsset:"green-wheel",desktopWheelAsset:"desktop/green-wheel",desktopShortWheelAsset:"desktop/small-screen-green-wheel",girlsAsset:null,landingConfettiAsset:null,popupConfettiAsset:"green-landing-confetti",buttonGradientClass:sa}],ca=t=>la.find(n=>n.utmContent===t),ro=360,ao=6,oo=5500,io=600,so=135,lo=12e3;const da=9,ua={Randomvideochat:14,Sexytalktv:15,SexyBondTV:15,SexyMoodTV:15,SexyLinkTV:15,SexyVibeTV:15,SexySparkTV:15,Dodo:12,Dodoappco:12,Panda:11,Pandasocialappco:11,Pansocialtv:11,Cafe:11,Luckycam:17,Luckychatappco:17,Pink:25,Pinkrandomchat:4,Talktogirlstv:18,Fox:11,Foxvideochatappco:11,Meetcamtv:7,Anonvideochat:11,C
3amtocamchattv:18,Chatmatetv:22,Golivechattv:29,Liverandomchattv:23,Onlinevideochattv:22,Premiumchattv:22,Strangervideochattv:21,Talkmatchtv:18,TransVideoChatTV:11,Videochatco:14,Who:8,Salsa:8};const co=[a.ANONVIDEOCHAT,a.CAMTOCAMCHATTV,a.CHATMATCHTV,a.CHATMATETV,a.DODO,a.DODOAPPCO,a.FOX,a.INSTANTVIDEOCHATTV,a.LIVERANDOMCHATTV,a.LUCKYCAM,a.MEETCAMTV,a.ONLINEVIDEOCHATTV,a.PANDA,a.PREMIUMCHATTV,a.RANDOMCAMCHATTV,a.RANDOMVIDEOCHAT,a.SEXYTALKTV,a.STRANGERVIDEOCHATTV,a.TALKMATCHTV,a.TALKTOGIRLSTV,a.VIDEOCHATCO,a.WHO],uo=[a.CHATMATCHTV,a.CHATMATETV,a.DODO,a.DODOAPPCO,a.FOX,a.LUCKYCAM,a.PANDA,a.SEXYTALKTV,a.TALKTOGIRLSTV],po=[a.ANONVIDEOCHAT,a.CAMTOCAMCHATTV,a.CHATMATETV,a.INSTANTVIDEOCHATTV,a.LIVERANDOMCHATTV,a.MEETCAMTV,a.MINTVIDEOCHAT,a.ONLINEVIDEOCHATTV,a.PINK,a.PINKRANDOMCHAT,a.PREMIUMCHATTV,a.RANDOMCAMCHATTV,a.RANDOMVIDEOCHAT,a.SEXYCHATTV,a.SEXYMEETTV,a.STRANGERVIDEOCHATTV,a.TALKMATCHTV,a.VIDEOCHATCO,a.WHO],fo={[a.SEXYTALKTV]:{prefix:"sexytalktv_faq",count:17},[a.SEXYBONDTV]:{prefix:"sexytalktv_faq",count:17},[a.SEXYMOODTV]:{prefix:"sexytalktv_faq",count:17},[a.SEXYLINKTV]:{prefix:"sexytalktv_faq",count:17},[a.SEXYVIBETV]:{prefix:"sexytalktv_faq",count:17},[a.SEXYSPARKTV]:{prefix:"sexytalktv_faq",count:17},[a.RANDOMVIDEOCHAT]:{prefix:"randomvideochat_faq",count:14},[a.DODO]:{prefix:"dodo_faq",count:11},[a.DODOAPPCO]:{prefix:"dodo_faq",count:11},[a.PANDA]:{prefix:"panda_faq",count:10},[a.PANDASOCIALAPPCO]:{prefix:"panda_faq",count:10},[a.PANDASOCIALTV]:{prefix:"pandasocial_faq",count:10},[a.CAFE]:{prefix:"cafe_faq",count:12,heading:s.cafe_faq_heading},[a.LUCKYCAM]:{prefix:"luckycam_faq",count:16},[a.LUCKYCHATAPPCO]:{prefix:"luckycam_faq",count:16},[a.PINK]:{prefix:"pink_faq",count:12},[a.PINKRANDOMCHAT]:{prefix:"pink_faq",count:12},[a.TALKTOGIRLSTV]:{prefix:"talktogirlstv_faq",count:12},[a.FOX]:{prefix:"fox_faq",count:5,heading:s.fox_faq_heading,footer:s.fox_faq_footer},[a.FOXVIDEOCHATAPPCO]:{prefix:"fox_faq",count:5,heading:s.fox_faq_heading,footer:s.fox_faq_footer},[a.MEETCAMTV]:{prefix:"meetcamtv_faq",count:10},[a.ANONVIDEOCHAT]:{prefix:"anonvideochat_faq",count:10},[a.CAMTOCAMCHATTV]:{prefix:"camtocamchattv_faq",count:14},[a.CHATMATETV]:{prefix:"chatmatetv_faq",count:10},[a.TRANSVIDEOCHATTV]:{prefix:"transvideochattv_faq",count:10},[a.GOLIVECHATTV]:{prefix:"golivechattv_faq",count:10},[a.LIVERANDOMCHATTV]:{prefix:"liverandomchattv_faq",count:12},[a.ONLINEVIDEOCHATTV]:{prefix:"onlinevideochattv_faq",count:12},[a.PREMIUMCHATTV]:{prefix:"premiumchattv_faq",count:12},[a.STRANGERVIDEOCHATTV]:{prefix:"strangervideochattv_faq",count:24},[a.TALKMATCHTV]:{prefix:"talkmatchtv_faq",count:16},[a.VIDEOCHATCO]:{prefix:"videochatco_faq",count:12},[a.XENIALIVEAPPCO]:{prefix:"xenialiveappco_faq",count:10},[a.WHO]:{prefix:"who_faq",count:6},[a.SALSA]:{prefix:"salsa_faq",count:8,heading:s.salsa_faq_heading}},mo={[a.SEXYTALKTV]:{title:s.sexytalktv_hero_title,description:s.sexytalktv_hero_description},[a.SEXYBONDTV]:{title:s.sexytalktv_hero_title,description:s.sexytalktv_hero_description},[a.SEXYMOODTV]:{title:s.sexytalktv_hero_title,description:s.sexytalktv_hero_description},[a.SEXYLINKTV]:{title:s.sexytalktv_hero_title,description:s.sexytalktv_hero_description},[a.SEXYVIBETV]:{title:s.sexytalktv_hero_title,description:s.sexytalktv_hero_description},[a.SEXYSPARKTV]:{title:s.sexytalktv_hero_title,description:s.sexytalktv_hero_description},[a.RANDOMVIDEOCHAT]:{title:s.randomvideochat_hero_title,description:s.randomvideochat_hero_description},[a.DODO]:{title:s.dodo_hero_title,description:s.dodo_hero_description},[a.DODOAPPCO]:{title:s.dodo_hero_title,description:s.dodo_hero_description},[a.PANDA]:{title:s.panda_hero_title,description:s.panda_hero_description},[a.PANDASOCIALAPPCO]:{title:s.panda_hero_title,description:s.panda_hero_description},[a.PANDASOCIALTV]:{title:s.pandasocial_hero_title,description:s.pandasocial_hero_description},[a.CAFE]:{title:s.cafe_hero_title,description:s.cafe_hero_description},[a.LUCKYCAM]:{title:s.luckycam_hero_title,description:s.luckycam_hero_description},[a.LUCKYCHATAPPCO]:{title:s.luckycam_hero_title,description:s.luckycam_hero_description}
3,[a.PINK]:{title:s.pink_hero_title,description:s.pink_hero_description},[a.PINKRANDOMCHAT]:{title:s.pink_hero_title,description:s.pink_hero_description},[a.TALKTOGIRLSTV]:{title:s.talktogirlstv_hero_title,description:s.talktogirlstv_hero_description},[a.FOX]:{title:s.fox_hero_title,description:s.fox_hero_description,underlineText:s.fox_hero_underline_text,ctaText:s.fox_cta_button},[a.FOXVIDEOCHATAPPCO]:{title:s.fox_hero_title,description:s.fox_hero_description,underlineText:s.fox_hero_underline_text,ctaText:s.fox_cta_button},[a.MEETCAMTV]:{title:s.meetcamtv_hero_title,description:s.meetcamtv_hero_description},[a.ANONVIDEOCHAT]:{title:s.anonvideochat_hero_title,description:s.anonvideochat_hero_description},[a.CAMTOCAMCHATTV]:{title:s.camtocamchattv_hero_title,description:s.camtocamchattv_hero_description},[a.CHATMATETV]:{title:s.chatmatetv_hero_title,description:s.chatmatetv_hero_description},[a.TRANSVIDEOCHATTV]:{title:s.transvideochattv_hero_title,description:s.transvideochattv_hero_description},[a.GOLIVECHATTV]:{title:s.golivechattv_hero_title,description:s.golivechattv_hero_description},[a.LIVERANDOMCHATTV]:{title:s.liverandomchattv_hero_title,description:s.liverandomchattv_hero_description},[a.ONLINEVIDEOCHATTV]:{title:s.onlinevideochattv_hero_title,description:s.onlinevideochattv_hero_description},[a.PREMIUMCHATTV]:{title:s.premiumchattv_hero_title,description:s.premiumchattv_hero_description},[a.STRANGERVIDEOCHATTV]:{title:s.strangervideochattv_hero_title,description:s.strangervideochattv_hero_description},[a.TALKMATCHTV]:{title:s.talkmatchtv_hero_title,description:s.talkmatchtv_hero_description},[a.VIDEOCHATCO]:{title:s.videochatco_hero_title,description:s.videochatco_hero_description},[a.XENIALIVEAPPCO]:{title:s.xenialiveappco_hero_title,description:s.xenialiveappco_hero_description},[a.WHO]:{title:s.who_hero_title,description:s.who_hero_description}},pa={[a.FOX]:{title:s.fox_page_title,description:s.fox_page_description}},ho=t=>ua[t]??da,fa=[a.MINTVIDEOCHAT,a.FLEXVIDEOCHAT].includes(P.WHO_BRAND_NAME),vo=`https://d2veheavfolhls.cloudfront.net/misc%2Fcommunity_rules%2F${fa?"Mintvideochat%20":""}Community%20Rules.pdf?alt=media`;const ma=/^\d+(_[a-z]+)?$/i,ot=/\/live\/\d+(_[a-z]+)?/i,_o=t=>!!t&&ma.test(t),go=(t,n)=>`${t??""}`==`${n??""}`,ha={class:"w-full flex-1 overflow-hidden"},va="/",_a=ve({__name:"App",setup(t){const n=Kt(),e=Ue(),r=ut(),o=Yt(),i=jt(),l=Xt(),c=Jt(),p=_e(),f=Zt(),m=Qt(),T=be(null),C=be(null),d=be(null),g=Le(),{isDesktop:_}=en();ea(),tn(In);const L=K(null),S=Pe(),B=nn(),F=new Q("App"),ee=Date.now().toString(),U=K(!1),ce=On(),te=K(!1),j=K(!1),de=rn("isAuthCredentialSuccess",!1);let q=null;const N=k(()=>S.name==="index"),v=k(()=>ot.test(S.path)||f.isSessionOpen),G=K(!1),At=k(()=>{var u;return!N.value&&!!((u=C.value)!=null&&u.currentUID)}),yt=async()=>{if(G.value)return;const[{useBecomeStreamerStore:u},{useStoryStore:E},{useGameStore:A}]=await Promise.all([Y(()=>import("./who-modals.PsgLpe4w.js").then(V=>V.nS),__vite__mapDeps([0,1,2,3,4,5,6,7])),Y(()=>import("./who-modals.PsgLpe4w.js").then(V=>V.nQ),__vite__mapDeps([0,1,2,3,4,5,6,7])),Y(()=>import("./who-modals.PsgLpe4w.js").then(V=>V.nR),__vite__mapDeps([0,1,2,3,4,5,6,7]))]);T.value=u(),C.value=E(),d.value=A(),T.value.$reset();const W=d.value.getGameCenterTutorialStep();d.value.setGameCenterTutorialStep(W||1),G.value=!0},De=()=>{r.initializeIfNeeded().then(()=>{Cn(),kn(),xn(),Ln()}).catch(u=>{F.error("App initialization failed",u)})};if(We()){r.setAuthTransferTokenFromQuery();const u=H(()=>S.path,E=>{We(E)||(u(),De())})}else De();N.value||Wr();const ne=P.WHO_BRAND_NAME,re=k(()=>
3S.meta.static===!0||n.isInitialized&&e.isInitialized||r.skipAuthLoading),St=k(()=>S.name==="index"&&ne==="Rabbit"&&!Pn),It=k(()=>N.value&&ra.includes(ne)&&ca(Nn)!==void 0),Re=k(()=>(N.value||window.location.pathname==="/")&&Dn.includes(ne)),Ot=k(()=>Re.value&&!re.value),Ct=k(()=>_.value&&B.currentRoute.value.path==="/"?!1:!(B.currentRoute.value.path==="/"&&ne==="Rabbit")),Me=k(()=>{var u,E,A,W;return!n.isGuestUser&&!!((E=(u=e.setting)==null?void 0:u.self_become_popular_settings)!=null&&E.is_feature_enabled)&&Rn.includes(ne)&&((W=(A=e.setting)==null?void 0:A.self_become_popular_settings)==null?void 0:W.state)===Mn.APPROVED}),kt=async()=>{if(!e.isInitialized||!n.isInitialized)return;const u=B.currentRoute.value.path;Gn.some(E=>u.startsWith(E))||Me.value&&u!=="/becomestreamer"&&await B.replace("/becomestreamer")},Ve=(u,E)=>{w.setItem(w.KEY.MultipleTabsPageLangInfo,u),w.setItem(w.KEY.MultipleTabsPageLangBack,E),window.location.href="/errormultipletabs/index.html"},Ee=u=>{window.removeEventListener("storage",ue),R.emit(u),w.setItem(w.KEY.StopCallForTabError,"false")},He=()=>{_.value?U.value=!0:Ve(g("application_already_open_in_another_tab"),g("continue"))},ue=u=>{u.key===w.KEY.StopCallForTabError&&u.newValue==="true"&&(l.matchStateValue!==Ke.WAIT_TO_CALL&&Ee("finishMatchFoundValue"),Vn.includes(fe.value)&&Ee("finishPrivateCall"),Hn.value&&Ee("finishIncomingPrivateCall")),u.key===w.KEY.TabID&&u.newValue!==ee&&((!fe.value||fe.value===Bn.NO_CALL||fe.value===0)&&l.matchStateValue===Ke.WAIT_TO_CALL?He():w.setItem(w.KEY.IsCallActiveForTabError,"true")),u.key===w.KEY.IsCallActiveForTabError&&u.newValue==="true"&&He()},Be=u=>{u.touches.length===Fn&&(u.preventDefault(),u.stopPropagation())},xt=async()=>{var E,A;await Ye();const u=((A=(E=e.setting)==null?void 0:E.UI)==null?void 0:A.shouldStartWithDiscoverTab)===zn.SHOULD_START_WITH_DISCOVER_TAB_ENABLED;B.replace(u?"/discover":"/home")};j.value=!1,H(N,async u=>{if(!u){if(await yt(),H(()=>e.mounted,()=>{S.query.status&&i.paymentHybridModal({data:{status:S.query.status},show:!0})}),H([()=>S.fullPath,Me,()=>e.isInitialized,()=>n.isInitialized,()=>r.isAuthenticated],async()=>{var E;await Ye(),((E=T.value)==null?void 0:E.verificationStep)!==Un.DONE&&kt()},{immediate:!0}),j.value)return;j.value=!0,R.on("redirectToCallErrorPage",()=>{w.setItem(w.KEY.StopCallForTabError,"false"),window.addEventListener("storage",ue),_.value?U.value=!0:Ve(g("application_already_open_in_another_tab"),g("continue"))}),R.on("videoClickDisabled",E=>{te.value=E}),R.on("premiumMediaSendCompleted",E=>{e.isPremiumMediaSelectAllEnabled=!0,e.isSendingPremiumMedia=!1,Wn($n.SHOW_IN_ALL_TABS,E.title_text,E.body_text,Kn,!1,null)})}},{immediate:!0}),ge(async()=>{if(ce)return;an(),w.setItem(w.KEY.TabID,ee),w.setItem(w.KEY.IsCallActiveForTabError,"false"),w.setItem(w.KEY.StopCallForTabError,"false"),w.removeItem(w.KEY.LegacyLivePreview),on(),q=sn(A=>{p.isLowPerformanceDevice=A}),window.addEventListener("storage",ue);const u=x.getItem(x.KEY.RatingModalData);if(u!=null){const A=JSON.parse(u);ln(A)?cn.value=A:x.removeItem(x.KEY.RatingModalData)}if(S.path!=="/"){const{Howler:A}=await Y(async()=>{const{Howler:W}=await import("./who-modals.PsgLpe4w.js").then(V=>V.h);return{Howler:W}},__vite__mapDeps([0,1,2,3,4,5,6,7]));A.autoUnlock=!0}S.path!==va&&na(),ot.test(window.location.pathname)||w.removeItem(w.KEY.StartWithWheelSpinOpen),L.value&&$e&&L.value.addEventListener("touchstart",Be)}),dn(()=>{window.removeEventListener("storage",ue),R.off("videoClickDisabled"),q==null||q(),L.value&&$e&&L.value.removeEventListener("touchstart",Be)});const Lt=u=>{e.setIsShowPWABox(u&&!ze)};un({link:[{rel:"icon",type:"image/x-icon",href:"/favicon.ico"},{rel:"icon",type:"image/x-icon",href:"/favicon-16.ico",sizes:"16x16"},{rel:"icon",type:"image/x-icon",href:"/favicon-32.ico",sizes:"32x32"},{rel:"icon",type:"image/x-icon",href:"/favicon-48.ico",sizes:"48x48"},{rel:"icon",type:"image/x-icon",href:"/favicon-64.ico",sizes:"64x64"},{rel:"icon",type:"image/x-icon",href:"/favicon-128.ico",sizes:"128x128"},{rel:"icon",type:"image/x-icon",href:"/favicon-512.ico",sizes:"512x512"},{rel:"apple-touch-icon",href:"/img/icons/apple-touch-icon.png",type:"image/png"},{rel:"icon",href:"/img/icons/android-chrome-192x192.png",sizes:"192x192",type:"image/png"},{rel:"icon",href:"/img/icons/android-chrome-512x512.png",sizes:"512x512",type:"image/png"},{rel:"manifest",href:"/manifest.webmanifest"}],meta:[{name:"theme-color",content:"#ff0069"},{name:"apple-mobile-web-app-status-bar-style",content:"#ff0069"},{name:"msapplication-navbutton-color",content:"#ff0069"},{name:"viewport",content:`width=device-width, initial-scale=1, ${qn?"maximum-scale=1, user-scalable=no,":"maximum-scale=3,"} viewport-fit=cover interactive-widget=resizes-content`},{name:"safari-pinned-tab",content:"/img/safari-pinned-tab.svg",color:"#000"}]});const ae=pa[P.WHO_BRAND_NAME];return pn(()=>
3{if(!ae||!pe.value)return;const u=g(ae.title),E=g(ae.description);u!==ae.title&&(document.title=u,document.querySelectorAll('meta[property="og:title"], meta[name="twitter:title"]').forEach(A=>A.setAttribute("content",u))),E!==ae.description&&document.querySelectorAll('meta[name="description"], meta[property="og:description"], meta[name="twitter:description"]').forEach(A=>A.setAttribute("content",E))}),H(()=>S.name,u=>{(u==="following"||u==="live")&&(o.redirectUrl=null,o.enteredFromProfile=!1)}),H(()=>e.mounted,()=>{S.query.status&&i.paymentHybridModal({data:{status:S.query.status},show:!0})}),H(()=>n.isPopular&&m.isFeatureEnabled,u=>{u&&m.preloadSearchingAnimation()},{immediate:!0}),H(()=>e.isInitialized&&n.isInitialized,u=>{u&&!n.isGuestUser&&!de.value&&(xt(),de.value=!0)}),fn(),st(()=>{P.WHO_BRAND_NAME===a.MINTVIDEOCHAT&&n.isGuestUser&&Ue().setPolicyAccepted(!1)}),(u,E)=>{const A=Yn,W=Br,V=Nr,Pt=lt("RouterView"),Nt=kr;return b(),z(Ie,null,[y("div",{id:"main-wrapper",ref_key:"mainWrapper",ref:L,class:"flex h-dvh w-full flex-col items-center"},[Ot.value?(b(),O(A,{key:0})):(!re.value||!h(pe))&&!h(_)&&!Re.value?(b(),O(mn,{key:1,"enter-active-class":"transition-opacity duration-300","leave-active-class":"transition-opacity duration-500 ease-in-out","enter-from-class":"opacity-0","leave-to-class":"opacity-0",name:"opacity"},{default:X(()=>[D(W)]),_:1})):I("",!0),re.value&&h(pe)?(b(),O(V,{key:2})):I("",!0),Ct.value?(b(),O(h(hn),{key:3})):I("",!0),qe(D(h(vn),{theme:St.value,class:ct(te.value&&"pointer-events-none"),onShow:Lt},null,8,["theme","class"]),[[Ge,!h(ze)&&h(e).isShowPWABox&&h(pe)&&re.value&&!It.value&&!h(n).isFreshUser&&!h(p).isVirtualKeyboardOpen]]),y("div",ha,[re.value?(b(),O(Pt,{key:u.$route.fullPath},{default:X(({Component:Dt})=>[(b(),O(_n(Dt)))]),_:1})):I("",!0)]),N.value?I("",!0):(b(),O(h(gn),{key:4,class:"md:hidden"}))],512),At.value?(b(),O(h(En),{key:0})):I("",!0),D(h(wn)),v.value?(b(),O(h(Tn),{key:1})):I("",!0),h(c).isActive?(b(),O(h(bn),{key:2})):I("",!0),N.value?I("",!0):qe((b(),O(h(An),{key:3,class:"z-10000"},null,512)),[[Ge,!h(p).isYotiVerificationIframeOpen]]),U.value&&!N.value?(b(),O(h(yn),{key:4})):I("",!0),h(e).forceRefresh!=null?(b(),O(h(Sn),{key:5})):I("",!0),D(Nt)],64)}}});const ga=[".sd-rtn.com",".agora.io",".google-analytics.com"],Ea=["__firefox__","__find_in_page__","_pcmBridgeCallbackHandler",String.raw`SymBrowser_\w+`,String.raw`WKWebView_\w+`,"WebViewJavascriptBridge","WebJSBridge","SCDynimacBridge","zaloJSV2","xbrowser","swbrowser","updateHotStatus","updateTaskStatus","logMutedMessage","videoStateTracker","pauseVideos","triggerPlayVideo","getVideoInfoIpad","getNewProducts","getNewRewards","removeHighlights","searchArray","MegaCube","VoiceInputControl"],wa=new RegExp(String.raw`^(?:ReferenceError: )?(?:Can't find variable: )?(?:${Ea.join("|")})(?: is not defined)?$`),Ta=["Cannot read properties of undefined (reading 'touchId')","Cannot read properties of undefined (reading 'cssMode')"],ba=(t,n)=>{var r,o,i,l;if(!t||!Ta.some(c=>t.includes(c)))return!1;const e=(l=(i=(o=(r=n==null?void 0:n.exception)==null?void 0:r.values)==null?void 0:o[0])==null?void 0:i.stacktrace)==null?void 0:l.frames;return e?e.some(c=>{var p;return(p=c.filename)==null?void 0:p.includes("swiper")}):!1},Aa=["Image can not be zero size","Aborted(both async and sync fetching of the wasm failed)"],ya=(t,n)=>{var r,o,i,l;if(!t||!Aa.some(c=>t.includes(c)))return!1;const e=(l=(i=(o=(r=n==null?void 0:n.exception)==null?void 0:r.values)==null?void 0:o[0])==null?void 0:i.stacktrace)==null?void 0:l.frames;return e?e.some(c=>{var p,f;return((p=c.filename)==null?void 0:p.includes("@banuba/webar"))||((f=c.filename)==null?void 0:f.includes("BanubaSDK"))}):!1},Sa=(t,n)=>{var r,o,i,l;if(!t||!t.includes("null is not an object (evaluating 'tn.sequence')"))return!1;const e=(l=(i=(o=(r=n==null?void 0:n.exception)==null?void 0:r.values)==null?void 0:o[0])==null?void 0:i.stacktrace)==null?void 0:l.frames;return e?e.some(c=>{var p,f;return((p=c.filename)==null?void 0:p.includes("clarity.js"))||((f=c.filename)==null?void 0:f.includes("clarity.ms"))}):!1},Ia=t=>{var e,r,o,i;const n=(i=(o=(r=(e=t==null?void 0:t.exception)==null?void 0:e.values)==null?void 0:r[0])==null?void 0:o.stacktrace)==null?void 0:i.frames;return n?n.some(l=>{var c,p;return((c=l.filename)==null?void 0:c.includes("/bat.js"))||((p=l.function)==null?void 0:p.startsWith("UET."))}):!1},Oa=t=>!t||!t.includes("auth/network-request-failed")?!1:navigator.onLine===!1;function Ca(t,n){var r,o,i,l;const e=((i=(o=(r=t==null?void 0:t.exception)==null?void 0:r.values)==null?void 0:o[0])==null?void 0:i.value)||(t==null?void 0:t.message)||(typeof n.originalException=="str
3ing"?n.originalException:"");if(e&&e.includes("remoteFrameRegistration.processChildFrameMessage")||Sa(e,t)||Ia(t)||Oa(e)||ya(e,t)||e&&/cancelad|cancelled|canceled|đã hủy/i.test(e)||e&&e.includes("Unable to preload CSS")||e&&(e.includes("Importing a module script failed")||e.includes("appCheck/fetch-network-error"))||e&&e.includes("t[n] is not a function")||e&&e.includes("Failed to fetch dynamically imported module")||e&&e.includes("Couldn't resolve component")||e&&e.includes("Can't find variable: TG")||e&&e.includes("Can't find variable: EmptyRanges")||e&&e.includes("e[t] is not a function")||e&&e.includes(".play is not a function")||e&&e.includes("The play() request was interrupted")||e&&e.includes("Failed to read the 'cssRules' property")||e&&e.includes("runtime.sendMessage(). Tab not found")||ba(e,t))return null;if(((l=n.mechanism)==null?void 0:l.type)==="onunhandledrejection"&&n.originalException!==null&&n.originalException!==void 0){const c=n.originalException;if(c==="cancelled")return null;if(c==="Timeout")return null;if(typeof c=="object"&&"message"in c&&typeof c.message=="string"&&c.message.includes("reCAPTCHA"))return null;if(typeof c=="object"&&"message"in c&&c.message==="Load failed")return null;if(c instanceof Event&&c.type==="error"&&c.target&&"src"in c.target&&c.target.src==="https://cdn.adjust.com/adjust-latest.min.js")return null}return t}function ka(t,n){if((t.category==="xhr"||t.category==="fetch")&&t.data&&t.data.url){let e=null;try{e=new URL(t.data.url).hostname}catch{}if(e!==null&&ga.some(r=>e.endsWith(r)))return null}return t}function xa(t){t=t.replace(/\D/g,"");const n=[{length:3,format:e=>e},{length:5,format:e=>`${e.slice(0,3)} ${e.slice(3)}`},{length:7,format:e=>`${e.slice(0,3)} ${e.slice(3,5)} ${e.slice(5)}`},{length:9,format:e=>`${e.slice(0,3)} ${e.slice(3,5)} ${e.slice(5,7)} ${e.slice(7)}`},{length:10,format:e=>`${e.slice(0,3)} ${e.slice(3,6)} ${e.slice(6,8)} ${e.slice(8)}`},{length:12,format:e=>`${e.slice(0,3)} ${e.slice(3,6)} ${e.slice(6,8)} ${e.slice(8,10)} ${e.slice(10)}`},{length:13,format:e=>`${e.slice(0,3)} ${e.slice(3,6)} ${e.slice(6,8)} ${e.slice(8,10)} ${e.slice(10,12)} ${e.slice(12)}`},{length:14,format:e=>`${e.slice(0,3)} ${e.slice(3,6)} ${e.slice(6,8)} ${e.slice(8,10)} ${e.slice(10,12)} ${e.slice(12,13)} ${e.slice(13)}`},{length:15,format:e=>`${e.slice(0,3)} ${e.slice(3,6)} ${e.slice(6,8)} ${e.slice(8,10)} ${e.slice(10,12)} ${e.slice(12,13)} ${e.slice(13,14)} ${e.slice(14)}`}];for(const{length:e,format:r}of n)if(t.length<=e)return r(t);return""}const La={ar:/[\u0660-\u0669]/g},Pa={beforeMount(t,n){let e=!1;t.addEventListener("input",r=>{var l;if(!(r.target instanceof HTMLInputElement)||e)return;e=!0;const i=r.target.value.replace(La[jn],c=>String.fromCharCode(c.charCodeAt(0)-1632+48));r.target.value=(l=n.value)!=null&&l.phoneNumber?xa(i):i,r.target.dispatchEvent(new Event("input")),e=!1})}};const oe=new WeakMap;function Na(t={}){const n=t.global??!0;function e(d){d.addEventListener("copy",p),d.addEventListener("cut",p)}function r(d){d.addEventListener("contextmenu",p),d.setAttribute("draggable","false")}function o(d){d.style.userSelect="all",d.style.webkitUserSelect="all",d.removeEventListener("copy",p),d.removeEventListener("cut",p)}function i(d){d.removeEventListener("contextmenu",p),d.removeAttribute("draggable")}function l(d){d.addEventListener("contextmenu",p),d.setAttribute("controlsList","nodownload")}function c(d){d.removeEventListener("contextmenu",p),d.removeAttribute("controlsList")}function p(d){d.preventDefault()}function f(d){if(!(d instanceof HTMLElement))return;const g=oe.get(d),_=d.tagName.toUpperCase();if(g){g==="text"?o(d):e(d),_==="IMG"&&(g==="img"?i(d):r(d)),_==="VIDEO"&&(g==="video"?c(d):l(d));return}_==="SPAN"?e(d):_==="IMG"?r(d):_==="VIDEO"&&l(d)}function m(d){if(!(d instanceof HTMLElement))return;f(d);const g=d.querySelectorAll("span"),_=d.querySelectorAll("img"),L=d.querySelectorAll("video");g.forEach(f),_.forEach(f),L.forEach(f)}const T=new MutationObserver(d=>{requestAnimationFrame(()=>{d.forEach(g=>{g.addedNodes.forEach(m)})})}),C={mounted(d,g){let _;g.modifiers.text?(_="text",o(d)):g.modifiers.img?(_="img",i(d)):g.modifiers.video&&(_="video",c(d)),_&&oe.set(d,_)},updated(d,g){let _;g.modifiers.text?(_="text",o(d)):g.modifiers.img?(_="img",i(d)):g.modifiers.video&&(_="video",c(d)),_?oe.set(d,_):oe.delete(d)},unmounted(d){oe.delete(d)}};return{install(d){n&&T.observe(document.body,{childList:!0,subtree:!0}),d.directive("unprotect",C)}}}const Et=new Q("18ad4ae3");window.addEventListener("error",t=>{let n=null;try{n=JSON.stringify(t.error)}catch(e){Et.error("failed errorJSON",e)}Xn(t.message,t.filename,t.lineno,t.colno,""+t.error)});window.addEventListener("unhandledrejection",t=>{let n=null;try{n=JSON.stringify(t.reason)}catch(e){Et.error("failed reasonJSON",e)}Jn(""+t.reason)});const J=new Q("hybridPushTokenManager"),wt="requestPushToken",Da=5e3;let Z=null,$=null,ie=null;const Tt=()=>{var t,n;return typeof window<"u"&&!!((n=(t=window.webkit)==null?void 0:t.messageHandlers)!=null&&n[wt])},Ra=t=>{$!==null&&(clearTimeout($),$=null),Z!==null&&(Z(t),Z=null)};typeof window<"u"&&(window.onNativePushToken=Ra);const Ma=()=>{var e,r;if(!Tt())return Promise.resolve(null);if(ie)return ie;const n=(r=(e=window.webkit)==null?void 0:e.messageHandlers)==null?void 0:r[wt];return n?(ie=new Promise(o=>{const i=l=>{ie=null,o(l)};Z=i,$=setTimeout(()=>{J.warn("Push token request timed out"),$=null,Z=null,i(null)},Da);try{n.postMessage([])}catch(l){J.error("Failed to request push token from native",l),Z=null,$!==null&&(clearTimeout($),$=null),i(null)}}),ie):(J.error("No iOS bridge handler for push token"),Promise.resolve(null))},Va=async()=>
3{if(!Tt())return!1;const n=await Ma();if(!n)return J.warn("No push token received from native"),!1;try{const e=await Zn.callFunction("updatePushToken",{token:n});return e.type===Qn.API_RESULT?!0:(J.error("Failed to register hybrid push token",e),!1)}catch(e){return J.error("Error registering hybrid push token",e),!1}};const xe=new Q("85ba5f5b");let it=null;const bt=window.mobileCheck(),Se=bt?er():null;Ha();async function Ha(){const t=await tr();t&&vr(t,async n=>{var r,o,i,l;if((r=n.data)!=null&&r.caller_id&&((o=n.data)==null?void 0:o.caller_id)===it){xe.warn("Duplicate call skipped:",n.messageId);return}it=(i=n.data)==null?void 0:i.caller_id,(l=n==null?void 0:n.data)!=null&&l.badge_count&&rr(n),(bt?(Se==null?void 0:Se.value)??!1:document.visibilityState==="visible"&&document.hasFocus())?await ar(n):await Ba(n)})}async function Ba(t){if(!Oe()){xe.warn("showNativeNotification: service worker not supported");return}const n=await or();if(n==null){xe.warn("showNativeNotification: No service worker");return}await ir(n,t)}nr(0);const se=new Q("40b7cac3"),M=sr(_a),Fa=lr(),Ua=cr();M.use(pt);M.use(dr);M.use(Fa);M.use(vt);M.use(Ua);M.use(Na({global:!0}));M.directive("locale-number-replacer",Pa);window.dataLayer=window.dataLayer||[];$a();function Wa(t){if(typeof window>"u"){t();return}window.setTimeout(()=>{t()},0)}async function $a(){typeof window<"u"&&ur(),M.mount("#app");try{const{default:t}=await Y(async()=>{const{default:n}=await import("./who-modals.PsgLpe4w.js").then(e=>e.nT);return{default:n}},__vite__mapDeps([0,1,2,3,4,5,6,7]));M.use(t,{clientId:P.WHO_APP_GA_CLIENT_ID,buttonConfig:{size:"large",text:"signin_with",shape:"rectangular",locale:navigator.language,logo_alignment:"left",width:"290"}})}catch(t){se.warn("vue3-google-login could not be initialized",t)}Wa(()=>{fr(!0),mr(!0),Oe()&&(window.location.pathname!=="/"||je())?hr().then(e=>{e||se.warn("did not registered service worker")},e=>{}).catch(e=>{se.error("error during service worker registration",e)}):se.warn("service worker not supported",{serviceWorkerPossible:Oe(),pathname:window.location.pathname,isStandaloneMode:je()});let t=!1;const n=()=>{t||(t=!0,Va())};n(),R.on("auth_ready",n),window.setTimeout(()=>{ut().uid&&n()},0)}),typeof window<"u"&&Ga().then(async()=>{Y(async()=>{const{initPixels:t}=await import("./who-modals.PsgLpe4w.js").then(n=>n.nP);return{initPixels:t}},__vite__mapDeps([0,1,2,3,4,5,6,7])).then(({initPixels:t})=>{t()}).catch(t=>{se.error("Failed to initialize pixels",t)}),qa(),Y(async()=>{const{init:t,browserTracingIntegration:n,replayIntegration:e,setContext:r}=await import("./who-vendor-sentry.D6QQgNDm.js");return{init:t,browserTracingIntegration:n,replayIntegration:e,setContext:r}},[]).then(({init:t,browserTracingIntegration:n,replayIntegration:e,setContext:r})=>{t({app:M,dsn:P.WHO_SENTRY_DSN,integrations:[n({router:pt}),e()],tracesSampleRate:1,tracePropagationTargets:["localhost",new RegExp(String.raw`^https:\/\/${P.WHO_FIREBASE_PROJECT_ID}\.firebaseapp\.com\/.*`)],replaysSessionSampleRate:.01,replaysOnErrorSampleRate:.05,release:P.WHO_SENTRY_APP_VERSION,environment:P.WHO_SENTRY_ENVIRONMENT,dist:P.WHO_SENTRY_DIST,ignoreErrors:["Non-Error exception captured","Non-Error promise rejection captured","Non-Error promise rejection captured with value: Failed to load the Google 3P Authorization JavaScript Library","Event `Event` (type=error) captured as promise rejection","AgoraRTCException","Error: WebSocket connection is not in required OPEN state for action","Error: AbortError: The operation was aborted.","Fetch is aborted","The fetching process for the media resource was aborted","FirebaseError: Not Permitted","RtmInternalError: Cannot get illegal vid.","ReferenceError: UET is not defined","InvalidStateError","FirebaseError: Installations: Could not process request. Application offline. (installations/app-offline)","FirebaseError: Response is not valid JSON object","IDBDatabase: The database connection is closing","Failed to execute transaction on IDBDatabase: The database connection is closing.","UnknownError: Database deleted by request of the user","TypeError: cancelled","Cannot read properties of undefined (reading 'digest')","undefined is not an object (evaluating 'crypto.subtle.digest')","The play() request was interrupted because the media was removed from the document","Connection to Indexed Database server lost","The play() request was interrupted by a call to pause().","no recaptcha","Cannot create so many PeerConnections","(In '_r[_n](_o[0])', '_r[_n]' is undefined)","Cannot read properties of undefined (reading 'accounts')","NotSupportedError: The operation is not supported","UnknownError: Error looking up record in object store by key range","Error: UnknownError: Failed to delete record from object store","TypeError: undefined is not an object (evaluating 'window.webkit.messageHandlers')","The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.","camera.agoraManager loadedmetadata timeout","Cannot read properties of undefined (reading 'CART_TYPE')","undefined is not an object (evaluating 'this._joinInfo.apResponse')","Cannot read properties of null (reading 'parentElement')","_r[_n] is not a function","undefined is not an object (evaluating 'e.target.tagName.toLowerCase')","Right side of assignment cannot be destructured","AbortError: AbortError","TypeError: Load failed","e[t] is not a function","SyntaxError: Unexpected token 'else'","undefined is not an object (evaluating 's[e]')","Unexpected identifier 'https'","undefined is not an object (evaluating 'this._joinInfo.cloudProxyServer')","Cannot read properties of undefined (reading '_emitClasses')","undefined is not an object (evaluating 'this._joinInfo.defaultVideoStream
3=this._remoteDefaultVideoStreamType')","Cannot read properties of undefined (reading 'cloudProxyServer')","Cannot read properties of undefined (reading 'apResponse')","Cannot set properties of undefined (setting 'defaultVideoStream')","this._joinInfo is undefined","ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications","window.webkit.messageHandlers.scrollEventHandler","window.webkit.messageHandlers[IOS_BRIDGE_NO_REPLY]","this.globals.window.webkit","browser.$references","auth/network-request-failed","Can't find variable: currentInset","window.history.state.back.name","window.setRewardButtonShade","window.Telegram.TelegramGameProxy","window.__aippy_perf_get","window.ethereum","__alhWeb","__ybro","Can't find variable: CONFIG","Can't find variable: WKWebViewJavascriptBridge","The WKWebView was deallocated before the message was delivered","TransactionInactiveError: A request was placed against a transaction which is currently not active, or which is finished.","Java object is gone","Java bridge method invocation error","Java exception was raised during method invocation","/sdk/banuba/","/opt/banuba_sdk/",wa,/^(?:\w+: )?[A-Za-z]{1,2}$/],beforeSend:Ca,beforeBreadcrumb:ka}),r("sentry-session",{id:pr()})}),console.info("[GSI] Loading after first interaction")}).catch(t=>{console.error("[GSI] Failed to load",t)})}function qa(){return new Promise(t=>{var o;if(typeof window<"u"&&((o=window.google)!=null&&o.accounts))return t();const n="gsi-client",e=document.getElementById(n);if(e)return e.addEventListener("load",()=>t(),{once:!0}),t();const r=document.createElement("script");r.id=n,r.src="https://accounts.google.com/gsi/client",r.async=!0,r.defer=!0,r.onload=()=>t(),r.onerror=()=>t(),document.head.appendChild(r)})}function Ga(){return typeof window>"u"?Promise.resolve():new Promise(t=>{const n=["click","scroll","keydown","touchstart","touchmove","pointerdown","wheel"],e=()=>{n.forEach(r=>{window.removeEventListener(r,e,!0),document.removeEventListener(r,e,!0)}),t()};n.forEach(r=>{window.addEventListener(r,e,{capture:!0,passive:!0}),document.addEventListener(r,e,{capture:!0,passive:!0})})})}export{fo as B,ro as F,co as S,vo as U,aa as W,mo as a,uo as b,po as c,eo as d,Za as e,so as f,Qa as g,oo as h,go as i,lo as j,to as k,no as l,ao as m,io as n,_o as o,na as p,ca as q,ho as r,ra as s};

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.