PageSourceSearch

https://sorare.com/assets/page-CtrJHPCY.js

js sorare.com collected 2026-10-02 02:29:54 UTC 6,958 bytes, 2 lines download raw bytes

1import{aK as F,bD as a,x as W,bU as X,cq as Z}from"./vendor-DC5tXEj4.js";import{wh as Q,w2 as V,r8 as H,D as tt,kn as q,sA as et,mm as z,rs as B,v5 as rt,vI as ot,w7 as st,i1 as P,qD as it}from"./index-CeJ24_jo.js";import{M as at,g as N,a as K,C as nt}from"./index-3_2xCP0U.js";import{D as lt}from"./index-B9UQU_1s.js";import"./index-D5S7NzK_.js";import"./S26-BXvoWCHC.js";import"./index-DlplcLsN.js";import"./index-Cw-NZEpC.js";import"./index-CS7co2MR.js";import"./index-CoO60tu9.js";import"./useTaskButtonProps-3y7OHVvQ.js";import"./index-BIz9KAWO.js";import"./index-BpaY3qkI.js";import"./index-CbR-t4H8.js";import"./iconStar-omGTL_L2.js";import"./index-Di3Ajy-m.js";import"./svg-Cl1XundT.js";import"./index-Nq0b2vkb.js";import"./SportBall-BliTyd7h.js";import"./Ball-ehBFePoC.js";import"./NBABall-BM52fTSl.js";import"./TargetIcon-DY1m1K1P.js";import"./streakBackground-kplT2EHv.js";import"./index-DVSG0WZo.js";import"./index-D4Bke5f4.js";import"./index-B9R_w8KF.js";import"./index-BGKBAMFn.js";import"./index-Bni8xNtv.js";import"./playerPoolTiers-F-Mic1sj.js";import"./index-9WCoj5uP.js";import"./Clock-Bv2zo1TL.js";import"./index-tvhMwzaC.js";import"./so5-hJAc4ukS.js";import"./index-BbYJtDpp.js";import"./index-C_RMxTMz.js";import"./ChevronRightBold-NmeHPtf9.js";import"./index-mBG1hd3v.js";import"./index-C8bdiThs.js";import"./index-hJNW5FTa.js";import"./useEmitClickButton-B8KLSQ9v.js";import"./index-DyzXJqez.js";import"./index-L6xkX1AD.js";import"./index-B2XBcfwZ.js";import"./iconMore-D-7B1cwk.js";import"./iconUpload-DltRpxt9.js";import"./useIsDesktopAndAbove-CMpGVVAg.js";import"./index-DgfgDID6.js";import"./Target-BAPzTRPn.js";import"./index-BXc77FsA.js";import"./index-CtYQkLN6.js";import"./Locker-D8DImRu5.js";import"./useSendUserEngagementIncrement-GduP6PC4.js";import"./index-DFtuM626.js";import"./index.withFetch-CFJFZ6wU.js";import"./index-TAFPFlux.js";import"./CollectionArrow-D-6laoct.js";import"./index-DK5Z2Mro.js";import"./index-pSIzC_mq.js";import"./utils-Diz-Otl9.js";import"./filters-Tz_cwO9j.js";import"./index-D0sfqDtB.js";import"./index-wx-5wPlR.js";import"./index-EY4xJWGE.js";import"./index-SYdKy7zG.js";import"./useBuyCardPack-C--9Mebl.js";import"./index-gENFZjim.js";import"./Flame-CdBk7lFJ.js";import"./Lineup-WgVksC0y.js";import"./iconExternalLink-D87mZT0H.js";import"./index-dF0_9oya.js";import"./index-B7b7Lc6O.js";import"./index-D9d9lylw.js";import"./index-Dpq1xVos.js";import"./index-BJ9IEO51.js";import"./index-Bi8J56lH.js";import"./index-CxA5r82P.js";try{(function(){var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="835f8e72-4410-4bb6-be7d-46df30e46637",t._sentryDebugIdIdentifier="sentry-dbid-835f8e72-4410-4bb6-be7d-46df30e46637")})()}catch{}(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[new t.Error().stack]=(function(e){for(var r=1;r<arguments.length;r++){var o=arguments[r];if(o!=null)for(var s in o)o.hasOwnProperty(s)&&(e[s]=o[s])}return e})({},t._sentryModuleMetadata[new t.Error().stack],{"_sentryBundlerPluginAppKey:sorare-vite-application":!0})}catch{}})();const mt=B`query MissionsCategoryRarityPageQuery($taskGroupSlug:String!$sport:Sport!$rarity:Rarity!){currentUser{slug id taskGroup(slug:$taskGroupSlug){slug myTasks(sport:$sport rarity:$rarity){id ...TaskClaimedDialogs_taskInterface}...getTasksSections_taskGroup}}}${N.fragments.taskGroup}${z.fragments.taskInterface}`,pt=B`query RefreshDailyActionTaskQuery($id:ID!){currentUser{slug task(id:$id){id ...getTasksSections_dailyActionTaskInterface}}}${N.fragments.dailyActionTaskInterface}`,Ye=et(mt,({category:t,sport:e,rarity:r})=>({taskGroupSlug:t,sport:e,rarity:H(r)?r:q.common})),je=at,ct=()=>{const t=F.c(49),{category:e,rarity:r}=Q(),o=rt(),{sport:s}=V(),{data:i}=ot(),[l,x]=X.useState(!1);let S;t[0]!==i.currentUser?.taskGroup?.myTasks?(S=i?.currentUser?.taskGroup?.myTasks.find(ut)?.id,t[0]=i.currentUser?.taskGroup?.myTasks,t[1]=S):S=t[1];const R=S,G=Z(),{onClaim:g,loadingTaskId:$,pickerDialogTask:k,setPickerDialogTask:m,revealPackCardsDialogReward:_,setRevealPackCardsDialogReward:D,rewardDialogTask:C,setRewardDialogTask:I}
1=st();let b;t[2]!==G||t[3]!==R?(b=T=>{R&&(T.name===P.DROP_CHALLENGE||T.name===P.DECISIVE_PLAYER_PICKER)&&G.query({query:pt,variables:{id:it(R)}})},t[2]=G,t[3]=R,t[4]=b):b=t[4];const n=b,{currentUser:Y}=i;let p;if(t[5]!==e||t[6]!==Y||t[7]!==o||t[8]!==$||t[9]!==g||t[10]!==n||t[11]!==k||t[12]!==r||t[13]!==_||t[14]!==C||t[15]!==m||t[16]!==D||t[17]!==I||t[18]!==l||t[19]!==s){p=Symbol.for("react.early_return_sentinel");t:{const{taskGroup:T}=Y||{},j=T?.myTasks.find(dt)?.id;let c;t[21]!==m?(c=()=>m(null),t[21]=m,t[22]=c):c=t[22];let u;t[23]!==D?(u=()=>D(null),t[23]=D,t[24]=u):u=t[24];let d;t[25]!==I?(d=()=>I(null),t[25]=I,t[26]=d):d=t[26];let f;t[27]!==n||t[28]!==k||t[29]!==_||t[30]!==C||t[31]!==c||t[32]!==u||t[33]!==d?(f=a.jsx(z,{pickerDialogTask:k,onPickerDialogClose:c,revealPackCardsDialogReward:_,onRevealPackCardsDialogClose:u,rewardDialogTask:C,onRewardDialogClose:d,onSuccess:n}),t[27]=n,t[28]=k,t[29]=_,t[30]=C,t[31]=c,t[32]=u,t[33]=d,t[34]=f):f=t[34];const L=!!l&&!!j&&a.jsx(lt,{taskId:j,onClose:()=>x(!1),onSuccess:()=>{x(!1),n({name:P.DECISIVE_PLAYER_PICKER})}});let w;t[35]!==f||t[36]!==L?(w=a.jsxs(a.Fragment,{children:[f,L]}),t[35]=f,t[36]=L,t[37]=w):w=t[37];const J=w;if(["play","collect","connect"].includes(e)){let A;t[38]!==m?(A=M=>async()=>m(M),t[38]=m,t[39]=A):A=t[39];let h;t[40]!==g||t[41]!==n?(h=M=>async()=>{await g(M),n(M)},t[40]=g,t[41]=n,t[42]=h):h=t[42];const O=a.jsx(K,{sections:N({taskGroup:T,isLaptop:o,sport:s,onDropChallengeClick:A,onDecisivePlayerPickerClick:j?()=>x(!0):null,onClaim:h,loadingTaskId:$}),children:J}),U=r===q.common;let y;t[43]!==U?(y=a.jsx(nt,{open:U}),t[43]=U,t[44]=y):y=t[44];let v;t[45]!==O||t[46]!==y?(v=a.jsxs(a.Fragment,{children:[O,y]}),t[45]=O,t[46]=y,t[47]=v):v=t[47],p=v;break t}}t[5]=e,t[6]=Y,t[7]=o,t[8]=$,t[9]=g,t[10]=n,t[11]=k,t[12]=r,t[13]=_,t[14]=C,t[15]=m,t[16]=D,t[17]=I,t[18]=l,t[19]=s,t[20]=p}else p=t[20];if(p!==Symbol.for("react.early_return_sentinel"))return p;let E;return t[48]===Symbol.for("react.memo_cache_sentinel")?(E=a.jsx(K,{sections:[]}),t[48]=E):E=t[48],E},Le=()=>{const t=F.c(6),{category:e,rarity:r}=Q(),{generateSportContextPath:o}=V();if(!H(r)){let i;t[0]!==e||t[1]!==o?(i=o(tt,{params:{category:e,rarity:q.common}}),t[0]=e,t[1]=o,t[2]=i):i=t[2];let l;return t[3]!==i?(l=a.jsx(W,{to:i,replace:!0}),t[3]=i,t[4]=l):l=t[4],l}let s;return t[5]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(ct,{}),t[5]=s):s=t[5],s};function ut(t){return t.name===P.DAILY_ACTION}function dt(t){return t.name===P.DECISIVE_PLAYER_PICKER}export{je as Fallback,Le as default,Ye as loader};
2//# sourceMappingURL=page-CtrJHPCY.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.