/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
//images folder
var im='images/';

var fonts = {};
var opts = {};
var resources = [
];
var symbols = {
"stage": {
    version: "3.0.0",
    minimumCompatibleVersion: "3.0.0",
    build: "3.0.0.322",
    baseState: "Base State",
    scaleToFit: "width",
    centerStage: "both",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
            {
                id: 'bg_1',
                type: 'image',
                rect: ['0', '0','1100px','700px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/bg_1.jpg",'0px','0px']
            },
            {
                id: 'content_1',
                type: 'image',
                rect: ['545px', '151px','509px','317px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/content_1.png",'0px','0px']
            },
            {
                id: 'bgAnimate',
                type: 'image',
                rect: ['48px', '132px','463px','383px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/bgAnimate.png",'0px','0px']
            },
            {
                id: 'sun2',
                type: 'rect',
                rect: ['290', '176','auto','auto','auto', 'auto']
            },
            {
                id: 't1',
                display: 'none',
                type: 'image',
                rect: ['419px', '168px','68px','53px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/t1.png",'0px','0px']
            },
            {
                id: 'arraow',
                type: 'rect',
                rect: ['321', '236','auto','auto','auto', 'auto']
            },
            {
                id: 'line7',
                display: 'none',
                type: 'image',
                rect: ['365px', '340px','61px','52px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/line7.png",'0px','0px']
            },
            {
                id: 't3',
                display: 'none',
                type: 'image',
                rect: ['402px', '399px','101px','34px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/t3.png",'0px','0px']
            },
            {
                id: 'line8',
                display: 'none',
                type: 'image',
                rect: ['328px', '354px','44px','104px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/line8.png",'0px','0px']
            },
            {
                id: 't2',
                display: 'none',
                type: 'image',
                rect: ['286px', '485px','127px','21px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/t2.png",'0px','0px']
            },
            {
                id: 'line',
                display: 'none',
                type: 'image',
                rect: ['220px', '306px','92px','61px','auto', 'auto'],
                clip: ['rect(0px 92px 61px 0px)'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/line.png",'0px','0px']
            },
            {
                id: 'line2',
                display: 'none',
                type: 'image',
                rect: ['166px', '322px','148px','101px','auto', 'auto'],
                clip: ['rect(0px 148px 101px 0px)'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/line2.png",'0px','0px']
            },
            {
                id: 'line3',
                display: 'none',
                type: 'image',
                rect: ['127px', '342px','186px','128px','auto', 'auto'],
                clip: ['rect(0px 186px 128px 0px)'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/line3.png",'0px','0px']
            },
            {
                id: 'line4',
                display: 'none',
                type: 'image',
                rect: ['204px', '238px','36px','129px','auto', 'auto'],
                clip: ['rect(0px 36px 129px 0px)'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/line4.png",'0px','0px']
            },
            {
                id: 'line5',
                display: 'none',
                type: 'image',
                rect: ['149px', '236px','36px','187px','auto', 'auto'],
                clip: ['rect(0px 36px 187px 0px)'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/line5.png",'0px','0px']
            },
            {
                id: 'line6',
                display: 'none',
                type: 'image',
                rect: ['95px', '229px','36px','240px','auto', 'auto'],
                clip: ['rect(0px 36px 240px 0px)'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/line6.png",'0px','0px']
            },
            {
                id: 't5',
                display: 'none',
                type: 'image',
                rect: ['151px', '175px','43px','54px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/t5.png",'0px','0px']
            },
            {
                id: 't6',
                display: 'none',
                type: 'image',
                rect: ['73px', '175px','61px','53px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/t6.png",'0px','0px']
            },
            {
                id: 't4',
                display: 'none',
                type: 'image',
                rect: ['221px', '174px','65px','54px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_4/t4.png",'0px','0px']
            }],
            symbolInstances: [
            {
                id: 'sun2',
                symbolName: 'sun',
                autoPlay: {

                }
            },
            {
                id: 'arraow',
                symbolName: 'arraow',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_t4}": [
                ["style", "top", '184px'],
                ["style", "opacity", '0'],
                ["style", "left", '221px'],
                ["style", "display", 'none']
            ],
            "${_line8}": [
                ["style", "top", '332px'],
                ["style", "opacity", '0'],
                ["style", "left", '328px'],
                ["style", "display", 'none']
            ],
            "${_line}": [
                ["style", "display", 'none'],
                ["style", "top", '306px'],
                ["style", "left", '220px'],
                ["style", "clip", [0,92,61,93], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_bgAnimate}": [
                ["style", "top", '165px'],
                ["style", "opacity", '0'],
                ["style", "left", '48px']
            ],
            "${_t3}": [
                ["style", "top", '399px'],
                ["style", "opacity", '0'],
                ["style", "left", '388px'],
                ["style", "display", 'none']
            ],
            "${_line6}": [
                ["style", "display", 'none'],
                ["style", "top", '229px'],
                ["style", "left", '95px'],
                ["style", "clip", [241,36,240,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_line3}": [
                ["style", "display", 'none'],
                ["style", "top", '342px'],
                ["style", "left", '127px'],
                ["style", "clip", [0,186,128,187], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_t5}": [
                ["style", "top", '194px'],
                ["style", "opacity", '0'],
                ["style", "left", '151px'],
                ["style", "display", 'none']
            ],
            "${_t1}": [
                ["style", "top", '178px'],
                ["style", "opacity", '0'],
                ["style", "left", '419px'],
                ["style", "display", 'none']
            ],
            "${_line5}": [
                ["style", "display", 'none'],
                ["style", "top", '236px'],
                ["style", "left", '149px'],
                ["style", "clip", [188,36,187,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_line2}": [
                ["style", "display", 'none'],
                ["style", "top", '322px'],
                ["style", "left", '166px'],
                ["style", "clip", [0,148,101,148], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_t6}": [
                ["style", "top", '192px'],
                ["style", "opacity", '0'],
                ["style", "left", '73px'],
                ["style", "display", 'none']
            ],
            "${_line4}": [
                ["style", "display", 'none'],
                ["style", "top", '238px'],
                ["style", "left", '204px'],
                ["style", "clip", [131,36,129,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_Stage}": [
                ["color", "background-color", 'rgba(255,255,255,1)'],
                ["style", "min-width", '1024px'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '700px'],
                ["style", "max-width", '1100px'],
                ["style", "width", '1100px']
            ],
            "${_content_1}": [
                ["style", "left", '545px'],
                ["style", "top", '151px']
            ],
            "${_t2}": [
                ["style", "top", '467px'],
                ["style", "opacity", '0'],
                ["style", "left", '286px'],
                ["style", "display", 'none']
            ],
            "${_line7}": [
                ["style", "top", '323px'],
                ["style", "opacity", '0'],
                ["style", "left", '348px'],
                ["style", "display", 'none']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 16000,
            autoPlay: true,
            labels: {
                "sun": 1000
            },
            timeline: [
                { id: "eid46", tween: [ "style", "${_line8}", "top", '354px', { fromValue: '332px'}], position: 4342, duration: 835, easing: "easeOutQuad" },
                { id: "eid78", tween: [ "style", "${_t5}", "opacity", '1', { fromValue: '0'}], position: 8517, duration: 835, easing: "easeOutQuad" },
                { id: "eid48", tween: [ "style", "${_line8}", "opacity", '1', { fromValue: '0'}], position: 4342, duration: 835, easing: "easeOutQuad" },
                { id: "eid5", tween: [ "style", "${_line2}", "display", 'block', { fromValue: 'none'}], position: 6430, duration: 0, easing: "easeOutQuad" },
                { id: "eid66", tween: [ "style", "${_line6}", "clip", [0,36,240,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [241,36,240,0]}], position: 7682, duration: 1252, easing: "easeOutQuad" },
                { id: "eid14", tween: [ "style", "${_line6}", "display", 'block', { fromValue: 'none'}], position: 7682, duration: 0, easing: "easeOutQuad" },
                { id: "eid82", tween: [ "style", "${_t6}", "opacity", '1', { fromValue: '0'}], position: 9137, duration: 863, easing: "easeOutQuad" },
                { id: "eid58", tween: [ "style", "${_line}", "clip", [0,92,61,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [0,92,61,93]}], position: 6012, duration: 1252, easing: "easeOutQuad" },
                { id: "eid7", tween: [ "style", "${_t3}", "display", 'block', { fromValue: 'none'}], position: 3507, duration: 0, easing: "easeOutQuad" },
                { id: "eid60", tween: [ "style", "${_line3}", "clip", [0,186,128,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [0,186,128,187]}], position: 6847, duration: 1252, easing: "easeOutQuad" },
                { id: "eid17", tween: [ "style", "${_line8}", "display", 'block', { fromValue: 'none'}], position: 4342, duration: 0, easing: "easeOutQuad" },
                { id: "eid52", tween: [ "style", "${_t2}", "opacity", '1', { fromValue: '0'}], position: 5177, duration: 835, easing: "easeOutQuad" },
                { id: "eid11", tween: [ "style", "${_line4}", "display", 'block', { fromValue: 'none'}], position: 6847, duration: 0, easing: "easeOutQuad" },
                { id: "eid12", tween: [ "style", "${_line7}", "display", 'block', { fromValue: 'none'}], position: 2866, duration: 0, easing: "easeOutQuad" },
                { id: "eid72", tween: [ "style", "${_t4}", "top", '174px', { fromValue: '184px'}], position: 7994, duration: 940, easing: "easeOutQuad" },
                { id: "eid44", tween: [ "style", "${_t3}", "opacity", '1', { fromValue: '0'}], position: 3507, duration: 835, easing: "easeOutQuad" },
                { id: "eid40", tween: [ "style", "${_line7}", "opacity", '1', { fromValue: '0'}], position: 2866, duration: 847, easing: "easeOutQuad" },
                { id: "eid80", tween: [ "style", "${_t6}", "top", '175px', { fromValue: '192px'}], position: 9137, duration: 863, easing: "easeOutQuad" },
                { id: "eid50", tween: [ "style", "${_t2}", "top", '485px', { fromValue: '467px'}], position: 5177, duration: 835, easing: "easeOutQuad" },
                { id: "eid2", tween: [ "style", "${_bgAnimate}", "top", '132px', { fromValue: '165px'}], position: 0, duration: 1000, easing: "easeOutQuad" },
                { id: "eid6", tween: [ "style", "${_line5}", "display", 'block', { fromValue: 'none'}], position: 7265, duration: 0, easing: "easeOutQuad" },
                { id: "eid18", tween: [ "style", "${_t5}", "display", 'block', { fromValue: 'none'}], position: 8517, duration: 0, easing: "easeOutQuad" },
                { id: "eid34", tween: [ "style", "${_t1}", "opacity", '1', { fromValue: '0'}], position: 1500, duration: 500, easing: "easeOutQuad" },
                { id: "eid68", tween: [ "style", "${_line4}", "clip", [0,36,129,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [131,36,129,0]}], position: 6847, duration: 1252, easing: "easeOutQuad" },
                { id: "eid32", tween: [ "style", "${_t1}", "top", '168px', { fromValue: '178px'}], position: 1500, duration: 500, easing: "easeOutQuad" },
                { id: "eid38", tween: [ "style", "${_line7}", "top", '340px', { fromValue: '323px'}], position: 2866, duration: 847, easing: "easeOutQuad" },
                { id: "eid15", tween: [ "style", "${_t1}", "display", 'block', { fromValue: 'none'}], position: 1500, duration: 0, easing: "easeOutQuad" },
                { id: "eid4", tween: [ "style", "${_bgAnimate}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 1000, easing: "easeOutQuad" },
                { id: "eid62", tween: [ "style", "${_line2}", "clip", [0,148,101,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [0,148,101,148]}], position: 6430, duration: 1252, easing: "easeOutQuad" },
                { id: "eid70", tween: [ "style", "${_line5}", "clip", [0,36,187,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [188,36,187,0]}], position: 7265, duration: 1252, easing: "easeOutQuad" },
                { id: "eid36", tween: [ "style", "${_line7}", "left", '365px', { fromValue: '348px'}], position: 2866, duration: 847, easing: "easeOutQuad" },
                { id: "eid76", tween: [ "style", "${_t5}", "top", '175px', { fromValue: '194px'}], position: 8517, duration: 835, easing: "easeOutQuad" },
                { id: "eid13", tween: [ "style", "${_t6}", "display", 'block', { fromValue: 'none'}], position: 9137, duration: 0, easing: "easeOutQuad" },
                { id: "eid42", tween: [ "style", "${_t3}", "left", '402px', { fromValue: '388px'}], position: 3507, duration: 835, easing: "easeOutQuad" },
                { id: "eid74", tween: [ "style", "${_t4}", "opacity", '1', { fromValue: '0'}], position: 7994, duration: 940, easing: "easeOutQuad" },
                { id: "eid8", tween: [ "style", "${_line}", "display", 'block', { fromValue: 'none'}], position: 6012, duration: 0, easing: "easeOutQuad" },
                { id: "eid20", tween: [ "style", "${_t2}", "display", 'block', { fromValue: 'none'}], position: 5177, duration: 0, easing: "easeOutQuad" },
                { id: "eid10", tween: [ "style", "${_t4}", "display", 'block', { fromValue: 'none'}], position: 7994, duration: 0, easing: "easeOutQuad" },
                { id: "eid9", tween: [ "style", "${_line3}", "display", 'block', { fromValue: 'none'}], position: 6847, duration: 0, easing: "easeOutQuad" }            ]
        }
    }
},
"arraow": {
    version: "3.0.0",
    minimumCompatibleVersion: "3.0.0",
    build: "3.0.0.322",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    type: 'image',
                    display: 'none',
                    rect: ['0px', '21px', '57px', '86px', 'auto', 'auto'],
                    id: 'line9',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson2_4/line9.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_line9}": [
                ["style", "top", '0px'],
                ["style", "opacity", '0'],
                ["style", "left", '0px'],
                ["style", "display", 'none']
            ],
            "${symbolSelector}": [
                ["style", "height", '86px'],
                ["style", "width", '57px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 4000,
            autoPlay: true,
            timeline: [
                { id: "eid30", tween: [ "style", "${_line9}", "opacity", '1', { fromValue: '0'}], position: 2250, duration: 1750, easing: "easeOutQuad" },
                { id: "eid16", tween: [ "style", "${_line9}", "display", 'block', { fromValue: 'none'}], position: 2250, duration: 0, easing: "easeOutQuad" },
                { id: "eid28", tween: [ "style", "${_line9}", "top", '21px', { fromValue: '0px'}], position: 2250, duration: 1750, easing: "easeOutQuad" }            ]
        }
    }
},
"sun": {
    version: "3.0.0",
    minimumCompatibleVersion: "3.0.0",
    build: "3.0.0.322",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    type: 'image',
                    display: 'none',
                    rect: ['0px', '-41px', '122px', '119px', 'auto', 'auto'],
                    id: 'sun',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson2_4/sun.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_sun}": [
                ["style", "top", '0px'],
                ["transform", "scaleY", '1.05'],
                ["style", "display", 'none'],
                ["style", "opacity", '0'],
                ["style", "left", '0px'],
                ["transform", "scaleX", '1.05']
            ],
            "${symbolSelector}": [
                ["style", "height", '119px'],
                ["style", "width", '122px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 4000,
            autoPlay: true,
            timeline: [
                { id: "eid86", tween: [ "transform", "${_sun}", "scaleY", '1', { fromValue: '1.05'}], position: 2000, duration: 2000, easing: "easeOutQuad" },
                { id: "eid22", tween: [ "style", "${_sun}", "top", '-41px', { fromValue: '0px'}], position: 1000, duration: 1000, easing: "easeOutQuad" },
                { id: "eid19", tween: [ "style", "${_sun}", "display", 'block', { fromValue: 'none'}], position: 1000, duration: 0, easing: "easeOutQuad" },
                { id: "eid84", tween: [ "transform", "${_sun}", "scaleX", '1', { fromValue: '1.05'}], position: 2000, duration: 2000, easing: "easeOutQuad" },
                { id: "eid24", tween: [ "style", "${_sun}", "opacity", '1', { fromValue: '0'}], position: 1000, duration: 1000, easing: "easeOutQuad" }            ]
        }
    }
}
};


Edge.registerCompositionDefn(compId, symbols, fonts, resources, opts);

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     Edge.launchComposition(compId);
});
})(jQuery, AdobeEdge, "EDGE-177948214");
