PageSourceSearch

https://www.metacritic.com/a/neutron/nodev4/_nuxt4/Ru65YQNr.js

js metacritic.com collected 2026-10-01 07:03:52 UTC 2,985 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`metacritic.prod.092bc9`}}catch{}})();try{(function(){var 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]=`a066adab-eb85-4142-850f-ded16da967cc`,e._sentryDebugIdIdentifier=`sentry-dbid-a066adab-eb85-4142-850f-ded16da967cc`)})()}catch{}import{On as e,Zn as t,_ as n,b as r,g as i,k as a,mt as o,qt as s,tr as c,v as l,wt as u,y as d}from"./BIXMZLRU.js";import{t as f}from"./CvUBMdrB.js";import{c as p}from"./Dak9G2zD.js";import{n as m}from"./_KFgKfZO.js";import{t as h}from"./BUT4fg9W.js";var g=[`title`,`aria-label`],_={key:0,"data-testid":`global-score-value`},v={key:1,"data-testid":`global-score-tbd`},y={key:0,class:`text-xs text-gray-600`,"data-testid":`global-score-label`},b=Object.assign(a({__name:`GlobalScore`,props:{score:{},isTbd:{type:Boolean,default:!1},scoreColor:{default:`tbd`},scoreType:{default:()=>p.CRITIC},size:{default:()=>f.MEDIUM},showLabel:{type:Boolean,default:!1},responsiveMobile:{type:Boolean,default:!1},displayValue:{},url:{},customClasses:{type:Boolean,default:!1}},setup(a){let{t:b}=m(),x=i(()=>a.scoreType===p.USER),S=i(()=>({[f.XSMALL]:`border-1`,[f.SMALL]:`border-[1.5px]`,[f.MEDIUM]:`border-[1.5px]`,[f.LARGE]:`border-2`})[a.size]),C=i(()=>{let e=`text-gray-1000`;return a.isTbd||a.scoreColor===`tbd`?`bg-white ${S.value} border-gray-600 ${e}`:`${{positive:`bg-score-positive ${e}`,mixed:`bg-score-mixed ${e}`,negative:`bg-score-negative ${e}`}[a.scoreColor]} ${e}`}),w=i(()=>a.customClasses?``:{[f.XSMALL]:`size-6 text-xs/4`,[f.SMALL]:`size-10 text-xl/6`,[f.MEDIUM]:`size-16 text-[1.75rem]/8`,[f.LARGE]:`size-20 text-4xl/10`}[a.size]),T=i(()=>x.value?`rounded-full`:{[f.XSMALL]:`rounded-sm`,[f.SMALL]:`rounded`,[f.MEDIUM]:`rounded-md`,[f.LARGE]:`rounded-lg`}[a.size]),E=i(()=>a.customClasses||!a.responsiveMobile?``:x.value?`max-sm:size-10 max-sm:text-base max-sm:rounded-full`:`max-sm:size-10 max-sm:text-base max-sm:rounded`),D=i(()=>a.scoreType===p.CRITIC?b(`scores.meta_score`):b(`scores.user_score`)),O=i(()=>{if(a.isTbd)return`${D.value} ${b(`scores.tbd`).toUpperCase()}`;let e=a.scoreType===p.USER?b(`scores.outOf10`):b(`scores.outOf100`);return`${D.value} ${a.score} ${e}`});return(i,f)=>(o(),l(u(a.url?h:`div`),{to:a.url||void 0,class:`flex flex-col items-center gap-1`,"data-testid":`global-score`},{default:s(()=>[n(`div`,{class:t([`flex items-center justify-center font-bold`,{"size-full":a.customClasses},C.value,w.value,T.value,E.value]),title:O.value,"aria-label":O.value,"data-testid":`global-score-value-wrapper`},[a.isTbd?(o(),r(`span`,v,c(e(b)(`scores.tbd`)),1)):(o(),r(`span`,_,c(a.displayValue??a.score),1))],10,g),a.showLabel?(o(),r(`span`,y,c(D.value),1)):d(``,!0)]),_:1},8,[`to`]))}}),{__name:`GlobalScore`});export{b as t};

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.