<?xml version="1.0" encoding="UTF-8"?>
<!-- Foundation -->
<window id="146">
    <defaultcontrol always="true">9000</defaultcontrol>
    <allowoverlay>no</allowoverlay>

    <controls>
        <control type="group">
            <animation type="Conditional" reversible="true" condition="Window.IsVisible(FileBrowser.xml) | Window.IsVisible(DialogProgress.xml) | Window.IsVisible(DialogYesNo.xml) | Window.IsVisible(DialogOK.xml) | Window.IsVisible(DialogSelect.xml) | Window.IsVisible(DialogContextMenu.xml) | Window.IsVisible(DialogButtonMenu.xml)">
                <effect type="zoom" end="95" start="100" time="200" center="auto" tween="quadratic" easing="in" />
            </animation>

            <!-- Poster-->
            <control type="group">
                <visible>!Window.IsVisible(script-ExtendedInfo Script-DialogVideoInfo.xml)</visible>
                <visible>!Window.IsVisible(script-ExtendedInfo Script-DialogInfo.xml)</visible>
                <animation effect="slide" start="-1920" end="0" delay="0" time="300" tween="quadratic" easing="out">WindowOpen</animation>
                <animation effect="slide" start="0" end="-1920" time="300" tween="quadratic" easing="in">WindowClose</animation>
                <animation effect="slide" start="-1920" end="0" delay="0" time="300" tween="quadratic" easing="out">Visible</animation>
                <animation effect="slide" start="0" end="-1920" time="300" tween="quadratic" easing="in">Hidden</animation>
                <include>View_50_SidePoster_Square</include>
            </control>

            <!-- Main -->
            <control type="group">
                <visible>!Window.IsVisible(script-ExtendedInfo Script-DialogVideoInfo.xml)</visible>
                <visible>!Window.IsVisible(script-ExtendedInfo Script-DialogInfo.xml)</visible>
                <animation effect="slide" start="1920" end="0" delay="0" time="300" tween="quadratic" easing="out">WindowOpen</animation>
                <animation effect="slide" start="0" end="1920" time="300" tween="quadratic" easing="in">WindowClose</animation>
                <animation effect="slide" start="1920" end="0" delay="0" time="300" tween="quadratic" easing="out">Visible</animation>
                <animation effect="slide" start="0" end="1920" time="300" tween="quadratic" easing="in">Hidden</animation>

                <!-- Control Buttons -->
                <control type="grouplist" id="9000">
                    <bottom>224</bottom>
                    <left>ListSquareX</left>
                    <right>SidePad</right>
                    <height>68</height>
                    <bottom>33</bottom>
                    <itemgap>16</itemgap>
                    <ondown>9000</ondown>
                    <onup condition="Control.IsVisible(50)">51</onup>
                    <onup condition="Control.IsVisible(9501)">9501</onup>
                    <orientation>horizontal</orientation>

                    <control type="button" id ="12">
                        <description>Launch</description>
                        <label>518</label>
                        <width>260</width>
                        <include>DefInfoButtons</include>
                        <visible>Control.IsEnabled(12)</visible>
                    </control>

                    <control type="button" id ="6">
                        <description>Install</description>
                        <label>24022</label>
                        <width>260</width>
                        <include>DefInfoButtons</include>
                        <visible>!Skin.HasSetting(global.kioskmode)</visible>
                        <visible>Control.IsEnabled(6)</visible>
                    </control>

                    <control type="button" id ="7">
                        <description>Enable</description>
                        <label>24021</label>
                        <width>260</width>
                        <include>DefInfoButtons</include>
                        <visible>!Skin.HasSetting(global.kioskmode)</visible>
                        <visible>Control.IsEnabled(7)</visible>
                    </control>

                    <control type="button" id ="9">
                        <description>Settings</description>
                        <label>24020</label>
                        <width>260</width>
                        <include>DefInfoButtons</include>
                        <visible>!Skin.HasSetting(global.kioskmode)</visible>
                        <visible>Control.IsEnabled(9)</visible>
                    </control>

                    <control type="button" id ="8">
                        <description>Update</description>
                        <label>24069</label>
                        <width>260</width>
                        <include>DefInfoButtons</include>
                        <visible>!Skin.HasSetting(global.kioskmode)</visible>
                        <visible>Control.IsEnabled(8)</visible>
                    </control>

                    <control type="button" id ="10">
                        <description>Changelog</description>
                        <label>24036</label>
                        <width>260</width>
                        <include>DefInfoButtons</include>
                        <visible>!Skin.HasSetting(global.kioskmode)</visible>
                        <visible>Control.IsEnabled(10)</visible>
                    </control>

                    <control type="button" id ="11">
                        <description>Rollback</description>
                        <label>24048</label>
                        <width>260</width>
                        <include>DefInfoButtons</include>
                        <visible>!Skin.HasSetting(global.kioskmode)</visible>
                        <visible>Control.IsEnabled(11)</visible>
                    </control>
                </control>

                

                <!-- Info -->
                <control type="group">
                    <left>ListSquareX</left>
                    <right>SidePad</right>
                    <bottom>224</bottom>
                    <top>PosterPad</top>
                    <control type="grouplist">
                        <left>30</left>
                        <right>30</right>
                        <itemgap>0</itemgap>
                        <control type="label">
                            <description>Header Label</description>
                            <textcolor>Dark1</textcolor>
                            <include>DefDialogInfoHeader</include>
                            <label>$INFO[ListItem.Property(Addon.Name)]</label>
                        </control>
                        <control type="group">
                            <height>50</height>
                            <control type="label">
                                <posy>-10</posy>
                                <width>100%</width>
                                <height>36</height>
                                <font>Tiny</font>
                                <textcolor>Dark2</textcolor>
                                <label fallback="19055">$INFO[ListItem.Property(Addon.Summary)]</label>
                                <aligny>center</aligny>
                            </control>
                        </control>
                        <control type="group">
                            <height>36</height>
                            <control type="label">
                                <width>150</width>
                                <height>36</height>
                                <font>Tiny</font>
                                <textcolor>Dark1</textcolor>
                                <label>[B]$LOCALIZE[467][/B]</label>
                                <aligny>center</aligny>
                            </control>
                            <control type="label">
                                <left>150</left>
                                <width>100%</width>
                                <height>36</height>
                                <font>Tiny</font>
                                <textcolor>Dark2</textcolor>
                                <label fallback="19055">$INFO[ListItem.Property(Addon.Type)]</label>
                                <aligny>center</aligny>
                            </control>
                        </control>
                        <control type="group">
                            <height>36</height>
                            <control type="label">
                                <width>150</width>
                                <height>36</height>
                                <font>Tiny</font>
                                <textcolor>Dark1</textcolor>
                                <label>[B]$LOCALIZE[19114][/B]</label>
                                <aligny>center</aligny>
                            </control>
                            <control type="label">
                                <left>150</left>
                                <width>100%</width>
                                <height>36</height>
                                <font>Tiny</font>
                                <textcolor>Dark2</textcolor>
                                <label fallback="19055">$INFO[ListItem.Property(Addon.Version)]</label>
                                <aligny>center</aligny>
                            </control>
                        </control>
                        <control type="group">
                            <height>36</height>
                            <control type="label">
                                <width>150</width>
                                <height>36</height>
                                <font>Tiny</font>
                                <textcolor>Dark1</textcolor>
                                <label>[B]$LOCALIZE[21863][/B]</label>
                                <aligny>center</aligny>
                            </control>
                            <control type="label">
                                <left>150</left>
                                <width>100%</width>
                                <height>36</height>
                                <font>Tiny</font>
                                <textcolor>Dark2</textcolor>
                                <label fallback="19055">$INFO[ListItem.Property(Addon.Creator)]</label>
                                <aligny>center</aligny>
                            </control>
                        </control>
                        <control type="group">
                            <height>36</height>
                            <control type="label">
                                <width>150</width>
                                <height>36</height>
                                <font>Tiny</font>
                                <textcolor>Dark1</textcolor>
                                <label>[B]$LOCALIZE[560][/B]</label>
                                <aligny>center</aligny>
                            </control>
                            <control type="label">
                                <left>150</left>
                                <width>100%</width>
                                <height>36</height>
                                <font>Tiny</font>
                                <textcolor>Dark2</textcolor>
                                <label fallback="19055">$INFO[ListItem.Property(Addon.ID)]</label>
                                <aligny>center</aligny>
                            </control>
                        </control>

                        <control type="group">
                            <height>24</height>
                        </control>
                        <control type="group">
                            <height>auto</height>
                            <width>100%</width>
                            <control type="textbox">
                                <left>0</left>
                                <right>0</right>
                                <height>240</height>
                                <font>Tiny</font>
                                <textcolor>Dark2</textcolor>
                                <scroll>false</scroll>
                                <align>justify</align>
                                <info>ListItem.Property(Addon.Description)</info>
                                <aligny>top</aligny>
                            </control>
                        </control>
                    </control>
                </control>

               
            </control>
        </control>
    </controls>

</window>
