try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`03966eec-572b-438c-a9d9-96ca4554cb05`,e._sentryDebugIdIdentifier=`sentry-dbid-03966eec-572b-438c-a9d9-96ca4554cb05`)}catch{}import{Ag as e,Ir as t,Wn as n}from"./entry.client-dr7r6s9a.js";import{An as r,Fn as i,Mn as a,Nn as o,Pn as s,jn as c}from"./xds-icons-d7khcnpi.js";var l=e(),u=({role:e=`img`,ariaLabel:i,className:a=`text-noninteractive-content-primary-content`,size:o=`subtitle2`,...s})=>{let u;if(s.trialAccessState)switch(s.trialAccessState.type){case t.NoTrialSupport:case t.TrialIneligible:return null;case t.TrialExpired:u=r;break;case t.TrialSupportedNoAccess:u=c;break;case t.TrialAvailable:if(!s.trialAccessState.trialStarted){u=c;break}u=d(s.trialAccessState.remainingGameplayTimeInSeconds,s.trialAccessState.maxGameplayTimeInSeconds,!0);break;default:throw s.trialAccessState}else u=d(s.remainingTime,s.totalTime,s.useLockIconAtZero);return(0,l.jsx)(n,{ariaLabel:i,icon:(0,l.jsx)(u,{role:e}),className:a,size:o})};function d(e,t,n){let l=t>0?e/t:0;return l>.95?c:l>.5?a:l>.25?o:l>0?s:n?r:i}export{u as t};