PageSourceSearch

https://www.niteflirt.com/plus_frontend/dist/nf-plus-web-bundle-460d2fa4616c5f81a26b-v2.js

js niteflirt.com collected 2026-10-01 12:29:56 UTC 995,863 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e,t,i,o,a,r={3002(e,t,i){i.d(t,{C:()=>r,S:()=>n});var o=i(622),a=i(2370);const r=(0,a.createContext)(),n=({children:e})=>{const[t,i]=(0,a.useState)([]),n=(0,a.useMemo)(()=>({selectedAttachments:t,setSelectedAttachments:i}),[t,i]);return(0,o.A)(r.Provider,{value:n},void 0,e)};try{n.displayName="AttachmentsProvider"}catch(e){}},3524(e,t,i){i.d(t,{$N:()=>c,Hg:()=>d,Mf:()=>n,ZE:()=>a,dy:()=>o,eb:()=>r,r5:()=>l});const o="new",a="accepted_2257",r="has_offering",n="has_package",s="complete",l=e=>[a,s,n].includes(e),d=e=>[s,n].includes(e),c=e=>e===s},9463(e,t,i){i.d(t,{_k:()=>a,fn:()=>n,nZ:()=>r,q:()=>o});i(35504);const o=({returnUrl:e,action:t,currentUser:i=null,overrideLoginUrl:o=null})=>a=>{if(!i){a?.preventDefault();const t=e?(r=e)!==decodeURIComponent(r)?decodeURIComponent(r):r:window.location.pathname+window.location.search+window.location.hash,i=new URL(t,window.location.origin);i.searchParams.set("fromLogin","true");const n=new URL("/login",window.location.origin);if(o){const e=new URL(o,window.location.origin);n.pathname=e.pathname,e.searchParams.forEach((e,t)=>{n.searchParams.set(t,e)})}return n.searchParams.set("return_url",i.pathname+i.search+i.hash),window.location.href=n.toString(),!1}var r;return a?.preventDefault(),t(a)},a=e=>Object.keys(e?.default_card||{}).length>0,r=(e,t)=>e?.is_advisor?"/chat":`/chat/${t?.slug}?start_chat=true`,n=e=>`/feed/${e?.login}`},9635(e,t,i){i.d(t,{VJ:()=>a,g:()=>r,hz:()=>n});const o=e=>{const[t,i]=e.split("://"),[o,a]=i?[`${t}://`,i]:["",t],[r,n]=a.split("?");return`${o}${r.replaceAll("//","/")}${n?`?${n}`:""}`},a=e=>{window.location.href=o(e)},r=e=>{window.location.replace(o(e))},n=()=>{const e=new URLSearchParams(window.location.search);return e.has("listing_id")?a(`/listings/show/${e.get("listing_id")}`):e.has("user_login")?a(`/${e.get("user_login")}`):a("/")}},15456(e,t,i){i.d(t,{Y$:()=>c,dx:()=>u,sm:()=>m});var o,a,r,n=i(622),s=(i(2370),i(91801)),l=i(84221);const d=(0,i(71802).Ay)(s.A)(({theme:e})=>({marginTop:"10px",[e.breakpoints.up("xs")]:{padding:e.spacing(2,3,3,3)},[e.breakpoints.up("md")]:{padding:e.spacing(2,20,3,3)}})),c=()=>o||(o=(0,n.A)(d,{},void 0,(0,n.A)(l.A,{"data-test-id":"favorites-heading"},void 0,"Favorites is a list of every Flirt with whom you've spoken. You can also add Flirts to this list by clicking “Add to Favorites” on any Listing. Use this list to keep track of and get in touch with all your favorites on NiteFlirt!")));try{c.displayName="FavoritesHeading"}catch(e){}const u=()=>a||(a=(0,n.A)(d,{},void 0,(0,n.A)(l.A,{"data-test-id":"no-favorites"},void 0,"You don’t have any Favorites yet! Use Favorites to organize and easily access your favorite Flirts on NiteFlirt and 1-800-TO-FLIRT! Flirt Listings are automatically added to Favorites whenever you place a call and can be added by clicking “Add to Favorites” from any Listing.")));try{u.displayName="NoFavorites"}catch(e){}const m=()=>r||(r=(0,n.A)(d,{},void 0,(0,n.A)(l.A,{"data-test-id":"no-favorites-available"},void 0,"There are no recently contacted flirts on your favorites list currently available.")));try{m.displayName="NoFavoritesAvailable"}catch(e){}},16467(e,t,i){i.d(t,{pr:()=>w,ew:()=>C,cG:()=>A.c,Ap:()=>O.A,I7:()=>L,FI:()=>U,YJ:()=>v,Qf:()=>E,_H:()=>M._});var o=i(622),a=i(60749),r=i(17418),n=i(59079),s=i(2370),l=i(17747),d=i(65217),c=i(59389),u=i(24053);const m=["name","validation","label","onBlur","onChange","onFocus","size","fullWidth","helperText","registerOptions","children","sx","helperTextSx"],p=["onBlur","onChange","onFocus"];function h(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function g(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?h(Object(i),!0).forEach(function(t){(0,a.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const v=e=>{let{name:t,validation:i={},label:a,onBlur:h=null,onChange:v=null,onFocus:A=null,size:y="small",fullWidth:f=!0,helperText:b,registerOptions:w={},children:x=null,sx:C={},helperTextSx:k={}}=e,S=(0,n.A)(e,m);const _=(0,l.xW)();if(!_)return s.createElement(d.A,(0,r.A)({label:a,size:y,fullWidth:f,helperText:"FormTextField must be used within a FormWrapper.",sx:C},S));const{watch:N,register:P,formState:{errors:T},clearErrors:F}=_,I=P(t,g(g({},i),w)),{onBlur:E,onChange:M,onFocus:O}=I,D=(0,n.A)(I,p),R=N(t),L=T[t]?T[t].message:b;return(0,o.A)(c.A,{fullWidth:!0,error:!!T[t],"data-test-id":`form-text-field-${t}`},void 0,s.createElement(s.Fragment,null,s.createElement(d.A,(0,r.A)({label:a,size:y,value:R||"",error:!!T[t]},S,D,{onBlur:e=>
1{E(e),h?.(e)},onChange:e=>{M(e),v?.(e),F(t)},onFocus:e=>{O?.(e),A?.(e)},sx:C})),x,(0,o.A)(u.A,{sx:k},void 0,L)))};try{v.displayName="FormTextField"}catch(e){}var A=i(18923),y=i(79042),f=i(69770);const b=["text","onClick","variant","order","disabled","sx"],w=e=>{let{text:t,onClick:i,variant:a,order:l={},disabled:d,sx:c={width:{xs:"auto",sm:"auto"}}}=e,u=(0,n.A)(e,b);return(0,o.A)(f.Ay,{item:!0,xs:"auto",sm:"auto",sx:{order:l}},void 0,s.createElement(y.A,(0,r.A)({variant:a,onClick:i,disabled:d,fullWidth:!1,sx:c},u),t))};try{w.displayName="FormButton"}catch(e){}var x=i(91801);const C=({children:e})=>(0,o.A)(x.A,{},void 0,(0,o.A)(f.Ay,{container:!0,spacing:2,direction:{xs:"row",sm:"row"},justifyContent:"flex-end"},void 0,e));try{C.displayName="FormButtonBox"}catch(e){}var k,S,_=i(26823),N=i(25486),P=i(70259),T=i(60673),F=i(18262);const I={PaperProps:{style:{maxHeight:216,width:250}}},E=({name:e="timeZone"})=>{const{control:t}=(0,l.xW)(),i=(0,F.zt)();return(0,o.A)(x.A,{sx:{my:2}},void 0,(0,o.A)(c.A,{fullWidth:!0},void 0,k||(k=(0,o.A)(_.A,{id:"timezone-label"},void 0,"Time Zone")),(0,o.A)(l.xI,{name:e,control:t,render:({field:e})=>s.createElement(T.A,(0,r.A)({labelId:"timezone-label",id:"timezone-select"},e,{input:S||(S=(0,o.A)(P.A,{label:"Time Zone"})),MenuProps:I}),i.map(({label:e,value:t})=>(0,o.A)(N.A,{value:t},t,e)))})))};try{E.displayName="FormTimeZone"}catch(e){}var M=i(46123),O=i(70481),D=i(77123),R=i(84221);const L=({recaptchaSiteKey:e,recaptchaRef:t,onVerify:i})=>{const a=(0,l.xW)();return s.createElement(s.Fragment,null,s.createElement(D.A,{ref:t,sitekey:e,size:"invisible",onChange:e=>{a.setValue("recaptcha_token",e,{shouldValidate:!0}),i(e)},onErrored:()=>{a.setError("recaptcha_token",{type:"manual",message:"reCAPTCHA verification failed. Please try again."})}}),a.formState.errors.recaptcha_token&&(0,o.A)(R.A,{color:"error"},void 0,a.formState.errors.recaptcha_token.message))};try{L.displayName="FormRecaptcha"}catch(e){}var j;const q=["name","validation","label","onBlur","onChange","onFocus","size","fullWidth","helperText","registerOptions","children"];function B(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function z(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?B(Object(i),!0).forEach(function(t){(0,a.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):B(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const U=e=>{let{name:t,validation:i={},label:a,onBlur:d=null,onChange:m=null,onFocus:p=null,size:h="small",fullWidth:g=!0,helperText:v,registerOptions:A={},children:y=null}=e,f=(0,n.A)(e,q);const b=(0,l.xW)();if(!b)return(0,o.A)(c.A,{fullWidth:g,size:h},void 0,(0,o.A)(_.A,{},void 0,a),(0,o.A)(T.A,{label:a,disabled:!0},void 0,y),j||(j=(0,o.A)(u.A,{},void 0,"FormSelectField must be used within a FormWrapper.")));const{control:w,formState:{errors:x},clearErrors:C}=b,k=x[t]?x[t].message:v;return(0,o.A)(c.A,{fullWidth:g,error:!!x[t],size:h},void 0,(0,o.A)(_.A,{},void 0,a),(0,o.A)(l.xI,{name:t,control:w,rules:z(z({},i),A),render:({field:{onChange:e,onBlur:i,value:o,ref:n}})=>s.createElement(T.A,(0,r.A)({label:a,value:o??"",error:!!x[t],inputRef:n,onBlur:e=>{i(),d?.(e)},onChange:i=>{e(i),m?.(i),C(t)},onFocus:p},f),y)}),(0,o.A)(u.A,{},void 0,k))};try{U.displayName="FormSelectField"}catch(e){}},18457(e,t,i){i.d(t,{$M:()=>T,A4:()=>x,B4:()=>P,Co:()=>h,G:()=>b,HI:()=>d,Rj:()=>k,Tv:()=>S,Vr:()=>_,aj:()=>A,bM:()=>F,br:()=>n,c5:()=>g,do:()=>a,fY:()=>y,fq:()=>m,hB:()=>l,hJ:()=>w,lD:()=>f,q4:()=>u,qT:()=>C,rg:()=>r,tR:()=>N,tZ:()=>c,uG:()=>o,v1:()=>s,wy:()=>p,xM:()=>v});const o="users.balance_change",a="users.profile_image_change",r="realtime.has_unread_chat_messages",n="call_coming",s="cam_call_coming",l="call_failed",d="call_ready_for_reload",c="cam_call_accepted",u="cam_call_declined",m="webrtc_call_invalidate",p="cam_call_ended",h="conference_changed",g="realtime.new_message_for_recipient",v="call_status_change",A="listing_chat_status_change",y="listing_chat_presence_change",f="account_availability_settings_change",b="listing_call_status_change",w="listing_cam_status_change",x="app:new_app_version",C="TRIBUTE_RECEIVED",k="video_conference_billing_complete",
1S="video_conference_billing_failed",_="cam_exhaustion_at",N="mail.unread_count_changed",P="mail.system_count_changed",T="mail.delivery_complete",F="users.reset_web_subscription"},21624(e,t,i){i.d(t,{R:()=>a,z:()=>o});const o=e=>{switch(e.item_type){case"video":return{id:e.fm_item_id,src:e.large_url,thumb:e.thumbnail_url,poster:e.thumbnail_url,contentType:e.content_type,publicPreviewable:!0,type:e.item_type,fm_item_id:e.fm_item_id};case"image":return{id:e.fm_item_id,src:e.large_url,thumb:e.thumbnail_url,contentType:e.content_type,publicPreviewable:!0,type:e.item_type,fm_item_id:e.fm_item_id};case"audio":return{id:e.fm_item_id,src:e.large_url,thumb:e.thumbnail_url,preview:e.thumbnail_url,type:e.item_type,fm_item_id:e.fm_item_id};default:return console.warn(`unrecognized media type ${e.item_type}`),null}},a=e=>{switch(e.item_type){case"video":return{id:e.id,src:e.large_url,thumb:e.thumbnail_url,poster:e.thumbnail_url,previewUrls:e.preview_urls,contentType:e.content_type,publicPreviewable:e.public_previewable,type:e.item_type};case"image":return{id:e.id,src:e.large_url,thumb:e.thumbnail_url,contentType:e.content_type,publicPreviewable:e.public_previewable,type:e.item_type};case"audio":return{id:e.id,src:e.large_url,thumb:e.thumbnail_url,preview:e.thumbnail_url,type:e.item_type};default:return{id:e.id,type:e.item_type}}}},28933(e,t,i){i.d(t,{ZS:()=>p,u:()=>m});var o=i(2370),a=i(28290),r=i(35504);const n=e=>String(e).toUpperCase(),s=e=>r.Ay.endpoints.getAppConfig.select()(e)?.data,l=e=>s(e)?.feature_flags||{},d=e=>t=>!!l(t)[n(e)],c=e=>!!s(e),u=new Set,m=(e,{pending:t=!1}={})=>{const i=n(e),r=(0,a.d4)(c),s=(0,a.d4)(d(e));return(0,o.useEffect)(()=>{r&&!u.has(i)&&window.clarity&&(u.add(i),window.clarity("set",`featureFlag_${i}`,String(s)))},[i,s,r]),!(r||!t)||s},p=(e,{defaultValue:t=null}={})=>{const i=(0,a.d4)(c),o=(0,a.d4)(((e,t=null)=>i=>{const o=l(i),a=n(e);return Object.prototype.hasOwnProperty.call(o,a)?o[a]:t})(e,t));return i?o:t}},35504(e,t,i){i.d(t,{$F:()=>Et,$g:()=>Xt,AP:()=>rt,Ay:()=>R,BC:()=>De,BD:()=>Z,BJ:()=>ri,Cf:()=>Tt,DR:()=>Q,Do:()=>At,EF:()=>H,EP:()=>ut,FD:()=>X,FN:()=>Wt,G4:()=>x,GJ:()=>dt,GY:()=>Oe,H7:()=>Ut,HM:()=>Pt,Hq:()=>st,I0:()=>qt,J2:()=>G,JP:()=>K,Jo:()=>z,Jt:()=>de,KO:()=>U,KR:()=>we,K_:()=>$,Le:()=>Bt,Lh:()=>se,Ll:()=>ct,Ly:()=>Y,MI:()=>y,MR:()=>Dt,Mh:()=>Gt,N:()=>Kt,N$:()=>ee,N0:()=>be,NT:()=>Ft,Oy:()=>Ze,P8:()=>L,Qd:()=>Ge,Qt:()=>Ke,Rk:()=>jt,S8:()=>bt,Ti:()=>_e,Ty:()=>ke,UH:()=>ae,UK:()=>mt,UR:()=>j,Uf:()=>pt,VS:()=>$t,VV:()=>tt,Vh:()=>te,Vi:()=>ni,Vo:()=>Xe,Vz:()=>ht,W$:()=>ye,WL:()=>fe,Wq:()=>B,XK:()=>Be,XR:()=>si,Xh:()=>f,Xx:()=>di,Y3:()=>Lt,Yx:()=>Qt,ZZ:()=>ne,Zj:()=>Le,Zz:()=>Qe,_$:()=>lt,aR:()=>Nt,as:()=>q,at:()=>wt,ax:()=>It,bM:()=>Te,bc:()=>T,bd:()=>xe,bj:()=>$e,cN:()=>Mt,dU:()=>nt,dV:()=>Ve,db:()=>We,ee:()=>yt,ft:()=>Ie,h$:()=>Rt,hK:()=>ve,hn:()=>it,i$:()=>Ye,i0:()=>Ae,iq:()=>Ee,j7:()=>Je,jH:()=>Ht,ji:()=>ce,jo:()=>Pe,m2:()=>li,m9:()=>W,mI:()=>Yt,mX:()=>V,mr:()=>J,n:()=>he,nk:()=>ge,oz:()=>oe,pp:()=>xt,qW:()=>Fe,ql:()=>je,qq:()=>He,rO:()=>pe,rr:()=>Vt,rw:()=>Me,sh:()=>ue,tD:()=>Ot,ue:()=>re,vf:()=>vt,vw:()=>le,wJ:()=>ze,wf:()=>_t,wl:()=>Ce,wo:()=>Ue,x_:()=>Re,yG:()=>me,yM:()=>Ne,yP:()=>b,yU:()=>at,yd:()=>et,yh:()=>zt,z5:()=>Se,zN:()=>ie,zP:()=>St,zg:()=>ai});var o=i(60749),a=i(98218),r=i(2820),n=i(76469),s=i(31528),l=i(80497),d=i(80057),c=i(52515),u=i(55919);function m(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function p(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?m(Object(i),!0).forEach(function(t){(0,o.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):m(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const h="User",g="Phones",v="ActiveTributesForAdvisor",A="AdvisorDashboardWidget",y="AdvisorListings",f="Availability",b="ChatProfile",w="Feedback",x="Listing",C="MyTributes",k="RecordedName",S="HasSecondaryAuth",_="SocialMediaConnections",N="SocialMediaEventTemplates",P="FlirtAccountSetup",T="UnreadMailCount",F="TaggedListings",I="TaggedListingsVocabulary",E="SpecialtyBids",M="TaggedListingsDismissals",O=async({getState:e,queryFulfilled:t,updateCachedData:i},o)=>{const a=Date.now();try{await t}catch{return}const r=e().balanceAuthority;!r||null==r.value||r.receivedAt<=a||i(e=>{e&&o(e,r.value)})},D=(0,a.xP)({reducerPath:"main",baseQuery:(0,r.cw)({prepareHeaders:c.q,baseUrl:"/client_api"}),endpoints:e=>({getAppConfig:e.query({providesTags:[d.m4],query:()=>"/app_config",transformResponse:n.A,onQueryStarted:(e,t)=>O(t,(e,t)=>{e.available_balance=t,e.availableBalance=t})}),getPromoOffers:e.query({providesTags:[d.Vu],query:e=>`/promo_offers?scenario=${e.map(encodeURIComponent).join(",")}`,transformResponse:e=>(0,n.A)(e)?.promoOffers??[]}),getAvailableBalance:e.query({providesTags:[d.yE],query:e=>p({url:"/available_balance"},e?.poll&&{headers:{"X-No-Activity-Track":"1"}}),serializeQueryArgs:({endpointName:e})=>e,onQueryStarted:(e,t)=>O(t,(e,t)=>{e.available_balance=t})}),getTaggedListings:e.query({providesTags:[F],query:()=>"/tagged_listings/listings",transformResponse:n.A}),getTaggedListingsVocabulary:e.query({providesTags:[I],query:()=>"/tagged_listings/vocabularies",transformResponse:n.A}),getSpecialtyBranch:e.query({query:e=>`/specialties/${e}`,transformResponse:n.A}),getSpecialtyLaneListings:e.query({query:({gender:e,slug:t,connectionType:i,sort:o,page:a})=>`/specialties/${e}/${t}/listings?connection_type=${i}&sort=${o}&page=${a}`,transformResponse:n.A}),approveTaggedListing:e.mutation({invalidatesTags:[F],query:({listingId:e,slugs:t})=>({url:`/tagged_listings/listings/${e}/approval`,method:"POST",body:t?{slugs:t}:{}})}),addTaggedListingSpecialty:e.mutation({invalidatesTags:[F],query:({listingId:e,slug:t})=>({url:`/tagged_listings/listings/${e}/specialties`,method:"POST",body:{slug:t}})}),removeTaggedListingSpecialty:e.mutation({invalidatesTags:[F],query:({listingId:e,slug:t})=>({url:`/tagged_listings/listings/${e}/specialties/${t}`,method:"DELETE"})}),moveTaggedListingSpecialty:e.mutation({invalidatesTags:[F],query:({fromListingId:e,toListingId:t,slug:i})=>({url:"/tagged_listings/specialty_moves",method:"POST",body:{from_listing_id:e,to_listing_id:t,slug:i}})}),archiveTaggedListings:e.mutation({invalidatesTags:[F],query:e=>({url:"/tagged_listings/archives",method:"POST",body:{listing_ids:e}})}),restoreTaggedListings:e.mutation({invalidatesTags:[F],query:e=>({url:"/tagged_listings/restores",method:"POST",body:{listing_ids:e}})}),updateTaggedListingsProfileTraits:e.mutation({invalidatesTags:[I],query:({slugs:e,tagline:t})=>({url:"/tagged_listings/profile_traits",method:"PUT",body:{slugs:e,tagline:t}})}),getSpecialtyBids:e.query({providesTags:[E],query:()=>"/specialty_bidding/bids",transformResponse:n.A}),getAuctionPreview:e.query({query:()=>"/specialty_auction/previews",transformResponse:n.A}),getAuctionPreviewSpecialty:e.query({query:e=>`/specialty_auction/previews/${e}`,transformResponse:n.A}),placeSpecialtyBid:e.mutation({invalidatesTags:[E],query:({listingId:e,slug:t,maxBid:i,budget:o})=>({url:`/specialty_bidding/listings/${e}/bids/${t}`,method:"PUT",body:{max_bid:i,budget:o}})}),cancelSpecialtyBid:e.mutation({invalidatesTags:[E],query:({listingId:e,slug:t})=>({url:`/specialty_bidding/listings/${e}/bids/${t}`,method:"DELETE"})}),getTaggedListingsDismissals:e.query({providesTags:[M],query:()=>"/tagged_listings/dismissals",transformResponse:n.A}),dismissTaggedListingsNotice:e.mutation({invalidatesTags:[M],query:e=>({url:`/tagged_listings/dismissals/${e}`,method:"PUT"})}),getBlacklistedWords:e.query({query:()=>"/blacklisted_words",transformResponse:n.A}),acceptLegalLiability:e.mutation({invalidatesTags:[d.m4],query:()=>({url:"/legal_liability_acceptance",method:"POST"})}),acceptTos:e.mutation({invalidatesTags:[d.m4],query:()=>({url:"/tos_acceptance",method:"POST"})}),getUser:e.query({providesTags:[h],query:e=>p({url:"/user"},e?.poll&&{headers:{"X-No-Activity-Track":"1"}}),serializeQueryArgs:({endpointName:e})=>e}),getNewUser:e.query({providesTags:[h],query:()=>"/user/new"}),getPasswordReset:e.query({query:({id:e,token:t})=>`/password_reset?id=${e}&token=${t}`}),createPasswordReset:e.mutation({query:({email:e,recaptcha_token:t})=>({url:"/password_reset",method:"POST",body:{email:e,"g-recaptcha-response":t}})}),updatePasswordReset:e.mutation({invalidatesTags:[d.m4,h],query:({id:e,token:t,password:i,password_confirmation:o,captchaToken:a})=>({url:"/password_reset",method:"PATCH",body:{id:e,token:t,user:{password:i,password_confirmation:o},"g-recaptcha-response":a}})}),performLogin:e.mutation({invalidatesTags:[d.m4],query:({login:e,password:t,additionalParams:i={}})=>({url:"/login",method:"POST",body:p({type:"web",login:e,password:t},i)})}),performPhoneLogin:e.mutation({invalidatesTags:[d.m4],query:({login:e,password:t,additionalParams:i={}})=>({url:"/login",method:"POST",body:p({type:"phone",digits:e,password:t},i)})}),performForgotPinLogin:e.mutation({invalidatesTags:[d.m4],query:({phoneNumber:e,creditCard:t,zip:i,additionalParams:o={}})=>({url:"/login",method:"POST",body:p({type:"forgot_pin",digits:e,cc_last_6:t,billing_zip:i},o)})}),getUsernameAvailable:e.query({query:({login:e})=>({url:`/username/${e}`,method:"GET"})}),updateUser:e.mutation({invalidatesTags:[h,d.m4],query:e=>({url:"/user",method:"PATCH",body:{user:e}})}),createUser:e.mutation({invalidatesTags:[h],query:({user:e,additionalParams:t={}})=>({url:"/user",method:"POST",body:p({user:e},t)})}),createFlirtUser:e.mutation({invalidatesTags:[h],query:({user:e,additionalParams:t={}})=>({url:"/user",method:"POST",body:p(p({user:e},t),{},{flirt_signup:!0})})}),getAdvisor:e.query({providesTags:e=>e?[{type:d.sl,id:e.id}]:[],query:({login:e})=>`/advisors/${e}`,transformResponse:n.A}),getAdvisorDashboardWidgets:e.query({providesTags:[A],query:()=>"/advisor_dashboard_widgets",transformResponse:n.A}),bulkUpdateAdvisorDashboardWidgets:e.mutation({invalidatesTags:[A],query:e=>({url:"/advisor_dashboard_widgets",method:"PATCH",body:{widgets:e}}),transformResponse:n.A}),updateShowMemberSince:e.mutation({invalidatesTags:e=>e?[{type:d.sl,id:e.advisorId}]:[],query:({advisorLogin:e,toggleValue:t})=>({url:`/advisors/${e}/user_detail`,method:"PUT",body:{user_detail:{show_member_since:t}}})}),getAdvisors:e.query({query:({ids:e})=>`/advisors?ids=${e.join(",")}`}),getChatUsers:e.query({query:({ids:e})=>({url:"/chat_users",method:"GET",params:{ids:e}})}),searchAdvisors:e.query({query:({searchString:e,gender:t})=>`/advisor_search?s=${e}&gender=${t}`}),getFlirtAccountSetup:e.query({providesTags:[P],query:()=>"/flirt_account_setup"}),updateFlirtAccountSetup:e.mutation({invalidatesTags:[P],query:({cancel:e}={})=>({url:"/flirt_account_setup",method:"PATCH",body:{cancel:e}})}
1),createBonus:e.mutation({query:({amount:e,message:t,listingId:i,fromNfChat:o,fromCam:a,videoConferenceId:r})=>({url:"/bonuses",method:"POST",body:{amount_text:e,listing_id:i,bonus_message:t,from_nf_chat:o,from_cam:a,video_conference_id:r}})}),getPaymentButtons:e.query({providesTags:(e,t,i)=>e?["PaymentButtonsTag"]:[],query:({sort:e=null}={})=>e?`/payment_buttons?sort=${e}`:"/payment_buttons"}),performReportContent:e.mutation({query:({contentId:e,contentType:t,description:i})=>({method:"POST",url:"/report_contents",body:{report_content:{content_id:e,content_type:t,description:i}}})}),getChatProfile:e.query({providesTags:(e,t,{login:i})=>[{type:b,id:i.toLowerCase()}],query:({login:e})=>`advisors/${e}/chat_profile`}),chatProfileSearch:e.mutation({query:e=>{const t=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,Array.isArray(t)?t.join(","):t])),i=Object.fromEntries(Object.entries(t).filter(([e,t])=>""!==t&&("text"!==e||t.length>=3)));return{url:`chat_profile_search?${new URLSearchParams(i).toString()}`,method:"GET"}}}),getSocialMediaConnections:e.query({providesTags:[_],query:()=>"social_media/connections"}),destroySocialMediaConnection:e.mutation({invalidatesTags:[_,N],query:({id:e})=>({url:`/social_media/connections/${e}`,method:"DELETE"})}),getSocialMediaEventTemplates:e.query({providesTags:()=>[{type:N}],query:()=>"/social_media/event_templates"}),updateSocialMediaEventTemplates:e.mutation({invalidatesTags:(e,t,i)=>e&&!t?[N]:[],query:e=>({url:"/social_media/event_templates",method:"PATCH",body:e})}),createSocialMediaManualShout:e.mutation({query:({manualShout:e})=>({url:"/social_media/manual_shouts",method:"POST",body:e,headers:{"Content-Type":"application/json"}})}),getMailboxUnreadCounts:e.query({providesTags:[T],query:()=>"mailbox_unread_counts",transformResponse:n.A}),updateAvailability:e.mutation({invalidatesTags:[f,d.m4],query:({availability:e,silent:t})=>({url:"/availabilities",method:"PATCH",headers:{"Content-Type":"application/json"},body:{silent:t,availability:Object.entries(e).reduce((e,[t,i])=>{const o=t.replace(/([A-Z])/g,"_$1").toLowerCase();return void 0!==i&&(e[o]=i),e},{})}})}),getAvailability:e.query({providesTags:[f],query:()=>"/availabilities",transformResponse:n.A}),createPhoneVerification:e.mutation({query:({phoneId:e})=>({url:`/phone/${e}/phone_verifications`,method:"POST",body:""})}),verifyPhone:e.mutation({invalidatesTags:[f],query:({phoneId:e,code:t})=>({url:`/phone/${e}/phone_verifications/${t}`,method:"PATCH",body:""})}),getCountries:e.query({query:(e="phone")=>`/countries?format=${e}`}),getStates:e.query({query:e=>`/countries/${e}/states`}),getPhones:e.query({query:()=>"/phone",providesTags:[g]}),createPhone:e.mutation({invalidatesTags:[f,g,d.m4],query:({digits:e,phoneType:t,defaultPhoneType:i})=>({url:"/phone",method:"POST",headers:{"Content-Type":"application/json"},body:{digits:e,phone_type:t,default_phone:i}})}),deletePhone:e.mutation({invalidatesTags:[f,d.m4],query:e=>({url:`/phone/${e}`,method:"DELETE"})}),getAdvisorListings:e.query({providesTags:(e,t,{login:i})=>[{type:y,id:i.toLowerCase()}],query:({login:e,showAll:t})=>{const i=new URL(`advisors/${e}/listings`,window.location.origin);return void 0!==t&&i.searchParams.set("show_all",!0===t),i.pathname+i.search}}),getAllAdvisorListings:e.query({providesTags:(e,t,{login:i})=>[{type:y,id:i.toLowerCase()}],query:({login:e})=>({url:`/advisors/${e}/listings?mail=true`})}),getListing:e.query({providesTags:(e,t,{id:i})=>t?null:[{type:x,id:i},{type:y,id:e.login.toLowerCase()}],query:({id:e})=>({url:`/listings/${e}`}),transformResponse:n.A}),getListingFeedbacks:e.query({query:({id:e,commentSort:t,page:i})=>({url:`/listings/${e}/feedbacks?comment_sort=${t}&page=${i}`}),transformResponse:n.A}),getSecondaryAuth:e.query({providesTags:[S],query:()=>"secondary_auth"}),createSecondaryAuth:e.mutation({invalidatesTags:[S,f],query:({password:e})=>({url:"secondary_auth.json",body:{password:e},method:"POST"})}),getFavoriteListings:e.query({providesTags:(e,t,{page:i})=>[{type:d.mk,id:i}],query:({sort:e,page:t})=>({url:`/favorite_listings?sort=${e||"1"}&page=${t||1}`}),transformResponse:n.A}),favoriteListing:e.mutation({invalidatesTags:(e,t,i)=>[{type:x,id:i.listing}],query:({listing:e})=>({url:"/favorite_listings",params:{listing_id:e},method:"POST"})}),updateFavoriteListing:e.mutation({query:({id:e,position:t,visual_rank:i})=>({url:`/favorite_listings/${e}`,method:"PATCH",body:void 0!==i?{favorite_listing:{visual_rank:i}}:{position:t}}),invalidatesTags:[d.mk]}),removeFavoriteListings:e.mutation({query:({listings:e})=>({url:"/favorite_listings/bulk_destroy",method:"DELETE",body:{listing_ids:e}}),invalidatesTags:(e,t,{listings:i})=>[...i.map(e=>({type:x,id:e})),d.mk]}),advisorHomepage:e.query({query:({login:e,fromHost:t})=>t?`advisors/${e}/homepage?from_host=${t}`:`advisors/${e}/homepage`}),setGender:e.mutation({query:({flirtGender:e,preferredGender:t})=>({url:"/user_genders",method:"POST",body:{flirt_gender:e,preferred_gender:t}})}),getFeedbacks:e.query({providesTags:[w],query:()=>({url:"/feedbacks.json"})}),getConferenceFeedback:e.query({query:({conferenceId:e})=>({url:`/conference_feedbacks/${e}.json`})}),getNewFeedback:e.query({query:({objectType:e,objectId:t})=>{if(null==e||null==t)throw new Error("getNewFeedback query called with undefined or null parameters");return{url:`/feedbacks/new.json?object_type=${e}&object_id=${t}`}},providesTags:(e,t,{objectType:i,objectId:o})=>[{type:w,id:`${i}-${o}`}]}),upsertFeedback:e.mutation({query:({id:e,feedbackAndCallQualityData:t})=>({url:`/feedbacks/${e}`,method:e?"PATCH":"POST",body:t}),invalidatesTags:(e,t,{feedbackAndCallQualityData:i})=>{const o=i.feedback.object_type,a=i.feedback.object_id;return[{type:w,id:`${o}-${a}`},{type:w}]}}),getFileManagerToken:e.query({query:()=>"file_manager_token"}),getPubNubConfig:e.query({providesTags:["PubNubConfig"],query:()=>"pubnub_config"}),getRecordedName:e.query({providesTags:[k],query:()=>"recorded_name"}),uploadRecordedName:e.mutation({invalidatesTags:[k],query:e=>({url:"recorded_name",method:"POST",body:e,formData:!0})}),createRecurringMonetaryTribute:e.mutation({invalidatesTags:[v,C,d.yE],query:({advisorId:e,rate:t,message:i,fromNfChat:o})=>({url:"/recurring_tributes/monetary_tributes",method:"POST",body:{recurring_monetary_tribute:{advisor_id:e,message:i,rate:t,from_nf_chat:o}}})}),updateRecurringMonetaryTribute:e.mutation({invalidatesTags:[v,C],query:({advisorId:e,rate:t,message:i,parentMonetaryTributeId:o,fromNfChat:a})=>({url:"/recurring_tributes/monetary_tributes",method:"PUT",body:{recurring_monetary_tribute:{rate:t,message:i,advisor_id:e,parent_monetary_tribute_id:o,from_nf_chat:a}}})}),destroyRecurringMonetaryTribute:e.mutation({invalidatesTags:[v,C],query:({advisorId:e})=>({url:"/recurring_tributes/monetary_tributes",method:"DELETE",body:{recurring_monetary_tribute:{advisor_id:e}}})}),getActiveTributesForAdvisor:e.query({providesTags:[v],query:({advisorLogin:e})=>({url:"/recurring_tributes/active_tributes_for_advisor",method:"POST",body:{advisor_login:e}}),transformResponse:n.A}),getMyPackages:e.query({providesTags:(e,t,i)=>e?[d.Fx]:[],query:()=>"recurring_tributes/packages",transformResponse:n.A}),getPackageManagement:e.query({providesTags:(e,t,i)=>e?[d.Fx]:[],query:()=>"recurring_tributes/package_management",transformResponse:n.A}),getMyTributes:e.query({providesTags:(e,t,i)=>e?[C]:[],query:({filter:e})=>`/recurring_tributes/tributes?filter=${e}`,transformResponse:n.A}),getPackage:e.query({query:({id:e})=>({url:`/recurring_tributes/packages/${e}`}),transformResponse:n.A}),getAdvisorPackage:e.query({query:({advisorLogin:e,id:t})=>({url:`/advisors/${e}/packages/${t}`}),transformResponse:n.A}),getPublicPackagesForAdvisors:e.query({providesTags:["ActivePackagesForAdvisor"],query:({advisorIds:e})=>({url:"recurring_tributes/public_packages_for_advisors",method:"POST",body:{advisor_ids:e}}),transformResponse:n.A}),createRecurringPackageSubscription:e.mutation({invalidatesTags:(e,t,i)=>
1{if(e){const{dispatchInvalidateCacheTagsEvent:e}=(0,u.A)();return e({tags:[d.q8,d.Ao,d._Z,{type:d.OS,id:i.advisorId},{type:d.F7,id:`advisor-${i.advisorId}`}],api:"feedsApi"}),[v,C]}return!1},query:({advisorId:e,packageId:t})=>({url:"/recurring_tributes/package_subscriptions",method:"POST",body:{recurring_package_subscription:{advisor_id:e,package_id:t}}})}),updateRecurringPackageSubscription:e.mutation({invalidatesTags:(e,t,i)=>{if(e){const{dispatchInvalidateCacheTagsEvent:e}=(0,u.A)();e({tags:[d.q8,d.Ao,d._Z,{type:d.OS,id:i.advisorId},{type:d.F7,id:`advisor-${i.advisorId}`}],api:"feedsApi"})}return[v,C]},query:({advisorId:e,packageId:t,precedingPackageSubscriptionId:i,action:o})=>({url:"/recurring_tributes/package_subscriptions",method:"PUT",body:{recurring_package_subscription:{advisor_id:e,package_id:t,preceding_package_subscription_id:i,action:o}}})}),destroyRecurringPackageSubscription:e.mutation({invalidatesTags:[v,C],query:({advisorId:e})=>({url:"/recurring_tributes/package_subscriptions",method:"DELETE",body:{recurring_package_subscription:{advisor_id:e}}})}),createPackage:e.mutation({invalidatesTags:[d.Fx,d.m4],query:({status:e,rate:t,feedAccess:i,freeMinutes:o,freeVolleys:a,callsPerSessionAmount:r,callsLimitByPeriod:n,callsPerPeriodAmount:s,volleysPerPeriodAmount:l})=>({url:"/recurring_tributes/packages",method:"POST",body:{rate:t,status:e,feed_access:i,free_minutes:o,free_volleys:a,calls_per_session_amount:r,calls_limit_by_period:n,calls_per_period_amount:s,volleys_per_period_amount:l}})}),updatePackage:e.mutation({invalidatesTags:[d.Fx],query:({id:e,status:t})=>({url:`/recurring_tributes/packages/${e}`,method:"PATCH",body:{id:e,status:t}})}),destroyPackage:e.mutation({invalidatesTags:[d.Fx],query:({id:e})=>({url:`/recurring_tributes/packages/${e}`,method:"DELETE"})}),getGoodyBagOwner:e.query({query:({advisorId:e})=>`/goody_bag_owners/${e}`,providesTags:e=>e?[{type:d.sl,id:e.id}]:[]}),getGoodyBagsForCurrentUser:e.query({providesTags:(e,t,i)=>e?["GoodyBagsTag"]:[],query:({sort:e=null}={})=>e?`/goody_bags?sort=${e}`:"/goody_bags"}),getGoodyBagsPresence:e.query({providesTags:(e,t,i)=>e?["GoodyBagsPresenceTag"]:[],query:({login:e})=>`/advisors/${e}/goody_bags_presence`}),getPersonalizedGoodyBags:e.query({providesTags:["PersonalizedGoodyBagsTag"],query:e=>({url:"/personalized_goody_bags",method:"GET",params:e})}),getHomepageListings:e.query({query:({page:e})=>`/homepage_listings?page=${e}`,transformResponse:n.A}),getCategoryListings:e.query({query:({category:e,page:t,listingType:i,sort:o,decisionScreen:a,cursor:r})=>{let n=`/categories/${e}?page=${t}&type=${i}&sort=${o}`;return a&&(n=`${n}&decision_screen=${a}`),r&&(n=`${n}&cursor=${encodeURIComponent(r)}`),n},transformResponse:n.A}),getCallListing:e.query({query:({id:e})=>`/call_listings/${e}`,providesTags:e=>e?[{type:y,id:e.login.toLowerCase()}]:[]}),getTopLevelCategories:e.query({query:()=>"/top_level_categories"}),getListingSearchResults:e.query({query:({searchQueryText:e=null,advancedSearch:t=null,filters:i=[],categoryId:o=null,limitToAvailable:a=null,sort:r=null,type:n=null,page:s=0})=>{let d=i;a&&(d=[...i,"available"]);const c=(e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>null!=t&&!(Array.isArray(t)&&0===t.length))))({text:e,category_id:o,advanced_search:t,"filters[]":d,limit_to_available:a,sort:r,type:n,page:s}),u=(0,l.A)(c),m=new URLSearchParams;Object.entries(p(p({},c),{},{s:u})).forEach(([e,t])=>{Array.isArray(t)?t.forEach(t=>m.append(e,t)):m.append(e,t)});return{url:`/search?${m.toString()}`}}}),getCallSystemStatus:e.query({query:()=>"/call_system_status"}),getCallStatus:e.query({query:e=>{const t={fake_status:e.fakeStatus,call_type:e.callType,timestamp:e.timestamp,conference_id:e.conferenceId},i=Object.keys(t).filter(e=>void 0!==t[e]).filter(e=>null!==t[e]).map(e=>`${e}=${t[e]}`).join("&");return p({url:`/listings/${e.listingId}/calls/${e.ngtoken}?${i}`,method:"GET"},e?.poll&&{headers:{"X-No-Activity-Track":"1"}})},transformResponse:n.A}),getIncomingCall:e.query({query:()=>"/calls/incoming",transformResponse:e=>e?(0,n.A)(e):null}),createCall:e.mutation({query:e=>({url:`/listings/${e.listingId}/calls`,method:"POST",body:(0,s.A)({listing_id:e.listingId,data:e.data,signal:e.signal,selected_phone:e.selectedPhone,fake_status:e.fakeStatus,call_type:e.callType}),transformResponse:n.A})}),createViewImpressions:e.mutation({query:({viewImpressionsToken:e})=>({url:"/view_impressions",method:"POST",body:{view_impressions:{token:e}}})}),createFeaturedListingClick:e.mutation({query:({listingId:e,context:t,listingIndex:i,listingLayout:o})=>({url:"/click_impressions",method:"POST",body:{click_impression:{listing_id:e,context:t,listing_index:i,listings_layout:o}}})}),getCaptchaStatus:e.query({query:e=>({url:`/captcha_status?type=${e}`,method:"GET"}),transformResponse:n.A}),getHero:e.query({query:()=>"/hero",transformResponse:n.A}),getNotification:e.query({query:()=>"/notification"}),hideNotification:e.mutation({query:({code:e})=>({url:"/notification",method:"PATCH",body:{code:e}})}),getCookiesConsent:e.query({query:e=>e?`/cookies_consent?user_id=${e}
1`:"/cookies_consent",transformResponse:n.A}),createCookiesConsent:e.mutation({query:()=>({url:"/cookies_consent",method:"POST"})}),getCustomerLists:e.query({query:()=>"/customer_lists",transformResponse:n.A}),hideChatPreferencesBanner:e.mutation({query:()=>({url:"/hide_chat_preferences_banner",method:"POST"})}),dismissUserNotification:e.mutation({query:e=>({url:`/user_notifications/${e}`,method:"PATCH"})})})}),R=D,{useAcceptLegalLiabilityMutation:L,useAddTaggedListingSpecialtyMutation:j,useApproveTaggedListingMutation:q,useGetSpecialtyBranchQuery:B,useGetSpecialtyLaneListingsQuery:z,useArchiveTaggedListingsMutation:U,useRestoreTaggedListingsMutation:$,useDismissTaggedListingsNoticeMutation:W,useGetTaggedListingsDismissalsQuery:G,useGetSpecialtyBidsQuery:H,usePlaceSpecialtyBidMutation:Y,useCancelSpecialtyBidMutation:V,useGetAuctionPreviewQuery:Q,useGetAuctionPreviewSpecialtyQuery:Z,useGetTaggedListingsQuery:K,useGetTaggedListingsVocabularyQuery:X,useMoveTaggedListingSpecialtyMutation:J,useRemoveTaggedListingSpecialtyMutation:ee,useUpdateTaggedListingsProfileTraitsMutation:te,useAcceptTosMutation:ie,useAdvisorHomepageQuery:oe,useChatProfileSearchMutation:ae,useCreateBonusMutation:re,useCreateCallMutation:ne,useCreateFeaturedListingClickMutation:se,useCreateFlirtUserMutation:le,useCreatePackageMutation:de,useCreatePhoneMutation:ce,useCreatePhoneVerificationMutation:ue,useCreateRecurringMonetaryTributeMutation:me,useCreateRecurringPackageSubscriptionMutation:pe,useCreateSecondaryAuthMutation:he,useCreateSocialMediaManualShoutMutation:ge,useBulkUpdateAdvisorDashboardWidgetsMutation:ve,useCreateUserMutation:Ae,useCreateViewImpressionsMutation:ye,useDeletePhoneMutation:fe,useDestroyPackageMutation:be,useDestroyRecurringMonetaryTributeMutation:we,useDestroyRecurringPackageSubscriptionMutation:xe,useDestroySocialMediaConnectionMutation:Ce,useFavoriteListingMutation:ke,useGetActiveTributesForAdvisorQuery:Se,useGetAdvisorListingsQuery:_e,useGetAdvisorQuery:Ne,useGetAdvisorsQuery:Pe,useGetAdvisorDashboardWidgetsQuery:Te,useGetAllAdvisorListingsQuery:Fe,useGetBlacklistedWordsQuery:Ie,useGetCaptchaStatusQuery:Ee,useGetCategoryListingsQuery:Me,useGetCallListingQuery:Oe,useGetCallSystemStatusQuery:De,useGetChatProfileQuery:Re,useGetConferenceFeedbackQuery:Le,useGetCountriesQuery:je,useGetCustomerListsQuery:qe,useGetFavoriteListingsQuery:Be,useGetFeedbacksQuery:ze,useGetFileManagerTokenQuery:Ue,useGetFlirtAccountSetupQuery:$e,useGetGoodyBagOwnerQuery:We,useGetHeroQuery:Ge,useGetGoodyBagsForCurrentUserQuery:He,useGetGoodyBagsPresenceQuery:Ye,useGetPersonalizedGoodyBagsQuery:Ve,useGetHomepageListingsQuery:Qe,useGetListingFeedbacksQuery:Ze,useGetListingQuery:Ke,useGetMyPackagesQuery:Xe,useGetPackageManagementQuery:Je,useGetMyTributesQuery:et,useGetNewFeedbackQuery:tt,useGetNewUserQuery:it,useGetPackageQuery:ot,useGetAdvisorPackageQuery:at,useGetPasswordResetQuery:rt,useGetPaymentButtonsQuery:nt,useGetPhonesQuery:st,useGetPubNubConfigQuery:lt,useGetPublicPackagesForAdvisorsQuery:dt,useGetRecordedNameQuery:ct,useGetSecondaryAuthQuery:ut,useGetSocialMediaConnectionsQuery:mt,useGetPromoOffersQuery:pt,useGetSocialMediaEventTemplatesQuery:ht,useGetTopLevelCategoriesQuery:gt,useGetUserQuery:vt,useLazyGetAdvisorQuery:At,useLazyGetCallStatusQuery:yt,useLazyGetGoodyBagsPresenceQuery:ft,useLazyGetListingSearchResultsQuery:bt,useLazyGetListingQuery:wt,useLazyGetUsernameAvailableQuery:xt,useLazyGetChatUsersQuery:Ct,useLazyGetListingFeedbacksQuery:kt,usePerformForgotPinLoginMutation:St,usePerformLoginMutation:_t,usePerformPhoneLoginMutation:Nt,usePerformReportContentMutation:Pt,useRemoveFavoriteListingsMutation:Tt,useSearchAdvisorsQuery:Ft,useSetGenderMutation:It,useUpdateAvailabilityMutation:Et,useUpdateFavoriteListingMutation:Mt,useUpdateFlirtAccountSetupMutation:Ot,useUpdatePackageMutation:Dt,useCreatePasswordResetMutation:Rt,useUpdatePasswordResetMutation:Lt,useUpdateRecurringMonetaryTributeMutation:jt,useUpdateRecurringPackageSubscriptionMutation:qt,useUpdateShowMemberSinceMutation:Bt,useUpdateSocialMediaEventTemplatesMutation:zt,useUpdateUserMutation:Ut,useUploadRecordedNameMutation:$t,useUpsertFeedbackMutation:Wt,useVerifyPhoneMutation:Gt,useGetNotificationQuery:Ht,useHideNotificationMutation:Yt,useGetCookiesConsentQuery:Vt,useCreateCookiesConsentMutation:Qt,useGetCamQuery:Zt,useHideChatPreferencesBannerMutation:Kt,useDismissUserNotificationMutation:Xt}=D,{useGetAppConfigQuery:Jt,useGetAvailabilityQuery:ei,useGetAvailableBalanceQuery:ti,useGetMailboxUnreadCountsQuery:ii,useGetIncomingCallQuery:oi}=D,ai=(e,t)=>Jt(e,p({refetchOnFocus:!0,refetchOnReconnect:!0},t)),ri=(e,t)=>ti(e,p({refetchOnFocus:!0,refetchOnReconnect:!0},t)),ni=(e,t)=>ii(e,p({refetchOnFocus:!0,refetchOnReconnect:!0},t)),si=(e,t)=>ei(e,p({refetchOnReconnect:!0},t)),li=(e,t)=>oi(e,p(p({},t),{},{refetchOnReconnect:!0,refetchOnFocus:!1})),{invalidateTags:di}=D.util},40292(e,t,i){i.d(t,{A5:()=>I,Ab:()=>k,Ay:()=>c,Fo:()=>x,Gn:()=>S,Gr:()=>v,IW:()=>h,JX:()=>_,V:()=>g,Wd:()=>b,Yt:()=>A,bk:()=>f,cT:()=>p,cw:()=>y,iB:()=>m,jU:()=>w,mg:()=>N,oQ:()=>P,pX:()=>u,sW:()=>F,xp:()=>T,zp:()=>C});var o=i(59079),a=i(98218),r=i(2820),n=i(76469),s=i(80057);const l=["suppressSnackbar"],d=(0,a.xP)({reducerPath:"customersApi",baseQuery:(0,r.cw)({baseUrl:"/client_api/customers"}),tagTypes:[s.bX,s.WS],endpoints:e=>({assignTags:e.mutation({invalidatesTags:(e,t,i)=>[...Array.isArray(i.seekerIds)?i.seekerIds.map(e=>({type:s.yr,id:e})):[],s.WS],query:e=>({url:"/tags",method:"POST",body:e})}),createBlock:e.mutation({query:e=>({url:"/blockings",method:"POST",body:e}),invalidatesTags:(e,t,{ids:i})=>i.map(e=>({type:s.yr,id:e}))}),destroyBlock:e.mutation({query:e=>({url:"/blockings",method:"DELETE",body:e}),invalidatesTags:(e,t,{ids:i})=>i.map(e=>({type:s.yr,id:e}))}),destroyTag:e.mutation({invalidatesTags:[s.WS],query:e=>({url:"/tags",method:"DELETE",body:e})}),destroySavedSearch:e.mutation({invalidatesTags:[s.bX],query:e=>({url:`/saved_searches/${e.id}`,method:"DELETE"})}),getSearchResults:e.mutation({query:e=>({url:"/search",method:"POST",body:e}),transformResponse:n.A}),getAllSearchResults:e.mutation({query:e=>({url:"/search?simple_results=true",method:"POST",body:e}),transformResponse:n.A}),getLogins:e.query({query:e=>({url:"/logins",params:e}),transformResponse:n.A}),getCustomer:e.query({providesTags:e=>[{type:s.yr,id:e.seeker_id}],query:({login:e})=>`/${e}`,transformResponse:n.A}),getCustomTags:e.query({providesTags:[s.WS],query:()=>"/tags",transformResponse:n.A}),getDetailsHistory:e.query({query:({login:e})=>
1`/details_history/${e}`,transformResponse:n.A}),getDetailsOffers:e.query({query:({login:e})=>`/details_offers/${e}`,transformResponse:n.A}),getPackages:e.query({query:()=>"/packages",transformResponse:n.A}),getSavedSearches:e.query({providesTags:[s.bX],query:()=>"/saved_searches",transformResponse:n.A}),saveCustomer:e.mutation({query:({_seekerId:e,login:t,note:i})=>({url:`/${t}`,method:"PATCH",body:{note:i}}),invalidatesTags:(e,t,{seekerId:i})=>[{type:s.yr,id:i}]}),setBulkChatPrices:e.mutation({query:e=>({url:"/chat_prices",method:"POST",body:e})}),sendChatMessage:e.mutation({query:e=>{let{suppressSnackbar:t}=e;return{url:"/chat_messages",method:"POST",body:(0,o.A)(e,l)}}}),sendChatImage:e.mutation({query:({photo:e,ids:t})=>{const i=new FormData;return i.append("photo",e),(t||[]).forEach(e=>i.append("ids[]",e)),{url:"/chat_messages/photo",method:"POST",body:i}}}),createSearch:e.mutation({invalidatesTags:[s.bX],query:e=>({url:"/saved_searches",method:"POST",body:e})}),updateSearch:e.mutation({invalidatesTags:[s.bX],query:e=>({url:`/saved_searches/${e.id}`,method:"PATCH",body:e})}),updateTag:e.mutation({invalidatesTags:[s.WS],query:e=>({url:"/tags",method:"PATCH",body:e})})})}),c=d,{useAssignTagsMutation:u,useCreateBlockMutation:m,useDestroyBlockMutation:p,useDestroySavedSearchMutation:h,useDestroyTagMutation:g,useGetCustomTagsQuery:v,useGetCustomerQuery:A,useGetDetailsHistoryQuery:y,useGetDetailsOffersQuery:f,useGetLoginsQuery:b,useGetPackagesQuery:w,useGetSavedSearchesQuery:x,useGetSearchResultsMutation:C,useGetAllSearchResultsMutation:k,useSaveCustomerMutation:S,useCreateSearchMutation:_,useSendChatMessageMutation:N,useSendChatImageMutation:P,useSetBulkChatPricesMutation:T,useUpdateSearchMutation:F,useUpdateTagMutation:I}=d},42908(e,t,i){i.d(t,{$3:()=>d,CA:()=>u,HZ:()=>s,I$:()=>l,Ig:()=>h,LD:()=>o,OX:()=>p,VF:()=>c,i5:()=>m,lp:()=>r,rp:()=>a,vO:()=>n});const o=(e=void 0)=>"undefined"!=typeof window&&/^\/cam(?:\/|$)/.test(e||window.location?.pathname||""),a=(e=void 0)=>"undefined"!=typeof window&&/^\/cam\/\d+\/summary(?:\/|$)/.test(e||window.location?.pathname||""),r=(e=void 0)=>{if("undefined"==typeof window)return null;const t=/^\/cam\/([^/]+)\/summary$/.exec(e||window.location?.pathname||"");return t?t[1]:null},n=()=>"undefined"!=typeof window&&/^\/profile(?:\/|$)/.test(window.location?.pathname||""),s=()=>"undefined"!=typeof window&&/^\/my_customers(?:\/|$)/.test(window.location?.pathname||""),l=(e=void 0)=>"undefined"!=typeof window&&/^\/call\/listing(?:\/|$)/.test(e||window.location?.pathname||""),d=(e=void 0)=>"undefined"!=typeof window&&/^\/account\/my_listings\/(?:new(?:\/(?:live|recorded))?|[^/]+\/edit)$/.test(e||window.location?.pathname||""),c=(e=void 0)=>"undefined"!=typeof window&&/^\/account\/edit_profile$/.test(e||window.location?.pathname||""),u=(e=void 0)=>"undefined"!=typeof window&&/^\/chat\b/.test(e||window.location?.pathname||""),m=(e=void 0)=>"undefined"!=typeof window&&/^\/call\b/.test(e||window.location?.pathname||""),p=(e=void 0)=>"undefined"!=typeof window&&/^\/vibes(?:\/|$)/.test(e||window.location?.pathname||""),h=e=>!("undefined"==typeof window||!e||"browse"===e)&&window.location.pathname===`/chat/${e}`},45186(e,t,i){i.d(t,{AS:()=>te,Ay:()=>C,D5:()=>g,Ge:()=>T,Ht:()=>p,J3:()=>Q,LR:()=>H,Md:()=>D,Mu:()=>G,Ni:()=>ee,P_:()=>Y,RM:()=>K,W6:()=>L,Xx:()=>k,Zi:()=>F,_Y:()=>I,bu:()=>J,cF:()=>E,cf:()=>h,dU:()=>W,eD:()=>f,eq:()=>z,iE:()=>$,in:()=>V,jv:()=>M,kb:()=>j,nv:()=>P,ow:()=>N,qO:()=>B,r5:()=>U,rP:()=>X,so:()=>Z,tU:()=>R,vJ:()=>O,wQ:()=>S});var o=i(60749),a=i(98218),r=i(2820),n=i(7777),s=i(76469),l=i(35504),d=i(55919);function c(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function u(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?c(Object(i),!0).forEach(function(t){(0,o.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const m="MessageDetails",p="DirectMessagesMailbox",h="SentMessagesMailbox",g="SystemMessagesMailbox",v=[p,h,g],A="BlockedUsers",y="PaymentButtons",f="Drafts",{dispatchInvalidateCacheTagsEvent:b}=(0,d.A)(),w=()=>{b({tags:[l.bc],api:"mainApi"})},x=(0,a.xP)({reducerPath:"mailApi",baseQuery:(0,r.cw)({baseUrl:"/client_api/mail"}),tagTypes:[p,h,g,m,A,y,f],endpoints:e=>({createMessage:e.mutation({query:({message:e,returnPath:t,draftId:i})=>({url:"/sent_messages",method:"POST",body:u({message:e,return_path:t},i&&{draft_id:i})}),transformResponse:s.A,invalidatesTags:(e,t,{draftId:i})=>t?[]:(w(),i?[h,f]:[h])}),createPayment:e.mutation({query:({messageId:e})=>({url:`received_messages/${e}/payment`,method:"POST"}),transformResponse:s.A,invalidatesTags:(e,t,{messageId:i})=>[...v,{type:m,id:i}]}),getRecipients:e.query({query:({messageId:e,page:t})=>({url:`/sent_messages/${e}/recipients?page=${t}`}),transformResponse:s.A}),getRecipientLogins:e.query({query:({messageId:e})=>({url:`/sent_messages/${e}/recipients/logins`}),transformResponse:s.A}),getDirectMessagesMailbox:e.query({providesTags:[p],query:e=>({url:"/direct_messages_mailbox",params:e}),transformResponse:s.A}),getSystemMessagesMailbox:e.query({providesTags:[g],query:e=>({url:"/system_messages_mailbox",params:e}),transformResponse:s.A}),getSentMessagesMailbox:e.query({providesTags:[h],query:e=>({url:"/sent_messages_mailbox",params:e}),transformResponse:s.A}),getDrafts:e.query({providesTags:[f],query:e=>({url:"/drafts",params:e}),transformResponse:s.A}),getDraft:e.query({query:e=>({url:`/drafts/${e}`}),transformResponse:s.A}),createDraft:e.mutation({query:({draft:e})=>({url:"/drafts",method:"POST",body:{draft:e}}),transformResponse:s.A,invalidatesTags:[f]}),updateDraft:e.mutation({query:({id:e,draft:t})=>({url:`/drafts/${e}`,method:"PUT",body:{draft:t}}),transformResponse:s.A,invalidatesTags:[f]}),deleteDrafts:e.mutation({query:({draftIds:e})=>({url:"/bulk_drafts",method:"DELETE",body:{ids:e}}),transformResponse:s.A,invalidatesTags:[f]}),deleteMessage:e.mutation({query:({messageId:e})=>({url:`/messages/${e}`,method:"DELETE"}),invalidatesTags:(e,t,{messageId:i})=>(e&&w(),[...v,{type:m,id:i}])}),deleteMessages:e.mutation({query:({messageIds:e})=>({url:"/bulk_messages",method:"DELETE",body:{ids:e}}),invalidatesTags:(e,t,{messageIds:i=[]})=>(e&&w(),[...v,...i.map(e=>({type:m,id:e}))])}),getSentMessageDetails:e.query({query:({messageId:e})=>({url:`/sent_messages/${e}`}),transformResponse:s.A,providesTags:(e,t,i)=>[{type:m,id:i}]}),getReceivedMessageDetails:e.query({query:({messageId:e})=>({url:`/received_messages/${e}`}),transformResponse:s.A,providesTags:(e,t,i)=>[{type:m,id:i}]}),updateReceivedMessage:e.mutation({query:({messageId:e,markAsRead:t})=>({url:`/received_messages/${e}`,method:"PUT",body:{message:{id:e,mark_as_read:t}}}),transformResponse:s.A,invalidatesTags:e=>(e&&w(),[])}),bulkUpdateReceivedMessages:e.mutation({query:({messageIds:e,markAsRead:t})=>({url:"/bulk_messages",method:"PUT",body:{ids:e,mark_as_read:t}}),transformResponse:s.A,invalidatesTags:e=>(e&&w(),[])}),updateMailDelivery:e.mutation({query:({mailForwardingType:e})=>({url:"/mail_delivery",method:"PUT",body:{mail_forwarding_type:e}}),transformResponse:s.A,invalidatesTags:[]}),getBlockedUsers:e.query({providesTags:[A],query:()=>({url:"/block"}),transformResponse:s.A}),blockUser:e.mutation({query:e=>({url:"/block",method:"PATCH",body:{block_customer:e}}),transformResponse:s.A,invalidatesTags:[A]}),blockUsers:e.mutation({query:e=>({url:"/block",method:"PATCH",body:{block_customers:e}}),transformResponse:s.A,invalidatesTags:[A]}),unblockUsers:e.mutation({query:e=>({url:"/unblock",method:"PATCH",body:{customer_ids:e}}),transformResponse:s.A,invalidatesTags:[A]}),getPaymentButtons:e.query({providesTags:[y],query:(e={})=>({url:"/payment_buttons",params:e}),transformResponse:s.A}),getPaymentButton:e.query({query:e=>({url:`/payment_buttons/${e}`}),transformResponse:s.A}),createPaymentButton:e.mutation({query:({message:e,returnPath:t})=>({url:"/payment_buttons",method:"POST",body:{message:e,return_path:t}}
1),transformResponse:s.A,invalidatesTags:[y]}),updatePaymentButton:e.mutation({query:({id:e,message:t,returnPath:i})=>({url:`/payment_buttons/${e}`,method:"PUT",body:{message:t,return_path:i}}),transformResponse:s.A,invalidatesTags:[y]}),deletePaymentButton:e.mutation({query:e=>({url:`/payment_buttons/${e}`,method:"DELETE"}),invalidatesTags:[y]})})}),C=x,{invalidateTags:k}=x.util,S=(0,n.debounce)(e=>{e(k([p,g]))},400,{leading:!0,trailing:!0}),_=["getDirectMessagesMailbox","getSystemMessagesMailbox"],N=(e,t)=>(i,o)=>{const{queries:a}=o()[x.reducerPath];Object.values(a).forEach(o=>{o&&_.includes(o.endpointName)&&i(x.util.updateQueryData(o.endpointName,o.originalArgs,i=>{const o=i?.messages?.find(t=>t.id===e);o&&(o.read=t)}))})},{useBlockUserMutation:P,useBlockUsersMutation:T,useBulkUpdateReceivedMessagesMutation:F,useCreateDraftMutation:I,useCreateMessageMutation:E,useCreatePaymentMutation:M,useCreatePaymentButtonMutation:O,useDeleteDraftsMutation:D,useDeleteMessageMutation:R,useDeleteMessagesMutation:L,useDeletePaymentButtonMutation:j,useGetPaymentButtonQuery:q,useGetRecipientsQuery:B,useGetBlockedUsersQuery:z,useGetDirectMessagesMailboxQuery:U,useGetDraftsQuery:$,useGetPaymentButtonsQuery:W,useGetSentMessagesMailboxQuery:G,useGetSystemMessagesMailboxQuery:H,useUnblockUsersMutation:Y,useUpdatePaymentButtonMutation:V,useLazyGetDraftQuery:Q,useLazyGetReceivedMessageDetailsQuery:Z,useLazyGetRecipientLoginsQuery:K,useLazyGetSentMessageDetailsQuery:X,useUpdateDraftMutation:J,useUpdateMailDeliveryMutation:ee,useUpdateReceivedMessageMutation:te}=x},51228(e,t,i){i.d(t,{Ay:()=>b,Bf:()=>X,Cg:()=>P,EV:()=>Y,FG:()=>N,JL:()=>M,L$:()=>re,NC:()=>W,NX:()=>oe,Ps:()=>F,QA:()=>I,QH:()=>Z,QJ:()=>x,QK:()=>G,Vl:()=>q,Ww:()=>J,Xx:()=>w,Y:()=>j,Zh:()=>R,Zp:()=>Q,Zu:()=>K,bW:()=>ae,dV:()=>O,fD:()=>_,fw:()=>le,hy:()=>U,is:()=>B,jR:()=>z,jd:()=>ie,lQ:()=>E,lS:()=>D,m5:()=>L,n6:()=>V,pZ:()=>te,ph:()=>se,rU:()=>T,sl:()=>C,sr:()=>S,sx:()=>k,vp:()=>H,vs:()=>ne,x_:()=>ee,y0:()=>$});var o=i(60749),a=i(98218),r=i(2820),n=i(76469),s=i(52515),l=i(80057),d=i(35504),c=i(54873);function u(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function m(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?u(Object(i),!0).forEach(function(t){(0,o.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const p="NeedsAttention",h="ChatProfile",g="PayoutInfo",v="CustomerPricing",A="AdvisorPricing",y=(0,r.cw)({prepareHeaders:s.q,baseUrl:"/client_api/account"}),f=(0,a.xP)({reducerPath:"account",baseQuery:async(e,t,i)=>{const o=await y(e,t,i);return o.data&&(o.data=(0,n.A)(o.data)),o},tagTypes:[p,h,g,v,A,l.mk,l.RX],endpoints:e=>m({closeAccount:e.mutation({query:()=>({url:"/closure",method:"POST"})}),createPayoutRequest:e.mutation({invalidatesTags:[g],query:({data:e})=>({url:"/payout_request",method:"POST",body:m({},e)})}),getAccountClosure:e.query({query:()=>"/closure/new"}),getAdvisorFeedbacks:e.query({query:({page:e,perPage:t,seekerId:i})=>({url:"/feedbacks",params:{page:e||1,per_page:t||40,seeker_id:i}}),keepUnusedDataFor:0}),getFavoriteListingsCarousel:e.query({providesTags:[l.mk],query:({sort:e=0}={})=>({url:`/favorite_listings_carousel?sort=${e}`})}),getFeaturedListings:e.query({query:()=>"/featured_listings"}),getLapsingCustomers:e.query({query:()=>"/lapsing_customers"}),getFeaturedListingResults:e.query({query:()=>"/featured_listing_results_summary"}),getFeedbackSummary:e.query({query:()=>"/feedback_summary"}),getMostRecentCustomers:e.query({query:()=>"/most_recent_customers"}),getNeedsAttention:e.query({providesTags:[p],query:()=>"/needs_attention"}),dismissNeedsAttentionItem:e.mutation({invalidatesTags:[p],query:({type:e,id:t})=>({url:"/needs_attention/dismiss",method:"POST",body:{type:e,id:t}})}),cardAdded:e.mutation({query:e=>({url:"/card_added",method:"POST",body:e}),invalidatesTags:[l.RX],async onQueryStarted(e,{dispatch:t,queryFulfilled:i}){try{await i,t((0,d.Xx)([l.Vu]))}catch{}}}),getNewVsRepeat:e.query({query:()=>"/new_vs_repeat"}),getRecentContacts:e.query({query:e=>m({url:"/recent_contacts"},e?.poll&&{headers:{"X-No-Activity-Track":"1"}}),serializeQueryArgs:({endpointName:e})=>e}),getMissedCalls:e.query({query:e=>m({url:"/missed_calls"},e?.poll&&{headers:{"X-No-Activity-Track":"1"}}),serializeQueryArgs:({endpointName:e})=>e}),getRelativeEarningsByChannel:e.query({query:()=>"/relative_earnings_by_channel"}),getSeekerOffers:e.query({providesTags:[l.RX],query:()=>"/seeker_offers"}),getPayoutRequestInfo:e.query({providesTags:[g],query:()=>"/payout_request"}),getOfferUsage:e.query({query:()=>"/offer_usage"}),getSubscriptionSummary:e.query({query:()=>"/subscription_summary"}),getTaxForms:e.query({query:()=>"/tax_forms"}),getTaxForm:e.query({query:e=>`/tax_forms/${e}`}),getPayoutInfo:e.query({providesTags:[g],query:()=>"/payout_info"}),getPremiumReferralStats:e.query({query:()=>"/premium_referral_stats"}),getWeeklyGoals:e.query({query:()=>"/weekly_goals"}),useUserOffers:e.mutation({invalidatesTags:[l.RX],query:e=>({url:"/user_offer",method:"PATCH",body:{offer_hash:e}})}),verifyAccount:e.mutation({query:({data:e,type:t})=>({url:"/verifications",method:"POST",body:{data:e,type:t}})}),getChatProfile:e.query({providesTags:[h],query:()=>"/chat_profile"}),updateChatProfile:e.mutation({invalidatesTags:[h],query:({description:e,volleyPrice:t})=>({url:"/chat_profile",method:"PUT",body:{chat_profile:{description:e,volley_price:t}}})}),setChatEnrollment:e.mutation({invalidatesTags:[h],query:({unenrolled:e})=>({url:"/chat_profile",method:"PUT",body:{chat_profile:{unenrolled:e}}})}),updateChatProfilePhoto:e.mutation({invalidatesTags:[h],query:({fileName:e,contentType:t,fileSize:i,fmFileName:o})=>
1({url:"/chat_profile",method:"PUT",body:{chat_profile:{photo:{file_name:e,content_type:t,file_size:i,fm_file_name:o}}}})}),getCustomerVolleyPricing:e.query({query:e=>`/customer_volley_pricings/${e}`,providesTags:(e,t,i)=>[{type:v,id:i}],keepUnusedDataFor:0}),updateCustomerVolleyPricing:e.mutation({query:({customerId:e,price:t})=>({url:`/customer_volley_pricings/${e}`,method:"PATCH",body:{customer_volley_pricing:{price:t}}}),invalidatesTags:(e,t,{customerId:i})=>[{type:v,id:i}]}),deleteCustomerVolleyPricing:e.mutation({query:e=>({url:`/customer_volley_pricings/${e}`,method:"DELETE"}),invalidatesTags:(e,t,i)=>[{type:v,id:i}]}),getAdvisorVolleyPricing:e.query({query:()=>"/volley_pricing",providesTags:[A],keepUnusedDataFor:0}),updateAdvisorVolleyPricing:e.mutation({query:({price:e})=>({url:"/volley_pricing",method:"PATCH",body:{volley_pricing:{price:e}}}),invalidatesTags:[A,v]})},(0,c.V)(e))}),b=f,{invalidateTags:w}=f.util,{useCloseAccountMutation:x,useCreatePayoutRequestMutation:C,useGetAccountClosureQuery:k,useGetAdvisorFeedbacksQuery:S,useGetFavoriteListingsCarouselQuery:_,useGetFeaturedListingsQuery:N,useGetFeaturedListingResultsQuery:P,useGetFeedbackSummaryQuery:T,useGetOfferUsageQuery:F,useGetNewVsRepeatQuery:I,useGetLapsingCustomersQuery:E,useGetMostRecentCustomersQuery:M,useGetNeedsAttentionQuery:O,useDismissNeedsAttentionItemMutation:D,useCardAddedMutation:R,useGetRecentContactsQuery:L,useGetMissedCallsQuery:j,useGetRelativeEarningsByChannelQuery:q,useGetSeekerOffersQuery:B,useGetPayoutRequestInfoQuery:z,useGetSubscriptionSummaryQuery:U,useGetTaxFormsQuery:$,useGetTaxFormQuery:W,useGetPayoutInfoQuery:G,useGetPremiumReferralStatsQuery:H,useUseUserOffersMutation:Y,useGetWeeklyGoalsQuery:V,useVerifyAccountMutation:Q,useGetCreditCardsQuery:Z,useUpdateCreditCardMutation:K,useDeleteCreditCardMutation:X,usePurchaseMutation:J,useGetChatProfileQuery:ee,useUpdateChatProfileMutation:te,useSetChatEnrollmentMutation:ie,useUpdateChatProfilePhotoMutation:oe,useGetCustomerVolleyPricingQuery:ae,useUpdateCustomerVolleyPricingMutation:re,useDeleteCustomerVolleyPricingMutation:ne,useGetAdvisorVolleyPricingQuery:se,useUpdateAdvisorVolleyPricingMutation:le}=f},51436(e,t,i){i.d(t,{Ai:()=>b,Ay:()=>p,EW:()=>A,I9:()=>y,JT:()=>h,PZ:()=>v,af:()=>k,hR:()=>g,lU:()=>x,rF:()=>P,uh:()=>C,ym:()=>f,zh:()=>N});var o=i(60749),a=i(98218),r=i(2820),n=i(76469),s=i(52515);function l(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function d(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?l(Object(i),!0).forEach(function(t){(0,o.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const c=i(38150).Fr?"mobile":"desktop",u=(0,r.cw)({prepareHeaders:s.q,baseUrl:"/client_api/cam/"}),m=(0,a.xP)({reducerPath:"cam",tagTypes:["Cam","VIDEO_CONFERENCE"],baseQuery:async(e,t,i)=>{const o=await u(e,t,i);return o.data&&(o.data=(0,n.A)(o.data)),o},endpoints:e=>({getVideoConference:e.query({query:e=>`video_conferences/${e}`,providesTags:(e,t,i)=>[{type:"VIDEO_CONFERENCE",id:i}]}),getIncomingCamCall:e.query({query:()=>"video_conferences/incoming"}),getActiveCamSession:e.query({query:()=>"video_conferences/active"}),getCamCustomerDetails:e.query({query:e=>`video_conferences/${e}/customer_details`}),createVideoConference:e.mutation({query:e=>({url:"video_conferences",method:"POST",body:{listing_id:e}}),transformResponse:n.A}),cancelVideoConference:e.mutation({query:({videoConferenceId:e}={})=>({url:`video_conferences/${e}`,method:"DELETE"}),transformResponse:n.A}),declineVideoConference:e.mutation({query:e=>({url:"video_conference_declines",method:"POST",body:{video_conference_id:e}}),transformResponse:n.A}),logVideoConferenceEvent:e.mutation({query:({conferenceId:e,eventType:t,metadata:i})=>d({url:"video_conference_events",method:"POST",body:{conference_id:e,event_type:t,metadata:d(d({},i),{},{device_type:c})}},"publisher_stats"===t&&{headers:{"X-No-Activity-Track":"1"}})}),rejoinVideoConference:e.mutation({query:e=>({url:`video_conferences/${e}/rejoin`,method:"GET"}),transformResponse:n.A}),notifyVideoConferenceReconnecting:e.mutation({query:e=>({url:`video_conferences/${e}/reconnecting`,method:"POST"})}),notifyVideoConferencePeerDisconnected:e.mutation({query:e=>({url:`video_conferences/${e}/peer_disconnected`,method:"POST"})})})}),p=m,{useGetVideoConferenceQuery:h,useLazyGetIncomingCamCallQuery:g,useGetCamCustomerDetailsQuery:v,useCreateVideoConferenceMutation:A,useCancelVideoConferenceMutation:y,useDeclineVideoConferenceMutation:f,useLogVideoConferenceEventMutation:b,useLazyGetVideoConferenceQuery:w,useRejoinVideoConferenceMutation:x,useNotifyVideoConferenceReconnectingMutation:C,useNotifyVideoConferencePeerDisconnectedMutation:k}=m,{useGetIncomingCamCallQuery:S,useGetActiveCamSessionQuery:_}=m,N=(e,t)=>S(e,d(d({},t),{},{refetchOnReconnect:!0,refetchOnFocus:!1})),P=(e,t)=>_(e,d(d({},t),{},{refetchOnReconnect:!0,refetchOnFocus:!1}))},54216(e,t,i){i.d(t,{Ep:()=>a,UU:()=>n,gv:()=>r});const o=["on_with_forwarding","online_only","away"],a=e=>o.includes(e),r=e=>!!e?.chat_eligible&&a(e?.chat_status),n=e=>!!e?.enrolled_in_chat&&!e?.explicitly_unenrolled_in_chat},54529(e,t,i){i.d(t,{Cn:()=>n,D$:()=>r,DX:()=>a,EJ:()=>c,Ey:()=>m,SZ:()=>s,a:()=>p,a3:()=>g,bg:()=>u,kz:()=>h,zO:()=>d});var o=i(85639);const a="M/d/yy",r="MM/dd/yyyy",n=`${r} hh:mm a`,s="LLL d, yyyy, h:mm a",l=(e,t)=>
1{const i={};return t&&(i.zone=t),o.c9.fromISO(e,i)},d=(e,t,i="LLL d h:mm a")=>{if(!e)return"";return l(e,t).toFormat(i)},c=(e,t=0)=>{if(!e)return"";const i=d(e,null,a),r=l(e),n=o.c9.now();if(t>0){if(r.hasSame(n,"day"))return`today (${i})`;if(r>n){const e=n.startOf("day"),o=r.startOf("day").diff(e,"days").days,a=Math.ceil(o);if(a<t){return`in ${1===a?"1 day":`${a} days`} (${i})`}}}return i},u=(e,t)=>{if(!e)return"";const i={};t&&(i.zone=t);return o.c9.fromISO(e,i).toFormat("h:mm a")},m=(e,t=null)=>{const i=new Date,o=new Date(e);return i.toDateString()===o.toDateString()?t?u(e,t):o.toLocaleTimeString([],{hour:"numeric",minute:"2-digit"}):i.getFullYear()===o.getFullYear()?o.toLocaleDateString([],{month:"short",day:"numeric"}):o.toLocaleDateString([],{year:"2-digit",month:"numeric",day:"numeric"})},p=(e,t)=>{if(!e||!t)return"";const i=d(e,t,"yyyy-MM-dd'T'HH:mm:ssZZ");return m(i)},h=(e,t=null)=>{if(!e||"Not Set"===e||"Not Applicable"===e)return e;try{return o.c9.fromISO(e).setZone(t||"system").toFormat("MM/dd/yyyy")}catch{return e}},g=e=>{const t=Math.floor(e/3600),i=Math.floor(e%3600/60),o=e%60,a=String(i).padStart(2,"0"),r=String(o).padStart(2,"0");return t>0?`${t}:${a}:${r}`:`${a}:${r}`}},55701(e,t,i){i.d(t,{Ay:()=>a,B9:()=>n,Be:()=>u,JP:()=>r,Pe:()=>l,j3:()=>m,vs:()=>c,zu:()=>d});const o=(0,i(91776).Z0)({name:"resetRecords",initialState:{resetHomeFeedRequest:!1,resetFlirtFeedRequest:null,resetFlirtMediaRequest:null},reducers:{resetHomeFeed:e=>{e.resetHomeFeedRequest=!0},doneResettingHomeFeed:e=>{e.resetHomeFeedRequest=!1},resetExploreFeed:e=>{e.resetExploreFeedRequest=!0},doneResettingExploreFeed:e=>{e.resetExploreFeedRequest=!1},resetFlirtFeed:(e,t)=>{e.resetFlirtFeedRequest=t.payload.advisorId},doneResettingFlirtFeed:e=>{e.resetFlirtFeedRequest=null},resetFlirtMedia:(e,t)=>{e.resetFlirtMediaRequest=t.payload.advisorId},doneResettingFlirtMedia:e=>{e.resetFlirtMediaRequest=null}}}),a=o,{resetHomeFeed:r,doneResettingHomeFeed:n,resetExploreFeed:s,doneResettingExploreFeed:l,resetFlirtFeed:d,doneResettingFlirtFeed:c,resetFlirtMedia:u,doneResettingFlirtMedia:m}=o.actions},62884(e,t,i){i.d(t,{M_:()=>ee,OU:()=>ie,qj:()=>te});var o=i(91776),a=i(23614),r=i(38093),n=i(58965),s=i(38524),l=i(91488),d=i(25966),c=i(35504),u=i(52483),m=i(51228),p=i(40292),h=i(45186),g=i(74387),v=i(9840),A=i(54381),y=i(11215),f=i(51436),b=i(97429),w=i(39915),x=i(5377),C=i(33872),k=i(70412),S=i(35511),_=i(22085),N=i(80428),P=i(22352),T=i(73830),F=i(30917),I=i(22464),E=i(55701),M=i(90669),O=i(74676),D=i(77782),R=i(92714),L=i(34016),j=i(79989),q=i(63305),B=i(82519),z=i(9184),U=i(87700),$=i(31993),W=i(77250),G=i(79533),H=i(70979),Y=i(80140),V=i(51493),Q=i(85481),Z=i(45720);(0,r.zR)();const K={key:"nfChat",storage:s.A,whitelist:["contactMessageDrafts"]},X=(0,a.HY)({[l.Ay.reducerPath]:l.Ay.reducer,[c.Ay.reducerPath]:c.Ay.reducer,[u.Ay.reducerPath]:u.Ay.reducer,[m.Ay.reducerPath]:m.Ay.reducer,[p.Ay.reducerPath]:p.Ay.reducer,[h.Ay.reducerPath]:h.Ay.reducer,[g.Ay.reducerPath]:g.Ay.reducer,[v.Ay.reducerPath]:v.Ay.reducer,[Y.Wd.reducerPath]:Y.Wd.reducer,[A.A.reducerPath]:A.A.reducer,[y.Ay.reducerPath]:y.Ay.reducer,[d.Ay.reducerPath]:d.Ay.reducer,[b.Ay.reducerPath]:b.Ay.reducer,[w.Ay.reducerPath]:w.Ay.reducer,[k.Ay.reducerPath]:k.Ay.reducer,[S.Ay.reducerPath]:S.Ay.reducer,[_.Ay.reducerPath]:_.Ay.reducer,[f.Ay.reducerPath]:f.Ay.reducer,[x.Ay.reducerPath]:x.Ay.reducer,[C.Ay.reducerPath]:C.Ay.reducer,flashes:N.Ay.reducer,snackbarMessages:P.Ay.reducer,resetRecords:E.Ay.reducer,resetComments:M.Ay.reducer,tributes:O.Ay.reducer,chat:D.A.reducer,packageOnboarding:R.Ay.reducer,miscUIState:B.Ay.reducer,goodyBagFilter:L.Ay.reducer,chatProfileFilter:q.Ay.reducer,customers:j.default.reducer,mailCustomers:Z.default.reducer,feed:z.Ay.reducer,incomingCall:U.Ay.reducer,activeCamSession:$.Ay.reducer,camUi:W.Ay.reducer,camChat:G.Ay.reducer,balanceAuthority:H.Ay.reducer,filePlayer:Y.uU.reducer,nfChat:(0,n.rL)(K,V.lf.reducer),mailSelection:Q.Ay.reducer}),J={key:"root",storage:s.A,whitelist:["goodyBagFilter","chatProfileFilter","customers","mailCustomers"]},ee=(0,o.U1)({reducer:(0,n.rL)(J,X),devTools:!0,middleware:e=>e({serializableCheck:!1}).concat([l.Ay.middleware,c.Ay.middleware,d.Ay.middleware,u.Ay.middleware,m.Ay.middleware,p.Ay.middleware,h.Ay.middleware,g.Ay.middleware,v.Ay.middleware,Y.Wd.middleware,A.A.middleware,y.Ay.middleware,b.Ay.middleware,w.Ay.middleware,k.Ay.middleware,S.Ay.middleware,_.Ay.middleware,f.Ay.middleware,x.Ay.middleware,C.Ay.middleware,T.d,T.g,F.TL,I.g,V.Vp])}),te=(0,n.GM)(ee),{purge:ie}=te},68527(e,t,i){i.d(t,{$3:()=>d,F3:()=>u,GL:()=>f,Kj:()=>A,OD:()=>b,RJ:()=>g,WG:()=>h,XM:()=>m,bL:()=>v,hG:()=>p,sw:()=>y,xo:()=>c});var o=i(59292),a=i(88293);const r="search_category_preference",n={"Find Trans":"Find Transgender"},s=(e,t)=>{if(e===t)return!0;const i=n[t];return i&&e===i},l=/^\/(?:v2\/)?categories\/([^/?]+)/,d=(e,t)=>{for(let i=0;i<e.length;i+=1){const o=e[i];if(o.id===parseInt(t))return[i];if(o.children&&o.children.length>0){const e=d(o.children,t);
1if(e)return[i,...e]}}return null},c=e=>{a.A.set(r,e,{expires:365})},u=()=>{const e=new URLSearchParams(window.location.search).get("category"),t=a.A.get(r);return(e=>{const{categories:t}=window;if(!Array.isArray(t)||0===t.length)return null;const i=d(t,e);return i&&0!==i.length&&t[i[0]]||null})(e||t||(()=>{const{categories:e}=window;return e.find(e=>e.name===o.L.Women).id})()).id},m=e=>{const{categories:t}=window,i=o.L[e];return t.find(e=>s(e.name,i))},p=e=>{const{categories:t}=window,i=Object.values(o.L)[e];return t.find(e=>s(e.name,i))},h=(e,t)=>{const i=(e=>{const t=e.match(l);return t?t[1]:null})(e);if(i)return i;if("/chat/browse"===e){const e=new URLSearchParams(t).get("gender");return null!==e?p(e)?.id??null:u()}return null},g=e=>{const{categories:t}=window,i=t.find(t=>t.id===e);return Object.values(o.L).findIndex(e=>s(i.name,e))},v=(e,{camP2Enabled:t,isCamCategory:i})=>t&&i?e.filter(e=>2!==e.value):e,A=(e,{isCamCategory:t})=>t?e.filter(e=>3!==e.value):e,y=(e,t)=>{if(e.startsWith("/chat"))return!0;const i=new URLSearchParams(t).get("listing_type");return l.test(e)&&"3"===i},f=(e,t)=>t?`/categories/${e}?listing_type=3&page=1`:`/categories/${e}`,b=(e,t)=>{for(let i=0;i<e.length;i+=1){const o=e[i];if(o.id===parseInt(t,10))return o;if(o.children&&o.children.length>0){const e=b(o.children,t);if(e)return e}}return null}},68745(e,t,i){i.d(t,{Mi:()=>n,Rr:()=>s,_q:()=>r,ec:()=>o,vQ:()=>a});const o="UPLOAD_TAB",a="FILE_MANAGER_TAB",r="scheduled",n="processing",s="removed"},72986(e,t,i){i.d(t,{K:()=>n,g:()=>s});var o=i(622),a=i(2370),r=i(74387);const n=(0,a.createContext)(),s=({children:e})=>{const[t,i]=(0,r.ks)(),[s,l]=(0,a.useState)(null),d=(0,a.useMemo)(()=>({selectedAlbum:s,setSelectedAlbum:l,albumsQuery:i,triggerGetAlbums:t}),[s,l,i,t]);return(0,o.A)(n.Provider,{value:d},void 0,e)};try{s.displayName="AdvisorAttachmentsProvider"}catch(e){}},74387(e,t,i){i.d(t,{Ay:()=>d,EA:()=>x,G7:()=>u,Ko:()=>g,QM:()=>C,Uw:()=>h,Xy:()=>y,Z9:()=>k,bN:()=>m,gZ:()=>f,i8:()=>p,ks:()=>A,lU:()=>w,oZ:()=>c,wu:()=>b,y7:()=>S});var o=i(98218),a=i(2820),r=i(35504),n=i(80057);const s="goodyBag",l=(0,o.xP)({reducerPath:"assets",baseQuery:(0,a.cw)({baseUrl:"/fm/client_api/",headers:{Accept:"application/json","X-No-Activity-Track":"1"}}),endpoints:e=>({getAlbums:e.query({providesTags:["album"],query:()=>"seller_albums.json"}),getGoodyBag:e.query({providesTags:(e,t,i)=>i?[{type:s,id:i}]:[],query:e=>`goody_bags/${e}`}),getGoodyBags:e.query({providesTags:(e,t,i)=>i&&Array.isArray(i.ids)?i.ids.filter(Boolean).map(e=>({type:s,id:e})):[],query:({ids:e})=>`goody_bags/show_multiple?${(e||[]).filter(Boolean).map(e=>`ids[]=${e}`).join("&")}`,transformResponse:(e,t,i)=>{if(!Array.isArray(e))return[];if(!i||!Array.isArray(i.ids))return e;const o=new Map(e.filter(e=>e&&null!=e.id).map(e=>[e.id,e]));return i.ids.map(e=>o.get(e)).filter(Boolean)}}),getItems:e.query({providesTags:["item"],keepUnusedDataFor:0,query:({albumId:e,cursor:t,imagesOnly:i})=>{let o=`items?album_id=${e}&cursor=${t}`;return i&&(o+="&images_only=true"),o}}),getGoodyBagsForAdvisor:e.query({providesTags:[s],keepUnusedDataFor:100,query:({userId:e,selectedGoodyBag:t=null,includeActiveAndPrivate:i=!1,sort:o=null,page:a=1})=>{const r=new URLSearchParams({user_id:e,page:a});return t&&r.append("selected_goody_bag",t),i&&r.append("include_active_and_private","true"),o&&r.append("sort",o),`goody_bags?${r.toString()}`}}),getGoodyBagReviews:e.query({providesTags:(e,t,i)=>[{type:"goodyBagReviews",id:`goody-bag-${i.goodyBagId}`}],keepUnusedDataFor:100,query:({goodyBagId:e})=>`goody_bags/${e}/goody_bag_reviews`}),getGoodyBagItems:e.query({providesTags:(e,t,i)=>[{type:"goodyBagItems",id:`goody-bag-${i.goodyBagId}`}],keepUnusedDataFor:100,query:({goodyBagId:e})=>`goody_bags/${e}/goody_bag_items`}),getMessagesAttachmentsGoodyBagItems:e.query({providesTags:(e,t,i)=>[{type:"messagesAttachmentsGoodyBagItems",id:`goody-bag-${i.goodyBagIds}`}],query:({goodyBagIds:e})=>({url:`messages_attachments/goody_bags_items?${e.map(e=>`goody_bag_ids[]=${encodeURIComponent(e)}`).join("&")}`,method:"GET"})}),goodyBagSearch:e.mutation({query:e=>{const t=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,Array.isArray(t)?t.join(","):t])),i=Object.fromEntries(Object.entries(t).filter(([e,t])=>""!==t&&("text"!==e||t.length>=3)));return{url:`goody_search?${new URLSearchParams(i).toString()}`,method:"GET"}}}),getGoodyBagFacets:e.query({query:e=>{const t=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,Array.isArray(t)?t.join(","):t])),i=Object.fromEntries(Object.entries(t).filter(([e,t])=>""!==t&&("text"!==e||t.length>=3)));return{url:`goody_search_facets?${new URLSearchParams(i).toString()}`,method:"GET"}}}),getRecentGoodyBags:e.query({providesTags:["recentGoodyBags"],query:e=>({url:"recent_goody_bags",method:"GET",params:e})}),purchaseGoodyBag:e.mutation({query:({goodyBagId:e})=>({url:`goody_bags/${e}/purchase`,method:"POST"}),async onQueryStarted(e,{dispatch:t,queryFulfilled:i}){try{await i,t((0,r.Xx)([n.yE]))}catch{}}}),pinGoodyBag:e.mutation({query:({goodyBagId:e})=>({url:`goody_bags/${e}/goody_bag_pin`,method:"POST"}),invalidatesTags:[s]}),unpinGoodyBag:e.mutation({query:({goodyBagId:e})=>({url:`goody_bags/${e}/goody_bag_pin`,method:"DELETE"}),invalidatesTags:[s]}),deleteGoodyBag:e.mutation({query:({goodyBagId:e})=>({url:`goody_bags/${e}`,method:"DELETE"}),invalidatesTags:[s]})})}),d=l,{useGetAlbumsQuery:c,useGetGoodyBagQuery:u,useGetGoodyBagsQuery:m,useGetItemsQuery:p,useGetGoodyBagsForAdvisorQuery:h,useLazyGetGoodyBagFacetsQuery:g,useGetRecentGoodyBagsQuery:v,useLazyGetAlbumsQuery:A,useLazyGetGoodyBagReviews
1Query:y,useLazyGetGoodyBagItemsQuery:f,useLazyGetMessagesAttachmentsGoodyBagItemsQuery:b,useGoodyBagSearchMutation:w,usePurchaseGoodyBagMutation:x,usePinGoodyBagMutation:C,useUnpinGoodyBagMutation:k,useDeleteGoodyBagMutation:S}=l},78405(e,t,i){var o=i(622),a=i(2370),r=i(76332),n=i(69441),s=i(26318),l=i(95730),d=i(13333),c=i(11761),u=i(60749),m=i(28290),p=i(53001),h=i(2820),g=i(91801),v=i(14531),A=i(80428),y=i(78734),f=i(10472),b=i(80140),w=i(42908),x=i(28933),C=i(92948),k=i(35504),S=i(45186);const _=()=>{const e=(0,m.wA)(),t=(0,a.useRef)(null);(0,a.useEffect)(()=>{const i=()=>{e((0,k.Xx)([k.bc])),e((0,S.Xx)([S.Ht,S.cf,S.D5]))},o=()=>{if("hidden"===document.visibilityState)return void(t.current=Date.now());if("visible"!==document.visibilityState)return;const e=t.current;t.current=null,null===e||Date.now()-e<6e5||i()};return document.addEventListener("visibilitychange",o),window.addEventListener(C.p,i),()=>{document.removeEventListener("visibilitychange",o),window.removeEventListener(C.p,i)}},[e])};var N,P,T,F,I,E=i(79042),M=i(41693),O=i(84221),D=i(4184),R=i(12493),L=i(73718),j=i(27402),q=i(35674),B=i(84810),z=i(51436),U=i(13689),$=i(65993),W=i(42513),G=i(91531),H=i(47998);const Y=({customer:e})=>{const t=(e.userTagList||"").split("^").filter(e=>e);return(0,o.A)(g.A,{sx:{px:2,pb:1,textAlign:"left"}},void 0,(0,o.A)(W.A,{direction:"row",spacing:1,sx:{flexWrap:"wrap",gap:.5,mb:1.5}},void 0,(0,o.A)(H.A,{label:e.intervalEarningsGroup,colorMap:G.D4}),(0,o.A)(H.A,{label:e.lapseStatus,colorMap:G.qb})),(0,o.A)(g.A,{display:"grid",gridTemplateColumns:"150px minmax(0, 1fr)",gap:1,component:$.A,variant:"outlined",sx:{p:2,mb:1.5}},void 0,N||(N=(0,o.A)(O.A,{variant:"body2",fontWeight:"bold"},void 0,"Member Name:")),(0,o.A)(O.A,{variant:"body2",noWrap:!0,title:e.seekerName||"N/A"},void 0,e.seekerName||"N/A"),P||(P=(0,o.A)(O.A,{variant:"body2",fontWeight:"bold"},void 0,"Your Customer Since:")),(0,o.A)(O.A,{variant:"body2"},void 0,e.customerSince||"N/A"),T||(T=(0,o.A)(O.A,{variant:"body2",fontWeight:"bold"},void 0,"Member Since:")),(0,o.A)(O.A,{variant:"body2"},void 0,e.nfJoinDate||"N/A"),F||(F=(0,o.A)(O.A,{variant:"body2",fontWeight:"bold"},void 0,"Total Earnings:")),(0,o.A)(O.A,{variant:"body2"},void 0,"$",Number(e.skrLtEarnings||0).toFixed(2))),(0,o.A)(g.A,{component:"fieldset",sx:{border:"1px solid",borderColor:"rgba(0, 0, 0, 0.23)",borderRadius:1,m:0,mb:1.5,px:1.5,pt:.5,pb:1.5,minWidth:0}},void 0,(0,o.A)(g.A,{component:"legend",sx:{px:.5,fontSize:"0.75rem",color:"text.secondary",lineHeight:1}},void 0,"Tags"),(0,o.A)(W.A,{direction:"row",spacing:1,sx:{flexWrap:"wrap",gap:.5}},void 0,t.length?t.map(e=>(0,o.A)(U.A,{label:e,size:"small"},e)):I||(I=(0,o.A)(O.A,{variant:"body2",color:"text.secondary"},void 0,"None")))),(0,o.A)(g.A,{component:"fieldset",sx:{border:"1px solid",borderColor:"rgba(0, 0, 0, 0.23)",borderRadius:1,m:0,px:1.5,pt:.5,pb:1.5,minWidth:0}},void 0,(0,o.A)(g.A,{component:"legend",sx:{px:.5,fontSize:"0.75rem",color:"text.secondary",lineHeight:1}},void 0,"Notes"),(0,o.A)(O.A,{variant:"body2",sx:{whiteSpace:"pre-wrap"}},void 0,e.note||"No notes.")))};try{Y.displayName="CamCustomerDetailsReadOnly"}catch(e){}const V=Y;var Q=i(9309);const Z=()=>{const e=(0,Q.Z)("camera");return e?{facingMode:"user",deviceId:{ideal:e}}:{facingMode:"user"}},K=()=>{const e=(0,Q.Z)("microphone");return!e||{deviceId:{ideal:e}}},X=e=>"NotFoundError"===e?.name||"DevicesNotFoundError"===e?.name,J=()=>{const[e,t]=(0,a.useState)(null),[i,o]=(0,a.useState)(!1),[r,n]=(0,a.useState)(!1),[s,l]=(0,a.useState)(0),[d,c]=(0,a.useState)(!1),[u,m]=(0,a.useState)(!1),p=(0,a.useRef)(null),h=(0,a.useRef)(null),g=(0,a.useRef)(null),v=(0,a.useRef)(null),A=(0,a.useRef)(!0),y=(0,a.useCallback)(()=>{p.current&&(p.current.getTracks().forEach(e=>e.stop()),p.current=null),t(null),n(!1)},[]),f=(0,a.useCallback)(()=>{v.current&&(cancelAnimationFrame(v.current),v.current=null),g.current&&(g.current.close().catch(()=>{}),g.current=null),h.current&&(h.current.getTracks().forEach(e=>e.stop()),h.current=null),l(0),o(!1)},[]),b=(0,a.useCallback)(async()=>{y();const e=await navigator.mediaDevices.getUserMedia({video:Z()});
1A.current?(p.current=e,t(e),n(!0),m(!1)):e.getTracks().forEach(e=>e.stop())},[y]),w=(0,a.useCallback)(async()=>{f();const e=await navigator.mediaDevices.getUserMedia({audio:K()});if(!A.current)return void e.getTracks().forEach(e=>e.stop());h.current=e,o(!0),c(!1);const t=new(window.AudioContext||window.webkitAudioContext);g.current=t,"suspended"===t.state&&t.resume().catch(()=>{});const i=t.createMediaStreamSource(e),a=t.createAnalyser();a.fftSize=256,a.smoothingTimeConstant=.75,i.connect(a);const r=new Uint8Array(a.frequencyBinCount),n=()=>{a.getByteFrequencyData(r);const e=r.reduce((e,t)=>e+t,0)/r.length;l(Math.min(100,Math.round(e/70*100))),v.current=requestAnimationFrame(n)};v.current=requestAnimationFrame(n)},[f]),x=(0,a.useCallback)(async()=>{if(p.current)y();else try{await b()}catch(e){A.current&&!X(e)&&m(!0)}},[b,y]),C=(0,a.useCallback)(async()=>{if(h.current)f();else try{await w()}catch(e){A.current&&!X(e)&&c(!0)}},[w,f]),k=(0,a.useCallback)(()=>{y(),f()},[y,f]);return(0,a.useEffect)(()=>(A.current=!0,()=>{A.current=!1,y(),f()}),[y,f]),{videoStream:e,micEnabled:i,camEnabled:r,micLevel:s,micBlocked:d,camBlocked:u,toggleMic:C,toggleCam:x,stopAll:k}};var ee,te;const ie=({html:e,videoConferenceId:t,onAccept:i,onDecline:r})=>{const{videoStream:n,micEnabled:s,camEnabled:l,micLevel:d,micBlocked:c,camBlocked:u,toggleMic:m,toggleCam:p,stopAll:h}=J(),[v,A]=(0,a.useState)(navigator.onLine),[f,b]=(0,a.useState)(!1),w=(0,a.useRef)(null),{data:x}=(0,z.PZ)(t,{skip:!t});(0,a.useEffect)(()=>{const e=()=>A(!0),t=()=>A(!1);return window.addEventListener("online",e),window.addEventListener("offline",t),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",t)}},[]),(0,a.useEffect)(()=>{w.current&&(w.current.srcObject=n)},[n]);const C=c||u?((e,t)=>e&&t?"Camera and microphone access is required to accept this call.":t?"Camera access is required to accept this call.":"Microphone access is required to accept this call.")(c,u):null;return(0,o.A)(g.A,{"data-test-id":"cam-call-notification",sx:{display:"flex",flexDirection:"column",minWidth:320,maxHeight:"calc(100dvh - 32px)",bgcolor:"background.paper",borderRadius:1,boxShadow:6,overflow:"hidden"}},void 0,(0,o.A)(g.A,{sx:{position:"relative",bgcolor:"#0d1117",minHeight:220,flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"}},void 0,(0,o.A)(O.A,{variant:"overline",sx:{position:"absolute",top:10,left:12,zIndex:3,color:"white",fontWeight:700,letterSpacing:2,lineHeight:1}},void 0,"Incoming Cam Session"),a.createElement("video",{ref:w,autoPlay:!0,muted:!0,playsInline:!0,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",transform:"scaleX(-1)",opacity:l?1:0}}),!l&&(0,o.A)(g.A,{sx:{width:90,height:90,borderRadius:"50%",bgcolor:"grey.300",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1}},void 0,(0,o.A)(O.A,{variant:"h5",sx:{color:"grey.800",fontWeight:700}},void 0,"You")),(0,o.A)(g.A,{sx:{position:"absolute",bottom:12,left:"50%",transform:"translateX(-50%)",display:"flex",gap:3,zIndex:2}},void 0,(0,o.A)(M.A,{onClick:m,"aria-label":s?"Mute microphone":"Unmute microphone",sx:{color:"white","&:hover":{bgcolor:"rgba(255,255,255,0.1)"}}},void 0,s?(0,o.A)(D.A,{sx:{fontSize:28}}):(0,o.A)(B.X,{sx:{fontSize:28}})),(0,o.A)(M.A,{onClick:p,"aria-label":l?"Turn off camera":"Turn on camera",sx:{color:"white","&:hover":{bgcolor:"rgba(255,255,255,0.1)"}}},void 0,l?(0,o.A)(R.A,{sx:{fontSize:28}}):(0,o.A)(B.g,{sx:{fontSize:28}}))),s&&(0,o.A)(g.A,{sx:{position:"absolute",bottom:0,left:0,right:0,height:3,zIndex:3}},void 0,(0,o.A)(g.A,{sx:{width:`${d}%`,height:"100%",bgcolor:"#4caf50",transition:"width 0.1s"}}))),(0,o.A)(g.A,{"data-test-id":"cam-caller-info",sx:{px:2,pt:1.5,pb:.5,flexShrink:0,textAlign:"center","& b":{fontSize:"1.05rem",fontWeight:700},"& .cam-notification-listing-title":{color:"text.secondary",fontSize:"0.875rem"},"& .cam-notification-price":{color:"text.secondary",fontSize:"0.875rem"},"& a":{fontSize:"0.875rem"}}},void 0,(0,o.A)(y.A,{html:e,options:{allowedTags:["b","span","i","em","strong","a","br"],allowedAttributes:{"*":["class","style"],a:["href","name","target"]}}})),x&&a.createElement(a.Fragment,null,(0,o.A)(E.A,{variant:"text",onClick:()=>b(e=>!e),endIcon:f?ee||(ee=(0,o.A)(q.A,{})):te||(te=(0,o.A)(j.A,{})),sx:{alignSelf:"center",textTransform:"none",pb:.5,flexShrink:0}},void 0,"Customer Details"),(0,o.A)(L.A,{in:f,unmountOnExit:!0,"data-test-id":"
1cam-details-scroll",sx:{minHeight:0,overflowY:"auto"}},void 0,(0,o.A)(V,{customer:x}))),!v&&(0,o.A)(O.A,{variant:"body2",align:"center",sx:{color:"warning.main",px:2,pb:1,flexShrink:0}},void 0,"You're offline. Reconnect to accept."),C&&(0,o.A)(O.A,{variant:"body2",align:"center",sx:{color:"error.main",px:2,pb:1,flexShrink:0}},void 0,C),(0,o.A)(g.A,{"data-test-id":"cam-call-actions",sx:{display:"flex",gap:1.5,px:1,pb:1,pt:1,flexShrink:0}},void 0,(0,o.A)(E.A,{variant:"outlined",onClick:r,fullWidth:!0},void 0,"Decline"),(0,o.A)(E.A,{variant:"contained",onClick:()=>{h(),i({micEnabled:s,camEnabled:l})},fullWidth:!0,disabled:!v},void 0,"Accept")))};try{ie.displayName="CamCallNotification"}catch(e){}const oe=ie;var ae=i(82598);const re="nfCamRingTabId",ne="nfCamRingActiveTab",se="nfCamRingHandled",le=()=>{try{let e=sessionStorage.getItem(re);return e||(e=`${Date.now()}-${Math.random().toString(36).slice(2)}`,sessionStorage.setItem(re,e)),e}catch(e){return null}},de=()=>{const e=le();if(e)try{const t=localStorage.getItem(ne);if(t){const[i,o]=t.split("|");if(i===e&&Date.now()-Number(o)<3e4)return}localStorage.setItem(ne,`${e}|${Date.now()}`)}catch(e){}},ce=e=>{try{localStorage.setItem(se,`${e}|${Date.now()}`)}catch(e){}},ue=e=>{try{const t=localStorage.getItem(se);return!!t&&t.split("|")[0]===String(e)}catch(e){return!1}};let me=!1;const pe=(e,t)=>{(0,a.useEffect)(()=>{me||(me=!0,"visible"===document.visibilityState&&de(),document.addEventListener("visibilitychange",()=>{"visible"===document.visibilityState&&de()}),window.addEventListener("focus",de),window.addEventListener("pointerdown",de))},[]),(0,a.useEffect)(()=>{if(null==e)return;const i=document.getElementById("camRingSound");if(!i)return;const o=()=>{i.pause(),i.currentTime=0,i.load()},a=Date.now(),r=()=>{Date.now()-a>=75e3||ue(e)||(i.play().catch(()=>{}),t?.())},n=()=>{"visible"===document.visibilityState&&ue(e)&&o()};i.addEventListener("ended",r),document.addEventListener("visibilitychange",n),!ue(e)&&(()=>{const e=le();if(!e)return!0;try{const t=localStorage.getItem(ne);if(!t)return!0;const[i,o]=t.split("|");return Date.now()-Number(o)>=3e5||i===e}catch(e){return!0}})()&&i.play().catch(()=>{});const s=setTimeout(o,75e3);return()=>{clearTimeout(s),i.removeEventListener("ended",r),document.removeEventListener("visibilitychange",n),o()}},[e])};var he=i(52677),ge=i(18457),ve=i(80057),Ae=i(11215),ye=i(77782),fe=i(70979),be=i(87700),we=i(31993),xe=i(22352),Ce=i(79533),ke=i(89982),Se=i(85481);const _e=e=>{"undefined"!=typeof navigator&&"function"==typeof navigator.setAppBadge&&(e>0?navigator.setAppBadge(e).catch(()=>{}):"function"==typeof navigator.clearAppBadge?navigator.clearAppBadge().catch(()=>{}):navigator.setAppBadge(0).catch(()=>{}))};var Ne,Pe,Te,Fe;function Ie(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}const Ee=new Set(["realtime.new_message_for_sender","text_chat.typing","text_chat.price_updated","text_chat.open_volleys_updated"]),Me=({children:e=null})=>{const t=(0,k._$)().data,{data:i}=(0,k.zg)(),r=i?.currentUser,{data:s}=(0,k.XR)(r?void 0:h.hT),l=(0,m.wA)(),d=(0,n.Zp)(),c=(0,n.zy)(),{subscribe:N,unsubscribe:P,pubNubClient:T}=(0,C.A)(t);_();const F=(0,m.d4)(e=>e.filePlayer?.zipDownloadChannel),I=(0,a.useRef)(),E=(0,a.useRef)(),M=(0,a.useRef)(!1),[O]=(0,z.ym)(),D=(0,a.useRef)(O);D.current=O;const R=(0,m.d4)(be.IN),L=(0,x.u)("REFETCH_ON_FOCUS_RECONNECT_26250"),j=(0,x.u)("CHAT_IN_CAM_25437"),q=(0,m.d4)(e=>!!e.camChat?.open),B=(0,a.useRef)(q);B.current=q;const U=(0,m.d4)(e=>e.nfChat?.currentContact?.other_user?.id??null),$=(0,a.useRef)(U);$.current=U;const W=r?.unread_chat_messages_count;(0,a.useEffect)(()=>{L&&"number"==typeof W&&_e(W)},[L,W]);const G=(0,a.useRef)(R);G.current=R;const[H]=(0,z.hR)(),Y=(0,a.useCallback)(()=>{H().unwrap().then(e=>{const{current:t}=G;t&&(e?.id&&String(e.id)===String(t.videoConferenceId)||l((0,be.QG)()))}).catch(()=>{})},[H,l]);pe(R?.videoConferenceId??null,Y),(0,a.useEffect)(()=>{const e=()=>{if("visible"!==document.visibilityState)return;const{current:e}=G;e&&(ue(e.videoConferenceId)?l((0,be.QG)()):Y())};return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)},[Y,l]);const[V,Q]=(0,a.useState)(ae.w.IDLE),Z=(0,a.useMemo)(()=>({phase:V,setPhase:Q}),[V]),K=(0,a.useRef)(0),X=()=>{K.current=Date.now(),document.getElementById("callAlertSound")?.play().catch(()=>{})},{data:J}=(0,z.zh)(r?.isAdvisor?void 0:h.hT);(0,a.useEffect)(()=>
1{J?.id&&V!==ae.w.PRE_CALL&&V!==ae.w.IN_CALL&&(R||ue(J.id)||l((0,be.Fp)({videoConferenceId:J.id,html:J.notificationHtml})))},[J]);const{data:ee}=(0,k.m2)(L&&r?.isAdvisor?void 0:h.hT);(0,a.useEffect)(()=>{ee?.id&&(p.oR.info((0,o.A)(y.A,{html:ee.notificationHtml,options:{allowedTags:!1,allowedAttributes:!1}}),{toastId:"call_notifier_toast"}),Date.now()-K.current<1e4||X())},[ee]);const te=(0,m.d4)(we.NP),ie=(0,a.useRef)(te);ie.current=te;const re=(0,a.useRef)(0),{data:ne,fulfilledTimeStamp:le,startedTimeStamp:de}=(0,z.rF)(L&&r?void 0:h.hT);(0,a.useEffect)(()=>{le&&(de<re.current||(ne?.id?te?.id!==ne.id&&l((0,we.wp)({id:ne.id,startedAt:ne.startedAt,name:ne.name,photoUrl:ne.photoUrl,isSeeker:ne.isSeeker})):te&&l((0,we.np)())))},[ne,le]),(0,a.useEffect)(()=>(e=>{const t=t=>{t.key===se&&t.newValue&&e(t.newValue.split("|")[0])};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)})(e=>{const{current:t}=G;t&&String(t.videoConferenceId)===String(e)&&l((0,be.QG)())}),[]),(0,a.useEffect)(()=>{const e=c.pathname.match(/^\/cam\/(\d+)(?:\/|$)/)?.[1],t=parseInt(e??new URLSearchParams(c.search).get("video_conference_id"),10),i=null!=R?.videoConferenceId?parseInt(R.videoConferenceId,10):NaN;Number.isFinite(t)&&t===i&&l((0,be.QG)())},[c.search,c.pathname,R]);const me=e=>{if("string"!=typeof e.message||!e.message.includes("<==>"))return!1;const[t,i]=e.message.split("<==>");try{return(0,b.Ev)(t,JSON.parse(i),l)}catch{return!1}},Me=(0,a.useCallback)(e=>{I.current&&I.current(e)},[]);(0,a.useEffect)(()=>{I.current=e=>{const{message:i}=e;switch(i.action){case ge.uG:{const e=i.payload?.available_balance;if("string"==typeof e||"number"==typeof e){const t=String(e);l(k.Ay.util.updateQueryData("getAppConfig",void 0,e=>{e&&(e.available_balance=t,e.availableBalance=t)})),l(k.Ay.util.updateQueryData("getAvailableBalance",void 0,e=>{e&&(e.available_balance=t)})),l((0,fe.G$)({value:t,receivedAt:Date.now()}))}else l((0,k.Xx)([ve.m4,ve.yE]));l((0,Ae.Xx)([Ae.xP,Ae.Gp]));break}case ge.qT:(0,w.LD)()||l((0,xe.s4)((0,ke.A)(i.payload)));break;case ge.do:l((0,k.Xx)([ve.sl]));break;case ge.rg:l((0,ye.a)({hasUnreadMessages:i.payload.has_unread_chat_messages}));break;case ge.tR:l((0,k.Xx)([k.bc]));/^\/messages\/inbox/.test(window.location.pathname)&&l((0,Se.vU)());break;case ge.B4:/^\/messages\/notifications/.test(window.location.pathname)&&l((0,Se.e7)());break;case ge.A4:l((0,A.SD)({flashType:"warning",autoCloseDur:36e5,props:{message:(0,o.A)("div",{className:"container-fluid padding0 paddingtop5"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{className:"col-xs-2",style:{maxWidth:"45px"}},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-nf.svg",alt:"NiteFlirt",style:{marginRight:"10px"}})),(0,o.A)("div",{className:"col-xs-10"},void 0,Ne||(Ne=(0,o.A)("span",{},void 0,"A new version of NiteFlirt is available.")),(0,o.A)("a",{href:"#",onClick:e=>{e.preventDefault(),window.location.reload()},style:{marginLeft:"5px"},role:"button"},void 0,"Refresh"))))}}));break;case ge.c5:{if((0,w.LD)()){if(!j)return;if(i.payload.message.sender_id===t?.current_user_id)return;if(!1===s?.chat_popups_enabled)return;const e=i.payload.message.sender_id;if(B.current&&e===$.current)return;return void l((0,Ce.NA)({name:(0,f.i)(i.payload.contact.other_user.name),kind:i.payload.message.message_class,preview:(0,f.i)(i.payload.message.content_to_show_in_alert||""),senderId:i.payload.message.sender_id}))}if(i.payload.message.sender_id===t?.current_user_id)return;if(!1===s?.chat_popups_enabled)return;let e;switch(i.payload.message.message_class){case"photo_message":e=a.createElement(a.Fragment,null,(0,f.i)(i.payload.contact.other_user.name)," sent you a ",(0,o.A)("a",{href:`/chat/${i.payload.contact.other_user.slug}`}
1,void 0,"photo!"));break;case"gift_message":e=a.createElement(a.Fragment,null,(0,f.i)(i.payload.contact.other_user.name)," sent you a ",(0,o.A)("a",{href:`/chat/${i.payload.contact.other_user.slug}`},void 0,"tribute!"));break;case"gift_request_message":e=a.createElement(a.Fragment,null,(0,f.i)(i.payload.contact.other_user.name)," requested a ",(0,o.A)("a",{href:`/chat/${i.payload.contact.other_user.slug}`},void 0,"tribute!"));break;default:e=a.createElement(a.Fragment,null,"You have a ",(0,o.A)("a",{href:`/chat/${i.payload.contact.other_user.slug}`},void 0,"new chat message")," from ",(0,f.i)(i.payload.contact.other_user.name),":",Pe||(Pe=(0,o.A)("br",{})),(0,f.i)(i.payload.message.content_to_show_in_alert))}const r=j?ie.current:null;r||document.getElementById("newMessageSound").play().catch(()=>{});const n=i.payload.contact.other_user.slug;if(!(0,w.Ig)(n)){const t=r?e=>{e?.preventDefault?.(),l((0,Ce.Pi)()),d(`/cam/${r.id}`)}:void 0;p.oR.info(e,function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Ie(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({autoClose:5e3,pauseOnFocusLoss:!1},t&&{onClick:t}))}break}case ge.$M:{const{has_recipients:e,has_unreachable:t}=i.payload,o=/^\/messages\/sent/.test(window.location.pathname),a=/^\/messages\/notifications/.test(window.location.pathname);e&&o&&l((0,S.Xx)([S.cf])),t&&a&&l((0,S.Xx)([S.D5]));break}case"text_chat.unread_messages_count":L&&_e(i.payload.unread_message_count);break;case ge.bM:if("function"!=typeof window.resubscribeUser){console.warn("users.reset_web_subscription received but window.resubscribeUser is not available");break}if(M.current)break;M.current=!0,Promise.resolve(window.resubscribeUser(!0)).catch(e=>{console.warn("resubscribeUser failed",e)}).finally(()=>{M.current=!1});break;default:if(Ee.has(i.action))break;(e=>{if(!e.message.match||!e.message.match(/^(call|availability|account|cam|webrtc)_\w+/))return!1;const[t,i,a]=e.message.split("<==>",3);switch(t){case ge.br:p.oR.info((0,o.A)(y.A,{html:i,options:{allowedTags:!1,allowedAttributes:!1}}),{toastId:"call_notifier_toast"}),X();break;case ge.v1:{if(V===ae.w.PRE_CALL||V===ae.w.IN_CALL)break;const e=a;if(ue(e))break;l((0,be.Fp)({videoConferenceId:e,html:i}));break}case ge.hB:p.oR.info((0,o.A)(y.A,{html:i,options:{allowedTags:!1,allowedAttributes:!1}}),{toastId:"call_notifier_toast"}),document.getElementById("callFailSound")?.play().catch(()=>{});break;case ge.xM:l((0,k.Xx)([{type:k.Xh}])),a&&l((0,k.Xx)([{type:k.MI,id:a.toLowerCase()},{type:k.yP,id:a.toLowerCase()}]));break;case ge.lD:l((0,k.Xx)([{type:k.Xh}]));break;case ge.tZ:re.current=Date.now(),l((0,be.QG)());try{const e=JSON.parse(i);l((0,we.wp)({id:e.id,startedAt:(0,he.A)(e.startedAt,e.serverNow)?.toISOString()??null,name:e.name,photoUrl:e.photoUrl,isSeeker:e.isSeeker}))}catch(e){}break;case ge.wy:re.current=Date.now(),l((0,be.QG)()),l((0,we.np)()),l((0,k.Xx)([{type:k.Xh}]));break;case ge.fq:re.current=Date.now(),l((0,we.np)()),l((0,k.Xx)([{type:k.Xh}]));break;case ge.Vr:{const e=a,t=(0,he.A)(i,e);t&&l((0,we.dR)(t.toISOString()));break}default:return!1}return!0})(e)||me(e)||console.warn("unhandled pubnub message in PubNubContainer",e)}}},[s,V,L,j]);const Oe=(0,a.useCallback)(e=>{E.current&&E.current(e)},[]);return(0,a.useEffect)(()=>{E.current=e=>{me(e)}},[]),(0,a.useEffect)(()=>{if(T&&!T.dummy)return"string"==typeof F&&F.length>0?(N(F,Oe),()=>{P(F,Oe)}):void 0},[F,T]),(0,a.useEffect)(()=>{if(T&&!T.dummy)return N([t.pubnub_private_updates_channel,t.pubnub_private_chat_channel,t.pubnub_push_notification_channel,t.pubnub_public_channel],Me),()=>{P([t.pubnub_private_updates_channel,t.pubnub_private_chat_channel,t.pubnub_push_notification_channel,t.pubnub_public_channel],Me)}},[T]),(0,o.A)(ae.A.Provider,{value:Z},void 0,e,R&&(0,o.A)(v.A,{},void 0,(0,o.A)(g.A,{sx:{position:"fixed",top:16,right:16,zIndex:1400,width:360}},void 0,(0,o.A)(oe,{html:R.html,videoConferenceId:R.videoConferenceId,onAccept:({micEnabled:e,camEnabled:t})=>{const{videoConferenceId:i}=R;ce(i),l((0,be.QG)()),d(`/cam/${i}`,{state:{micEnabled:e,camEnabled:t,videoConferenceId:i}})},onDecline:()=>{ce(R.videoConferenceId),l((0,be.QG)()),D.current(R.videoConferenceId)}}))),(0,o.A)("audio",{id:"newMessageSound",style:{display:"none"}},void 0,Te||(Te=(0,o.A)("track",{kind:"captions"})),Fe||(Fe=(0,o.A)("source",{src:"/niteflirt/audios/alert_49.mp3",type:"audio/mpeg"}))))};try{Me.displayName="PubNubContainer"}catch(e){}const Oe=Me;var De=i(17418),Re=i(71802),Le=i(9132);const je=[{key:"newyears",start:{month:11,day:31},end:{month:11,day:31},src:"https://niteflirt-assets.s3.us-east-1.amazonaws.com/homepage/rotate-newyears.png"},{key:"newyears",start:{month:0,day:1},end:{month:0,day:2},src:"https://niteflirt-assets.s3.us-east-1.amazonaws.com/homepage/rotate-newyears.png"},{key:"valentines",start:{month:1,day:14},end:{month:1,day:14},src:"https://niteflirt-assets.s3.us-east-1.amazonaws.com/homepage/rotate-valentines.png"},{key:"patricks",start:{month:2,day:17},end:{month:2,day:17},src:"https://niteflirt-assets.s3.us-east-1.amazonaws.com/homepage/rotate-patricks.png"},{key:"fourth",start:{month:6,day:4},end:{month:6,day:4},src:"https://niteflirt-assets.s3.us-east-1.amazonaws.com/homepage/rotate-fourth.png"},{key:"halloween",start:{month:9,day:30},end:{month:9,day:31},src:"https://niteflirt-assets.s3.us-east-1.amazonaws.com/homepage/rotate-halloween.png"},{key:"thanksgiving",start:{month:10,day:25},end:{month:10,day:27},src:"https://niteflirt-assets.s3.us-east-1.amazonaws.com/homepage/rotate-thanksgiving.png"},{key:"holiday",start:{month:11,day:24},end:{month:11,day:27},src:"https://niteflirt-assets.s3.us-east-1.amazonaws.com/homepage/rotate-holiday.png"}];const qe=a.memo(()=>{const e=function(e=new Date){const t=e.getMonth(),i=e.getDate();return je.find(({start:e,end:o})=>{const a=t>e.month||t===e.month&&i>=e.day,r=t<o.month||t===o.month&&i<=o.day;return a&&r})||null}();return e?(0,o.A)("div",{className:"nfp-rotate"},void 0,(0,o.A)("img",{src:e.src,width:40,height:40,alt:"",loading:"lazy",decoding:"async"})):null});try{qe.displayName="SeasonalRotation"}catch(e){}const Be=qe;var ze,Ue=i(54869);const $e=()=>{const[e,t]=(0,a.useState)(""),[i,r]=(0,a.useState)(!1),[n,s]=(0,a.useState)(!1),l=(0,a.useRef)(null),d=e=>{s(l.current?.contains(e.target))};return(0,a.useEffect)(()=>(document.addEventListener("mousedown",d),()=>{document.removeEventListener("mousedown",d)}),[]),a.createElement(g.A,{ref:l},(0,o.A)("form",{name:"form1",id:"global_search_form",action:"/search",acceptCharset:"UTF-8",method:"get"},void 0,(0,o.A)("input",{name:"text",size:"14",maxLength:"100",id:"searchinput",className:"searchfield",style:{verticalAlign:"middle"},type:"text",autoComplete:"off",onChange:e=>{const i=e.target.value;if(t(i),"Enter"===e.key){return void document.getElementById("global_search_form").submit()}clearTimeout(window.fetchSearchResults),window.fetchSearchResults=setTimeout(()=>{i.length<3?r(!1):fetch(`/search/realtime/${encodeURIComponent(i)}`).then(e=>e.text()).then(r).catch(e=>{r(!1)})},500)},value:e}),ze||(ze=(0,o.A)("input",{id:"btn-search-icon",name:"Send",type:"button"}
1))),n&&i&&(0,o.A)(y.A,{html:i,preset:"broad"}))};try{$e.displayName="HeaderSearchContainer"}catch(e){}const We=$e;var Ge;const He=({disableLogo:e=!1})=>{const t=Ge||(Ge=(0,o.A)("img",{src:"https://niteflirt-assets.s3.amazonaws.com/homepage/niteflirt-logo-mob.png",alt:"NiteFlirt",fetchpriority:"high"}));return(0,o.A)("header",{},void 0,(0,o.A)("div",{className:"container-max"},void 0,(0,o.A)("div",{className:"container-header"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-sm-12 start-sm col-xs-12 center-xs"},void 0,(0,o.A)("div",{className:"container-fluid"},void 0,(0,o.A)("div",{className:"row start-sm middle-xs around-xs"},void 0,(0,o.A)("div",{className:"nfp-logo-container"},void 0,e?t:(0,o.A)(s.N_,{title:"NiteFlirt",to:"/",role:"link",tabIndex:0},void 0,t)))))))))};try{He.displayName="SimpleHeader"}catch(e){}const Ye=He;var Ve,Qe,Ze,Ke,Xe,Je,et,tt,it,ot,at=i(49643);const rt=(0,Re.Ay)(Le.A)(()=>({"&.MuiSvgIcon-root ":{color:"white",width:"30px",height:"30px",cursor:"pointer"}})),nt=({hideNav:e=!1})=>{const t=(0,n.zy)(),{pathname:i}=t,r=(0,a.useContext)(Ue.A),l=r?.toggleExpandedNav||(()=>{}),d=(0,w.OX)(i),c=(0,w.I$)(i)||(0,w.LD)(i)||(0,w.$3)(i)||(0,w.VF)(i)||d,[u,m]=(0,a.useState)(!1),p=(0,k._$)().data,h=(0,k.zg)().data,g=h?.current_user,{subscribe:v,unsubscribe:A,pubNubClient:y}=(0,C.A)(p),f=(0,a.useRef)(),b=g?.isAdvisor&&!g?.isChatEnabled,S=(0,x.u)("CHAT_UI_22402",{pending:!0}),_=(0,x.u)("ADVISOR_ACCOUNT_22474",{pending:!0})&&!at.A.hasCookie("advisor_account_22474_off");(0,a.useEffect)(()=>{f.current=e=>{if(e.message.action!==ge.rg)return;const t=e.message.payload.has_unread_chat_messages;m(t)}},[]);const N=(0,a.useCallback)(e=>{f.current&&f.current(e)},[]);return(0,a.useEffect)(()=>{if(y&&!y.dummy)return v(p.pubnub_private_chat_channel,N),()=>{A(p.pubnub_private_chat_channel,N)}},[y]),(0,a.useEffect)(()=>{g&&m(g.hasUnreadChatMessages)},[g]),c?(0,o.A)(Ye,{disableLogo:d}):(0,o.A)("header",{},void 0,(0,o.A)("div",{className:"container-max"},void 0,(0,o.A)("div",{className:"container-header","data-test-id":"main-header"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-sm-12 start-sm col-xs-12 center-xs"},void 0,(0,o.A)("div",{className:"container-fluid"},void 0,(0,o.A)("div",{className:"row start-sm middle-xs around-xs",style:{position:"relative"}},void 0,!e&&(0,o.A)("div",{className:"nav-hamburger"},void 0,(0,o.A)(rt,{sx:{display:{xs:"block",md:"none"}},tabIndex:0,onClick:l})),(0,o.A)("div",{className:"nfp-logo-container"},void 0,(0,o.A)(W.A,{direction:"row"},void 0,(0,o.A)(s.N_,{title:"NiteFlirt",to:e?null:"/",role:"link",tabIndex:0,reloadDocument:"/"===i},void 0,Ve||(Ve=(0,o.A)("img",{src:"https://niteflirt-assets.s3.amazonaws.com/homepage/niteflirt-logo-mob.png",alt:"NiteFlirt",fetchpriority:"high"}))),Qe||(Qe=(0,o.A)(Be,{})))),!e&&(0,o.A)("div",{id:"box-menu"},void 0,(0,o.A)("ul",{},void 0,Ze||(Ze=(0,o.A)("li",{className:"btn_find"},void 0,(0,o.A)(s.N_,{title:"Phone Sex",to:"/search",role:"link",tabIndex:0},void 0,"PHONE SEX"),(0,o.A)("span",{}))),(0,o.A)("li",{className:"btn_chat"},void 0,u&&(Ke||(Ke=(0,o.A)("div",{className:"chat-dot","data-test-id":"unread-messages-indicator"}))),a.createElement(s.N_,(0,De.A)({title:"Chat",to:g?b?"/chat/enrollment":g.redirectToChatBrowse?"/chat/browse":"/chat":"/chat/browse"},(!S||b)&&{reloadDocument:!0},{role:"link",tabIndex:0}),"CHAT"),Xe||(Xe=(0,o.A)("span",{}))),Je||(Je=(0,o.A)("li",{className:"btn_goody_search"},void 0,(0,o.A)(s.N_,{title:"Goodies",to:"/goody/search#recent_additions",role:"link",tabIndex:0},void 0,"GOODIES"),(0,o.A)("span",{}))),et||(et=(0,o.A)("li",{className:"btn_feeds"},void 0,(0,o.A)(s.N_,{title:"Feeds",to:"/feed/explore",role:"link",tabIndex:0},void 0,"FEEDS"),(0,o.A)("span",{}))),(0,o.A)("li",{className:"btn_account"},void 0,(0,o.A)(s.N_,{title:"Account",to:"/account",reloadDocument:"/account"===i||!(!g?.isAdvisor||_),role:"link",tabIndex:0},void 0,"ACCOUNT"),tt||(tt=(0,o.A)("span",{}))),it||(it=(0,o.A)("li",{className:"search"},void 0,(0,o.A)(We,{}))),ot||(ot=(0,o.A)("li",{},void 0,(0,o.A)("span",{}))))))))))))};try{nt.displayName="Header"}catch(e){}const st=nt;var lt,dt=i(29508);const ct=()=>lt||(lt=(0,o.A)(dt.A,{},void 0,(0,o.A)("div",{},void 0,"Chat")));try{ct.displayName="Chat"}catch(e){}const ut=ct;var mt,pt,ht,gt,vt,At,yt,ft,bt=i(13976),wt=i(7079),xt=i.n(wt),Ct=i(68745),kt=i(74387),St=i(62551),_t=(i(3880
1),i(17354)),Nt=i(54381);const Pt=({closeModal:e,closeAllModals:t,mode:i,image:r,advisor:n={},selectedAlbum:s,fmToken:l,setDenyCloseModalRequests:d,filesUploaderUrl:c})=>{const u=(0,a.useRef)(),m=(0,a.useRef)(),p=(0,a.useRef)(),h=(0,a.useRef)("image/jpeg"),[v,A]=(0,a.useState)(""),[y,f]=(0,a.useState)(),[b,w]=(0,a.useState)(""),[x,C]=(0,a.useState)(!1),[k,S]=(0,a.useState)(),[_,N]=(0,a.useState)([]),[P,{status:T,error:F}]=(0,Nt.U)();(0,a.useEffect)(()=>{"fulfilled"===T&&t()},[T]),(0,a.useEffect)(()=>{w(F?.data?.errors)},[F]);const I=e=>{d(!0),C(!0);const t=p.current.split("."),o=t.pop(),a=t.join("."),r="avatar"===i?`${a}_avatar.${o}`:`${a}_cover.${o}`,n=new FormData;return n.append("item[seller_album_id]",s.value),n.append("item[file]",e,r),n.append("create_or_return_duplicate_file",!0),n.append("token",l),n.append("upload_from","nf_plus"),xt()({method:"POST",url:c,data:n,withCredentials:!0,headers:{"Content-Type":"multipart/form-data"}}).then(e=>{E(e.data?.id),e.data?.error_messages.length>0&&N(e.data.error_messages),d(!1),C(!1)}).catch(e=>{C(!1),e.response?w(e.response.data.error):w(e.message)})},E=e=>{P({fmId:e,userId:n.id,type:i})};(0,a.useEffect)(()=>{if(r.hasOwnProperty("url")){A(r.url);const e=r.file_name.replace(/\.[^/.]+$/,"");p.current=`${e}.jpg`}else{p.current=r.name;const e=new FileReader;e.addEventListener("load",()=>{A(e.result?.toString()||"")}),h.current=r.type,e.readAsDataURL(r)}}),(0,a.useEffect)(()=>{const e=setTimeout(()=>{k?.width&&k?.height&&m.current&&u.current&&(0,_t.d)(m.current,u.current,k)},100);return()=>{clearTimeout(e)}});const M="avatar"===i,O="avatar"===i?1:16/6,D={objectFit:"contain",width:"avatar"===i?"150px":"300px",height:"avatar"===i?"150px":"111px",borderRadius:"avatar"===i?"50%":"0%"},R={maxWidth:"avatar"===i?"270px":"300px",maxHeight:"400px"},L=b&&(0,o.A)("div",{className:"text-error"},void 0,b),j=_.length>0&&(0,o.A)(g.A,{sx:{fontSize:"0.9em",color:"#8a1f11",backgroundColor:"#ffcdcc",padding:"20px",marginBottom:"10px"}},void 0,gt||(gt=a.createElement(a.Fragment,null,"We're sorry, the following file could not be uploaded:",(0,o.A)("br",{}))),(0,o.A)("ul",{style:{margin:"10px 0 0 15px",padding:0}},void 0,_.map(e=>(0,o.A)("li",{style:{marginBottom:"10px"}},e,e))));return(0,o.A)("div",{"data-test-id":"preview-image-modal"},void 0,vt||(vt=(0,o.A)("div",{className:"modal-header"},void 0,(0,o.A)("h4",{},void 0,"Preview Image"))),(0,o.A)("div",{className:"modal-body"},void 0,L,(0,o.A)("div",{className:"container-fluid padding-0-8 margintop20"},void 0,At||(At=(0,o.A)("div",{className:"row center-xs marginbot20"},void 0,(0,o.A)("div",{className:"col-sm-12 start-sm col-xs-12 start-xs padding0"},void 0,"Drag to move the image or crop to adjust the size. Please follow ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/articles/212830688-NiteFlirt-Rules",target:"_blank",rel:"noreferrer"},void 0,"NiteFlirt Rules"),"."))),(0,o.A)("div",{className:"row center-xs marginbot20"},void 0,(0,o.A)("div",{className:"col-sm-6 col-xs-12"},void 0,(0,o.A)(St.Ay,{aspect:O,crop:y,circularCrop:M,keepSelection:!0,onChange:e=>f(e),onComplete:e=>S(e),style:R},void 0,a.createElement("img",{ref:m,src:v,onLoad:e=>{const{naturalWidth:t,naturalHeight:o}=e.currentTarget;let a;a="avatar"===i?(0,St.ge)((0,St.dS)({unit:"%",width:50},1,t,o),t,o):(0,St.ge)((0,St.dS)({unit:"%",width:90},16/6,t,o),t,o),f(a),S(a)},crossOrigin:"anonymous"}))),(0,o.A)("div",{className:"col-sm-6 col-xs-12"},void 0,(0,o.A)("div",{className:"aci-preview-container"},void 0,yt||(yt=(0,o.A)("div",{className:"aci-title"},void 0,"Preview")),(()=>{if(k)return"avatar"===i?a.createElement("canvas",{ref:u,style:D}):(0,o.A)("div",{className:"aci-cropPreview-container"},void 0,a.createElement("canvas",{ref:u,style:D}),(0,o.A)("div",{className:"aci-cropPreview-overlay"},void 0,(0,o.A)("div",{className:"container-fluid aci-items"},void 0,(0,o.A)("div",{className:"row"},void 0,mt||(mt=(0,o.A)("div",{},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/ico-no-photo.png",alt:"",className:"aci-no-photo"}))),(0,o.A)("div",{className:"container-fluid"},void 0,(0,o.A)("div",{className:"row start-xs aci-login"},void 0,n.login?n.login:"Flirt"),pt||(pt=(0,o.A)("div",{className:"row start-xs"},void 0,(0,o.A)("div",{className:"aci-icon"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-top-tribute.svg",alt:""})),(0,o.A)("div",{className:"aci-icon"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-top-chat.svg",alt:""})),(0,o.A)("div",{className:"aci-icon"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-top-call.svg",alt:""})),(0,o.A)("div",{className:"aci-icon"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/btn-follow.svg",alt:""}))))))),ht||(ht=(0,o.A)("div",{className:"aci-opacity"},void 0," "))))})()))))),ft||(ft=(0,o.A)("div",{className:"aci-spacer"})),j,(0,o.A)("div",{className:"modal-footer"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,className:"btn secondary",onClick:e},void 0,"Cancel"),(0,o.A)("button",{type:"button",className:"btn btn-submit "+(x?"submitting":""),onClick:()=>
1{if(!u.current)throw new Error("Crop preview does not exist");u.current.toBlob(e=>{if(!e)throw new Error("Failed to create blob");I(e)},h.current,1)},disabled:x},void 0,"Save")))};try{Pt.displayName="ProfileImageModal"}catch(e){}const Tt=Pt;var Ft=i(63593),It=i(98013),Et=i(36534),Mt=i(36806),Ot=i(71568),Dt=i(22131);const Rt=e=>e?.watermark_text;var Lt,jt,qt;const Bt=({currentUser:e,toggleTip:t,tipOpen:i,setButtonRef:r,setTipContentRef:n})=>(0,o.A)(Ot.A,{content:a.createElement("div",{ref:e=>n(e),className:"nfp-tooltip"},(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-11"},void 0,(0,o.A)("div",{className:"menu-text"},void 0,Lt||(Lt=(0,o.A)("div",{className:"subhead"},void 0,"Your Watermark")),Rt(e))),(0,o.A)("div",{className:"col-xs-1 end-xs"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:t},void 0,jt||(jt=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",className:"marginlftminus5",alt:"close"})))))),isOpen:i,tagName:"span",direction:"down",forceDirection:!0},void 0,a.createElement("a",{role:"link",tabIndex:0,ref:e=>r(e),onClick:t},qt||(qt=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-info.svg",className:"marginlft8 margintop4",alt:"info"}))));try{Bt.displayName="UploadWatermarkTooltip"}catch(e){}const zt=(0,Dt.A)(Bt);var Ut,$t,Wt,Gt=i(7133),Ht=i(77806);const Yt=()=>{const{openNativeFileDialog:e,albumsQuery:t,selectedAlbum:i,setSelectedAlbum:r,onFilesSelected:n,filesToUpload:s,onRemoveUploadClick:l,uploadInProgress:d,updateIndividualFileData:c,currentUser:u,watermarkCheckbox:m,profileImageMode:p}=(0,a.useContext)(Ft.A),h=t=>{t.preventDefault(),e()};return a.createElement(a.Fragment,null,p?(0,o.A)("input",{type:"file",id:"fileInput",name:"files[]",accept:"image/jpeg,image/pjpeg,image/png",onChange:n,style:{opacity:0,display:"none"}}):(0,o.A)("div",{},void 0,(0,o.A)("div",{className:"container-fm-folders"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,Ut||(Ut=(0,o.A)("div",{className:"col-sm-2 start-sm col-xs-4 center-xs"},void 0,"Upload to:")),(0,o.A)("div",{className:"col-sm-5 col-xs-8"},void 0,(0,o.A)(Et.A,{albumsQuery:t,value:i,onChange:r,disabled:d})))),(0,o.A)("div",{className:"container-fluid padding-0-8 marginbot10"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{className:"col-sm-3 col-xs-5"},void 0,(0,o.A)("a",{href:"#",className:"select-link "+(d?"disabled":""),onClick:h},void 0,$t||($t=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-add-blue.svg",alt:"+",className:"select-plus"})),"Select Files")),(0,o.A)("div",{className:"col-sm-5 col-xs-7 paddinglft25"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{},void 0,(0,o.A)("label",{className:"checkbox-container"},void 0,"Add watermark",a.createElement("input",{ref:m,type:"checkbox",defaultChecked:!0,disabled:d}),(0,o.A)("span",{className:"checkmark "+(d?"disabled":"")}))),(0,o.A)("div",{},void 0,(0,o.A)(zt,{currentUser:u})),(0,o.A)("input",{type:"file",id:"fileInput",name:"files[]",multiple:"multiple",accept:"image/*,video/*,audio/*",onChange:n,style:{opacity:0,display:"none"}})))))),(0,o.A)("div",{className:"container-fluid fm-scrolling1"},void 0,s&&s.length>0&&s.map(e=>e.uploadResponse?e.uploadFailed?(0,o.A)(Gt.A,{fileName:e.file.name,errorMessage:e.uploadResponse},e.file.name):(0,o.A)(Ht.A,{fileName:e.file.name},e.file.name):(0,o.A)(Mt.A,{file:e,onRemoveClick:l,updateIndividualFileData:c,uploadInProgress:d},e.file.name)),(!s||0===s.length)&&(0,o.A)("div",{className:"row center-xs margintop40"},void 0,(0,o.A)("a",{href:"#",className:"select-link big "+(d?"disabled":""),onClick:h},void 0,Wt||(Wt=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-add-blue.svg",alt:"+",className:"select-plus"})),"Select Files"))))};try{Yt.displayName="UploadFilesTab"}catch(e){}const Vt=Yt;var Qt,Zt,Kt,Xt;const Jt=({uploadInProgress:e,cancelClick:t})=>(0,o.A)("a",{role:"button",tabIndex:0,className:"btn secondary btn-cancel "+(e?"disabled":""),onClick:()=>{e||t()}},void 0,"Cancel");try{Jt.displayName="CancelButton"}catch(e){}const ei=({uploadInProgress:e,addToPostClick:t})=>(0,o.A)("button",{type:"button",disabled:e,className:"btn "+(e?"disabled":""),onClick:()=>{e||t()}},void 0,"Add to Post");try{ei.displayName="AddToPostButton"}catch(e){}const ti=({uploadInProgress:e,closeModal:t})=>(0,o.A)("button",{type:"button",disabled:e,className:"btn "+(e?"disabled":""),onClick:()=>{e||t()}},void 0,"Close");try{ti.displayName="CloseButton"}catch(e){}const ii=()=>{const{closeModal:e,currentTab:t,setCurrentTab:i,cancelClick:r,addToPostClick:n,uploadInProgress:s,anyUploadErrors:l,profileImageMode:d}=(0,a.useContext)(Ft.A);return(0,o.A)("div",{"data-test-id":"add-media-modal",className:"nfp-modal"},void 0,(0,o.A)("div",{className:"modal-content"},void 0,(0,o.A)("div",{className:"modal-close-container"},void 0,(0,o.A)("a",{href:"#",onClick:t=>{t.preventDefault(),e()}},void 0,Qt||(Qt=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",className:"modal-close",alt:"close"})))),Zt||(Zt=(0,o.A)("div",{className:"modal-header"},void 0,(0,o.A)("h4",{},void 0,"Select Files"))),(0,o.A)("div",{className:"modal-body",style:{margin:"0 -20px"}},void 0,(0,o.A)("div",{className:"container-summary"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{className:"col-sm-4 col-sm-offset-2 col-xs-5 col-xs-offset-1 center-xs summary-tab "+(t===Ct.vQ?"active":""),role:"link",tabIndex:0,onClick:()=>{s||i(Ct.vQ)}},void 0,"File Manager"),(0,o.A)("div",{className:"col-sm-4 col-xs-5 center-xs summary-tab "+(t===Ct.ec?"active":""),role:"link",tabIndex:0,onClick:()=>{s||i(Ct.ec)}},void 0,"Upload"))),t===Ct.vQ&&(Kt||(Kt=(0,o.A)(It.A,{}))),t===Ct.ec&&(Xt||(Xt=(0,o.A)(Vt,{})))),(0,o.A)("div",{className:"modal-footer"},void 0,!l&&a.createElement(a.Fragment,null,(0,o.A)(Jt,{uploadInProgress:s,cancelClick:r}),!d&&(0,o.A)(ei,{addToPostClick:n,uploadInProgress:s})),l&&(0,o.A)(ti,{uploadInProgress:s,closeModal:e}))))};try{ii.displayName="AddMediaModal"}catch(e){}const oi=ii;var ai;function ri(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}const ni=({closeModal:e,closeAllModals:t,setDenyCloseModalRequests:i,selectedItems:r,setSelectedItems:n,freePost:s=!1,advisor:l=null,profileImageMode:d="",onImageUploaded:c=null})=>{const[m,p]=(0,a.useState)(!1),[h,g]=(0,a.useState)(!1),[v,A]=(0,a.useState)(!1),[y,f]=(0,a.useState)(Ct.vQ),[b,w]=(0,a.useState)(null),[x,C]=(0,a.useState)(r),[S,_]=(0,a.useState)([]),N=(0,k.zg)(),P=(0,k.wo)(),T=P?.data?.fm_token,F=N?.data?.current_user,I=N?.data?.f
1ile_uploader_url,E=(0,kt.oZ)(),M=E?.data,O=(0,a.useRef)(),{openModal:D}=(0,a.useContext)(bt.A),R=e=>!!x.find(t=>t.fm_item_id===e.id),L=({fileName:e,key:t,value:i})=>{const o=S.findIndex(t=>t.file.name===e),a=S[o];a[t]=i,S.splice(o,1,function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?ri(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ri(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({},a)),_([...S])},j=()=>!S.some(e=>e.uploadFailed);(0,a.useEffect)(()=>{if(m){const t=[...S.map(e=>e.uploadFailed?null:{item_type:e.uploadResponse.item_type,url:e.uploadResponse.thumbnail_url,fm_item_id:e.uploadResponse.id,id:e.uploadResponse.id,file_name:e.uploadResponse.file_name}).filter(e=>e),...x];n(t),j()&&e()}},[m]);const q=i=>{(i=>{D({component:Tt,props:{closeModal:e,closeAllModals:t,advisor:l,currentUser:F,mode:d,image:i,selectedAlbum:b,fmToken:T,filesUploaderUrl:I,onImageUploaded:c},willNotCloseLowerModals:!0})})(i)};(0,a.useEffect)(()=>{if(M&&!b){const e=M.find(e=>/Default/.test(e.title))||M[0];w({value:e.id,label:e.title})}},[M]);const B={openNativeFileDialog:()=>{h||document.getElementById("fileInput").click()},closeModal:e,currentTab:y,setCurrentTab:f,albumsQuery:E,selectedAlbum:b,setSelectedAlbum:w,toggleSelectedItem:(e,t)=>{const i=(e=>({id:e.id,fm_item_id:e.id,url:e.thumbnail_url,item_type:e.item_type,file_name:e.file_name||e.filename}))(e);if(t){if(R(i))return;d?q(i):C(x.concat(i))}else d?q(i):C(x.filter(e=>e.fm_item_id!==i.fm_item_id))},onFilesSelected:e=>{const t=Array.from(e.target.files).map(e=>({file:e,bytesLoaded:0,bytesTotal:e.size,previewRendered:!1,uploadResponse:null}));d?q(e.target.files[0]):_([...t,...S])},cancelClick:()=>{h||(n(r),e())},addToPostClick:()=>{h||(y===Ct.vQ?(n(x),e()):(()=>{if(h)return;g(!0),i(!0);const e=S.map(e=>{const t=e.file.name,i=new FormData;return i.append("item[seller_album_id]",b.value),i.append("item[file]",e.file),i.append("create_or_return_duplicate_file",!0),i.append("token",T),i.append("upload_from","nf_plus"),O.current.checked&&!d&&(i.append("watermark_text",Rt(F)),i.append("signed_watermark_text",(e=>e?.signed_watermark_text)(F))),xt()({method:"POST",url:I,data:i,withCredentials:!0,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:e=>{L({fileName:t,key:"bytesLoaded",value:e.loaded})}}).then(e=>{L({fileName:t,key:"uploadResponse",value:e.data}),e.data.error_messages.length>0&&(L({fileName:t,key:"uploadResponse",value:e.data.error_messages.join(",")}),L({fileName:t,key:"uploadFailed",value:!0}))}).catch(e=>{L({fileName:t,key:"uploadResponse",value:e?.response?.data?.error_messages?.join(",")}),L({fileName:t,key:"uploadFailed",value:!0})})});Promise.all(e).then(()=>{g(!1),i(!1),p(!0),j()||A(!0)})})())},filesToUpload:S,setFilesToUpload:_,isChecked:R,onRemoveUploadClick:e=>{if(h)return;const t=S.filter(t=>e.currentTarget.dataset.filename!==t.file.name);_(t)},filesUploaderUrl:I,fmToken:T,uploadInProgress:h,updateIndividualFileData:L,currentUser:F,watermarkCheckbox:O,anyUploadErrors:v,freePost:s,profileImageMode:d};return(0,o.A)(Ft.A.Provider,{value:B},void 0,ai||(ai=(0,o.A)(oi,{})))};try{ni.displayName="MediaModalContainer"}catch(e){}const si=ni;var li,di,ci,ui,mi,pi,hi,gi,vi,Ai,yi,fi,bi,wi=i(10037),xi=i(21067),Ci=i(92701),ki=i(85639);const Si=({body:e,setBody:t,paidBody:i,setPaidBody:r,freePost:s,freePostChanged:l,showPaidCaption:d,setShowPaidCaption:c,openSelectFilesModal:u,subscriberPost:m,subscriberPostChanged:p,errors:h={},onSubmit:g,hasSelectedItems:v,SortableMediaUI:A,onboardingComplete:y,fetchingCreatePost:f=!1,openSchedulingModal:b,scheduledAt:w=null,removeSchedule:x,timezone:C,hasPaymentButtons:k,openPaymentButtonsModal:S,hasGoodyBags:_,openGoodyBagsModal:N,currentUser:P})=>{const{login:T}=(0,n.g)(),F=(0,n.RQ)(`/${T}/feed/create_post`),I=s?"Compose new caption":"Compose public caption",E=(0,o.A)("div",{className:"row margintop20 marginbot20"},void 0,(0,o.A)("div",{className:"col-xs-12"},void 0,(0,o.A)("div",{className:"container-fluid padding-0-8"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12"},void 0,(0,o.A)("h2",{style:{fontSize:"1.5em",fontWeight:"300"}},void 0,"Create Your First Post"))),(0,o.A)("div",{className:"row middle-xs"},void 0,li||(li=(0,o.A)("div",{className:"col-xs-10"},void 0,"Your first Subscriber post will be visible to current & future subscribers. We recommend you create at least 10 like this.")),(0,o.A)("div",{className:"col-xs-2 center-xs"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-present.svg",alt:"Subscriber Post",style:{width:"40px"}})))))),M=a.createElement(a.Fragment,null,w&&(0,o.A)("div",{className:"body-alert general margintop20"},void 0,(0,o.A)("div",{className:"container-fluid padding-0-8"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{className:"col-xs-11"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,di||(di=(0,o.A)("div",{className:"paddinglft5 paddingrgt10"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-posts-queue.svg",alt:"Posts Queue"}))),(0,o.A)("div",{},void 0,(0,o.A)("a",{href:"#",onClick:e=>{e.preventDefault(),b(w)}},void 0,"Scheduled for ",ki.c9.fromISO(w).setZone(C).toLocaleStr
1ing(ki.c9.DATETIME_MED))))),(0,o.A)("div",{className:"col-xs-1 end-xs padding0"},void 0,(0,o.A)("a",{href:"#",onClick:e=>{e.preventDefault(),x()}},void 0,ci||(ci=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-trashcan.svg",title:"Remove Schedule",alt:"Remove Schedule",className:"ico-delete"}))))))),ui||(ui=(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12 start-xs margintop20"},void 0,(0,o.A)("div",{className:"subhead"},void 0,"Post Type"),(0,o.A)("br",{})))),(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12 start-xs"},void 0,(0,o.A)("div",{className:"padding-0-8"},void 0,(0,o.A)("div",{},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{},void 0,(0,o.A)("label",{className:"radio-container marginbot10 "+(!s&&v?"is-disabled":"")},void 0,"Free Post",(0,o.A)("span",{style:{color:"#666",marginLeft:"5px"}},void 0,"(No nudity)"),(0,o.A)("input",{type:"radio",checked:s,name:"freeOrSubscriber",value:"free",onChange:l,disabled:!s&&v}),mi||(mi=(0,o.A)("span",{className:"checkmark"})))),pi||(pi=(0,o.A)("div",{},void 0,(0,o.A)(wi.A,{},void 0,"Free Posts are visible to everyone."))))),(0,o.A)("div",{className:"row margintop20"},void 0,(0,o.A)("div",{},void 0,(0,o.A)("label",{className:"radio-container marginbot10 "+(s&&v?"is-disabled":"")},void 0,"Subscriber Post",(0,o.A)("input",{type:"radio",checked:!s,name:"freeOrSubscriber",value:"subscriber",onChange:l}),hi||(hi=(0,o.A)("span",{className:"checkmark"})))),gi||(gi=(0,o.A)("div",{},void 0,(0,o.A)(wi.A,{},void 0,"Subscriber Posts are only visible to current subscribers.")))),!s&&(0,o.A)("div",{className:"row marginlft25"},void 0,(0,o.A)("div",{},void 0,(0,o.A)("label",{className:"checkbox-container marginbot10",style:{color:s?"#999":"black"}},void 0,"Hide from future subscribers",(0,o.A)("input",{type:"checkbox",name:"subscriberPost",checked:m,disabled:s,onChange:p}),vi||(vi=(0,o.A)("span",{className:"checkmark"})))),Ai||(Ai=(0,o.A)("div",{},void 0,(0,o.A)(wi.A,{},void 0,"If checked, this post will be excluded from your back-catalog, meaning future subscribers won't see it.")))))))),O=(0,o.A)("button",{type:"submit",className:"btn btn-submit "+(f?"submitting":""),onClick:g,disabled:!e&&!i&&!v||f},void 0,""+(w?"Schedule":"Post")),D=a.createElement(a.Fragment,null,(0,o.A)("div",{className:"row margintop20"},void 0,!d&&!s&&(0,o.A)("div",{className:"col-xs-12",style:{textAlign:"right"}},void 0,(0,o.A)("a",{role:"link",tabIndex:"0",onClick:()=>{c(!0)}},void 0,"Add Subscriber Caption"))),(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12"},void 0,(0,o.A)(xi.A,{body:e,setBody:t,errors:h?.body,label:I,hasPaymentButtons:k,openPaymentButtonsModal:S,hasGoodyBags:_,openGoodyBagsModal:N,currentUser:P}))),!s&&d&&(0,o.A)("div",{className:"row margintop20"},void 0,(0,o.A)("div",{className:"col-xs-12"},void 0,(0,o.A)(xi.A,{body:i,setBody:r,isPaidBody:!0,errors:[h?.paid_body,h?.base].flatMap(e=>e).filter(e=>e),label:"Compose subscriber-only caption",openPaymentButtonsModal:S,hasPaymentButtons:k,hasGoodyBags:_,openGoodyBagsModal:N,currentUser:P})))),R=(0,o.A)("a",{href:"#",onClick:e=>{e.preventDefault(),w||b()},className:""+(w?"disabled":"")},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-posts-queue-20.svg",alt:"Posts Queue",className:"marginlft10 "+(w?"disabled":"")})),L=(0,o.A)("a",{href:"#",onClick:e=>{e.preventDefault(),u()}},void 0,yi||(yi=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-image2.svg",alt:"Add Content",className:"marginrgt10"})));return a.createElement(a.Fragment,null,!F&&(fi||(fi=(0,o.A)(Ci.A,{title:"Add Post"}))),(0,o.A)("div",{className:"container-fluid padding20 paddingtop0 max700left"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12 start-xs"},void 0,(0,o.A)("div",{className:"container-form"},void 0,y?M:E,D,bi||(bi=(0,o.A)("div",{className:"row margintop10"},void 0,(0,o.A)("div",{className:"col-xs-12"},void 0,(0,o.A)("div",{className:"delim"})))),(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12 start-xs"},void 0,A)),(0,o.A)("div",{className:"row margintop20 marginbot300"},void 0,(0,o.A)("div",{className:"col-sm-6 start-sm col-xs-6 start-xs margintop12"},void 0,u&&L,y&&R),(0,o.A)("div",{className:"col-sm-6 end-sm col-xs-6 end-xs form-buttons"},void 0,O)))))))};try{Si.displayName="CreatePost"}catch(e){}const _i=Si;var Ni,Pi,Ti,Fi,Ii=i(57741),Ei=i(65697),Mi=i(23913),Oi=i(14492),Di=i(67049),Ri=i(85446);const Li=({item:e,index:t})=>{const{attributes:i,listeners:r,setNodeRef:n,transform:s,transition:l}=(0,Mi.gl)({id:e.id}),d={transform:Di.Ks.Transform.toString(s),transition:l}
1,c="video"===e.item_type?Oi.d:Oi.D;return a.createElement("div",(0,De.A)({"data-id":e.id,className:"prev-outer",ref:n,style:d},i,r),(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{className:"col-xs-9 start-xs padding0"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,Ni||(Ni=(0,o.A)("div",{className:"ico-draggable"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-draggable.svg",alt:"Drag to reorder"}))),(0,o.A)("div",{className:"padding5"},void 0,t+1),(0,o.A)("div",{className:"padding1"},void 0,(0,o.A)(wi.A,{},void 0,Pi||(Pi=(0,o.A)("p",{},void 0,(0,o.A)("b",{},void 0,"Filename:"))),(0,o.A)("p",{},void 0,e.file_name),Ti||(Ti=(0,o.A)("p",{},void 0,"Media may be subject to further review.")))))),Fi||(Fi=(0,o.A)("div",{className:"col-xs-3 end-xs padding0"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-remove.svg",className:"ico-remove",alt:"Remove",cursor:"pointer"})))),(0,o.A)("div",{className:"prev-inner",style:{backgroundImage:(0,Ri.T)(e.url)}},void 0,(0,o.A)("img",{style:{display:"none"},src:e.url,alt:e.description,onError:e=>{e.currentTarget.src=c,e.currentTarget.style.display="block"}})))};try{Li.displayName="SortableItem"}catch(e){}const ji=({items:e=[],setItems:t})=>{if(0===e?.length)return null;let i=0;e&&(i=220*e.length);const a=Ii.Fr?Ei.IG:Ei.AN,r=(0,Ei.FR)((0,Ei.MS)(a));return(0,o.A)(Ei.Mp,{sensors:r,collisionDetection:Ei.fp,onDragEnd:i=>{const{active:o,over:a}=i;-1!==i.activatorEvent.target.className.indexOf("ico-remove")&&(i=>{const o=e.filter(e=>e.id!==i.id);t(o)})(o),o.id!==a.id&&t(()=>{const t=e.findIndex(e=>e.id===o.id),i=e.findIndex(e=>e.id===a.id);return(0,Mi.be)(e,t,i)})}},void 0,(0,o.A)(Mi.gB,{items:e,strategy:Mi.m$},void 0,(0,o.A)("div",{className:"container-previews-wrapper"},void 0,(0,o.A)("div",{className:"container-previews",style:{width:`${i}px`}},void 0,(0,o.A)("div",{className:"row start-xs"},void 0,e&&e.map((e,t)=>(0,o.A)(Li,{item:e,index:t},`item-${e.id}`)))))))};try{ji.displayName="SortableMediaBox"}catch(e){}const qi=ji;var Bi,zi,Ui=i(3524);const $i=({closeModal:e})=>{const t=(0,n.Zp)();return a.createElement(a.Fragment,null,Bi||(Bi=(0,o.A)("div",{className:"modal-header"},void 0,(0,o.A)("h4",{},void 0,"Congrats, your feed is now live!"))),zi||(zi=(0,o.A)("div",{className:"modal-body"},void 0,(0,o.A)("p",{},void 0,"On NF+, you control the content that is visible to current & future subscribers so they find value in their subscriptions right away. We recommend creating 9 more Subscriber Posts that are visible to current & future subscribers. Be sure to frequently create Free Posts to entice new subscribers."))),(0,o.A)("div",{className:"modal-footer"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,className:"btn secondary",onClick:e},void 0,"Cancel"),(0,o.A)("button",{type:"button",className:"btn",onClick:()=>{t("/feed/create_post"),e()}},void 0,"Create Another Post")))};try{$i.displayName="FirstPostSuccessModal"}catch(e){}const Wi=$i;var Gi=i(55701),Hi=i(15705),Yi=i(93647),Vi=i(91488),Qi=i(91858);const Zi=()=>{const e=(0,k.zg)(),t=(0,n.Zp)();(0,a.useEffect)(()=>{!e.isSuccess||e.data.current_user.onboarding_complete||[Ui.eb,Ui.Mf].includes(e.data.current_user.onboarding_step)||t(`/feed/${e.data.current_user.login}/onboarding`,{replace:!0})},[e,t]);const i=e?.data?.current_user,{openModal:r}=(0,a.useContext)(bt.A),[s,l]=(0,a.useState)(!0),[d,c]=(0,a.useState)(!1),[u,p]=(0,a.useState)(""),[h,g]=(0,a.useState)(""),[v,y]=(0,a.useState)({}),[f,b]=(0,a.useState)("free"),[w,x]=(0,a.useState)([]),C=(0,m.wA)(),[S,_]=(0,a.useState)(!1),[N,P]=(0,a.useState)(null),[T,F]=(0,a.useState)(!1),[I,{data:E,status:M,error:O,isFetching:D}]=(0,Vi._U)(),{openGoodyBagsModal:R,openPaymentButtonsModal:L}=(0,Qi.A)(),{data:j}=(0,k.dU)({sort:"alpha"}),{data:q}=(0,k.qq)({sort:"alpha"});(0,a.useEffect)(()=>{if(y(O?.data?.errors),s||F(!0),O?.data?.errors?.scheduled_at){const e=O.data.errors.scheduled_at[0];C((0,A.bQ)(e))}},[O]);const B=e=>e?.data?.current_user?.onboarding_complete,z=e=>{x(e),y({}),_(!1)},U=(0,o.A)(qi,{items:w,setItems:z});return(0,a.useEffect)(()=>{B(e)||(l(!1),c(!1),b("welcome_kit"))},[e]),(0,a.useEffect)(()=>{"pending"!==M&&_(!1),"fulfilled"===M&&(_(!1),C((0,Gi.zu)({advisorId:e.data.current_user.id})),t(`/feed/${E.account.login}/${E.id}
1?fromCreate=true`),E.scheduled_at&&C((0,A.SD)({flashType:"success",autoCloseDur:1e4,props:{message:Yi.A}})),B(e)||r({component:Wi}))},[M]),(0,o.A)(dt.A,{},void 0,(0,o.A)(_i,{body:u,setBody:e=>{p(e),y({}),_(!1)},paidBody:h,setPaidBody:e=>{g(e),y({}),_(!1)},freePost:s,freePostChanged:e=>{i?.onboarding_complete&&(c(!1),"free"===e.target.value?(l(!0),b("free")):(l(!1),b("welcome_kit")))},showPaidCaption:T,setShowPaidCaption:F,openSelectFilesModal:()=>{r({component:si,props:{selectedItems:w,setSelectedItems:z,freePost:s},willNotCloseLowerModals:!0})},subscriberPost:d,subscriberPostChanged:()=>{i?.onboarding_complete&&(b(d?"welcome_kit":s?"free":"subscriber"),c(!d))},errors:v,onSubmit:()=>{if(S)return;_(!0);const e=w.map((e,t)=>({fm_item_id:e.fm_item_id,sort_order:t+1}));I({post:{body:u,paid_body:h,post_type:f,post_items:e,scheduled_at:N},onboarding:!i.onboarding_complete,advisorId:i.id})},hasSelectedItems:w.length>0,SortableMediaUI:U,onboardingComplete:i?.onboarding_complete,fetchingCreatePost:D,scheduledAt:N,openSchedulingModal:(e=null)=>{r({component:Hi.A,props:{freePost:s,onSave:P,currentDate:e,timezone:i.canonical_iana_timezone},noDefaultBody:!0})},removeSchedule:()=>{P(null)},timezone:i?.canonical_iana_timezone,hasPaymentButtons:j?.length>0,hasGoodyBags:q?.length>0,openPaymentButtonsModal:L,openGoodyBagsModal:R,currentUser:i}))};try{Zi.displayName="CreatePostContainer"}catch(e){}const Ki=Zi;var Xi=i(17248);const Ji=a.createContext();var eo,to,io,oo,ao=i(65217),ro=i(74625),no=i(69770),so=i(50467),lo=i(10222),co=i(48340),uo=i(90833);const mo=({flirt:e,navigateToFlirt:t})=>{const{acceptedAvatarImage:i}=(0,uo.A)(e);return(0,o.A)("a",{onClick:()=>{t(`/feed/${e.login}`)},role:"button",tabIndex:0},void 0,(0,o.A)("div",{className:"container-fluid container-post-by search"},void 0,(0,o.A)("div",{className:"row middle-xs nowrap-xs"},void 0,(0,o.A)("div",{className:"col-xs-3 nfp-avatar-post",style:{backgroundImage:(0,Ri.T)(i)}}),(0,o.A)("div",{className:"col-xs-9"},void 0,(0,o.A)("div",{className:"post-name search-result"},void 0,e.login)))))};try{mo.displayName="SearchResult"}catch(e){}const po=()=>(0,o.A)("div",{className:"container-fluid search"},void 0,(0,o.A)("div",{className:"row middle-xs nowrap-xs"},void 0,(0,o.A)("div",{className:"col-xs-9"},void 0,(0,o.A)("div",{className:"empty-search-result",style:{color:"gray",paddingTop:20}},void 0,"No Results"))));try{po.displayName="EmptyResults"}catch(e){}const ho=({searchString:e="",searchInpRef:t,searchContainerRef:i,flirts:r=null,clearSearchField:n,updateSearchField:s,onSearchInputFocus:l,navigateToFlirt:d,categoryId:c,handleCategoryChange:u,showGenderSelectChips:m=!1})=>(0,o.A)("div",{className:"container-fluid container-search",style:{display:"block"}},void 0,a.createElement("div",{className:"row middle-xs center-xs nowrap-xs paddingtop5",ref:i},(0,o.A)(no.Ay,{container:!0,sx:{px:{xs:2,sm:3}}},void 0,(0,o.A)(no.Ay,{item:!0,sm:6,xs:12},void 0,(0,o.A)("div",{style:{position:"relative"}},void 0,(0,o.A)("form",{},void 0,(0,o.A)(ao.A,{type:"text",id:"search",name:"search",fullWidth:!0,"data-lpignore":"true",inputRef:t,onFocus:l,onChange:s,autoComplete:"off",placeholder:"Find Flirts to follow",InputProps:{startAdornment:eo||(eo=(0,o.A)(ro.A,{position:"start"},void 0,(0,o.A)(so.A,{}))),endAdornment:e&&(0,o.A)(ro.A,{position:"end"},void 0,(0,o.A)(M.A,{onClick:n},void 0,to||(to=(0,o.A)(lo.A,{}))))},size:"small"})),t?.current?.value&&(0,o.A)("div",{className:"clear-search"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:n},void 0,io||(io=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close-search.svg",alt:"Clear"})))))),(0,o.A)(no.Ay,{item:!0,sm:6,xs:12,sx:{pl:{xs:0,sm:2}}},void 0,m&&(0,o.A)(co.A,{state:c,setState:u})))),(0,o.A)(no.Ay,{container:!0},void 0,(0,o.A)(no.Ay,{item:!0,sm:6,xs:12},void 0,(0,o.A)("div",{className:"row-search",style:{display:""+(r?"block":"none")}},void 0,(0,o.A)("div",{className:"container-fluid padding0"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12"},void 0,r&&r.map(e=>(0,o.A)(mo,{flirt:e,navigateToFlirt:d},e.id)),r&&0===r.length&&(oo||(oo=(0,o.A)(po,{}))))))))));
1try{ho.displayName="SearchControls"}catch(e){}const go=ho;var vo=i(68527);const Ao=()=>{const e=(0,a.useRef)(),t=(0,a.useRef)(),i=(0,n.Zp)(),r=(0,n.zy)(),s="/feed/explore"===r.pathname,{searchString:l,setSearchString:d,searchHasFocus:c,setSearchHasFocus:u,categoryId:m,setCategoryId:p}=(0,a.useContext)(Ji),h=(0,vo.RJ)(m),{data:g}=(0,k.NT)({searchString:l,gender:h},{skip:!c}),v=()=>{e.current.value="",d("")},A=e=>{t.current&&(t.current.contains(e.target)||(v(),u(!1)))},y=()=>{window.removeEventListener("click",A)};(0,a.useEffect)(()=>{u(!1),setTimeout(()=>{u(c)},100)},[h]),(0,a.useEffect)(()=>()=>{u(!1),y()},[]);return(0,o.A)(go,{flirts:c?g:null,searchInpRef:e,searchContainerRef:t,clearSearchField:v,onSearchInputFocus:()=>{window.addEventListener("click",A),u(!0)},updateSearchField:e=>{d(e.currentTarget.value)},navigateToFlirt:e=>{y(),i(e)},categoryId:m,handleCategoryChange:e=>{p(e),(0,vo.xo)(e);const t=new URLSearchParams(r.search),o=(0,vo.RJ)(e);t.set("gender",o),i(`${r.pathname}?${t.toString()}`,{replace:!0})},showGenderSelectChips:s})};
1try{Ao.displayName="SearchControlsContainer"}catch(e){}const yo=Ao,fo=({children:e})=>{const[t,i]=(0,a.useState)(null),[r,n]=(0,a.useState)(""),[s,l]=(0,a.useState)(!1),d=(0,vo.F3)(),[c,u]=(0,a.useState)(d),m={toggleRef:t,setToggleRef:i,searchString:r,setSearchString:n,searchHasFocus:s,setSearchHasFocus:l,categoryId:c,setCategoryId:u};return(0,o.A)(Ji.Provider,{value:m},void 0,e)};try{fo.displayName="SearchContainer"}catch(e){}const bo=fo,wo=()=>{const e=(0,n.Zp)(),t=(0,n.RQ)("/feed/explore");return(0,o.A)("div",{className:"container-summary"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{className:"col-sm-4 col-sm-offset-2 col-xs-5 col-xs-offset-1 center-xs summary-tab "+(t?"":"active"),role:"link",tabIndex:0,onClick:()=>{e("/feed/home")}},void 0,"Following"),(0,o.A)("div",{className:"col-sm-4 col-xs-5 center-xs summary-tab "+(t?"active":""),role:"link",tabIndex:0,onClick:()=>{e("/feed/explore")}},void 0,"Explore")))};try{wo.displayName="HomeFeedTabs"}catch(e){}const xo=wo;var Co,ko,So=i(63313);const _o=({children:e})=>(0,o.A)(dt.A,{"data-test-id":"home-feeds-page"},void 0,(0,o.A)(bo,{},void 0,(0,o.A)(So.A,{title:"Feed",style:{marginBottom:"0px"}}),Co||(Co=(0,o.A)(yo,{}))),ko||(ko=(0,o.A)(xo,{})),e);try{_o.displayName="Home"}catch(e){}const No=_o,Po=(e,t)=>{const i=(0,a.useRef)();(0,a.useEffect)(()=>{i.current=e},[e]),(0,a.useEffect)(()=>{const e=setInterval(()=>i.current(),t);return()=>clearInterval(e)},[])};var To;const Fo=({closeFlash:e})=>{const t=(0,m.wA)();return a.createElement(a.Fragment,null,(0,o.A)("div",{className:"col-xs-10"},void 0,"There are new posts. ",(0,o.A)("button",{className:"btn btn-sm",type:"button",onClick:()=>{t((0,Gi.JP)()),e()}},void 0,"Load Posts")),(0,o.A)("div",{className:"col-xs-2 end-xs"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:e},void 0,To||(To=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",alt:"close"})))))};try{Fo.displayName="NewPostsFlash"}catch(e){}const Io="NEW_POSTS_FLASH",Eo=Fo,Mo=(e,t)=>(0,a.useMemo)(()=>{if(!e)return"";const i=ki.c9.fromISO(e,{zone:"utc"}).setZone(t),o=ki.c9.now().setZone(t);return i.hasSame(o,"day")?i.toFormat("h:mm a"):i.hasSame(o,"year")?i.toFormat("LLL d"):i.toFormat("M/d/yy")},[e,t]);var Oo;const Do=({toggleTip:e,tipOpen:t,setButtonRef:i,setTipContentRef:r,postType:n,icon:s})=>(0,o.A)(Ot.A,{content:a.createElement("div",{ref:e=>r(e),className:"nfp-tooltip"},(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-11"},void 0,(0,o.A)("div",{className:"menu-text"},void 0,n)),(0,o.A)("div",{className:"col-xs-1 end-xs"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:e},void 0,Oo||(Oo=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",className:"marginlftminus5",alt:"close"})))))),isOpen:t,tagName:"span",direction:"down",forceDirection:!0},void 0,a.createElement("a",{"data-test-id":`${n}`,"data-post-type":`${n}`,role:"link",tabIndex:0,ref:e=>i(e),onClick:e},s));try{Do.displayName="PostTypeTooltip"}catch(e){}const Ro=(0,Dt.A)(Do);var Lo,jo=i(98786),qo=i(22480),Bo=i(24367);const zo=e=>a.createElement(Bo.A,(0,De.A)({},e,{width:"22px",height:"14px",viewBox:"0 0 22 14"}),Lo||(Lo=(0,o.A)("g",{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},void 0,(0,o.A)("g",{id:"GroupPreexisting",fillRule:"nonzero"},void 0,(0,o.A)("path",{d:"M15,6 C16.66,6 17.99,4.66 17.99,3 C17.99,1.34 16.66,0 15,0 C13.34,0 12,1.34 12,3 C12,4.66 13.34,6 15,6",id:"Path",fill:"#999999"}),(0,o.A)("path",{d:"M7,6 C8.66,6 9.99,4.66 9.99,3 C9.99,1.34 8.66,0 7,0 C5.34,0 4,1.34 4,3 C4,4.66 5.34,6 7,6",id:"Path",fill:"#222222"}),(0,o.A)("path",{d:"M7,8 C4.67,8 0,9.17 0,11.5 L0,14 L14,14 L14,11.5 C14,9.17 9.33,8 7,8",id:"Path",fill:"#222222"}),(0,o.A)("path",{d:"M15,8 C14.71,8 14.38,8.02 14.03,8.05 C15.19,8.89 16,10.02 16,11.5 L16,14 L22,14 L22,11.5 C22,9.17 17.33,8 15,8",id:"Path",fill:"#999999"})))));try{zo.displayName="GroupPreexisting"}catch(e){}const Uo=zo;i(28931);var $o,Wo,Go,Ho,Yo,Vo,Qo=i(96432),Zo=i(39034),Ko=i(44343),Xo=i(90091),Jo=i(21624),ea=i(65063),ta=i(84013);const ia=(0,a.lazy)(()=>Promise.all([i.e(271),i.e(820),i.e(32)]).then(i.bind(i,80651))),oa=(0,a.lazy)(()=>Promise.all([i.e(428),i.e(418),i.e(339)]).then(i.bind(i,86339))),aa=({currentItem:e=null,mediaItems:t=[]})=>{const i=t.filter(e=>e&&e.type),r=i.filter(t=>t.type===e?.type),n=i.filter(e=>"image"===e.type),s=i.filter(e=>"video"===e.type),l=i.filter(e=>"audio"===e.type),d=n.length>0,c=s.length>0,u=l.length>0,m=r.indexOf(e),p="image"===e?.type,h="video"===e?.type,g="audio"===e?.type,v=a.createElement(a.Fragment,null,(0,o.A)("span",{className:"current"},void 0,m+1),"/",(0,o.A)("span",{className:"total"},void 0,r.length)),A=e=>(0,o.A)("span",{className:"current","data-test-id":`media-count-${e}`},void 0,e.length);return a.createElement(a.Fragment,null,$o||($o=(0,o.A)("div",{id:"comments"})),(0,o.A)("div",{className:"row center-xs","data-test-id":"media-count-widget"},void 0,(0,o.A)("div",{className:"slick-counter"},void 0,d&&(0,o.A)("div",{"data-test-id":"image-counter"},void 0,Wo||(Wo=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-image.svg",alt:"Images"})),p&&v,!p&&A(n)),c&&(0,o.A)("div",{"data-test-id":"video-counter"},void 0,d&&(Go||(Go=(0,o.A)("span",{className:"padding5"}
1))),Ho||(Ho=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-video.svg",alt:"Video"})),h&&v,!h&&A(s)),u&&(0,o.A)("div",{"data-test-id":"audio-counter"},void 0,(d||c)&&(Yo||(Yo=(0,o.A)("span",{className:"padding5"}))),Vo||(Vo=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-audio.svg",alt:"Audio"})),g&&v,!g&&A(l)))))};try{aa.displayName="MediaCountWidget"}catch(e){}const ra=({post:e})=>{const t="undefined"!=typeof window&&"ontouchstart"in window,i=e.post_items?.map(Jo.z)||[],{nextItem:r,prevItem:n,currentItem:s,onPrevClick:l,onNextClick:d,onCloseClick:c,setMediaIndex:u,lightboxIsOpen:m,setLightboxIsOpen:p,pauseAllVideoPlayers:h,pauseAllAudioPlayers:g,lightboxMediaDecorator:v}=(0,Xo.A)({mediaItems:i}),A=()=>p(!0);(0,a.useEffect)(()=>{if(t)return m?((0,ea.G)("body"),(0,ea.G)(".body-content")):((0,ea.y)("body"),(0,ea.y)(".body-content")),()=>{(0,ea.y)("body"),(0,ea.y)(".body-content")}},[m]);const{handleTouchStart:y,handleTouchMove:f,handleTouchEnd:b,handleTouchCancel:w}=(0,ta.A)({isEnabled:t&&!m});return e.post_items&&0!==e.post_items.length?(0,o.A)("div",{onTouchStart:y,onTouchMove:f,onTouchEnd:b,onTouchCancel:w},void 0,(0,o.A)(a.Suspense,{fallback:null},void 0,(0,o.A)(ia,{dots:!1,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,afterChange:e=>{u(e),h(),g()}},void 0,i.map(e=>{switch(e&&e.type){case"image":return(0,o.A)(Qo.A,{item:e,onImageClick:A},e.id);case"audio":return(0,o.A)(Ko.A,{item:e},e.id);case"video":return(0,o.A)(Zo.A,{item:e},e.id);default:return console.warn("unrecognized media item type:",e&&e.type),null}}))),m&&(0,o.A)(a.Suspense,{fallback:null},void 0,(0,o.A)(oa,{mainSrc:v(s),nextSrc:v(r),prevSrc:v(n),onCloseRequest:c,onMovePrevRequest:l,onMoveNextRequest:d})),(0,o.A)(aa,{currentItem:s,mediaItems:i})):null};try{ra.displayName="PostMedia"}catch(e){}const na=ra;var sa=i(63513),la=i(92397),da=i(35843),ca=i(99977),ua=i(41109);const ma=({advisorPackage:e={},currentUser:t=null,subscribeToPackageClick:i})=>(0,o.A)(g.A,{mt:3},void 0,(0,o.A)(ua.A,{className:"subscription-btn",role:"link",tabIndex:0,currentUser:t,onClick:i},void 0,(0,o.A)(E.A,{variant:"contained",color:"primary",size:"large"},void 0,(0,o.A)(W.A,{direction:"row",spacing:1,alignItems:"center"},void 0,`Full Feed Access ${e?.rate}/mo`))));try{ma.displayName="PackageSubscriptionButton"}catch(e){}const pa=ma;var ha=i(9184);const ga=({advisor:e=null})=>{const{openDialog:t}=(0,a.useContext)(la.A),{closeDialogAndResetTributeSlice:i,dispatch:r,setCurrentStep:n,setPackageId:s,setPackageRate:l,setRecurring:d}=(0,sa.A)({advisor:e}),{data:c}=(0,k.zg)(),u=c?.current_user,p=(0,m.d4)(t=>(0,ha.M1)(t,e?.id));return(0,o.A)(pa,{advisorPackage:p,currentUser:u,subscribeToPackageClick:()=>(i(),r(d({recurring:!0})),r(s({packageId:p.id})),r(l({packageRate:p.rate})),t({component:da.A,props:{advisorLogin:e.login,packageId:p.id}}),r(n({currentStep:ca.O.NEW_TRIBUTE})))})};try{ga.displayName="PackageSubscriptionButtonContainer"}catch(e){}const va=ga;var Aa,ya,fa,ba,wa,xa,Ca;const ka=({advisor:e=null,post:t})=>(0,o.A)("div",{className:"slick-container"},void 0,(0,o.A)("div",{className:"container-subscribe"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12"},void 0,xa||(xa=(0,o.A)("a",{href:"#"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-lock.svg",alt:"Subscribe to Feed Access To Unlock",className:"ico-lock-big"}))),Ca||(Ca=(0,o.A)("br",{})),(0,o.A)(va,{advisor:e})))),(t.image_count>0||t.video_count>0||t.audio_count>0)&&((e,t,i)=>{const r=e>0,n=t>0,s=i>0;return(0,o.A)("div",{className:"row center-xs"},void 0,(0,o.A)("div",{className:"slick-counter"},void 0,r&&(0,o.A)("div",{"data-test-id":"image-counter"},void 0,Aa||(Aa=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-image.svg",alt:"Images"})),(0,o.A)("span",{className:"current"},void 0,e)),n&&(0,o.A)("div",{"data-test-id":"video-counter"},void 0,r&&(ya||(ya=(0,o.A)("span",{className:"padding10"}))),a.createElement(a.Fragment,null,fa||(fa=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-video.svg",alt:"Video"})),(0,o.A)("span",{className:"current"},void 0,t))),s&&(0,o.A)("div",{"data-test-id":"audio-counter"},void 0,(r||n)&&(ba||(ba=(0,o.A)("span",{className:"padding10"}))),a.createElement(a.Fragment,null,wa||(wa=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-audio.svg",alt:"Audio Files"})),(0,o.A)("span",{className:"current"},void 0,i)))))})(t.image_count,t.video_count,t.audio_count));try{ka.displayName="HiddenSubscriptionPost"}catch(e){}const Sa=ka;var _a;const Na=()=>_a||(_a=(0,o.A)("div",{className:"panel"},void 0,(0,o.A)("div",{className:"container-fluid container-post-placeholder"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"loading shape5"})),(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"loading shape6"})))));try{Na.displayName="PlaceholderPost"}catch(e){}const Pa=Na;var Ta,Fa,Ia,Ea,Ma,Oa,Da,Ra=i(58805);const La=({post:e})=>{const{openModal:t}=(0,a.useContext)(bt.A);return(0,o.A)("div",{"data-test-id":"rejected-post"},void 0,(0,o.A)("div",{className:"flux-state-overlay1"},void 0,Ta||(Ta=(0,o.A)("h2",{},void 0,"Post Removed")),Fa||(Fa=(0,o.A)("br",{})),Ia||(Ia=(0,o.A)("br",{})),Ea||(Ea=(0,o.A)("br",{})),(0,o.A)("div",{style:{fontSize:"0.938em"}}
1,void 0,"(Only you can see this.)"),Ma||(Ma=(0,o.A)("br",{})),Oa||(Oa=(0,o.A)("br",{})),Da||(Da=(0,o.A)("br",{})),(0,o.A)("button",{type:"button",className:"btn",onClick:()=>{t({component:Ra.A,props:{post:e}})}},void 0,"See Details")),(0,o.A)("div",{className:"overflow-hidden"},void 0,(0,o.A)("div",{className:"slick-item-bg flux-state-item1",style:{backgroundImage:"url(/plus_frontend/assets/bg-blur1.png)"}},void 0," ")))};try{La.displayName="RejectedPost"}catch(e){}const ja=La;var qa;const Ba=()=>(0,o.A)("div",{"data-test-id":"pending-moderation-post"},void 0,qa||(qa=(0,o.A)("div",{className:"flux-state-overlay1"},void 0,(0,o.A)("h2",{},void 0,"Not Published - Pending Review"),"Your post has been submitted and will be published pending review.")),(0,o.A)("div",{className:"overflow-hidden"},void 0,(0,o.A)("div",{className:"slick-item-bg flux-state-item1",style:{backgroundImage:"url(/plus_frontend/assets/bg-blur1.png)"}},void 0," ")));try{Ba.displayName="PendingModerationPost"}catch(e){}const za=Ba;var Ua;const $a=()=>(0,o.A)("div",{"data-test-id":"transcoding-post"},void 0,Ua||(Ua=(0,o.A)("div",{className:"flux-state-overlay1"},void 0,(0,o.A)("h2",{},void 0,"Not Published - Processing Media"),"The media in your post is currently processing. We'll publish the post if it's approved.")),(0,o.A)("div",{className:"overflow-hidden"},void 0,(0,o.A)("div",{className:"slick-item-bg flux-state-item1",style:{backgroundImage:"url(/plus_frontend/assets/bg-blur1.png)"}},void 0," ")));try{$a.displayName="TranscodingPost"}catch(e){}const Wa=$a;var Ga,Ha,Ya;const Va=({post:e,advisor:t=null})=>{if(void 0===e)return Ga||(Ga=(0,o.A)(Pa,{}));if(!e.unlocked)return(0,o.A)(Sa,{advisor:t,post:e});switch(e.post_item_encoding_status){case"pending":return Ha||(Ha=(0,o.A)(Wa,{}));case"failed":return(0,o.A)(ja,{post:e});default:if(e.published_at)return(0,o.A)(na,{post:e});switch(e.moderation_status){case"not_accepted":case"not_accepted_edited":return(0,o.A)(ja,{post:e});case"not_reviewed":return Ya||(Ya=(0,o.A)(za,{}));default:return(0,o.A)(na,{post:e})}}};try{Va.displayName="PostItemArea"}catch(e){}const Qa=Va;var Za=i(90669);const Ka=({resetPostCommentsRequest:e,postId:t})=>{const i=(0,m.wA)(),o=(0,a.useRef)(null),[r,n]=(0,a.useState)([""]);return(0,a.useEffect)(()=>{e&&e===t&&(n([]),i((0,Za.AV)()),setTimeout(()=>{n([""])},500))},[e]),{setOldestCursor:e=>{o.current=e},cursors:r,setCursors:n,loadMoreRecords:()=>{const e=new Set(r.concat(o.current));n([...e])}}};var Xa;const Ja=({children:e,posterLogin:t,toggleTip:i,tipOpen:r,setButtonRef:n,setTipContentRef:s})=>(0,o.A)(Ot.A,{content:a.createElement("div",{ref:e=>s(e),className:"nfp-tooltip"},(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-11"},void 0,(0,o.A)("div",{className:"menu-text"},void 0,t)),(0,o.A)("div",{className:"col-xs-1 end-xs"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:i},void 0,Xa||(Xa=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",className:"marginlftminus5",alt:"close"})))))),isOpen:r,tagName:"span",direction:"up",forceDirection:!0},void 0,a.createElement("a",{role:"link",tabIndex:0,ref:e=>n(e),onClick:i},e));try{Ja.displayName="CommenterNameTooltip"}catch(e){}const er=(0,Dt.A)(Ja),tr=({comment:e,advisor:t,currentUser:i=null})=>{const{acceptedAvatarImage:a}=(0,uo.A)(t),r=Mo(e.ordering_date,i?.canonical_iana_timezone),n=e.by_post_author?(0,o.A)("div",{className:"col-xs-2 comments-avatar orig-poster",style:{backgroundImage:(0,Ri.T)(a)}}):(0,o.A)("div",{className:"col-xs-2 comments-initials"},void 0,e.poster_initials),s=e.poster_login?(0,o.A)(er,{posterLogin:e.poster_login},void 0,n):(0,o.A)(ua.A,{currentUser:i,onClick:()=>{}},void 0,n);return(0,o.A)("div",{"data-test-id":"comment",className:"container-fluid container-comments"},`comment_${e.id}`,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-11"},void 0,(0,o.A)("div",{className:"container-fluid padding0"},void 0,(0,o.A)("div",{className:"row nowrap-xs start-xs"},void 0,s,(0,o.A)("div",{className:"col-xs-10"},void 0,(0,o.A)("div",{className:"comments-text"},void 0,e.body),(0,o.A)("div",{className:"comments-time"},void 0,r)))))))};try{tr.displayName="Comment"}catch(e){}const ir=tr,or=({advisor:e=null,setOldestCursor:t,commentsQuery:i,setMoreComments:r})=>{const{data:n}=i(),s=n?.records,l=n?.moreRecords,d=(0,k.zg)(),c=d?.data?.current_user;return(0,a.useEffect)(()=>{r(l)},[l]),(0,a.useEffect)(()=>
1{if(s?.length>0){const e=s[s.length-1];t(e.ordering_date)}},[s]),s?(0,o.A)("div",{className:"all-comments"},void 0,s.map(t=>(0,o.A)(ir,{currentUser:c,comment:t,advisor:e},t.id))):null};try{or.displayName="CommentsPageContainer"}catch(e){}const ar=or;var rr;const nr=({post:e=null,advisor:t=null})=>{const{resetPostCommentsRequest:i}=(0,m.d4)(e=>e.resetComments),[r,n]=(0,a.useState)(!1),{cursors:s,setOldestCursor:l,loadMoreRecords:d}=Ka({resetPostCommentsRequest:i,postId:e.id}),c=s.map(i=>(0,o.A)(ar,{advisor:t,setOldestCursor:l,setMoreComments:n,commentsQuery:()=>(0,Vi.Cf)({cursor:i,postId:e.id})},i));return e?a.createElement(a.Fragment,null,c,rr||(rr=(0,o.A)("div",{id:"more-comments"})),r&&(0,o.A)("div",{className:"row marginbot60"},void 0,(0,o.A)("div",{className:"col-xs-12 center-xs"},void 0,(0,o.A)("a",{href:"#more-comments",onClick:()=>{d(),(()=>{const e=document.getElementById("more-comments");e&&(e.style.display="block",setTimeout(()=>{e.style.display="none"},500))})()}},void 0,"View More Comments")))):null};try{nr.displayName="CommentsContainer"}catch(e){}const sr=nr;var lr=i(72463);const dr=({closeModal:e,onClickAction:t,copy:i})=>a.createElement(a.Fragment,null,(0,o.A)("div",{className:"modal-header"},void 0,(0,o.A)("h4",{},void 0,i.headerCopy)),(0,o.A)("div",{className:"modal-body"},void 0,(0,o.A)("p",{},void 0,i.bodyCopy)),(0,o.A)("div",{className:"modal-footer"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,className:"btn secondary",onClick:e},void 0,i.cancelButtonCopy||"Cancel"),(0,o.A)("button",{type:"button",className:"btn",onClick:()=>{e(),t()}},void 0,i.submitButtonCopy)));try{dr.displayName="ActionRequiredModal"}catch(e){}const cr=dr;var ur=i(52059);const mr=({locked:e,likeButtonClick:t,liked:i,currentUser:a=null})=>(0,o.A)("div",{"data-test-id":"like-button",className:""+(e?"locked-footer":"")},void 0,(0,o.A)(ua.A,{title:"Like",role:"button",tabIndex:"0",currentUser:a,style:e?null:{cursor:"pointer"},onClick:t},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{},void 0,(0,o.A)("img",{className:i?"active-like":null,src:"/plus_frontend/assets/svg/ico-favorite.svg",title:"Favorite",alt:"Favorite"})))));try{mr.displayName="LikeButton"}catch(e){}const pr=mr;var hr,gr,vr;const Ar=({post:e})=>{const{data:t,isFetching:i}=(0,Vi.md)({postId:e?.id},{skip:!e});return a.createElement(a.Fragment,null,(0,o.A)("div",{className:"modal-header"},void 0,(0,o.A)("div",{className:"container-fluid padding-0-8"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,hr||(hr=(0,o.A)("div",{className:"marginrgt10"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-favorite.svg",className:"modal-icon",alt:"Likes"}))),(0,o.A)("div",{},void 0,(0,o.A)("h4",{},void 0,t?.likes.length," ",t?.likes.length>1?"Likes":"Like"))))),i&&(gr||(gr=(0,o.A)("p",{},void 0,"Loading..."))),!i&&0===t?.likes.length&&(vr||(vr=(0,o.A)("p",{},void 0,"No likes yet"))),!i&&t?.likes.length>0&&(0,o.A)("ul",{className:"modal-scrollable"},void 0,t?.likes.map(e=>(0,o.A)("li",{style:{listStyle:"none"}},e[0],e[2]))))};try{Ar.displayName="PostLikesModalContainer"}catch(e){}const yr=Ar,fr=({post:e=null,locked:t=!0})=>{const[i,r]=(0,a.useState)(Boolean(e.has_like)),[n,s]=(0,a.useState)(e.likes_count),[l]=(0,Vi._k)(),[d]=(0,Vi.tS)(),[c,{status:u}]=(0,Vi.uq)(),{openModal:m}=(0,a.useContext)(bt.A),p=(0,k.zg)(),h=(0,Vi.HW)({advisorId:e.account.main_user_id})?.data,g=p?.data?.current_user,v=Object.keys(g?.default_card||{}).length>0,A=g?.id===e?.account?.main_user_id,y=()=>i?(r(!1),s(n-1),void d({postId:e.id})):(r(!0),s(n+1),void l({postId:e.id})),f=()=>{c({advisorId:e.account.main_user_id,postId:e.id,refetchPost:!0})},b=()=>{m({component:ur.A,props:{afterCloseAction:f,trackingContext:"like_flow"}})},w=()=>v?void m({component:cr,props:{onClickAction:f,copy:{headerCopy:"Follow this Flirt?",bodyCopy:`You must follow ${e.account.login}\n              to like this post.`,submitButtonCopy:"Follow this Flirt"}}}):void m({component:cr,props:{onClickAction:b,copy:{headerCopy:"Follow this Flirt?",bodyCopy:`You must follow ${e.account.login}\n              and have a credit card on file to leave comments.`,submitButtonCopy:"Add Card"}}});return(0,a.useEffect)(()=>{"fulfilled"===u&&y()},[u]),(0,o.A)(pr,{locked:t,likeButtonClick:i=>(i.preventDefault(),!t&&(A?m({component:yr,props:{post:e},modalContentStyles:{maxWidth:"290px"}}):h?.active?y():w(),!0)),liked:i,currentUser:g})};
1try{fr.displayName="LikeButtonContainer"}catch(e){}const br=fr;var wr,xr=i(35782);const Cr=({post:e=null})=>{const t={id:e?.account.main_user_id,login:e?.account.login},{onTributeButtonClick:i}=(0,xr.A)({advisor:t}),a=(0,k.zg)(),r=a?.data?.current_user;return(0,o.A)(ua.A,{"data-test-id":"tribute-button",role:"link",tabIndex:0,currentUser:r,onClick:i},void 0,wr||(wr=(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-tribute.svg",title:"Pay a Tribute",alt:"Pay a Tribute"})))))};try{Cr.displayName="TributeButtonContainer"}catch(e){}const kr=Cr,Sr=({post:e})=>{const{openModal:t}=(0,a.useContext)(bt.A),{data:{current_user:i}={}}=(0,k.zg)();let o=!1;if(e?.scheduled_at){o=ki.c9.fromISO(e.scheduled_at,{zone:i?.canonical_iana_timezone||"utc"})>ki.c9.local().setZone(i?.canonical_iana_timezone||"utc")}const r=!e?.unlocked||o;return{redirectToLogin:()=>{window.location.href=`/login?return_url=${encodeURIComponent(`/feed/${e.account.login.replace(/ /g,"%20")}/${e.id}?fromLogin=true`)}`},navigateToPostComments:t=>{if(r)return t.preventDefault();const i=encodeURIComponent(e.account.login.replace(/ /g,"%20"));return window.location.href=`/feed/${i}/${e.id}#comments`,null},locked:r,isScheduled:o,showPostLikes:()=>{t({component:yr,props:{post:e},modalContentStyles:{maxWidth:"290px"}})}}},_r=({children:e,showComments:t,locked:i,post:a,currentUser:r=null})=>{const{redirectToLogin:n,navigateToPostComments:s}=Sr({post:a}),l=!r&&n||!t&&s||null;return(0,o.A)("a",{onClick:l,className:"show-comments",role:"button",tabIndex:"0","data-test-id":"comment-link","data-locked":i},void 0,e)};try{_r.displayName="CommentLink"}catch(e){}const Nr=_r,Pr=({post:e,type:t,currentUser:i=null})=>{const{navigateToPostComments:a,redirectToLogin:r,showPostLikes:n}=Sr({post:e}),s=i?.id===e?.main_user_id;if(0===e[`${t}_count`])return null;let l,d;return"comments"===t&&(l=i?a:r),"likes"===t&&(l=s?n:null),d="likes"===t?1===e.likes_count?"Like":"Likes":1===e.comments_count?"Comment":"Comments",(0,o.A)("a",{"data-test-id":`${t}-count-link`,role:"button",tabIndex:"0",onClick:l},void 0,e[`${t}_count`]," ",d)};try{Pr.displayName="LikesCommentsCountsLink"}catch(e){}const Tr=Pr;var Fr,Ir,Er,Mr;const Or=({advisor:e=null,post:t=null,showComments:i})=>{const{locked:a}=Sr({post:t}),{data:{current_user:r}={}}=(0,k.zg)(),n=(0,x.u)("CHAT_STATUSES_25793"),s=e?.chat_eligible&&!(n&&"off"===e?.chat_status);return(0,o.A)("div",{className:"container-post-footer","data-test-id":"post-footer"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{className:"col-sm-8 col-xs-12"},void 0,(0,o.A)("div",{className:"row middle-xs around-xs"},void 0,(0,o.A)(br,{post:t,locked:a}),(0,o.A)("div",{className:""+(a?"locked-footer":"")},void 0,(0,o.A)(Nr,{showComments:i,locked:a,post:t,currentUser:r},void 0,Fr||(Fr=(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-comments.svg",title:"Comments",alt:"Comments"})))))),(0,o.A)("div",{},void 0,(0,o.A)(kr,{post:t})),s&&(0,o.A)("div",{},void 0,(0,o.A)("a",{href:`/chat/${e?.slug}`,target:"_blank",rel:"noreferrer","data-test-id":"chat-link"},void 0,Ir||(Ir=(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-chat.svg",title:"Chat",alt:"Chat"})))))),(0,o.A)("div",{},void 0,(0,o.A)("a",{href:t?`/${t.account.login}`:"#",rel:"noreferrer","data-test-id":"call-link"},void 0,Er||(Er=(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-call.svg",title:"Call",alt:"Call"}))))))),(t.comments_count>0||t.likes_count>0)&&(0,o.A)("div",{className:"col-sm-12 col-xs-12 post-footer-2ndpart"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)(Tr,{type:"likes",post:t,currentUser:r}),t.comments_count>0&&t.likes_count>0&&(Mr||(Mr=(0,o.A)("div",{className:"paddinglft10 paddingrgt10"},void 0,"•"))),(0,o.A)(Tr,{type:"comments",post:t,currentUser:r}))))))};try{Or.displayName="PostFooter"}catch(e){}const Dr=Or;var Rr;
1const Lr=({scheduledAt:e,timezone:t})=>(0,o.A)("div",{className:"body-alert general"},void 0,(0,o.A)("div",{className:"container-fluid padding-0-8"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{className:"col-xs-11"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,Rr||(Rr=(0,o.A)("div",{className:"paddinglft5 paddingrgt10"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-posts-queue.svg",alt:"Posts Queue"}))),(0,o.A)("div",{"data-test-id":"schedule-message"},void 0,"Scheduled for ",ki.c9.fromISO(e).setZone(t).toLocaleString(ki.c9.DATETIME_MED)))))));try{Lr.displayName="ScheduleBanner"}catch(e){}const jr=Lr;var qr=i(14989),Br=i.n(qr);const zr=({loggedIn:e,url:t,isOwner:i})=>{const a=t.split("=")[1];return e?(0,o.A)("iframe",{title:`Link to payment button ${a}`,src:`/messages/preview_payment_button?id=${a}`,className:i?"owner-pb-iframe":"payment-button-iframe"}):(0,o.A)("a",{href:`/messages/preview_payment_button?id=${a}`,target:"_blank",rel:"noopener noreferrer"},void 0,t)};try{zr.displayName="PaymentButtonPreview"}catch(e){}const Ur=zr,$r=({currentUserId:e,url:t,sender:i})=>{const a=t.split("-"),r=a[a.length-1],n=a[0].split("/"),s=parseInt(n[n.length-1])===e;return e?(0,o.A)("iframe",{title:`Link to goody bag ${r}`,src:`/fm/goody_bags/${r}/preview?current_user_id=${e}&sender_name=${i}`,className:s?"owner-goody-bag-iframe":"goody-bag-iframe"}):(0,o.A)("a",{href:t,target:"_blank",rel:"noopener noreferrer"},void 0,t)};try{$r.displayName="GoodyBagButtonPreview"}catch(e){}const Wr=$r;var Gr;const Hr=(e,t,i)=>{const a=document.location.href.match(/\bhttps?:\/\/[^\/]+/i)[0],r=new RegExp(`${a}\\/\\S*`,"gi"),n=/\/messages\/click_payment_button\?id=\d+/gi,s=/\/goodies\/click\/(\d+)-(\d+)/i;return Br()(e,new RegExp(`(${r.source}|${/https:\/\/(?:www\.)?niteflirt\.com\/news\//gi.source})`,"gi"),(e,a)=>{if(e.match(n))return(0,o.A)(Ur,{url:e,loggedIn:!!t,isOwner:i},`pb${a}`);if(e.match(s)){const i=e.match(s)[1],{data:r}=(0,k.db)({advisorId:i});return(0,o.A)(Wr,{url:e,currentUserId:t,sender:r?.login||""},`gb${a}`)}return(0,o.A)("a",{href:e,target:"_blank",rel:"noreferrer"},`url${a}`,e)})},Yr=({post:e,currentUserId:t=null})=>{const i=e.main_user_id===t;return(0,o.A)("div",{className:"blockOfText","data-test-id":"post-body"},void 0,e.body&&(0,o.A)("div",{style:{display:"contents"},"data-test-id":"post-public-caption"},void 0,Hr(e.body,t,i)),e.body&&e.paid_body&&(Gr||(Gr=(0,o.A)("hr",{}))),e.paid_body&&(0,o.A)("div",{style:{display:"contents"},"data-test-id":"post-paid-caption"},void 0,Hr(e.paid_body,t,i)))};try{Yr.displayName="PostBody"}catch(e){}const Vr=Yr,Qr=({post:e=null,advisor:t=null,actions:i=[],showComments:a,showPin:r=!1,viewingSelf:n=!1,isScheduled:l})=>{const d=n?"active":"disabled",{acceptedAvatarImage:c}=(0,uo.A)(t),{data:{current_user:u}={}}=(0,k.zg)(),m=Mo(e?.published_at,u?.canonical_iana_timezone);return(0,o.A)("div",{className:"panel noline","data-test-id":"post","data-post-id":e.id},void 0,n&&l&&(0,o.A)(jr,{scheduledAt:e.scheduled_at,timezone:u.canonical_iana_timezone}),(0,o.A)("div",{className:"container-post-header","data-test-id":"post-header"},void 0,(0,o.A)("div",{className:"row middle-xs nowrap-xs"},void 0,(0,o.A)("div",{className:"col-xs-10 start-xs"},void 0,(0,o.A)("div",{className:"container-post-by"},void 0,(0,o.A)("div",{className:"row middle-xs nowrap-xs"},void 0,(0,o.A)("div",{className:"col-xs-3 nfp-avatar-post",style:{backgroundImage:(0,Ri.T)(c)},"data-test-id":"post-author-avatar"}),(0,o.A)("div",{className:"col-xs-9"},void 0,(0,o.A)("div",{className:"post-name"},void 0,(0,o.A)(s.N_,{to:`/${e.account.login}`,"data-test-id":"post-author",reloadDocument:!0},void 0,e.account.login)),(0,o.A)("div",{className:"post-summary"},void 0,(0,o.A)(s.N_,{to:`/feed/${e.account.login}/${e.id}`,"data-test-id":"post-link"},void 0,(0,o.A)("span",{"data-test-id":"post-date",style:{display:"inline"}},void 0,e?.published_at&&!l&&m)),"  • ",(0,o.A)("span",{"data-test-id":"post-type-label"},void 0,(e=>{switch(e.post_type){case"free":return(0,o.A)(Ro,{postType:"Free Post",icon:(0,o.A)(jo.A,{style:{width:"20px",margin:"0 0 -7px 4px",color:"#222",cursor:"pointer"}})});case"subscriber":return(0,o.A)(Ro,{postType:"Preexisting Subscribers",icon:(0,o.A)(Uo,{style:{width:"20px",margin:"0 0 -7px 4px",cursor:"pointer"}})});case"welcome_kit":return(0,o.A)(Ro,{postType:"All Subscribers",icon:(0,o.A)(qo.A,{style:{width:"20px",margin:"0 0 -7px 4px",color:"#222",cursor:"pointer"}})});default:return"Post"}})(e))))))),(0,o.A)("div",{className:"col-xs-2"},void 0,(0,o.A)("div",{className:"row nowrap-xs middle-xs end-xs"},void 0,e.pinned&&r&&(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-pin.svg",title:"Pinned",alt:"Pinned",className:`icon-pin-post ${d}`,"data-test-id":"post-pin-icon"}),(0,o.A)(lr.A,{actions:i}))))),(0,o.A)("div",{className:"container-post-text"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12 start-xs"},void 0,(0,o.A)(Vr,{post:e,currentUserId:u?.id})))),(0,o.A)("div",{className:"container-post-item"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12 center-xs"},void 0,(0,o.A)(Qa,{post:e,advisor:t})))),(0,o.A)(Dr,{advisor:t,post:e,showComments:a}),a&&(0,o.A)(sr,{post:e,advisor:t}))};try{Qr.displayName="Post"}catch(e){}const Zr=Qr;var Kr=i(36517);const Xr=({post:e=null,advisor:t=null,showComments:i,showPin:a=!1,showLink:r=!0})=>
1{const s=(0,k.zg)(),l=s?.data?.current_user,d=l?.id===t?.id,c=(0,m.wA)(),u=(0,n.RQ)("/feed/:login/:postId"),p=(0,n.Zp)(),{postActions:h,isScheduled:g}=(0,Kr.A)({post:e,currentUser:l,advisor:t,afterDeleteCallback:()=>{c((0,Gi.zu)({advisorId:t.id})),u?.params?.postId&&setTimeout(()=>{p(`/${t.login}/feed`)},100)}});return(0,o.A)(Zr,{post:e,advisor:t,viewingSelf:d,actions:h,showComments:i,showPin:a,showLink:r,isScheduled:g})};try{Xr.displayName="PostContainer"}catch(e){}const Jr=Xr;var en;const tn=()=>en||(en=(0,o.A)("div",{className:"panel","data-test-id":"post-content-placeholder"},void 0,(0,o.A)("div",{className:"container-fluid container-post-placeholder"},void 0,(0,o.A)("div",{className:"row nowrap-xs"},void 0,(0,o.A)("div",{className:"loading shape1"}),(0,o.A)("div",{className:"loading shape2"})),(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"loading shape3"}),(0,o.A)("div",{className:"loading shape4"})),(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"loading shape5"})),(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"loading shape6"})))));try{tn.displayName="PostContentPlaceholder"}catch(e){}const on=tn;var an,rn;const nn=({closeModal:e})=>a.createElement(a.Fragment,null,an||(an=(0,o.A)("div",{className:"modal-header"},void 0,(0,o.A)("h4",{},void 0,"Welcome to your Feed!"))),rn||(rn=(0,o.A)("div",{className:"modal-body"},void 0,(0,o.A)("p",{},void 0,"To give you a taste of what's in store, you are already following some of our most popular Flirts. Now follow your favorites and subscribe to them for exclusive content. For more information about managing your feed, check out the ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us",target:"_blank"},void 0,"Help Center")))),(0,o.A)("div",{className:"modal-footer"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,className:"btn secondary",onClick:e},void 0,"OK")));try{nn.displayName="PremierListFollowedModal"}catch(e){}const sn=nn;var ln;const dn=()=>ln||(ln=(0,o.A)("div",{className:"container-start-to-earn","data-test-id":"feed-placeholder"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-sm-7 col-xs-12 padding30 paddingtop10"},void 0,(0,o.A)("h2",{},void 0,"When you are following Flirts, their posts will appear here in your feed."),(0,o.A)("p",{},void 0,"Check out the Explore tab or search above to find some Flirts to follow.")),(0,o.A)("div",{className:"col-sm-5 end-sm col-xs-12 center-xs padding30"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/flirt/sample-plus2.png",className:"img-sample",alt:"Sample"})))));try{dn.displayName="FeedPlaceholder"}catch(e){}const cn=dn;var un,mn;const pn=({setOldestCursor:e,setNewestCursor:t=null,feedQuery:i,showPin:r=!1,setMoreRecords:n})=>{const s=(0,m.wA)(),{data:l}=i(),d=l?.premier_list_followed,c=l?.records,u=l?.moreRecords,p=c?.map(e=>e.main_user_id),h=[...new Set(p)],{openModal:g}=(0,a.useContext)(bt.A),{data:v}=(0,k.jo)({ids:h},{skip:!h||0===h.length}),{data:A}=(0,k.GJ)({advisorIds:h},{skip:!h||0===h.length});return(0,a.useEffect)(()=>{n(u)},[u]),(0,a.useEffect)(()=>{if(A&&A.length>0){const e=A.reduce((e,t)=>{if(!t.feedPerk)return e;const i=e=>parseFloat(e.replace(/[^\d.]/g,"")),{advisorId:o,rate:a}=t,r=i(a);return(!e[o]||r<i(e[o].rate))&&(e[o]=t),e},{});s((0,ha.db)(e))}},[A,s]),(0,a.useEffect)(()=>{d&&g({component:sn}
1)},[d]),(0,a.useEffect)(()=>{if(c?.length>0){const i=c[0],o=c[c.length-1];e(o.published_at),t&&t(i.published_at)}},[c]),c?(0,o.A)("div",{style:{display:"contents"},"data-test-id":"posts-page-container"},void 0,0==c.length&&!u&&(mn||(mn=(0,o.A)(cn,{}))),c.map(e=>{const t=v?.find(t=>t.id===e.main_user_id);return(0,o.A)(Jr,{post:e,advisor:t,showPin:r,showComments:!1},e.id)})):un||(un=(0,o.A)(on,{}))};try{pn.displayName="PostsPageContainer"}catch(e){}const hn=pn,gn=({resetRecordsRequest:e,shouldResetRecordsTestFunc:t,doneResettingRecordsFunc:i})=>{const o=(0,m.wA)(),r=(0,a.useRef)(null),[n,s]=(0,a.useState)([""]),[l,d]=(0,a.useState)(!1),c=e=>{const t=e.target;t.scrollHeight-Math.ceil(t.scrollTop)-t.clientHeight<=2&&t.scrollTop>0&&(()=>{if(!l)return;const e=new Set(n.concat(r.current));s([...e])})()},u=()=>{document.getElementById("body-content").onscroll=c},p=()=>{const e=document.getElementById("body-content");e&&e.removeEventListener("scroll",c)};return(0,a.useEffect)(()=>{t()?(p(),s([]),document.getElementById("body-content").scrollTo(0,0),o(i()),setTimeout(()=>{s([""])},500)):u()},[e]),(0,a.useEffect)(()=>(u(),()=>{p()})),{setOldestCursor:e=>{r.current=e},cursors:n,setCursors:s,initScrollHandler:u,removeScrollHandler:p,setMoreRecords:d}};var vn;const An=()=>{const e=(0,m.wA)(),t=(0,n.Zp)(),i=(0,a.useRef)(null),[r,s]=(0,Vi.mQ)(),l=s?.status,d=s?.data?.new_posts,c=(0,Vi.hq)(),u=c?.data?.content_available,p="fulfilled"===c?.status,{resetHomeFeedRequest:h}=(0,m.d4)(e=>e.resetRecords),{cursors:g,setOldestCursor:v,setMoreRecords:y}=gn({resetRecordsRequest:h,doneResettingRecordsFunc:Gi.B9,shouldResetRecordsTestFunc:()=>h});(0,a.useEffect)(()=>{u||!p||at.A.hasCookie("enable_empty_follows")||(at.A.setCookie("enable_empty_follows","true",525600),t("/feed/explore"))},[c]),Po(()=>{r({cursor:i.current})},3e5),(0,a.useEffect)(()=>{"fulfilled"===l&&d&&e((0,A.SD)({component:Io,autoCloseDur:5e3,flashType:"feed"}))},[d,l]);const f=e=>{1===g.length&&(i.current=e)};return a.createElement(a.Fragment,null,!u&&p&&(vn||(vn=(0,o.A)(cn,{}))),u&&g.map(e=>(0,o.A)(hn,{setOldestCursor:v,setNewestCursor:f,feedQuery:()=>(0,Vi.ty)({cursor:e}),setMoreRecords:y},e)))};try{An.displayName="CombinedFeedContainer"}catch(e){}const yn=An,fn=()=>{const[e]=(0,s.ok)();let t=e.get("gender");if(!t){const e=(0,vo.F3)();t=(0,vo.RJ)(e)}const{resetExploreFeedRequest:i}=(0,m.d4)(e=>e.resetRecords),{cursors:r,setCursors:n,setOldestCursor:l,setMoreRecords:d}=gn({resetRecordsRequest:i,doneResettingRecordsFunc:Gi.Pe,shouldResetRecordsTestFunc:()=>i});return(0,a.useEffect)(()=>{n([""])},[t,n]),a.createElement(a.Fragment,null,r.map(e=>(0,o.A)(hn,{setOldestCursor:l,feedQuery:()=>(0,Vi.TT)({cursor:e,gender:t}),setMoreRecords:d},e)))};try{fn.displayName="ExploreFeedContainer"}catch(e){}const bn=fn;var wn,xn=i(4926),Cn=i(40517),kn=i(81293);const Sn=({isExpanded:e,toggleExpandedNav:t,currentUser:i=null,closeAndNavigateTo:r,affiliateUrl:n,balance:s=null,addMoney:l,seekerPresenceEnabled:d=!1})=>{const c=e?"block":"none";return a.createElement(a.Fragment,null,(0,o.A)("div",{className:"more-menu-bg",role:"link",tabIndex:0,onClick:t,style:{display:c}},void 0," "),(0,o.A)("div",{className:"more-menu","data-test-id":"more-menu",style:{display:c}},void 0,(0,o.A)("div",{className:"row end-xs margin0 more-sticky",onClick:t,role:"button",tabIndex:0},void 0,wn||(wn=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",alt:"close"}))),(0,o.A)("ul",{className:"nav-top",style:{marginTop:"-40px"}},void 0,(0,o.A)("li",{},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",spacing:1},void 0,(0,o.A)("div",{className:"menu-initials",style:{position:"relative"}},void 0,(0,xn.z)(i),d&&(0,o.A)("div",{style:{position:"absolute",bottom:"-2px",right:"-2px",width:"10px",height:"10px",borderRadius:"50%",backgroundColor:"#4caf50",border:"2px solid white"},"data-test-id":"seeker-presence-dot",role:"status","aria-label":"Online"})),(0,o.A)("div",{"data-test-id":"menu-user-link",style:{maxWidth:"180px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},void 0,i?.login))),(0,o.A)("li",{className:"margintopminus10 small-text"},void 0,"Balance: ",(0,o.A)("span",{style:{color:"#222"},"data-test-id":"account-balance"},void 0,"$",s),"  |  ",(0,o.A)("a",{href:"/transactions/details",style:{color:"var(--link_color)"}},void 0,"Transactions")),(0,o.A)(kn.A,{addMoney:l}),(0,o.A)(Cn.A,{closeAndNavigateTo:r,currentUser:i,affiliateUrl:n}))))};try{Sn.displayName="SeekerExpandedNav"}catch(e){}const _n=Sn;var Nn,Pn,Tn,Fn,In,En,Mn,On,Dn,Rn,Ln,jn,qn,Bn,zn,Un,$n,Wn,Gn,Hn,Yn,Vn,Qn,Zn=i(6918),Kn=i(79645),Xn=i(68775),Jn=i(5289),es=i(48439),ts=i(57255),is=i(69508),os=i(52879);const as=({isExpanded:e,toggleExpandedNav:t,currentUser:i=null,closeAndNavigateTo:r,affiliateUrl:n,balance:s=null,advisorPresenceEnabled:l=!1})=>{const d=(0,a.useContext)(os.A),c=e?"block":"none",{data:u}=(0,k.yM)({login:i.login}),{acceptedAvatarImage:m}=(0,uo.A)(u),{signOut:p}=(0,is.A)();return a.createElement(a.Fragment,null,(0,o.A)("div",{className:"more-menu-bg",role:"link",tabIndex:0,onClick:t,style:{display:c}},void 0," "),(0,o.A)("div",{className:"more-menu","data-test-id":"more-menu",style:{display:c}},void 0,(0,o.A)("div",{className:"row end-xs margin0 more-sticky",onClick:t,role:"button",tabIndex:0},void 0,Nn||(Nn=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",alt:"close"}))),(0,o.A)("ul",{className:"nav-top",style:{display:c,zIndex:"1",marginTop:"-40px"}},void 0,(0,o.A)("li",{},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",spacing:1},void 0,(0,o.A)("div",{style:{position:"relative"}}
1,void 0,(0,o.A)("div",{className:"menu-initials menu-avatar",style:{backgroundImage:(0,Ri.T)(m)}},void 0," "),l&&(0,o.A)("div",{style:{position:"absolute",bottom:"-2px",right:"-2px",width:"10px",height:"10px",borderRadius:"50%",backgroundColor:"#4caf50",border:"2px solid white"},"data-test-id":"advisor-presence-dot",role:"status","aria-label":"Online"})),(0,o.A)("div",{style:{maxWidth:"180px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},void 0,(0,o.A)("a",{title:i?.login,role:"link",tabIndex:0,className:"bluelink","data-test-id":"menu-user-link",onClick:()=>{r(`/${i?.login}`,!0)}},void 0,i?.login)))),(0,o.A)("li",{className:"margintopminus10"},void 0,(0,o.A)("div",{className:"small-text"},void 0,"Balance: ",(0,o.A)("span",{"data-test-id":"account-balance"},void 0,"$",s),"  |  ",(0,o.A)("a",{title:"Transactions",role:"link",tabIndex:0,className:"bluelink",onClick:()=>{r(d("transactionDetails"),!1)}},void 0,"Transactions"))),(0,o.A)("li",{className:"delin marginbot10"},void 0,(0,o.A)(Xn.A,{onClick:t})),Pn||(Pn=(0,o.A)("li",{className:"delin"},void 0,(0,o.A)(Jn.A,{}))),(0,o.A)("li",{},void 0,(0,o.A)("a",{title:"Featured Listings",role:"link",tabIndex:0,onClick:()=>{r("/account/featured_listing_results/listings",!0)}},void 0,Tn||(Tn=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-featuredlistings.svg",alt:"Featured Listings",className:"nav-icon"})),Fn||(Fn=(0,o.A)("span",{className:"nav-text"},void 0,"Featured Listings")))),(0,o.A)("li",{},void 0,(0,o.A)("a",{title:"Goodies",role:"link",tabIndex:0,onClick:()=>{r("/account/filemanager#tab-goody",!0)}},void 0,In||(In=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-goodies2.svg",alt:"Goodies",className:"nav-icon"})),En||(En=(0,o.A)("span",{className:"nav-text"},void 0,"Goodies")))),(0,o.A)("li",{},void 0,(0,o.A)("a",{title:"Customers",role:"link",tabIndex:0,onClick:()=>{r("/my_customers",!0)}},void 0,Mn||(Mn=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-customers.svg",alt:"Customers",className:"nav-icon"})),On||(On=(0,o.A)("span",{className:"nav-text"},void 0,"Customers")))),(0,o.A)("li",{},void 0,(0,o.A)("a",{title:"File Manager",role:"link",tabIndex:0,onClick:()=>{r("/account/filemanager#tab-library",!0)}},void 0,Dn||(Dn=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-filemanager.svg",alt:"File Manger",className:"nav-icon"})),Rn||(Rn=(0,o.A)("span",{className:"nav-text"},void 0,"File Manager")))),Ln||(Ln=(0,o.A)("li",{className:"delin subhead marginbot0"})),(0,o.A)(Zn.A,{closeAndNavigateTo:r,currentUser:i}),(0,o.A)("li",{className:"delin"},void 0,(0,o.A)(Kn.A,{closeAndNavigateTo:r})),(0,o.A)("li",{className:"delin"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,title:"Help & Support",onClick:()=>r("//support.niteflirt.com/hc/en-us",!0)},void 0,jn||(jn=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-help1.svg",alt:"Help & Support",className:"nav-icon"})),qn||(qn=(0,o.A)("span",{className:"nav-text"},void 0,"Help & Support")))),(0,o.A)("li",{},void 0,(0,o.A)("a",{role:"link",tabIndex:0,title:"About",onClick:()=>r("/help/about",!1)},void 0,Bn||(Bn=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-nf.svg",alt:"About",className:"nav-icon"})),zn||(zn=(0,o.A)("span",{className:"nav-text"},void 0,"About")))),(0,o.A)("li",{},void 0,(0,o.A)("a",{role:"link",tabIndex:0,title:"Become a Flirt",onClick:()=>r("/flirt",!0)},void 0,Un||(Un=(0,o.A)(es.A,{alt:"Become a Flirt",className:"nav-icon"})),$n||($n=(0,o.A)("span",{className:"nav-text"},void 0,"Become a Flirt")))),(0,o.A)("li",{},void 0,(0,o.A)("a",{role:"link",tabIndex:0,title:"Become an Affiliate",onClick:()=>r(n,!0)},void 0,Wn||(Wn=(0,o.A)(ts.A,{alt:"Become an Affiliate",className:"nav-icon"})),Gn||(Gn=(0,o.A)("span",{className:"nav-text"},void 0,"Become an Affiliate")))),i&&a.createElement(a.Fragment,null,Hn||(Hn=(0,o.A)("li",{className:"delin subhead marginbot0"})),(0,o.A)("li",{},void 0,(0,o.A)("a",{title:"Sign Out",onClick:p,role:"link",tabIndex:0},void 0,Yn||(Yn=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-logout.svg",alt:"Sign Out",className:"nav-icon"})),Vn||(Vn=(0,o.A)("span",{className:"nav-text"},void 0,"Sign Out")))))),Qn||(Qn=(0,o.A)("div",{className:"more-menu-bottom-padding"}))))};try{as.displayName="AdvisorExpandedNav"}catch(e){}const rs=as;var ns;const ss=({toggleExpandedNav:e,isExpanded:t,closeAndNavigateTo:i,affiliateUrl:r})=>{const n=t?"block":"none";return a.createElement(a.Fragment,null,(0,o.A)("div",{className:"more-menu-bg",role:"link",tabIndex:0,onClick:e,style:{display:n}},void 0," "),(0,o.A)("div",{className:"more-menu","data-test-id":"more-menu",style:{display:n}},void 0,(0,o.A)("div",{className:"row end-xs margin0 more-sticky",onClick:e,role:"button",tabIndex:0},void 0,ns||(ns=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",alt:"close"}))),(0,o.A)("ul",{className:"nav-top",style:{marginTop:"-40px"}},void 0,(0,o.A)(Cn.A,{closeAndNavigateTo:i,currentUser:null,affiliateUrl:r}))))};try{ss.displayName="UnauthorizedExpandedNav"}catch(e){}const ls=ss;var ds=i(12898),cs=i(11598),us=i(1921);const ms=({children:e})=>{const t=(0,n.Zp)(),{pathname:i}=(0,n.zy)(),r=(0,m.wA)(),[s,l]=(0,a.useState)(!1),d=(0,m.d4)(be.IN),{data:c}=(0,k.zg)(),{currentUser:u,affiliateUrl:p}=c||{};(0,a.useEffect)(()=>{d&&l(!1)},[d]),(0,a.useEffect)(()=>
1{l(!1)},[i]);const h=(0,x.u)("SEEKER_PRESENCE_25393"),g=(0,x.u)("CHAT_STATUSES_25793"),v=(0,x.u)("CHAT_STATUS_REALTIME_26748"),A=(0,cs.N)(u),y=(0,cs.M)(u),f=h&&A||g&&y,b=v&&y,{data:w}=(0,k.XR)(void 0,{skip:!f,pollingInterval:!f||b||A?0:6e4});(0,ds.A)(w);const C=!!w?.seeker_presence_enabled,S=g&&!1!==w?.advisor_presence_visible&&["on_with_forwarding","online_only"].includes(w?.chat_status),{addMoneyOrFunc:_}=(0,us.A)({afterAction:()=>{l(!1)}}),N="boolean"==typeof u?.has_unread_chat_messages?u.has_unread_chat_messages:void 0,P=(0,a.useRef)(void 0);(0,a.useEffect)(()=>{"boolean"==typeof N&&P.current!==N&&(r((0,ye.a)({hasUnreadMessages:N})),P.current=N)},[r,N]);const T=()=>l(!s),F=(e,i=!1,o=!1)=>{l(!1),i?window.location.href=e:o?window.open(e,"_blank"):t(e)},I=()=>{_(e=>{F(e,!0)})};let E;return E=(0,cs.N)(u)?(0,o.A)(_n,{isExpanded:s,closeAndNavigateTo:F,toggleExpandedNav:T,currentUser:u,addMoney:I,affiliateUrl:p,balance:c?.available_balance,seekerPresenceEnabled:C}):(0,cs.M)(u)?(0,o.A)(rs,{isExpanded:s,closeAndNavigateTo:F,toggleExpandedNav:T,currentUser:u,affiliateUrl:p,balance:c?.available_balance,advisorPresenceEnabled:S}):(0,o.A)(ls,{isExpanded:s,closeAndNavigateTo:F,toggleExpandedNav:T,affiliateUrl:p}),(0,a.useEffect)(()=>{const e=window.matchMedia("(min-width: 900px)"),t=()=>{e.matches&&l(!1)};return t(),e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}},[]),a.createElement(a.Fragment,null,(0,o.A)(Ue.A.Provider,{value:{toggleExpandedNav:T,closeAndNavigateTo:F,closeExpandedNav:()=>l(!1)}},void 0,E,e))};try{ms.displayName="ExpandedNavContainer"}catch(e){}const ps=ms,hs=({darkAssets:e=!1,fallbackTo:t=null})=>{const{login:i}=(0,n.g)(),[a]=(0,s.ok)(),r=(0,n.Zp)(),l=e?"/plus_frontend/assets/svg/ico-back-arrow-dark.svg":"/plus_frontend/assets/svg/ico-back-arrow.svg";return(0,o.A)(g.A,{sx:{pl:1,width:"20px"}},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:()=>{a.get("fromCreate")?r(`${i}/feed`):a.get("fromLogin")?r("/feed/home"):t&&!window.history.state?.idx?r(t):r(-1)},"data-test-id":"ico-back-arrow"},void 0,(0,o.A)("img",{src:l,alt:"Back",style:{margin:"3px 0px 0px 1px"}})))};try{hs.displayName="BackArrow"}catch(e){}const gs=hs;var vs,As=i(83596);const ys=({title:e,rightElement:t=null})=>(0,o.A)(As.A,{"data-test-id":"template-shell-header"},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",justifyContent:"space-between",width:"100%"},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",spacing:2},void 0,vs||(vs=(0,o.A)(gs,{})),(0,o.A)(O.A,{"data-test-id":"template-shell-header-title",variant:"purpleHeaderTitle"},void 0,e)),t&&(0,o.A)(W.A,{direction:"row",alignItems:"center"},void 0,t)));try{ys.displayName="TitleBackArrowImport"}catch(e){}const fs=ys;var bs,ws,xs=i(17244);const Cs=({body:e,setBody:t,onSubmit:i,errors:r=null})=>{const n=r?.body[0],s=Ii.Fr?"nfp-chat-footer-mobile":"nfp-chat-footer-desktop",l=(0,a.useRef)(),d=(0,a.useRef)(),[c,u]=(0,a.useState)({start:0,end:0}),m=()=>{u({start:d.current.selectionStart,end:d.current.selectionEnd})};return(0,o.A)("div",{className:s},void 0,(0,o.A)("div",{className:"container-compose"},void 0,(0,o.A)("form",{},void 0,(0,o.A)("div",{className:"container-textarea"},void 0,(0,o.A)("div",{className:"label-float"},void 0,a.createElement("textarea",{value:e,maxLength:200,onChange:e=>t(e.target.value),"data-lpignore":"true",onKeyUp:m,onClick:m,ref:d}),(0,o.A)("label",{className:e&&"filled"},void 0,"Add a comment"),n&&(0,o.A)("div",{className:"text-error"},void 0,n)),(0,o.A)("div",{className:"container-fluid padding-0-8 margintopminus10 emo-mart-pos-comments"},void 0,(0,o.A)(xs.A,{setText:i=>{const o=`${e.substring(0,c.start)}${i}${e.substring(c.end)}`;u({start:c.start+i.length,end:c.start+i.length}),d.current.setSelectionRange(c.start+i.length,c.start+i.length),t(o)},toggleEmojiRef:l}),(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{className:"col-xs-6 start-xs"},void 0,a.createElement("a",{href:"#",ref:l},bs||(bs=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-smiley.svg",alt:"Add Emoji",className:"ico-emoji"})))),(0,o.A)("div",{className:"col-xs-6 end-xs"},void 0,(0,o.A)("a",{href:"#comments",onClick:()=>{i(),(()=>{const e=document.querySelector(".nfp-chat-body #comments");e&&(e.classList.add("height"),setTimeout(()=>{e.classList.remove("height")},3e3))})()},style:{display:"inline-block",border:"1px transparent white",padding:"1px 1px 1px 10px"}},void 0,ws||(ws=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-send.svg",alt:"Send"}))))))))))};try{Cs.displayName="CommentsComposeBox"}catch(e){}const ks=Cs,Ss=({post:e})=>{const t=(0,m.wA)(),i=(0,k.zg)(),[r,n]=(0,a.useState)(""),s=e?.id,{openModal:l}=(0,a.useContext)(bt.A),[d,{status:c,error:u}]=(0,Vi.Pt)(),[p,{status:h}]=(0,Vi.uq)(),g=i?.data?.current_user,v=u?.data.errors,A=()=>{d({body:r,postId:s}
1)};(0,a.useEffect)(()=>{"fulfilled"===c&&(t((0,Za.ei)({postId:s})),n(""))},[c]);const y=()=>{p({advisorId:e.account.main_user_id,postId:s,refetchPost:!0})},{addMoneyEnabled:f,openAddCard:b}=(0,us.A)({afterAction:y,afterClose:y}),w=()=>{f?b({},null,"comment_flow"):l({component:ur.A,props:{afterCloseAction:y,trackingContext:"comment_flow"}})};return(0,a.useEffect)(()=>{"fulfilled"===h&&A()},[h]),(0,o.A)(ks,{body:r,setBody:n,onSubmit:()=>{if(e.commentable||e.blocked)A();else{const t=Object.keys(g.default_card||{}).length>0;l(t?{component:cr,props:{onClickAction:y,copy:{headerCopy:"Follow this Flirt?",bodyCopy:`You must follow ${e.account.login}\n                to leave comments on this post.`,submitButtonCopy:"Follow this Flirt"}}}:{component:cr,props:{onClickAction:w,copy:{headerCopy:"Follow this Flirt?",bodyCopy:`You must follow ${e.account.login}\n                and have a credit card on file to leave comments.`,submitButtonCopy:"Add Card"}}})}},errors:v})};try{Ss.displayName="CommentsComposeBoxContainer"}catch(e){}const _s=Ss;var Ns,Ps;const Ts=({selectedPostId:e=null,hideHeader:t=!1})=>{const i=(0,m.wA)(),{login:r,postId:s}=(0,n.g)(),l=s||e,{data:d,isLoading:c}=(0,k.yM)({login:r}),{data:u}=(0,Vi.at)({postId:l}),p=(0,k.zg)(),h=p?.data?.current_user,{isScheduled:g}=Sr({post:u}),{data:v}=(0,k.GJ)({advisorIds:d?.id});if((0,a.useEffect)(()=>{if(v&&v.length>0){const e=v.filter(e=>e.feedPerk).find(Boolean),t={};t[d?.id]=e,i((0,ha.db)(t))}},[v,i]),c)return null;if(!d?.active)return Ns||(Ns=(0,o.A)(n.C5,{replace:!0,to:"/feed/missing/profile"}));if(!d?.onboarding_complete)return(0,o.A)(n.C5,{replace:!0,to:`/${d.login}`});if(!l)return(0,o.A)(n.C5,{replace:!0,to:`/${d.login}/feed`});if(!u)return null;if(u.account.login!==decodeURIComponent(r))return(0,o.A)(n.C5,{to:`/feed/${u.account.login}/${u.id}`});const A=h&&u.published_at&&!g&&u.unlocked;return(0,o.A)(dt.A,{"data-test-id":"post-detail-container"},void 0,!t&&(Ps||(Ps=(0,o.A)(fs,{title:"Post"}))),(0,o.A)("div",{className:"nfp-chat-body"},void 0,(0,o.A)(Jr,{post:u,advisor:d,showComments:!0,showLink:!1},u.id)),A&&(0,o.A)(_s,{post:u}))};try{Ts.displayName="PostDetailContainer"}catch(e){}const Fs=Ts,Is=e=>e&&e.active?"/plus_frontend/assets/svg/btn-following2.svg":"/plus_frontend/assets/svg/btn-follow2.svg",Es=({follow:e=null,followButtonClick:t,currentUser:i=null})=>(0,o.A)(ua.A,{role:"button",tabIndex:"0",currentUser:i,onClick:t},void 0,(0,o.A)("img",{src:Is(e),alt:"",style:{cursor:"pointer"},"data-test-id":"follow-button"}));try{Es.displayName="FollowButton"}catch(e){}const Ms=Es;var Os,Ds,Rs=i(41783);const Ls=({closeModal:e,doUnfollow:t})=>a.createElement(a.Fragment,null,Os||(Os=(0,o.A)("div",{className:"modal-header"},void 0,(0,o.A)("h4",{},void 0,"Stop Following This Flirt?"))),Ds||(Ds=(0,o.A)("div",{className:"modal-body"},void 0,(0,o.A)("p",{},void 0,"Are you sure? You won't be able to comment or like their posts without following them."))),(0,o.A)("div",{className:"modal-footer"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,className:"btn secondary",onClick:e},void 0,"Cancel"),(0,o.A)("button",{type:"button",className:"btn",onClick:()=>{t(),e()}},void 0,"Unfollow")));try{Ls.displayName="UnfollowConfirmModal"}catch(e){}const js=Ls,qs=({tributeData:e=null,fetchStateFromApi:t,followData:i=null,advisorData:r=null})=>{let s,l,d,c;const{openModal:u,closeModal:p}=(0,a.useContext)(bt.A),h=(0,m.wA)(),{data:g}=(0,k.zg)(),v=g?.current_user;if(t){const{login:e}=(0,n.g)();s=(0,k.yM)({login:e})?.data;const t=(0,k.z5)({advisorLogin:s?.login},{skip:!s||!v});d=t?.data?.packageSubscription,c=t?.isSuccess,l=(0,Vi.HW)({advisorId:s?.id},{skip:!v||!s})?.data}else e&&(l=i,s=r||{id:e.advisor_id},(e=>e&&"cancelled"!==e.status&&e.current_charge?.feed_benefit)(e)&&(d=e,c=!0));!0===l?.active&&s?.blocked&&(l={active:!1});const y=(0,Vi.Qj)({advisorId:s?.id},{skip:!s}),f=y?.data?.content_available,b="fulfilled"===y?.status,w=y?.isError,[x,{isLoading:C}]=(0,Vi.uq)(),[S]=(0,Vi.pi)(),_=w||b&&!f,{addMoneyEnabled:N,openAddCard:P}=(0,us.A)({afterAction:()=>{h(x({advisorId:s.id}))},afterClose:()=>{h(x({advisorId:s.id}))}});return s&&!0===s.onboardingComplete?_?null:(0,o.A)(Ms,{follow:l,followButtonClick:()=>
1{if(C)return null;v?.id!=s.id?!0!==l?.active&&s.blocked||!0===l?.active&&s.blocked?h((0,A.SD)({flashType:"error",props:{message:"We're sorry, you are unable to follow this Flirt because this Flirt blocked you or you blocked this Flirt."}})):c&&d&&"cancelled"!==d.status&&d.current_charge?.feed_benefit?h((0,A.SD)({flashType:"error",props:{message:"You can't unfollow this Flirt because you're their subscriber."}})):l&&l.active?u({component:js,props:{doUnfollow:()=>{S({advisorId:s.id})}}}):v.default_card.last_four?x({advisorId:s.id}):u({component:Rs.A,props:{callToAction:()=>{h((()=>{if(N)return p(),void P({},null,"follow_flow");u({component:ur.A,props:{afterCloseAction:()=>{h(x({advisorId:s.id}))},trackingContext:"follow_flow"}})})())},ctaButtonLabel:"Add Card",header:"Follow this Flirt?",body:"You must have a credit card on file to follow this flirt."}}):h((0,A.SD)({flashType:"error",props:{message:"You can't follow yourself"}}))},currentUser:v}):null};try{qs.displayName="FollowButtonContainer"}catch(e){}const Bs=qs,zs=({title:e=null,href:t,iconSrc:i,altText:a=null,imgClasses:r=null,role:n=null,iconStyle:s=null})=>(0,o.A)("a",{title:e,href:t,role:n,target:"_blank",rel:"noreferrer"},void 0,(0,o.A)("img",{src:i,alt:a,className:r,style:s}));try{zs.displayName="IconLink"}catch(e){}const Us=zs;var $s,Ws=i(72775),Gs=i(83857),Hs=i(54093),Ys=i(18557),Vs=i(92013),Qs=i(91471),Zs=i(91409),Ks=i(54529);const Xs=({packageData:e,currentUser:t})=>{const{closeDialog:i}=(0,a.useContext)(la.A),{currentCharge:r,subscriptionStartedAt:n,subscriptionEndsAt:s}=e,l=(0,Vs.A)();if(!r)return null;const{callBenefit:d,volleyBenefit:c}=r,u=ki.c9.local().toFormat("MM/dd/yyyy h:mm a ZZZZ"),m={display:"flex",alignItems:"center",width:"35px",minWidth:"35px"},p={marginTop:0,color:l.palette.text.primary};return a.createElement(a.Fragment,null,$s||($s=(0,o.A)(Hs.A,{},void 0,"Perks Used:")),(0,o.A)(Zs.A,{closeDialog:i}),(0,o.A)(Ys.A,{sx:{pt:1}},void 0,(0,o.A)(g.A,{"data-test-id":"perk-usage-list",sx:{mb:3}},void 0,d&&(0,o.A)(g.A,{"data-test-id":"call-usage",sx:{display:"flex",alignItems:"center",mb:1}},void 0,(0,o.A)(g.A,{sx:m},void 0,(0,o.A)(Qs.A,{style:{color:l.palette.secondary.main}})),(0,o.A)(O.A,{variant:"body1",style:p},void 0,(e=>{const t=e.periodCallsUsed,i=1===t?"call":"calls";return e.limitByPeriod?`${t} of ${e.totalCallLimit} free minute ${i}`:`${t} ${i} with free minutes`})(d))),c&&(0,o.A)(g.A,{"data-test-id":"volley-usage",sx:{display:"flex",alignItems:"center",mb:1}},void 0,(0,o.A)(g.A,{sx:m},void 0,(0,o.A)(Qs.A,{style:{color:l.palette.secondary.main}})),(0,o.A)(O.A,{variant:"body1",style:p},void 0,`${c.periodVolleysUsed} of ${c.totalVolleyLimit} free volleys`))),(0,o.A)(g.A,{},void 0,(0,o.A)(O.A,{variant:"body2",color:"text.secondary","data-test-id":"as-of-time"},void 0,`As of ${u}`),(0,o.A)(O.A,{variant:"body2",color:"text.secondary","data-test-id":"billing-period",sx:{mt:1}},void 0,`Billing Period ${(0,Ks.kz)(n,t.canonical_iana_timezone)}-${(0,Ks.kz)(s,t.canonical_iana_timezone)}`))))};try{Xs.displayName="BenefitUsage"}catch(e){}const Js=Xs;var el;function tl({status:e,rate:t,renewalDate:i,onEditClick:a,currentUser:r,editTitle:n="Edit Subscription",updateCardTitle:s="Update Card"}){return(0,o.A)(g.A,{mt:1,pl:1,pr:1,style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",flexDirection:"row"},"data-test-id":"subscription-details"},void 0,(0,o.A)(g.A,{},void 0,(0,o.A)(ua.A,{role:"link",tabIndex:0,title:n,currentUser:r,onClick:a,"data-test-id":"subscription-edit-link"},void 0,t," ","per month")),"active"===e&&(0,o.A)(g.A,{"data-test-id":"subscription-status"},void 0,"Renews"," ",(0,Ks.kz)(i,r.canonical_iana_timezone)),"charge_failed"===e&&(0,o.A)(g.A,{"data-test-id":"subscription-status"},void 0,"Renewal Failed. ",(0,o.A)(ua.A,{role:"link",tabIndex:0,title:s,currentUser:r,onClick:a,"data-test-id":"update-card"}
1,void 0,"Update Card"),el||(el=(0,o.A)("br",{})),"or expires"," ",(0,Ks.kz)(i,r.canonical_iana_timezone)),"pending_cancel"===e&&(0,o.A)(g.A,{"data-test-id":"subscription-status"},void 0,"Expires"," ",(0,Ks.kz)(i,r.canonical_iana_timezone)),"cancelled"===e&&(0,o.A)(g.A,{"data-test-id":"subscription-status"},void 0,"Expired"," ",(0,Ks.kz)(i,r.canonical_iana_timezone)))}try{tl.displayName="SubscriptionDetails"}catch(e){}const il=tl;var ol,al;const rl=["active","pending_cancel","charge_failed","charging"],nl=({currentUser:e,onEditClick:t,packageSubscriptionData:i})=>{const{openDialog:r}=(0,a.useContext)(la.A),{feedPerk:n,callPerk:s,volleyPerk:l}=i.package,d=n||s||l,c=s||l,u=rl.includes(i.status)&&c;return(0,o.A)(g.A,{mt:1},void 0,ol||(ol=(0,o.A)(O.A,{variant:"h4",pl:1},void 0,"Packages")),(0,o.A)(il,{status:i.status,rate:i.rate,renewalDate:i.subscriptionEndsAt,onEditClick:t,currentUser:e,editTitle:"Edit Package"}),d&&(0,o.A)(g.A,{style:{display:"flex",flexDirection:"column"}},void 0,(0,o.A)(g.A,{style:{display:"flex",justifyContent:"space-between",alignItems:"center"}},void 0,al||(al=(0,o.A)(O.A,{variant:"h6",mt:2,mb:-1,pl:1},void 0,"Perks:")),u&&(0,o.A)(Ws.A,{role:"button",tabIndex:0,onClick:()=>{r({component:Js,props:{packageData:i,currentUser:e}})},style:{cursor:"pointer",marginTop:"16px",marginBottom:"-8px",paddingRight:"8px"},"data-test-id":"perks-used-link"},void 0,"Perks Used")),(0,o.A)(Gs.A,{packageData:i.package})))};try{nl.displayName="PackageDetails"}catch(e){}const sl=nl;var ll,dl;const cl=({currentUser:e,onEditClick:t,tributeData:i})=>(0,o.A)(g.A,{mt:1},void 0,ll||(ll=(0,o.A)(O.A,{variant:"h4",pl:1},void 0,"Recurring Tributes")),(0,o.A)(il,{status:i.status,rate:i.rate,renewalDate:i.renewalDate,onEditClick:t,currentUser:e,editTitle:"Edit Recurring Tribute"}),dl||(dl=(0,o.A)(O.A,{pl:1,mt:2,"data-test-id":"no-perks-message"},void 0,"There are no perks associated with this tribute.")));try{cl.displayName="RecurringTributeDetails"}catch(e){}const ul=cl;var ml,pl;const hl=({tributeData:e,follow:t=null,currentFilter:i})=>{const{advisor_login:r,advisor_id:n}=e,{onTributeButtonClick:l}=(0,xr.A)({advisor:{id:n,login:r}}),{data:d}=(0,k.yM)({login:r}),{acceptedAvatarImage:c,coverImage:u}=(0,uo.A)(d),m=(0,k.zg)(),p=m?.data?.current_user,h={backgroundImage:(0,Ri.T)(c)},g={backgroundImage:(0,Ri.T)(u)},{openDialog:v}=(0,a.useContext)(la.A),{dispatch:A,setCurrentStep:y,setRecurring:f,setPackageId:b,setPackageRate:w}=(0,sa.A)({advisor:d}),x=()=>(document.getElementsByClassName("MuiDialog-root").length>0&&(document.getElementsByClassName("MuiDialog-root")[0].style.display="block"),A(f({recurring:!0})),v({component:da.A,props:{advisorLogin:r}}),A(y({currentStep:ca.O.NEW_TRIBUTE}))),C=e.package?(0,o.A)(sl,{packageSubscriptionData:e,currentUser:p,onEditClick:()=>{A(b({packageId:e.package.id})),A(w({packageRate:e.package.rate})),x()}}):(0,o.A)(ul,{currentFilter:i,currentUser:p,onEditClick:x,tributeData:e});return(0,o.A)("div",{className:"card"},void 0,(0,o.A)("div",{className:"nfp-card-hero-bg subscriptions",style:g},void 0,ml||(ml=(0,o.A)("div",{className:"nfp-hero-opac"},void 0," "))),(0,o.A)("div",{className:"nfp-card"},void 0,(0,o.A)("div",{className:"container-max margintop25"},void 0,(0,o.A)("div",{className:"container-fluid container-main-info"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-4 center-xs first-part"},void 0,(0,o.A)("div",{className:"nfp-avatar-hero",style:h},void 0," ")),(0,o.A)("div",{className:"col-xs-8 start-xs second-part"},void 0,(0,o.A)(s.N_,{to:`/${r}`},void 0,(0,o.A)("h2",{},void 0,r)),(0,o.A)("ul",{className:"nav-card-hero"},void 0,(0,o.A)("li",{},void 0,(0,o.A)(ua.A,{role:"link",tabIndex:0,title:"Pay a Tribute",currentUser:p,onClick:l},void 0,pl||(pl=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-top-tribute.svg",alt:"Pay a Tribute",className:"nav-hero-icon"})))),(0,o.A)("li",{},void 0,(0,o.A)(Us,{title:"Chat",href:`/chat/${d?.slug}`,iconSrc:"/plus_frontend/assets/svg/ico-top-chat.svg",altText:"Chat",imgClasses:"nav-hero-icon"})),(0,o.A)("li",{},void 0,(0,o.A)(Us,{title:"Call",href:r?`/${r}#live`:"#",iconSrc:"/plus_frontend/assets/svg/ico-top-call.svg",altText:"Call",imgClasses:"nav-hero-icon"})),(0,o.A)("li",{},void 0,(0,o.A)(Bs,{followData:t,tributeData:e,advisorData:d,fetchStateFromApi:!1}))))))),(0,o.A)("div",{className:"container-max"},void 0,C)))};try{hl.displayName="TributeCardContainer"}catch(e){}const gl=hl;var vl;const Al=()=>vl||(vl=(0,o.A)("div",{className:"card"},void 0,(0,o.A)("div",{className:"container-card-placeholder"},void 0,(0,o.A)("div",{className:"row nowrap-xs"},void 0,(0,o.A)("div",{className:"loading shape7"},void 0,(0,o.A)("div",{className:"shape8"}),(0,o.A)("div",{className:"shape9"}),(0,o.A)("div",{className:"shape10"}))),(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"loading shape11"})))));try{Al.displayName="TributeCardPlaceholder"}catch(e){}const yl=Al;var fl;const bl={active:"No active subscriptions.",needs_attention:"Yay! There is nothing here for you to review.",expired:"Hooray! You don't have anything expiring soon."},wl=({tributes:e=[],follows:t=[],isLoading:i,isTributesLoading:r,filterButtonClick:s,currentFilter:l})=>{let d;const{login:c}=(0,n.g)(),u=(0,n.RQ)(`/${c}/feed/subscriptions`),m=gl,p=yl;return d=i||r?(0,o.A)("div",{"data-test-id":"subscriptions-loading",style:{display:"contents"}},void 0,(0,o.A)(p,{}),(0,o.A)(p,{}),(0,o.A)(p,{})):0===e?.length?(0,o.A)("div",{className:"margin10"},void 0,bl[l]):e.map(e=>{let i;return t?.length>0&&(i=t.find(t=>t.creator_account.main_user_id===e.advisor_id)),(0,o.A)(m,{tributeData:e,follow:i,currentFilter:l},e.id)}),a.createElement(a.Fragment,null,!u&&(0,o.A)(bo,{},void 0,(0,o.A)(fs,{title:"Subscriptions",style:{marginBottom:"0px"}}),fl||(fl=(0,o.A)(yo,{}))),(0,o.A)("div",{className:"container-summary-tags",style:{borderBottom:"1px solid #ddd",marginTop:"10px"}},void 0,(0,o.A)("div",{className:"row middle-xs start-xs"},void 0,(0,o.A)("span",{className:""+("active"===l?"active":""),role:"link",tabIndex:0,onClick:()=>s("active")},void 0,"Active"),(0,o.A)("span",{className:""+("needs_attention"===l?"active":""),role:"link",tabIndex:0,onClick:()=>s("needs_attention")},void 0,"Needs Attention"),(0,o.A)("span",{className:""+("expired"===l?"active":""),role:"link",tabIndex:0,onClick:()=>s("expired")},void 0,"Expired"))),(0,o.A)("div",{className:"container-fluid padding10 paddingtop0"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12 center-xs"},void 0,(0,o.A)("div",{className:"container-fluid padding0"},void 0,(0,o.A)("div",{className:"row start-xs"},void 0,d))))))};try{wl.displayName="MySubscriptions"}catch(e){}const xl=wl,Cl=["active","needs_attention","expired"],kl=()=>{const[e,t]=(0,a.useState)("active"),{data:i,isLoading:r}=(0,k.yd)({filter:e});(0,a.useEffect)(()=>{const e=new URLSearchParams(window.location.search);Cl.includes(e.get("t"))&&t(e.get("t"))},[]);const{data:n}=(0,Vi.mb)({advisorIds:i?.map(e=>e.advisorId)},{skip:!i||0===i.length});return(0,o.A)(dt.A,{},void 0,(0,o.A)(xl,{tributes:i,follows:n||[],isLoading:!1,isTributesLoading:r,currentFilter:e,filterButtonClick:e=>{t(e)}}))};try{kl.displayName="MySubscriptionsContainer"}catch(e){}const Sl=kl;var _l=i(47620),Nl=i(91637);const Pl=a.createContext();var Tl,Fl,Il,El;const Ml=({toggleTip:e,tipOpen:t,setButtonRef:i,setTipContentRef:r,packageData:n={},currentUser:s=null})=>{const{copyPackageLinkHandler:l,packageStatusHandler:d,deletePackageHandler:c}=(0,a.useContext)(Pl);return(0,o.A)(Ot.A,{content:a.createElement("div",{ref:r,className:"nfp-tooltip"},(0,o.A)("div",{className:"row nowrap-xs"},void 0,(0,o.A)("div",{className:"col-xs-11"},void 0,(0,o.A)("div",{className:"menu-links"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:()=>{e(),l(n.id,s?.login)}},void 0,"Copy Package Link"),Tl||(Tl=(0,o.A)("br",{})),(0,o.A)("a",{role:"link",tabIndex:0,onClick:()=>{e(),d(n)}},void 0,"Make Package "+("public_package"===n?.status?"Private":"Public")),Fl||(Fl=(0,o.A)("br",{})),(0,o.A)("a",{role:"link",tabIndex:0,onClick:()=>{e(),c(n.id)}},void 0,"Delete Package"))),(0,o.A)("div",{className:"col-xs-1 end-xs"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:e},void 0,Il||(Il=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",className:"marginlftminus5",alt:"close"})))))),isOpen:t,tagName:"span",direction:"down",forceDirection:!0}
1,void 0,a.createElement("a",{role:"link",tabIndex:0,ref:i,onClick:e},El||(El=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-more-menu.svg",alt:"More",className:"icon-more-body"}))))};try{Ml.displayName="PackageTooltip"}catch(e){}const Ol=(0,Dt.A)(Ml);var Dl,Rl,Ll,jl,ql,Bl;const zl=({label:e,count:t=0,tagFilter:i,packageId:r,rate:n})=>{const s=t||0,l=`package-${e.toLowerCase().replace(/\s+/g,"-")}`;return(0,o.A)(O.A,{variant:"body1",sx:{mb:1},"data-test-id":l},void 0,(0,o.A)("strong",{},void 0,e,":"," "),s,s>0&&a.createElement(a.Fragment,null," (",(0,o.A)(Ws.A,{href:`/my_customers?filters[hasTags][]=${i}&filters[packages][]=Pkg ${r}: ${n}`},void 0,"View Customers"),")"))};try{zl.displayName="SubscriberCount"}catch(e){}const Ul=({packageData:e,closeDialog:t})=>a.createElement(a.Fragment,null,Dl||(Dl=(0,o.A)(Hs.A,{},void 0,"Package Stats")),(0,o.A)(Zs.A,{closeDialog:t}),(0,o.A)(Ys.A,{},void 0,(0,o.A)(g.A,{},void 0,(0,o.A)(O.A,{variant:"body1",sx:{mb:1},"data-test-id":"package-id"},void 0,Rl||(Rl=(0,o.A)("strong",{},void 0,"ID:"))," ",e.id),(0,o.A)(O.A,{variant:"body1",sx:{mb:1},"data-test-id":"package-status"},void 0,Ll||(Ll=(0,o.A)("strong",{},void 0,"Status:"))," ",e.formattedStatus),(0,o.A)(O.A,{variant:"body1",sx:{mb:1},"data-test-id":"package-creation-date"},void 0,jl||(jl=(0,o.A)("strong",{},void 0,"Creation Date:"))," ",e.creationDate),"deleted_package"===e.status&&e.deletionDate&&(0,o.A)(O.A,{variant:"body1",sx:{mb:1},"data-test-id":"package-deletion-date"},void 0,ql||(ql=(0,o.A)("strong",{},void 0,"Deletion Date:"))," ",e.deletionDate),"deleted_package"!==e.status&&(0,o.A)(zl,{label:"Active Subscribers",count:e.activeSubscribersCount,tagFilter:"Subscribers",packageId:e.id,rate:e.rate}),(0,o.A)(zl,{label:"Pending Expiration",count:e.pendingExpirationCount,tagFilter:"Pending Expirations",packageId:e.id,rate:e.rate}),(0,o.A)(zl,{label:"Expired",count:e.expiredCount,tagFilter:"Expired Subscribers",packageId:e.id,rate:e.rate}),"deleted_package"!==e.status&&(0,o.A)(O.A,{variant:"body1","data-test-id":"package-cancellation-rate"},void 0,Bl||(Bl=(0,o.A)("strong",{},void 0,"Cancellation Rate:"))," ",e.cancellationRate||0,"%"))));try{Ul.displayName="PackageStatsModal"}catch(e){}const $l=Ul,Wl=({packageData:e,currentUser:t=null})=>{const{openDialog:i,closeDialog:r}=(0,a.useContext)(la.A);return(0,o.A)(g.A,{className:"panel2",mt:0,py:2,"data-test-id":"package-management-card","data-package-id":e.id},void 0,(0,o.A)(no.Ay,{container:!0,alignItems:"center"},void 0,(0,o.A)(no.Ay,{"data-test-id":"package-rate",item:!0,xs:6},void 0,(0,o.A)(g.A,{sx:{width:"150px"}},void 0,(0,o.A)(g.A,{sx:{display:"inline",fontSize:"1.313em"}},void 0,e.rate)," ","a month")),(0,o.A)(no.Ay,{"data-test-id":"deleted-date",item:!0,xs:6,sx:{textAlign:"end"}},void 0,"pending_onboarding"===e.status&&(0,o.A)(s.N_,{to:`/feed/${t?.login}/onboarding`},void 0,"Set Up Feed"),"deleted_package"===e.status&&`Deleted ${(0,Ks.zO)(e.deletedAt,t?.canonical_iana_timezone,"L/d/yyyy")}`,("public_package"===e.status||"private_package"===e.status)&&(0,o.A)(Ol,{packageData:e,currentUser:t})),(0,o.A)(Gs.A,{packageData:e}),(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(W.A,{direction:"row",spacing:1,justifyContent:"space-between",width:"100%",alignItems:"center"},void 0,(0,o.A)("div",{className:"package-id-text help-text"},void 0,"Package ID:"," ",e.id),("public_package"===e.status||"private_package"===e.status)&&(0,o.A)("div",{className:"help-text"},void 0,"Subscribers:"," ",e.activeSubscribersCount||0),(0,o.A)("div",{className:"help-text"},void 0,(0,o.A)(E.A,{variant:"text",size:"small",onClick:()=>{i({component:$l,props:{packageData:e,closeDialog:r}})},sx:{minWidth:"auto",padding:"0",textTransform:"none",fontSize:"inherit",lineHeight:"inherit",minHeight:"auto",verticalAlign:"baseline"}},void 0,"Stats"))))))};try{Wl.displayName="PackageManagementCard"}catch(e){}const Gl=Wl;var Hl,Yl,Vl,Ql=i(97352),Zl=i(52483);const Kl=({feedStatus:e,publicPackagesCount:t=0,terminateFeed:i=null,reactivateFeed:r=null})=>{var n,s,l,d,c,u;const{closeDialog:m}=(0,a.useContext)(la.A),[p,h]=(0,a.useState)(""),[g,v]=(0,a.useState)(!1),A="terminated"===e,y=t<6,f=async()=>{h(""),v(!0);try{await i().unwrap(),window.location.reload()}catch(e){h(e?.data?.error||"An error occurred while removing your feed."),v(!1)}},b=async()=>{h(""),v(!0);try{await r().unwrap(),m()}catch(e){h(e?.data?.error||"An error occurred while restoring your feed.")}finally{v(!1)}},w=e=>{"Escape"===e.key&&m()};return"active"===e?(0,o.A)("div",{style:{display:"contents"},"data-test-id":"feed-removal-dialog"},void 0,Hl||(Hl=(0,o.A)(Hs.A,{"data-test-id":"feed-removal-dialog-title"},void 0,"Are you sure you want to remove your Feed?")),n||(n=(0,o.A)(Zs.A,{closeDialog:m})),(0,o.A)(Ys.A,{onKeyDown:w},void 0,(0,o.A)(O.A,{variant:"body2",sx:{mb:2},"data-test-id":"feed-removal-dialog-warning"},void 0,"Removing your Feed will take it off your Storefront. Feed-only Packages will be deleted, ending those subscriptions. Packages that include the Feed perk along with other perks will stay active -- we'll just remove the Feed perk."),(0,o.A)(O.A,{variant:"body2",sx:{mb:3},"data-test-id":"feed-removal-dialog-learn-more"},void 0,Yl||(Yl=(0,o.A)(Ws.A,{href:"https://support.niteflirt.com/hc/en-us/articles/39865417516557",target:"_blank",rel:"noopener noreferrer"},void 0,"Learn More"))),p&&(0,o.A)(O.A,{variant:"body2",color:"error",sx:{mb:2},"data-test-id":"feed-removal-dialog-error"},void 0,p),(0,o.A)(W.A,{direction:"row",justifyContent:"flex-end",spacing:2},void 0,s||(s=(0,o.A)(E.A,{variant:"text",onClick:m,disabled:g},void 0,"Cancel")),(0,o.A)(E.A,{variant:"contained",color:"primary",onClick:f,disabled:g},void 0,g?"Removing...":"Remove Feed")))):A?y?(0,o.A)("div",{style:{display:"contents"},"data-test-id":"feed-restore-dialog"},void 0,(0,o.A)(Hs.A,{"data-test-id":"feed-restore-dialog-title",sx:{color:"primary.main"}},void 0,"Ready to restore your Feed?"),c||(c=(0,o.A)(Zs.A,{closeDialog:m})),(0,o.A)(Ys.A,{onKeyDown:w},void 0,(0,o.A)(O.A,{variant:"body2",sx:{mb:3}},void 0,"Your Feed will return to your Storefront, and a public Feed-only Package will be created automatically."),p&&(0,o.A)(O.A,{variant:"body2",color:"error",sx:{mb:2},"data-test-id":"feed-restore-dialog-error"},void 0,p),(0,o.A)(W.A,{direction:"row",justifyContent:"flex-end",spacing:2},void 0,u||(u=(0,o.A)(E.A,{variant:"text",onClick:m,disabled:g},void 0,"Cancel")),(0,o.A)(E.A,{variant:"contained",color:"primary",onClick:b,disabled:g,"data-test-id":"feed-restore-dialog-restore-button"},void 0,g?"Restoring...":"Restore Feed")))):(0,o.A)("div",{style:{display:"contents"},"data-test-id":"feed-restore-dialog"}
1,void 0,Vl||(Vl=(0,o.A)(Hs.A,{"data-test-id":"feed-restore-dialog-title"},void 0,"Cannot Restore Feed")),l||(l=(0,o.A)(Zs.A,{closeDialog:m})),(0,o.A)(Ys.A,{onKeyDown:w},void 0,(0,o.A)(O.A,{variant:"body2",sx:{mb:3},"data-test-id":"feed-restore-dialog-warning"},void 0,"You currently have 6 public Packages, and your Feed Package must also be public. To restore your Feed, please change one of your existing public Packages to private."),d||(d=(0,o.A)(W.A,{direction:"row",justifyContent:"flex-end"},void 0,(0,o.A)(E.A,{variant:"contained",onClick:m,"data-test-id":"close-button"},void 0,"Close"))))):null};try{Kl.displayName="FeedTerminationDialog"}catch(e){}const Xl=Kl;var Jl,ed=i(65829),td=i(25486),id=i(41831),od=i(361);const ad=({currentUser:e=null})=>{const[t,i]=(0,a.useState)(null),r=Boolean(t),{terminateFeedHandler:n,reactivateFeedHandler:s}=(0,a.useContext)(Pl),l=e?.feedStatus?.hasActiveFeed,d=e?.feedStatus?.hasTerminatedFeed,c=l||d,u=()=>{i(null)};if(!e?.feedStatus||!c)return null;const m=l?"Remove Feed":"Restore Feed";return a.createElement(a.Fragment,null,(0,o.A)(M.A,{"aria-label":"more",id:"feed-management-button","aria-controls":r?"feed-management-menu":void 0,"aria-expanded":r?"true":void 0,"aria-haspopup":"true",onClick:e=>{i(e.currentTarget)},sx:{color:"white"},"data-test-id":"feed-management-menu-button"},void 0,Jl||(Jl=(0,o.A)(od.A,{}))),(0,o.A)(ed.A,{id:"feed-management-menu",MenuListProps:{"aria-labelledby":"feed-management-button"},anchorEl:t,open:r,onClose:u,"data-test-id":"feed-management-menu"},void 0,(0,o.A)(td.A,{onClick:()=>{u(),l?n():s()}},void 0,(0,o.A)(id.A,{"data-test-id":`${m}-menu-item`},void 0,m))))};try{ad.displayName="FeedManagementMenu"}catch(e){}const rd=ad;var nd,sd;const ld=({packages:e=[],isLoading:t,currentUser:i=null,title:a})=>0===e?.length?null:(0,o.A)(no.Ay,{container:!0},void 0,(0,o.A)(no.Ay,{item:!0,xs:6,sx:{mb:2}},void 0,(0,o.A)("strong",{},void 0,a)),"Public Packages"===a&&(0,o.A)(no.Ay,{"data-test-id":"package-count",item:!0,xs:6,sx:{textAlign:"end"}},void 0,`${e?.length} of 6 max`),(0,o.A)(no.Ay,{"data-test-id":`${a}`,item:!0,xs:12},void 0,(0,o.A)(dd,{packages:e,isLoading:t,currentUser:i})));try{ld.displayName="PackageSection"}catch(e){}const dd=({packages:e=[],isLoading:t,currentUser:i=null})=>t?(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center",height:"10vh",width:"100%"},void 0,nd||(nd=(0,o.A)(Ql.A,{})),(0,o.A)(O.A,{variant:"body1",sx:{mt:2}},void 0,"Loading...")):a.createElement(a.Fragment,null,(0,o.A)(no.Ay,{container:!0,spacing:2},void 0,e.map(e=>(0,o.A)(no.Ay,{item:!0,xs:12,md:6},e.id,(0,o.A)(Gl,{packageData:e,currentUser:i})))),(0,o.A)(Nl.A,{sx:{mt:"32px",mb:"18px",borderColor:"var(--color_ccc) !important",borderBottomWidth:"2px"}}));try{dd.displayName="PackagesList"}catch(e){}const cd=({packages:e={},isLoading:t=!1,currentUser:i=null})=>{const r=(0,n.Zp)();return a.createElement(a.Fragment,null,(0,o.A)(fs,{title:"Manage Packages",rightElement:(0,o.A)(rd,{currentUser:i})}),(0,o.A)(_l.A,{style:{maxWidth:"850px",marginLeft:"0px"}},void 0,(0,o.A)(no.Ay,{container:!0,pt:3,rowSpacing:2,justifyContent:"center",alignItems:"center"},void 0,sd||(sd=(0,o.A)(no.Ay,{"data-test-id":"intro-message",item:!0,xs:12},void 0,"Add a Package to offer customers monthly benefits. A Package is a customizable subscription that includes perks like Feed access, free call minutes, and free chat volleys each month.")),(0,o.A)(g.A,{textAlign:"center",sx:{my:5}},void 0,(0,o.A)(E.A,{"data-test-id":"add-package-button",variant:"contained",size:"medium",onClick:()=>r("/packages/new")},void 0,"Add Package"))),(0,o.A)(ld,{packages:e?.publicAndPendingOnboardingPackages,title:"Public Packages",isLoading:t,currentUser:i}),(0,o.A)(ld,{packages:e?.privatePackages,title:"Private Packages",isLoading:t,currentUser:i}),(0,o.A)(ld,{packages:e?.deletedPackages,title:"Deleted Packages",isLoading:t,currentUser:i})))};try{cd.displayName="PackageManagement"}catch(e){}const ud=cd;var md=i(51253);const pd=({packageId:e,dialogTitle:t,dialogContent:i,closeDialog:r,submitButtonLabel:n,submitAction:s,cancelButtonLabel:l,cancelAction:d})=>a.createElement(a.Fragment,null,(0,o.A)(Hs.A,{},void 0,t),(0,o.A)(Zs.A,{closeDialog:r}),(0,o.A)(Ys.A,{},void 0,(0,o.A)(no.Ay,{container:!0,rowSpacing:2},void 0,(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(O.A,{variant:"body1",sx:{whiteSpace:"pre-line"}},void 0,i)))),(0,o.A)(md.A,{},void 0,(0,o.A)(E.A,{variant:"outlined",onClick:d},void 0,l),(0,o.A)(E.A,{variant:"outlined",onClick:()=>s(e)},void 0,n)));try{pd.displayName="PackageConfirmationsDialog"}catch(e){}const hd=pd,gd=()=>{const e=(0,n.Zp)(),{data:t,isLoading:i}=(0,k.zg)(),r=t?.current_user,{data:s,isLoading:l}=(0,k.j7)(void 0,{refetchOnMountOrArgChange:!0}),{openDialog:d,closeDialog:c}=(0,a.useContext)(la.A),u=(0,m.wA)(),p=(0,a.useRef)(!0),[h,{status:g,error:v,data:A}]=(0,k.MR)(),[y,{status:f,error:b}]=(0,k.N0)(),[w]=(0,Zl.gP)(),[x]=(0,Zl.zG)(),C=i||l;(0,a.useEffect)(()=>()=>{p.current=!1},[]);const S=e=>{c(),h({id:e,status:"public_package"})},_=e=>{c(),h({id:e,status:"private_package"})},N=e=>{c(),y({id:e})};(0,a.useEffect)(()=>{v&&p.current&&u((0,xe.s4)({message:v.data.error,severity:"error"}))},[v]),(0,a.useEffect)(()=>{const e="public_package"===A?.status?"public":"private";"fulfilled"===g&&p.current&&u((0,xe.s4)({message:`Your package is now ${e}.`,severity:"success"}))},[A,g]),(0,a.useEffect)(()=>{b&&p.current&&u((0,xe.s4)({message:b.data.error,severity:"error"}))},[b]),(0,a.useEffect)(()=>{"success"===f&&p.current&&u((0,xe.s4)({message:"Your package has been deleted.",severity:"success"}))},[f]);const P=null!=r&&!r.is_advisor;return(0,a.useEffect)(()=>{P&&e("/account")},[P,e]),P?null:(0,o.A)(Pl.Provider,{value:{copyPackageLinkHandler:(e,t)=>!!t&&(navigator.clipboard.writeText(`https://${window.location.host}/${encodeURIComponent(t)}/packages/${e}`),u((0,xe.s4)({message:"Package link copied.",severity:"info"}))),packageStatusHandler:e=>{var t;"public_package"===e.status?(t=e.id,d({component:hd,props:{packageId:t,dialogTitle:"Are you sure you want to make this Package private?",dialogContent:"Private Packages are hidden on your profile. You can make it public anytime. Feel free to share the private Package link with specific customers.\n\nCurrent subscribers of the private Package will continue to receive the perks and be billed.",closeDialog:c,submitButtonLabel:"Make Private",submitAction:_,cancelButtonLabel:"Keep Public",cancelAction:c}})):(e=>{d({component:hd,props:{packageId:e,dialogTitle:"Are you sure you want to make this Package public?",dialogContent:"Public packages are shown on your profile and can accept new subscribers.",closeDialog:c,submitButtonLabel:"Make Public",submitAction:S,cancelButtonLabel:"Keep Private",cancelAction:c}})})(e.id)},deletePackageHandler:e=>{d({component:hd,props:{packageId:e,dialogTitle:"Are you sure you want to delete this Package?",dialogContent:"All your subscribers will be cancelled at the end of their billing cycle.\n\nYou can't undo this.\n\nConsider making your package private. Private packages are hidden on your profile and maintain their current subscribers and perks.",closeDialog:c,submitButtonLabel:"Delete Package",submitAction:N,cancelButtonLabel:"Keep Package",cancelAction:c}})},terminateFeedHandler:()=>{d({component:Xl,props:{feedStatus:"active",publicPackagesCount:s?.publicAndPendingOnboardingPackages?.length||0,closeDialog:c,terminateFeed:w}})},reactivateFeedHandler:()=>{d({component:Xl,props:{feedStatus:"terminated",publicPackagesCount:s?.publicAndPendingOnboardingPackages?.length||0,closeDialog:c,reactivateFeed:x}})},currentUser:r}},void 0,(0,o.A)(dt.A,{},void 0,(0,o.A)(ud,{packages:s,isLoading:C,currentUser:r})))};try{gd.displayName="PackageManagementContainer"}catch(e){}const vd=gd,Ad=({currentTab:e,setCurrentTab:t})=>{const{data:i}=(0,k.zg)();return(0,o.A)("div",{className:"container-summary-tags margintop10",style:{borderBottom:"1px solid #ddd"}},void 0,(0,o.A)("div",{className:"row middle-xs start-xs"},void 0,(0,o.A)("span",{className:"scheduled-tab "+(e===Ct._q?"active":""),role:"link",tabIndex:0,onClick:()=>{t(Ct._q)}},void 0,"Scheduled"),(0,o.A)("span",{className:"processing-tab "+(e===Ct.Mi?"active":""),role:"link",tabIndex:0,onClick:()=>{t(Ct.Mi)}},void 0,"Processing"),(0,o.A)("span",{className:"removed-tab "+(e===Ct.Rr?"active":""),role:"link",tabIndex:0,onClick:()=>{t(Ct.Rr)}},void 0,"Rejected")))};try{Ad.displayName="PostsQueueTabs"}catch(e){}const yd=Ad,fd=()=>{const{setToggleRef:e,searchVisible:t}=(0,a.useContext)(Ji),i=(0,a.useRef)();return(0,a.useEffect)(()=>{e(i)},[i]),a.createElement("div",{ref:i,className:"icon-search-toggle margintop3 marginrgt10"},(0,o.A)("img",{src:"/plus_frontend/assets/svg/arrow-menu-up.svg",alt:"Search",className:"icon-arrow-sticky2 "+(t?"":"displayNone")}),(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-search.svg",alt:"Search",className:"icon-search-sticky2 "+(t?"displayNone":"")}))};try{fd.displayName="SearchToggle"}catch(e){}const bd=fd;var wd=i(83361);const xd=({placeholderText:e="No posts"})=>(0,o.A)("div",{className:"container-fluid padding10"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-10"},void 0,(0,o.A)("p",{},void 0,e))));try{xd.displayName="QueuedPostPlaceholder"}catch(e){}const Cd=xd;var kd,Sd;const _d=()=>{const{data:e}=(0,Vi.SX)(null,{refetchOnMountOrArgChange:!0});return e&&0!==e.length?(0,o.A)("div",{className:"container-fluid padding10"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12 start-xs"},void 0,(0,o.A)("div",{className:"container-table-queue"},void 0,(0,o.A)("table",{className:"table"},void 0,Sd||(Sd=(0,o.A)("thead",{},void 0,(0,o.A)("tr",{},void 0,(0,o.A)("th",{colSpan:"3"}
1,void 0,"Scheduled Time")))),(0,o.A)("tbody",{},void 0,e.map(e=>(0,o.A)(wd.A,{post:e,displayScheduledDate:!0},e.id)))))))):kd||(kd=(0,o.A)(Cd,{placeholderText:"You have no scheduled posts."}))};try{_d.displayName="ScheduledPostsContainer"}catch(e){}const Nd=_d;var Pd,Td;const Fd=()=>{const{data:e}=(0,k.zg)(),t=e?.current_user,{data:i}=(0,Vi.Es)({userId:t?.id},{refetchOnMountOrArgChange:!0});return i&&0!==i.length?(0,o.A)("div",{className:"container-fluid padding10"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12 start-xs"},void 0,(0,o.A)("div",{className:"container-table-queue"},void 0,(0,o.A)("table",{className:"table"},void 0,Td||(Td=(0,o.A)("thead",{},void 0,(0,o.A)("tr",{},void 0,(0,o.A)("th",{colSpan:"3"},void 0,"Submission Date")))),(0,o.A)("tbody",{},void 0,i.map(e=>(0,o.A)(wd.A,{post:e},e.id)))))))):Pd||(Pd=(0,o.A)(Cd,{placeholderText:"All of your posts have been processed!"}))};try{Fd.displayName="ProcessingPostsContainer"}catch(e){}const Id=Fd;var Ed,Md;const Od=()=>{const{data:e}=(0,k.zg)(),t=e?.current_user,{data:i}=(0,Vi.Hr)({userId:t?.id},{refetchOnMountOrArgChange:!0});return i&&0!==i.length?(0,o.A)("div",{className:"container-fluid padding10"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12 start-xs"},void 0,(0,o.A)("div",{className:"container-table-queue"},void 0,(0,o.A)("table",{className:"table"},void 0,Md||(Md=(0,o.A)("thead",{},void 0,(0,o.A)("tr",{},void 0,(0,o.A)("th",{colSpan:"3"},void 0,"Submission Date")))),(0,o.A)("tbody",{},void 0,i.map(e=>(0,o.A)(wd.A,{post:e},e.id)))))))):Ed||(Ed=(0,o.A)(Cd,{placeholderText:"You have no rejected posts."}))};try{Od.displayName="RemovedPostsContainer"}catch(e){}const Dd=Od;var Rd,Ld,jd,qd,Bd;const zd=()=>{const{tabName:e,login:t}=(0,n.g)(),i=e,a=(0,n.Zp)(),r=(0,n.RQ)(`/${t}/feed/queue/scheduled`),s=(0,n.RQ)(`/${t}/feed/queue/processing`),l=(0,n.RQ)(`/${t}/feed/queue/removed`),d=r||s||l;return(0,o.A)(dt.A,{},void 0,!d&&(0,o.A)(bo,{"data-test-id":"search-container"},void 0,(0,o.A)(As.A,{"data-test-id":"template-shell-header",style:{marginBottom:"0px"}},void 0,Rd||(Rd=(0,o.A)(W.A,{direction:"row",alignItems:"center",justifyContent:"space-between",width:"100%"},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",spacing:2},void 0,(0,o.A)(gs,{}),(0,o.A)(O.A,{"data-test-id":"template-shell-header-title",variant:"purpleHeaderTitle"},void 0,"Posts Queue")),(0,o.A)(bd,{})))),Ld||(Ld=(0,o.A)(yo,{}))),(0,o.A)(yd,{setCurrentTab:e=>{a(d?`/${t}/feed/queue/${e}`:`/feed/queue/${e}`)},currentTab:i}),i===Ct._q&&(jd||(jd=(0,o.A)(Nd,{}))),i===Ct.Mi&&(qd||(qd=(0,o.A)(Id,{}))),i===Ct.Rr&&(Bd||(Bd=(0,o.A)(Dd,{}))))};try{zd.displayName="PostsQueueContainer"}catch(e){}const Ud=zd;var $d=i(68065);const Wd=({currentUser:e=null})=>{const{pathname:t}=(0,n.zy)(),i=(0,a.useRef)(),{closeExpandedNav:r}=(0,a.useContext)(Ue.A)||{};(0,a.useEffect)(()=>{const e=i.current;if(!e)return;const t=()=>{const t=e.offsetHeight;document.body.style.setProperty("--mobile-footer-height",`${t}px`)},o=new ResizeObserver(()=>t());o.observe(e),t();const a=()=>t();return window.addEventListener("resize",a),()=>{o.disconnect(),window.removeEventListener("resize",a),document.body.style.removeProperty("--mobile-footer-height")}},[]);const{hasUnreadMessages:l}=(0,m.d4)(e=>e.chat),d=(0,m.d4)($d.L5),c=(0,x.u)("CHAT_UI_22402",{pending:!0}),u=(0,x.u)("ADVISOR_ACCOUNT_22474",{pending:!0})&&!at.A.hasCookie("advisor_account_22474_off"),p=e?.isAdvisor&&!e?.isChatEnabled,h=()=>{r&&r()};return a.createElement(g.A,{ref:i,"data-test-id":"transient-mobile-nav",sx:{position:"fixed",bottom:0,height:"55px",width:"100%",display:{xs:d?"none":"block",md:"none"},zIndex:12,"@media (max-width: 600px)":{paddingBottom:"env(safe-area-inset-bottom)"},"@media (min-width: 600px) and (max-width: 900px)":{paddingBottom:0}}},(0,o.A)(g.A,{sx:{background:"black",fontSize:"15px",height:"100%",width:"100%"},display:"flex",alignItems:"stretch",justifyContent:"space-evenly"},void 0,(0,o.A)(Ws.A,{component:s.N_,title:"Phone Sex",to:"/search",onClick:h,sx:{color:"white !important",textDecoration:"none",lineHeight:"2.8",fontFamily:'"Roboto", sans-serif'}},void 0,"PHONE SEX"),(0,o.A)(g.A,{sx:{position:"relative"}}
1,void 0,(0,o.A)(Ws.A,{component:s.N_,title:"Chat",to:e?p?"/chat/enrollment":e.redirectToChatBrowse?"/chat/browse":"/chat":"/chat/browse",reloadDocument:!(!e||c&&!p),onClick:h,sx:{color:"white !important",textDecoration:"none",lineHeight:"2.8",fontFamily:'"Roboto", sans-serif',padding:"9px 6px 19px"}},void 0,"CHAT"),l&&(0,o.A)("span",{style:{display:"inline-block",width:"8px",height:"8px",backgroundColor:"#ff8700",borderRadius:"50%",position:"absolute",margin:"8px -8px"},"data-test-id":"unread-messages-indicator"},void 0," ")),(0,o.A)(Ws.A,{component:s.N_,title:"Goodies",to:"/goody/search#recent_additions",onClick:h,sx:{color:"white !important",textDecoration:"none",lineHeight:"2.8",fontFamily:'"Roboto", sans-serif'}},void 0,"GOODIES"),(0,o.A)(Ws.A,{component:s.N_,title:"Feeds",to:"/feed/explore",onClick:h,sx:{color:"white !important",textDecoration:"none",lineHeight:"2.8",fontFamily:'"Roboto", sans-serif'}},void 0,"FEEDS"),(0,o.A)(Ws.A,{component:s.N_,title:"Account",to:"/account",reloadDocument:"/account"===t||!(!e?.isAdvisor||u),onClick:h,sx:{color:"white !important",textDecoration:"none",lineHeight:"2.8",fontFamily:'"Roboto", sans-serif'}},void 0,"ACCOUNT")))};try{Wd.displayName="TransientMobileNav"}catch(e){}const Gd=Wd,Hd=()=>{const{data:e}=(0,k.zg)(),t=e?.current_user,i=(0,n.RQ)("/:login/:tab/:path");return(0,w.OX)()||("/:login/:tab/:path"===i?.pattern?.path&&"onboarding"!==i.params.path&&!(0,w.HZ)()&&!(0,w.$3)()||(0,w.LD)())&&t?null:(0,o.A)(Gd,{currentUser:t})};try{Hd.displayName="NavContainerMobile"}catch(e){}const Yd=Hd;var Vd,Qd,Zd=i(43820),Kd=i(59389),Xd=i(23810),Jd=i(60673),ec=i(98995);const tc=({atMaxPublicPackages:e=!1})=>{const[t,i]=(0,a.useState)(!1),r=(0,a.useRef)(null),n=(0,a.useRef)(null),s=e?"You already have 6 public Packages. To create another public Package, you'll need to switch one of your existing public Packages to private.":"Private Packages are hidden on your profile and can only be accessed using the direct link (found on the Manage Packages page).",l=()=>{i(e=>!e)},d=e=>{r.current&&r.current.contains(e.target)||n.current.contains(e.target)||i(!1)};return(0,a.useEffect)(()=>(document.addEventListener("mousedown",d),()=>{document.removeEventListener("mousedown",d)}),[]),(0,o.A)(Ot.A,{content:a.createElement("div",{ref:r,className:"nfp-tooltip"},(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-11"},void 0,(0,o.A)("div",{className:"menu-text"},void 0,s)),(0,o.A)("div",{className:"col-xs-1 end-xs"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:l},void 0,Vd||(Vd=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",className:"marginlftminus5",alt:"close"})))))),isOpen:t,tagName:"span",direction:"down",forceDirection:!0},void 0,a.createElement("a",{role:"link",tabIndex:0,ref:n,onClick:l},Qd||(Qd=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-info.svg",className:"margintop4",alt:"info"}))))};try{tc.displayName="CreatePackageTooltip"}catch(e){}const ic=tc;var oc,ac,rc;const nc=({toggleTip:e,tipOpen:t,setButtonRef:i,setTipContentRef:r})=>(0,o.A)(Ot.A,{content:a.createElement("div",{ref:e=>r(e),className:"nfp-tooltip"},(0,o.A)("div",{className:"row"},void 0,oc||(oc=(0,o.A)("div",{className:"col-xs-11"},void 0,(0,o.A)("div",{className:"menu-text"},void 0,"Free minute perks will apply to every call made by the subscriber"," ","each billing period. Check this box to limit the use of free minutes"," ","to up to 30 calls per month."))),(0,o.A)("div",{className:"col-xs-1 end-xs"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:e},void 0,ac||(ac=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",className:"marginlftminus5",alt:"close"})))))),isOpen:t,tagName:"span",direction:"down",forceDirection:!0},void 0,a.createElement("a",{role:"link",tabIndex:0,ref:e=>i(e),onClick:e},rc||(rc=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-info.svg",className:"margintop4",alt:"info"}))));try{nc.displayName="CreatePackageFreeMinutesTooltip"}catch(e){}const sc=(0,Dt.A)(nc);var lc,dc,cc,uc,mc,pc,hc,gc,vc,Ac,yc,fc;const bc=({isOnboarding:e,feedAccess:t,onFeedAccessChange:i,showFeedPerkToggle:r,freeVolleys:n,setFreeVolleys:s,freeMinutes:l,setFreeMinutes:d,privatePackage:c,setPrivatePackage:u,atMaxPublicPackages:m,callsLimitByPeriod:p,setCallsLimitByPeriod:h,callsPerPeriodAmount:g,setCallsPerPeriodAmount:v,callsPerPeriodAmountError:A,callsPerSessionAmount:y,setCallsPerSessionAmount:f,rate:b,onRateChange:w,rateError:x,setRateError:C,chatAccess:k,volleysPerPeriodAmount:S,setVolleysPerPeriodAmount:_,volleysPerPeriodAmountError:N,onSaveClick:P,onCancelClick:T,createPackageIsLoading:F,hasAtLeastOnePerk:I})=>
1a.createElement(a.Fragment,null,(0,o.A)(As.A,{"data-test-id":"template-shell-header"},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",justifyContent:"space-between",width:"100%"},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",spacing:2},void 0,lc||(lc=(0,o.A)(gs,{})),!e&&(dc||(dc=(0,o.A)(O.A,{"data-test-id":"template-shell-header-title",variant:"purpleHeaderTitle"},void 0,"Add Package"))),e&&(cc||(cc=(0,o.A)(O.A,{"data-test-id":"template-shell-header-title",variant:"purpleHeaderTitle"},void 0," ")))))),(0,o.A)(_l.A,{style:{maxWidth:"700px",marginLeft:"0px"}},void 0,(0,o.A)(no.Ay,{container:!0,mt:5,rowspacing:2},void 0,(0,o.A)(no.Ay,{item:!0,container:!0,xs:12,spacing:2,alignItems:"center"},void 0,(0,o.A)("form",{},void 0,(0,o.A)(_l.A,{},void 0,(0,o.A)(no.Ay,{container:!0,rowspacing:2},void 0,uc||(uc=(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)("div",{className:"subhead"},void 0,"Price per month"))),(0,o.A)(no.Ay,{item:!0,xs:12,mt:1},void 0,(0,o.A)(ao.A,{"data-test-id":"price-per-month",hiddenLabel:!0,size:"small",type:"number",value:b,error:!!x,helperText:x,InputProps:{startAdornment:mc||(mc=(0,o.A)(ro.A,{position:"start"},void 0,"$"))},onChange:e=>{C(""),w(e.currentTarget.value)}})),pc||(pc=(0,o.A)(no.Ay,{item:!0,xs:12,mt:5,mb:1},void 0,(0,o.A)("div",{className:"subhead"},void 0,"Add Perks:"))),r&&!e&&(0,o.A)(no.Ay,{"data-test-id":"feed-access-perk",item:!0,xs:12},void 0,(0,o.A)(Xd.A,{control:hc||(hc=(0,o.A)(ec.A,{})),label:"Feed access",value:t,onChange:e=>i(e.target.checked)})),(0,o.A)(no.Ay,{"data-test-id":"free-minutes-perk",item:!0,xs:12},void 0,(0,o.A)(Xd.A,{control:(0,o.A)(ec.A,{onChange:e=>d(e.currentTarget.checked)}),label:"Free minutes per call"})),l&&(0,o.A)(no.Ay,{"data-test-id":"free-minutes-perk-details",item:!0,xs:12},void 0,(0,o.A)(no.Ay,{container:!0,alignItems:"center",ml:4},void 0,(0,o.A)(no.Ay,{item:!0,xs:"auto"},void 0,(0,o.A)(Kd.A,{},void 0,(0,o.A)(Jd.A,{"data-test-id":"free-minutes-per-call-select",value:y,onChange:e=>{f(e.target.value)}},void 0,[1,2,3,4,5].map(e=>(0,o.A)(td.A,{value:e},e,e))))),(0,o.A)(no.Ay,{"data-test-id":"free-minutes-per-call-description",item:!0,xs:"auto",ml:1,sx:{textAlign:"start"}},void 0,"Free ",y>1?"minutes":"minute"," per call"),(0,o.A)(no.Ay,{"data-test-id":"limit-free-calls-per-month-checkbox",item:!0,xs:12},void 0,(0,o.A)(Xd.A,{control:(0,o.A)(Zd.A,{onChange:e=>{h(e.currentTarget.checked)},checked:p}),label:"Limit free minute calls per month"}),gc||(gc=(0,o.A)(sc,{}))),(0,o.A)(no.Ay,{sx:{display:p?"block":"none"},"data-test-id":"limit-free-calls-per-month-input",item:!0,xs:12},void 0,(0,o.A)(no.Ay,{container:!0,alignItems:"center"},void 0,(0,o.A)(no.Ay,{item:!0,xs:"auto"},void 0,(0,o.A)(ao.A,{hiddenLabel:!0,size:"small",type:"number",inputProps:{min:1,max:30},onChange:e=>v(e.target.value),value:g,error:!!A})),(0,o.A)(no.Ay,{"data-test-id":"description",item:!0,xs:"auto",ml:1,sx:{textAlign:"start"}},void 0,"free minute calls per month")),(0,o.A)(no.Ay,{container:!0},void 0,(0,o.A)(no.Ay,{item:!0,xs:"auto",sx:{color:"red"}},void 0,A&&(vc||(vc=(0,o.A)("p",{},void 0,"Please enter between 1 and 30 calls.")))))))),k&&(0,o.A)(no.Ay,{"data-test-id":"free-chat-volleys-per-month-switch",item:!0,xs:12},void 0,(0,o.A)(Xd.A,{control:Ac||(Ac=(0,o.A)(ec.A,{})),onChange:e=>s(e.currentTarget.checked),label:"Free chat volleys per month"})),n&&(0,o.A)(no.Ay,{"data-test-id":"free-chat-volleys-per-month-input",item:!0,xs:12},void 0,(0,o.A)(no.Ay,{container:!0,alignItems:"center",ml:4},void 0,(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(no.Ay,{container:!0,alignItems:"center"},void 0,(0,o.A)(no.Ay,{item:!0,xs:"auto"},void 0,(0,o.A)(ao.A,{hiddenLabel:!0,size:"small",error:!!N,type:"number",inputProps:{min:1,max:999},value:S,onChange:e=>_(e.target.value),sx:{width:"80px"}})),(0,o.A)(no.Ay,{"data-test-id":"description",item:!0,xs:"auto",ml:1,sx:{textAlign:"start"}},void 0,"free volleys per month")),(0,o.A)(no.Ay,{},void 0,(0,o.A)(no.Ay,{item:!0,xs:"auto",sx:{color:"red"}},void 0,N&&(yc||(yc=(0,o.A)("p",{},void 0,"Please enter between 1 and 999 volleys.")))))))),!e&&(0,o.A)(no.Ay,{"data-test-id":"make-this-package-private",item:!0,xs:12},void 0,(0,o.A)(Xd.A,{control:(0,o.A)(Zd.A,{disabled:m,checked:c,onChange:e=>u(e.currentTarget.checked)}),label:fc||(fc=(0,o.A)("span",{},void 0,"Make this offer private."))}),(0,o.A)(ic,{atMaxPublicPackages:m})),(0,o.A)(no.Ay,{container:!0,item:!0,xs:12,spacing:1,alignItems:"center",mt:1,justifyContent:{xs:"center",sm:"end"}},void 0,(0,o.A)(no.Ay,{item:!0,xs:"auto"},void 0,(0,o.A)(E.A,{variant:"outlined",size:"medium",sx:{minWidth:{xs:"100%"}},onClick:T},void 0,"Cancel")),(0,o.A)(no.Ay,{item:!0,xs:"auto"}
1,void 0,(0,o.A)(E.A,{sx:{minWidth:{xs:"100%"}},disabled:F||!!x||!c&&m||N||A||!I,variant:"contained",onClick:P,size:"medium"},void 0,"Save"))))))))));try{bc.displayName="CreatePackage"}catch(e){}const wc=bc;var xc=i(34578),Cc=i(92714),kc=i(26682);const Sc=()=>{const[e,t]=(0,a.useState)(!1),[i,r]=(0,a.useState)(!1),[s,l]=(0,a.useState)(""),[d,c]=(0,a.useState)(!1),[u,p]=(0,a.useState)(!1),[h,g]=(0,a.useState)(3),[v,A]=(0,a.useState)(!0),[y,f]=(0,a.useState)(10),[b,w]=(0,a.useState)(!1),[x,C]=(0,a.useState)(20),[S,_]=(0,a.useState)(!1),{data:N}=(0,k.zg)(),P=N?.current_user,{hasActiveFeed:T}=(0,xc.A)(P),{data:F}=(0,k.Vo)(P),I=(0,m.d4)(e=>e.packageOnboarding.rate),E=(0,m.d4)(e=>e.packageOnboarding.feedAccess),M="true"===new URLSearchParams(window.location.search).get("onboarding"),O=(0,Vi.Qj)({advisorId:P?.id},{skip:!P||!T}),D=(0,n.Zp)(),R=(0,m.wA)(),[L,{isSuccess:j,error:q,isLoading:B}]=(0,k.Jt)();(0,a.useEffect)(()=>{R((0,Cc.KA)())},[]),(0,a.useEffect)(()=>{const e=q;if(e){const t=e.data.errors.join(", ");switch(R((0,xe.s4)({message:t,severity:"error"})),e.data.record){case"RecurringTributes::Package":l(t);break;case"RecurringTributes::CallPerk":w(!0);break;case"RecurringTributes::VolleyPerk":_(!0);break;default:console.warn("Unhandled error",q.data.record)}}},[q]),(0,a.useEffect)(()=>{j&&(R((0,xe.s4)({message:"Your package has been created successfully!",severity:"success"})),M?(R((0,k.Xx)([ve.m4])),D(`/feed/${P.login}/onboarding`)):D("/packages"))},[j]),(0,a.useEffect)(()=>{F&&F.publicAndPendingOnboardingPackages.length>=6&&(t(!0),r(!0))},[F]),(0,a.useEffect)(()=>{M?(R((0,Cc.Rv)({rate:I})),R((0,Cc.rQ)({feedAccess:!0})),t(!1)):R((0,Cc.rQ)({feedAccess:!1}))},[]),(0,a.useEffect)(()=>{w(y<1||y>30)},[y]),(0,a.useEffect)(()=>{_(x<1||x>999)},[x]);const z=()=>L({rate:I,status:e?"private_package":"public_package",feedAccess:E,freeMinutes:d,freeVolleys:u,callsPerSessionAmount:h,callsLimitByPeriod:v,callsPerPeriodAmount:y,volleysPerPeriodAmount:x}),U=z;return(0,o.A)(dt.A,{},void 0,(0,o.A)(wc,{isOnboarding:M,privatePackage:e,setPrivatePackage:t,atMaxPublicPackages:i,rate:I?.toString(),onRateChange:e=>{(0,kc.Bn)((0,kc.Ro)(e),3.99,999)&&l("Package rate should be from $3.99 to $999"),R((0,Cc.Rv)({rate:e}))},rateError:s,setRateError:l,feedAccess:E,onFeedAccessChange:e=>{R((0,Cc.rQ)({feedAccess:e}))},showFeedPerkToggle:O.data?.content_available||!1,freeMinutes:d,setFreeMinutes:c,freeVolleys:u,setFreeVolleys:p,callsPerSessionAmount:h,setCallsPerSessionAmount:g,callsLimitByPeriod:v,setCallsLimitByPeriod:A,callsPerPeriodAmount:y.toString(),setCallsPerPeriodAmount:f,callsPerPeriodAmountError:b,chatAccess:P?.isChatEnabled,volleysPerPeriodAmount:x.toString(),setVolleysPerPeriodAmount:C,volleysPerPeriodAmountError:S,onCancelClick:()=>{M?z().then(()=>{window.location.href=`/feed/${P.login}/onboarding?no_perks=true`}):D("/packages")},onSaveClick:U,createPackageIsLoading:B,hasAtLeastOnePerk:d||u||E}))};try{Sc.displayName="CreatePackageContainer"}catch(e){}const _c=Sc;var Nc,Pc,Tc=i(97390);const Fc=({onSubmitClick:e,rate:t=0,setRate:i,onCancelClick:r,rangeError:n=null,saveDisabled:s,cancelDisabled:l,maxPrice:d=50})=>a.createElement(a.Fragment,null,Nc||(Nc=(0,o.A)(As.A,{"data-test-id":"template-shell-header"},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",justifyContent:"space-between",width:"100%"},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",spacing:2},void 0,(0,o.A)(gs,{}),(0,o.A)(O.A,{"data-test-id":"template-shell-header-title",variant:"purpleHeaderTitle"},void 0,"Set Price"))))),(0,o.A)("div",{className:"container-fluid padding20"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12 start-xs"},void 0,(0,o.A)("div",{className:"container-form margintop20"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-sm-12 col-xs-12"},void 0,(0,o.A)("div",{className:"label-float "+(n?"has-error":"")},void 0,(0,o.A)(Tc.Ay,{prefix:"$",id:"input-example",name:"input-name",placeholder:"Please enter a number",value:t,onValueChange:e=>i(e)}),Pc||(Pc=(0,o.A)("label",{className:"filled"},void 0,"Price per month")),(0,o.A)("div",{className:"text-error",style:{display:"lo"===n?"block":"none"}},void 0,"Minimum $3.99 USD"),(0,o.A)("div",{className:"text-error",style:{display:"hi"===n?"block":"none"}},void 0,`Maximum ${(0,kc.zQ)(d)} USD`),(0,o.A)("div",{className:"help-text",style:{display:n?"none":"block"}},void 0,"Minimum $3.99 USD")))),(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-sm-12 end-sm col-xs-12 end-xs form-buttons"},void 0,(0,o.A)("div",{className:"row end-xs padding-0-8"},void 0,(0,o.A)("a",{role:"button",tabIndex:0,className:"btn secondary "+(l?"disabled":""),onClick:r},void 0,"Cancel"),(0,o.A)("a",{className:"btn "+(n||s?"disabled":""),role:"button",tabIndex:0,onClick:()=>e(t)}
1,void 0,"Save")))))))));try{Fc.displayName="SubscriptionSettings"}catch(e){}const Ic=Fc;var Ec,Mc=i(22270);const Oc=({closeDialog:e,createOnboardingPackage:t,currentUser:i})=>{const r=(0,n.Zp)();return a.createElement(a.Fragment,null,Ec||(Ec=(0,o.A)(Hs.A,{},void 0,"Would you like to add Perks?")),(0,o.A)(Zs.A,{closeDialog:()=>{e(),r(`/feed/${i.login}/onboarding?no_perks=true`)}}),(0,o.A)(Ys.A,{},void 0,(0,o.A)(no.Ay,{container:!0,rowSpacing:2},void 0,(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(O.A,{variant:"body1",sx:{whiteSpace:"pre-line"}},void 0,"You can add Perks, such as free call minutes, to your Feed subscription. We call this a Package. Would you like to try it out?")))),(0,o.A)(md.A,{},void 0,(0,o.A)(E.A,{variant:"outlined",onClick:()=>{e(),t().then(r(`/feed/${i.login}/onboarding?no_perks=true`))}},void 0,"No Thanks"),(0,o.A)(E.A,{variant:"outlined",onClick:()=>{e(),r("/packages/new?onboarding=true")}},void 0,"Add Perks")))};try{Oc.displayName="PackagePerksPromptDialog"}catch(e){}const Dc=Oc;var Rc;const Lc=()=>{const e="true"===new URLSearchParams(window.location.search).get("onboarding"),t=(0,k.zg)(),i=t?.data?.current_user,[r,s]=(0,a.useState)(),[l,d]=(0,a.useState)(),[c,u]=(0,a.useState)(),[p,h]=(0,a.useState)(!0),[g,v]=(0,a.useState)(!1),{openModal:A}=(0,a.useContext)(bt.A),{openDialog:y,closeDialog:f}=(0,a.useContext)(la.A),{rate:b}=(0,m.d4)(e=>e.packageOnboarding),[w,{isSuccess:x,error:C}]=(0,k.Jt)(),S=(0,m.wA)(),_=(0,n.Zp)(),N=e=>{const t=parseFloat(e);if(t<3.99||t>999){u(t>999?"hi":"lo")}else u(null);S((0,Cc.Rv)({rate:e})),s(e)};(0,a.useEffect)(()=>{let e=14.99;i?.offerings?.length>0&&(e=i.offerings[0].rate.toFixed(2).toString(),d(e)),N(e)},[i]);const P=()=>w({rate:b,status:e?"pending_onboarding":"public_package",feedAccess:!0}),T=({newRate:e})=>{S((0,Cc.Rv)({rate:e})),y({component:Dc,props:{closeDialog:f,createOnboardingPackage:P,currentUser:i}})};return(0,a.useEffect)(()=>{l?l===r?(h(!0),e||v(!0)):(h(!1),v(!1)):(h(!1),e||v(!0))},[l,r]),e?(0,o.A)(Mc.A,{},void 0,(0,o.A)(Ic,{onSubmitClick:()=>{c||p||(Number(r)>Number(l)?A({component:Rs.A,props:{header:"Confirm Price Increase",body:"Increasing the price will turn off auto-renewal for current subscribers and require them to accept the increased price to continue their subscriptions. Are you sure you want to increase the price?",ctaButtonLabel:"Confirm",callToAction:()=>{T({newRate:r})}},customCloseFunc:()=>{N(l)}}):T({newRate:r}))},onCancelClick:()=>{g||(N(l||14.99),e&&_(`/feed/${i.login}/onboarding`))},rate:r,setRate:N,rangeError:c,saveDisabled:p,cancelDisabled:g,maxPrice:999})):Rc||(Rc=(0,o.A)(n.C5,{to:"/packages",replace:!0}))};try{Lc.displayName="SubscriptionSettingsContainer"}catch(e){}const jc=Lc,qc=(0,Re.Ay)(g.A)(({theme:e})=>({maxWidth:"700px",[e.breakpoints.up("xs")]:{padding:e.spacing(3,0,8,0)},[e.breakpoints.up("sm")]:{padding:e.spacing(4,5,8,5)}})),Bc=({children:e})=>(0,o.A)(qc,{},void 0,e);try{Bc.displayName="AppBodyContent"}catch(e){}const zc=Bc;var Uc=i(11906),$c=i.n(Uc);$c().shape({id:$c().number,provider:$c().string.isRequired,authentication_error:$c().string,username:$c().string});var Wc=i(17472),Gc=i(85068),Hc=i(2080);const Yc=({connection:e,providerDisplayName:t=null})=>{const i=t||(0,Hc.ZH)(e.provider);return(0,o.A)("a",{href:`/auth/${e.provider}`},void 0,(0,o.A)(E.A,{variant:"outlined",size:"small",sx:{minWidth:"100px"}},void 0,e?.authentication_error?"Link":`Setup ${i}`))};try{Yc.displayName="SetupSocialMediaConnection"}catch(e){}const Vc=Yc,Qc=({connection:e})=>{const[t]=(0,k.wl)(),{openModal:i}=(0,a.useContext)(bt.A);return(0,o.A)(E.A,{variant:"outlined",size:"small",onClick:()=>{i({component:Rs.A,props:{callToAction:()=>{t({id:e.id})},ctaButtonLabel:"Confirm",body:`Are you sure you want to unlink ${(0,Hc.ZH)(e.provider)}?`}})}},void 0,"Unlink")};try{Qc.displayName="UnlinkSocialMediaConnection"}catch(e){}const Zc=Qc;var Kc;const Xc=e=>a.createElement(Bo.A,(0,De.A)({},e,{width:"32px",height:"32px",viewBox:"0 0 32 32"}),Kc||(Kc=(0,o.A)("g",{id:"icons2",stroke:"none",strokeWidth:"1",fill:"none"},void 0,(0,o.A)("g",{id:"ico-twitter2"},void 0,(0,o.A)("circle",{id:"Oval",fill:"#000000",cx:"16",cy:"16",r:"16"}),(0,o.A)("path",{d:"M6.14397899,6.73006554 L13.7917882,16.9557319 L6.09577921,25.2696953 L7.82797957,25.2696953 L14.5659764,17.9905313 L20.0098922,25.2696953 L25.9042266,25.2696953 L17.8259435,14.4689557 L24.9894281,6.73006554 L23.2572277,6.73006554 L17.0520878,13.4338239 L12.0383134,6.73006554 L6.14397899,6.73006554 Z M8.69125425,8.00586385 L11.3990846,8.00586385 L23.356619,23.993897 L20.6487886,23.993897 L8.69125425,8.00586385 Z",id:"path1009",fill:"#FFFFFF"})))));try{Xc.displayName="IconSocialTwitter"}catch(e){}const Jc=Xc;var eu;const tu=({connection:e=null})=>(0,o.A)($.A,{sx:{p:2},elevation:0},void 0,(0,o.A)(no.Ay,{container:!0,alignItems:"center"},void 0,(0,o.A)(no.Ay,{item:!0,xs:8},void 0,(0,o.A)(W.A,{direction:"row",spacing:2,alignItems:"center"},void 0,(0,o.A)(g.A,{},void 0,(0,o.A)(Jc,{alt:"Twitter",style:{height:"32px",width:"32px"}})),(0,o.A)(g.A,{},void 0,eu||(eu=(0,o.A)(O.A,{},void 0,"X")),e?.username&&(0,o.A)(O.A,{variant:"body1"},void 0,(0,o.A)("a",{href:`https://x.com/${e.username}`},void 0,e.username)),(0,o.A)(O.A,{variant:"body3",sx:{color:Wc.A[600]}},void 0,"Limited to 10 posts per day"),e?.authentication_error&&(0,o.A)(O.A,{variant:"body2",sx:{color:Gc.A[600],fontSize:"0.875em",mt:.4}},void 0,"We’re sorry, this account is not working. Please try to link the account later.")))),(0,o.A)(no.Ay,{item:!0,xs:4,className:"pull-right"},void 0,e?.id&&!e?.authentication_error&&(0,o.A)(Zc,{connection:e})||(0,o.A)(Vc,{connection:e,providerDisplayName:"X"}))));try{tu.displayName="TwitterSetupCard"}catch(e){}const iu=tu;var ou;const au=e=>a.createElement(Bo.A,(0,De.A)({},e,{width:"32px",height:"32px",viewBox:"0 0 32 32"}
1),ou||(ou=(0,o.A)("g",{id:"icons2",stroke:"none",strokeWidth:"1",fill:"none"},void 0,(0,o.A)("g",{id:"ico-tumblr",fillRule:"nonzero"},void 0,(0,o.A)("path",{d:"M16,0 C7.1625,0 0,7.1625 0,16 C0,24.8375 7.1625,32 16,32 C24.8375,32 32,24.8375 32,16 C32,7.1625 24.8375,0 16,0 Z",id:"Path",fill:"#000000"}),(0,o.A)("path",{d:"M21.7460938,24.0164063 L21.7320313,24.0164063 C20.9585938,24.375 20.2695313,24.6351563 19.64375,24.7757813 C19.0179688,24.9234375 18.3429688,24.99375 17.61875,24.99375 C16.7960938,24.99375 16.0648438,24.8882813 15.4390625,24.684375 C14.80625,24.4734375 14.2648438,24.178125 13.821875,23.7984375 C13.371875,23.4117188 13.0625,23.0039063 12.89375,22.5679688 C12.7179688,22.1320313 12.6335938,21.50625 12.6335938,20.6835938 L12.6335938,14.3695313 L10.64375,14.3695313 L10.64375,11.8242188 C11.3539063,11.5921875 11.9585938,11.2617188 12.4648438,10.8328125 C12.9710938,10.4039063 13.371875,9.890625 13.68125,9.2859375 C13.9835938,8.68828125 14.1945313,7.921875 14.3140625,6.99375 L16.8734375,6.99375 L16.8734375,11.5429688 L21.1414063,11.5429688 L21.1414063,14.3695313 L16.8734375,14.3695313 L16.8734375,18.9820312 C16.8734375,20.0296875 16.9296875,20.6976562 17.0421875,20.9929687 C17.1546875,21.2882812 17.3585938,21.5273438 17.6609375,21.703125 C18.0546875,21.9421875 18.5117188,22.0617188 19.025,22.0617188 C19.9390625,22.0617188 20.8390625,21.7664063 21.7460938,21.1757812 L21.7460938,24.0164063 L21.7460938,24.0164063 Z",id:"Path",fill:"#FFFFFF"})))));try{au.displayName="IconSocialTumblr"}catch(e){}const ru=au;var nu;const su=({connection:e=null})=>(0,o.A)($.A,{sx:{p:2},elevation:0},void 0,(0,o.A)(no.Ay,{container:!0,alignItems:"center"},void 0,(0,o.A)(no.Ay,{item:!0,xs:8},void 0,(0,o.A)(W.A,{direction:"row",spacing:2,alignItems:"center"},void 0,(0,o.A)(g.A,{},void 0,(0,o.A)(ru,{alt:"Tumblr",style:{height:"32px",width:"32px"}})),(0,o.A)(g.A,{},void 0,nu||(nu=(0,o.A)(O.A,{},void 0,"Tumblr")),e?.username&&(0,o.A)(O.A,{variant:"body1"},void 0,(0,o.A)("a",{href:`https://${e.username}.tumblr.com/`},void 0,e.username)),e?.authentication_error&&(0,o.A)(O.A,{variant:"body2",sx:{color:Gc.A[600],fontSize:"0.875em",mt:.4}},void 0,"We’re sorry, this account is not working. Please try to link the account later.")))),(0,o.A)(no.Ay,{item:!0,xs:4,className:"pull-right"},void 0,e?.id&&!e?.authentication_error&&(0,o.A)(Zc,{connection:e})||(0,o.A)(Vc,{connection:e}))));try{su.displayName="TumblrSetupCard"}catch(e){}const lu=su;var du;const cu=e=>a.createElement(Bo.A,(0,De.A)({},e,{width:"32px",height:"32px",viewBox:"0 0 32 32"}),du||(du=(0,o.A)("g",{id:"icons2",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},void 0,(0,o.A)("g",{id:"ico-bluesky",fillRule:"nonzero"},void 0,(0,o.A)("circle",{id:"Oval",fill:"#000000",cx:"16",cy:"16",r:"16"}
1),(0,o.A)("path",{d:"M9.87757038,8.27893369 C12.3515706,10.1362569 15.0126388,13.902135 15.9896487,15.9231241 C16.9667329,13.9022838 19.6276523,10.1362197 22.1017269,8.27893369 C23.8868348,6.93876342 26.7791708,5.90181594 26.7791708,9.20143784 C26.7791708,9.8604172 26.4013515,14.7372068 26.179757,15.5289345 C25.4094968,18.2815276 22.6026956,18.9835907 20.1060002,18.5586695 C24.4701759,19.3014351 25.5803805,21.7617438 23.1827626,24.2220525 C18.6292122,28.8946597 16.6379873,23.0496779 16.1275313,21.5519806 C16.0339973,21.277417 15.9902291,21.1489734 15.9895854,21.2581931 C15.988938,21.1489696 15.9451735,21.2774167 15.8516395,21.5519806 C15.3414067,23.0496779 13.350219,28.8948085 8.79640817,24.2220525 C6.39875312,21.7617438 7.50892054,19.3012863 11.8731706,18.5586695 C9.37640079,18.9835907 6.56956241,18.2815239 5.79941376,15.5289345 C5.57781186,14.7371324 5.2,9.86034279 5.2,9.20143784 C5.2,5.90181594 8.09241045,6.93876342 9.87744388,8.27893369 L9.87757038,8.27893369 Z",id:"Path",fill:"#FFFFFF"})))));try{cu.displayName="IconSocialBluesky"}catch(e){}const uu=cu;var mu;const pu=(0,Re.Ay)(ao.A)(()=>({"& .MuiInputBase-root":{height:"42px !important",minHeight:"42px !important"},"& .MuiOutlinedInput-input":{padding:"8px 10px !important",fontSize:"0.875em !important"}})),hu=({connection:e=null,handleChanged:t,setupConnection:i})=>(0,o.A)($.A,{sx:{p:2},elevation:0},void 0,(0,o.A)(no.Ay,{container:!0,alignItems:"center"},void 0,(0,o.A)(no.Ay,{item:!0,xs:8},void 0,(0,o.A)(W.A,{direction:"row",spacing:2,alignItems:"center"},void 0,(0,o.A)(g.A,{},void 0,(0,o.A)(uu,{alt:"Bluesky",style:{height:"32px",width:"32px"}})),(0,o.A)(g.A,{},void 0,mu||(mu=(0,o.A)(O.A,{},void 0,"Bluesky")),e?.username&&(0,o.A)(O.A,{variant:"body1"},void 0,(0,o.A)("a",{href:`https://${e.username}/`},void 0,e.username)),e?.authentication_error&&(0,o.A)(O.A,{variant:"body2",sx:{color:Gc.A[600],fontSize:"0.875em",mt:.4}},void 0,"We’re sorry, this account is not working. Please try to link the account later.")))),(0,o.A)(no.Ay,{item:!0,xs:4,className:"pull-right"},void 0,e?.id&&!e?.authentication_error&&(0,o.A)(Zc,{connection:e})||(0,o.A)(Kd.A,{},void 0,(0,o.A)(pu,{name:"handle",size:"small",onChange:t,placeholder:"username.bsky.social"}),(0,o.A)(E.A,{variant:"outlined",size:"small",onClick:i,sx:{mt:1}},void 0,e?.authentication_error?"Link":`Setup ${(0,Hc.ZH)(e.provider)}`)))));try{hu.displayName="BlueskySetupCard"}catch(e){}const gu=hu;var vu,Au=i(46105);const yu=["{profile_link}","{goodies_link}"],fu=({createSocialMediaManualShout:e,twitterConnection:t=null,tumblrConnection:i=null,blueskyConnection:r=null,submissionError:n=null})=>{const[s,l]=(0,a.useState)(""),[d,c]=(0,a.useState)(""),[u,m]=(0,a.useState)(!1),[p,h]=(0,a.useState)(!1),[v,A]=(0,a.useState)(!1),[y,f]=(0,a.useState)(!1),b=t?.id&&!t?.authentication_error,w=i?.id&&!i?.authentication_error,x=r?.id&&!r?.authentication_error,C=b||w||x,k=(0,a.useRef)(null),S=(0,a.useRef)(null);return(0,a.useEffect)(()=>{m(b),h(w),A(x)},[t,i,r]),a.createElement(a.Fragment,null,(0,o.A)($.A,{sx:{p:2},elevation:0},void 0,(0,o.A)(no.Ay,{container:!0,alignItems:"center",mb:-3},void 0,vu||(vu=(0,o.A)(no.Ay,{item:!0,sm:9,xs:8},void 0,(0,o.A)(O.A,{variant:"subtitle1"},void 0,"Write something, we’ll post it for you:"))),(0,o.A)(no.Ay,{item:!0,sm:3,xs:4,alignItems:"center"},void 0,(0,o.A)(W.A,{direction:"row",spacing:2.6,justifyContent:"center",alignItems:"center"},void 0,(0,o.A)(uu,{alt:"Bluesky",style:{height:"20px",width:"20px"}}),(0,o.A)(Jc,{alt:"Twitter",style:{height:"20px",width:"20px"}}),(0,o.A)(ru,{alt:"Tumblr",style:{height:"20px",width:"20px"}}))))),(0,o.A)($.A,{sx:{p:2},elevation:0},void 0,(0,o.A)(no.Ay,{container:!0},void 0,(0,o.A)(no.Ay,{item:!0,sm:9,xs:8},void 0,(0,o.A)(g.A,{display:"block",sx:{position:"relative"}},void 0,(0,o.A)(g.A,{sx:d.length>0?{zIndex:1,position:"absolute",width:"100%"}:{position:"absolute",width:"100%",visibility:"hidden"}},void 0,(0,o.A)(Au.A,{options:yu,onChange:(e,t)=>
1{const i=s.lastIndexOf("{");if(-1!==i){const e=s.slice(0,i)+t;l(e),c(""),S.current.focus()}},blurOnSelect:!0,disableClearable:!0,freeSolo:!0,open:d.length>0,renderInput:e=>a.createElement(ao.A,(0,De.A)({},e,{type:"hidden",inputRef:S}))})),(0,o.A)(ao.A,{value:s,error:!!n?.data?.errors,helperText:n?.data?.errors?.content,multiline:!0,rows:y?5:1,variant:"outlined",fullWidth:!0,inputProps:{maxLength:280,style:{fontSize:"0.875rem",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"pre-line"}},size:"small",placeholder:C?"Write something.":"Please connect at least one social media account to post.",disabled:!C,onChange:e=>{l(e.target.value);const t=e.target.value.match(/\{[^\}]*$/);if(t){const e=t[0];c(e)}else c("")},inputRef:k,onFocus:()=>{k?.current?.scrollIntoView({behavior:"smooth",block:"center",inline:"center"}),f(!0)},onBlur:()=>f(!1)}))),(0,o.A)(no.Ay,{item:!0,sm:3,xs:4,alignItems:"center",sx:{border:"1px solid transparent"}},void 0,(0,o.A)(W.A,{direction:"row",justifyContent:"center",alignItems:"center",mt:.5},void 0,(0,o.A)(Zd.A,{checked:v,disabled:!x,onChange:e=>{A(e.target.checked)}}),(0,o.A)(Zd.A,{checked:u,disabled:!b,onChange:e=>{m(e.target.checked)}}),(0,o.A)(Zd.A,{checked:p,disabled:!w,onChange:e=>{h(e.target.checked)}}))))),(0,o.A)($.A,{sx:{p:2},elevation:0},void 0,(0,o.A)(W.A,{direction:"row",spacing:2,justifyContent:"flex-end"},void 0,(0,o.A)(E.A,{variant:"contained",size:"medium",onClick:()=>{e({manualShout:{content:s,send_to_twitter:u,send_to_tumblr:p,send_to_bluesky:v}})}},void 0,"Post"))))};try{fu.displayName="NewSocialMediaManualShoutForm"}catch(e){}const bu=fu;$c().shape({id:$c().number,event_type:$c().number.isRequired,content:$c().string,send_to_twitter:$c().bool,send_to_tumblr:$c().bool,send_to_bluesky:$c().bool,errors:$c().object,valid_substitutions:$c().arrayOf($c().string)});function wu(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function xu(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?wu(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):wu(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const Cu={1:"Made yourself available:",2:"Ended a call:",3:"Received a tribute:",4:"Was favorited:",5:"Added a Goody Bag:",6:"Sold a Goody Bag:",9:"Started a new chat:"},ku=({eventTemplate:e,twitterConnection:t=null,updateSocialMediaEventTemplate:i,tumblrConnection:r=null,blueskyConnection:n=null})=>{const[s,l]=(0,a.useState)(!1),[d,c]=(0,a.useState)(!1),[u,m]=(0,a.useState)(!1),[p,h]=(0,a.useState)(""),[v,A]=(0,a.useState)(!1),y=(0,a.useRef)(null),f=(0,a.useRef)(null);return(0,a.useEffect)(()=>
1{l(t?.id&&!t?.authentication_error),c(r?.id&&!r?.authentication_error),m(n?.id&&!n?.authentication_error)},[r,t,n]),(0,o.A)($.A,{sx:{p:2},elevation:0},void 0,(0,o.A)(no.Ay,{container:!0},void 0,(0,o.A)(no.Ay,{item:!0,sm:9,xs:8},void 0,(0,o.A)(g.A,{display:"block",sx:{position:"relative"}},void 0,(0,o.A)(g.A,{sx:p.length>0?{zIndex:1,position:"absolute",width:"100%"}:{position:"absolute",width:"100%",visibility:"hidden"}},void 0,(0,o.A)(Au.A,{options:e.valid_substitutions,onChange:(t,o)=>{const a=e.content.lastIndexOf("{");if(-1!==a){const t=e.content.slice(0,a)+o;i(xu(xu({},e),{},{content:t})),h(""),y.current.focus()}},blurOnSelect:!0,disableClearable:!0,freeSolo:!0,open:p.length>0,renderInput:e=>a.createElement(ao.A,(0,De.A)({},e,{type:"hidden",inputRef:y}))})),(0,o.A)(ao.A,{error:!!e.errors?.content,helperText:e.errors?.content,multiline:!0,rows:v?5:1,variant:"outlined",fullWidth:!0,inputProps:{maxLength:140,style:{fontSize:"0.875rem",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"pre-line"}},label:Cu[e.event_type],size:"small",value:e.content,onChange:t=>{i(xu(xu({},e),{},{content:t.target.value}));const o=t.target.value.match(/\{[^\}]*$/);if(o){const e=o[0];h(e)}else h("")}
1,inputRef:f,onFocus:()=>{f?.current?.scrollIntoView({behavior:"smooth",block:"center",inline:"center"}),A(!0)},onBlur:()=>A(!1)}))),(0,o.A)(no.Ay,{item:!0,sm:3,xs:4,alignItems:"center"},void 0,(0,o.A)(W.A,{direction:"row",justifyContent:"center",alignItems:"center",mt:1},void 0,(0,o.A)(Zd.A,{checked:u&&e.send_to_bluesky,disabled:!u,onChange:t=>{i(xu(xu({},e),{},{send_to_bluesky:t.target.checked}))}}),(0,o.A)(Zd.A,{checked:s&&e.send_to_twitter,disabled:!s,onChange:t=>{i(xu(xu({},e),{},{send_to_twitter:t.target.checked}))}}),(0,o.A)(Zd.A,{checked:d&&e.send_to_tumblr,disabled:!d,onChange:t=>{i(xu(xu({},e),{},{send_to_tumblr:t.target.checked}))}})))))};try{ku.displayName="EventTemplate"}catch(e){}const Su=ku;var _u;const Nu=({socialMediaEventTemplates:e=[],updateSocialMediaEventTemplate:t,handleCancelUpdateSocialMediaEventTemplates:i,handleUpdateSocialMediaEventTemplates:r,twitterConnection:n=null,tumblrConnection:s=null,blueskyConnection:l=null,socialMediaTemplateFormData:d=[]})=>{const c=(0,a.useRef)(null),u=(0,a.useRef)(null),[m,p]=(0,a.useState)(!1),h=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting?p(!1):p(!0)})},{rootMargin:"-98px"});return(0,a.useEffect)(()=>{const e=()=>{c.current&&h.observe(u.current)};return window.document.querySelector("#body-content").addEventListener("scroll",e),()=>{window.document.querySelector("#body-content").removeEventListener("scroll",e),h.unobserve(c.current)}},[]),e?.length>0?a.createElement(a.Fragment,null,(0,o.A)(no.Ay,{container:!0,sx:{alignItems:"center",px:{xs:2.5,sm:1},py:{xs:1,sm:1}}},void 0,_u||(_u=(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(O.A,{},void 0,"...then choose events for automatic posting. Customize text, if desired. Text within curly braces will be substituted when sent.")))),(0,o.A)(no.Ay,{container:!0,alignItems:"center",mb:-3},void 0,a.createElement(no.Ay,{item:!0,sm:9,xs:8,ref:u}),a.createElement(no.Ay,{item:!0,sm:3,xs:4,alignItems:"center",ref:c,sx:m?{position:"sticky",paddingTop:"2px",top:"44px",backgroundColor:"white",zIndex:1}:{}},(0,o.A)(W.A,{direction:"row",spacing:2.72,justifyContent:"center",alignItems:"center",sx:{width:"100px",mx:"auto",pr:2.5}},void 0,(0,o.A)(uu,{alt:"Bluesky",style:{height:"20px",width:"20px"}}),(0,o.A)(Jc,{alt:"Twitter",style:{height:"20px",width:"20px"}}),(0,o.A)(ru,{alt:"Tumblr",style:{height:"20px",width:"20px"}}))),d?.map(e=>(0,o.A)(no.Ay,{item:!0,xs:12},e.id,(0,o.A)(Su,{eventTemplate:e,updateSocialMediaEventTemplate:t,twitterConnection:n,tumblrConnection:s,blueskyConnection:l},e.id)))),(0,o.A)($.A,{sx:{p:2,mt:3},elevation:0},void 0,(0,o.A)(W.A,{direction:"row",spacing:2,justifyContent:"flex-end"},void 0,(0,o.A)(E.A,{variant:"outlined",size:"medium",onClick:i},void 0,"Cancel"),(0,o.A)(E.A,{variant:"contained",size:"medium",onClick:r},void 0,"Save")))):null};try{Nu.displayName="SocialMediaEventTemplates"}catch(e){}const Pu=Nu;var Tu,Fu;const Iu=()=>{const{data:e}=(0,k.UK)(),{data:t,isSuccess:i}=(0,k.Vz)(),[r,{error:n}]=(0,k.nk)(),[s,{status:l,error:d}]=(0,k.yh)(),[c,u]=(0,a.useState)(""),[p,h]=(0,a.useState)(t),g=(0,m.wA)(),v=e?.find(e=>"twitter"===e.provider),A=e?.find(e=>"tumblr"===e.provider),y=e?.find(e=>"bluesky"===e.provider);return(0,a.useEffect)(()=>{"rejected"===l&&422===d.status&&h(d.data)},[d,l]),(0,a.useEffect)(()=>{i&&h(t)},[i]),(0,a.useEffect)(()=>{(()=>{const e=new URL(window.location.toString()),t=new URLSearchParams(e.search),i="snackbar[severity]",o="snackbar[message]",a=t.get(i),r=t.get(o);a&&r&&(g((0,xe.s4)({message:r,severity:a})),t.delete(i),t.delete(o),e.search=t.toString(),window.history.replaceState({},"",e.toString()))})()},[window.location]),(0,o.A)(dt.A,{},void 0,Tu||(Tu=(0,o.A)(Ci.A,{title:"Social Shouts"})),(0,o.A)(zc,{},void 0,(0,o.A)(no.Ay,{container:!0,sx:{alignItems:"center",px:{xs:2.5,sm:1},py:{xs:1,sm:1}}},void 0,Fu||(Fu=(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(O.A,{},void 0,"Link your social media accounts to NiteFlirt and set up automatic event updates.")))),y&&(0,o.A)(gu,{connection:y,handleChanged:e=>{e.preventDefault();const t=e.target.value;u(t)},setupConnection:()=>{fetch("/bluesky/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({handle:c})}).then(e=>{if(e.ok)return e.json();throw new Error("Network response was not ok")}).then(e=>{window.location.href=e.authorization_url}).catch(e=>{g((0,xe.s4)({message:"There was an error setting up your Bluesky account. Please try again later.",severity:"error"}))})}}),v&&(0,o.A)(iu,{connection:v}),A&&(0,o.A)(lu,{connection:A}),(0,o.A)(Pu,{socialMediaEventTemplates:p,updateSocialMediaEventTemplate:e=>{const t=p.map(t=>e.id===t.id?e:t);h(t)},handleCancelUpdateSocialMediaEventTemplates:()=>{h(t)},handleUpdateSocialMediaEventTemplates:()=>{const e=p.map(e=>({id:e.id,send_to_twitter:e.send_to_twitter,send_to_tumblr:e.send_to_tumblr,send_to_bluesky:e.send_to_bluesky,content:e.content}));s({user:{social_media_event_templates_attributes:e}})},twitterConnection:v,tumblrConnection:A,blueskyConnection:y,socialMediaTemplateFormData:p}),(0,o.A)(Nl.A,{sx:{backgroundColor:"#eee",my:1}}),(0,o.A)(bu,{createSocialMediaManualShout:r,tumblrConnection:A,twitterConnection:v,blueskyConnection:y,submissionError:n})))};try{Iu.displayName="SocialShoutsContainer"}catch(e){}const Eu=Iu;var Mu;const Ou=()=>(0,o.A)("div",{className:"container-fluid margin20"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-sm-6 first-sm col-xs-12 center-xs last-xs"},void 0,(0,o.A)("img",{alt:"Hot girl with head in dryer",src:"/niteflirt/images/landing/missing/not-found.jpg",style:{maxWidth:"240px",marginTop:"20px",borderRadius:"4px"}})),Mu||(Mu=(0,o.A)("div",{className:"col-sm-6 last-sm col-xs-12 first-xs"},void 0,(0,o.A)("h2",{},void 0,"Oops..."),(0,o.A)("p",{"data-test-id":"missing-error"},void 0,"The Flirt you’re looking for is no longer available or has changed their name."),(0,o.A)("p",{"data-test-id":"missing-message"},void 0,"Search above to continue looking for this Flirt or to find a new favorite."),(0,o.A)(s.k2,{title:"Feed",to:"/feed/home"},void 0,(0,o.A)("button",{type:"button",className:"btn btn-primary marginlft0"},void 0,"Go to Feed")),(0,o.A)("p",{"data-test-id":"missing-support"},void 0,"Need help? Contact ",(0,o.A)(s.N_,{to:"//support.niteflirt.com/hc/en-us/requests/new",target:"_blank"},void 0,"Customer Support"))))));try{Ou.displayName="MissingProfile"}catch(e){}const Du=Ou;var Ru;const Lu=({closeFlash:e,message:t})=>a.createElement(a.Fragment,null,(0,o.A)("div",{className:"col-xs-10"},void 0,"function"==typeof t?t():t),(0,o.A)("div",{className:"col-xs-2 end-xs"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:e},void 0,Ru||(Ru=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",alt:"close"})))));try{Lu.displayName="GenericFlash"}catch(e){}const ju=Lu,qu=()=>{const e=(0,m.wA)(),{component:t,props:i,closeFunc:r,autoCloseDur:n,flashType:s}=(0,m.d4)(e=>e.flashes);if(!s)return null;(e=>{if(!["global","feed","warning","error","success"].includes(e))throw new Error("flashType must be one of [global, feed, error, success]")})(s);const l=t===Io?Eo:ju;const d=()=>{r&&r(),e((0,A.rq)())};return setTimeout(()=>{d()},n||3e3),(0,o.A)("div",{className:`container-alert ${s} ${s}-alert`,style:{zIndex:999}},void 0,(0,o.A)("div",{className:"container-max"},void 0,(0,o.A)("div",{className:"container-fluid padding0"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,a.createElement(l,(0,De.A)({},i,{closeFlash:d}))))))};try{qu.displayName="FlashContainer"}catch(e){}const Bu=qu,zu=({children:e})=>{const t="/feed/home",i=(0,m.wA)(),{data:a}=(0,k.zg)(),r=a?.current_user;return r?(0,cs.N)(r)?(i((0,A.SD)({flashType:"error",props:{message:`You're not allowed to see this content! Redirected to ${t}`}})),(0,o.A)(n.C5,{to:t,replace:!0})):e:null};try{zu.displayName="RestrictedRoute"}catch(e){}const Uu=zu;var $u,Wu,Gu,Hu,Yu;const Vu=({agreeToLegalLiability:e,isLoading:t,closeModal:i})=>{const a=e=>{e.preventDefault(),i()};return(0,o.A)("div",{"data-test-id":"legal-liability-modal",className:"nfp-modal"},void 0,(0,o.A)("div",{className:"modal-content"},void 0,(0,o.A)("div",{className:"modal-close-container"},void 0,(0,o.A)("a",{href:"#",onClick:a},void 0,$u||($u=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",className:"modal-close",alt:"close"})))),Wu||(Wu=(0,o.A)("div",{className:"modal-header"},void 0,(0,o.A)("h4",{},void 0,"I certify that:"))),(0,o.A)("div",{className:"modal-body",style:{fontSize:"0.875em"}},void 0,Gu||(Gu=(0,o.A)("p",{},void 0,"I certify that I  am legally entitled to upload, publish, and, when intended for sale, to sell all content that has been uploaded to my NiteFlirt account and that I will only upload content where I have such rights.")),Hu||(Hu=(0,o.A)("p",{},void 0,"I further certify that:")),Yu||(Yu=(0,o.A)("ol",{className:"marginlft0 paddinglft20"},void 0,(0,o.A)("li",{className:"marginbot15"},void 0,"I have all legally required intellectual property rights to all content uploaded to my NiteFlirt account."),(0,o.A)("li",{className:"marginbot15"},void 0,"All models were 18 years or older on the date the content was created and that I keep records if and as required by  Sections 2257/2257A of Title 18 of the US Code. These records include a copy of a valid government issued identification of all models and will be provided to NiteFlirt upon request."),(0,o.A)("li",{className:"marginbot15"},void 0,"All models depicted in the content have given written consent to be in the content, for the content to be distributed and for the content to be available for download by NiteFlirt users."),(0,o.A)("li",{className:"marginbot15"},void 0,"That appearing in such content was done voluntarily and consent was not done under duress, force or otherwise.")))),(0,o.A)("div",{className:"modal-footer"},void 0,(0,o.A)("a",{href:"#",className:"btn secondary",onClick:a},void 0,"Cancel"),(0,o.A)("button",{type:"button",className:"btn btn-submit",disabled:t,onClick:e},void 0,"I Agree"))))};try{Vu.displayName="LegalLiabilityModal"}catch(e){}const Qu=Vu,Zu=({closeModal:e})=>{const[t,{isLoading:i,isSuccess:r}]=(0,k.P8)();return(0,a.useEffect)(()=>{r&&e()},[r]),(0,o.A)(Qu,{isLoading:i,closeModal:e,agreeToLegalLiability:()=>{t()}})};try{Zu.displayName="LegalLiabilityModalContainer"}catch(e){}const Ku=Zu;var Xu,Ju,em,tm,im,om,am,rm,nm,sm,lm,dm,cm,um;const mm=({openLegalLiabilityModal:e,onboardingStep:t=null,onSetPriceClick:i})=>{if(!t)return null;const r=(0,Ui.r5)(t),s=(0,Ui.Hg)(t),l=(0,Ui.$N)(t),d=(0,n.Zp)();return a.createElement(a.Fragment,null,Xu||(Xu=(0,o.A)(fs,{})),(0,o.A)("div",{className:"container-start-to-earn margintop0"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-sm-7 col-xs-12 padding30 paddingtop10"},void 0,Ju||(Ju=(0,o.A)("h2",{},void 0,"Expand your NiteFlirt business with Feeds")),em||(em=(0,o.A)("h3",{className:"marginbot5"},void 0,"Earn more and be in control")),"With free posts and exclusive content only available to monthly subscriptions, Feeds enhances engagement and extends your reach to new customers.",tm||(tm=(0,o.A)("br",{})),im||(im=(0,o.A)("br",{})),om||(om=(0,o.A)("h3",{className:"marginbot5"},void 0,"Get Started")),(0,o.A)("ol",{},void 0,am||(am=(0,o.A)("li",{},void 0,"Review and agree to our terms regarding the content you post.")),(0,o.A)("div",{},void 0,(0,o.A)("div",{className:"row marginlft0"},void 0,(0,o.A)("div",{},void 0,(0,o.A)("a",{className:`btn btn-sm margin0 marginbot30\n                        ${t!==Ui.dy?"disabled":""}\n                      `,role:"link",tabIndex:0,onClick:()=>{t===Ui.dy&&e()}},void 0,"Review and Agree")),(0,o.A)("div",{className:"margin5"},void 0,r&&(rm||(rm=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-checkmark.svg",alt:"checkmark"})))))),nm||(nm=(0,o.A)("li",{},void 0,"Set a monthly subscription price.")),(0,o.A)("div",{},void 0,(0,o.A)("div",{className:"row marginlft0"},void 0,(0,o.A)("div",{},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:i,className:`btn btn-sm margin0 marginbot30\n                        ${t!==Ui.ZE?"disabled":""}\n                      `},void 0,"Set Price")),(0,o.A)("div",{className:"margin5"},void 0,s&&(sm||(sm=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-checkmark.svg",alt:"checkmark"})))))),lm||(lm=(0,o.A)("li",{},void 0,"Create your first post. Your first post will be visible to all future subscribers. You control which posts new subscribers can access and this can be changed at any time.")),(0,o.A)("div",{},void 0,(0,o.A)("div",{className:"row marginlft0"},void 0,(0,o.A)("div",{},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:()=>{t===Ui.Mf&&d("/feed/create_post")},className:"btn btn-sm margin0 marginbot30\n                        "+(t!==Ui.Mf?"disabled":"")},void 0,"Create First Post")),(0,o.A)("div",{className:"margin5"},void 0,l&&(dm||(dm=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-checkmark.svg",alt:"checkmark"}))))))),"Have questions? ",cm||(cm=(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/articles/8330585751309-NiteFlirt-Plus-NF-",target:"_blank",rel:"noreferrer"},void 0,"Check out the Help Center."))),um||(um=(0,o.A)("div",{className:"col-sm-5 end-sm col-xs-12 center-xs padding30"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/flirt/sample-plus2.png",className:"img-sample",alt:"Sample"}))))))};try{mm.displayName="Onboarding"}catch(e){}const pm=mm,hm=({closeDialog:e})=>{const t=(0,n.Zp)();return a.createElement(a.Fragment,null,(0,o.A)(Zs.A,{closeDialog:e}),(0,o.A)(Ys.A,{},void 0,(0,o.A)(no.Ay,{container:!0,rowSpacing:2},void 0,(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(O.A,{variant:"body1",sx:{whiteSpace:"pre-line"}},void 0,"You currently have 6 public packages, and your first Feed Package must also be public. To proceed with creating a Feed, please change one of your existing public Packages to private.")))),(0,o.A)(md.A,{},void 0,(0,o.A)(E.A,{variant:"outlined",onClick:()=>{e(),t("/packages")}},void 0,"Go To Packages")))};try{hm.displayName="MaxPublicPackagesDialog"}catch(e){}const gm=hm,vm=({closeDialog:e})=>a.createElement(a.Fragment,null,(0,o.A)(Ys.A,{},void 0,(0,o.A)(no.Ay,{container:!0,rowSpacing:2},void 0,(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(O.A,{variant:"body1",sx:{whiteSpace:"pre-line"}},void 0,"No problem! You can create new Packages later from Packages Page.")))),(0,o.A)(md.A,{},void 0,(0,o.A)(E.A,{variant:"outlined",onClick:e},void 0,"Continue")));try{vm.displayName="NoPerksNoProblemDialog"}catch(e){}const Am=vm,ym=()=>{const{login:e}=(0,n.g)(),{openModal:t}=(0,a.useContext)(bt.A),{data:i,isSuccess:r}=(0,k.zg)(),s=i?.current_user,l=i?.current_user?.onboarding_step,d=i?.current_user?.onboarding_complete,{data:c}=(0,k.Vo)(s,{skip:!s}),[u,m]=(0,a.useState)(!1),{openDialog:p,closeDialog:h}=(0,a.useContext)(la.A),g=(0,n.Zp)();return(0,a.useEffect)(()=>{r&&(i.current_user.login.toLowerCase()!==e.toLowerCase()||d)&&g(`/feed/${e}`)},[r]),(0,a.useEffect)(()=>{c&&c.publicAndPendingOnboardingPackages.length>=6&&m(!0)},[c]),(0,a.useEffect)(()=>{"true"===new URLSearchParams(window.location.search).get("no_perks")&&(window.history.replaceState({},document.title,window.location.pathname),p({component:Am,props:{closeDialog:h}}))},[]),(0,o.A)(dt.A,{},void 0,(0,o.A)(pm,{onboardingStep:l,openLegalLiabilityModal:()=>{t({component:Ku})},onSetPriceClick:()=>{l===Ui.ZE&&(u?p({component:gm,props:{closeDialog:h}}):g("/feed/subscription_settings?onboarding=true"))}}))};try{ym.displayName="OnboardingContainer"}catch(e){}const fm=ym,bm=()=>{const{login:e}=(0,n.g)(),{data:t}=(0,k.zg)(),i=t?.current_user;return i?.login!==e||i.onboarding_complete?(0,o.A)(n.C5,{to:`/${e}/feed`,replace:!0}):(0,o.A)(n.C5,{to:`/feed/${i.login}/onboarding`,replace:!0})};try{bm.displayName="FlirtContainer"}catch(e){}const wm=bm;var xm=i(57473),Cm=i(12886);const km=({advisor:e})=>{const{resetFlirtFeedRequest:t}=(0,m.d4)(e=>e.resetRecords),{cursors:i,setOldestCursor:a,setMoreRecords:r}=gn({resetRecordsRequest:t,doneResettingRecordsFunc:Gi.vs,shouldResetRecordsTestFunc:()=>t&&t===e.id});return i.map(t=>(0,o.A)(hn,{setOldestCursor:a,feedQuery:()=>(0,Vi.X3)({cursor:t,advisorId:e.id}),showPin:!0,setMoreRecords:r},t))};try{km.displayName="FlirtPostsContainer"}catch(e){}const Sm=km;var _m,Nm;const Pm=({postId:e,advisor:t,mediaItem:i})=>{const a=(0,n.Zp)();let r;switch(!0){case/audio/.test(i.content_type):r="/plus_fron
1tend/assets/svg/ico-audio.svg";break;case/image/.test(i.content_type):r="/plus_frontend/assets/svg/ico-image.svg";break;case/gif/.test(i.content_type):case/video/.test(i.content_type):r="/plus_frontend/assets/svg/ico-video.svg";break;default:r=null}return(0,o.A)("div",{className:"media locked",role:"link",tabIndex:0,onClick:()=>a(`/feed/${t.login}/${e}`)},void 0,(0,o.A)("div",{className:"inner"},void 0,_m||(_m=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-lock.svg",alt:"Locked"})),(0,o.A)("div",{className:"media-type"},void 0,(0,o.A)("img",{src:r,alt:"Lock"}))))};try{Pm.displayName="LockedMediaItem"}catch(e){}const Tm=({mediaItem:e,onMediaItemClick:t,advisor:i})=>{if(!e.unlocked)return(0,o.A)(Pm,{postId:e.post_id,advisor:i,mediaItem:e});const a=e.content_type.match(/gif/),r=e.content_type.match(/video/),n=e.content_type.match(/audio/);return(0,o.A)("div",{style:e.thumbnail_url?{backgroundImage:`url(${e.thumbnail_url})`}:void 0,className:"media",role:"link",tabIndex:0,onClick:()=>t(e)},void 0,(0,o.A)("div",{className:"inner"},void 0,a&&(Nm||(Nm=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-play-gif.svg",alt:"GIF"}))),r&&(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-video2.svg",alt:"Video",style:{width:"50px"}}),n&&(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-audio.svg",alt:"Audio",style:{opacity:"0.75",width:"50px"}})))};try{Tm.displayName="MediaItem"}catch(e){}const Fm=Tm;var Im;const Em=({setOldestCursor:e,feedQuery:t,setMoreRecords:i,onMediaItemClick:r,advisor:n})=>{const{data:s,isFetching:l}=t(),d=s?.records,c=s?.moreRecords;return(0,a.useEffect)(()=>{i(c)},[c]),(0,a.useEffect)(()=>{if(d?.length>0){const t=d[d.length-1],i=`${t.post_published_at}|${t.sort_order}`;e(i)}},[d]),l?Im||(Im=(0,o.A)("div",{className:"container-fluid margintop30"},void 0,(0,o.A)("div",{className:"row"},void 0,(0,o.A)("div",{className:"col-xs-12 center-xs"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/nfp-loading.svg",alt:"Loading",className:"spinner"}))))):d.map(e=>(0,o.A)(Fm,{onMediaItemClick:r,mediaItem:e,advisor:n},e.fm_item_id))};try{Em.displayName="MediaItemsPageContainer"}catch(e){}const Mm=Em,Om="all",Dm="image",Rm="video",Lm="audio",jm=({mediaFilter:e,setMediaFilterAndResetCursors:t})=>(0,o.A)("div",{className:"container-summary-tags","data-test-id":"media-filters"},void 0,(0,o.A)("div",{className:"row middle-xs start-xs"},void 0,(0,o.A)("span",{role:"button",tabIndex:0,onClick:()=>{t(Om)},className:e===Om?"active":""},void 0,"All"),(0,o.A)("span",{role:"button",tabIndex:0,onClick:()=>{t(Dm)},className:e===Dm?"active":""},void 0,"Photo"),(0,o.A)("span",{role:"button",tabIndex:0,onClick:()=>{t(Rm)},className:e===Rm?"active":""},void 0,"Video"),(0,o.A)("span",{role:"button",tabIndex:0,onClick:()=>{t(Lm)},className:e===Lm?"active":""},void 0,"Audio")));try{jm.displayName="MediaFilters"}catch(e){}const qm=jm,Bm=(0,a.lazy)(()=>Promise.all([i.e(428),i.e(418),i.e(339)]).then(i.bind(i,86339))),zm=({advisor:e})=>{const[t,i]=(0,a.useState)(Om),r=(0,m.wA)(),n=(0,a.useRef)([]),{resetFlirtMediaRequest:s}=(0,m.d4)(e=>e.resetRecords),{nextItem:l,prevItem:d,currentItem:c,onNextClick:u,onPrevClick:p,onCloseClick:h,setMediaIndex:g,lightboxIsOpen:v,setLightboxIsOpen:A,lightboxMediaDecorator:y}=(0,Xo.A)({mediaItems:n.current}),{cursors:f,setMoreRecords:b,setOldestCursor:w}=gn({resetRecordsRequest:s,doneResettingRecordsFunc:Gi.j3,shouldResetRecordsTestFunc:()=>s&&s===e.id});n.current=(0,m.d4)(i=>((i,o)=>f.map(a=>{const r=`getFlirtMedia({"advisorId":${e.id},"cursor":"${a}","filter":"${t}"})`,n=i.feeds.queries[r];return"fulfilled"!==n?.status?[]:n.data.records.map(e=>e.unlocked?o(e):null)}).flat().filter(e=>e))(i,Jo.z));const x=e=>{const t=n.current.findIndex(t=>t.fm_item_id===e.fm_item_id);g(t),A(!0)};return(0,o.A)("div",{style:{display:"contents"},"data-test-id":"flirt-media-container"},void 0,(0,o.A)(qm,{mediaFilter:t,setMediaFilterAndResetCursors:async t=>{await r((0,Gi.Be)({advisorId:e.id})),i(t)}}),(0,o.A)("div",{className:"media-container"},void 0,f.map(i=>(0,o.A)(Mm,{advisor:e,setOldestCursor:w,feedQuery:()=>(0,Vi.B$)({cursor:i,advisorId:e.id,filter:t}
1,{refetchOnMountOrArgChange:!0,keepUnusedDataFor:0}),onMediaItemClick:x,setMoreRecords:b},i))),v&&(0,o.A)(a.Suspense,{fallback:null},void 0,(0,o.A)(Bm,{onCloseRequest:h,onMovePrevRequest:p,onMoveNextRequest:u,nextSrc:y(l),prevSrc:y(d),mainSrc:y(c)})))};try{zm.displayName="FlirtMediaContainer"}catch(e){}const Um=zm;var $m,Wm;const Gm=(0,Re.Ay)(g.A)(({theme:e})=>({display:"grid",alignItems:"center",columnGap:e.spacing(3),rowGap:e.spacing(1.5),gridTemplateColumns:"auto auto auto",justifyContent:"flex-start",[e.breakpoints.down("sm")]:{gridTemplateColumns:"auto auto",columnGap:e.spacing(2),"& > :first-of-type":{gridColumn:"1 / -1"}}})),Hm=(0,Re.Ay)(E.A)(()=>({color:"var(--link_color)",borderColor:"var(--link_color)","&:hover":{color:"var(--link_color)"},cursor:"pointer"})),Ym=(0,Re.Ay)(s.N_)({display:"flex",alignItems:"center",gap:6,textDecoration:"none","& img":{filter:"none"},"&:hover img":{filter:"brightness(0) saturate(100%) invert(12%) sepia(53%) saturate(4816%) hue-rotate(278deg) brightness(94%) contrast(96%)"}}),Vm=({currentUser:e=null,feedsAdvisor:t=null})=>{const[i,r]=(0,a.useState)(0);return a.createElement(a.Fragment,null,(0,o.A)(fs,{title:"Manage Feed",rightElement:(0,o.A)(rd,{currentUser:e})}),(0,o.A)(g.A,{sx:{px:{xs:2,sm:2},pt:{xs:3,sm:2.5},pb:{xs:2,sm:1.5}}},void 0,(0,o.A)(Gm,{"data-test-id":"feed-management-actions"},void 0,(0,o.A)(Hm,{component:s.N_,to:"/feed/create_post",variant:"outlined",size:"small","data-test-id":"create-new-post-button",sx:{width:150}},void 0,"New Post"),$m||($m=(0,o.A)(Ym,{to:"/feed/queue/scheduled","data-test-id":"posts-queue-link"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-posts-queue-20.svg",alt:"Posts Queue"}),(0,o.A)(O.A,{variant:"body2"},void 0,"Posts Queue"))),Wm||(Wm=(0,o.A)(Ym,{to:"/packages","data-test-id":"manage-packages-link"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-present-20.svg",alt:"Manage Packages/Pricing"}),(0,o.A)(O.A,{variant:"body2"},void 0,"Manage Packages/Pricing"))))),(0,o.A)(g.A,{"data-test-id":"feed-content-tabs"},void 0,(0,o.A)(Cm.A,{value:i,onChange:(e,t)=>
1{r(t)},"aria-label":"feed content tabs",centered:!0},void 0,(0,o.A)(xm.A,{label:"Posts",sx:{minWidth:"150px"}}),(0,o.A)(xm.A,{label:"Media",sx:{minWidth:"150px"}}))),(0,o.A)(g.A,{},void 0,t&&0===i&&(0,o.A)(Sm,{advisor:t}),t&&1===i&&(0,o.A)(Um,{advisor:t})))};try{Vm.displayName="ManageFeed"}catch(e){}const Qm=Vm,Zm=()=>{const e=(0,n.Zp)(),{data:t}=(0,k.zg)(),i=t?.current_user,{data:r}=(0,k.yM)({login:i?.login},{skip:!i?.login}),{data:s}=(0,k.j7)(void 0,{skip:!i?.is_advisor}),{openDialog:l,closeDialog:d}=(0,a.useContext)(la.A),[c]=(0,Zl.gP)(),[u]=(0,Zl.zG)(),m=null!=i&&!i.is_advisor;return(0,a.useEffect)(()=>{m&&e("/account")},[m,e]),m?null:(0,o.A)(Pl.Provider,{value:{terminateFeedHandler:()=>{l({component:Xl,props:{feedStatus:"active",publicPackagesCount:s?.publicAndPendingOnboardingPackages?.length||0,closeDialog:d,terminateFeed:c}})},reactivateFeedHandler:()=>{l({component:Xl,props:{feedStatus:"terminated",publicPackagesCount:s?.publicAndPendingOnboardingPackages?.length||0,closeDialog:d,reactivateFeed:u}})},currentUser:i}},void 0,(0,o.A)(dt.A,{"data-test-id":"manage-feed-page"},void 0,(0,o.A)(Qm,{currentUser:i,feedsAdvisor:r})))};try{Zm.displayName="ManageFeedContainer"}catch(e){}const Km=Zm,Xm=()=>{const e=(0,n.g)();return(0,o.A)(n.C5,{to:`/feed/${e.login}`})};try{Xm.displayName="FlirtRedirect"}catch(e){}const Jm=Xm;var ep=i(23787),tp=i(24151),ip=i(95856),op=i(30068);function ap(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function rp(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?ap(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ap(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const np=({left:e,top:t,width:i,height:o})=>({left:Math.min(Math.max(e,8),Math.max(8,window.innerWidth-i-8)),top:Math.min(Math.max(t,8),Math.max(8,window.innerHeight-o-8))}),sp=({resetKey:e})=>{const t=(0,a.useRef)(null),i=(0,a.useRef)(null),[o,r]=(0,a.useState)(null),[n,s]=(0,a.useState)(!1);(0,a.useEffect)(()=>{r(null),i.current=null,s(!1)},[e]),(0,a.useEffect)(()=>{const e=()=>{const e=t.current;r(t=>{if(!t)return t;const{width:i,height:o}=e?e.getBoundingClientRect():t;return rp(rp({},np({left:t.left,top:t.top,width:i,height:o})),{},{width:i,height:o})})};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const l=e=>{const t=i.current;t&&e.pointerId===t.pointerId&&(i.current=null,s(!1))};return{ref:t,position:o,dragging:n,dragHandlers:{onPointerDown:e=>{if(0!==e.button)return;if(e.target.closest("button"))return;const o=t.current;if(!o)return;const a=o.getBoundingClientRect();i.current={pointerId:e.pointerId,startX:e.clientX,startY:e.clientY,originLeft:a.left,originTop:a.top,width:a.width,height:a.height,active:!1},o.setPointerCapture?.(e.pointerId)},onPointerMove:e=>{const t=i.current;if(!t||e.pointerId!==t.pointerId)return;if(0===e.buttons)return i.current=null,void(t.active&&s(!1));const o=e.clientX-t.startX,a=e.clientY-t.startY;if(!t.active){if(Math.abs(o)<6&&Math.abs(a)<6)return;t.active=!0,s(!0)}r(rp(rp({},np({left:t.originLeft+o,top:t.originTop+a,width:t.width,height:t.height})),{},{width:t.width,height:t.height}))},onPointerUp:l,onPointerCancel:l}}};var lp,dp;function cp(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function up(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?cp(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):cp(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const mp=()=>{const e=(0,m.d4)(we.NP),{pathname:t}=(0,n.zy)(),i=(0,n.Zp)(),[r,s]=(0,a.useState)(()=>(0,Ks.a3)(0)),l=e?.startedAt;(0,a.useEffect)(()=>
1{if(!l)return;const e=()=>s((0,Ks.a3)((e=>{const t=e?Date.parse(e):NaN;return Number.isNaN(t)?0:Math.max(0,Math.floor((Date.now()-t)/1e3))})(l)));e();const t=setInterval(e,1e3);return()=>clearInterval(t)},[l]);const{ref:d,position:c,dragging:u,dragHandlers:p}=sp({resetKey:e?.id}),h=(0,w.lp)(t),v=null!==h&&h!==String(e?.id);return!e||(0,w.LD)(t)&&!v?null:a.createElement(g.A,(0,De.A)({ref:d,"data-testid":"cam-session-pill"},p,{sx:up(up({position:"fixed"},c?{left:`${c.left}px`,top:`${c.top}px`,bottom:"auto",transform:"none"}:{left:"50%",bottom:"calc(24px + max(var(--mobile-footer-height, 0px), var(--chat-compose-clearance, 0px)))",transform:"translateX(-50%)"}),{},{zIndex:1300,display:"flex",alignItems:"center",gap:1.5,width:"calc(100vw - 32px)",maxWidth:420,bgcolor:"#c7eec7",border:"1px solid rgba(26,82,54,0.12)",borderRadius:9999,pl:1.5,pr:1,py:.75,boxShadow:"0 8px 24px -8px rgba(26,82,54,0.22), 0 2px 6px rgba(26,82,54,0.08)",touchAction:"none",userSelect:"none",cursor:u?"grabbing":"grab"})}),(0,o.A)(op.A,{sx:{fontSize:20,color:"rgba(26,82,54,0.45)",flexShrink:0,ml:-.5,mr:-1}}),(0,o.A)(tp.A,{src:e.photoUrl||void 0,alt:"",sx:{width:36,height:36,flexShrink:0,bgcolor:"#1a5236",fontSize:14,fontWeight:700}},void 0,(e.name||"?").charAt(0).toUpperCase()),(0,o.A)(g.A,{sx:{flex:"1 1 0",minWidth:0,lineHeight:1.2}},void 0,(0,o.A)(O.A,{sx:{fontSize:13,fontWeight:700,color:"#1a5236",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}},void 0,e.name),(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:.5,fontSize:11,color:"rgba(26,82,54,0.65)",whiteSpace:"nowrap"}},void 0,lp||(lp=(0,o.A)("span",{},void 0,"Live Session")),dp||(dp=(0,o.A)("span",{},void 0,"·")),(0,o.A)(ip.A,{sx:{fontSize:12}}),(0,o.A)("span",{"data-testid":"cam-session-pill-timer",style:{fontVariantNumeric:"tabular-nums"}},void 0,r))),(0,o.A)(E.A,{variant:"contained",size:"small",onClick:()=>i(`/cam/${e.id}`),sx:{flexShrink:0,bgcolor:"#2563eb",borderRadius:9999,textTransform:"none",fontSize:12,fontWeight:700,px:1.5,"&:hover":{bgcolor:"#1d4ed8"}}},void 0,"Back to Cam"))};try{mp.displayName="CamSessionPill"}catch(e){}const pp=mp;var hp=i(52442),gp=i(47142),vp=i(60736);const Ap=()=>{const e=(0,m.d4)(we.NP),t=(0,m.d4)(we.Ej),i=(0,x.u)("ADD_CC_MONEY_22750"),[r]=(0,z.Ai)(),n=Boolean(e?.isSeeker),s=(0,a.useMemo)(()=>t?new Date(t):null,[t]),{showWarning:l,dismissWarning:d,reshowWarning:c,showThreeMinWarning:u,dismissThreeMinWarning:p}=(0,hp.A)({exhaustionAt:s,isSeeker:n}),{openAddMoney:h}=(0,us.A)({afterAction:d,afterClose:c,compactPanel:!0}),g=i&&l,v=t=>{e?.id&&r({conferenceId:e.id,eventType:"add_money_initiated"}).unwrap().catch(e=>console.error("Failed to log add_money_initiated event",e)),h(0,!1,t,0)};return e?a.createElement(a.Fragment,null,(0,o.A)(gp.A,{isOpen:g,isSeeker:n,onAddMoney:()=>v("cam_low_balance"),onDismiss:d}),(0,o.A)(vp.A,{isOpen:Boolean(i&&n&&u),onAddMoney:()=>v("cam_low_balance_3min"),onDismiss:p})):null};try{Ap.displayName="CamSessionSnackbars"}catch(e){}const yp=Ap;var fp,bp,wp=i(16419),xp=i(6846),Cp=i(62467),kp=i(97618);const Sp=({onAgree:e,isLoading:t,isError:i})=>{const[r,n]=(0,a.useState)(!1);return(0,o.A)(Cp.A,{open:!0,disableEscapeKeyDown:!0,"aria-labelledby":"tos-acceptance-message",sx:{zIndex:1400,"& .MuiDialog-paper":{backgroundColor:"var(--body_background, #fff)",color:"var(--body_color, #222)"}}},void 0,(0,o.A)(Ys.A,{},void 0,fp||(fp=(0,o.A)(O.A,{id:"tos-acceptance-message"},void 0,"Our Terms of Service have been updated. You must agree to the new Terms to continue.")),(0,o.A)(Xd.A,{sx:{mt:2,alignItems:"flex-start"},control:(0,o.A)(Zd.A,{checked:r,onChange:e=>n(e.target.checked),sx:{pt:0}}),label:bp||(bp=(0,o.A)("span",{},void 0,"I agree to the"," ",(0,o.A)(Ws.A,{href:"/help/tos",target:"_blank",rel:"noopener"},void 0,"NiteFlirt Terms of Service"),"."))}),i&&(0,o.A)(kp.A,{severity:"error",sx:{mt:2}},void 0,"Something went wrong. Please try again.")),(0,o.A)(md.A,{},void 0,(0,o.A)(E.A,{variant:"contained",disabled:!r||t,onClick:e},void 0,"Submit")))};try{Sp.displayName="TosAcceptanceDialog"}catch(e){}const _p=Sp,Np=({pathname:e})=>{const t=(0,k.zg)().data,[i,{isLoading:a,isError:r}
1]=(0,k.zN)(),n="/help/tos"===e?.replace(/\/+$/,""),s=Boolean(t?.currentUser?.needsTosAcceptance);return n||window.self!==window.top||!s?null:(0,o.A)(_p,{onAgree:i,isLoading:a,isError:r})};try{Np.displayName="TosAcceptanceGateContainer"}catch(e){}const Pp=Np;var Tp,Fp,Ip,Ep,Mp=i(55347),Op=i(93555),Dp=i(97521),Rp=i(40441),Lp=i(87217),jp=i(23344),qp=i(68636),Bp=i(41397);const zp=({tax_forms:e})=>(0,o.A)(dt.A,{},void 0,(0,o.A)(Op.A,{header:"Tax Forms",goBackPath:"/transactions/payment_history"},void 0,(0,o.A)(g.A,{px:{xs:2,sm:4},pt:{xs:4,sm:4}},void 0,Tp||(Tp=(0,o.A)(O.A,{},void 0,"Flirts who are eligible to work in the US and whose earnings meet or exceed the IRS reporting threshold for the calendar year will be issued a Form 1099-K and your gross earnings will be reported to the IRS. Your gross earnings are calculated across all of your NiteFlirt accounts that share the same tax ID. For more information please visit the ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us",target:"_blank",rel:"noopener noreferrer"},void 0,"Help Center"),".")),Fp||(Fp=(0,o.A)("br",{})),Ip||(Ip=(0,o.A)(O.A,{},void 0,"The available forms below start with the 2021 tax year. For years after 2021 that do not appear here, a Form 1099-K was not issued to you because your gross NiteFlirt earnings were less than the IRS minimum and your earnings were not reported to the IRS. Please contact ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]")," for forms prior to 2021."))),(0,o.A)(g.A,{p:4},void 0,(0,o.A)(Dp.A,{component:$.A},void 0,(0,o.A)(Rp.A,{"aria-label":"simple table"},void 0,Ep||(Ep=(0,o.A)(Lp.A,{},void 0,(0,o.A)(jp.A,{},void 0,(0,o.A)(qp.A,{},void 0,"Tax Year"),(0,o.A)(qp.A,{},void 0,"Form")))),(0,o.A)(Bp.A,{},void 0,e.map(e=>(0,o.A)(jp.A,{sx:{"&:last-child td, &:last-child th":{border:0}}},e.order_year,(0,o.A)(qp.A,{},void 0,e.order_year),(0,o.A)(qp.A,{},void 0,(0,o.A)(s.N_,{to:`/account/tax_forms/${e.id}`},void 0,e.short_name))))))))));try{zp.displayName="TaxForms"}catch(e){}const Up=zp;var $p=i(51228);const Wp=()=>{const{data:e}=(0,$p.y0)();return(0,o.A)(Up,{tax_forms:e||[]})};try{Wp.displayName="TaxFormsContainer"}catch(e){}const Gp=Wp;var Hp,Yp,Vp,Qp,Zp,Kp,Xp,Jp,eh,th,ih,oh,ah,rh,nh,sh,lh,dh,ch,uh,mh,ph,hh,gh,vh,Ah,yh,fh,bh,wh,xh,Ch,kh,Sh,_h,Nh,Ph,Th,Fh,Ih,Eh,Mh,Oh,Dh,Rh,Lh,jh,qh,Bh=i(27206);const zh=()=>(0,o.A)(dt.A,{},void 0,(0,o.A)(Op.A,{header:"Form 1099-K"},void 0,(0,o.A)(g.A,{px:{xs:0,sm:4},pt:{xs:4,sm:4},className:"text-muted"},void 0,Hp||(Hp=(0,o.A)(O.A,{variant:"h6"},void 0,"Loading tax information...")))));try{zh.displayName="Loading"}catch(e){}const Uh=({data:e})=>{const t=(0,a.useRef)(null),i=(0,Bh.useReactToPrint)({content:()=>t.current,pageStyle:".no-print { display: none; }"}),{order_year:r,short_name:n,data:{payee_name:s,address_line1:l,address_line2:d,city:c,state:u,zip:m,TIN:p,apr_5d:h,aug_5h:v,feb_5b:A,jan_5a:y,jul_5g:f,jun_5f:b,mar_5c:w,may_5e:x,nov_5k:C,num_trans_3:k,oct_5j:S,sep_5i:_,total_1a:N,dec_5l:P}}=e||{data:{}};return e?a.createElement(a.Fragment,null,(0,o.A)(dt.A,{},void 0,(0,o.A)(Op.A,{header:"Form 1099-K"},void 0,a.createElement(g.A,{px:{xs:0,sm:4},pt:{xs:4,sm:4},ref:t},(0,o.A)("a",{href:"#",onClick:e=>{e.preventDefault(),i()},className:"no-print pull-right",style:{float:"right"}},void 0,"Print"),(0,o.A)(O.A,{variant:"h2"},void 0,r," ",n),Vp||(Vp=(0,o.A)("br",{})),Qp||(Qp=(0,o.A)(O.A,{variant:"h3"},void 0,"Payment Card and Third Party Network Transactions")),Zp||(Zp=(0,o.A)("br",{})),Kp||(Kp=(0,o.A)(O.A,{variant:"p"},void 0,"This is important tax information and is being furnished to the Internal Revenue Service. If you are required to file a return, a negligence penalty or other sanction may be imposed on you if taxable income results from this transaction and the IRS determines that it has not been reported.")),(0,o.A)(no.Ay,{container:!0,spacing:1,pt:2},void 0,(0,o.A)(no.Ay,{item:!0,xs:4},void 0,Xp||(Xp=(0,o.A)("strong",{},void 0,"Payee's Name:")),Jp||(Jp=(0,o.A)("br",{})),s,eh||(eh=(0,o.A)("br",{})),l,th||(th=(0,o.A)("br",{})),d&&a.createElement(a.Fragment,null,d,ih||(ih=(0,o.A)("br",{}))),c,", ",u," ",m),oh||(oh=(0,o.A)(no.Ay,{item:!0,xs:8},void 0,(0,o.A)("strong",{},void 0,"Filer's Name:"),(0,o.A)("br",{}),"NF Entertainment, LLC",(0,o.A)("br",{}),"182 Howard Street, Suite 418",(0,o.A)("br",{}),"San Francisco, CA 94105",(0,o.A)("br",{}),"877-527-2555"))),(0,o.A)(no.Ay,{container:!0,spacing:3,pt:4},void 0,(0,o.A)(no.Ay,{item:!0,xs:4}
1,void 0,ah||(ah=(0,o.A)("strong",{},void 0,"Payee's federal Identification number:")),rh||(rh=(0,o.A)("br",{})),p),nh||(nh=(0,o.A)(no.Ay,{item:!0,xs:8},void 0,(0,o.A)("strong",{},void 0,"Filer's federal Identification number:"),(0,o.A)("br",{}),"30-0714871"))),sh||(sh=(0,o.A)(no.Ay,{container:!0,spacing:1,pt:4},void 0,(0,o.A)(no.Ay,{item:!0,xs:4},void 0,(0,o.A)("strong",{},void 0,"Type of Filer:"),(0,o.A)("br",{}),"EPF or 3rd Party"),(0,o.A)(no.Ay,{item:!0,xs:8},void 0,(0,o.A)("strong",{},void 0,"Type of Payment:"),(0,o.A)("br",{}),"3rd Party Network"))),(0,o.A)(no.Ay,{container:!0,spacing:1,sm:12},void 0,(0,o.A)(no.Ay,{item:!0,sm:6},void 0,(0,o.A)(Rp.A,{},void 0,lh||(lh=(0,o.A)(Lp.A,{},void 0,(0,o.A)(jp.A,{},void 0,(0,o.A)(qp.A,{},void 0,"Description"),(0,o.A)(qp.A,{align:"right"},void 0,"Amount")))),(0,o.A)(Bp.A,{},void 0,(0,o.A)(jp.A,{},void 0,dh||(dh=(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Box 1a: Gross amount of payment card/third party network transactions"))),(0,o.A)(qp.A,{align:"right"},void 0,(0,kc.zQ)(N))),(0,o.A)(jp.A,{},void 0,ch||(ch=(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Box 5a: Jan."))),(0,o.A)(qp.A,{align:"right"},void 0,(0,kc.zQ)(y))),(0,o.A)(jp.A,{},void 0,uh||(uh=(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Box 5c: Mar."))),(0,o.A)(qp.A,{align:"right"},void 0,(0,kc.zQ)(w))),(0,o.A)(jp.A,{},void 0,mh||(mh=(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Box 5e: May."))),(0,o.A)(qp.A,{align:"right"},void 0,(0,kc.zQ)(x))),(0,o.A)(jp.A,{},void 0,ph||(ph=(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Box 5g: Jul."))),(0,o.A)(qp.A,{align:"right"},void 0,(0,kc.zQ)(f))),(0,o.A)(jp.A,{},void 0,hh||(hh=(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Box 5i: Sep."))),(0,o.A)(qp.A,{align:"right"},void 0,(0,kc.zQ)(_))),(0,o.A)(jp.A,{},void 0,gh||(gh=(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Box 5k: Nov."))),(0,o.A)(qp.A,{align:"right"},void 0,(0,kc.zQ)(C)))))),(0,o.A)(no.Ay,{item:!0,sm:6,xs:12},void 0,(0,o.A)(Rp.A,{width:"100%"},void 0,vh||(vh=(0,o.A)(Lp.A,{},void 0,(0,o.A)(jp.A,{},void 0,(0,o.A)(qp.A,{},void 0,"Description"),(0,o.A)(qp.A,{align:"right"},void 0,"Amount")))),(0,o.A)(Bp.A,{},void 0,(0,o.A)(jp.A,{},void 0,Ah||(Ah=(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Box 3: Number of payment transactions."))),(0,o.A)(qp.A,{align:"right"},void 0,k)),(0,o.A)(jp.A,{},void 0,yh||(yh=(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Box 5b: Feb."))),(0,o.A)(qp.A,{align:"right"},void 0,(0,kc.zQ)(A))),(0,o.A)(jp.A,{},void 0,fh||(fh=(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Box 5d: Apr."))),(0,o.A)(qp.A,{align:"right"},void 0,(0,kc.zQ)(h))),(0,o.A)(jp.A,{},void 0,bh||(bh=(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Box 5f: Jun."))),(0,o.A)(qp.A,{align:"right"},void 0,(0,kc.zQ)(b))),(0,o.A)(jp.A,{},void 0,wh||(wh=(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Box 5h: Aug."))),(0,o.A)(qp.A,{align:"right"},void 0,(0,kc.zQ)(v))),(0,o.A)(jp.A,{},void 0,xh||(xh=(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Box 5j: Oct."))),(0,o.A)(qp.A,{align:"right"},void 0,(0,kc.zQ)(S))),(0,o.A)(jp.A,{},void 0,Ch||(Ch=(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Box 5l: Dec."))),(0,o.A)(qp.A,{align:"right"},void 0,(0,kc.zQ)(P))))))),kh||(kh=(0,o.A)("br",{})),(0,o.A)("strong",{style:{fontSize:"1.125em"}},void 0,"Instructions for Payee - 1099-K"),Sh||(Sh=(0,o.A)("p",{},void 0,"You have received this form because you have either (a) accepted payment cards for payments, or (b) received payments through a third party network that exceeded $20,000 in gross total reportable transactions and the aggregate number of those transactions exceeded 200 for the calendar year. Merchant acquirers and third party settlement organizations, as payment settlement entities (PSEs), must report the proceeds of payment card and third party network transactions made to you on Form 1099-K under Internal Revenue Code section 6050W. The PSE may have contracted with an electronic payment facilitator (EPF) or other third party payer to make payments to you.")),_h||(_h=(0,o.A)("p",{},void 0,"If you have questions about the amounts reported on this form, contact the FILER whose information is shown in the upper left corner on the front of this form. If you do not recognize the FILER shown in the upper left corner of the form, contact the PSE whose name and phone number are shown in the lower left corner of the form above your account number.")),Nh||(Nh=(0,o.A)("p",{},void 0,"See the separate instructions for your income tax return for using the information reported on this form.")),Ph||(Ph=(0,o.A)("p",{},void 0,"If the Form 1099-K is related to your business, see Pub. 334 for more information. If the Form 1099-K is related to your work as part of the gig economy, see ",(0,o.A)("a",{href:"https://www.irs.gov/businesses/gig-economy-tax-center",target:"_blank"},void 0,"www.IRS.gov/GigEconomy"),".")),Th||(Th=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Payee's taxpayer identification number (TIN)"),". For your protection, this form may show only the last four digits of your TIN (social security number (SSN), individual taxpayer identification number (ITIN), adoption taxpayer identification number (ATIN), or employer identification number (EIN)). However, the issuer has reported your complete TIN to the IRS.")),Fh||(Fh=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Account number"),". May show an account number or other unique number the PSE assigned to distinguish your account.")),Ih||(Ih=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Box 1a"),". Shows the aggregate gross amount of payment card/third party network transactions made to you through the PSE during the calendar year.")),Eh||(Eh=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Box 1b"),". Shows the aggregate gross amount of all reportable payment transactions made to you through the PSE during the calendar year where the card was not present at the time of the transaction or the card number was keyed into the terminal. Typically, this relates to online sales, phone sales, or catalogue sales. If the box for third party network is checked, or if these are third party network transactions, Card Not Present transactions will not be reported.")),Mh||(Mh=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Box 2"),". Shows the merchant category code used for payment card/third party network transactions (if available) reported on this form.")),Oh||(Oh=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Box 3"),". Shows the number of payment transactions (not including refund transactions) processed through the payment card/third party network.")),Dh||(Dh=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Box 4"),". Shows backup withholding. Generally, a payer must backup withhold if you did not furnish your TIN or you did not furnish the correct TIN to the payer. See Form W-9, Request for Taxpayer Identification Number and Certification, and Pub. 505. Include this amount on your income tax return as tax with
1held.")),Rh||(Rh=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Boxes 5a–5l"),". Shows the gross amount of payment card/third party network transactions made to you for each month of the calendar year.")),Lh||(Lh=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Boxes 6–8"),". Shows state and local income tax withheld from the payments.")),jh||(jh=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Future developments"),". For the latest information about developments related to Form 1099-K and its instructions, such as legislation enacted after they were published, go to ",(0,o.A)("a",{href:"https://www.irs.gov/forms-pubs/about-form-1099-k",target:"_blank"},void 0,"www.irs.gov/Form1099K"),".")),qh||(qh=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Free File"),". Go to ",(0,o.A)("a",{href:"https://www.irs.gov/filing/free-file-do-your-federal-taxes-for-free",target:"_blank"},void 0,"www.irs.gov/FreeFile")," to see if you qualify for no-cost online federal tax online federal tax preparation, e-filing, and direct deposit or payment options.")))))):Yp||(Yp=(0,o.A)(zh,{}))};try{Uh.displayName="TaxForm"}catch(e){}const $h=Uh,Wh=e=>{const{id:t}=(0,n.g)(),{data:i}=(0,$p.NC)(t);return(0,o.A)($h,{data:i})};try{Wh.displayName="TaxFormContainer"}catch(e){}const Gh=Wh;var Hh=i(41899),Yh=i(75260),Vh=i(49601),Qh=i(97320);const Zh=(e,t="/")=>{if(!e)return e;const i=String(e).trim();return i.toLowerCase().startsWith("javascript:")||/^([a-zA-Z][a-zA-Z\d+.-]*:|\/\/)/.test(i)?t:i.startsWith("/")?i:t};var Kh=i(59001);const Xh=({suppressPushNotificationDialog:e=!1})=>{const{openModal:t}=(0,a.useContext)(bt.A),{openDialog:i}=(0,a.useContext)(la.A),o=(0,x.u)("ADD_CC_MONEY_22750"),r=new URLSearchParams(window.location.search),n=Zh(r.get("auth_to")),s=(r.get("http_method")||"GET").toUpperCase();r.delete("Submit"),r.delete("http_method"),r.delete("auth_to");const l={LeaveFeedbackModalContainer:Yh.A},d=e=>{const t=e?e.detail.destination:n;i({component:Hh.A,zIndex:1e6,props:{navMethod:()=>{if("GET"===s)return void(window.location.href=t);const e=document.createElement("form");if(e.method="POST",e.action=t,"POST"!==s){const t=document.createElement("input");t.type="hidden",t.name="_method",t.value=s,e.appendChild(t)}r.forEach((t,i)=>{const o=document.createElement("input");o.type="hidden",o.name=i,o.value=t,e.appendChild(o)}),document.body.appendChild(e),e.submit()}}})},c=[["openTributeModal",e=>e.detail.advisorLogin!==e.detail.currentUserLogin&&(i({component:da.A,props:{advisorLogin:e.detail.advisorLogin,amount:e.detail.amount,videoConferenceId:e.detail.videoConferenceId}}),!0)],["openSecondaryAuthDialog",d],["openBuyGoodyBag",e=>{const a=/^\/cam(?:\/|$)/.test(window.location.pathname);o?i({component:Qh.A,props:{goodyBagId:e.detail.goodyBagId,advisorLogin:e.detail.advisorLogin,openInNewTab:a},compactPanel:a}):t({component:Vh.A,props:{goodyBagId:e.detail.goodyBagId,advisorLogin:e.detail.advisorLogin}})}],["openPlusModal",e=>{const i=l[e.detail.openPlusModal];i&&t({component:i,props:e.detail})}]];return(0,a.useEffect)(()=>{if(window.currentUserId){"default"===(0,Kh.L9)()&&setTimeout(()=>{(()=>{const e=localStorage.getItem("pn-remind-later");if(!e)return!0;if("never"!==e){const t=new Date(parseInt(e));if(new Date>t)return!0}})()},2e3)}return c.forEach(([e,t])=>{window.addEventListener(e,t)}),n&&d(),()=>{c.forEach(([e,t])=>{window.removeEventListener(e,t)})}},[]),null};Xh.propTypes={suppressPushNotificationDialog:$c().bool};const Jh=Xh;var eg=i(62884);const tg=()=>{const e=(0,x.u)("REFETCH_ON_FOCUS_RECONNECT_26250");return(0,a.useEffect)(()=>{if(e)return(0,h.$k)(eg.M_.dispatch)},[e]),null};var ig,og,ag,rg,ng,sg,lg;const dg=()=>(0,o.A)(a.Fragment,{},void 0,(0,o.A)("audio",{id:"callAlertSound",style:{display:"none"}},void 0,ig||(ig=(0,o.A)("source",{src:"/niteflirt/audios/callalert.mp3",type:"audio/mpeg"})),og||(og=(0,o.A)("source",{src:"/niteflirt/audios/callalert.ogg",type:"audio/ogg"})),ag||(ag=(0,o.A)("source",{src:"/niteflirt/audios/callalert.wav",type:"audio/wav"}))),(0,o.A)("audio",{id:"callFailSound",style:{display:"none"}},void 0,rg||(rg=(0,o.A)("source",{src:"/niteflirt/audios/callfail.mp3",type:"audio/mpeg"})),ng||(ng=(0,o.A)("source",{src:"/niteflirt/audios/callfail.ogg",type:"audio/ogg"})),sg||(sg=(0,o.A)("source",{src:"/niteflirt/audios/callfail.wav",type:"audio/wav"}))),(0,o.A)("audio",{id:"camRingSound",style:{display:"none"}},void 0,lg||(lg=(0,o.A)("source",{src:"/niteflirt/audios/camring2.mp3",type:"audio/mpeg"}))));try{dg.displayName="SoundEffects"}catch(e){}const cg=dg;var ug=i(43167),mg=i(75113);const pg=()=>{const{hash:e}=(0,n.zy)();return(0,a.useEffect)(()=>{e&&setTimeout(()=>{const t=e.replace("#",""),i=document.getElementById(t);i&&i.scrollIntoView({behavior:"smooth"})},100)},[e]),null};var hg=i(59079);const gg=["to","children"],vg=e=>{let{to:t,children:i}=e,o=(0,hg.A)(e,gg);return a.createElement(s.N_,(0,De.A)({to:`#${t}`,onClick:e=>{const i=document.getElementById(t);i&&(e.preventDefault(),i.scrollIntoView({behavior:"smooth"}),window.history.replaceState(null,"",`#${t}`))}},o),i)};try{vg.displayName="AnchorLink"}catch(e){}const Ag=vg;var yg,fg,bg,wg,xg,Cg,kg,Sg,_g,Ng,Pg,Tg,Fg,Ig,Eg,Mg,Og,Dg,Rg,Lg,jg,qg,Bg,zg,Ug,$g,Wg,Gg,Hg,Yg,Vg,Qg,Zg,Kg,Xg,Jg,ev,tv,iv,ov,av,rv,nv,sv,lv,dv,cv,uv,mv,pv,hv,gv,vv,Av,yv,fv,bv,wv,xv,Cv,kv,Sv,_v,Nv,Pv,Tv,Fv,Iv,Ev,Mv,Ov,Dv,Rv,Lv,jv,qv,Bv,zv,Uv,$v,Wv,Gv,Hv,Yv,Vv,Qv,Zv,Kv,Xv,Jv,eA,tA,iA,oA,aA,rA,nA,sA,lA,dA,cA,uA,mA,pA,hA,gA,vA,AA,yA,fA,bA,wA,xA,CA,kA,SA,_A,NA,PA,TA,FA,IA,EA,MA,OA,DA,RA,LA,jA,qA,BA,zA,UA,$A,WA,GA,HA,YA,VA,QA,ZA,KA,XA,JA,ey,ty,iy,oy,ay,ry,ny,sy,ly,dy,cy,uy,my;const py=()=>a.createElement(a.Fragment,null,yg||(yg=(0,o.A)(pg,{})),(0,o.A)("div",{className:"text-legal"},void 0,fg||(fg=(0,o.A)("h2",{},void 0,"NiteFlirt Terms of Service for USERS, MEMBERS & FLIRTS")),bg||(bg=(0,o.A)("p",{},void 0,"Last Updated: July 11, 2026")),wg||(wg=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,'IMPORTANT: By directing your browser to this website, or otherwise accessing the pages of this website, you accept and agree to these Terms of Service. You manifest your agreement to these Terms of Service by any act demonstrating your assent, including without limitation by clicking any button containing the words "Enter" or "I agree." If you do not agree to be bound by these Terms of Service and the other agreements/policies posted on this website, you must exit this website immediately. You may not enter this website, and you may 
1not use this website or our services, or any portion thereof.'))),xg||(xg=(0,o.A)("p",{},void 0,"This is a legal agreement between you and NF Entertainment, LLC d.b.a. NiteFlirt. For the purposes of these Terms of Service, the terms ",(0,o.A)("strong",{},void 0,'"NiteFlirt," "we," "us"')," or ",(0,o.A)("strong",{},void 0,'"our"')," refer to NF Entertainment, LLC, a Delaware limited liability company, as well as our affiliates, subsidiaries, parent companies, managers, officers, directors, shareholders, members, owners, employees and agents. The term ",(0,o.A)("strong",{},void 0,'"you"')," or ",(0,o.A)("strong",{},void 0,'"your"')," refers to you, the individual that is entering and/or accessing, for any purpose, any Site (defined below), whether as a visitor/user to the public area of a Site or whether as a Member/subscriber or Flirt to the non-public offerings of the Site (capitalized terms as defined below).")),Cg||(Cg=(0,o.A)("p",{},void 0,"The policies, terms, and conditions below limit NiteFlirt's liability and obligations to you and allow NiteFlirt to change, suspend or terminate access to and use of this website and our services. The ",(0,o.A)(s.N_,{to:"/help/privacy_policy"},void 0,"Privacy Policy"),", ",(0,o.A)(s.N_,{to:"/help/complaints"},void 0,"Complaints Policy"),", ",(0,o.A)(s.N_,{to:"/help/contentremoval"},void 0,"Content Removal Policy"),", ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/articles/212830688-NiteFlirt-Rules",target:"_blank",rel:"noopener noreferrer"},void 0,"NiteFlirt Rules"),", and ",(0,o.A)(s.N_,{to:"/help/affiliate_agreement"},void 0,"Affiliate Agreement")," also posted on this website provide additional terms and information. These Terms of Service, along with the above listed policies and rules collectively make up the ",(0,o.A)("strong",{},void 0,'"NiteFlirt User Agreement"'),' which governs your access to and use of our products and services. You may not access this website or use our services if you do not consent to the NiteFlirt User Agreement. You understand and agree that the NiteFlirt User Agreement is intended to be governed by the Electronic Signatures in Global and National Commerce Act (the "E-Sign Act").')),kg||(kg=(0,o.A)("p",{},void 0,"Even though we do not sell your information, you agree that we can share your information with third party service providers (e.g. credit card processors, companies that provide analytic information, etc.) as necessary for our operations and the provision of the Site and Services.")),Sg||(Sg=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"WARNING: By accessing this website or using our services, you represent and warrant that you are at least 18 or 21 years of age (depending on the definition of majority in your jurisdiction). You assert that you have the legal capacity to access adult websites and adult services. ",(0,o.A)("u",{},void 0,"If you are not of the age of majority in your jurisdiction, you must immediately exit this website and may not use or access this website or any of the services provided through this website.")))),_g||(_g=(0,o.A)("p",{},void 0,"The Site (as defined below) is an online platform providing interaction between Members and Flirts via audio, video, interactive, and live content which may include, at the providing Flirt or Member's election, content of an adult, sexual nature.")),Ng||(Ng=(0,o.A)("p",{},void 0,"If you are of the age of majority, you may access this website as a visitor/user or as a Member or Flirt. If we accept your Member Sign-up Form, you will become a ",(0,o.A)("strong",{},void 0,'"Member"')," and will have additional access to the Site (defined below) and related services pursuant to the NiteFlirt User Agreement. A ",(0,o.A)("strong",{},void 0,'"Flirt"')," is a Member that creates a listing and performs/entertains/interacts with other Members through providing Flirt Services (defined below). To make it easier, we will refer to the NiteFlirt.com website, Mail (any mail you send from your Member account to another Member or Flirt), phone services (including services available through 1-800-TO-FLIRT and other numbers that NiteFlirt maintains for access by Members), cam services (any real time 1:1 webcam session between a Flirt and a Member), Goodies (digital photographs, audiovisual materials, and other digital content), Chat (text interaction you send from your Member account to another Member), Feeds (digital content you post for other Members to access for free and/or paid subscription), and any content therein provided by NiteFlirt as the ",(0,o.A)("strong",{},void 0,'"Site."')," We will refer to any information, entertainment services, and other products or services you may receive from Flirts or their listings on the Site as ",(0,o.A)("strong",{},void 0,'"Flirt Services."')," Members may solicit or receive Flirt Services from Flirts. In addition, Flirts may sell to other Members - through Goodies provided as part of the Site - written text, digital photographs, audiovisual materials, and other digital content which will be referred to as ",(0,o.A)("strong",{},void 0,'"Content."')," Not all Flirts participate in all types of Flirt Services (for example, not all Flirts offer cam services), and not all Flirts sell all types of Content.")),Pg||(Pg=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"By directing your browser to the Site, using the Site or Flirt Services, or otherwise engaging in any of the services we offer, you accept and agree to these Terms of Service and the NiteFlirt User Agreement. Your use of the Site and/or Flirt Services demonstrates your acknowledgement that you have read, understand and agree to each of the following provisions."))),Tg||(Tg=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead"},void 0,"1. Future Modification of the NiteFlirt User Agreement."))),Fg||(Fg=(0,o.A)("p",{},void 0,"NiteFlirt may modify the NiteFlirt User Agreement, or any part thereof, or suspend or terminate your use of the Site, at any time with or without notice to you. If any modification to the NiteFlirt User Agreement is not acceptable to you, your only recourse is to cease using the Site and Flirt Services. This includes, but is not limited to, changes to commission and connection fees. By continuing to use the Site or any Flirt Services following our posting of new Terms of Service or other policies on the Site, you accept and agree to be bound by the new NiteFlirt User Agreement. YOU ACKNOWLEDGE AND AGREE THAT IT IS YOUR RESPONSIBILITY TO PERIODICALLY REVIEW THE NITEFLIRT USER AGREEMENT. YOUR CONTINUED ACCESS TO/USE OF A SITE AND/OR ANY FLIRT SERVICES AFTER SUCH MODIFICATION WILL CONSTITUTE ACKNOWLEDGMENT AND ACCEPTANCE OF THE MODIFIED TERMS. Likewise, NiteFlirt reserves the right in its sole discretion to modify or discontinue the Site, access to certain Flirts or Flirt Services, at any time and for any reason or no reason, with or without notice.")),Ig||(Ig=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead"},void 0,"2. You Must be 18+/Age of Majority."))),Eg||(Eg=(0,o.A)("p",{},void 0,"When accessing this Site as a Member (defined below), you understand that you may see and/or hear communication and conduct, solicited and unsolicited, containing graphic depictions of nudity, exposed genitals and adult(s) engaged in explicit sexual activity. By accessing and/or using the Site and/or Flirt Services, you represent and warrant that you are at least eighteen (18) years of age, or the age of majority in your jurisdiction if your jurisdiction requires that you be older than 18. By using the Site, you state that you have the right, authority, and capacity to enter into this NiteFlirt User Agreement and to abide by all of the terms within the NiteFlirt User Agreement. If you are not of the age of majority in your jurisdiction, you must exit this Site immediately and may not use or access the Site, or record, screenshot, screengrab, screen record, or reproduce any content/services offered within it.")),Mg||(Mg=(0,o.A)("p",{},void 0,"Your acceptance of these Terms of Service and continued access to this Site demonstrates your full, free, and voluntary consent to engage in and/
1or view explicit adult material. This means that you have not been coerced, peer-pressured, or threatened in any way to provide said consent. Your engagement with this Site must be without duress/coercion and without impairment of alcohol or drugs, whether legal or illegal.")),Og||(Og=(0,o.A)("p",{},void 0,"You may be asked to verify your birth date on an age verification form. Depending on your jurisdiction, you may be asked to provide other proof of age or other identifying criteria, to us or to a third-party/authority, on the age verification form or other age-verifying platform/process as required by your jurisdiction, as a condition of entry onto the Site. You agree not to bypass any security and/or access feature on any of the Sites. The use of a VPN is generally allowed but not to bypass your jurisdiction's laws or otherwise violate any law. Additionally, we do not assume any responsibility or liability for any misrepresentations regarding your assertion that you are of the age of majority in your jurisdiction. By using the Site or Flirt Services, you further agree to indemnify us fully and unconditionally, including but not limited to any attorney fees and costs incurred by us, in connection with your misrepresentation of your age.")),Dg||(Dg=(0,o.A)("p",{},void 0,"You understand that Flirt Services, Content and Goodies presented on and through this Site are adult services and you must have a legal right to access adult material to use the Site and/or participate in Flirt Services. You understand and agree that you are voluntarily choosing to use this Site and/or Flirt Services for your own personal and private enjoyment. You represent that you are not prohibited by any laws or court orders from accessing the Site or Flirt Services. You further represent that you are not required to register as a sex offender with any government entity.")),Rg||(Rg=(0,o.A)("p",{},void 0,"NiteFlirt does not conduct criminal background checks on or screenings of its Members or users but reserves the right to conduct any criminal background check or screening as it or any government authority deems appropriate at any time with or without notice. You shall not use the Flirt Services, Content, Goodies, or any other portion of this Site in any manner which is illegal under the law applying to you, nor shall you request, offer, agree to, or engage in any activity involving or simulating child pornography, bestiality, necrophilia, child molestation, rape, urination, defecation, public sex acts, or any other obscene sex acts, or unlawful prostitution.")),Lg||(Lg=(0,o.A)("p",{},void 0,"By using the Site and/or Flirt Services, you represent and warrant that you are familiar with your jurisdiction's laws affecting your right to access sexually explicit material and/or utilize adult related services. Using the Site may be prohibited or restricted in certain countries. If you use the Site outside of the United States, you are responsible for complying with the laws and regulations of the territory from which you access or use the Site or Flirt Services. You shall not use the Site or become a Member if you are located or reside in a country (i) in which use or participation is prohibited by law, decree, regulation, treaty or administrative act or (ii) which is prohibited from entering into trade relations with the United States or its citizens. Such countries include, without limitation, Belarus, Myanmar (Burma), Cuba, Iran, Iraq, Russia, North Korea, Sudan, and Syria. In addition, NiteFlirt does not allow organizations, businesses, or individuals on the Specially Designated Nationals list (SDN) to use the Site.")),jg||(jg=(0,o.A)("p",{},void 0,"WE RESERVE THE RIGHT to remove your access to the Site at any time and for any reason, including but not limited to the implementation of state, federal, or other legal ban(s) or law(s) affecting your jurisdiction's access to sexually explicit content, with or without prior or contemporaneous notice to you.")),qg||(qg=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead"},void 0,"3. No Child Sexual Abuse Materials (CSAM), Prostitution, Human Trafficking, Non-Consensual Content or In-Person Meetings Permitted or Tolerated."))),Bg||(Bg=(0,o.A)("p",{},void 0,"You understand that all individuals engaged by us or otherwise affiliated with the Site, Flirt Services and Content are at least eighteen (18) years of age. Our Flirts have been approved to perform Flirt Services only after completing a robust process of verifying their age and identity. This includes review of their government-issued picture identification and steps to ensure their government-issued picture identification belongs to them. All performers and any other individual appearing on the Site, in any Flirt Service(s) or in any Content have reached the age of majority and are legally and consensually participating.")),zg||(zg=(0,o.A)("p",{},void 0,"If you identify any images, real or simulated, depicting minors engaged in sexual activity/abuse within any Content or Flirt Services (including without limitation broadcast during cam sessions), or observe any other form of illegal CSAM, pornography or acts, in any context, please report the material to us immediately by either emailing us at ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]")," or by filling out our ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"Support Form"),' (select "Play Fair Inquiry"). Include with your report any appropriate evidence, including the name of the Flirt/Member, URL, and date and time of identification. All reports will immediately be investigated and the appropriate action will be taken. We enthusiastically cooperate with all applicable law-enforcement agencies investigating the use and/or dissemination of child pornography and other forms of illegal pornography. If you suspect other outside websites are participating in unlawful activities involving minors, please report them to ',(0,o.A)("a",{href:"https://www.asacp.org",target:"_blank",rel:"noopener noreferrer"},void 0,"www.asacp.org"),".")),Ug||(Ug=(0,o.A)("p",{},void 0,"We also forbid the Site or Flirt Services from being used in the trafficking of humans. We utilize third party content moderation technology in addition to human moderation to actively review and monitor Content, including text, audio, images, and videos, as well as material streamed during cam sessions, in our bid to help eliminate cases of trafficking or suspected trafficking.")),$g||($g=(0,o.A)("p",{},void 0,"For the purpose of these Terms of Service, ",(0,o.A)("strong",{},void 0,'"CSAM"')," (Child Sexual Abuse Materials) includes, but is not limited to (i) any materials depicting an individual who has not yet attained the age of majority (18 or 21, depending on jurisdiction) in a state of undress, or engaged in any provocative, suggestive or other acts of a sexual nature; (ii) any materials that simulate the foregoing, for example, tangible recreations (e.g., dolls, toys), animated films or images, visual images, video, or livestream content created by AI (defined below), and/or adults made to look like children or suggesting they are below the age of majority; and (iii) discussion of child pornography, child exploitation, coercion and/
1or trafficking, or your own or another's sexual activity as a minor. Possession and distribution of CSAM and the exploitation of children are serious crimes. Members and Flirts are strictly prohibited from using the Site or Flirt Services to distribute, access, solicit, or discuss CSAM or engage in any conduct or discussion exploitative of a minor, in any context, including by way of role play.")),Wg||(Wg=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"IF YOU ARE SEEKING OR HAVE AN INTEREST IN ANY TYPE OF PEDOPHILIC OR CHILD ABUSE CONTENT, INCLUDING AS ROLE PLAY, YOU MUST IMMEDIATELY LEAVE THIS SITE AND DISENGAGE FROM FLIRT SERVICES. ANY INTEREST YOU CONVEY IN THE ABOVE, EVEN BY DISCUSSION ALONE, WILL RESULT IN IMMEDIATE TERMINATION OF YOUR MEMBER ACCOUNT AND PROMPT BANNING FROM THE SITE AND FUTURE FLIRT SERVICES. IN ADDITION, YOU WILL BE REPORTED TO THE APPROPRIATE GOVERNMENTAL AGENCIES AND/OR LAW ENFORCEMENT AND WILL BE DEALT WITH IN THE HARSHEST MANNER POSSIBLE."))),Gg||(Gg=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"rulesmembers"},void 0,"4. Rules and Guidelines For Members"))),Hg||(Hg=(0,o.A)("p",{},void 0,"By accessing and using the Site, by becoming a Member, by using, purchasing or providing Flirt Services, or by otherwise using any telephone communications service, cam or video streaming service, message board, newsgroup, or other interactive service available on or through the Site, you expressly agree that you will not make or publish comments, messages, links, code or other information that:")),Yg||(Yg=(0,o.A)("ol",{type:"a"},void 0,(0,o.A)("li",{},void 0,"is, or could reasonably be deemed solely by us to be, unlawful, threatening, abusive, harassing, defamatory, deceptive, fraudulent, tortious, invasive of another's privacy, or including graphic descriptions of unlawful or violent content;"),(0,o.A)("li",{},void 0,"victimizes, harasses, degrades, doxes, disparages, defames, or intimidates an individual or group of individuals, including but not limited to on the basis of religion, gender, sexual orientation, race, ethnicity, age, or disability;"),(0,o.A)("li",{},void 0,"solicits from any Flirt or any other user/Member any personal or private information, including without limitation, real names, addresses, telephone numbers, email addresses, social media accounts, cash app information, banking information, usernames or passwords, or otherwise seeks information for the arrangement of any in-person encounters;"),(0,o.A)("li",{},void 0,"violates any law (including without limitation laws related to privacy, intellectual property, defamation, obscenity, prostitution, human trafficking, pornography, publicity), nor will you encourage any other user, Member or third party to do so;"),(0,o.A)("li",{},void 0,"infringes on any patent, trademark, trade secret, copyright, right of publicity, intellectual property, name, image and likeness or other proprietary right of us, any of our Members, Flirts, or any other third party;"),(0,o.A)("li",{},void 0,"consists of unsolicited advertising, junk or bulk email, chain letters, any other form of unauthorized solicitation, or any form of lottery or gambling;"),(0,o.A)("li",{},void 0,"contains any form of malicious code, files, or programs that are designed or intended to disrupt, damage, or limit the functionality of any software, hardware, or telecommunications equipment or otherwise causes damage, or allows you to obtain unauthorized access to any data or other information of us or any third party;"),(0,o.A)("li",{},void 0,"breaches the security of, compromises or otherwise attempts to gain unauthorized access to secured, protected or inaccessible areas of the Site, or attempts to gain access to our network or server;"),(0,o.A)("li",{},void 0,'impersonates us, or any Member, Flirt or any other person or entity, including any of our employees or representatives, or uses Artificial Intelligence ("AI") or other technology to do so.'))),Vg||(Vg=(0,o.A)("p",{},void 0,"By participating in cam session(s) with Flirt(s), in addition to the above rules, you also expressly agree that you will not transmit video, images, audio, comments, messages, links, code or other information that:")),Qg||(Qg=(0,o.A)("ol",{type:"a"},void 0,(0,o.A)("li",{},void 0,"depicts, broadcasts or impersonates any minor below the age of majority, or depicts any adult who has not consented to the acts in which they are engaging or who has not consented to the dissemination of his/her/their images and likenesses in the form depicted;"),(0,o.A)("li",{},void 0,"offers to, seeks to, or actually engages in underage roleplay, often referred to as 'age play,' where one or more adult individuals roleplay as a minor;"),(0,o.A)("li",{}
1,void 0,"offers to share, seeks to receive, or actually shares content containing minors, whether through the Site or otherwise;"),(0,o.A)("li",{},void 0,"depicts, performs or transmits material that can be considered offensive, harassing, or illegal, or any material that infringes or violates another person's rights (including intellectual property rights, and rights of privacy and publicity). NiteFlirt reserves the right to determine, at its sole discretion, what constitutes offensive or harassing, and where that has occurred; and may, also at its sole discretion, partially or completely deny service to any infringing Member."),(0,o.A)("li",{},void 0,"depicts, performs or simulates obscene acts, including without limitation, bestiality, necrophilia, child molestation, child pornography, rape, urination, defecation, public sex acts, or any other obscene sex acts or illegal activity, including without limitation solicitation of prostitution and human trafficking, or communicates to any Flirt, or leads them to believe, that you participate in or simulate such obscene acts."),(0,o.A)("li",{},void 0,"uses false identities or impersonates any other person or uses a name, image, or likeness that you are not legally and expressly authorized to use."),(0,o.A)("li",{},void 0,"solicits any Flirt or other Member to meet with them in person, or otherwise seeks personal contact information of any Flirt in anticipation of in-person meeting."))),Zg||(Zg=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Further Guidelines for all Members"),":")),Kg||(Kg=(0,o.A)("p",{},void 0,"You represent and warrant that all information that you submit upon Member registration, including billing and payment information, is accurate and truthful and that you will promptly update any information provided by you that subsequently becomes inaccurate, misleading, or false.")),Xg||(Xg=(0,o.A)("p",{},void 0,"You acknowledge and agree that when asked to choose a username, you will not choose a name which may falsely represent you as somebody else or a name which may otherwise infringe on the rights of a third party. We reserve the right to disallow the use of usernames that we, in our sole discretion, deem inappropriate, including names that we deem could be harmful, threatening, abusive, inflammatory, intimidating, violent or encouraging of violence to people or animals, invasive of another's privacy, or racially, ethnically, or otherwise objectionable.")),Jg||(Jg=(0,o.A)("p",{},void 0,"You acknowledge and agree that you will not use any form of AI to create derivative works from any material appearing on the Site or by using any Flirt Service, Goodies or Content purchased, observed, or heard by you, no matter how small the use is. This includes without limitation, making or using any form of recording or visual depiction of any Flirt, or otherwise using/disseminating any Member's or Flirt's name, image, voice, or likeness, modified or unmodified, or creating any form of deepfake. We do not authorize any use of our Site, Flirt Services, Goodies or Content, or any portion thereof, for AI derivative works, either generative or otherwise. Violators of this provision will be immediately terminated as a user/Member and could be prosecuted to the fullest extent available under applicable law. This includes civil and possibly criminal liability. We will likewise enthusiastically cooperate with any and all governmental authorities to see to this goal. AI scraping is also strictly prohibited.")),ev||(ev=(0,o.A)("p",{},void 0,"You acknowledge and agree that you will not defame, dox, disturb, stalk, excessively contact or harass (either sexually or in any other manner) any Flirt appearing on the Site, or any other Member or third party.")),tv||(tv=(0,o.A)("p",{},void 0,"NiteFlirt does not permit any Member or Flirt to disclose contact information to any other Member or Flirt. NiteFlirt considers contact information to be any information that would allow a person to identify, locate or contact you such as, but not limited to, your phone number, email address, usernames for other services, location, IP address, or physical address. In addition, it is not permitted to provide Flirts or other Members with information, such as links to third-party services, to circumvent or attempt to circumvent the Site's payment system. If you do, you do so at your own risk and risk the termination of your NiteFlirt Member or Flirt account and open yourself up to litigation, investigation and/or other  penalties that are beyond NiteFlirt's control. NiteFlirt does not permit Members or Flirts to use the Site or Flirt Services to solicit other Flirts or Members to meet with them in person. One reason we forbid in-
1person interactions is clearly for safety concerns (for either, both, or all parties concerned), but it should also be noted that we are unable to assist with any such interaction even if, by way of example and without limitation, we are supplied with alleged screenshots or other digital alleged evidence of wrongdoing, as we have no way to verify the accuracy of such screenshots or purported evidence.")),iv||(iv=(0,o.A)("p",{},void 0,"NiteFlirt maintains the right, but not the obligation, to review, redact, remove, or disable any Member or Flirt's account that we, in our sole discretion, deem to conflict with the guidelines set forth in the NiteFlirt User Agreement, as may be updated from time to time, or for any other reason, with or without prior notice to you.",(0,o.A)("br",{}),(0,o.A)("strong",{},void 0,"*In addition to the rules and guidelines in this section, all Flirts must agree to the ",(0,o.A)(Ag,{to:"additionalrulesFlirts"},void 0,"'Rules and Guidelines for Flirts'")," section, provided further below within these Terms of Service."))),ov||(ov=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead"},void 0,"5. Your Member Account is for Personal Use Only."))),av||(av=(0,o.A)("p",{},void 0,"To create a Member account, you may be asked to provide certain registration details, age verification, payment information and other information. It is a condition of your use of the Site that all information you provide is and will be correct, current, and complete. If we believe the information you provide is not correct, current, or complete, we have the right, but not the obligation, to refuse you access to the Site or any portion thereof, Flirt Services, and/or other offerings, and to terminate or suspend your access at any time with or without any notice to you. To learn how we manage your information and to delete your information, please review our ",(0,o.A)(s.N_,{to:"/help/privacy_policy"},void 0,"Privacy Policy"),".")),rv||(rv=(0,o.A)("p",{},void 0,"Your membership is for your sole personal use, and you are solely responsible for all use made of the Site and Flirt Services under your Member account information and password. We do not allow the sharing of Member accounts. You agree to maintain the confidentiality of your password and Member account information. You represent and warrant that you will not authorize others to use your account, and you may 
1not assign or otherwise transfer your account to any other person or entity. You further represent and warrant that you will not share or disclose your unique username and password to any other person whatsoever, or otherwise allow any other person to participate in, watch, listen, view, record or distribute any Flirt Services, Goodies or Content, including especially any other person who is below the age of majority in their jurisdiction. You agree to (a) immediately notify us of any unauthorized use of your username and/or password or any other breach of security, (b) immediately change your username and password if you suspect unauthorized use/breach of security, and (c) ensure that you exit from your Member account at the end of each session.")),nv||(nv=(0,o.A)("p",{},void 0,"PARENTS/GUARDIANS/PERSONS SHARING DEVICE(S) WITH MINORS: Minors are not allowed to use or access the Site or be exposed in any way to Flirt Services, Goodies or Content, even with parental permission or supervision. You understand and acknowledge that it is your responsibility to prevent any minor in your care from accessing the Site, Flirt Services, Goodies or Content, and will take responsible measures to prevent any minor from doing so. We strongly recommend that you implement parental control protections, such as computer hardware, software, or filtering services, which may help to limit any minor's access to the Site and your Member account. This is your sole responsibility; we are not responsible and will not be liable for any exposure of the Site or Flirt Services to any minor based on your failure to employ proper security measures.")),sv||(sv=(0,o.A)("p",{},void 0,"Your Member account and Member access to the Site may not be assigned, transferred, or sold to a third party. We disclaim any and all liability arising from fraudulent entry and use of your Member account and/or the Site. If you fraudulently obtain access to another Member or Flirt's account, or if another user fraudulently obtains access to your Member account, we may terminate their/your membership immediately and take all necessary and appropriate actions under applicable federal, state, local and international law.")),lv||(lv=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead"},void 0,"6. Our Intellectual Property Rights and Your Limited License."))),dv||(dv=(0,o.A)("p",{},void 0,"Subject to the NiteFlirt User Agreement and in consideration of your personal use of the Site, we grant all Members a limited, nonexclusive, nontransferable personal license to access and use the Site, Flirt Services, Goodies and Content. Users are granted a limited, nonexclusive, nontransferable personal license to access and use the Site. We will not and do not provide or grant a commercial license. The provided license is a single copy license allowing you to participate in Flirt Services and view Content. All other uses are strictly prohibited. As a user or Member, you agree not to sell, resell, reproduce, duplicate, distribute, copy or use for any commercial purposes any portion of the Site, Flirt Services (including cam services) or Content beyond these limited rights granted to you. All users and Members (other than Flirts) are prohibited from using the Site, Flirt Services or Content to generate revenue, increase traffic, or receive any other benefit of any kind. You are not allowed to take audio recordings, screenshots, screengrabs or screen recordings of the Site, Flirt Services, Goodies or Content, and your doing so constitutes a material breach of the NiteFlirt User Agreement which terminates your limited license and may lead to suspension/termination of your Member account/Site access and may result in civil and possibly criminal prosecution.")),cv||(cv=(0,o.A)("p",{},void 0,"NiteFlirt shall own all rights, titles, and interests in the Site, and to the extent described in the section entitled ",(0,o.A)(Ag,{to:"additionalrulesFlirts"},void 0,"'Rules and Guidelines for Flirts'")," and ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/articles/212830688-NiteFlirt-Rules",target:"_blank",rel:"noopener noreferrer"},void 0,"NiteFlirt Rules"),", in Flirt Services and Content. No copyrights, patent rights, trademarks, or other licenses are conferred herein by NiteFlirt, either expressly or by implication. You understand and agree that: (i) you will have no right, title, and interest to any Member username in connection with your use of the Site or Flirt Services; and (ii) Member usernames may be recycled by NiteFlirt to other Members or Flirts of NiteFlirt if you are not actively using them or your account has been terminated.")),uv||(uv=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead"},void 0,"7. Your Actions Are Your Sole Responsibility"))),mv||(mv=(0,o.A)("p",{},void 0,"You understand and agree that you are solely responsible for, and will exercise caution, discretion, common sense, and good judgment in, using the Site and Flirt Services. While NiteFlirt reserves the right to review interactions between Members and Flirts, NiteFlirt assumes no responsibility for policing its Members in any way.")),pv||(pv=(0,o.A)("p",{},void 0,"You understand that you use Flirt Services, and consult with Flirts, at your own risk. You must use your judgment to determine whether to initiate, receive and/or discontinue use of the Flirt Services. Members who initiate, receive and/or discontinue use of the Flirt Services do so entirely at their own risk, and NiteFlirt bears no responsibility in this regard. However, NiteFlirt reserves the right to contact Members and review account activity without reveal
1ing its identity, in order to evaluate compliance with the rules and policies set forth in the NiteFlirt User Agreement and to take other action as set forth in these Terms of Service and Privacy Policy.")),hv||(hv=(0,o.A)("p",{},void 0,"You also understand that in engaging in Flirt Services, you agree to limit the personal information you share with Flirts, keeping in mind we cannot control the use of such information by those with whom you share your information. We recommend that you consider all information and/or material you choose to share with Flirt(s), whether verbally, visually in cam sessions, or through text, should be considered public information.")),gv||(gv=(0,o.A)("p",{},void 0,"Outside of age verification discussed elsewhere in these Terms of Service, NiteFlirt does not itself provide any information, entertainment services or other products or services, nor verify, guarantee, or make any representations regarding the identity or qualifications of any user, Member or Flirt. Further, NiteFlirt does not make editorial or managerial decisions concerning Flirt Services and Content, sexually explicit or otherwise, except that NiteFlirt reserves its right to act as specified in Section 512 of Title 17 and Section 230(c)(2)(A) of Title 47 of the United States Code and to determine at any time, in its sole discretion, whether and to what extent to do so.")),vv||(vv=(0,o.A)("p",{},void 0,"NiteFlirt will not be held responsible for any Member or Flirt's failure to comply with laws or regulations concerning the content of listings or material on the Site or disseminated in Flirt Services, Goodies or Content. Instead, NiteFlirt acts as a technology service that allows Members to share information, entertainment services, or other products or services among themselves. Although NiteFlirt helps its Members connect with each other and with Flirts, and (other than as stated directly below and elsewhere in the NiteFlirt User Agreement) it does not routinely monitor the information exchanged. As a result, NiteFlirt does not control, nor is responsible for, the accuracy, safety, quality, appropriateness, legality, or applicability of anything said, written, displayed, or transmitted by Members or Flirts, including without limitation any information contained in Flirt listings or made available through this Site or Flirt Services.")),Av||(Av=(0,o.A)("p",{},void 0,"As a caveat to the above, NiteFlirt does utilize third party content moderation technology in addition to human moderation in order to monitor 1:1 cam sessions between Members and Flirts, including third party monitoring of text, audio, images and video transmitted therein. Cam sessions are monitored only to the extent necessary to ensure cam session participants comply with these Terms of Service, the NiteFlirt Rules, and applicable laws. Any violative session including without limitation, a cam session that transmits harmful, unlawful, offensive, or otherwise objectionable material will be immediately terminated. The consequences to Members of transmitting or attempting to transmit material that violates the NiteFlirt User Agreement may include, in our sole discretion, the issuance of a warning, termination of your Member account, and/or banning you from using the Site. If any cam session involves illegal activity or the depiction of a minor we will report the situation to the relevant authorities, as appropriate. Note that as a provider of third-party content, we are permitted to moderate cam sessions in this fashion without being responsible for material transmitted or legally liable for our moderation activities. We expressly waive any and all such liability. To appeal a decision involving the moderation or removal of your cam session(s), or for inquiries related to content moderation or removal, you may contact us at ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"),".")),yv||(yv=(0,o.A)("p",{},void 0,"The Site is not intended for use as a payment service to exchange physical goods. NiteFlirt is not responsible for use or exchange of any information, files or goods between Members (which by definition includes Flirts
1). You are solely responsible for, and will exercise caution, discretion, common sense, and judgment in, using the Site and Flirt Services, in evaluating the qualifications of, and statements made by, Members and Flirts in listings or through the Member feedback system, and in disclosing personal information to other Members and Flirts.")),fv||(fv=(0,o.A)("p",{},void 0,"There may be links to websites other than NiteFlirt posted on the Site. NiteFlirt neither controls such websites nor endorses any of the material on any such websites or any association with their operators. You must exercise caution when clicking on any third-party or affiliate advertisement or link. Accessing a linked third party's website subjects you to the third party's terms and conditions, privacy policy, and any other policy used by that third party in operating the third party site and/or providing goods/services. We are not responsible for your failure to review, understand or abide by any third party's terms and conditions or other policies, nor do we provide any representation or warranty for the goods/services they exhibit or sell.")),bv||(bv=(0,o.A)("p",{},void 0,"If you ever believe that a Member or Flirt has violated the law or is defrauding, threatening, or endangering anyone, or is engaging in human trafficking, NiteFlirt urges you immediately to (i) contact the appropriate authorities directly for help and (ii) Fill out our ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"Support Form"),' (select "Play Fair Inquiry").')),wv||(wv=(0,o.A)("p",{},void 0,"The Site occasionally receives complaints from Members related to violations of the NiteFlirt User Agreement. We will take action as deemed appropriate. NiteFlirt reviews all complaints within seven (7) business days of receipt and will take any and all action, in our sole discretion, as we deem appropriate to resolve the issue. While complaints are reviewed as quickly as possible within the above time period, if you suspect someone may be in immediate danger, please contact your local authorities also. We enthusiastically cooperate with any and all governmental authorities to ensure that complaints of a legal or criminal nature are promptly and thoroughly reported and investigated. For further information, see our ",(0,o.A)(s.N_,{to:"/help/complaints"},void 0,"Complaints Policy"),".")),xv||(xv=(0,o.A)("p",{},void 0,"The Site is for entertainment purposes only. If you have a dispute with any Member or Flirt, or suffer any harm arising out of or connected with any Flirt Services, you hereby waive all claims against and release NiteFlirt (and its subsidiaries, employees, officers, directors, shareholders, suppliers, attorneys, joint venturers, and agents) from any and all liability for claims, demands, damages (actual and consequential), costs and expenses (including litigation costs and attorney's fees) of every kind and nature, known and unknown, suspected and unsuspected, disclosed and undisclosed, arising out of or in any way connected with any Flirt Services or with regard to such disputes. In addition, you expressly represent and warrant that you have read the ",(0,o.A)(Ag,{to:"indemnification"},void 0,"Indemnification section")," of this Terms of Service, understand it and agree to fully indemnify NiteFlirt pursuant to that section.")),Cv||(Cv=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Warning for Members Participating in 1:1 Cam Sessions.")," The Site provides functionality allowing Members to stream/broadcast with Flirts using their webcams, should the Flirt offer this type of service. While we forbid recording of cam sessions, it is technically possible that individuals participating in streaming services might, without the other party's consent, unlawfully record, make copies of, store, re-broadcast, publish, distribute or otherwise share your broadcast online or through other channels. You assume all risk for what you broadcast in your cam sessions and hereby release and agree to indemnify and hold us harmless for all actions arising out of such activities and any resulting harm, including without limitation, claims of invasion of privacy, defamation, tortious interference, and/or intellectual property infringement.")),kv||(kv=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"fees"},void 0,"8. Fees and Charges"))),Sv||(Sv=(0,o.A)("p",{},void 0,"To learn about what fees and charges apply to your use of the Site, please ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/articles/212830218-Payment-Options-Manage-Credit-Cards-Add-Money-and-Refunds",target:"_blank",rel:"noopener noreferrer"},void 0,"click HERE"),". You can also find information on your payment options by visiting the 'Manage Credit Cards' page by clicking on 'More Options' in the 'Payment Info' section of your account. By registering as a Member and providing your credit card information, you agree to be bound by the NiteFlirt User Agreement as well as all payment rules posted elsewhere on the Site.")),_v||(_v=(0,o.A)("p",{},void 0,"You agree to pay for all Flirt Services purchased using your Member account information and password. Further, when purchasing a Feed subscription you agree to allow NiteFlirt to charge your default card for the price of the monthly subscription on a recurring basis until you choose to cancel. You can cancel your subscription at any time by emailing ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]")," or by ",(0,o.A)(s.N_,{to:"/subscriptions"},void 0,"clicking HERE"),".")),Nv||(Nv=(0,o.A)("p",{},void 0,'NiteFlirt may charge an Account Maintenance Fee of two dollars ($2.00) per month for all Member accounts with a positive balance which have been dormant for 12 months. However, if the Member uses their Member account to purchase Flirt Services, then the Member account is considered active and no Account Maintenance Fee will be charged. Recurring subscription purchases – as long as the transaction is successful – are considered validly "activating."')),Pv||(Pv=(0,o.A)("p",{},void 0,'Any charges associated with your Member account or purchase of Flirt Services may appear on your credit/debit card statement as "NF Services." This descriptor is subject to change at any time with or without notice to you.')),Tv||(Tv=(0,o.A)("p",{},void 0,"You are responsible for payment activity within your Member account, credit card refunds and reversals, and any related fees that we incur with respect to your Member account. In the event of an unsuccessful recurring payment, the related subscription will be canceled. Should you fail to pay any fees due to us in connection with your use of the Site, your Member account, and/or your engagement in Flirt Services, including credit card reversals, we have the right to pursue you in collections or otherwise to collect the funds owed to us.")),Fv||(Fv=(0,o.A)("p",{},void 0,"Without limiting other remedies, NiteFlirt may at any time suspend or terminate your Member account and/or refuse to provide access to the Site or Flirt Services with or without reason or notice to you, should you fail to pay any fees due to us. In addition, NiteFlirt retains the right to communicate with your bank, credit card company, reasonable third parties, and/or authorities, or take any other actions it deems appropriate, with or without notice to you, in connection with collection of payment of funds owed to us.")),Iv||(Iv=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"billing"},void 0,"9. Billing Errors"))),Ev||(Ev=(0,o.A)("p",{},void 0,"We want you to be completely satisfied with the Flirt Services and Content you purchase from our Site. If you are not satisfied in any way, you can submit a complaint to our support staff by ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"clicking HERE"),". We review all complaints within seven (7) business days of receipt and will take any and all action, in our sole discretion, as we deem appropriate to resolve the issue. Once we have verified your complaint, in our sole discretion, we will credit your Member account for the amount of your purchase up to a limit of $25, payable in NiteFlirt Dollars. To review our Satisfaction Guarantee, please ",(0,o.A)("a",{href:"  https://support.niteflirt.com/hc/en-us/articles/212830488-Satisfaction-Guarantee",target:"_blank",rel:"noopener noreferrer"},void 0,"click HERE"),". If you believe you have been incorrectly charged for any Flirt Service, Content, subscription, Goodies, or in any other aspect, you can submit a refund request by ",(0,o.A)("a",{href:"  https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"clicking HERE"),". If we suspect improper refund requests, credit card chargebacks, fraud, or abuse of our refund request procedures, we will terminate your access and use of the Site and refuse to provide Flirt Services to you at any time, with or without advance notice.")),Mv||(Mv=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead"},void 0,"10. Cancellation Policy and How to Cancel Your Member Account"))),Ov||(Ov=(0,o.A)("p",{},void 0,"You may cancel your account at any time by emailing ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]")," or by ",(0,o.A)(s.N_,{to:"/account/close"},void 0,"clicking HERE"),". Any suspension, termination, or cancellation will not affect your obligation to pay any amounts due to NiteFlirt up to and including the date and time of cancellation, including automatic or recurring billing fees charges. Although cancellation should occur immediately upon request, please allow twenty-four (24) hours for your account to be fully closed and any automatic/recurring charges to stop.")),Dv||(Dv=(0,o.A)("p",{},void 0,"Without limiting our other remedies, we may immediately issue a 
1warning, temporarily suspend, indefinitely suspend, cancel, or terminate your access and use of the Site and refuse to provide Flirt Services to you at any time, with or without advance notice if:")),Rv||(Rv=(0,o.A)("ol",{type:"i"},void 0,(0,o.A)("li",{},void 0,"We believe that you have breached or threatened breach of these Terms of Service or the NiteFlirt User Agreement;"),(0,o.A)("li",{},void 0,"Any charge to your account results in a chargeback;"),(0,o.A)("li",{},void 0,"We are unable to verify or authenticate any billing, payment, or other information you provide to us;"),(0,o.A)("li",{},void 0,"The jurisdiction that you are in disallows access to the Site, Content or Flirt Services;"),(0,o.A)("li",{},void 0,"We believe that your actions may be unlawful or cause legal liability, harm or disruption to you, our Members, Flirts, or us; or"),(0,o.A)("li",{},void 0,"We decide to cease operations or to otherwise discontinue the Site or portions/offerings thereof."))),Lv||(Lv=(0,o.A)("p",{},void 0,"You agree that if your Member account is terminated by us, you will not attempt to re-register as a Member (including as a Flirt) without prior written consent from us. Any monies remaining in a canceled or terminated Member account will be refunded upon request.")),jv||(jv=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead"},void 0,"11. Information Collection/Information We Share"))),qv||(qv=(0,o.A)("p",{},void 0,"Your privacy and the privacy of your information is very important to us. For details about the information we collect, how such information is stored, and whom we share it with, please refer to our ",(0,o.A)(s.N_,{to:"/help/privacy_policy"},void 0,"Privacy Policy")," which is incorporated in this NiteFlirt User Agreement. You agree to be bound by our Privacy Policy.")),Bv||(Bv=(0,o.A)("p",{},void 0,"Even though we do not sell your information, you agree that we can share your information with third party service providers (e.g. credit card processors, companies that provide analytic information, etc.) as necessary for our operations and the provision of the Site and Services.")),zv||(zv=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead"},void 0,"12. SMS Messaging"))),Uv||(Uv=(0,o.A)("p",{},void 0,'NiteFlirt operates the SMS messaging program ("SMS Alerts"), which sends informational notifications to your mobile device when a new chat message is received on your NiteFlirt account while you are offline.')),$v||($v=(0,o.A)("p",{},void 0,"SMS Alerts do not allow sms communications between Flirts and Members. Further, neither the Flirt's or Members phone number is provided to the other party, or sold, traded, or rented to third parties.")),Wv||(Wv=(0,o.A)("p",{},void 0,"SMS Alerts cannot be customized by Member or Flirt. They simply inform a Member they have received a Chat message.")),Gv||(Gv=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Eligibility."),' To "opt in" to SMS Alerts must be selected by Members and by the Flirt with verified mobile phone numbers on file. SMS Alerts are available to adults only.')),Hv||(Hv=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Opt-In."),' The pre-set setting for SMS Alerts is "Opt Out". You may enable SMS Alerts by toggling SMS Alerts on in your NiteFlirt account settings. Your opt-in is recorded with a timestamp. By enabling SMS Alerts, you agree to receive transactional SMS messages from NiteFlirt at the number you provide for new chat messages while offline.')),Yv||(Yv=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Message Frequency.")," Message frequency varies based on activity on the number of messages sent to your account. Members typically receive one message per chat event.")),Vv||(Vv=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Cost.")," NiteFlirt does not charge a fee for SMS Alerts. Message and data rates from your wireless service provider may apply.")),Qv||(Qv=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Opt-Out."),' To stop receiving Chat Alerts, reply "STOP" to any SMS Alert message, or toggle SMS Alerts off in your NiteFlirt account settings. After opting out via STOP, you will receive a single confirmation message; no further messages should be sent. If you continue to get SMS Alerts, please contact NiteFlirt support at ',(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]")," or ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new?ticket_form_id=18558",target:"_blank",rel:"noopener noreferrer"},void 0,"click HERE"),".")),Zv||(Zv=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Help.")," Reply HELP to any SMS Alerts message for assistance. You will receive an automated response with contact information. For additional assistance or if you are still getting SMS Alerts even though you have opted out, contact NiteFlirt support at ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]")," or ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new?ticket_form_id=18558",target:"_blank",rel:"noopener noreferrer"},void 0,"click HERE"),".")),Kv||(Kv=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Phone Number Changes.")," If you change your phone number or cancel your wireless plan, you are responsible for updating your NiteFlirt account or opting out of SMS Alerts. You may update your phone number in your account settings.")),Xv||(Xv=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Carrier Disclaimer.")," Neither NiteFlirt or wireless carriers are liable for delayed or undelivered messages. SMS message delivery depen
1ds on various factors, including, but not limited to, carrier networks and it is therefore not guaranteed.")),Jv||(Jv=(0,o.A)("p",{},void 0,"All Terms of Service policies for chatting apply to Chat Alerts. For information about how we handle your SMS data, see Section 5 of our ",(0,o.A)(s.N_,{to:"/help/privacy_policy"},void 0,"Privacy Policy"),".")),eA||(eA=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead"},void 0,"13. Trademark Information"))),tA||(tA=(0,o.A)("p",{},void 0,"This domain and the terms 'NiteFlirt' and 'Speak to Your Desire' are service marks and/or trademarks of NiteFlirt, even if not registered. We aggressively defend our intellectual property rights. Other websites, domains, advertisements, and service names referenced or linked on or through the Site may constitute or contain trademarks and/or service marks which are the exclusive property of their respective owners and may not be used publicly without the express written consent of the owners and/or holders of such trademarks and service marks. We do not assert any rights as to any of these third party trademarks or service marks. Our marks, logos, domains, Site name, service marks and trademarks (either registered or not) may not be used publicly except with prior express written permission from NiteFlirt, and may not be used in any manner that is likely to cause confusion among consumers, or in any manner that disparages, casts a false light or discredits NiteFlirt.")),iA||(iA=(0,o.A)("p",{},void 0,"If you believe that your federally registered trademark is being used by us, a Flirt or a Member in a way that constitutes trademark infringement, please notify NiteFlirt immediately at ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"),", and include information sufficient for us to investigate your claim.")),oA||(oA=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"DMCA"},void 0,"14. Copyright Information and DMCA Takedown Procedure"))),aA||(aA=(0,o.A)("p",{},void 0,"Other than stated herein, NiteFlirt shall own all rights, titles, and interests in the Site, domain names, toll-free numbers, merchandise, systems, and services. No copyrights, patent rights, trademarks, or other licenses are conferred herein by NiteFlirt, either expressly or by implication. NiteFlirt does not express any copyrights or other intellectual property rights to Flirts' Goodies or Content.")),rA||(rA=(0,o.A)("p",{},void 0,'We also respect the intellectual property rights of others, and we ask our Members and Flirts to do the same. We observe and comply with the United States\' Digital Millennium Copyright Act ("DMCA") and the procedures set forth therein.')),nA||(nA=(0,o.A)("p",{},void 0,"If you believe that your work has been copied in a way that constitutes copyright infringement, please provide NiteFlirt's Copyright Agent listed below with the following information required under 17 U.S.C. § 512:")),sA||(sA=(0,o.A)("ol",{type:"i"},void 0,(0,o.A)("li",{},void 0,"A physical or electronic signature of a person authorized to act on behalf of the owner of an exclusive right that is allegedly infringed;"),(0,o.A)("li",{},void 0,"Identification of the copyrighted work claimed to have been infringed, or, if multiple copyrighted works at a single online site are covered by a single notification, a representative list of such works at the Site;"),(0,o.A)("li",{},void 0,"Identification of the material that is claimed to be infringing or to be the subject of infringing activity and that is to be removed or access to which is to be disabled, and information reasonably sufficient to permit NiteFlirt to locate this material;"),(0,o.A)("li",{},void 0,"Information reasonably sufficient to permit NiteFlirt to contact the complaining party, including a name, address, telephone number and, if available, an email address at which the complaining party may be contacted;"),(0,o.A)("li",{},void 0,"A statement that the complaining party has a good-faith belief that use of the material in the manner complained of is not authorized by the copyright owner, its agent or the law; and"),(0,o.A)("li",{},void 0,"A statement that the information in the notification is accurate and, under penalty of perjury, that the complaining party is authorized to act on behalf of the owner of an exclusive right that is allegedly infringed."))),lA||(lA=(0,o.A)("p",{},void 0,"NiteFlirt's Copyright Agent for notice of claims of copyright infringement on or regarding this Site can be reached as follows:")),dA||(dA=(0,o.A)("p",{},void 0,"Copyright Agent",(0,o.A)("br",{}),"c/o NiteFlirt",(0,o.A)("br",{}),"182 Howard Street #418",(0,o.A)("br",{}),"San Francisco, CA 94105",(0,o.A)("br",{}),"Email: ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"))),cA||(cA=(0,o.A)("p",{},void 0,"Upon receipt of notice as described above, NiteFlirt will take whatever action, in its sole discretion, it deems appropriate, including removal of the challenged works from the Site, and/or termination of the Member or Flirt's account. All complaints will be responded to within seven (7) business days of receipt of inquiry.")),uA||(uA=(0,o.A)("p",{},void 0,"Please do not send any other form of inquiry, request or notice to our designated copyright agent as this will not be considered to be proper notice, nor will we accept or acknowledge receipt.")),mA||(mA=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead"},void 0,"15. DMCA Counter-Notice and False Reports of Copyright Infringement"))),pA||(pA=(0,o.A)("p",{},void 0,"If, on the other hand, you believe that any Content, Goodies or other material you, a Flirt or NiteFlirt has posted to the Site, or otherwise transmitted to any Member, has been mistakenly removed or disabled, or that the material does not, in fact, violate or infringe the copyright of another, please send a written counter-notice to our designated copyright agent, including the following information:")),hA||(hA=(0,o.A)("ol",{type:"i"},void 0,(0,o.A)("li",{},void 0,"Your name, address, telephone number, and physical or electronic signature."),(0,o.A)("li",{},void 0,"Identification of the material that has been removed or to which access has been disabled and the location at which the material appeared before it was removed or access to it was disabled."),(0,o.A)("li",{},void 0,"A statement under penalty of perjury that you have a good faith belief that the material was removed or disabled as a result of mistake or misidentification of the material to be removed or disabled."),(0,o.A)("li",{},void 0,"A statement that you consent to the jurisdiction of Federal District Court for the Northern District of California, or if your address is outside of the United States, for any judicial district in which the service provider may be found, and that you will accept service of process from the person who provided the Notice of copyright infringement or an agent of such person."))),gA||(gA=(0,o.A)("p",{},void 0,"Copyright Agent",(0,o.A)("br",{}),"c/o NiteFlirt",(0,o.A)("br",{}),"182 Howard Street #418",(0,o.A)("br",{}),"San Francisco, CA 94105",(0,o.A)("br",{}),"Email: ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"))),vA||(vA=(0,o.A)("p",{},void 0,"Please note that the above-described procedures are regulated by statute. Sending a DMCA or related notice or counter-notice to us, when such allegation is in bad faith or otherwise false, can cause you to be liable for damages, attorney's fees, costs, and other criminal and/or civil damages and/or penalties. Speaking to an attorney before you send a DMCA notice or counter-notice may help you understand your rights, and we strongly recommend you do so.")),AA||(AA=(0,o.A)("p",{},void 0,"Upon receipt of repeated false or unverifiable DMCA notices from you in any given calendar month, we reserve the right to suspend or terminate your Member account and/or your use of the Site and Flirt Services, pending our further review.")),yA||(yA=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"unauthimages"},void 0,"16. Unauthorized Use of Images or other Content"))),fA||(fA=(0,o.A)("p",{},void 0,"We have a strong policy against non-consensual production and/or distribution of any individual's image, voice or likeness (including without limitation unauthorized or unconsented to videos, audio recordings or images, doxing, blackmail, exploitation, revenge porn etc.)")),bA||(bA=(0,o.A)("p",{},void 0,"If you believe the Site, or any Member or Flirt, is exhibiting, selling, offering or disseminating material in which you are depicted, and which you did not provide your consent for public dissemination, purchase or download by others, or for which you have revoked your consent, please immediately contact us at ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]")," and include as much of the following information as possible:")),wA||(wA=(0,o.A)("ol",{type:"i"},void 0,(0,o.A)("li",{},void 0,"A physical or electronic signature of the person depicted in the content who is requesting it be removed from the Site."),(0,o.A)("li",{},void 0,"Identification of the content in question and information reasonably sufficient to permit NiteFlirt to locate the content;"),(0,o.A)("li",{},void 0,"Information reasonably sufficient to permit NiteFlirt to contact the person depicted in the content requesting the removal, including a name, address, telephone number and email address;"),(0,o.A)("li",{},void 0,"Information reasonably sufficient to permit NiteFlirt to verify the complaining party is depicted in the content in question;"),(0,o.A)("li",{},void 0,"A statement that the complaining party has a good-faith belief that use of the content on the Site is not authorized by one or more of the parties depicted in the content;"),(0,o.A)("li",{},void 0,"A statement that, under penalty of perjury, the complaining party is authorized to act on behalf of the person depicted in the content."))),xA||(xA=(0,o.A)("p",{},void 0,"Upon receipt of notice as described above, NiteFlirt will take whatever action, in its sole discretion, it deems appropriate, including removal of the challenged content from the Site, and/or termination of the Member or Flirt's account. All complaints will be responded to within seven (7) business days of receipt of inquiry.")),CA||(CA=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead"},void 0,"17. No endorsement of Flirts, Content, or Flirt Services"))),kA||(kA=(0,o.A)("p",{},void 0,"This Site connects you to adult performer(s), who may from time to time, personally or professionally, be involved in, publish, exhibit, or otherwise represent certain personal, public, or political situations, opinions, statements or viewpoints that may be considered unpalatable to you, harmful, criminal, offensive, unlawful or the subject of public or pop-culture debate. You acknowledge that by using the Site and/or engaging in Flirt Services, you understand that our inclusion of any Flirt or related third-party in any Flirt Service or Content, whether before, during, or after any alleged improper conduct, statement or debate, does not represent our end
1orsement of such Member, Flirt, performer or related third-party, or their conduct or opinions, nor the accuracy, completeness, decency or legality of their behavior, statements or viewpoints. Our inclusion of such Flirt, link to Flirt Service, advertisement of performer, or reference to performer on the Site is provided merely as a convenience to you and does not imply our endorsement of, or association with, any such performer, nor their statements, opinions, or conduct. By using the Flirt Services, you expressly acknowledge and agree that you will not associate NiteFlirt with any Flirt's or Member's statements, opinion or conduct, for any reason, at any time. The opinions expressed by Members and Flirts are not the opinions of NiteFlirt (or our affiliates, subsidiaries, parent companies, managers, officers, directors, shareholders, members, owners, employees and agents).")),SA||(SA=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"additionalrulesFlirts"},void 0,"18. Additional Rules and Guidelines for Flirts"))),_A||(_A=(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"In addition to all of the ",(0,o.A)(Ag,{to:"rulesmembers"},void 0,"Rules and Guidelines for Members")," set forth in these Terms of Service, and the ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/articles/212830688-NiteFlirt-Rules",target:"_blank",rel:"noopener noreferrer"},void 0,"NiteFlirt Rules"),", Flirts must also read, understand, and agree to all provisions stated in this section.")," By becoming a Flirt, you represent and warrant that you have read this section, understand it in its entirety, and agree to each and every provision set forth herein. Speaking to an attorney before you agree to these terms and become a Flirt may help you understand your rights and duties, and we strongly recommend you do so.")),NA||(NA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"True and Accurate Information"),": As a Flirt, you agree to provide NiteFlirt true, accurate, and complete registration, payment and contact information and will promptly update your information when applicable. You will not use false identities or impersonate any other person or use a name, image, or likeness that you are not legally and expressly authorized to use. Your Flirt account may not be shared, sold or given to any other person or entity. You represent and warrant that all information that you submit upon registration is accurate and truthful and that you will promptly update any information provided by you that subsequently becomes inaccurate, misleading, or false.  You will not have any other person or entity pretend to be you or impersonate you in providing Flirt Services to Members.")),PA||(PA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"No Minors Depicted, Impersonated, or Tolerated"),": ",(0,o.A)("strong",{},void 0,"You represent and warrant that none of the Content which you upload, advertise, place for sale, or otherwise market through the Site, or Flirt Services you participate in, will depict any minor below the age of majority, or will depict any adults who have not consented to the acts in which they are engaging or who have not consented to the dissemination of their images and likenesses in the form depicted. Likewise, you (or any other individual appearing in your Content or Flirt Services) will not hold yourself as being below the age of majority. In the event you believe that someone believes you to be below the age of majority, you will immediately tell the person that you are the age of majority.")," Upon request, you must provide to NiteFlirt written consent for the public distribution and download of the Content/Flirt Services from all persons depicted, and a copy of a valid government issued identification of all persons depicted in any and all Content and Goodies you disseminate, as required by Sections 2257/2257A of Title 18 of the US Code.")),TA||(TA=(0,o.A)("p",{},void 0,(0,o.A)("span",{id:"ContentModerationPolicy"},void 0,(0,o.A)("u",{},void 0,"Pre-Screening and Content Moderation Policy")),": These Terms of Service and the NiteFlirt Rules explain what Content and Flirt Services are and are not permitted on our platform. We utilize third party content moderation technology in addition to human moderation to actively review and monitor cam services and all other content uploaded to the Site, including text, audio, images and videos. 
1Cam sessions are monitored only to the extent necessary to ensure cam session participants comply with these Terms of Service, the NiteFlirt Rules, and applicable laws. All Content is reviewed prior to being published and regularly monitored to ensure all Content complies with these Terms of Service, the NiteFlirt Rules, and applicable laws. Any violative Content, including without limitation, Content that is harmful, unlawful, offensive, or otherwise objectionable, will be rejected and/or immediately removed from the Site. Likewise, any violative cam service, including without limitation, a cam session that transmits harmful, unlawful, offensive, or otherwise objectionable material, will be immediately terminated. The consequences to you of transmitting or attempting to transmit material in a cam session, or uploading or attempting to upload Content, that violates the NiteFlirt User Agreement may include, in our sole discretion, the issuance of a warning, termination of your account, and/or banning you from using the Site (as a Member or Flirt). If any cam session or Content involves illegal activity or the depiction of a minor we will report the monitor's findings/Content to the relevant authorities, as appropriate. Note that as a provider of third-party content, we are permitted to moderate cam sessions and Content in this fashion without being responsible for said Content or legally liable for our moderation activities. We expressly waive any and all such liability. To appeal a decision involving the moderation or removal/termination of your cam session/cam service capabilities or Content, or for inquiries related to content moderation or removal, you may contact us at ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"),".")),FA||(FA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Intellectual Property and Record Keeping"),": By transmitting, posting and uploading material or Content as part of your Flirt Services, you expressly promise, assure, and warrant to NiteFlirt that you have all legally required intellectual property rights (including any necessary copyright clearances, trademark licenses, and publicity and privacy releases) and ",(0,o.A)("strong",{},void 0,"maintain all records (as required by Sections 2257/2257A of Title 18 of the US Code) necessary for you to transmit, post or sell all Flirt Services and Content which you upload, advertise, place for sale, or otherwise market through the Site"),"; and you further warrant to NiteFlirt (notwithstanding any limitation of warranty as to your ultimate purchasers) that any such Content is merchantable and lawful for you to sell to each of your ultimate purchasers. You shall not use the Site or Flirt Services to transmit, route, provide connections to or store any material where you have not obtained the proper written consent of all parties or that you do not maintain proper records as required by Sections 2257/2257A of Title 18 of the US Code.")),IA||(IA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Your Interactions are Your Sole Responsibility"),": You are solely responsible for your interactions with Members and for the Content and information that you post or otherwise make available on the Site and through Flirt Services, whether publicly posted or privately transmitted, including all material transmitted using cam services. You provide Flirt Services, and consult with Members, at your own risk. We cannot ensure the security or privacy of information (including, without limitation, text, images, and videos) you provide or share through Flirt Services, so you are encouraged to take all appropriate measures to maintain your privacy and safety. We are not responsible for, and cannot control, the use of any information, by Members or anyone else, that you provide or make available to other Members through the Site. While we forbid recording of cam sessions, it is technically possible that individuals participating in streaming services might, without the other party's consent, unlawfully record, make copies of, store, re-broadcast, publish, distribute or otherwise share your broadcast online or through other channels. You assume all risk for what you broadcast in your cam sessions and other Flirt Services, keeping in mind that content posted on the internet can remain on the internet forever, and hereby release and agree to indemnify and hold NiteFlirt harmless for all actions arising out of such activities and any resulting harm, including without limitation, claims of invasion of privacy, defamation, tortious interference, and/or intellectual property infringement. If you include any third party in your Flirt Services and/or Content, you and you alone are solely responsible for compensating that third party; our sole payment responsibility is to our Flirts.")),EA||(EA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Public Information/Caution in Sharing Information"),". As noted 
1in elsewhere in these Terms of Service, all information and/or content you choose to post and/or share through your Flirt Services and all Content you provide or otherwise share through the Site is considered public information. You agree to limit the personal information you share keeping in mind we cannot control the use of such information by those with whom you share your information.")),MA||(MA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"No Harmful Content or Flirt Services"),": You may not post or transmit Flirt Services or Content that can be considered offensive, harassing, or illegal content, or that infringes or violates another person's rights (including intellectual property rights, and rights of privacy and publicity). NiteFlirt reserves the right to determine, at its sole discretion, what constitutes offensive or harassing, and where that has occurred; and may, also at its sole discretion, partially or completely deny service to any infringing party. NiteFlirt may enlist the help of third party moderation, AI and/or Members to flag content to help determine if a Flirt's conduct is harmful to the community. You will not tell any Member, nor lead them to believe, that you participate in or simulate any obscene acts including, but not limited to, bestiality, necrophilia, child molestation, child pornography, rape, urination, defecation, public sex acts, or any other obscene sex acts or illegal activity, including without limitation prostitution and human trafficking. The Site strictly prohibits engaging in, promoting, or facilitating activity that simulates or role-plays human trafficking, sex trafficking, or physical or economic abuse. If at any time you suspect that a Member is requesting you to perform an act in violation of the NiteFlirt User Agreement or applicable law, you will immediately cease to provide Flirt Services to said Member and will report them to NiteFlirt and/or the authorities.")),OA||(OA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"No Unlawful Conduct; Documents of Compliance"),": You represent and warrant that you will not violate any applicable laws or government regulations in connection with your use of the Site or Flirt Services; and as a Flirt providing Flirt Services you will not fail to create and maintain records, label your content, and permit inspections as required by law (e.g. 18 U.S.C. §§ 2257, 2257A; 28 C.F.R. Part 75), and you will not fail to provide NiteFlirt with true and complete information in connection with your compliance, including information about the records custodian and maintenance address required on labels by law upon request (18 U.S.C. §§ 2257(e), 2257A(e); 28 C.F.R. § 75.6). ",(0,o.A)("strong",{},void 0,"You must supply to NiteFlirt, whether requested or not, prior to engaging in Flirt Services or publishing any Content, written consent for the public distribution and download of said material from all parties depicted in said material and a copy of a valid government issued identification of all individuals depicted, in accordance with Sections 2257/2257A of Title 18 of the US Code. Failure to do so will result in the suspension and/or termination of your account and will lead to the loss of all unpaid fees earned.")," We reserve the right to monitor cam services as stated elsewhere in the NiteFlirt User Agreement, and review your Content and reject Content that violates these Rules and Guidelines for Flirts, either manually or by using AI, or both.")),DA||(DA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"No Intellectual Property Infringement"),": You may only use Content you have the legal right to use. NiteFlirt prohibits the unauthorized use of copyrighted materials or trademarks and the use of content where the member has not obtained appropriate consent and documentation from all parties appearing in any way, whether fully or partially, in any Content. You shall not use the Site or Flirt Services to transmit, route, or provide connections to or store any material that infringes copyrighted works, trademarks, publicity or privacy rights, or otherwise violates or promotes the violation of the intellectual property rights of any third party. In performing any Flirt Services or providing any Content, you agree to ensure that any background music or audio, at any volume, is audible only when you hold all required intellectual property rights and/or a valid, irrevocable license to use, publish and distribute said music or audio.")),RA||(RA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Advertising of Flirt Services"),": Any advertisement you create for the Site may only contain material that is otherwise permitted by us and the Site. You may not use Flirt Services to promote or advertise any third-party platforms, sites, or services that deliver live-streaming content. While you are free to cam on other platforms, it is prohibited to use the Site to solicit any Member(s) to utilize another product, site, or service that delivers live-streaming content.")),LA||(LA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Intellectual Property Rights in Content"),": With respect to Content that you exhibit or sell through the Site, you retain your pre-existing intellectual property and other rights therein, granting to NiteFlirt only such limited and non-exclusive rights and licenses reasonably necessary to permit and effectuate your sale of those items and NiteFlirt's general advertising and promotion of the Site and Flirt Services, except as may otherwise be specifically authorized in a separate written agreement.")),jA||(jA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"No Other Intellectual Property Rights Transferred"),": Other than stated herein, NiteFlirt shall own all rights, titles, and interests in the Site, systems, and services. No copyrights, patent rights, trademarks, or other licenses are conferred herein by NiteFlirt, either expressly or by implication. As a Flirt, you understand and agree that: (i) you will have no right, title, or interest to any of the toll-free numbers, phone numbers, or extension numbers assigned to you; (ii) NiteFlirt may change your toll-free number, phone numbers and/or extension number at any time in its sole and absolute discretion; (iii) you will have no right, title, and interest to any username in connection with your use of the Site or Flirt Services; (iv) phone numbers, toll-free numbers, extensions, and Flirt usernames may be recycled by NiteFlirt to other Members or Flirts of NiteFlirt if you are not actively using them or your agreement has been terminated. Further, you hereby grant to NiteFlirt a fully-paid, worldwide, perpetual and irrevocable license to use, copy, distribute, display, or reference any Content from your account, and to edit and exploit any Content for any purpose in connection with the Site, including without limitation, your Flirt username, tags, descriptions, photos, NiteFlirt buttons, Listings, Goody Bags, Chat Cards, Feeds, phone numbers, and extensions. Other than stated herein, NiteFlirt will not distribute, share or display your Content on any third-party platform without your written and explicit consent.")),qA||(qA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"No employment or Agency Relationship"),": You acknowledge and agree that sharing or selling Content or services on or through the Site and/or Flirt Services, accepting payment from Members or NiteFlirt, and/or entering the NiteFlirt User Agreement and/or Affiliate Agreement do not create an employment or agency relationship between either you (as a Flirt) and NiteFlirt, or any of our respective affiliates, nor is it intended to create such relationship. NiteFlirt acts only as an interface to facilitate communications initiated between Members and Flirts. As a Flirt, you are not an employee, agent, or contractor of NiteFlirt, and you shall not represent that you are any of the foregoing. You may not enter NiteFlirt into any agreements or contracts. You are solely responsible for reporting and payment of all taxes associated with fees transferred to you by NiteFlirt. Our sole payment responsibility is to our Flirts, not any third party engaged in creating or participating in a Flirt's Flirt Services or Content.")),BA||(BA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Equipment"),": You are solely responsible for all equipment necessary to access and use the Site, create/sell Content, and/or perform Flirt Services. It is y
1our responsibility to provide any and all equipment (such as a laptop computer, camera, webcam, etc.) and services (such as internet service) which may be necessary or desirable in connection with your use of the Site, performing Flirt Services, or creating/selling Content, at your sole expense.")),zA||(zA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Payment for Flirt Services"),": By performing Flirt Services you may charge a fee for interactions with Members. NiteFlirt may retain a connection charge for Live and Recorded Calls and cam services, and will retain a commission which will be a percentage of the price chosen by the Flirt for Live Calls, Recorded Calls, Cam Services, Paid Mail, Goodies, Chat, Tributes, and Subscriptions. If you choose to allow members to subscribe to your Flirt Feed to access exclusive Content, monthly subscriptions will be credited to your account monthly for each subscriber. NiteFlirt will distribute earnings to you from your Member account in US dollar denominations by either check, ACH direct deposits, Paxum, or MassPay as designated by you in your NiteFlirt account and may charge a fee for these distributions. Details of these fees can be found ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/articles/212830678-Money-Matters-Commission-Fees",target:"_blank",rel:"noopener noreferrer"},void 0,"HERE")," and details of NiteFlirt payment options can be found ",(0,o.A)(s.N_,{to:"/account/payout"},void 0,"HERE"),". NiteFlirt reserves the right to change these commissions, fees and payment options at any time with or without notice to you. If you have any questions about payment or have a payment related issue, you may email us at ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]")," and we will do our best to assist.")),UA||(UA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Payment of Fees Only When Collected"),": The Member who initiates a transaction is solely responsible for payment of any and all fees for the transaction. NiteFlirt shall not be obligated to pay any fees for which NiteFlirt has not been fully paid by the Member or Member's credit card issuer or bank, as applicable. You hereby authorize NiteFlirt to collect payments from Members on your behalf for any and all transactions that you conduct. NiteFlirt will credit to your account the fees collected, less NiteFlirt's commissions and connection charges, any tax withholdings required by law, and any refunds, discounts, chargebacks, and chargeback fees payable by NiteFlirt. NiteFlirt reserves the right to restrict payment to a Flirt  for any reason and in its sole discretion. Further, Niteflirt reserves the right to withhold issuing payment for your fees or deduct from future payment without notice on any transaction which in our sole discretion suggests that the Member or Member's bank may not fulfill his or her payment obligation or that a Member's bank, Member, or a governmental agency/department may claw back. These deductions may include without limitation chargebacks, account or billing disputes with Members, governmental orders or other deductions. Niteflirt reserves the right, in our sole discretion, to hold funds beyond the normal distribution periods for transactions it deems suspicious to ensure the integrity of the funds.")),$A||($A=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"No Interaction with Non-Members"),": As a Flirt you agree to only provide Flirt Services and distribute Content to Members, and you will not take or answer calls (and agree to terminate such call and report the incident to NiteFlirt by filling out a ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"Customer Support Form"),' and selecting "Play Fair Inquiry" from the drop down menu) if you know or have reason to believe that the individual on the call or in a cam session is a non-Member or there is more than one person on the call or cam. You also agree that under no circumstances will you communicate with any Member through any means other than through the Site or Flirt Services, without the express written permission of NiteFlirt.')),WA||(WA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Engage At Your Own Risk"),": You must use your judgment to determine whether to initiate, receive and/or discontinue use of the Flirt Services. Involvement in our 1:1 cam service is entirely voluntary, and Flirts may offer this Flirt Service at their own volition. Flirts who initiate, engage in, receive and/or discontinue Flirt Services (cam sessions and otherwise) do so entirely at their own risk, and NiteFlirt bears no responsibility in this regard. NiteFlirt does not evaluate, provide, produce, or control the Flirt Services, or information or exch
1anges between Members, in any manner. NiteFlirt is not responsible for use or exchange of any information, files or goods between Flirts and Members. NiteFlirt prohibits Flirts from sharing private contact information with Members or other Flirts. You are solely responsible for, and will exercise caution, discretion, common sense, and judgment in, engaging with Members, engaging in Flirt Services, in evaluating the qualifications of, and statements made by, Members in listings or through the Member feedback system, and in disclosing personal information to any Member or other Flirt. Flirts are expressly forbidden from arranging to meet with Members or users in person for any purpose whatsoever. This includes without limitation, for coffee, drinks, meals, escorting, prostitution, or any other services or interactions whatsoever. Should a Flirt agree to meet with a Member or user in person, the Flirt accepts, in addition to being terminated by NiteFlirt, all responsibility for anything that happens to the Flirt or Member including, but not limited to, any emotional, physical, legal or financial harm the Flirt, Member and/or any associated third party, may suffer. Further, Flirts indemnify NiteFlirt against any costs incurred by NiteFlirt, including but not limited to attorney fees and costs, in connection with such conduct and harm.")),GA||(GA=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Waiver of All Claims"),": The Site is for entertainment purposes only. If you have a dispute with any Member, or suffer any harm arising out of or connected with the Site or any Flirt Services, you hereby waive all claims against and release NiteFlirt (and its subsidiaries, employees, officers, directors, shareholders, suppliers, attorneys, joint venturers, and agents) from any and all liability for claims, demands, damages (actual and consequential), costs and expenses (including without limitation arbitration, mediation, or litigation costs and attorney's fees) of every kind and nature, known and unknown, suspected and unsuspected, disclosed and undisclosed, arising out of or in any way connected with the Site, any Member, any Flirt Services, or with regard to such disputes. In addition, you expressly represent and warrant that you have read the ",(0,o.A)(Ag,{to:"indemnification"},void 0,"Indemnification section")," of these Terms of Service, understand it and agree to fully indemnify NiteFlirt pursuant to the provisions therein. If you disagree with any party of our indemnification terms, you must disengage from being a Flirt or providing Flirt Services.")),HA||(HA=(0,o.A)("p",{},void 0,"Anti-Trafficking and Prostitution Policy: The site uses moderators and digital procedures (including but not limited to AI) to police and eliminate trafficking of individuals and eliminate opportunities to engage in prostitution or solicitation of prostitution activities.  Further, should we notice, or suspect, any such activity we will inform local and/or federal policing agencies and cooperate with them in the prosecution of such individuals.  Flirts should not attempt to meet with other Members in person for any reason whatsoever.  Further, Flirts must report all Members that contact them for any illegal activity which includes, but is not limited to, solicitation for prostitution.")),YA||(YA=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"indemnification"},void 0,"19. Indemnification"))),VA||(VA=(0,o.A)("p",{},void 0,"Your assent to these Terms of Service and NiteFlirt User Agreement includes your agreement that, to the maximum extent permitted by applicable law, you (and all individuals, agents and entities you engage with or expose to Flirt Services and/or use of the Site) will personally, fully indemnify, defend and hold harmless NiteFlirt, and its respective subsidiaries, officers, directors, employees, independent contractors, agents and representatives, and telecommunication providers, (collectively, ",(0,o.A)("strong",{},void 0,'"Indemnitees"'),"), from and against any and all actions, demands, damages, claims, losses, expenses, costs, obligations and liabilities (including without limitation legal, court, litigation, arbitration, attorney, expert, and accounting fees) of every kind and nature, known and unknown, foreseeable and unforeseeable, disclosed or undisclosed, suffered directly or indirectly by any of the Indemnitees to the extent of, or arising out of: (i) your breach of these Terms of Service or NiteFlirt User Agreement; (ii) your use, or misuse, or inability to use the Site, Flirt Services, or any of the Content disseminated to you; (iii) any unauthorized use or access to your Member account; (iv) any litigation, arbitration, proceeding or claim by any third party relating in any way to your use of the Site, Flirt Services, or any of the Content disseminated to you, including your use or misuse of your Member account; and (v) any claim alleging that your use or misuse of the Site, Flirt Services, or any of the Content disseminated to you, infringes any third party's U.S. patent, copyright, trademark, trade secret or other intellectual property interest, was libelous, or violated any law. We shall promptly notify you by electronic mail of any such claim or suit, and you agree to cooperate fully (at your sole expense) in the defense of any such claim or suit. We reserve the right to participate in the defense of such claim or defense at your expense, however, we have the right to retain our own legal counsel at your expense, but are not obligated to do so. Such obligation to indemnify shall not apply where the damage, claim, loss, expense, cost, obligation or liability is due to the breach of the NiteFlirt User Agreement by, or the grossly negligent or willful misconduct of, NiteFlirt or its officials, directors, employees, agents or contractors. NiteFlirt shall have the right to withhold payments to you to offset liabilities and expenses covered hereunder. The indemnity obligations stated within this section shall survive the expiration or termination of the NiteFlirt User Agreement for four (4) years.")),QA||(QA=(0,o.A)("p",{},void 0,"Should a subpoena be served on NiteFlirt by any Member, Flirt, their representative(s), or any third party, NiteFlirt retains the right to seek full compensation for the time and expense incurred by its employees and/or agents to collect and provide the sought documentation and/or responsive information. Should any Member, Flirt, and/or their agent
1(s), attorney(s), or other third party seek to have NiteFlirt representative(s) testify at any deposition, arbitration, and/or trial, NiteFlirt shall be entitled to at least $250/hour (or any fraction of an hour), per witness, plus any travel expenses including without limitation travel expenses, hotel expenses, and/or mileage. The estimated amount of time required for testifying and/or attending such hearing (including waiting time) shall be payable in advance of the date of such testimony. NiteFlirt shall have the right, at its sole discretion, to select the appropriate authorized representative to provide testimony. The above protocols are not intended as a waiver, and do not waive, NiteFlirt's ability to object to any subpoena and/or seek a protective order where grounds for such objection/protective order apply.")),ZA||(ZA=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"arbitration"},void 0,"20. Arbitration; No Class Action"))),KA||(KA=(0,o.A)("p",{},void 0,"If there is a dispute between any user/Member/Flirt and us arising out of or otherwise relating to these Terms of Service or the NiteFlirt User Agreement, and the amount demanded in said dispute exceeds $1,000, both parties shall first meet and negotiate in good faith to attempt to resolve the dispute. This meeting shall be within 60 days from the date the other party is informed of any violation. This meeting can be via video conference or telephone conference. If the parties are unable to resolve the dispute through direct negotiations, then, except as otherwise provided herein, either party may submit the issue to binding arbitration in accordance with the then-existing Commercial Arbitration Rules of JAMS or Judicate West. Arbitral Claims shall include, but are not limited to, contract and tort claims of all kinds, and all claims based on any federal, state or local law, statute, or regulation. The arbitration shall be conducted in San Francisco, California, and conducted by a single arbitrator, knowledgeable in Internet and e-Commerce disputes. The decision of the arbitrator shall be final and unappealable, and judgment on the arbitration award may be entered in any court having jurisdiction thereof. The arbitrator shall have no authority to award any punitive or exemplary damages; certify a class action; add any parties; vary or ignore the provisions of these Terms of Service or NiteFlirt User Agreement; and shall be bound by governing and applicable law. The arbitrator shall render a written opinion setting forth all material facts and the basis of his or her decision within thirty (30) days of the conclusion of the arbitration proceeding. Arbitration shall be in person. You and we shall equally share the costs of arbitration. The prevailing party shall be entitled to reimbursement for costs and reasonable attorneys' fees up to the maximum amount of $10,000. A party that does not contribute their share of the arbitration costs at the times and deadlines provided by JAMS or Judicate West shall be precluded from participating in arbitration and, to the maximum extent allowed by law, waives their rights including without limitation to any attorney fees and costs. TO THE EXTENT ALLOWED BY LAW, THE PARTIES HEREBY WAIVE ANY RIGHTS THEY MAY HAVE TO TRIAL BY JURY IN REGARD TO ARBITRAL CLAIMS.")),XA||(XA=(0,o.A)("p",{},void 0,"Notwithstanding anything to the contrary, NiteFlirt, you, or any other party/Member to the arbitration may at any time seek an injunction or other form of equitable relief from any court of competent jurisdiction.")),JA||(JA=(0,o.A)("p",{},void 0,"All claims, whether in arbitration or otherwise, must be brought solely in your individual capacity, and not as a plaintiff or class member in any purported class or c
1ollective proceeding. YOU EXPRESSLY ACKNOWLEDGE AND AGREE TO WAIVE, WITH RESPECT TO ANY DISPUTE: (I) THE RIGHT TO PARTICIPATE IN A CLASS ACTION, PRIVATE ATTORNEY GENERAL ACTION OR OTHER REPRESENTATIVE ACTION IN COURT OR IN ARBITRATION, EITHER AS A CLASS REPRESENTATIVE OR CLASS MEMBER; AND (II) THE RIGHT TO JOIN OR CONSOLIDATE CLAIMS WITH CLAIMS OF ANY OTHER PERSON.")),ey||(ey=(0,o.A)("p",{},void 0,"For any claim in which the amount disputed is at or under $1000, the party bringing the dispute must first provide: (i) a written notice to the other party describing the particulars of the dispute and (ii) a thirty (30) day waiting period in which the other party has the opportunity to cure the dispute. If no resolution is reached during the cure period, thereafter, the dispute shall be filed in the Small Claims Division of the Superior Court of California, County of San Francisco. You expressly agree and consent to the exclusive jurisdiction of the Superior Court of California for this limited purpose, and further consent to and agree that the venue of any dispute claiming $1000 or less brought under these Terms of Service shall be exclusively in the County of San Francisco.")),ty||(ty=(0,o.A)("p",{},void 0,"In any arbitration or action described above, you understand that NiteFlirt is expressly permitted to use as evidence any captured data, recording, screenshot, frame, and all other such information, including without limitation third party monitoring information, in prosecuting its claim or defense.")),iy||(iy=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead"},void 0,"21. Disclaimers"))),oy||(oy=(0,o.A)("p",{},void 0,"The Site is a Member-driven interactive platform with content provided by individual Members (which by definition includes Flirts
1). Under Section 230 of the Communications Decency Act (47 U.S.C. § 230 ",(0,o.A)("em",{},void 0,"et seq"),"), we are shielded from liability for any legal suit in connection with materials provided or published through the Site, Flirt Services or Content. As specified elsewhere, we operate an online platform only and shall not be considered the publisher or speaker of any material provided by a Flirt or Member, including without limitation, through Content and/or Flirt Services (including cam services). With respect to any Flirt Services that you elect to engage with through the Site, you acknowledge and agree as follows: (i) that we are neither the creator nor source of the material conveyed; (ii) that we simply offer a platform for Members and Flirts to engage and interact through approved Flirt Services; (iii) the Member or Flirt who posted the applicable material, Flirt Service or Content is solely responsible for any claims or liabilities associated with, arising from, or in any way relating to such material, Flirt Service or Content; (iv) each Member's purchases or use of Flirt Services or Content is solely at each applicable Member's own risk; and (v) you forever release NiteFlirt, specifically including again our affiliates, successors, assigns, officers, employees, agents, directors, shareholders and attorneys from any and all claims and liabilities associated with, arising from, or in any way relating to material transmitted, communicated, shared or otherwise disseminated on or through this Site.")),ay||(ay=(0,o.A)("p",{},void 0,"NiteFlirt does not itself provide any information, entertainment services or other products or services, nor verify, guarantee, or make any representations regarding the identity or qualifications of any Member or Flirt. Further, NiteFlirt does not make editorial or managerial decisions concerning Flirt Services, Goodies or Content, sexually explicit or otherwise, except that NiteFlirt reserves its right to act as specified in Section 512 of Title 17 and Section 230(c)(2)(A) of Title 47 of the United States Code and to determine at any time, in its sole discretion, whether and to what extent to do so.")),ry||(ry=(0,o.A)("p",{},void 0,'The Site and any Flirt Services obtained through the Site are provided "AS IS" with no warranty of any kind. NiteFlirt expressly disclaims all warranties, express or implied, regarding the Site, Flirt Services, Content, and all communications between Members made through the site, including any implied warranty of quality, availability, merchantability, fitness for a particular purpose or non-infringement. In addition, NiteFlirt makes no representation or warranty that the operation of the Site will be error-free.')),ny||(ny=(0,o.A)("p",{},void 0,"WE DO NOT WARRANT THAT YOU WILL BE ABLE TO ACCESS OR USE THE SITE OR FLIRT SERVICES AT THE TIMES OR LOCATIONS OF YOUR CHOOSING, THAT THE SITE/FLIRT SERVICES WILL BE UNINTERRUPTED OR ERROR-FREE, THAT DEFECTS WILL BE CORRECTED, OR THAT THE SITES ARE FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS. WE ARE NOT RESPONSIBLE FOR ANY FAILURE TO PERFORM DUE TO UNFORESEEN CIRCUMSTANCES OR TO CAUSES BEYOND OUR REASONABLE CONTROL INCLUDING WITHOUT LIMITATION, FAILURE OF THE TELECOMMUNICATIONS OR INFORMATION SERVICES INFRASTRUCTURE, HACKING, SPAM, ANY FAILURE OF A COMPUTER, SERVER, OR SOFTWARE (INCLUDING OPERATING SYSTEM), SERVER CHANGES OR UPGRADES, OR CHANGE OF SERVICE PROVIDERS, FOR SO LONG AS SUCH EVENT CONTINUES TO DELAY THE FLIRT SERVICE OR SITE'S PERFORMANCE.")),sy||(sy=(0,o.A)("p",{},void 0,"The contents of this Site are protected by copyright and may not be copied or otherwise reproduced without NiteFlirt's written permission except as expressly set forth above. You may not publish, or create derivative works from the contents of the Site for any public or commercial purpose. NiteFlirt owns and retains all rights in or to certain trademarks, trade names, service marks, logos, and/or slogans, whether now existing, or hereafter created, including but not limited to NiteFlirt and Speak to Your Desire.")),ly||(ly=(0,o.A)("p",{},void 0,"Under no circumstances will NiteFlirt be liable to you for any indirect, incidental, consequential, special or exemplary damages arising out of or in connection with the use of the Site or Flirt Services, whether or not NiteFlirt has been advised of the possibility of such damages. Without limiting the generality of the foregoing, NiteFlirt and its suppliers' aggregate liability to you arising with respect to this agreement will not exceed the greater of (a) the total fees actually earned by NiteFlirt from you (after payments to Members and other third parties) in the previous twelve (12) months, and (b) one hundred dollars ($100). NiteFlirt will not be liable for the consequences of any interruptions or errors.")),dy||(dy=(0,o.A)("p",{},void 0,"NiteFlirt reserves the right (but does not have an obligation) to contact any Member or Flirt in 
1its sole discretion and/or to review account activity with or without revealing Member or Flirt identity, in order to evaluate compliance with the rules and guidelines set forth in this Terms of Service and to take other action as set forth in the Privacy Policy and other parts of the NiteFlirt User Agreement.")),cy||(cy=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead"},void 0,"22. Miscellaneous"))),uy||(uy=(0,o.A)("p",{},void 0,"If any provision of these Terms of Service or the NiteFlirt User Agreement is held to be invalid or unenforceable, the provision shall be deemed superseded by a valid, enforceable provision that most closely matches the intent of the original provision and the remaining provisions shall be enforced. NiteFlirt's failure to act with respect to a breach by you or others does not waive NiteFlirt's right to act with respect to subsequent or similar breaches. The failure of NiteFlirt to exercise or enforce any right or provision of these terms and conditions shall not constitute a waiver of such right or provision. These Terms of Service and the NiteFlirt User Agreement shall be governed by and interpreted in accordance with the laws of the State of California, excluding its conflict of laws provisions, and you irrevocably submit to this jurisdiction. The parties agree to the exclusive jurisdiction of the courts of the State of California for disputes claiming $1000 or less and further agree that the venue of any such action shall be brought exclusively in the County of San Francisco. The parties acknowledge that these Terms of Service and NiteFlirt User Agreement evidence a transaction involving interstate commerce. The Federal Arbitration Act shall govern the interpretation, enforcement and proceedings pursuant to the arbitration clause in these Terms of Service and NiteFlirt User Agreement. In the event any party shall commence any claims, actions, formal legal action, or arbitration to interpret and/or enforce the terms and conditions of these Terms of Service, or relating in any way to the NiteFlirt User Agreement, including without limitation your breach or threatened breach of NiteFlirt User Agreement, the prevailing party in any such action or proceeding shall be entitled to recover, in addition to all other available relief, its reasonable attorney's fees and costs incurred in connection therewith, including attorney's fees incurred on appeal, up to the maximum amount of $10,000. If a party fails to first negotiate the dispute or fails to participate in arbitration, that party waives its right to attorney's fees and costs.")),my||(my=(0,o.A)("p",{},void 0,"Phew! You're done! Thanks for taking the time to read our Terms of Service. Why don't you reward yourself by giving one of our ",(0,o.A)(s.N_,{to:"/"},void 0,"Flirts")," a call. If you have any questions drop us a note at ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"),".")),(0,o.A)("div",{style:{height:"400px"}})));try{py.displayName="TOS"}catch(e){}const hy=py;var gy,vy,Ay,yy,fy,by,wy,xy,Cy,ky,Sy,_y,Ny,Py,Ty,Fy,Iy,Ey,My,Oy,Dy,Ry,Ly,jy,qy,By,zy,Uy,$y,Wy,Gy,Hy,Yy,Vy,Qy,Zy,Ky,Xy,Jy,ef,tf,of,af,rf,nf,sf,lf,df,cf,uf,mf,pf,hf,gf,vf,Af,yf,ff,bf,wf,xf,Cf,kf,Sf,_f,Nf,Pf,Tf,Ff,If,Ef,Mf,Of,Df,Rf,Lf,jf,qf,Bf,zf,Uf,$f,Wf,Gf,Hf,Yf,Vf,Qf,Zf,Kf,Xf,Jf,eb,tb,ib,ob,ab,rb,nb,sb,lb,db,cb,ub,mb,pb,hb,gb,vb,Ab,yb,fb,bb,wb,xb,Cb,kb;const Sb=()=>{const{data:e}=(0,k.zg)(),t=e.txn_url,i=(0,x.u)("ADD_CC_MONEY_22750")?"/account/cards":`${t}/cards?tracking_context=privacy_policy`;return a.createElement(a.Fragment,null,gy||(gy=(0,o.A)(pg,{})),(0,o.A)("div",{className:"text-legal"},void 0,vy||(vy=(0,o.A)("h2",{},void 0,"NiteFlirt Privacy Policy for USERS, MEMBERS & FLIRTS")),Ay||(Ay=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"section1"},void 0,"1. Introduction"))),yy||(yy=(0,o.A)("p",{},void 0,'This Privacy Policy describes how NF Entertainment, LLC, a Delaware limited liability company d.b.a NiteFlirt ("we," "us," "our" or "NiteFlirt") collects, uses, discloses, and protects the personal information of consumers ("you" or "your") and Flirts in accordance with our policies and applicable U.S. state privacy laws, including but not limited to the laws of California, Colorado, Connecticut, Florida, Montana, Oregon, Texas, Utah, and Virginia (collectively, the "U.S. State Privacy Laws") and European Union General Data Protection Regulation ("GDPR"). Although we do our best to protect the privacy rights of our Flirts, some of these laws do not apply to Flirts as they are not "consumers" as defined by these statutes. All capitalized terms not expressly defined herein have the meanings set forth in our ',(0,o.A)(s.N_,{to:"/help/tos"},void 0,"Terms of Service."))),fy||(fy=(0,o.A)("p",{},void 0,"We do not knowingly collect personal information from individuals under 18 years of age.")),by||(by=(0,o.A)("p",{},void 0,"Your privacy and the security of your information is extremely important to us at NiteFlirt. This Privacy Policy describes the information we collect about you and what may happen to that information.")),wy||(wy=(0,o.A)("p",{},void 0,"This Privacy Policy, together with our ",(0,o.A)(s.N_,{to:"/help/tos"},void 0,"Terms of Service."),", ",(0,o.A)(s.N_,{to:"/help/complaints"},void 0,"Complaints Policy"),", ",(0,o.A)(s.N_,{to:"/help/contentremoval"},void 0,"Content Removal Policy"),", ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/articles/212830688-NiteFlirt-Rules",target:"_blank",rel:"noopener noreferrer"},void 0,"NiteFlirt Rules")," and ",(0,o.A)(s.N_,{to:"/help/affiliate_agreement"},void 0,"Affiliate Agreement"),", collectively make up the ",(0,o.A)("strong",{},void 0,'"NiteFlirt User Agreement"')," that governs all users', Members' and Flirts' access to and use of our platform and Flirt Services, and is incorporated by reference therein. This Privacy Policy covers information you may provide directly or inadvertently to us through the NiteFlirt.com website, Mail, phone services, Goodies, Chat, Feeds (hereinafter collectively the ",(0,o.A)("strong",{},void 0,'"Site"'),'). We reserve the right to change all or part of this Privacy Policy at any time with or without prior notice to you. The updated version will be indicated by an updated "Revised" date and will be effective as soon as it is accessible.')),xy||(xy=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"section2"},void 0,"2. Personal Information We Collect"))),Cy||(Cy=(0,o.A)("p",{},void 0,"Unless your ",(0,o.A)(Ag,{to:"section6"},void 0,"State-specific laws conflict"),", we may collect the following categories of personal information (together with Device Information (defined below), ",(0,o.A)("strong",{},void 0,"“Information”"),") as listed in the California Customer Records statute:")),ky||(ky=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) Identifiers (e.g., real name, Member name, postal address, email address, phone number, IP address, and other personal identifiers);"),(0,o.A)("li",{},void 0,"(b) Protected classification characteristics under California or federal law, if provided (e.g. race, religion, sexual orientation etc.);"),(0,o.A)("li",{},void 0,"(c) Commercial information (e.g. products or services purchased or c
1onsidered);"),(0,o.A)("li",{},void 0,"(d) Biometric Information: personal info that uniquely identifies an individual based on physical, physiological, or behavioral traits, such as facial features from a webcam, voice patterns from a microphone, or even keystroke patterns;"),(0,o.A)("li",{},void 0,"(e) Internet or other electronic network activity information (e.g. browsing history, search history, and interactions with our website);"),(0,o.A)("li",{},void 0,"(f) Geolocation data about your precise geographic location;"),(0,o.A)("li",{},void 0,"(g) Sensory data which includes audio, electronic, visual or similar information;"),(0,o.A)("li",{},void 0,"(h) Professional or employment-related information (if provided);"),(0,o.A)("li",{},void 0,"(i) Non-public education information (if provided);"),(0,o.A)("li",{},void 0,"(m) Inferences drawn from personal information (e.g. your preferences, behavior, etc.)."))),Sy||(Sy=(0,o.A)("p",{},void 0,"In addition, we collect device information from the devices you use to access the Site. Such information could include your device type, IP address, browser information, and other geolocation data (",(0,o.A)("strong",{},void 0,"“Device Information”"),"). NiteFlirt uses your Device Information to help identify you, diagnose problems with our server and to administer the Site. Generally, Device Information tells us the location from which a person is connecting to us, what service provider the person is using and which parts of the Site the user is visiting. We reserve the right to track Device Information for the purposes of fraud prevention, and we reserve the right to release Device Information addresses to legal authorities, if so compelled or as we see fit at our sole discretion.")),_y||(_y=(0,o.A)("p",{},void 0,"If you register as a Member or purchase Flirt Services, we may also collect credit card information when you perform a transaction within your Member account, add money to your Member account, or use your credit card to take advantage of special promotions. NightFlirt uses a third-party to process credit cards for billing purposes, ",(0,o.A)(Ag,{to:"section7"},void 0,"and Secure Socket Layer (“SSL”) digital encryption"),". This third-party may store or retain a Member's personally identifiable information. In certain cases, we will also use credit card information to help us verify your identity. We do not charge or bill the credit card when we collect credit card information for identity verification purposes.")),Ny||(Ny=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"section3"},void 0,"3. How We Use Your Personal Information"))),Py||(Py=(0,o.A)("p",{},void 0,"Our primary goal in collecting Information from you is to provide you with a smooth and efficient experience while you and our Flirts are using the Site and to keep you informed of opportunities and options available from us. This allows us to provide services and features that are designed to meet your and our Flirts’ needs, and to customize our service to make your experience better, easier and quicker. ",(0,o.A)("strong",{},void 0,"We never sell, rent, or lease your Information to anyone"),". We will only share your information with third-party partners, for the reasons described ",(0,o.A)(Ag,{to:"section4"},void 0,"below"),", to help us enhance your experience using the Site and Flirt Services. Your Information is only shared with third parties we do business with to provide better service to you, or to authorities as required by law. We do not share our Flirts’ Information with anyone other than as-needed in the manner described ",(0,o.A)(Ag,{to:"section4"},void 0,"below"),".")),Ty||(Ty=(0,o.A)("p",{},void 0,"Generally, we use your Information for the following functionality purposes:")),Fy||(Fy=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) Providing or improving our products and services;"),(0,o.A)("li",{},void 0,"(b) Processing transactions and sending related communications;"),(0,o.A)("li",{},void 0,"(c) Maintaining and servicing Member and Flirt accounts;"),(0,o.A)("li",{},void 0,"(d) Providing customer service and support;"),(0,o.A)("li",{},void 0,"(e) Marketing and advertising;"),(0,o.A)("li",{},void 0,"(f) Analytics and improvement of our services or adding products and services;"),(0,o.A)("li",{},void 0,"(g) Security and fraud prevention;"),(0,o.A)("li",{},void 0,"(h) Legal compliance;"),(0,o.A)("li",{},void 0,"(i) Protecting the rights, property or safety of us, our users, Members, Flirts, and any related third parties."))),Iy||(Iy=(0,o.A)("p",{},void 0,"We use the Information we maintain about you, and other information we obtain from your current and past activities on the Site, to resolve disputes, identify potential liabilities, troubleshoot problems and enforce our Terms of Service. At times, we may look at your Member account or Flirt account information and transaction history to identify problems or resolve disputes. We also use the Information we collect to detect and prevent fraudulent activity, as required or flagged by law. We share suspicious activity and related Information and/or Content with third-party service providers as is necessary for the functionality of our Site, as well as to law enforcement in order to assist with this effort.")),Ey||(Ey=(0,o.A)("p",{},void 0,"In addition to the general uses set forth above, our specific uses of Information are set forth below:")),My||(My=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Age Verification:")," Age verification is critically important to us. As an online platform providing third-party adult content, entry to the Site requires age verification by law. NiteFlirt requires Flirts, Members and users to be at least eighteen (18) years of age, or the age of majority in your jurisdiction if older than 18, to use any area of the Site or Flirt Services, and requires all Members, Flirts and users to agree to the NiteFlirt User Agreement in its entirety. Minors under the age of eighteen (18) are not eligible to use our Site. If you become aware that a minor under the age of 18 has created a Member or Flirt account, is accessing the Site and/or has provided NiteFlirt with personal information for any purpose, please immediately let us know at ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]")," or by submitting a ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"Customer Support Form")," (select “Playfair Inquiry”).")),Oy||(Oy=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Member/Flirt Name:")," When you register for an account on our Site, either through our online registration form or over the phone, we may collect your Information, including without limitation your email address, Member name, real name, password, phone number and other personal information listed in the registration form. Your individual Member or Flirt name is used throughout our Site and to identify you to other Members, users and Flirts. Therefore, you should be aware that if you use your real name, or other name or handle that uniquely identifies your real name, as your Member or Flirt name, this information will be visible to others who visit the Site. We strongly discourage the use of your real name as a Member or Flirt name on the Site.")),Dy||(Dy=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Password:")," All Members’ (including Flirts’) passwords are encrypted and only used to provide you with access to your individual account on our Site. We strongly suggest that all Members and Flirts use a password unique to this Site, which shall never be shared with any other person or entity.")),Ry||(Ry=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Telephone Number:")," Because we connect Members and Flirts by telephone, if you purchase, provide or utilize Flirt Services, we require you to enter a valid telephone number to connect with Members or Flirts, as the case may be. At no time will we share a Flirt’s telephone number with a Member, or Member’s telephone number with a Flirt. Because NiteFlirt initiates all telephone calls, Members and Flirts are unable to see each other’s real telep
1hone numbers, not even with caller ID. Note that, although our systems maintain the connection between the parties to a Flirt Service telephone call, we do not monitor or record the content of any calls. However, we reserve the right at all times to monitor, interrupt or intercede any call for liability, legal compliance, safety, fraud, endangerment or any other purpose, at our sole discretion and/or if mandated by law.")),Ly||(Ly=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Email Address:")," As a Member, we may use the email address you provide us to contact you regarding account activities, new product offerings and communications relevant to your use of the Site and/or Flirt Services. If you do not wish to receive such communications from us, you have the ability to opt-out of these email communications by filling out a ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"Customer Support Form"),", or upon registration, by unchecking the box which asks if you wish to receive such mailings. You will, however, continue to receive administrative and transaction-related emails from us that are related to billing, customer service, usage and overall functionality of the Site (collectively “Administrative Emails”). You may not opt-out of these Administrative Emails unless you cancel your Member account. You may cancel your Member account ",(0,o.A)(s.N_,{to:"/account/close"},void 0,"HERE"),".")),jy||(jy=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Identification:")," We may collect certain Information to verify our users, Members’ and Flirts’ identity. In order to verify this identity, we use a third-party service that will collect a government issued ID, such as driver’s license, passport, and where required, biometric information in the form of facial analysis from webcam or other sources, physical, physiological, or behavioral characteristics, voice patterns from a microphone, or even keystroke patterns, and liveness check. This third party may use, store or retain the information and visual media provided in accordance with their privacy policy. We advise our third-party service providers that they are subject to California’s Privacy Right Act (CPRA) and are not permitted to share this information with any other person or entity as and unless required by law.")),qy||(qy=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Mail and Chat:")," We facilitate communication between Flirts and Members through our on-site Mail, Chat and phone systems. Messages sent via Mail and Chat are identified only by your Member or Flirt account name. We strongly recommend you maintain strict confidentiality as to your real identity. Members and Flirts should not provide any personally identifiable information within these Mail and Chat interactions. We are not responsible for any disclosure of personal information or any resulting harm that disclosing same may cause.")),By||(By=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Other Profile/Site/Feed Information:")," Members and Flirts may provide additional profile information (such as experience, affiliations, schedule, and for Flirts, visual images and/or Content etc.) that is displayed on your profile and/or (for Flirts) published on our Feed/the Site. While we do not sell or rent such information to any third party, note that we are not responsible for maintaining the privacy of information posted publicly to the Site. If a Member or Flirt chooses to post on any NiteFlirt Feed or forum, please know that any personally identifiable information that you post can be read, collected, or used by others, and could be used to send you unsolicited messages. We are not responsible for the personally identifiable information that you provide publicly, whether knowingly or unknowingly, through these Feeds and/or forums, nor any resulting damage you, or any other user, Member, Flirt or third party may suffer as a result.")),zy||(zy=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Information Specific to Flirts:")," If you are a Flirt providing Flirt Services through the Site, we collect additional information from you so we can verify your identity and process and remit to you the funds you earn. We collect your mailing address and your bank account information in order to remit payments. We collect your Federal Tax ID (Social Security number or Employer Identification Number) to prepare Form 1099-K, if necessary, and to help us verify your identity and to ensure we abide by all financial and taxation-related laws. Flirts who are not United States citizens, residents or taxpayers will not be asked for their Federal Tax ID, though they may need to report income to their specific jurisdiction’s tax authority and will be required to provide us with equivalent evidence of their age and identity. We do not provide tax advice to Flirts or any other individual or entity. All Flirts are advised to consult with their own tax advisors to ensure proper compliance with their jurisdiction’s applicable laws.")),Uy||(Uy=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Content Moderation:")," If any Member or Flirt uploads any Information or Content to any portion of our Site or Feed, or through the provision of Flirt Services, such Content or footage will be reviewed by a third-party content moderation service that utilizes artificial intelligence (",(0,o.A)("strong",{},void 0,"“AI”"),") to moderate said Content, in addition to human moderation, and ensure it is in compliance with the NiteFlirt User Agreement and all applicable laws. For further information see our ",(0,o.A)(s.N_,{to:"/help/tos#ContentModerationPolicy"},void 0,"Pre-Screening and Content Moderation Policy")," and our ",(0,o.A)(s.N_,{to:"/help/contentremoval"},void 0,"Content Removal Policy"),".")),$y||($y=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Links to Outside Websites:")," Our Site may contain links to third-party websites. When your browser leaves our Site, NiteFlirt is not responsible for the privacy practices or the content of third-party pages or websites. We encourage all users, Members and Flirts to carefully review the terms of service and privacy policies of all third-party websites, links and accounts into which they wish to browse or enter. We are not responsible for any undesired or unrequested disclosures of Information by any third-party page or website, whether or not linked to by us, whether directly or indirectly.")),Wy||(Wy=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Analytics:")," We may use certain Information collected from our Flirts and/or Members in aggregate form, directly or through third-party providers (such as ",(0,o.A)(Ag,{to:"google"},void 0,"Google Analytics"),"), to tailor our Flirts’ and Members' experience on the Site, for instance, by showing certain Members Content that we think they might be interested in, and/or suggesting/displaying specific Flirts and/or Content according to Member preferences and behavior.")),Gy||(Gy=(0,o.A)("p",{},void 0,(0,o.A)("u",{id:"google"},void 0,"Google Analytics:")," We use a tool called ‘Google Analytics’ to collect information about the use of the Site. Google Analytics collects information such as how often users visit the Site, what pages they visit, and what other sites they used prior to coming to our Site. Visit Google’s website identifying exactly what Google Analytics collects. NiteFlirt uses the information collected from Google Analytics only to improve Members’ experience with the Site. Google Analytics collects only the IP address assigned to you on the date you visit NiteFlirt, rather than your name or other identifying information. Unless required by court order or law enforcement, we do not combine the information collected through the use of Google Analytics with personally identifiable Information. Although Google Analytics plants a permanent cookie on your web browser to identify you as a unique user the next time you visit the Site, the cookie cannot be used by anyone other than Google. Google’s ability to use and share information collected by Google Analytics about your visits to our Site is restricted by the Google Analytics Terms of Use and the Google Privacy Policy.")),Hy||(Hy=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Cookies:")," Our Site utilizes cookies. Cookies are small amounts of data sent to a user’s (including Members’ and Flirts’) browser from the NiteFlirt web servers and stored on a user, Member and/or Flirt’s computer’s hard drive. NiteFlirt uses co
1okies to track the pages on the Site that our users, Members and Flirts visit. This allows us to collect aggregate information about usage on the Site. NiteFlirt may also use cookies to deliver content specific to Members' interests, and to keep track of Members’ names, passwords and preferences so that Members do not have to re-enter them during a session. Sessions are tracked to improve users’/Members’/Flirts’ on-site experience and for us to refine our own marketing programs. You can manage your cookie settings directly on your browser, or when applicable, on your device. If you choose not to accept cookies, you may be unable to use all or part of the Site.")),Yy||(Yy=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Complaints:")," If users, Members or Flirts send NiteFlirt email correspondence or otherwise correspond through the Complaint Policy or ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"Customer Support Form")," available on the Site, or if any third party sends us email or other correspondence regarding a particular Flirt or Member's activities or postings in connection with the Site, NiteFlirt may collect, use, store and or otherwise utilize such complainant’s Information to the extent allowed and/or in accordance with applicable law. ")),Vy||(Vy=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"section4"},void 0,"4. Disclosure of Personal Information"))),Qy||(Qy=(0,o.A)("p",{},void 0,"Except as explicitly stated herein, we do not sell, rent or trade any personally identifiable Information to any third party. Your Information is not sold, rented, or leased to any third party for marketing, sales, advertising or any other purposes.")),Zy||(Zy=(0,o.A)("p",{},void 0,"As discussed further below, in very specific circumstances we may disclose your Information to:")),Ky||(Ky=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) Service providers and contractors that perform services on our behalf;"),(0,o.A)("li",{},void 0,"(b) Business partners as part of joint marketing efforts (if you haven’t opted out);"),(0,o.A)("li",{},void 0,"(c) Affiliated companies;"),(0,o.A)("li",{},void 0,"(d) Related parties on an as-needed basis in connection with the sale or transfer of our business or assets;"),(0,o.A)("li",{},void 0,"(e) Government authorities or other third parties as required by law or for regulatory purposes."))),Xy||(Xy=(0,o.A)("p",{},void 0,"We may disclose your personal Information to appropriate authorities and/or to banks and other financial and payment processing institutions associated with your Member or Flirt account in order to process transactions, issue credits, and/or to prevent or report suspected fraud and/or illegal activities, in order to prevent harm, fraud, endangerment to any persons, and/or if we believe in good faith that disclosure is required by law. In some cases, the government can compel the disclosure of information about you, and we will comply, and by accessing and utilizing our Site you authorize us to do so. You also consent to us disclosing Information about you in connection with disputes involving payment, membership, Content, other Flirts or Members, and to actual or potential parties to a lawsuit or action that we are or may become involved in, (a) if we are required to do so, (b) if we reasonably believe that such disclosure will potentially mitigate our liability, and/or (c) to enforce our rights.")),Jy||(Jy=(0,o.A)("p",{},void 0,"As stated above, NiteFlirt may disclose some personally identifiable Information to vendors and third-party service providers in connection with communications and payments to Flirts, Members and other aspects of operating and promoting the Site and Flirt Services. For example, we use a third-party company to deliver NiteFlirt promotions, and we share your email address with these companies unless you opt-out of receiving NiteFlirt's promotions by unchecking the box on the Personal Info Page which asks if you wish to receive such mailings.")),ef||(ef=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"section5"},void 0,"5. NiteFlirt SMS Messaging Program"))),tf||(tf=(0,o.A)("p",{},void 0,"NiteFlirt only uses informational SMS messaging programs (called SMS Alerts) to inform a Member that they have a new Chat message, and only after they have Opted-In to the use of SMS messaging. SMS Alerts are off by default for all Members. See below for more information.")),of||(of=(0,o.A)("p",{},void 0,"SMS messaging is NOT used: (a) for communication between a Flirt and Member, (b) for communication between Member and other Members, (c) for marketing or promotional purposes;
1 (d) other than for technical purposes, to share a Member or Flirt's phone number with any third parties, or our affiliates, or (e) for the sale, rental, or trade of a Member or Flirt's phone number with third parties.")),af||(af=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Information We Collect for SMS Messaging Program.")," In connection with the NiteFlirt SMS messaging program, we may collect:")),rf||(rf=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) your mobile phone number, provided during account registration and verified through our phone verification process before SMS programs can be enabled;"),(0,o.A)("li",{},void 0,"(b) opt-in records, including the timestamp, IP address, and account identifier captured when you enable an SMS program;"),(0,o.A)("li",{},void 0,"(c) message metadata, including timestamps, delivery receipts, error codes, message origination and/or destination points, IP addresses, device and/or carrier information, and other technical information related to the transmission of SMS messages;"),(0,o.A)("li",{},void 0,"(d) opt-out records, including the timestamp and method (STOP keyword reply or settings toggle) when you opt out;"),(0,o.A)("li",{},void 0,"(e) Session Initiation Protocol (SIP) header anomalies;"),(0,o.A)("li",{},void 0,"(f) Evidence that the message was an Unwanted Message (e.g. evidence that the message was abusive, harmful, malicious, unlawful, SHAFT content, or otherwise inappropriate);"),(0,o.A)("li",{},void 0,"(g) information related to the volume of messages; and"),(0,o.A)("li",{},void 0,"(h) any communications you have with NiteFlirt support related to SMS programs."))),nf||(nf=(0,o.A)("p",{},void 0,"We do not collect the content of replies beyond recognized command keywords (STOP, HELP, START).")),sf||(sf=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"How We Use SMS Information.")," We use the Information described above to:")),lf||(lf=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"deliver SMS notifications you have opted in to receive;"),(0,o.A)("li",{},void 0,"verify your identity and account ownership;"),(0,o.A)("li",{},void 0,"maintain records of opt-in and opt-out consent as required by applicable law and carrier requirements;"),(0,o.A)("li",{},void 0,"diagnose and resolve delivery problems;"),(0,o.A)("li",{},void 0,"detect and prevent fraud and misuse of NiteFlirt SMS programs;"),(0,o.A)("li",{},void 0,"comply with legal and regulatory obligations, including the Telephone Consumer Protection Act (TCPA) and CTIA (the wireless industry association) guidelines; and"),(0,o.A)("li",{},void 0,"respond to your support requests."))),df||(df=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Who Has Access.")," SMS-related Information is accessible to:")),cf||(cf=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(i) NF Entertainment, LLC employees and contractors who require access to operate and support NiteFlirt SMS programs; and"),(0,o.A)("li",{},void 0,"(j) our SMS delivery service provider, which delivers SMS messages on our behalf and receives the phone number, message content, and delivery metadata necessary to perform this function."))),uf||(uf=(0,o.A)("p",{},void 0,"We require all third parties with access to SMS data to maintain appropriate confidentiality and security protections and to use SMS data only for the purposes for which it was provided.")),mf||(mf=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Data Retention.")," We retain opt-in records for the duration of your account plus a reasonable period following opt-out as required to demonstrate consent under applicable law. Message delivery metadata is retained for accounting, operational and compliance purposes. Phone numbers are retained as part of your NiteFlirt account record in accordance with the general retention practices described in this Privacy Policy.")),pf||(pf=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Volume of SMS Messages.")," NiteFlirt will only send SMS messages when a Member has SMS Alerts enabled, receives a Chat message and has been inactive for 30 minutes or more. NiteFlirt is not responsible for the volume of messages sent by a Member or Members in the aggregate. Members are able to set Quiet Hours for SMS Alerts and are able to opt-out of receiving SMS messages at any time and in their sole discretion.")),hf||(hf=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Your SMS Rights.")," You may opt out of any NiteFlirt SMS program at any time as described 
1in Section 12 of our ",(0,o.A)(s.N_,{to:"/help/tos"},void 0,"Terms of Service"),". You may also access, request correction of, or request deletion of your SMS-related Information, subject to our obligation to retain proof-of-consent records, by contacting us as described in the general ",(0,o.A)(Ag,{to:"section6"},void 0,'"Your Privacy Rights"')," section of this Privacy Policy.")),gf||(gf=(0,o.A)("p",{},void 0,"For questions about this section or NiteFlirt's SMS data practices, contact ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"),". NiteFlirt will respond to you within a reasonable period of time not exceeding seven (7) days.")),vf||(vf=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"section6"},void 0,"6. Your Privacy Rights"))),Af||(Af=(0,o.A)("p",{},void 0,"Depending on your U.S. state of residence, you may have the following rights in connection with the Information we collect, use and/or disclose:")),yf||(yf=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) Right to know/access;"),(0,o.A)("li",{},void 0,"(b) Right to delete;"),(0,o.A)("li",{},void 0,"(c) Right to correct;"),(0,o.A)("li",{},void 0,"(d) Right to opt-out of sale or sharing of personal information;"),(0,o.A)("li",{},void 0,"(e) Right to limit use and disclosure of sensitive personal information;"),(0,o.A)("li",{},void 0,"(f) Right to data portability;"),(0,o.A)("li",{},void 0,"(g) Right to non-discrimination for exercising your privacy rights."))),ff||(ff=(0,o.A)("p",{},void 0,"To access your state-specific privacy rights, please click on the link of your relevant state below. Although California State law applies to the interpretation of the NiteFlirt User Agreement, your individual state privacy rights apply to you. California privacy rights do not apply to you unless you are residing in the State of California. Note that the specific laws of your state of residence will control to the extent they conflict with the general terms stated elsewhere in this Privacy Policy. These state-specific rights are in addition to any general rights afforded to you, described below, subject to approval of the individual state. If your state is not listed, the general terms stated below and elsewhere in this Privacy Policy apply to you.")),bf||(bf=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,(0,o.A)(Ag,{to:"California"},void 0,"California")),(0,o.A)("li",{},void 0,(0,o.A)(Ag,{to:"Colorado"},void 0,"Colorado")),(0,o.A)("li",{},void 0,(0,o.A)(Ag,{to:"Connecticut"},void 0,"Connecticut")),(0,o.A)("li",{},void 0,(0,o.A)(Ag,{to:"Florida"},void 0,"Florida")),(0,o.A)("li",{},void 0,(0,o.A)(Ag,{to:"Montana"},void 0,"Montana")),(0,o.A)("li",{},void 0,(0,o.A)(Ag,{to:"Oregon"},void 0,"Oregon")),(0,o.A)("li",{},void 0,(0,o.A)(Ag,{to:"Texas"},void 0,"Texas")),(0,o.A)("li",{},void 0,(0,o.A)(Ag,{to:"Utah"},void 0,"Utah")),(0,o.A)("li",{},void 0,(0,o.A)(Ag,{to:"Virginia"},void 0,"Virginia")))),wf||(wf=(0,o.A)("p",{},void 0,"If you are accessing our Site or using Flirt Services from outside the US, including in the European Economic Area, please be aware that your Information will be transferred to the US, stored on US servers, and potentially processed in other countries whose data protection laws may not be as protective as those in the EU. All collection, storage, use, disclosure and security of your Information will be in accordance with this Privacy Policy.")),(0,o.A)("p",{},void 0,xf||(xf=(0,o.A)("u",{},void 0,"Accessing, Updating, and Correcting your Information:"))," You can review, update and change some of your personally identifiable Information — including your email address, telephone number, password and PIN number — by clicking on the ",Cf||(Cf=(0,o.A)(s.N_,{to:"/account/account_info"},void 0,"Account Info"))," link on the Account page. You can view and update your credit card information and billing address on the ",(0,o.A)(s.N_,{to:i,target:"_blank"},void 0,"Manage Credit Cards")," page. To update your payee address and information, visit the ",kf||(kf=(0,o.A)(s.N_,{to:"/account/payout"},void 0,"Payment Info"))," page. You may correct, update or delete any of your NiteFlirt listings by clicking on the ",Sf||(Sf=(0,o.A)(s.N_,{to:"/account/my_listings"},void 0,"Listings link"))," on the Account page. You may also request a copy of the personal Information we maintain about you or your account by filling out a ",_f||(_f=(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"Customer Support Form")),"."),Nf||(Nf=(0,o.A)("p",{},void 0,"We only keep your personal identifiable Information for as long as necessary to fulfill the purposes described 
1in this Privacy Policy, as determined by us at our sole discretion, or as required by law, including without limitation, certain U.S. State privacy laws, and the EU's General Data Protection Regulation (GDPR). Consumers located in certain US states and EU have the right to request their data be deleted and can do so by filling out a ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"Customer Support Form"),". In some cases, we must retain some Information for a limited amount of time after you have requested your information be deleted, as required by law or as reasonably necessary for business purposes.")),Pf||(Pf=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Deletion of Your Data:")," The best way to delete your Information is to cancel your Member account on our Site. If you decide you would like to cancel your Member account, you can do so by either of the following: (a) sending us an email to ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]")," (include your Member name and email address); or (b) filling out a ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"Customer Support Form")," asking us to cancel your account; or (c) clicking ",(0,o.A)(s.N_,{to:"/account/close"},void 0,"HERE"),". Note that we may retain a portion of your Information for reasonable business purposes (e.g. payment processing, customer relations, security, fraud prevention, preserving or defending our legal rights) and/or as required by law.")),Tf||(Tf=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Notification of Financial Incentive:")," We do not sell, lease or rent your Information to third parties. If we at any time offer any financial incentive in exchange for the collection, retention, or sale of personal Information in the future, we will provide a clear description of the material terms of the incentive program.")),Ff||(Ff=(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Exercising Your Privacy Rights:")," To exercise any other privacy rights, you may:")),If||(If=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) Submit a request through our ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"Customer Support Form"),"; or"),(0,o.A)("li",{},void 0,"(b) Email us at ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"),"."))),Ef||(Ef=(0,o.A)("p",{},void 0,"We will verify your identity before processing your request. You may also designate an authorized agent to make a request on your behalf. While we will do our best to address your request within seven (7) business days, note that it may take up to 45 days to have your request fully resolved.")),Mf||(Mf=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"section7"},void 0,"7. Security of Your Personal Information"))),Of||(Of=(0,o.A)("p",{},void 0,"NiteFlirt has implemented industry standard security measures in place to help protect against the loss, misuse, alteration, unauthorized access, improper disclosure and unlawful destruction of the Information under our control. We protect Information by maintaining physical, electronic and procedural safeguards in compliance with applicable US federal and state regulations. We use Secure Socket Layer (SSL), which digitally encrypts your information as it is transferred from your computer to NiteFlirt. We use computer safeguards such as firewalls and data encryption and we enforce physical access controls to our buildings and files. We also take the following measures to protect user Information once it is received by the Site:")),Df||(Df=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"Employees have limited and controlled access to Members’ and Flirts’ Information;"),(0,o.A)("li",{},void 0,"Measures have been taken so that servers and the data stored thereon are in a secure physical location;"),(0,o.A)("li",{},void 0,"Security software is used where NiteFlirt determines it to be both appropriate and cost effective;"),(0,o.A)("li",{},void 0,"Employees are informed of all security protocol on a regular basis, and"),(0,o.A)("li",{},void 0,"Web security procedures are quality-assured weekly."))),Rf||(Rf=(0,o.A)("p",{},void 0,"Although we strive to keep your and our Flirts’ personal Information secure, no security measures are absolute and fool-proof and there is always a possibility that a security breach could occur, resulting in the release of your data or Information. Users, Members and Flirts should consider all Information, communications, and data provided to our Site to be non-confidential, and consequently, we assume no responsibility or liability if any Information relating to any user, Member or Flirt is intercepted and/
1or used by an unintended recipient. We will notify you of any data breach as required under applicable law.")),Lf||(Lf=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"section8"},void 0,"8. Notification of Changes"))),jf||(jf=(0,o.A)("p",{},void 0,"We will do our best to notify you by email and/or a notice in your Member/Flirt account if there is a material change in our privacy practices or policies. We will take commercially reasonable measures to obtain written or active email consent from you if we will use the Information collected from you in a manner different from that stated at the time of collection. We will also do our best to notify you by email and/or a notice in your Member/Flirt account of the changes in this Privacy Policy thirty (30) days prior to a change, and at that time you will be given the opportunity to accept the changes or otherwise cancel your Member/Flirt account.")),qf||(qf=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"section9"},void 0,"9. Contact Us"))),Bf||(Bf=(0,o.A)("p",{},void 0,"If you have any questions about this Privacy Policy, the practices of this Site or your dealings with NiteFlirt, please contact us by filling out a ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"Customer Support Form"),", or by sending us an email:")),zf||(zf=(0,o.A)("p",{},void 0,"Email: ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"))),Uf||(Uf=(0,o.A)("p",{},void 0,"Mailing Address:",(0,o.A)("br",{}),"NiteFlirt",(0,o.A)("br",{}),"182 Howard Street #418",(0,o.A)("br",{}),"San Francisco, CA 94105")),(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"California",style:{marginTop:"50px",borderTop:"2px solid var(--color_ccc"}},void 0,"California Specific Provisions")),$f||($f=(0,o.A)("p",{},void 0,"Your rights under California law:")),Wf||(Wf=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) Shine the Light Law: California residents may request certain information regarding our disclosure of personal information to third parties for their direct marketing purposes."),(0,o.A)("li",{},void 0,'(b) Do Not Track: We currently do not respond to "Do Not Track" signals from web browsers.'),(0,o.A)("li",{},void 0,"(c) Minors: We do not knowingly collect or sell personal information of minors under 16 without affirmative authorization."),(0,o.A)("li",{},void 0,"(d) Right to Know: You may request information about the personal information we have collected about you in the past 12 months, including the categories of information collected, the sources, the business purpose, and the categories of third parties with whom we share the information."),(0,o.A)("li",{},void 0,"(e) Right to Delete: You may request deletion of personal information we have collected from you, subject to certain exceptions."),(0,o.A)("li",{},void 0,"(f) Right to Correct: You may request correction of inaccurate personal information."),(0,o.A)("li",{},void 0,"(g) Right to Opt out: You may opt-out of sale or sharing of your personal information to third parties. Although we do not sell or lease your personal information. Although we do share your information with our service providers as stated in our Privacy Policy."),(0,o.A)("li",{},void 0,"(h) Right to Limit Use of Sensitive Personal Information: You may direct us to limit the use of your sensitive personal information."),(0,o.A)("li",{},void 0,"(i) Right to Non-Discrimination: We will not discriminate against you for exercising your privacy rights."))),Gf||(Gf=(0,o.A)("p",{},void 0,"To exercise your rights under California law you may contact us as provided in this Privacy Policy. Note that we will have to verify your identity before responding to your request and we will respond to all verifiable requests within 45 days.")),Hf||(Hf=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"Colorado"},void 0,"Colorado Specific Provisions"))),Yf||(Yf=(0,o.A)("p",{},void 0,"Your rights under Colorado law:")),Vf||(Vf=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) Right to Access: You may request access to your personal data."),(0,o.A)("li",{},void 0,"(b) Right to Correction: You may request that we correct inaccuracies in your personal data."),(0,o.A)("li",{},void 0,"(c) Right to Deletion: You may request that we delete personal data provided by or obtained about you."),(0,o.A)("li",{},void 0,"(d) Right to Data Portability: You may obtain a copy of your personal data in a portable format."),(0,o.A)("li",{},void 0,"(e) Right to Opt-Out: You may opt out of targeted advertising, the sale of personal data, and certain types of profiling."))),Qf||(Qf=(0,o.A)("p",{},void 0,"To exercise your rights under Colorado law you may contact us as provided in this Privacy Policy. Note that we will have to verify your identity before responding to your request and we will respond to all verifiable requests within 45 days.")),Zf||(Zf=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"Connecticut"},void 0,"Connecticut Specific Provisions"))),Kf||(Kf=(0,o.A)("p",{},void 0,"Your rights under Connecticut law:")),Xf||(Xf=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) Right to Access: You may confirm whether we are processing your personal data and access that data."),(0,o.A)("li",{},void 0,"(b) Right to Correction: You may request that we correct inaccuracies in your personal data."),(0,o.A)("li",{},void 0,"(c) Right to Deletion: You may request that we delete personal data provided by or obtained about you."),(0,o.A)("li",{},void 0,"(d) Right to Data Portability: You may obtain a copy of your personal data in a portable and readily usable format."),(0,o.A)("li",{},void 0,"(e) Right to Opt-Out: You may opt out of targeted advertising, sale of personal data, and profiling in furtherance of decisions that produce legal or similarly significant effects concerning you."))),Jf||(Jf=(0,o.A)("p",{},void 0,"To exercise your rights under Connecticut law you may contact us as provided in this Privacy Policy. Note that we will have to verify your identity before responding to your request and we will respond to all verifiable requests within 45 days.")),eb||(eb=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"Florida"},void 0,"Florida Specific Provisions"))),tb||(tb=(0,o.A)("p",{},void 0,"Your rights under Florida law:")),ib||(ib=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) Access: You may request access to the personal information we maintain about you."),(0,o.A)("li",{},void 0,"(b) Correction: You may request that we correct inaccuracies in your personal information."),(0,o.A)("li",{},void 0,"(c) Deletion: You may request that we delete personal information we have collected from you, subject to certain exceptions."),(0,o.A)("li",{},void 0,"(d) Opt-Out: You may opt-out of certain types of data processing, including targeted advertising and sale of personal data."),(0,o.A)("li",{},void 0,"(e) Complaint: You may file a complaint with the Florida regulatory authority if you believe your rights have been violated."))),ob||(ob=(0,o.A)("p",{},void 0,"We will notify affected users and relevant authorities in the event of a data breach as required by Florida law.")),ab||(ab=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"Montana"},void 0,"Montana Specific Provisions"))),rb||(rb=(0,o.A)("p",{},void 0,"Your rights under Montana law:")),nb||(nb=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) Right to Access: You may request confirmation that we are processing your personal data and access to that data."),(0,o.A)("li",{},void 0,"(b) Right to Correction: You may request correction of inaccuracies in your personal data."),(0,o.A)("li",{}
1,void 0,"(c) Right to Deletion: You may request deletion of personal data that you provided or that we obtained about you, subject to certain exceptions."),(0,o.A)("li",{},void 0,"(d) Right to Opt-Out: You may opt out of targeted advertising, the sale of personal data, and profiling in furtherance of decisions that produce legal or similarly significant effects concerning you."))),sb||(sb=(0,o.A)("p",{},void 0,"To exercise your rights under Montana law you may contact us as provided in this Privacy Policy. We will verify your identity before responding and reply within 45 days.")),lb||(lb=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"Oregon"},void 0,"Oregon Specific Provisions"))),db||(db=(0,o.A)("p",{},void 0,"Your rights under Oregon law:")),cb||(cb=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) Access: You may request access to personal information we have collected about you."),(0,o.A)("li",{},void 0,"(b) Correction: You may request correction of inaccuracies in your personal information."),(0,o.A)("li",{},void 0,"(c) Deletion: You may request deletion of personal information collected from or about you, with exceptions."),(0,o.A)("li",{},void 0,"(d) Opt-Out: You may opt out of the processing of your personal data for targeted advertising and profiling."),(0,o.A)("li",{},void 0,"(e) Appeal: You may appeal any denial of a request to exercise your privacy rights."))),ub||(ub=(0,o.A)("p",{},void 0,"You may also file a complaint with the Oregon Attorney General’s office if you believe your rights have been violated.")),mb||(mb=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"Texas"},void 0,"Texas Specific Provisions"))),pb||(pb=(0,o.A)("p",{},void 0,"Your rights under Texas law:")),hb||(hb=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) Access: You may request access to your personal information."),(0,o.A)("li",{},void 0,"(b) Correction: You may request correction of inaccuracies in your personal information."),(0,o.A)("li",{},void 0,"(c) Deletion: You may request deletion of personal information we have collected from or about you."),(0,o.A)("li",{},void 0,"(d) Opt-Out: You may opt out of certain data processing activities, including targeted advertising and sale of personal data."))),gb||(gb=(0,o.A)("p",{},void 0,"To exercise your rights under Texas law you may contact us as provided in this Privacy Policy. We will verify your identity before responding and reply within 45 days.")),vb||(vb=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"Utah"},void 0,"Utah Specific Provisions"))),Ab||(Ab=(0,o.A)("p",{},void 0,"Your rights under Utah law:")),yb||(yb=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) Access: You may request access to the personal information we maintain about you."),(0,o.A)("li",{},void 0,"(b) Deletion: You may request that we delete personal information we collected from you, subject to exceptions."),(0,o.A)("li",{},void 0,"(c) Opt-Out: You may opt out of targeted advertising and sale of personal data."))),fb||(fb=(0,o.A)("p",{},void 0,"To exercise your rights under Utah law you may contact us as provided in this Privacy Policy. We will verify your identity before responding and reply within 45 days.")),bb||(bb=(0,o.A)("p",{},void 0,(0,o.A)("span",{className:"subhead",id:"Virginia"},void 0,"Virginia Specific Provisions"))),wb||(wb=(0,o.A)("p",{},void 0,"Your rights under Virginia law:")),xb||(xb=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"(a) Confirm: You may confirm whether we are processing your personal data and access such data."),(0,o.A)("li",{},void 0,"(b) Correction: You may request correction of inaccuracies in your personal data."),(0,o.A)("li",{},void 0,"(c) Deletion: You may request deletion of your personal data."),(0,o.A)("li",{},void 0,"(d) Copy: You may obtain a copy of your personal data in a portable and readily usable format."),(0,o.A)("li",{},void 0,"(e) Opt-Out: You may opt out of targeted advertising, sale of personal data, and profiling that produces legal or similarly significant effects."))),Cb||(Cb=(0,o.A)("p",{},void 0,"You may also file a complaint with the Virginia Attorney General’s office if you believe your privacy rights have been violated.")),kb||(kb=(0,o.A)("p",{},void 0,"To exercise your rights under Virginia law you may contact us as provided in this Privacy Policy. Note that we will have to verify your identity before responding to your request and we will respond to all verifiable requests within 45 days.")),(0,o.A)("div",{style:{height:"400px"}})))};try{Sb.displayName="PrivacyPolicy"}catch(e){}const _b=Sb;var Nb;const Pb=()=>Nb||(Nb=a.createElement(a.Fragment,null,(0,o.A)("b",{},void 0,"NiteFlirt's 18 U.S.C. 2257 statement"),(0,o.A)("br",{}),"NiteFlirt is not the primary nor secondary producer (as defined in 18 U.S.C. § 2257) of any of the content found on the Site.",(0,o.A)("br",{}),(0,o.A)("br",{}),"NiteFlirt requires all Members, Flirts, and users who access or use any area of the NiteFlirt Site to be eighteen (18) years old or older. Further NiteFlirt requires all members who upload content to certify that all models were 18 years or older on the date the content was created and that they keep records if and as required by Sections 2257/2257A of Title 18 of the US Code.",(0,o.A)("br",{}),(0,o.A)("br",{}
1),"NiteFlirt acts as a technology service to allow Members to share information, entertainment services, or other products or services among themselves. In respect to content, NiteFlirt's activities are limited to the transmission, storage, retrieval, hosting, and/or formatting of depictions posted by third party users, on areas of the website under the user's control. NiteFlirt does not evaluate, provide, produce, or control the Flirt Services, information, or exchanges between Members, in any manner. NiteFlirt does not itself provide any content, information, entertainment services, or other products or services, nor verify, guarantee, or make any representations regarding the identity or qualifications of any Flirt or Member. NiteFlirt does not make editorial or managerial decisions concerning Member or Flirt content, sexually explicit or otherwise.",(0,o.A)("br",{}),(0,o.A)("br",{}),"By using the NiteFlirt service, Members and Flirts are bound by the ",(0,o.A)(s.N_,{to:"/help/tos"},void 0,"Terms of Service")," to follow all applicable federal, state and local laws, regulations, and ordinances relating to obscene and indecent content, communications, and record-keeping obligations.",(0,o.A)("br",{}),(0,o.A)("br",{}),"Flirts are solely responsible for the content provided under their NiteFlirt Member accounts and for ensuring that they are in compliance with all applicable laws and regulations, including but not limited to providing certain record location information under 18 USC 2257 and corresponding regulations where applicable. Please direct 2257 records requests directly to the respective Flirt who has uploaded the content. For assistance communicating with any Flirt please contact ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"),".",(0,o.A)("br",{}),(0,o.A)("br",{})));try{Pb.displayName="Statement2257"}catch(e){}const Tb=Pb;var Fb,Ib,Eb,Mb,Ob,Db;const Rb=()=>a.createElement(a.Fragment,null,(0,o.A)("img",{src:"/niteflirt/images/redesign/hero3/bg-pane2.jpg",style:{width:"100%"},alt:""}),Fb||(Fb=(0,o.A)("p",{},void 0,"Back in the day, finding hot phone sex was like navigating a maze. You'd dial a number, holding your breath for a mystery voice on the other end. Reaching the same person again? A shot in the dark. The cost? A mystery until your phone bill showed up.")),Ib||(Ib=(0,o.A)("p",{},void 0,"NiteFlirt changed all that. When we entered the scene over 20 years ago, we didn't just flip the script; we rewrote the entire steamy narrative. NiteFlirt was the first to offer a unique online marketplace, uniting discerning individuals with eager folks ready to engage. Your journey here is more than a transaction – it's an exploration of desires, a meeting of minds, and an escape into a world where connection is key.")),Eb||(Eb=(0,o.A)("p",{},void 0,"NiteFlirt is committed to authenticity. No scripts, no actors – just real people ready to share moments of intimacy with you. Our platform is a dynamic stage where personalities shine through via profiles, feeds, photos, and videos, allowing you to explore your desires.")),Mb||(Mb=(0,o.A)("p",{},void 0,"And we go beyond the spoken word. Build deeper connections by sexting with your favorites. Interact socially by following their feeds. Dive into a treasure trove of digital media – videos and pictures capturing the essence of these captivating creators. NiteFlirt makes it easy to not just hear their voices but to experience their allure.")),Ob||(Ob=(0,o.A)("p",{},void 0,'Privacy is our pledge. Your personal information is never revealed and we ensure discreet billing as "NF Services." With RapidSSL secured, encrypted servers and over 20 years of established trust, your NiteFlirt journey is safe, secure, and discreet.')),Db||(Db=(0,o.A)("p",{},void 0,"So, whether you're exploring the realms of live phone passion, engaging in titillating sexting adventures, or discovering the digital media of our enchanting creators, NiteFlirt invites you to step into a world where connection is an art form, desire is celebrated, and satisfaction is not just a promise but a guarantee. Welcome to NiteFlirt - Speak to Your Desire.")));try{Rb.displayName="About"}catch(e){}const Lb=Rb;var jb,qb,Bb,zb,Ub,$b,Wb,Gb,Hb,Yb,Vb,Qb,Zb,Kb,Xb,Jb,ew,tw,iw,ow,aw,rw,nw,sw,lw,dw,cw,uw,mw,pw,hw,gw,vw,Aw,yw,fw,bw,ww,xw,Cw,kw,Sw,_w,Nw,Pw,Tw,Fw,Iw,Ew,Mw,Ow,Dw,Rw,Lw;const jw=()=>(0,o.A)("div",{className:"body"},void 0,jb||(jb=(0,o.A)("p",{},void 0,'This Affiliate Agreement ("Agreement") contains the complete terms and conditions that apply to you participating in the NiteFlirt Affiliate Program. The purpose of this Agreement is to allow you to link between a web site owned and controlled by you (the "Affiliate\'s Web Site") and the NiteFlirt.com web site and NiteFlirt 800 
1numbers  (collectively the "NiteFlirt Site"). This Agreement will become effective upon once you agree to the Agreement (the "Effective Date"). NiteFlirt reserves the right to accept or reject your application in NiteFlirt\'s sole discretion. Defined terms shall have the meaning set forth herein or in Exhibit A below.')),(0,o.A)("ol",{style:{listStyle:"decimal"}},void 0,(0,o.A)("li",{},void 0,"Linking to the NiteFlirt Site",(0,o.A)("ol",{style:{listStyle:"decimal"}},void 0,qb||(qb=(0,o.A)("li",{},void 0,"Maintenance and Monitoring of Placements",(0,o.A)("table",{},void 0,(0,o.A)("tr",{},void 0,(0,o.A)("td",{valign:"top"},void 0,"a.  "),(0,o.A)("td",{},void 0,"NiteFlirt has the right to monitor the content on Affiliate's Web Site in a commercially reasonable manner as NiteFlirt believes necessary to monitor use of the Placements and for compliance with the terms of this Agreement. NiteFlirt has the right to notify you of any reasonable changes that you need to make to comply with the NiteFlirt guidelines for the use of the Placements, and to otherwise comply with the terms of this Agreement, and you agree to promptly make such changes.")),(0,o.A)("tr",{},void 0,(0,o.A)("td",{valign:"top"},void 0,"b.  "),(0,o.A)("td",{},void 0,"You shall cooperate with NiteFlirt in order to establish and maintain any Placements between the NiteFlirt Site and Affiliate's Web Site.")),(0,o.A)("tr",{},void 0,(0,o.A)("td",{valign:"top"},void 0,"c.  "),(0,o.A)("td",{},void 0,"You agree that NiteFlirt will be allowed to place an identifying tag in each Placement that will identify the origin of a user that arrives directly at the NiteFlirt Site by clicking on the Placement."))),(0,o.A)("br",{}))))),(0,o.A)("li",{},void 0,"Payments of Referral Fees from NiteFlirt to You",(0,o.A)("ol",{style:{listStyle:"decimal"}},void 0,Bb||(Bb=(0,o.A)("li",{},void 0,"NiteFlirt will pay a one time Referral Fee for each New Customer who enters the NiteFlirt Site directly from Placements on Affiliate's Web Site or in email newsletters.")),zb||(zb=(0,o.A)("li",{},void 0,"NiteFlirt will not pay Referral Fees for the registration of any individuals or accounts who have previously registered with NiteFlirt, even if the registration contains a different email address, credit card number, or other information different from the user's previous registration. NiteFlirt will not pay a Referral Fee for Members who have later re-entered and registered on the NiteFlirt Web Site after previously following a Placement from the Affiliate's Web Site to the NiteFlirt Web Site. ")),Ub||(Ub=(0,o.A)("li",{},void 0,"Payment of Referral Fees will be a credit to your NiteFlirt Account on a monthly basis and in accordance with NiteFlirt's Payment Policy. If this Agreement terminates, any Referral Fees due at the time of termination will be paid within the normal payment schedule. "))),$b||($b=(0,o.A)("br",{}))),Wb||(Wb=(0,o.A)("br",{})),Gb||(Gb=(0,o.A)("li",{},void 0,"Compliance with Applicable Laws",(0,o.A)("p",{},void 0,"You are solely responsible for the accuracy and appropriateness of all materials posted on Affiliate's Web Site, and for ensuring that your activities, including materials posted on Affiliate's Web Site and communications with NiteFlirt, other Members, New Customers, and potential customers are not defamatory, in violation of copyright laws or otherwise illegal. You further agree that your activities, including communications with NiteFlirt, other Members, New Customers and potential customers regarding or relating to NiteFlirt in any way, are in full compliance with all applicable laws in your jurisdiction. You further agree to abide by NiteFlirt's Anti-Spam Policy.You agree to indemnify and hold NiteFlirt harmless for any violations of the foregoing. NiteFlirt disclaims all liability for these matters."))),Hb||(Hb=(0,o.A)("br",{})),(0,o.A)("li",{},void 0,"Press Releases and Other Publicity",(0,o.A)("ol",{style:{listStyle:"decimal"}},void 0,Yb||(Yb=(0,o.A)("li",{},void 0,"You shall not issue any public statement(s) regarding the relationship with NiteFlirt without the prior written approval of NiteFlirt. Notwithstanding the foregoing, NiteFlirt may issue an initial press release regarding the relationship between the parties.")),Vb||(Vb=(0,o.A)("li",{},void 0,'NiteFlirt prohibits certain forms of advertising on the NiteFlirt Site or using any Placements or other NiteFlirt Marks. Advertising commonly referred to as "spamming" could damage NiteFlirt\'s goodwill. You shall not undertake any spamming referring to the NiteFlirt Site, or using any Placements or other NiteFlirt Marks. You shall not refer to the NiteFlirt Site, or use any Placements or other NiteFlirt Marks in any unsolicited commercial email (UCE), postings to non-commercial newsgroups and cross-posting to multiple newsgroups at once. In addition, you shall not advertise in any way that effectively conceals or misrepresents your identity, domain name, or return email address.')),Qb||(Qb=(0,o.A)("li",{},void 0,"Although NiteFlirt always requires that its written consent be given for the uses above, NiteFlirt generally approves mailings so long as the recipient is already a customer or subscriber of your services, and recipients have the option to remove themselves from future mailings. NiteFlirt generally approves newsgroup postings so long as the news group specifically welcomes commercial messages. In all cases, you must always clearly represent yourself and the Affiliate's Web Site as independent from NiteFlirt."))),Zb||(Zb=(0,o.A)("br",{}))),Kb||(Kb=(0,o.A)("br",{})),Xb||(Xb=(0,o.A)("li",{},void 0,"Modification",(0,o.A)("br",{}),"NiteFlirt may modify any of the terms and conditions in this Agreement, at any time in its sole discretion. Modifications may include, but are not limited to, changes in the scope of Referral Fees, payment procedures, and NiteFlirt's Affiliate Program rules. If any modification is unacceptable to you, you shall have the right to terminate this Agreement as set forth below. Your continued participation in NiteFlirt's Affiliate Program following the posting of the change notice or new agreement on the NiteFlirt Site will constitute your agreement to the changes.",(0,o.A)("br",{}))),Jb||(Jb=(0,o.A)("br",{})),ew||(ew=(0,o.A)("li",{},void 0,"Term and Termination",(0,o.A)("br",{}),"The term of this Agreement will begin on the Effective Date and will end when terminated by either party. Either NiteFlirt or you may terminate this Agreement at any time, with or without cause, by giving the other party written notice of termination. Upon the termination of this Agreement for any reason, all licenses granted hereunder shall immediately terminate and you will immediately cease use of, and remove from Affiliate's Web Site, all links to the NiteFlirt Site, and all NiteFlirt trademarks and logos, other NiteFlirt Marks and all other materials provided in connection with this Agreement.",(0,o.A)("br",{}))),tw||(tw=(0,o.A)("br",{})),(0,o.A)("li",{},void 0,"Grant of Licenses",(0,o.A)("ol",{style:{listStyle:"decimal"}},void 0,iw||(iw=(0,o.A)("li",{},void 0,"Subject to the terms of this Agreement, you have the nonexclusive, nontransferable and nonsublicensable right to use and display NiteFlirt trademarks and service marks, only to refer specifically to NiteFlirt services and products in connection with the Placements, and only in the form which NiteFlirt provides you for such limited purposes. Such referential usage must be truthful, fair and not misleading or disparaging. NiteFlirt trademarks, service marks and logos must be used with a minimum spacing surrounding them and not be incorporated into your own product names, trademarks, service names, logos, company names or dba's. You shall not adopt marks or logos that are confusingly similar to NiteFlirt's marks or logos.")),ow||(ow=(0,o.A)("li",{},void 0,"You grant to NiteFlirt a non-exclusive, non-transferable, revocable right to utilize your name, title, and logo in the advertising, marketing, promoting, and publicizing, in any manner, related to NiteFlirt's rights under this Agreement. NiteFlirt is not under any obligation to so advertise, market, promote, or publicize")),aw||(aw=(0,o.A)("li",{},void 0,"Each party agrees not to use the other's proprietary materials, marks or other intellectual property in any manner that is disparaging or that otherwise portrays the party in a negative light. Each party reserves all of its respective rights in the proprietary materials and intellectual property covered by this license. Other than the license granted in this Agreement, each party retains all right, title, and interest to its respective rights and no right, title, or interest is transferred to the other."))),rw||(rw=(0,o.A)("br",{}))),nw||(nw=(0,o.A)("br",{})),sw||(sw=(0,o.A)("li",{},void 0,"DISCLAIMER",(0,o.A)("p",{},void 0,'NITEFLIRT PROVIDES THE NITEFLIRT SITE AND ALL CONTENT, INFORMATION AND SERVICES AVAILABLE THEREIN, "AS IS" AND MAKES NO EXPRESS OR IMPLIED REPRESENTATIONS OR WARRANTIES REGARDING NITEFLIRT OR ANY SERVICES OR INFORMATION PROVIDED BY ANY MEMBER OF NITEFLIRT. ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT ARE EXPRESSLY DISCLAIMED AND EXCLUDED. IN ADDITION, NITEFLIRT MAKES NO REPRESENTATION THAT THE OPERATION OF THE NITEFLIRT SITE WILL BE UNINTERRUPTED OR E
1RROR FREE, AND NITEFLIRT WILL NOT BE LIABLE FOR THE CONSEQUENCES OF ANY INTERRUPTIONS, DOWNTIME OR ERRORS.'))),lw||(lw=(0,o.A)("br",{})),dw||(dw=(0,o.A)("li",{},void 0,"Representations, Warranties and Covenants",(0,o.A)("p",{},void 0,"You represent and warrant that 1) you have full right, power, and authority to enter into and be bound by the terms and conditions of this Agreement and to perform your obligations under this Agreement, without the approval or consent of any other party; 2) you have sufficient right, title, and interest in and to the rights granted to NiteFlirt in this Agreement; 3) the material posted on Affiliate's Web Site does not defame any third party or violate or infringe upon the rights of any third party and all applicable copyright and other laws that pertain to it; 4) you shall not make any representations or warranties regarding the services provided by NiteFlirt; and 5) you shall not make or publicize any statements that are disparaging of NiteFlirt or that otherwise portray NiteFlirt in a negative light."))),cw||(cw=(0,o.A)("br",{})),uw||(uw=(0,o.A)("li",{},void 0,"LIMITATIONS OF LIABILITY",(0,o.A)("p",{},void 0,"NOTWITHSTANDING ANYTHING TO THE CONTRARY CONTAINED IN THIS AGREEMENT, NiteFlirt WILL NOT BE LIABLE TO YOU WITH RESPECT TO ANY SUBJECT MATTER OF THIS AGREEMENT UNDER ANY CONTRACT, NEGLIGENCE, TORT, STRICT LIABILITY, OR OTHER LEGAL OR EQUITABLE THEORY FOR ANY INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL, OR EXEMPLARY DAMAGES (INCLUDING, WITHOUT LIMITATION, LOSS OF GOODWILL OR ACTUAL OR ANTICIPATED REVENUE, PROFITS OR LOST BUSINESS), EVEN IF NiteFlirt HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. FURTHER, NOTWITHSTANDING ANYTHING TO THE CONTRARY CONTAINED IN THIS AGREEMENT, IN NO EVENT SHALL NiteFlirt's CUMULATIVE LIABILITY TO YOU ARISING OUT OF OR RELATED TO THIS AGREEMENT, WHETHER BASED IN CONTRACT, TORT (INCLUDING WITHOUT LIMITATION NEGLIGENCE AND STRICT LIABILITY) OR OTHER LEGAL OR EQUITABLE THEORY, EXCEED THE TOTAL REFERRAL FEES PAYABLE TO YOU UNDER THIS AGREEMENT."))),mw||(mw=(0,o.A)("br",{})),pw||(pw=(0,o.A)("li",{},void 0,"Indemnification",(0,o.A)("p",{},void 0,"You agree to indemnify and hold harmless NiteFlirt and its employees, directors, representatives, agents, and affiliates, against any and all claims, suits, actions, or other proceedings brought against NiteFlirt based on or arising from any claim resulting from your breach of the warranties and covenants in Section 9. You agree to pay any and all costs, damages, and expenses, including, but not limited to, reasonable attorneys' fees and costs awarded against or otherwise incurred by the other party in connection with or arising from any such claim, suit, action, or proceeding."))),hw||(hw=(0,o.A)("br",{})),gw||(gw=(0,o.A)("li",{},void 0,"Confidentiality",(0,o.A)("p",{},void 0,'In connection with the activities contemplated by this Agreement, you may acquire confidential technical or business information of NiteFlirt which is not generally known to the public, including without limitation (i) proposals, ideas or research related to possible new products or services; (ii) financial statements and other financial information; (iii) any reporting information required by the Agreement; and (iv) the terms of this Agreement and the relationship between the parties (collectively, "Confidential Information"). You agree not to disclose the Confidential Information or use the Confidential Information for your own benefit or for the benefit of any third party. Your obligations in this Section shall not apply to any information that you can document: (i) was in the public domain at or subsequent to the time it was communicated to you through no fault of yours; (ii) was rightfully in your possession free of any obligation of confidence owed to NiteFlirt at or subsequent to the time it was communicated to you by NiteFlirt; (iii) was in response to a valid order by a court or other governmental body or was otherwise required by law. Upon the termination or expiration of this Agreement, you shall return upon NiteFlirt\'s request or otherwise destroy all Confidential Information of NiteFlirt in your possession.'))),vw||(vw=(0,o.A)("br",{})),(0,o.A)("li",{},void 0,"Miscellaneous",(0,o.A)("ol",{style:{listStyle:"decimal"}},void 0,Aw||(Aw=(0,o.A)("li",{},void 0,"Entire Agreement. This Agreement constitutes and contains the entire agreement between the parties with respect to the subject matter hereof and supersedes any prior oral or written agreements. As a NiteFlirt Member you have also agreed to the NiteFlirt Terms of Service and this still applies to your relationship with NiteFlirt. This Agreement may not be amended except in writing signed by the parties. Each party acknowledges and agrees that the other has not made any representations, warranties or agreements of any kind, except as expressly set forth herein. All exhibits attached to this Agreement are incorporated hereby and shall be treated as if set forth herein.")),yw||(yw=(0,o.A)("li",{},void 0,"Relationship of Parties. The parties shall be deemed to be independent parties with respect to the subject matter of this Agreement, and nothing contained in this Agreement shall be deemed or construed in any manner as creating any partnership, joint venture, employment, contractor, agency, fiduciary, or other similar relationship. You shall be solely responsible for all taxes due on Referral Fees or other payments paid to you under this Agreement.")),fw||(fw=(0,o.A)("li",{},void 0,"Assignment. You may not assign your rights or obligations under this Agreement to any party.")),bw||(bw=(0,o.A)("li",{},void 0,"Applicable Law. This Agreement shall be governed by and interpreted in accordance with the laws of the State of California without regard to the conflicts of laws, rules and principles thereof.")),ww||(ww=(0,o.A)("li",{},void 0,"Severability. If any provision of this Agreement is held to be invalid or unenforceable, that provision shall be eliminated or limited to the minimum extent necessary such that the intent of the parties is effectuated, and the remainder of this agreement shall have full force and effect.")),xw||(xw=(0,o.A)("li",{},void 0,"Survival. Sections 6 and 8-13 shall survive termination of this Agreement.")),Cw||(Cw=(0,o.A)("li",{},void 0,"Notices. Any notice required under this Agreement may be given by email, fax or written letter to the number or address you provide."))),kw||(kw=(0,o.A)("br",{}))),Sw||(Sw=(0,o.A)("br",{})),_w||(_w=(0,o.A)("li",{},void 0,"General Conditions",(0,o.A)("p",{},void 0,"NiteFlirt reserves the right, at its full discretion, to disqualify any individual it suspects of undermining or manipulating the registration and/or qualifying process, the operation of the Affiliate Program or to be acting in violation of this agreement. If we determine, in our sole discretion that the this Affiliate Program is compromised by virus, bug, robot entr
1ies, or other corruption of the administration, security or proper management of the program, then at our sole discretion, we can cancel this program. In the event of your non-compliance with any requirement stated herein, NiteFlirt may withhold any payments due to you until resolution of all disputes."),(0,o.A)("p",{},void 0,"YOU HAVE READ THIS AGREEMENT CAREFULLY AND UNDERSTAND, HAVE HAD THE OPPORTUNITY TO CONSULT WITH COUNSEL AND ACCEPT THE OBLIGATIONS, WHICH IT IMPOSES UPON YOU WITHOUT RESERVATION. YOU HAVE ALSO TAKEN INTO ACCOUNT THE LIMITATION OF LIABILITY AND WARRANTY DISCLAIMER PROVISIONS OF THIS AGREEMENT PRIOR TO ACCEPTING THIS AGREEMENT. NO PROMISES OR REPRESENTATIONS HAVE BEEN MADE TO YOU TO INDUCE YOU TO SIGN THIS AGREEMENT. YOU AGREE TO THE TERMS OF THIS AGREEMENT VOLUNTARILY AND FREELY."))),Nw||(Nw=(0,o.A)("br",{}))),Pw||(Pw=(0,o.A)("br",{})),(0,o.A)("div",{style:{textAlign:"center"}},void 0,"Exhibit A - Definitions"),Tw||(Tw=(0,o.A)("br",{})),"As used in this Agreement, the terms set forth below shall have the following meanings:",Fw||(Fw=(0,o.A)("br",{})),(0,o.A)("ol",{style:{listStyle:"decimal"}},void 0,Iw||(Iw=(0,o.A)("li",{},void 0,'"NiteFlirt Marks" means the trademarks, trade names, service marks and logos of NiteFlirt that may be made available to you hereunder.')),Ew||(Ew=(0,o.A)("li",{},void 0,'"Member" means a user of the NiteFlirt Site who has completed NiteFlirt\'s registration process in order to use the NiteFlirt Service.')),Mw||(Mw=(0,o.A)("li",{},void 0,'"NiteFlirt Service" means a personal information exchange service where Members receive personalized advice and answers to their questions either in real-time or through asynchronous means, either free or for a fee.')),Ow||(Ow=(0,o.A)("li",{},void 0,'"Placements" means (i) graphical links, text links, logos and other promotions that are offered by NiteFlirt now or in the future that link directly from the Affiliate\'s Web Site to the NiteFlirt Site and (ii) other email promotions that are offered by you now or in the future and link directly to the NiteFlirt Site.')),Dw||(Dw=(0,o.A)("li",{},void 0,'"New Customer" means a user that registers as a Member for the first time, who is over 18 years old, enters a valid credit card, and places at least one paid call to another Member through the NiteFlirt Site. A New Customer may not have any other accounts registered on NiteFlirt under a different name, email address, or phone number.')),Rw||(Rw=(0,o.A)("li",{},void 0,'"Referral Fee" means fees paid to you for each New Customer who comes to the NiteFlirt Site by way of a Placement on the Affiliate\'s Web Site who is not already a Member.'))),Lw||(Lw=(0,o.A)("br",{})));try{jw.displayName="AffiliateAgreement"}catch(e){}const qw=jw;var Bw;const zw=()=>Bw||(Bw=(0,o.A)("div",{className:"body"},void 0,"NiteFlirt and Speak to Your Desire are trademarks or servicemarks of NF Entertainment, Inc."));try{zw.displayName="TrademarkNotice"}catch(e){}const Uw=zw;var $w;const Ww=()=>$w||($w=a.createElement(a.Fragment,null,(0,o.A)("h2",{},void 0,"NiteFlirt COMPLAINTS POLICY"),(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"By directing your browser to this website, you accept and agree to this Complaints Policy, which forms part of the NiteFlirt User Agreement. Please read it carefully.")," All definitions used in the Terms of Service apply to this Complaints Policy."),(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,"To make a copyright infringement complaint, or to submit a DMCA Takedown request, please follow the procedure set forth in our Terms of Service, ",(0,o.A)(s.N_,{to:"/help/tos#DMCA"},void 0,"HERE"),"."),(0,o.A)("li",{},void 0,"To appeal a Content moderation or removal decision, please follow the procedure set forth in our Terms of Service, ",(0,o.A)(s.N_,{to:"/help/tos#DMCA"},void 0,"HERE"),"."),(0,o.A)("li",{},void 0,"To submit a billing or charge-related complaint, please follow the procedure set forth in our Terms of Service, ",(0,o.A)(s.N_,{to:"/help/tos#billing"},void 0,"HERE"),"."),(0,o.A)("li",{},void 0,"If you identify any images, real or simulated, depicting minors engaged in sexual activity within any Content, or any other form of illegal pornography or acts, please report the material to us immediately by either emailing us at ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]")," or by filling out our ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"Support Form")," (select “Play Fair Inquiry”). Include with your report any appropriate evidence, including the name of the Flirt/Member, URL, and date and time of identification. All reports will immediately be investigated and the appropriate action will be taken.")),(0,o.A)("p",{},void 0,"For all other complaints, please follow the procedure below:"),(0,o.A)("p",{},void 0,"To report a complaint regarding the Site, any user, Member or Flirt, send an email detailing your complaint to ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"),". We will review and resolve your complaint within five (5) business days. In appropriate circumstances, we will take immediate action in order to help resolve the problem. You agree that in attempting to resolve any complaint you send to us we may, in our sole and exclusive determination, share your complaint in part or in 
1whole with other individuals involved and/or otherwise implicated in the complaint."),(0,o.A)("p",{},void 0,"If you believe that you have been depicted in any image, video or any other visual material without your prior consent, please send us an email detailing your complaint to ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]")," and include the information requested in our Terms of Service, ",(0,o.A)(s.N_,{to:"/help/tos#unauthimages"},void 0,"HERE"),". We will review and resolve your complaint within five (5) business days. In most circumstances, we will take immediate action to investigate whether consent was obtained. If consent cannot be established, or if you (or the person depicted in the Content if your complaint is on behalf of a different individual) can demonstrate that the consent is void under applicable law, we will take down the infringing Content immediately. If we disagree that consent was not first obtained or is void under applicable law, we will resolve such disagreement through arbitration, following the procedures set forth in our Terms of Service, ",(0,o.A)(s.N_,{to:"/help/tos#arbitration"},void 0,"HERE"),". In the case of complaints regarding alleged lack of consent, the arbitration costs charged by JAMS or Judicate West shall be paid by us, although you will be responsible for your own attorney(s)’ fees and/or other legal and expert expenses. You agree that in attempting to resolve any complaint you send to us, we may, in our sole and exclusive determination, share your complaint in part or in whole with other individuals involved and/
1or otherwise implicated in the complaint."),(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Reporting bad behavior:")," If you identify a Flirt or Member you believe to be violating any of the Terms of Service or NiteFlirt Rules, please immediately let us know by emailing us at ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"),". All reports are reviewed as soon as practicable but in no event more than five (5) business days. If the bad behavior involves violation of any law or conduct that is defrauding, threatening or endangering anyone, please fill out our ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer"},void 0,"Support Form")," (select “Play Fair Inquiry”). All reports are reviewed as quickly as possible, but if you suspect someone may be in immediate danger, please contact your local authorities also."),(0,o.A)("p",{},void 0,"In making a complaint, you must provide enough information so we can investigate your complaint, such as name of Member or Flirt, date and time of identification and any relevant URLs. If a complaint is missing important information, we may not be able to properly consider it."),(0,o.A)("p",{},void 0,"With respect to all other matters, we only provide a service which connects you with third-party content. The Site is for entertainment purposes only, and the Site and any Flirt Services obtained through the Site are provided “AS IS”. Therefore, we enforce only those rules we feel are necessary to comply with law, community standards, and for the safety of our users, Members and Flirts."),(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"Abuse of this complaints process:")," We do not tolerate complaints made in bad faith or complaints that are abusive, harassing, or otherwise intended to harm us, or any user, Member, Flirt or third party. If you are a Member and make an abusive or unfounded complaint, we reserve the right to suspend or terminate your Member account and/or refuse to provide access to the Site or Flirt Services with or without reason or notice to you.")));try{Ww.displayName="ComplaintsPolicy"}catch(e){}const Gw=Ww;var Hw;const Yw=()=>Hw||(Hw=a.createElement(a.Fragment,null,(0,o.A)("h2",{},void 0,"NiteFlirt CONTENT REMOVAL POLICY"),(0,o.A)("p",{},void 0,(0,o.A)("strong",{},void 0,"By directing your browser to this website, you accept and agree to this Content Removal Policy which forms part of the NiteFlirt User Agreement. Please read it carefully.")," All definitions used in the Terms of Service apply to this Content Removal Policy."),(0,o.A)("p",{},void 0,"We have the absolute right to remove any Content that we believe, in our sole discretion, may violate any law or the NiteFlirt User Agreement. We comply with all applicable laws regarding the use of proportionate measures to quickly remove illegal Content when we become aware it is on our Site. We are not responsible for any loss you claim to have suffered because of any action we take, in accordance with our Terms of Service and the NiteFlirt User Agreement, to suspend or remove Content. Members will not be refunded for illegal Content purchased by a Member that is subsequently removed from the Member’s account."),(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Content Moderation and Removal:")," We utilize third party content moderation technology in addition to human moderation to actively review and monitor all Content uploaded to the Site, including text, audio, images and videos. All Content is reviewed prior to being published and regularly monitored to ensure all Content complies with the NiteFlirt User Agreement and applicable laws. Any violative Content, including without limitation, Content that is harmful, unlawful, offensive, or otherwise objectionable, will be rejected and/or immediately removed from the Site. If you identify a Flirt or Member you believe to be violating any of the Terms of Service or NiteFlirt Rules, please immediately report it by emailing ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"),"."),(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Copyright/DMCA Takedown Requests:")," To make a copyright infringement complaint, or to submit a DMCA Takedown request, please follow the procedure set forth in our Terms of Service, ",(0,o.A)(s.N_,{to:"/help/tos#DMCA"},void 0,"HERE"),"."),(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Non-Consensual Use of Name, Image or Likeness:")," We have a strong policy against non-consensual production and/or distribution of any individual’s image, voice or likeness (including without limitation unauthorized or unconsented to videos, audio recordings or images, doxing, blackmail, exploitation, revenge porn etc.) If you believe the Site, or any Member or Flirt, is exhibiting, selling, offering or disseminating material in which you are depicted, and which you did not provide your consent for public dissemination, purchase or download by others, or for which you have revoked your consent, please follow the procedure set forth in our Terms of Service, ",(0,o.A)(s.N_,{to:"/help/tos#unauthimages"},void 0,"HERE"),". We will review and resolve your complaint within five (5) business days. In most circumstances, we will take immediate action to investigate whether consent was obtained. If consent cannot be established, or if you (or the person depicted in the Content if your complaint is on behalf of a different individual) can demonstrate that the consent is void under applicable law, we will remove the infringing Content immediately. If we disagree that consent was not first obtained or is void under applicable law, we will resolve such disagreement through arbitration, following the procedures set forth in our Terms of Service, ",(0,o.A)(s.N_,{to:"/help/tos#arbitration"},void 0,"HERE"),". In the case of complaints regarding alleged lack of consent, the arbitration costs charged by JAMS or Judicate West shall be paid by us, although you will be responsible for your own attorney(s)’ fees and/or other legal and expert expenses. You agree that in attempting to resolve any complaint you send to us, we may, in our sole and exclusive determination, share your complaint in part or in 
1whole with other individuals involved and/or otherwise implicated in the complaint."),(0,o.A)("p",{},void 0,(0,o.A)("u",{},void 0,"Requests by Flirts:")," You may request that we delete Content submitted by you by contacting us at ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"),". Note that we reserve the right to retain a copy of the Content in connection with our age verification requirements and/or other legal obligations. Note also that any Content purchased by Members prior to the date of your request for removal will remain in the Member accounts of such Members. We are not responsible for any copies or reproductions of Content, whether authorized or unauthorized."),(0,o.A)("p",{},void 0,"For any other requests for removal of Content, please email us at ",(0,o.A)("a",{href:"mailto:[email protected]"},void 0,"[email protected]"),". Include enough information so we can investigate the removal request, such as name of Member or Flirt, date and time of identification and any relevant URLs. If a request is missing important information, we may not be able to properly consider it."),(0,o.A)("p",{},void 0,"We review all requests for content removal as soon as practicable but in no event more than seven (7) business days.")));try{Yw.displayName="ContentRemovalPolicy"}catch(e){}var Vw,Qw,Zw,Kw;const Xw=[{index:0,title:"About NiteFlirt",path:"about",component:Lb},{index:1,title:"Terms of Service",path:"tos",component:hy},{index:2,title:"Privacy Policy",path:"privacy_policy",component:_b},{index:3,title:"Complaints Policy",path:"complaints",component:Gw},{index:4,title:"Content Removal Policy",path:"contentremoval",component:Yw},{index:5,title:"2257 Statement",path:"statement2257",component:Tb},{index:6,title:"Trademark Notice",path:"trademark_notice",component:Uw},{index:7,title:"Affiliate Agreement",path:"affiliate_agreement",component:qw}],Jw=(0,Re.Ay)(g.A)(({theme:e})=>({"&.MuiBox-root":{flexGrow:1,minHeight:"100vh",fontSize:"0.875em",lineHeight:"1.625em",[e.breakpoints.up("sm")]:{fontSize:"0.938em",lineHeight:"1.688em"}}})),ex=({children:e,title:t,index:i})=>{const r=0===i,[s,l]=(0,a.useState)(!r),d=(0,n.Zp)();(0,a.useEffect)(()=>{document.getElementById("supportContent").scrollTo(0,0),document.getElementById("supportContainer").scrollTo(0,0)},[i]);return(0,o.A)(g.A,{id:"supportContainer",sx:{flexGrow:1,height:"100vh",overflow:"auto"}},void 0,(0,o.A)(no.Ay,{container:!0,spacing:0},void 0,(0,o.A)(no.Ay,{item:!0,xs:12,sm:5,md:4,lg:3,style:{borderRight:"1px solid var(--color_ddd)"},className:"pos__Menu "+(s?"zIndexBehind":"zIndexFront")},void 0,(0,o.A)(g.A,{sx:{position:{sm:"sticky",xs:"block"},top:{sm:"0",xs:"auto"}}},void 0,(0,o.A)(g.A,{className:"subnavigation-tabs",pb:{xs:10,sm:0}},void 0,Vw||(Vw=(0,o.A)(g.A,{className:"subnavHeader"},void 0,"About")),(0,o.A)(Cm.A,{value:i,"aria-label":"Support Pages",orientation:"vertical",TabIndicatorProps:{style:{backgroundColor:"transparent"}}},void 0,Xw.map(e=>(0,o.A)(xm.A,{label:e.title,value:e.index,onClick:()=>(({path:e})=>{l(!0),d(`/help/${e}`)})(e)},e.path))),Qw||(Qw=(0,o.A)("a",{href:"//support.niteflirt.com/hc/en-us/articles/212830488-Satisfaction-Guarantee",rel:"noreferrer",target:"_blank"},void 0,(0,o.A)(ug.A,{id:"nav-new-window"},void 0,(0,o.A)(mg.Ay,{},void 0,"Satisfaction Guarantee")))),Zw||(Zw=(0,o.A)("a",{href:"//www.niteflirt.com/news/",rel:"noreferrer",target:"_blank"},void 0,(0,o.A)(ug.A,{id:"nav-new-window"},void 0,(0,o.A)(mg.Ay,{},void 0,"NiteFlirt News"))))))),(0,o.A)(no.Ay,{id:"supportContent",item:!0,xs:12,sm:7,md:8,lg:9,sx:{overflow:"auto",borderRight:{sm:"1px solid var(--color_ddd)",xs:"none"}},className:"pos__Body "+(s?"zIndexFront":"zIndexBehind")},void 0,(0,o.A)(As.A,{"data-test-id":"template-shell-header"},void 0,(0,o.A)(W.A,{direction:"row",spacing:2,alignItems:"center"},void 0,(0,o.A)("a",{href:"#",onClick:e=>{e.preventDefault(),l(!1)},"data-test-id":"ico-back-arrow"},void 0,Kw||(Kw=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-back-arrow.svg",alt:"Back",className:"mobile__arrow"}))),(0,o.A)(O.A,{"data-test-id":"template-shell-header-title",variant:"purpleHeaderTitle",sx:{pl:0}},void 0,t))),(0,o.A)(Jw,{px:{xs:3,sm:5},pt:{xs:5,sm:4},pb:{xs:20,sm:15}},void 0,e))))};try{ex.displayName="Support"}catch(e){}const tx=ex;i(91073);var ix,ox,ax,rx=i(73507),nx=i(3113),sx=i(61948);const lx=({viewingSelf:e,openSelectFilesModal:t,advisor:i})=>{const{avatarImage:r}=(0,uo.A)(i),n=i?i.avatar_image_moderation_status:"",s="pending"===n,l="rejected"===n,d=s||l?"col-xs-6":"col-xs-12",c={backgroundImage:(0,Ri.T)(r)};return a.createElement(a.Fragment,null,(0,o.A)("div",{className:"nfp-avatar-hero",style:c},void 0," "),e&&(0,o.A)("div",{className:"edit-profimage-container1"},void 0,(0,o.A)("div",{className:"row bottom-xs marginrgt0",style:{width:"100%"}},void 0,(s||l)&&(0,o.A)("div",{className:"col-xs-6 start-xs padding0"},void 0,s&&(ix||(ix=(0,o.A)("div",{className:"mockupPendingIcon1"},void 0,(0,o.A)(nx.A,{imageType:"Avatar"})))),l&&!s&&(ox||(ox=(0,o.A)("div",{className:"mockupRejectIcon1"},void 0,(0,o.A)(sx.A,{imageType:"Avatar"}))))),(0,o.A)("div",{className:`${d} end-xs padding0`},void 0,(0,o.A)("a",{href:"#",onClick:e=>{e.preventDefault(),t("avatar")}},void 0,ax||(ax=(0,o.A)("img",{src:"/plus_frontend/assets/svg/btn-edit-photo.svg",alt:"Icon",className:""})))))))};try{lx.displayName="FlirtAvatarImage"}catch(e){}const dx=lx;var cx,ux,mx,px;const hx=({viewingSelf:e,openSelectFilesModal:t,advisor:i})=>{const{coverImage:r}=(0,uo.A)(i),n=i?i.cover_image_moderation_status:"",s="pending"===n,l="rejected"===n,d={backgroundImage:(0,Ri.T)(r)};return a.createElement(a.Fragment,null,(0,o.A)("div",{className:"nfp-hero-bg",style:d},void 0,cx||(cx=(0,o.A)("div",{className:"nfp-hero-opac"}))),e&&(0,o.A)("div",{className:"row end-xs edit-cover-container1"},void 0,(0,o.A)("div",{className:"row edit-cover-container2"},void 0,s&&(ux||(ux=(0,o.A)("div",{className:"mockupPendingIcon2"},void 0,(0,o.A)(nx.A,{imageType:"Cover"})))),l&&!s&&(mx||(mx=(0,o.A)("div",{className:"mockupRejectIcon2"},void 0,(0,o.A)(sx.A,{imageType:"Cover"})))),(0,o.A)("a",{href:"#",onClick:e=>{e.preventDefault(),t("cover")}},void 0,px||(px=(0,o.A)("img",{src:"/plus_frontend/assets/svg/btn-edit-photo.svg",alt:"Icon"}))))))};try{hx.displayName="FlirtCoverImage"}catch(e){}const gx=hx,vx=({darkAssets:e=!1})=>{const{login:t}=(0,n.g)(),[i]=(0,s.ok)(),a=(0,n.Zp)(),r=e?"/plus_frontend/assets/svg/ico-back-arrow-dark.svg":"/plus_frontend/assets/svg/ico-back-arrow.svg";return(0,o.A)("div",{className:"nav-icon-sticky"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:()=>{i.get("fromCreate")?a(`${t}/feed`):i.get("fromLogin")?a(`/${t}`):a(-1)}},void 0,(0,o.A)("img",{src:r,alt:"Back"})))};try{vx.displayName="StorefrontBackArrow"}catch(e){}const Ax=vx;var yx,fx,bx,wx,xx,Cx,kx,Sx,_x,Nx,Px,Tx,Fx,Ix,Ex,Mx,Ox,Dx=i(7777),Rx=i(74928);const Lx=["new_profile","not_accepted","not_accepted_edited"],jx=({advisor:e=null,currentUser:t=null,darkAssets:i=!1,openRecordNameDrawer:r,closeRecordNameDrawer:n,handleToggleMemberSince:l,memberSinceToggleText:d,isRecordNameDrawerOpen:c,toggleTip:u,tipOpen:m,setButtonRef:p,setTipContentRef:h})=>
1{const g=!t,v=t,A=e?.id===t?.id,y=t?.record_name_path,[f,b]=(0,a.useState)("Copy Link"),[w,x]=(0,a.useState)("Copy Tribute Link"),C=i?"icon-more-hero--dark":"icon-more-hero",k=()=>{navigator.clipboard.writeText(window.location.href),b("Copied!"),setTimeout(()=>b("Copy Link"),1e3)},S=()=>navigator.share({url:window.location.href,text:"Check out this Flirt on NF+: "});return a.createElement(a.Fragment,null,(0,o.A)(Ot.A,{content:a.createElement("div",{ref:e=>h(e),className:"nfp-tooltip"},(0,o.A)("div",{className:"row nowrap-xs"},void 0,(0,o.A)("div",{className:"col-xs-11"},void 0,(0,o.A)("div",{className:"menu-links"},void 0,g&&a.createElement(a.Fragment,null,(0,o.A)(s.N_,{to:`/login?return_to=${window.location.pathname}`,title:"Send Mail",role:"link",reloadDocument:!0,tabIndex:-11},void 0,"Send Mail"),yx||(yx=(0,o.A)("br",{})),(0,o.A)("a",{role:"link",title:f,onClick:k,tabIndex:-2},void 0,f),fx||(fx=(0,o.A)("br",{})),!Lx.includes(e?.homepage_status)&&a.createElement(a.Fragment,null,(0,o.A)(s.N_,{to:`/profile/${e?.login}`,title:"Flirt Profile",rel:"noreferrer",tabIndex:-10},void 0,"Flirt Profile"),bx||(bx=(0,o.A)("br",{}))),navigator.share&&(0,o.A)("a",{title:"Share",role:"link",onClick:S,tabIndex:-1},void 0,"Share"),wx||(wx=(0,o.A)("br",{}))),v&&!A&&a.createElement(a.Fragment,null,(0,o.A)(s.N_,{to:`/messages/compose?message[recipients_list]=${e?.login}&return_to=${window.location.pathname}`,title:"Send Mail",role:"link",reloadDocument:!0,tabIndex:-9},void 0,"Send Mail"),xx||(xx=(0,o.A)("br",{})),(0,o.A)("a",{role:"link",title:f,onClick:k,tabIndex:-2},void 0,f),Cx||(Cx=(0,o.A)("br",{})),!Lx.includes(e?.homepage_status)&&a.createElement(a.Fragment,null,(0,o.A)(s.N_,{to:`/profile/${e?.login}`,title:"Flirt Profile",rel:"noreferrer",tabIndex:-8},void 0,"Flirt Profile"),kx||(kx=(0,o.A)("br",{}))),navigator.share&&(0,o.A)("a",{title:"Share",role:"link",onClick:S,tabIndex:-1},void 0,"Share"),Sx||(Sx=(0,o.A)("br",{}))),A&&a.createElement(a.Fragment,null,(0,o.A)(s.N_,{to:`/profile/${e?.login}`,title:"Flirt Profile",rel:"noreferrer",tabIndex:-7},void 0,"Flirt Profile"),_x||(_x=(0,o.A)("br",{})),(0,o.A)("a",{title:d(),role:"link",onClick:(0,Dx.debounce)(l,500),tabIndex:-6},void 0,d()),Nx||(Nx=(0,o.A)("br",{})),y&&a.createElement(a.Fragment,null,(0,o.A)(s.N_,{to:"#",title:"Record Member Name",tabIndex:-5,onClick:()=>{u(),r()}},void 0,"Record Member Name"),Px||(Px=(0,o.A)("br",{}))),e?.onboarding_complete&&(Tx||(Tx=a.createElement(a.Fragment,null,(0,o.A)(s.N_,{to:"/feed/create_post",title:"New Post",rel:"noreferrer",tabIndex:-4},void 0,"New Post"),(0,o.A)("br",{}),(0,o.A)(s.N_,{to:"/feed/queue/scheduled",title:"Posts Queue",rel:"noreferrer",tabIndex:-3},void 0,"Posts Queue"),(0,o.A)("br",{})))),Fx||(Fx=(0,o.A)(s.N_,{to:"/packages",title:"Manage Packages",rel:"noreferrer",tabIndex:-1},void 0,"Manage Packages")),Ix||(Ix=(0,o.A)("br",{})),Ex||(Ex=(0,o.A)(s.N_,{to:"/subscriptions",title:"Subscriptions",rel:"noreferrer",tabIndex:0},void 0,"Subscriptions")),Mx||(Mx=(0,o.A)("br",{})),(0,o.A)("a",{role:"link",title:w,onClick:()=>{const t=`${window.location.origin}/${encodeURIComponent(e?.login)}#tribute`;navigator.clipboard.writeText(t),x("Copied!"),setTimeout(()=>x("Copy Tribute Link"),1e3)},tabIndex:-2},void 0,w)))),(0,o.A)("div",{className:"col-xs-1 end-xs"},void 0,(0,o.A)("a",{role:"link",tabIndex:1,title:"Close Profile Menu",onClick:u},void 0,Ox||(Ox=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",className:"marginlftminus5",alt:"close"})))))),isOpen:m,tagName:"span",direction:"down",forceDirection:!0},void 0,a.createElement("a",{role:"link",tabIndex:0,title:"Toggle Profile Menu",ref:e=>p(e),onClick:u},(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-kebob.svg",alt:"More",className:C}))),y&&(0,o.A)(Rx.A,{anchor:"right",isOpen:c,closeDrawer:n,currentUser:t}))};try{jx.displayName="KebobMenu"}catch(e){}const qx=(0,Dt.A)(jx),Bx=({advisor:e=null,currentUser:t=null,darkAssets:i=!1})=>{const[r]=(0,k.Le)(),[n,s]=(0,a.useState)(!1);return(0,o.A)(qx,{advisor:e,currentUser:t,darkAssets:i,openRecordNameDrawer:()=>{s(!0)},closeRecordNameDrawer:e=>{(e=>"keydown"===e.type&&("Tab"===e.key||"Shift"===e.key))(e)||s(!1)},handleShareClick:()=>navigator.share({url:window.location.href,text:"Check out this Flirt on NF+: "}),handleToggleMemberSince:()=>
1{r({advisorLogin:t?.login,toggleValue:!e?.show_member_since})},memberSinceToggleText:()=>`${e?.show_member_since?"Hide":"Show"} Member Since Date`,isRecordNameDrawerOpen:n})};try{Bx.displayName="KebobMenuContainer"}catch(e){}const zx=Bx;var Ux;const $x=({advisor:e=null,currentUser:t=null,darkAssets:i=!1})=>(0,o.A)(g.A,{p:1},void 0,(0,o.A)(no.Ay,{container:!0,display:"flex",justifyContent:"space-between"},void 0,Ux||(Ux=(0,o.A)(no.Ay,{item:!0,ml:1},void 0,(0,o.A)(Ax,{}))),(0,o.A)(no.Ay,{item:!0,mr:1},void 0,(0,o.A)(zx,{advisor:e,currentUser:t,darkAssets:i}))));try{$x.displayName="ProfilePageControls"}catch(e){}const Wx=$x;var Gx=i(25765),Hx=i(54216);function Yx(e){const t=(0,x.u)("CHAT_STATUSES_25793"),[i,o]=(0,a.useState)(null);(0,Gx.A)([e?.push_channel],{onChatStatus:(e,t)=>o({login:t,status:e})});const r=null!=i&&i.login===e?.login?i.status:e?.chat_status;return{chatStatus:r,chatDisabled:t&&!(0,Hx.Ep)(r),chatStatusesEnabled:t}}var Vx,Qx,Zx=i(9463);const Kx=({advisor:e=null,currentUser:t=null,darkAssets:i=!1,stickyNavVisible:a=!1})=>{const{onTributeButtonClick:r}=(0,xr.A)({advisor:e}),n=(0,Zx.nZ)(t,e),{chatDisabled:s}=Yx(e),l=e?.chat_eligible;return(0,o.A)(g.A,{className:"container-hdr-sticky",id:"sticky-nav",style:{display:a?"block":"none"}},void 0,(0,o.A)(g.A,{className:"row middle-xs start-xs nowrap-xs"},void 0,(0,o.A)(g.A,{className:"col-xs-5"},void 0,(0,o.A)(g.A,{sx:{float:"left",marginTop:{left:"13px",top:"0",right:"0",bottom:"10px"}}},void 0,(0,o.A)(Ax,{darkAssets:i})),(0,o.A)("h2",{},void 0,e?.login)),(0,o.A)(g.A,{className:"col-xs-7 end-xs padding0"},void 0,(0,o.A)(g.A,{className:"container-fluid container-hdr-sticky-icons"},void 0,(0,o.A)(g.A,{className:"row nowrap-xs end-xs"},void 0,l&&(0,o.A)(g.A,{},void 0,s?(0,o.A)("span",{title:"Chat unavailable","aria-disabled":"true","data-test-id":"chat-button-disabled",style:{opacity:.4,cursor:"default",pointerEvents:"none"}},void 0,Vx||(Vx=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-top-chat.svg",alt:"Chat",className:"nav-hero-icon"}))):(0,o.A)(Us,{title:"Chat",href:n,iconSrc:"/plus_frontend/assets/svg/ico-top-chat.svg",altText:"Chat",imgClasses:"nav-hero-icon"})),(0,o.A)(g.A,{},void 0,(0,o.A)(ua.A,{role:"link",tabIndex:0,currentUser:t,title:"Pay a Tribute",onClick:r},void 0,Qx||(Qx=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-top-tribute.svg",alt:"Pay a Tribute",className:"nav-hero-icon"})))),(0,o.A)(g.A,{className:"margintop5"},void 0,(0,o.A)(zx,{advisor:e,currentUser:t,darkAssets:i})))))))};try{Kx.displayName="StickyProfilePageControls"}catch(e){}const Xx=Kx;var Jx,eC,tC,iC,oC,aC,rC,nC,sC;const lC=function({advisor:e={},currentUser:t=null,mobileVersion:i}){const{onTributeButtonClick:a}=(0,xr.A)({advisor:e}),r=(0,Zx.nZ)(t,e),n=(0,x.u)("CHAT_UI_22402",{pending:!0}),{chatDisabled:l}=Yx(e),d=e?.enrolled_chat&&!e?.explicitly_unenrolled_in_chat,c=l,u=l&&!e?.taking_calls,m=`/messages/compose?message[recipients_list]=${e?.login}&return_to=${"undefined"!=typeof window?window.location.pathname:""}`;return i?(0,o.A)("div",{className:"container-fluid padding-0-8 profile-mobile-buttons"},void 0,(0,o.A)("div",{className:"row center-xs"},void 0,d&&(0,o.A)("div",{className:"margin5"},void 0,c?(0,o.A)("span",{title:"Chat unavailable","aria-disabled":"true","data-test-id":"chat-button-disabled",style:{opacity:.4,cursor:"default",pointerEvents:"none"}},void 0,Jx||(Jx=(0,o.A)("img",{src:"/plus_frontend/assets/svg/btn-chat.svg",alt:"Chat"}))):(0,o.A)(s.N_,{title:"Chat",to:r,reloadDocument:!n,role:"link"},void 0,eC||(eC=(0,o.A)("img",{src:"/plus_frontend/assets/svg/btn-chat.svg",alt:"Chat"})))),u&&(0,o.A)("div",{className:"margin5"},void 0,(0,o.A)(s.N_,{title:"Send Mail",to:m,reloadDocument:!0,role:"link","data-test-id":"send-mail-button"},void 0,tC||(tC=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-mail.svg",alt:"Send Mail"})))),iC||(iC=(0,o.A)("div",{className:"margin5"})),(0,o.A)("div",{className:"margin5"},void 0,(0,o.A)(ua.A,{role:"link",tabIndex:0,currentUser:t,title:"Pay a Tribute",href:`/${e.login}#tribute`,onClick:a},void 0,oC||(oC=(0,o.A)("img",{src:"/plus_frontend/assets/svg/btn-tribute.svg",alt:"Pay a Tribute"})))))):(0,o.A)("div",{className:"row nowrap-sm end-sm paddingrgt15"},void 0,d&&(0,o.A)("div",{className:"padding5"},void 0,c?(0,o.A)("span",{title:"Chat unavailable","aria-disabled":"true","data-test-id":"
1chat-button-disabled",style:{opacity:.4,cursor:"default",pointerEvents:"none"}},void 0,aC||(aC=(0,o.A)("img",{src:"/plus_frontend/assets/svg/btn-chat-profile.svg",alt:"Chat"}))):(0,o.A)(s.N_,{title:"Chat",to:r,reloadDocument:!n,role:"link"},void 0,rC||(rC=(0,o.A)("img",{src:"/plus_frontend/assets/svg/btn-chat-profile.svg",alt:"Chat"})))),u&&(0,o.A)("div",{className:"padding5"},void 0,(0,o.A)(s.N_,{title:"Send Mail",to:m,reloadDocument:!0,role:"link","data-test-id":"send-mail-button"},void 0,nC||(nC=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-mail.svg",alt:"Send Mail"})))),(0,o.A)("div",{className:"padding5"},void 0,(0,o.A)(ua.A,{role:"link",tabIndex:0,currentUser:t,title:"Pay a Tribute",href:`/${e.login}#tribute`,onClick:a},void 0,sC||(sC=(0,o.A)("img",{src:"/plus_frontend/assets/svg/btn-tribute-profile.svg",alt:"Pay a Tribute",className:"nav-hero-icon"})))))};var dC,cC,uC;function mC({stickyNavVisible:e=!1,advisor:t={},currentUser:i={},viewingSelf:r=!1}){const{openModal:n}=(0,a.useContext)(bt.A),[l,d]=(0,a.useState)([]),c=(0,Zx.fn)(t),u=e=>{n({component:si,props:{selectedItems:l,setSelectedItems:d,advisor:t,profileImageMode:e}})};return a.createElement(a.Fragment,null,(0,o.A)("div",{className:"nfp-hero"},void 0,(0,o.A)("div",{className:"container-max"},void 0,(0,o.A)(Wx,{advisor:t,currentUser:i}),(0,o.A)("div",{className:"container-fluid container-profile-info"},void 0,(0,o.A)("div",{className:"row nowrap-sm"},void 0,(0,o.A)("div",{className:"col-sm-3 col-xs-4 center-xs first-part"},void 0,(0,o.A)("div",{className:"profile-avatar-block"},void 0,(0,o.A)(dx,{viewingSelf:r,openSelectFilesModal:u,advisor:t}))),(0,o.A)("div",{className:"col-sm-6 col-xs-8 start-xs second-part"},void 0,(0,o.A)("div",{className:"profile-margin1"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{className:"profile-name-block"},void 0,(0,o.A)("h2",{},void 0,t?.login)),t?.feedStatus?.hasActiveFeed&&(0,o.A)("div",{},void 0,(0,o.A)(s.N_,{title:"Feed",to:c,role:"link"},void 0,dC||(dC=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-feed.svg",alt:"Feed",className:"ico-hero-feed"}))))),(0,o.A)("div",{className:"row middle-xs"},void 0,cC||(cC=(0,o.A)("div",{className:"marginrgt15 margintop7"},void 0,(0,o.A)(Bs,{fetchStateFromApi:!0}))),t?.show_member_since&&(0,o.A)("div",{className:"member-since"},void 0,"Member Since ",(0,Ks.zO)(t?.member_since,i?.canonical_iana_timezone,Ks.DX))))),(0,o.A)("div",{className:"col-sm-3 hidden-xs"},void 0,(0,o.A)("div",{className:"profile-margin2"},void 0,(0,o.A)(lC,{advisor:t,currentUser:i,mobileVersion:!1})))),uC||(uC=(0,o.A)("div",{className:"row row-white"}))))),(0,o.A)("div",{className:"profile-edit-cover-pos"},void 0,(0,o.A)(gx,{viewingSelf:r,openSelectFilesModal:u,advisor:t})),(0,o.A)(lC,{advisor:t,currentUser:i,mobileVersion:!0}),(0,o.A)(Xx,{advisor:t,currentUser:i,stickyNavVisible:e}))}try{mC.displayName="ProfilePageHeader"}catch(e){}const pC=mC;var hC,gC=i(2610),vC=i(31829),AC=i(65929),yC=i(57337),fC=i(89012);const bC=Array.from({length:9},(e,t)=>`storefront-skeleton-${t}`),wC=()=>(0,o.A)(g.A,{px:{xs:0,sm:0},pb:{xs:10,sm:10},mr:{xs:0,sm:-3},"data-test-id":"skeleton-cards"},void 0,(0,o.A)(fC.D,{},void 0,bC.map(e=>(0,o.A)(g.A,{sx:{width:"330px",flex:"0 0 330px"}},e,(0,o.A)(no.Ay,{container:!0,sx:{border:"1px solid var(--color_ccc)"}},void 0,hC||(hC=(0,o.A)(no.Ay,{item:!0,xs:5},void 0,(0,o.A)(yC.A,{variant:"rectangular",height:155,animation:"wave"}))),(0,o.A)(no.Ay,{item:!0,xs:7,sx:{p:2}},void 0,(0,o.A)(yC.A,{variant:"text",sx:{mt:0,width:"80%"}}),(0,o.A)(yC.A,{variant:"text",sx:{mt:1}}),(0,o.A)(yC.A,{variant:"text",sx:{mt:1}}),(0,o.A)(yC.A,{variant:"text",sx:{margin:"0 auto",height:"50px",width:"80%",borderRadius:"6px"}})))))));try{wC.displayName="SkeletonStorefrontCards"}catch(e){}const xC=wC;var CC,kC=i(46825);const SC=a.memo(({advisor:e={},headingSource:t=""})=>{var i;const{login:a}=(0,n.g)(),{data:r,isLoading:s}=(0,k.Ti)({login:a}),l=(0,x.u)("CHAT_STATUS_REALTIME_26748")&&e?.id?"advisor_storefront":null;(0,kC.A)(e?.id?[e.id]:[],{cacheKey:l});const d=r?.slice()??[];return!e.explicitly_unenrolled_in_chat&&e.enrolled_chat&&e.chat_eligible&&d?.push&&d.push({type:"chat"}),s?CC||(CC=(0,o.A)(xC,{})):(0,o.A)(g.A,{px:{xs:0,sm:0},pb:{xs:10,sm:10}
1,mr:{xs:0,sm:-3}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",gap:{xs:"6px",sm:"10px"},justifyContent:{sm:"flex-start"},"@media (max-width: 900px)":{paddingLeft:"0px",maxWidth:"685px",margin:"0 auto"},"@media (max-width: 700px)":{justifyContent:"center",maxWidth:"400px"}}},void 0,d.map(r=>(0,o.A)(g.A,{sx:{width:{xs:"330px",sm:"330px"},flex:"0 0 auto"}},`listing_${r.id}`,"chat"===r.type?i||(i=(0,o.A)(AC.A,{advisor:e,cacheKey:l})):(0,o.A)(vC.A,{listing:r,headingSource:t,queryName:"getAdvisorListings",queryArgs:{login:a},cacheKey:l})))))});try{SC.displayName="AdvisorListingsContainer"}catch(e){}const _C=SC;var NC,PC,TC,FC=i(46810),IC=i(87462),EC=i(23934);const MC=({advisor:e={},advisorLoading:t,viewingSelf:i,currentUser:r={},reloadKey:s=0,titleIsLink:l=!1})=>{if(t)return NC||(NC=(0,o.A)("div",{},void 0,"Loading..."));const{goodyBagId:d}=(0,n.g)(),[c,u]=(0,a.useState)(1);(0,a.useEffect)(()=>{u(1)},[s]);const m=(0,a.useMemo)(()=>({userId:e?.id,selectedGoodyBag:d,page:c}),[e?.id,c]),{data:p,isLoading:h}=(0,kt.Uw)(m),v=p?.goody_bags||[],A=p?.count||0,y=Math.ceil(A/20),f=c<y;return h?PC||(PC=(0,o.A)(xC,{})):v.length?a.createElement(a.Fragment,null,(0,o.A)(IC.A,{top:300,arrowStyles:{prev:{left:-50,top:20},next:{right:-35,top:20}}},void 0,y>1&&(0,o.A)(EC.A,{page:c,hasNext:f,onChange:(e,t)=>
1{const i=document.getElementsByClassName("body-content");i.length>0&&(i[0].scrollTop=0),u(t)}})),(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",gap:{xs:"6px",sm:"10px"},justifyContent:{sm:"flex-start"},marginRight:"-16px","@media (max-width: 900px)":{paddingLeft:"0px",maxWidth:"685px",margin:"0 auto"},"@media (max-width: 700px)":{justifyContent:"center",maxWidth:"400px"}}},void 0,v.map(a=>(0,o.A)(g.A,{sx:{width:"330px",flex:"0 0 auto"}},`goodyBag_${a.id}`,(0,o.A)(FC.A,{goodyBag:a,selected:a.id===d,viewingSelf:i,currentUser:r,advisorLoading:t,advisor:e,titleIsLink:l}))))):TC||(TC=(0,o.A)("div",{},void 0,"No Goodies Found"))};try{MC.displayName="GoodyBagsContainer"}catch(e){}const OC=MC;var DC=i(76595);const RC=({advisor:e={},fromFeed:t=!1})=>{const{data:i,isLoading:r}=(0,k.zg)(),{currentUser:s}=i||{},{data:l,isLoading:d}=(0,k.GJ)({advisorIds:e?.id}),{data:c}=(0,k.z5)({advisorLogin:e?.login},{skip:!s}),{openDialog:u}=(0,a.useContext)(la.A),{packageId:m}=(0,n.g)(),{closeDialogAndResetTributeSlice:p,dispatch:h,setCurrentStep:v,setPackageId:A,setPackageRate:y,setRecurring:f}=(0,sa.A)({advisor:e}),b=t?l?.filter(e=>e.feedPerk):l;(0,a.useEffect)(()=>{m&&e?.login&&u({component:da.A,props:{advisorLogin:e.login,packageId:parseInt(m)}})},[m,e?.login]);return d||r?null:(0,o.A)(g.A,{px:{xs:0,sm:0},pb:{xs:10,sm:10},mr:{xs:0,sm:-3},"data-test-id":"packages-container"},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",gap:{xs:"6px",sm:"10px"},justifyContent:{sm:"flex-start"},"@media (max-width: 900px)":{paddingLeft:"0px",maxWidth:"685px",margin:"0 auto"},"@media (max-width: 700px)":{justifyContent:"center",maxWidth:"400px"}}},void 0,b.map(t=>(0,o.A)(g.A,{sx:{width:{xs:"330px",sm:"330px"},flex:"0 0 auto",'& [data-test-id="package-cta-card"]':{marginBottom:"0px"}}},`listing_${t.id}`,(0,o.A)(DC.A,{advisor:e,advisorPackage:t,currentUser:s,subscribeToPackageClick:()=>((t,i)=>s?.login===e?.login?h((0,xe.s4)({message:"We're sorry, you cannot purchase your own package.",severity:"error"})):(document.getElementsByClassName("MuiDialog-root").length>0&&(document.getElementsByClassName("MuiDialog-root")[0].style.display="block"),p(),h(f({recurring:!0})),h(A({packageId:t})),h(y({packageRate:i})),u({component:da.A,props:{advisorLogin:e.login,packageId:t}}),h(v(c?.packageSubscription?{currentStep:c?.monetaryTribute?ca.O.EXISTING_TRIBUTE:ca.O.NEW_TRIBUTE}:{currentStep:ca.O.CONFIRM_CREATE_PACKAGE_SUBSCRIPTION}))))(t.id,t.rate),headingSource:"category"})))))};try{RC.displayName="PackagesContainer"}catch(e){}const LC=RC,jC=({advisor:e,viewingMedia:t})=>{const i=(0,n.Zp)(),a=encodeURIComponent(e?.login),r=new RegExp(`(${a})/(?:feed/)?media`).test(document.location.href)||t;return(0,o.A)("div",{className:"panel no-before"},void 0,(0,o.A)("div",{className:"container-summary"},void 0,(0,o.A)("div",{className:"row middle-xs"},void 0,(0,o.A)("div",{className:"col-sm-4 col-sm-offset-2 col-xs-5 col-xs-offset-1 center-xs summary-tab "+(r?"":"active"),role:"link",tabIndex:0,onClick:()=>{i(`/${a}/feed`)}},void 0,"Posts"),(0,o.A)("div",{className:"col-sm-4 col-xs-5 center-xs summary-tab "+(r?"active":""),role:"link",tabIndex:0,onClick:()=>{i(`/${a}/feed/media`)}},void 0,"Media"))))};try{jC.displayName="FlirtFeedTabs"}catch(e){}const qC=jC;var BC;const zC=({showMediaTab:e=!1})=>{const{login:t}=(0,n.g)(),i=encodeURIComponent(t),r=new RegExp(`(${i})/(?:feed/)?media`).test(document.location.href)||e,{data:s,isLoading:l}=(0,k.yM)({login:t}),d=(0,Vi.Qj)({advisorId:s?.id},{skip:!s}),c=d?.data?.content_available,u="fulfilled"===d?.status;return l?null:s?.active?(u&&!c&&(window.location.href=`/profile/${s?.login}`),a.createElement(a.Fragment,null,(0,o.A)(qC,{advisor:s,viewingMedia:r}),!r&&(0,o.A)(Sm,{advisor:s}),r&&(0,o.A)(Um,{advisor:s}))):BC||(BC=(0,o.A)(n.C5,{replace:!0,to:"/feed/missing/profile"}))};try{zC.displayName="FlirtContentContainer"}catch(e){}const UC=zC;var $C;const WC=({currentUser:e,onSubscriptionEditClick:t,packageSubscription:i})=>(0,o.A)(g.A,{display:"flex",alignItems:"flex-start",justifyContent:"space-between","data-test-id":"subscription-box","data-test-subscription-id":i.id},void 0,(0,o.A)(g.A,{},void 0,(0,o.A)(ua.A,{role:"link",tabIndex:0,title:"Edit Subscription",currentUser:e,onClick:()=>t(i.id,i.rate)},void 0,i.rate," ","per month")),(0,o.A)(g.A,{"data-test-id":"subscription-status"},void 0,"pending_cancel"===i.status?`Expires ${(0,Ks.kz)(i.subscriptionEndsAt,e.canonical_iana_timezone)}`:"charge_failed"===i.status?a.createElement(a.Fragment,null,"Renewal Failed."," ",(0,o.A)(ua.A,{role:"link",tabIndex:0,title:"Update Card",currentUser:e,onClick:()=>t(i.id,i.rate)}
1,void 0,"Update Card"),$C||($C=(0,o.A)("br",{})),"or Expires"," ",(0,Ks.kz)(i.subscriptionEndsAt,e.canonical_iana_timezone)):`Renews ${(0,Ks.kz)(i.subscriptionEndsAt,e.canonical_iana_timezone)}`));try{WC.displayName="ActiveSubscriptionDetails"}catch(e){}const GC=WC;var HC,YC;const VC=(0,Re.Ay)(g.A)(()=>({backgroundColor:"var(--body_background)",margin:"0 auto 10px",padding:"15px 20px"})),QC=({advisor:e,currentUser:t})=>{const{data:i}=(0,k.GJ)({advisorIds:e?.id}),{data:r}=(0,k.z5)({advisorLogin:e?.login}),n=i?.filter(e=>e.feedPerk).find(Boolean)?.rate,[l,d]=(0,a.useState)(!1),{openDialog:c}=(0,a.useContext)(la.A),{closeDialogAndResetTributeSlice:u,dispatch:m,setCurrentStep:p,setPackageId:h,setPackageRate:v,setRecurring:A}=(0,sa.A)({advisor:e});if(i?.length<1)return null;const y=r?.packageSubscription?.package?.feedPerk;return(0,o.A)(VC,{},void 0,y?(0,o.A)(GC,{currentUser:t,onSubscriptionEditClick:(t,i)=>(u(),m(A({recurring:!0})),m(h({packageId:t})),m(v({packageRate:i})),c({component:da.A,props:{advisorLogin:e.login}}),m(p({currentStep:ca.O.EDIT_PACKAGE_SUBSCRIPTION}))),packageSubscription:r.packageSubscription}):(0,o.A)(g.A,{"data-testid":"explorePackageBox"},void 0,HC||(HC=(0,o.A)("strong",{},void 0,"Want full Feed access?"))," ",(0,o.A)(s.N_,{to:`/${e?.login}#packages`},void 0,"Explore Packages")," ","from"," ",n,l&&(0,o.A)(M.A,{onClick:e=>{e.preventDefault(),d(e=>!e)}},void 0,YC||(YC=(0,o.A)(q.A,{}))),l&&(0,o.A)(LC,{advisor:e,fromFeed:!0})))};try{QC.displayName="FeedPackagesContainer"}catch(e){}const ZC=QC;var KC,XC;const JC=({advisor:e={},currentUser:t={}})=>{const i=encodeURIComponent(e?.login),r=new RegExp(`(${i})/(?:feed/)?media`).test(document.location.href),s=(0,n.RQ)(`/${i}/feed/create_post`),l=(0,n.Zp)(),d=[(0,n.RQ)(`/${i}/feed/queue/scheduled`),(0,n.RQ)(`/${i}/feed/queue/processing`),(0,n.RQ)(`/${i}/feed/queue/removed`)].filter(e=>null!==e).length>0,{postId:c}=(0,n.g)();return e?.login&&Number.isInteger(parseInt(c))&&l(`/feed/${i}/${c}`),s?KC||(KC=(0,o.A)(Ki,{})):d?XC||(XC=(0,o.A)(Ud,{})):a.createElement(a.Fragment,null,(0,o.A)(ZC,{advisor:e,currentUser:t}),(0,o.A)(UC,{showMediaTab:r}))};try{JC.displayName="StorefrontFeedContainer"}catch(e){}const ek=JC;var tk=i(27009),ik=i(77347);function ok(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function ak(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?ok(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ok(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const rk=(0,Re.Ay)(g.A)(()=>({"&.MuiBox-root":{borderTop:"1px solid var(--color_eee)"}})),nk=(0,Re.Ay)(Cm.A)(()=>({"&.MuiTabs-root":{display:"flex","& .MuiTab-root":{flexGrow:"1",minWidth:"auto"},"& .MuiButtonBase-root":{padding:"0px"}}})),sk=(0,Re.Ay)(g.A)(()=>({"&.MuiBox-root":{margin:"-24px -24px 0 -24px"}})),lk=a.memo(({stickyNavVisible:e=!1,advisor:t={},advisorLoading:i=!0,viewingSelf:r,currentUser:s={}})=>{const l=window.location.pathname.split("/").filter(e=>e.length>0),d=l.length>0?l[l.length-1]:"",c=t?.login?encodeURIComponent(t.login):"",u=d&&d===c,{tab:m}=(0,a.useContext)(tk.A)||{},p=window.location.hash.substring(1),h=(0,n.Zp)(),[v,A]=a.useState(0),{path:y}=(0,n.g)(),{data:f,isLoading:b}=(0,k.GJ)({advisorIds:t?.id},{skip:!t?.id}),{data:x}=(0,k.i$)({login:t?.login},{skip:!t?.login}),C="gb"===m||"goodies"===m||"gb"===p||"goodies"===p||x?.goody_bags_present,S=(0,a.useMemo)(()=>{const e=t?.onboarding_complete,i="packages"===m||l.includes("packages"),o={phoneSex:{index:0,enabled:!0},goodies:{index:-1,enabled:C},feed:{index:-1,enabled:e},packages:{index:-1,enabled:!b&&(f?.length||i)}};let a=1;return o.goodies.enabled&&(o.goodies.index=a++),o.feed.enabled&&(o.feed.index=a++),o.packages.enabled&&(o.packages.index=a++),o},[t?.onboarding_complete,C,b,f?.length,m,l]),_=(0,a.useMemo)(()=>
1{if(!S)return 0;switch(m||p){case"gb":case"goodies":return S.goodies.enabled?S.goodies.index:0;case"feed":return S.feed.enabled?S.feed.index:0;case"packages":return S.packages.enabled?S.packages.index:0;default:return 0}},[m,p,S]),[N,P]=a.useState(0);(0,a.useEffect)(()=>{P(_)},[_]);const T=u?"category":"",F=e=>t=>{e===N&&(A(e=>e+1),document.getElementById("body-content").scrollTo({top:0,behavior:"smooth"}))},I={position:"sticky",top:"43px",padding:"0px",zIndex:"9",backgroundColor:"var(--body_background)"};return(0,ik.A)(),(0,o.A)(rk,{},void 0,(0,o.A)(g.A,{sx:(()=>{const t={borderBottom:1,borderColor:"divider"};return e?ak(ak({},I),t):t})()},void 0,(0,o.A)(nk,{value:N,onChange:(e,i)=>{if(P(i),!S)return;const o=`/${t?.login}`,a=(0,w.vO)();i===S.phoneSex.index?a||h(o):i===S.goodies.index&&S.goodies.enabled?a||h(`${o}/goodies`):i===S.feed.index&&S.feed.enabled?h(`${o}/feed`):i===S.packages.index&&S.packages.enabled?h(`${o}/packages`):h(o)},"aria-label":"Profile Tabs"},void 0,S&&(0,o.A)(xm.A,{label:"Phone Sex",id:`simple-tab-${S.phoneSex.index}`,"aria-controls":`simple-tabpanel-${S.phoneSex.index}`,onClickCapture:F(S.phoneSex.index),"data-test-id":"phone-sex-tab"}),S&&C&&(0,o.A)(xm.A,{label:"Goodies",id:`simple-tab-${S.goodies.index}`,"aria-controls":`simple-tabpanel-${S.goodies.index}`,disabled:!C,sx:C?{}:{display:"none"},onClickCapture:F(S.goodies.index),"data-test-id":"goodies-tab"}),S&&t?.onboarding_complete&&(0,o.A)(xm.A,{label:"Feed",id:`simple-tab-${S.feed.index}`,"aria-controls":`simple-tabpanel-${S.feed.index}`,onClickCapture:F(S.feed.index),"data-test-id":"feed-tab"}),S&&S.packages.enabled&&(0,o.A)(xm.A,{label:"Packages",id:`simple-tab-${S.packages.index}`,"aria-controls":`simple-tabpanel-${S.packages.index}`,onClickCapture:F(S.packages.index),"data-test-id":"packages-tab"}))),S&&(0,o.A)(gC.A,{value:N,index:S.phoneSex.index,"data-test-id":"phone-sex-tab-content"},void 0,(0,o.A)(g.A,{sx:{maxWidth:"1020px",margin:"0 auto"}},void 0,(0,o.A)(_C,{advisor:t,headingSource:T}))),S&&S.goodies.enabled&&(0,o.A)(gC.A,{value:N,index:S.goodies.index,"data-test-id":"goodies-tab-content"},void 0,(0,o.A)(g.A,{sx:{maxWidth:"1020px",margin:"0 auto"}},void 0,(0,o.A)(OC,{advisor:t,advisorLoading:i,selectedGoodyBag:y,viewingSelf:r,currentUser:s,reloadKey:v,titleIsLink:!0}))),S&&S.feed.enabled&&(0,o.A)(gC.A,{value:N,index:S.feed.index,"data-test-id":"feed-tab-content"},void 0,(0,o.A)(sk,{},void 0,(0,o.A)(ek,{advisor:t,currentUser:s,path:y}))),S&&S.packages.enabled&&(0,o.A)(gC.A,{value:N,index:S.packages.index,"data-test-id":"packages-tab-content"},void 0,(0,o.A)(g.A,{sx:{maxWidth:"1020px",margin:"0 auto"}},void 0,(0,o.A)(LC,{advisor:t,selectedPackage:y}))))});try{lk.displayName="ProfileTabsWithContent"}catch(e){}const dk=lk;function ck(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function uk(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?ck(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ck(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const mk=e=>{const[t,i]=(0,a.useState)(!1),{login:r}=(0,n.g)(),{data:s,error:l,isLoading:d}=(0,k.yM)({login:r}),{onTributeButtonClick:c}=(0,xr.A)({advisor:s});(0,a.useEffect)(()=>{"#chat"===window.location.hash&&s?.slug&&(window.location.href=`/chat/${s.slug}`)},[s?.slug]),(0,a.useEffect)(()=>{"#goodies"===window.location.hash&&(window.location.href=`/${r}/goodies`)},[]),(0,a.useEffect)(()=>{"#tribute"===window.location.hash&&s&&c()},[s]);const u=(0,k.zg)(),m=u?.data?.current_user,p=m?.id===s?.id,h=(0,a.useMemo)(()=>uk(uk({},e),{},{returnUrlTemplate:`/${r}/gb/:goodyBagId?action=buy`}),[e,r]);return(0,a.useEffect)(()=>{const e=e=>{i(e.target.scrollTop>180)},t=document.getElementById("body-content");return t&&t.addEventListener("scroll",e),()=>{t.removeEventListener("scroll",e)}},[]),(0,a.useEffect)(()=>{404===l?.status&&(window.location.href="/landing/missing/profile")},[l]),(0,o.A)(dt.A,{},void 0,(0,o.A)(tk.A.Provider,{value:h},void 0,(0,o.A)(pC,{advisor:s,currentUser:m,stickyNavVisible:t,viewingSelf:p}),(0,o.A)(dk,{stickyNavVisible:t,advisor:s,advisorLoading:d,viewingSelf:p,currentUser:m})))};try{mk.displayName="ProfilePageContainer"}catch(e){}const pk=mk;var hk,gk,vk,Ak,yk=i(76398);const fk=(0,Re.Ay)(g.A)(({theme:e})=>({"&.MuiBox-root":{fontSize:"0.938em",lineHeight:"1.5em",[e.breakpoints.up("sm")]:{fontSize:"1.000em",lineHeight:"1.5em"}}})),bk=({advisorLogin:e=null,viewingSelf:t=!1})=>{const[i,r]=(0,a.useState)(null),{data:n,error:s,isLoading:l,refetch:d}=(0,k.oz)({login:e,fromHost:i}),c=`https://${window.location.hostname}/users/${encodeURIComponent(e)}`,u=`https://${window.location.hostname}/homepages/edit`;return(0,a.useEffect)(()=>{i&&d()},[i,d]),(0,a.useEffect)(()=>{window.parent.postMessage({type:"REQUEST_PARENT_INFO"},"*");const e=e=>{"PARENT_INFO_RESPONSE"===e.data.type&&r(e.data.hostname)};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[]),(0,o.A)(fk,{p:{xs:1,sm:2},pt:{xs:3,sm:4},sx:{backgroundColor:"var(--body_background)"}},void 0,t&&["accepted","accepted_edited"].includes(n?.status)&&(0,o.A)(kp.A,{severity:"warning",sx:{mb:2},"data-test-id":"profile-warning-alert"},void 0,"Here is what customers (and potential customers!) will see when they visit your Flirt Profile, ",(0,o.A)("a",{href:c},void 0,c)," . You can ",(0,o.A)("a",{href:u},void 0,"personalize this page")," by adding a message or photos."),t&&"not_accepted"===n?.status&&(0,o.A)(kp.A,{severity:"warning",sx:{mb:2},"data-test-id":"profile-warning-alert"},void 0,"Your profile has not been accepted to appear in the NiteFlirt directory.",hk||(hk=(0,o.A)("br",{}
1)),"Reason: ",n?.last_acceptance?.subject_label,gk||(gk=(0,o.A)("br",{})),"Comment: ",n?.last_acceptance?.comment,vk||(vk=(0,o.A)("br",{})),Ak||(Ak=(0,o.A)("br",{})),"Please ",(0,o.A)("a",{href:u},void 0,"edit your profile")," and resubmit them for review."),t&&["new","not_accepted_edited"].includes(n?.status)&&(0,o.A)(kp.A,{severity:"warning",sx:{mb:2},"data-test-id":"profile-warning-alert"},void 0,"Your profile is pending review by our Play Fair team. This review can take up to two business days."),n?.data?.toString(),l&&"Loading...",s&&"Error loading homepage",n?.content&&(0,o.A)(g.A,{id:"redesign-homepage",sx:{overflow:"hidden"},dangerouslySetInnerHTML:{__html:n.content},"data-test-id":"profile-content"}))};try{bk.displayName="Homepage"}catch(e){}const wk=bk;var xk,Ck,kk,Sk,_k,Nk,Pk,Tk,Fk;const Ik=({advisor:e=null,currentUser:t=null,toggleTip:i,tipOpen:r,setButtonRef:n,setTipContentRef:l,darkAssets:d=!1})=>{const c=!t,u=t,m=e?.id===t?.id,p=t?.record_name_path,[h,g]=(0,a.useState)("Copy Link"),[v]=(0,k.Le)(),A=((0,x.u)("redesign_users"),encodeURIComponent(e?.login)),y=window.location.pathname.toLowerCase().startsWith(`/profile/${A}`.toLowerCase()),f=window.location.pathname.toLowerCase().startsWith(`/${A}`.toLowerCase()),[b,w]=(0,a.useState)(!1),C=()=>`${e?.show_member_since?"Hide":"Show"} Member Since Date`,S=d?"icon-more-hero--dark":"icon-more-hero";return a.createElement(a.Fragment,null,(0,o.A)(Ot.A,{content:a.createElement("div",{ref:e=>l(e),className:"nfp-tooltip"},(0,o.A)("div",{className:"row nowrap-xs"},void 0,(0,o.A)("div",{className:"col-xs-11"},void 0,(0,o.A)("div",{className:"menu-links"},void 0,c&&a.createElement(a.Fragment,null,(0,o.A)(s.N_,{to:`/login?return_to=${encodeURIComponent(window.location.pathname)}`,title:"Send Mail",role:"link",reloadDocument:!0,tabIndex:-7},void 0,"Send Mail"),xk||(xk=(0,o.A)("br",{}))),u&&!m&&a.createElement(a.Fragment,null,(0,o.A)(s.N_,{to:`/messages/compose?message[recipients_list]=${e?.login}&return_to=${window.location.pathname}`,title:"Send Mail",role:"link",reloadDocument:!0,tabIndex:-6},void 0,"Send Mail"),Ck||(Ck=(0,o.A)("br",{}))),(0,o.A)("a",{role:"link",title:h,onClick:()=>{navigator.clipboard.writeText(window.location.href),g("Copied!"),setTimeout(()=>g("Copy Link"),1e3)},tabIndex:-2},void 0,h),kk||(kk=(0,o.A)("br",{})),!y&&a.createElement(a.Fragment,null,(0,o.A)(s.N_,{to:`/profile/${e?.login}`,title:"Flirt Profile",rel:"noreferrer",tabIndex:-5},void 0,"Flirt Profile"),Sk||(Sk=(0,o.A)("br",{}))),!f&&a.createElement(a.Fragment,null,(0,o.A)(s.N_,{to:`/${e?.login}`,title:"View Storefront"},void 0,"View Storefront"),_k||(_k=(0,o.A)("br",{}))),f&&m&&a.createElement(a.Fragment,null,(0,o.A)("a",{title:C(),role:"link",onClick:(0,Dx.debounce)(()=>{v({advisorLogin:t?.login,toggleValue:!e?.show_member_since})},500),tabIndex:-4},void 0,C()),Nk||(Nk=(0,o.A)("br",{}))),m&&p&&a.createElement(a.Fragment,null,(0,o.A)(s.N_,{to:"#",title:"Record Member Name",tabIndex:-3,onClick:()=>{i(),w(!0)}},void 0,"Record Member Name"),Pk||(Pk=(0,o.A)("br",{}))),navigator.share&&a.createElement(a.Fragment,null,(0,o.A)("a",{title:"Share",role:"link",onClick:()=>navigator.share({url:window.location.href,text:"Check out this Flirt on NF+: "}),tabIndex:-1},void 0,"Share"),Tk||(Tk=(0,o.A)("br",{}))))),(0,o.A)("div",{className:"col-xs-1 end-xs"},void 0,(0,o.A)("a",{role:"link",tabIndex:0,title:"Close Profile Menu",onClick:i},void 0,Fk||(Fk=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",className:"marginlftminus5",alt:"close"})))))),isOpen:r,tagName:"span",direction:"down",forceDirection:!0},void 0,a.createElement("a",{role:"link",tabIndex:0,title:"Toggle Profile Menu",ref:e=>n(e),onClick:i},(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-kebob.svg",alt:"More",className:S}))),p&&(0,o.A)(Rx.A,{anchor:"right",isOpen:b,closeDrawer:e=>{(e=>"keydown"===e.type&&("Tab"===e.key||"Shift"===e.key))(e)||w(!1)},currentUser:t}))};try{Ik.displayName="ProfileMenu"}catch(e){}const Ek=(0,Dt.A)(Ik);var Mk,Ok;function Dk(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function Rk(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
1t%2?Dk(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Dk(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function Lk(e){const{login:t}=(0,n.g)(),{data:i,isLoading:r}=(0,k.yM)({login:t}),l=(0,k.zg)(),d=l?.data?.current_user,c=d?.id===i?.id,[u,m]=(0,a.useState)(!1),p=(0,a.useMemo)(()=>Rk(Rk({},e),{},{returnUrlTemplate:`/profile/${t}/gb/:goodyBagId?action=buy`}),[e,t]);return(0,a.useEffect)(()=>{"#chat"===window.location.hash&&i?.slug&&(window.location.href=`/chat/${i.slug}`)},[i?.slug]),(0,a.useEffect)(()=>{const e=e=>{m(e.target.scrollTop>180)},t=document.getElementById("body-content");return t&&t.addEventListener("scroll",e),()=>{t.removeEventListener("scroll",e)}},[]),(0,o.A)(dt.A,{},void 0,(0,o.A)(As.A,{"data-test-id":"template-shell-header"},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",justifyContent:"space-between",width:"100%"},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",spacing:2},void 0,(0,o.A)(s.N_,{role:"link",to:`/${i?.login}`},void 0,(0,o.A)(g.A,{"data-test-id":"ico-back-arrow",sx:{margin:"3px 0 0 4px"}},void 0,Mk||(Mk=(0,o.A)(yk.A,{htmlColor:"white"})))),(0,o.A)(O.A,{"data-test-id":"template-shell-header-title",variant:"purpleHeaderTitle"},void 0,i?.login))),(0,o.A)(g.A,{sx:{mr:1}},void 0,(0,o.A)(Ek,{advisor:i,currentUser:d}))),(0,o.A)(g.A,{style:{backgroundColor:"var(--body_background)",border:"1px dotted transparent"}},void 0,(0,o.A)("div",{className:"container-fluid container-profile-info"},void 0,(0,o.A)("div",{className:"row nowrap-sm"},void 0,Ok||(Ok=(0,o.A)("div",{className:"col-sm-9 col-xs-9 start-xs"})),(0,o.A)("div",{className:"col-sm-3 hidden-xs"},void 0,(0,o.A)(lC,{advisor:i,currentUser:d,mobileVersion:!1})))),(0,o.A)(lC,{advisor:i,currentUser:d,mobileVersion:!0}),(0,o.A)(Xx,{advisor:i,currentUser:d,stickyNavVisible:u})),(0,o.A)(wk,{advisorLogin:t,viewingSelf:c}),(0,o.A)(tk.A.Provider,{value:p},void 0,(0,o.A)(dk,{stickyNavVisible:!0,advisor:i,advisorLoading:r,viewingSelf:c,currentUser:d})))}try{Lk.displayName="AdvisorHomepageContainer"}catch(e){}const jk=Lk;var qk,Bk,zk,Uk,$k,Wk=i(70048),Gk=i(23065),Hk=i(27778),Yk=i(13503),Vk=i(71167);const Qk=(0,Re.Ay)(O.A)(()=>({margin:"2px 0 0 8px"})),Zk=(0,Re.Ay)(Hk.A)(({theme:e})=>({fontSize:"1.5em",color:e.palette.grey[500]})),Kk=(0,Re.Ay)(Yk.A)(({theme:e})=>({fontSize:"1.5em",color:e.palette.grey[500]})),Xk=(0,Re.Ay)(Nl.A)(({theme:e})=>({margin:e.spacing(2,-3)})),Jk=(0,Re.Ay)(g.A)(({theme:e})=>({maxWidth:"700px",[e.breakpoints.up("xs")]:{padding:e.spacing(2.5,3)},[e.breakpoints.up("sm")]:{padding:e.spacing(3.5,4)},pb:{xs:e.spacing(10),sm:e.spacing(10)}})),eS=(0,Re.Ay)(g.A)(()=>({"&.MuiBox-root":{margin:"0 -10px",display:"flex",justifyContent:"flex-end","& nav.MuiPagination-root":{height:"auto",maxWidth:"calc(100% - 12px)",display:"flex",alignSelf:"flex-end",border:"1px solid transparent"}}})),tS=({feedbackData:e})=>(0,o.A)(no.Ay,{"data-test-id":"summary",container:!0,mt:.5,mb:1,pb:0,px:2},void 0,(0,o.A)(no.Ay,{item:!0,sm:6,xs:12,sx:{pt:0}},void 0,(0,o.A)(W.A,{direction:"row"},void 0,qk||(qk=(0,o.A)(O.A,{},void 0,"Average Feedback")),(0,o.A)(Qk,{},void 0,(0,o.A)(Gk.A,{value:e?.average||0,readOnly:!0,size:"small",precision:.5})))),(0,o.A)(no.Ay,{"data-test-id":"number-responses",item:!0,sm:6,xs:12,textAlign:{xs:"left",sm:"right"},sx:{pt:.2}},void 0,e?.pagination.total_entries," Responses"));try{tS.displayName="SummaryBox"}catch(e){}const iS=({feedback:e})=>{const{rating:t}=e;return 10===t?Bk||(Bk=(0,o.A)(Zk,{})):-10===t?zk||(zk=(0,o.A)(Kk,{})):0===t?null:(0,o.A)(Gk.A,{value:t,size:"small",readOnly:!0})};try{iS.displayName="FeedbackRating"}catch(e){}const oS=({feedback:e})=>a.createElement(a.Fragment,null,(0,o.A)(no.Ay,{"data-test-id":"feedback-row",container:!0},void 0,(0,o.A)(no.Ay,{item:!0,xs:7},void 0,(0,o.A)(O.A,{"data-test-id":"user-login",variant:"body3",sx:{color:"#999"}},void 0,e.user_login)),(0,o.A)(no.Ay,{item:!0,xs:5,className:"pull-right"}
1,void 0,(0,o.A)(O.A,{"data-test-id":"created-at",variant:"body3",sx:{color:"#999"}},void 0,ki.c9.fromISO(e.created_at).toFormat(Ks.D$))),(0,o.A)(no.Ay,{item:!0,xs:12,mt:.5},void 0,(0,o.A)(W.A,{direction:"row",spacing:1},void 0,(0,o.A)(iS,{"data-test-id":"rating",feedback:e}),(0,o.A)(O.A,{"data-test-id":"category-name",variant:"body3",pt:.3,sx:{color:"#999"}},void 0,e.category_name))),(0,o.A)(no.Ay,{item:!0,xs:12,pb:1,mt:2},void 0,(0,o.A)(O.A,{"data-test-id":"comment",component:"div"},void 0,(0,o.A)(y.A,{html:e.comment})))),Uk||(Uk=(0,o.A)(Xk,{})));try{oS.displayName="FeedbackRow"}catch(e){}function aS(){const[e]=(0,s.ok)(),t=(0,n.Zp)(),i=parseInt(e.get("page"))||1,{data:a}=(0,$p.sr)({page:parseInt(i)},{forceRefetch:!0});if(!a)return null;const r=Math.ceil(a.pagination.total_entries/40);return(0,o.A)(dt.A,{},void 0,(0,o.A)(Op.A,{header:"Feedback Summary"},void 0,(0,o.A)(Jk,{},void 0,(0,o.A)(tS,{feedbackData:a}),$k||($k=(0,o.A)(Xk,{})),a?.feedbacks.map((e,t)=>(0,o.A)(oS,{feedback:e},t)),(0,o.A)(eS,{},void 0,(0,o.A)(Vk.A,{count:r,onPageChange:e=>{t(`/account/feedbacks?page=${e}`)}})))))}try{aS.displayName="AdvisorFeedbacksContainer"}catch(e){}const rS=aS;i(3147);var nS,sS=i(35238);const lS={Conference:"NiteFlirt Call",VideoConference:"Cam Session",PurchasedGoodyBag:"Goody Bag",Message:"NiteFlirt Mail Message"},dS=({feedback:e})=>{const t=(0,a.useContext)(os.A);return(0,o.A)(no.Ay,{"data-test-id":"feedback-row",container:!0,sx:{borderBottom:"1px solid #ddd",padding:{xs:"20px",sm:"20px 0px"}}},void 0,(0,o.A)(no.Ay,{item:!0,xs:8},void 0,(0,o.A)(O.A,{},void 0,(0,o.A)("a",{href:`/profile/${e.advisor_login}`,"data-test-id":"advisor-login"},void 0,e.advisor_login)),(0,o.A)(O.A,{"data-test-id":"object-type",variant:"body3",sx:{color:Wc.A[600]}},void 0,lS[e.object_type])),(0,o.A)(no.Ay,{item:!0,xs:4,className:"pull-right"},void 0,(0,o.A)(O.A,{"data-test-id":"created-at",variant:"body3",sx:{color:Wc.A[600],alignSelf:"flex-end"}},void 0,ki.c9.fromISO(e.created_at).toFormat(Ks.D$))),(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"flex-end",gap:2}},void 0,(0,o.A)("a",{href:t("transactionDetails",{query:{object_type:e.object_type,object_id:e.object_id}}),"data-test-id":"view-details-link",style:{textDecoration:"none"}},void 0,nS||(nS=(0,o.A)(E.A,{variant:"outlined",size:"small"},void 0,"View Details"))),e.can_leave_feedback&&(0,o.A)(sS.A,{feedback:e}))))};try{dS.displayName="FeedbackRow"}catch(e){}const cS=dS;var uS,mS,pS;const hS=()=>{const e=(0,a.useContext)(os.A);return a.createElement(a.Fragment,null,(0,o.A)(g.A,{px:{xs:3,sm:0}},void 0,(0,o.A)(O.A,{},void 0,"All transactions eligible for feedback over the past 7 days are shown below. You can also leave feedback by going to ",(0,o.A)(s.N_,{to:e("transactionDetails")},void 0,"Transaction Details.")," ",uS||(uS=(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/articles/212830298-Giving-Ratings-Leaving-Feedback"},void 0,"Learn more.")))),(0,o.A)(Nl.A,{sx:{mt:3}}))};try{hS.displayName="FeedbacksHeading"}catch(e){}function gS(){const{data:e}=(0,k.wJ)();return e?(0,o.A)(dt.A,{},void 0,(0,o.A)(Op.A,{header:"Leave Feedback"},void 0,(0,o.A)(g.A,{px:{xs:0,sm:4},pt:{xs:4,sm:4},pb:{xs:10,sm:10},maxWidth:700},void 0,mS||(mS=(0,o.A)(hS,{})),e.length>0?(0,o.A)(g.A,{},void 0,e?.map((e,t)=>(0,o.A)(cS,{feedback:e},e.object_id))):(0,o.A)(g.A,{sx:{textAlign:"center",mt:2}},void 0,pS||(pS=(0,o.A)(O.A,{},void 0,"No Feedback To Leave")))))):null}try{gS.displayName="FeedbacksContainer"}catch(e){}const vS=gS;var AS,yS,fS=i(74165),bS=i(1169);const wS=({dataUrl:e})=>a.createElement(a.Fragment,null,AS||(AS=(0,o.A)(Hs.A,{},void 0,"Network Status")),(0,o.A)(Ys.A,{},void 0,(0,o.A)(g.A,{mx:{xs:0,sm:12,md:17}},void 0,(0,o.A)(W.A,{direction:"column",spacing:3,justifyContent:"center",alignItems:"center",mb:3},void 0,(0,o.A)("img",{src:e,alt:"NiteFlirt",style:{width:"180px"}}),yS||(yS=(0,o.A)(O.A,{variant:"h3"},void 0,"You're Offline!")),(0,o.A)("img",{src:"/plus_frontend/assets/svg/pwa-graphic.svg",alt:"",style:{width:"200px"}})))));try{wS.displayName="NetworkStatus"}catch(e){}const xS=wS,CS=()=>{const{openDialog:e,closeDialog:t}=(0,a.useContext)(la.A),[i,o]=(0,a.useState)();return window.addEventListener("offline",()=>{e({component:xS,props:{closeDialog:t,dataUrl:i}})}),window.addEventListener("online",()=>{t()}),(0,a.useEffect)(()=>{var e;(e="/plus_frontend/assets/svg/niteflirt-logo.svg",fetch(e).then(e=>e.blob()).then(e=>new Promise((t,i)=>{const o=new FileReader;o.onloadend=()=>t(o.result),o.onerror=i,o.readAsDataURL(e)}))).then(e=>{o(e)})},[]),null};var kS,SS=i(15456),_S=i(13419);const NS=()=>kS||(kS=(0,o.A)(dt.A,{},void 0,(0,o.A)(Op.A,{header:"Favorites",goBackPath:"/account"},void 0,(0,o.A)(SS.Y$,{}),(0,o.A)(_S.A,{}))));try{NS.displayName="FavoriteListingsLayout"}catch(e){}const PS=NS;var TS=i(84805),FS=i(62819),IS=i(48097);const ES=(0,Re.Ay)(g.A)(()=>({"&.MuiBox-root":{position:"fixed",width:"100%",height:"100vh",top:"0px",left:"0px",color:"var(--body_color)",backgroundColor:"var(--body_background)",overflowY:"auto",overflowX:"hidden",touchAction:"pan-y",".MuiDialog-paper &":{"@media (max-width: 900px)":{position:"relative",height:"auto",display:"flex",flexDirection:"column",flex:"1 1 auto",minHeight:0,overflow:"hidden"}}}})),MS=(0,Re.Ay)(g.A)(()=>({display:"flex",justifyContent:"flex-end",width:"100%",boxSizing:"border-box",margin:0,padding:"10px 10px 0 0","& .MuiIconButton-root":{backgroundColor:"transparent","&:hover":{backgroundColor:"transparent"}}}));var OS=i(45690),DS=i(77123);const RS=()=>{const e=(0,k.hn)(),{recaptcha_site_key:t,recaptcha_enabled:i}=e.data||{},o=(0,a.useRef)(),r=(0,a.useRef)(null),n=(0,a.useCallback)((n,s)=>
1(r.current=n,i?!t&&e.isSuccess?(console.error("Missing recaptcha_site_key"),null):a.createElement(DS.A,{ref:o,sitekey:t,size:"invisible",onChange:n,onError:s}):null),[i,t,e.isSuccess]);return{executeRecaptcha:(0,a.useCallback)(()=>{i&&o.current?(o.current.reset(),o.current.execute()):r.current?r.current("mock-token"):console.error("onChange callback not set. Make sure recaptchaComponent is rendered first.")},[i]),recaptchaComponent:n}};var LS=i(38836),jS=i(9635);const qS=["return_url"],BS=()=>{const e=new URLSearchParams(window.location.search),t=e.get("product_type"),i=e.get("product_id");if(t&&i)return{productType:t,productId:i};const o=e.get("listing_id");if(o)return{productType:"call",productId:o};const a=e.get("user_login");return a?{productType:"chat",productId:a}:null},zS=()=>{const e=new URLSearchParams(window.location.search);return["return_to","return_url","extra","reactivation"].reduce((t,i)=>{const o=e.get(i);return o&&(t[i]=o),t},{})},US=e=>{const t=zS(),{return_url:i}=t,o=(0,hg.A)(t,qS),a=new URLSearchParams;e&&(a.append("product_type",e.productType),a.append("product_id",e.productId));for(const e of Object.keys(o))a.append(e,o[e]);i&&a.append("return_url",i);const r=a.toString();return r?`?${r}`:""};var $S=i(13825),WS=i(81686);const GS=(0,Re.Ay)(O.A)({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",color:"#000"}),HS=(0,Re.Ay)(O.A)({display:"-webkit-box",overflow:"hidden",WebkitLineClamp:2,WebkitBoxOrient:"vertical",fontSize:"0.813em"}),YS=({avatarSrc:e,name:t,description:i,price:a,type:r})=>{const n={chat:"per volley",call:"per min",cam:"per min",gb:null}[r];return(0,o.A)($S.A,{className:"no-border-fav"},void 0,(0,o.A)(W.A,{direction:"row"},void 0,(0,o.A)(g.A,{sx:{position:"relative"}},void 0,(0,o.A)(g.A,{sx:{width:"150px",height:"180px",position:"absolute",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",zIndex:"1"}},void 0,(0,o.A)("img",{src:e,alt:t,style:{width:"100%",height:"100%",maxWidth:"150px",maxHeight:"180px",minWidth:"150px",minHeight:"180px",objectFit:"contain",cursor:"pointer"}})),(0,o.A)(WS.A,{imageUrl:e})),(0,o.A)(W.A,{spacing:2,sx:{marginLeft:"1rem",width:"150px",paddingTop:"1rem",paddingRight:"1rem"}},void 0,(0,o.A)(GS,{variant:"h5"},void 0,t),(0,o.A)(HS,{},void 0,i),(0,o.A)(O.A,{variant:"body3",sx:{color:"#444"}},void 0,(0,kc.zQ)(a),n&&(0,o.A)("span",{style:{color:"#999"}},void 0," ",n)))))};try{YS.displayName="AdvisorCard"}catch(e){}const VS=YS,QS=({product:e=null})=>{const{data:t}=(0,k.zg)(),i=t?.connectionCharge??0,[r,{data:n}]=(0,k.Do)(),{productType:s,productId:l}=e||{},d=!s||!l||"gb"===l,{data:c}=(0,k.Qt)({id:l},{skip:!["call","cam"].includes(s)||d}),{data:u}=(0,k.x_)({login:l},{skip:"chat"!==s||d}),{data:m}=(0,kt.G7)(l,{skip:"gb"!==s||d}),[p,h]=(0,a.useState)(null);if((0,a.useEffect)(()=>{m&&!m.owner_name&&m.user_id&&r({login:m.user_id})},[m,r]),(0,a.useEffect)(()=>{n&&h(n.login)},[n]),d)return null;if(!c&&!u&&!m)return null;const g=c?.photo_url||u?.image_url||m?.thumbnail_url,v=c?.login||u?.user_login||m?.title,A=m?.owner_name??p,y=A?`by ${A}`:"",f=c?.title||u?.description||y,b=m?.price&&`${parseFloat(m?.price).toFixed(2)}`,w=(c?(c.pricePerMinute_1??0)+i:null)||u?.volley_price||b||window.VOLLEY_PRICE;return(0,o.A)(W.A,{mb:3,mt:1,"data-testid":"listing"},void 0,(0,o.A)(VS,{avatarSrc:g,name:v,description:f,price:w,type:s}))};try{QS.displayName="AdvisorInfoCardContainer"}catch(e){}const ZS=QS;var KS,XS,JS;const e_=({error:e,textAlign:t="left"})=>(0,o.A)(W.A,{mb:3},void 0,(0,o.A)(O.A,{variant:"body3",style:{color:"#d32f2f",textAlign:t},"data-test-id":"error-message"},void 0,(0,o.A)(y.A,{html:e})));try{e_.displayName="ErrorMessage"}catch(e){}const t_=({login:e,password:t,setLogin:i,setPassword:r,handleLogin:n})=>a.createElement(a.Fragment,null,(0,o.A)(W.A,{direction:"column",spacing:3},void 0,(0,o.A)(IS.A,{label:"Email Address or Member Name",name:"login",value:e,setValue:i,onKeyPress:e=>{"Enter"===e.key&&n()}}),(0,o.A)(IS.A,{name:"password",label:"Password",type:"password",value:t,setValue:r,onKeyPress:e=>{"Enter"===e.key&&n()}})),(0,o.A)(W.A,{mt:1,mb:2,px:1.5},void 0,(0,o.A)(O.A,{variant:"body2"},void 0,(0,o.A)(s.N_,{to:`/forgot_password${US(BS())}`},void 0,"Forgot Password?"))),(0,o.A)(W.A,{direction:"row",justifyContent:"center",mb:3},void 0,(0,o.A)(E.A,{variant:"contained",size:"large",fullWidth:!0,onClick:n},void 0,"Sign In")));try{t_.displayName="WebForm"}catch(e){}const i_=({login:e,password:t,setLogin:i,setPassword:r,handleLogin:n})=>a.createElement(a.Fragment,null,(0,o.A)(W.A,{direction:"column",spacing:3},void 0,(0,o.A)(OS.fD,{id:"digits",label:"Phone Number",defaultCountry:"US",forceCallingCode:!0,disableDropdown:!0,focusOnSelectCountry:!0,preferredCountries:["US","CA"],onChange:i,error:!1,value:e,size:"small"}),(0,o.A)(IS.A,{name:"pin",label:"PIN",type:"password",value:t,setValue:r,onKeyPress:e=>{"Enter"===e.key&&n()},inputProps:{maxLength:4}})),(0,o.A)(W.A,{mt:1,mb:2,px:1.5},void 0,(0,o.A)(O.A,{variant:"body2"},void 0,(0,o.A)(s.N_,{to:`/forgot_pin${US(BS())}`},void 0,"Forgot PIN?"))),(0,o.A)(W.A,{direction:"row",justifyContent:"center",mb:3},void 0,(0,o.A)(E.A,{variant:"contained",size:"large",fullWidth:!0,onClick:n},void 0,"Sign In")));try{i_.displayName="PhoneForm"}catch(e){}const o_=({product:e})=>{const t={chat:"Sign In to start your chat with...",call:"Sign In to start your call with...",cam:"Sign In to start your cam with...",gb:"Sign In to buy...",default:"Welcome Back"}[e?.productType??"default"];return a.createElement(a.Fragment,null,(0,o.A)(O.A,{variant:"h3"},void 0,t),e&&(0,o.A)("div",{"data-test-id":"listing"},void 0,(0,o.A)(ZS,{product:e})))};
1try{o_.displayName="SignInCTA"}catch(e){}const a_=({type:e="web"})=>{const[t,i]=(0,a.useState)(""),[r,n]=(0,a.useState)(""),[s,l]=(0,a.useState)(!1),[d,c]=(0,a.useState)(null),u=(0,a.useRef)(null),m=BS(),p=zS(),h="phone"===e&&k.aR||"web"===e&&k.wf,[v,{data:A,error:y}]=h(),f=(e=null)=>{"string"==typeof e&&(p["g-recaptcha-response"]=e),p.device_id=u.current,v({login:t,password:r,additionalParams:p})},b="phone"===e?i_:t_,{reactivation:w}=p;(0,a.useEffect)(()=>{A&&((0,eg.OU)(),(0,jS.VJ)(A.redirectTo))},[A]),(0,a.useEffect)(()=>{y?.data?.show_captcha&&l(!0)},[y]),(0,a.useEffect)(()=>{document.getElementById("outlined-basic-login")?.focus();const e=(0,LS.A)();let t=localStorage.getItem("nf-browser-id");t||(localStorage.setItem("nf-browser-id",e),t=e),u.current=t},[]);const{data:x}=(0,k.iq)(e);(0,a.useEffect)(()=>{x&&x.show_captcha&&l(!0)},[x]);let C=null;const S=new URLSearchParams(window.location.search).get("prompt");if(!y&&S)if("web_account"===S)C="Please sign in using your Member Name or email address and password.";else C=null;const{executeRecaptcha:_,recaptchaComponent:N}=RS(),P=`/login_by_phone${US(m)}`,T=`/login${US(m)}`;return(0,o.A)("div",{"data-test-id":"sign-in-dialog",style:{display:"flex",flexDirection:"column",flex:"1 1 auto",minHeight:0,overflow:"hidden"}},void 0,(0,o.A)(MS,{},void 0,(0,o.A)(M.A,{"aria-label":"close",onClick:jS.hz,sx:{color:e=>e.palette.grey[500]}},void 0,KS||(KS=(0,o.A)(FS.A,{})))),(0,o.A)(Ys.A,{sx:{overflowY:"auto",WebkitOverflowScrolling:"touch"}},void 0,(0,o.A)(g.A,{sx:{maxWidth:"450px",margin:"0 auto"}},void 0,(0,o.A)(W.A,{direction:"column",spacing:3,justifyContent:"center",alignItems:"center",mb:3},void 0,(0,o.A)("a",{href:"/"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg//niteflirt-logo.svg",alt:"NiteFlirt",style:{width:"180px"}})),(0,o.A)(o_,{product:m}),w&&(XS||(XS=(0,o.A)(O.A,{variant:"body2",textAlign:"center"},void 0,"Oops, your link has expired. Please sign in again so that we can email a new link to you.")))),(d||y)&&(0,o.A)(e_,{error:d||y.data.error}),C&&(0,o.A)(e_,{error:C,textAlign:"center"}),(0,o.A)(b,{login:t,password:r,setLogin:i,setPassword:n,handleLogin:s?_:f}),(0,o.A)(W.A,{direction:"row",justifyContent:"center",mb:3},void 0,s&&N(e=>{f(e)},()=>{c("There was an error with the reCAPTCHA. Please try again.")})),JS||(JS=(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center",mb:2},void 0,(0,o.A)(O.A,{variant:"h5"},void 0,"New to NiteFlirt?"))),(0,o.A)(W.A,{direction:"row",justifyContent:"center",mb:3},void 0,(0,o.A)(E.A,{onClick:()=>{(0,jS.VJ)(`signup${US(m)}`)},variant:"outlined",size:"medium",fullWidth:!0},void 0,"Register")),(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center"},void 0,(0,o.A)(O.A,{variant:"body2"}
1,void 0,"phone"===e?(0,o.A)("a",{href:T},void 0,"Registered on the web?"):(0,o.A)("a",{href:P},void 0,"Registered on the phone?"))),(0,o.A)(g.A,{sx:{height:"300px","@media (min-width: 901px)":{display:"none"}}}))))};try{a_.displayName="SignInDialog"}catch(e){}const r_=a_,n_=({type:e="web"})=>{const{openDialog:t}=(0,a.useContext)(la.A);return(0,a.useEffect)(()=>{t({component:r_,props:{type:e,hideCancel:!0}})},[]),null};n_.propTypes={type:$c().string};const s_=n_;var l_=i(52702),d_=i(40985);const c_=(0,Re.Ay)(g.A)(()=>({color:"#fff",width:"100%",maxWidth:"758px",height:"150px",textAlign:"center",fontSize:"1.125em",margin:"0 auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"})),u_=({desktop:e=null,mobile:t=null})=>{const i=(0,Vs.A)(),r=(0,d_.A)(i.breakpoints.up("md"))?e:t;if(!r)return null;const n={};r.imageAltText?(n.role="img",n["aria-label"]=r.imageAltText):r.htmlContent||(n["aria-hidden"]=!0);const s=a.createElement(c_,(0,De.A)({},n,{sx:{backgroundImage:r.imageUrl?`url(${r.imageUrl})`:"none",backgroundSize:"cover",backgroundPosition:"center top",backgroundRepeat:"no-repeat",position:"relative"},"data-test-id":"hero-pane-dynamic"}),r.htmlContent&&(0,o.A)("div",{dangerouslySetInnerHTML:{__html:r.htmlContent},style:{position:"relative",zIndex:1}})),l=Zh(r.linkUrl);if(l&&"/"!==l){const e=e=>{e.target.closest("a")||(window.location.href=l)};return(0,o.A)("div",{style:{position:"relative",cursor:"pointer"},onClick:e,"data-test-id":"hero-link-wrapper"},void 0,s,(0,o.A)("a",{href:l,"aria-label":r.imageAltText||"Hero banner",style:{position:"absolute",top:0,left:0,right:0,bottom:0},"data-test-id":"hero-link"}))}return s};try{u_.displayName="DynamicHero"}catch(e){}const m_=u_,p_=(0,Re.Ay)(g.A)(({open:e})=>({backgroundColor:e?"black":"transparent"})),h_=(0,Re.Ay)(g.A)(({open:e})=>({position:e?"absolute":"relative",top:e?"110px":"0px",right:e?"10px":"auto",paddingRight:e?"0px":"10px",zIndex:e?2:"auto",transition:"top 0.3s, position 0.3s",marginBottom:e?"0px":"-20px",display:"flex",justifyContent:"flex-end"})),g_=(0,Re.Ay)(g.A)({maxWidth:"758px",margin:"0 auto"}),v_=({ssrHeroData:e=null})=>{const[t,i]=(0,a.useState)(!0),r=(0,Vs.A)(),n=(0,d_.A)(r.breakpoints.up("md")),{data:s}=(0,k.Qd)(void 0,{skip:null!==e}),l=e||s;if(!(l&&(n?l.desktop:l.mobile)))return null;return(0,o.A)(p_,{open:t,"data-test-id":"hero-section-box"},void 0,(0,o.A)(h_,{open:t},void 0,(0,o.A)(M.A,{onClick:()=>i(!t),sx:{color:t?"white":"#06c"},"data-test-open":t,"data-test-id":"hero-section-collapse-button"},void 0,(0,o.A)(j.A,{sx:{transform:t?"rotate(180deg)":"rotate(0deg)"}}))),(0,o.A)(L.A,{in:t},void 0,(0,o.A)(g_,{},void 0,(0,o.A)(m_,{desktop:l.desktop,mobile:l.mobile}))))};try{v_.displayName="HeroSection"}catch(e){}const A_=v_,y_=(0,Re.Ay)("div")({margin:"10px",background:"none",padding:"20px 15px 15px 15px",backgroundColor:"var(--body_background)",textAlign:"center",maxWidth:"326px",borderRadius:"6px"}),f_=(0,Re.Ay)("div")({borderTop:"1.5px solid var(--color_ccc)",borderBottom:"1.5px solid var(--color_ccc)",padding:"10px 10px 8px 10px",margin:"10px 13px",lineHeight:"1.5"}),b_=()=>{const{data:{voice_portal_phone_number:e,voice_portal_phone_number_mnemonic:t}}=(0,k.zg)();return(0,o.A)(no.Ay,{container:!0,justifyContent:"center"},void 0,(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(y_,{"data-test-id":"toll-free-advert"},void 0,(0,o.A)(g.A,{},void 0,(0,o.A)("h1",{style:{fontSize:"18px",color:"var(--color_gray_five)",maxWidth:200,margin:"0 auto"}},void 0,"Get the best phone sex anywhere, anytime!"),(0,o.A)(f_,{},void 0,(0,o.A)("div",{style:{fontSize:"13px",color:"var(--color_gray_six)"}},void 0,"Call NiteFlirt toll-free"),(0,o.A)("div",{className:"number"},void 0,(0,o.A)("a",{style:{color:"var(--link_hover_color)",fontSize:"22px",fontWeight:"600",textDecoration:"none"},href:`tel:${e}`},void 0,e))),(0,o.A)(g.A,{sx:{fontSize:"13px"}},void 0,"(",(0,o.A)("a",{href:`tel:${e}`,style:{color:"var(--color_gray_six)",fontSize:"13px"}},void 0,t),")")))))};try{b_.displayName="TollFreeAdvertContainer"}catch(e){}const w_=b_;var x_;const C_=(0,Re.Ay)("div")({margin:"10px",background:"none",padding:"5px 15px 20px 15px",backgroundColor:"var(--body_background)",textAlign:"center",maxWidth:"326px",borderRadius:"6px"}),k_=()=>(0,o.A)(no.Ay,{container:!0,justifyContent:"center"},void 0,(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(C_,{"data-test-id":"stay-connected"},void 0,(0,o.A)(g.A,{id:"awaybody"},void 0,(0,o.A)("h3",{style:{fontSize:"18px",color:"var(--color_gray_five)"}},void 0,"Stay Connected With Us"),x_||(x_=(0,o.A)(W.A,{direction:"row",justifyContent:"center",spacing:2},void 0,(0,o.A)("a",{href:"https://www.niteflirt.com/news/",rel:"noreferrer",target:"_blank"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-soc-news.svg",alt:"NiteFlirt News"})),(0,o.A)("a",{href:"https://x.com/niteflirt",rel:"noreferrer",target:"_blank"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-soc-twitter.svg",alt:"X"})),(0,o.A)("a",{href:"https://www.instagram.com/niteflirt_/",rel:"noreferrer",target:"_blank"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-soc-instagram.svg",alt:"Instagram"}))))))));try{k_.displayName="StayConnected"}catch(e){}const S_=k_;var __;const N_=({closeDialog:e})=>{const t=navigator.userAgent.match(/mobile|ipad/gi);let i="/plus_frontend/assets/pwa/icon-dock.png",r="Click Add to Dock",n="/plus_frontend/assets/pwa/add-to-dock.png";return navigator.userAgent.match(/iphone|ipad/gi)&&(i="/plus_frontend/assets/pwa/icon-add-app.png",r="Swipe up and tap Add to Home Screen",n="/plus_frontend/assets/pwa/pwa-ios-instructions.png"),a.createElement(a.Fragment,null,__||(__=(0,o.A)(Hs.A,{},void 0,"Install to home screen")),(0,o.A)(Zs.A,{closeDialog:e}),(0,o.A)(Ys.A,{},void 0,(0,o.A)(g.A,{mx:{xs:0,sm:12,md:17}},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",spacing:1,mb:2},void 0,(0,o.A)("img",{id:"pwa-install-button",src:"/plus_frontend/assets/pwa/icon-share.png",alt:"Install",style:{width:"25px",height:"25px"}}),(0,o.A)(O.A,{variant:"body1"},void 0,"1. ",t?"Tap":"Click"," Share")),(0,o.A)(W.A,{direction:"row",alignItems:"center",spacing:1,mb:2},void 0,(0,o.A)("img",{src:i,alt:"Step 2 icon",style:{width:"25px",height:"25px"}}),(0,o.A)(O.A,{variant:"body1"},void 0,"2. ",r)),(0,o.A)(W.A,{direction:"row",alignItems:"center",spacing:1,mb:2},void 0,(0,o.A)("img",{src:n,alt:"Step 2 icon",style:{width:"100%",maxWidth:"300px"}})))),(0,o.A)(W.A,{direction:"row",alignItems:"center",justifyContent:"flex-end",mb:2,px:2},void 0,(0,o.A)(E.A,{variant:"contained",fullWidth:!1,onClick:e},void 0,"Close")))};
1try{N_.displayName="PwaInstallInstructions"}catch(e){}const P_=N_;window.addEventListener("beforeinstallprompt",e=>{e.preventDefault(),window.deferredPrompt=e}),window.addEventListener("appinstalled",()=>{document.getElementById("install-button-container").style.display="none"});const T_=()=>{if(window.matchMedia("(display-mode: standalone)").matches)return null;const{openDialog:e,closeDialog:t}=(0,a.useContext)(la.A),i="onbeforeinstallprompt"in window;return(0,o.A)("div",{id:"install-button-container",style:{textAlign:"center",padding:"0",marginTop:"20px",backgroundColor:"transparent",width:"100%",cursor:"pointer"},onClick:()=>{i&&window.deferredPrompt?(window.deferredPrompt.prompt(),window.deferredPrompt.userChoice.then(e=>{window.deferredPrompt=null})):navigator.userAgent.match(/Firefox/)?alert("Currently PWAs can't be installed in Firefox. Please choose another browser like Safari, Chrome, or Edge."):e({component:P_,props:{closeDialog:t}})},role:"button",tabIndex:"0"},void 0,(0,o.A)("img",{id:"pwa-install-button",src:"/plus_frontend/assets/svg/pwa-btn-install.svg",alt:"Install",style:{maxWidth:"170px"}}))};try{T_.displayName="PwaInstallButton"}catch(e){}const F_=T_,I_=[{label:"Terms of Service",to:"/help/tos"},{label:"Privacy Policy",to:"/help/privacy_policy"},{label:"Complaints Policy",to:"/help/complaints"},{label:"Content Removal Policy",to:"/help/contentremoval"},{label:"Pre-Screening and Content Moderation",to:"/help/tos#ContentModerationPolicy"},{label:"2257 Statement",to:"/help/statement2257"}],E_=()=>(0,o.A)(no.Ay,{container:!0,justifyContent:"center",sx:{mt:1}},void 0,(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(g.A,{sx:{p:2,textAlign:"center"}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexDirection:"column",gap:"0.75em",fontSize:"0.813em"}},void 0,I_.map(e=>(0,o.A)(g.A,{},e.to,(0,o.A)(s.N_,{to:e.to,style:{textDecoration:"none"}},void 0,e.label)))),(0,o.A)(g.A,{sx:{mt:3,mb:6,px:1}},void 0,(0,o.A)(O.A,{variant:"body2",sx:{color:"#999",fontSize:"0.75em"}},void 0,"©",(new Date).getFullYear()," NF Entertainment, Inc. All rights reserved. Flirts are not employees of NiteFlirt. NiteFlirt is for entertainment purposes only."),(0,o.A)(g.A,{sx:{mt:2}},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg/badge-ssl-secure.svg",alt:"SSL Secure",style:{width:"85px"}}))))));try{E_.displayName="HomeLegalLinks"}catch(e){}const M_=E_;var O_,D_,R_,L_,j_,q_,B_,z_;const U_=a.memo(({currentPage:e=1,listingsData:t={},handlePageChange:i,requiresEagerLoad:r=!1,ssrHeroData:n=null})=>{const s=(0,l_.A)(t?.listings,"home_cam");return t&&t.listings?a.createElement(a.Fragment,null,(0,o.A)("section",{className:"body-content body-content-darkerbg","data-test-id":"main-home"},void 0,(0,o.A)(A_,{ssrHeroData:n}),(0,o.A)(g.A,{px:{xs:0,sm:2},pt:{xs:2.5,sm:3.5},pb:{xs:1.5,sm:1.5}},void 0,(0,o.A)(IC.A,{top:250,arrowStyles:{prev:{left:{xs:-22,sm:-35},top:0},next:{right:{xs:-12,sm:-25},top:0}}},void 0,(0,o.A)(EC.A,{hasNext:t.has_next,page:e,onChange:i})),(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",gap:{xs:"6px",sm:"10px"},justifyContent:"center"}},void 0,t.listings.map((t,i)=>(0,o.A)(g.A,{sx:{width:{xs:"330px",sm:"330px"},flex:{xs:"0 0 330px",sm:"0 0 330px"}}},`listing_${t.id}`,(0,o.A)(vC.A,{listing:t,indexInPage:i,isQualifiableFeaturedListingContext:!0,queryName:"getHomepageListings",queryDataKey:"listings",queryArgs:{page:e},eagerLoad:r,cacheKey:s}))))),(0,o.A)(g.A,{sx:{maxWidth:"350px",margin:"20px auto",display:"block","@media (min-width: 1200px)":{display:"none"}}},void 0,O_||(O_=(0,o.A)(w_,{})),D_||(D_=(0,o.A)(S_,{})),R_||(R_=(0,o.A)(F_,{})),(0,o.A)(g.A,{sx:{height:100}}),L_||(L_=(0,o.A)(M_,{})))),(0,o.A)(g.A,{component:"aside",sx:{display:"none","@media (min-width: 1200px)":{display:"flex",flexDirection:"column",minHeight:"100vh"},"::after":{content:'""',display:"block",height:"20px",background:"transparent"}},"data-test-id":"main-home-aside"},void 0,j_||(j_=(0,o.A)(w_,{})),q_||(q_=(0,o.A)(S_,{})),B_||(B_=(0,o.A)(F_,{})),(0,o.A)(g.A,{sx:{flexGrow:1}}),z_||(z_=(0,o.A)(M_,{})))):null});try{U_.displayName="MainHome"}catch(e){}const $_=U_;var W_=i(39544);const G_=(e,t,i)=>{const o=(0,m.wA)(),r=(0,a.useRef)(!1);(0,a.useEffect)(()=>{i&&!r.current&&(o(k.Ay.util.upsertQueryData(e,t,i)),r.current=!0)},[i,o,e,t])};var H_=i(76469);const Y_=()=>{if("undefined"==typeof window)return null;const e=document.getElementById("ssr-data");if(!e)return null;try{const t=(0,H_.A)(JSON.parse(e.textContent));return t.homepage_listings,t.homepage_listings,e.remove(),t}catch(e){return console.error("[SSR] Failed to parse SSR data:",e),null}};var V_;const Q_=()=>{const e=(0,n.Zp)(),[t]=(0,s.ok)(),i=parseInt(t.get("page"))||1,r=(0,a.useMemo)(()=>
1{if(1===i){const e=Y_();if(e)return e}return null},[i]),l=r?.homepage_listings||r?.homepageListings||null,d=r?.hero||null;G_("getHomepageListings",{page:1},l),G_("getHero",void 0,d);const{data:c}=(0,k.Zz)({page:i},{skip:!!l}),u=l||c,{FeaturedListingsContextProvider:m}=(0,W_.A)({listingsData:u}),p=(t,i)=>{e(`/?page=${i}`)};return(0,a.useMemo)(()=>(0,o.A)(m,{},void 0,(0,o.A)($_,{listingsData:u,currentPage:parseInt(i),handlePageChange:p,requiresEagerLoad:!!l,ssrHeroData:d})),[u,i,l])||(0,o.A)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},void 0,V_||(V_=(0,o.A)(Ql.A,{})))};try{Q_.displayName="MainHomeContainer"}catch(e){}const Z_=Q_;var K_,X_=i(54082),J_=i(78161),eN=i(93321),tN=i(34748);const iN=({breadcrumbs:e=""})=>e?(0,o.A)(tN.A,{"data-test-id":"box-breadcrumb"},void 0,K_||(K_=(0,o.A)(eN.A,{}))," > ",(0,o.A)("div",{dangerouslySetInnerHTML:{__html:e}})):null;try{iN.displayName="CategoryBreadcrumbs"}catch(e){}const oN=iN;var aN,rN,nN,sN=i(39920),lN=i(44038),dN=i(98338);const cN=({isLoading:e,cardType:t,records:i=[],page:r,lastPage:n=1,handlePageChange:s,currentUser:l=null,queryParams:d})=>{const[c,u]=(0,a.useState)(!1),m=r!==n,{onListingDetailsClick:p,onListingFeedbackClick:h}=(0,lN.A)({}),v=(0,x.u)("CHAT_STATUS_REALTIME_26748")&&"chat"===t?"listing_search":null;(0,kC.A)("chat"===t?i.map(e=>e.user_id).filter(Boolean):[],{cacheKey:v});const A=(0,l_.A)("live"===t?i:[],"listing_search_cam");return(0,a.useEffect)(()=>{if(!e&&0===i?.length){const e=setTimeout(()=>{u(!0)},300);return()=>clearTimeout(e)}u(!1)},[e,i]),e?aN||(aN=(0,o.A)(dN.A,{})):i&&0!==i.length?(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(g.A,{pt:{xs:2.5,sm:3.5},pb:{xs:2,sm:2}},void 0,(0,o.A)(IC.A,{top:200,arrowStyles:{prev:{left:-25,top:20},next:{right:-15,top:20}}},void 0,(0,o.A)(EC.A,{hasNext:m,page:r,onChange:s,disabled:e})),(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",gap:{xs:"6px",sm:"10px"},justifyContent:{sm:"flex-start"},paddingLeft:{sm:"25px"},"@media (max-width: 900px)":{justifyContent:"center",paddingLeft:"0px"}}},void 0,i?.map(e=>(0,o.A)(g.A,{sx:{width:"330px",flex:"0 0 330px"}},`listing_${e.id}`,"chat"===t&&(0,o.A)(sN.A,{listing:e,advisorLogin:e?.advisor.login,cacheKey:v,onDetailsClick:p(e),onFeedbackClick:h(e),currentUser:l},e.id),"live"===t&&(0,o.A)(vC.A,{listing:e,advisorLogin:!1,onDetailsClick:p(e),onFeedbackClick:h(e),currentUser:l,queryName:"getListingSearchResults",queryArgs:d(),queryD
1ataKey:"search_results",queryDataKeyTwo:"listings",cacheKey:A},e.id)))))):c?(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(g.A,{"data-test-id":"no-results",sx:{textAlign:"center",mt:2,mb:8,p:2}},void 0,rN||(rN=(0,o.A)("h2",{},void 0,"No results found")),nN||(nN=(0,o.A)("p",{},void 0,"We can't find any results based on your search. Try adjusting or resetting your filters to display better results.")))):null};try{cN.displayName="ListingSearchResults"}catch(e){}const uN=cN;var mN=i(23655);const pN=({handleSortChange:e,sort:t=1,sortOptions:i=[{value:0,label:"Top Available"},{value:1,label:"Highest Rating"}]})=>{const r=(0,a.useMemo)(()=>i.reduce((e,t)=>(e[String(t.value)]=t.label,e),{}),[i]);return(0,o.A)(mN.A,{onSelect:e,menuItems:r,defaultValue:t})};try{pN.displayName="ListingSort"}catch(e){}const hN=pN;var gN;const vN=({children:e=null,typeId:t,index:i})=>(0,o.A)("div",{role:"tabpanel",hidden:t!==i,id:`tabpanel-${i}`,"aria-labelledby":`simple-tab-${i}`},void 0,t===i&&(0,o.A)(g.A,{sx:{pt:3}},void 0,e));try{vN.displayName="TabPanel"}catch(e){}const AN=({TABS:e,typeId:t,setTypeId:i,isLoading:r,searchResults:n={},handleSortChange:s,listingsPerPage:l,sort:d=null,sortOptions:c,page:u,setPage:m,handlePageChange:p,currentUser:h=null,queryParams:v})=>{const A=(0,Vs.A)(),y=(0,d_.A)(A.breakpoints.down("md")),f=Math.ceil((()=>{switch(t){case 1:return n?.total_listings||0;case 2:return n?.total_r_listings||0;case 3:return n?.total_chats||0;default:return 0}})()/l);return a.createElement(a.Fragment,null,(0,o.A)(no.Ay,{container:!0,sx:{pr:{xs:0,sm:1},mb:-3,borderBottom:"var(-color_ddd)"},style:{backgroundColor:"var(--body_background)"}},void 0,(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(W.A,{direction:"row",spacing:1,justifyContent:"space-between",alignItems:"center"},void 0,(0,o.A)(g.A,{"data-test-id":"listing-type-tabs",sx:{flex:1}},void 0,(0,o.A)(Cm.A,{value:t,onChange:(e,t)=>
1{i(t),m(1)},variant:"fullWidth"},void 0,(0,o.A)(xm.A,{label:y?"Phone Sex":"Live Phone Sex",value:1,"data-test-id":"tab-1",sx:{whiteSpace:"nowrap",maxWidth:"150px"}}),(0,o.A)(xm.A,{label:y?"Recorded":"Recorded Phone Sex",value:2,"data-test-id":"tab-2",sx:{maxWidth:"200px"}}),(0,o.A)(xm.A,{label:"Chat",value:3,"data-test-id":"tab-3",sx:{maxWidth:"100px"}}))),(0,o.A)(g.A,{"data-test-id":"listing-sort-box",sx:{width:"150px",height:"40px",display:"flex",alignItems:"center",justifyContent:"flex-end",paddingRight:"10px"}},void 0,3!==t?(0,o.A)(hN,{sort:d,handleSortChange:s,sortOptions:c}):gN||(gN=(0,o.A)("span",{})))))),(0,o.A)(vN,{typeId:t,index:e.live},void 0,(0,o.A)(uN,{isLoading:r,cardType:"live",records:n?.listings,page:u,lastPage:f,handlePageChange:p,currentUser:h,queryParams:v})),(0,o.A)(vN,{typeId:t,index:e.recorded},void 0,(0,o.A)(uN,{isLoading:r,cardType:"live",records:n?.r_listings,page:u,lastPage:f,handlePageChange:p,currentUser:h,queryParams:v})),(0,o.A)(vN,{typeId:t,index:e.chat},void 0,(0,o.A)(uN,{isLoading:r,cardType:"chat",records:n?.chats,page:u,lastPage:f,handlePageChange:p,currentUser:h,queryParams:v})))};try{AN.displayName="ListingTypeTabs"}catch(e){}const yN=AN;var fN,bN,wN,xN;const CN=(0,Re.Ay)(X_.A)(()=>({"& .MuiBadge-badge":{top:"50%",right:-3}})),kN=(0,a.forwardRef)((e,t)=>{const{activeFilterCount:i,searchQueryText:r,searchError:n,categoryId:s,showClearIcon:l,typeId:d,setTypeId:c,page:u,setPage:m,handleSearchChange:p,handleSearchSubmit:h,handleClearClick:v,handleFilterClick:A,handleCategoryChange:y,handleSortChange:f,handlePageChange:b,sort:w,sortOptions:x,isLoading:C,TABS:k,showTabs:S,searchResults:_={},listingsPerPage:N=8,currentUser:P=null,queryParams:T}=e;let F;return!S&&_&&(F=Math.ceil(_.total_listings/N)),a.createElement("section",{className:"body-content body-content-darkerbg",ref:t},fN||(fN=(0,o.A)(oN,{breadcrumbs:"Phone Sex"})),(0,o.A)(no.Ay,{container:!0,alignItems:"center",sx:{backgroundColor:"var(--body_background)",py:1.5,px:{xs:2,sm:3},borderBottom:"1px solid var(--color_eee)"}},void 0,(0,o.A)(no.Ay,{item:!0,sm:6,xs:12},void 0,(0,o.A)(ao.A,{fullWidth:!0,size:"small",placeholder:"Find Flirts for phone sex",value:r,onChange:p,onKeyPress:h,variant:"outlined",error:!!n,helperText:n,autoComplete:"off",autoCapitalize:"none",autoCorrect:"off",spellCheck:"false",InputProps:{name:"listing-search",inputMode:"search",autoComplete:"off",autoCapitalize:"none",autoCorrect:"off",spellCheck:"false",startAdornment:bN||(bN=(0,o.A)(ro.A,{position:"start"},void 0,(0,o.A)(so.A,{}))),endAdornment:(0,o.A)(ro.A,{position:"end"},void 0,l&&(0,o.A)(M.A,{"data-test-id":"clear-button",edge:"end",onClick:v,size:"small","aria-label":"clear input"},void 0,wN||(wN=(0,o.A)(FS.A,{}))),(0,o.A)(M.A,{"data-test-id":"filter-button",edge:"end",onClick:A,size:"small"},void 0,(0,o.A)(CN,{color:"secondary",badgeContent:i,max:99},void 0,xN||(xN=(0,o.A)(J_.A,{})))))}})),(0,o.A)(no.Ay,{item:!0,sm:6,xs:12,sx:{pt:1.5,pl:{xs:0,sm:2}}},void 0,(0,o.A)(W.A,{direction:"row",spacing:1,alignItems:"center"},void 0,(0,o.A)(co.A,{state:s,setState:y})))),(0,o.A)(no.Ay,{container:!0},void 0,(0,o.A)(no.Ay,{item:!0,xs:12},void 0,S?(0,o.A)(yN,{TABS:k,typeId:d,setTypeId:c,page:u,setPage:m,isLoading:C,searchResults:_,handleSortChange:f,sort:w,sortOptions:x,handlePageChange:b,listingsPerPage:N,currentUser:P,queryParams:T}):(0,o.A)(g.A,{sx:{maxWidth:"1060px",margin:"0 auto"}},void 0,(0,o.A)(uN,{isLoading:C,cardType:"live",records:_?.listings,page:u,lastPage:F,handlePageChange:b,listingsPerPage:N,currentUser:P,queryParams:T})))))});try{kN.displayName="ListingSearch"}catch(e){}kN.displayName="ListingSearch";const SN=kN;var _N;function NN(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function PN(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?NN(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):NN(Object(i)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const TN=({allPriceOptions:e,selectedPrices:t,handlePriceChange:i,checkboxValue:r,handleCheckboxChange:n,handleReset:s,handleApply:l,closeClick:d})=>a.createElement(a.Fragment,null,(0,o.A)(Hs.A,{},void 0,"Filter",(0,o.A)(M.A,{"aria-label":"close",onClick:d,sx:{position:"absolute",right:8,top:8,color:e=>e.palette.grey[500]}},void 0,_N||(_N=(0,o.A)(FS.A,{})))),(0,o.A)(Ys.A,{},void 0,(0,o.A)(Kd.A,{fullWidth:!0,variant:"outlined",margin:"normal"},void 0,(0,o.A)(Au.A,{id:"ppm",multiple:!0,disableCloseOnSelect:!0,disableClearable:!0,options:e,getOptionLabel:e=>e,value:t,onChange:i,isOptionEqualToValue:(e,t)=>e===t,renderOption:(e,t,{selected:i})=>a.createElement("li",e,(0,o.A)(Zd.A,{checked:i,style:{marginRight:8}}),t),renderInput:e=>a.createElement(ao.A,(0,De.A)({},e,{label:"Price Per Minute",autoComplete:"off",autoCapitalize:"none",autoCorrect:"off",spellCheck:"false",inputProps:PN(PN({},e.inputProps),{},{readOnly:!0,name:"price-per-minute-search",inputMode:"search",autoComplete:"off",autoCapitalize:"none",autoCorrect:"off",spellCheck:"false"})}))})),(0,o.A)(Xd.A,{control:(0,o.A)(Zd.A,{checked:r,onChange:n}),label:"Limit to Available Flirts"})),(0,o.A)(md.A,{sx:{mt:15}},void 0,(0,o.A)(E.A,{onClick:s,color:"secondary"},void 0,"Reset"),(0,o.A)(E.A,{onClick:l,variant:"contained",color:"primary"},void 0,"Apply")));try{TN.displayName="ListingSearchFilters"}catch(e){}const FN=TN,IN=({allPriceOptions:e,initialSelectedPrices:t,initialLimitToAvailable:i,resetFilters:r,onFiltersApplied:n})=>{const{closeDialog:s}=(0,a.useContext)(la.A),[l,d]=(0,a.useState)(t),[c,u]=(0,a.useState)(i);return(0,o.A)(FN,{allPriceOptions:e,selectedPrices:l,handlePriceChange:(e,t)=>
1{d(t)},checkboxValue:c,handleCheckboxChange:({target:{checked:e}})=>{u(e)},handleReset:()=>{d(e),u(!1),r()},handleApply:()=>{s(),n&&n(l,c)},closeClick:()=>{s()}})};try{IN.displayName="ListingSearchFiltersContainer"}catch(e){}const EN=IN,MN={live:1,recorded:2,chat:3},ON={"Under $1":"price_0","$1-$1.99":"price_1","$2-$2.99":"price_2","$3-$3.99":"price_3","$4 or more":"price_4"},DN=()=>{const[e,t]=(0,s.ok)(),i=e.get("text")||"",[o,r]=(0,a.useState)(i),[n,l]=(0,a.useState)(""),[d,c]=(0,a.useState)([]),u=Object.keys(ON),[m,p]=(0,a.useState)(u),[h,g]=(0,a.useState)(!1),[v,A]=(0,a.useState)(!1),y=(0,vo.F3)(),[f,b]=(0,a.useState)(y),[w,x]=(0,a.useState)(!1),[C,S]=(0,a.useState)(MN.live),_=parseInt(e.get("sort"),10)||0,[N,P]=(0,a.useState)(_),T=(0,a.useRef)(!!e.get("sort")),[F,I]=(0,a.useState)(0),[E,M]=(0,a.useState)(1),O=(0,a.useRef)(null),{openDialog:D}=(0,a.useContext)(la.A),R=(0,a.useMemo)(()=>v?d.length+(h?1:0):0,[v,d.length,h]),L=()=>R>0?1:0,[j,{data:q,isLoading:B}]=(0,k.S8)(),{data:z}=(0,k.zg)(),U=z?.current_user,$=z?.feature_flags?.AWS_LISTING_FULLTEXT_SEARCH,W=(0,a.useMemo)(()=>{const e=o.trim().length>=3;return $&&e?[{value:4,label:"Most Relevant"},{value:0,label:"Top Available"},{value:1,label:"Highest Rating"}]:[{value:0,label:"Top Available"},{value:1,label:"Highest Rating"}]},[o,$]),G=(0,a.useMemo)(()=>{if(!$)return 1;return o.trim().length>=3?4:0},[o,$]),H=(0,a.useRef)(G);H.current=G;const Y=o.trim().length>0||v,V=()=>({searchQueryText:o.trim(),advancedSearch:L(),filters:v?d:[],limitToAvailable:!!v&&h,categoryId:f,type:C,sort:N,page:E}),Q=()=>{if(!f)return;const e=o.trim().length>0,i=v&&d.length>0;n&&l("");x(e||i),(()=>{const e=new URLSearchParams;1===L()&&e.set("advanced_search","1");const i=o.trim();i.length>0&&e.set("text",i),f&&e.set("category_id",f),C!==MN.live&&e.set("type",C),N!==G&&e.set("sort",N),E>1&&e.set("page",E),v&&(d.filter(e=>"available"!==e).forEach(t=>{e.append("filters[]",t)}),h&&e.append("filters[]","available"));t(e)})(),j(V())};(0,a.useEffect)(()=>{void 0!==$&&(T.current||P(H.current))},[$]);const Z=()=>{c([]),p(u),g(!1),A(!1)},K=(e,t)=>{p(e),g(t);const i=e.map(e=>ON[e]);c(i),A(!0),M(1)};return(0,a.useEffect)(()=>{const t=e.get("text")||"",i=e.get("category_id"),o=e.get("type"),a=e.get("page"),n=e.getAll("filters[]");if(t&&(r(t),x(!0)),i&&b(Number(i)),o&&S(Number(o)),a&&M(Number(a)),n.length>0){const e=n.filter(e=>"available"!==e);c(e),A(!0),n.includes("available")&&g(!0);const t=Object.entries(ON).filter(([t,i])=>e.includes(i)).map(([e])=>e);p(t.length?t:u)}(t||i||n.length>0)&&Q()},[]),(0,a.useEffect)(()=>{null!==f&&Q()},[f,C,N,E,v,F,d]),(0,a.useEffect)(()=>{q&&O.current&&O.current.scrollTo({top:0,behavior:"auto"})},[E,q]),a.createElement(SN,{ref:O,activeFilterCount:R,searchQueryText:o,searchError:n,categoryId:f,showClearIcon:Y,typeId:C,setTypeId:S,page:E,setPage:M,handleSearchChange:e=>{const{value:t}=e.target;r(t),n&&t.trim().length>=3&&l("")},handleSearchSubmit:e=>{if("Enter"!==e.key)return;const t=o.trim();t.length>0&&t.length<3?l("Please enter at least 3 characters."):(l(""),S(MN.live),M(1),Q(),e.target&&"function"==typeof e.target.blur&&e.target.blur())},handleClearClick:()=>{T.current=!1,r(""),Z(),M(1),I(e=>e+1)},handleFilterClick:()=>{D({component:EN,props:{allPriceOptions:u,initialSelectedPrices:m,initialLimitToAvailable:h,resetFilters:Z,onFiltersApplied:K}})},handleCategoryChange:e=>{M(1),b(e),(0,vo.xo)(e)},handleSortChange:e=>{T.current=!0,P(Number(e)),M(1)},sort:N,sortOptions:W,isLoading:B,TABS:MN,showTabs:w,searchResults:q?.search_results,handlePageChange:(e,t)=>
1{if(t<1)return;const i=q?.search_results||q;if(!i)return;const o=i?.listings||i?.search_results?.listings,a=q?.listings_per_page;o&&a&&o.length<a&&t>E||M(t)},listingsPerPage:q?.listings_per_page,currentUser:U,queryParams:V})};try{DN.displayName="ListingSearchContainer"}catch(e){}const RN=DN,LN=[{index:0,route:"",label:"Search"},{index:1,route:"saved_searches",label:"Manage Searches"},{index:2,route:"tags",label:"Manage Tags"}],jN=({tabRoute:e})=>{const t=(0,n.Zp)(),i=LN.find(t=>t.route===e)?.index||0;return(0,o.A)(g.A,{sx:{maxWidth:"100%",borderBottom:1,borderColor:"divider",mt:1}},void 0,(0,o.A)(Cm.A,{value:i,onChange:(e,i)=>{const o=LN[i];t(`/my_customers/${o.route}`)},"aria-label":"customer details tabs","data-test-id":"customers-tabs",sx:{"& .MuiTab-root":{px:{xs:1.5,sm:2}}}},void 0,LN.map(e=>(0,o.A)(xm.A,{label:e.label,"data-test-id":`tab-${e.label.toLowerCase().replace(/\s+/g,"-")}`},e.index))))};try{jN.displayName="CustomersTabs"}catch(e){}const qN=jN;var BN=i(9095),zN=i(82621),UN=i(36026),$N=i(44447),WN=i(2643);function GN(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function HN(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?GN(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):GN(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const YN=(e,t)=>HN(HN({fontSize:"0.875rem","& .MuiDataGrid-selectedRowCount":{display:"none"},"& .MuiDataGrid-footerContainer":{position:"sticky",bottom:0,zIndex:2,backgroundColor:"background.paper",display:"flex",justifyContent:"flex-end",borderTop:"1px solid var(--color_ccc)",minHeight:"unset !important",height:"40px"},"& .MuiTablePagination-root":{paddingLeft:0,marginLeft:"auto",minHeight:"unset !important"},"& .MuiDataGrid-toolbarContainer":{position:"sticky",top:0,zIndex:3,backgroundColor:"background.paper"},"& .MuiDataGrid-columnHeaders":{position:"sticky",top:0,zIndex:2,backgroundColor:"background.paper",overflow:"visible"},"& .MuiDataGrid-columnHeader":{overflow:"visible"},"& .MuiDataGrid-columnHeaderTitleContainer":{outline:"none"},"& .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-columnHeader:focus-within":{outline:"none"},"& .MuiDataGrid-columnHeaderTitleContainer:focus-visible":{outline:"none"},"& .MuiDataGrid-cell:focus, & .MuiDataGrid-cell:focus-within":{outline:"none"}},e?{"& .MuiDataGrid-virtualScroller":{paddingTop:"40px",marginTop:"0 !important"}}:{"& .MuiDataGrid-virtualScroller":{marginTop:"0 !important"}}),{},{"& .MuiDataGrid-virtualScrollerContent":{width:"100% !important",minWidth:"100% !important"},"& .MuiTablePagination-selectLabel, & .MuiTablePagination-input":{display:"none !important"},"& .MuiDataGrid-cell":{whiteSpace:"normal",wordWrap:"break-word",lineHeight:"1.25rem",py:"6px",alignItems:"flex-start"},'& .MuiDataGrid-cell[data-field="seeker_name"]':{paddingTop:"12px",minWidth:"150px !important",maxWidth:"150px !important",width:"150px !important"},'& .MuiDataGrid-columnHeader[data-field="seeker_name"]':{minWidth:"150px !important",maxWidth:"150px !important",width:"150px !important"},'& .MuiDataGrid-columnHeader[data-field="interval_earnings_group"],\n    & .MuiDataGrid-columnHeader[data-field="lapse_status"],\n    & .MuiDataGrid-columnHeader[data-field="main_spend"],\n    & .MuiDataGrid-columnHeader[data-field="days_since_last_contact"]':{minWidth:"85px !important",maxWidth:"85px !important",width:"85px !important"},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="interval_earnings_group"],\n    & .MuiDataGrid-row > .MuiDataGrid-cell[data-field="lapse_status"],\n    & .MuiDataGrid-row > .MuiDataGrid-cell[data-field="main_spend"],\n    & .MuiDataGrid-row > .MuiDataGrid-cell[data-field="days_since_last_contact"]':{minWidth:"85px !important",maxWidth:"85px !important",width:"85px !important"},'& .MuiDataGrid-columnHeader[data-field="system_tag_list"],\n    & .MuiDataGrid-columnHeader[data-field="user_tag_list"],\n    & .MuiDataGrid-row > .MuiDataGrid-cell[data-field="system_tag_list"],\n    & .MuiDataGrid-row > .MuiDataGrid-cell[data-field="user_tag_list"]':{fontSize:"0.938em",lineHeight:"1.125rem",minWidth:t?"185px !important":"120px !important",maxWidth:t?"185px !important":"120px !important"},"& .MuiChip-root":{fontSize:"0.813em"},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="__select"]':{order:1},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="seeker_name"]':{order:2},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="interval_earnings_group"]':{order:3},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="lapse_status"]':{order:4},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="main_spend"]':{order:5},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="days_since_last_contact"]':{order:6},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="skr_90D_earnings"]':{order:7},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="skr_365D_earnings"]':{order:8},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="skr_lt_earnings"]':{order:9},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="system_tag_list"]':{order:10},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="user_tag_list"]':{order:11}
1,"@media (max-width:900px)":{"& .MuiDataGrid-virtualScroller":{overflowX:"hidden !important"},"& .MuiDataGrid-virtualScrollerRenderZone":{width:"100%"},"& .MuiDataGrid-columnHeaders":{minHeight:"44px !important",maxHeight:"44px !important"},"& .MuiDataGrid-columnHeader.MuiDataGrid-columnHeader--sortable":{width:"80px !important",minWidth:"80px !important",maxWidth:"80px !important"},'& .MuiDataGrid-columnHeader.MuiDataGrid-columnHeader--sortable[data-field="seeker_name"]':{width:"60px !important",minWidth:"60px !important",maxWidth:"60px !important"},"& .MuiDataGrid-columnHeaderTitleContainer":{width:"100% !important"},'& .MuiDataGrid-columnHeaders .MuiDataGrid-columnHeader:not([data-field="__select"])':{display:"none"},"& .MuiDataGrid-row":{display:"flex",flexWrap:"wrap",borderBottom:"1px solid var(--color_ccc)",padding:"5px 5px 12px 8px",boxSizing:"border-box",width:"100%"},"& .MuiDataGrid-cell":{padding:"1px 0px",minWidth:"0",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",border:"none",boxSizing:"border-box",position:"relative",display:"flex",alignItems:"center"},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="__select"]':{flex:"0 0 10%",maxWidth:"10%",minWidth:"30px !important",order:1},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="seeker_name"]':{flex:"0 0 40%",maxWidth:"40%",minWidth:"110px !important",order:2,paddingLeft:"20px",marginTop:"-9px","& span":{display:"inline-block",maxWidth:"100%",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",wordBreak:"normal",overflowWrap:"normal"}},'\n      .MuiDataGrid-row > .MuiDataGrid-cell[data-field="interval_earnings_group"],\n      .MuiDataGrid-row > .MuiDataGrid-cell[data-field="lapse_status"]\n    ':{display:"flex",justifyContent:"flex-end",maxWidth:"80px !important",minWidth:"auto !important"},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="main_spend"]':{order:4},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="days_since_last_contact"]':{order:6},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="skr_90D_earnings"]':{order:7},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="skr_365D_earnings"]':{order:8},'\n      .MuiDataGrid-row > .MuiDataGrid-cell[data-field="main_spend"],\n      .MuiDataGrid-row > .MuiDataGrid-cell[data-field="days_since_last_contact"],\n      .MuiDataGrid-row > .MuiDataGrid-cell[data-field="skr_90D_earnings"],\n      .MuiDataGrid-row > .MuiDataGrid-cell[data-field="skr_365D_earnings"],\n      .MuiDataGrid-row > .MuiDataGrid-cell[data-field="skr_lt_earnings"]\n    ':{flex:"0 0 30%",maxWidth:"30%",minWidth:"350px !important","&::before":{color:"#999",margin:"0 8px"}},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="main_spend"]::before':{content:'"Main Spend"',width:"105px"},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="days_since_last_contact"]::before':{content:'"Cntct Days Ago"',width:"105px"},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="skr_90D_earnings"]::before':{content:'"Last 90 Days"',width:"105px"},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="skr_365D_earnings"]::before':{content:'"Last 365 Days"',width:"105px"},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="skr_lt_earnings"]::before':{content:'"Lifetime $"',width:"105px"},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="system_tag_list"]':{flex:"0 0 50%",maxWidth:"50%",minWidth:"350px !important",order:10,"&::before":{content:'"System Tags"',color:"#999",margin:"0 8px",width:"105px"}},'& .MuiDataGrid-row > .MuiDataGrid-cell[data-field="user_tag_list"]':{flex:"0 0 50%",maxWidth:"50%",minWidth:"350px !important",order:11,"&::before":{content:'"Your Tags"',color:"#999",margin:"0 8px",width:"105px"}}}});var VN=i(50121),QN=i(85684);const ZN="245px",KN={default:"250px",iphone:"250px",android:"250px"},XN=(0,Re.Ay)(g.A,{shouldForwardProp:e=>"isAndroid"!==e&&"isIphone"!==e})(({isAndroid:e,isIphone:t})=>{let i=KN.default;return t?i=KN.iphone:e&&(i=KN.android),{width:"100%",position:"relative",height:`calc(100dvh - ${ZN} - var(--banner-height, 0px))`,"@media (max-width:900px)":{height:`calc(100dvh - ${i} - var(--banner-height, 0px))`}}});var JN,eP,tP,iP,oP,aP,rP,nP,sP,lP,dP,cP,uP;const mP=()=>(0,o.A)(W.A,{direction:"row",alignItems:"center",spacing:2,sx:{height:52,px:2,borderBottom:"1px solid",borderColor:"divider"}},void 0,JN||(JN=(0,o.A)(yC.A,{variant:"rounded",width:18,height:18})),(0,o.A)(yC.A,{variant:"text",sx:{width:110}}),eP||(eP=(0,o.A)(yC.A,{variant:"rounded",width:50,height:22})),tP||(tP=(0,o.A)(yC.A,{variant:"rounded",width:60,height:22})),iP||(iP=(0,o.A)(yC.A,{variant:"text",width:50})),oP||(oP=(0,o.A)(yC.A,{variant:"text",width:40})),aP||(aP=(0,o.A)(yC.A,{variant:"text",width:55})),rP||(rP=(0,o.A)(yC.A,{variant:"text",width:55})),nP||(nP=(0,o.A)(yC.A,{variant:"text",width:55})),sP||(sP=(0,o.A)(yC.A,{variant:"rounded",width:70,height:20})),lP||(lP=(0,o.A)(yC.A,{variant:"rounded",width:70,height:20})));try{mP.displayName="CustomersDesktopSkeletonRow"}catch(e){}const pP=()=>(0,o.A)(g.A,{sx:{px:1,py:1.5,borderBottom:"1px solid",borderColor:"divider"}},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",spacing:1.5,sx:{mb:1}},void 0,dP||(dP=(0,o.A)(yC.A,{variant:"rounded",width:18,height:18})),(0,o.A)(yC.A,{variant:"text",sx:{width:"35%"}}),(0,o.A)(g.A,{sx:{flex:1}}),cP||(cP=(0,o.A)(yC.A,{variant:"rounded",width:50,height:22})),uP||(uP=(0,o.A)(yC.A,{variant:"rounded",width:60,height:22}))),(0,o.A)(W.A,{spacing:.5,sx:{pl:"30px"}},void 0,(0,o.A)(yC.A,{variant:"text",sx:{width:"60%"}}),(0,o.A)(yC.A,{variant:"text",sx:{width:"50%"}})));try{pP.displayName="CustomersMobileSkeletonRow"}catch(e){}const hP=({isMobile:e=!1})=>{const t=e?pP:mP,i=e?5:10;return(0,o.A)(g.A,{role:"progressbar","aria-label":"Loading customers",sx:{width:"100%",height:"100%",overflow:"hidden",bgcolor:"background.paper"}
1,"data-test-id":"customers-skeleton-overlay"},void 0,Array.from({length:i}).map((e,i)=>(0,o.A)(t,{},i)))};try{hP.displayName="SearchResultsSkeleton"}catch(e){}const gP=hP;var vP,AP=i(38150),yP=i(79989);function fP(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function bP(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?fP(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):fP(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const wP=(e,t)=>[{field:"seeker_name",headerName:"Name",flex:1,minWidth:160,renderCell:e=>{const i=e.row.is_flirt;return(0,o.A)(g.A,{component:s.N_,to:`/my_customers/user/${e.row.seeker_name}`,state:{backgroundLocation:t},sx:bP({position:"relative",display:"inline-flex",alignItems:"center",textDecoration:"none",color:"primary.main",pl:i?"2px":0,maxWidth:"100%",minWidth:0,"&:hover":{textDecoration:"underline"}},i?{"&::before":{content:'"F"',position:"absolute",top:"-10px",left:"-15px",width:16,height:16,display:"flex",alignItems:"center",justifyContent:"center",fontSize:"10px",fontWeight:"bold",borderRadius:"50%",backgroundColor:"black",color:"white",boxShadow:"0 0 0 1px #fff, 0 1px 3px rgba(0,0,0,0.4)",pointerEvents:"none",zIndex:1}}:{})},void 0,(0,o.A)("span",{style:{display:"inline-block",maxWidth:"100%",overflowWrap:"anywhere",wordBreak:"break-word",lineHeight:1.2}},void 0,e.row.seeker_name))}},{field:"interval_earnings_group",headerName:"Value",renderCell:t=>(0,o.A)(H.A,{label:t.row.interval_earnings_group,colorMap:G.D4,onClick:i=>{i.stopPropagation(),e((0,yP.setFilters)(bP(bP({},yP.initialFilters),{},{value:[t.row.interval_earnings_group]})))}})},{field:"lapse_status",headerName:"Status",renderCell:t=>(0,o.A)(H.A,{label:t.row.lapse_status,colorMap:G.qb,onClick:i=>{i.stopPropagation(),e((0,yP.setFilters)(bP(bP({},yP.initialFilters),{},{status:[t.row.lapse_status]})))}})},{field:"main_spend",headerName:"Main Spnd"},{field:"days_since_last_contact",headerName:"Cntct Days Ago"},{field:"skr_90D_earnings",headerName:"Last 90D $",valueFormatter:e=>(0,kc.zQ)(e.value),filterOperators:(0,zN.Jh)()},{field:"skr_365D_earnings",headerName:"Last 365D $",valueFormatter:e=>(0,kc.zQ)(e.value),filterOperators:(0,zN.Jh)()},{field:"skr_lt_earnings",headerName:"Lifetime $",valueFormatter:e=>(0,kc.zQ)(e.value),filterOperators:(0,zN.Jh)()},{field:"system_tag_list",headerName:"System Tags",minWidth:120,renderCell:t=>{const i=(t.value||"").split("^").filter(e=>e);return 0===i.length?null:(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",gap:.5,py:.5}},void 0,i.map(t=>(0,o.A)(H.A,{label:t,onClick:i=>{i.stopPropagation(),e((0,yP.setFiltersToTag)([t]))}},t)))}},{field:"user_tag_list",headerName:"Your Tags",minWidth:120,renderCell:t=>{const i=(t.value||"").split("^").filter(e=>e);return 0===i.length?null:(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",gap:.5,py:.5}},void 0,i.map(t=>(0,o.A)(H.A,{label:t,onClick:i=>{i.stopPropagation(),e((0,yP.setFiltersToTag)([t]))}},t)))}}],xP={"Last Contact":"Cntct Days Ago","Last 90 Day Earnings":"Last 90D $","Last 365 Day Earnings":"Last 365D $","Lifetime Earnings":"Lifetime $"},CP=[{label:"Name",value:"Name"},{label:"Value",value:"Value"},{label:"Status",value:"Status"},{label:"Main Spnd",value:"Main Spnd"},{label:"Cntct Days Ago",value:"Cntct Days Ago"},{label:"Last 90D $",value:"Last 90D $"},{label:"Last 365D $",value:"Last 365D $"},{label:"Lifetime $",value:"Lifetime $"},{label:"System Tags",value:"System Tags"},{label:"Your Tags",value:"Your Tags"}],kP=({rows:e,loading:t=!1,totalRowCount:i,page:r,pageSize:s,onPageChange:l,selectAll:d=!1,setSelectAll:c,sort:u,onSortChange:p})=>{const{collapsed:h}=(0,WN.Xb)(),v=(0,m.wA)(),A=(0,n.zy)(),y=(0,m.d4)(yP.selectedResultsSelector)||[],f=(0,m.d4)(yP.columnVisibilityModelSelector)||{}
1,b=(0,Vs.A)(),w=(0,d_.A)(b.breakpoints.down("md")),x=u?.sortColumn?.[0]||"",C=u?.sortDirection?.[0]||"asc",k=e=>v((0,yP.addSelectedResults)(e)),S=()=>v((0,yP.clearSelectedResults)()),_=e=>v((0,yP.setColumnVisibilityModel)(e));(0,a.useEffect)(()=>{!w&&f?.__compact&&_(yP.defaultColumnVisibilityModel)},[w,f,_]),(0,a.useEffect)(()=>{!u?.sortColumn?.length&&p&&p(["Cntct Days Ago"],["asc"])},[u,p]);const N=()=>{const e=f&&f.__compact;_(e?yP.defaultColumnVisibilityModel:{__compact:!0,seeker_name:!0,interval_earnings_group:!0,lapse_status:!0,main_spend:!1,days_since_last_contact:!1,skr_90D_earnings:!1,skr_365D_earnings:!1,skr_lt_earnings:!1,system_tag_list:!1,user_tag_list:!1})},P=(0,a.useMemo)(()=>{const t=e.map(e=>e.seeker_id),i=t.length>0&&t.every(e=>y.includes(e)),a=y.length>0,r="all"===d,n=r,s=!r&&i||!r&&a&&!i,l=()=>{a?r?(c(!1),S()):i?c("all"):(S(),c("page"),k(t)):(c("page"),k(t))};return[{field:"__select",headerName:"",width:46,sortable:!1,filterable:!1,disableColumnMenu:!0,renderHeader:()=>(0,o.A)(Zd.A,{size:"small",indeterminate:s,checked:n,onChange:l,inputProps:{"aria-label":"Select customers (none/page/all)"}}),renderCell:e=>{const t=e.row.seeker_id,i=y.includes(t);return(0,o.A)(Zd.A,{size:"small",checked:i,onChange:e=>{var i;e.target.checked?k([t]):(i=[t],v((0,yP.removeSelectedResults)(i)),"page"!==d&&"all"!==d||c(!1))}})}},...wP(v,A)]},[e,y,d,c,v,A]),T=(0,a.useMemo)(()=>{if(!u||!Array.isArray(u.sortColumn))return[];const e=xP[u.sortColumn[0]]||u.sortColumn[0],t=u.sortDirection?.[0]||"asc",i=P.find(t=>t.headerName===e||t.field===e);return i?[{field:i.field,sort:t}]:null},[u,P]);return(0,o.A)(XN,{isAndroid:AP.m0,isIphone:AP.sf},void 0,w&&(0,o.A)(W.A,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:{mb:.5,px:1,position:"absolute",right:"5px",top:"4px",zIndex:"3",width:"auto",left:"50px"}},void 0,(0,o.A)(W.A,{direction:"row",spacing:.5,alignItems:"center"},void 0,(0,o.A)(O.A,{variant:"subtitle2",sx:{lineHeight:1}},void 0,"Sort:"),(0,o.A)(Kd.A,{size:"small",sx:{minWidth:130}},void 0,(0,o.A)(Jd.A,{"data-test-id":"results-mobile-sort",size:"small",value:x||"",onChange:e=>{if(!p)return;const t=e.target.value;p([t],["desc"])},renderValue:e=>{const t=CP.find(t=>t.value===e);return`${t?t.label:e}`},sx:{fontSize:"0.8rem",height:28,"& .MuiSelect-select":{py:.25,display:"flex",alignItems:"center"}},MenuProps:{PaperProps:{sx:{mt:.5,"& .MuiMenuItem-root":{minHeight:28,py:.25,fontSize:"0.8rem"}}}}},void 0,CP.map(e=>(0,o.A)(td.A,{value:e.value},e.value,e.label)))),(0,o.A)(M.A,{"aria-label":"Toggle sort direction",title:"Toggle sort direction",onClick:()=>{if(!p||!x)return;p([x],["asc"===C?"desc":"asc"])},size:"small",sx:{height:28,border:"1px solid rgba(0,0,0,0.2)",borderRadius:"6px"}},void 0,"asc"===C?(0,o.A)(VN.A,{sx:{fontSize:16}}):(0,o.A)(QN.A,{sx:{fontSize:16}}))),(0,o.A)(g.A,{"data-test-id":"results-view-toggle",sx:{fontSize:"0.813em",cursor:"pointer",color:"var(--link_color)",whiteSpace:"nowrap"},role:"button",tabIndex:0,onClick:N,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),N())}},void 0,f?.__compact?"Full View":"Compact View")),(0,o.A)(UN.z,{getRowId:e=>e.seeker_id,paginationMode:"server",sortingMode:"server",sortingOrder:["asc","desc"],sortModel:T,onSortModelChange:e=>{const t=e.map(e=>{const t=P.find(t=>t.field===e.field);return t?.headerName||e.field}),i=e.map(e=>e.sort||"asc");p&&p(t,i)},disableColumnSorting:w,disableColumnMenu:w,columnVisibilityModel:f,onColumnVisibilityModelChange:_,rowCount:i,page:r,onPageChange:l,columns:P,rows:t?[]:e,rowsPerPageOptions:[s],pageSize:s,loading:t,disableColumnFilter:!0,slots:{toolbar:$N.O},components:{LoadingOverlay:gP},componentsProps:{loadingOverlay:{isMobile:w}},sx:YN(d,h),getRowHeight:()=>"auto"}),d&&(0,o.A)("div",{"data-test-id":"selection-banner",role:"status",style:{position:"absolute",top:"var(--DataGrid-headerHeight, 45px)",left:0,right:0,height:"40px",display:"flex",alignItems:"center",padding:"0 16px",background:"var(--mui-palette-background-paper, #fff)",border:"1px solid var(--mui-palette-divider, rgba(0,0,0,0.12))",fontSize:"0.75rem",zIndex:2}}
1,void 0,"all"===d?`All ${i.toLocaleString()} matching customers are selected. Click the checkbox to clear selection.`:vP||(vP=(0,o.A)(O.A,{variant:"body2"},void 0,"All customers ",(0,o.A)("b",{},void 0,"on this page")," are selected. Click the checkbox again to select all customers that match."))))};try{kP.displayName="SearchResults"}catch(e){}const SP=kP;var _P,NP=i(39869),PP=i(62202),TP=i(26012),FP=i(50924);const IP=e=>a.createElement(Bo.A,(0,De.A)({},e,{width:"25px",height:"22px",viewBox:"0 0 25 22"}),_P||(_P=(0,o.A)("path",{d:"M0.631071152,21.1764704 C0.491309129,21.1764704 0.363880847,21.1338988 0.248782635,21.0487548 C0.133684423,20.9636106 0.0596938354,20.8521139 0.0268086119,20.7142613 C-0.0142978821,20.5845179 -0.00813199979,20.4547761 0.0453065413,20.3250327 C0.0987449412,20.1952893 0.187122541,20.0939287 0.310442164,20.0209479 C0.844826587,19.7046979 1.30315727,19.3600719 1.68544762,18.9870593 C2.06773811,18.6140466 2.39247463,18.2471212 2.65966691,17.886272 C2.92685919,17.5254228 3.13855444,17.1848513 3.29475915,16.8645468 C3.45096385,16.5442426 3.56606037,16.2746233 3.64005195,16.0556812 C3.06456103,15.61
177967 2.55073741,15.1414018 2.09856597,14.6264822 C1.6463944,14.1115626 1.26410969,13.5682697 0.951700281,12.9965873 C0.63929087,12.4249049 0.402932094,11.8309317 0.242616753,11.21465 C0.0823014118,10.5983683 0.00214494136,9.97398682 0.00214494136,9.34148716 C0.00214494136,8.7008786 0.0843566588,8.0724427 0.248782635,7.45616096 C0.413208611,6.83987923 0.655733411,6.23982446 0.976364092,5.65597858 C1.12434753,5.37216461 1.2928816,5.09849092 1.48197153,4.83494946 C1.67106146,4.57140786 1.87248033,4.31597911 2.08623407,4.06865558 C2.29998781,3.82133192 2.53223609,3.58212095 2.78298569,3.35101521 C3.03373543,3.11990962 3.29886837,2.89894345 3.57839256,2.68811023 C4.13744093,2.25833475 4.74375279,1.8751917 5.39734606,1.53866949 C6.05093947,1.20214714 6.73329716,0.920364697 7.44443961,0.693313546 C8.15558205,0.466262396 8.89343269,0.293949315 9.65801353,0.176369222 C10.4225945,0.0587891288 11.2036063,0 12.0010724,0 C12.7903172,0 13.5672184,0.0587891288 14.3317994,0.176369222 C15.0963802,0.293949315 15.8362862,0.466262396 16.5515392,0.693313546 C17.2667924,0.920364697 17.9491501,1.20214714 18.5986329,1.53866949 C19.2481155,1.8751917 19.8564826,2.25833475 20.4237522,2.68811023 C20.7032766,2.89894345 20.9663541,3.11990962 21.2129932,3.35101521 C21.4596322,3.58212095 21.6918805,3.82133192 21.9097449,4.06865558 C22.1276094,4.31597911 22.3290281,4.57140786 22.5140075,4.83494946 C22.6989867,5.09849092 22.869576,5.37216461 23.0257808,5.65597858 C23.3464114,6.23982446 23.5889362,6.83987923 23.7533622,7.45616096 C23.9177881,8.0724427 24,8.7008786 24,9.34148716 C24,9.98209586 23.9177881,10.6125589 23.7533622,11.2328951 C23.5889362,11.8532313 23.3464114,12.4553133 23.0257808,13.0391592 C22.869576,13.3148642 22.6989867,13.5844834 22.5140075,13.848025 C22.3290281,14.1115665 22.1276094,14.3669952 21.9097449,14.6143189 C21.6918805,14.8616424 21.4596322,15.1008535 21.2129932,15.3319591 C20.9663541,15.5630647 20.7032766,15.7840309 20.4237522,15.9948642 C19.8564826,16.4327485 19.2481155,16.8179189 18.5986329,17.1503866 C17.9491501,17.4828545 17.2688478,17.7626098 16.5577052,17.9896609 C15.8465629,18.2167122 15.1066569,18.3890251 14.3379652,18.5066052 C13.5692738,18.6241853 12.7903172,18.6829745 12.0010724,18.6829745 C11.3433684,18.6829745 10.6959507,18.6424301 10.0588,18.5613403 C9.42164925,18.4802508 8.79889514,18.3626724 8.19051885,18.208602 C7.91921594,18.3869994 7.54104187,18.6201288 7.05598507,18.9079972 C6.57092841,19.1958657 6.02833076,19.4898114 5.4281759,19.7898434 C4.95956178,20.0168944 4.50739698,20.2175885 4.07166809,20.3919313 C3.63593919,20.5662742 3.21665919,20.7122334 2.81381552,20.8298135 C2.41097171,20.9473936 2.02868701,21.0345638 1.66694983,21.0913266 C1.30521266,21.1480893 0.959923245,21.1764704 0.631071152,21.1764704 Z"})));try{IP.displayName="ChatIconNF"}catch(e){}const EP=IP;var MP,OP;const DP=e=>a.createElement(Bo.A,(0,De.A)({},e,{viewBox:"0 0 32 32"}),MP||(MP=(0,o.A)("path",{fillRule:"nonzero",d:"M12.5116735,6.84197855 C12.1818207,7.82859975 12.0021376,8.88292288 12,9.97763461 C11.9893017,15.5140965 16.5066552,20.0213581 22.0446554,20 C24.488463,19.9904357 26.7293578,19.0954472 28.4637011,17.620766 C28.4662827,17.6678751 28.466666,17.7156281 28.466666,17.7634385 C28.466666,18.5197127 28.3707522,19.2640093 28.1789219,19.9963507 C27.9870916,20.728692 27.704146,21.4394833 27.330077,22.1287458 C27.147838,22.4542308 26.9488171,22.7725313 26.7330081,23.0836568 C26.5171988,23.3947822 26.2822103,23.69633 26.028035,23.9883093 C25.7738599,24.2802885 25.5029036,24.5626905 25.2151581,24.8355235 C24.9274125,25.1083565 24.6204887,25.3692193 24.2943769,25.6181198 C23.6325624,26.1350665 22.9228007,26.5897817 22.165071,26.9822782 C21.4073411,27.374775 20.6136551,27.7050417 19.7839887,27.9730882 C18.9543227,28.2411348 18.091099,28.4445598 17.1942921,28.5833697 C16.2974854,28.7221795 15.3887027,28.7915833 14.4679171,28.7915833 C13.7005957,28.7915833 12.9452752,28.7437185 12.2019326,28.6479875 C11.4585901,28.5522568 10.7320437,28.413449 10.0222713,28.2315603 C9.70575126,28.4421683 9.26454818,28.7173905 8.69864858,29.0572352 C8.13274915,29.39708 7.49971856,29.7440992 6.79953788,30.0983037 C6.25282141,30.36635 5.72529581,30.6032805 5.21694543,30.8091018 C4.70859506,31.0149233 4.21943506,31.1872363 3.74945078,31.3260462 C3.27946633,31.464856 2.83346751,31.5677652 2.4114408,31.6347768 C1.9894141,31.7017883 1.58657645,31.7352938 1.20291568,31.7352938 C1.03985998,31.7352938 0.891193654,31.6850357 0.756912407,31.5845185 C0.622631161,31.484001 0.536308808,31.352373 0.497942714,31.1896303 C0.449985138,31.036461 0.457178667,30.8832937 0.519523631,30.7301243 C0.581868431,30.576955 0.684975631,30.4572932 0.828848525,30.3711353 C1.45229702,29.9977847 1.98701615,29.5909345 2.43302156,29.1505723 C2.87902713,28.7102102 3.2578864,28.2770343 3.56961073,27.8510318 C3.88133506,27.4250293 4.12831285,27.0229657 4.31055167,26.6448285 C4.49279049,26.2666915 4.62706976,25.948391 4.71339327,25.6899177 C4.0419872,25.1729707 3.44252631,24.61056 2.91499297,24.0026688 C2.38745946,23.3947777 1.94146064,22.7533902 1.57698299,22.0784873 C1.21250535,21.4035845 0.936753442,20.7023662 0.749718878,19.9748113 C0.562684314,19.2472565 0.469168432,18.5101395 0.469168432,17.7634385 C0.469168432,17.00
171645 0.565082102,16.265261 0.756912407,15.5377062 C0.948742713,14.8101513 1.23168831,14.1017533 1.60575744,13.4124908 C1.77840478,13.0774327 1.97502786,12.7543457 2.19563278,12.4432203 C2.4162377,12.1320948 2.65122638,11.830547 2.90060574,11.5385678 C3.14998511,11.2465885 3.42094144,10.9641867 3.71348264,10.6913535 C4.006024,10.4185205 4.31534577,10.1576577 4.64145732,9.90875735 C5.29368042,9.40138351 6.00104426,8.94906185 6.76356974,8.55177868 C7.52609538,8.15449535 8.32217936,7.82183551 9.15184554,7.55378901 C9.98151173,7.28574251 10.8423375,7.08231735 11.7343485,6.94350751 L12.2718557,6.86855032 Z"})),OP||(OP=(0,o.A)("path",{d:"M22,1 C26.9705627,1 31,5.02943725 31,10 C31,14.9705627 26.9705627,19 22,19 C17.0294373,19 13,14.9705627 13,10 C13,5.02943725 17.0294373,1 22,1 Z M22.5141176,3.00042267 L21.3138082,3.00021067 C20.8306939,3.00021067 20.775162,3.0530823 20.7751179,3.5130697 L20.7751179,4.35990612 C20.7132785,4.37415221 20.6625103,4.38174164 20.6146973,4.39747169 C20.281153,4.50724286 19.9336707,4.58953943 19.6174608,4.73454422 C17.915203,5.51506851 17.3424173,7.42997965 18.3462258,8.9568122 C18.729568,9.53988407 19.2868718,9.93902882 19.9033685,10.2691903 C20.5890265,10.6364086 21.3250557,10.8878774 22.0626287,11.1366751 C22.4240492,11.25853 22.7681352,11.4154913 23.050823,11.6742103 C23.1957617,11.8068346 23.2774937,11.9621848 23.2734358,12.1608244 C23.2629822,12.6757185 22.9582846,13.0128759 22.4013777,13.1200183 C21.7104709,13.2528969 21.0739933,13.1040762 20.4982082,12.7396987 C20.1385521,12.512143 19.8092863,12.239517 19.4716841,11.9807131 C19.1980825,11.7709226 19.0736099,11.7704138 18.822327,12.0005559 C18.4014049,12.3860058 17.9805269,12.7714556 17.5596048,13.1568631 C17.3215101,13.374879 17.3159525,13.4911797 17.5300525,13.7236961 C18.3767044,14.6432469 19.4105064,15.2706682 20.6537769,15.568776 C20.7468006,15.5910779 20.7804549,15.6259723 20.778426,15.7215822 C20.7715892,16.0478854 20.771898,16.3744853 20.7771909,16.7008309 C20.7807196,16.9181685 20.8733463,16.9995747 21.0959149,16.9997443 C21.5983926,17 22.1008262,17 22.6033038,17 C22.8499996,16.9998291 22.947434,16.9074415 22.9492865,16.6653429 C22.9516243,16.3657087 22.9500805,16.0660322 22.9502128,15.766398 L22.9502128,15.6543797 C23.3348782,15.5342632 23.7014152,15.4444195 24.0477507,15.3073858 C25.4180522,14.7652714 26.4649101,13.5605021 26.3688871,11.88646 C26.3188687,11.014057 25.9384818,10.319306 25.2226981,9.786689 C24.6855516,9.38695066 24.0697165,9.13556663 23.4405167,8.91195399 C22.8780522,8.71204242 22.3041197,8.54091982 21.7469923,8.32862772 C21.5012669,8.2350106 21.2580557,8.0998 21.0608932,7.93219651 C20.7419928,7.66113932 20.7977452,7.17689966 21.1495943,6.94451041 C21.2582763,6.87272881 21.3873361,6.81917879 21.5151609,6.78610753 C22.0725089,6.64186593 22.6109345,6.70796606 23.1013266,6.99581328 C23.4091118,7.17647567 23.6906087,7.39945233 23.9789423,7.60970927 C24.2265643,7.79028686 24.3687683,7.78587736 24.582339,7.56853978 C24.9464059,7.19805679 25.3076941,6.82502986 25.6718934,6.45467408 C26.0184936,6.10221069 26.0179643,5.93676956 25.6448111,5.60749846 C24.9153098,4.96375353 24.0649969,4.54243408 23.0926815,4.35706539 C22.975222,4.33467868 22.9435525,4.29249162 22.9472576,4.18250846 C22.9558586,3.9278597 22.9499482,3.67274456 22.9501687,3.41784141 C22.9504334,3.13626925 22.8102142,3.00101625 22.5141176,3.00042267 Z"})));try{DP.displayName="BulkCustomIcon"}catch(e){}const RP=DP;var LP,jP,qP,BP,zP,UP;const $P=({count:e,onClear:t,onBlock:i,onChat:a=null,onMail:r,onAddTags:n,onSetChatPrice:s=null})=>(0,o.A)(As.A,{"data-test-id":"customers-bulk-header"},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",width:"100%"},void 0,(0,o.A)(M.A,{onClick:t,sx:{ml:-.5,mr:1}},void 0,LP||(LP=(0,o.A)(yk.A,{fontSize:"medium",htmlColor:"white"}))),(0,o.A)(O.A,{variant:"purpleHeaderTitle",sx:{mt:.5}},void 0,e," ","selected",(0,o.A)(g.A,{component:"span",sx:{display:{xs:"none",sm:"inline"}}},void 0," customer",1!==e&&"s"),(0,o.A)(E.A,{onClick:t,size:"small"},void 0,(0,o.A)(lo.A,{sx:{color:"white",mb:.5}}))),(0,o.A)(W.A,{direction:"row",spacing:{xs:1,sm:2},useFlexGap:!0,alignItems:"center",justifyContent:"flex-end",flexGrow:2},void 0,(0,o.A)(NP.A,{title:"Block",arrow:!0},void 0,(0,o.A)(M.A,{onClick:i,"aria-label":"Block"},void 0,jP||(jP=(0,o.A)(PP.A,{fontSize:"medium",htmlColor:"white"})))),a&&(0,o.A)(NP.A,{title:"Send Chat Message",arrow:!0},void 0,(0,o.A)(M.A,{onClick:a,"aria-label":"Send Chat Message"},void 0,qP||(qP=(0,o.A)(EP,{fontSize:"medium",htmlColor:"white"})))),(0,o.A)(NP.A,{title:"Mail",arrow:!0},void 0,(0,o.A)(M.A,{onClick:r,"aria-label":"Mail"},void 0,BP||(BP=(0,o.A)(FP.A,{fontSize:"medium",htmlColor:"white"})))),(0,o.A)(NP.A,{title:"Add Tags",arrow:!0},void 0,(0,o.A)(M.A,{onClick:n,"aria-label":"Add Tags"},void 0,zP||(zP=(0,o.A)(TP.A,{fontSize:"medium",htmlColor:"white"})))),s&&(0,o.A)(NP.A,{title:"Set Custom Chat Price",arrow:!0},void 0,(0,o.A)(M.A,{onClick:s,"aria-label":"Set Custom Chat Price"},void 0,UP||(UP=(0,o.A)(RP,{fontSize:"medium",htmlColor:"white"})))))));try{$P.displayName="CustomersBulkHeader"}catch(e){}const WP=$P,GP=()=>(0,o.A)(As.A,{"data-test-id":"template-shell-header"},void 0,(0,o.A)(W.A,{direction:"row",spacing:2,alignItems:"center",sx:{width:"100%"}},void 0,(0,o.A)(O.A,{variant:"purpleHeaderTitle","data-test-id":"template-shell-header-title",sx:{pl:2}},void 0,"Customers"),(0,o.A)(g.A,{sx:{flexGrow:1}}),(0,o.A)(O.A,{},void 0,(0,o.A)("a",{href:"#",style:{color:"white",textDecoration:"underline",fontSize:"0.813em",marginRight:"10px"},onClick:e=>{e.preventDefault(),document.cookie="customers_21626_off=true; path=/",window.location.href="/my_customers?classic=1"},"data-test-id":"switch-to-classic-customers-link"},void 0,"Switch to Classic Customers"))));try{GP.displayName="CustomersStandardHeader"}catch(e){}const HP=GP,YP=(e,t)=>{if(!t||0===t.length)return!1;let i=0;for(const o of t){const t=e.find(e=>e.seeker_id===o);if(!t)return!1;
1(t?.system_tag_list||"").split("^").filter(Boolean).includes("Blocked")&&(i+=1)}return i===t.length},VP=e=>{if(!Array.isArray(e)||0===e.length)return;const t=document.createElement("form");t.method="POST",t.action="/messages/compose";const i=document.querySelector('meta[name="csrf-token"]');if(i){const e=document.createElement("input");e.type="hidden",e.name="authenticity_token",e.value=i.content,t.appendChild(e)}const o=document.createElement("input");o.type="hidden",o.name="message[recipients_list]",o.value=e.join(","),t.appendChild(o),document.body.appendChild(t),t.submit();setTimeout(()=>{document.body.contains(t)&&t.remove()},1e3)};var QP,ZP=i(45045);const KP=({allTags:e=[],currentTags:t=[],seekerIds:i,setSelectAll:r})=>{const{closeDialog:n}=(0,a.useContext)(la.A);return a.createElement(a.Fragment,null,QP||(QP=(0,o.A)(Hs.A,{},void 0,"Assign Tags")),(0,o.A)(Zs.A,{closeDialog:n}),(0,o.A)(Ys.A,{},void 0,(0,o.A)(ZP.A,{label:"Tags",options:e,seekerIds:i,value:t?.filter(e=>e),closeDialog:n,setSelectAll:r,useSaveButton:!0})))};try{KP.displayName="AssignTagsDialog"}catch(e){}const XP=KP;var JP,eT,tT,iT,oT=i(19676),aT=i(78955),rT=i(40292);function nT(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}const sT="set",lT=({seekerIds:e,setSelectAll:t})=>{const{closeDialog:i}=(0,a.useContext)(la.A),r=(0,m.wA)(),{data:n}=(0,$p.ph)(),[s,{isLoading:l}]=(0,rT.xp)(),[d,c]=(0,a.useState)(sT),[p,h]=(0,a.useState)(""),[g,v]=(0,a.useState)(null),A=n?.minPrice||.99,y=n?.maxPrice||10,f=n?.volleyPrice,b=e=>{const t=parseFloat(e);return Number.isNaN(t)?"Enter a valid price":t<A?`Minimum price is ${(0,kc.zQ)(A)}`:t>y?`Maximum price is ${(0,kc.zQ)(y)}`:null},w=d===sT,x=e.length>1e4,C=l||x||w&&(!p||null!==b(p)),k=`Min ${(0,kc.zQ)(A)}, Max ${(0,kc.zQ)(y)}`;return a.createElement(a.Fragment,null,JP||(JP=(0,o.A)(Hs.A,{},void 0,"Set Custom Chat Price")),(0,o.A)(Zs.A,{closeDialog:i}),(0,o.A)(Ys.A,{},void 0,(0,o.A)(aT.A,{value:d,onChange:e=>{c(e.target.value),v(null)}},void 0,eT||(eT=(0,o.A)(Xd.A,{value:sT,control:(0,o.A)(oT.A,{size:"small"}),label:"Set price to"})),(0,o.A)(ao.A,{value:p,onChange:e=>{h((e=>{const[t,...i]=e.replace(/[^0-9.]/g,"").split(".");return 0===i.length?t:`${t}.${i.join("").slice(0,2)}`})(e.target.value)),v(null)},disabled:!w,error:w&&!!g,helperText:w&&g?g:k,InputProps:{startAdornment:tT||(tT=(0,o.A)(ro.A,{position:"start"},void 0,"$")),inputProps:{inputMode:"decimal","aria-label":"Chat price input"}},FormHelperTextProps:{sx:{whiteSpace:"nowrap"}},size:"small",placeholder:"0.00",sx:{ml:4,mb:1,maxWidth:160}}),(0,o.A)(Xd.A,{value:"reset",control:iT||(iT=(0,o.A)(oT.A,{size:"small"})),label:null!=f?`Reset to your default (${(0,kc.zQ)(f)})`:"Reset to your default"})),(0,o.A)(O.A,{variant:"body2",sx:{color:"text.secondary",mt:1}},void 0,`This will update the chat price for ${e.length} selected customer${1!==e.length?"s":""}. Closed accounts are skipped.`),x&&(0,o.A)(O.A,{variant:"body2",sx:{color:"error.main",mt:1}},void 0,`Bulk updates are limited to ${1e4.toLocaleString()} customers. Try narrowing your selection.`)),(0,o.A)(md.A,{sx:{px:3,pb:2}},void 0,(0,o.A)(E.A,{onClick:i,variant:"outlined"},void 0,"Cancel"),(0,o.A)(E.A,{variant:"contained",onClick:async()=>{if(d===sT){const e=b(p);if(e)return void v(e)}try{await s(function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?nT(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):nT(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({seekerIds:e,operation:d},d===sT&&{price:p})).unwrap(),r((0,yP.clearSelectedResults)()),t(!1),i()}catch{}},disabled:C},void 0,`Apply to ${e.length} customer${1!==e.length?"s":""}`)))};try{lT.displayName="BulkChatPriceDialog"}catch(e){}const dT=lT;var cT=i(75275),uT=i(9889),mT=i(83939),pT=i(13815),hT=i(44074),gT=i(98040);const vT=({seekerIds:e,setSelectAll:t=()=>{}})=>{const[i,r]=(0,a.useState)(""),[n,s]=(0,a.useState)(""),[l,d]=(0,a.useState)(""),[c]=(0,Ae.xr)(),{closeDialog:u}=(0,a.useContext)(la.A),p=(0,m.wA)(),{data:h}=(0,k.ft)();return(0,o.A)(hT.A,{amountText:i,setAmountText:r,bonusMessage:n,setBonusMessage:s,messageError:l,setMessageError:d,sendRequestTribute:async o=>{o.preventDefault();const a=(0,gT.rs)(n,h?.speaker);
1if(a)return void d(a);const r=(await Promise.allSettled(e.map(e=>c({userId:e,amount:i,bonusMessage:n}).unwrap()))).filter(e=>"rejected"===e.status),s=e.length>1;if(0===r.length)p((0,xe.s4)({message:s?"Your tribute request was sent to all selected customers.":"Your tribute request was sent.",severity:"success"}));else if(r.length<e.length)p((0,xe.s4)({message:"Your tribute request could not be sent to all selected customers.",severity:"warning"}));else{const e=!s&&r[0].reason?.data?.error;p((0,xe.s4)({message:e||"Your tribute request could not be sent.",severity:"error"}))}p((0,yP.clearSelectedResults)()),t(!1),u()}})};try{vT.displayName="CustomersRequestTributeDialogContainer"}catch(e){}const AT=vT;var yT,fT,bT=i(22651),wT=i(32066),xT=i(98877),CT=i(68665);const kT=1e3,ST=({sendChatMessage:e,seekerIds:t,setSelectAll:i=()=>{}})=>{const{closeDialog:r,openDialog:n}=(0,a.useContext)(la.A),s=(0,x.u)("CHAT_UI_IN_CUSTOMERS_26591"),[l,d]=(0,a.useState)(""),[c,u]=(0,a.useState)(""),[p,h]=(0,a.useState)(null),[v,A]=(0,a.useState)(""),[y,f]=(0,a.useState)(!1),b=(0,a.useRef)(null),w=(0,a.useRef)(null),{cursor:C,setCursor:S,updateCursor:_}=(0,wT.r)(b),N=(0,m.wA)(),{data:P}=(0,k.ft)(void 0,{skip:!s}),{data:T}=(0,Ae.MQ)(void 0,{skip:!s}),{data:F}=(0,Ae.Yw)(void 0,{skip:!s}),I=(0,k.zg)().data?.currentUser,[M]=(0,rT.oQ)(),O=l.length>kT;(0,a.useEffect)(()=>{if(v)return()=>URL.revokeObjectURL(v)},[v]);const D=()=>{h(null),A("")},R=async(i,{suppressSnackbar:o=!1}={})=>{try{const a={message:i,ids:t};o&&(a.suppressSnackbar=!0);const r=await e(a).unwrap();if(r?.ineligible?.length>0){const e=r.success?.length>0?"Your message could not be sent to all selected customers.":"Your message could not be sent.";N((0,xe.s4)({message:e,severity:"error"}))}}catch(e){N((0,xe.s4)({message:"Something went wrong. Please try again.",severity:"error"}))}},L=()=>{D(),N((0,yP.clearSelectedResults)()),i(!1),r()},j=async e=>{f(!0),await R(e),L()},q=e=>{const t=`https://${window.location.hostname}/goodies/click/${I?.id}-${e}`;j(t)},B=e=>{const t=`https://${window.location.hostname}/messages/click_payment_button?id=${e}`;j(t)};return a.createElement(a.Fragment,null,yT||(yT=(0,o.A)(Hs.A,{},void 0,"Send Chat Message")),(0,o.A)(Zs.A,{closeDialog:r}),(0,o.A)(Ys.A,{},void 0,(0,o.A)(W.A,{direction:"column"},void 0,s&&v&&(0,o.A)(g.A,{sx:{position:"relative",display:"inline-block",mb:1},"data-test-id":"image-preview"},void 0,(0,o.A)("img",{src:v,alt:"Selected attachment preview",style:{maxWidth:"160px",maxHeight:"160px",borderRadius:4,display:"block"}}),(0,o.A)(E.A,{size:"small",onClick:D,disabled:y,"data-test-id":"remove-image-button","aria-label":"Remove image",sx:{position:"absolute",top:0,right:0,minWidth:0,px:1,backgroundColor:"rgba(255,255,255,0.8)"}},void 0,"✕")),s?(0,o.A)(mT.A,{minimal:!0,showEmoji:!0,showGoodyBag:Boolean(T?.has_goody_bag),onGoodyBagClick:()=>{n({component:pT.A,props:{onGoodyBagSelected:q}})},showTribute:!0,onRequestTributeClick:()=>{n({component:AT,props:{seekerIds:t,setSelectAll:i}})},showPaidMail:Boolean(F?.has_payment_button),onPaymentButtonClick:()=>{n({component:bT.A,props:{onPaymentButtonSelected:B}})},showImage:!0,onAddImageClick:()=>w.current?.click(),fileInputRef:w,handleFileChange:e=>{const t=e.target.files[0];e.target.value="",!y&&t&&(t.type&&CT.B.test(t.type)?t.size&&t.size>CT.w?N((0,xe.s4)({message:"That image is too large (max 6 MB).",severity:"error"})):(h(t),A(URL.createObjectURL(t))):N((0,xe.s4)({message:"That file type is not supported. Please choose an image.",severity:"error"})))},content:l,onComposeBoxChange:e=>{let t=(0,uT.q)(e.target.value);t.length>kT&&(t=t.slice(0,kT)),d(t),c&&u("")},charLimit:kT,inputError:O,errorMessage:c,textAreaRef:b,setContentForEmojiPicker:e=>{const{value:t,caret:i}=(0,xT.T)(l,e,C,kT);d(t),S({start:i,end:i}),b.current&&(b.current.focus(),b.current.setSelectionRange(i,i))},updateCursor:_,onKeyUp:_}):(0,o.A)(ao.A,{value:l,onChange:e=>d((0,uT.q)(e.target.value)),inputProps:{maxLength:kT}})),(0,o.A)(g.A,{display:"flex",justifyContent:"right",mt:2},void 0,(0,o.A)(E.A,{variant:"text",onClick:r,sx:{mr:2},disabled:y},void 0,"Cancel"),(0,o.A)(E.A,{variant:"contained",onClick:async()=>
1{if(y)return;const e=!p||l.trim().length>0;if(e&&s){const e=(0,gT.LJ)(l,P?.speaker);if(e)return void u(e)}f(!0),e&&await R(l,{suppressSnackbar:Boolean(p)}),p&&await(async()=>{try{await M({photo:p,ids:t}).unwrap()}catch(e){N((0,xe.s4)({message:"Something went wrong. Please try again.",severity:"error"}))}})(),L()},disabled:y,startIcon:y?fT||(fT=(0,o.A)(cT.A,{size:16,color:"inherit"})):null},void 0,y?"Sending…":"Send Chat Message"))))};try{ST.displayName="SendChatMessageDialog"}catch(e){}const _T=ST;var NT;const PT=()=>{const{closeDialog:e}=(0,a.useContext)(la.A);return a.createElement(a.Fragment,null,(0,o.A)(Zs.A,{closeDialog:e}),NT||(NT=(0,o.A)(Ys.A,{},void 0,(0,o.A)(O.A,{},void 0,"Chat is Off. Update your status to start chatting."))),(0,o.A)(md.A,{},void 0,(0,o.A)(E.A,{variant:"contained",onClick:e},void 0,"Close")))};try{PT.displayName="ChatStatusOffDialog"}catch(e){}const TT=PT;var FT=i(50561);const IT=({openDialog:e,createBlock:t,destroyBlock:i,sendChatMessage:o,selectedResults:r,searchResults:n,allSearchResults:s,allSearchResultsLoading:l,tags:d,selectAll:u,dispatchClearSelectedResults:m,triggerSearch:p,setSelectAll:h})=>{const g=(0,c.SC)(),{data:v}=(0,k.XR)(),A=(0,x.u)("CHAT_STATUSES_25793"),y=(0,Hx.UU)(v),f=(0,a.useMemo)(()=>YP(n,r),[n,r]);return{handleBlock:()=>{if(l)return;f?g({title:"Confirm unblock",description:"Are you sure you want to unblock this customer?"}).then(()=>i({ids:r})).then(m).then(p).catch(()=>{}):g({title:"Confirm block",description:"Blocked customers can’t contact you or buy from you. Blocking will also end any subscriptions."}).then(()=>t({ids:r})).then(m).then(p).catch(()=>{})},handleChat:()=>{l||e(A&&"off"===v?.chat_status?{component:TT}:{component:_T,alignTop:!0,props:{sendChatMessage:o,seekerIds:r,setSelectAll:h}})},chatEnabled:y,handleMail:()=>{if(l)return;const e=u===G.i1.ALL?(s||[]).map(e=>e.seeker_name).filter(Boolean):(n||[]).filter(e=>r.includes(e.seeker_id)).map(e=>e.seeker_name).filter(Boolean);sessionStorage.setItem(FT.Nx,e.join(","));const t=[...new Set(e)];VP(t),m()},handleAddTags:()=>
1{if(l)return;let t=[];if(1===r.length){const e=n.find(e=>e.seeker_id===r[0]);t=e?.userTagList?.split("^").filter(e=>e)||[]}const i=d?.filter(e=>"user_tag"===e.type)?.map(e=>e.name)||[];e({component:XP,props:{allTags:i,seekerIds:r,setSelectAll:h,currentTags:t}})},handleSetChatPrice:()=>{l||e({component:dT,props:{seekerIds:r,setSelectAll:h}})},allSelectedBlocked:f}};function ET(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}const MT=({location:e,dispatch:t,handleFilterClick:i})=>{(0,a.useEffect)(()=>{const o=new URLSearchParams(e.search);if(0===[...o.keys()].length)return;const{filters:a}=yP.default.getInitialState(),r=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?ET(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ET(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({},a);let n=!1;const s=new Set(["contactedDaysAgo","earnedDaysAgo"]);Object.keys(a).forEach(e=>{const t=a[e],i=`filters[${e}]`;if(Array.isArray(t)){const t=o.getAll(`${i}[]`),a=o.getAll(i),l=t.length?t:a;if(l.length){const t=s.has(e)?l.map(e=>""===e?null:Number(e)).filter(e=>null!==e&&!Number.isNaN(e)):l;r[e]=t,n=!0}}else{const a=o.get(i);null!==a&&(r[e]=((e,t)=>{if(null==t)return e;if("number"==typeof e){const i=Number(t);return Number.isNaN(i)?e:i}return"boolean"==typeof e?/^(true|1)$/i.test(t):t})(t,a),n=!0)}});const l=e=>{const t=o.getAll(`${e}[]`),i=o.getAll(e);return t.length?t:i},d=l("sortColumn"),c=l("sortDirection");n&&(t((0,yP.setOmnibox)([])),t((0,yP.setFilters)(r))),d.length&&c.length&&t((0,yP.setSort)({sortColumn:d,sortDirection:c})),o.get("open_filters")&&i(),window.history.replaceState({},document.title,window.location.pathname)},[])};var OT,DT,RT,LT=i(99849),jT=i.n(LT),qT=i(92443),BT=i.n(qT),zT=i(27656),UT=i(63462);const $T=e=>({system_saved_search:(0,o.A)(zT.A,{sx:{color:"#63177a"}}),user_saved_search:OT||(OT=(0,o.A)(zT.A,{})),system_tag:(0,o.A)(TP.A,{sx:{color:"#63177a"}}),user_tag:DT||(DT=(0,o.A)(TP.A,{}))}[e]||RT||(RT=(0,o.A)(UT.A,{}
1))),WT=(e,t)=>{if(!t)return[e];const i=jT()(e,t,{insideWords:!0}),r=BT()(e,i);let n=0;return r.map(({text:e,highlight:t})=>{const i=`${n}-${e.length}`;return n+=e.length,t?(0,o.A)("strong",{},i,e):(0,o.A)(a.Fragment,{},i,e)})},GT=["key"];var HT,YT,VT,QT,ZT;function KT(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function XT(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?KT(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):KT(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const JT=(0,Re.Ay)(g.A)(({theme:e})=>({marginTop:"10px",[e.breakpoints.up("xs")]:{padding:e.spacing(1,3,2,3)},[e.breakpoints.up("md")]:{padding:e.spacing(3,20,3,3)}})),eF=(0,Re.Ay)(Au.A)(({theme:e})=>({"& .MuiAutocomplete-tag":{maxWidth:"calc(62% - 6px)"},[e.breakpoints.down("sm")]:{"& .MuiChip-label":{maxWidth:"130px"}}})),tF=()=>{var e;const[t,{data:i,isLoading:r}]=(0,rT.zp)(),s=i?.search_results||[],[l,{data:d,isLoading:c}]=(0,rT.Ab)(),u=d?.search_results,p=(0,m.d4)(yP.sortSelector),{data:h}=(0,rT.Gr)(),{data:v}=(0,rT.Fo)(),[A]=(0,rT.iB)(),[y]=(0,rT.cT)(),[f]=(0,rT.mg)(),b=(0,n.zy)(),[w,x]=(0,a.useState)(0),C=(0,m.wA)(),{openDialog:k}=(0,a.useContext)(la.A),S=!!(0,m.d4)(yP.anyFiltersSelector),_=(0,m.d4)(yP.filtersSelector),N=(0,m.d4)(yP.advancedFilterCountSelector),P=(0,m.d4)(yP.omniboxSelector),T=e=>C((0,yP.setOmnibox)(e)),[F,I]=(0,a.useState)(""),E=F.length>=1,{data:D}=(0,rT.Wd)({login:F,includeZeroSpendCustomers:_.includeZeroSpendCustomers},{skip:!E}),R=()=>{k({component:BN.A})},[L,j]=(0,a.useState)(G.i1.NONE),q=(0,m.d4)(yP.selectedResultsSelector)||[],B=e=>C((0,yP.addSelectedResults)(e)),z=()=>{j(G.i1.NONE),C((0,yP.clearSelectedResults)())},$=(0,a.useRef)(!1),{handleBlock:W,handleChat:H,chatEnabled:Y,handleMail:V,handleAddTags:Q,handleSetChatPrice:Z}=IT({openDialog:k,createBlock:A,destroyBlock:y,sendChatMessage:f,selectedResults:q,searchResults:s,allSearchResults:u,allSearchResultsLoading:c,tags:h,selectAll:L,dispatchClearSelectedResults:z,triggerSearch:()=>{x(0),t(XT(XT({},_),{},{sort:p,page:0}))},setSelectAll:j}),K=(e,t,i)=>{if("clear"===i||0===t.length)T([]);else if("selectOption"===i){const e=t[t.length-1];if(T([e]),"user_saved_search"===e.type||"system_saved_search"===e.type){const t=XT(XT(XT({},yP.initialFilters),e.filters),{},{saveThisSearch:"user_saved_search"===e.type});Object.prototype.hasOwnProperty.call(e.filters||{},"earningsLimits")||delete t.earningsLimits,C((0,yP.setFilters)(t)),e.sortOrder&&C((0,yP.setSort)(e.sortOrder))}else"system_tag"===e.type||"user_tag"===e.type?C((0,yP.setFiltersToTag)([e.name])):"customer"===e.type&&C((0,yP.setText)(e.name))}else"createOption"===i&&C((0,yP.setText)(t[t.length-1]))},X=a.useRef(null),J=(0,a.useCallback)((e,t)=>e.map(e=>e.map((e,i)=>e.type?a.createElement(U.A,(0,De.A)({key:e.name,label:e.name},t({index:i}),{"data-test-id":"search-tag",onDelete:()=>{T([]),C((0,yP.clearFilters)())},deleteIcon:HT||(HT=(0,o.A)(lo.A,{"data-test-id":"search-tag-delete"}))})):(0,o.A)("span",{style:{marginLeft:"5px"}},`free-${e}`,e))),[T,C]),ee=(0,a.useCallback)(t=>a.createElement(ao.A,(0,De.A)({},t,{ref:t.InputProps.ref,label:"Search Customers",fullWidth:!0,"data-test-id":"search-customers-input",InputProps:XT(XT({},t.InputProps),{},{style:{paddingRight:"10px"},autoComplete:"off",autoCapitalize:"none",autoCorrect:"off",spellCheck:"false",startAdornment:a.createElement(a.Fragment,null,YT||(YT=(0,o.A)(ro.A,{position:"start"},void 0,(0,o.A)(so.A,{}))),t.InputProps.startAdornment),endAdornment:(0,o.A)(ro.A,{position:"end"},void 0,(P?.length>0||S)&&(0,o.A)(M.A,{edge:"end",onClick:()=>C((0,yP.clearFilters)()),size:"small"},void 0,VT||(VT=(0,o.A)(lo.A,{}))),e||(e=(0,o.A)(M.A,{edge:"end",onClick:R,size:"small"},void 0,(0,o.A)(X_.A,{color:"secondary",badgeContent:N,max:99},void 0,QT||(QT=(0,o.A)(J_.A,{}))))))})})),[P,S,R,N,C]),te=(0,a.useMemo)(()=>[...v?.filter(e=>!e.do_not_auto_suggest)||[],...E&&h||[],...E&&D||[]],[v,E,h,D]),ie=(0,a.useCallback)((e,t)=>{const{key:i}=e,r=(0,hg.A)(e,GT),n=WT(t.name,F);return a.createElement("li",(0,De.A)({key:`${i}-${t.type}`},r,{"data-test-id":"search-option"}),$T(t.type),(0,o.A)(O.A,{sx:{ml:1}},void 0,n))},[F]);(0,a.useEffect)(()=>{const e=document.getElementById("body-content");
1if(!e)return()=>{};const t=e.style.overflow;return e.style.overflow="hidden",()=>{e.style.overflow=t}},[]),(0,a.useEffect)(()=>{const e=new URLSearchParams(b.search).get("customer_list");if(e){const t=h?.find(t=>t.id===parseInt(e,10));t&&(C((0,yP.setFiltersToTag)([t.name])),T([t])),window.history.replaceState({},document.title,window.location.pathname)}},[h]),MT({location:b,dispatch:C,handleFilterClick:R}),(0,a.useEffect)(()=>{if(!v)return;const e=new URLSearchParams(b.search).get("saved_search");if(!e)return;const t=v?.filter(t=>t.name===e)||[];1===t.length&&K(0,t,"selectOption"),window.history.replaceState({},document.title,window.location.pathname)},[v]),(0,a.useEffect)(()=>{z(),$.current=!0,x(0)},[_,p.sortColumn,p.sortDirection]),(0,a.useEffect)(()=>{$.current?($.current=!1,t(XT(XT({},_),{},{sort:p,page:0}))):t(XT(XT({},_),{},{sort:p,page:w})),j(G.i1.NONE)},[_,p.sortColumn,p.sortDirection,w]),(0,a.useEffect)(()=>{L===G.i1.ALL?l(XT({},_)):L===G.i1.PAGE&&B(s.slice(0,50).map(e=>e.seeker_id))},[L]),(0,a.useEffect)(()=>{L===G.i1.ALL&&!c&&u&&B(u.map(e=>e.seeker_id))},[c]);return(0,o.A)(dt.A,{},void 0,q.length>0?(0,o.A)(WP,{count:q.length,onClear:z,onBlock:W,onChat:Y?H:void 0,onMail:V,onAddTags:Q,onSetChatPrice:Y?Z:void 0}):(0,o.A)(HP,{goBack:e=>{e.preventDefault(),z(),window.history.back()}}),ZT||(ZT=(0,o.A)(qN,{tabRoute:""})),(0,o.A)(JT,{},void 0,(0,o.A)(eF,{freeSolo:!0,multiple:!0,openOnFocus:!0,size:"small",sx:{width:"100%",maxWidth:"450px"},options:te,isOptionEqualToValue:(e,t)=>e.name===t,value:P&&0!==P.length?[P]:[],getOptionLabel:e=>"string"==typeof e?e:e.name||"",onChange:K,onInputChange:(e,t,i)=>{if("input"===i){X.current&&clearTimeout(X.current);const e=t.length<=2?4e3:500;X.current=setTimeout(()=>{I(t)},e)}},renderTags:J,renderInput:ee,renderOption:ie})),(0,o.A)(g.A,{id:"search-results",sx:{px:{xs:0,sm:1.5}},"data-test-id":"search-results"},void 0,(0,o.A)(SP,{rows:s,totalRowCount:s?.[0]?.total_row_count||0,loading:r||c,page:w,pageSize:50,onPageChange:x,selectAll:L,setSelectAll:j,sort:p,onSortChange:(e,t)=>
1{if(!Array.isArray(e)||0===e.length||!Array.isArray(t)||0===t.length)return;const i=e[0],o=t[0],a=p.sortColumn,r=p.sortDirection;if(a[0]===i&&r[0]===o)return;let n,s;a[0]===i?(n=[i,...a.slice(1)],s=[o,...r.slice(1)]):(n=[i,...a].slice(0,2),s=[o,...r].slice(0,2)),z(),x(0),C((0,yP.setSort)({sortColumn:n,sortDirection:s}))}})))};try{tF.displayName="MyCustomersContainer"}catch(e){}const iF=tF;var oF=i(99270),aF=i(89909),rF=i(51727),nF=i(1449);const sF=["label"],lF=(0,Re.Ay)(U.A)(()=>({minWidth:"70px",maxWidth:"125px",cursor:"pointer","@media (max-width: 600px)":{"&.MuiChip-root":{minWidth:"60px",padding:"0px"}}})),dF=e=>{let{label:t}=e,i=(0,hg.A)(e,sF);return t.length<=15?a.createElement(lF,(0,De.A)({label:t,size:"small"},i)):(0,o.A)(NP.A,{title:t},void 0,a.createElement(lF,(0,De.A)({label:t,size:"small"},i)))};try{dF.displayName="HoverChip"}catch(e){}const cF=dF;var uF,mF=i(10165);const pF=(0,Re.Ay)($.A)(({theme:e})=>({padding:e.spacing(2),marginBottom:e.spacing(1),backgroundColor:e.palette.grey[100],border:"none",boxShadow:"none"})),hF=({children:e})=>(0,o.A)(O.A,{variant:"body2",sx:{color:"text.secondary",fontSize:"0.875rem"}},void 0,e);try{hF.displayName="PerkItem"}catch(e){}const gF=({subscription:e,currentUser:t})=>{const{packageId:i,rate:a,status:r,firstSubscribed:n,expiration:s,renewalDate:l,perks:d,type:c}=e,u="Active"===r&&l&&"Not Set"!==l?`Renews: ${(0,Ks.kz)(l,t.canonical_iana_timezone)}`:"Pending Expiration"!==r&&"Charge Failed"!==r||!s||"Not Applicable"===s?"Expired"!==r&&"Cancelled"!==r||!s||"Not Applicable"===s?null:`Expired: ${(0,Ks.kz)(s,t.canonical_iana_timezone)}`:`Expires: ${(0,Ks.kz)(s,t.canonical_iana_timezone)}`,m=d?.feedAccess?.enabled,p=d&&(d.freeMinutes||d.chatVolleys||m),h="package_subscription"===c&&("Active"===r||"Pending Expiration"===r),g="Active"===r?{backgroundColor:"#e8f5e9",color:"#2e7d32",fontWeight:400,border:"1px solid #a5d6a7"}:{backgroundColor:"#ebebeb",color:"#616161",border:"1px solid #bdbdbd"};return(0,o.A)(pF,{"data-test-id":"recurring-tribute",variant:"outlined"},void 0,(0,o.A)(no.Ay,{container:!0,spacing:2},void 0,(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(W.A,{direction:"row",spacing:2,alignItems:"center",justifyContent:"space-between"},void 0,(0,o.A)(W.A,{direction:"row",spacing:2,alignItems:"center"},void 0,(0,o.A)(mF.A,{sx:{color:"#63177a"}}),(0,o.A)(O.A,{variant:"body2",sx:{color:"text.primary"}},void 0,"monetary_tribute"===c?`Monthly Tribute ${a}`:`Pkg #${i} ${a}`)),(0,o.A)(U.A,{label:r,size:"small",sx:g}))),(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(W.A,{spacing:.5},void 0,n&&"Not Applicable"!==n&&(0,o.A)(O.A,{variant:"body2",sx:{color:"text.secondary",fontSize:"0.875rem"}},void 0,`Started: ${(0,Ks.kz)(n,t.canonical_iana_timezone)}`),u&&(0,o.A)(O.A,{variant:"body2",sx:{color:"text.secondary",fontSize:"0.875rem"}},void 0,u))),p&&h&&(0,o.A)(no.Ay,{item:!0,xs:12},void 0,(0,o.A)(W.A,{spacing:.5},void 0,m&&(uF||(uF=(0,o.A)(hF,{},void 0,"Feed Access"))),d.freeMinutes&&(0,o.A)(hF,{},void 0,d.freeMinutes.limited?`${d.freeMinutes.minutesPerCall} free min${1===d.freeMinutes.minutesPerCall?"":"s"} per call: ${d.freeMinutes.usedCalls} of ${d.freeMinutes.totalCalls} used`:`${d.freeMinutes.minutesPerCall} free min${1===d.freeMinutes.minutesPerCall?"":"s"} per call: ${d.freeMinutes.usedCalls} used`),d.chatVolleys&&(0,o.A)(hF,{},void 0,`Chat volleys: ${d.chatVolleys.used} of ${d.chatVolleys.total} used`)))))};try{gF.displayName="RecurringTribute"}catch(e){}const vF=({subscriptions:e=[],currentUser:t})=>{if(0===e.length)return null;const i=[...e.filter(e=>"Active"===e.status),...e.filter(e=>"Pending Expiration"===e.status||"Pending Renewal"===e.status||"Charge Failed"===e.status),...e.filter(e=>"Expired"===e.status||"Cancelled"===e.status)];return(0,o.A)(W.A,{"data-test-id":"recurring-tributes",spacing:1},void 0,i.map(e=>(0,o.A)(gF,{subscription:e,currentUser:t},(e=>"monetary_tribute"===e.type?`monetary_tribute_${e.monetaryTributeId??e.rate}`:`package_subscription_${e.packageId}`)(e))))};try{vF.displayName="RecurringTributes"}catch(e){}const AF=vF;var yF,fF,bF,wF;function xF(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function CF(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
1t%2?xF(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):xF(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const kF=({label:e,primary:t,secondary:i,onClick:a})=>(0,o.A)($.A,{variant:"outlined",onClick:a,role:a?"button":void 0,tabIndex:a?0:void 0,onKeyDown:a?e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),a(e))}:void 0,sx:CF({flex:1,minWidth:0,p:2,display:"flex",flexDirection:"column",gap:.25},a?{cursor:"pointer","&:hover":{borderColor:"primary.main"}}:{})},void 0,(0,o.A)(O.A,{sx:{color:"text.secondary",textTransform:"uppercase",letterSpacing:"0.05em",fontWeight:500,fontSize:"0.7rem"}},void 0,e),(0,o.A)(g.A,{sx:{lineHeight:1.2,fontSize:"1.35rem",fontWeight:400,color:"text.primary",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},void 0,t),i&&(0,o.A)(O.A,{sx:{color:"text.secondary",fontSize:"0.8rem"}},void 0,i));try{kF.displayName="StatCard"}catch(e){}const SF=({title:e,children:t,"data-test-id":i})=>(0,o.A)($.A,{variant:"outlined","data-test-id":i,sx:{p:2,flex:1,minWidth:0}},void 0,(0,o.A)(O.A,{variant:"caption",sx:{color:"text.secondary",textTransform:"uppercase",letterSpacing:"0.08em",fontWeight:600,fontSize:"0.7rem",display:"block",mb:1.5}},void 0,e),t);try{SF.displayName="SectionBox"}catch(e){}const _F=({label:e,value:t,valueColor:i})=>(0,o.A)(W.A,{direction:"row",justifyContent:"space-between",alignItems:"baseline",flexWrap:"wrap",sx:{py:.5}},void 0,(0,o.A)(O.A,{variant:"body2",sx:{color:"text.secondary"}},void 0,e),(0,o.A)(O.A,{variant:"body2",sx:{color:i||"text.primary"}},void 0,t));try{_F.displayName="StatRow"}catch(e){}const NF=({customer:e,onFeedbackClick:t})=>{const i=(0,k.zg)(),r=i?.data?.current_user,{data:n,isLoading:s}=(0,rT.Gr)(),l=n?.filter(e=>"user_tag"===e.type).map(e=>e.name),[d]=(0,rT.Gn)(),[c,u]=(0,a.useState)(e.note),m=(0,a.useRef)(e.seekerId);(0,a.useEffect)(()=>{m.current!==e.seekerId&&(m.current=e.seekerId,u(e.note))},[e.seekerId,e.note]);const p=(e.user_tag_list||"").split("^").filter(e=>e),h=(e.system_tag_list||"").split("^").filter(e=>e),v=(0,x.u)("CAM_P2_24464"),A=(0,x.u)("MAIL_21578")&&!at.A.hasCookie("mail_21578_off"),{seekerName:y,seekerId:f}=e,b=(0,a.useRef)(d);(0,a.useEffect)(()=>{b.current=d},[d]);const w=(0,a.useCallback)((0,Dx.debounce)((e,t,i)=>{b.current({login:t,seekerId:i,note:e})},500,{trailing:!0}),[]);if((0,a.useEffect)(()=>{c!==e.note&&w(c,y,f)},[c,y,f]),(0,a.useEffect)(()=>()=>w.cancel(),[w]),s)return(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%"},void 0,yF||(yF=(0,o.A)(Ql.A,{})),(0,o.A)(O.A,{variant:"body1",sx:{mt:2}},void 0,"Loading..."));const C=(()=>{if(0===e.days_since_last_earn)return ki.c9.now().toFormat("MM/dd/yyyy");if(e.days_since_last_earn>0){const t=e.days_since_last_earn;return(0,o.A)("span",{},void 0,t," ",(0,o.A)("span",{style:{fontSize:"0.95rem"}},void 0,`day${1!==t?"s":""} ago`))}return"N/A"})(),S=(0,kc.mw)((e.skr_lt_earnings||0)/(e.num_earn_days||1)),_=e.calls_avg_minutes?`${e.calls_avg_minutes} min`:"--",N=`${e.calls_minutes||0} / ${e.calls_count||0}`,P=e.last_contact_link_info&&e.last_contact_link_info[0]||e.last_contact_type,T=(0,o.A)(g.A,{sx:{border:"1px solid",borderColor:"divider",borderLeft:"4px solid #63177a",borderRadius:1,p:2,backgroundColor:"background.paper"}},void 0,(0,o.A)(O.A,{variant:"caption",sx:{color:"text.secondary",fontWeight:600,display:"block",mb:1}},void 0,"Notes"),(0,o.A)(g.A,{sx:{maxHeight:300,overflowY:"auto"}},void 0,(0,o.A)(ao.A,{variant:"standard",size:"small",fullWidth:!0,multiline:!0,"data-test-id":"customer-notes-input",InputProps:{disableUnderline:!0,sx:{fontSize:"0.875rem"}},value:c||"",onChange:e=>u(e.target.value),placeholder:"No notes yet. Add a note to remember details about this customer."})));return(0,o.A)(g.A,{"data-test-id":"customer-details-overview",sx:{px:{xs:2,sm:2.5},pt:2,pb:6}},void 0,(0,o.A)(no.Ay,{container:!0,spacing:2},void 0,(0,o.A)(no.Ay,{item:!0,xs:12,md:8},void 0,(0,o.A)(W.A,{spacing:2},void 0,(0,o.A)(g.A,{sx:{display:"grid",gridTemplateColumns:{xs:"repeat(2, 1fr)",sm:"repeat(4, 1fr)"},gap:1.5}},void 0,(0,o.A)(kF,{label:"Last 365 Days",primary:(0,kc.mw)(e.skr_365D_earnings),secondary:`${(0,kc.mw)(e.skr_30D_earnings)} last 30d`}),(0,o.A)(kF,{label:"Lifetime",primary:(0,kc.mw)(e.skr_lt_earnings),secondary:`${e.num_earn_days||0} earn days`}),(0,o.A)(kF,{label:"Call Feedback",primary:e.feedback_count>0?(0,o.A)(W.A,{direction:"row",alignItems:"center",gap:.5},void 0,(0,o.A)("span",{},void 0,e.feedback_avg),(0,o.A)(rF.A,{sx:{color:"#f5a623",fontSize:"1.5rem",mb:"2px"}})):"None",secondary:e.feedback_count>0?`${e.feedback_count} rating${1!==e.feedback_count?"s":""}`:"No feedback yet",onClick:t}),(0,o.A)(kF,{label:"Last Contact",primary:e.last_contact_date||"N/A",secondary:e.last_contact_date?`${P} - ${e.last_contact_date.slice(0,5)}`:null})),(0,o.A)($.A,{variant:"outlined",sx:{p:2},"data-test-id":"earnings-bar-chart"},void 0,(0,o.A)(nF.A,{customer:e,filterZeros:!1}
1)),(0,o.A)(g.A,{"data-test-id":"customer-notes-mobile",sx:{display:{xs:"block",md:"none"}}},void 0,T),(0,o.A)(W.A,{direction:{xs:"column",sm:"row"},spacing:1.5,alignItems:"stretch"},void 0,(0,o.A)(SF,{title:"Activity","data-test-id":"activity-section"},void 0,(0,o.A)(W.A,{divider:fF||(fF=(0,o.A)(Nl.A,{}))},void 0,(0,o.A)(_F,{label:"Total Earn Days",value:e.num_earn_days||0}),(0,o.A)(_F,{label:"Earnings / Earn Day",value:S}),(0,o.A)(_F,{label:"Avg Call Length",value:_}),v&&(0,o.A)(_F,{label:"Mins / # Cam Sessions",value:`${e.video_conferences_minutes||0} / ${e.video_conferences_count||0}`}),(0,o.A)(_F,{label:"Mins / # Calls",value:N}),(0,o.A)(_F,{label:"Total Mails Sent *",value:A&&e.num_messages_sent_from_advisor>0?(0,o.A)(Ws.A,{component:"button",variant:"body2",onClick:e=>{e.preventDefault();const t=`/messages/sent?customer_login=${encodeURIComponent(y)}`;window.open(t,"_blank","noopener,noreferrer")},sx:{textDecoration:"underline",cursor:"pointer"}},void 0,e.num_messages_sent_from_advisor):e.num_messages_sent_from_advisor||0}),(0,o.A)(_F,{label:"Total Mails Received *",value:A&&e.num_messages_sent_to_advisor>0?(0,o.A)(Ws.A,{component:"button",variant:"body2",onClick:e=>{e.preventDefault();const t=`/messages/inbox?customer_login=${encodeURIComponent(y)}`;window.open(t,"_blank","noopener,noreferrer")},sx:{textDecoration:"underline",cursor:"pointer"}},void 0,e.num_messages_sent_to_advisor):e.num_messages_sent_to_advisor||0})),(0,o.A)(O.A,{variant:"caption",sx:{color:"text.secondary",display:"block",mt:1}},void 0,"* Count includes deleted messages.")),(0,o.A)(SF,{title:"Timeline","data-test-id":"timeline-section"},void 0,(0,o.A)(W.A,{divider:bF||(bF=(0,o.A)(Nl.A,{}))},void 0,(0,o.A)(_F,{label:"Last Transaction",value:C}),(0,o.A)(_F,{label:"Last Contact",value:e.last_contact_date||"N/A"}),(0,o.A)(_F,{label:"Last Contact Type",value:e.last_contact_id&&e.last_contact_link_info?.[1]?(0,o.A)("a",{href:e.last_contact_link_info[1],style:{color:"inherit"}},void 0,e.last_contact_link_info[0]):e.last_contact_link_info?.[0]||e.last_contact_type||"N/A"}),(0,o.A)(_F,{label:"Customer Since",value:e.customer_since||"N/A"}),(0,o.A)(_F,{label:"NF Join Date",value:e.nf_join_date||"N/A"}),!e.active&&(wF||(wF=(0,o.A)(_F,{label:"Account Status",value:"Closed"})))))),h.length>0&&(0,o.A)(W.A,{direction:"row",spacing:"16px",alignItems:"center",justifyContent:"flex-start",useFlexGap:!0,sx:{flexWrap:"wrap"},"data-test-id":"system-tags"},void 0,(0,o.A)(O.A,{variant:"caption",sx:{color:"text.secondary"}},void 0,"System Tags"),h.map(e=>(0,o.A)(cF,{label:e},`system_tag_${e}`))),(0,o.A)(ZP.A,{label:"Your Tags",options:l,seekerIds:[e.seekerId],value:p,useSaveButton:!1}))),(0,o.A)(no.Ay,{item:!0,xs:12,md:4},void 0,(0,o.A)(W.A,{spacing:2},void 0,(0,o.A)(g.A,{"data-test-id":"customer-notes-desktop",sx:{display:{xs:"none",md:"block"}}},void 0,T),e.subscriptions&&e.subscriptions.length>0&&r&&(0,o.A)(g.A,{"data-test-id":"package-subscriptions"},void 0,(0,o.A)(O.A,{variant:"caption",sx:{color:"text.secondary",textTransform:"uppercase",letterSpacing:"0.08em",fontWeight:600,fontSize:"0.7rem",display:"block",mb:1}},void 0,"Package Subscriptions"),(0,o.A)(AF,{subscriptions:e.subscriptions,currentUser:r}))))))};try{NF.displayName="CustomerDetailsOverview"}catch(e){}const PF=NF;var TF,FF,IF,EF,MF,OF,DF,RF,LF,jF,qF,BF=i(26823),zF=i(71327),UF=i(35300);function $F(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function WF(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?$F(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):$F(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const GF=WF(WF({},(0,zF.n)().find(e=>"equals"===e.value)),{},{InputComponent:({item:e,applyValue:t})=>(0,o.A)(Kd.A,{variant:"standard",margin:"none"},void 0,(0,o.A)(BF.A,{shrink:!0,sx:{visibility:"hidden"}},void 0,"Placeholder"),(0,o.A)(Jd.A,{value:e.value||"",onChange:i=>t(WF(WF({},e),{},{value:i.target.value})),displayEmpty:!0,sx:{width:"100%"}},void 0,TF||(TF=(0,o.A)(td.A,{value:""},void 0,"All")),FF||(FF=(0,o.A)(td.A,{value:"true"},void 0,"Yes")),IF||(IF=(0,o.A)(td.A,{value:"false"},void 0,"No"))))}),HF=({login:e})=>{const t=(0,n.g)(),i=e||t.login,r=(0,k.zg)(),s=r?.data?.current_user,{data:l,isFetching:d}=(0,rT.bk)({login:i}),c=(0,d_.A)(e=>e.breakpoints.down("sm")),[u,m]=(0,a.useState)(!1);if(d)return(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%"},void 0,EF||(EF=(0,o.A)(Ql.A,{})),(0,o.A)(O.A,{variant:"body1",sx:{mt:2}},void 0,"Loading..."));
1if(!l||0===l.length)return MF||(MF=(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center",height:"20vh",width:"100%"},void 0,(0,o.A)(O.A,{variant:"subtitle1"},void 0,"No offers found.")));const p=[{field:"created_at",headerName:"Date",width:110,valueFormatter:e=>(0,Ks.zO)(e.value,s?.canonical_iana_timezone,Ks.D$),filterOperators:(0,UF.Q)()},{field:"amount_string",headerName:"Details",width:200,valueFormatter:e=>e.value},{field:"redeemed_string",headerName:"Redeemed",width:100,valueFormatter:e=>e.value},{field:"expired",headerName:"Expired",width:100,valueFormatter:e=>e.value?"Yes":"No",filterOperators:[GF]}];return!c||u?(0,o.A)(g.A,{"data-test-id":"customer-details-offers",sx:{height:"80vh",px:{xs:1,sm:2}}},void 0,(0,o.A)(UN.z,{columns:p,rows:l,loading:d,slots:{toolbar:$N.O},initialState:{pagination:{paginationModel:{pageSize:50}}},sx:{"& .MuiTablePagination-selectLabel, & .MuiTablePagination-input":{display:"none !important"},"& .MuiDataGrid-cell":{whiteSpace:"normal",wordWrap:"break-word",lineHeight:"1.5rem",py:"15px"}},getRowHeight:()=>"auto"})):(0,o.A)(Dp.A,{"data-test-id":"customer-details-offers",component:g.A},void 0,(0,o.A)(Rp.A,{sx:{minWidth:{xs:"auto",sm:650}},"aria-label":"simple table"},void 0,(0,o.A)(Bp.A,{},void 0,l?.slice(0,100)?.map((e,t)=>(0,o.A)(jp.A,{sx:{"&:last-child td, &:last-child th":{border:0},backgroundColor:t%2==0?"#F2F2F2":"white"}},e.id,(0,o.A)(qp.A,{width:"70"},void 0,(0,o.A)(O.A,{variant:"body1",sx:{color:"var(--color_gray_six)"}},void 0,"Date",OF||(OF=(0,o.A)("br",{})),"Details",DF||(DF=(0,o.A)("br",{})),"Redeemed",RF||(RF=(0,o.A)("br",{})),"Expired")),(0,o.A)(qp.A,{},void 0,(0,Ks.zO)(e.created_at,s?.canonical_iana_timezone,Ks.D$),LF||(LF=(0,o.A)("br",{})),e.amount_string,jF||(jF=(0,o.A)("br",{})),e.redeemed_string,qF||(qF=(0,o.A)("br",{})),e.expired?"Yes":"No"))),l?.length>100&&(0,o.A)(jp.A,{},void 0,(0,o.A)(qp.A,{colSpan:2},void 0,(0,o.A)(O.A,{variant:"body1"},void 0,"... Data truncated. To see more,",(0,o.A)(E.A,{variant:"text",color:"primary",sx:{fontSize:"1em",mt:"-2px"},onClick:()=>m(!0)},void 0,"view desktop version.")))))))};try{HF.displayName="CustomerDetailsOffers"}catch(e){}const YF=HF;var VF,QF,ZF,KF,XF,JF;function eI(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function tI(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?eI(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):eI(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const iI=(e,t)=>{return[{field:"created_at",headerName:"Date",width:110,valueFormatter:t=>(0,Ks.zO)(t.value,e?.canonical_iana_timezone,Ks.D$),filterOperators:(0,UF.Q)()},{field:"rating",headerName:"Rating",width:110,renderCell:e=>(0,o.A)(iS,{"data-test-id":"rating",feedback:e.row}),filterable:!1},{field:"title",headerName:"Title",width:250,renderCell:e=>(0,o.A)(W.A,{direction:"column",spacing:.2},void 0,(0,o.A)(g.A,{"data-test-id":"title"},void 0,e.row.title),e.row.category_name&&(0,o.A)(O.A,{"data-test-id":"category-name",variant:"body3",pt:.3,sx:{color:"#999"}},void 0,e.row.category_name))},{field:"comment",headerName:"Comment",width:250},{field:"type",headerName:"Type",hide:!0,filterOperators:[(i=t,tI(tI({},(0,zF.n)().find(e=>"equals"===e.value)),{},{InputComponent:({item:e,applyValue:t})=>(0,o.A)(Kd.A,{variant:"standard",margin:"none"},void 0,(0,o.A)(BF.A,{shrink:!0,sx:{visibility:"hidden"}},void 0,"Placeholder"),(0,o.A)(Jd.A,{value:e.value||"",onChange:i=>t(tI(tI({},e),{},{value:i.target.value})),displayEmpty:!0,sx:{width:"100%"}},void 0,VF||(VF=(0,o.A)(td.A,{value:""},void 0,"All")),i.map(e=>(0,o.A)(td.A,{value:e},e,e))))}))]}];var i},oI=({seekerId:e})=>{const t=(0,k.zg)(),i=t?.data?.current_user,{data:r,isFetching:n}=(0,$p.sr)({page:1,perPage:1e5,seekerId:e}),s=(0,d_.A)(e=>e.breakpoints.down("sm")),[l,d]=(0,a.useState)(!1),c=[...new Set(r?.feedbacks?.map(e=>e.type))];return n?(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%"},void 0,QF||(QF=(0,o.A)(Ql.A,{})),(0,o.A)(O.A,{variant:"body1",sx:{mt:2}},void 0,"Loading...")):r?.feedbacks&&0!==r.feedbacks.length?!s||l?(0,o.A)(g.A,{"data-test-id":"
1customer-details-feedback",sx:{height:"80vh",px:{xs:1,sm:2}}},void 0,(0,o.A)(tS,{feedbackData:r}),(0,o.A)(UN.z,{columns:iI(i,c),rows:r.feedbacks,loading:n,slots:{toolbar:$N.O},initialState:{pagination:{paginationModel:{pageSize:50}}},sx:{"& .MuiTablePagination-selectLabel, & .MuiTablePagination-input":{display:"none !important"},"& .MuiDataGrid-cell":{whiteSpace:"normal",wordWrap:"break-word",lineHeight:"1.5rem",py:"15px"}},getRowHeight:()=>"auto"})):(0,o.A)(g.A,{"data-test-id":"customer-details-feedback"},void 0,(0,o.A)(tS,{feedbackData:r}),(0,o.A)(Dp.A,{"data-test-id":"feedback-mobile-table",component:g.A},void 0,(0,o.A)(Rp.A,{sx:{minWidth:{xs:"auto",sm:650}},"aria-label":"simple table"},void 0,(0,o.A)(Bp.A,{},void 0,r?.feedbacks?.slice(0,100)?.map((e,t)=>(0,o.A)(jp.A,{sx:{backgroundColor:t%2==0?"#F2F2F2":"white"}},e.id,(0,o.A)(qp.A,{sx:{verticalAlign:"top",width:"70px"}},void 0,(0,o.A)(O.A,{variant:"body1",sx:{color:"var(--color_gray_six)"}},void 0,"Date",KF||(KF=(0,o.A)("br",{})),"Rating",XF||(XF=(0,o.A)("br",{})),"Title",JF||(JF=(0,o.A)("br",{})),"Comment")),(0,o.A)(qp.A,{sx:{verticalAlign:"top"}},void 0,(0,o.A)(O.A,{},void 0,(0,Ks.zO)(e.created_at,i?.canonical_iana_timezone,Ks.D$)),(0,o.A)(W.A,{direction:"row",spacing:1},void 0,(0,o.A)(iS,{"data-test-id":"rating",feedback:e}),(0,o.A)(O.A,{"data-test-id":"category-name",variant:"body3",pt:.3,sx:{color:"#999"}},void 0,e.category_name||" ")),(0,o.A)(O.A,{},void 0,e.title),(0,o.A)(O.A,{"data-test-id":"comment"},void 0,e.comment)))),r?.feedbacks?.length>100&&(0,o.A)(jp.A,{},void 0,(0,o.A)(qp.A,{colSpan:2},void 0,(0,o.A)(O.A,{variant:"body1",fontWeight:"bold"},void 0,"... Data truncated.  To see more, ",(0,o.A)(E.A,{variant:"text",color:"primary",onClick:()=>d(!0)},void 0,"view desktop version.")))))))):ZF||(ZF=(0,o.A)(O.A,{variant:"body1",fontWeight:"bold"},void 0,"No feedback found."))};try{oI.displayName="CustomerDetailsFeedback"}catch(e){}const aI=oI;var rI,nI,sI,lI,dI,cI;function uI(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function mI(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?uI(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):uI(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const pI=({login:e})=>{const t=(0,n.g)(),i=e||t.login,r=(0,k.zg)(),s=r?.data?.current_user,{data:l,isFetching:d}=(0,rT.cw)({login:i}),c=l?[...new Set(l.map(e=>e.description))]:[],u=e=>`/transactions/details/${e?.id}?btids=${e?.btids}`,m=(0,d_.A)(e=>e.breakpoints.down("sm")),[p,h]=(0,a.useState)(!1);if(d)return(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%"},void 0,nI||(nI=(0,o.A)(Ql.A,{})),(0,o.A)(O.A,{variant:"body1",sx:{mt:2}},void 0,"Loading..."));if(!l)return sI||(sI=(0,o.A)(O.A,{variant:"body1",fontWeight:"bold"},void 0,"No history found."));const v=[{field:"created_at",headerName:"Date",width:180,renderCell:e=>(0,o.A)("a",{href:u(e.row)},void 0,(0,Ks.zO)(e.value,s?.canonical_iana_timezone,Ks.Cn)),filterOperators:(0,UF.Q)()},{field:"description",headerName:"Description",width:200,filterOperators:[(A=c,mI(mI({},(0,zF.n)().find(e=>"equals"===e.value)),{},{InputComponent:({item:e,applyValue:t})=>(0,o.A)(Kd.A,{variant:"standard",margin:"none"},void 0,(0,o.A)(BF.A,{shrink:!0,sx:{visibility:"hidden"}},void 0,"Placeholder"),(0,o.A)(Jd.A,{value:e.value||"",onChange:i=>t(mI(mI({},e),{},{value:i.target.value})),displayEmpty:!0,sx:{width:"100%"}},void 0,rI||(rI=(0,o.A)(td.A,{value:""},void 0,"All")),A.map(e=>(0,o.A)(td.A,{value:e},e,e))))}))]},{field:"title",headerName:"Title",width:240},{field:"amount",headerName:"Earnings",width:100,valueFormatter:e=>(0,kc.zQ)(e.value),filterOperators:(0,zN.Jh)()}];var A;return!m||p?(0,o.A)(g.A,{"data-test-id":"customer-details-history",sx:{height:"80vh",px:{xs:1,sm:2}}},void 0,(0,o.A)(UN.z,{columns:v,rows:l,loading:d,slots:{toolbar:$N.O},initialState:{pagination:{paginationModel:{pageSize:50}}},sx:{"& .MuiDataGrid-columnHeaders":{overflow:"visible"},"& .MuiDataGrid-columnHeader":{overflow:"visible"},"& .MuiTablePagination-selectLabel, & .MuiTablePagination-input":{display:"none !important"},"& .MuiDataGrid-cell":{whiteSpace:"normal",wordWrap:"break-word",lineHeight:"1.5rem",py:"15px"}},getRowHeight:()=>"auto"}),(0,o.A)(O.A,{sx:{color:"var(--color_gray_nine)",p:2}},void 0,"Note: Earnings history limited to ",16," months")):(0,o.A)(g.A,{"data-test-id":"
1customer-details-history"},void 0,(0,o.A)(Dp.A,{"data-test-id":"history-mobile-table",component:g.A},void 0,(0,o.A)(Rp.A,{sx:{minWidth:{xs:"auto",sm:650}},"aria-label":"simple table"},void 0,(0,o.A)(Bp.A,{},void 0,l?.slice(0,100)?.map((e,t)=>(0,o.A)(jp.A,{sx:{backgroundColor:t%2==0?"#F2F2F2":"white"}},e.id,(0,o.A)(qp.A,{sx:{verticalAlign:"top",width:"70px"}},void 0,(0,o.A)(O.A,{variant:"body1",sx:{color:"var(--color_gray_six)"}},void 0,"Date",lI||(lI=(0,o.A)("br",{})),"Description",dI||(dI=(0,o.A)("br",{})),"Title",cI||(cI=(0,o.A)("br",{})),"Earnings")),(0,o.A)(qp.A,{sx:{verticalAlign:"top"}},void 0,(0,o.A)(O.A,{},void 0,(0,o.A)("a",{href:u(e)},void 0,(0,Ks.zO)(e.created_at,s?.canonical_iana_timezone,Ks.Cn))),(0,o.A)(O.A,{},void 0,e.description),(0,o.A)(O.A,{},void 0,e.title),(0,o.A)(O.A,{},void 0,(0,kc.zQ)(e.amount))))),l?.length>100&&(0,o.A)(jp.A,{},void 0,(0,o.A)(qp.A,{colSpan:2},void 0,(0,o.A)(O.A,{variant:"body1",fontWeight:"bold"},void 0,"... Data truncated.  To see more, ",(0,o.A)(E.A,{variant:"text",color:"primary",onClick:()=>h(!0)},void 0,"view desktop version."))))))),(0,o.A)(O.A,{sx:{color:"var(--color_gray_nine)",p:2}},void 0,"Note: Earnings history limited to ",16," months"))};try{pI.displayName="CustomerDetailsHistory"}catch(e){}const hI=pI;var gI,vI,AI;function yI(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function fI(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?yI(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):yI(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const bI={overview:0,offers:1,feedback:2,history:3},wI={textTransform:"none",borderRadius:1,borderColor:"#06c",color:"#06c",minWidth:0,"&:hover":{borderColor:"#0055aa",color:"#0055aa"}},xI=({customer:e,login:t,tabIndex:i,onTabChange:r,tabsVariant:n="standard",tabsSx:l={},blocked:d=!1,onBlock:c,onChat:u,onMail:m,onCustomerPrice:p})=>{const[h,v]=(0,a.useState)(0),A=void 0!==i?i:h,y=(e,t)=>{r?r(e,t):v(t)},f=(0,x.u)("CHAT_UI_22402"),b=!!e?.showChatLink,w=d?aF.A:PP.A,C=(0,o.A)(W.A,{direction:"row",gap:1},void 0,c&&(0,o.A)(E.A,{variant:"outlined",size:"small","aria-label":d?"Unblock customer":"Block customer",startIcon:(0,o.A)(w,{fontSize:"small"}),onClick:c,sx:fI(fI({},wI),{},{whiteSpace:"nowrap","& .MuiButton-startIcon":{mr:{xs:0,sm:"8px"}}})},void 0,(0,o.A)(g.A,{component:"span",sx:{display:{xs:"none",sm:"inline"}}},void 0,d?"Unblock":"Block")),u&&(0,o.A)(E.A,{variant:"outlined",size:"small","aria-label":"Chat",startIcon:gI||(gI=(0,o.A)(EP,{fontSize:"small"})),onClick:u,sx:fI(fI({},wI),{},{"& .MuiButton-startIcon":{mr:{xs:0,sm:"8px"}}})},void 0,(0,o.A)(g.A,{component:"span",sx:{display:{xs:"none",sm:"inline"}}},void 0,"Chat")),m&&(0,o.A)(E.A,{variant:"outlined",size:"small","aria-label":"Mail",startIcon:vI||(vI=(0,o.A)(FP.A,{fontSize:"small"})),onClick:m,sx:fI(fI({},wI),{},{"& .MuiButton-startIcon":{mr:{xs:0,sm:"8px"}}})},void 0,(0,o.A)(g.A,{component:"span",sx:{display:{xs:"none",sm:"inline"}}},void 0,"Mail")),p&&(0,o.A)(E.A,{variant:"outlined",size:"small","aria-label":"Set chat price",startIcon:AI||(AI=(0,o.A)(RP,{fontSize:"small"})),onClick:p,sx:fI(fI({},wI),{},{"& .MuiButton-startIcon":{mr:{xs:0,sm:"8px"}}})},void 0,(0,o.A)(g.A,{component:"span",sx:{display:{xs:"none",sm:"inline"}}},void 0,"Price")));return a.createElement(a.Fragment,null,(0,o.A)(g.A,{sx:{px:{xs:2,sm:2.5},pt:1.5,pb:0}},void 0,(0,o.A)(no.Ay,{container:!0},void 0,(0,o.A)(no.Ay,{item:!0,xs:12,md:8},void 0,(0,o.A)(W.A,{direction:"row",sx:{gap:1.5,alignItems:"center"}},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",gap:1.5,flexWrap:"wrap",flexGrow:1,minWidth:0},void 0,(0,o.A)(g.A,{component:"span",sx:fI({position:"relative",display:"inline-flex",alignItems:"center",textDecoration:"none",color:"primary.main",pl:e.isFlirt?"2px":0,maxWidth:"100%",minWidth:0},e.isFlirt?{"&::before":{content:'"F"',position:"absolute",top:"-10px",left:"-15px",width:16,height:16,display:"flex",alignItems:"center",justifyContent:"center",fontSize:"10px",fontWeight:"bold",borderRadius:"50%",backgroundColor:"black",color:"white",boxShadow:"0 0 0 1px #fff, 0 1px 3px rgba(0,0,0,0.4)",pointerEvents:"none",zIndex:1}}:{})},void 0,(0,o.A)(O.A,{variant:"h6",component:"span","data-test-id":"
1customer-details-name",sx:{fontWeight:600,color:"text.primary",overflowWrap:"anywhere",wordBreak:"break-word",lineHeight:1.2}},void 0,e.seekerName)),(0,o.A)("div",{"data-test-id":"customer-status-chips",style:{display:"contents"}},void 0,(0,o.A)(H.A,{label:e.intervalEarningsGroup,colorMap:G.D4}),(0,o.A)(H.A,{label:e.lapseStatus,colorMap:G.qb})),b&&e.chatSlug&&(f?(0,o.A)(s.N_,{to:`/chat/${e.chatSlug}`},void 0,"Go to Chat"):(0,o.A)("a",{href:`/chat/${e.chatSlug}`},void 0,"Go to Chat"))),(0,o.A)(g.A,{sx:{display:{xs:"none",sm:"flex"}}},void 0,C))))),(0,o.A)(g.A,{sx:{display:{xs:"flex",sm:"none"},px:{xs:2},pt:.5,pb:0}},void 0,C),(0,o.A)(g.A,{sx:fI({maxWidth:"100%",borderBottom:1,borderColor:"divider"},l)},void 0,(0,o.A)(Cm.A,{value:A,onChange:y,variant:n,"aria-label":"customer details tabs"},void 0,(0,o.A)(xm.A,{sx:{width:{xs:"90px",sm:"110px"}},label:"Overview"}),(0,o.A)(xm.A,{sx:{width:{xs:"90px",sm:"110px"}},label:"Offers"}),(0,o.A)(xm.A,{sx:{width:{xs:"90px",sm:"110px"}},label:"Feedback"}),(0,o.A)(xm.A,{sx:{width:{xs:"90px",sm:"110px"}},label:"History"}))),A===bI.overview&&(0,o.A)(PF,{customer:e,onFeedbackClick:()=>y(null,bI.feedback)}),A===bI.offers&&(0,o.A)(YF,{login:t}),A===bI.feedback&&(0,o.A)(aI,{seekerId:e.seekerId}),A===bI.history&&(0,o.A)(hI,{login:t}))};try{xI.displayName="CustomerDetailsTabs"}catch(e){}const CI=xI;var kI,SI,_I;function NI(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function PI(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?NI(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):NI(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const TI=()=>{const{login:e,tabName:t}=(0,n.g)(),i=bI[t]||0,r=(0,n.Zp)(),s=(0,n.zy)(),l=s.state?.backgroundLocation,d=Boolean(l),u=(0,Vs.A)(),m=(0,d_.A)(u.breakpoints.down("md")),p=(0,c.SC)(),{openDialog:h,closeDialog:g}=(0,a.useContext)(la.A),{data:v,isLoading:A,isError:y}=(0,rT.Yt)({login:e}),[f]=(0,rT.iB)(),[b]=(0,rT.cT)(),[w]=(0,rT.mg)(),{data:C}=(0,k.XR)(),S=(0,x.u)("CHAT_STATUSES_25793"),_=(v?.system_tag_list||"").split("^").filter(e=>e).includes("Blocked"),N=(t,i)=>{const o=Object.keys(bI).find(e=>bI[e]===i);r(`/my_customers/user/${e}/${o}`,{replace:!0,state:d?{backgroundLocation:l}:void 0})},P=()=>d||window.history.length>1?r(-1):r("/my_customers"),T=()=>r(d?-1:"/my_customers"),F=()=>{_?p({title:"Confirm unblock",description:"Are you sure you want to unblock this customer?"}).then(()=>b({ids:[v.seeker_id]}).unwrap()).then(T).catch(()=>{}):p({title:"Confirm block",description:"Blocked customers can't contact you or buy from you. Blocking will also end any subscriptions."}).then(()=>f({ids:[v.seeker_id]}).unwrap()).then(T).catch(()=>{})},I=()=>{h(S&&"off"===C?.chat_status?{component:TT}:{component:_T,alignTop:!0,props:{sendChatMessage:w,seekerIds:[v.seeker_id],setSelectAll:()=>{}}})},E=()=>{window.location.href=`/messages/compose?message[recipients_list]=${encodeURIComponent(v.seekerName)}`},D=()=>{h({component:oF.A,props:{customerId:v.seeker_id,customerName:v.seekerName,onClose:g}})},R=(0,Hx.UU)(C)&&!v?.isFlirt;let L;L=A||!v&&!y?(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%"},void 0,kI||(kI=(0,o.A)(Ql.A,{})),(0,o.A)(O.A,{variant:"body1",sx:{mt:2}},void 0,"Loading...")):y||!v?SI||(SI=(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%",px:3},void 0,(0,o.A)(kp.A,{severity:"error"},void 0,"Unable to load customer details. Please try again."))):(0,o.A)(W.A,{direction:"column",spacing:2,sx:{mt:1.5,mb:0}},void 0,(0,o.A)(CI,{customer:v,login:e,tabIndex:i,onTabChange:N,blocked:_,onBlock:F,onChat:R?I:void 0,onMail:E,onCustomerPrice:R?D:void 0}));const j=(0,o.A)(As.A,{},void 0,(0,o.A)(M.A,{"aria-label":"Back",onClick:P},void 0,_I||(_I=(0,o.A)(yk.A,{fontSize:"medium",htmlColor:"white"}))));return d?(0,o.A)(Cp.A,{open:!0,onClose:P,container:m?void 0:()=>document.getElementById("body-content")||document.body,sx:PI(PI({},!m&&{position:"absolute"}),{},{"& .MuiDialog-container":{alignItems:"flex-start"}}),slotProps:{backdrop:{sx:PI(PI({},!m&&{position:"absolute"}),{},{[u.breakpoints.down("md")]:{height:"calc(100dvh - var(--mobile-footer-height, 55px))"}})}},PaperProps:{sx:{width:"100%",maxWidth:"100%",height:"100%",maxHeight:"100%",margin:0,borderRadius:0,[u.breakpoints.down("md")]:{marginTop:"40px",marginBottom:"4px",minHeight:"calc(100dvh - var(--mobile-footer-height, 55px) - 44px)",maxHeight:"calc(100dvh - var(--mobile-footer-height, 55px) - 44px)"}}}
1,"data-test-id":"customer-details-dialog"},void 0,j,L):A||y||!v?L:(0,o.A)(dt.A,{},void 0,j,L)};try{TI.displayName="CustomerDetails"}catch(e){}const FI=TI;function II(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function EI(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?II(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):II(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const MI=(0,Re.Ay)(Xd.A)(({theme:e})=>({"&.MuiFormControlLabel-root":{"& .MuiTypography-root":{width:"auto",[e.breakpoints.up("xs")]:{width:"100%"}},[e.breakpoints.up("xs")]:{width:"100%"},[e.breakpoints.up("sm")]:{width:"auto"}}})),OI=({label:e,value:t=!1,setValue:i,sx:a,dataTestId:r})=>(0,o.A)(MI,{value:t,control:(0,o.A)(ec.A,{checked:!!t,sx:{mr:2},onChange:i,inputProps:r?{"data-test-id":r}:void 0}),label:e,labelPlacement:"end",sx:EI(EI({},{mt:1,mr:0}),a||{})});try{OI.displayName="ToggleSwitch"}catch(e){}const DI=OI,RI=({savedSearch:e,toggleDoNoAutoSuggest:t,onClickName:i,showActions:r=!0,onClickDeleteSearch:n=()=>{},onClickEdit:s=()=>{},dataTestId:l="saved-search-item"})=>{const[d,c]=(0,a.useState)(e.doNotAutoSuggest);return(0,o.A)(no.Ay,{container:!0,alignItems:"center",px:2,py:1,"data-test-id":l,sx:{borderBottom:{xs:"1px solid var(--color_ccc)",sm:"none"},maxWidth:640,paddingTop:{xs:"0px",sm:"5px"},paddingBottom:{xs:"10px",sm:"5px"}}},e.name,(0,o.A)(no.Ay,{item:!0,xs:8,sm:9},void 0,(0,o.A)(no.Ay,{container:!0,alignItems:"center"},void 0,(0,o.A)(no.Ay,{item:!0,xs:12,sm:9},void 0,(0,o.A)(O.A,{variant:"body1"},void 0,(0,o.A)("a",{href:"#",onClick:e=>{e.preventDefault(),i()},role:"button",tabIndex:0,"data-test-id":"saved-search-name"},void 0,e.name))),(0,o.A)(no.Ay,{item:!0,xs:12,sm:3},void 0,r&&(0,o.A)(W.A,{direction:"row",spacing:2,sx:{mt:{xs:1,sm:0}}},void 0,(0,o.A)(O.A,{variant:"body3"},void 0,(0,o.A)("a",{href:"#",onClick:e=>{e.preventDefault(),s()},role:"button",tabIndex:0,"data-test-id":"saved-search-edit"},void 0,"Edit")),(0,o.A)(O.A,{variant:"body3"},void 0,(0,o.A)("a",{href:"#",onClick:e=>{e.preventDefault(),n()},role:"button",tabIndex:0,"data-test-id":"saved-search-delete"},void 0,"Delete")))))),(0,o.A)(no.Ay,{item:!0,xs:4,sm:3,sx:{display:"flex",justifyContent:"center"}},void 0,(0,o.A)(g.A,{sx:{ml:1}},void 0,(0,o.A)(DI,{label:null,value:!d,setValue:()=>{t(!d),c(!d)},sx:{m:-1,pl:1.5},dataTestId:"saved-search-auto-suggest-toggle"}))))};try{RI.displayName="SavedSearch"}catch(e){}const LI=RI;var jI,qI,BI,zI;const UI=()=>{const e=(0,n.Zp)(),{data:t,isLoading:i}=(0,rT.Fo)(),a=t?.filter(e=>"user_saved_search"===e.type)||[],r=t?.filter(e=>"system_saved_search"===e.type)||[],[s]=(0,rT.sW)(),[l]=(0,rT.IW)(),d=(0,m.wA)(),u=(0,c.SC)(),p=e=>t=>{s({id:e.id,do_not_auto_suggest:t})},h=e=>{var t;t=[e],d((0,yP.setOmnibox)(t)),d((0,yP.setFilters)(e.filters))},v=t=>()=>{h(t),e("/my_customers")},A=t=>()=>{h(t),e("/my_customers?open_filters=1")},y=e=>()=>{u({title:"Confirm delete search",description:"Really delete this search?"}).then(()=>{l(e)})};return i?jI||(jI=(0,o.A)(W.A,{direction:"row",justifyContent:"center",alignItems:"center",height:"80vh",width:"100%","data-test-id":"loading-spinner"},void 0,(0,o.A)(cT.A,{}))):(0,o.A)(W.A,{direction:"column",sx:{width:"100%"}},void 0,(0,o.A)(As.A,{"data-test-id":"template-shell-header"},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center"},void 0,(0,o.A)("span",{role:"button",onClick:()=>e(-1),tabIndex:0,"data-test-id":"ico-back-arrow"},void 0,(0,o.A)(yk.A,{htmlColor:"white",sx:{ml:.5,mt:.5}})),(0,o.A)(O.A,{"data-test-id":"template-shell-header-title",variant:"purpleHeaderTitle",sx:{pl:2}},void 0,"Manage Saved Searches"))),qI||(qI=(0,o.A)(qN,{tabRoute:"saved_searches"})),(0,o.A)(W.A,{sx:{height:"calc(100vh - 150px)",overflow:"auto"},direction:"column",spacing:1,px:2,pt:1},void 0,(0,o.A)(no.Ay,{container:!0,alignItems:"center",pt:2,px:2,sx:{maxWidth:640}},void 0,BI||(BI=(0,o.A)(no.Ay,{item:!0,xs:8,sm:9},void 0,(0,o.A)(O.A,{variant:"subtitle1","data-test-id":"your-searches-title"},void 0,"Your Searches"))),(0,o.A)(no.Ay,{item:!0,xs:4,sm:3},void 0,a.length>0&&(0,o.A)(O.A,{variant:"caption",sx:{textAlign:"center",fontWeight:600,display:"block"},"data-test-id":"auto-suggest-header"},void 0,"Auto-suggest"))),0===a.length&&(0,o.A)(O.A,{variant:"body1",color:"text.secondary",sx:{px:"16px",maxWidth:640},"data-test-id":"empty-searches-message"},void 0,"To create a saved search, click the Advanced Search icon",(0,o.A)(J_.A,{sx:{mx:1,height:"0.7em",mb:"-3px"}}),'in the Customers search box. Configure your search, click the "Save this search" checkbox, and then Apply. Saved searches will be added to the dropdown list of Search and will show up here, too.'),a.map(e=>(0,o.A)(LI,{savedSearch:e,toggleDoNoAutoSuggest:p(e),onClickDeleteSearch:y(e),onClickName:v(e),onClickEdit:A(e),showActions:!0,dataTestId:"user-saved-search"},e.id)),(0,o.A)(no.Ay,{container:!0,alignItems:"center",pt:2,px:2,sx:{maxWidth:640}},void 0,zI||(zI=(0,o.A)(no.Ay,{item:!0,xs:8,sm:9},void 0,(0,o.A)(O.A,{variant:"subtitle1","data-test-id":"system-searches-title"},void 0,"System Searches"))),(0,o.A)(no.Ay,{item:!0,xs:4,sm:3},void 0,(0,o.A)(O.A,{variant:"caption",sx:{textAlign:"center",fontWeight:600,display:"block"},"data-test-id":"system-auto-suggest-header"},void 0,"Auto-suggest"))),r.map(e=>(0,o.A)(LI,{savedSearch:e,toggleDoNoAutoSuggest:p(e),onClickName:v(e),showActions:!1,dataTestId:"system-saved-search"},e.id)),(0,o.A)(g.A,{},void 0,(0,o.A)(g.A,{sx:{height:"200px"}}))))};try{UI.displayName="ManageSavedSearches"}catch(e){}const $I=UI;var WI=i(53592);const GI=({performUpdateTag:e,name:t})=>{const{closeDialog:i}=(0,a.useContext)(la.A),[r,n]=(0,a.useState)(t);return a.createElement(a.Fragment,null,(0,o.A)(Zs.A,{closeDialog:i}),(0,o.A)(Ys.A,{},void 0,(0,o.A)(W.A,{direction:"column",sx:{mt:3}},void 0,(0,o.A)(ao.A,{value:r,onChange:e=>n(e.target.value),inputProps:{maxLength:25}})),(0,o.A)(g.A,{display:"flex",justifyContent:"right",mt:2},void 0,(0,o.A)(E.A,{variant:"contained",onClick:i,sx:{mr:2}},void 0,"Cancel"),(0,o.A)(E.A,{variant:"contained",onClick:()=>
1{e({name:t,newName:r}),i()}},void 0,"Save"))))};try{GI.displayName="RenameTagDialog"}catch(e){}const HI=GI;var YI;const VI=()=>{const{closeDialog:e}=(0,a.useContext)(la.A),[t,i]=a.useState(""),[r,{isLoading:n,isSuccess:s}]=(0,rT.pX)(),l=()=>{r({seekerIds:[],tags:[t]})};return(0,a.useEffect)(()=>{s&&e()},[s]),a.createElement(a.Fragment,null,YI||(YI=(0,o.A)(Hs.A,{},void 0,"Create New Tag")),(0,o.A)(Zs.A,{closeDialog:e}),(0,o.A)(Ys.A,{},void 0,(0,o.A)(ao.A,{autoFocus:!0,id:"name",type:"text",fullWidth:!0,variant:"outlined",value:t,onChange:e=>i(e.target.value),onKeyDown:t=>{"Enter"===t.key?l():"Escape"===t.key&&e()},inputProps:{maxLength:25}}),(0,o.A)(W.A,{direction:"row",justifyContent:"flex-end",mt:2,spacing:1},void 0,(0,o.A)(E.A,{variant:"text",size:"small",onClick:e},void 0,"Cancel"),(0,o.A)(E.A,{variant:"contained",size:"small",disabled:n,onClick:l},void 0,"OK"))))};try{VI.displayName="CreateNewTagDialog"}catch(e){}const QI=VI;var ZI,KI,XI,JI,eE,tE;const iE=()=>{const e=(0,n.Zp)(),{data:t,isLoading:i}=(0,rT.Gr)(),r=t?.filter(e=>"user_tag"===e.type)||[],s=(0,m.wA)(),l=(0,c.SC)(),{openDialog:d}=(0,a.useContext)(la.A),[u,{isSuccess:p}]=(0,rT.A5)(),[h,{isSuccess:v}]=(0,rT.V)();if(i)return ZI||(ZI=(0,o.A)(W.A,{direction:"row",justifyContent:"center",alignItems:"center",height:"80vh",width:"100%","data-test-id":"loading-spinner"},void 0,(0,o.A)(cT.A,{})));const A=e=>{d({component:QI}),e.preventDefault()},y=t=>i=>{var o;s((0,yP.setFiltersToTag)([t])),o=[{name:t,type:"tag"}],s((0,yP.setOmnibox)(o)),e("/my_customers"),i.preventDefault()};return(0,o.A)(W.A,{direction:"column",sx:{width:"100%"}},void 0,(0,o.A)(As.A,{},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",width:"100%"},void 0,(0,o.A)("span",{role:"button",onClick:()=>e(-1),tabIndex:0,"data-test-id":"ico-back-arrow"},void 0,(0,o.A)(yk.A,{htmlColor:"white",sx:{ml:.5,mt:.5}})),(0,o.A)(O.A,{"data-test-id":"template-shell-header-title",variant:"purpleHeaderTitle",sx:{pl:2}},void 0,"Manage Tags"),(0,o.A)(W.A,{direction:"row",spacing:"16px",useFlexGap:!0,alignItems:"center",justifyContent:"flex-end",flexGrow:2},void 0,(0,o.A)(M.A,{onClick:A,"data-test-id":"add-tag-button"},void 0,KI||(KI=(0,o.A)(WI.A,{htmlColor:"white"})))))),XI||(XI=(0,o.A)(qN,{tabRoute:"tags"})),(0,o.A)(W.A,{sx:{height:"calc(100vh - 150px)",overflow:"auto"},direction:"column",spacing:{xs:1,sm:2},px:2,pt:1,pl:4},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",pt:2,spacing:1},void 0,JI||(JI=(0,o.A)(O.A,{variant:"subtitle1","data-test-id":"your-tags-title"},void 0,"Your Tags")),(0,o.A)(O.A,{variant:"body1",role:"button",tabIndex:0,onClick:A,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||A(e)},sx:{pl:3,cursor:"pointer",color:"primary.main",userSelect:"none"},"data-test-id":"add-tag-link"},void 0,"+ Add Tag")),0===r.length&&(0,o.A)(O.A,{variant:"body1",color:"text.secondary",sx:{pl:1,pr:3,maxWidth:640},"data-test-id":"empty-tags-message"},void 0,"To create a tag, use the Add Tag link above. Consider these guidelines:",eE||(eE=(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,' Use tags for static facts like personality traits or preferences, NOT attributes that change over time. "Leather fetish" or "GFE" are good candidates for tags, "Big Spenders" is not.'),(0,o.A)("li",{},void 0," Make them distinct, i.e. not synonymous with other tags."),(0,o.A)("li",{},void 0," Keep them short and descriptive; a single word or two.")))),r.map(e=>{return(0,o.A)(W.A,{direction:"column",sx:{pl:1,pr:3,maxWidth:640},"data-test-id":"user-tag-item"},e.name,(0,o.A)(no.Ay,{container:!0,alignItems:"flex-start",sx:{borderBottom:{xs:"1px solid var(--color_ccc)",sm:"none"}}},void 0,(0,o.A)(no.Ay,{item:!0,xs:8,sx:{pr:2,pb:{xs:1,sm:0}}},void 0,(0,o.A)(O.A,{variant:"body1"},void 0,(0,o.A)("a",{href:"#",onClick:y(e.name),role:"button",tabIndex:0,"data-test-id":"user-tag-name"},void 0,`${e.name} (${e.count})`))),(0,o.A)(no.Ay,{item:!0,xs:4,sx:{pt:{xs:.5,sm:0}}},void 0,(0,o.A)(W.A,{direction:"row",spacing:2,justifyContent:"flex-end"},void 0,(0,o.A)(O.A,{variant:"body3"},void 0,(0,o.A)("a",{href:"#",onClick:(i=e.name,e=>{d({component:HI,props:{performUpdateTag:u,name:i}}),e.preventDefault()}),role:"button",tabIndex:0,"data-test-id":"user-tag-rename"},void 0,"Rename")),(0,o.A)(O.A,{variant:"body3"},void 0,(0,o.A)("a",{href:"#",onClick:(t=e.name,e=>{l({title:"Confirm delete tag",description:"Tag will be removed from all customers and deleted. Really delete this tag?"}).then(()=>h({name:t})).catch(()=>{}),e.preventDefault()}),role:"button",tabIndex:0,"data-test-id":"user-tag-delete"}
1,void 0,"Delete"))))));var t,i}),tE||(tE=(0,o.A)(O.A,{variant:"subtitle1",pt:2,"data-test-id":"system-tags-title"},void 0,"System Tags")),(t?.filter(e=>"system_tag"===e.type)||[]).map(e=>(0,o.A)(W.A,{direction:"column",sx:{pl:1,pr:3,maxWidth:640},"data-test-id":"system-tag-item"},e.name,(0,o.A)(no.Ay,{container:!0,alignItems:"flex-start",sx:{borderBottom:{xs:"1px solid var(--color_ccc)",sm:"none"}}},void 0,(0,o.A)(no.Ay,{item:!0,xs:12,sx:{pr:2,pb:{xs:1,sm:0}}},void 0,(0,o.A)(O.A,{variant:"body1"},void 0,(0,o.A)("a",{href:"#",onClick:y(e.name),role:"button",tabIndex:0,"data-test-id":"system-tag-name"},void 0,`${e.name} (${e.count})`)))))),(0,o.A)(g.A,{},void 0,(0,o.A)(g.A,{sx:{height:"200px"}}))))};try{iE.displayName="ManageTags"}catch(e){}const oE=iE,aE=({type:e})=>{const{signOut:t}=(0,is.A)();return(0,a.useEffect)(()=>{t(e)},[]),null};var rE,nE,sE,lE,dE;function cE(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function uE(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?cE(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):cE(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const mE=()=>{const[e,t]=(0,a.useState)(""),[i,r]=(0,a.useState)(""),[n,s]=(0,a.useState)(""),[l,d]=(0,a.useState)(""),{executeRecaptcha:c,recaptchaComponent:u}=RS(),[m,{data:p,error:h}]=(0,k.zP)();(0,a.useEffect)(()=>{p&&(0,jS.VJ)(`signup${US(BS())}`)},[p]);let v=e;return e.length>3&&(v=`(${e.substring(0,3)}) `,e.length<6?v+=e.substring(3):v+=e.substring(3,6),e.length>6&&(v+=" - "+e.substring(6,10))),(0,o.A)("div",{"data-test-id":"forgot-pin-dialog",style:{display:"flex",flexDirection:"column",flex:"1 1 auto",minHeight:0,overflow:"hidden"}},void 0,(0,o.A)(MS,{},void 0,(0,o.A)(M.A,{"aria-label":"close",onClick:()=>{window.location.href="/login_by_phone"},sx:{color:e=>e.palette.grey[500]}},void 0,rE||(rE=(0,o.A)(FS.A,{})))),(0,o.A)(Ys.A,{sx:{overflowY:"auto",WebkitOverflowScrolling:"touch"}},void 0,(0,o.A)(g.A,{sx:{maxWidth:"450px",margin:"0 auto"}},void 0,(0,o.A)(W.A,{direction:"column",spacing:3,justifyContent:"center",alignItems:"center",mb:3},void 0,(0,o.A)("a",{href:"/"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg//niteflirt-logo.svg",alt:"NiteFlirt",style:{width:"180px"}})),nE||(nE=(0,o.A)(O.A,{variant:"h3"},void 0,"Forgot PIN")),sE||(sE=(0,o.A)(O.A,{variant:"body1"},void 0,"Enter the details below to sign in and complete your account registration.")),(h||l)&&(0,o.A)(W.A,{mb:3},void 0,(0,o.A)(O.A,{variant:"body3",style:{color:"#d32f2f"},class:"login-error"},void 0,(0,o.A)(y.A,{html:h?h.data.error:l})))),(0,o.A)(W.A,{direction:"column",spacing:3,mb:3},void 0,(0,o.A)(IS.A,{label:"Phone Number",type:"tel",value:v,setValue:e=>t(e.replace(/\D/g,"")),autoComplete:"off",name:"phone"}),(0,o.A)(IS.A,{label:"Credit Card (Last 6 digits)",variant:"outlined",size:"small",type:"password",name:"last_cc_digits",value:i,autoComplete:"off",setValue:e=>r(e.replace(/\D/g,""))}),(0,o.A)(IS.A,{name:"zip",label:"Billing Zip",variant:"outlined",size:"small",type:"password",value:n,autoComplete:"off",setValue:e=>s(e)})),(0,o.A)(W.A,{direction:"row",justifyContent:"center",mb:3},void 0,(0,o.A)(E.A,{onClick:c,variant:"contained",size:"large",fullWidth:!0,disabled:!e||!i||!n},void 0,"Sign In")),lE||(lE=(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center",mb:2},void 0,(0,o.A)(O.A,{variant:"h5"},void 0,"New to NiteFlirt?"))),(0,o.A)(W.A,{direction:"row",justifyContent:"center",mb:3},void 0,(0,o.A)(E.A,{onClick:()=>{(0,jS.VJ)(`signup${US(BS())}`)},variant:"outlined",size:"medium",fullWidth:!0},void 0,"Register")),dE||(dE=(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center"},void 0,(0,o.A)(O.A,{variant:"body2"},void 0,(0,o.A)("a",{href:"/login"},void 0,"Already have a Member Name?")))),u(t=>{const o=uE(uE({},zS()),{},{"g-recaptcha-response":t});m({phoneNumber:e,creditCard:i,zip:n,additionalParams:o})},()=>d("reCAPTCHA verification failed. Please reload the page to try again.")),(0,o.A)(g.A,{sx:{height:"300px","@media (min-width: 901px)":{display:"none"}}}))))};try{mE.displayName="ForgotPin"}catch(e){}const pE=mE,hE=({type:e="web"})=>{const{openDialog:t}=(0,a.useContext)(la.A);return(0,a.useEffect)(()=>{t({component:pE,props:{type:e,hideCancel:!0}})},[]),null};hE.propTypes={type:$c().string};const gE=hE;var vE=i(28264),AE=i(1069);const yE=({currentTab:e=0,handleTabChange:t=()=>{},handleSortChange:i=()=>{},listingsData:r=null,sorts:n=[],activeSort:s,tabs:l=[],showHeader:d=!0,categoryName:c})=>{const u=!!r?.chat,m=(0,x.u)("CHAT_STATUS_REALTIME_26748")&&u?"category_chat":null;(0,kC.A)(u?(r?.listings||[]).map(e=>
1e.user_id).filter(Boolean):[],{cacheKey:m});const p=(0,l_.A)(u?[]:r?.listings,"category_cam");return a.createElement(a.Fragment,null,d&&(0,o.A)(vE.A,{container:!0,spacing:2},void 0,(0,o.A)(vE.A,{item:!0,xs:12,sm:9},void 0,(0,o.A)(Cm.A,{value:e,onChange:t,"data-test-id":"category-listings-tabs"},void 0,l.map(e=>(0,o.A)(xm.A,{label:e.label,value:e.value,"data-test-id":`tab-${e.value}`},e.value)))),(0,o.A)(vE.A,{item:!0,xs:12,sm:3,container:!0,justifyContent:"flex-end"},void 0,3!==e&&(0,o.A)(AE.A,{sorts:n,activeSort:s,handleSortChange:i}))),(0,o.A)(g.A,{px:{xs:0,sm:1},pt:{xs:2.5,sm:3.5},pb:{xs:4,sm:4}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",gap:{xs:"6px",sm:"10px"},justifyContent:{sm:"flex-start"},paddingLeft:{sm:"16px"},"@media (max-width: 900px)":{justifyContent:"center",paddingLeft:"0px"}}},void 0,r?.listings.map((t,i)=>(0,o.A)(g.A,{sx:{width:{xs:"330px",sm:"330px"},flex:{xs:"0 0 330px",sm:"0 0 330px"}}},`listing_${t.id}`,r.chat?(0,o.A)(AC.A,{advisor:t,cacheKey:m}):(0,o.A)(vC.A,{listing:t,indexInPage:i,isQualifiableFeaturedListingContext:!0,queryName:"getCategoryListings",queryDataKey:"listings",queryArgs:{category:c,page:r.currentPage,listingType:e,sort:s},skipPubNubSubscription:!0,cacheKey:p}))))))};try{yE.displayName="CategoryListings"}catch(e){}const fE=yE;var bE,wE=i(19187),xE=i(35081),CE=i(63639);const kE=(0,Re.Ay)(wE.A)(({theme:e})=>({color:"var(--color_gray_six)",backgroundColor:"transparent",boxShadow:"none",border:"none",marginBottom:e.spacing(1.5),"&:before":{display:"none"}})),SE=(0,Re.Ay)(xE.A)(({theme:e})=>({padding:e.spacing(0,3),minHeight:"unset"})),_E=(0,Re.Ay)(CE.A)(({theme:e})=>({padding:e.spacing(0,2),"& h1":{fontSize:"1.1rem",margin:"10px 0 20px 0"}})),NE=(0,Re.Ay)(O.A)(()=>({fontSize:"0.875rem",lineHeight:1.6,"& p":{margin:"0 0 20px 0"}})),PE=(0,Re.Ay)(O.A)(()=>({fontSize:"0.775rem",lineHeight:1.5,"& h2":{fontSize:"inherit",fontWeight:700,margin:"0 0 4px 0"},"& p":{margin:"0 0 20px 0"}})),TE=({summary:e,heading:t,description:i=null,body:a})=>(0,o.A)(kE,{defaultExpanded:!1,disableGutters:!0},void 0,(0,o.A)(SE,{expandIcon:bE||(bE=(0,o.A)(j.A,{}))},void 0,(0,o.A)(O.A,{variant:"body3"},void 0,e)),(0,o.A)(_E,{},void 0,(0,o.A)(g.A,{sx:{px:1,pb:1}},void 0,(0,o.A)("h1",{},void 0,t),i&&(0,o.A)(NE,{variant:"body3"},void 0,i),(0,o.A)(PE,{variant:"body3"},void 0,a))));try{TE.displayName="SeoAccordion"}catch(e){}const FE=TE,IE={"Find-Men":{summary:"About Men Phone Sex",heading:"Get Hot & Flirty - The Best Phone Sex...Unforgettable Connections!",body:a.createElement(a.Fragment,null,(0,o.A)("h2",{},void 0,"Are you looking to spice up your love life?"),(0,o.A)("p",{},void 0,"Our top-rated phone sex lines offer the perfect opportunity for flirty conversations with like-minded individuals. We guarantee a safe, secure, and discreet environment where you can indulge in sultry talks that will leave you craving more. Why our phone sex lines stand out:"),(0,o.A)("h2",{},void 0,"Exciting connections"),(0,o.A)("p",{},void 0,"Connect with men who are eager to engage in hot and steamy conversations!"),(0,o.A)("h2",{},void 0,"Flirtatious Dirty Talk"),(0,o.A)("p",{},void 0,"Our experienced operators know how to bring the heat with their sultry dialogue that will have you feeling the sparks fly."),(0,o.A)("h2",{},void 0,"Safe and Secure Platform"),(0,o.A)("p",{},void 0,"Rest assured knowing that our platform is protected by top-of-the-line security measures, guaranteeing complete privacy for all of our users."),(0,o.A)("h2",{},void 0,"Convenient Payment Options"),(0,o.A)("p",{},void 0,"We make it easy for you to access our phone sex lines with a variety of safe and secure payment methods, including credit cards and internet transactions. Don't miss out on the chance to explore your fantasies in a flirty and exciting way! Dive into the world of tantalizing conversations today by calling now. Our experts are ready to guide you through an unforgettable journey filled with passion and anticipation!"))},"Find-Women":{summary:"About Women Phone Sex",heading:"Real, Interactive Women for Phone Sex Now",body:a.createElement(a.Fragment,null,(0,o.A)("h2",{},void 0,"Do women-only phone sex lines exist and how do they work?"),(0,o.A)("p",{},void 0,"Yes, they do—and they're all about choice and comfort. Women-only phone sex lines connect callers exclusively with female flirts, so you know exactly who's on the other end of the line. You browse, pick someone who catches your eye, and call when you're ready. The conversation is guided by your mood, boundaries, and imagination, making it a flirty, personalized experience without any pressure."),(0,o.A)("h2",{},void 0,"Where can I find profiles of women available for phone sex?"),(0,o.A)("p",{},void 0,"Right here online. Reputable phone sex platforms, like NiteFlirt, feature detailed profiles where women share their personalities, interests, specialties, and availability. Think of it as window shopping, but sexier—you can read bios, check out photos, and find someone who feels like the right vibe before you ever say hello."),(0,o.A)("h2",{},void 0,"What are the differences between phone sex, sexting, and video calls?"),(0,o.A)("p",{},void 0,"It all comes down to how you like to connect. Phone sex is voice-only, which lets your imagination do most of the work—intimate, personal, and very in-the-moment. Sexting happens via text, perfect for playful back-and-forth you can dip into anytime. Video calls add a visual element, making things feel more face-to-face. Same flirtation, different flavors—you get to choose what fits your mood."))},"Find-Women-Other":{summary:"About Women Other Phone Sex",heading:"Find Women for Live Phone Sex",body:a.createElement(a.Fragment,null,(0,o.A)("h2",{},void 0,"How Do Phone Sex Lines Work?"),(0,o.A)("p",{},void 0,"Phone sex lines work by connecting callers to operators who engage in erotic conversations over the phone. Callers usually pay a per-minute rate for this service, providing a safe and discreet outlet for exploring your wildest fantasies and deepest desires through verbal communication."),(0,o.A)("h2",{},void 0,"Does anyone even use phone sex lines anymore?"),(0,o.A)("p",{},void 0,"Live phone sex lines still have a niche market, catering to individuals who enjoy phone-based intimate conversations. Despite the rise of digital alternatives, phone sex lines remain popular for those seeking a more personal and immediate connection. The allure lies in the anonymity and fantasy fulfillment they offer."),(0,o.A)("h2",{},void 0,"Is my privacy protected when I use a phone line?"),(0,o.A)("p",{},void 0,'Generally, reputable phone chat lines use encryption to hide your private conversations and don\'t link your personal identity to the call, but your "n
1aughty" little secret might still show up on a boring old phone bill. If you want to keep things truly private, using a secondary app or a prepaid card is the best way to make sure your business stays your own!'),(0,o.A)("h2",{},void 0,"How do I choose a safe and reputable phone sex service?"),(0,o.A)("p",{},void 0,'Choosing a safe service is all about protecting your identity while you explore your fantasies. To keep things strictly between us, look for platforms that offer these "safe and sound" features:'),(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Verified Anonymity:")," ","Reputable services use private spaces that don't require your real name or personal details. Avoid any line that asks for your full name, home address, or workplace."),(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Clear Boundaries & Rules:")," ","High-quality lines provide explicit caller guidelines and safety notes to prevent harassment and ensure mutual respect."),(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Secure Payments:")," ",'Choose platforms that use discreet payment methods (like bulk-minute packages) to ensure your "naughty" calls don\'t show up with an obvious name on your bank statement.'),(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Red Flag Awareness:")," ",'Be cautious if someone tries to move you off the main platform quickly or starts asking for "help" with financial emergencies—those are major red flags for a scam.')))},"Find-Women-Fetish":{summary:"About Women Fetish Phone Sex",heading:"Indulge Your Fantasies: Fetish Phone Sex Experiences",body:a.createElement(a.Fragment,null,(0,o.A)("h2",{},void 0,"What is fetish phone sex and how does it work?"),(0,o.A)("p",{},void 0,"Fetish phone sex is a steamy, voice-only experience where you explore your deepest, most deliciously kinky desires with a partner who gets it—no judgment, just pure connection. You simply choose a woman (or man, or trans partner) whose fetish specialties match your fantasies, place a call, and let the conversation flow. It's live, private, and tailored entirely to you."),(0,o.A)("h2",{},void 0,"What are the most common fetishes explored through phone sex?"),(0,o.A)("p",{},void 0,"Oh, the possibilities are as varied as desire itself. Some of the most popular include Fem Dommes who love to take control, submissive women eager to please, foot and shoe worship, financial domination (findom), feminization, smoking, leather and latex, spanking, and BDSM scenarios. Whether your kink is gentle or wild, there's someone waiting to play."),(0,o.A)("h2",{},void 0,"How can I safely explore my fetishes with a phone sex operator?"),(0,o.A)("p",{},void 0,"Safety and comfort come first. Start by reading profiles carefully—our women list their specialties, limits, and styles. Communicate openly before the call about what you're into, and always respect boundaries. The phone line is a safe space to experiment because you're in control: you can hang up anytime, and everything stays between you and your fantasy partner."),(0,o.A)("h2",{},void 0,"How do I find a reputable fetish phone sex service?"),(0,o.A)("p",{},void 0,"Look for a platform that's been around, has transparent profiles, and values discretion. NiteFlirt, for example, has thousands of genuine operators with detailed fetish categories, reviews from real callers, and secure billing. A reputable service will also prioritize your privacy and offer clear communication channels. Trust your instincts—if a site feels sketchy, move on."),(0,o.A)("h2",{},void 0,"What should I expect during my first fetish phone sex call?"),(0,o.A)("p",{},void 0,"Expect to feel a little nervous—that's totally normal! But also expect to be welcomed. A good operator will start by chatting to understand your mood and fetish interests. She might ask what turns you on, what scenarios you've imagined, and guide the conversation gently. You're in the driver's seat; you can go as slow or as deep as you like. And remember—it's supposed to be fun!"),(0,o.A)("h2",{},void 0,"What if my fetish is too weird even for a phone sex site?"),(0,o.A)("p",{},void 0,"From balloon fetishes to giantess roleplay, NiteFlirt has 
1women who cater to extremely niche desires. Use the search to find exactly what you're looking for. If she's listed it, she's into it—or at least open to exploring it with you."))},"Find-Women-Fetish-Fem-Dommes":{summary:"About Women Fem Dommes Phone Sex",heading:"Femdom Phone Sex: Kneel, Call, Obey",description:(0,o.A)("p",{},void 0,'Some men are happiest on their knees, and the Fem Dommes here know exactly what to do with that. Female domination on NiteFlirt is direct, personal, and entirely on her terms: she gives the orders, you earn the reward, and every call bends to her mood instead of yours. Sort by rating and per-minute rate to find the Domme whose voice makes you say "yes, Ma\'am" without thinking, then connect privately, pay by the minute, and lean on the discreet billing NiteFlirt has run for more than two decades. Ask nicely, and she might just let you begin.'),body:a.createElement(a.Fragment,null,(0,o.A)("h2",{},void 0,"What is femdom phone sex?"),(0,o.A)("p",{},void 0,"Femdom phone sex is a live call led by a dominant woman who sets the pace and the rules; on NiteFlirt you connect one-on-one and pay by the minute."),(0,o.A)("h2",{},void 0,"How is a dominatrix phone sex call different from a regular call?"),(0,o.A)("p",{},void 0,"In a dominatrix phone sex session the domme leads with commands, tasks, or discipline rather than casual conversation, and each dominatrix lists her specialties on her profile."),(0,o.A)("h2",{}
1,void 0,"Does NiteFlirt offer femdom chats as well as calls?"),(0,o.A)("p",{},void 0,"Yes; alongside live calls, many listeners are available for femdom phone chat through NiteFlirt's Chat feature when you prefer typing to talking."),(0,o.A)("h2",{},void 0,"Is this a femdom hotline I can call anytime?"),(0,o.A)("p",{},void 0,"NiteFlirt works like a femdom hotline staffed around the clock by independent listeners, so availability updates in real time and you Call Now whenever someone is online."),(0,o.A)("h2",{},void 0,"How do I choose the right dominatrix?"),(0,o.A)("p",{},void 0,"Compare taglines, specialties, and caller rating counts, then start with Call Now; you can end the call at any time."))},"Find-Women-Fetish-Feminization":{summary:"About Women Feminization Phone Sex",heading:"Feminization Phone Sex — Sissy Training, By the Minute",body:a.createElement(a.Fragment,null,(0,o.A)("h2",{},void 0,"What is feminization phone sex?"),(0,o.A)("p",{},void 0,"Feminization phone sex is a live call where a woman guides you through becoming more feminine — voice, dress, behavior, and mindset, up to full sissy training. On this page you'll find women who specialize in feminization and sissification phone sex, ready to take your feminization as far as you want to go."),(0,o.A)("h2",{},void 0,"What happens on a sissy phone sex call?"),(0,o.A)("p",{},void 0,"Every call is led by the woman you choose. Popular themes here include sissy training, chastity, CEI, JOI, SPH, humiliation, and cucking. You set your limits and she sets the pace — a fully live, one-on-one sissy phonesex session billed by the minute."),(0,o.A)("h2",{},void 0,"Can I book an in-person feminization escort here?"),(0,o.A)("p",{},void 0,"No. NiteFlirt is a live phone, cam, and chat platform, not an escort service. Rather than a feminization escort, you connect with women for private feminization and sissy phone sex sessions from anywhere — discreetly and anonymously."))},"Find-Women-Fetish-Financial-Domination":{summary:"About Women Financial Domination Phone Sex",heading:"Findom Phone Sex: Financial Domination by the Minute",description:(0,o.A)("p",{},void 0,"For some, the biggest rush is handing over control of the one thing they guard most: their wallet. NiteFlirt's Financial Domination line pairs you with findom Goddesses who expect tribute, reward devotion, and make draining feel like an honor. Browse by rating and per- minute rate to find the one who commands your attention, then open a private, pay-per-minute call protected by the discreet billing NiteFlirt has trusted for over 20 years. Your Goddess is waiting, and so is her tribute."),body:a.createElement(a.Fragment,null,(0,o.A)("h2",{},void 0,"What is financial domination phone sex?"),(0,o.A)("p",{},void 0,'Financial domination phone sex, or "findom," is a live call where a dominant woman takes control through tributes and money-focused power play; you connect one-on-one and pay by the minute.'),(0,o.A)("h2",{},void 0,"What happens on a financial dominatrix phone sex call?"),(0,o.A)("p",{},void 0,"A financial dominatrix phone sex call centers on control of money, such as tributes, tasks, and teasing, with each findomme listing her style and limits on her profile."),(0,o.A)("h2",{},void 0,"Is financial domination phone sex billed by the minute?"),(0,o.A)("p",{},void 0,"Yes; financial domination phone sex on NiteFlirt is pay-per-minute at the rate each listener sets, separate from any tributes you choose to send."),(0,o.A)("h2",{},void 0,"How is this different from general domination phone sex?"),(0,o.A)("p",{},void 0,"Compared with general domination phone sex, the financial niche focuses specifically on control of money and spending rather than physical discipline."),(0,o.A)("h2",{},void 0,"Do I need a subscription for phone sex domination?"),(0,o.A)("p",{},void 0,"No; phone sex domination here is pay-per-minute with no membership, so you only pay for connected time plus any tributes you decide to give."),(0,o.A)("h2",{},void 0,"How do I choose a financial dominatrix?"),(0,o.A)("p",{},void 0,"Compare taglines, specialties, per-minute rates, and caller rating counts, then press Call Now to connect with an available listener."))},"Find-Women-BDSM":{summary:"About Women BDSM Phone Sex",heading:"BDSM Phone Sex: Obedience Begins Here",body:a.createElement(a.Fragment,null,(0,o.A)("h2",{},void 0,"Surrender to the Ultimate Domination"),(0,o.A)("p",{},void 0,"You don't just want phone sex. You crave bdsm phone sex—a world where your submissive needs are not just met, but exploited. Whether you are a seasoned pain slut or exploring your kinky side for the first time, our Mistresses and Masters are here to strip away your control. Pick up the phone and learn what it truly means to obey."),(0,o.A)("h2",{},void 0,"Explore Your Darkest Fetish"),(0,o.A)("p",{},void 0,"We specialize in the taboo. From strict bondage scenarios to intense gag protocols, every fantasy is a command waiting to be given. Do you need to be told what to do? Do you need to feel the sting of a command? Let us guide you through your deepest fetish with a voice that demands respect."),(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Total Power Exchange:")," ","Experience domination that leaves you breathless."),(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Verbal Tease & Denial:")," ","Learn to beg for what you want."),(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Sissy Training & Humiliation:")," ","Embrace your naughty side with expert guidance."),(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Pain & Pleasure:")," ","Connect with a pain slut expert who understands the line between sensation and surrender.")),(0,o.A)("h2",{},void 0,"Real Voices, Real Commands"),(0,o.A)("p",{},void 0,'This isn\'t a script. This is raw, unfiltered bdsm phone sex where your cock belongs to us, and your mind is ours to excite. We dictate when you cum, how you spank, and what you call yourself. You will whisper "slut" when told, and beg for more when the tease becomes unbearable.'),(0,o.A)("h2",{},void 0,"Why Call Us?"),(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Authentic Domination:")," ","We don't just talk about bdsm; we live it."),(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"No Judgment:")," ","Whether you want to be a sissy, a submissive, or a pain slut, your desires are safe here."),(0,o.A)("li",{},void 0,(0,o.A)("strong",{}
1,void 0,"Interactive Commands:")," ","We focus on sensual cruelty and kinky direction that makes you feel every word."),(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Discreet & Immediate:")," ","Stop searching for sex calls that disappoint. Get instant connection with the domination you've been fantasizing about.")),(0,o.A)("h2",{},void 0,"The Ultimate Tease & Obedience"),(0,o.A)("p",{},void 0,"Are you ready to feel your heart race? To feel the excitement of being completely vulnerable? We provide the bondage of the mind. Let us wrap you in commands, gag you with your own need, and spank your psyche until you break."),(0,o.A)("p",{},void 0,"Stop reading. Start obeying. Dial now for the most intense bdsm phone sex of your life. Your Mistress is waiting to take control."))},"Find-Women-BDSM-Mistresses":{summary:"About Women Mistresses Phone Sex",heading:"Mistress Phone Sex: Obedience Starts Here",description:(0,o.A)("p",{},void 0,"A real Mistress doesn't ask, she instructs, and here you'll find the ones who make obedience feel like a privilege. NiteFlirt's BDSM Mistress line connects you one-on-one with dominant women who set the rules, control the pace, and decide exactly how far your session goes. Browse Mistresses by rating and per-minute rate to find the one whose tone puts you in your place, then start a private, pay-per-minute call kept as discreet as it has been for over 20 years. Kneel, dial, and wait to be told what happens next."),body:a.createElement(a.Fragment,null,(0,o.A)("h2",{},void 0,"What is mistress phone sex on NiteFlirt?"),(0,o.A)("p",{},void 0,"It's a live, one-on-one call with a dominant woman who leads the session; each phone sex mistress sets her own style, from sensual control to strict discipline."),(0,o.A)("h2",{},void 0,"How do I start a call with a phone sex mistress?"),(0,o.A)("p",{},void 0,"Pick a listing, add a payment method, and press Call Now to connect instantly with an available phone sex mistress; you're billed by the minute at her listed rate."),(0,o.A)("h2",{},void 0,"Can I request a strict mistress phone sex session?"),(0,o.A)("p",{},void 0,"Yes; many listeners specialize in strict mistress phone sex with rules, discipline, and obedience, and their taglines and ratings help you find the right fit."),(0,o.A)("h2",{},void 0,"Is talking to a phone mistress private and discreet?"),(0,o.A)("p",{},void 0,"Yes; calls with a phone mistress are one-on-one and billing is discreet, a standard NiteFlirt has kept for more than 20 years."))},"Find-Women-Fantasy":{summary:"About Women Fantasy Phone Sex",heading:"Roleplaying and Fantasy Phone Sex with our Flirts",body:a.createElement(a.Fragment,null,(0,o.A)("h2",{},void 0,"What is fantasy phone sex and how does it work?"),(0,o.A)("p",{},void 0,'Fantasy phone sex is a form of shared sexual expression where participants use sexually charged dialogue to heighten arousal and explore intimacy. It works by relying on imagination and the "spoken word" (dirty talk) to create an erotic atmosphere, often involving guided fantasies, role-playing, or narratives about past or future sexual needs. Because it is purely auditory, it allows individuals to explore desires or "taboo" subjects they might feel hesitant to express in person.'),(0,o.A)("h2",{},void 0,"How can someone safely explore their fantasies through phone sex?"),(0,o.A)("p",{},void 0,"Safety begins with established standards and expectations before the session even starts."),(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Prioritize Privacy:")," ",'Use a private space where you won\'t be interrupted, and consider using "hands-free" options to stay comfortable and focused.'),(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Maintain Control:")," ","You always have the right to change your mind or stop at any point if something feels off."),(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Set Clear Limits:")," ","Before diving in, discuss your specific fetishes or fantasies to ensure they don't conflict with your partner's limits.")),(0,o.A)("h2",{}
1,void 0,"What are some popular fantasies people act out during phone sex?"),(0,o.A)("p",{},void 0,'Common scenarios often revolve around role-playing, which can range from playful "dominant" or "submissive" voices to specific archetypes like a "schoolgirl" or professional persona.'),(0,o.A)("ul",{},void 0,(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Guided Scenarios:")," ","Partners may narrate step-by-step sexual acts, such as describing exactly how they are touching themselves or using sex toys."),(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Memory and Future Planning:")," ",'Many people enjoy "reliving" a favorite past encounter or sharing detailed plans for what they want to do the next time they meet in person.'),(0,o.A)("li",{},void 0,(0,o.A)("strong",{},void 0,"Imaginative Worlds:")," ","Some explorers claim the best phone sex by delving into complex sci-fi or fantasy world-building.")))},"Find-Women-Women-Home-Alone":{summary:"About Women Home Alone Phone Sex",heading:"Phone Sex with Women, Home Alone Tonight",body:a.createElement(a.Fragment,null,(0,o.A)("h2",{},void 0,"Where can I find women for phone sex?"),(0,o.A)("p",{},void 0,"Right here. The Women Home Alone category lists real women available for live phone sex — from girl-next-door types and MILFs to BBW, Latina, and Ebony flirts — each home alone and waiting for you to call."),(0,o.A)("h2",{},void 0,"How does phone sex with women work on NiteFlirt?"),(0,o.A)("p",{},void 0,"Choose a woman who's available below and press Call Now to connect instantly. You talk live and one-on-one with your phone sex woman, billed by the minute at the rate on her listing — no membership or subscription required."),(0,o.A)("h2",{},void 0,"Do I need a woman's phone number to call?"),(0,o.A)("p",{},void 0,"No. NiteFlirt connects your call through the platform, so you reach a woman for phone sex without exchanging any personal number — hers stays private, and so does yours."),(0,o.A)("h2",{},void 0,"What kinds of women will I find here?"),(0,o.A)("p",{},void 0,"A wide range of female phone sex partners, sorted into subcategories like Sex, Oral, Mature, Sex Toys, BBW, Housewives, Latina, Ebony, and Asian. Browse the type you want and connect with a woman who fits your fantasy."))},"Find-Women-Women-Home-Alone-Ebony":{summary:"About Ebony Women Home Alone Phone Sex",heading:"Ebony Phone Sex – Live Calls, By the Minute",description:(0,o.A)("p",{},void 0,"Gorgeous, bored, and waiting by the phone, the Ebony women here are home alone and ready for company. This is where you reach real Black women who want one-on-one attention right now, whether you're after slow and flirty or something with a lot more heat. Filter by rating and per-minute rate to find the woman who catches your eye, then start a private, pay-per- minute call billed as discreetly as NiteFlirt has managed for 20-plus years. She's alone tonight, so why keep her waiting?"),body:a.createElement(a.Fragment,null,(0,o.A)("h2",{},void 0,"What is ebony phone sex on NiteFlirt?"),(0,o.A)("p",{},void 0,"Ebony phone sex is a live, one-on-one call with a Black woman listener; you choose who to call, connect instantly with Call Now, and pay by the minute."),(0,o.A)("h2",{},void 0,"Are these ebony women home alone right now?"),(0,o.A)("p",{},void 0,'Listings in the Ebony "Women Home Alone" category show who is available in real time, so the ebony women home alone marked live are ready to take your call.'),(0,o.A)("h2",{},void 0,"How do I start phone sex with ebony women?"),(0,o.A)("p",{},void 0,"Add a payment method, pick a listener, and press Call Now; phone sex with ebony women is billed per minute at the rate shown on each profile."),(0,o.A)("h2",{},void 0,"Can I do ebony phone chat instead of calling?"),(0,o.A)("p",{},void 0,"Yes; when you would rather type than talk, many listeners are available for ebony phone chat through NiteFlirt's Chat option."),(0,o.A)("h2",{},void 0,"Can I see ratings before I call?"),(0,o.A)("p",{},void 0,"Yes; each listing shows a caller rating count so you can choose an experienced listener with confidence."))},"Find-Men-BDSM-Fetish":{summary:"About Men BDSM Phone Sex",heading:"NiteFlirt: Premium Phone Sex, Fetish Exploration & Companionship",body:a.createElement(a.Fragment,null,(0,o.A)("p",{},void 0,"Welcome to NiteFlirt, the premier destination for discreet phone sex and genuine companionship. Whether you want to explore a particular fetish or safely navigate your deepest kinks, our platform connects callers with creators ready to fulfill every desire."),(0,o.A)("p",{},void 0,"From the commanding click of high heels to the intense realms of bdsm and domination, our experts specialize in bringing every sexual fetish to life. Easily connect with a skilled dom to experience thrilling power dynamics, spanking, and other taboo fantasies."),(0,o.A)("p",{},void 0,"No matter your fetish, you can seamlessly reach out via call, chat, or email to start exploring today."))}};try{IE.displayName="SEO_CONTENT"}catch(e){}const EE=(0,Re.Ay)(Cm.A)(({theme:e})=>({position:"absolute",left:0,width:"100%","& .MuiTabs-indicator":{transition:"none !important"},"& .MuiTab-root":{transition:"none !important"},"& .MuiTabs-flexContainer":{justifyContent:"flex-start"},[e.breakpoints.down("sm")]:{"&.MuiTabs-root":{"& .MuiButtonBase-root":{padding:"0px 15px",minWidth:"auto"},"& .MuiTabs-flexContainer":{justifyContent:"flex-start"}}}})),ME=({breadcrumbs:e,tabs:t,currentTab:i,handleTabChange:a,sorts:r,activeSort:n,handleSortChange:s})=>{const l=(0,d_.A)(e=>e.breakpoints.down("sm")),d=t.map(e=>{if(l){if("Live Phone Sex"===e.label)return"Phone Sex";if("Recorded Phone Sex"===e.label)return"Recorded"}return e.label});return(0,o.A)(g.A,{sx:{position:"sticky",top:"0",zIndex:2}},void 0,(0,o.A)(oN,{breadcrumbs:e}),(0,o.A)(vE.A,{container:!0,sx:{backgroundColor:"var(--body_background)",borderBottom:"1px solid var(--color_ddd)",height:"49px"}},void 0,(0,o.A)(vE.A,{item:!0,xs:9,sm:9},void 0,(0,o.A)(EE,{"data-test-id":"sticky-tabs",value:i,onChange:a},void 0,t.map((e,t)=>(0,o.A)(xm.A,{label:d[t],value:e.value,"data-test-id":`tab-${e.value}`},e.value)))),(0,o.A)(vE.A,{item:!0,xs:3,sm:3,container:!0,justifyContent:"flex-end"},void 0,3!==i&&(0,o.A)(AE.A,{sorts:r,activeSort:n,handleSortChange:s}))))};try{ME.displayName="StickyHeader"}catch(e){}const OE=ME;var DE,RE,LE,jE;const qE=()=>(0,o.A)($.A,{variant:"outlined",sx:{p:2,mt:3,maxWidth:"558px",mx:"auto"}},void 0,(0,o.A)(O.A,{variant:"h2",sx:{mt:1,ml:1}},void 0,"What's Next?"),(0,o.A)(g.A,{sx:{p:1,mt:2}},void 0,(0,o.A)(O.A,{variant:"body1"},void 0,"A. ",(0,o.A)("a",{href:window.location.href},void 0,"Browse"),"  or ",DE||(DE=(0,o.A)("a",{href:"/search"},void 0,"search")),"  for more listings ",RE||(RE=(0,o.A)("em",{},void 0,"OR")))),(0,o.A)(g.A,{sx:{p:1}},void 0,LE||(LE=(0,o.A)(O.A,{variant:"body1"},void 0,"B. Learn more about NiteFlirt in the video below ",(0,o.A)("em",{},void 0,"OR"))),(0,o.A)(g.A,{sx:{mt:1}},void 0,(0,o.A)("iframe",{allowFullScreen:!0,allowTransparency:"true",className:"vzaar-video-player",frameBorder:"0",height:"306",id:"vzvd-966101",name:"vzvd-966101",src:`${window.location.protocol}//view.vzaar.com/966101/player?autoplay=1`,title:"vzaar video player",type:"text/html",style:{maxWidth:"546px",width:"100%",border:"1px solid black"}}))),(0,o.A)(g.A,{sx:{p:1}},void 0,jE||(jE=(0,o.A)(O.A,{variant:"body1"},void 0,"C. Register to receive a special offer ",(0,o.A)("a",{href:"/signup"},void 0,"HERE!")))));try{qE.displayName="DecisionScreen"}catch(e){}const BE=qE;var zE,UE,$E,WE=i(85543);const GE="cam-upgrade-banner-seen",HE=({action:e=null})=>{const[t,i]=(0,a.useState)(()=>(()=>{try{return!!localStorage.getItem(GE)}catch{return!0}})());if(t)return null;
1return(0,o.A)(g.A,{"data-test-id":"cam-upgrade-banner",sx:{display:"flex",alignItems:"flex-start",gap:1.5,bgcolor:"#EBF3FF",px:2,py:1.5}},void 0,(0,o.A)(WE.A,{sx:{color:"primary.main",flexShrink:0}}),(0,o.A)(g.A,{sx:{flexGrow:1,minWidth:0,display:"flex",flexDirection:{xs:"column",sm:"row"},alignItems:"flex-start",gap:1.5}},void 0,(0,o.A)(O.A,{variant:"body3",component:"p",sx:{flexGrow:1}},void 0,zE||(zE=(0,o.A)("strong",{},void 0,"Cam has cut the cord."))," ","Fully integrated cam, no phone call required, with the same privacy you've always trusted."," ",UE||(UE=(0,o.A)("strong",{},void 0,"Click Cam Now to get started."))),e&&(0,o.A)(g.A,{sx:{flexShrink:0}},void 0,e)),(0,o.A)(M.A,{"aria-label":"Dismiss",size:"small",onClick:()=>{(()=>{try{localStorage.setItem(GE,"true")}catch{}})(),i(!0)},"data-test-id":"cam-upgrade-banner-dismiss",sx:{flexShrink:0,mt:-.5}},void 0,$E||($E=(0,o.A)(FS.A,{fontSize:"small"}))))};try{HE.displayName="CamUpgradeBanner"}catch(e){}const YE=HE;var VE,QE,ZE,KE=i(71373),XE=i(51324),JE=i(82519);const eM=()=>{var e;const t=[{label:"Live Phone Sex",value:1},{label:"Recorded Phone Sex",value:2},{label:"Chat",value:3}],{category:i}=(0,n.g)(),[r]=(0,s.ok)(),l=r.get("decision_screen"),d=parseInt(r.get("page"))||1,c=parseInt(r.get("listing_type"))||1,u=(0,m.d4)(JE.cc),p=(0,k._$)().data,{subscribe:h,unsubscribe:v,pubNubClient:A}=(0,C.A)(p),y=(0,m.wA)(),f=(0,n.Zp)(),b=(0,a.useRef)(),[w,S]=(0,a.useState)([]),_=3===c,N=_&&d>1?w[d-2]:void 0,P=_&&d>1&&void 0===w[d-2];(0,a.useEffect)(()=>{S([])},[i,c,u,l]),(0,a.useEffect)(()=>{P&&f(`?listing_type=${c}&page=1`,{replace:!0})},[P,c,f]);const T={category:i,page:d,listingType:c,sort:u};l&&(T.decisionScreen=l),N&&(T.cursor=N);const{data:F,isLoading:I,isSuccess:M}=(0,k.rw)(T,{skip:P});(0,a.useEffect)(()=>{_&&F?.next_cursor&&S(e=>{const t=[...e];return t[d-1]=F.next_cursor,t})},[F,_,d]);const O=(0,x.u)("CAM_P2_24464"),D=Boolean(F?.is_cam_category),R=(0,vo.bL)(t,{camP2Enabled:O,isCamCategory:D}),L=(0,vo.Kj)([{label:"Featured Listings",value:0},{label:"Top Available",value:1},{label:"Highest Rated",value:4},{label:"Less than $3",value:2},{label:"Less than $2",value:3}],{isCamCategory:D}),j=(0,k.zg)().data,{openDialog:q}=(0,a.useContext)(la.A)||{},B=O&&D&&(0,cs.N)(j?.current_user),{FeaturedListingsContextProvider:z}=(0,W_.A)({listingsData:F});(0,a.useEffect)(()=>{b.current=e=>{const t=e.message.split("<==>"),o=t[0],a={category:i,page:d,listingType:c,sort:u};l&&(a.decisionScreen=l);const r=(e,t,i={})=>{y(k.Ay.util.updateQueryData("getCategoryListings",a,o=>{o?.listings&&o.listings.filter(e).forEach(e=>{Object.assign(e,{away:"away"===t,busy:"busy"===t,takingCall:"taking"===t,taking_call:"taking"===t},(0,KE.iq)(e)?i:{})})}))};if(o===ge.G){const e=t[1].split(","),i=t[2],o=t[4];r(t=>e.includes(String(t.id)),i,o?{inherently_away:"mail_only"===o}:{})}else if(o===ge.xM){const e=t[1],i=t[2];y(k.Ay.util.updateQueryData("getCategoryListings",a,t=>{t?.listings&&t.listings.filter(e=>e.login===i).forEach(t=>{Object.assign(t,{away:"away"===e,busy:"busy"===e,takingCall:"taking"===e,taking_call:"taking"===e})})}))}else if(o===ge.aj){const e=t[1],i=t[2],o=(0,Hx.Ep)(e);y(k.Ay.util.updateQueryData("getCategoryListings",a,t=>{t?.listings&&t.listings.filter(e=>e.login===i).forEach(t=>{Object.assign(t,{chat_status:e,show_chat_link:o,can_text:o})})}))}else if(o===ge.hJ){const e=t[1],i=t[2];y(k.Ay.util.updateQueryData("getCategoryListings",a,t=>{t?.listings&&t.listings.filter(e=>e.login===i).forEach(t=>{Object.assign(t,{cam_available:"available"===e})})}))}else if(o!==ge.fY){const e=t[1],i=t[2];r(e=>e.login===i,e)}}},[i,d,c,u,l]);const U=(0,a.useCallback)(e=>{b.current&&b.current(e)},[]);(0,a.useEffect)(()=>{if(!A||A.dummy||F?.chat||!F?.listings)return;const e=F.listings.map(e=>e.push_channel).filter(Boolean);return 0!==e.length?(h(e,U),()=>{v(e,U)}):void 0},[A,F]);const $=(e,t)=>{f(`?listing_type=${t}&page=1`)},W=(e,t)=>{t<1||!F?.has_next&&t>F?.current_page||f(`?listing_type=${c}&page=${t}`)},G=e=>{y((0,JE.Z6)({categoryListingSort:e.value})),f(`?listing_type=${c}&page=1`)};(0,a.useEffect)(()=>{(0,vo.xo)(i),y((0,JE.Z6)({categoryListingSort:0}))},[i]);return(0,a.useMemo)(()=>(0,o.A)(z,{},void 0,(0,o.A)(g.A,{sx:{backgroundColor:"var(--body_background_alt)",borderRight:"1px solid var(--body_content_line)",width:"100%",overflow:"scroll",height:{xs:"c
1alc(100vh - 90px)",sm:"calc(100vh - 40px)"},overflowX:"hidden"}},void 0,F?.listings&&a.createElement(a.Fragment,null,(0,o.A)(OE,{breadcrumbs:F.category_breadcrumbs,tabs:R,currentTab:c,handleTabChange:$,sorts:L,activeSort:u,handleSortChange:G}),(0,o.A)(g.A,{sx:{margin:"0 auto",maxWidth:"1060px"}},void 0,(0,o.A)(IC.A,{top:200,arrowStyles:{prev:{left:-25,top:{xs:-40,sm:-20}},next:{right:-15,top:{xs:-40,sm:-20}}}},void 0,(0,o.A)(EC.A,{hasNext:F?.has_next,page:F?.current_page,onChange:W,disabled:I})),O&&D&&1===c&&(0,o.A)(YE,{action:B?(0,o.A)(E.A,{variant:"outlined",size:"small",onClick:()=>q({component:XE.A}),sx:{whiteSpace:"nowrap"},"data-test-id":"category-cam-check-button"},void 0,"Check Cam & Mic"):null}),e||(e=(0,o.A)(fE,{tabs:R,sorts:L,activeSort:u,currentTab:c,handleTabChange:$,listingsData:F,handleSortChange:G,showHeader:!1,categoryName:i})),(()=>{const e=(t=F?.categorySlug,t&&IE[t]||null);var t;return e&&a.createElement(FE,e)})())),M&&0===F?.listings?.length&&(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",alignItems:"center"}},void 0,"No listings found"),(I||P)&&a.createElement(a.Fragment,null,(0,o.A)(g.A,{height:40,sx:{backgroundColor:"var(--color_gray_nine)"}}),(0,o.A)(g.A,{height:40,sx:{borderBottom:"1px solid var(--color_ccc)"}}),VE||(VE=(0,o.A)(dN.A,{}))),F?.decision_screen&&(QE||(QE=(0,o.A)(BE,{}))),(0,o.A)(g.A,{sx:{height:200}}))),[F,d,u,c,l,O,D,B,q])||(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh",width:"100%"}},void 0,ZE||(ZE=(0,o.A)(Ql.A,{})))};try{eM.displayName="CategoryListingsContainer"}catch(e){}const tM=eM;var iM=i(17747),oM=i(16467),aM=i(66147),rM=i(15553),nM=i(2277),sM=i(75395),lM=i.n(sM),dM=i(97543),cM=i.n(dM);lM().extend(cM());const uM="dateOfBirth",mM="MM/DD/YYYY",pM="Please enter a valid date of birth.",hM=e=>{const t=lM()(e,mM,!0);return t.isValid()?!t.isAfter(lM()().subtract(18,"year"))||"You must be over 18 to use NiteFlirt.":pM},gM=()=>{const{setValue:e}=(0,iM.xW)();return(0,o.A)(oM.YJ,{name:uM,label:"Date of Birth",placeholder:mM,onChange:t=>{e(uM,(e=>{const t=String(e||"").replace(/\D/g,"").slice(0,8);return[t.slice(0,2),t.slice(2,4),t.slice(4,8)].filter(e=>e.length>0).join("/")})(t.target.value),{shouldDirty:!0})},validation:{required:pM,validate:hM},inputProps:{inputMode:"numeric",maxLength:10}})};try{gM.displayName="DateOfBirth"}catch(e){}const vM=gM;var AM=i(65204),yM=i.n(AM);const fM={required:"Please enter an email address.",pattern:{value:/^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i,message:"This email address is invalid."}},bM=()=>{const e=(0,iM.xW)(),[t,i]=(0,a.useState)(null);return a.createElement(a.Fragment,null,(0,o.A)(oM.YJ,{label:"Email Address",name:"email",type:"email",validation:fM,onBlur:e=>{const t=e.target.value,o=["co.jp","co.uk","com","net","org","info","edu","gov","mil","ca"],a=["yahoo.com","google.com","hotmail.com","gmail.com","me.com","aol.com","mac.com","live.com","comcast.net","googlemail.com","msn.com","hotmail.co.uk","yahoo.co.uk","facebook.com","verizon.net","sbcglobal.net","att.net","gmx.com","mail.com","outlook.com","icloud.com"];t&&yM().run({email:t,domains:a,topLevelDomains:o,suggested:e=>{i(e.full)},empty:()=>{i(null)}})}}),t&&(0,o.A)(O.A,{variant:"body2",color:"error"},void 0,"Did you mean ",(0,o.A)("a",{style:{color:"#06c",textDecoration:"underline",cursor:"pointer"},onClick:()=>{e.setValue("email",t),i(null)}},void 0,t),"?"))};try{bM.displayName="EmailField"}catch(e){}const wM=bM;var xM=i(31508),CM=i(33661),kM=i(53211),SM=i(80244);const _M=(0,Re.Ay)(CM.A)(()=>({"&.MuiStepper-root":{"& .MuiSvgIcon-root":{fontSize:"1.125em"}}})),NM=({activeStep:e,steps:t})=>(0,o.A)(g.A,{sx:{width:"100%"}},void 0,(0,o.A)(_M,{activeStep:e},void 0,t.map(e=>(0,o.A)(kM.A,{},e,(0,o.A)(SM.A,{},void 0,e)))));try{NM.displayName="SignupStepper"}catch(e){}const PM=NM,TM=["call","chat","cam"],FM=["Register","Add Money","Add Phone"],IM=e=>TM.includes(e?.productType),EM=e=>{if(!IM(e))return FM;const t=["Register","Add Card to Claim Offer"];return"chat"!==e.productType&&t.push("Add Phone"),t};var MM,OM,DM,RM,LM,jM,qM,BM;const zM=["html","children"];function UM(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function $M(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
1t%2?UM(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):UM(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const WM={login:"",email:"",password:"",memberagmt:!1,enable_platphorm_offers:!1,login_or_email_pending:!1,recaptcha_token:""},GM=a.createElement(a.Fragment,null,"I agree to the"," ",(0,o.A)(Ws.A,{href:"/help/tos",target:"_blank",rel:"noopener noreferrer"},void 0,"NiteFlirt User Agreement")," ","and"," ",(0,o.A)("span",{style:{whiteSpace:"nowrap"}},void 0,(0,o.A)(Ws.A,{href:"/help/privacy_policy",target:"_blank",rel:"noopener noreferrer"},void 0,"Privacy Policy")),".");try{GM.displayName="TOSLabel"}catch(e){}const HM=e=>{let{html:t,children:i}=e,o=(0,hg.A)(e,zM);return t?a.createElement(O.A,(0,De.A)({},o,{dangerouslySetInnerHTML:{__html:t}})):null==i?null:a.createElement(O.A,o,i)};try{HM.displayName="CtaCopy"}catch(e){}const YM=({phoneRegistered:e,product:t,promoCopy:i})=>{const{productType:r}=t||{},n="default"===(r||"default"),s={call:{returning:"Complete your registration to start your call with...",new:"Register to start your call with..."},chat:{returning:"Complete your registration to start your chat with...",new:"Register to start your chat with..."},cam:{returning:"Complete your registration to start your cam with...",new:"Register to start your cam with..."},gb:{returning:"Complete your registration to buy...",new:"Register to buy..."},default:{returning:"Complete Registration",new:"Register"}}[r||"default"],l=e?s.returning:s.new,d=!e&&n?i?.signup_form_banner:null,c=!e&&["call","cam"].includes(r)?i?.signup_form_banner_short:null;return a.createElement(a.Fragment,null,(0,o.A)(HM,{variant:"h3",sx:{textAlign:"center"},html:d},void 0,l),c&&(0,o.A)(HM,{variant:"body2",sx:{textAlign:"center",color:"var(--color_gray_six)"},html:c}),(0,o.A)(ZS,{product:t}),e&&(MM||(MM=(0,o.A)(O.A,{variant:"body1"},void 0,"You have already registered on 1-800-TO-FLIRT. Please complete your online registration so you can take advantage of everything NiteFlirt has to offer."))),t&&(0,o.A)(PM,{activeStep:0,steps:EM(t)}))};try{YM.displayName="SignupCTA"}catch(e){}const VM=()=>{const e=(0,k.zg)().data,{current_user:t}=e||{},[i,r]=(0,k.i0)(),n="user",s=(0,k.hn)(void 0,{skip:r.isSuccess}),l=s.data&&s.data[n],{recaptcha_site_key:d,recaptcha_enabled:c}=s.data||{},u=a.useRef(),m=BS(),{display:p}=(0,aM.A)("signup"),h=!IM(m),v=!!p?.signup_form_disclaimer&&"gb"===m?.productType,A=(0,iM.mN)({mode:"onBlur",defaultValues:WM});(0,rM.A)(r,n,A),(0,a.useEffect)(()=>{t&&t.id&&!s.isLoading&&l&&!l.login_or_email_pending&&(0,jS.VJ)("/account")},[t,l,s]);const[y,f]=(0,a.useState)({});(0,a.useEffect)(()=>{if(l){const e=(e=>({login:e.login,email:e.email,login_or_email_pending:e.login_or_email_pending,enable_platphorm_offers:e.enable_platphorm_offers}))(l);f(e),A.reset(e)}},[l,A.reset]);const b=()=>{const e=A.getValues();i({user:$M($M({},e),{},{password_confirmation:e.password}),additionalParams:zS()})};A.onSubmit=e=>{c?(A.clearErrors("recaptcha_token"),u.current.reset(),u.current.execute()):b()};return(0,a.useEffect)(()=>{if(r.isSuccess){const e=r.data?.redirect_to||"/";(0,jS.VJ)(e)}},[r]),s.isLoading?null:(0,o.A)("div",{style:{display:"flex",flexDirection:"column",flex:"1 1 auto",minHeight:0,overflow:"hidden"}},void 0,(0,o.A)(MS,{},void 0,(0,o.A)(M.A,{"aria-label":"close",onClick:jS.hz,sx:{color:e=>e.palette.grey[500]}},void 0,OM||(OM=(0,o.A)(FS.A,{})))),(0,o.A)(Ys.A,{sx:{overflowY:"auto",WebkitOverflowScrolling:"touch"}},void 0,(0,o.A)(g.A,{sx:{maxWidth:"450px",margin:"0 auto"}},void 0,(0,o.A)(oM._H,{form:A},void 0,(0,o.A)(W.A,{direction:"column",spacing:2,justifyContent:"center",alignItems:"center",mb:2},void 0,(0,o.A)("a",{href:"/"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg//niteflirt-logo.svg",alt:"NiteFlirt",style:{width:"180px"}})),(0,o.A)(YM,{phoneRegistered:y.login_or_email_pending,product:m,promoCopy:p})),(0,o.A)(W.A,{direction:"column",spacing:2,justifyContent:"center",alignItems:"center",mb:2},void 0,(0,o.A)(nM.A,{initialValue:y.login,required:!0}),DM||(DM=(0,o.A)(wM,{})),RM||(RM=(0,o.A)(xM.A,{confirmation:!1}))),(0,o.A)(W.A,{direction:"column"},void 0,LM||(LM=(0,o.A)(vM,{})),(0,o.A)(O.A,{variant:"body3",sx:{my:1}},void 0,(0,o.A)(oM.cG,{id:"user-accept-tos",name:"memberagmt",label:GM,validation:{required:"To continue check the box to accept our Terms of Service."}}),jM||(jM=(0,o.A)(oM.cG,{id:"user-enable-platphorm-offers",name:"enable_platphorm_offers",label:"Yes! Send me NiteFlirt offers and news."})))),qM||(qM=(0,o.A)(oM.Ap,{})),(0,o.A)(W.A,{direction:"row",justifyContent:"center",mb:2},void 0,(0,o.A)(E.A,{variant:"contained",size:"large",fullWidth:!0,onClick:()=>{A.handleSubmit(A.onSubmit)()},disabled:r.isLoading},void 0,"Register")),d&&c&&(0,o.A)(oM.I7,{recaptchaSiteKey:d,recaptchaRef:u,onVerify:b})),BM||(BM=(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center",mb:2},void 0,(0,o.A)(O.A,{variant:"h5"},void 0,"Already have an account?"))),(0,o.A)(W.A,{direction:"row",justifyContent:"center",mb:2},void 0,(0,o.A)(E.A,{onClick:()=>{(0,jS.g)(`/login${US(m)}`)},variant:"outlined",size:"medium",fullWidth:!0},void 0,"Sign In")),h&&(0,o.A)(W.A,{direction:"row",justifyContent:"center"},void 0,(0,o.A)("a",{href:"/flirt",style:{fontSize:"0.875rem"}},void 0,"Become a Flirt")),v&&(0,o.A)(W.A,{direction:"row",sx:{mt:3}},void 0,(0,o.A)(HM,{variant:"body3",sx:{color:"var(--color_gray_six)"},html:p.signup_form_disclaimer})),(0,o.A)(g.A,{sx:{height:"300px","@media (min-width: 901px)":{display:"none"}}}))))};try{VM.displayName="SignupContainer"}catch(e){}const QM=VM,ZM=()=>{const{openDialog:e,closeDialog:t}=(0,a.useContext)(la.A),i=(0,n.zy)();return(0,a.useEffect)(()=>(e({component:QM,props:{hideCancel:!0,zIndex:100}}),()=>{t()}),[]),(0,a.useEffect)(()=>{"/signup"!==i.pathname&&t()},[i.pathname,t]),null};var KM,XM=i(5377),JM=i(35239),eO=i(75809),tO=i(54004),iO=i(97387);function oO(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function aO(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
1t%2?oO(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):oO(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const rO=({listing:e,bordered:t,connectionCharge:i=0,onCallNow:a})=>(0,o.A)(g.A,{sx:aO({display:"flex",gap:1.5,mb:1.5,alignItems:"flex-start"},t&&{border:"1px solid",borderColor:"divider",borderRadius:2,p:1.5})},void 0,(0,o.A)(g.A,{sx:{position:"relative",flexShrink:0}},void 0,(0,o.A)(g.A,{component:"img",src:e.photo_url,alt:e.login,sx:{width:72,height:72,borderRadius:1,objectFit:"cover",display:"block"}}),e.live&&(0,o.A)(g.A,{sx:{position:"absolute",bottom:4,left:"50%",transform:"translateX(-50%)",bgcolor:"#e91e8c",borderRadius:"8px",px:.75,py:.125,whiteSpace:"nowrap"}},void 0,(0,o.A)(O.A,{sx:{color:"white",fontWeight:"bold",fontSize:"0.6rem",lineHeight:1.4}},void 0,"LIVE"))),(0,o.A)(g.A,{sx:{flex:1,minWidth:0}},void 0,(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:.25}},void 0,(0,o.A)(O.A,{variant:"subtitle2",fontWeight:"bold",noWrap:!0,sx:{mr:1}},void 0,e.login),(0,o.A)(O.A,{variant:"caption",color:"text.secondary",sx:{flexShrink:0}},void 0,(0,kc.zQ)(Number(e.price_per_minute_1)+i),"/min")),(0,o.A)(O.A,{variant:"caption",color:"text.secondary",sx:{display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden",mb:.5,lineHeight:1.3}},void 0,(e=>{if(!e)return"";const t=e.replace(/<[^>]+>/g,"");return(new DOMParser).parseFromString(t,"text/html").body.textContent||""})(e.title)),(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",alignItems:"center",columnGap:1,rowGap:.5}},void 0,(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:.5}},void 0,(0,o.A)(Gk.A,{value:Number(e.rating)||0,precision:.5,size:"small",readOnly:!0}),e.total_ratings>0&&(0,o.A)(O.A,{variant:"caption",color:"text.secondary"},void 0,"(",e.total_ratings,")")),(0,o.A)(E.A,{component:"a",href:`/call/listing/${e.id}`,onClick:t=>{t.preventDefault(),Promise.resolve(a()).finally(()=>{window.location.href=`/call/listing/${e.id}`})},variant:"contained",size:"small",startIcon:KM||(KM=(0,o.A)(iO.A,{})),sx:{borderRadius:4,textTransform:"none",fontSize:"0.7rem",py:.25,minWidth:0,ml:"auto",whiteSpace:"nowrap",textDecoration:"none",color:"white !important"}},void 0,"Call Now"))));try{rO.displayName="ListingRow"}catch(e){}const nO=rO;var sO,lO,dO;const cO=({listings:e,variant:t,freeMinutesEligible:i,connectionCharge:a,onDismiss:r,onAction:n,onBrowseFlirts:s,onTryChat:l,onCallNow:d})=>{const c="card"===t,{display:u}=(0,aM.A)("signup");return(0,o.A)(eO.A,{sx:{px:2,pt:1.5,pb:3}},void 0,(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"flex-end",mb:.5}},void 0,(0,o.A)(M.A,{size:"small",onClick:r,"aria-label":"Close"},void 0,sO||(sO=(0,o.A)(FS.A,{fontSize:"small"})))),(0,o.A)(O.A,{variant:"h6",component:"h1",fontWeight:"bold",textAlign:"center",sx:{mb:1}},void 0,i&&u?.nudge_step_heading?u.nudge_step_heading:"One step away"),(0,o.A)(O.A,{variant:"body2",color:"text.secondary",textAlign:"center",sx:{mb:2.5}},void 0,((e,t,i)=>e?t&&i?.nudge_step_card_body?i.nudge_step_card_body:"Add a card to get started.":t&&i?.nudge_step_phone_body?i.nudge_step_phone_body:"Add your number to get started.")(c,i,u)),(0,o.A)(E.A,{variant:"contained",fullWidth:!0,size:"large",startIcon:c?lO||(lO=(0,o.A)(tO.A,{})):dO||(dO=(0,o.A)(iO.A,{})),onClick:n,sx:{borderRadius:"28px",py:1.5,mb:2.5,textTransform:"none",fontSize:"1rem"}},void 0,c?"Add a Card":"Add Phone Number"),(0,o.A)(O.A,{variant:"overline",display:"block",sx:{mb:1.5,letterSpacing:2}},void 0,"Or explore flirts now"),e.map(e=>(0,o.A)(nO,{listing:e,bordered:!0,connectionCharge:a,onCallNow:d},e.id)),(0,o.A)(W.A,{direction:"row",spacing:2,justifyContent:"center",sx:{mt:1}},void 0,(0,o.A)(Ws.A,{href:"/search",variant:"body2",onClick:s},void 0,"Browse all Flirts"),(0,o.A)(Ws.A,{href:"/chat/browse",variant:"body2",onClick:l},void 0,"Try chat instead")))};try{cO.displayName="NudgeStep"}catch(e){}const uO=cO;var mO;const pO=({listings:e,heldSystemFreeMinutes:t,connectionCharge:i,allSet:r,onDismiss:n,onBrowseFlirts:s,onTryChat:l,onCallNow:d})=>{const c=t>0,u=r||c;return a.createElement(a.Fragment,null,(0,o.A)(g.A,{sx:{bgcolor:"primary.main",px:2,py:1.5,display:"flex",alignItems:"center",justifyContent:"space-between"}},void 0,(0,o.A)(O.A,{variant:"subtitle1",sx:{color:"white",fontWeight:"bold"}},void 0,c?`${t} Free ${1===t?"Minute":"Minutes"} Waiting`:"Featured Flirts"),(0,o.A)(M.A,{size:"small",onClick:n,"aria-label":"Close",sx:{color:"white"}},void 0,mO||(mO=(0,o.A)(FS.A,{fontSize:"small"})))),(0,o.A)(g.A,{sx:{px:2,pt:2,pb:3,overflowY:"auto"}},void 0,r&&(0,o.A)(O.A,{variant:"h6",component:"h1",fontWeight:"bold",textAlign:"center",sx:{mb:.5}},void 0,"You're all set"),r&&c&&(0,o.A)(O.A,{variant:"body2",color:"text.secondary",textAlign:"center",sx:{mb:2}},void 0,`You have ${t} FREE ${1===t?"minute":"minutes"} — start your first call now.`),u&&(0,o.A)(O.A,{variant:"overline",display:"block",textAlign:"center",sx:{mb:1.5}},void 0,"Featured Flirts"),e.map(e=>(0,o.A)(nO,{listing:e,connectionCharge:i,onCallNow:d},e.id)),(0,o.A)(W.A,{direction:"row",spacing:2,justifyContent:"center",sx:{mt:1}},void 0,(0,o.A)(Ws.A,{href:"/search?category_id=839",variant:"body2",onClick:s},void 0,"Browse all Flirts"),(0,o.A)(Ws.A,{href:"/chat/browse",variant:"body2",onClick:l},void 0,"Try chat instead"))))};try{pO.displayName="InterstitialCompleteStep"}catch(e){}const hO=pO;function gO(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function vO(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
1t%2?gO(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):gO(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const AO="add_cc_phone_for_free_minutes_25674",yO=vO(vO({},eO.p),{},{style:vO(vO({},eO.p.style),{},{overflow:"hidden"})}),fO=({open:e,onClose:t})=>{const i=(0,m.wA)(),[r]=(0,XM.Eg)(),[n,s]=(0,a.useState)(!1),[l,d]=(0,a.useState)(!1),[c,u]=(0,a.useState)(!1),[p,h]=(0,a.useState)(!1),g=(0,a.useRef)(!1),v=(0,a.useRef)(!1),{closeDialog:A}=(0,a.useContext)(la.A),{openAddCard:y,addMoneyEnabled:f}=(0,us.A)(),{data:b}=(0,k.zg)(),w=b?.connectionCharge??0,{show:x,minutesRemaining:C,refetch:S}=(0,aM.A)("signup"),{data:_=[],isFetching:N}=(0,k.Hq)(void 0,{skip:!e}),{data:P=[],isFetching:T}=(0,$p.QH)(void 0,{skip:!e||!b?.current_user}),{data:F,isFetching:I}=(0,$p.FG)(void 0,{skip:!e&&!c}),E=(F?.listings||[]).slice(0,3);(0,a.useEffect)(()=>{e&&(N||T||c||P.length>0&&_.length>0&&(t(),h(!1),u(!0)))},[e,N,T,P,_,c,t]),(0,a.useEffect)(()=>{e&&b&&(g.current||(g.current=!0,r({experimentKey:AO,eventType:"interstitial_shown"})))},[e,b,r]);const M=e=>r({experimentKey:AO,eventType:e}),O=()=>{v.current=!0,M("cc_added"),_.length>0?(t(),h(!1),u(!0)):(M("add_phone_shown"),t(),d(!0),s(!0))},D=()=>{setTimeout(()=>{v.current||(M("cc_add_skipped"),t()),v.current=!1},0),A()},R=()=>M("listing_call_now_clicked"),L=e=>{e.preventDefault(),M("browse_flirts_clicked").finally(()=>{window.location.href="/search"})},j=e=>{e.preventDefault(),M("try_chat_clicked").finally(()=>{window.location.href="/chat/browse"})};return a.createElement(a.Fragment,null,(0,o.A)(Cp.A,{open:(e&&!N&&!T||c)&&!I,fullWidth:!0,maxWidth:"xs",disableEscapeKeyDown:!0,PaperProps:c?yO:eO.p},void 0,c&&(0,o.A)(hO,{listings:E,heldSystemFreeMinutes:C,connectionCharge:w,allSet:!p,onDismiss:()=>{M("completion_dismissed"),u(!1),h(!1)},onBrowseFlirts:L,onTryChat:j,onCallNow:R}),e&&!c&&(0,o.A)(uO,{listings:E,variant:P.length>0?"phone":"card",freeMinutesEligible:x,connectionCharge:w,onDismiss:()=>{M("interstitial_dismissed"),t()},onAction:()=>{const e=P.length>0,i=_.length>0,o=M("interstitial_cta_clicked");if(e&&i)t(),h(!1),u(!0);else if(e)M("add_phone_shown"),t(),d(!1),s(!0);else if(f)M("add_cc_shown"),v.current=!1,y({},O,"signup_interstitial",D);else{const e=`${b?.txn_url}/cards?return_to=${encodeURIComponent("/")}&tracking_context=signup_interstitial`;Promise.all([o,M("add_cc_shown")]).finally(()=>{window.location=e})}},onBrowseFlirts:L,onTryChat:j,onCallNow:R})),n&&(0,o.A)(JM.A,{currentUser:b?.current_user,phones:_,afterAddPhone:()=>{M("phone_added"),S(),i((0,xe.s4)({message:"Phone number added!",severity:"success"})),s(!1),h(!1),u(!0)},afterCancel:()=>{M("add_phone_cancelled"),S(),s(!1),h(!0),u(!0)},offerClaimed:l}))};try{fO.displayName="InterstitialFlowV1"}catch(e){}const bO=fO,wO=a.createContext({crossFeatureNudgeEligibleOrOpen:!1,setCrossFeatureNudgeEligibleOrOpen:()=>{}}),xO="nf_skip_interstitial_check",CO=()=>{const[e,t]=(0,a.useState)(!1),i=(0,a.useRef)(!1),r=(0,x.u)("SIGNUP_TEST_INTERSTITIAL_25674"),{data:n}=(0,k.zg)(),{crossFeatureNudgeEligibleOrOpen:s}=(0,a.useContext)(wO),{data:l}=(0,XM.pS)(void 0,{skip:!r||!n?.current_user||n.current_user.is_advisor||at.A.hasCookie(xO)||i.current||s});(0,a.useEffect)(()=>{s?t(!1):l?.show_interstitial&&!i.current?t(!0):void 0===l||l.show_interstitial||at.A.setCookie(xO,"1",1440)},[l,s]);return(0,o.A)(bO,{open:e,onClose:()=>{i.current=!0,at.A.setCookie(xO,"1",1440),t(!1)}})};try{CO.displayName="PostSignupInterstitialContainer"}catch(e){}const kO=CO;var SO=i(16019),_O=i(33872),NO=i(12855);const PO={chat:{headline:"Still feeling that heat?",body:e=>`${e} is on chat — pick up where you left off.`,cta:"Start Chat"},phone:{headline:"Chat was fun. Now hear the voice.",body:(e,t)=>{if(!(t>0))return`${e} is available for calls.`;return`${e} is available for calls — your first ${1===t?"minute is":`${t} minutes are`} on us.`},cta:"Call Now"}},TO=({nudgeState:e,onCtaClick:t,onDismiss:i})=>{const r=PO[e.featureType],n="chat"===e.featureType?NO.A:iO.A;return(0,o.A)(Cp.A,{open:!0,disableEscapeKeyDown:!0,onClose:i,fullWidth:!0,maxWidth:"xs",PaperProps:eO.p},void 0,(0,o.A)(eO.A,{sx:{pt:0,px:0,pb:0}},void 0,(0,o.A)(g.A,{sx:{position:"relative",width:"100%",height:240}},void 0,e.advisorPhotoUrl&&a.createElement(a.Fragment,null,(0,o.A)(WS.A,{blurWidth:"100%",blurHeight:"240px",style:{backgroundImage:`url(${e.advisorPhotoUrl})`}}),(0,o.A)(g.A,{sx:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1,overflow:"hidden"}},void 0,(0,o.A)("img",{src:e.advisorPhotoUrl,alt:e.advisorLogin,loading:"lazy",style:{maxWidth:"100%",maxHeight:"100%",objectFit:"contain"}}))),(0,o.A)(g.A,{component:"button",type:"button",onClick:t,"aria-label":r.cta,sx:{position:"absolute",bottom:12,right:12,bgcolor:"secondary.main",borderRadius:"50%",width:40,height:40,display:"flex",alignItems:"center",justifyContent:"center",border:"none",p:0,cursor:"pointer",zIndex:2}},void 0,(0,o.A)(n,{sx:{color:"white",fontSize:20}}))),(0,o.A)(W.A,{spacing:2,sx:{px:3,py:3,textAlign:"center"}},void 0,(0,o.A)(O.A,{variant:"h6",component:"h1",fontWeight:"bold"},void 0,r.headline),(0,o.A)(O.A,{variant:"body2",color:"text.secondary"},void 0,r.body(e.advisorLogin||"",e.heldSystemFreeMinutes)),(0,o.A)(E.A,{variant:"contained",size:"large",fullWidth:!0,onClick:t},void 0,r.cta),(0,o.A)(Ws.A,{component:"button",variant:"body2",onClick:i,sx:{cursor:"pointer"}},void 0,"Maybe later"))))};try{TO.displayName="CrossFeatureNudgeModal"}catch(e){}const FO=TO;function IO(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function EO(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
1t%2?IO(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):IO(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const MO="cross_feature_nudge_25674",OO="cfn_not_eligible",DO=()=>{const[e]=(0,XM.Eg)(),[t]=(0,_O.V)(),{data:i}=(0,k.zg)(),{hasLegacyFreeMinutes:r,minutesRemaining:s}=(0,aM.A)("signup"),{isDialogOpen:l}=(0,a.useContext)(la.A),{setCrossFeatureNudgeEligibleOrOpen:d}=(0,a.useContext)(wO),c=(0,n.zy)(),u=(0,x.u)("SIGNUP_TEST_CROSS_FEATURE_NUDGE_25674"),[p,h]=(0,a.useState)(null),[g,v]=(0,a.useState)(0),A=(0,a.useRef)(!1),y=(0,a.useRef)(!1),f=(0,a.useRef)(!1),b=(0,a.useRef)(!1),C=(0,m.d4)(e=>Object.values(e.main?.queries||{}).filter(e=>"pending"===e.status).length);(0,a.useEffect)(()=>{A.current=l},[l]),(0,a.useEffect)(()=>{y.current=C>0,0===C&&f.current&&(f.current=!1,v(e=>e+1))},[C]),(0,a.useEffect)(()=>{d(null!==p)},[p]),(0,a.useEffect)(()=>{if(!u||p||!i?.current_user||i.current_user.is_advisor)return()=>{};const e=setTimeout(async()=>{if(!A.current)if(y.current)f.current=!0;else if(!((0,w.LD)(c.pathname)||(0,w.CA)(c.pathname)||(0,w.i5)(c.pathname)||document.cookie.includes(OO)))try{const e=await t(void 0,!1).unwrap();e.show?h({featureType:e.feature_type,advisorId:e.advisor_id,advisorLogin:e.advisor_login,advisorPhotoUrl:e.advisor_photo_url,advisorSlug:e.advisor_slug,listingId:e.listing_id,hasFreeMinutes:r}):e.permanent&&(document.cookie=`${OO}=1; path=/`)}catch{}},500);return()=>clearTimeout(e)},[c.pathname,u,i?.current_user?.id,g]);const S="phone"===p?.featureType?"call":"chat",_="phone"===p?.featureType?"chat":"phone";if((0,a.useEffect)(()=>{if(!p||!p.featureType||b.current)return;b.current=!0;const t="phone"===p.featureType,i={has_free_minutes:p.hasFreeMinutes,has_held_free_minutes:s>0};SO.A.sendEvent(`cross_feature_nudge_to_${S}_shown`,EO({variant:"treatment",feature_type:p.featureType,channel:_},t&&i)),e(EO({experimentKey:MO,eventType:`cross_feature_nudge_to_${S}_shown`},t&&{meta:i}))},[p]),!p||!p.featureType)return null;return(0,o.A)(FO,{nudgeState:EO(EO({},p),{},{heldSystemFreeMinutes:s}),onCtaClick:()=>{SO.A.sendEvent(`cross_feature_nudge_to_${S}_clicked`,{variant:"treatment",feature_type:p.featureType,channel:_}),e({experimentKey:MO,eventType:`cross_feature_nudge_to_${S}_clicked`});const t="chat"===p.featureType?`/chat/${p.advisorSlug}?start_chat=true`:`/call/listing/${p.listingId}`;b.current=!1,h(null),(0,jS.VJ)(t)},onDismiss:()=>{SO.A.sendEvent(`cross_feature_nudge_to_${S}_dismissed`,{variant:"treatment",feature_type:p.featureType,channel:_}),e({experimentKey:MO,eventType:`cross_feature_nudge_to_${S}_dismissed`}),b.current=!1,h(null)}})};try{DO.displayName="CrossFeatureNudgeContainer"}catch(e){}const RO=DO;var LO,jO,qO,BO,zO,UO,$O,WO;function GO(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function HO(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?GO(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):GO(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const YO={login:"",email:"",password:"",memberagmt:!1,enable_platphorm_offers:!1,login_or_email_pending:!1,recaptcha_token:""},VO=a.createElement(a.Fragment,null,"I agree to the"," ",(0,o.A)(Ws.A,{href:"/help/tos",target:"_blank",rel:"noopener noreferrer"},void 0,"NiteFlirt User Agreement")," ","and"," ",(0,o.A)("span",{style:{whiteSpace:"nowrap"}},void 0,(0,o.A)(Ws.A,{href:"/help/privacy_policy",target:"_blank",rel:"noopener noreferrer"},void 0,"Privacy Policy")),".");try{VO.displayName="TOSLabel"}catch(e){}const QO=()=>{const e=(0,k.zg)().data,{current_user:t}=e||{},[i,r]=(0,k.vw)(),n="user",s=(0,k.hn)(void 0,{skip:r.isSuccess}),l=s.data&&s.data[n],{recaptcha_site_key:d,recaptcha_enabled:c}=s.data||{},u=a.useRef(),m=(0,iM.mN)({mode:"onBlur",defaultValues:YO});(0,rM.A)(r,n,m),(0,a.useEffect)(()=>{t&&t.id&&!s.isLoading&&l&&!l.login_or_email_pending&&(0,jS.VJ)("/account")},[t,l,s]);const[p,h]=(0,a.useState)({});(0,a.useEffect)(()=>
1{if(l){const e=(e=>({login:e.login,email:e.email,login_or_email_pending:e.login_or_email_pending,enable_platphorm_offers:e.enable_platphorm_offers}))(l);h(e),m.reset(e)}},[l,m.reset]);const v=()=>{const e=m.getValues();i({user:HO(HO({},e),{},{password_confirmation:e.password}),additionalParams:zS()})};m.onSubmit=e=>{c?(m.clearErrors("recaptcha_token"),u.current.reset(),u.current.execute()):v()};return(0,a.useEffect)(()=>{if(r.isSuccess){const e=r.data?.redirect_to||"/";(0,jS.VJ)(e)}},[r]),s.isLoading?null:(0,o.A)(ES,{},void 0,(0,o.A)(MS,{},void 0,(0,o.A)(M.A,{"aria-label":"close",onClick:jS.hz,sx:{color:e=>e.palette.grey[500]},"data-test-id":"close-button"},void 0,LO||(LO=(0,o.A)(FS.A,{})))),(0,o.A)(Ys.A,{sx:{maxWidth:"450px",margin:"0 auto"}},void 0,(0,o.A)(oM._H,{form:m},void 0,(0,o.A)(W.A,{direction:"column",spacing:2,justifyContent:"center",alignItems:"center",mb:2},void 0,(0,o.A)("a",{href:"/"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg//niteflirt-logo.svg",alt:"NiteFlirt",style:{width:"180px"}})),jO||(jO=(0,o.A)(O.A,{variant:"h1"},void 0,"Become a Flirt"))),(0,o.A)(W.A,{direction:"column",spacing:2,justifyContent:"center",alignItems:"center",mb:2},void 0,(0,o.A)(nM.A,{initialValue:p.login,required:!0}),qO||(qO=(0,o.A)(wM,{})),BO||(BO=(0,o.A)(xM.A,{confirmation:!1}))),(0,o.A)(W.A,{direction:"column"},void 0,zO||(zO=(0,o.A)(vM,{})),(0,o.A)(O.A,{variant:"body3",sx:{my:1}},void 0,(0,o.A)(oM.cG,{id:"user-accept-tos",name:"memberagmt",label:VO,validation:{required:"To continue check the box to accept our Terms of Service."}}),UO||(UO=(0,o.A)(oM.cG,{id:"user-enable-platphorm-offers",name:"enable_platphorm_offers",label:"Yes! Send me NiteFlirt offers and news."})))),$O||($O=(0,o.A)(oM.Ap,{})),(0,o.A)(W.A,{direction:"row",justifyContent:"center",mb:2},void 0,(0,o.A)(E.A,{variant:"contained",size:"large",fullWidth:!0,onClick:()=>{m.handleSubmit(m.onSubmit)()},disabled:r.isLoading},void 0,"Register")),d&&c&&(0,o.A)(oM.I7,{recaptchaSiteKey:d,recaptchaRef:u,onVerify:v})),WO||(WO=(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center",mb:2},void 0,(0,o.A)(O.A,{variant:"h5"},void 0,"Already have an account?"))),(0,o.A)(W.A,{direction:"row",justifyContent:"center",mb:2},void 0,(0,o.A)(E.A,{onClick:()=>{(0,jS.g)("/login")},variant:"outlined",size:"medium",fullWidth:!0},void 0,"Sign In")),(0,o.A)(g.A,{sx:{height:120}})))};try{QO.displayName="FlirtSignupContainer"}catch(e){}const ZO=QO,KO=()=>{const{openDialog:e}=(0,a.useContext)(la.A);return(0,a.useEffect)(()=>{e({component:ZO,props:{hideCancel:!0,zIndex:100}})},[]),null},XO=({backgroundColor:e="white",children:t})=>((0,a.useEffect)(()=>{const t=document.body.style.backgroundColor;return document.body.style.backgroundColor=e,()=>{document.body.style.backgroundColor=t}},[e]),t);var JO,eD,tD,iD;function oD(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function aD(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?oD(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):oD(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const rD=()=>{const e=(0,n.Zp)(),t=new URLSearchParams((0,n.zy)().search),i=t.get("id"),r=t.get("token"),[s,l]=(0,a.useState)(!1),d=(0,k.AP)({id:i,token:r},{skip:s}),[c,u]=(0,k.Y3)(),{executeRecaptcha:m,recaptchaComponent:p}=RS(),h=(0,iM.mN)({mode:"onBlur",defaultValues:{id:i,token:r}});(0,rM.A)(u,"user",h),(0,a.useEffect)(()=>{const e={id:i,token:r};h.reset(e)},[h.reset,i,r]);return(0,a.useEffect)(()=>{d.error&&(window.history.pushState({},"","/"),window.history.pushState({},"","/"),(0,jS.g)(`/forgot_password?status=${d.error?.data?.status}`))},[d.error]),(0,a.useEffect)(()=>{u.isSuccess&&e("/new_password/confirm")},[u,e]),d.isLoading||d.error?null:(0,o.A)(XO,{backgroundColor:"white"},void 0,(0,o.A)(g.A,{px:{xs:3,sm:4},style:{maxWidth:"500px",margin:"100px auto"}},void 0,(0,o.A)(oM._H,{form:h},void 0,(0,o.A)(W.A,{direction:"column",spacing:3,justifyContent:"center",alignItems:"center",mb:3},void 0,(0,o.A)("a",{href:"/"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg//niteflirt-logo.svg",alt:"NiteFlirt",style:{width:"180px"}})),JO||(JO=(0,o.A)(O.A,{variant:"h3"},void 0,"New Password")),eD||(eD=(0,o.A)(O.A,{variant:"body1"},void 0,"Thank you! Please enter a new password below. This will be your new NiteFlirt password, so choose something that is easy for you to remember."))),tD||(tD=(0,o.A)(W.A,{direction:"column",spacing:3,justifyContent:"center",alignItems:"center",mb:3},void 0,(0,o.A)(xM.A,{}))),iD||(iD=(0,o.A)(oM.Ap,{})),(0,o.A)(W.A,{direction:"row",justifyContent:"center",mb:3},void 0,(0,o.A)(E.A,{variant:"contained",size:"large",fullWidth:!0,onClick:m,disabled:u.isLoading||u.isSuccess||!h.formState.isValid},void 0,"Reset Password")))),p(e=>{h.handleSubmit(t=>((e,t)=>{l(!0),c(aD(aD({},e),{},{captchaToken:t}))})(t,e))()},e=>{}))};try{rD.displayName="PasswordResetContainer"}catch(e){}const nD=rD;var sD,lD;const dD=()=>{const e=(0,n.Zp)();return(0,o.A)(XO,{backgroundColor:"white"},void 0,(0,o.A)(g.A,{px:{xs:3,sm:4},style:{maxWidth:"500px",margin:"100px auto"}},void 0,(0,o.A)(W.A,{direction:"column",spacing:3,justifyContent:"center",alignItems:"center",mb:3},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg//niteflirt-logo.svg",alt:"NiteFlirt",style:{width:"180px"}}),sD||(sD=(0,o.A)(O.A,{variant:"h3"},void 0,"Success!")),lD||(lD=(0,o.A)(O.A,{variant:"body1"},void 0,"Your password has been reset. Please sign in with the new password."))),(0,o.A)(W.A,{direction:"row",justifyContent:"center",mb:3},void 0,(0,o.A)(E.A,{variant:"contained",size:"large",fullWidth:!0,onClick:()=>{e("/login")}},void 0,"Back to Sign In"))))};try{dD.displayName="PasswordResetConfirmation"}catch(e){}const cD=dD;var uD,mD;const pD=({type:e,closeDialog:t})=>{const[i,r]=(0,a.useState)(""),[s,{data:l,error:d}]=(0,$p.Zp)(),c=new URLSearchParams(window.location.search),u=(0,n.Zp)(),m=c.get("type"),p="card"===m?"To verify your account, please provide us with the last 8 digits of the Credit Card you have on file.":"To verify your account, please provide us with the last 5 digits of your Social Security or Employer ID number.",h="card"===m?"Last 8 of Credit Card":"Social Security or Employer ID Number";return(0,a.useEffect)(()=>{l&&u("reset_password_complete")},[l]),(0,o.A)("div",{style:{display:"flex",flexDirection:"column",flex:"1 1 auto",minHeight:0,overflow:"hidden"}},void 0,(0,o.A)(MS,{},void 0,(0,o.A)(M.A,{"aria-label":"close",onClick:t,sx:{color:e=>e.palette.grey[500]}},void 0,uD||(uD=(0,o.A)(FS.A,{})))),(0,o.A)(Ys.A,{sx:{overflowY:"auto",WebkitOverflowScrolling:"touch"}},void 0,(0,o.A)(g.A,{sx:{maxWidth:"450px",margin:"0 auto"}},void 0,(0,o.A)(W.A,{direction:"column",spacing:3,justifyContent:"center",alignItems:"center",mb:3},void 0,(0,o.A)("a",{href:"/"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg//niteflirt-logo.svg",alt:"NiteFlirt",style:{width:"180px"}})),mD||(mD=(0,o.A)(O.A,{variant:"h3"},void 0,"Verify Your Account")),(0,o.A)(O.A,{variant:"body1",align:"center"},void 0,p)),d&&(0,o.A)(W.A,{mb:3},void 0,(0,o.A)(O.A,{variant:"body3",style:{color:"#d32f2f"}},void 0,(0,o.A)("div",{dangerouslySetInnerHTML:{__html:d.data.error}}))),(0,o.A)(W.A,{direction:"column",spacing:3},void 0,(0,o.A)(IS.A,{name:"password",label:h,type:"password",value:i,setValue:r,onKeyPress:e=>{"Enter"===e.key&&s({data:i,type:m})}})),(0,o.A)(W.A,{direction:"row",justifyContent:"center",mb:3,mt:2},void 0,(0,o.A)(E.A,{variant:"contained",size:"large",fullWidth:!0,onClick:()=>s({data:i,type:m})},void 0,"Verify Account")),(0,o.A)(g.A,{sx:{height:"300px","@media (min-width: 901px)":{display:"none"}}}))))};try{pD.displayName="VerifyAccountDialog"}catch(e){}const hD=pD,gD=()=>{const{openDialog:e}=(0,a.useContext)(la.A),t=()=>{history.back()};return(0,a.useEffect)(()=>{e({component:hD,props:{closeDialog:t,hideCancel:!0}})},[]),null},vD=(0,Re.Ay)(Cm.A)(()=>({display:"flex","& .MuiTab-root":{flexGrow:1,minWidth:0,padding:"8px 15px",whiteSpace:"nowrap",textAlign:"center"},"& .MuiTab-root:first-child":{paddingLeft:"30px",paddingRight:"30px"}}));var AD=i(34016);const yD=[{id:"price",label:"Price",type:"checkbox",values:[{id:"5",label:"Less than $5"},{id:"5to10",label:"$5 to < $10"},{id:"10to15",label:"$10 to < $15"},{id:"15to20",label:"$15 to < $20"},{id:"20to25",label:"$20 to < $25"},{id:"25",label:"$25 or more"}]},{id:"media",label:"Media Types",type:"checkbox",values:[{id:"image",label:"Photos"},{id:"video",label:"Videos"},{id:"audio",label:"Audio files"}]},{id:"rating",label:"Rating",type:"checkbox",values:[{id:"five",label:"Excellent"},{id:"four",label:"Good"},{id:"three",label:"Okay"},{id:"two",label:"Needs Loving"},{id:"one",label:"Unrated"}]},{id:"dominance_tags",label:"Dominance",type:"checkbox",values:[{id:"Woman dominant",label:"Woman dominant"},{id:"Woman submissive",label:"Woman submissive"},{id:"Woman neutral",label:"Woman neutral"},{id:"Man dominant",label:"Man dominant"},{id:"Man submissive",label:"Man submissive"},{id:"Man neutral",label:"Man neutral"},{id:"Transgender dominant",label:"Transgender dominant"},{id:"Transgender submissive",label:"Transgender submissive"},{id:"Transgender neutral",label:"Transgender neutral"}]},{id:"age_tags",label:"Age",type:"checkbox",values:[{id:"teen",label:"18-19"},{id:"twenties",label:"20-29"},{id:"thirties",label:"30-39"},{id:"forty_plus",label:"40+"}]},{id:"race_tags",label:"Race/Ethnicity",type:"checkbox",values:[{id:"African descent",label:"African descent"},{id:"Asian",label:"Asian"},{id:"Caucasian",label:"Caucasian"},{id:"Latin American/Hispanic",label:"Latin American/Hispanic"},{id:"Mixed race",label:"Mixed race"},{id:"Indian subcontinent descent",label:"Indian subcontinent descent"},{id:"Middle Eastern",label:"Middle Eastern"},{id:"Native American",label:"Native American"},{id:"Pacific Islander",label:"Pacific Islander"}]},{id:"content_rating",label:"Content Rating",type:"checkbox",values:[{id:"Tame",label:"Tame"},{id:"Provocative/Sexy",label:"Provocative/Sexy"},{id:"Censored nudity",label:"Censored nudity"},{id:"Female topless nudity",label:"Female topless nudity"},{id:"Buttocks nudity",label:"Buttocks nudity"},{id:"Below waist/full frontal nudity",label:"Below waist/full frontal nudity"},{id:"Below waist insertion/oral sex/masturbation",label:"Below waist insertion/oral sex/masturbation"}]},{id:"publication_date",label:"Date Added",type:"single_select",values:[{id:"anytime",label:"Anytime"},{id:"day",label:"Last Day"},{id:"week",label:"Last 7 Days"},{id:"month",label:"Last 30 Days"}]}];var fD=i(26956);const bD=({resultCounts:e,filters:t,onChange:i})=>{let a=(e.kink_tags||[]).map(e=>Object.keys(e)).flat(),r={};
1return(e.kink_tags||[]).forEach(e=>{r[Object.keys(e)[0]]=Object.values(e)[0]>999?"999+":Object.values(e)[0]}),(0,o.A)(fD.A,{label:"Related Tags",options:a,filters:t,value:t.kink_tags,setValue:i,allowTyping:!0,counts:r,showCount:!0})};try{bD.displayName="RelatedTagsFilter"}catch(e){}const wD=bD;var xD,CD;function kD(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function SD(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?kD(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):kD(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const _D=yD.filter(e=>"checkbox"===e.type),ND=yD.filter(e=>"single_select"===e.type),PD=({page:e=1})=>{const t=(0,m.d4)(AD.No),i=(0,m.wA)(),{closeDialog:r}=(0,a.useContext)(la.A),n=(0,m.d4)(AD.k5),s=(0,m.d4)(AD.MF),l=(0,m.d4)(AD.FB),[d,c]=(0,a.useState)(!1),[u,{data:p}]=(0,kt.Ko)();(0,a.useEffect)(()=>{u(SD(SD({},t),{},{category:n,sort:s,page:e}))},[u,t,n,s,e]),(0,a.useEffect)(()=>{p&&window.history.pushState(null,"",`?${l}`)},[p]),(0,a.useEffect)(()=>{const e=e=>{"Enter"===e.key&&r()};return document.addEventListener("keypress",e),()=>document.removeEventListener("keypress",e)},[]);if(!p)return null;const h=p.facet;return(0,o.A)("div",{"data-test-id":"goody-bag-filters",style:{display:"contents"}},void 0,xD||(xD=(0,o.A)(Hs.A,{},void 0,"Filters")),(0,o.A)(Zs.A,{closeDialog:r}),(0,o.A)(Ys.A,{className:"paddingtop0",sx:{overflowY:d?"hidden":"auto",overflowX:"hidden"}},void 0,_D.map(e=>[e,h[e.id]]).map(([e,a])=>{const r={};e.values.forEach((e,t)=>{r[e.label]=a?a[t]:0});const n=e.values;let s=t[e.id].map(e=>n.find(t=>t.id===e).label);return(0,o.A)(fD.A,{label:e.label,options:e.values.map(e=>e.label),filters:t,value:s,setValue:t=>{const o=t.map(e=>n.find(t=>t.label===e).id);i((0,AD.R6)({filter:e.id,value:o}))},onDropdownOpenChange:c,allowTyping:!0,counts:r,showCount:!0,"data-test-id":`filter-${e.id}`},e.id)}),(0,o.A)(wD,{resultCounts:h,filters:t,onChange:e=>i((0,AD.R6)({filter:"kink_tags",value:e})),"data-test-id":"related-tags-filter"}),ND.map(e=>{const{id:a,label:r,values:n}=e,s=t[a],l=n.map((e,t)=>[e,h[a]?h[a][t]:0]).filter(e=>e[1]>0);return(0,o.A)(g.A,{"data-test-id":`${a}`,sx:{mb:3}},a,(0,o.A)(BF.A,{id:`${a}_label`,sx:{mt:2,mb:1}},void 0,r),(0,o.A)(Jd.A,{size:"small",label:r,labelId:`${a}_label`,options:n.map(e=>e.label),value:s,onChange:e=>i((0,AD.R6)({filter:a,value:e.target.value})),displayEmpty:!0,"data-test-id":`select-${a}`},void 0,CD||(CD=(0,o.A)(td.A,{value:""},void 0,"Select Date")),l.map(e=>{const[t,i]=e;return(0,o.A)(td.A,{value:t.id,"data-test-id":`option-${t.id}`},t.id,t.label,"  (",i,")")})))})),(0,o.A)(md.A,{sx:{"@media (max-width:600px)":{marginBottom:"0px !important"}}},void 0,(0,o.A)(E.A,{color:"secondary",onClick:()=>{i((0,AD.hi)()),i((0,AD.C9)())},sx:{mr:2}},void 0,"Reset"),(0,o.A)(E.A,{variant:"contained",onClick:()=>{i((0,AD.C9)()),r()}},void 0,"Apply")))};try{PD.displayName="GoodyBagFilters"}catch(e){}const TD=PD,FD=({goodyBags:e=[],currentUser:t={}})=>e.length?(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",gap:{xs:"6px",sm:"10px"},justifyContent:{sm:"flex-start"},paddingLeft:{sm:"15px"},"@media (max-width: 900px)":{justifyContent:"center",paddingLeft:"0px"}}},void 0,e.map(e=>(0,o.A)(g.A,{sx:{width:"330px",flex:"0 0 330px"}},`goodyBag_${e.id}`,(0,o.A)(FC.A,{goodyBag:e,selected:!1,viewingSelf:t?.id===e.user_id,currentUser:t,advisorLoading:!1,advisor:{login:e.owner_name},viewingSingleAdvisor:!1})))):null;try{FD.displayName="GoodyBags"}catch(e){}const ID=FD;var ED,MD=i(58219);const OD=[["1","Relevance"],["2","Price: Low to High"],["3","Price: High to Low"],["6","Rating"],["4","Newest Arrivals"],["11","Most Popular"]],DD=({sort:e="4",setSort:t})=>{const[i,r]=(0,a.useState)(null),n=()=>{r(null)};return(0,o.A)(g.A,{display:"flex",sx:{ml:"auto"}},void 0,(0,o.A)(M.A,{onClick:e=>{r(e.currentTarget)},"aria-label":"Sort options"},void 0,ED||(ED=(0,o.A)(MD.A,{}))),(0,o.A)(ed.A,{anchorEl:i,open:Boolean(i),onClose:n,MenuListProps:{"aria-labelledby":"sort-menu-button"}},void 0,OD.map(([i,a])=>(0,o.A)(td.A,{selected:i===e,onClick:()=>(e=>{t(e),n()})(i)},i,a))))};try{DD.displayName="SortControl"}catch(e){}const RD=DD;var LD,jD,qD,BD,zD,UD=i(63410),$D=i(7109);function WD(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function GD(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
1t%2?WD(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):WD(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const HD=(0,Re.Ay)(X_.A)(()=>({"& .MuiBadge-badge":{top:"90%",right:0}})),YD=(0,Re.Ay)(g.A)(({theme:e})=>({display:"flex",justifyContent:"start",borderBottom:`1px solid ${e.palette.divider}`,marginTop:e.spacing(0),backgroundColor:"var(--body_background)"})),VD=(0,Re.Ay)(gC.A)(({theme:e})=>({marginTop:e.spacing(-2),marginLeft:e.spacing(-2),marginRight:e.spacing(-2)})),QD=e=>{switch(e){case"recent_additions":default:return 0;case"top_sellers_last_7":return 1;case"most_liked_last_30":return 2}},ZD=()=>{const e=(0,k.zg)(),t=e?.data?.current_user,i=window.location.hash.substring(1),[r,n]=(0,a.useState)(i||"recent_additions"),l=(0,m.d4)(AD.OZ)||{},{openDialog:d}=(0,a.useContext)(la.A),c=(0,m.wA)(),u=(0,m.d4)(AD.No)||{},p=(0,m.d4)(AD.xA),h=!!(0,m.d4)(AD.Tr),v=(0,m.d4)(AD.k5),A=(0,m.d4)(AD.MF),[y,f]=(0,a.useState)(1),b=(0,d_.A)(e=>e.breakpoints.down("sm")),[w,x]=(0,a.useState)(!1),{text:C,price:S,media:_,rating:N,dominance_tags:P,age_tags:T,race_tags:F,content_rating:I,publication_date:E,kink_tags:O}=u,[D]=(0,s.ok)(),R=D.get("action"),L=(0,m.d4)(AD.FB),j=(0,a.useMemo)(()=>({action:R,returnUrlTemplate:`/goody/search?${L}&action=buy&goodyBagId=:goodyBagId${i?`#${i}`:"#recent_additions"}`}),[L,i]);(0,a.useEffect)(()=>{const e=(0,vo.F3)();c((0,AD.Fb)(e)),D.set("category",e),c((0,AD.Zk)(D))},[]);const[q,{data:B,isSuccess:z,isLoading:U}]=(0,kt.lU)(),$=(e=1,t="recent_additions")=>{const i=GD(GD({},u),{}
1,{category:v,sort:A,page:e,skip_facets:!0,carousel_type:t});q(i)},G=e=>(0,o.A)("div",{},void 0,h&&(B?.misc?.num_pages||1)>1&&(0,o.A)(IC.A,{top:300,arrowStyles:{prev:{left:{xs:-25,sm:-30},top:20},next:{right:-15,top:20}}},void 0,(0,o.A)(EC.A,{onChange:(e,t)=>{return f(i=t),void $(i,r);var i},page:y,hasNext:(B?.misc?.page||1)<(B?.misc?.num_pages||1)})),(0,o.A)(g.A,{sx:{display:"flex",justifyContent:{sm:"flex-start"},mt:2,"@media (max-width: 900px)":{justifyContent:"center"}}},void 0,(0,o.A)(ID,{goodyBags:e,currentUser:t})));return(0,ik.A)(),(0,a.useEffect)(()=>{f(1);const e=(0,Dx.debounce)(()=>{l[r]||$(1,r)},500,{trailing:!0});return(0===C.length||C.length>=3)&&e(),e.cancel},[C,S,_,N,P,T,F,I,E,O,A,v,r,l]),(0,a.useEffect)(()=>{if(z&&B?.carousels){const e=B.carousels[0].name;l[e]||c((0,AD.HM)({carouselType:e,data:B}))}},[z,B]),(0,a.useEffect)(()=>{window.history.pushState(null,"",`?${L}`)},[L]),(0,o.A)(dt.A,{},void 0,(0,o.A)(Op.A,{header:"Goodies",showBackArrow:!1},void 0,(0,o.A)(g.A,{sx:{backgroundColor:"var(--body_background)",borderBottom:e=>`1px solid ${e.palette.divider}`}},void 0,(0,o.A)(no.Ay,{container:!0,sx:{pt:3,px:{xs:2,sm:3},pb:{xs:0,sm:1}}},void 0,(0,o.A)(no.Ay,{item:!0,sm:6,xs:12},void 0,(0,o.A)(ao.A,{variable:"outlined",autoComplete:"off",placeholder:b?"Find videos, photos, and Goodies":"Find videos, photos, and other Goodies",fullWidth:!0,size:"small",value:C,onChange:e=>{c((0,AD.c3)(e.target.value))},InputProps:{startAdornment:LD||(LD=(0,o.A)(ro.A,{position:"start"},void 0,(0,o.A)(so.A,{}))),endAdornment:(0,o.A)(ro.A,{position:"end"},void 0,h&&(0,o.A)(M.A,{edge:"end",onClick:()=>c((0,AD.hi)()),size:"small"},void 0,jD||(jD=(0,o.A)(lo.A,{}))),(0,o.A)(M.A,{edge:"end",onClick:()=>{d({component:TD,props:{page:y}})},size:"small"},void 0,(0,o.A)(HD,{color:"secondary",badgeContent:p,max:99},void 0,qD||(qD=(0,o.A)(J_.A,{})))))}})),(0,o.A)(no.Ay,{item:!0,sm:6,xs:12,sx:{pl:{xs:0,sm:2}}},void 0,(0,o.A)(W.A,{direction:"row",spacing:1,justifyContent:"space-between",alignItems:"center"},void 0,(0,o.A)(g.A,{},void 0,(0,o.A)(co.A,{state:v,setState:e=>{c((0,AD.J3)()),c((0,AD.Fb)(e)),(0,vo.xo)(e);const{categories:t}=window,i=(0,vo.$3)(t,e);c((0,JE.Lz)(i))}})),(0,o.A)(g.A,{},void 0,B?.results&&(0,o.A)(RD,{sort:A,setSort:e=>{x(!0),c((0,AD.d1)(e))},hideLabel:w})))))),(0,o.A)(UD.A.Provider,{value:j},void 0,U&&(0,o.A)(g.A,{sx:{maxWidth:"1050px",margin:"0 auto"}},void 0,BD||(BD=(0,o.A)(dN.A,{}))),!U&&0===B?.results?.length&&(0,o.A)(g.A,{sx:{maxWidth:"1050px",margin:"0 auto"}},void 0,zD||(zD=(0,o.A)($D.A,{}))),B?.results&&(0,o.A)(g.A,{sx:{maxWidth:"1050px",margin:"0 auto"}},void 0,G(B.results)),l[r]&&a.createElement(a.Fragment,null,(0,o.A)(YD,{},void 0,(0,o.A)(vD,{value:QD(r),onChange:(e,t)=>
1{const i=["recent_additions","top_sellers_last_7","most_liked_last_30"][t]||"recent_additions";window.location.hash=i,f(1),n(i)},"aria-label":"Goody Sort Tabs"},void 0,(0,o.A)(xm.A,{label:"New Goodies",sx:{flex:1}}),(0,o.A)(xm.A,{label:"Top Goodies",sx:{flex:1}}),(0,o.A)(xm.A,{label:"Most Liked",sx:{flex:1}}))),(0,o.A)(g.A,{display:"flex",justifyContent:"center",sx:{maxWidth:"1050px",margin:"0 auto"}},void 0,(0,o.A)(VD,{value:QD(r),index:0},void 0,l.recent_additions&&G(l.recent_additions.carousels[0].results)),(0,o.A)(VD,{value:QD(r),index:1},void 0,l.top_sellers_last_7&&G(l.top_sellers_last_7.carousels[0].results)),(0,o.A)(VD,{value:QD(r),index:2},void 0,l.most_liked_last_30&&G(l.most_liked_last_30.carousels[0].results)))))))};try{ZD.displayName="GoodySearchContainer"}catch(e){}const KD=ZD;var XD;const JD=({type:e,closeDialog:t})=>{const[i,r]=(0,a.useState)(""),[l,d]=(0,a.useState)(null),c=(0,n.Zp)(),[u]=(0,s.ok)(),m=u.get("status"),[p,{data:h,error:v}]=(0,k.h$)(),{executeRecaptcha:A,recaptchaComponent:y}=RS(),f=/^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i,b=l||v?.data?.error;(0,a.useEffect)(()=>{if(h){let e="/login";switch(h.redirectTo){case"verify_payer_id":e="verify_account?type=payer_id";break;case"verify_card":e="verify_account?type=card";break;case"reset_password_complete":e="reset_password_complete";break;default:e="login"}c(e)}},[h]);const w=m&&("expired"===m?"Sorry, but your request has been expired. Please request your password once again.":"Sorry, but your account is inactive. Please contact the administrator.");return(0,o.A)("div",{style:{display:"flex",flexDirection:"column",flex:"1 1 auto",minHeight:0,overflow:"hidden"}},void 0,(0,o.A)(MS,{},void 0,(0,o.A)(M.A,{"aria-label":"close",onClick:()=>{window.location.href="/login"},sx:{color:e=>e.palette.grey[500]}},void 0,XD||(XD=(0,o.A)(FS.A,{})))),(0,o.A)(Ys.A,{sx:{overflowY:"auto",WebkitOverflowScrolling:"touch"}},void 0,(0,o.A)(g.A,{sx:{maxWidth:"450px",margin:"0 auto"}},void 0,(0,o.A)(W.A,{direction:"column",spacing:3,justifyContent:"center",alignItems:"center",mb:3},void 0,(0,o.A)("a",{href:"/"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg//niteflirt-logo.svg",alt:"NiteFlirt",style:{width:"180px"}})),(0,o.A)(O.A,{variant:"h3"},void 0,"Forgot Password"),w&&(0,o.A)(O.A,{variant:"body1",style:{color:"#d32f2f"}},void 0,w),(0,o.A)(O.A,{variant:"body1",align:"center"},void 0,"We will send you an email with instructions on how to reset your password.")),b&&(0,o.A)(W.A,{mb:3},void 0,(0,o.A)(O.A,{variant:"body3",style:{color:"#d32f2f"}},void 0,(0,o.A)("div",{dangerouslySetInnerHTML:{__html:b}}))),(0,o.A)(W.A,{direction:"column",spacing:3},void 0,(0,o.A)(IS.A,{name:"email",label:"Email Address",type:"email",value:i,setValue:r,onKeyPress:e=>{"Enter"===e.key&&A()}}),(0,o.A)(W.A,{direction:"row",justifyContent:"center",mb:3,mt:2},void 0,(0,o.A)(E.A,{variant:"contained",size:"large",fullWidth:!0,onClick:A,disabled:!i},void 0,"Send"))),y(e=>{var t;t=e,i.match(f)?p({email:i,recaptcha_token:t}):d("Please enter a valid email address.")},()=>{d("There was an error with the reCAPTCHA. Please try again.")}),(0,o.A)(g.A,{sx:{height:"300px","@media (min-width: 901px)":{display:"none"}}}))))};try{JD.displayName="ForgotPasswordDialog"}catch(e){}const eR=JD,tR=()=>{const{openDialog:e}=(0,a.useContext)(la.A),t=()=>{history.back()};return(0,a.useEffect)(()=>{e({component:eR,props:{closeDialog:t,hideCancel:!0}})},[]),null};var iR,oR;const aR=()=>(0,o.A)(Ys.A,{},void 0,(0,o.A)(W.A,{direction:"column",spacing:3,justifyContent:"center",alignItems:"center",mb:3},void 0,(0,o.A)("a",{href:"/"},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg//niteflirt-logo.svg",alt:"NiteFlirt",style:{width:"180px"}})),iR||(iR=(0,o.A)(O.A,{variant:"h3"},void 0,"Email Sent")),oR||(oR=(0,o.A)(O.A,{variant:"body1",align:"center"},void 0,"Thank You! If we have this email on file, we will email instructions to reset your password."))),(0,o.A)(W.A,{direction:"column",spacing:3},void 0,(0,o.A)(E.A,{variant:"outlined",size:"large",fullWidth:!0,onClick:()=>(0,jS.g)("login")},void 0,"Back to Sign In")));try{aR.displayName="ResetPasswordCompleteDialog"}catch(e){}const rR=aR,nR=()=>{const{openDialog:e}=(0,a.useContext)(la.A);return(0,a.useEffect)(()=>{e({component:rR,props:{hideCancel:!0}})},[]),null};var sR,lR,dR,cR,uR,mR,pR,hR,gR,vR,AR=i(97821),yR=i(39658),fR=i(18292),bR=i(73050),wR=i(97536),xR=i(34189),CR=i(84099);function kR(e,t,i,{handlesLoginRedirect:o=!1}={}){const r=e?.isOwnedByViewer,l=e?.blocked,[d,c]=(0,a.useState)(!1),{openDialog:u}=(0,a.useContext)(la.A),p=(0,m.wA)(),h=(0,n.Zp)(),[g,v]=(0,s.ok)(),A=window.location.pathname+window.location.search,[y,{isSuccess:f}]=(0,k.Ty)(),[b]=(0,k.Cf)(),w=g.get("send_tribute"),x=g.get("favorite"),{data:C}=(0,k.i$)({login:e?.login},{skip:!e}),S=e=>p((0,xe.s4)({message:e,severity:"error"})),_=()=>p((0,xe.s4)({message:"We’re sorry, this Flirt has blocked you.",severity:"error"})),N=()=>{i(),u({component:da.A,props:{advisorLogin:e.login}})},P=async()=>{(0,Zx.q)({currentUser:t,action:async()=>{await y({listing:e.id})},returnUrl:`${A}&favorite=true`})()};return(0,a.useEffect)(()=>{f&&p((0,k.Xx)([{type:k.G4,id:e.id}]))},[f]),(0,a.useEffect)(()=>{o&&"true"===w&&(g.delete("listing_id"),g.delete("send_tribute"),v(g),c(!0))},[w,o]),(0,a.useEffect)(()=>{d&&(N(),c(!1))},[d]),(0,a.useEffect)(()=>{o&&"true"===x&&(g.delete("favorite"),v(g),P())},[x,o]),{goodyBagsPresentResult:C,handleFavoriteClick:()=>{l?_():r?S("We’re sorry, you cannot favorite yourself."):e.isFavoriteForViewer?(async()=>{(0,Zx.q)({currentUser:t,action:async()=>{await b({listings:[e.id]})},returnUrl:A})()})():P()},onSendTributeClick:()=>{l?_():r?S("We’re sorry, you cannot send a tribute to yourself."):(0,Zx.q)({currentUser:t,action:N,returnUrl:`${A}&send_tribute=true`})()},onSendMailClick:()=>
1{if(l)return void _();const i=`/messages/compose?message[recipients_list]=${e.login}&return_to=${A}`;(0,Zx.q)({currentUser:t,action:()=>{window.location=i},returnUrl:i})()},onGoodiesClick:()=>{r||!l?h(`/${e.login}/goodies`):_()},onChatClick:()=>{if(l)return void _();if(r)return void S("We’re sorry, you cannot chat with yourself.");const i=`/chat/${e.advisorSlug}`;(0,Zx.q)({currentUser:t,action:()=>{window.location=i},returnUrl:i})()}}}const SR=(0,Re.Ay)("div")(({theme:e})=>({display:"flex",flexDirection:"column",gap:12,"& img, & svg":{height:20,width:20,cursor:"pointer",color:"#500e64",[e.breakpoints.up("md")]:{height:16,width:16}},"& svg.filled":{color:"#500e64"},"& .big-icon":{width:24,height:24,[e.breakpoints.up("md")]:{height:20,width:20}}})),_R=({listing:e,closeDrawer:t,currentUser:i=null})=>{const{goodyBagsPresentResult:a,handleFavoriteClick:r,onSendTributeClick:n,onSendMailClick:s,onGoodiesClick:l,onChatClick:d}=kR(e,i,t,{handlesLoginRedirect:!0});return(0,o.A)(SR,{sx:{pl:2},"data-test-id":"listing-details-menu-links"},void 0,(0,o.A)(W.A,{direction:"row",spacing:.75,onClick:r,sx:{alignItems:"center",textDecoration:"none",color:e.isFavoriteForViewer?"inherit":"var(--link_color)",cursor:"pointer"},"data-test-id":"favorite-listing-link"},void 0,e.isFavoriteForViewer?sR||(sR=(0,o.A)(CR.A,{className:"filled big-icon",titleAccess:"Favorited","data-test-id":"favorite-icon"})):lR||(lR=(0,o.A)(xR.A,{className:"big-icon",titleAccess:"Add to Favorites","data-test-id":"favorite-border-icon"})),(0,o.A)(O.A,{variant:"body3","data-test-id":"favorite-text"},void 0,e.isFavoriteForViewer?"Favorited":"Add to Favorites")),(0,o.A)(W.A,{direction:"row",spacing:1,onClick:n,sx:{alignItems:"center",textDecoration:"none",color:"var(--link_color)",cursor:"pointer"},"data-test-id":"send-tribute-link"},void 0,dR||(dR=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-tribute.svg",alt:"Tribute","data-test-id":"tribute-icon"})),cR||(cR=(0,o.A)(O.A,{variant:"body3","data-test-id":"tribute-text"},void 0,"Send a Tribute"))),(0,o.A)(W.A,{direction:"row",spacing:1,onClick:s,sx:{alignItems:"center",textDecoration:"none",color:"var(--link_color)",cursor:"pointer"},"data-test-id":"send-mail-link"},void 0,uR||(uR=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-mail.svg",alt:"Mail","data-test-id":"mail-icon"})),mR||(mR=(0,o.A)(O.A,{variant:"body3","data-test-id":"mail-text"},void 0,"Send Mail"))),a?.goody_bags_present&&(0,o.A)(W.A,{direction:"row",spacing:1,onClick:l,sx:{alignItems:"center",textDecoration:"none",color:"var(--link_color)",cursor:"pointer"},"data-test-id":"view-goodies-link"},void 0,pR||(pR=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-goodies2.svg",alt:"Goodies","data-test-id":"goodies-icon"})),hR||(hR=(0,o.A)(O.A,{variant:"body3","data-test-id":"goodies-text"},void 0,"View Goodies"))),e.chat_eligible&&(0,o.A)(W.A,{direction:"row",spacing:1,onClick:e.show_chat_link?d:void 0,"aria-disabled":!e.show_chat_link,sx:{alignItems:"center",textDecoration:"none",color:"var(--link_color)",cursor:e.show_chat_link?"pointer":"default",opacity:e.show_chat_link?1:.4,pointerEvents:e.show_chat_link?"auto":"none"},"data-test-id":"chat-link"},void 0,gR||(gR=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-chat.svg",alt:"Chat","data-test-id":"chat-icon"})),vR||(vR=(0,o.A)(O.A,{variant:"body3","data-test-id":"chat-text"},void 0,"Chat"))))};try{_R.displayName="ListingDetailsMenuLinks"}catch(e){}const NR=_R;var PR,TR,FR,IR,ER,MR;const OR=(0,Re.Ay)("div")(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center","& img, & svg":{height:20,width:20,cursor:"pointer",color:"#500e64",[e.breakpoints.up("md")]:{height:16,width:16}},"& svg.filled":{color:"#500e64"},"& .big-icon":{width:24,height:24,[e.breakpoints.up("md")]:{height:20,width:20}}})),DR=({listing:e,closeDrawer:t,currentUser:i=null})=>{const{goodyBagsPresentResult:a,handleFavoriteClick:r,onSendTributeClick:n,onSendMailClick:s,onGoodiesClick:l,onChatClick:d}=kR(e,i,t);return(0,o.A)(OR,{sx:{mt:2,gap:2,flexDirection:"row",alignItems:"center"},"data-test-id":"listing-details-menu-icons"},void 0,(0,o.A)(g.A,{component:"button",onClick:r,sx:{p:0,m:0,background:"none",border:"none",cursor:"pointer",display:"flex",alignItems:"center"},"data-test-id":"favorite-button"},void 0,e.isFavoriteForViewer?PR||(PR=(0,o.A)(CR.A,{className:"filled big-icon",titleAccess:"Favorite","data-test-id":"favorite-icon"})):TR||(TR=(0,o.A)(xR.A,{className:"big-icon",titleAccess:"Add to Favorites","data-test-id":"favorite-border-icon"}))),(0,o.A)(g.A,{component:"button",onClick:n,sx:{p:0,m:0,background:"none",border:"none",cursor:"pointer"},"data-test-id":"tribute-button"},void 0,FR||(FR=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-tribute.svg",title:"Tribute",alt:"Tribute"}))),(0,o.A)(g.A,{component:"button",onClick:s,sx:{p:0,m:0,background:"none",border:"none",cursor:"pointer"},"data-test-id":"mail-button"},void 0,IR||(IR=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-mail.svg",title:"Mail",alt:"Mail"}))),a?.goody_bags_present&&(0,o.A)(g.A,{component:"button",onClick:l,sx:{p:0,m:0,background:"none",border:"none",cursor:"pointer"},"data-test-id":"goodies-button"},void 0,ER||(ER=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-goodies2.svg",title:"Goodies",alt:"Goodies"}))),e.chat_eligible&&(0,o.A)(g.A,{component:"button",onClick:e.show_chat_link?d:void 0,disabled:!e.show_chat_link,sx:{p:0,m:0,background:"none",border:"none",cursor:e.show_chat_link?"pointer":"default",opacity:e.show_chat_link?1:.4}
1,"data-test-id":"chat-button"},void 0,MR||(MR=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-chat.svg",title:"Chat",alt:"Chat"}))))};try{DR.displayName="ListingDetailsMenuIcons"}catch(e){}const RR=DR;var LR,jR=i(95412),qR=i(37699);const BR=({toggleTip:e,tipOpen:t,setButtonRef:i,setTipContentRef:r,listing:n,voicePortalPhoneNumber:s,currentUser:l=null})=>{const d="5px";return(0,o.A)(Ot.A,{content:a.createElement("div",{ref:r,className:"nfp-tooltip",style:{width:"300px"}},(0,o.A)(no.Ay,{container:!0,alignItems:"flex-start"},void 0,(0,o.A)(no.Ay,{item:!0,xs:11},void 0,(0,o.A)(O.A,{variant:"h4",mb:1,mt:1.2},void 0,"Call ",n.login," anytime:")),(0,o.A)(no.Ay,{item:!0,xs:1,sx:{display:"flex",justifyContent:"flex-end",alignItems:"flex-start"}},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:e},void 0,(0,o.A)(g.A,{sx:{px:.5,mr:-1}},void 0,LR||(LR=(0,o.A)("img",{src:"/plus_frontend/assets/svg/x-close.svg",alt:"close"})))))),(0,o.A)("ol",{style:{paddingInlineStart:"20px",fontSize:"0.938em"}},void 0,(0,o.A)("li",{style:{marginBottom:d}},void 0,"Dial ",s," (1-800-TO-FLIRT)"),(0,o.A)("li",{style:{marginBottom:d}},void 0,"Enter ",n.login,"'s extension: ",n.serviceExtension),(0,o.A)("li",{style:{marginBottom:d}},void 0,"Enter your PIN",l?.pin?`: ${l.pin}`:""),(0,o.A)("li",{style:{marginBottom:d}},void 0,"Enter your phone number"),(0,o.A)("li",{style:{marginBottom:d}},void 0,"Enjoy your call!"))),isOpen:t,tagName:"span",direction:"down",forceDirection:!0},void 0,a.createElement(M.A,{onClick:e,ref:i,sx:{p:.5}},(0,o.A)(qR.A,{sx:{fontSize:"0.875em"}})))};try{BR.displayName="ListingCallMeTooltip"}catch(e){}const zR=(0,Dt.A)(BR);i(89330);var UR=i(44459),$R=i(24766),WR=i(3037);const GR=({listing:e})=>{const[t,i]=(0,a.useState)(null),[r,n]=(0,a.useState)(!1),{openDialog:s}=(0,a.useContext)(la.A),l=(0,x.u)("MY_LISTINGS_22963")&&!at.A.hasCookie("my_listings_22963_off"),d=(0,KE.oX)()&&(0,KE.iq)(e),c=()=>{i(null)};return a.createElement(a.Fragment,null,(0,o.A)("a",{onClick:e=>{e.preventDefault(),i(e.currentTarget)},role:"button",tabIndex:0,style:{cursor:"pointer"}},void 0,(0,o.A)(od.A,{sx:{color:"var(--color_gray_nine)",mt:1,display:"inline-block"},"data-test-id":"kebab-menu-icon"})),(0,o.A)(ed.A,{id:"basic-menu",anchorEl:t,open:Boolean(t),onClose:c,"data-test-id":"menu-popover"},void 0,(0,o.A)(td.A,{onClick:()=>{window.location=l?`/account/my_listings/${e.id}/edit`:`/listings/${e.slug}/edit`},"data-test-id":"edit-menu-item"},void 0,"Edit"),d?(0,o.A)(td.A,{onClick:()=>{c(),s({component:$R.A,props:{listingId:e.id}})},"data-test-id":"get-cam-button-menu-item"},void 0,"Get Cam Button"):(0,o.A)(td.A,{onClick:()=>{c(),l?s({component:UR.A,props:{listingId:e.id}}):window.location=`/documents/my_call_button?listing_id=${e.id}`},"data-test-id":"get-call-button-menu-item"},void 0,"Get Call Button"),!d&&(0,o.A)(td.A,{onClick:()=>{c(),l?n(!0):window.location=`/listings/${e.slug}/record_greeting`},"data-test-id":"record-greeting-menu-item"},void 0,"Record Greeting"),(0,o.A)(td.A,{onClick:()=>{window.location="https://support.niteflirt.com/hc/en-us/articles/212830688-NiteFlirt-Rules"},"data-test-id":"view-policies-menu-item"},void 0,"View Policies")),(0,o.A)(WR.A,{open:r,onClose:()=>{n(!1)},listing:e}))};try{GR.displayName="ListingOwnerDetailKebabMenu"}catch(e){}const HR=GR;var YR=i(64487);const VR=({feedback:e,currentUser:t=null})=>{const[i,r]=(0,a.useState)(!1);return(0,o.A)(YR.A,{sx:{mx:{xs:1,sm:4},mb:2,p:{xs:2,sm:3},fontSize:"0.875em"},elevation:0,"data-test-id":"listing-feedback-card"},void 0,(0,o.A)(no.Ay,{container:!0},void 0,(0,o.A)(no.Ay,{item:!0,xs:8,sx:{display:"flex",alignItems:"center"}},void 0,(0,o.A)(Gk.A,{value:e.rating,precision:.1,readOnly:!0,size:"small",sx:{verticalAlign:"middle"}}),(0,o.A)(O.A,{variant:"body2",sx:{ml:1.5,color:"var(--color_gray_nine)"},"data-test-id":"feedback-author",className:"ellipsis"},void 0,((e,t)=>t?e:`${e.charAt(0)}...${e.charAt(e.length-1)}`)(e.created_by,t))),(0,o.A)(no.Ay,{item:!0,xs:4,textAlign:"right","data-test-id":"feedback-timestamp"},void 0,(0,o.A)(O.A,{variant:"body2",sx:{color:"var(--color_gray_nine)"}},void 0,(0,Ks.zO)(e.object_created_at||e.created_at,t?.canonical_iana_timezone,"LLL d yyyy"))),!e.text_blocked&&(0,o.A)(no.Ay,{item:!0,xs:12,pt:1.3,sx:{overflow:"hidden"}},void 0,(0,o.A)(O.A,{variant:"body2","data-test-id":"feedback-comment"},void 0,((e,t)=>e&&""!==e?t||e.length<=80?e:`${e.substring(0,80)}
1...`:"")(e.comment,i)),(0,o.A)(O.A,{variant:"body2"},void 0,(0,o.A)(Ws.A,{onClick:()=>r(!i),role:"link",tabIndex:0,"data-test-id":"show-more-link"},void 0,e.comment?.length>80&&(e.comment&&""!==e.comment?i?"See less":"See more":""))))))};try{VR.displayName="ListingFeedbackCard"}catch(e){}const QR=VR;var ZR,KR;const XR=({listing:e,listingFeedbacks:t,handleSortChange:i,sorts:r,activeSort:n,page:s,pageCount:l,onPageChange:d,currentUser:c})=>e&&t?((0,a.useEffect)(()=>{const e=document.querySelector(".MuiDrawer-paperAnchorBottom");e&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches?e.scrollTop=0:((e,t=250)=>{const i=e,o=i.scrollTop,a=performance.now(),r=e=>{const n=e-a,s=Math.min(n/t,1),l=1-(1-s)**3;i.scrollTop=o*(1-l),s<1&&requestAnimationFrame(r)};requestAnimationFrame(r)})(e))},[s]),(0,o.A)(g.A,{"data-test-id":"listing-feedback-content"},void 0,(0,o.A)(g.A,{sx:{mx:{xs:1,sm:4},my:2}},void 0,(0,o.A)(no.Ay,{container:!0,"data-test-id":"listing-feedback-header"},void 0,(0,o.A)(no.Ay,{item:!0,xs:5,"data-test-id":"rating-and-feedback-count"},void 0,ZR||(ZR=(0,o.A)(O.A,{variant:"body2",display:"inline",mr:1.5},void 0,"Rating:")),(0,o.A)(Gk.A,{value:e.rating,precision:.1,readOnly:!0,size:"small",sx:{verticalAlign:"middle",mt:-.5}}),(0,o.A)(O.A,{variant:"body2"},void 0,`(${e.feedbackCount} ${1===e.feedbackCount?"Review)":"Reviews)"}`)),(0,o.A)(no.Ay,{item:!0,xs:5,"data-test-id":"rating-points"},void 0,(0,o.A)(O.A,{variant:"body2"},void 0,"Rating Points: ",e.totalRatings),KR||(KR=(0,o.A)(O.A,{variant:"body3"},void 0,(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/articles/212830298-Giving-Ratings-Leaving-Feedback",target:"_blank",rel:"noopener noreferrer"},void 0,"Learn more")))),(0,o.A)(no.Ay,{item:!0,xs:2,style:{display:"flex",justifyContent:"flex-end"}},void 0,(0,o.A)(AE.A,{sorts:r,activeSort:n,handleSortChange:i})))),(0,o.A)(g.A,{},void 0,(0,o.A)(IC.A,{top:300,arrowStyles:{prev:{left:{xs:-40,sm:-30},top:20},next:{right:{xs:-30,sm:-20},top:20}}},void 0,l>1&&(0,o.A)(EC.A,{page:s,hasNext:s<l,onChange:d})),t.map(e=>(0,o.A)(QR,{feedback:e,currentUser:c},e.id))))):null;try{XR.displayName="ListingFeedbackContent"}catch(e){}const JR=XR;var eL;const tL=[{value:0,label:"Most Recent with Comments"},{value:1,label:"Most Recent"}],iL=({listing:e,currentUser:t})=>{const i=e?.id,[r,n]=(0,a.useState)(0),[s,l]=(0,a.useState)(1),d=0===r,{data:c,isLoading:u}=(0,k.Oy)(i?{id:i,commentSort:d,page:s}:h.hT),m=tL,p=c?.totalCount?Math.ceil(c.totalCount/20):0;return u?eL||(eL=(0,o.A)("div",{},void 0,"Loading feedback…")):(0,o.A)(JR,{listing:e,listingFeedbacks:c?.feedbacks||[],sorts:m,activeSort:r,page:s,pageCount:p,onPageChange:(e,t)=>
1{l(t)},handleSortChange:e=>{n(e.value),l(1)},currentUser:t})};try{iL.displayName="ListingFeedbackTabContainer"}catch(e){}const oL=iL;var aL,rL,nL;const sL=({open:e,onClose:t,listing:i=null,onReportListingClick:r,currentUser:n=null,onImageClick:l,voicePortalPhoneNumber:d,isOwnedByViewer:c=!1})=>{const{data:u}=(0,k.zg)(),m=u?.connectionCharge??0,p=(0,x.u)("CAM_P2_24464"),h=(0,x.u)("CAM_MINIMUM_SPEND_25438"),v=(0,x.u)("CAM_AVAILABILITY_26962"),A=(0,x.u)("CHAT_STATUSES_25793"),y=p&&(0,KE.iq)(i||{}),f=y&&!i?.recorded,b=(0,a.useMemo)(()=>(0,jR.nf)(i||{}),[i]),[w,C]=(0,a.useState)(0),[S]=(0,s.ok)(),_=S.get("tab");(0,a.useEffect)(()=>{C(e&&"1"===_?1:0)},[e,_]);const N=(0,a.useMemo)(()=>({__html:i?.description||""}),[i?.description]),P=(0,a.useMemo)(()=>({__html:i?.breadcrumbs||""}),[i?.breadcrumbs]);return(0,o.A)(AR.Ay,{open:e,onClose:t,anchor:"bottom",keepMounted:!1,"data-test-id":"listing-detail-drawer",PaperProps:{sx:{margin:"0 auto",borderTopLeftRadius:6,borderTopRightRadius:6,width:{xs:"100%",sm:850},top:40}}},void 0,i&&(0,o.A)(g.A,{sx:{width:{xs:"100vw"},maxWidth:{xs:"100vw",sm:"850px"}}},void 0,(0,o.A)(bR.A,{closeDrawer:t,headerCopy:"Listing Details"}),(0,o.A)(g.A,{sx:{backgroundColor:"#500e64",color:"white",p:1,a:{color:"white"},fontSize:"0.875em"},dangerouslySetInnerHTML:P,"data-test-id":"breadcrumbs"}),c&&(0,o.A)(wR.A,{statusName:b.statusName,statusLabel:b.label,rejectionReason:b.rejectionReason,rejectionComment:b.rejectionComment}),(0,o.A)(g.A,{sx:{p:2,pb:0,backgroundColor:"var(--body_background)"}},void 0,(0,o.A)(no.Ay,{container:!0},void 0,(0,o.A)(no.Ay,{item:!0,xs:11.5},void 0,(0,o.A)(W.A,{direction:"row",sx:{display:"flex",alignItems:"baseline"}},void 0,(0,o.A)(s.N_,{to:`/${i.login}`,sx:{mb:.5},"data-test-id":"advisor-login"},void 0,(0,o.A)(O.A,{variant:"h5"},void 0,i.login)),(0,o.A)(g.A,{sx:{mx:1}},void 0,"|"),(0,o.A)(s.N_,{to:`/${i.login}`,"data-test-id":"go-deeper-link"},void 0,aL||(aL=(0,o.A)(O.A,{variant:"body3"},void 0,"Go Deeper >")))),(0,o.A)(O.A,{variant:"body1","data-test-id":"listing-title"},void 0,i.title)),(0,o.A)(no.Ay,{item:!0,xs:.5,sx:{textAlign:"right"}},void 0,c&&(0,o.A)(HR,{listing:i})))),(0,o.A)(g.A,{sx:{p:2,backgroundColor:"var(--body_background)"}},void 0,(0,o.A)(no.Ay,{container:!0,sx:{justifyContent:"center"}},void 0,(0,o.A)(no.Ay,{item:!0,md:3,sm:3,xs:4},void 0,(0,o.A)(W.A,{direction:"column",sx:{alignItems:"center"}},void 0,(0,o.A)(g.A,{sx:{position:"relative",width:"100px",height:"130px",display:"flex",justifyContent:"center"}},void 0,(0,o.A)("a",{onClick:l,role:"link",tabIndex:0,"data-test-id":"listing-image-box"},void 0,(0,o.A)(yR.A,{sx:{width:"100%",height:"100%"}},void 0,(0,o.A)("img",{loading:"lazy",style:{width:"100%",height:"100%",objectFit:"contain",cursor:"pointer"},src:i.photoUrl,alt:i.login}))),(0,o.A)(WS.A,{imageUrl:i.photoUrl,style:{zIndex:0,width:"100%",height:"100%"},"data-test-id":"listing-image-blur"})),(0,o.A)(W.A,{direction:"column",sx:{mt:1,alignItems:"center"}},void 0,(0,o.A)(g.A,{component:"a",onClick:()=>C(1),role:"link",tabIndex:0,sx:{display:"flex",flexDirection:{xs:"column",md:"row"},alignItems:"center"}},void 0,(0,o.A)(Gk.A,{value:i.rating,precision:.5,readOnly:!0,size:"small",sx:{verticalAlign:"middle"},"data-test-id":"rating"}),(0,o.A)(O.A,{variant:"body3",sx:{mt:{xs:.4,md:0},ml:{xs:0,md:1},color:"var(--link_color)",textAlign:"center"},"data-test-id":"total-ratings"},void 0,"(",i.totalRatings,")"))))),(0,o.A)(no.Ay,{item:!0,md:5,sm:3,xs:8,"data-test-id":"listing-info"},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexDirection:"column",alignItems:"center"}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexDirection:"column",alignItems:"center",mb:2}},void 0,(0,KE.LB)({listing:i,currentUser:n,camFeatureEnabled:p,chatStatusesEnabled:A}),(0,KE.k9)({listing:i,camFeatureEnabled:p,camAvailabilityEnabled:v,chatStatusesEnabled:A}),(0,o.A)(O.A,{variant:"body3",sx:{mt:.5},"data-test-id":"listing-price"},void 0,(0,kc.zQ)(f?i.camPricePerMinute??0:(i.pricePerMinute_1??0)+m)," ",(0,o.A)("span",{style:{color:"var(--color_gray_nine)"}},void 0,"per min.")),p&&h&&(0,KE.ms)(i.listingCategoryPath)&&(0,o.A)(O.A,{variant:"body3",sx:{mt:.25},"data-test-id":"listing-cam-minimum-spend"},void 0,(0,kc.zQ)((i.camPricePerMinute??0)*(i.camMinimumMinutes??1))," ",(0,o.A)("span",{style:{color:"var(--color_gray_nine)"}},void 0,"cam min. spend"))),!y&&(0,o.A)(W.A,{direction:"row","data-test-id":"
1call-stack"},void 0,(0,o.A)(W.A,{direction:"column",spacing:.5,sx:{mr:1}},void 0,rL||(rL=(0,o.A)(O.A,{variant:"body3","data-test-id":"call-me-label"},void 0,"Call me directly")),(0,o.A)(O.A,{variant:"body3","data-test-id":"voice-portal-phone-number"},void 0,(0,o.A)("a",{href:`tel:${d}`},void 0,d)),(0,o.A)(O.A,{variant:"body3","data-test-id":"service-extension"},void 0,"ext:"," ",i.serviceExtension)),(0,o.A)(zR,{listing:i,voicePortalPhoneNumber:d,currentUser:n,"data-test-id":"call-me-tooltip"})),(0,o.A)(g.A,{sx:{display:{xs:"block",md:"none"}}},void 0,(0,o.A)(RR,{listing:i,currentUser:n,closeDrawer:t})))),(0,o.A)(no.Ay,{item:!0,md:3,sm:3,sx:{display:{xs:"none",md:"flex"},pl:{xs:0,md:3}}},void 0,(0,o.A)(NR,{listing:i,currentUser:n,closeDrawer:t})))),nL||(nL=(0,o.A)(fR.A,{})),(0,o.A)(g.A,{sx:{borderBottom:"1px solid var(--color_ddd)"}},void 0,(0,o.A)(Cm.A,{value:w,onChange:(e,t)=>C(t),variant:"fullWidth",textColor:"primary",indicatorColor:"primary",centered:!0,"data-test-id":"listing-detail-tabs"},void 0,(0,o.A)(xm.A,{label:"Details",sx:{maxWidth:150,width:"100%",display:"flex",justifyContent:"center"},"data-test-id":"details-tab"}),(0,o.A)(xm.A,{label:"Feedback",sx:{maxWidth:150,width:"100%",display:"flex",justifyContent:"center"},"data-test-id":"feedback-tab"}))),0===w&&(0,o.A)(g.A,{sx:{p:2,backgroundColor:"var(--body_background)",flexGrow:1},"data-test-id":"listing-description"},void 0,(0,o.A)(g.A,{sx:{"font:not(font font)":{fontSize:"calc(100% / 1.02)"},'font[size="1"]:not(font font)':{fontSize:"calc(0.75em / 1.02) !important"},'font[size="2"]:not(font font)':{fontSize:"calc(0.875em / 1.02) !important"},'font[size="3"]:not(font font)':{fontSize:"calc(1em / 1.02) !important"},'font[size="4"]:not(font font)':{fontSize:"calc(1.125em / 1.02) !important"},'font[size="5"]:not(font font)':{fontSize:"calc(1.25em / 1.02) !important"},'font[size="6"]:not(font font)':{fontSize:"calc(1.5em / 1.02) !important"},'font[size="7"]:not(font font), font[size="8"]:not(font font)':{fontSize:"calc(2em / 1.02) !important"},'span[style*="font-size"], div[style*="font-size"], p[style*="font-size"], h1, h2, h3, h4, h5, h6':{fontSize:"calc(100% / 1.02) !important"},"table, table thead, table th, table tbody, table td, table tr, div, center":{width:"auto !important",height:"auto !important",maxWidth:"calc(100vw - 20px)"},img:{maxWidth:"100%",height:"auto"}},dangerouslySetInnerHTML:N})),1===w&&(0,o.A)(g.A,{sx:{p:2}},void 0,(0,o.A)(oL,{listing:i,currentUser:n})),n&&(0,o.A)(g.A,{sx:{p:1,pr:2,textAlign:"right"}},void 0,(0,o.A)(O.A,{variant:"body3"},void 0,(0,o.A)("a",{onClick:r,role:"link",tabIndex:0},void 0,"Report")))))};try{sL.displayName="ListingDetailDrawer"}catch(e){}const lL=sL;var dL=i(72213);const cL=(0,a.lazy)(()=>Promise.all([i.e(428),i.e(418),i.e(339)]).then(i.bind(i,86339))),uL=()=>{const e=(0,n.Zp)(),[t]=(0,s.ok)(),i=parseInt(t.get("listing_id")),{openModal:r}=(0,a.useContext)(bt.A),[l,d]=(0,a.useState)(!1),[c,u]=(0,a.useState)(null),[p,h]=(0,a.useState)(null),[v,A]=(0,k.at)(),{data:y}=A,{data:f}=(0,k.zg)(),b=(0,x.u)("CAM_P2_24464"),w=(0,x.u)("CHAT_STATUSES_25793"),S=f?.currentUser,_=f?.voicePortalPhoneNumber,N=(0,k._$)().data,{subscribe:P,unsubscribe:T,pubNubClient:F}=(0,C.A)(N),I=(0,m.wA)(),E=(0,a.useRef)(()=>{});(0,a.useEffect)(()=>{h(y)},[y]),(0,a.useEffect)(()=>{(e=>{e?(u(window.document.title),window.document.title=`NiteFlirt Phone Sex | ${e.title}`):c&&(window.document.title=c)})(p)},[p]),(0,a.useEffect)(()=>{i?i!==y?.id?v({id:i}):h(y):h(null)},[i]);const M=(0,a.useCallback)(e=>{E.current&&E.current(e)},[]);return(0,a.useEffect)(()=>{E.current=e=>{if(!i)return;const t=e.message.split("<==>"),o=t[0];if(o===ge.G||o===ge.xM){if(o===ge.G){if(!t[1].split(",").includes(String(i)))return}const e=o===ge.G?t[2]:t[1];I(k.Ay.util.updateQueryData("getListing",{id:i},t=>{t&&Object.assign(t,{away:"away"===e,busy:"busy"===e,takingCall:"taking"===e,taking_call:"taking"===e})}))}else I((0,k.Xx)([{type:k.G4,id:i}]))}},[i]),(0,a.useEffect)(()=>{if(y&&F&&!F.dummy)return P(y.push_channel,M),()=>{T(y.push_channel,M)}},[y,F]),(0,o.A)(g.A,{},void 0,(0,o.A)(lL,{open:!!i&&!!p,onClose:()=>{t.delete("listing_id"),e(`${window.location.pathname}?${t.toString()}`,{replace:!0}),h(null)},listing:p,onFeedbackClick:()=>{t.set("listing_id",i),t.set("feedback_listing_id",i),e(`${window.location.pathname}?${t.toString()}`,{replace:!0})},onReportListingClick:()=>{t.delete("listing_id"),e(`${window.location.pathname}?${t.toString()}`,{replace:!0}),r({component:dL.A,props:{contentId:i,contentType:"listing"}})},currentUser:S,onImageClick:()=>{d(!0)},voicePortalPhoneNumber:_,isOwnedByViewer:y?.is_owned_by_viewer}),l&&p&&(0,o.A)(g.A,{},void 0,(0,o.A)(a.Suspense,{fallback:null},void 0,(0,o.A)(cL,{reactModalStyle:{overlay:{zIndex:9e3}},mainSrc:p.photoUrl,onCloseRequest:()=>{d(!1)},imageTitle:p.title,toolbarButtons:[(e=>(0,o.A)(g.A,{sx:{position:"fixed",bottom:"20px",right:"calc(50% - 70px)"}},void 0,(0,KE.LB)({listing:e,currentUser:S,camFeatureEnabled:b,chatStatusesEnabled:w})))(p)]}))))};try{uL.displayName="ListingDetailDrawerContainer"}catch(e){}const mL=uL;var pL;const hL=()=>{const{listingIdAndTitle:e}=(0,n.g)(),t=e.split("-")[0],{data:i,isLoading:a}=(0,k.Qt)({id:t},{skip:!t});return a?null:i?(0,o.A)(n.C5,{to:`/${i.login}?listing_id=${i.id}`}):pL||(pL=(0,o.A)(n.C5,{to:"/"}))};try{hL.displayName="ListingDetailRedirector"}catch(e){}const gL=hL;var vL,AL;const yL=({open:e,onClose:t,listing:i=null,listingFeedbacks:a,handleSortChange:r,sorts:n,activeSort:s,page:l,pageCount:d=0,onPageChange:c,currentUser:u=null})=>i&&a?(0,o.A)(AR.Ay,{open:e,anchor:"right","data-test-id":"listing-feedback-drawer"},void 0,(0,o.A)(g.A,{sx:{width:{xs:"100vw"},maxWidth:{xs:"100vw",sm:"600px"}}},void 0,(0,o.A)(no.Ay,{container:!0,sx:{backgroundColor:"var(--body_background)",padding:"12px",borderBottom:"1px solid var(--color_ccc)"},"data-test-id":"listing-feedback-drawer-header"},void 0,(0,o.A)(no.Ay,{item:!0,xs:1},void 0,(0,o.A)("a",{role:"link",tabIndex:0,onClick:e=>t(e),onKeyDown:e=>t(e)},void 0,vL||(vL=(0,o.A)("img",{src:"/plus_frontend/assets/svg/ico-back-arrow-dark.svg",alt:"Back"})))),AL||(AL=(0,o.A)(no.Ay,{item:!0,xs:11},void 0,(0,o.A)("span",{className:"subhead"},void 0,"Feedback")))),(0,o.A)(JR,{listing:i,listingFeedbacks:a,handleSortChange:r,sorts:n,activeSort:s,page:l,pageCount:d,onPageChange:c,currentUser:u}))):null;try{yL.displayName="ListingFeedbackDrawer"}catch(e){}const fL=yL,bL=({renderMode:e="drawer",listingId:t,currentUser:i})=>{const r=[{value:0,label:"Most Recent with Comments"},{value:1,label:"Most Recent"}],l=(0,n.Zp)(),[d]=(0,s.ok)(),c="drawer"===e?d.get("feedback_listing_id"):t,[u,m]=(0,a.useState)(!0),[p,h]=(0,a.useState)(r[0].value),[g,v]=(0,a.useState)(1),[A,y]=(0,a.useState)(!1),{data:f}=(0,k.Qt)({id:c},{skip:!c}),{data:b,isSuccess:w}=(0,k.Oy)({id:c,commentSort:u,page:g},{skip:!c}),x=w?Math.ceil(b.totalCount/20):0,C=e=>{h(e.value),m(0===e.value),v(1)},S=(e,t)=>{v(t)};if("inline"===e)return w?(0,o.A)(JR,{listing:f,listingFeedbacks:b.feedbacks,sorts:r,activeSort:p,page:g,pageCount:x,onPageChange:S,handleSortChange:C,currentUser:i,onClose:()=>{}}):null;return(0,a.useEffect)(()=>{w&&y(!0)},[w]),(0,a.useEffect)(()=>{c||y(!1)},[c]),w?(0,o.A)(fL,{open:A,onClose:()=>(d.delete("feedback_listing_id"),void l(`${window.location.pathname}?${d.toString()}`)),listing:f,listingFeedbacks:b.feedbacks,sorts:r,activeSort:p,page:g,pageCount:x,onPageChange:S,handleSortChange:C,currentUser:i}):null};try{bL.displayName="ListingFeedbackDrawerContainer"}catch(e){}const wL=bL,xL=(0,Re.Ay)(g.A)(()=>({"&.MuiBox-root":{position:"relative",backgroundColor:"#f9ec9b"}})),CL=()=>{const e=(0,a.useRef)(),[t,i]=(0,a.useState)(!0),r=(0,k.jH)().data,[n]=(0,k.mI)();(0,a.useEffect)(()=>{const i=e.current;if(!i||!t||!r?.content)return;const o=()=>{const e=i.offsetHeight;document.body.style.setProperty("--banner-height",`${e}px`)},a=new ResizeObserver(()=>o());return a.observe(i),o(),document.body.classList.add("super-banner-visible"),()=>{a.disconnect(),document.body.classList.remove("super-banner-visible"),document.body.style.removeProperty("--banner-height")}},[r?.content,t]);const s=()=>{n({code:r.code}),i(!1)};return r?.content?a.createElement(xL,{className:"warning-alert",ref:e},(0,o.A)("div",{style:{margin:"0 auto",maxWidth:"950px"}},void 0,t&&(0,o.A)(kp.A,{severity:"warning",sx:{borderRadius:"0px"},onClose:s},void 0,(0,o.A)("div",{dangerouslySetInnerHTML:{__html:r.content}})))):null};try{CL.displayName="SuperBannerContainer"}catch(e){}const kL=CL;var SL;const _L=({payableBalance:e,totalBalance:t})=>(0,o.A)(g.A,{sx:{mb:3},"data-test-id":"payout-balance-section"},void 0,SL||(SL=(0,o.A)(O.A,{variant:"subtitle1",mb:2,"data-test-id":"balance-section-title"},void 0,"Balance")),(0,o.A)(g.A,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",sm:"minmax(0, max-content) minmax(0, max-content)"},gridTemplateAreas:{xs:'"payableLabel" "payableAmount" "payableDesc" "totalLabel" "totalAmount" "totalDesc"',sm:'"payableLabel totalLabel" "payableAmount totalAmount" "payableDesc totalDesc"'},columnGap:4,rowGap:.5,alignItems:"baseline"}},void 0,(0,o.A)(O.A,{variant:"caption",sx:{gridArea:"payableLabel",color:"var(--color_gray_six)"},"data-test-id":"payable-balance-label"},void 0,"Payable Balance"),(0,o.A)(O.A,{sx:{gridArea:"payableAmount",fontSize:"1.75em",fontWeight:700,color:"var(--body_color)",lineHeight:1.1},"data-test-id":"payable-balance-amount"},void 0,(0,kc.zQ)(e)),(0,o.A)(O.A,{variant:"body2",sx:{gridArea:"payableDesc",fontSize:"0.8125rem",color:"var(--color_gray_six)"},"data-test-id":"payable-balance-description"},void 0,"Money you've earned and is eligible to be paid out."),(0,o.A)(O.A,{variant:"caption",sx:{gridArea:"totalLabel",color:"var(--color_gray_six)",mt:{xs:1.5,sm:0}},"data-test-id":"total-balance-label"},void 0,"Total Balance"),(0,o.A)(O.A,{sx:{gridArea:"totalAmount",fontSize:"1.25em",fontWeight:500,lineHeight:1.3},"data-test-id":"total-balance-amount"},void 0,(0,kc.zQ)(t)),(0,o.A)(O.A,{variant:"body2",sx:{gridArea:"totalDesc",fontSize:"0.8125rem",color:"var(--color_gray_six)"},"data-test-id":"total-balance-description"},void 0,"May include promotional credit or credit card deposits which cannot be paid out.")));try{_L.displayName="Balance"}catch(e){}const NL=_L;var PL,TL,FL;function IL(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function EL(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
1t%2?IL(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):IL(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const ML=({payout:e,setPayout:t,invalidFields:i})=>{const a=i.includes("bank_name"),r=i.includes("account_number"),n=(e=>{if(0===e.length)return!0;const t=[3,7,1,3,7,1,3,7,1];let i=0;e.split("").forEach((e,o)=>{i+=parseInt(e,10)*t[o]});let o=10-i%10;return 10===o&&(o=0),0===o})(e.routingNumber),s=e.accountNumberConfirmation?.length>0&&e.bankAccountNumber!==e.accountNumberConfirmation;return(0,o.A)(W.A,{flex:1,"data-test-id":"bank-account-details-section"},void 0,PL||(PL=(0,o.A)(O.A,{variant:"subtitle1",my:1,"data-test-id":"bank-account-details-title"},void 0,"Bank Account Details")),(0,o.A)(ao.A,{label:"Bank Name",size:"small",value:e.bankName,onChange:i=>t(EL(EL({},e),{},{bankName:i.target.value})),error:a,"data-test-id":"bank-name-input"}),(0,o.A)(aT.A,{"aria-labelledby":"",value:e.accountType,onChange:i=>t(EL(EL({},e),{},{accountType:i.target.value})),name:"radio-buttons-group","data-test-id":"account-type-radiogroup"},void 0,TL||(TL=(0,o.A)(Xd.A,{value:"0",control:(0,o.A)(oT.A,{}),label:"Checkings","data-test-id":"account-type-checking-radio"})),FL||(FL=(0,o.A)(Xd.A,{value:"1",control:(0,o.A)(oT.A,{}),label:"Savings","data-test-id":"account-type-savings-radio"}))),(0,o.A)(W.A,{flex:1,rowGap:2,"data-test-id":"bank-account-numbers-section"},void 0,(0,o.A)(W.A,{flexDirection:"row",alignItems:"center",columnGap:2,"data-test-id":"routing-number-row"},void 0,(0,o.A)("img",{style:{width:15,height:20},src:"/plus_frontend/assets/txn/routing_number_symbol.gif",alt:"routing number"}),(0,o.A)(ao.A,{sx:{flex:1},label:"Routing Number",size:"small",value:e.routingNumber,onChange:i=>t(EL(EL({},e),{},{routingNumber:i.target.value.replace(/\D/g,"")})),autoComplete:"off",autoCorrect:"off",autoSave:"off",error:!n||i.includes("routing_number"),helperText:n?null:"Routing Number is invalid","data-test-id":"routing-number-input"}),(0,o.A)("img",{style:{width:15,height:20},src:"/plus_frontend/assets/txn/routing_number_symbol.gif",alt:"routing number"})),(0,o.A)(W.A,{flexDirection:"row",alignItems:"center",columnGap:2,"data-test-id":"account-number-row"},void 0,(0,o.A)(ao.A,{sx:{flex:1,marginLeft:2.9},label:"Bank Account #",size:"small",type:"password",value:e.bankAccountNumber,onChange:i=>t(EL(EL({},e),{},{bankAccountNumber:i.target.value.replace(/\D/g,"")})),error:r||i.includes("account_number"),"data-test-id":"bank-account-number-input"}),(0,o.A)("img",{style:{width:15,height:20},src:"/plus_frontend/assets/txn/account_number_symbol.gif",alt:"account number"})),(0,o.A)(W.A,{flexDirection:"row",alignItems:"center",columnGap:2,flex:1,"data-test-id":"account-confirmation-row"},void 0,(0,o.A)(ao.A,{sx:{flex:1,marginLeft:2.9},label:"Re-Type Bank Account #",size:"small",type:"password",value:e.accountNumberConfirmation,onChange:i=>t(EL(EL({},e),{},{accountNumberConfirmation:i.target.value.replace(/\D/g,"")})),error:s||i.includes("account_number_confirmation"),"data-test-id":"bank-account-confirmation-input"}),(0,o.A)("img",{style:{width:15,height:20},src:"/plus_frontend/assets/txn/account_number_symbol.gif",alt:"account number"}))))};try{ML.displayName="BankAccountDetails"}catch(e){}const OL=ML;var DL,RL,LL,jL,qL,BL,zL,UL,$L,WL,GL,HL,YL,VL,QL,ZL,KL,XL,JL,ej,tj,ij,oj,aj=i(73743);function rj(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function nj(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?rj(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):rj(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const sj=({payout:e,setPayout:t,onSave:i,canSubmit:r,onCancel:n,invalidFields:s,onboardingVersion:l=!1,userEmail:d})=>{const c=e.email?.length>0&&(u=e.email,!/^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i.test(u));var u;const m=c?"Invalid email format":null;return(0,o.A)(W.A,{direction:"column",spacing:3,sx:{marginTop:3},"data-test-id":"request-payout-section"},void 0,(0,o.A)(O.A,{variant:"subtitle1","data-test-id":"request-payout-title"},void 0,"Request Payout",(0,o.A)(O.A,{variant:"body3",sx:{paddingLeft:2},"data-test-id":"request-payout-learn-more"},void 0,DL||(DL=(0,o.A)("a",{className:"bluelink",href:"https://support.niteflirt.com/hc/en-us/articles/212830838-Flirt-Payout",target:"_blank",rel:"noreferrer"},void 0,"Learn More")))),(0,o.A)(aT.A,{"aria-labelledby":"",value:e.paymentPeriod,onChange:i=>t(nj(nj({},e),{},{paymentPeriod:i.target.value})),name:"radio-buttons-group",sx:{marginTop:"0!important"},"data-test-id":"payout-method-radiogroup"},void 0,RL||(RL=(0,o.A)(Xd.A,{value:"1",control:(0,o.A)(oT.A,{}),label:"Express Pay","data-test-id":"payout-method-express-pay-radio"})),(0,o.A)(g.A,{sx:{mx:4}
1,"data-test-id":"express-pay-details"},void 0,LL||(LL=(0,o.A)(O.A,{variant:"body2","data-test-id":"express-pay-description"},void 0,"Payout is deducted every day.")),"1"===e.paymentPeriod&&(0,o.A)(OL,{payout:e,setPayout:t,invalidFields:s})),jL||(jL=(0,o.A)(Xd.A,{value:"6",control:(0,o.A)(oT.A,{}),label:"Semimonthly transfer to Paxum","data-test-id":"payout-method-paxum-radio"})),(0,o.A)(g.A,{sx:{mx:4},"data-test-id":"paxum-details"},void 0,qL||(qL=(0,o.A)(O.A,{variant:"body2","data-test-id":"paxum-description"},void 0,"Payout is deducted on the 1st and 16th of the month and transferred to your Paxum account. $5 fee applied for each transfer.")),"6"===e.paymentPeriod&&(0,o.A)(W.A,{width:"100%","data-test-id":"paxum-email-container"},void 0,(0,o.A)(ao.A,{sx:{width:{sx:"100%",sm:"50%"},marginTop:"1rem"},label:"Paxum Account Email",size:"small",value:e.email,onChange:i=>t(nj(nj({},e),{},{email:i.target.value})),error:c||s.includes("email"),helperText:m,"data-test-id":"paxum-email-input"}))),BL||(BL=(0,o.A)(Xd.A,{value:"5",control:(0,o.A)(oT.A,{}),label:"Monthly transfer to MassPay","data-test-id":"payout-method-masspay-radio"})),(0,o.A)(g.A,{sx:{mx:4},"data-test-id":"masspay-details"},void 0,zL||(zL=(0,o.A)(O.A,{variant:"body2","data-test-id":"masspay-description"},void 0,"Payout is deducted on the 1st of the month and transferred to your MassPay Account. $5 fee applied.")),"5"===e.paymentPeriod&&a.createElement(a.Fragment,null,UL||(UL=(0,o.A)("br",{})),$L||($L=(0,o.A)(O.A,{variant:"body2","data-test-id":"masspay-description-detail-1"},void 0,"MassPay is a third-party payment service that allows you to be paid in a variety of different ways, from direct bank transfers to crypto currency, in all countries NiteFlirt supports.")),WL||(WL=(0,o.A)("br",{})),GL||(GL=(0,o.A)(O.A,{variant:"body2","data-test-id":"masspay-description-detail-2"},void 0,"By choosing to be paid via MassPay, your funds will be sent to the MassPay account associated with the email address noted below which will allow you to manage and pay for the transfer of your funds. You will receive an email from MassPay after your NiteFlirt payout is sent to MassPay.  ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/articles/212830838-Flirt-Payout#MassPay",target:"_blank",rel:"noreferrer"},void 0,"Learn more"))),HL||(HL=(0,o.A)("br",{})),(0,o.A)(O.A,{variant:"body2","data-test-id":"masspay-email-notice"},void 0,"All correspondences from MassPay will be sent to"," ",e.masspayEmail||d,", the email address that was associated with this NiteFlirt account at the time of your first MassPay payout."))),YL||(YL=(0,o.A)(Xd.A,{value:"2",control:(0,o.A)(oT.A,{}),label:"Monthly Direct Deposit","data-test-id":"payout-method-direct-deposit-radio"})),(0,o.A)(g.A,{sx:{mx:4},"data-test-id":"direct-deposit-details"},void 0,VL||(VL=(0,o.A)(O.A,{variant:"body2","data-test-id":"direct-deposit-description"},void 0,"Payout is deducted on the first of every month.")),"2"===e.paymentPeriod&&(0,o.A)(OL,{payout:e,setPayout:t,invalidFields:s})),QL||(QL=(0,o.A)(Xd.A,{value:"0",control:(0,o.A)(oT.A,{}),label:"Monthly Check","data-test-id":"payout-method-check-radio"})),(0,o.A)(g.A,{sx:{mx:4},"data-test-id":"check-details"},void 0,ZL||(ZL=(0,o.A)(O.A,{variant:"body2","data-test-id":"check-description"},void 0,"Payout is deducted on the first of the month, and a check is mailed to you. $10 fee applied."))),KL||(KL=(0,o.A)(Xd.A,{value:"4",control:(0,o.A)(oT.A,{}),label:"Pause Payout","data-test-id":"payout-method-pause-radio"})),(0,o.A)(g.A,{sx:{mx:4},"data-test-id":"pause-details"},void 0,XL||(XL=(0,o.A)(O.A,{variant:"body2","data-test-id":"pause-description"},void 0,"Payout will not be deducted and funds will remain in your account.")))),JL||(JL=(0,o.A)(O.A,{variant:"subtitle1","data-test-id":"balance-to-keep-title"},void 0,"Balance to keep in account")),(0,o.A)(O.A,{variant:"body2",sx:{marginTop:"0!important"},"data-test-id":"balance-to-keep-description"},void 0,"Enter an amount that will remain in your account after payout is deducted."),(0,o.A)(aj.A,{label:"",value:e.amountLeftInAccount,setValue:i=>t(nj(nj({},e),{},{amountLeftInAccount:i})),min:0,max:99999,width:"15ch",margin:0,boxSx:{marginTop:"0.5rem!important"},"data-test-id":"balance-to-keep-input"}),!l&&(0,o.A)(W.A,{justifyContent:"flex-end",flexDirection:"row","data-test-id":"payout-form-actions"},void 0,(0,o.A)("a",{href:"#",className:"btn secondary btn-cancel",onClick:n,"data-test-id":"payout-cancel-btn"},void 0,"Cancel"),(0,o.A)("button",{type:"button",className:"btn",onClick:r?i:()=>null,disabled:!r,"data-test-id":"payout-save-btn"},void 0,"Save")),ej||(ej=(0,o.A)(Nl.A,{})),tj||(tj=(0,o.A)(O.A,{variant:"body1","data-test-id":"payment-eligibility-title"},void 0,"Payment Eligibility:")),ij||(ij=(0,o.A)(O.A,{variant:"body2","data-test-id":"payment-eligibility-description"}
1,void 0,"You are eligible to receive payment for monies generated through your services on NiteFlirt when your payable balance is at least $10.00 and your account is in good standing.")),oj||(oj=(0,o.A)(O.A,{variant:"body2","data-test-id":"tax-certification-notice"},void 0,"* Under penalty of perjury, I certify that the number entered onto this form is my correct taxpayer identification number.")))};try{sj.displayName="RequestPayout"}catch(e){}const lj=sj;var dj,cj=i(25570),uj=i(10379),mj=i(93881);const pj=({value:e,onChange:t,isHighlighted:i})=>{const[r,n]=(0,a.useState)(!1),s=a.useRef(null),l=a.useRef(null),d=(i,o)=>{o=o.replace(/[^0-9]/g,"");let a="";switch(i){case 0:a=o+e.substring(3,5)+e.substring(5,9),3===o.length&&s.current.focus();break;case 1:a=e.substring(0,3)+o+e.substring(5,9),2===o.length&&l.current.focus();break;default:a=e.substring(0,5)+o}t(a)};return(0,o.A)(W.A,{"data-test-id":"social-security-field"},void 0,dj||(dj=(0,o.A)(mj.A,{"data-test-id":"ssn-field-label"},void 0,"Social Security Number")),(0,o.A)(W.A,{direction:"row",spacing:1,alignItems:"center"},void 0,(0,o.A)(ao.A,{type:r?"text":"password",size:"small",value:e?.substring(0,3)||"",onChange:e=>d(0,e.target.value),sx:{width:"60px"},inputProps:{maxLength:3},tabIndex:1,error:i,"data-test-id":"ssn-first-input"}),(0,o.A)("span",{style:{fontSize:"1.5rem",fontWeight:"lighter"}},void 0,"-"),(0,o.A)(ao.A,{type:r?"text":"password",size:"small",value:e?.substring(3,5)||"",onChange:e=>d(1,e.target.value),sx:{width:"60px"},inputProps:{maxLength:2},tabIndex:2,inputRef:s,error:i,"data-test-id":"ssn-second-input"}),(0,o.A)("span",{style:{fontSize:"1.5rem",fontWeight:"lighter"}},void 0,"-"),(0,o.A)(ao.A,{type:r?"text":"password",size:"small",value:e?.substring(5,9)||"",onChange:e=>d(2,e.target.value),sx:{width:"70px"},inputProps:{maxLength:4},tabIndex:3,inputRef:l,error:i,"data-test-id":"ssn-third-input"}),(0,o.A)("a",{style:{color:"var(--link_color)",cursor:"pointer"},onClick:e=>{e.preventDefault(),n(!r)},"data-test-id":"ssn-reveal-toggle"},void 0,r?"Hide":"Reveal")))};try{pj.displayName="SocialSecurityField"}catch(e){}const hj=pj;var gj;const vj=({value:e,onChange:t,isHighlighted:i})=>{const[r,n]=(0,a.useState)(!1),s=a.useRef(null),l=(i,o)=>{o=o.replace(/[^0-9]/g,"");let a="";0===i?(a=o+e.substring(2,9),2===o.length&&s.current.focus()):a=e.substring(0,2)+o,t(a)};return(0,o.A)(W.A,{"data-test-id":"ein-field"},void 0,gj||(gj=(0,o.A)(mj.A,{"data-test-id":"ein-field-label"},void 0,"Federal Employer ID# (EIN) for this company")),(0,o.A)(W.A,{direction:"row",spacing:1,alignItems:"center"},void 0,(0,o.A)(ao.A,{type:r?"text":"password",size:"small",value:e?.substring(0,2)||"",onChange:e=>l(0,e.target.value),sx:{width:"60px"},inputProps:{maxLength:2},autoFocus:!0,tabIndex:1,error:i,"data-test-id":"ein-first-input"}),(0,o.A)("span",{style:{fontSize:"1.5rem",fontWeight:"lighter"}},void 0,"-"),(0,o.A)(ao.A,{type:r?"text":"password",size:"small",value:e?.substring(2,9)||"",onChange:e=>l(1,e.target.value),sx:{width:"100px"},inputProps:{maxLength:7},tabIndex:2,inputRef:s,error:i,"data-test-id":"ein-second-input"}),(0,o.A)("span",{style:{fontSize:"1.5rem",fontWeight:"lighter"}},void 0,"-"),(0,o.A)("a",{style:{color:"var(--link_color)",cursor:"pointer"},onClick:e=>{e.preventDefault(),n(!r)},"data-test-id":"ein-reveal-toggle"},void 0,r?"Hide":"Reveal")))};try{vj.displayName="EINField"}catch(e){}const Aj=vj;var yj,fj,bj,wj,xj,Cj=i(69703),kj=i(13973),Sj=i(94652);function _j(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function Nj(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?_j(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):_j(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const Pj=({payee:e,setPayee:t,canShowErrors:i,showCountryAddressError:a,invalidFields:r=[]}
1)=>{const n=(0,k.zg)().data,{data:s}=(0,k.ql)("payment"),l=s&&s.find(t=>t.iso_country_code===e.country),{placesService:d,placePredictions:c,getPlacePredictions:u}=(0,Cj.A)({apiKey:n.googlePlacesApiKey,debounce:400}),m=i&&r.includes("payee_name"),p=i&&r.includes("address_line1"),h=i&&r.includes("city"),v=i&&r.includes("zip_code"),A=i&&r.includes("state"),y=l?l.postal_code_name:"ZIP Code",f="10"===e.taxableStatus&&r.includes("taxable_in_us"),b="20"===e.taxableStatus&&r.includes("taxable_pay_company");return(0,o.A)("div",{"data-test-id":"payee-form-section"},void 0,yj||(yj=(0,o.A)(O.A,{variant:"subtitle1",my:1,"data-test-id":"payee-information-title"},void 0,"Payee Information")),(0,o.A)(W.A,{direction:"column",spacing:3},void 0,(0,o.A)(ao.A,{label:"Full legal name (personal or business)",size:"small",value:e.payeeName,onChange:i=>t(Nj(Nj({},e),{},{payeeName:i.target.value})),error:m,tabIndex:0,"data-test-id":"payee-name-input"}),s&&(0,o.A)(cj.A,{value:e.country,onChange:i=>(i=>{t(Nj(Nj({},e),{},{country:i})),u({input:e.addressLine1,componentRestrictions:{country:i.toLowerCase()}})})(i),countries:s,"data-test-id":"payee-country-select"}),(0,o.A)(Sj.A,{options:c.map(e=>({label:e.description})),onSelect:i=>(i=>{const o=c[i].structured_formatting.secondary_text.split(", ");d.getDetails({placeId:c[i].place_id},(a,r)=>{let n="";if("OK"===r)for(const e of a.address_components)if(e.types.includes("postal_code")){n=e.short_name;break}const s=4===o.length?2:1;t(Nj(Nj({},e),{},{addressLine1:c[i].structured_formatting.main_text,city:o[0],state:o[s],zipCode:n})),u({input:""})})})(i),showIcon:!0,icon:fj||(fj=(0,o.A)(kj.A,{})),component:(0,o.A)(ao.A,{label:"Address Line 1",size:"small",value:e.addressLine1,onChange:i=>{return o=i.target.value,t(Nj(Nj({},e),{},{addressLine1:o})),void u({input:o,componentRestrictions:{country:e.country.toLowerCase()}});var o},error:p,fullWidth:!0,"data-test-id":"payee-address-line1-input"}),onOutsideClick:()=>u({input:""}),"data-test-id":"payee-address-autocomplete"}),(0,o.A)(ao.A,{label:"Address Line 2 (Optional)",size:"small",value:e.addressLine2,onChange:i=>t(Nj(Nj({},e),{},{addressLine2:i.target.value})),"data-test-id":"payee-address-line2-input"}),(0,o.A)(ao.A,{label:"City",size:"small",value:e.city,onChange:i=>t(Nj(Nj({},e),{},{city:i.target.value})),error:h,"data-test-id":"payee-city-input"}),(0,o.A)(uj.A,{value:e.state,onChange:i=>t(Nj(Nj({},e),{},{state:i})),states:l?l.states:[],error:A,"data-test-id":"payee-state-input"}),(0,o.A)(ao.A,{label:y,size:"small",value:e.zipCode,onChange:i=>t(Nj(Nj({},e),{},{zipCode:i.target.value})),error:v,sx:{maxWidth:180},"data-test-id":"payee-zipcode-input"}),(0,o.A)(Kd.A,{"data-test-id":"payee-taxable-status-section"},void 0,(0,o.A)(aT.A,{"aria-labelledby":"",value:e.taxableStatus,onChange:i=>t(Nj(Nj({},e),{},{taxableStatus:i.target.value})),name:"radio-buttons-group","data-test-id":"payee-taxable-status"},void 0,bj||(bj=(0,o.A)(Xd.A,{value:"0",control:(0,o.A)(oT.A,{}),label:"I am not eligible to work in the US and my address is outside of the US","data-test-id":"taxable-status-non-us-radio"})),i&&a&&(0,o.A)(O.A,{variant:"body3",style:{color:"#d32f2f"},"data-test-id":"country-address-mismatch-error"},void 0,"We're sorry, you must have an address outside of the US to select this option."),wj||(wj=(0,o.A)(Xd.A,{value:"10",control:(0,o.A)(oT.A,{}),label:"I am eligible to work in the US","data-test-id":"taxable-status-us-eligible-radio"})),"10"===e.taxableStatus&&(0,o.A)(g.A,{sx:{mx:4},"data-test-id":"ssn-input-container"},void 0,(0,o.A)(hj,{value:e.taxPayerId||"",onChange:i=>t(Nj(Nj({},e),{},{taxPayerId:i})),isHighlighted:f})),xj||(xj=(0,o.A)(Xd.A,{value:"20",control:(0,o.A)(oT.A,{}),label:"The money that I earned is payable to a company.","data-test-id":"taxable-status-company-radio"})),"20"===e.taxableStatus&&(0,o.A)(g.A,{sx:{mx:4},"data-test-id":"ein-input-container"},void 0,(0,o.A)(Aj,{value:e.taxPayerId||"",onChange:i=>t(Nj(Nj({},e),{},{taxPayerId:i})),isHighlighted:b}))))))};try{Pj.displayName="PayeeForm"}catch(e){}const Tj=Pj;var Fj,Ij,Ej,Mj,Oj,Dj=i(86404);function Rj(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function Lj(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
1t%2?Rj(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Rj(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const jj=(0,Re.Ay)(g.A)(({theme:e})=>({maxWidth:"700px",[e.breakpoints.up("xs")]:{padding:e.spacing(2.5,3)},[e.breakpoints.up("sm")]:{padding:e.spacing(3.5,4)},pb:{xs:e.spacing(10),sm:e.spacing(10)}})),qj=({onboardingVersion:e=!1,afterSaveAction:t=null,onCancel:i=()=>null})=>{const{data:r,isLoading:n}=(0,$p.jR)(),[s,l]=(0,a.useState)({payableBalance:0,totalBalance:0}),d=()=>{window.location.href="/account"},[c,u]=(0,a.useState)({payeeName:"",country:"US",addressLine1:"",addressLine2:"",city:"",state:"",zipCode:"",taxableStatus:"0",taxPayerId:""}),[m,p]=(0,a.useState)([]),[h,g]=(0,a.useState)([]),v=(0,a.useRef)(null),[A,y]=(0,a.useState)({id:null,paymentPeriod:"",bankName:"",accountType:"0",routingNumber:"",bankAccountNumber:"",accountNumberConfirmation:"",email:"",amountLeftInAccount:0,paxumId:null,masspayEmail:null}),[f,b]=(0,a.useState)(!1),[w,{data:x,error:C,isSuccess:k}]=(0,$p.sl)();(0,a.useEffect)(()=>{if(r){const{payment_request:{id:e,payee_name:t="",country:i,address_line1:o="",address_line2:a="",city:n="",state:s="",full_state:d="",zip_code:c="",taxable_status:m="0",tax_payer_id:p="",payment_type_and_period:h="",balance_left:g="0.00"}={},bank_account:{routing_number:v="",account_number:A="",bank_account_type:f=0,bank_name:w=""}={},show_payout_warning:x,user_paxum:{email:C="",id:k}={},masspay_email:S}=r;l({payableBalance:r.payable_balance,totalBalance:r.total_balance}),u({payeeName:t,country:i,addressLine1:o,addressLine2:a,city:n,state:d||s,zipCode:c,taxableStatus:String(m),taxPayerId:p?.replaceAll&&p?.replaceAll("-","")});let _=parseFloat(g);Number.isNaN(_)&&(_=0),_=_.toFixed(2),y({paymentPeriod:String(h),bankName:w,accountType:String(f||0),routingNumber:v||"",bankAccountNumber:A,accountNumberConfirmation:A,id:e,email:C,paxumId:k,amountLeftInAccount:_,masspayEmail:S}),b(x)}},[r]),(0,a.useEffect)(()=>{k&&(e&&t&&t(),p([]))},[k]),(0,a.useEffect)(()=>{if(C?.data?.errors){const e=[],t=[];C.data.errors.forEach(i=>{i.field&&e.push(i.field),t.push(i.message)}),g(e),p(t)}},C);const S=()=>{const e={};return"10"===c.taxableStatus?(e.ssn1=c.taxPayerId?.slice(0,3),e.ssn2=c.taxPayerId?.slice(3,5),e.ssn3=c.taxPayerId?.slice(5,9)):"20"===c.taxableStatus&&(e.ein1=c.taxPayerId?.slice(0,2),e.ein2=c.taxPayerId?.slice(2,10)),{payment_request:Lj({payee_name:c.payeeName,country:c.country,address_line1:c.addressLine1,address_line2:c.addressLine2,city:c.city,state:c.state,full_state:c.state,zip_code:c.zipCode,taxable_status:c.taxableStatus,balance_left:A.amountLeftInAccount,payment_period:A.paymentPeriod},e),bank_account:{bank_name:A.bankName,bank_account_type:A.accountType,routing_number:A.routingNumber,account_number:A.bankAccountNumber,account_number_confirmation:A.accountNumberConfirmation},user_paxum:{email:A.email}}},_=()=>{w({data:S()});const e=v.current;e&&(e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded():e.scrollIntoView({behavior:"smooth"}))},N="US"===c.country&&"0"===c.taxableStatus,P=!n&&!N;return e?(0,o.A)(jj,{"data-test-id":"payout-info-container"},void 0,a.createElement("div",{ref:v}),x?.data&&(Fj||(Fj=(0,o.A)(Dj.Zp,{}))),!x&&f&&(Ij||(Ij=(0,o.A)(Dj.R,{}))),x?.data?.notice&&(0,o.A)(Dj.hZ,{message:x.data.notice}),(0,o.A)(Dj.$p,{errors:m}),(0,o.A)(NL,{payableBalance:s.payableBalance,totalBalance:s.totalBalance}),(0,o.A)(Tj,{payee:c,setPayee:u,canShowErrors:!n,showCountryAddressError:N,invalidFields:h}),(0,o.A)(lj,{payout:A,setPayout:y,onSave:_,canSubmit:P,onCancel:e?i:d,onboardingVersion:e,invalidFields:h,userEmail:r?.email}),(0,o.A)(W.A,{justifyContent:"flex-end",flexDirection:"row","data-test-id":"payout-onboarding-actions"},void 0,(0,o.A)("a",{href:"#",className:"btn secondary btn-cancel",onClick:i,"data-test-id":"payout-onboarding-cancel-btn"},void 0,"Cancel"),(0,o.A)("button",{type:"button",className:"btn",onClick:P?_:()=>
1null,disabled:!P,"data-test-id":"payout-onboarding-save-btn"},void 0,"Save"))):(0,o.A)(dt.A,{},void 0,(0,o.A)(Op.A,{header:"Payout Info"},void 0,a.createElement("div",{ref:v}),(0,o.A)(jj,{"data-test-id":"payout-info-container"},void 0,x?.data&&(Ej||(Ej=(0,o.A)(Dj.Zp,{}))),!x&&f&&(Mj||(Mj=(0,o.A)(Dj.R,{}))),x?.data?.notice&&(0,o.A)(Dj.hZ,{message:x.data.notice}),(0,o.A)(Dj.$p,{errors:m}),(0,o.A)(W.A,{direction:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%",display:n?"flex":"none","data-test-id":"payout-loading-spinner"},void 0,Oj||(Oj=(0,o.A)(Ql.A,{})),(0,o.A)(O.A,{variant:"body1",sx:{mt:2}},void 0,"Loading...")),(0,o.A)(W.A,{display:n?"none":"block"},void 0,(0,o.A)(NL,{payableBalance:s.payableBalance,totalBalance:s.totalBalance}),(0,o.A)(Tj,{payee:c,setPayee:u,canShowErrors:!n,showCountryAddressError:N,invalidFields:h}),(0,o.A)(lj,{payout:A,setPayout:y,onSave:_,canSubmit:P,onCancel:e?i:d,invalidFields:h,userEmail:r?.email})))))};try{qj.displayName="PayoutInfoContainer"}catch(e){}const Bj=qj;i(74278);var zj=i(19405);const Uj=({currentUser:e,phones:t=[],afterCancel:i,afterSuccess:a})=>(0,o.A)(_l.A,{maxWidth:"md",sx:{px:0},"data-test-id":"add-phone-step"},void 0,(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}},void 0,(0,o.A)(zj.A,{afterCancel:i,afterSuccess:a,currentUser:e,phones:t,setShowAddPhoneNumber:e=>{}})));try{Uj.displayName="AddPhoneStep"}catch(e){}const $j=Uj;var Wj,Gj=i(2970);const Hj=["pending","verified","completed","exempt"],Yj=({afterCancel:e,idvStatus:t,idvDate:i})=>Hj.includes(t)?(0,o.A)(_l.A,{maxWidth:"md",sx:{px:0},"data-test-id":"id-verification-step-pending"},void 0,(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",py:4}},void 0,Wj||(Wj=(0,o.A)(cT.A,{size:40})),(0,o.A)(O.A,{variant:"body1",sx:{mt:2}},void 0,"Your ID is being verified. This usually takes a few minutes."))):"not_required"!==t?(document.location.href="/advisor_signup/account_setup/idv",null):(0,o.A)(_l.A,{maxWidth:"md",sx:{px:0},"data-test-id":"id-verification-step"},void 0,(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}},void 0,(0,o.A)(Gj.A,{idv_status:t,idv_date:i}),(0,o.A)(E.A,{variant:"outlined",size:"large",sx:{mt:2,maxWidth:"300px",width:"100%"},onClick:e},void 0,"Cancel")));try{Yj.displayName="IdVerificationStep"}catch(e){}const Vj=Yj,Qj=({afterCancel:e,afterSuccess:t})=>(0,o.A)(_l.A,{maxWidth:"md",sx:{px:0},"data-test-id":"payout-info-step"},void 0,(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}},void 0,(0,o.A)(O.A,{variant:"h5",sx:{my:2}},void 0,"Add Payout Info"),(0,o.A)(Bj,{onboardingVersion:!0,onCancel:e,afterSaveAction:t})));try{Qj.displayName="PayoutInfoStep"}catch(e){}const Zj=Qj;var Kj=i(38032);const Xj=({currentUser:e,afterCancel:t,afterSuccess:i})=>{const{openModal:o}=(0,a.useContext)(bt.A),r=i,n=i,s=t,l=i,{openManageCardsModal:d}=(0,Kj.A)({openModal:o,currentUser:e,guard:null,setGuard:null,onTryAgainSuccess:r,onManageCardsSuccess:n,onAddToBalanceSuccess:l,onboardingVersion:!0}),{addMoneyEnabled:c,openAddCard:u}=(0,us.A)({afterAction:i,afterClose:t});return(0,a.useEffect)(()=>{c?u({},null,"advisor_signup"):d(!1,s,"advisor_signup")},[]),null};Xj.propTypes={afterCancel:$c().func.isRequired,afterSuccess:$c().func.isRequired,currentUser:$c().object.isRequired};const Jj=Xj;var eq,tq;const iq=(0,Re.Ay)(Kd.A)({"& .MuiOutlinedInput-root":{minHeight:"auto",marginTop:"6px"},"& .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline legend":{display:"none"}}),oq=(0,Re.Ay)(g.A)(()=>({"&.MuiBox-root":{padding:"5px 10px","@media (max-width: 900px)":{padding:"10px 0px 0px 0px",width:"100%",display:"flex",justifyContent:"flex-end"},"& .MuiButton-root":{borderRadius:"6px"}}})),aq=(0,o.A)(O.A,{variant:"body1"},void 0,"I have read and agree to the"," ",(0,o.A)("a",{href:"https://support.niteflirt.com/hc/en-us/articles/212830688-NiteFlirt-Rules",target:"_blank",alt:"Flirt Policy",rel:"noreferrer"},void 0,"Flirt Policy")),rq=({afterCancel:e=()=>{},afterSuccess:t=()=>{}})=>{const i={Woman:0,Man:1,Transgender:2},r={Women:0,Men:1,Transgenders:2},[n,s]=(0,a.useState)(0),[l,d]=(0,a.useState)(1),[c,u]=(0,a.useState)(null),[m,p]=(0,a.useState)(!1),[h,v]=(0,k.ax)();return(0,a.useEffect)(()=>
1{if(v.isSuccess&&(u(null),t()),v.isError&&422===v.error.status){const e=v.error?.data?.inline_error||"There was a problem setting the gender.";u(e)}},[v]),(0,o.A)(g.A,{"data-test-id":"set-gender",sx:{display:"flex",flexWrap:"wrap",padding:"10px",flexDirection:"column",textAlign:"left"}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexDirection:"column",gap:3,mb:3,margin:"0 auto",maxWidth:"300px"}},void 0,(0,o.A)(g.A,{},void 0,eq||(eq=(0,o.A)(O.A,{variant:"body1",mb:1},void 0,"I am a")),(0,o.A)(iq,{sx:{minWidth:200}},void 0,(0,o.A)(Jd.A,{id:"flirtGender",value:n,label:"Flirt Gender",onChange:e=>s(e.target.value),size:"small",fullWidth:!0},void 0,Object.entries(i).map(([e,t])=>(0,o.A)(td.A,{value:t},`fg_${t}`,e))))),(0,o.A)(g.A,{},void 0,tq||(tq=(0,o.A)(O.A,{variant:"body1",mb:1},void 0,"seeking to interact mostly with")),(0,o.A)(iq,{sx:{minWidth:200}},void 0,(0,o.A)(Jd.A,{id:"genderPreference",value:l,label:"Gender Preference",onChange:e=>d(e.target.value),size:"small",fullWidth:!0},void 0,Object.entries(r).map(([e,t])=>(0,o.A)(td.A,{value:t},t,e)))))),(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",flexWrap:"no-wrap",mb:3,mt:5},"data-test-id":"terms-checkbox"},void 0,(0,o.A)(Xd.A,{control:(0,o.A)(Zd.A,{checked:m,onChange:e=>p(e.target.checked)}),label:aq})),c&&(0,o.A)(g.A,{id:"errorMsg",sx:{color:"#8a1f11",my:1}},void 0,(0,o.A)(O.A,{variant:"body2"},void 0,(0,o.A)(y.A,{html:c}))),(0,o.A)(oq,{sx:{display:"flex",justifyContent:"center"}},void 0,(0,o.A)(W.A,{direction:"row",spacing:1},void 0,(0,o.A)(E.A,{variant:"outlined",size:"large",onClick:e},void 0,"Cancel"),(0,o.A)(E.A,{variant:"contained",size:"large",onClick:async()=>{h({flirtGender:n,preferredGender:l})},disabled:!m},void 0,"Save"))))};try{rq.displayName="SetGender"}catch(e){}const nq=rq,sq=({afterCancel:e=()=>{},afterSuccess:t=()=>{}})=>(0,o.A)(nq,{afterCancel:e,afterSuccess:t});try{sq.displayName="SetGenderContainer"}catch(e){}const lq=sq,dq=({afterCancel:e,afterSuccess:t})=>(0,o.A)(_l.A,{maxWidth:"md",sx:{px:0},"data-test-id":"set-gender-step"},void 0,(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}},void 0,(0,o.A)(O.A,{variant:"h5",sx:{my:2}},void 0,"Set Your Gender"),(0,o.A)(lq,{afterCancel:e,afterSuccess:t})));try{dq.displayName="SetGenderStep"}catch(e){}const cq=dq;var uq,mq,pq;const hq=({onCancelSetup:e})=>{const{closeDialog:t}=(0,a.useContext)(la.A),[i,r]=(0,a.useState)(!1);return a.createElement(a.Fragment,null,(0,o.A)(Zs.A,{closeDialog:t}),(0,o.A)(Ys.A,{},void 0,i?a.createElement(a.Fragment,null,uq||(uq=(0,o.A)("p",{},void 0,"Are you sure you want to stop creating a Flirt account?")),mq||(mq=(0,o.A)("p",{},void 0,"If you stop now, you will have to create a separate Flirt account in the future.")),(0,o.A)(g.A,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",mt:2,gap:2}},void 0,(0,o.A)(E.A,{variant:"contained",onClick:e},void 0,"Just be a Customer (not a Flirt)"),(0,o.A)(Ws.A,{component:"button",variant:"body2",onClick:t},void 0,"Create a Flirt account"))):a.createElement(a.Fragment,null,pq||(pq=(0,o.A)("p",{},void 0,"The information we request during the onboarding process helps ensure your account is secure, compliant with regulations, and set up for seamless interactions. These steps are essential for protecting your account, enabling smooth transactions, and maintaining a safe environment for both you and your customers.")),(0,o.A)(g.A,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",mt:2,gap:2}},void 0,(0,o.A)(E.A,{variant:"contained",onClick:t},void 0,"Continue with Flirt account creation"),(0,o.A)(Ws.A,{component:"button",variant:"body2",onClick:()=>r(!0)},void 0,"Sign up as a Customer (not a Flirt)")))))};try{hq.displayName="FlirtAccountSetupInfoDialog"}catch(e){}const gq=hq;var vq,Aq,yq,fq,bq;const wq=()=>{const e=(0,x.u)("MY_LISTINGS_22963")?{href:"/account/my_listings/new/live"}:{href:"/listings/choose_topic/0"};return(0,o.A)(g.A,{sx:{textAlign:"center",marginTop:10},"data-test-id":"make-money-cta-container"},void 0,(0,o.A)(O.A,{variant:"h6",sx:{color:"green",fontWeight:"bold"}
1,"data-test-id":"congrats-message"},void 0,"Congrats! Your Flirt Account has been created!"),(0,o.A)(O.A,{variant:"h6",sx:{marginTop:1,fontWeight:"bold"},"data-test-id":"start-making-money-title"},void 0,"Start Making Money"),(0,o.A)(O.A,{variant:"body1",sx:{marginTop:1},"data-test-id":"connection-ways-description"},void 0,"There are 3 primary ways to connect with customers on NiteFlirt:"),(0,o.A)("ol",{style:{textAlign:"left",marginLeft:"auto",marginRight:"auto",maxWidth:400},"data-test-id":"connection-methods-list"},void 0,vq||(vq=(0,o.A)("li",{},void 0,"Via phone (or phone with cam) listings")),Aq||(Aq=(0,o.A)("li",{},void 0,'Via the sale of files (videos, pix, etc.) we call "Goodies"')),yq||(yq=(0,o.A)("li",{},void 0,"Via chat (phone listing required)"))),(0,o.A)(O.A,{variant:"body1",sx:{marginTop:1},"data-test-id":"setup-question"},void 0,"Which do you want to set up first?"),(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",gap:2,marginTop:2},"data-test-id":"action-buttons-container"},void 0,a.createElement(Ws.A,(0,De.A)({},e,{underline:"none","data-test-id":"phone-listings-link"}),fq||(fq=(0,o.A)(E.A,{variant:"contained",color:"primary","data-test-id":"phone-listings-button"},void 0,"Phone Listings"))),bq||(bq=(0,o.A)(Ws.A,{href:"/account/filemanager",underline:"none","data-test-id":"goodies-link"},void 0,(0,o.A)(E.A,{variant:"contained",color:"primary","data-test-id":"goodies-button"},void 0,"Goodies")))))};try{wq.displayName="MakeMoneyCta"}catch(e){}const xq=wq;var Cq,kq,Sq,_q,Nq,Pq;const Tq=(0,Re.Ay)(ES)(()=>({"& .MuiContainer-root:first-of-type":{padding:"0px"}})),Fq=(0,Re.Ay)(_l.A)(()=>({"&.MuiContainer-root":{margin:"0 auto",padding:"0px",width:"100%",maxWidth:"850px !important"}})),Iq=[{key:"add_phone",label:"Add Phone Number",shortLabel:"Phone"},{key:"add_cc",label:"Add Credit Card",shortLabel:"Credit Card"},{key:"verify_id",label:"Verify ID",shortLabel:"ID"},{key:"add_payout_info",label:"Add Payout Info",shortLabel:"Payout"},{key:"gender",label:"Set Gender",shortLabel:"Gender"}],Eq=()=>{var e,t,i,r,n,s;const l=(0,k.zg)().data,d=l?.current_user,{data:c}=(0,k.XR)(),u=c?.phones,{data:m}=(0,k.bj)(),[p,h]=(0,a.useState)(""),[v,A]=(0,a.useState)(!1),[y,f]=(0,a.useState)(0),[b,w]=(0,a.useState)(0),[x,C]=(0,a.useState)(!1),[S,{isSuccess:_}]=(0,k.tD)(),{data:{user:{idv_status:N,idv_date:P}={}}={},refetch:T,isFetching:F}=(0,k.vf)({poll:!0},{pollingInterval:b}),I=()=>A(!0),M=()=>A(!1),D=async()=>{await S({cancel:!0}),document.location.href="/account"},R=()=>{S()},{openDialog:L}=(0,a.useContext)(la.A);(0,a.useEffect)(()=>{if(m?.step){if(h(m.step),"completed"===m.step)f(Iq.length+1);else{const e=Iq.findIndex(e=>e.key===m.step);f(e)}A(!1)}},[m]),(0,a.useEffect)(()=>{"verified"!==N&&"exempt"!==N&&"completed"!==N||"verify_id"!==p||(w(0),S())},[N,p]),(0,a.useEffect)(()=>{if("verify_id"===p&&"pending"===N){w(5e3),C(!1);const e=setTimeout(()=>{w(0),C(!0)},12e4);return()=>clearTimeout(e)}w(0)},[p,N]),(0,a.useEffect)(()=>{_&&A(!0)},[p]);const j=()=>"pending"===N&&"verify_id"===p;return(0,o.A)(Tq,{},void 0,(0,o.A)(_l.A,{maxWidth:"lg"},void 0,(0,o.A)(g.A,{sx:{padding:2},mt:v?1:4},void 0,(0,o.A)(W.A,{direction:"column",spacing:1,justifyContent:"center",alignItems:"center",mb:5},void 0,(0,o.A)("img",{src:"/plus_frontend/assets/svg//niteflirt-logo.svg",alt:"NiteFlirt",style:{width:"180px"}}),!v&&a.createElement(a.Fragment,null,(0,o.A)(O.A,{variant:"body2","data-test-id":"welcome-message"},void 0,"Hello,"," ",d?.login,"!"),_q||(_q=(0,o.A)(O.A,{variant:"h3"},void 0,"Set Up Your Flirt Account")))),(()=>{const t=Iq.map(e=>v?e.shortLabel:e.label),i={marginBottom:v?2:2.5,"& .MuiStepIcon-root":{width:v?30:40,height:v?30:40},"& .MuiStepIcon-text":{fontSize:v?"0.75rem":"0.875rem",fontWeight:"300"},"& .MuiStepConnector-root":{top:v?"calc(15px)":"20px"},"& .MuiStepConnector-line":{marginLeft:v?"5px":"10px",marginRight:v?"5px":"10px",borderTopWidth:"2px"}};return(0,o.A)(Fq,{},void 0,(0,o.A)(CM.A,{activeStep:y,alternativeLabel:!0,sx:i},void 0,Iq.map((i,a)=>(0,o.A)(kM.A,{completed:a<y},i.key,(0,o.A)(SM.A,{"data-test-id":`step-label-${i.key}`},void 0,t[a],y===a&&(0,o.A)(g.A,{sx:{textAlign:"center",marginTop:2}},void 0,!v&&("verify_id"!==p||["not_required","unverified","created","failed","error"].includes(N))&&(e||(e=(0,o.A)(E.A,{variant:"contained",color:"primary",onClick:I},void 0,"Start"))),!v&&j()&&!x&&(0,o.A)(W.A,{spacing:1,alignItems:"center",sx:{mt:1}},void 0,Cq||(Cq=(0,o.A)(cT.A,{size:24})),kq||(kq=(0,o.A)(O.A,{variant:"body2"},void 0,"Your ID is being verified. This usually takes a few minutes."))),!v&&j()&&x&&(0,o.A)(W.A,{spacing:1,alignItems:"center",sx:{mt:1}},void 0,Sq||(Sq=(0,o.A)(O.A,{variant:"body2"},void 0,"It's taking longer than usual to verify your ID. Please check back shortly.")),(0,o.A)(E.A,{variant:"contained",color:"primary",onClick:T,disabled:F},void 0,F?"Checking...":"Check Status"))))))))})(),y===Iq.length+1&&(Nq||(Nq=(0,o.A)(xq,{}))),v&&(()=>{switch(p){case"add_phone":return t||(t=(0,o.A)($j,{currentUser:d,afterCancel:M,afterSuccess:S,phones:u}));
1case"add_cc":return i||(i=(0,o.A)(Jj,{currentUser:d,afterCancel:M,afterSuccess:R}));case"verify_id":return r||(r=(0,o.A)(Vj,{currentUser:d,afterCancel:M,afterSuccess:S,idvStatus:N,idvDate:P}));case"add_payout_info":return n||(n=(0,o.A)(Zj,{afterCancel:M,afterSuccess:S}));case"gender":return s||(s=(0,o.A)(cq,{afterCancel:M,afterSuccess:S}));default:return null}})(),!("completed"===p)&&(0,o.A)(g.A,{sx:{textAlign:"center",marginTop:10}},void 0,(0,o.A)(Ws.A,{href:"#",onClick:()=>{L({component:gq,props:{onCancelSetup:D}})},underline:"hover"},void 0,"Why is this needed to become a Flirt?")),(0,o.A)(g.A,{sx:{textAlign:"center",marginTop:6,fontSize:"0.875rem"}},void 0,Pq||(Pq=(0,o.A)(Ws.A,{href:"/account_setup_logout",underline:"hover"},void 0,"Sign Out"))))))};try{Eq.displayName="FlirtAccountSetupContainer"}catch(e){}const Mq=Eq,Oq=()=>{((e={})=>{if(window.clarity&&"function"==typeof window.clarity)try{window.clarity("consentv2",e)}catch(e){console.error("Error sending Clarity consent:",e)}else console.warn("Clarity not available, consent not sent")})({ad_Storage:"granted",analytics_Storage:"granted"})},Dq=(0,Re.Ay)(Ws.A)(()=>({color:"white !important",textDecoration:"underline !important","&:hover":{color:"white !important"},"&:visited":{color:"white !important"},"&:active":{color:"white !important"}})),Rq=(0,Re.Ay)(E.A)(({theme:e})=>({backgroundColor:"white",color:e.palette.primary.main,whiteSpace:"nowrap",minWidth:"100px",width:"auto","&:hover":{backgroundColor:e.palette.grey[300]},[e.breakpoints.down("sm")]:{width:"100%"}}));var Lq;const jq=()=>Lq||(Lq=(0,o.A)(O.A,{variant:"body3","data-test-id":"cookies-banner-text"},void 0,"By using NiteFlirt you agree to the"," ",(0,o.A)(Dq,{href:"/help/tos"},void 0,"NiteFlirt User Agreement")," ","and understand that we use"," ",(0,o.A)(Dq,{href:"/help/privacy_policy#google"},void 0,"cookies")," ","and may share your information with third party providers, such as analytic partners. We will never sell your information to third parties. You must be 18 or older to continue."));try{jq.displayName="CookieBannerText"}catch(e){}const qq=jq;var Bq;const zq=({onAccept:e})=>(0,o.A)(g.A,{"data-test-id":"cookies-banner",sx:{position:"fixed",bottom:0,left:"50%",transform:"translateX(-50%)",width:"100%",maxWidth:650,bgcolor:"#82468b",color:"white",zIndex:1300,paddingBottom:"env(safe-area-inset-bottom)"}},void 0,(0,o.A)(g.A,{sx:{py:2,px:2}},void 0,(0,o.A)(W.A,{direction:{xs:"column",sm:"row"},spacing:2,justifyContent:"space-between",alignItems:{xs:"flex-start",sm:"center"}},void 0,Bq||(Bq=(0,o.A)(qq,{})),(0,o.A)(Rq,{variant:"contained",color:"inherit",onClick:e,"data-test-id":"dissmiss-button"},void 0,"I Understand"))));try{zq.displayName="CookieBannerFooter"}catch(e){}const Uq=zq,$q="nf_cookies_consent_checked",Wq=()=>{sessionStorage.setItem($q,"true")},Gq=()=>{const[e,t]=(0,a.useState)(!1),i=(0,a.useMemo)(()=>at.A.hasCookie("show_cookies_banner"),[]),r=(0,a.useMemo)(()=>{if(!i)return!1;const e=at.A.getCookies().show_cookies_banner;if(!e)return!1;const t=e.split(":");return t.length>=2&&""!==t[0]&&""!==t[1]},[i]),{data:n={},isLoading:s}=(0,k.rr)(void 0,{skip:r}),{consentGiven:l}=n,d=(0,a.useMemo)(()=>!0===l||(!!r||"true"===sessionStorage.getItem($q)),[l,r]),[c]=(0,k.Yx)();(0,a.useEffect)(()=>{if(!s)return d?(t(!1),!1||Oq(),void Wq()):void t(!0);t(!1)},[d,s]),(0,a.useEffect)(()=>{e&&SO.A.sendEvent("cookie_banner_displayed")},[e]);return e?(0,o.A)(Uq,{onAccept:()=>
1{c(),Oq(),t(!1),Wq(),SO.A.sendEvent("cookie_banner_accepted")}}):null};try{Gq.displayName="CookiesBannerContainer"}catch(e){}const Hq=Gq;var Yq,Vq=i(3002),Qq=i(72986),Zq=i(16003),Kq=i(6979),Xq=i(31786),Jq=i(87027),eB=i(32383),tB=i(81252),iB=i(67499),oB=i(70412),aB=i(72912);const rB=[{group:"Summary Reports",items:[{value:"awards",label:"Awards"},{value:"percentile-by-semimonth",label:"Percentile by Semimonth"},{value:"current-vs-prior",label:"Current vs Prior"},{value:"earnings-by-semimonth",label:"Earnings by Semimonth"}]},{group:"Performance by Period",items:[{value:"performance-by-semimonth",label:"Performance by Semimonth"},{value:"performance-by-month",label:"Performance by Month"},{value:"performance-by-year",label:"Performance by Year"}]},{group:"Web Analytics",items:[{value:"listings",label:"Listings"},{value:"goodies",label:"Goodies"}]}],nB=({value:e,onChange:t})=>(0,o.A)(Kd.A,{size:"small",sx:{minWidth:240}},void 0,Yq||(Yq=(0,o.A)(BF.A,{id:"report-selector-label"},void 0,"Select Report")),(0,o.A)(Jd.A,{labelId:"report-selector-label",value:e,label:"Select Report",onChange:e=>t(e.target.value),size:"small",sx:{minHeight:"44px"}},void 0,rB.flatMap(({group:e,items:t})=>[(0,o.A)(aB.A,{},e,e),...t.map(e=>(0,o.A)(td.A,{value:e.value,sx:{px:4}},e.value,e.label))])));try{nB.displayName="ReportSelector"}catch(e){}const sB=nB;var lB,dB,cB,uB,mB,pB,hB,gB,vB,AB,yB,fB,bB,wB,xB,CB,kB,SB,_B,NB,PB,TB,FB,IB,EB,MB,OB,DB,RB=i(20614);function LB({size:e=28}){return(0,o.A)("svg",{width:e,height:e,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},void 0,lB||(lB=(0,o.A)("path",{d:"M8 3h12v10a6 6 0 0 1-12 0V3Z",fill:"#F5C400",stroke:"#B8930A",strokeWidth:"1.2"})),dB||(dB=(0,o.A)("path",{d:"M8 6H4a3 3 0 0 0 3 3h1M20 6h4a3 3 0 0 1-3 3h-1",stroke:"#B8930A",strokeWidth:"1.2",strokeLinecap:"round"})),cB||(cB=(0,o.A)("rect",{x:"11",y:"19",width:"6",height:"3",rx:"1",fill:"#F5C400",stroke:"#B8930A",strokeWidth:"1.2"})),uB||(uB=(0,o.A)("rect",{x:"8",y:"22",width:"12",height:"2.5",rx:"1",fill:"#F5C400",stroke:"#B8930A",strokeWidth:"1.2"})),mB||(mB=(0,o.A)("path",{d:"M12 8l1.2 2.4L16 10.8l-2 1.9.5 2.8L12 14.1l-2.5 1.4.5-2.8-2-1.9 2.8-.4L12 8Z",fill:"#fff",opacity:"0.7"})))}try{LB.displayName="TrophyGoldIcon"}catch(e){}function jB({size:e=28}){return(0,o.A)("svg",{width:e,height:e,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},void 0,pB||(pB=(0,o.A)("path",{d:"M8 3h12v10a6 6 0 0 1-12 0V3Z",fill:"#C8D0DA",stroke:"#8A96A4",strokeWidth:"1.2"})),hB||(hB=(0,o.A)("path",{d:"M8 6H4a3 3 0 0 0 3 3h1M20 6h4a3 3 0 0 1-3 3h-1",stroke:"#8A96A4",strokeWidth:"1.2",strokeLinecap:"round"})),gB||(gB=(0,o.A)("rect",{x:"11",y:"19",width:"6",height:"3",rx:"1",fill:"#C8D0DA",stroke:"#8A96A4",strokeWidth:"1.2"})),vB||(vB=(0,o.A)("rect",{x:"8",y:"22",width:"12",height:"2.5",rx:"1",fill:"#C8D0DA",stroke:"#8A96A4",strokeWidth:"1.2"})),AB||(AB=(0,o.A)("path",{d:"M12 8l1.2 2.4L16 10.8l-2 1.9.5 2.8L12 14.1l-2.5 1.4.5-2.8-2-1.9 2.8-.4L12 8Z",fill:"#fff",opacity:"0.6"})))}try{jB.displayName="TrophySilverIcon"}catch(e){}function qB({size:e=28}){return(0,o.A)("svg",{width:e,height:e,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},void 0,yB||(yB=(0,o.A)("path",{d:"M8 3h12v10a6 6 0 0 1-12 0V3Z",fill:"#CD8B4A",stroke:"#9B5E25",strokeWidth:"1.2"})),fB||(fB=(0,o.A)("path",{d:"M8 6H4a3 3 0 0 0 3 3h1M20 6h4a3 3 0 0 1-3 3h-1",stroke:"#9B5E25",strokeWidth:"1.2",strokeLinecap:"round"})),bB||(bB=(0,o.A)("rect",{x:"11",y:"19",width:"6",height:"3",rx:"1",fill:"#CD8B4A",stroke:"#9B5E25",strokeWidth:"1.2"})),wB||(wB=(0,o.A)("rect",{x:"8",y:"22",width:"12",height:"2.5",rx:"1",fill:"#CD8B4A",stroke:"#9B5E25",strokeWidth:"1.2"})),xB||(xB=(0,o.A)("path",{d:"M12 8l1.2 2.4L16 10.8l-2 1.9.5 2.8L12 14.1l-2.5 1.4.5-2.8-2-1.9 2.8-.4L12 8Z",fill:"#fff",opacity:"0.6"})))}try{qB.displayName="TrophyBronzeIcon"}catch(e){}function BB({size:e=28}){return(0,o.A)("svg",{width:e,height:e,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},void 0,CB||(CB=(0,o.A)("path",{d:"M4 20h20M4 20l3-10 5 6 3-9 3 9 5-6 3 10",stroke:"#ebbfff",strokeWidth:"1",strokeLinejoin:"round",strokeLinecap:"round",fill:"#ebbfff",fillOpacity:"0.4"})),kB||(kB=(0,o.A)("rect",{x:"4",y:"20",width:"23",height:"2",rx:"1",fill:"#ebbfff"})),SB||(SB=(0,o.A)("circle",{cx:"6",cy:"9",r:"2",fill:"#ebbfff"})),_B||(_B=(0,o.A)("circle",{cx:"15",cy:"6",r:"2",fill:"#ebbfff"})),NB||(NB=(0,o.A)("circle",{cx:"24",cy:"9",r:"2",fill:"#ebbfff"})))}try{BB.displayName="CrownIcon"}catch(e){}function zB({size:e=28}){return(0,o.A)("svg",{width:e,height:e,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},void 0,PB||(PB=(0,o.A)("path",{d:"M14 4l2.5 5 5.5.8-4 3.9.9 5.5L14 16.5l-4.9 2.7.9-5.5-4-3.9 5.5-.8L14 4Z",fill:"#FFE000",stroke:"#CC9900",strokeWidth:"1.2",strokeLinejoin:"round"})),TB||(TB=(0,o.A)("path",{d:"M18 22l2 3M14 23v3M10 22l-2 3",stroke:"#CC9900",strokeWidth:"1",strokeLinecap:"round"})))}try{zB.displayName="RisingStarIcon"}catch(e){}const UB=(e,t=28)=>({gold:(0,o.A)(LB,{size:t}),silver:(0,o.A)(jB,{size:t}),bronze:(0,o.A)(qB,{size:t}),select:(0,o.A)(BB,{size:t}),risingStar:(0,o.A)(zB,{size:t})}[e]);function $B({children:e}){return(0,o.A)(O.A,{variant:"subtitle2",mb:1.25},void 0,e)}try{$B.displayName="SectionLabel"}catch(e){}function WB({grouping:e,awards:t}){const i=e.label?.split(" - ")[0]?.trim(),a=t.find(t=>e.label?.startsWith(t.name))||t[0],r=e.label!==i?e.label.split(" - ").slice(1).join(" - "):null,n=e.dateAwarded?new Date(`${e.dateAwarded}T00:00:00`).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):"";return(0,o.A)($.A,{elevation:0,sx:{borderRadius:2,border:`1.5px solid ${a.accentColor}`,boxShadow:`0 4px 20px ${a.accentColor}50`,background:a.darkColor,height:{xs:"180px",sm:"170px"},p:1.5,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",gap:.5}},void 0,(0,o.A)(g.A,{mb:1},void 0,UB(a.iconKey,56)),(0,o.A)(O.A,{variant:"body2",fontWeight:600,sx:{color:"#fff"}},void 0,i),r&&(0,o.A)(O.A,{variant:"caption",lineHeight:1.2,sx:{color:"rgba(255,255,255,0.65)"}},void 0,r),(0,o.A)(O.A,{variant:"caption",sx:{color:"rgba(255,255,255,0.5)",mt:.5}},void 0,n))}try{WB.displayName="RecentAchievementCard"}catch(e){}function GB({award:e}){const{earned:t}=e;return(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:2,py:1.5,borderBottom:"1px solid",borderColor:"divider"}},void 0,(0,o.A)(g.A,{sx:{width:40,height:40,borderRadius:"50%",background:t?e.darkColor:"#525260",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,opacity:t?1:.5}},void 0,UB(e.iconKey,"risingStar"===e.iconKey?26:22)),(0,o.A)(g.A,{flex:1,minWidth:0},void 0,(0,o.A)(O.A,{variant:"body2",fontWeight:500,color:t?"var(--body_color)":"text.disabled"},void 0,e.name),(0,o.A)(O.A,{variant:"caption",color:"text.disabled"},void 0,e.subtitle)),!t&&(0,o.A)(U.A,{label:"Locked",size:"small",variant:"outlined",icon:FB||(FB=(0,o.A)(RB.A,{}
1)),sx:{fontSize:"0.75rem",height:24,flexShrink:0,pointerEvents:"none",px:.75,"& .MuiChip-icon":{fontSize:"0.875rem"}}}))}try{GB.displayName="AwardRow"}catch(e){}const HB=({data:e=null})=>{const{summary:t={},groupings:i=[]}=e||{},r=((e={},t=[])=>{const i=t.filter(e=>e.label?.startsWith("NiteFlirt Select")).length,o=(e.risingStar||0)>0,a=o||!1!==e.newAdvisor,r=[{id:"gold",name:"Top Performer Gold",subtitle:(e.topTier_1||0)>0?`Awarded ${e.topTier_1} ${1===e.topTier_1?"time":"times"}.`:"You have not earned this award.",accentColor:"#F5C400",darkColor:"#7a6000",iconKey:"gold",earned:(e.topTier_1||0)>0},{id:"silver",name:"Top Performer Silver",subtitle:(e.topTier_5||0)>0?`Awarded ${e.topTier_5} ${1===e.topTier_5?"time":"times"}.`:"You have not earned this award.",accentColor:"#A8B2C0",darkColor:"#586070",iconKey:"silver",earned:(e.topTier_5||0)>0},{id:"bronze",name:"Top Performer Bronze",subtitle:(e.topTier_10||0)>0?`Awarded ${e.topTier_10} ${1===e.topTier_10?"time":"times"}.`:"You have not earned this award.",accentColor:"#CD7F32",darkColor:"#7a4228",iconKey:"bronze",earned:(e.topTier_10||0)>0},{id:"select",name:"NiteFlirt Select",subtitle:(n=e.selectBasis,s=i,n?`Awarded for ${n} ${1===n?"year":"years"} of uninterrupted service.`:s>0?`Awarded ${s} time${1!==s?"s":""}.`:"Awarded for one or more years of uninterrupted service."),accentColor:"#63177a",darkColor:"#561a80",iconKey:"select",earned:!!e.selectBasis||i>0}];var n,s;return a&&r.push({id:"rising-star",name:"Rising Star",subtitle:o?`Recognizes new Flirts who quickly rise to the top. Awarded ${e.risingStar} ${1===e.risingStar?"time":"times"}.`:"Recognizes new Flirts who quickly rise to the top.",accentColor:"#B4B2A9",darkColor:"#524e48",iconKey:"risingStar",earned:o}),r})(t,i),n=((e=[])=>{if(!e.length)return[];const t=e[0]?.dateAwarded;return e.filter(e=>e.dateAwarded===t)})(i);return(0,o.A)(g.A,{sx:{mt:3}},void 0,n.length>0&&a.createElement(a.Fragment,null,IB||(IB=(0,o.A)($B,{},void 0,"Recent Awards")),(0,o.A)(no.Ay,{container:!0,spacing:1.5,mb:3},void 0,n.map(e=>(0,o.A)(no.Ay,{item:!0,xs:6,sm:4,md:3},`${e.dateAwarded}-${e.label}`,(0,o.A)(WB,{grouping:e,awards:r}))))),0===n.length&&(EB||(EB=(0,o.A)(O.A,{variant:"body2",color:"text.secondary",mb:2},void 0,"No awards have been earned yet."))),(0,o.A)(g.A,{sx:{mt:n.length>0?0:3}},void 0,MB||(MB=(0,o.A)($B,{},void 0,"Your Awards")),(0,o.A)(g.A,{sx:{borderTop:"1px solid",borderColor:"divider"}},void 0,r.map(e=>(0,o.A)(GB,{award:e},e.id)))),i.length>0&&(0,o.A)(wE.A,{defaultExpanded:!0,disableGutters:!0,elevation:0,sx:{mt:2,border:"1px solid",borderColor:"divider",borderRadius:"8px !important","&:before":{display:"none"}}},void 0,(0,o.A)(xE.A,{expandIcon:OB||(OB=(0,o.A)(j.A,{}))},void 0,DB||(DB=(0,o.A)(O.A,{variant:"body2",fontWeight:500},void 0,"Award history")),(0,o.A)(O.A,{variant:"caption",sx:{ml:1.5,alignSelf:"center",color:"var(--color_gray_six)"}},void 0,i.length," entries")),(0,o.A)(CE.A,{sx:{p:0}},void 0,(0,o.A)(g.A,{component:"table",sx:{width:"100%",borderCollapse:"collapse",fontSize:"0.8125rem"}},void 0,(0,o.A)(g.A,{component:"thead"},void 0,(0,o.A)(g.A,{component:"tr",sx:{borderTop:"1px solid",borderColor:"divider",background:"action.hover"}},void 0,(0,o.A)(g.A,{component:"th",sx:{p:"8px 16px",textAlign:"left",fontWeight:500,color:"var(--color_gray_six)",width:"35%"}},void 0,"Date awarded"),(0,o.A)(g.A,{component:"th",sx:{p:"8px 16px",textAlign:"left",fontWeight:500,color:"var(--color_gray_six)",width:"65%"}},void 0,"Award"))),(0,o.A)(g.A,{component:"tbody"},void 0,i.map(e=>{const t=e.dateAwarded?new Date(`${e.dateAwarded}T00:00:00`).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):"";return(0,o.A)(g.A,{component:"tr",sx:{borderTop:"1px solid",borderColor:"divider","&:nth-of-type(even)":{background:"action.hover"}}},`${e.dateAwarded}-${e.label}`,(0,o.A)(g.A,{component:"td",sx:{p:"8px 16px",color:"var(--color_gray_six)"}},void 0,t),(0,o.A)(g.A,{component:"td",sx:{p:"8px 16px",color:"var(--body_color)"}},void 0,e.label))}))))))};try{HB.displayName="AwardsReport"}catch(e){}const YB=HB;var VB,QB=i(1990);function ZB(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}const KB=(e,t)=>e?t?45:60:t?60:75,XB=({data:e,type:t,title:i,subtitle:r=null,yLabel:n})=>{const s=(0,Vs.A)(),l=(0,d_.A)(s.breakpoints.down("sm")),d=(0,a.useRef)(null),[c,m]=(0,a.useState)(600);(0,a.useEffect)(()=>
1{if(!d.current)return;const e=new ResizeObserver(e=>{e[0]&&m(e[0].contentRect.width)});return e.observe(d.current),()=>e.disconnect()},[]);const p=(0,d_.A)("(orientation: portrait)"),h="percentile"===t,v=l&&!p?Math.max(1,Math.ceil(e.length/12)):1,A=v>1?e.filter((t,i)=>i%v===0||i===e.length-1):e,y=A.map(e=>e.date),f=A.map(e=>e.value),b=l?6:20,w=Math.max(1,Math.ceil(A.length/b)),x=h?100:100*Math.ceil(1.2*Math.max(...f.length?f:[100])/100),C=h?{min:0,max:100}:{min:0,max:x,tickNumber:5,valueFormatter:e=>`$${e.toLocaleString()}`},k=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?ZB(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ZB(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({data:f,color:"#4f71a3",showMark:!0,label:n,curve:"linear"},h?{}:{valueFormatter:e=>`$${null!=e?e.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}):"0.00"}`});return(0,o.A)(g.A,{},void 0,(0,o.A)(O.A,{variant:"h6",align:"center",fontWeight:500,mb:.5},void 0,i),r&&(0,o.A)(O.A,{variant:"body2",align:"center",color:"text.secondary",mb:2},void 0,r),(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center"}},void 0,(0,o.A)(O.A,{variant:"body2",color:"text.secondary",sx:{writingMode:"vertical-rl",transform:"rotate(180deg)",whiteSpace:"nowrap",mr:h?1:-.5,flexShrink:0}},void 0,n),a.createElement(g.A,{ref:d,sx:{width:{xs:"90%",sm:"95%"}}},(0,o.A)(QB.b,{xAxis:[{scaleType:"point",data:y,tickInterval:(e,t)=>t%w===0,tickLabelStyle:{angle:-45,textAnchor:"end",fontSize:l?10:11}}],yAxis:[C],series:[k],grid:{horizontal:!0},width:c,height:l?300:400,margin:{top:20,right:20,bottom:l?80:100,left:KB(l,h)},tooltip:{trigger:"axis"},slotProps:{legend:{hidden:!0}},sx:{"& .MuiMarkElement-root":{fill:"#4f71a3",stroke:"#3a5a8a"},"& .MuiChartsGrid-horizontalLine":{stroke:"var(--color_ddd) !important",strokeDasharray:"none"}}},`${l?"mobile":"desktop"}-${A.length}`),VB||(VB=(0,o.A)(O.A,{variant:"body2",align:"center",color:"text.secondary",mt:-2},void 0,"Semimonth")))))};try{XB.displayName="PerformanceChart"}catch(e){}const JB=XB;var ez,tz,iz,oz,az,rz;function nz(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function sz(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?nz(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):nz(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const lz=e=>e&&"N/A"!==e?String(e).startsWith("-")?"error.main":"success.main":"var(--color_gray_six)",dz={p:"10px 16px",textAlign:"right"},cz={p:"10px 16px",textAlign:"left"},uz="var(--color_eee)";function mz({rows:e}){return(0,o.A)(g.A,{component:"table",sx:{width:"100%",borderCollapse:"collapse",fontSize:"0.875rem"}},void 0,(0,o.A)(g.A,{component:"thead"},void 0,(0,o.A)(g.A,{component:"tr",sx:{background:uz}},void 0,[{label:"Earnings",align:"left"},{label:"Most recent",align:"right"},{label:"Prior 4 avg",align:"right"},{label:"% Change",align:"right"},{label:"Year ago",align:"right"},{label:"% Change",align:"right"}].map((e,t)=>(0,o.A)(g.A,{component:"th",sx:{p:"10px 16px",textAlign:e.align,fontWeight:600,color:"var(--body_color)",borderBottom:"2px solid",borderColor:"divider"}},`${e.label}-${t}`,e.label)))),(0,o.A)(g.A,{component:"tbody"},void 0,e.map((e,t)=>{return(0,o.A)(g.A,{component:"tr",sx:{borderBottom:"1px solid",borderColor:"divider",background:(i=e.isTotal,a=t%2==0,i?"var(--color_eee)":a?"transparent":"var(--color_eee)"),"&:last-of-type":{borderBottom:"none"}}},e.label,(0,o.A)(g.A,{component:"td",sx:sz(sz({},cz),{},{fontWeight:600,color:"var(--body_color)"})},void 0,`${e.label}:`),(0,o.A)(g.A,{component:"td",sx:sz(sz({},dz),{},{fontWeight:e.isTotal?600:400,color:"var(--body_color)"})},void 0,e.mostRecent),(0,o.A)(g.A,{component:"td",sx:sz(sz({},dz),{},{fontWeight:e.isTotal?600:400,color:"var(--body_color)"})},void 0,e.prior4Avg),(0,o.A)(g.A,{component:"td",sx:sz(sz({},dz),{},{fontWeight:e.isTotal?600:400,color:lz(e.priorPctChange)})},void 0,e.priorPctChange),(0,o.A)(g.A,{component:"td",sx:sz(sz({},dz),{},{fontWeight:e.isTotal?600:400,color:"var(--body_color)"})},void 0,e.yearAgo),(0,o.A)(g.A,{component:"td",sx:sz(sz({},dz),{},{fontWeight:e.isTotal?600:400,color:lz(e.yearAgoPctChange)})},void 0,e.yearAgoPctChange));var i,a})))}
1try{mz.displayName="DesktopTable"}catch(e){}function pz({rows:e}){return(0,o.A)(g.A,{sx:{display:"flex",flexDirection:"column",gap:1.5}},void 0,e.map(e=>(0,o.A)($.A,{variant:"outlined",sx:{borderRadius:2,p:2,background:e.isTotal?uz:"transparent",borderColor:"divider"}},e.label,(0,o.A)(O.A,{variant:"body2",fontWeight:600,color:"var(--body_color)",mb:1},void 0,`${e.label}:`),(0,o.A)(g.A,{sx:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:.5}},void 0,ez||(ez=(0,o.A)(O.A,{variant:"caption",color:"var(--color_gray_six)"},void 0,"Most recent")),(0,o.A)(O.A,{variant:"caption",color:"var(--body_color)",fontWeight:e.isTotal?600:500,textAlign:"right"},void 0,e.mostRecent),tz||(tz=(0,o.A)(O.A,{variant:"caption",color:"var(--color_gray_six)"},void 0,"Prior 4 avg")),(0,o.A)(O.A,{variant:"caption",color:"var(--body_color)",fontWeight:e.isTotal?600:500,textAlign:"right"},void 0,e.prior4Avg),iz||(iz=(0,o.A)(O.A,{variant:"caption",color:"var(--color_gray_six)"},void 0,"% Change")),(0,o.A)(O.A,{variant:"caption",fontWeight:e.isTotal?600:500,color:lz(e.priorPctChange),textAlign:"right"},void 0,e.priorPctChange),oz||(oz=(0,o.A)(O.A,{variant:"caption",color:"var(--color_gray_six)"},void 0,"Year ago")),(0,o.A)(O.A,{variant:"caption",color:"var(--body_color)",fontWeight:e.isTotal?600:500,textAlign:"right"},void 0,e.yearAgo),az||(az=(0,o.A)(O.A,{variant:"caption",color:"var(--color_gray_six)"},void 0,"% Change")),(0,o.A)(O.A,{variant:"caption",fontWeight:e.isTotal?600:500,color:lz(e.yearAgoPctChange),textAlign:"right"},void 0,e.yearAgoPctChange)))))}try{pz.displayName="MobileCards"}catch(e){}const hz=e=>`$${Number(e||0).toFixed(2)}`,gz=({data:e=null})=>{const t=(0,Vs.A)(),i=(0,d_.A)(t.breakpoints.down("sm")),a=(e=>{if(!e)return[];const t=[{label:"Calls",key:"call"},{label:"Mails",key:"mail"},{label:"Goody Bags",key:"goody"},{label:"Tributes",key:"tribute"},{label:"Chat Volleys",key:"chat"},{label:"Referrals",key:"referral"}];void 0!==e.recent?.cam&&t.splice(2,0,{label:"Cam",key:"cam"});const i=t.map(({label:t,key:i})=>({label:t,mostRecent:hz(e.recent?.[i]),prior4Avg:hz(e.priorMo?.[i]),priorPctChange:e.moChange?.[i]||"N/A",yearAgo:hz(e.priorYear?.[i]),yearAgoPctChange:e.yearChange?.[i]||"N/A"}));return i.push({label:"Total",mostRecent:hz(e.recent?.total),prior4Avg:hz(e.priorMo?.total),priorPctChange:e.moChange?.total||"N/A",yearAgo:hz(e.priorYear?.total),yearAgoPctChange:e.yearChange?.total||"N/A",isTotal:!0}),i})(e);return(0,o.A)(g.A,{},void 0,rz||(rz=(0,o.A)(O.A,{variant:"h6",align:"center",fontWeight:500,mb:2},void 0,"Current vs Prior")),(0,o.A)($.A,{variant:"outlined",sx:{borderRadius:2,overflow:"hidden"}},void 0,i?(0,o.A)(pz,{rows:a}):(0,o.A)(mz,{rows:a})))};try{gz.displayName="CurrentVsPriorTable"}catch(e){}const vz=gz;var Az,yz=i(9432);function fz(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function bz(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?fz(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):fz(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const wz=e=>null!=e?`$${Number(e).toFixed(2)}`:"$0.00",xz=e=>null!=e?`${Math.round(Number(e))}%`:"0%",Cz=e=>{if(null==e)return"N/A";const t=Math.round(Number(e)),i=["th","st","nd","rd"],o=t%100;return`${t}${i[(o-20)%10]||i[o]||i[0]}`},kz=e=>{if(!e)return e||"";const t=new Date(`${e}T00:00:00`);return Number.isNaN(t.getTime())?e:t.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})},Sz=(e,t)=>({id:t,endDate:e.timeSegmentEnd||"",avgPercentile:Cz(e.avgPercentile),callEarnings:wz(e.callEarnings),mailEarnings:wz(e.mailEarnings),goodyBagEarnings:wz(e.goodyEarnings),tributeEarnings:wz(e.tributeEarnings),recurringTributeEarnings:wz(e.recurringTributeEarnings),chatEarnings:wz(e.chatEarnings),referralEarnings:wz(e.referralEarnings),packagesEarnings:wz(e.subscriptionEarnings),totalEarnings:wz(e.totalEarnings),pctCall:xz
1(e.pctCall),pctMail:xz(e.pctMail),pctGoodyBag:xz(e.pctGoody),pctTribute:xz(e.pctTribute),pctRecurringTribute:xz(e.pctRecurringTribute),pctChat:xz(e.pctChat),pctReferral:xz(e.pctReferral),pctPackages:xz(e.pctSubscription)}),_z=(e,t)=>parseFloat(e.replace(/[$,]/g,""))-parseFloat(t.replace(/[$,]/g,"")),Nz=(e,t)=>parseFloat(e)-parseFloat(t),Pz=[{field:"endDate",headerName:"End Date",width:110,pinnable:!0,valueFormatter:({value:e})=>kz(e)},{field:"avgPercentile",headerName:"Avg Percentile",width:120,sortable:!1,headerClassName:"no-link-header"},{field:"callEarnings",headerName:"Call Earnings",width:110,sortComparator:_z},{field:"mailEarnings",headerName:"Mail Earnings",width:110,sortComparator:_z},{field:"goodyBagEarnings",headerName:"Goody Bag Earnings",width:130,sortComparator:_z},{field:"tributeEarnings",headerName:"Tribute Earnings",width:130,sortComparator:_z},{field:"recurringTributeEarnings",headerName:"Recurring Tribute Earnings",width:160,sortComparator:_z},{field:"chatEarnings",headerName:"Chat Earnings",width:110,sortComparator:_z},{field:"referralEarnings",headerName:"Referral Earnings",width:120,sortComparator:_z},{field:"packagesEarnings",headerName:"Packages Earnings",width:130,sortComparator:_z},{field:"totalEarnings",headerName:"Total Earnings",width:120,sortComparator:_z},{field:"pctCall",headerName:"% Call",width:80,sortComparator:Nz},{field:"pctMail",headerName:"% Mail",width:80,sortComparator:Nz},{field:"pctGoodyBag",headerName:"% Goody Bag",width:110,sortComparator:Nz},{field:"pctTribute",headerName:"% Tribute",width:90,sortComparator:Nz},{field:"pctRecurringTribute",headerName:"% Recurring Tribute",width:140,sortComparator:Nz},{field:"pctChat",headerName:"% Chat",width:80,sortComparator:Nz},{field:"pctReferral",headerName:"% Referral",width:90,sortComparator:Nz},{field:"pctPackages",headerName:"% Packages",width:100,sortComparator:Nz}],Tz=Pz.filter(e=>"avgPercentile"!==e.field).map(e=>({value:e.field,label:e.headerName})),Fz=10,Iz={fontSize:"0.8125rem","& .MuiDataGrid-columnHeaders":{background:"var(--color_eee)"},"& .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-columnHeader:focus-within":{outline:"none"},"& .MuiDataGrid-columnHeaderTitle":{color:"var(--link_color)",fontWeight:"normal",display:"inline-block",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& .no-link-header .MuiDataGrid-columnHeaderTitle":{color:"text.primary"},"& .MuiDataGrid-virtualScroller":{paddingBottom:"0px"},"& .MuiDataGrid-cell:focus, & .MuiDataGrid-cell:focus-within":{outline:"none"},"& .totals-row":{fontWeight:700,background:"var(--color_eee)",borderTop:"2px solid var(--color_ddd)"}},Ez=[{label:"Avg Percentile",key:"avgPercentile"},{label:"Total Earnings",key:"totalEarnings"},{label:"Call Earnings",key:"callEarnings"},{label:"Mail Earnings",key:"mailEarnings"},{label:"Goody Bag Earnings",key:"goodyBagEarnings"},{label:"Tribute Earnings",key:"tributeEarnings"},{label:"Recurring Tribute Earnings",key:"recurringTributeEarnings"},{label:"Chat Earnings",key:"chatEarnings"},{label:"Referral Earnings",key:"referralEarnings"},{label:"Packages Earnings",key:"packagesEarnings"},{label:"% Call",key:"pctCall"},{label:"% Mail",key:"pctMail"},{label:"% Goody Bag",key:"pctGoodyBag"},{label:"% Tribute",key:"pctTribute"},{label:"% Recurring Tribute",key:"pctRecurringTribute"},{label:"% Chat",key:"pctChat"},{label:"% Referral",key:"pctReferral"},{label:"% Packages",key:"pctPackages"}];function Mz({row:e,isTotals:t=!1}){return(0,o.A)(g.A,{sx:bz({fontSize:"0.875rem",color:"var(--body_color)",border:"1px solid",borderColor:"divider",py:1.5,px:2,display:"flex",flexDirection:"column",gap:.5,mb:1,"& strong":{fontWeight:500,color:"var(--color_gray_six)",minWidth:"170px",display:"inline-block"}},t&&{background:"var(--color_eee)"})},void 0,(0,o.A)(O.A,{variant:"body2",fontWeight:700},void 0,kz(e.endDate)),Ez.map(({label:t,key:i})=>(0,o.A)(O.A,{variant:"body2"},i,(0,o.A)("strong",{},void 0,`${t}:`)," ",e[i])))}try{Mz.displayName="PerformanceCard"}catch(e){}const Oz=({groupings:e=[],totals:t=null,title:i})=>{const r=(0,Vs.A)(),n=(0,d_.A)(r.breakpoints.down("sm")),[s,l]=(0,a.useState)("endDate"),[d,c]=(0,a.useState)(!0),[u,m]=(0,a.useState)(0),[p,h]=(0,a.useState)(null),v=e.map(Sz),A=t?bz(bz({},Sz(t,"totals")),{},{endDate:"Totals"}):null,y=[...v].sort((e,t)=>
1{const i=Pz.find(e=>e.field===s),o=i?.sortComparator?i.sortComparator(e[s],t[s]):String(e[s]).localeCompare(String(t[s]));return d?o:-o}),f=y.slice(u*Fz,(u+1)*Fz),b=A?[...f,A]:f,w=(e,t)=>{m(t),setTimeout(()=>{const e=document.querySelector(".body-content");e&&e.scrollTo({top:0,behavior:"smooth"})},0)};return(0,o.A)(g.A,{},void 0,(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2}},void 0,(0,o.A)(O.A,{variant:"h6",fontWeight:500},void 0,i),n&&a.createElement(a.Fragment,null,(0,o.A)(NP.A,{title:"Sort"},void 0,(0,o.A)(M.A,{onClick:e=>h(e.currentTarget)},void 0,Az||(Az=(0,o.A)(MD.A,{})))),(0,o.A)(ed.A,{anchorEl:p,open:Boolean(p),onClose:()=>h(null),anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},void 0,Tz.map(e=>(0,o.A)(td.A,{selected:s===e.value,onClick:()=>{return t=e.value,s===t?c(e=>!e):(l(t),c(!0)),m(0),void h(null);var t},sx:{fontSize:"0.875rem"}},e.value,e.label,s===e.value&&(d?" ↑":" ↓")))))),n?(0,o.A)(g.A,{},void 0,f.map(e=>(0,o.A)(Mz,{row:e},e.id)),A&&(0,o.A)(Mz,{row:A,isTotals:!0}),(0,o.A)(yz.A,{component:"div",count:y.length,page:u,onPageChange:w,rowsPerPage:Fz,rowsPerPageOptions:[Fz],sx:{".MuiToolbar-root":{pl:0}}})):(0,o.A)(g.A,{sx:{width:"100%",overflow:"auto"}},void 0,(0,o.A)(UN.z,{rows:b,columns:Pz,autoHeight:!0,hideFooter:!0,disableSelectionOnClick:!0,density:"compact",sortingMode:"server",sortModel:[{field:s,sort:d?"asc":"desc"}],onSortModelChange:e=>{e[0]&&(l(e[0].field),c("asc"===e[0].sort),m(0))},getRowClassName:e=>"totals"===e.id?"totals-row":"",sx:Iz}),(0,o.A)(yz.A,{component:"div",count:y.length,page:u,onPageChange:w,rowsPerPage:Fz,rowsPerPageOptions:[Fz],sx:{borderTop:"1px solid var(--color_ddd)"}})))};try{Oz.displayName="PerformanceTable"}catch(e){}const Dz=Oz;var Rz,Lz,jz,qz,Bz,zz,Uz,$z=i(29134),Wz=i(97429),Gz=i(35511);const Hz=["(none)","cpc","organic","referral"],Yz={"(none)":"Direct",cpc:"CPC",organic:"Organic",referral:"Referral"},Vz={"(none)":"#7293bd",cpc:"#a08cb4",organic:"#a4bb76",referral:"#bf7370"},Qz=({type:e})=>{const t="listings"===e,[i,r]=(0,a.useState)(""),[n,s]=(0,a.useState)(!1),l=(0,a.useRef)(null),[d,c]=(0,a.useState)(600),u=(0,Vs.A)(),m=(0,d_.A)(u.breakpoints.down("sm"));(0,a.useEffect)(()=>{r(""),s(!1)},[e]),(0,a.useEffect)(()=>{if(!l.current||"undefined"==typeof ResizeObserver)return;const e=new ResizeObserver(e=>{e[0]&&c(e[0].contentRect.width)});return e.observe(l.current),()=>e.disconnect()},[]);const{data:p,isLoading:h}=(0,Wz.FI)({sort:"0"},{skip:!t}),{data:v,isLoading:A}=(0,Gz.bN)(void 0,{skip:t}),[y,{data:f,isFetching:b,isError:w}]=(0,Gz.Tx)(),[x,{data:C,isFetching:k,isError:S}]=(0,Gz.nu)(),_=t?(p||[]).map(e=>({id:e.id,label:e.title})):(v||[]).map(e=>({id:e.id,label:e.title})),N=t?h:A,P=t?f:C,T=t?b:k,F=t?w:S;(0,a.useEffect)(()=>{F&&s(!1)},[F]);const I=!!i,M=P?.visitorData,D=P?.referrerData||[],R=P?.dates||[],L=Math.max(1,Math.ceil(R.length/12)),j=Hz.map(e=>({data:M?M[e]||R.map(()=>0):[],label:Yz[e],color:Vz[e],stack:"total"}));return a.createElement(g.A,{ref:l},(0,o.A)($.A,{variant:"outlined",className:"no-print",sx:{p:1.5,px:2.5,backgroundColor:"var(--color_fff)"}},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",gap:1.5,flexWrap:"wrap",width:"100%"},void 0,(0,o.A)(O.A,{variant:"body2",color:"text.secondary",sx:{whiteSpace:"nowrap"}},void 0,"Report on"),(0,o.A)(Kd.A,{size:"small",sx:{minWidth:220,maxWidth:320},disabled:N},void 0,(0,o.A)(Jd.A,{size:"small",value:i,onChange:e=>{r(e.target.value),s(!1)},displayEmpty:!0,sx:{minHeight:"36px"}},void 0,(0,o.A)(td.A,{value:"",disabled:!0},void 0,t?"Select a listing...":"Select a goody bag..."),_.map(e=>(0,o.A)(td.A,{value:e.id},e.id,e.label)))),(0,o.A)(E.A,{variant:"contained",size:"small",disabled:!I||T,onClick:()=>{i&&(t?y({listingId:i}):x({goodyBagId:i}),s(!0))},startIcon:n&&!T?Rz||(Rz=(0,o.A)(iB.A,{})):Lz||(Lz=(0,o.A)(eB.A,{}))},void 0,n&&!T?"Report Generated":"Generate Report"))),T&&(0,o.A)(g.A,{sx:{mt:4,display:"flex",flexDirection:"column",alignItems:"center",gap:1.5}},void 0,jz||(jz=(0,o.A)(Ql.A,{size:48})),(0,o.A)(O.A,{variant:"body1",sx:{color:"var(--color_gray_five)"}},void 0,"Generating Report")),F&&!T&&(0,o.A)(g.A,{sx:{mt:4,display:"flex",flexDirection:"column",alignItems:"center",gap:1.5}}
1,void 0,(0,o.A)(eB.A,{sx:{fontSize:48,color:"text.disabled"}}),qz||(qz=(0,o.A)(O.A,{variant:"body2",color:"error"},void 0,"Unable to load analytics data. Google Analytics credentials may not be configured."))),!F&&!n&&!T&&(0,o.A)(g.A,{sx:{mt:4,display:"flex",flexDirection:"column",alignItems:"center",gap:1.5,color:"var(--color_gray_nine)"}},void 0,(0,o.A)(eB.A,{sx:{fontSize:48}}),(0,o.A)(O.A,{variant:"body1",sx:{color:"var(--color_gray_five)"}},void 0,`Select a ${t?"listing":"goody bag"} and click Generate Report to view your data.`)),n&&P&&!T&&!F&&(0,o.A)(g.A,{sx:{mt:3}},void 0,Bz||(Bz=(0,o.A)(O.A,{variant:"h6",mb:1},void 0,"Visitor Traffic (Last 14 Days)")),(0,o.A)($.A,{variant:"outlined",sx:{p:2,mb:3,backgroundColor:"var(--color_fff)"}},void 0,(0,o.A)(g.A,{sx:{width:"100%",overflow:"hidden"}},void 0,R.length>0?(0,o.A)($z.E,{xAxis:[{scaleType:"band",data:R,tickInterval:(e,t)=>t%L===0,tickLabelStyle:{angle:-45,textAnchor:"end",fontSize:m?10:11}}],series:j,width:d||300,height:m?250:300,margin:{top:m?20:50,right:m?40:50,bottom:m?60:80,left:m?35:50},tooltip:{trigger:"axis"},grid:{horizontal:!0},slotProps:{legend:{hidden:m}},sx:{"& .MuiChartsGrid-horizontalLine":{stroke:"var(--color_ddd) !important",strokeDasharray:"none"}}}):(0,o.A)(O.A,{variant:"body2",color:"text.secondary",sx:{textAlign:"center",py:4}},void 0,"No traffic data available for this period.")),m&&R.length>0&&(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",gap:1.5,mt:.5,justifyContent:"center"}},void 0,Hz.map(e=>(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:.5}},e,(0,o.A)(g.A,{sx:{width:12,height:12,borderRadius:"2px",backgroundColor:Vz[e],flexShrink:0}}),(0,o.A)(O.A,{variant:"caption"},void 0,Yz[e]))))),D.length>0&&a.createElement(a.Fragment,null,zz||(zz=(0,o.A)(O.A,{variant:"h6",mb:1},void 0,"Top Referrers")),(0,o.A)($.A,{variant:"outlined",sx:{backgroundColor:"var(--color_fff)"}},void 0,(0,o.A)(Rp.A,{size:"small"},void 0,Uz||(Uz=(0,o.A)(Lp.A,{},void 0,(0,o.A)(jp.A,{},void 0,(0,o.A)(qp.A,{},void 0,(0,o.A)("strong",{},void 0,"Referrer")),(0,o.A)(qp.A,{align:"right"},void 0,(0,o.A)("strong",{},void 0,"Sessions"))))),(0,o.A)(Bp.A,{},void 0,D.map(e=>(0,o.A)(jp.A,{},e.referrer,(0,o.A)(qp.A,{sx:{fontSize:"0.8125rem"}},void 0,e.referrer),(0,o.A)(qp.A,{align:"right",sx:{fontSize:"0.8125rem"}},void 0,e.sessions)))))))))};try{Qz.displayName="WebAnalyticsReport"}catch(e){}const Zz=Qz;var Kz,Xz,Jz,eU,tU,iU,oU;function aU(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function rU(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?aU(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):aU(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const nU={"percentile-by-semimonth":"advisor_performance_percentile_by_period","earnings-by-semimonth":"advisor_performance_earnings_by_period","performance-by-semimonth":"advisor_performance_semimonth","performance-by-month":"advisor_performance_month","performance-by-year":"advisor_performance_year"},sU=Object.assign(Object.create(null),rU({advisor_awards_summary:"awards",advisor_performance_current_prior:"current-vs-prior"},Object.fromEntries(Object.entries(nU).map(([e,t])=>[t,e])))),lU={"percentile-by-semimonth":[{value:"last_24_periods",label:"Last 24 Periods"},{value:"last_48_periods",label:"Last 48 Periods"},{value:"last_72_periods",label:"Last 72 Periods"},{value:"all_periods",label:"All"},{value:"custom",label:"Custom"}],"earnings-by-semimonth":[{value:"last_24_periods",label:"Last 24 Periods"},{value:"last_48_periods",label:"Last 48 Periods"},{value:"last_72_periods",label:"Last 72 Periods"},{value:"all_periods",label:"All"},{value:"custom",label:"Custom"}],"performance-by-semimonth":[{value:"last_24_periods",label:"Last 24 Periods"},{value:"last_48_periods",label:"Last 48 Periods"}
1,{value:"last_72_periods",label:"Last 72 Periods"},{value:"all_periods",label:"All"},{value:"custom",label:"Custom"}],"performance-by-month":[{value:"last_12_months",label:"Last 12 Months"},{value:"last_24_months",label:"Last 24 Months"},{value:"last_48_months",label:"Last 48 Months"},{value:"last_72_months",label:"Last 72 Months"},{value:"all_periods",label:"All"},{value:"custom",label:"Custom"}],"performance-by-year":[{value:"last_5_years",label:"Last 5 Years"},{value:"all_periods",label:"All"},{value:"custom",label:"Custom"}]},dU={"performance-by-semimonth":"Performance by Semimonth","performance-by-month":"Performance by Month","performance-by-year":"Performance by Year"},cU=e=>lU[e]?.[0]?.value||"last_24_periods",uU=ki.c9.local(2e3,1,1),mU=["awards","current-vs-prior","listings","goodies"],pU=["performance-by-semimonth","performance-by-month","performance-by-year"],hU=["listings","goodies"],gU=e=>{if(!e?.series)return[];return("string"==typeof e.series?JSON.parse(e.series):e.series).map(e=>{const t=e.name||"";return{date:t.includes(" - ")?t.split(" - ")[1]:t,value:e.y}}).reverse()},vU=()=>{const[e]=(0,s.ok)(),t=sU[e.get("report_list")]||"awards",[i,r]=(0,a.useState)(t),[n,l]=(0,a.useState)(cU(t)),[d,c]=(0,a.useState)(null),[u,m]=(0,a.useState)(null),[p,h]=(0,a.useState)(!1),v=(0,a.useRef)(),A=(0,Bh.useReactToPrint)({content:()=>v.current,pageStyle:"\n      @page { margin: 15mm; }\n      .no-print { display: none !important; }\n      .MuiDataGrid-root { overflow: visible !important; }\n      .MuiDataGrid-virtualScroller { overflow: visible !important; height: auto !important; }\n      .MuiDataGrid-virtualScrollerContent { height: auto !important; }\n      .MuiDataGrid-virtualScrollerRenderZone { position: relative !important; }\n    "}),y=mU.includes(i),f="custom"===n,b=!p&&(!f||f&&d&&u),{data:w,isLoading:x}=(0,oB.uf)({report_id:"advisor_awards_summary"},{skip:"awards"!==i}),{data:C,isLoading:k}=(0,oB.uf)({report_id:"advisor_performance_current_prior"},{skip:"current-vs-prior"!==i}),[S,{data:_,isFetching:N,isError:P}]=(0,oB.C0)();(0,a.useEffect)(()=>{P&&h(!1)},[P]),(0,a.useEffect)(()=>{mU.includes(t)||(S({report_id:nU[t],date_range:cU(t)}),h(!0))},[]);const T="awards"===i&&x||"current-vs-prior"===i&&k||N,F=d&&u?`${d.toFormat("MMM d, yyyy")} to ${u.toFormat("MMM d, yyyy")}`:"",I=lU[i]||[];return(0,o.A)(Kq.$,{dateAdapter:Xq.O},void 0,(0,o.A)(dt.A,{},void 0,Kz||(Kz=(0,o.A)(Ci.A,{title:"Performance Reports"})),a.createElement(g.A,{ref:v,px:{xs:2.5,sm:3},pt:{xs:2,sm:4},pb:10},(0,o.A)(no.Ay,{container:!0,spacing:1,alignItems:"center",mb:2},void 0,(0,o.A)(no.Ay,{item:!0,xs:12,sm:"auto",order:{xs:2,sm:1}},void 0,(0,o.A)(sB,{value:i,onChange:e=>{r(e),l(cU(e)),c(null),m(null),h(!1)}})),(0,o.A)(no.Ay,{item:!0,xs:12,sm:"auto",sx:{ml:{sm:"auto"},display:"flex",justifyContent:{xs:"flex-end",sm:"flex-start"}},order:{xs:1,sm:2}},void 0,(0,o.A)(W.A,{direction:"row",gap:1,className:"no-print"},void 0,pU.includes(i)&&p&&(0,o.A)(E.A,{variant:"text",size:"small",startIcon:Xz||(Xz=(0,o.A)(Jq.A,{})),onClick:()=>{const e=new URLSearchParams(rU(rU({report_id:nU[i],date_range:n},f&&d?{start_date:d.toISODate()}:{}),f&&u?{end_date:u.toISODate()}:{}));window.open(`/client_api/advisor_performance/report_data.csv?${e}`,"_blank")}},void 0,"Export to CSV"),(0,o.A)(E.A,{variant:"text",size:"small",startIcon:Jz||(Jz=(0,o.A)(tB.A,{})),onClick:A},void 0,"Print")))),!y&&(0,o.A)($.A,{variant:"outlined",className:"no-print",sx:{p:1.5,px:2.5,backgroundColor:"var(--color_fff)"}},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",gap:1.5,flexWrap:"wrap",width:"100%"},void 0,(0,o.A)(O.A,{variant:"body2",color:"text.secondary",sx:{whiteSpace:"nowrap"}},void 0,"Report on"),(0,o.A)(Kd.A,{size:"small",sx:{minWidth:160}},void 0,(0,o.A)(Jd.A,{size:"small",value:n,onChange:e=>{l(e.target.value),c(null),m(null),h(!1)},sx:{minHeight:"36px"}},void 0,I.map(e=>(0,o.A)(td.A,{value:e.value},e.value,e.label)))),f&&!p&&a.createElement(a.Fragment,null,(0,o.A)(Zq.l,{label:"From",value:d,onChange:c,minDate:uU,maxDate:ki.c9.now(),slotProps:{textField:{size:"small"}},sx:{maxWidth:160,"& .MuiInputBase-root":{minHeight:"36px"},"& .MuiInputLabel-root":{transform:"translate(14px, 6px) scale(1)"},"& .MuiInputLabel-shrink":{transform:"translate(14px, -9px) scale(0.75)"}}}),(0,o.A)(Zq.l,{label:"To",value:u,onChange:m,minDate:d||uU,maxDate:ki.c9.now(),slotProps:{textField:{size:"small"}},sx:{maxWidth:160,"& .MuiInputBase-root":{minHeight:"36px"},"& .MuiInputLabel-root":{transform:"translate(14px, 6px) scale(1)"},"& .MuiInputLabel-shrink":{transform:"translate(14px, -9px) scale(0.75)"}}})),f&&p&&(0,o.A)(O.A,{variant:"body2",color:"primary",sx:{cursor:"pointer"},onClick:()=>h(!1)},void 0,F),(0,o.A)(E.A,{variant:"contained",size:"small",disabled:!b||N,onClick:()=>{const e={report_id:nU[i],date_range:n};f&&d&&u&&(e.start_date=d.toISODate(),e.end_date=u.toISODate()),S(e),h(!0)},startIcon:p&&!N?eU||(eU=(0,o.A)(iB.A,{})):tU||(tU=(0,o.A)(eB.A,{}))},void 0,p&&!N?"Report Generated":"Generate Report"))),T&&(0,o.A)(g.A,{sx:{mt:4,display:"flex",flexDirection:"column",alignItems:"center",gap:1.5}},void 0,iU||(iU=(0,o.A)(Ql.A,{size:48})),(0,o.A)(O.A,{variant:"body1",sx:{color:"var(--color_gray_five)"}},void 0,y?"Loading...":"Generating Report")),!y&&P&&!N&&(0,o.A)(g.A,{sx:{mt:4,display:"flex",flexDirection:"column",alignItems:"center",gap:1.5}}
1,void 0,(0,o.A)(eB.A,{sx:{fontSize:48,color:"text.disabled"}}),oU||(oU=(0,o.A)(O.A,{variant:"body2",color:"error"},void 0,"Unable to generate report for the selected date range."))),!y&&!p&&!N&&!P&&(0,o.A)(g.A,{sx:{mt:4,display:"flex",flexDirection:"column",alignItems:"center",gap:1.5,color:"var(--color_gray_nine)"}},void 0,(0,o.A)(eB.A,{sx:{fontSize:48}}),(0,o.A)(O.A,{variant:"body1",sx:{color:"var(--color_gray_five)"}},void 0,"Select a period and click Generate Report to view your data.")),hU.includes(i)&&(0,o.A)(Zz,{type:i}),"awards"===i&&!x&&(0,o.A)(YB,{data:w}),"current-vs-prior"===i&&!k&&C&&(0,o.A)(g.A,{sx:{mt:3}},void 0,(0,o.A)(vz,{data:C})),"percentile-by-semimonth"===i&&p&&!N&&_&&(0,o.A)(g.A,{sx:{mt:3}},void 0,(0,o.A)(JB,{data:gU(_),type:"percentile",title:_.title||"Your earnings percentile by semimonth",subtitle:_.subtitle||"Example: 90 means you're in top 10% of Flirts this period.",yLabel:_.yLabel||"Earnings Percentile"})),"earnings-by-semimonth"===i&&p&&!N&&_&&(0,o.A)(g.A,{sx:{mt:3}},void 0,(0,o.A)(JB,{data:gU(_),type:"earnings",title:_.title||"Your total earnings by semimonth",yLabel:_.yLabel||"Total Earnings"})),["performance-by-semimonth","performance-by-month","performance-by-year"].includes(i)&&p&&!N&&_&&(0,o.A)(g.A,{sx:{mt:3}},void 0,(0,o.A)(Dz,{groupings:_.groupings,totals:_.totals,title:dU[i]})))))};try{vU.displayName="Reports"}catch(e){}const AU=vU,yU=(0,o.A)(n.qh,{path:"performance/reports",element:(0,o.A)(AU,{})});var fU,bU,wU=i(47501),xU=i(17388);const CU=({tabLabel:e,rightElement:t=null})=>(0,o.A)(As.A,{"data-test-id":"template-shell-header"},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",justifyContent:"space-between",width:"100%"},void 0,(0,o.A)(W.A,{direction:"row",alignItems:"center",spacing:1},void 0,fU||(fU=(0,o.A)(gs,{fallbackTo:"/account"})),bU||(bU=(0,o.A)(O.A,{variant:"purpleHeaderTitle"},void 0,"Featured Listings - Phone")),(0,o.A)(O.A,{variant:"purpleHeaderTitle"},void 0,`> ${e}`)),t&&(0,o.A)(W.A,{direction:"row",alignItems:"center"},void 0,t)));try{CU.displayName="FeaturedListingsHeader"}catch(e){}const kU=CU;var SU,_U,NU,PU,TU,FU=i(77769),IU=i(68981),EU=i(40968),MU=i(36718),OU=i(22085);function DU(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function RU(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?DU(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):DU(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const LU={totalClicks:"--",qualifiedClicks:"--",newCustomers:"--",transactions:"--",totalEarnings:"--",earningsPerClick:"--",totalCosts:"--",costPerClick:"--"},jU=[{id:"qualified-click",text:"*A click is considered qualified when a potential customer with valid payment has clicked on your Featured Listing."},{id:"results-availability",text:"**Results are only available for the past 6 months. Please note, however, that results data collection started January 24, 2013."}],qU=({description:e})=>{const[t,i]=(0,a.useState)(!1);return(0,o.A)(FU.x,{onClickAway:()=>i(!1)},void 0,(0,o.A)(g.A,{sx:{flex:"0 0 auto",display:{xs:"flex",sm:"none"},alignItems:"flex-start",pt:"2px"}},void 0,(0,o.A)(NP.A,{title:e,arrow:!0,placement:"left",open:t,onClose:()=>i(!1),disableHoverListener:!0,disableFocusListener:!0,disableTouchListener:!0,slotProps:{tooltip:{sx:{maxWidth:"220px !important",fontSize:"0.875rem",fontWeight:"normal",lineHeight:"18px"}}}},void 0,(0,o.A)(IU.A,{sx:{fontSize:18,color:"text.secondary",cursor:"pointer"},onClick:()=>i(e=>!e)}))))};try{qU.displayName="InfoTooltip"}catch(e){}const BU=({listing:e,timePeriod:t,data:i})=>(0,o.A)(g.A,{sx:{maxWidth:720}},void 0,(0,o.A)(O.A,{variant:"h6",sx:{mb:2}},void 0,`Overview for ${e} for ${t}`),(0,o.A)(g.A,{sx:{border:"1px solid",borderColor:"divider",borderRadius:2,overflow:"hidden"}},void 0,(e=>[{label:"Conversions",rows:[{metric:"Total Clicks",value:String(e.totalClicks),description:"Total count of all clicks on your Featured Listing."},{metric:"Qualified Clicks*",value:String(e.qualifiedClicks),description:"Count of qualified clicks on your Featured Listing."},{metric:"New FL customers",value:String(e.newCustomers),description:"New customers whose first contact with you was made after clicking your Featured Listing."}]},{label:"Earnings",rows:[{metric:"Transactions from FL Customers",value:String(e.transactions),description:"Transactions made during the specified time period by new or existing FL customers. Calls, mail, and one-time tributes are scoped to this listing; goodies, chat, subscriptions, and recurring tributes are included across all your FL customers."},{metric:"Total Earnings from Featured Listings Customers",value:e.totalEarnings,description:"Total money earned during the time period from transactions by new or existing FL customers."},{metric:"Total FL Earnings per Qualified Click",value:e.earningsPerClick,description:"The money you earned for this listing, on average, per qualified click."}]},{label:"Costs",rows:[{metric:"Total Costs from Qualified Clicks",value:e.totalCosts,description:"Total cost of featuring this listing for the time period."},{metric:"Cost per Qualified Click",value:e.costPerClick,description:"The average cost per qualified click to feature this listing."}]}])(i).map((e,t)=>(0,o.A)(g.A,{},e.label,(0,o.A)(g.A,{sx:{px:2,py:1,backgroundColor:"action.hover",borderTop:t>0?"1px solid":"none",borderColor:"divider"}},void 0,(0,o.A)(O.A,{variant:"subtitle2",sx:{fontWeight:700,fontSize:"0.8rem",textTransform:"uppercase",letterSpacing:.5,color:"text.secondary"}},void 0,e.label)),e.rows.map(e=>(0,o.A)(g.A,{sx:{display:"flex",alignItems:"flex-start",px:2,py:1.25,borderTop:"1px solid",borderColor:"divider","&:hover":{backgroundColor:"action.hover"}}},e.metric,(0,o.A)(O.A,{variant:"body2",sx:{flex:"1 1 0",minWidth:0,color:"text.primary",fontSize:"0.875rem",lineHeight:1.5,pt:"1px"}},void 0,e.metric),(0,o.A)(O.A,{variant:"body2",sx:{flex:"0 0 88px",textAlign:"right",fontWeight:600,fontSize:"0.875rem",color:"text.primary",lineHeight:1.5,pt:"1px",pr:2}},void 0,e.value),(0,o.A)(qU,{description:e.description}
1),(0,o.A)(O.A,{variant:"body2",sx:{display:{xs:"none",sm:"block"},flex:"0 0 300px",color:"text.secondary",fontSize:"0.8rem",lineHeight:1.5}},void 0,e.description)))))),(0,o.A)(g.A,{sx:{mt:2}},void 0,jU.map(e=>(0,o.A)(O.A,{variant:"caption",display:"block",sx:{color:"text.secondary",mb:.5,lineHeight:1.5}},e.id,e.text))));try{BU.displayName="OverviewTable"}catch(e){}const zU=e=>null!=e?`$${Number(e).toFixed(2)}`:"N/A",UU=({onPlaceBid:e=()=>{},timePeriod:t,onTimePeriodChange:i=()=>{}})=>{const[r,n]=(0,a.useState)(""),[s,l]=(0,a.useState)(()=>t?{time_period:t}:{}),{data:d,isLoading:c,isFetching:u}=(0,OU.lO)(s);(0,a.useEffect)(()=>{u||s.time_period!==t||d?.selectedTimePeriod&&d.selectedTimePeriod!==t&&(i(d.selectedTimePeriod),l(e=>e.time_period===d.selectedTimePeriod?e:RU(RU({},e),{},{time_period:d.selectedTimePeriod})))},[d?.selectedTimePeriod,t,s.time_period,u,i]);const m=d?.listings||[],p=d?.timePeriods||[],h=d?.data,v=h?{totalClicks:h.totalClicks,qualifiedClicks:h.qualifiedClicks,newCustomers:h.newCustomers,transactions:h.transactions,totalEarnings:zU(h.totalEarnings),earningsPerClick:zU(h.earningsPerClick),totalCosts:zU(h.totalCosts),costPerClick:zU(h.costPerClick)}:LU,A=s.listing_id||"",y=s.time_period,f=m.find(e=>(e.id||"")===A)?.label||"All Listings",b=p.find(e=>e.id===y)?.label||"";return(0,o.A)(g.A,{},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexDirection:{xs:"column",sm:"row"},alignItems:"flex-start",justifyContent:"space-between",mb:3,gap:2}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:2,order:{xs:2,sm:1}}},void 0,(0,o.A)(Kd.A,{size:"small",sx:{minWidth:180}},void 0,SU||(SU=(0,o.A)(BF.A,{id:"listing-label",shrink:!0},void 0,"Listing")),(0,o.A)(Jd.A,{labelId:"listing-label",value:r,label:"For Listing",onChange:e=>n(e.target.value),size:"small",displayEmpty:!0,sx:{minHeight:"44px",width:"300px"}},void 0,m.map(e=>(0,o.A)(td.A,{value:e.id||""},e.id||"all",e.label)))),(0,o.A)(Kd.A,{size:"small",sx:{minWidth:180}},void 0,_U||(_U=(0,o.A)(BF.A,{id:"period-label"},void 0,"Period")),(0,o.A)(Jd.A,{labelId:"period-label",value:t||"",label:"Time Period",onChange:e=>i(e.target.value),size:"small",sx:{minHeight:"44px"}},void 0,p.map(e=>(0,o.A)(td.A,{value:e.id},e.id,e.label)))),(0,o.A)(E.A,{variant:"contained",size:"small",onClick:()=>{const e={time_period:t};r&&(e.listing_id=r),l(e)},disabled:c},void 0,c?NU||(NU=(0,o.A)(cT.A,{size:16,color:"inherit"})):"View Overview")),(0,o.A)(W.A,{direction:"row",spacing:1,sx:{order:{xs:1,sm:2},whiteSpace:"nowrap",flexShrink:0,alignSelf:{xs:"flex-end",sm:"auto"}}},void 0,(0,o.A)(E.A,{variant:"text",size:"small",startIcon:PU||(PU=(0,o.A)(EU.A,{})),onClick:e},void 0,"Place/Edit Bid"),TU||(TU=(0,o.A)(E.A,{variant:"text",size:"small",component:"a",href:"https://support.niteflirt.com/hc/en-us/articles/212830788-Featured-Listings",target:"_blank",rel:"noopener noreferrer",startIcon:(0,o.A)(MU.A,{})},void 0,"Help")))),(0,o.A)(BU,{listing:f,timePeriod:b,data:v}))};try{UU.displayName="FeaturedTabOverview"}catch(e){}const $U=UU;var WU=i(11844);const GU=({message:e})=>(0,o.A)(g.A,{sx:{display:"flex",flexDirection:"column",alignItems:"center",py:8,gap:1.5}},void 0,(0,o.A)(WU.A,{sx:{fontSize:52,color:"text.disabled"}}),(0,o.A)(O.A,{variant:"subtitle1",sx:{color:"text.secondary",fontWeight:500}},void 0,e));try{GU.displayName="FeaturedEmptyState"}catch(e){}const HU=GU,YU=(e,t={})=>{const i=new URLSearchParams(Object.entries(t).filter(([,e])=>null!=e&&""!==e)).toString();return`/client_api/account/featured_listing_results/${e}.csv${i?`?${i}`:""}`},VU=(e,t)=>t?[...e].sort((e,i)=>{const o=e[t],a=i[t];return null==o&&null==a?0:null==o?1:null==a?-1:"number"==typeof o&&"number"==typeof a?a-o:String(o).localeCompare(String(a))}):e;var QU,ZU,KU,XU,JU,e$,t$,i$,o$,a$,r$,n$,s$,l$,d$,c$,u$;function m$(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}const p$=[{value:"title",label:"Title"},{value:"maxBid",label:"Max Bid"},{value:"position",label:"Your Current Position"},{value:"bidToBeFirst",label:"Bid To Be #1"},{value:"totalClicks",label:"Total Clicks"}
1,{value:"qualifiedClicks",label:"Qual. Clicks"},{value:"newCustomers",label:"New Customers"},{value:"earnings",label:"Earnings"},{value:"clickCharges",label:"Click Charges"},{value:"avgClickCharge",label:"Avg. Charge"}],h$=[{id:"position",text:"*Featured Listings positions will change as the bids, Listing Value Score, and availability of other listings change."},{id:"results",text:"**Results are only available for the past 6 months. Please note, however, that results data collection started January 24, 2013."}],g$=e=>null!=e?`$${Number(e).toFixed(2)}`:"N/A",v$=({listingId:e,label:t})=>{const i=(0,n.Zp)();return(0,o.A)(Ws.A,{component:"button",variant:"body2",onClick:()=>i(`/account/featured_listings/${e}/bid`),sx:{fontSize:"0.8125rem"}},void 0,t)};try{v$.displayName="GoToBidPageButton"}catch(e){}const A$=({row:e})=>e.featurable?e.hasBid?(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:.5}},void 0,(0,o.A)("span",{},void 0,g$(e.maxBid)),(0,o.A)(v$,{listingId:e.id,label:"Edit"})):(0,o.A)(v$,{listingId:e.id,label:"Place Bid"}):QU||(QU=(0,o.A)("span",{},void 0,"--"));try{A$.displayName="MaxBidCell"}catch(e){}const y$={fontSize:"0.8125rem","& .MuiDataGrid-cell:focus, & .MuiDataGrid-cell:focus-within":{outline:"none"},"& .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-columnHeader:focus-within":{outline:"none"},"& .MuiDataGrid-columnHeaders":{minHeight:"46px !important",maxHeight:"46px !important",lineHeight:"46px !important"},"& .MuiDataGrid-virtualScroller":{marginTop:"46px !important"},"& .MuiDataGrid-columnHeaderTitle":{color:"#06c"},"& .MuiDataGrid-columnHeader:not(.MuiDataGrid-columnHeader--sortable) .MuiDataGrid-columnHeaderTitle":{color:"var(--color_gray_six)"},"& .MuiDataGrid-iconButtonContainer":{display:"none"}},f$=({row:e})=>(0,o.A)(g.A,{sx:{fontSize:"0.875rem",color:"var(--body_color)",border:"1px solid",borderColor:"divider",py:1.5,px:2,display:"flex",flexDirection:"column",gap:.5,mb:1,"& strong":{fontWeight:"500",color:"var(--color_gray_six)",minWidth:"120px",display:"inline-block"}}},void 0,(0,o.A)(O.A,{variant:"body1",mb:1},void 0,e.title),(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:.5}},void 0,ZU||(ZU=(0,o.A)(O.A,{variant:"body2",component:"strong"},void 0,"Max Bid:")),(0,o.A)(A$,{row:e})),(0,o.A)(O.A,{variant:"body2"},void 0,KU||(KU=(0,o.A)("strong",{},void 0,"Current Position:"))," ",e.position),(0,o.A)(O.A,{variant:"body2"},void 0,XU||(XU=(0,o.A)("strong",{},void 0,"Bid To Be #1:"))," ",g$(e.bidToBeFirst)),(0,o.A)(O.A,{variant:"body2"},void 0,JU||(JU=(0,o.A)("strong",{},void 0,"Total Clicks:"))," ",e.totalClicks),(0,o.A)(O.A,{variant:"body2"},void 0,e$||(e$=(0,o.A)("strong",{},void 0,"Qual. Clicks:"))," ",e.qualifiedClicks),(0,o.A)(O.A,{variant:"body2"},void 0,t$||(t$=(0,o.A)("strong",{},void 0,"New Customers:"))," ",e.newCustomers),(0,o.A)(O.A,{variant:"body2"},void 0,i$||(i$=(0,o.A)("strong",{},void 0,"Earnings:"))," ",g$(e.earnings)),(0,o.A)(O.A,{variant:"body2"},void 0,o$||(o$=(0,o.A)("strong",{},void 0,"Click Charges:"))," ",g$(e.clickCharges)),(0,o.A)(O.A,{variant:"body2"},void 0,a$||(a$=(0,o.A)("strong",{},void 0,"Avg. Charge:"))," ",g$(e.avgClickCharge)));try{f$.displayName="ListingCard"}catch(e){}const b$=({labelId:e,timePeriods:t,timePeriod:i,onChange:a})=>(0,o.A)(Kd.A,{size:"small",sx:{minWidth:160}},void 0,(0,o.A)(BF.A,{id:e},void 0,"Results for"),(0,o.A)(Jd.A,{labelId:e,value:i||"",label:"Results for",onChange:a,size:"small",sx:{minHeight:"44px"}},void 0,t.map(e=>(0,o.A)(td.A,{value:e.id},e.id,e.label))));try{b$.displayName="PeriodSelect"}catch(e){}const w$=({timePeriod:e,onTimePeriodChange:t=()=>{}})=>{var i;const r=(0,Vs.A)(),n=(0,d_.A)(r.breakpoints.down("sm")),[s,l]=(0,a.useState)(e),[d,c]=(0,a.useState)(null),[m,p]=(0,a.useState)(0),[h,v]=(0,a.useState)(null),A=n?10:20,{data:y,isLoading:f,isFetching:b}=(0,OU.HQ)(function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?m$(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):m$(Object(i)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({page:m+1,per_page:A},s&&{time_period:s}));(0,a.useEffect)(()=>{b||y?.selectedTimePeriod&&y.selectedTimePeriod!==s&&(t(y.selectedTimePeriod),l(y.selectedTimePeriod))},[y?.selectedTimePeriod,s,b,t]);const w=y?.timePeriods||[],x=(0,a.useMemo)(()=>y?.listings||[],[y?.listings]),C=y?.pagination?.total||0,k=[{field:"title",headerName:"Title",description:"Listing Title",width:220,sortable:!1},{field:"maxBid",headerName:"Max Bid",description:"Your Current Max Bid",width:150,sortable:!1,renderCell:e=>(0,o.A)(A$,{row:e.row})},{field:"position",headerName:"Your Current Position*",width:160,sortable:!1},{field:"bidToBeFirst",headerName:"Bid To Be #1*",description:"Your Bid To Be #1*",width:120,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,g$(e.value))},{field:"totalClicks",headerName:"Total Clicks",description:"Total Clicks",width:100,sortable:!1},{field:"qualifiedClicks",headerName:"Qual. Clicks",description:"Qualified Clicks",width:100,sortable:!1},{field:"newCustomers",headerName:"New Customers",description:"New Featured Listing Customers",width:130,sortable:!1},{field:"earnings",headerName:"Earnings",description:"Earnings from FL Customers",width:110,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,g$(e.value))},{field:"clickCharges",headerName:"Click Charges",description:"Click Charges",width:110,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,g$(e.value))},{field:"avgClickCharge",headerName:"Avg. Charge",description:"Average Click Charge",width:110,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,g$(e.value))}],S=(0,a.useMemo)(()=>VU(x,d),[x,d]),_=(e,t)=>{p(t),setTimeout(()=>{const e=document.querySelector(".body-content");e&&e.scrollTo({top:0,behavior:"smooth"})},0)},N=e=>{t(e.target.value),l(e.target.value),p(0)};return(0,o.A)(g.A,{sx:{px:{xs:3,sm:4},py:{xs:1,sm:4}}},void 0,(0,o.A)(g.A,{sx:{display:{xs:"none",sm:"flex"},flexDirection:"row",alignItems:"flex-start",justifyContent:"space-between",mb:3,gap:2}},void 0,(0,o.A)(b$,{labelId:"period-label",timePeriods:w,timePeriod:s,onChange:N}),(0,o.A)(W.A,{direction:"row",spacing:1,sx:{whiteSpace:"nowrap",flexShrink:0}},void 0,(0,o.A)(E.A,{variant:"text",size:"small",component:"a",href:YU("listings",{time_period:s}),startIcon:c$||(c$=(0,o.A)(Jq.A,{}))},void 0,"Export to CSV"),u$||(u$=(0,o.A)(E.A,{variant:"text",size:"small",component:"a",href:"https://support.niteflirt.com/hc/en-us/articles/212830788-Featured-Listings",target:"_blank",rel:"noopener noreferrer",startIcon:(0,o.A)(MU.A,{})},void 0,"Help")))),f?(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",py:6}},void 0,r$||(r$=(0,o.A)(cT.A,{}))):x.length?n?(0,o.A)(g.A,{sx:{mb:3}},void 0,(0,o.A)(W.A,{direction:"row",spacing:1,sx:{justifyContent:"flex-end",mb:2}},void 0,(0,o.A)(E.A,{variant:"text",size:"small",component:"a",href:YU("listings",{time_period:s}),startIcon:s$||(s$=(0,o.A)(Jq.A,{}))},void 0,"Export to CSV"),l$||(l$=(0,o.A)(E.A,{variant:"text",size:"small",component:"a",href:"https://support.niteflirt.com/hc/en-us/articles/212830788-Featured-Listings",target:"_blank",rel:"noopener noreferrer",startIcon:(0,o.A)(MU.A,{})},void 0,"Help"))),(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2}},void 0,i||(i=(0,o.A)(b$,{labelId:"mobile-period-label",timePeriods:w,timePeriod:s,onChange:N})),(0,o.A)(NP.A,{title:"Sort"},void 0,(0,o.A)(M.A,{onClick:e=>v(e.currentTarget)},void 0,d$||(d$=(0,o.A)(MD.A,{}))))),(0,o.A)(ed.A,{anchorEl:h,open:Boolean(h),onClose:()=>v(null),anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},void 0,p$.map(e=>(0,o.A)(td.A,{selected:d===e.value,onClick:()=>{c(e.value),v(null)},sx:{fontSize:"0.875rem"}},e.value,e.label))),S.map(e=>(0,o.A)(f$,{row:e},e.id)),(0,o.A)(yz.A,{component:"div",count:C,page:m,onPageChange:_,rowsPerPage:10,rowsPerPageOptions:[10]})):(0,o.A)(g.A,{sx:{width:"100%"}},void 0,(0,o.A)(UN.z,{rows:x,columns:k,pageSize:20,rowsPerPageOptions:[20],paginationMode:"server",rowCount:C,page:m,onPageChange:e=>p(e),autoHeight:!0,disableSelectionOnClick:!0,disableColumnMenu:!0,density:"compact",sx:y$})):n$||(n$=(0,o.A)(HU,{message:"No Listing Details Found."})),(0,o.A)(g.A,{sx:{mt:2}},void 0,h$.map(e=>(0,o.A)(O.A,{variant:"caption",display:"block",sx:{color:"text.secondary",mb:.5,lineHeight:1.5}},e.id,e.text))))};try{w$.displayName="FeaturedTabListings"}catch(e){}const x$=w$;var C$,k$,S$,_$,N$,P$,T$,F$,I$,E$,M$,O$,D$,R$,L$,j$;const q$="true",B$=e=>null!=e?`$${Number(e).toFixed(2)}`:"--",z$=({listingId:e,maxBid:t=null})=>{const i=(0,n.Zp)();return null==t?(0,o.A)("span",{},void 0,B$(t)):(0,o.A)(Ws.A,{component:"button",variant:"body2",onClick:()=>i(`/account/featured_listings/${e}/bid`),sx:{fontSize:"0.8125rem"}},void 0,B$(t))};try{z$.displayName="MaxBidCell"}catch(e){}const U$={fontSize:"0.8125rem","& .MuiDataGrid-cell:focus, & .MuiDataGrid-cell:focus-within":{outline:"none"},"& .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-columnHeader:focus-within":{outline:"none"},"& .MuiDataGrid-columnHeaders":{minHeight:"46px !important",maxHeight:"46px !important",lineHeight:"46px !important"},"& .MuiDataGrid-virtualScroller":{marginTop:"46px !important"},"& .MuiDataGrid-columnHeaderTitle":{color:"#06c"},"& .MuiDataGrid-columnHeader:not(.MuiDataGrid-columnHeader--sortable) .MuiDataGrid-columnHeaderTitle":{color:"var(--color_gray_six)"},"& .MuiDataGrid-cell":{padding:"8px 10px"},"& .MuiDataGrid-iconButtonContainer":{display:"none"}},$$=({row:e,onListingClick:t,rankLabel:i})=>(0,o.A)(g.A,{sx:{fontSize:"0.875rem",color:"var(--body_color)",border:"1px solid",borderColor:"divider",py:1.5,px:2,display:"flex",flexDirection:"column",gap:.5,mb:1,"& strong":{fontWeight:"500",color:"var(--color_gray_six)",minWidth:"150px",display:"inline-block"}}},void 0,(0,o.A)(O.A,{variant:"body1",mb:1},void 0,(0,o.A)(Ws.A,{component:"button",variant:"body1",onClick:()=>t(e.id),sx:{textAlign:"left"}},void 0,e.title)),(0,o.A)(O.A,{variant:"body2"},void 0,C$||(C$=(0,o.A)("strong",{},void 0,"Listing Type:"))," ",e.status),(0,o.A)(O.A,{variant:"body2"},void 0,k$||(k$=(0,o.A)("strong",{},void 0,"Max Bid:"))," ",(0,o.A)(z$,{listingId:e.id,maxBid:e.maxBid})),(0,o.A)(O.A,{variant:"body2"},void 0,S$||(S$=(0,o.A)("strong",{},void 0,"Click Rate:"))," ",e.clickRate),(0,o.A)(O.A,{variant:"body2"},void 0,_$||(_$=(0,o.A)("strong",{},void 0,"Recent Cust. Conv.:"))," ",e.recentConversions),(0,o.A)(O.A,{variant:"body2"},void 0,N$||(N$=(0,o.A)("strong",{},void 0,"Cust. Conv.:"))," ",e.customerConversions),(0,o.A)(O.A,{variant:"body2"},void 0,P$||(P$=(0,o.A)("strong",{},void 0,"Cust. Retention:"))," ",e.customerRetention),(0,o.A)(O.A,{variant:"body2"},void 0,(0,o.A)("strong",{}
1,void 0,i,":")," ",e.topCatRank,e.topCatName&&(0,o.A)(O.A,{component:"span",variant:"caption",sx:{color:"text.secondary",ml:.5}},void 0,e.topCatName)));try{$$.displayName="ValueScoreCard"}catch(e){}const W$=()=>{const e=(0,Vs.A)(),t=(0,d_.A)(e.breakpoints.down("sm")),[i,r]=(0,a.useState)(!1),[n,l]=(0,a.useState)("all"),[d,c]=(0,a.useState)(q$),[u,m]=(0,a.useState)(null),[p,h]=(0,a.useState)(0),[v,A]=(0,a.useState)(null),[,y]=(0,s.ok)(),f=e=>y(t=>{const i=new URLSearchParams(t);return i.set("listing_id",e),i}),{data:b,isLoading:w}=(0,OU.pD)({category_type:d}),x=d===q$?"Top Cat Rank":"Sub Cat Rank",C=b?.topLevelCategoryName||"Top Category",k=(0,a.useMemo)(()=>b?.listings||[],[b?.listings]),S=(0,a.useMemo)(()=>"all"===n?k:k.filter(e=>e.status===n),[k,n]),_=((e,t,i,a)=>[{field:"title",headerName:"Title",description:"Your listing title.",width:200,sortable:!1,renderCell:e=>(0,o.A)(Ws.A,{component:"button",variant:"body2",onClick:()=>i(e.row.id),sx:{fontSize:"0.8125rem",textAlign:"left",display:"block",width:"100%"}},void 0,e.row.title)},{field:"status",headerName:"Status",width:130,sortable:!1,renderHeader:()=>(0,o.A)(Kd.A,{size:"small",sx:{minWidth:90}},void 0,(0,o.A)(Jd.A,{value:e,onChange:e=>t(e.target.value),size:"small",displayEmpty:!0,sx:{fontSize:"0.8125rem","& .MuiOutlinedInput-input":{padding:"4px 8px"},"& .MuiOutlinedInput-root":{minHeight:"unset"}}},void 0,(0,o.A)(td.A,{value:"all",sx:{fontSize:"0.8125rem"}},void 0,"All"),(0,o.A)(td.A,{value:"Live",sx:{fontSize:"0.8125rem"}},void 0,"Live"),(0,o.A)(td.A,{value:"Recorded",sx:{fontSize:"0.8125rem"}},void 0,"Recorded")))},{field:"maxBid",headerName:"Max Bid",description:"Your current maximum bid for this listing.",sortable:!1,renderCell:e=>(0,o.A)(z$,{listingId:e.row.id,maxBid:e.value})},{field:"clickRate",headerName:"Click Rate",description:"Click Rate - The percentage of users who click on your listing after seeing it.",sortable:!1},{field:"recentConversions",headerName:"Recent Cust. Conv.",description:"Recent Customer Conversions - Customers who found you through Featured Listings in the last 30 days.",width:130,sortable:!1},{field:"customerConversions",headerName:"Cust. Conv.",description:"Customer Conversions - Overall conversions from customers who found you through Featured Listings.",width:110,sortable:!1},{field:"customerRetention",headerName:"Cust. Retention",description:"Customer Retention - How well you retain customers who originally found you through Featured Listings.",width:110,sortable:!1},{field:"topCatRank",headerName:a,description:"Top Category Rank - Your ranking position within your top category.",sortable:!1,renderCell:e=>(0,o.A)(g.A,{},void 0,(0,o.A)(O.A,{variant:"body2",sx:{fontSize:"0.8125rem"}},void 0,e.row.topCatRank),e.row.topCatName&&(0,o.A)(O.A,{variant:"caption",display:"block",sx:{color:"text.secondary",fontSize:"0.75rem"}},void 0,e.row.topCatName))}])(n,l,f,x),N=(e=>[{value:"title",label:"Title"},{value:"maxBid",label:"Max Bid"},{value:"clickRate",label:"Click Rate"},{value:"recentConversions",label:"Recent Cust. Conv."},{value:"customerConversions",label:"Cust. Conv."},{value:"customerRetention",label:"Cust. Retention"},{value:"topCatRank",label:e}])(x),P=(0,a.useMemo)(()=>VU(S,u),[S,u]),T=(0,a.useMemo)(()=>P.slice(10*p,10*(p+1)),[P,p]);return(0,o.A)(g.A,{sx:{px:{xs:3,sm:4},py:{xs:3,sm:4}}},void 0,(0,o.A)(O.A,{variant:"body2",sx:{mb:.5,lineHeight:1.5,overflow:"hidden",display:"-webkit-box",WebkitLineClamp:i?"unset":2,WebkitBoxOrient:"vertical"}},void 0,"Your Featured Listing rank is determined by your current bid and your Listing Value Score (LVS). LVS is unique for each listing and is made up of several components. The components measure how well your listing performs against others in the Featured Listings sort. Essentially, we apply a score to your listing to measure its value within the sort and provide you with the percentile of how well each component is performing in comparison to others. The higher your LVS, the lower your bid amount will be to feature your listing in a top position! The results below give you insight into the different c
1omponents that make up your LVS."),(0,o.A)(g.A,{sx:{mb:{xs:1,sm:4}}},void 0,(0,o.A)(Ws.A,{component:"button",variant:"body3",onClick:()=>r(e=>!e)},void 0,i?"Collapse":"Expand to Read More")),(0,o.A)(g.A,{sx:{display:"flex",flexDirection:{xs:"column",sm:"row"},alignItems:"flex-start",justifyContent:"space-between",mb:1,gap:2}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:2,order:{xs:2,sm:1}}},void 0,(0,o.A)(Kd.A,{size:"small",sx:{minWidth:160}},void 0,T$||(T$=(0,o.A)(BF.A,{id:"category-label"},void 0,"Show results for")),(0,o.A)(Jd.A,{labelId:"category-label",value:d,label:"Show results for",size:"small",sx:{minHeight:"44px"},onChange:e=>c(e.target.value)},void 0,(0,o.A)(td.A,{value:q$},void 0,C),F$||(F$=(0,o.A)(td.A,{value:"false"},void 0,"Subcategories"))))),(0,o.A)(W.A,{direction:"row",spacing:1,sx:{order:{xs:1,sm:2},whiteSpace:"nowrap",flexShrink:0,alignSelf:{xs:"flex-end",sm:"auto"}}},void 0,I$||(I$=(0,o.A)(E.A,{variant:"text",size:"small",component:"a",href:"https://support.niteflirt.com/hc/en-us/articles/212830788-Featured-Listings",target:"_blank",rel:"noopener noreferrer",startIcon:(0,o.A)(MU.A,{})},void 0,"Help")))),(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2}},void 0,E$||(E$=(0,o.A)(O.A,{variant:"h6"},void 0,"Listing Value Score Metrics")),t&&(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:1}},void 0,(0,o.A)(Kd.A,{size:"small",sx:{minWidth:90}},void 0,(0,o.A)(Jd.A,{value:n,onChange:e=>{l(e.target.value),h(0)},size:"small",displayEmpty:!0,inputProps:{"aria-label":"Status"}},void 0,M$||(M$=(0,o.A)(td.A,{value:"all"},void 0,"All")),O$||(O$=(0,o.A)(td.A,{value:"Live"},void 0,"Live")),D$||(D$=(0,o.A)(td.A,{value:"Recorded"},void 0,"Recorded")))),(0,o.A)(NP.A,{title:"Sort"},void 0,(0,o.A)(M.A,{onClick:e=>A(e.currentTarget)},void 0,R$||(R$=(0,o.A)(MD.A,{})))),(0,o.A)(ed.A,{anchorEl:v,open:Boolean(v),onClose:()=>A(null),anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},void 0,N.map(e=>(0,o.A)(td.A,{selected:u===e.value,onClick:()=>{m(e.value),h(0),A(null)},sx:{fontSize:"0.875rem"}},e.value,e.label))))),w&&(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",py:6}},void 0,L$||(L$=(0,o.A)(cT.A,{}))),!w&&!S.length&&(j$||(j$=(0,o.A)(HU,{message:"No Value Score Details Found."}))),!w&&!!S.length&&t&&(0,o.A)(g.A,{},void 0,T.map(e=>(0,o.A)($$,{row:e,onListingClick:f,rankLabel:x},e.id)),(0,o.A)(yz.A,{component:"div",count:P.length,page:p,onPageChange:(e,t)=>
1{h(t),setTimeout(()=>{const e=document.querySelector(".body-content");e&&e.scrollTo({top:0,behavior:"smooth"})},0)},rowsPerPage:10,rowsPerPageOptions:[10]})),!w&&!!S.length&&!t&&(0,o.A)(g.A,{sx:{width:"100%"}},void 0,(0,o.A)(UN.z,{rows:S,columns:_,pageSize:20,rowsPerPageOptions:[20],autoHeight:!0,disableSelectionOnClick:!0,disableColumnMenu:!0,density:"compact",getRowHeight:()=>"auto",sx:U$})),(0,o.A)(g.A,{sx:{mt:2}},void 0,(0,o.A)(O.A,{variant:"caption",display:"block",sx:{color:"text.secondary",lineHeight:1.5}},void 0,"* Featured Listings positions will change as the bids, Listing Value Score, and availability of other listings change.")))};try{W$.displayName="FeaturedTabValueScore"}catch(e){}const G$=W$;var H$,Y$,V$,Q$,Z$,K$,X$,J$,eW,tW,iW,oW,aW,rW,nW,sW,lW,dW;function cW(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function uW(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?cW(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):cW(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const mW=[{id:"",label:"All Bids"},{id:"active",label:"Active Bids"},{id:"inactive",label:"Inactive Bids"}],pW=[{value:"id",label:"Bid ID"},{value:"listingTitle",label:"Listing Title"},{value:"maxBid",label:"Max Bid"},{value:"chargedAmount",label:"Charged Amount"},{value:"budget",label:"Budget"},{value:"budgetRemaining",label:"Budget Remaining"},{value:"status",label:"Status"},{value:"reason",label:"Reason"},{value:"created",label:"Created"},{value:"lastUpdated",label:"Last Updated"}],hW=e=>null!=e?`$${Number(e).toFixed(2)}`:"--",gW={fontSize:"0.8125rem","& .MuiDataGrid-cell:focus, & .MuiDataGrid-cell:focus-within":{outline:"none"},"& .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-columnHeader:focus-within":{outline:"none"},"& .MuiDataGrid-columnHeaders":{minHeight:"46px !important",maxHeight:"46px !important",lineHeight:"46px !important"},"& .MuiDataGrid-virtualScroller":{marginTop:"46px !important"},"& .MuiDataGrid-columnHeaderTitle":{color:"#06c"},"& .MuiDataGrid-columnHeader:not(.MuiDataGrid-columnHeader--sortable) .MuiDataGrid-columnHeaderTitle":{color:"var(--color_gray_six)"},"& .MuiDataGrid-iconButtonContainer":{display:"none"}},vW=({row:e})=>(0,o.A)(g.A,{sx:{fontSize:"0.875rem",color:"var(--body_color)",border:"1px solid",borderColor:"divider",py:1.5,px:2,display:"flex",flexDirection:"column",gap:.5,mb:1,"& strong":{fontWeight:"500",color:"var(--color_gray_six)",minWidth:"120px",display:"inline-block"}}},void 0,(0,o.A)(O.A,{variant:"body1",mb:1},void 0,e.listingTitle),(0,o.A)(O.A,{variant:"body2"},void 0,H$||(H$=(0,o.A)("strong",{},void 0,"Bid ID:"))," ",e.id),(0,o.A)(O.A,{variant:"body2"},void 0,Y$||(Y$=(0,o.A)("strong",{},void 0,"Max Bid:"))," ",hW(e.maxBid)),(0,o.A)(O.A,{variant:"body2"},void 0,V$||(V$=(0,o.A)("strong",{},void 0,"Charged Amount:"))," ",hW(e.chargedAmount)),null!=e.budget&&(0,o.A)(O.A,{variant:"body2"},void 0,Q$||(Q$=(0,o.A)("strong",{},void 0,"Budget:"))," ",hW(e.budget)),null!=e.budgetRemaining&&(0,o.A)(O.A,{variant:"body2"},void 0,Z$||(Z$=(0,o.A)("strong",{},void 0,"Budget Remaining:"))," ",hW(e.budgetRemaining)),(0,o.A)(O.A,{variant:"body2"},void 0,K$||(K$=(0,o.A)("strong",{},void 0,"Status:"))," ",e.status),e.reason&&(0,o.A)(O.A,{variant:"body2"},void 0,X$||(X$=(0,o.A)("strong",{},void 0,"Reason:"))," ",e.reason),(0,o.A)(O.A,{variant:"body2"},void 0,J$||(J$=(0,o.A)("strong",{},void 0,"Created:"))," ",e.created),(0,o.A)(O.A,{variant:"body2"},void 0,eW||(eW=(0,o.A)("strong",{},void 0,"Last Updated:"))," ",e.lastUpdated));try{vW.displayName="BidCard"}catch(e){}const AW=({timePeriod:e,onTimePeriodChange:t=()=>{}})=>{const i=(0,Vs.A)(),r=(0,d_.A)(i.breakpoints.down("sm")),[n,s]=(0,a.useState)(""),[l,d]=(0,a.useState)(""),[c,u]=(0,a.useState)(()=>e?{time_period:e}:{}),[m,p]=(0,a.useState)(null),[h,v]=(0,a.useState)(0),[A,y]=(0,a.useState)(null),f=r?10:20,{data:b,isLoading:w,isFetching:x}=(0,OU.as)(uW(uW({},c),{},{page:h+1,per_page:f}));(0,a.useEffect)(()=>{x||c.time_period!==e||b?.selectedTimePeriod&&b.selectedTimePeriod!==e&&(t(b.selectedTimePeriod),u(e=>e.time_period===b.selectedTimePeriod?e:uW(uW({},e),{},{time_period:b.selectedTimePeriod})))},[b?.selectedTimePeriod,e,c.time_period,x,t]);const C=b?.timePeriods||[],k=b?.listings||[],S=(0,a.useMemo)(()=>
1b?.bids||[],[b?.bids]),_=b?.pagination?.total||0,N=[{field:"id",headerName:"Bid ID",description:"Unique identifier for this bid.",width:120,sortable:!1},{field:"listingTitle",headerName:"Listing Title",description:"The title of the listing this bid is for.",width:160,sortable:!1},{field:"maxBid",headerName:"Max Bid",description:"The maximum amount you are willing to pay per qualified click.",width:90,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,hW(e.value))},{field:"chargedAmount",headerName:"Charged Amount",description:"The total amount charged for this bid during the time period.",width:130,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,hW(e.value))},{field:"budget",headerName:"Budget",description:"Your daily budget for this bid, if set.",width:90,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,null!=e.value?hW(e.value):"")},{field:"budgetRemaining",headerName:"Budget Remaining",description:"The remaining budget for this bid today.",width:140,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,null!=e.value?hW(e.value):"")},{field:"status",headerName:"Status",description:"Active bids are currently featured. Inactive bids are no longer running.",width:90,sortable:!1},{field:"reason",headerName:"Reason",description:"The reason this bid became inactive, if applicable.",width:120,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,e.value||"")},{field:"created",headerName:"Created",description:"The date and time this bid was created.",width:160,sortable:!1},{field:"lastUpdated",headerName:"Last Updated",description:"The date and time this bid was last updated.",width:160,sortable:!1}],P=`${mW.find(e=>e.id===l)?.label||"All Bids"} for ${k.find(e=>e.id===n)?.label||"All Listings"} for ${C.find(t=>t.id===e)?.label||""}`,T=(0,a.useMemo)(()=>VU(S,m),[S,m]),F=(e,t)=>{v(t),setTimeout(()=>{const e=document.querySelector(".body-content");e&&e.scrollTo({top:0,behavior:"smooth"})},0)};return(0,o.A)(g.A,{sx:{px:{xs:3,sm:4},py:{xs:1,sm:4}}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexDirection:{xs:"column",sm:"row"},alignItems:"flex-start",justifyContent:"space-between",mb:3,gap:2}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:2,order:{xs:2,sm:1}}},void 0,(0,o.A)(Kd.A,{size:"small",sx:{minWidth:180}},void 0,oW||(oW=(0,o.A)(BF.A,{id:"listing-label",shrink:!0},void 0,"Listing")),(0,o.A)(Jd.A,{labelId:"listing-label",value:n,label:"Listing",onChange:e=>s(e.target.value),size:"small",displayEmpty:!0,sx:{minHeight:"44px",width:"300px"}},void 0,k.map(e=>(0,o.A)(td.A,{value:e.id},e.id,e.label)))),(0,o.A)(Kd.A,{size:"small",sx:{minWidth:180}},void 0,aW||(aW=(0,o.A)(BF.A,{id:"bidtype-label",shrink:!0},void 0,"Bid Type")),(0,o.A)(Jd.A,{labelId:"bidtype-label",value:l,label:"Bid Type",onChange:e=>d(e.target.value),size:"small",displayEmpty:!0,sx:{minHeight:"44px"}},void 0,mW.map(e=>(0,o.A)(td.A,{value:e.id},e.id,e.label)))),(0,o.A)(Kd.A,{size:"small",sx:{minWidth:180}},void 0,rW||(rW=(0,o.A)(BF.A,{id:"period-label"},void 0,"Time Period")),(0,o.A)(Jd.A,{labelId:"period-label",value:e||"",label:"Time Period",onChange:e=>t(e.target.value),size:"small",sx:{minHeight:"44px"}},void 0,C.map(e=>(0,o.A)(td.A,{value:e.id},e.id,e.label)))),(0,o.A)(E.A,{variant:"contained",size:"small",onClick:()=>{u({listing_id:n||void 0,bid_type:l||void 0,time_period:e}),v(0)},disabled:w},void 0,w?nW||(nW=(0,o.A)(cT.A,{size:16})):"View Bids")),(0,o.A)(W.A,{direction:"row",spacing:1,sx:{order:{xs:1,sm:2},whiteSpace:"nowrap",flexShrink:0,alignSelf:{xs:"flex-end",sm:"auto"}}},void 0,(0,o.A)(E.A,{variant:"text",size:"small",component:"a",href:YU("bids",c),startIcon:sW||(sW=(0,o.A)(Jq.A,{}))},void 0,"Export to CSV"),lW||(lW=(0,o.A)(E.A,{variant:"text",size:"small",component:"a",href:"https://support.niteflirt.com/hc/en-us/articles/212830788-Featured-Listings",target:"_blank",rel:"noopener noreferrer",startIcon:(0,o.A)(MU.A,{})},void 0,"Help")))),(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:1.5}},void 0,(0,o.A)(O.A,{variant:"h6"},void 0,P),r&&a.createElement(a.Fragment,null,(0,o.A)(NP.A,{title:"Sort"},void 0,(0,o.A)(M.A,{onClick:e=>y(e.currentTarget)},void 0,dW||(dW=(0,o.A)(MD.A,{})))),(0,o.A)(ed.A,{anchorEl:A,open:Boolean(A),onClose:()=>y(null),anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},void 0,pW.map(e=>(0,o.A)(td.A,{selected:m===e.value,onClick:()=>{p(e.value),y(null)},sx:{fontSize:"0.875rem"}},e.value,e.label))))),w?(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",py:6}},void 0,tW||(tW=(0,o.A)(cT.A,{}
1))):S.length?r?(0,o.A)(g.A,{},void 0,T.map(e=>(0,o.A)(vW,{row:e},e.id)),(0,o.A)(yz.A,{component:"div",count:_,page:h,onPageChange:F,rowsPerPage:10,rowsPerPageOptions:[10]})):(0,o.A)(g.A,{sx:{width:"100%"}},void 0,(0,o.A)(UN.z,{rows:S,columns:N,pageSize:20,rowsPerPageOptions:[20],paginationMode:"server",rowCount:_,page:h,onPageChange:e=>v(e),autoHeight:!0,disableSelectionOnClick:!0,disableColumnMenu:!0,density:"compact",sx:gW})):iW||(iW=(0,o.A)(HU,{message:"No Bid Details Found."})),(0,o.A)(g.A,{sx:{mt:2}},void 0,(0,o.A)(O.A,{variant:"caption",display:"block",sx:{color:"text.secondary",lineHeight:1.5}},void 0,"* Results are only available for the past 6 months.")))};try{AW.displayName="FeaturedTabBids"}catch(e){}const yW=AW;var fW,bW,wW,xW,CW,kW,SW,_W,NW,PW,TW,FW,IW,EW,MW,OW,DW,RW,LW,jW=i(25716);function qW(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function BW(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?qW(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):qW(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const zW=[{id:"",label:"All Clicks"},{id:"qualified",label:"Qualified Clicks"},{id:"unqualified",label:"Unqualified Clicks"}],UW=[{value:"id",label:"Click ID"},{value:"bidId",label:"Bid ID"},{value:"listingTitle",label:"Listing Title"},{value:"click",label:"Click"},{value:"clickQualified",label:"Click Qualified"},{value:"reason",label:"Reason"},{value:"clickCharge",label:"Click Charge"},{value:"maxBid",label:"Max Bid"},{value:"customer",label:"Customer"},{value:"transaction",label:"Transaction"}],$W={"Qualified Click":"This click met all the requirements to be considered a qualified click and was charged to your account.","Unqualified Click":"This click did not meet the requirements to be a qualified click and was not charged.",Availability:"The advisor was not available at the time of the click.",Flirt:"This click came from a Flirt message and was not charged.","Recent Click":"This customer recently clicked your listing and was not charged again."},WW=e=>null!=e?`$${Number(e).toFixed(2)}`:"--",GW=({reason:e=""})=>{const[t,i]=(0,a.useState)(!1),r=$W[e];return r?(0,o.A)(FU.x,{onClickAway:()=>i(!1)},void 0,(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:.5}},void 0,(0,o.A)("span",{},void 0,e),(0,o.A)(NP.A,{title:r,arrow:!0,placement:"top",open:t,onClose:()=>i(!1),disableHoverListener:!0,disableFocusListener:!0,disableTouchListener:!0,slotProps:{tooltip:{sx:{maxWidth:"220px !important",fontSize:"0.8rem"}}}},void 0,(0,o.A)(jW.A,{sx:{fontSize:14,color:"text.secondary",cursor:"pointer",flexShrink:0},onClick:()=>i(e=>!e)})))):(0,o.A)("span",{},void 0,e||"--")};try{GW.displayName="ReasonCell"}catch(e){}const HW=({customer:e=null,customerUrl:t=null})=>e?t?(0,o.A)(Ws.A,{href:t},void 0,e):(0,o.A)("span",{},void 0,e):fW||(fW=(0,o.A)("span",{},void 0,"--"));try{HW.displayName="CustomerCell"}catch(e){}const YW={fontSize:"0.8125rem","& .MuiDataGrid-cell:focus, & .MuiDataGrid-cell:focus-within":{outline:"none"},"& .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-columnHeader:focus-within":{outline:"none"},"& .MuiDataGrid-columnHeaders":{minHeight:"46px !important",maxHeight:"46px !important",lineHeight:"46px !important"},"& .MuiDataGrid-virtualScroller":{marginTop:"46px !important"},"& .MuiDataGrid-columnHeaderTitle":{color:"#06c"},"& .MuiDataGrid-columnHeader:not(.MuiDataGrid-columnHeader--sortable) .MuiDataGrid-columnHeaderTitle":{color:"var(--color_gray_six)"},"& .MuiDataGrid-iconButtonContainer":{display:"none"}},VW=({row:e})=>(0,o.A)(g.A,{sx:{fontSize:"0.875rem",color:"var(--body_color)",border:"1px solid",borderColor:"divider",py:1.5,px:2,display:"flex",flexDirection:"column",gap:.5,mb:1,"& strong":{fontWeight:"500",color:"var(--color_gray_six)",minWidth:"120px",display:"inline-block"}}},void 0,(0,o.A)(O.A,{variant:"body1",mb:1},void 0,e.listingTitle),(0,o.A)(O.A,{variant:"body2"},void 0,bW||(bW=(0,o.A)("strong",{},void 0,"Click ID:"))," ",e.id),(0,o.A)(O.A,{variant:"body2"},void 0,wW||(wW=(0,o.A)("strong",{},void 0,"Bid ID:"))," ",e.bidId??"N/A"),(0,o.A)(O.A,{variant:"body2"},void 0,xW||(xW=(0,o.A)("strong",{},void 0,"Click:"))," ",e.click),(0,o.A)(O.A,{variant:"body2"},void 0,CW||(CW=(0,o.A)("strong",{},void 0,"Qualified:"))," ",e.clickQualified),(0,o.A)(O.A,{variant:"body2"},void 0,kW||(kW=(0,o.A)("strong",{},void 0,"Reason:"))," ",(0,o.A)(GW,{reason:e.reason})),(0,o.A)(O.A,{variant:"body2"},void 0,SW||(SW=(0,o.A)("strong",{},void 0,"Click Charge:"))," ",WW(e.clickCharge)),(0,o.A)(O.A,{variant:"body2"},void 0,_W||(_W=(0,o.A)("strong",{},void 0,"Max Bid:"))," ",WW(e.maxBid)),(0,o.A)(O.A,{variant:"body2"},void 0,NW||(NW=(0,o.A)("strong",{},void 0,"Customer:"))," ",(0,o.A)(HW,{customer:e.customer,customerUrl:e.customerUrl})),(0,o.A)(O.A,{variant:"body2"},void 0,PW||(PW=(0,o.A)("strong",{},void 0,"Transaction:"))," ",e.transaction||"--"));try{VW.displayName="ClickCard"}catch(e){}const QW=({timePeriod:e,onTimePeriodChange:t=()=>{}})=>{const i=(0,Vs.A)(),r=(0,d_.A)(i.breakpoints.down("sm")),[n,s]=(0,a.useState)(""),[l,d]=(0,a.useState)(""),[c,u]=(0,a.useState)(()=>e?{time_period:e}:{}),[m,p]=(0,a.useState)(null),[h,v]=(0,a.useState)(0),[A,y]=(0,a.useState)(null),f=r?10:20,{data:b,isLoading:w,isFetching:x}=(0,OU.Bh)(BW(BW({},c),{},{page:h+1,per_page:f}));(0,a.useEffect)(()=>{x||c.time_period!==e||b?.selectedTimePeriod&&b.selectedTimePeriod!==e&&(t(b.selectedTimePeriod),u(e=>
1e.time_period===b.selectedTimePeriod?e:BW(BW({},e),{},{time_period:b.selectedTimePeriod})))},[b?.selectedTimePeriod,e,c.time_period,x,t]);const C=b?.timePeriods||[],k=b?.listings||[],S=(0,a.useMemo)(()=>b?.clicks||[],[b?.clicks]),_=b?.pagination?.total||0,N=[{field:"id",headerName:"Click ID",description:"Unique identifier for this click.",width:110,sortable:!1},{field:"bidId",headerName:"Bid ID",description:"The bid associated with this click.",width:110,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,e.value??"N/A")},{field:"listingTitle",headerName:"Listing Title",description:"The title of the listing that was clicked.",width:140,sortable:!1},{field:"click",headerName:"Click",description:"The date and time of the click.",width:160,sortable:!1},{field:"clickQualified",headerName:"Click Qualified",description:"Whether this click was qualified and charged to your account.",width:110,sortable:!1},{field:"reason",headerName:"Reason",description:"The reason for the click qualification status.",width:170,sortable:!1,renderCell:e=>(0,o.A)(GW,{reason:e.value})},{field:"clickCharge",headerName:"Click Charge",description:"The amount charged for this click.",width:100,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,WW(e.value))},{field:"maxBid",headerName:"Max Bid",description:"Your maximum bid at the time of this click.",width:90,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,WW(e.value))},{field:"customer",headerName:"Customer",description:"Your login for self-clicks, a linked name for existing customers, or an anonymized identifier and join date otherwise.",width:140,sortable:!1,renderCell:e=>(0,o.A)(HW,{customer:e.value,customerUrl:e.row.customerUrl})},{field:"transaction",headerName:"Transaction",description:"Any transaction associated with this click.",width:110,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,e.value||"--")}],P=`${zW.find(e=>e.id===l)?.label||"All Clicks"} for ${k.find(e=>e.id===n)?.label||"All Listings"} for ${C.find(t=>t.id===e)?.label||""}`,T=(0,a.useMemo)(()=>VU(S,m),[S,m]),F=(e,t)=>{v(t),setTimeout(()=>{const e=document.querySelector(".body-content");e&&e.scrollTo({top:0,behavior:"smooth"})},0)};return(0,o.A)(g.A,{sx:{px:{xs:3,sm:4},py:{xs:1,sm:4}}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexDirection:{xs:"column",sm:"row"},alignItems:"flex-start",justifyContent:"space-between",mb:3,gap:2}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:2,order:{xs:2,sm:1}}},void 0,(0,o.A)(Kd.A,{size:"small",sx:{minWidth:180}},void 0,IW||(IW=(0,o.A)(BF.A,{id:"listing-label",shrink:!0},void 0,"Listing")),(0,o.A)(Jd.A,{labelId:"listing-label",value:n,label:"Listing",onChange:e=>s(e.target.value),size:"small",displayEmpty:!0,sx:{minHeight:"44px",width:"300px"}},void 0,k.map(e=>(0,o.A)(td.A,{value:e.id},e.id,e.label)))),(0,o.A)(Kd.A,{size:"small",sx:{minWidth:180}},void 0,EW||(EW=(0,o.A)(BF.A,{id:"clicktype-label",shrink:!0},void 0,"Click Type")),(0,o.A)(Jd.A,{labelId:"clicktype-label",value:l,label:"Click Type",onChange:e=>d(e.target.value),size:"small",displayEmpty:!0,sx:{minHeight:"44px"}},void 0,zW.map(e=>(0,o.A)(td.A,{value:e.id},e.id,e.label)))),(0,o.A)(Kd.A,{size:"small",sx:{minWidth:180}},void 0,MW||(MW=(0,o.A)(BF.A,{id:"period-label"},void 0,"Time Period")),(0,o.A)(Jd.A,{labelId:"period-label",value:e||"",label:"Time Period",onChange:e=>t(e.target.value),size:"small",sx:{minHeight:"44px"}},void 0,C.map(e=>(0,o.A)(td.A,{value:e.id},e.id,e.label)))),(0,o.A)(E.A,{variant:"contained",size:"small",onClick:()=>{u({listing_id:n||void 0,click_type:l||void 0,time_period:e}),v(0)},disabled:w},void 0,w?OW||(OW=(0,o.A)(cT.A,{size:16})):"View Clicks")),(0,o.A)(W.A,{direction:"row",spacing:1,sx:{order:{xs:1,sm:2},whiteSpace:"nowrap",flexShrink:0,alignSelf:{xs:"flex-end",sm:"auto"}}},void 0,(0,o.A)(E.A,{variant:"text",size:"small",component:"a",href:YU("clicks",c),startIcon:DW||(DW=(0,o.A)(Jq.A,{}))},void 0,"Export to CSV"),RW||(RW=(0,o.A)(E.A,{variant:"text",size:"small",component:"a",href:"https://support.niteflirt.com/hc/en-us/articles/212830788-Featured-Listings",target:"_blank",rel:"noopener noreferrer",startIcon:(0,o.A)(MU.A,{})},void 0,"Help")))),(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:1.5}},void 0,(0,o.A)(O.A,{variant:"h6"},void 0,P),r&&a.createElement(a.Fragment,null,(0,o.A)(NP.A,{title:"Sort"},void 0,(0,o.A)(M.A,{onClick:e=>y(e.currentTarget)},void 0,LW||(LW=(0,o.A)(MD.A,{})))),(0,o.A)(ed.A,{anchorEl:A,open:Boolean(A),onClose:()=>y(null),anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},void 0,UW.map(e=>(0,o.A)(td.A,{selected:m===e.value,onClick:()=>{p(e.value),y(null)},sx:{fontSize:"0.875rem"}},e.value,e.label))))),w?(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",py:6}},void 0,TW||(TW=(0,o.A)(cT.A,{}
1))):S.length?r?(0,o.A)(g.A,{},void 0,T.map(e=>(0,o.A)(VW,{row:e},e.id)),(0,o.A)(yz.A,{component:"div",count:_,page:h,onPageChange:F,rowsPerPage:10,rowsPerPageOptions:[10]})):(0,o.A)(g.A,{sx:{width:"100%"}},void 0,(0,o.A)(UN.z,{rows:S,columns:N,pageSize:20,rowsPerPageOptions:[20],paginationMode:"server",rowCount:_,page:h,onPageChange:e=>v(e),autoHeight:!0,disableSelectionOnClick:!0,disableColumnMenu:!0,density:"compact",sx:YW})):FW||(FW=(0,o.A)(HU,{message:"No Click Details Found."})),(0,o.A)(g.A,{sx:{mt:2}},void 0,(0,o.A)(O.A,{variant:"caption",display:"block",sx:{color:"text.secondary",lineHeight:1.5}},void 0,"* Results are only available for the past 6 months.")))};try{QW.displayName="FeaturedTabClicks"}catch(e){}const ZW=QW;var KW,XW,JW,eG,tG,iG,oG,aG,rG,nG,sG,lG,dG,cG,uG,mG;function pG(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function hG(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?pG(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):pG(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const gG=[{value:"transaction",label:"Transaction"},{value:"date",label:"Date"},{value:"customer",label:"Customer"},{value:"listingTitle",label:"Listing Title"},{value:"earnings",label:"Earnings"},{value:"clickId",label:"Click ID"}],vG=e=>null!=e?`$${Number(e).toFixed(2)}`:"--",AG=({row:e})=>e.transaction?e.transactionUrl?(0,o.A)(Ws.A,{href:e.transactionUrl,variant:"body2",sx:{fontSize:"0.8125rem"}},void 0,e.transaction):(0,o.A)("span",{style:{fontSize:"0.8125rem"}},void 0,e.transaction):KW||(KW=(0,o.A)("span",{},void 0,"--"));try{AG.displayName="TransactionLink"}catch(e){}const yG=({customer:e=null,customerUrl:t=null})=>e?t?(0,o.A)(Ws.A,{href:t},void 0,e):(0,o.A)("span",{},void 0,e):XW||(XW=(0,o.A)("span",{},void 0,"--"));try{yG.displayName="CustomerCell"}catch(e){}const fG={fontSize:"0.8125rem","& .MuiDataGrid-cell:focus, & .MuiDataGrid-cell:focus-within":{outline:"none"},"& .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-columnHeader:focus-within":{outline:"none"},"& .MuiDataGrid-columnHeaders":{minHeight:"46px !important",maxHeight:"46px !important",lineHeight:"46px !important"},"& .MuiDataGrid-virtualScroller":{marginTop:"46px !important"},"& .MuiDataGrid-columnHeaderTitle":{color:"#06c"},"& .MuiDataGrid-columnHeader:not(.MuiDataGrid-columnHeader--sortable) .MuiDataGrid-columnHeaderTitle":{color:"var(--color_gray_six)"},"& .MuiDataGrid-iconButtonContainer":{display:"none"}},bG=({row:e})=>(0,o.A)(g.A,{sx:{fontSize:"0.875rem",color:"var(--body_color)",border:"1px solid",borderColor:"divider",py:1.5,px:2,display:"flex",flexDirection:"column",gap:.5,mb:1,"& strong":{fontWeight:"500",color:"var(--color_gray_six)",minWidth:"120px",display:"inline-block"}}},void 0,(0,o.A)(O.A,{variant:"body1",mb:1},void 0,JW||(JW=(0,o.A)("strong",{},void 0,"Transaction:"))," ",(0,o.A)(AG,{row:e})),(0,o.A)(O.A,{variant:"body2"},void 0,eG||(eG=(0,o.A)("strong",{},void 0,"Date:"))," ",e.date),(0,o.A)(O.A,{variant:"body2"},void 0,tG||(tG=(0,o.A)("strong",{},void 0,"Customer:"))," ",(0,o.A)(yG,{customer:e.customer,customerUrl:e.customerUrl})),(0,o.A)(O.A,{variant:"body2"},void 0,iG||(iG=(0,o.A)("strong",{},void 0,"Listing Title:"))," ",e.listingTitle||"--"),(0,o.A)(O.A,{variant:"body2"},void 0,oG||(oG=(0,o.A)("strong",{},void 0,"Earnings:"))," ",vG(e.earnings)),(0,o.A)(O.A,{variant:"body2"},void 0,aG||(aG=(0,o.A)("strong",{},void 0,"Click ID:"))," ",e.clickId||"--"));try{bG.displayName="TransactionCard"}catch(e){}const wG=({timePeriod:e,onTimePeriodChange:t=()=>{}})=>{const i=(0,Vs.A)(),r=(0,d_.A)(i.breakpoints.down("sm")),[n,s]=(0,a.useState)(""),[l,d]=(0,a.useState)(()=>e?{time_period:e}:{}),[c,u]=(0,a.useState)(null),[m,p]=(0,a.useState)(0),[h,v]=(0,a.useState)(null),A=r?10:20,{data:y,isLoading:f,isFetching:b}=(0,OU.VP)(hG(hG({},l),{},{page:m+1,per_page:A}));(0,a.useEffect)(()=>{b||l.time_period!==e||y?.selectedTimePeriod&&y.selectedTimePeriod!==e&&(t(y.selectedTimePeriod),d(e=>e.time_period===y.selectedTimePeriod?e:hG(hG({},e),{},{time_period:y.selectedTimePeriod})))},[y?.selectedTimePeriod,e,l.time_period,b,t]);const w=y?.timePeriods||[],x=y?.listings||[],C=(0,a.useMemo)(()=>y?.transactions||[],[y?.transactions]),k=y?.pagination?.total||0,S=[{field:"transaction",headerName:"Transaction",description:"The type of transaction made by this customer.",width:180,sortable:!1,renderCell:e=>(0,o.A)(AG,{row:e.row})},{field:"date",headerName:"Date",description:"The date and time of the transaction.",width:160,sortable:!1},{field:"customer",headerName:"Customer",description:"The customer who made this transaction.",width:160,sortable:!1,renderCell:e=>(0,o.A)(yG,{customer:e.value,customerUrl:e.row.customerUrl})},{field:"listingTitle",headerName:"Listing Title",description:"The listing associated with this transaction, if applicable.",width:160,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,e.value||"--")},{field:"earnings",headerName:"Earnings",description:"The amount earned from this transaction.",width:100,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,vG(e.value))},{field:"clickId",headerName:"Click ID*",description:"The click that led to this transaction, if applicable.",width:110,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,e.value||"--")}],_=`All Transactions for ${x.find(e=>e.id===n)?.label||"All Listings"} for ${w.find(t=>
1t.id===e)?.label||""}`,N=(0,a.useMemo)(()=>VU(C,c),[C,c]),P=(e,t)=>{p(t),setTimeout(()=>{const e=document.querySelector(".body-content");e&&e.scrollTo({top:0,behavior:"smooth"})},0)};return(0,o.A)(g.A,{sx:{px:{xs:3,sm:4},py:{xs:1,sm:4}}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexDirection:{xs:"column",sm:"row"},alignItems:"flex-start",justifyContent:"space-between",mb:3,gap:2}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:2,order:{xs:2,sm:1}}},void 0,(0,o.A)(Kd.A,{size:"small",sx:{minWidth:180}},void 0,sG||(sG=(0,o.A)(BF.A,{id:"listing-label",shrink:!0},void 0,"Listing")),(0,o.A)(Jd.A,{labelId:"listing-label",value:n,label:"Listing",onChange:e=>s(e.target.value),size:"small",displayEmpty:!0,sx:{minHeight:"44px"}},void 0,x.map(e=>(0,o.A)(td.A,{value:e.id},e.id,e.label)))),(0,o.A)(Kd.A,{size:"small",sx:{minWidth:180}},void 0,lG||(lG=(0,o.A)(BF.A,{id:"period-label"},void 0,"Time Period")),(0,o.A)(Jd.A,{labelId:"period-label",value:e||"",label:"Time Period",onChange:e=>t(e.target.value),size:"small",sx:{minHeight:"44px"}},void 0,w.map(e=>(0,o.A)(td.A,{value:e.id},e.id,e.label)))),(0,o.A)(E.A,{variant:"contained",size:"small",onClick:()=>{d({listing_id:n||void 0,time_period:e}),p(0)},disabled:f},void 0,f?dG||(dG=(0,o.A)(cT.A,{size:16})):"View Transactions")),(0,o.A)(W.A,{direction:"row",spacing:1,sx:{order:{xs:1,sm:2},whiteSpace:"nowrap",flexShrink:0,alignSelf:{xs:"flex-end",sm:"auto"}}},void 0,(0,o.A)(E.A,{variant:"text",size:"small",component:"a",href:YU("transactions",l),startIcon:cG||(cG=(0,o.A)(Jq.A,{}))},void 0,"Export to CSV"),uG||(uG=(0,o.A)(E.A,{variant:"text",size:"small",component:"a",href:"https://support.niteflirt.com/hc/en-us/articles/212830788-Featured-Listings",target:"_blank",rel:"noopener noreferrer",startIcon:(0,o.A)(MU.A,{})},void 0,"Help")))),(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:1.5}},void 0,(0,o.A)(O.A,{variant:"h6"},void 0,_),r&&a.createElement(a.Fragment,null,(0,o.A)(NP.A,{title:"Sort"},void 0,(0,o.A)(M.A,{onClick:e=>v(e.currentTarget)},void 0,mG||(mG=(0,o.A)(MD.A,{})))),(0,o.A)(ed.A,{anchorEl:h,open:Boolean(h),onClose:()=>v(null),anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},void 0,gG.map(e=>(0,o.A)(td.A,{selected:c===e.value,onClick:()=>{u(e.value),v(null)},sx:{fontSize:"0.875rem"}},e.value,e.label))))),f?(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",py:6}},void 0,rG||(rG=(0,o.A)(cT.A,{}))):C.length?r?(0,o.A)(g.A,{},void 0,N.map(e=>(0,o.A)(bG,{row:e},e.id)),(0,o.A)(yz.A,{component:"div",count:k,page:m,onPageChange:P,rowsPerPage:10,rowsPerPageOptions:[10]})):(0,o.A)(g.A,{sx:{width:"100%"}},void 0,(0,o.A)(UN.z,{rows:C,columns:S,pageSize:20,rowsPerPageOptions:[20],paginationMode:"server",rowCount:k,page:m,onPageChange:e=>p(e),autoHeight:!0,disableSelectionOnClick:!0,disableColumnMenu:!0,density:"compact",sx:fG})):nG||(nG=(0,o.A)(HU,{message:"No Transaction Details Found."})),(0,o.A)(g.A,{sx:{mt:2}},void 0,(0,o.A)(O.A,{variant:"caption",display:"block",sx:{color:"text.secondary",lineHeight:1.5}},void 0,"* Results are only available for the past 6 months. Please note, however, that results data collection started January 24, 2013.")))};try{wG.displayName="FeaturedTabTransactions"}catch(e){}const xG=wG;var CG,kG,SG,_G,NG,PG,TG,FG,IG,EG,MG,OG,DG;function RG(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function LG(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?RG(Object(i),!0).forEach(function(t){(0,u.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):RG(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const jG=[{value:"customer",label:"Customer"},{value:"acquisitionDate",label:"Acquisition Date"},{value:"acquisitionListing",label:"Acquisition Listing"},{value:"lifetimeEarnings",label:"Lifetime Earnings"},{value:"lifetimeClickCharges",label:"Lifetime Click Charges"},{value:"calls",label:"Calls"},{value:"recorded",label:"Recorded"},{value:"mail",label:"Mail"},{value:"mailSent",label:"Mail Sent"},{value:"chat",label:"Chat"}],qG=e=>null!=e?`$${Number(e).toFixed(2)}`:"--",BG=({src:e,alt:t,description:i})=>(0,o.A)(NP.A,{title:i,arrow:!0,placement:"top",slotProps:{tooltip:{sx:{maxWidth:"180px !important",fontSize:"0.8rem"}}}}
1,void 0,(0,o.A)(g.A,{component:"span",sx:{display:"flex",alignItems:"center",cursor:"pointer"}},void 0,(0,o.A)("img",{src:e,alt:t,style:{width:18,height:18}})));try{BG.displayName="SvgIconHeader"}catch(e){}const zG=({customer:e=null,customerUrl:t=null})=>e?t?(0,o.A)(Ws.A,{href:t},void 0,e):(0,o.A)("span",{},void 0,e):CG||(CG=(0,o.A)("span",{},void 0,"--"));try{zG.displayName="CustomerCell"}catch(e){}const UG={fontSize:"0.8125rem","& .MuiDataGrid-cell:focus, & .MuiDataGrid-cell:focus-within":{outline:"none"},"& .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-columnHeader:focus-within":{outline:"none"},"& .MuiDataGrid-columnHeaders":{minHeight:"46px !important",maxHeight:"46px !important",lineHeight:"46px !important"},"& .MuiDataGrid-virtualScroller":{marginTop:"46px !important"},"& .MuiDataGrid-columnHeaderTitle":{color:"#06c"},"& .MuiDataGrid-columnHeader:not(.MuiDataGrid-columnHeader--sortable) .MuiDataGrid-columnHeaderTitle":{color:"var(--color_gray_six)"},"& .MuiDataGrid-iconButtonContainer":{display:"none"}},$G=({label:e,children:t})=>(0,o.A)(g.A,{sx:{display:"flex",gap:1}},void 0,(0,o.A)(O.A,{variant:"body2",sx:{fontWeight:500,color:"var(--color_gray_six)",minWidth:"130px",flexShrink:0}},void 0,e),(0,o.A)(O.A,{variant:"body2"},void 0,t));try{$G.displayName="Field"}catch(e){}const WG=({row:e})=>(0,o.A)(g.A,{sx:{fontSize:"0.875rem",color:"var(--body_color)",border:"1px solid",borderColor:"divider",py:1.5,px:2,display:"flex",flexDirection:"column",gap:.5,mb:1}},void 0,(0,o.A)(O.A,{variant:"body1",mb:1},void 0,(0,o.A)(zG,{customer:e.customer,customerUrl:e.customerUrl})),(0,o.A)($G,{label:"Acquisition Date:"},void 0,e.acquisitionDate),(0,o.A)($G,{label:"Acquisition Listing:"},void 0,e.acquisitionListing||"--"),(0,o.A)($G,{label:"Acquisition Click ID:"},void 0,e.acquisitionClickId||"--"),(0,o.A)($G,{label:"Lifetime Earnings:"},void 0,qG(e.lifetimeEarnings)),(0,o.A)($G,{label:"Lifetime Click Chrgs:"},void 0,qG(e.lifetimeClickCharges)),(0,o.A)($G,{label:"Calls:"},void 0,e.calls),(0,o.A)($G,{label:"Recorded:"},void 0,e.recorded),(0,o.A)($G,{label:"Mail:"},void 0,e.mail),(0,o.A)($G,{label:"Mail Sent:"},void 0,e.mailSent),(0,o.A)($G,{label:"Chat:"},void 0,e.chat));try{WG.displayName="CustomerCard"}catch(e){}const GG=({timePeriod:e,onTimePeriodChange:t=()=>{}})=>{const i=(0,Vs.A)(),r=(0,d_.A)(i.breakpoints.down("sm")),[n,s]=(0,a.useState)(()=>e?{time_period:e}:{}),[l,d]=(0,a.useState)(null),[c,u]=(0,a.useState)(0),[m,p]=(0,a.useState)(null),h=r?10:20,{data:v,isLoading:A,isFetching:y}=(0,OU.$W)(LG(LG({},n),{},{page:c+1,per_page:h}));(0,a.useEffect)(()=>{y||n.time_period!==e||v?.selectedTimePeriod&&v.selectedTimePeriod!==e&&(t(v.selectedTimePeriod),s(e=>e.time_period===v.selectedTimePeriod?e:LG(LG({},e),{},{time_period:v.selectedTimePeriod})))},[v?.selectedTimePeriod,e,n.time_period,y,t]);const f=v?.timePeriods||[],b=(0,a.useMemo)(()=>v?.customers||[],[v?.customers]),w=v?.pagination?.total||0,x=[{field:"customer",headerName:"Customer",description:"The customer who was acquired through your Featured Listing.",width:140,sortable:!1,renderCell:e=>(0,o.A)(zG,{customer:e.value,customerUrl:e.row.customerUrl})},{field:"acquisitionDate",headerName:"Acquisition Date",description:"The date and time this customer first clicked your Featured Listing.",width:150,sortable:!1},{field:"acquisitionListing",headerName:"Acquisition Listing",description:"The Featured Listing this customer clicked to find you.",width:180,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,e.value||"--")},{field:"acquisitionClickId",headerName:"Acquisition Click ID",description:"The click ID associated with this customer's acquisition.",width:150,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,e.value||"--")},{field:"lifetimeEarnings",headerName:"Lifetime Earnings",description:"Total earnings from this customer since acquisition.",width:130,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,qG(e.value))},{field:"lifetimeClickCharges",headerName:"Lifetime Click Charges",description:"Total click charges attributed to acquiring this customer.",width:160,sortable:!1,renderCell:e=>(0,o.A)("span",{},void 0,qG(e.value))},{field:"calls",width:60,sortable:!1,renderHeader:()=>kG||(kG=(0,o.A)(BG,{src:"/plus_frontend/assets/svg/ico-call.svg",alt:"Calls",description:"Number of calls with this customer."}))},{field:"recorded",width:60,sortable:!1,renderHeader:()=>SG||(SG=(0,o.A)(BG,{src:"/plus_frontend/assets/svg/ico-recorded-listings.svg",alt:"Recorded",description:"Number of recorded listing purchases by this customer."}))},{field:"mail",width:60,sortable:!1,renderHeader:()=>_G||(_G=(0,o.A)(BG,{src:"/plus_frontend/assets/svg/ico-mail.svg",alt:"Mail",description:"Number of mail messages from this customer."}))},{field:"mailSent",width:60,sortable:!1,renderHeader:()=>NG||(NG=(0,o.A)(BG,{src:"/plus_frontend/assets/svg/ico-mail-sent.svg",alt:"Mail Sent",description:"Number of mail messages sent to this customer."}))},{field:"chat",width:60,sortable:!1,renderHeader:()=>
1PG||(PG=(0,o.A)(BG,{src:"/plus_frontend/assets/svg/ico-chat.svg",alt:"Chat",description:"Number of chat sessions with this customer."}))}],C=f.find(t=>t.id===e)?.label||"",k=(0,a.useMemo)(()=>VU(b,l),[b,l]),S=(e,t)=>{u(t),setTimeout(()=>{const e=document.querySelector(".body-content");e&&e.scrollTo({top:0,behavior:"smooth"})},0)};return(0,o.A)(g.A,{sx:{px:{xs:3,sm:4},py:{xs:1,sm:4}}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexDirection:{xs:"column",sm:"row"},alignItems:"flex-start",justifyContent:"space-between",mb:3,gap:2}},void 0,(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:2,order:{xs:2,sm:1}}},void 0,(0,o.A)(Kd.A,{size:"small",sx:{minWidth:180}},void 0,IG||(IG=(0,o.A)(BF.A,{id:"period-label"},void 0,"Time Period")),(0,o.A)(Jd.A,{labelId:"period-label",value:e||"",label:"Time Period",onChange:e=>t(e.target.value),size:"small",sx:{minHeight:"44px"}},void 0,f.map(e=>(0,o.A)(td.A,{value:e.id},e.id,e.label)))),(0,o.A)(E.A,{variant:"contained",size:"small",onClick:()=>{s({time_period:e}),u(0)},disabled:A},void 0,A?EG||(EG=(0,o.A)(cT.A,{size:16})):"View Customers")),(0,o.A)(W.A,{direction:"row",spacing:1,sx:{order:{xs:1,sm:2},whiteSpace:"nowrap",flexShrink:0,alignSelf:{xs:"flex-end",sm:"auto"}}},void 0,(0,o.A)(E.A,{variant:"text",size:"small",component:"a",href:YU("customers",n),startIcon:MG||(MG=(0,o.A)(Jq.A,{}))},void 0,"Export to CSV"),OG||(OG=(0,o.A)(E.A,{variant:"text",size:"small",component:"a",href:"https://support.niteflirt.com/hc/en-us/articles/212830788-Featured-Listings",target:"_blank",rel:"noopener noreferrer",startIcon:(0,o.A)(MU.A,{})},void 0,"Help")))),(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:.5}},void 0,(0,o.A)(O.A,{variant:"h6"},void 0,`New Featured Listing Customers acquired ${C}`),r&&a.createElement(a.Fragment,null,(0,o.A)(NP.A,{title:"Sort"},void 0,(0,o.A)(M.A,{onClick:e=>p(e.currentTarget)},void 0,DG||(DG=(0,o.A)(MD.A,{})))),(0,o.A)(ed.A,{anchorEl:m,open:Boolean(m),onClose:()=>p(null),anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},void 0,jG.map(e=>(0,o.A)(td.A,{selected:l===e.value,onClick:()=>{d(e.value),p(null)},sx:{fontSize:"0.875rem"}},e.value,e.label))))),(0,o.A)(O.A,{variant:"caption",display:"block",sx:{color:"text.secondary",mb:2,lineHeight:1.5}},void 0,"Note: Earnings from customers acquired outside of Featured Listings (e.g. Top Available, Highest Rated, external call buttons) are not included"),A?(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",py:6}},void 0,TG||(TG=(0,o.A)(cT.A,{}))):b.length?r?(0,o.A)(g.A,{},void 0,k.map(e=>(0,o.A)(WG,{row:e},e.id)),(0,o.A)(yz.A,{component:"div",count:w,page:c,onPageChange:S,rowsPerPage:10,rowsPerPageOptions:[10]})):(0,o.A)(g.A,{sx:{width:"100%"}},void 0,(0,o.A)(UN.z,{rows:b,columns:x,pageSize:20,rowsPerPageOptions:[20],paginationMode:"server",rowCount:w,page:c,onPageChange:e=>u(e),autoHeight:!0,disableSelectionOnClick:!0,disableColumnMenu:!0,density:"compact",sx:UG})):FG||(FG=(0,o.A)(HU,{message:"No Customer Details Found."})),(0,o.A)(g.A,{sx:{mt:2}},void 0,(0,o.A)(O.A,{variant:"caption",display:"block",sx:{color:"text.secondary",lineHeight:1.5}},void 0,"* Results are only available for the past 6 months. Please note, however, that results data collection started January 24, 2013.")))};try{GG.displayName="FeaturedTabCustomers"}catch(e){}const HG=GG;var YG,VG,QG;const ZG=["Overview","Listings","Value Score","Bids","Clicks","Transactions","Customers"],KG=["overview","listings","value_score","bids","clicks","transactions","customers"],XG=ZG.length,JG="featuredListingsTimePeriod",eH=()=>{try{return sessionStorage.getItem(JG)||void 0}catch{return}};function tH({children:e=null,value:t,index:i,id:a,ariaLabelledBy:r}){return t!==i?null:(0,o.A)("div",{role:"tabpanel",id:a,"aria-labelledby":r},void 0,e)}try{tH.displayName="CustomTabPanel"}catch(e){}const iH=()=>{const[e,t]=(0,s.ok)(),[i,r]=(0,a.useState)(()=>(e=>{const t=KG.indexOf(e.get("tab"));return-1===t?0:t})(e)),[n,l]=(0,a.useState)(eH),d=(0,a.useCallback)(e=>{l(e);try{sessionStorage.setItem(JG,e)}catch{}},[]),c=e=>{r(e),t(t=>{const i=new URLSearchParams(t);return i.set("tab",KG[e]),i},{replace:!0})};return(0,o.A)(dt.A,{},void 0,(0,o.A)(kU,{tabLabel:ZG[i]}),(0,o.A)(g.A,{pt:1,pb:10,"data-test-id":"featured-listings-page"},void 0,(0,o.A)(g.A,{sx:{width:"100%"}},void 0,(0,o.A)(g.A,{sx:{borderBottom:1,borderColor:"divider",display:"flex",alignItems:"center"}},void 0,(0,o.A)(M.A,{size:"small",onClick:()=>
1c(0===i?XG-1:i-1),sx:{flexShrink:0},"aria-label":"Previous tab"},void 0,YG||(YG=(0,o.A)(wU.A,{}))),(0,o.A)(Cm.A,{value:i,onChange:(e,t)=>c(t),variant:"scrollable",scrollButtons:!1,sx:{flex:1,minWidth:0},"aria-label":"featured listings tabs"},void 0,ZG.map((e,t)=>(0,o.A)(xm.A,{label:e,id:`fl-tab-${t}`,"aria-controls":`fl-tabpanel-${t}`},e))),(0,o.A)(M.A,{size:"small",onClick:()=>c(i===XG-1?0:i+1),sx:{flexShrink:0},"aria-label":"Next tab"},void 0,VG||(VG=(0,o.A)(xU.A,{})))),(0,o.A)(tH,{value:i,index:0,id:"fl-tabpanel-0",ariaLabelledBy:"fl-tab-0"},void 0,(0,o.A)(g.A,{sx:{px:{xs:3,sm:4},py:{xs:1,sm:4}}},void 0,(0,o.A)($U,{onPlaceBid:()=>c(1),timePeriod:n,onTimePeriodChange:d}))),(0,o.A)(tH,{value:i,index:1,id:"fl-tabpanel-1",ariaLabelledBy:"fl-tab-1"},void 0,(0,o.A)(x$,{timePeriod:n,onTimePeriodChange:d})),(0,o.A)(tH,{value:i,index:2,id:"fl-tabpanel-2",ariaLabelledBy:"fl-tab-2"},void 0,QG||(QG=(0,o.A)(G$,{}))),(0,o.A)(tH,{value:i,index:3,id:"fl-tabpanel-3",ariaLabelledBy:"fl-tab-3"},void 0,(0,o.A)(yW,{timePeriod:n,onTimePeriodChange:d})),(0,o.A)(tH,{value:i,index:4,id:"fl-tabpanel-4",ariaLabelledBy:"fl-tab-4"},void 0,(0,o.A)(ZW,{timePeriod:n,onTimePeriodChange:d})),(0,o.A)(tH,{value:i,index:5,id:"fl-tabpanel-5",ariaLabelledBy:"fl-tab-5"},void 0,(0,o.A)(xG,{timePeriod:n,onTimePeriodChange:d})),(0,o.A)(tH,{value:i,index:6,id:"fl-tabpanel-6",ariaLabelledBy:"fl-tab-6"},void 0,(0,o.A)(HG,{timePeriod:n,onTimePeriodChange:d})))))};try{iH.displayName="FeaturedListings"}catch(e){}const oH=iH;var aH=i(12039);const rH=["Place Bid","Confirm"],nH=({activeStep:e})=>(0,o.A)(CM.A,{activeStep:e,sx:{"& .MuiStepLabel-label":{fontSize:"0.813rem"},"& .MuiStepConnector-line":{minWidth:16},"& .MuiStepIcon-text":{fontSize:"1rem"}}},void 0,rH.map(e=>(0,o.A)(kM.A,{},e,(0,o.A)(SM.A,{},void 0,e))));try{nH.displayName="StepperWidget"}catch(e){}const sH=nH;var lH,dH,cH,uH,mH,pH,hH,gH,vH,AH,yH,fH,bH,wH,xH,CH,kH,SH,_H;const NH=e=>null!=e?`$${Number(e).toFixed(2)}`:"$0.00",PH="We only allow your highest-ranked Featured Listing to appear on each category page so keep this in mind if you have more than one listing in a particular category.",TH=[{field:"bidToBeHere",headerName:"Your bid to be here*",flex:1,minWidth:130,renderCell:e=>(0,o.A)("span",{},void 0,e.row.isCurrent?"(Current Bid) ":"",NH(e.value))},{field:"position",headerName:"Position",width:80,type:"number",headerAlign:"left",align:"left"},{field:"flirt",headerName:"Flirt",flex:1,minWidth:140},{field:"listingTitle",headerName:"Listing Title",flex:2,minWidth:180},{field:"category",headerName:"Category",flex:1,minWidth:100}],FH={fontSize:"0.8125rem",border:"1px solid var(--color_ddd)",borderRadius:"4px",backgroundColor:"#fcf9e2","& .MuiDataGrid-columnHeaders":{backgroundColor:"transparent",borderBottom:"1px solid",borderColor:"divider"},"& .MuiDataGrid-columnHeaderTitle":{fontWeight:600,fontSize:"0.8125rem"},"& .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-columnHeader:focus-within":{outline:"none"},"& .MuiDataGrid-cell:focus, & .MuiDataGrid-cell:focus-within":{outline:"none"},"& .MuiDataGrid-cell":{fontSize:"0.8125rem",borderBottom:"1px solid",borderColor:"divider"},"& .current-row":{backgroundColor:"#f9ec9b","&:hover":{backgroundColor:"#f9ec9b"}}},IH=({row:e})=>(0,o.A)(g.A,{sx:{fontSize:"0.875rem",color:"var(--body_color)",border:"1px solid",borderColor:e.isCurrent?"#cc6":"divider",py:1.5,px:2,display:"flex",flexDirection:"column",gap:.5,mb:.25,backgroundColor:e.isCurrent?"#f9ec9b":"#fcf9e2","& strong":{fontWeight:"500",color:"var(--color_gray_six)",minWidth:"120px",display:"inline-block"}}},void 0,(0,o.A)(O.A,{variant:"body2",sx:{fontWeight:700}},void 0,e.listingTitle),(0,o.A)(O.A,{variant:"body2"},void 0,lH||(lH=(0,o.A)("strong",{},void 0,"Position:"))," ",e.position),(0,o.A)(O.A,{variant:"body2"},void 0,dH||(dH=(0,o.A)("strong",{},void 0,"Bid to be here:"))," ",e.isCurrent?"(Current Bid) ":"",NH(e.bidToBeHere)),(0,o.A)(O.A,{variant:"body2"},void 0,cH||(cH=(0,o.A)("strong",{},void 0,"Flirt:"))," ",e.flirt),(0,o.A)(O.A,{variant:"body2"},void 0,uH||(uH=(0,o.A)("strong",{},void 0,"Category:"))," ",e.category));try{IH.displayName="CompetitorCard"}catch(e){}const EH=({listing:e=null,competitors:t=[],categories:i=[],selectedCategoryId:r=null,onCategoryChange:n,maxBid:s,onMaxBidChange:l,bidExpiration:d,onBidExpirationChange:c,budgetAmount:u,onBudgetAmountChange:m,activeStep:p=0,mode:h="place",onContinue:v,onCancel:A,error:y=null})=>{const f=(0,Vs.A)(),b=(0,d_.A)(f.breakpoints.down("sm")),[w,x]=(0,a.useState)(0),C="edit"===h?"Edit Your Featured Listing Bid":"Place Your Featured Listing Bid",k="edit"===h?"Edit Your Bid for ":"Place Your Bid for ",S=e?.positions?.[0],_=e?.positions?.slice(1)||[];return(0,o.A)(g.A,{"data-test-id":"featured-listings-bid-page",sx:{px:{xs:3,sm:6},py:{xs:2,sm:3},background:"linear-gradient(to top, #fff, #eee)"}},void 0,(0,o.A)(g.A,{},void 0,(0,o.A)(g.A,{sx:{display:{xs:"flex",sm:"none"},justifyContent:"flex-end",mb:1.5}},void 0,(0,o.A)(sH,{activeStep:p})),(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2}},void 0,(0,o.A)(O.A,{variant:"h6"},void 0,C),(0,o.A)(g.A,{sx:{display:{xs:"none",sm:"block"}}},void 0,(0,o.A)(sH,{activeStep:p}))),y&&(0,o.A)(kp.A,{severity:"error",sx:{mb:1.5}},void 0,y),(0,o.A)($.A,{variant:"outlined",sx:{px:{xs:2,sm:3},py:{xs:1.5,sm:2},mb:1.5}},void 0,(0,o.A)(O.A,{variant:"subtitle1",sx:{mb:1.5}},void 0,(0,o.A)("span",{style:{color:"#666"}},void 0,k),'"',(N=e?.title||"").length>130?`${N.slice(0,130)}...`:N,'"'),(0,o.A)(g.A,{sx:{display:"flex",alignItems:{xs:"flex-start",sm:"center"},flexDirection:{xs:"column",sm:"row"},gap:{xs:1,sm:2},mb:1}},void 0,(0,o.A)(O.A,{variant:"body2",sx:{minWidth:210}},void 0,"Maximum Bid Per Qualified Click:"),(0,o.A)(ao.A,{size:"small",value:s,onChange:e=>l(e.target.value),InputProps:{startAdornment:bH||(bH=(0,o.A)(ro.A,{position:"start"},void 0,"$")),inputProps:{"aria-label":"Maximum Bid Per Qualified Click"}},sx:{width:140,"& .MuiOutlinedInput-root":{minHeight:"unset"}}})),(0,o.A)(O.A,{variant:"body2",sx:{fontWeight:700,mb:.5}},void 0,"Bid Expiration:"),(0,o.A)(Kd.A,{component:"fieldset"},void 0,(0,o.A)(aT.A,{value:d,onChange:e=>c(e.target.value)},void 0,(0,o.A)(Xd.A,{value:"no-expiration",control:(0,o.A)(oT.A,{size:"small",sx:{py:.5}}),label:wH||(wH=(0,o.A)(O.A,{variant:"body2"},void 0,"No Expiration - Use my bids to promote me whenever I'm available."))}),(0,o.A)(Xd.A,{value:"budget",control:(0,o.A)(oT.A,{size:"small",sx:{py:.5}}),label:xH||(xH=(0,o.A)(O.A,{variant:"body2"},void 0,"Budget - Promote me until I've spent a set amount"))}),"edit"===h&&(0,o.A)(Xd.A,{value:"cancel",control:(0,o.A)(oT.A,{size:"small",sx:{py:.5}}),label:CH||(CH=(0,o.A)(O.A,{variant:"body2"},void 0,"Cancel my bid now (Set my bid to $0.00)"))}))),"budget"===d&&(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:1,ml:4,mt:.5}},void 0,kH||(kH=(0,o.A)(O.A,{variant:"body2"},void 0,"Budget amount: $")),(0,o.A)(ao.A,{size:"small",value:u,onChange:e=>m(e.target.value),placeholder:"0.00",sx:{width:90,"& .MuiOutlinedInput-root":{minHeight:"unset"}}})),(0,o.A)(O.A,{variant:"caption",display:"block",sx:{color:"text.secondary",mt:1,mb:2}},void 0,"* Your balance must be at least three times your Maximum Bid. Your current balance is"," ",NH(e?.currentBalance)),(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"flex-end",gap:1.5}},void 0,(0,o.A)(E.A,{variant:"text",size:"small",onClick:A},void 0,"Back"),(0,o.A)(E.A,{variant:"contained",size:"small",onClick:v},void 0,"Continue"))),(0,o.A)($.A,{variant:"outlined",sx:{px:{xs:2,sm:3},py:{xs:1.5,sm:2},mb:1.5}},void 0,(0,o.A)(O.A,{variant:"body2",sx:{mb:1.5}},void 0,"Choose the Maximum Bid amount you are willing to pay for each Qualified Click from a potential customer. You'll only pay one cent more than the cost to place your listing one position below yours at the time of the click."),(()=>{const t=null!=e?.currentMaxBid?NH(e.currentMaxBid):"$0.00",i=_.length>0&&_.map(e=>(0,o.A)(O.A,{variant:"body2",sx:{mb:.25,display:"flex",alignItems:"center",gap:.5}},e.category,mH||(mH=(0,o.A)(aH.A,{fontSize:"small",color:"primary"})),e.position," ",e.category));return b?a.createElement(a.Fragment,null,(0,o.A)(O.A,{variant:"body2",sx:{mb:.25}},void 0,pH||(pH=(0,o.A)("strong",{},void 0,"Listing Title:"))," ",e?.title),(0,o.A)(O.A,{variant:"body2",sx:{mb:.25}},void 0,hH||(hH=(0,o.A)("strong",{},void 0,"Your Current Max Bid:"))," ",t),S&&i&&a.createElement(a.Fragment,null,(0,o.A)(O.A,{variant:"body2",sx:{mb:.25}},void 0,gH||(gH=(0,o.A)("strong",{},void 0,"Your Current Position By Category:")),vH||(vH=(0,o.A)(wi.A,{},void 0,PH))),(0,o.A)(O.A,{variant:"body2",sx:{mb:.25}},void 0,S.position," ",S.category),(0,o.A)(g.A,{sx:{pl:2}},void 0,i)),S&&!i&&(0,o.A)(O.A,{variant:"body2",sx:{mb:.25}},void 0,AH||(AH=(0,o.A)("strong",{},void 0,"Your Current Position By Category:")),yH||(yH=(0,o.A)(wi.A,{},void 0,PH))," ",S.position," ",S.category)):(0,o.A)(g.A,{sx:{display:"grid",gridTemplateColumns:"auto 1fr",columnGap:1.5,rowGap:.25,mb:.25}},void 0,(0,o.A)(O.A,{variant:"body2",sx:{fontWeight:700}},void 0,"Listing Title:"),(0,o.A)(O.A,{variant:"body2"},void 0,e?.title),(0,o.A)(O.A,{variant:"body2",sx:{fontWeight:700}},void 0,"Your Current Max Bid:"),(0,o.A)(O.A,{variant:"body2"},void 0,t),S&&a.createElement(a.Fragment,null,(0,o.A)(O.A,{variant:"body2",sx:{fontWeight:700}},void 0,"Your Current Position By Category:",fH||(fH=(0,o.A)(wi.A,{},void 0,PH))),(0,o.A)(O.A,{variant:"body2"},void 0,S.position," ",S.category)),i&&(0,o.A)(g.A,{sx:{gridColumn:"2 / 3"}},void 0,i))})(),(0,o.A)(O.A,{variant:"caption",display:"block",sx:{color:"text.secondary",mb:1.5}},void 0,"Featured Listings positions will change as the bids, Listing Value Score, and availability of other listings change."),i.length>0&&(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:1.5,flexWrap:"wrap"}},void 0,SH||(SH=(0,o.A)(O.A,{variant:"body2"},void 0,(0,o.A)("strong",{},void 0,"View By Category:"))),(0,o.A)(Kd.A,{size:"small",sx:{minWidth:160}},void 0,_H||(_H=(0,o.A)(BF.A,{id:"category-label"},void 0,"Category")),(0,o.A)(Jd.A,{labelId:"category-label",value:r||"",label:"Category",onChange:e=>n(e.target.value)},void 0,i.map(e=>(0,o.A)(td.A,{value:e.id},e.id,e.name)))))),(0,o.A)(g.A,{sx:{overflow:"hidden"}},void 0,(()=>{if(b){const e=t.slice(20*w,20*(w+1));return(0,o.A)(g.A,{},void 0,e.map(e=>(0,o.A)(IH,{row:e},e.id)),(0,o.A)(yz.A,{component:"div",count:t.length,page:w,onPageChange:(e,t)=>
1x(t),rowsPerPage:20,rowsPerPageOptions:[20]}))}return(0,o.A)(g.A,{sx:{width:"100%",overflowX:"auto"}},void 0,(0,o.A)(UN.z,{rows:t,columns:TH,autoHeight:!0,disableSelectionOnClick:!0,disableColumnMenu:!0,pageSize:20,rowsPerPageOptions:[20],density:"compact",getRowClassName:e=>e.row.isCurrent?"current-row":"",sx:FH}))})(),(0,o.A)(g.A,{sx:{px:2,py:1.5}},void 0,(0,o.A)(O.A,{variant:"caption",sx:{color:"text.secondary"}},void 0,"* Combined with your Listing Value Score, your Max Bid determines your listing's Featured Listing position.")))));var N};try{EH.displayName="PlaceBidPage"}catch(e){}const MH=EH;var OH,DH;const RH=({label:e,children:t})=>(0,o.A)(g.A,{sx:{display:"flex",alignItems:"flex-start",gap:2,mb:1.5}},void 0,(0,o.A)(O.A,{variant:"body2",sx:{fontWeight:700,minWidth:115,textAlign:"left",flexShrink:0}},void 0,e,":"),(0,o.A)(g.A,{},void 0,t));try{RH.displayName="ConfirmRow"}catch(e){}const LH=({data:e,activeStep:t=1,onConfirm:i,onCancel:a,submitting:r=!1})=>{const n=e?.positions?.[0],s=e?.positions?.slice(1)||[];return(0,o.A)(g.A,{"data-test-id":"featured-listings-confirm-page",sx:{px:{xs:3,sm:6},py:{xs:3,sm:4},background:"linear-gradient(to top, #fff, #eee)"}},void 0,(0,o.A)(g.A,{},void 0,(0,o.A)(g.A,{sx:{display:{xs:"flex",sm:"none"},justifyContent:"flex-end",mb:2}},void 0,(0,o.A)(sH,{activeStep:t})),(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:3}},void 0,OH||(OH=(0,o.A)(O.A,{variant:"h6"},void 0,"Confirm Your Featured Listing Bid")),(0,o.A)(g.A,{sx:{display:{xs:"none",sm:"block"}}},void 0,(0,o.A)(sH,{activeStep:t}))),(0,o.A)($.A,{variant:"outlined",sx:{p:{xs:2,sm:3},mb:2}},void 0,(0,o.A)(O.A,{variant:"body2",sx:{mb:3}},void 0,"Click 'Confirm Bid' to Feature your listing."),(0,o.A)(RH,{label:"Listing Title"},void 0,(0,o.A)(O.A,{variant:"body2"},void 0,e?.listingTitle)),(0,o.A)(RH,{label:"Maximum Bid"},void 0,(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:.75}},void 0,(0,o.A)(O.A,{variant:"body2"},void 0,e?.maximumBid),(0,o.A)(Ws.A,{href:"#",variant:"body2",onClick:e=>{e.preventDefault(),a()}},void 0,"Edit"))),(0,o.A)(RH,{label:"Budget"},void 0,(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:.75}},void 0,(0,o.A)(O.A,{variant:"body2"},void 0,e?.budget),(0,o.A)(Ws.A,{href:"#",variant:"body2",onClick:e=>{e.preventDefault(),a()}},void 0,"Edit"))),n&&(0,o.A)(RH,{label:"Featured Position"},void 0,(0,o.A)(O.A,{variant:"body2"},void 0,n.position," ",n.category),s.map(e=>(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:.5,mt:.25}},e.category,(0,o.A)(O.A,{variant:"body2",sx:{color:"text.secondary",fontSize:"0.75rem"}},void 0,"↳"),(0,o.A)(O.A,{variant:"body2"},void 0,e.position," ",e.category)))),(0,o.A)(g.A,{sx:{pl:{sm:"176px"},mb:3}},void 0,(0,o.A)(O.A,{variant:"caption",sx:{color:"text.secondary",lineHeight:1.5,display:"block"}},void 0,"Featured Listings positions will change as the bids, Listing Value Score, and availability of other listings change. It may take up to 30 seconds for your position to update on the site and up to 5 minutes on 1-800-TO-FLIRT.")),(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"flex-end",gap:1.5}},void 0,(0,o.A)(E.A,{variant:"text",size:"small",onClick:a,disabled:r},void 0,"Back"),(0,o.A)(E.A,{variant:"contained",size:"small",onClick:i,disabled:r},void 0,r?DH||(DH=(0,o.A)(cT.A,{size:16})):"Confirm Bid")))))};try{LH.displayName="ConfirmPage"}catch(e){}const jH=LH;var qH,BH,zH;const UH=({listingTitle:e="",activeStep:t=1,onConfirmCancel:i,onKeepBid:a,submitting:r=!1})=>(0,o.A)(g.A,{"data-test-id":"featured-listings-confirm-cancel-page",sx:{px:{xs:3,sm:6},py:{xs:3,sm:4},background:"linear-gradient(to top, #fff, #eee)"}},void 0,(0,o.A)(g.A,{},void 0,(0,o.A)(g.A,{sx:{display:{xs:"flex",sm:"none"},justifyContent:"flex-end",mb:2}},void 0,(0,o.A)(sH,{activeStep:t})),(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:3}},void 0,qH||(qH=(0,o.A)(O.A,{variant:"h6"},void 0,"Confirm Bid Cancellation")),(0,o.A)(g.A,{sx:{display:{xs:"none",sm:"block"}}},void 0,(0,o.A)(sH,{activeStep:t}))),(0,o.A)($.A,{variant:"outlined",sx:{p:{xs:2,sm:3},mb:2}},void 0,(0,o.A)(O.A,{variant:"body2",sx:{mb:2}},void 0,'To cancel your bid for "',e,'" click the "Cancel My Bid" button below.'),(0,o.A)(O.A,{variant:"body2",sx:{mb:3}},void 0,BH||(BH=(0,o.A)("strong",{},void 0,"Note:"))," ","Even without an active bid, your listing will appear in Featured Listings based on its Listing Value Score."),(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"flex-end",gap:1.5}},void 0,(0,o.A)(E.A,{variant:"text",size:"small",onClick:a,disabled:r},void 0,"Keep My Bid"),(0,o.A)(E.A,{variant:"contained",size:"small",onClick:i,disabled:r},void 0,r?zH||(zH=(0,o.A)(cT.A,{size:16})):"Cancel My Bid")))));try{UH.displayName="ConfirmCancelPage"}catch(e){}const $H=UH;var WH;const GH=e=>null!=e?`$${Number(e).toFixed(2)}`:"--",HH=({label:e,children:t})=>
1(0,o.A)(g.A,{sx:{display:"flex",alignItems:"flex-start",gap:2,mb:1.5}},void 0,(0,o.A)(O.A,{variant:"body2",sx:{fontWeight:700,minWidth:115,textAlign:"left",flexShrink:0}},void 0,e,":"),(0,o.A)(g.A,{},void 0,t));try{HH.displayName="ConfirmRow"}catch(e){}const YH=({data:e,activeStep:t=2,onFeatureAnother:i,onMyAccount:a,onViewResults:r,onEditBid:n})=>{const s=e?.positions?.[0],l=e?.positions?.slice(1)||[];return(0,o.A)(g.A,{"data-test-id":"featured-listings-bid-confirmed-page",sx:{px:{xs:3,sm:6},py:{xs:3,sm:4},background:"linear-gradient(to top, #fff, #eee)"}},void 0,(0,o.A)(g.A,{},void 0,(0,o.A)(g.A,{sx:{display:{xs:"flex",sm:"none"},justifyContent:"flex-end",mb:2}},void 0,(0,o.A)(sH,{activeStep:t})),(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:3}},void 0,WH||(WH=(0,o.A)(O.A,{variant:"h6"},void 0,"Featured Listing Bid Confirmed")),(0,o.A)(g.A,{sx:{display:{xs:"none",sm:"block"}}},void 0,(0,o.A)(sH,{activeStep:t}))),(0,o.A)($.A,{variant:"outlined",sx:{p:{xs:2,sm:3},mb:2}},void 0,(0,o.A)(O.A,{variant:"body2",sx:{mb:3}},void 0,"Congratulations! You have successfully set your Maximum Bid per Qualified Click."),(0,o.A)(HH,{label:"Listing Title"},void 0,(0,o.A)(O.A,{variant:"body2"},void 0,e?.listingTitle)),(0,o.A)(HH,{label:"Maximum Bid"},void 0,(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:.75}},void 0,(0,o.A)(O.A,{variant:"body2"},void 0,GH(e?.maximumBid)),(0,o.A)(Ws.A,{component:"button",variant:"body2",onClick:n},void 0,"Edit"))),(0,o.A)(HH,{label:"Budget"},void 0,(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:.75}},void 0,(0,o.A)(O.A,{variant:"body2"},void 0,null==e?.budget?"none":GH(e.budget)),(0,o.A)(Ws.A,{component:"button",variant:"body2",onClick:n},void 0,"Edit"))),s&&(0,o.A)(HH,{label:"Featured Position"},void 0,(0,o.A)(O.A,{variant:"body2"},void 0,s.position," ",s.category),l.map(e=>(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:.5,mt:.25}},e.category,(0,o.A)(O.A,{variant:"body2",sx:{color:"text.secondary",fontSize:"0.75rem"}},void 0,"↳"),(0,o.A)(O.A,{variant:"body2"},void 0,e.position," ",e.category)))),(0,o.A)(g.A,{sx:{pl:{sm:"176px"},mb:3}},void 0,(0,o.A)(O.A,{variant:"caption",sx:{color:"text.secondary",lineHeight:1.5,display:"block"}},void 0,"Featured Listings positions will change as the bids, Listing Value Score, and availability of other listings change. It may take up to 30 seconds for your position to update on the site and up to 5 minutes on 1-800-TO-FLIRT.")),(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",justifyContent:"flex-end",gap:1.5}},void 0,(0,o.A)(E.A,{variant:"text",size:"small",onClick:a},void 0,"Account"),(0,o.A)(E.A,{variant:"text",size:"small",onClick:r},void 0,"Featured Listing Results"),(0,o.A)(E.A,{variant:"contained",size:"small",onClick:i},void 0,"Feature Another Listing")))))};try{YH.displayName="ConfirmSuccessPage"}catch(e){}const VH=YH;var QH,ZH;const KH=.01,XH=()=>{const{listingId:e}=(0,n.g)(),t=parseInt(e,10),i=(0,n.Zp)(),r=(0,a.useRef)(!1),[s,l]=(0,a.useState)(0),[d,c]=(0,a.useState)("0.00"),[u,m]=(0,a.useState)("no-expiration"),[p,h]=(0,a.useState)(""),[v,A]=(0,a.useState)(null),[y,f]=(0,a.useState)(!1),[b,w]=(0,a.useState)(!1),[x,C]=(0,a.useState)(null),[k,S]=(0,a.useState)(null),[_,N]=(0,a.useState)(null),{data:P,isLoading:T,isError:F}=(0,OU.Mv)({listing_id:t,category_id:v||void 0}),[I]=(0,OU.Xp)(),[E]=(0,OU.EA)();(0,a.useEffect)(()=>{f(!1),l(0),c("0.00"),m("no-expiration"),h(""),A(null),S(null),C(null)},[e]),(0,a.useEffect)(()=>{P&&!y&&(null!=P.listing?.currentMaxBid&&c(P.listing.currentMaxBid.toFixed(2)),P.categories?.length>0&&A(P.categories[0].id),f(!0))},[P,y]);const M=()=>{if("cancel"===u)return C(null),S(null),void l(1);const e=parseFloat(d);if(!d||Number.isNaN(e)||e<KH)return c(KH.toFixed(2)),void C("We're sorry, but you need to enter an amount greater than or equal to $0.01");if("budget"===u){const e=parseFloat(p);if(!p||Number.isNaN(e)||e<KH)return h(KH.toFixed(2)),void C("We're sorry, but you need to enter a Budget amount greater than or equal to $0.01")}C(null),S(null),l(1)},O=async()=>{if(r.current)return;r.current=!0,w(!0),S(null);const e="budget"===u&&p?parseFloat(p):null;try{const i=await I({listing_id:t,max_bid:parseFloat(d),budget:e}).unwrap();i.success?(N(i),l(2)):(S((i.errors||[]).join(" ")),l(0))}catch(e){const t=e?.data?.errors;S(Array.isArray(t)?t.join(" "):"Something went wrong. Please try again."),l(0)}finally{r.current=!1,w(!1)}},D=async()=>
1{if(!r.current){r.current=!0,w(!0),S(null);try{await E({listing_id:t}).unwrap(),window.location.href="/account"}catch{S("Something went wrong cancelling your bid. Please try again."),l(0),w(!1),r.current=!1}}},R=()=>{0===s?i("/account/featured_listings?tab=listings"):l(0)},L=P?.listing?.hasBid?"edit":"place",j=x||k;return(0,o.A)(dt.A,{},void 0,(()=>{if(T)return(0,o.A)(g.A,{sx:{display:"flex",justifyContent:"center",py:8}},void 0,QH||(QH=(0,o.A)(cT.A,{})));if(F)return(0,o.A)(g.A,{sx:{px:4,py:4}},void 0,ZH||(ZH=(0,o.A)(kp.A,{severity:"error"},void 0,"Unable to load this listing. Please go back and try again.")));if(0===s)return(0,o.A)(MH,{listing:P?.listing,competitors:P?.competitors||[],categories:P?.categories||[],selectedCategoryId:v,onCategoryChange:A,maxBid:d,onMaxBidChange:c,bidExpiration:u,onBidExpirationChange:m,budgetAmount:p,onBudgetAmountChange:h,activeStep:0,mode:L,onContinue:M,onCancel:R,error:j});if(1===s&&"cancel"===u)return(0,o.A)($H,{listingTitle:P?.listing?.title||"",activeStep:1,onConfirmCancel:D,onKeepBid:()=>l(0),submitting:b});if(1===s){const e="budget"===u&&p?`$${parseFloat(p).toFixed(2)}`:"none";
1return(0,o.A)(jH,{data:{listingTitle:P?.listing?.title||"",maximumBid:`$${parseFloat(d).toFixed(2)}`,budget:e,positions:P?.listing?.positions||[]},activeStep:1,onConfirm:O,onCancel:()=>l(0),submitting:b})}return 2===s?(0,o.A)(VH,{data:_,activeStep:2,onFeatureAnother:()=>i("/account/featured_listings?tab=listings"),onMyAccount:()=>{window.location.href="/account"},onViewResults:()=>i("/account/featured_listings"),onEditBid:()=>{l(0),N(null)}}):null})())};try{XH.displayName="PlaceBidFlow"}catch(e){}const JH=XH,eY=a.createElement(a.Fragment,null,(0,o.A)(n.qh,{path:"account/featured_listings",element:(0,o.A)(oH,{})}),(0,o.A)(n.qh,{path:"account/featured_listings/:listingId/bid",element:(0,o.A)(JH,{})})),tY=()=>(0,a.useMemo)(()=>Y_()?.vibe||null,[]),iY=[{key:"chat",label:"Chat",path:"chat"},{key:"phone",label:"Phone",path:"phone"},{key:"cam",label:"Cam",path:"cam"}],oY={phone:{categoryKey:"phoneCategoryId",title:"Flirts taking calls now"},cam:{categoryKey:"camCategoryId",title:"Flirts on cam, right now"}},aY=({title:e})=>(0,o.A)(g.A,{"data-testid":"vibe-results-header"},void 0,(0,o.A)(g.A,{sx:{display:"flex",alignItems:"baseline",gap:2}},void 0,(0,o.A)(O.A,{variant:"h5",component:"h1",sx:{flexGrow:1}},void 0,e),(0,o.A)(g.A,{sx:{display:"flex",alignItems:"center",gap:.75,flexShrink:0}},void 0,(0,o.A)(g.A,{sx:e=>({width:e.spacing(1),height:e.spacing(1),borderRadius:"50%",backgroundColor:e.palette.customGreen.main})}),(0,o.A)(O.A,{variant:"subtitle2",sx:{color:"customGreen.main"}},void 0,"Live now"))),(0,o.A)(O.A,{variant:"caption",component:"p",sx:{pt:1}},void 0,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."));try{aY.displayName="VibeResultsHeader"}catch(e){}const rY=aY,nY=({slug:e,pills:t,activePill:i})=>{const r=iY.filter(e=>t[e.key]);return r.length<2?null:(0,o.A)(g.A,{sx:{display:"flex",gap:1,pt:1.5,pb:2},"data-testid":"vibe-pills"},void 0,r.map(t=>{const o=t.key===i,r=o?{component:"div","aria-current":"page"}:{component:"a",href:`/vibes/${e}/${t.path}`,clickable:!0};return a.createElement(U.A,(0,De.A)({key:t.key,label:t.label,color:o?"secondary":"default",variant:o?"filled":"outlined"},r))}))};try{nY.displayName="VibePills"}catch(e){}const sY=nY,lY=({rows:e})=>{const t=(0,x.u)("CHAT_STATUS_REALTIME_26748")?"vibe_chat":null;return(0,kC.A)(e.map(e=>e.user_id).filter(Boolean),{cacheKey:t}),(0,o.A)(g.A,{sx:e=>({display:"flex",flexWrap:"wrap",gap:{xs:.75,sm:1.25},justifyContent:"flex-start",[e.breakpoints.down("md")]:{justifyContent:"center"},pt:{xs:2.5,sm:3.5},pb:4}),"data-testid":"vibe-chat-results"},void 0,e.map(e=>(0,o.A)(g.A,{sx:{width:"330px",flex:"0 0 330px"}},`vibe_chat_listing_${e.id}`,(0,o.A)(sN.A,{advisorLogin:e.login,listing:e,cacheKey:t,linkless:!0}))))};try{lY.displayName="VibeChatResults"}catch(e){}const dY=lY;var cY,uY;const mY=()=>{const e=tY(),[t,i]=(0,a.useState)(1),[r,n]=(0,a.useState)([]),s="chat_browse"===e?.chatSource,l=(0,x.u)("CHAT_PROFILES_CATEGORIES_27037",{pending:!0}),d=s||l,c=d&&t>1?r[t-2]:void 0,u=!(!e||1!==t&&d&&void 0===c),m=(0,k.rw)({category:e?.chatCategoryId,page:t,listingType:3,sort:1,cursor:c},{skip:!u||s}),[p,h]=(0,k.UH)();(0,a.useEffect)(()=>{u&&s&&p({page:t,cursor:c})},[u,s,t,c,p]);const v=s?(e=>e?{rows:e.chat_profiles||[],hasNext:e.has_next,hasPrevious:e.has_previous,nextCursor:e.next_cursor}:null)(h.data):(e=>e?{rows:e.listings||[],hasNext:e.hasNext,hasPrevious:e.hasPrevious,nextCursor:e.nextCursor}:null)(m.data),A=s?h.isLoading:m.isFetching;return(0,a.useEffect)(()=>{v?.nextCursor&&n(e=>{const i=[...e];return i[t-1]=v.nextCursor,i})},[v?.nextCursor,t]),e?(0,o.A)(dt.A,{className:"body-vibe-results"},void 0,(0,o.A)(g.A,{sx:{maxWidth:{xs:"1050px",md:"1138px"},margin:"0 auto",px:{xs:2,sm:3},pt:3}},void 0,(0,o.A)(g.A,{sx:{px:{md:"44px"}}},void 0,cY||(cY=(0,o.A)(rY,{title:"Sexting partners, online now"})),(0,o.A)(sY,{slug:e.slug,pills:e.pills,activePill:"chat"})),A&&(uY||(uY=(0,o.A)(dN.A,{}))),!A&&v&&a.createElement(a.Fragment,null,(0,o.A)(IC.A,{top:300,maxWidth:"100%",arrowStyles:{prev:{left:-25,top:{xs:-40,sm:-20}},next:{right:-15,top:{xs:-40,sm:-20}}}},void 0,(v.hasNext||v.hasPrevious)&&(0,o.A)(EC.A,{hasNext:v.hasNext,page:t,onChange:(e,t)=>
1i(t)})),(0,o.A)(g.A,{sx:{px:{md:"44px"}}},void 0,0===v.rows.length?(0,o.A)(O.A,{sx:{py:4},"data-testid":"vibe-chat-empty"},void 0,"Nobody is available right now. Please check back soon."):(0,o.A)(dY,{rows:v.rows}))))):null};try{mY.displayName="VibeChatContainer"}catch(e){}const pY=mY,hY=({rows:e,queryArgs:t})=>(0,o.A)(g.A,{sx:{display:"flex",flexWrap:"wrap",gap:{xs:"6px",sm:"10px"},justifyContent:{sm:"flex-start"},"@media (max-width: 900px)":{justifyContent:"center"},pt:{xs:2.5,sm:3.5},pb:{xs:4,sm:4}},"data-testid":"vibe-listings-results"},void 0,e.map((e,i)=>(0,o.A)(g.A,{sx:{width:"330px",flex:"0 0 330px"}},`vibe_listing_${e.id}`,(0,o.A)(vC.A,{listing:e,indexInPage:i,isQualifiableFeaturedListingContext:!0,queryName:"getCategoryListings",queryDataKey:"listings",queryArgs:t}))));try{hY.displayName="VibeListingsResults"}catch(e){}const gY=hY;var vY,AY;const yY=({pill:e})=>{const t=tY(),[i,r]=(0,a.useState)(1),{categoryKey:n,title:s}=oY[e],l=t?.[n],d=(0,a.useMemo)(()=>({category:l,page:i,listingType:1,sort:0}),[l,i]),{data:c,isFetching:u,isError:m}=(0,k.rw)(d,{skip:!t}),{FeaturedListingsContextProvider:p}=(0,W_.A)({listingsData:c}),h=(0,a.useMemo)(()=>p,[c?.offset]);if(!t)return null;const v=c?.listings||[],A=!u&&!m&&Boolean(c?.decisionScreen),y=!u&&m,f=!u&&!m&&!A&&Boolean(c);return(0,o.A)(h,{},void 0,(0,o.A)(dt.A,{className:"body-vibe-results"},void 0,(0,o.A)(g.A,{sx:{maxWidth:{xs:"1050px",md:"1138px"},margin:"0 auto",px:{xs:2,sm:3},pt:3}},void 0,(0,o.A)(g.A,{sx:{px:{md:"44px"}}},void 0,(0,o.A)(rY,{title:s}),(0,o.A)(sY,{slug:t.slug,pills:t.pills,activePill:e})),u&&(vY||(vY=(0,o.A)(dN.A,{}))),y&&(0,o.A)(O.A,{sx:{py:4},"data-testid":"vibe-listings-error"},void 0,"We could not load these listings. Please refresh the page."),A&&(AY||(AY=(0,o.A)(BE,{}))),f&&a.createElement(a.Fragment,null,(0,o.A)(IC.A,{top:300,maxWidth:"100%",arrowStyles:{prev:{left:-25,top:{xs:-40,sm:-20}},next:{right:-15,top:{xs:-40,sm:-20}}}},void 0,(c.hasNext||c.hasPrevious)&&(0,o.A)(EC.A,{hasNext:c.hasNext,page:i,onChange:(e,t)=>
1r(t)})),(0,o.A)(g.A,{sx:{px:{md:"44px"}}},void 0,0===v.length?(0,o.A)(O.A,{sx:{py:4},"data-testid":"vibe-listings-empty"},void 0,"Nobody is available right now. Please check back soon."):(0,o.A)(gY,{rows:v,queryArgs:d}))))))};try{yY.displayName="VibeListingsContainer"}catch(e){}const fY=yY,bY=(0,o.A)(n.qh,{path:"vibes/:vibeName"},void 0,(0,o.A)(n.qh,{path:"chat",Component:pY}),(0,o.A)(n.qh,{path:"phone",element:(0,o.A)(fY,{pill:"phone"})}),(0,o.A)(n.qh,{path:"cam",element:(0,o.A)(fY,{pill:"cam"})}));var wY=i(8752),xY=i(95177);const CY="invalidate-cache-tags",kY=()=>{const e={mainApi:k.Xx,feedsApi:Vi.Xx},t=(0,m.wA)(),i=i=>{const{api:o,tags:a}=i.detail;if(!o||!a)return console.error("Invalid cache invalidation event data:",i),!1;try{t(e[o](a))}catch(e){return console.error("Error dispatching tag invalidation:",e),!1}return!0};return(0,a.useEffect)(()=>(window.addEventListener(CY,i),()=>{window.removeEventListener(CY,i)})),null};var SY,_Y,NY,PY,TY,FY,IY,EY,MY,OY,DY,RY,LY,jY,qY,BY,zY,UY,$Y,WY,GY,HY,YY,VY,QY,ZY,KY,XY,JY,eV,tV,iV,oV,aV,rV,nV,sV,lV,dV,cV,uV,mV,pV,hV,gV,vV,AV,yV,fV,bV,wV;l.A.addDefaultLocale(d.A),window.VOLLEY_PRICE=.99;const xV=()=>(0,rx.createPortal)(SY||(SY=(0,o.A)(p.N9,{hideProgressBar:!0,closeOnClick:!1,autoClose:!1})),document.body);try{xV.displayName="ToastContainerComponent"}catch(e){}const CV=()=>{const e=(0,n.zy)(),{pathname:t}=e,i=e.state?.backgroundLocation,r=(0,w.LD)(t),s=(0,w.rp)(t),[l,d]=(0,a.useState)(!1),u=(0,a.useMemo)(()=>({crossFeatureNudgeEligibleOrOpen:l,setCrossFeatureNudgeEligibleOrOpen:d}),[l]);return(0,o.A)(fS.A,{theme:bS.A},void 0,(0,o.A)(Oe,{},void 0,_Y||(_Y=(0,o.A)(Hq,{})),!r&&(NY||(NY=(0,o.A)(kL,{}))),r&&(PY||(PY=(0,o.A)("style",{},void 0,".Toastify__toast-container{display:none !important;}"))),TY||(TY=(0,o.A)(Bu,{})),!r&&(FY||(FY=(0,o.A)(xV,{}))),(!r||s)&&(IY||(IY=(0,o.A)(cg,{}))),(0,o.A)(c.aF,{defaultOptions:{confirmationButtonProps:{autoFocus:!0,variant:"contained",sx:{mr:2,mb:1}},confirmationText:"OK"}},void 0,(0,o.A)(wp.A,{},void 0,(0,o.A)(Qq.g,{},void 0,(0,o.A)(Vq.S,{},void 0,(0,o.A)(xp.A,{},void 0,EY||(EY=(0,o.A)(kY,{})),MY||(MY=(0,o.A)(Jh,{})),(0,o.A)(Pp,{pathname:t}),OY||(OY=(0,o.A)(tg,{})),(0,o.A)(wO.Provider,{value:u},void 0,"/"===t&&(DY||(DY=(0,o.A)(kO,{}))),RY||(RY=(0,o.A)(RO,{}))),!r&&(LY||(LY=(0,o.A)(yp,{}))),(0,o.A)("div",{className:"App"},void 0,jY||(jY=(0,o.A)(mL,{})),qY||(qY=(0,o.A)(wL,{})),(0,o.A)(ps,{},void 0,BY||(BY=(0,o.A)(st,{})),(0,o.A)("section",{className:"main"},void 0,zY||(zY=(0,o.A)(Xi.A,{})),(0,o.A)(n.BV,{location:i||e},void 0,UY||(UY=(0,o.A)(n.qh,{path:"v2"},void 0,(0,o.A)(n.qh,{path:"home",element:(0,o.A)(Z_,{})}),(0,o.A)(n.qh,{path:"categories/:category",element:(0,o.A)(tM,{})}))),$Y||($Y=(0,o.A)(n.qh,{path:"/",element:(0,o.A)(Z_,{})})),WY||(WY=(0,o.A)(n.qh,{path:"/categories/:category",element:(0,o.A)(tM,{})})),GY||(GY=(0,o.A)(n.qh,{path:"search",element:(0,o.A)(RN,{})})),HY||(HY=(0,o.A)(n.qh,{path:"subscriptions",element:(0,o.A)(Sl,{})})),YY||(YY=(0,o.A)(n.qh,{path:"my_customers"},void 0,(0,o.A)(n.qh,{index:!0,element:(0,o.A)(iF,{})}),(0,o.A)(n.qh,{path:"user/:login",element:(0,o.A)(FI,{})}),(0,o.A)(n.qh,{path:"user/:login/:tabName",element:(0,o.A)(FI,{})}),(0,o.A)(n.qh,{path:"tags",element:(0,o.A)(oE,{})}),(0,o.A)(n.qh,{path:"saved_searches",element:(0,o.A)($I,{})}))),wY.A,VY||(VY=(0,o.A)(n.qh,{path:"packages"},void 0,(0,o.A)(n.qh,{path:"",element:(0,o.A)(vd,{})}),(0,o.A)(n.qh,{path:"new",element:(0,o.A)(_c,{})}))),QY||(QY=(0,o.A)(n.qh,{path:"feed"},void 0,(0,o.A)(n.qh,{path:"",exact:!0,element:(0,o.A)(n.C5,{to:"/feed/home"})}),(0,o.A)(n.qh,{path:"home",element:(0,o.A)(No,{},void 0,(0,o.A)(yn,{}))}),(0,o.A)(n.qh,{path:"explore",element:(0,o.A)(No,{},void 0,(0,o.A)(bn,{}))}),(0,o.A)(n.qh,{path:"chat",element:(0,o.A)(ut,{})}),(0,o.A)(n.qh,{path:"create_post",element:(0,o.A)(Uu,{},void 0,(0,o.A)(Ki,{}))}),(0,o.A)(n.qh,{path:"queue/:tabName",element:(0,o.A)(Uu,{},void 0,(0,o.A)(Ud,{}))}),(0,o.A)(n.qh,{path:"queue",element:a.createElement(a.Fragment,null,"Coming Soon")}),(0,o.A)(n.qh,{path:"following",element:a.createElement(a.Fragment,null,"Coming Soon")}),(0,o.A)(n.qh,{path:"add_money",element:a.createElement(a.Fragment,null,"Coming Soon")}),(0,o.A)(n.qh,{path:"subscription_settings",element:(0,o.A)(Uu,{},void 0,(0,o.A)(jc,{}))}),(0,o.A)(n.qh,{path:"manage",element:(0,o.A)(Uu,{},void 0,(0,o.A)(Km,{}))}),(0,o.A)(n.qh,{path:"missing/profile",element:(0,o.A)(No,{},void 0,(0,o.A)(Du,{}))}),(0,o.A)(n.qh,{path:":login"},void 0,(0,o.A)(n.qh,{path:"media",element:(0,o.A)(wm,{})}),(0,o.A)(n.qh,{path:"onboarding",element:(0,o.A)(fm,{})}),(0,o.A)(n.qh,{path:":postId/*",element:(0,o.A)(Jm,{})}),(0,o.A)(n.qh,{path:":postId",element:(0,o.A)(Fs,{})}),(0,o.A)(n.qh,{index:!0,element:(0,o.A)(wm,{})})))),ZY||(ZY=(0,o.A)(n.qh,{exact:!0,path:"account"},void 0,(0,o.A)(n.qh,{exact:!0,path:"feedbacks",element:(0,o.A)(rS,{})}),(0,o.A)(n.qh,{exact:!0,path:"favorite",element:(0,o.A)(PS,{})}),(0,o.A)(n.qh,{exact:!0,path:"payout",element:(0,o.A)(Wk.A,{},void 0,(0,o.A)(Bj,{}))}),(0,o.A)(n.qh,{exact:!0,path:"payment_history"},void 0,(0,o.A)(n.qh,{exact:!0,path:"tax",element:(0,o.A)(Gp,{})})),(0,o.A)(n.qh,{exact:!0,path:"tax_forms/:id",element:(0,o.A)(Gh,{})}))),KY||(KY=(0,o.A)(n.qh,{exact:!0,path:"signup",element:(0,o.A)(ZM,{})})),(0,o.A)(n.qh,{exact:!0,path:"help"},void 0,Xw.map(e=>(0,o.A)(n.qh,{path:e.path,element:(0,o.A)(tx,{title:e.title,index:e.index},void 0,(0,o.A)(e.component,{}))},e.path))),XY||(XY=(0,o.A)(n.qh,{exact:!0,path:"feedbacks"},void 0,(0,o.A)(n.qh,{index:!0,element:(0,o.A)(vS,{})}),(0,o.A)(n.qh,{exact:!0,path:"new",element:(0,o.A)(vS,{})}))),JY||(JY=(0,o.A)(n.qh,{exact:!0,path:"chat"},void 0,(0,o.A)(n.qh,{exact:!0,path:"browse",element:(0,o.A)(TS.A,{})}
1))),eV||(eV=(0,o.A)(n.qh,{path:"/availability",element:(0,o.A)(Wk.A,{},void 0,(0,o.A)(Mp.A,{}))})),tV||(tV=(0,o.A)(n.qh,{exact:!0,path:"/social_shouts",element:(0,o.A)(Eu,{})})),iV||(iV=(0,o.A)(n.qh,{exact:!0,path:"profile/:login"},void 0,(0,o.A)(n.qh,{index:!0,element:(0,o.A)(jk,{})}),(0,o.A)(n.qh,{path:"gb"},void 0,(0,o.A)(n.qh,{index:!0,element:(0,o.A)(jk,{tab:"goodies"})}),(0,o.A)(n.qh,{path:":goodyBagId"},void 0,(0,o.A)(n.qh,{index:!0,element:(0,o.A)(jk,{tab:"goodies"})}),(0,o.A)(n.qh,{path:"buy",element:(0,o.A)(jk,{tab:"goodies",action:"buy"})}))))),oV||(oV=(0,o.A)(n.qh,{exact:!0,path:"users/:login"},void 0,(0,o.A)(n.qh,{index:!0,element:(0,o.A)(pk,{})}))),aV||(aV=(0,o.A)(n.qh,{exact:!0,path:"goody/search"},void 0,(0,o.A)(n.qh,{index:!0,element:(0,o.A)(KD,{})}))),rV||(rV=(0,o.A)(n.qh,{exact:!0,path:"listings/show/:listingIdAndTitle",element:(0,o.A)(gL,{})})),(0,o.A)(n.qh,{path:":login"},void 0,nV||(nV=(0,o.A)(n.qh,{index:!0,element:(0,o.A)(pk,{})})),sV||(sV=(0,o.A)(n.qh,{path:"feed"},void 0,(0,o.A)(n.qh,{index:!0,element:(0,o.A)(pk,{tab:"feed"})}),(0,o.A)(n.qh,{path:"media",element:(0,o.A)(pk,{tab:"feed"})}),(0,o.A)(n.qh,{path:"subscriptions",element:(0,o.A)(pk,{tab:"feed"})}),(0,o.A)(n.qh,{path:"create_post",element:(0,o.A)(Uu,{},void 0,(0,o.A)(pk,{tab:"feed"}))}),(0,o.A)(n.qh,{path:"queue/:tabName",element:(0,o.A)(Uu,{},void 0,(0,o.A)(pk,{tab:"feed"}))}),(0,o.A)(n.qh,{path:":postId",element:(0,o.A)(pk,{tab:"feed"})}))),lV||(lV=(0,o.A)(n.qh,{path:"packages"},void 0,(0,o.A)(n.qh,{index:!0,element:(0,o.A)(pk,{tab:"packages"})}),(0,o.A)(n.qh,{path:":packageId",element:(0,o.A)(pk,{tab:"packages"})}))),dV||(dV=(0,o.A)(n.qh,{path:"goodies"},void 0,(0,o.A)(n.qh,{index:!0,element:(0,o.A)(pk,{tab:"goodies"})}),(0,o.A)(n.qh,{path:":goodyBagId"},void 0,(0,o.A)(n.qh,{index:!0,element:(0,o.A)(pk,{tab:"goodies"})})))),cV||(cV=(0,o.A)(n.qh,{path:"gb"},void 0,(0,o.A)(n.qh,{index:!0,element:(0,o.A)(pk,{tab:"goodies"})}),(0,o.A)(n.qh,{path:":goodyBagId"},void 0,(0,o.A)(n.qh,{index:!0,element:(0,o.A)(pk,{tab:"goodies"})}))))),yU,eY,bY),i&&(uV||(uV=(0,o.A)(n.BV,{},void 0,(0,o.A)(n.qh,{path:"my_customers/user/:login",element:(0,o.A)(FI,{})}),(0,o.A)(n.qh,{path:"my_customers/user/:login/:tabName",element:(0,o.A)(FI,{})}))))),mV||(mV=(0,o.A)(Yd,{}))))))))),(0,o.A)(ep.A,{severities:r?["error","warning","info"]:void 0}),pV||(pV=(0,o.A)(pp,{}))))};try{CV.displayName="AppMainInner"}catch(e){}const kV=({mode:e="main"})=>{const t=(0,k.zg)().data;return(0,a.useEffect)(()=>{const e=t?.current_user?.id;e&&window.clarity&&"function"==typeof window.clarity&&window.clarity("identify",e.toString(),null)},[t?.current_user?.id]),t?"modal"===e?(0,o.A)(fS.A,{theme:bS.A},void 0,(0,o.A)(wp.A,{},void 0,(0,o.A)(xp.A,{},void 0,hV||(hV=(0,o.A)(kY,{})),gV||(gV=(0,o.A)(Jh,{})),(0,o.A)(Pp,{pathname:window.location.pathname}),vV||(vV=(0,o.A)(tg,{})),AV||(AV=(0,o.A)(CS,{})),yV||(yV=(0,o.A)("div",{className:"App"})))),fV||(fV=(0,o.A)(ep.A,{}))):"signin"===e?bV||(bV=(0,o.A)(WN.tL,{},void 0,(0,o.A)(s.Kd,{},void 0,(0,o.A)(fS.A,{theme:bS.A},void 0,(0,o.A)(wp.A,{},void 0,(0,o.A)(xp.A,{},void 0,(0,o.A)(kY,{}),(0,o.A)(Jh,{suppressPushNotificationDialog:!0}),(0,o.A)(tg,{}),(0,o.A)("div",{className:"App"},void 0,(0,o.A)(n.BV,{},void 0,(0,o.A)(n.qh,{path:"login",exact:!0,element:(0,o.A)(s_,{type:"web"})}),(0,o.A)(n.qh,{path:"login_by_phone",exact:!0,element:(0,o.A)(s_,{type:"phone"})}),(0,o.A)(n.qh,{path:"change_availability",exact:!0,element:(0,o.A)(aE,{type:"full_page"})}),(0,o.A)(n.qh,{path:"forgot_pin",exact:!0,element:(0,o.A)(gE,{})}),(0,o.A)(n.qh,{path:"signup",exact:!0,element:(0,o.A)(ZM,{})}),(0,o.A)(n.qh,{path:"verify_account",exact:!0,element:(0,o.A)(gD,{})}),(0,o.A)(n.qh,{path:"forgot_password",exact:!0,element:(0,o.A)(tR,{})}),(0,o.A)(n.qh,{path:"new_password",exact:!0,element:(0,o.A)(nD,{})}),(0,o.A)(n.qh,{path:"new_password/confirm",exact:!0,element:(0,o.A)(cD,{})}),(0,o.A)(n.qh,{path:"reset_password_complete",exact:!0,element:(0,o.A)(nR,{})}),(0,o.A)(n.qh,{exact:!0,path:"advisor_signup"},void 0,(0,o.A)(n.qh,{exact:!0,path:"account_setup",element:(0,o.A)(Mq,{})}),(0,o.A)(n.qh,{exact:!0,path:"newuser",element:(0,o.A)(KO,{})})))))),(0,o.A)(ep.A,{}))))):wV||(wV=(0,o.A)(os.A.Provider,{value:xY.A},void 0,(0,o.A)(WN.tL,{},void 0,(0,o.A)(s.Kd,{},void 0,(0,o.A)(CV,{}))))):null};try{kV.displayName="App"}catch(e){}const SV=kV;var _V=i(24390);class NV extends a.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("[AppErrorBoundary]",e,t),_V.A&&_V.A.notify({error:e,params:{componentStack:t.componentStack}})}render(){const{hasError:e}=this.state;if(e)return(0,o.A)("div",{style:{maxWidth:"600px",margin:"80px auto",padding:"0 24px",textAlign:"center",fontFamily:"sans-serif"}}
1,void 0,(0,o.A)("h2",{style:{marginBottom:"16px"}},void 0,"Something went wrong"),(0,o.A)("p",{style:{marginBottom:"24px",color:"#555"}},void 0,"An unexpected error occurred. Please try again, or return to the home page."),(0,o.A)("a",{href:"/",style:{display:"inline-block",padding:"10px 24px",backgroundColor:"#6a1b9a",color:"#fff",borderRadius:"4px",textDecoration:"none"}},void 0,"Go to Home"));const{children:t}=this.props;return t}}try{NV.displayName="AppErrorBoundary"}catch(e){}const PV=NV,TV=e=>{const t=e.match(/Version\/(\d+)/);return t?parseInt(t[1],10):null},FV=()=>{const e=navigator.userAgent,t=/iPhone/.test(e),i=/iPad/.test(e),o=/Macintosh/.test(e)&&navigator.maxTouchPoints>1;if(t||(i||o)){let t=(e=>{const t=e.match(/OS (\d+)_/);return t?parseInt(t[1],10):null})(e);return null===t&&o&&(t=TV(e)),null!==t&&t<16}if(/Macintosh/.test(e)&&/Version\/\d/.test(e)&&!/Chrome\/|Chromium\/|Edg\/|OPR\//.test(e)){const t=TV(e);return null!==t&&t<16}return!1},IV=({children:e})=>FV()?(0,o.A)("div",{style:{maxWidth:"600px",margin:"80px auto",padding:"0 24px",textAlign:"center",fontFamily:"sans-serif"}},void 0,(0,o.A)("h2",{style:{marginBottom:"16px"}},void 0,"Browser not supported"),(0,o.A)("p",{style:{marginBottom:"8px",color:"#555"}},void 0,"NiteFlirt requires Safari 16 or later."),(0,o.A)("p",{style:{color:"#555"}},void 0,"Please update your browser or switch to a supported browser to continue.")):e;try{IV.displayName="BrowserCompatibilityGate"}catch(e){}const EV=IV;var MV=i(31601);window.global_store||=eg.M_;const OV=document.getElementById("nf-plus-app"),DV=document.getElementById("use-modal-mode")?"modal":OV.dataset.mode;(0,r.H)(OV).render((0,o.A)(EV,{},void 0,(0,o.A)(m.Kq,{store:window.global_store},void 0,(0,o.A)(MV.Q,{loading:null,persistor:eg.qj},void 0,(0,o.A)(PV,{},void 0,(0,o.A)(SV,{mode:DV}))))))},79533(e,t,i){i.d(t,{Ay:()=>u,Fw:()=>C,NA:()=>A,PN:()=>w,Pi:()=>f,RS:()=>T,Y6:()=>h,Ye:()=>_,_6:()=>b,a6:()=>m,cH:()=>S,cX:()=>N,fP:()=>k,fy:()=>x,hE:()=>g,iB:()=>p,tc:()=>F,vi:()=>y,wC:()=>l,wk:()=>v,zE:()=>P});var o=i(60749),a=i(91776),r=i(25403);function n(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function s(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?n(Object(i),!0).forEach(function(t){(0,o.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const l={IDLE:"idle",LOADING:"loading",READY:"ready",ERROR:"error",UNAVAILABLE:"unavailable"},d={open:!1,status:l.IDLE,error:null,unread:0,rotatePrompt:!1,notice:null,openRequests:0},c=(0,a.Z0)({name:"camChat",initialState:d,reducers:{setCamChatOpen:(e,t)=>{e.open=t.payload,t.payload&&(e.unread=0,e.rotatePrompt=!1,e.notice=null)},setCamChatStatus:(e,t)=>{const{status:i,error:o=null}=t.payload;e.status=i,e.error=o,i===l.UNAVAILABLE&&(e.open=!1,e.rotatePrompt=!1)},addCamChatUnread:(e,t)=>{e.open||(e.unread+=t.payload)},showRotatePrompt:e=>{e.rotatePrompt=!0},dismissRotatePrompt:e=>{e.rotatePrompt=!1},showCamChatNotice:(e,t)=>{e.notice=s(s({},t.payload),{},{key:(e.notice?.key||0)+1})},clearCamChatNotice:e=>{e.notice=null},requestCamChatOpen:e=>{e.openRequests+=1,e.notice=null},consumeCamChatOpenRequests:e=>{e.openRequests=0},resetCamChat:()=>d}}),u=c,{setCamChatOpen:m,setCamChatStatus:p,addCamChatUnread:h,showRotatePrompt:g,dismissRotatePrompt:v,showCamChatNotice:A,clearCamChatNotice:y,requestCamChatOpen:f,consumeCamChatOpenRequests:b,resetCamChat:w}=c.actions,x=e=>e.camChat.open,C=e=>e.camChat.status,k=e=>e.camChat.error,S=e=>e.camChat.unread,_=e=>e.camChat.rotatePrompt,N=e=>e.camChat.status!==l.UNAVAILABLE,P=e=>e.camChat?.notice??null,T=e=>
1e.camChat?.openRequests??0,F=e=>t=>e&&t.camChat?.open?r.se:0},79989(e,t,i){i.r(t),i.d(t,{addSelectedResults:()=>v,advancedFilterCountSelector:()=>N,anyFiltersSelector:()=>P,clearFilters:()=>f,clearSelectedResults:()=>y,columnVisibilityModelSelector:()=>M,default:()=>g,defaultColumnVisibilityModel:()=>c,filterOptions:()=>l,filtersSelector:()=>T,initialFilters:()=>h,omniboxSelector:()=>F,removeSelectedResults:()=>A,selectedResultsSelector:()=>I,setColumnVisibilityModel:()=>_,setFilters:()=>b,setFiltersToTag:()=>w,setOmnibox:()=>C,setSort:()=>k,setText:()=>x,sortOptions:()=>d,sortSelector:()=>E,touchFilterTimestamp:()=>S});var o=i(60749),a=i(91776),r=i(31286);function n(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function s(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?n(Object(i),!0).forEach(function(t){(0,o.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const l={value:["Highest","High","Medium","Low","$0 L365D","No spend"],status:["Active","Lapsing","Lapsed","1-day Only","New","No spend"],mainSpend:["Calls","Chat","Cam","Tributes","Paid Mail","Recurring","Goodies"],systemTags:["Blocked","Free Followers","Affiliate Referral","Recurring Tributes","Subscribers","Pending Expirations","Expired Subscribers","Premium Join"],earningsChannel:["Calls","Chat","Cam","Tributes","Paid Mail","Goodies","Recurring"],earningsDateWindow:["Last 7 days","Last 14 days","Last 30 days","Last 60 days","Last 90 days","Last 180 days","Last 365 days","Lifetime"]},d=["Name","Value","Status","Main Spend","Cntct Days Ago","Last 90D $","Last 365D $","Lifetime $","System Tags","Your Tags"],c={skr_90D_earnings:!1},u={filters:{text:"",value:[],status:[],mainSpend:[],contactedDaysAgo:[0,1090],earnedDaysAgo:[0,1090],packages:[],hasTags:[],excludeTags:["Blocked","Blocked By"],earningsDetails:!0,earningsLimits:[0,10],minAmount:50,earningsChannel:["Calls","Chat","Cam","Tributes","Paid Mail","Goodies","Recurring"],earningsDateWindow:"Lifetime",includeZeroSpendCustomers:!0,saveThisSearch:!1,nameForSavedSearch:"",filterTimestamp:null},omnibox:[],resultCounts:{},customTags:[],sortColumn:["Cntct Days Ago","Last 365D $"],sortDirection:["asc","desc"],selectedResults:[],columnVisibilityModel:c},m=(0,a.Z0)({name:"customersSlice",initialState:u,reducers:{clearFilters:e=>s(s({},u),{},{columnVisibilityModel:e.columnVisibilityModel}),clearSelectedResults:e=>{e.selectedResults=[]},addSelectedResults:(e,t)=>{e.selectedResults=[...new Set([...e.selectedResults,...t.payload])]},removeSelectedResults:(e,t)=>{e.selectedResults=e.selectedResults.filter(e=>!t.payload.includes(e))},setFiltersToTag:(e,t)=>s(s({},u),{},{filters:s(s({},u.filters),{},{hasTags:t.payload,excludeTags:u.filters.excludeTags.filter(e=>!t.payload.includes(e))}),columnVisibilityModel:e.columnVisibilityModel}),setFilters:(e,t)=>{e.filters=t.payload},setOmnibox:(e,t)=>{e.omnibox=t.payload},setSort:(e,t)=>{e.sortColumn=t.payload.sortColumn,e.sortDirection=t.payload.sortDirection},setText:(e,t)=>{e.filters=s(s({},u.filters),{},{text:t.payload})},touchFilterTimestamp:e=>{e.filters.filterTimestamp=Date.now()},setColumnVisibilityModel:(e,t)=>{e.columnVisibilityModel=t.payload}}}),p={filtersSelector:e=>e.customers.filters,anyFiltersSelector:e=>!!e.customers?.filters&&0!==Object.keys(e.customers.filters).filter(t=>(0,r.Ec)(e.customers.filters[t],u.filters[t])).length,advancedFilterCountSelector:e=>{if(!e?.customers?.filters)return 0;const t=e.customers.filters.hasTags||[],i=s(s({},u.filters),{},{excludeTags:u.filters.excludeTags.filter(e=>!t.includes(e))});return Object.keys(u.filters).filter(e=>!["minAmount","earningsDetails","nameForSavedSearch","text","filterTimestamp","saveThisSearch"].includes(e)).filter(t=>e.customers.filters[t]&&(0,r.Ec)(e.customers.filters[t],i[t])).length},selectedResultsSelector:e=>e.customers.selectedResults,sortSelector:e=>({sortColumn:e.customers.sortColumn,sortDirection:e.customers.sortDirection}),customTagsSelector:e=>e.customers.customTags,omniboxSelector:e=>e.customers.omnibox,columnVisibilityModelSelector:e=>e.customers.columnVisibilityModel},h=u.filters,g=m,{addSelectedResults:v,removeSelectedResults:A,clearSelectedResults:y,clearFilters:f,setFilters:b,setFiltersToTag:w,setText:x,setOmnibox:C,setSort:k,touchFilterTimestamp:S,setColumnVisibilityModel:_}=m.actions,{advancedFilterCountSelector:N,anyFiltersSelector:P,filtersSelector:T,omniboxSelector:F,selectedResultsSelector:I,sortSelector:E,columnVisibilityModelSelector:M}=p},80140(e,t,i){i.d(t,{Wd:()=>o.Wd,Yn:()=>s,uU:()=>l.uU,Ev:()=>d.E});var o=i(36942),a=i(622),r=(i(2370),i(69441)),n=i(22566);const s=(0,a.A)(r.qh,{path:"account/fileplayer",element:(0,a.A)(n.v,{}),id:"filePlayer"});var l=i(30708),d=i(10300)},81395(e,t,i){i.d(t,{A:()=>s});var o=i(622),a=(i(2370),i(69441)),r=i(26738),n=i(84805);const s=(0,o.A)(a.qh,{path:"chat"},void 0,(0,o.A)(a.qh,{index:!0,Component:r.A}),(0,o.A)(a.qh,{path:"browse",Component:n.A}),(0,o.A)(a.qh,{path:":slug",Component:r.A}))},82519(e,t,i){i.d(t,{Ay:()=>m,Lz:()=>l,Z6:()=>d,_Y:()=>s,cc:()=>u,kt:()=>c,lO:()=>a});var o=i(91776);const a=[0,0],r={accordionState:a,categoryListingSort:0},n=(0,o.Z0)({name:"miscUIState",initialState:r,reducers:{updateNavCategoryAccordionStateAction:(e,t)=>{const{accordionState:i}=e,{depth:o,index:a}=t.payload;i[o]=i[o]===a?-1:a,0===o&&(i[1]=-1),e.accordionState=i},setNavCategoryAccordionStateAction:(e,t)=>{e.accordionState=t.payload},setCategoryListingSort:(e,t)=>{e.categoryListingSort=t.payload.categoryListingSort}}}),{updateNavCategoryAccordionStateAction:s,setNavCategoryAccordionStateAction:l,setCategoryListingSort:d}=n.actions,{navCategoryAccordionStateSelector:c,categoryListingSortSelector:u}={navCategoryAccordionStateSelector:e=>e.miscUIState.accordionState,categoryListingSortSelector:e=>e.miscUIState.categoryListingSort},m=n},85481(e,t,i){i.d(t,{Ay:()=>s,M9:()=>h,dx:()=>v,e7:()=>g,ml:()=>c,o9:()=>l,oq:()=>m,p8:()=>u,vU:()=>p,wr:()=>d});var o=i(60749);function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function r(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
1t%2?a(Object(i),!0).forEach(function(t){(0,o.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}const n=(0,i(91776).Z0)({name:"mailSelection",initialState:{selected:[],newInboxMailArrived:!1,newSystemMailArrived:!1},reducers:{toggleSelected(e,t){const{id:i,login:o,read:a}=t.payload,r=e.selected.findIndex(e=>Number(e.id)===Number(i)&&e.login===o);r>=0?e.selected.splice(r,1):e.selected.push({id:i,login:o,read:a})},clearSelection(e){e.selected=[]},selectMany(e,t){const i=t.payload.map(e=>({id:e.id,login:e.login,read:e.read})).filter(t=>!e.selected.some(e=>Number(e.id)===Number(t.id)&&e.login===t.login));e.selected.push(...i)},deselectMany(e,t){const i=t.payload;e.selected=e.selected.filter(e=>!i.some(t=>Number(t.id)===Number(e.id)&&t.login===e.login))},updateReadStatus(e,t){const{messageIds:i,read:o}=t.payload,a=new Set(i.map(e=>Number(e)));e.selected=e.selected.map(e=>{const t=Number(e.id);return a.has(t)?r(r({},e),{},{read:o}):e})},setNewInboxMailArrived(e){e.newInboxMailArrived=!0},clearNewInboxMailArrived(e){e.newInboxMailArrived=!1},setNewSystemMailArrived(e){e.newSystemMailArrived=!0},clearNewSystemMailArrived(e){e.newSystemMailArrived=!1}}}),s=n,{toggleSelected:l,clearSelection:d,selectMany:c,deselectMany:u,updateReadStatus:m,setNewInboxMailArrived:p,clearNewInboxMailArrived:h,setNewSystemMailArrived:g,clearNewSystemMailArrived:v}=n.actions},86404(e,t,i){i.d(t,{$p:()=>u,R:()=>l,Zp:()=>c,hZ:()=>d});var o,a=i(622),r=(i(2370),i(97618)),n=i(61899),s=i(78734);const l=()=>(0,a.A)(r.A,{severity:"warning",sx:{mb:2},"data-test-id":"payout-on-hold-warning"},void 0,"Your payments are on hold because we could not verify your Payee Information. Please edit your Payee Information. (",o||(o=(0,a.A)("a",{href:"https://support.niteflirt.com/hc/en-us/articles/212830838-Flirt-Payout",target:"_blank",rel:"noreferrer"},void 0,"Learn More")),")");try{l.displayName="PayoutOnHoldWarning"}catch(e){}const d=({message:e})=>(0,a.A)(r.A,{severity:"warning",sx:{mb:2},"data-test-id":"warning-alert"},void 0,(0,a.A)(s.A,{html:e}));try{d.displayName="WarningAlert"}catch(e){}const c=()=>(0,a.A)(r.A,{severity:"success",sx:{mb:2},"data-test-id":"save-success-alert"},void 0,"Information saved successfully.");try{c.displayName="SaveSuccessAlert"}catch(e){}const u=({errors:e=[]})=>0===e.length?null:(0,a.A)(r.A,{severity:"error",sx:{mb:2},"data-test-id":"error-alert"},void 0,(0,a.A)(n.A,{},void 0,e.length," ","error(s) prohibited this payout from being saved."),(0,a.A)("ul",{"data-test-id":"error-list"},void 0,e.map(e=>(0,a.A)("li",{"data-test-id":"error-item"},e,e))));try{u.displayName="ErrorAlert"}catch(e){}},91488(e,t,i){i.d(t,{Ay:()=>v,B$:()=>w,Cf:()=>C,Es:()=>N,FS:()=>U,HW:()=>y,Hr:()=>P,Nc:()=>B,Pt:()=>j,Qj:()=>S,SX:()=>_,TT:()=>F,X3:()=>b,Xx:()=>A,_U:()=>L,_k:()=>E,at:()=>x,h1:()=>z,hq:()=>k,ky:()=>q,mQ:()=>I,mb:()=>f,md:()=>O,pi:()=>R,tS:()=>M,ty:()=>T,uq:()=>D});var o=i(60749),a=i(98218),r=i(2820),n=i(80057),s=i(55919);function l(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}const{dispatchInvalidateCacheTagsEvent:d}=(0,s.A)(),c="FlirtFeedPage",u="FlirtMedia",m="ProcessingPosts",p="RemovedPosts",h="ScheduledPosts",g=(0,a.xP)({reducerPath:"feeds",baseQuery:(0,r.cw)({baseUrl:"/feeds/"}),endpoints:e=>({homeFeedNewPostsCheck:e.query({query:({cursor:e})=>`new_posts_check?cursor=${e||""}`}),getFollow:e.query({providesTags:(e,t,i)=>[{type:n.F7,id:`advisor-${i.advisorId}`}],query:({advisorId:e})=>`follows/${e}`}),getFollows:e.query({providesTags:[n.F7],query:({advisorIds:e})=>`follows?advisor_ids=${e.join(",")}`}),followAdvisor:e.mutation({invalidatesTags:(e,t,i)=>!t&&i.refetchPost?[n.F7,n._Z,{type:n.q8,id:i.postId}]:[n.F7,n._Z],query:({advisorId:e})=>({url:"follows",method:"POST",body:{advisor_id:e}})}),unfollowAdvisor:e.mutation({invalidatesTags:(e,t,i)=>!t&&i.refetchPost?[n.F7,{type:n.q8,id:i.postId}]:[n.F7],query:({advisorId:e})=>({url:`follows/${e}`,method:"DELETE"})}),getHomeFeed:e.query({providesTags:e=>{if(!e)return[];const t=[];
1return e.records.forEach(e=>{t.push({type:n.q8,id:e.id})}),t},query:({cursor:e})=>`home_feed?cursor=${e||""}`,keepUnusedDataFor:0}),getExploreFeed:e.query({providesTags:[n.Ao],query:({cursor:e,gender:t})=>`explore_feed?cursor=${e||""}&gender=${t||0}`,keepUnusedDataFor:0}),getFlirtFeed:e.query({query:({advisorId:e,cursor:t})=>`creator_feed/${e}?cursor=${t||""}`,providesTags:(e,t,i)=>{if(!e)return[];const o=[{type:c,id:`${e.advisorId}-${i.cursor}`}];return e.records.forEach(e=>{o.push({type:n.q8,id:e.id})}),o},keepUnusedDataFor:0,transformResponse:(e,t,i)=>{const a=e.records.map(e=>{const t=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?l(Object(i),!0).forEach(function(t){(0,o.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({},e);return t.cursorPage=i.cursor,t});return{records:a,cursor:e.cursor,moreRecords:e.moreRecords,advisorId:e.advisorId}}}),getFlirtMedia:e.query({query:({advisorId:e,cursor:t,filter:i})=>`creator_media_feed/${e}?cursor=${t||""}&item_type=${i||""}`,providesTags:(e,t,i)=>e?[{type:u,id:i.advisorId}]:[]}),getPost:e.query({providesTags:e=>e?[{type:n.q8,id:e.id}]:[],query:({postId:e})=>`posts/${e}`}),getProcessingPosts:e.query({providesTags:(e,t,i)=>e?[m]:[],query:({userId:e})=>`users/${e}/processing_posts`}),getRemovedPosts:e.query({providesTags:(e,t,i)=>e?[p]:[],query:({userId:e})=>`users/${e}/removed_posts`}),getScheduledPosts:e.query({providesTags:(e,t,i)=>e?[h]:[],query:()=>"scheduled_posts"}),performCreatePost:e.mutation({invalidatesTags:(e,t,i)=>!t&&i.onboarding?(d({api:"mainApi",tags:[n.m4,n.Fx,{type:n.sl,id:i.advisorId}]}),[{type:u,id:i.advisorId},{type:n.OS,id:i.advisorId}]):[],query:({post:e})=>({method:"POST",url:"posts",body:{post:e}})}),performUpdatePost:e.mutation({invalidatesTags:(e,t,i)=>t?[]:[{type:n.q8,id:i.postId},{type:c,id:`${i.advisorId}-${i.cursorPage}`},h,m,p],query:({postId:e,post:t})=>({method:"PUT",url:`posts/${e}`,body:{post:t}})}),performPublishPost:e.mutation({invalidatesTags:(e,t,i)=>t?[]:[{type:n.q8,id:i.postId},{type:c,id:`${i.advisorId}-${i.cursorPage}`},h],query:({postId:e})=>({method:"PUT",url:`posts/${e}/publish`})}),performDeletePost:e.mutation({invalidatesTags:(e,t,i)=>t?null:[{type:n.q8,id:i.postId},m,h,p],query:({postId:e})=>({method:"DELETE",url:`posts/${e}`})}),togglePostPin:e.mutation({query:({postId:e,pinned:t})=>({url:`posts/${e}`,method:"PUT",body:{post:{pinned:t}}})}),performCreateComment:e.mutation({invalidatesTags:(e,t,i)=>t?[]:[{type:n.q8,id:i.postId}],query:({body:e,postId:t})=>({url:`posts/${t}/comments`,method:"POST",body:{comment:{body:e}}})}),getComments:e.query({query:({postId:e,cursor:t})=>`posts/${e}/comments?cursor=${t||""}`,keepUnusedDataFor:0}),performAddLike:e.mutation({invalidatesTags:(e,t,i)=>t?[]:[{type:n.q8,id:i.postId}],query:({postId:e})=>({url:`posts/${e}/like`,method:"POST"})}),performRemoveLike:e.mutation({invalidatesTags:(e,t,i)=>t?[]:[{type:n.q8,id:i.postId}],query:({postId:e})=>({url:`posts/${e}/like`,method:"DELETE"})}),getPostLikes:e.query({query:({postId:e})=>({url:`posts/${e}/likes`})}),getCombinedFeedContentAvailable:e.query({query:()=>({url:"accounts/combined_feed_content_check",method:"POST"}),providesTags:()=>[n._Z]}),getCreatorFeedContentAvailable:e.query({providesTags:(e,t,i)=>e?[{type:n.OS,id:i.advisorId}]:[],query:({advisorId:e})=>({url:"accounts/creator_feed_content_check",method:"POST",body:{creator_main_user_id:e}})})})}),v=g,{invalidateTags:A}=g.util,{useGetFollowQuery:y,useGetFollowsQuery:f,useGetFlirtFeedQuery:b,useGetFlirtMediaQuery:w,useGetPostQuery:x,useGetCommentsQuery:C,useGetCombinedFeedContentAvailableQuery:k,useGetCreatorFeedContentAvailableQuery:S,useGetScheduledPostsQuery:_,useGetProcessingPostsQuery:N,useGetRemovedPostsQuery:P,useGetHomeFeedQuery:T,useGetExploreFeedQuery:F,useLazyHomeFeedNewPostsCheckQuery:I,usePerformAddLikeMutation:E,usePerformRemoveLikeMutation:M,useGetPostLikesQuery:O,useFollowAdvisorMutation:D,useUnfollowAdvisorMutation:R,usePerformCreatePostMutation:L,usePerformCreateCommentMutation:j,useTogglePostPinMutation:q,usePerformUpdatePostMutation:B,usePerformDeletePostMutation:z,usePerformPublishPostMutation:U}=g}},n={};function s(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return r[e].call(i.exports,i,i.exports,s),i.loaded=!0,i.exports}s.m=r,s.amdO={},e=[],s.O=(t,i,o,a)=>
1{if(!i){var r=1/0;for(c=0;c<e.length;c++){for(var[i,o,a]=e[c],n=!0,l=0;l<i.length;l++)(!1&a||r>=a)&&Object.keys(s.O).every(e=>s.O[e](i[l]))?i.splice(l--,1):(n=!1,a<r&&(r=a));if(n){e.splice(c--,1);var d=o();void 0!==d&&(t=d)}}return t}a=a||0;for(var c=e.length;c>0&&e[c-1][2]>a;c--)e[c]=e[c-1];e[c]=[i,o,a]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},i=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var a=Object.create(null);s.r(a);var r={};t=t||[null,i({}),i([]),i(i)];for(var n=2&o&&e;("object"==typeof n||"function"==typeof n)&&!~t.indexOf(n);n=i(n))Object.getOwnPropertyNames(n).forEach(t=>r[t]=()=>e[t]);return r.default=()=>e,s.d(a,r),a},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,i)=>(s.f[i](e,t),t),[])),s.u=e=>"nf-plus-"+e+"-bundle-"+{32:"7d256cca1f9c1bc6e046",182:"d9719156b22b9da60fb9",266:"938dad812a0ac3ff75cd",271:"329aa554251efb5ddcfa",339:"41e29fcac473d739c5c0",359:"a66e0af6f1001fa7646d",418:"9a0b333166f465327718",428:"b44577164f7f7ab0ba74",518:"65d42d6da524743fb20c",582:"d95e87ae8b1a7dfa0451",587:"97cb3b507b0e0ae57e8b",608:"a70addf28bb64d69c85b",820:"cccd4226a7f73b0347e8",863:"2a740923d39748abef95",901:"718008b036a972bc6b98"}[e]+"-v2.js",s.miniCssF=e=>{},s.h=()=>"1cf99d542636af4b3614",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},a="plus_frontend:",s.l=(e,t,i,r)=>{if(o[e])o[e].push(t);else{var n,l;if(void 0!==i)for(var d=document.getElementsByTagName("script"),c=0;c<d.length;c++){var u=d[c];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==a+i){n=u;break}}n||(l=!0,(n=document.createElement("script")).charset="utf-8",s.nc&&n.setAttribute("nonce",s.nc),n.setAttribute("data-webpack",a+i),n.src=e),o[e]=[t];var m=(t,i)=>{n.onerror=n.onload=null,clearTimeout(p);var a=o[e];if(delete o[e],n.parentNode&&n.parentNode.removeChild(n),a&&a.forEach(e=>e(i)),t)return t(i)},p=setTimeout(m.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=m.bind(null,n.onerror),n.onload=m.bind(null,n.onload),l&&document.head.appendChild(n)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),s.j=651,s.p="/plus_frontend/dist/",(()=>{s.b="undefined"!=typeof document&&document.baseURI||self.location.href;var e={651:0};s.f.j=(t,i)=>{var o=s.o(e,t)?e[t]:void 0;if(0!==o)if(o)i.push(o[2]);else{var a=new Promise((i,a)=>o=e[t]=[i,a]);i.push(o[2]=a);var r=s.p+s.u(t),n=new Error;s.l(r,i=>{if(s.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=i&&("load"===i.type?"missing":i.type),r=i&&i.target&&i.target.src;n.message="Loading chunk "+t+" failed.\n("+a+": "+r+")",n.name="ChunkLoadError",n.type=a,n.request=r,o[1](n)}},"chunk-"+t,t)}},s.O.j=t=>0===e[t];var t=(t,i)=>{var o,a,[r,n,l]=i,d=0;if(r.some(t=>0!==e[t])){for(o in n)s.o(n,o)&&(s.m[o]=n[o]);if(l)var c=l(s)}for(t&&t(i);d<r.length;d++)a=r[d],s.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return s.O(c)},i=self.webpackChunkplus_frontend=self.webpackChunkplus_frontend||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})(),s.nc=void 0;var l=s.O(void 0,[121,76],()=>s(78405));l=s.O(l)})();

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.