/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
var symbols = {
"stage": {
   version: "0.1.3",
   baseState: "Base State",
   initialState: "Base State",
   content: {
      dom: [
        {
            id:'background',
            className:'stage_background_id',
            type:'image',
            tag:'img',
            rect:[0,0,918,1024],
            fill:['rgba(0,0,0,0)','images/background.jpg']
        },
        {
            id:'logo',
            className:'stage_logo_id',
            type:'image',
            tag:'img',
            rect:[0,0,424,253],
            fill:['rgba(0,0,0,0)','images/logo.png']
        },
        {
            id:'text1',
            className:'stage_text1_id',
            type:'image',
            tag:'img',
            rect:[0,0,340,716],
            fill:['rgba(0,0,0,0)','images/text1.png']
        },
        {
            id:'text2',
            className:'stage_text2_id',
            type:'image',
            tag:'img',
            rect:[0,0,317,897],
            fill:['rgba(0,0,0,0)','images/text2.png']
        },
        {
            id:'facebook',
            className:'stage_facebook_id',
            type:'image',
            tag:'img',
            rect:[0,0,54,52],
            fill:['rgba(0,0,0,0)','images/facebook.png']
        },
        {
            id:'twitter',
            className:'stage_twitter_id',
            type:'image',
            tag:'img',
            rect:[0,0,54,52],
            fill:['rgba(0,0,0,0)','images/twitter.png']
        },
,
],
      symbolInstances: [
      ]
   },
   states: {
      "Base State": {
         "${_logo}": [
            ["transform", "translateX", '278.65591px'],
            ["style", "height", '53px'],
            ["style", "opacity", '0'],
            ["transform", "translateY", '245.99999px'],
            ["style", "width", '93px']
         ],
         "${_text1}": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '297px'],
            ["transform", "translateX", '-338px']
         ],
         "${_text2}": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '54px'],
            ["transform", "translateX", '916.99999px']
         ],
         "${_facebook}": [
            ["transform", "scaleY", '1'],
            ["transform", "scaleX", '1'],
            ["style", "opacity", '0'],
            ["transform", "translateY", '961px'],
            ["transform", "translateX", '1232.99997px']
         ],
         "${_stage}": [
            ["color", "background-color", 'rgba(0,0,0,1)'],
            ["style", "height", '1024px'],
            ["style", "width", '918px']
         ],
         "${_background}": [
            ["style", "opacity", '0']
         ],
         "${_twitter}": [
            ["transform", "scaleY", '1'],
            ["transform", "scaleX", '1'],
            ["style", "opacity", '0'],
            ["transform", "translateY", '961px'],
            ["transform", "translateX", '1283.36805px']
         ]
      }
   },
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 3250,
         labels: {
            "INTRO": 0,
            "FAcebook": 2000,
            "Label 3": 2750
         },
         timeline: [
            { id: "eid51", tween: [ "style", "${_logo}", "width", '421px', { fromValue: '93px'}], position: 0, duration: 1000, easing: "easeOutQuad" },
            { id: "eid1", tween: [ "style", "${_stage}", "width", '918px', { fromValue: '918px'}], position: 0, duration: 0 },
            { id: "eid110", tween: [ "style", "${_facebook}", "opacity", '1', { fromValue: '0'}], position: 1000, duration: 420 },
            { id: "eid37", tween: [ "transform", "${_text1}", "translateX", '16px', { fromValue: '-338px'}], position: 0, duration: 1000, easing: "easeOutQuad" },
            { id: "eid35", tween: [ "style", "${_background}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 1000 },
            { id: "eid55", tween: [ "style", "${_logo}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 250, easing: "easeOutQuad" },
            { id: "eid9", tween: [ "transform", "${_text2}", "translateY", '54px', { fromValue: '54px'}], position: 0, duration: 0, easing: "easeOutQuad" },
            { id: "eid27", tween: [ "transform", "${_text2}", "translateY", '54px', { fromValue: '54px'}], position: 1000, duration: 0, easing: "easeOutQuad" },
            { id: "eid17", tween: [ "transform", "${_twitter}", "translateY", '961px', { fromValue: '961px'}], position: 1160, duration: 0, easing: "easeInOutQuad" },
            { id: "eid23", tween: [ "transform", "${_twitter}", "translateY", '961px', { fromValue: '961px'}], position: 1580, duration: 0, easing: "easeInOutQuad" },
            { id: "eid41", tween: [ "transform", "${_logo}", "translateX", '16px', { fromValue: '278.65591px'}], position: 0, duration: 1000, easing: "easeOutQuad" },
            { id: "eid83", tween: [ "transform", "${_twitter}", "translateX", '841px', { fromValue: '1283.36805px'}], position: 1160, duration: 420, easing: "easeInOutQuad" },
            { id: "eid13", tween: [ "transform", "${_facebook}", "translateY", '961px', { fromValue: '961px'}], position: 0, duration: 0 },
            { id: "eid25", tween: [ "transform", "${_facebook}", "translateY", '961px', { fromValue: '961px'}], position: 1420, duration: 0, easing: "easeOutQuad" },
            { id: "eid49", tween: [ "style", "${_logo}", "height", '250px', { fromValue: '53px'}], position: 0, duration: 1000, easing: "easeOutQuad" },
            { id: "eid5", tween: [ "transform", "${_text1}", "translateY", '297px', { fromValue: '297px'}], position: 0, duration: 0, easing: "easeOutQuad" },
            { id: "eid29", tween: [ "transform", "${_text1}", "translateY", '297px', { fromValue: '297px'}], position: 1000, duration: 0, easing: "easeOutQuad" },
            { id: "eid114", tween: [ "style", "${_text1}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 250 },
            { id: "eid39", tween: [ "transform", "${_text2}", "translateX", '583px', { fromValue: '916.99999px'}], position: 0, duration: 1000, easing: "easeOutQuad" },
            { id: "eid59", tween: [ "style", "${_text2}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 250 },
            { id: "eid85", tween: [ "transform", "${_facebook}", "translateX", '781px', { fromValue: '1232.99997px'}], position: 1000, duration: 420, easing: "easeOutQuad" },
            { id: "eid92", tween: [ "transform", "${_twitter}", "scaleX", '0.55', { fromValue: '1'}], position: 2750, duration: 500 },
            { id: "eid43", tween: [ "transform", "${_logo}", "translateY", '11px', { fromValue: '245.99999px'}], position: 0, duration: 1000, easing: "easeOutQuad" },
            { id: "eid100", tween: [ "style", "${_twitter}", "opacity", '0', { fromValue: '0'}], position: 0, duration: 0 },
            { id: "eid108", tween: [ "style", "${_twitter}", "opacity", '1', { fromValue: '0'}], position: 1160, duration: 420 },
            { id: "eid88", tween: [ "transform", "${_facebook}", "scaleX", '0.55', { fromValue: '1'}], position: 2000, duration: 500, easing: "swing" },
            { id: "eid96", tween: [ "transform", "${_facebook}", "scaleX", '1', { fromValue: '0.55'}], position: 2500, duration: 55 },
            { id: "eid93", tween: [ "transform", "${_twitter}", "scaleY", '0.55', { fromValue: '1'}], position: 2750, duration: 500 },
            { id: "eid89", tween: [ "transform", "${_facebook}", "scaleY", '0.55', { fromValue: '1'}], position: 2000, duration: 500, easing: "swing" },
            { id: "eid97", tween: [ "transform", "${_facebook}", "scaleY", '1', { fromValue: '0.55'}], position: 2500, duration: 55 }]
      }
   }
}};

var comp;
Edge.registerCompositionDefn(compId, symbols);

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     comp = new Edge.Composition(compId, {stage: "." + compId}, {});
	   /**
 * Adobe Edge Timeline Launch
 */
     comp.ready(function() {
         comp.play();
     });
});
})(jQuery, jQuery.Edge, "EDGE-67150794");

