1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/featuredBanner-1sCWjPI8.js","assets/rolldown-runtime-Czos8NxU.js","assets/vendor-react~index~nag-sunset~nag-no-user~nag-degraded-performance~index~index~index~index~~k5vco7za-D-CsX_iN.js","assets/vendor-react~index~index~publish-v4~publish~index~nag-sunset~nag-no-user~nag-degraded-perfo~ef2jpwjt-DLne3g0l.js","assets/asserts-Doeoh-uG.js","assets/app-5r5pIz90.js","assets/claims-FR-UlCrs.js","assets/vendor-state~index~index~publish-v4~publish~index~nag-sunset~nag-no-user~nag-degraded-perfo~d8u5zn05-CDGblvVh.js","assets/icons-WQbxlx7M.js","assets/i18n-BTiDkSlz.js","assets/v4-B7dvJZog.js","assets/settings-Ckg8R9W3.js","assets/token-DENHBYpt.js","assets/storage-C9vZc6x6.js","assets/time-C23D0mgw.js","assets/vendor-ui~index~index~index~index~index~index~index~index~index~index~index~index~index~ind~gf3i1dne-uRJfpLB5.js","assets/vendor-markdown~index~index~index~index~index~index~index~index~index~index~index~markdown-~hcabgpoy-BRj_0M9Z.js","assets/vendor-react~index~index~index~index~index~index~index~index~index~index~index~index~index~~j9hzwvek-BjL57yfx.js","assets/vendor-state~index~index~index~index~index~index~index~index~index~index~index~index~index~~459ng6im-CibXGxq9.js","assets/classnames-Qs-N3l7u.js","assets/localforage-DTdri6MG.js","assets/vendor-state~index~index~nag-sunset~nag-no-user~nag-degraded-performance~index~index~index~~daxbhkvl-D9Pp7uEa.js","assets/button-0_K07xv_.js","assets/icon-bHpnW6dw.js","assets/hooks-C-d2Zm22.js","assets/claimMenuList-2D9THCjN.js","assets/index-C6oMOo8H.js","assets/credit-amount-Br7kdMHe.js","assets/lbc-symbol-SBpZmNX4.js","assets/counter-BpcQRjAp.js","assets/counter-CKq6Kc0z.css","assets/credit-amount-CF01a0_Y.css","assets/i18nMessage-BAk-DwW8.js","assets/view-tGi2mcyT.js","assets/supported_languages-B32u0WtL.js","assets/index-CYLAGbJ8.css","assets/claimType-wh4RVQqd.js","assets/menu-Ccaf0XyZ.js","assets/dateTime-5rWQfB_G.js","assets/filePrice-BM1TXus2.js","assets/filePrice-BBPvB1iq.css","assets/uriIndicator-BgshMTu4.js","assets/membershipBadge-BvQGWpaq.js","assets/tooltip-WAZyxK5t.js","assets/vendor-ui~index~index~index~index~index~index~index~index~index~index~index~index~index~ind~loa2r1dd-CYMy1SSH.js","assets/vendor-ui~index-BNCen1Sn.js","assets/membershipBadge-BGqhAjVz.css","assets/string-yFuGPIQw.js","assets/channel-ZwRwnCdP.js","assets/embed-CSJRaRZH.js","assets/use-hover-pdH0BQWd.js","assets/claimMenuList-CENhRCwO.css","assets/channelThumbn
1ail-CdevDWVW.js","assets/claimPreviewTile-CPw1Qz8g.js","assets/collectionPreviewOverlay-C5p1CiIf.js","assets/fileThumbnail-D6P9ipjK.js","assets/truncated-text-BOigZe2N.js","assets/subscribeButton-DzN-2l8N.js","assets/use-browser-notifications-CwABJl28.js","assets/modal-DAELk-UU.js","assets/use-browser-notifications-CDKzn8n9.css","assets/featuredBanner-DlW9zMIh.css","assets/customBanner-BgN5fOBe.js","assets/customBanner-C8ZLS1no.css"])))=>i.map(i=>d[i]); 2import{t as e}from"./vendor-react~index~index~publish-v4~publish~index~nag-sunset~nag-no-user~nag-degraded-perfo~ef2jpwjt-DLne3g0l.js";import{s as t}from"./rolldown-runtime-Czos8NxU.js";import{l as n}from"./vendor-markdown~index~index~index~index~index~index~index~index~index~index~index~markdown-~hcabgpoy-BRj_0M9Z.js";import{B as r,F as i,M as a,N as o,P as s,j as c,k as l,t as u}from"./i18n-BTiDkSlz.js";import{t as d}from"./classnames-Qs-N3l7u.js";import{h as f}from"./asserts-Doeoh-uG.js";import{On as p}from"./icons-WQbxlx7M.js";import{t as m}from"./icon-bHpnW6dw.js";import{c as h,f as g,l as _}from"./vendor-react~index~nag-sunset~nag-no-user~nag-degraded-performance~index~index~index~index~~k5vco7za-D-CsX_iN.js";import"./vendor-react~index~index~index~index~index~index~index~index~index~index~index~index~index~~j9hzwvek-BjL57yfx.js";import{G as v,K as y,Oa as b,Ua as ee,X as x,at as S,es as C,ir as w,ko as T,na as E,pa as te,rr as ne,rs as D}from"./claims-FR-UlCrs.js";import{t as O}from"./button-0_K07xv_.js";import"./vendor-state~index~index~nag-sunset~nag-no-user~nag-degraded-performance~index~index~index~~daxbhkvl-D9Pp7uEa.js";import{n as k,t as re}from"./hooks-C-d2Zm22.js";import{h as ie,l as A,s as j,t as M,u as N,y as ae}from"./settings-Ckg8R9W3.js";import{Ai as oe,Ao as se,B as P,Bp as F,Ia as ce,Jn as I,L as le,Oo as ue,Po as de,Rr as fe,Sn as pe,Sr as L,Tr as R,Wa as me,_r as z,_u as he,g as ge,go as B,gr as V,id as _e,jn as H,mn as U,na as ve,ro as ye,vr as W,wr as G,yr as be}from"./app-5r5pIz90.js";import"./storage-C9vZc6x6.js";import"./time-C23D0mgw.js";import{t as K}from"./i18nMessage-BAk-DwW8.js";import"./vendor-ui~index~index~index~index~index~index~index~index~index~index~index~index~index~ind~gf3i1dne-uRJfpLB5.js";import"./view-tGi2mcyT.js";import"./supported_languages-B32u0WtL.js";import"./credit-amount-Br7kdMHe.js";import"./lbc-symbol-SBpZmNX4.js";import"./counter-BpcQRjAp.js";import"./vendor-state~index~index~index~index~index~index~index~index~index~index~index~index~index~~459ng6im-CibXGxq9.js";import"./localforage-DTdri6MG.js";import{Nt as q,Pt as xe,Rt as J,_n as Se,pn as Y}from"./index-C6oMOo8H.js";
2import"./channelThumbnail-CdevDWVW.js";import"./membershipBadge-BvQGWpaq.js";import"./tooltip-WAZyxK5t.js";import"./use-hover-pdH0BQWd.js";import"./embed-CSJRaRZH.js";import"./modal-DAELk-UU.js";import"./use-browser-notifications-CwABJl28.js";import"./subscribeButton-DzN-2l8N.js";import"./menu-Ccaf0XyZ.js";import"./dateTime-5rWQfB_G.js";import"./empty-BVJVyHln.js";import"./emotes-uINSuyd8.js";import"./uriIndicator-BgshMTu4.js";import"./logo-Co17Ya17.js";import"./channel-ZwRwnCdP.js";import"./claimMenuList-2D9THCjN.js";import"./fileThumbnail-D6P9ipjK.js";import"./truncated-text-BOigZe2N.js";import"./filePrice-BM1TXus2.js";import"./claimType-wh4RVQqd.js";import{t as X}from"./claimPreviewTile-CPw1Qz8g.js";import"./collectionPreviewOverlay-C5p1CiIf.js";import"./claimPreview-wgZQlyWF.js";import"./tag-xIYgFcJ3.js";import{t as Ce}from"./tags-BH8ChTk-.js";import"./joinMembershipButton-DqUdAlBo.js";import"./file-action-button-BzxqbTaC.js";import"./claimPreviewTitle-lrk-oYVj.js";import"./claim-preview-loading-d5SyqdmX.js";import"./form-Dfc8qxOL.js";import"./form-field-D52dln6s.js";import"./use-on-resize-Dwrzuzsv.js";import"./tabs-BMKOALoI.js";import"./error-text-BVitJ2oo.js";import{n as we,t as Te}from"./claimList-DccdHZt-.js";import{t as Ee}from"./claim-search-D6q7kgJQ.js";/* empty css */import"./notificationBubble-sSBnnRJr.js";import{t as De}from"./buildHomepage-yN2Ty8eO.js";import{t as Oe}from"./homepageOrder-C2jj-x9x.js";import{t as ke}from"./page-BWI_U1tP.js";import{t as Ae}from"./upcomingClaims-DsVZJB7y.js";import{t as je}from"./wait-until-on-page-DTVnTJ4S.js";import{t as Me}from"./use-fetched-DTQmupc0.js";var Ne=t(d(),1),Z=t(e());function Pe(e){let{pins:t,doResolveClaimIds:n,doResolveUris:r}=e,[i,a]=Z.useState(t?void 0:null),[o,s]=Z.useState(!1),c=Me(o);return Z.useEffect(()=>{i===void 0&&t&&!o&&!c&&(t.claimIds?(s(!0),n(t.claimIds).then(e=>{let n=[];e&&Object.values(e).forEach(e=>{let r=e&&e.stream;r&&t.claimIds?.includes(r.claim_id)&&r.canonical_url&&n.push(r.canonical_url)}),a(n.length>0?n:null)}).finally(()=>s(!1))):t.urls?(s(!0),r(t.urls,!0).finally(()=>{s(!1),a(t.urls)})):a(null))},[i,t,r,n,o,c]),i}var Q=n();function Fe(e,t){return!e||!t?e===t:e.length===t.length&&e.every((e,n)=>e===t[n])}function Ie(e,t,n){!t||!e||n&&(n.forEach(t=>{e.includes(t)?e.splice(e.indexOf(t),1):e.pop()}),e.splice(2,0,...n))}function Le(e,t){return t??e}function Re(e){let{showNsfw:t,hideReposts:n,forceShowReposts:r,hideMembersOnly:i,mutedAndBlockedChannelIds:a,hiddenTags:o,hideShorts:s,search:c,pageSize:l,claimType:u,tags:d,notTags:p,languages:m,channelIds:h,orderBy:g,streamTypes:_,hasNoSource:v,hasSource:y,releaseTime:b,feeAmount:ee,limitClaimsPerChannel:x,timestamp:S,claimIds:C,duration:w,contentAspectRatio:T,excludeShorts:E}=e,te=new URLSearchParams(c).get(`fee_amount`)||ee,ne={notTags:p,hiddenTags:o,showNsfw:t,hideMembersOnly:i},D;_?D=_:!v&&_!==null&&(D=void 0);let O={page:1,page_size:l,claim_type:u||[`stream`,`repost`,`channel`],no_totals:!0,any_tags:d||[],not_tags:Ee.not_tags(ne),any_languages:m,channel_ids:h||[],not_channel_ids:a,order_by:k(g),stream_types:D,remove_duplicates:!0,duration:Ee.duration(null,u,I.ALL)};function k(e){let t;switch(e){case G:t=R;break;case`new`:t=L;break;case W:t=be;break;case V:t=z;break;default:t=R}return t}return f&&v?O.has_no_source=!0:(y||!f&&(!u||u===`stream`))&&(O.has_source=!0),b&&(O.release_time=b),te&&(O.fee_amount=te),x&&(O.limit_claims_per_channel=x),n&&!r&&(Array.isArray(O.claim_type)?O.claim_type=O.claim_type.filter(e=>e!==`repost`):O.claim_type=[`stream`,`channel`]),u&&(O.claim_type=u),S&&(O.timestamp=S),C&&(O.claim_ids=C),(s||E)&&(O.exclude_shorts=!0),s||(w&&(O.duration=w),T&&(O.content_aspect_ratio=T)),O}function ze(e){let{fetchViewCount:t,hasNoSource:n,renderProperties:r,pins:s,prefixUris:c,injectedItem:d,showNoSourceClaims:f,pageSize:p=8,channelIds:m,loading:h,sectionTitle:g}=e,_=re(),b=k(ae),ee=Le(k(e=>M(e,a)),e.hideMembersOnly),C=k(e=>M(e,o)),T=e.forceShowReposts,te=k(E),D=k(e=>M(e,l)),O=Array.isArray(D)?D:[],ie=k(e=>M(e,i)),A=k(j),N=k(x),oe=Re({showNsfw:b,hideMembersOnly:ee,hideReposts:C,forceShowReposts:T,mutedAndBlockedChannelIds:te,hiddenTags:O,hideShorts:ie,pageSize:8,search:k(e=>e.router?.location?.search||``),...e}),P=ne(oe),F=k(e=>v(e)[P]),ce=k(e=>y(e)[P]),I=k(e=>S(e)[P]),le=Z.useMemo(()=>w(F||[],N,A),[F,N,A]),fe=F?F.length:0,pe=le.length,L=F===null,R=!h&&!I&&!L&&!ce&&fe>0&&pe<p&&fe%p===0;oe.page=R?Math.floor(fe/p)+1:1;let me=JSON.stringify(oe),z=Z.useCallback((e,t)=>_(B(e,t)),[_]),he=Z.useCallback(e=>_(de(e)),[_]),ge=Z.useCallback(e=>_(ue(e)),[_]),V=Z.useCallback((e,t)=>_(se(e,t)),[_]),_e=Z.useRef(),H=we(_e,!(d&&d.node&&d.index===void 0)),U=Z.useRef(),ve=le,ye=F===void 0,W=Pe({pins:s,doResolveClaimIds:ge,doResolveUris:V}),G=Z.useMemo(()=>c&&w(c,N,A),[N,A,c]),be=Z.useMemo(()=>W&&w(W,N,A),[N,A,W]),K=(0,Z.useRef)([]),q=!I&&!L&&!ce&&(fe===0||R),xe=(G||[]).concat(ve);G&&G.length&&xe.splice(G.length*-1,G.length),(window.location.pathname===`/`||window.location.pathname===`/$/embed/home`)&&Ie(xe,s,be);let J=w(xe,N,A);J.length>0&&J.length<p&&q&&J.push(...Array(p-J.length).fill(``));let Se=A?J.slice(0,p):J,Y=ye&&U.current?U.current:Se;U.current=Y;let Ce=e=>d&&d.node?typeof d.node==`function`?d.node(e,H,p):d.index===void 0||d.index===null?e===H?d.node:null:e===d.index?d.node:null:null;return Z.useEffect(()=>{m&&he(m)},[m,he]),Z.useEffect(()=>{q&&z(JSON.parse(me),t?{fetch:{viewCount:!0}}:null)},[z,q,me,t]),!L&&Y&&Y.length===0&&!h&&ce?(0,Q.jsx)(`div`,{className:`empty empty--centered`,children:u(`No results`)}):(0,Q.jsx)(`ul`,{ref:_e,className:(0,Ne.default)(`claim-grid`,{"claim-shorts-grid":e.isShorts||g===`Shorts`}),children:!h&&Y&&Y.length?Y.map((e,t)=>{if(e){let i=Ce(t);return i&&(K.current.includes(t)||K.current.push(t)),(0,Q.jsxs)(Z.Fragment,{children:[i,(t<Y.length-K.current.length||t<p-K.current.length)&&(0,Q.jsx)(X,{sectionTitle:g,showNoSourceClaims:n||f,uri:e,properties:r})]},e)}else return(0,Q.jsx)(X,{sectionTitle:g,showNoSourceClaims:n||f,placeholder:!0,pulse:!0},t)}
2):Array.from({length:p},(e,t)=>(0,Q.jsx)(X,{sectionTitle:g,showNoSourceClaims:n||f,placeholder:!0,pulse:!0},t))})}var Be=Z.memo(ze,Ve);function Ve(e,t){if(e.claimType!==t.claimType&&e.claimType&&t.claimType&&JSON.stringify(e.claimType)!==JSON.stringify(t.claimType))return t.claimType,!1;let n=[`prefixUris`,`channelIds`];for(let r=0;r<n.length;++r){let i=n[r];if(!Fe(e[i],t[i]))return t[i],!1}let r=[...n,`claimType`,`claimsByUri`,`location`,`history`,`match`,`doClaimSearch`],i=Object.keys(t);for(let n=0;n<i.length;++n){let a=i[n];if(!r.includes(a)&&e[a]!==t[a])return t[a],!1}return!0}var $={ALL_VISIBLE:0,COLLAPSED:1,EXPANDED:2};function He(e,t,n){return n?12:t?24:12}function Ue(e){let{header:t,onLoad:n}=e,r=re(),i=k(b),a=i&&i.id,o=k(H),s=k(x),c=k(j),l=Z.useMemo(()=>w(o.uris,s,c),[s,c,o.uris]),d=Z.useRef(null),[f,p]=Z.useState(``),[m,h]=Z.useState($.ALL_VISIBLE),g=q(),_=J(),v=l.length,y=He(12,g,_),ee=m===$.ALL_VISIBLE?v:m===$.COLLAPSED?y:36,[S,C]=(0,Z.useState)([]);function T(e){let t=S;t.indexOf(e)===-1&&(t.push(e),C(t))}function E(){let e=S.length;for(let t of S)l.indexOf(t)>ee&&e--;return e}return Z.useEffect(()=>{typeof n==`function`&&n(v>0)},[v,n]),Z.useEffect(()=>{let e;v<=y?e=$.ALL_VISIBLE:m===$.ALL_VISIBLE&&(e=$.COLLAPSED),e!==void 0&&e!==m&&h(e)},[v,y,m,h]),Z.useEffect(()=>{a&&f!==o.gid&&(p(o.gid),pe.markPersonalRecommendations(a,o.gid))},[a,f,o.gid]),Z.useEffect(()=>{o.fetched||r(U())},[r,o.fetched]),o.fetched?v<1?(0,Q.jsxs)(`div`,{children:[t,(0,Q.jsx)(`div`,{className:`empty empty--centered-tight`,children:(0,Q.jsx)(K,{tokens:{learn_more:(0,Q.jsx)(O,{button:`link`,navigate:`/$/fyp`,label:u(`Learn More`)})},children:`No recommendations available at the moment. Typically this means you need to view more content first. %learn_more%`})})]}):(0,Q.jsxs)(`div`,{ref:d,children:[t,(0,Q.jsx)(Te,{tileLayout:!0,uris:l.slice(0,ee+E()),fypId:o.gid,onHidden:T}),m!==$.ALL_VISIBLE&&(0,Q.jsx)(`div`,{className:`upcoming-list__view-more`,children:(0,Q.jsx)(O,{label:m===$.COLLAPSED?u(`Show more`):u(`Show less`),button:`link`,iconRight:m===$.COLLAPSED?`ChevronDown`:`ChevronUp`,className:`claim-grid__title--secondary`,onClick:()=>{m===$.COLLAPSED?h($.EXPANDED):(h($.COLLAPSED),d.current?d.current.scrollIntoView({block:`start`,behavior:`smooth`}):window.scrollTo({top:0,behavior:`smooth`}))}})})]}):(0,Q.jsxs)(Q.Fragment,{children:[t,(0,Q.jsx)(`ul`,{className:`claim-grid`,children:Array.from({length:y},(e,t)=>(0,Q.jsx)(X,{placeholder:!0},t))}),(0,Q.jsx)(`div`,{className:`upcoming-list__view-more`,style:{visibility:`hidden`},children:(0,Q.jsx)(O,{label:`"View More" dummy to reduce layout shift`,button:`link`,className:`claim-grid__title--secondary`})})]})}function We(e){let{meme:t}=e;return t?(0,Q.jsx)(`h1`,{className:`home__meme`,children:(0,Q.jsx)(O,{button:`link`,navigate:t.url,children:t.text})}):null}var Ge=Y(()=>g(()=>import(`./featuredBanner-1sCWjPI8.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61]))),Ke=Y(()=>g(()=>import(`./customBanner-BgN5fOBe.js`),__vite__mapDeps([62,1,16,3,19,23,10,8,9,13,63]))),qe=({title:e,navigate:t=`/`,icon:n=``,help:r})=>(0,Q.jsx)(`h1`,{className:`claim-grid__header`,children:(0,Q.jsxs)(O,{navigate:t,button:`link`,children:[(0,Q.jsx)(m,{className:`claim-grid__header-icon`,sectionIcon:!0,icon:n,size:20}),(0,Q.jsx)(`span`,{className:`claim-grid__title`,children:e}),r]})});function Je(e){return e===`Recent From Following`?`Following`:e}function Ye(){let e=re(),t=k(Ce),n=k(he),i=k(ee),a=k(ae),o=k(N)||{},l=k(ie),d=k(te),m=k(me),g=k(e=>M(e,c));k(e=>M(e,s));let v=k(e=>M(e,r)),y=k(ce),b=k(ye),x=k(A),S=k(_e),w=k(e=>oe(e,T)),E=k(e=>ve(e,T)),ne=(i||!1)&&n.length>0,j=(i||!1)&&t&&t.length>0,se=j&&t.length<5,I=J(),ue=xe(),de=q(),pe=_();h();let L=Z.useMemo(()=>Oe(i,v,o,De(o,I,ue,de,!0,i,ne,j,n,t,se,a)),[i,t,o,v,I,ue,de,se,a,ne,j,n]),R=Z.useRef();R.current===void 0&&((w||0)>0?R.current=!0:S&&(R.current=!1));let z=R.current,B=Z.useMemo(()=>L.filter(e=>e.id!==`WATCH_LATER`||z),[z,L]),V=Z.useMemo(()=>{let e={topGrid:-1,hasBanner:!0};return d&&B.forEach((t,r)=>{e.topGrid===-1&&t.title&&t.id!==`UPCOMING`&&(e.topGrid=r);let i=t.options?.channelIds,a=t.options?.excludedChannelIds,o=t.id===`FOLLOWING`,s=g&&!o;e[t.id]={livestreamUris:s?null:o?P(n,a,y,b):i?P(i,a,y,b):null}}),e},[d,B,n,y,b,g]),H=Z.useMemo(()=>L.some(e=>e.id===`WATCH_LATER`),[L]),U=Z.useRef(!1),W=(0,Q.jsx)(O,{button:`link`,iconRight:p,onClick:()=>i?be():G(),title:u(`Sort and customize your homepage`),label:u(`Customize --[Short label for "Customize Homepage"]--`)});function G(){pe(`/$/${D}?redirect=homepage_customization`)}function be(){e(ge(F))}function K(e,t,r,a,s,c,d,p,h,g){if(e===`BANNER`)return p===void 0?(0,Q.jsx)(Ge,{homepageData:o,authenticated:i}):null;if(e===`PORTALS`)return null;if(e===`UPCOMING`)return(0,Q.jsxs)(Q.Fragment,{children:[p===V.topGrid&&(0,Q.jsx)(We,{meme:l}),V.topGrid===-1&&W,(0,Q.jsx)(Ae,{name:`homepage_following`,channelIds:n,tileLayout:!0,liveUris:V[e].livestreamUris,loading:m,showHideSetting:!1})]});let _=(0,Q.jsx)(`ul`,{className:`claim-grid`,children:Array.from({length:d.pageSize||8},(e,t)=>(0,Q.jsx)(X,{showNoSourceClaims:f,placeholder:!0,uri:``},t))}),v=e===`WATCH_LATER`?E===void 0?_:(0,Q.jsx)(Te,{uris:E,tileLayout:!0,maxClaimRender:d.pageSize||8,showNoSourceClaims:f,header:!1,headerAltControls:null,loading:!1,type:``,showHiddenByUser:!1,claimSearchByQuery:{},claimsByUri:{}}):(0,Q.jsx)(Be,{...d,showNoSourceClaims:f,hideMembersOnly:e!==`FOLLOWING`,hasSource:!0,prefixUris:V[e].livestreamUris,pins:{urls:h,claimIds:g},forceShowReposts:e!==`FOLLOWING`,loading:e===`FOLLOWING`?m:!1,fetchViewCount:!0,sectionTitle:t}),y=()=>(0,Q.jsxs)(Q.Fragment,{children:[p===V.topGrid&&(0,Q.jsx)(We,{meme:l}),t&&typeof t==`string`&&(0,Q.jsxs)(`div`,{className:`homePage-wrapper__section-title`,children:[(0,Q.jsx)(qe,{title:u(Je(t)),navigate:r||a,icon:s,help:c}),(p===V.topGrid||p&&p-1===V.topGrid&&B[V.topGrid].id===`UPCOMING`)&&W]})]});return(0,Q.jsx)(`div`,{className:(0,Ne.default)(`claim-grid__wrapper`,{"hide-ribbon":a!==`/$/${C}`}),children:e===`FYP`?(0,Q.jsx)(Ue,{header:(0,Q.jsx)(y,{})}):(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(y,{}),p===0&&(0,Q.jsx)(Q.Fragment,{children:v}),p!==0&&(0,Q.jsx)(je,{placeholder:_,yOffset:800,children:v}),(r||a)&&(0,Q.jsx)(O,{className:`claim-grid__title--secondary`,button:`link`,navigate:r||a,iconRight:`ChevronRight`,label:u(`View More`)})]})})}return Z.useEffect(()=>{e(le())},[]),Z.useEffect(()=>{i&&H&&!U.current&&(U.current=!0,e(fe({collectionId:T})))},[i,e,H]),(0,Q.jsxs)(ke,{className:`homePage-wrapper`,fullWidthPage:!0,children:[B.length===0&&i&&d&&(0,Q.jsx)(`div`,{className:`empty--centered`,children:(0,Q.jsx)(Se,{alwaysShow:!0,title:u(`Clean as a whistle! --[title for empty homepage]--`),actions:W})}),V.hasBanner&&K(`BANNER`,void 0,void 0,void 0,void 0,void 0,{}
2,void 0,void 0,void 0),d&&B.map(({id:e,title:t,route:n,link:r,icon:i,help:a,pinnedUrls:o,pinnedClaimIds:s,options:c={}},l)=>{let u=x?.find&&x.find(e=>e.position===l);return(0,Q.jsxs)(Z.Fragment,{children:[K(e,t,n,r,i,a,c,l,o,s),u&&(0,Q.jsx)(Ke,{...u,isSecondary:u===x[1]},`custom-banner-${u.position}`)]},`${e}-${l}`)})]})}export{Ye as default}; 3//# sourceMappingURL=home-Lo-qr7yb.js.map
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.