PageSourceSearch

https://lupygames.co.uk/_next/static/chunks/7001.ee508654072ee59b.js

js lupygames.co.uk collected 2026-10-03 20:11:12 UTC 24,042 bytes, 6 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7001],{991:(e,a,t)=>{t.d(a,{A:()=>l});let l=(0,t(54724).A)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]])},7001:(e,a,t)=>{t.r(a),t.d(a,{default:()=>j});var l=t(95155),n=t(19749),i=t(29071),o=t(12115),r=t(99345),s=t(24372);let c=(0,s.createServerReference)("00419da3bb4f595933b6bb3bfdbe6fa0277fddbcd8",s.callServer,void 0,s.findSourceMapURL,"fetchNotificationPreferences"),d=(0,s.createServerReference)("0084f880c4cfaf9a0347ed04f3447b7e9884ac7acb",s.callServer,void 0,s.findSourceMapURL,"fetchEmailSettings"),u=(0,s.createServerReference)("00232b2ac8ac2a188f5fe83c0a2872d15c6e39f2a4",s.callServer,void 0,s.findSourceMapURL,"fetchQuietHours"),f=(0,s.createServerReference)("40b8e8be1495ff831a2ca5601ca2e5c4479336410d",s.callServer,void 0,s.findSourceMapURL,"updateNotificationPreferences"),m=(0,s.createServerReference)("4077a904c8295121916adb68e2c0bc20e20283f388",s.callServer,void 0,s.findSourceMapURL,"updateEmailSettings"),v=(0,s.createServerReference)("40ed736c5e469db04f80cc9066daffe0a92f81c9d5",s.callServer,void 0,s.findSourceMapURL,"updateQuietHours"),b=(0,s.createServerReference)("0068071d2cd7607c56613e1e38192c9a3a66a9e027",s.callServer,void 0,s.findSourceMapURL,"sendTestNotification");var E=t(6838),h=t(67186),S=t(82205),p=t(30669),A=t(63497),g=t(64356);function N(){let e,a,t=(0,n.c)(6),i=(0,r.c)("Player.Preferences"),{activeTab:o,setActiveTab:s}=(0,A.Z)();return t[0]!==o||t[1]!==s||t[2]!==i?(e=p.DF.map(e=>{let{value:a,icon:t,color:n}=e,r=o===a;return(0,l.jsxs)("button",{onClick:()=>s(a),className:`flex items-center gap-1.5 px-3 py-1 rounded-full text-xs font-semibold transition-all duration-200
2              ${r?"text-white":"bg-white/5 text-white/35 hover:bg-white/8 hover:text-white/65"}`,style:r?{backgroundColor:`${n}20`,boxShadow:`0 0 0 1px ${n}35`,color:n}:void 0,children:[(0,l.jsx)(t,{size:11}),i(`Tabs.${a}`)]},a)}),t[0]=o,t[1]=s,t[2]=i,t[3]=e):e=t[3],t[4]!==e?(a=(0,l.jsx)("div",{className:"flex gap-1.5 flex-wrap",children:e}),t[4]=e,t[5]=a):a=t[5],a}var x=t(44088),_=t(58079);function w(){let e,a,t,i,o,s,c,d,u,f,m,v,b,E,h=(0,n.c)(27),S=(0,r.c)("Player.Preferences.SnoozeBanner"),{snoozeUntil:p,cancelSnooze:g,formatSnoozeUntil:N}=(0,A.Z)();return p?(h[0]===Symbol.for("react.memo_cache_sentinel")?(e={background:"linear-gradient(135deg, color-mix(in srgb, var(--color-notif-yellow) 8%, transparent), color-mix(in srgb, var(--color-notif-purple) 8%, transparent))",boxShadow:"0 0 0 1px color-mix(in srgb, var(--color-notif-yellow) 25%, transparent)"},h[0]=e):e=h[0],h[1]===Symbol.for("react.memo_cache_sentinel")?(a=(0,l.jsx)("div",{className:"absolute inset-x-0 top-0 h-px",style:{background:"linear-gradient(90deg, transparent, var(--color-notif-yellow), transparent)"}}),h[1]=a):a=h[1],h[2]===Symbol.for("react.memo_cache_sentinel")?(t={background:"color-mix(in srgb, var(--color-notif-yellow) 15%, transparent)",boxShadow:"0 0 0 1px color-mix(in srgb, var(--color-notif-yellow) 30%, transparent)"},h[2]=t):t=h[2],h[3]===Symbol.for("react.memo_cache_sentinel")?(i=(0,l.jsx)("div",{className:"w-8 h-8 rounded-xl flex items-center justify-center shrink-0",style:t,children:(0,l.jsx)(x.A,{size:14,style:{color:"var(--color-notif-yellow)",animation:"alertPulse 2.5s ease-in-out infinite"}})}),h[3]=i):i=h[3],h[4]!==S?(o=S("Label"),h[4]=S,h[5]=o):o=h[5],h[6]!==o?(s=(0,l.jsx)("p",{className:"text-[10px] font-bold uppercase tracking-wider text-notif-yellow/60",children:o}),h[6]=o,h[7]=s):s=h[7],h[8]!==N||h[9]!==p||h[10]!==S?(c=S("Until",{time:N(p)}),h[8]=N,h[9]=p,h[10]=S,h[11]=c):c=h[11],h[12]!==c?(d=(0,l.jsx)("p",{className:"text-sm font-semibold text-notif-yellow leading-tight",children:c}),h[12]=c,h[13]=d):d=h[13],h[14]!==s||h[15]!==d?(u=(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[i,(0,l.jsxs)("div",{children:[s,d]})]}),h[14]=s,h[15]=d,h[16]=u):u=h[16],h[17]===Symbol.for("react.memo_cache_sentinel")?(f={color:"var(--color-notif-yellow)",background:"color-mix(in srgb, var(--color-notif-yellow) 10%, transparent)",border:"1px solid color-mix(in srgb, var(--color-notif-yellow) 25%, transparent)"},h[17]=f):f=h[17],h[18]===Symbol.for("react.memo_cache_sentinel")?(m=(0,l.jsx)(_.A,{size:10}),h[18]=m):m=h[18],h[19]!==S?(v=S("WakeUp"),h[19]=S,h[20]=v):v=h[20],h[21]!==g||h[22]!==v?(b=(0,l.jsxs)("button",{onClick:g,className:"flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg text-[10px] font-semibold transition-all duration-150 shrink-0",style:f,onMouseEnter:T,onMouseLeave:y,children:[m,v]}),h[21]=g,h[22]=v,h[23]=b):b=h[23],h[24]!==b||h[25]!==u?(E=(0,l.jsxs)("div",{className:"relative flex items-center justify-between gap-3 px-4 py-3.5 rounded-2xl overflow-hidden",style:e,children:[a,u,b]}),h[24]=b,h[25]=u,h[26]=E):E=h[26],E):null}function y(e){e.currentTarget.style.background="color-mix(in srgb, var(--color-notif-yellow) 10%, transparent)"}function T(e){e.currentTarget.style.background="color-mix(in srgb, var(--color-notif-yellow) 20%, transparent)"}let R=(0,i.default)(()=>t.e(8151).then(t.bind(t,88151)),{loadableGenerated:{webpack:()=>[88151]},ssr:!1}),I=(0,i.default)(()=>t.e(2218).then(t.bind(t,22218)),{loadableGenerated:{webpack:()=>[22218]},ssr:!1}),C=(0,i.default)(()=>t.e(5559).then(t.bind(t,95559)),{loadableGenerated:{webpack:()=>[95559]},ssr:!1}),D=(0,i.default)(()=>t.e(7783).then(t.bind(t,77783)),{loadableGenerated:{webpack:()=>[77783]},ssr:!1}),M=(0,i.default)(()=>t.e(9335).then(t.bind(t,79335)),{loadableGenerated:{webpack:()=>[79335]},ssr:!1}),O=(0,i.default)(()=>t.e(7115).then(t.bind(t,67115)),{loadableGenerated:{webpack:()=>[67115]},ssr:!1}),k=(0,i.default)(()=>t.e(7442).then(t.bind(t,87442)),{loadableGenerated:{webpack:()=>[87442]},ssr:!1}),L=(0,i.default)(()=>t.e(344).then(t.bind(t,90344)),{loadableGenerated:{webpack:()=>[90344]},ssr:!1});function j(){let e,a,t,i,s,x,_,y,T=(0,n.c)(23),j=function(){(0,r.c)("Player.Preferences.TestMenu");let[e,a]=(0,o.useState)([]),[t,l]=(0,o.useState)(null),[n,i]=(0,o.useState)(null),[s,A]=(0,o.useState)(!0),[g,N]=(0,o.useState)(!1),[x,_]=(0,o.useState)(!1),[w,y]=(0,o.useState)(!1),[T,R]=(0,o.useState)(!1),[I,C]=(0,o.useState)(!1),[D,M]=(0,o.useState)(!1),O
2=(0,o.useRef)(null),k=(0,o.useRef)(null),L=(0,o.useRef)(null),[j,P]=(0,o.useState)(()=>{let e=localStorage.getItem(h.d.SNOOZE);if(!e)return null;try{let{until:a}=JSON.parse(e);return new Date(a)>new Date?a:null}catch{return null}}),[U,G]=(0,o.useState)(!1),[F,H]=(0,o.useState)("idle"),[z,Y]=(0,o.useState)(!1),[B,q]=(0,o.useState)("notification"),[V,$]=(0,o.useState)(new Set),[Z,K]=(0,o.useState)(()=>"false"!==localStorage.getItem(h.d.QUIET_OPEN)),[W,Q]=(0,o.useState)(()=>"false"!==localStorage.getItem(h.d.SOUND_OPEN)),[J,X]=(0,o.useState)(()=>"false"!==localStorage.getItem(h.d.PREF_OPEN)),[ee,ea]=(0,o.useState)(()=>"false"!==localStorage.getItem(h.d.EMAIL_OPEN)),[et,el]=(0,o.useState)("all"),[en,ei]=(0,o.useState)(null),[eo,er]=(0,o.useState)(()=>"false"!==localStorage.getItem(h.d.SOUND_ENABLED)),[es,ec]=(0,o.useState)(()=>(0,S.bL)()),[ed,eu]=(0,o.useState)(null),[ef,em]=(0,o.useState)(()=>(0,S.fs)()),[ev,eb]=(0,o.useState)(null),[eE,eh]=(0,o.useState)(!1),[eS,ep]=(0,o.useState)(null),[eA,eg]=(0,o.useState)(()=>"Notification"in window?"default":"unsupported"),[eN,ex]=(0,o.useState)(!1);(0,o.useEffect)(()=>{"Notification"in window&&navigator.storage?.estimate().then(({quota:e})=>{let a="number"==typeof e&&e<0xc800000;ex(a),eg(a?"private":Notification.permission)}).catch(()=>{eg(Notification.permission)})},[]),(0,o.useEffect)(()=>{Promise.all([c(),d(),u()]).then(([e,t,n])=>{e&&a(e),t&&l(t),n&&i(n),A(!1)})},[]),(0,o.useEffect)(()=>{null===j&&localStorage.getItem(h.d.SNOOZE)&&localStorage.removeItem(h.d.SNOOZE)},[j]);let e_=e=>{e(!0),setTimeout(()=>e(!1),2e3)},ew=(0,o.useCallback)(async function e(a){(R(!1),O.current=()=>e(a),await f(a))?e_(N):R(!0)},[]),ey=(0,o.useCallback)(async function e(a){(C(!1),k.current=()=>e(a),await m(a))?e_(_):C(!0)},[]),eT=(0,o.useCallback)(async function e(a){M(!1),L.current=()=>e(a);let t=await v(a);t?(i(t),e_(y),(0,E.sendGTMEvent)({event:"notification_settings",setting:"quiet_hours",value:a.enabled})):M(!0)},[]),eR=(0,o.useCallback)(async(t,l,n)=>{let i=e.map(e=>e.category===t?{...e,[l]:n}:e);a(i),await ew(i)},[e,ew]),eI=e.length>0&&e.filter(e=>"ACCOUNT_SECURITY"!==e.category).every(e=>!e.notificationEnabled&&!e.alertEnabled&&!e.emailEnabled),eC=(0,o.useCallback)(async()=>{let t=e.map(e=>"ACCOUNT_SECURITY"===e.category?e:eI?{...e,notificationEnabled:!0,alertEnabled:!0,emailEnabled:!0}:{...e,notificationEnabled:!1,alertEnabled:!1,emailEnabled:!1});a(t),await ew(t)},[e,eI,ew]),eD=(0,o.useCallback)(async e=>{if(!t)return;let a={...t,digestFrequency:e};l(a),await ey(a)},[t,ey]),eM=(0,o.useCallback)(async e=>{if(!t)return;let a={...t,unsubscribeAll:e};l(a),await ey(a)},[t,ey]),eO=(0,o.useCallback)(e=>{if(!n)return;let a={...n,enabled:e};i(a),eT(a)},[n,eT]),ek=(0,o.useCallback)((e,a)=>{if(!n)return;let t={...n,[e]:a};i(t),eT(t)},[n,eT]),eL=async e=>{e.stopPropagation(),"idle"===F&&0!==V.size&&(H("sending"),await b(),H("sent"),Y(!1),$(new Set),(0,E.sendGTMEvent)({event:"notification_event",notification_action:"test_sent",count:V.size}),setTimeout(()=>H("idle"),2e3))},ej=async()=>{if(!("Notification"in window)||eN)return;let e=await Notification.requestPermission();eg(e),(0,E.sendGTMEvent)({event:"notification_settings",setting:"push",value:e})},eP="all"===et||"email"===et?p.sg:p.sg.filter(e=>"hide"!==p.TS[e][p.RE[et]]);return{preferences:e,emailSettings:t,quietHours:n,isLoading:s,prefSaved:g,emailSaved:x,quietSaved:w,prefError:T,emailError:I,quietError:D,retryPrefRef:O,retryEmailRef:k,retryQuietRef:L,snoozeUntil:j,snoozeMenuOpen:U,setSnoozeMenuOpen:G,testState:F,testMenuOpen:z,setTestMenuOpen:Y,testTab:B,setTestTab:q,testSelectedTypes:V,toggleTestType:e=>{$(a=>{let t=new Set(a);return t.has(e)?t.delete(e):t.add(e),t})},selectAllTestTypes:()=>{$(new Set("notification"===B?p.I9.map(e=>e.value):p.F$.map(e=>e.value)))},prefOpen:J,setPrefOpen:X,emailOpen:ee,setEmailOpen:ea,quietOpen:Z,setQuietOpen:K,soundOpen:W,setSoundOpen:Q,activeTab:et,setActiveTab:el,expandedCategory:en,setExpandedCategory:ei,soundEnabled:eo,soundType:es,playingSound:ed,alertSoundType:ef,playingAlertSound:ev,digestPreviewOpen:eE,setDigestPreviewOpen:eh,templateCategory:eS,setTemplateCategory:ep,pushPermission:eA,isMuted:eI,filteredCategories:eP,getPref:a=>e.find(e=>e.category===a),handleToggle:eR,handleMuteAll:eC,handleDigestChange:eD,handleUnsubscribeAll:eM,handleQuietToggle:eO,handleQuietTimeBlur:ek,applySnooze:e=>{let a,t=e?new Date(Date.now()+6e4*e):((a=new Date).setHours(24,0,0,0),a);localStorage.setItem(h.d.SNOOZE,JSON.stringify({until:t.toISOString()})),P(t.toISOString()),G(!1),(0,E.sendGTMEvent)({event:"notification_event",n
2otification_action:"snoozed",snooze_duration:e?`${e/60}h`:"tomorrow"})},cancelSnooze:()=>{localStorage.removeItem(h.d.SNOOZE),P(null)},formatSnoozeUntil:e=>new Date(e).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}),handleTest:eL,handleSoundToggle:e=>{er(e),localStorage.setItem(h.d.SOUND_ENABLED,String(e)),(0,E.sendGTMEvent)({event:"notification_settings",setting:"sound",value:e})},handleSoundType:e=>{ec(e),localStorage.setItem(h.d.SOUND_TYPE,e),(0,S.OB)(e),eu(e),setTimeout(()=>eu(null),(S.Tv.find(a=>a.value===e)?.duration??500)+100),(0,E.sendGTMEvent)({event:"notification_settings",setting:"sound_type",value:e})},handleAlertSoundType:e=>{em(e),localStorage.setItem(h.d.ALERT_SOUND_TYPE,e),(0,S.mB)(e),eb(e),setTimeout(()=>eb(null),(S._O.find(a=>a.value===e)?.duration??500)+100),(0,E.sendGTMEvent)({event:"notification_settings",setting:"alert_sound_type",value:e})},requestPush:ej,SNOOZE_OPTIONS:p.ej}}();if(j.isLoading){let e;return T[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,l.jsx)(g.Cj,{}),T[0]=e):e=T[0],e}return T[1]===Symbol.for("react.memo_cache_sentinel")?(e=(0,l.jsx)(N,{}),T[1]=e):e=T[1],T[2]!==j.activeTab||T[3]!==j.pushPermission?(a=("all"===j.activeTab||"sound"===j.activeTab)&&"unsupported"!==j.pushPermission&&(0,l.jsx)(O,{}),T[2]=j.activeTab,T[3]=j.pushPermission,T[4]=a):a=T[4],T[5]!==j.activeTab||T[6]!==j.emailSettings?(t="sound"!==j.activeTab&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w,{}),(0,l.jsx)(R,{}),("all"===j.activeTab||"email"===j.activeTab)&&j.emailSettings&&(0,l.jsx)(I,{}),("all"===j.activeTab||"email"===j.activeTab)&&(0,l.jsx)(C,{unsubscribeAll:!!j.emailSettings?.unsubscribeAll}),("all"===j.activeTab||"notifications"===j.activeTab||"alerts"===j.activeTab)&&(0,l.jsx)(D,{})]}),T[5]=j.activeTab,T[6]=j.emailSettings,T[7]=t):t=T[7],T[8]!==j.activeTab?(i=("all"===j.activeTab||"sound"===j.activeTab)&&(0,l.jsx)(M,{}),T[8]=j.activeTab,T[9]=i):i=T[9],T[10]!==j?(s=j.digestPreviewOpen&&j.emailSettings&&(0,l.jsx)(k,{onClose:()=>j.setDigestPreviewOpen(!1),digestFrequency:j.emailSettings.digestFrequency}),T[10]=j,T[11]=s):s=T[11],T[12]!==j?(x=j.templateCategory&&(0,l.jsx)(L,{category:j.templateCategory,meta:{label:p.TS[j.templateCategory].label,color:p.TS[j.templateCategory].color},onClose:()=>j.setTemplateCategory(null)}),T[12]=j,T[13]=x):x=T[13],T[14]!==a||T[15]!==t||T[16]!==i||T[17]!==s||T[18]!==x?(_=(0,l.jsxs)("div",{className:"flex flex-col gap-5 w-full",children:[e,a,t,i,s,x]}),T[14]=a,T[15]=t,T[16]=i,T[17]=s,T[18]=x,T[19]=_):_=T[19],T[20]!==j||T[21]!==_?(y=(0,l.jsx)(A.A.Provider,{value:j,children:_}),T[20]=j,T[21]=_,T[22]=y):y=T[22],y}},30669:(e,a,t)=>{t.d(a,{DF:()=>N,F$:()=>A,I9:()=>p,Lw:()=>x,RE:()=>_,TS:()=>E,cz:()=>S,ej:()=>g,h7:()=>w,sg:()=>h});var l=t(10487),n=t(74736),i=t(46011),o=t(35834),r=t(83535),s=t(23727),c=t(65611),d=t(991),u=t(94416),f=t(61848),m=t(65056),v=t(53694),b=t(69988);let E={FRIENDS_SOCIAL:{label:"Friends & Social",description:"Friend requests, challenges, and invite milestones.",icon:l.A,color:"var(--color-notif-blue)",notification:"show",alert:"hide",email:"show"},FRIENDS_ACTIVITY:{label:"Friends Activity",description:"When friends play, hit high scores, or rank up.",icon:n.A,color:"var(--color-notif-blue)",notification:"hide",alert:"show",email:"hide"},LEADERBOARDS:{label:"Leaderboards",description:"Season results, badges earned, and charity bonuses.",icon:i.A,color:"var(--color-notif-yellow)",notification:"show",alert:"show",email:"show"},ACHIEVEMENTS_RANKS:{label:"Achievements & Ranks",description:"When you unlock achievements or reach a new rank.",icon:o.A,color:"var(--color-notif-orange)",notification:"hide",alert:"show",email:"show"},CHARITY_IMPACT:{label:"Charity Impact",description:"Campaign milestones, goals reached, and new launches.",icon:r.A,color:"var(--color-notif-rose)",notification:"show",alert:"show",email:"show"},GAME_RECOMMENDATIONS:{label:"Game Recommendations",description:"Personalised suggestions based on your activity.",icon:s.A,color:"var(--color-notif-green)",notification:"hide",alert:"hide",email:"show"},PLATFORM_UPDATES:{label:"Platform Updates",description:"New features, seasonal events, and maintenance.",icon:c.A,color:"var(--color-notif-purple)",notification:"show",alert:"hide",email:"show"},MINDFUL_GAMING:{label:"Mindful Gaming",description:"Session reminders, streaks, and summaries.",icon:d.A,color:"var(--color-notif-cyan)",notification:"hide",alert:"show",email:"show"},ACCOUNT_SECURITY:{label:"Account Security",description:"Login alerts and security updates. Always on.",icon:u.A,color:"var(--color-notif-red)",notification:"disabled",alert:"disabled",email:"disabled"}},h=["FRIENDS_SOCIAL","FRIENDS_ACTIVITY","LEADERBOARDS","ACHIEVEMENTS_RANKS","CHARITY_IMPACT","GAME_RECOMMENDATIONS","PLATFORM_UPDATES","MINDFUL_GAMING","ACCOUNT_SECURITY"],S=[{value:"WEEKLY"},{value:"IMPORTANT_ONLY"},{value:"NONE"}],p=[{value:"FRIEND_REQUEST_RECEIVED"},{value:"FRIEND_REQUEST_ACCEPTED"},{value:"GAME_CHALLENGE_RECEIVED"},{value:"GAME_CHALLENGE_RESULT"},{value:"GAME_CHALLENGE_EXPIRED"},{value:"FRIEND_JOINED_FROM_INVITE"},{value:"LEADERBOARD_PERIOD_ENDED"},{value:"LEADERBOARD_BADGE_EARNED"},{value:"LEADERBOARD_CHARITY_BONUS"},{value:"CAMPAIGN_COMMUNITY_MILESTONE"},{value:"CAMPAIGN_GOAL_REACHED"},{value:"CAMPAIGN_LAUNCHED"},{value:"FEATURE_LAUNCHED"},{value:"SEASONAL_EVENT_STARTED"},{value:"SCHEDULED_MAINTENANCE"},{value:"NEW_ACHIEVEMENTS_AVAILABLE"}],A=[{value:"FRIEND_STARTED_PLAYING"},{value:"FRIEND_ACHIEVEMENT_UNLOCKED"},{value:"FRIEND_RANK_UP"},{value:"FRIEND_CHARITY_MILESTONE"},{value:"FRIEND_NEW_HIGH_SCORE"},{value:"LEADERBOARD_SEASON_STARTED"},{value:"LEADERBOARD_ENTERED_TOP_10"},{value:"ACHIEVEMENT_UNLOCKED"},{value:"ACHIEVEMENT_REWARD_READY"},{value:"RANK_UP"},{value:"PERSONAL_IMPACT_MILESTONE"},{value:"DAILY_SESSION_REMINDER"},{value:"STREAK_MILESTONE"},{value:"GOOD_SESSION_COMPLETED"}],g=[{minutes:60},{minutes:240},{minutes:null}],N=[{value:"all",label:"All",icon:c.A,color:"var(--color-notif-rose)"},{value:"notifications",label:"Notifications",icon:f.A,color:"var(--color-notif-blue)"},{value:"alerts",label:"Alerts",icon:m.A,color:"var(--color-notif-yellow)"},{value:"email",label:"Email",icon:v.A,color:"var(--color-notif-green)"},{value:"sound",label:"Sound",icon:b.A,color:"var(--color-notif-cyan)"}],x={notifications:"notificationEnabled",alerts:"alertEnabled",email:"emailEnabled"},_={notifications:"notification",alerts:"alert",email:"email"},w=[{label:"All",value:"ALL"},{label:"Friends",value:"FRIENDS_SOCIAL"},{label:"Leaderboards",value:"LEADERBOARDS"},{label:"Charity",value:"CHARITY_IMPACT"},{label:"Updates",value:"PLATFORM_UPDATES"}]},35834:(e,a,t)=>{t.d(a,{A:()=>l});let l=(0,t(54724).A)("award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]])},44088:(e,a,t)=>{t.d(a,{A:()=>l});let l=(0,t(54724).A)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]])},53694:(e,a,t)=>{t.d(a,{A:()=>l});let l=(0,t(54724).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]])},63497:(e,a,t)=>{t.d(a,{A:()=>o,Z:()=>i});
2var l=t(12115);let n=(0,l.createContext)(null);function i(){let e=(0,l.useContext)(n);if(!e)throw Error("usePrefsContext must be used inside NotificationPreferences");return e}let o=n},64356:(e,a,t)=>{t.d(a,{Cj:()=>v,Rq:()=>f,lM:()=>d,tN:()=>m});var l=t(95155),n=t(19749),i=t(61848),o=t(65056),r=t(53694),s=t(14547),c=t(99345);function d(e){let a,t,i,o,r=(0,n.c)(16),{checked:s,onChange:c,disabled:d,accentColor:u}=e;r[0]!==s||r[1]!==d||r[2]!==c?(a=()=>!d&&c(!s),r[0]=s,r[1]=d,r[2]=c,r[3]=a):a=r[3],r[4]!==u||r[5]!==s?(t=s&&u?{backgroundColor:u}:void 0,r[4]=u,r[5]=s,r[6]=t):t=r[6];let f=`relative inline-flex h-3.5 w-7 sm:h-6 sm:w-11 shrink-0 items-center rounded-full transition-all duration-300
3        ${d?"opacity-30 cursor-not-allowed":"cursor-pointer hover:opacity-90"}
4        ${s&&!u?"bg-notif-rose":""}
5        ${!s?"bg-white/10":""}`,m=`inline-block h-2.5 w-2.5 sm:h-4 sm:w-4 rounded-full shadow-md transition-transform duration-300
6          ${s?"translate-x-2.75 sm:translate-x-5.75 bg-white shadow-[0_0_6px_rgba(255,255,255,0.5)]":"translate-x-0.5 sm:translate-x-1 bg-white/60"}`;return r[7]!==m?(i=(0,l.jsx)("span",{className:m}),r[7]=m,r[8]=i):i=r[8],r[9]!==s||r[10]!==d||r[11]!==a||r[12]!==t||r[13]!==f||r[14]!==i?(o=(0,l.jsx)("button",{type:"button",role:"switch","aria-checked":s,disabled:d,onClick:a,style:t,className:f,children:i}),r[9]=s,r[10]=d,r[11]=a,r[12]=t,r[13]=f,r[14]=i,r[15]=o):o=r[15],o}let u={Bell:i.A,Alert:o.A,Email:r.A};function f(e){let a,t,i,o=(0,n.c)(7),{label:r}=e,s=u[r];return o[0]!==s?(a=s&&(0,l.jsx)(s,{size:11,className:"sm:hidden text-white/25"}),o[0]=s,o[1]=a):a=o[1],o[2]!==r?(t=(0,l.jsx)("span",{className:"hidden sm:inline text-[10px] font-semibold uppercase tracking-wider text-white/25",children:r}),o[2]=r,o[3]=t):t=o[3],o[4]!==a||o[5]!==t?(i=(0,l.jsxs)("div",{className:"w-7 sm:w-14 flex justify-center",children:[a,t]}),o[4]=a,o[5]=t,o[6]=i):i=o[6],i}function m(e){let a,t,i,o=(0,n.c)(6),{visible:r}=e,d=(0,c.c)("Player.Preferences"),u=`flex items-center gap-1.5 text-xs font-medium text-notif-rose transition-all duration-500 ${r?"opacity-100 translate-y-0":"opacity-0 translate-y-1"}`;return o[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,l.jsx)("span",{className:"flex items-center justify-center w-4 h-4 rounded-full bg-notif-rose/15",children:(0,l.jsx)(s.A,{size:10})}),o[0]=a):a=o[0],o[1]!==d?(t=d("Saved"),o[1]=d,o[2]=t):t=o[2],o[3]!==u||o[4]!==t?(i=(0,l.jsxs)("span",{className:u,children:[a,t]}),o[3]=u,o[4]=t,o[5]=i):i=o[5],i}function v(){let e,a,t=(0,n.c)(2);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,l.jsx)("div",{className:"w-9 h-9 rounded-xl bg-white/6 animate-pulse shrink-0"}),t[0]=e):e=t[0],t[1]===Symbol.for("react.memo_cache_sentinel")?(a=(0,l.jsx)("div",{className:"flex flex-col gap-5 w-full",children:(0,l.jsxs)("div",{className:"notif-card overflow-hidden",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3 px-6 pt-5 pb-4",children:[e,(0,l.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,l.jsx)("div",{className:"h-4 w-44 bg-white/8 rounded animate-pulse"}),(0,l.jsx)("div",{className:"h-3 w-64 bg-white/5 rounded animate-pulse"})]})]}),(0,l.jsx)("div",{className:"h-px bg-white/5"}),[...Array(9)].map(b)]})}),t[1]=a):a=t[1],a}function b(e,a){return(0,l.jsxs)("div",{className:"flex items-center justify-between px-6 py-4 border-b border-white/4 last:border-0",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)("div",{className:"w-8 h-8 rounded-lg bg-white/6 animate-pulse shrink-0"}),(0,l.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,l.jsx)("div",{className:"h-3.5 w-32 bg-white/8 rounded animate-pulse"}),(0,l.jsx)("div",{className:"h-2.5 w-48 bg-white/5 rounded animate-pulse"})]})]}),(0,l.jsx)("div",{className:"flex gap-8",children:[void 0,void 0,void 0].map(E)})]},a)}function E(e,a){return(0,l.jsx)("div",{className:"w-11 h-6 bg-white/8 rounded-full animate-pulse"},a)}},65056:(e,a,t)=>{t.d(a,{A:()=>l});let l=(0,t(54724).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},65611:(e,a,t)=>{t.d(a,{A:()=>l});let l=(0,t(54724).A)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]])},69988:(e,a,t)=>{t.d(a,{A:()=>l});let l=(0,t(54724).A)("volume-2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]])},74736:(e,a,t)=>{t.d(a,{A:()=>l});let l=(0,t(54724).A)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l
6-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},94416:(e,a,t)=>{t.d(a,{A:()=>l});let l=(0,t(54724).A)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]])}}]);

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.