<?xml version="1.0" encoding="UTF-8"?>
<includes>

	<!-- Fade in on WindowOpen, Fade out on WindowClose -->
	<include name="WindowOpenClose_Fade_Animation">
		<animation effect="fade" start="0" end="100" time="0" delay="360" tween="sine" easing="inout" reversible="false" condition="Window.IsVisible(1106)">WindowOpen</animation>
		<animation effect="fade" start="0" end="100" time="360" tween="sine" easing="inout" reversible="true" condition="!Window.IsVisible(1106)">WindowOpen</animation>
		<animation effect="fade" start="100" end="0" time="180" tween="sine" easing="inout" reversible="true">WindowClose</animation>
	</include>
	<include name="WindowClose_Fade_Animation">
		<animation effect="fade" start="100" end="0" time="180" tween="sine" easing="inout" reversible="false">WindowClose</animation>
	</include>
	<include name="WindowOpenClose_Fade_Delayed_Animation">
		<animation effect="fade" start="0" end="100" time="360" delay="540" tween="sine" easing="inout" reversible="false">WindowOpen</animation>
		<animation effect="fade" start="100" end="0" time="180" tween="sine" easing="inout" reversible="false">WindowClose</animation>
	</include>
	<include name="WindowOpenClose_Fade_Delayed_Long_Animation">
		<animation effect="fade" start="0" end="100" time="360" delay="1080" tween="sine" easing="inout" reversible="false">WindowOpen</animation>
		<animation effect="fade" start="100" end="0" time="180" tween="sine" easing="inout" reversible="false">WindowClose</animation>
	</include>
	<include name="WindowOpenClose_Fade_Delayed_Extra_Long_Animation">
		<animation effect="fade" start="0" end="100" time="360" delay="1440" tween="sine" easing="inout" reversible="false">WindowOpen</animation>
		<animation effect="fade" start="100" end="0" time="180" tween="sine" easing="inout" reversible="false">WindowClose</animation>
	</include>
	<include name="Notification_OpenClose_Fade_Delayed_Animation">
		<animation effect="fade" start="0" end="100" time="360" delay="180" tween="sine" easing="inout" reversible="false">WindowOpen</animation>
		<animation effect="fade" start="100" end="0" time="360" delay="540" tween="sine" easing="inout" reversible="false">WindowClose</animation>
	</include>
	<include name="Light_Theme_Background_Fade_Animation">
		<animation effect="fade" start="0" end="100" time="360" tween="sine" easing="inout" reversible="true" condition="!Window.IsVisible(1106) + !Window.Previous(skinsettings) + !Window.Previous(interfacesettings) + !Window.Previous(mediasettings) + !Window.Previous(playersettings) + !Window.Previous(systemsettings) + !Window.Previous(servicesettings) + !Window.Previous(gamesettings) + !Window.Previous(pvrsettings) + !Window.Previous(profiles) + !Window.Previous(systeminfo) + !Window.Previous(filemanager)">WindowOpen</animation>
		<animation effect="fade" start="100" end="0" time="360" tween="sine" easing="inout" reversible="true" condition="!Window.Next(skinsettings) + !Window.Next(interfacesettings) + !Window.Next(mediasettings) + !Window.Next(playersettings) + !Window.Next(systemsettings) + !Window.Next(servicesettings) + !Window.Next(gamesettings) + !Window.Next(pvrsettings) + Window.Next(profiles) + Window.Next(systeminfo)">WindowClose</animation>
		<animation effect="fade" start="0" end="100" time="360" tween="sine" easing="inout" reversible="true">Visible</animation>
		<animation effect="fade" start="100" end="0" time="360" tween="sine" easing="inout" reversible="true">Hidden</animation>
	</include>

	<!-- Fade in on Visible -->
	<include name="Visible_Fade_Animation">
		<animation effect="fade" start="0" end="100" time="360" tween="sine" easing="inout" reversible="false">Visible</animation>
	</include>
	<include name="Visible_Fade_Delayed_Animation">
		<animation effect="fade" start="0" end="100" time="360" delay="540" tween="sine" easing="inout" reversible="false">Visible</animation>
	</include>
	<include name="Visible_Fade_Delayed_Long_Animation">
		<animation effect="fade" start="0" end="100" time="360" delay="1080" tween="sine" easing="inout" reversible="false">Visible</animation>
	</include>
	<include name="Visible_Fade_Delayed_Extra_Long_Animation">
		<animation effect="fade" start="0" end="100" time="360" delay="1620" tween="sine" easing="inout" reversible="false">Visible</animation>
	</include>

	<!-- Fade in on Visible, fade out on Hidden -->
	<include name="VisibleHidden_Fade_Animation">
		<animation effect="fade" start="0" end="100" time="360" tween="sine" easing="inout" reversible="false">Visible</animation>
		<animation effect="fade" start="100" end="0" time="180" tween="sine" easing="inout" reversible="false">Hidden</animation>
	</include>
	<include name="VisibleHidden_Fade_Delayed_Animation">
		<animation effect="fade" start="0" end="100" time="360" delay="540" tween="sine" easing="inout" reversible="false">Visible</animation>
		<animation effect="fade" start="100" end="0" time="180" tween="sine" easing="inout" reversible="false">Hidden</animation>
	</include>
	<include name="VisibleHidden_Fade_Delayed_Long_Animation">
		<animation effect="fade" start="0" end="100" time="360" delay="1080" tween="sine" easing="inout" reversible="false">Visible</animation>
		<animation effect="fade" start="100" end="0" time="180" tween="sine" easing="inout" reversible="false">Hidden</animation>
	</include>

	<!-- Conditionals/scenarios -->
	<include name="Focus_Zoom_Animation" reversible="true">
		<animation effect="zoom" center="auto" start="103" end="100" time="270" tween="back" easing="in" condition="$EXP[GridView_IsVisible]" reversible="false">Focus</animation>
	</include>
	<include name="Ken_Burns_Effect_Animation">
		<animation type="Conditional" pulse="true" condition="Skin.HasSetting(Home_Ken_Burns_Effect)" reversible="true">
			<effect type="zoom" center="auto" end="108" time="21000" tween="sine" easing="inout" />
		</animation>
	</include>
	<include name="Multiart_Fade_Animation">
		<animation effect="fade" start="0" end="100" time="720" delay="1440" tween="sine" easing="inout" reversible="false">Visible</animation>
		<animation effect="fade" start="0" end="100" time="360" delay="4000" tween="sine" easing="inout" reversible="false">WindowOpen</animation>
	</include>
	<include name="MusicPlayer_Fade_Animation">
		<animation effect="fade" start="0" end="100" time="360" tween="sine" easing="inout" reversible="true">VisibleChange</animation>
	</include>
	<include name="Options_Menu_Fade_Animation">
		<animation effect="fade" start="0" end="100" time="360" tween="sine" easing="inout" reversible="true">Visible</animation>
		<animation effect="fade" start="100" end="0" time="360" delay="360" tween="sine" easing="inout" reversible="true" condition="!$EXP[TransparentDialog_IsVisible] | [$EXP[Background_IsFanart] + $EXP[PanelDialog_IsVisible]]">Hidden</animation>
	</include>
	<include name="Scrollbar_Fade_Animation">
		<animation effect="fade" start="0" end="100" time="360" tween="sine" easing="inout" reversible="true" condition="!Container.Scrolling">Visible</animation>
		<animation effect="fade" start="0" end="100" time="360" delay="360" tween="sine" easing="inout" reversible="true" condition="Container.Scrolling">Visible</animation>
	</include>
	<include name="Secondary_List_Scroll_Animation">
		<animation effect="slide" start="0" end="0,-1080" reversible="true" time="360" tween="sine" easing="inout" condition="Control.HasFocus(3100) + [[$EXP[ListView_Display_IsThumbnails] + !Container.Content(artists)] | $EXP[BillboardView_IsVisible] | $EXP[ShowcaseView_IsVisible]]">Conditional</animation>
		<animation effect="slide" start="0" end="-720,0" reversible="true" time="360" tween="sine" easing="inout" condition="Control.HasFocus(3100) + $EXP[ListView_Display_IsThumbnails] + Container.Content(artists)">Conditional</animation>
		<animation effect="slide" start="0" end="-1920,0" reversible="true" time="360" tween="sine" easing="inout" condition="Control.HasFocus(3100) + $EXP[ListView_Display_IsBackground]">Conditional</animation>
		<animation effect="slide" start="0" end="0,-720" reversible="true" time="360" tween="sine" easing="inout" condition="Control.HasFocus(3100) + $EXP[StripView_Display_IsPosters]">Conditional</animation>
		<animation effect="slide" start="0" end="0,-630" reversible="true" time="360" tween="sine" easing="inout" condition="Control.HasFocus(3100) + [$EXP[StripView_Display_IsFanart] | $EXP[StripView_Display_IsSquare]]">Conditional</animation>
		<animation effect="fade" start="100" end="0" delay="360" time="30" reversible="false" tween="sine" easing="inout" condition="Control.HasFocus(3100)">Conditional</animation>
	</include>
	<include name="Settings_WindowOpenClose_Fade_Delayed_Animation">
		<animation effect="fade" start="0" end="100" time="360" delay="360" tween="sine" easing="inout" reversible="true" condition="!Window.Previous(skinsettings) + !Window.Previous(interfacesettings) + !Window.Previous(mediasettings) + !Window.Previous(playersettings) + !Window.Previous(systemsettings) + !Window.Previous(servicesettings) + !Window.Previous(gamesettings) + !Window.Previous(pvrsettings) + !Window.Previous(profiles) + !Window.Previous(systeminfo) + !Window.Previous(filemanager)">WindowOpen</animation>
		<animation effect="fade" start="100" end="0" time="180" tween="sine" easing="inout" reversible="true" condition="!Window.Next(skinsettings) + !Window.Next(interfacesettings) + !Window.Next(mediasettings) + !Window.Next(playersettings) + !Window.Next(systemsettings) + !Window.Next(servicesettings) + !Window.Next(gamesettings) + !Window.Next(pvrsettings) + Window.Next(profiles) + Window.Next(systeminfo)">WindowClose</animation>
	</include>
	<include name="Settings_WindowOpenClose_Fade_Delayed_Long_Animation">
		<animation effect="fade" start="0" end="100" time="360" delay="1260" tween="sine" easing="inout" reversible="true" condition="!Window.Previous(skinsettings) + !Window.Previous(interfacesettings) + !Window.Previous(mediasettings) + !Window.Previous(playersettings) + !Window.Previous(systemsettings) + !Window.Previous(servicesettings) + !Window.Previous(gamesettings) + !Window.Previous(pvrsettings) + !Window.Previous(profiles) + !Window.Previous(systeminfo) + !Window.Previous(filemanager)">WindowOpen</animation>
		<animation effect="fade" start="100" end="0" time="180" tween="sine" easing="inout" reversible="true" condition="!Window.Next(skinsettings) + !Window.Next(interfacesettings) + !Window.Next(mediasettings) + !Window.Next(playersettings) + !Window.Next(systemsettings) + !Window.Next(servicesettings) + !Window.Next(gamesettings) + !Window.Next(pvrsettings) + Window.Next(profiles) + Window.Next(systeminfo)">WindowClose</animation>
	</include>
	<include name="Trailer_Autoplay_Fade_Animation">
		<animation effect="fade" start="100" end="0" time="360" delay="1080" tween="sine" easing="inout" reversible="false" condition="$EXP[Trailer_Autoplay_IsVisible]">Conditional</animation>
		<animation effect="fade" start="0" end="100" time="360" delay="900" tween="sine" easing="inout" reversible="false" condition="!$EXP[Trailer_Autoplay_IsVisible]">Conditional</animation>
	</include>
	<include name="Trailer_Autoplay_Fade_Delayed_Animation">
		<animation effect="fade" start="100" end="0" time="360" delay="1440" tween="sine" easing="inout" reversible="false" condition="$EXP[Trailer_Autoplay_IsVisible]">Conditional</animation>
		<animation effect="fade" start="0" end="100" time="360" delay="900" tween="sine" easing="inout" reversible="false" condition="!$EXP[Trailer_Autoplay_IsVisible]">Conditional</animation>
	</include>
	<include name="Video_Breadcrumb_Fade_Animation">
		<animation effect="fade" start="0" end="100" time="360" tween="sine" easing="inout" reversible="false">Visible</animation>
		<animation effect="fade" start="100" end="0" time="360" tween="sine" easing="inout" reversible="false">Hidden</animation>
	</include>
	<include name="Video_Breadcrumb_Backing_Fade_Animation">
		<animation effect="fade" start="0" end="100" time="360" tween="sine" easing="inout" reversible="false" condition="![!Skin.TimerIsRunning(video_playback_label_interruptor) + Integer.IsGreater(Skin.TimerElapsedSecs(video_playback),2) + Integer.IsLess(Skin.TimerElapsedSecs(video_playback),11)]">Visible</animation>
		<animation effect="fade" start="100" end="0" time="180" tween="sine" easing="inout" reversible="false" condition="![!Skin.TimerIsRunning(video_playback_label_interruptor) + Integer.IsGreater(Skin.TimerElapsedSecs(video_playback),2) + Integer.IsLess(Skin.TimerElapsedSecs(video_playback),11)]">Hidden</animation>
	</include>
		<include name="Widget_Breadcrumb_Animation">
		<animation effect="fade" start="0" end="100" time="360" delay="540" tween="sine" easing="inout" reversible="false" condition="Control.HasFocus(50) | Control.HasFocus(3201) | Control.HasFocus(3202) | Control.HasFocus(3203) | Control.HasFocus(3204) | Control.HasFocus(3205) | Control.HasFocus(3206) | Control.HasFocus(3207) | Control.HasFocus(3208) | Control.HasFocus(3209)">Visible</animation>
	</include>


	<!-- Fade diffuses -->
	<include name="Dialog_Over_Artwork_Fadediffuse_Animation">
		<animation effect="fadediffuse" end="ff555555" time="360" tween="sine" easing="inout" condition="$EXP[TransparentDialog_IsVisible] + !$EXP[Background_IsFanart]" reversible="true">Conditional</animation>
	</include>
	<include name="Dialog_Over_Light_Background_Fadediffuse_Animation">
		<animation effect="fadediffuse" end="ff555555" time="360" tween="sine" easing="inout" condition="$EXP[TransparentDialog_IsVisible] + !$EXP[Background_Global_Windows]" reversible="true">Conditional</animation>
	</include>

</includes>