+
     hi  c            
      s    ^ RI Ht ^ RIt^ RIHt ^RIHtHt ^RIH	t	 ^RI
HtHtHtHt ^RIHt ^RIHtHtHtHt ]'       d   ^ R	IHt ] ! R
 R]]]]]4      4       tR# )i    )annotationsN)TYPE_CHECKING)PlatformStatistics	Thumbnail)ThumbnailType)LOGGERconcat_docsget_datejoin)BaseMetaClass)GetEnginesMixinGetGamesMixinGetModsMixinGetWaresMixin)BeautifulSoupc                  s,    ] tR t^tRtR R ltR tRtR# )Platforma  Represents the platform supporting the game/engines. Game and engines may have mutiple platforms.

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

Filtering
----------
released : :class:`.Status`
    Current status of release (unreleased, early access, ect...)

Sorting
--------
    * **released** - when the object was released, asc is oldest, desc is most recent
    * **id** - when it was added to moddb, asc is oldest, desc is most recent
    * **porder** - what plaform it's on???
    * **company** - company that made it in alphabetical order


Attributes
-----------
name : str
    The name of the platform
name_id : str
    The name_id of the member, cannot be changed, it's a mix of the original username lowercased with
    spaces removed and shortened.
id : int
    The moddb id of the platform
url : str
    The url of the platform page
description : str
    Description of the platform
company : Thumbnail
    A team like thumbnail of the company.
homepage : str
    Link to the homepage of the engine
date : datetime.datetime
    Date the engine was published
stats : PlatformStatistics
    Stat data on the platform
share : dict{str : str}
    Share link of the platform with the name of the share as key and link of the share as url.
comments : CommentList[Comment]
    Comments on this page
games : List[Thumbnail]
    A list of games suggested on the platform main page.
hardware : List[Thumbnail]
    A list of hardware suggested on the platform main page.
software : List[Thumbnail]
    A list of software suggested on the platform main page.
engines : List[Thumbnail]
    A list of engines suggested on the platform main page.
mods : List[Thumbnail]
    A list of mods suggested on the platform main page.
c               s    V ^8  d   QhRR/# )i   htmlr    )Zformats   "9/usr/lib/python3.14/site-packages/moddb/pages/platform.pyZ__annotate__ZPlatform.__annotate__Q   s     w
 w
] w
    c           
     	s   VP                  R RR7      P                  V n        RV n        \	        VP                  R RR7      R,          4      V n        V P
                  P                  R4      ^ ,          V n         VP                  RRR7      P                  P                  V n	         VP                  RRR7      P                  P                  P                  p\        VP                  VR,          \        P                   R7      V n        VP                  RRR7      P                  P                  P                  R,          V n        \1        VP                  RRR7      R,          4      V n        \5        V4      V n         VP                  RRR7      P                  P                  P9                  R 4      pRV^ ,          R,          RV^,          R,          RV^,          R,          RV^,          R,          /V n        V P?                  V4      V n         VP                  RRR7      P                  P                  P                  P                  RRR7      P9                  RRR 7      RR( pV Uu. uF]  p\        VP                  R!,          VP                  R,          \        PB                  VP                  PD                  R",          R#7      NK_  	  upV n!        VP                  RR$R7      P                  P                  P                  P                  RRR7      P9                  RRR 7      RR( pV Uu. uF]  p\        VP                  R!,          VP                  R,          \        PF                  VP                  PD                  R",          R#7      NK_  	  upV n#        VP                  RR%R7      P                  P                  P                  P                  RRR7      P9                  RRR 7      RR( pV Uu. uF]  p\        VP                  R!,          VP                  R,          \        PH                  VP                  PD                  R",          R#7      NK_  	  upV n%        VP                  RR&R7      P                  P                  P                  P                  RRR7      P9                  RRR 7      RR( pV Uu. uF]  p\        VP                  R!,          VP                  R,          \        PL                  VP                  PD                  R",          R#7      NK_  	  upV n'        VP                  RR'R7      P                  P                  P                  P                  RRR7      P9                  RRR 7      RR( p	V	 Uu. uF]  p\        VP                  R!,          VP                  R,          \        PP                  VP                  PD                  R",          R#7      NK_  	  upV n)        R#   \         d'    TP                  R	R
R7      P                  T n	         ELxi ; i  \         dN    \$        P&                  ! RT P                  \$        P(                  \*        P,                  8  R7       RT n         ELoi ; i  \        \<        3 dN    \$        P&                  ! RT P                  \$        P(                  \*        P,                  8  R7       RT n         ELi ; iu upi u upi u upi u upi u upi ))aZmainEntityOfPage)ZitempropNZhrefZ/ZdivZprofiledescription)idpdescriptionZh5ZCompany)string)nameurltypezPlatform '%s' has no company)Zexc_infoZHomepageZtimeZreleaseDateZdatetimeZShareZredditZmailZtwitterZfacebookz0Something funky about share box of platform '%s'spanz	 HardwareZtable)Zclass_F)Z	recursiveZtitleZsrc)r   r   r   Zimagez	 Softwarez Enginesz Modsz Gamesi)*Zfindr   r   r   r   r   Zsplitname_idr   r   ZAttributeErrorZparentr   r   r   r   Zteamcompanyr   ZinfoZlevelloggingZDEBUGhomepager   dater   statsZfind_allshareZ
IndexErrorZ_get_commentscommentshardwareZimgsoftwareZengineenginesZmodmodsZgamegames)
selfr   r   r#   r%   Zxr&   r'   r(   r)   s
   &&        r   __init__ZPlatform.__init__Q   s   IIc,>I?FF			#0B	CFKLxx~~c*1-	M#yy3GyHJJQQD		 iiYi7>>CCEEG$^^}?Q?QDL 		$z	:AAFFHHPTYYvYFzRS	'-
	IId7I3::??HHME%(6*a(58F+E!HV,	DJ **40 IIf[I1VFF66$$uW$"=XeuX-cr3 	 
  SS\CCK"++ccggen	 
 IIf[I1VFF66$$uW$"=XeuX-cr3 	 
  SS\CCK"++ccggen	 
 IIfZI0VFF66$$uW$"=XeuX-cr3 	 
  SS\CCK"))ccggen	 
 IIfWI-VFF66$$uW$"=XeuX-cr3 	 
  SS\CCK"&&ccggen	 
	 IIfXI.VFF66$$uW$"=XeuX-cr3 	 
  SS\CCK"''ccggen	 

O  	M#yy}yELLD	M  	 KK.		FLLT[TaTaDa  DL		 ( 
+ 	KKB		6
 DJ	




s]   :,W. 'A#X"  A=Y= -A#[2A#[#7A#[(<A#[-A#[2.-XX"AY:9Y:=A[[c                	s"    R V P                    R2# )z<Platform name=Z>)r   )r*   s   &r   __repr__ZPlatform.__repr__   s     1--r   )r$   r   r!   r   r'   r)   r%   r    r   r(   r   r   r#   r&   r"   r   N)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r+   r,   Z__static_attributes__r   r   r   r   r      s    7rw
r.r   r   )Z
__future__r    r   Ztypingr   Zboxesr   r   Zenumsr   Zutilsr   r   r   r   Zbaser	   Zmixinsr
   r   r   r   Zbs4r   r   r   r   r   <module>r-      sT    "    1 ! 7 7  O O! z.z. z.r   