const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/_app/immutable/chunks/D1ibicJ2.mjs","/_app/immutable/chunks/BWaJ3C7D.mjs"])))=>i.map(i=>d[i]); import{a as e}from"./BWaJ3C7D.mjs";import{Ft as t,Ht as n,J as r,Jt as i,Lt as a,Pt as o,Qt as s,S as c,V as l,Wt as u,Z as d,Zt as f,a as p,at as m,c as h,ct as g,dn as _,et as v,fn as y,gt as b,i as x,kt as S,l as C,m as w,nt as T,q as E,st as D,tt as O,u as k,vn as A,w as j,yn as M}from"./DRAiiyBy.mjs";import{t as N}from"./Da3zqOpz.mjs";import{f as P}from"./C3A_u7bk.mjs";import{t as F}from"./DclECHGd.mjs";import{t as I}from"./C3-3c3M6.mjs";import"./xihTtKlq.mjs";import{n as L}from"./Bl8dDCyh.mjs";import{g as R}from"./CvecjQ1c.mjs";import{n as z}from"./BzNMbkCt.mjs";import{a as B}from"./BhKzNVnb.mjs";import{t as V}from"./BunZ7B1w.mjs";import{t as H}from"./CDeryNRY.mjs";import{t as U}from"./CSyhqmcN.mjs";import{t as W}from"./Bm60KqR_.mjs";import{t as G}from"./iV4rBlAM.mjs";import{t as K}from"./zDaB4sRz.mjs";import{t as q}from"./zW_sE92t.mjs";import{t as J}from"./BebosmNA.mjs";import{t as Y}from"./B9cUXmLr.mjs";import{t as X}from"./cMkZI6C4.mjs";var Z=new Set([`$$slots`,`$$events`,`$$legacy`]);function ee(e,n){y(n,!0);let r=()=>s(Y,`$vipProgressStore`,o),a=()=>s(u,`$meta`,o),[o,c]=f();C(n,Z);let{meta:u}=L(),d=i(()=>r()??n.vipProgress),m=i(()=>a().name||z.data?.authResponse?.user?.name||``),h=i(()=>b(d)?.user?.flagProgress?.flag||`none`),g=i(()=>b(d)?.user?.flagProgress?.progress||0),x=async()=>{if(!N.engagement.vipRanksEnabled)return;let{data:e}=await P({doc:J,load:{fetch},variables:{}});e&&Y.set(e)};p(()=>{let e=q.subscribe(e=>{e?.data?.__typename===`UserFlag`&&x()});return()=>{e()}});var S=O(),w=t(S);l(w,()=>n.children,()=>({loading:!b(d),name:b(m),flag:b(h),progress:b(g)})),v(e,S),_(),c()}var te={base:{nextLevel:e=>({id:`UcRAdJ`,values:{vipLevel:e.vipLevel}}),maxLevel:{id:`BHfPfW`},progressLabel:{id:`RPdhLZ`},tooltip:N.sportsbook.racingEnabled?{id:`hvrJvK`}:{id:`2L39Oo`}},sweepsModel:{tooltip:{id:`5kAaNz`}},denmark:{tooltip:{id:`8Ydyif`}}},Q=G(te),ne=T(`
`);function re(e,t){y(t,!0);let n=()=>s(B,`$mobileView`,a),r=()=>s(I,`$i18n`,a),[a,c]=f();{let t=e=>{var t=ne(),n=o(t);H(n,{type:`body`,tag:`span`,size:`sm`,children:(e,t)=>{A();var n=m();S(e=>d(n,e),[()=>r()._(Q.tooltip)]),v(e,n)},$$slots:{default:!0}}),M(t),v(e,t)},a=i(()=>V(n()&&`px-8`));U(e,{get class(){return b(a)},tooltip:t,children:(e,t)=>{K(e,{size:`sm`,class:`text-neutral-fg-subtle`})},$$slots:{tooltip:!0,default:!0}})}_(),c()}var $={bronze:{animationDataPath:`bronze`},silver:{animationDataPath:`silver`},gold:{animationDataPath:`gold`},platinum:{animationDataPath:`platinum-I`},"wagered(500k)":{animationDataPath:`platinum-II`},"wagered(1m)":{animationDataPath:`platinum-III`},"wagered(2.5m)":{animationDataPath:`platinum-IV`},"wagered(5m)":{animationDataPath:`platinum-V`},"wagered(10m)":{animationDataPath:`platinum-VI`},"wagered(25m)":{animationDataPath:`diamond-I`},"wagered(50m)":{animationDataPath:`diamond-II`},"wagered(100m)":{animationDataPath:`diamond-III`},"wagered(250m)":{animationDataPath:`diamond-IV`},"wagered(500m)":{animationDataPath:`diamond-V`},"wagered(1000m)":{animationDataPath:`obsidian-I`,scale:1.2},"wagered(2500m)":{animationDataPath:`obsidian-II`,scale:1.2}},ie=Object.keys($),ae=e=>ie.includes(e),oe={playAnimation:{id:`1MA-dJ`}},se=new Set([`$$slots`,`$$events`,`$$legacy`,`flag`,`animateOnClick`,`autoplayAnimations`,`class`]),ce=T(``),le=T(`