Module 975460

461 characters · in 6ad52a7b4198aced.js
Dependencies
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,n,l){l.d(n,{g:()=>s,t:()=>d});var a=l(64700),o=l(155718),t=l(587895),i=l(429913),u=l(395671),r=l(705751);function d(e){if(null==e)return null;if(e.type!==r.S7.GAME)return e;let n=e.linkedGames?.find(e=>e.type===o.Mh.OFFICIAL);return n?.application??t.A.getApplication(n?.id)??null}function s(e){let n=null==e||e instanceof u.Ay?void 0:e.getOfficialApplicationId(),l=(0,i.h)(n);return a.useMemo(()=>null==e?null:e instanceof u.Ay?d(e):l??null,[e,l])}}