<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">300</defaultcontrol>
	<onunload condition="String.IsEqual(Window(home).Property(TMDBSearch),true) | String.IsEqual(Window(home).Property(YouTubeSearch),true) | String.IsEqual(Window(home).Property(AddonsSearch),true)">AlarmClock(Open,ActivateWindow(1125),00:00,silent)</onunload>
	<controls>

	<control type="group">
		<include>CommonDialogsAnimation</include>
		<animation effect="slide" start="0,0" end="0,-55" time="300" delay="600" condition="!String.IsEmpty(Control.GetLabel(312).index(1)) + [Skin.HasSetting(AutocompletionKBEnabled) + System.HasAddon(plugin.program.autocompletion)]">Conditional</animation>
		<visible>!Window.IsVisible(NumericInput)</visible>
	  <control type="image">
			<left>230</left>
			<top>165</top>
		  <width>820</width>
		  <height>392</height>
		  <texture border="31">views/other/panel.png</texture>
			<animation effect="fade" start="100" end="0" time="300" delay="600">Hidden</animation>
		  <visible>![Skin.HasSetting(AutocompletionKBEnabled) + System.HasAddon(plugin.program.autocompletion)]</visible>
	  </control>
		<include condition="[Skin.HasSetting(AutocompletionKBEnabled) + System.HasAddon(plugin.program.autocompletion)]">Autocompletion</include>
		<control type="image">
			<left>232</left>
			<top>219</top>
			<width>816</width>
			<height>1</height>
			<texture border="1">dialogs/other/header_line.png</texture>
		</control>
		<control type="label">
			<description>Header</description>
			<left>240</left>
			<top>180</top>
			<width>798</width>
	    <include>DialogsHeaderLabel</include>
      <label>$VAR[CustomSearchKBHeader]</label>
		</control>
		<control type="edit" id="312">
			<description>Edit Text</description>
			<left>246</left>
			<top>225</top>
			<width>795</width>
			<height>45</height>
			<font>FontSize_36</font>
			<textcolor>viewsinfo</textcolor>
			<texturefocus></texturefocus>
			<texturenofocus></texturenofocus>
		</control>

		<control type="group">
			<left>230</left>
			<top>255</top>

			<!-- Row 1 (id 100) -->
			<control type="grouplist" id="7001">
				<left>21</left>
				<top>24</top>
				<itemgap>4</itemgap>
				<orientation>horizontal</orientation>
				<control type="button" id="400">
					<description>'Esc' button</description>
					<onup>309</onup>
					<ondown>302</ondown>
			    <font>FontSize_14B</font>
					<textoffsetx>7</textoffsetx>
					<textoffsety>23</textoffsety>
					<label>Esc</label>
					<onclick>Dialog.Close(103)</onclick>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="100">
					<description>'1' button</description>
					<onup>7005</onup>
					<ondown>120</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="101">
					<description>'2' button</description>
					<onup>7005</onup>
					<ondown>121</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="102">
					<description>'3' button</description>
					<onup>7005</onup>
					<ondown>122</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="103">
					<description>'4' button</description>
					<onup>7005</onup>
					<ondown>123</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="104">
					<description>'5' button</description>
					<onup>7005</onup>
					<ondown>124</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="105">
					<description>'6' button</description>
					<onup>7005</onup>
					<ondown>125</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="106">
					<description>'7' button</description>
					<onup>7005</onup>
					<ondown>126</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="107">
					<description>'8' button</description>
					<onup>7005</onup>
					<ondown>127</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="108">
					<description>'9' button</description>
					<onup>7005</onup>
					<ondown>128</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="109">
					<description>'0' button</description>
					<onup>7005</onup>
					<ondown>129</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="4110">
					<description>'Row 1, Key 10' button</description>
					<onup>7005</onup>
					<ondown>4130</ondown>
					<onclick>SendClick(110)</onclick>
          <include>KeyboardButton</include>
			    <label>$INFO[Control.GetLabel(110)]</label>
				</control>
				<control type="button" id="4111">
					<description>'Row 1, Key 11' button</description>
					<onup>7005</onup>
					<ondown>4131</ondown>
					<onclick>SendClick(111)</onclick>
          <include>KeyboardButton</include>
			    <label>$INFO[Control.GetLabel(111)]</label>
				</control>
				<control type="button" id="8">
					<description>'Backspace' button</description>
					<onup>300</onup>
					<ondown condition="Control.IsVisible(310)">310</ondown>
					<ondown condition="!Control.IsVisible(310)">3100</ondown>
					<width>102</width>
					<height>48</height>
			    <font>FontSize_14B</font>
					<textoffsetx>6</textoffsetx>
					<textoffsety>23</textoffsety>
					<label>20181</label>
          <include>KeyboardButton</include>
				</control>
		  </control>
			<!-- Row 1 Hidden Buttons -->
			<control type="button" id="110">
				<description>'Row 1, Key 10' button</description>
        <include>KeyboardHiddenButton</include>
			</control>
			<control type="button" id="111">
				<description>'Row 1, Key 11' button</description>
        <include>KeyboardHiddenButton</include>
			</control>


			<!-- Row 2 (id 120) -->
			<control type="grouplist"  id="7002">
				<left>21</left>
				<top>76</top>
				<itemgap>4</itemgap>
				<orientation>horizontal</orientation>
				<control type="radiobutton" id="302">
					<description>'Shift' button</description>
					<onup>400</onup>
					<ondown>303</ondown>
					<width>75</width>
					<height>48</height>
					<radioposx>48</radioposx>
					<radioposy>-2</radioposy>
					<radiowidth>28</radiowidth>
					<radioheight>28</radioheight>
					<textureradioonfocus colordiffuse="$VAR[Textures.GlobalColor]">dialogs/keyboard/radio-on.png</textureradioonfocus>
					<textureradioonnofocus colordiffuse="$VAR[Textures.GlobalColor]">dialogs/keyboard/radio-on.png</textureradioonnofocus>
					<textureradioofffocus>dialogs/keyboard/radio-off.png</textureradioofffocus>
					<textureradiooffnofocus>dialogs/keyboard/radio-off.png</textureradiooffnofocus>
			    <font>FontSize_14B</font>
					<textoffsetx>6</textoffsetx>
					<textoffsety>23</textoffsety>
					<label>20178</label>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="120">
					<description>'Q' button</description>
					<onup>100</onup>
					<ondown>140</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="121">
					<description>'W' button</description>
					<onup>101</onup>
					<ondown>141</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="122">
					<description>'E' button</description>
					<onup>102</onup>
					<ondown>142</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="123">
					<description>'R' button</description>
					<onup>103</onup>
					<ondown>143</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="124">
					<description>'T' button</description>
					<onup>104</onup>
					<ondown>144</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="125">
					<description>'Y' button</description>
					<onup>105</onup>
					<ondown>145</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="126">
					<description>'U' button</description>
					<onup>106</onup>
					<ondown>146</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="127">
					<description>'I' button</description>
					<onup>107</onup>
					<ondown>147</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="128">
					<description>'O' button</description>
					<onup>108</onup>
					<ondown>148</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="129">
					<description>'P' button</description>
					<onup>109</onup>
					<ondown>4149</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="4130">
					<description>'Row 2,Key 10' button</description>
					<onup>4110</onup>
					<ondown>4150</ondown>
					<onclick>SendClick(130)</onclick>
          <include>KeyboardButton</include>
			    <label>$INFO[Control.GetLabel(130)]</label>
				</control>
				<control type="button" id="4131">
					<description>'Row 2,Key 11' button</description>
					<onup>4111</onup>
					<ondown>4151</ondown>
					<onclick>SendClick(131)</onclick>
          <include>KeyboardButton</include>
			    <label>$INFO[Control.GetLabel(131)]</label>
				</control>
				<control type="radiobutton" id="310">
					<description>Password button</description>
					<onup>8</onup>
					<ondown>307</ondown>
					<width>75</width>
					<height>48</height>
					<radioposx>48</radioposx>
					<radioposy>-2</radioposy>
					<radiowidth>28</radiowidth>
					<radioheight>28</radioheight>
					<textureradioonfocus colordiffuse="$VAR[Textures.GlobalColor]">dialogs/keyboard/radio-on.png</textureradioonfocus>
					<textureradioonnofocus colordiffuse="$VAR[Textures.GlobalColor]">dialogs/keyboard/radio-on.png</textureradioonnofocus>
					<textureradioofffocus>dialogs/keyboard/radio-off.png</textureradioofffocus>
					<textureradiooffnofocus>dialogs/keyboard/radio-off.png</textureradiooffnofocus>
			    <font>FontSize_14B</font>
					<textoffsetx>6</textoffsetx>
					<textoffsety>23</textoffsety>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="3100">
					<description></description>
					<onup>8</onup>
					<ondown>307</ondown>
					<width>75</width>
					<height>48</height>
	        <include>KeyboardButton</include>
          <visible>!Control.IsVisible(310)</visible>
				</control>
			</control>
			<!-- Row 2 Hidden Buttons -->
			<control type="button" id="130">
				<description>'Row 2,Key 10' button</description>
        <include>KeyboardHiddenButton</include>
			</control>
			<control type="button" id="131">
				<description>'Row 2,Key 11' button</description>
        <include>KeyboardHiddenButton</include>
			</control>



			<!-- Row 3 (id 140) -->
			<control type="grouplist"  id="7003">
				<left>21</left>
				<top>128</top>
				<itemgap>4</itemgap>
				<orientation>horizontal</orientation>
				<control type="radiobutton" id="303">
					<description>'Caps Lock' button</description>
					<onup>302</onup>
					<ondown>304</ondown>
					<width>89</width>
					<height>48</height>
					<radioposx>62</radioposx>
					<radioposy>-2</radioposy>
					<radiowidth>28</radiowidth>
					<radioheight>28</radioheight>
					<textureradioonfocus colordiffuse="$VAR[Textures.GlobalColor]">dialogs/keyboard/radio-on.png</textureradioonfocus>
					<textureradioonnofocus colordiffuse="$VAR[Textures.GlobalColor]">dialogs/keyboard/radio-on.png</textureradioonnofocus>
					<textureradioofffocus>dialogs/keyboard/radio-off.png</textureradioofffocus>
					<textureradiooffnofocus>dialogs/keyboard/radio-off.png</textureradiooffnofocus>
			    <font>FontSize_14B</font>
					<textoffsetx>6</textoffsetx>
					<textoffsety>23</textoffsety>
					<label>20179</label>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="140">
					<description>'A' button</description>
					<onup>120</onup>
					<ondown>160</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="141">
					<description>'S' button</description>
					<onup>121</onup>
					<ondown>161</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="142">
					<description>'D' button</description>
					<onup>122</onup>
					<ondown>162</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="143">
					<description>'F' button</description>
					<onup>123</onup>
					<ondown>163</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="144">
					<description>'G' button</description>
					<onup>124</onup>
					<ondown>164</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="145">
					<description>'H' button</description>
					<onup>125</onup>
					<ondown>165</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="146">
					<description>'J' button</description>
					<onup>126</onup>
					<ondown>166</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="147">
					<description>'K' button</description>
					<onup>127</onup>
					<ondown>4167</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="148">
					<description>'L' button</description>
					<onup>128</onup>
					<ondown>4168</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="4149">
					<description>'Row 2,Key 9' button</description>
					<onup>129</onup>
					<ondown>4169</ondown>
					<onclick>SendClick(149)</onclick>
          <include>KeyboardButton</include>
			    <label>$INFO[Control.GetLabel(149)]</label>
				</control>
				<control type="button" id="4150">
					<description>'Row 2,Key 10' button</description>
					<onup>4130</onup>
					<ondown>4170</ondown>
					<onclick>SendClick(150)</onclick>
          <include>KeyboardButton</include>
			    <label>$INFO[Control.GetLabel(150)]</label>
				</control>
				<control type="button" id="4151">
					<description>'Row 2,Key 11' button</description>
					<onup>4131</onup>
					<ondown>305</ondown>
					<onclick>SendClick(151)</onclick>
          <include>KeyboardButton</include>
			    <label>$INFO[Control.GetLabel(151)]</label>
				</control>
				<control type="button" id="307">
					<description>'IP Address' button</description>
					<onup condition="Control.IsVisible(310)">310</onup>
					<onup condition="!Control.IsVisible(310)">3100</onup>
					<ondown>306</ondown>
					<width>61</width>
					<height>48</height>
			    <font>FontSize_14B</font>
					<textoffsetx>6</textoffsetx>
					<textoffsety>23</textoffsety>
					<label>IP</label>
          <include>KeyboardButton</include>
				</control>
			</control>
			<!-- Row 3 Hidden Buttons -->
			<control type="button" id="149">
				<description>'Row 2,Key 9' button</description>
        <include>KeyboardHiddenButton</include>
			</control>
			<control type="button" id="150">
				<description>'Row 2,Key 10' button</description>
        <include>KeyboardHiddenButton</include>
			</control>
			<control type="button" id="151">
				<description>'Row 2,Key 11' button</description>
        <include>KeyboardHiddenButton</include>
			</control>


			<!-- Row 4 (id 160) -->
			<control type="grouplist" id="7004">
				<left>21</left>
				<top>180</top>
				<itemgap>4</itemgap>
				<orientation>horizontal</orientation>
				<control type="radiobutton" id="304">
					<description>'Symbols' button</description>
					<onup>303</onup>
					<ondown>309</ondown>
					<width>102</width>
					<height>48</height>
					<radioposx>77</radioposx>
					<radioposy>-2</radioposy>
					<radiowidth>28</radiowidth>
					<radioheight>28</radioheight>
					<textureradioonfocus colordiffuse="$VAR[Textures.GlobalColor]">dialogs/keyboard/radio-on.png</textureradioonfocus>
					<textureradioonnofocus colordiffuse="$VAR[Textures.GlobalColor]">dialogs/keyboard/radio-on.png</textureradioonnofocus>
					<textureradioofffocus>dialogs/keyboard/radio-off.png</textureradioofffocus>
					<textureradiooffnofocus>dialogs/keyboard/radio-off.png</textureradiooffnofocus>
			    <font>FontSize_14B</font>
					<textoffsetx>6</textoffsetx>
					<textoffsety>23</textoffsety>
					<label>20180</label>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="160">
					<description>'Z' button</description>
					<onup>140</onup>
					<ondown>32</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="161">
					<description>'X' button</description>
					<onup>141</onup>
					<ondown>32</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="162">
					<description>'C' button</description>
					<onup>142</onup>
					<ondown>32</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="163">
					<description>'V' button</description>
					<onup>143</onup>
					<ondown>32</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="164">
					<description>'B' button</description>
					<onup>144</onup>
					<ondown>32</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="165">
					<description>'N' button</description>
					<onup>145</onup>
					<ondown>32</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="166">
					<description>'M' button</description>
					<onup>146</onup>
					<ondown>32</ondown>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="4167">
					<description>(Row 4,Key 7) button</description>
					<onup>147</onup>
					<ondown>32</ondown>
					<onclick>SendClick(167)</onclick>
					<include>KeyboardButton</include>
			    <label>$INFO[Control.GetLabel(167)]</label>
				</control>
				<control type="button" id="4168">
					<description>(Row 4,Key 8) button</description>
					<onup>148</onup>
					<ondown>32</ondown>
					<onclick>SendClick(168)</onclick>
					<include>KeyboardButton</include>
			    <label>$INFO[Control.GetLabel(168)]</label>
				</control>
				<control type="button" id="4169">
					<description>(Row 4,Key 9) button</description>
					<onup>4149</onup>
					<ondown>32</ondown>
					<onclick>SendClick(169)</onclick>
					<include>KeyboardButton</include>
			    <label>$INFO[Control.GetLabel(169)]</label>
				</control>
				<control type="button" id="4170">
					<description>(Row 4,Key 10) button</description>
					<onup>4150</onup>
					<ondown>32</ondown>
					<onclick>SendClick(170)</onclick>
					<include>KeyboardButton</include>
			    <label>$INFO[Control.GetLabel(170)]</label>
				</control>
				<control type="button" id="4171">
					<description>(Row 4,Key 11) button</description>
					<onup>4151</onup>
					<ondown>32</ondown>
					<onclick>SendClick(171)</onclick>
					<include>KeyboardButton</include>
			    <label>$INFO[Control.GetLabel(171)]</label>
          <visible>Control.IsVisible(171)</visible>
				</control>
				<control type="button" id="305">
					<description>'Previous' button</description>
					<onup>4151</onup>
					<ondown>300</ondown>
					<textoffsetx>10</textoffsetx>
					<textoffsety>-3</textoffsety>
			    <font>FontSize_28B</font>
			    <label>◀</label>
					<include>KeyboardButton</include>
				</control>
				<control type="button" id="306">
					<description>'Next' button</description>
					<onup>307</onup>
					<ondown>300</ondown>
			    <align>right</align>
					<textoffsetx>10</textoffsetx>
					<textoffsety>-3</textoffsety>
			    <font>FontSize_28B</font>
			    <label>▶</label>
					<include>KeyboardButton</include>
				</control>
			</control>
			<!-- Row 4 Hidden Buttons -->
			<control type="button" id="167">
				<description>(Row 4,Key 7) button</description>
        <include>KeyboardHiddenButton</include>
			</control>
			<control type="button" id="168">
				<description>(Row 4,Key 8) button</description>
        <include>KeyboardHiddenButton</include>
			</control>
			<control type="button" id="169">
				<description>(Row 4,Key 9) button</description>
        <include>KeyboardHiddenButton</include>
			</control>
			<control type="button" id="170">
				<description>(Row 4,Key 10) button</description>
        <include>KeyboardHiddenButton</include>
			</control>
			<control type="button" id="171">
				<description>(Row 4,Key 11) button</description>
        <include>KeyboardHiddenButton</include>
			</control>


			<!-- Row 5 -->
			<control type="grouplist" id="7005">
				<left>21</left>
				<top>232</top>
				<itemgap>4</itemgap>
				<orientation>horizontal</orientation>
				<control type="button" id="309">
					<description>K/B Layout button</description>
					<onup>304</onup>
					<ondown condition="!Integer.IsGreater(Container(7006).NumItems,0)">7001</ondown>
					<ondown condition="Integer.IsGreater(Container(7006).NumItems,0)">7006</ondown>
					<width>185</width>
					<height>48</height>
			    <font>FontSize_14B</font>
					<textoffsetx>6</textoffsetx>
					<textoffsety>23</textoffsety>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="32">
					<description>'Space' button</description>
					<onup>7004</onup>
					<ondown condition="!Integer.IsGreater(Container(7006).NumItems,0)">7001</ondown>
					<ondown condition="Integer.IsGreater(Container(7006).NumItems,0)">7006</ondown>
					<width>400</width>
					<height>48</height>
			    <font>FontSize_14B</font>
					<textoffsetx>6</textoffsetx>
					<textoffsety>23</textoffsety>
					<label>20182</label>
          <include>KeyboardButton</include>
				</control>
				<control type="button" id="300">
					<description>'Done' button</description>
					<onup>306</onup>
					<ondown condition="!Integer.IsGreater(Container(7006).NumItems,0)">7001</ondown>
					<ondown condition="Integer.IsGreater(Container(7006).NumItems,0)">7006</ondown>
					<width>185</width>
					<height>48</height>
			    <font>FontSize_14B</font>
					<textoffsetx>6</textoffsetx>
					<textoffsety>23</textoffsety>
					<label>20177</label>
          <include>KeyboardButton</include>
				</control>
			</control>
		</control>

	</control>
	<control type="label" id="311">
		<include>HiddenItem</include>
	</control>
</controls>
</window>