+
     h  c                   s^    ^ RI t ^ RIt^RIHt ^RIHt ^RIHtHt ^RI	H
t
  ! R R4      tR# )i    N)	Thumbnail)ThumbnailType)get_pageget_page_type)opinionc                   sN   a  ] tR t^t o RtV 3R lR ltR tV 3R lR ltRtV t	R# )		FrontPagea  An object representing the front page of  More of less just a long suggestion of the hottest mods,
games, articles and files of the moment

Parameters
-----------
html : bs4.BeautifulSoup
    The html to parse. Allows for finer control.

Attributes
-----------
slider : List[Thumnail]
    A list of object like thumbnails presented by the slider present on
    the front page, this is a catered list of promoted content, can contain
    any type of object.
articles : List[Thumbnail]
    A list of article like thumbnail objects representing the suggested
    articles on the front page.
mods : List[Thumbnail]
    A list of mod like thumbnail objects representing the suggested
    mods on the front page.
games : List[Thumbnail]
    A list of game like thumbnail objects representing the suggested
    games on the front page.
files : List[Thumbnail]
    A list of file like thumbnail objects representing the suggested
    files on the front page.
c                4   < V ^8  d   QhRS[ P                  /# )   html)bs4ZBeautifulSoupZformat__classdict__   "3/usr/lib/python3.14/site-packages/moddb/pages/fp.py__annotate__FrontPage.__annotate__(   s     g gS.. g    c                s   VP                  R RR7      P                  R RR7      p. V n        V EF1  pVP                  P                  R4      pVP                  P                  R4      pRpRVP                  9   dC   \
        P                  ! RVP                  R,          4      pV'       d   VP                  ^4      pM$R	VP                  9   d   VP                  R	,          p\        V'       d   VP                  MRVP                  R
,          V'       d   VP                  MRV\        VP                  R
,          4      R7      pV P                  P                  V4       EK4  	  VP                  RRR7      P                  P                  P                  P                  R RR7      P                  R RR7      RR! p	V	 Uu. uF  p\        VP                  R,          VP                  R
,          \        P                  VP                  P                  R,          VP                  R4      P                  VP                  R4      R,          R7      NK  	  upV n        VP                  RRR7      P                  P                  P                  P                  R RR7      P                  R RR7      R,          p
V
 Uu. uF]  p\        VP                  R,          VP                  R
,          \        P"                  VP                  P                  R,          R7      NK_  	  upV n        VP                  RRR7      P                  P                  P                  P                  R RR7      P                  R RR7      R,          pV Uu. uF]  p\        VP                  R,          VP                  R
,          \        P&                  VP                  P                  R,          R7      NK_  	  upV n        VP                  RRR7      P                  P                  P                  P                  R RR7      P                  R RR7      R,          pV Uu. uFN  p\        VP                  R4      P                  VP                  R4      R
,          \        P*                  R7      NKP  	  upV n        VP                  RRR7      P                  P                  P                  P                  R RR7      P                  R RR7      R,          pV Uu. uF]  p\        VP                  R,          VP                  R
,          \        P.                  VP                  P                  R,          R7      NK_  	  upV n        VP                  R RR7      P2                  R ,          V n        Wn        RV n        R# u upi u upi u upi u upi u upi )"divZrotatorholder)Zclass_Z
rotatorboxZh2ZpNZstylez\((.*)\)zdata-bgZhref)nameurlsummaryimagetypeZspanzLatest Articles)stringZtableF)Z	recursiveZtitleZsrcZtimeZdatetime)r   r   r   r   r   ZdatezPopular Mods:i   NN)r   r   r   r   zPopular GamesZJobsa)r   r   r   zPopular FilesZpollZactioni)ZfindZfind_allsliderr   r   reZsearchZgroupr    r   r   ZappendZparentr   ZarticleZimgarticlesZmodmodsZgamegamesZjobjobsZfilefilesZform	_poll_url_html_poll)selfr   r   Zxr   r   r   Z	re_searchZ	thumbnailr   r   r   r   r   s   &&            r   __init__ZFrontPage.__init__(   s|   59BB5Q]B^A3388D>DcchhsmGE!%%IIk155>B	%OOA.Eaee#i(!$(T[[dCCK*1t"133v;/I KKy)) . IIf%6I7VFF66$$uW$"=XeuX-cr3 	 

  SS\CCK"**ccggens**VVF^J/ 

 IIf^I4VFF66$$uW$"=XeuX-b2 	 
  SS\CCK"&&ccggen	 
	 IIf_I5VFF66$$uW$"=XeuX-b2 	 
  SS\CCK"''ccggen	 

 IIfVI,VFF66$$uW$"=XeuX-b2 	 
  VVC[''FF3K'"&&
 
	 IIf_I5VFF66$$uW$"=XeuX-b2 	 
  SS\CCK"''ccggen	 

 58==hG

S

"



s#   >BV'8A#V,A#V1
AV6A#V;c           
     s    R \        V P                  4       R\        V P                  4       R\        V P                  4       R\        V P                  4       R2	# )z<FrontPage articles=z mods=z games=z files=Z>)Zlenr   r   r   r   r#      &r   __repr__ZFrontPage.__repr__   s^    %c$--&8%9DII?OwWZ[_[e[eWfVggnorsws}s}o~n  @A  B  	Br   c                r   )r   Zreturn)r   Pollr
   r   r   r   r      s      ',, r   c                s    V P                   f/   \        P                  ! \        V P                  4      4      V n         V P                   # )zGet the full item of the front page poll. This
result is cached after the first call.

Returns
--------
Poll
    The returned poll
)r"   r   r(   r   r    r%   r&   r   get_pollZFrontPage.get_poll   s1     :: ht~~&>?DJzzr   )	r!   r"   r    r   r   r   r   r   r   N)
Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r$   r'   r)   Z__static_attributes__Z__classdictcell__)r   s   @r   r   r      s'     8g gRB r   r   )r   r	   Zboxesr    Zenumsr   Zutilsr   r   Z r   r   ) r   r   <module>r*      s#    	 
  ! + U Ur   