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

var fonts = {};    fonts['Helvetica']='';
    fonts['cabin, \'Trebuchet MS\', \'Myriad Pro\', \'Gill Sans MT\', Helvetica, sans-serif']='<script src=\"http://use.edgefonts.net/cabin:n4,i4,n7,i7,n5,i5,n6,i6:all.js\"></script>';

var opts = {
    'gAudioPreloadPreference': 'auto',

    'gVideoPreloadPreference': 'auto'
};
var resources = [
];
var symbols = {
"stage": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "both",
    centerStage: "both",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
            {
                id: 'SG2U1L20303_bg',
                type: 'image',
                rect: ['48px', '81px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"SG2U1L20303_bg.jpg",'0px','0px']
            },
            {
                id: 'scientific_girl',
                type: 'rect',
                rect: ['188px', '292px','auto','auto','auto', 'auto'],
                clip: ['rect(0px 268.71484375px 403px 0px)']
            },
            {
                id: 'descripcion',
                type: 'text',
                rect: ['637px', '258px','593px','202px','auto', 'auto'],
                text: "Seleccionen alguna de las siguientes fichas, luego consulta más información sobre el científico Colombiano y presenta la información a tus compañeros <br>",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 32, "rgba(26,26,26,1.00)", "bold", "none", "normal"]
            },
            {
                id: 'SG2U1L20303_img',
                type: 'image',
                rect: ['530px', '447px','770px','284px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"SG2U1L20303_img.png",'0px','0px']
            }],
            symbolInstances: [
            {
                id: 'scientific_girl',
                symbolName: 'scientific_girl'
            }
            ]
        },
    states: {
        "Base State": {
            "${_SG2U1L20303_img}": [
                ["style", "top", '447px'],
                ["style", "left", '530px']
            ],
            "${_scientific_girl}": [
                ["style", "top", '292px'],
                ["style", "left", '188px'],
                ["style", "clip", [0,268.71484375,403,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_descripcion}": [
                ["style", "top", '258px'],
                ["style", "height", '202px'],
                ["style", "width", '593px'],
                ["color", "color", 'rgba(26,26,26,1)'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '637px'],
                ["style", "font-size", '32px']
            ],
            "${_SG2U1L20303_bg}": [
                ["style", "left", '48px'],
                ["style", "top", '81px']
            ],
            "${_Stage}": [
                ["color", "background-color", 'rgba(255,255,255,0.00)'],
                ["style", "min-width", '320px'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '768px'],
                ["style", "max-width", '1366px'],
                ["style", "width", '1366px']
            ],
            "${_label}": [
                ["style", "top", '0px'],
                ["style", "display", 'none'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '768px'],
                ["style", "opacity", '1'],
                ["style", "left", '0px'],
                ["style", "width", '1366px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            labels: {
                "slide_1": 0
            },
            timeline: [
            ]
        }
    }
},
"slide_1": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: true,
    content: {
        },
    states: {
        "Base State": {
            "${symbolSelector}": [
                ["style", "height", '650px'],
                ["style", "width", '1265px'],
                ["style", "overflow", 'hidden']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
            ]
        }
    }
},
"Hot_Spot": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    rect: ['0px', '0px', '40px', '40px', 'auto', 'auto'],
                    id: 'Rectangle',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    type: 'rect',
                    fill: ['rgba(255,255,255,1.00)']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_Rectangle}": [
                ["style", "top", '0px'],
                ["color", "background-color", 'rgba(255,255,255,0.35)'],
                ["style", "height", '40px'],
                ["style", "opacity", '0'],
                ["style", "left", '0px'],
                ["style", "width", '40px']
            ],
            "${symbolSelector}": [
                ["style", "height", '40px'],
                ["style", "width", '40px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2000,
            autoPlay: true,
            labels: {
                "iniciar": 0,
                "loop": 2000
            },
            timeline: [
                { id: "eid694", tween: [ "color", "${_Rectangle}", "background-color", 'rgba(255,255,255,0.35)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(255,255,255,0.35)'}], position: 1000, duration: 0 },
                { id: "eid695", tween: [ "style", "${_Rectangle}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 1000 },
                { id: "eid696", tween: [ "style", "${_Rectangle}", "opacity", '0', { fromValue: '1'}], position: 1000, duration: 1000, easing: "easeInQuad" }            ]
        }
    }
},
"bg_defecto_simbolo": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    id: 'bg_defecto',
                    type: 'group',
                    rect: ['0px', '0px', '1265px', '650px', 'auto', 'auto'],
                    c: [
                    {
                        type: 'rect',
                        id: 'bg_000',
                        stroke: [0, 'rgba(255,255,255,1.00)', 'none'],
                        rect: ['0px', '0px', '1265px', '650px', 'auto', 'auto'],
                        fill: ['rgba(255,255,255,1.00)']
                    },
                    {
                        rect: ['519px', '304px', '211px', 'auto', 'auto', 'auto'],
                        font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 24, 'rgba(0,0,0,1)', 'normal', 'none', ''],
                        id: 'txt_medidas',
                        text: '1265px x 650px',
                        align: 'center',
                        type: 'text'
                    }]
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_bg_defecto}": [
                ["style", "top", '0px'],
                ["style", "height", '650px'],
                ["style", "left", '0px'],
                ["style", "width", '1265px']
            ],
            "${_bg_000}": [
                ["style", "height", '650px'],
                ["color", "border-color", 'rgba(255,255,255,1.00)'],
                ["color", "background-color", 'rgba(255,255,255,1.00)'],
                ["style", "width", '1265px']
            ],
            "${_txt_medidas}": [
                ["style", "top", '304px'],
                ["style", "text-align", 'center'],
                ["style", "left", '519px'],
                ["style", "width", '211px']
            ],
            "${symbolSelector}": [
                ["style", "height", '650px'],
                ["style", "width", '1265px'],
                ["style", "overflow", 'hidden']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
            ]
        }
    }
},
"scientific_girl": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    rect: ['0px', '0px', '2223px', '403px', 'auto', 'auto'],
                    id: 'girl_1',
                    type: 'image',
                    display: 'block',
                    fill: ['rgba(0,0,0,0)', 'images/IL_S_G03_U04_L04_01_01_01_girl_1.png', '0px', '0px']
                },
                {
                    rect: ['-495px', '0px', '2223px', '403px', 'auto', 'auto'],
                    id: 'girl_2',
                    type: 'image',
                    display: 'none',
                    fill: ['rgba(0,0,0,0)', 'images/IL_S_G03_U04_L04_01_01_01_girl_1.png', '0px', '0px']
                },
                {
                    rect: ['-991px', '0px', '2223px', '403px', 'auto', 'auto'],
                    id: 'girl_3',
                    type: 'image',
                    display: 'none',
                    fill: ['rgba(0,0,0,0)', 'images/IL_S_G03_U04_L04_01_01_01_girl_1.png', '0px', '0px']
                },
                {
                    rect: ['-1489px', '0px', '2223px', '403px', 'auto', 'auto'],
                    id: 'girl_4',
                    type: 'image',
                    display: 'none',
                    fill: ['rgba(0,0,0,0)', 'images/IL_S_G03_U04_L04_01_01_01_girl_1.png', '0px', '0px']
                },
                {
                    rect: ['-1974px', '0px', '2223px', '403px', 'auto', 'auto'],
                    id: 'girl_5',
                    type: 'image',
                    display: 'none',
                    fill: ['rgba(0,0,0,0)', 'images/IL_S_G03_U04_L04_01_01_01_girl_1.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_girl_5}": [
                ["style", "top", '0px'],
                ["style", "left", '-1974px'],
                ["style", "display", 'none']
            ],
            "${symbolSelector}": [
                ["style", "height", '403px'],
                ["style", "width", '2223px']
            ],
            "${_girl_3}": [
                ["style", "top", '0px'],
                ["style", "left", '-991px'],
                ["style", "display", 'none']
            ],
            "${_girl_4}": [
                ["style", "top", '0px'],
                ["style", "left", '-1489px'],
                ["style", "display", 'none']
            ],
            "${_girl_2}": [
                ["style", "top", '0px'],
                ["style", "left", '-495px'],
                ["style", "display", 'none']
            ],
            "${_girl_1}": [
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "display", 'block']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2250,
            autoPlay: true,
            timeline: [
                { id: "eid1268", tween: [ "style", "${_girl_4}", "display", 'block', { fromValue: 'none'}], position: 1435, duration: 0 },
                { id: "eid1271", tween: [ "style", "${_girl_4}", "display", 'none', { fromValue: 'block'}], position: 1870, duration: 0 },
                { id: "eid1266", tween: [ "style", "${_girl_2}", "display", 'block', { fromValue: 'none'}], position: 500, duration: 0 },
                { id: "eid1274", tween: [ "style", "${_girl_2}", "display", 'none', { fromValue: 'block'}], position: 935, duration: 0 },
                { id: "eid1267", tween: [ "style", "${_girl_3}", "display", 'block', { fromValue: 'none'}], position: 935, duration: 0 },
                { id: "eid1270", tween: [ "style", "${_girl_3}", "display", 'none', { fromValue: 'block'}], position: 1435, duration: 0 },
                { id: "eid1265", tween: [ "style", "${_girl_1}", "display", 'block', { fromValue: 'block'}], position: 0, duration: 0 },
                { id: "eid1273", tween: [ "style", "${_girl_1}", "display", 'none', { fromValue: 'block'}], position: 500, duration: 0 },
                { id: "eid1269", tween: [ "style", "${_girl_5}", "display", 'block', { fromValue: 'none'}], position: 1870, duration: 0 }            ]
        }
    }
}
};


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

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