/**
 * 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/lesson4_7/bg_12.jpg",'0px','0px']
            },
            {
                id: 'border_1',
                type: 'image',
                rect: ['83px', '116px','933px','477px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson4_7/border_12.png",'0px','0px']
            },
            {
                id: 'formula_1',
                type: 'image',
                rect: ['118px', '450px','512px','108px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson4_7/formula_12.png",'0px','0px']
            },
            {
                id: 'question_1',
                type: 'image',
                rect: ['397px', '150px','569px','40px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson4_7/question_12.png",'0px','0px']
            },
            {
                id: 'text_1',
                type: 'image',
                rect: ['118px', '355px','863px','66px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson4_7/text_12.png",'0px','0px']
            },
            {
                id: 'arrow_1',
                type: 'image',
                rect: ['315px', '168px','26px','58px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson4_7/arrow_12.png",'0px','0px']
            },
            {
                id: 'title_1',
                type: 'image',
                rect: ['132px', '170px','157px','53px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson4_7/title_12.png",'0px','0px']
            },
            {
                id: 'btn_q1_1',
                type: 'rect',
                rect: ['487', '207','auto','auto','auto', 'auto'],
                cursor: ['pointer']
            },
            {
                id: 'btn_q1_2',
                type: 'rect',
                rect: ['636', '207','auto','auto','auto', 'auto'],
                cursor: ['pointer']
            },
            {
                id: 'btn_q1_3',
                type: 'rect',
                rect: ['800', '204','auto','auto','auto', 'auto'],
                cursor: ['pointer']
            },
            {
                id: 'checkAns',
                display: 'block',
                type: 'image',
                rect: ['769px', '452px','109px','31px','auto', 'auto'],
                cursor: ['pointer'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson4_3/btn_1.png",'0px','0px']
            },
            {
                id: 'mascotMove',
                display: 'block',
                type: 'rect',
                rect: ['1101', '526','auto','auto','auto', 'auto']
            }],
            symbolInstances: [
            {
                id: 'btn_q1_3',
                symbolName: 'btn_q1_3',
                autoPlay: {

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

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

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

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_checkAns}": [
                ["style", "display", 'block'],
                ["style", "top", '291px'],
                ["style", "left", '857px'],
                ["style", "cursor", 'pointer']
            ],
            "${_mascotMove}": [
                ["style", "top", '529px'],
                ["style", "left", '1180px'],
                ["style", "display", 'block']
            ],
            "${_text_1}": [
                ["style", "left", '118px'],
                ["style", "top", '355px']
            ],
            "${_formula_1}": [
                ["style", "top", '450px'],
                ["style", "left", '118px']
            ],
            "${_border_1}": [
                ["style", "left", '83px'],
                ["style", "top", '116px']
            ],
            "${_arrow_1}": [
                ["style", "left", '315px'],
                ["style", "top", '168px']
            ],
            "${_btn_q1_2}": [
                ["style", "cursor", 'pointer']
            ],
            "${_btn_q1_1}": [
                ["style", "cursor", 'pointer']
            ],
            "${_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']
            ],
            "${_btn_q1_3}": [
                ["style", "cursor", 'pointer']
            ],
            "${_title_1}": [
                ["style", "left", '132px'],
                ["style", "top", '170px']
            ],
            "${_question_1}": [
                ["style", "left", '397px'],
                ["style", "top", '150px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
                { id: "eid94", tween: [ "style", "${_checkAns}", "left", '857px', { fromValue: '857px'}], position: 0, duration: 0 },
                { id: "eid65", tween: [ "style", "${_mascotMove}", "top", '529px', { fromValue: '529px'}], position: 0, duration: 0 },
                { id: "eid11", tween: [ "style", "${_mascotMove}", "display", 'block', { fromValue: 'block'}], position: 0, duration: 0 },
                { id: "eid64", tween: [ "style", "${_mascotMove}", "left", '1180px', { fromValue: '1180px'}], position: 0, duration: 0 },
                { id: "eid8", tween: [ "style", "${_checkAns}", "display", 'block', { fromValue: 'block'}], position: 0, duration: 0 },
                { id: "eid13", tween: [ "style", "${_checkAns}", "top", '291px', { fromValue: '291px'}], position: 0, duration: 0 }            ]
        }
    }
},
"btn_q1_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: [
                {
                    type: 'image',
                    display: 'block',
                    rect: ['0px', '0px', '84px', '45px', 'auto', 'auto'],
                    id: 'answer_1',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson4_7/answer_1.png', '0px', '0px']
                },
                {
                    type: 'image',
                    display: 'none',
                    rect: ['0px', '0px', '84px', '45px', 'auto', 'auto'],
                    id: 'answer_1_active',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson4_7/answer_1_active.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_answer_1_active}": [
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "display", 'none']
            ],
            "${_answer_1}": [
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "display", 'block']
            ],
            "${symbolSelector}": [
                ["style", "height", '45px'],
                ["style", "width", '84px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 500,
            autoPlay: false,
            labels: {
                "out": 0,
                "over": 500
            },
            timeline: [
                { id: "eid1", tween: [ "style", "${_answer_1_active}", "display", 'block', { fromValue: 'none'}], position: 500, duration: 0 },
                { id: "eid2", tween: [ "style", "${_answer_1}", "display", 'none', { fromValue: 'block'}], position: 500, duration: 0 }            ]
        }
    }
},
"btn_q1_2": {
    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: 'block',
                    rect: ['0px', '0px', '86px', '45px', 'auto', 'auto'],
                    id: 'answer_2',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson4_7/answer_2.png', '0px', '0px']
                },
                {
                    type: 'image',
                    display: 'none',
                    rect: ['0px', '0px', '86px', '45px', 'auto', 'auto'],
                    id: 'answer_2_active',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson4_7/answer_2_active.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_answer_2_active}": [
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "display", 'none']
            ],
            "${_answer_2}": [
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "display", 'block']
            ],
            "${symbolSelector}": [
                ["style", "height", '45px'],
                ["style", "width", '86px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 500,
            autoPlay: false,
            labels: {
                "out": 0,
                "over": 500
            },
            timeline: [
                { id: "eid3", tween: [ "style", "${_answer_2_active}", "display", 'block', { fromValue: 'none'}], position: 500, duration: 0 },
                { id: "eid4", tween: [ "style", "${_answer_2}", "display", 'none', { fromValue: 'block'}], position: 500, duration: 0 }            ]
        }
    }
},
"btn_q1_3": {
    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: 'block',
                    rect: ['0px', '0px', '76px', '45px', 'auto', 'auto'],
                    id: 'answer_3',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson4_7/answer_3.png', '0px', '0px']
                },
                {
                    type: 'image',
                    display: 'none',
                    rect: ['0px', '0px', '76px', '45px', 'auto', 'auto'],
                    id: 'answer_3_active',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson4_7/answer_3_active.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_answer_3_active}": [
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "display", 'none']
            ],
            "${_answer_3}": [
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "display", 'block']
            ],
            "${symbolSelector}": [
                ["style", "height", '45px'],
                ["style", "width", '76px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 500,
            autoPlay: false,
            labels: {
                "out": 0,
                "over": 500
            },
            timeline: [
                { id: "eid6", tween: [ "style", "${_answer_3}", "display", 'none', { fromValue: 'block'}], position: 500, duration: 0 },
                { id: "eid5", tween: [ "style", "${_answer_3_active}", "display", 'block', { fromValue: 'none'}], position: 500, duration: 0 }            ]
        }
    }
},
"balloonText": {
    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: ['30px', '19px', '241px', '96px', 'auto', 'auto'],
                    id: 'correct_word',
                    type: 'image',
                    display: 'none',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson4_3/correct_word.png', '0px', '0px']
                },
                {
                    rect: ['-10px', '-28px', '277px', '190px', 'auto', 'auto'],
                    id: 'textContent',
                    type: 'image',
                    display: 'none',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson4_7/textContent.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_correct_word}": [
                ["style", "top", '19px'],
                ["style", "left", '30px'],
                ["style", "display", 'none']
            ],
            "${symbolSelector}": [
                ["style", "height", '144px'],
                ["style", "width", '258px']
            ],
            "${_textContent}": [
                ["style", "top", '-28px'],
                ["style", "left", '-10px'],
                ["style", "display", 'none']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 1250,
            autoPlay: false,
            labels: {
                "text1": 250,
                "text2": 750,
                "text3": 1250
            },
            timeline: [
                { id: "eid115", tween: [ "style", "${_correct_word}", "display", 'block', { fromValue: 'none'}], position: 250, duration: 0, easing: "easeOutQuad" },
                { id: "eid116", tween: [ "style", "${_correct_word}", "display", 'none', { fromValue: 'block'}], position: 750, duration: 0, easing: "easeOutQuad" },
                { id: "eid15", tween: [ "style", "${_textContent}", "display", 'block', { fromValue: 'none'}], position: 750, duration: 0 }            ]
        }
    }
},
"mascotMove": {
    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: 'mascotCheck2',
                    type: 'image',
                    rect: ['0px', '0px', '176px', '171px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson4_3/mascotCheck2.png', '0px', '0px']
                },
                {
                    display: 'none',
                    type: 'rect',
                    rect: ['-477', '-92', 'auto', 'auto', 'auto', 'auto'],
                    id: 'balloonText'
                }
            ],
            symbolInstances: [
            {
                id: 'balloonText',
                symbolName: 'balloonText',
                autoPlay: {

               }
            }            ]
        },
    states: {
        "Base State": {
            "${_balloonText}": [
                ["style", "-webkit-transform-origin", [100,92], {valueTemplate:'@@0@@% @@1@@%'} ],
                ["style", "-moz-transform-origin", [100,92],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-ms-transform-origin", [100,92],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "msTransformOrigin", [100,92],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-o-transform-origin", [100,92],{valueTemplate:'@@0@@% @@1@@%'}],
                ["transform", "scaleY", '0'],
                ["transform", "scaleX", '0'],
                ["style", "opacity", '0'],
                ["style", "display", 'none']
            ],
            "${_mascotCheck2}": [
                ["style", "left", '0px'],
                ["style", "top", '0px']
            ],
            "${symbolSelector}": [
                ["style", "height", '171px'],
                ["style", "width", '176px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 1250,
            autoPlay: false,
            labels: {
                "move": 250
            },
            timeline: [
                { id: "eid124", tween: [ "transform", "${_balloonText}", "scaleX", '1', { fromValue: '0'}], position: 605, duration: 645, easing: "easeOutBack" },
                { id: "eid122", tween: [ "style", "${_balloonText}", "-webkit-transform-origin", [100,92], { valueTemplate: '@@0@@% @@1@@%', fromValue: [100,92]}], position: 0, duration: 0, easing: "easeOutQuad" },
                { id: "eid107", tween: [ "style", "${_balloonText}", "-moz-transform-origin", [100,92], { valueTemplate: '@@0@@% @@1@@%', fromValue: [100,92]}], position: 0, duration: 0, easing: "easeOutQuad" },
                { id: "eid108", tween: [ "style", "${_balloonText}", "-ms-transform-origin", [100,92], { valueTemplate: '@@0@@% @@1@@%', fromValue: [100,92]}], position: 0, duration: 0, easing: "easeOutQuad" },
                { id: "eid109", tween: [ "style", "${_balloonText}", "msTransformOrigin", [100,92], { valueTemplate: '@@0@@% @@1@@%', fromValue: [100,92]}], position: 0, duration: 0, easing: "easeOutQuad" },
                { id: "eid110", tween: [ "style", "${_balloonText}", "-o-transform-origin", [100,92], { valueTemplate: '@@0@@% @@1@@%', fromValue: [100,92]}], position: 0, duration: 0, easing: "easeOutQuad" },
                { id: "eid128", tween: [ "style", "${_balloonText}", "opacity", '1', { fromValue: '0'}], position: 605, duration: 645, easing: "easeOutBack" },
                { id: "eid129", tween: [ "style", "${_balloonText}", "display", 'block', { fromValue: 'none'}], position: 605, duration: 0, easing: "easeOutQuad" },
                { id: "eid114", tween: [ "style", "${_mascotCheck2}", "left", '-291px', { fromValue: '0px'}], position: 250, duration: 500, easing: "easeOutQuad" },
                { id: "eid126", tween: [ "transform", "${_balloonText}", "scaleY", '1', { fromValue: '0'}], position: 605, duration: 645, easing: "easeOutBack" }            ]
        }
    }
}
};


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

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