/**
 * 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: ['0px', '0px','1100px','700px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_1/bg_1.jpg",'0px','0px']
            },
            {
                id: 'ipst_logo',
                type: 'image',
                rect: ['16px', '12px','273px','52px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/ipst_logo.png",'0px','0px']
            },
            {
                id: 'text_1',
                type: 'image',
                rect: ['153px', '195px','875px','59px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson2_1/text_1.png",'0px','0px']
            },
            {
                id: 'content_1',
                type: 'rect',
                rect: ['115', '263','auto','auto','auto', 'auto']
            }],
            symbolInstances: [
            {
                id: 'content_1',
                symbolName: 'content_1',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_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']
            ],
            "${_text_1}": [
                ["style", "left", '153px'],
                ["style", "top", '195px']
            ],
            "${_content_1}": [
                ["style", "left", '171px'],
                ["style", "top", '303px']
            ],
            "${_ipst_logo}": [
                ["style", "left", '16px'],
                ["style", "top", '12px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2250,
            autoPlay: true,
            timeline: [
                { id: "eid3", tween: [ "style", "${_content_1}", "left", '171px', { fromValue: '171px'}], position: 0, duration: 0 },
                { id: "eid5", tween: [ "style", "${_content_1}", "top", '303px', { fromValue: '303px'}], position: 0, duration: 0 }            ]
        }
    }
},
"btn_mainthink": {
    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: [
                {
                    id: 'mainthink',
                    type: 'image',
                    rect: ['0px', '0px', '88px', '16px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson1_1/mainthink.png', '0px', '0px']
                },
                {
                    type: 'image',
                    display: 'none',
                    rect: ['0', '0', '88px', '16px', 'auto', 'auto'],
                    id: 'mainthink_active',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson1_1/mainthink_active.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_mainthink}": [
                ["style", "left", '0px'],
                ["style", "top", '0px']
            ],
            "${symbolSelector}": [
                ["style", "height", '16px'],
                ["style", "width", '88px']
            ],
            "${_mainthink_active}": [
                ["style", "display", 'none']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: true,
            labels: {
                "out": 0,
                "over": 250
            },
            timeline: [
                { id: "eid1", tween: [ "style", "${_mainthink_active}", "display", 'block', { fromValue: 'none'}], position: 250, duration: 0 }            ]
        }
    }
},
"content_1": {
    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: [
                {
                    rect: ['0px', '31px', '835px', '55px', 'auto', 'auto'],
                    id: 'text_1_2Copy',
                    type: 'image',
                    display: 'none',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson2_1/text_1_2.png', '0px', '0px']
                },
                {
                    id: 'text_1_3',
                    type: 'image',
                    rect: ['-7px', '87px', '835px', '110px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson2_1/text_1_3.png', '0px', '0px']
                },
                {
                    rect: ['0', '0', 'auto', 'auto', 'auto', 'auto'],
                    id: 'btn_mainthink',
                    display: 'block',
                    cursor: ['pointer'],
                    type: 'rect'
                },
                {
                    rect: ['0', '45', 'auto', 'auto', 'auto', 'auto'],
                    id: 'btn_target',
                    display: 'block',
                    cursor: ['pointer'],
                    type: 'rect'
                },
                {
                    rect: ['0', '45', 'auto', 'auto', 'auto', 'auto'],
                    id: 'btn_targetCopy',
                    display: 'none',
                    cursor: ['pointer'],
                    type: 'rect'
                },
                {
                    rect: ['0', '45', '166px', '22px', 'auto', 'auto'],
                    id: 'target_active2',
                    type: 'image',
                    display: 'none',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson1_1/target_active.png', '0px', '0px']
                },
                {
                    rect: ['0px', '0px', '88px', '16px', 'auto', 'auto'],
                    id: 'mainthink_active2',
                    type: 'image',
                    display: 'none',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson1_1/mainthink_active.png', '0px', '0px']
                },
                {
                    id: 'shape_1',
                    type: 'image',
                    rect: ['0', '0', '10px', '11px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/air/home/shape_1.png', '0px', '0px']
                },
                {
                    id: 'shape_1Copy',
                    type: 'image',
                    rect: ['0', '0', '10px', '11px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/air/home/shape_1.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            {
                id: 'btn_mainthink',
                symbolName: 'btn_mainthink',
                autoPlay: {

               }
            },
            {
                id: 'btn_targetCopy',
                symbolName: 'btn_target',
                autoPlay: {

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

               }
            }            ]
        },
    states: {
        "Base State": {
            "${_btn_targetCopy}": [
                ["style", "display", 'none'],
                ["style", "cursor", 'pointer'],
                ["style", "top", '108px']
            ],
            "${_target_active2}": [
                ["style", "display", 'none']
            ],
            "${symbolSelector}": [
                ["style", "height", '16px'],
                ["style", "width", '88px']
            ],
            "${_btn_target}": [
                ["style", "display", 'block'],
                ["style", "cursor", 'pointer'],
                ["style", "top", '45px']
            ],
            "${_shape_1Copy}": [
                ["style", "top", '50px'],
                ["style", "left", '-20px'],
                ["transform", "rotateZ", '0deg']
            ],
            "${_shape_1}": [
                ["style", "top", '3px'],
                ["style", "left", '-20px'],
                ["transform", "rotateZ", '0deg']
            ],
            "${_btn_mainthink}": [
                ["style", "display", 'block'],
                ["style", "cursor", 'pointer']
            ],
            "${_text_1_2Copy}": [
                ["style", "top", '-1px'],
                ["style", "opacity", '0'],
                ["style", "left", '0px'],
                ["style", "display", 'none']
            ],
            "${_mainthink_active2}": [
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "display", 'none']
            ],
            "${_text_1_3}": [
                ["style", "top", '37px'],
                ["style", "opacity", '0'],
                ["style", "left", '-10px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2250,
            autoPlay: true,
            labels: {
                "home": 0,
                "content1": 1000,
                "content2in1": 1500,
                "content2": 2000
            },
            timeline: [
                { id: "eid32", tween: [ "style", "${_shape_1Copy}", "top", '113px', { fromValue: '50px'}], position: 1000, duration: 250, easing: "easeOutQuad" },
                { id: "eid33", tween: [ "style", "${_shape_1Copy}", "top", '50px', { fromValue: '113px'}], position: 1500, duration: 250, easing: "easeOutQuad" },
                { id: "eid10", tween: [ "style", "${_btn_target}", "top", '108px', { fromValue: '45px'}], position: 1000, duration: 250, easing: "easeOutQuad" },
                { id: "eid27", tween: [ "transform", "${_shape_1}", "rotateZ", '90deg', { fromValue: '0deg'}], position: 1000, duration: 250, easing: "easeOutQuad" },
                { id: "eid28", tween: [ "transform", "${_shape_1}", "rotateZ", '0deg', { fromValue: '90deg'}], position: 1500, duration: 250, easing: "easeOutQuad" },
                { id: "eid7", tween: [ "style", "${_btn_mainthink}", "display", 'none', { fromValue: 'block'}], position: 1000, duration: 0, easing: "easeOutQuad" },
                { id: "eid26", tween: [ "style", "${_btn_mainthink}", "display", 'block', { fromValue: 'none'}], position: 1385, duration: 0, easing: "easeOutQuad" },
                { id: "eid13", tween: [ "style", "${_btn_target}", "display", 'none', { fromValue: 'block'}], position: 1385, duration: 0, easing: "easeOutQuad" },
                { id: "eid39", tween: [ "style", "${_text_1_3}", "top", '87px', { fromValue: '37px'}], position: 2000, duration: 250, easing: "easeOutQuad" },
                { id: "eid23", tween: [ "style", "${_target_active2}", "display", 'block', { fromValue: 'none'}], position: 1959, duration: 0, easing: "easeOutQuad" },
                { id: "eid29", tween: [ "style", "${_text_1_2Copy}", "opacity", '1', { fromValue: '0'}], position: 1000, duration: 250, easing: "easeOutQuad" },
                { id: "eid31", tween: [ "style", "${_text_1_2Copy}", "opacity", '0', { fromValue: '1'}], position: 1500, duration: 250, easing: "easeOutQuad" },
                { id: "eid37", tween: [ "style", "${_text_1_3}", "left", '-7px', { fromValue: '-10px'}], position: 2000, duration: 250, easing: "easeOutQuad" },
                { id: "eid18", tween: [ "style", "${_text_1_2Copy}", "top", '31px', { fromValue: '-1px'}], position: 1000, duration: 250, easing: "easeOutQuad" },
                { id: "eid30", tween: [ "style", "${_text_1_2Copy}", "top", '0px', { fromValue: '31px'}], position: 1500, duration: 250, easing: "easeOutQuad" },
                { id: "eid12", tween: [ "style", "${_btn_targetCopy}", "display", 'block', { fromValue: 'none'}], position: 1385, duration: 0, easing: "easeOutQuad" },
                { id: "eid41", tween: [ "style", "${_text_1_3}", "opacity", '1', { fromValue: '0'}], position: 2000, duration: 250, easing: "easeOutQuad" },
                { id: "eid34", tween: [ "transform", "${_shape_1Copy}", "rotateZ", '90deg', { fromValue: '0deg'}], position: 2000, duration: 250, easing: "easeOutQuad" },
                { id: "eid14", tween: [ "style", "${_btn_targetCopy}", "top", '45px', { fromValue: '108px'}], position: 1500, duration: 250, easing: "easeOutQuad" },
                { id: "eid8", tween: [ "style", "${_mainthink_active2}", "display", 'block', { fromValue: 'none'}], position: 947, duration: 0, easing: "easeOutQuad" },
                { id: "eid25", tween: [ "style", "${_mainthink_active2}", "display", 'none', { fromValue: 'block'}], position: 1500, duration: 0, easing: "easeOutQuad" },
                { id: "eid21", tween: [ "style", "${_text_1_2Copy}", "display", 'block', { fromValue: 'none'}], position: 1000, duration: 0, easing: "easeOutQuad" },
                { id: "eid35", tween: [ "style", "${_text_1_2Copy}", "display", 'none', { fromValue: 'block'}], position: 1750, duration: 0, easing: "easeOutQuad" }            ]
        }
    }
},
"btn_target": {
    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: [
                {
                    id: 'target',
                    type: 'image',
                    rect: ['0px', '0px', '166px', '22px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson1_1/target.png', '0px', '0px']
                },
                {
                    type: 'image',
                    display: 'none',
                    rect: ['0', '0', '166px', '22px', 'auto', 'auto'],
                    id: 'target_active',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson1_1/target_active.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_target_active}": [
                ["style", "display", 'none']
            ],
            "${_target}": [
                ["style", "top", '0px'],
                ["style", "left", '0px']
            ],
            "${symbolSelector}": [
                ["style", "height", '22px'],
                ["style", "width", '166px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: true,
            labels: {
                "out": 0,
                "over": 250
            },
            timeline: [
                { id: "eid9", tween: [ "style", "${_target_active}", "display", 'block', { fromValue: 'none'}], position: 250, duration: 0, easing: "easeOutQuad" }            ]
        }
    }
}
};


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

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