<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>1000</defaultcontrol>
	<backgroundcolor>background</backgroundcolor>
	<menucontrol>6666</menucontrol>
	<include>PropertyIncludes</include>
	<controls>
		<control type="label" id="52">
			<include>HiddenObject</include>
		</control>
		<control type="label" id="53">
			<include>HiddenObject</include>
		</control>
		<control type="button" id="2">
			<include>HiddenObject</include>
		</control>
		<control type="button" id="3">
			<include>HiddenObject</include>
		</control>
		<control type="button" id="4">
			<include>HiddenObject</include>
		</control>
		<control type="button" id="5">
			<include>HiddenObject</include>
		</control>
		<control type="button" id="6">
			<include>HiddenObject</include>
		</control>
		<control type="button" id="7">
			<include>HiddenObject</include>
		</control>
		<control type="button" id="8">
			<include>HiddenObject</include>
		</control>
		<control type="button" id="9">
			<include>HiddenObject</include>
		</control>
		<control type="button" id="10">
			<include>HiddenObject</include>
		</control>
		<control type="button" id="11">
			<include>HiddenObject</include>
		</control>
		<control type="button" id="12">
			<include>HiddenObject</include>
		</control>
		<include>Background</include>
		<!-- left -->
		<control type="group">
			<!-- hint and borders -->
			<control type="image">
				<top>112</top>
				<left>450</left>
				<right>0</right>
				<height>1</height>
				<texture colordiffuse="grid_border">common/white.jpg</texture>
				<aspectratio>stretch</aspectratio>
			</control>
			<control type="image">
				<bottom>112</bottom>
				<left>450</left>
				<right>0</right>
				<height>1</height>
				<texture colordiffuse="grid_border">common/white.jpg</texture>
				<aspectratio>stretch</aspectratio>
			</control>
			<control type="textbox" id="6">
				<bottom>6</bottom>
				<left>510</left>
				<right>30</right>
				<height>100</height>
				<aligny>center</aligny>
				<font>Reg22</font>
				<label>$VAR[SettingHelpText]</label>
			</control>
			<include content="ContentPanel">
				<param name="top" value="0"/>
				<param name="bottom" value="0"/>
				<param name="width" value="450"/>
			</include>
			<!-- left -->
			<control type="group">
				<top>90</top>
				<width>450</width>
				<control type="grouplist" id="1000">
					<description>button area</description>
					<left>0</left>
					<top>0</top>
					<bottom>130</bottom>
					<usecontrolcoords>true</usecontrolcoords>
					<onleft>900</onleft>
					<onright condition="ControlGroup(1000).HasFocus(100)">60</onright>
					<onup>6666</onup>
					<ondown>noop</ondown>
					<include content="SideBarHeadline">
						<param name="nr" value="1"/>
						<param name="label" value="$LOCALIZE[138]"/>
					</include>
					<control type="button" id="95">
						<include>SettingsButtonSidePanel</include>
						<label>$LOCALIZE[20037]</label>
					</control>
					<control type="button" id="94">
						<include>SettingsButtonSidePanel</include>
						<label>$LOCALIZE[13277]</label>
					</control>
					<control type="button" id="96">
						<include>SettingsButtonSidePanel</include>
						<label>$LOCALIZE[13279]</label>
					</control>
					<control type="button" id="97">
						<include>SettingsButtonSidePanel</include>
						<label>$LOCALIZE[13280]</label>
					</control>
					<control type="button" id="98">
						<include>SettingsButtonSidePanel</include>
						<label>$LOCALIZE[13281]</label>
					</control>
					<control type="button" id="99">
						<include>SettingsButtonSidePanel</include>
						<label>$LOCALIZE[19191]</label>
					</control>
					<control type="button" id="100">
						<include>SettingsButtonSidePanel</include>
						<label>$LOCALIZE[12389]</label>
						<onclick>RunScript(script.embuary.helper,action=textviewer,header='$ESCINFO[Control.GetLabel(40)]',message='$ESCINFO[Control.GetLabel(30)]')</onclick>
					</control>
				</control>
			</control>
		</control>
		<!-- right -->
		<control type="group">
			<include>Window_OpenClose</include>
			<left>510</left>
			<right>50</right>
			<top>113</top>
			<bottom>113</bottom>
			<control type="grouplist">
				<height>100%</height>
				<onup>noop</onup>
				<onleft>noop</onleft>
				<onright>noop</onright>
				<ondown>noop</ondown>
				<scrolltime>200</scrolltime>
				<itemgap>0</itemgap>
				<include content="SkinSettingsHeadlineLabel">
					<param name="id" value="40"/>
					<param name="label" value="$LOCALIZE[565]"/>
				</include>
				<control type="button">
					<label>$INFO[Control.GetLabel(2)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>!String.IsEmpty(Control.GetLabel(2))</visible>
				</control>
				<control type="button">
					<label>$INFO[Control.GetLabel(3)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>!String.IsEmpty(Control.GetLabel(3))</visible>
				</control>
				<control type="button">
					<label>$INFO[Control.GetLabel(4)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>!String.IsEmpty(Control.GetLabel(4))</visible>
				</control>
				<control type="button">
					<label>$INFO[Control.GetLabel(5)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>!String.IsEmpty(Control.GetLabel(5))</visible>
				</control>
				<control type="button">
					<label>$INFO[Control.GetLabel(6)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>!String.IsEmpty(Control.GetLabel(6))</visible>
				</control>
				<control type="button">
					<label>$INFO[Control.GetLabel(7)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>!String.IsEmpty(Control.GetLabel(7))</visible>
				</control>
				<control type="button">
					<label>$INFO[Control.GetLabel(8)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>!String.IsEmpty(Control.GetLabel(8))</visible>
				</control>
				<control type="button">
					<label>$INFO[Control.GetLabel(9)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>!String.IsEmpty(Control.GetLabel(9))</visible>
				</control>
				<control type="button">
					<label>$INFO[Control.GetLabel(10)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>!String.IsEmpty(Control.GetLabel(10))</visible>
				</control>
				<control type="button">
					<label>$INFO[Control.GetLabel(11)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>!String.IsEmpty(Control.GetLabel(11))</visible>
				</control>
				<control type="button">
					<label>$INFO[Control.GetLabel(12)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>!String.IsEmpty(Control.GetLabel(12))</visible>
				</control>
				<!-- versions -->
				<include content="SkinSettingsHeadlineLabel">
					<param name="label" value="$LOCALIZE[19114]"/>
					<param name="visible" value="ControlGroup(1000).HasFocus(95)"/>
				</include>
				<control type="button">
					<label>$INFO[Control.GetLabel(52)]$INFO[Control.GetLabel(53), / ]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>ControlGroup(1000).HasFocus(95) + !String.IsEmpty(Control.GetLabel(52))</visible>
				</control>
				<control type="button">
					<label>Embuary Skin $INFO[System.AddonVersion(skin.embuary-leia)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>ControlGroup(1000).HasFocus(95)</visible>
				</control>
				<control type="button">
					<label>Embuary Helper Script $INFO[System.AddonVersion(script.embuary.helper)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>ControlGroup(1000).HasFocus(95)</visible>
				</control>
				<control type="button">
					<label>Emby For Kodi $INFO[System.AddonVersion(plugin.video.emby)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>ControlGroup(1000).HasFocus(95) + System.HasAddon(plugin.video.emby)</visible>
				</control>
				<control type="button">
					<label>EmbyCon $INFO[System.AddonVersion(plugin.video.embycon)]</label>
					<font>Reg22_monofied</font>
					<include>SettingsButton</include>
					<visible>ControlGroup(1000).HasFocus(95) + System.HasAddon(plugin.video.embycon)</visible>
				</control>
				<!-- CPU and memory bar -->
				<include content="SkinSettingsHeadlineLabel">
					<param name="label" value="$LOCALIZE[565]"/>
					<param name="visible" value="ControlGroup(1000).HasFocus(98)"/>
				</include>
				<control type="group">
					<visible>ControlGroup(1000).HasFocus(98)</visible>
					<control type="image">
						<texture colordiffuse="thumb_background">common/white.jpg</texture>
						<width>100%</width>
						<height>160</height>
					</control>
					<control type="label">
						<height>50</height>
						<font>Reg22_monofied</font>
						<textoffsetx>20</textoffsetx>
						<aligny>center</aligny>
						<label>$LOCALIZE[13271] $INFO[System.CPUUsage]</label>
					</control>
					<control type="progress">
						<top>50</top>
						<left>20</left>
						<right>20</right>
						<height>16</height>
						<texturebg colordiffuse="panel_textcolor2" border="2">common/white.jpg</texturebg>
						<lefttexture></lefttexture>
						<midtexture colordiffuse="$VAR[AccentColor]" border="2">common/white.jpg</midtexture>
						<info>System.CPUUsage</info>
					</control>
					<control type="label">
						<top>75</top>
						<height>50</height>
						<font>Reg22_monofied</font>
						<textoffsetx>20</textoffsetx>
						<aligny>center</aligny>
						<label>$LOCALIZE[31045]: $INFO[system.memory(used)] / $INFO[system.memory(total)] - $INFO[system.memory(used.percent)]</label>
					</control>
					<control type="progress">
						<top>125</top>
						<left>20</left>
						<right>20</right>
						<height>16</height>
						<texturebg colordiffuse="panel_textcolor2" border="2">common/white.jpg</texturebg>
						<lefttexture></lefttexture>
						<midtexture colordiffuse="$VAR[AccentColor]" border="2">common/white.jpg</midtexture>
						<info>system.memory(used)</info>
					</control>
				</control>
				<!-- privacy policy -->
				<control type="label">
					<top>10</top>
				</control>
				<control type="group">
					<left>35</left>
					<right>35</right>
					<control type="textbox" id="30">
						<height>782</height>
						<width>auto</width>
						<font>Reg22</font>
						<aligny>center</aligny>
						<pagecontrol>60</pagecontrol>
					</control>
				</control>
			</control>
		</control>
		<!-- scrollbar -->
		<include content="Scrollbar">
			<param name="id" value="60"/>
			<param name="visible" value="ControlGroup(1000).HasFocus(100)"/>
			<param name="top" value="112"/>
			<param name="bottom" value="112"/>
			<param name="width" value="10"/>
			<param name="onleft" value="100"/>
			<param name="onup" value="6666"/>
		</include>
		<!-- header bar -->
		<include content="HeaderBar">
			<param name="id">1000</param>
			<param name="auto_hide">false</param>
		</include>
		<!-- side panel -->
		<include content="SidePanel">
			<param name="onright">1000</param>
		</include>
	</controls>
</window>
