1import{aC as v,bu as c}from"./vendor-iDu4NPb1.js";import{qd as M,rT as w,rK as x,z as E,fJ as _,cy as j,fF as B,c$ as T}from"./index-DFJ647GW.js";import{a as R}from"./index-BfTGWXG3.js";import{u as W}from"./useEnabledWheelByRarity-Dygb-4OU.js";import{u as Z}from"./useWheelTicketDistributionEndedByRarity-BeXAtjJ3.js";import{u as k}from"./useWheelTickets-xADjAAsn.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]="6b225a04-a506-4ae8-9fd2-69e0a14bb253",t._sentryDebugIdIdentifier="sentry-dbid-6b225a04-a506-4ae8-9fd2-69e0a14bb253")})()}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 i=1;i<arguments.length;i++){var n=arguments[i];if(n!=null)for(var a in n)n.hasOwnProperty(a)&&(e[a]=n[a])}return e})({},t._sentryModuleMetadata[new t.Error().stack],{"_sentryBundlerPluginAppKey:sorare-vite-application":!0})}catch{}})();const I=t=>{const e=v.c(14),{color:i,size:n,className:a,title:o,titleId:d}=t,C=n===void 0?3:n,h=M[C],u=M[C];let r;e[0]!==h||e[1]!==u?(r={width:h,height:u},e[0]=h,e[1]=u,e[2]=r):r=e[2];let l;e[3]!==o||e[4]!==d?(l=o?c.jsx("title",{id:d,children:o}):null,e[3]=o,e[4]=d,e[5]=l):l=e[5];const y=i||"currentColor";let f;e[6]!==y?(f=c.jsx("path",{d:"M18.1831 4.99707C21.3458 5.55291 24.1785 7.29939 26.0962 9.87695C28.0152 12.4526 28.877 15.6644 28.5054 18.8545C28.1336 22.0446 26.5545 24.9733 24.0952 27.0381C21.6341 29.1032 18.478 30.1507 15.27 29.9648C12.0638 29.7773 9.04829 28.3722 6.84424 26.0361C4.63848 23.7001 3.41064 20.6098 3.41064 17.3965C3.42456 14.4404 4.47244 11.5813 6.37256 9.31641C8.27254 7.0518 10.9052 5.52339 13.8159 4.99707L13.9712 5.34473L14.5366 6.85938C9.38544 7.5715 5.41851 11.9899 5.41846 17.3369C5.41847 18.2925 5.54714 19.2181 5.78467 20.0986C5.81428 20.2103 5.84621 20.3212 5.87939 20.4316C5.88803 20.4599 5.89592 20.4884 5.90479 20.5166C6.64456 22.9048 8.21582 24.977 10.3667 26.333C13.0797 28.042 16.4197 28.4274 19.4507 27.3818C22.4797 26.3362 24.8714 23.9719 25.9536 20.9551C26.2384 20.1592 26.4229 19.3405 26.5112 18.5166C26.5542 18.1292 26.5786 17.7358 26.5786 17.3369C26.5786 11.9896 22.611 7.57114 17.4595 6.85938L18.019 5.3584L18.1812 4.99707H18.1831ZM18.2729 25.8799C17.547 26.0727 16.7851 26.1777 15.9985 26.1777C15.2132 26.1777 14.452 26.0741 13.7271 25.8818L15.1626 20.5186C15.4293 20.5898 15.7094 20.6279 15.9985 20.6279C16.2884 20.6279 16.5691 20.5891 16.8364 20.5176L18.2729 25.8799ZM12.8755 18.2324C13.0245 18.7892 13.3185 19.2862 13.7144 19.6816L9.77881 23.6172C8.69534 22.5441 7.88924 21.1932 7.47412 19.6797L12.8755 18.2324ZM24.522 19.6807C24.1455 21.0525 23.4486 22.2907 22.5142 23.3096L18.563 19.3564C18.8165 19.0255 19.0097 18.6465 19.1206 18.2324L24.522 19.6807ZM16.0005 16.0449C16.6116 16.0468 17.1461 16.4566 17.3042 17.0469C17.4536 17.6044 17.2316 18.197 16.7505 18.5166C16.2694 18.8379 15.6368 18.8167 15.1782 18.4658C14.72 18.1132 14.5374 17.5089 14.7231 16.9619C14.909 16.4131 15.4221 16.0449 16.0005 16.0449ZM13.4331 15.4307C13.1786 15.7628 12.9843 16.1438 12.8735 16.5596L7.44385 15.1035C7.80548 13.7149 8.49559 12.4594 9.42725 11.4248L13.4331 15.4307ZM22.2788 11.1172C23.3579 12.2065 24.154 13.5748 24.5522 15.1045L19.1226 16.5596C18.9742 16.0029 18.6817 15.5051 18.2866 15.1094L22.2788 11.1172ZM16.8345 8.53613C17.3374 8.58332 17.8274 8.67487 18.3022 8.80273L16.8374 14.2705C16.5699 14.1988 16.2887 14.1602 15.9985 14.1602C15.7091 14.1602 15.4286 14.1982 15.1616 14.2695L13.6968 8.80176C14.1707 8.67428 14.6598 8.58327 15.1616 8.53613L15.9985 10.7783L16.8345 8.53613ZM15.9985 6.35352L14.3745 2H17.6226L15.9985 6.35352Z",fill:y}),e[6]=y,e[7]=f):f=e[7];let s;return e[8]!==a||e[9]!==r||e[10]!==l||e[11]!==f||e[12]!==d?(s=c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"none",style:r,className:a,"aria-labelledby":d,children:[l,f]}),e[8]=a,e[9]=r,e[10]=l,e[11]=f,e[12]=d,e[13]=s):s=e[13],s},O=t=>{const e=v.c(13),{children:i}=t,n=W(),a=Z(),{ticketCount:o,canClaimTicket:d}=k(),{generateSportContextPath:C}=w(),h=x(),u=o===0&&!d,r=d&&o===0&&"dot"||void 0,l=o!==0&&o,y=h?["common"]:Object.keys(n);if(!y.some(L=>n[L])||y.every(L=>!n[L]||a[L])&&o===0)return null;let s;e[0]!==C?(s=C(E),e[0]=C,e[1]=s):s=e[1];let m;e[2]===Symbol.for("react.memo_cache_sentinel")?(m=c.jsx(_,{size:"small",color:"transparent",asSpan:!0,children:c.jsx(I,{})}),e[2]=m):m=e[2];let p;e[3]!==l||e[4]!==u||e[5]!==r?(p=c.jsx(j,{badgeContent:l,variant:r,overlap:"circular",color:"red",size:"medium",invisible:u,children:m}),e[3]=l,e[4]=u,e[5]=r,e[6]=p):p=e[6];let b;e[7]!==i||e[8]!==p?(b=c.jsxs(B,{children:[p,i]}),e[7]=i,e[8]=p,e[9]=b):b=e[9];let g;return e[10]!==s||e[11]!==b?(g=c.jsx(R,{children:c.jsx(T,{to:s,children:b})}),e[10]=s,e[11]=b,e[12]=g):g=e[12],g};export{O as NavigationSorareWheel}; 2//# sourceMappingURL=index-Bc6atCf2.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.