PageSourceSearch

https://flirtbate.com/_next/static/chunks/6673-60feaf65c1ab1cab.js

js flirtbate.com collected 2026-09-28 06:58:17 UTC 20,318 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:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="81f2af75-4ce6-4ad1-9f5f-650f1dad06d9",e._sentryDebugIdIdentifier="sentry-dbid-81f2af75-4ce6-4ad1-9f5f-650f1dad06d9")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6673],{9013:(e,l,t)=>{t.d(l,{Y:()=>y});var n=t(95155),s=t(12115),a=t(15239),i=t(65506),o=t(5937),r=t(20027),d=t(85998),c=t(18955),u=t(47650),m=t(18720),p=t(16872),f=t(97003),h=t(54679),x=t(31856),g=t(7588),v=t(80526),b=t(80549),_=t(45215),j=function(e){return e.ONLINE="ONLINE",e.CHAT="CHAT",e.BOTH="BOTH",e}({});let N=async e=>{try{let{data:l}=await _.g.post("/notify-me/subscribe",{model_id:e.modelId,notify_type:e.notify_type});return null==l?void 0:l.data}catch(l){let e=l instanceof Error?l:Error("Failed to subscribe to notifications");throw console.error("subscribeNotifyMe error:",e),e}};var C=t(2886);let w={online:j.ONLINE,message:j.CHAT,both:j.BOTH};function y(e){let{open:l,onOpenChange:t,modelId:_,modelName:j,modelImage:y}=e,E=(0,c.c)("NotifyMeDialog"),L=(0,g.a)(),[I,k]=(0,s.useState)("both"),[M,F]=(0,s.use
1State)(!1),{mutate:P,isPending:S}={...(0,b.useMutation)({mutationFn:N})};(0,s.useEffect)(()=>{if(!M)return;let e=setTimeout(()=>F(!1),4e3);return()=>clearTimeout(e)},[M]);let A=()=>{P({modelId:_,notify_type:w[I]},{onSuccess:()=>{t(!1),setTimeout(()=>F(!0),0)},onError:()=>{m.o.error(E("error"))}})},T=[{value:"online",icon:(0,n.jsx)(i.A,{className:"size-6"}),label:E("options.online")},{value:"message",icon:(0,n.jsx)(o.A,{className:"size-6"}),label:E("options.message")},{value:"both",icon:(0,n.jsx)(r.A,{className:"size-6"}),label:E("options.both"),recommended:!0}],D=M&&"undefined"!=typeof document&&(0,u.createPortal)((0,n.jsxs)("div",{className:"bg-background/90 fixed inset-0 z-100 flex flex-col items-center justify-center",children:[(0,n.jsx)(p.f,{src:"/lottie/notify.lottie",autoplay:!0,loop:!1,style:{width:"150px",height:"150px"}}),(0,n.jsx)("p",{className:"mt-5 text-xl font-bold",children:E("success.title")}),(0,n.jsx)("p",{className:"mt-1 text-sm",children:E("success.description",{modelName:(0,C.nx)(j)})})]}),document.body),z=()=>(0,n.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center",children:[(0,n.jsxs)("div",{className:"relative mb-6 rounded-full",children:[(0,n.jsx)("div",{className:"border-primary size-20 overflow-hidden rounded-full border-2",children:(0,n.jsx)(a.default,{src:y,alt:j,width:80,height:80,className:"size-full object-cover"})}),(0,n.jsx)("div",{className:"bg-primary absolute -right-1 bottom-0 flex size-8 items-center justify-center rounded-full",children:(0,n.jsx)(d.A,{className:"size-4 fill-white text-white"})})]}),(0,n.jsx)("h2",{className:"mb-1 text-center text-2xl font-bold",children:E("title",{modelName:(0,C.nx)(j)})}),(0,n.jsx)("p",{className:"text-muted-foreground text-center text-sm",children:E("description")})]}),(0,n.jsx)("div",{className:"flex flex-col gap-3",children:T.map(e=>(0,n.jsxs)("button",{onClick:()=>k(e.value),className:(0,v.cn)("flex cursor-pointer items-center gap-4 roun
1ded-xl px-5 py-4 text-left transition-colors",I===e.value?"border-primary bg-primary/2 border-2":"bg-secondary hover:bg-secondary/80 border-2 border-transparent"),children:[(0,n.jsx)("span",{className:"text-white",children:e.icon}),(0,n.jsx)("span",{className:"flex-1 text-base font-medium",children:e.label}),e.recommended&&(0,n.jsx)("span",{className:"bg-primary/40 rounded-full px-2 py-0.5 text-xs",children:E("recommended")})]},e.value))}),(0,n.jsx)(f.$,{onClick:A,disabled:S,size:"lg",rounded:"full",children:S?E("subscribing"):E("cta")})]});return(0,n.jsxs)(n.Fragment,{children:[D,L?(0,n.jsx)(x.cj,{open:l,onOpenChange:t,children:(0,n.jsxs)(x.h,{side:"bottom",onClick:e=>e.stopPropagation(),className:"z-10000 max-h-[90vh] overflow-y-auto border-none p-4",children:[(0,n.jsx)(x.qp,{className:"sr-only",children:E("title",{modelName:(0,C.nx)(j)})}),(0,n.jsx)(x.Qs,{className:"sr-only",children:E("description")}),z()]})}):(0,n.jsx)(h.lG,{open:l,onOpenChange:t,children:(0,n.jsxs)(h.Cf,{onClick:e=>e.stopPropagation(),children:[(0,n.jsx)(h.L3,{className:"sr-only",children:E("title",{modelName:(0,C.nx)(j)})}),(0,n.jsx)(h.rr,{className:"sr-only",children:E("description")}),z()]})})]})}},16872:(e,l,t)=>{t.d(l,{f:()=>a});var n=t(95155);let s=(0,t(67909).default)(()=>t.e(8429).then(t.bind(t,99486)).then(e=>e.DotLottieReact),{loadableGenerated:{webpack:()=>[99486]},ssr:!1}),a=e=>{let{src:l,...t}=e;return(0,n.jsx)(s,{src:l,...t})}},16931:(e,l,t)=>{t.d(l,{G:()=>s});var n=t(95155);let s=e=>{let{className:l=""}=e;return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",className:l,children:[(0,n.jsx)("path",{d:"M4.35998 7.21119L5.63326 7.90717C5.76136 7.97693 5.90565 8.00803 6.04984 7.99693C6.19402 7.98583 6.33235 7.93299 6.4492 7.84437C6.56605 7.75575 6.65677 7.63489 6.7111 7.49543C6.76543 7.35598 6.78121 7.20349 6.75666 7.05518L6.51401 5.58106C6.49266 5.45207 6.5018 5.3196 6.54066 5.19511C6.57951 5.07061 6.6469 4.95784 6.73701 4.86653L7.76583 3.82257C7.86943 3.71748 7.94272 3.5843 7.9774 3.43812C8.01208 3.29193 8.00676 3.13856 7.96206 2.99535C7.91736 2.85214 7.83505 2.72481 7.72445 2.62775C7.61384 2.53069 7.47935 2.46779 7.33619 2.44614L5.91411 2.23106C5.79003 2.21192 5.67225 2.16175 5.57088 2.08485C5.4695 2.00796 5.38755 1.90663 5.33204 1.78955L4.6943 0.449849C4.63029 0.314819 4.53125 0.201127 4.40839 0.121629C4.28553 0.0421312 4.14375 0 3.99909 0C3.85443 0 3.71265 0.0421312 3.58979 0.121629C3.46693 0.201127 3.36789 0.314819 3.30388 0.449849L2.66796 1.79182C2.61245 1.9089 2.5305 2.01023 2.42912 2.08713C2.32775 2.16402 2.20997 2.21419 2.08589 2.23334L0.663814 2.44841C0.520649 2.47006 0.386159 2.53297 0.275554 2.63002C0.164948 2.72708 0.0826401 2.85441 0.0379384 2.99762C-0.00676325 3.14083 -0.0120752 3.2942 0.0226034 3.44039C0.057282 3.58658 0.130567 3.71975 0.234172 3.82484L1.26299 4.86881C1.3531 4.96011 1.42049 5.07289 1.45934 5.19738C1.4982 5.32187 1.50735 5.45434 1.48599 5.58334L1.24152 7.05518C1.21678 7.20369 1.23249 7.35644 1.28687 7.49612C1.34125 7.63581 1.43213 7.75685 1.54922 7.84554C1.6663 7.93422 1.80491 7.987 1.94934 7.99789C2.09376 8.00878 2.23823 7.97736 2.36638 7.90717L3.63966 7.21119C3.7508 7.15065 3.87438 7.11902 3.99982 7.11902C4.12526 7.11902 4.24884 7.15065 4.35998 7.21119Z",fill:"url(#paint0_linear_5276_3408)"}),(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:"paint0_linear_5276_3408",x1:"3.99909",y1:"-0.0427867",x2:"3.99909",y2:"8.03061",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#FFF650"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#FFAB17"})]})})]})}},17199:(e,l,t)=>{t.d(l,{a:()=>n});function n(e){var l,t,n;let s=(null==(t=(null!=(n=null==(l=e.model_photos)?void 0:l.filter(e=>"Image"===e.file_type))?n:[])[0])?void 0:t.link)||e.link;if(s&&"null"!==s)return s}},46129:(e,l,t)=>{t.d(l,{e:()=>s});var n=t(95155);let s=e=>{let{className:l}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",className:l,children:(0,n.jsx)("path",{d:"M5 8.66667L1 4.66667M5 8.66667L9 4.66667M5 8.66667L3.22222 4.66667M5 8.66667L6.77778 4.66667M1 4.66667L2.77778 2M1 4.66667H3.22222M2.77778 2L3.22222 4.66667M2.77778 2H5M7.22222 2L9 4.66667M7.22222 2L6.77778 4.66667M7.22222 2H5M9 4.66667H6.77778M3.22222 4.66667H6.77778M3.22222 4.66667L5 2M6.77778 4.66667L5 2",stroke:"#FAFAFA",strokeWidth:"0.5"})})}},56673:(e,l,t)=>{t.d(l,{default:()=>B});var n=t(95155),s=t(12115),a=t(67909),i=t(15239),o=t(36489),r=t(18955),d=t(64375),c=t(16931),u=t(7588),m=t
1(38966),p=t(80526),f=t(9341),h=t(22511),x=t(84674);let g=(0,t(25959).v)(e=>({activeCardId:null,setActiveCardId:l=>e({activeCardId:l})}));var v=t(90412),b=t(2886),_=t(17199),j=t(62692),N=t(60890),C=t(75091);let w=e=>{let{className:l}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",className:l,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 1.95C0 0.873045 0.873045 0 1.95 0H11.05C12.127 0 13 0.873045 13 1.95V8.45C13 9.52696 12.127 10.4 11.05 10.4H4.13533C3.98327 10.4 3.83603 10.4533 3.71921 10.5507L2.13224 11.8731C1.28551 12.5787 0 11.9766 0 10.8744V1.95ZM3.25 3.9C3.25 3.54102 3.54101 3.25 3.9 3.25H9.1C9.45899 3.25 9.75 3.54102 9.75 3.9C9.75 4.25899 9.45899 4.55 9.1 4.55H3.9C3.54101 4.55 3.25 4.25899 3.25 3.9ZM3.9 5.85C3.54101 5.85 3.25 6.14102 3.25 6.5C3.25 6.85899 3.54101 7.15 3.9 7.15H6.5C6.85898 7.15 7.15 6.85899 7.15 6.5C7.15 6.14102 6.85898 5.85 6.5 5.85H3.9Z",fill:"currentColor"})})};var y=t(97003),E=t(16901),L=t(41763),I=t(9013);let k=(0,a.default)(()=>Promise.all([t.e(9441),t.e(1659),t.e(9176),t.e(8894)]).then(t.bind(t,59176)),{loadableGenerated:{webpack:()=>[59176]},ssr:!1,loading:()=>(0,n.jsx)(y.$,{className:"size-8 rounded-full",disabled:!0,"aria-hidden":!0,children:(0,n.jsx)(N.A,{className:"fill-white"})})}),M=e=>{let{userName:l,modelId:t,modelName:a,modelImage:r,onlineStatus:d,creditsPerMinute:c,listingSection:p,listingPosition:x}=e,g=(0,m.rd)(),b=(0,o.useSession)(),_=(0,u.a)(),{setSelectedModel:M}=(0,L.W)(),F=(0,E.U)(e=>e.initTimer),[P,S]=(0,s.useState)(!1);return 1===d?(0,n.jsx)(y.$,{className:"size-8 rounded-full bg-[#FFBA18] hover:bg-[#FFBA18]/80",onClick:e=>{if(e.stopPropagation(),f.F.trackEvent("posthog",h.n.LISTING_CARD_CTA_CLICKED,{model_position:x,model_name:a,cta_type:"chat"}),(null==b?void 0:b.status)!=="authenticated"){let e=(0,j.getCookie)("query");g.push(e?"/login?".concat(e):"/login");return}F(),_?g.push("/chats/".concat(l)):M(l)},children:(0,n.jsx)(w,{className:"fill-white"})}):2===d?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(y.$,{className:"size-8 rounded-full bg-[#CE2C31] hover:bg-[#CE2C31]/80",onClick:e=>{if(e.stopPropagation(),f.F.trackEvent("posthog",h.n.LISTING_CARD_CTA_CLICKED,{model_position:x,model_name:a,cta_type:"notify me"}),(null==b?void 0:b.status)!=="authenticated"){let e=(0,j.getCookie)("query");g.push(e?"/login?".concat(e):"/login");return}S(!0)},children:(0,n.jsx)(C.A,{className:"fill-white"})}),(0,n.jsx)(I.Y,{open:P,onOpenChange:S,modelId:t,modelName:a,modelImage:r})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(k,{userName:l,modelId:t,className:"size-8 rounded-full",modelName:a,listingSection:p,listingPosition:x,children:(0,n.jsx)(N.A,{className:"fill-white"})}),(0,n.jsxs)("div",{className:"flex items-center gap-0.5",children:[(0,n.jsx)(i.default,{src:"".concat(v.LH,"/coins.svg"),width:8,height:8,alt:"",className:"shrink-0"}),(0,n.jsxs)("span",{className:"text-[8px] font-medium",children:[c,"/min"]})]})]})};var F=t(49599),P=t(68122);let S=new Map,A=e=>{let{id:l,url:t,alt:a,priority:o=!1}
1=e,[r,d]=(0,s.useState)(()=>o||S.has(t)),[c,u]=(0,s.useState)(!1),m=S.get(t);return(0,n.jsxs)(n.Fragment,{children:[!c&&!r&&!o&&(0,n.jsx)(P.E,{className:"absolute inset-0 rounded-lg"}),m&&!o?(0,n.jsx)("div",{className:"absolute inset-0 rounded-lg bg-cover bg-top",style:{backgroundImage:"url(".concat(JSON.stringify(m),")")}}):null,!c&&(0,n.jsx)(i.default,{src:t,alt:a,fill:!0,sizes:"(max-width: 640px) 50vw, (max-width: 1024px) 33vw, (max-width: 1280px) 20vw, 14vw",loading:o?"eager":"lazy",priority:o,fetchPriority:o?"high":"auto",className:(0,p.cn)("absolute rounded-lg object-cover object-top",!o&&"transition-opacity duration-300",!o&&(r?"opacity-100":"opacity-0")),onLoad:e=>{S.set(t,e.currentTarget.currentSrc),d(!0)},onError:()=>{S.delete(t),d(!1),u(!0)}},l),c&&!r&&(0,n.jsx)(F.r,{className:"absolute inset-0 rounded-lg"})]})},T=e=>{let{url:l,playing:t}=e,a=(0,s.useRef)(null),[i,o]=(0,s.useState)(!1),[r,d]=(0,s.useState)(!1),[c,u]=(0,s.useState)(!1),[m,p]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{t&&(p(!0),d(!0))},[t]),(0,s.useEffect)(()=>{let e=a.current;e&&(t?e.play().catch(()=>{}):(e.pause(),e.currentTime=0,o(!1),d(!1)))},[t,m]),c||!m)?null:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("video",{ref:a,src:l,muted:!0,loop:!0,autoPlay:!0,playsInline:!0,disablePictureInPicture:!0,className:"absolute inset-0 size-full rounded-lg object-cover object-top transition-opacity duration-300 ".concat(i?"opacity-100":"opacity-0"),onPlaying:()=>{d(!1),o(!0)},onError:()=>u(!0)}),r?(0,n.jsx)("div",{className:"absolute right-0 bottom-0 left-0 z-20 h-[3px] overflow-hidden rounded-b-lg bg-black/45 backdrop-blur-[2px]",children:(0,n.jsx)("div",{className:"preview-fetch-bar"})}):null]})};var D=t(88230);let z=(0,a.default)(()=>Promise.all([t.e(4213),t.e(9258)]).then(t.bind(t,79258)).then(e=>
1e.ModelPreviewHint),{loadableGenerated:{webpack:()=>[79258]},ssr:!1}),H={0:{color:"bg-green-500",key:"activeNow"},1:{color:"bg-yellow-300",key:"chattingNow"},2:{color:"bg-gray-400",key:"offline"}},O={0:"online",1:"chatting",2:"offline"},G="model_card_mobile_preview_hint_v1",R=null;function B(e){var l,t,a;let{model:j,containerClassName:N,onClick:C,priority:w,renderAction:y,listingSection:E,listingPosition:L,linkToProfile:I=!0}=e,k=(0,r.c)("ModelDetailsPage"),F=(0,u.a)(),P="unauthenticated"===(0,o.useSession)().status,[S,B]=(0,s.useState)(!1),K=(0,s.useRef)(null),U=(0,s.useRef)(!1),W=(0,s.useRef)(!1),$=null!=(a=null==j?void 0:j.online_status)?a:2*((null==j?void 0:j.is_online)!==1),{color:V,key:Y}=H[$],Z=(0,s.useId)(),q=g(e=>e.setActiveCardId),X=(0,s.useMemo)(()=>(0,_.a)(j),[j]),J=(0,s.useMemo)(()=>{var e,l,t;return null!=(t=null==j||null==(l=j.model_photos)||null==(e=l.find(e=>"Video"===e.file_type))?void 0:e.link)?t:null},[null==j?void 0:j.model_photos]),Q=(null==j?void 0:j.preview_video)||J,ee=!!Q&&(null==j?void 0:j.is_online)===1,el=g(e=>ee&&e.activeCardId===Z);(0,s.useEffect)(()=>{el&&(f.F.trackEvent("ga4",h.l.PREVIEW_WATCHED,{model_position:L,model_name:null==j?void 0:j.name}),P&&f.F.trackEvent("ga4",h.l.PRESIGNUP_PREVIEW_WATCHED,{model_position:L,model_name:null==j?void 0:j.name}))},[el]),(0,s.useEffect)(()=>{if(!el)return;let e=e=>{let l=e.target;null!=l&&l.closest("[data-model-card]")||q(null)};return document.addEventListener("touchstart",e,{passive:!0}),()=>document.removeEventListener("touchstart",e)},[el,q]),(0,s.useEffect)(()=>{if(!F||!ee)return void B(!1);try{if("1"===window.localStorage.getItem(G))return void B(!1)}catch(e){}if(null===R||R===j.id){R=j.id,B(!0);return}B(!1)},[F,ee,j.id]);let et=()=>{if(ee){if(U.current){W.current=!0,U.current=!1,K.current=null;try{window.localStorage.setItem(G,"1")}catch(e){}B(!1);return}K.current=null,U.current=!1}},en=(0,n.jsxs)(n.Fragment,{children:[X&&"null"!==X?(0,n.jsx)(A,{id:j.id,url:X,alt:j.name,priority:w}):null,ee?(0,n.jsx)(T,{url:Q,playing:el}):null,(null==j?void 0:j.toys_linked)===1?(0,n.jsx)(d.l,{label:k("lovenseBadge"),className:"top-1 right-auto bottom-auto left-1 ring-0"}):null,S?(0,n.jsx)(z,{label:k("swipeToPreview")}):null,(0,n.jsx)("div",{className:"absolute bottom-0 left-0 h-2/5 w-full rounded-b-lg bg-[linear-gradient(180deg,rgba(30,8,21,0)_0%,rgba(22,0,9,0.90)_100%)]"}),(0,n.jsxs)("div",{className:(0,p.cn)("pointer-events-none relative z-20 flex h-full w-full flex-col justify-between gap-1 overflow-hidden rounded-lg px-2 pt-4 pb-2",N),children:[(0,n.jsx)("div",{}),(0,n.jsxs)("div",{children:[(0,n.jsx)(D.$,{is_premium:null==j?void 0:j.is_premium,profile_plan_purchased:null==j?void 0:j.profile_plan_purchased,is_top:null==j?void 0:j.is_top,is_new:null==j?void 0:j.is_new,maxTags:2}),(0,n.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)("span",{className:"block max-w-32 truncate text-xs",children:(0,b.nx)(null==j?void 0:j.name)}),(0,n.jsx)(i.default,{src:"".concat(v.LH,"/model-card/verified.svg"),alt:"right blue tick icon",width:12,height:12})]}),(0,n.jsxs)("div",{className:"gap- flex items-center gap-1",children:[(0,n.jsx)("span",{className:(0,p.cn)("size-1 rounded-full border-2",V)}),(0,n.jsx)("span",{className:"text-[8px] font-medium",children:k("status.".concat(Y))})]})]}),(null==j?void 0:j.rating)&&!(null==j?void 0:j.profile_plan_purchased)?(0,n.jsxs)("div",{className:"absolute top-1 right-1 flex items-center justify-center gap-1 rounded-full bg-[#00000080] px-2 py-1",children:[(0,n.jsx)(c.G,{className:"size-2 shrink-0"}),(0,n.jsx)("span",{className:"text-[10px] leading-0 font-medium",children:(null==(l=parseFloat(null==j||null==(t=j.rating)?void 0:t.toFixed(1)))?void 0:l.toString())||""})]}):null,(0,n.jsx)("div",{className:"flex flex-col items-center gap-1",children:(0,n.jsx)("div",{className:"pointer-events-auto",onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),children:y?y({model:j,imageUrl:X||(null==j?void 0:j.link)}):(0,n.jsx)(M,{userName:null==j?void 0:j.user_name,modelId:null==j?void 0:j.id,modelName:null==j?void 0:j.name,modelImage:X||(null==j?void 0:j.link),onlineStatus:null==j?void 0:j.online_status,creditsPerMinute:null==j?void 0:j.credits_per_minute,listingSection:E,listingPosition:L})})})]})]})]})]});return(0,n.jsxs)("div",{"data-model-card":!0,onMouseEnter:ee?()=>q(Z):void 0,onMouseLeave:ee?()=>q(null):void 0,onTouchStart:e=>{if(!ee)return;q(Z),U.current=!1;let l=e.touches[0];l&&(K.current={x:l.clientX,y:l.clientY})},onTouchMove:e=>{if(!ee||!K.current)return;let l=e.touches[0];if(!l)return;let t=l.clientX-K.current.x,n=l.clientY-K.current.y;t>=40&&n<=-40&&(U.current=!0)},onTouchEnd:et,onTouchCancel:et,className:"relative flex aspect-170/220 cursor-pointer overflow-hidden rounded-md",children:[I?(0,n.jsx)(m.N_,{href:"/models/".concat(j.user_name),onClick:e=>{if(W.current){e.preventDefault(),W.current=!1;return}q(null),E&&(f.F.trackEvent("posthog","top"===E?h.n.TOP_MODEL_LISTING_CLICKED:h.n.LISTED_MODEL_CLICKED,{model_position:L,model_name:null==j?void 0:j.name}),P&&f.F.trackEvent("ga4","top"===E?h.l.PRESIGNUP_TOP_MODEL_LISTING_CLICKED:h.l.PRESIGNUP_MODEL_LISTING_CLICKED,{model_position:L,model_name:null==j?void 0:j.name})),f.F.trackEvent("posthog",h.n.MODEL_PROFILE_CLICKED,{preview_available:ee,model_status:O[$],model_position:"top"===E?"recommended":"listed"===E?"listing":void 0}),P&&f.F.trackEvent("ga4",h.l.PRESIGNUP_MODEL_PROFILE_CLICKED,{preview_available:ee}),(0,x.cO)({...j,link:null!=X?X:j.link}),(C||!I)&&(e.preventDefault(),null==C||C())},className:"absolute inset-0 z-10","aria-label":j.name}):null,en]})}},88230:(e,l,t)=>{t.d(l,{$:()=>c});var n=t(95155),s=t(12115),a=t(8198),i=t(68854),o=t(95740),r=t(18955),d=t(46129);let c=e=>{let{is_premium:l,profile_plan_purchased:t,is_top:c,is_new:u,maxTags:m}=e,p=(0,r.c)("ModelTags"),f=(0,s.useMemo)(()=>{let e=[];return l&&e.push({label:p("premium"),icon:(0,n.jsx)(d.e,{className:"size-2.5"}),className:"bg-[#CF3897]/40"}),t&&e.push({label:p("highlyActive"),icon:(0,n.jsx)(a.A,{className:"size-2.5"}),className:"bg-[#EF5F00]/40"}),c&&e.push({label:p("topModel"),icon:(0,n.jsx)(i.A,{className:"size-2.5"}),className:"bg-[#0588F0]/40"}),u&&e.push({label:p("newModel"),icon:(0,n.jsx)(o.A,{className:"size-2.5"}),className:"\n    relative isolate overflow-hidden\n    rounded-full\n    px-3 py-1\n    text-white\n    ring-1 ring-white/10\n    shadow-[0_0_8px_rgba(168,85,247,0.35),0_0_18px_rgba(124,58,237,0.25)]\n    \n    before:absolute\n    before:inset-0\n    before:rounded-full\n    before:z-0\n    before:bg-[linear-gradient(90deg,#1A0633_0%,#8B1FA9_25%,#FF6A00_50%,#8B1FA9_75%,#1A0633_100%)]\n    before:bg-[length:250%_250%]\n    before:animate-[premiumGradientShift_6s_ease-in-out_infinite]\n\n    after:absolute\n    after:inset-0\n    after:rounded-full\n    after:z-10\n    after:bg-[linear-gradient(120deg,transparent_20%,rgba(255,255,255,0.18)_45%,transparent_70%)]\n    after:translate-x-[-120%]\n    after:animate-[premiumShine_3.5s_linear_infinite]\n  "}),void 0!==m?e.slice(0,m):e},[l,t,c,u,m,p]);return 0===f.length?null:(0,n.jsx)("div",{className:"mb-1 flex flex-wrap gap-0.5",children:f.map(e=>(0,n.jsx)("span",{className:"flex w-fit items-center gap-0.5 rounded-full px-2 py-1 text-[8px] leading-0 font-medium backdrop-blur-xs ".concat(e.className),children:(0,n.jsxs)("span",{className:"relative z-20 flex items-center gap-0.5",children:[e.icon,e.label]})},e.label))})}}}]);

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.