/**
 * 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: 'L_G01_U02_L02_03_09_bg',
                type: 'image',
                rect: ['49px', '81px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"L_G01_U02_L02_03_09_bg.jpg",'0px','0px']
            },
            {
                id: 'textCount',
                display: 'none',
                type: 'text',
                rect: ['1049px', '100px','227px','42px','auto', 'auto'],
                text: "0/0",
                align: "center",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 24, "rgba(0,0,0,1)", "normal", "none", ""]
            },
            {
                id: 'descripcion',
                type: 'text',
                rect: ['100px', '165px','1150px','auto','auto', 'auto'],
                text: "Descubre el nombre del vegetal<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: 'momento',
                type: 'text',
                rect: ['100px', '129px','150px','auto','auto', 'auto'],
                text: "Desarrollo",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 22, "rgba(197,115,34,1.00)", "700", "none", "normal"]
            },
            {
                id: 'flecha',
                type: 'image',
                rect: ['210px', '135px','15px','15px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"flecha.png",'0px','0px']
            },
            {
                id: 'num_actividad',
                type: 'text',
                rect: ['240px', '129px','377px','auto','auto', 'auto'],
                text: "Actividad 3 - Ejercicio 3",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 22, "rgba(229,145,34,1.00)", "700", "none", "normal"]
            },
            {
                id: 'pumpkin',
                type: 'rect',
                rect: ['240px', '397px','auto','auto','auto', 'auto']
            },
            {
                id: 'L_G01_U02_L02_03_09_pumpkin',
                type: 'image',
                rect: ['695px', '259px','354px','340px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"L_G01_U02_L02_03_09_pumpkin.png",'0px','0px']
            }],
            symbolInstances: [
            {
                id: 'pumpkin',
                symbolName: 'pumpkin',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_num_actividad}": [
                ["style", "top", '129px'],
                ["style", "width", '377px'],
                ["style", "font-weight", 'bold'],
                ["color", "color", 'rgba(229,145,34,1)'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '240px'],
                ["style", "font-size", '22px']
            ],
            "${_L_G01_U02_L02_03_09_pumpkin}": [
                ["style", "top", '259px'],
                ["style", "left", '695px'],
                ["transform", "rotateZ", '0deg']
            ],
            "${_textCount}": [
                ["style", "top", '100px'],
                ["style", "display", 'none'],
                ["style", "text-align", 'center'],
                ["style", "left", '1049px']
            ],
            "${_L_G01_U02_L02_03_09_bg}": [
                ["style", "left", '49px'],
                ["style", "top", '81px']
            ],
            "${_descripcion}": [
                ["style", "top", '165px'],
                ["style", "font-size", '32px'],
                ["color", "color", 'rgba(26,26,26,1)'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '100px'],
                ["style", "width", '1150px']
            ],
            "${_momento}": [
                ["style", "top", '129px'],
                ["style", "width", '150px'],
                ["style", "font-weight", 'bold'],
                ["color", "color", 'rgba(197,115,34,1)'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '100px'],
                ["style", "font-size", '22px']
            ],
            "${_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']
            ],
            "${_pumpkin}": [
                ["style", "top", '397px'],
                ["style", "left", '240px'],
                ["transform", "scaleY", '0'],
                ["transform", "scaleX", '0']
            ],
            "${_label}": [
                ["style", "top", '0px'],
                ["style", "display", 'none'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '768px'],
                ["style", "opacity", '1'],
                ["style", "left", '0px'],
                ["style", "width", '1366px']
            ],
            "${_flecha}": [
                ["style", "height", '15px'],
                ["style", "top", '135px'],
                ["style", "left", '210px'],
                ["style", "width", '15px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2500,
            autoPlay: true,
            labels: {
                "slide_1": 0
            },
            timeline: [
                { id: "eid1225", tween: [ "style", "${_textCount}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1310", tween: [ "transform", "${_pumpkin}", "scaleX", '1', { fromValue: '0'}], position: 250, duration: 750, easing: "easeOutBack" },
                { id: "eid1318", tween: [ "transform", "${_pumpkin}", "scaleY", '1', { fromValue: '0'}], position: 250, duration: 750, easing: "easeOutBack" },
                { id: "eid1311", tween: [ "transform", "${_L_G01_U02_L02_03_09_pumpkin}", "rotateZ", '15deg', { fromValue: '0deg'}], position: 1250, duration: 250 },
                { id: "eid1314", tween: [ "transform", "${_L_G01_U02_L02_03_09_pumpkin}", "rotateZ", '0deg', { fromValue: '15deg'}], position: 1500, duration: 250 },
                { id: "eid1315", tween: [ "transform", "${_L_G01_U02_L02_03_09_pumpkin}", "rotateZ", '15deg', { fromValue: '0deg'}], position: 2000, duration: 250 },
                { id: "eid1316", tween: [ "transform", "${_L_G01_U02_L02_03_09_pumpkin}", "rotateZ", '0deg', { fromValue: '15deg'}], position: 2250, duration: 250 }            ]
        }
    }
},
"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: {
            dom: [
                {
                    id: 'bg_defecto',
                    type: 'rect',
                    rect: ['50px', '80px', 'auto', 'auto', 'auto', 'auto']
                }
            ],
            symbolInstances: [
            {
                id: 'bg_defecto',
                symbolName: 'bg_defecto_simbolo',
                autoPlay: {

               }
            }            ]
        },
    states: {
        "Base State": {
            "${_bg_defecto}": [
                ["transform", "scaleX", '1'],
                ["style", "top", '80px'],
                ["transform", "scaleY", '1'],
                ["style", "left", '50px']
            ],
            "${symbolSelector}": [
                ["style", "height", '768px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '1366px']
            ]
        }
    },
    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: [
                {
                    type: 'rect',
                    id: 'Rectangle',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    rect: ['0px', '0px', '40px', '40px', 'auto', 'auto'],
                    fill: ['rgba(255,255,255,1.00)']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${symbolSelector}": [
                ["style", "height", '40px'],
                ["style", "width", '40px']
            ],
            "${_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']
            ]
        }
    },
    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: [
                    {
                        rect: ['0px', '0px', '1265px', '650px', 'auto', 'auto'],
                        id: 'bg_000',
                        stroke: [0, 'rgba(255,255,255,1.00)', 'none'],
                        type: 'rect',
                        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", "height", '650px'],
                ["style", "top", '0px'],
                ["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", "left", '519px'],
                ["style", "text-align", 'center'],
                ["style", "width", '211px']
            ],
            "${symbolSelector}": [
                ["style", "height", '650px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '1265px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
            ]
        }
    }
},
"pumpkin": {
    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: [
                {
                    type: 'image',
                    id: 'L_G01_U02_L02_03_09_label_pumpkin',
                    rect: ['31px', '0px', '344px', '98px', 'auto', 'auto'],
                    transform: [[0, 0], [], [], ['0']],
                    fill: ['rgba(0,0,0,0)', 'images/L_G01_U02_L02_03_09_label_pumpkin.png', '0px', '0px']
                },
                {
                    id: 'L_G01_U02_L02_03_09_label_ba',
                    type: 'image',
                    rect: ['105px', '8px', '94px', '81px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/L_G01_U02_L02_03_09_label_ba.png', '0px', '0px']
                },
                {
                    id: 'L_G01_U02_L02_03_09_label_ca',
                    type: 'image',
                    rect: ['5px', '8px', '94px', '81px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/L_G01_U02_L02_03_09_label_ca.png', '0px', '0px']
                },
                {
                    id: 'L_G01_U02_L02_03_09_label_la',
                    type: 'image',
                    rect: ['206px', '8px', '94px', '81px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/L_G01_U02_L02_03_09_label_la.png', '0px', '0px']
                },
                {
                    id: 'L_G01_U02_L02_03_09_label_za',
                    type: 'image',
                    rect: ['306px', '8px', '94px', '81px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/L_G01_U02_L02_03_09_label_za.png', '0px', '0px']
                },
                {
                    rect: ['0px', '0px', '400px', '98px', 'auto', 'auto'],
                    type: 'rect',
                    id: 'Rectangle',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    cursor: ['pointer'],
                    fill: ['rgba(192,192,192,0.00)']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_L_G01_U02_L02_03_09_label_ba}": [
                ["style", "top", '8px'],
                ["style", "left", '105px'],
                ["transform", "scaleX", '1']
            ],
            "${_L_G01_U02_L02_03_09_label_za}": [
                ["style", "top", '8px'],
                ["style", "left", '306px'],
                ["transform", "scaleX", '1']
            ],
            "${_L_G01_U02_L02_03_09_label_la}": [
                ["style", "top", '8px'],
                ["style", "left", '206px'],
                ["transform", "scaleX", '1']
            ],
            "${_L_G01_U02_L02_03_09_label_pumpkin}": [
                ["transform", "scaleX", '0'],
                ["style", "top", '0px'],
                ["transform", "scaleY", '1'],
                ["style", "left", '31px']
            ],
            "${_Rectangle}": [
                ["style", "cursor", 'pointer'],
                ["color", "background-color", 'rgba(192,192,192,0.00)']
            ],
            "${_L_G01_U02_L02_03_09_label_ca}": [
                ["style", "top", '8px'],
                ["style", "left", '5px'],
                ["transform", "scaleX", '1']
            ],
            "${symbolSelector}": [
                ["style", "height", '98px'],
                ["style", "width", '400px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 1000,
            autoPlay: false,
            timeline: [
                { id: "eid1302", tween: [ "transform", "${_L_G01_U02_L02_03_09_label_la}", "scaleX", '0', { fromValue: '1'}], position: 0, duration: 600 },
                { id: "eid1300", tween: [ "style", "${_L_G01_U02_L02_03_09_label_za}", "left", '155px', { fromValue: '306px'}], position: 0, duration: 600 },
                { id: "eid1304", tween: [ "transform", "${_L_G01_U02_L02_03_09_label_za}", "scaleX", '0', { fromValue: '1'}], position: 0, duration: 600 },
                { id: "eid1303", tween: [ "transform", "${_L_G01_U02_L02_03_09_label_ba}", "scaleX", '0', { fromValue: '1'}], position: 0, duration: 600 },
                { id: "eid1306", tween: [ "transform", "${_L_G01_U02_L02_03_09_label_pumpkin}", "scaleX", '1', { fromValue: '0'}], position: 500, duration: 500 },
                { id: "eid1305", tween: [ "transform", "${_L_G01_U02_L02_03_09_label_ca}", "scaleX", '0', { fromValue: '1'}], position: 0, duration: 600 },
                { id: "eid1301", tween: [ "style", "${_L_G01_U02_L02_03_09_label_ca}", "left", '156px', { fromValue: '5px'}], position: 0, duration: 600 },
                { id: "eid1298", tween: [ "style", "${_L_G01_U02_L02_03_09_label_la}", "left", '155px', { fromValue: '206px'}], position: 0, duration: 600 },
                { id: "eid1299", tween: [ "style", "${_L_G01_U02_L02_03_09_label_ba}", "left", '156px', { fromValue: '105px'}], position: 0, duration: 600 }            ]
        }
    }
}
};


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

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