PageSourceSearch

https://www.manyvids.com/_next/static/immutable/chunks/16auitol7_-57.js

js manyvids.com collected 2026-09-24 17:53:05 UTC 29,620 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,573139,508921,620664,180034,272687,98881,e=>{"use strict";var t=e.i(442127),r=e.i(832356),n=e.i(867405);let a=r.z.object({watchable:r.z.array(r.z.string())}),o=new t.default(async e=>{let t=await n.api.get(`/store/access/videos/${e.join(",")}`,{includeCredentials:!0});if(!t.ok)throw t.httpError();let{watchable:r}=await t.parse(a,{errorHandling:"log"});return e.map(e=>r.includes(e))},{batchScheduleFn:e=>setTimeout(e,50)}),i=async e=>o.load(e);e.s(["isVideoWatchable",0,i],508921);var s=e.i(62798);let l=async(e,t)=>{try{if(e){let r=await n.api.post("/search/history",{searches:[{keywords:e,resultsFound:t}]},{includeCredentials:!0});if(201!==r.status)throw r.httpError()}}catch(e){s.logger.warn("Failed to save search history",{error:e})}};e.s(["saveSearchHistory",0,l],620664);let c=r.z.object({type:r.z.literal("vid"),username:r.z.string(),url:r.z.string()}),u=r.z.object({type:r.z.literal("profile-icon"),avatar:r.z.object({url:r.z.string()}),username:r.z.string(),stage_name:r.z.string(),url:r.z.string()}),h=r.z.object({type:r.z.literal("item"),title:r.z.string(),url:r.z.string()}),d=r.z.object({all:r.z.array(r.z.union([c,u,h])),vids:r.z.array(c),models:r.z.array(u),items:r.z.array(h),counts:r.z.object({all:r.z.number(),vids:r.z.number(),models:r.z.number(),items:r.z.number()})});r.z.object({title:r.z.string(),resultsData:r.z.array(r.z.union([c,u,h])).optional(),countResults:r.z.number()});let p=async(e,t)=>{let r=new URLSearchParams({keywords:e,contentPref:t});return n.api.query({url:`/search/autocomplete?${r}`,includeCredentials:!0,schema:d})};e.s(["getSearchAutocomplete",0,p],180034);var m=e.i(310289),z=e.i(900175),g=e.i(599319);let b=r.z.object({vids:r.z.array(g.videoSchema),storeItems:r.z.array(z.storeItemSchema),girls:r.z.array(m.creatorSchema),boys:r.z.array(m.creatorSchema),trans:r.z.array(m.creatorSchema),producers:r.z.array(m.creatorSchema)}),f=async(e,t)=>{if(!e)return{vids:[],storeItems:[],girls:[],boys:[],trans:[],producers:[]};let r=new URLSearchParams({keywords:e,contentPref:t});return n.api.query({url:`/search/results?${r}`,includeCredentials:!0,schema:b})};e.s(["getSearchResults",0,f],272687);let y=r.z.object({trends:r.z.array(r.z.string())}),v=async()=>n.api.query({url:"/search/suggestions",schema:y});e.s(["getSearchSuggestions",0,v],98881),e.s([],573139)},310289,313034,e=>{"use strict";var t=e.i(832356);let r=t.z.object({url:t.z.string()});e.s(["mediaSchema",0,r],313034);let n=t.z.object({club:t.z.boolean().optional(),liveshows:t.z.boolean().optional(),marketplace:t.z.boolean().optional()}),a=t.z.object({id:t.z.string(),guid:t.z.string().optional(),stageName:t.z.string(),slug:t.z.string(),avatar:r,portrait:r.optional(),services:n.optional(),mvRank:t.z.number().optional(),merchantRank:t.z.number().optional(),liveEarnerRank:t.z.number().optional(),clubsEarnerRank:t.z.number().optional(),isFollowing:t.z.boolean().optional(),creatorType:t.z.string().nullable().optional(),hasGeoblock:t.z.boolean().optional(),isRegionRestricted:t.z.boolean().optional(),isAICreator:t.z.boolean().optional(),is3DProducer:t.z.boolean().optional(),isCreatorPlus:t.z.boolean().optional()});e.s(["creatorSchema",0,a],310289)},916440,e=>{"use strict";var t=e.i(832356);let r=t.z.object({free:t.z.boolean(),onSale:t.z.boolean(),regular:t.z.string(),promoRate:t.z.number().optional(),discountedPrice:t.z.string().optional()});e.s(["priceSchema",0,r])},900175,e=>{"use strict";var t=e.i(832356);let r=t.z.object({domestic:t.z.object({available:t.z.number(),price:t.z.string()}).optional(),from:t.z.string(),international:t.z.object({available:t.z.number(),price:t.z.string()}).optional()}),n=t.z.object({description:t.z.string().optional(),id:t.z.string(),label:t.z.string(),quantity:t.z.number().optional()}),a=t.z.object({id:t.z.string(),label:t.z.string(),price:t.z.number()});var o=e.i(310289),i=e.i(916440),s=e.i(313034);let l=t.z.object({id:t.z.string(),title:t.z.string(),slug:t.z.string(),initialQuantity:t.z.number().optional(),quantity:t.z.number().optional(),initialStock:t.z.number().optional(),isFeaturedInWishlistEvent:t.z.boolean().optional(),size:t.z.string().optional(),braSize:t.z.string().optional(),addons:t.z.union([t.z.string(),t.z.array(a)]).optional(),selectableSizes:t.z.array(n).optional(),category:t.z.union([t.z.string(),t.z.number()]).optional(),creator:o.creatorSchema,thumbnail:s.mediaSchema,price:i.priceSchema,labels:t.z.object({isBestValue:t.z.boolean(),isNew:t.z.boolean()}).optional(),broadcastDiscount:t.z.boolean().optional(),isSfw:t.z.boolean().optional(),isSFW:t.z.boolean().optional(),shipping:r.optional(),wishlistedAddons:t.z.array(t.z.string()).optional(),wishlistedSize:t.z.string().optional(),isStoreItemWishlisted:t.z.boolean().optional(),wishlistedByViewer:t.z.object({selectedSize:n.nullable(),addons:t.z.array(t.z.object({id:t.z.string().nullable(),label:t.z.string().nullable(),price:t.z.any().optional()}).nullable())}).optional()});e.s(["storeItemSchema",0,l],900175)},599319,e=>{"use strict";var t=e.i(832356),r=e.i(313034),n=e.i(310289),a=e.i(916440);let o=t.z.object({id:t.z.string(),title:t.z.string(),slug:t.z.string(),description:t.z.string().optional(),thumbnail:r.mediaSchema.optional(),preview:r.mediaSchema.optional(),creator:n.creatorSchema,price:a.priceSchema,tokenRewards:t.z.number().optional(),likes:t.z.number().optional(),views:t.z.number(),type:t.z.union([t.z.literal("regular"),t.z.literal("premium"),t.z.literal("vidbundle-exclusive")]),duration:t.z.string().optional(),launchDate:t.z.string().optional(),community:t.z.object({id:t.z.coerce.number(),name:t.z.string().optional()}).optional(),isRegionRestricted:t.z.boolean().optional(),is3D:t.z.boolean().optional(),isAiGenerated:t.z.boolean().optional(),extra:t.z.object({ranking:t.z.number().optional(),transactionsScore:t.z.number().optional(),viewsScore:t.z.number().optional(),score:t.z.number().optional(),bonus:t.z.number().optional(),contentType:t.z.string().optional(),winnerOf:t.z.string().optional()}).optional()});
1e.s(["videoSchema",0,o])},62798,e=>{"use strict";let t=(0,e.i(2727).getLogger)({domain:"content-catalog"});e.s(["logger",0,t])},705532,e=>{"use strict";var t=e.i(867405),r=e.i(2727);e.i(301538);var n=e.i(865660),a=e.i(209117),o=e.i(268490);let i=(0,r.getLogger)({domain:"contests-promos",resource:"contest-service"}),s=async()=>{try{let{contest:e,isActive:r,lastFinishedContestId:n,lastFinishedContestTitle:i}=await t.api.query({next:{revalidate:60},schema:o.activeContestResponseSchema,url:"/contest/status"}),s=n?(0,a.getContestUrl)("CONTESTS",{id:n,title:i}):null;return{contest:e,isActive:r,lastFinishedContestUrl:s}}catch(e){i.error("Error while fetching active contest",{error:e});return}},l=async(e,r,n)=>{try{return await t.api.query({url:`/contest/private/${e??""}${r?`?page=${r}`:""}${n?`&participantsLimit=${n}`:""}&includeTop3Voters=true`,schema:o.contestApiSuccessResponseSchema,next:{revalidate:60},includeCredentials:!0})}catch(t){i.error("Error while fetching contest details",{error:t,contestId:e});return}},c=async({contest_id:e,participant_id:r,anonymous:n,awardsVote:a=!1})=>{try{let o=await t.api.fetch({url:`/contest/${a?"awards/":""}private/free-vote`,method:"PUT",includeCredentials:!0,headers:{"Content-Type":"application/json"},body:{contest_id:e,participant_id:r,anonymous:n}});if(!o.ok)throw o.httpError();return{success:!0}}catch(e){return i.error(`${e}`,{error:e}),e}},u=async(e,r,n)=>{let a;n=n?.replace(/-/g," ");try{if(a=await t.api.fetch({url:n?`/contest/participant?contestId=${e}&stageName=${n}`:`/contest/participant?contestId=${e}&participantId=${r}`}),404===a.status)return null;if(!a.ok)return i.error("Non-OK response while fetching user participation",{error:a.httpError(),contestId:e,userId:r}),null;let o=await a.json();if("Participant is deleted"===o.message||void 0!==o.error)return null;return o}catch(t){return i.error("Error while fetching user participation",{error:t,contestId:e}),null}},h=async(e,r)=>{let n,a=`/contest/last-fifty-votes/${e}`;r&&(a+="?limit="+r);try{n=await t.api.query({url:a,schema:o.lastFiftyVotesSchema})}catch(t){throw i.error("Error while fetching last fifty votes",{error:t,contestId:e}),t}return n},d=async(e,r)=>{let n;try{n=await t.api.query({url:`/contest/private/has-voted/${e}/${r}`,method:"GET",schema:o.hasVotedInTheLastTwinetyFourHoursResponseSchema,includeCredentials:!0})}catch(t){throw i.error("Error while fetching has voted in the last twenty hours",{error:t,contestId:e}),t}return n},p=async(e,r)=>{let n;try{n=await t.api.fetch({url:"/contest/private/participation",body:{user_id:r,contest_id:e},headers:{"content-type":"application/json"},method:"DELETE",includeCredentials:!0})}catch(t){throw i.error("Error while deleting current user contest participation",{error:t,contestId:e}),t}return n},m=async(e,r,a,o,s)=>{let l=s?.action??n.CRUDActions.CREATE,c=l===n.CRUDActions.UPDATE?n.HTTPMethods.PATCH:n.HTTPMethods.POST;try{let n=await t.api.fetch({url:"/contest/private/participation/v2",body:{creatorId:e,contestId:r,imageId:a,text:o,freeVote:0,videoId:null,winner:0,team:0},headers:{"content-type":"application/json"},method:c,includeCredentials:!0});if(!n.ok)throw n.httpError()}catch(t){throw i.error(`Error while ${l===n.CRUDActions.UPDATE?"updading":"creating"} a contest entry`,{error:t,contestId:r,creatorId:e}),t}},z=async e=>{try{let r=await t.api.fetch({url:`/contest/${e}/participation-status`,timeout:5e3});if(!r.ok)return i.warn("Non-OK response while fetching contest participation status",{error:r.httpError(),creatorId:e}),null;return await r.json()}catch(t){return i.warn("Could not fetch contest participation status",{error:t,creatorId:e}),null}};function g(e){return"string"==typeof e&&/^[a-zA-Z0-9_-]+$/.test(e)&&e.length>0&&e.length<=100}let b=async e=>{if(!g(e)){let t=Error("Invalid contest ID format");throw i.error("Attempted to fetch has-voted status with invalid contest ID",{contestId:e,contestIdLength:e?.length}),t}let r=`/contest/private/club/${e}/has-voted`;try{return await t.api.query({url:r,method:"GET",schema:o.hasVotedInClubChallengeContestResponseSchema,includeCredentials:!0})}catch(t){throw i.error("Error while fetching has voted in the club challenge contest in the last twenty hours",{error:t,contestId:e}),t}};async function f(e,r){if(!g(e)){let t=Error("Invalid contest ID format");
1throw i.error("Attempted to vote with invalid contest ID",{contestId:e,contestIdLength:e?.length,creatorId:r}),t}if(!("string"==typeof r&&/^[a-zA-Z0-9_-]+$/.test(r)&&r.length>0&&r.length<=100)){let t=Error("Invalid creator ID format");throw i.error("Attempted to vote with invalid creator ID",{contestId:e,creatorId:r,creatorIdLength:r?.length}),t}try{let n=await t.api.post(`/contest/private/club/${e}/vote`,{creatorId:r},{includeCredentials:!0});if(!n.ok)throw n.httpError();return await n.parse(o.clubChallengeSchema,{errorHandling:"log"})}catch(t){throw i.error("Error while voting for club challenge contestant",{error:t,contestId:e,creatorId:r}),t}}let y=async()=>{try{let e=await t.api.fetch({url:"/contest/club/current/view",method:"POST",includeCredentials:!1});if(!e.ok&&204!==e.status)throw e.httpError()}catch(e){throw i.error("Error while recording club challenge view",{error:e}),e}};e.s(["addFreeVote",0,c,"deleteContestParticipation",0,p,"fetchHasVotedInClubChallengeContest",0,b,"getActiveContest",0,s,"getContestDetails",0,l,"getContestParticipationStatus",0,z,"getUserParticipation",0,u,"hasVotedInTheLastTwinetyFourHours",0,d,"lastFiftyVotes",0,h,"recordClubChallengeView",0,y,"sendContestEntry",0,m,"voteInClubContest",0,f],705532)},268490,e=>{"use strict";var t=e.i(121747),r=e.i(832356);let n=r.z.object({userId:r.z.number(),userName:r.z.string(),urlHandle:r.z.string(),stageName:r.z.string(),top3Voters:r.z.object({userId:r.z.string().nullable(),anonymous:r.z.boolean(),stageName:r.z.string().nullable(),avatar:r.z.string().nullable()}).array().optional(),entryDescription:r.z.string().nullish().optional(),entryImage:r.z.string().nullish().optional(),avatar:r.z.string(),hasActiveClub:r.z.boolean(),bestPic:r.z.boolean().optional(),contestBonus:r.z.number().optional(),rank:r.z.number().optional(),winner:r.z.number().optional(),videoId:r.z.number().optional()});r.z.object({userId:r.z.number(),rank:r.z.number(),entryDescription:r.z.string().nullish().optional(),entryImage:r.z.string().nullish().optional(),stageName:r.z.string(),urlHandle:r.z.string(),userName:r.z.string(),avatar:r.z.string()});let a=r.z.object({id:r.z.number(),voterId:r.z.number(),modelId:r.z.number(),voterStageName:r.z.string(),modelStageName:r.z.string()}),o=r.z.object({awards:r.z.boolean(),id:r.z.number(),title:r.z.string(),description:r.z.string(),banner:r.z.string(),bonuses:r.z.array(r.z.object({rank:r.z.string(),value:r.z.string()})),start:r.z.string(),end:r.z.string(),startTimestamp:r.z.number(),endTimestamp:r.z.number(),isActive:r.z.boolean(),participants:r.z.array(n),pageCount:r.z.number(),totalParticipants:r.z.number(),winningWednesday:r.z.boolean(),paidVotesAllowed:r.z.boolean(),announcementLink:r.z.string().optional(),bestPic:r.z.number().optional(),currentUserParticipation:r.z.any().nullish(),prizes:r.z.array(r.z.number()).optional(),votes:r.z.array(a).optional(),totalCashPrize:r.z.number().optional()}),i=r.z.object({votes:r.z.array(a)}),s=r.z.object({contest:o}).or(r.z.object({message:r.z.string()})),l=r.z.object({hasVoted:r.z.boolean(),creatorId:r.z.string().optional(),error:r.z.string().optional()}),c=r.z.object({canFreeVote:r.z.boolean(),error:r.z.string().optional()});r.z.object({success:r.z.boolean(),error:r.z.string()}),r.z.object({isActive:r.z.boolean(),isParticipating:r.z.boolean(),contestId:r.z.number().nullable(),contest:r.z.object({id:r.z.number(),title:r.z.string(),start:r.z.string(),end:r.z.string(),winning_wednesday:r.z.number(),paid_votes_allowed:r.z.number(),mv_award:r.z.string()}).nullable()});let u=r.z.object({isActive:r.z.boolean(),contest:r.z.object({id:r.z.string().or(r.z.number()).transform(e=>String(e)),title:r.z.string().nullish(),isMVAward:r.z.boolean().optional()}).nullish(),lastFinishedContestId:r.z.string().nullish(),lastFinishedContestTitle:r.z.string().nullish()}),h=r.z.object({categories:r.z.array(r.z.object({contestId:r.z.number(),participants:r.z.array(n)}))}),d=r.z.object({id:r.z.string(),contestId:r.z.string(),displayEndsAt:r.z.string(),announcedAt:r.z.string(),viewCount:r.z.number(),participants:(0,t.safeArray)(r.z.object({creatorId:r.z.string(),votes:r.z.number(),totalVids:r.z.number(),clubPrice:r.z.string()}),{domain:"contests-promos"}),status:r.z.string(),votingEndsAt:r.z.string(),votingStartsAt:r.z.string()});e.s(["activeContestResponseSchema",0,u,"clubChallengeSchema",0,d,"contestApiSuccessResponseSchema",0,s,"hasVotedInClubChallengeContestResponseSchema",0,l,"hasVotedInTheLastTwinetyFourHoursResponseSchema",0,c,"landerParticipantsSchema",0,h,"lastFiftyVotesSchema",0,i])},558020,e=>{"use strict";var t=e.i(926048);e.i(573139);var r=e.i(180034);e.i(825057);var n=e.i(264131),a=e.i(963075);e.s(["default",0,e=>{let[o,i]=(0,t.useState)(void 0),[s,l]=(0,t.useState)(!1),[c,u]=(0,t.useState)(""),h=((e,r=500)=>{let[n,a]=(0,t.useState)(e),o=(0,t.useRef)(Date.now()),i=e=>{o.current=Date.now(),a(e)},s=Date.now()>=o.current+r;return(0,t.useEffect)(()=>
1{if(s)i(e);else{let t=setTimeout(()=>{i(e)},r);return()=>{clearTimeout(t)}}},[e,r,s]),n})(e.trim()),d=(0,n.useContentPref)(),p=(0,t.useCallback)(async(e,t)=>{l(!0),u("");try{let n=await (0,r.getSearchAutocomplete)(e,t||"1,2,3");i(n),u("")}catch(e){a.logger.error("Failed to fetch search autocomplete",{error:e,resource:"useAutocomplete"}),u("Error fetching autocomplete suggestions")}finally{l(!1)}},[]);return(0,t.useEffect)(()=>{h&&h.length>=3?p(h,d||"1,2,3").catch(()=>{u("No Result"),l(!1),i(void 0)}):(i(void 0),l(!1),u(""))},[p,h,d]),{results:o,loading:s,error:c}}],558020)},963075,e=>{"use strict";let t=(0,e.i(2727).getLogger)({domain:"content-catalog"});e.s(["logger",0,t])},760395,e=>{"use strict";var t=e.i(872027),r=e.i(926048),n=e.i(477205),a=e.i(537981),o=e.i(119271);let i=(0,a.default)(()=>e.A(612089),{loadableGenerated:{modules:[284646]}});e.s(["default",0,function({children:e,render:a,resource:s="error-boundary"}){let l=(0,o.useLogger)(),c=(0,r.useCallback)((e,t)=>{l.unexpectedError(e,{componentStack:t.componentStack,resource:s})},[l,s]),u=(0,r.useCallback)(e=>"nothing"===a?null:"errorPage"===a?(0,t.jsx)(i,{}):a(e),[a]);return(0,t.jsx)(n.ErrorBoundary,{fallbackRender:u,onError:c,children:e})}])},40521,846010,e=>{"use strict";var t=e.i(760395);e.i(477205);var r=e.i(872027);e.s(["withErrorBoundary",0,function(e,n){let a=a=>(0,r.jsx)(t.default,{...n,children:(0,r.jsx)(e,{...a})}),o=e.displayName||e.name||"Unknown";return a.displayName=`withErrorBoundary(${o})`,a}],846010);let n=t.default;e.s(["default",0,n],40521)},330511,e=>{"use strict";var t=e.i(872027),r=e.i(878143);function n({filled:e,color:a="currentColor",...o}){return(0,t.jsx)(r.default,{...o,defaultSize:16,name:"trophy-icon",viewBox:"0 0 16 16",children:e?(0,t.jsx)("path",{d:"M-29.824,199.64h-1.924c0-.191.008-.384.008-.577a.563.563,0,0,0-.563-.563h-9.916a.564.564,0,0,0-.563.563c0,.193,0,.386.009.577H-44.7a.564.564,0,0,0-.563.563,10.144,10.144,0,0,0,1.543,5.566,4.952,4.952,0,0,0,3.706,2.424,4.831,4.831,0,0,0,.949.8v1.9h-.677a1.8,1.8,0,0,0-1.8,1.8v.68a.564.564,0,0,0-.5.559.563.563,0,0,0,.563.563h8.429a.564.564,0,0,0,.563-.563.564.564,0,0,0-.5-.559v-.68a1.805,1.805,0,0,0-1.8-1.8h-.676v-1.9a4.932,4.932,0,0,0,.949-.8,4.953,4.953,0,0,0,3.7-2.424,10.136,10.136,0,0,0,1.543-5.566A.564.564,0,0,0-29.824,199.64Zm-1.917,5.506a4.591,4.591,0,0,1-1.745,1.622q.122-.215.235-.441a15.475,15.475,0,0,0,1.44-5.561h1.41a8.841,8.841,0,0,1-1.34,4.38Zm-1.133-5.52Zm-8.161,7.142a4.576,4.576,0,0,1-1.745-1.622h0a8.824,8.824,0,0,1-1.339-4.38h1.409a15.475,15.475,0,0,0,1.441,5.561C-41.195,206.477-41.116,206.625-41.035,206.768Z",fill:a,stroke:"none",transform:"translate(45.261 -198.5)"}):(0,t.jsx)("path",{d:"M-29.824,199.64h-1.924c0-.191.008-.384.008-.577a.563.563,0,0,0-.563-.563h-9.916a.564.564,0,0,0-.563.563c0,.193,0,.386.009.577H-44.7a.564.564,0,0,0-.563.563,10.144,10.144,0,0,0,1.543,5.566,4.952,4.952,0,0,0,3.706,2.424,4.831,4.831,0,0,0,.949.8v1.9h-.677a1.8,1.8,0,0,0-1.8,1.8v.68a.564.564,0,0,0-.5.559.563.563,0,0,0,.563.563h8.429a.564.564,0,0,0,.563-.563.564.564,0,0,0-.5-.559v-.68a1.805,1.805,0,0,0-1.8-1.8h-.676v-1.9a4.932,4.932,0,0,0,.949-.8,4.953,4.953,0,0,0,3.7-2.424,10.136,10.136,0,0,0,1.543-5.566A.564.564,0,0,0-29.824,199.64Zm-9.916,12.381h4.958a.678.678,0,0,1,.677.677v.676h-6.312V212.7A.678.678,0,0,1-39.74,212.021Zm8-6.875a4.591,4.591,0,0,1-1.745,1.622q.122-.215.235-.441a15.475,15.475,0,0,0,1.44-5.561h1.41a8.841,8.841,0,0,1-1.34,4.38ZM-36.3,208.18a2.081,2.081,0,0,1-1.91,0,.463.463,0,0,0-.065-.034,3.614,3.614,0,0,1-1.012-.832.466.466,0,0,0-.064-.075,7.267,7.267,0,0,1-.91-1.42,15.179,15.179,0,0,1-1.385-6.2h8.774a15.187,15.187,0,0,1-1.384,6.2,7.267,7.267,0,0,1-.9,1.412.435.435,0,0,0-.066.076,3.624,3.624,0,0,1-1.013.837A.582.582,0,0,0-36.3,208.18Zm-.282,1.287V210.9h-1.354v-1.428A3.093,3.093,0,0,0-36.584,209.467Zm-4.451-2.7a4.576,4.576,0,0,1-1.745-1.622h0a8.824,8.824,0,0,1-1.339-4.38h1.409a15.475,15.475,0,0,0,1.441,5.561C-41.195,206.477-41.116,206.625-41.035,206.768Z",fill:a,stroke:"none",transform:"translate(45.261 -198.5)"})})}e.s(["TrophyIcon",0,n,"default",0,n])},191632,e=>{"use strict";var t=e.i(552937);e.s(["useOnClickOutside",0,function(e,r,n="pointerdown",a={}){(0,t.useEventListener)(n,t=>{let n=t.target;n&&n.isConnected&&(Array.isArray(e)?e.filter(e=>!!e?.current).every(e=>e.current&&!e.current.contains(n)):e?.current&&!e.current.contains(n))&&r(t)},void 0,a)}])},301538,e=>{"use strict";e.i(865660),e.s([])},865660,e=>{"use strict";var t,r,n,a,o,i=e.i(832356),s=((t={}).CLUB="club",t.CONTEST="contest",t.CUSTOM="custom",t.LIVE="live",t.MARKETPLACE="marketplace",t.PREMIUM="premium",t),l=((r={}).MARKETPLACE_LIGHT="marketplace-light",r.AWARDS="awards",r),c=((n={}).CREATE="CREATE",n.DELETE="DELETE",n.READ="READ",n.UPDATE="UPDATE",n),u=((a={}).DELETE="DELETE",a.GET="GET",a.PATCH="PATCH",a.POST="POST",a.PUT="PUT",a),h=((o={}
1)[o.OK=200]="OK",o[o.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",o[o.BAD_REQUEST=400]="BAD_REQUEST",o[o.UNAUTHORIZED=401]="UNAUTHORIZED",o[o.FORBIDDEN=403]="FORBIDDEN",o[o.NOT_FOUND=404]="NOT_FOUND",o[o.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",o[o.GONE=410]="GONE",o[o.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",o[o.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",o);let d=i.z.object({statusCode:i.z.number(),statusMessage:i.z.string()});e.s(["CRUDActions",()=>c,"HTTPMethods",()=>u,"HTTPStatusCode",()=>h,"ThemeCards",()=>l,"ThemedProducts",()=>s,"basicSuccessResponseSchema",0,d])},928820,e=>{"use strict";let t=(0,e.i(2727).getLogger)({domain:"webfront"});e.s(["logger",0,t])},121747,e=>{"use strict";var t=e.i(832356),r=e.i(2727);let n=Symbol("failedParseItem");function a(e){return e!==n}e.s(["safeArray",0,function(e,o){let i=t.z.union([e,t.z.literal(n)]).catch(({input:e,error:a})=>{let i=a;if(a instanceof t.z.ZodError&&1===a.issues.length&&"invalid_union"===a.issues[0].code){let e=a.issues[0];if("invalid_union"===e.code&&2===e.unionErrors.length){let t=e.unionErrors.find(e=>"invalid_literal"!==e.issues[0].code);t&&(i=t)}}return(0,r.getLogger)({domain:o.domain,resource:o.resource}).warn("Schema error: invalid array item",{input:e,error:i}),n});return t.z.array(i).transform(e=>e.filter(a)).catch(e=>((0,r.getLogger)({domain:o.domain,resource:o.resource}).warn("Schema error: invalid array",e),[]))}])},657102,e=>{"use strict";var t=e.i(480),r=e.i(926048),n=e.i(948143),a=e.i(867405),o=e.i(876203),i=e.i(856869);e.i(680114);var s=e.i(469727),l=e.i(848008);let c={rules:[],expiration:void 0},u=(0,l.jsonEncodedLocalStorageKey)({storage:"local",key:"mv:access-token",schema:t.object({expiration:t.string(),rules:t.array(t.object({effect:t.number(),service:t.number(),reason:t.number()}))}),defaultValue:c}),h={0:"customvid",1:"live"};e.s(["default",0,function(e){let[t,l]=(0,s.useDeviceStorage)(u),{data:d}=(0,n.default)("/auth/token/v1",async e=>{try{let t=await a.api.fetch({url:e,includeCredentials:!0});if(!t.ok)throw t.httpError();o.tokenPollFailures.reset();let r=await t.json();return l(r),r}catch(e){return o.tokenPollFailures.recordFailure(),(0,i.logAuthFetchError)("Error while fetching service access rules",e),t??c}},{refreshInterval:e=>{let r=(e=>{let r=t?.expiration||e?.expiration;if(r){let t=new Date(r).valueOf()-Date.now();return(t>3e5?t-3e5:0)+2e3*(r!==e?.expiration)}return 3e5})(e);return o.tokenPollFailures.count>0?Math.max(r,(0,o.getAuthPollBackoffDelay)(o.tokenPollFailures.count)):r},focusThrottleInterval:6e4,revalidateOnFocus:!1,fallbackData:t}),p=d?.rules,m=(0,r.useMemo)(()=>{let e=new Map;return Array.isArray(p)&&p.length&&p.forEach(({service:t,effect:r})=>{e.set(h[t],0===r)}),e},[p]);return!m.has(e)||m.get(e)}])},59256,e=>{"use strict";e.s(["BROADCAST_UNREAD_KEY",0,"broadcast-unread"])},681708,e=>{"use strict";let t=(0,e.i(2727).getLogger)({domain:"feed-comms"});e.s(["logger",0,t])},442127,(e,t,r)=>{"use strict";var n,a=e.i(60543),o=function(){function e(e,t){var r;if("function"!=typeof e)throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but got: "+e+".");this._batchLoadFn=e,this._maxBatchSize=function(e){if(!(!e||!1!==e.batch))return 1;var t=e&&e.maxBatchSize;if(void 0===t)return 1/0;if("number"!=typeof t||t<1)throw TypeError("maxBatchSize must be a positive number: "+t);return t}(t),this._batchScheduleFn=function(e){var t=e&&e.batchScheduleFn;if(void 0===t)return i;if("function"!=typeof t)throw TypeError("batchScheduleFn must be a function: "+t);return t}(t),this._cacheKeyFn=function(e){var t=e&&e.cacheKeyFn;if(void 0===t)return function(e){return e};if("function"!=typeof t)throw TypeError("cacheKeyFn must be a function: "+t);return t}(t),this._cacheMap=function(e){if(!(!e||!1!==e.cache))return null;var t=e&&e.cacheMap;if(void 0===t)return new Map;if(null!==t){var r=["get","set","delete","clear"].filter(function(e){return t&&"function"!=typeof t[e]});if(0!==r.length)throw TypeError("Custom cacheMap missing methods: "+r.join(", "))}return t}(t),this._batch=null,this.name=(r=t)&&r.name?r.name:null}var t=e.prototype;return t.load=function(e){if(null==e)throw TypeError("The loader.load() function must be called with a value, but got: "+String(e)+".");var t,r=function(e){var t=e._batch;if(null!==t&&!t.hasDispatched&&t.keys.length<e._maxBatchSize)return t;var r={hasDispatched:!1,keys:[],callbacks:[]};return e._batch=r,e._batchScheduleFn(function(){!function(e,t){var r;if(t.hasDispatched=!0,0===t.keys.length)return l(t);try{r=e._batchLoadFn(t.keys)}catch(r){return s(e,t,TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function errored synchronously: "+String(r)+"."))}if(!r||"function"!=typeof r.then)return s(e,t,TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise: "+String(r)+"."));r.then(function(e){if(!c(e))throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array: "+String(e)+".");if(e.length!==t.keys.length)throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array of the same length as the Array of keys.\n\nKeys:\n"+String(t.keys)+"\n\nValues:\n"+String(e));l(t);for(var r=0;r<t.callbacks.length;r++){var n=e[r];n instanceof Error?t.callbacks[r].reject(n):t.callbacks[r].resolve(n)}}).catch(function(r){s(e,t,r)})}(e,r)}),r}(this),n=this._cacheMap;if(n){t=this._cacheKeyFn(e);var a=n.get(t);if(a){var o=r.cacheHits||(r.cacheHits=[]);return new Promise(function(e){o.push(function(){e(a)})})}}r.keys.push(e);var i=new Promise(function(e,t){r.callbacks.push({resolve:e,reject:t})});return n&&n.set(t,i),i},t.loadMany=function(e){if(!c(e))throw TypeError("The loader.loadMany() function must be called with Array<key> but got: "+e+".");for(var t=[],r=0;r<e.length;r++)t.push(this.load(e[r]).catch(function(e){return e}));return Promise.all(t)},t.clear=function(e){var t=this._cacheMap;if(t){var r=this._cacheKeyFn(e);t.delete(r)}return this},t.clearAll=function(){var e=this._cacheMap;return e&&e.clear(),this},t.prime=function(e,t){var r=this._cacheMap;if(r){var n,a=this._cacheKeyFn(e);
1void 0===r.get(a)&&(t instanceof Error?(n=Promise.reject(t)).catch(function(){}):n=Promise.resolve(t),r.set(a,n))}return this},e}(),i="object"==typeof a.default&&"function"==typeof a.default.nextTick?function(e){n||(n=Promise.resolve()),n.then(function(){a.default.nextTick(e)})}:"function"==typeof setImmediate?function(e){setImmediate(e)}:function(e){setTimeout(e)};function s(e,t,r){l(t);for(var n=0;n<t.keys.length;n++)e.clear(t.keys[n]),t.callbacks[n].reject(r)}function l(e){if(e.cacheHits)for(var t=0;t<e.cacheHits.length;t++)e.cacheHits[t]()}function c(e){return"object"==typeof e&&null!==e&&"number"==typeof e.length&&(0===e.length||e.length>0&&Object.prototype.hasOwnProperty.call(e,e.length-1))}t.exports=o},477205,e=>{"use strict";var t=e.i(926048);let r=(0,t.createContext)(null),n={didCatch:!1,error:null};class a extends t.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=n}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(...e){let{error:t}=this.state;null!==t&&(this.props.onReset?.({args:e,reason:"imperative-api"}),this.setState(n))}componentDidCatch(e,t){this.props.onError?.(e,t)}componentDidUpdate(e,t){let{didCatch:r}=this.state,{resetKeys:a}=this.props;r&&null!==t.error&&function(e=[],t=[]){return e.length!==t.length||e.some((e,r)=>!Object.is(e,t[r]))}(e.resetKeys,a)&&(this.props.onReset?.({next:a,prev:e.resetKeys,reason:"keys"}),this.setState(n))}render(){let{children:e,fallbackRender:n,FallbackComponent:a,fallback:o}=this.props,{didCatch:i,error:s}=this.state,l=e;if(i){let e={error:s,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof n)l=n(e);else if(a)l=(0,t.createElement)(a,e);else if(void 0!==o)l=o;else throw s}return(0,t.createElement)(r.Provider,{value:{didCatch:i,error:s,resetErrorBoundary:this.resetErrorBoundary}},l)}}e.s(["ErrorBoundary",0,a,"ErrorBoundaryContext",0,r,"getErrorMessage",0,function(e){switch(typeof e){case"object":if(null!==e&&"message"in e&&"string"==typeof e.message)return e.message;break;case"string":return e}},"useErrorBoundary",0,function(){let e=(0,t.useContext)(r);if(!(null!==e&&"object"==typeof e&&"didCatch"in e&&"boolean"==typeof e.didCatch&&"error"in e&&"resetErrorBoundary"in e&&"function"==typeof e.resetErrorBoundary))throw Error("ErrorBoundaryContext not found");let{error:n,resetErrorBoundary:a}=e,[o,i]=(0,t.useState)({error:null,hasError:!1}),s=(0,t.useMemo)(()=>({error:n,resetBoundary:()=>{a(),i({error:null,hasError:!1})},showBoundary:e=>i({error:e,hasError:!0})}),[n,a]);if(o.hasError)throw o.error;return s},"withErrorBoundary",0,function(e,r){let n=(0,t.forwardRef)((n,o)=>(0,t.createElement)(a,r,(0,t.createElement)(e,{...n,ref:o}))),o=e.displayName||e.name||"Unknown";return n.displayName=`withErrorBoundary(${o})`,n}])},932682,e=>{"use strict";var t=e.i(241535);e.s(["mutate",()=>t.j])}]);
2
3//# sourceMappingURL=0266wq6rmx2v2.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.