<?xml version="1.0"?>
<includes>
	<include name="CurrentUserAvatar">
		<control type="group">			
			<visible>System.UserIsInHome</visible>
			<posy>15</posy>
			<control type="image">
				<posx>1200</posx>
				<width>60</width>
				<height>60</height>
				<aspectratio scalediffuse="false" align="center">scale</aspectratio>
				<texture diffuse="round.png" background="true">round.png</texture>
				<animation effect="fade" start="20" end="20" time="0" condition="true">Conditional</animation>
			</control>
			<control type="image">
				<posy>5</posy>
				<posx>1205</posx>
				<width>50</width>
				<height>50</height>
				<aspectratio scalediffuse="false" align="center">scale</aspectratio>
				<texture diffuse="round.png" background="true" fallback="default-square-small.png">$INFO[System.CurrentUserThumb]</texture>
			</control>
			<control type="label">
				<posx>1180</posx>
				<width>600</width>
				<height>87</height>
				<label>$INFO[System.CurrentUser]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>Bold-22</font>
				<textcolor>white</textcolor>
				<animation effect="fade" end="70" time="0" condition="true">Conditional</animation>
			</control>
		</control>
	</include>
	<include name="MenuSeparatorVertical">
		<control type="group">
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<width>391</width>
				<height>720</height>
				<include>Black</include>
				<animation effect="fade" start="0" end="30" time="0" condition="true">Conditional</animation>
				<visible>true</visible>
			</control>
			<control type="image">
				<posx>377</posx>
				<posy>440</posy>
				<width>14</width>
				<height>30</height>
				<texture flipx="true">arrow-big.png</texture>
				<colordiffuse>orange</colordiffuse>
				<aspectratio>keep</aspectratio>
				<animation effect="fade" start="0" end="100" time="0" condition="true">Conditional</animation>
				<visible>!Control.Isvisible(999)</visible>
			</control>
			<control type="image">
				<posx>372</posx>
				<posy>0</posy>
				<width>19</width>
				<height>731</height>
				<texture>separator.png</texture>
				<aspectratio>stretch</aspectratio>
				<animation effect="fade" start="0" end="100" time="0" condition="true">Conditional</animation>
				<visible>true</visible>
			</control>
		</control>
	</include>
	<include name="MenuFocusedLabel">
		<control type="group">
			<posx>363</posx>
			<posy>456</posy>
			<include>ShowHomeClassic</include>
			<control type="label">
				<width>353</width>
				<height>0</height>
				<label>$INFO[Container(300).ListItem(0).Label]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>Bold-36</font>
				<textcolor>orange</textcolor>
				<shadowcolor>FF222222</shadowcolor>
			</control>
			<!-- with Label2 -->
			<control type="label">
				<posy>22</posy>
				<width>353</width>
				<height>20</height>
				<label>$INFO[Container(300).ListItem(0).Label2]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>Bold-16</font>
				<textcolor>white</textcolor>
				<shadowcolor>FF222222</shadowcolor>
				<visible>!IsEmpty(Container(300).ListItem(0).Label2)</visible>
				<animation effect="fade" end="100" time="0" condition="true">Conditional</animation>
			</control>
		</control>
	</include>
	<include name="HomeMenu">
		<!-- Main Menu -->
		<control type="group">
			<include>FadeDialog</include>
			<include>MenuSeparatorVertical</include>
			<include>MenuFocusedLabel</include>
			<control type="image">
				<posy>680</posy>
				<posx>30</posx>
				<width>12</width>
				<height>18</height>
				<aspectratio>scale</aspectratio>
				<texture flipx="true">left-menu-indicator-arrow.png</texture>
				<animation effect="rotate" end="-180" center="36,689" time="300" condition="Window.IsActive(4998)">Conditional</animation>
				<animation type="Conditional" condition="ControlGroup(5000).HasFocus()" reversible="false">
					<effect type="fade" start="100" end="0" time="0"/>
				</animation>
			</control>
			<!-- list -->
			<control type="wraplist" id="300">
				<description>Home Main Menu</description>
				<posx>0</posx>
				<posy>103</posy>
				<width>372</width>
				<height>570</height>
				<onup>300</onup>
				<ondown>300</ondown>
				<onleft>Plex.ActivateWindow(4998)</onleft>
				<onright>5000</onright>
				<focusposition>6</focusposition>
				<scrolltime>200</scrolltime>
				<animation type="Conditional" condition="!Window.IsActive(4998)" reversible="false">
					<effect type="rotatey" center="304" start="80,455" end="0,455" time="300"/>
					<effect type="fade" start="0" end="100" time="50" delay="0"/>
				</animation>
				<animation type="Conditional" condition="Window.IsActive(4998)" reversible="false">
					<effect type="rotatey" center="304" start="0,455" end="80,455" time="300"/>
					<effect type="fade" start="100" end="0" time="230"/>
				</animation>
				<animation type="Conditional" condition="ControlGroup(5000).HasFocus()" reversible="false">
					<effect type="fade" start="100" end="0" time="0"/>
				</animation>
				<itemlayout width="600" height="50">
					<control type="label">
						<posx>372</posx>
						<posy>20</posy>
						<width>360</width>
						<height>0</height>
						<label>$INFO[ListItem.Label]</label>
						<info>ListItem.Label</info>
						<align>right</align>
						<aligny>center</aligny>
						<font>Regular-28</font>
						<textcolor>white</textcolor>
						<shadowcolor>FF333333</shadowcolor>
					</control>
				</itemlayout>
				<focusedlayout width="600" height="120">
					<control type="label">
						<posx>363</posx>
						<posy>53</posy>
						<width>353</width>
						<height>0</height>
						<label>$INFO[ListItem.Label]</label>
						<align>right</align>
						<aligny>center</aligny>
						<font>Bold-36</font>
						<textcolor>orange</textcolor>
						<shadowcolor>FF222222</shadowcolor>
					</control>
					<control type="label">
						<posx>363</posx>
						<posy>75</posy>
						<width>353</width>
						<height>20</height>
						<label>$INFO[ListItem.Label2]</label>
						<align>right</align>
						<aligny>center</aligny>
						<font>Bold-16</font>
						<textcolor>white</textcolor>
						<shadowcolor>FF222222</shadowcolor>
						<visible>[!Skin.HasSetting(DontIndicateSecureServers) + IsEmpty(ListItem.Property(isSecure))] | [Skin.HasSetting(DontIndicateSecureServers) + !IsEmpty(ListItem.Property(SectionNameCollision))]</visible>
					</control>
					<control type="label">
						<posx>336</posx>
						<posy>75</posy>
						<width>323</width>
						<height>20</height>
						<label>$INFO[ListItem.Label2]</label>
						<align>right</align>
						<aligny>center</aligny>
						<font>Bold-16</font>
						<textcolor>white</textcolor>
						<shadowcolor>FF222222</shadowcolor>
						<visible>!IsEmpty(ListItem.Property(isSecure)) + !Skin.HasSetting(DontIndicateSecureServers)</visible>
					</control>
					<control type="image">
						<posy>75</posy>
						<posx>344</posx>
						<width>18</width>
						<height>18</height>
						<texture>icon-lock-round-simplified.png</texture>
						<colordiffuse>CC5CB85C</colordiffuse>
						<visible>!IsEmpty(ListItem.Property(isSecure)) + !Skin.HasSetting(DontIndicateSecureServers)</visible>
					</control>
				</focusedlayout>
				<!-- additional menu items -->
				<content>
					<item id="7">
						<description>Search</description>
						<label>$LOCALIZE[137]</label>
						<onclick>Plex.ActivateWindow(10051)</onclick>
					</item>
					<item id="114">
						<description>Update and Restart</description>
						<label>$LOCALIZE[40018]</label>
						<onclick>Plex.UpdateAndRestart</onclick>
						<visible>System.UpdateIsAvailable</visible>
					</item>
				</content>
			</control>
		</control>
	</include>
</includes>
